1(self.webpackChunkaiwow_chat_app=self.webpackChunkaiwow_chat_app||[]).push([[8792],{15083:(ge,_,f)=>{"use strict";f.d(_,{EA:()=>de,E_:()=>k,F3:()=>b,I9:()=>u,Ii:()=>p});var c=f(10467);typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"&&global;var h=function(ae){return ae.Unimplemented="UNIMPLEMENTED",ae.Unavailable="UNAVAILABLE",ae}(h||{});class u extends Error{constructor(fe,ne,ce){super(fe),this.message=fe,this.code=ne,this.data=ce}}const g=ae=>{var fe,ne,ce,me,re;const $=ae.CapacitorCustomPlatform||null,X=ae.Capacitor||{},M=X.Plugins=X.Plugins||{},N=ae.CapacitorPlatforms,ue=(null===(fe=null==N?void 0:N.currentPlatform)||void 0===fe?void 0:fe.getPlatform)||(()=>null!==$?$.name:(ae=>{var fe,ne;return null!=ae&&ae.androidBridge?"android":null!==(ne=null===(fe=null==ae?void 0:ae.webkit)||void 0===fe?void 0:fe.messageHandlers)&&void 0!==ne&&ne.bridge?"ios":"web"})(ae)),we=(null===(ne=null==N?void 0:N.currentPlatform)||void 0===ne?void 0:ne.isNativePlatform)||(()=>"web"!==ue()),et=(null===(ce=null==N?void 0:N.currentPlatform)||void 0===ce?void 0:ce.isPluginAvailable)||(yt=>{const Ft=qt.get(yt);return!!(null!=Ft&&Ft.platforms.has(ue())||Pt(yt))}),Pt=(null===(me=null==N?void 0:N.currentPlatform)||void 0===me?void 0:me.getPluginHeader)||(yt=>{var Ft;return null===(Ft=X.PluginHeaders)||void 0===Ft?void 0:Ft.find(rt=>rt.name===yt)}),qt=new Map,lt=(null===(re=null==N?void 0:N.currentPlatform)||void 0===re?void 0:re.registerPlugin)||((yt,Ft={})=>{const rt=qt.get(yt);if(rt)return console.warn(`Capacitor plugin "${yt}" already registered. Cannot register plugins twice.`),rt.proxy;const mt=ue(),Mt=Pt(yt);let Vt;const Lt=function(){var Fr=(0,c.A)(function*(){return!Vt&&mt in Ft?Vt=Vt="function"==typeof Ft[mt]?yield Ft[mt]():Ft[mt]:null!==$&&!Vt&&"web"in Ft&&(Vt=Vt="function"==typeof Ft.web?yield Ft.web():Ft.web),Vt});return function(){return Fr.apply(this,arguments)}}(),Tn=Fr=>{let On;const sr=(...ur)=>{const tr=Lt().then(Lr=>{const Br=((Fr,On)=>{var sr,ur;if(!Mt){if(Fr)return null===(ur=Fr[On])||void 0===ur?void 0:ur.bind(Fr);throw new u(`"${yt}" plugin is not implemented on ${mt}`,h.Unimplemented)}{const tr=null==Mt?void 0:Mt.methods.find(Lr=>On===Lr.name);if(tr)return"promise"===tr.rtype?Lr=>X.nativePromise(yt,On.toString(),Lr):(Lr,Br)=>X.nativeCallback(yt,On.toString(),Lr,Br);if(Fr)return null===(sr=Fr[On])||void 0===sr?void 0:sr.bind(Fr)}})(Lr,Fr);if(Br){const Gr=Br(...ur);return On=null==Gr?void 0:Gr.remove,Gr}throw new u(`"${yt}.${Fr}()" is not implemented on ${mt}`,h.Unimplemented)});return"addListener"===Fr&&(tr.remove=(0,c.A)(function*(){return On()})),tr};return sr.toString=()=>`${Fr.toString()}() { [capacitor code] }`,Object.defineProperty(sr,"name",{value:Fr,writable:!1,configurable:!1}),sr},An=Tn("addListener"),jn=Tn("removeListener"),or=(Fr,On)=>{const sr=An({eventName:Fr},On),ur=function(){var Lr=(0,c.A)(function*(){const Br=yield sr;jn({eventName:Fr,callbackId:Br},On)});return function(){return Lr.apply(this,arguments)}}(),tr=new Promise(Lr=>sr.then(()=>Lr({remove:ur})));return tr.remove=(0,c.A)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield ur()}),tr},br=new Proxy({},{get(Fr,On){switch(On){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return Mt?or:An;case"removeListener":return jn;default:return Tn(On)}}});return M[yt]=br,qt.set(yt,{name:yt,proxy:br,platforms:new Set([...Object.keys(Ft),...Mt?[mt]:[]])}),br});return X.convertFileSrc||(X.convertFileSrc=yt=>yt),X.getPlatform=ue,X.handleError=yt=>ae.console.error(yt),X.isNativePlatform=we,X.isPluginAvailable=et,X.pluginMethodNoop=(yt,Ft,rt)=>Promise.reject(`${rt} does not have an implementation of "${Ft}".`),X.registerPlugin=lt,X.Exception=u,X.DEBUG=!!X.DEBUG,X.isLoggingEnabled=!!X.isLoggingEnabled,X.platform=X.getPlatform(),X.isNative=X.isNativePlatform(),X},p=(ae=>ae.Capacitor=g(ae))(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),b=p.registerPlugin;class k{constructor(fe){this.listeners={},this.retainedEventArguments={},this.windowListeners={},fe&&(console.warn(`Capacitor WebPlugin "${fe.name}
1" config object was deprecated in v3 and will be removed in v4.`),this.config=fe)}addListener(fe,ne){var ce=this;let me=!1;this.listeners[fe]||(this.listeners[fe]=[],me=!0),this.listeners[fe].push(ne);const $=this.windowListeners[fe];$&&!$.registered&&this.addWindowListener($),me&&this.sendRetainedArgumentsForEvent(fe);const X=function(){var N=(0,c.A)(function*(){return ce.removeListener(fe,ne)});return function(){return N.apply(this,arguments)}}();return Promise.resolve({remove:X})}removeAllListeners(){var fe=this;return(0,c.A)(function*(){fe.listeners={};for(const ne in fe.windowListeners)fe.removeWindowListener(fe.windowListeners[ne]);fe.windowListeners={}})()}notifyListeners(fe,ne,ce){const me=this.listeners[fe];if(me)me.forEach(re=>re(ne));else if(ce){let re=this.retainedEventArguments[fe];re||(re=[]),re.push(ne),this.retainedEventArguments[fe]=re}}hasListeners(fe){return!!this.listeners[fe].length}registerWindowListener(fe,ne){this.windowListeners[ne]={registered:!1,windowEventName:fe,pluginEventName:ne,handler:ce=>{this.notifyListeners(ne,ce)}}}unimplemented(fe="not implemented"){return new p.Exception(fe,h.Unimplemented)}unavailable(fe="not available"){return new p.Exception(fe,h.Unavailable)}removeListener(fe,ne){var ce=this;return(0,c.A)(function*(){const me=ce.listeners[fe];if(!me)return;const re=me.indexOf(ne);ce.listeners[fe].splice(re,1),ce.listeners[fe].length||ce.removeWindowListener(ce.windowListeners[fe])})()}addWindowListener(fe){window.addEventListener(fe.windowEventName,fe.handler),fe.registered=!0}removeWindowListener(fe){fe&&(window.removeEventListener(fe.windowEventName,fe.handler),fe.registered=!1)}sendRetainedArgumentsForEvent(fe){const ne=this.retainedEventArguments[fe];ne&&(delete this.retainedEventArguments[fe],ne.forEach(ce=>{this.notifyListeners(fe,ce)}))}}const V=ae=>encodeURIComponent(ae).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),K=ae=>ae.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class z extends k{getCookies(){return(0,c.A)(function*(){const fe=document.cookie,ne={};return fe.split(";").forEach(ce=>{if(ce.length<=0)return;let[me,re]=ce.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");me=K(me).trim(),re=K(re).trim(),ne[me]=re}),ne})()}setCookie(fe){return(0,c.A)(function*(){try{const ne=V(fe.key),ce=V(fe.value),me=`; expires=${(fe.expires||"").replace("expires=","")}`,re=(fe.path||"/").replace("path=",""),$=null!=fe.url&&fe.url.length>0?`domain=${fe.url}`:"";document.cookie=`${ne}=${ce||""}${me}; path=${re}; ${$};`}catch(ne){return Promise.reject(ne)}})()}deleteCookie(fe){return(0,c.A)(function*(){try{document.cookie=`${fe.key}=; Max-Age=0`}catch(ne){return Promise.reject(ne)}})()}clearCookies(){return(0,c.A)(function*(){try{const fe=document.cookie.split(";")||[];for(const ne of fe)document.cookie=ne.replace(/^ +/,"").replace(/=.*/,`=;expires=${(new Date).toUTCString()};path=/`)}catch(fe){return Promise.reject(fe)}})()}clearAllCookies(){var fe=this;return(0,c.A)(function*(){try{yield fe.clearCookies()}catch(ne){return Promise.reject(ne)}})()}}b("CapacitorCookies",{web:()=>new z});const x=function(){var ae=(0,c.A)(function*(fe){return new Promise((ne,ce)=>{const me=new FileReader;me.onload=()=>{const re=me.result;ne(re.indexOf(",")>=0?re.split(",")[1]:re)},me.onerror=re=>ce(re),me.readAsDataURL(fe)})});return function(ne){return ae.apply(this,arguments)}}(),de=(ae,fe={})=>{const ne=Object.assign({method:ae.method||"GET",headers:ae.headers},fe),me=((ae={})=>{const fe=Object.keys(ae);return Object.keys(ae).map(me=>me.toLocaleLowerCase()).reduce((me,re,$)=>(me[re]=ae[fe[$]],me),{})})(ae.headers)["content-type"]||"";if("string"==typeof ae.data)ne.body=ae.data;else if(me.includes("application/x-www-form-urlencoded")){const re=new URLSearchParams;for(const[$,X]of Object.entries(ae.data||{}))re.set($,X);ne.body=re.toString()}else if(me.includes("multipart/form-data")||ae.data instanceof FormData){const re=new FormData;if(ae.data instanceof FormData)ae.data.forEach((X,M)=>{re.append(M,X)});else for(const X of Object.keys(ae.data))re.append(X,ae.data[X]);ne.body=re;const $=new Headers(ne.headers);$.delete("content-type"),ne.headers=$}else(me.includes("application/json")||"object"==typeof ae.data)&&(ne.body=JSON.stringify(ae.data));return ne};class ee extends k{request(fe){return(0,c.A)(function*(){const ne=de(fe,fe.webFetchExtra),ce=((ae,fe=!0)=>ae?Object.entries(ae).reduce((ce,me)=>{const[re,$]=me;let X,M;return Array.isArray($)?(M="",$.forEach(N=>{X=fe?encodeURIComponent(N):N,M+=`${re}=${X}&`}),M.slice(0,-1)):(X=fe?encodeURIComponent($):$,M=`${re}=${X}`),`${ce}&${M}`},"").substr(1):null)(fe.params,fe.shouldEncodeUrlParams),me=ce?`${fe.url}?${ce}`:fe.url,re=yield fetch(me,ne),$=re.headers.get("content-type")||"";let M,N,{responseType:X="text"}=re.ok?fe:{};switch($.includes("application/json")&&(X="json"),X){case"arraybuffer":case"blob":N=yield re.blob(),M=yield x(N);break;case"json":M=yield re.json();break;default:M=yield re.text()}const G={};
1return re.headers.forEach((ue,ve)=>{G[ve]=ue}),{data:M,headers:G,status:re.status,url:re.url}})()}get(fe){var ne=this;return(0,c.A)(function*(){return ne.request(Object.assign(Object.assign({},fe),{method:"GET"}))})()}post(fe){var ne=this;return(0,c.A)(function*(){return ne.request(Object.assign(Object.assign({},fe),{method:"POST"}))})()}put(fe){var ne=this;return(0,c.A)(function*(){return ne.request(Object.assign(Object.assign({},fe),{method:"PUT"}))})()}patch(fe){var ne=this;return(0,c.A)(function*(){return ne.request(Object.assign(Object.assign({},fe),{method:"PATCH"}))})()}delete(fe){var ne=this;return(0,c.A)(function*(){return ne.request(Object.assign(Object.assign({},fe),{method:"DELETE"}))})()}}b("CapacitorHttp",{web:()=>new ee})},11889:(ge,_,f)=>{"use strict";f.d(_,{Wi:()=>o,__:()=>c});var c=function(E){return E.Documents="DOCUMENTS",E.Data="DATA",E.Library="LIBRARY",E.Cache="CACHE",E.External="EXTERNAL",E.ExternalStorage="EXTERNAL_STORAGE",E}(c||{}),o=function(E){return E.UTF8="utf8",E.ASCII="ascii",E.UTF16="utf16",E}(o||{})},44442:(ge,_,f)=>{"use strict";f.d(_,{L:()=>E,a:()=>T,b:()=>s,c:()=>h,d:()=>u,g:()=>re}),f(45531);const E="ionViewWillEnter",T="ionViewDidEnter",s="ionViewWillLeave",h="ionViewDidLeave",u="ionViewWillUnload",re=$=>$.classList.contains("ion-page")?$:$.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||$},45531:(ge,_,f)=>{"use strict";f.d(_,{a:()=>v,c:()=>o,g:()=>u});class c{constructor(){this.m=new Map}reset($){this.m=new Map(Object.entries($))}get($,X){const M=this.m.get($);return void 0!==M?M:X}getBoolean($,X=!1){const M=this.m.get($);return void 0===M?X:"string"==typeof M?"true"===M:!!M}getNumber($,X){const M=parseFloat(this.m.get($));return isNaN(M)?void 0!==X?X:NaN:M}set($,X){this.m.set($,X)}}const o=new c,u=re=>g(re),v=(re,$)=>("string"==typeof re&&($=re,re=void 0),u(re).includes($)),g=(re=window)=>{if(typeof re>"u")return[];re.Ionic=re.Ionic||{};let $=re.Ionic.platforms;return null==$&&($=re.Ionic.platforms=y(re),$.forEach(X=>re.document.documentElement.classList.add(`plt-${X}`))),$},y=re=>{const $=o.get("platform");return Object.keys(fe).filter(X=>{const M=null==$?void 0:$[X];return"function"==typeof M?M(re):fe[X](re)})},b=re=>!!(Y(re,/iPad/i)||Y(re,/Macintosh/i)&&z(re)),k=re=>Y(re,/android|sink/i),z=re=>ae(re,"(any-pointer:coarse)"),x=re=>q(re)||Z(re),q=re=>!!(re.cordova||re.phonegap||re.PhoneGap),Z=re=>{const $=re.Capacitor;return!(null==$||!$.isNative)},Y=(re,$)=>$.test(re.navigator.userAgent),ae=(re,$)=>{var X;return null===(X=re.matchMedia)||void 0===X?void 0:X.call(re,$).matches},fe={ipad:b,iphone:re=>Y(re,/iPhone/i),ios:re=>Y(re,/iPhone|iPod/i)||b(re),android:k,phablet:re=>
1{const $=re.innerWidth,X=re.innerHeight,M=Math.min($,X),N=Math.max($,X);return M>390&&M<520&&N>620&&N<800},tablet:re=>{const $=re.innerWidth,X=re.innerHeight,M=Math.min($,X),N=Math.max($,X);return b(re)||(re=>k(re)&&!Y(re,/mobile/i))(re)||M>460&&M<820&&N>780&&N<1400},cordova:q,capacitor:Z,electron:re=>Y(re,/electron/i),pwa:re=>{var $;return!!(null!==($=re.matchMedia)&&void 0!==$&&$.call(re,"(display-mode: standalone)").matches||re.navigator.standalone)},mobile:z,mobileweb:re=>z(re)&&!x(re),desktop:re=>!z(re),hybrid:x}},19986:(ge,_,f)=>{"use strict";f.d(_,{c:()=>T});var c=f(28476);let o;const a=(s,h,u)=>{const v=h.startsWith("animation")?(s=>(void 0===o&&(o=void 0===s.style.animationName&&void 0!==s.style.webkitAnimationName?"-webkit-":""),o))(s):"";s.style.setProperty(v+h,u)},E=(s=[],h)=>{if(void 0!==h){const u=Array.isArray(h)?h:[h];return[...s,...u]}return s},T=s=>{let h,u,v,g,y,p,O,de,ee,Y,ce,b=[],R=[],P=[],k=!1,V={},K=[],z=[],H={},x=0,q=!1,Z=!1,ae=!0,fe=!1,ne=!0,me=!1;const re=s,$=[],X=[],M=[],N=[],G=[],ue=[],ve=[],we=[],Re=[],et=[],at=[],Pt="function"==typeof AnimationEffect||void 0!==c.w&&"function"==typeof c.w.AnimationEffect,At="function"==typeof Element&&"function"==typeof Element.prototype.animate&&Pt,It=()=>at,Ft=(Ze,Ot)=>{const nn=Ot.findIndex(wt=>wt.c===Ze);nn>-1&&Ot.splice(nn,1)},mt=(Ze,Ot)=>((null!=Ot&&Ot.oneTimeCallback?X:$).push({c:Ze,o:Ot}),ce),Vt=()=>{At&&(at.forEach(Ze=>{Ze.cancel()}),at.length=0)},Lt=()=>{ue.forEach(Ze=>{null!=Ze&&Ze.parentNode&&Ze.parentNode.removeChild(Ze)}),ue.length=0},Br=()=>void 0!==y?y:O?O.getFill():"both",Gr=()=>void 0!==de?de:void 0!==p?p:O?O.getDirection():"normal",qr=()=>q?"linear":void 0!==v?v:O?O.getEasing():"linear",_r=()=>Z?0:void 0!==ee?ee:void 0!==u?u:O?O.getDuration():0,hr=()=>void 0!==g?g:O?O.getIterations():1,Nr=()=>void 0!==Y?Y:void 0!==h?h:O?O.getDelay():0,nr=()=>{0!==x&&(x--,0===x&&((()=>{Re.forEach(st=>st()),et.forEach(st=>st());const Ze=ae?1:0,Ot=K,nn=z,wt=H;N.forEach(st=>{const jt=st.classList;Ot.forEach(xt=>jt.add(xt)),nn.forEach(xt=>jt.remove(xt));for(const xt in wt)wt.hasOwnProperty(xt)&&a(st,xt,wt[xt])}),ee=void 0,de=void 0,Y=void 0,$.forEach(st=>st.c(Ze,ce)),X.forEach(st=>st.c(Ze,ce)),X.length=0,ne=!0,ae&&(fe=!0),ae=!0})(),O&&O.animationFinish()))},fr=()=>{(()=>{ve.forEach(wt=>wt()),we.forEach(wt=>wt());const Ze=R,Ot=P,nn=V;N.forEach(wt=>{const st=wt.classList;Ze.forEach(jt=>st.add(jt)),Ot.forEach(jt=>st.remove(jt));for(const jt in nn)nn.hasOwnProperty(jt)&&a(wt,jt,nn[jt])})})(),b.length>0&&At&&(N.forEach(Ze=>{const Ot=Ze.animate(b,{id:re,delay:Nr(),duration:_r(),easing:qr(),iterations:hr(),fill:Br(),direction:Gr()});Ot.pause(),at.push(Ot)}),at.length>0&&(at[0].onfinish=()=>{nr()})),k=!0},lr=Ze=>{Ze=Math.min(Math.max(Ze,0),.9999),At&&at.forEach(Ot=>{Ot.currentTime=Ot.effect.getComputedTiming().delay+_r()*Ze,Ot.pause()})},ar=Ze=>{at.forEach(Ot=>{Ot.effect.updateTiming({delay:Nr(),duration:_r(),easing:qr(),iterations:hr(),fill:Br(),direction:Gr()})}),void 0!==Ze&&lr(Ze)},ni=(Ze=!1,Ot=!0,nn)=>(Ze&&G.forEach(wt=>
1{wt.update(Ze,Ot,nn)}),At&&ar(nn),ce),Xi=()=>{k&&(At?at.forEach(Ze=>{Ze.pause()}):N.forEach(Ze=>{a(Ze,"animation-play-state","paused")}),me=!0)},Co=Ze=>new Promise(Ot=>{null!=Ze&&Ze.sync&&(Z=!0,mt(()=>Z=!1,{oneTimeCallback:!0})),k||fr(),fe&&(At&&(lr(0),ar()),fe=!1),ne&&(x=G.length+1,ne=!1);const nn=()=>{Ft(wt,X),Ot()},wt=()=>{Ft(nn,M),Ot()};mt(wt,{oneTimeCallback:!0}),((Ze,Ot)=>{M.push({c:Ze,o:{oneTimeCallback:!0}})})(nn),G.forEach(st=>{st.play()}),At?(at.forEach(Ze=>{Ze.play()}),(0===b.length||0===N.length)&&nr()):nr(),me=!1}),Jt=(Ze,Ot)=>{const nn=b[0];return void 0===nn||void 0!==nn.offset&&0!==nn.offset?b=[{offset:0,[Ze]:Ot},...b]:nn[Ze]=Ot,ce};return ce={parentAnimation:O,elements:N,childAnimations:G,id:re,animationFinish:nr,from:Jt,to:(Ze,Ot)=>{const nn=b[b.length-1];return void 0===nn||void 0!==nn.offset&&1!==nn.offset?b=[...b,{offset:1,[Ze]:Ot}]:nn[Ze]=Ot,ce},fromTo:(Ze,Ot,nn)=>Jt(Ze,Ot).to(Ze,nn),parent:Ze=>(O=Ze,ce),play:Co,pause:()=>(G.forEach(Ze=>{Ze.pause()}),Xi(),ce),stop:()=>{G.forEach(Ze=>{Ze.stop()}
1),k&&(Vt(),k=!1),q=!1,Z=!1,ne=!0,de=void 0,ee=void 0,Y=void 0,x=0,fe=!1,ae=!0,me=!1,M.forEach(Ze=>Ze.c(0,ce)),M.length=0},destroy:Ze=>(G.forEach(Ot=>{Ot.destroy(Ze)}),(Ze=>{Vt(),Ze&&Lt()})(Ze),N.length=0,G.length=0,b.length=0,$.length=0,X.length=0,k=!1,ne=!0,ce),keyframes:Ze=>{const Ot=b!==Ze;return b=Ze,Ot&&(Ze=>{At&&It().forEach(Ot=>{const nn=Ot.effect;if(nn.setKeyframes)nn.setKeyframes(Ze);else{const wt=new KeyframeEffect(nn.target,Ze,nn.getTiming());Ot.effect=wt}})})(b),ce},addAnimation:Ze=>{if(null!=Ze)if(Array.isArray(Ze))for(const Ot of Ze)Ot.parent(ce),G.push(Ot);else Ze.parent(ce),G.push(Ze);return ce},addElement:Ze=>{if(null!=Ze)if(1===Ze.nodeType)N.push(Ze);else if(Ze.length>=0)for(let Ot=0;Ot<Ze.length;Ot++)N.push(Ze[Ot]);else console.error("Invalid addElement value");return ce},update:ni,fill:Ze=>(y=Ze,ni(!0),ce),direction:Ze=>(p=Ze,ni(!0),ce),iterations:Ze=>(g=Ze,ni(!0),ce),duration:Ze=>(!At&&0===Ze&&(Ze=1),u=Ze,ni(!0),ce),easing:Ze=>(v=Ze,ni(!0),ce),delay:Ze=>(h=Ze,ni(!0),ce),getWebAnimations:It,getKeyframes:()=>b,getFill:Br,getDirection:Gr,getDelay:Nr,getIterations:hr,getEasing:qr,getDuration:_r,afterAddRead:Ze=>(Re.push(Ze),ce),afterAddWrite:Ze=>(et.push(Ze),ce),afterClearStyles:(Ze=[])=>{for(const Ot of Ze)H[Ot]="";return ce},afterStyles:(Ze={})=>(H=Ze,ce),afterRemoveClass:Ze=>(z=E(z,Ze),ce),afterAddClass:Ze=>(K=E(K,Ze),ce),beforeAddRead:Ze=>(ve.push(Ze),ce),beforeAddWrite:Ze=>(we.push(Ze),ce),beforeClearStyles:(Ze=[])=>{for(const Ot of Ze)V[Ot]="";return ce},beforeStyles:(Ze={})=>(V=Ze,ce),beforeRemoveClass:Ze=>(P=E(P,Ze),ce),beforeAddClass:Ze=>(R=E(R,Ze),ce),onFinish:mt,isRunning:()=>0!==x&&!me,progressStart:(Ze=!1,Ot)=>(G.forEach(nn=>{nn.progressStart(Ze,Ot)}),Xi(),q=Ze,k||fr(),ni(!1,!0,Ot),ce),progressStep:Ze=>(G.forEach(Ot=>{Ot.progressStep(Ze)}),lr(Ze),ce),progressEnd:(Ze,Ot,nn)=>(q=!1,G.forEach(wt=>
1{wt.progressEnd(Ze,Ot,nn)}),void 0!==nn&&(ee=nn),fe=!1,ae=!0,0===Ze?(de="reverse"===Gr()?"normal":"reverse","reverse"===de&&(ae=!1),At?(ni(),lr(1-Ot)):(Y=(1-Ot)*_r()*-1,ni(!1,!1))):1===Ze&&(At?(ni(),lr(Ot)):(Y=Ot*_r()*-1,ni(!1,!1))),void 0!==Ze&&!O&&Co(),ce)}}},90464:(ge,_,f)=>{"use strict";f.d(_,{E:()=>v,a:()=>c,s:()=>h});const c=g=>{try{if(g instanceof s)return g.value;if(!a()||"string"!=typeof g||""===g)return g;if(g.includes("onload="))return"";const y=document.createDocumentFragment(),p=document.createElement("div");y.appendChild(p),p.innerHTML=g,T.forEach(k=>{const O=y.querySelectorAll(k);for(let V=O.length-1;V>=0;V--){const K=O[V];K.parentNode?K.parentNode.removeChild(K):y.removeChild(K);const z=C(K);for(let H=0;H<z.length;H++)o(z[H])}});const b=C(y);for(let k=0;k<b.length;k++)o(b[k]);const R=document.createElement("div");R.appendChild(y);const P=R.querySelector("div");return null!==P?P.innerHTML:R.innerHTML}catch(y){return console.error(y),""}},o=g=>{if(g.nodeType&&1!==g.nodeType)return;if(typeof NamedNodeMap<"u"&&!(g.attributes instanceof NamedNodeMap))return void g.remove();for(let p=g.attributes.length-1;p>=0;p--){const b=g.attributes.item(p),R=b.name;if(!E.includes(R.toLowerCase())){g.removeAttribute(R);continue}const P=b.value,k=g[R];(null!=P&&P.toLowerCase().includes("javascript:")||null!=k&&k.toLowerCase().includes("javascript:"))&&g.removeAttribute(R)}const y=C(g);for(let p=0;p<y.length;p++)o(y[p])},C=g=>null!=g.children?g.children:g.childNodes,a=()=>{var g;const y=window,p=null===(g=null==y?void 0:y.Ionic)||void 0===g?void 0:g.config;return!p||(p.get?p.get("sanitizerEnabled",!0):!0===p.sanitizerEnabled||void 0===p.sanitizerEnabled)},E=["class","id","href","src","name","slot"],T=["script","style","iframe","meta","link","object","embed"];class s{constructor(y){this.value=y}}const h=g=>{const y=window,p=y.Ionic;if(!p||!p.config||"Object"===p.config.constructor.name)return y.Ionic=y.Ionic||{},y.Ionic.config=Object.assign(Object.assign({},y.Ionic.config),g),y.Ionic.config},v=!1},63351:(ge,_,f)=>{"use strict";f.d(_,{g:()=>c});const c=(T,s,h,u,v)=>C(T[1],s[1],h[1],u[1],v).map(g=>o(T[0],s[0],h[0],u[0],g)),o=(T,s,h,u,v)=>v*(3*s*Math.pow(v-1,2)+v*(-3*h*v+3*h+u*v))-T*Math.pow(v-1,3),C=(T,s,h,u,v)=>E((u-=v)-3*(h-=v)+3*(s-=v)-(T-=v),3*h-6*s+3*T,3*s-3*T,T).filter(y=>y>=0&&y<=1),E=(T,s,h,u)=>{if(0===T)return((T,s,h)=>{const u=s*s-4*T*h;return u<0?[]:[(-s+Math.sqrt(u))/(2*T),(-s-Math.sqrt(u))/(2*T)]})(s,h,u);const v=(3*(h/=T)-(s/=T)*s)/3,g=(2*s*s*s-9*s*h+27*(u/=T))/27;if(0===v)return[Math.pow(-g,1/3)];if(0===g)return[Math.sqrt(-v),-Math.sqrt(-v)];const y=Math.pow(g/2,2)+Math.pow(v/3,3);if(0===y)return[Math.pow(g/2,.5)-s/3];if(y>0)return[Math.pow(-g/2+Math.sqrt(y),1/3)-Math.pow(g/2+Math.sqrt(y),1/3)-s/3];const p=Math.sqrt(Math.pow(-v/3,3)),b=Math.acos(-g/(2*Math.sqrt(Math.pow(-v/3,3)))),R=2*Math.pow(p,1/3);return[R*Math.cos(b/3)-s/3,R*Math.cos((b+2*Math.PI)/3)-s/3,R*Math.cos((b+4*Math.PI)/3)-s/3]}},58621:(ge,_,f)=>{"use strict";f.d(_,{C:()=>E,a:()=>C,d:()=>a});var c=f(10467),o=f(84920);const C=function(){var T=(0,c.A)(function*(s,h,u,v,g,y){var p;if(s)return s.attachViewToDom(h,u,g,v);if(!(y||"string"==typeof u||u instanceof HTMLElement))throw new Error("framework delegate is missing");const b="string"==typeof u?null===(p=h.ownerDocument)||void 0===p?void 0:p.createElement(u):u;return v&&v.forEach(R=>b.classList.add(R)),g&&Object.assign(b,g),h.appendChild(b),yield new Promise(R=>(0,o.c)(b,R)),b});return function(h,u,v,g,y,p){return T.apply(this,arguments)}}(),a=(T,s)=>{if(s){if(T)return T.removeViewFromDom(s.parentElement,s);s.remove()}return Promise.resolve()},E=()=>{let T,s;return{attachViewToDom:function(){var v=(0,c.A)(function*(g,y,p={},b=[]){var R,P;let k;if(T=g,y){const V="string"==typeof y?null===(R=T.ownerDocument)||void 0===R?void 0:R.createElement(y):y;b.forEach(K=>V.classList.add(K)),Object.assign(V,p),T.appendChild(V),k=V,yield new Promise(K=>(0,o.c)(V,K))}else if(T.children.length>0&&("ION-MODAL"===T.tagName||"ION-POPOVER"===T.tagName)&&!(k=T.children[0]).classList.contains("ion-delegate-host")){const K=null===(P=T.ownerDocument)||void 0===P?void 0:P.createElement("div");K.classList.add("ion-delegate-host"),b.forEach(z=>K.classList.add(z)),K.append(...T.children),T.appendChild(K),k=K}const O=document.querySelector("ion-app")||document.body;return s=document.createComment("ionic teleport"),T.parentNode.insertBefore(s,T),O.appendChild(T),null!=k?k:T});return function(y,p){return v.apply(this,arguments)}}(),removeViewFromDom:()=>(T&&s&&(s.parentNode.insertBefore(T,s),s.remove()),Promise.resolve())}}},11970:(ge,_,f)=>{"use strict";f.d(_,{B:()=>a,G:()=>E});class o{constructor(s,h,u,v,g){this.id=h,this.name=u,this.disableScroll=g,this.priority=1e6*v+h,this.ctrl=s}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}
1start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const s=this.ctrl.capture(this.name,this.id,this.priority);return s&&this.disableScroll&&this.ctrl.disableScroll(this.id),s}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class C{constructor(s,h,u,v){this.id=h,this.disable=u,this.disableScroll=v,this.ctrl=s}block(){if(this.ctrl){if(this.disable)for(const s of this.disable)this.ctrl.disableGesture(s,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const s of this.disable)this.ctrl.enableGesture(s,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const a="backdrop-no-scroll",E=new class c{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(s){var h;return new o(this,this.newID(),s.name,null!==(h=s.priority)&&void 0!==h?h:0,!!s.disableScroll)}createBlocker(s={}){return new C(this,this.newID(),s.disable,!!s.disableScroll)}start(s,h,u){return this.canStart(s)?(this.requestedStart.set(h,u),!0):(this.requestedStart.delete(h),!1)}capture(s,h,u){if(!this.start(s,h,u))return!1;const v=this.requestedStart;let g=-1e4;if(v.forEach(y=>{g=Math.max(g,y)}),g===u){this.capturedId=h,v.clear();const y=new CustomEvent("ionGestureCaptured",{detail:{gestureName:s}});return document.dispatchEvent(y),!0}return v.delete(h),!1}release(s){this.requestedStart.delete(s),this.capturedId===s&&(this.capturedId=void 0)}disableGesture(s,h){let u=this.disabledGestures.get(s);void 0===u&&(u=new Set,this.disabledGestures.set(s,u)),u.add(h)}enableGesture(s,h){const u=this.disabledGestures.get(s);void 0!==u&&u.delete(h)}disableScroll(s){this.disabledScroll.add(s),1===this.disabledScroll.size&&document.body.classList.add(a)}enableScroll(s){this.disabledScroll.delete(s),0===this.disabledScroll.size&&document.body.classList.remove(a)}canStart(s){return!(void 0!==this.capturedId||this.isDisabled(s))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(s){const h=this.disabledGestures.get(s);return!!(h&&h.size>0)}newID(){return this.gestureId++,this.gestureId}}},28669:(ge,_,f)=>{"use strict";f.r(_),f.d(_,{MENU_BACK_BUTTON_PRIORITY:()=>u,OVERLAY_BACK_BUTTON_PRIORITY:()=>h,blockHardwareBackButton:()=>T,shouldUseCloseWatcher:()=>E,startHardwareBackButton:()=>s});var c=f(10467),o=f(28476),C=f(64921);f(28393);const E=()=>
1C.c.get("experimentalCloseWatcher",!1)&&void 0!==o.w&&"CloseWatcher"in o.w,T=()=>{document.addEventListener("backbutton",()=>{})},s=()=>{const v=document;let g=!1;const y=()=>{if(g)return;let p=0,b=[];const R=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(O,V){b.push({priority:O,handler:V,id:p++})}}});v.dispatchEvent(R);const P=function(){var O=(0,c.A)(function*(V){try{if(null!=V&&V.handler){const K=V.handler(k);null!=K&&(yield K)}}catch(K){console.error(K)}});return function(K){return O.apply(this,arguments)}}(),k=()=>{if(b.length>0){let O={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};b.forEach(V=>{V.priority>=O.priority&&(O=V)}),g=!0,b=b.filter(V=>V.id!==O.id),P(O).then(()=>g=!1)}};k()};if(E()){let p;const b=()=>{null==p||p.destroy(),p=new o.w.CloseWatcher,p.onclose=()=>{y(),b()}};b()}else v.addEventListener("backbutton",y)},h=100,u=99},84920:(ge,_,f)=>{"use strict";f.d(_,{a:()=>h,b:()=>u,c:()=>C,d:()=>b,e:()=>V,f:()=>p,g:()=>v,h:()=>E,i:()=>s,j:()=>R,k:()=>a,l:()=>y,m:()=>P,n:()=>O,o:()=>K,p:()=>k,r:()=>g,s:()=>z,t:()=>c});const c=(H,x=0)=>new Promise(q=>{o(H,x,q)}),o=(H,x=0,q)=>{let Z,de;const ee={passive:!0},ae=()=>{Z&&Z()},fe=ne=>{(void 0===ne||H===ne.target)&&(ae(),q(ne))};return H&&(H.addEventListener("webkitTransitionEnd",fe,ee),H.addEventListener("transitionend",fe,ee),de=setTimeout(fe,x+500),Z=()=>{void 0!==de&&(clearTimeout(de),de=void 0),H.removeEventListener("webkitTransitionEnd",fe,ee),H.removeEventListener("transitionend",fe,ee)}),ae},C=(H,x)=>{H.componentOnReady?H.componentOnReady().then(q=>x(q)):g(()=>x(H))},a=H=>void 0!==H.componentOnReady,E=(H,x=[])=>{const q={};return x.forEach(Z=>{H.hasAttribute(Z)&&(null!==H.getAttribute(Z)&&(q[Z]=H.getAttribute(Z)),H.removeAttribute(Z))}),q},T=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","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-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],s=(H,x)=>{let q=T;return x&&x.length>0&&(q=q.filter(Z=>!x.includes(Z))),E(H,q)},h=(H,x,q,Z)=>{var de;if(typeof window<"u"){const ee=window,Y=null===(de=null==ee?void 0:ee.Ionic)||void 0===de?void 0:de.config;if(Y){const ae=Y.get("_ael");if(ae)return ae(H,x,q,Z);if(Y._ael)return Y._ael(H,x,q,Z)}}return H.addEventListener(x,q,Z)},u=(H,x,q,Z)=>{var de;if(typeof window<"u"){const ee=window,Y=null===(de=null==ee?void 0:ee.Ionic)||void 0===de?void 0:de.config;if(Y){const ae=Y.get("_rel");if(ae)return ae(H,x,q,Z);if(Y._rel)return Y._rel(H,x,q,Z)}}return H.removeEventListener(x,q,Z)},v=(H,x=H)=>H.shadowRoot||x,g=H=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(H):"function"==typeof requestAnimationFrame?requestAnimationFrame(H):setTimeout(H),y=H=>!!H.shadowRoot&&!!H.attachShadow,p=H=>{if(H.focus(),H.classList.contains("ion-focusable")){const x=H.closest("ion-app");x&&x.setFocus([H])}},b=(H,x,q,Z,de)=>{if(H||y(x)){let ee=x.querySelector("input.aux-input");ee||(ee=x.ownerDocument.createElement("input"),ee.type="hidden",ee.classList.add("aux-input"),x.appendChild(ee)),ee.disabled=de,ee.name=q,ee.value=Z||""}},R=(H,x,q)=>Math.max(H,Math.min(x,q)),P=(H,x)=>{if(!H){const q="ASSERT: "+x;throw console.error(q),new Error(q)}},k=H=>{if(H){const x=H.changedTouches;if(x&&x.length>0){const q=x[0];return{x:q.clientX,y:q.clientY}}if(void 0!==H.pageX)return{x:H.pageX,y:H.pageY}}return{x:0,y:0}},O=H=>{const x="rtl"===document.dir;switch(H){case"start":return x;case"end":return!x;default:throw new Error(`"${H}" is not a valid value for [side]. Use "start" or "end" instead.`)}},V=(H,x)=>{const q=H._original||H;return{_original:H,emit:K(q.emit.bind(q),x)}},K=(H,x=0)=>{let q;return(...Z)=>{clearTimeout(q),q=setTimeout(H,x,...Z)}},z=(H,x)=>
1{if(null!=H||(H={}),null!=x||(x={}),H===x)return!0;const q=Object.keys(H);if(q.length!==Object.keys(x).length)return!1;for(const Z of q)if(!(Z in x)||H[Z]!==x[Z])return!1;return!0}},28607:(ge,_,f)=>{"use strict";f.r(_),f.d(_,{GESTURE_CONTROLLER:()=>c.G,createGesture:()=>u});var c=f(11970);const o=(p,b,R,P)=>{const k=C(p)?{capture:!!P.capture,passive:!!P.passive}:!!P.capture;let O,V;return p.__zone_symbol__addEventListener?(O="__zone_symbol__addEventListener",V="__zone_symbol__removeEventListener"):(O="addEventListener",V="removeEventListener"),p[O](b,R,k),()=>{p[V](b,R,k)}},C=p=>{if(void 0===a)try{const b=Object.defineProperty({},"passive",{get:()=>{a=!0}});p.addEventListener("optsTest",()=>{},b)}catch{a=!1}return!!a};let a;const s=p=>p instanceof Document?p:p.ownerDocument,u=p=>{let b=!1,R=!1,P=!0,k=!1;const O=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},p),V=O.canStart,K=O.onWillStart,z=O.onStart,H=O.onEnd,x=O.notCaptured,q=O.onMove,Z=O.threshold,de=O.passive,ee=O.blurOnStart,Y={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},ae=((p,b,R)=>{const P=R*(Math.PI/180),k="x"===p,O=Math.cos(P),V=b*b;let K=0,z=0,H=!1,x=0;return{start(q,Z){K=q,z=Z,x=0,H=!0},detect(q,Z){if(!H)return!1;const de=q-K,ee=Z-z,Y=de*de+ee*ee;if(Y<V)return!1;const ae=Math.sqrt(Y),fe=(k?de:ee)/ae;return x=fe>O?1:fe<-O?-1:0,H=!1,!0},isGesture:()=>0!==x,getDirection:()=>x}})(O.direction,O.threshold,O.maxAngle),fe=c.G.createGesture({name:p.gestureName,priority:p.gesturePriority,disableScroll:p.disableScroll}),me=()=>{b&&(k=!1,q&&q(Y))},re=()=>!!fe.capture()&&(b=!0,P=!1,Y.startX=Y.currentX,Y.startY=Y.currentY,Y.startTime=Y.currentTime,K?K(Y).then(X):X(),!0),X=()=>{ee&&(()=>{if(typeof document<"u"){const ve=document.activeElement;null!=ve&&ve.blur&&ve.blur()}})(),z&&z(Y),P=!0},M=()=>{b=!1,R=!1,k=!1,P=!0,fe.release()},N=ve=>{const we=b,Re=P;if(M(),Re){if(v(Y,ve),we)return void(H&&H(Y));x&&x(Y)}},G=((p,b,R,P,k)=>{let O,V,K,z,H,x,q,Z=0;const de=$=>{Z=Date.now()+2e3,b($)&&(!V&&R&&(V=o(p,"touchmove",R,k)),K||(K=o($.target,"touchend",Y,k)),z||(z=o($.target,"touchcancel",Y,k)))},ee=$=>{Z>Date.now()||b($)&&(!x&&R&&(x=o(s(p),"mousemove",R,k)),q||(q=o(s(p),"mouseup",ae,k)))},Y=$=>{fe(),P&&P($)},ae=$=>{ne(),P&&P($)},fe=()=>{V&&V(),K&&K(),z&&z(),V=K=z=void 0},ne=()=>{x&&x(),q&&q(),x=q=void 0},ce=()=>{fe(),ne()},me=($=!0)=>{$?(O||(O=o(p,"touchstart",de,k)),H||(H=o(p,"mousedown",ee,k))):(O&&O(),H&&H(),O=H=void 0,ce())};return{enable:me,stop:ce,destroy:()=>{me(!1),P=R=b=void 0}}})(O.el,ve=>{const we=y(ve);return!(R||!P||(g(ve,Y),Y.startX=Y.currentX,Y.startY=Y.currentY,Y.startTime=Y.currentTime=we,Y.velocityX=Y.velocityY=Y.deltaX=Y.deltaY=0,Y.event=ve,V&&!1===V(Y))||(fe.release(),!fe.start()))&&(R=!0,0===Z?re():(ae.start(Y.startX,Y.startY),!0))},ve=>{b?!k&&P&&(k=!0,v(Y,ve),requestAnimationFrame(me)):(v(Y,ve),ae.detect(Y.currentX,Y.currentY)&&(!ae.isGesture()||!re())&&ue())},N,{capture:!1,passive:de}),ue=()=>{M(),G.stop(),x&&x(Y)};return{enable(ve=!0){ve||(b&&N(void 0),M()),G.enable(ve)},destroy(){fe.destroy(),G.destroy()}}},v=(p,b)=>{if(!b)return;const R=p.currentX,P=p.currentY,k=p.currentTime;g(b,p);const O=p.currentX,V=p.currentY,z=(p.currentTime=y(b))-k;if(z>0&&z<100){const x=(V-P)/z;p.velocityX=(O-R)/z*.7+.3*p.velocityX,p.velocityY=.7*x+.3*p.velocityY}p.deltaX=O-p.startX,p.deltaY=V-p.startY,p.event=b},g=(p,b)=>{let R=0,P=0;if(p){const k=p.changedTouches;if(k&&k.length>0){const O=k[0];R=O.clientX,P=O.clientY}else void 0!==p.pageX&&(R=p.pageX,P=p.pageY)}b.currentX=R,b.currentY=P},y=p=>p.timeStamp||Date.now()},76073:(ge,_,f)=>{"use strict";f.d(_,{m:()=>p});var c=f(10467),o=f(28476),C=f(28669),a=f(74929),E=f(84920),T=f(64921),s=f(19986);const h=b=>(0,s.c)().duration(b?400:300),u=b=>{let R,P;const k=b.width+8,O=(0,s.c)(),V=(0,s.c)();b.isEndSide?(R=k+"px",P="0px"):(R=-k+"px",P="0px"),O.addElement(b.menuInnerEl).fromTo("transform",`translateX(${R})`,`translateX(${P})`);const z="ios"===(0,T.b)(b),H=z?.2:.25;return V.addElement(b.backdropEl).fromTo("opacity",.01,H),h(z).addAnimation([O,V])},v=b=>{let R,P;const k=(0,T.b)(b),O=b.width;b.isEndSide?(R=-O+"px",P=O+"px"):(R=O+"px",P=-O+"px");const V=(0,s.c)().addElement(b.menuInnerEl).fromTo("transform",`translateX(${P})`,"translateX(0px)"),K=(0,s.c)().addElement(b.contentEl).fromTo("transform","translateX(0px)",`translateX(${R})`),z=(0,s.c)().addElement(b.backdropEl).fromTo("opacity",.01,.32);return h("ios"===k).addAnimation([V,K,z])},g=b=>{const R=(0,T.b)(b),P=b.width*(b.isEndSide?-1:1)+"px",k=(0,s.c)().addElement(b.contentEl).fromTo("transform","translateX(0px)",`translateX(${P})`);return h("ios"===R).addAnimation(k)},p=(()=>{const b=new Map,R=[],P=function(){var M=(0,c.A)(function*(N){const G=yield x(N,!0);return!!G&&G.open()});return function(G){return M.apply(this,arguments)}}(),k=function(){var M=(0,c.A)(function*(N){const G=yield void 0!==N?x(N,
1!0):q();return void 0!==G&&G.close()});return function(G){return M.apply(this,arguments)}}(),O=function(){var M=(0,c.A)(function*(N){const G=yield x(N,!0);return!!G&&G.toggle()});return function(G){return M.apply(this,arguments)}}(),V=function(){var M=(0,c.A)(function*(N,G){const ue=yield x(G);return ue&&(ue.disabled=!N),ue});return function(G,ue){return M.apply(this,arguments)}}(),K=function(){var M=(0,c.A)(function*(N,G){const ue=yield x(G);return ue&&(ue.swipeGesture=N),ue});return function(G,ue){return M.apply(this,arguments)}}(),z=function(){var M=(0,c.A)(function*(N){if(null!=N){const G=yield x(N);return void 0!==G&&G.isOpen()}return void 0!==(yield q())});return function(G){return M.apply(this,arguments)}}(),H=function(){var M=(0,c.A)(function*(N){const G=yield x(N);return!!G&&!G.disabled});return function(G){return M.apply(this,arguments)}}(),x=function(){var M=(0,c.A)(function*(N,G=!1){if(yield X(),"start"===N||"end"===N){const ve=R.filter(Re=>Re.side===N&&!Re.disabled);if(ve.length>=1)return ve.length>1&&G&&(0,a.p)(`menuController queried for a menu on the "${N}" side, but ${ve.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,ve.map(Re=>Re.el)),ve[0].el;const we=R.filter(Re=>Re.side===N);if(we.length>=1)return we.length>1&&G&&(0,a.p)(`menuController queried for a menu on the "${N}" side, but ${we.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,we.map(Re=>Re.el)),we[0].el}else if(null!=N)return $(ve=>ve.menuId===N);return $(ve=>!ve.disabled)||(R.length>0?R[0].el:void 0)});return function(G){return M.apply(this,arguments)}}(),q=function(){var M=(0,c.A)(function*(){return yield X(),ce()});return function(){return M.apply(this,arguments)}}(),Z=function(){var M=(0,c.A)(function*(){return yield X(),me()});return function(){return M.apply(this,arguments)}}(),de=function(){var M=(0,c.A)(function*(){return yield X(),re()});return function(){return M.apply(this,arguments)}}(),ee=(M,N)=>{b.set(M,N)},fe=function(){var M=(0,c.A)(function*(N,G,ue){if(re())return!1;if(G){const ve=yield q();ve&&N.el!==ve&&(yield ve.setOpen(!1,!1))}return N._setOpen(G,ue)});return function(G,ue,ve){return M.apply(this,arguments)}}(),ce=()=>$(M=>M._isOpen),me=()=>R.map(M=>M.el),re=()=>R.some(M=>M.isAnimating),$=M=>{const N=R.find(M);if(void 0!==N)return N.el},X=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(M=>new Promise(N=>(0,E.c)(M,N))));return ee("reveal",g),ee("push",v),ee("overlay",u),null==o.d||o.d.addEventListener("ionBackButton",M=>{const N=ce();N&&M.detail.register(C.MENU_BACK_BUTTON_PRIORITY,()=>N.close())}),{registerAnimation:ee,get:x,getMenus:Z,getOpen:q,isEnabled:H,swipeGesture:K,isAnimating:de,isOpen:z,enable:V,toggle:O,close:k,open:P,_getOpenSync:ce,_createAnimation:(M,N)=>{const G=b.get(M);if(!G)throw new Error("animation not registered");return G(N)},_register:M=>{R.indexOf(M)<0&&R.push(M)},_unregister:M=>{const N=R.indexOf(M);N>-1&&R.splice(N,1)},_setOpen:fe}})()},28393:(ge,_,f)=>{"use strict";f.d(_,{B:()=>T,a:()=>ne,b:()=>ht,c:()=>Br,d:()=>hr,e:()=>Re,f:()=>jn,g:()=>Gr,h:()=>Tn,i:()=>_r,j:()=>_t,k:()=>at,r:()=>u,w:()=>et});var c=f(10467);var a=Object.defineProperty,T={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},s=new WeakMap,h=vt=>s.get(vt),u=(vt,Kt)=>s.set(Kt.$lazyInstance$=vt,Kt),g=(vt,Kt)=>Kt in vt,y=(vt,Kt)=>(0,console.error)(vt,Kt),p=new Map,R=new Map,P=[],z="s-id",H="sty-id",x="c-id",Z="slot-fb{display:contents}slot-fb[hidden]{display:none}",de="http://www.w3.org/1999/xlink",ee=typeof window<"u"?window:{},Y=ee.document||{head:{}},fe={$flags$:0,$resourcesUrl$:"",jmp:vt=>vt(),raf:vt=>requestAnimationFrame(vt),ael:(vt,Kt,cn,Pn)=>vt.addEventListener(Kt,cn,Pn),rel:(vt,Kt,cn,Pn)=>vt.removeEventListener(Kt,cn,Pn),ce:(vt,Kt)=>new CustomEvent(vt,Kt)},ne=vt=>{Object.assign(fe,vt)},me=(()=>{let vt=!1;try{Y.addEventListener("e",null,Object.defineProperty({},"passive",{get(){vt=!0}}))}catch{}return vt})(),$=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),X=!1,M=[],N=[],G=(vt,Kt)=>cn=>
1{vt.push(cn),X||(X=!0,Kt&&4&fe.$flags$?we(ve):fe.raf(ve))},ue=vt=>{for(let Kt=0;Kt<vt.length;Kt++)try{vt[Kt](performance.now())}catch(cn){y(cn)}vt.length=0},ve=()=>{ue(M),ue(N),(X=M.length>0)&&fe.raf(ve)},we=vt=>Promise.resolve(void 0).then(vt),Re=G(M,!1),et=G(N,!0),at=vt=>{const Kt=new URL(vt,fe.$resourcesUrl$);return Kt.origin!==ee.location.origin?Kt.href:Kt.pathname},Pt={},St=vt=>"object"==(vt=typeof vt)||"function"===vt;function lt(vt){var Kt,cn,Pn;return null!=(Pn=null==(cn=null==(Kt=vt.head)?void 0:Kt.querySelector('meta[name="csp-nonce"]'))?void 0:cn.getAttribute("content"))?Pn:void 0}((vt,Kt)=>{for(var cn in Kt)a(vt,cn,{get:Kt[cn],enumerable:!0})})({},{err:()=>rt,map:()=>mt,ok:()=>Ft,unwrap:()=>Mt,unwrapErr:()=>Vt});var Ft=vt=>({isOk:!0,isErr:!1,value:vt}),rt=vt=>({isOk:!1,isErr:!0,value:vt});function mt(vt,Kt){if(vt.isOk){const cn=Kt(vt.value);return cn instanceof Promise?cn.then(Pn=>Ft(Pn)):Ft(cn)}if(vt.isErr)return rt(vt.value);throw"should never get here"}var Mt=vt=>{if(vt.isOk)return vt.value;throw vt.value},Vt=vt=>{if(vt.isErr)return vt.value;throw vt.value},Tn=(vt,Kt,...cn)=>{let Pn=null,Yn=null,Wn=null,Ir=!1,Wr=!1;const Or=[],Hr=Ci=>{for(let pi=0;pi<Ci.length;pi++)Pn=Ci[pi],Array.isArray(Pn)?Hr(Pn):null!=Pn&&"boolean"!=typeof Pn&&((Ir="function"!=typeof vt&&!St(Pn))&&(Pn=String(Pn)),Ir&&Wr?Or[Or.length-1].$text$+=Pn:Or.push(Ir?An(null,Pn):Pn),Wr=Ir)};if(Hr(cn),Kt){Kt.key&&(Yn=Kt.key),Kt.name&&(Wn=Kt.name);{const Ci=Kt.className||Kt.class;Ci&&(Kt.class="object"!=typeof Ci?Ci:Object.keys(Ci).filter(pi=>Ci[pi]).join(" "))}}if("function"==typeof vt)return vt(null===Kt?{}:Kt,Or,br);const ui=An(vt,null);return ui.$attrs$=Kt,Or.length>0&&(ui.$children$=Or),ui.$key$=Yn,ui.$name$=Wn,ui},An=(vt,Kt)=>({$flags$:0,$tag$:vt,$text$:Kt,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),jn={},br={forEach:(vt,Kt)=>vt.map(Fr).forEach(Kt),map:(vt,Kt)=>vt.map(Fr).map(Kt).map(On)},Fr=vt=>({vattrs:vt.$attrs$,vchildren:vt.$children$,vkey:vt.$key$,vname:vt.$name$,vtag:vt.$tag$,vtext:vt.$text$}),On=vt=>{if("function"==typeof vt.vtag){const cn={...vt.vattrs};return vt.vkey&&(cn.key=vt.vkey),vt.vname&&(cn.name=vt.vname),Tn(vt.vtag,cn,...vt.vchildren||[])}const Kt=An(vt.vtag,vt.vtext);return Kt.$attrs$=vt.vattrs,Kt.$children$=vt.vchildren,Kt.$key$=vt.vkey,Kt.$name$=vt.vname,Kt},ur=(vt,Kt,cn,Pn,Yn,Wn,Ir)=>{let Wr,Or,Hr,ui;if(1===Wn.nodeType){for(Wr=Wn.getAttribute(x),Wr&&(Or=Wr.split("."),(Or[0]===Ir||"0"===Or[0])&&(Hr={$flags$:0,$hostId$:Or[0],$nodeId$:Or[1],$depth$:Or[2],$index$:Or[3],$tag$:Wn.tagName.toLowerCase(),$elm$:Wn,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},Kt.push(Hr),Wn.removeAttribute(x),vt.$children$||(vt.$children$=[]),vt.$children$[Hr.$index$]=Hr,vt=Hr,Pn&&"0"===Hr.$depth$&&(Pn[Hr.$index$]=Hr.$elm$))),ui=Wn.childNodes.length-1;ui>=0;ui--)ur(vt,Kt,cn,Pn,Yn,Wn.childNodes[ui],Ir);if(Wn.shadowRoot)for(ui=Wn.shadowRoot.childNodes.length-1;ui>=0;ui--)ur(vt,Kt,cn,Pn,Yn,Wn.shadowRoot.childNodes[ui],Ir)}else if(8===Wn.nodeType)Or=Wn.nodeValue.split("."),(Or[1]===Ir||"0"===Or[1])&&(Wr=Or[0],Hr={$flags$:0,$hostId$:Or[1],$nodeId$:Or[2],$depth$:Or[3],$index$:Or[4],$elm$:Wn,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===Wr?(Hr.$elm$=Wn.nextSibling,Hr.$elm$&&3===Hr.$elm$.nodeType&&(Hr.$text$=Hr.$elm$.textContent,Kt.push(Hr),Wn.remove(),vt.$children$||(vt.$children$=[]),vt.$children$[Hr.$index$]=Hr,Pn&&"0"===Hr.$depth$&&(Pn[Hr.$index$]=Hr.$elm$))):Hr.$hostId$===Ir&&("s"===Wr?(Hr.$tag$="slot",Wn["s-sn"]=Or[5]?Hr.$name$=Or[5]:"",Wn["s-sr"]=!0,Pn&&(Hr.$elm$=Y.createElement(Hr.$tag$),Hr.$name$&&Hr.$elm$.setAttribute("name",Hr.$name$),Wn.parentNode.insertBefore(Hr.$elm$,Wn),Wn.remove(),"0"===Hr.$depth$&&(Pn[Hr.$index$]=Hr.$elm$)),cn.push(Hr),vt.$children$||(vt.$children$=[]),vt.$children$[Hr.$index$]=Hr):"r"===Wr&&(Pn?Wn.remove():(Yn["s-cr"]=Wn,Wn["s-cn"]=!0))));else if(vt&&"style"===vt.$tag$){const Ci=An(null,Wn.textContent);Ci.$elm$=Wn,Ci.$index$="0",vt.$children$=[Ci]}},tr=(vt,Kt)=>{if(1===vt.nodeType){let cn=0;for(;cn<vt.childNodes.length;cn++)tr(vt.childNodes[cn],Kt);if(vt.shadowRoot)for(cn=0;cn<vt.shadowRoot.childNodes.length;cn++)tr(vt.shadowRoot.childNodes[cn],Kt)}else if(8===vt.nodeType){const cn=vt.nodeValue.split(".");"o"===cn[0]&&(Kt.set(cn[1]+"."+cn[2],vt),vt.nodeValue="",vt["s-en"]=cn[3])}},Br=vt=>P.push(vt),Gr=vt=>h(vt).$modeName$,_r=vt=>h(vt).$hostElement$,hr=(vt,Kt,cn)=>{const Pn=_r(vt);return{emit:Yn=>Nr(Pn,Kt,{bubbles:!!(4&cn),composed:!!(2&cn),cancelable:!!(1&cn),detail:Yn})}},Nr=(vt,Kt,cn)=>{const Pn=fe.ce(Kt,cn);return vt.dispatchEvent(Pn),Pn},$r=new WeakMap,Xr=(vt,Kt,cn)=>{let Pn=R.get(vt);$&&cn?(Pn=Pn||new CSSStyleSheet,"string"==typeof Pn?Pn=Kt:Pn.replaceSync(Kt)):Pn=Kt,R.set(vt,Pn)},Rt=(vt,Kt,cn)=>{var Pn;const Yn=vn(Kt,cn),Wn=R.get(Yn);if(vt=11===vt.nodeType?vt:Y,Wn)if("string"==typeof Wn){let Wr,Ir=$r.get(vt=vt.head||vt);if(Ir||$r.set(vt,Ir=new Set),!Ir.has(Yn)){if(vt.host&&(Wr=vt.querySelector(`[${H}="${Yn}"]`)))Wr.innerHTML=Wn;else{Wr=Y.createElement("style"),Wr.innerHTML=Wn;const Or=null!=(Pn=fe.$nonce$)?Pn:lt(Y);null!=Or&&Wr.setAttribute("nonce",Or),vt.insertBefore(Wr,vt.querySelector("link"))}4&Kt.$flags$&&(Wr.innerHTML+=Z),Ir&&Ir.add(Yn)}}else vt.adoptedStyleSheets.includes(Wn)||(vt.adoptedStyleSheets=[...vt.adoptedStyleSheets,Wn]);return Yn},vn=(vt,Kt)=>"sc-"+(Kt&&32&vt.$flags$?vt.$tagName$+"-"+Kt:vt.$tagName$),ln=vt=>vt.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Sn=(vt,Kt,cn,Pn,Yn,Wn)=>{if(cn!==Pn){let Ir=g(vt,Kt),Wr=Kt.toLowerCase();if("class"===Kt){const Or=vt.classList,Hr=En(cn),ui=En(Pn);Or.remove(...Hr.filter(Ci=>Ci&&!ui.includes(Ci))),Or.add(...ui.filter(Ci=>Ci&&!Hr.includes(Ci)))}else if("style"===Kt){for(const Or in cn)(!Pn||null==Pn[Or])&&(Or.includes("-")?vt.style.removeProperty(Or):vt.style[Or]="");for(const Or in Pn)(!cn||Pn[Or]!==cn[Or])&&(Or.includes("-")?vt.style.setProperty(Or,P
1n[Or]):vt.style[Or]=Pn[Or])}else if("key"!==Kt)if("ref"===Kt)Pn&&Pn(vt);else if(Ir||"o"!==Kt[0]||"n"!==Kt[1]){const Or=St(Pn);if((Ir||Or&&null!==Pn)&&!Yn)try{if(vt.tagName.includes("-"))vt[Kt]=Pn;else{const ui=null==Pn?"":Pn;"list"===Kt?Ir=!1:(null==cn||vt[Kt]!=ui)&&(vt[Kt]=ui)}}catch{}let Hr=!1;Wr!==(Wr=Wr.replace(/^xlink\:?/,""))&&(Kt=Wr,Hr=!0),null==Pn||!1===Pn?(!1!==Pn||""===vt.getAttribute(Kt))&&(Hr?vt.removeAttributeNS(de,Kt):vt.removeAttribute(Kt)):(!Ir||4&Wn||Yn)&&!Or&&(Pn=!0===Pn?"":Pn,Hr?vt.setAttributeNS(de,Kt,Pn):vt.setAttribute(Kt,Pn))}else if(Kt="-"===Kt[2]?Kt.slice(3):g(ee,Wr)?Wr.slice(2):Wr[2]+Kt.slice(3),cn||Pn){const Or=Kt.endsWith(tn);Kt=Kt.replace(bn,""),cn&&fe.rel(vt,Kt,cn,Or),Pn&&fe.ael(vt,Kt,Pn,Or)}}},dr=/\s/,En=vt=>vt?vt.split(dr):[],tn="Capture",bn=new RegExp(tn+"$"),Cn=(vt,Kt,cn)=>{const Pn=11===Kt.$elm$.nodeType&&Kt.$elm$.host?Kt.$elm$.host:Kt.$elm$,Yn=vt&&vt.$attrs$||Pt,Wn=Kt.$attrs$||Pt;for(const Ir of Kn(Object.keys(Yn)))Ir in Wn||Sn(Pn,Ir,Yn[Ir],void 0,cn,Kt.$flags$);for(const Ir of Kn(Object.keys(Wn)))Sn(Pn,Ir,Yn[Ir],Wn[Ir],cn,Kt.$flags$)};function Kn(vt){return vt.includes("ref")?[...vt.filter(Kt=>"ref"!==Kt),"ref"]:vt}var Xn,nr,fn,fr=!1,lr=!1,ar=!1,ni=!1,vi=(vt,Kt,cn,Pn)=>{var Yn;const Wn=Kt.$children$[cn];let Wr,Or,Hr,Ir=0;if(fr||(ar=!0,"slot"===Wn.$tag$&&(Xn&&Pn.classList.add(Xn+"-s"),Wn.$flags$|=Wn.$children$?2:1)),null!==Wn.$text$)Wr=Wn.$elm$=Y.createTextNode(Wn.$text$);else if(1&Wn.$flags$)Wr=Wn.$elm$=Y.createTextNode("");else{if(ni||(ni="svg"===Wn.$tag$),Wr=Wn.$elm$=Y.createElementNS(ni?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!fr&&2&Wn.$flags$?"slot-fb":Wn.$tag$),ni&&"foreignObject"===Wn.$tag$&&(ni=!1),Cn(null,Wn,ni),(vt=>null!=vt)(Xn)&&Wr["s-si"]!==Xn&&Wr.classList.add(Wr["s-si"]=Xn),st(Wr,Pn),Wn.$children$)for(Ir=0;Ir<Wn.$children$.length;++Ir)Or=vi(vt,Wn,Ir,Wr),Or&&Wr.appendChild(Or);"svg"===Wn.$tag$?ni=!1:"foreignObject"===Wr.tagName&&(ni=!0)}return Wr["s-hn"]=fn,3&Wn.$flags$&&(Wr["s-sr"]=!0,Wr["s-cr"]=nr,Wr["s-sn"]=Wn.$name$||"",Wr["s-rf"]=null==(Yn=Wn.$attrs$)?void 0:Yn.ref,Hr=vt&&vt.$children$&&vt.$children$[cn],Hr&&Hr.$tag$===Wn.$tag$&&vt.$elm$&&no(vt.$elm$)),Wr},no=vt=>{fe.$flags$|=1;const Kt=vt.closest(fn.toLowerCase());if(null!=Kt){const cn=Array.from(Kt.childNodes).find(Yn=>Yn["s-cr"]),Pn=Array.from(vt.childNodes);for(const Yn of cn?Pn.reverse():Pn)null!=Yn["s-sh"]&&(nn(Kt,Yn,null!=cn?cn:null),Yn["s-sh"]=void 0,ar=!0)}fe.$flags$&=-2},$i=(vt,Kt)=>{fe.$flags$|=1;const cn=Array.from(vt.childNodes);if(vt["s-sr"]){let Pn=vt;for(;Pn=Pn.nextSibling;)Pn&&Pn["s-sn"]===vt["s-sn"]&&Pn["s-sh"]===fn&&cn.push(Pn)}for(let Pn=cn.length-1;Pn>=0;Pn--){const Yn=cn[Pn];Yn["s-hn"]!==fn&&Yn["s-ol"]&&(nn(Co(Yn),Yn,vo(Yn)),Yn["s-ol"].remove(),Yn["s-ol"]=void 0,Yn["s-sh"]=void 0,ar=!0),Kt&&$i(Yn,Kt)}fe.$flags$&=-2},Xi=(vt,Kt,cn,Pn,Yn,Wn)=>{let Wr,Ir=vt["s-cr"]&&vt["s-cr"].parentNode||vt;for(Ir.shadowRoot&&Ir.tagName===fn&&(Ir=Ir.shadowRoot);Yn<=Wn;++Yn)Pn[Yn]&&(Wr=vi(null,cn,Yn,vt),Wr&&(Pn[Yn].$elm$=Wr,nn(Ir,Wr,vo(Kt))))},Di=(vt,Kt,cn)=>{for(let Pn=Kt;Pn<=cn;++Pn){const Yn=vt[Pn];if(Yn){const Wn=Yn.$elm$;Ot(Yn),Wn&&(lr=!0,Wn["s-ol"]?Wn["s-ol"].remove():$i(Wn,!0),Wn.remove())}}},to=(vt,Kt,cn=!1)=>vt.$tag$===Kt.$tag$&&("slot"===vt.$tag$?vt.$name$===Kt.$name$:!!cn||vt.$key$===Kt.$key$),vo=vt=>vt&&vt["s-ol"]||vt,Co=vt=>(vt["s-ol"]?vt["s-ol"]:vt).parentNode,mn=(vt,Kt,cn=!1)=>{const Pn=Kt.$elm$=vt.$elm$,Yn=vt.$children$,Wn=Kt.$children$,Ir=Kt.$tag$,Wr=Kt.$text$;let Or;null===Wr?(ni="svg"===Ir||"foreignObject"!==Ir&&ni,"slot"!==Ir||fr?Cn(vt,Kt,ni):vt.$name$!==Kt.$name$&&(Kt.$elm$["s-sn"]=Kt.$name$||"",no(Kt.$elm$.parentElement)),null!==Yn&&null!==Wn?((vt,Kt,cn,Pn,Yn=!1)=>{let Jo,xi,Wn=0,Ir=0,Wr=0,Or=0,Hr=Kt.length-1,ui=Kt[0],Ci=Kt[Hr],pi=Pn.length-1,Fi=Pn[0],yo=Pn[pi];for(;Wn<=Hr&&Ir<=pi;)if(null==ui)ui=Kt[++Wn];else if(null==Ci)Ci=Kt[--Hr];else if(null==Fi)Fi=Pn[++Ir];else if(null==yo)yo=Pn[--pi];else if(to(ui,Fi,Yn))mn(ui,Fi,Yn),ui=Kt[++Wn],Fi=Pn[++Ir];else if(to(Ci,yo,Yn))mn(Ci,yo,Yn),Ci=Kt[--Hr],yo=Pn[--pi];else if(to(ui,yo,Yn))("slot"===ui.$tag$||"slot"===yo.$tag$)&&$i(ui.$elm$.parentNode,!1),mn(ui,yo,Yn),nn(vt,ui.$elm$,Ci.$elm$.nextSibling),ui=Kt[++Wn],yo=Pn[--pi];else if(to(Ci,Fi,Yn))("slot"===ui.$tag$||"slot"===yo.$tag$)&&$i(Ci.$elm$.parentNode,!1),mn(Ci,Fi,Yn),nn(vt,Ci.$elm$,ui.$elm$),Ci=Kt[--Hr],Fi=Pn[++Ir];else{for(Wr=-1,Or=Wn;Or<=Hr;++Or)if(Kt[Or]&&null!==Kt[Or].$key$&&Kt[Or].$key$===Fi.$key$){Wr=Or;break}Wr>=0?(xi=Kt[Wr],xi.$tag$!==Fi.$tag$?Jo=vi(Kt&&Kt[Ir],cn,Wr,vt):(mn(xi,Fi,Yn),Kt[Wr]=void 0,Jo=xi.$elm$),Fi=Pn[++Ir]):(Jo=vi(Kt&&Kt[Ir],cn,Ir,vt),Fi=Pn[++Ir]),Jo&&nn(Co(ui.$elm$),Jo,vo(ui.$elm$))}Wn>Hr?Xi(vt,null==Pn[pi+1]?null:Pn[pi+1].$elm$,cn,Pn,Ir,pi):Ir>pi&&Di(Kt,Wn,Hr)})(Pn,Yn,Kt,Wn,cn):null!==Wn?(null!==vt.$text$&&(Pn.textContent=""),Xi(Pn,null,Kt,Wn,0,Wn.length-1)):null!==Yn&&Di(Yn,0,Yn.length-1),ni&&"svg"===Ir&&(ni=!1)):(Or=Pn["s-cr"])?Or.parentNode.textContent=Wr:vt.$text$!==Wr&&(Pn.data=Wr)},Jt=vt=>{const Kt=vt.childNodes;for(const cn of Kt)if(1===cn.nodeType){if(cn["s-sr"]){const Pn=cn["s-sn"];cn.hidden=!1;for(const Yn of Kt)if(Yn!==cn)if(Yn["s-hn"]!==cn["s-hn"]||""!==Pn){if(1===Yn.nodeType&&(Pn===Yn.getAttribute("slot")||Pn===Yn["s-sn"])||3===Yn.nodeType&&Pn===Yn["s-sn"]){cn.hidden=!0;break}}else if(1===Yn.nodeType||3===Yn.nodeType&&""!==Yn.textContent.trim()){cn.hidden=!0;break}}Jt(cn)}},kn=[],Ke=vt=>{let Kt,cn,Pn;for(const Yn of vt.childNodes){if(Yn["s-sr"]&&(Kt=Yn["s-cr"])&&Kt.parentNode){cn=Kt.parentNode.childNodes;const Wn=Yn["s-sn"];for(Pn=cn.length-1;Pn>=0;Pn--)if(Kt=cn[Pn],!(Kt["s-cn"]||Kt["s-nr"]||Kt["s-hn"]===Yn["s-hn"]||Kt["s-sh"]&&Kt["s-sh"]===Yn["s-hn"]))if(Ze(Kt,Wn)){let Ir=kn.find(Wr=>Wr.$nodeToRelocate$===Kt);lr=!0,Kt["s-sn"]=Kt["s-sn"]||Wn,Ir?(Ir.$nodeToRelocate$["s-sh"]=Yn["s-hn"],Ir.$slotRefNode$=Yn):(Kt["s-sh"]=Yn["s-hn"],kn.push({$slotRefNode$:Yn,$nodeToRelocate$:Kt})),Kt["s-sr"]&&kn.map(Wr=>{Ze(Wr.$nodeToRelocate$,Kt["s-sn"])&&(Ir=kn.find(Or=>Or.$nodeToRelocate$===Kt),Ir&&!Wr.$slotRefNode$&&(Wr.$slotRefNode$=Ir.$slotRefNode$))})}else kn.some(Ir=>Ir.$nodeToRelocate$===Kt)||kn.push({$nodeToRelocate$:Kt})}1===Yn.nodeType&&Ke(Yn)}},Ze=(vt,Kt)=>1===vt.nodeType?null===vt.getAttribute("slot")&&""===Kt||vt.getAttribute("slot")===Kt:vt["s-sn"]===Kt||""===Kt,Ot=vt=>{vt.$attrs$&&vt.$attrs$.ref&&vt.$attrs$.ref(null),vt.$children$&&vt.$children$.map(Ot)},nn=(vt,Kt,cn)=>{const Pn=null==vt?void 0:vt.insertBefore(Kt,cn);return st(Kt,vt),Pn},wt=vt=>{const Kt=[];return vt&&Kt.push(...vt["s-scs"]||[],vt["s-si"],vt["s-sc"],...wt(vt.parentElement)),Kt},st=(vt,Kt,cn=!1)=>{var Pn;
1if(vt&&Kt&&1===vt.nodeType){const Yn=new Set(wt(Kt).filter(Boolean));if(Yn.size&&(null==(Pn=vt.classList)||Pn.add(...vt["s-scs"]=[...Yn]),vt["s-ol"]||cn))for(const Wn of Array.from(vt.childNodes))st(Wn,vt,!0)}},xt=(vt,Kt)=>{Kt&&!vt.$onRenderResolve$&&Kt["s-p"]&&Kt["s-p"].push(new Promise(cn=>vt.$onRenderResolve$=cn))},hn=(vt,Kt)=>{if(vt.$flags$|=16,!(4&vt.$flags$))return xt(vt,vt.$ancestorComponent$),et(()=>ft(vt,Kt));vt.$flags$|=512},ft=(vt,Kt)=>{const Yn=vt.$lazyInstance$;if(!Yn)throw new Error(`Can't render component <${vt.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let Wn;return Kt&&(vt.$flags$|=256,vt.$queuedListeners$&&(vt.$queuedListeners$.map(([Ir,Wr])=>gn(Yn,Ir,Wr)),vt.$queuedListeners$=void 0),Wn=gn(Yn,"componentWillLoad")),Wn=He(Wn,()=>gn(Yn,"componentWillRender")),He(Wn,()=>Fe(vt,Yn,Kt))},He=(vt,Kt)=>Pe(vt)?vt.then(Kt).catch(cn=>{console.error(cn),Kt()}):Kt(),Pe=vt=>vt instanceof Promise||vt&&vt.then&&"function"==typeof vt.then,Fe=function(){var vt=(0,c.A)(function*(Kt,cn,Pn){var Yn;const Wn=Kt.$hostElement$,Wr=Wn["s-rc"];Pn&&(vt=>{const Kt=vt.$cmpMeta$,cn=vt.$hostElement$,Pn=Kt.$flags$,Wn=Rt(cn.shadowRoot?cn.shadowRoot:cn.getRootNode(),Kt,vt.$modeName$);10&Pn&&(cn["s-sc"]=Wn,cn.classList.add(Wn+"-h"),2&Pn&&cn.classList.add(Wn+"-s"))})(Kt);Oe(Kt,cn,Wn,Pn),Wr&&(Wr.map(Hr=>Hr()),Wn["s-rc"]=void 0);{const Hr=null!=(Yn=Wn["s-p"])?Yn:[],ui=()=>We(Kt);0===Hr.length?ui():(Promise.all(Hr).then(ui),Kt.$flags$|=4,Hr.length=0)}});return function(cn,Pn,Yn){return vt.apply(this,arguments)}}(),Oe=(vt,Kt,cn,Pn)=>{try{Kt=Kt.render&&Kt.render(),vt.$flags$&=-17,vt.$flags$|=2,((vt,Kt,cn=!1)=>{var Pn,Yn,Wn,Ir,Wr;const Or=vt.$hostElement$,Hr=vt.$cmpMeta$,ui=vt.$vnode$||An(null,null),Ci=(vt=>vt&&vt.$tag$===jn)(Kt)?Kt:Tn(null,null,Kt);if(fn=Or.tagName,Hr.$attrsToReflect$&&(Ci.$attrs$=Ci.$attrs$||{},Hr.$attrsToReflect$.map(([pi,Fi])=>Ci.$attrs$[Fi]=Or[pi])),cn&&Ci.$attrs$)for(const pi of Object.keys(Ci.$attrs$))Or.hasAttribute(pi)&&!["key","ref","style","class"].includes(pi)&&(Ci.$attrs$[pi]=Or[pi]);if(Ci.$tag$=null,Ci.$flags$|=4,vt.$vnode$=Ci,Ci.$elm$=ui.$elm$=Or.shadowRoot||Or,Xn=Or["s-sc"],fr=!!(1&Hr.$flags$),nr=Or["s-cr"],lr=!1,mn(ui,Ci,cn),fe.$flags$|=1,ar){Ke(Ci.$elm$);for(const pi of kn){const Fi=pi.$nodeToRelocate$;if(!Fi["s-ol"]){const yo=Y.createTextNode("");yo["s-nr"]=Fi,nn(Fi.parentNode,Fi["s-ol"]=yo,Fi)}}for(const pi of kn){const Fi=pi.$nodeToRelocate$,yo=pi.$slotRefNode$;if(yo){const Jo=yo.parentNode;let xi=yo.nextSibling;if(xi&&1===xi.nodeType){let as=null==(Pn=Fi["s-ol"])?void 0:Pn.previousSibling;for(;as;){let Ts=null!=(Yn=as["s-nr"])?Yn:null;if(Ts&&Ts["s-sn"]===Fi["s-sn"]&&Jo===Ts.parentNode){for(Ts=Ts.nextSibling;Ts===Fi||null!=Ts&&Ts["s-sr"];)Ts=null==Ts?void 0:Ts.nextSibling;if(!Ts||!Ts["s-nr"]){xi=Ts;break}}as=as.previousSibling}}(!xi&&Jo!==Fi.parentNode||Fi.nextSibling!==xi)&&Fi!==xi&&(nn(Jo,Fi,xi),1===Fi.nodeType&&(Fi.hidden=null!=(Wn=Fi["s-ih"])&&Wn)),Fi&&"function"==typeof yo["s-rf"]&&yo["s-rf"](Fi)}else 1===Fi.nodeType&&(cn&&(Fi["s-ih"]=null!=(Ir=Fi.hidden)&&Ir),Fi.hidden=!0)}}if(lr&&Jt(Ci.$elm$),fe.$flags$&=-2,kn.length=0,2&Hr.$flags$)for(const pi of Ci.$elm$.childNodes)pi["s-hn"]!==fn&&!pi["s-sh"]&&(cn&&null==pi["s-ih"]&&(pi["s-ih"]=null!=(Wr=pi.hidden)&&Wr),pi.hidden=!0);nr=void 0})(vt,Kt,Pn)}catch(Yn){y(Yn,vt.$hostElement$)}return null},We=vt=>{const cn=vt.$hostElement$,Yn=vt.$lazyInstance$,Wn=vt.$ancestorComponent$;gn(Yn,"componentDidRender"),64&vt.$flags$?gn(Yn,"componentDidUpdate"):(vt.$flags$|=64,In(cn),gn(Yn,"componentDidLoad"),vt.$onReadyResolve$(cn),Wn||en()),vt.$onInstanceResolve$(cn),vt.$onRenderResolve$&&(vt.$onRenderResolve$(),vt.$onRenderResolve$=void 0),512&vt.$flags$&&we(()=>hn(vt,!1)),vt.$flags$&=-517},_t=vt=>{{const Kt=h(vt),cn=Kt.$hostElement$.isConnected;return cn&&2==(18&Kt.$flags$)&&hn(Kt,!1),cn}},en=vt=>{In(Y.documentElement),we(()=>Nr(ee,"appload",{detail:{namespace:"ionic"}}))},gn=(vt,Kt,cn)=>
1{if(vt&&vt[Kt])try{return vt[Kt](cn)}catch(Pn){y(Pn)}},In=vt=>vt.classList.add(("hydrated","hydrated")),Yr=(vt,Kt,cn)=>{var Pn,Yn;const Wn=vt.prototype;if(Kt.$members$||Kt.$watchers$||vt.watchers){vt.watchers&&!Kt.$watchers$&&(Kt.$watchers$=vt.watchers);const Ir=Object.entries(null!=(Pn=Kt.$members$)?Pn:{});if(Ir.map(([Wr,[Or]])=>{31&Or||2&cn&&32&Or?Object.defineProperty(Wn,Wr,{get(){return((vt,Kt)=>h(this).$instanceValues$.get(Kt))(0,Wr)},set(Hr){((vt,Kt,cn,Pn)=>{const Yn=h(vt);if(!Yn)throw new Error(`Couldn't find host element for "${Pn.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const Wn=Yn.$hostElement$,Ir=Yn.$instanceValues$.get(Kt),Wr=Yn.$flags$,Or=Yn.$lazyInstance$;cn=((vt,Kt)=>null==vt||St(vt)?vt:4&Kt?"false"!==vt&&(""===vt||!!vt):2&Kt?parseFloat(vt):1&Kt?String(vt):vt)(cn,Pn.$members$[Kt][0]);const Hr=Number.isNaN(Ir)&&Number.isNaN(cn);if((!(8&Wr)||void 0===Ir)&&cn!==Ir&&!Hr&&(Yn.$instanceValues$.set(Kt,cn),Or)){if(Pn.$watchers$&&128&Wr){const Ci=Pn.$watchers$[Kt];Ci&&Ci.map(pi=>{try{Or[pi](cn,Ir,Kt)}catch(Fi){y(Fi,Wn)}})}2==(18&Wr)&&hn(Yn,!1)}})(this,Wr,Hr,Kt)},configurable:!0,enumerable:!0}):1&cn&&64&Or&&Object.defineProperty(Wn,Wr,{value(...Hr){var ui;const Ci=h(this);return null==(ui=null==Ci?void 0:Ci.$onInstancePromise$)?void 0:ui.then(()=>{var pi;return null==(pi=Ci.$lazyInstance$)?void 0:pi[Wr](...Hr)})}})}),1&cn){const Wr=new Map;Wn.attributeChangedCallback=function(Or,Hr,ui){fe.jmp(()=>{var Ci;const pi=Wr.get(Or);if(this.hasOwnProperty(pi))ui=this[pi],delete this[pi];else{if(Wn.hasOwnProperty(pi)&&"number"==typeof this[pi]&&this[pi]==ui)return;if(null==pi){const Fi=h(this),yo=null==Fi?void 0:Fi.$flags$;if(yo&&!(8&yo)&&128&yo&&ui!==Hr){const Jo=Fi.$lazyInstance$,xi=null==(Ci=Kt.$watchers$)?void 0:Ci[Or];null==xi||xi.forEach(as=>{null!=Jo[as]&&Jo[as].call(Jo,ui,Hr,Or)})}return}}this[pi]=(null!==ui||"boolean"!=typeof this[pi])&&ui})},vt.observedAttributes=Array.from(new Set([...Object.keys(null!=(Yn=Kt.$watchers$)?Yn:{}),...Ir.filter(([Or,Hr])=>15&Hr[0]).map(([Or,Hr])=>{var ui;const Ci=Hr[1]||Or;return Wr.set(Ci,Or),512&Hr[0]&&(null==(ui=Kt.$attrsToReflect$)||ui.push([Or,Ci])),Ci})]))}}return vt},oi=function(){var vt=(0,c.A)(function*(Kt,cn,Pn,Yn){let Wn;if(!(32&cn.$flags$)){if(cn.$flags$|=32,Pn.$lazyBundleId$){const Hr=((vt,Kt,cn)=>{const Pn=vt.$tagName$.replace(/-/g,"_"),Yn=vt.$lazyBundleId$;if(!Yn)return;const Wn=p.get(Yn);return Wn?Wn[Pn]:f(88996)(`./${Yn}.entry.js`).then(Ir=>(p.set(Yn,Ir),Ir[Pn]),y)})(Pn);if(Hr&&"then"in Hr){const Ci=()=>{};Wn=yield Hr,Ci()}else Wn=Hr;if(!Wn)throw new Error(`Constructor for "${Pn.$tagName$}#${cn.$modeName$}" was not found`);Wn.isProxied||(Pn.$watchers$=Wn.watchers,Yr(Wn,Pn,2),Wn.isProxied=!0);const ui=()=>{};cn.$flags$|=8;try{new Wn(cn)}catch(Ci){y(Ci)}cn.$flags$&=-9,cn.$flags$|=128,ui(),Ar(cn.$lazyInstance$)}else Wn=Kt.constructor,customElements.whenDefined(Kt.localName).then(()=>cn.$flags$|=128);if(Wn&&Wn.style){let Hr;"string"==typeof Wn.style?Hr=Wn.style:"string"!=typeof Wn.style&&(cn.$modeName$=(vt=>P.map(Kt=>Kt(vt)).find(Kt=>!!Kt))(Kt),cn.$modeName$&&(Hr=Wn.style[cn.$modeName$]));const ui=vn(Pn,cn.$modeName$);if(!R.has(ui)){const Ci=()=>{};Xr(ui,Hr,!!(1&Pn.$flags$)),Ci()}}}const Ir=cn.$ancestorComponent$,Wr=()=>hn(cn,!0);Ir&&Ir["s-rc"]?Ir["s-rc"].push(Wr):Wr()});return function(cn,Pn,Yn,Wn){return vt.apply(this,arguments)}}(),Ar=vt=>{gn(vt,"connectedCallback")},Ki=vt=>{const Kt=vt["s-cr"]=Y.createComment("");Kt["s-cn"]=!0,nn(vt,Kt,vt.firstChild)},Pi=vt=>{gn(vt,"disconnectedCallback")},io=function(){var vt=(0,c.A)(function*(Kt){if(!(1&fe.$flags$)){const cn=h(Kt);cn.$rmListeners$&&(cn.$rmListeners$.map(Pn=>Pn()),cn.$rmListeners$=void 0),null!=cn&&cn.$lazyInstance$?Pi(cn.$lazyInstance$):null!=cn&&cn.$onReadyPromise$&&cn.$onReadyPromise$.then(()=>Pi(cn.$lazyInstance$))}});return function(cn){return vt.apply(this,arguments)}}(),ko=vt=>{const Kt=vt.cloneNode;vt.cloneNode=function(cn){const Pn=this,Yn=Pn.shadowRoot&&true,Wn=Kt.call(Pn,!!Yn&&cn);if(!Yn&&cn){let Wr,Or,Ir=0;
1const Hr=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"];for(;Ir<Pn.childNodes.length;Ir++)Wr=Pn.childNodes[Ir]["s-nr"],Or=Hr.every(ui=>!Pn.childNodes[Ir][ui]),Wr&&(Wn.__appendChild?Wn.__appendChild(Wr.cloneNode(!0)):Wn.appendChild(Wr.cloneNode(!0))),Or&&Wn.appendChild(Pn.childNodes[Ir].cloneNode(!0))}return Wn}},Eo=vt=>{vt.__appendChild=vt.appendChild,vt.appendChild=function(Kt){const cn=Kt["s-sn"]=Ge(Kt),Pn=Un(this.childNodes,cn,this.tagName);if(Pn){const Yn=xe(Pn,cn),Wn=Yn[Yn.length-1],Ir=nn(Wn.parentNode,Kt,Wn.nextSibling);return Jt(this),Ir}return this.__appendChild(Kt)}},ji=vt=>{vt.__removeChild=vt.removeChild,vt.removeChild=function(Kt){if(Kt&&typeof Kt["s-sn"]<"u"){const cn=Un(this.childNodes,Kt["s-sn"],this.tagName);if(cn){const Yn=xe(cn,Kt["s-sn"]).find(Wn=>Wn===Kt);if(Yn)return Yn.remove(),void Jt(this)}}return this.__removeChild(Kt)}},bs=vt=>{const Kt=vt.prepend;vt.prepend=function(...cn){cn.forEach(Pn=>{"string"==typeof Pn&&(Pn=this.ownerDocument.createTextNode(Pn));const Yn=Pn["s-sn"]=Ge(Pn),Wn=Un(this.childNodes,Yn,this.tagName);if(Wn){const Ir=document.createTextNode("");Ir["s-nr"]=Pn,Wn["s-cr"].parentNode.__appendChild(Ir),Pn["s-ol"]=Ir;const Or=xe(Wn,Yn)[0];return nn(Or.parentNode,Pn,Or.nextSibling)}return 1===Pn.nodeType&&Pn.getAttribute("slot")&&(Pn.hidden=!0),Kt.call(this,Pn)})}},xo=vt=>{vt.append=function(...Kt){Kt.forEach(cn=>{"string"==typeof cn&&(cn=this.ownerDocument.createTextNode(cn)),this.appendChild(cn)})}},So=vt=>{const Kt=vt.insertAdjacentHTML;vt.insertAdjacentHTML=function(cn,Pn){if("afterbegin"!==cn&&"beforeend"!==cn)return Kt.call(this,cn,Pn);const Yn=this.ownerDocument.createElement("_");let Wn;if(Yn.innerHTML=Pn,"afterbegin"===cn)for(;Wn=Yn.firstChild;)this.prepend(Wn);else if("beforeend"===cn)for(;Wn=Yn.firstChild;)this.append(Wn)}},$s=vt=>{vt.insertAdjacentText=function(Kt,cn){this.insertAdjacentHTML(Kt,cn)}},qo=vt=>{const Kt=vt.insertAdjacentElement;vt.insertAdjacentElement=function(cn,Pn){return"afterbegin"!==cn&&"beforeend"!==cn?Kt.call(this,cn,Pn):"afterbegin"===cn?(this.prepend(Pn),Pn):("beforeend"===cn&&this.append(Pn),Pn)}},cs=vt=>{const Kt=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(vt,"__textContent",Kt),Object.defineProperty(vt,"textContent",{get(){return" "+Ne(this.childNodes).map(Yn=>{var Wn,Ir;const Wr=[];let Or=Yn.nextSibling;for(;Or&&Or["s-sn"]===Yn["s-sn"];)(3===Or.nodeType||1===Or.nodeType)&&Wr.push(null!=(Ir=null==(Wn=Or.textContent)?void 0:Wn.trim())?Ir:""),Or=Or.nextSibling;return Wr.filter(Hr=>""!==Hr).join(" ")}).filter(Yn=>""!==Yn).join(" ")+" "},set(cn){Ne(this.childNodes).forEach(Yn=>{let Wn=Yn.nextSibling;for(;Wn&&Wn["s-sn"]===Yn["s-sn"];){const Ir=Wn;Wn=Wn.nextSibling,Ir.remove()}if(""===Yn["s-sn"]){const Ir=this.ownerDocument.createTextNode(cn);Ir["s-sn"]="",nn(Yn.parentElement,Ir,Yn.nextSibling)}else Yn.remove()})}})},ds=(vt,Kt)=>{class cn extends Array{item(Yn){return this[Yn]}}if(8&Kt.$flags$){const Pn=vt.__lookupGetter__("childNodes");Object.defineProperty(vt,"children",{get(){return this.childNodes.map(Yn=>1===Yn.nodeType)}}),Object.defineProperty(vt,"childElementCount",{get:()=>vt.children.length}),Object.defineProperty(vt,"childNodes",{get(){const Yn=Pn.call(this);if(!(1&fe.$flags$)&&2&h(this).$flags$){const Wn=new cn;for(let Ir=0;Ir<Yn.length;Ir++){const Wr=Yn[Ir]["s-nr"];Wr&&Wn.push(Wr)}return Wn}return cn.from(Yn)}})}},Ne=vt=>{const Kt=[];for(const cn of Array.from(vt))cn["s-sr"]&&Kt.push(cn),Kt.push(...Ne(cn.childNodes));return Kt},Ge=vt=>vt["s-sn"]||1===vt.nodeType&&vt.getAttribute("slot")||"",Un=(vt,Kt,cn)=>{let Yn,Pn=0;for(;Pn<vt.length;Pn++)if(Yn=vt[Pn],Yn["s-sr"]&&Yn["s-sn"]===Kt&&Yn["s-hn"]===cn||(Yn=Un(Yn.childNodes,Kt,cn),Yn))return Yn;return null},xe=(vt,Kt)=>{const cn=[vt];for(;(vt=vt.nextSibling)&&vt["s-sn"]===Kt;)cn.push(vt);return cn},ht=(vt,Kt={})=>{var cn;const Yn=[],Wn=Kt.exclude||[],Ir=ee.customElements,Wr=Y.head,Or=Wr.querySelector("meta[charset]"),Hr=Y.createElement("style"),ui=[],Ci=Y.querySelectorAll(`[${H}]`);let pi,Fi=!0,yo=0;for(Object.assign(fe,Kt),fe.$resourcesUrl$=new URL(Kt.resourcesUrl||"./",Y.baseURI).href,fe.$flags$|=2;yo<Ci.length;yo++)Xr(Ci[yo].getAttribute(H),ln(Ci[yo].innerHTML),!0);let Jo=!1;if(vt.map(xi=>{xi[1].map(as=>{var Ts;const As={$flags$:as[0],$tagName$:as[1],$members$:as[2],$listeners$:as[3]};4&As.$flags$&&(Jo=!0),As.$members$=as[2],As.$listeners$=as[3],As.$attrsToReflect$=[],As.$watchers$=null!=(Ts=as[4])?Ts:{};const No=As.$tagName$,ma=class extends HTMLElement{constructor(us){if(super(us),this.hasRegisteredEventListeners=!1,((vt,Kt)=>{const cn={$flags$:0,$hostElement$:vt,$cmpMeta$:Kt,$instanceValues$:new Map};cn.$onInstancePromise$=new Promise(Pn=>cn.$onInstanceResolve$=Pn),cn.$onReadyPromise$=new Promise(Pn=>cn.$onReadyResolve$=Pn),vt["s-p"]=[],vt["s-rc"]=[],s.set(vt,cn)})(us=this,As),1&As.$flags$)if(us.shadowRoot){if("open"!==us.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${As.$tagName$}! Mode is set to ${us.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else us.attachShadow({mode:"open",delegatesFocus:!!(16&As.$flags$)})}connectedCallback(){const us=h(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ut(this,us,As.$listeners$)),pi&&(clearTimeout(pi),pi=null),Fi?ui.push(this):fe.jmp(()=>(vt=>{if(!(1&fe.$flags$)){const Kt=h(vt),cn=Kt.$cmpMeta$,Pn=()=>{};if(1&Kt.$flags$)Ut(vt,Kt,cn.$listeners$),null!=Kt&&Kt.$lazyInstance$?Ar(Kt.$lazyInstance$):null!=Kt&&Kt.$onReadyPromise$&&Kt.$onReadyPromise$.then(()=>Ar(Kt.$lazyInstance$));else{let Yn;
1if(Kt.$flags$|=1,Yn=vt.getAttribute(z),Yn){if(1&cn.$flags$){const Wn=Rt(vt.shadowRoot,cn,vt.getAttribute("s-mode"));vt.classList.remove(Wn+"-h",Wn+"-s")}((vt,Kt,cn,Pn)=>{const Wn=vt.shadowRoot,Ir=[],Or=Wn?[]:null,Hr=Pn.$vnode$=An(Kt,null);fe.$orgLocNodes$||tr(Y.body,fe.$orgLocNodes$=new Map),vt[z]=cn,vt.removeAttribute(z),ur(Hr,Ir,[],Or,vt,vt,cn),Ir.map(ui=>{const Ci=ui.$hostId$+"."+ui.$nodeId$,pi=fe.$orgLocNodes$.get(Ci),Fi=ui.$elm$;pi&&""===pi["s-en"]&&pi.parentNode.insertBefore(Fi,pi.nextSibling),Wn||(Fi["s-hn"]=Kt,pi&&(Fi["s-ol"]=pi,Fi["s-ol"]["s-nr"]=Fi)),fe.$orgLocNodes$.delete(Ci)}),Wn&&Or.map(ui=>{ui&&Wn.appendChild(ui)})})(vt,cn.$tagName$,Yn,Kt)}Yn||12&cn.$flags$&&Ki(vt);{let Wn=vt;for(;Wn=Wn.parentNode||Wn.host;)if(1===Wn.nodeType&&Wn.hasAttribute("s-id")&&Wn["s-p"]||Wn["s-p"]){xt(Kt,Kt.$ancestorComponent$=Wn);break}}cn.$members$&&Object.entries(cn.$members$).map(([Wn,[Ir]])=>{if(31&Ir&&vt.hasOwnProperty(Wn)){const Wr=vt[Wn];delete vt[Wn],vt[Wn]=Wr}}),oi(vt,Kt,cn)}Pn()}})(this))}disconnectedCallback(){fe.jmp(()=>io(this))}componentOnReady(){return h(this).$onReadyPromise$}};2&As.$flags$&&((vt,Kt)=>{ko(vt),Eo(vt),xo(vt),bs(vt),qo(vt),So(vt),$s(vt),cs(vt),ds(vt,Kt),ji(vt)})(ma.prototype,As),As.$lazyBundleId$=xi[0],!Wn.includes(No)&&!Ir.get(No)&&(Yn.push(No),Ir.define(No,Yr(ma,As,1)))})}),Yn.length>0&&(Jo&&(Hr.textContent+=Z),Hr.textContent+=Yn.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",Hr.innerHTML.length)){Hr.setAttribute("data-styles","");const xi=null!=(cn=fe.$nonce$)?cn:lt(Y);null!=xi&&Hr.setAttribute("nonce",xi),Wr.insertBefore(Hr,Or?Or.nextSibling:Wr.firstChild)}Fi=!1,ui.length?ui.map(xi=>xi.connectedCallback()):fe.jmp(()=>pi=setTimeout(en,30))},Ut=(vt,Kt,cn,Pn)=>{cn&&cn.map(([Yn,Wn,Ir])=>{const Wr=rn(vt,Yn),Or=qe(Kt,Ir),Hr=Dn(Yn);fe.ael(Wr,Wn,Or,Hr),(Kt.$rmListeners$=Kt.$rmListeners$||[]).push(()=>fe.rel(Wr,Wn,Or,Hr))})},qe=(vt,Kt)=>cn=>{var Pn;try{256&vt.$flags$?null==(Pn=vt.$lazyInstance$)||Pn[Kt](cn):(vt.$queuedListeners$=vt.$queuedListeners$||[]).push([Kt,cn])}catch(Yn){y(Yn)}},rn=(vt,Kt)=>4&Kt?Y:8&Kt?ee:16&Kt?Y.body:vt,Dn=vt=>me?{passive:!!(1&vt),capture:!!(2&vt)}:!!(2&vt)},71331:(ge,_,f)=>{"use strict";f.d(_,{b:()=>h,c:()=>u,d:()=>v,e:()=>ce,g:()=>$,l:()=>fe,s:()=>me,t:()=>O,w:()=>ne});var c=f(10467),o=f(64921),C=f(28393),a=f(74929),E=f(84920);const h="ionViewWillLeave",u="ionViewDidLeave",v="ionViewWillUnload",g=X=>
1{X.tabIndex=-1,X.focus()},y=X=>null!==X.offsetParent,b="ion-last-focus",k_saveViewFocus=N=>{if(o.c.get("focusManagerPriority",!1)){const ue=document.activeElement;null!==ue&&null!=N&&N.contains(ue)&&ue.setAttribute(b,"true")}},k_setViewFocus=N=>{const G=o.c.get("focusManagerPriority",!1);if(Array.isArray(G)&&!N.contains(document.activeElement)){const ue=N.querySelector(`[${b}]`);if(ue&&y(ue))return void g(ue);for(const ve of G)switch(ve){case"content":const we=N.querySelector('main, [role="main"]');if(we&&y(we))return void g(we);break;case"heading":const Re=N.querySelector('h1, [role="heading"][aria-level="1"]');if(Re&&y(Re))return void g(Re);break;case"banner":const et=N.querySelector('header, [role="banner"]');if(et&&y(et))return void g(et);break;default:(0,a.p)(`Unrecognized focus manager priority value ${ve}`)}g(N)}},O=X=>new Promise((M,N)=>{(0,C.w)(()=>{V(X),K(X).then(G=>{G.animation&&G.animation.destroy(),z(X),M(G)},G=>{z(X),N(G)})})}),V=X=>{const M=X.enteringEl,N=X.leavingEl;k_saveViewFocus(N),re(M,N,X.direction),X.showGoBack?M.classList.add("can-go-back"):M.classList.remove("can-go-back"),me(M,!1),M.style.setProperty("pointer-events","none"),N&&(me(N,!1),N.style.setProperty("pointer-events","none"))},K=function(){var X=(0,c.A)(function*(M){const N=yield H(M);return N&&C.B.isBrowser?x(N,M):q(M)});return function(N){return X.apply(this,arguments)}}(),z=X=>{const M=X.enteringEl,N=X.leavingEl;M.classList.remove("ion-page-invisible"),M.style.removeProperty("pointer-events"),void 0!==N&&(N.classList.remove("ion-page-invisible"),N.style.removeProperty("pointer-events")),k_setViewFocus(M)},H=function(){var X=(0,c.A)(function*(M){return M.leavingEl&&M.animated&&0!==M.duration?M.animationBuilder?M.animationBuilder:"ios"===M.mode?(yield Promise.resolve().then(f.bind(f,99856))).iosTransitionAnimation:(yield Promise.resolve().then(f.bind(f,50361))).mdTransitionAnimation:void 0});return function(N){return X.apply(this,arguments)}}(),x=function(){var X=(0,c.A)(function*(M,N){yield Z(N,!0);const G=M(N.baseEl,N);Y(N.enteringEl,N.leavingEl);const ue=yield ee(G,N);return N.progressCallback&&N.progressCallback(void 0),ue&&ae(N.enteringEl,N.leavingEl),{hasCompleted:ue,animation:G}});return function(N,G){return X.apply(this,arguments)}}(),q=function(){var X=(0,c.A)(function*(M){const N=M.enteringEl,G=M.leavingEl,ue=o.c.get("focusManagerPriority",!1);return yield Z(M,ue),Y(N,G),ae(N,G),{hasCompleted:!0}});return function(N){return X.apply(this,arguments)}}(),Z=function(){var X=(0,c.A)(function*(M,N){(void 0!==M.deepWait?M.deepWait:N)&&(yield Promise.all([ce(M.enteringEl),ce(M.leavingEl)])),yield de(M.viewIsReady,M.enteringEl)});return function(N,G){return X.apply(this,arguments)}}(),de=function(){var X=(0,c.A)(function*(M,N){M&&(yield M(N))});return function(N,G){return X.apply(this,arguments)}}(),ee=(X,M)=>{const N=M.progressCallback,G=new Promise(ue=>{X.onFinish(ve=>ue(1===ve))});return N?(X.progressStart(!0),N(X)):X.play(),G},Y=(X,M)=>{fe(M,h),fe(X,"ionViewWillEnter")},ae=(X,M)=>{fe(X,"ionViewDidEnter"),fe(M,u)},fe=(X,M)=>{if(X){const N=new CustomEvent(M,{bubbles:!1,cancelable:!1});X.dispatchEvent(N)}},ne=()=>new Promise(X=>(0,E.r)(()=>(0,E.r)(()=>X()))),ce=function(){var X=(0,c.A)(function*(M){const N=M;if(N){if(null!=N.componentOnReady){if(null!=(yield N.componentOnReady()))return}else if(null!=N.__registerHost)return void(yield new Promise(ue=>(0,E.r)(ue)));yield Promise.all(Array.from(N.children).map(ce))}});return function(N){return X.apply(this,arguments)}}(),me=(X,M)=>{M?(X.setAttribute("aria-hidden","true"),X.classList.add("ion-page-hidden")):(X.hidden=!1,X.removeAttribute("aria-hidden"),X.classList.remove("ion-page-hidden"))},re=(X,M,N)=>{void 0!==X&&(X.style.zIndex="back"===N?"99":"101"),void 0!==M&&(M.style.zIndex="100")},$=X=>X.classList.contains("ion-page")?X:X.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||X},74929:(ge,_,f)=>{"use strict";f.d(_,{a:()=>o,b:()=>C,p:()=>c});const c=(a,...E)=>console.warn(`[Ionic Warning]: ${a}`,...E),o=(a,...E)=>console.error(`[Ionic Error]: ${a}`,...E),C=(a,...E)=>console.error(`<${a.tagName.toLowerCase()}> must be used inside ${E.join(" or ")}.`)},28476:(ge,_,f)=>{"use strict";f.d(_,{d:()=>o,w:()=>c});const c=typeof window<"u"?window:void 0,o=typeof document<"u"?document:void 0},64921:(ge,_,f)=>{"use strict";f.d(_,{a:()=>g,b:()=>me,c:()=>C,i:()=>re});var c=f(28393);class o{constructor(){this.m=new Map}reset(X){this.m=new Map(Object.entries(X))}get(X,M){const N=this.m.get(X);return void 0!==N?N:M}getBoolean(X,M=!1){const N=this.m.get(X);
1return void 0===N?M:"string"==typeof N?"true"===N:!!N}getNumber(X,M){const N=parseFloat(this.m.get(X));return isNaN(N)?void 0!==M?M:NaN:N}set(X,M){this.m.set(X,M)}}const C=new o,h="ionic:",u="ionic-persist-config",g=($,X)=>("string"==typeof $&&(X=$,$=void 0),($=>y($))($).includes(X)),y=($=window)=>{if(typeof $>"u")return[];$.Ionic=$.Ionic||{};let X=$.Ionic.platforms;return null==X&&(X=$.Ionic.platforms=p($),X.forEach(M=>$.document.documentElement.classList.add(`plt-${M}`))),X},p=$=>{const X=C.get("platform");return Object.keys(ne).filter(M=>{const N=null==X?void 0:X[M];return"function"==typeof N?N($):ne[M]($)})},R=$=>!!(ae($,/iPad/i)||ae($,/Macintosh/i)&&H($)),O=$=>ae($,/android|sink/i),H=$=>fe($,"(any-pointer:coarse)"),q=$=>Z($)||de($),Z=$=>!!($.cordova||$.phonegap||$.PhoneGap),de=$=>{const X=$.Capacitor;return!(null==X||!X.isNative)},ae=($,X)=>X.test($.navigator.userAgent),fe=($,X)=>{var M;return null===(M=$.matchMedia)||void 0===M?void 0:M.call($,X).matches},ne={ipad:R,iphone:$=>ae($,/iPhone/i),ios:$=>ae($,/iPhone|iPod/i)||R($),android:O,phablet:$=>
1{const X=$.innerWidth,M=$.innerHeight,N=Math.min(X,M),G=Math.max(X,M);return N>390&&N<520&&G>620&&G<800},tablet:$=>{const X=$.innerWidth,M=$.innerHeight,N=Math.min(X,M),G=Math.max(X,M);return R($)||($=>O($)&&!ae($,/mobile/i))($)||N>460&&N<820&&G>780&&G<1400},cordova:Z,capacitor:de,electron:$=>ae($,/electron/i),pwa:$=>{var X;return!!(null!==(X=$.matchMedia)&&void 0!==X&&X.call($,"(display-mode: standalone)").matches||$.navigator.standalone)},mobile:H,mobileweb:$=>H($)&&!q($),desktop:$=>!H($),hybrid:q};let ce;const me=$=>$&&(0,c.g)($)||ce,re=($={})=>{if(typeof window>"u")return;const X=window.document,M=window,N=M.Ionic=M.Ionic||{},G={};$._ael&&(G.ael=$._ael),$._rel&&(G.rel=$._rel),$._ce&&(G.ce=$._ce),(0,c.a)(G);const ue=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},($=>{try{const X=$.sessionStorage.getItem(u);return null!==X?JSON.parse(X):{}}catch{return{}}})(M)),{persistConfig:!1}),N.config),($=>{const X={};return $.location.search.slice(1).split("&").map(M=>M.split("=")).map(([M,N])=>{try{return[decodeURIComponent(M),decodeURIComponent(N)]}catch{return["",""]}}).filter(([M])=>(($,X)=>$.substr(0,X.length)===X)(M,h)).map(([M,N])=>[M.slice(6),N]).forEach(([M,N])=>{X[M]=N}),X})(M)),$);C.reset(ue),C.getBoolean("persistConfig")&&(($,X)=>{try{$.sessionStorage.setItem(u,JSON.stringify(X))}catch{return}})(M,ue),y(M),N.config=C,N.mode=ce=C.get("mode",X.documentElement.getAttribute("mode")||(g(M,"ios")?"ios":"md")),C.set("mode",ce),X.documentElement.setAttribute("mode",ce),X.documentElement.classList.add(ce),C.getBoolean("_testing")&&C.set("animated",!1);const ve=Re=>{var et;return null===(et=Re.tagName)||void 0===et?void 0:et.startsWith("ION-")},we=Re=>["ios","md"].includes(Re);(0,c.c)(Re=>{for(;Re;){const et=Re.mode||Re.getAttribute("mode");if(et){if(we(et))return et;ve(Re)&&console.warn('Invalid ionic mode: "'+et+'", expected: "ios" or "md"')}Re=Re.parentElement}return ce})}},99856:(ge,_,f)=>{"use strict";f.r(_),f.d(_,{iosTransitionAnimation:()=>b,shadow:()=>h});var c=f(19986),o=f(71331);f(28476),f(64921),f(28393);const s=P=>document.querySelector(`${P}.ion-cloned-element`),h=P=>P.shadowRoot||P,u=P=>{const k="ION-TABS"===P.tagName?P:P.querySelector("ion-tabs"),O="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=k){const V=k.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=V?V.querySelector(O):null}return P.querySelector(O)},v=(P,k)=>{const O="ION-TABS"===P.tagName?P:P.querySelector("ion-tabs");let V=[];if(null!=O){const K=O.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=K&&(V=K.querySelectorAll("ion-buttons"))}else V=P.querySelectorAll("ion-buttons");for(const K of V){const z=K.closest("ion-header"),H=z&&!z.classList.contains("header-collapse-condense-inactive"),x=K.querySelector("ion-back-button"),q=K.classList.contains("buttons-collapse");if(null!==x&&("start"===K.slot||""===K.slot)&&(q&&H&&k||!q))return x}return null},y=(P,k,O,V,K,z,H,x,q)=>{var Z,de;const ee=k?`calc(100% - ${K.right+4}px)`:K.left-4+"px",Y=k?"right":"left",ae=k?"left":"right",fe=k?"right":"left";let ne=1,ce=1,me=`scale(${ce})`;const re="scale(1)";if(z&&H){const Mt=(null===(Z=z.textContent)||void 0===Z?void 0:Z.trim())===(null===(de=x.textContent)||void 0===de?void 0:de.trim());ne=q.width/H.width,ce=(q.height-R)/H.height,me=Mt?`scale(${ne}, ${ce})`:`scale(${ce})`}const X=h(V).querySelector("ion-icon").getBoundingClientRect(),M=k?X.width/2-(X.right-K.right)+"px":K.left-X.width/2+"px",N=k?`-${window.innerWidth-K.right}px`:`${K.left}px`,G=`${q.top}px`,ue=`${K.top}px`,Re=O?[{offset:0,transform:`translate3d(${N}, ${ue}, 0)`},{offset:1,transform:`translate3d(${M}, ${G}, 0)`}]:[{offset:0,transform:`translate3d(${M}, ${G}, 0)`},{offset:1,transform:`translate3d(${N}, ${ue}, 0)`}],Pt=O?[{offset:0,opacity:1,transform:re},{offset:1,opacity:0,transform:me}]:[{offset:0,opacity:0,transform:me},{offset:1,opacity:1,transform:re}],qt=O?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}
vendor: 4,366 bytes, line 1
1],St=(0,c.c)(),lt=(0,c.c)(),yt=(0,c.c)(),Ft=s("ion-back-button"),rt=h(Ft).querySelector(".button-text"),mt=h(Ft).querySelector("ion-icon");Ft.text=V.text,Ft.mode=V.mode,Ft.icon=V.icon,Ft.color=V.color,Ft.disabled=V.disabled,Ft.style.setProperty("display","block"),Ft.style.setProperty("position","fixed"),lt.addElement(mt),St.addElement(rt),yt.addElement(Ft),yt.beforeStyles({position:"absolute",top:"0px",[fe]:"0px"}).beforeAddWrite(()=>{V.style.setProperty("display","none"),Ft.style.setProperty(Y,ee)}).afterAddWrite(()=>{V.style.setProperty("display",""),Ft.style.setProperty("display","none"),Ft.style.removeProperty(Y)}).keyframes(Re),St.beforeStyles({"transform-origin":`${Y} top`}).keyframes(Pt),lt.beforeStyles({"transform-origin":`${ae} center`}).keyframes(qt),P.addAnimation([St,lt,yt])},p=(P,k,O,V,K,z,H,x,q)=>{var Z,de;const ee=k?"right":"left",Y=k?`calc(100% - ${K.right}px)`:`${K.left}px`,fe=`${K.top}px`;let ce=k?`-${window.innerWidth-H.right-8}px`:`${H.x+8}px`,me=.5;const re="scale(1)";let $=`scale(${me})`;if(x&&q){ce=k?`-${window.innerWidth-q.right-8}px`:q.x-8+"px";const et=(null===(Z=x.textContent)||void 0===Z?void 0:Z.trim())===(null===(de=V.textContent)||void 0===de?void 0:de.trim());me=q.height/(z.height-R),$=et?`scale(${q.width/z.width}, ${me})`:`scale(${me})`}const N=H.top+H.height/2-K.height*me/2+"px",ve=O?[{offset:0,opacity:0,transform:`translate3d(${ce}, ${N}, 0) ${$}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${fe}, 0) ${re}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${fe}, 0) ${re}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${ce}, ${N}, 0) ${$}`}],we=s("ion-title"),Re=(0,c.c)();we.innerText=V.innerText,we.size=V.size,we.color=V.color,Re.addElement(we),Re.beforeStyles({"transform-origin":`${ee} top`,height:`${K.height}px`,display:"",position:"relative",[ee]:Y}).beforeAddWrite(()=>{V.style.setProperty("opacity","0")}).afterAddWrite(()=>{V.style.setProperty("opacity",""),we.style.setProperty("display","none")}).keyframes(ve),P.addAnimation(Re)},b=(P,k)=>{var O;try{const V="cubic-bezier(0.32,0.72,0,1)",K="opacity",z="transform",H="0%",q="rtl"===P.ownerDocument.dir,Z=q?"-99.5%":"99.5%",de=q?"33%":"-33%",ee=k.enteringEl,Y=k.leavingEl,ae="back"===k.direction,fe=ee.querySelector(":scope > ion-content"),ne=ee.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),ce=ee.querySelectorAll(":scope > ion-header > ion-toolbar"),me=(0,c.c)(),re=(0,c.c)();if(me.addElement(ee).duration((null!==(O=k.duration)&&void 0!==O?O:0)||540).easing(k.easing||V).fill("both").beforeRemoveClass("ion-page-invisible"),Y&&null!=P){const N=(0,c.c)();N.addElement(P),me.addAnimation(N)}if(fe||0!==ce.length||0!==ne.length?(re.addElement(fe),re.addElement(ne)):re.addElement(ee.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),me.addAnimation(re),ae?re.beforeClearStyles([K]).fromTo("transform",`translateX(${de})`,`translateX(${H})`).fromTo(K,.8,1):re.beforeClearStyles([K]).fromTo("transform",`translateX(${Z})`,`translateX(${H})`),fe){const N=h(fe).querySelector(".transition-effect");if(N){const G=N.querySelector(".transition-cover"),ue=N.querySelector(".transition-shadow"),ve=(0,c.c)(),we=(0,c.c)(),Re=(0,c.c)();ve.addElement(N).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),we.addElement(G).beforeClearStyles([K]).fromTo(K,0,.1),Re.addElement(ue).beforeClearStyles([K]).fromTo(K,.03,.7),ve.addAnimation([we,Re]),re.addAnimation([ve])}}const $=ee.querySelector("ion-header.header-collapse-condense"),{forward:X,backward:M}=((P,k,O,V,K)=>{const z=v(V,O),H=u(K),x=u(V),q=v(K,O),Z=null!==z&&null!==H&&!O,de=null!==x&&null!==q&&O;if(Z){const ee=H.getBoundingClientRect(),Y=z.getBoundingClientRect(),ae=h(z).querySelector(".button-text"),fe=null==ae?void 0:ae.getBoundingClientRect(),ce=h(H).querySelector(".toolbar-title").getBoundingClientRect();p(P,k,O,H,ee,ce,Y,ae,fe),y(P,k,O,z,Y,ae,fe,H,ce)}else if(de){const ee=x.getBoundingClientRect(),Y=q.getBoundingClientRect(),ae=h(q).querySelector(".button-text"),fe=null==ae?void 0:ae.getBoundingClientRect(),ce=h(x).querySelector(".toolbar-title").getBoundingClientRect();p(P,k,O,x,ee,ce,Y,ae,fe),y(P,k,O,q,Y,ae,fe,x,ce)}return{forward:Z,backward:de}})(me,q,ae,ee,Y);if(ce.forEach(N=>{const G=(0,c.c)();G.addElement(N),me.addAnimation(G);
1const ue=(0,c.c)();ue.addElement(N.querySelector("ion-title"));const ve=(0,c.c)(),we=Array.from(N.querySelectorAll("ion-buttons,[menuToggle]")),Re=N.closest("ion-header"),et=null==Re?void 0:Re.classList.contains("header-collapse-condense-inactive");let at;at=we.filter(ae?St=>{const lt=St.classList.contains("buttons-collapse");return lt&&!et||!lt}:St=>!St.classList.contains("buttons-collapse")),ve.addElement(at);const Pt=(0,c.c)();Pt.addElement(N.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const At=(0,c.c)();At.addElement(h(N).querySelector(".toolbar-background"));const It=(0,c.c)(),qt=N.querySelector("ion-back-button");if(qt&&It.addElement(qt),G.addAnimation([ue,ve,Pt,At,It]),ve.fromTo(K,.01,1),Pt.fromTo(K,.01,1),ae)et||ue.fromTo("transform",`translateX(${de})`,`translateX(${H})`).fromTo(K,.01,1),Pt.fromTo("transform",`translateX(${de})`,`translateX(${H})`),It.fromTo(K,.01,1);else if($||ue.fromTo("transform",`translateX(${Z})`,`translateX(${H})`).fromTo(K,.01,1),Pt.fromTo("transform",`translateX(${Z})`,`translateX(${H})`),At.beforeClearStyles([K,"transform"]),(null==Re?void 0:Re.translucent)?At.fromTo("transform",q?"translateX(-100%)":"translateX(100%)","translateX(0px)"):At.fromTo(K,.01,"var(--opacity)"),X||It.fromTo(K,.01,1),qt&&!X){const lt=(0,c.c)();lt.addElement(h(qt).querySelector(".button-text")).fromTo("transform",q?"translateX(-100px)":"translateX(100px)","translateX(0px)"),G.addAnimation(lt)}}),Y){const N=(0,c.c)(),G=Y.querySelector(":scope > ion-content"),ue=Y.querySelectorAll(":scope > ion-header > ion-toolbar"),ve=Y.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(G||0!==ue.length||0!==ve.length?(N.addElement(G),N.addElement(ve)):N.addElement(Y.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),me.addAnimation(N),ae){N.beforeClearStyles([K]).fromTo("transform",`translateX(${H})`,q?"translateX(-100%)":"translateX(100%)");const we=(0,o.g)(Y);me.afterAddWrite(()=>{"normal"===me.getDirection()&&we.style.setProperty("display","none")})}else N.fromTo("transform",`translateX(${H})`,`translateX(${de})`).fromTo(K,1,.8);if(G){const we=h(G).querySelector(".transition-effect");if(we){const Re=we.querySelector(".transition-cover"),et=we.querySelector(".transition-shadow"),at=(0,c.c)(),Pt=(0,c.c)(),At=(0,c.c)();at.addElement(we).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),Pt.addElement(Re).beforeClearStyles([K]).fromTo(K,.1,0),At.addElement(et).beforeClearStyles([K]).fromTo(K,.7,.03),at.addAnimation([Pt,At]),N.addAnimation([at])}}ue.forEach(we=>{const Re=(0,c.c)();Re.addElement(we);const et=(0,c.c)();et.addElement(we.querySelector("ion-title"));const at=(0,c.c)(),Pt=we.querySelectorAll("ion-buttons,[menuToggle]"),At=we.closest("ion-header"),It=null==At?void 0:At.classList.contains("header-collapse-condense-inactive"),qt=Array.from(Pt).filter(mt=>{const Mt=mt.classList.contains("buttons-collapse");return Mt&&!It||!Mt});at.addElement(qt);const St=(0,c.c)(),lt=we.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");lt.length>0&&St.addElement(lt);const yt=(0,c.c)();yt.addElement(h(we).querySelector(".toolbar-background"));
1const Ft=(0,c.c)(),rt=we.querySelector("ion-back-button");if(rt&&Ft.addElement(rt),Re.addAnimation([et,at,St,Ft,yt]),me.addAnimation(Re),Ft.fromTo(K,.99,0),at.fromTo(K,.99,0),St.fromTo(K,.99,0),ae){if(It||et.fromTo("transform",`translateX(${H})`,q?"translateX(-100%)":"translateX(100%)").fromTo(K,.99,0),St.fromTo("transform",`translateX(${H})`,q?"translateX(-100%)":"translateX(100%)"),yt.beforeClearStyles([K,"transform"]),(null==At?void 0:At.translucent)?yt.fromTo("transform","translateX(0px)",q?"translateX(-100%)":"translateX(100%)"):yt.fromTo(K,"var(--opacity)",0),rt&&!M){const Mt=(0,c.c)();Mt.addElement(h(rt).querySelector(".button-text")).fromTo("transform",`translateX(${H})`,`translateX(${(q?-124:124)+"px"})`),Re.addAnimation(Mt)}}else It||et.fromTo("transform",`translateX(${H})`,`translateX(${de})`).fromTo(K,.99,0).afterClearStyles([z,K]),St.fromTo("transform",`translateX(${H})`,`translateX(${de})`).afterClearStyles([z,K]),Ft.afterClearStyles([K]),et.afterClearStyles([K]),at.afterClearStyles([K])})}return me}catch(V){throw V}},R=10},50361:(ge,_,f)=>{"use strict";f.r(_),f.d(_,{mdTransitionAnimation:()=>T});var c=f(19986),o=f(71331);f(28476),f(64921),f(28393);const T=(s,h)=>{var u,v,g;const y="40px",b="back"===h.direction,P=h.leavingEl,k=(0,o.g)(h.enteringEl),O=k.querySelector("ion-toolbar"),V=(0,c.c)();if(V.addElement(k).fill("both").beforeRemoveClass("ion-page-invisible"),b?V.duration((null!==(u=h.duration)&&void 0!==u?u:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):V.duration((null!==(v=h.duration)&&void 0!==v?v:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${y})`,"translateY(0px)").fromTo("opacity",.01,1),O){const K=(0,c.c)();K.addElement(O),V.addAnimation(K)}if(P&&b){V.duration((null!==(g=h.duration)&&void 0!==g?g:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const K=(0,c.c)();K.addElement((0,o.g)(P)).onFinish(z=>{1===z&&K.elements.length>0&&K.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${y})`).fromTo("opacity",1,0),V.addAnimation(K)}return V}},21070:(ge,_,f)=>{"use strict";f.d(_,{B:()=>Pt,F:()=>Ft,G:()=>At,O:()=>It,a:()=>k,b:()=>O,c:()=>H,d:()=>qt,e:()=>St,f:()=>X,g:()=>N,h:()=>ve,i:()=>Re,j:()=>q,k:()=>Z,l:()=>V,m:()=>K,n:()=>v,o:()=>re,p:()=>z,q:()=>g,s:()=>at,t:()=>x});var c=f(10467),o=f(28476),C=f(84920),a=f(28669),E=f(64921),T=f(58621),s=f(11970),h=f(74929);const u='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',v=(rt,mt)=>{const Mt=rt.querySelector(u);y(Mt,null!=mt?mt:rt)},g=(rt,mt)=>{const Mt=Array.from(rt.querySelectorAll(u));y(Mt.length>0?Mt[Mt.length-1]:null,null!=mt?mt:rt)},y=(rt,mt)=>{let Mt=rt;const Vt=null==rt?void 0:rt.shadowRoot;Vt&&(Mt=Vt.querySelector(u)||rt),Mt?(0,C.f)(Mt):mt.focus()};let p=0,b=0;const R=new WeakMap,P=rt=>({create:mt=>de(rt,mt),dismiss:(mt,Mt,Vt)=>ne(document,mt,Mt,rt,Vt),getTop:()=>(0,c.A)(function*(){return re(document,rt)})()}),k=P("ion-alert"),O=P("ion-action-sheet"),V=P("ion-loading"),K=P("ion-modal"),z=P("ion-picker-legacy"),H=P("ion-popover"),x=P("ion-toast"),q=rt=>{typeof document<"u"&&fe(document);const mt=p++;rt.overlayIndex=mt},Z=rt=>(rt.hasAttribute("id")||(rt.id="ion-overlay-"+ ++b),rt.id),de=(rt,mt)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(rt).then(()=>{const Mt=document.createElement(rt);return Mt.classList.add("overlay-hidden"),Object.assign(Mt,Object.assign(Object.assign({},mt),{hasController:!0})),G(document).appendChild(Mt),new Promise(Vt=>(0,C.c)(Mt,Vt))}):Promise.resolve(),Y=(rt,mt)=>{let Mt=rt;const Vt=null==rt?void 0:rt.shadowRoot;Vt&&(Mt=Vt.querySelector(u)||rt),Mt?(0,C.f)(Mt):mt.focus()},fe=rt=>{0===p&&(p=1,rt.addEventListener("focus",mt=>{((rt,mt)=>{const Mt=re(mt,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),Vt=rt.target;Mt&&Vt&&!Mt.classList.contains(Ft)&&(Mt.shadowRoot?(()=>{if(Mt.contains(Vt))Mt.lastFocus=Vt;else if("ION-TOAST"===Vt.tagName)Y(Mt.lastFocus,Mt);else{const Tn=Mt.lastFocus;v(Mt),Tn===mt.activeElement&&g(Mt),Mt.lastFocus=mt.activeElement}})():(()=>
1{if(Mt===Vt)Mt.lastFocus=void 0;else if("ION-TOAST"===Vt.tagName)Y(Mt.lastFocus,Mt);else{const Tn=(0,C.g)(Mt);if(!Tn.contains(Vt))return;const An=Tn.querySelector(".ion-overlay-wrapper");if(!An)return;if(An.contains(Vt)||Vt===Tn.querySelector("ion-backdrop"))Mt.lastFocus=Vt;else{const jn=Mt.lastFocus;v(An,Mt),jn===mt.activeElement&&g(An,Mt),Mt.lastFocus=mt.activeElement}}})())})(mt,rt)},!0),rt.addEventListener("ionBackButton",mt=>{const Mt=re(rt);null!=Mt&&Mt.backdropDismiss&&mt.detail.register(a.OVERLAY_BACK_BUTTON_PRIORITY,()=>{Mt.dismiss(void 0,Pt)})}),(0,a.shouldUseCloseWatcher)()||rt.addEventListener("keydown",mt=>{if("Escape"===mt.key){const Mt=re(rt);null!=Mt&&Mt.backdropDismiss&&Mt.dismiss(void 0,Pt)}}))},ne=(rt,mt,Mt,Vt,Lt)=>{const $n=re(rt,Vt,Lt);return $n?$n.dismiss(mt,Mt):Promise.reject("overlay does not exist")},me=(rt,mt)=>((rt,mt)=>(void 0===mt&&(mt="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(rt.querySelectorAll(mt)).filter(Mt=>Mt.overlayIndex>0)))(rt,mt).filter(Mt=>!(rt=>rt.classList.contains("overlay-hidden"))(Mt)),re=(rt,mt,Mt)=>{const Vt=me(rt,mt);return void 0===Mt?Vt[Vt.length-1]:Vt.find(Lt=>Lt.id===Mt)},$=(rt=!1)=>{const Mt=G(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");Mt&&(rt?Mt.setAttribute("aria-hidden","true"):Mt.removeAttribute("aria-hidden"))},X=function(){var rt=(0,c.A)(function*(mt,Mt,Vt,Lt,$n){var Tn,An;if(mt.presented)return;$(!0),document.body.classList.add(s.B),lt(mt.el),mt.presented=!0,mt.willPresent.emit(),null===(Tn=mt.willPresentShorthand)||void 0===Tn||Tn.emit();const jn=(0,E.b)(mt),or=mt.enterAnimation?mt.enterAnimation:E.c.get(Mt,"ios"===jn?Vt:Lt);(yield ue(mt,or,mt.el,$n))&&(mt.didPresent.emit(),null===(An=mt.didPresentShorthand)||void 0===An||An.emit()),"ION-TOAST"!==mt.el.tagName&&M(mt.el),mt.keyboardClose&&(null===document.activeElement||!mt.el.contains(document.activeElement))&&mt.el.focus(),mt.el.removeAttribute("aria-hidden")});return function(Mt,Vt,Lt,$n,Tn){return rt.apply(this,arguments)}}(),M=function(){var rt=(0,c.A)(function*(mt){let Mt=document.activeElement;if(!Mt)return;const Vt=null==Mt?void 0:Mt.shadowRoot;Vt&&(Mt=Vt.querySelector(u)||Mt),yield mt.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&Mt.focus()});return function(Mt){return rt.apply(this,arguments)}}(),N=function(){var rt=(0,c.A)(function*(mt,Mt,Vt,Lt,$n,Tn,An){var jn,or;if(!mt.presented)return!1;void 0!==o.d&&1===me(o.d).length&&($(!1),document.body.classList.remove(s.B)),mt.presented=!1;try{mt.el.style.setProperty("pointer-events","none"),mt.willDismiss.emit({data:Mt,role:Vt}),null===(jn=mt.willDismissShorthand)||void 0===jn||jn.emit({data:Mt,role:Vt});const Fr=(0,E.b)(mt),On=mt.leaveAnimation?mt.leaveAnimation:E.c.get(Lt,"ios"===Fr?$n:Tn);Vt!==At&&(yield ue(mt,On,mt.el,An)),mt.didDismiss.emit({data:Mt,role:Vt}),null===(or=mt.didDismissShorthand)||void 0===or||or.emit({data:Mt,role:Vt}),(R.get(mt)||[]).forEach(ur=>ur.destroy()),R.delete(mt),mt.el.classList.add("overlay-hidden"),mt.el.style.removeProperty("pointer-events"),void 0!==mt.el.lastFocus&&(mt.el.lastFocus=void 0)}catch(Fr){console.error(Fr)}return mt.el.remove(),yt(),!0});return function(Mt,Vt,Lt,$n,Tn,An,jn){return rt.apply(this,arguments)}}(),G=rt=>rt.querySelector("ion-app")||rt.body,ue=function(){var rt=(0,c.A)(function*(mt,Mt,Vt,Lt){Vt.classList.remove("overlay-hidden");const Tn=Mt(mt.el,Lt);(!mt.animated||!E.c.getBoolean("animated",!0))&&Tn.duration(0),mt.keyboardClose&&Tn.beforeAddWrite(()=>{const jn=Vt.ownerDocument.activeElement;null!=jn&&jn.matches("input,ion-input, ion-textarea")&&jn.blur()});const An=R.get(mt)||[];return R.set(mt,[...An,Tn]),yield Tn.play(),!0});return function(Mt,Vt,Lt,$n){return rt.apply(this,arguments)}}(),ve=(rt,mt)=>{let Mt;const Vt=new Promise(Lt=>Mt=Lt);return we(rt,mt,Lt=>{Mt(Lt.detail)}),Vt},we=(rt,mt,Mt)=>{const Vt=Lt=>{(0,C.b)(rt,mt,Vt),Mt(Lt)};(0,C.a)(rt,mt,Vt)},Re=rt=>"cancel"===rt||rt===Pt,et=rt=>rt(),at=(rt,mt)=>{if("function"==typeof rt)return E.c.get("_zoneGate",et)(()=>{try{return rt(mt)}catch(Vt){throw Vt}})},Pt="backdrop",At="gesture",It=39,qt=rt=>{let Mt,mt=!1;const Vt=(0,T.C)(),Lt=(An=!1)=>
1{if(Mt&&!An)return{delegate:Mt,inline:mt};const{el:jn,hasController:or,delegate:br}=rt;return mt=null!==jn.parentNode&&!or,Mt=mt?br||Vt:br,{inline:mt,delegate:Mt}};return{attachViewToDom:function(){var An=(0,c.A)(function*(jn){const{delegate:or}=Lt(!0);if(or)return yield or.attachViewToDom(rt.el,jn);const{hasController:br}=rt;if(br&&void 0!==jn)throw new Error("framework delegate is missing");return null});return function(or){return An.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:An}=Lt();An&&void 0!==rt.el&&An.removeViewFromDom(rt.el.parentElement,rt.el)}}},St=()=>{let rt;const mt=()=>{rt&&(rt(),rt=void 0)};return{addClickListener:(Vt,Lt)=>{mt();const $n=void 0!==Lt?document.getElementById(Lt):null;$n?rt=((An,jn)=>{const or=()=>{jn.present()};return An.addEventListener("click",or),()=>{An.removeEventListener("click",or)}})($n,Vt):(0,h.p)(`A trigger element with the ID "${Lt}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,Vt)},removeClickListener:mt}},lt=rt=>{var mt;if(void 0===o.d)return;const Mt=me(o.d);for(let Vt=Mt.length-1;Vt>=0;Vt--){const Lt=Mt[Vt],$n=null!==(mt=Mt[Vt+1])&&void 0!==mt?mt:rt;($n.hasAttribute("aria-hidden")||"ION-TOAST"!==$n.tagName)&&Lt.setAttribute("aria-hidden","true")}},yt=()=>{if(void 0===o.d)return;const rt=me(o.d);for(let mt=rt.length-1;mt>=0;mt--){const Mt=rt[mt];if(Mt.removeAttribute("aria-hidden"),"ION-TOAST"!==Mt.tagName)break}},Ft="ion-disable-focus-trap"},31288:(ge,_,f)=>{"use strict";f.d(_,{H:()=>O,b:()=>$n,c:()=>H,f:()=>qt,g:()=>z,h:()=>P,p:()=>$r,r:()=>sr});var c=f(10467);let C,a,E=!1,T=!1;const v={},b=tn=>"object"==(tn=typeof tn)||"function"===tn;function R(tn){var bn,Cn,Kn;return null!==(Kn=null===(Cn=null===(bn=tn.head)||void 0===bn?void 0:bn.querySelector('meta[name="csp-nonce"]'))||void 0===Cn?void 0:Cn.getAttribute("content"))&&void 0!==Kn?Kn:void 0}const P=(tn,bn,...Cn)=>{let Kn=null,Xn=!1,nr=!1;const fn=[],fr=ar=>{for(let ni=0;ni<ar.length;ni++)Kn=ar[ni],Array.isArray(Kn)?fr(Kn):null!=Kn&&"boolean"!=typeof Kn&&((Xn="function"!=typeof tn&&!b(Kn))&&(Kn=String(Kn)),Xn&&nr?fn[fn.length-1].$text$+=Kn:fn.push(Xn?k(null,Kn):Kn),nr=Xn)};if(fr(Cn),bn){const ar=bn.className||bn.class;ar&&(bn.class="object"!=typeof ar?ar:Object.keys(ar).filter(ni=>ar[ni]).join(" "))}const lr=k(tn,null);return lr.$attrs$=bn,fn.length>0&&(lr.$children$=fn),lr},k=(tn,bn)=>({$flags$:0,$tag$:tn,$text$:bn,$elm$:null,$children$:null,$attrs$:null}),O={},z=tn=>On(tn).$hostElement$,H=(tn,bn,Cn)=>{const Kn=z(tn);return{emit:Xn=>x(Kn,bn,{bubbles:!!(4&Cn),composed:!!(2&Cn),cancelable:!!(1&Cn),detail:Xn})}},x=(tn,bn,Cn)=>{const Kn=Nr.ce(bn,Cn);return tn.dispatchEvent(Kn),Kn},q=new WeakMap,Y=(tn,bn)=>"sc-"+tn.$tagName$,ae=(tn,bn,Cn,Kn,Xn,nr)=>{if(Cn!==Kn){let fn=tr(tn,bn),fr=bn.toLowerCase();if("class"===bn){const lr=tn.classList,ar=ne(Cn),ni=ne(Kn);lr.remove(...ar.filter(vi=>vi&&!ni.includes(vi))),lr.add(...ni.filter(vi=>vi&&!ar.includes(vi)))}else if("style"===bn){for(const lr in Cn)(!Kn||null==Kn[lr])&&(lr.includes("-")?tn.style.removeProperty(lr):tn.style[lr]="");for(const lr in Kn)(!Cn||Kn[lr]!==Cn[lr])&&(lr.includes("-")?tn.style.setProperty(lr,Kn[lr]):tn.style[lr]=Kn[lr])}else if("ref"===bn)Kn&&Kn(tn);else if(fn||"o"!==bn[0]||"n"!==bn[1]){const lr=b(Kn);if((fn||lr&&null!==Kn)&&!Xn)try{if(tn.tagName.includes("-"))tn[bn]=Kn;else{const ar=null==Kn?"":Kn;"list"===bn?fn=!1:(null==Cn||tn[bn]!=ar)&&(tn[bn]=ar)}}catch{}null==Kn||!1===Kn?(!1!==Kn||""===tn.getAttribute(bn))&&tn.removeAttribute(bn):(!fn||4&nr||Xn)&&!lr&&tn.setAttribute(bn,Kn=!0===Kn?"":Kn)}else bn="-"===bn[2]?bn.slice(3):tr(_r,fr)?fr.slice(2):fr[2]+bn.slice(3),Cn&&Nr.rel(tn,bn,Cn,!1),Kn&&Nr.ael(tn,bn,Kn,!1)}},fe=/\s/,ne=tn=>tn?tn.split(fe):[],ce=(tn,bn,Cn,Kn)=>{const Xn=11===bn.$elm$.nodeType&&bn.$elm$.host?bn.$elm$.host:bn.$elm$,nr=tn&&tn.$attrs$||v,fn=bn.$attrs$||v;for(Kn in nr)Kn in fn||ae(Xn,Kn,nr[Kn],void 0,Cn,bn.$flags$);for(Kn in fn)ae(Xn,Kn,nr[Kn],fn[Kn],Cn,bn.$flags$)},me=(tn,bn,Cn,Kn)=>{const Xn=bn.$children$[Cn];let fn,fr,nr=0;if(null!==Xn.$text$)fn=Xn.$elm$=hr.createTextNode(Xn.$text$);else{if(E||(E="svg"===Xn.$tag$),fn=Xn.$elm$=hr.createElementNS(E?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",Xn.$tag$),E&&"foreignObject"===Xn.$tag$&&(E=!1),ce(null,Xn,E),(tn=>null!=tn)(C)&&fn["s-si"]!==C&&fn.classList.add(fn["s-si"]=C),Xn.$children$)for(nr=0;nr<Xn.$children$.length;++nr)fr=me(tn,Xn,nr),fr&&fn.appendChild(fr);
1"svg"===Xn.$tag$?E=!1:"foreignObject"===fn.tagName&&(E=!0)}return fn},re=(tn,bn,Cn,Kn,Xn,nr)=>{let fr,fn=tn;for(fn.shadowRoot&&fn.tagName===a&&(fn=fn.shadowRoot);Xn<=nr;++Xn)Kn[Xn]&&(fr=me(null,Cn,Xn),fr&&(Kn[Xn].$elm$=fr,fn.insertBefore(fr,bn)))},$=(tn,bn,Cn)=>{for(let Kn=bn;Kn<=Cn;++Kn){const Xn=tn[Kn];if(Xn){const nr=Xn.$elm$;G(Xn),nr&&nr.remove()}}},M=(tn,bn)=>tn.$tag$===bn.$tag$,N=(tn,bn)=>{const Cn=bn.$elm$=tn.$elm$,Kn=tn.$children$,Xn=bn.$children$,nr=bn.$tag$,fn=bn.$text$;null===fn?(E="svg"===nr||"foreignObject"!==nr&&E,ce(tn,bn,E),null!==Kn&&null!==Xn?((tn,bn,Cn,Kn)=>{let no,Xn=0,nr=0,fn=bn.length-1,fr=bn[0],lr=bn[fn],ar=Kn.length-1,ni=Kn[0],vi=Kn[ar];for(;Xn<=fn&&nr<=ar;)null==fr?fr=bn[++Xn]:null==lr?lr=bn[--fn]:null==ni?ni=Kn[++nr]:null==vi?vi=Kn[--ar]:M(fr,ni)?(N(fr,ni),fr=bn[++Xn],ni=Kn[++nr]):M(lr,vi)?(N(lr,vi),lr=bn[--fn],vi=Kn[--ar]):M(fr,vi)?(N(fr,vi),tn.insertBefore(fr.$elm$,lr.$elm$.nextSibling),fr=bn[++Xn],vi=Kn[--ar]):M(lr,ni)?(N(lr,ni),tn.insertBefore(lr.$elm$,fr.$elm$),lr=bn[--fn],ni=Kn[++nr]):(no=me(bn&&bn[nr],Cn,nr),ni=Kn[++nr],no&&fr.$elm$.parentNode.insertBefore(no,fr.$elm$));Xn>fn?re(tn,null==Kn[ar+1]?null:Kn[ar+1].$elm$,Cn,Kn,nr,ar):nr>ar&&$(bn,Xn,fn)})(Cn,Kn,bn,Xn):null!==Xn?(null!==tn.$text$&&(Cn.textContent=""),re(Cn,null,bn,Xn,0,Xn.length-1)):null!==Kn&&$(Kn,0,Kn.length-1),E&&"svg"===nr&&(E=!1)):tn.$text$!==fn&&(Cn.data=fn)},G=tn=>{tn.$attrs$&&tn.$attrs$.ref&&tn.$attrs$.ref(null),tn.$children$&&tn.$children$.map(G)},ve=(tn,bn)=>{bn&&!tn.$onRenderResolve$&&bn["s-p"]&&bn["s-p"].push(new Promise(Cn=>tn.$onRenderResolve$=Cn))},we=(tn,bn)=>{if(tn.$flags$|=16,!(4&tn.$flags$))return ve(tn,tn.$ancestorComponent$),En(()=>Re(tn,bn));tn.$flags$|=512},Re=(tn,bn)=>{const Kn=tn.$lazyInstance$;return bn&&(tn.$flags$|=256,tn.$queuedListeners$&&(tn.$queuedListeners$.map(([nr,fn])=>lt(Kn,nr,fn)),tn.$queuedListeners$=void 0)),et(void 0,()=>Pt(tn,Kn,bn))},et=(tn,bn)=>at(tn)?tn.then(bn):bn(),at=tn=>tn instanceof Promise||tn&&tn.then&&"function"==typeof tn.then,Pt=function(){var tn=(0,c.A)(function*(bn,Cn,Kn){var Xn;const nr=bn.$hostElement$,fr=nr["s-rc"];Kn&&(tn=>{const bn=tn.$cmpMeta$,Cn=tn.$hostElement$,Kn=bn.$flags$,nr=((tn,bn,Cn,Kn)=>{var Xn;let nr=Y(bn);const fn=qr.get(nr);if(tn=11===tn.nodeType?tn:hr,fn)if("string"==typeof fn){let lr,fr=q.get(tn=tn.head||tn);if(fr||q.set(tn,fr=new Set),!fr.has(nr)){{lr=hr.createElement("style"),lr.innerHTML=fn;const ar=null!==(Xn=Nr.$nonce$)&&void 0!==Xn?Xn:R(hr);null!=ar&&lr.setAttribute("nonce",ar),tn.insertBefore(lr,tn.querySelector("link"))}fr&&fr.add(nr)}}else tn.adoptedStyleSheets.includes(fn)||(tn.adoptedStyleSheets=[...tn.adoptedStyleSheets,fn]);return nr})(Cn.shadowRoot?Cn.shadowRoot:Cn.getRootNode(),bn);10&Kn&&(Cn["s-sc"]=nr,Cn.classList.add(nr+"-h"))})(bn);At(bn,Cn),fr&&(fr.map(ar=>ar()),nr["s-rc"]=void 0);{const ar=null!==(Xn=nr["s-p"])&&void 0!==Xn?Xn:[],ni=()=>It(bn);0===ar.length?ni():(Promise.all(ar).then(ni),bn.$flags$|=4,ar.length=0)}});return function(Cn,Kn,Xn){return tn.apply(this,arguments)}}(),At=(tn,bn,Cn)=>{try{bn=bn.render(),tn.$flags$&=-17,tn.$flags$|=2,((tn,bn)=>{const Cn=tn.$hostElement$,Kn=tn.$vnode$||k(null,null),Xn=(tn=>tn&&tn.$tag$===O)(bn)?bn:P(null,null,bn);a=Cn.tagName,Xn.$tag$=null,Xn.$flags$|=4,tn.$vnode$=Xn,Xn.$elm$=Kn.$elm$=Cn.shadowRoot||Cn,C=Cn["s-sc"],N(Kn,Xn)})(tn,bn)}catch(Kn){Lr(Kn,tn.$hostElement$)}return null},It=tn=>{const Cn=tn.$hostElement$,Xn=tn.$lazyInstance$,nr=tn.$ancestorComponent$;64&tn.$flags$||(tn.$flags$|=64,yt(Cn),lt(Xn,"componentDidLoad"),tn.$onReadyResolve$(Cn),nr||St()),tn.$onInstanceResolve$(Cn),tn.$onRenderResolve$&&(tn.$onRenderResolve$(),tn.$onRenderResolve$=void 0),512&tn.$flags$&&dr(()=>we(tn,!1)),tn.$flags$&=-517},qt=tn=>{{const bn=On(tn),Cn=bn.$hostElement$.isConnected;return Cn&&2==(18&bn.$flags$)&&we(bn,!1),Cn}},St=tn=>{yt(hr.documentElement),dr(()=>x(_r,"appload",{detail:{namespace:"ionicpwaelements"}}))},lt=(tn,bn,Cn)=>{if(tn&&tn[bn])try{return tn[bn](Cn)}catch(Kn){Lr(Kn)}},yt=tn=>tn.classList.add("hydrated"),mt=(tn,bn,Cn)=>{if(bn.$members$){const Kn=Object.entries(bn.$members$),Xn=tn.prototype;if(Kn.map(([nr,[fn]])=>{31&fn||2&Cn&&32&fn?Object.defineProperty(Xn,nr,{get(){return((tn,bn)=>On(this).$instanceValues$.get(bn))(0,nr)},set(fr){((tn,bn,Cn,Kn)=>{const Xn=On(tn),nr=Xn.$instanceValues$.get(bn),fn=Xn.$flags$,fr=Xn.$lazyInstance$;Cn=((tn,bn)=>null==tn||b(tn)?tn:4&bn?"false"!==tn&&(""===tn||!!tn):2&bn?parseFloat(tn):1&bn?String(tn):tn)(Cn,Kn.$members$[bn][0]);const lr=Number.isNaN(nr)&&Number.isNaN(Cn);(!(8&fn)||void 0===nr)&&Cn!==nr&&!lr&&(Xn.$instanceValues$.set(bn,Cn),fr&&2==(18&fn)&&we(Xn,!1))})(this,nr,fr,bn)},configurable:!0,enumerable:!0}):1&Cn&&64&fn&&Object.defineProperty(Xn,nr,{value(...fr){const lr=On(this);return lr.$onInstancePromise$.then(()=>lr.$lazyInstance$[nr](...fr))}})}),1&Cn){const nr=new Map;Xn.attributeChangedCallback=function(fn,fr,lr){Nr.jmp(()=>{const ar=nr.get(fn);if(this.hasOwnProperty(ar))lr=this[ar],delete this[ar];else if(Xn.hasOwnProperty(ar)&&"number"==typeof this[ar]&&this[ar]==lr)return;this[ar]=(null!==lr||"boolean"!=typeof this[ar])&&lr})},tn.observedAttributes=Kn.filter(([fn,fr])=>15&fr[0]).map(([fn,fr])=>{const lr=fr[1]||fn;return nr.set(lr,fn),lr})}}return tn},Mt=function(){var tn=(0,c.A)(function*(bn,Cn,Kn,Xn,nr){if(!(32&Cn.$flags$)){Cn.$flags$|=32;{if((nr=Gr(Kn)).then){const ar=()=>{};nr=yield nr,ar()}nr.isProxied||(mt(nr,Kn,2),nr.isProxied=!0);const lr=()=>{};Cn.$flags$|=8;try{new nr(Cn)}catch(ar){Lr(ar)}Cn.$flags$&=-9,lr()}if(nr.style){let lr=nr.style;const ar=Y(Kn);if(!qr.has(ar)){const ni=()=>{};((tn,bn,Cn)=>{let Kn=qr.get(tn);Xr&&Cn?(Kn=Kn||new CSSStyleSheet,"string"==typeof Kn?Kn=bn:Kn.replaceSync(bn)):Kn=bn,qr.set(tn,Kn)})(ar,lr,!!(1&Kn.$flags$)),ni()}}}const fn=Cn.$ancestorComponent$,fr=()=>we(Cn,!0);fn&&fn["s-rc"]?fn["s-rc"].push(fr):fr()});return function(Cn,Kn,Xn,nr,fn){return tn.apply(this,arguments)}}(),$n=(tn,bn={})=>{var Cn;const Xn=[],nr=bn.exclude||[],fn=_r.customElements,fr=hr.head,lr=fr.querySelector("meta[charset]"),ar=hr.createElement("style"),ni=[];let vi,no=!0;Object.assign(Nr,bn),Nr.$resourcesUrl$=new URL(bn.resourcesUrl||"./",hr.baseURI).href,tn.map($i=>{$i[1].map(Xi=>{const Di={$flags$:Xi[0],$tagName$:Xi[1],$members$:Xi[2],$listeners$:Xi[3]};Di.$members$=Xi[2],Di.$listeners$=Xi[3];const lo=Di.$tagName$,to=class extends HTMLElement{constructor(vo){super(vo),ur(vo=this,Di),1&Di.$flags$&&vo.attachShadow({mode:"open"})}connectedCallback(){vi&&(clearTimeout(vi),vi=null),no?ni.push(this):Nr.jmp(()=>(tn=>{if(!(1&Nr.$flags$)){const bn=On(tn),Cn=bn.$cmpMeta$,Kn=()=>{};if(1&bn.$flags$)Tn(tn,bn,Cn.$listeners$);else{bn.$flags$|=1;{let Xn=tn;for(;Xn=Xn.parentNode||Xn.host;)if(Xn["s-p"]){ve(bn,bn.$ancestorComponent$=Xn);break}}Cn.$members$&&Object.entries(Cn.$members$).map(([Xn,[nr]])=>{if(31&nr&&tn.hasOwnProperty(Xn)){const fn=tn[Xn];delete tn[Xn],tn[Xn]=fn}}),Mt(tn,bn,Cn)}Kn()}})(this))}disconnectedCallback(){Nr.jmp(()=>(tn=>{if(!(1&Nr.$flags$)){const bn=On(this),Cn=bn.$lazyInstance$;bn.$rmListeners$&&(bn.$rmListeners$.map(Kn=>Kn()),bn.$rmListeners$=void 0),lt(Cn,"disconnectedCallback")}})())}componentOnReady(){return On(this).$onReadyPromise$}};Di.$lazyBundleId$=$i[0],!nr.includes(lo)&&!fn.get(lo)&&(Xn.push(lo),fn.define(lo,mt(to,Di,1)))})});{ar.innerHTML=Xn+"{visibility:hidden}.hydrated{visibility:inherit}",ar.setAttribute("data-styles","");const $i=null!==(Cn=Nr.$nonce$)&&void 0!==Cn?Cn:R(hr);null!=$i&&ar.setAttribute("nonce",$i),fr.insertBefore(ar,lr?lr.nextSibling:fr.f
1irstChild)}no=!1,ni.length?ni.map($i=>$i.connectedCallback()):Nr.jmp(()=>vi=setTimeout(St,30))},Tn=(tn,bn,Cn,Kn)=>{Cn&&Cn.map(([Xn,nr,fn])=>{const fr=jn(tn,Xn),lr=An(bn,fn),ar=or(Xn);Nr.ael(fr,nr,lr,ar),(bn.$rmListeners$=bn.$rmListeners$||[]).push(()=>Nr.rel(fr,nr,lr,ar))})},An=(tn,bn)=>Cn=>{try{256&tn.$flags$?tn.$lazyInstance$[bn](Cn):(tn.$queuedListeners$=tn.$queuedListeners$||[]).push([bn,Cn])}catch(Kn){Lr(Kn)}},jn=(tn,bn)=>16&bn?hr.body:tn,or=tn=>!!(2&tn),Fr=new WeakMap,On=tn=>Fr.get(tn),sr=(tn,bn)=>Fr.set(bn.$lazyInstance$=tn,bn),ur=(tn,bn)=>{const Cn={$flags$:0,$hostElement$:tn,$cmpMeta$:bn,$instanceValues$:new Map};return Cn.$onInstancePromise$=new Promise(Kn=>Cn.$onInstanceResolve$=Kn),Cn.$onReadyPromise$=new Promise(Kn=>Cn.$onReadyResolve$=Kn),tn["s-p"]=[],tn["s-rc"]=[],Tn(tn,Cn,bn.$listeners$),Fr.set(tn,Cn)},tr=(tn,bn)=>bn in tn,Lr=(tn,bn)=>(0,console.error)(tn,bn),Br=new Map,Gr=(tn,bn,Cn)=>{const Kn=tn.$tagName$.replace(/-/g,"_"),Xn=tn.$lazyBundleId$,nr=Br.get(Xn);if(nr)return nr[Kn];if(!Cn||!BUILD.hotModuleReplacement){const fn=fr=>(Br.set(Xn,fr),fr[Kn]);switch(Xn){case"pwa-action-sheet":return f.e(6301).then(f.bind(f,6301)).then(fn,Lr);case"pwa-camera-modal":return f.e(2982).then(f.bind(f,22982)).then(fn,Lr);case"pwa-toast":return f.e(3574).then(f.bind(f,63574)).then(fn,Lr);case"pwa-camera-modal-instance":return f.e(5640).then(f.bind(f,85640)).then(fn,Lr);case"pwa-camera":return f.e(6086).then(f.bind(f,26086)).then(fn,Lr)}}return f(95235)(`./${Xn}.entry.js`).then(fn=>(Br.set(Xn,fn),fn[Kn]),Lr)},qr=new Map,_r=typeof window<"u"?window:{},hr=_r.document||{head:{}},Nr={$flags$:0,$resourcesUrl$:"",jmp:tn=>tn(),raf:tn=>requestAnimationFrame(tn),ael:(tn,bn,Cn,Kn)=>tn.addEventListener(bn,Cn,Kn),rel:(tn,bn,Cn,Kn)=>tn.removeEventListener(bn,Cn,Kn),ce:(tn,bn)=>new CustomEvent(tn,bn)},$r=tn=>Promise.resolve(tn),Xr=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Rt=[],zt=[],vn=(tn,bn)=>Cn=>{tn.push(Cn),T||(T=!0,bn&&4&Nr.$flags$?dr(Sn):Nr.raf(Sn))},ln=tn=>{for(let bn=0;bn<tn.length;bn++)try{tn[bn](performance.now())}catch(Cn){Lr(Cn)}tn.length=0},Sn=()=>{ln(Rt),ln(zt),(T=Rt.length>0)&&Nr.raf(Sn)},dr=tn=>$r().then(tn),En=vn(zt,!0)},80369:(ge,_,f)=>{"use strict";f.d(_,{C:()=>a,w:()=>T});var c=f(10467),o=f(40119),C=f.n(o);const a={SecureStorage:"ionicSecureStorage",IndexedDB:C().INDEXEDDB,LocalStorage:C().LOCALSTORAGE},E={name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:[a.SecureStorage,a.IndexedDB,a.LocalStorage]};class T{constructor(h=E){this._db=null,this._secureStorageDriver=null;const u=Object.assign({},E,h||{});this._config=u}create(){var h=this;return(0,c.A)(function*(){const u=C().createInstance(h._config);return h._db=u,yield u.setDriver(h._config.driverOrder||[]),h})()}defineDriver(h){var u=this;return(0,c.A)(function*(){return h._driver===a.SecureStorage&&(u._secureStorageDriver=h),C().defineDriver(h)})()}get driver(){var h;return(null===(h=this._db)||void 0===h?void 0:h.driver())||null}assertDb(){if(!this._db)throw new Error("Database not created. Must call create() first");return this._db}get(h){return this.assertDb().getItem(h)}set(h,u){return this.assertDb().setItem(h,u)}remove(h){return this.assertDb().removeItem(h)}clear(){return this.assertDb().clear()}length(){return this.assertDb().length()}keys(){return this.assertDb().keys()}forEach(h){return this.assertDb().iterate(h)}setEncryptionKey(h){var u;if(!this._secureStorageDriver)throw new Error("@ionic-enterprise/secure-storage not installed. Encryption support not available");null===(u=this._secureStorageDriver)||void 0===u||u.setEncryptionKey(h)}}},95690:(ge,_,f)=>{"use strict";f.d(_,{U:()=>ee});var c=f(10467),o=f(54438),C=f(61594),a=f(67376),E=function(Y){return Y[Y.SIPCALL_NULL=0]="SIPCALL_NULL",Y[Y.SIPCALL_IDLE=1]="SIPCALL_IDLE",Y[Y.SIPCALL_CALLING=2]="SIPCALL_CALLING",Y[Y.SIPCALL_RING=3]="SIPCALL_RING",Y[Y.SIPCALL_ORIGATE=4]="SIPCALL_ORIGATE",Y[Y.SIPCALL_CONNECTED=5]="SIPCALL_CONNECTED",Y[Y.SIPCALL_MUTE=6]="SIPCALL_MUTE",Y[Y.SIPCALL_HOLD=7]="SIPCALL_HOLD",Y[Y.SIPCALL_CONSULTRING=8]="SIPCALL_CONSULTRING",Y[Y.SIPCALL_CONSULT=9]="SIPCALL_CONSULT",Y[Y.SIPCALL_CONFERENCE=10]="SIPCALL_CONFERENCE",Y[Y.SIPCALL_END=11]="SIPCALL_END",Y[Y.SIPCALL_UNHOLD=12]="SIPCALL_UNHOLD",Y[Y.SIPCALL_UNMUTE=13]="SIPCALL_UNMUTE",Y}(E||{}),s=f(69465),h=f(60177),u=f(76066);const p=(0,f(15083).F3)("AiwowCap",{web:()=>f.e(1971).then(f.bind(f,11971)).then(Y=>new Y.AiwowCapWeb)});var b=f(24042),R=f(49344),P=f(55544),k=f(68093);const O=["localAudio"],V=["remoteAudio"];function K(Y,ae){1&Y&&o.nrm(0,"img",21)}function z(Y,ae){1&Y&&o.nrm(0,"img",22)}function H(Y,ae){1&Y&&o.nrm(0,"img",23)}function x(Y,ae){1&Y&&o.nrm(0,"img",24)}function q(Y,ae){1&Y&&o.nrm(0,"img",25)}function Z(Y,ae){1&Y&&o.nrm(0,"img",26)}function de(Y,ae){if(1&Y){const fe=o.RV6();o.j41(0,"div",3)(1,"div",4)(2,"div",5),o.nrm(3,"avatar-p",6),o.k0s(),o.j41(4,"div",7),o.EFF(5),o.k0s(),o.j41(6,"div",8),o.EFF(7),o.k0s(),o.j41(8,"div",9),o.DNE(9,K,1,0,"img",10),o.k0s(),o.j41(10,"div",7),o.EFF(11),o.k0s(),o.j41(12,"div",11),o.bIt("click",function(){o.eBV(fe);const ce=o.XpG();return o.Njj(ce.hangUp())}),o.nrm(13,"img",12),o.k0s()(),o.j41(14,"div",13)(15,"div",14),o.bIt("click",function(){o.eBV(fe);const ce=o.XpG();return o.Njj(ce.isMuted?ce.unMute():ce.mute())}),o.DNE(16,z,1,0,"img",15)(17,H,1,0,"img",16),o.k0s(),o.j41(18,"div",17),o.bIt("click",function(){o.eBV(fe);const ce=o.XpG();return o.Njj(ce.voiceClick())}),o.DNE(19,x,1,0,"img",18)(20,q,1,0,"img",19)(21,Z,1,0,"img",20),o.k0s()(),o.nrm(22,"audio",null,0)(24,"audio",null,1),o.k0s()}if(2&Y){const fe=o.XpG();o.R7$(3),o.Y8G("ceText",fe.showName)("ceSize",120)("ceSrc",fe.showImg),o.R7$(2),o.SpI(" ",fe.showName," "),o.R7$(2),o.JRh(fe.times),o.R7$(2),o.Y8G("ngIf",fe.showWait),o.R7$(2),o.JRh(fe.callState),o.R7$(5),o.Y8G("ngIf",!fe.isMuted),o.R7$(),o.Y8G("ngIf",fe.isMuted),o.R7$(2),o.Y8G("ngIf","phone"===fe._voiceType),o.R7$(),o.Y8G("ngIf","mute"===fe._voiceType),o.R7$(),o.Y8G("ngIf","out"===fe._voiceType)}}let ee=(()=>{var Y;class ae{constructor(ne,ce,me,re,$,X){var M=this;this._cdr=ne,this.route=ce,this.log=me,this._modal=re,this.actionSheetCtrl=$,this.commonService=X,this.serverIp="aile-sipx.qbicloud.com",this.serverPort=5049,this.dn="SIPCall",this.pass="77066188",this.show=!0,this.onConnected=new o.bkB,this.onLoginSuccess=new o.bkB,this.onLogoutSuccess=new o.bkB,this.onLoginFailure=new o.bkB,this.onError=ne
1w o.bkB,this.onCallEvent=new o.bkB,this.times="",this.DialNum="Aile",this.callSence=E.SIPCALL_NULL,this._showName="",this._showPic="",this.audio=new Audio,this.showList=!1,this.localAudio=new Audio,this.remoteAudio=new Audio,this.showLocalAudio=!1,this.showRemoteAudio=!1,this.constraints={audio:!0,video:!1},this.prePhoneNo="",this.captureLocalMedia=(0,c.A)(function*(){M.log.debug("Requesting local video & audio");const N=yield navigator.mediaDevices.getUserMedia(M.constraints);M.gotLocalMedia(N)}),this.getConnectedDevices=function(){var N=(0,c.A)(function*(G){const ue=yield navigator.mediaDevices.enumerateDevices();return"audioinput"===G?M.inputDeviceList=ue.filter(ve=>ve.kind===G):"audiooutput"===G?M.outputDeviceList=ue.filter(ve=>ve.kind===G):void 0});return function(G){return N.apply(this,arguments)}}(),this.eventHandlers={progress:N=>{var G;this.log.debug("%cCall is in progress","color:black;background-color:yellow",N),null!=this.call&&("incoming"==(null===(G=this.call)||void 0===G?void 0:G.direction)?(this._MakeCallInfo(E.SIPCALL_RING,this.call.remote_identity.uri.toString()),this._onRing(this.call.remote_identity.uri.toString())):(this._MakeCallInfo(E.SIPCALL_ORIGATE,this.call.remote_identity.uri.toString()),this._onRingBack(this.call.remote_identity.uri.toString())))},getusermediafailed:N=>{this._modal.showAlert("\u7372\u53d6\u6b0a\u9650\u5931\u6557","\u60a8\u7684\u8033\u6a5f\u6216\u9ea5\u514b\u98a8\u72c0\u614b\u7121\u6cd5\u53d6\u5f97\u6216\u7121\u6cd5\u4f7f\u7528"),this._onError(480,"getusermediafailed:"+N.name+N.message)},accepted:N=>{this.log.debug("%cCall is in accepted","color:black;background-color:yellow",N),this._MakeCallInfo(E.SIPCALL_CONNECTED,""),this._onConnected(),setTimeout(()=>{this.remoteAudio.srcObject=this.remoteStream,this.remoteAudio.play()},500)},failed:N=>{this.log.debug("%cCall failed: ","color:black;background-color:red",N),"Rejected"==N.cause&&this.onError.emit({code:603,reason:N.cause}),this.endCall(),this._MakeCallInfo(E.SIPCALL_END,""),this._onDisConnected()},ended:N=>{this.log.debug("%cCall ended : ","color:white;background-color:red",N),this.endCall(),this._MakeCallInfo(E.SIPCALL_END,""),this._onDisConnected()},confirmed:N=>{this.log.debug("%cCall confirmed","color:black;background-color:lightgreen",N)},sdp:N=>{this.log.debug("%cCall sdp","color:black;background-color:lightgreen",N)},peerconnection:N=>{this.log.debug("%cOn peerconnection","color:black;background-color:orange",N),this.log.debug("state",N.peerconnection.getStats()),N.peerconnection.ontrack=G=>{this.log.debug("onaddtrack from remote - ",G),this.remoteStream=G.streams[0],this.commonService.isIos()&&(this.remoteAudio.srcObject=G.streams[0],this.remoteAudio.play()),this.log.debug(this.remoteAudio.srcObject)}},muted:N=>{this.log.debug("%cOn muted","color:black;background-color:orange",N),this.isMuted=!0,this._MakeCallInfo(E.SIPCALL_MUTE,"")},unmuted:N=>{this.log.debug("%cOn unmuted","color:black;background-color:orange",N),this.isMuted=!1,this._MakeCallInfo(E.SIPCALL_UNMUTE,"")}},this.isMuted=!1,this.isVoice=!0,this.sipConfig={},this.useAudio=!0,this.useVedio=!1,this.localCanRenegotiateRTC="",this.connected=!1,this._voiceType="phone",window.jsCall=this}playSound(){switch(this.callSence){case E.SIPCALL_CONNECTED:case E.SIPCALL_MUTE:case E.SIPCALL_HOLD:this.audio.pause();break;case E.SIPCALL_ORIGATE:this.audio.src="./assets/sound/outgoing-call2.mp3",this.audio.loop=!0,this.audio.play();break;case E.SIPCALL_RING:return this.audio.src="./assets/sound/incoming-call2.mp3",this.audio.loop=!0,this.audio.play(),"\u632f\u9234";case E.SIPCALL_END:return this.audio.src="./assets/sound/outgoing-call-rejected.mp3",this.audio.loop=!1,this.audio.play(),"\u901a\u8a71\u7d50\u675f";case E.SIPCALL_IDLE:return this.audio.pause(),"\u7a7a\u9592";case E.SIPCALL_CALLING:return"\u632f\u9234\u4e2d";case E.SIPCALL_NULL:return"";case E.SIPCALL_UNMUTE:case E.SIPCALL_UNHOLD:return"\u63a5\u901a";default:return this.callSence}return""}errorCallback(){}get showImg(){return this._showPic}get showName(){return a.isNull(this._showName)||a.isEmpty(this._showName)?this.DialNum:this._showName}
1get isShowDial(){return this.callSence==E.SIPCALL_IDLE||this.callSence==E.SIPCALL_NULL||this.callSence==E.SIPCALL_END}get showWait(){return this.callSence==E.SIPCALL_RING||this.callSence==E.SIPCALL_CALLING}get callState(){switch(this.callSence){case E.SIPCALL_CONNECTED:return"\u63a5\u901a";case E.SIPCALL_MUTE:return"\u975c\u97f3";case E.SIPCALL_HOLD:return"\u4fdd\u7559";case E.SIPCALL_ORIGATE:return"\u97ff\u9234";case E.SIPCALL_RING:return"\u632f\u9234";case E.SIPCALL_END:return"\u901a\u8a71\u7d50\u675f";case E.SIPCALL_IDLE:return"\u7a7a\u9592";case E.SIPCALL_CALLING:return"\u64a5\u865f\u4e2d";case E.SIPCALL_NULL:return"";case E.SIPCALL_UNMUTE:case E.SIPCALL_UNHOLD:return"\u63a5\u901a";default:return this.callSence}}ngAfterViewInit(){this.commonService.isIos()&&window.cordova.plugins.iosrtc.registerGlobals(),setInterval(()=>{if(this.callSence==E.SIPCALL_CONNECTED)if(this.call){let ne=this.call.start_time,me=(new Date).getTime()-ne.getTime();this.times=this.countFormat(me/1e3)}else this.times="";else this.times="";this.refresh()},1e3),this.setAudio(),null!=this.data?(this.logIn(this.data.url,this.data.dn,this.data.password),this.doRegisterAndDial(this.data.callNo,this.data.callName,this.data.callPic)):(this._modal.showToast("\u6c92\u6709\u7372\u53d6\u5230\u96fb\u8a71\u4fe1\u606f,\u8acb\u91cd\u8a66."),this._modal.closeModal())}countFormat(ne){ne=Math.round(ne);let ce="",me="",re="";var $=Math.floor(ne/3600);ce=$<10?"0"+$:""+$;var X=ne%3600,M=Math.floor(X/60);me=M<10?"0"+M:""+M;var G=Math.ceil(X%60);return re=G<10?"0"+G:""+G,ce+":"+me+":"+re}refresh(){this._cdr.detectChanges()}ngOnInit(){this.callOptions={eventHandlers:this.eventHandlers,mediaConstraints:{audio:!0,video:!1},mediaStream:this.localStream}}showLog(ne){this.log.debug("[SIPPhone] "+ne,"blue","white")}doRegisterAndDial(ne,ce="",me=""){this._showName=ce,this._showPic=a.isEmpty(me)?"":me;let re=ne.replace(/(^\s*)|(\s*$)/g,"");return""==re?(this.showLog("Phoe No Is null!"),!1):(this.showLog("[Ready to MakeCall....."+re+"]"),this.prePhoneNo=re,this.registerPA(),!0)}setAudio(){this.localAudio=this.localAudioElement.nativeElement,navigator.mediaDevices.addEventListener("devicechange",ne=>{this.getConnectedDevices("audioinput"),this.getConnectedDevices("audiooutput")})}gotLocalMedia(ne){this.localStream=ne,this.localAudio.srcObject=ne,this.showLocalAudio=!0,this.log.debug("Received local media stream",ne)}_onRing(ne){this.playSound()}_onRingBack(ne){this.playSound()}_onConnected(){this.playSound()}_onDisConnected(){this.playSound()}endCall(){this.call=void 0,this.localStream&&C.Utils.closeMediaStream(this.localStream),this.localStream=null,this.playSound()}logIn(ne,ce,me){this.log.debug("use Model 1");let re=ne.indexOf(":");this.serverIp=ne.substring(0,re),this.serverPort=parseInt(ne.substring(re+1)),this.dn=ce,this.pass=me,this.sipConfig.uri=this.stringFormatSip(["sip:{0}@{1}:{2}",ce,this.serverIp,this.serverPort]),this.sipConfig.password=me,this.sipConfig.ws_servers=this.stringFormatSip(["{0}://{1}:{2}/{3}","wss",this.serverIp,this.serverPort,"webcall"]),this.sipConfig.sockets=new C.WebSocketInterface(this.sipConfig.ws_servers),this.sipConfig.display_name=ce,this.sipConfig.authorization_user=ce,this.sipConfig.registered=!1,this.refresh()}logInlInner(){this.sipConfig.uri=this.stringFormatSip(["sip:{0}@{1}:{2}",this.dn,this.serverIp,this.serverPort]),this.sipConfig.password=this.pass,this.sipConfig.ws_servers=this.stringFormatSip(["{0}://{1}:{2}/{3}","wss",this.serverIp,this.serverPort,"webcall"]),this.sipConfig.sockets=new C.WebSocketInterface(this.sipConfig.ws_servers),this.sipConfig.display_name=this.dn,this.sipConfig.authorization_user=this.dn,this.refresh()}registerPA(){this._CreateUa(),this.log.debug("doRegist..")}dial(ne,ce){if(null!=this.call)return-1;let me="";typeof ce>"u"&&(ce="");var re=this.useAudio,$=this.useVedio;if("object"==typeof ce?(me=(ce=ce||{}).data||"",typeof ce.audio<"u"&&(re=ce.audio),typeof ce.vedio<"u"&&($=ce.vedio)):"string"==typeof ce&&(me=ce),0==re&&0==$)return-1;var M=["X-Can-Renegotiate: "+String(this.localCanRenegotiateRTC)];if(""!=me)for(var N=me.split("|||"),G=0;G<N.length;G++)M.push(N[G]);return this.captureLocalMedia().then(()=>{var ue;this.callOptions.rtcOfferConstraints={offerToReceiveAudio:re,offerToReceiveVideo:$},this.callOptions.mediaConstraints={audio:!0,video:!1},this.callOptions.extraHeaders=M,this.callOptions.mediaStream=this.localStream,this.callOptions.pcConfig={rtcpMuxPolicy:"require"},this._MakeCallInfo(E.SIPCALL_CALLING,ne),this.log.debug("dial:",this.callOptions),null===(ue=this.userAgent)||void 0===ue||ue.call(ne,this.callOptions)}),0}mute(){this.call&&this.call.mute()}unMute(){var ne;this.call&&(null===(ne=this.call)||void 0===ne||ne.unmute())}hangUp(){if(this.call)return this._modal.closeModal(),this._terminate(0,"disconnected");this.commonService.gotoBack()}_terminate(ne,ce){return null==this.call?-1:(this.call.terminate({status_code:ne,reason_phrase:ce}),1)}stringFormatSip(ne){if(0==ne.length)return"";for(var ce=ne[0],me=1;me<ne.length;me++){var re=new RegExp("\\{"+(me-1)+"\\}","gm");ce=ce.replace(re,ne[me])}return ce}_onDebug(ne){this.log.debug(ne)}_onConnectStatus(ne){this.onConnected.emit(ne),this.connected=ne,ne&&(a.isEmpty(this.prePhoneNo)||setTimeout(()=>{this.dial(this.prePhoneNo,""),this.prePhoneNo=""},1e3)),this.refresh()}
1_DeleteUa(ne){this.userAgent&&this.userAgent.stop(),this.userAgent=void 0}_onLoginSuccess(){this.onLoginSuccess.emit(!0)}_onLogoutSuccess(){this.prePhoneNo="",this.onLogoutSuccess.emit(!0)}_onLoginFailure(ne,ce){this.prePhoneNo="",this.onLoginFailure.emit({code:ne,reason:ce})}_MakeCallInfo(ne,ce){this.callSence=ne,this.onCallEvent.emit({callSence:ne,info:ce}),this.refresh()}_onError(ne,ce){this.onError.emit({code:ne,reason:ce})}_CreateRTCSession(ne){this._onDebug("Begin CreateRTCSession"),this.call=ne.session,ne.session.on("accepted",ce=>{this.log.debug("onAccepted - ",ce)})}_CreateUa(){if(null==this.userAgent){try{this.userAgent=new C.UA(this.sipConfig)}catch(ne){return this.log.debug(ne.toString()),void(this.userAgent=void 0)}this.userAgent.on("connecting",ne=>{this._onDebug("ua connecting")}),this.userAgent.on("connected",ne=>{this._onDebug("ua connected"),this._onConnectStatus(!0)}),this.userAgent.on("disconnected",ne=>{null!=this.userAgent&&(this.userAgent.isRegistered()||(this._DeleteUa(!1),this._onConnectStatus(!1)))}),this.userAgent.on("registered",ne=>{this.showLog("registerd\u3002\u3002\u3002\u3002 "),0==this.sipConfig.registered&&(this._MakeCallInfo(E.SIPCALL_IDLE,""),this._onLoginSuccess(),this.sipConfig.registered=!0)}),this.userAgent.on("unregistered",ne=>{1==this.sipConfig.registered?this._onError(0,"Reconnecting"):(this.sipConfig.registered=!1,this._onLogoutSuccess()),this._DeleteUa(!1)}),this.userAgent.on("registrationFailed",ne=>{var ce=ne.cause,me=0;"Request Timeout"==ce&&(me=408),ne.response&&(me=ne.response.status_code),this.sipConfig.registered=!1,this._onLoginFailure(me,(null==ce?void 0:ce.toString())||""),this._DeleteUa(!1)}),this.userAgent.on("newRTCSession",ne=>{this._onDebug("newRTCSession"),this._CreateRTCSession(ne)}),this.userAgent.start()}}unVoice(){this.isVoice=!1,this.remoteAudio.pause(),this.refresh()}voice(){this.isVoice=!0,this.remoteAudio.play(),this.refresh()}selectInputDevice(ne){var ce=this;return(0,c.A)(function*(){if(ce.constraints.audio={deviceId:ne.target.value},!ce.call)return;const me=yield navigator.mediaDevices.getUserMedia(ce.constraints);ce.call.connection.getSenders().forEach(re=>{var $;"audio"===(null===($=re.track)||void 0===$?void 0:$.kind)&&re.replaceTrack(me.getAudioTracks()[0])}),ce.call.renegotiate({useUpdate:!0})})()}voiceClick(){var ne=this;return(0,c.A)(function*(){const ce=yield ne.actionSheetCtrl.create({header:"\u9078\u64c7\u8a2d\u5099",buttons:[{text:"\u624b\u6a5f",data:{action:"phone"}},{text:"\u5916\u653e",data:{action:"out"}},{text:"\u975c\u97f3",data:{action:"mute"}},{text:"Cancel",role:"cancel",data:{action:"cancel"}}]});yield ce.present();const{data:me}=yield ce.onDidDismiss();
1"phone"===me.action?(yield p.setAudioModeInCall(),ne.remoteAudio.srcObject=ne.remoteStream,ne._voiceType="phone",yield ne.remoteAudio.play()):"out"===me.action?(yield p.setAudioModeNormal(),ne._voiceType="out",yield ne.remoteAudio.play()):"mute"===me.action&&(ne._voiceType="mute",ne.unVoice())})()}selectOutputDevice(ne){}showDeviceList(){var ne=this;return(0,c.A)(function*(){let ce=yield navigator.mediaDevices.enumerateDevices();if(console.log(JSON.stringify(ce)),ne.commonService.isIos()){let me=yield window.cordova.plugins.iosrtc.enumerateDevices();console.log(JSON.stringify(me))}})()}}return(Y=ae).\u0275fac=function(ne){return new(ne||Y)(o.rXU(o.gRc),o.rXU(b.nX),o.rXU(R.J),o.rXU(P.S),o.rXU(s.GD),o.rXU(k.hf))},Y.\u0275cmp=o.VBU({type:Y,selectors:[["app-jssip-call-ctrl"]],viewQuery:function(ne,ce){if(1&ne&&(o.GBs(O,5),o.GBs(V,5)),2&ne){let me;o.mGM(me=o.lsd())&&(ce.localAudioElement=me.first),o.mGM(me=o.lsd())&&(ce.remoteAudioElement=me.first)}},inputs:{show:"show"},outputs:{onConnected:"onConnected",onLoginSuccess:"onLoginSuccess",onLogoutSuccess:"onLogoutSuccess",onLoginFailure:"onLoginFailure",onError:"onError",onCallEvent:"onCallEvent"},standalone:!0,features:[o.aNF],decls:1,vars:1,consts:[["localAudio",""],["remoteAudio",""],["class","flex flex-col w-full h-full justify-end ","style","background:rgba(0, 0, 0, 0.6);\nbackdrop-filter: blur(5px);",4,"ngIf"],[1,"flex","flex-col","w-full","h-full","justify-end",2,"background","rgba(0, 0, 0, 0.6)","backdrop-filter","blur(5px)"],[1,"flex","flex-col","items-center","justify-end"],[1,"rounded-full","h-24","w-24","flex","items-center","justify-center","m-2"],[3,"ceText","ceSize","ceSrc"],[1,"text-base","m-2","text-white"],[1,"text-xs","m-2","text-white"],[1,"m-2","text-white","h-14"],["src","./assets/images/wait.gif","alt","","class","w-11 ",4,"ngIf"],[1,"rounded-full","h-16","w-16","flex","items-center","justify-center","shadow-lg","bg-hangup","m-2","bg-red-400","hover:bg-red-500",3,"click"],["src","./assets/images/icon-hang.svg","alt","",1,"h-1/2","w-1/2"],[1,"flex","items-center","justify-around","h-1/4","m-2"],[1,"rounded-full","h-12","w-12","flex","items-center","justify-center","shadow-lg","border","bg-opacity-60","hover:bg-opacity-70",3,"click"],["src","./assets/images/icon-mic-mic.svg","alt","","class"," h-1/2 w-1/2 ",4,"ngIf"],["src","./assets/images/icon-unmic.svg","alt","","class"," h-1/2 w-1/2 ",4,"ngIf"],[1,"rounded-full","h-12","w-12","flex","items-center","justify-center","border","bg-opacity-60","hover:bg-opacity-80",3,"click"],["src","./assets/images/phone.svg","alt","","class"," h-1/2 w-1/2 ",4,"ngIf"],["src","./assets/images/icon-unvolume.svg","alt","","class"," h-1/2 w-1/2 ",4,"ngIf"],["src","./assets/images/icon-volume.svg","alt","","class"," h-1/2 w-1/2 ",4,"ngIf"],["src","./assets/images/wait.gif","alt","",1,"w-11"],["src","./assets/images/icon-mic-mic.svg","alt","",1,"h-1/2","w-1/2"],["src","./assets/images/icon-unmic.svg","alt","",1,"h-1/2","w-1/2"],["src","./assets/images/phone.svg","alt","",1,"h-1/2","w-1/2"],["src","./assets/images/icon-unvolume.svg","alt","",1,"h-1/2","w-1/2"],["src","./assets/images/icon-volume.svg","alt","",1,"h-1/2","w-1/2"]],template:function(ne,ce){1&ne&&o.DNE(0,de,26,12,"div",2),2&ne&&o.Y8G("ngIf",ce.show)},dependencies:[s.bv,h.MD,h.bT,u.F],changeDetection:0}),ae})()},94577:(ge,_,f)=>{"use strict";f.d(_,{k:()=>R});var c=f(10467),o=f(60177),C=f(69465),a=f(73955),E=f(89417),T=f(47046),s=f(54438),h=f(68093),u=f(80214),v=f(55544),g=f(47784),y=f(12872);function p(P,k){if(1&P){const O=s.RV6();s.j41(0,"ion-menu-toggle",1)(1,"ion-item",2),s.bIt("click",function(){s.eBV(O);const K=s.XpG(2);return s.Njj(K.onLogin())}),s.nrm(2,"ion-icon",12),s.j41(3,"ion-label"),s.EFF(4),s.nI1(5,"translate"),s.k0s()()()}2&P&&(s.R7$(4),s.SpI(" ",s.bMT(5,1,"ap.login")," "))}function b(P,k){if(1&P){const O=s.RV6();s.j41(0,"ion-list",0)(1,"ion-list-header"),s.EFF(2),s.k0s(),s.DNE(3,p,6,3,"ion-menu-toggle",8),s.j41(4,"ion-menu-toggle",1)(5,"ion-item",2),s.bIt("click",function(){s.eBV(O);const K=s.XpG();return s.Njj(K.checkUpdate())}),s.nrm(6,"ion-icon",9),s.j41(7,"ion-label"),s.EFF(8),s.nI1(9,"translate"),s.k0s()()(),s.j41(10,"ion-menu-toggle",1)(11,"ion-item",2),s.bIt("click",function(){s.eBV(O);const K=s.XpG();return s.Njj(K.checkUpdate())}),s.nrm(12,"ion-icon",10),s.j41(13,"ion-label"),s.EFF(14),s.nI1(15,"translate"),s.k0s()()(),s.j41(16,"ion-item",2),s.bIt("click",function(){s.eBV(O);const K=s.XpG();return s.Njj(K.onLogout())}),s.nrm(17,"ion-icon",11),s.j41(18,"ion-label"),s.EFF(19),s.nI1(20,"translate"),s.k0s()()()}if(2&P){const O=s.XpG();s.R7$(2),s.SpI(" ",null==O.logInUser?null:O.logInUser.name," "),s.R7$(),s.Y8G("ngIf",O.isAnonymousUser),s.R7$(5),s.SpI(" ",s.bMT(9,5,"ap.checkup")," "),s.R7$(6),s.SpI(" ",s.bMT(15,7,"ap.about")," "),s.R7$(5),s.SpI(" ",s.bMT(20,9,"ap.logout")," ")}}let R=(()=>{var P;class k{constructor(V,K,z,H,x,q){this.commonService=V,this.swUpdate=K,this.modalHelper=z,this.i18n=H,this.cpService=x,this.platform=q,this.loggedIn=!1,this.dark=!1}ngOnInit(){return(0,c.A)(function*(){})()}
1darkChanged(V){T.co._themeChanged.next({dark:this.dark})}checkUpdate(){this.swUpdate.checkForUpdate()}get logInUser(){return this.commonService.logInUser}get isAnonymousUser(){return this.commonService.isAnonymousUser}goto(V){this.commonService.goto([V])}onLogout(){this.modalHelper.showConfirm2(this.i18n.instant("ap.logouttip"),this.i18n.instant("ap.logoutConfirm")).then(V=>{V&&this.cpService.logout()})}onLogin(){this.cpService.logout()}}return(P=k).\u0275fac=function(V){return new(V||P)(s.rXU(h.hf),s.rXU(u.EI),s.rXU(v.S),s.rXU(a.c$),s.rXU(g.b),s.rXU(y.OD))},P.\u0275cmp=s.VBU({type:P,selectors:[["app-com-sidebar"]],standalone:!0,features:[s.aNF],decls:23,vars:10,consts:[["lines","none"],["autoHide","false"],["detail","false",3,"click"],["aria-hidden","true",1,"icon","w-5","h-5","mr-1"],[0,"xlink","href","#icon-tiaozhuanliaotianshi"],[0,"xlink","href","#icon-business"],[0,"xlink","href","#icon-a-icon22"],["lines","none",4,"ngIf"],["autoHide","false",4,"ngIf"],["slot","start","name","checkmark-circle-outline"],["slot","start","name","information-circle-outline"],["slot","start","name","log-out-outline"],["slot","start","name","log-in"]],template:function(V,K){1&V&&(s.j41(0,"ion-list",0)(1,"ion-list-header"),s.EFF(2," Aiwow Chat "),s.k0s(),s.j41(3,"ion-menu-toggle",1)(4,"ion-item",2),s.bIt("click",function(){return K.goto("/app/tabs/chatlist")}),s.qSk(),s.j41(5,"svg",3),s.nrm(6,"use",4),s.k0s(),s.joV(),s.j41(7,"ion-label"),s.EFF(8),s.nI1(9,"translate"),s.k0s()(),s.j41(10,"ion-item",2),s.bIt("click",function(){return K.goto("/app/tabs/tenantlist")}),s.qSk(),s.j41(11,"svg",3),s.nrm(12,"use",5),s.k0s(),s.joV(),s.j41(13,"ion-label"),s.EFF(14),s.nI1(15,"translate"),s.k0s()(),s.j41(16,"ion-item",2),s.bIt("click",function(){return K.goto("/app/tabs/mypage")}),s.qSk(),s.j41(17,"svg",3),s.nrm(18,"use",6),s.k0s(),s.joV(),s.j41(19,"ion-label"),s.EFF(20),s.nI1(21,"translate"),s.k0s()()()(),s.DNE(22,b,21,11,"ion-list",7)),2&V&&(s.R7$(8),s.SpI(" ",s.bMT(9,4,"Common.chatList")," "),s.R7$(6),s.SpI(" ",s.bMT(15,6,"Common.tenantList")," "),s.R7$(6),s.SpI(" ",s.bMT(21,8,"Common.mypage")," "),s.R7$(2),s.Y8G("ngIf",!K.loggedIn))},dependencies:[o.MD,o.bT,C.bv,C.iq,C.uz,C.he,C.nf,C.AF,C.cA,a.h,a.D9,E.YN],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),k})()},19282:(ge,_,f)=>{"use strict";f.d(_,{W:()=>s});var c=f(84412),o=f(23815),C=f(90490),a=f(54438),E=f(73955),T=f(67859);let s=(()=>{var h;class u{constructor(g,y){this.translate=g,this.cache=y,this.languageChanged=new c.t("zh_TW"),this.lanStr="zh-TW",g.addLangs(["zh-TW","en-US","zh-CN"]),g.setDefaultLang("zh-TW")}loadFromCache(){this.cache.getItem("language").then(g=>{g&&this.switchLanguage(g.lan)}).catch(()=>{this.switchLanguage(this.lanStr)})}switchLanguage(g){this.lanStr=g,this.translate.use(this.lanStr),this.cache.saveItem("language",{lan:this.lanStr},C.B.system,o.v.ttlTenYear),this.languageChanged.next(this.lanStr)}getLanguage(){return this.lanStr}getCELanguage(){switch(this.lanStr){case"en-US":return"en-us";case"zh-TW":default:return"zh-tw";case"zh-CN":return"zh-cn"}}}return(h=u).\u0275fac=function(g){return new(g||h)(a.KVO(E.c$),a.KVO(T._))},h.\u0275prov=a.jDH({token:h,factory:h.\u0275fac}),u})()},7691:(ge,_,f)=>{"use strict";f.d(_,{h:()=>a});var c=f(21413),o=f(54438),C=f(36860);let a=(()=>{var E;class T{constructor(h){this.platform=h,this.notify$=new c.B,this._app=null,this._user=null,this._layout=null,this._webChatFunction=null,this.KEYS={layout:"layout",user:"user",app:"app",webChatFunction:"webChatFunction"}}getData(h){return this.platform.isBrowser&&JSON.parse(localStorage.getItem(h)||"null")||null}setData(h,u){this.platform.isBrowser&&localStorage.setItem(h,JSON.stringify(u))}get layout(){return this._layout||(this._layout={fixed:!0,collapsed:!1,boxed:!1,lang:null,...this.getData(this.KEYS.layout)},this.setData(this.KEYS.layout,this._layout)),this._layout}get webChatFunction(){return this._app||(this._webChatFunction={...this.getData(this.KEYS.webChatFunction)},this.setData(this.KEYS.webChatFunction,this._webChatFunction)),this._webChatFunction}get app(){return this._app||(this._app={year:(new Date).getFullYear(),...this.getData(this.KEYS.app)},this.setData(this.KEYS.app,this._app)),this._app}get user(){return this._user||(this._user={...this.getData(this.KEYS.user)},this.setData(this.KEYS.user,this._user)),this._user}get notify(){return this.notify$.asObservable()}setLayout(h,u){return"string"==typeof h?this.layout[h]=u:this._layout=h,this.setData(this.KEYS.layout,this._layout),this.notify$.next({type:"layout",name:h,value:u}),!0}getLayout(){return this._layout}setWebChatFunction(h){this._webChatFunction=h,this.setData(this.KEYS.webChatFunction,h),this.notify$.next({type:"webChatFunction",value:h})}getWebChatFunction(){return this._webChatFunction}setApp(h){this._app=h,this.setData(this.KEYS.app,h),this.notify$.next({type:"app",value:h})}getApp(){return this._app}setUser(h){this._user=h,this.setData(this.KEYS.user,h),this.notify$.next({type:"user",value:h})}getUser(){return this._user}}return(E=T).\u0275fac=function(h){return new(h||E)(o.KVO(C.OD))},E.\u0275prov=o.jDH({token:E,factory:E.\u0275fac,providedIn:"root"}),T})()},80708:(ge,_,f)=>{"use strict";f.d(_,{$:()=>s});var c=f(10467),o=f(80282),a=f(23815),E=f(49344),T=f(7691);class s{static initialize(u){this.injector=u}static RefWindow(u){return function(v){const g=v.prototype.ngOnInit;v.prototype.ngOnInit=function(){g&&g.apply(this),window[u]=this}}}static LogMethod(u="method"){const v=o(`${a.v.APP_NAME}:${u}`);return v.color="blue",v.log=console.info.bind(console),function(g,y,p){const b=p.value;return p.value=(...R)=>{const P=performance.now(),k=b.apply(g,R),V=performance.now()-P;return v(`Method: ${y} Execution: ${V.toFixed(2)}ms Arguments: ${JSON.stringify(R)} Result: ${JSON.stringify(k)}`),k},p}}static LogAsyncMethod(u="method"){const v=o(`${a.v.APP_NAME}:${u}`);return v.color="blue",v.log=console.info.bind(console),function(g,y,p){const b=p.value;return p.value=(0,c.A)(function*(...R){const P=performance.now();let k;try{k=yield b.apply(g,R)}catch(K){k=`Error: ${K.message}`}const V=performance.now()-P;return v(`Method(Async): ${y} Execution: ${V.toFixed(2)}ms Arguments: ${JSON.stringify(R)} Result: ${JSON.stringify(k)}`),k}),p}}static LogDebug(){const u=this.injector.get(E.J);return function(v,g,y){const p=y.value;return y.value=(...b)=>{const R=performance.now(),P=p.apply(v,b),O=performance.now()-R;return u.debug(`\u65b9\u6cd5: ${g} \u8017\u65f6: ${O.toFixed(2)}ms \u5e26\u5165\u53c2\u6570: ${JSON.stringify(b)}`),u.debug(`\u8fd4\u56de\u7ed3\u679c: ${JSON.stringify(P)}`),P},y}}static Value(u){const v=this.injector.get(T.h);return function(g,y){Object.defineProperty(g,y,{get:function(){return v.getApp()[u]},set:function(p){},enumerable:!0,configurable:!0})}}static Header(u){const v=this.injector.get(T.h);return function(g,y){Object.defineProperty(g,y,{get:function(){return v.getApp()[u]},set:function(p){},enumerable:!0,configurable:!0})}}}},24696:(ge,_,f)=>{"use strict";f.d(_,{Sw:()=>E,cJ:()=>a});const o=new(f(69465).Hx),a=(T,s)=>{const h=o.create().duration(s.duration||300).easing("cubic-bezier(0.7,0,0.3,1)"),u=o.create().addElement(s.enteringEl),v=o.create().addElement(s.leavingEl);return u.fromTo("opacity","0","1"),v.fromTo("opacity","1","0"),u.fromTo("transform","translateX(210px)","translateX(0px)"),v.fromTo("transform","translateX(0px)","translateX(-200px)"),h.addAnimation([u,v]),h},E=(T,s)=>{const h=o.create().duration(s.duration||300).easing("cubic-bezier(0.7,0,0.3,1)"),u=o.create().addElement(s.enteringEl),v=o.create().addElement(s.leavingEl);return u.fromTo("opacity","0","1"),v.fromTo("opacity","1","0"),u.fromTo("transform","translateX(-210px)","translateX(0px)"),v.fromTo("transform","translateX(0px)","translateX(200
1px)"),h.addAnimation([u,v]),h}},90490:(ge,_,f)=>{"use strict";f.d(_,{B:()=>c});var c=function(o){return o.system="sys",o.app="app",o}(c||{})},89655:(ge,_,f)=>{"use strict";f.d(_,{bH:()=>C,zc:()=>c});var c=function(a){return a[a.nono=0]="nono",a[a.init=1]="init",a[a.login=2]="login",a[a.logout=3]="logout",a[a.error=4]="error",a}(c||{}),C=function(a){return a[a.customer=0]="customer",a[a.employee=1]="employee",a.anonymouse="anonymouse",a}(C||{})},60960:(ge,_,f)=>{"use strict";f.d(_,{C0:()=>C,Go:()=>c,bF:()=>o,cM:()=>T});var c=function(u){return u[u.plain=0]="plain",u[u.system=1]="system",u[u.voice=2]="voice",u[u.image=3]="image",u[u.sticker=4]="sticker",u[u.file=5]="file",u[u.call=6]="call",u[u.date=7]="date",u[u.nono=8]="nono",u[u.systip=9]="systip",u[u.at=10]="at",u[u.business=11]="business",u[u.broadcast=12]="broadcast",u[u.video=13]="video",u[u.template=14]="template",u[u.transfer=15]="transfer",u[u.systemuser=16]="systemuser",u[u.carousel=17]="carousel",u[u.unreadtag=18]="unreadtag",u[u.postbackaction=19]="postbackaction",u}(c||{}),o=function(u){return u[u.self=0]="self",u[u.vistor=1]="vistor",u[u.friend=2]="friend",u[u.group=3]="group",u[u.broast=4]="broast",u[u.serviceNumber=5]="serviceNumber",u[u.discu
1ss=6]="discuss",u[u.system=7]="system",u[u.threadGroup=8]="threadGroup",u[u.serviceMember=9]="serviceMember",u[u.other=10]="other",u}(o||{});class C{constructor(){this.isFav=!1,this.isAtMe=!1}}class T{constructor(){this.fileSize=0,this.isPlay=!1,this.sendErrorFlag=!1,this.reSendCount=0,this.downloadFlag=!1,this.isDownLoad=!1,this.isDownLoadBig=!1,this.downloadPath="",this.uploadFlag=!1,this.flag=0,this.keepAllShow=!1,this.keepPostion=!1,this.hasUrl=!1,this.urls=[],this.urlsInfos=[],this.sequence=-1,this.avatarId="",this.play=!1}}},47273:(ge,_,f)=>{"use strict";f.d(_,{P:()=>u});var c=f(21626),o=f(71985),C=f(40605),a=f(67376),T=f(47046),s=f(54438),h=f(68093);let u=(()=>{var v;class g{get loading(){return this.postCount>0}get loadingCount(){return this.postCount}constructor(p,b){this.http=p,this.commonService=b,this.postCount=0,this.postQ={},this.index=0,this.processQ={},this.processQueue(),T.co._loginAction.subscribe(R=>{R.type==T.es.logout&&(this.postQ={},this.postCount=0)})}post(p,b,R=null){this.postCount++;let P=new c.Lr({"Content-Type":"application/json;charset=utf-8",deviceData:encodeURIComponent(JSON.stringify(this.commonService.ceDeviceData))});return P.append("Access-Control-Allow-Origin","*"),this.queuePost(p,b,{headers:P,responseType:"json"})}queuePost(p,b,R){return o.c.create(P=>{this.index++;let k={index:this.index,args:b,header:R,handle:(V,K)=>{P.next(K),P.complete()}};a.isEmpty(this.postQ[p])?this.postQ[p]=[k]:this.postQ[p].push(k)})}processQueue(){(0,C.Y)(500).pipe().subscribe(b=>{for(let R in this.postQ){let P=R,k=this.postQ[P];if((null==k?void 0:k.length)>0){if(1==this.processQ[P])continue;let O=this.postQ[P].pop();this.processQ[P]=!0,this.http.post(P,null==O?void 0:O.args,null==O?void 0:O.header).subscribe(V=>{null==O||O.handle(O.index,V)},V=>{this.processQ[P]=!1,null==O||O.handle(O.index,{_header_:{status:"net.error",message:"netError"}})},()=>{this.processQ[P]=!1})}}})}get(p,b){return this.http.get(p,b)}getblob(p){return this.http.get(p,{responseType:"blob"})}}return(v=g).\u0275fac=function(p){return new(p||v)(s.KVO(c.Qq),s.KVO(h.hf))},v.\u0275prov=s.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}),g})()},29685:(ge,_,f)=>{"use strict";f.d(_,{p:()=>u});var c=f(21626),o=f(71985),C=f(40605),a=f(67376),T=f(47046),s=f(54438),h=f(68093);let u=(()=>{var v;class g{get loading(){return this.postCount>0}get loadingCount(){return this.postCount}constructor(p,b){this.http=p,this.commonService=b,this.postCount=0,this.postQ={},this.index=0,this.processQ={},T.co._loginAction.subscribe(R=>{R.type==T.es.logout&&(this.postQ={},this.postCount=0)}),this.processQueue()}post(p,b,R=null){this.postCount++;let P={data:this.commonService.EncryptQR(b)},k=new c.Lr({"Content-Type":"application/json;charset=utf-8",deviceData:encodeURIComponent(JSON.stringify(this.commonService.deviceData)),"x-aile-siguare":this.commonService.EncryptHmacSHA256(P.data)});return k.append("Access-Control-Allow-Origin","*"),this.http.post(p,P,{headers:k,responseType:"text"})}queuePost(p,b,R){return o.c.create(P=>{this.index++;let k={index:this.index,args:b,header:R,handle:(V,K)=>{P.next(K),P.complete()}};a.isEmpty(this.postQ[p])?this.postQ[p]=[k]:this.postQ[p].push(k)})}processQueue(){(0,C.Y)(500).pipe().subscribe(b=>{for(let R in this.postQ){let P=R,k=this.postQ[P];if((null==k?void 0:k.length)>0){if(1==this.processQ[P])continue;let O=this.postQ[P].pop();this.processQ[P]=!0,this.http.post(P,null==O?void 0:O.args,null==O?void 0:O.header).subscribe(V=>{null==O||O.handle(O.index,V)},V=>{this.processQ[P]=!1,null==O||O.handle(O.index,{_header_:{status:"net.error",message:"netError"}})},()=>{this.processQ[P]=!1})}}})}get(p,b){return this.http.get(p,b)}getblob(p){return this.http.get(p,{responseType:"blob"})}}return(v=g).\u0275fac=function(p){return new(p||v)(s.KVO(c.Qq),s.KVO(h.hf))},v.\u0275prov=s.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}),g})()},91535:(ge,_,f)=>{"use strict";f.d(_,{d:()=>C});var c=f(54438),o=f(345);let C=(()=>{var a;class E{constructor(s){this.domSanitizer=s}transform(s){return this.domSanitizer.bypassSecurityTrustResourceUrl(s)}}return(a=E).\u0275fac=function(s){return new(s||a)(c.rXU(o.up,16))}
1,a.\u0275pipe=c.EJ8({name:"safeUrl",type:a,pure:!0,standalone:!0}),E})()},944:(ge,_,f)=>{"use strict";f.d(_,{U:()=>y});var c=f(10467),o=f(21626),C=f(47046),a=f(49344),E=f(68093),T=f(31471),h=f(67376),v=f(54438),g=f(7691);let y=(()=>{var p;class b{get logService(){return this.injector.get(a.J)}get commonService(){return this.injector.get(E.hf)}constructor(P,k,O){this.injector=P,this.settingsService=k,this.http=O,this.aipoolAccountId="",this.openIdAndTokenInfo=new Map,C.co._loginAction.subscribe(V=>{if(this.logService.debug("loginAction",V),V.type===C.es.logined&&!this.commonService.isAnonymousUser){var K,z,H,x;let q=null!==(K=null===(z=this.commonService.logInUser)||void 0===z?void 0:z.countryCode)&&void 0!==K?K:"",Z=null!==(H=null===(x=this.commonService.logInUser)||void 0===x?void 0:x.mobile)&&void 0!==H?H:"";this.getAccountIdByPhone(q,Z)}})}postAPP(P,k){const V=this.settingsService.app.aiPoolId,K=this.settingsService.app.aiPoolKey,z=(new Date).getTime();let H="";const x=JSON.stringify(P);x&&(H=T.MD5(x).toString());const Z=T.enc.Utf8.parse(V+z+H),de=T.HmacSHA256(Z,K),Y=`AILE ${V}:${T.enc.Base64.stringify(de)}`,ae=new o.Lr({"Content-Type":"application/json;charset=utf-8",nonce:z.toString(),Authorization:Y});return this.http.post(this.settingsService.app.aiPoolUrl+k,x,{headers:ae})}post(P,k,O){return new Promise((V,K)=>{this.http.post(P,k,{headers:O}).subscribe(z=>{V(z)})})}getAccountIdByPhone(P,k){""==P||""==k||(this.logService.debug("getAccountIdByPhone",P,k),this.postAPP({userIdType:1,id:P+k},"/api/uupon/v2/user/getId").subscribe(O=>{1e3===O.code&&(this.aipoolAccountId=O.data,this.getAccountOverview())}))}getAccountOverview(){return h.isEmpty(this.aipoolAccountId)?Promise.reject("aipoolAccountId is empty"):new Promise((P,k)=>{this.postAPP({id:this.aipoolAccountId},"/api/uupon/v2/user/overview").subscribe(O=>{1e3===O.code&&(this.logService.debug("getAccountOverview",O),P(O))})})}getAccountInfo(P){return h.isEmpty(this.aipoolAccountId)?Promise.reject("aipoolAccountId is empty"):new Promise((k,O)=>{this.postAPP({id:this.aipoolAccountId,tenantCode:P},"/api/uupon/v2/user/info").subscribe(V=>{1e3===V.code&&(this.logService.debug("getAccountInfo",V),k(V))})})}buildBase(P,k,O){let V=this.settingsService.app.aiPoolUrl+P,K=new o.Lr;return K=K.set("Content-Type","application/json; charset=utf-8"),h.isEmpty(k)||(K=K.set(k,O)),{path:V,options:{headers:K,withCredentials:!0}}}getPointInfoInTenant(P,k){var O=this;return(0,c.A)(function*(){return new Promise(function(){var V=(0,c.A)(function*(K,z){let H=null;if(O.openIdAndTokenInfo.has(P)){let x=O.openIdAndTokenInfo.get(P);x&&(H=O.buildBase("/admin/v1/user/tenant/point",x.tokenKey,null==x?void 0:x.tokenValue))}else{let x=yield O.post(O.settingsService.app.aiPoolUrl+"/auth/login",{loginType:0,openId:P,tenantCode:k,tenantId:"1119960440634478592"});if(1e3===x.code){O.logService.debug("aipool login",x);let q=x.data.tokenData.tokenName,Z=x.data.tokenData.tokenValue;O.openIdAndTokenInfo.set(P,{tokenKey:q,tokenValue:Z}),H=O.buildBase("/admin/v1/user/tenant/point",q,Z)}}H?O.http.post(H.path,{openId:P},H.options).subscribe(x=>{1e3==x.code&&(O.logService.debug("getPointInfoInTenant",x),K(x))}):z("token not found")});return function(K,z){return V.apply(this,arguments)}}())})()}}return(p=b).\u0275fac=function(P){return new(P||p)(v.KVO(v.zZn),v.KVO(g.h),v.KVO(o.Qq))},p.\u0275prov=v.jDH({token:p,factory:p.\u0275fac}),b})()},70647:(ge,_,f)=>{"use strict";f.d(_,{E:()=>T});var c=f(10467),o=f(9350),a=f(54438),E=f(21626);let T=(()=>{var s;class h{constructor(v){this.http=v,this.apiUrl="https://asia-east1-aile-419002.cloudfunctions.net/audio-convert"}convertWavToM4a(v,g){var y=this;return(0,c.A)(function*(){const p=new FormData;p.append("File",v);const b=yield function C(s,h){const u="object"==typeof h;return new Promise((v,g)=>{let p,y=!1;s.subscribe({next:b=>{p=b,y=!0},error:g,complete:()=>{y?v(p):u?v(h.defaultValue):g(new o.G)}})})}(y.http.post(y.apiUrl,p));if(b.success){const R=`https://storage.googleapis.com/aile-convert/audio/output/${b.file}`,P=yield y.downloadFile(R);return new File([P],g,{type:"audio/m4a"})}throw new Error("Audio conversion failed")})()}downloadFileFormFile(v){const g=window.URL.createObjectURL(v),y=document.createElement("a");y.href=g,y.download=v.name,document.body.appendChild(y),y.click(),document.body.removeChild(y),window.URL.revokeObjectURL(g)}downloadFile(v){return(0,c.A)(function*(){const g=yield fetch(v);if(!g.ok)throw new Error("Failed to download file");return yield g.blob()})()}}return(s=h).\u0275fac=function(v){return new(v||s)(a.KVO(E.Qq))},s.\u0275prov=a.jDH({token:s,factory:s.\u0275fac,providedIn:"root"}),h})()},47784:(ge,_,f)=>{"use strict";f.d(_,{b:()=>ne});var c=f(10467),o=f(49344),C=f(68093),a=f(7691),E=f(23815),T=f(67376),s=f(60034),h=f(89655),u=f(47273),v=f(21626),g=f(19282),y=f(60960),p=f(71985),b=f(99437),R=f(7673),P=f(4273),k=f(47046),O=f(43150),V=f(70647),K=f(65262),z=f(48196);class H{get logService(){return this.injector.get(o.J)}get speechService(){return this.injector.get(K.y)}get settingsService(){return this.injector.get(a.h)}get commonService(){return this.injector.get(C.hf)}get http(){return this.injector.get(u.P)}get loginStrategyService(){return this.injector.get(s.C)}get i18nService(){return this.injector.get(g.W)}get ollama(){return this.injector.get(O.A)}get audioConversionService(){return this.injector.get(V.E)}constructor(me,re){this.injector=me,this.serverUrl=re,this.tenants=[],this.tenantLoginInfos=new Map,k.co.processMessageEvent$.subscribe($=>{})}clearTenantLoginInfo(){this.tenantLoginInfos.clear()}deleteTenantLoginInfo(me){this.commonService.aiwowDB.clearPart(),this.tenantLoginInfos.delete(me)}addTenant(me){this.tenants.findIndex($=>$.tenantId==me.tenantId)<0&&this.tenants.push(me)}getTenantById(me){return this.tenants.find(re=>re.tenantId===me)}switchTenant(me,re){var $=this;return(0,c.A)(function*(){var X,M;$.commonService.currentTenant=$.getTenantById(me),$.commonService.currentTenantUser=$.getLoginInfo(me),k.co._ceSwitchChanged.next({tenantId:me,userId:null!==(X=null===(M=$.commonService.currentTenantUser)||void 0===M||null===(M=M.user)||void 0===M?void 0:M.id)&&void 0!==X?X:""})})()}refreshToken(me){return(0,c.A)(function*(){return!1})()}getLoginInfo(me){return this.tenantLoginInfos.get(me)}applyToken(me){var re=this;return(0,c.A)(function*(){let $=re.tenantLoginInfos.get(me.tenantId);if(null!=$&&$.tokenId)return!0;var X,M,N;if($&&$.refreshTokenId&&(yield re.refreshToken(me)))return!0;
1if((null===(X=re.commonService.logInUser)||void 0===X?void 0:X.userType)==h.bH.anonymouse)return re.loginStrategyService.getStrategy("anonymous").doLogin({ceServerUrl:me.serviceUrl,tenantCode:me.tenantCode}).then(ue=>{if(ue.result){let ve=ue.response;return re.tenantLoginInfos.set(me.tenantId,ve),k.co._ceApplyChanged.next({tenantId:me.tenantId,userId:ve.user.id}),!0}throw new Error("Login CEServer Fiald!! ")});if((yield re.loginWithAuth(me.tenantId,null!==(M=null===(N=re.commonService.logInUser)||void 0===N?void 0:N.authToken)&&void 0!==M?M:""))._header_.success)return!0;throw new Error("Login CEServer Fiald!! ")})()}buildBase(me){var re;let $=this.tenantLoginInfos.get(me.tenantId),X={};return X={headers:new v.Lr({"Content-Type":"application/json;charset=utf-8"})},{options:X,_header_:{_header_:{tokenId:null!==(re=null==$?void 0:$.tokenId)&&void 0!==re?re:"",language:this.i18nService.getCELanguage()}}}}buildBaseWithLogin(me){return{options:{headers:new v.Lr({"Content-Type":"application/json;charset=utf-8"})},_header_:{_header_:{language:this.i18nService.getCELanguage()}}}}loginWithAuth(me,re){var $=this;return(0,c.A)(function*(){try{let X=$.getTenantById(me);if(!X)return $.logService.error("loginWithAuth Catch tenantItem is null"),{_header_:{success:!1,errorCode:"notFount"}};let M=X.serviceUrl+"/"+E.v.CE_LOGIN,N=$.buildBaseWithLogin(X),G=T.assign({},N._header_,{loginMode:"AuthTokenLogin",deviceType:"web",from:"Aiwow",osType:$.commonService.osType,uniqueID:E.v.uuid(),bundleId:z.c.pushBundleId,tenantCode:X.tenantCode,authToken:re});return new Promise((ue,ve)=>{$.http.post(M,G,N.options).subscribe(we=>{let Re=we;var et,at;Re._header_.success?($.tenantLoginInfos.set(null!==(et=null==X?void 0:X.tenantId)&&void 0!==et?et:"",Re),$.logService.debug("loginWithAuth",null==X?void 0:X.tenantId,$.tenantLoginInfos.get(null!==(at=null==X?void 0:X.tenantId)&&void 0!==at?at:"").tokenId),ue(Re)):($.logService.error("loginWithAuth Faild:",Re),ue(Re))})})}catch(X){throw $.logService.error("fetchTenantInfo Catch Exception:",X),new Error("Excption ")}})()}fetchTenantExtList(me){var re=this;return(0,c.A)(function*(){try{let $=re.getTenantById(me);if(!$)return re.logService.error("fetchTenantInfo Catch tenantItem is null"),{_header_:{success:!1,errorCode:"notFount"}};yield re.applyToken($);let X=$.serviceUrl+"/"+E.v.CE_TENANT_EXTERNAL,M=re.buildBase($),N=T.assign({},M._header_,{});return new Promise((G,ue)=>{re.http.post(X,N,M.options).subscribe(ve=>{let we=ve;if(we._header_.success)re.logService.debug("fetchTenantInfo",we),G(we);else{if(re.logService.error("fetchTenantInfo Faild:",we),"Qs.Token.Invalid"==we._header_.errorCode)return $&&re.tenantLoginInfos.delete($.tenantId),void G(re.fetchTenantExtList(me));G(we)}})})}catch($){throw re.logService.error("fetchTenantInfo Catch Exception:",$),new Error("Excption ")}})()}fetchAvatar(me,re){var $=this;return(0,c.A)(function*(){try{if(T.isEmpty(re))return E.v.DEFAULT_AVATAR;let X=$.getTenantById(me);if(!X)return $.logService.error("fetchAvatar Catch tenantItem is null"),E.v.DEFAULT_AVATAR;yield $.applyToken(X);let M=X.serviceUrl+"/"+E.v.AVATAR_API,N=$.buildBase(X),G=T.assign({},N._header_,{id:re,size:"M",base64:!0});return new Promise((ue,ve)=>{$.http.post(M,G,N.options).subscribe(we=>{let Re=we;if(Re._header_.success)$.commonService.aiwowDB.setCacheAvatar(re,Re.avatar),ue(Re.avatar);else{if($.logService.error("fetchAvatar Faild:",Re),"Qs.Token.Invalid"==Re._header_.errorCode)return X&&$.tenantLoginInfos.delete(X.tenantId),void ue($.fetchAvatar(me,re));ue(E.v.DEFAULT_AVATAR)}})})}catch(X){return $.logService.error("fetchAvatar Catch Exception:",X),E.v.DEFAULT_AVATAR}})()}fetchRoomAIStatus(me,re){var $=this;return(0,c.A)(function*(){try{let X=$.getTenantById(me);if(!X)return $.logService.error("fetchRoomAIStatus Catch tenantItem is null"),{_header_:{success:!1,errorCode:"notFount"}};yield $.applyToken(X);let M=X.serviceUrl+"/"+E.v.CE_ROOM_STATUS,N=$.buildBase(X),G=T.assign({},N._header_,{roomId:re});return new Promise((ue,ve)=>{$.http.post(M,G,N.options).subscribe(we=>{let Re=we;if(Re._header_.success){var et;$.logService.debug("fetchRoomAIStatus",Re),T.isEmpty(Re.serviceNumberStatus)||"robotservice"!=(null===(et=Re.serviceNumberStatus)||void 0===et?void 0:et.toLocaleLowerCase())?k.co._roomAIStatusChanged.next({type:k.Mi.noAiServiced,tenantId:me,roomId:re}):k.co._roomAIStatusChanged.next({type:k.Mi.aiServiced,tenantId:me,roomId:re}),ue(Re)}else{if($.logService.error("fetchRoomAIStatus Faild:",Re),"Qs.Token.Invalid"==Re._header_.errorCode)return X&&$.tenantLoginInfos.delete(X.tenantId),void ue($.fetchRoomAIStatus(me,re));ue(Re)}})})}catch(X){throw $.logService.error("fetchRoomAgentServiced Catch Exception:",X),new Error("Excption ")}})()}fetchChatRoomInfo(me,re){var $=this;return(0,c.A)(function*(){try{let X=$.getTenantById(me);if(!X)return void $.logService.error("fetchChatRoomInfo Catch tenantItem is null");yield $.applyToken(X);let M=X.serviceUrl+"/"+E.v.CE_CHAT_ROOM_ITEM,N=$.buildBase(X),G=T.assign({},N._header_,{roomId:re});return new Promise((ue,ve)=>{$.http.post(M,G,N.options).subscribe(we=>{let Re=we;
1if(Re._header_.success){var et;let at=$.processChatRoomFormServer(me,null!==(et=null==X?void 0:X.tenantCode)&&void 0!==et?et:"",Re);ue(at)}else{if($.logService.error("fetchChatRoomInfo Faild:",Re),"Qs.Token.Invalid"==Re._header_.errorCode)return X&&$.tenantLoginInfos.delete(X.tenantId),void ue($.fetchChatRoomInfo(me,re));ue(void 0)}})})}catch(X){throw $.logService.error("fetchChatRoomInfo Catch Exception:",X),new Error("Excption ")}})()}processChatRoomFormServer(me,re,$){var X;let M=T.assign({},$);if(M.users=[],M.messages=[],M.showName=$.name||"","servicemember"==(null===(X=M.type)||void 0===X?void 0:X.toLowerCase())&&(M.showName=M.serviceNumberName),M.isNotice=!1,M.isHide=!1,M.unReadNum=M.unReadNum||0,M.tenantId=me,M.tenantCode=re,this.commonService.processThreadType(M),!T.isEmpty(M.lastMessage)){var N,G;let we=T.assign({},M.lastMessage);M.lastMessageId=we.id,we.roomId=M.id,we=this.commonService.processMessage(we,!1),we.sentAt=new Date(null!==(N=we.sendTime)&&void 0!==N?N:new Date),we.isUser=we.senderId==this.getLoginInfo(null!=me?me:"").user.id,M.lastMessage=we,M.lastMessageTime=null!==(G=we.sendTime)&&void 0!==G?G:0,(M.lastMessage.sendTime||0)>(M.lastUpdateMessageTime||0)&&(M.lastUpdateMessageTime=M.lastMessage.sendTime)}var ue,ve;return M.threadType==y.bF.serviceNumber?this.fetchAvatar(me,null!==(ue=M.serviceNumberAvatarId)&&void 0!==ue?ue:"").then(we=>{M.avatarUrl=we}):this.fetchAvatar(me,null!==(ve=M.avatarId)&&void 0!==ve?ve:"").then(we=>{M.avatarUrl=we}),this.commonService.aiwowDB.addChatRoom(M),M}fetchServiceNumberInfo(me,re){var $=this;return(0,c.A)(function*(){try{if(T.isEmpty(re))return;let X=$.getTenantById(me);if(!X)return void $.logService.error("fetchServiceNumberInfo Catch tenantItem is null");yield $.applyToken(X);let M=X.serviceUrl+"/"+E.v.CE_SERVICENUMBERITEM,N=$.buildBase(X),G=T.assign({},N._header_,{serviceNumberId:re});return new Promise((ue,ve)=>{$.http.post(M,G,N.options).subscribe(we=>{let Re=we;if(Re._header_.success&&Re.success){var et,at,Pt;$.logService.debug("fetchServiceNumberInfo",Re);let At=T.assign({},Re.serviceNumberInfo);At.id=null!==(et=null!==(at=At.id)&&void 0!==at?at:At.serviceNumberId)&&void 0!==et?et:"",At.tenantId=me,$.processChatRoomFormServer(me,null!==(Pt=null==X?void 0:X.tenantCode)&&void 0!==Pt?Pt:"",Re.roomInfo),$.commonService.aiwowDB.addServiceNumber(At.id,At),ue(At)}else{if($.logService.error("fetchServiceNumberInfo Faild:",Re),"Qs.Token.Invalid"==Re._header_.errorCode)return X&&$.tenantLoginInfos.delete(X.tenantId),void ue($.fetchServiceNumberInfo(me,re));ue(void 0)}})})}catch(X){throw $.logService.error("fetchServiceNumberInfo Catch Exception:",X),new Error("Excption ")}})()}downLoadFileXHR(me,re,$){let X=this.buildBase(me),M=re;return null!=re&&re.toLowerCase().startsWith("http")||(M=me.serviceUrl+re),this.logService.debug("downLoadVoiceXHR:"+M),T.assign({},X._header_,{}),p.c.create(G=>{let ue=new XMLHttpRequest;ue.open("POST",M,!0),ue.setRequestHeader("Content-type","application/json"),ue.responseType="blob",ue.onprogress=ve=>{$.downloadPer=ve.loaded/($.fileSize||1)},ue.ontimeout=ve=>{console.error(ve),$.downloadFlag=!1,$.downxhr=void 0,G.error(ve)},ue.onabort=ve=>{$.downloadFlag=!1,$.downxhr=void 0,G.next("abort"),G.complete()},ue.onerror=ve=>{this.logService.debug("onerror",ve),$.downloadFlag=!1,$.downxhr=void 0,G.error(ve)},ue.onreadystatechange=()=>{if(4===ue.readyState)if(200===ue.status){var ve;if($.downloadFlag=!1,$.downxhr=void 0,"application/json"===ue.response.type)return $.downloadFlag=!1,$.downxhr=void 0,void G.error(ue.response);let et="video/mp4",at=$.fileName,Pt=null==at||null===(ve=at.split(".").pop())||void 0===ve?void 0:ve.toLowerCase();et=E.v.getMediaTypeWithExt(null!=Pt?Pt:"");let At=new Blob([ue.response],{type:et});$.file=At;var we=URL.createObjectURL(At);G.next(we),G.complete()}else $.downloadFlag=!1,$.downxhr=void 0,0===ue.status?(G.next("abort"),G.complete()):G.error(ue.response)},ue.send(JSON.stringify(X._header_)),$.downloadPer=0,$.downloadFlag=!0,$.downxhr=ue})}downLoadVoiceXHR(me,re){let $=this.buildBase(me),X=re;
1return null!=re&&re.toLowerCase().startsWith("http")||(X=me.serviceUrl+re),this.logService.debug("downLoadVoiceXHR:"+X),T.assign({},$._header_,{}),new p.c(N=>{let G=new XMLHttpRequest;G.open("POST",X,!0),G.setRequestHeader("Content-type","application/json"),G.responseType="arraybuffer",G.onreadystatechange=()=>{if(4===G.readyState)if(200===G.status){let ue=new Uint8Array(G.response),ve=E.v.toWAV(ue),we="";we=T.isNull(ve)||T.isUndefined(ve)?URL.createObjectURL(new Blob([ue],{type:"audio/x-wav"})):URL.createObjectURL(new Blob([ve],{type:"audio/x-wav"})),N.next(we),N.complete()}else N.error(G.response)},G.send(JSON.stringify($._header_))})}downLoadStickerXHR(me,re){let $=this.buildBase(me),X=re;return null!=re&&re.toLowerCase().startsWith("http")||(X=me.serviceUrl+re),this.logService.debug("downLoadStickerXHR:"+X),T.assign({},$._header_,{}),p.c.create(N=>{let G=new XMLHttpRequest;G.open("GET",X,!0),G.setRequestHeader("Content-type","image/gif"),G.setRequestHeader("Access-Control-Allow-Origin","*"),G.responseType="arraybuffer",G.ontimeout=ue=>{N.error(ue)},G.onabort=ue=>{N.error(G.response),N.complete()},G.onerror=ue=>{this.logService.debug("onerror",ue),N.error(ue)},G.onreadystatechange=()=>{if(4===G.readyState)if(200===G.status){var ue=new Uint8Array(G.response);if(123===ue[0])return N.error(G.response),void N.complete();var ve=new Blob([ue],{type:"image/jpeg"});N.next(ve),N.complete()}else N.error(G.response)},G.send(JSON.stringify($._header_))})}downLoadImageXHR(me,re,$,X=!0){let M=this.buildBase(me),N=re;return null!=re&&re.toLowerCase().startsWith("http")||(N=me.serviceUrl+re),this.logService.debug("downLoadImageXHR:"+N),T.assign({},M._header_,{}),new p.c(ue=>{let ve=new XMLHttpRequest;ve.open("POST",N,!0),ve.setRequestHeader("Content-type","application/json"),ve.setRequestHeader("Content-type","image/jpeg"),ve.setRequestHeader("Access-Control-Allow-Origin","*"),ve.responseType="arraybuffer",ve.onreadystatechange=()=>{if(4===ve.readyState)if(200===ve.status){var we;let Re=new Uint8Array(ve.response);if(123===Re[0])return ue.next(""),void ue.complete();let et="image/jpeg",at=N.split("/").pop(),Pt=null==at||null===(we=at.split(".").pop())||void 0===we?void 0:we.toLowerCase();et=E.v.getMediaTypeWithExt(null!=Pt?Pt:"");let At=URL.createObjectURL(new Blob([Re],{type:et}));X?$.fileImg=new Blob([Re],{type:et}):$.file=new Blob([Re],{type:et}),ue.next(At),ue.complete()}else ue.error(ve.response)},ve.send(JSON.stringify(M._header_))})}getMessageReadingState(me,re,$){var X=this;return(0,c.A)(function*(){try{if($.length<=0)return;let M=X.getTenantById(me);if(!M)return X.logService.error("getMessageReadingState Catch tenantItem is null"),[];yield X.applyToken(M);let N=M.serviceUrl+"/"+E.v.CE_MSG_READING_STATE,G=X.buildBase(M),ue=T.assign({},G._header_,{roomId:re,messageIds:$});return new Promise((ve,we)=>{X.http.post(N,ue,G.options).subscribe(Re=>{let et=Re;if(et._header_.success)et.items.forEach(function(){var Pt=(0,c.A)(function*(At){delete At.flag,At=X.commonService.processMessage(At,!1);let It=yield X.commonService.aiwowDB.updateMessageFlag(At.id,At);k.co._messageChanged.next({type:k.nq.refresh,tenantId:me,roomId:null!=re?re:"",message:It})});return function(At){return Pt.apply(this,arguments)}}()),ve(et);else{if(X.logService.error("getMessageReadingState Faild:",et),"Qs.Token.Invalid"==et._header_.errorCode)return M&&X.tenantLoginInfos.delete(M.tenantId),void ve(X.getMessageReadingState(me,re,$));ve([])}})})}catch(M){throw X.logService.error("getMessageReadingState Catch Exception:",M),new Error("Excption ")}})()}getMessages(me,re,$,X){var M=this;return(0,c.A)(function*(){$<0&&($=0),X<0&&(X=0);try{let N=M.getTenantById(me);if(!N)return M.logService.error("getMessages Catch tenantItem is null"),[];yield M.applyToken(N);let G=N.serviceUrl+"/"+E.v.CE_ROOM_MSG_SYNC,ue=M.buildBase(N),ve=T.assign({},ue._header_,{roomId:re,pageSize:50,previous_sequence:$,last_sequence:X,sort:"asc"});return new Promise((we,Re)=>{M.http.post(G,ve,ue.options).subscribe(et=>{let at=et;if(at._header_.success){let Pt=at.items;Pt.forEach(At=>{var It,qt;(At=M.commonService.processMessage(At,!1)).sentAt=new Date(null!==(It=At.sendTime)&&void 0!==It?It:new Date),At.isUser=At.senderId==(null===(qt=M.getLoginInfo(null!=me?me:""))||void 0===qt?void 0:qt.user.id),M.commonService.aiwowDB.addMessage(At)}),we(Pt)}else{if(M.logService.error("getMessages Faild:",at),"Qs.Token.Invalid"==at._header_.errorCode)return N&&M.tenantLoginInfos.delete(N.tenantId),void we(M.getMessages(me,re,$,X));we([])}})})}catch(N){throw M.logService.error("getMessages Catch Exception:",N),new Error("Excption ")}})()}getUtc(me){return(0,P.a)(me)}preSendMessage(me,re,$,X,M,N,G,ue,ve){var we=this;return(0,c.A)(function*(){var Re;let et=null===(Re=we.getLoginInfo(me))||void 0===Re?void 0:Re.user,at={
1id:re,roomId:$,fromRoomId:$,author:et,senderId:et.id,senderName:et.name,isUser:!0,messageType:X,type:E.v.enumMsgType(X),content:M,from:N,themeId:G,customData:ue,sendTime:(new Date).getTime(),sentAt:new Date,status:"sending",flag:0};return X==y.Go.image?(at.fileImg=ve,at.fileName=null==ve?void 0:ve.name):(at.file=ve,at.fileName=null==ve?void 0:ve.name,at.fileSize=null==ve?void 0:ve.size),X==y.Go.postbackaction&&(at.quickClick=!0,at.type=E.v.enumMsgType(y.Go.plain),at.messageType=y.Go.plain),at.sendNum=-1,at.readedNum=0,at.receivedNum=0,at.sendTime=(new Date).valueOf(),at.sentAt=we.getUtc(new Date),yield we.commonService.aiwowDB.addMessage(at),k.co._messageChanged.next({type:k.nq.add,tenantId:me,roomId:at.roomId,message:at}),at})()}updateSendMessage(me,re,$,X){var M=this;return(0,c.A)(function*(){if($._header_.success){var N,G;let ue={status:"sent",sendNum:$.sendNum,readedNum:$.readedNum,receivedNum:$.receivedNum,sendTime:null!==(N=$.sendTime)&&void 0!==N?N:(new Date).valueOf(),sequence:$.sequence,sentAt:M.getUtc(new Date(null!==(G=$.sendTime)&&void 0!==G?G:0)),roomId:re};X&&(ue=T.assign(X,ue));let ve=yield M.commonService.aiwowDB.updateMessageFlag(me,ue);k.co._messageChanged.next({type:k.nq.update,roomId:null==ve?void 0:ve.roomId,message:ve})}else{let ue={status:"faild"},ve=yield M.commonService.aiwowDB.updateMessageFlag(me,ue);k.co._messageChanged.next({type:k.nq.update,roomId:null==ve?void 0:ve.roomId,message:ve})}})()}sendQuickReply(me,re,$,X,M="",N="Aiwow",G){var ue=this;return(0,c.A)(function*(){T.isEmpty(me)&&(me=E.v.uuid());try{let ve=ue.getTenantById(re);if(!ve)return void ue.logService.error("sendQuickReply Catch tenantItem is null");yield ue.applyToken(ve);let we=ve.serviceUrl+"/"+E.v.CE_CHAT_MESSAGE_SEND,Re=ue.buildBase(ve),et=T.assign({},Re._header_,{messageId:me,roomId:$,type:E.v.enumMsgType(y.Go.postbackaction),content:X,from:N,themeId:M,customData:G}),at=yield ue.preSendMessage(re,me,null!=$?$:"",y.Go.postbackaction,X.displayText,N,M,G);return yield ue.commonService.aiwowDB.addMessage(at),new Promise((Pt,At)=>{ue.http.post(we,et,Re.options).subscribe(It=>{let qt=It;if(qt._header_.success)ue.updateSendMessage(at.id,$,qt),Pt();else{if(ue.logService.error("sendQuickReply Faild:",qt),"Qs.Token.Invalid"==qt._header_.errorCode)return ve&&ue.tenantLoginInfos.delete(ve.tenantId),void Pt(ue.sendQuickReply(me,re,$,X,M,N,G));Pt()}})})}catch(ve){throw ue.logService.error("sendQuickReply Catch Exception:",ve),ue.updateSendMessage(me,null!=$?$:"",{_header_:{success:!1}}),new Error("Excption ")}})()}sendToOllama(me,re,$,X,M="",N="Aiwow",G){var ue=this;return(0,c.A)(function*(){var ve;let we=yield ue.preSendMessage(me,re,null!==(ve=$.id)&&void 0!==ve?ve:"",y.Go.plain,X,N,M,G);ue.ollama.chat({model:"llama3",messages:[{role:"system",content:"\u4f60\u662f\u4e00\u500b\u4e2d\u6587\u52a9\u624b,\u4e4b\u5f8c\u5747\u4f7f\u7528\u4e2d\u6587\u56de\u5fa9"},{role:"user",content:X}]}).then(function(){var Re=(0,c.A)(function*(et){var at,Pt;ue.updateSendMessage(we.id,null!==(at=$.id)&&void 0!==at?at:"",{_header_:{success:!0}});let At=yield ue.preSendMessage(me,E.v.uuid(),null!==(Pt=$.id)&&void 0!==Pt?Pt:"",y.Go.plain,et.message.content,N,M,G);At.isUser=!1,At.status="sent",ue.commonService.aiwowDB.addMessage(we)});return function(et){return Re.apply(this,arguments)}}())})()}sendImageToOllama(me,re,$,X,M="",N="Aiwow"){var G=this;return(0,c.A)(function*(){var ue;let ve=yield G.preSendMessage(me,re,null!==(ue=$.id)&&void 0!==ue?ue:"",y.Go.image,"",N,M,"",X),we=yield G.commonService.fileToUint8Array(X);G.ollama.chat({model:"llama3",messages:[{role:"system",content:"\u4f60\u662f\u4e00\u500b\u4e2d\u6587\u52a9\u624b,\u4e4b\u5f8c\u5747\u4f7f\u7528\u4e2d\u6587\u56de\u5fa9"},{role:"user",images:[we],content:"\u8acb\u63cf\u8ff0\u9019\u500b\u5716\u7247"}]}).then(function(){var Re=(0,c.A)(function*(et){var at,Pt;G.updateSendMessage(ve.id,null!==(at=$.id)&&void 0!==at?at:"",{_header_:{success:!0}});let At=yield G.preSendMessage(me,E.v.uuid(),null!==(Pt=$.id)&&void 0!==Pt?Pt:"",y.Go.plain,et.message.content,N,M,"");At.isUser=!1,At.status="sent",G.commonService.aiwowDB.addMessage(ve)});return function(et){return Re.apply(this,arguments)}}())})()}sendMessageTxt(me,re,$,X,M="",N="Aiwow",G){var ue=this;return(0,c.A)(function*(){try{var ve;if(T.isEmpty(re)&&(re=E.v.uuid()),ue.commonService.useAI)return ue.sendToOllama(me,re,$,X,M,N,G);let Re=ue.getTenantById(me);
1if(!Re)return void ue.logService.error("sendMessageTxt Catch tenantItem is null");yield ue.applyToken(Re);let et=Re.serviceUrl+"/"+E.v.CE_CHAT_MESSAGE_SEND,at=ue.buildBase(Re),Pt=T.assign({},at._header_,{messageId:re,roomId:$.id,type:E.v.enumMsgType(y.Go.plain),content:X,from:N,themeId:M,customData:G}),At=yield ue.preSendMessage(me,re,null!==(ve=$.id)&&void 0!==ve?ve:"",y.Go.plain,X,N,M,G);return new Promise((It,qt)=>{ue.http.post(et,Pt,at.options).subscribe(St=>{let lt=St;if(lt._header_.success){var yt;ue.updateSendMessage(At.id,null!==(yt=$.id)&&void 0!==yt?yt:"",lt),It()}else{var Ft;if(ue.logService.error("sendMessageTxt Faild:",lt),ue.updateSendMessage(At.id,null!==(Ft=$.id)&&void 0!==Ft?Ft:"",lt),"Qs.Token.Invalid"==lt._header_.errorCode)return Re&&ue.tenantLoginInfos.delete(Re.tenantId),void It(ue.sendMessageTxt(me,re,$,X,M,N,G));It()}})})}catch(Re){var we;throw ue.logService.error("sendMessageTxt Catch Exception:",Re),ue.updateSendMessage(re,null!==(we=$.id)&&void 0!==we?we:"",{_header_:{success:!1}}),new Error("Excption ")}})()}sendMessageSticker(me,re,$,X,M="",N="Aiwow"){var G=this;return(0,c.A)(function*(){try{var ue;let we=G.getTenantById(me);if(!we)return void G.logService.error("sendMessageSticker Catch tenantItem is null");yield G.applyToken(we);let Re=we.serviceUrl+"/"+E.v.CE_CHAT_MESSAGE_SEND,et=G.buildBase(we),at=T.assign({},et._header_,{messageId:re,roomId:$.id,type:E.v.enumMsgType(y.Go.sticker),content:X,from:N,themeId:M}),Pt=yield G.preSendMessage(me,re,null!==(ue=$.id)&&void 0!==ue?ue:"",y.Go.sticker,X,N,M,"");return new Promise((At,It)=>{G.http.post(Re,at,et.options).subscribe(qt=>{let St=qt;if(St._header_.success){var lt;G.updateSendMessage(Pt.id,null!==(lt=$.id)&&void 0!==lt?lt:"",St),At()}else{var yt;if(G.logService.error("sendMessageSticker Faild:",St),G.updateSendMessage(Pt.id,null!==(yt=$.id)&&void 0!==yt?yt:"",St),"Qs.Token.Invalid"==St._header_.errorCode)return we&&G.tenantLoginInfos.delete(we.tenantId),void At(G.sendMessageSticker(me,re,$,X,M,N));At()}})})}catch(we){var ve;throw G.logService.error("sendMessageSticker Catch Exception:",we),G.updateSendMessage(re,null!==(ve=$.id)&&void 0!==ve?ve:"",{_header_:{success:!1}}),new Error("Excption ")}})()}uploadFile(me,re,$){return new Promise((X,M)=>{let N=this.buildBase(me),G=me.serviceUrl+"/"+E.v.CE_BASE_UPLOAD_FILE,ue=T.assign({},N._header_,{life:"m"}),ve=new FormData;ve.append("file",re),ve.append("args",JSON.stringify(ue));let we=new XMLHttpRequest;we.upload.onprogress=Re=>{$&&($.uploadPer=Re.loaded/((null==$?void 0:$.fileSize)||1),k.co._messageChanged.next({type:k.nq.refresh,tenantId:me.tenantId,roomId:$.roomId,message:$}))},we.onreadystatechange=()=>{if(4===we.readyState)if($&&($.uploadFlag=!1,$.upxhr=void 0,k.co._messageChanged.next({type:k.nq.refresh,tenantId:me.tenantId,roomId:$.roomId,message:$})),200===we.status){let Re=JSON.parse(we.response);Re._header_.success?(delete Re._header_,X(Re)):X(null)}else $&&($.uploadFlag=!1,$.upxhr=void 0),0===we.status?X({_header_:{success:!1}}):M(we.response)},we.open("POST",G,!0),we.send(ve),$&&($.uploadPer=0,$.upxhr=we,$.uploadFlag=!0)})}sendMessageVoice(me,re,$,X,M,N="",G="Aiwow"){var ue=this;return(0,c.A)(function*(){try{var ve;let Re=ue.getTenantById(me);if(!Re)return void ue.logService.error("sendMessageVoice Catch tenantItem is null");yield ue.applyToken(Re);let et=JSON.stringify({duration:X}),at=new File([M],"record.wav",{type:"audio/wav"}),Pt=yield ue.preSendMessage(me,re,null!==(ve=$.id)&&void 0!==ve?ve:"",y.Go.voice,et,G,N,"",at),At=yield ue.audioConversionService.convertWavToM4a(at,"record.m4a"),It=yield ue.uploadFile(Re,At,Pt);et=T.assign({},It,{duration:X}),Pt.content=JSON.stringify(et);let qt=Re.serviceUrl+"/"+E.v.CE_CHAT_MESSAGE_SEND,St=ue.buildBase(Re),lt=T.assign({},St._header_,{messageId:re,roomId:$.id,type:E.v.enumMsgType(y.Go.voice),content:et,duration:X,from:G,themeId:N});return new Promise((yt,Ft)=>{ue.http.post(qt,lt,St.options).subscribe(rt=>{let mt=rt;if(mt._header_.success){var Mt;ue.updateSendMessage(Pt.id,null!==(Mt=$.id)&&void 0!==Mt?Mt:"",mt,Pt),yt()}else{var Vt;if(ue.logService.error("sendMessageVoice Faild:",mt),ue.updateSendMessage(Pt.id,null!==(Vt=$.i
1d)&&void 0!==Vt?Vt:"",mt,Pt),"Qs.Token.Invalid"==mt._header_.errorCode)return Re&&ue.tenantLoginInfos.delete(Re.tenantId),void yt(ue.sendMessageVoice(me,re,$,X,at,N,G));yt()}})})}catch(Re){var we;throw ue.logService.error("sendMessageVoice Catch Exception:",Re),ue.updateSendMessage(re,null!==(we=$.id)&&void 0!==we?we:"",{_header_:{success:!1}}),new Error("Excption ")}})()}sendMessageImage(me,re,$,X,M="",N="Aiwow"){var G=this;return(0,c.A)(function*(){try{var ue;let we=G.getTenantById(me);if(!we)return void G.logService.error("sendMessageImage Catch tenantItem is null");yield G.applyToken(we);let Re=we.serviceUrl+"/"+E.v.CE_CHAT_MESSAGE_SEND,et=G.buildBase(we),at=T.assign({},et._header_,{messageId:re,roomId:$.id,type:E.v.enumMsgType(y.Go.image),from:N,themeId:M}),Pt=yield G.preSendMessage(me,re,null!==(ue=$.id)&&void 0!==ue?ue:"",y.Go.image,"",N,M,"",X),At=yield G.uploadFile(we,X,Pt);return at.content=At,Pt.content=JSON.stringify(At),new Promise((It,qt)=>{G.http.post(Re,at,et.options).subscribe(St=>{let lt=St;if(lt._header_.success){var yt;G.updateSendMessage(Pt.id,null!==(yt=$.id)&&void 0!==yt?yt:"",lt,Pt),It()}else{var Ft;if(G.logService.error("sendMessageImage Faild:",lt),G.updateSendMessage(Pt.id,null!==(Ft=$.id)&&void 0!==Ft?Ft:"",lt,Pt),"Qs.Token.Invalid"==lt._header_.errorCode)return we&&G.tenantLoginInfos.delete(we.tenantId),void It(G.sendMessageImage(me,re,$,X,M,N));It()}})})}catch(we){var ve;throw G.logService.error("sendMessageImage Catch Exception:",we),G.updateSendMessage(re,null!==(ve=$.id)&&void 0!==ve?ve:"",{_header_:{success:!1}}),new Error("Excption ")}})()}sendMessageFile(me,re,$,X,M="",N="Aiwow"){var G=this;return(0,c.A)(function*(){try{var ue,ve;let Re=G.getTenantById(me);if(!Re)return void G.logService.error("sendMessageFile Catch tenantItem is null");yield G.applyToken(Re);let et=Re.serviceUrl+"/"+E.v.CE_CHAT_MESSAGE_SEND,at=G.buildBase(Re),Pt=T.assign({},at._header_,{messageId:re,roomId:$.id,type:E.v.enumMsgType(y.Go.file),from:N,themeId:M}),At=null===(ue=X.name)||void 0===ue||null===(ue=ue.split(".").pop())||void 0===ue?void 0:ue.toLowerCase(),It=y.Go.file;("mp4"==At||"mov"==At)&&(It=y.Go.video);let qt="";if(It==y.Go.video){let yt=document.createElement("video");yt.src=URL.createObjectURL(X),yt.onloadedmetadata=()=>{let Ft=yt.videoWidth,rt=yt.videoHeight;qt=JSON.stringify({width:Ft,height:rt,thumbnailWidth:Ft,thumbnailHeight:rt})}}let St=yield G.preSendMessage(me,re,null!==(ve=$.id)&&void 0!==ve?ve:"",It,qt,N,M,"",X),lt=yield G.uploadFile(Re,X,St);return Pt.content=lt,St.content=JSON.stringify(lt),k.co._messageChanged.next({type:k.nq.contentUpdate,tenantId:me,roomId:St.roomId,message:St}),new Promise((yt,Ft)=>{G.http.post(et,Pt,at.options).subscribe(rt=>{let mt=rt;if(mt._header_.success){var Mt;G.updateSendMessage(St.id,null!==(Mt=$.id)&&void 0!==Mt?Mt:"",mt,St),yt()}else{var Vt;if(G.logService.error("sendMessageFile Faild:",mt),G.updateSendMessage(St.id,null!==(Vt=$.id)&&void 0!==Vt?Vt:"",mt,St),"Qs.Token.Invalid"==mt._header_.errorCode)return Re&&G.tenantLoginInfos.delete(Re.tenantId),void yt(G.sendMessageFile(me,re,$,X,M,N));yt()}})})}catch(Re){var we;throw G.logService.error("sendMessageFile Catch Exception:",Re),G.updateSendMessage(re,null!==(we=$.id)&&void 0!==we?we:"",{_header_:{success:!1}}),new Error("Excption ")}})()}sendMessageTemplate(me,re,$,X,M="",N="Aiwow",G){var ue=this;return(0,c.A)(function*(){try{var ve;let Re=ue.getTenantById(me);if(!Re)return void ue.logService.error("sendMessageTemplate Catch tenantItem is null");yield ue.applyToken(Re);let et=Re.serviceUrl+"/"+E.v.CE_CHAT_MESSAGE_SEND,at=ue.buildBase(Re),Pt=T.assign({},at._header_,{messageId:re,roomId:$.id,type:E.v.enumMsgType(y.Go.template),content:X,from:N,themeId:M,customData:G}),At=yield ue.preSendMessage(me,re,null!==(ve=$.id)&&void 0!==ve?ve:"",y.Go.template,X,N,M,"");return new Promise((It,qt)=>{ue.http.post(et,Pt,at.options).subscribe(St=>{let lt=St;if(lt._header_.success){var yt;ue.updateSendMessage(At.id,null!==(yt=$.id)&&void 0!==yt?yt:"",lt),It()}else{var Ft;if(ue.logService.error("sendMessageTemplate Faild:",lt),ue.updateSendMessage(At.id,null!==(Ft=$.id)&&void 0!==Ft?Ft:"",lt),"Qs.Token.Invalid"==lt._header_.errorCode)return Re&&ue.tenantLoginInfos.delete(Re.tenantId),void It(ue.sendMessageTemplate(me,re,$,X,M,N,G));It()}})})}catch(Re){var we;
1throw ue.logService.error("sendMessageTemplate Catch Exception:",Re),ue.updateSendMessage(re,null!==(we=$.id)&&void 0!==we?we:"",{_header_:{success:!1}}),new Error("Excption ")}})()}sendMessageCarousel(me,re,$,X,M="",N="Aiwow",G){var ue=this;return(0,c.A)(function*(){try{var ve;let Re=ue.getTenantById(me);if(!Re)return void ue.logService.error("sendMessageTemplate Catch tenantItem is null");yield ue.applyToken(Re);let et=Re.serviceUrl+"/"+E.v.CE_CHAT_MESSAGE_SEND,at=ue.buildBase(Re),Pt=T.assign({},at._header_,{messageId:re,roomId:$.id,type:E.v.enumMsgType(y.Go.carousel),content:X,from:N,themeId:M,customData:G}),At=yield ue.preSendMessage(me,re,null!==(ve=$.id)&&void 0!==ve?ve:"",y.Go.carousel,X,N,M,"");return new Promise((It,qt)=>{ue.http.post(et,Pt,at.options).subscribe(St=>{let lt=St;if(lt._header_.success){var yt;ue.updateSendMessage(At.id,null!==(yt=$.id)&&void 0!==yt?yt:"",lt),It()}else{var Ft;if(ue.logService.error("sendMessageTemplate Faild:",lt),ue.updateSendMessage(At.id,null!==(Ft=$.id)&&void 0!==Ft?Ft:"",lt),"Qs.Token.Invalid"==lt._header_.errorCode)return Re&&ue.tenantLoginInfos.delete(Re.tenantId),void It(ue.sendMessageTemplate(me,re,$,X,M,N,G));It()}})})}catch(Re){var we;throw ue.logService.error("sendMessageTemplate Catch Exception:",Re),ue.updateSendMessage(re,null!==(we=$.id)&&void 0!==we?we:"",{_header_:{success:!1}}),new Error("Excption ")}})()}downloadVoiceFromMessage(me,re){var $=this;return(0,c.A)(function*(){let M=JSON.parse(re.content||"{}").url;if(T.isEmpty(M))return"";let N=$.getTenantById(me);return T.isEmpty(N)?"":new Promise((G,ue)=>{$.downLoadVoiceXHR(N,M).pipe((0,b.W)(ve=>(0,R.of)(""))).subscribe(ve=>{re.fileblobUrl=ve,G(ve)})})})()}getMessageThumbnailImg(me,re){var $=this;return(0,c.A)(function*(){var X;if(!T.isEmpty(re.imageblobUrl))return null!==(X=re.imageblobUrl)&&void 0!==X?X:"";let N=JSON.parse(re.content||"{}").thumbnailUrl;if(T.isEmpty(N))return"";let G=$.getTenantById(null!=me?me:"");return T.isEmpty(G)?"":new Promise((ue,ve)=>{$.downLoadImageXHR(G,N,re,!0).pipe((0,b.W)(we=>(0,R.of)(""))).subscribe(we=>{re.fileblobUrl=we,$.commonService.aiwowDB.addMessage(re),ue(we)})})})()}getMessageImage(me,re){var $=this;return(0,c.A)(function*(){var X;if(!T.isEmpty(re.imageblobUrl))return null!==(X=re.imageblobUrl)&&void 0!==X?X:"";let N=JSON.parse(re.content||"{}").url;if(T.isEmpty(N))return"";let G=$.getTenantById(null!=me?me:"");return T.isEmpty(G)?"":new Promise((ue,ve)=>{$.downLoadImageXHR(G,N,re,!1).pipe((0,b.W)(we=>(0,R.of)(""))).subscribe(we=>{re.fileblobUrl=we,$.commonService.aiwowDB.addMessage(re),ue(we)})})})()}downloadFileFromMessage(me,re){var $=this;return(0,c.A)(function*(){let M=JSON.parse(re.content||"{}").url;if(T.isEmpty(M))return"";let N=$.getTenantById(null!=me?me:"");return T.isEmpty(N)?"":new Promise((G,ue)=>{$.downLoadFileXHR(N,M,re).pipe((0,b.W)(ve=>(0,R.of)(""))).subscribe(ve=>{re.fileblobUrl=ve,$.commonService.aiwowDB.addMessage(re),G(ve)})})})()}receivedMessage(me,re){var $=this;return(0,c.A)(function*(){try{let X=$.getTenantById(me);if(!X)return void $.logService.error("receivedMessage Catch tenantItem is null");yield $.applyToken(X);let M=X.serviceUrl+"/"+E.v.CE_CHAT_MESSAGE_RECEIVED,N=$.buildBase(X),G=T.assign({},N._header_,{messageIds:re});return new Promise((ue,ve)=>{$.http.post(M,G,N.options).subscribe(we=>{let Re=we;if(Re._header_.success)ue(Re);else{if($.logService.error("receivedMessage Faild:",Re),"Qs.Token.Invalid"==Re._header_.errorCode)return X&&$.tenantLoginInfos.delete(X.tenantId),void ue($.receivedMessage(me,re));ue(Re)}})})}catch(X){throw $.logService.error("receivedMessage Catch Exception:",X),new Error("Excption ")}})()}readAllMessage(me,re){var $=this;return(0,c.A)(function*(){try{if(T.isEmpty(re))return;let X=$.getTenantById(me);if(!X)return $.logService.error("readAllMessage Catch tenantItem is null"),{_header_:{success:!1,errorCode:"notFount"}};yield $.applyToken(X);let M=X.serviceUrl+"/"+E.v.CE_CHAT_MESSAGE_READ,N=$.buildBase(X),G=T.assign({},N._header_,{roomId:re.id});return new Promise((ue,ve)=>{$.http.post(M,G,N.options).subscribe(we=>{let Re=we;
1if(Re._header_.success){var et;$.logService.debug("readAllMessage",Re),$.commonService.aiwowDB.updateRoomUnread(null!==(et=re.id)&&void 0!==et?et:"",0),ue(Re)}else{if($.logService.error("readAllMessage Faild:",Re),"Qs.Token.Invalid"==Re._header_.errorCode)return X&&$.tenantLoginInfos.delete(X.tenantId),void ue($.readAllMessage(me,re));ue(Re)}})})}catch(X){throw $.logService.error("fetchTenantInfo Catch Exception:",X),new Error("Excption ")}})()}}var x=f(29685),q=f(26332),Z=f(90760),de=f(67859),ee=f(90490),Y=f(55544),ae=f(73955),fe=f(54438);let ne=(()=>{var ce;class me{get logService(){return this.injector.get(o.J)}get commonService(){return this.injector.get(C.hf)}get http(){return this.injector.get(x.p)}get cacheManagerService(){return this.injector.get(Z.F)}get storage(){return this.injector.get(de._)}get i18nService(){return this.injector.get(g.W)}get modalHelper(){return this.injector.get(Y.S)}get translateService(){return this.injector.get(ae.c$)}constructor($,X){this.injector=$,this.settingsService=X,this._uniqueID="",this.initPromise=null,this.ceservers=[],this.tenantIdToCEServerMap=new Map,this.init(),this.initTenantList(),k.co._loginAction.subscribe(M=>{M.type==k.es.logout?(this.ceservers=[],this.tenantIdToCEServerMap=new Map,this.init(),setTimeout(()=>{this.initTenantList()},1e3)):M.type==k.es.forceLogout&&this.modalHelper.showConfirm2(this.translateService.instant("Common.forceLogout"),this.translateService.instant("Common.forceLogoutMsg"),this.translateService.instant("Common.relogin"),this.translateService.instant("Common.exit")).then(N=>{N?window.location.reload():this.logout()})})}addToCEServer($){let X=this.ceservers.find(M=>M.serverUrl.toLocaleLowerCase()==$.serviceUrl.toLocaleLowerCase());if(X)X.addTenant($),this.tenantIdToCEServerMap.set($.tenantId,X);else{let M=new H(this.injector,$.serviceUrl);M.addTenant($),this.ceservers.push(M),this.tenantIdToCEServerMap.set($.tenantId,M)}}getCEServerByTenantId($){let X=this.tenantIdToCEServerMap.get($);return T.isEmpty(X)&&this.logService.error("getCEServerByTenantId not found "+$),X}getCEServerAndTenantItemByTenantCode($){let X=this.getTenantItemByCode($);if(T.isEmpty(X))return;let M=this.getCEServerByTenantId(X.tenantId);return T.isEmpty(M)?void 0:{ceServer:M,tenantItem:X}}getCEServerByTenantCode($){let X=this.ceservers.find(M=>M.tenants.find(N=>N.tenantCode==$));return T.isEmpty(X)&&this.logService.error("getCEServerByTenantCode not found "+$),X}getTenantList(){var $=this;return(0,c.A)(function*(){return $.initPromise&&(yield $.initPromise),$.ceservers.reduce((X,M)=>X.concat(M.tenants),[])})()}getAllCacheTenantList(){var $=this;return(0,c.A)(function*(){return $.initPromise&&(yield $.initPromise),$.ceservers.reduce((X,M)=>X.concat(M.tenants),[])})()}getTenantItemAsync($){var X=this;return(0,c.A)(function*(){X.initPromise&&(yield X.initPromise);let M=X.ceservers.reduce((N,G)=>N.concat(G.tenants),[]).find(N=>N.tenantId==$);if(T.isEmpty(M))throw new Error(`TenantItem ${$} not found`);return M})()}getTenantItem($){let X=this.ceservers.reduce((M,N)=>M.concat(N.tenants),[]).find(M=>M.tenantId==$);if(T.isEmpty(X))throw new Error(`TenantItem ${$} not found`);return X}getTenantItemByCodeAsync($){var X=this;return(0,c.A)(function*(){X.initPromise&&(yield X.initPromise);let M=X.ceservers.reduce((N,G)=>N.concat(G.tenants),[]).find(N=>N.tenantCode==$);return T.isEmpty(M)&&X.logService.error(`TenantItem ${$} not found`),M})()}getTenantItemByCode($){let X=this.ceservers.reduce((M,N)=>M.concat(N.tenants),[]).find(M=>M.tenantCode==$);return T.isEmpty(X)&&this.logService.error(`TenantItem ${$} not found`),X}buildBase(){var $;return{options:{headers:new v.Lr({"Content-Type":"application/json;charset=utf-8"})},_header_:{_header_:{tokenId:null===($=this.commonService.logInUser)||void 0===$?void 0:$.tokenId,language:this.i18nService.getCELanguage()}}}}applyToken(){var $=this;return(0,c.A)(function*(){var X;T.isEmpty(null===(X=$.commonService.logInUser)||void 0===X?void 0:X.tokenId)&&(yield $.refreshToken())})()}refreshToken(){var $=this;return(0,c.A)(function*(){var X,M;let N=null!==(X=null===(M=$.commonService.logInUser)||void 0===M?void 0:M.refreshTokenId)&&void 0!==X?X:"";if(T.isEmpty(N))return!1;let G=$.settingsService.app.apiUrl+E.v.CP_REFRESH_TOKEN,ue=T.assign({},{refreshTokenId:N});return new Promise((ve,we)=>{$.http.post(G,ue).subscribe(Re=>{let at=$.commonService.DecryptResponse(Re);var Pt;at._header_.success&&"0000"==at.status?($.commonService.logInUser&&($.commonService.logInUser.tokenId=at.tokenId,$.logService.debug("refreshToken Success:",at),k.co._loginAction.next({type:k.es.logined,userId:null!==(Pt=$.commonService.logInUser.accountId)&&void 0!==Pt?Pt:""}),$.storage.getItem("rememberMe").then(At=>{T.isBoolean(At)&&At&&$.storage.saveItem("user",$.commonService.logInUser,ee.B.app,E.v.ttl4Week)}
1)),ve(!0)):($.logService.error("refreshToken Faild:",at),$.logout(),ve(!1))})})})()}init(){this._uniqueID=(0,q.GP)(new Date,"yyyyMMddHHmmssSSS"),this.commonService.deviceData={uniqueID:this._uniqueID,deviceType:"web",deviceName:"aiwow",osType:this.commonService.osType,from:"Aiwow",bundleId:z.c.pushBundleId,version:z.c.VERSION}}registerUser($,X,M){var N=this;return(0,c.A)(function*(){let G=N.settingsService.app.apiUrl+E.v.CP_REG,ue=T.assign({},{name:$,mobile:X,countryCode:M,uniqueID:N._uniqueID,deviceType:"web",from:"Aiwow",deviceName:"Aiwow",bundleId:"tw.com.aile.chainsea",_header_:{language:N.i18nService.getCELanguage()}});return new Promise((ve,we)=>{N.http.post(G,ue).subscribe(Re=>{let at=N.commonService.DecryptResponse(Re);at._header_.success&&"0000"==at.status?ve({result:!0,response:at}):(N.logService.error("registerUser Faild:",at),ve({result:!1,response:at}))})})})()}sendOTP($,X){var M=this;return(0,c.A)(function*(){let N=M.settingsService.app.apiUrl+E.v.CP_OTP_SEND,G=T.assign({},{mobile:$,countryCode:X,_header_:{language:M.i18nService.getCELanguage()}});return new Promise((ue,ve)=>{M.http.post(N,G).subscribe(we=>{let et=M.commonService.DecryptResponse(we);et._header_.success&&"0000"==et.status?ue({result:!0,response:et}):(M.logService.error("sendOTP Faild:",et),ue({result:!1,response:et}))})})})()}verifyOTP($,X){var M=this;return(0,c.A)(function*(){try{let N=M.settingsService.app.apiUrl+E.v.CP_OTP_Validate,G=T.assign({},{onceToken:$,checkCode:X,_header_:{language:M.i18nService.getCELanguage()}});return new Promise((ue,ve)=>{M.http.post(N,G).subscribe(function(){var we=(0,c.A)(function*(Re){let et=M.commonService.DecryptResponse(Re),at=et;at._header_.success&&"0000"==at.status?ue({result:!0,response:at}):(M.logService.error("doProcessor Faild:",at),ue({result:!1,response:et}))});return function(Re){return we.apply(this,arguments)}}())})}catch(N){return M.logService.error(N),Promise.resolve({result:!1,response:N})}})()}initTenantList(){var $=this;this.initPromise=new Promise(function(){var X=(0,c.A)(function*(M,N){try{const G=yield $.commonService.aiwowDB.getTenantList();for(const we of G)$.addToCEServer(we);let ue,ve;try{ue=yield $.cacheManagerService.getCacheItem("tenantList")}catch{ue=0}ve=ue?yield $.fetchTenantList(ue):yield $.fetchTenantList(0),M("init end")}catch(G){console.error(G),N(G)}});return function(M,N){return X.apply(this,arguments)}}())}getTenantListFromServer($=0,X=""){var M=this;return(0,c.A)(function*(){return new Promise((N,G)=>{try{let ue=M.settingsService.app.apiUrl+E.v.CP_TENANTLIST_Q,ve=T.assign({},{keyword:X,refreshTime:$});M.logService.debug("getTenantListFromServer",ue,ve),M.http.post(ue,ve).subscribe(function(){var we=(0,c.A)(function*(Re){let at=M.commonService.DecryptResponse(Re);if(M.logService.debug("getTenantListFromServer res",at),at._header_.success){let Pt=at.items||[];yield Promise.all(Pt.map(function(){var At=(0,c.A)(function*(It){let qt=yield M.fetchAvatarByHttp(It.avatarId,It.avatarUrl);It.avatarUrl2=qt});return function(It){return At.apply(this,arguments)}}())),at.hasNextPage&&at.refreshTime&&(Pt=Pt.concat(yield M.getTenantListFromServer(at.refreshTime,X))),N(Pt)}else M.logService.error("getTenantListFromServer Faild:",at)});return function(Re){return we.apply(this,arguments)}}())}catch(ue){M.logService.error("getTenantListFromServer Catch Exception:",ue),N([])}})})()}fetchTenantList($=0,X=""){var M=this;return(0,c.A)(function*(){return new Promise((N,G)=>{try{let ue=M.settingsService.app.apiUrl+E.v.CP_TENANTLIST_Q,ve=T.assign({},{keyword:X,refreshTime:$});M.logService.debug("fetchTenantList",ue,ve),M.http.post(ue,ve).subscribe(function(){var we=(0,c.A)(function*(Re){let et=M.commonService.DecryptResponse(Re);M.logService.debug("fetchTenantList res",et);let at=et;if(at._header_.success){let Pt=at.items||[];yield Promise.all(Pt.map(function(){var At=(0,c.A)(function*(It){let qt=yield M.fetchAvatarByHttp(It.avatarId,It.avatarUrl);It.avatarUrl2=qt,M.commonService.aiwowDB.addTenantList(It.tenantId,It),M.addToCEServer(It)});return function(It){return At.apply(this,arguments)}}()))}else M.logService.error("getTenantList Faild:",at);at.refreshTime&&M.cacheManagerService.setCacheItem("tenantList",at.refreshTime,"times",E.v.ttl4Week),at.hasNextPage&&at.refreshTime&&(yield M.fetchTenantList(at.refreshTime,X)),N(!0)});return function(Re){return we.apply(this,arguments)}}())}catch(ue){M.logService.error("fetchTenantList Catch Exception:",ue),N(!1)}})})()}fetchAvatarByHttp($,X){var M=this;return(0,c.A)(function*(){return T.isEmpty($)||T.isEmpty(X)?Promise.resolve(""):new Promise((N,G)=>{try{M.http.getblob(X).subscribe(function(){var ue=(0,c.A)(function*(ve){let we=new FileReader;we.onloadend=Re=>{var et;let at=null===(et=Re.target)||void 0===et?void 0:et.result;at=M.convertBase64ImageMimeType(at,"image/jpeg"),M.commonService.aiwowDB.setCacheAvatar($,at),N(at)}
1,we.readAsDataURL(ve)});return function(ve){return ue.apply(this,arguments)}}())}catch(ue){M.logService.error("fetchAvatarByHttp Catch Exception:",ue),N("")}})})()}convertBase64ImageMimeType($,X){const M=$.split(";");if(3!==M.length)return $;const[N,G,ue]=M;return`data:${X};${ue}`}fetchRoomList(){var $=this;return(0,c.A)(function*(){try{yield $.applyToken();let X=yield $.cacheManagerService.getCacheItem("roomListTime"),M=0;X&&(M=X);let N=$.settingsService.app.apiUrl+E.v.CP_ROOM_LIST,G=$.buildBase(),ue=T.assign({},G._header_,{refreshTime:M,pageSize:50});return $.logService.debug("fetchRoomList",N,ue),new Promise((ve,we)=>{$.http.post(N,ue,G.options).subscribe(function(){var Re=(0,c.A)(function*(et){let Pt=$.commonService.DecryptResponse(et);if(Pt._header_.success&&"0000"==Pt.status)$.logService.debug("fetchRoomList",Pt),Pt.refreshTime&&$.cacheManagerService.setCacheItem("roomListTime",Pt.refreshTime,ee.B.app,E.v.ttl4Week),Pt.items=Pt.items||[],yield Promise.all(Pt.items.map(function(){var At=(0,c.A)(function*(It){var qt,St;let lt=new y.C0;lt.id=It.id,lt.avatarId="",lt.avatarUrl=yield $.fetchAvatarByHttp(null!==(qt=It.avatarId)&&void 0!==qt?qt:It.id,It.avatarUrl),lt.lastMessageTime=It.lastMessageTime,lt.serviceNumberId=It.serviceNumberId,lt.serviceNumberName=It.serviceNumberName,lt.name=It.serviceNumberName,lt.showName=It.serviceNumberName,lt.unReadNum=It.unReadNum,lt.isNotice=!1,lt.isHide=!1,lt.tenantCode=It.tenantCode;let yt=$.getTenantItemByCode(null!==(St=lt.tenantCode)&&void 0!==St?St:"");if(lt.tenantId=null==yt?void 0:yt.tenantId,!T.isEmpty(It.lastMessage)){var Ft;let rt=T.assign({},It.lastMessage);lt.lastMessageId=rt.id,rt.roomId=lt.id,rt=$.commonService.processMessage(rt,!1),rt.sentAt=new Date(null!==(Ft=rt.sendTime)&&void 0!==Ft?Ft:new Date),rt.isUser=!!It.lastMessage.fromOwner,lt.lastMessage=rt,(lt.lastMessage.sendTime||0)>(lt.lastUpdateMessageTime||0)&&(lt.lastUpdateMessageTime=lt.lastMessage.sendTime)}yield $.commonService.aiwowDB.addChatRoom(lt)});return function(It){return At.apply(this,arguments)}}())),ve(!0);else{if($.logService.error("fetchRoomList Faild:",Pt),"Qs.Token.Invalid"==Pt.errorCode)return $.commonService.logInUser&&($.commonService.logInUser.tokenId=""),void ve($.fetchRoomList());ve(!1)}});return function(et){return Re.apply(this,arguments)}}())})}catch(X){throw $.logService.error("fetchTenantInfo Catch Exception:",X),new Error("Excption ")}})()}logout(){this.cacheManagerService.setCacheItem("tenantList",0,"times",E.v.ttl4Week),this.commonService.aiwowDB.clearAll(),this.cacheManagerService.clearCacheForLogout(),this.ceservers.map($=>$.clearTenantLoginInfo()),this.commonService.isPwa()?this.commonService.goto(["/login"]):this.commonService.isUrl&&window.close(),k.co._loginAction.next({type:k.es.logout,userId:""})}}return(ce=me).\u0275fac=function($){return new($||ce)(fe.KVO(fe.zZn),fe.KVO(a.h))},ce.\u0275prov=fe.jDH({token:ce,factory:ce.\u0275fac}),me})()},49344:(ge,_,f)=>{"use strict";f.d(_,{J:()=>h});var c=f(80282),C=f(23815),a=f(67345),E=f(20295),T=f.n(E),s=f(54438);let h=(()=>{var u;class v{constructor(){this.pDebug=c(`${C.v.APP_NAME}:DEBUG`),this.pDebug.color="green",this.pWarn=c(`${C.v.APP_NAME}:WARN`+this.getNowFormatDate()),this.pInfo=c(`${C.v.APP_NAME}:INFO`+this.getNowFormatDate()),this.pError=c(`${C.v.APP_NAME}:ERROR`+this.getNowFormatDate()),this.pDebug.log=console.info.bind(console),this.pInfo.log=console.info.bind(console),this.pWarn.log=console.warn.bind(console),this.pError.log=console.error.bind(console)}get debug(){return this.pDebug}get info(){return(...y)=>{this.pInfo(...y),a.wd(this.getNowFormatDate()+" "+y.join(" "),"info")}}get warn(){return this.pWarn}get error(){return this.pError}useVConsole(){this.vConsole=new(T())({defaultPlugins:["system","network"]}),this.pDebug.log=console.info.bind(this),this.pInfo.log=console.info.bind(this),this.pWarn.log=console.warn.bind(this),this.pError.log=console.error.bind(this)}closeVConsole(){this.vConsole&&(this.vConsole.destroy(),this.vConsole=null)}getNowFormatDate(){let y=new Date,R=y.getMonth()+1,P="",k=y.getDate(),O="";return P=R>=1&&R<=9?"0"+R:R.toString(),O=k>=0&&k<=9?"0"+k:k.toString(),y.getFullYear()+"-"+P+"-"+O+" "+y.getHours()+":"+y.getMinutes()+":"+y.getSeconds()+" "+y.getMilliseconds()}}return(u=v).\u0275fac=function(y){return new(y||u)},u.\u0275prov=s.jDH({token:u,factory:u.\u0275fac}),v})()},60034:(ge,_,f)=>{"use strict";f.d(_,{C:()=>me});var c=f(10467),o=f(67376),C=f(23815),a=f(7691),E=f(90760),T=f(49344),s=f(29685),h=f(47273),u=f(19282),v=f(68093),g=f(22789);class y{constructor(){this.result=!1}}class b{constructor($){this.injector=$,this._uniqueID="",this._uniqueID=C.v.uuid()}get settingService(){return this.injector.get(a.h)}get cacheManagerService(){return this.injector.get(E.F)}get logService(){return this.injector.get(T.J)}get http(){return this.injector.get(s.p)}get cehttp(){return this.injector.get(h.P)}get commonService(){return this.injector.get(v.hf)}get socketIOService(){return this.injector.get(g.L)}get i18Nservice(){return this.injector.get(u.W)}reUniqueID(){this._uniqueID=C.v.uuid()}doLogin($){var X=this;return(0,c.A)(function*(){return X.validate($),yield X.doProcessor($)})()}}var R=f(48196);class P extends b{validate($){}doProcessor($){var X=this;return(0,c.A)(function*(){let M=new y;try{let N=X.settingService.app.apiUrl+C.v.CP_OTP_V,G=o.assign({},{onceToken:$.onceToken,checkCode:$.code,_header_:{language:X.i18Nservice.getCELanguage()}});return new Promise((ue,ve)=>{X.logService.debug("doProcessor args:",JSON.stringify(G)),X.http.post(N,G).subscribe(function(){var we=(0,c.A)(function*(Re){let et=X.commonService.DecryptResponse(Re);X.logService.debug("doProcessor result",et);let at=et;if(at._header_.success&&"0000"==at.status){var Pt;let At=yield X.checkDevice(null!==(Pt=$.onceToken)&&void 0!==Pt?Pt:"");ue(At)}else X.logService.error("doProcessor Faild:",at),ue({result:!1,response:et})});return function(Re){return we.apply(this,arguments)}}())})}catch(N){X.logService.error(N),M.result=!1,M.response=N}return Promise.resolve(M)})()}checkDevice($){var X=this;return(0,c.A)(function*(){let M=new y;try{let N=X.settingService.app.apiUrl+C.v.CP_CHECK,G=o.assign({},{onceToken:$,_header_:{language:X.i18Nservice.getCELanguage()}});return new Promise((ue,ve)=>{X.logService.debug("checkDevice args:",JSON.stringify(G)),X.http.post(N,G).subscribe(we=>{let Re=X.commonService.DecryptResponse(we);X.logService.debug("checkDevice result",Re);let et=Re;et._header_.success?ue({result:!0,response:Re}):(X.logService.error("checkDevice Faild:",et),ue({result:!1,response:Re}))})})}catch(N){X.logService.error(N),M.result=!1,M.response=N}return Promise.resolve(M)})()}doBeforeLogin($){var X=this;return(0,c.A)(function*(){let M=new y;try{let N=X.settingService.app.apiUrl+C.v.CP_LOGIN,G=o.assign({},{type:"3",osType:X.commonService.osType,uniqueID:X._uniqueID,deviceType:"web",from:"Aiwow",deviceName:"Aiwow",bundleId:R.c.pushBundleId,mobile:$.phone,countryCode:$.countryCode,_header_:{language:X.i18Nservice.getCELanguage()}});return new Promise((ue,ve)=>{X.logService.debug("doBeforeLogin args:",JSON.stringify(G)),X.http.post(N,G).subscribe(we=>{let Re=X.commonService.DecryptResponse(we);X.logService.debug("doBeforeLogin result",Re);let et=Re;et._header_.success&&"0000"==et.status?ue({result:!0,response:Re}):(X.logService.error("doBeforeLogin Faild:",et),ue({result:!1,response:Re}))})})}catch(N){X.logService.error(N),M.result=!1,M.response=N}return Promise.resolve(M)})()}}var k=f(88839),O=f(28211),V=f(39974),K=f(58750),z=f(81853),H=f(54360),x=f(45225);const q=(0,z.L)(re=>function(X=null){re(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=X});function de(re){throw new q(re)}var ee=f(90490);class Y extends b{constructor(){super(...arguments),this.WEBCHAT_ANONYMOUSLOGIN="/openapi/user/anonymouslogin"}doBeforeLogin($){return Promise.resolve(new y)}validate($){}doProcessor($){var X=this;return(0,c.A)(function*(){let M=$.ceServerUrl+X.WEBCHAT_ANONYMOUSLOGIN,N=null;try{N=yield X.cacheManagerService.getCacheItem("anonymousId_"+$.tenantCode)}catch(we){X.logService.error(we)}let G="";var ue;N&&(G=N.AnonymousId),""==G&&X.commonService.aiwowDB.removeTenantRoom(null!==(ue=$.tenantCode)&&void 0!==ue?ue:"");let ve=o.assign({},{osType:X.commonService.osType,from:"Aiwow",uniqueID:X._uniqueID,userId:G,tenantCode:$.tenantCode});X.logService.debug("Post AnonymousLogin args:"+M+JSON.stringify(ve));try{let we=yield X.cehttp.post(M,ve).pipe(function Z(re,$){const{first:X,each:M,with:N=de,scheduler:G=(null!=$?$:k.E),meta:ue=null}=(0,O.v)(re)?{first:re}:"number"==typeof re?{each:re}:re;if(null==X&&null==M)throw new TypeError("No timeout provided.");return(0,V.N)((ve,we)=>{let Re,et,at=null,Pt=0;const At=It=>{et=(0,x.N)(we,G,()=>{try{Re.unsubscribe(),(0,K.Tg)(N({meta:ue,lastValue:at,seen:Pt})).subscribe(we)}catch(qt){we.error(qt)}},It)};Re=ve.subscribe((0,H._)(we,It=>{null==et||et.unsubscribe(),Pt++,we.next(at=It),M>0&&At(M)},void 0,void 0,()=>{null!=et&&et.closed||null==et||et.unsubscribe(),at=null})),!Pt&&At(null!=X?"number"==typeof X?X:+X-G.now():M)})}(2e4)).toPromise();if(X.logService.debug("return AnonymousLogin args:"+M+JSON.stringify(we)),we._header_.success||we.success){X.cacheManagerService.setCacheItem("anonymousId_"+$.tenantCode,{AnonymousId:we.user.id},ee.B.system,10080);let et=new y;return et.response=we,et.result=!0,et}{X.logService.info(" AnonymousLogin Error "+we.errorCode+we.errorMessage);let Re=new y;return Re.response=we,Re.result=!1,Re}}catch(we){X.logService.error(" AnonymousLogin Error",we);let Re=new y;return Re.response=we,Re.result=!1,Re}})()}}class ae extends b{doBeforeLogin($){return Promise.resolve(new y)}validate($){}doProcessor($){return(0,c.A)(function*(){throw new Error("Method not implemented.")})()}}class fe extends b{doBeforeLogin($){return Promise.resolve(new y)}validate($){throw new Error("Method not implemented.")}doProcessor($){return(0,c.A)(function*(){throw new Error("Method not implemented.")})()}}class ne extends b{doBeforeLogin($){return Promise.resolve(new y)}validate($){throw new Error("Method not implemented.")}doProcessor($){return(0,c.A)(function*(){throw new Error("Method not implemented.")})()}}var ce=f(54438);let me=(()=>{var re;class ${constructor(M){this.injector=M,this.strategies=new Map,this.strategies.set("phone",new P(M)),this.strategies.set("anonymous",new Y(M)),this.strategies.set("line",new ae(M)),this.strategies.set("facebook",new fe(M)),this.strategies.set("google",new ne(M))}getStrategy(M){var N,G;return null!==(N=null!==(G=this.strategies.get(M))&&void 0!==G?G:this.strategies.get("phone"))&&void 0!==N?N:new P(this.injector)}}return(re=$).\u0275fac=function(M){return new(M||re)(ce.KVO(ce.zZn))},re.\u0275prov=ce.jDH({token:re,factory:re.\u0275fac,providedIn:"root"}),$})()},43150:(ge,_,f)=>{"use strict";f.d(_,{A:()=>K});var c=f(10467);function o(z,H){this.v=z,this.k=H}function C(z){return new o(z,0)}function a(z){var H,x;function q(de,ee){try{var Y=z[de](ee),ae=Y.value,fe=ae instanceof o;Promise.resolve(fe?ae.v:ae).then(function(ne){if(fe){var ce="return"===de?"return":"next";if(!ae.k||ne.done)return q(ce,ne);ne=z[ce](ne).value}Z(Y.done?"return":"normal",ne)},function(ne){q("throw",ne)})}catch(ne){Z("throw",ne)}}function Z(de,ee){switch(de){case"return":H.resolve({value:ee,done:!0});break;case"throw":H.reject(ee);break;default:H.resolve({value:ee,done:!1})}(H=H.next)?q(H.key,H.arg):x=null}this._invoke=function(de,ee){return new Promise(function(Y,ae){var fe={key:de,arg:ee,resolve:Y,reject:ae,next:null};x?x=x.next=fe:(H=x=fe,q(de,ee))})}
1,"function"!=typeof z.return&&(this.return=void 0)}function E(z){return function(){return new a(z.apply(this,arguments))}}function s(z){function H(x){if(Object(x)!==x)return Promise.reject(new TypeError(x+" is not an object."));var q=x.done;return Promise.resolve(x.value).then(function(Z){return{value:Z,done:q}})}return(s=function(q){this.s=q,this.n=q.next}).prototype={s:null,n:null,next:function(){return H(this.n.apply(this.s,arguments))},return:function(q){var Z=this.s.return;return void 0===Z?Promise.resolve({value:q,done:!0}):H(Z.apply(this.s,arguments))},throw:function(q){var Z=this.s.return;return void 0===Z?Promise.reject(q):H(Z.apply(this.s,arguments))}},new s(z)}a.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},a.prototype.next=function(z){return this._invoke("next",z)},a.prototype.throw=function(z){return this._invoke("throw",z)},a.prototype.return=function(z){return this._invoke("return",z)};class h extends Error{constructor(H,x){super(H),this.error=H,this.status_code=x,this.name="ResponseError",Error.captureStackTrace&&Error.captureStackTrace(this,h)}}const u=function(){var z=(0,c.A)(function*(H){if(!H.ok){var x;let q=`Error ${H.status}: ${H.statusText}`,Z=null;if(null!==(x=H.headers.get("content-type"))&&void 0!==x&&x.includes("application/json"))try{Z=yield H.json(),q=Z.error||q}catch{console.log("Failed to parse error response as JSON")}else try{console.log("Getting text from response"),q=(yield H.text())||q}catch{console.log("Failed to get text from error response")}throw new h(q,H.status)}});return function(x){return z.apply(this,arguments)}}(),g=function(){var z=(0,c.A)(function*(H,x,q={}){const Z={"Content-Type":"application/json",Accept:"application/json","User-Agent":`ollama-js/0.0.0 (${typeof window<"u"&&window.navigator?`${window.navigator.platform.toLowerCase()} Browser/${navigator.userAgent};`:typeof process<"u"?`${process.arch} ${process.platform} Node.js/${process.version}`:""})`};return q.headers||(q.headers={}),q.headers={...Z,...q.headers},H(x,q)});return function(x,q){return z.apply(this,arguments)}}(),y=function(){var z=(0,c.A)(function*(H,x){const q=yield g(H,x);return yield u(q),q});return function(x,q){return z.apply(this,arguments)}}(),b=function(){var z=(0,c.A)(function*(H,x,q,Z){const ee=null===(ae=q)||"object"!=typeof ae||Array.isArray(ae)?q:JSON.stringify(q),Y=yield g(H,x,{method:"POST",body:ee,signal:null==Z?void 0:Z.signal});var ae;return yield u(Y),Y});return function(x,q,Z,de){return z.apply(this,arguments)}}(),R=function(){var z=(0,c.A)(function*(H,x,q){const Z=yield g(H,x,{method:"DELETE",body:JSON.stringify(q)});return yield u(Z),Z});return function(x,q,Z){return z.apply(this,arguments)}}(),P=function(){var z=E(function*(H){const x=new TextDecoder("utf-8");let q="";const Z=H.getReader();for(;;){var de;const{done:ee,value:Y}=yield C(Z.read());if(ee)break;q+=x.decode(Y);const ae=q.split("\n");q=null!==(de=ae.pop())&&void 0!==de?de:"";for(const fe of ae)try{yield JSON.parse(fe)}catch{console.warn("invalid json: ",fe)}}for(const ee of q.split("\n").filter(Y=>""!==Y))try{yield JSON.parse(ee)}catch{console.warn("invalid json: ",ee)}});return function(x){return z.apply(this,arguments)}}();var O=f(54438),V=f(21626);let K=(()=>{var z;class H{getOllama(q){return this.http.post(this.apiUrl,{model:"llama3",prompt:q})}constructor(q){var Z,de,ee,Y;this.http=q,this.apiUrl="http://127.0.0.1:11434/api/generate",this.config={host:"http://127.0.0.1:11434"},null!==(Z=this.config)&&void 0!==Z&&Z.proxy||(this.config.host=(z=>{if(!z)return"http://127.0.0.1:11434";let H=z.includes("://");z.startsWith(":")&&(z=`http://127.0.0.1${z}`,H=!1),H||(z=`http://${z}`);const x=new URL(z);let q=x.port;q||(q=H?"https:"===x.protocol?"443":"80":"11434");let Z=`${x.protocol}//${x.hostname}:${q}${x.pathname}`;return Z.endsWith("/")&&(Z=Z.slice(0,-1)),Z})(null!==(ee=null===(Y=this.config)||void 0===Y?void 0:Y.host)&&void 0!==ee?ee:"http://127.0.0.1:11434")),this.fetch=fetch,null!=(null===(de=this.config)||void 0===de?void 0:de.fetch)&&(this.fetch=this.config.fetch),this.abortController=new AbortController}abort(){this.abortController.abort(),this.abortController=new AbortController}processStreamableRequest(q,Z){var de=this;return(0,c.A)(function*(){var ee;Z.stream=null!==(ee=Z.stream)&&void 0!==ee&ⅇconst Y=yield b(de.fetch,`${de.config.host}/api/${q}`,{...Z},{signal:de.abortController.signal});if(!Y.body)throw new Error("Missing body");const ae=P(Y.body);if(Z.stream)return E(function*(){var ce,fe=!1,ne=!1;try{for(var re,me=function T(z){var H,x,q,Z=2;for(typeof Symbol<"u"&&(x=Symbol.asyncIterator,q=Symbol.iterator);Z--;){if(x&&null!=(H=z[x]))return H.call(z);if(q&&null!=(H=z[q]))return new s(H.call(z));x="@@asyncIterator",q="@@iterator"}throw new TypeError("Object is not async iterable")}(ae);fe=!(re=yield C(me.next())).done;fe=!1){const $=re.value;if("error"in $)throw new Error($.error);if(yield $,$.done||"success"===$.status)return}}catch($){ne=!0,ce=$}
1finally{try{fe&&null!=me.return&&(yield C(me.return()))}finally{if(ne)throw ce}}throw new Error("Did not receive done or success response in stream.")})();{const fe=yield ae.next();if(!fe.value.done&&"success"!==fe.value.status)throw new Error("Expected a completed response.");return fe.value}})()}encodeImage(q){return(0,c.A)(function*(){if("string"!=typeof q){const Z=new Uint8Array(q),de=Array.from(Z);return btoa(String.fromCharCode.apply(null,de))}return q})()}generate(q){var Z=this;return(0,c.A)(function*(){return q.images&&(q.images=yield Promise.all(q.images.map(Z.encodeImage.bind(Z)))),Z.processStreamableRequest("generate",q)})()}chat(q){var Z=this;return(0,c.A)(function*(){if(q.messages)for(const de of q.messages)de.images&&(de.images=yield Promise.all(de.images.map(Z.encodeImage.bind(Z))));return Z.processStreamableRequest("chat",q)})()}create(q){var Z=this;return(0,c.A)(function*(){return Z.processStreamableRequest("create",{name:q.model,stream:q.stream,modelfile:q.modelfile})})()}pull(q){var Z=this;return(0,c.A)(function*(){return Z.processStreamableRequest("pull",{name:q.model,stream:q.stream,insecure:q.insecure})})()}push(q){var Z=this;return(0,c.A)(function*(){return Z.processStreamableRequest("push",{name:q.model,stream:q.stream,insecure:q.insecure})})()}delete(q){var Z=this;return(0,c.A)(function*(){return yield R(Z.fetch,`${Z.config.host}/api/delete`,{name:q.model}),{status:"success"}})()}copy(q){var Z=this;return(0,c.A)(function*(){return yield b(Z.fetch,`${Z.config.host}/api/copy`,{...q}),{status:"success"}})()}list(){var q=this;return(0,c.A)(function*(){return yield(yield y(q.fetch,`${q.config.host}/api/tags`)).json()})()}show(q){var Z=this;return(0,c.A)(function*(){return yield(yield b(Z.fetch,`${Z.config.host}/api/show`,{...q})).json()})()}embeddings(q){var Z=this;return(0,c.A)(function*(){return yield(yield b(Z.fetch,`${Z.config.host}/api/embeddings`,{...q})).json()})()}}return(z=H).\u0275fac=function(q){return new(q||z)(O.KVO(V.Qq))},z.\u0275prov=O.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),H})()},75917:(ge,_,f)=>{"use strict";f.d(_,{v:()=>Xc});var c=f(10467),o=f(67376),C=f(49344),a=f(68093),E=f(55544),T=f(89655),s=f(23815),h=f(73955);class u{get logService(){return this.injector.get(C.J)}get modelHelper(){return this.injector.get(E.S)}get translate(){return this.injector.get(h.c$)}get commonService(){return this.injector.get(a.hf)}constructor(Ie){this.injector=Ie,this._profile={},this.openId="",this.accountId="",this.clientType="",this.liffState=T.zc.nono,this.supportJSList=[]}get version(){return AiffJS.version}getDisplayName(){return this.isLoggedIn()?this._profile.nickName:""}getUserId(){return""}getPictureUrl(){return this.isLoggedIn()&&this._profile.imgSrc||"./assets/images/aile1024.png"}init(){var Ie=this;return(0,c.A)(function*(){let Xe=yield AiffJS.init("");return Xe?(Ie.liffState=T.zc.init,yield Ie.getNative()):(Ie.logService.debug("AiffJs Init Error "),Ie.liffState=T.zc.error),Xe})()}getNative(){var Ie=this;return(0,c.A)(function*(){if(AiffJS.getNative){let Xe=yield AiffJS.getNative();if(console.log("getNative",Xe),Xe=Xe.data,Ie.logService.debug("AiffJs getNative ",Xe),Xe.supportJS){let pt=Xe.supportJS;Ie.supportJSList=[];for(let $t of pt){Ie.supportJSList.push($t);let un=document.createElement("script");un.src="./assets/js/"+$t,document.body.appendChild(un)}}return!0}return yield Ie.getProfile(),!0})()}isInClient(){return null!=typeof AiffJS&&"client"==AiffJS.getClientType()}isInUUPon(){return null!=typeof AiffJS&&"uupon"==this.clientType}isInAiff(){return null!=typeof AiffJS&&("client"==AiffJS.getClientType()||"uupon"==AiffJS.getClientType()||"ios"==AiffJS.getClientType()||"andriod"==AiffJS.getClientType())}isLoggedIn(){return this.liffState=T.zc.init}login(){return!0}share(Ie,Xe){return new Promise((pt,$t)=>{let un={orientation:"Vertical",text:this.translate.instant("Common.ivtDesc"),title:this.getDisplayName()+this.translate.instant("Common.ivtTxt"),imageUrl:s.v.AiwowLogo,defaultAction:{label:this.translate.instant("Common.ivtBtn"),type:"aiff",url:Ie},type:"buttons",actions:[{label:this.translate.instant("Common.ivtBtn"),type:"aiff",url:Ie}]};AiffJS.shareTargetPicker(JSON.stringify(un),"all")})}getProfile(){var Ie=this;return(0,c.A)(function*(){Ie.liffState=T.zc.login})()}close(){AiffJS.closeWindow()}scane(){return new Promise((Ie,Xe)=>AiffJS.scanCode().then(pt=>{Ie(pt)}))}getPostion(){return new Promise((Ie,Xe)=>AiffJS.getCurrentPosition().then(pt=>{Ie(pt)}))}openWindow(Ie){AiffJS.openWindow(Ie)}get AiffApp(){return o.includes(this.supportJSList,"aiff.app.js")?AiffAppJS:null}get AiffCall(){return o.includes(this.supportJSList,"aiff.call.js")?AiffCallJS:null}get AiffDevice(){return o.includes(this.supportJSList,"aiff.device.js")?AiffDeviceJS:null}}var v=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global||{},g_searchParams="URLSearchParams"in v,g_iterable="Symbol"in v&&"iterator"in Symbol,g_blob="FileReader"in v&&"Blob"in v&&function(){try{return new Blob,!0}catch{return!1}}(),g_formData="FormData"in v,g_arrayBuffer="ArrayBuffer"in v;if(g_arrayBuffer)var p=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array
1]"],b=ArrayBuffer.isView||function(Se){return Se&&p.indexOf(Object.prototype.toString.call(Se))>-1};function R(Se){if("string"!=typeof Se&&(Se=String(Se)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(Se)||""===Se)throw new TypeError('Invalid character in header field name: "'+Se+'"');return Se.toLowerCase()}function P(Se){return"string"!=typeof Se&&(Se=String(Se)),Se}function k(Se){var Ie={next:function(){var Xe=Se.shift();return{done:void 0===Xe,value:Xe}}};return g_iterable&&(Ie[Symbol.iterator]=function(){return Ie}),Ie}function O(Se){this.map={},Se instanceof O?Se.forEach(function(Ie,Xe){this.append(Xe,Ie)},this):Array.isArray(Se)?Se.forEach(function(Ie){if(2!=Ie.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+Ie.length);this.append(Ie[0],Ie[1])},this):Se&&Object.getOwnPropertyNames(Se).forEach(function(Ie){this.append(Ie,Se[Ie])},this)}function V(Se){if(!Se._noBody){if(Se.bodyUsed)return Promise.reject(new TypeError("Already read"));Se.bodyUsed=!0}}function K(Se){return new Promise(function(Ie,Xe){Se.onload=function(){Ie(Se.result)},Se.onerror=function(){Xe(Se.error)}})}function z(Se){var Ie=new FileReader,Xe=K(Ie);return Ie.readAsArrayBuffer(Se),Xe}function q(Se){if(Se.slice)return Se.slice(0);var Ie=new Uint8Array(Se.byteLength);return Ie.set(new Uint8Array(Se)),Ie.buffer}function Z(){return this.bodyUsed=!1,this._initBody=function(Se){this.bodyUsed=this.bodyUsed,this._bodyInit=Se,Se?"string"==typeof Se?this._bodyText=Se:g_blob&&Blob.prototype.isPrototypeOf(Se)?this._bodyBlob=Se:g_formData&&FormData.prototype.isPrototypeOf(Se)?this._bodyFormData=Se:g_searchParams&&URLSearchParams.prototype.isPrototypeOf(Se)?this._bodyText=Se.toString():g_arrayBuffer&&g_blob&&function y(Se){return Se&&DataView.prototype.isPrototypeOf(Se)}(Se)?(this._bodyArrayBuffer=q(Se.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):g_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(Se)||b(Se))?this._bodyArrayBuffer=q(Se):this._bodyText=Se=Object.prototype.toString.call(Se):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof Se?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):g_searchParams&&URLSearchParams.prototype.isPrototypeOf(Se)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},g_blob&&(this.blob=function(){var Se=V(this);if(Se)return Se;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return V(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(g_blob)return this.blob().then(z);throw new Error("could not read as ArrayBuffer")},this.text=function(){var Se=V(this);if(Se)return Se;if(this._bodyBlob)return function H(Se){var Ie=new FileReader,Xe=K(Ie),pt=/charset=([A-Za-z0-9_-]+)/.exec(Se.type);return Ie.readAsText(Se,pt?pt[1]:"utf-8"),Xe}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function x(Se){for(var Ie=new Uint8Array(Se),Xe=new Array(Ie.length),pt=0;pt<Ie.length;pt++)Xe[pt]=String.fromCharCode(Ie[pt]);return Xe.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},g_formData&&(this.formData=function(){return this.text().then(ae)}),this.json=function(){return this.text().then(JSON.parse)},this}O.prototype.append=function(Se,Ie){Se=R(Se),Ie=P(Ie);var Xe=this.map[Se];this.map[Se]=Xe?Xe+", "+Ie:Ie},O.prototype.delete=function(Se){delete this.map[R(Se)]},O.prototype.get=function(Se){return Se=R(Se),this.has(Se)?this.map[Se]:null},O.prototype.has=function(Se){return this.map.hasOwnProperty(R(Se))},O.prototype.set=function(Se,Ie){this.map[R(Se)]=P(Ie)},O.prototype.forEach=function(Se,Ie){for(var Xe in this.map)this.map.hasOwnProperty(Xe)&&Se.call(Ie,this.map[Xe],Xe,this)},O.prototype.keys=function(){var Se=[];return this.forEach(function(Ie,Xe){Se.push(Xe)}),k(Se)},O.prototype.values=function(){var Se=[];return this.forEach(function(Ie){Se.push(Ie)}),k(Se)},O.prototype.entries=function(){var Se=[];return this.forEach(function(Ie,Xe){Se.push([Xe,Ie])}),k(Se)},g_iterable&&(O.prototype[Symbol.iterator]=O.prototype.entries);var de=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Y(Se,Ie){if(!(this instanceof Y))throw new TypeError('Please use the "new" operator, this DOM object c
1onstructor cannot be called as a function.');var Xe=(Ie=Ie||{}).body;if(Se instanceof Y){if(Se.bodyUsed)throw new TypeError("Already read");this.url=Se.url,this.credentials=Se.credentials,Ie.headers||(this.headers=new O(Se.headers)),this.method=Se.method,this.mode=Se.mode,this.signal=Se.signal,!Xe&&null!=Se._bodyInit&&(Xe=Se._bodyInit,Se.bodyUsed=!0)}else this.url=String(Se);if(this.credentials=Ie.credentials||this.credentials||"same-origin",(Ie.headers||!this.headers)&&(this.headers=new O(Ie.headers)),this.method=function ee(Se){var Ie=Se.toUpperCase();return de.indexOf(Ie)>-1?Ie:Se}(Ie.method||this.method||"GET"),this.mode=Ie.mode||this.mode||null,this.signal=Ie.signal||this.signal||function(){if("AbortController"in v)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&Xe)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(Xe),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==Ie.cache&&"no-cache"!==Ie.cache)){var pt=/([?&])_=[^&]*/;pt.test(this.url)?this.url=this.url.replace(pt,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function ae(Se){var Ie=new FormData;return Se.trim().split("&").forEach(function(Xe){if(Xe){var pt=Xe.split("="),$t=pt.shift().replace(/\+/g," "),un=pt.join("=").replace(/\+/g," ");Ie.append(decodeURIComponent($t),decodeURIComponent(un))}}),Ie}function fe(Se){var Ie=new O;return Se.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(pt){return 0===pt.indexOf("\n")?pt.substr(1,pt.length):pt}).forEach(function(pt){var $t=pt.split(":"),un=$t.shift().trim();if(un){var Vn=$t.join(":").trim();try{Ie.append(un,Vn)}catch(rr){console.warn("Response "+rr.message)}}}),Ie}function ne(Se,Ie){if(!(this instanceof ne))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(Ie||(Ie={}),this.type="default",this.status=void 0===Ie.status?200:Ie.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===Ie.statusText?"":""+Ie.statusText,this.headers=new O(Ie.headers),this.url=Ie.url||"",this._initBody(Se)}Y.prototype.clone=function(){return new Y(this,{body:this._bodyInit})},Z.call(Y.prototype),Z.call(ne.prototype),ne.prototype.clone=function(){return new ne(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new O(this.headers),url:this.url})},ne.error=function(){var Se=new ne(null,{status:200,statusText:""});return Se.ok=!1,Se.status=0,Se.type="error",Se};var ce=[301,302,303,307,308];ne.redirect=function(Se,Ie){if(-1===ce.indexOf(Ie))throw new RangeError("Invalid status code");return new ne(null,{status:Ie,headers:{location:Se}})};var me=v.DOMException;try{new me}catch{(me=function(Ie,Xe){this.message=Ie,this.name=Xe;var pt=Error(Ie);this.stack=pt.stack}).prototype=Object.create(Error.prototype),me.prototype.constructor=me}function re(Se,Ie){return new Promise(function(Xe,pt){var $t=new Y(Se,Ie);if($t.signal&&$t.signal.aborted)return pt(new me("Aborted","AbortError"));var un=new XMLHttpRequest;function Vn(){un.abort()}if(un.onload=function(){var Ur={statusText:un.statusText,headers:fe(un.getAllResponseHeaders()||"")};Ur.status=0===$t.url.indexOf("file://")&&(un.status<200||un.status>599)?200:un.status,Ur.url="responseURL"in un?un.responseURL:Ur.headers.get("X-Request-URL");var Sr="response"in un?un.response:un.responseText;setTimeout(function(){Xe(new ne(Sr,Ur))},0)},un.onerror=function(){setTimeout(function(){pt(new TypeError("Network request failed"))},0)},un.ontimeout=function(){setTimeout(function(){pt(new TypeError("Network request timed out"))},0)},un.onabort=function(){setTimeout(function(){pt(new me("Aborted","AbortError"))},0)},un.open($t.method,function rr(Ur){try{return""===Ur&&v.location.href?v.location.href:Ur}catch{return Ur}}($t.url),!0),"include"===$t.credentials?un.withCredentials=!0:"omit"===$t.credentials&&(un.withCredentials=!1),"responseType"in un&&(g_blob?un.responseType="blob":g_arrayBuffer&&(un.responseType="arraybuffer")),Ie&&"object"==typeof Ie.headers&&!(Ie.headers instanceof O||v.Headers&&Ie.headers instanceof v.Headers)){var mr=[];
1Object.getOwnPropertyNames(Ie.headers).forEach(function(Ur){mr.push(R(Ur)),un.setRequestHeader(Ur,P(Ie.headers[Ur]))}),$t.headers.forEach(function(Ur,Sr){-1===mr.indexOf(Sr)&&un.setRequestHeader(Sr,Ur)})}else $t.headers.forEach(function(Ur,Sr){un.setRequestHeader(Sr,Ur)});$t.signal&&($t.signal.addEventListener("abort",Vn),un.onreadystatechange=function(){4===un.readyState&&$t.signal.removeEventListener("abort",Vn)}),un.send(typeof $t._bodyInit>"u"?null:$t._bodyInit)})}re.polyfill=!0,v.fetch||(v.fetch=re,v.Headers=O,v.Request=Y,v.Response=ne);var X,Se,$=f(31635);(Se=X||(X={}))[Se.DEBUG=1]="DEBUG",Se[Se.INFO=2]="INFO",Se[Se.WARN=3]="WARN",Se[Se.ERROR=4]="ERROR";var Pt,M=function(){function Se(Ie){void 0===Ie&&(Ie=X.INFO),this.logLevel=Ie,this._debug=console.debug,this._info=console.info,this._warn=console.warn,this._error=console.error}return Se.prototype.debug=function(){for(var Ie=[],Xe=0;Xe<arguments.length;Xe++)Ie[Xe]=arguments[Xe];this.logLevel<=X.DEBUG&&(Ie.unshift("[DEBUG]"),this._debug.apply(this,(0,$.fX)([],(0,$.zs)(Ie),!1)))},Se.prototype.info=function(){for(var Ie=[],Xe=0;Xe<arguments.length;Xe++)Ie[Xe]=arguments[Xe];this.logLevel<=X.INFO&&(Ie.unshift("[INFO]"),this._info.apply(this,(0,$.fX)([],(0,$.zs)(Ie),!1)))},Se.prototype.warn=function(){for(var Ie=[],Xe=0;Xe<arguments.length;Xe++)Ie[Xe]=arguments[Xe];this.logLevel<=X.WARN&&(Ie.unshift("[WARN]"),this._warn.apply(this,(0,$.fX)([],(0,$.zs)(Ie),!1)))},Se.prototype.error=function(){for(var Ie=[],Xe=0;Xe<arguments.length;Xe++)Ie[Xe]=arguments[Xe];this.logLevel<=X.ERROR&&(Ie.unshift("[ERROR]"),this._error.apply(this,(0,$.fX)([],(0,$.zs)(Ie),!1)))},Se}(),N=new M(3),G=function(Se,Ie){this._driver=Se,this.liff=Ie,this.hooks=this._driver.hooks,this.internalHooks=this._driver.internalHooks},ue=function(Se,Ie){this._driver=Se,this.liff=Ie,this.hooks=this._driver.hooks},ve=function(){function Se(Ie,Xe){this.pluginCtx=new ue(Ie,Xe),this.moduleCtx=new G(Ie,Xe)}return Object.defineProperty(Se.prototype,"pluginContext",{get:function(){return this.pluginCtx},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"moduleContext",{get:function(){return this.moduleCtx},enumerable:!1,configurable:!0}),Se}(),we=function(){function Se(){this.modules=new Map,this.hooks={},this.internalHooks={}}return Se.prototype.addModule=function(Ie,Xe){this.modules.set(Ie,Xe),Xe.hooks&&(this.hooks[Ie]=Object.entries(Xe.hooks).reduce(function(pt,$t){var un,Vn=(0,$.zs)($t,2),rr=Vn[0],mr=Vn[1];return(0,$.Cl)((0,$.Cl)({},pt),((un={})[rr]=mr.on.bind(mr),un))},{})),"internalHooks"in Xe&&Xe.internalHooks&&(this.internalHooks[Ie]=Object.entries(Xe.internalHooks).reduce(function(pt,$t){var un,Vn=(0,$.zs)($t,2),rr=Vn[0],mr=Vn[1];return(0,$.Cl)((0,$.Cl)({},pt),((un={})[rr]=mr.on.bind(mr),un))},{}))},Se.prototype.hasModule=function(Ie){return this.modules.has(Ie)},Se}(),Re=function(){},et=function(Se){return Se instanceof Re},at=function(Se){function Ie(Xe,pt,$t){var un=Se.call(this)||this;return un.driver=Xe,un.contextHolder=pt,un.option=$t,un}return(0,$.C6)(Ie,Se),Ie.prototype.install=function(){return this.factory(this.driver,this.contextHolder)},Object.defineProperty(Ie.prototype,"name",{get:function(){return"use"},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"defaultOption",{get:function(){return{namespacePrefix:"$"}},enumerable:!1,configurable:!0}),Ie.prototype.factory=function(Xe,pt){var $t=Object.assign({},this.defaultOption,this.option).namespacePrefix;return function(un,Vn){if(!un||"function"!=typeof un.install||"string"!=typeof un.name)return N.warn("To install the plugin, you need to define the `name` property and the `install` method."),this;var rr=et(un)?un.name:"".concat($t).concat(un.name);if(Xe.hasModule(rr))return this;var mr=et(un)?un.install.call(un,pt.moduleContext,Vn):un.install.call(un,pt.pluginContext,Vn);return this["".concat(rr)]?(N.warn("There is a duplicate plugin name. `".concat(rr,"` plugin namespace will be override.")),this["".concat(rr)]=mr):void 0!==mr&&(this["".concat(rr)]=mr),Xe.addModule(rr,un),this}},Ie}(Re),At=new Promise(function(Se){Pt=Se}),It="UNKNOWN",qt="UNAUTHORIZED",St="INVALID_ARGUMENT",lt="INIT_FAILED",yt="FORBIDDEN",Ft="INVALID_CONFIG",rt="INVALID_ID_TOKEN",Mt="CREATE_SUBWINDOW_FAILED",Vt="EXCEPTION_IN_SUBWINDOW",Lt="liffEvent",$n="LIFF_STORE",Tn="https://liff.".concat("line.me","/"),An="https://miniapp.".concat("line.me","/"),jn={ACCESS_TOKEN:"accessToken",ID_TOKEN:"IDToken",DECODED_ID_TOKEN:"decodedIDToken",FEATURE_TOKEN:"featureToken",LOGIN_TMP:"loginTmp",CONFIG:"
1config",CONTEXT:"context",EXPIRES:"expires",RAW_CONTEXT:"rawContext",CLIENT_ID:"clientId",IS_SUBSEQUENT_LIFF_APP:"isSubsequentLiffApp",MST_CHALLENGE:"mstChallenge",MSIT:"msit",MST:"mst",MST_VERIFIER:"mstVerifier",APP_DATA:"appData"},or="isInClient",br=["context_token","feature_token","access_token","id_token","client_id","mst_verifier","mst_challenge","msit"],On=["liff.ref.source","liff.ref.medium","liff.ref.campaign","liff.ref.term","liff.ref.content"],sr="liff://subwindow",ur={INIT:"init",SUBMIT:"submit",CANCEL:"cancel",CLOSE:"close",ERROR:"error"},Br="liff.subwindow",Gr="healthCheck",_r=["profile","chat_message.write","openid","email"];function hr(Se){return window.atob(Se.replace(/-/g,"+").replace(/_/g,"/"))}var Nr={decode:hr,encode:function(Se){return window.btoa(Se).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},decodeUnicode:function(Se){var Ie=hr(Se).split("").map(function(Xe){return"%"+("00"+Xe.charCodeAt(0).toString(16)).slice(-2)}).join("");return decodeURIComponent(Ie)}};function $r(Se,Ie){if(Se===Ie)return 0;for(var Xe=Se.split("."),pt=Ie.split("."),$t=Math.max(Xe.length,pt.length),un=0;un<$t;un++){Xe[un]||(Xe[un]="0"),pt[un]||(pt[un]="0");var Vn=parseInt(Xe[un])-parseInt(pt[un]);if(0!==Vn)return Vn>0?1:-1}return 0}function Xr(Se){var Ie=Se.replace("#","").match(/.{2}/g)||[];if(4!==Ie.length)return N.warn("convertArgbToRgba: Received invalid ARGB color"),"";var rr,Xe=(rr=Rt(Ie[0]),Math.round(rr/255*100)/100),pt=Rt(Ie[1]),$t=Rt(Ie[2]),un=Rt(Ie[3]);return"rgba(".concat(pt,", ").concat($t,", ").concat(un,", ").concat(Xe,")")}function Rt(Se){return parseInt(Se,16)}function zt(Se){var Ie=Se.replace("#","").match(/.{2}/g)||[];if(3!==Ie.length)return N.warn("convertArgbToRgba: Received invalid hex color"),"";var Xe=Rt(Ie[0]),pt=Rt(Ie[1]),$t=Rt(Ie[2]);return"".concat(Xe,", ").concat(pt,", ").concat($t)}function vn(Se){for(var Ie=Se.length,Xe=new ArrayBuffer(Ie),pt=new Uint8Array(Xe),$t=0;$t<Ie;$t++)pt[$t]=Se.charCodeAt($t);return Xe}var ln={get:function(Se){var Ie=new RegExp("(?:(?:^|.*;\\s*)".concat(Se,"\\s*\\=\\s*([^;]*).*$)|^.*$"));return document.cookie.replace(Ie,"$1")},set:function(Se,Ie,Xe){var pt=Se+"="+Ie;if(Xe)for(var $t in Xe){var un=Xe[$t]?"=".concat(Xe[$t]):"";pt+="; ".concat($t).concat(un)}N.debug("set cookie",pt),document.cookie=pt},remove:function(Se,Ie){var Xe="".concat(Se,"=; expires=Thu, 01 Jan 1970 00:00:00 GMT");if(Ie)for(var pt in Ie)Xe+="; ".concat(pt,"=").concat(Ie[pt]);document.cookie=Xe}},Sn=new Set(["400","401","403","404","429","500"]),dr=function(Se){function Ie(Xe,pt,$t){var un=Se.call(this,pt,$t)||this;return un.code=Xe,un}return(0,$.C6)(Ie,Se),Ie}(Error);function En(Se,Ie,Xe){return null!=Xe&&Xe.cause&&console.error("This is the cause of LiffError described below.",Xe.cause),new dr(Se,Ie||"",Xe||{})}function tn(Se){var Ie=Se.match(/([^-]+)-[^-]+/);return Ie&&Ie[1]}var Kn,Cn=function(){function Se(){this.map={}}return Se.prototype.clear=function(){this.map={}},Se.prototype.getItem=function(Ie){var Xe=this.map[Ie];return void 0===Xe?null:Xe},Se.prototype.setItem=function(Ie,Xe){this.map[Ie]=Xe},Se.prototype.removeItem=function(Ie){delete this.map[Ie]},Se.prototype.key=function(Ie){var Xe=Object.keys(this.map)[Ie];return void 0===Xe?null:Xe},Object.defineProperty(Se.prototype,"length",{get:function(){return Object.keys(this.map).length},enumerable:!1,configurable:!0}),Se}(),Xn={parse:function(Se){return Se.replace(/^\?/,"").replace(/^#\/?/,"").split(/&+/).filter(function(Ie){return Ie.length>0}).reduce(function(Ie,Xe){var pt=(0,$.zs)(Xe.split("=").map(decodeURIComponent),2),$t=pt[0],un=pt[1],Vn=Ie[$t];return Array.isArray(Vn)?Vn.push(un):Ie[$t]=Object.prototype.hasOwnProperty.call(Ie,$t)?[Vn,un]:un,Ie},{})}
1,stringify:function(Se){return Object.keys(Se).map(function(Ie){var Xe=Se[Ie],pt=function($t){return void 0!==$t?"".concat(encodeURIComponent(Ie),"=").concat(encodeURIComponent($t)):encodeURIComponent(Ie)};return Array.isArray(Xe)?Xe.map(function($t){return pt($t)}).join("&"):pt(Xe)}).join("&")}},nr="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function fr(Se){for(var Ie="",Xe=0;Xe<Se;Xe++)Ie+=nr[Math.floor(window.crypto.getRandomValues(new Uint32Array(1))[0]/4294967296*nr.length)];return Ie}function lr(Se){var Ie=new URL(Se),Xe=Ie.hash.slice(1).split("&").filter(function(pt){return!br.some(function($t){return pt.startsWith("".concat($t,"="))})}).join("&");return Ie.hash=Xe,Ie.toString()}function vi(Se,Ie){if(!Se)throw new Error("addParamsToUrl: invalid URL");var Xe=new URL(Se);return Object.entries(Ie).forEach(function(pt){var $t=(0,$.zs)(pt,2);Xe.searchParams.set($t[0],$t[1])}),Xe.toString()}var no,$i=((Kn={})[Tn]=function(){var Se=Di(Tn);return new RegExp("^".concat(Se,"(\\d+-\\w+)"))},Kn[An]=function(){var Se=Di(An);return new RegExp("^".concat(Se,"((\\d+-\\w+)|(\\w+$))"))},Kn);function Xi(Se){for(var Ie in $i){var Xe=Se.match($i[Ie]());if(Xe)return Xe[1]}return null}function Di(Se){return Se.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function to(Se){return Se.startsWith("line:")}function Co(Se){return void 0===Se&&(Se=window.navigator.userAgent),/ipad/.test(Se.toLowerCase())}function mn(Se){return void 0===Se&&(Se=window.navigator.userAgent),/Line\/\d+\.\d+\.\d+/.test(Se)}function Jt(Se){return void 0===Se&&(Se=window.navigator.userAgent),/Line\/\d+\.\d+\.\d+ LIFF/.test(Se)}var Ke=function(){return typeof window>"u"},Ze=null;function Ot(){return null===Ze&&(Ze=Jt()||mn()&&/[#|&]access_token=/.test(location.hash)||"1"===sessionStorage.getItem("".concat($n,":").concat(or)),sessionStorage.setItem("".concat($n,":").concat(or),Ze?"1":"0")),!!Ze}function st(){var Se;return null!==(Se=window.__liffConfig)&&void 0!==Se?Se:{}}function hn(Se){return function xt(Se,Ie){if(!Ie)throw En(Ft,"liffId is necessary for liff.init()");var Xe=(Ot()?sessionStorage:localStorage).getItem("".concat($n,":").concat(Ie,":").concat(Se));try{return null===Xe?null:JSON.parse(Xe)}catch{return null}}(Se,st().liffId)}function ft(Se,Ie){var Xe=st().liffId;if(!Xe)throw En(Ft,"liffId is necessary for liff.init()");(Ot()?sessionStorage:localStorage).setItem("".concat($n,":").concat(Xe,":").concat(Se),JSON.stringify(Ie))}function He(){return hn(jn.CONTEXT)}function Pe(Se){ft(jn.CONTEXT,Se)}function Oe(){return((He()||{}).d||{}).aId}function _t(){return((He()||{}).d||{}).autoplay||!1}function gn(){return(He()||{}).profilePlus}function oi(Se){ft(jn.APP_DATA,Se)}function io(){return hn(jn.MST)}function ko(){return hn(jn.MST_CHALLENGE)}function bs(Se){ft(jn.CLIENT_ID,Se)}function So(){return hn(jn.FEATURE_TOKEN)}function $s(Se){ft(jn.FEATURE_TOKEN,Se)}function qo(){return hn(jn.ID_TOKEN)}function cs(Se){ft(jn.ID_TOKEN,Se)}function Ne(){return hn(jn.ACCESS_TOKEN)}function Ge(Se){ft(jn.ACCESS_TOKEN,Se)}function xe(Se){var Ie=st().liffId;if(!Ie)throw En(Ft,"liffId is necessary for liff.init()");(Ot()?sessionStorage:localStorage).removeItem("".concat($n,":").concat(Ie,":").concat(Se))}function ht(){return hn(jn.LOGIN_TMP)}function qe(){xe(jn.LOGIN_TMP)}function rn(Se){var Ie=st();ln.set("".concat($n,":").concat(jn.EXPIRES,":").concat(Ie.liffId),Se.getTime(),{expires:Se.toUTCString(),path:"/",secure:null})}function vt(){return hn(jn.DECODED_ID_TOKEN)}function Kt(Se){ft(jn.DECODED_ID_TOKEN,Se)}function Yn(){return!!Ne()}!function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"isInClient"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(){return Ot()}}}(Re),function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"getContext"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(){return He()}}}(Re),function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"getAId"}
1,enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(){return Oe()}}}(Re),function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"getIsVideoAutoPlay"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(){return _t()}}}(Re),function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"getProfilePlus"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(){return gn()}}}(Re),function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"getIDToken"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(){return qo()}}}(Re),function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"getAccessToken"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(){return Ne()}}}(Re),function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"getDecodedIDToken"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(){return vt()}}}(Re),function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"isLoggedIn"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(){return Yn()}}}(Re),function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"getVersion"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(){return"2.23.2"}}}(Re);var Jo,Or=function(){function Se(){}return Se.prototype.invoke=function(){return function kn(Se){return void 0===Se&&(Se=window.navigator.userAgent),/LIFF\/SubWindow/.test(Se)}()},Se}(),Hr=function(){function Se(Ie){this.storage=Ie}return Object.defineProperty(Se,"IN_SUB_WINDOW_KEY",{get:function(){return"inSubWindow"},enumerable:!1,configurable:!0}),Se.prototype.invoke=function(){return new URLSearchParams(window.location.search).has(Br)&&this.setInSubWindow(!0),!(!this.getInSubWindow()&&!this.getSubWindowIdentifier())},Se.prototype.getInSubWindow=function(){var Ie=this.storage.getItem("".concat($n,":").concat(this.getLiffId(),":").concat(Se.IN_SUB_WINDOW_KEY));return null!==Ie&&JSON.parse(Ie)},Se.prototype.getSubWindowIdentifier=function(){var Ie,Xe,pt="liff.subwindow.identifier",$t=new URLSearchParams(window.location.search);return $t.get(pt)||(Ie=pt,(Xe=$t.get("liff.state"))?new URLSearchParams(Xe).get(Ie):null)||null},Se.prototype.setInSubWindow=function(Ie){this.storage.setItem("".concat($n,":").concat(this.getLiffId(),":").concat(Se.IN_SUB_WINDOW_KEY),String(Ie))},Se.prototype.getLiffId=function(){var Ie=st().liffId;if(!Ie)throw En(Ft,"liffId is necessary for liff.init()");return Ie},Se}(),ui=function(Se){function Ie(){var Xe=Se.call(this)||this;return Xe.impl=Ke()?{invoke:function(){return!1}}:Ot()?new Or:new Hr(window.sessionStorage),Xe}return(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"isSubWindow"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return this.impl.invoke.bind(this.impl)},Ie}(Re),Ci=new ui,pi=Ci.install();function Fi(){var Se=navigator.userAgent.match(/Line\/\d+(\.\d+)*/i);return Se?Se[0].slice(5):null}function xi(){if(!Jo){var Se=window.navigator.userAgent.toLowerCase();Jo=/iphone|ipad|ipod/.test(Se)?"ios":/android/.test(Se)?"android":"web"}return Jo}function As(Se){var Ie,Xe=He();return null===(Ie=null==Xe?void 0:Xe.availability)||void 0===Ie?void 0:Ie[Se]}function No(Se,Ie,Xe){var pt=As(Se),$t=Xe||Se;if(!pt)return{available:!1,error:{code:yt,message:"".concat($t," is not allowed in this
1LIFF app")}};var Ur,Sr,Oi,un=pt.minVer,rr=!un||(Ur=un,Sr=pt.unsupportedFromVer,!!(Oi=Fi())&&!(Sr&&$r(Oi,Sr)>0)&&$r(Oi,Ur)>=0),mr=Ot();return mr&&!rr?{available:!1,error:{code:yt,message:"".concat($t," is unavailable in this client version.")}}:pt.permission?mr&&rr||Ie?{available:!0}:{available:!1,error:{code:yt,message:"".concat($t," is not allowed in external browser")}}:{available:!1,error:{code:yt,message:"".concat($t," is not allowed in this LIFF app")}}}!function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"getLineVersion"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(){return Fi()}}}(Re),function(Se){function Ie(){return Se.call(this)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"getOS"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(){return xi()}}}(Re);var ma=function(){return Yn()?!Jt()&&mn()?{available:!1,error:{code:yt,message:"Subwindow is not supported in this browser"}}:pi()?{available:!1,error:{code:yt,message:"this api can be only called
1in parent window"}}:No("subwindowOpen",!0):{available:!1,error:{code:qt,message:"Need access_token for api call, Please login first"}}},us=["subwindowOpen","shareTargetPicker","multipleLiffTransition","scanCode","scanCodeV2","getAdvertisingId","addToHomeScreen","bluetoothLeFunction","skipChannelVerificationScreen","createShortcutOnHomeScreen","internalCreateShortcutOnHomeScreen"],ia={scanCode:function(){return No("scanCode")},getAdvertisingId:function(){return No("getAdvertisingId")},bluetoothLeFunction:function(){return No("bluetoothLeFunction")},shareTargetPicker:function(){return pi()?{available:!1,error:{code:yt,message:"this api can be only called in parent window"}}:Yn()?No("shareTargetPicker",!0):{available:!1,error:{code:qt,message:"Need access_token for api call, Please login first"}}},multipleLiffTransition:function(){var Se=As("multipleLiffTransition");return Se&&Se.permission?Ot()?{available:!0}:{available:!1,error:{code:yt,message:"multipleLiffTransition is available only in the LINE App browser"}}:{available:!1,error:{code:yt,message:"multipleLiffTransition is not allowed in this LIFF app"}}},subwindowOpen:ma,scanCodeV2:function(){if(!Yn())return{available:!1,error:{code:qt,message:"Need access_token for api call, Please login first"}};var Se=ma();return Se.available?No("scanCodeV2",!0):Se},addToHomeScreen:function(){return pi()?{available:!1,error:{code:yt,message:"this api can be only called
1in parent window"}}:No("addToHomeScreen")},skipChannelVerificationScreen:function(){var Se=He();return Se?"square_chat"===Se.type?{available:!1,error:{code:yt,message:"skipChannelVerificationScreen is not allowed in OpenChat"}}:No("skipChannelVerificationScreen"):{available:!1,error:{code:yt,message:"Context is not found"}}},createShortcutOnHomeScreen:function(){if(pi())return{available:!1,error:{code:yt,message:"this api can be only called in parent window"}};if(!Yn())return{available:!1,error:{code:qt,message:"Need access_token for api call, Please login first"}};var Se=xi();return"android"!==Se&&"ios"!==Se?{available:!1,error:{code:yt,message:"this api can be only called in mobile device"}}:No("addToHomeV2",!0,"createShortcutOnHomeScreen")},internalCreateShortcutOnHomeScreen:function(){if(pi())return{available:!1,error:{code:yt,message:"this api can be only called in parent window"}};if(!Yn())return{available:!1,error:{code:qt,message:"Need access_token for api call, Please login first"}};var Se=xi();if("android"!==Se&&"ios"!==Se)return{available:!1,error:{code:yt,message:"this api can be only called
1in mobile device"}};var Ie=No("addToHomeV2",!0,"internalCreateShortcutOnHomeScreen");return Ie.available?No("addToHomeLineScheme",!0,"internalCreateShortcutOnHomeScreen"):Ie}},oa=function(Se){return function(){var Ie=Se();if(!Ie.available)throw En(Ie.error.code,Ie.error.message)}},Uo={scanCode:oa(ia.scanCode),getAdvertisingId:oa(ia.getAdvertisingId),bluetoothLeFunction:oa(ia.bluetoothLeFunction),shareTargetPicker:oa(ia.shareTargetPicker),multipleLiffTransition:oa(ia.multipleLiffTransition),subwindowOpen:oa(ia.subwindowOpen),scanCodeV2:oa(ia.scanCodeV2),addToHomeScreen:oa(ia.addToHomeScreen),skipChannelVerificationScreen:oa(ia.skipChannelVerificationScreen),createShortcutOnHomeScreen:oa(ia.createShortcutOnHomeScreen),internalCreateShortcutOnHomeScreen:oa(ia.internalCreateShortcutOnHomeScreen)};function ua(Se){if(Xe=Se,!us.some(function(pt){return pt===Xe}))throw En(St,"Unexpected API name.");var Xe,Ie=ia[Se];return!Ie||Ie().available}!function(Se){function Ie(){var Xe=null!==Se&&Se.apply(this,arguments)||this;return Xe.hooks={},Xe}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"isApiAvailable"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(Xe){return ua(Xe)}}}(Re);var wo=function(){function Se(){}return Se.prototype.invoke=function(Ie){var Xe=Uo[Ie];return!!Xe&&(Xe(),!0)},Se}(),Ia=function(){function Se(Ie){this.liff=Ie}return Se.prototype.invoke=function(Ie){return this.liff.checkFeature(Ie)},Se}(),Us=function(){function Se(Ie){this.impl=$r("2.23.2",Se.SDK_VERSION_SUPPORTING_NEW)>=0?new wo:new Ia(Ie)}return Object.defineProperty(Se,"SDK_VERSION_SUPPORTING_NEW",{get:function(){return"2.11.0"},enumerable:!1,configurable:!0}),Se.prototype.invoke=function(Ie){return this.impl.invoke(Ie)},Se}(),Ji=function(Se,Ie){return(Ji=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Xe,pt){Xe.__proto__=pt}||function(Xe,pt){for(var $t in pt)Object.prototype.hasOwnProperty.call(pt,$t)&&(Xe[$t]=pt[$t])})(Se,Ie)},Ha=!1,xa=function(){return Ha},ya=function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}return function(Xe,pt){if("function"!=typeof pt&&null!==pt)throw new TypeError("Class extends value "+String(pt)+" is not a constructor or null");function $t(){this.constructor=Xe}Ji(Xe,pt),Xe.prototype=null===pt?Object.create(pt):($t.prototype=pt.prototype,new $t)}(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"_legacyExtensionsEnabled"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){Ha=!0},Ie}(Re);function aa(){!function Pn(){Object.keys(jn).forEach(function(Se){xe(jn[Se])}),function Bi(){var Se=st();ln.remove("".concat($n,":").concat(jn.EXPIRES,":").concat(Se.liffId),{path:"/"})}()}()}function Ct(Se){return(0,$.sH)(this,void 0,void 0,function(){var Ie,Xe,pt;return(0,$.YH)(this,function($t){switch($t.label){case 0:if(!Se.ok)return[3,4];$t.label=1;case 1:return $t.trys.push([1,3,,4]),[4,Se.json()];case 2:return[2,$t.sent()];case 3:return $t.sent(),[2,Se];case 4:return Ie=String(Se.status),Xe=Sn.has(Ie)?Ie:It,[4,Se.json().catch(function(){throw En(Xe,Se.statusText)})];case 5:throw En((pt=$t.sent()).error||Xe,pt.error_description||pt.message)}})})}function ot(Se){var Ie=function(Xe){if(Xe)return Xe;var pt=Ne();if(!pt)throw En(qt,"Need access_token for api call, Please login first");return{"Content-Type":"application/json",Accept:"application/json",Authorization:"Bearer ".concat(pt)}}(Se&&Se.headers);return(0,$.Cl)((0,$.Cl)({},Se),{headers:Ie})}function Zt(Se,Ie){var Xe;try{Xe=ot(Ie)}catch(pt){return Promise.reject(pt)}return fetch(Se,Xe).then(Ct)}function bt(Se,Ie){var Xe;try{Xe=ot(Ie)}catch(pt){return Promise.reject(pt)}return fetch(Se,Xe)}function sn(Se){var Ie=Se.subdomain,pt=Se.pathname;return"https://".concat(void 0===Ie?"api":Ie,".").concat("line.me","/").concat(pt)}!function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"logout"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(){return aa()}}}(Re);var ai={token:sn({pathname:"oauth2/v2.1/token"}),certs:sn({pathname:"oauth2/v2.1/certs"}),"openid-configuration":sn({subdomain:"access",pathname:".well-known/openid-configuration"}),authorize:sn({subdomain:"access",pathname:"liff/v1/authorize"}),profile:sn({pathname:"v2/profile"}),message:sn({pathname:"message/v3/share"}),friendship:sn({pathname:"friendship/v1/status"}),shareTargetPicker:sn({subdomain:"access",pathname:"oauth2/v2.1/liff/shareTargetPicker"}),shareTargetPickerOtt:sn({pathname:"liff/v2/apps"}),shareTargetPickerResult:sn({subdomain:"access",pathname:"oauth2/v2.1/liff/shareTargetPicker/result"}),apps:sn({pathname:"liff/v2/apps"}),subWindowGetMSIT:sn({pathname:"liff/v2/sub/msit"}),subWindowGetMSTByMSIT:sn({pathname:"liff/v2/sub/mst"}),subWindowSubscribe:sn({subdomain:"liff",pathname:"liff/v2/sub/waitResult"}),subWindowPost:sn({pathname:"liff/v2/sub/result"}),subWindowGetAppData:sn({pathname:"liff/v2/sub/appData"}),subWindowGetOrigin:function(Se){return sn({pathname:"liff/v2/sub/".concat(Se,"/origin")})},accessTokenVerify:sn({pathname:"oauth2/v2.1/verify"}),unauthorizedPermissions:sn({subdomain:"liff",pathname:"liff/v2/incrementalAgreement/unauthorizedPermissions"}),permanentLink:sn({subdomain:"liff",pathname:"liff/v2/permanentLink"}),createShortcutOnHomeScreen:sn({subdomain:"liff-shortcut",pathname:"api/shortcut"})};function wi(Se){return ai[Se]}function Ns(Se){return Zt("".concat(wi("accessTokenVerify"),"?access_token=").concat(encodeURIComponent(Se)),{headers:{"Content-Type":"application/json",Accept:"application/json"}})}var ca="liff.subwindow.identifier",Xo="liff.subwindow.cryptokey",ga=(0,$.Cl)((0,$.Cl)({},ur),{GET_DATA:"getData",SET_DATA:"setData",NOT_FOUND:"notFound",TEARDOWN:"teardown"}),Ps={MAIN:"main",SUB:"sub"},fl=function(Se){return(0,$.sH)(void 0,void 0,void 0,function(){var Ie;return(0,$.YH)(this,function(Xe){switch(Xe.label){case 0:return Xe.trys.push([0,2,,3]),[4,window.crypto.subtle.importKey("jwk",{kty:"oct",k:Se,alg:"A128GCM",ext:!0},{name:"AES-GCM"},!1,["encrypt","decrypt"])];case 1:return[2,Xe.sent()];case 2:throw Ie=Xe.sent(),En(It,Ie);case 3:return[2]}})})},hl=function(Se,Ie,Xe){return(0,$.sH)(void 0,void 0,void 0,function(){var pt,$t,un,Vn;return(0,$.YH)(this,function(rr){switch(rr.label){case 0:return rr.trys.push([0,3,,4]),pt=(new TextEncoder).encode(Se),[4,fl(Ie)];case 1:return $t=rr.sent(),[4,window.crypto.subtle.encrypt({name:"AES-GCM",iv:pt}
1,$t,(new TextEncoder).encode(Xe))];case 2:return un=rr.sent(),[2,btoa(new Uint8Array(un).reduce(function(mr,Ur){return mr+String.fromCharCode(Ur)},""))];case 3:throw Vn=rr.sent(),En(It,Vn);case 4:return[2]}})})},Rl=function(Se,Ie,Xe){return(0,$.sH)(void 0,void 0,void 0,function(){var pt,$t,un,Vn,rr,mr,Ur;return(0,$.YH)(this,function(Sr){switch(Sr.label){case 0:return Sr.trys.push([0,3,,4]),pt=(new TextEncoder).encode(Se),[4,fl(Ie)];case 1:for($t=Sr.sent(),un=atob(Xe),Vn=new Uint8Array(un.length),rr=0;rr<un.length;rr++)Vn[rr]=un.charCodeAt(rr);return[4,window.crypto.subtle.decrypt({name:"AES-GCM",iv:pt},$t,Vn.buffer)];case 2:return mr=Sr.sent(),[2,(new TextDecoder).decode(new Uint8Array(mr))];case 3:throw Ur=Sr.sent(),En(It,Ur);case 4:return[2]}})})},Ma=function(Se){return"".concat(Se.identifier,"-").concat(Se.action,"-").concat(Se.timestamp)},Va=function(Se){return Object.keys(ur).map(function(Ie){return ur[Ie]}).includes(Se)?"broadcast":"command"};function zl(){var Se=document.createElement("form");Se.method="POST",Se.action="$MESSAGE_HANDLER_URL";var Ie=document.createElement("input");Ie.type="hidden",Ie.name="identifier",Ie.value="$IDENTIFIER",Se.appendChild(Ie),document.body.appendChild(Se),Se.submit()}var kl=function(Se){void 0===Se&&(Se=Ps.MAIN);var Ie=this;this.identification={identifier:"",cryptoKey:""},this.messageHandlerInstance=null,this.listeners=new Map,this.sentMessages=[],this.generateIdentification=function(){return(0,$.sH)(Ie,void 0,void 0,function(){var Xe,pt,$t,un,Vn;return(0,$.YH)(this,function(rr){switch(rr.label){case 0:return Xe=new URLSearchParams(window.location.search),pt=function(mr){var Ur=Xe.get("liff.state");return Ur?new URLSearchParams(Ur).get(mr):null},$t=this,Vn={identifier:this.windowType===Ps.MAIN?fr(12):Xe.get("liff.subwindow.identifier")||pt("liff.subwindow.identifier")||""},this.windowType!==Ps.MAIN?[3,2]:[4,(0,$.sH)(void 0,void 0,void 0,function(){var mr,Ur,Sr;return(0,$.YH)(this,function(Oi){switch(Oi.label){case 0:return Oi.trys.push([0,3,,4]),[4,window.crypto.subtle.generateKey({name:"AES-GCM",length:128},!0,["encrypt","decrypt"])];case 1:return mr=Oi.sent(),[4,window.crypto.subtle.exportKey("jwk",mr)];case 2:if(!(Ur=Oi.sent())||!Ur.k)throw En(It,"failed to generate key");return[2,Ur.k];case 3:throw Sr=Oi.sent(),En(It,Sr);case 4:return[2]}})})];case 1:return un=rr.sent(),[3,3];case 2:un=Xe.get(Xo)||pt(Xo)||"",rr.label=3;case 3:return $t.identification=(Vn.cryptoKey=un,Vn),[2]}})})},this.hasIdentification=function(){var Xe=Ie.identification,pt=Xe.identifier,$t=Xe.cryptoKey;return"string"==typeof pt&&"string"==typeof $t&&pt.length>0&&$t.length>0},this.isReady=function(){return Ie.hasIdentification()&&!!Ie.messageHandlerInstance},this.setup=function(){return(0,$.sH)(Ie,void 0,void 0,function(){var Xe,$t,un,Vn,rr=this;return(0,$.YH)(this,function(mr){switch(mr.label){case 0:return this.messageHandlerInstance?[2]:[4,this.generateIdentification()];case 1:if(mr.sent(),!(Xe=this.identification.identifier))return[2];if(!Xe.match(/^[a-zA-Z0-9]+$/gm))throw En(It,"Invalid identifier");return($t=document.createElement("iframe")).style.display="none",$t.src="about:blank",document.body.appendChild($t),null===(Vn=null==$t?void 0:$t.contentWindow)||void 0===Vn||Vn.window.eval("(".concat(zl.toString().replace("$MESSAGE_HANDLER_URL","".concat("https://liff-subwindow.line.me/liff/v2/sub/messageHandler")).replace("$IDENTIFIER",Xe.split("'")[0]),")()")),un="iframe-".concat(Xe,"-ready"),[4,new Promise(function(Ur){var Sr=function(Oi){Oi.data[un]&&(rr.messageHandlerInstance=$t,window.addEventListener("message",rr.proxyToListeners),Ur(),document.removeEventListener("message",Sr))};window.addEventListener("message",Sr)})];case 2:return[2,mr.sent()]}})})},this.teardown=function(){return(0,$.sH)(Ie,void 0,void 0,function(){var Xe,pt;return(0,$.YH)(this,function($t){switch($t.label){case 0:return this.isReady()?[4,this.send({eventName:ga.TEARDOWN})]:[3,2];case 1:$t.sent(),window.removeEventListener("message",this.proxyToListeners),this.listeners.clear(),null===(pt=null===(Xe=this.messageHandlerInstance)||void 0===Xe?void 0:Xe.parentNode)||void 0===pt||pt.removeChild(this.messageHandlerInstance),this.messageHandlerInstance=null,$t.label=2;case 2:return[2]}})})},this.listen=function(Xe){Ie.listeners.set(Xe,Xe)},this.listenRepliedEvent=function(Xe,pt){var $t=function(un){un.replyTarget&&function(Se,Ie){return Ma(Se)===Ma(Ie)}(un.replyTarget,Xe)&&(pt(un),Ie.listeners.delete($t))};Ie.listeners.set($t,$t)},this.send=function(Xe){return(0,$.sH)(Ie,void 0,void 0,function(){var pt,$t,un,Vn,rr=this;return(0,$.YH)(this,function(mr){switch(mr.label){case 0:if(!this.isReady())throw En("message bus is not ready to send message");return $t={action:Va(Xe.eventName),identifier:this.identification.identifier||"",timestamp:(new Date).getTime()},[4,this.getEncryptedContext(Xe)];case 1:return $t.context=mr.sent(),pt=$t,null===(Vn=null===(un=this.messageHandlerInstance)||void 0===un?void 0:un.contentWindow)||void 0===Vn||Vn.postMessage({messageBusEvent:pt},"*"),this.sentMessages.push(Ma(pt)),[4,new Promise(function(Ur){rr.listenRepliedEvent(pt,function(Sr){Ur(Sr.context)})})];case 2:return[2,mr.sent()]}})})},this.reply=function(Xe,pt){return(0,$.sH)(Ie,void 0,void 0,function(){var $t,un,Vn,rr;return(0,$.YH)(this,function(mr){switch(mr.label){case 0:if(!this.isReady())throw En("message bus is not ready to send message");if(!Xe.identifier||!Xe.timestamp)throw En(It,"target message is not val
1id");return un={action:"broadcast"},[4,this.getEncryptedContext(pt)];case 1:return un.context=mr.sent(),un.identifier=this.identification.identifier||"",un.timestamp=(new Date).getTime(),un.replyTarget={action:Xe.action,identifier:Xe.identifier,timestamp:Xe.timestamp},$t=un,null===(rr=null===(Vn=this.messageHandlerInstance)||void 0===Vn?void 0:Vn.contentWindow)||void 0===rr||rr.postMessage({messageBusEvent:$t},"*"),this.sentMessages.push(Ma($t)),[2]}})})},this.setData=function(Xe,pt){void 0===Xe&&(Xe="appData"),Ie.send({eventName:ga.SET_DATA,key:Xe,data:pt})},this.getData=function(Xe){return void 0===Xe&&(Xe="appData"),(0,$.sH)(Ie,void 0,void 0,function(){return(0,$.YH)(this,function(pt){switch(pt.label){case 0:return[4,this.send({eventName:ga.GET_DATA,key:Xe})];case 1:return[2,pt.sent()]}})})},this.proxyToListeners=function(Xe){return(0,$.sH)(Ie,void 0,void 0,function(){var pt,$t=this;return(0,$.YH)(this,function(un){return(pt=Xe.data.messageBusEvent)?(this.sentMessages.includes(Ma(pt))||pt.identifier!==this.identification.identifier||"broadcast"!==pt.action&&!pt.replyTarget||this.listeners.forEach(function(Vn){return(0,$.sH)($t,void 0,void 0,function(){var rr,mr,Ur;return(0,$.YH)(this,function(Sr){switch(Sr.label){case 0:return rr=Vn,mr=[(0,$.Cl)({},pt)],Ur={},[4,this.getDecryptedContext(pt.context)];case 1:return rr.apply(void 0,[$.Cl.apply(void 0,mr.concat([(Ur.context=Sr.sent(),Ur)]))]),[2]}})})}),[2]):[2]})})},this.getEncryptedContext=function(Xe){return(0,$.sH)(Ie,void 0,void 0,function(){var pt,$t,un,Vn,rr,mr,Ur;return(0,$.YH)(this,function(Sr){switch(Sr.label){case 0:return $t=(pt=this.identification).identifier,un=pt.cryptoKey,rr=(Vn=JSON).stringify,Ur={eventName:Xe.eventName,key:Xe.key?Xe.key:void 0},Xe.data?[4,hl($t,un,JSON.stringify(Xe.data))]:[3,2];case 1:return mr=Sr.sent(),[3,3];case 2:mr=void 0,Sr.label=3;case 3:return[2,rr.apply(Vn,[(Ur.data=mr,Ur)])]}})})},this.getDecryptedContext=function(Xe){return(0,$.sH)(Ie,void 0,void 0,function(){var pt,$t,un,Vn,rr,mr,Ur,Sr;return(0,$.YH)(this,function(Oi){switch(Oi.label){case 0:return $t=(pt=this.identification).identifier,un=pt.cryptoKey,(Vn=JSON.parse(Xe)).data&&"string"==typeof Vn.data?(Sr=(Ur=JSON).parse,[4,Rl($t,un,Vn.data)]):[3,2];case 1:return mr=Sr.apply(Ur,[Oi.sent()]),[3,3];case 2:mr=void 0,Oi.label=3;case 3:return rr=mr,[2,(0,$.Cl)((0,$.Cl)({},Vn),{data:rr})]}})})},this.windowType=Se};!function(){if(typeof window<"u"&&"function"!=typeof window.CustomEvent){let Se=function(Ie,Xe){var pt=Xe||{},$t=pt.bubbles,un=void 0!==$t&&$t,Vn=pt.cancelable,rr=void 0!==Vn&&Vn,mr=pt.detail,Ur=void 0===mr?void 0:mr,Sr=d
1ocument.createEvent("CustomEvent");return Sr.initCustomEvent(Ie,un,rr,Ur),Sr};Se.prototype=Event.prototype,window.CustomEvent=Se}}();var Zs={},_a=!1;function Ga(Se,Ie){_a||(_a=!0,window.addEventListener(Lt,function(Xe){Xe&&Xe.detail&&Xe.detail.type&&Zs[Xe.detail.type]&&Zs[Xe.detail.type].forEach(function(pt){return pt(Xe)})})),Zs[Se]?Zs[Se].push(Ie):Zs[Se]=[Ie]}function _o(Se,Ie){var Xe=Zs[Se];if(Xe&&Array.isArray(Xe)){var pt=Xe.indexOf(Ie);pt>=0&&Xe.splice(pt,1)}}function is(Se,Ie,Xe){void 0===Ie&&(Ie={}),void 0===Xe&&(Xe="");var pt=So();if(!pt)throw En(yt,"Invalid featureToken for client features");if(!window._liff||!window._liff.postMessage)throw En(St,"postMessage is not available from client");N.debug("[js postMessage to client]",Se,Xe,Ie),window._liff.postMessage(Se,pt,Xe,JSON.stringify(Ie))}function hs(Se,Ie,Xe){return void 0===Ie&&(Ie={}),void 0===Xe&&(Xe={once:!0}),So()?(Xe=(0,$.Cl)({callbackId:fr(12),once:!0},Xe),new Promise(function(pt,$t){var un=function(Vn){Vn&&Vn.detail&&(Vn.detail.callbackId===Xe.callbackId||"string"!=typeof Vn.detail.callbackId)&&(Xe.once&&_o(Se,un),N.debug("[callback detail]",Vn.detail),Vn.detail.error?$t(Vn.detail.error):Vn.detail.data?pt(Vn.detail.data):$t(Vn.detail)),$t()};Ga(Se,un),is(Se,Ie,Xe.callbackId)})):Promise.reject(En(yt,"Invalid featureToken for client features"))}function Go(){var Se=Fi();null!==Se&&("ios"===xi()&&$r(Se,"9.19")>=0||"android"===xi()&&$r(Se,"11.6.0")>=0)?location.href="liff://close":window._liff&&window._liff.postMessage?null!==Se&&$r(Se,"10.15.0")>=0?"ios"===xi()?window._liff.postMessage("closeWindow",""):window._liff.postMessage("closeWindow","","",""):hs("closeWindow"):window.close()}function Yo(Se){return Zt(wi("subWindowGetOrigin")(Se))}!function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"closeWindow"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(){return Go()}}}(Re);var ba={};function Ea(Se,Ie){Se&&ba[Se]&&ba[Se].forEach(function(Xe){Xe(Ie)})}function $l(Se,Ie){ba[Se]||(ba[Se]=[]),ba[Se].push(Ie)}function La(Se,Ie){if(ba[Se]){var Xe=ba[Se].indexOf(Ie);Xe>=0&&ba[Se].splice(Xe,1)}}var Nn,xr,kr,Ii,fo,zo=function(){function Se(Ie){this.storage=Ie}return Se.prototype.getItem=function(Ie){return this.storage.getItem("".concat(this.getKeyPrefix(),":").concat(Ie))},Se.prototype.setItem=function(Ie,Xe){this.storage.setItem("".concat(this.getKeyPrefix(),":").concat(Ie),Xe)},Se.prototype.removeItem=function(Ie){this.storage.removeItem("".concat(this.getKeyPrefix(),":").concat(Ie))},Se.prototype.clear=function(){this.storage.clear()},Se.prototype.getKeyPrefix=function(){return"".concat($n,":").concat(this.getLiffId())},Se.prototype.getLiffId=function(){var Ie=st().liffId;if(!Ie)throw En(Ft,"liffId is necessary for liff.init()");return Ie},Se}(),Es=new zo(new Cn);function Ce(){var Se=Es.getItem("subWindowStatusUpdated");return null!==Se&&JSON.parse(Se)}function ye(Se){Es.setItem("subWindowStatusUpdated",String(Se))}function $e(Se){Nn=Se}function tt(){return Nn}function Et(){return kr}function A(){return Ii}function W(Se){return void 0===Se&&(Se=Ps.MAIN),(0,$.sH)(this,void 0,void 0,function(){return(0,$.YH)(this,function(Ie){switch(Ie.label){case 0:return[4,(fo=new kl(Se)).setup()];case 1:return Ie.sent(),[2,fo]}})})}function oe(){return fo}var be=new Cn,Ue=new zo(Ke()?be:window.sessionStorage);function kt(){return Ue.getItem("mainWindowOrigin")}function on(Se,Ie){return void 0===Ie&&(Ie={}),(0,$.sH)(this,void 0,void 0,function(){var Xe,pt,$t,un,Vn,rr,mr,Ur;return(0,$.YH)(this,function(Sr){switch(Sr.label){case 0:if(null!=(Xe=oe())&&Xe.isReady())return[3,5];if(pt=JSON.stringify(Ie),$t=st().liffId,un=kt(),!window.opener||!un||!$t)throw En(Vt);Vn=!1,Sr.label=1;case 1:return Sr.trys.push([1,3,,4]),[4,Yo($t)];case 2:return rr=Sr.sent(),Vn=rr.subwindowCommonModule,[3,4];case 3:throw mr=Sr.sent(),N.debug(mr),En(Vt);case 4:return Ur=Vn?un:location.origin,[2,new Promise(function(Oi){window.addEventListener("message",function qi(oo){var po;(po=oo).data&&"string"==typeof po.data.type&&[ur.SUBMIT,ur.CANCEL].includes(po.data.type)&&(window.removeEventListener("message",qi),Oi({status:Se,result:pt}))}),window.opener.postMessage({status:Se,result:pt},Ur)})];case 5:return Xe.send({eventName:Se,data:Ie}),[4,new Promise(function(Oi){setTimeout(Oi,500)})];case 6:return Sr.sent(),[2,{status:Se,result:JSON.stringify(Ie)}]}})})}function xn(Se){var Ie,Xe=A();if(Se.origin===Xe){var pt=Se.data;if(pt){var $t,un=pt.status,Vn=pt.result;try{$t=JSON.parse(Vn||"{}")}catch{$t={}}switch(un){case Gr:window.clearInterval(Et()),Pr();break;case ur.CANCEL:case ur.SUBMIT:ye(!0),window.clearInterval(Et()),window.removeEventListener("message",xn),Ea(un,$t),null===(Ie=tt())||void 0===Ie||Ie.postMessage({type:un},A());break;default:N.debug("unexpected message")}}}}var pr=function(Se){return(0,$.sH)(void 0,void 0,void 0,function(){var Ie,Xe,pt,$t;
1return(0,$.YH)(this,function(un){if(Ce())return[2];switch(Xe=(Ie=Se.context).eventName,pt=Ie.data,$t=oe(),Xe){case ur.INIT:Kr(!pt.hasOpener);break;case ur.CANCEL:case ur.SUBMIT:ye(!0),Ea(Xe,pt),null==$t||$t.reply(Se,{eventName:Xe});break;case ur.CLOSE:!1===Ce()&&(ye(!0),Ea(ur.CLOSE,{})),Pr()}return[2]})})};function Rr(){window.clearInterval(xr),window.clearInterval(Et()),window.removeEventListener("message",xn)}function Kr(Se){if(void 0===Se&&(Se=!1),Rr(),ye(!1),Se){var Ie=tt();Ie&&(Ie.close(),$e(null))}}function Pr(){return(0,$.sH)(this,void 0,void 0,function(){var Se;return(0,$.YH)(this,function(Ie){switch(Ie.label){case 0:return(Se=oe())?[4,Se.teardown()]:[3,2];case 1:Ie.sent(),Ie.label=2;case 2:return[2]}})})}var qn=null;function Mr(Se){return(0,$.sH)(this,void 0,void 0,function(){var Ie,Xe,pt,$t,un,Vn,rr,mr,Ur,Sr,Oi,qi,oo,po,Wo=this;return(0,$.YH)(this,function(Fo){switch(Fo.label){case 0:if(Ie=Se.msit,Xe=Se.mstChallenge,$t=void 0===(pt=Se.reconnectCount)?0:pt,un=function(){return(0,$.sH)(Wo,void 0,void 0,function(){return(0,$.YH)(this,function(Ko){switch(Ko.label){case 0:return[4,new Promise(function(cl){return setTimeout(cl,1e3)})];case 1:return Ko.sent(),[4,Mr({msit:Ie,mstChallenge:Xe,onSuccess:Se.onSuccess,onError:Se.onError,reconnectCount:$t+1})];case 2:return Ko.sent(),[2]}})})},Vn=function(){for(var Ko=[],Qo=0;Qo<arguments.length;Qo++)Ko[Qo]=arguments[Qo];qn=null,Se.onSuccess.apply(Se,(0,$.fX)([],(0,$.zs)(Ko),!1))},rr=function(){for(var Ko=[],Qo=0;Qo<arguments.length;Qo++)Ko[Qo]=arguments[Qo];qn=null,Se.onError.apply(Se,(0,$.fX)([],(0,$.zs)(Ko),!1))},mr=Date.now(),null===qn&&(qn=mr),Ur=mr-qn,$t>=10||Ur>6e5)return rr(En(It,"Failed to connect")),[2];Fo.label=1;case 1:return Fo.trys.push([1,3,,5]),[4,bt(wi("subWindowSubscribe"),{method:"POST",body:JSON.stringify({msit:Ie,mstChallenge:Xe})})];case 2:return Sr=Fo.sent(),[3,5];case 3:return Fo.sent(),[4,un()];case 4:return Fo.sent(),[2];case 5:return Sr.status>=500?[4,un()]:[3,7];case 6:return Fo.sent(),[3,17];case 7:return Sr.status>=400&&500>Sr.status?[4,mi(Sr)]:[3,9];case 8:return qi=Fo.sent(),Oi=qi?En(St,qi.errorDetail):En(It,"Some error happened in the server"),rr(Oi),[3,17];case 9:return 200!==Sr.status?[3,16]:[4,mi(Sr)];case 10:if(!(qi=Fo.sent()))return rr(En(It,"Some error happened in the server")),[2];switch(po=qi.result,oo=qi.status){case ur.ERROR:return[3,11];case ur.CLOSE:case ur.CANCEL:case ur.SUBMIT:return[3,13]}return[3,14];case 11:return[4,un()];case 12:return Fo.sent(),[3,15];case 13:return Vn(oo,po),[3,15];case 14:rr(En(It,"Some error happened in the server")),Fo.label=15;case 15:return[3,17];case 16:rr(En(It,"Some error happened in the server")),Fo.label=17;case 17:return[2]}})})}function mi(Se){return(0,$.sH)(this,void 0,void 0,function(){return(0,$.YH)(this,function(Ie){switch(Ie.label){case 0:return Ie.trys.push([0,2,,3]),[4,Se.json()];case 1:return[2,Ie.sent()];case 2:return Ie.sent(),[2,null];case 3:return[2]}})})}function Ti(Se){var Ie={};return Object.keys(Se).forEach(function(Xe){Ie[Xe]="closeButtonColor"===Xe?"white"===Se[Xe]?"#ffffff":"#000000":Se[Xe]}),Ie}var _i={height:"full",closeButtonPosition:"right",closeButtonColor:"black",closeButtonLabel:""};function Le(Se){var Ie=Se.appData,Xe=Se.native,pt=st().liffId,$t=ko(),un=Xi(Se.url);
1if(!pt)return Promise.reject(En(qt,"liffId is invalid"));if(!$t)return Promise.reject(En(qt,"mst_challenge is invalid"));if(!un)return Promise.reject(En(St,"params.url must be liff url or mini url"));var rr,mr,Ur,Sr,Oi,qi,Vn=Object.assign({},_i,Xe);return(rr={mainLiffId:pt,subLiffId:un,mstChallenge:$t,appData:Ie,view:Ti(Vn)},mr=rr.mainLiffId,Ur=rr.subLiffId,Sr=rr.mstChallenge,Oi=rr.appData,qi=rr.view,mr&&Sr?Zt(wi("subWindowGetMSIT"),{method:"POST",body:JSON.stringify({mainLiffId:mr,subLiffId:Ur,mstChallenge:Sr,appData:Oi,view:qi})}):Promise.reject(En(St,"no proper argument"))).then(function(rr){var mr=rr.msit;return Mr({msit:mr,mstChallenge:$t,onSuccess:function(Ur,Sr){Ea(Ur,Sr)},onError:function(Ur){Ea(ur.ERROR,Ur)}}),mr}).then(function(rr){return function(mr,Ur){var Sr;return(0,$.sH)(this,void 0,void 0,function(){var Oi,qi;return(0,$.YH)(this,function(oo){switch(oo.label){case 0:return Oi=mr.url,(qi=new URLSearchParams).set("msit",Ur),[4,null===(Sr=mr.onBeforeTransition)||void 0===Sr?void 0:Sr.call(mr)];case 1:return oo.sent(),location.href="".concat(sr,"?url=").concat(encodeURIComponent(Oi),"&").concat(qi.toString()),[2]}})})}(Se,rr)})}function it(Se){return Uo.subwindowOpen(),Ot()?Le(Se):function jr(Se){var Ie;return(0,$.sH)(this,void 0,void 0,function(){var Xe,$t,un,Vn,rr,mr,Ur,Sr,Oi,qi;return(0,$.YH)(this,function(oo){switch(oo.label){case 0:return(Xe=Xi(Se.url))?(Kr(!0),[4,Pr()]):[2,Promise.reject(En(St,"params.url must be liff url or mini url"))];case 1:return oo.sent(),$e("ios"!==xi()||Co()?window.open("","liffsubwindow","width=480, height=640, menubar=no, toolbar=no, scrollbars=yes"):window.open()),$t=Se.appData,(un=new URL(Se.url)).searchParams.append(Br,"true"),[4,W()];case 2:return Vn=oo.sent(),un.searchParams.append(ca,Vn.identification.identifier),un.searchParams.append(Xo,Vn.identification.cryptoKey),un.hostname=(Ko=(Fo=(0,$.zs)(un.hostname.split(".")))[0],Qo=Fo.slice(1),(0,$.fX)(["".concat(Ko,"-ext")],(0,$.zs)(Qo),!1).join(".")),rr=un.toString(),[4,Yo(Xe)];case 3:if(mr=oo.sent(),Ur=mr.origin,Sr=mr.subwindowCommonModule,!(Oi=tt()))throw En(Mt);if(!Sr)return Oi.close(),[2];Ii=Ur,Vn.listen(pr),Vn.setData("appData",$t),window.addEventListener("message",xn),oo.label=4;case 4:return oo.trys.push([4,6,,7]),[4,null===(Ie=Se.onBeforeTransition)||void 0===Ie?void 0:Ie.call(Se)];case 5:return oo.sent(),[3,7];case 6:throw qi=oo.sent(),Oi.close(),qi;case 7:return Oi.location.href=rr,po=function(Wo,Fo){var Ko=tt(),Qo={type:Gr};return Fo&&(Qo.message=JSON.stringify(Fo)),window.setInterval(function(){null==Ko||Ko.postMessage(Qo,Wo)},100)}(Ur,$t),kr=po,Wo=window.setInterval(function(){var Wo=tt();Wo&&Wo.closed&&(Rr(),$e(null),!1===Ce()&&(ye(!0),Ea(ur.CLOSE,{})))},100),xr=Wo,[2]}var Wo,Fo,Ko,Qo,po})})}(Se)}function an(Se){if(!Se.mst||!Se.status)return Promise.reject(En(St,"no proper argument"));var Ie=JSON.stringify(Se);return Zt(wi("subWindowPost"),{method:"POST",body:Ie})}function nt(){if(!pi())throw En(qt,"this api can be only called
1in child window")}function Qt(Se){return void 0===Se&&(Se={}),nt(),Ot()?function(Ie){return void 0===Ie&&(Ie={}),(0,$.sH)(this,void 0,void 0,function(){var Xe,pt;return(0,$.YH)(this,function($t){switch($t.label){case 0:return(Xe=io())?[4,an({mst:Xe,status:ur.CANCEL,result:Ie})]:[2,Promise.reject(En(qt,"mst is invalid"))];case 1:return pt=$t.sent(),ye(!0),[2,pt]}})})}(Se):(void 0===(Ie=Se)&&(Ie={}),on(ur.CANCEL,Ie));var Ie}function Fn(Se){return void 0===Se&&(Se={}),nt(),Ot()?function(Ie){return void 0===Ie&&(Ie={}),(0,$.sH)(this,void 0,void 0,function(){var Xe,pt;return(0,$.YH)(this,function($t){switch($t.label){case 0:return(Xe=io())?[4,an({mst:Xe,status:ur.SUBMIT,result:Ie})]:[2,Promise.reject(En(qt,"mst is invalid"))];case 1:return pt=$t.sent(),ye(!0),[2,pt]}})})}(Se):(void 0===(Ie=Se)&&(Ie={}),on(ur.SUBMIT,Ie));var Ie}function vr(){return nt(),Ot()?function(){return(0,$.sH)(this,void 0,void 0,function(){var Se;return(0,$.YH)(this,function(Ie){switch(Ie.label){case 0:return!1!==Ce()?[3,2]:(Se=io())?[4,an({mst:Se,status:ur.CLOSE,result:{}})]:[2,Promise.reject(En(qt,"mst is invalid"))];case 1:Ie.sent(),Ie.label=2;case 2:return Go(),[2]}})})}():function(){return(0,$.sH)(this,void 0,void 0,function(){var Se;return(0,$.YH)(this,function(Ie){return null!=(Se=oe())&&Se.isReady()?(Se.send({eventName:ur.CLOSE}),[2,new Promise(function(Xe){setTimeout(function(){Go(),Xe()},100)})]):(Go(),[2,Promise.resolve()])})})}()}function ei(){return nt(),function(){var Se,Ie=function Yr(){return hn(jn.APP_DATA)}();try{Se=Ie?JSON.parse(Ie):{}}catch{Se={}}return Promise.resolve(Se)}()}function co(Se){var Ie=Se.msit,Xe=Se.mstVerifier;return Ie&&Xe?Zt(wi("subWindowGetMSTByMSIT"),{method:"POST",body:JSON.stringify({msit:Ie,mstVerifier:Xe})}):Promise.reject(En(St,"no proper argument"))}function so(Se){var Ie=Se.mst;return Ie?Zt(wi("subWindowGetAppData"),{method:"POST",body:JSON.stringify({mst:Ie})}):Promise.reject(En(St,"no proper argument"))}var na,ro={on:$l,off:La,open:it,cancel:Qt,submit:Fn,close:vr,getAppData:ei},Mo=(function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"subWindow"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){var Xe=this;return{on:$l.bind(this),off:La.bind(this),open:function(pt){return it.call(Xe,(0,$.Cl)((0,$.Cl)({},pt),{onBeforeTransition:void 0}))},cancel:Qt.bind(this),submit:Fn.bind(this),close:vr.bind(this),getAppData:ei.bind(this)}}}(Re),f(42442)),ps=f.n(Mo),Ho=function(){var Se=this;this.type="sync",this.fns=new Set,this.on=function(Ie){Se.fns.add(Ie)},this.call=function(){for(var Ie,Xe,pt=[],$t=0;$t<arguments.length;$t++)pt[$t]=arguments[$t];try{for(var un=(0,$.Ju)(Se.fns),Vn=un.next();!Vn.done;Vn=un.next())Vn.value.apply(void 0,(0,$.fX)([],(0,$.zs)(pt),!1))}catch(mr){Ie={error:mr}}finally{try{Vn&&!Vn.done&&(Xe=un.return)&&Xe.call(un)}finally{if(Ie)throw Ie.error}}}},bo=function(){var Se=this;this.type="async",this.fns=new Set,this.on=function(Ie){Se.fns.add(Ie)},this.call=function(){for(var Ie=[],Xe=0;Xe<arguments.length;Xe++)Ie[Xe]=arguments[Xe];return(0,$.sH)(Se,void 0,void 0,function(){var pt,$t,un,rr,mr;return(0,$.YH)(this,function(Ur){switch(Ur.label){case 0:pt=[];try{for($t=(0,$.Ju)(this.fns),un=$t.next();!un.done;un=$t.next())pt.push(un.value.apply(void 0,(0,$.fX)([],(0,$.zs)(Ie),!1)))}catch(Sr){rr={error:Sr}}finally{try{un&&!un.done&&(mr=$t.return)&&mr.call($t)}finally{if(rr)throw rr.error}}return[4,Promise.all(pt)];case 1:return Ur.sent(),[2]}})})}},Vi=function(Se){var Ie,Xe=fr(43),pt=function bn(Se){var Ie="";return Se.replace(/\r|\n/g,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ").forEach(function(Xe){Ie+=String.fromCharCode(parseInt(Xe))}),window.btoa(Ie)}(ps()(Xe)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),$t=st();if(!$t||!$t.liffId)throw En(Ft,"You need to define `liffId` for liff.login()");var un={app_id:$t.liffId,state:fr(12),response_type:"code",code_challenge_method:"S256",code_challenge:pt,liff_sdk_version:"2.23.2"};Se&&Se.redirectUri&&(un.redirect_uri=Se.redirectUri),pi()&&!Ot()&&(null!==(Ie=oe())&&void 0!==Ie&&Ie.isReady()?un.redirect_uri=window.location.href:un.disable_auto_login="true"),function Ut(Se){ft(jn.LOGIN_TMP,Se)}({codeVerifier:Xe});var Vn=wi("authorize")+"?"+Xn.stringify(un);N.debug("[Redirect] ".concat(Vn)),window.location.href=Vn},Ds=function(Se){function Ie(){var Xe=null!==Se&&Se.apply(this,arguments)||this;return Xe.hooks={before:new Ho},Xe}return(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"login"}
1,enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return this._login.bind(this)},Ie.prototype._login=function(Xe){this.hooks.before.call(Xe),Vi(Xe)},Ie}(Re),Ro=typeof navigator>"u"?"en":null!==(na=navigator.language)&&void 0!==na?na:"en",Bs=null;function ll(Se){return(0,$.sH)(this,void 0,void 0,function(){return(0,$.YH)(this,function(Ie){switch(Ie.label){case 0:return Ro=Se,[4,Is()];case 1:return Ie.sent(),[2]}})})}function Is(){return(0,$.sH)(this,void 0,void 0,function(){var Se,Ie;return(0,$.YH)(this,function(Xe){switch(Xe.label){case 0:return[4,Zt("".concat("https://liffsdk.line-scdn.net/xlt/manifest.json"),{method:"GET",headers:{Accept:"application/json"}})];case 1:return Se=Xe.sent(),Ie="".concat(Ro),!Se.languages[Ie]&&Ro.includes("-")&&(Ie=Ro.split("-")[0]),Se.languages[Ie]||(Ie="en"),[4,Zt("".concat("https://liffsdk.line-scdn.net/xlt","/").concat(Se.languages[Ie]),{method:"GET",headers:{Accept:"application/json"}})];case 2:return Bs=Xe.sent(),[2]}})})}function Ws(Se){if(null===Bs)throw En(lt,"please call xlt after liff.init");return Bs[Se]}var za=function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}return(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"i18n"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(Xe){return Xe.internalHooks.init.beforeFinished(this.beforeInitFinished.bind(this)),{setLang:ll}},Ie.prototype.beforeInitFinished=function(){return(0,$.sH)(this,void 0,void 0,function(){return(0,$.YH)(this,function(Xe){switch(Xe.label){case 0:return[4,Is()];case 1:return Xe.sent(),[2]}})})},Ie}(Re),ho=new za,ul={iconColor:"#111111",statusBarColor:"BLACK",titleTextColor:"#111111",titleSubtextColor:"#B7B7B7",titleButtonColor:"#111111",titleBackgroundColor:"#FFFFFF",progressBarColor:"#06C755",progressBackgroundColor:"#FFFFFF",titleButtonAreaBackgroundColor:"#1FFFFFFF",titleButtonAreaBorderColor:"#26000000",baseBackgroundColor:"#FFFFFF",baseTextColor:"#000000",lightButtonBorderColor:"rgba(0, 0, 0, 0.15)"},ic={iconColor:"#FFFFFF",statusBarColor:"WHITE",titleTextColor:"#FFFFFF",titleSubtextColor:"#949494",titleButtonColor:"#FFFFFF",titleBackgroundColor:"#111111",progressBarColor:"#06C755",progressBackgroundColor:"#111111",titleButtonAreaBackgroundColor:"#1FFFFFFF",titleButtonAreaBorderColor:"#26000000",baseBackgroundColor:"#000000",baseTextColor:"#FFFFFF",lightButtonBorderColor:"rgba(255, 255, 255, 0.5)"};function Cs(Se){var Ie=He(),Xe=(null==Ie?void 0:Ie.menuColorSetting)||{adaptableColorSchemes:["light"],lightModeColor:ul,darkModeColor:ic},$t=Xe.lightModeColor,un=Xe.darkModeColor,Vn=Xe.adaptableColorSchemes.includes("dark");!function _u(Se){var Ie=Se.iconColor,Xe=Se.statusBarColor,pt=Se.titleTextColor,$t=Se.titleSubtextColor,un=Se.titleButtonColor,Vn=Se.titleBackgroundColor,rr=Se.progressBarColor,mr=Se.progressBackgroundColor,Ur=Se.titleButtonAreaBackgroundColor,Sr=Se.titleButtonAreaBorderColor,Oi=Se.baseBackgroundColor,qi=Se.baseTextColor,oo=Se.lightButtonBorderColor;Ca("--liff-base-background-color",Oi),Ca("--liff-base-text-color",qi),Ca("--liff-base-background-rgb-color",zt(Oi)),Ca("--liff-base-text-rgb-color",zt(qi)),Ca("--liff-light-button-border-color",oo),Ca("--liff-title-text-color",pt),Ca("--liff-title-background-color",Vn),Ca("--liff-title-button-color",un),Ca("--liff-icon-color",Ie),Ca("--liff-status-bar-color",Xe),Ca("--liff-title-subtext-color",$t),Ca("--liff-progress-bar-color",rr),Ca("--liff-progress-background-color",mr),Ca("--liff-title-button-area-background-color",Xr(Ur)),Ca("--liff-title-button-area-border-color",Xr(Sr))}(Se.matches&&Vn?(0,$.Cl)((0,$.Cl)({},ic),un):(0,$.Cl)((0,$.Cl)({},ul),$t))}function Ca(Se,Ie){document.documentElement.style.setProperty(Se,Ie)}var pl={addToHomeScreen:function(Se){if(!new Us(Se).invoke("addToHomeScreen"))throw En(yt,"No permission for liff.addToHomeScreen()")},scanCode:function(Se){if(!new Us(Se).invoke("scanCode"))return Promise.reject(En(yt,"No permission for liff.scanCode()"))},getAdvertisingId:function(Se){if(!new Us(Se).invoke("getAdvertisingId"))return Promise.reject(En(yt,"No permission for liff.getAdvertisingId()"))},initPlugins:function(){}};function da(Se){return(0,$.sH)(this,void 0,void 0,function(){var Ie;return(0,$.YH)(this,function(Xe){switch(Xe.label){case 0:return[4,xa()?function(){return function Pa(Se,Ie,Xe,pt){return new(Xe||(Xe=Promise))(function($t,un){function Vn(Ur){try{mr(pt.next(Ur))}catch(Sr){un(Sr)}}function rr(Ur){try{mr(pt.throw(Ur))}catch(Sr){un(Sr)}}function mr(Ur){var Sr;Ur.done?$t(Ur.value):(Sr=Ur.value,Sr instanceof Xe?Sr:new Xe(function(Oi){Oi(Sr)})).then(Vn,rr)}mr((pt=pt.apply(Se,Ie||[])).next())})}(this,void 0,void 0,function(){return function el(Se,Ie){var Xe,pt,$t,un,Vn={label:0,sent:function(){if(1&$t[0])throw $t[1];return $t[1]}
1,trys:[],ops:[]};return un={next:rr(0),throw:rr(1),return:rr(2)},"function"==typeof Symbol&&(un[Symbol.iterator]=function(){return this}),un;function rr(mr){return function(Ur){return function(Sr){if(Xe)throw new TypeError("Generator is already executing.");for(;Vn;)try{if(Xe=1,pt&&($t=2&Sr[0]?pt.return:Sr[0]?pt.throw||(($t=pt.return)&&$t.call(pt),0):pt.next)&&!($t=$t.call(pt,Sr[1])).done)return $t;switch(pt=0,$t&&(Sr=[2&Sr[0],$t.value]),Sr[0]){case 0:case 1:$t=Sr;break;case 4:return Vn.label++,{value:Sr[1],done:!1};case 5:Vn.label++,pt=Sr[1],Sr=[0];continue;case 7:Sr=Vn.ops.pop(),Vn.trys.pop();continue;default:if(!(($t=($t=Vn.trys).length>0&&$t[$t.length-1])||6!==Sr[0]&&2!==Sr[0])){Vn=0;continue}if(3===Sr[0]&&(!$t||Sr[1]>$t[0]&&Sr[1]<$t[3])){Vn.label=Sr[1];break}if(6===Sr[0]&&Vn.label<$t[1]){Vn.label=$t[1],$t=Sr;break}if($t&&Vn.label<$t[2]){Vn.label=$t[2],Vn.ops.push(Sr);break}$t[2]&&Vn.ops.pop(),Vn.trys.pop();continue}Sr=Ie.call(Se,Vn)}catch(Oi){Sr=[6,Oi],pt=0}finally{Xe=$t=0}if(5&Sr[0])throw Sr[1];return{value:Sr[0]?Sr[1]:void 0,done:!0}}([mr,Ur])}}}(this,function(Se){switch(Se.label){case 0:return[3,2];case 1:return[2,Se.sent().default];case 2:return[2,new Promise(function(Ie,Xe){var pt=document.createElement("script"),$t=function sa(){var Se;return"ios"===xi()?(Se=Fi())&&$r(Se,"9.19.0")<0?"https://static.line-scdn.net/liff/edge/2/ios-918-extensions_2_22_0.js":"https://static.line-scdn.net/liff/edge/2/ios-extensions_2_22_0.js":"https://static.line-scdn.net/liff/edge/2/non-ios-extensions_2_22_0.js"}();pt.onload=function(){var un=window.liffClientExtension;un?Ie(un):Xe(En(lt,"Unable to load client features. (Extension is empty)"))},pt.onerror=function(un){Xe(En(lt,"Unable to load client features.",{cause:un}))},pt.src=$t,pt.type="text/javascript",document.body.appendChild(pt)})]}})})}():Promise.resolve(void 0)];case 1:return(Ie=Xe.sent())?(Ie.install(Se,pl),[2]):[2]}})})}function Gu(){return(0,$.sH)(this,void 0,void 0,function(){return(0,$.YH)(this,function(Se){switch(Se.label){case 0:return[4,Zt(wi("certs"))];case 1:return[2,Se.sent()]}})})}function le(Se,Ie,Xe){return(0,$.sH)(this,void 0,void 0,function(){var pt;return(0,$.YH)(this,function($t){switch($t.label){case 0:return[4,crypto.subtle.importKey("jwk",Se,{name:"ECDSA",namedCurve:"P-256"},!1,["verify"])];case 1:return pt=$t.sent(),[4,crypto.subtle.verify({name:"ECDSA",hash:{name:"SHA-256"}},pt,Xe,Ie)];case 2:return[2,$t.sent()]}})})}function pe(Se,Ie){return(0,$.sH)(this,void 0,void 0,function(){var Xe,pt,$t,un,Vn,rr,mr,Ur,Sr,Oi,qi,oo,po,Wo,Fo,Ko;return(0,$.YH)(this,function(Qo){switch(Qo.label){case 0:return Xe=Se.split("."),pt=(0,$.zs)(Xe,3),$t=pt[0],un=pt[1],Vn=pt[2],rr=JSON.parse(Nr.decode($t)),mr=JSON.parse(Nr.decodeUnicode(un)),Ur=vn(Nr.decode(Vn)),Sr=vn("".concat($t,".").concat(un)),[4,Gu()];case 1:if(Oi=Qo.sent(),!(qi=Oi.keys.find(function(cl){return cl.kid===rr.kid})))return[3,6];if(delete qi.alg,"ES256"!==rr.alg)throw En(rt,'Invalid "alg" value in ID_TOKEN');oo=void 0,Qo.label=2;case 2:return Qo.trys.push([2,4,,5]),[4,le(qi,Sr,Ur)];case 3:return oo=Qo.sent(),[3,5];case 4:throw po=Qo.sent(),En(rt,"".concat("Failed to use Crypto API to verify ID_TOKEN",": ").concat(po));case 5:if(oo){if(Wo=mr.iss!=="https://access.".concat("line.me"),Fo=mr.aud!==Ie,Ko=1e3*mr.exp<Date.now(),Wo)throw En(rt,'Invalid "iss" value in ID_TOKEN');if(Fo)throw En(rt,'Invalid "aud" value in ID_TOKEN');if(Ko)throw En(rt,'Invalid "exp" value in ID_TOKEN');return[2,mr]}throw En(rt,"Invalid signature in ID_TOKEN");case 6:throw En(rt,'Invalid "kid" value in ID_TOKEN');case 7:return[2]}})})}function ie(Se){var Ie=Se.split(".");if(Ie[1])try{var Xe=Ie[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(window.atob(Xe))}catch{return null}return null}function se(Se){var Ie=Se.pathname,Xe=Se.query,pt=Xe?"?".concat(Xn.stringify(Xe)):"",$t="".concat("liff://").concat(Ie).concat(pt);location.href=$t}var _e=null;function Ve(){return!!_e}function ut(Se,Ie){return(0,$.sH)(this,void 0,void 0,function(){var Xe;return(0,$.YH)(this,function(pt){switch(pt.label){case 0:return(Xe=io())?[2,Xe]:Se&&Ie?[4,co({msit:Se,mstVerifier:Ie})]:[3,2];case 1:return[2,pt.sent().mst];case 2:return[2,null]}})})}function Tt(Se){return Zt("".concat(wi("apps"),"/").concat(Se,"/featureToken"))}function Xt(Se){return(0,$.sH)(this,void 0,void 0,function(){var Ie,Xe,pt,$t;return(0,$.YH)(this,function(un){switch(un.label){case 0:return Ie=Xn.parse(window.location.hash),Xe=function(Vn){for(var rr,mr,Ur=[],Sr=1;Sr<arguments.length;Sr++)Ur[Sr-1]=arguments[Sr];var Oi=function(po){Object.keys(po).filter(function(Wo){return null!=po[Wo]}
1).forEach(function(Wo){Vn[Wo]=po[Wo]})};try{for(var qi=(0,$.Ju)(Ur),oo=qi.next();!oo.done;oo=qi.next())Oi(oo.value)}catch(po){rr={error:po}}finally{try{oo&&!oo.done&&(mr=qi.return)&&mr.call(qi)}finally{if(rr)throw rr.error}}return Vn}({access_token:Ne(),context_token:hn(jn.RAW_CONTEXT),feature_token:So(),id_token:qo(),client_id:hn(jn.CLIENT_ID),mst_challenge:ko(),mst_verifier:hn(jn.MST_VERIFIER),msit:hn(jn.MSIT)},Ie),Ve()?Yn()?[4,Tt(Se)]:[3,2]:[3,3];case 1:pt=un.sent().featureToken,Xe.feature_token||(Xe.feature_token=pt),un.label=2;case 2:($t=tn(Se))&&(Xe.client_id=$t),un.label=3;case 3:return[2,Xe]}})})}function dn(Se){if(Se.persisted&&ua("multipleLiffTransition"))if("ios"===xi())window.location.reload();else{var Ie=st().liffId,Xe=So();if(!Ie)throw En(lt,"Invalid LIFF ID.");if(!Xe)throw En(yt,"Invalid featureToken for client features");se({pathname:"app/".concat(Ie),query:{feature_token:Xe}})}}function Rn(Se){var Ie,Xe;return(0,$.sH)(this,void 0,void 0,function(){var pt,$t,un,Vn,rr,mr,Ur,Sr,Oi,qi,oo,po,Wo,Fo,Ko,Qo,cl;return(0,$.YH)(this,function($a){switch($a.label){case 0:return[4,new Promise(function(Cu){var Wl=Fi();if(!Wl||$r(Wl,"9.5.0")<0)Cu();else if(window._liff&&window._liff.features)Cu();else{N.debug("cannot find window._liff.features, listen to ready event");var Ku=function(){N.debug("ready event is fired"),_o("ready",Ku),Cu()};Ga("ready",Ku)}})];case 1:return $a.sent(),function De(){"boolean"==typeof _e&&N.warn("liff.init is not expected to be called more than once"),_e=!!function Zn(){return!!hn(jn.IS_SUBSEQUENT_LIFF_APP)}()||!(!Ot()||Xn.parse(window.location.hash).feature_token||So())&&(function Er(Se){ft(jn.IS_SUBSEQUENT_LIFF_APP,Se)}(!0),!0)}(),[4,Xt(Se.liffId)];case 2:if(pt=$a.sent(),$t=pt.access_token,Vn=pt.feature_token,rr=pt.id_token,mr=pt.client_id,Ur=pt.mst_verifier,Sr=pt.mst_challenge,Oi=pt.msit,un=pt.context_token){if("string"!=typeof un)throw En(lt,"Cannot get context token, perhaps there is an incorrect parameter in permanent link");Pe(ie(un))}if(void 0!==(null===(Ie=He())||void 0===Ie?void 0:Ie.liffId)&&(null===(Xe=He())||void 0===Xe?void 0:Xe.liffId)!==Se.liffId)throw En(lt,"Invalid LIFF ID");return!pi()&&Vn&&(Cu=Se.liffId,Wl=Vn,ua("multipleLiffTransition")&&se({pathname:"app/".concat(Cu),query:{feature_token:Wl}}),Ve()&&$s(Vn)),Sr&&function Eo(Se){ft(jn.MST_CHALLENGE,Se)}(Sr),Ur&&function li(Se){ft(jn.MST_VERIFIER,Se)}(Ur),mr&&bs(mr),Oi&&function Pi(Se){ft(jn.MSIT,Se)}(Oi),window.addEventListener("pageshow",dn),Yn()||Vn&&$t?[3,5]:Ve()?(qi=vi(location.href,{"liff.hback":"2"}),Vi({redirectUri:qi}),[4,new Promise(function(){})]):[3,4];case 3:$a.sent(),$a.label=4;case 4:throw Vi(),En(lt,"Failed to parse feature_token or access_token");case 5:return $t&&Vn?[4,Ns($t)]:[3,7];case 6:if(oo=$a.sent(),po=oo.client_id,Wo=oo.expires_in,Fo=tn(Se.liffId),po!==Fo)throw Vi(),En(lt,"Failed to verify access_token");$s(Vn),rn(new Date(Date.now()+1e3*Wo)),Ge($t),$a.label=7;case 7:return[4,ut(Oi,Ur)];case 8:return(Ko=$a.sent())?(function ki(Se){ft(jn.MST,Se)}(Ko),[4,so({mst:Ko})]):[3,10];case 9:(Qo=$a.sent().data)&&oi(JSON.stringify(Qo)),$a.label=10;case 10:return rr&&!qo()&&cs(rr),rr&&mr&&!vt()?[4,pe(rr,mr)]:[3,12];case 11:(cl=$a.sent())&&Kt(cl),$a.label=12;case 12:return[2]}var Cu,Wl})})}function _n(Se){return(0,$.sH)(this,void 0,void 0,function(){var Ie,Xe,pt,$t,un,Vn,rr;return(0,$.YH)(this,function(mr){switch(mr.label){case 0:return Ie=wi("apps"),Xe="".concat(Ie,"/").concat(Se,"/contextToken"),pt=Ne(),$t={"Content-Type":"application/json",Accept:"application/json"},pt&&($t.Authorization="Bearer ".concat(pt)),[4,Zt(Xe,{headers:$t})];case 1:if(un=mr.sent(),!(Vn=un.contextToken))throw En(lt,"Can not get context from server.");if(!(rr=ie(Vn)))throw En(lt,"Invalid context token.");return[2,rr]}})})}function cr(){return(0,$.sH)(this,void 0,void 0,function(){var Se;return(0,$.YH)(this,function(Xe){switch(Xe.label){case 0:if(!(Se=st().liffId))throw En(lt,"Invalid LIFF ID.");return[4,_n(Se)];case 1:return Pe(Xe.sent()),[2]}})})}function Gn(Se){return(0,$.sH)(this,void 0,void 0,function(){var Ie,Xe,pt,$t=this;return(0,$.YH)(this,function(un){switch(un.label){case 0:Ie=function(){return(0,$.sH)($t,void 0,void 0,function(){var Vn,rr,mr,Ur,Sr,Oi;return(0,$.YH)(this,function(qi){switch(qi.label){case 0:return[4,(oo=st(),po=Xn.parse(window.location.search),Wo=ht(),Fo={grant_type:"authorization_code",client_id:po.liffClientId,appId:oo.liffId,code:po.code,code_verifier:Wo.codeVerifier,redirect_uri:oo.redirectUri||po.liffRedirectUri,id_token_key_type:"JWK"},Ko=Xn.stringify(Fo),Zt(wi("token"),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:Ko}))];case 1:return Vn=qi.sent(),rr=Vn.access_token,mr=Vn.id_token,Ur=Vn.expires_in,bs(Se),Ge(rr),rn(new Date(Date.now()+1e3*Ur)),qe(),mr?(cs(mr),[4,pe(mr,Se)]):[3,3];
1case 2:(Sr=qi.sent())&&Kt(Sr),qi.label=3;case 3:return(Oi=Xn.parse(location.hash).context_token)?(Pe(ie(Oi)),[3,6]):[3,4];case 4:return[4,cr()];case 5:qi.sent(),qi.label=6;case 6:return[2]}var oo,po,Wo,Fo,Ko})})},un.label=1;case 1:return un.trys.push([1,3,,4]),[4,Ie()];case 2:return un.sent(),[3,4];case 3:throw Xe=un.sent(),pt=Xe,qe(),pt;case 4:return[2]}})})}function Cr(){return(0,$.sH)(this,void 0,void 0,function(){var Se,Ie,Xe,pt,un,Vn=this;return(0,$.YH)(this,function(rr){switch(rr.label){case 0:return(Ie=oe())?[3,2]:[4,W(Ps.SUB)];case 1:Ie=rr.sent(),rr.label=2;case 2:return(Se=Ie).isReady()?(Xe=fr(8),[4,Se.getData("appData")]):[3,8];case 3:return pt=rr.sent(),un=pt.data,pt.eventName!==ga.NOT_FOUND?[3,6]:[4,Se.teardown()];case 4:return rr.sent(),[4,Cr()];case 5:return[2,rr.sent()];case 6:un&&oi(JSON.stringify(un)),rr.label=7;case 7:return Se.listen(function(mr){return(0,$.sH)(Vn,void 0,void 0,function(){var Ur,Sr;return(0,$.YH)(this,function(Oi){return Sr=(Ur=mr.context).data,Ur.eventName===ur.INIT&&(null==Sr?void 0:Sr.subWindowId)!==Xe&&Go(),Ur.eventName!==ur.CANCEL&&Ur.eventName!==ur.SUBMIT||Se.teardown(),[2]})})}),Yn()&&Se.send({eventName:ur.INIT,data:{subWindowId:Xe,hasOpener:!!window.opener}}),[3,10];case 8:return kt()?[3,10]:[4,new Promise(function(mr){window.addEventListener("message",function(Ur){return function Sr(Oi){var qi=Oi.data,oo=Oi.source,po=Oi.origin;if(qi){var Fo=qi.message;qi.type===Gr&&(window.removeEventListener("message",Sr),Fo&&oi(Fo),function Ye(Se){Ue.setItem("mainWindowOrigin",Se)}(po),oo&&oo.postMessage&&oo.postMessage({status:Gr},po),Ur())}}}(mr))})];case 9:return[2,rr.sent()];case 10:return[2]}})})}var wr=new(function(){function Se(){var Ie=this;this.getAndValidateContext=function(){var Xe=He();if(!Xe)throw En(lt,"Could not get Context from server.");if(!Xe.endpointUrl)throw En(lt,"Could not get endpointUrl from server.");if(!Xe.permanentLinkPattern)throw En(lt,"Could not get permanentLinkPattern from server.");return Xe},this.decodeState=function(Xe){var pt=Ie.getAndValidateContext();Xe=Xe.replace(/\n/g,"%0D%0A");var $t=!pt.endpointUrl.startsWith("/?")&&pt.endpointUrl.includes("/?")||!pt.endpointUrl.startsWith("/#")&&pt.endpointUrl.includes("/#")||pt.endpointUrl.endsWith("/")||!Xe.startsWith("/?")&&Xe.includes("/?")||!Xe.startsWith("/#")&&Xe.includes("/#")||Xe.endsWith("/"),un=new URL(pt.endpointUrl),Vn=un.origin,rr=un.pathname,mr=un.search,Ur=new URL("".concat(Vn).concat(Ie.attachSlashAtStart(Xe))),Sr=Ur.pathname,Oi=Ur.search,qi=Ur.hash,oo="".concat(mr).concat(mr?Oi.replace(/\?/g,"&"):Oi),po="".concat(rr).concat(Ie.attachSlashAtStart(Sr)).replace("//","/");return(po=Ie.attachSlashAtStart("".concat(po))).endsWith("/")&&!$t&&(po=po.substring(0,po.length-1)),"".concat(Vn).concat(po).concat(oo).concat(qi).replace(/%0D%0A/g,"\n")}}return Se.prototype.attachSlashAtStart=function(Ie){return"".concat(Ie&&Ie.length>0&&!Ie.startsWith("/")?"/":"").concat(Ie)},Se.prototype.invoke=function(){return(0,$.sH)(this,void 0,void 0,function(){var Ie,Xe,pt,$t,un;return(0,$.YH)(this,function(Vn){switch(Vn.label){case 0:if(Ie=Xn.parse(window.location.search),"string"!=typeof(Xe=Ie["liff.state"]))return[2];Vn.label=1;case 1:return Vn.trys.push([1,4,,5]),pt=location.href,($t=this.decodeState(Xe))===pt?[3,3]:(Ie["liff.hback"]?location.replace(vi($t,{"liff.hback":Ie["liff.hback"]})):location.replace($t),[4,new Promise(function(){})]);case 2:Vn.sent(),Vn.label=3;case 3:return[3,5];case 4:if((un=Vn.sent()).code===lt)throw un;return N.debug(un),[3,5];case 5:return[2]}})})},Se}());function ti(Se,Ie){return(0,$.sH)(this,void 0,void 0,function(){var Xe;return(0,$.YH)(this,function(pt){switch(pt.label){case 0:if(!Se.liffId)throw En(Ft,"liffId is necessary for liff.init()");return function jt(Se){window.__liffConfig=Se}(Se),!Ot()&&Yn()&&(function Dn(){var Se=st();return ln.get("".concat($n,":").concat(jn.EXPIRES,":").concat(Se.liffId))}()||aa()),Xe=Xn.parse(window.location.search),!pi()||Ot()?[3,2]:[4,Cr()];case 1:pt.sent(),pt.label=2;case 2:if(Xe.error&&Xe.liffOAuth2Error)throw Vn=Xe.error,mr=Xe.error_description.replace(/\+/g," "),Ur="".concat(Vn,": ").concat(mr),En(lt,Ur);return $t=Xe.code,un=ht(),$t&&!Yn()&&un&&un.codeVerifier?[4,Gn(Xe.liffClientId)]:[3,4];case 3:pt.sent(),pt.label=4;case 4:return Ot()?[4,Rn(Se)]:[3,6];case 5:return pt.sent(),[3,8];case 6:return Yn()?[3,8]:[4,cr()];case 7:pt.sent(),pt.label=8;case 8:return[4,wr.invoke()];case 9:return pt.sent(),[4,Ie()];case 10:return pt.sent(),function(Se){var Ie=function ar(Se){var Ie=new URL(Se);return Ie.toString().replace(new RegExp(String.raw(no||(no=(0,$.ue)(["^",""],["^",""])),Ie.origin)),"")}(lr(Se));window.history.replaceState(history.state,"",Ie)}(window.location.href),[2]}var $t,un,Vn,mr,Ur})})}var di=function(Se,Ie){return new Promise(function(Xe,pt){if(Se){var $t=document.createElement("script");$t.type="module",$t.onload=function(){Xe()},$t.src=Se,document.head.appendChild($t)}else pt(En(Ft,Ie))})},Si=function(Se){var Ie="https://static.line-scdn.net/lui/edge/versions/1.13.0/lui-alert.js";return Ie&&Se&&(Ie=Ie.replace(/\d{1,2}\.\d{1,2}\.\d{1,3}/,Se)),di(Ie,"LUI_ALERT_URL is not defined")},Gi=function(){return(0,$.sH)(void 0,void 0,void 0,function(){var Se;return(0,$.YH)(this,function(Ie){switch(Ie.label){case 0:return(Se=function(){var pt,$t=document.querySelector('script[src*="luivendor.js"]');if($t&&null!==(pt=$t.src.match(/\d{1,2}\.\d{1,2}\.\d{1,3}/g))&&void 0!==pt&&pt.length)return $t.src.match(/\d{1,2}\.\d{1,2}\.\d{1,3}/g)[0]}())?[3,2]:[4,di("https://static.line-scdn.net/lui/edge/versions/1.13.0/luivendor.js","LUI_VENDOR_URL is not defined")];case 1:Ie.sent(),Ie.label=2;case 2:return[4,Si(Se)];case 3:return Ie.sent(),[4,(Xe=fr(6),new Promise(function(){var pt=document.createElement("div");pt.innerHTML='<lui-alert id="'.concat("liffAlert","-").concat(Xe,'" shown title="').concat(Ws("alert.android.extBrowser.autoLoginWorkaround.title"),'" message="').concat(Ws("alert.android.extBrowser.autoLoginWorkaround.desc"),'" button="').concat(Ws("alert.android.extBrowser.autoLoginWorkaround.button.text"),'"></lui-alert>'),document.body.appendChild(pt);var $t=document.getElementById("".concat("liffAlert","-").concat(Xe));$t&&$t.addEventListener("lui-button-click",function(){var un=window.open(vi(window.location.href,{liffIsEscapedFromApp:"true"}),"_blank");un&&(un.location.href=vi(window.location.href,{liffIsEscapedFromApp:"true"}),window.close())})}))];case 4:return Ie.sent(),[2]}var Xe})})},Ui=function(Se){try{return new URL(Se).searchParams.get("lineAppVersion")}catch{return null}};function os(){var Se;return(0,$.sH)(this,void 0,void 0,function(){var Ie,Xe;return(0,$.YH)(this,function(pt){switch(pt.label){case 0:return(Ie=null!==(Se=Ui(window.location.href))&&void 0!==Se?Se:Ui(window.document.referrer))&&$r(Ie,"13.10.0")>=0||Ot()||"android"!==xi()||(Xe=Xn.parse(window.location.search))[ca]||Xe.liffIsEscapedFromApp?[2]:Xe.liffClientId&&document.referrer.includes("access.".concat("line.me"))?(window.location.href=vi(window.location.href,{liffIsEscapedFromApp:"true"}),[2]):Xe.liffClientId&&document.referrer.includes("android-app://")?[4,Gi()]:[3,2];case 1:pt.sent(),pt.label=2;case 2:return Xe.liffClientId&&""===document.referrer&&1===window.history.length?[4,Gi()]:[3,4];case 3:pt.sent(),pt.label=4;case 4:return!document.referrer.includes("liffClientId")||document.referrer.includes("liffIsEscapedFromApp")?[3,6]:[4,Gi()];case 5:pt.sent(),pt.label=6;case 6:return[2]}})})}var es=function(Se){function Ie(){var Xe=null!==Se&&Se.apply(this,arguments)||this;return Xe.hooks={before:new bo,after:new bo},Xe.internalHooks={beforeFinished:new bo,beforeSuccess:new bo,error:new bo},Xe}return(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"init"}
1,enumerable:!1,configurable:!0}),Ie.prototype.install=function(Xe){return this.liffForWindow=Xe.liff,this.init.bind(this)},Ie.prototype.init=function(Xe,pt,$t){return(0,$.sH)(this,void 0,void 0,function(){var un;return(0,$.YH)(this,function(Vn){switch(Vn.label){case 0:return[4,this.hooks.before.call()];case 1:Vn.sent(),window&&!window.liff&&(window.liff=this.liffForWindow),Vn.label=2;case 2:return Vn.trys.push([2,9,,11]),[4,Promise.all([da(this.liffForWindow),ti(Xe,this.internalHooks.beforeFinished.call)])];case 3:return Vn.sent(),function hu(){var Se;Ca("color-scheme",((null==(Se=He())?void 0:Se.menuColorSetting)||{adaptableColorSchemes:["light"]}).adaptableColorSchemes.join(" "));var Ie=window.matchMedia("(prefers-color-scheme: dark)");Cs({matches:null==Ie?void 0:Ie.matches,media:null==Ie?void 0:Ie.media}),Ie.addEventListener?Ie.addEventListener("change",Cs):Ie.addListener&&Ie.addListener(Cs)}(),[4,this.internalHooks.beforeSuccess.call()];case 4:return Vn.sent(),!Xe.withLoginOnExternalBrowser||Yn()?[3,6]:(Vi(),[4,new Promise(function(){})]);case 5:Vn.sent(),Vn.label=6;case 6:return[4,os()];case 7:return Vn.sent(),[4,this.hooks.after.call()];case 8:return Vn.sent(),"function"==typeof pt&&pt(),Pt(),[3,11];case 9:return un=Vn.sent(),[4,this.internalHooks.error.call(un)];case 10:throw Vn.sent(),"function"==typeof $t&&$t(un),un;case 11:return[2]}})})},Ie}(Re);function ms(){return navigator.language}function Wi(Se){return(0,$.sH)(this,void 0,void 0,function(){var Ie,Xe,pt,$t,un,Vn,rr;return(0,$.YH)(this,function(mr){switch(mr.label){case 0:return function(Ur){if(!_r.includes(Ur))throw En(St,"Unexpected permission name.");var Sr=He();return!(null==Sr||!Sr.scope.includes(Ur))}(Se)?(Ie=Ne())?[4,Ns(Ie)]:[3,2]:[2,{state:"unavailable"}];case 1:Xe=mr.sent(),pt=unescape(Xe.scope).split(" ");try{for($t=(0,$.Ju)(pt),un=$t.next();!un.done;un=$t.next())if(un.value.includes(Se))return[2,{state:"granted"}]}catch(Ur){Vn={error:Ur}}finally{try{un&&!un.done&&(rr=$t.return)&&rr.call($t)}finally{if(Vn)throw Vn.error}}return[2,{state:"prompt"}];case 2:throw En(qt,"LiffId is not found.")}})})}function Fs(){var Se,Ie,Xe=He();return!!Xe&&"square_chat"!==Xe.type&&(ua("skipChannelVerificationScreen")||!Ot()&&(null===(Ie=null===(Se=Xe.availability)||void 0===Se?void 0:Se.skipChannelVerificationScreen)||void 0===Ie?void 0:Ie.permission))}function Ba(){var Se=st().liffId;if(Se)return Zt("".concat(wi("unauthorizedPermissions"),"?liffId=").concat(Se),{headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:"Bearer ".concat(Ne())}});throw En(qt,"liffId is required")}!function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"getLanguage"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(){return ms()}}}(Re);var Ae,je=ro.on,Je=ro.off,Me=ro.open,Qe=function(){function Se(Ie,Xe){var pt=this;this.onSubmit=function($t){var un=$t.newAccessToken,Vn=$t.ICA_ERROR;return(0,$.sH)(pt,void 0,void 0,function(){return(0,$.YH)(this,function(rr){return un?this.resolve({newAccessToken:un}):Vn&&this.reject(En(It,Vn)),this.teardown(),[2]})})},this.onClose=function(){return(0,$.sH)(pt,void 0,void 0,function(){return(0,$.YH)(this,function($t){return this.reject(En(qt,"user didn't allow the agreement")),this.teardown(),[2]})})},this.onCancel=function(){return(0,$.sH)(pt,void 0,void 0,function(){return(0,$.YH)(this,function($t){return this.reject(En(qt,"user didn't allow the agreement")),this.teardown(),[2]})})},this.onError=function($t){return(0,$.sH)(pt,void 0,void 0,function(){return(0,$.YH)(this,function(un){return this.reject($t),this.teardown(),[2]})})},this.resolve=Ie,this.reject=Xe,this.setup()}return Se.prototype.setup=function(){je("submit",this.onSubmit),je("close",this.onClose),je("cancel",this.onCancel),je("error",this.onError)},Se.prototype.teardown=function(){Je("submit",this.onSubmit),Je("close",this.onClose),Je("cancel",this.onCancel),Je("error",this.onError),Ae=void 0},Se.prototype.open=function(Ie){var Xe=st().liffId;Xe?Me({url:"".concat("https://liff.line.me/1656032314-Xgrw5Pmk"),appData:{liffId:Xe,channelId:tn(Xe),accessToken:Ne()},onBeforeTransition:Ie}).catch(this.reject):this.reject(En(qt,"liffId is required"))},Se}();function Ht(){return(0,$.sH)(this,void 0,void 0,function(){var Se,Xe=this;return(0,$.YH)(this,function(pt){switch(pt.label){case 0:if(!Fs())throw En(yt,"SkipChannelVerificationScreen is unavailable.");return Ae&&Ae.teardown(),Se=function(){return(0,$.sH)(Xe,void 0,void 0,function(){var $t;return(0,$.YH)(this,function(un){switch(un.label){case 0:return[4,Ba()];case 1:if($t=un.sent(),(Ot()?$t:$t.filter(function(Vn){return"chat_message.write"!==Vn})).length<=0)throw En(yt,"All permissions have already been approved.");return[2]}})})},[4,new Promise(function($t,un){(Ae=new Qe($t,un)).open(Se)})];case 1:return Ge(pt.sent().newAccessToken),[2]}})})}function Bt(Se,Ie){var Xe=this;return function(){for(var pt=[],$t=0;$t<arguments.length;$t++)pt[$t]=arguments[$t];return(0,$.sH)(Xe,void 0,void 0,function(){var un,Vn,rr;return(0,$.YH)(this,function(mr){switch(mr.label){case 0:return Vn=void 0!==(un=(pt.length>0?pt[pt.length-1]:{}).ignorePermissionCheck)&&un,[4,Wi(Ie)];case 1:if("unavailable"!==(rr=mr.sent().state))return[3,2];throw En(yt,"The permission is not in LIFF app scope.");case 2:return"prompt"!==rr||!Fs()||Vn||!Ot()&&"chat_message.write"===Ie?[3,4]:[4,Ht()];case 3:return mr.sent(),[3,5];case 4:Vn&&pt.pop(),mr.label=5;case 5:return[4,Se.apply(void 0,(0,$.fX)([],(0,$.zs)(pt),!1))];case 6:return[2,mr.sent()]}})})}}var Mn=function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}return(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"permission"}
1,enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return{query:Wi,requestAll:Ht}},Ie}(Re),Dr=new Mn;function zn(){return Zt(wi("profile"))}!function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"getProfile"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return Bt(zn,"profile")}}(Re);var Ni=function(Se,Ie){return Se?"&".concat(Se.split("&").filter(function(Xe){return-1===Xe.indexOf("is_liff_external_open_window")}).join("&").concat("".concat(Ie?"#".concat(Ie):""))):"".concat(Ie?"#".concat(Ie):"")};function To(Se){if(!function(un){if(!un||"object"!=typeof un)return!1;var rr=un.url,Ur=(0,$.zs)([typeof rr,typeof un.external],2),Oi=Ur[1];return"string"===Ur[0]&&""!==rr&&("undefined"===Oi||"boolean"===Oi)}(Se))throw En(St,"Invalid parameters for liff.openWindow()");var Ie=Fi();if(Ot())if(null!==Ie&&"ios"===xi()&&$r(Ie,"9.19")>=0||!window._liff.postMessage){var pt=Se.external;window.open(function(un,Vn){var rr,mr,Ur,Sr,Oi,qi,oo,po,Wo,Ko;
1-1!==(Ko=un).indexOf("#")&&-1!==Ko.indexOf("?")&&Ko.indexOf("#")<Ko.indexOf("?")||function(Ko){return-1===Ko.indexOf("?")&&-1!==Ko.indexOf("#")}(un)?(oo=(rr=(0,$.zs)(un.split("#"),2))[0],po=(Ur=(0,$.zs)((void 0===(mr=rr[1])?"":mr).split("?"),2))[0],Wo=Ur[1]):(oo=(Sr=(0,$.zs)(un.split("?"),2))[0],Wo=(qi=(0,$.zs)((void 0===(Oi=Sr[1])?"":Oi).split("#"),2))[0],po=qi[1]);var Fo=Ni(Wo,po);return"".concat(oo,"?").concat("is_liff_external_open_window","=").concat(!!Vn).concat(Fo)}(Se.url,void 0!==pt&&pt))}else hs("openWindow",Se);else window.open(Se.url,"_blank")}!function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"openWindow"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(Xe){return To(Xe)}}}(Re);var Lo=function(Se){return"object"==typeof Se&&null!==Se&&("string"==typeof(Ie=Se.type)||Ie instanceof String);var Ie};function la(Se){return Promise.reject(En(St,Se))}function Rs(Se){if(Xe=Se,!Array.isArray(Xe)||!Xe.every(Lo))return la("Parameter 'messages' must be an array of { type, ... }");var Xe,Ie=Se.length;return Ie<1||Ie>5?la("Number of messages should be in range 1 to ".concat(5,".")):Zt(wi("message"),{method:"POST",body:JSON.stringify({messages:Se})}).catch(Fa)}var Fa=function(Se){if("403"===Se.code){var Ie="12.0.0"===Fi(),Xe="ios"===xi(),pt=Co();Ie&&(Xe||pt)&&window.alert("LINE\u30a2\u30d7\u30ea\u3092LINE 12.0.1\u4ee5\u964d\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002\nPlease update your LINE app to LINE 12.0.1 or later.")}throw Se};function xs(){return Zt(wi("friendship"))}function rl(){return(0,$.sH)(this,void 0,void 0,function(){var Se,Ie;return(0,$.YH)(this,function(Xe){switch(Xe.label){case 0:if(!Yn())return[3,6];Xe.label=1;case 1:return Xe.trys.push([1,5,,6]),(Se=vt())&&Se.sub?[2,Se.sub]:[3,2];case 2:return[4,zn()];case 3:if((Ie=Xe.sent())&&Ie.userId)return[2,Ie.userId];Xe.label=4;case 4:return[3,6];case 5:return Xe.sent(),N.debug("can't retrieve Mid/Uid because of something wrong"),[3,6];case 6:return[2]}})})}function Ll(){return(0,$.sH)(this,void 0,void 0,function(){var Se;return(0,$.YH)(this,function(Ie){switch(Ie.label){case 0:return[4,rl()];case 1:return(Se=Ie.sent())&&"u"===Se.substring(0,1)?[2,Se]:[2]}})})}!function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"sendMessages"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return Bt(Rs,"chat_message.write")}}(Re),function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"getFriendship"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return Bt(xs,"profile")}}(Re);var ea,Zl=function(Se){function Ie(){var Xe=null!==Se&&Se.apply(this,arguments)||this;return Xe.utsExtra={isLiffSuccessful:!1,isLoggedIn:!1,id:"",version:""},Xe.injected=!1,Xe}return(0,$.C6)(Ie,Se),Object.defineProperty(Ie,"CUSTOMPLACEID_INIT",{get:function(){return"liff.init"},enumerable:!1,configurable:!0}),Object.defineProperty(Ie,"CUSTOMTYPE",{get:function(){return"liffSdk"},enumerable:!1,configurable:!0}),Object.defineProperty(Ie,"LiffUtsLoginStatus",{get:function(){return{isLoggedIn:1,isLiffSuccessful:2}},enumerable:!1,configurable:!0}),Object.defineProperty(Ie.prototype,"name",{get:function(){return"analytics"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(Xe){var $t=Xe.internalHooks;this.liffCore=Xe.liff,$t.init.beforeFinished(this.beforeInitFinished.bind(this)),$t.init.beforeSuccess(this.beforeInitSuccess.bind(this)),$t.init.error(this.initError.bind(this))},Ie.prototype.changeRatioToUTSFormat=function(Xe){if(Xe&&Number.isFinite(Xe))return Math.round(100*Xe)},Ie.prototype.setExtra=function(){var Xe,pt=this.utsExtra;null===(Xe=this.uts)||void 0===Xe||Xe.setExtra("liff",{id:pt.id,loginStatus:(pt.isLoggedIn?Ie.LiffUtsLoginStatus.isLoggedIn:0)|(pt.isLiffSuccessful?Ie.LiffUtsLoginStatus.isLiffSuccessful:0),version:pt.version})},Ie.prototype.assignUtsExtra=function(Xe){Object.assign(this.utsExtra,Xe)},Ie.prototype.setVersion=function(Xe){this.assignUtsExtra({version:Xe}
1),N.debug("[LIFFUTS][SDK version] ".concat(Xe)),this.setExtra()},Ie.prototype.setLiffId=function(Xe){this.assignUtsExtra({id:Xe}),N.debug("[LIFFUTS][LIFFID] ".concat(Xe)),this.setExtra()},Ie.prototype.setIsLoggedIn=function(Xe){this.assignUtsExtra({isLoggedIn:Xe}),N.debug("[LIFFUTS][isLoggedIn] ".concat(Xe)),this.setExtra()},Ie.prototype.sendLiffInit=function(){var Xe;N.debug("[LIFFUTS][sendCustom] liff.init"),null===(Xe=this.uts)||void 0===Xe||Xe.sendCustom({type:Ie.CUSTOMTYPE,params:{placeId:Ie.CUSTOMPLACEID_INIT}})},Ie.prototype.setIsLiffSuccessful=function(Xe){this.assignUtsExtra({isLiffSuccessful:Xe}),N.debug("[LIFFUTS][isLiffInitSuccessful] ".concat(Xe)),this.setExtra()},Ie.prototype.prepareReferrer=function(Xe){var pt={};Object.keys(Xe).forEach(function($t){if(On.includes($t)){var un=Xe[$t];"string"==typeof un&&un&&(pt[$t.replace(/^liff\.ref\./,"")]=un)}}),Object.keys(pt).length>0&&(this.referrer=pt)},Ie.prototype.beforeInitFinished=function(){return(0,$.sH)(this,void 0,void 0,function(){var Xe,pt,$t,un,Vn,rr,mr,Ur,Sr,Oi,qi,oo;return(0,$.YH)(this,function(po){switch(po.label){case 0:if(Xe=Xn.parse(window.location.search),this.prepareReferrer(Xe),pt=He(),!($t=null==pt?void 0:pt.utsTracking))return[2];if(un=st(),Vn=un.liffId,rr=un.analytics,"auto"!==$t.mode||!rr)return[3,6];N.debug("[LIFFUTS] ".concat((new Date).toUTCString())),po.label=1;case 1:return po.trys.push([1,3,,4]),mr=this,[4,new Promise(function(Wo,Fo){var Ko=window.uts,Qo=document.createElement("script");Qo.type="text/javascript",Qo.src="https://static.line-scdn.net/uts/edge/4.1.0/uts.js",Qo.onload=function(){var cl=window.uts;Wo(cl),window.uts=Ko},Qo.onerror=function(cl){Fo(cl)},document.getElementsByTagName("head")[0].appendChild(Qo)})];case 2:return mr.uts=po.sent(),[3,4];case 3:return Ur=po.sent(),N.debug("[LIFFUTS] cannot load UTS, reason: ".concat(Ur)),[2];case 4:return Sr=(0,$.Cl)((0,$.Cl)({},rr.context),{utsId:rr.context.utsId,appName:rr.context.appName,a
1ppEnv:rr.context.appEnv||"release"}),Oi=(0,$.Cl)((0,$.Cl)({endpoint:"https://uts-front.line-apps.com"},rr.options),{sampleRate:this.changeRatioToUTSFormat($t.sendRatio),version:"current"}),this.uts.init(Sr,Oi),[4,Ll()];case 5:(qi=po.sent())&&(N.debug("[LIFFUTS][mid] ".concat(qi)),this.uts.setMid(qi)),null!=pt&&pt.tid&&(N.debug("[LIFFUTS][tid] ".concat(pt.tid)),this.uts.setTid(pt.tid)),this.referrer&&(N.debug("liff.ref.referrer",this.referrer),this.uts.setSessionParams(this.referrer)),Vn&&this.setLiffId(Vn),this.setIsLoggedIn(Yn()),this.setVersion("2.23.2"),oo=lr(location.href),N.debug("[LIFFUTS][url] ".concat(oo)),this.uts.setUrl(oo),this.liffCore.analytics=this.uts,this.injected=!0,po.label=6;case 6:return[2]}})})},Ie.prototype.beforeInitSuccess=function(){return this.injected&&(this.setIsLiffSuccessful(!0),this.sendLiffInit()),Promise.resolve()},Ie.prototype.initError=function(){return this.injected&&(this.setIsLiffSuccessful(!1),this.sendLiffInit()),Promise.resolve()},Ie}(Re),Ri=/([\x90\x9D\x81\x8D\x8F<"{|}>\\^`\u201c\u203a\u201e\u2022\u201a\u017d\u0160\u2026\u2019\u2014\u017e\u2013\u2018\u201d\u2021\u2122\u2030\u0152\u0161\u0178\u2039\u0153\u2020\xa5\xbf\xa9\xe1\xc4\xfd\xcd\xce\xf0\xf4]|\n|.*#.*#|%(?![0-9A-Fa-f]{2})[^%]{0,2})/,$o=function(Se){if(Ri.test(Se))throw En(St,"invalid URL.");var Ie=new URL(Se);return{username:Ie.username,password:Ie.password,pathname:Ie.pathname,hash:Ie.hash,origin:Ie.origin,search:Ie.search.replace(/(?:^|;|&)([^;&]*)[;&]*(?=($|;|&))/g,"$1&").replace(/&+$/g,"").replace(/^\?&/,"?")}},Oo=function(Se){return Se.substring(1).split("&").filter(function(Ie){return!/^liff\./.test(Ie)&&!!Ie})},ts=function(Se,Ie){var Xe=Se.substring(Ie.length);return"/"===Xe?"":(Xe.length>0&&"/"!==Xe[0]&&(Xe="/"+Xe),Xe)},js=function(Se,Ie){var Xe,pt,$t,un=function(Vn,rr){for(var mr=(0,$.fX)([],(0,$.zs)(Vn),!1),Ur=0;Ur<rr.length;Ur++){var Oi=mr.indexOf(rr[Ur]);Oi>-1&&mr.splice(Oi,1)}return mr}((Xe=Oo(Se).join("&"),pt=new URLSearchParams(Xe).toString().split("&"),$t=Xe.split("&"),pt.map(function(Vn,rr){return Vn.endsWith("=")&&!$t[rr].endsWith("=")?Vn.slice(0,-1):Vn})),Oo(Ie)).join("&");return""!==un?"?".concat(un):""},zi=function(Se){var Ie=new RegExp("^".concat(br.join("|"))),Xe=Se.substring(1).split("&").filter(function(pt){return!Ie.test(pt)&&!!pt}).join("&");return Xe?"#".concat(Xe):""},Ya=function(Se,Ie){return 0===Ie.indexOf(Se)&&(Se.endsWith("/")&&(Se=Se.substring(0,Se.length-1)),void 0===Ie[Se.length]||"/"===Ie[Se.length])},ja=function(Se,Ie){var Xe=$o(Se),pt=new URL(Ie);if(Xe.username!==pt.username||Xe.password!==pt.password||pt.origin!==Xe.origin||!Ya(pt.pathname,Xe.pathname))throw En(St,"invalid URL.")},gs=function(Se){function Ie(){var Xe=null!==Se&&Se.apply(this,arguments)||this;return Xe.extraParams="",Xe.getAndValidateContext=function(){var pt=He();if(!pt)throw En(lt,"Could not get Context from server.");if(!pt.endpointUrl)throw En(lt,"Could not get endpointUrl from server.");if(!pt.permanentLinkPattern)throw En(lt,"Could not get permanentLinkPattern from server.");return pt},Xe.createUrl=function(){var pt=Xe.getAndValidateContext(),$t=window.location,un=$t.pathname,Vn=$t.search,rr=$t.hash,mr=$t.origin,Ur=new URL(pt.endpointUrl);if(Ur.origin!==mr||!Ya(Ur.pathname,un))throw En(Ft,"Current page is not under entrypoint.");var Sr=un.substring(Ur.pathname.length);Sr.length>0&&"/"!==Sr[0]&&(Sr="/"+Sr);var Oi=new RegExp("^".concat(br.join("|"))),qi=rr.substring(1).split("&").filter(function(Wl){return!Oi.test(Wl)&&!!Wl}).join("&"),oo=qi===Ur.hash.substring(1)?"":qi,po=function(Wl){return Wl.substring(1).split("&").filter(function(Ku){return!/liff\.state/.test(Ku)&&!!Ku})},Wo=po(Vn),Fo=po(Ur.search);Xe.extraParams&&Wo.push(Xe.extraParams);for(var Ko=0;Ko<Fo.length;Ko++){var cl=Wo.indexOf(Fo[Ko]);cl>-1&&Wo.splice(cl,1)}var $a=Wo.join("&"),Cu="".concat(Sr).concat(""!==$a?"?".concat($a):"").concat(oo?"#".concat(oo):"");return"".concat(Tn).concat(st().liffId).concat(Cu)},Xe.createUrlBy=function(pt){return(0,$.sH)(Xe,void 0,void 0,function(){var $t,un,Vn,rr;return(0,$.YH)(this,function(Sr){if(!($t=st().liffId))throw En(lt,"Should run after liff init.");return un=this.getAndValidateContext(),ja(pt,un.endpointUrl),Vn=$o(pt),rr=new URL(un.endpointUrl),[2,(un.miniDomainAllowed?An:Tn).concat(un.miniDomainAllowed&&un.miniAppId?un.miniAppId:$t,ts(Vn.pathname,rr.pathname),js(Vn.search,rr.search),zi(Vn.hash))]})})},Xe.setExtraQueryParam=function(pt){Xe.extraParams=pt},Xe.install=function(){return{createUrl:Xe.createUrl,createUrlBy:Xe.createUrlBy,setExtraQueryParam:Xe.setExtraQueryParam}},Xe}return(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"permanentLink"}
1,enumerable:!1,configurable:!0}),Ie}(Re),va=new gs,Ua=function(){function Se(Ie,Xe){var pt=this;this.resolve=Ie,this.reject=Xe,this.onSubmit=function($t){pt.resolve({value:$t.message}),pt.destroy()},this.onClose=function(){pt.resolve({value:null}),pt.destroy()},this.onCancel=function(){pt.resolve({value:null}),pt.destroy()},this.onError=function($t){pt.reject($t),pt.destroy()},this.start()}return Se.prototype.start=function(){ro.on("submit",this.onSubmit),ro.on("close",this.onClose),ro.on("cancel",this.onCancel),ro.on("error",this.onError)},Se.prototype.destroy=function(){ro.off("submit",this.onSubmit),ro.off("close",this.onClose),ro.off("cancel",this.onCancel),ro.off("error",this.onError),ea=void 0},Se}();function Ks(){return(0,$.sH)(this,void 0,void 0,function(){return(0,$.YH)(this,function(Se){return Uo.scanCodeV2(),ea&&ea.destroy(),[2,new Promise(function(Ie,Xe){ea=new Ua(Ie,Xe),ro.open({url:"https://liff.line.me/1656359117-jxmx5e11"}).catch(function(pt){null==ea||ea.destroy(),Xe(pt)})})]})})}var il=function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}return(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"scanCodeV2"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return Ks},Ie}(Re),zu=new il,oc={};function $u(Se,Ie){var Xe=function Nl(){return oc}(),pt=(0,$.zs)(Ie.split("."),1)[0],$t=Xe[Ie];$t&&Se.removeEventListener(pt,$t),Xe[Ie]=null}var ku=!1,Wu=!1;function bu(Se,Ie,Xe,pt){if(void 0===Xe&&(Xe={}),"object"!=typeof Se||!Se.postMessage)throw En(St,"target must be window object");if("string"!=typeof Ie)throw En(St,"keyname must be string");if("object"!=typeof Xe)throw En(St,"incorrect body format. It should be Object or Array comprised of Object");if(!pt)throw En(St,"serverEndPointUrl isn't passed. please fill up with proper url");if("*"===pt)throw new Error("serverEndPointUrl doesn't allow to set '*'");Se.postMessage({name:Ie,body:Xe},pt)}var Nu=function(){function Se(){this.payloadToShareTargetPicker=null,this.popupWindow=null,this.doesWaitForSubwindowResult=!1}return Se.getInstance=function(){return Se.instance?Se.instance.reset():Se.instance=new Se,Se.instance},Se.prototype.init=function(Ie){return(0,$.sH)(this,void 0,void 0,function(){var Xe,pt;return(0,$.YH)(this,function($t){switch($t.label){case 0:return $t.trys.push([0,5,,6]),this.liffId=Ie.referrer.liffId,this.doesWaitForSubwindowResult=!(!Ie.options||!Ie.options.waitForSubwindowResult),this.allowPostMessageOrigin=this.initAllowPostMessageOrigin(),this.payloadToShareTargetPicker=this.buildPayloadToShareTargetPicker(Ie),window.AbortController&&(this.abortController=new window.AbortController),this.prepareAnotherWindow(),[4,this.initOtt()];case 1:return $t.sent(),this.initListener(),this.openAnotherWindow(),this.doesWaitForSubwindowResult?[4,this.pollingShareResult()]:[3,3];case 2:return Xe=$t.sent(),this.finalize(),[2,Xe];case 3:case 6:return[2];case 4:return[3,6];case 5:if(pt=$t.sent(),this.finalize(),"AbortError"!==pt.name)throw pt;return[3,6]}})})},Se.prototype.resetAllVariables=function(){this.liffId="",this.allowPostMessageOrigin="",this.payloadToShareTargetPicker=null,this.ott="",this.popupWindow=null,this.timeoutIDForHealthCheck=null,this.abortController=null,this.internalError=null,this.doesWaitForSubwindowResult=!1},Se.prototype.reset=function(){this.finalize(),this.resetAllVariables()},Se.prototype.finalize=function(){var Ie,Xe;this.abortController&&this.abortController.abort(),Ot()||(Ie=this.timeoutIDForHealthCheck,Xe=this.popupWindow,$u(window,"message.receivedHealthcheck"),Ie&&clearTimeout(Ie),Xe&&!Xe.closed&&Xe.close())},Se.prototype.buildPayloadToShareTargetPicker=function(Ie){return{messages:Ie.messages,isMultiple:Ie.isMultiple,referrer:Ie.referrer}},Se.prototype.initAllowPostMessageOrigin=function(Ie){return void 0===Ie&&(Ie=wi("shareTargetPicker")),function lo(Se){var Ie=Se.match(/^(https?:\/\/.*?)\//);return Ie&&Ie[1]||""}(Ie)},Se.prototype.initOtt=function(){return(0,$.sH)(this,void 0,void 0,function(){var Ie,Xe,pt;return(0,$.YH)(this,function($t){switch($t.label){case 0:return this.abortController&&(Ie=this.abortController.signal),Xe="".concat(wi("shareTargetPickerOtt"),"/").concat(this.liffId,"/ott"),pt=this,[4,Zt(Xe,{method:"GET",signal:Ie}).then(function(un){return un.ott})];case 1:return pt.ott=$t.sent(),[2]}})})},Se.prototype.prepareAnotherWindow=function(){Ot()||(this.popupWindow="ios"!==xi()||C
1o()?window.open("","liffpopup","width=480, height=640, menubar=no, toolbar=no, scrollbars=yes"):window.open())},Se.prototype.openAnotherWindow=function(){if(Ot()&&this.payloadToShareTargetPicker)$t={liffId:this.liffId,ott:this.ott,data:JSON.stringify(this.payloadToShareTargetPicker),closeModals:!1},location.href="".concat("line://picker","?").concat(Xn.stringify($t));else{if(this.timeoutIDForHealthCheck=window.setTimeout(this.healthCheck.bind(this),1e3),!this.popupWindow)throw En(Mt);mr={liffId:this.liffId,ott:this.ott},this.popupWindow.location.href="".concat(wi("shareTargetPicker"),"?").concat(Xn.stringify(mr))}var mr,$t},Se.prototype.initListener=function(){var Ie;Ot()||(Ie=this.onReceivedHealthcheck.bind(this),function Eu(Se,Ie,Xe,pt){!function eu(Se,Ie,Xe,pt){ku||(Wu=function(){var un=!1;try{var Vn=Object.defineProperty({},"passive",{get:function(){return un=!0,!1}});window.addEventListener("test",Vn,Vn),window.removeEventListener("test",Vn,Vn)}catch{un=!1}return un}(),ku=!0);var $t=(0,$.zs)(Ie.split("."),1)[0];new Promise(function(un){var Vn=function(rr){un(rr),Xe&&Xe(rr),pt&&pt.once&&$u(Se,Ie)};oc[Ie]=Vn,Se.addEventListener($t,Vn,!!Wu&&pt)})}(Se,"message.".concat(Ie),function($t,un,Vn){return function(rr){N.debug("messageReceive",rr),rr.origin===Vn&&rr.data.name===$t&&un(rr)}}(Ie,Xe,pt))}(window,"receivedHealthcheck",Ie,this.allowPostMessageOrigin))},Se.prototype.healthCheck=function(){return(0,$.sH)(this,void 0,void 0,function(){var Ie;return(0,$.YH)(this,function(Xe){switch(Xe.label){case 0:if(this.popupWindow&&!this.popupWindow.closed)return[3,7];if(!this.doesWaitForSubwindowResult)return[3,5];Xe.label=1;case 1:return Xe.trys.push([1,3,,4]),[4,this.onCanceled()];case 2:return Xe.sent(),[3,4];case 3:return Ie=Xe.sent(),this.internalError=Ie,[3,4];case 4:return[3,6];case 5:this.finalize(),Xe.label=6;case 6:return[3,8];case 7:bu(this.popupWindow,"healthcheck",void 0,this.allowPostMessageOrigin),this.timeoutIDForHealthCheck=window.setTimeout(this.healthCheck.bind(this),1e3),Xe.label=8;case 8:return[2]}})})},Se.prototype.onReceivedHealthcheck=function(){if(!this.popupWindow||!this.payloadToShareTargetPicker)throw En(Mt);bu(this.popupWindow,"ready",this.payloadToShareTargetPicker,this.allowPostMessageOrigin)},Se.prototype.onCanceled=function(){return(0,$.sH)(this,void 0,void 0,function(){var Ie,Xe;return(0,$.YH)(this,function(pt){switch(pt.label){case 0:if(Ot()||!this.ott)throw new Error("need to call with ott in client");return this.abortController&&(Ie=this.abortController.signal),Xe={liffId:this.liffId,ott:this.ott},[4,Zt("".concat(wi("shareTargetPickerResult"),"?").concat(Xn.stringify(Xe)),{method:"POST",signal:Ie,headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"},body:"result=CANCEL"})];case 1:return[2,"ok"===pt.sent().status]}})})},Se.prototype.getShareResult=function(){return(0,$.sH)(this,void 0,void 0,function(){var Ie,Xe;return(0,$.YH)(this,function(pt){if(!this.ott)throw new Error("need to call with ott in client");return this.abortController&&(Ie=this.abortController.signal),Xe={liffId:this.liffId,ott:this.ott},N.debug("fetch: getShareResult"),[2,Zt("".concat(wi("shareTargetPickerResult"),"?").concat(Xn.stringify(Xe)),{method:"GET",headers:{Accept:"application/json"},signal:Ie})]})})},Se.isPollingTimeOut=function(Ie,Xe){return(Xe-Ie)/6e4>=10},Se.prototype.pollingShareResult=function(){return(0,$.sH)(this,void 0,void 0,function(){var Ie,Xe;return(0,$.YH)(this,function(pt){switch(pt.label){case 0:Ie=Date.now(),pt.label=1;case 1:if(Se.isPollingTimeOut(Ie,Date.now()))return[3,4];if(this.internalError)throw this.internalError;return[4,this.getShareResult()];case 2:if((Xe=pt.sent())&&Xe.result)switch(Xe.result){case"SUCCESS":return[2,{status:"success"}];case"CANCEL":return[2];default:throw new Error(Xe.resultDescription)}return[4,new Promise(function($t){setTimeout($t,500)})];case 3:return pt.sent(),[3,1];case 4:throw new Error("Timeout: not finished within ".concat(10,"min"))}})})},Se}(),tu=function(Se){function Ie(){var Xe=null!==Se&&Se.apply(this,arguments)||this;return Xe.shareTargetPicker=function(pt,$t){return void 0===$t&&($t={}),(0,$.sH)(Xe,void 0,void 0,function(){var un,Vn,rr,mr,Ur,Sr,Oi;return(0,$.YH)(this,function(qi){switch(qi.label){case 0:if(Uo.shareTargetPicker(),!pt||!Array.isArray(pt)||0===pt.length)throw En(St,"no proper argument");
1if(pt.length>5)throw En(St,"exceed the limit of num of messages");if(!(un=st().liffId))throw En(Ft);window.liff&&(Vn=window.liff).analytics&&function(Se){N.debug("[LIFFUTS][sendCustom] liff.shareTargetPicker"),Se.sendCustom({type:"liffSdk",params:{placeId:"liff.shareTargetPicker"}})}(Vn.analytics),rr=void 0===$t.isMultiple||$t.isMultiple,qi.label=1;case 1:return qi.trys.push([1,3,,4]),mr=Nu.getInstance(),Ur=Fi(),Sr={waitForSubwindowResult:!0},Ot()&&Ur&&$r(Ur,"10.11.0")<0&&(Sr.waitForSubwindowResult=!1),[4,mr.init({messages:pt,isMultiple:rr,referrer:{liffId:un,url:location.origin},options:Sr})];case 2:return[2,qi.sent()];case 3:throw(Oi=qi.sent())instanceof dr?Oi:En(Vt,Oi.message);case 4:return[2]}})})},Xe}return(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"shareTargetPicker"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return this.shareTargetPicker},Ie}(Re),Ou=new tu;function eo(Se,Ie){return(0,$.sH)(this,void 0,void 0,function(){var Xe,pt;return(0,$.YH)(this,function($t){switch($t.label){case 0:return Xe=wi("createShortcutOnHomeScreen"),(pt=new URL(Xe)).searchParams.append("liffId",Se),pt.searchParams.append("url",Ie.url),Ie.description&&pt.searchParams.append("description",Ie.description),[4,Zt(pt.toString())];case 1:return[2,$t.sent().shortcutPageUrl]}})})}function ka(Se){if(to(Se))throw En(St,"LINE URL scheme are not supported in the current environment.")}function ol(Se,Ie){return(0,$.sH)(this,void 0,void 0,function(){return(0,$.YH)(this,function(pt){switch(pt.label){case 0:return Ot()?[2]:[4,new Promise(function($t){setTimeout($t,1e3)})];case 1:return pt.sent(),"hidden"===document.visibilityState?[2]:(ka(Ie.url),[4,eo(Se,Ie)]);case 2:return To({url:pt.sent(),external:!0}),[2]}})})}function sl(Se,Ie){return(0,$.sH)(this,void 0,void 0,function(){var Xe,pt;return(0,$.YH)(this,function($t){switch($t.label){case 0:return Xe={liffId:Se,targetUrl:Ie.url,description:Ie.description},pt="".concat("line://shortcut/liff","?").concat(Xn.stringify(Xe)),location.href=pt,[4,ol(Se,Ie)];case 1:return $t.sent(),[2]}})})}function Ol(Se,Ie){return(0,$.sH)(this,void 0,void 0,function(){return(0,$.YH)(this,function(pt){switch(pt.label){case 0:return ka(Ie.url),[4,eo(Se,Ie)];case 1:return To({url:pt.sent(),external:!0}),[2]}})})}function Bl(Se){var Ie;if(null==Se.url||""===Se.url)throw En(St,"no proper argument");var Xe=He();if(null===(Ie=null==Xe?void 0:Xe.availability.addToHomeLineScheme)||void 0===Ie||!Ie.permission){if(to(Se.url))throw En(yt,"No permission to specify line schema in url.");if(Se.description)throw En(yt,"No permission to specify description.")}if(!to(Se.url)){if(!Xe)throw En(yt,"Could not get Context from server.");Xe.liffId!==Xi(Se.url)&&ja(Se.url,Xe.endpointUrl)}}function Wc(Se){return(0,$.sH)(this,void 0,void 0,function(){var Ie;return(0,$.YH)(this,function(Xe){switch(Xe.label){case 0:if(!(Ie=st().liffId))throw En(lt,"Invalid LIFF ID.");return"ios"===xi()?[4,Ol(Ie,Se)]:[3,2];case 1:return Xe.sent(),[3,4];case 2:return[4,sl(Ie,Se)];case 3:Xe.sent(),Xe.label=4;case 4:return[2]}})})}var hf=function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}return(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"createShortcutOnHomeScreen"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(Xe){return function pu(Se){return(0,$.sH)(this,void 0,void 0,function(){return(0,$.YH)(this,function(Ie){switch(Ie.label){case 0:return Bl(Se),Uo.createShortcutOnHomeScreen(),[4,Wc(Se)];case 1:return Ie.sent(),[2]}})})}(Xe)}},Ie}(Re),ch=function(Se){function Ie(){return null!==Se&&Se.apply(this,arguments)||this}return(0,$.C6)(Ie,Se),Object.defineProperty(Ie.prototype,"name",{get:function(){return"internalCreateShortcutOnHomeScreen"},enumerable:!1,configurable:!0}),Ie.prototype.install=function(){return function(Xe){return function qs(Se){return(0,$.sH)(this,void 0,void 0,function(){return(0,$.YH)(this,function(Ie){switch(Ie.label){case 0:return Bl(Se),Uo.internalCreateShortcutOnHomeScreen(),[4,Wc(Se)];case 1:return Ie.sent(),[2]}})})}(Xe)}},Ie}(Re),wc=Object.defineProperties({},{getOS:{value:xi,enumerable:!0,writable:!0},getVersion:{value:function Ir(){return"2.23.2"},enumerable:!0,writable:!0},getLanguage:{value:ms,enumerable:!0,writable:!0}
1,isInClient:{value:Ot,enumerable:!0,writable:!0},isLoggedIn:{value:Yn,enumerable:!0,writable:!0},logout:{value:aa,enumerable:!0,writable:!0},getAccessToken:{value:Ne,enumerable:!0,writable:!0},getIDToken:{value:qo,enumerable:!0,writable:!0},getDecodedIDToken:{value:vt,enumerable:!0,writable:!0},getContext:{value:He,enumerable:!0,writable:!0},openWindow:{value:To,enumerable:!0,writable:!0},closeWindow:{value:Go,enumerable:!0,writable:!0},getFriendship:{value:Bt(xs,"profile"),enumerable:!0,writable:!0},getAId:{value:Oe,enumerable:!0,writable:!0},getProfilePlus:{value:gn,enumerable:!0,writable:!0},getIsVideoAutoPlay:{value:_t,enumerable:!0,writable:!0},getLineVersion:{value:Fi,enumerable:!0,writable:!0},isApiAvailable:{value:ua,enumerable:!0,writable:!0},getProfile:{value:Bt(zn,"profile"),enumerable:!0,writable:!0},sendMessages:{value:Bt(Rs,"chat_message.write"),enumerable:!0,writable:!0},subWindow:{value:ro,enumerable:!0,writable:!0},ready:{value:At,enumerable:!0,writable:!0},id:{get:function(){return st().liffId||null},enumerable:!0},_dispatchEvent:{value:function fs(Se){var Ie={};try{Ie=JSON.parse(Se)}catch(pt){throw En(St,pt.message)}var Xe=function nl(Se){return new CustomEvent(Lt,{detail:Se})}(Ie);N.debug("[client dispatchEvent to js]",{type:Xe.type,detail:Xe.detail}),window.dispatchEvent(Xe)},enumerable:!0,writable:!0},_call:{value:hs,enumerable:!0,writable:!0},_addListener:{value:Ga,enumerable:!0,writable:!0},_removeListener:{value:_o,enumerable:!0,writable:!0},_postMessage:{value:is,enumerable:!0,writable:!0}}),zr=new we,vs=new ve(zr,wc),Kc=new at(zr,vs).install();[new at(zr,vs),new Ds,new es,new Zl,zu,va,Ci,Dr,Ou,ho,new ya,new hf,new ch].forEach(function Dd(Se){Kc.call(wc,Se)});var ls=wc;class Tc{get logService(){return this.injector.get(C.J)}get modelHelper(){return this.injector.get(E.S)}get translate(){return this.injector.get(h.c$)}get commonService(){return this.injector.get(a.hf)}constructor(Ie){this.injector=Ie,this.model="line",this.liffState=T.zc.nono,this.openId="",this.accountId="",this.clientType="",this._profile={},this.isInited=!1}getDisplayName(){return this.isLoggedIn()&&"line"==this.model?this._profile.displayName:""}getUserId(){return this.isLoggedIn()&&"line"==this.model?this._profile.userId:""}getPictureUrl(){return this.isLoggedIn()&&"line"==this.model&&this._profile.pictureUrl||"./assets/images/aile1024.png"}canShare(){return ls.isApiAvailable("shareTargetPicker")}share(Ie,Xe){return new Promise((pt,$t)=>{ls.isApiAvailable("shareTargetPicker")&&ls.shareTargetPicker([{type:"flex",altText:"",contents:{type:"bubble",body:{type:"box",layout:"vertical",contents:[{type:"box",layout:"horizontal",contents:[{type:"box",layout:"vertical",contents:[{type:"image",url:this.getPictureUrl(),size:"60px",animated:!0,aspectRatio:"1:1",offsetStart:"0px",aspectMode:"fit",margin:"0px",align:"start",gravity:"top"}],width:"60px",cornerRadius:"100px",borderWidth:"0px",borderColor:"#00FF00",justifyContent:"center",height:"60px",margin:"10px"},{type:"box",layout:"vertical",contents:[{type:"text",text:this.getDisplayName(),weight:"bold"},{type:"text",text:this.translate.instant("Common.ivtTxt"),style:"normal",decoration:"none",align:"start",wrap:!0,size:"16px"}],justifyContent:"center",alignItems:"flex-start",flex:3,margin:"10px"}],margin:"10px"},{type:"box",layout:"vertical",contents:[{type:"image",url:s.v.AiwowLogo,size:"full",aspectMode:"cover",aspectRatio:"2:1"}],flex:1,margin:"0px",paddingAll:"2px",spacing:"0px",width:"100%"},{type:"box",layout:"baseline",margin:"md",contents:[],height:"20px"},{type:"text",text:this.translate.instant("Common.ivtDesc"),wrap:!0,size:"md",align:"center"}],paddingAll:"0px"},footer:{type:"box",layout:"vertical",spacing:"sm",contents:[{type:"button",style:"primary",height:"sm",action:{type:"uri",label:this.translate.instant("Common.ivtBtn"),uri:Ie}},{type:"box",layout:"vertical",contents:[],margin:"sm"}],flex:0}}}],{isMultiple:!0}).then(un=>{pt("success"==(null==un?void 0:un.status))}).catch(un=>{pt(!1)})})}init(){return new Promise((Ie,Xe)=>{this.model="line",ls.init({liffId:this.liffId}).then(()=>{this.isInited=!0,this.liffState=T.zc.init,Ie(!0),this.getProfile()}).catch(pt=>{this.liffState=T.zc.error,this.logService.error(pt.code,pt.message),Ie(!1)}).finally(()=>{})})}
1isInLineView(){return navigator.userAgent.toLocaleLowerCase().indexOf("line")>=0}isInClient(){return ls.isInClient()}getOS(){return ls.getOS()}isLoggedIn(){return"line"==this.model&&this.liffState!=T.zc.nono&&this.liffState!=T.zc.logout&&this.liffState!=T.zc.error&&!!this.isInited&&ls.isLoggedIn()}login(){return ls.login()}getProfile(){this.isLoggedIn()?(setTimeout(()=>{this.liffState!=T.zc.login&&(this.liffState=T.zc.error,ls.logout())},1e4),ls.getProfile().then(Ie=>{this._profile=Ie,this.liffState=T.zc.login,this.getContext()})):this.login()}getContext(){ls.getContext()}close(){ls.closeWindow()}openWindow(Ie,Xe=!0){ls.openWindow({url:Ie,external:Xe})}}class qc{get logService(){return this.injector.get(C.J)}get modelHelper(){return this.injector.get(E.S)}get translate(){return this.injector.get(h.c$)}get commonService(){return this.injector.get(a.hf)}constructor(Ie){this.injector=Ie,this._profile={},this.openId="",this.accountId="",this.clientType="",this.liffState=T.zc.nono,this.supportJSList=[]}getDisplayName(){return this.isLoggedIn()?this._profile.nickName:""}getUserId(){return""}getPictureUrl(){return this.isLoggedIn()&&this._profile.imgSrc||"./assets/images/aile1024.png"}init(){var Ie=this;return(0,c.A)(function*(){let Xe=yield MiffJS.init("");return Xe?(Ie.liffState=T.zc.init,yield Ie.getProfile()):(Ie.logService.debug("Miff Init Error "),Ie.liffState=T.zc.error),Xe})()}isInClient(){return null!=typeof MiffJS&&"uuponPWA"==MiffJS.getClientType()}isLoggedIn(){return this.liffState=T.zc.init}login(){return!0}getProfile(){var Ie=this;return(0,c.A)(function*(){Ie._profile=MiffJS.getProfile()})()}close(){MiffJS.closeWindow()}scane(){return new Promise((Ie,Xe)=>MiffJS.scanCode().then(pt=>{Ie(pt)}))}getPostion(){return new Promise((Ie,Xe)=>MiffJS.getCurrentPosition().then(pt=>{Ie(pt)}))}openWindow(Ie){MiffJS.openWindow(Ie)}}var yl=f(54438);let Xc=(()=>{var Se;class Ie{constructor(pt){this.injector=pt,this._isInit=!1,this.init()}init(){var pt=this;return(0,c.A)(function*(){let $t=new u(pt.injector);(yield $t.init())?(pt._xiff=$t,pt._xiffType="aiff",pt._isInit=!0):($t=new qc(pt.injector),(yield $t.init())?(pt._xiff=$t,pt._xiffType="miff",pt._isInit=!0):($t=new Tc(pt.injector),(yield $t.init())?(pt._xiff=$t,pt._xiffType="liff",pt._isInit=!0):(pt._xiff=void 0,pt._xiffType="",pt._isInit=!0)))})()}closeWin(){var pt=this;return(0,c.A)(function*(){var $t;return pt._isInit||(yield pt.init()),null===($t=pt._xiff)||void 0===$t?void 0:$t.close()})()}get xiffType(){return this._xiffType}getProfile(){var pt=this;return(0,c.A)(function*(){var $t,un;return pt._isInit||(yield pt.init()),pt._xiff?(yield pt._xiff.getProfile(),null===(un=pt._xiff)||void 0===un?void 0:un._profile):null===($t=pt._xiff)||void 0===$t?void 0:$t._profile})()}get clientType(){var pt;return null===(pt=this._xiff)||void 0===pt?void 0:pt.clientType}openWindow(pt){(this._xiff||this._xiff||this._xiff)&&this._xiff.openWindow(pt)}get service(){return this._xiff}}return(Se=Ie).\u0275fac=function(pt){return new(pt||Se)(yl.KVO(yl.zZn))},Se.\u0275prov=yl.jDH({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Ie})()},22789:(ge,_,f)=>{"use strict";f.d(_,{L:()=>ft});var c={};f.r(c),f.d(c,{Decoder:()=>ar,Encoder:()=>fr,PacketType:()=>fn,protocol:()=>nr});var o=f(10467);const C=Object.create(null);C.open="0",C.close="1",C.ping="2",C.pong="3",C.message="4",C.upgrade="5",C.noop="6";const a=Object.create(null);Object.keys(C).forEach(He=>{a[C[He]]=He});const E={type:"error",data:"parser error"},T="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),s="function"==typeof ArrayBuffer,h=He=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(He):He&&He.buffer instanceof ArrayBuffer,u=({type:He,data:Pe},Fe,Oe)=>T&&Pe instanceof Blob?Fe?Oe(Pe):v(Pe,Oe):s&&(Pe instanceof ArrayBuffer||h(Pe))?Fe?Oe(Pe):v(new Blob([Pe]),Oe):Oe(C[He]+(Pe||"")),v=(He,Pe)=>{const Fe=new FileReader;return Fe.onload=function(){const Oe=Fe.result.split(",")[1];Pe("b"+(Oe||""))},Fe.readAsDataURL(He)};function g(He){return He instanceof Uint8Array?He:He instanceof ArrayBuffer?new Uint8Array(He):new Uint8Array(He.buffer,He.byteOffset,He.byteLength)}let y;const R=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let He=0;He<64;He++)R["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/".charCodeAt(He)]=He;const O="function"==typeof ArrayBuffer,V=(He,Pe)=>{if("string"!=typeof He)return{type:"message",data:z(He,Pe)};const Fe=He.charAt(0);return"b"===Fe?{type:"message",data:K(He.substring(1),Pe)}:a[Fe]?He.length>1?{type:a[Fe],data:He.substring(1)}:{type:a[Fe]}:E},K=(He,Pe)=>{if(O){const Fe=(He=>{let Oe,_t,en,gn,In,Pe=.75*He.length,Fe=He.length,We=0;"="===He[He.length-1]&&(Pe--,"="===He[He.length-2]&&Pe--);const Zn=new ArrayBuffer(Pe),Er=new Uint8Array(Zn);for(Oe=0;Oe<Fe;Oe+=4)_t=R[He.charCodeAt(Oe)],en=R[He.charCodeAt(Oe+1)],gn=R[He.charCodeAt(Oe+2)],In=R[He.charCodeAt(Oe+3)],Er[We++]=_t<<2|en>>4,Er[We++]=(15&en)<<4|gn>>2,Er[We++]=(3&gn)<<6|63&In;return Zn})(He);return z(Fe,Pe)}return{base64:!0,data:He}},z=(He,Pe)=>"blob"===Pe?He instanceof Blob?He:new Blob([He]):He instanceof ArrayBuffer?He:He.buffer;let de;function ee(He){return He.reduce((Pe,Fe)=>Pe+Fe.length,0)}function Y(He,Pe){if(He[0].length===Pe)return He.shift();const Fe=new Uint8Array(Pe);let Oe=0;for(let We=0;We<Pe;We++)Fe[We]=He[0][Oe++],Oe===He[0].length&&(He.shift(),Oe=0);return He.length&&Oe<He[0].length&&(He[0]=He[0].slice(Oe)),Fe}function ne(He){if(He)return function ce(He){for(var Pe in ne.prototype)He[Pe]=ne.prototype[Pe];return He}(He)}ne.prototype.on=ne.prototype.addEventListener=function(He,Pe){return this._callbacks=this._callbacks||{},(this._callbacks["$"+He]=this._callbacks["$"+He]||[]).push(Pe),this},ne.prototype.once=function(He,Pe){function Fe(){this.off(He,Fe),Pe.apply(this,arguments)}return Fe.fn=Pe,this.on(He,Fe),this},ne.prototype.off=ne.prototype.removeListener=ne.prototype.removeAllListeners=ne.prototype.removeEventListener=function(He,Pe){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var Fe=this._callbacks["$"+He];if(!Fe)return this;if(1==arguments.length)return delete this._callbacks["$"+He],this;for(var Oe,We=0;We<Fe.length;We++)if((Oe=Fe[We])===Pe||Oe.fn===Pe){Fe.splice(We,1);break}return 0===Fe.length&&delete this._callbacks["$"+He],this},ne.prototype.emitReserved=ne.prototype.emit=function(He){this._callbacks=this._callbacks||{};for(var Pe=new Array(arguments.length-1),Fe=this._callbacks["$"+He],Oe=1;Oe<arguments.length;Oe++)Pe[Oe-1]=arguments[Oe];if(Fe){Oe=0;for(var We=(Fe=Fe.slice(0)).length;Oe<We;++Oe)Fe[Oe].apply(this,Pe)}return this},ne.prototype.listeners=function(He){return this._callbacks=this._callbacks||{},this._callbacks["$"+He]||[]},ne.prototype.hasListeners=function(He){return!!this.listeners(He).length};const me=typeof self<"u"?self:typeof window<"u"?window:Function("return this")();function re(He,...Pe){return Pe.reduce((Fe,Oe)=>(He.hasOwnProperty(Oe)&&(Fe[Oe]=He[Oe]),Fe),{})}const $=me.setTimeout,X=me.clearTimeout;function M(He,Pe){Pe.useNativeTimers?(He.setTimeoutFn=$.bind(me),He.clearTimeoutFn=X.bind(me)):(He.setTimeoutFn=me.setTimeout.bind(me),He.clearTimeoutFn=me.clearTimeout.bind(me))}function G(He){return"string"==typeof He?function ue(He){let Pe=0,Fe=0;for(let Oe=0,We=He.length;Oe<We;Oe++)Pe=He.charCodeAt(Oe),Pe<128?Fe+=1:Pe<2048?Fe+=2:Pe<55296||Pe>=57344?Fe+=3:(Oe++,Fe+=4);return Fe}(He):Math.ceil(1.33*(He.byteLength||He.size))}class Re extends Error{constructor(Pe,Fe,Oe){super(Pe),this.description=Fe,this.context=Oe,this.type="TransportError"}}class et extends ne{constructor(Pe){super(),this.writable=!1,M(this,Pe),this.opts=Pe,this.query=Pe.query,this.socket=Pe.socket}onError(Pe,Fe,Oe){return super.emitReserved("error",new Re(Pe,Fe,Oe)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(Pe){"open"===this.readyState&&this.write(Pe)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(Pe){const Fe=V(Pe,this.socket.binaryType);this.onPacket(Fe)}onPacket(Pe){super.emitReserved("packet",Pe)}onClose(Pe){this.readyState="closed",super.emitReserved("close",Pe)}pause(Pe){}createUri(Pe,Fe={}){return Pe+"://"+this._hostname()+this._port()+this.opts.path+this._query(Fe)}_hostname(){const Pe=this.opts.hostname;return-1===Pe.indexOf(":")?Pe:"["+Pe+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(Pe){const Fe=function ve(He){let Pe="";for(let Fe in He)He.hasOwnProperty(Fe)&&(Pe.length&&(Pe+="&"),Pe+=encodeURIComponent(Fe)+"="+encodeURIComponent(He[Fe]));return Pe}(Pe);return Fe.length?"?"+Fe:""}}const at="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Pt=64,At={};let St,It=0,qt=0;function lt(He){let Pe="";do{Pe=at[He%Pt]+Pe,He=Math.floor(He/Pt)}while(He>0);return Pe}function Ft(){const He=lt(+new Date);return He!==St?(It=0,St=He):He+"."+lt(It++)}for(;qt<Pt;qt++)At[at[qt]]=qt;let rt=!1;try{rt=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const mt=rt;function Mt(He){const Pe=He.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!Pe||mt))return new XMLHttpRequest}catch{}if(!Pe)try{return new(me[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch{}}function Lt(){}const $n=null!=new Mt({xdomain:!1}).responseType;let An=(()=>{class He extends ne{constructor(Fe,Oe){super(),M(this,Oe),this.opts=Oe,this.method=Oe.method||"GET",this.uri=Fe,this.data=void 0!==Oe.data?Oe.data:null,this.create()}create(){var Fe;const Oe=re(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");Oe.xdomain=!!this.opts.xd;const We=this.xhr=new Mt(Oe);try{We.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){We.setDisableHeaderCheck&&We.setDisableHeaderCheck(!0);for(let _t in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(_t)&&We.setRequestHeader(_t,this.opts.extraHeaders[_t])}}catch{}if("POST"===this.method)try{We.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{We.setRequestHeader("Accept","*/*")}catch{}null===(Fe=this.opts.cookieJar)||void 0===Fe||Fe.addCookies(We),"withCredentials"in We&&(We.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(We.timeout=this.opts.requestTimeout),We.onreadystatechange=()=>{var _t;3===We.readyState&&(null===(_t=this.opts.cookieJar)||void 0===_t||_t.parseCookies(We)),4===We.readyState&&(200===We.status||1223===We.status?this.onLoad():this.setTimeoutFn(()=>
1{this.onError("number"==typeof We.status?We.status:0)},0))},We.send(this.data)}catch(_t){return void this.setTimeoutFn(()=>{this.onError(_t)},0)}typeof document<"u"&&(this.index=He.requestsCount++,He.requests[this.index]=this)}onError(Fe){this.emitReserved("error",Fe,this.xhr),this.cleanup(!0)}cleanup(Fe){if(!(typeof this.xhr>"u"||null===this.xhr)){if(this.xhr.onreadystatechange=Lt,Fe)try{this.xhr.abort()}catch{}typeof document<"u"&&delete He.requests[this.index],this.xhr=null}}onLoad(){const Fe=this.xhr.responseText;null!==Fe&&(this.emitReserved("data",Fe),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}return He.requestsCount=0,He.requests={},He})();function jn(){for(let He in An.requests)An.requests.hasOwnProperty(He)&&An.requests[He].abort()}typeof document<"u"&&("function"==typeof attachEvent?attachEvent("onunload",jn):"function"==typeof addEventListener&&addEventListener("onpagehide"in me?"pagehide":"unload",jn,!1));const or="function"==typeof Promise&&"function"==typeof Promise.resolve?Pe=>Promise.resolve().then(Pe):(Pe,Fe)=>Fe(Pe,0),br=me.WebSocket||me.MozWebSocket,sr=typeof navigator<"u"&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),Lr={websocket:class ur extends et{constructor(Pe){super(Pe),this.supportsBinary=!Pe.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const Pe=this.uri(),Fe=this.opts.protocols,Oe=sr?{}:re(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(Oe.headers=this.opts.extraHeaders);try{this.ws=sr?new br(Pe,Fe,Oe):Fe?new br(Pe,Fe):new br(Pe)}catch(We){return this.emitReserved("error",We)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=Pe=>this.onClose({description:"websocket connection closed",context:Pe}),this.ws.onmessage=Pe=>this.onData(Pe.data),this.ws.onerror=Pe=>this.onError("websocket error",Pe)}write(Pe){this.writable=!1;for(let Fe=0;Fe<Pe.length;Fe++){const We=Fe===Pe.length-1;u(Pe[Fe],this.supportsBinary,_t=>{try{this.ws.send(_t)}catch{}We&&or(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const Pe=this.opts.secure?"wss":"ws",Fe=this.query||{};return this.opts.timestampRequests&&(Fe[this.opts.timestampParam]=Ft()),this.supportsBinary||(Fe.b64=1),this.createUri(Pe,Fe)}check(){return!!br}},webtransport:class tr extends et{get name(){return"webtransport"}doOpen(){"function"==typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(Pe=>{this.onError("webtransport error",Pe)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(Pe=>{const Fe=function ae(He,Pe){de||(de=new TextDecoder);const Fe=[];let Oe=0,We=-1,_t=!1;return new TransformStream({transform(en,gn){for(Fe.push(en);;){if(0===Oe){if(ee(Fe)<1)break;const In=Y(Fe,1);_t=!(128&~In[0]),We=127&In[0],Oe=We<126?3:126===We?1:2}else if(1===Oe){if(ee(Fe)<2)break;const In=Y(Fe,2);We=new DataView(In.buffer,In.byteOffset,In.length).getUint16(0),Oe=3}else if(2===Oe){if(ee(Fe)<8)break;const In=Y(Fe,8),Zn=new DataView(In.buffer,In.byteOffset,In.length),Er=Zn.getUint32(0);if(Er>Math.pow(2,21)-1){gn.enqueue(E);break}We=Er*Math.pow(2,32)+Zn.getUint32(4),Oe=3}else{if(ee(Fe)<We)break;const In=Y(Fe,We);gn.enqueue(V(_t?In:de.decode(In),Pe)),Oe=0}if(0===We||We>He){gn.enqueue(E);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),Oe=Pe.readable.pipeThrough(Fe).getReader(),We=function Z(){return new TransformStream({transform(He,Pe){!function p(He,Pe){T&&He.data instanceof Blob?He.data.arrayBuffer().then(g).then(Pe):s&&(He.data instanceof ArrayBuffer||h(He.data))?Pe(g(He.data)):u(He,!1,Fe=>{y||(y=new TextEncoder),Pe(y.encode(Fe))})}(He,Fe=>{const Oe=Fe.length;let We;if(Oe<126)We=new Uint8Array(1),new DataView(We.buffer).setUint8(0,Oe);else if(Oe<65536){We=new Uint8Array(3);const _t=new DataView(We.buffer);_t.setUint8(0,126),_t.setUint16(1,Oe)}else{We=new Uint8Array(9);const _t=new DataView(We.buffer);_t.setUint8(0,127),_t.setBigUint64(1,BigInt(Oe))}He.data&&"string"!=typeof He.data&&(We[0]|=128),Pe.enqueue(We),Pe.enqueue(Fe)})}})}();
1We.readable.pipeTo(Pe.writable),this.writer=We.writable.getWriter();const _t=()=>{Oe.read().then(({done:gn,value:In})=>{gn||(this.onPacket(In),_t())}).catch(gn=>{})};_t();const en={type:"open"};this.query.sid&&(en.data=`{"sid":"${this.query.sid}"}`),this.writer.write(en).then(()=>this.onOpen())})}))}write(Pe){this.writable=!1;for(let Fe=0;Fe<Pe.length;Fe++){const We=Fe===Pe.length-1;this.writer.write(Pe[Fe]).then(()=>{We&&or(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var Pe;null===(Pe=this.transport)||void 0===Pe||Pe.close()}},polling:class Tn extends et{constructor(Pe){if(super(Pe),this.polling=!1,typeof location<"u"){const Oe="https:"===location.protocol;let We=location.port;We||(We=Oe?"443":"80"),this.xd=typeof location<"u"&&Pe.hostname!==location.hostname||We!==Pe.port}this.supportsBinary=$n&&!(Pe&&Pe.forceBase64),this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(Pe){this.readyState="pausing";const Fe=()=>{this.readyState="paused",Pe()};if(this.polling||!this.writable){let Oe=0;this.polling&&(Oe++,this.once("pollComplete",function(){--Oe||Fe()})),this.writable||(Oe++,this.once("drain",function(){--Oe||Fe()}))}else Fe()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(Pe){((He,Pe)=>{const Fe=He.split("\x1e"),Oe=[];for(let We=0;We<Fe.length;We++){const _t=V(Fe[We],Pe);if(Oe.push(_t),"error"===_t.type)break}return Oe})(Pe,this.socket.binaryType).forEach(Oe=>{if("opening"===this.readyState&&"open"===Oe.type&&this.onOpen(),"close"===Oe.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(Oe)}),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const Pe=()=>{this.write([{type:"close"}])};"open"===this.readyState?Pe():this.once("open",Pe)}write(Pe){this.writable=!1,((He,Pe)=>{const Fe=He.length,Oe=new Array(Fe);let We=0;He.forEach((_t,en)=>{u(_t,!1,gn=>{Oe[en]=gn,++We===Fe&&Pe(Oe.join("\x1e"))})})})(Pe,Fe=>{this.doWrite(Fe,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const Pe=this.opts.secure?"https":"http",Fe=this.query||{};return!1!==this.opts.timestampRequests&&(Fe[this.opts.timestampParam]=Ft()),!this.supportsBinary&&!Fe.sid&&(Fe.b64=1),this.createUri(Pe,Fe)}request(Pe={}){return Object.assign(Pe,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new An(this.uri(),Pe)}doWrite(Pe,Fe){const Oe=this.request({method:"POST",data:Pe});Oe.on("success",Fe),Oe.on("error",(We,_t)=>{this.onError("xhr post error",We,_t)})}doPoll(){const Pe=this.request();Pe.on("data",this.onData.bind(this)),Pe.on("error",(Fe,Oe)=>{this.onError("xhr poll error",Fe,Oe)}),this.pollXhr=Pe}}},Br=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Gr=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function qr(He){if(He.length>2e3)throw"URI too long";const Pe=He,Fe=He.indexOf("["),Oe=He.indexOf("]");-1!=Fe&&-1!=Oe&&(He=He.substring(0,Fe)+He.substring(Fe,Oe).replace(/:/g,";")+He.substring(Oe,He.length));let We=Br.exec(He||""),_t={},en=14;for(;en--;)_t[Gr[en]]=We[en]||"";return-1!=Fe&&-1!=Oe&&(_t.source=Pe,_t.host=_t.host.substring(1,_t.host.length-1).replace(/;/g,":"),_t.authority=_t.authority.replace("[","").replace("]","").replace(/;/g,":"),_t.ipv6uri=!0),_t.pathNames=function _r(He,Pe){const Oe=Pe.replace(/\/{2,9}/g,"/").split("/");return("/"==Pe.slice(0,1)||0===Pe.length)&&Oe.splice(0,1),"/"==Pe.slice(-1)&&Oe.splice(Oe.length-1,1),Oe}(0,_t.path),_t.queryKey=function hr(He,Pe){const Fe={};return Pe.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(Oe,We,_t){We&&(Fe[We]=_t)}),Fe}(0,_t.query),_t}let Nr=(()=>{class He extends ne{constructor(Fe,Oe={}){super(),this.binaryType="arraybuffer",this.writeBuffer=[],Fe&&"object"==typeof Fe&&(Oe=Fe,Fe=null),Fe?(Fe=qr(Fe),Oe.hostname=Fe.host,Oe.secure="https"===Fe.protocol||"wss"===Fe.protocol,Oe.port=Fe.port,Fe.query&&(Oe.query=Fe.query)):Oe.host&&(Oe.hostname=qr(Oe.host).host),M(this,Oe),this.secure=null!=Oe.secure?Oe.secure:typeof location<"u"&&"https:"===location.protocol,Oe.hostname&&!Oe.port&&(Oe.port=this.secure?"443":"80"),this.hostname=Oe.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=Oe.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=Oe.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},Oe),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function we(He){let Pe={},Fe=He.split("&");for(let Oe=0,We=Fe.length;Oe<We;Oe++){let _t=Fe[Oe].split("=");Pe[decodeURIComponent(_t[0])]=decodeURIComponent(_t[1])}return Pe}(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"==typeof addEventListener&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})}
vendor: 5,110 bytes, line 1
1,addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(Fe){const Oe=Object.assign({},this.opts.query);Oe.EIO=4,Oe.transport=Fe,this.id&&(Oe.sid=this.id);const We=Object.assign({},this.opts,{query:Oe,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[Fe]);return new Lr[Fe](We)}open(){let Fe;if(this.opts.rememberUpgrade&&He.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))Fe="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);Fe=this.transports[0]}this.readyState="opening";try{Fe=this.createTransport(Fe)}catch{return this.transports.shift(),void this.open()}Fe.open(),this.setTransport(Fe)}setTransport(Fe){this.transport&&this.transport.removeAllListeners(),this.transport=Fe,Fe.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",Oe=>this.onClose("transport close",Oe))}probe(Fe){let Oe=this.createTransport(Fe),We=!1;He.priorWebsocketSuccess=!1;const _t=()=>{We||(Oe.send([{type:"ping",data:"probe"}]),Oe.once("packet",oi=>{if(!We)if("pong"===oi.type&&"probe"===oi.data){if(this.upgrading=!0,this.emitReserved("upgrading",Oe),!Oe)return;He.priorWebsocketSuccess="websocket"===Oe.name,this.transport.pause(()=>{We||"closed"!==this.readyState&&(Yr(),this.setTransport(Oe),Oe.send([{type:"upgrade"}]),this.emitReserved("upgrade",Oe),Oe=null,this.upgrading=!1,this.flush())})}else{const Ar=new Error("probe error");Ar.transport=Oe.name,this.emitReserved("upgradeError",Ar)}}))};function en(){We||(We=!0,Yr(),Oe.close(),Oe=null)}const gn=oi=>{const Ar=new Error("probe error: "+oi);Ar.transport=Oe.name,en(),this.emitReserved("upgradeError",Ar)};function In(){gn("transport closed")}function Zn(){gn("socket closed")}function Er(oi){Oe&&oi.name!==Oe.name&&en()}const Yr=()=>{Oe.removeListener("open",_t),Oe.removeListener("error",gn),Oe.removeListener("close",In),this.off("close",Zn),this.off("upgrading",Er)};Oe.once("open",_t),Oe.once("error",gn),Oe.once("close",In),this.once("close",Zn),this.once("upgrading",Er),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==Fe?this.setTimeoutFn(()=>{We||Oe.open()},200):Oe.open()}onOpen(){if(this.readyState="open",He.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let Fe=0;const Oe=this.upgrades.length;for(;Fe<Oe;Fe++)this.probe(this.upgrades[Fe])}}onPacket(Fe){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",Fe),this.emitReserved("heartbeat"),this.resetPingTimeout(),Fe.type){case"open":this.onHandshake(JSON.parse(Fe.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const Oe=new Error("server error");Oe.code=Fe.data,this.onError(Oe);break;case"message":this.emitReserved("data",Fe.data),this.emitReserved("message",Fe.data)}}onHandshake(Fe){this.emitReserved("handshake",Fe),this.id=Fe.sid,this.transport.query.sid=Fe.sid,this.upgrades=this.filterUpgrades(Fe.upgrades),this.pingInterval=Fe.pingInterval,this.pingTimeout=Fe.pingTimeout,this.maxPayload=Fe.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const Fe=this.getWritablePackets();this.transport.send(Fe),this.prevBufferLen=Fe.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let Oe=1;for(let We=0;We<this.writeBuffer.length;We++){const _t=this.writeBuffer[We].data;if(_t&&(Oe+=G(_t)),We>0&&Oe>this.maxPayload)return this.writeBuffer.slice(0,We);Oe+=2}return this.writeBuffer}write(Fe,Oe,We){return this.sendPacket("message",Fe,Oe,We),this}send(Fe,Oe,We){return this.sendPacket("message",Fe,Oe,We),this}sendPacket(Fe,Oe,We,_t){if("function"==typeof Oe&&(_t=Oe,Oe=void 0),"function"==typeof We&&(_t=We,We=null),"closing"===this.readyState||"closed"===this.readyState)return;(We=We||{}).compress=!1!==We.compress;const en={type:Fe,data:Oe,options:We};this.emitReserved("packetCreate",en),this.writeBuffer.push(en),_t&&this.once("flush",_t),this.flush()}close(){const Fe=()=>{this.onClose("forced close"),this.transport.close()},Oe=()=>{this.off("upgrade",Oe),this.off("upgradeError",Oe),Fe()},We=()=>{this.once("upgrade",Oe),this.once("upgradeError",Oe)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>
1{this.upgrading?We():Fe()}):this.upgrading?We():Fe()),this}onError(Fe){He.priorWebsocketSuccess=!1,this.emitReserved("error",Fe),this.onClose("transport error",Fe)}onClose(Fe,Oe){("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",Fe,Oe),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(Fe){const Oe=[];let We=0;const _t=Fe.length;for(;We<_t;We++)~this.transports.indexOf(Fe[We])&&Oe.push(Fe[We]);return Oe}}return He.protocol=4,He})();const Rt="function"==typeof ArrayBuffer,zt=He=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(He):He.buffer instanceof ArrayBuffer,vn=Object.prototype.toString,ln="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===vn.call(Blob),Sn="function"==typeof File||typeof File<"u"&&"[object FileConstructor]"===vn.call(File);function dr(He){return Rt&&(He instanceof ArrayBuffer||zt(He))||ln&&He instanceof Blob||Sn&&He instanceof File}function En(He,Pe){if(!He||"object"!=typeof He)return!1;if(Array.isArray(He)){for(let Fe=0,Oe=He.length;Fe<Oe;Fe++)if(En(He[Fe]))return!0;return!1}if(dr(He))return!0;if(He.toJSON&&"function"==typeof He.toJSON&&1===arguments.length)return En(He.toJSON(),!0);for(const Fe in He)if(Object.prototype.hasOwnProperty.call(He,Fe)&&En(He[Fe]))return!0;return!1}function tn(He){const Pe=[],Oe=He;return Oe.data=bn(He.data,Pe),Oe.attachments=Pe.length,{packet:Oe,buffers:Pe}}function bn(He,Pe){if(!He)return He;if(dr(He)){const Fe={_placeholder:!0,num:Pe.length};return Pe.push(He),Fe}if(Array.isArray(He)){const Fe=new Array(He.length);for(let Oe=0;Oe<He.length;Oe++)Fe[Oe]=bn(He[Oe],Pe);return Fe}if("object"==typeof He&&!(He instanceof Date)){const Fe={};for(const Oe in He)Object.prototype.hasOwnProperty.call(He,Oe)&&(Fe[Oe]=bn(He[Oe],Pe));return Fe}return He}function Cn(He,Pe){return He.data=Kn(He.data,Pe),delete He.attachments,He}function Kn(He,Pe){if(!He)return He;if(He&&!0===He._placeholder){if("number"==typeof He.num&&He.num>=0&&He.num<Pe.length)return Pe[He.num];throw new Error("illegal attachments")}if(Array.isArray(He))for(let Fe=0;Fe<He.length;Fe++)He[Fe]=Kn(He[Fe],Pe);else if("object"==typeof He)for(const Fe in He)Object.prototype.hasOwnProperty.call(He,Fe)&&(He[Fe]=Kn(He[Fe],Pe));return He}const Xn=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],nr=5;var fn=function(He){return He[He.CONNECT=0]="CONNECT",He[He.DISCONNECT=1]="DISCONNECT",He[He.EVENT=2]="EVENT",He[He.ACK=3]="ACK",He[He.CONNECT_ERROR=4]="CONNECT_ERROR",He[He.BINARY_EVENT=5]="BINARY_EVENT",He[He.BINARY_ACK=6]="BINARY_ACK",He}(fn||{});class fr{constructor(Pe){this.replacer=Pe}encode(Pe){return Pe.type!==fn.EVENT&&Pe.type!==fn.ACK||!En(Pe)?[this.encodeAsString(Pe)]:this.encodeAsBinary({type:Pe.type===fn.EVENT?fn.BINARY_EVENT:fn.BINARY_ACK,nsp:Pe.nsp,data:Pe.data,id:Pe.id})}encodeAsString(Pe){let Fe=""+Pe.type;return(Pe.type===fn.BINARY_EVENT||Pe.type===fn.BINARY_ACK)&&(Fe+=Pe.attachments+"-"),Pe.nsp&&"/"!==Pe.nsp&&(Fe+=Pe.nsp+","),null!=Pe.id&&(Fe+=Pe.id),null!=Pe.data&&(Fe+=JSON.stringify(Pe.data,this.replacer)),Fe}encodeAsBinary(Pe){const Fe=tn(Pe),Oe=this.encodeAsString(Fe.packet),We=Fe.buffers;return We.unshift(Oe),We}}function lr(He){return"[object Object]"===Object.prototype.toString.call(He)}class ar extends ne{constructor(Pe){super(),this.reviver=Pe}add(Pe){let Fe;if("string"==typeof Pe){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");Fe=this.decodeString(Pe);const Oe=Fe.type===fn.BINARY_EVENT;Oe||Fe.type===fn.BINARY_ACK?(Fe.type=Oe?fn.EVENT:fn.ACK,this.reconstructor=new ni(Fe),0===Fe.attachments&&super.emitReserved("decoded",Fe)):super.emitReserved("decoded",Fe)}else{if(!dr(Pe)&&!Pe.base64)throw new Error("Unknown type: "+Pe);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");Fe=this.reconstructor.takeBinaryData(Pe),Fe&&(this.reconstructor=null,super.emitReserved("decoded",Fe))}}decodeString(Pe){let Fe=0;const Oe={type:Number(Pe.charAt(0))};if(void 0===fn[Oe.type])throw new Error("unknown packet type "+Oe.type);if(Oe.type===fn.BINARY_EVENT||Oe.type===fn.BINARY_ACK){const _t=Fe+1;for(;"-"!==Pe.charAt(++Fe)&&Fe!=Pe.length;);const en=Pe.substring(_t,Fe);if(en!=Number(en)||"-"!==Pe.charAt(Fe))throw new Error("Illegal attachments");Oe.attachments=Number(en)}if("/"===Pe.charAt(Fe+1)){const _t=Fe+1;for(;++Fe&&","!==Pe.charAt(Fe)&&Fe!==Pe.length;);Oe.nsp=Pe.substring(_t,Fe)}else Oe.nsp="/";const We=Pe.charAt(Fe+1);if(""!==We&&Number(We)==We){const _t=Fe+1;for(;++Fe;){const en=Pe.charAt(Fe);if(null==en||Number(en)!=en){--Fe;break}if(Fe===Pe.length)break}Oe.id=Number(Pe.substring(_t,Fe+1))}if(Pe.charAt(++Fe)){const _t=this.tryParse(Pe.substr(Fe));
vendor: 11,612 bytes, line 1
1if(!ar.isPayloadValid(Oe.type,_t))throw new Error("invalid payload");Oe.data=_t}return Oe}tryParse(Pe){try{return JSON.parse(Pe,this.reviver)}catch{return!1}}static isPayloadValid(Pe,Fe){switch(Pe){case fn.CONNECT:return lr(Fe);case fn.DISCONNECT:return void 0===Fe;case fn.CONNECT_ERROR:return"string"==typeof Fe||lr(Fe);case fn.EVENT:case fn.BINARY_EVENT:return Array.isArray(Fe)&&("number"==typeof Fe[0]||"string"==typeof Fe[0]&&-1===Xn.indexOf(Fe[0]));case fn.ACK:case fn.BINARY_ACK:return Array.isArray(Fe)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class ni{constructor(Pe){this.packet=Pe,this.buffers=[],this.reconPack=Pe}takeBinaryData(Pe){if(this.buffers.push(Pe),this.buffers.length===this.reconPack.attachments){const Fe=Cn(this.reconPack,this.buffers);return this.finishedReconstruction(),Fe}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function vi(He,Pe,Fe){return He.on(Pe,Fe),function(){He.off(Pe,Fe)}}const no=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class $i extends ne{constructor(Pe,Fe,Oe){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=Pe,this.nsp=Fe,Oe&&Oe.auth&&(this.auth=Oe.auth),this._opts=Object.assign({},Oe),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const Pe=this.io;this.subs=[vi(Pe,"open",this.onopen.bind(this)),vi(Pe,"packet",this.onpacket.bind(this)),vi(Pe,"error",this.onerror.bind(this)),vi(Pe,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...Pe){return Pe.unshift("message"),this.emit.apply(this,Pe),this}emit(Pe,...Fe){if(no.hasOwnProperty(Pe))throw new Error('"'+Pe.toString()+'" is a reserved event name');if(Fe.unshift(Pe),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(Fe),this;const Oe={type:fn.EVENT,data:Fe,options:{}};if(Oe.options.compress=!1!==this.flags.compress,"function"==typeof Fe[Fe.length-1]){const en=this.ids++,gn=Fe.pop();this._registerAckCallback(en,gn),Oe.id=en}return this.flags.volatile&&(!(this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable)||!this.connected)||(this.connected?(this.notifyOutgoingListeners(Oe),this.packet(Oe)):this.sendBuffer.push(Oe)),this.flags={},this}_registerAckCallback(Pe,Fe){var Oe;const We=null!==(Oe=this.flags.timeout)&&void 0!==Oe?Oe:this._opts.ackTimeout;if(void 0===We)return void(this.acks[Pe]=Fe);const _t=this.io.setTimeoutFn(()=>{delete this.acks[Pe];for(let gn=0;gn<this.sendBuffer.length;gn++)this.sendBuffer[gn].id===Pe&&this.sendBuffer.splice(gn,1);Fe.call(this,new Error("operation has timed out"))},We),en=(...gn)=>{this.io.clearTimeoutFn(_t),Fe.apply(this,gn)};en.withError=!0,this.acks[Pe]=en}emitWithAck(Pe,...Fe){return new Promise((Oe,We)=>{const _t=(en,gn)=>en?We(en):Oe(gn);_t.withError=!0,Fe.push(_t),this.emit(Pe,...Fe)})}_addToQueue(Pe){let Fe;"function"==typeof Pe[Pe.length-1]&&(Fe=Pe.pop());const Oe={id:this._queueSeq++,tryCount:0,pending:!1,args:Pe,flags:Object.assign({fromQueue:!0},this.flags)};Pe.push((We,..._t)=>Oe!==this._queue[0]?void 0:(null!==We?Oe.tryCount>this._opts.retries&&(this._queue.shift(),Fe&&Fe(We)):(this._queue.shift(),Fe&&Fe(null,..._t)),Oe.pending=!1,this._drainQueue())),this._queue.push(Oe),this._drainQueue()}_drainQueue(Pe=!1){if(!this.connected||0===this._queue.length)return;const Fe=this._queue[0];Fe.pending&&!Pe||(Fe.pending=!0,Fe.tryCount++,this.flags=Fe.flags,this.emit.apply(this,Fe.args))}packet(Pe){Pe.nsp=this.nsp,this.io._packet(Pe)}onopen(){"function"==typeof this.auth?this.auth(Pe=>{this._sendConnectPacket(Pe)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(Pe){this.packet({type:fn.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},Pe):Pe})}onerror(Pe){this.connected||this.emitReserved("connect_error",Pe)}onclose(Pe,Fe){this.connected=!1,delete this.id,this.emitReserved("disconnect",Pe,Fe),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(Pe=>{if(!this.sendBuffer.some(Oe=>String(Oe.id)===Pe)){const Oe=this.acks[Pe];delete this.acks[Pe],Oe.withError&&Oe.call(this,new Error("socket has been disconnected"))}})}onpacket(Pe){if(Pe.nsp===this.nsp)switch(Pe.type){case fn.CONNECT:Pe.data&&Pe.data.sid?this.onconnect(Pe.data.sid,Pe.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case fn.EVENT:case fn.BINARY_EVENT:this.onevent(Pe);break;case fn.ACK:case fn.BINARY_ACK:this.onack(Pe);break;case fn.DISCONNECT:this.ondisconnect();break;case fn.CONNECT_ERROR:this.destroy();const Oe=new Error(Pe.data.message);Oe.data=Pe.data.data,this.emitReserved("connect_error",Oe)}}onevent(Pe){const Fe=Pe.data||[];null!=Pe.id&&Fe.push(this.ack(Pe.id)),this.connected?this.emitEvent(Fe):this.receiveBuffer.push(Object.freeze(Fe))}emitEvent(Pe){if(this._anyListeners&&this._anyListeners.length){const Fe=this._anyListeners.slice();for(const Oe of Fe)Oe.apply(this,Pe)}super.emit.apply(this,Pe),this._pid&&Pe.length&&"string"==typeof Pe[Pe.length-1]&&(this._lastOffset=Pe[Pe.length-1])}ack(Pe){const Fe=this;let Oe=!1;return function(...We){Oe||(Oe=!0,Fe.packet({type:fn.ACK,id:Pe,data:We}))}}onack(Pe){const Fe=this.acks[Pe.id];"function"==typeof Fe&&(delete this.acks[Pe.id],Fe.withError&&Pe.data.unshift(null),Fe.apply(this,Pe.data))}onconnect(Pe,Fe){this.id=Pe,this.recovered=Fe&&this._pid===Fe,this._pid=Fe,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(Pe=>this.emitEvent(Pe)),this.receiveBuffer=[],this.sendBuffer.forEach(Pe=>{this.notifyOutgoingListeners(Pe),this.packet(Pe)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(Pe=>Pe()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:fn.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(Pe){return this.flags.compress=Pe,this}get volatile(){return this.flags.volatile=!0,this}timeout(Pe){return this.flags.timeout=Pe,this}onAny(Pe){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(Pe),this}prependAny(Pe){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(Pe),this}offAny(Pe){if(!this._anyListeners)return this;if(Pe){const Fe=this._anyListeners;for(let Oe=0;Oe<Fe.length;Oe++)if(Pe===Fe[Oe])return Fe.splice(Oe,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(Pe){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(Pe),this}prependAnyOutgoing(Pe){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(Pe),this}offAnyOutgoing(Pe){if(!this._anyOutgoingListeners)return this;if(Pe){const Fe=this._anyOutgoingListeners;for(let Oe=0;Oe<Fe.length;Oe++)if(Pe===Fe[Oe])return Fe.splice(Oe,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(Pe){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const Fe=this._anyOutgoingListeners.slice();for(const Oe of Fe)Oe.apply(this,Pe.data)}}}function Xi(He){this.ms=(He=He||{}).min||100,this.max=He.max||1e4,this.factor=He.factor||2,this.jitter=He.jitter>0&&He.jitter<=1?He.jitter:0,this.attempts=0}Xi.prototype.duration=function(){var He=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var Pe=Math.random(),Fe=Math.floor(Pe*this.jitter*He);He=1&Math.floor(10*Pe)?He+Fe:He-Fe}return 0|Math.min(He,this.max)},Xi.prototype.reset=function(){this.attempts=0},Xi.prototype.setMin=function(He){this.ms=He},Xi.prototype.setMax=function(He){this.max=He},Xi.prototype.setJitter=function(He){this.jitter=He};class Di extends ne{constructor(Pe,Fe){var Oe;super(),this.nsps={},this.subs=[],Pe&&"object"==typeof Pe&&(Fe=Pe,Pe=void 0),(Fe=Fe||{}).path=Fe.path||"/socket.io",this.opts=Fe,M(this,Fe),this.reconnection(!1!==Fe.reconnection),this.reconnectionAttempts(Fe.reconnectionAttempts||1/0),this.reconnectionDelay(Fe.reconnectionDelay||1e3),this.reconnectionDelayMax(Fe.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(Oe=Fe.randomizationFactor)&&void 0!==Oe?Oe:.5),this.backoff=new Xi({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==Fe.timeout?2e4:Fe.timeout),this._readyState="closed",this.uri=Pe;const We=Fe.parser||c;this.encoder=new We.Encoder,this.decoder=new We.Decoder,this._autoConnect=!1!==Fe.autoConnect,this._autoConnect&&this.open()}reconnection(Pe){return arguments.length?(this._reconnection=!!Pe,this):this._reconnection}reconnectionAttempts(Pe){return void 0===Pe?this._reconnectionAttempts:(this._reconnectionAttempts=Pe,this)}reconnectionDelay(Pe){var Fe;return void 0===Pe?this._reconnectionDelay:(this._reconnectionDelay=Pe,null===(Fe=this.backoff)||void 0===Fe||Fe.setMin(Pe),this)}randomizationFactor(Pe){var Fe;return void 0===Pe?this._randomizationFactor:(this._randomizationFactor=Pe,null===(Fe=this.backoff)||void 0===Fe||Fe.setJitter(Pe),this)}reconnectionDelayMax(Pe){var Fe;return void 0===Pe?this._reconnectionDelayMax:(this._reconnectionDelayMax=Pe,null===(Fe=this.backoff)||void 0===Fe||Fe.setMax(Pe),this)}timeout(Pe){return arguments.length?(this._timeout=Pe,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(Pe){if(~this._readyState.indexOf("open"))return this;this.engine=new Nr(this.uri,this.opts);const Fe=this.engine,Oe=this;this._readyState="opening",this.skipReconnect=!1;const We=vi(Fe,"open",function(){Oe.onopen(),Pe&&Pe()}),_t=gn=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",gn),Pe?Pe(gn):this.maybeReconnectOnOpen()},en=vi(Fe,"error",_t);if(!1!==this._timeout){const In=this.setTimeoutFn(()=>{We(),_t(new Error("timeout")),Fe.close()},this._timeout);this.opts.autoUnref&&In.unref(),this.subs.push(()=>{this.clearTimeoutFn(In)})}return this.subs.push(We),this.subs.push(en),this}connect(Pe){return this.open(Pe)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const Pe=this.engine;this.subs.push(vi(Pe,"ping",this.onping.bind(this)),vi(Pe,"data",this.ondata.bind(this)),vi(Pe,"error",this.onerror.bind(this)),vi(Pe,"close",this.onclose.bind(this)),vi(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(Pe){try{this.decoder.add(Pe)}catch(Fe){this.onclose("parse error",Fe)}}ondecoded(Pe){or(()=>{this.emitReserved("packet",Pe)},this.setTimeoutFn)}onerror(Pe){this.emitReserved("error",Pe)}socket(Pe,Fe){let Oe=this.nsps[Pe];return Oe?this._autoConnect&&!Oe.active&&Oe.connect():(Oe=new $i(this,Pe,Fe),this.nsps[Pe]=Oe),Oe}_destroy(Pe){const Fe=Object.keys(this.nsps);for(const Oe of Fe)if(this.nsps[Oe].active)return;this._close()}_packet(Pe){const Fe=this.encoder.encode(Pe);for(let Oe=0;Oe<Fe.length;Oe++)this.engine.write(Fe[Oe],Pe.options)}
1cleanup(){this.subs.forEach(Pe=>Pe()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(Pe,Fe){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",Pe,Fe),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const Pe=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const Fe=this.backoff.duration();this._reconnecting=!0;const Oe=this.setTimeoutFn(()=>{Pe.skipReconnect||(this.emitReserved("reconnect_attempt",Pe.backoff.attempts),!Pe.skipReconnect&&Pe.open(We=>{We?(Pe._reconnecting=!1,Pe.reconnect(),this.emitReserved("reconnect_error",We)):Pe.onreconnect()}))},Fe);this.opts.autoUnref&&Oe.unref(),this.subs.push(()=>{this.clearTimeoutFn(Oe)})}}onreconnect(){const Pe=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",Pe)}}const lo={};function to(He,Pe){"object"==typeof He&&(Pe=He,He=void 0);const Fe=function Xr(He,Pe="",Fe){let Oe=He;Fe=Fe||typeof location<"u"&&location,null==He&&(He=Fe.protocol+"//"+Fe.host),"string"==typeof He&&("/"===He.charAt(0)&&(He="/"===He.charAt(1)?Fe.protocol+He:Fe.host+He),/^(https?|wss?):\/\//.test(He)||(He=typeof Fe<"u"?Fe.protocol+"//"+He:"https://"+He),Oe=qr(He)),Oe.port||(/^(http|ws)$/.test(Oe.protocol)?Oe.port="80":/^(http|ws)s$/.test(Oe.protocol)&&(Oe.port="443")),Oe.path=Oe.path||"/";const _t=-1!==Oe.host.indexOf(":")?"["+Oe.host+"]":Oe.host;return Oe.id=Oe.protocol+"://"+_t+":"+Oe.port+Pe,Oe.href=Oe.protocol+"://"+_t+(Fe&&Fe.port===Oe.port?"":":"+Oe.port),Oe}(He,(Pe=Pe||{}).path||"/socket.io"),Oe=Fe.source,We=Fe.id;let In;return Pe.forceNew||Pe["force new connection"]||!1===Pe.multiplex||lo[We]&&Fe.path in lo[We].nsps?In=new Di(Oe,Pe):(lo[We]||(lo[We]=new Di(Oe,Pe)),In=lo[We]),Fe.query&&!Pe.query&&(Pe.query=Fe.queryKey),In.socket(Fe.path,Pe)}Object.assign(to,{Manager:Di,Socket:$i,io:to,connect:to});var vo=f(21413),Co=f(23294),mn=f(47046),Jt=f(48196),kn=f(23815);const Ze=(0,f(15083).F3)("PushNotifications",{});var Ot=f(54438),nn=f(49344),wt=f(73955),st=f(55544),jt=f(68093),xt=f(7691),hn=f(21626);let ft=(()=>{var He;class Pe{constructor(Oe,We,_t,en,gn,In){var Zn=this;this.log=Oe,this.i18n=We,this.modelHelper=_t,this.commonService=en,this.settingsService=gn,this.http=In,this.sequenceChanged=new vo.B,this.key="",this.pushToken="",this.registerNotifications=(0,o.A)(function*(){let Er=yield Ze.checkPermissions();if("prompt"===Er.receive&&(Er=yield Ze.requestPermissions()),"granted"!==Er.receive)throw new Error("User denied permissions!");yield Ze.register()}),mn.co._loginAction.pipe((0,Co.F)(Er=>Er.type)).subscribe(function(){var Er=(0,o.A)(function*(Yr){if(Zn.log.debug("SocketService loginAction",Yr),Yr.type==mn.es.logout)Zn.disconnect();else if(Yr.type==mn.es.logined){var oi;Zn.getToken(),Zn.connect(Zn.pushToken,null!==(oi=Yr.userId)&&void 0!==oi?oi:"")}else Yr.type==mn.es.forceLogout&&Zn.disconnect()});return function(Yr){return Er.apply(this,arguments)}}()),mn.co._ceApplyChanged.subscribe(Er=>{var Yr;this.commonService.isAnonymousUser&&this.key!=Er.userId&&this.connect("",null!==(Yr=Er.userId)&&void 0!==Yr?Yr:"")}),this.commonService.isPwa()||this.commonService.isDesktop()}registerPushNotifications(){var Oe=this;return(0,o.A)(function*(){Ze.addListener("registration",We=>{Oe.log.debug("Push registration success, token: "+We.value+" key:"+Oe.key),Oe.pushToken=We.value;let en=Oe.commonService.EncryptQR(JSON.stringify({bundleId:Jt.c.pushBundleId,key:Oe.key,device:Oe.commonService.osType,token:Oe.pushToken}));Oe.http.post(Oe.settingsService.app.aiwowUrl+"/notice/token/update",en,{headers:{"Content-Type":"application/json"}}).subscribe(gn=>{Oe.log.debug("update pushToken",gn)})}),Ze.addListener("registrationError",We=>{Oe.log.debug("Error on registration: "+JSON.stringify(We))}),Ze.addListener("pushNotificationReceived",We=>{Oe.log.debug("Push received: "+JSON.stringify(We))}),Ze.addListener("pushNotificationActionPerformed",We=>{Oe.log.debug("Push action performed: "+JSON.stringify(We))}),yield Oe.registerNotifications()})()}getToken(){return(0,o.A)(function*(){})()}registerPWANotifications(){var Oe=this;return(0,o.A)(function*(){return Oe.pushToken})()}connect(Oe,We){this.key=We;let _t={query:{args:JSON.stringify({bundleId:Jt.c.pushBundleId,key:We,device:this.commonService.osType,deviceName:"Aiwow",appToken:Oe,enableAck:!0,uniqueID:kn.v.uuid()})},path:this.settingsService.app.wsPath,transports:["websocket","polling"],forceNew:!0,reconnectionDelay:2e3,reconnectionDelayMax:5e3};this.socket&&(this.socket.removeAllListeners(),this.socket.disconnect()),this.socket=to(this.settingsService.app.wsUrl,_t),this.log.debug("Init SocketIO",this.settingsService.app.wsUrl,_t),this.socket.on("message",(en,gn)=>{try{if("onConnect back"==en)return;if("string"==typeof en&&en.startsWith("{")){let In=JSON.parse(en);this.log.debug("SocketIO message(str):"+In.name+" "+JSON.stringify(In)),this.processMessage(In.name,In.data,null==In?void 0:In.tenantCode,gn)}else this.log.debug("SocketIO message(obj):"+JSON.stringify(en)),en.code&&"SocketIO"==en.code&&en.event&&"ForceOffline"==en.event&&mn.co._loginAction.next({type:mn.es.forceLogout,userId:""})}catch{return void this.log.error("SocketIO message error:"+en)}}),this.socket.io.on("reconnect",()=>{this.log.warn("CE SocketIO reconnected... ")}
1),this.socket.on("connect",()=>{var en,gn;mn.co._networkChanged.next({type:0}),this.log.debug("CE SocketIO ConnectStatus :"+(null===(en=this.socket)||void 0===en?void 0:en.connected)+" "+(null===(gn=this.socket)||void 0===gn?void 0:gn.id))}),this.socket.on("connect_error",en=>{this.log.debug("CE SocketIO ConnectStatus(connect_error) :",en)}),this.socket.on("disconnect",en=>{var gn,In;this.log.debug("CE SocketIO ConnectStatus(dis) :"+(null===(gn=this.socket)||void 0===gn?void 0:gn.connected)+" "+(null===(In=this.socket)||void 0===In?void 0:In.id)+" "+en)}),this.socket.io.on("error",en=>{var gn,In;this.log.debug("CE SocketIO ConnectStatus : "+(null===(gn=this.socket)||void 0===gn?void 0:gn.id)+(null===(In=this.socket)||void 0===In?void 0:In.connected)+" Connect Error"+en)}),this.socket.io.on("close",en=>{this.log.debug("SocketIO ConnectStatus->close->"+en)})}processMessage(Oe,We,_t,en){return(0,o.A)(function*(){try{en&&en(JSON.parse(JSON.stringify({name:Oe,action:"received",ack:!0}))),mn.co.processMessageEvent$.next({code:Oe,data:We,tenantCode:_t,callback:en,isOff:!1})}catch(gn){console.log("error",gn)}})()}disconnect(){this.socket&&(this.socket.disconnect(),this.commonService.netError=!1)}}return(He=Pe).\u0275fac=function(Oe){return new(Oe||He)(Ot.KVO(nn.J),Ot.KVO(wt.c$),Ot.KVO(st.S),Ot.KVO(jt.hf),Ot.KVO(xt.h),Ot.KVO(hn.Qq))},He.\u0275prov=Ot.jDH({token:He,factory:He.\u0275fac,providedIn:"root"}),Pe})()},65262:(ge,_,f)=>{"use strict";f.d(_,{y:()=>u});var c=f(10467),o=f(56909),a=f(67376),E=f.n(a),T=f(54438),s=f(7691),h=f(68093);let u=(()=>{var v;class g{constructor(p,b){this.settings=p,this.commonService=b,this.recognizer=null,this.serviceConfig=[]}setSNConfig(p,b,R,P,k,O,V,K){const z={id:p,use:b,subscription_key:R,region:P,speaker:k,endpoint_id:O,language:K};this.serviceConfig.findIndex(H=>H.id===p)>=0&&this.serviceConfig.splice(this.serviceConfig.findIndex(H=>H.id===p),1),this.serviceConfig.push(z)}getSNConfig(p){let b=this.serviceConfig.find(R=>R.id===p);return void 0===b&&(b={id:p,use:!1,subscription_key:""}),b}startContinuousRecognition(p,b,R,P,k){var O,V,K,z;let x,H=this.getSNConfig(p);if(!H.use||E().isEmpty(H.subscription_key)||E().isEmpty(H.region))return;x=o.SpeechConfig.fromSubscription(null!==(O=H.subscription_key)&&void 0!==O?O:"",null!==(V=H.region)&&void 0!==V?V:""),x.speechRecognitionLanguage=null!==(K=H.language)&&void 0!==K?K:"zh-TW",x.endpointId=null!==(z=H.endpoint_id)&&void 0!==z?z:"";const q=o.AudioConfig.fromDefaultMicrophoneInput();this.recognizer=new o.SpeechRecognizer(x,q),this.recognizer.recognizing=(Z,de)=>{b(de.result.text)},this.recognizer.recognized=(Z,de)=>{de.result.reason===o.ResultReason.RecognizedSpeech?R(de.result.text):de.result.reason===o.ResultReason.NoMatch&&k("No speech could be recognized.")},this.recognizer.canceled=(Z,de)=>{var ee;k(`Canceled: ${de.reason} - ${de.errorDetails}`),null===(ee=this.recognizer)||void 0===ee||ee.stopContinuousRecognitionAsync()},this.recognizer.sessionStopped=(Z,de)=>{var ee;console.log("Session stopped."),null===(ee=this.recognizer)||void 0===ee||ee.stopContinuousRecognitionAsync()},this.recognizer.sessionStarted=(Z,de)=>{console.log("Session started."),P()},this.recognizer.startContinuousRecognitionAsync()}stopRecognition(){this.recognizer&&this.recognizer.stopContinuousRecognitionAsync(()=>{var p;null===(p=this.recognizer)||void 0===p||p.close(),this.recognizer=null})}recognizeFromAudioFile(p,b){var R=this;return(0,c.A)(function*(){return new Promise((P,k)=>{const O=new FileReader;O.onload=V=>{var K,z,H,x;let de,Z=R.getSNConfig(p);if(!Z.use||E().isEmpty(Z.subscription_key)||E().isEmpty(Z.region))return;de=o.SpeechConfig.fromSubscription(null!==(K=Z.subscription_key)&&void 0!==K?K:"",null!==(z=Z.region)&&void 0!==z?z:""),de.speechRecognitionLanguage=null!==(H=Z.language)&&void 0!==H?H:"zh-TW",de.endpointId=null!==(x=Z.endpoint_id)&&void 0!==x?x:"";const Y=o.AudioConfig.fromWavFileInput(b),ae=new o.SpeechRecognizer(de,Y);ae.recognizeOnceAsync(fe=>{fe.reason===o.ResultReason.RecognizedSpeech?P(fe.text):k(`Recognition failed: ${fe.errorDetails}`),ae.close()},fe=>{k(fe),ae.close()})},O.onerror=V=>k(V),O.readAsArrayBuffer(b)})})()}speak(p,b){return new Promise((R,P)=>{var k,O,V,K;let z=this.getSNConfig(p);
1if(!z.use||E().isEmpty(z.subscription_key)||E().isEmpty(z.region))return;const H=o.SpeechConfig.fromSubscription(null!==(k=z.subscription_key)&&void 0!==k?k:"",null!==(O=z.region)&&void 0!==O?O:""),x=o.AudioConfig.fromDefaultSpeakerOutput(),q=new o.SpeechSynthesizer(H,x),Z=this.createSSML(b,null!==(V=z.speaker)&&void 0!==V?V:"zh-TW-HsiaoChenNeural",null!==(K=z.language)&&void 0!==K?K:"zh-TW","default");q.speakSsmlAsync(Z,de=>{de.reason===o.ResultReason.SynthesizingAudioCompleted?(console.log("synthesis finished."),R(!0)):(console.error("Speech synthesis canceled, "+de.errorDetails+"--\x3e"+b),R(!1)),q.close()},de=>{console.error(de),R(!1),q.close()})})}createSSML(p,b,R,P){return`\n <speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xml:lang='${R}'>\n <voice name='${b}'>\n <prosody rate='${P}'>\n ${p}\n </prosody>\n </voice>\n </speak>`}generateAudioFile(p,b,R,P){var k,O,V,K;let z=this.getSNConfig(p);if(!z.use||E().isEmpty(z.subscription_key)||E().isEmpty(z.region))return;const H=o.SpeechConfig.fromSubscription(null!==(k=z.subscription_key)&&void 0!==k?k:"",null!==(O=z.region)&&void 0!==O?O:""),x=o.AudioOutputStream.createPullStream(),q=o.AudioConfig.fromStreamOutput(x),Z=new o.SpeechSynthesizer(H,q),de=this.createSSML(b,null!==(V=z.speaker)&&void 0!==V?V:"zh-TW-HsiaoChenNeural",null!==(K=z.language)&&void 0!==K?K:"zh-TW","default");Z.speakSsmlAsync(de,ee=>{if(ee.reason===o.ResultReason.SynthesizingAudioCompleted){const Y=new Blob([ee.audioData],{type:"audio/wav"}),ae=new File([Y],R+".wav",{type:"audio/wav"});P(ae),console.log("Synthesis finished.")}else console.error("Speech synthesis canceled, "+ee.errorDetails)},ee=>{console.error(ee),Z.close()})}}return(v=g).\u0275fac=function(p){return new(p||v)(T.KVO(s.h),T.KVO(h.hf))},v.\u0275prov=T.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}),g})()},67859:(ge,_,f)=>{"use strict";f.d(_,{_:()=>p});var c=f(10467),o=f(21413),C=f(59030),a=f(86648),E=f(18810),T=f(97647),s=f(99437),h=f(21626),u=f(54438),v=f(80369);const g_1="Cache is not enabled.",g_2="Cache entry already expired: ",y=b=>{let R=b&&"object"==typeof b&&b.hasOwnProperty("status")&&b.hasOwnProperty("statusText")&&b.hasOwnProperty("headers")&&b.hasOwnProperty("url")&&b.hasOwnProperty("body");return b&&(b instanceof h.cS||R)};let p=(()=>{var b;class R{constructor(k){this._storage=k,this.ttl=86400,this.cacheEnabled=!0,this.invalidateOffline=!1,this.networkStatus=!0,this.ngOnInit(),this.loadCache()}ngOnInit(){}loadCache(){var k=this;return(0,c.A)(function*(){try{yield k._storage.create(),k.cacheEnabled=!0}catch(O){k.cacheEnabled=!1,console.error("Cache initialization error: ",O)}})()}ready(){var k=this;return(0,c.A)(function*(){yield k.cacheEnabled})()}enableCache(k=!0){this.cacheEnabled=k}resetDatabase(){var k=this;return(0,c.A)(function*(){var O;yield k.ready(),yield null===(O=k._storage)||void 0===O?void 0:O.clear()})()}setDefaultTTL(k){return this.ttl=k}setOfflineInvalidate(k){this.invalidateOffline=!k}getNetworkStatusChanges(){return this.networkStatusChanges}isOnline(){return this.networkStatus}saveItem(k,O,V="sys",K=this.ttl){var z=this;return(0,c.A)(function*(){var H;if(!z.cacheEnabled)throw new Error(g_1);const x=(new Date).getTime()+1e3*K,q=y(O)?"response":typeof O,Z=JSON.stringify(O);return yield null===(H=z._storage)||void 0===H?void 0:H.set(k,{value:Z,expires:x,type:q,groupKey:V})})()}removeItem(k){var O=this;return(0,c.A)(function*(){var V;if(!O.cacheEnabled)throw new Error(g_1);return yield null===(V=O._storage)||void 0===V?void 0:V.remove(k)})()}getRawItem(k){var O=this;return(0,c.A)(function*(){if(!O.cacheEnabled)throw new Error(g_1);try{var V;return(yield null===(V=O._storage)||void 0===V?void 0:V.get(k))||null}catch{return null}})()}itemExists(k){var O=this;return(0,c.A)(function*(){var V;if(!O.cacheEnabled)throw new Error(g_1);return!!(yield null===(V=O._storage)||void 0===V?void 0:V.get(k))})()}getItem(k){var O=this;return(0,c.A)(function*(){if(!O.cacheEnabled)throw new Error(g_1);let V=yield O.getRawItem(k);return!V||V.expires<(new Date).getTime()?null:R.decodeRawData(V)})()}getOrSetItem(k,O,V,K){var z=this;return(0,c.A)(function*(){let H;try{H=yield z.getItem(k)}catch{H=yield O(),yield z.saveItem(k,H,V,K)}return H})()}static decodeRawData(k){let O=JSON.parse(k.value);return y(O)?new h.cS({body:O._body||O.body,status:O.status,headers:O.headers,statusText:O.statusText,url:O.url}):O}loadFromObservable(k,O,V,K){return this.cacheEnabled?(O=O.pipe((0,T.u)()),(0,C.v)(()=>(0,a.H)(this.getItem(k)).pipe((0,s.W)(z=>(O.subscribe(H=>this.saveItem(k,H,V,K),H=>(0,E.$)(H)),O))))):O}loadFromDelayedObservable(k,O,V,K=this.ttl,z="expired",H){if(!this.cacheEnabled)return O;const x=new o.B;O=O.pipe((0,T.u)());const q=()=>{O.subscribe(Z=>{this.saveItem(k,Z,V,K),x.next(Z),x.complete()},Z=>{x.error(Z)},()=>{x.complete()})};return this.getItem(k).then(Z=>{H&&(Z[H]=Z[H]||{},Z[H].fromCache=!0),x.next(Z),"all"===z?q():x.complete()}).catch(Z=>{this.getRawItem(k).then(de=>{let ee=R.decodeRawData(de);H&&(ee[H]=ee[H]||{},ee[H].fromCache=!0),x.next(ee),q()}).catch(()=>
1q())}),x.asObservable()}clearAll(){if(!this.cacheEnabled)throw new Error(g_2);return this.resetDatabase()}clearExpired(k=!1){var O=this;return(0,c.A)(function*(){var V;if(!O.cacheEnabled)throw new Error(g_2);if(!O.isOnline()&&!k)throw new Error("No entries were deleted, because browser is offline.");let K=(new Date).getTime();return yield null===(V=O._storage)||void 0===V?void 0:V.forEach(function(){var z=(0,c.A)(function*(H,x){H.expires<K&&O.removeItem(x)});return function(H,x){return z.apply(this,arguments)}}())})()}clearGroup(k){var O=this;return(0,c.A)(function*(){var V;if(!O.cacheEnabled)throw new Error(g_2);return yield null===(V=O._storage)||void 0===V?void 0:V.forEach(function(){var K=(0,c.A)(function*(z,H){z.groupKey===k&&O.removeItem(H)});return function(z,H){return K.apply(this,arguments)}}())})()}clearWithOutGroup(k){var O=this;return(0,c.A)(function*(){var V;if(!O.cacheEnabled)throw new Error(g_2);return yield null===(V=O._storage)||void 0===V?void 0:V.forEach((K,z)=>{K.groupKey!=k&&O.removeItem(z)})})()}}return(b=R).\u0275fac=function(k){return new(k||b)(u.KVO(v.w))},b.\u0275prov=u.jDH({token:b,factory:b.\u0275fac,providedIn:"root"}),R})()},90760:(ge,_,f)=>{"use strict";f.d(_,{F:()=>h});var c=f(23815),o=f(90490),C=f(54438),a=f(49344),E=f(67859),T=f(68093),s=f(7691);let h=(()=>{var u;class v{constructor(y,p,b,R){this.log=y,this.cache=p,this.commonService=b,this.settingsService=R,this._CacheVer=1}getCacheAvatar(y){return new Promise((p,b)=>{this.commonService.aiwowDB.getCache(y).then(R=>{p(R||"")})})}setCacheAvatar(y,p){return new Promise((b,R)=>{this.commonService.aiwowDB.setCache(y,p).then(P=>{b(!0)})})}clearAvatar(){}clearCacheItem(y){this.cache.saveItem(c.v.Cache_Item+this.settingsService.app.env+"\\"+y,null)}setCacheItem(y,p,b=o.B.system,R=c.v.ttlTenYear){this.cache.saveItem(c.v.Cache_Item+this.settingsService.app.env+"\\"+y,p,b,R)}getCacheItem(y){return new Promise((p,b)=>{this.cache.itemExists(c.v.Cache_Item+this.settingsService.app.env+"\\"+y).then(R=>{R?this.cache.getItem(c.v.Cache_Item+this.settingsService.app.env+"\\"+y).then(P=>{p(P)}).catch(P=>{p(null)}):p(null)})})}getSticker(y){return new Promise((p,b)=>{this.cache.getRawItem("Sticker_"+y).then(R=>{p(JSON.parse(R.value))}).catch(R=>{p("")})})}setSticker(y,p){return new Promise((b,R)=>{this.cache.saveItem("Sticker_"+y,p,o.B.app,c.v.ttlOneYear).then(P=>{b(!0)}).catch(P=>{b(!1)})})}clearCacheForLogout(){this.cache.clearWithOutGroup(o.B.system)}clearAllCache(){this.cache.getItem("CacheVer").then(y=>{parseInt(y)<this._CacheVer&&this.cache.clearAll().then(p=>{this.cache.saveItem("CacheVer",this._CacheVer,"",c.v.ttlTenYear)})}).catch(y=>{this.cache.clearAll().then(p=>{this.cache.saveItem("CacheVer",this._CacheVer,"",c.v.ttlTenYear)})})}clearAllCacheReal(){this.cache.clearAll().then(y=>{this.cache.saveItem("CacheVer",this._CacheVer,"",c.v.ttlTenYear)})}}return(u=v).\u0275fac=function(y){return new(y||u)(C.KVO(a.J),C.KVO(E._),C.KVO(T.hf),C.KVO(s.h))},u.\u0275prov=C.jDH({token:u,factory:u.\u0275fac}),v})()},68093:(ge,_,f)=>{"use strict";f.d(_,{hf:()=>Es,j0:()=>fo});var c=f(10467),o=f(31635),C=f(67376),a=f(21413),E=f(31471),T=f(9980);const s=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,h=Object.keys,u=Array.isArray;function v(Ce,ye){return"object"!=typeof ye||h(ye).forEach(function($e){Ce[$e]=ye[$e]}),Ce}typeof Promise>"u"||s.Promise||(s.Promise=Promise);const g=Object.getPrototypeOf,y={}.hasOwnProperty;function p(Ce,ye){return y.call(Ce,ye)}function b(Ce,ye){"function"==typeof ye&&(ye=ye(g(Ce))),(typeof Reflect>"u"?h:Reflect.ownKeys)(ye).forEach($e=>{P(Ce,$e,ye[$e])})}const R=Object.defineProperty;function P(Ce,ye,$e,tt){R(Ce,ye,v($e&&p($e,"get")&&"function"==typeof $e.get?{get:$e.get,set:$e.set,configurable:!0}:{value:$e,configurable:!0,writable:!0},tt))}function k(Ce){return{from:function(ye){return Ce.prototype=Object.create(ye.prototype),P(Ce.prototype,"constructor",Ce),{extend:b.bind(null,Ce.prototype)}}}}const O=Object.getOwnPropertyDescriptor;function V(Ce,ye){let $e;return O(Ce,ye)||($e=g(Ce))&&V($e,ye)}const K=[].slice;function z(Ce,ye,$e){return K.call(Ce,ye,$e)}function H(Ce,ye){return ye(Ce)}function x(Ce){if(!Ce)throw new Error("Assertion Failed")}function q(Ce){s.setImmediate?setImmediate(Ce):setTimeout(Ce,0)}function Z(Ce,ye){return Ce.reduce(($e,tt,Et)=>{var A=ye(tt,Et);return A&&($e[A[0]]=A[1]),$e},{})}function de(Ce,ye){if("string"==typeof ye&&p(Ce,ye))return Ce[ye];if(!ye)return Ce;if("string"!=typeof ye){for(var $e=[],tt=0,Et=ye.length;tt<Et;++tt){var A=de(Ce,ye[tt]);$e.push(A)}return $e}var W=ye.indexOf(".");if(-1!==W){var oe=Ce[ye.substr(0,W)];return null==oe?void 0:de(oe,ye.substr(W+1))}}function ee(Ce,ye,$e){if(Ce&&void 0!==ye&&(!("isFrozen"in Object)||!Object.isFrozen(Ce)))if("string"!=typeof ye&&"length"in ye){x("string"!=typeof $e&&"length"in $e);for(var tt=0,Et=ye.length;tt<Et;++tt)ee(Ce,ye[tt],$e[tt])}else{var A=ye.indexOf(".");if(-1!==A){var W=ye.substr(0,A),oe=ye.substr(A+1);if(""===oe)void 0===$e?u(Ce)&&!isNaN(parseInt(W))?Ce.splice(W,1):delete Ce[W]:Ce[W]=$e;else{var be=Ce[W];be&&p(Ce,W)||(be=Ce[W]={}),ee(be,oe,$e)}}else void 0===$e?u(Ce)&&!isNaN(parseInt(ye))?Ce.splice(ye,1):delete Ce[ye]:Ce[ye]=$e}}function Y(Ce){var ye={};for(var $e in Ce)p(Ce,$e)&&(ye[$e]=Ce[$e]);return ye}const ae=[].concat;function fe(Ce){return ae.apply([],Ce)}const ne="BigUint64Array,BigInt64Array,Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(fe([8,16,32,64].map(Ce=>["Int","Uint","Float"].map(ye=>ye+Ce+"Array")))).filter(Ce=>s[Ce]),ce=ne.map(Ce=>s[Ce]);Z(ne,Ce=>[Ce,!0]);let me=null;function re(Ce){me=typeof WeakMap<"u"&&new WeakMap;const ye=$(Ce);return me=null,ye}function $(Ce){if(!Ce||"object"!=typeof Ce)return Ce;let ye=me&&me.get(Ce);if(ye)return ye;if(u(Ce)){ye=[],me&&me.set(Ce,ye);for(var $e=0,tt=Ce.length;$e<tt;++$e)ye.push($(Ce[$e]))}else if(ce.indexOf(Ce.constructor)>=0)ye=Ce;else{const A=g(Ce);for(var Et in ye=A===Object.prototype?{}:Object.create(A),me&&me.set(Ce,ye),Ce)p(Ce,Et)&&(ye[Et]=$(Ce[Et]))}return ye}const{toString:X}={};function M(Ce){return X.call(Ce).slice(8,-1)}const N=typeof Symbol<"u"?Symbol.iterator:"@@iterator",G="symbol"==typeof N?function(Ce){var ye;return null!=Ce&&(ye=Ce[N])&&ye.apply(Ce)}:function(){return null},ue={};function ve(Ce){var ye,$e,tt,Et;if(1===arguments.length){if(u(Ce))return Ce.slice();if(this===ue&&"string"==typeof Ce)return[Ce];if(Et=G(Ce)){for($e=[];!(tt=Et.next()).done;)$e.push(tt.value);return $e}if(null==Ce)return[Ce];if("number"==typeof(ye=Ce.length)){for($e=new Array(ye);ye--;)$e[ye]=Ce[ye];return $e}return[Ce]}for(ye=arguments.length,$e=new Array(ye);ye--;)$e[ye]=arguments[ye];return $e}const we=typeof Symbol<"u"?Ce=>"AsyncFunction"===Ce[Symbol.toStringTag]:()=>!1;var Re=typeof location<"u"&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function et(Ce,ye){Re=Ce,at=ye}var at=()=>!0;const Pt=!new Error("").stack;
1function At(){if(Pt)try{throw new Error}catch(Ce){return Ce}return new Error}function It(Ce,ye){var $e=Ce.stack;return $e?(ye=ye||0,0===$e.indexOf(Ce.name)&&(ye+=(Ce.name+Ce.message).split("\n").length),$e.split("\n").slice(ye).filter(at).map(tt=>"\n"+tt).join("")):""}var qt=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],St=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"].concat(qt),lt={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function yt(Ce,ye){this._e=At(),this.name=Ce,this.message=ye}function Ft(Ce,ye){return Ce+". Errors: "+Object.keys(ye).map($e=>ye[$e].toString()).filter(($e,tt,Et)=>Et.indexOf($e)===tt).join("\n")}function rt(Ce,ye,$e,tt){this._e=At(),this.failures=ye,this.failedKeys=tt,this.successCount=$e,this.message=Ft(Ce,ye)}function mt(Ce,ye){this._e=At(),this.name="BulkError",this.failures=Object.keys(ye).map($e=>ye[$e]),this.failuresByPos=ye,this.message=Ft(Ce,ye)}k(yt).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+It(this._e,2))}},toString:function(){return this.name+": "+this.message}}),k(rt).from(yt),k(mt).from(yt);var Mt=St.reduce((Ce,ye)=>(Ce[ye]=ye+"Error",Ce),{});const Vt=yt;var Lt=St.reduce((Ce,ye)=>{var $e=ye+"Error";function tt(Et,A){this._e=At(),this.name=$e,Et?"string"==typeof Et?(this.message=`${Et}${A?"\n "+A:""}`,this.inner=A||null):"object"==typeof Et&&(this.message=`${Et.name} ${Et.message}`,this.inner=Et):(this.message=lt[ye]||$e,this.inner=null)}return k(tt).from(Vt),Ce[ye]=tt,Ce},{});Lt.Syntax=SyntaxError,Lt.Type=TypeError,Lt.Range=RangeError;var $n=qt.reduce((Ce,ye)=>(Ce[ye+"Error"]=Lt[ye],Ce),{}),Tn=St.reduce((Ce,ye)=>(-1===["Syntax","Type","Range"].indexOf(ye)&&(Ce[ye+"Error"]=Lt[ye]),Ce),{});function An(){}function jn(Ce){return Ce}function or(Ce,ye){return null==Ce||Ce===jn?ye:function($e){return ye(Ce($e))}}function br(Ce,ye){return function(){Ce.apply(this,arguments),ye.apply(this,arguments)}}function Fr(Ce,ye){return Ce===An?ye:function(){var $e=Ce.apply(this,arguments);void 0!==$e&&(arguments[0]=$e);var tt=this.onsuccess,Et=this.onerror;this.onsuccess=null,this.onerror=null;var A=ye.apply(this,arguments);return tt&&(this.onsuccess=this.onsuccess?br(tt,this.onsuccess):tt),Et&&(this.onerror=this.onerror?br(Et,this.onerror):Et),void 0!==A?A:$e}}function On(Ce,ye){return Ce===An?ye:function(){Ce.apply(this,arguments);var $e=this.onsuccess,tt=this.onerror;this.onsuccess=this.onerror=null,ye.apply(this,arguments),$e&&(this.onsuccess=this.onsuccess?br($e,this.onsuccess):$e),tt&&(this.onerror=this.onerror?br(tt,this.onerror):tt)}}function sr(Ce,ye){return Ce===An?ye:function($e){var tt=Ce.apply(this,arguments);v($e,tt);var Et=this.onsuccess,A=this.onerror;this.onsuccess=null,this.onerror=null;var W=ye.apply(this,arguments);return Et&&(this.onsuccess=this.onsuccess?br(Et,this.onsuccess):Et),A&&(this.onerror=this.onerror?br(A,this.onerror):A),void 0===tt?void 0===W?void 0:W:v(tt,W)}}function ur(Ce,ye){return Ce===An?ye:function(){return!1!==ye.apply(this,arguments)&&Ce.apply(this,arguments)}}function tr(Ce,ye){return Ce===An?ye:function(){var $e=Ce.apply(this,arguments);if($e&&"function"==typeof $e.then){for(var tt=this,Et=arguments.length,A=new Array(Et);Et--;)A[Et]=arguments[Et];return $e.then(function(){return ye.apply(tt,A)})}return ye.apply(this,arguments)}}Tn.ModifyError=rt,Tn.DexieError=yt,Tn.BulkError=mt;var Lr={};const Br=100,[Gr,qr,_r]=typeof Promise>"u"?[]:(()=>{let Ce=Promise.resolve();if(typeof crypto>"u"||!crypto.subtle)return[Ce,g(Ce),Ce];const ye=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[ye,g(ye),Ce]})(),hr=qr&&qr.then,Nr=Gr&&Gr.constructor,$r=!!_r;var Xr=!1,Rt=_r?()=>{_r.then(lo)}:s.setImmediate?setImmediate.bind(null,lo):s.MutationObserver?()=>{var Ce=document.createElement("div");new MutationObserver(()=>{lo(),Ce=null}).observe(Ce,{attributes:!0}),Ce.setAttribute("i","1")}:()=>{setTimeout(lo,0)},zt=function(Ce,ye){Kn.push([Ce,ye]),ln&&(Rt(),ln=!1)},vn=!0,ln=!0,Sn=[],dr=[],En=null,tn=jn,bn={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:In,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(Ce=>{try{In(Ce[0],Ce[1])}catch{}})}},Cn=bn,Kn=[],Xn=0,nr=[];function fn(Ce){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=An,this._lib=!1;var ye=this._PSD=Cn;
1if(Re&&(this._stackHolder=At(),this._prev=null,this._numPrev=0),"function"!=typeof Ce){if(Ce!==Lr)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(!1===this._state&&ni(this,this._value))}this._state=null,this._value=null,++ye.ref,ar(this,Ce)}const fr={get:function(){var Ce=Cn,ye=nn;function $e(tt,Et){var A=!Ce.global&&(Ce!==Cn||ye!==nn);const W=A&&!xt();var oe=new fn((be,Ue)=>{no(this,new lr(_t(tt,Ce,A,W),_t(Et,Ce,A,W),be,Ue,Ce))});return Re&&Di(oe,this),oe}return $e.prototype=Lr,$e},set:function(Ce){P(this,"then",Ce&&Ce.prototype===Lr?fr:{get:function(){return Ce},set:fr.set})}};function lr(Ce,ye,$e,tt,Et){this.onFulfilled="function"==typeof Ce?Ce:null,this.onRejected="function"==typeof ye?ye:null,this.resolve=$e,this.reject=tt,this.psd=Et}function ar(Ce,ye){try{ye($e=>{if(null===Ce._state){if($e===Ce)throw new TypeError("A promise cannot be resolved with itself.");var tt=Ce._lib&&to();$e&&"function"==typeof $e.then?ar(Ce,(Et,A)=>{$e instanceof fn?$e._then(Et,A):$e.then(Et,A)}):(Ce._state=!0,Ce._value=$e,vi(Ce)),tt&&vo()}},ni.bind(null,Ce))}catch($e){ni(Ce,$e)}}function ni(Ce,ye){if(dr.push(ye),null===Ce._state){var $e=Ce._lib&&to();ye=tn(ye),Ce._state=!1,Ce._value=ye,Re&&null!==ye&&"object"==typeof ye&&!ye._promise&&function(tt,Et,A){try{(()=>{var tt=V(ye,"stack");ye._promise=Ce,P(ye,"stack",{get:()=>Xr?tt&&(tt.get?tt.get.apply(ye):tt.value):Ce.stack})}).apply(null,void 0)}catch(W){}}(),tt=Ce,Sn.some(Et=>Et._value===tt._value)||Sn.push(tt),vi(Ce),$e&&vo()}var tt}function vi(Ce){var ye=Ce._listeners;Ce._listeners=[];for(var $e=0,tt=ye.length;$e<tt;++$e)no(Ce,ye[$e]);var Et=Ce._PSD;--Et.ref||Et.finalize(),0===Xn&&(++Xn,zt(()=>{0==--Xn&&Co()},[]))}function no(Ce,ye){if(null!==Ce._state){var $e=Ce._state?ye.onFulfilled:ye.onRejected;if(null===$e)return(Ce._state?ye.resolve:ye.reject)(Ce._value);++ye.psd.ref,++Xn,zt($i,[$e,Ce,ye])}else Ce._listeners.push(ye)}function $i(Ce,ye,$e){try{En=ye;var tt,Et=ye._value;ye._state?tt=Ce(Et):(dr.length&&(dr=[]),tt=Ce(Et),-1===dr.indexOf(Et)&&function(A){for(var W=Sn.length;W;)if(Sn[--W]._value===A._value)return void Sn.splice(W,1)}(ye)),$e.resolve(tt)}catch(A){$e.reject(A)}finally{En=null,0==--Xn&&Co(),--$e.psd.ref||$e.psd.finalize()}}function Xi(Ce,ye,$e){if(ye.length===$e)return ye;var tt="";if(!1===Ce._state){var Et,A,W=Ce._value;null!=W?(Et=W.name||"Error",A=W.message||W,tt=It(W,0)):(Et=W,A=""),ye.push(Et+(A?": "+A:"")+tt)}return Re&&((tt=It(Ce._stackHolder,2))&&-1===ye.indexOf(tt)&&ye.push(tt),Ce._prev&&Xi(Ce._prev,ye,$e)),ye}function Di(Ce,ye){var $e=ye?ye._numPrev+1:0;$e<100&&(Ce._prev=ye,Ce._numPrev=$e)}function lo(){to()&&vo()}function to(){var Ce=vn;return vn=!1,ln=!1,Ce}function vo(){var Ce,ye,$e;do{for(;Kn.length>0;)for(Ce=Kn,Kn=[],$e=Ce.length,ye=0;ye<$e;++ye){var tt=Ce[ye];tt[0].apply(null,tt[1])}}while(Kn.length>0);vn=!0,ln=!0}function Co(){var Ce=Sn;Sn=[],Ce.forEach(tt=>{tt._PSD.onunhandled.call(null,tt._value,tt)});for(var ye=nr.slice(0),$e=ye.length;$e;)ye[--$e]()}function mn(Ce){return new fn(Lr,!1,Ce)}function Jt(Ce,ye){var $e=Cn;return function(){var tt=to(),Et=Cn;try{return Pe($e,!0),Ce.apply(this,arguments)}catch(A){ye&&ye(A)}finally{Pe(Et,!1),tt&&vo()}}}b(fn.prototype,{then:fr,_then:function(Ce,ye){no(this,new lr(null,null,Ce,ye,Cn))},catch:function(Ce){if(1===arguments.length)return this.then(null,Ce);var ye=arguments[0],$e=arguments[1];return this.then(null,"function"==typeof ye?tt=>tt instanceof ye?$e(tt):mn(tt):tt=>tt&&tt.name===ye?$e(tt):mn(tt))},finally:function(Ce){return this.then(ye=>(Ce(),ye),ye=>(Ce(),mn(ye)))},stack:{get:function(){if(this._stack)return this._stack;try{Xr=!0;var Ce=Xi(this,[],20).join("\nFrom previous: ");return null!==this._state&&(this._stack=Ce),Ce}finally{Xr=!1}}},timeout:function(Ce,ye){return Ce<1/0?new fn(($e,tt)=>{var Et=setTimeout(()=>tt(new Lt.Timeout(ye)),Ce);this.then($e,tt).finally(clearTimeout.bind(null,Et))}):this}}),typeof Symbol<"u"&&Symbol.toStringTag&&P(fn.prototype,Symbol.toStringTag,"Dexie.Promise"),bn.env=Fe(),b(fn,{all:function(){var Ce=ve.apply(null,arguments).map(hn);return new fn(function(ye,$e){0===Ce.length&&ye([]);var tt=Ce.length;Ce.forEach((Et,A)=>fn.resolve(Et).then(W=>{Ce[A]=W,--tt||ye(Ce)},$e))})},resolve:Ce=>{if(Ce instanceof fn)return Ce;if(Ce&&"function"==typeof Ce.then)return new fn(($e,tt)=>{Ce.then($e,tt)});var ye=new fn(Lr,!0,Ce);return Di(ye,En),ye},reject:mn,race:function(){var Ce=ve.apply(null,arguments).map(hn);return new fn((ye,$e)=>{Ce.map(tt=>fn.resolve(tt).then(ye,$e))})},PSD:{get:()=>Cn,set:Ce=>Cn=Ce},totalEchoes:{get:()=>nn},newPSD:st,usePSD:Oe,scheduler:{get:()=>zt,set:Ce=>{zt=Ce}},rejectionMapper:{get:()=>tn,set:Ce=>{tn=Ce}},follow:(Ce,ye)=>new fn(($e,tt)=>st((Et,A)=>{var W=Cn;W.unhandleds=[],W.onunhandled=A,W.finalize=br(function(){var oe;oe=()=>{0===this.unhandleds.length?Et():A(this.unhandleds[0])},nr.push(function be(){oe(),nr.splice(nr.indexOf(be),1)}),++Xn,zt(()=>{0==--Xn&&Co()},[])},W.finalize),Ce()},ye,$e,tt))}),Nr&&(Nr.allSettled&&P(fn,"allSettled",function(){const Ce=ve.apply(null,arguments).map(hn);return new fn(ye=>{0===Ce.length&&ye([]);let $e=Ce.length;const tt=new Array($e);Ce.forEach((Et,A)=>fn.resolve(Et).then(W=>tt[A]={status:"fulfilled",value:W},W=>tt[A]={status:"rejected",reason:W}).then(()=>--$e||ye(tt)))})}
1),Nr.any&&typeof AggregateError<"u"&&P(fn,"any",function(){const Ce=ve.apply(null,arguments).map(hn);return new fn((ye,$e)=>{0===Ce.length&&$e(new AggregateError([]));let tt=Ce.length;const Et=new Array(tt);Ce.forEach((A,W)=>fn.resolve(A).then(oe=>ye(oe),oe=>{Et[W]=oe,--tt||$e(new AggregateError(Et))}))})}));const kn={awaits:0,echoes:0,id:0};var Ke=0,Ze=[],Ot=0,nn=0,wt=0;function st(Ce,ye,$e,tt){var Et=Cn,A=Object.create(Et);A.parent=Et,A.ref=0,A.global=!1,A.id=++wt;var W=bn.env;A.env=$r?{Promise:fn,PromiseProp:{value:fn,configurable:!0,writable:!0},all:fn.all,race:fn.race,allSettled:fn.allSettled,any:fn.any,resolve:fn.resolve,reject:fn.reject,nthen:en(W.nthen,A),gthen:en(W.gthen,A)}:{},ye&&v(A,ye),++Et.ref,A.finalize=function(){--this.parent.ref||this.parent.finalize()};var oe=Oe(A,Ce,$e,tt);return 0===A.ref&&A.finalize(),oe}function jt(){return kn.id||(kn.id=++Ke),++kn.awaits,kn.echoes+=Br,kn.id}function xt(){return!!kn.awaits&&(0==--kn.awaits&&(kn.id=0),kn.echoes=kn.awaits*Br,!0)}function hn(Ce){return kn.echoes&&Ce&&Ce.constructor===Nr?(jt(),Ce.then(ye=>(xt(),ye),ye=>(xt(),Zn(ye)))):Ce}function ft(Ce){++nn,kn.echoes&&0!=--kn.echoes||(kn.echoes=kn.id=0),Ze.push(Cn),Pe(Ce,!0)}function He(){var Ce=Ze[Ze.length-1];Ze.pop(),Pe(Ce,!1)}function Pe(Ce,ye){var $e=Cn;if((ye?!kn.echoes||Ot++&&Ce===Cn:!Ot||--Ot&&Ce===Cn)||We(ye?ft.bind(null,Ce):He),Ce!==Cn&&(Cn=Ce,$e===bn&&(bn.env=Fe()),$r)){var tt=bn.env.Promise,Et=Ce.env;qr.then=Et.nthen,tt.prototype.then=Et.gthen,($e.global||Ce.global)&&(Object.defineProperty(s,"Promise",Et.PromiseProp),tt.all=Et.all,tt.race=Et.race,tt.resolve=Et.resolve,tt.reject=Et.reject,Et.allSettled&&(tt.allSettled=Et.allSettled),Et.any&&(tt.any=Et.any))}}function Fe(){var Ce=s.Promise;return $r?{Promise:Ce,PromiseProp:Object.getOwnPropertyDescriptor(s,"Promise"),all:Ce.all,race:Ce.race,allSettled:Ce.allSettled,any:Ce.any,resolve:Ce.resolve,reject:Ce.reject,nthen:qr.then,gthen:Ce.prototype.then}:{}}function Oe(Ce,ye,$e,tt,Et){var A=Cn;try{return Pe(Ce,!0),ye($e,tt,Et)}finally{Pe(A,!1)}}function We(Ce){hr.call(Gr,Ce)}function _t(Ce,ye,$e,tt){return"function"!=typeof Ce?Ce:function(){var Et=Cn;$e&&jt(),Pe(ye,!0);try{return Ce.apply(this,arguments)}finally{Pe(Et,!1),tt&&We(xt)}}}function en(Ce,ye){return function($e,tt){return Ce.call(this,_t($e,ye),_t(tt,ye))}}-1===(""+hr).indexOf("[native code]")&&(jt=xt=An);const gn="unhandledrejection";function In(Ce,ye){var $e;try{$e=ye.onuncatched(Ce)}catch{}if(!1!==$e)try{var tt,Et={promise:ye,reason:Ce};if(s.document&&document.createEvent?((tt=document.createEvent("Event")).initEvent(gn,!0,!0),v(tt,Et)):s.CustomEvent&&v(tt=new CustomEvent(gn,{detail:Et}),Et),tt&&s.dispatchEvent&&(dispatchEvent(tt),!s.PromiseRejectionEvent&&s.onunhandledrejection))try{s.onunhandledrejection(tt)}catch{}Re&&tt&&!tt.defaultPrevented&&console.warn(`Unhandled rejection: ${Ce.stack||Ce}`)}catch{}}var Zn=fn.reject;function Er(Ce,ye,$e,tt){if(Ce.idbdb&&(Ce._state.openComplete||Cn.letThrough||Ce._vip)){var Et=Ce._createTransaction(ye,$e,Ce._dbSchema);try{Et.create(),Ce._state.PR1398_maxLoop=3}catch(A){return A.name===Mt.InvalidState&&Ce.isOpen()&&--Ce._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),Ce._close(),Ce.open().then(()=>Er(Ce,ye,$e,tt))):Zn(A)}return Et._promise(ye,(A,W)=>st(()=>(Cn.trans=Et,tt(A,W,Et)))).then(A=>Et._completion.then(()=>A))}if(Ce._state.openComplete)return Zn(new Lt.DatabaseClosed(Ce._state.dbOpenError));if(!Ce._state.isBeingOpened){if(!Ce._options.autoOpen)return Zn(new Lt.DatabaseClosed);Ce.open().catch(An)}return Ce._state.dbReadyPromise.then(()=>Er(Ce,ye,$e,tt))}const Ar=-1/0,li="Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.",Ki="String expected.",Pi=[],io=typeof navigator<"u"&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),ki=io,ko=io,Eo=Ce=>!/(dexie\.js|dexie\.min\.js)/.test(Ce),ji="__dbnames",bs="readonly",xo="readwrite";function So(Ce,ye){return Ce?ye?function(){return Ce.apply(this,arguments)&&ye.apply(this,arguments)}:Ce:ye}const $s={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function qo(Ce){return"string"!=typeof Ce||/\./.test(Ce)?ye=>ye:ye=>(void 0===ye[Ce]&&Ce in ye&&delete(ye=re(ye))[Ce],ye)}class cs{_trans(ye,$e,tt){const Et=this._tx||Cn.trans,A=this.name;function W(be,Ue,Ye){if(!Ye.schema[A])throw new Lt.NotFound("Table "+A+" not part of transaction");return $e(Ye.idbtrans,Ye)}const oe=to();try{return Et&&Et.db===this.db?Et===Cn.trans?Et._promise(ye,W,tt):st(()=>Et._promise(ye,W,tt),{trans:Et,transless:Cn.transless||Cn}):Er(this.db,ye,[this.name],W)}finally{oe&&vo()}}get(ye,$e){return ye&&ye.constructor===Object?this.where(ye).first($e):this._trans("readonly",tt=>
1this.core.get({trans:tt,key:ye}).then(Et=>this.hook.reading.fire(Et))).then($e)}where(ye){if("string"==typeof ye)return new this.db.WhereClause(this,ye);if(u(ye))return new this.db.WhereClause(this,`[${ye.join("+")}]`);const $e=h(ye);if(1===$e.length)return this.where($e[0]).equals(ye[$e[0]]);const tt=this.schema.indexes.concat(this.schema.primKey).filter(Ue=>{if(Ue.compound&&$e.every(Ye=>Ue.keyPath.indexOf(Ye)>=0)){for(let Ye=0;Ye<$e.length;++Ye)if(-1===$e.indexOf(Ue.keyPath[Ye]))return!1;return!0}return!1}).sort((Ue,Ye)=>Ue.keyPath.length-Ye.keyPath.length)[0];if(tt&&"\uffff"!==this.db._maxKey){const Ue=tt.keyPath.slice(0,$e.length);return this.where(Ue).equals(Ue.map(Ye=>ye[Ye]))}!tt&&Re&&console.warn(`The query ${JSON.stringify(ye)} on ${this.name} would benefit of a compound index [${$e.join("+")}]`);const{idxByName:Et}=this.schema,A=this.db._deps.indexedDB;function W(Ue,Ye){try{return 0===A.cmp(Ue,Ye)}catch{return!1}}const[oe,be]=$e.reduce(([Ue,Ye],kt)=>{const on=Et[kt],xn=ye[kt];return[Ue||on,Ue||!on?So(Ye,on&&on.multi?pr=>{const Rr=de(pr,kt);return u(Rr)&&Rr.some(Kr=>W(xn,Kr))}:pr=>W(xn,de(pr,kt))):Ye]},[null,null]);return oe?this.where(oe.name).equals(ye[oe.keyPath]).filter(be):tt?this.filter(be):this.where($e).equals("")}filter(ye){return this.toCollection().and(ye)}count(ye){return this.toCollection().count(ye)}offset(ye){return this.toCollection().offset(ye)}limit(ye){return this.toCollection().limit(ye)}each(ye){return this.toCollection().each(ye)}toArray(ye){return this.toCollection().toArray(ye)}toCollection(){return new this.db.Collection(new this.db.WhereClause(this))}orderBy(ye){return new this.db.Collection(new this.db.WhereClause(this,u(ye)?`[${ye.join("+")}]`:ye))}reverse(){return this.toCollection().reverse()}mapToClass(ye){this.schema.mappedClass=ye;const $e=tt=>{if(!tt)return tt;const Et=Object.create(ye.prototype);for(var A in tt)if(p(tt,A))try{Et[A]=tt[A]}catch{}return Et};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=$e,this.hook("reading",$e),ye}defineClass(){return this.mapToClass(function(ye){v(this,ye)})}add(ye,$e){const{auto:tt,keyPath:Et}=this.schema.primKey;let A=ye;return Et&&tt&&(A=qo(Et)(ye)),this._trans("readwrite",W=>this.core.mutate({trans:W,type:"add",keys:null!=$e?[$e]:null,values:[A]})).then(W=>W.numFailures?fn.reject(W.failures[0]):W.lastResult).then(W=>{if(Et)try{ee(ye,Et,W)}catch{}return W})}update(ye,$e){if("object"!=typeof ye||u(ye))return this.where(":id").equals(ye).modify($e);{const tt=de(ye,this.schema.primKey.keyPath);if(void 0===tt)return Zn(new Lt.InvalidArgument("Given object does not contain its primary key"));try{"function"!=typeof $e?h($e).forEach(Et=>{ee(ye,Et,$e[Et])}):$e(ye,{value:ye,primKey:tt})}catch{}return this.where(":id").equals(tt).modify($e)}}put(ye,$e){const{auto:tt,keyPath:Et}=this.schema.primKey;let A=ye;return Et&&tt&&(A=qo(Et)(ye)),this._trans("readwrite",W=>this.core.mutate({trans:W,type:"put",values:[A],keys:null!=$e?[$e]:null})).then(W=>W.numFailures?fn.reject(W.failures[0]):W.lastResult).then(W=>{if(Et)try{ee(ye,Et,W)}catch{}return W})}delete(ye){return this._trans("readwrite",$e=>this.core.mutate({trans:$e,type:"delete",keys:[ye]})).then($e=>$e.numFailures?fn.reject($e.failures[0]):void 0)}clear(){return this._trans("readwrite",ye=>this.core.mutate({trans:ye,type:"deleteRange",range:$s})).then(ye=>ye.numFailures?fn.reject(ye.failures[0]):void 0)}bulkGet(ye){return this._trans("readonly",$e=>this.core.getMany({keys:ye,trans:$e}).then(tt=>tt.map(Et=>this.hook.reading.fire(Et))))}bulkAdd(ye,$e,tt){const Et=Array.isArray($e)?$e:void 0,A=(tt=tt||(Et?void 0:$e))?tt.allKeys:void 0;return this._trans("readwrite",W=>{const{auto:oe,keyPath:be}=this.schema.primKey;if(be&&Et)throw new Lt.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(Et&&Et.length!==ye.length)throw new Lt.InvalidArgument("Arguments objects and keys must have the same length");const Ue=ye.length;let Ye=be&&oe?ye.map(qo(be)):ye;return this.core.mutate({trans:W,type:"add",keys:Et,values:Ye,wantResults:A}).then(({numFailures:kt,results:on,lastResult:xn,failures:pr})=>{if(0===kt)return A?on:xn;throw new mt(`${this.name}
1.bulkAdd(): ${kt} of ${Ue} operations failed`,pr)})})}bulkPut(ye,$e,tt){const Et=Array.isArray($e)?$e:void 0,A=(tt=tt||(Et?void 0:$e))?tt.allKeys:void 0;return this._trans("readwrite",W=>{const{auto:oe,keyPath:be}=this.schema.primKey;if(be&&Et)throw new Lt.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(Et&&Et.length!==ye.length)throw new Lt.InvalidArgument("Arguments objects and keys must have the same length");const Ue=ye.length;let Ye=be&&oe?ye.map(qo(be)):ye;return this.core.mutate({trans:W,type:"put",keys:Et,values:Ye,wantResults:A}).then(({numFailures:kt,results:on,lastResult:xn,failures:pr})=>{if(0===kt)return A?on:xn;throw new mt(`${this.name}.bulkPut(): ${kt} of ${Ue} operations failed`,pr)})})}bulkDelete(ye){const $e=ye.length;return this._trans("readwrite",tt=>this.core.mutate({trans:tt,type:"delete",keys:ye})).then(({numFailures:tt,lastResult:Et,failures:A})=>{if(0===tt)return Et;throw new mt(`${this.name}.bulkDelete(): ${tt} of ${$e} operations failed`,A)})}}function ds(Ce){var ye={},$e=function(W,oe){if(oe){for(var be=arguments.length,Ue=new Array(be-1);--be;)Ue[be-1]=arguments[be];return ye[W].subscribe.apply(null,Ue),Ce}if("string"==typeof W)return ye[W]};$e.addEventType=A;for(var tt=1,Et=arguments.length;tt<Et;++tt)A(arguments[tt]);return $e;function A(W,oe,be){if("object"!=typeof W){var Ue;oe||(oe=ur),be||(be=An);var Ye={subscribers:[],fire:be,subscribe:function(kt){-1===Ye.subscribers.indexOf(kt)&&(Ye.subscribers.push(kt),Ye.fire=oe(Ye.fire,kt))},unsubscribe:function(kt){Ye.subscribers=Ye.subscribers.filter(function(on){return on!==kt}),Ye.fire=Ye.subscribers.reduce(oe,be)}};return ye[W]=$e[W]=Ye,Ye}h(Ue=W).forEach(function(kt){var on=Ue[kt];if(u(on))A(kt,Ue[kt][0],Ue[kt][1]);else{if("asap"!==on)throw new Lt.InvalidArgument("Invalid event config");var xn=A(kt,jn,function(){for(var pr=arguments.length,Rr=new Array(pr);pr--;)Rr[pr]=arguments[pr];xn.subscribers.forEach(function(Kr){q(function(){Kr.apply(null,Rr)})})})}})}}function Ne(Ce,ye){return k(ye).from({prototype:Ce}),ye}function Ge(Ce,ye){return!(Ce.filter||Ce.algorithm||Ce.or)&&(ye?Ce.justLimit:!Ce.replayFilter)}function Un(Ce,ye){Ce.filter=So(Ce.filter,ye)}function xe(Ce,ye,$e){var tt=Ce.replayFilter;Ce.replayFilter=tt?()=>So(tt(),ye()):ye,Ce.justLimit=$e&&!tt}function ht(Ce,ye){if(Ce.isPrimKey)return ye.primaryKey;const $e=ye.getIndexByKeyPath(Ce.index);if(!$e)throw new Lt.Schema("KeyPath "+Ce.index+" on object store "+ye.name+" is not indexed");return $e}function Ut(Ce,ye,$e){const tt=ht(Ce,ye.schema);return ye.openCursor({trans:$e,values:!Ce.keysOnly,reverse:"prev"===Ce.dir,unique:!!Ce.unique,query:{index:tt,range:Ce.range}})}function qe(Ce,ye,$e,tt){const Et=Ce.replayFilter?So(Ce.filter,Ce.replayFilter()):Ce.filter;if(Ce.or){const A={},W=(oe,be,Ue)=>{if(!Et||Et(be,Ue,on=>be.stop(on),on=>be.fail(on))){var Ye=be.primaryKey,kt=""+Ye;"[object ArrayBuffer]"===kt&&(kt=""+new Uint8Array(Ye)),p(A,kt)||(A[kt]=!0,ye(oe,be,Ue))}};return Promise.all([Ce.or._iterate(W,$e),rn(Ut(Ce,tt,$e),Ce.algorithm,W,!Ce.keysOnly&&Ce.valueMapper)])}return rn(Ut(Ce,tt,$e),So(Ce.algorithm,Et),ye,!Ce.keysOnly&&Ce.valueMapper)}function rn(Ce,ye,$e,tt){var Et=Jt(tt?(A,W,oe)=>$e(tt(A),W,oe):$e);return Ce.then(A=>{if(A)return A.start(()=>{var W=()=>A.continue();ye&&!ye(A,oe=>W=oe,oe=>{A.stop(oe),W=An},oe=>{A.fail(oe),W=An})||Et(A.value,A,oe=>W=oe),W()})})}function Dn(Ce,ye){try{const $e=Bi(Ce),tt=Bi(ye);if($e!==tt)return"Array"===$e?1:"Array"===tt?-1:"binary"===$e?1:"binary"===tt?-1:"string"===$e?1:"string"===tt?-1:"Date"===$e?1:"Date"!==tt?NaN:-1;switch($e){case"number":case"Date":case"string":return Ce>ye?1:Ce<ye?-1:0;case"binary":return function(Et,A){const W=Et.length,oe=A.length,be=W<oe?W:oe;for(let Ue=0;Ue<be;++Ue)if(Et[Ue]!==A[Ue])return Et[Ue]<A[Ue]?-1:1;return W===oe?0:W<oe?-1:1}(vt(Ce),vt(ye));case"Array":return function(Et,A){const W=Et.length,oe=A.length,be=W<oe?W:oe;for(let Ue=0;Ue<be;++Ue){const Ye=Dn(Et[Ue],A[Ue]);if(0!==Ye)return Ye}return W===oe?0:W<oe?-1:1}(Ce,ye)}}catch{}return NaN}function Bi(Ce){const ye=typeof Ce;if("object"!==ye)return ye;if(ArrayBuffer.isView(Ce))return"binary";const $e=M(Ce);return"ArrayBuffer"===$e?"binary":$e}function vt(Ce){return Ce instanceof Uint8Array?Ce:ArrayBuffer.isView(Ce)?new Uint8Array(Ce.buffer,Ce.byteOffset,Ce.byteLength):new Uint8Array(Ce)}class Kt{_read(ye,$e){var tt=this._ctx;return tt.error?tt.table._trans(null,Zn.bind(null,tt.error)):tt.table._trans("readonly",ye).then($e)}_write(ye){var $e=this._ctx;return $e.error?$e.table._trans(null,Zn.bind(null,$e.error)):$e.table._trans("readwrite",ye,"locked")}_addAlgorithm(ye){var $e=this._ctx;$e.algorithm=So($e.algorithm,ye)}_iterate(ye,$e){return qe(this._ctx,ye,$e,this._ctx.table.core)}clone(ye){var $e=Object.create(this.constructor.prototype),tt=Object.create(this._ctx);return ye&&v(tt,ye),$e._ctx=tt,$e}raw(){return this._ctx.valueMapper=null,this}each(ye){var $e=this._ctx;return this._read(tt=>qe($e,ye,tt,$e.table.core))}count(ye){return this._read($e=>{const tt=this._ctx,Et=tt.table.core;if(Ge(tt,!0))return Et.count({trans:$e,query:{index:ht(tt,Et.schema),range:tt.range}}).then(W=>Math.min(W,tt.limit));var A=0;return qe(tt,()=>(++A,!1),$e,Et).then(()=>A)}).then(ye)}sortBy(ye,$e){const tt=ye.split(".").reverse(),Et=tt[0],A=tt.length-1;function W(Ue,Ye){return Ye?W(Ue[tt[Ye]],Ye-1):Ue[Et]}var oe="next"===this._ctx.dir?1:-1;function be(Ue,Ye){var kt=W(Ue,A),on=W(Ye,A);return kt<on?-oe:kt>on?oe:0}return this.toArray(function(Ue){return Ue.sort(be)}).then($e)}toArray(ye){return this._read($e=>{var tt=this._ctx;if("next"===tt.dir&&Ge(tt,!0)&&tt.limit>0){const{valueMapper:Et}=tt,A=ht(tt,tt.table.core.schema);return tt.table.core.query({trans:$e,limit:tt.limit,values:!0,query:{index:A,range:tt.range}}).then(({result:W})=>Et?W.map(Et):W)}{const Et=[];return qe(tt,A=>Et.push(A),$e,tt.table.core).then(()=>Et)}},ye)}offset(ye){var $e=this._ctx;return ye<=0||($e.offset+=ye,Ge($e)?xe($e,()=>{var tt=ye;return(Et,A)=>0===tt||(1===tt?(--tt,!1):(A(()=>{Et.advance(tt),tt=0}),!1))}):xe($e,()=>{var tt=ye;return()=>--tt<0})),this}limit(ye){return this._ctx.limit=Math.min(this._ctx.limit,ye),xe(this._ctx,()=>{var $e=ye;return function(tt,Et,A){return--$e<=0&&Et(A),$e>=0}},!0),this}until(ye,$e){return Un(this._ctx,function(tt,Et,A){return!ye(tt.value)||(Et(A),$e)}),this}first(ye){return this.limit(1).toArray(function($e){return $e[0]}).then(ye)}last(ye){return this.reverse().first(ye)}filter(ye){var $e;return Un(this._ctx,function(Et){return ye(Et.value)}),($e=this._ctx).isMatch=So($e.isMatch,ye),this}and(ye){return this.filter(ye)}or(ye){return new this.db.WhereClause(this._ctx.table,ye,this)}reverse(){return this._ctx.dir="prev"===this._ctx.dir?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this}desc(){return this.reverse()}eachKey(ye){var $e=this._ctx;return $e.keysOnly=!$e.isMatch,this.each(function(tt,Et){ye(Et.key,Et)})}eachUniqueKey(ye){return this._ctx.unique="unique",this.eachKey(ye)}eachPrimaryKey(ye){var $e=this._ctx;return $e.keysOnly=!$e.isMatch,this.each(function(tt,Et){ye(Et.primaryKey,Et)})}keys(ye){var $e=this._ctx;$e.keysOnly=!$e.isMatch;var tt=[];return this.each(function(Et,A){tt.push(A.key)}).then(function(){return tt}).then(ye)}primaryKeys(ye){var $e=this._ctx;if("next"===$e.dir&&Ge($e,!0)&&$e.limit>0)return this._read(Et=>
vendor: 38,686 bytes, line 1
1{var A=ht($e,$e.table.core.schema);return $e.table.core.query({trans:Et,values:!1,limit:$e.limit,query:{index:A,range:$e.range}})}).then(({result:Et})=>Et).then(ye);$e.keysOnly=!$e.isMatch;var tt=[];return this.each(function(Et,A){tt.push(A.primaryKey)}).then(function(){return tt}).then(ye)}uniqueKeys(ye){return this._ctx.unique="unique",this.keys(ye)}firstKey(ye){return this.limit(1).keys(function($e){return $e[0]}).then(ye)}lastKey(ye){return this.reverse().firstKey(ye)}distinct(){var ye=this._ctx,$e=ye.index&&ye.table.schema.idxByName[ye.index];if(!$e||!$e.multi)return this;var tt={};return Un(this._ctx,function(Et){var A=Et.primaryKey.toString(),W=p(tt,A);return tt[A]=!0,!W}),this}modify(ye){var $e=this._ctx;return this._write(tt=>{var Et;if("function"==typeof ye)Et=ye;else{var A=h(ye),W=A.length;Et=function(Rr){for(var Kr=!1,Pr=0;Pr<W;++Pr){var jr=A[Pr],qn=ye[jr];de(Rr,jr)!==qn&&(ee(Rr,jr,qn),Kr=!0)}return Kr}}const oe=$e.table.core,{outbound:be,extractKey:Ue}=oe.schema.primaryKey,Ye=this.db._options.modifyChunkSize||200,kt=[];let on=0;const xn=[],pr=(Rr,Kr)=>{const{failures:Pr,numFailures:jr}=Kr;on+=Rr-jr;for(let qn of h(Pr))kt.push(Pr[qn])};return this.clone().primaryKeys().then(Rr=>{const Kr=Pr=>{const jr=Math.min(Ye,Rr.length-Pr);return oe.getMany({trans:tt,keys:Rr.slice(Pr,Pr+jr),cache:"immutable"}).then(qn=>{const Mr=[],mi=[],Ti=be?[]:null,_i=[];for(let it=0;it<jr;++it){const an=qn[it],nt={value:re(an),primKey:Rr[Pr+it]};!1!==Et.call(nt,nt.value,nt)&&(null==nt.value?_i.push(Rr[Pr+it]):be||0===Dn(Ue(an),Ue(nt.value))?(mi.push(nt.value),be&&Ti.push(Rr[Pr+it])):(_i.push(Rr[Pr+it]),Mr.push(nt.value)))}const Le=Ge($e)&&$e.limit===1/0&&("function"!=typeof ye||ye===cn)&&{index:$e.index,range:$e.range};return Promise.resolve(Mr.length>0&&oe.mutate({trans:tt,type:"add",values:Mr}).then(it=>{for(let an in it.failures)_i.splice(parseInt(an),1);pr(Mr.length,it)})).then(()=>(mi.length>0||Le&&"object"==typeof ye)&&oe.mutate({trans:tt,type:"put",keys:Ti,values:mi,criteria:Le,changeSpec:"function"!=typeof ye&&ye}).then(it=>pr(mi.length,it))).then(()=>(_i.length>0||Le&&ye===cn)&&oe.mutate({trans:tt,type:"delete",keys:_i,criteria:Le}).then(it=>pr(_i.length,it))).then(()=>Rr.length>Pr+jr&&Kr(Pr+Ye))})};return Kr(0).then(()=>{if(kt.length>0)throw new rt("Error modifying one or more objects",kt,on,xn);return Rr.length})})})}delete(){var ye=this._ctx,$e=ye.range;return Ge(ye)&&(ye.isPrimKey&&!ko||3===$e.type)?this._write(tt=>{const{primaryKey:Et}=ye.table.core.schema,A=$e;return ye.table.core.count({trans:tt,query:{index:Et,range:A}}).then(W=>ye.table.core.mutate({trans:tt,type:"deleteRange",range:A}).then(({failures:oe,numFailures:Ye})=>{if(Ye)throw new rt("Could not delete some values",Object.keys(oe).map(kt=>oe[kt]),W-Ye);return W-Ye}))}):this.modify(cn)}}const cn=(Ce,ye)=>ye.value=null;function Pn(Ce,ye){return Ce<ye?-1:Ce===ye?0:1}function Yn(Ce,ye){return Ce>ye?-1:Ce===ye?0:1}function Wn(Ce,ye,$e){var tt=Ce instanceof Ci?new Ce.Collection(Ce):Ce;return tt._ctx.error=$e?new $e(ye):new TypeError(ye),tt}function Ir(Ce){return new Ce.Collection(Ce,()=>ui("")).limit(0)}function Wr(Ce,ye,$e,tt,Et,A){for(var W=Math.min(Ce.length,tt.length),oe=-1,be=0;be<W;++be){var Ue=ye[be];if(Ue!==tt[be])return Et(Ce[be],$e[be])<0?Ce.substr(0,be)+$e[be]+$e.substr(be+1):Et(Ce[be],tt[be])<0?Ce.substr(0,be)+tt[be]+$e.substr(be+1):oe>=0?Ce.substr(0,oe)+ye[oe]+$e.substr(oe+1):null;Et(Ce[be],Ue)<0&&(oe=be)}return W<tt.length&&"next"===A?Ce+$e.substr(Ce.length):W<Ce.length&&"prev"===A?Ce.substr(0,$e.length):oe<0?null:Ce.substr(0,oe)+tt[oe]+$e.substr(oe+1)}function Or(Ce,ye,$e,tt){var Et,A,W,oe,be,Ue,Ye,kt=$e.length;if(!$e.every(Rr=>"string"==typeof Rr))return Wn(Ce,Ki);function on(Rr){Et=function(Pr){return"next"===Pr?jr=>jr.toUpperCase():jr=>jr.toLowerCase()}(Rr),A=function(Pr){return"next"===Pr?jr=>jr.toLowerCase():jr=>jr.toUpperCase()}(Rr),W="next"===Rr?Pn:Yn;var Kr=$e.map(function(Pr){return{lower:A(Pr),upper:Et(Pr)}}).sort(function(Pr,jr){return W(Pr.lower,jr.lower)});oe=Kr.map(function(Pr){return Pr.upper}),be=Kr.map(function(Pr){return Pr.lower}),Ue=Rr,Ye="next"===Rr?"":tt}on("next");var xn=new Ce.Collection(Ce,()=>Hr(oe[0],be[kt-1]+tt));xn._ondirectionchange=function(Rr){on(Rr)};var pr=0;return xn._addAlgorithm(function(Rr,Kr,Pr){var jr=Rr.key;if("string"!=typeof jr)return!1;var qn=A(jr);if(ye(qn,be,pr))return!0;for(var Mr=null,mi=pr;mi<kt;++mi){var Ti=Wr(jr,qn,oe[mi],be[mi],W,Ue);null===Ti&&null===Mr?pr=mi+1:(null===Mr||W(Mr,Ti)>0)&&(Mr=Ti)}return Kr(null!==Mr?function(){Rr.continue(Mr+Ye)}:Pr),!1}),xn}function Hr(Ce,ye,$e,tt){return{type:2,lower:Ce,upper:ye,lowerOpen:$e,upperOpen:tt}}function ui(Ce){return{type:1,lower:Ce,upper:Ce}}class Ci{get Collection(){return this._ctx.table.db.Collection}between(ye,$e,tt,Et){tt=!1!==tt,Et=!0===Et;try{return this._cmp(ye,$e)>0||0===this._cmp(ye,$e)&&(tt||Et)&&(!tt||!Et)?Ir(this):new this.Collection(this,()=>Hr(ye,$e,!tt,!Et))}catch{return Wn(this,li)}}equals(ye){return null==ye?Wn(this,li):new this.Collection(this,()=>ui(ye))}above(ye){return null==ye?Wn(this,li):new this.Collection(this,()=>Hr(ye,void 0,!0))}aboveOrEqual(ye){return null==ye?Wn(this,li):new this.Collection(this,()=>Hr(ye,void 0,!1))}below(ye){return null==ye?Wn(this,li):new this.Collection(this,()=>Hr(void 0,ye,!1,!0))}belowOrEqual(ye){return null==ye?Wn(this,li):new this.Collection(this,()=>Hr(void 0,ye))}startsWith(ye){return"string"!=typeof ye?Wn(this,Ki):this.between(ye,ye+"\uffff",!0,!0)}startsWithIgnoreCase(ye){return""===ye?this.startsWith(ye):Or(this,($e,tt)=>0===$e.indexOf(tt[0]),[ye],"\uffff")}equalsIgnoreCase(ye){return Or(this,($e,tt)=>$e===tt[0],[ye],"")}anyOfIgnoreCase(){var ye=ve.apply(ue,arguments);return 0===ye.length?Ir(this):Or(this,($e,tt)=>-1!==tt.indexOf($e),ye,"")}startsWithAnyOfIgnoreCase(){var ye=ve.apply(ue,arguments);return 0===ye.length?Ir(this):Or(this,($e,tt)=>tt.some(Et=>0===$e.indexOf(Et)),ye,"\uffff")}anyOf(){const ye=ve.apply(ue,arguments);let $e=this._cmp;try{ye.sort($e)}catch{return Wn(this,li)}if(0===ye.length)return Ir(this);const tt=new this.Collection(this,()=>Hr(ye[0],ye[ye.length-1]));tt._ondirectionchange=A=>{$e="next"===A?this._ascending:this._descending,ye.sort($e)};let Et=0;return tt._addAlgorithm((A,W,oe)=>{const be=A.key;for(;$e(be,ye[Et])>0;)if(++Et,Et===ye.length)return W(oe),!1;return 0===$e(be,ye[Et])||(W(()=>{A.continue(ye[Et])}),!1)}),tt}notEqual(ye){return this.inAnyRange([[Ar,ye],[ye,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})}noneOf(){const ye=ve.apply(ue,arguments);if(0===ye.length)return new this.Collection(this);try{ye.sort(this._ascending)}catch{return Wn(this,li)}const $e=ye.reduce((tt,Et)=>tt?tt.concat([[tt[tt.length-1][1],Et]]):[[Ar,Et]],null);return $e.push([ye[ye.length-1],this.db._maxKey]),this.inAnyRange($e,{includeLowers:!1,includeUppers:!1})}inAnyRange(ye,$e){const tt=this._cmp,Et=this._ascending,A=this._descending,W=this._min,oe=this._max;if(0===ye.length)return Ir(this);if(!ye.every(jr=>void 0!==jr[0]&&void 0!==jr[1]&&Et(jr[0],jr[1])<=0))return Wn(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",Lt.InvalidArgument);const be=!$e||!1!==$e.includeLowers,Ue=$e&&!0===$e.includeUppers;let Ye,kt=Et;function on(jr,qn){return kt(jr[0],qn[0])}try{Ye=ye.reduce(function(jr,qn){let Mr=0,mi=jr.length;for(;Mr<mi;++Mr){const Ti=jr[Mr];if(tt(qn[0],Ti[1])<0&&tt(qn[1],Ti[0])>0){Ti[0]=W(Ti[0],qn[0]),Ti[1]=oe(Ti[1],qn[1]);break}}return Mr===mi&&jr.push(qn),jr},[]),Ye.sort(on)}catch{return Wn(this,li)}let xn=0;const pr=Ue?jr=>Et(jr,Ye[xn][1])>0:jr=>Et(jr,Ye[xn][1])>=0,Rr=be?jr=>A(jr,Ye[xn][0])>0:jr=>A(jr,Ye[xn][0])>=0;let Kr=pr;const Pr=new this.Collection(this,()=>Hr(Ye[0][0],Ye[Ye.length-1][1],!be,!Ue));return Pr._ondirectionchange=jr=>{"next"===jr?(Kr=pr,kt=Et):(Kr=Rr,kt=A),Ye.sort(on)},Pr._addAlgorithm((jr,qn,Mr)=>{for(var mi=jr.key;Kr(mi);)if(++xn,xn===Ye.length)return qn(Mr),!1;return!((pr(Ti=mi)||Rr(Ti))&&(0===this._cmp(mi,Ye[xn][1])||0===this._cmp(mi,Ye[xn][0])||qn(()=>{jr.continue(kt===Et?Ye[xn][0]:Ye[xn][1])}),1));var Ti}),Pr}startsWithAnyOf(){const ye=ve.apply(ue,arguments);return ye.every($e=>"string"==typeof $e)?0===ye.length?Ir(this):this.inAnyRange(ye.map($e=>[$e,$e+"\uffff"])):Wn(this,"startsWithAnyOf() only works with strings")}}function pi(Ce){return Jt(function(ye){return Fi(ye),Ce(ye.target.error),!1})}function Fi(Ce){Ce.stopPropagation&&Ce.stopPropagation(),Ce.preventDefault&&Ce.preventDefault()}const yo="storagemutated",Jo="x-storagemutated-1",xi=ds(null,yo);class as{_lock(){return x(!Cn.global),++this._reculock,1!==this._reculock||Cn.global||(Cn.lockOwnerFor=this),this}_unlock(){if(x(!Cn.global),0==--this._reculock)for(Cn.global||(Cn.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var ye=this._blockedFuncs.shift();try{Oe(ye[1],ye[0])}catch{}}return this}_locked(){return this._reculock&&Cn.lockOwnerFor!==this}create(ye){if(!this.mode)return this;const $e=this.db.idbdb,tt=this.db._state.dbOpenError;if(x(!this.idbtrans),!ye&&!$e)switch(tt&&tt.name){case"DatabaseClosedError":throw new Lt.DatabaseClosed(tt);case"MissingAPIError":throw new Lt.MissingAPI(tt.message,tt);default:throw new Lt.OpenFailed(tt)}if(!this.active)throw new Lt.TransactionInactive;return x(null===this._completion._state),(ye=this.idbtrans=ye||(this.db.core?this.db.core.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}):$e.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}))).onerror=Jt(Et=>{Fi(Et),this._reject(ye.error)}),ye.onabort=Jt(Et=>{Fi(Et),this.active&&this._reject(new Lt.Abort(ye.error)),this.active=!1,this.on("abort").fire(Et)}),ye.oncomplete=Jt(()=>{this.active=!1,this._resolve(),"mutatedParts"in ye&&xi.storagemutated.fire(ye.mutatedParts)}),this}_promise(ye,$e,tt){if("readwrite"===ye&&"readwrite"!==this.mode)return Zn(new Lt.ReadOnly("Transaction is readonly"));if(!this.active)return Zn(new Lt.TransactionInactive);if(this._locked())return new fn((A,W)=>{this._blockedFuncs.push([()=>{this._promise(ye,$e,tt).then(A,W)},Cn])});if(tt)return st(()=>{var A=new fn((W,oe)=>{this._lock();const be=$e(W,oe,this);be&&be.then&&be.then(W,oe)});return A.finally(()=>this._unlock()),A._lib=!0,A});var Et=new fn((A,W)=>{var oe=$e(A,W,this);oe&&oe.then&&oe.then(A,W)});return Et._lib=!0,Et}_root(){return this.parent?this.parent._root():this}waitFor(ye){var $e=this._root();const tt=fn.resolve(ye);if($e._waitingFor)$e._waitingFor=$e._waitingFor.then(()=>tt);else{$e._waitingFor=tt,$e._waitingQueue=[];var Et=$e.idbtrans.objectStore($e.storeNames[0]);!function W(){for(++$e._spinCount;$e._waitingQueue.length;)$e._waitingQueue.shift()();$e._waitingFor&&(Et.get(-1/0).onsuccess=W)}()}var A=$e._waitingFor;return new fn((W,oe)=>{tt.then(be=>$e._waitingQueue.push(Jt(W.bind(null,be))),be=>$e._waitingQueue.push(Jt(oe.bind(null,be)))).finally(()=>{$e._waitingFor===A&&($e._waitingFor=null)})})}abort(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new Lt.Abort))}table(ye){const $e=this._memoizedTables||(this._memoizedTables={});if(p($e,ye))return $e[ye];const tt=this.schema[ye];if(!tt)throw new Lt.NotFound("Table "+ye+" not part of transaction");const Et=new this.db.Table(ye,tt,this);return Et.core=this.db.core.table(ye),$e[ye]=Et,Et}}function Ts(Ce,ye,$e,tt,Et,A,W){return{name:Ce,keyPath:ye,unique:$e,multi:tt,auto:Et,compound:A,src:($e&&!W?"&":"")+(tt?"*":"")+(Et?"++":"")+As(ye)}}function As(Ce){return"string"==typeof Ce?Ce:Ce?"["+[].join.call(Ce,"+")+"]":""}function No(Ce,ye,$e){return{name:Ce,primKey:ye,indexes:$e,mappedClass:null,idxByName:Z($e,tt=>[tt.name,tt])}}let ma=Ce=>{try{return Ce.only([[]]),ma=()=>[[]],[[]]}catch{return ma=()=>"\uffff","\uffff"}};function us(Ce){return null==Ce?()=>{}:"string"==typeof Ce?1===(ye=Ce).split(".").length?tt=>tt[ye]:tt=>de(tt,ye):ye=>de(ye,Ce);var ye}function ia(Ce){return[].slice.call(Ce)}let oa=0;function Uo(Ce){return null==Ce?":id":"string"==typeof Ce?Ce:`[${Ce.join("+")}]`}function ua(Ce,ye,$e){function tt(be){if(3===be.type)return null;if(4===be.type)throw new Error("Cannot convert never type to IDBKeyRange");const{lower:Ue,upper:Ye,lowerOpen:kt,upperOpen:on}=be;return void 0===Ue?void 0===Ye?null:ye.upperBound(Ye,!!on):void 0===Ye?ye.lowerBound(Ue,!!kt):ye.bound(Ue,Ye,!!kt,!!on)}const{schema:Et,hasGetAll:A}=function(be,Ue){const Ye=ia(be.objectStoreNames);return{schema:{name:be.name,tables:Ye.map(kt=>Ue.objectStore(kt)).map(kt=>{const{keyPath:on,autoIncrement:xn}=kt,pr=u(on),Kr={},Pr={name:kt.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:null==on,compound:pr,keyPath:on,autoIncrement:xn,unique:!0,extractKey:us(on)},indexes:ia(kt.indexNames).map(jr=>kt.index(jr)).map(jr=>{const{name:qn,unique:Mr,multiEntry:mi,keyPath:Ti}=jr,_i={name:qn,compound:u(Ti),keyPath:Ti,unique:Mr,multiEntry:mi,extractKey:us(Ti)};return Kr[Uo(Ti)]=_i,_i}),getIndexByKeyPath:jr=>Kr[Uo(jr)]};return Kr[":id"]=Pr.primaryKey,null!=on&&(Kr[Uo(on)]=Pr.primaryKey),Pr})},hasGetAll:Ye.length>0&&"getAll"in Ue.objectStore(Ye[0])&&!(typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}(Ce,$e),W=Et.tables.map(be=>function(Ue){const Ye=Ue.name;return{name:Ye,schema:Ue,mutate:function({trans:kt,type:on,keys:xn,values:pr,range:Rr}){return new Promise((Kr,Pr)=>{Kr=Jt(Kr);const jr=kt.objectStore(Ye),qn=null==jr.keyPath,Mr="put"===on||"add"===on;if(!Mr&&"delete"!==on&&"deleteRange"!==on)throw new Error("Invalid operation type: "+on);const{length:mi}=xn||pr||{length:1};if(xn&&pr&&xn.length!==pr.length)throw new Error("Given keys array must have same length as given values array.");if(0===mi)return Kr({numFailures:0,failures:{},results:[],lastResult:void 0});let Ti;const _i=[],Le=[];let it=0;const an=Qt=>{++it,Fi(Qt)};if("deleteRange"===on){if(4===Rr.type)return Kr({numFailures:it,failures:Le,results:[],lastResult:void 0});_i.push(Ti=3===Rr.type?jr.clear():jr.delete(tt(Rr)))}else{const[Qt,Fn]=Mr?qn?[pr,xn]:[pr,null]:[xn,null];if(Mr)for(let vr=0;vr<mi;++vr)_i.push(Ti=Fn&&void 0!==Fn[vr]?jr[on](Qt[vr],Fn[vr]):jr[on](Qt[vr])),Ti.onerror=an;else for(let vr=0;vr<mi;++vr)_i.push(Ti=jr[on](Qt[vr])),Ti.onerror=an}const nt=Qt=>{const Fn=Qt.target.result;_i.forEach((vr,ei)=>null!=vr.error&&(Le[ei]=vr.error)),Kr({numFailures:it,failures:Le,results:"delete"===on?xn:_i.map(vr=>vr.result),lastResult:Fn})};Ti.onerror=Qt=>{an(Qt),nt(Qt)},Ti.onsuccess=nt})},getMany:({trans:kt,keys:on})=>new Promise((xn,pr)=>{xn=Jt(xn);const Rr=kt.objectStore(Ye),Kr=on.length,Pr=new Array(Kr);let jr,qn=0,Mr=0;const mi=_i=>{const Le=_i.target;Pr[Le._pos]=Le.result,++Mr===qn&&xn(Pr)},Ti=pi(pr);for(let _i=0;_i<Kr;++_i)null!=on[_i]&&(jr=Rr.get(on[_i]),jr._pos=_i,jr.onsuccess=mi,jr.onerror=Ti,++qn);0===qn&&xn(Pr)}),get:({trans:kt,key:on})=>new Promise((xn,pr)=>{xn=Jt(xn);const Rr=kt.objectStore(Ye).get(on);Rr.onsuccess=Kr=>xn(Kr.target.result),Rr.onerror=pi(pr)}),query:function(kt){return on=>new Promise((xn,pr)=>{xn=Jt(xn);const{trans:Rr,values:Kr,limit:Pr,query:jr}=on,qn=Pr===1/0?void 0:Pr,{index:Mr,range:mi}=jr,Ti=Rr.objectStore(Ye),_i=Mr.isPrimaryKey?Ti:Ti.index(Mr.name),Le=tt(mi);if(0===Pr)return xn({result:[]});if(kt){const it=Kr?_i.getAll(Le,qn):_i.getAllKeys(Le,qn);it.onsuccess=an=>xn({result:an.target.result}),it.onerror=pi(pr)}else{let it=0;const an=Kr||!("openKeyCursor"in _i)?_i.openCursor(Le):_i.openKeyCursor(Le),nt=[];an.onsuccess=Qt=>{const Fn=an.result;return Fn?(nt.push(Kr?Fn.value:Fn.primaryKey),++it===Pr?xn({result:nt}):void Fn.continue()):xn({result:nt})},an.onerror=pi(pr)}})}(A),openCursor:function({trans:kt,values:on,query:xn,reverse:pr,unique:Rr}){return new Promise((Kr,Pr)=>{Kr=Jt(Kr);const{index:jr,range:qn}=xn,Mr=kt.objectStore(Ye),mi=jr.isPrimaryKey?Mr:Mr.index(jr.name),Ti=pr?Rr?"prevunique":"prev":Rr?"nextunique":"next",_i=on||!("openKeyCursor"in mi)?mi.openCursor(tt(qn),Ti):mi.openKeyCursor(tt(qn),Ti);_i.onerror=pi(Pr),_i.onsuccess=Jt(Le=>{const it=_i.result;if(!it)return void Kr(null);it.___id=++oa,it.done=!1;const an=it.continue.bind(it);let nt=it.continuePrimaryKey;nt&&(nt=nt.bind(it));const Qt=it.advance.bind(it),Fn=()=>{throw new Error("Cursor not stopped")};it.trans=kt,it.stop=it.continue=it.continuePrimaryKey=it.advance=()=>{throw new Error("Cursor not started")},it.fail=Jt(Pr),it.next=function(){let vr=1;return this.start(()=>vr--?this.continue():this.stop()).then(()=>this)},it.start=vr=>{const ei=new Promise((so,ro)=>{so=Jt(so),_i.onerror=pi(ro),it.fail=ro,it.stop=ao=>{it.stop=it.continue=it.continuePrimaryKey=it.advance=Fn,so(ao)}}),co=()=>{if(_i.result)try{vr()}catch(so){it.fail(so)}else it.done=!0,it.start=()=>{throw new Error("Cursor behind last entry")},it.stop()};return _i.onsuccess=Jt(so=>{_i.onsuccess=co,co()}),it.continue=an,it.continuePrimaryKey=nt,it.advance=Qt,co(),ei},Kr(it)},Pr)})},count({query:kt,trans:on}){const{index:xn,range:pr}=kt;return new Promise((Rr,Kr)=>{const Pr=on.objectStore(Ye),jr=xn.isPrimaryKey?Pr:Pr.index(xn.name),qn=tt(pr),Mr=qn?jr.count(qn):jr.count();Mr.onsuccess=Jt(mi=>Rr(mi.target.result)),Mr.onerror=pi(Kr)})}}}(be)),oe={};return W.forEach(be=>oe[be.name]=be),{stack:"dbcore",transaction:Ce.transaction.bind(Ce),table(be){if(!oe[be])throw new Error(`Table '${be}' not found`);return oe[be]},MIN_KEY:-1/0,MAX_KEY:ma(ye),schema:Et}}function ta({_novip:Ce},ye){const tt=function(Et,A,{IDBKeyRange:W},be){return{dbcore:(Ye=ua(A,W,be),kt=Et.dbcore,kt.reduce((on,{create:xn})=>({...on,...xn(on)}),Ye))};var Ye,kt}(Ce._middlewares,ye.db,Ce._deps,ye);Ce.core=tt.dbcore,Ce.tables.forEach(Et=>{const A=Et.name;Ce.core.schema.tables.some(W=>W.name===A)&&(Et.core=Ce.core.table(A),Ce[A]instanceof Ce.Table&&(Ce[A].core=Et.core))})}function wo({_novip:Ce},ye,$e,tt){$e.forEach(Et=>{const A=tt[Et];ye.forEach(W=>{const oe=V(W,Et);(!oe||"value"in oe&&void 0===oe.value)&&(W===Ce.Transaction.prototype||W instanceof Ce.Transaction?P(W,Et,{get(){return this.table(Et)},set(be){R(this,Et,{value:be,writable:!0,configurable:!0,enumerable:!0})}}):W[Et]=new Ce.Table(Et,A))})})}function Ia({_novip:Ce},ye){ye.forEach($e=>{for(let tt in $e)$e[tt]instanceof Ce.Table&&delete $e[tt]})}function Us(Ce,ye){return Ce._cfg.version-ye._cfg.version}function Pa(Ce,ye){const $e={del:[],add:[],change:[]};let tt;for(tt in Ce)ye[tt]||$e.del.push(tt);for(tt in ye){const Et=Ce[tt],A=ye[tt];if(Et){const W={name:tt,def:A,recreate:!1,del:[],add:[],change:[]};if(""+(Et.primKey.keyPath||"")!=""+(A.primKey.keyPath||"")||Et.primKey.auto!==A.primKey.auto&&!io)W.recreate=!0,$e.change.push(W);else{const oe=Et.idxByName,be=A.idxByName;let Ue;for(Ue in oe)be[Ue]||W.del.push(Ue);for(Ue in be){const Ye=oe[Ue],kt=be[Ue];Ye?Ye.src!==kt.src&&W.change.push(kt):W.add.push(kt)}(W.del.length>0||W.add.length>0||W.change.length>0)&&$e.change.push(W)}}else $e.add.push([tt,A])}return $e}function el(Ce,ye,$e,tt){const Et=Ce.db.createObjectStore(ye,$e.keyPath?{keyPath:$e.keyPath,autoIncrement:$e.auto}:{autoIncrement:$e.auto});return tt.forEach(A=>Ha(Et,A)),Et}function Ha(Ce,ye){Ce.createIndex(ye.name,ye.keyPath,{unique:ye.unique,multiEntry:ye.multi})}function xa(Ce,ye,$e){const tt={};return z(ye.objectStoreNames,0).forEach(Et=>{const A=$e.objectStore(Et);let W=A.keyPath;const oe=Ts(As(W),W||"",!1,!1,!!A.autoIncrement,W&&"string"!=typeof W,!0),be=[];for(let Ye=0;Ye<A.indexNames.length;++Ye){const kt=A.index(A.indexNames[Ye]);W=kt.keyPath;var Ue=Ts(kt.name,W,!!kt.unique,!!kt.multiEntry,!1,W&&"string"!=typeof W,!1);be.push(Ue)}tt[Et]=No(Et,oe,be)}),tt}function ya({_novip:Ce},ye,$e){const tt=$e.db.objectStoreNames;for(let Et=0;Et<tt.length;++Et){const A=tt[Et],W=$e.objectStore(A);Ce._hasGetAll="getAll"in W;for(let oe=0;oe<W.indexNames.length;++oe){const be=W.indexNames[oe],Ue=W.index(be).keyPath,Ye="string"==typeof Ue?Ue:"["+z(Ue).join("+")+"]";if(ye[A]){const kt=ye[A].idxByName[Ye];kt&&(kt.name=be,delete ye[A].idxByName[Ye],ye[A].idxByName[be]=kt)}}}typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&s.WorkerGlobalScope&&s instanceof s.WorkerGlobalScope&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604&&(Ce._hasGetAll=!1)}class sa{_parseStoresSpec(ye,$e){h(ye).forEach(tt=>{if(null!==ye[tt]){var Et=ye[tt].split(",").map((W,oe)=>{const be=(W=W.trim()).replace(/([&*]|\+\+)/g,""),Ue=/^\[/.test(be)?be.match(/^\[(.*)\]$/)[1].split("+"):be;return Ts(be,Ue||null,/\&/.test(W),/\*/.test(W),/\+\+/.test(W),u(Ue),0===oe)}),A=Et.shift();if(A.multi)throw new Lt.Schema("Primary key cannot be multi-valued");Et.forEach(W=>{if(W.auto)throw new Lt.Schema("Only primary key can be marked as autoIncrement (++)");if(!W.keyPath)throw new Lt.Schema("Index must have a name and cannot be an empty string")}),$e[tt]=No(tt,A,Et)}})}stores(ye){const $e=this.db;this._cfg.storesSource=this._cfg.storesSource?v(this._cfg.storesSource,ye):ye;const Et={};let A={};return $e._versions.forEach(W=>{v(Et,W._cfg.storesSource),A=W._cfg.dbschema={},W._parseStoresSpec(Et,A)}),$e._dbSchema=A,Ia($e,[$e._allTables,$e,$e.Transaction.prototype]),wo($e,[$e._allTables,$e,$e.Transaction.prototype,this._cfg.tables],h(A),A),$e._storeNames=h(A),this}upgrade(ye){return this._cfg.contentUpgrade=tr(this._cfg.contentUpgrade||An,ye),this}}function Ls(Ce,ye){let $e=Ce._dbNamesDB;return $e||($e=Ce._dbNamesDB=new Va(ji,{addons:[],indexedDB:Ce,IDBKeyRange:ye}),$e.version(1).stores({dbnames:"name"})),$e.table("dbnames")}function aa(Ce){return Ce&&"function"==typeof Ce.databases}function qa(Ce){return st(function(){return Cn.letThrough=!0,Ce()})}function Ct(){var Ce;return!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent)&&indexedDB.databases?new Promise(function(ye){var $e=function(){return indexedDB.databases().finally(ye)};Ce=setInterval($e,100),$e()}).finally(function(){return clearInterval(Ce)}):Promise.resolve()}function Zt(Ce){var ye=A=>Ce.next(A),$e=Et(ye),tt=Et(A=>Ce.throw(A));function Et(A){return W=>{var oe=A(W),be=oe.value;return oe.done?be:be&&"function"==typeof be.then?be.then($e,tt):u(be)?Promise.all(be).then($e,tt):$e(be)}}return Et(ye)()}function bt(Ce,ye,$e){var tt=arguments.length;if(tt<2)throw new Lt.InvalidArgument("Too few arguments");for(var Et=new Array(tt-1);--tt;)Et[tt-1]=arguments[tt];return $e=Et.pop(),[Ce,fe(Et),$e]}function sn(Ce,ye,$e,tt,Et){return fn.resolve().then(()=>{const A=Cn.transless||Cn,W=Ce._createTransaction(ye,$e,Ce._dbSchema,tt),oe={trans:W,transless:A};if(tt)W.idbtrans=tt.idbtrans;else try{W.create(),Ce._state.PR1398_maxLoop=3}catch(kt){return kt.name===Mt.InvalidState&&Ce.isOpen()&&--Ce._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),Ce._close(),Ce.open().then(()=>sn(Ce,ye,$e,null,Et))):Zn(kt)}const be=we(Et);let Ue;be&&jt();const Ye=fn.follow(()=>{if(Ue=Et.call(W,W),Ue)if(be){var kt=xt.bind(null,null);Ue.then(kt,kt)}else"function"==typeof Ue.next&&"function"==typeof Ue.throw&&(Ue=Zt(Ue))},oe);return(Ue&&"function"==typeof Ue.then?fn.resolve(Ue).then(kt=>W.active?kt:Zn(new Lt.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))):Ye.then(()=>Ue)).then(kt=>(tt&&W._resolve(),W._completion.then(()=>kt))).catch(kt=>(W._reject(kt),Zn(kt)))})}function ai(Ce,ye,$e){const tt=u(Ce)?Ce.slice():[Ce];for(let Et=0;Et<$e;++Et)tt.push(ye);return tt}const wi={stack:"dbcore",name:"VirtualIndexMiddleware",level:1,create:function(Ce){return{...Ce,table(ye){const $e=Ce.table(ye),{schema:tt}=$e,Et={},A=[];function W(Ye,kt,on){const xn=Uo(Ye),pr=Et[xn]=Et[xn]||[],Rr=null==Ye?0:"string"==typeof Ye?1:Ye.length,Kr=kt>0,Pr={...on,isVirtual:Kr,keyTail:kt,keyLength:Rr,extractKey:us(Ye),unique:!Kr&&on.unique};return pr.push(Pr),Pr.isPrimaryKey||A.push(Pr),Rr>1&&W(2===Rr?Ye[0]:Ye.slice(0,Rr-1),kt+1,on),pr.sort((jr,qn)=>jr.keyTail-qn.keyTail),Pr}const oe=W(tt.primaryKey.keyPath,0,tt.primaryKey);Et[":id"]=[oe];for(const Ye of tt.indexes)W(Ye.keyPath,0,Ye);function be(Ye){const kt=Ye.query.index;return kt.isVirtual?{...Ye,query:{index:kt,range:(on=Ye.query.range,xn=kt.keyTail,{type:1===on.type?2:on.type,lower:ai(on.lower,on.lowerOpen?Ce.MAX_KEY:Ce.MIN_KEY,xn),lowerOpen:!0,upper:ai(on.upper,on.upperOpen?Ce.MIN_KEY:Ce.MAX_KEY,xn),upperOpen:!0})}}:Ye;var on,xn}return{...$e,schema:{...tt,primaryKey:oe,indexes:A,getIndexByKeyPath:function(Ye){const kt=Et[Uo(Ye)];return kt&&kt[0]}},count:Ye=>$e.count(be(Ye)),query:Ye=>$e.query(be(Ye)),openCursor(Ye){const{keyTail:kt,isVirtual:on,keyLength:xn}=Ye.query.index;return on?$e.openCursor(be(Ye)).then(pr=>{return pr&&(Rr=pr,Object.create(Rr,{continue:{value:function(Pr){null!=Pr?Rr.continue(ai(Pr,Ye.reverse?Ce.MAX_KEY:Ce.MIN_KEY,kt)):Ye.unique?Rr.continue(Rr.key.slice(0,xn).concat(Ye.reverse?Ce.MIN_KEY:Ce.MAX_KEY,kt)):Rr.continue()}},continuePrimaryKey:{value(Pr,jr){Rr.continuePrimaryKey(ai(Pr,Ce.MAX_KEY,kt),jr)}},primaryKey:{get:()=>Rr.primaryKey},key:{get(){const Pr=Rr.key;return 1===xn?Pr[0]:Pr.slice(0,xn)}},value:{get:()=>Rr.value}}));var Rr}):$e.openCursor(Ye)}}}}}};function Ns(Ce,ye,$e,tt){return $e=$e||{},tt=tt||"",h(Ce).forEach(Et=>{if(p(ye,Et)){var A=Ce[Et],W=ye[Et];if("object"==typeof A&&"object"==typeof W&&A&&W){const oe=M(A);oe!==M(W)?$e[tt+Et]=ye[Et]:"Object"===oe?Ns(A,W,$e,tt+Et+"."):A!==W&&($e[tt+Et]=ye[Et])}else A!==W&&($e[tt+Et]=ye[Et])}else $e[tt+Et]=void 0}),h(ye).forEach(Et=>{p(Ce,Et)||($e[tt+Et]=ye[Et])}),$e}const ca={stack:"dbcore",name:"HooksMiddleware",level:2,create:Ce=>({...Ce,table(ye){const $e=Ce.table(ye),{primaryKey:tt}=$e.schema;return{...$e,mutate(A){const W=Cn.trans,{deleting:oe,creating:be,updating:Ue}=W.table(ye).hook;switch(A.type){case"add":if(be.fire===An)break;return W._promise("readwrite",()=>Ye(A),!0);case"put":if(be.fire===An&&Ue.fire===An)break;return W._promise("readwrite",()=>Ye(A),!0);case"delete":if(oe.fire===An)break;return W._promise("readwrite",()=>Ye(A),!0);case"deleteRange":if(oe.fire===An)break;return W._promise("readwrite",()=>{return kt((on=A).trans,on.range,1e4);var on},!0)}return $e.mutate(A);function Ye(on){const xn=Cn.trans,pr=on.keys||("delete"===(Kr=on).type?Kr.keys:Kr.keys||Kr.values.map(tt.extractKey));var Kr;if(!pr)throw new Error("Keys missing");return"delete"!==(on="add"===on.type||"put"===on.type?{...on,keys:pr}:{...on}).type&&(on.values=[...on.values]),on.keys&&(on.keys=[...on.keys]),function(Rr,Kr,Pr){return"add"===Kr.type?Promise.resolve([]):Rr.getMany({trans:Kr.trans,keys:Pr,cache:"immutable"})}($e,on,pr).then(Rr=>{const Kr=pr.map((Pr,jr)=>{const qn=Rr[jr],Mr={onerror:null,onsuccess:null};if("delete"===on.type)oe.fire.call(Mr,Pr,qn,xn);else if("add"===on.type||void 0===qn){const mi=be.fire.call(Mr,Pr,on.values[jr],xn);null==Pr&&null!=mi&&(on.keys[jr]=Pr=mi,tt.outbound||ee(on.values[jr],tt.keyPath,Pr))}else{const mi=Ns(qn,on.values[jr]),Ti=Ue.fire.call(Mr,mi,Pr,qn,xn);if(Ti){const _i=on.values[jr];Object.keys(Ti).forEach(Le=>{p(_i,Le)?_i[Le]=Ti[Le]:ee(_i,Le,Ti[Le])})}}return Mr});return $e.mutate(on).then(({failures:Pr,results:jr,numFailures:qn,lastResult:Mr})=>{for(let mi=0;mi<pr.length;++mi){const Ti=jr?jr[mi]:pr[mi],_i=Kr[mi];null==Ti?_i.onerror&&_i.onerror(Pr[mi]):_i.onsuccess&&_i.onsuccess("put"===on.type&&Rr[mi]?on.values[mi]:Ti)}return{failures:Pr,results:jr,numFailures:qn,lastResult:Mr}}).catch(Pr=>(Kr.forEach(jr=>jr.onerror&&jr.onerror(Pr)),Promise.reject(Pr)))})}function kt(on,xn,pr){return $e.query({trans:on,values:!1,query:{index:tt,range:xn},limit:pr}).then(({result:Rr})=>Ye({type:"delete",keys:Rr,trans:on}).then(Kr=>Kr.numFailures>0?Promise.reject(Kr.failures[0]):Rr.length<pr?{failures:[],numFailures:0,lastResult:void 0}:kt(on,{...xn,lower:Rr[Rr.length-1],lowerOpen:!0},pr)))}}}}})};function Xo(Ce,ye,$e){try{if(!ye||ye.keys.length<Ce.length)return null;const tt=[];for(let Et=0,A=0;Et<ye.keys.length&&A<Ce.length;++Et)0===Dn(ye.keys[Et],Ce[A])&&(tt.push($e?re(ye.values[Et]):ye.values[Et]),++A);return tt.length===Ce.length?tt:null}catch{return null}}const ga={stack:"dbcore",level:-1,create:Ce=>({table:ye=>{const $e=Ce.table(ye);return{...$e,getMany:tt=>{if(!tt.cache)return $e.getMany(tt);const Et=Xo(tt.keys,tt.trans._cache,"clone"===tt.cache);return Et?fn.resolve(Et):$e.getMany(tt).then(A=>(tt.trans._cache={keys:tt.keys,values:"clone"===tt.cache?re(A):A},A))},mutate:tt=>("add"!==tt.type&&(tt.trans._cache=null),$e.mutate(tt))}}})};function Js(Ce){return!("from"in Ce)}const Ps=function(Ce,ye){if(!this){const $e=new Ps;return Ce&&"d"in Ce&&v($e,Ce),$e}v(this,arguments.length?{d:1,from:Ce,to:arguments.length>1?ye:Ce}:{d:0})};function Xa(Ce,ye,$e){const tt=Dn(ye,$e);if(isNaN(tt))return;if(tt>0)throw RangeError();if(Js(Ce))return v(Ce,{from:ye,to:$e,d:1});const Et=Ce.l,A=Ce.r;if(Dn($e,Ce.from)<0)return Et?Xa(Et,ye,$e):Ce.l={from:ye,to:$e,d:1,l:null,r:null},Rl(Ce);if(Dn(ye,Ce.to)>0)return A?Xa(A,ye,$e):Ce.r={from:ye,to:$e,d:1,l:null,r:null},Rl(Ce);Dn(ye,Ce.from)<0&&(Ce.from=ye,Ce.l=null,Ce.d=A?A.d+1:1),Dn($e,Ce.to)>0&&(Ce.to=$e,Ce.r=null,Ce.d=Ce.l?Ce.l.d+1:1);const W=!Ce.r;Et&&!Ce.l&&Zo(Ce,Et),A&&W&&Zo(Ce,A)}function Zo(Ce,ye){Js(ye)||function $e(tt,{from:Et,to:A,l:W,r:oe}){Xa(tt,Et,A),W&&$e(tt,W),oe&&$e(tt,oe)}(Ce,ye)}function hl(Ce){let ye=Js(Ce)?null:{s:0,n:Ce};return{next($e){const tt=arguments.length>0;for(;ye;)switch(ye.s){case 0:if(ye.s=1,tt)for(;ye.n.l&&Dn($e,ye.n.from)<0;)ye={up:ye,n:ye.n.l,s:1};else for(;ye.n.l;)ye={up:ye,n:ye.n.l,s:1};case 1:if(ye.s=2,!tt||Dn($e,ye.n.to)<=0)return{value:ye.n,done:!1};case 2:if(ye.n.r){ye.s=3,ye={up:ye,n:ye.n.r,s:0};continue}case 3:ye=ye.up}return{done:!0}}}}function Rl(Ce){var ye,$e;const tt=((null===(ye=Ce.r)||void 0===ye?void 0:ye.d)||0)-((null===($e=Ce.l)||void 0===$e?void 0:$e.d)||0),Et=tt>1?"r":tt<-1?"l":"";if(Et){const A="r"===Et?"l":"r",W={...Ce},oe=Ce[Et];Ce.from=oe.from,Ce.to=oe.to,Ce[Et]=oe[Et],W[Et]=oe[A],Ce[A]=W,W.d=tl(W)}Ce.d=tl(Ce)}function tl({r:Ce,l:ye}){return(Ce?ye?Math.max(Ce.d,ye.d):Ce.d:ye?ye.d:0)+1}b(Ps.prototype,{add(Ce){return Zo(this,Ce),this},addKey(Ce){return Xa(this,Ce,Ce),this},addKeys(Ce){return Ce.forEach(ye=>Xa(this,ye,ye)),this},[N](){return hl(this)}});const Ma={stack:"dbcore",level:0,create:Ce=>{const ye=Ce.schema.name,$e=new Ps(Ce.MIN_KEY,Ce.MAX_KEY);return{...Ce,table:tt=>{const Et=Ce.table(tt),{schema:A}=Et,{primaryKey:W}=A,{extractKey:oe,outbound:be}=W,Ue={...Et,mutate:on=>{const xn=on.trans,pr=xn.mutatedParts||(xn.mutatedParts={}),Rr=Ti=>{const _i=`idb://${ye}/${tt}/${Ti}`;return pr[_i]||(pr[_i]=new Ps)},Kr=Rr(""),Pr=Rr(":dels"),{type:jr}=on;let[qn,Mr]="deleteRange"===on.type?[on.range]:"delete"===on.type?[on.keys]:on.values.length<50?[[],on.values]:[];const mi=on.trans._cache;return Et.mutate(on).then(Ti=>{if(u(qn)){"delete"!==jr&&(qn=Ti.results),Kr.addKeys(qn);const _i=Xo(qn,mi);_i||"add"===jr||Pr.addKeys(qn),(_i||Mr)&&(Le=Rr,an=_i,nt=Mr,A.indexes.forEach(function Qt(Fn){const vr=Le(Fn.name||"");function ei(so){return null!=so?Fn.extractKey(so):null}const co=so=>Fn.multiEntry&&u(so)?so.forEach(ro=>vr.addKey(ro)):vr.addKey(so);(an||nt).forEach((so,ro)=>{const ao=an&&ei(an[ro]),Mo=nt&&ei(nt[ro]);0!==Dn(ao,Mo)&&(null!=ao&&co(ao),null!=Mo&&co(Mo))})}))}else if(qn){const _i={from:qn.lower,to:qn.upper};Pr.add(_i),Kr.add(_i)}else Kr.add($e),Pr.add($e),A.indexes.forEach(_i=>Rr(_i.name).add($e));var Le,an,nt;return Ti})}},Ye=({query:{index:on,range:xn}})=>{var pr,Rr;return[on,new Ps(null!==(pr=xn.lower)&&void 0!==pr?pr:Ce.MIN_KEY,null!==(Rr=xn.upper)&&void 0!==Rr?Rr:Ce.MAX_KEY)]},kt={get:on=>[W,new Ps(on.key)],getMany:on=>[W,(new Ps).addKeys(on.keys)],count:Ye,query:Ye,openCursor:Ye};return h(kt).forEach(on=>{Ue[on]=function(xn){const{subscr:pr}=Cn;if(pr){const Rr=Mr=>{const mi=`idb://${ye}/${tt}/${Mr}`;return pr[mi]||(pr[mi]=new Ps)},Kr=Rr(""),Pr=Rr(":dels"),[jr,qn]=kt[on](xn);if(Rr(jr.name||"").add(qn),!jr.isPrimaryKey){if("count"!==on){const Mr="query"===on&&be&&xn.values&&Et.query({...xn,values:!1});return Et[on].apply(this,arguments).then(mi=>{if("query"===on){if(be&&xn.values)return Mr.then(({result:_i})=>(Kr.addKeys(_i),mi));const Ti=xn.values?mi.result.map(oe):mi.result;xn.values?Kr.addKeys(Ti):Pr.addKeys(Ti)}else if("openCursor"===on){const Ti=mi,_i=xn.values;return Ti&&Object.create(Ti,{key:{get:()=>(Pr.addKey(Ti.primaryKey),Ti.key)},primaryKey:{get(){const Le=Ti.primaryKey;return Pr.addKey(Le),Le}},value:{get:()=>(_i&&Kr.addKey(Ti.primaryKey),Ti.value)}})}return mi})}Pr.add($e)}}return Et[on].apply(this,arguments)}}),Ue}}}};class Va{constructor(ye,$e){this._middlewares={},this.verno=0;const tt=Va.dependencies;this._options=$e={addons:Va.addons,autoOpen:!0,indexedDB:tt.indexedDB,IDBKeyRange:tt.IDBKeyRange,...$e},this._deps={indexedDB:$e.indexedDB,IDBKeyRange:$e.IDBKeyRange};const{addons:Et}=$e;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;const A={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:An,dbReadyPromise:null,cancelOpen:An,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3};var W,oe;A.dbReadyPromise=new fn(oe=>{A.dbReadyResolve=oe}),A.openCanceller=new fn((oe,be)=>{A.cancelOpen=be}),this._state=A,this.name=ye,this.on=ds(this,"populate","blocked","versionchange","close",{ready:[tr,An]}),this.on.ready.subscribe=H(this.on.ready.subscribe,oe=>(be,Ue)=>{Va.vip(()=>{const Ye=this._state;if(Ye.openComplete)Ye.dbOpenError||fn.resolve().then(be),Ue&&oe(be);else if(Ye.onReadyBeingFired)Ye.onReadyBeingFired.push(be),Ue&&oe(be);else{oe(be);const kt=this;Ue||oe(function on(){kt.on.ready.unsubscribe(be),kt.on.ready.unsubscribe(on)})}})}),this.Collection=(W=this,Ne(Kt.prototype,function(oe,be){this.db=W;let Ue=$s,Ye=null;if(be)try{Ue=be()}catch(pr){Ye=pr}const kt=oe._ctx,on=kt.table,xn=on.hook.reading.fire;this._ctx={table:on,index:kt.index,isPrimKey:!kt.index||on.schema.primKey.keyPath&&kt.index===on.schema.primKey.name,range:Ue,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:Ye,or:kt.or,valueMapper:xn!==jn?xn:null}})),this.Table=(oe=this,Ne(cs.prototype,function(be,Ue,Ye){this.db=oe,this._tx=Ye,this.name=be,this.schema=Ue,this.hook=oe._allTables[be]?oe._allTables[be].hook:ds(null,{creating:[Fr,An],reading:[or,jn],updating:[sr,An],deleting:[On,An]})})),this.Transaction=function(oe){return Ne(as.prototype,function(be,Ue,Ye,kt,on){this.db=oe,this.mode=be,this.storeNames=Ue,this.schema=Ye,this.chromeTransactionDurability=kt,this.idbtrans=null,this.on=ds(this,"complete","error","abort"),this.parent=on||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new fn((xn,pr)=>{this._resolve=xn,this._reject=pr}),this._completion.then(()=>{this.active=!1,this.on.complete.fire()},xn=>{var pr=this.active;return this.active=!1,this.on.error.fire(xn),this.parent?this.parent._reject(xn):pr&&this.idbtrans&&this.idbtrans.abort(),Zn(xn)})})}(this),this.Version=function(oe){return Ne(sa.prototype,function(be){this.db=oe,this._cfg={version:be,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}})}(this),this.WhereClause=function(oe){return Ne(Ci.prototype,function(be,Ue,Ye){this.db=oe,this._ctx={table:be,index:":id"===Ue?null:Ue,or:Ye};const kt=oe._deps.indexedDB;if(!kt)throw new Lt.MissingAPI;this._cmp=this._ascending=kt.cmp.bind(kt),this._descending=(on,xn)=>kt.cmp(xn,on),this._max=(on,xn)=>kt.cmp(on,xn)>0?on:xn,this._min=(on,xn)=>kt.cmp(on,xn)<0?on:xn,this._IDBKeyRange=oe._deps.IDBKeyRange})}(this),this.on("versionchange",oe=>{oe.newVersion>0?console.warn(`Another connection wants to upgrade database '${this.name}'. Closing db now to resume the upgrade.`):console.warn(`Another connection wants to delete database '${this.name}'. Closing db now to resume the delete request.`),this.close()}),this.on("blocked",oe=>{!oe.newVersion||oe.newVersion<oe.oldVersion?console.warn(`Dexie.delete('${this.name}') was blocked`):console.warn(`Upgrade '${this.name}' blocked by other connection holding version ${oe.oldVersion/10}`)}),this._maxKey=ma($e.IDBKeyRange),this._createTransaction=(oe,be,Ue,Ye)=>new this.Transaction(oe,be,Ue,this._options.chromeTransactionDurability,Ye),this._fireOnBlocked=oe=>{this.on("blocked").fire(oe),Pi.filter(be=>be.name===this.name&&be!==this&&!be._state.vcFired).map(be=>be.on("versionchange").fire(oe))},this.use(wi),this.use(ca),this.use(Ma),this.use(ga),this.vip=Object.create(this,{_vip:{value:!0}}),Et.forEach(oe=>oe(this))}version(ye){if(isNaN(ye)||ye<.1)throw new Lt.Type("Given version is not a positive number");if(ye=Math.round(10*ye)/10,this.idbdb||this._state.isBeingOpened)throw new Lt.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,ye);const $e=this._versions;var tt=$e.filter(Et=>Et._cfg.version===ye)[0];return tt||(tt=new this.Version(ye),$e.push(tt),$e.sort(Us),tt.stores({}),this._state.autoSchema=!1,tt)}_whenReady(ye){return this.idbdb&&(this._state.openComplete||Cn.letThrough||this._vip)?ye():new fn(($e,tt)=>{if(this._state.openComplete)return tt(new Lt.DatabaseClosed(this._state.dbOpenError));if(!this._state.isBeingOpened){if(!this._options.autoOpen)return void tt(new Lt.DatabaseClosed);this.open().catch(An)}this._state.dbReadyPromise.then($e,tt)}).then(ye)}use({stack:ye,create:$e,level:tt,name:Et}){Et&&this.unuse({stack:ye,name:Et});const A=this._middlewares[ye]||(this._middlewares[ye]=[]);return A.push({stack:ye,create:$e,level:null==tt?10:tt,name:Et}),A.sort((W,oe)=>W.level-oe.level),this}unuse({stack:ye,name:$e,create:tt}){return ye&&this._middlewares[ye]&&(this._middlewares[ye]=this._middlewares[ye].filter(Et=>tt?Et.create!==tt:!!$e&&Et.name!==$e)),this}open(){return function ot(Ce){const ye=Ce._state,{indexedDB:$e}=Ce._deps;if(ye.isBeingOpened||Ce.idbdb)return ye.dbReadyPromise.then(()=>ye.dbOpenError?Zn(ye.dbOpenError):Ce);Re&&(ye.openCanceller._stackHolder=At()),ye.isBeingOpened=!0,ye.dbOpenError=null,ye.openComplete=!1;const tt=ye.openCanceller;function Et(){if(ye.openCanceller!==tt)throw new Lt.DatabaseClosed("db.open() was cancelled")}let A=ye.dbReadyResolve,W=null,oe=!1;const be=()=>new fn((Ue,Ye)=>{if(Et(),!$e)throw new Lt.MissingAPI;const kt=Ce.name,on=ye.autoSchema?$e.open(kt):$e.open(kt,Math.round(10*Ce.verno));if(!on)throw new Lt.MissingAPI;on.onerror=pi(Ye),on.onblocked=Jt(Ce._fireOnBlocked),on.onupgradeneeded=Jt(xn=>{if(W=on.transaction,ye.autoSchema&&!Ce._options.allowEmptyDB){on.onerror=Fi,W.abort(),on.result.close();const Rr=$e.deleteDatabase(kt);Rr.onsuccess=Rr.onerror=Jt(()=>{Ye(new Lt.NoSuchDatabase(`Database ${kt} doesnt exist`))})}else{W.onerror=pi(Ye);var pr=xn.oldVersion>Math.pow(2,62)?0:xn.oldVersion;
1oe=pr<1,Ce._novip.idbdb=on.result,function Ji(Ce,ye,$e,tt){const Et=Ce._dbSchema,A=Ce._createTransaction("readwrite",Ce._storeNames,Et);A.create($e),A._completion.catch(tt);const W=A._reject.bind(A),oe=Cn.transless||Cn;st(()=>{Cn.trans=A,Cn.transless=oe,0===ye?(h(Et).forEach(be=>{el($e,be,Et[be].primKey,Et[be].indexes)}),ta(Ce,$e),fn.follow(()=>Ce.on.populate.fire(A)).catch(W)):function({_novip:be},Ue,Ye,kt){const on=[],xn=be._versions;let pr=be._dbSchema=xa(0,be.idbdb,kt),Rr=!1;return xn.filter(jr=>jr._cfg.version>=Ue).forEach(jr=>{on.push(()=>{const qn=pr,Mr=jr._cfg.dbschema;ya(be,qn,kt),ya(be,Mr,kt),pr=be._dbSchema=Mr;const mi=Pa(qn,Mr);mi.add.forEach(_i=>{el(kt,_i[0],_i[1].primKey,_i[1].indexes)}),mi.change.forEach(_i=>{if(_i.recreate)throw new Lt.Upgrade("Not yet support for changing primary key");{const Le=kt.objectStore(_i.name);_i.add.forEach(it=>Ha(Le,it)),_i.change.forEach(it=>{Le.deleteIndex(it.name),Ha(Le,it)}),_i.del.forEach(it=>Le.deleteIndex(it))}});const Ti=jr._cfg.contentUpgrade;if(Ti&&jr._cfg.version>Ue){ta(be,kt),Ye._memoizedTables={},Rr=!0;let _i=Y(Mr);mi.del.forEach(nt=>{_i[nt]=qn[nt]}),Ia(be,[be.Transaction.prototype]),wo(be,[be.Transaction.prototype],h(_i),_i),Ye.schema=_i;const Le=we(Ti);let it;Le&&jt();const an=fn.follow(()=>{if(it=Ti(Ye),it&&Le){var nt=xt.bind(null,null);it.then(nt,nt)}});return it&&"function"==typeof it.then?fn.resolve(it):an.then(()=>it)}}),on.push(qn=>{var Mr,mi;(!Rr||!ki)&&(Mr=jr._cfg.dbschema,[].slice.call((mi=qn).db.objectStoreNames).forEach(Ti=>null==Mr[Ti]&&mi.db.deleteObjectStore(Ti))),Ia(be,[be.Transaction.prototype]),wo(be,[be.Transaction.prototype],be._storeNames,be._dbSchema),Ye.schema=be._dbSchema})}),function Pr(){return on.length?fn.resolve(on.shift()(Ye.idbtrans)).then(Pr):fn.resolve()}().then(()=>{var jr,qn;qn=kt,h(jr=pr).forEach(Mr=>{qn.db.objectStoreNames.contains(Mr)||el(qn,Mr,jr[Mr].primKey,jr[Mr].indexes)})})}(Ce,ye,A,$e).catch(W)})}(Ce,pr/10,W,Ye)}},Ye),on.onsuccess=Jt(()=>{W=null;const xn=Ce._novip.idbdb=on.result,pr=z(xn.objectStoreNames);if(pr.length>0)try{const Kr=xn.transaction(1===(Rr=pr).length?Rr[0]:Rr,"readonly");ye.autoSchema?function({_novip:Pr},jr,qn){Pr.verno=jr.version/10;const Mr=Pr._dbSchema=xa(0,jr,qn);Pr._storeNames=z(jr.objectStoreNames,0),wo(Pr,[Pr._allTables],h(Mr),Mr)}(Ce,xn,Kr):(ya(Ce,Ce._dbSchema,Kr),function(Pr,jr){const qn=Pa(xa(0,Pr.idbdb,jr),Pr._dbSchema);return!(qn.add.length||qn.change.some(Mr=>Mr.add.length||Mr.change.length))}(Ce,Kr)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),ta(Ce,Kr)}catch{}var Rr;Pi.push(Ce),xn.onversionchange=Jt(Kr=>{ye.vcFired=!0,Ce.on("versionchange").fire(Kr)}),xn.onclose=Jt(Kr=>{Ce.on("close").fire(Kr)}),oe&&function({indexedDB:Kr,IDBKeyRange:Pr},jr){!aa(Kr)&&jr!==ji&&Ls(Kr,Pr).put({name:jr}).catch(An)}(Ce._deps,kt),Ue()},Ye)}).catch(Ue=>Ue&&"UnknownError"===Ue.name&&ye.PR1398_maxLoop>0?(ye.PR1398_maxLoop--,console.warn("Dexie: Workaround for Chrome UnknownError on open()"),be()):fn.reject(Ue));return fn.race([tt,(typeof navigator>"u"?fn.resolve():Ct()).then(be)]).then(()=>(Et(),ye.onReadyBeingFired=[],fn.resolve(qa(()=>Ce.on.ready.fire(Ce.vip))).then(function Ue(){if(ye.onReadyBeingFired.length>0){let Ye=ye.onReadyBeingFired.reduce(tr,An);return ye.onReadyBeingFired=[],fn.resolve(qa(()=>Ye(Ce.vip))).then(Ue)}}))).finally(()=>{ye.onReadyBeingFired=null,ye.isBeingOpened=!1}).then(()=>Ce).catch(Ue=>{ye.dbOpenError=Ue;try{W&&W.abort()}catch{}return tt===ye.openCanceller&&Ce._close(),Zn(Ue)}).finally(()=>{ye.openComplete=!0,A()})}(this)}_close(){const ye=this._state,$e=Pi.indexOf(this);if($e>=0&&Pi.splice($e,1),this.idbdb){try{this.idbdb.close()}catch{}this._novip.idbdb=null}ye.dbReadyPromise=new fn(tt=>{ye.dbReadyResolve=tt}),ye.openCanceller=new fn((tt,Et)=>{ye.cancelOpen=Et})}close(){this._close();const ye=this._state;this._options.autoOpen=!1,ye.dbOpenError=new Lt.DatabaseClosed,ye.isBeingOpened&&ye.cancelOpen(ye.dbOpenError)}delete(){const ye=arguments.length>0,$e=this._state;return new fn((tt,Et)=>{const A=()=>{this.close();var W=this._deps.indexedDB.deleteDatabase(this.name);W.onsuccess=Jt(()=>{(function({indexedDB:oe,IDBKeyRange:be},Ue){!aa(oe)&&Ue!==ji&&Ls(oe,be).delete(Ue).catch(An)})(this._deps,this.name),tt()}),W.onerror=pi(Et),W.onblocked=this._fireOnBlocked};if(ye)throw new Lt.InvalidArgument("Arguments not allowed in db.delete()");$e.isBeingOpened?$e.dbReadyPromise.then(A):A()})}backendDB(){return this.idbdb}isOpen(){return null!==this.idbdb}hasBeenClosed(){const ye=this._state.dbOpenError;return ye&&"DatabaseClosed"===ye.name}hasFailed(){return null!==this._state.dbOpenError}dynamicallyOpened(){return this._state.autoSchema}get tables(){return h(this._allTables).map(ye=>this._allTables[ye])}transaction(){const ye=bt.apply(this,arguments);return this._transaction.apply(this,ye)}_transaction(ye,$e,tt){let Et=Cn.trans;Et&&Et.db===this&&-1===ye.indexOf("!")||(Et=null);const A=-1!==ye.indexOf("?");let W,oe;ye=ye.replace("!","").replace("?","");try{if(oe=$e.map(Ue=>{var Ye=Ue instanceof this.Table?Ue.name:Ue;if("string"!=typeof Ye)throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return Ye}),"r"==ye||ye===bs)W=bs;else{if("rw"!=ye&&ye!=xo)throw new Lt.InvalidArgument("Invalid transaction mode: "+ye);W=xo}if(Et){if(Et.mode===bs&&W===xo){if(!A)throw new Lt.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");Et=null}Et&&oe.forEach(Ue=>{if(Et&&-1===Et.storeNames.indexOf(Ue)){if(!A)throw new Lt.SubTransaction("Table "+Ue+" not included in parent transaction.");Et=null}}),A&&Et&&!Et.active&&(Et=null)}}catch(Ue){return Et?Et._promise(null,(Ye,kt)=>{kt(Ue)}):Zn(Ue)}const be=sn.bind(null,this,W,oe,Et,tt);return Et?Et._promise(W,be,"lock"):Cn.trans?Oe(Cn.transless,()=>this._whenReady(be)):this._whenReady(be)}table(ye){if(!p(this._allTables,ye))throw new Lt.InvalidTable(`Table ${ye} does not exist`);return this._allTables[ye]}}const zl=typeof Symbol<"u"&&"observable"in Symbol?Symbol.observable:"@@observable";class kl{constructor(ye){this._subscribe=ye}subscribe(ye,$e,tt){return this._subscribe(ye&&"function"!=typeof ye?ye:{next:ye,error:$e,complete:tt})}[zl](){return this}}function nl(Ce,ye){return h(ye).forEach($e=>{Zo(Ce[$e]||(Ce[$e]=new Ps),ye[$e])}),Ce}let _a;try{_a={indexedDB:s.indexedDB||s.mozIndexedDB||s.webkitIndexedDB||s.msIndexedDB,IDBKeyRange:s.IDBKeyRange||s.webkitIDBKeyRange}}catch{_a={indexedDB:null,IDBKeyRange:null}}const Ga=Va;function _o(Ce){let ye=fs;try{fs=!0,xi.storagemutated.fire(Ce)}finally{fs=ye}}
1b(Ga,{...Tn,delete:Ce=>new Ga(Ce,{addons:[]}).delete(),exists:Ce=>new Ga(Ce,{addons:[]}).open().then(ye=>(ye.close(),!0)).catch("NoSuchDatabaseError",()=>!1),getDatabaseNames(Ce){try{return function({indexedDB:ye,IDBKeyRange:$e}){return aa(ye)?Promise.resolve(ye.databases()).then(tt=>tt.map(Et=>Et.name).filter(Et=>Et!==ji)):Ls(ye,$e).toCollection().primaryKeys()}(Ga.dependencies).then(Ce)}catch{return Zn(new Lt.MissingAPI)}},defineClass:()=>function(Ce){v(this,Ce)},ignoreTransaction:Ce=>Cn.trans?Oe(Cn.transless,Ce):Ce(),vip:qa,async:function(Ce){return function(){try{var ye=Zt(Ce.apply(this,arguments));return ye&&"function"==typeof ye.then?ye:fn.resolve(ye)}catch($e){return Zn($e)}}},spawn:function(Ce,ye,$e){try{var tt=Zt(Ce.apply($e,ye||[]));return tt&&"function"==typeof tt.then?tt:fn.resolve(tt)}catch(Et){return Zn(Et)}},currentTransaction:{get:()=>Cn.trans||null},waitFor:function(Ce,ye){const $e=fn.resolve("function"==typeof Ce?Ga.ignoreTransaction(Ce):Ce).timeout(ye||6e4);return Cn.trans?Cn.trans.waitFor($e):$e},Promise:fn,debug:{get:()=>Re,set:Ce=>{et(Ce,"dexie"===Ce?()=>!0:Eo)}},derive:k,extend:v,props:b,override:H,Events:ds,on:xi,liveQuery:function Zs(Ce){let ye,$e=!1;const tt=new kl(Et=>{const A=we(Ce);let W=!1,oe={},be={};const Ue={get closed(){return W},unsubscribe:()=>{W=!0,xi.storagemutated.unsubscribe(xn)}};Et.start&&Et.start(Ue);let Ye=!1,kt=!1;function on(){return h(be).some(Rr=>oe[Rr]&&function fl(Ce,ye){const $e=hl(ye);let tt=$e.next();if(tt.done)return!1;let Et=tt.value;const A=hl(Ce);let W=A.next(Et.from),oe=W.value;for(;!tt.done&&!W.done;){if(Dn(oe.from,Et.to)<=0&&Dn(oe.to,Et.from)>=0)return!0;Dn(Et.from,oe.from)<0?Et=(tt=$e.next(oe.from)).value:oe=(W=A.next(Et.from)).value}return!1}(oe[Rr],be[Rr]))}const xn=Rr=>{nl(oe,Rr),on()&&pr()},pr=()=>{if(Ye||W)return;oe={};const Rr={},Kr=function(Pr){A&&jt();const jr=()=>st(Ce,{subscr:Pr,trans:null}),qn=Cn.trans?Oe(Cn.transless,jr):jr();return A&&qn.then(xt,xt),qn}(Rr);kt||(xi(yo,xn),kt=!0),Ye=!0,Promise.resolve(Kr).then(Pr=>{$e=!0,ye=Pr,Ye=!1,W||(on()?pr():(oe={},be=Rr,Et.next&&Et.next(Pr)))},Pr=>{Ye=!1,$e=!1,Et.error&&Et.error(Pr),Ue.unsubscribe()})};return pr(),Ue});return tt.hasValue=()=>$e,tt.getValue=()=>ye,tt},extendObservabilitySet:nl,getByKeyPath:de,setByKeyPath:ee,delByKeyPath:function(Ce,ye){"string"==typeof ye?ee(Ce,ye,void 0):"length"in ye&&[].map.call(ye,function($e){ee(Ce,$e,void 0)})},shallowClone:Y,deepClone:re,getObjectDiff:Ns,cmp:Dn,asap:q,minKey:Ar,addons:[],connections:Pi,errnames:Mt,dependencies:_a,semVer:"3.2.7",version:"3.2.7".split(".").map(Ce=>parseInt(Ce)).reduce((Ce,ye,$e)=>Ce+ye/Math.pow(10,2*$e))}),Ga.maxKey=ma(Ga.dependencies.IDBKeyRange),typeof dispatchEvent<"u"&&typeof addEventListener<"u"&&(xi(yo,Ce=>{if(!fs){let ye;io?(ye=document.createEvent("CustomEvent"),ye.initCustomEvent(Jo,!0,!0,Ce)):ye=new CustomEvent(Jo,{detail:Ce}),fs=!0,dispatchEvent(ye),fs=!1}}),addEventListener(Jo,({detail:Ce})=>{fs||_o(Ce)}));let fs=!1;if(typeof BroadcastChannel<"u"){const Ce=new BroadcastChannel(Jo);"function"==typeof Ce.unref&&Ce.unref(),xi(yo,ye=>{fs||Ce.postMessage(ye)}),Ce.onmessage=ye=>{ye.data&&_o(ye.data)}}else if(typeof self<"u"&&typeof navigator<"u"){xi(yo,ye=>{try{fs||(typeof localStorage<"u"&&localStorage.setItem(Jo,JSON.stringify({trig:Math.random(),changedParts:ye})),"object"==typeof self.clients&&[...self.clients.matchAll({includeUncontrolled:!0})].forEach($e=>$e.postMessage({type:Jo,changedParts:ye})))}catch{}}),typeof addEventListener<"u"&&addEventListener("storage",ye=>{if(ye.key===Jo){const $e=JSON.parse(ye.newValue);$e&&_o($e.changedParts)}});const Ce=self.document&&navigator.serviceWorker;Ce&&Ce.addEventListener("message",function({data:ye}){ye&&ye.type===Jo&&_o(ye.changedParts)})}fn.rejectionMapper=function(Ce,ye){if(!Ce||Ce instanceof yt||Ce instanceof TypeError||Ce instanceof SyntaxError||!Ce.name||!$n[Ce.name])return Ce;var $e=new $n[Ce.name](ye||Ce.message,Ce);return"stack"in Ce&&P($e,"stack",{get:function(){return this.inner.stack}}),$e},et(Re,Eo);class is extends Va{constructor(ye){super(ye),this.useDBConsole=!1,this.version(6).stores({cache:"id",tenantList:"tenantId,tenantCode",rooms:"id,serviceNumberId,threadType,tenantCode,tenantId",messsages:"id,roomId,sequence,status",serviceNumber:"id",avatar:"id"}),this.on("blocked",function(){console.warn("Database is blocked ")})}static initTable(){return this.db||(this.db=new is("_Aiwow")),"_Aiwow"!=this.db.name&&(this.db.close(),this.db=new is("_Aiwow")),this.db.on("blocked",()=>{console.log("Aiwow..blocked")}),this.db}clearPart(){let ye=[];
1return ye.push(this.clearTable(this.serviceNumber)),ye.push(this.clearTable(this.messsages)),ye.push(this.clearTable(this.rooms)),Promise.all(ye).then($e=>!0)}clearForLoginData(){let ye=[];return ye.push(this.clearTable(this.rooms)),ye.push(this.clearTable(this.messsages)),ye.push(this.clearTable(this.serviceNumber)),Promise.all(ye).then($e=>!0)}clearAll(){let ye=[];return ye.push(this.clearTable(this.tenantList)),ye.push(this.clearTable(this.avatar)),ye.push(this.clearTable(this.cache)),ye.push(this.clearTable(this.serviceNumber)),ye.push(this.clearTable(this.messsages)),ye.push(this.clearTable(this.rooms)),Promise.all(ye).then($e=>!0)}clearTable(ye){return(0,c.A)(function*(){return ye.filter(()=>!0).delete()})()}getDBSize(){var ye=this;return(0,c.A)(function*(){let $e=[];return $e.push(ye.colItemsSize(ye.cache)),Promise.all($e).then(tt=>tt.reduce(function(A,W){return A+W},0))})()}colItemsSize(ye){let $e=0;return ye.each(tt=>{var Et=JSON.stringify(tt);$e+=Et.length}).then(()=>$e)}setCache(ye,$e){var tt=this;return(0,c.A)(function*(){return tt.cache.get(ye).then(Et=>(Et?tt.cache.update(ye,{id:ye,value:$e}):tt.cache.put({id:ye,value:$e}),!0))})()}getCache(ye){return new Promise(($e,tt)=>{this.cache.get(ye).then(Et=>{$e(null==Et?void 0:Et.value)})})}addTenantList(ye,$e){var tt=this;return(0,c.A)(function*(){return tt.tenantList.get(ye).then(Et=>(Et?tt.tenantList.update(ye,$e):tt.tenantList.put($e),!0))})()}getTenantItem(ye){return new Promise(($e,tt)=>{this.tenantList.get(ye).then(Et=>{$e(Et)})})}getTenantList(){return this.tenantList.toArray()}removeRoom(ye){return this.rooms.delete(ye)}removeTenantRoom(ye){return this.rooms.where("tenantCode").equals(ye).delete()}updateRoomUnread(ye,$e){var tt=this;return(0,c.A)(function*(){return tt.rooms.get(ye).then(Et=>{if(Et){let A=C.assign(Et,{unReadNum:$e});tt.rooms.update(ye,A)}})})()}addChatRoom(ye){var $e=this;return(0,c.A)(function*(){var tt;return!C.isEmpty(ye.id)&&$e.rooms.get(null!==(tt=ye.id)&&void 0!==tt?tt:"").then(Et=>{var A;return Et?$e.rooms.update(null!==(A=ye.id)&&void 0!==A?A:"",ye):$e.rooms.put(ye),!0})})()}getChatRoom(ye){var $e=this;return(0,c.A)(function*(){return new Promise((tt,Et)=>{$e.rooms.get(ye).then(A=>{tt(A)})})})()}getChatRoomList(){var ye=this;return(0,c.A)(function*(){return ye.rooms.toArray()})()}addMessage(ye){var $e=this;return(0,c.A)(function*(){var tt;return!C.isEmpty(ye.id)&&$e.messsages.get(null!==(tt=ye.id)&&void 0!==tt?tt:"").then(Et=>{if(Et){var A;let W=C.assign(Et,ye);$e.messsages.update(null!==(A=ye.id)&&void 0!==A?A:"",W)}else $e.messsages.put(ye);return!0})})()}updateMessageFlag(ye,$e){var tt=this;return(0,c.A)(function*(){return tt.messsages.get(ye).then(Et=>{if(Et){(!$e.readedNum||0==$e.readedNum)&&delete $e.readedNum,(!$e.receivedNum||0==$e.receivedNum)&&delete $e.readedNum;let A=C.assign(Et,$e);return tt.messsages.update(ye,A),A}})})()}getMessage(ye){var $e=this;return(0,c.A)(function*(){return new Promise((tt,Et)=>{$e.messsages.get(ye).then(A=>{tt(A)})})})()}getAndDeleteSendingMessage(){var ye=this;return(0,c.A)(function*(){return ye.messsages.where("status").equals("sending").toArray().then($e=>{let tt=[];return $e.forEach(Et=>{tt.push(ye.messsages.delete(Et.id))}),Promise.all(tt).then(Et=>$e)})})()}getMessages(ye,$e,tt){var Et=this;return(0,c.A)(function*(){return Et.messsages.where("roomId").equals(ye).and(A=>A.sequence>=$e&&A.sequence<=tt).toArray()})()}getMaxSequence(ye){var $e=this;return(0,c.A)(function*(){return $e.messsages.where("roomId").equals(ye).and(tt=>tt.sequence).reverse().sortBy("sequence").then(tt=>tt.length>0?tt[0].sequence:0)})()}getCacheAvatar(ye){return new Promise(($e,tt)=>{this.avatar.get(ye).then(Et=>{$e(null==Et?void 0:Et.value)})})}setCacheAvatar(ye,$e){return this.avatar.get(ye).then(tt=>(tt?this.avatar.update(ye,{id:ye,value:$e}):this.avatar.put({id:ye,value:$e}),!0))}addServiceNumber(ye,$e){var tt=this;return(0,c.A)(function*(){return tt.serviceNumber.get(ye).then(Et=>(Et?tt.serviceNumber.update(ye,$e):tt.serviceNumber.put($e),!0))})()}getServiceNumber(ye){var $e=this;return(0,c.A)(function*(){return new Promise((tt,Et)=>{$e.serviceNumber.get(ye).then(A=>{tt(A)})})})()}}var Ii,hs=f(80708),Go=f(24696),Ml=f(89655),Yo=f(60960),ba=f(47046),Ea=f(54438),$l=f(49344),La=f(7691),Nn=f(69465),xr=f(12872),kr=f(24042),fo=function(Ce){return Ce[Ce.app=0]="app",Ce[Ce.url=1]="url",Ce[Ce.embed=2]="embed",Ce}(fo||{});const zo=["#1abc9c","#3498db","#6699CC","#f1c40f","#8e44ad","#B45B3E","#e74c3c","#d35400","#479AC7","#2c3e50","#7f8c8d","#336699","#66CCCC","#00B271"];let Es=((Ii=class{fileToUint8Array(ye){return new Promise(($e,tt)=>{const Et=new FileReader;Et.onload=A=>{const oe=new Uint8Array(Et.result);$e(oe)},Et.readAsArrayBuffer(ye)})}isPwa(){return this.platfrom.is("pwa")}get osType(){return"web"}consolePlat(){console.log(this.platfrom.platforms())}isDesktop(){return this.platfrom.is("desktop")}isIos(){return this.platfrom.is("ios")}isNative(){return this.platfrom.is("ios")||this.platfrom.is("android")}
1isHybrid(){return this.platfrom.is("hybrid")}get isEmbed(){return this.inModel==fo.embed}get isUrl(){return this.inModel==fo.url}constructor(ye,$e,tt,Et,A,W){this.log=ye,this.settingService=$e,this.toastController=tt,this.navController=Et,this.platfrom=A,this.router=W,this.useVoice=!0,this.useAI=!1,this.avatarColors=zo,this.useNew=!0,this.logInUser=null,this.inModel=fo.app,this.loginDataForModelUrl=null,this.webChatCustomData="default",this.currentRoomInfo=null,this.accountId="",this.userId="",this.transferNotice=new a.B,this.deviceData={},this.ceDeviceData={},this.netError=!1,this.lastUrl=[],this.curUrl=[],this.routeQueue=[],this.tenantSort=(oe,be)=>oe.isFav&&be.isFav?this.custLocaleCompare(oe.tenantName,be.tenantName):oe.isFav?-1:be.isFav?1:this.custLocaleCompare(oe.tenantName,be.tenantName),this.chatListSort=(oe,be)=>{if(C.isEmpty(oe)||C.isEmpty(be))return 0;let Ue=(be.unReadNum||0)+(be.markUnRead||0)+(be.markBoss||0),Ye=(oe.unReadNum||0)+(oe.markUnRead||0)+(oe.markBoss||0);return Ye>0&&Ue>0?this.sortBothUnReadThread(oe,be):Ye>0?-1:Ue>0?1:this.sortRoomsLastInput(oe,be)},this.base64ToBlob=function(){var oe=(0,c.A)(function*(be,Ue="",Ye=512){const kt=atob(be),on=[];for(let xn=0;xn<kt.length;xn+=Ye){const pr=kt.slice(xn,xn+Ye),Rr=new Array(pr.length);for(let Pr=0;Pr<pr.length;Pr++)Rr[Pr]=pr.charCodeAt(Pr);const Kr=new Uint8Array(Rr);on.push(Kr)}return new Blob(on,{type:Ue})});return function(be){return oe.apply(this,arguments)}}(),this.ngOnInit(),ba.co._networkChanged.subscribe(oe=>{this.netError=1==oe.type})}ngOnInit(){this.iniDB()}get webChatFunction(){return this.settingService.webChatFunction&&this.settingService.webChatFunction[this.webChatCustomData]?this.settingService.webChatFunction[this.webChatCustomData]:this.settingService.webChatFunction.default}iniDB(){this.log.debug("iniDB "),this.aiwowDB=is.initTable(),this.aiwowDB.isOpen()||this.aiwowDB.open()}get isAnonymousUser(){var ye;return(null===(ye=this.logInUser)||void 0===ye?void 0:ye.userType)==Ml.bH.anonymouse}goto(ye,$e={}){this.routeQueue.push({command:ye,queryParams:$e}),this.navigateToNextRoute()}gotoNoRelpace(ye,$e={}){this.routeQueue.push({command:ye,queryParams:$e}),this.navigateToNextRoute()}nav(ye,$e={}){this.routeQueue.push({command:ye,queryParams:$e}),this.navigateToNextRoute(!0)}canBack(){return this.routeQueue.length>1}gotoBack(){this.routeQueue.pop(),0==this.routeQueue.length?this.navController.navigateRoot(["/app"],{skipLocationChange:!0,animated:!0,animation:Go.Sw}):this.navigateToNextRoute(!0,!0)}popNavQueue(){this.routeQueue.pop()}navigateToNextRoute(ye=!0,$e=!1){if(0===this.routeQueue.length)this.navController.navigateRoot(["/app"],{skipLocationChange:ye,animated:!0,animation:$e?Go.Sw:Go.cJ});else{const{command:tt,queryParams:Et}=this.routeQueue[this.routeQueue.length-1];this.lastUrl=this.curUrl,this.curUrl=tt,this.navController.navigateRoot(tt,{skipLocationChange:ye,queryParams:Et,animated:!0,animation:$e?Go.Sw:Go.cJ})}}ngOnDestroy(){}getBackImagePath(ye){if(C.isUndefined(ye))return"./assets/images/back/back00.jpg";let $e=ye.substr((null==ye?void 0:ye.length)-1,1),tt=$e;return"NaN"!=parseInt($e,10).toString()&&(tt="0"+$e),`./assets/images/back/back${tt.toUpperCase()}.jpg`}getRandomColor(ye){var $e;if(!ye)return"transparent";const tt=this.calculateAsciiCode(ye);return this.avatarColors[tt%(null===($e=this.avatarColors)||void 0===$e?void 0:$e.length)]}calculateAsciiCode(ye){return ye.split("").map($e=>$e.charCodeAt(0)).reduce(($e,tt)=>$e+tt)}DecryptStr(ye){let $e=E.enc.Utf8.parse("7706618877066188"),tt=E.enc.Base64.parse(ye),Et=E.enc.Base64.stringify(tt);return E.AES.decrypt(Et,$e,{mode:E.mode.ECB,padding:E.pad.Pkcs7}).toString(E.enc.Utf8).toString()}DecryptResponse(ye){let $e=E.enc.Utf8.parse("7706618877066188"),tt=E.enc.Base64.parse(ye),Et=E.enc.Base64.stringify(tt),W=E.AES.decrypt(Et,$e,{mode:E.mode.ECB,padding:E.pad.Pkcs7}).toString(E.enc.Utf8).toString();return JSON.parse(W)}EncryptQR(ye){let $e=E.enc.Utf8.parse("7706618877066188"),tt="";return"string"==typeof ye?tt=ye:"object"==typeof ye&&(tt=E.enc.Utf8.parse(JSON.stringify(ye))),E.AES.encrypt
1(tt,$e,{mode:E.mode.ECB,padding:E.pad.Pkcs7}).toString()}EncryptBase64(ye){var $e=E.enc.Utf8.parse(ye);return E.enc.Base64.stringify($e)}DecryptBase64(ye){try{return E.enc.Base64.parse(ye).toString(E.enc.Utf8)}catch{return ye}}wbzdssm(ye){let $e=E.enc.Utf8.parse("csii77066188"),tt="";return"string"==typeof ye?tt=ye:"object"==typeof ye&&(tt=E.enc.Utf8.parse(JSON.stringify(ye))),E.AES.encrypt(tt,$e,{mode:E.mode.ECB,padding:E.pad.Pkcs7}).toString()}CryptoJS(){return E}EncryptHmacSHA256(ye){let $e=E.enc.Utf8.parse("7706618877066188"),tt="";"string"==typeof ye?tt=ye:"object"==typeof ye&&(tt=E.enc.Utf8.parse(JSON.stringify(ye)));let Et=E.HmacSHA256(tt,$e);return E.enc.Base64.stringify(Et)}getLinkPreview(ye){return new Promise(($e,tt)=>{(0,T.getLinkPreview)(ye).then(Et=>{$e(Et)}).catch(Et=>{$e({url:ye,title:ye,description:"",mediaType:"website",contentType:"text/html",images:[],favicons:["./assets/images/common/icon-pic-no.svg"]})})})}presentToast(ye,$e,tt="alert-circle-outline",Et="top"){var A=this;return(0,c.A)(function*(){yield(yield A.toastController.create({header:ye,message:$e,icon:tt,duration:2e3,position:Et,positionAnchor:"footer"})).present()})()}sortRoomsLastUpdate(ye,$e){return($e.lastUpdateMessageTime||0)-(ye.lastUpdateMessageTime||0)}sortRoomsLastInput(ye,$e){var tt,Et,A,W;return C.isEmpty(null===(tt=ye.lastInput)||void 0===tt?void 0:tt.trim())||C.isEmpty(null===(Et=$e.lastInput)||void 0===Et?void 0:Et.trim())?C.isEmpty(null===(A=ye.lastInput)||void 0===A?void 0:A.trim())?C.isEmpty(null===(W=$e.lastInput)||void 0===W?void 0:W.trim())?this.sortRoomsLastUpdate(ye,$e):1:-1:this.sortRoomsLastUpdate(ye,$e)}sortBothFavThread(ye,$e){return ye.isFav&&$e.isFav?this.sortRoomsLastInput(ye,$e):ye.isFav?-1:$e.isFav?1:this.sortRoomsLastInput(ye,$e)}sortBothUnReadThread(ye,$e){return ye.isFav&&$e.isFav?this.sortRoomsLastInput(ye,$e):ye.isFav?-1:$e.isFav?1:this.sortRoomsLastInput(ye,$e)}custLocaleCompare(ye,$e){const tt=ye.localeCompare($e,"zh",{sensitivity:"accent"});return 0!==tt?tt:0}custLocaleComparePY(ye,$e){const tt=ye.localeCompare($e,"zh",{sensitivity:"accent"});return 0!==tt?tt:0}custLocaleCompareEN(ye,$e){const tt=ye.localeCompare($e,"en",{sensitivity:"accent"});return 0!==tt?tt:0}custLocaleCompareTW(ye,$e){const tt=ye.localeCompare($e,"zh-Hant-TW",{sensitivity:"accent"});return 0!==tt?tt:0}asyncArrayReduce(ye,$e){return(0,c.A)(function*(){return yield ye.reduce(function(){var tt=(0,c.A)(function*(Et,A){return(yield $e(A))?[...yield Et,A]:Et});return function(Et,A){return tt.apply(this,arguments)}}(),[])})()}processThreadType(ye){var $e;switch(null===($e=ye.type)||void 0===$e?void 0:$e.toLowerCase()){case"system":ye.threadType=Yo.bF.system;break;case"self":case"person":ye.threadType=Yo.bF.self;break;case"vistor":ye.threadType=Yo.bF.vistor;break;case"friend":ye.threadType=Yo.bF.friend;break;case"group":ye.threadType=Yo.bF.group,ye.isGroup=!0;break;case"discuss":ye.threadType=Yo.bF.discuss,ye.isGroup=!0;break;case"service":case"services":ye.threadType=Yo.bF.serviceNumber;break;case"broadcast":ye.threadType=Yo.bF.broast;break;case"servicemember":ye.threadType=Yo.bF.serviceMember;break;default:ye.threadType=Yo.bF.other}}processMessage(ye,$e=!0){var tt,Et,A,W,oe,be,Ue,Ye,kt,on,xn,pr,Rr,Kr,Pr,jr;if("system"===(null===(tt=ye.sourceType)||void 0===tt?void 0:tt.toLowerCase()))return"call"==(null===(jr=ye.type)||void 0===jr?void 0:jr.toLocaleLowerCase())?(ye.messageType=Yo.Go.call,ye):(ye.messageType=Yo.Go.system,ye);if("text"==(null===(Et=ye.type)||void 0===Et?void 0:Et.toLocaleLowerCase()))ye.messageType=Yo.Go.plain;else if("card"==(null===(A=ye.type)||void 0===A?void 0:A.toLocaleLowerCase()))ye.messageType=Yo.Go.template;else if("transfer"==(null===(W=ye.type)||void 0===W?void 0:W.toLocaleLowerCase()))ye.messageType=Yo.Go.transfer;else if("image"==(null===(oe=ye.type)||void 0===oe?void 0:oe.toLocaleLowerCase()))ye.messageType=Yo.Go.image;else if("sticker"==(null===(be=ye.type)||void 0===be?void 0:be.toLocaleLowerCase()))ye.messageType=Yo.Go.sticker;else if("call"==(null===(Ue=ye.type)||void 0===Ue?void 0:Ue.toLocaleLowerCase()))ye.messageType=Yo.Go.
1call;else if("voice"==(null===(Ye=ye.type)||void 0===Ye?void 0:Ye.toLocaleLowerCase()))ye.messageType=Yo.Go.voice;else if("carousel"==(null===(kt=ye.type)||void 0===kt?void 0:kt.toLocaleLowerCase()))ye.messageType=Yo.Go.carousel;else if("template"==(null===(on=ye.type)||void 0===on?void 0:on.toLocaleLowerCase()))ye.messageType=Yo.Go.template;else if("file"==(null===(xn=ye.type)||void 0===xn?void 0:xn.toLocaleLowerCase())||"video"==(null===(pr=ye.type)||void 0===pr?void 0:pr.toLocaleLowerCase())){var qn;ye.messageType=Yo.Go.file;let mi=JSON.parse(ye.content||"{'name':'','size':0}");ye.fileName=mi.name,ye.fileSize=mi.size;let Ti=mi.name,_i=null==Ti||null===(qn=Ti.split(".").pop())||void 0===qn?void 0:qn.toLowerCase();("mp4"==_i||"mov"==_i)&&(ye.messageType=Yo.Go.video)}else if("at"==(null===(Rr=ye.type)||void 0===Rr?void 0:Rr.toLocaleLowerCase()))ye.messageType=Yo.Go.at;else if("business"==(null===(Kr=ye.type)||void 0===Kr?void 0:Kr.toLocaleLowerCase()))ye.messageType=Yo.Go.business;else if("broadcast"==(null===(Pr=ye.type)||void 0===Pr?void 0:Pr.toLocaleLowerCase())){ye.messageType=Yo.Go.broadcast;let mi=JSON.parse(ye.content||"{}");if("text"!=mi.type.toLocaleLowerCase()){let Ti=JSON.parse(mi.content);ye.fileName=Ti.name,ye.fileSize=Ti.size}}else ye.messageType=Yo.Go.nono;if("Robot"==ye.sourceType&&!C.isEmpty(ye.content)){var Mr;let mi=JSON.parse(null!==(Mr=ye.content)&&void 0!==Mr?Mr:"{}");ye.contentObj=mi,mi.quickReply&&(ye.quickReply=mi.quickReply),"carousel"==mi.type&&(ye.carousels={id:mi.id,text:mi.text,type:mi.type,elements:mi.elements})}return ye}urlToFile(ye,$e,tt){return(0,c.A)(function*(){const A=yield(yield fetch(ye)).blob();return new File([A],$e,{type:tt})})()}base64ToFile(ye,$e){var tt=this;return(0,c.A)(function*(){const Et=yield tt.base64ToBlob(ye,`image/${$e.split(".").pop()}`);return tt.blobToFile(Et,$e)})()}blobToFile(ye,$e){return new File([ye],$e,{type:ye.type})}convertBlobToBase64(ye){return new Promise(($e,tt)=>{const Et=new FileReader;Et.onloadend=()=>$e(Et.result),Et.onerror=tt,Et.readAsDataURL(ye)})}getQueryVariable(ye,$e){try{const tt=ye.indexOf("#");let Et="";if(-1!==tt){const W=ye.substring(tt+1),oe=W.indexOf("?");-1!==oe&&(Et=W.substring(oe+1))}else Et=ye.substring(ye.indexOf("?")+1);return new URLSearchParams(Et).get($e)||""}catch(tt){return console.error("Error parsing URL:",tt),""}}}).\u0275fac=function(ye){return new(ye||Ii)(Ea.KVO($l.J),Ea.KVO(La.h),Ea.KVO(Nn.K_),Ea.KVO(xr.q9),Ea.KVO(xr.OD),Ea.KVO(kr.Ix))},Ii.\u0275prov=Ea.jDH({token:Ii,factory:Ii.\u0275fac}),Ii);Es=(0,o.Cg)([hs.$.RefWindow("common")],Es)},23815:(ge,_,f)=>{"use strict";f.d(_,{v:()=>h});var s,c=f(67376),C=f(31471),E=f(89655),T=f(60960);class h{static get ceBrKey(){return this._BrKey}static get ceAtPerKey2(){return"("+this._AtPer+")(?<id>[\\w-]*)@"}static get ceAtPerKey(){return this._AtPer}static get ceAtEndKey(){return this._AtEnd}static randomInt(v,g){return Math.random()*(g-v+1)+v}static randomRgbColor(){var v=Math.floor(256*Math.random());return{bclolor:`rgb(${v},${Math.floor(256*Math.random())},${Math.floor(256*Math.random())})`,color:`rgb(${255-v},${255-v},${255-v})`}}static getNowFormatDate(){let v=new Date,p=v.getMonth()+1,b="",R=v.getDate(),P="";return b=p>=1&&p<=9?"0"+p:p.toString(),P=R>=0&&R<=9?"0"+R:R.toString(),v.getFullYear()+"-"+b+"-"+P+" "+v.getHours()+":"+v.getMinutes()+":"+v.getSeconds()+" "+v.getMilliseconds()}static uuid(){var v,g,y="";for(v=0;v<32;v++)g=16*Math.random()|0,(8===v||12===v||16===v||20===v)&&(y+="-"),y+=(12===v?4:16===v?3&g|8:g).toString(16);return y}static MD5(v){return C.MD5(v).toString()}static isNumberNull(v){return!(!c.isUndefined(v)&&!c.isNull(v))}static isNull(v){return!!(c.isUndefined(v)||c.isNull(v)||c.isEmpty(v))}static isBooleanNull(v){return!(!c.isUndefined(v)&&!c.isNull(v))}static getImage(v){return new Promise((g,y)=>{const p=new FileReader;p.addEventListener("load",()=>{g(p.result)}),p.readAsDataURL(v)})}static getBase64(v,g){const y=new FileReader;y.addEventListener("load",()=>g(y.result)),y.readAsDataURL(v)}static blobToDataURL(v){return new Promise((g,y)=>{const p=new FileReader;p.addEventListener("load",()=>{g(p.result)}),p.readAsDataURL(v)})}static dataURLtoFile(v,g){for(var y=v.split(","),p=y[0].match(/:(.*?);/)[1],b=atob(y[1]),R=null==b?void 0:b.length,P=new Uint8Array(R);R--;)P[R]=b.charCodeAt(R);return new File([P],g,{type:p})}static isSNOwner(v){}static isNormalService(v){var g;return"normal"===(null===(g=v.serviceNumberType)||void 0===g?void 0:g.toLowerCase())}static isBossService(v){var g;return"boss"===(null===(g=v.serviceNumberType)||void 0===g?void 0:g.toLowerCase())}static isProfessionalService(v){var g;return"professional"===(null===(g=v.serviceNumberType)||void 0===g?void 0:g.toLowerCase())}static isTenantService(v){var g;return"official"===(null===(g=v.serviceNumberType)||void 0===g?void 0:g.toLowerCase())}static isManagerService(v){var g;return"manage"===(null===(g=v.serviceNumberType)||void 0===g?void 0:g.toLowerCase())}static second2time(v){v=Math.round(v);let g="",y="",p="";var b=Math.floor(v/3600);g=b<10?"0"+b:""+b;var R=v%3600,P=Math.floor(R/60);y=P<10?"0"+P:""+P;
1var O=Math.ceil(R%60);return p=O<10?"0"+O:""+O,b>0?g+":"+y+":"+p:y+":"+p}static isJson(v){v="string"!=typeof v?JSON.stringify(v):v;try{v=JSON.parse(v)}catch{return!1}return"object"==typeof v&&null!==v}static getVideoWidthHeight(v){let g={width:0,height:0};return new Promise(function(y,p){let b=document.createElement("video"),R=URL.createObjectURL(v);b.onloadedmetadata=function(){URL.revokeObjectURL(R),g.width=b.videoWidth,g.height=b.videoHeight,y(g)},b.onerror=function(){p(!1)},b.setAttribute("preload","auto"),b.src=R,b.load()})}static durationFormat(v){v=Math.round(v);let g="",y="",p="";var b=Math.floor(v/3600);g=b<10?"0"+b:""+b;var R=v%3600,P=Math.floor(R/60);y=P<10?"0"+P:""+P;var O=Math.ceil(R%60);return p=O<10?"0"+O:""+O,"00"==g?y+":"+p:g+":"+y+":"+p}static isInMembers(v,g){var y;return(null!==(y=g.findIndex(b=>b.id==v))&&void 0!==y?y:-1)>=0}static enumMsgType(v){let g;return g=v===T.Go.system?"System":v===T.Go.voice?"Voice":v===T.Go.image?"Image":v===T.Go.sticker?"Sticker":v===T.Go.file?"File":v===T.Go.call?"Call":v===T.Go.date?"Date":v==T.Go.at?"At":v==T.Go.business?"Business":v==T.Go.template?"Template":v==T.Go.carousel?"Carousel":v==T.Go.postbackaction?"Action":"Text",g}static toWAV(v){return AMR.toWAV(v)}static convertAudioBlobToAmr(v){return new Promise((g,y)=>{var p=this;this.readBlob(v,function(b){p.getAudioContext().decodeAudioData(b.buffer,function(P){var k;P.copyFromChannel?(k=new Float32Array(null==P?void 0:P.length),P.copyFromChannel(k,0,0)):k=P.getChannelData(0);var O=AMR.encode(k,P.sampleRate,7);g(new Blob([O]))})})})}static getAudioContext(){return this.gAudioContext||(this.gAudioContext=new AudioContext),this.gAudioContext}static readBlob(v,g){var y=new FileReader;y.onload=function(p){var b=new Uint8Array(this.result);g(b)},y.readAsArrayBuffer(v)}static getMediaTypeWithExt(v){let g="image/jpeg";switch(v){case"jpg":case"jpeg":default:g="image/jpeg";break;case"png":g="image/png";break;case"gif":g="image/gif";break;case"webp":g="image/webp";break;case"mp4":g="video/mp4";break;case"webm":g="video/webm";break;case"ogg":g="video/ogg";break;case"mp3":g="audio/mp3";break;case"wav":g="audio/wav";break;case"amr":g="audio/amr";break;case"aac":g="audio/aac";break;case"flac":g="audio/flac";break;case"m4a":g="audio/m4a";break;case"opus":g="audio/opus";break;case"weba":g="audio/weba";break;case"mov":g="video/quicktime";break;case"avi":g="video/x-msvideo";break;case"pdf":g="application/pdf";break;case"doc":g="application/msword";break;case"docx":g="application/vnd.openxmlformats-officedocument.wordprocessingml.document";break;case"xls":g="application/vnd.ms-excel";break;case"xlsx":g="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";break;case"ppt":g="application/vnd.ms-powerpoint";break;case"pptx":g="application/vnd.openxmlformats-officedocument.presentationml.presentation";break;case"zip":g="application/zip"}return g}}(s=h).APP_NAME="aiwow-app",s.AiwowLogo="",s.CP_TENANTLIST_Q="/openapi/tenant/list",s.CP_OTP_V="/openapi/account/login/checkcode/validate",s.CP_OTP_SEND="/openapi/account/checkcode/send",s.CP_OTP_Validate="/openapi/account/checkcode/validate",s.CP_LOGIN="/openapi/contact/login",s.CP_CHECK="/openapi/account/login/device/check",s.CP_REFRESH_TOKEN="/openapi/token/refresh",s.CP_ROOM_LIST="/openapi/chat/room/list",s.CP_REG="/openapi/account/register",s.CE_LOGIN="/openapi/token/apply",s.CE_TENANT_EXTERNAL="/openapi/servicenumber/external/list",s.CE_REFRESH="/openapi/token/refresh",s.AVATAR_API="/openapi/base/avatar/view",s.CE_CHAT_ROOM_ITEM="/openapi/chat/room/item",s.CE_SERVICENUMBERITEM="/openapi/room/servicenumber/item",s.CE_STICKER_PACKAGELIST="/openapi/sticker/package/list",s.CE_STICKER_ITEM="/openapi/sticker/item",s.CE_STICKER_LIST="/openapi/sticker/list",s.CE_CHAT_ROOM_OFFLINE_MESSAGES="/openapi/user/offlinemessage/list",s.CE_CHAT_MESSAGE_LIST="/openapi/chat/message/list",s.CE_CHAT_MESSAGE_SEND="/openapi/chat/message/send",s.CE_ROOM_MSG_SYNC="/openapi/base/sync/message",s.CE_BASE_UPLOAD_FILE="/openapi/base/file/upload",s.CE_CHAT_MESSAGE_READ="/openapi/chat/message/read",s.CE_CHAT_MESSAGE_RECEIVED="/openapi//chat/message/received",s.CE_MSG_READING_STATE="/openapi/chat/message/readingstate",s.CE_ROOM_STATUS="/openapi/servicenumber/chatroom/status",s.DEFAULT_AVATAR="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAcuElEQVR4AcXB2ZNc53nY4d/7nbXXmemZnn0wWAcECIILuEikRcmWaMtWnHJcFS/lqlR8m1TpLhe5413+g9ylkotUJeVyqrzJS0ItpgBK4iJiBwhgAAwwmMHsS3ef7j7nfN8bDKABQQggQZCgn0f04jeVfyGq4JyyxRhhS9p1ZJkjy0AAP4QwMASBQQxfOZ9/IWnqWFvJWFvNMQLVXh9V5crFDhvrOe3EISIUiobagM/4johaPSSKDCJ8ZXy+QuoU6yDPHBfOJZz8oMXyYo6glHsM6mB12ZFn4FQBwRgIAmGgnjD1dIH9TxcZGAz5qvh8BZyDJMm5eDZhZTFjczPn+tUO66sOVcE5ZXUFRARVbhNAjMECWapcS5SFpYRrMyn/6g9rFIoezirGCJ4viPBE+DxhzioL8ymnjzc5/WGbTsdhLdgcnANVizrACHcIWxRFnUXEoMZntTDCYmmSGzfm6P/JApUen3biiAuG8cmI4dGIMDJsyZxgRPDE8UX5PGGNhuXDdxucOdEmaSkfE4zxcE5wWIwYjBFA2OacI8ewWhjl3cl/zdXB59m79AHDv/iveKJYawgCYWS8w8uvVdh3oEiuHsdvVgmigKdrq4TG8kX4PEF5ply5mHDhXId2ojyIMQZV5Q7hXllQYqb6FB+MfZcro6+QEtLp9ZkK/5mRxkVi1yXPDNcup/h+k/7hmMudGv/lnf3o+D7+09RRXu67RmAsj8vnCUm7jpnpNh++26Cx6VDloYwxqDpAAWFLZkIu1l7kvcnvMVd/msx6kHRo2SJvj/8Rzy++xdTqe0Q2gdywsphzed7jLxYmOLq+D1t/jon5NrtKq4zGGzwuwxOgCos3U959p8HsTIazymdRPqYYFoo7eW/8d7lRP0jmRdBNIcsBZa64m+OD32a5NIk6xVpLZpX35vr4p/l9rMU72HQlftbax5Wkny/C5wnodhxnT7W4Op2S5YoRQYSHEhEMBhAUYSUe5ie7/oRroy+gzsFGA9KcbbkaZgu7OVH/JgPJdZxTzuoBjs7+AYulPagJkHbK9aCfS0mdr9euYFAeh88TkGeOdktxFgRBVRERPo2IcJtA14Qk3RyW58AqdHPwAvAj8DwwBmcd68EAG2E/N6Mx3h/4DkuFXah4oAq5pZ37XGn307U+BS/jcfg8AcYTwlAQAyKCU4eqIiKA4MTgxODEJzcBmQSo+DgRFCGXgIHNKyxTJiUAq2ACCAsQl1DxEHU0TJXTtde4WtrPQrwDMotJM3AKXZ9OUOHU2hDr3Yi4mCF8fj5PQBQbJnZFXL7YYXnJYSWkRcRmPEgz7GMzGmAz6ifxK3RNgcxEWOOhYlAVVAzNSh3XOw5dC0kXnEOcBQWxOaiwUhpjM6yRWYNiuE0MGAUB62CmU2O5W2Ko0EJE+bx8ngDjCUOTZerPVvjlyV5umHFWw0FWoyFyP0ZUCVyHyHaIbJtKtobvMtAc55T1whA3/b3kYRHIIHVgLYiAc6AORHCeT2pjwKHGQ0RQI6jnQRgicYH
15vMa55jD7qqvEXsbn5fMEZLnhTGeCHxSf59honTSFQt5kNLlKb3eZnnSZUrZOZDsEtouvOaIWVUvulBuV/Sz0TNHRQQh88A04BwiIgK+EtolJfVLn40yA+h6I4TYxEIdo4NPoxqykJZwKj8PnS6IKeaasr+dcuWR5+3rOzEaTpxoXGWpepae7RCnbwFOLoIDyIKpQz5bo6yywku6BKADfh8yixoAogV3nQPMkk80ZLvq7mC4/TbfQjwYRiEDgQyHG2Jxd4SLP9s4RejmPw+dLsrGeMzPd5cKZDosLStA+w6vpWbysjecyBOVRiBF6pMNItsCVrIuNQyjEkGWQdYEGgVOG2os81/yQAWbYTB2z5aegOgjFMhQi8Axx3uH1vos8VVnEE8fj8PkSdDuOYz/a5Op0l04iqDPYbpPIKqB8Hp4RYt/R11nAz7tYVwbfg9CAbYJTPI0I8i7Gpoz4a4zks8w1qlhrobgbohCxln7T4NX+K/QEHYTH4/MFtBPH9IUO7x5tMDebEYUhvu+RtDtY63gccRwi5IxsnKNn8wpLBrQQgDZAQ6CIp8sEeQebZVQ85ZBe5nowxHxiYLME1TJ0OuQsstZxpM6j4Dkeh+Expaly6Xybd482WLppKRZiPM/Q6aTk1vK4PM/gVEnF4OhAugaNVWgDWgAMvkuJbYI6B85RT1eZYBGvKNBpwMYa2lljuWP4p7m9LCUFlMdjeAxpqly+0OYXR5usLilRFGGtJWl3ybKcL8L3PaxVHAFCCdES2BJoAfDY0t+Zp6+7hMGhKKU8YU8yS7kcQMlAvgyujZcHdGbWmZtukHaUx2H4nGyuXL3U4edvN9lYFXw/IO1mtNspNreoKo8rDANAyNOMkdZVXrn5FpOb08S2y7bApTy/9BP6ujcxKOpArGUkWWA4zzDREJheytbn8PpppqZ/xImf3OTiuTZZqnxePp+DKizczDj5QcLqsiLikSRd8tyiqnwRnu9RLsckSRvrLLEmHFp5h8H2dS72Ps/p/ldJ/Ap7Nk6ya/M0vstQEVQdqKOYNxhuzXK18gwqhiNLb/P85rvU0gWWb6Ycf79JueoxuTtChEfm8zl02o4zxxNmr2bY3JCmXfLc8mUIfA+n0O1moNyixLbFRPMCtc5NPM2ZK+3ihcUfEtoOWxTFOWWL5zKGk6vUugsMtOd4af4fqGoL3whWhdmZlJMftOiv+1SqHo/K5xHZXLk63eHcqTatlsU5xTnly5KmOVmWo8oniDrK2QbPL/6IPeEAg+3r3KVgnUMAQdnRuMA3Z/8P/Z05ytkGDsiNwXhCljounksY2xFy+IUSQSg8Cp9HoAqbG5ZzJ9tsrmdYByhfKuccWzxPQAVFcaqg3KJU01Uq2TpGLfdSpyDcVsw22LfxIcY5tjnnAAMIrZZy7lTC2I6QoZEQET6T4RFYq9y8kXLjehdrAeWJEBFK1V7CyCcIA4wxbBMUo5b7KaDKbYLiuRzBcS9V5TaFxfmMG9dSslR5FIZHsL5iOXU8YWPd8iSFcZEjv/kHlMoVojDAMwZEuJ8IH1NFVfk0qopzji2tpuXMiYTlxYxHYXgEy4sZSzcznFUeSkBEEBEeJggjPM/nYWyeURuaoNLXTxB4GCPczxghCHyCwMcYw4N4xuD7HsYY7qWqOAerSzkLN1MeheERXJ3usLmeo8pDeZ4hDH3C0Mf3PR5kcGIPtaFxjPF4kDzLQAyDE3uJ4hjfMwifpAqV3l6qvT2EoY+IcC8/CCiUikRRgO8bRPg1zaZl5lKXR2H4DNYqF8+3SVPlXsYYgsBHjHCbgu97FAoRcSHE8wz3qw1NcODl36LSV+fBlLkrHzE8eYBqXz9RHGKMcC9VZe/hV5nYe4BiqYgxwjYRQ21ogqeOfIMoDPCMAYT72VyZvtghz5TPYvgMK0s566s59wpDn0qlQBj5CMIW4wWEcYkgCIjjkCgKERHu1dpYZWhiL/tf/CaFcg8iwv2uXTyFVcPgxBTFUpEg8LjfUy99mx1Tz9JT6yOMAkSEbX4QMrrrAHGxiPEMD9NqWJYWMj6L4VNYq8xe6+IcdxljKBYjCoUQ5yCIYoIwIohi6hNTVPrHiMKQcjkmigJEuGt5fob1pTkOvfIGT734LUo9NUQM91q+cYVrH52kb2QvAyPjFIsFxBjuVe4dYnz/S4zveZpqtYzve2xRVVqba2SZpTY4TBgGiAgPogrzN1KsVT6N9+b3d77JQ7QTOHuizY1rXbaICKVSTLlUoJvmBHEPz3z9DWqD4yzPz1AbHGffc7+BZwyiOYEv5HmOtQ5VyNIuSWON4R372H/kdUo9/WSdNmknQdWxxeYZjfVl4lIPQxO7cVlCu7lJluVsG5rcx+ieQ1RqQ9jOBmmnSbfTxVpLnnZREXbsnaK5tkDSamGt40H66z7jOyKCQHgY783v73yT+zg1NDoVltbKTF/2WFtKAEehENLbW8Jah9WAQ698h+e+/juMT+wjWV2m1digt7fO7n0vUKnUiKOIwAdVi3OOPM9ptzZprq8wOLGPXQePMLbnIOWefqK4RFgo4YcRfhhhrWV45wEGhsewaZMkaWKtQ53D5hm1oR0MTuyl2j9C6BvytEknaZFlOY31FXZMPYPRlMbGOt1uyoP01Hx27o6JC4aH8bmPIjQ6Vc4vPE+j048ZSykuHUNXL9HXE2OtpZvC7oNHOHj4NUomwnmGl7/2e6yuzmOdpRiW6NtzhNHx/ayvzXLzxkfcnJ1maWEeE1YI4wKNtSWGJ/czsusg/cM7aW2ukjQ3SJoboA4/jOgbGCUMfYrVGnH5x6yvNViav8GNy+c4eezvKff0UatPEj77W/SUapyP32bm6jTNZsLs5QsMjwzTW5uj1UzIc8v9um1H2nWoeojwQD6fIDh6WE6eockrlOs1KoNCt+1YO7VBo7VKtTbKb/zmG0wdfBGssjA/x+z165w8dZLFlWUaSUIQBgz0DzAxsYN9+/bx1Et/yEu/XSM3ljzrYvyQQnUQP4hAhLhcJS730I8CAih3qbK3NsKOg7/B5vIMIh5rCwtsLMwxd+oDdGwP6qC3by8vv76Tw0dWaG4ugRfTNzRCb7WO7/2YudkbdDpdVJVtnbbS7SifxudeEuPMM+Tes4gJ2CYieFGRoYkdPPPitxgd34da5cyZ0/zsZ8e4ev06fqlK3+AIu/YP4PKU9eUl3j91khNnTvPUvileeOlFpg4/R6lnCDwfEBB+RbhDuEO4Q0EAFcJildrofmynRSEoUy72cX3mKm8fO8bq6hqdThvfM/RWqgwNDDC1fyfV3j4q1RrOKchR5q5fpdNJUVW2WOuRuyLgASmg3M/nLgFvFGeOYPMqIGzzg4Cp577O4edeordvkHYr4Zfvv8vf/eDvMIUyL3z7e7z27e/SW+vHGDh57P/x9t//FRsLszSbTWYunuPMqeP8+X/4j+zcd4CwVAUjgADCXSLcpsodwh0KquAUl+X88v33OX78Q2bn5vHDiFJPL2FcYq3Z4sLsedqbG+w9fYojLxzh0OFn2XXwNfBjrL7F/LUrpGmGqmK1h9z/Bi4KMflxxC0Dlnv53GVQbw/ODmKzBBEP4Q7jeQwMjVHu6afZbPLL997lb//mrxnec4Df/9N/z96nDhIEHkEQ41QZmZxCc0tnZQFflNw6ps+d4H//j//GH/zJn3HwyNfwowKfIAIIoCACqtzLOcvq4hzvHX2bv/xf/5PG5gZxoUBtYIDxiWFe/94fUp/Yy/rqKjPTl3jrr/6Cv/zbv+HytRl+93u/z55Dr1LoGeCDn/4D16fP0G0nQIRjL85MIdEopG8hdhZQtvlsEwOmD80DVAQRYZtai6qyvr7GqQ+P85Mf/pCw0sfv/+mf89Shw2SdBtc+OsXwnsOEhTJhGFEpFqgWAwyQ5pYky7lw9iQ//dEAI5N7qI/t4NcpD9NcX+Xoj/4vb/3gb0lWF4k8wevkNBZTPPMSg6OT1IdHGRgcZnL3XsYnd3Hsrb/nw6M/IowLfOe7v8P4nmcICmXcP1pmPjqJiMFgcKmPhPsx/gLilkHbbPP5BAMYHFuEbc5Z1DlWlpc5deIE8zcX+O0/+nfsf/oZjMCN8+9z9p0fMDv9EaZY5/Kp91m5Pk0p9Ag8Q9IVnCorScL5kx9yY+YSA6MTiAgPpPyKskWd4/KFM/z0h//I0vx1KpFHHHh4RjBhSH1ohHJvPyB0m+u0NlbYf+gwff0DZFnGO0d/SLFc4sgrr9BXH6VaG0SMwfN9vDjCRAFqPdTbDeZDsG22+dzlwC2D6eIURARE2KI2x/c9BkdHKZSKVGsD7D/0HGEU0VpfZv7SSW5On+H4O8e4tpDguh1KAVQiHyNgDIgIqkpjY5WbN2Z4xlo8X7hDQJVPUu5QOp2EE++9w9y1GYwqhdCjHAUEntCxORc/OEalVqc+Nk5z/gKN5Rm+9Wf/meHRMX773/wxH538kLf/+cfExSIHDx8kz1JQJSqWiQolJAgAC9KHSg/CPNt8tqlF7BWQ
1p1GpgAjbbJ4DSm9fjYOHn2VlIyEuFNni8pSs00KtRTQlazdIU4tHgCfQzYU0d3Rzi6rimxyXd1FVPqaAcIfyMQVVOkmTpbkZ8iwlMB5GBCNgRMBZrp47yeXpy/TUqoz3B1QqRZaunWfHwVcYm5hkz8FnOHnsh7S7HXzfJ8+6qCrlnhrFchURgxoFhPsZ7mXnID+F0wYiwhZVBZeDcxhjmJjcSa2/RjtpscUPIoIwRoxQjAL6qiFWlXaa0+hkbLZzmt2cdmrxjKNS9ClXezDGgAKqgAIKKB9TUG6zNsflbQwO6xxp7uhkliS1dHNLu9tlZXmRjcVZ0qRBnnZorS+h6giCgP76EANDw+w/+DSFYpE8S1F19PQPEhVK3GYE6IAm3MtwL02Q7s8hPQs4tlhrcTZD1bFl5549fO21V7l57TLNzQ3iah+7nv9NwrhIqVJmbKjKzpESUSh0rSXJUlKbEgY5k8MRB559nj1PH8EYAyi3OYU8Q7MuOAuqoNwVF0oMj43RVzUgls12ykqry3Kjy2orJUkthchjuL9AGPqgSrl3EMSQ25w8Tzn07LPs2L0Lm2d02wmosnP/YcIwRlURSRB7FnFL3MvnPiIW3yRkaYI6JctTbKeJupwtnuexd98+rF7ixsxldk0dYHj3Icb3v8DC1bNgPBQoRB7tTkpmLUaUIPQY3TXF0698h1p9GFBAAEVdDlmGuhz1AiQIEWO4Q4kLRXbuf5bpUz9HdIlm25FZBSwiQrnkMdBToFyKCaOYYrVG//g+tqyvriA248ChQxSLJZqrC9gsxQ8i6mM7QQQhRfKLmPwsaJd7+dwn8DLGeqbpLBquXlR8P4PGNOr2sq1arXLgwH7mF1eZu3aFgaExDn/7j7ly/CfMXzlDpbFGJ0nIspTc5mA8omKV5177HlOHXiaOi6AKwm0igO8DHgi3KKBs832fqcOvMH/tAsHxo6wvLWGtAoYw8CkWQkrlEpXePnpqg+x76TsUKr20kxbXLp1n396d7Jvaj+d5ZN02eZZSH61TLGWIuw72Kqb7DthZwHEvn/t4xlKv3MTLbzL903mWVzrs3rcb3zdsE4FKpUwUhaxvtlievURc6WPH82/QMzbF2tI18qyDGsFZJQhiBupj7Np7kDCMAOE2VbaoCHgCCKAIwm3KLcqW+vA4r333j+kdGuXK6V9g0zaiimcMQRgRF0tUa0PsfPpVdj77OhvrayzcuEophMnDhykUYrak3Q4iGbt253jt/w6aIm4NtAko9/N5ABGlXLSMDCvTZ9d58WsB/fUyxgh3KQR+QH9PlSzLabUb4IRq7xDFci/WZggQRRGlYolCoUQQBtyhgLBNEO4Q7lLlXp7nMTy2i2K5Sk//KEmyAaIYdRiFqFChf3QPvUO76HQzWhvzlAOld8c4cRSyzWZdiiXH6LhD8suAAsrD+DxEEBomd5c4/oHPyvIGB8odjHGAAgJOQRUDRL5HWCqgTnHcIkUwBuN5GN9HjEG4RQFRQADlkwRQPqZ8kuJ7HrVancNHvkGz1aCVJGRpihGPICoShDF5u4UnjnqlQBSFGM8Aym2qqGb01w0DgwHg+Cw+D2GMMDZR4oWX+nnvZzOM7nybg5U9BMUJUFBVsA6coqrgFAE8IwgCImwRVVAFERRFlDuEXxHuUB5MuU25RdlSKBQoxDH9vQ61Oeoc6hyiIKIYIyAGUNQ5xAiggNLbZzj4TJGevg6PwvAp4oLHkVcGCEPLB0d/zvyVo6htgyqognOotWieo3mO5jmaWdQ6sBacgiqgKMoWZYuCKqiCKqCAAgoooICCKqiCKqAooGxRUMWgGAEP8AEPh1EF68BasA6cA1VAQRMGBxaYmIQwEB6F4VOIQKUn4MWvD7C2vMb7//xPNNcuoi4H50AVdQ61DrUWtRacQ60FVVCHqoIqotyigKLcS0EVFFBAAVVQBZQtyjYFVW5TRdWBdeAsai0ut7g8x+U5ai04B+pQVVCL2GsEnMb3UxAeiffm93e+yacQgeGxmGqPz/FfzDBz8TyVnhrlyiBGDDgF58ApOGWLeAYVgxgBzyAiIAIICHcJggICKCCAcodwh7JFuU25RUEV1IFzYC2aW9RayC04B6psE24Ri9jzeJ2/BnsdUB6V4REEgcfUgR6+/q0668szHP3Hv+T8iXdoJw1UFRBAQQDhNuF+CiiognKbomxR7lA+poCigHKbcovyMQUFVEEVnKLOodah6kAVVQW1SD6D6R4DOwson4f35vd3vslnEAE/MNQHY4plw42ZOT46dZZu0qFQLBNGBTw/ABHEGBCD8QwYA55BRECEO4RPUm4T7lDuofw6BRRUwTmwDpyCKqgCCiKIEcQ4jMxisv+H2HNAl8/Le/P7O9/kEYhAEBgGhwqMjEXYbIPzJ05y6dwZVpduUihX8QIfLwjxAh/xDHgGjJBZS6fbxVqLcwqqiICgaJZDnoN1YC2iDpwDERABlAdSBVVwDlBQblEwgoggXhvDRxj7FuLOA10eh8/n5PvCyFiBnt4hxnc0+OjMHFcvzHJj5hT1kT2MTu5naHwv1f46cblK6oSPrsyysLyG8Qxh4BNHMeOjg4wP1QnaHVzSAQFB2CKBj+mtQuBzl3KLcoeCcIcIiCCegBggR2hi9OcYdxrReSDjcfk8Bs8TKtWAQ8/1Mbm7zMJcmxO/vM7i7FWuXvwZYVyn2jdIb30UVxrmo4WU9WabLUYEz/PYtWOMN15/mbF6PyYMEFWUW5wivgeeAZTblHsod4mAJwgGRBHpgLuG0dMY9x6QAMoX4fMFeJ7Q2xfS0xsyuafM5kbOwk3D3FyF5eUON6+dYzW/wXowgRWfu7KcpeVVGs0EhgcxRZ8twn2UW5RfpyAgRlAUtIW4ecR9iHFnQZeBjC+Dz5dABOLYI449BuqGqYMRaT5Okk5wYTbmpyeWWN3o4JxjWxxHxFGICLcon035BLWgmxg7g2TnIb+AuHmgCyhfFp8vmTGOyGwQBW3KxSXCaBiVMteXR1jfFNrdLs45DkztpL9WBZRHovyKgjYhv4jJTiP5JXCroG3A8WXzeSIU6CK6QF+8wOsHQaUA4cuoP4maUTA1MAZQQHgwB64F2kDsCrh5JL8G2S8RbfNV8PmKiLahewzJjqOmH8wIBE+h4RFUSqAORcEpiCAiiG4i3Z9BfhFxS6Dr4NqA5avi85WyqGsgrgHMAhkaHUK8PlQVnEONgoCIAZsg+WnIPkJRtgiOr5LPVyhxu8gYwLglBB/jjxMRI+IjxiAetyioA3U4W6BtJ7BZhkoBY3wirhCYdQTlq+DzxAlWI7q2h3bp3+IVdtFYv0ZkPArxACoVBAUcYADlDgVTw0Vv0LJreIU+wtBnY/M9SpzA1wV8NjCS8iT5PEGKkLk+2vIsG/oU9f5vEEYFMP2YtEEYBhjjgTrAABZQUAVVxPiEYZ3I1Cn2DuL5Hiu2hkZfo9O+iGm/S6yn8CUBlCfB5wlRPFKtk4S/R9j3W4RtQ1woISKUKr001zK6eUYkFmMMKL+ioIqi5LmlYyEs9RLFMVuMF1OqTWDtfrqtIySrf0ec/ZhQlnkSDE9I6npJgjco1H+PYnWUMIyx1rIlCAIKlT5SQpJuTpblqLOgFlWHc5ZumpHk4BWqFEplRATnHMYYQPC8kEJlB37td0n9p1H1eRIMT4BiSGUCv/I1omINEUOpVKLVarEtimNKPX1oVGGjY9loJeQ2p93tstbq0NGAqNJPoVzF8zy2WGvxPI8tqoqqEsRDaLAHS8yT8P8BqC8mBmN94VsAAAAASUVORK5CYII=",s.anonymouseUser={id:"anonymouseId",name:"\u533f\u540d\u7528\u6237",avatarIdUrl:s.DEFAULT_AVATAR,userType:E.bH.anonymouse},s.Cache_Item="Item/",s._BrKey="\x11",s._AtPer="\x12",s._AtEnd="\x13",s.ttlTenYear=31536e4,s.ttlOneYear=31536e3,s.ttlOneWeek=604800,s.ttl4Week=2419200,s.ttlOneDay=86400,s.IMAGE_MESSAGE_MAXSIZE_NORMAL={width:220,height:220},s.IMAGE_MESSAGE_MAXSIZE_REPLY={width:75,height:75},s.VIDEO_MESSAGE_MAXSIZE_NORMAL={width:220,height:220},s.VIDEO_MESSAGE_MAXSIZE_REPLY={width:75,height:75},s.navigationExtras={skipLocationChange:!1},s.businessButton={btnBusinessLine:"186fddf9-9dd0-0cc5-38c5-300ed512727a",btnOtherContact:"186fddfe-7db0-0cc5-38c5-300ed512727a",btnDownload:"186fde0a-6600-0cc5-38c5-300ed512727a",btnSave:"186fde0c-7770-0cc5-38c5-300ed512727a",btnShare:"186fde0e-11d0-0cc5-38c5-300ed512727a"}},47046:(ge,_,f)=>{"use strict";f.d(_,{CA:()=>u,Mi:()=>v,co:()=>g,es:()=>s,nq:()=>C});var o,c=f(21413),C=function(y){return y[y.add=0]="add",y[y.confirm=1]="confirm",y[y.refresh=2]="refresh",y[y.update=3]="update",y[y.contentUpdate=4]="contentUpdate",y[y.lastMessageUpdate=5]="lastMessageUpdate",y[y.updateRead=6]="updateRead",y}(C||{}),s=function(y){return y[y.beforeLogin=0]="beforeLogin",y[y.logined=1]="logined",y[y.register=2]="register",y[y.logout=3]="logout",y[y.forceLogout=4]="forceLogout",y}(s||{}),u=function(y){return y[y.open=0]="open",y[y.close=1]="close",y}(u||{}),v=function(y){return y[y.aiServiced=0]="aiServiced",y[y.noAiServiced=1]="noAiServiced",y}(v||{});class g{}(o=g)._loginAction=new c.B,o._ceSwitchChanged=new c.B,o._ceApplyChanged=new c.B,o._roomChanged=new c.B,o._messageChanged=new c.B,o._stickDownChanged=new c.B,o._networkChanged=new c.B,o._themeChanged=new c.B,o._notReadNumChanged=new c.B,o._roomAIStatusChanged=new c.B,o.processMessageEvent$=new c.B},55544:(ge,_,f)=>{"use strict";f.d(_,{S:()=>s});var c=f(60177),o=f(67376),a=f(54438),E=f(69465);let s=(()=>{var h;class u{constructor(g,y,p,b,R){this._toast=g,this._modal=y,this._alert=p,this._load=b,this.document=R}showToast(g,y={header:"",message:"",duration:2e3,position:"top",icon:"information-circle-outline",color:""}){var p,b,R,P;this.closeLoad(),this._toast.create({color:null!==(p=y.color)&&void 0!==p?p:"primary",message:g,duration:null!==(b=y.duration)&&void 0!==b?b:2e3,position:null!==(R=y.position)&&void 0!==R?R:"top",icon:null!==(P=y.icon)&&void 0!==P?P:"information-circle-outline",buttons:[{icon:"close-outline",role:"cancel"}]}).then(k=>k.present())}showSuccessToast(g,y={header:"",message:"",duration:2e3,position:"top",icon:"checkmark-circle-outline",color:""}){var p,b,R,P;this.closeLoad(),this._toast.create({color:null!==(p=y.color)&&void 0!==p?p:"success",message:g,duration:null!==(b=y.duration)&&void 0!==b?b:2e3,position:null!==(R=y.position)&&void 0!==R?R:"top",icon:null!==(P=y.icon)&&void 0!==P?P:"information-circle",buttons:[{icon:"close-outline",role:"cancel"}]}).then(k=>{k.present()})}showErrorToast(g,y={header:"",message:"",duration:2e3,position:"top",icon:"alert-circle-outline",color:""}){var p,b,R,P;this.closeLoad(),this._toast.create({color:null!==(p=y.color)&&void 0!==p?p:"danger",message:g,duration:null!==(b=y.duration)&&void 0!==b?b:2e3,position:null!==(R=y.position)&&void 0!==R?R:"top",icon:null!==(P=y.icon)&&void 0!==P?P:"information-circle",buttons:[{icon:"close-outline",role:"cancel"}]}).then(k=>k.present())}showLoad(g,y){this._load.create({message:g,duration:y,animated:!0,spinner:"circles"}).then(p=>{p.present()})}
1closeLoad(){this._load.getTop().then(g=>{!o.isNull(g)&&!o.isUndefined(g)&&(null==g||g.dismiss().then(y=>{y||setTimeout(()=>{this.closeLoad()},1e3)}))})}showConfirm2(g,y,p="\u78ba\u5b9a",b="\u53d6\u6d88"){return new Promise((R,P)=>{this._alert.create({header:g,message:y,keyboardClose:!1,backdropDismiss:!1,buttons:[{text:p,id:"confirm-button",handler:()=>{R(!0)}},{text:b,id:"cancel-button",handler:()=>{R(!1)}}]}).then(k=>k.present())})}showConfirm1(g,y,p="\u78ba\u5b9a"){return new Promise((b,R)=>{this._alert.create({header:g,message:y,keyboardClose:!1,backdropDismiss:!1,buttons:[{text:p,id:"confirm-button",handler:()=>{b(!0)}}]}).then(P=>{P.present(),this.closeLoad()})})}showAlert(g,y,p="\u78ba\u5b9a"){return new Promise((b,R)=>{this._alert.create({header:g,message:y,buttons:[{text:p,handler:()=>{b(!0)}}]}).then(P=>{P.present()})})}showAlertWithSubTitle(g,y,p,b="\u78ba\u5b9a"){return new Promise((R,P)=>{this._alert.create({header:g,subHeader:y,message:p,buttons:[{text:b,handler:()=>{R(!0)}}]}).then(k=>{k.present()})})}showModelFull(g,y){return this._modal.create({component:g,componentProps:y,animated:!0,showBackdrop:!1,keyboardClose:!1,backdropDismiss:!1,cssClass:"modal-full"}).then(p=>(p.present(),p))}showModelCenter(g,y){return this._modal.create({component:g,componentProps:y,animated:!0,showBackdrop:!1,keyboardClose:!1,backdropDismiss:!1,cssClass:"ceMVModal"}).then(p=>p)}showModelSheet(g,y){return this._modal.create({component:g,componentProps:y,animated:!0,showBackdrop:!1,initialBreakpoint:.3,breakpoints:[0,.3,1]}).then(p=>(p.present(),p))}closeModal(){this._modal.getTop().then(g=>{!o.isNull(g)&&!o.isUndefined(g)&&g.dismiss().then(y=>{y||setTimeout(()=>{this.closeModal()},1e3)})})}dismissModal(g){this._modal.dismiss(g)}}return(h=u).\u0275fac=function(g){return new(g||h)(a.KVO(E.K_),a.KVO(E.W3),a.KVO(E.hG),a.KVO(E.Xi),a.KVO(c.qQ))},h.\u0275prov=a.jDH({token:h,factory:h.\u0275fac,providedIn:"root"}),u})()},88654:(ge,_,f)=>{"use strict";f.d(_,{k:()=>qt});let c={};function o(St={}){c={animate:!0,allowClose:!0,overlayOpacity:.7,smoothScroll:!1,disableActiveInteraction:!1,showProgress:!1,stagePadding:10,stageRadius:5,popoverOffset:10,showButtons:["next","previous","close"],disableButtons:[],overlayColor:"#000",...St}}function C(St){return St?c[St]:c}function a(St,lt,yt,Ft){return(St/=Ft/2)<1?yt/2*St*St+lt:-yt/2*(--St*(St-2)-1)+lt}function E(St){const lt='a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])';return St.flatMap(yt=>{const Ft=yt.matches(lt),rt=Array.from(yt.querySelectorAll(lt));return[...Ft?[yt]:[],...rt]}).filter(yt=>"none"!==getComputedStyle(yt).pointerEvents&&function u(St){return!!(St.offsetWidth||St.offsetHeight||St.getClientRects().length)}(yt))}function T(St){if(!St||function h(St){const lt=St.getBoundingClientRect();return lt.top>=0&<.left>=0&<.bottom<=(window.innerHeight||document.documentElement.clientHeight)&<.right<=(window.innerWidth||document.documentElement.clientWidth)}(St))return;const lt=C("smoothScroll");St.scrollIntoView({behavior:!lt||s(St)?"auto":"smooth",inline:"center",block:"center"})}function s(St){if(!St||!St.parentElement)return;const lt=St.parentElement;return lt.scrollHeight>lt.clientHeight}let v={};function g(St,lt){v[St]=lt}function y(St){return St?v[St]:v}function p(){v={}}let b={};function R(St,lt){b[St]=lt}function P(St){var lt;null==(lt=b[St])||lt.call(b)}function V(St){if(!St)return;const lt=St.getBoundingClientRect(),yt={x:lt.x,y:lt.y,width:lt.width,height:lt.height};g("__activeStagePosition",yt),H(yt)}function H(St){const lt=y("__overlaySvg");if(!lt)return void function z(St){const lt=function x(St){const lt=window.innerWidth,yt=window.innerHeight,Ft=document.createElementNS("http://www.w3.org/2000/svg","svg");Ft.classList.add("driver-overlay","driver-overlay-animated"),Ft.setAttribute("viewBox",`0 0 ${lt} ${yt}`),Ft.setAttribute("xmlSpace","preserve"),Ft.setAttribute("xmlnsXlink","http://www.w3.org/1999/xlink"),Ft.setAttribute("version","1.1"),Ft.setAttribute("preserveAspectRatio","xMinYMin slice"),Ft.style.fillRule="evenodd",Ft.style.clipRule="evenodd",Ft.style.strokeLinejoin="round",Ft.style.strokeMiterlimit="2",Ft.style.zIndex="10000",Ft.style.position="fixed",Ft.style.top="0",Ft.style.left="0",Ft.style.width="100%",Ft.style.height="100%";const rt=document.createElementNS("http://www.w3.org/2000/svg","path");return rt.setAttribute("d",q(St)),rt.style.fill=C("overlayColor")||"rgb(0,0,0)",rt.style.opacity=`${C("overlayOpacity")}`,rt.style.pointerEvents="auto",rt.style.cursor="auto",Ft.appendChild(rt),Ft}(St);document.body.appendChild(lt),re(lt,yt=>{"path"===yt.target.tagName&&P("overlayClick")}),g("__overlaySvg",lt)}(St);const yt=lt.firstElementChild;if("path"!==(null==yt?void 0:yt.tagName))throw new Error("no path element found in stage svg");yt.setAttribute("d",q(St))}function q(St){const lt=window.innerWidth,yt=window.innerHeight,Ft=C("stagePadding")||0,rt=C("stageRadius")||0,mt=St.width+2*Ft,Mt=St.height+2*Ft,Vt=Math.min(rt,mt/2,Mt/2),Lt=Math.floor(Math.max(Vt,0)),An=mt-2*Lt,
1jn=Mt-2*Lt;return`M${lt},0L0,0L0,${yt}L${lt},${yt}L${lt},0Z\n M${St.x-Ft+Lt},${St.y-Ft} h${An} a${Lt},${Lt} 0 0 1 ${Lt},${Lt} v${jn} a${Lt},${Lt} 0 0 1 -${Lt},${Lt} h-${An} a${Lt},${Lt} 0 0 1 -${Lt},-${Lt} v-${jn} a${Lt},${Lt} 0 0 1 ${Lt},-${Lt} z`}function ee(St){const{element:lt}=St;let yt="string"==typeof lt?document.querySelector(lt):lt;yt||(yt=function de(){const St=document.getElementById("driver-dummy-element");if(St)return St;let lt=document.createElement("div");return lt.id="driver-dummy-element",lt.style.width="0",lt.style.height="0",lt.style.pointerEvents="none",lt.style.opacity="0",lt.style.position="fixed",lt.style.top="50%",lt.style.left="50%",document.body.appendChild(lt),lt}()),function ae(St,lt){const yt=Date.now(),Ft=y("__activeStep"),rt=y("__activeElement")||St,mt=!rt||rt===St,Mt="driver-dummy-element"===St.id,Vt="driver-dummy-element"===rt.id,Lt=C("animate"),$n=lt.onHighlightStarted||C("onHighlightStarted"),Tn=(null==lt?void 0:lt.onHighlighted)||C("onHighlighted"),An=(null==Ft?void 0:Ft.onDeselected)||C("onDeselected"),jn=C(),or=y();!mt&&An&&An(Vt?void 0:rt,Ft,{config:jn,state:or}),$n&&$n(Mt?void 0:St,lt,{config:jn,state:or});const br=!mt&≪let Fr=!1;(function M(){const St=y("popover");St&&(St.wrapper.style.display="none")})(),g("previousStep",Ft),g("previousElement",rt),g("activeStep",lt),g("activeElement",St);const On=()=>{if(y("__transitionCallback")!==On)return;const sr=Date.now()-yt;lt.popover&&400-sr<=200&&!Fr&&br&&(N(St,lt),Fr=!0),C("animate")&&sr<400?function O(St,lt,yt,Ft){let rt=y("__activeStagePosition");const mt=rt||yt.getBoundingClientRect(),Mt=Ft.getBoundingClientRect();rt={x:a(St,mt.x,Mt.x-mt.x,lt),y:a(St,mt.y,Mt.y-mt.y,lt),width:a(St,mt.width,Mt.width-mt.width,lt),height:a(St,mt.height,Mt.height-mt.height,lt)},H(rt),g("__activeStagePosition",rt)}(sr,400,rt,St):(V(St),Tn&&Tn(Mt?void 0:St,lt,{config:C(),state:y()}),g("__transitionCallback",void 0),g("__previousStep",Ft),g("__previousElement",rt),g("__activeStep",lt),g("__activeElement",St)),window.requestAnimationFrame(On)};g("__transitionCallback",On),window.requestAnimationFrame(On),T(St),!br&<.popover&&N(St,lt),rt.classList.remove("driver-active-element","driver-no-interaction"),rt.removeAttribute("aria-haspopup"),rt.removeAttribute("aria-expanded"),rt.removeAttribute("aria-controls"),C("disableActiveInteraction")&&St.classList.add("driver-no-interaction"),St.classList.add("driver-active-element"),St.setAttribute("aria-haspopup","dialog"),St.setAttribute("aria-expanded","true"),St.setAttribute("aria-controls","driver-popover-content")}(yt,St)}function Y(){const St=y("__activeElement"),lt=y("__activeStep");St&&(V(St),function K(){const St=y("__activeStagePosition"),lt=y("__overlaySvg");if(!St)return;if(!lt)return void console.warn("No stage svg found.");const yt=window.innerWidth,Ft=window.innerHeight;lt.setAttribute("viewBox",`0 0 ${yt} ${Ft}`)}(),we(St,lt))}function ne(){const St=y("__resizeTimeout");St&&window.cancelAnimationFrame(St),g("__resizeTimeout",window.requestAnimationFrame(Y))}function ce(St){var lt;if(!y("isInitialized")||"Tab"!==St.key&&9!==St.keyCode)return;const yt=y("__activeElement"),Ft=null==(lt=y("popover"))?void 0:lt.wrapper,rt=E([...Ft?[Ft]:[],...yt?[yt]:[]]),mt=rt[0],Mt=rt[rt.length-1];if(St.preventDefault(),St.shiftKey){const Vt=rt[rt.indexOf(document.activeElement)-1]||Mt;null==Vt||Vt.focus()}else{const Vt=rt[rt.indexOf(document.activeElement)+1]||mt;null==Vt||Vt.focus()}}function me(St){var lt;(null==(lt=C("allowKeyboardControl"))||lt)&&("Escape"===St.key?P("escapePress"):"ArrowRight"===St.key?P("arrowRightPress"):"ArrowLeft"===St.key&&P("arrowLeftPress"))}function re(St,lt,yt){const Ft=(rt,mt)=>{const Mt=rt.target;St.contains(Mt)&&((!yt||yt(Mt))&&(rt.preventDefault(),rt.stopPropagation(),rt.stopImmediatePropagation()),null==mt||mt(rt))};document.addEventListener("pointerdown",Ft,!0),document.addEventListener("mousedown",Ft,!0),document.addEventListener("pointerup",Ft,!0),document.addEventListener("mouseup",Ft,!0),document.addEventListener("click",rt=>{Ft(rt,lt)},!0)}function N(St,lt){var yt,Ft;let rt=y("popover");rt&&document.body.removeChild(rt.wrapper),rt=function et(){const St=document.createElement("div");St.classList.add("driver-popover");const lt=document.createElement("div");lt.classList.add("driver-popover-arrow");const yt=document.createElement("header");yt.id="driver-popover-title",yt.classList.add("driver-popover-title"),yt.style.display="none",yt.innerText="Popover Title";
1const Ft=document.createElement("div");Ft.id="driver-popover-description",Ft.classList.add("driver-popover-description"),Ft.style.display="none",Ft.innerText="Popover description is here";const rt=document.createElement("button");rt.type="button",rt.classList.add("driver-popover-close-btn"),rt.setAttribute("aria-label","Close"),rt.innerHTML="×";const mt=document.createElement("footer");mt.classList.add("driver-popover-footer");const Mt=document.createElement("span");Mt.classList.add("driver-popover-progress-text"),Mt.innerText="";const Vt=document.createElement("span");Vt.classList.add("driver-popover-navigation-btns");const Lt=document.createElement("button");Lt.type="button",Lt.classList.add("driver-popover-prev-btn"),Lt.innerHTML="← Previous";const $n=document.createElement("button");return $n.type="button",$n.classList.add("driver-popover-next-btn"),$n.innerHTML="Next →",Vt.appendChild(Lt),Vt.appendChild($n),mt.appendChild(Mt),mt.appendChild(Vt),St.appendChild(rt),St.appendChild(lt),St.appendChild(yt),St.appendChild(Ft),St.appendChild(mt),{wrapper:St,arrow:lt,title:yt,description:Ft,footer:mt,previousButton:Lt,nextButton:$n,closeButton:rt,footerButtons:Vt,progress:Mt}}(),document.body.appendChild(rt.wrapper);const{title:mt,description:Mt,showButtons:Vt,disableButtons:Lt,showProgress:$n,nextBtnText:Tn=C("nextBtnText")||"Next →",prevBtnText:An=C("prevBtnText")||"← Previous",progressText:jn=C("progressText")||"{current} of {total}"}=lt.popover||{};rt.nextButton.innerHTML=Tn,rt.previousButton.innerHTML=An,rt.progress.innerHTML=jn,mt?(rt.title.innerHTML=mt,rt.title.style.display="block"):rt.title.style.display="none",Mt?(rt.description.innerHTML=Mt,rt.description.style.display="block"):rt.description.style.display="none";const or=Vt||C("showButtons"),br=$n||C("showProgress")||!1,Fr=(null==or?void 0:or.includes("next"))||(null==or?void 0:or.includes("previous"))||br;rt.closeButton.style.display=or.includes("close")?"block":"none",Fr?(rt.footer.style.display="flex",rt.progress.style.display=br?"block":"none",rt.nextButton.style.display=or.includes("next")?"block":"none",rt.previousButton.style.display=or.includes("previous")?"block":"none"):rt.footer.style.display="none";const On=Lt||C("disableButtons")||[];null!=On&&On.includes("next")&&(rt.nextButton.disabled=!0,rt.nextButton.classList.add("driver-popover-btn-disabled")),null!=On&&On.includes("previous")&&(rt.previousButton.disabled=!0,rt.previousButton.classList.add("driver-popover-btn-disabled")),null!=On&&On.includes("close")&&(rt.closeButton.disabled=!0,rt.closeButton.classList.add("driver-popover-btn-disabled"));const sr=rt.wrapper;sr.style.display="block",sr.style.left="",sr.style.top="",sr.style.bottom="",sr.style.right="",sr.id="driver-popover-content",sr.setAttribute("role","dialog"),sr.setAttribute("aria-labelledby","driver-popover-title"),sr.setAttribute("aria-describedby","driver-popover-description"),rt.arrow.className="driver-popover-arrow";const tr=(null==(yt=lt.popover)?void 0:yt.popoverClass)||C("popoverClass")||"";sr.className=`driver-popover ${tr}`.trim(),re(rt.wrapper,qr=>{var _r,hr,Nr;const $r=qr.target,Xr=(null==(_r=lt.popover)?void 0:_r.onNextClick)||C("onNextClick"),Rt=(null==(hr=lt.popover)?void 0:hr.onPrevClick)||C("onPrevClick"),zt=(null==(Nr=lt.popover)?void 0:Nr.onCloseClick)||C("onCloseClick");return $r.classList.contains("driver-popover-next-btn")?Xr?Xr(St,lt,{config:C(),state:y()}):P("nextClick"):$r.classList.contains("driver-popover-prev-btn")?Rt?Rt(St,lt,{config:C(),state:y()}):P("prevClick"):$r.classList.contains("driver-popover-close-btn")?zt?zt(St,lt,{config:C(),state:y()}):P("closeClick"):void 0},qr=>!(null!=rt&&rt.description.contains(qr))&&!(null!=rt&&rt.title.contains(qr))&&"string"==typeof qr.className&&qr.className.includes("driver-popover")),g("popover",rt);const Lr=(null==(Ft=lt.popover)?void 0:Ft.onPopoverRender)||C("onPopoverRender");Lr&&Lr(rt,{config:C(),state:y()}),we(St,lt),T(sr);const Gr=E([sr,...St.classList.contains("driver-dummy-element")?[]:[St]]);Gr.length>0&&Gr[0].focus()}function G(){const St=y("popover");
1if(null==St||!St.wrapper)return;const lt=St.wrapper.getBoundingClientRect(),yt=C("stagePadding")||0,Ft=C("popoverOffset")||0;return{width:lt.width+yt+Ft,height:lt.height+yt+Ft,realWidth:lt.width,realHeight:lt.height}}function ue(St,lt){const{elementDimensions:yt,popoverDimensions:Ft,popoverPadding:rt,popoverArrowDimensions:mt}=lt;return"start"===St?Math.max(Math.min(yt.top-rt,window.innerHeight-Ft.realHeight-mt.width),mt.width):"end"===St?Math.max(Math.min(yt.top-(null==Ft?void 0:Ft.realHeight)+yt.height+rt,window.innerHeight-(null==Ft?void 0:Ft.realHeight)-mt.width),mt.width):"center"===St?Math.max(Math.min(yt.top+yt.height/2-(null==Ft?void 0:Ft.realHeight)/2,window.innerHeight-(null==Ft?void 0:Ft.realHeight)-mt.width),mt.width):0}function ve(St,lt){const{elementDimensions:yt,popoverDimensions:Ft,popoverPadding:rt,popoverArrowDimensions:mt}=lt;return"start"===St?Math.max(Math.min(yt.left-rt,window.innerWidth-Ft.realWidth-mt.width),mt.width):"end"===St?Math.max(Math.min(yt.left-(null==Ft?void 0:Ft.realWidth)+yt.width+rt,window.innerWidth-(null==Ft?void 0:Ft.realWidth)-mt.width),mt.width):"center"===St?Math.max(Math.min(yt.left+yt.width/2-(null==Ft?void 0:Ft.realWidth)/2,window.innerWidth-(null==Ft?void 0:Ft.realWidth)-mt.width),mt.width):0}function we(St,lt){const yt=y("popover");if(!yt)return;const{align:Ft="start",side:rt="left"}=(null==lt?void 0:lt.popover)||{},mt=Ft,Mt="driver-dummy-element"===St.id?"over":rt,Vt=C("stagePadding")||0,Lt=G(),$n=yt.arrow.getBoundingClientRect(),Tn=St.getBoundingClientRect(),An=Tn.top-Lt.height;let jn=An>=0;const or=window.innerHeight-(Tn.bottom+Lt.height);let br=or>=0;const Fr=Tn.left-Lt.width;let On=Fr>=0;const sr=window.innerWidth-(Tn.right+Lt.width);let ur=sr>=0;const tr=!(jn||br||On||ur);let Lr=Mt;if("top"===Mt&&jn?ur=On=br=!1:"bottom"===Mt&&br?ur=On=jn=!1:"left"===Mt&&On?ur=jn=br=!1:"right"===Mt&&ur&&(On=jn=br=!1),"over"===Mt){const Br=window.innerWidth/2-Lt.realWidth/2,Gr=window.innerHeight/2-Lt.realHeight/2;yt.wrapper.style.left=`${Br}px`,yt.wrapper.style.right="auto",yt.wrapper.style.top=`${Gr}px`,yt.wrapper.style.bottom="auto"}else if(tr){const Br=window.innerWidth/2-(null==Lt?void 0:Lt.realWidth)/2,Gr=10;yt.wrapper.style.left=`${Br}px`,yt.wrapper.style.right="auto",yt.wrapper.style.bottom=`${Gr}px`,yt.wrapper.style.top="auto"}else if(On){const Br=Math.min(Fr,window.innerWidth-(null==Lt?void 0:Lt.realWidth)-$n.width),Gr=ue(mt,{elementDimensions:Tn,popoverDimensions:Lt,popoverPadding:Vt,popoverArrowDimensions:$n});yt.wrapper.style.left=`${Br}px`,yt.wrapper.style.top=`${Gr}px`,yt.wrapper.style.bottom="auto",yt.wrapper.style.right="auto",Lr="left"}else if(ur){const Br=Math.min(sr,window.innerWidth-(null==Lt?void 0:Lt.realWidth)-$n.width),Gr=ue(mt,{elementDimensions:Tn,popoverDimensions:Lt,popoverPadding:Vt,popoverArrowDimensions:$n});yt.wrapper.style.right=`${Br}px`,yt.wrapper.style.top=`${Gr}px`,yt.wrapper.style.bottom="auto",yt.wrapper.style.left="auto",Lr="right"}else if(jn){const Br=Math.min(An,window.innerHeight-Lt.realHeight-$n.width);let Gr=ve(mt,{elementDimensions:Tn,popoverDimensions:Lt,popoverPadding:Vt,popoverArrowDimensions:$n});yt.wrapper.style.top=`${Br}px`,yt.wrapper.style.left=`${Gr}px`,yt.wrapper.style.bottom="auto",yt.wrapper.style.right="auto",Lr="top"}else if(br){const Br=Math.min(or,window.innerHeight-(null==Lt?void 0:Lt.realHeight)-$n.width);let Gr=ve(mt,{elementDimensions:Tn,popoverDimensions:Lt,popoverPadding:Vt,popoverArrowDimensions:$n});yt.wrapper.style.left=`${Gr}px`,yt.wrapper.style.bottom=`${Br}px`,yt.wrapper.style.top="auto",yt.wrapper.style.right="auto",Lr="bottom"}tr?yt.arrow.classList.add("driver-popover-arrow-none"):function Re(St,lt,yt){const Ft=y("popover");if(!Ft)return;const rt=yt.getBoundingClientRect(),mt=G(),Mt=Ft.arrow,Vt=mt.width,Lt=window.innerWidth,$n=rt.width,Tn=rt.left,An=mt.height,jn=window.innerHeight,or=rt.top,br=rt.height;Mt.className="driver-popover-arrow";let Fr=lt,On=St;"top"===lt?(Tn+$n<=0?(Fr="right",On="end"):Tn+$n-Vt<=0&&(Fr="top",On="start"),Tn>=Lt?(Fr="left",On="end"):Tn+Vt>=Lt&&(Fr="top",On="end")):"bottom"===lt?(Tn+$n<=0?(Fr="right",On="start"):Tn+$n-Vt<=0&&(Fr="bottom",On="start"),Tn>=Lt?(Fr="left",On="start"):Tn+Vt>=Lt&&(Fr="bottom",On="end")):"left"===lt?(or+br<=0?(Fr="bottom",On="end"):or+br-An<=0&&(Fr="left",On="start"),or>=jn?(Fr="top",On="end"):or+An>=jn&&(Fr="left",On="end")):"right"===lt&&(or+br<=0?(Fr="bottom",On="start"):or+br-An<=0&&(Fr="right",On="start"),or>=jn?(Fr="top",On="start"):or+An>=jn&&(Fr="right",On="end")),Fr?(Mt.classList.add(`driver-popover-arrow-side-${Fr}`),Mt.classList.add(`driver-popover-arrow-align-${On}`)):Mt.classList.add("driver-popover-arrow-none")}(mt,Lr,St)}var At=f(54438),It=f(73955);let qt=(()=>{var St;class lt{constructor(Ft){this.i18N=Ft,this.driverObj=function Pt(St={}){function lt(){C("allowClose")&&$n()}function yt(){const Tn=y("activeIndex"),An=C("steps")||[];if(typeof Tn>"u")return;const jn=Tn+1;An[jn]?Lt(jn):$n()}function Ft(){const Tn=y("activeIndex"),An=C("steps")||[];if(typeof Tn>"u")return;const jn=Tn-1;An[jn]?Lt(jn):$n()}function mt(){var Tn;if(y("__transitionCallback"))return;const An=y("activeIndex"),jn=y("__activeStep"),or=y("__activeElement");
1if(typeof An>"u"||typeof jn>"u"||typeof y("activeIndex")>"u")return;const br=(null==(Tn=jn.popover)?void 0:Tn.onPrevClick)||C("onPrevClick");if(br)return br(or,jn,{config:C(),state:y()});Ft()}function Mt(){var Tn;if(y("__transitionCallback"))return;const An=y("activeIndex"),jn=y("__activeStep"),or=y("__activeElement");if(typeof An>"u"||typeof jn>"u")return;const br=(null==(Tn=jn.popover)?void 0:Tn.onNextClick)||C("onNextClick");if(br)return br(or,jn,{config:C(),state:y()});yt()}function Vt(){y("isInitialized")||(g("isInitialized",!0),document.body.classList.add("driver-active",C("animate")?"driver-fade":"driver-simple"),function $(){window.addEventListener("keyup",me,!1),window.addEventListener("keydown",ce,!1),window.addEventListener("resize",ne),window.addEventListener("scroll",ne)}(),R("overlayClick",lt),R("escapePress",lt),R("arrowLeftPress",mt),R("arrowRightPress",Mt))}function Lt(Tn=0){var An,jn,or,br,Fr,On,sr,ur;const tr=C("steps");if(!tr)return console.error("No steps to drive through"),void $n();if(!tr[Tn])return void $n();g("__activeOnDestroyed",document.activeElement),g("activeIndex",Tn);const Lr=tr[Tn],Br=tr[Tn+1],Gr=tr[Tn-1],qr=(null==(An=Lr.popover)?void 0:An.doneBtnText)||C("doneBtnText")||"Done",_r=C("allowClose"),hr=typeof(null==(jn=Lr.popover)?void 0:jn.showProgress)<"u"?null==(or=Lr.popover)?void 0:or.showProgress:C("showProgress"),Nr=((null==(br=Lr.popover)?void 0:br.progressText)||C("progressText")||"{{current}} of {{total}}").replace("{{current}}",`${Tn+1}`).replace("{{total}}",`${tr.length}`),$r=(null==(Fr=Lr.popover)?void 0:Fr.showButtons)||C("showButtons"),Xr=["next","previous",..._r?["close"]:[]].filter(ln=>!(null!=$r&&$r.length)||$r.includes(ln)),Rt=(null==(On=Lr.popover)?void 0:On.onNextClick)||C("onNextClick"),zt=(null==(sr=Lr.popover)?void 0:sr.onPrevClick)||C("onPrevClick"),vn=(null==(ur=Lr.popover)?void 0:ur.onCloseClick)||C("onCloseClick");ee({...Lr,popover:{showButtons:Xr,nextBtnText:Br?void 0:qr,disableButtons:[...Gr?[]:["previous"]],showProgress:hr,progressText:Nr,onNextClick:Rt||(()=>{Br?Lt(Tn+1):$n()}),onPrevClick:zt||(()=>{Lt(Tn-1)}),onCloseClick:vn||(()=>{$n()}),...(null==Lr?void 0:Lr.popover)||{}}})}function $n(Tn=!0){const An=y("__activeElement"),jn=y("__activeStep"),or=y("__activeOnDestroyed"),br=C("onDestroyStarted");if(Tn&&br)return void br(An&&"driver-dummy-element"!==(null==An?void 0:An.id)?An:void 0,jn,{config:C(),state:y()});const Fr=(null==jn?void 0:jn.onDeselected)||C("onDeselected"),On=C("onDestroyed");if(document.body.classList.remove("driver-active","driver-fade","driver-simple"),function X(){window.removeEventListener("keyup",me),window.removeEventListener("resize",ne),window.removeEventListener("scroll",ne)}(),function at(){var St;const lt=y("popover");lt&&(null==(St=lt.wrapper.parentElement)||St.removeChild(lt.wrapper))}(),function fe(){var St;null==(St=document.getElementById("driver-dummy-element"))||St.remove(),document.querySelectorAll(".driver-active-element").forEach(lt=>{lt.classList.remove("driver-active-element","driver-no-interaction"),lt.removeAttribute("aria-haspopup"),lt.removeAttribute("aria-expanded"),lt.removeAttribute("aria-controls")})}(),function Z(){const St=y("__overlaySvg");St&&St.remove()}(),function k(){b={}}(),p(),An&&jn){const sr="driver-dummy-element"===An.id;Fr&&Fr(sr?void 0:An,jn,{config:C(),state:y()}),On&&On(sr?void 0:An,jn,{config:C(),state:y()})}or&&or.focus()}return o(St),{isActive:()=>y("isInitialized")||!1,refresh:ne,drive:(Tn=0)=>{Vt(),Lt(Tn)},setConfig:o,setSteps:Tn=>{p(),o({...C(),steps:Tn})},getConfig:C,getState:y,getActiveIndex:()=>y("activeIndex"),isFirstStep:()=>0===y("activeIndex"),isLastStep:()=>{const Tn=C("steps")||[],An=y("activeIndex");return void 0!==An&&An===Tn.length-1},getActiveStep:()=>y("activeStep"),getActiveElement:()=>y("activeElement"),getPreviousElement:()=>y("previousElement"),getPreviousStep:()=>y("previousStep"),moveNext:yt,movePrevious:Ft,moveTo:function rt(Tn){(C("steps")||[])[Tn]?Lt(Tn):$n()},hasNextStep:()=>{const Tn=C("steps")||[],An=y("activeIndex");return void 0!==An&&Tn[An+1]},hasPreviousStep:()=>{const Tn=C("steps")||[],An=y("activeIndex");return void 0!==An&&Tn[An-1]},highlight:Tn=>{Vt(),ee({...Tn,popover:Tn.popover?{showButtons:[],showProgress:!1,progressText:"",...Tn.popover}:void 0})},destroy:()=>{$n(!1)}}}({animate:!0,showProgress:!0,allowClose:!1,showButtons:["next","previous","close"],nextBtnText:this.i18N.instant("Common.next"),prevBtnText:this.i18N.instant("Common.previous"),doneBtnText:this.i18N.instant("Common.done"),onDestroyed:()=>{}})}startTour(Ft){this.driverObj.setSteps(Ft),this.driverObj.drive()}stopTour(){this.driverObj.destroy()}}return(St=lt).\u0275fac=function(Ft){return new(Ft||St)(At.KVO(It.c$))},St.\u0275prov=At.jDH({token:St,factory:St.\u0275fac,providedIn:"root"}),lt})()},76066:(ge,_,f)=>{"use strict";f.d(_,{F:()=>g});var c=f(60177),o=f(54438),C=f(69465),a=f(73955),E=f(91535);const T=["ceAvatar"],s=["ceTxt"],h=["ceExtSvg"];function u(y,p){if(1&y){const b=o.RV6();o.j41(0,"img",5),o.nI1(1,"safeUrl"),o.bIt("error",function(){o.eBV(b);const P=o.XpG();return o.Njj(P.imgError())})("click",function(P){o.eBV(b);const k=o.XpG();return o.Njj(k.avatarClick(P))}),o.k0s()}if(2&y){const b=o.XpG();o.Y8G("src",o.bMT(1,1,b.ceSrc),o.B4B)}}function v(y,p){if(1&y){const b=o.RV6();o.j41(0,"div",6,1),o.bIt("click",function(P){o.eBV(b);const k=o.XpG();return o.Njj(k.avatarClick(P))}),o.EFF(2),o.k0s()}if(2&y){const b=o.XpG();o.Y8G("ngStyle",b.avatarStyle),o.R7$(2),o.JRh(b.txt)}}let g=(()=>{var y;class p{constructor(R,P,k){this.renderer=R,this.cd=P,this.elementRef=k,this.ceSrc="",this.ceText="",this.ceSize=135,this.wRate=1,this.hRate=1,this.ceOnExtClick=new o.bkB,this.ceOnAvatarClick=new o.bkB,this.hasSrc=!0,this.prefixCls="ce",this.oldsize=135,this.oldExt="camera",this.el=this.elementRef.nativeElement,this.avatarStyle={},this.avatarDivStyle={},this.round=!0,this.textSizeRatio=3,this.fgColor="#FFF",this.cornerRadius=0,this.style={cursor:"default"},this.avatarColors=["#1abc9c","#1b60aa","#6699CC","#f1c40f","#8e44ad","#B45B3E","#e74c3c","#d35400","#479AC7","#2c3e50","#1b60aa","#336699","#66CCCC","#00B271"]}get txt(){if(this.hasSrc)return"U";{var R;let P=2;this.ceSize<24&&(P=1);let k=null===(R=this.ceText)||void 0===R?void 0:R.trim();if(!k)return"U";let O=k.split(" "),V=this.constructInitials(O.slice(0,P));return V.length<2&&(O=k.split("-"),V=this.constructInitials(O.slice(0,P))),V.length<2&&(O=k.split("_"),V=this.constructInitials(O.slice(0,P))),V.length<2&&(O=k.split("("),V=this.constructInitials(O.slice(0,P))),V.length<2&&k.length>=P&&(V=k.substr(0,P)),V}}constructInitials(R){return R&&R.length?R.filter(P=>P&&P.length>0).map(P=>P[0].toUpperCase()).join(""):""}setClass(){return this.avatarDivStyle=this.getAvatarStyle(),this.hasSrc||(this.avatarStyle=this.getInitialsStyle()),this.oldsize=this.ceSize,this.cd.detectChanges(),this}getRandomColor(R){if(!R)return"transparent";const P=this.calculateAsciiCode(R);return this.avatarColors[P%this.avatarColors.length]}calculateAsciiCode(R){return R.split("").map(P=>P.charCodeAt(0)).reduce((P,k)=>P+k)}getAvatarStyle(){return{width:this.ceSize*this.wRate+"px",height:this.ceSize*this.hRate+"px"}}getInitialsStyle(){return{textAlign:"center",borderRadius:1==this.wRate?this.round?"100%":this.cornerRadius+"px":"0px",border:this.borderColor?"1px solid "+this.borderColor:"",textTransform:"uppercase",color:this.fgColor,backgroundColor:this.bgColor?this.bgColor:this.getRandomColor(this.txt),font:Math.floor(+this.ceSize*this.wRate/this.textSizeRatio)+"px Helvetica, Arial, sans-serif",lineHeight:this.ceSize*this.hRate+"px",...this.style}}ngOnChanges(R){this.hasSrc=""!=this.ceSrc,this.setClass()}imgError(){this.hasSrc=!1,this.setClass()}avatarClick(R){this.ceOnAvatarClick.emit(R)}extClick(R){this.ceOnExtClick.emit(R)}}return(y=p).\u0275fac=function(R){return new(R||y)(o.rXU(o.sFG),o.rXU(o.gRc),o.rXU(o.aKT))},y.\u0275cmp=o.VBU({type:y,selectors:[["avatar-p"]],viewQuery:function(R,P){if(1&R&&(o.GBs(T,7),o.GBs(s,7),o.GBs(h,7)),2&R){let k;o.mGM(k=o.lsd())&&(P.ceAvatar=k.first),o.mGM(k=o.lsd())&&(P.ceTxt=k.first),o.mGM(k=o.lsd())&&(P.ceExtSvg=k.first)}},inputs:{ceSrc:"ceSrc",ceText:"ceText",ceSize:"ceSize",wRate:"wRate",hRate:"hRate",round:"roun
1d",textSizeRatio:"textSizeRatio",bgColor:"bgColor",fgColor:"fgColor",borderColor:"borderColor",cornerRadius:"cornerRadius",style:"style"},outputs:{ceOnExtClick:"ceOnExtClick",ceOnAvatarClick:"ceOnAvatarClick"},standalone:!0,features:[o.OA$,o.aNF],decls:4,vars:3,consts:[["ceAvatar",""],["ceTxt",""],[3,"ngStyle"],["class","rounded-full ",3,"src","error","click",4,"ngIf"],[3,"ngStyle","click",4,"ngIf"],[1,"rounded-full",3,"error","click","src"],[3,"click","ngStyle"]],template:function(R,P){1&R&&(o.j41(0,"div",2,0),o.DNE(2,u,2,3,"img",3)(3,v,3,2,"div",4),o.k0s()),2&R&&(o.Y8G("ngStyle",P.avatarDivStyle),o.R7$(2),o.Y8G("ngIf",P.ceSrc&&P.hasSrc),o.R7$(),o.Y8G("ngIf",!P.hasSrc))},dependencies:[C.bv,c.MD,c.bT,c.B3,a.h,E.d],styles:[".ce-avatar-circle[_ngcontent-%COMP%]{position:relative;margin:auto 0;color:#fff;font-size:14px;line-height:32px;text-align:center;vertical-align:middle}.ce-avatar-circle[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;width:100%;height:100%;border-style:none;border-radius:50%}"],changeDetection:0}),p})()},34112:(ge,_,f)=>{"use strict";f.d(_,{w:()=>y});var c=f(10467),o=f(60177),C=f(69465),a=f(73955),E=f(49969),T=f(47046),s=f(21413),h=f(56977),u=f(54438),v=f(68093);function g(p,b){if(1&p&&(u.j41(0,"div",1)(1,"div",2)(2,"div",3),u.qSk(),u.j41(3,"svg",4),u.nrm(4,"path",5),u.k0s()(),u.joV(),u.j41(5,"div",6)(6,"h3",7),u.EFF(7),u.nI1(8,"translate"),u.k0s(),u.j41(9,"div",8)(10,"p"),u.EFF(11),u.nI1(12,"translate"),u.k0s()()()()()),2&p){const R=u.XpG();u.Y8G("@dropDown",R.netError?"in":"out"),u.R7$(7),u.SpI(" ",u.bMT(8,3,"Common.netError")," "),u.R7$(4),u.SpI(" ",u.bMT(12,5,"Common.netError2")," ")}}let y=(()=>{var p;class b{ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}constructor(P,k,O){this.commonService=P,this._cdr=k,this.elementRef=O,this.netError=!1,this.destroy$=new s.B}ngOnInit(){var P=this;return(0,c.A)(function*(){P.netError=P.commonService.netError,T.co._networkChanged.pipe((0,h.Q)(P.destroy$)).subscribe(k=>{P.netError=1==k.type,P._cdr.markForCheck()})})()}}return(p=b).\u0275fac=function(P){return new(P||p)(u.rXU(v.hf),u.rXU(u.gRc),u.rXU(u.aKT))},p.\u0275cmp=u.VBU({type:p,selectors:[["net-error-tip"]],standalone:!0,features:[u.aNF],decls:1,vars:1,consts:[["class","bg-red-500 text-white p-4 rounded-b-md shadow-md z-10","id","network-alert",4,"ngIf"],["id","network-alert",1,"bg-red-500","text-white","p-4","rounded-b-md","shadow-md","z-10"],[1,"flex","items-center"],[1,"flex-shrink-0"],["fill","currentColor","viewBox","0 0 20 20",1,"h-5","w-5"],["fill-rule","evenodd","d","M10 2a8 8 0 100 16 8 8 0 000-16zm1 11a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-.867.5l-4 7a1 1 0 00.732 1.5h8.27a1 1 0 00.866-1.5l-4-7A1 1 0 0010 4z","clip-rule","evenodd"],[1,"ml-3"],[1,"text-sm","leading-5","font-medium"],[1,"mt-2","text-sm","leading-5"]],template:function(P,k){1&P&&u.DNE(0,g,13,7,"div",0),2&P&&u.Y8G("ngIf",k.netError)},dependencies:[C.bv,o.MD,o.bT,a.h,a.D9],encapsulation:2,data:{animation:[(0,E.hZ)("dropDown",[(0,E.wk)("void",(0,E.iF)({transform:"translateY(-100%)",opacity:0})),(0,E.wk)("*",(0,E.iF)({transform:"translateY(0)",opacity:1})),(0,E.kY)("void => *",(0,E.i0)("200ms ease-in")),(0,E.kY)("* => void",(0,E.i0)("200ms ease-out"))])]},changeDetection:0}),b})()},48196:(ge,_,f)=>{"use strict";f.d(_,{c:()=>c});const c={production:!0,VERSION:f(8330).rE,pushBundleId:"tw.com.chainsea.chat",firebase:{apiKey:"AIzaSyBw01uaEFYqQaMSO9Hr_-N21B1f1Gkbifw",authDomain:"aile-419002.firebaseapp.com",projectId:"aile-419002",storageBucket:"aile-419002.appspot.com",messagingSenderId:"652527193208",appId:"1:652527193208:web:ccfaa06608bb03533d318d",measurementId:"G-XVSEMSKPKF"},vapidKey:"BLkHKxZ4usHJ7lJ3njC-xFYUrI2fVSoFAfYdsw772Ury_p3WM--3sTm7-KMs_terlKCQ30El74D3tK0K9mk42R4",app:{env:"prod",name:"Aiwow",description:"Aiwow \u8b93\u4f60\u7dad\u7e6b\u4e00\u8f29\u5b50\u7684\u5ba2\u6236\u95dc\u4fc2",apiUrl:"https://cp.aile.cloud/cp/",wsUrl:"https://aiwow-prod.aile.cloud/aile",wsPath:"/socketio/socket.io",aiwowUrl:"https://aiwow-prod.aile.cloud",aiPoolId:"1767834566674092032",aiPoolKey:"867bef3f35bf6bd30209057c325edb84",aiPoolUrl:"https://lab.uupon.com",liffId:"prod",endPoint:"https://zcl.zhucl1006.top/aile/liff",liffUrl:"https://liff.line.me/1661400637-MkqWoLpG",webChatUrl:"https://aile.qbicloud.com:4301/app/",webChatSNId:"18097f0b-82c0-0e73-33d4-060b79b7ea50",aileDashboard:"https://charts.mongodb.com/charts-aipool-hqbuc/embed/dashboards?id=64f695db-2594-476f-80ef-99679d29fe4f&theme=light&autoRefresh=true&maxDataAge=3600&showTitleAndDesc=false&scalingWidth=scale&scalingHeight=fixed",webChatTenantCode:"20211216-0001",useWebChat:!0,useLog:!0},webChatFunction:{default:{name:"default",notShowInputWhenAiServiced:!1,autoSendNextDayGreeting:!0,useServiceNumberAvatarAndName:!1,useRecordBtn:!0,useMoreMenu:!0,useAttachmentBtn:!0,useClose:!0,useRounded:!0},useSNAvatarAndName:{name:"useSNAvatarAndName",notShowInputWhenAiServiced:!1,autoSendNextDayGreeting:!0,useServiceNumberAvatarAndName:!0,useRecordBtn:!0,useMoreMenu:!0,useAttachmentBtn:!0,useClose:!0,useRounded:!0},temp:{name:"temp",notShowInputWhenAiServiced:!0,autoSendNextDayGreeting:!0,useServiceNumberAvatarAndName:!0,useRecordBtn:!1,useMoreMenu:!1,useAttachmentBtn:!1,useClose:!1,useRounded:!1},temp2:{name:"temp2",notShowInputWhenAiServiced:!1,autoSendNextDayGreeting:!0,useServiceNumberAvatarAndName:!0,useRecordBtn:!0,useMoreMenu:!0,useAttachmentBtn:!0,useClose:!1,useRounded:!0},all:{name:"all",notShowInputWhenAiServiced:!1,autoSendNextDayGreeting:!1,useServiceNumberAvatarAndName:!0,useRecordBtn:!0,useMoreMenu:!0,useAttachmentBtn:!0,useClose:!1,useRounded:!0},cn:{name:"temp2",notShowInputWhenAiServiced:!1,autoSendNextDayGreeting:!0,useServiceNumberAvatarAndName:!0,useRecordBtn:!0,useMoreMenu:!0,useAttachmentBtn:!0,useClose:!1,useRounded:!0},anonymous:{name:"anonymous",notShowInputWhenAiServiced:!1,autoSendNextDayGreeting:!0,useServiceNumberAvatarAndName:!0,useRecordBtn:!1,useMoreMenu:!1,useAttachmentBtn:!1,useClose:!0,useRounded:!0}},i18n:{defaultLang:"zh-TW"}}},45732:(ge,_,f)=>{"use strict";var g,c=f(345),o=f(54438),C=f(24042),a=f(12872),E=f(69465),T=f(10467),s=f(31635),h=f(80708),u=f(80369),v=f(36860);
1function y(j,S){1&j&&(o.j41(0,"ion-card",10)(1,"ion-card-header")(2,"ion-card-title"),o.EFF(3,"\u5b89\u88ddAiwow"),o.k0s()(),o.j41(4,"ion-card-content"),o.EFF(5," \u5b89\u88ddAiwow\u5230\u60a8\u7684\u9996\u9801\uff0c\u7d66\u60a8\u63d0\u4f9b\u670d\u52d9. "),o.k0s(),o.j41(6,"ion-card-content"),o.EFF(7," \u6309\u4e0bSafari\u5206\u4eab\u9078\u55ae"),o.qSk(),o.j41(8,"svg",11),o.nrm(9,"use",12),o.k0s(),o.EFF(10," \uff0c\u9ede\u9078[\u65b0\u589e\u81f3\u7a0b\u5e8f\u5862] "),o.k0s()())}function p(j,S){1&j&&(o.j41(0,"ion-card",10)(1,"ion-card-header")(2,"ion-card-title"),o.EFF(3,"\u5b89\u88ddAiwow"),o.k0s()(),o.j41(4,"ion-card-content"),o.EFF(5," \u5b89\u88ddAiwow\u5230\u60a8\u7684\u9996\u9801\uff0c\u7d66\u60a8\u63d0\u4f9b\u670d\u52d9. "),o.k0s(),o.j41(6,"ion-card-content"),o.EFF(7," \u6309\u4e0b\u5730\u5740\u6b04\u9078\u55ae"),o.qSk(),o.j41(8,"svg",11),o.nrm(9,"use",13),o.k0s(),o.EFF(10," \uff0c\u9ede\u9078[\u5b89\u88dd]Aiwow\u61c9\u7528 "),o.k0s()())}function b(j,S){1&j&&(o.j41(0,"ion-card",10)(1,"ion-card-header")(2,"ion-card-title"),o.EFF(3,"\u5b89\u88ddAiwow"),o.k0s()(),o.j41(4,"ion-card-content"),o.EFF(5," \u5b89\u88ddAiwow\u5230\u60a8\u7684\u9996\u9801\uff0c\u7d66\u60a8\u63d0\u4f9b\u670d\u52d9. "),o.k0s(),o.j41(6,"ion-card-content"),o.EFF(7," \u6309\u4e0bSafari\u5206\u4eab\u9078\u55ae"),o.qSk(),o.j41(8,"svg",11),o.nrm(9,"use",12),o.k0s(),o.EFF(10," \uff0c\u9ede\u9078[\u65b0\u589e\u81f3\u4e3b\u756b\u9762] "),o.k0s()())}
1function R(j,S){1&j&&(o.j41(0,"ion-card",10)(1,"ion-card-header")(2,"ion-card-title"),o.EFF(3,"\u5b89\u88ddAiwow"),o.k0s()(),o.j41(4,"ion-card-content"),o.EFF(5," \u5b89\u88ddAiwow\u5230\u60a8\u7684\u9996\u9801\uff0c\u7d66\u60a8\u63d0\u4f9b\u670d\u52d9. "),o.k0s(),o.j41(6,"ion-card-content"),o.EFF(7," \u6309\u4e0b\u5206\u4eab\u9078\u55ae"),o.qSk(),o.j41(8,"svg",11),o.nrm(9,"use",12),o.k0s(),o.EFF(10," \uff0c\u9ede\u9078[\u65b0\u589e\u81f3\u4e3b\u756b\u9762] "),o.k0s()())}let P=((g=class{constructor(S,D){this.storage=S,this.platform=D,this.isOpen=!0}ngOnInit(){return(0,T.A)(function*(){})()}get isIOS(){return this.platform.IOS}get isAnd(){return this.platform.ANDROID}get isWeb(){return!this.isIOS&&!this.isAnd&&!this.isSaf}get isSaf(){return this.platform.SAFARI&&!this.isIOS}}).\u0275fac=function(S){return new(S||g)(o.rXU(u.w),o.rXU(v.OD))},g.\u0275cmp=o.VBU({type:g,selectors:[["app-install"]],standalone:!0,features:[o.aNF],decls:16,vars:9,consts:[[3,"fullscreen"],[1,"h-full","flex","flex-col","bg-colors-bg"],[1,"flex"],[1,"flex-1"],["id","safari-center",1,"h-4","w-52"],["trigger","safari-center","alignment","center","size","auto","keyboardClose","false",3,"isOpen","backdropDismiss"],["id","web-center",1,"h-4","w-full"],["trigger","web-center","alignment","center","size","auto","keyboardClose","false",3,"isOpen","backdropDismiss"],["trigger","top-center","alignment","center","size","auto","keyboardClose","false",3,"isOpen","backdropDismiss"],["id","top-center",1,"h-4"],[1,"m-0"],["aria-hidden","true",1,"icon"],[0,"xlink","href","#icon-share"],[0,"xlink","href","#icon-app"]],template:function(S,D){1&S&&(o.j41(0,"ion-content",0)(1,"div",1)(2,"div",2),o.nrm(3,"div",3)(4,"div",4),o.k0s(),o.j41(5,"ion-popover",5),o.DNE(6,y,11,0,"ng-template"),o.k0s(),o.nrm(7,"div",6),o.j41(8,"ion-popover",7),o.DNE(9,p,11,0,"ng-template"),o.k0s(),o.nrm(10,"div",3),o.j41(11,"ion-popover",8),o.DNE(12,b,11,0,"ng-template"),o.k0s(),o.j41(13,"ion-popover",8),o.DNE(14,R,11,0,"ng-template"),o.k0s(),o.nrm(15,"div",9),o.k0s()()),2&S&&(o.Y8G("fullscreen",!0),o.R7$(5),o.Y8G("isOpen",D.isSaf)("backdropDismiss",!1),o.R7$(3),o.Y8G("isOpen",D.isWeb)("backdropDismiss",!1),o.R7$(3),o.Y8G("isOpen",D.isIOS)("backdropDismiss",!1),o.R7$(2),o.Y8G("isOpen",D.isAnd)("backdropDismiss",!1))},dependencies:[E.bv,E.b_,E.I9,E.ME,E.tN,E.W9,E.CF],styles:["[_nghost-%COMP%]{display:block}ion-popover[_ngcontent-%COMP%]{--width: 320px}ion-card[_ngcontent-%COMP%]{--background: white}"],changeDetection:0}),g);P=(0,s.Cg)([h.$.RefWindow("Install")],P);var k=f(27468),O=f(86648),V=f(88141),K=f(99437),z=f(7673),H=f(68093),x=f(67859),q=f(67376),Z=f(47784),de=f(23815);const ee=(j,S)=>{const D=(0,o.WQX)(x._),w=(0,o.WQX)(Z.b),B=(0,o.WQX)(H.hf);return B.lastRouteState=S,(0,k.p)([(0,O.H)(D.getItem("ai_did_welcome")),(0,O.H)(D.getItem("rememberMe")),(0,O.H)(D.getItem("user"))]).pipe((0,V.M)(([te,Ee,ze])=>!1!==te&&null!=te||B.inModel!=H.j0.app?null!=B.logInUser||(q.isBoolean(Ee)&&Ee&&ze?(B.logInUser=ze,w.refreshToken(),!0):B.inModel==H.j0.url||B.inModel==H.j0.embed?(B.logInUser=de.v.anonymouseUser,B.aiwowDB.clearForLoginData(),!0):(D.saveItem("redirectUrl",S.url,"system"),B.goto(["/login"]),B.popNavQueue(),!1)):(B.goto(["/welcome"]),B.popNavQueue(),!1)),(0,K.W)((te,Ee)=>(0,z.of)(!1)))};var re,Y=f(60177),ae=f(73955),fe=f(91535),ne=f(48196),ce=f(76066),me=f(55544);const $=["pop"];function X(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-button",11),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.backClick())}),o.nrm(1,"span",12),o.k0s()}}function M(j,S){1&j&&o.nrm(0,"span",16)}function N(j,S){if(1&j&&o.nrm(0,"avatar-p",17),2&j){const D=o.XpG(2);o.Y8G("ceSrc",D.loginAvatar)("ceText",D.loginName)("ceSize",40)}}function G(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-button",13),o.bIt("click",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.showPop(B))}),o.DNE(1,M,1,0,"span",14)(2,N,1,3,"avatar-p",15),o.k0s()}if(2&j){const D=o.XpG();o.R7$(),o.Y8G("ngIf",!D.showCloseBtn),o.R7$(),o.Y8G("ngIf",D.showCloseBtn)}}function ue(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-item",21),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.login())}),o.nrm(1,"div",22),o.EFF(2),o.nI1(3,"translate"),o.k0s()}2&j&&(o.R7$(2),o.SpI(" ",o.bMT(3,1,"Common.Login")," "))}function ve(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-item",23),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.openSNCard())}),o.nrm(1,"div",24),o.EFF(2),o.nI1(3,"translate"),o.k0s()}2&j&&(o.R7$(2),o.SpI(" ",o.bMT(3,1,"Common.viewCard")," "))}function we(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-item",23),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.about())}),o.nrm(1,"div",24),o.EFF(2),o.nI1(3,"translate"),o.k0s()}2&j&&(o.R7$(2),o.SpI(" ",o.bMT(3,1,"Common.About")," "))}function Re(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-item",21),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.logout())}),o.nrm(1,"div",22),o.EFF(2),o.nI1(3,"translate"),o.k0s()}2&j&&(o.R7$(2),o.SpI(" ",o.bMT(3,1,"Common.Logout")," "))}function et(j,S){if(1&j&&(o.j41(0,"ion-list"),o.DNE(1,ue,4,3,"ion-item",19)(2,ve,4,3,"ion-item",20)(3,we,4,3,"ion-item",20)(4,Re,4,3,"ion-item",19),o.k0s()),2&j){const D=o.XpG(2);o.R7$(),o.Y8G("ngIf",D.isAnonymousUser),o.R7$(),o.Y8G("ngIf",D.hasBusinessCardURL),o.R7$(),o.Y8G("ngIf",!D.isPwa),o.R7$(),o.Y8G("ngIf",!D.isAnonymousUser&&!D.isPwa)}}function at(j,S){1&j&&(o.j41(0,"ion-popover",18,0),o.DNE(2,et,5,4,"ng-template"),o.k0s())}function Pt(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-button",11),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.closeMe())}),o.nrm(1,"span",25),o.k0s()}}function At(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),o.EFF(3),o.nI1(4,"translate"),o.k0s(),o.j41(5,"ion-buttons",4)(6,"span",26),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.closeSNCard())}),o.k0s()()()(),o.j41(7,"ion-content"),o.nrm(8,"iframe",27),o.nI1(9,"safeUrl"),o.k0s()}if(2&j){const D=o.XpG();o.R7$(3),o.SpI(" ",o.bMT(4,2,"Common.viewCard"),""),o.R7$(5),o.Y8G("src",o.bMT(9,4,D.businessCardURL),o.f$h)}}let It=((re=class{constructor(S,D,w,B,te,Ee){this.i18N=S,this.platform=D,this.cpService=w,this._cdr=B,this.commonService=te,this.modalHelper=Ee,this.onClose=new o.bkB,this.onTitleClick=new o.bkB,this.isSNCardOpen=!1}ngOnInit(){return(0,T.A)(function*(){})()}logout(){this.cpService.logout()}about(){this.modalHelper.closeModal(),this.modalHelper.showAlertWithSubTitle(this.i18N.instant("Common.AboutTitle"),this.i18N.instant("Common.AboutInfo"),this.i18N.instant("Common.AboutVersion")+ne.c.VERSION,this.i18N.instant("Common.OK"))}login(){var S,D,w,B,te;null===(S=this.cpService.getCEServerByTenantId(null!==(D=null===(w=this.tenantInfo)||void 0===w?void 0:w.tenantId)&&void 0!==D?D:""))||void 0===S||S.deleteTenantLoginInfo(null!==(B=null===(te=this.tenantInfo)||void 0===te?void 0:te.tenantId)&&void 0!==B?B:""),this.commonService.goto(["/login"])}closeMe(){this.onClose.emit()}tilteClick(){this.onTitleClick.emit()}backClick(){this.commonService.gotoBack()}openSNCard(){this.isSNCardOpen=!0}get hasBusinessCardURL(){var S,D;return!q.isEmpty(null!==(S=null===(D=this.snInfo)||void 0===D||null===(D=D.businessCardInfo)||void 0===D?void 0:D.cardUrl)&&void 0!==S?S:"")}get businessCardURL(){var S,D;return null!==(S=null===(D=this.snInfo)||void 0===D||null===(D=D.businessCardInfo)||void 0===D?void 0:D.cardUrl)&&void 0!==S?S:""}closeSNCard(){this.modalHelper.closeModal(),this.isSNCardOpen=!1}useMoreMenu(){return this.commonService.inModel==H.j0.app||(this.commonService.inModel==H.j0.embed||this.commonService.inModel==H.j0.url)&&!(null!=this.commonService.webChatFunction.useMoreMenu&&!this.commonService.webChatFunction.useMoreMenu)}onWillDismiss(S){this.isSNCardOpen=!1}get showBackBtn(){return this.commonService.inModel==H.j0.app}get isAnonymousUser(){return this.commonService.isAnonymousUser}showPop(S){setTimeout(()=>{this.pop.el.parentNode&&this.pop.el.parentNode.removeChild(this.pop.el),document.body.appendChild(this.pop.el),this.pop.present()})}get showCloseBtn(){var S;return this.commonService.isUrl?null!==(S=this.commonService.webChatFunction.useClose)&&void 0!==S&&S:this.commonService.inModel==H.j0.embed}get loginName(){var S,D;return null!==(S=null===(D=this.commonService.logInUser)||void 0===D?void 0:D.name)&&void 0!==S?S:""}get loginAvatar(){var S,D;return null!==(S=null===(D=this.commonService.logInUser)||void 0===D?void 0:D.avatarIdUrl)&&void 0!==S?S:""}get isPwa(){return this.commonService.isPwa()}}).\u0275fac=function(S){return new(S||re)(o.rXU(ae.c$),o.rXU(a.OD),o.rXU(Z.b),o.rXU(o.gRc),o.rXU(H.hf),o.rXU(me.S))},re.\u0275cmp=o.VBU({type:re,selectors:[["app-room-header"]],viewQuery:function(S,D){if(1&S&&o.GBs($,7),2&S){let w;o.mGM(w=o.lsd())&&(D.pop=w.first)}},inputs:{roomInfo:"roomInfo",snInfo:"snInfo",tenantInfo:"tenantInfo"},outputs:{onClose:"onClose",onTitleClick:"onTitleClick"},standalone:!0,features:[o.aNF],decls:14,vars:6,consts:[["pop",""],[1,"fixed-header"],["slot","start"],["class","text-white",3,"click",4,"ngIf"],["slot","end"],["id","popMenu","class","text-white",3,"click",4,"ngIf"],["trigger","popMenu","showBackdrop","false","dismissOnSelect","true",4,"ngIf"],[1,"bg-colors-bg","text-white",3,"click"],[1,"font-sans","font-medium","text-base","truncate","max-w-full","w-5/6","text-center"],[1,"ion-padding"],[3,"willDismiss","isOpen"],[1,"text-white",3,"click"],[1,"iconfont","icon-chevron-back","text-white","text-2xl","hvr-grow"],["
1id","popMenu",1,"text-white",3,"click"],["class","iconfont icon-ellipsis-horizontal text-white text-2xl hvr-grow",4,"ngIf"],[3,"ceSrc","ceText","ceSize",4,"ngIf"],[1,"iconfont","icon-ellipsis-horizontal","text-white","text-2xl","hvr-grow"],[3,"ceSrc","ceText","ceSize"],["trigger","popMenu","showBackdrop","false","dismissOnSelect","true"],["lines","none","detail","false","button","",3,"click",4,"ngIf"],["button","","detail","false","lines","full",3,"click",4,"ngIf"],["lines","none","detail","false","button","",3,"click"],["slot","start",1,"ailefont","icon-a-icon23"],["button","","detail","false","lines","full",3,"click"],["slot","start",1,"ailefont","icon-a-icon26"],[1,"iconfont","icon-close-outline","text-white","text-2xl"],[1,"iconfont","icon-close-outline","text-white","text-2xl","hvr-grow",3,"click"],["sandbox","allow-scripts allow-modals allow-same-origin allow-popups allow-downloads",2,"height","100%","width","100%",3,"src"]],template:function(S,D){if(1&S&&(o.j41(0,"ion-header",1)(1,"ion-toolbar")(2,"ion-buttons",2),o.DNE(3,X,2,0,"ion-button",3),o.k0s(),o.j41(4,"ion-buttons",4),o.DNE(5,G,3,2,"ion-button",5)(6,at,3,0,"ion-popover",6)(7,Pt,2,0,"ion-button",3),o.k0s(),o.j41(8,"ion-title",7),o.bIt("click",function(){return D.tilteClick()}),o.j41(9,"h1",8),o.EFF(10),o.k0s()()()(),o.j41(11,"ion-content",9)(12,"ion-modal",10),o.bIt("willDismiss",function(B){return D.onWillDismiss(B)}),o.DNE(13,At,10,6,"ng-template"),o.k0s()()),2&S){let w;o.R7$(3),o.Y8G("ngIf",D.showBackBtn),o.R7$(2),o.Y8G("ngIf",D.useMoreMenu()),o.R7$(),o.Y8G("ngIf",D.useMoreMenu()),o.R7$(),o.Y8G("ngIf",D.showCloseBtn),o.R7$(3),o.SpI(" ",null!==(w=null!==(w=null==D.roomInfo?null:D.roomInfo.showName)&&void 0!==w?w:null==D.roomInfo?null:D.roomInfo.name)&&void 0!==w?w:"",""),o.R7$(2),o.Y8G("isOpen",D.isSNCardOpen)}},dependencies:[Y.MD,Y.bT,ae.h,ae.D9,E.bv,E.Jm,E.QW,E.W9,E.eU,E.uz,E.nf,E.BC,E.ai,E.Sb,E.CF,fe.d,ce.F],styles:["[_nghost-%COMP%]{display:block}ion-toolbar[_ngcontent-%COMP%]{--background: #6b93c2;--color: white}ion-button[_ngcontent-%COMP%]{--background: #6b93c2;--color: white;--background-focused: white}"],changeDetection:0}),re);It=(0,s.Cg)([h.$.RefWindow("ChatHeader")],It);var qt=f(60960),St=f(71985),lt=f(21413),yt=f(88839),Ft=f(39974),rt=f(54360);function mt(j,S=yt.E){return(0,Ft.N)((D,w)=>{let B=null,te=null,Ee=null;const ze=()=>{if(B){B.unsubscribe(),B=null;const Dt=te;te=null,w.next(Dt)}};function gt(){const Dt=Ee+j,Wt=S.now();if(Wt<Dt)return B=this.schedule(void 0,Dt-Wt),void w.add(B);ze()}D.subscribe((0,rt._)(w,Dt=>{te=Dt,Ee=S.now(),B||(B=S.schedule(gt,j),w.add(B))},()=>{ze(),w.complete()},void 0,()=>{te=B=null}))})}const Mt=["gutterEls"],Vt=["*"],Lt=(j,S,D,w,B,te)=>({areaBefore:j,areaAfter:S,gutterNum:D,first:w,last:B,isDragged:te});function $n(j,S){1&j&&o.eu8(0)}function Tn(j,S){if(1&j&&(o.qex(0),o.DNE(1,$n,1,0,"ng-container",7),o.bVm()),2&j){const D=S.$implicit,w=o.XpG(3),B=w.$implicit,te=w.index,Ee=w.first,ze=o.XpG();o.R7$(),o.Y8G("ngTemplateOutlet",ze.customGutter.template)("ngTemplateOutletContext",o.l4e(3,Lt,B,ze.displayedAreas[te+1],te+1,Ee,te===ze.displayedAreas.length-2,ze.draggedGutterNum===te+1))("ngTemplateOutletInjector",D)}}function An(j,S){if(1&j&&(o.qex(0),o.DNE(1,Tn,2,10,"ng-container",6),o.bVm()),2&j){const D=o.XpG(2).index;o.R7$(),o.Y8G("asSplitGutterDynamicInjector",D+1)}}function jn(j,S){1&j&&o.nrm(0,"div",8)}function or(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",4,0),o.bIt("keydown",function(B){o.eBV(D);const te=o.XpG().index,Ee=o.XpG();return o.Njj(Ee.startKeyboardDrag(B,2*te+1,te+1))})("mousedown",function(B){o.eBV(D);const te=o.XpG().index,Ee=o.XpG();return o.Njj(Ee.startMouseDrag(B,2*te+1,te+1))})("touchstart",function(B){o.eBV(D);const te=o.XpG().index,Ee=o.XpG();return o.Njj(Ee.startMouseDrag(B,2*te+1,te+1))})("mouseup",function(B){o.eBV(D);const te=o.XpG().index,Ee=o.XpG();return o.Njj(Ee.clickGutter(B,te+1))})("touchend",function(B){o.eBV(D);const te=o.XpG().index,Ee=o.XpG();return o.Njj(Ee.clickGutter(B,te+1))}),o.DNE(2,An,2,1,"ng-container",5)(3,jn,1,0,"ng-template",null,1,o.C5r),o.k0s()}if(2&j){const D=o.sdS(4),w=o.XpG(),B=w.$implicit,te=w.index,Ee=o.XpG();o.xc7("flex-basis",Ee.gutterSize,"px")("order",2*te+1),o.AVh("as-dragged",Ee.draggedGutterNum===te+1),o.BMQ("aria-label",Ee.gutterAriaLabel)("aria-orientation",Ee.direction)("aria-valuemin",B.minSize)("aria-valuemax",B.maxSize)("aria-valuenow","*"===B.size?null:B.size)("aria-valuetext",Ee.getAriaAreaSizeText(B.size)),o.R7$(2),o.Y8G("ngIf",null==Ee.customGutter?null:Ee.customGutter.template)("ngIfElse",D)}}function br(j,S){1&j&&o.DNE(0,or,5,14,"div",3),2&j&&o.Y8G("ngIf",!1===S.last)}function Fr(j){if(void 0!==j.changedTouches&&j.changedTouches.length>0)return{x:j.changedTouches[0].clientX,y:j.changedTouches[0].clientY};if(void 0!==j.clientX&&void 0!==j.clientY)return{x:j.clientX,y:j.clientY};if(void 0!==j.currentTarget){const S=j.currentTarget;return{x:S.offsetLeft,y:S.offsetTop}}return null}function On(j,S,D){return Math.abs(j.x-S.x)<=D&&Math.abs(j.y-S.y)<=D}function ur(j,S){const D=j.nativeElement.getBoundingClientRect();return"horizontal"===S?D.width:D.height}function tr(j){return"boolean"==typeof j?j:"false"!==j}function Lr(j,S){return null==j?S:(j=Number(j),!isNaN(j)&&j>=0?j:S)}function Br(j,S){if("percent"===j){const D=S.reduce((B,te)=>
1"*"!==te?B+te:B,0),w=S.filter(B=>"*"===B);return!(w.length>1)&&(1===w.length||D>99.9)&&D<100.1}if("pixel"===j)return 1===S.filter(D=>"*"===D).length}function Gr(j){return"*"===j.size?null:!0===j.component.lockSize?j.size:null===j.component.minSize?null:j.component.minSize}function qr(j){return"*"===j.size?null:!0===j.component.lockSize?j.size:null===j.component.maxSize?null:j.component.maxSize<j.size?j.size:j.component.maxSize}function _r(j,S,D,w){return S.reduce((B,te)=>{const Ee=function hr(j,S,D,w){return 0===D?{areaSnapshot:S,pixelAbsorb:0,percentAfterAbsorption:S.sizePercentAtStart,pixelRemain:0}:0===S.sizePixelAtStart&&D<0?{areaSnapshot:S,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:D}:"percent"===j?function Nr(j,S,D){const B=(j.sizePixelAtStart+S)/D*100;if(S>0){if(null!==j.area.maxSize&&B>j.area.maxSize){const te=j.area.maxSize/100*D;return{areaSnapshot:j,pixelAbsorb:te,percentAfterAbsorption:j.area.maxSize,pixelRemain:j.sizePixelAtStart+S-te}}return{areaSnapshot:j,pixelAbsorb:S,percentAfterAbsorption:B>100?100:B,pixelRemain:0}}if(S<0){if(null!==j.area.minSize&&B<j.area.minSize){const te=j.area.minSize/100*D;return{areaSnapshot:j,pixelAbsorb:te,percentAfterAbsorption:j.area.minSize,pixelRemain:j.sizePixelAtStart+S-te}}return B<0?{areaSnapshot:j,pixelAbsorb:-j.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:S+j.sizePixelAtStart}:{areaSnapshot:j,pixelAbsorb:S,percentAfterAbsorption:B,pixelRemain:0}}}(S,D,w):"pixel"===j?function $r(j,S){const D=j.sizePixelAtStart+S;return S>0?null!==j.area.maxSize&&D>j.area.maxSize?{areaSnapshot:j,pixelAbsorb:j.area.maxSize-j.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:D-j.area.maxSize}:{areaSnapshot:j,pixelAbsorb:S,percentAfterAbsorption:-1,pixelRemain:0}:S<0?null!==j.area.minSize&&D<j.area.minSize?{areaSnapshot:j,pixelAbsorb:j.area.minSize+S-D,percentAfterAbsorption:-1,pixelRemain:D-j.area.minSize}:D<0?{areaSnapshot:j,pixelAbsorb:-j.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:S+j.sizePixelAtStart}:{areaSnapshot:j,pixelAbsorb:S,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(S,D):void 0}(j,te,B.remain,w);return B.list.push(Ee),B.remain=Ee.pixelRemain,B},{remain:D,list:[]})}function Xr(j,S){"*"!==S.areaSnapshot.area.size&&("percent"===j?S.areaSnapshot.area.size=S.percentAfterAbsorption:"pixel"===j&&(S.areaSnapshot.area.size=S.areaSnapshot.sizePixelAtStart+S.pixelAbsorb))}const Rt=new o.nKC("angular-split-global-config");let zt=(()=>{var j;class S{constructor(w){this.template=w,this.gutterToHandleElementMap=new Map,this.gutterToExcludeDragElementMap=new Map}canStartDragging(w,B){return(!this.gutterToExcludeDragElementMap.has(B)||!this.gutterToExcludeDragElementMap.get(B).some(Ee=>Ee.nativeElement.contains(w)))&&(!this.gutterToHandleElementMap.has(B)||this.gutterToHandleElementMap.get(B).some(te=>te.nativeElement.contains(w)))}addToMap(w,B,te){w.has(B)?w.get(B).push(te):w.set(B,[te])}removedFromMap(w,B,te){const Ee=w.get(B);Ee.splice(Ee.indexOf(te),1),0===Ee.length&&w.delete(B)}static ngTemplateContextGuard(w,B){return!0}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(o.C4Q))},j.\u0275dir=o.FsC({type:j,selectors:[["","asSplitGutter",""]]}),S})();const vn=new o.nKC("Gutter num");let ln=(()=>{var j;class S{set gutterNum(w){this.vcr.clear();const B=o.zZn.create({providers:[{provide:vn,useValue:w}],parent:this.vcr.injector});this.vcr.createEmbeddedView(this.templateRef,{$implicit:B})}constructor(w,B){this.vcr=w,this.templateRef=B}static ngTemplateContextGuard(w,B){return!0}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(o.c1b),o.rXU(o.C4Q))},j.\u0275dir=o.FsC({type:j,selectors:[["","asSplitGutterDynamicInjector",""]],inputs:{gutterNum:[o.Mj6.None,"asSplitGutterDynamicInjector","gutterNum"]}}),S})(),Sn=(()=>{var j;class S{set direction(w){this._direction="vertical"===w?"vertical":"horizontal",this.renderer.addClass(this.elRef.nativeElement,`as-${this._direction}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("vertical"===this._direction?"horizontal":"vertical")),this.build(!1,!1)}get direction(){return this._direction}set unit(w){this._unit="pixel"===w?"pixel":"percent",this.renderer.addClass(this.elRef.nativeElement,`as-${this._unit}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("pixel"===this._unit?"percent":"pixel")),this.build(!1,!0)}get unit(){return this._unit}set gutterSize(w){this._gutterSize=Lr(w,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(w){this._gutterStep=Lr(w,1)}get gutterStep(){return this._gutterStep}set restrictMove(w){this._restrictMove=tr(w)}get restrictMove(){return this._restrictMove}set useTransition(w){this._useTransition=tr(w),this._useTransition?this.renderer.addClass(this.elRef.nativeElement,"as-transition"):this.renderer.removeClass(this.elRef.nativeElement,"as-transition")}get useTransition(){return this._useTransition}set disabled(w){this._disabled=tr(w),this._disabled?this.renderer.addClass(this.elRef.nativeElement,"as-disabled"):this.renderer.removeClass(this.elRef.nativeElement,"as-disabled")}get disabled(){return this._disabled}set dir(w){this._dir="rtl"===w?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(w){this._gutterDblClickDuration=Lr(w,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new St.c(w=>this.transitionEndSubscriber=w).pipe(mt(20))}constructor(w,B,te,Ee,ze){this.ngZone=w,this.elRef=B,this.cdRef=te,this.renderer=Ee,this.gutterClickDeltaPx=2,this._config={direction:"horizontal",unit:"percent",gutterSize:11,gutterStep:1,restrictMove:!1,useTransition:!1,disabled:!1,dir:"ltr",gutterDblClickDuration:0},this.dragStart=new o.bkB(!1),this.dragEnd=new o.bkB(!1),this.gutterClick=new o.bkB(!1),this.gutterDblClick=new o.bkB(!1),this.dragProgressSubject=ne
1w lt.B,this.dragProgress$=this.dragProgressSubject.asObservable(),this.isDragging=!1,this.isWaitingClear=!1,this.isWaitingInitialMove=!1,this.dragListeners=[],this.snapshot=null,this.startPoint=null,this.endPoint=null,this.displayedAreas=[],this.hiddenAreas=[],this._clickTimeout=null,this.draggedGutterNum=void 0,this.direction=this._direction,this._config=ze?Object.assign(this._config,ze):this._config,Object.keys(this._config).forEach(gt=>{this[gt]=this._config[gt]})}ngAfterViewInit(){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>this.renderer.addClass(this.elRef.nativeElement,"as-init"))})}getNbGutters(){return 0===this.displayedAreas.length?0:this.displayedAreas.length-1}addArea(w){const B={component:w,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===w.visible?(this.displayedAreas.push(B),this.build(!0,!0)):this.hiddenAreas.push(B)}removeArea(w){if(this.displayedAreas.some(B=>B.component===w)){const B=this.displayedAreas.find(te=>te.component===w);this.displayedAreas.splice(this.displayedAreas.indexOf(B),1),this.build(!0,!0)}else if(this.hiddenAreas.some(B=>B.component===w)){const B=this.hiddenAreas.find(te=>te.component===w);this.hiddenAreas.splice(this.hiddenAreas.indexOf(B),1)}}updateArea(w,B,te){!0===w.visible&&this.build(B,te)}showArea(w){const B=this.hiddenAreas.find(Ee=>Ee.component===w);if(void 0===B)return;const te=this.hiddenAreas.splice(this.hiddenAreas.indexOf(B),1);this.displayedAreas.push(...te),this.build(!0,!0)}hideArea(w){const B=this.displayedAreas.find(Ee=>Ee.component===w);if(void 0===B)return;const te=this.displayedAreas.splice(this.displayedAreas.indexOf(B),1);te.forEach(Ee=>{Ee.order=0,Ee.size=0}),this.hiddenAreas.push(...te),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(w=>w.size)}setVisibleAreaSizes(w){if(w.length!==this.displayedAreas.length)return!1;const B=w.map(Ee=>Lr(Ee,"*"));return!1!==Br(this.unit,B)&&(this.displayedAreas.forEach((Ee,ze)=>Ee.component.size=B[ze]),this.build(!1,!0),!0)}build(w,B){if(this.stopDragging(),!0===w&&(this.displayedAreas.every(te=>null!==te.component.order)&&this.displayedAreas.sort((te,Ee)=>te.component.order-Ee.component.order),this.displayedAreas.forEach((te,Ee)=>{te.order=2*Ee,te.component.setStyleOrder(te.order)})),!0===B){const te=Br(this.unit,this.displayedAreas.map(Ee=>Ee.component.size));switch(this.unit){case"percent":{const Ee=100/this.displayedAreas.length;this.displayedAreas.forEach(ze=>{ze.size=te?ze.component.size:Ee,ze.minSize=Gr(ze),ze.maxSize=qr(ze)});break}case"pixel":if(te)this.displayedAreas.forEach(Ee=>{Ee.size=Ee.component.size,Ee.minSize=Gr(Ee),Ee.maxSize=qr(Ee)});else{const Ee=this.displayedAreas.filter(ze=>"*"===ze.component.size);if(0===Ee.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((ze,gt)=>{ze.size=0===gt?"*":ze.component.size,ze.minSize=0===gt?ze.component.minSize:Gr(ze),ze.maxSize=0===gt?null:qr(ze)});else if(Ee.length>1){let ze=!1;this.displayedAreas.forEach(gt=>{"*"===gt.component.size?!1===ze?(gt.size="*",gt.minSize=null,gt.maxSize=null,ze=!0):(gt.size=100,gt.minSize=null,gt.maxSize=null):(gt.size=gt.component.size,gt.minSize=Gr(gt),gt.maxSize=qr(gt))})}}}}this.refreshStyleSizes(),this.cdRef.markForCheck()}refreshStyleSizes(){if("percent"===this.unit)if(1===this.displayedAreas.length)this.displayedAreas[0].component.setStyleFlex(0,0,"100%",!1,!1);else{const w=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(B=>{"*"===B.size?B.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):B.component.setStyleFlex(0,0,`calc( ${B.size}% - ${B.size/100*w}px )`,null!==B.minSize&&B.minSize===B.size,null!==B.maxSize&&B.maxSize===B.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(w=>{"*"===w.size?w.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?w.component.setStyleFlex(0,0,"100%",!1,!1):w.component.setStyleFlex(0,0,`${w.size}px`,null!==w.minSize&&w.minSize===w.size,null!==w.maxSize&&w.maxSize===w.size)})}clickGutter(w,B){const te=Fr(w);this.startPoint&&On(this.startPoint,te,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",B),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",B),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag(w,B,te){if(!0===this.disabled||!0===this.isWaitingClear)return;const Ee=function sr(j,S){if("horizontal"===S)switch(j.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===S)switch(j.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}const D=j.currentTarget,w="PageUp"===j.key||"PageDown"===j.key?500:50;let B=D.offsetLeft,te=D.offsetTop;switch(j.key){case"ArrowLeft":B-=w;break;case"ArrowRight":B+=w;break;case"ArrowUp":te-=w;break;case"ArrowDown":te+=w;break;case"PageUp":"vertical"===S?te-=w:B+=w;break;case"PageDown":"vertical"===S?te+=w:B-=w;break;default:return null}return{x:B,y:te}}(w,this.direction);null!==Ee&&(this.endPoint=Ee,this.startPoint=Fr(w),w.preventDefault(),w.stopPropagation(),this.setupForDragEvent(B,te),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag(w,B,te){this.customGutter&&!this.customGutter.canStartDragging(w.target,te)||(w.preventDefault(),w.stopPropagation(),this.startPoint=Fr(w),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(B,te),this.dragListeners.push(this.renderer.listen("document","mouseup",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchend",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchcancel",this.stopDragging.bind(this))),this.ngZone.runOutsideAngular(()=>{this.dragListeners.push(this.renderer.listen("document","mousemove",this.mouseDragEvent.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchmove",this.mouseDragEvent.bind(this)))}),this.startDragging()))}setupForDragEvent(w,B){if(this.snapshot={gutterNum:B,lastSteppedOffset:0,allAreasSizePixel:ur(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(te=>{const Ee={area:te,sizePixelAtStart:ur(te.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?te.size:-1};te.order<w?!0===this.restrictMove?this.snapshot.areasBeforeGutter=[Ee]:this.snapshot.areasBeforeGutter.unshift(Ee):te.order>w&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[Ee]):this.snapshot.areasAfterGutter.push(Ee))}),this.restrictMove&&"percent"===this.unit){const te=this.snapshot.areasBeforeGutter[0],Ee=this.snapshot.areasAfterGutter[0];if("*"===te.area.size||"*"===Ee.area.size){const ze=this.displayedAreas.reduce((gt,Dt)=>te.area!==Dt&&Ee.area!==Dt?gt+Dt.size:gt,0);this.snapshot.allInvolvedAreasSizePercent=100-ze}else this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((ze,gt)=>ze+gt.sizePercentAtStart,0)}}startDragging(){this.displayedAreas.forEach(w=>w.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent(w){w.preventDefault(),w.stopPropagation();const B=Fr(w);null!==this._clickTimeout&&!On(this.startPoint,B,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=Fr(w),null!==this.endPoint&&this.drag())}drag(){if(this.isWaitingInitialMove){if(this.startPoint.x===this.endPoint.x&&this.startPoint.y===this.endPoint.y)return;this.ngZone.run(()=>{this.isWaitingInitialMove=!1,this.renderer.addClass(this.elRef.nativeElement,"as-dragging"),this.draggedGutterNum=this.snapshot.gutterNum,this.cdRef.markForCheck(),this.notify("start",this.snapshot.gutterNum)})}let w="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&"horizontal"===this.direction&&(w=-w);const B=Math.round(w/this.gutterStep)*this.gutterStep;if(B===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=B;let te=_r(this.unit,this.snapshot.areasBeforeGutter,-B,this.snapshot.allAreasSizePixel),Ee=_r(this.unit,this.snapshot.areasAfterGutter,B,this.snapshot.allAreasSizePixel);if(0!==te.remain&&0!==Ee.remain?Math.abs(te.remain)===Math.abs(Ee.remain)||(Math.abs(te.remain)>Math.abs(Ee.remain)?Ee=_r(this.unit,this.snapshot.areasAfterGutter,B+te.remain,this.snapshot.allAreasSizePixel):te=_r(this.unit,this.snapshot.areasBeforeGutter,-(B-Ee.remain),this.snapshot.allAreasSizePixel)):0!==te.remain?Ee=_r(this.unit,this.snapshot.areasAfterGutter,B+te.remain,this.snapshot.allAreasSizePixel):0!==Ee.remain&&(te=_r(this.unit,this.snapshot.areasBeforeGutter,-(B-Ee.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const ze=[...te.list,...Ee.list],gt=ze.find(Wt=>"*"===Wt.percentAfterAbsorption),Dt=null!=gt?gt:ze.find(Wt=>0!==Wt.percentAfterAbsorption&&Wt.percentAfterAbsorption!==Wt.areaSnapshot.area.minSize&&Wt.percentAfterAbsorption!==Wt.areaSnapshot.area.maxSize);Dt&&(Dt.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-ze.filter(Wt=>
1Wt!==Dt).reduce((Wt,yn)=>Wt+yn.percentAfterAbsorption,0))}te.list.forEach(ze=>Xr(this.unit,ze)),Ee.list.forEach(ze=>Xr(this.unit,ze)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(w){if(w&&(w.preventDefault(),w.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(B=>B.component.unlockEvents());this.dragListeners.length>0;){const B=this.dragListeners.pop();B&&B()}this.isDragging=!1,!1===this.isWaitingInitialMove&&this.notify("end",this.snapshot.gutterNum),this.renderer.removeClass(this.elRef.nativeElement,"as-dragging"),this.draggedGutterNum=void 0,this.cdRef.markForCheck(),this.snapshot=null,this.isWaitingClear=!0,this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.startPoint=null,this.endPoint=null,this.isWaitingClear=!1})})}}notify(w,B){const te=this.getVisibleAreaSizes();"start"===w?this.dragStart.emit({gutterNum:B,sizes:te}):"end"===w?this.dragEnd.emit({gutterNum:B,sizes:te}):"click"===w?this.gutterClick.emit({gutterNum:B,sizes:te}):"dblclick"===w?this.gutterDblClick.emit({gutterNum:B,sizes:te}):"transitionEnd"===w?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(te)):"progress"===w&&this.dragProgressSubject.next({gutterNum:B,sizes:te})}ngOnDestroy(){this.stopDragging()}collapseArea(w,B,te){const Ee=this.displayedAreas.find(Dt=>Dt.component===w);if(void 0===Ee)return;const ze="right"===te?1:-1;Ee.sizeBeforeCollapse||(Ee.sizeBeforeCollapse=Ee.size,Ee.gutterBeforeCollapse=ze),Ee.size=B;const gt=this.gutterEls.find(Dt=>Dt.nativeElement.style.order===`${Ee.order+ze}`);gt&&this.renderer.addClass(gt.nativeElement,"as-split-gutter-collapsed"),this.updateArea(w,!1,!1)}expandArea(w){const B=this.displayedAreas.find(Ee=>Ee.component===w);if(void 0===B||!B.sizeBeforeCollapse)return;B.size=B.sizeBeforeCollapse,B.sizeBeforeCollapse=null;const te=this.gutterEls.find(Ee=>Ee.nativeElement.style.order===`${B.order+B.gutterBeforeCollapse}`);te&&this.renderer.removeClass(te.nativeElement,"as-split-gutter-collapsed"),this.updateArea(w,!1,!1)}getAriaAreaSizeText(w){return"*"===w?null:w.toFixed(0)+" "+this.unit}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(o.SKi),o.rXU(o.aKT),o.rXU(o.gRc),o.rXU(o.sFG),o.rXU(Rt,8))},j.\u0275cmp=o.VBU({type:j,selectors:[["as-split"]],contentQueries:function(w,B,te){if(1&w&&o.wni(te,zt,5),2&w){let Ee;o.mGM(Ee=o.lsd())&&(B.customGutter=Ee.first)}},viewQuery:function(w,B){if(1&w&&o.GBs(Mt,5),2&w){let te;o.mGM(te=o.lsd())&&(B.gutterEls=te)}},inputs:{direction:"direction",unit:"unit",gutterSize:"gutterSize",gutterStep:"gutterStep",restrictMove:"restrictMove",useTransition:"useTransition",disabled:"disabled",dir:"dir",gutterDblClickDuration:"gutterDblClickDuration",gutterClickDeltaPx:"gutterClickDeltaPx",gutterAriaLabel:"gutterAriaLabel"},outputs:{transitionEnd:"transitionEnd",dragStart:"dragStart",dragEnd:"dragEnd",gutterClick:"gutterClick",gutterDblClick:"gutterDblClick"},exportAs:["asSplit"],ngContentSelectors:Vt,decls:2,vars:1,consts:[["gutterEls",""],["defaultGutterTpl",""],["ngFor","",3,"ngForOf"],["role","separator","tabindex","0","class","as-split-gutter",3,"as-dragged","flex-basis","order","keydown","mousedown","touchstart","mouseup","touchend",4,"ngIf"],["role","separator","tabindex","0",1,"as-split-gutter",3,"keydown","mousedown","touchstart","mouseup","touchend"],[4,"ngIf","ngIfElse"],[4,"asSplitGutterDynamicInjector"],[4,"ngTemplateOutlet","ngTemplateOutletContext","ngTemplateOutletInjector"],[1,"as-split-gutter-icon"]],template:function(w,B){1&w&&(o.NAR(),o.SdG(0),o.DNE(1,br,1,1,"ng-template",2)),2&w&&(o.R7$(),o.Y8G("ngForOf",B.displayedAreas))},dependencies:[Y.Sq,Y.bT,Y.T3,ln],styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;width:100%;height:100%}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{border:none;flex-grow:0;flex-shrink:0;background-color:#eee;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] > .as-split-gutter.as-split-gutter-collapsed[_ngcontent-%COMP%]{flex-basis:1px!important;pointer-events:none}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{width:100%;height:100%;background-position:center center;background-repeat:no-repeat}[_nghost-%COMP%] >.as-split-area{flex-grow:0;flex-shrink:0;overflow-x:hidden;overflow-y:auto}[_nghost-%COMP%] >.as-split-area.as-hidden{flex:0 1 0px!important;overflow-x:hidden;overflow-y:hidden}[_nghost-%COMP%] >.as-split-area .iframe-fix{position:absolute;top:0;left:0;width:100%;height:100%}.as-horizontal[_nghost-%COMP%]{flex-direction:row}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:row;cursor:col-resize;height:100%}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-horizontal[_nghost-%COMP%] >.as-split-area{height:100%}.as-vertical[_nghost-%COMP%]{flex-direction:column}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:column;
1cursor:row-resize;width:100%}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.as-vertical[_nghost-%COMP%] >.as-split-area{width:100%}.as-vertical[_nghost-%COMP%] >.as-split-area.as-hidden{max-width:0}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{cursor:default}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) > .as-split-gutter[_ngcontent-%COMP%], .as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) >.as-split-area{transition:flex-basis .3s}"],changeDetection:0}),S})(),dr=(()=>{var j;class S{set order(w){this._order=Lr(w,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(w){this._size=Lr(w,"*"),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(w){this._minSize=Lr(w,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(w){this._maxSize=Lr(w,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(w){this._lockSize=tr(w),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(w){this._visible=tr(w),this._visible?(this.split.showArea(this),this.renderer.removeClass(this.elRef.nativeElement,"as-hidden")):(this.split.hideArea(this),this.renderer.addClass(this.elRef.nativeElement,"as-hidden"))}get visible(){return this._visible}constructor(w,B,te,Ee){this.ngZone=w,this.renderer=B,this.split=te,this.elRef=Ee,this._order=null,this._size="*",this._minSize=null,this._maxSize=null,this._lockSize=!1,this._visible=!0,this.lockListeners=[],this.renderer.addClass(this.elRef.nativeElement,"as-split-area")}ngOnInit(){this.split.addArea(this),this.ngZone.runOutsideAngular(()=>{this.transitionListener=this.renderer.listen(this.elRef.nativeElement,"transitionend",B=>{"flex-basis"===B.propertyName&&this.split.notify("transitionEnd",-1)})});const w=this.renderer.createElement("div");this.renderer.addClass(w,"iframe-fix"),this.dragStartSubscription=this.split.dragStart.subscribe(()=>{this.renderer.setStyle(this.elRef.nativeElement,"position","relative"),this.renderer.appendChild(this.elRef.nativeElement,w)}),this.dragEndSubscription=this.split.dragEnd.subscribe(()=>{this.renderer.removeStyle(this.elRef.nativeElement,"position"),this.renderer.removeChild(this.elRef.nativeElement,w)})}setStyleOrder(w){this.renderer.setStyle(this.elRef.nativeElement,"order",w)}setStyleFlex(w,B,te,Ee,ze){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",w),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",B),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",te),!0===Ee?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===ze?this.renderer.addClass(this.elRef.nativeElement,"as-max"):this.renderer.removeClass(this.elRef.nativeElement,"as-max")}lockEvents(){this.ngZone.runOutsideAngular(()=>{this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"selectstart",()=>!1)),this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"dragstart",()=>!1))})}unlockEvents(){for(;this.lockListeners.length>0;){const w=this.lockListeners.pop();w&&w()}}ngOnDestroy(){var w,B;this.unlockEvents(),this.transitionListener&&this.transitionListener(),null===(w=this.dragStartSubscription)||void 0===w||w.unsubscribe(),null===(B=this.dragEndSubscription)||void 0===B||B.unsubscribe(),this.split.removeArea(this)}collapse(w=0,B="right"){this.split.collapseArea(this,w,B)}expand(){this.split.expandArea(this)}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(o.SKi),o.rXU(o.sFG),o.rXU(Sn),o.rXU(o.aKT))},j.\u0275dir=o.FsC({type:j,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]}),S})(),bn=(()=>{var j;class S{}return(j=S).\u0275fac=function(w){return new(w||j)},j.\u0275mod=o.$C({type:j}),j.\u0275inj=o.G2t({imports:[Y.MD]}),S})();
1var Cn=f(56977),Kn=f(90760),Xn=f(49344),nr=f(47273),fn=f(47046);let fr=(()=>{class S{static getStickService(w,B){if(null==B)throw new Error("tenantItem is undefined");let te=S.stickServices.find(Ee=>Ee.tenantInfo.tenantId==B.tenantId);return q.isEmpty(te)&&(te=new S(w,B),S.stickServices.push(te)),te}get commonService(){return this.injector.get(H.hf)}get http(){return this.injector.get(nr.P)}get logService(){return this.injector.get(Xn.J)}get cpService(){return this.injector.get(Z.b)}get cacheM(){return this.injector.get(Kn.F)}get log(){return this.injector.get(Xn.J)}constructor(w,B){this.injector=w,this.tenantInfo=B,this.defaultStick={id:"qbi",name:"QBI",emojis:[]},this.stickList=[],this.stickIcons={_first:"data:image/svg+xml;base64,77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CiA8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPgogICAgPHBhdGggZD0iTTEyIDBhMTIgMTIgMCAxIDAgMCAyNCAxMiAxMiAwIDAgMCAwLTI0bTAgMjJhMTAgMTAgMCAxIDEgMC0yMCAxMCAxMCAwIDAgMSAwIDIwTTggN2EyIDIgMCAxIDAgMCA0IDIgMiAwIDAgMCAwLTRtOCAwYTIgMiAwIDEgMCAwIDQgMiAyIDAgMCAwIDAtNG0tLjggOGMtLjcgMS4yLTEuOCAyLTMuMyAyLTEuNSAwLTIuNy0uOC0zLjQtMkgxNW0zLTJINmE2IDYgMCAxIDAgMTIgMCIgZmlsbD0iIzdCN0E3QiIgLz4KPC9zdmc+",qbi:"assets/images/chartlet/bar/cover.png"},this.stickSorts=["_first","qbi"],this.stickI18n={categories:{qbi:"Qbi"}},this.stickList=[],this.getStickList()}getStick(){return this.stickList}getStickIcon(){return this.stickIcons}getStickSort(){return this.stickSorts}getI18n(){return this.stickI18n}getStickerUrl(w){return new Promise((B,te)=>{for(let Ee of this.stickList)for(let ze of Ee.emojis)if(ze.sendKey==w||ze.name==w)return B(ze.imageUrl);this.getStickItem(w).then(Ee=>{B(Ee)}).catch(Ee=>B(""))})}getStickList(){return new Promise((w,B)=>{let te=this.tenantInfo,Ee=this.cpService.getCEServerByTenantId(this.tenantInfo.tenantId);if(q.isEmpty(Ee))return void w([]);let ze=Ee.buildBase(this.tenantInfo);if(""==ze._header_.token)return void setTimeout(()=>{w(this.getStickList())},500);let gt=te.serviceUrl+"/"+de.v.CE_STICKER_PACKAGELIST,Dt=q.assign({},ze._header_,{});this.log.debug("Post getPackList path:"+gt+" args:"+JSON.stringify(Dt)),this.http.post(gt,Dt,ze.options).subscribe(Wt=>{let yn=Wt;if(!yn._header_.success)return"Qs.Token.Invalid"==yn._header_.errorCode?void setTimeout(()=>{w(this.getStickList())},500):void w([]);{let Ln=yn;var Bn;this.log.debug("getPackList res:"+JSON.stringify(Ln)),Ln._header_.success?(this.log.debug("getPackList success"),this.stickSorts=["_first"],this.stickList=[],null===(Bn=Ln.items)||void 0===Bn||Bn.map(Jn=>{let ir={id:Jn.id,name:Jn.name,emojis:[]};this.stickIcons[Jn.id]=Jn.iconUrl,this.stickSorts.push(Jn.id),this.stickI18n.categories[Jn.id]=Jn.name,this.cacheM.getSticker(Jn.id).then(Tr=>{Jn.imageUrl=Jn.iconUrl,Jn.sendKey=Jn.id,q.isEmpty(Tr)?this.downSticker(Jn):this.stickIcons[Jn.id]=Tr}).catch(Tr=>{this.downSticker(Jn)}),this.stickList.push(ir),this.cacheM.getCacheItem("StitckPackage_"+Jn.id).then(Tr=>{q.isEmpty(Tr)||Tr.map(Zr=>{ir.emojis.push(Zr)})})}),w(this.stickList)):this.log.debug("getPackList faild")}})})}getStickItems(w){var B=this;return new Promise((te,Ee)=>{let ze=this.tenantInfo,gt=this.cpService.getCEServerByTenantId(this.tenantInfo.tenantId);if(q.isEmpty(gt))return void te([]);let Dt=gt.buildBase(this.tenantInfo),Wt=ze.serviceUrl+"/"+de.v.CE_STICKER_LIST,yn=q.assign({},Dt._header_,{stickerPackageId:w});fn.co._stickDownChanged.next({packageId:w,type:0}),this.log.debug("Post getStickItems path:"+Wt+" args:"+JSON.stringify(yn)),this.http.post(Wt,yn,Dt.options).subscribe(Bn=>{let Ln=Bn;if(this.log.debug("getStickItems res:"+JSON.stringify(Ln)),Ln._header_.success){let Jn=this.stickList.find(ir=>ir.id==w);if(Jn){let ir=Ln.items.map(function(){var Tr=(0,T.A)(function*(Zr){let fi={name:Zr.name,shortNames:Zr.displayName,keywords:[Zr.keywords],imageUrl:Zr.pictureUrl,sendKey:Zr.id,packageId:w},Ai=yield B.downSticker(fi);return fi.imageUrl=Ai,Jn.emojis.push(fi),fi});return function(Zr){return Tr.apply(this,arguments)}}());Promise.all(ir).then(Tr=>{fn.co._stickDownChanged.next({packageId:w,type:1}),this.cacheM.setCacheItem("StitckPackage_"+w,Tr,"stick"),te(!0)})}}else this.log.debug("getStickItems faild")})})}getStickItem(w){return new Promise((B,te)=>{let Ee=this.tenantInfo,ze=this.cpService.getCEServerByTenantId(this.tenantInfo.tenantId);if(q.isEmpty(ze))return void B("");let gt=ze.buildBase(this.tenantInfo),Dt=Ee.serviceUrl+"/"+de.v.CE_STICKER_ITEM,Wt=q.assign({},gt._header_,{id:w});this.log.debug("Post getStickItem path:"+Dt+" args:"+JSON.stringify(Wt)),this.http.post(Dt,Wt,gt.options).subscribe(yn=>{let Bn=yn;if(this.log.debug("getStickItem res:"+JSON.stringify(Bn)),Bn._header_.success){this.log.debug("getStickItem success");let Jn={name:Bn.name,shortNames:Bn.displayName,keywords:[Bn.keywords],imageUrl:Bn.pictureUrl,sendKey:Bn.id};
1this.cacheM.getSticker(Jn.sendKey).then(ir=>{q.isEmpty(ir)?this.downSticker(Jn).then(Tr=>{B(Tr)}):(Jn.imageUrl=ir,B(ir))}).catch(ir=>{this.downSticker(Jn).then(Tr=>{B(Tr)})})}else this.log.debug("getStickItems faild"),B("")})})}downSticker(w){return new Promise((B,te)=>{let Ee=this.tenantInfo,ze=this.cpService.getCEServerByTenantId(Ee.tenantId);q.isEmpty(ze)?B(""):ze.downLoadStickerXHR(Ee,w.imageUrl).subscribe(gt=>{de.v.getImage(gt).then(Dt=>{w.imageUrl=Dt,this.cacheM.setSticker(w.sendKey,Dt),B(Dt)}).catch(()=>{B("")})})})}}return S.stickServices=[],S})();var lr=f(95546),ar=f.n(lr),ni=f(15083),vi=f(11889);const no=(0,ni.F3)("Filesystem",{web:()=>f.e(2937).then(f.bind(f,32937)).then(j=>new j.FilesystemWeb)});var $i;const Xi=["content_image"],Di=["oPrve"],lo=["oNext"],to=["playerVideo"];function vo(j,S){if(1&j&&(o.nrm(0,"img",23),o.nI1(1,"safeUrl")),2&j){const D=o.XpG();o.Y8G("src",o.bMT(1,1,D.videoImgbg),o.B4B)}}function Co(j,S){1&j&&(o.j41(0,"div",24),o.EFF(1),o.nI1(2,"translate"),o.k0s()),2&j&&(o.R7$(),o.JRh(o.bMT(2,1,"Common.NoSuportVideo")))}function mn(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",25),o.bIt("click",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.triggerPlay(B))}),o.k0s()}}function Jt(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",26),o.bIt("click",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.triggerPlay(B))}),o.nrm(1,"i",27),o.k0s()}}function kn(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",26),o.bIt("click",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.triggerPlay(B))}
1),o.nrm(1,"ion-spinner",28),o.k0s()}}let Ke=(($i=class{constructor(S,D,w,B,te,Ee,ze,gt){this.translate=S,this.i18N=D,this.cpService=w,this.commonService=B,this.modalHelper=te,this._cdr=Ee,this.route=ze,this.document=gt,this.useOrigin=!1,this.messageId="",this.tenantId="",this.formtitle="",this.icon="fa fa-eye",this.videoHasError=!1,this.showType=0,this.videoImgbg="",this.nextId="",this.prewId="",this.options={muted:!1,controls:!0,loop:!1,autoplay:!0,fill:!0,controlBar:{children:[{name:"playToggle"},{name:"currentTimeDisplay"},{name:"progressControl"},{name:"durationDisplay"},{name:"playbackRateMenuButton",playbackRates:[.5,1,1.5,2,2.5]},{name:"volumePanel",inline:!1},{name:"FullscreenToggle"}]}},this.playVideoing=!1,this.videoStyle={width:"200px",height:""},this.isDownVideo=!1,this.isdownBig=!1,this.formtitle=this.translate.instant("Common.MessageView")}get ceService(){var S;let D=this.cpService.getCEServerByTenantId(null!==(S=this.tenantId)&&void 0!==S?S:"");if(D)return D;throw new Error("ceServer is null")}ngOnInit(){this.getMessageAndShow(this.messageId)}closeMe(){this.modalHelper.closeModal()}get contentStyle(){return{height:"600px"}}init(){}showImage(S){var D,w;if(this.refresh(),null!==(D=this.content_image)&&void 0!==D&&D.nativeElement)return this.player&&this.player.pause(),this.content_image.nativeElement.src=S,this.viewer?(this.viewer.update(),void this.viewer.view(0)):(this.viewer=new(ar())(null===(w=this.content_image)||void 0===w?void 0:w.nativeElement,{inline:!0,button:!1,navbar:!1,title:!1,transition:!1,viewed:()=>{var B;null===(B=this.viewer)||void 0===B||B.zoomTo(1)},toolbar:{zoomIn:1,zoomOut:1,oneToOne:1,reset:1,rotateLeft:1,rotateRight:1,flipHorizontal:1,flipVertical:1,download:()=>{this.saveFile()}}}),void this.refresh());setTimeout(()=>{this.showImage(S)},500)}setVideo(S){if(this.currMessage){if(!this.playerVideo.nativeElement)return this.refresh(),void setTimeout(()=>{this.setVideo(S)});this.player&&this.player.pause(),this.videoHasError=!1,this.refresh(),this.player=videojs(this.playerVideo.nativeElement,this.options,()=>{this.videoHasError=!1,this.player.on("loadeddata",()=>{this.playVideoing=!0,this.refresh()}),this.player.on("loadedmetadata",()=>{}),this.player.on("play",()=>{this.playVideoing=!0,this.refresh()}),this.player.on("pause",()=>{this.playVideoing=!1,this.refresh()}),this.player.on("ended",()=>{this.playVideoing=!1,this.refresh()}),this.player.on("error",()=>{this.videoHasError=!0,this.refresh()})}),this.player.src({type:"video/mp4",src:S}),this.player.load(S),this.player.play(),this.player.fill(!0),this.refresh()}}refresh(){try{this._cdr.detectChanges()}catch{}}getMessageAndShow(S){if(q.isEmpty(S))return this.showImage(de.v.DEFAULT_AVATAR),void this.refresh();this.commonService.aiwowDB.messsages.get(S).then(D=>
1{if(this.currMessage=D,this.processNextAndPrew(),(null==D?void 0:D.messageType)==qt.Go.image){if(this.showType=0,this.useOrigin){let te=JSON.parse(D.content||"{}");return void this.showImage((null==te?void 0:te.url)||"")}if(D.file){let te=URL.createObjectURL(D.file);setTimeout(()=>{this.showImage(te||"")},500)}else if(D.fileImg){let te=URL.createObjectURL(D.fileImg);setTimeout(()=>{this.showImage(te||"")},500),this.downLoadImage(D)}else this.downLoadImage(D)}else if((null==D?void 0:D.messageType)==qt.Go.video){var w,B;let te=JSON.parse(D.content||"{}"),Ee=this.document.body.clientWidth*(null!==(w=null==te?void 0:te.thumbnailHeight)&&void 0!==w?w:1)/(null!==(B=null==te?void 0:te.thumbnailWidth)&&void 0!==B?B:1);if(this.videoStyle={width:this.document.body.clientWidth+"px",height:Ee+"px"},this.useOrigin){let ze=JSON.parse(D.content||"{}");return void this.showImage((null==ze?void 0:ze.url)||"")}this.showType=1,D.isDownLoadBig?D.file?(D.fileblobUrl=URL.createObjectURL(D.file),this.setVideo(D.fileblobUrl||"")):(D.file=void 0,this.downVideo()):this.downVideo()}else this.showType=-1;this.refresh()})}processNextAndPrew(){}downLoadImage(S){this.currMessage&&this.ceService.getMessageImage(this.tenantId,this.currMessage).then(D=>{this.showImage(D||"")})}saveFile(){var S=this;return(0,T.A)(function*(){if(S.currMessage)if(S.commonService.isNative()){let D=S.currMessage.file;if(S.currMessage.file)D=S.currMessage.file;else{if(!S.currMessage.fileImg)return;D=S.currMessage.fileImg}const w=(new Date).getTime()+".jpeg",B=yield S.commonService.convertBlobToBase64(D);if(yield no.writeFile({path:w,data:B,directory:vi.__.Documents}),S.commonService.isHybrid()){const Ee=(yield no.getUri({directory:vi.__.Documents,path:w})).uri;yield no.copy({from:Ee,to:`external://DCIM/Camera/${w}`})}}else{let D="";if(S.currMessage.file)D=URL.createObjectURL(S.currMessage.file);else{if(!S.currMessage.fileImg)return;D=URL.createObjectURL(S.currMessage.fileImg)}let w=JSON.parse(S.currMessage.content||"{}"),B=document.createElement("a");B.style.display="none",document.body.appendChild(B),B.href=D,B.download=(null==w?void 0:w.name)||"",B.click(),window.URL.revokeObjectURL(D)}})()}downVideo(){var S;null!==(S=this.currMessage)&&void 0!==S&&S.uploadFlag?this.modalHelper.showToast(this.translate.instant("Common.FileIsUp")):this.currMessage&&(this.commonService.isNative()||(this.isDownVideo=!0,this.refresh(),this.ceService.downloadFileFromMessage(this.tenantId,this.currMessage).then(D=>(this.isDownVideo=!1,q.isEmpty(D)?(this.modalHelper.showErrorToast(this.translate.instant("Common.FileDownError")),void this.closeMe()):"fileerror"==D?(this.modalHelper.showErrorToast(this.translate.instant("Common.FileError")),void this.closeMe()):"abort"===D?(this.modalHelper.showErrorToast(this.translate.instant("Common.FileDownCancel")),void this.closeMe()):void(this.currMessage&&(this.currMessage.isDownLoadBig=!0,this.commonService.aiwowDB.addMessage(this.currMessage),this.setVideo(D),this.refresh()))))))}handleMouseOverEvent(S){this.oPrve&&(this.oPrve.nativeElement.style.display=""!=this.prewId?"block":"none"),this.oNext&&(this.oNext.nativeElement.style.display=""!=this.nextId?"block":"none")}handleMouseOutEvent(S){this.oPrve&&(this.oPrve.nativeElement.style.display="none"),this.oNext&&(this.oNext.nativeElement.style.display="none")}oPrveFun(){""!=this.prewId&&this.getMessageAndShow(this.prewId)}oNextFun(){""!=this.nextId&&this.getMessageAndShow(this.nextId)}triggerPlay(S){null==S||S.stopPropagation(),null==S||S.preventDefault(),this.player&&(this.player.paused()?this.player.play():this.player.pause())}saveVideo(){this.currMessage&&this.ceService.downloadFileFromMessage(this.tenantId,this.currMessage).then(S=>{var D;if(this.isDownVideo=!1,q.isEmpty(S))return this.modalHelper.showErrorToast(this.translate.instant("Common.FileDownError")),void this.closeMe();if("fileerror"==S)return this.modalHelper.showErrorToast(this.translate.instant("Common.FileError")),void this.closeMe();if("abort"===S)return this.modalHelper.showErrorToast(this.translate.instant("Common.FileDownCancel")),void this.closeMe();
1if(!this.currMessage)return;this.currMessage.isDownLoadBig=!0;let w=document.createElement("a");w.style.display="none",document.body.appendChild(w),w.href=S;let B=null===(D=this.message)||void 0===D?void 0:D.fileName;w.download=B||"file",w.click(),window.URL.revokeObjectURL(S),this.refresh()})}download(){this.currMessage&&(this.currMessage.messageType==qt.Go.image?this.saveFile():this.saveVideo())}}).\u0275fac=function(S){return new(S||$i)(o.rXU(ae.c$),o.rXU(ae.c$),o.rXU(Z.b),o.rXU(H.hf),o.rXU(me.S),o.rXU(o.gRc),o.rXU(C.nX),o.rXU(Y.qQ))},$i.\u0275cmp=o.VBU({type:$i,selectors:[["app-imageView"]],viewQuery:function(S,D){if(1&S&&(o.GBs(Xi,5),o.GBs(Di,7),o.GBs(lo,7),o.GBs(to,5)),2&S){let w;o.mGM(w=o.lsd())&&(D.content_image=w.first),o.mGM(w=o.lsd())&&(D.oPrve=w.first),o.mGM(w=o.lsd())&&(D.oNext=w.first),o.mGM(w=o.lsd())&&(D.playerVideo=w.first)}},hostBindings:function(S,D){1&S&&o.bIt("mouseover",function(B){return D.handleMouseOverEvent(B)},!1,o.N_X)("mouseout",function(B){return D.handleMouseOutEvent(B)},!1,o.N_X)},inputs:{useOrigin:"useOrigin",messageId:"messageId",tenantId:"tenantId",roomInfo:"roomInfo"},standalone:!0,features:[o.aNF],decls:37,vars:23,consts:[["oPrve",""],["content_image",""],["playerVideo",""],["oNext",""],["slot","end"],[3,"click","strong"],[1,"relative","w-full","h-full","bg-slate-600","bg-opacity-10"],[1,"z-50","absolute","top-1/2","left-0","text-5xl"],[3,"click"],[1,"fa-stack",2,"vertical-align","top"],[1,"fa","fa-circle","fa-stack-2x"],[1,"fa","fa-angle-left","fa-stack-1x","fa-inverse"],[1,"w-full","h-full"],["id","Img","src","",2,"display","none"],[1,"w-full","h-full","relative"],[1,"absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2",3,"ngStyle"],["class","rounded-md bg-black","alt","",3,"src",4,"ngIf"],["class","text-white h-10 justify-center flex items-center",4,"ngIf"],["id","video-player","preload","meta","controls","","playsinline","","preload","none",1,"video-js"],["class","absolute top-0 left-0 right-0 bottom-0 bg-slate-600 bg-opacity-10 ",3,"click",4,"ngIf"],["class","absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",3,"click",4,"ngIf"],[1,"z-50","absolute","top-1/2","right-0","text-5xl"],[1,"fa","fa-angle-right","fa-stack-1x","fa-inverse"],["alt","",1,"rounded-md","bg-black",3,"src"],[1,"text-white","h-10","justify-center","flex","items-center"],[1,"absolute","top-0","left-0","right-0","bottom-0","bg-slate-600","bg-opacity-10",3,"click"],[1,"absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2",3,"click"],[1,"iconfont","icon-icon-play","text-5xl","hvr-grow","text-white"],["name","dots",1,"text-5xl","hvr-grow","text-white"]],template:function(S,D){if(1&S){const w=o.RV6();o.j41(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),o.EFF(3),o.nI1(4,"translate"),o.k0s(),o.j41(5,"ion-buttons",4)(6,"ion-button",5),o.bIt("click",function(){return o.eBV(w),o.Njj(D.download())}),o.EFF(7),o.nI1(8,"translate"),o.k0s(),o.j41(9,"ion-button",5),o.bIt("click",function(){return o.eBV(w),o.Njj(D.closeMe())}),o.EFF(10),o.nI1(11,"translate"),o.k0s()()()(),o.j41(12,"div",6)(13,"div",7,0)(15,"div",8),o.bIt("click",function(){return o.eBV(w),o.Njj(D.oPrveFun())}),o.j41(16,"span",9),o.nrm(17,"i",10)(18,"i",11),o.k0s()()(),o.j41(19,"div",12),o.nrm(20,"img",13,1),o.k0s(),o.j41(22,"div",14)(23,"div",15),o.DNE(24,vo,2,3,"img",16)(25,Co,3,3,"div",17),o.nrm(26,"video",18,2),o.k0s(),o.DNE(28,mn,1,0,"div",19)(29,Jt,2,0,"div",20)(30,kn,2,0,"div",20),o.k0s(),o.j41(31,"div",21,3)(33,"div",8),o.bIt("click",function(){return o.eBV(w),o.Njj(D.oNextFun())}),o.j41(34,"span",9),o.nrm(35,"i",10)(36,"i",22),o.k0s()()()()}2&S&&(o.R7$(3),o.SpI(" ",o.bMT(4,17,"Common.review"),""),o.R7$(3),o.Y8G("strong",!0),o.R7$(),o.JRh(o.bMT(8,19,"Common.down")),o.R7$(2),o.Y8G("strong",!0),o.R7$(),o.JRh(o.bMT(11,21,"Common.Close")),o.R7$(9),o.xc7("display",0===D.showType?"":"none"),o.R7$(3),o.xc7("display",1===D.showType?"":"none"),o.R7$(),o.Y8G("ngStyle",D.videoStyle),o.R7$(),o.Y8G("ngIf",!D.videoHasError),o.R7$(),o.Y8G("ngIf",D.videoHasError),o.R7$(),o.xc7("display",null!=D.currMessage&&D.currMe
1ssage.isDownLoadBig?"":"none"),o.R7$(2),o.Y8G("ngIf",!D.videoHasError),o.R7$(),o.Y8G("ngIf",!D.videoHasError&&!D.playVideoing&&!D.isDownVideo),o.R7$(),o.Y8G("ngIf",D.isDownVideo))},dependencies:[Y.MD,Y.bT,Y.B3,ae.h,ae.D9,E.bv,E.Jm,E.QW,E.eU,E.w2,E.BC,E.ai,fe.d],encapsulation:2,changeDetection:0}),$i);Ke=(0,s.Cg)([h.$.RefWindow("ImageView")],Ke);let Ze=(()=>{var j;class S{constructor(w){this.sanitizer=w}transform(w){if(!w)return w;let B=w.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\n/g,"<br>").replace(/\[link submit='(.*?)'\](.*?)\[\/link\]/g,"<a type='submit' data='$1' class='aslink'> $2</a>").replace(/\[link url='(.*?)'\](.*?)\[\/link\]/g,'<a type="url" data="$1" class="aslink"> $2</a>').replace(/((http|https):\/\/[\w?=&.\/-;#~%-]+(?![\w\s?&.\/;#~%"=-]*>))/g,'<a href="$1" target="_blank" class="aslink">$1</a>').replace(/([a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6})/g,'<a href="mailto:$1" class="aslink">$1</a>');return this.sanitizer.bypassSecurityTrustHtml(B)}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(c.up,16))},j.\u0275pipe=o.EJ8({name:"linkify",type:j,pure:!0,standalone:!0}),S})();var Ot=f(65262);const nn=["tempMsg"],wt=["playerVideo"],st=["canvas"],jt=(j,S)=>({msg_box_left:j,msg_box_right:S}),xt=(j,S)=>({msg_box_left_nocolor:j,msg_box_right_nocolor:S});function hn(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",8,0),o.nI1(2,"linkify"),o.bIt("click",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.messageTxtClick(B))})("dblclick",function(){o.eBV(D);const B=o.sdS(1),te=o.XpG();return o.Njj(te.messageTxtdblClick(B.innerText))}),o.k0s()}if(2&j){let D;const w=o.XpG();o.Y8G("ngClass",o.l_i(4,jt,!(null!=w.message&&w.message.isUser),null==w.message?null:w.message.isUser))("innerHTML",o.bMT(2,2,null!==(D=null==w.message||null==w.message.contentObj?null:w.message.contentObj.text)&&void 0!==D?D:null==w.message||null==w.message.contentObj?null:w.message.contentObj.url),o.npT)}}function ft(j,S){if(1&j&&o.nrm(0,"div",18),2&j){const D=o.XpG().$implicit,w=o.XpG(2);o.Y8G("ngStyle",w.tempImageStyle(D.imageUrl))}}function He(j,S){if(1&j&&(o.j41(0,"div",19),o.EFF(1),o.k0s()),2&j){const D=o.XpG().$implicit;o.Y8G("title",null==D?null:D.title),o.R7$(),o.SpI(" ",null==D?null:D.title,"")}}function Pe(j,S){if(1&j&&(o.j41(0,"div",20),o.EFF(1),o.k0s()),2&j){const D=o.XpG().$implicit;o.Y8G("title",null==D?null:D.subtitle),o.R7$(),o.SpI(" ",null==D?null:D.subtitle,"")}}function Fe(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",21)(1,"div",22),o.bIt("click",function(){const B=o.eBV(D).$implicit,te=o.XpG(3);return o.Njj(te.actionCarouselClick(B))}),o.EFF(2),o.k0s()()}if(2&j){const D=S.$implicit;o.R7$(2),o.SpI(" ",D.title," ")}}function Oe(j,S){if(1&j&&(o.j41(0,"div",11),o.DNE(1,ft,1,1,"div",12),o.j41(2,"div",13),o.DNE(3,He,2,2,"div",14)(4,Pe,2,2,"div",15),o.k0s(),o.j41(5,"div",16),o.DNE(6,Fe,3,1,"div",17),o.k0s()()),2&j){const D=S.$implicit;o.R7$(),o.Y8G("ngIf",D.imageUrl),o.R7$(2),o.Y8G("ngIf",null==D?null:D.title),o.R7$(),o.Y8G("ngIf",null==D?null:D.subtitle),o.R7$(2),o.Y8G("ngForOf",null==D?null:D.actions)}}function We(j,S){if(1&j&&(o.j41(0,"div",9,1),o.DNE(2,Oe,7,4,"div",10),o.k0s()),2&j){const D=o.XpG();o.Y8G("ngClass",o.l_i(2,xt,!(null!=D.message&&D.message.isUser),null==D.message?null:D.message.isUser)),o.R7$(2),o.Y8G("ngForOf",D.temps)}}function _t(j,S){if(1&j&&(o.j41(0,"ion-thumbnail",26),o.nrm(1,"ion-skeleton-text",27),o.k0s()),2&j){const D=o.XpG(2);o.Y8G("ngStyle",D.imageStyle),o.R7$(),o.Y8G("animated",!0)}}function en(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",28),o.bIt("click",function(B){o.eBV(D);const te=o.XpG(2);return o.Njj(te.triggerPlay(B))}),o.nrm(1,"img",29,2),o.nI1(3,"safeUrl"),o.k0s()}if(2&j){const D=o.XpG(2);o.Y8G("ngStyle",D.imageStyle),o.R7$(),o.Y8G("src",o.bMT(3,2,D.imageUrl),o.B4B)}}function gn(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",30)(1,"div",31),o.EFF(2),o.nI1(3,"translate"),o.k0s(),o.j41(4,"div",32),o.bIt("click",function(){o.eBV(D);const B=o.XpG(2);return o.Njj(B.reLoadImage())}),o.EFF(5),o.nI1(6,"translate"),o.k0s()()}if(2&j){const D=o.XpG(2);o.Y8G("ngClass",o.l_i(7,jt,!(null!=D.message&&D.message.isUser),null==D.message?null:D.message.isUser)),o.R7$(2),o.JRh(o.bMT(3,3,"Common.ImageShowError")),o.R7$(3),o.SpI(" ",o.bMT(6,5,"Common.ReDownImage"),"")}}function In(j,S){if(1&j&&(o.j41(0,"div",13),o.DNE(1,_t,2,2,"ion-thumbnail",23)(2,en,4,4,"div",24)(3,gn,7,10,"div",25),o.k0s()),2&j){const D=o.XpG();o.R7$(),o.Y8G("ngIf",D.isImageLoading),o.R7$(),o.Y8G("ngIf",D.isImageExist&&!D.isImageLoading),o.R7$(),o.Y8G("ngIf",!D.isImageExist&&!D.isImageLoading)}}function Zn(j,S){1&j&&o.nrm(0,"video",40,3)}function Er(j,S){if(1&j&&(o.nrm(0,"img",41),o.nI1(1,"safeUrl")),2&j){const D=o.XpG(2);o.Y8G("src",o.bMT(1,1,D.videoImgbg),o.B4B)}}function Yr(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",13)(1,"div",33)(2,"div",34),o.DNE(3,Zn,2,0,"video",35)(4,Er,2,3,"img",36),o.k0s(),o.nrm(5,"div",37),o.j41(6,"div",38),o.bIt("click",function(B){o.eBV(D);const te=o.XpG();
1return o.Njj(te.triggerPlay(B))}),o.nrm(7,"i",39),o.k0s()()()}if(2&j){const D=o.XpG();o.R7$(),o.Y8G("ngStyle",D.imageStyle),o.R7$(2),o.Y8G("ngIf",!D.isImageExist),o.R7$(),o.Y8G("ngIf",D.isImageExist)}}function oi(j,S){if(1&j){const D=o.RV6();o.j41(0,"a",51),o.bIt("click",function(){o.eBV(D);const B=o.XpG(2);return o.Njj(B.downloadFile())}),o.EFF(1),o.nI1(2,"translate"),o.k0s()}if(2&j){const D=o.XpG(2);o.FS9("download",D.fileName),o.R7$(),o.JRh(o.bMT(2,2,"Common.Download"))}}function Ar(j,S){if(1&j&&(o.j41(0,"div",13)(1,"div",42)(2,"div",43),o.nrm(3,"img",44),o.k0s(),o.j41(4,"div",45)(5,"div",46),o.EFF(6),o.k0s(),o.j41(7,"div",47)(8,"div",48),o.EFF(9),o.k0s(),o.j41(10,"div",49),o.DNE(11,oi,3,4,"a",50),o.k0s()()()()()),2&j){const D=o.XpG();o.R7$(),o.Y8G("ngClass",o.l_i(5,jt,!(null!=D.message&&D.message.isUser),null==D.message?null:D.message.isUser)),o.R7$(2),o.Y8G("src",D.fileImg,o.B4B),o.R7$(3),o.SpI(" ",D.fileName,""),o.R7$(3),o.JRh(D.fileSize),o.R7$(2),o.Y8G("ngIf",!(null!=D.message&&D.message.downloadFlag))}}let li=(()=>{var j;class S{ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}constructor(w,B,te,Ee,ze,gt,Dt,Wt,yn){this.platform=w,this.speechService=B,this.modalHelper=te,this.commonService=Ee,this.cpService=ze,this.storage=gt,this.i18N=Dt,this._cdr=Wt,this.injector=yn,this.imageStyle={width:"200px",height:""},this.isImageExist=!1,this.isImageLoading=!0,this.imageUrl="",this.videoImgbg="",this.destroy$=new lt.B,this.isTTS=!1,fn.co._messageChanged.pipe((0,Cn.Q)(this.destroy$)).subscribe(Bn=>{switch(Bn.type){case fn.nq.refresh:var Ln,Jn;(null===(Ln=Bn.message)||void 0===Ln?void 0:Ln.id)==(null===(Jn=this.message)||void 0===Jn?void 0:Jn.id)&&(this.message=Bn.message,this.refresh());break;case fn.nq.contentUpdate:var ir,Tr;(null===(ir=Bn.message)||void 0===ir?void 0:ir.id)==(null===(Tr=this.message)||void 0===Tr?void 0:Tr.id)&&(this.message=Bn.message,this.initMessage())}})}get ceService(){var w,B;let te=this.cpService.getCEServerByTenantId(null!==(w=null===(B=this.tenantInfo)||void 0===B?void 0:B.tenantId)&&void 0!==w?w:"");if(te)return te;throw new Error("ceServer is null")}ngOnInit(){this.initMessage()}refresh(){this._cdr.markForCheck()}initMessage(){var w=this;return(0,T.A)(function*(){var B,te;if((null===(B=w.message)||void 0===B?void 0:B.messageType)==qt.Go.image){let Bn="auto";var Ee,ze,gt,Dt;q.isEmpty(w.message.contentObj.thumbnailHeight)||(Bn=200*(null!==(Ee=null===(ze=w.message.contentObj)||void 0===ze?void 0:ze.thumbnailHeight)&&void 0!==Ee?Ee:1)/(null!==(gt=null===(Dt=w.message.contentObj)||void 0===Dt?void 0:Dt.thumbnailWidth)&&void 0!==gt?gt:1)),w.imageStyle={width:"200px",height:"number"==typeof Bn?Bn+"px":Bn},w.isImageLoading=!1,w.imageUrl=w.message.contentObj.thumbnailUrl,w.isImageExist=!0,w._cdr.markForCheck()}if((null===(te=w.message)||void 0===te?void 0:te.messageType)==qt.Go.video){var Wt,yn;let Bn=JSON.parse(w.message.content||"{}"),Ln=200*(null!==(Wt=null==Bn?void 0:Bn.height)&&void 0!==Wt?Wt:1)/(null!==(yn=null==Bn?void 0:Bn.width)&&void 0!==yn?yn:1);w.imageStyle={width:"200px",height:Ln+"px"},setTimeout(()=>{w.setVideo()},1e3)}})()}setVideo(){var w;if(null!==(w=this.message)&&void 0!==w&&w.file){var B;this.playerVideo.nativeElement.src=URL.createObjectURL(null===(B=this.message)||void 0===B?void 0:B.file)}else{var te;let ze=JSON.parse((null===(te=this.message)||void 0===te?void 0:te.content)||"{url:'',name:''}").url;if(q.isEmpty(ze))return;this.playerVideo.nativeElement.src=ze}this.playerVideo.nativeElement.load()}captureFirstFrame(){const w=this.playerVideo.nativeElement,B=this.canvas.nativeElement,te=B.getContext("2d");4==w.readyState?(te.drawImage(w,0,0,this.imageStyle.width,this.imageStyle.height),B.toDataURL("image/png")):setTimeout(()=>{this.captureFirstFrame()},500)}messageTypeKey(w){return qt.Go[null!=w?w:"plain"]}get temps(){var w;return null===(w=this.message)||void 0===w||null===(w=w.carousels)||void 0===w?void 0:w.elements}tempImageStyle(w){return{width:"width: 100%;",background:`url(${w})`,height:"150px","background-repeat":"no-repeat","background-position":"center","background-size":"cover","background-color":"#FFFFFF","aspect-ratio":"rectangle","border-top-right-radius":"8px","border-top-left-radius":"8px"}}readAll(){var w,B,te;this.roomInfo&&(null!==(w=this.roomInfo.unReadNum)&&void 0!==w?w:0)>0&&(this.ceService.readAllMessage(null!==(B=null===(te=this.tenantInfo)||void 0===te?void 0:te.tenantId)&&void 0!==B?B:"",this.roomInfo),this.roomInfo.unReadNum=0)}messageTxtClick(w){if(this.roomInfo){if(w.target instanceof HTMLAnchorElement&&"submit"==w.target.getAttribute("type")){var B,te,Ee;let gt=null!==(B=w.target.getAttribute("data"))&&void 0!==B?B:w.target.innerText;this.ceService.sendMessageTxt(null!==(te=null===(Ee=this.tenantInfo)||void 0===Ee?void 0:Ee.tenantId)&&void 0!==te?te:"","",this.roomInfo,gt),this.readAll(
1)}var ze;w.target instanceof HTMLAnchorElement&&"url"==w.target.getAttribute("type")&&window.open(null!==(ze=w.target.getAttribute("data"))&&void 0!==ze?ze:"")}}actionCarouselClick(w){var B,te,Ee,ze;if("Postback"==w.type)this.ceService.sendQuickReply(de.v.uuid(),null!==(B=null===(te=this.tenantInfo)||void 0===te?void 0:te.tenantId)&&void 0!==B?B:"",null!==(Ee=null===(ze=this.roomInfo)||void 0===ze?void 0:ze.id)&&void 0!==Ee?Ee:"",w),this.readAll();else if("url"==w.type.toLowerCase()){let gt=JSON.stringify(w),Dt=JSON.parse(gt);this.actionClick(Dt)}}actionClick(w){("url"==w.type.toLowerCase()||"uri"==w.type.toLowerCase())&&window.open(w.data||w.url||"")}triggerPlay(w){var B,te;this.modalHelper.showModelFull(Ke,{useOrigin:!0,messageId:null===(B=this.message)||void 0===B?void 0:B.id,roomInfo:this.roomInfo,tenantId:null===(te=this.tenantInfo)||void 0===te?void 0:te.tenantId})}reLoadImage(){var w,B;(null===(w=this.message)||void 0===w?void 0:w.messageType)==qt.Go.image&&(this.isImageLoading=!0,this._cdr.markForCheck(),this.ceService.getMessageThumbnailImg(null===(B=this.tenantInfo)||void 0===B?void 0:B.tenantId,this.message).then(te=>{this.isImageLoading=!1,q.isEmpty(te)?this.modalHelper.showErrorToast(this.i18N.instant("Common.LoadImageError")):(this.imageUrl=te,this.isImageExist=!0),this._cdr.markForCheck()}))}get fileName(){var w;return(null===(w=this.message)||void 0===w?void 0:w.fileName)||""}get fileSize(){var w;let B=(null===(w=this.message)||void 0===w?void 0:w.fileSize)||0;return B>1048576?(B/1048576).toFixed(2)+"MB":(B/1024).toFixed(2)+"KB"}get fileImg(){var w,B;let te=null===(w=this.message)||void 0===w?void 0:w.fileName;switch(null==te||null===(B=te.split("."))||void 0===B||null===(B=B.pop())||void 0===B?void 0:B.toLowerCase()){case"xls":case"xlsx":return"./assets/images/icon-excel.svg";case"doc":case"docx":return"./assets/images/icon-word.svg";case"pdf":return"./assets/images/icon-pdf.svg";default:return"./assets/images/icon-other.svg"}}loopRefresh(){var w;null!==(w=this.message)&&void 0!==w&&w.downloadFlag&&(this._cdr.markForCheck(),setTimeout(()=>{this.loopRefresh()},1e3))}downloadFile(){var w,B;(null===(w=this.message)||void 0===w?void 0:w.messageType)==qt.Go.file&&window.open((null===(B=this.message)||void 0===B?void 0:B.contentObj.url)||"","_blank")}cancelDownloadFile(){this.message&&this.message.downxhr&&this.message.downxhr.abort()}get useRecognize(){var w,B;return this.speechService.getSNConfig(null!==(w=null===(B=this.roomInfo)||void 0===B?void 0:B.serviceNumberId)&&void 0!==w?w:"").use}messageTxtdblClick(w){var B=this;return(0,T.A)(function*(){var te,Ee;B.message&&B.useRecognize&&(B.isTTS||(B.isTTS=!0,yield B.speechService.speak(null!==(te=null===(Ee=B.roomInfo)||void 0===Ee?void 0:Ee.serviceNumberId)&&void 0!==te?te:"",null!=w?w:""),setTimeout(()=>{B.isTTS=!1},2e3)))})()}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(a.OD),o.rXU(Ot.y),o.rXU(me.S),o.rXU(H.hf),o.rXU(Z.b),o.rXU(x._),o.rXU(ae.c$),o.rXU(o.gRc),o.rXU(o.zZn))},j.\u0275cmp=o.VBU({type:j,selectors:[["chat-ai-message"]],viewQuery:function(w,B){if(1&w&&(o.GBs(nn,5),o.GBs(wt,5),o.GBs(st,5)),2&w){let te;o.mGM(te=o.lsd())&&(B.tempMsg=te.first),o.mGM(te=o.lsd())&&(B.playerVideo=te.first),o.mGM(te=o.lsd())&&(B.canvas=te.first)}},inputs:{roomInfo:"roomInfo",message:"message",tenantInfo:"tenantInfo"},standalone:!0,features:[o.aNF],decls:6,vars:6,consts:[["msg",""],["tempMsg",""],["copyele",""],["playerVideo",""],[3,"ngSwitch"],["class","msg_plan_content select-text",3,"ngClass","innerHTML","click","dblclick",4,"ngSwitchCase"],["class","msg_carouse_content flex gap-2 pb-2",3,"ngClass",4,"ngSwitchCase"],["class","p-2",4,"ngSwitchCase"],[1,"msg_plan_content","select-text",3,"click","dblclick","ngClass","innerHTML"],[1,"msg_carouse_content","flex","gap-2","pb-2",3,"ngClass"],["class","message_template_content ",4,"ngFor","ngForOf"],[1,"message_template_content"],["class","tempImage",3,"ngStyle",4,"ngIf"],[1,"p-2"],["class","pl-2 font-bold text-lg line-clamp-1","style","width: 240px;",3,"title",4,"ngIf"],["class","m-2 line-clamp-3","style","width: 240px;",3,"title",4,"ngIf"],[1,"flex","flex-col","items-center","divide-y","divide-slate-200"],["class","tempActionItem w-full text-center ",4,"ngFor","ngForOf"],[1,"tempImage",3,"ngStyle"],[1,"pl-2","font-bold","text-lg","line-clamp-1",2,"width","240px",3,"title"],[1,"m-2","line-clamp-3",2,"width","240px",3,"title"],[1,"tempActionItem","
1w-full","text-center"],[1,"m-3","hover:text-blue-400","font-bold","text-dark","cursor-default",3,"click"],["slot","start","class","message_image_content ",3,"ngStyle",4,"ngIf"],["class","message_image_content relative",3,"ngStyle","click",4,"ngIf"],["class","message_image_faild",3,"ngClass",4,"ngIf"],["slot","start",1,"message_image_content",3,"ngStyle"],[3,"animated"],[1,"message_image_content","relative",3,"click","ngStyle"],[3,"src"],[1,"message_image_faild",3,"ngClass"],[1,"message_image_faild1"],[1,"message_image_faild2","aslink","text-primary","text-blue-400",3,"click"],[1,"message_video_content",3,"ngStyle"],[1,"w-full","h-full"],["id","video-player","crossorigin","anonymous",4,"ngIf"],["class","rounded-md","alt","",3,"src",4,"ngIf"],[1,"absolute","top-0","left-0","right-0","bottom-0","bg-slate-600","bg-opacity-10"],[1,"absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2",3,"click"],[1,"iconfont","icon-icon-play","text-5xl","hvr-grow","text-white"],["id","video-player","crossorigin","anonymous"],["alt","",1,"rounded-md",3,"src"],[1,"message_file_content","relative",3,"ngClass"],[1,"flex-shrink-0","p-2"],["alt","",1,"w-8","h-8",3,"src"],[1,"flex-1","flex","flex-col"],[1,"truncate-middle"],[1,"line-clamp-1","flex","flex-row"],[1,"flex-1"],[1,"flex-shrink-0","pr-2","pl-2"],["class","text-primary text-blue-400",3,"download","click",4,"ngIf"],[1,"text-primary","text-blue-400",3,"click","download"]],template:function(w,B){1&w&&(o.qex(0,4),o.DNE(1,hn,3,7,"div",5)(2,We,3,5,"div",6)(3,In,4,3,"div",7)(4,Yr,8,3,"div",7)(5,Ar,12,8,"div",7),o.bVm()),2&w&&(o.Y8G("ngSwitch",null==B.message?null:B.message.messageType),o.R7$(),o.Y8G("ngSwitchCase",B.messageTypeKey("plain")),o.R7$(),o.Y8G("ngSwitchCase",B.messageTypeKey("template")),o.R7$(),o.Y8G("ngSwitchCase",B.messageTypeKey("image")),o.R7$(),o.Y8G("ngSwitchCase",B.messageTypeKey("video")),o.R7$(),o.Y8G("ngSwitchCase",B.messageTypeKey("file")))},dependencies:[Y.MD,Y.YU,Y.Sq,Y.bT,Y.B3,Y.ux,Y.e1,E.bv,E.ds,E.Zx,fe.d,ae.h,ae.D9,Ze],encapsulation:2,changeDetection:0}),S})();var Ki=f(95690);const Pi=["playerVideo"],io=["canvas"],ki=j=>({msg_hidden:j}),ko=j=>({msg_reverse:j}),Eo=(j,S)=>({msg_box_left:j,msg_box_right:S}),ji=j=>({"animate-voice":j}),bs=(j,S)=>({msg_box_left_nocolor:j,msg_box_right_nocolor:S});function xo(j,S){if(1&j&&(o.j41(0,"div",11),o.nrm(1,"div",12),o.j41(2,"div",13),o.EFF(3),o.k0s(),o.nrm(4,"div",12),o.k0s()),2&j){const D=o.XpG(2);o.R7$(3),o.SpI(" ",null==D.message?null:D.message.content," ")}}function So(j,S){if(1&j&&(o.j41(0,"div",11),o.nrm(1,"div",12),o.j41(2,"div",14),o.EFF(3),o.k0s(),o.nrm(4,"div",12),o.k0s()),2&j){const D=o.XpG(2);o.R7$(3),o.SpI(" ",null==D.message?null:D.message.content," ")}}function $s(j,S){if(1&j&&(o.j41(0,"div",11),o.nrm(1,"div",12),o.j41(2,"div",15),o.EFF(3),o.k0s(),o.nrm(4,"div",12),o.k0s()),2&j){const D=o.XpG(2);o.R7$(3),o.SpI(" ",null==D.message?null:D.message.content," ")}}function qo(j,S){1&j&&o.nrm(0,"div"),2&j&&o.HbH(S.$implicit.class)}function cs(j,S){if(1&j&&(o.j41(0,"div"),o.DNE(1,qo,1,2,"div",28),o.k0s()),2&j){const D=o.XpG(3);o.R7$(),o.Y8G("ngForOf",D.dots)}}
1function ds(j,S){1&j&&(o.j41(0,"div",29),o.nrm(1,"ion-spinner",30),o.k0s())}function Ne(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",31),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.reSend())}),o.qSk(),o.j41(1,"svg",32),o.nrm(2,"use",33),o.k0s()()}}function Ge(j,S){if(1&j&&(o.qex(0),o.j41(1,"div",16),o.nrm(2,"div",17),o.j41(3,"div",18),o.nrm(4,"avatar-p",19),o.nI1(5,"async"),o.k0s(),o.j41(6,"div",20)(7,"div",21),o.EFF(8),o.k0s()(),o.nrm(9,"div",17),o.k0s(),o.j41(10,"div",22)(11,"div",23),o.nrm(12,"chat-ai-message",24),o.k0s(),o.j41(13,"div",25),o.DNE(14,cs,2,1,"div",7)(15,ds,2,0,"div",26)(16,Ne,3,0,"div",27),o.j41(17,"div"),o.EFF(18),o.nI1(19,"date"),o.k0s()()(),o.bVm()),2&j){let D;const w=o.XpG(2);o.R7$(2),o.Y8G("ngClass",o.eq3(21,ki,!(null!=w.message&&w.message.isUser))),o.R7$(),o.Y8G("ngClass",o.eq3(23,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ceSrc",o.bMT(5,16,w.avatarUrl))("ceText",null!==(D=null==w.message?null:w.message.senderName)&&void 0!==D?D:"")("ceSize",40),o.R7$(3),o.Y8G("ngClass",o.eq3(25,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.SpI(" ",null==w.message?null:w.message.senderName," "),o.R7$(),o.Y8G("ngClass",o.eq3(27,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ngClass",o.eq3(29,ko,null==w.message?null:w.message.isUser)),o.R7$(2),o.Y8G("message",w.message)("tenantInfo",w.tenantInfo)("roomInfo",w.roomInfo),o.R7$(2),o.Y8G("ngIf",w.isMe&&!w.isSending&&!w.isSendError),o.R7$(),o.Y8G("ngIf",w.isSending),o.R7$(),o.Y8G("ngIf",w.isSendError),o.R7$(2),o.JRh(o.i5U(19,18,null==w.message?null:w.message.sentAt,"HH:mm"))}}function Un(j,S){1&j&&o.nrm(0,"div"),2&j&&o.HbH(S.$implicit.class)}function xe(j,S){if(1&j&&(o.j41(0,"div"),o.DNE(1,Un,1,2,"div",28),o.k0s()),2&j){const D=o.XpG(3);o.R7$(),o.Y8G("ngForOf",D.dots)}}
1function ht(j,S){1&j&&(o.j41(0,"div",29),o.nrm(1,"ion-spinner",30),o.k0s())}function Ut(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",31),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.reSend())}),o.qSk(),o.j41(1,"svg",32),o.nrm(2,"use",33),o.k0s()()}}function qe(j,S){if(1&j&&(o.j41(0,"div",34),o.nrm(1,"div",17),o.j41(2,"div",18),o.nrm(3,"avatar-p",19),o.nI1(4,"async"),o.k0s(),o.j41(5,"div",20)(6,"div",21),o.EFF(7),o.k0s(),o.j41(8,"div",35)(9,"div",36),o.nrm(10,"chat-ai-message",24),o.k0s(),o.j41(11,"div",37),o.DNE(12,xe,2,1,"div",7)(13,ht,2,0,"div",26)(14,Ut,3,0,"div",27),o.j41(15,"div"),o.EFF(16),o.nI1(17,"date"),o.k0s()()()(),o.nrm(18,"div",17),o.k0s()),2&j){let D;const w=o.XpG(2);o.R7$(),o.Y8G("ngClass",o.eq3(21,ki,!(null!=w.message&&w.message.isUser))),o.R7$(),o.Y8G("ngClass",o.eq3(23,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ceSrc",o.bMT(4,16,w.avatarUrl))("ceText",null!==(D=null==w.message?null:w.message.senderName)&&void 0!==D?D:"")("ceSize",40),o.R7$(3),o.Y8G("ngClass",o.eq3(25,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.SpI(" ",null==w.message?null:w.message.senderName," "),o.R7$(),o.Y8G("ngClass",o.eq3(27,ko,null==w.message?null:w.message.isUser)),o.R7$(2),o.Y8G("message",w.message)("tenantInfo",w.tenantInfo)("roomInfo",w.roomInfo),o.R7$(2),o.Y8G("ngIf",w.isMe&&!w.isSending&&!w.isSendError),o.R7$(),o.Y8G("ngIf",w.isSending),o.R7$(),o.Y8G("ngIf",w.isSendError),o.R7$(2),o.JRh(o.i5U(17,18,null==w.message?null:w.message.sentAt,"HH:mm")),o.R7$(2),o.Y8G("ngClass",o.eq3(29,ki,null==w.message?null:w.message.isUser))}}function rn(j,S){1&j&&o.nrm(0,"div"),2&j&&o.HbH(S.$implicit.class)}function Dn(j,S){if(1&j&&(o.j41(0,"div"),o.DNE(1,rn,1,2,"div",28),o.k0s()),2&j){const D=o.XpG(3);o.R7$(),o.Y8G("ngForOf",D.dots)}}
1function Bi(j,S){1&j&&(o.j41(0,"div",29),o.nrm(1,"ion-spinner",30),o.k0s())}function vt(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",31),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.reSend())}),o.qSk(),o.j41(1,"svg",32),o.nrm(2,"use",33),o.k0s()()}}function Kt(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",38),o.nrm(1,"div",17),o.j41(2,"div",18),o.nrm(3,"avatar-p",19),o.nI1(4,"async"),o.k0s(),o.j41(5,"div",39)(6,"div",21),o.EFF(7),o.k0s(),o.j41(8,"div",40)(9,"div",41,0),o.nI1(11,"linkify"),o.bIt("click",function(B){o.eBV(D);const te=o.XpG(2);return o.Njj(te.messageTxtClick(B))})("dblclick",function(){o.eBV(D);const B=o.sdS(10),te=o.XpG(2);return o.Njj(te.messageTxtdblClick(B.innerText))}),o.k0s(),o.j41(12,"div",37),o.DNE(13,Dn,2,1,"div",7)(14,Bi,2,0,"div",26)(15,vt,3,0,"div",27),o.j41(16,"div"),o.EFF(17),o.nI1(18,"date"),o.k0s()()()(),o.nrm(19,"div",17),o.k0s()}if(2&j){let D;const w=o.XpG(2);o.R7$(),o.Y8G("ngClass",o.eq3(22,ki,!(null!=w.message&&w.message.isUser))),o.R7$(),o.Y8G("ngClass",o.eq3(24,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ceSrc",o.bMT(4,15,w.avatarUrl))("ceText",null!==(D=null==w.message?null:w.message.senderName)&&void 0!==D?D:"")("ceSize",40),o.R7$(3),o.Y8G("ngClass",o.eq3(26,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.SpI(" ",null==w.message?null:w.message.senderName," "),o.R7$(),o.Y8G("ngClass",o.eq3(28,ko,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ngClass",o.l_i(30,Eo,!(null!=w.message&&w.message.isUser),null==w.message?null:w.message.isUser))("innerHTML",o.bMT(11,17,null==w.message?null:w.message.content),o.npT),o.R7$(4),o.Y8G("ngIf",w.isMe&&!w.isSending&&!w.isSendError),o.R7$(),o.Y8G("ngIf",w.isSending),o.R7$(),o.Y8G("ngIf",w.isSendError),o.R7$(2),o.JRh(o.i5U(18,19,null==w.message?null:w.message.sentAt,"HH:mm")),o.R7$(2),o.Y8G("ngClass",o.eq3(33,ki,null==w.message?null:w.message.isUser))}}function cn(j,S){if(1&j&&(o.j41(0,"div",44),o.nrm(1,"img",45,1),o.nI1(3,"safeUrl"),o.k0s()),2&j){const D=o.XpG(3);o.R7$(),o.Y8G("src",o.bMT(3,1,D.stickImage),o.B4B)}}function Pn(j,S){1&j&&(o.j41(0,"div",46),o.EFF(1),o.nI1(2,"translate"),o.k0s()),2&j&&(o.R7$(),o.JRh(o.bMT(2,1,"Common.NotSupport")))}function Yn(j,S){1&j&&o.nrm(0,"div"),2&j&&o.HbH(S.$implicit.class)}function Wn(j,S){if(1&j&&(o.j41(0,"div"),o.DNE(1,Yn,1,2,"div",28),o.k0s()),2&j){const D=o.XpG(3);o.R7$(),o.Y8G("ngForOf",D.dots)}}
1function Ir(j,S){1&j&&(o.j41(0,"div",29),o.nrm(1,"ion-spinner",30),o.k0s())}function Wr(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",31),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.reSend())}),o.qSk(),o.j41(1,"svg",32),o.nrm(2,"use",33),o.k0s()()}}function Or(j,S){if(1&j&&(o.j41(0,"div",38),o.nrm(1,"div",17),o.j41(2,"div",18),o.nrm(3,"avatar-p",19),o.nI1(4,"async"),o.k0s(),o.j41(5,"div",39)(6,"div",21),o.EFF(7),o.k0s(),o.j41(8,"div",40),o.DNE(9,cn,4,3,"div",42)(10,Pn,3,3,"div",43),o.j41(11,"div",37),o.DNE(12,Wn,2,1,"div",7)(13,Ir,2,0,"div",26)(14,Wr,3,0,"div",27),o.j41(15,"div"),o.EFF(16),o.nI1(17,"date"),o.k0s()()()(),o.nrm(18,"div",17),o.k0s()),2&j){let D;const w=o.XpG(2);o.R7$(),o.Y8G("ngClass",o.eq3(20,ki,!(null!=w.message&&w.message.isUser))),o.R7$(),o.Y8G("ngClass",o.eq3(22,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ceSrc",o.bMT(4,15,w.avatarUrl))("ceText",null!==(D=null==w.message?null:w.message.senderName)&&void 0!==D?D:"")("ceSize",40),o.R7$(3),o.Y8G("ngClass",o.eq3(24,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.SpI(" ",null==w.message?null:w.message.senderName," "),o.R7$(),o.Y8G("ngClass",o.eq3(26,ko,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ngIf",w.isStickerExist),o.R7$(),o.Y8G("ngIf",!w.isStickerExist),o.R7$(2),o.Y8G("ngIf",w.isMe&&!w.isSending&&!w.isSendError),o.R7$(),o.Y8G("ngIf",w.isSending),o.R7$(),o.Y8G("ngIf",w.isSendError),o.R7$(2),o.JRh(o.i5U(17,17,null==w.message?null:w.message.sentAt,"HH:mm")),o.R7$(2),o.Y8G("ngClass",o.eq3(28,ki,null==w.message?null:w.message.isUser))}}function Hr(j,S){1&j&&o.nrm(0,"div",52)}function ui(j,S){1&j&&o.nrm(0,"div"),2&j&&o.HbH(S.$implicit.class)}function Ci(j,S){if(1&j&&(o.j41(0,"div"),o.DNE(1,ui,1,2,"div",28),o.k0s()),2&j){const D=o.XpG(3);o.R7$(),o.Y8G("ngForOf",D.dots)}}
1function pi(j,S){1&j&&(o.j41(0,"div",29),o.nrm(1,"ion-spinner",30),o.k0s())}function Fi(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",31),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.reSend())}),o.qSk(),o.j41(1,"svg",32),o.nrm(2,"use",33),o.k0s()()}}function yo(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",38),o.nrm(1,"div",17),o.j41(2,"div",18),o.nrm(3,"avatar-p",19),o.nI1(4,"async"),o.k0s(),o.j41(5,"div",39)(6,"div",21),o.EFF(7),o.k0s(),o.j41(8,"div",40)(9,"div",47),o.bIt("click",function(){o.eBV(D);const B=o.XpG(2);return o.Njj(B.onPlayMessage())})("dblclick",function(){o.eBV(D);const B=o.XpG(2);return o.Njj(B.onPlayTxtMessage())}),o.j41(10,"div",48),o.nrm(11,"ion-icon",49),o.j41(12,"div",50),o.EFF(13),o.k0s()(),o.DNE(14,Hr,1,0,"div",51),o.k0s(),o.j41(15,"div",37),o.DNE(16,Ci,2,1,"div",7)(17,pi,2,0,"div",26)(18,Fi,3,0,"div",27),o.j41(19,"div"),o.EFF(20),o.nI1(21,"date"),o.k0s()()()(),o.nrm(22,"div",17),o.k0s()}if(2&j){let D;const w=o.XpG(2);o.R7$(),o.Y8G("ngClass",o.eq3(22,ki,!(null!=w.message&&w.message.isUser))),o.R7$(),o.Y8G("ngClass",o.eq3(24,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ceSrc",o.bMT(4,17,w.avatarUrl))("ceText",null!==(D=null==w.message?null:w.message.senderName)&&void 0!==D?D:"")("ceSize",40),o.R7$(3),o.Y8G("ngClass",o.eq3(26,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.SpI(" ",null==w.message?null:w.message.senderName," "),o.R7$(),o.Y8G("ngClass",o.eq3(28,ko,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ngClass",o.l_i(30,Eo,!(null!=w.message&&w.message.isUser),null==w.message?null:w.message.isUser)),o.R7$(2),o.Y8G("ngClass",o.eq3(33,ji,w.audioPlaying)),o.R7$(2),o.SpI(" ",w.voiceDuration," ''"),o.R7$(),o.Y8G("ngIf",w.hasReadRecord),o.R7$(2),o.Y8G("ngIf",w.isMe&&!w.isSending&&!w.isSendError),o.R7$(),o.Y8G("ngIf",w.isSending),o.R7$(),o.Y8G("ngIf",w.isSendError),o.R7$(2),o.JRh(o.i5U(21,19,null==w.message?null:w.message.sentAt,"HH:mm")),o.R7$(2),o.Y8G("ngClass",o.eq3(35,ki,null==w.message?null:w.message.isUser))}}function Jo(j,S){if(1&j&&(o.j41(0,"ion-thumbnail",56),o.nrm(1,"ion-skeleton-text",57),o.k0s()),2&j){const D=o.XpG(3);o.Y8G("ngStyle",D.imageStyle),o.R7$(),o.Y8G("animated",!0)}}function xi(j,S){if(1&j&&o.nrm(0,"ion-progress-bar",61),2&j){const D=o.XpG(4);o.Y8G("value",null==D.message?null:D.message.uploadPer)}}function as(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",58),o.bIt("click",function(B){o.eBV(D);const te=o.XpG(3);return o.Njj(te.triggerPlay(B))}),o.DNE(1,xi,1,1,"ion-progress-bar",59),o.nrm(2,"img",60,1),o.nI1(4,"safeUrl"),o.k0s()}if(2&j){const D=o.XpG(3);o.Y8G("ngStyle",D.imageStyle),o.R7$(),o.Y8G("ngIf",null==D.message?null:D.message.uploadFlag),o.R7$(),o.Y8G("src",o.bMT(4,3,D.imageUrl),o.B4B)}}function Ts(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",62)(1,"div",63),o.EFF(2),o.nI1(3,"translate"),o.k0s(),o.j41(4,"div",64),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.reLoadImage())}),o.EFF(5),o.nI1(6,"translate"),o.k0s()()}if(2&j){const D=o.XpG(3);o.Y8G("ngClass",o.l_i(7,Eo,!(null!=D.message&&D.message.isUser),null==D.message?null:D.message.isUser)),o.R7$(2),o.JRh(o.bMT(3,3,"Common.ImageShowError")),o.R7$(3),o.SpI(" ",o.bMT(6,5,"Common.ReDownImage"),"")}}function As(j,S){1&j&&o.nrm(0,"div"),2&j&&o.HbH(S.$implicit.class)}function No(j,S){if(1&j&&(o.j41(0,"div"),o.DNE(1,As,1,2,"div",28),o.k0s()),2&j){const D=o.XpG(3);o.R7$(),o.Y8G("ngForOf",D.dots)}}
1function ma(j,S){1&j&&(o.j41(0,"div",29),o.nrm(1,"ion-spinner",30),o.k0s())}function us(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",31),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.reSend())}),o.qSk(),o.j41(1,"svg",32),o.nrm(2,"use",33),o.k0s()()}}function ia(j,S){if(1&j&&(o.j41(0,"div",38),o.nrm(1,"div",17),o.j41(2,"div",18),o.nrm(3,"avatar-p",19),o.nI1(4,"async"),o.k0s(),o.j41(5,"div",39)(6,"div",21),o.EFF(7),o.k0s(),o.j41(8,"div",40),o.DNE(9,Jo,2,2,"ion-thumbnail",53)(10,as,5,5,"div",54)(11,Ts,7,10,"div",55),o.j41(12,"div",37),o.DNE(13,No,2,1,"div",7)(14,ma,2,0,"div",26)(15,us,3,0,"div",27),o.j41(16,"div"),o.EFF(17),o.nI1(18,"date"),o.k0s()()()(),o.nrm(19,"div",17),o.k0s()),2&j){let D;const w=o.XpG(2);o.R7$(),o.Y8G("ngClass",o.eq3(21,ki,!(null!=w.message&&w.message.isUser))),o.R7$(),o.Y8G("ngClass",o.eq3(23,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ceSrc",o.bMT(4,16,w.avatarUrl))("ceText",null!==(D=null==w.message?null:w.message.senderName)&&void 0!==D?D:"")("ceSize",40),o.R7$(3),o.Y8G("ngClass",o.eq3(25,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.SpI(" ",null==w.message?null:w.message.senderName," "),o.R7$(),o.Y8G("ngClass",o.eq3(27,ko,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ngIf",w.isImageLoading),o.R7$(),o.Y8G("ngIf",w.isImageExist&&!w.isImageLoading),o.R7$(),o.Y8G("ngIf",!w.isImageExist&&!w.isImageLoading),o.R7$(2),o.Y8G("ngIf",w.isMe&&!w.isSending&&!w.isSendError),o.R7$(),o.Y8G("ngIf",w.isSending),o.R7$(),o.Y8G("ngIf",w.isSendError),o.R7$(2),o.JRh(o.i5U(18,18,null==w.message?null:w.message.sentAt,"HH:mm")),o.R7$(2),o.Y8G("ngClass",o.eq3(29,ki,null==w.message?null:w.message.isUser))}}function oa(j,S){if(1&j&&o.nrm(0,"div",73),2&j){const D=o.XpG(4);o.Y8G("ngStyle",D.tempImageStyle)}}function Uo(j,S){if(1&j&&(o.j41(0,"div",74),o.EFF(1),o.k0s()),2&j){const D=o.XpG(4);o.Y8G("title",null==D.tempBody?null:D.tempBody.title),o.R7$(),o.SpI(" ",null==D.tempBody?null:D.tempBody.title,"")}}function ua(j,S){if(1&j&&(o.j41(0,"div",75),o.EFF(1),o.k0s()),2&j){const D=o.XpG(4);o.Y8G("title",null==D.tempBody?null:D.tempBody.text),o.R7$(),o.SpI(" ",null==D.tempBody?null:D.tempBody.text,"")}}function ta(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",78)(1,"div",79),o.bIt("click",function(){const B=o.eBV(D).$implicit,te=o.XpG(5);return o.Njj(te.actionClick(B))}),o.EFF(2),o.k0s()()}if(2&j){const D=S.$implicit;o.R7$(2),o.SpI(" ",D.label," ")}}function wo(j,S){if(1&j&&(o.j41(0,"div",76),o.DNE(1,ta,3,1,"div",77),o.k0s()),2&j){const D=o.XpG(4);o.R7$(),o.Y8G("ngForOf",null==D.tempBody?null:D.tempBody.actions)}}function Ia(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",78)(1,"div",82),o.bIt("click",function(){const B=o.eBV(D).$implicit,te=o.XpG(5);return o.Njj(te.actionClick(B))}),o.EFF(2),o.k0s()()}if(2&j){const D=S.$implicit;o.R7$(2),o.SpI("",D.label," ")}}function Us(j,S){if(1&j&&(o.j41(0,"div",80),o.DNE(1,Ia,3,1,"div",81),o.k0s()),2&j){const D=o.XpG(4);o.R7$(),o.Y8G("ngForOf",null==D.tempBody?null:D.tempBody.actions)}}function Ji(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",66),o.DNE(1,oa,1,1,"div",67),o.j41(2,"div",68),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.defaultClick())}),o.DNE(3,Uo,2,2,"div",69)(4,ua,2,2,"div",70),o.k0s(),o.DNE(5,wo,2,1,"div",71)(6,Us,2,1,"div",72),o.k0s()}if(2&j){const D=o.XpG(3);o.Y8G("ngClass",o.l_i(7,bs,!(null!=D.message&&D.message.isUser),null==D.message?null:D.message.isUser)),o.R7$(),o.Y8G("ngIf",D.tempHasImage),o.R7$(),o.Y8G("title",null==D.tempBody||null==D.tempBody.defaultAction?null:D.tempBody.defaultAction.label),o.R7$(),o.Y8G("ngIf",null==D.tempBody?null:D.tempBody.title),o.R7$(),o.Y8G("ngIf",null==D.tempBody?null:D.tempBody.text),o.R7$(),o.Y8G("ngIf",D.isUpDownFlow),o.R7$(),o.Y8G("ngIf",!D.isUpDownFlow)}}function Pa(j,S){if(1&j&&(o.j41(0,"div",62)(1,"div",63),o.EFF(2),o.nI1(3,"translate"),o.k0s()()),2&j){const D=o.XpG(3);o.Y8G("ngClass",o.l_i(4,Eo,!(null!=D.message&&D.message.isUser),null==D.message?null:D.message.isUser)),o.R7$(2),o.JRh(o.bMT(3,2,"Common.NotSupport"))}}function el(j,S){1&j&&o.nrm(0,"div"),2&j&&o.HbH(S.$implicit.class)}function Ha(j,S){if(1&j&&(o.j41(0,"div"),o.DNE(1,el,1,2,"div",28),o.k0s()),2&j){const D=o.XpG(3);o.R7$(),o.Y8G("ngForOf",D.dots)}}
1function xa(j,S){1&j&&(o.j41(0,"div",29),o.nrm(1,"ion-spinner",30),o.k0s())}function ya(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",31),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.reSend())}),o.qSk(),o.j41(1,"svg",32),o.nrm(2,"use",33),o.k0s()()}}function sa(j,S){if(1&j&&(o.j41(0,"div",38),o.nrm(1,"div",17),o.j41(2,"div",18),o.nrm(3,"avatar-p",19),o.nI1(4,"async"),o.k0s(),o.j41(5,"div",39)(6,"div",21),o.EFF(7),o.k0s(),o.j41(8,"div",40),o.DNE(9,Ji,7,10,"div",65)(10,Pa,4,7,"div",55),o.j41(11,"div",37),o.DNE(12,Ha,2,1,"div",7)(13,xa,2,0,"div",26)(14,ya,3,0,"div",27),o.j41(15,"div"),o.EFF(16),o.nI1(17,"date"),o.k0s()()()(),o.nrm(18,"div",17),o.k0s()),2&j){let D;const w=o.XpG(2);o.R7$(),o.Y8G("ngClass",o.eq3(20,ki,!(null!=w.message&&w.message.isUser))),o.R7$(),o.Y8G("ngClass",o.eq3(22,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ceSrc",o.bMT(4,15,w.avatarUrl))("ceText",null!==(D=null==w.message?null:w.message.senderName)&&void 0!==D?D:"")("ceSize",40),o.R7$(3),o.Y8G("ngClass",o.eq3(24,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.SpI(" ",null==w.message?null:w.message.senderName," "),o.R7$(),o.Y8G("ngClass",o.eq3(26,ko,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ngIf","buttons"===w.tempType),o.R7$(),o.Y8G("ngIf","buttons"!==w.tempType),o.R7$(2),o.Y8G("ngIf",w.isMe&&!w.isSending&&!w.isSendError),o.R7$(),o.Y8G("ngIf",w.isSending),o.R7$(),o.Y8G("ngIf",w.isSendError),o.R7$(2),o.JRh(o.i5U(17,17,null==w.message?null:w.message.sentAt,"HH:mm")),o.R7$(2),o.Y8G("ngClass",o.eq3(28,ki,null==w.message?null:w.message.isUser))}}function Ls(j,S){if(1&j&&o.nrm(0,"ion-progress-bar",61),2&j){const D=o.XpG(3);o.Y8G("value",null==D.message?null:D.message.downloadPer)}}function aa(j,S){if(1&j&&o.nrm(0,"ion-progress-bar",61),2&j){const D=o.XpG(3);o.Y8G("value",null==D.message?null:D.message.uploadPer)}}function qa(j,S){if(1&j){const D=o.RV6();o.j41(0,"a",91),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.downloadFile())}),o.EFF(1),o.nI1(2,"translate"),o.k0s()}if(2&j){const D=o.XpG(3);o.FS9("download",D.fileName),o.R7$(),o.JRh(o.bMT(2,2,"Common.Download"))}}function Ct(j,S){if(1&j){const D=o.RV6();o.j41(0,"a",91),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.cancelDownloadFile())}),o.EFF(1),o.nI1(2,"translate"),o.k0s()}if(2&j){const D=o.XpG(3);o.FS9("download",D.fileName),o.R7$(),o.JRh(o.bMT(2,2,"Common.Cannel"))}}function ot(j,S){1&j&&o.nrm(0,"div"),2&j&&o.HbH(S.$implicit.class)}function Zt(j,S){if(1&j&&(o.j41(0,"div"),o.DNE(1,ot,1,2,"div",28),o.k0s()),2&j){const D=o.XpG(3);o.R7$(),o.Y8G("ngForOf",D.dots)}}
1function bt(j,S){1&j&&(o.j41(0,"div",29),o.nrm(1,"ion-spinner",30),o.k0s())}function sn(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",31),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.reSend())}),o.qSk(),o.j41(1,"svg",32),o.nrm(2,"use",33),o.k0s()()}}function ai(j,S){if(1&j&&(o.j41(0,"div",38),o.nrm(1,"div",17),o.j41(2,"div",18),o.nrm(3,"avatar-p",19),o.nI1(4,"async"),o.k0s(),o.j41(5,"div",39)(6,"div",21),o.EFF(7),o.k0s(),o.j41(8,"div",40)(9,"div",83),o.DNE(10,Ls,1,1,"ion-progress-bar",59)(11,aa,1,1,"ion-progress-bar",59),o.j41(12,"div",84),o.nrm(13,"img",85),o.k0s(),o.j41(14,"div",86)(15,"div",87),o.EFF(16),o.k0s(),o.j41(17,"div",88)(18,"div",12),o.EFF(19),o.k0s(),o.j41(20,"div",89),o.DNE(21,qa,3,4,"a",90)(22,Ct,3,4,"a",90),o.k0s()()()(),o.j41(23,"div",37),o.DNE(24,Zt,2,1,"div",7)(25,bt,2,0,"div",26)(26,sn,3,0,"div",27),o.j41(27,"div"),o.EFF(28),o.nI1(29,"date"),o.k0s()()()(),o.nrm(30,"div",17),o.k0s()),2&j){let D;const w=o.XpG(2);o.R7$(),o.Y8G("ngClass",o.eq3(26,ki,!(null!=w.message&&w.message.isUser))),o.R7$(),o.Y8G("ngClass",o.eq3(28,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ceSrc",o.bMT(4,21,w.avatarUrl))("ceText",null!==(D=null==w.message?null:w.message.senderName)&&void 0!==D?D:"")("ceSize",40),o.R7$(3),o.Y8G("ngClass",o.eq3(30,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.SpI(" ",null==w.message?null:w.message.senderName," "),o.R7$(),o.Y8G("ngClass",o.eq3(32,ko,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ngClass",o.l_i(34,Eo,!(null!=w.message&&w.message.isUser),null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ngIf",null==w.message?null:w.message.downloadFlag),o.R7$(),o.Y8G("ngIf",null==w.message?null:w.message.uploadFlag),o.R7$(2),o.Y8G("src",w.fileImg,o.B4B),o.R7$(3),o.SpI(" ",w.fileName,""),o.R7$(3),o.JRh(w.fileSize),o.R7$(2),o.Y8G("ngIf",!(null!=w.message&&w.message.downloadFlag)),o.R7$(),o.Y8G("ngIf",null==w.message?null:w.message.downloadFlag),o.R7$(2),o.Y8G("ngIf",w.isMe&&!w.isSending&&!w.isSendError),o.R7$(),o.Y8G("ngIf",w.isSending),o.R7$(),o.Y8G("ngIf",w.isSendError),o.R7$(2),o.JRh(o.i5U(29,23,null==w.message?null:w.message.sentAt,"HH:mm")),o.R7$(2),o.Y8G("ngClass",o.eq3(37,ki,null==w.message?null:w.message.isUser))}}function wi(j,S){if(1&j&&o.nrm(0,"ion-progress-bar",61),2&j){const D=o.XpG(3);o.Y8G("value",null==D.message?null:D.message.uploadPer)}}function Ns(j,S){1&j&&o.nrm(0,"video",99,2)}function ca(j,S){if(1&j&&(o.nrm(0,"img",100),o.nI1(1,"safeUrl")),2&j){const D=o.XpG(3);o.Y8G("src",o.bMT(1,1,D.videoImgbg),o.B4B)}}function Xo(j,S){1&j&&o.nrm(0,"div"),2&j&&o.HbH(S.$implicit.class)}function ga(j,S){if(1&j&&(o.j41(0,"div"),o.DNE(1,Xo,1,2,"div",28),o.k0s()),2&j){const D=o.XpG(3);o.R7$(),o.Y8G("ngForOf",D.dots)}}
1function Js(j,S){1&j&&(o.j41(0,"div",29),o.nrm(1,"ion-spinner",30),o.k0s())}function Ps(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",31),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.reSend())}),o.qSk(),o.j41(1,"svg",32),o.nrm(2,"use",33),o.k0s()()}}function Xa(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",38),o.nrm(1,"div",17),o.j41(2,"div",18),o.nrm(3,"avatar-p",19),o.nI1(4,"async"),o.k0s(),o.j41(5,"div",39)(6,"div",21),o.EFF(7),o.k0s(),o.j41(8,"div",40)(9,"div",92),o.DNE(10,wi,1,1,"ion-progress-bar",59),o.j41(11,"div",93),o.DNE(12,Ns,2,0,"video",94)(13,ca,2,3,"img",95),o.k0s(),o.nrm(14,"div",96),o.j41(15,"div",97),o.bIt("click",function(B){o.eBV(D);const te=o.XpG(2);return o.Njj(te.triggerPlay(B))}),o.nrm(16,"i",98),o.k0s()(),o.j41(17,"div",37),o.DNE(18,ga,2,1,"div",7)(19,Js,2,0,"div",26)(20,Ps,3,0,"div",27),o.j41(21,"div"),o.EFF(22),o.nI1(23,"date"),o.k0s()()()(),o.nrm(24,"div",17),o.k0s()}if(2&j){let D;const w=o.XpG(2);o.R7$(),o.Y8G("ngClass",o.eq3(22,ki,!(null!=w.message&&w.message.isUser))),o.R7$(),o.Y8G("ngClass",o.eq3(24,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ceSrc",o.bMT(4,17,w.avatarUrl))("ceText",null!==(D=null==w.message?null:w.message.senderName)&&void 0!==D?D:"")("ceSize",40),o.R7$(3),o.Y8G("ngClass",o.eq3(26,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.SpI(" ",null==w.message?null:w.message.senderName," "),o.R7$(),o.Y8G("ngClass",o.eq3(28,ko,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ngStyle",w.imageStyle),o.R7$(),o.Y8G("ngIf",null==w.message?null:w.message.uploadFlag),o.R7$(2),o.Y8G("ngIf",!w.isImageExist),o.R7$(),o.Y8G("ngIf",w.isImageExist),o.R7$(5),o.Y8G("ngIf",w.isMe&&!w.isSending&&!w.isSendError),o.R7$(),o.Y8G("ngIf",w.isSending),o.R7$(),o.Y8G("ngIf",w.isSendError),o.R7$(2),o.JRh(o.i5U(23,19,null==w.message?null:w.message.sentAt,"HH:mm")),o.R7$(2),o.Y8G("ngClass",o.eq3(30,ki,null==w.message?null:w.message.isUser))}}function Zo(j,S){1&j&&(o.qSk(),o.j41(0,"svg",105),o.nrm(1,"use",106),o.k0s())}function fl(j,S){1&j&&(o.qSk(),o.j41(0,"svg",105),o.nrm(1,"use",107),o.k0s())}function hl(j,S){1&j&&(o.j41(0,"div"),o.EFF(1),o.nI1(2,"translate"),o.k0s()),2&j&&(o.R7$(),o.JRh(o.bMT(2,1,"Common.CallEnd")))}function Rl(j,S){1&j&&(o.j41(0,"div"),o.EFF(1),o.nI1(2,"translate"),o.k0s()),2&j&&(o.R7$(),o.JRh(o.bMT(2,1,"Common.CallUnConnect")))}function tl(j,S){if(1&j&&(o.j41(0,"div"),o.EFF(1),o.k0s()),2&j){const D=o.XpG(3);o.R7$(),o.JRh(D.callDur)}}function Ma(j,S){1&j&&o.nrm(0,"div"),2&j&&o.HbH(S.$implicit.class)}function Va(j,S){if(1&j&&(o.j41(0,"div"),o.DNE(1,Ma,1,2,"div",28),o.k0s()),2&j){const D=o.XpG(3);o.R7$(),o.Y8G("ngForOf",D.dots)}}
1function zl(j,S){1&j&&(o.j41(0,"div",29),o.nrm(1,"ion-spinner",30),o.k0s())}function kl(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",31),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.reSend())}),o.qSk(),o.j41(1,"svg",32),o.nrm(2,"use",33),o.k0s()()}}function nl(j,S){if(1&j&&(o.j41(0,"div",38),o.nrm(1,"div",17),o.j41(2,"div",18),o.nrm(3,"avatar-p",19),o.nI1(4,"async"),o.k0s(),o.j41(5,"div",39)(6,"div",21),o.EFF(7),o.k0s(),o.j41(8,"div",40)(9,"div",101)(10,"div",102),o.DNE(11,Zo,2,0,"svg",103)(12,fl,2,0,"svg",103),o.k0s(),o.j41(13,"div",104),o.DNE(14,hl,3,3,"div",7)(15,Rl,3,3,"div",7)(16,tl,2,1,"div",7),o.k0s()(),o.j41(17,"div",37),o.DNE(18,Va,2,1,"div",7)(19,zl,2,0,"div",26)(20,kl,3,0,"div",27),o.j41(21,"div"),o.EFF(22),o.nI1(23,"date"),o.k0s()()()(),o.nrm(24,"div",17),o.k0s()),2&j){let D;const w=o.XpG(2);o.R7$(),o.Y8G("ngClass",o.eq3(24,ki,!(null!=w.message&&w.message.isUser))),o.R7$(),o.Y8G("ngClass",o.eq3(26,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ceSrc",o.bMT(4,19,w.avatarUrl))("ceText",null!==(D=null==w.message?null:w.message.senderName)&&void 0!==D?D:"")("ceSize",40),o.R7$(3),o.Y8G("ngClass",o.eq3(28,ki,null==w.message?null:w.message.isUser)),o.R7$(),o.SpI(" ",null==w.message?null:w.message.senderName," "),o.R7$(),o.Y8G("ngClass",o.eq3(30,ko,null==w.message?null:w.message.isUser)),o.R7$(),o.Y8G("ngClass",o.l_i(32,Eo,!(null!=w.message&&w.message.isUser),null==w.message?null:w.message.isUser)),o.R7$(2),o.Y8G("ngIf",w.isCallCancel),o.R7$(),o.Y8G("ngIf",w.isCallEnd),o.R7$(2),o.Y8G("ngIf",w.isCallEnd),o.R7$(),o.Y8G("ngIf",w.isCallCancel),o.R7$(),o.Y8G("ngIf",w.isCallEnd),o.R7$(2),o.Y8G("ngIf",w.isMe&&!w.isSending&&!w.isSendError),o.R7$(),o.Y8G("ngIf",w.isSending),o.R7$(),o.Y8G("ngIf",w.isSendError),o.R7$(2),o.JRh(o.i5U(23,21,null==w.message?null:w.message.sentAt,"HH:mm")),o.R7$(2),o.Y8G("ngClass",o.eq3(35,ki,null==w.message?null:w.message.isUser))}}function Zs(j,S){if(1&j&&(o.j41(0,"div"),o.EFF(1),o.nI1(2,"json"),o.k0s()),2&j){const D=o.XpG(3);o.R7$(),o.Lme(" ",null==D.message?null:D.message.sequence,":",o.bMT(2,2,D.message)," (\u6d88\u606f\u683c\u5f0f\u6682\u65f6\u4e0d\u652f\u63f4) ")}}function _a(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",108),o.bIt("click",function(){o.eBV(D);const B=o.XpG(2);return o.Njj(B.onDebug())}),o.DNE(1,Zs,3,4,"div",7),o.k0s()}if(2&j){const D=o.XpG(2);o.R7$(),o.Y8G("ngIf",!D.isAiMessage)}}function Ga(j,S){if(1&j&&(o.j41(0,"div",4),o.qex(1,5),o.DNE(2,xo,5,1,"div",6)(3,So,5,1,"div",6)(4,$s,5,1,"div",6)(5,Ge,20,31,"ng-container",7)(6,qe,19,31,"div",8)(7,Kt,20,35,"div",9)(8,Or,19,30,"div",9)(9,yo,23,37,"div",9)(10,ia,20,31,"div",9)(11,sa,19,30,"div",9)(12,ai,31,39,"div",9)(13,Xa,25,32,"div",9)(14,nl,25,37,"div",9)(15,_a,2,1,"div",10),o.bVm(),o.k0s()),2&j){const D=o.XpG();o.R7$(),o.Y8G("ngSwitch",null==D.message?null:D.message.messageType),o.R7$(),o.Y8G("ngSwitchCase",D.messageTypeKey("date")),o.R7$(),o.Y8G("ngSwitchCase",D.messageTypeKey("system")),o.R7$(),o.Y8G("ngSwitchCase",D.messageTypeKey("unreadtag")),o.R7$(),o.Y8G("ngIf",D.isAiMessage&&14==(null==D.message?null:D.message.messageType)),o.R7$(),o.Y8G("ngIf",D.isAiMessage&&14!=(null==D.message?null:D.message.messageType)),o.R7$(),o.Y8G("ngSwitchCase",D.messageTypeKey("plain")),o.R7$(),o.Y8G("ngSwitchCase",D.messageTypeKey("sticker")),o.R7$(),o.Y8G("ngSwitchCase",D.messageTypeKey("voice")),o.R7$(),o.Y8G("ngSwitchCase",D.messageTypeKey("image")),o.R7$(),o.Y8G("ngSwitchCase",D.messageTypeKey("template")),o.R7$(),o.Y8G("ngSwitchCase",D.messageTypeKey("file")),o.R7$(),o.Y8G("ngSwitchCase",D.messageTypeKey("video")),o.R7$(),o.Y8G("ngSwitchCase",D.messageTypeKey("call"))}}let _o=(()=>{var j;class S{ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}get tempImageStyle(){return{width:"width: 100%;",background:`url(${this.tempBody.imageUrl})`,height:"150px","background-repeat":"no-repeat","background-position":"center","background-size":"cover","background-color":"#FFFFFF","aspect-ratio":"rectangle","border-top-right-radius":"8px","border-top-left-radius":"8px"}}constructor(w,B,te,Ee,ze,gt,Dt,Wt,yn){this.platform=w,this.speechService=B,this.modalHelper=te,this.commonService=Ee,this.cpService=ze,this.storage=gt,this.i18N=Dt,this._cdr=Wt,this.injector=yn,this.avatarUrl=null,this.isStickerExist=!1,this.stickImage="",this.hasReadRecord=!1,this.audioPlaying=!1,this.audio=null,this.isImageExist=!1,this.isImageLoading=!0,this.imageUrl="",this.imageStyle={width:"200px",height:""},this.tempHasImage=!1,this.tempType="",this.videoHasError=!1,this.videoImgbg="",this.playVideoing=!1,this.options={autoplay:!1,controls:!0,controlBar:{volumeBar:!0,playToggle:!1}},this.destroy$=new lt.B,this.isTTS=!1,this.time=new St.c(Bn=>{setInterval(()=>Bn.next((new Date).toString()),1e3)}),fn.co._messageChanged.pipe((0,Cn.Q)(this.destroy$)).subscribe(Bn=>{switch(Bn.type){case fn.nq.refresh:var Ln,Jn;(null===(Ln=Bn.message)||void 0===Ln?void 0:Ln.id)==(null===(Jn=this.message)||void 0===Jn?void 0:Jn.id)&&(this.message=q.assign(this.message,Bn.message),this.refresh());break;case fn.nq.confirm:case fn.nq.update:case fn.nq.contentUpdate:var ir,Tr;(null===(ir=Bn.message)||void 0===ir?void 0:ir.id)==(null===(Tr=this.message)||void 0===Tr?void 0:Tr.id)&&(this.message=q.assign(this.message,Bn.message),this.isMe&&(window.message=this),this.initMessage(),this._cdr.markForCheck())}})}get ceService(){var w,B;let te=this.cpService.getCEServerByTenantId(null!==(w=null===(B=this.tenantInfo)||void 0===B?void 0:B.tenantId)&&void 0!==w?w:"");if(te)return te;throw new Error("ceServer is null")}ngOnInit(){this.avatarUrl=new Promise((w,B)=>{var te,Ee,ze,gt,Dt;q.isEmpty(null===(te=this.message)||void 0===te?void 0:te.avatarId)?w(null!==(Ee=null===(ze=this.roomInfo)||void 0===ze?void 0:ze.avatarUrl)&&void 0!==Ee?Ee:de.v.DEFAULT_AVATAR):this.commonService.aiwowDB.getCacheAvatar(null!==(gt=null===(Dt=this.message)||void 0===Dt?void 0:Dt.avatarId)&&void 0!==gt?gt:"").then(Wt=>{var yn,Bn,Ln,Jn;q.isEmpty(Wt)?this.ceService.fetchAvatar(null!==(yn=null===(Bn=this.tenantInfo)||void 0===Bn?void 0:Bn.tenantId)&&void 0!==yn?yn:"",null!==(Ln=null===(Jn=this.message)||void 0===Jn?void 0:Jn.avatarId)&&void 0!==Ln?Ln:"").then(ir=>{ir==de.v.DEFAULT_AVATAR?setTimeout(()=>{var Tr,Zr;w(null!==(Tr=null===(Zr=this.roomInfo)||void 0===Zr?void 0:Zr.avatarUrl)&&void 0!==Tr?Tr:ir)},1e3):w(ir)}):w(Wt)})}),this.initMessage()}initMessage(){var w=this;return(0,T.A)(function*(){var B,te,Ee;if(w.isSticker){var ze,gt,Dt;let fi=JSON.parse(null!==(ze=null===(gt=w.message)||void 0===gt?void 0:gt.content)&&void 0!==ze?ze:"");w.stickImage=yield w.getStickService().getStickerUrl(null!==(Dt=fi.id)&&void 0!==Dt?Dt:""),q.isEmpty(w.stickImage)||(w.isStickerExist=!0),w._cdr.markForCheck()}if((null===(B=w.message)||void 0===B?void 0:B.messageType)==qt.Go.image){var Wt,yn,Bn;let fi=JSON.parse(w.message.content||"{}"),Ai=200*(null!==(Wt=null==fi?void 0:fi.height)&&void 0!==Wt?Wt:1)/(null!==(yn=null==fi?void 0:fi.width)&&void 0!==yn?yn:1);if(w.imageStyle={width:"200px",height:Ai+"px"},w.isImageLoading=!0,w._cdr.markForCheck(),null!==(Bn=w.message)&&void 0!==Bn&&Bn.fileImg){let bi=URL.createObjectURL(w.message.fileImg);w.isImageLoading=!1,q.isEmpty(bi)||(w.imageUrl=bi,w.isImageExist=!0),w._cdr.markForCheck()}else{var Ln;w.ceService.getMessageThumbnailImg(null===(Ln=w.tenantInfo)||void 0===Ln?void 0:Ln.tenantId,w.message).then(bi=>{w.isImageLoading=!1,q.isEmpty(bi)||(w.imageUrl=bi,w.isImageExist=!0),w._cdr.markForCheck()})}}if((null===(te=w.message)||void 0===te?void 0:te.messageType)==qt.Go.video){var Jn;let fi=JSON.parse(w.message.content||"{}"),Ai="auto";var ir,Tr;if(q.isEmpty(fi.thumbnailHeight)||(Ai=200*(null!==(ir=null==fi?void 0:fi.thumbnailHeight)&&void 0!==ir?ir:1)/(null!==(Tr=null==fi?void 0:fi.thumbnailWidth)&&void 0!==Tr?Tr:1)),w.imageStyle={width:"200px",height:"number"==typeof Ai?Ai+"px":Ai},null!==(Jn=w.message)&&void 0!==Jn&&Jn.fileImg){let bi=URL.createObjectURL(w.message.fileImg);w.isImageLoading=!1,q.isEmpty(bi)||(w.videoImgbg=bi,w.isImageExist=!0),w._cdr.markForCheck()}else{var Zr;w.ceService.getMessageThumbnailImg(null===(Zr=w.tenantInfo)||void 0===Zr?void 0:Zr.tenantId,w.message).then(bi=>{w.isImageLoading=!1,q.isEmpty(bi)?setTimeout(()=>{w.setVideo()},1e3):(w.videoImgbg=bi,w.isImageExist=!0),w._cdr.markForCheck()})}}if((null===(Ee=w.message)||void 0===Ee?void 0:Ee.messageType)==qt.Go.template){let fi=JSON.parse(w.message.content||"{}");w.tempType=fi.type,w.tempHasImage=!q.isEmpty(fi.imageUrl),w.tempBody=fi}})()}reLoadImage(){var w,B;(null===(w=this.message)||void 0===w?void 0:w.messageType)==qt.Go.image&&(this.isImageLoading=!0,this._cdr.markForCheck(),this.ceService.getMessageThumbnailImg(null===(B=this.tenantInfo)||void 0===B?void 0:B.tenantId,this.message).then(te=>{this.isImageLoading=!1,q.isEmpty(te)?this.modalHelper.showErrorToast(this.i18N.instant("Common.LoadImageError")):(this.imageUrl=te,this.isImageExist=!0),this._cdr.markForCheck()}))}get isUpDownFlow(){var w;return"horizontal"!=(null===(w=this.tempBody)||void 0===w||null===(w=w.orientation)||void 0===w?void 0:w.toLowerCase())}actionClick(w){if("\u958b\u59cb\u901a\u8a71"==w.label){let B=this.commonService.getQueryVariable(w.url||"","data");B=decodeURIComponent(B),console.log(B);let te=this.commonService.DecryptResponse(B);return console.log(te),void this.modalHelper.showModelFull(Ki.U,{data:te})}("url"==w.type.toLowerCase()||"uri"==w.type.toLowerCase())&&window.open(w.data||w.url||"","_blank"),"aiff"==w.type.toLowerCase()&&window.open(w.data||w.url||"","_blank"),w.type.toLowerCase()}defaultClick(){var w,B,te,Ee,ze,gt;q.isEmpty(null===(w=this.tempBody)||void 0===w?void 0:w.defaultAction)||("url"!=(null===(B=this.tempBody)||void 0===B||null===(B=B.defaultAction)||void 0===B?void 0:B.type.toLowerCase())&&"uri"!=(null===(te=this.tempBody)||void 0===te||null===(te=te.defaultAction)||void 0===te?void 0:te.type.toLowerCase())||window.open(null===(ze=this.tempBody)||void 0===ze?void 0:ze.defaultAction.url,"_blank"),"aiff"==(null===(Ee=this.tempBody)||void 0===Ee||null===(Ee=Ee.defaultAction)||void 0===Ee?void 0:Ee.type.toLowerCase())&&window.open(null===(gt=this.tempBody)||void 0===gt?void 0:gt.defaultAction.url))}getStickService(){return fr.getStickService(this.injector,this.tenantInfo)}onDebug(){this.modalHelper.showAlert("Debug",JSON.stringify(this.message,null,2))}refresh(){this._cdr.markForCheck()}messageTxtdblClick(w){var B=this;return(0,T.A)(function*(){var te,Ee;B.message&&B.useRecognize&&(B.isTTS||(B.isTTS=!0,yield B.speechService.speak(null!==(te=null===(Ee=B.snInfo)||void 0===Ee?void 0:Ee.id)&&void 0!==te?te:"",null!=w?w:""),setTimeout(()=>{B.isTTS=!1},2e3)))})()}get useRecognize(){var w,B;return this.speechService.getSNConfig(null!==(w=null===(B=this.snInfo)||void 0===B?void 0:B.id)&&void 0!==w?w:"").use}onPlayTxtMessage(){if(this.message&&this.useRecognize)if(q.isEmpty(this.message.fileblobUrl)){var w,B;this.ceService.downloadVoiceFromMessage(null!==(w=null===(B=this.tenantInfo)||void 0===B?void 0:B.tenantId)&&void 0!==w?w:"",this.message).then(Ee=>{this.commonService.urlToFile(Ee,"temp.wav","audio/wav").then(ze=>{var gt,Dt;this.speechService.recognizeFromAudioFile(null!==(gt=null===(Dt=this.snInfo)||void 0===Dt?void 0:Dt.id)&&void 0!==gt?gt:"",ze).then(Wt=>{this.modalHelper.showAlert("\u8a9e\u97f3\u8b58\u5225\u7d50\u679c",Wt)}).catch(Wt=>{console.log("error:",Wt)})})}).catch(Ee=>{this.modalHelper.showErrorToast(this.i18N.instant("Common.PlayError")),this.message&&(this.message.play=!1),this.audioPlaying=!1,this.refresh()})}else{var te;this.commonService.urlToFile(null!==(te=this.message.fileblobUrl)&&void 0!==te?te:"","temp.wav","audio/wav").then(Ee=>{var ze,gt;this.speechService.recognizeFromAudioFile(null!==(ze=null===(gt=this.snInfo)||void 0===gt?void 0:gt.id)&&void 0!==ze?ze:"",Ee).then(Dt=>{this.modalHelper.showAlert("\u8a9e\u97f3\u8b58\u5225\u7d50\u679c",Dt)}
1).catch(Dt=>{console.log("error:",Dt)})})}}onPlayMessage(){if(this.message){if(this.audioPlaying=!this.audioPlaying,this.message.play=!0,!this.audioPlaying)return void(this.audio&&this.audio.pause());var w,B,te;q.isEmpty(this.message.fileblobUrl)?this.ceService.downloadVoiceFromMessage(null!==(w=null===(B=this.tenantInfo)||void 0===B?void 0:B.tenantId)&&void 0!==w?w:"",this.message).then(Ee=>{this.playVoice(Ee)}).catch(Ee=>{this.modalHelper.showErrorToast(this.i18N.instant("Common.PlayError")),this.message&&(this.message.play=!1),this.audioPlaying=!1,this.refresh()}):this.playVoice(null!==(te=this.message.fileblobUrl)&&void 0!==te?te:"")}}playVoice(w){this.audio=new Audio(w),this.audio.play();var B=this;this.audio.addEventListener("ended",function(){B.message&&(B.message.play=!1),B.audioPlaying=!1,B.refresh()},!1)}get voiceDuration(){var w;if((null===(w=this.message)||void 0===w?void 0:w.messageType)==qt.Go.voice)try{let B=JSON.parse(this.message.content||"{}");return parseInt(B.duration)}catch{return 0}return 0}messageTypeKey(w){return this.isAiMessage?-1:qt.Go[null!=w?w:"plain"]}get fileName(){var w;return(null===(w=this.message)||void 0===w?void 0:w.fileName)||""}get fileSize(){var w;let B=(null===(w=this.message)||void 0===w?void 0:w.fileSize)||0;return B>1048576?(B/1048576).toFixed(2)+"MB":(B/1024).toFixed(2)+"KB"}get fileImg(){var w,B;let te=null===(w=this.message)||void 0===w?void 0:w.fileName;switch(null==te||null===(B=te.split("."))||void 0===B||null===(B=B.pop())||void 0===B?void 0:B.toLowerCase()){case"xls":case"xlsx":return"./assets/images/icon-excel.svg";case"doc":case"docx":return"./assets/images/icon-word.svg";case"pdf":return"./assets/images/icon-pdf.svg";default:return"./assets/images/icon-other.svg"}}loopRefresh(){var w;null!==(w=this.message)&&void 0!==w&&w.downloadFlag&&(this._cdr.markForCheck(),setTimeout(()=>{this.loopRefresh()},1e3))}downloadFile(){var w,B,te,Ee=this;(null===(w=this.message)||void 0===w?void 0:w.messageType)==qt.Go.file&&(this.message.downloadFlag=!0,this.loopRefresh(),this.ceService.downloadFileFromMessage(null!==(B=null===(te=this.tenantInfo)||void 0===te?void 0:te.tenantId)&&void 0!==B?B:"",this.message).then(function(){var ze=(0,T.A)(function*(gt){var Dt;if(q.isEmpty(gt))Ee.modalHelper.showErrorToast(Ee.i18N.instant("Common.FileDownError"));else if("fileerror"!=gt)if("abort"!==gt)if(Ee.commonService.isNative()&&null!==(Dt=Ee.message)&&void 0!==Dt&&Dt.file){var Wt,yn,Bn;const Jn=null!==(Wt=null===(yn=Ee.message)||void 0===yn?void 0:yn.fileName)&&void 0!==Wt?Wt:"",ir=yield Ee.commonService.convertBlobToBase64(null===(Bn=Ee.message)||void 0===Bn?void 0:Bn.file);yield no.writeFile({path:Jn,data:ir,directory:vi.__.Documents}),Ee._cdr.markForCheck(),Ee.modalHelper.showSuccessToast(Ee.i18N.instant("Common.FileDownSuccess"))}else{var Ln;let Jn=document.createElement("a");Jn.style.display="none",document.body.appendChild(Jn),Jn.href=gt;let ir=null===(Ln=Ee.message)||void 0===Ln?void 0:Ln.fileName;Jn.download=ir||"file",Jn.click(),window.URL.revokeObjectURL(gt),Ee._cdr.markForCheck()}else Ee.modalHelper.showErrorToast(Ee.i18N.instant("Common.FileDownCancel"));else Ee.modalHelper.showErrorToast(Ee.i18N.instant("Common.FileDownError"))});return function(gt){return ze.apply(this,arguments)}}()))}cancelDownloadFile(){this.message&&this.message.downxhr&&this.message.downxhr.abort()}get isSticker(){var w;return(null===(w=this.message)||void 0===w?void 0:w.messageType)==qt.Go.sticker}get isAiMessage(){var w;return"Robot"===(null===(w=this.message)||void 0===w?void 0:w.sourceType)}get callDur(){var w;if((null===(w=this.message)||void 0===w?void 0:w.messageType)==qt.Go.call){let B=JSON.parse(this.message.content||"");if("CallEnd"==B.status)return this.countFormat(0|(null==B?void 0:B.callTime))}return"00:00"}countFormat(w){w=Math.round(w);let B="",te="",Ee="";var ze=Math.floor(w/3600);B=ze<10?"0"+ze:""+ze;var gt=w%3600,Dt=Math.floor(gt/60);te=Dt<10?"0"+Dt:""+Dt;var yn=Math.ceil(gt%60);return Ee=yn<10?"0"+yn:""+yn,"00"==B?te+":"+Ee:B+":"+te+":"+Ee}get isCallCancel(){var w;return(null===(w=this.message)||void 0===w?void 0:w.messageType)==qt.Go.call&&"CallCancel"==JSON.parse(this.message.content||"").status}get isCallEnd(){var w,B;return(null===(w=this.message)||void 0===w?void 0:w.messageType)==qt.Go.call&&"CallEnd"==JSON.parse((null===(B=this.message)||void 0===B?void 0:B.content)||"").status}setVideo(){var w;if(null!==(w=this.message)&&void 0!==w&&w.file){var B;this.playerVideo.nativeElement.src=URL.createObjectURL(null===(B=this.message)||void 0===B?void 0:B.file)}else{var te;let ze=JSON.parse((null===(te=this.message)||void 0===te?void 0:te.content)||"{url:'',name:''}").url;if(q.isEmpty(ze))return;this.playerVideo.nativeElement.src=ze}this.playerVideo.nativeElement.load()}captureFirstFrame(){const w=this.playerVideo.nativeElement,B=this.canvas.nativeElement,te=B.getContext("2d");4==w.readyState?(te.drawImage(w,0,0,this.imageStyle.width,this.imageStyle.height),B.toDataURL("image/png")):setTimeout(()=>{this.captureFirstFrame()},500)}setVideo2(){var w;if(!this.message)return;let B="";window.URL||window;let ze=JSON.parse((null===(w=this.message)||void 0===w?void 0:w.content)||"{url:'',name:''}").url;q.isEmpty(ze)||(B=ze),this.player&&this.player.pause(),this.player||(this.player=videojs(this.playerVideo.nativeElement,this.options,
1()=>{this.videoHasError=!1,this.player.on("loadeddata",()=>{this.playVideoing=!0,this.refresh()}),this.player.on("loadedmetadata",()=>{}),this.player.on("play",()=>{this.playVideoing=!0,this.refresh()}),this.player.on("pause",()=>{this.playVideoing=!1,this.refresh()}),this.player.on("ended",()=>{this.playVideoing=!1,this.refresh()}),this.player.on("error",()=>{this.videoHasError=!0,this.refresh()})})),this.player.src({type:"video/mp4",src:B}),this.player.load(B),this.player.fill(!0)}triggerPlay(w){var B,te;this.modalHelper.showModelFull(Ke,{messageId:null===(B=this.message)||void 0===B?void 0:B.id,roomInfo:this.roomInfo,tenantId:null===(te=this.tenantInfo)||void 0===te?void 0:te.tenantId})}get isMe(){var w,B;return null!==(w=null===(B=this.message)||void 0===B?void 0:B.isUser)&&void 0!==w&&w}get isSending(){var w,B;return"sending"==(null!==(w=null===(B=this.message)||void 0===B?void 0:B.status)&&void 0!==w?w:"")}get isSendError(){var w,B;return"faild"==(null!==(w=null===(B=this.message)||void 0===B?void 0:B.status)&&void 0!==w?w:"")}get dots(){var w,B;let te=[];var Ee,ze;(null!==(w=null===(B=this.message)||void 0===B?void 0:B.readedNum)&&void 0!==w?w:0)>0?te.push({class:"read_mes_left"}):(null!==(Ee=null===(ze=this.message)||void 0===ze?void 0:ze.receivedNum)&&void 0!==Ee?Ee:0)>0&&te.push({class:"no_read_mes_left"});return te}reSend(){var w,B,te,Ee,ze;if(this.roomInfo)if((null===(w=this.message)||void 0===w?void 0:w.messageType)==qt.Go.plain){var gt,Dt,Wt,yn;this.ceService.sendMessageTxt(null!==(gt=null===(Dt=this.tenantInfo)||void 0===Dt?void 0:Dt.tenantId)&&void 0!==gt?gt:"",this.message.id,this.roomInfo,null!==(Wt=null===(yn=this.message)||void 0===yn?void 0:yn.content)&&void 0!==Wt?Wt:"").then(Vs=>{this.modalHelper.showToast(this.i18N.instant("Common.MessageResend"))})}else if((null===(B=this.message)||void 0===B?void 0:B.messageType)==qt.Go.voice){var Bn,Ln,Jn,ir,Tr,Zr;let Vs=JSON.parse(null!==(Bn=null===(Ln=this.message)||void 0===Ln?void 0:Ln.content)&&void 0!==Bn?Bn:"");this.ceService.sendMessageVoice(null!==(Jn=null===(ir=this.tenantInfo)||void 0===ir?void 0:ir.tenantId)&&void 0!==Jn?Jn:"",this.message.id,this.roomInfo,Vs.duration,null!==(Tr=null===(Zr=this.message)||void 0===Zr?void 0:Zr.file)&&void 0!==Tr?Tr:new Blob).then(_s=>{this.modalHelper.showToast(this.i18N.instant("Common.MessageResend"))})}else if((null===(te=this.message)||void 0===te?void 0:te.messageType)==qt.Go.image){var fi,Ai,bi;if(!this.message.fileImg)return;let Vs=new File([this.message.fileImg],null!==(fi=this.message.fileName)&&void 0!==fi?fi:"image.jpg");this.ceService.sendMessageImage(null!==(Ai=null===(bi=this.tenantInfo)||void 0===bi?void 0:bi.tenantId)&&void 0!==Ai?Ai:"",this.message.id,this.roomInfo,Vs).then(_s=>{this.modalHelper.showToast(this.i18N.instant("Common.MessageResend"))})}else if((null===(Ee=this.message)||void 0===Ee?void 0:Ee.messageType)==qt.Go.file){var Mi,yi,Ei;if(!this.message.file)return;let Vs=new File([this.message.file],null!==(Mi=this.message.fileName)&&void 0!==Mi?Mi:"file");this.ceService.sendMessageFile(null!==(yi=null===(Ei=this.tenantInfo)||void 0===Ei?void 0:Ei.tenantId)&&void 0!==yi?yi:"",this.message.id,this.roomInfo,Vs).then(_s=>{this.modalHelper.showToast(this.i18N.instant("Common.MessageResend"))})}else if((null===(ze=this.message)||void 0===ze?void 0:ze.messageType)==qt.Go.sticker){var uo,Do,jo;this.ceService.sendMessageSticker(null!==(uo=null===(Do=this.tenantInfo)||void 0===Do?void 0:Do.tenantId)&&void 0!==uo?uo:"",this.message.id,this.roomInfo,null!==(jo=this.message.content)&&void 0!==jo?jo:"").then(Vs=>{this.modalHelper.showToast(this.i18N.instant("Common.MessageResend"))})}else this.modalHelper.showErrorToast(this.i18N.instant("Common.MessageResendNotSupport"))}messageTxtClick(w){if(this.roomInfo){if(w.target instanceof HTMLAnchorElement&&"submit"==w.target.getAttribute("type")){var B,te,Ee;let gt=null!==(B=w.target.getAttribute("data"))&&void 0!==B?B:w.target.innerText;this.ceService.sendMessageTxt(null!==(te=null===(Ee=this.tenantInfo)||void 0===Ee?void 0:Ee.tenantId)&&void 0!==te?te:"","",this.roomInfo,gt)}var ze;w.target instanceof HTMLAnchorElement&&"url"==w.target.getAttribute("type")&&window.open(null!==(ze=w.target.getAttribute("data"))&&void 0!==ze?ze:"")}}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(a.OD),o.rXU(Ot.y),o.rXU(me.S),o.rXU(H.hf),o.rXU(Z.b),o.rXU(x._),o.rXU(ae.c$),o.rXU(o.gRc),o.rXU(o.zZn))},j.\u0275cmp=o.VBU({type:j,selectors:[["chat-message"]],viewQuery:function(w,B){if(1&w&&(o.GBs(Pi,5),o.GBs(io,5)),2&w){let te;o.mGM(te=o.lsd())&&(B.playerVideo=te.first),o.mGM(te=o.lsd())&&(B.canvas=te.first)}},inputs:{roomInfo:"roomInfo",snInfo:"snInfo",message:"message",tenantInfo:"tenantInfo"},standalone:!0,features:[o.aNF],decls:1,vars:1,consts:[["msgContent",""],["copyele",""],["playerVideo",""],["class","chat-message p-2",4,"ngIf"],[1,"chat-message","p-2"],[3,"ngSwitch"],["class","flex flex-row w-full",4,"ngSwitchCase"],[4,"ngIf"],["class","flex flex-row max-w-full",4,"ngIf"],["class","flex flex-row w-full max-w-full",4,"ngSwitchCase"],[3,"click",4,"ngSwitchDefault"],[1,"flex","flex-row","w-full"],[1,"flex-1"],[1,"msg_date"],[1,"msg_sys"],[1,"msg_unreadtag"],[1,"flex","flex-row","max-w-full","items-center"],[1,"flex-1",3,"ngClass"],[1,"flex-shrink-0","p-2","items-start",3,"ngClass"],[3,"ceSrc","ceText","ceSize"],[1,"flex","flex-col","items-start","w-full"],[1,"msg_user_title",3,"ngClass"],[1,"grid","w-full",2,"grid-template-columns","auto 1fr",3,"ngClass"],[1,"msg_ai_content","overflow-auto","col-start-1"],[3,"message","tenantInfo","roomInfo"],[1,"col-start-1","flex","items-end","flex-shrink-0","text-xs","px-1","flex-col","justify-end"],["class","p-0",4,"ngIf"],["class","p-1",3,"click",4,"ngIf"],[3,"class",4,"ngFor","ngForOf"],[1,"p-0"],["name","lines-sharp-small",1,"w-4","h-4"],[1,"p-1",3,"click"],["aria-hidden","true",1,"icon"],[0,"xlink","href","#icon-mes_failure"],[1,"flex","flex-row","max-w-full"],[1,"flex","w-full",3,"ngClass"],[1,"msg_ai_content","overflow-auto"],[1,"flex","items-end","flex-shrink-0","text-xs","px-1","flex-col","justify-end"],[1,"flex","flex-row","w-full","max-w-full"],[1,"flex","flex-col","items-start"],[1,"flex",3,"ngClass"],[1,"msg_plan_content","select-text",3,"click","dblclick","ngClass","innerHTML"],["class","message_sticker_content ",4,"ngIf"],["class","msg_plan_content",4,"ngIf"],[1,"message_sticker_content"],[1,"img-responsive",2,"width","100px",3,"src"],[1,"msg_plan_content"],[1,"message_voice_content","w-28",3,"click","dblclick","ngClass"],[1,"flex","items-center"],["name","volume-high-outline",1,"pl-2","w-5","h-5",3,"ngClass"],[1,"pl-5"],["class","record_unread",4,"ngIf"],[1,"record_unread"],["slot","start","class","message_image_content ",3,"ngStyle",4,"ngIf"],["class","message_image_content relative",3,"ngStyle","click",4,"ngIf"],["class","message_image_faild",3,"ngClass",4,"ngIf"],["slot","start",1,"message_image_content",3,"ngStyle"],[3,"animated"],[1,"message_image_content","relative",3,"click","ngStyle"],["class","absolute top-0 right-0 left-0","color","success",3,"value",4,"ngIf"],[3,"src"],["color","success",1,"absolute","top-0","right-0","left-0",3,"value"],[1,"message_image_faild",3,"ngClass"],[1,"message_image_faild1"],[1,"message_image_faild2","aslink","text-primary","text-blue-400",3,"click"],["class","message_template_content ",3,"ngClass",4,"ngIf"],[1,"message_template_content",3,"ngClass"],["class","tempImage",3,"ngStyle",4,"ngIf"],[1,"p-2",3,"click","title"],["class","pl-2 font-bold text-lg line-clamp-1","style","width: 240px;",3,"title",4,"ngIf"],["class","m-2 line-clamp-3","style","width: 240px;",3,"title",4,"ngIf"],["class","flex flex-col items-center divide-y divide-slate-200 ",4,"ngIf"],["class","flex flex-row items-center divide-x divide-slate-200",4,"ngIf"],[1,"tempImage",3,"ngStyle"],[1,"pl-2","font-bold","text-lg","line-clamp-1",2,"width","240px",3,"title"],[1,"m-2","line-clamp-3",2,"width","240px",3,"title"],[1,"flex","flex-col","items-center","divide-y","divide-slate-200"],["class","tempActionItem w-full text-center ",4,"ngFor","ngForOf"],[1,"tempActionItem","
1w-full","text-center"],[1,"m-3","hover:text-blue-400","font-bold","text-dark","cursor-default",3,"click"],[1,"flex","flex-row","items-center","divide-x","divide-slate-200"],["class","tempActionItem w-full text-center ",4,"ngFor","ngForOf"],[1,"m-3","hover:text-blue-400","font-bold","text-dark",3,"click"],[1,"message_file_content","relative",3,"ngClass"],[1,"flex-shrink-0","p-2"],["alt","",1,"w-8","h-8",3,"src"],[1,"flex-1","flex","flex-col"],[1,"truncate-middle"],[1,"line-clamp-1","flex","flex-row"],[1,"flex-shrink-0","pr-2","pl-2"],["class","text-primary text-blue-400",3,"download","click",4,"ngIf"],[1,"text-primary","text-blue-400",3,"click","download"],[1,"message_video_content",3,"ngStyle"],[1,"w-full","h-full"],["id","video-player","crossorigin","anonymous",4,"ngIf"],["class","rounded-md","alt","",3,"src",4,"ngIf"],[1,"absolute","top-0","left-0","right-0","bottom-0","bg-slate-600","bg-opacity-10"],[1,"absolute","top-1/2","left-1/2","-translate-x-1/2","-translate-y-1/2",3,"click"],[1,"iconfont","icon-icon-play","text-5xl","hvr-grow","text-white"],["id","video-player","crossorigin","anonymous"],["alt","",1,"rounded-md",3,"src"],[1,"message_call_content","relative",3,"ngClass"],[1,"flex-shrink-0","p-2","ml-2"],["class","icon w-8 h-8","aria-hidden","true",4,"ngIf"],[1,"flex-1","flex","flex-col","justify-center","pr-2"],["aria-hidden","true",1,"icon","w-8","h-8"],[0,"xlink","href","#icon-Hang_up_red"],[0,"xlink","href","#icon-dphone"],[3,"click"]],template:function(w,B){if(1&w&&o.DNE(0,Ga,16,14,"div",3),2&w){let te;o.Y8G("ngIf",(null!==(te=null==B.message?null:B.message.flag)&&void 0!==te?te:0)>-2)}},dependencies:[Y.MD,Y.YU,Y.Sq,Y.bT,Y.B3,Y.ux,Y.e1,Y.fG,Y.Jj,Y.TG,Y.vh,E.bv,E.iq,E.FH,E.ds,E.w2,E.Zx,fe.d,ae.h,ae.D9,ce.F,li,Ze],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),S})();var fs=f(93601),is=f(26332);class Ea{constructor(){this.serviceNumberIds=[],this.isProvisional=!1,this.isFav=!1,this.isMyContacts=!1,this.isVistor=!1}}var xr,La=f(23294),Nn=f(49969);
1function kr(j,S){1&j&&(o.j41(0,"div",13),o.nrm(1,"ion-spinner",14),o.k0s())}function Ii(j,S){if(1&j&&(o.j41(0,"ion-item-sliding",15),o.nrm(1,"chat-message",16),o.k0s()),2&j){const D=S.$implicit,w=o.XpG();o.Mz_("id","P",null==D?null:D.id,""),o.R7$(),o.Y8G("slot","")("message",D)("tenantInfo",w.tenantInfo)("roomInfo",w.roomInfo)}}function fo(j,S){1&j&&(o.j41(0,"div",17),o.nrm(1,"ion-spinner",18),o.k0s())}function zo(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-fab",19)(1,"ion-fab-button",20),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.scrollToBottom())}),o.nrm(2,"span",21),o.k0s()()}if(2&j){const D=o.XpG();o.Y8G("@slideTopDown",D.isEndShow?"in":"out")}}function Es(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-fab",22)(1,"span",23),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.gotoUnRead())}),o.nrm(2,"span",24),o.EFF(3),o.nI1(4,"translate"),o.k0s()()}if(2&j){let D;const w=o.XpG();o.Y8G("@slideInOut",(null!==(D=null==w.roomInfo?null:w.roomInfo.unReadNum)&&void 0!==D?D:0)>10&&!w.isEndShow?"in":"out"),o.R7$(3),o.Lme(" ",null==w.roomInfo?null:w.roomInfo.unReadNum," ",o.bMT(4,3,"Common.unreadtop")," ")}}let Ce=((xr=class{constructor(S,D,w,B,te,Ee,ze,gt){this.storage=S,this.platform=D,this.logService=w,this._cdr=B,this.i18n=te,this.modalHelper=Ee,this.cpService=ze,this.commonService=gt,this.onQuickReplyChanged=new o.bkB,this.allMessages=[],this.isFirstLoading=!0,this.isEndShow=!1,this.destroy$=new lt.B,this.showGoBtn$=new lt.B,this.bodyResize$=new lt.B,this.listElement=null,this.hasMoreMessage=!0,this.loadMoreMessage=!1,this.lastLostSequence=""}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.resizeObserver&&this.resizeObserver.disconnect()}ngAfterViewInit(){this.listElement=document.getElementById("messageList"),this.resizeObserver=new ResizeObserver(()=>{this.maintainScrollPosition()}),this.listElement&&this.resizeObserver.observe(this.listElement)}ngOnInit(){var S=this;return(0,T.A)(function*(){S.showGoBtn$.pipe(mt(1e3),(0,La.F)(),(0,Cn.Q)(S.destroy$)).subscribe(D=>{S.isEndShow=D,S.refresh()}),fn.co._messageChanged.pipe((0,Cn.Q)(S.destroy$)).subscribe(D=>{var w;if(D.roomId==(null===(w=S.roomInfo)||void 0===w?void 0:w.id))switch(D.type){case fn.nq.confirm:case fn.nq.add:if(q.isEmpty(D.message))return;var B,te,Ee;S.setMessages([D.message],!0),D.message.isUser?(S.clearUnReadTag(),S.scrollToId(null!==(B=null===(te=D.message)||void 0===te?void 0:te.id)&&void 0!==B?B:""),setTimeout(()=>{var gt,Dt;S.scrollToId(null!==(gt=null===(Dt=D.message)||void 0===Dt?void 0:Dt.id)&&void 0!==gt?gt:"")},500)):(null!=(null===(Ee=S.roomInfo)||void 0===Ee?void 0:Ee.unReadNum)&&S.roomInfo.unReadNum>=0&&(S.roomInfo.unReadNum+=1),S.clearUnReadTag(),S.addUnReadTag(!1),S.scrollToLastMessage());break;case fn.nq.update:if(q.isEmpty(D.message))return;S.setMessages([D.message],!1);break;case fn.nq.updateRead:{var ze;if(q.isEmpty(D.message))return;S.setMessages([D.message],!1);let gt=null!==(ze=D.message.sequence)&&void 0!==ze?ze:0;S.allMessages.forEach(Dt=>{var Wt,yn,Bn,Ln,Jn;if(Dt.id==(null===(Wt=D.message)||void 0===Wt?void 0:Wt.id)&&(Dt.readedNum=null===(yn=D.message)||void 0===yn?void 0:yn.readedNum,Dt.receivedNum=null===(Bn=D.message)||void 0===Bn?void 0:Bn.receivedNum,fn.co._messageChanged.next({type:fn.nq.update,tenantId:null===(Ln=S.tenantInfo)||void 0===Ln?void 0:Ln.tenantId,roomId:null===(Jn=S.roomInfo)||void 0===Jn?void 0:Jn.id,message:Dt})),Dt.sequence&&Dt.sequence<=gt){var ir,Tr,Zr,fi;let Ei=!1;var Ai,bi,Mi,yi;null!==(ir=D.message)&&void 0!==ir&&ir.readedNum&&(null!==(Tr=Dt.readedNum)&&void 0!==Tr?Tr:0)<D.message.readedNum&&(Dt.readedNum=null===(Ai=D.message)||void 0===Ai?void 0:Ai.readedNum,Ei=!0),null!==(Zr=D.message)&&void 0!==Zr&&Zr.receivedNum&&(null!==(fi=Dt.receivedNum)&&void 0!==fi?fi:0)<D.message.receivedNum&&(Dt.receivedNum=null===(bi=D.message)||void 0===bi?void 0:bi.receivedNum,Ei=!0),Ei&&(S.commonService.aiwowDB.addMessage(Dt),fn.co._messageChanged.next({type:fn.nq.update,tenantId:null===(Mi=S.tenantInfo)||void 0===Mi?void 0:Mi.tenantId,roomId:null===(yi=S.roomInfo)||void 0===yi?void 0:yi.id,message:Dt}))}});break}}})})()}maintainScrollPosition(){var S=this;return(0,T.A)(function*(){var D;S.listElement&&!S.isEndShow&&(null===(D=S.content)||void 0===D||D.scrollToBottom())})()}setMessages(S,D=!0){var w=this;return(0,T.A)(function*(){let B=[];var te,Ee,ze,gt;yield Promise.all(null==S?void 0:S.map(function(){var Dt=(0,T.A)(function*(Wt){var yn,Bn;
1if(null!==(yn=w.allMessages)&&void 0!==yn&&yn.map(Ei=>Ei.id).includes(Wt.id)){let Ei=w.allMessages.findIndex(uo=>uo.id==Wt.id);w.allMessages.splice(Ei,1)}if(Wt.messageType===qt.Go.date)return;let Ln=(0,fs.o)(null!==(Bn=Wt.sendTime)&&void 0!==Bn?Bn:new Date);if(q.findIndex(w.allMessages,function(Ei){return Ei.sendTime===Ln.valueOf()})<0){var Jn,ir;let Ei=new qt.cM;Ei.id=de.v.uuid(),Ei.messageType=qt.Go.date,Ei.roomId=null===(Jn=w.roomInfo)||void 0===Jn?void 0:Jn.id,Ei.sendTime=Ln.valueOf(),Ei.content=(0,is.GP)(Ln,"yyyy\u5e74M\u6708d\u65e5"),Ei.author=new Ea,Ei.author.id=de.v.uuid();let uo=q.sortedIndexBy(w.allMessages,Ei,function(Do){return Do.sendTime});null===(ir=w.allMessages)||void 0===ir||ir.splice(uo,0,Ei)}var Tr,Zr,bi,Mi,yi;if(!Wt.isUser)if(w.commonService.webChatFunction.useServiceNumberAvatarAndName)Wt.avatarId=null===(Tr=w.roomInfo)||void 0===Tr?void 0:Tr.avatarId,Wt.senderName=null===(Zr=w.roomInfo)||void 0===Zr?void 0:Zr.serviceNumberName;else if(!q.isEmpty(Wt.tag)){let Ei=JSON.parse(Wt.tag);Wt.senderName=Ei.data.nickName,Wt.avatarId=Ei.data.avatarId}if("sending"==Wt.status||"faild"==Wt.status){var fi;null===(fi=w.allMessages)||void 0===fi||fi.push(Wt)}else{var Ai;let Ei=q.sortedIndexBy(w.allMessages,Wt,function(uo){return uo.sendTime});Wt.isUser&&(q.isUndefined(Wt.readedNum)||q.isUndefined(Wt.receivedNum)||0==Wt.readedNum)&&B.push(Wt.id),null===(Ai=w.allMessages)||void 0===Ai||Ai.splice(Ei,0,Wt)}w.roomInfo&&(null!==(bi=null==Wt?void 0:Wt.sequence)&&void 0!==bi?bi:-1)>(null!==(Mi=null===(yi=w.roomInfo)||void 0===yi?void 0:yi.lastSequence)&&void 0!==Mi?Mi:-1)&&(w.roomInfo.lastSequence=Wt.sequence)});return function(Wt){return Dt.apply(this,arguments)}}())),w.clearNotMeMessage(),w.processMessageLost(),D&&w.ceService.getMessageReadingState(null!==(te=null===(Ee=w.tenantInfo)||void 0===Ee?void 0:Ee.tenantId)&&void 0!==te?te:"",null!==(ze=null===(gt=w.roomInfo)||void 0===gt?void 0:gt.id)&&void 0!==ze?ze:"",B),w.showQuickReplay()?w.onQuickReplyChanged.emit({show:!0,items:w.actionsQuickReply}):w.onQuickReplyChanged.emit({show:!1,items:[]}),w.refresh()})()}clearNotMeMessage(){this.allMessages=this.allMessages.filter(S=>{var D;return S.roomId==(null===(D=this.roomInfo)||void 0===D?void 0:D.id)})}setUnReadTag(){var S,D;let w=null!==(S=null===(D=this.roomInfo)||void 0===D?void 0:D.unReadNum)&&void 0!==S?S:0;this.clearUnReadTag(),w>0&&(this.addUnReadTag(),this.refresh())}clearUnReadTag(){q.remove(this.allMessages,function(S){return S.messageType==qt.Go.unreadtag})}addUnReadTag(S=!0){var D=this;return(0,T.A)(function*(){var w,B,te,Ee,ze,gt;let yn=(null!==(w=null===(B=D.allMessages[D.allMessages.length-1])||void 0===B?void 0:B.sequence)&&void 0!==w?w:0)-(null!==(te=null===(Ee=D.roomInfo)||void 0===Ee?void 0:Ee.unReadNum)&&void 0!==te?te:0),Bn=q.find(D.allMessages,Jn=>Jn.sequence==yn);if(q.isEmpty(Bn))return;let Ln=new qt.cM;Ln.id=de.v.uuid(),Ln.sequence=-1,Ln.roomId=null===(ze=D.roomInfo)||void 0===ze?void 0:ze.id,Ln.messageType=qt.Go.unreadtag,Ln.sendTime=(null!==(gt=null==Bn?void 0:Bn.sendTime)&&void 0!==gt?gt:0)+1,Ln.content=D.i18n.instant("Common.unreadTag"),Ln.author=new Ea,Ln.author.id=de.v.uuid(),yield D.setMessages([Ln]),S&&D.scrollToId(Bn.id)})()}readAll(){var S,D,w;this.roomInfo&&(null!==(S=this.roomInfo.unReadNum)&&void 0!==S?S:0)>0&&(this.ceService.readAllMessage(null!==(D=null===(w=this.tenantInfo)||void 0===w?void 0:w.tenantId)&&void 0!==D?D:"",this.roomInfo),this.roomInfo.unReadNum=0)}readMessage(S){this.readAll()}refresh(){var S=this;return(0,T.A)(function*(){try{S._cdr.markForCheck()}catch{}})()}ngOnChanges(S){var D,w,B,te;null!==(D=S.roomInfo)&&void 0!==D&&D.currentValue&&void 0===(null===(w=S.roomInfo)||void 0===w?void 0:w.previousValue)&&this.tenantInfo&&(this.onOpen(),this.getOnlineRoom().then(Ee=>{})),null!==(B=S.tenantInfo)&&void 0!==B&&B.currentValue&&void 0===(null===(te=S.tenantInfo)||void 0===te?void 0:te.previousValue)&&this.roomInfo&&(this.onOpen(),this.getOnlineRoom().then(Ee=>{}))}get ceService(){var S,D;let w=this.cpService.getCEServerByTenantId(null!==(S=null===(D=this.tenantInfo)||void 0===D?void 0:D.tenantId)&&void 0!==S?S:"");if(w)return w;throw new Error("Can't find CEServer")}scrollToBottom(){var S;null===(S=this.content)||void 0===S||S.scrollToBottom()}scrollToTop(){var S;null===(S=this.content)||void 0===S||S.scrollToTop()}scrollToId(S){if(q.isEmpty(S))return;let D=document.getElementById("P"+S);D?D.scrollIntoView():this.scrollToBottom()}scrollToLastMessage(){this.allMessages.length<=0||setTimeout(()=>{var S;this.logService.debug(`\u5b9a\u4f4d\u5230\u6700\u540e\u6d88\u606f--\x3e${null===(S=this.allMessages[this.allMessages.length-1])||void 0===S?void 0:S.content}`),this.scrollToBottom()})}loadDataTop(S,D=0){var w=this;return(0,T.A)(function*(){var B,te;if(w.hasMoreMessage=!1,w.loadMoreMessage=!0,w._cdr.markForCheck(),1==D&&w.allMessages.length<10)return w.hasMoreMessage=!1,void(w.loadMoreMessage=!1);let Ee=null!==(B=w.allMessages.filter(ir=>ir.sequence&&-1!=ir.sequence).map(ir=>ir.sequence).sort((ir,Tr)=>(null!=ir?ir:-1)-(null!=Tr?Tr:-1))[0])&&void 0!==B?B:1,ze=w.allMessages.find(ir=>ir.sequence==Ee);var gt;if(1==Ee)return w.hasMoreMessage=!1,w.loadMoreMessage=!1,w.modalHelper.showToast(w.i18n.instant("Common.noMoreMessage")),void(0==D&&(null==S||null===(gt=S.target)||void 0===gt||gt.complete()));{var Dt,Wt;let ir=yield w.commonService.aiwowDB.getMessages(null!==(Dt=null===(Wt=w.roomInfo)||void 0===Wt?void 0:Wt.id)&&void 0!==Dt?Dt:"",Ee-10,Ee);if(yield w.setMessages(ir),ir.length<=1){var yn,Bn,Ln,Jn;let Tr=yield w.ceService.getMessages(null!==(yn=null===(Bn=w.tenantInfo)||void 0===Bn?void 0:Bn.tenantId)&&void 0!==yn?yn:"",null!==(Ln=null===(Jn=w.roomInfo)||void 0===Jn?void 0:Jn.id)&&void 0!==Ln?Ln:"",Ee-10,Ee);yield w.setMessages(Tr)}setTimeout(()=>{var Tr;w._cdr.markForCheck(),w.scrollToId(null!==(Tr=null==ze?void 0:ze.id)&&void 0!==Tr?Tr:""),w.hasMoreMessage=!0,w.loadMoreMessage=!1,w._cdr.markForCheck()},500)}0==D&&(null==S||null===(te=S.target)||void 0===te||te.complete())})()}loadDataBottom(S){this.showGoBtn$.next(!1),S.target.complete()}processMessageLost(){let S=Number.MAX_VALUE,D=Number.MIN_VALUE,w=-1,B=!1;if(this.allMessages.filter(Ee=>Ee.sequence&&-1!=Ee.sequence).map(Ee=>Ee.sequence).sort((Ee,ze)=>(null!=Ee?Ee:-1)-(null!=ze?ze:-1)).map(Ee=>{if(Ee)if(S>=Ee&&(S=Ee),D<=Ee&&(D=Ee),-1==w)w=Ee;else{if(B)return;w+1!=Ee&&(S=w,B=!0),w=Ee}}),this.logService.debug("firstS:"+S+" lastS:"+D+" hasLost:"+B),B){if(D-S>20)return this.logService.debug("check has lostMesassge and > 200 , init message\u3002\u3002\u3002 "),this.allMessages=[],void this.onOpen();if(this.lastLostSequence==S+"_"+D)return;this.lastLostSequence=S+"_"+D,this.loadLostMessage(S,D)}return B}loadLostMessage(S,D){var w=this;return(0,T.A)(function*(){var B,te,Ee,ze;let gt=yield w.ceService.getMessages(null!==(B=null===(te=w.tenantInfo)||void 0===te?void 0:te.tenantId)&&void 0!==B?B:"",null!==(Ee=null===(ze=w.roomInfo)||void 0===ze?void 0:ze.id)&&void 0!==Ee?Ee:"",S,D);yield w.setMessages(gt),w.scrollToId(gt[0].id)})()}getOnlineRoom(){var S=this;return(0,T.A)(function*(){var D,w,B,te,Ee,ze,gt,Dt,Wt,yn,Bn;let Ln=yield null===(D=S.cpService.getCEServerByTenantId(null!==(w=null===(B=S.tenantInfo)||void 0===B?void 0:B.tenantId)&&void 0!==w?w:""))||void 0===D?void 0:D.fetchChatRoomInfo(null!==(te=null===(Ee=S.tenantInfo)||void 0===Ee?void 0:Ee.tenantId)&&void 0!==te?te:"",null!==(ze=null!==(gt=null===(Dt=S.snInfo)||void 0===Dt?void 0:Dt.roomId)&&void 0!==gt?gt:null===(Wt=S.roomInfo)||void 0===Wt?void 0:Wt.id)&&void 0!==ze?ze:"");if(Ln){if((null==Ln?void 0:Ln.id)!=(null===(yn=S.roomInfo)||void 0===yn?void 0:yn.id
1))return void S.onOpen();var Jn;if((S.commonService.inModel==H.j0.url||S.commonService.inModel==H.j0.embed)&&S.commonService.webChatFunction.autoSendNextDayGreeting)if((null!==(Jn=null==Ln?void 0:Ln.lastSequence)&&void 0!==Jn?Jn:0)<=1){var ir,Tr;S.ceService.sendMessageTxt(null!==(ir=null===(Tr=S.tenantInfo)||void 0===Tr?void 0:Tr.tenantId)&&void 0!==ir?ir:"","",Ln,S.i18n.instant("Common.startChat"))}else{let Qa=Ln.lastMessage;if(Qa){var Zr;let Ja=new Date;var fi,Ai;(0,is.GP)(Ja,"yyyy-MM-dd")!=(0,is.GP)(null!==(Zr=Qa.sendTime)&&void 0!==Zr?Zr:Ja,"yyyy-MM-dd")&&S.ceService.sendMessageTxt(null!==(fi=null===(Ai=S.tenantInfo)||void 0===Ai?void 0:Ai.tenantId)&&void 0!==fi?fi:"","",Ln,S.i18n.instant("Common.startChat"))}}if((null==Ln?void 0:Ln.updateTime)!=(null===(Bn=S.roomInfo)||void 0===Bn?void 0:Bn.updateTime)){var bi;if((null==Ln?void 0:Ln.lastSequence)!=(null===(bi=S.roomInfo)||void 0===bi?void 0:bi.lastSequence)){var Mi,yi,Ei,uo,Do,jo,Vs,_s,Aa;S.logService.debug(`\u623f\u9593\u6d88\u606f\u6578\u6709\u8b8a\u52d5\uff0c\u5f9e\u670d\u52d9\u5668\u7372\u53d6\u5e8f\u865f ${null===(Mi=S.roomInfo)||void 0===Mi?void 0:Mi.lastSequence} \u6d88\u606f\u76f4\u5230\u6700\u5f8c\u4e00\u7b46\u6d88\u606f ${null==Ln?void 0:Ln.lastSequence}`);let Qa=yield S.ceService.getMessages(null!==(yi=null===(Ei=S.tenantInfo)||void 0===Ei?void 0:Ei.tenantId)&&void 0!==yi?yi:"",null!==(uo=null===(Do=S.roomInfo)||void 0===Do?void 0:Do.id)&&void 0!==uo?uo:"",null!==(jo=null===(Vs=S.roomInfo)||void 0===Vs?void 0:Vs.lastSequence)&&void 0!==jo?jo:0,null!==(_s=null==Ln?void 0:Ln.lastSequence)&&void 0!==_s?_s:0);yield S.setMessages(Qa);let Ja=null!==(Aa=null==Ln?void 0:Ln.unReadNum)&&void 0!==Aa?Aa:0;S.roomInfo=q.assign(S.roomInfo,Ln),Ja>0&&S.setUnReadTag()}S.refresh()}}})()}onOpen(){var S=this;return(0,T.A)(function*(){var D,w;S.isFirstLoading=!0,S.refresh();let B=null!==(D=null===(w=S.roomInfo)||void 0===w?void 0:w.unReadNum)&&void 0!==D?D:0;if(B>0){var te,Ee,ze,gt;let ha=(null!==(te=null===(Ee=S.roomInfo)||void 0===Ee?void 0:Ee.lastSequence)&&void 0!==te?te:0)-B;S.logService.debug(`\u672a\u8b80\u4e4b\u524d\u6d88\u606f\u5e8f\u865f${ha} `);let Os=yield S.commonService.aiwowDB.getMessages(null!==(ze=null===(gt=S.roomInfo)||void 0===gt?void 0:gt.id)&&void 0!==ze?ze:"",ha-10,ha),Fl=Os.find(Sl=>Sl.sequence==ha);if(q.isEmpty(Fl)){var Dt,Wt,yn,Bn,Ln,Jn,ir;S.logService.debug(`\u672c\u5730\u6c92\u6709unReadSequence\u7684\u6d88\u606f,\u5f9e\u670d\u52d9\u5668\u7372\u53d6\u5e8f\u865f ${ha-10} \u6d88\u606f\u76f4\u5230\u6700\u5f8c\u4e00\u7b46\u6d88\u606f ${null===(Dt=S.roomInfo)||void 0===Dt?void 0:Dt.lastSequence}`);let Sl=yield S.ceService.getMessages(null!==(Wt=null===(yn=S.tenantInfo)||void 0===yn?void 0:yn.tenantId)&&void 0!==Wt?Wt:"",null!==(Bn=null===(Ln=S.roomInfo)||void 0===Ln?void 0:Ln.id)&&void 0!==Bn?Bn:"",ha-10,null!==(Jn=null===(ir=S.roomInfo)||void 0===ir?void 0:ir.lastSequence)&&void 0!==Jn?Jn:0);yield S.setMessages(Sl),S.setUnReadTag()}else{var Tr,Zr,fi,Ai;yield S.setMessages(Os);let Sl=yield S.commonService.aiwowDB.getMaxSequence(null!==(Tr=null===(Zr=S.roomInfo)||void 0===Zr?void 0:Zr.id)&&void 0!==Tr?Tr:""),Da=null!==(fi=null===(Ai=S.roomInfo)||void 0===Ai?void 0:Ai.lastSequence)&&void 0!==fi?fi:1;if(Da>Sl){var bi,Mi,yi,Ei;let zs=[];if(Sl>ha){var uo,Do;let pa=yield S.commonService.aiwowDB.getMessages(null!==(uo=null===(Do=S.roomInfo)||void 0===Do?void 0:Do.id)&&void 0!==uo?uo:"",ha,Sl);yield S.setMessages(pa)}S.logService.debug(`\u672c\u5730\u6709\u672a\u8b80\u4e4b\u524d\u7684\u6d88\u606f,${Fl.sequence}, \u672c\u5730\u6700\u5927\u6d88\u606f\u5e8f\u865f:${Sl}, \u804a\u5929\u5ba4\u6700\u5927\u5e8f\u865f:${Da}`),zs=yield S.ceService.getMessages(null!==(bi=null===(Mi=S.tenantInfo)||void 0===Mi?void 0:Mi.tenantId)&&void 0!==bi?bi:"",null!==(yi=null===(Ei=S.roomInfo)||void 0===Ei?void 0:Ei.id)&&void 0!==yi?yi:"",Sl,Da),yield S.setMessages(zs),S.setUnReadTag()}else{var jo,Vs,_s;S.logService.debug(`\u672c\u5730\u6709\u6240\u6709\u6d88\u606f,\u5247\u5f9e\u672a\u8b80\u4e4b\u524d\u6d88\u606f${Fl.sequence}\u958b\u59cb\u7372\u53d6\uff0c\u4e00\u76f4\u7372\u53d6\u5230\u6700\u5f8c`);let zs=yield S.commonService.aiwowDB.getMessages(null!==(jo=null===(Vs=S.roomInfo)||void 0===Vs?void 0:Vs.id)&&void 0!==jo?jo:"",null!==(_s=Fl.sequence)&&void 0!==_
1s?_s:0,Sl);yield S.setMessages(zs),S.setUnReadTag()}}S.readAll()}else{var Aa,Qa,Ja,Li;let ha=yield S.commonService.aiwowDB.getMaxSequence(null!==(Aa=null===(Qa=S.roomInfo)||void 0===Qa?void 0:Qa.id)&&void 0!==Aa?Aa:""),Os=null!==(Ja=null===(Li=S.roomInfo)||void 0===Li?void 0:Li.lastSequence)&&void 0!==Ja?Ja:1;if(Os>ha){var Yi,Qi,Bo,Gs;S.logService.debug(`\u6c92\u6709\u672a\u8b80\uff0c \u672c\u5730\u6709\u90e8\u5206\u6d88\u606f${ha}\uff0c\u5247\u5f9eServer\u7372\u53d6\u5f8c20\u7b46\u986f\u793a ${Os}`);let Fl=[];Fl=yield S.ceService.getMessages(null!==(Yi=null===(Qi=S.tenantInfo)||void 0===Qi?void 0:Qi.tenantId)&&void 0!==Yi?Yi:"",null!==(Bo=null===(Gs=S.roomInfo)||void 0===Gs?void 0:Gs.id)&&void 0!==Bo?Bo:"",Os-20,Os),yield S.setMessages(Fl)}else{var Za,Ka;S.logService.debug("\u672c\u5730\u6709\u6240\u6709\u6d88\u606f,\u6c92\u6709\u672a\u8b80\uff0c\u5247\u7372\u53d6\u5f8c20\u7b46\u986f\u793a");let Fl=yield S.commonService.aiwowDB.getMessages(null!==(Za=null===(Ka=S.roomInfo)||void 0===Ka?void 0:Ka.id)&&void 0!==Za?Za:"",ha-20,ha);yield S.setMessages(Fl)}S.scrollToLastMessage()}S.isFirstLoading=!1,S.refresh()})()}onScroll(S){var D=this;return(0,T.A)(function*(){var w,B,te,Ee;const ze=yield null===(w=D.content)||void 0===w?void 0:w.getScrollElement(),gt=null!==(B=null==ze?void 0:ze.scrollTop)&&void 0!==B?B:0,Dt=null!==(te=null==ze?void 0:ze.scrollHeight)&&void 0!==te?te:0,Wt=null!==(Ee=null==ze?void 0:ze.clientHeight)&&void 0!==Ee?Ee:0;let yn=Math.round(gt+Wt+50)<Dt;D.showGoBtn$.next(yn),gt<=1&&D.hasMoreMessage&&D.loadDataTop(S,1)})()}gotoUnRead(){let S=this.allMessages.find(D=>D.messageType==qt.Go.unreadtag);S&&this.scrollToId(S.id),this.readAll()}hasQuickReplay(){if(0==this.allMessages.length)return!1;let S=this.allMessages.filter(te=>q.isNumber(te.sequence)),D=S[S.length-1],w={};var B;return!("Robot"!=(null==D?void 0:D.sourceType)||(w=JSON.parse(null!==(B=null==D?void 0:D.content)&&void 0!==B?B:"{}"),!q.has(w,"quickReply")))}showQuickReplay(){var S;if(!this.hasQuickReplay())return!1;let D=this.allMessages.filter(B=>q.isNumber(B.sequence)),w=D[D.length-1];return!(null!=w&&w.quickClick||(null==w?void 0:w.sequence)!=(null===(S=this.roomInfo)||void 0===S?void 0:S.lastSequence))}get actionsQuickReply(){if(this.showQuickReplay()){var S,D;let w=this.allMessages.filter(ze=>q.isNumber(ze.sequence)),te=[],Ee=JSON.parse(null!==(S=w[w.length-1].content)&&void 0!==S?S:"{}");return null==Ee||null===(D=Ee.quickReply)||void 0===D||null===(D=D.items)||void 0===D||D.forEach(ze=>{"Action"===ze.type&&ze.action&&te.push(null==ze?void 0:ze.action)}),te}return[]}}).\u0275fac=function(S){return new(S||xr)(o.rXU(u.w),o.rXU(a.OD),o.rXU(Xn.J),o.rXU(o.gRc),o.rXU(ae.c$),o.rXU(me.S),o.rXU(Z.b),o.rXU(H.hf))},xr.\u0275cmp=o.VBU({type:xr,selectors:[["app-room-body"]],viewQuery:function(S,D){if(1&S&&o.GBs(E.W9,5),2&S){let w;o.mGM(w=o.lsd())&&(D.content=w.first)}},inputs:{roomInfo:"roomInfo",snInfo:"snInfo",tenantInfo:"tenantInfo"},outputs:{onQuickReplyChanged:"onQuickReplyChanged"},standalone:!0,features:[o.OA$,o.aNF],decls:13,vars:7,consts:[["content",""],["messageList",""],["scrollbottom",""],["id","messageList",1,"w-full","flex-1","border-t","border-l","border-r","border-solid",3,"ionScroll","scrollEvents"],["slot","fixed","pullFactor","0.5","pullMin","100",3,"ionRefresh"],["pullingIcon","chevron-down-circle-outline","refreshingSpinner","circles"],["class","text-center",4,"ngIf"],[1,"pb-5"],[3,"id",4,"ngFor","ngForOf"],["class","flex justify-center items-center h-full",4,"ngIf"],["threshold","0px",2,"height","5px",3,"ionInfinite","position"],["slot","fixed","class","bottom-0","vertical","bottom","horizontal","end",4,"ngIf"],["class","p-2 z-10","slot","fixed","vertical","start","horizontal","end",4,"ngIf"],[1,"text-center"],["name","circles",1,"w-5","h-5"],[3,"id"],[2,"width","100%",3,"slot","message","tenantInfo","roomInfo"],[1,"flex","justify-center","items-center","h-full"],["name","dots"],["slot","fixed","vertical","bottom","horizontal","end",1,"bottom-0"],["size","small",1,"fabDown",3,"click"],[1,"iconfont","icon-goto-bottom","text-base","p-1"],["slot","fixed","vertical","start","horizontal","end",1,"p-2","z-10"],[1,"p-1","text-green-500","rounded-lg","shadow-md","text-xs","pl-2","pr-2","cursor-default",3,"click"],[1,"iconfont","icon-upa","text-xs","p-1"]],template:function(S,D){if(1&S){const w=o.RV6();o.j41(0,"ion-content",3,0),o.bIt("ionScroll",function(te){return o.eBV(w),o.Njj(D.onScroll(te))}),o.j41(2,"ion-refresher",4),o.bIt("ionRefresh",function(te){return o.eBV(w),o.Njj(D.loadDataTop(te))}),o.nrm(3,"ion-refresher-content",5),o.k0s(),o.DNE(4,kr,2,0,"div",6),o.j41(5,"ion-list",7,1),o.DNE(7,Ii,2,6,"ion-item-sliding",8),o.k0s(),o.DNE(8,fo,2,0,"div",9),o.j41(9,"ion-infinite-scroll",10,2),o.bIt("ionInfinite",function(te){return o.eBV(w),o.Njj(D.loadDataBottom(te))}),o.k0s(),o.DNE(11,zo,3,1,"ion-fab",11)(12,Es,5,5,"ion-fab",12),o.k0s()}if(2&S){let w;o.Y8G("scrollEvents",!0),o.R7$(4),o.Y8G("ngIf",D.loadMoreMessage),o.R7$(3),o.Y8G("ngForOf",D.allMessages),o.R7$(),o.Y8G("ngIf",D.isFirstLoading),o.R7$(),o.Y8G("position","bottom"),o.R7$(2),o.Y8G("ngIf",D.isEndShow),o.R7$(),o.Y8G("ngIf",(null!==(w=null==D.roomInfo?null:D.roomInfo.unReadNum)&&void 0!==w?w:0)>10&&!D.isEndShow)}},dependencies:[Y.MD,Y.Sq,Y.bT,_o,E.bv,E.W9,E.Q8,E.YW,E.Ax,E.A7,E.nf,E.To,E.Ki,E.w2,ae.h,ae.D9],styles:["[_nghost-%COMP%]{display:block;flex:1}.fabDown[_ngcontent-%COMP%]{--background: #99ade0;--background-activated: #99ade0;--background-hover: #99ade0;
1--box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, .3), 0px 1px 3px 1px rgba(0, 0, 0, .15);--color: white;width:32px;height:32px}"],data:{animation:[(0,Nn.hZ)("slideInOut",[(0,Nn.kY)(":enter",[(0,Nn.iF)({opacity:0,transform:"translateX(-100%)"}),(0,Nn.i0)("0.5s ease-in-out",(0,Nn.iF)({opacity:1,transform:"translateX(0)"}))])]),(0,Nn.hZ)("slideTopDown",[(0,Nn.kY)(":leave",[(0,Nn.i0)("0.5s ease-in-out",(0,Nn.iF)({opacity:0,transform:"translateY(100%)"}))])])]},changeDetection:0}),xr);Ce=(0,s.Cg)([h.$.RefWindow("ChatRoomBody")],Ce);const ye={toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},$e=new o.nKC("config",{providedIn:"root",factory:()=>({modules:ye})});var A=f(59030),W=f(74402),oe=f(9350),be=f(47707);function Ue(j,S){const D="object"==typeof S;return new Promise((w,B)=>{const te=new be.Ms({next:Ee=>{w(Ee),te.unsubscribe()},error:B,complete:()=>{D?w(S.defaultValue):B(new oe.G)}});j.subscribe(te)})}var Ye=f(18359),kt=f(33726),on=f(76496),xn=f(31397),pr=f(89417);const Rr=[[["","above-quill-editor-toolbar",""]],[["","quill-editor-toolbar",""]],[["","below-quill-editor-toolbar",""]]],Kr=["[above-quill-editor-toolbar]","[quill-editor-toolbar]","[below-quill-editor-toolbar]"];function Pr(j,S){1&j&&o.nrm(0,"pre",0)}function jr(j,S){1&j&&o.nrm(0,"div",0)}function qn(j,S){if(1&j&&o.DNE(0,Pr,1,0,"pre",0)(1,jr,1,0),2&j){const D=o.XpG();o.vxM(0,D.preserve?0:1)}}function Mr(j,S){1&j&&o.nrm(0,"pre",0)}function mi(j,S){1&j&&o.nrm(0,"div",0)}function Ti(j,S){if(1&j&&o.DNE(0,Mr,1,0,"pre",0)(1,mi,1,0),2&j){const D=o.XpG();o.vxM(0,D.preserve?0:1)}}function _i(j,S){1&j&&o.nrm(0,"pre",0)}function Le(j,S){1&j&&o.nrm(0,"div",0)}const it=(j,S)=>j||S||"html";let an=(()=>{var j;class S{constructor(w,B){var te=this;this.config=B,this.quill$=(0,A.v)((0,T.A)(function*(){var Ee;if(!te.Quill){var ze,gt,Dt;const Wt=te.document.addEventListener;te.document.addEventListener=te.document.__zone_symbol__addEventListener||te.document.addEventListener;const yn=yield Promise.resolve().then(f.t.bind(f,35055,19));te.document.addEventListener=Wt,te.Quill=null!==(ze=null!==(gt=null===(Dt=yn.default)||void 0===Dt?void 0:Dt.default)&&void 0!==gt?gt:yn.default)&&void 0!==ze?ze:yn}return null===(Ee=te.config.customOptions)||void 0===Ee||Ee.forEach(Wt=>{const yn=te.Quill.import(Wt.import);yn.whitelist=Wt.whitelist,te.Quill.register(yn,!0,te.config.suppressGlobalRegisterWarning)}),yield te.registerCustomModules(te.Quill,te.config.customModules,te.config.suppressGlobalRegisterWarning)})).pipe((0,on.t)({bufferSize:1,refCount:!0})),this.document=w.get(Y.qQ),this.config||(this.config={modules:ye})}getQuill(){return this.quill$}registerCustomModules(w,B,te){return(0,T.A)(function*(){if(Array.isArray(B))for(let{implementation:Ee,path:ze}of B)(0,W.A)(Ee)&&(Ee=yield Ue(Ee)),w.register(ze,Ee,te);return w})()}}return(j=S).\u0275fac=function(w){return new(w||j)(o.KVO(o.zZn),o.KVO($e,8))},j.\u0275prov=o.jDH({token:j,factory:j.\u0275fac,providedIn:"root"}),S})(),nt=(()=>{var j;class S{constructor(){this.required=!1,this.customToolbarPosition="top",this.styles=null,this.strict=!0,this.customOptions=[],this.customModules=[],this.preserveWhitespace=!1,this.trimOnValidation=!1,this.compareValues=!1,this.filterNull=!1,this.defaultEmptyValue=null,this.onEditorCreated=new o.bkB,this.onEditorChanged=new o.bkB,this.onContentChanged=new o.bkB,this.onSelectionChanged=new o.bkB,this.onFocus=new o.bkB,this.onBlur=new o.bkB,this.onNativeFocus=new o.bkB,this.onNativeBlur=new o.bkB,this.disabled=!1,this.preserve=!1,this.toolbarPosition="top",this.subscription=null,this.quillSubscription=null,this.elementRef=(0,o.WQX)(o.aKT),this.document=(0,o.WQX)(Y.qQ),this.cd=(0,o.WQX)(o.gRc),this.domSanitizer=(0,o.WQX)(c.up),this.platformId=(0,o.WQX)(o.Agw),this.renderer=(0,o.WQX)(o.sFG),this.zone=(0,o.WQX)(o.SKi),this.service=(0,o.WQX)(an),this.valueGetter=(w,B)=>{let te=B.querySelector(".ql-editor").innerHTML;("<p><br></p>"===te||"<div><br></div>"===te)&&(te=this.defaultEmptyValue);let Ee=te;const ze=it(this.format,this.service.config.format);if("text"===ze)Ee=w.getText();else if("object"===ze)Ee=w.getContents();else if("json"===ze)try{Ee=JSON.stringify(w.getContents())}catch{Ee=w.getText()}return Ee},this.valueSetter=(w,B)=>{const te=it(this.format,this.service.config.format);if("html"===te)return([!0,!1].includes(this.sanitize)?this.sanitize:this.service.config.sanitize||!1)&&(B=this.domSanitizer.sanitize(o.WPN.HTML,B)),w.clipboard.convert(B);if("json"===te)try{return JSON.parse(B)}catch{return[{insert:B}]}return B},this.selectionChangeHandler=(w,B,te)=>{const Ee=this.trackChanges||this.service.config.trackChanges,ze=!w&&!!this.onModelTouched&&("user"===te||Ee&&"all"===Ee);!this.onBlur.observed&&!this.onFocus.observed&&!this.onSelectionChanged.observed&&!ze||this.zone.run(()=>{null===w?this.onBlur.emit({editor:this.quillEditor,source:te}):null===B&&this.onFocus.emit({editor:this.quillEditor,source:te}),this.onSelectionChanged.emit({editor:this.quillEditor,oldRange:B,range:w,source:te}),ze&&this.onModelTouched(),this.cd.markForCheck()})},this.textChangeHandler=(w,B,te)=>{const Ee=this.quillEditor.getText(),ze=this.quillEditor.getContents();let gt=this.editorElem.querySelector(".ql-editor").innerHTML;("<p><br></p>"===gt||"<div><br></div>"===gt)&&(gt=this.defaultEmptyValue);const Dt=this.trackChanges||this.service.config.trackChanges,Wt=("user"===te||Dt&&"all"===Dt)&&!!this.onModelChange;!this.onContentChanged.observed&&!Wt||this.zone.run(()=>{Wt&&this.onModelChange(this.valueGetter(this.quillEditor,this.editorElem)),this.onContentChanged.emit({content:ze,delta:w,editor:this.quillEditor,html:gt,oldDelta:B,source:te,text:Ee}),this.cd.markForCheck()})},this.editorChangeHandler=(w,B,te,Ee)=>{if(this.onEditorChanged.observed)if("text-change"===w){const ze=this.quillEditor.getText(),gt=this.quillEditor.getContents();let Dt=this.editorElem.querySelector(".ql-editor").innerHTML;("<p><br></p>"===Dt||"<div><br></div>"===Dt)&&(Dt=this.defaultEmptyValue),this.zone.run(()=>{this.onEditorChanged.emit({content:gt,delta:B,editor:this.quillEditor,event:w,html:Dt,oldDelta:te,source:Ee,text:ze}),this.cd.markForCheck()})}else this.zone.run(()=>{this.onEditorChanged.emit({editor:this.quillEditor,event:w,oldRange:te,range:B,source:Ee}),this.cd.markForCheck()})}}static normalizeClassNames(w){return w.trim().split(" ").reduce((te,Ee)=>{const ze=Ee.trim();return ze&&te.push(ze),te},[])}ngOnInit(){this.preserve=this.preserveWhitespace,this.toolbarPosition=this.customToolbarPosition}ngAfterViewInit(){(0,Y.Vy)(this.platformId)||(this.quillSubscription=this.service.getQuill().pipe((0,xn.Z)(w=>{var B;const te=[this.service.registerCustomModules(w,this.customModules)],Ee=null!==(B=this.beforeRender)&&void 0!==B?B:this.service.config.beforeRender;return Ee&&te.push(Ee()),Promise.all(te).then(()=>w)})).subscribe(w=>{this.editorElem=this.elementRef.nativeElement.querySelector("[quill-editor-element]");const B=this.elementRef.nativeElement.querySelector("[quill-editor-toolbar]"),te=Object.assign({},this.modules||this.service.config.modules);B?te.toolbar=B:void 0===te.toolbar&&(te.toolbar=ye.toolbar);let Ee=void 0!==this.placeholder?this.placeholder:this.service.config.placeholder;void 0===Ee&&(Ee="Insert text here ..."),this.styles&&Object.keys(this.styles).forEac
1h(Ln=>{this.renderer.setStyle(this.editorElem,Ln,this.styles[Ln])}),this.classes&&this.addClasses(this.classes),this.customOptions.forEach(Ln=>{const Jn=w.import(Ln.import);Jn.whitelist=Ln.whitelist,w.register(Jn,!0)});let ze=this.bounds&&"self"===this.bounds?this.editorElem:this.bounds;ze||(ze=this.service.config.bounds?this.service.config.bounds:this.document.body);let gt=this.debug;!gt&&!1!==gt&&this.service.config.debug&&(gt=this.service.config.debug);let Dt=this.readOnly;!Dt&&!1!==this.readOnly&&(Dt=void 0!==this.service.config.readOnly&&this.service.config.readOnly);let Wt=this.defaultEmptyValue;this.service.config.hasOwnProperty("defaultEmptyValue")&&(Wt=this.service.config.defaultEmptyValue);let yn=this.scrollingContainer;!yn&&null!==this.scrollingContainer&&(yn=null===this.service.config.scrollingContainer||this.service.config.scrollingContainer?this.service.config.scrollingContainer:null);let Bn=this.formats;if(!Bn&&void 0===Bn&&(Bn=this.service.config.formats?[...this.service.config.formats]:null===this.service.config.formats?null:void 0),this.zone.runOutsideAngular(()=>{if(this.quillEditor=new w(this.editorElem,{bounds:ze,debug:gt,formats:Bn,modules:te,placeholder:Ee,readOnly:Dt,defaultEmptyValue:Wt,scrollingContainer:yn,strict:this.strict,theme:this.theme||(this.service.config.theme?this.service.config.theme:"snow")}),this.onNativeBlur.observed&&(this.quillEditor.scroll.domNode.addEventListener("blur",()=>this.onNativeBlur.next({editor:this.quillEditor,source:"dom"})),this.quillEditor.getModule("toolbar").container.addEventListener("mousedown",ir=>ir.preventDefault())),this.onNativeFocus.observed&&this.quillEditor.scroll.domNode.addEventListener("focus",()=>this.onNativeFocus.next({editor:this.quillEditor,source:"dom"})),this.linkPlaceholder){var Ln,Jn;const ir=null===(Ln=this.quillEditor)||void 0===Ln||null===(Ln=Ln.theme)||void 0===Ln?void 0:Ln.tooltip,Tr=null==ir||null===(Jn=ir.root)||void 0===Jn?void 0:Jn.querySelector("input[data-link]");null!=Tr&&Tr.dataset&&(Tr.dataset.link=this.linkPlaceholder)}}),this.content){if("text"===it(this.format,this.service.config.format))this.quillEditor.setText(this.content,"silent");else{const Jn=this.valueSetter(this.quillEditor,this.content);this.quillEditor.setContents(Jn,"silent")}this.quillEditor.getModule("history").clear()}this.setDisabledState(),this.addQuillEventListeners(),(this.onEditorCreated.observed||this.onValidatorChanged)&&requestAnimationFrame(()=>{this.onValidatorChanged&&this.onValidatorChanged(),this.onEditorCreated.emit(this.quillEditor),this.onEditorCreated.complete()})}))}ngOnDestroy(){var w;this.dispose(),null===(w=this.quillSubscription)||void 0===w||w.unsubscribe(),this.quillSubscription=null}ngOnChanges(w){if(this.quillEditor){if(w.readOnly&&this.quillEditor.enable(!w.readOnly.currentValue),w.placeholder&&(this.quillEditor.root.dataset.placeholder=w.placeholder.currentValue),w.defaultEmptyValue&&(this.quillEditor.root.dataset.defaultEmptyValue=w.defaultEmptyValue.currentValue),w.styles){const B=w.styles.currentValue,te=w.styles.previousValue;te&&Object.keys(te).forEach(Ee=>{this.renderer.removeStyle(this.editorElem,Ee)}),B&&Object.keys(B).forEach(Ee=>{this.renderer.setStyle(this.editorElem,Ee,this.styles[Ee])})}if(w.classes){const B=w.classes.currentValue,te=w.classes.previousValue;te&&this.removeClasses(te),B&&this.addClasses(B)}w.debounceTime&&this.addQuillEventListeners()}}addClasses(w){S.normalizeClassNames(w).forEach(B=>{this.renderer.addClass(this.editorElem,B)})}removeClasses(w){S.normalizeClassNames(w).forEach(B=>{this.renderer.removeClass(this.editorElem,B)})}writeValue(w){if(this.filterNull&&null===w||(this.content=w,!this.quillEditor))return;const B=it(this.format,this.service.config.format),te=this.valueSetter(this.quillEditor,w);if(this.compareValues){const Ee=this.quillEditor.getContents();if(JSON.stringify(Ee)===JSON.stringify(te))return}w?"text"===B?this.quillEditor.setText(w):this.quillEditor.setContents(te):this.quillEditor.setText("")}setDisabledState(w=this.disabled){this.disabled=w,this.quillEditor&&(w?(this.quillEditor.disable(),this.renderer.setAttribute(this.elementRef.nativeElement,"disabled","disabled")):(this.readOnly||this.quillEditor.enable(),this.renderer.removeAttribute(this.elementRef.nativeElement,"disabled")))}registerOnChange(w){this.onModelChange=w}registerOnTouched(w){this.onModelTouched=w}registerOnValidatorChange(w){this.onValidatorChanged=w}validate(){if(!this.quillEditor)return null;const w={};let B=!0;const te=this.quillEditor.getText(),Ee=this.trimOnValidation?te.trim().length:1===te.length&&0===te.trim().length?0:te.length-1,ze=this.quillEditor.getContents().ops,gt=ze&&1===ze.length&&["\n",""].includes(ze[0].insert);return this.minLength&&Ee&&Ee<this.minLength&&(w.minLengthError={given:Ee,minLength:this.minLength},B=!1),this.maxLength&&Ee>this.maxLength&&(w.maxLengthError={given:Ee,maxLength:this.maxLength},B=!1),this.required&&!Ee&>&&(w.requiredError={empty:!0},B=!1),B?null:w}addQuillEventListeners(){this.dispose(),this.zone.runOutsideAngular(()=>{this.subscription=new Ye.yU,this.subscription.add((0,kt.R)(this.quillEditor,"selection-change").subscribe(([te,Ee,ze])=>{this.selectionChangeHandler(te,Ee,ze)}));let w=(0,kt.R)(this.quillEditor,"text-change"),B=(0,kt.R)(this.quillEditor,"editor-change");"number"==typeof this.debounceTime&&(w=w.pipe(mt(this.debounceTime)),B=B.pipe(mt(this.debounceTime))),this.subscription.add(w.subscribe(([te,Ee,ze])=>{this.textChangeHandler(te,Ee,ze)})),this.subscription.add(B.subscribe(([te,Ee,ze,gt])=>{this.editorChangeHandler(te,Ee,ze,gt)}))})}dispose(){null!==this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}}return(j=S).\u0275fac=function(w){return new(w||j)},j.\u0275dir=o.FsC({type:j,inputs:{format:"format",theme:"theme",modules:"modules",debug:"debug",readOnly:"readOnly",placeholder:"placeholder",maxLength:"maxLength",minLength:"minLength",required:"required",formats:"formats",customToolbarPosition:"customToolbarPosition",sanitize:"sanitize",beforeRender:"beforeRender",styles:"styles",strict:"strict",scrollingContainer:"scrollingContainer",bounds:"bounds",customOptions:"customOptions",customModules:"customModules",trackChanges:"trackChanges",preserveWhitespace:"preserveWhitespace",classes:"classes",trimOnValidation:"trimOnValidation",linkPlaceholder:"linkPlaceholder",compareValues:"compareValues",filterNull:"filterNull",debounceTime:"debounceTime",defaultEmptyValue:"defaultEmptyValue",valueGetter:"valueGetter",valueSetter:"valueSetter"},outputs:{onEditorCreated:"onEditorCreated",onEditorChanged:"onEditorChanged",onContentChanged:"onContentChanged",onSelectionChanged:"onSelectionChanged",onFocus:"onFocus",onBlur:"onBlur",onNativeFocus:"onNativeFocus",onNativeBlur:"onNativeBlur"},features:[o.OA$]}),S})(),Qt=(()=>{var j;class S extends nt{}return(j=S).\u0275fac=(()=>{let D;return function(B){return(D||(D=o.xGo(j)))(B||j)}})(),j.\u0275cmp=o.VBU({type:j,selectors:[["quill-editor"]],standalone:!0,features:[o.Jv_([{multi:!0,provide:pr.kq,useExisting:(0,o.Rfq)(()=>j)},{multi:!0,provide:pr.cz,useExisting:(0,o.Rfq)(()=>j)}]),o.Vt3,o.aNF],ngContentSelectors:Kr,decls:5,vars:2,consts:[["quill-editor-element",""]],template:function(w,B){1&w&&(o.NAR(Rr),o.DNE(0,qn,2,1),o.SdG(1),o.SdG(2,1),o.SdG(3,2),o.DNE(4,Ti,2,1)),2&w&&(o.vxM(0,"top"!==B.toolbarPosition?0:-1),o.R7$(4),o.vxM(4,"top"===B.toolbarPosition?4:-1))},dependencies:[Y.MD],styles:["[_nghost-%COMP%]{display:inline-block}"]}),S})(),Fn=(()=>{var j;class S{constructor(w,B){this.sanitizer=w,this.service=B,this.content="",this.innerHTML="",this.themeClass="ql-snow"}ngOnChanges(w){if(w.theme?this.themeClass=`ql-${w.theme.currentValue||(this.service.config.theme?this.service.config.theme:"snow")} ngx-quill-view-html`:this.theme||(this.themeClass=`ql-${this.service.config.theme?this.service.config.theme:"snow"} ngx-quill-view-html`),w.content){const B=w.content.currentValue,te=[!0,!1].includes(this.sanitize)?this.sanitize:this.service.config.sanitize||!1;this.innerHTML=te?B:this.sanitizer.bypassSecurityTrustHtml(B)}}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(c.up),o.rXU(an))},j.\u0275cmp=o.VBU({type:j,selectors:[["quill-view-html"]],inputs:{content:"content",theme:"theme",sanitize:"sanitize"},standalone:!0,features:[o.OA$,o.aNF],decls:2,vars:2,consts:[[1,"ql-container",3,"ngClass"],[1,"ql-editor",3,"innerHTML"]],template:function(w,B){1&w&&(o.j41(0,"div",0),o.nrm(1,"div",1),o.k0s()),2&w&&(o.Y8G("ngClass",B.themeClass),o.R7$(),o.Y8G("innerHTML",B.innerHTML,o.npT))},dependencies:[Y.MD,Y.YU],styles:[".ql-container.ngx-quill-view-html{border:0}\n"],encapsulation:2}),S})(),vr=(()=>{var j;class S{constructor(w,B,te,Ee,ze,gt){this.elementRef=w,this.renderer=B,this.zone=te,this.service=Ee,this.domSanitizer=ze,this.platformId=gt,this.strict=!0,this.customModules=[],this.customOptions=[],this.preserveWhitespace=!1,this.onEditorCreated=new o.bkB,this.preserve=!1,this.quillSubscription=null,this.valueSetter=(Dt,Wt)=>{const yn=it(this.format,this.service.config.format);let Bn=Wt;if("text"===yn)Dt.setText(Bn);else{if("html"===yn)([!0,!1].includes(this.sanitize)?this.sanitize:this.service.config.sanitize||!1)&&(Wt=this.domSanitizer.sanitize(o.WPN.HTML,Wt)),Bn=Dt.clipboard.convert(Wt);else if("json"===yn)try{Bn=JSON.parse(Wt)}catch{Bn=[{insert:Wt}]}Dt.setContents(Bn)}}}ngOnInit(){this.preserve=this.preserveWhitespace}ngOnChanges(w){this.quillEditor&&w.content&&this.valueSetter(this.quillEditor,w.content.currentValue)}ngAfterViewInit(){(0,Y.Vy)(this.platformId)||(this.quillSubscription=this.service.getQuill().pipe((0,xn.Z)(w=>{var B;const te=[this.service.registerCustomModules(w,this.customModules)],Ee=null!==(B=this.beforeRender)&&void 0!==B?B:this.service.config.beforeRender;return Ee&&te.push(Ee()),Promise.all(te).then(()=>w)})).subscribe(w=>{const B=Object.assign({},this.modules||this.service.config.modules);B.toolbar=!1,this.customOptions.forEach(gt=>{const Dt=w.import(gt.import);Dt.whitelist=gt.whitelist,w.register(Dt,!0)});let te=this.debug;!te&&!1!==te&&this.service.config.debug&&(te=this.service.config.debug);let Ee=this.formats;!Ee&&void 0===Ee&&(Ee=this.service.config.formats?Object.assign({},this.service.config.formats):null===this.service.config.formats?null:void 0);const ze=this.theme||(this.service.config.theme?this.service.config.theme:"snow");this.editorElem=this.elementRef.nativeElement.querySelector("[quill-view-element]"),this.zone.runOutsideAngular(()=>{this.quillEditor=new w(this.editorElem,{debug:te,formats:Ee,modules:B,readOnly:!0,strict:this.strict,theme:ze})}),this.renderer.addClass(this.editorElem,"ngx-quill-view"),this.content&&this.valueSetter(this.quillEditor,this.content),this.onEditorCreated.observers.length&&requestAnimationFrame(()=>{this.onEditorCreated.emit(this.quillEditor),this.onEditorCreated.complete()})}))}ngOnDestroy(){var w;null===(w=this.quillSubscription)||void 0===w||w.unsubscribe(),this.quillSubscription=null}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(o.SKi),o.rXU(an),o.rXU(c.up),o.rXU(o.Agw))},j.\u0275cmp=o.VBU({type:j,selectors:[["quill-view"]],inputs:{format:"format",theme:"theme",modules:"modules",debug:"debug",formats:"formats",sanitize:"sanitize",beforeRender:"beforeRender",strict:"strict",content:"content",customModules:"customModules",customOptions:"customOptions",preserveWhitespace:"preserveWhitespace"},outputs:{onEditorCreated:"onEditorCreated"},standalone:!0,features:[o.OA$,o.aNF],decls:2,vars:1,consts:[["quill-view-element",""]],template:function(w,B){1&w&&o.DNE(0,_i,1,0,"pre",0)(1,Le,1,0),2&w&&o.vxM(0,B.preserve?0:1)},dependencies:[Y.MD],styles:[".ql-container.ngx-quill-view{border:0}\n"],encapsulation:2}),S})(),ei=(()=>{var j;class S{static forRoot(w){return{ngModule:S,providers:[{provide:$e,useValue:w}]}}}return(j=S).\u0275fac=function(w){return new(w||j)},j.\u0275mod=o.$C({type:j}),j.\u0275inj=o.G2t({imports:[Qt,vr,Fn]}),S})(),wc=(()=>{var j;class S{}return(j=S).\u0275fac=function(w){return new(w||j)},j.\u0275mod=o.$C({type:j}),j.\u0275inj=o.G2t({imports:[Y.MD]}),S})(),zr=(()=>{var j;class S{}return(j=S).\u0275fac=function(w){return new(w||j)},j.\u0275mod=o.$C({type:j}),j.\u0275inj=o.G2t({imports:[Y.MD,pr.YN,wc,ae.h]}),S})();var Kc=f(4273);function Tc(j,S,D){const w=function Dd(j,S){return+(0,Kc.a)(j)-+(0,Kc.a)(S)}(j,S)/1e3;return function vs(j){return S=>{const w=(j?Math[j]:Math.trunc)(S);return 0===w?0:w}}(null==D?void 0:D.roundingMethod)(w)}var yl=f(34864);let Xc=(()=>{var j;class S{constructor(w,B){this.translate=w,this._modal=B,this.icon="fa fa-users",this.formtitle="",this.pasteImage=""}ngOnDestroy(){}ngOnInit(){this.formtitle=this.translate.instant("Common.SendReView"),this.icon="fa fa-eye"}get fileUrl(){return this.file?URL.createObjectURL(this.file):this.imgDefault}handleKeyboardEvent(w){if(13==w.keyCode)return w.preventDefault(),void this.handleOk(w);27===w.keyCode&&(w.preventDefault(),this.handleCancel(w))}handleOk(w){this._modal.dismiss({action:"closeAndSend"})}handleCancel(w){this._modal.dismiss({action:"close"})}onClose(){this._modal.dismiss({action:"close"})}handleEnterAndEsc(w){27==w.keyCode&&this.onClose()}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(ae.c$),o.rXU(E.W3))},j.\u0275cmp=o.VBU({type:j,selectors:[["pre-sendimage"]],hostBindings:function(w,B){1&w&&o.bIt("keydown",function(Ee){return B.handleKeyboardEvent(Ee)},!1,o.EBC)},inputs:{pasteImage:"pasteImage",file:"file"},standalone:!0,features:[o.aNF],decls:10,vars:2,consts:[["slot","start",3,"click"],["name","close-outline","slot","start"],["slot","end",3,"click"],[1,"iconfont","icon-send","text-white","text-2xl","hvr-grow"],[1,"flex","flex-1","justify-center","flex-col","align-middle","items-center"],[1,"",2,"max-width","100%",3,"src"]],template:function(w,B){1&w&&(o.j41(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),o.bIt("click",function(Ee){return B.handleCancel(Ee)}),o.nrm(3,"ion-icon",1),o.k0s(),o.j41(4,"ion-title"),o.EFF(5),o.k0s(),o.j41(6,"ion-buttons",2),o.bIt("click",function(Ee){return B.handleOk(Ee)}),o.nrm(7,"span",3),o.k0s()()(),o.j41(8,"div",4),o.nrm(9,"img",5),o.k0s()),2&w&&(o.R7$(5),o.SpI(" ",B.formtitle,""),o.R7$(4),o.Y8G("src",B.fileUrl,o.B4B))},dependencies:[Y.MD,E.bv,E.QW,E.eU,E.iq,E.BC,E.ai],changeDetection:0}),S})();function Se(j,S,D,w){return new(D||(D=Promise))(function(B,te){function Ee(Dt){try{gt(w.next(Dt))}
1catch(Wt){te(Wt)}}function ze(Dt){try{gt(w.throw(Dt))}catch(Wt){te(Wt)}}function gt(Dt){var Wt;Dt.done?B(Dt.value):(Wt=Dt.value,Wt instanceof D?Wt:new D(function(yn){yn(Wt)})).then(Ee,ze)}gt((w=w.apply(j,S||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;class Ie{constructor(){this.listeners={}}on(S,D,w){if(this.listeners[S]||(this.listeners[S]=new Set),this.listeners[S].add(D),null==w?void 0:w.once){const B=()=>{this.un(S,B),this.un(S,D)};return this.on(S,B),B}return()=>this.un(S,D)}un(S,D){var w;null===(w=this.listeners[S])||void 0===w||w.delete(D)}once(S,D){return this.on(S,D,{once:!0})}unAll(){this.listeners={}}emit(S,...D){this.listeners[S]&&this.listeners[S].forEach(w=>w(...D))}}const Xe={decode:function(j,S){return Se(this,void 0,void 0,function*(){const D=new AudioContext({sampleRate:S});return D.decodeAudioData(j).finally(()=>D.close())})},createBuffer:function(j,S){return"number"==typeof j[0]&&(j=[j]),function(D){const w=D[0];if(w.some(B=>B>1||B<-1)){const B=w.length;let te=0;for(let Ee=0;Ee<B;Ee++){const ze=Math.abs(w[Ee]);ze>te&&(te=ze)}for(const Ee of D)for(let ze=0;ze<B;ze++)Ee[ze]/=te}}(j),{duration:S,length:j[0].length,sampleRate:j[0].length/S,numberOfChannels:j.length,getChannelData:D=>null==j?void 0:j[D],copyFromChannel:AudioBuffer.prototype.copyFromChannel,copyToChannel:AudioBuffer.prototype.copyToChannel}}};function pt(j,S){const D=S.xmlns?document.createElementNS(S.xmlns,j):document.createElement(j);for(const[w,B]of Object.entries(S))if("children"===w)for(const[te,Ee]of Object.entries(S))D.appendChild("string"==typeof Ee?document.createTextNode(Ee):pt(te,Ee));else"style"===w?Object.assign(D.style,B):"textContent"===w?D.textContent=B:D.setAttribute(w,B.toString());return D}function $t(j,S,D){const w=pt(j,S||{});return null==D||D.appendChild(w),w}var un=Object.freeze({__proto__:null,createElement:$t,default:$t});const Vn={fetchBlob:function(j,S,D){return Se(this,void 0,void 0,function*(){const w=yield fetch(j,D);if(w.status>=400)throw new Error(`Failed to fetch ${j}: ${w.status} (${w.statusText})`);return function(B,te){Se(this,void 0,void 0,function*(){if(!B.body||!B.headers)return;const Ee=B.body.getReader(),ze=Number(B.headers.get("Content-Length"))||0;let gt=0;const Dt=yn=>Se(this,void 0,void 0,function*(){gt+=(null==yn?void 0:yn.length)||0;const Bn=Math.round(gt/ze*100);te(Bn)}),Wt=()=>Se(this,void 0,void 0,function*(){let yn;try{yn=yield Ee.read()}catch{return}yn.done||(Dt(yn.value),yield Wt())});Wt()})}(w.clone(),S),w.blob()})}};class rr extends Ie{constructor(S){super(),this.isExternalMedia=!1,S.media?(this.media=S.media,this.isExternalMedia=!0):this.media=document.createElement("audio"),S.mediaControls&&(this.media.controls=!0),S.autoplay&&(this.media.autoplay=!0),null!=S.playbackRate&&this.onMediaEvent("canplay",()=>{null!=S.playbackRate&&(this.media.playbackRate=S.playbackRate)},{once:!0})}onMediaEvent(S,D,w){return this.media.addEventListener(S,D,w),()=>this.media.removeEventListener(S,D,w)}getSrc(){return this.media.currentSrc||this.media.src||""}revokeSrc(){const S=this.getSrc();S.startsWith("blob:")&&URL.revokeObjectURL(S)}canPlayType(S){return""!==this.media.canPlayType(S)}setSrc(S,D){const w=this.getSrc();if(S&&w===S)return;this.revokeSrc();const B=D instanceof Blob&&(this.canPlayType(D.type)||!S)?URL.createObjectURL(D):S;try{this.media.src=B}catch{this.media.src=S}}destroy(){this.media.pause(),this.isExternalMedia||(this.media.remove(),this.revokeSrc(),this.media.src="",this.media.load())}setMediaElement(S){this.media=S}play(){return Se(this,void 0,void 0,function*(){return this.media.play()})}pause(){this.media.pause()}isPlaying(){return!this.media.paused&&!this.media.ended}setTime(S){this.media.currentTime=S}getDuration(){return this.media.duration}getCurrentTime(){return this.media.currentTime}getVolume(){return this.media.volume}setVolume(S){this.media.volume=S}getMuted(){return this.media.muted}setMuted(S){this.media.muted=S}getPlaybackRate(){return this.media.playbackRate}isSeeking(){return this.media.seeking}setPlaybackRate(S,D){null!=D&&(this.media.preservesPitch=D),this.media.playbackRate=S}getMediaElement(){return this.media}setSinkId(S){return this.media.setSinkId(S)}}class mr extends Ie{constructor(S,D){super(),this.timeouts=[],this.isScrollable=!1,this.audioData=null,this.resizeObserver=null,this.lastContainerWidth=0,this.isDragging=!1,this.subscriptions=[],this.subscriptions=[],this.options=S;const w=this.parentFromOptionsContainer(S.container);this.parent=w;const[B,te]=this.initHtml();w.appendChild(B),this.container=B,this.scrollContainer=te.querySelector(".scroll"),this.wrapper=te.querySelector(".wrapper"),this.canvasWrapper=te.querySelector(".canvases"),this.progressWrapper=te.querySelector(".progress"),this.cursor=te.querySelector(".cursor"),D&&te.appendChild(D),this.initEvents()}parentFromOptionsContainer(S){let D;if("string"==typeof S?D=document.querySelector(S):S instanceof HTMLElement&&(D=S),!D)throw new Error("Container not found");return D}initEvents(){const S=D=>{const w=this.wrapper.getBoundingClientRect();return[(D.clientX-w.left)/w.width,(D.clientY-w.top)/w.height]};if(this.wrapper.addEventListener("click",D=>{const[w,B]=S(D);
1this.emit("click",w,B)}),this.wrapper.addEventListener("dblclick",D=>{const[w,B]=S(D);this.emit("dblclick",w,B)}),!0!==this.options.dragToSeek&&"object"!=typeof this.options.dragToSeek||this.initDrag(),this.scrollContainer.addEventListener("scroll",()=>{const{scrollLeft:D,scrollWidth:w,clientWidth:B}=this.scrollContainer;this.emit("scroll",D/w,(D+B)/w,D,D+B)}),"function"==typeof ResizeObserver){const D=this.createDelay(100);this.resizeObserver=new ResizeObserver(()=>{D().then(()=>this.onContainerResize()).catch(()=>{})}),this.resizeObserver.observe(this.scrollContainer)}}onContainerResize(){const S=this.parent.clientWidth;S===this.lastContainerWidth&&"auto"!==this.options.height||(this.lastContainerWidth=S,this.reRender())}initDrag(){this.subscriptions.push(function(S,D,w,B,te=3,Ee=0,ze=100){if(!S)return()=>{};const gt=matchMedia("(pointer: coarse)").matches;let Dt=()=>{};const Wt=yn=>{if(yn.button!==Ee)return;yn.preventDefault(),yn.stopPropagation();let Bn=yn.clientX,Ln=yn.clientY,Jn=!1;const ir=Date.now(),Tr=Mi=>{if(Mi.preventDefault(),Mi.stopPropagation(),gt&&Date.now()-ir<ze)return;const yi=Mi.clientX,Ei=Mi.clientY,uo=yi-Bn,Do=Ei-Ln;if(Jn||Math.abs(uo)>te||Math.abs(Do)>te){const jo=S.getBoundingClientRect(),{left:Vs,top:_s}=jo;Jn||(null==w||w(Bn-Vs,Ln-_s),Jn=!0),D(uo,Do,yi-Vs,Ei-_s),Bn=yi,Ln=Ei}},Zr=Mi=>{if(Jn){const yi=Mi.clientX,Ei=Mi.clientY,uo=S.getBoundingClientRect(),{left:Do,top:jo}=uo;null==B||B(yi-Do,Ei-jo)}Dt()},fi=Mi=>{Mi.relatedTarget&&Mi.relatedTarget!==document.documentElement||Zr(Mi)},Ai=Mi=>{Jn&&(Mi.stopPropagation(),Mi.preventDefault())},bi=Mi=>{Jn&&Mi.preventDefault()};document.addEventListener("pointermove",Tr),document.addEventListener("pointerup",Zr),document.addEventListener("pointerout",fi),document.addEventListener("pointercancel",fi),document.addEventListener("touchmove",bi,{passive:!1}),document.addEventListener("click",Ai,{capture:!0}),Dt=()=>{document.removeEventListener("pointermove",Tr),document.removeEventListener("pointerup",Zr),document.removeEventListener("pointerout",fi),document.removeEventListener("pointercancel",fi),document.removeEventListener("touchmove",bi),setTimeout(()=>{document.removeEventListener("click",Ai,{capture:!0})},10)}};return S.addEventListener("pointerdown",Wt),()=>{Dt(),S.removeEventListener("pointerdown",Wt)}}(this.wrapper,(S,D,w)=>{this.emit("drag",Math.max(0,Math.min(1,w/this.wrapper.getBoundingClientRect().width)))},S=>{this.isDragging=!0,this.emit("dragstart",Math.max(0,Math.min(1,S/this.wrapper.getBoundingClientRect().width)))},S=>{this.isDragging=!1,this.emit("dragend",Math.max(0,Math.min(1,S/this.wrapper.getBoundingClientRect().width)))}))}getHeight(S,D){var w;const B=(null===(w=this.audioData)||void 0===w?void 0:w.numberOfChannels)||1;if(null==S)return 128;if(!isNaN(Number(S)))return Number(S);if("auto"===S){const te=this.parent.clientHeight||128;return null!=D&&D.every(Ee=>!Ee.overlay)?te/B:te}return 128}initHtml(){const S=document.createElement("div"),D=S.attachShadow({mode:"open"});return D.innerHTML=`\n <style>\n :host {\n user-select: none;\n min-width: 1px;\n }\n :host audio {\n display: block;\n width: 100%;\n }\n :host .scroll {\n overflow-x: auto;\n overflow-y: hidden;\n width: 100%;\n position: relative;\n }\n :host .noScrollbar {\n scrollbar-color: transparent;\n scrollbar-width: none;\n }\n :host .noScrollbar::-webkit-scrollbar {\n display: none;\n -webkit-appearance: none;\n }\n :host .wrapper {\n position: relative;\n overflow: visible;\n z-index: 2;\n }\n :host .canvases {\n min-height: ${this.getHeight(this.options.height,this.options.splitChannels)}px;\n }\n :host .canvases > div {\n position: relative;\n }\n :host canvas {\n display: block;\n position: absolute;\n top: 0;\n image-rendering: pixelated;\n }\n :host .progress {\n pointer-events: none;\n position: absolute;\n z-index: 2;\n top: 0;\n left: 0;\n width: 0;\n height: 100%;\n overflow: hidden;\n }\n :host .progress > div {\n position: relative;\n }\n :host .cursor {\n pointer-events: none;\n position: absolute;\n z-index: 5;\n top: 0;\n left: 0;\n height: 100%;\n border-radius: 2px;\n }\n </style>\n\n <div class="scroll" part="scroll">\n <div class="wrapper" part="wrapper">
vendor: 6,428 bytes, line 1
1\n <div class="canvases" part="canvases"></div>\n <div class="progress" part="progress"></div>\n <div class="cursor" part="cursor"></div>\n </div>\n </div>\n `,[S,D]}setOptions(S){if(this.options.container!==S.container){const D=this.parentFromOptionsContainer(S.container);D.appendChild(this.container),this.parent=D}!0!==S.dragToSeek&&"object"!=typeof this.options.dragToSeek||this.initDrag(),this.options=S,this.reRender()}getWrapper(){return this.wrapper}getWidth(){return this.scrollContainer.clientWidth}getScroll(){return this.scrollContainer.scrollLeft}setScroll(S){this.scrollContainer.scrollLeft=S}setScrollPercentage(S){const{scrollWidth:D}=this.scrollContainer;this.setScroll(D*S)}destroy(){var S,D;this.subscriptions.forEach(w=>w()),this.container.remove(),null===(S=this.resizeObserver)||void 0===S||S.disconnect(),null===(D=this.unsubscribeOnScroll)||void 0===D||D.call(this)}createDelay(S=10){let D,w;const B=()=>{D&&clearTimeout(D),w&&w()};return this.timeouts.push(B),()=>new Promise((te,Ee)=>{B(),w=Ee,D=setTimeout(()=>{D=void 0,w=void 0,te()},S)})}convertColorValues(S){if(!Array.isArray(S))return S||"";if(S.length<2)return S[0]||"";const D=document.createElement("canvas"),w=D.getContext("2d"),B=D.height*(window.devicePixelRatio||1),te=w.createLinearGradient(0,0,0,B),Ee=1/(S.length-1);return S.forEach((ze,gt)=>{te.addColorStop(gt*Ee,ze)}),te}getPixelRatio(){return Math.max(1,window.devicePixelRatio||1)}renderBarWaveform(S,D,w,B){const te=S[0],Ee=S[1]||S[0],ze=te.length,{width:gt,height:Dt}=w.canvas,Wt=Dt/2,yn=this.getPixelRatio(),Bn=D.barWidth?D.barWidth*yn:1,Ln=D.barGap?D.barGap*yn:D.barWidth?Bn/2:0,Jn=D.barRadius||0,ir=gt/(Bn+Ln)/ze,Tr=Jn&&"roundRect"in w?"roundRect":"rect";w.beginPath();let Zr=0,fi=0,Ai=0;for(let bi=0;bi<=ze;bi++){const Mi=Math.round(bi*ir);if(Mi>Zr){const uo=Math.round(fi*Wt*B),Do=uo+Math.round(Ai*Wt*B)||1;let jo=Wt-uo;"top"===D.barAlign?jo=0:"bottom"===D.barAlign&&(jo=Dt-Do),w[Tr](Zr*(Bn+Ln),jo,Bn,Do,Jn),Zr=Mi,fi=0,Ai=0}const yi=Math.abs(te[bi]||0),Ei=Math.abs(Ee[bi]||0);yi>fi&&(fi=yi),Ei>Ai&&(Ai=Ei)}w.fill(),w.closePath()}renderLineWaveform(S,D,w,B){const te=Ee=>{const ze=S[Ee]||S[0],gt=ze.length,{height:Dt}=w.canvas,Wt=Dt/2,yn=w.canvas.width/gt;w.moveTo(0,Wt);let Bn=0,Ln=0;for(let Jn=0;Jn<=gt;Jn++){const ir=Math.round(Jn*yn);if(ir>Bn){const Zr=Wt+(Math.round(Ln*Wt*B)||1)*(0===Ee?-1:1);w.lineTo(Bn,Zr),Bn=ir,Ln=0}const Tr=Math.abs(ze[Jn]||0);Tr>Ln&&(Ln=Tr)}w.lineTo(Bn,Wt)};w.beginPath(),te(0),te(1),w.fill(),w.closePath()}renderWaveform(S,D,w){if(w.fillStyle=this.convertColorValues(D.waveColor),D.renderFunction)return void D.renderFunction(S,w);let B=D.barHeight||1;if(D.normalize){const te=Array.from(S[0]).reduce((Ee,ze)=>Math.max(Ee,Math.abs(ze)),0);B=te?1/te:1}D.barWidth||D.barGap||D.barAlign?this.renderBarWaveform(S,D,w,B):this.renderLineWaveform(S,D,w,B)}renderSingleCanvas(S,D,w,B,te,Ee,ze){const gt=this.getPixelRatio(),Dt=document.createElement("canvas");Dt.width=Math.round(w*gt),Dt.height=Math.round(B*gt),Dt.style.width=`${w}px`,Dt.style.height=`${B}px`,Dt.style.left=`${Math.round(te)}px`,Ee.appendChild(Dt);const Wt=Dt.getContext("2d");if(this.renderWaveform(S,D,Wt),Dt.width>0&&Dt.height>0){const yn=Dt.cloneNode(),Bn=yn.getContext("2d");Bn.drawImage(Dt,0,0),Bn.globalCompositeOperation="source-in",Bn.fillStyle=this.convertColorValues(D.progressColor),Bn.fillRect(0,0,Dt.width,Dt.height),ze.appendChild(yn)}}renderMultiCanvas(S,D,w,B,te,Ee){const ze=this.getPixelRatio(),{clientWidth:gt}=this.scrollContainer;if(gt*ze>=w)return void this.renderSingleCanvas(S,D,gt,B,0,te,Ee);const Dt=w/ze;let Wt=Math.min(mr.MAX_CANVAS_WIDTH,gt,Dt),yn={};if(D.barWidth||D.barGap){const Tr=D.barWidth||.5,Zr=Tr+(D.barGap||Tr/2);Wt%Zr!=0&&(Wt=Math.floor(Wt/Zr)*Zr)}const Bn=Tr=>{if(Tr<0||Tr>=Ln||yn[Tr])return;yn[Tr]=!0;const Zr=Tr*Wt,fi=Math.min(Dt-Zr,Wt);if(fi<=0)return;const Ai=S.map(bi=>{const Mi=Math.floor(Zr/Dt*bi.length),yi=Math.floor((Zr+fi)/Dt*bi.length);return bi.slice(Mi,yi)});this.renderSingleCanvas(Ai,D,fi,B,Zr,te,Ee)},Ln=Math.ceil(Dt/Wt),ir=Math.floor(this.scrollContainer.scrollLeft/Dt*Ln);Bn(ir-1),Bn(ir),Bn(ir+1),Ln>1&&(this.unsubscribeOnScroll=this.on("scroll",()=>{const{scrollLeft:Tr}=this.scrollContainer,Zr=Math.floor(Tr/Dt*Ln);Object.keys(yn).length>mr.MAX_NODES&&(te.innerHTML="",Ee.innerHTML="",yn={}),Bn(Zr-1),Bn(Zr),Bn(Zr+1)}))}renderChannel(S,D,w,B){var{overlay:te}=D,Ee=function(Wt,yn){var Bn={};for(var Ln in Wt)Object.prototype.hasOwnProperty.call(Wt,Ln)&&yn.indexOf(Ln)<0&&(Bn[Ln]=Wt[Ln]);if(null!=Wt&&"function"==typeof Object.getOwnPropertySymbols){var Jn=0;for(Ln=Object.getOwnPropertySymbols(Wt);Jn<Ln.length;Jn++)yn.indexOf(Ln[Jn])<0&&Object.prototype.propertyIsEnumerable.call(Wt,Ln[Jn])&&(Bn[Ln[Jn]]=Wt[Ln[Jn]])}return Bn}(D,["overlay"]);const ze=document.createElement("div"),gt=this.getHeight(Ee.height,Ee.splitChannels);ze.style.height=`${gt}px`,te&&B>0&&(ze.style.marginTop=`-${gt}px`),this.canvasWrapper.style.minHeight=`${gt}px`,this.canvasWrapper.appendChild(ze);const Dt=ze.cloneNode();this.progressWrapper.appendChild(Dt),this.renderMultiCanvas(S,Ee,w,gt,ze,Dt)}render(S){return Se(this,void 0,void 0,function*(){var D;this.timeouts.forEach(gt=>gt()),this.timeouts=[],this.canvasWrapper.innerHTML="",this.progressWrapper.innerHTML="",null!=this.options.width&&(this.scrollContainer.style.width="number"==typeof this.options.width?`${this.options.width}px`:this.options.width);const w=this.getPixelRatio(),B=this.scrollContainer.clientWidth,te=Math.ceil(S.duration*(this.options.minPxPerSec||0));this.isScrollable=te>B;const Ee=this.options.fillParent&&!this.isScrollable,ze=(Ee?B:te)*w;if(this.wrapper.style.width=Ee?"100%":`${te}px`,this.scrollContainer.style.overflowX=this.isScrollable?"auto":"hidden",this.scrollContainer.classList.toggle("noScrollbar",!!this.options.hideScrollbar),this.cursor.style.backgroundColor=`${this.options.cursorColor||this.options.progressColor}`,this.cursor.style.width=`${this.options.cursorWidth}px`,this.audioData=S,this.emit("render"),this.options.splitChannels)for(let gt=0;gt<S.numberOfChannels;gt++){const Dt=Object.assign(Object.assign({},this.options),null===(D=this.options.splitChannels)||void 0===D?void 0:D[gt]);this.renderChannel([S.getChannelData(gt)],Dt,ze,gt)}else{const gt=[S.getChannelData(0)];S.numberOfChannels>1&>.push(S.getChannelData(1)),this.renderChannel(gt,this.options,ze,0)}Promise.resolve().then(()=>
1this.emit("rendered"))})}reRender(){var S;if(null===(S=this.unsubscribeOnScroll)||void 0===S||S.call(this),delete this.unsubscribeOnScroll,!this.audioData)return;const{scrollWidth:D}=this.scrollContainer,{right:w}=this.progressWrapper.getBoundingClientRect();if(this.render(this.audioData),this.isScrollable&&D!==this.scrollContainer.scrollWidth){const{right:B}=this.progressWrapper.getBoundingClientRect();let te=B-w;te*=2,te=te<0?Math.floor(te):Math.ceil(te),te/=2,this.scrollContainer.scrollLeft+=te}}zoom(S){this.options.minPxPerSec=S,this.reRender()}scrollIntoView(S,D=!1){const{scrollLeft:w,scrollWidth:B,clientWidth:te}=this.scrollContainer,Ee=S*B,ze=w,gt=w+te,Dt=te/2;if(this.isDragging)Ee+30>gt?this.scrollContainer.scrollLeft+=30:Ee-30<ze&&(this.scrollContainer.scrollLeft-=30);else{(Ee<ze||Ee>gt)&&(this.scrollContainer.scrollLeft=Ee-(this.options.autoCenter?Dt:0));const Wt=Ee-w-Dt;D&&this.options.autoCenter&&Wt>0&&(this.scrollContainer.scrollLeft+=Math.min(Wt,10))}{const Wt=this.scrollContainer.scrollLeft;this.emit("scroll",Wt/B,(Wt+te)/B,Wt,Wt+te)}}renderProgress(S,D){if(isNaN(S))return;const w=100*S;this.canvasWrapper.style.clipPath=`polygon(${w}% 0, 100% 0, 100% 100%, ${w}% 100%)`,this.progressWrapper.style.width=`${w}%`,this.cursor.style.left=`${w}%`,this.cursor.style.transform=`translateX(-${100===Math.round(w)?this.options.cursorWidth:0}px)`,this.isScrollable&&this.options.autoScroll&&this.scrollIntoView(S,D)}exportImage(S,D,w){return Se(this,void 0,void 0,function*(){const B=this.canvasWrapper.querySelectorAll("canvas");if(!B.length)throw new Error("No waveform data");if("dataURL"===w){const te=Array.from(B).map(Ee=>Ee.toDataURL(S,D));return Promise.resolve(te)}return Promise.all(Array.from(B).map(te=>new Promise((Ee,ze)=>{te.toBlob(gt=>{gt?Ee(gt):ze(new Error("Could not export image"))},S,D)})))})}}mr.MAX_CANVAS_WIDTH=8e3,mr.MAX_NODES=10;class Ur extends Ie{constructor(){super(...arguments),this.unsubscribe=()=>{}}start(){this.unsubscribe=this.on("tick",()=>{requestAnimationFrame(()=>{this.emit("tick")})}),this.emit("tick")}stop(){this.unsubscribe()}destroy(){this.unsubscribe()}}class Sr extends Ie{constructor(S=new AudioContext){super(),this.bufferNode=null,this.playStartTime=0,this.playedDuration=0,this._muted=!1,this._playbackRate=1,this._duration=void 0,this.buffer=null,this.currentSrc="",this.paused=!0,this.crossOrigin=null,this.seeking=!1,this.autoplay=!1,this.addEventListener=this.on,this.removeEventListener=this.un,this.audioContext=S,this.gainNode=this.audioContext.createGain(),this.gainNode.connect(this.audioContext.destination)}load(){return Se(this,void 0,void 0,function*(){})}get src(){return this.currentSrc}set src(S){if(this.currentSrc=S,this._duration=void 0,!S)return this.buffer=null,void this.emit("emptied");fetch(S).then(D=>
vendor: 8,447 bytes, line 1
1{if(D.status>=400)throw new Error(`Failed to fetch ${S}: ${D.status} (${D.statusText})`);return D.arrayBuffer()}).then(D=>this.currentSrc!==S?null:this.audioContext.decodeAudioData(D)).then(D=>{this.currentSrc===S&&(this.buffer=D,this.emit("loadedmetadata"),this.emit("canplay"),this.autoplay&&this.play())})}_play(){var S;if(!this.paused)return;this.paused=!1,null===(S=this.bufferNode)||void 0===S||S.disconnect(),this.bufferNode=this.audioContext.createBufferSource(),this.buffer&&(this.bufferNode.buffer=this.buffer),this.bufferNode.playbackRate.value=this._playbackRate,this.bufferNode.connect(this.gainNode);let D=this.playedDuration*this._playbackRate;D>=this.duration&&(D=0,this.playedDuration=0),this.bufferNode.start(this.audioContext.currentTime,D),this.playStartTime=this.audioContext.currentTime,this.bufferNode.onended=()=>{this.currentTime>=this.duration&&(this.pause(),this.emit("ended"))}}_pause(){var S;this.paused=!0,null===(S=this.bufferNode)||void 0===S||S.stop(),this.playedDuration+=this.audioContext.currentTime-this.playStartTime}play(){return Se(this,void 0,void 0,function*(){this.paused&&(this._play(),this.emit("play"))})}pause(){this.paused||(this._pause(),this.emit("pause"))}stopAt(S){var D,w;null===(D=this.bufferNode)||void 0===D||D.stop(this.audioContext.currentTime+(S-this.currentTime)),null===(w=this.bufferNode)||void 0===w||w.addEventListener("ended",()=>{this.bufferNode=null,this.pause()},{once:!0})}setSinkId(S){return Se(this,void 0,void 0,function*(){return this.audioContext.setSinkId(S)})}get playbackRate(){return this._playbackRate}set playbackRate(S){this._playbackRate=S,this.bufferNode&&(this.bufferNode.playbackRate.value=S)}get currentTime(){return(this.paused?this.playedDuration:this.playedDuration+(this.audioContext.currentTime-this.playStartTime))*this._playbackRate}set currentTime(S){const D=!this.paused;D&&this._pause(),this.playedDuration=S/this._playbackRate,D&&this._play(),this.emit("seeking"),this.emit("timeupdate")}get duration(){var S,D;return null!==(S=this._duration)&&void 0!==S?S:(null===(D=this.buffer)||void 0===D?void 0:D.duration)||0}set duration(S){this._duration=S}get volume(){return this.gainNode.gain.value}set volume(S){this.gainNode.gain.value=S,this.emit("volumechange")}get muted(){return this._muted}set muted(S){this._muted!==S&&(this._muted=S,this._muted?this.gainNode.disconnect():this.gainNode.connect(this.audioContext.destination))}canPlayType(S){return/^(audio|video)\//.test(S)}getGainNode(){return this.gainNode}getChannelData(){const S=[];if(!this.buffer)return S;const D=this.buffer.numberOfChannels;for(let w=0;w<D;w++)S.push(this.buffer.getChannelData(w));return S}}const Oi={waveColor:"#999",progressColor:"#555",cursorWidth:1,minPxPerSec:0,fillParent:!0,interact:!0,dragToSeek:!1,autoScroll:!0,autoCenter:!0,sampleRate:8e3};class qi extends rr{static create(S){return new qi(S)}constructor(S){const D=S.media||("WebAudio"===S.backend?new Sr:void 0);super({media:D,mediaControls:S.mediaControls,autoplay:S.autoplay,playbackRate:S.audioRate}),this.plugins=[],this.decodedData=null,this.subscriptions=[],this.mediaSubscriptions=[],this.abortController=null,this.options=Object.assign({},Oi,S),this.timer=new Ur;const w=D?void 0:this.getMediaElement();this.renderer=new mr(this.options,w),this.initPlayerEvents(),this.initRendererEvents(),this.initTimerEvents(),this.initPlugins();const B=this.options.url||this.getSrc()||"";Promise.resolve().then(()=>{this.emit("init");const{peaks:te,duration:Ee}=this.options;(B||te&&Ee)&&this.load(B,te,Ee).catch(()=>null)})}updateProgress(S=this.getCurrentTime()){return this.renderer.renderProgress(S/this.getDuration(),this.isPlaying()),S}initTimerEvents(){this.subscriptions.push(this.timer.on("tick",()=>{if(!this.isSeeking()){const S=this.updateProgress();this.emit("timeupdate",S),this.emit("audioprocess",S)}}))}initPlayerEvents(){this.isPlaying()&&(this.emit("play"),this.timer.start()),this.mediaSubscriptions.push(this.onMediaEvent("timeupdate",()=>{const S=this.updateProgress();this.emit("timeupdate",S)}),this.onMediaEvent("play",()=>{this.emit("play"),this.timer.start()}),this.onMediaEvent("pause",()=>{this.emit("pause"),this.timer.stop()}),this.onMediaEvent("emptied",()=>{this.timer.stop()}),this.onMediaEvent("ended",()=>{this.emit("finish")}),this.onMediaEvent("seeking",()=>{this.emit("seeking",this.getCurrentTime())}),this.onMediaEvent("error",S=>{this.emit("error",S.error)}))}initRendererEvents(){this.subscriptions.push(this.renderer.on("click",(S,D)=>{this.options.interact&&(this.seekTo(S),this.emit("interaction",S*this.getDuration()),this.emit("click",S,D))}),this.renderer.on("dblclick",(S,D)=>{this.emit("dblclick",S,D)}),this.renderer.on("scroll",(S,D,w,B)=>{const te=this.getDuration();this.emit("scroll",S*te,D*te,w,B)}),this.renderer.on("render",()=>{this.emit("redraw")}),this.renderer.on("rendered",()=>{this.emit("redrawcomplete")}),this.renderer.on("dragstart",S=>{this.emit("dragstart",S)}),this.renderer.on("dragend",S=>{this.emit("dragend",S)}));{let S;this.subscriptions.push(this.renderer.on("drag",D=>{if(!this.options.interact)return;let w;this.renderer.renderProgress(D),clearTimeout(S),this.isPlaying()?w=0:!0===this.options.dragToSeek?w=200:"object"==typeof this.options.dragToSeek&&void 0!==this.options.dragToSeek&&(w=this.options.dragToSeek.debounceTime),S=setTimeout(()=>{this.seekTo(D)},w),this.emit("interaction",D*this.getDuration()),this.emit("drag",D)}))}}initPlugins(){var S;null!==(S=this.options.plugins)&&void 0!==S&&S.length&&this.options.plugins.forEach(D=>{this.registerPlugin(D)})}unsubscribePlayerEvents(){this.mediaSubscriptions.forEach(S=>S()),this.mediaSubscriptions=[]}setOptions(S){this.options=Object.assign({},this.options,S),this.renderer.setOptions(this.options),S.audioRate&&this.setPlaybackRate(S.audioRate),null!=S.mediaControls&&(this.getMediaElement().controls=S.mediaControls)}registerPlugin(S){return S._init(this),this.plugins.push(S),this.subscriptions.push(S.once("destroy",()=>{this.plugins=this.plugins.filter(D=>D!==S)})),S}getWrapper(){return this.renderer.getWrapper()}getWidth(){return this.renderer.getWidth()}getScroll(){return this.renderer.getScroll()}setScroll(S){return this.renderer.setScroll(S)}setScrollTime(S){const D=S/this.getDuration();this.renderer.setScrollPercentage(D)}getActivePlugins(){return this.plugins}loadAudio(S,D,w,B){return Se(this,void 0,void 0,function*(){var te;if(this.emit("load",S),!this.options.media&&this.isPlaying()&&this.pause(),this.decodedData=null,!D&&!w){const ze=this.options.fetchParams||{};window.AbortController&&!ze.signal&&(this.abortController=new AbortController,ze.signal=null===(te=this.abortController)||void 0===te?void 0:te.signal);const gt=Dt=>this.emit("loading",Dt);D=yield Vn.fetchBlob(S,gt,ze)}this.setSrc(S,D);const Ee=yield new Promise(ze=>{const gt=B||this.getDuration();gt?ze(gt):this.mediaSubscriptions.push(this.onMediaEvent("loadedmetadata",()=>ze(this.getDuration()),{once:!0}))});if(!S&&!D){const ze=this.getMediaElement();ze instanceof Sr&&(ze.duration=Ee)}if(w)this.decodedData=Xe.createBuffer(w,Ee||0);else if(D){const ze=yield D.arrayBuffer();this.decodedData=yield Xe.decode(ze,this.options.sampleRate)}this.decodedData&&(this.emit("decode",this.getDuration()),this.renderer.render(this.decodedData)),this.emit("ready",this.getDuration())})}load(S,D,w){return Se(this,void 0,void 0,function*(){try{return yield this.loadAudio(S,void 0,D,w)}catch(B){throw this.emit("error",B),B}})}loadBlob(S,D,w){return Se(this,void 0,void 0,function*(){try{return yield this.loadAudio("",S,D,w)}catch(B){throw this.emit("error",B),B}})}zoom(S){if(!this.decodedData)throw new Error("No audio loaded");this.renderer.zoom(S),this.emit("zoom",S)}getDecodedData(){return this.decodedData}exportPeaks({channels:S=2,maxLength:D=8e3,precision:w=1e4}={}){if(!this.decodedData)throw new Error("The audio has not been decoded yet");const B=Math.min(S,this.decodedData.numberOfChannels),te=[];for(let Ee=0;Ee<B;Ee++){const ze=this.decodedData.getChannelData(Ee),gt=[],Dt=ze.length/D;for(let Wt=0;Wt<D;Wt++){const yn=ze.slice(Math.floor(Wt*Dt),Math.ceil((Wt+1)*Dt));let Bn=0;for(let Ln=0;Ln<yn.length;Ln++){const Jn=yn[Ln];Math.abs(Jn)>Math.abs(Bn)&&(Bn=Jn)}gt.push(Math.round(Bn*w)/w)}te.push(gt)}return te}getDuration(){let S=super.getDuration()||0;return 0!==S&&S!==1/0||!this.decodedData||(S=this.decodedData.duration),S}toggleInteraction(S){this.options.interact=S}
1setTime(S){super.setTime(S),this.updateProgress(S),this.emit("timeupdate",S)}seekTo(S){const D=this.getDuration()*S;this.setTime(D)}playPause(){return Se(this,void 0,void 0,function*(){return this.isPlaying()?this.pause():this.play()})}stop(){this.pause(),this.setTime(0)}skip(S){this.setTime(this.getCurrentTime()+S)}empty(){this.load("",[[0]],.001)}setMediaElement(S){this.unsubscribePlayerEvents(),super.setMediaElement(S),this.initPlayerEvents()}exportImage(){return Se(this,arguments,void 0,function*(S="image/png",D=1,w="dataURL"){return this.renderer.exportImage(S,D,w)})}destroy(){var S;this.emit("destroy"),null===(S=this.abortController)||void 0===S||S.abort(),this.plugins.forEach(D=>D.destroy()),this.subscriptions.forEach(D=>D()),this.unsubscribePlayerEvents(),this.timer.destroy(),this.renderer.destroy(),super.destroy()}}qi.BasePlugin=class extends Ie{constructor(j){super(),this.subscriptions=[],this.options=j}onInit(){}_init(j){this.wavesurfer=j,this.onInit()}destroy(){this.emit("destroy"),this.subscriptions.forEach(j=>j())}},qi.dom=un;var oo=function(j){return j.Prompt="PROMPT",j.Camera="CAMERA",j.Photos="PHOTOS",j}(oo||{}),po=function(j){return j.Rear="REAR",j.Front="FRONT",j}(po||{}),Wo=function(j){return j.Uri="uri",j.Base64="base64",j.DataUrl="dataUrl",j}(Wo||{});class Fo extends ni.E_{getPhoto(S){var D=this;return(0,T.A)(function*(){return new Promise(function(){var w=(0,T.A)(function*(B,te){if(S.webUseInput||S.source===oo.Photos)D.fileInputExperience(S,B,te);else if(S.source===oo.Prompt){let Ee=document.querySelector("pwa-action-sheet");Ee||(Ee=document.createElement("pwa-action-sheet"),document.body.appendChild(Ee)),Ee.header=S.promptLabelHeader||"Photo",Ee.cancelable=!1,Ee.options=[{title:S.promptLabelPhoto||"From Photos"},{title:S.promptLabelPicture||"Take Picture"}],Ee.addEventListener("onSelection",function(){var ze=(0,T.A)(function*(gt){0===gt.detail?D.fileInputExperience(S,B,te):D.cameraExperience(S,B,te)});return function(gt){return ze.apply(this,arguments)}}())}else D.cameraExperience(S,B,te)});return function(B,te){return w.apply(this,arguments)}}())})()}pickImages(S){var D=this;return(0,T.A)(function*(){return new Promise(function(){var w=(0,T.A)(function*(B,te){D.multipleFileInputExperience(B,te)});return function(B,te){return w.apply(this,arguments)}}())})()}cameraExperience(S,D,w){var B=this;return(0,T.A)(function*(){if(customElements.get("pwa-camera-modal")){const te=document.createElement("pwa-camera-modal");te.facingMode=S.direction===po.Front?"user":"environment",document.body.appendChild(te);try{yield te.componentOnReady(),te.addEventListener("onPhoto",function(){var Ee=(0,T.A)(function*(ze){const gt=ze.detail;null===gt?w(new ni.I9("User cancelled photos app")):gt instanceof Error?w(gt):D(yield B._getCameraPhoto(gt,S)),te.dismiss(),document.body.removeChild(te)});return function(ze){return Ee.apply(this,arguments)}}()),te.present()}catch{B.fileInputExperience(S,D,w)}}else console.error("Unable to load PWA Element 'pwa-camera-modal'. See the docs: https://capacitorjs.com/docs/web/pwa-elements."),B.fileInputExperience(S,D,w)})()}fileInputExperience(S,D,w){let B=document.querySelector("#_capacitor-camera-input");const te=()=>{var Ee;null===(Ee=B.parentNode)||void 0===Ee||Ee.removeChild(B)};B||(B=document.createElement("input"),B.id="_capacitor-camera-input",B.type="file",B.hidden=!0,document.body.appendChild(B),B.addEventListener("change",Ee=>{const ze=B.files[0];let gt="jpeg";if("image/png"===ze.type?gt="png":"image/gif"===ze.type&&(gt="gif"),"dataUrl"===S.resultType||"base64"===S.resultType){const Dt=new FileReader;Dt.addEventListener("load",()=>{if("dataUrl"===S.resultType)D({dataUrl:Dt.result,format:gt});else if("base64"===S.resultType){const Wt=Dt.result.split(",")[1];D({base64String:Wt,format:gt})}te()}),Dt.readAsDataURL(ze)}else D({webPath:URL.createObjectURL(ze),format:gt}),te()}),B.addEventListener("cancel",Ee=>{w(new ni.I9("User cancelled photos app")),te()})),B.accept="image/*",B.capture=!0,S.source===oo.Photos||S.source===oo.Prompt?B.removeAttribute("capture"):S.direction===po.Front?B.capture="user":S.direction===po.Rear&&(B.capture="environment"),B.click()}multipleFileInputExperience(S,D){let w=document.querySelector("#_capacitor-camera-in
1put-multiple");const B=()=>{var te;null===(te=w.parentNode)||void 0===te||te.removeChild(w)};w||(w=document.createElement("input"),w.id="_capacitor-camera-input-multiple",w.type="file",w.hidden=!0,w.multiple=!0,document.body.appendChild(w),w.addEventListener("change",te=>{const Ee=[];for(let ze=0;ze<w.files.length;ze++){const gt=w.files[ze];let Dt="jpeg";"image/png"===gt.type?Dt="png":"image/gif"===gt.type&&(Dt="gif"),Ee.push({webPath:URL.createObjectURL(gt),format:Dt})}S({photos:Ee}),B()}),w.addEventListener("cancel",te=>{D(new ni.I9("User cancelled photos app")),B()})),w.accept="image/*",w.click()}_getCameraPhoto(S,D){return new Promise((w,B)=>{const te=new FileReader,Ee=S.type.split("/")[1];"uri"===D.resultType?w({webPath:URL.createObjectURL(S),format:Ee,saved:!1}):(te.readAsDataURL(S),te.onloadend=()=>{const ze=te.result;w("dataUrl"===D.resultType?{dataUrl:ze,format:Ee,saved:!1}:{base64String:ze.split(",")[1],format:Ee,saved:!1})},te.onerror=ze=>{B(ze)})})}checkPermissions(){var S=this;return(0,T.A)(function*(){if(typeof navigator>"u"||!navigator.permissions)throw S.unavailable("Permissions API not available in this browser");try{return{camera:(yield window.navigator.permissions.query({name:"camera"})).state,photos:"granted"}}catch{throw S.unavailable("Camera permissions are not available in this browser")}})()}requestPermissions(){var S=this;return(0,T.A)(function*(){throw S.unimplemented("Not implemented on web.")})()}pickLimitedLibraryPhotos(){var S=this;return(0,T.A)(function*(){throw S.unavailable("Not implemented on web.")})()}getLimitedLibraryPhotos(){var S=this;return(0,T.A)(function*(){throw S.unavailable("Not implemented on web.")})()}}new Fo;const Qo=(0,ni.F3)("Camera",{web:()=>new Fo});var cl=f(43150);const $a=[{id:"_first",name:"first",emojis:["1F600","1F603","1F604","1F601","1F606","1F605","1F923","1F602","1F642","1F643","1F609","1F60A","1F607","1F970","1F60D","1F929","1F618","1F617","263A-FE0F","1F61A","1F619","1F972","1F60B","1F61B","1F61C","1F92A","1F61D","1F911","1F917","1F92D","1F92B","1F914","1F910","1F928","1F610","1F611","1F636","1F60F","1F612","1F644","1F62C","1F925","1F60C","1F614","1F62A","1F924","1F634","1F637","1F912","1F915","1F922","1F92E","1F927","1F975","1F976","1F974","1F635","1F92F","1F920","1F973","1F978","1F60E","1F913","1F9D0","1F615","1F61F","1F641","2639-FE0F","1F62E","1F62F","1F632","1F633","1F97A","1F626","1F627","1F628","1F630","1F625","1F622","1F62D","1F631","1F616","1F623","1F61E","1F613","1F629","1F62B","1F971","1F624","1F621","1F620","1F92C","1F608","1F47F","1F480","2620-FE0F","1F4A9","1F921","1F479","1F47A","1F47B","1F47D","1F47E","1F916","1F63A","1F638","1F639","1F63B","1F63C","1F63D","1F640","1F63F","1F63E","1F648","1F44B","1F91A","1F590-FE0F","270B","1F596","1F44C","1F90C","1F90F","270C-FE0F","1F91E","1F91F","1F918","1F919","1F448","1F449","1F446","1F595","1F447","261D-FE0F","1F44D","1F44E","270A","1F44A","1F91B","1F91C","1F44F","1F64C","1F450","1F932","1F91D","1F64F","270D-FE0F","1F485","1F933","1F4AA","1F9BE","1F9BF","1F9B5","1F9B6","1F442","1F9BB","1F443","1F9E0","1FAC0","1FAC1","1F9B7","1F9B4","1F440","1F441-FE0F","1F445","1F444","1F476","1F9D2","1F466","1F467","1F9D1","1F471","1F468","1F9D4","1F468-200D-1F9B0","1F468-200D-1F9B1","1F468-200D-1F9B3","1F468-200D-1F9B2","1F469","1F469-200D-1F9B0","1F9D1-200D-1F9B0","1F469-200D-1F9B1","1F9D1-200D-1F9B1","1F469-200D-1F9B3","1F9D1-200D-1F9B3","1F469-200D-1F9B2","1F9D1-200D-1F9B2","1F471-200D-2640-FE0F","1F471-200D-2642-FE0F","1F9D3","1F474","1F475","1F64D","1F64D-200D-2642-FE0F","1F64D-200D-2640-FE0F","1F64E","1F64E-200D-2642-FE0F","1F64E-200D-2640-FE0F","1F645","1F645-200D-2642-FE0F","1F645-200D-2640-FE0F","1F646","1F646-200D-2642-FE0F","1F646-200D-2640-FE0F","1F481","1F481-200D-2642-FE0F","1F481-200D-2640-FE0F","1F64B","1F64B-200D-2642-FE0F","1F64B-200D-2640-FE0F","1F9CF","1F9CF-200D-2642-FE0F","1F9CF-200D-2640-FE0F","1F647","1F647-200D-2642-FE0F","1F647-200D-2640-FE0F","1F926","1F926-200D-2642-FE0F","1F926-200D-2640-FE0F","1F937","1F937-200D-2642-FE0F","1F937-200D-2640-FE0F","1F9D1-200D-2695-FE0F","1F468-200D-2695-FE0F","1F469-200D-2695-FE0F","1F9D1-200D-1F393","1F468-200D-1F393","1F469-200D-1F393","1F9D1-200D-1F3EB","1F468-200D-1F3EB","1F469-200D-1F3EB","1F9D1-200D-2696-FE0F","1F468-200D-2696-FE0F","1F469-200D-2696-FE0F","1F9D1-200D-1F33E","1F468-200D-1F33E","1F469-200D-1F33E","1F9D1-200D-1F373","1F468-200D-1F373","1F469-200D-1F373","1F9D1-200D-1F527","1F468-200D-1F527","1F469-200D-1F527","1F9D1-200D-1F3ED","1F468-200D-1F3ED","1F469-200D-1F3ED","1F9D1-200D-1F4BC","1F468-200D-1F4BC","1F469-200D-1F4BC","1F9D1-200D-1F52C","1F468-200D-1F52C","1F469-200D-1F52C","1F9D1-200D-1F4BB","1F468-200D-1F4BB","1F469-200D-1F4BB","1F9D1-200D-1F3A4","1F468-200D-1F3A4","1F469-200D-1F3A4","1F9D1-200D-1F3A8","1F468-200D-1F3A8","1F469-200D-1F3A8","1F9D1-200D-2708-FE0F","1F468-200D-2708-FE0F","1F469-200D-2708-FE0F","1F9D1-200D-1F680","1F468-200D-1F680","1F469-200D-1F680","1F9D1-200D-1F692","1F468-200D-1F692","1F469-200D-1F692","1F46E","1F46E-200D-2642-FE0F","1F46E-200D-2640-FE0F","1F575-
1FE0F","1F575-FE0F-200D-2642-FE0F","1F575-FE0F-200D-2640-FE0F","1F482","1F482-200D-2642-FE0F","1F482-200D-2640-FE0F","1F977","1F477","1F477-200D-2642-FE0F","1F477-200D-2640-FE0F","1F934","1F478","1F473","1F473-200D-2642-FE0F","1F473-200D-2640-FE0F","1F472","1F9D5","1F935","1F935-200D-2642-FE0F","1F935-200D-2640-FE0F","1F470","1F470-200D-2642-FE0F","1F470-200D-2640-FE0F","1F930","1F931","1F469-200D-1F37C","1F468-200D-1F37C","1F9D1-200D-1F37C","1F47C","1F385","1F936","1F9D1-200D-1F384","1F9B8","1F9B8-200D-2642-FE0F","1F9B8-200D-2640-FE0F","1F9B9","1F9B9-200D-2642-FE0F","1F9B9-200D-2640-FE0F","1F9D9","1F9D9-200D-2642-FE0F","1F9D9-200D-2640-FE0F","1F9DA","1F9DA-200D-2642-FE0F","1F9DA-200D-2640-FE0F","1F9DB","1F9DB-200D-2642-FE0F","1F9DB-200D-2640-FE0F","1F9DC","1F9DC-200D-2642-FE0F","1F9DC-200D-2640-FE0F","1F9DD","1F9DD-200D-2642-FE0F","1F9DD-200D-2640-FE0F","1F9DE","1F9DE-200D-2642-FE0F","1F9DE-200D-2640-FE0F","1F9DF","1F9DF-200D-2642-FE0F","1F9DF-200D-2640-FE0F","1F486","1F486-200D-2642-FE0F","1F486-200D-2640-FE0F","1F487","1F487-200D-2642-FE0F","1F487-200D-2640-FE0F","1F6B6","1F6B6-200D-2642-FE0F","1F6B6-200D-2640-FE0F","1F9CD","1F9CD-200D-2642-FE0F","1F9CD-200D-2640-FE0F","1F9CE","1F9CE-200D-2642-FE0F","1F9CE-200D-2640-FE0F","1F9D1-200D-1F9AF","1F468-200D-1F9AF","1F469-200D-1F9AF","1F9D1-200D-1F9BC","1F468-200D-1F9BC","1F469-200D-1F9BC","1F9D1-200D-1F9BD","1F468-200D-1F9BD","1F469-200D-1F9BD","1F3C3","1F3C3-200D-2642-FE0F","1F3C3-200D-2640-FE0F","1F483","1F57A","1F574-FE0F","1F46F","1F46F-200D-2642-FE0F","1F46F-200D-2640-FE0F","1F9D6","1F9D6-200D-2642-FE0F","1F9D6-200D-2640-FE0F","1F9D7","1F9D7-200D-2642-FE0F","1F9D7-200D-2640-FE0F","1F93A","1F3C7","26F7-FE0F","1F3C2","1F3CC-FE0F","1F3CC-FE0F-200D-2642-FE0F","1F3CC-FE0F-200D-2640-FE0F","1F3C4","1F3C4-200D-2642-FE0F","1F3C4-200D-2640-FE0F","1F6A3","1F6A3-200D-2642-FE0F","1F6A3-200D-2640-FE0F","1F3CA","1F3CA-200D-2642-FE0F","1F3CA-200D-2640-FE0F","26F9-FE0F","26F9-FE0F-200D-2642-FE0F","26F9-FE0F-200D-2640-FE0F","1F3CB-FE0F","1F3CB-FE0F-200D-2642-FE0F","1F3CB-FE0F-200D-2640-FE0F","1F6B4","1F6B4-200D-2642-FE0F","1F6B4-200D-2640-FE0F","1F6B5","1F6B5-200D-2642-FE0F","1F6B5-200D-2640-FE0F","1F938","1F938-200D-2642-FE0F","1F938-200D-2640-FE0F","1F93C","1F93C-200D-2642-FE0F","1F93C-200D-2640-FE0F","1F93D","1F93D-200D-2642-FE0F","1F93D-200D-2640-FE0F","1F93E","1F93E-200D-2642-FE0F","1F93E-200D-2640-FE0F","1F939","1F939-200D-2642-FE0F","1F939-200D-2640-FE0F","1F9D8","1F9D8-200D-2642-FE0F","1F9D8-200D-2640-FE0F","1F6C0","1F6CC","1F9D1-200D-1F91D-200D-1F9D1","1F46D","1F46B","1F46C","1F48F","1F469-200D-2764-FE0F-200D-1F48B-200D-1F468","1F468-200D-2764-FE0F-200D-1F48B-200D-1F468","1F469-200D-2764-FE0F-200D-1F48B-200D-1F469","1F491","1F469-200D-2764-FE0F-200D-1F468","1F468-200D-2764-FE0F-200D-1F468","1F469-200D-2764-FE0F-200D-1F469","1F46A","1F468-200D-1F469-200D-1F466","1F468-200D-1F469-200D-1F467","1F468-200D-1F469-200D-1F467-200D-1F466","1F468-200D-1F469-200D-1F466-200D-1F466","1F468-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F468-200D-1F466","1F468-200D-1F468-200D-1F467","1F468-200D-1F468-200D-1F467-200D-1F466","1F468-200D-1F468-200D-1F466-200D-1F466","1F468-200D-1F468-200D-1F467-200D-1F467","1F469-200D-1F469-200D-1F466","1F469-200D-1F469-200D-1F467","1F469-200D-1F469-200D-1F467-200D-1F466","1F469-200D-1F469-200D-1F466-200D-1F466","1F469-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F466","1F468-200D-1F466-200D-1F466","1F468-200D-1F467","1F468-200D-1F467-200D-1F466","1F468-200D-1F467-200D-1F467","1F469-200D-1F466","1F469-200D-1F466-200D-1F466","1F469-200D-1F467","1F469-200D-1F467-200D-1F466","1F469-200D-1F467-200D-1F467","1F5E3-FE0F","1F464","1F465","1FAC2","1F463","1F649","1F64A","1F48B","1F48C","1F498","1F49D","1F496","1F497","1F493","1F49E","1F495","1F49F","2763-FE0F","1F494","2764-FE0F","1F9E1","1F49B","1F49A","1F499","1F49C","1F90E","1F5A4","1F90D","1F4AF","1F4A2","1F4A5","1F4AB","1F4A6","1F4A8","1F573-FE0F","1F4A3","1F4AC","1F441-FE0F-200D-1F5E8-FE0F","1F5E8-FE0F","1F5EF-FE0F","1F4AD","1F4A4"]},{id:"nature",name:"Animals & Nature",emojis:["1F435","1F412","1F98D","1F9A7","1F436","1F415","1F9AE","1F415-200D-1F9BA","1F429","1F43A","1F98A","1F99D","1F431","1F408","1F408-200D-2B1B","1F981","1F42F","1F405","1F406","1F434","1F40E","1F984","1F993","1F98C","1F9AC","1F42E","1F402","1F403","1F404","1F437","1F416","1F417","1F43D","1F40F","1F411","1F410","1F42A","1F42B","1F999","1F992","1F418","1F9A3","1F98F","1F99B","1F42D","1F401","1F400","1F439","1F430","1F407","1F43F-FE0F","1F9AB","1F994","1F987","1F43B","1F43B-200D-2744-FE0F","1F428","1F43C","1F9A5","1F9A6","1F9A8","1F998","1F9A1","1F43E","1F983","1F414","1F413","1F423","1F424","1F425","1F426","1F427","1F54A-FE0F","1F985","1F986","1F9A2","1F989","1F9A4","1FAB6","1F9A9","1F99A","1F99C","1F438","1F40A","1F422","1F98E","1F40D","1F432","1F409","1F995","1F996","1F433","1F40B","1F42C","1F9AD","1F41F","1F420","1F421","1F988","1F419","1F41A","1F40C","1F98B","1F41B","1F41C","1F41D","1FAB2","1F41E","1F997","1FAB3","1F577-FE0F","1F578-FE0F","1F982","1F99F","1FAB0","1FAB1","1F9A0","1F490","1F338","1F4AE","1F3F5-FE0F","1F339","1F940","1F33A","1F33B","1F33C","1F337","1F331","1FAB4","1F332","1F333","1F334","1F335","1F33E","1F33F","2618-FE0F","1F340","1F341","1F342","1F343"]},{id:"foods",name:"Food & Drink",emojis:["1F347","1F348","1F349","1F34A","1F34B","1F34C","1F34D","1F96D","1F34E","1F34F","1F350","1F351","1F352","1F353","1FAD0","1F95D","1F345","1FAD2","1F965","1F951","1F346","1F954","1F955","1F33D","1F336-FE0F","1FAD1","1F952","1F96C","1F966","1F9C4","1F9C5","1F344","1F95C","1F33
10","1F35E","1F950","1F956","1FAD3","1F968","1F96F","1F95E","1F9C7","1F9C0","1F356","1F357","1F969","1F953","1F354","1F35F","1F355","1F32D","1F96A","1F32E","1F32F","1FAD4","1F959","1F9C6","1F95A","1F373","1F958","1F372","1FAD5","1F963","1F957","1F37F","1F9C8","1F9C2","1F96B","1F371","1F358","1F359","1F35A","1F35B","1F35C","1F35D","1F360","1F362","1F363","1F364","1F365","1F96E","1F361","1F95F","1F960","1F961","1F980","1F99E","1F990","1F991","1F9AA","1F366","1F367","1F368","1F369","1F36A","1F382","1F370","1F9C1","1F967","1F36B","1F36C","1F36D","1F36E","1F36F","1F37C","1F95B","2615","1FAD6","1F375","1F376","1F37E","1F377","1F378","1F379","1F37A","1F37B","1F942","1F943","1F964","1F9CB","1F9C3","1F9C9","1F9CA","1F962","1F37D-FE0F","1F374","1F944","1F52A","1F3FA"]},{id:"activity",name:"Activities",emojis:["1F383","1F384","1F386","1F387","1F9E8","2728","1F388","1F389","1F38A","1F38B","1F38D","1F38E","1F38F","1F390","1F391","1F9E7","1F380","1F381","1F397-FE0F","1F39F-FE0F","1F3AB","1F396-FE0F","1F3C6","1F3C5","1F947","1F948","1F949","26BD","26BE","1F94E","1F3C0","1F3D0","1F3C8","1F3C9","1F3BE","1F94F","1F3B3","1F3CF","1F3D1","1F3D2","1F94D","1F3D3","1F3F8","1F94A","1F94B","1F945","26F3","26F8-FE0F","1F3A3","1F93F","1F3BD","1F3BF","1F6F7","1F94C","1F3AF","1FA80","1FA81","1F3B1","1F52E","1FA84","1F9FF","1F3AE","1F579-FE0F","1F3B0","1F3B2","1F9E9","1F9F8","1FA85","1FA86","2660-FE0F","2665-FE0F","2666-FE0F","2663-FE0F","265F-FE0F","1F0CF","1F004","1F3B4","1F3AD","1F5BC-FE0F","1F3A8","1F9F5","1FAA1","1F9F6","1FAA2"]},{id:"places",name:"Travel & Places",emojis:["1F30D","1F30E","1F30F","1F310","1F5FA-FE0F","1F5FE","1F9ED","1F3D4-FE0F","26F0-FE0F","1F30B","1F5FB","1F3D5-FE0F","1F3D6-FE0F","1F3DC-FE0F","1F3DD-FE0F","1F3DE-FE0F","1F3DF-FE0F","1F3DB-FE0F","1F3D7-FE0F","1F9F1","1FAA8","1FAB5","1F6D6","1F3D8-FE0F","1F3DA-FE0F","1F3E0","1F3E1","1F3E2","1F3E3","1F3E4","1F3E5","1F3E6","1F3E8","1F3E9","1F3EA","1F3EB","1F3EC","1F3ED","1F3EF","1F3F0","1F492","1F5FC","1F5FD","26EA","1F54C","1F6D5","1F54D","26E9-FE0F","1F54B","26F2","26FA","1F301","1F303","1F3D9-FE0F","1F304","1F305","1F306","1F307","1F309","2668-FE0F","1F3A0","1F3A1","1F3A2","1F488","1F3AA","1F682","1F683","1F684","1F685","1F686","1F687","1F688","1F689","1F68A","1F69D","1F69E","1F68B","1F68C","1F68D","1F68E","1F690","1F691","1F692","1F693","1F694","1F695","1F696","1F697","1F698","1F699","1F6FB","1F69A","1F69B","1F69C","1F3CE-FE0F","1F3CD-FE0F","1F6F5","1F9BD","1F9BC","1F6FA","1F6B2","1F6F4","1F6F9","1F6FC","1F68F","1F6E3-FE0F","1F6E4-FE0F","1F6E2-FE0F","26FD","1F6A8","1F6A5","1F6A6","1F6D1","1F6A7","2693","26F5","1F6F6","1F6A4","1F6F3-FE0F","26F4-FE0F","1F6E5-FE0F","1F6A2","2708-FE0F","1F6E9-FE0F","1F6EB","1F6EC","1FA82","1F4BA","1F681","1F69F","1F6A0","1F6A1","1F6F0-FE0F","1F680","1F6F8","1F6CE-FE0F","1F9F3","231B","23F3","231A","23F0","23F1-FE0F","23F2-FE0F","1F570-FE0F","1F55B","1F567","1F550","1F55C","1F551","1F55D","1F552","1F55E","1F553","1F55F","1F554","1F560","1F555","1F561","1F556","1F562","1F557","1F563","1F558","1F564","1F559","1F565","1F55A","1F566","1F311","1F312","1F313","1F314","1F315","1F316","1F317","1F318","1F319","1F31A","1F31B","1F31C","1F321-FE0F","2600-FE0F","1F31D","1F31E","1FA90","2B50","1F31F","1F320","1F30C","2601-FE0F","26C5","26C8-FE0F","1F324-FE0F","1F325-FE0F","1F326-FE0F","1F327-FE0F","1F328-FE0F","1F329-FE0F","1F32A-FE0F","1F32B-FE0F","1F32C-FE0F","1F300","1F308","1F302","2602-FE0F","2614","26F1-FE0F","26A1","2744-FE0F","2603-FE0F","26C4","2604-FE0F","1F525","1F4A7","1F30A"]},{id:"objects",name:"Objects",emojis:["1F453","1F576-FE0F","1F97D","1F97C","1F9BA","1F454","1F455","1F456","1F9E3","1F9E4","1F9E5","1F9E6","1F457","1F458","1F97B","1FA71","1FA72","1FA73","1F459","1F45A","1F45B","1F45C","1F45D","1F6CD-FE0F","1F392","1FA74","1F45E","1F45F","1F97E","1F97F","1F460","1F461","1FA70","1F462","1F451","1F452","1F3A9","1F393","1F9E2","1FA96","26D1-FE0F","1F4FF","1F484","1F48D","1F48E","1F507","1F508","1F509","1F50A","1F4E2","1F4E3","1F4EF","1F514","1F515","1F3BC","1F3B5","1F3B6","1F399-FE0F","1F39A-FE0F","1F39B-FE0F","1F3A4","1F3A7","1F4FB","1F3B7","1FA97","1F3B8","1F3B9","1F3BA","1F3BB","1FA95","1F941","1FA98","1F4F1","1F4F2","260E-FE0F","1F4DE","1F4DF","1F4E0","1F50B","1F50C","1F4BB","1F5A5-FE0F","1F5A8-FE0F","2328-FE0F","1F5B1-FE0F","1F5B2-FE0F","1F4BD","1F4BE","1F4BF","1F4C0","1F9EE","1F3A5","1F39E-FE0F","1F4FD-FE0F","1F3AC","1F4FA","1F4F7","1F4F8","1F4F9","1F4FC","1F50D","1F50E","1F56F-FE0F","1F4A1","1F526","1F3EE","1FA94","1F4D4","1F4D5","1F4D6","1F4D7","1F4D8","1F4D9","1F4DA","1F4D3","1F4D2","1F4C3","1F4DC","1F4C4","1F4F0","1F5DE-FE0F","1F4D1","1F516","1F3F7-FE0F","1F4B0","1FA99","1F4B4","1F4B5","1F4B6","1F4B7","1F4B8","1F4B3","1F9FE","1F4B9","2709-FE0F","1F4E7","1F4E8","1F4E9","1F4E4","1F4E5","1F4E6","1F4EB","1F4EA","1F4EC","1F4ED","1F4EE","1F5F3-FE0F","270F-FE0F","2712-FE0F","1F58B-FE0F","1F58A-FE0F","1F58C-FE0F","1F58D-FE0F","1F4DD","1F4BC","1F4C1","1F4C2","1F5C2-FE0F","1F4C5","1F4C6","1F5D2-FE0F","1F5D3-FE0F","1F4C7","1F4C8","1F4C9","1F4CA","1F4CB","1F4CC","1F4CD","1F4CE","1F587-FE0F","1F4CF","1F4D0","2702-FE0F","1F5C3-FE0F","1F5C4-FE0F","1F5D1-FE0F","1F512","1F513","1F50F","1F510","1F511","1F5DD-FE0F","1F528","1FA93","26CF-FE0F","2692-FE0F","1F6E0-FE0F","1F5E1-FE0F","2694-FE0F","1F52B","1FA83","1F3F9","1F6E1-FE0F","1FA9A","1F527","1FA9B","1F529","2699-FE0F","1F5DC-FE0F","2696-FE0F","1F9AF","1F517","26D3-FE0F","1FA9D","1F9F0","1F9F2","1FA9C","2697-FE0F","1F9EA","1F9EB","1F9EC","1F52C","1F52D","1F4E1","1F489","1FA78","1F48A","1FA79","1FA7A","1F6AA","1F6D7","1FA9E","1FA9F","1F6CF-FE0F","1F6CB-FE0F","1FA91","1F6BD","1FAA0","1F6BF","1F6C1","1FAA4","1FA92","1F9F4","1F9F7","1F9F9","1F9FA","1F9FB","1FAA3","1F9FC","1FAA5","1F9FD","1F9EF","1F6D2","1F6AC","26B0-FE0F","1FAA6","26B1-FE0F","1F5FF","1FAA7"]},{id:"symbols",name:"Symbols",emojis:["1F3E7","1F6AE","1F6B0","267F","1F6B9","1F6BA","1F6BB","1F6BC","1F6BE","1F6C2","1F6C3","1F6C4","1F6C5","26A0-FE0F","1F6B8","26D4","1F6AB","1F6B3","1F6AD","1F6AF","1F6B1","1F6B7","1F4F5","1F51E","2622-FE0
1F","2623-FE0F","2B06-FE0F","2197-FE0F","27A1-FE0F","2198-FE0F","2B07-FE0F","2199-FE0F","2B05-FE0F","2196-FE0F","2195-FE0F","2194-FE0F","21A9-FE0F","21AA-FE0F","2934-FE0F","2935-FE0F","1F503","1F504","1F519","1F51A","1F51B","1F51C","1F51D","1F6D0","269B-FE0F","1F549-FE0F","2721-FE0F","2638-FE0F","262F-FE0F","271D-FE0F","2626-FE0F","262A-FE0F","262E-FE0F","1F54E","1F52F","2648","2649","264A","264B","264C","264D","264E","264F","2650","2651","2652","2653","26CE","1F500","1F501","1F502","25B6-FE0F","23E9","23ED-FE0F","23EF-FE0F","25C0-FE0F","23EA","23EE-FE0F","1F53C","23EB","1F53D","23EC","23F8-FE0F","23F9-FE0F","23FA-FE0F","23CF-FE0F","1F3A6","1F505","1F506","1F4F6","1F4F3","1F4F4","2640-FE0F","2642-FE0F","26A7-FE0F","2716-FE0F","2795","2796","2797","267E-FE0F","203C-FE0F","2049-FE0F","2753","2754","2755","2757","3030-FE0F","1F4B1","1F4B2","2695-FE0F","267B-FE0F","269C-FE0F","1F531","1F4DB","1F530","2B55","2705","2611-FE0F","2714-FE0F","274C","274E","27B0","27BF","303D-FE0F","2733-FE0F","2734-FE0F","2747-FE0F","00A9-FE0F","00AE-FE0F","2122-FE0F","0023-FE0F-20E3","002A-FE0F-20E3","0030-FE0F-20E3","0031-FE0F-20E3","0032-FE0F-20E3","0033-FE0F-20E3","0034-FE0F-20E3","0035-FE0F-20E3","0036-FE0F-20E3","0037-FE0F-20E3","0038-FE0F-20E3","0039-FE0F-20E3","1F51F","1F520","1F521","1F522","1F523","1F524","1F170-FE0F","1F18E","1F171-FE0F","1F191","1F192","1F193","2139-FE0F","1F194","24C2-FE0F","1F195","1F196","1F17E-FE0F","1F197","1F17F-FE0F","1F198","1F199","1F19A","1F201","1F202-FE0F","1F237-FE0F","1F236","1F22F","1F250","1F239","1F21A","1F232","1F251","1F238","1F234","1F233","3297-FE0F","3299-FE0F","1F23A","1F235","1F534","1F7E0","1F7E1","1F7E2","1F535","1F7E3","1F7E4","26AB","26AA","1F7E5","1F7E7","1F7E8","1F7E9","1F7E6","1F7EA","1F7EB","2B1B","2B1C","25FC-FE0F","25FB-FE0F","25FE","25FD","25AA-FE0F","25AB-FE0F","1F536","1F537","1F538","1F539","1F53A","1F53B","1F4A0","1F518","1F533","1F532"]},{id:"flags",name:"Flags",emojis:["1F1E6-1F1E8","1F1E6-1F1E9","1F1E6-1F1EA","1F1E6-1F1EB","1F1E6-1F1EC","1F1E6-1F1EE","1F1E6-1F1F1","1F1E6-1F1F2","1F1E6-1F1F4","1F1E6-1F1F6","1F1E6-1F1F7","1F1E6-1F1F8","1F1E6-1F1F9","1F1E6-1F1FA","1F1E6-1F1FC","1F1E6-1F1FD","1F1E6-1F1FF","1F1E7-1F1E6","1F1E7-1F1E7","1F1E7-1F1E9","1F1E7-1F1EA","1F1E7-1F1EB","1F1E7-1F1EC","1F1E7-1F1ED","1F1E7-1F1EE","1F1E7-1F1EF","1F1E7-1F1F1","1F1E7-1F1F2","1F1E7-1F1F3","1F1E7-1F1F4","1F1E7-1F1F6","1F1E7-1F1F7","1F1E7-1F1F8","1F1E7-1F1F9","1F1E7-1F1FB","1F1E7-1F1FC","1F1E7-1F1FE","1F1E7-1F1FF","1F1E8-1F1E6","1F1E8-1F1E8","1F1E8-1F1E9","1F1E8-1F1EB","1F1E8-1F1EC","1F1E8-1F1ED","1F1E8-1F1EE","1F1E8-1F1F0","1F1E8-1F1F1","1F1E8-1F1F2","1F1E8-1F1F3","1F1E8-1F1F4","1F1E8-1F1F5","1F1E8-1F1F7","1F1E8-1F1FA","1F1E8-1F1FB","1F1E8-1F1FC","1F1E8-1F1FD","1F1E8-1F1FE","1F1E8-1F1FF","1F1E9-1F1EA","1F1E9-1F1EC","1F1E9-1F1EF","1F1E9-1F1F0","1F1E9-1F1F2","1F1E9-1F1F4","1F1E9-1F1FF","1F1EA-1F1E6","1F1EA-1F1E8","1F1EA-1F1EA","1F1EA-1F1EC","1F1EA-1F1ED","1F1EA-1F1F7","1F1EA-1F1F8","1F1EA-1F1F9","1F1EA-1F1FA","1F1EB-1F1EE","1F1EB-1F1EF","1F1EB-1F1F0","1F1EB-1F1F2","1F1EB-1F1F4","1F1EB-1F1F7","1F1EC-1F1E6","1F1EC-1F1E7","1F1EC-1F1E9","1F1EC-1F1EA","1F1EC-1F1EB","1F1EC-1F1EC","1F1EC-1F1ED","1F1EC-1F1EE","1F1EC-1F1F1","1F1EC-1F1F2","1F1EC-1F1F3","1F1EC-1F1F5","1F1EC-1F1F6","1F1EC-1F1F7","1F1EC-1F1F8","1F1EC-1F1F9","1F1EC-1F1FA","1F1EC-1F1FC","1F1EC-1F1FE","1F1ED-1F1F0","1F1ED-1F1F2","1F1ED-1F1F3","1F1ED-1F1F7","1F1ED-1F1F9","1F1ED-1F1FA","1F1EE-1F1E8","1F1EE-1F1E9","1F1EE-1F1EA","1F1EE-1F1F1","1F1EE-1F1F2","1F1EE-1F1F3","1F1EE-1F1F4","1F1EE-1F1F6","1F1EE-1F1F7","1F1EE-1F1F8","1F1EE-1F1F9","1F1EF-1F1EA","1F1EF-1F1F2","1F1EF-1F1F4","1F1EF-1F1F5","1F1F0-1F1EA","1F1F0-1F1EC","1F1F0-1F1ED","1F1F0-1F1EE","1F1F0-1F1F2","1F1F0-1F1F3","1F1F0-1F1F5","1F1F0-1F1F7","1F1F0-1F1FC","1F1F0-1F1FE","1F1F0-1F1FF","1F1F1-1F1E6","1F1F1-1F1E7","1F1F1-1F1E8","1F1F1-1F1EE","1F1F1-1F1F0","1F1F1-1F1F7","1F1F1-1F1F8","1F1F1-1F1F9","1F1F1-1F1FA","1F1F1-1F1FB","1F1F1-1F1FE","1F1F2-1F1E6","1F1F2-1F1E8","1F1F2-1F1E9","1F1F2-1F1EA","1F1F2-1F1EB","1F1F2-1F1EC","1F1F2-1F1ED","1F1F2-1F1F0","1F1F2-1F1F1","1F1F2-1F1F2","1F1F2-1F1F3","1F1F2-1F1F4","1F1F2-1F1F5","1F1F2-1F1F6","1F1F2-1F1F7","1F1F2-1F1F8","1F1F2-1F1F9","1F1F2-1F1FA","1F1F2-1F1FB","1F1F2-1F1FC","1F1F2-1F1FD","1F1F2-1F1FE","1F1F2-1F1FF","1F1F3-1F1E6","1F1F3-1F1E8","1F1F3-1F1EA","1F1F3-1F1EB","1F1F3-1F1EC","1F1F3-1F1EE","1F1F3-1F1F1","1F1F3-1F1F4","1F1F3-1F1F5","1F1F3-1F1F7","1F1F3-1F1FA","1F1F3-1F1FF","1F1F4-1F1F2","1F1F5-1F1E6","1F1F5-1F1EA","1F1F5-1F1EB","1F1F5-1F1EC","1F1F5-1F1ED","1F1F5-1F1F0","1F1F5-1F1F1","1F1F5-1F1F2","1F1F5-1F1F3","1F1F5-1F1F7","1F1F5-1F1F8","1F1F5-1F1F9","1F1F5-1F1FC","1F1F5-1F1FE","1F1F6-1F1E6","1F1F7-1F1EA","1F1F7-1F1F4","1F1F7-1F1F8","1F1F7-1F1FA","1F1F7-1F1FC","1F1F8-1F1E6","1F1F8-1F1E7","1F1F8-1F1E8","1F1F8-1F1E9","1F1F8-1F1EA","1F1F8-1F1EC","1F1F8-1F1ED","1F1F8-1F1EE","1F1F8-1F1EF","1F1F8-1F1F0","1F1F8-1F1F1","1F1F8-1F1F2","1F1F8-1F1F3","1F1F8-1F1F4","1F1F8-1F1F7","1F1F8-1F1F8","1F1F8-1F1F9","1F1F8-1F1FB","1F1F8-1F1FD","1F1F8-1F1FE","1F1F8-1F1FF","1F1F9-1F1E6","1F1F9-1F1E8","1F1F9-1F1E9","1F1F9-1F1EB","1F1F9-1F1EC","1F1F9-1F1ED","1F1F9-1F1EF","1F1F9-1F1F0","1F1F9-1F1F1","1F1F9-1F1F2","1F1F9-1F1F3","1F1F9-1F1F4","1F1F9-1F1F7","1F1F9-1F1F9","1F1F9-1F1FB","1F1F9-1F1FC","1F1F9-1F1FF","1F1FA-1F1E6","1F1FA-1F1EC","1F1FA-1F1F2","1F1FA-1F1F3","1F1FA-1F1F8","1F1FA-1F1FE","1F1FA-1F1FF","1F1FB-1F1E6","1F1FB-1F1E8","1F1FB-1F1EA","1F1FB-1F1EC","1F1FB-1F1EE","1F1FB-1F1F3","1F1FB-1F1FA","1F1FC-1F1EB","1F1FC-1F1F8","1F1FD-1F1F0","1F1FE-1F1EA","1F1FE-1F1F9","1F1FF-1F1E6","1F1FF-1F1F2","1F1FF-1F1FC","1F38C","1F3C1","1F3F3-FE0F","1F3F3-FE0F-200D-1F308","1F3F3-FE0F-200D-26A7-FE0F","1F3F4","1F3F4-200D-2620-FE0F","1F3F4-E0067-E0062-E0065-E006E-E0067-E007F","1F3F4-E0067-E0062-E0073-E0063-E0074-E007F","1F3F4-E0067-E0062-E0077-E006C-E0073-E007F","1F6A9"]}],Cu=[{name:"Grinning Face",unified:"1F600",text:":D",keywords:["grinning_face","face","smile","happy","joy","
1:D","grin"],sheet:[30,32],shortName:"grinning"},{name:"Smiling Face with Open Mouth",unified:"1F603",text:":)",emoticons:["=)","=-)"],keywords:["grinning_face_with_big_eyes","face","happy","joy","haha",":D",":)","smile","funny"],sheet:[30,35],shortName:"smiley"},{name:"Smiling Face with Open Mouth and Smiling Eyes",unified:"1F604",text:":)",emoticons:["C:","c:",":D",":-D"],keywords:["grinning_face_with_smiling_eyes","face","happy","joy","funny","haha","laugh","like",":D",":)","smile"],sheet:[30,36],shortName:"smile"},{name:"Grinning Face with Smiling Eyes",unified:"1F601",keywords:["beaming_face_with_smiling_eyes","face","happy","smile","joy","kawaii"],sheet:[30,33],shortName:"grin"},{name:"Smiling Face with Open Mouth and Tightly-Closed Eyes",unified:"1F606",emoticons:[":>",":->"],keywords:["grinning_squinting_face","happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],sheet:[30,38],shortNames:["satisfied"],shortName:"laughing"},{name:"Smiling Face with Open Mouth and Cold Sweat",unified:"1F605",keywords:["grinning_face_with_sweat","face","hot","happy","laugh","sweat","smile","relief"],sheet:[30,37],shortName:"sweat_smile"},{name:"Rolling on the Floor Laughing",unified:"1F923",keywords:["rolling_on_the_floor_laughing","face","rolling","floor","laughing","lol","haha","rofl"],sheet:[38,19],shortName:"rolling_on_the_floor_laughing"},{name:"Face with Tears of Joy",unified:"1F602",keywords:["face_with_tears_of_joy","face","cry","tears","weep","happy","happytears","haha"],sheet:[30,34],shortName:"joy"},{name:"Slightly Smiling Face",unified:"1F642",emoticons:[":)","(:",":-)"],keywords:["slightly_smiling_face","face","smile"],sheet:[31,40],shortName:"slightly_smiling_face"},{name:"Upside-Down Face",unified:"1F643",keywords:["upside_down_face","face","flipped","silly","smile"],sheet:[31,41],shortName:"upside_down_face"},{name:"Winking Face",unified:"1F609",text:";)",emoticons:[";)",";-)"],keywords:["winking_face","face","happy","mischievous","secret",";)","smile","eye"],sheet:[30,41],shortName:"wink"},{name:"Smiling Face with Smiling Eyes",unified:"1F60A",text:":)",keywords:["smiling_face_with_smiling_eyes","face","smile","happy","flushed","crush","embarrassed","shy","joy"],sheet:[30,42],shortName:"blush"},{name:"Smiling Face with Halo",unified:"1F607",keywords:["smiling_face_with_halo","face","angel","heaven","halo"],sheet:[30,39],shortName:"innocent"},{name:"Smiling Face with Smiling Eyes and Three Hearts",unified:"1F970",keywords:["smiling_face_with_hearts","face","love","like","affection","valentines","infatuation","crush","hearts","adore"],sheet:[42,13],shortName:"smiling_face_with_3_hearts"},{name:"Smiling Face with Heart-Shaped Eyes",unified:"1F60D",keywords:["smiling_face_with_heart_eyes","face","love","like","affection","valentines","infatuation","crush","heart"],sheet:[30,45],shortName:"heart_eyes"},{name:"Grinning Face with Star Eyes",unified:"1F929",keywords:["star_struck","face","smile","starry","eyes","grinning"],sheet:[38,42],shortNames:["grinning_face_with_star_eyes"],shortName:"star-struck"},{name:"Face Throwing a Kiss",unified:"1F618",emoticons:[":*",":-*"],keywords:["face_blowing_a_kiss","face","love","like","affection","valentines","infatuation","kiss"],sheet:[30,56],shortName:"kissing_heart"},{name:"Kissing Face",unified:"1F617",keywords:["kissing_face","love","like","face","3","valentines","infatuation","kiss"],sheet:[30,55],shortName:"kissing"},{name:"White Smiling Face",unified:"263A-FE0F",keywords:["smiling_face","face","blush","massage","happiness"],sheet:[54,22],shortName:"relaxed"},{name:"Kissing Face with Closed Eyes",unified:"1F61A",keywords:["kissing_face_with_closed_eyes","face","love","like","affection","valentines","infatuation","kiss"],sheet:[31,0],shortName:"kissing_closed_eyes"},{name:"Kissing Face with Smiling Eyes",unified:"1F619",keywords:["kissing_face_with_smiling_eyes","face","affection","valentines","infatuation","kiss"],sheet:[30,57],shortName:"kissing_smiling_eyes"},{name:"Smiling Face with Tear",unified:"1F972",keywords:["smiling face with tear","sad","cry","pretend"],sheet:[42,15],shortName:"smiling_face_with_tear"},{name:"Face Savouring Delicious Food",unified:"1F60B",keywords:["face_savoring_food","happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],sheet:[30,43],short
1Name:"yum"},{name:"Face with Stuck-out Tongue",unified:"1F61B",text:":p",emoticons:[":p",":-p",":P",":-P",":b",":-b"],keywords:["face_with_tongue","face","prank","childish","playful","mischievous","smile","tongue"],sheet:[31,1],shortName:"stuck_out_tongue"},{name:"Face with Stuck-out Tongue and Winking Eye",unified:"1F61C",text:";p",emoticons:[";p",";-p",";b",";-b",";P",";-P"],keywords:["winking_face_with_tongue","face","prank","childish","playful","mischievous","smile","wink","tongue"],sheet:[31,2],shortName:"stuck_out_tongue_winking_eye"},{name:"Grinning Face with One Large and One Small Eye",unified:"1F92A",keywords:["zany_face","face","goofy","crazy"],sheet:[38,43],shortNames:["grinning_face_with_one_large_and_one_small_eye"],shortName:"zany_face"},{name:"Face with Stuck-out Tongue and Tightly-Closed Eyes",unified:"1F61D",keywords:["squinting_face_with_tongue","face","prank","playful","mischievous","smile","tongue"],sheet:[31,3],shortName:"stuck_out_tongue_closed_eyes"},{name:"Money-Mouth Face",unified:"1F911",keywords:["money_mouth_face","face","rich","dollar","money"],sheet:[37,24],shortName:"money_mouth_face"},{name:"Hugging Face",unified:"1F917",keywords:["hugging_face","face","smile","hug"],sheet:[37,30],shortName:"hugging_face"},{name:"Smiling Face with Smiling Eyes and Hand Covering Mouth",unified:"1F92D",keywords:["face_with_hand_over_mouth","face","whoops","shock","surprise"],sheet:[38,46],shortNames:["smiling_face_with_smiling_eyes_and_hand_covering_mouth"],shortName:"face_with_hand_over_mouth"},{name:"Face with Finger Covering Closed Lips",unified:"1F92B",keywords:["shushing_face","face","quiet","shhh"],sheet:[38,44],shortNames:["face_with_finger_covering_closed_lips"],shortName:"shushing_face"},{name:"Thinking Face",unified:"1F914",keywords:["thinking_face","face","hmmm","think","consider"],sheet:[37,27],shortName:"thinking_face"},{name:"Zipper-Mouth Face",unified:"1F910",keywords:["zipper_mouth_face","face","sealed","zipper","secret"],sheet:[37,23],shortName:"zipper_mouth_face"},{name:"Face with One Eyebrow Raised",unified:"1F928",keywords:["face_with_raised_eyebrow","face","distrust","scepticism","disapproval","disbelief","surprise"],sheet:[38,41],shortNames:["face_with_one_eyebrow_raised"],shortName:"face_with_raised_eyebrow"},{name:"Neutral Face",unified:"1F610",emoticons:[":|",":-|"],keywords:["neutral_face","indifference","meh",":|","neutral"],sheet:[30,48],shortName:"neutral_face"},{name:"Expressionless Face",unified:"1F611",keywords:["expressionless_face","face","indifferent","-_-","meh","deadpan"],sheet:[30,49],shortName:"expressionless"},{name:"Face Without Mouth",unified:"1F636",keywords:["face_without_mouth","face","hellokitty"],sheet:[31,28],shortName:"no_mouth"},{name:"Smirking Face",unified:"1F60F",keywords:["smirking_face","face","smile","mean","prank","smug","sarcasm"],sheet:[30,47],shortName:"smirk"},{name:"Unamused Face",unified:"1F612",text:":(",keywords:["unamused_face","indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],sheet:[30,50],shortName:"unamused"},{name:"Face with Rolling Eyes",unified:"1F644",keywords:["face_with_rolling_eyes","face","eyeroll","frustrated"],sheet:[31,42],shortName:"face_with_rolling_eyes"},{name:"Grimacing Face",unified:"1F62C",keywords:["grimacing_face","face","grimace","teeth"],sheet:[31,18],shortName:"grimacing"},{name:"Lying Face",unified:"1F925",keywords:["lying_face","face","lie","pinocchio"],sheet:[38,21],shortName:"lying_face"},{name:"Relieved Face",unified:"1F60C",keywords:["relieved_face","face","relaxed","phew","massage","happiness"],sheet:[30,44],shortName:"relieved"},{name:"Pensive Face",unified:"1F614",keywords:["pensive_face","face","sad","depressed","upset"],sheet:[30,52],shortName:"pensive"},{name:"Sleepy Face",unified:"1F62A",keywords:["sleepy_face","face","tired","rest","nap"],sheet:[31,16],shortName:"sleepy"},{name:"Drooling Face",unified:"1F924",keywords:["drooling_face","face"],sheet:[38,20],shortName:"drooling_face"},{name:"Sleeping Face",unified:"1F634",keywords:["sleeping_face","face","tired","sleepy","night","zzz"],sheet:[31,26],shortName:"sleeping"},{name:"Face with Medical Mask",unified:"1F637",keywords:["face_with_medical_mask","face","sick","ill","disease"],sheet:[31,29],short
1Name:"mask"},{name:"Face with Thermometer",unified:"1F912",keywords:["face_with_thermometer","sick","temperature","thermometer","cold","fever"],sheet:[37,25],shortName:"face_with_thermometer"},{name:"Face with Head-Bandage",unified:"1F915",keywords:["face_with_head_bandage","injured","clumsy","bandage","hurt"],sheet:[37,28],shortName:"face_with_head_bandage"},{name:"Nauseated Face",unified:"1F922",keywords:["nauseated_face","face","vomit","gross","green","sick","throw up","ill"],sheet:[38,18],shortName:"nauseated_face"},{name:"Face with Open Mouth Vomiting",unified:"1F92E",keywords:["face_vomiting","face","sick"],sheet:[38,47],shortNames:["face_with_open_mouth_vomiting"],shortName:"face_vomiting"},{name:"Sneezing Face",unified:"1F927",keywords:["sneezing_face","face","gesundheit","sneeze","sick","allergy"],sheet:[38,40],shortName:"sneezing_face"},{name:"Overheated Face",unified:"1F975",keywords:["hot_face","face","feverish","heat","red","sweating"],sheet:[42,18],shortName:"hot_face"},{name:"Freezing Face",unified:"1F976",keywords:["cold_face","face","blue","freezing","frozen","frostbite","icicles"],sheet:[42,19],shortName:"cold_face"},{name:"Face with Uneven Eyes and Wavy Mouth",unified:"1F974",keywords:["woozy_face","face","dizzy","intoxicated","tipsy","wavy"],sheet:[42,17],shortName:"woozy_face"},{name:"Dizzy Face",unified:"1F635",keywords:["dizzy_face","spent","unconscious","xox","dizzy"],sheet:[31,27],shortName:"dizzy_face"},{name:"Shocked Face with Exploding Head",unified:"1F92F",keywords:["exploding_head","face","shocked","mind","blown"],sheet:[38,48],shortNames:["shocked_face_with_exploding_head"],shortName:"exploding_head"},{name:"Face with Cowboy Hat",unified:"1F920",keywords:["cowboy_hat_face","face","cowgirl","hat"],sheet:[38,16],shortName:"face_with_cowboy_hat"},{name:"Face with Party Horn and Party Hat",unified:"1F973",keywords:["partying_face","face","celebration","woohoo"],sheet:[42,16],shortName:"partying_face"},{name:"Disguised Face",unified:"1F978",keywords:["disguised face","pretent","brows","glasses","moustache"],sheet:[42,26],shortName:"disguised_face"},{name:"Smiling Face with Sunglasses",unified:"1F60E",emoticons:["8)"],keywords:["smiling_face_with_sunglasses","face","cool","smile","summer","beach","sunglass"],sheet:[30,46],shortName:"sunglasses"},{name:"Nerd Face",unified:"1F913",keywords:["nerd_face","face","nerdy","geek","dork"],sheet:[37,26],shortName:"nerd_face"},{name:"Face with Monocle",unified:"1F9D0",keywords:["face_with_monocle","face","stuffy","wealthy"],sheet:[45,34],shortName:"face_with_monocle"},{name:"Confused Face",unified:"1F615",emoticons:[":\\",":-\\",":/",":-/"],keywords:["confused_face","face","indifference","huh","weird","hmmm",":/"],sheet:[30,53],shortName:"confused"},{name:"Worried Face",unified:"1F61F",keywords:["worried_face","face","concern","nervous",":("],sheet:[31,5],shortName:"worried"},{name:"Slightly Frowning Face",unified:"1F641",keywords:["slightly_frowning_face","face","frowning","disappointed","sad","upset"],sheet:[31,39],shortName:"slightly_frowning_face"},{name:"Frowning Face",unified:"2639-FE0F",keywords:["frowning_face","face","sad","upset","frown"],sheet:[54,21],shortName:"white_frowning_face"},{name:"Face with Open Mouth",unified:"1F62E",emoticons:[":o",":-o",":O",":-O"],keywords:["face_with_open_mouth","face","surprise","impressed","wow","whoa",":O"],sheet:[31,20],shortName:"open_mouth"},{name:"Hushed Face",unified:"1F62F",keywords:["hushed_face","face","woo","shh"],sheet:[31,21],shortName:"hushed"},{name:"Astonished Face",unified:"1F632",keywords:["astonished_face","face","xox","surprised","poisoned"],sheet:[31,24],shortName:"astonished"},{name:"Flushed Face",unified:"1F633",keywords:["flushed_face","face","blush","shy","flattered"],sheet:[31,25],shortName:"flushed"},{name:"Face with Pleading Eyes",unified:"1F97A",keywords:["pleading_face","face","begging","mercy"],sheet:[42,27],shortName:"pleading_face"},{name:"Frowning Face with Open Mouth",unified:"1F626",keywords:["frowning_face_with_open_mouth","face","aw","what"],sheet:[31,12],shortName:"frowning"},{name:"Anguished Face",unified:"1F627",emoticons:["D:"],keywords:["anguished_face","face","stunned","nervous"],sheet:[31,13],shortName:"anguished"},{name:"Fearful Face",unified:"1F628",keywords:["fearful_face","face","scared","terrified","nervous","oops","huh"],sheet:[31,14],short
1Name:"fearful"},{name:"Face with Open Mouth and Cold Sweat",unified:"1F630",keywords:["anxious_face_with_sweat","face","nervous","sweat"],sheet:[31,22],shortName:"cold_sweat"},{name:"Disappointed but Relieved Face",unified:"1F625",keywords:["sad_but_relieved_face","face","phew","sweat","nervous"],sheet:[31,11],shortName:"disappointed_relieved"},{name:"Crying Face",unified:"1F622",text:":'(",emoticons:[":'("],keywords:["crying_face","face","tears","sad","depressed","upset",":'("],sheet:[31,8],shortName:"cry"},{name:"Loudly Crying Face",unified:"1F62D",text:":'(",keywords:["loudly_crying_face","face","cry","tears","sad","upset","depressed"],sheet:[31,19],shortName:"sob"},{name:"Face Screaming in Fear",unified:"1F631",keywords:["face_screaming_in_fear","face","munch","scared","omg"],sheet:[31,23],shortName:"scream"},{name:"Confounded Face",unified:"1F616",keywords:["confounded_face","face","confused","sick","unwell","oops",":S"],sheet:[30,54],shortName:"confounded"},{name:"Persevering Face",unified:"1F623",keywords:["persevering_face","face","sick","no","upset","oops"],sheet:[31,9],shortName:"persevere"},{name:"Disappointed Face",unified:"1F61E",text:":(",emoticons:["):",":(",":-("],keywords:["disappointed_face","face","sad","upset","depressed",":("],sheet:[31,4],shortName:"disappointed"},{name:"Face with Cold Sweat",unified:"1F613",keywords:["downcast_face_with_sweat","face","hot","sad","tired","exercise"],sheet:[30,51],shortName:"sweat"},{name:"Weary Face",unified:"1F629",keywords:["weary_face","face","tired","sleepy","sad","frustrated","upset"],sheet:[31,15],shortName:"weary"},{name:"Tired Face",unified:"1F62B",keywords:["tired_face","sick","whine","upset","frustrated"],sheet:[31,17],shortName:"tired_face"},{name:"Yawning Face",unified:"1F971",keywords:["yawning_face","tired","sleepy"],sheet:[42,14],shortName:"yawning_face"},{name:"Face with Look of Triumph",unified:"1F624",keywords:["face_with_steam_from_nose","face","gas","phew","proud","pride"],sheet:[31,10],shortName:"triumph"},{name:"Pouting Face",unified:"1F621",keywords:["pouting_face","angry","mad","hate","despise"],sheet:[31,7],shortName:"rage"},{name:"Angry Face",unified:"1F620",emoticons:[">:(",">:-("],keywords:["angry_face","mad","face","annoyed","frustrated"],sheet:[31,6],shortName:"angry"},{name:"Serious Face with Symbols Covering Mouth",unified:"1F92C",keywords:["face_with_symbols_on_mouth","face","swearing","cursing","cussing","profanity","expletive"],sheet:[38,45],shortNames:["serious_face_with_symbols_covering_mouth"],shortName:"face_with_symbols_on_mouth"},{name:"Smiling Face with Horns",unified:"1F608",keywords:["smiling_face_with_horns","devil","horns"],sheet:[30,40],shortName:"smiling_imp"},{name:"Imp",unified:"1F47F",keywords:["angry_face_with_horns","devil","angry","horns"],sheet:[23,49],shortName:"imp"},{name:"Skull",unified:"1F480",keywords:["skull","dead","skeleton","creepy","death"],sheet:[23,50],shortName:"skull"},{name:"Skull and Crossbones",unified:"2620-FE0F",keywords:["skull_and_crossbones","poison","danger","deadly","scary","death","pirate","evil"],sheet:[54,13],shortName:"skull_and_crossbones"},{name:"Pile of Poo",unified:"1F4A9",keywords:["pile_of_poo","hankey","shitface","fail","turd","shit"],sheet:[25,53],shortNames:["poop","shit"],shortName:"hankey"},{name:"Clown Face",unified:"1F921",keywords:["clown_face","face"],sheet:[38,17],shortName:"clown_face"},{name:"Japanese Ogre",unified:"1F479",keywords:["ogre","monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],sheet:[23,38],short
1Name:"japanese_ogre"},{name:"Japanese Goblin",unified:"1F47A",keywords:["goblin","red","evil","mask","monster","scary","creepy","japanese","goblin"],sheet:[23,39],shortName:"japanese_goblin"},{name:"Ghost",unified:"1F47B",keywords:["ghost","halloween","spooky","scary"],sheet:[23,40],shortName:"ghost"},{name:"Extraterrestrial Alien",unified:"1F47D",keywords:["alien","UFO","paul","weird","outer_space"],sheet:[23,47],shortName:"alien"},{name:"Alien Monster",unified:"1F47E",keywords:["alien_monster","game","arcade","play"],sheet:[23,48],shortName:"space_invader"},{name:"Robot Face",unified:"1F916",keywords:["robot","computer","machine","bot"],sheet:[37,29],shortName:"robot_face"},{name:"Smiling Cat Face with Open Mouth",unified:"1F63A",keywords:["grinning_cat","animal","cats","happy","smile"],sheet:[31,32],shortName:"smiley_cat"},{name:"Grinning Cat Face with Smiling Eyes",unified:"1F638",keywords:["grinning_cat_with_smiling_eyes","animal","cats","smile"],sheet:[31,30],shortName:"smile_cat"},{name:"Cat Face with Tears of Joy",unified:"1F639",keywords:["cat_with_tears_of_joy","animal","cats","haha","happy","tears"],sheet:[31,31],shortName:"joy_cat"},{name:"Smiling Cat Face with Heart-Shaped Eyes",unified:"1F63B",keywords:["smiling_cat_with_heart_eyes","animal","love","like","affection","cats","valentines","heart"],sheet:[31,33],short
1Name:"heart_eyes_cat"},{name:"Cat Face with Wry Smile",unified:"1F63C",keywords:["cat_with_wry_smile","animal","cats","smirk"],sheet:[31,34],shortName:"smirk_cat"},{name:"Kissing Cat Face with Closed Eyes",unified:"1F63D",keywords:["kissing_cat","animal","cats","kiss"],sheet:[31,35],shortName:"kissing_cat"},{name:"Weary Cat Face",unified:"1F640",keywords:["weary_cat","animal","cats","munch","scared","scream"],sheet:[31,38],shortName:"scream_cat"},{name:"Crying Cat Face",unified:"1F63F",keywords:["crying_cat","animal","tears","weep","sad","cats","upset","cry"],sheet:[31,37],shortName:"crying_cat_face"},{name:"Pouting Cat Face",unified:"1F63E",keywords:["pouting_cat","animal","cats"],sheet:[31,36],shortName:"pouting_cat"},{name:"See-No-Evil Monkey",unified:"1F648",keywords:["see_no_evil_monkey","monkey","animal","nature","haha"],sheet:[32,39],shortName:"see_no_evil"},{name:"Hear-No-Evil Monkey",unified:"1F649",keywords:["hear_no_evil_monkey","animal","monkey","nature"],sheet:[32,40],shortName:"hear_no_evil"},{name:"Speak-No-Evil Monkey",unified:"1F64A",keywords:["speak_no_evil_monkey","monkey","animal","nature","omg"],sheet:[32,41],shortName:"speak_no_evil"},{name:"Kiss Mark",unified:"1F48B",keywords:["kiss_mark","face","lips","love","like","affection","valentines"],sheet:[25,23],shortName:"kiss"},{name:"Love Letter",unified:"1F48C",keywords:["love_letter","email","like","affection","envelope","valentines"],sheet:[25,24],shortName:"love_letter"},{name:"Heart with Arrow",unified:"1F498",keywords:["heart_with_arrow","love","like","heart","affection","valentines"],sheet:[25,36],shortName:"cupid"},{name:"Heart with Ribbon",unified:"1F49D",keywords:["heart_with_ribbon","love","valentines"],sheet:[25,41],shortName:"gift_heart"},{name:"Sparkling Heart",unified:"1F496",keywords:["sparkling_heart","love","like","affection","valentines"],sheet:[25,34],shortName:"sparkling_heart"},{name:"Growing Heart",unified:"1F497",keywords:["growing_heart","like","love","affection","valentines","pink"],sheet:[25,35],shortName:"heartpulse"},{name:"Beating Heart",unified:"1F493",keywords:["beating_heart","love","like","affection","valentines","pink","heart"],sheet:[25,31],shortName:"heartbeat"},{name:"Revolving Hearts",unified:"1F49E",keywords:["revolving_hearts","love","like","affection","valentines"],sheet:[25,42],shortName:"revolving_hearts"},{name:"Two Hearts",unified:"1F495",keywords:["two_hearts","love","like","affection","valentines","heart"],sheet:[25,33],shortName:"two_hearts"},{name:"Heart Decoration",unified:"1F49F",keywords:["heart_decoration","purple-square","love","like"],sheet:[25,43],shortName:"heart_decoration"},{name:"Heart Exclamation",unified:"2763-FE0F",keywords:["heart_exclamation","decoration","love"],sheet:[56,31],shortName:"heavy_heart_exclamation_mark_ornament"},{name:"Broken Heart",unified:"1F494",text:"</3",emoticons:["</3"],keywords:["broken_heart","sad","sorry","break","heart","heartbreak"],sheet:[25,32],shortName:"broken_heart"},{name:"Heavy Black Heart",unified:"2764-FE0F",text:"<3",emoticons:["<3"],keywords:["red_heart","love","like","valentines"],sheet:[56,32],shortName:"heart"},{name:"Orange Heart",unified:"1F9E1",keywords:["orange_heart","love","like","affection","valentines"],sheet:[51,44],shortName:"orange_heart"},{name:"Yellow Heart",unified:"1F49B",text:"<3",keywords:["yellow_heart","love","like","affection","valentines"],sheet:[25,39],shortName:"yellow_heart"},{name:"Green Heart",unified:"1F49A",text:"<3",keywords:["green_heart","love","like","affection","valentines"],sheet:[25,38],shortName:"green_heart"},{name:"Blue Heart",unified:"1F499",text:"<3",keywords:["blue_heart","love","like","affection","valentines"],sheet:[25,37],shortName:"blue_heart"},{name:"Purple Heart",unified:"1F49C",text:"<3",keywords:["purple_heart","love","like","affection","valentines"],sheet:[25,40],shortName:"purple_heart"},{name:"Brown Heart",unified:"1F90E",keywords:["brown_heart","coffee"],sheet:[37,16],shortName:"brown_heart"},{name:"Black Heart",unified:"1F5A4",keywords:["black_heart","evil"],sheet:[30,6],shortName:"black_heart"},{name:"White Heart",unified:"1F90D",keywords:["white_heart","pure"],sheet:[37,15],shortName:"white_heart"},{name:"Hundred Points Symbol",unified:"1F4AF",keywords:["hundred_points","score","perfect","numbers","century","exam","quiz","test","pass","hundred"],sheet:[26,6],shortName:"100"},{name:"Anger Symbol",unified:"1F4A2",keywords:["anger_symbol","angry","mad"],sheet:[25,46],shortName:"anger"},{name:"Collision Symbol",unified:"1F4A5",keywords:["collision","bomb","explode","explosion","collision","blown"],sheet:[25,49],short
1Names:["collision"],shortName:"boom"},{name:"Dizzy Symbol",unified:"1F4AB",keywords:["dizzy","star","sparkle","shoot","magic"],sheet:[26,2],shortName:"dizzy"},{name:"Splashing Sweat Symbol",unified:"1F4A6",keywords:["sweat_droplets","water","drip","oops"],sheet:[25,50],shortName:"sweat_drops"},{name:"Dash Symbol",unified:"1F4A8",keywords:["dashing_away","wind","air","fast","shoo","fart","smoke","puff"],sheet:[25,52],shortName:"dash"},{name:"Hole",unified:"1F573-FE0F",keywords:["hole","embarrassing"],sheet:[29,6],shortName:"hole"},{name:"Bomb",unified:"1F4A3",keywords:["bomb","boom","explode","explosion","terrorism"],sheet:[25,47],shortName:"bomb"},{name:"Speech Balloon",unified:"1F4AC",keywords:["speech_balloon","bubble","words","message","talk","chatting"],sheet:[26,3],shortName:"speech_balloon"},{name:"Eye in Speech Bubble",unified:"1F441-FE0F-200D-1F5E8-FE0F",keywords:["eye_in_speech_bubble","info"],sheet:[12,28],hidden:["twitter","facebook"],shortName:"eye-in-speech-bubble"},{name:"Left Speech Bubble",unified:"1F5E8-FE0F",keywords:["left_speech_bubble","words","message","talk","chatting"],sheet:[30,23],shortName:"left_speech_bubble"},{name:"Right Anger Bubble",unified:"1F5EF-FE0F",keywords:["right_anger_bubble","caption","speech","thinking","mad"],sheet:[30,24],shortName:"right_anger_bubble"},{name:"Thought Balloon",unified:"1F4AD",keywords:["thought_balloon","bubble","cloud","speech","thinking","dream"],sheet:[26,4],shortName:"thought_balloon"},{name:"Sleeping Symbol",unified:"1F4A4",keywords:["zzz","sleepy","tired","dream"],sheet:[25,48],shortName:"zzz"},{name:"Waving Hand Sign",unified:"1F44B",keywords:["waving_hand","hands","gesture","goodbye","solong","farewell","hello","hi","palm"],sheet:[13,16],skinVariations:[{unified:"1F44B-1F3FB",sheet:[13,17]},{unified:"1F44B-1F3FC",sheet:[13,18]},{unified:"1F44B-1F3FD",sheet:[13,19]},{unified:"1F44B-1F3FE",sheet:[13,20]},{unified:"1F44B-1F3FF",sheet:[13,21]}],shortName:"wave"},{name:"Raised Back of Hand",unified:"1F91A",keywords:["raised_back_of_hand","fingers","raised","backhand"],sheet:[37,43],skinVariations:[{unified:"1F91A-1F3FB",sheet:[37,44]},{unified:"1F91A-1F3FC",sheet:[37,45]},{unified:"1F91A-1F3FD",sheet:[37,46]},{unified:"1F91A-1F3FE",sheet:[37,47]},{unified:"1F91A-1F3FF",sheet:[37,48]}],shortName:"raised_back_of_hand"},{name:"Hand with Fingers Splayed",unified:"1F590-FE0F",keywords:["hand_with_fingers_splayed","hand","fingers","palm"],sheet:[29,46],skinVariations:[{unified:"1F590-1F3FB",sheet:[29,47]},{unified:"1F590-1F3FC",sheet:[29,48]},{unified:"1F590-1F3FD",sheet:[29,49]},{unified:"1F590-1F3FE",sheet:[29,50]},{unified:"1F590-1F3FF",sheet:[29,51]}],shortName:"raised_hand_with_fingers_splayed"},{name:"Raised Hand",unified:"270B",keywords:["raised_hand","fingers","stop","highfive","palm","ban"],sheet:[55,54],skinVariations:[{unified:"270B-1F3FB",sheet:[55,55]},{unified:"270B-1F3FC",sheet:[55,56]},{unified:"270B-1F3FD",sheet:[55,57]},{unified:"270B-1F3FE",sheet:[56,0]},{unified:"270B-1F3FF",sheet:[56,1]}],shortNames:["raised_hand"],shortName:"hand"},{name:"Raised Hand with Part Between Middle and Ring Fingers",unified:"1F596",keywords:["vulcan_salute","hand","fingers","spock","star trek"],sheet:[30,0],skinVariations:[{unified:"1F596-1F3FB",sheet:[30,1]},{unified:"1F596-1F3FC",sheet:[30,2]},{unified:"1F596-1F3FD",sheet:[30,3]},{unified:"1F596-1F3FE",sheet:[30,4]},{unified:"1F596-1F3FF",sheet:[30,5]}],shortName:"spock-hand"},{name:"Ok Hand Sign",unified:"1F44C",keywords:["ok_hand","fingers","limbs","perfect","ok","okay"],sheet:[13,22],skinVariations:[{unified:"1F44C-1F3FB",sheet:[13,23]},{unified:"1F44C-1F3FC",sheet:[13,24]},{unified:"1F44C-1F3FD",sheet:[13,25]},{unified:"1F44C-1F3FE",sheet:[13,26]},{unified:"1F44C-1F3FF",sheet:[13,27]}],shortName:"ok_hand"},{name:"Pinched Fingers",unified:"1F90C",keywords:["pinched fingers","size","tiny","small"],sheet:[37,9],skinVariations:[{unified:"1F90C-1F3FB",sheet:[37,10]},{unified:"1F90C-1F3FC",sheet:[37,11]},{unified:"1F90C-1F3FD",sheet:[37,12]},{unified:"1F90C-1F3FE",sheet:[37,13]},{unified:"1F90C-1F3FF",sheet:[37,14]}],shortName:"pinched_fingers"},{name:"Pinching Hand",unified:"1F90F",keywords:["pinching_hand","tiny","small","size"],sheet:[37,17],skinVariations:[{unified:"1F90F-1F3FB",sheet:[37,18]},{unified:"1F90F-1F3FC",sheet:[37,19]},{unified:"1F90F-1F3FD",sheet:[37,20]},{unified:"1F90F-1F3FE",sheet:[37,21]},{unified:"1F90F-1F3FF",sheet:[37,22]}],shortName:"pinching_hand"},{name:"Victory Hand",unified:"270C-FE0F",keywords:["victory_hand","fingers","ohyeah","hand","peace","victory","two"],sheet:[56,2],skinVariations:[{unified:"270C-1F3FB",sheet:[56,3]},{unified:"270C-1F3FC",sheet:[56,4]},{unified:"270C-1F3FD",sheet:[56,5]},{unified:"270C-1F3FE",sheet:[56,6]},{unified:"270C-1F3FF",sheet:[56,7]}],shortName:"v"},{name:"Hand with Index and Middle Fingers Crossed",unified:"1F91E",keywords:["crossed_fingers","good","lucky"],sheet:[38,4],skinVariations:[{unified:"1F91E-1F3FB",sheet:[38,5]},{unified:"1F91E-1F3FC",sheet:[38,6]},{unified:"1F91E-1F3FD",sheet:[38,7]},{unified:"1F91E-1F3FE",sheet:[38,8]},{unified:"1F91E-1F3FF",sheet:[38,9]}],shortNames:["hand_with_index_and_middle_fingers_crossed"],short
1Name:"crossed_fingers"},{name:"I Love You Hand Sign",unified:"1F91F",keywords:["love_you_gesture","hand","fingers","gesture"],sheet:[38,10],skinVariations:[{unified:"1F91F-1F3FB",sheet:[38,11]},{unified:"1F91F-1F3FC",sheet:[38,12]},{unified:"1F91F-1F3FD",sheet:[38,13]},{unified:"1F91F-1F3FE",sheet:[38,14]},{unified:"1F91F-1F3FF",sheet:[38,15]}],shortName:"i_love_you_hand_sign"},{name:"Sign of the Horns",unified:"1F918",keywords:["sign_of_the_horns","hand","fingers","evil_eye","sign_of_horns","rock_on"],sheet:[37,31],skinVariations:[{unified:"1F918-1F3FB",sheet:[37,32]},{unified:"1F918-1F3FC",sheet:[37,33]},{unified:"1F918-1F3FD",sheet:[37,34]},{unified:"1F918-1F3FE",sheet:[37,35]},{unified:"1F918-1F3FF",sheet:[37,36]}],shortNames:["sign_of_the_horns"],shortName:"the_horns"},{name:"Call Me Hand",unified:"1F919",keywords:["call_me_hand","hands","gesture"],sheet:[37,37],skinVariations:[{unified:"1F919-1F3FB",sheet:[37,38]},{unified:"1F919-1F3FC",sheet:[37,39]},{unified:"1F919-1F3FD",sheet:[37,40]},{unified:"1F919-1F3FE",sheet:[37,41]},{unified:"1F919-1F3FF",sheet:[37,42]}],shortName:"call_me_hand"}
1,{name:"White Left Pointing Backhand Index",unified:"1F448",keywords:["backhand_index_pointing_left","direction","fingers","hand","left"],sheet:[12,56],skinVariations:[{unified:"1F448-1F3FB",sheet:[12,57]},{unified:"1F448-1F3FC",sheet:[13,0]},{unified:"1F448-1F3FD",sheet:[13,1]},{unified:"1F448-1F3FE",sheet:[13,2]},{unified:"1F448-1F3FF",sheet:[13,3]}],shortName:"point_left"},{name:"White Right Pointing Backhand Index",unified:"1F449",keywords:["backhand_index_pointing_right","fingers","hand","direction","right"],sheet:[13,4],skinVariations:[{unified:"1F449-1F3FB",sheet:[13,5]},{unified:"1F449-1F3FC",sheet:[13,6]},{unified:"1F449-1F3FD",sheet:[13,7]},{unified:"1F449-1F3FE",sheet:[13,8]},{unified:"1F449-1F3FF",sheet:[13,9]}],shortName:"point_right"},{name:"White Up Pointing Backhand Index",unified:"1F446",keywords:["backhand_index_pointing_up","fingers","hand","direction","up"],sheet:[12,44],skinVariations:[{unified:"1F446-1F3FB",sheet:[12,45]},{unified:"1F446-1F3FC",sheet:[12,46]},{unified:"1F446-1F3FD",sheet:[12,47]},{unified:"1F446-1F3FE",sheet:[12,48]},{unified:"1F446-1F3FF",sheet:[12,49]}],shortName:"point_up_2"},{name:"Reversed Hand with Middle Finger Extended",unified:"1F595",keywords:["middle_finger","hand","fingers","rude","middle","flipping"],sheet:[29,52],skinVariations:[{unified:"1F595-1F3FB",sheet:[29,53]},{unified:"1F595-1F3FC",sheet:[29,54]},{unified:"1F595-1F3FD",sheet:[29,55]},{unified:"1F595-1F3FE",sheet:[29,56]},{unified:"1F595-1F3FF",sheet:[29,57]}],shortNames:["reversed_hand_with_middle_finger_extended"],shortName:"middle_finger"},{name:"White Down Pointing Backhand Index",unified:"1F447",keywords:["backhand_index_pointing_down","fingers","hand","direction","down"],sheet:[12,50],skinVariations:[{unified:"1F447-1F3FB",sheet:[12,51]},{unified:"1F447-1F3FC",sheet:[12,52]},{unified:"1F447-1F3FD",sheet:[12,53]},{unified:"1F447-1F3FE",sheet:[12,54]},{unified:"1F447-1F3FF",sheet:[12,55]}],shortName:"point_down"},{name:"White Up Pointing Index",unified:"261D-FE0F",keywords:["index_pointing_up","hand","fingers","direction","up"],sheet:[54,7],skinVariations:[{unified:"261D-1F3FB",sheet:[54,8]},{unified:"261D-1F3FC",sheet:[54,9]},{unified:"261D-1F3FD",sheet:[54,10]},{unified:"261D-1F3FE",sheet:[54,11]},{unified:"261D-1F3FF",sheet:[54,12]}],shortName:"point_up"},{name:"Thumbs Up Sign",unified:"1F44D",keywords:["thumbs_up","thumbsup","yes","awesome","good","agree","accept","cool","hand","like","+1"],sheet:[13,28],skinVariations:[{unified:"1F44D-1F3FB",sheet:[13,29]},{unified:"1F44D-1F3FC",sheet:[13,30]},{unified:"1F44D-1F3FD",sheet:[13,31]},{unified:"1F44D-1F3FE",sheet:[13,32]},{unified:"1F44D-1F3FF",sheet:[13,33]}],shortNames:["thumbsup"],shortName:"+1"},{name:"Thumbs Down Sign",unified:"1F44E",keywords:["thumbs_down","thumbsdown","no","dislike","hand","-1"],sheet:[13,34],skinVariations:[{unified:"1F44E-1F3FB",sheet:[13,35]},{unified:"1F44E-1F3FC",sheet:[13,36]},{unified:"1F44E-1F3FD",sheet:[13,37]},{unified:"1F44E-1F3FE",sheet:[13,38]},{unified:"1F44E-1F3FF",sheet:[13,39]}],shortNames:["thumbsdown"],shortName:"-1"},{name:"Raised Fist",unified:"270A",keywords:["raised_fist","fingers","hand","grasp"],sheet:[55,48],skinVariations:[{unified:"270A-1F3FB",sheet:[55,49]},{unified:"270A-1F3FC",sheet:[55,50]},{unified:"270A-1F3FD",sheet:[55,51]},{unified:"270A-1F3FE",sheet:[55,52]},{unified:"270A-1F3FF",sheet:[55,53]}],shortName:"fist"},{name:"Fisted Hand Sign",unified:"1F44A",keywords:["oncoming_fist","angry","violence","fist","hit","attack","hand"],sheet:[13,10],skinVariations:[{unified:"1F44A-1F3FB",sheet:[13,11]},{unified:"1F44A-1F3FC",sheet:[13,12]},{unified:"1F44A-1F3FD",sheet:[13,13]},{unified:"1F44A-1F3FE",sheet:[13,14]},{unified:"1F44A-1F3FF",sheet:[13,15]}],shortNames:["punch"],shortName:"facepunch"},{name:"Left-Facing Fist",unified:"1F91B",keywords:["left_facing_fist","hand","fistbump"],sheet:[37,49],skinVariations:[{unified:"1F91B-1F3FB",sheet:[37,50]},{unified:"1F91B-1F3FC",sheet:[37,51]},{unified:"1F91B-1F3FD",sheet:[37,52]},{unified:"1F91B-1F3FE",sheet:[37,53]},{unified:"1F91B-1F3FF",sheet:[37,54]}],shortName:"left-facing_fist"},{name:"Right-Facing Fist",unified:"1F91C",keywords:["right_facing_fist","hand","fistbump"],sheet:[37,55],skinVariations:[{unified:"1F91C-1F3FB",sheet:[37,56]},{unified:"1F91C-1F3FC",sheet:[37,57]},{unified:"1F91C-1F3FD",sheet:[38,0]},{unified:"1F91C-1F3FE",sheet:[38,1]},{unified:"1F91C-1F3FF",sheet:[38,2]}],shortName:"right-facing_fist"},{name:"Clapping Hands Sign",unified:"1F44F",keywords:["clapping_hands","hands","praise","applause","congrats","y
1ay"],sheet:[13,40],skinVariations:[{unified:"1F44F-1F3FB",sheet:[13,41]},{unified:"1F44F-1F3FC",sheet:[13,42]},{unified:"1F44F-1F3FD",sheet:[13,43]},{unified:"1F44F-1F3FE",sheet:[13,44]},{unified:"1F44F-1F3FF",sheet:[13,45]}],shortName:"clap"},{name:"Person Raising Both Hands in Celebration",unified:"1F64C",keywords:["raising_hands","gesture","hooray","yea","celebration","hands"],sheet:[33,2],skinVariations:[{unified:"1F64C-1F3FB",sheet:[33,3]},{unified:"1F64C-1F3FC",sheet:[33,4]},{unified:"1F64C-1F3FD",sheet:[33,5]},{unified:"1F64C-1F3FE",sheet:[33,6]},{unified:"1F64C-1F3FF",sheet:[33,7]}],shortName:"raised_hands"},{name:"Open Hands Sign",unified:"1F450",keywords:["open_hands","fingers","butterfly","hands","open"],sheet:[13,46],skinVariations:[{unified:"1F450-1F3FB",sheet:[13,47]},{unified:"1F450-1F3FC",sheet:[13,48]},{unified:"1F450-1F3FD",sheet:[13,49]},{unified:"1F450-1F3FE",sheet:[13,50]},{unified:"1F450-1F3FF",sheet:[13,51]}],shortName:"open_hands"},{name:"Palms Up Together",unified:"1F932",keywords:["palms_up_together","hands","gesture","cupped","prayer"],sheet:[39,3],skinVariations:[{unified:"1F932-1F3FB",sheet:[39,4]},{unified:"1F932-1F3FC",sheet:[39,5]},{unified:"1F932-1F3FD",sheet:[39,6]},{unified:"1F932-1F3FE",sheet:[39,7]},{unified:"1F932-1F3FF",sheet:[39,8]}],shortName:"palms_up_together"},{name:"Handshake",unified:"1F91D",keywords:["handshake","agreement","shake"],sheet:[38,3],shortName:"handshake"},{name:"Person with Folded Hands",unified:"1F64F",keywords:["folded_hands","please","hope","wish","namaste","highfive"],sheet:[33,44],skinVariations:[{unified:"1F64F-1F3FB",sheet:[33,45]},{unified:"1F64F-1F3FC",sheet:[33,46]},{unified:"1F64F-1F3FD",sheet:[33,47]},{unified:"1F64F-1F3FE",sheet:[33,48]},{unified:"1F64F-1F3FF",sheet:[33,49]}],shortName:"pray"},{name:"Writing Hand",unified:"270D-FE0F",keywords:["writing_hand","lower_left_ballpoint_pen","stationery","write","compose"],sheet:[56,8],skinVariations:[{unified:"270D-1F3FB",sheet:[56,9]},{unified:"270D-1F3FC",sheet:[56,10]},{unified:"270D-1F3FD",sheet:[56,11]},{unified:"270D-1F3FE",sheet:[56,12]},{unified:"270D-1F3FF",sheet:[56,13]}],shortName:"writing_hand"},{name:"Nail Polish",unified:"1F485",keywords:["nail_polish","beauty","manicure","finger","fashion","nail"],sheet:[24,36],skinVariations:[{unified:"1F485-1F3FB",sheet:[24,37]},{unified:"1F485-1F3FC",sheet:[24,38]},{unified:"1F485-1F3FD",sheet:[24,39]},{unified:"1F485-1F3FE",sheet:[24,40]},{unified:"1F485-1F3FF",sheet:[24,41]}],shortName:"nail_care"},{name:"Selfie",unified:"1F933",keywords:["selfie","camera","phone"],sheet:[39,9],skinVariations:[{unified:"1F933-1F3FB",sheet:[39,10]},{unified:"1F933-1F3FC",sheet:[39,11]},{unified:"1F933-1F3FD",sheet:[39,12]},{unified:"1F933-1F3FE",sheet:[39,13]},{unified:"1F933-1F3FF",sheet:[39,14]}],shortName:"selfie"},{name:"Flexed Biceps",unified:"1F4AA",keywords:["flexed_biceps","arm","flex","hand","summer","strong","biceps"],sheet:[25,54],skinVariations:[{unified:"1F4AA-1F3FB",sheet:[25,55]},{unified:"1F4AA-1F3FC",sheet:[25,56]},{unified:"1F4AA-1F3FD",sheet:[25,57]},{unified:"1F4AA-1F3FE",sheet:[26,0]},{unified:"1F4AA-1F3FF",sheet:[26,1]}],shortName:"muscle"},{name:"Mechanical Arm",unified:"1F9BE",keywords:["mechanical_arm","accessibility"],sheet:[44,24],shortName:"mechanical_arm"},{name:"Mechanical Leg",unified:"1F9BF",keywords:["mechanical_leg","accessibility"],sheet:[44,25],shortName:"mechanical_leg"},{name:"Leg",unified:"1F9B5",keywords:["leg","kick","limb"],sheet:[43,24],skinVariations:[{unified:"1F9B5-1F3FB",sheet:[43,25]},{unified:"1F9B5-1F3FC",sheet:[43,26]},{unified:"1F9B5-1F3FD",sheet:[43,27]},{unified:"1F9B5-1F3FE",sheet:[43,28]},{unified:"1F9B5-1F3FF",sheet:[43,29]}],shortName:"leg"},{name:"Foot",unified:"1F9B6",keywords:["foot","kick","stomp"],sheet:[43,30],skinVariations:[{unified:"1F9B6-1F3FB",sheet:[43,31]},{unified:"1F9B6-1F3FC",sheet:[43,32]},{unified:"1F9B6-1F3FD",sheet:[43,33]},{unified:"1F9B6-1F3FE",sheet:[43,34]},{unified:"1F9B6-1F3FF",sheet:[43,35]}],shortName:"foot"},{name:"Ear",unified:"1F442",keywords:["ear","face","hear","sound","listen"],sheet:[12,30],skinVariations:[{unified:"1F442-1F3FB",sheet:[12,31]},{unified:"1F442-1F3FC",sheet:[12,32]},{unified:"1F442-1F3FD",sheet:[12,33]},{unified:"1F442-1F3FE",sheet:[12,34]},{unified:"1F442-1F3FF",sheet:[12,35]}],shortName:"ear"},{name:"Ear with Hearing Aid",unified:"1F9BB",keywords:["ear_with_hearing_aid","accessibility"],sheet:[44,16],skinVariations:[{unified:"1F9BB-1F3FB",sheet:[44,17]},{unified:"1F9BB-1F3FC",sheet:[44,18]},{unified:"1F9BB-1F3FD",sheet:[44,19]},{unified:"1F9BB-1F3FE",sheet:[44,20]},{unified:"1F9BB-1F3FF",sheet:[44,21]}],shortName:"ear_with_hearing_aid"},{name:"Nose",unified:"1F443",keywords:["nose","smell","sniff"],sheet:[12,36],skinVariations:[{unified:"1F443-1F3FB",sheet:[12,37]},{unified:"1F443-1F3FC",sheet:[12,38]},{unified:"1F443-1F3FD",sheet:[12,39]},{unified:"1F443-1F3FE",sheet:[12,40]},{unified:"1F443-1F3FF",sheet:[12,41]}],shortName:"nose"},{name:"Brain",unified:"1F9E0",keywords:["brain","smart","intelligent"],sheet:[51,43],short
1Name:"brain"},{name:"Anatomical Heart",unified:"1FAC0",keywords:["anatomical heart","health","heartbeat"],sheet:[53,6],shortName:"anatomical_heart"},{name:"Lungs",unified:"1FAC1",keywords:["lungs","breathe"],sheet:[53,7],shortName:"lungs"},{name:"Tooth",unified:"1F9B7",keywords:["tooth","teeth","dentist"],sheet:[43,36],shortName:"tooth"},{name:"Bone",unified:"1F9B4",keywords:["bone","skeleton"],sheet:[43,23],shortName:"bone"},{name:"Eyes",unified:"1F440",keywords:["eyes","look","watch","stalk","peek","see"],sheet:[12,27],shortName:"eyes"},{name:"Eye",unified:"1F441-FE0F",keywords:["eye","face","look","see","watch","stare"],sheet:[12,29],shortName:"eye"},{name:"Tongue",unified:"1F445",keywords:["tongue","mouth","playful"],sheet:[12,43],shortName:"tongue"},{name:"Mouth",unified:"1F444",keywords:["mouth","mouth","kiss"],sheet:[12,42],shortName:"lips"},{name:"Baby",unified:"1F476",keywords:["baby","child","boy","girl","toddler"],sheet:[23,8],skinVariations:[{unified:"1F476-1F3FB",sheet:[23,9]},{unified:"1F476-1F3FC",sheet:[23,10]},{unified:"1F476-1F3FD",sheet:[23,11]},{unified:"1F476-1F3FE",sheet:[23,12]},{unified:"1F476-1F3FF",sheet:[23,13]}],shortName:"baby"},{name:"Child",unified:"1F9D2",keywords:["child","gender-neutral","young"],sheet:[48,43],skinVariations:[{unified:"1F9D2-1F3FB",sheet:[48,44]},{unified:"1F9D2-1F3FC",sheet:[48,45]},{unified:"1F9D2-1F3FD",sheet:[48,46]},{unified:"1F9D2-1F3FE",sheet:[48,47]},{unified:"1F9D2-1F3FF",sheet:[48,48]}],shortName:"child"},{name:"Boy",unified:"1F466",keywords:["boy","man","male","guy","teenager"],sheet:[14,15],skinVariations:[{unified:"1F466-1F3FB",sheet:[14,16]},{unified:"1F466-1F3FC",sheet:[14,17]},{unified:"1F466-1F3FD",sheet:[14,18]},{unified:"1F466-1F3FE",sheet:[14,19]},{unified:"1F466-1F3FF",sheet:[14,20]}],shortName:"boy"},{name:"Girl",unified:"1F467",keywords:["girl","female","woman","teenager"],sheet:[14,21],skinVariations:[{unified:"1F467-1F3FB",sheet:[14,22]},{unified:"1F467-1F3FC",sheet:[14,23]},{unified:"1F467-1F3FD",sheet:[14,24]},{unified:"1F467-1F3FE",sheet:[14,25]},{unified:"1F467-1F3FF",sheet:[14,26]}],shortName:"girl"},{name:"Adult",unified:"1F9D1",keywords:["person","gender-neutral","person"],sheet:[48,37],skinVariations:[{unified:"1F9D1-1F3FB",sheet:[48,38]},{unified:"1F9D1-1F3FC",sheet:[48,39]},{unified:"1F9D1-1F3FD",sheet:[48,40]},{unified:"1F9D1-1F3FE",sheet:[48,41]},{unified:"1F9D1-1F3FF",sheet:[48,42]}],shortName:"adult"},{name:"Person with Blond Hair",unified:"1F471",keywords:["person_blond_hair","hairstyle"],sheet:[22,24],skinVariations:[{unified:"1F471-1F3FB",sheet:[22,25]},{unified:"1F471-1F3FC",sheet:[22,26]},{unified:"1F471-1F3FD",sheet:[22,27]},{unified:"1F471-1F3FE",sheet:[22,28]},{unified:"1F471-1F3FF",sheet:[22,29]}],shortName:"person_with_blond_hair",obsoletedBy:"1F471-200D-2642-FE0F"},{name:"Man",unified:"1F468",keywords:["man","mustache","father","dad","guy","classy","sir","moustache"],sheet:[17,14],skinVariations:[{unified:"1F468-1F3FB",sheet:[17,15]},{unified:"1F468-1F3FC",sheet:[17,16]},{unified:"1F468-1F3FD",sheet:[17,17]},{unified:"1F468-1F3FE",sheet:[17,18]},{unified:"1F468-1F3FF",sheet:[17,19]}],shortName:"man"},{name:"Bearded Person",unified:"1F9D4",keywords:["man_beard","person","bewhiskered"],sheet:[48,55],skinVariations:[{unified:"1F9D4-1F3FB",sheet:[48,56]},{unified:"1F9D4-1F3FC",sheet:[48,57]},{unified:"1F9D4-1F3FD",sheet:[49,0]},{unified:"1F9D4-1F3FE",sheet:[49,1]},{unified:"1F9D4-1F3FF",sheet:[49,2]}],shortName:"bearded_person"},{name:"Man: Red Hair",unified:"1F468-200D-1F9B0",keywords:["man_red_hair","hairstyle"],sheet:[16,16],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B0",sheet:[16,17]},{unified:"1F468-1F3FC-200D-1F9B0",sheet:[16,18]},{unified:"1F468-1F3FD-200D-1F9B0",sheet:[16,19]},{unified:"1F468-1F3FE-200D-1F9B0",sheet:[16,20]},{unified:"1F468-1F3FF-200D-1F9B0",sheet:[16,21]}],shortName:"red_haired_man"},{name:"Man: Curly Hair",unified:"1F468-200D-1F9B1",keywords:["man_curly_hair","hairstyle"],sheet:[16,22],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B1",sheet:[16,23]},{unified:"1F468-1F3FC-200D-1F9B1",sheet:[16,24]},{unified:"1F468-1F3FD-200D-1F9B1",sheet:[16,25]},{unified:"1F468-1F3FE-200D-1F9B1",sheet:[16,26]},{unified:"1F468-1F3FF-200D-1F9B1",sheet:[16,27]}],shortName:"curly_haired_man"},{name:"Man: White Hair",unified:"1F468-200D-1F9B3",keywords:["man_white_hair","old","elder"],sheet:[16,34],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B3",sheet:[16,35]},{unified:"1F468-1F3FC-200D-1F9B3",sheet:[16,36]},{unified:"1F468-1F3FD-200D-1F9B3",sheet:[16,37]},{unified:"1F468-1F3FE-200D-1F9B3",sheet:[16,38]},{unified:"1F468-1F3FF-200D-1F9B3",sheet:[16,39]}],shortName:"white_haired_man"},{name:"Man: Bald",unified:"1F468-200D-1F9B2",keywords:["man_bald","hairless"],sheet:[16,28],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B2",sheet:[16,29]},{unified:"1F468-1F3FC-200D-1F9B2",sheet:[16,30]},{unified:"1F468-1F3FD-200D-1F9B2",sheet:[16,31]},{unified:"1F468-1F3FE-200D-1F9B2",sheet:[16,32]},{unified:"1F468-1F3FF-200D-1F9B2",sheet:[16,33]}],shortName:"bald_man"},{name:"Woman",unified:"1F469",keywords:["woman","female","girls","lady"],sheet:[20,4],skinVariations:[{unified:"1F469-1F3FB",sheet:[20,5]},{unified:"1F469-1F3FC",sheet:[20,6]},{unified:"1F469-1F3FD",sheet:[20,7]},{unified:"1F469-1F3FE",sheet:[20,8]},{unified:"1F469-1F3FF",sheet:[20,9]}],shortName:"woman"},{name:"Woman: Red Hair",unified:"1F469-200D-1F9B0",keywords:["woman_red_hair","hairstyle"],sheet:[19,4],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B0",sheet:[19,5]},{unified:"1F469-1F3FC-200D-1F9B0",sheet:[19,6]},{unified:"1F469-1F3FD-200D-1F9B0",sheet:[19,7]},{unified:"1F469-1F3FE-200D-1F9B0",sheet:[19,8]},{unified:"1F469-1F3FF-200D-1F9B0",sheet:[19,9]}],shortName:"red_haired_woman"},{name:"Person: Red Hair",unified:"1F9D1-200D-1F9B0",keywords:["person_red_hair","hairstyle"],sheet:[47,41],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B0",sheet:[47,42]},{unified:"1F9D1-1F3FC-200D-1F9B0",sheet:[47,43]},{unified:"1F9D1-1F3FD-200D-1F9B0",sheet:[47,44]},{unified:"1F9D1-1F3FE-200D-1F9B0",sheet:[47,45]},{unified:"1F9D1-1F3FF-200D-1F9B0",sheet:[47,46]}],shortName:"red_haired_person"},{name:"Woman: Curly Hair",unified:"1F469-200D-1F9B1",keywords:["woman_curly_hair","hairstyle"],sheet:[19,10],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B1",sheet:[19,11]},{unified:"1F469-1F3FC-200D-1F9B1",sheet:[19,12]},{unified:"1F469-1F3FD-200D-1F9B1",sheet:[19,13]},{unified:"1F469-1F3FE-200D-1F9B1",sheet:[19,14]},{unified:"1F469-1F3FF-200D-1F9B1",sheet:[19,15]}],shortName:"curly_haired_woman"},{name:"Person: Curly Hair",unified:"1F9D1-200D-1F9B1",keywords:["person_curly_hair","hairstyle"],sheet:[47,47],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B1",sheet:[47,48]},{unified:"1F9D1-1F3FC-200D-1F9B1",sheet:[47,49]},{unified:"1F9D1-1F3FD-200D-1F9B1",sheet:[47,50]},{unified:"1F9D1-1F3FE-200D-1F9B1",sheet:[47,51]},{unified:"1F9D1-1F3FF-200D-1F9B1",sheet:[47,52]}],shortName:"curly_haired_person"},{name:"Woman: White Hair",unified:"1F469-200D-1F9B3",keywords:["woman_white_hair","old","elder"],sheet:[19,22],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B3",sheet:[19,23]},{unified:"1F469-1F3FC-200D-1F9B3",sheet:[19,24]},{unified:"1F469-1F3FD-200D-1F9B3",sheet:[19,25]},{unified:"1F469-1F3FE-200D-1F9B3",sheet:[19,26]},{unified:"1F469-1F3FF-200D-1F9B3",sheet:[19,27]}],shortName:"white_haired_woman"},{name:"Person: White Hair",unified:"1F9D1-200D-1F9B3",keywords:["person_white_hair","elder","old"],sheet:[48,1],hidden:["facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B3",sheet:[48,2],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B3",sheet:[48,3],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B3",sheet:[48,4],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B3",sheet:[48,5],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B3",sheet:[48,6],hidden:["facebook"]}],shortName:"white_haired_person"},{name:"Woman: Bald",unified:"1F469-200D-1F9B2",keywords:["woman_bald","hairless"],sheet:[19,16],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B2",sheet:[19,17]},{unified:"1F469-1F3FC-200D-1F9B2",sheet:[19,18]},{unified:"1F469-1F3FD-200D-1F9B2",sheet:[19,19]},{unified:"1F469-1F3FE-200D-1F9B2",sheet:[19,20]},{unified:"1F469-1F3FF-200D-1F9B2",sheet:[19,21]}],shortName:"bald_woman"},{name:"Person: Bald",unified:"1F9D1-200D-1F9B2",keywords:["person_bald","hairless"],sheet:[47,53],hidden:["facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B2",sheet:[47,54],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B2",sheet:[47,55],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B2",sheet:[47,56],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B2",sheet:[47,57],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B2",sheet:[48,0],hidden:["facebook"]}],shortName:"bald_person"},{name:"Woman: Blond Hair",unified:"1F471-200D-2640-FE0F",keywords:["woman_blond_hair","woman","female","girl","blonde","person"],sheet:[22,12],skinVariations:[{unified:"1F471-1F3FB-200D-2640-FE0F",sheet:[22,13]},{unified:"1F471-1F3FC-200D-2640-FE0F",sheet:[22,14]},{unified:"1F471-1F3FD-200D-2640-FE0F",sheet:[22,15]},{unified:"1F471-1F3FE-200D-2640-FE0F",sheet:[22,16]},{unified:"1F471-1F3FF-200D-2640-FE0F",sheet:[22,17]}],shortName:"blond-haired-woman"},{name:"Man: Blond Hair",unified:"1F471-200D-2642-FE0F",obsoletes:"1F471",keywords:["man_blond_hair","man","male","boy","blonde","guy","person"],sheet:[22,18],skinVariations:[{unified:"1F471-1F3FB-200D-2642-FE0F",sheet:[22,19]},{unified:"1F471-1F3FC-200D-2642-FE0F",sheet:[22,20]},{unified:"1F471-1F3FD-200D-2642-FE0F",sheet:[22,21]},{unified:"1F471-1F3FE-200D-2642-FE0F",sheet:[22,22]},{unified:"1F471-1F3FF-200D-2642-FE0F",sheet:[22,23]}],shortName:"blond-haired-man"},{name:"Older Adult",unified:"1F9D3",keywords:["older_person","human","elder","senior","gender-neutral"],sheet:[48,49],skinVariations:[{unified:"1F9D3-1F3FB",sheet:[48,50]},{unified:"1F9D3-1F3FC",sheet:[48,51]},{unified:"1F9D3-1F3FD",sheet:[48,52]},{unified:"1F9D3-1F3FE",sheet:[48,53]}
1,{unified:"1F9D3-1F3FF",sheet:[48,54]}],shortName:"older_adult"},{name:"Older Man",unified:"1F474",keywords:["old_man","human","male","men","old","elder","senior"],sheet:[22,54],skinVariations:[{unified:"1F474-1F3FB",sheet:[22,55]},{unified:"1F474-1F3FC",sheet:[22,56]},{unified:"1F474-1F3FD",sheet:[22,57]},{unified:"1F474-1F3FE",sheet:[23,0]},{unified:"1F474-1F3FF",sheet:[23,1]}],shortName:"older_man"},{name:"Older Woman",unified:"1F475",keywords:["old_woman","human","female","women","lady","old","elder","senior"],sheet:[23,2],skinVariations:[{unified:"1F475-1F3FB",sheet:[23,3]},{unified:"1F475-1F3FC",sheet:[23,4]},{unified:"1F475-1F3FD",sheet:[23,5]},{unified:"1F475-1F3FE",sheet:[23,6]},{unified:"1F475-1F3FF",sheet:[23,7]}],shortName:"older_woman"},{name:"Person Frowning",unified:"1F64D",keywords:["person_frowning","worried"],sheet:[33,20],skinVariations:[{unified:"1F64D-1F3FB",sheet:[33,21]},{unified:"1F64D-1F3FC",sheet:[33,22]},{unified:"1F64D-1F3FD",sheet:[33,23]},{unified:"1F64D-1F3FE",sheet:[33,24]},{unified:"1F64D-1F3FF",sheet:[33,25]}],shortName:"person_frowning",obsoletedBy:"1F64D-200D-2640-FE0F"},{name:"Man Frowning",unified:"1F64D-200D-2642-FE0F",keywords:["man_frowning","male","boy","man","sad","depressed","discouraged","unhappy"],sheet:[33,14],skinVariations:[{unified:"1F64D-1F3FB-200D-2642-FE0F",sheet:[33,15]},{unified:"1F64D-1F3FC-200D-2642-FE0F",sheet:[33,16]},{unified:"1F64D-1F3FD-200D-2642-FE0F",sheet:[33,17]},{unified:"1F64D-1F3FE-200D-2642-FE0F",sheet:[33,18]},{unified:"1F64D-1F3FF-200D-2642-FE0F",sheet:[33,19]}],shortName:"man-frowning"},{name:"Woman Frowning",unified:"1F64D-200D-2640-FE0F",obsoletes:"1F64D",keywords:["woman_frowning","female","girl","woman","sad","depressed","discouraged","unhappy"],sheet:[33,8],skinVariations:[{unified:"1F64D-1F3FB-200D-2640-FE0F",sheet:[33,9]},{unified:"1F64D-1F3FC-200D-2640-FE0F",sheet:[33,10]},{unified:"1F64D-1F3FD-200D-2640-FE0F",sheet:[33,11]},{unified:"1F64D-1F3FE-200D-2640-FE0F",sheet:[33,12]},{unified:"1F64D-1F3FF-200D-2640-FE0F",sheet:[33,13]}],shortName:"woman-frowning"},{name:"Person with Pouting Face",unified:"1F64E",keywords:["person_pouting","upset"],sheet:[33,38],skinVariations:[{unified:"1F64E-1F3FB",sheet:[33,39]},{unified:"1F64E-1F3FC",sheet:[33,40]},{unified:"1F64E-1F3FD",sheet:[33,41]},{unified:"1F64E-1F3FE",sheet:[33,42]},{unified:"1F64E-1F3FF",sheet:[33,43]}],shortName:"person_with_pouting_face",obsoletedBy:"1F64E-200D-2640-FE0F"},{name:"Man Pouting",unified:"1F64E-200D-2642-FE0F",keywords:["man_pouting","male","boy","man"],sheet:[33,32],skinVariations:[{unified:"1F64E-1F3FB-200D-2642-FE0F",sheet:[33,33]},{unified:"1F64E-1F3FC-200D-2642-FE0F",sheet:[33,34]},{unified:"1F64E-1F3FD-200D-2642-FE0F",sheet:[33,35]},{unified:"1F64E-1F3FE-200D-2642-FE0F",sheet:[33,36]},{unified:"1F64E-1F3FF-200D-2642-FE0F",sheet:[33,37]}],shortName:"man-pouting"},{name:"Woman Pouting",unified:"1F64E-200D-2640-FE0F",obsoletes:"1F64E",keywords:["woman_pouting","female","girl","woman"],sheet:[33,26],skinVariations:[{unified:"1F64E-1F3FB-200D-2640-FE0F",sheet:[33,27]},{unified:"1F64E-1F3FC-200D-2640-FE0F",sheet:[33,28]},{unified:"1F64E-1F3FD-200D-2640-FE0F",sheet:[33,29]},{unified:"1F64E-1F3FE-200D-2640-FE0F",sheet:[33,30]},{unified:"1F64E-1F3FF-200D-2640-FE0F",sheet:[33,31]}],shortName:"woman-pouting"},{name:"Face with No Good Gesture",unified:"1F645",keywords:["person_gesturing_no","decline"],sheet:[31,55],skinVariations:[{unified:"1F645-1F3FB",sheet:[31,56]},{unified:"1F645-1F3FC",sheet:[31,57]},{unified:"1F645-1F3FD",sheet:[32,0]},{unified:"1F645-1F3FE",sheet:[32,1]},{unified:"1F645-1F3FF",sheet:[32,2]}],shortName:"no_good",obsoletedBy:"1F645-200D-2640-FE0F"},{name:"Man Gesturing No",unified:"1F645-200D-2642-FE0F",keywords:["man_gesturing_no","male","boy","man","nope"],sheet:[31,49],skinVariations:[{unified:"1F645-1F3FB-200D-2642-FE0F",sheet:[31,50]},{unified:"1F645-1F3FC-200D-2642-FE0F",sheet:[31,51]},{unified:"1F645-1F3FD-200D-2642-FE0F",sheet:[31,52]},{unified:"1F645-1F3FE-200D-2642-FE0F",sheet:[31,53]},{unified:"1F645-1F3FF-200D-2642-FE0F",sheet:[31,54]}],shortName:"man-gesturing-no"},{name:"Woman Gesturing No",unified:"1F645-200D-2640-FE0F",obsoletes:"1F645",keywords:["woman_gesturing_no","female","girl","woman","nope"],sheet:[31,43],skinVariations:[{unified:"1F645-1F3FB-200D-2640-FE0F",sheet:[31,44]},{unified:"1F645-1F3FC-200D-2640-FE0F",sheet:[31,45]},{unified:"1F645-1F3FD-200D-2640-FE0F",sheet:[31,46]},{unified:"1F645-1F3FE-200D-2640-FE0F",sheet:[31,47]},{unified:"1F645-1F3FF-200D-2640-FE0F",sheet:[31,48]}],shortName:"woman-gesturing-no"},{name:"Face with Ok Gesture",unified:"1F646",keywords:["person_gesturing_ok","agree"],sheet:[32,15],skinVariations:[{unified:"1F646-1F3FB",sheet:[32,16]},{unified:"1F646-1F3FC",sheet:[32,17]},{unified:"1F646-1F3FD",sheet:[32,18]},{unified:"1F646-1F3FE",sheet:[32,19]},{unified:"1F646-1F3FF",sheet:[32,20]}],shortName:"ok_woman",obsoletedBy:"1F646-200D-2640-FE0F"},{name:"Man Gesturing Ok",unified:"1F646-200D-2642-FE0F",keywords:["man_gesturing_ok","men","boy","male","blue","human","man"],sheet:[32,9],skinVariations:[{unified:"1F646-1F3FB-200D-2642-FE0F",sheet:[32,10]},{unified:"1F646-1F3FC-200D-2642-FE0F",sheet:[32,11]},{unified:"1F646-1F3FD-200D-2642-FE0F",sheet:[32,12]},{unified:"1F646-1F3FE-200D-2642-FE0F",sheet:[32,13]},{unified:"1F646-1F3FF-200D-2642-FE0F",sheet:[32,14]}],shortName:"man-gesturing-ok"},{name:"Woman Gesturing Ok",unified:"1F646-200D-2640-FE0F",obsoletes:"1F646",keywords:["woman_gesturing_ok","women","girl","female","pink","human","woman"],sheet:[32,3],skinVariations:[{unified:"1F646-1F3FB-200D-2640-FE0F",sheet:[32,4]},{unified:"1F646-1F3FC-200D-2640-FE0F",sheet:[32,5]},{unified:"1F646-1F3FD-200D-2640-FE0F",sheet:[32,6]},{unified:"1F646-1F3FE-200D-2640-FE0F",sheet:[32,7]},{unified:"1F646-1F3FF-200D-2640-FE0F",sheet:[32,8]}],shortName:"woman-gesturing-ok"},{name:"Information Desk Person",unified:"1F481",keywords:["person_tipping_hand","information"],sheet:[24,5],skinVariations:[{unified:"1F481-1F3FB",sheet:[24,6]},{unified:"1F481-1F3FC",sheet:[24,7]},{unified:"1F481-1F3FD",sheet:[24,8]},{unified:"1F481-1F3FE",sheet:[24,9]},{unified:"1F481-1F3FF",sheet:[24,10]}],shortName:"information_desk_person",obsoletedBy:"1F481-200D-2640-FE0F"},{name:"Man Tipping Hand",unified:"1F481-200D-2642-FE0F",keywords:["man_tipping_hand","male","boy","man","human","information"],sheet:[23,57],skinVariations:[{unified:"1F481-1F3FB-200D-2642-FE0F",sheet:[24,0]},{unified:"1F481-1F3FC-200D-2642-FE0F",sheet:[24,1]},{unified:"1F481-1F3FD-200D-2642-FE0F",sheet:[24,2]},{unified:"1F481-1F3FE-200D-2642-FE0F",sheet:[24,3]},{unified:"1F481-1F3FF-200D-2642-FE0F",sheet:[24,4]}],shortName:"man-tipping-hand"},{name:"Woman Tipping Hand",unified:"1F481-200D-2640-FE0F",obsoletes:"1F481",keywords:["woman_tipping_hand","female","girl","woman","human","information"],sheet:[23,51],skinVariations:[{unified:"1F481-1F3FB-200D-2640-FE0F",sheet:[23,52]},{unified:"1F481-1F3FC-200D-2640-FE0F",sheet:[23,53]},{unified:"1F481-1F3FD-200D-2640-FE0F",sheet:[23,54]},{unified:"1F481-1F3FE-200D-2640-FE0F",sheet:[23,55]},{unified:"1F481-1F3FF-200D-2640-FE0F",sheet:[23,56]}],shortName:"woman-tipping-hand"},{name:"Happy Person Raising One Hand",unified:"1F64B",keywords:["person_raising_hand","question"],sheet:[32,54],skinVariations:[{unified:"1F64B-1F3FB",sheet:[32,55]},{unified:"1F64B-1F3FC",sheet:[32,56]},{unified:"1F64B-1F3FD",sheet:[32,57]},{unified:"1F64B-1F3FE",sheet:[33,0]},{unified:"1F64B-1F3FF",sheet:[33,1]}],shortName:"raising_hand",obsoletedBy:"1F64B-200D-2640-FE0F"},{name:"Man Raising Hand",unified:"1F64B-200D-2642-FE0F",keywords:["man_raising_hand","male","boy","man"],sheet:[32,48],skinVariations:[{unified:"1F64B-1F3FB-200D-2642-FE0F",sheet:[32,49]},{unified:"1F64B-1F3FC-200D-2642-FE0F",sheet:[32,50]},{unified:"1F64B-1F3FD-200D-2642-FE0F",sheet:[32,51]},{unified:"1F64B-1F3FE-200D-2642-FE0F",sheet:[32,52]},{unified:"1F64B-1F3FF-200D-2642-FE0F",sheet:[32,53]}],shortName:"man-raising-hand"},{name:"Woman Raising Hand",unified:"1F64B-200D-2640-FE0F",obsoletes:"1F64B",keywords:["woman_raising_hand","female","girl","woman"],sheet:[32,42],skinVariations:[{unified:"1F64B-1F3FB-200D-2640-FE0F",sheet:[32,43]},{unified:"1F64B-1F3FC-200D-2640-FE0F",sheet:[32,44]},{unified:"1F64B-1F3FD-200D-2640-FE0F",sheet:[32,45]},{unified:"1F64B-1F3FE-200D-2640-FE0F",sheet:[32,46]},{unified:"1F64B-1F3FF-200D-2640-FE0F",sheet:[32,47]}],shortName:"woman-raising-hand"},{name:"Deaf Person",unified:"1F9CF",keywords:["deaf_person","accessibility"],sheet:[45,28],skinVariations:[{unified:"1F9CF-1F3FB",sheet:[45,29]},{unified:"1F9CF-1F3FC",sheet:[45,30]},{unified:"1F9CF-1F3FD",sheet:[45,31]},{unified:"1F9CF-1F3FE",sheet:[45,32]},{unified:"1F9CF-1F3FF",sheet:[45,33]}],shortName:"deaf_person"},{name:"Deaf Man",unified:"1F9CF-200D-2642-FE0F",keywords:["deaf_man","accessibility"],sheet:[45,22],skinVariations:[{unified:"1F9CF-1F3FB-200D-2642-FE0F",sheet:[45,23]},{unified:"1F9CF-1F3FC-200D-2642-FE0F",sheet:[45,24]},{unified:"1F9CF-1F3FD-200D-2642-FE0F",sheet:[45,25]},{unified:"1F9CF-1F3FE-200D-2642-FE0F",sheet:[45,26]},{unified:"1F9CF-1F3FF-200D-2642-FE0F",sheet:[45,27]}],shortName:"deaf_man"},{name:"Deaf Woman",unified:"1F9CF-200D-2640-FE0F",keywords:["deaf_woman","accessibility"],sheet:[45,
116],skinVariations:[{unified:"1F9CF-1F3FB-200D-2640-FE0F",sheet:[45,17]},{unified:"1F9CF-1F3FC-200D-2640-FE0F",sheet:[45,18]},{unified:"1F9CF-1F3FD-200D-2640-FE0F",sheet:[45,19]},{unified:"1F9CF-1F3FE-200D-2640-FE0F",sheet:[45,20]},{unified:"1F9CF-1F3FF-200D-2640-FE0F",sheet:[45,21]}],shortName:"deaf_woman"},{name:"Person Bowing Deeply",unified:"1F647",keywords:["person_bowing","respectiful"],sheet:[32,33],skinVariations:[{unified:"1F647-1F3FB",sheet:[32,34]},{unified:"1F647-1F3FC",sheet:[32,35]},{unified:"1F647-1F3FD",sheet:[32,36]},{unified:"1F647-1F3FE",sheet:[32,37]},{unified:"1F647-1F3FF",sheet:[32,38]}],shortName:"bow",obsoletedBy:"1F647-200D-2642-FE0F"},{name:"Man Bowing",unified:"1F647-200D-2642-FE0F",obsoletes:"1F647",keywords:["man_bowing","man","male","boy"],sheet:[32,27],skinVariations:[{unified:"1F647-1F3FB-200D-2642-FE0F",sheet:[32,28]},{unified:"1F647-1F3FC-200D-2642-FE0F",sheet:[32,29]},{unified:"1F647-1F3FD-200D-2642-FE0F",sheet:[32,30]},{unified:"1F647-1F3FE-200D-2642-FE0F",sheet:[32,31]},{unified:"1F647-1F3FF-200D-2642-FE0F",sheet:[32,32]}],shortName:"man-bowing"},{name:"Woman Bowing",unified:"1F647-200D-2640-FE0F",keywords:["woman_bowing","woman","female","girl"],sheet:[32,21],skinVariations:[{unified:"1F647-1F3FB-200D-2640-FE0F",sheet:[32,22]},{unified:"1F647-1F3FC-200D-2640-FE0F",sheet:[32,23]},{unified:"1F647-1F3FD-200D-2640-FE0F",sheet:[32,24]},{unified:"1F647-1F3FE-200D-2640-FE0F",sheet:[32,25]},{unified:"1F647-1F3FF-200D-2640-FE0F",sheet:[32,26]}],shortName:"woman-bowing"},{name:"Face Palm",unified:"1F926",keywords:["person_facepalming","disappointed"],sheet:[38,34],skinVariations:[{unified:"1F926-1F3FB",sheet:[38,35]},{unified:"1F926-1F3FC",sheet:[38,36]},{unified:"1F926-1F3FD",sheet:[38,37]},{unified:"1F926-1F3FE",sheet:[38,38]},{unified:"1F926-1F3FF",sheet:[38,39]}],shortName:"face_palm"},{name:"Man Facepalming",unified:"1F926-200D-2642-FE0F",keywords:["man_facepalming","man","male","boy","disbelief"],sheet:[38,28],skinVariations:[{unified:"1F926-1F3FB-200D-2642-FE0F",sheet:[38,29]},{unified:"1F926-1F3FC-200D-2642-FE0F",sheet:[38,30]},{unified:"1F926-1F3FD-200D-2642-FE0F",sheet:[38,31]},{unified:"1F926-1F3FE-200D-2642-FE0F",sheet:[38,32]},{unified:"1F926-1F3FF-200D-2642-FE0F",sheet:[38,33]}],shortName:"man-facepalming"},{name:"Woman Facepalming",unified:"1F926-200D-2640-FE0F",keywords:["woman_facepalming","woman","female","girl","disbelief"],sheet:[38,22],skinVariations:[{unified:"1F926-1F3FB-200D-2640-FE0F",sheet:[38,23]},{unified:"1F926-1F3FC-200D-2640-FE0F",sheet:[38,24]},{unified:"1F926-1F3FD-200D-2640-FE0F",sheet:[38,25]},{unified:"1F926-1F3FE-200D-2640-FE0F",sheet:[38,26]},{unified:"1F926-1F3FF-200D-2640-FE0F",sheet:[38,27]}],shortName:"woman-facepalming"},{name:"Shrug",unified:"1F937",keywords:["person_shrugging","regardless"],sheet:[39,57],skinVariations:[{unified:"1F937-1F3FB",sheet:[40,0]},{unified:"1F937-1F3FC",sheet:[40,1]},{unified:"1F937-1F3FD",sheet:[40,2]},{unified:"1F937-1F3FE",sheet:[40,3]},{unified:"1F937-1F3FF",sheet:[40,4]}],shortName:"shrug"},{name:"Man Shrugging",unified:"1F937-200D-2642-FE0F",keywords:["man_shrugging","man","male","boy","confused","indifferent","doubt"],sheet:[39,51],skinVariations:[{unified:"1F937-1F3FB-200D-2642-FE0F",sheet:[39,52]},{unified:"1F937-1F3FC-200D-2642-FE0F",sheet:[39,53]},{unified:"1F937-1F3FD-200D-2642-FE0F",sheet:[39,54]},{unified:"1F937-1F3FE-200D-2642-FE0F",sheet:[39,55]},{unified:"1F937-1F3FF-200D-2642-FE0F",sheet:[39,56]}],shortName:"man-shrugging"},{name:"Woman Shrugging",unified:"1F937-200D-2640-FE0F",keywords:["woman_shrugging","woman","female","girl","confused","indifferent","doubt"],sheet:[39,45],skinVariations:[{unified:"1F937-1F3FB-200D-2640-FE0F",sheet:[39,46]},{unified:"1F937-1F3FC-200D-2640-FE0F",sheet:[39,47]},{unified:"1F937-1F3FD-200D-2640-FE0F",sheet:[39,48]},{unified:"1F937-1F3FE-200D-2640-FE0F",sheet:[39,49]},{unified:"1F937-1F3FF-200D-2640-FE0F",sheet:[39,50]}],shortName:"woman-shrugging"},{name:"Health Worker",unified:"1F9D1-200D-2695-FE0F",keywords:["health_worker","hospital"],sheet:[48,19],skinVariations:[{unified:"1F9D1-1F3FB-200D-2695-FE0F",sheet:[48,20]},{unified:"1F9D1-1F3FC-200D-2695-FE0F",sheet:[48,21]},{unified:"1F9D1-1F3FD-200D-2695-FE0F",sheet:[48,22]},{unified:"1F9D1-1F3FE-200D-2695-FE0F",sheet:[48,23]},{unified:"1F9D1-1F3FF-200D-2695-FE0F",sheet:[48,24]}],shortName:"health_worker"},{name:"Man Health Worker",unified:"1F468-200D-2695-FE0F",keywords:["man_health_worker","doctor","nurse","therapist","healthcare","man","human"],sheet:[16,52],skinVariations:[{unified:"1F468-1F3FB-200D-2695-FE0F",sheet:[16,53]},{unified:"1F468-1F3FC-200D-2695-FE0F",sheet:[16,54]},{unified:"1F468-1F3FD-200D-2695-FE0F",sheet:[16,55]},{unified:"1F468-1F3FE-200D-2695-FE0F",sheet:[16,56]},{unified:"1F468-1F3FF-200D-2695-FE0F",sheet:[16,57]}],shortName:"male-doctor"},{name:"Woman Health Worker",unified:"1F469-200D-2695-FE0F",keywords:["woman_health_worker","doctor","nurse","therapist","healthcare","woman","human"],sheet:[19,40],skinVariations:[{unified:"1F469-1F3FB-200D-2695-FE0F",sheet:[19,41]},{unified:"1F469-1F3FC-200D-2695-FE0F",sheet:[19,42]},{unified:"1F469-1F3FD-200D-2695-FE0F",sheet:[19,43]},{unified:"1F469-1F3FE-200D-2695-FE0F",sheet:[19,44]},{unified:"1F469-1F3FF-200D-2695-FE0F",sheet:[19,45]}],shortName:"female-doctor"},{name:"Student",unified:"1F9D1-200D-1F393",keywords:["student","learn"],sheet:[46,1],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F393",sheet:[46,2]},{unified:"1F9D1-1F3FC-200D-1F393",sheet:[46,3]},{unified:"1F9D1-1F3FD-200D-1F393",sheet:[46,4]}
1,{unified:"1F9D1-1F3FE-200D-1F393",sheet:[46,5]},{unified:"1F9D1-1F3FF-200D-1F393",sheet:[46,6]}],shortName:"student"},{name:"Man Student",unified:"1F468-200D-1F393",keywords:["man_student","graduate","man","human"],sheet:[14,45],skinVariations:[{unified:"1F468-1F3FB-200D-1F393",sheet:[14,46]},{unified:"1F468-1F3FC-200D-1F393",sheet:[14,47]},{unified:"1F468-1F3FD-200D-1F393",sheet:[14,48]},{unified:"1F468-1F3FE-200D-1F393",sheet:[14,49]},{unified:"1F468-1F3FF-200D-1F393",sheet:[14,50]}],shortName:"male-student"},{name:"Woman Student",unified:"1F469-200D-1F393",keywords:["woman_student","graduate","woman","human"],sheet:[17,38],skinVariations:[{unified:"1F469-1F3FB-200D-1F393",sheet:[17,39]},{unified:"1F469-1F3FC-200D-1F393",sheet:[17,40]},{unified:"1F469-1F3FD-200D-1F393",sheet:[17,41]},{unified:"1F469-1F3FE-200D-1F393",sheet:[17,42]},{unified:"1F469-1F3FF-200D-1F393",sheet:[17,43]}],shortName:"female-student"},{name:"Teacher",unified:"1F9D1-200D-1F3EB",keywords:["teacher","professor"],sheet:[46,19],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3EB",sheet:[46,20]},{unified:"1F9D1-1F3FC-200D-1F3EB",sheet:[46,21]},{unified:"1F9D1-1F3FD-200D-1F3EB",sheet:[46,22]},{unified:"1F9D1-1F3FE-200D-1F3EB",sheet:[46,23]},{unified:"1F9D1-1F3FF-200D-1F3EB",sheet:[46,24]}],shortName:"teacher"},{name:"Man Teacher",unified:"1F468-200D-1F3EB",keywords:["man_teacher","instructor","professor","man","human"],sheet:[15,5],skinVariations:[{unified:"1F468-1F3FB-200D-1F3EB",sheet:[15,6]},{unified:"1F468-1F3FC-200D-1F3EB",sheet:[15,7]},{unified:"1F468-1F3FD-200D-1F3EB",sheet:[15,8]},{unified:"1F468-1F3FE-200D-1F3EB",sheet:[15,9]},{unified:"1F468-1F3FF-200D-1F3EB",sheet:[15,10]}],shortName:"male-teacher"},{name:"Woman Teacher",unified:"1F469-200D-1F3EB",keywords:["woman_teacher","instructor","professor","woman","human"],sheet:[17,56],skinVariations:[{unified:"1F469-1F3FB-200D-1F3EB",sheet:[17,57]},{unified:"1F469-1F3FC-200D-1F3EB",sheet:[18,0]},{unified:"1F469-1F3FD-200D-1F3EB",sheet:[18,1]},{unified:"1F469-1F3FE-200D-1F3EB",sheet:[18,2]},{unified:"1F469-1F3FF-200D-1F3EB",sheet:[18,3]}],shortName:"female-teacher"},{name:"Judge",unified:"1F9D1-200D-2696-FE0F",keywords:["judge","law"],sheet:[48,25],skinVariations:[{unified:"1F9D1-1F3FB-200D-2696-FE0F",sheet:[48,26]},{unified:"1F9D1-1F3FC-200D-2696-FE0F",sheet:[48,27]},{unified:"1F9D1-1F3FD-200D-2696-FE0F",sheet:[48,28]},{unified:"1F9D1-1F3FE-200D-2696-FE0F",sheet:[48,29]},{unified:"1F9D1-1F3FF-200D-2696-FE0F",sheet:[48,30]}],shortName:"judge"},{name:"Man Judge",unified:"1F468-200D-2696-FE0F",keywords:["man_judge","justice","court","man","human"],sheet:[17,0],skinVariations:[{unified:"1F468-1F3FB-200D-2696-FE0F",sheet:[17,1]},{unified:"1F468-1F3FC-200D-2696-FE0F",sheet:[17,2]},{unified:"1F468-1F3FD-200D-2696-FE0F",sheet:[17,3]},{unified:"1F468-1F3FE-200D-2696-FE0F",sheet:[17,4]},{unified:"1F468-1F3FF-200D-2696-FE0F",sheet:[17,5]}],shortName:"male-judge"},{name:"Woman Judge",unified:"1F469-200D-2696-FE0F",keywords:["woman_judge","justice","court","woman","human"],sheet:[19,46],skinVariations:[{unified:"1F469-1F3FB-200D-2696-FE0F",sheet:[19,47]},{unified:"1F469-1F3FC-200D-2696-FE0F",sheet:[19,48]},{unified:"1F469-1F3FD-200D-2696-FE0F",sheet:[19,49]},{unified:"1F469-1F3FE-200D-2696-FE0F",sheet:[19,50]},{unified:"1F469-1F3FF-200D-2696-FE0F",sheet:[19,51]}],shortName:"female-judge"},{name:"Farmer",unified:"1F9D1-200D-1F33E",keywords:["farmer","crops"],sheet:[45,35],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F33E",sheet:[45,36]},{unified:"1F9D1-1F3FC-200D-1F33E",sheet:[45,37]},{unified:"1F9D1-1F3FD-200D-1F33E",sheet:[45,38]},{unified:"1F9D1-1F3FE-200D-1F33E",sheet:[45,39]},{unified:"1F9D1-1F3FF-200D-1F33E",sheet:[45,40]}],shortName:"farmer"},{name:"Man Farmer",unified:"1F468-200D-1F33E",keywords:["man_farmer","rancher","gardener","man","human"],sheet:[14,27],skinVariations:[{unified:"1F468-1F3FB-200D-1F33E",sheet:[14,28]},{unified:"1F468-1F3FC-200D-1F33E",sheet:[14,29]},{unified:"1F468-1F3FD-200D-1F33E",sheet:[14,30]},{unified:"1F468-1F3FE-200D-1F33E",sheet:[14,31]},{unified:"1F468-1F3FF-200D-1F33E",sheet:[14,32]}],shortName:"male-farmer"},{name:"Woman Farmer",unified:"1F469-200D-1F33E",keywords:["woman_farmer","rancher","gardener","woman","human"],sheet:[17,20],skinVariations:[{unified:"1F469-1F3FB-200D-1F33E",sheet:[17,21]},{unified:"1F469-1F3FC-200D-1F33E",sheet:[17,22]},{unified:"1F469-1F3FD-200D-1F33E",sheet:[17,23]},{unified:"1F469-1F3FE-200D-1F33E",sheet:[17,24]},{unified:"1F469-1F3FF-200D-1F33E",sheet:[17,25]}],shortName:"female-farmer"},{name:"Cook",unified:"1F9D1-200D-1F373",keywords:["cook","food","kitchen","culinary"],sheet:[45,41],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F373",sheet:[45,42]},{unified:"1F9D1-1F3FC-200D-1F373",sheet:[45,43]},{unified:"1F9D1-1F3FD-200D-1F373",sheet:[45,44]},{unified:"1F9D1-1F3FE-200D-1F373",sheet:[45,45]},{unified:"1F9D1-1F3FF-200D-1F373",sheet:[45,46]}],shortName:"cook"},{name:"Man Cook",unified:"1F468-200D-1F373",keywords:["man_cook","chef","man","human"],sheet:[14,33],skinVariations:[{unified:"1F468-1F3FB-200D-1F373",sheet:[14,34]},{unified:"1F468-1F3FC-200D-1F373",sheet:[14,35]},{unified:"1F468-1F3FD-200D-1F373",sheet:[14,36]},{unified:"1F468-1F3FE-200D-1F373",sheet:[14,37]},{unified:"1F468-1F3FF-200D-1F373",sheet:[14,38]}],shortName:"male-cook"},{name:"Woman Cook",unified:"1F469-200D-1F373",keywords:["woman_cook","chef","woman","human"],sheet:[17,26],skinVariations:[{unified:"1F469-1F3FB-200D-1F373",sheet:[17,27]},{unified:"1F469-1F3FC-200D-1F373",sheet:[17,28]},{unified:"1F469-1F3FD-200D-1F373",sheet:[17,29]},{unified:"1F469-1F3FE-200D-1F373",sheet:[17,30]},{unified:"1F469-1F3FF-200D-1F373",sheet:[17,31]}],shortName:"female-cook"},{name:"Mechanic",unified:"1F9D1-200D-1F527",keywords:["mechanic","worker","technician"],sheet:[46,43],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F527",sheet:[46,44]},{unified:"1F9D1-1F3FC-200D-1F527",sheet:[46,45]},{unified:"1F9D1-1F3FD-200D-1F527",sheet:[46,46]},{unified:"1F9D1-1F3FE-200D-1F527",sheet:[46,47]},{unified:"1F9D1-1F3FF-200D-1F527",sheet:[46,48]}],shortName:"mechanic"},{name:"Man Mechanic",unified:"1F468-200D-1F527",keywords:["man_mechanic","plumber","man","human","wrench"],sheet:[15,44],skinVariations:[{unified:"1F468-1F3FB-200D-1F527",sheet:[15,45]},{unified:"1F468-1F3FC-200D-1F527",sheet:[15,46]},{unified:"1F468-1F3FD-200D-1F527",sheet:[15,47]},{unified:"1F468-1F3FE-200D-1F527",sheet:[15,48]},{unified:"1F468-1F3FF-200D-1F527",sheet:[15,49]}],shortName:"male-mechanic"},{name:"Woman Mechanic",unified:"1F469-200D-1F527",keywords:["woman_mechanic","plumber","woman","human","wrench"],sheet:[18,32],skinVariations:[{unified:"1F469-1F3FB-200D-1F527",sheet:[18,33]},{unified:"1F469-1F3FC-200D-1F527",sheet:[18,34]},{unified:"1F469-1F3FD-200D-1F527",sheet:[18,35]},{unified:"1F469-1F3FE-200D-1F527",sheet:[18,36]},{unified:"1F469-1F3FF-200D-1F527",sheet:[18,37]}],shortName:"female-mechanic"},{name:"Factory Worker",unified:"1F9D1-200D-1F3ED",keywords:["factory_worker","labor"],sheet:[46,25],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3ED",sheet:[46,26]},{unified:"1F9D1-1F3FC-200D-1F3ED",sheet:[46,27]},{unified:"1F9D1-1F3FD-200D-1F3ED",sheet:[46,28]},{unified:"1F9D1-1F3FE-200D-1F3ED",sheet:[46,29]},{unified:"1F9D1-1F3FF-200D-1F3ED",sheet:[46,30]}],shortName:"factory_worker"},{name:"Man Factory Worker",unified:"1F468-200D-1F3ED",keywords:["man_factory_worker","assembly","industrial","man","human"],sheet:[15,11],skinVariations:[{unified:"1F468-1F3FB-200D-1F3ED",sheet:[15,12]},{unified:"1F468-1F3FC-200D-1F3ED",sheet:[15,13]},{unified:"1F468-1F3FD-200D-1F3ED",sheet:[15,14]},{unified:"1F468-1F3FE-200D-1F3ED",sheet:[15,15]},{unified:"1F468-1F3FF-200D-1F3ED",sheet:[15,16]}],shortName:"male-factory-worker"},{name:"Woman Factory Worker",unified:"1F469-200D-1F3ED",keywords:["woman_factory_worker","assembly","industrial","woman","human"],sheet:[18,4],skinVariations:[{unified:"1F469-1F3FB-200D-1F3ED",sheet:[18,5]},{unified:"1F469-1F3FC-200D-1F3ED",sheet:[18,6]},{unified:"1F469-1F3FD-200D-1F3ED",sheet:[18,7]},{unified:"1F469-1F3FE-200D-1F3ED",sheet:[18,8]},{unified:"1F469-1F3FF-200D-1F3ED",sheet:[18,9]}],shortName:"female-factory-worker"},{name:"Office Worker",unified:"1F9D1-200D-1F4BC",keywords:["office_worker","business"],sheet:[46,37],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F4BC",sheet:[46,38]},{unified:"1F9D1-1F3FC-200D-1F4BC",sheet:[46,39]},{unified:"1F9D1-1F3FD-200D-1F4BC",sheet:[46,40]},{unified:"1F9D1-1F3FE-200D-1F4BC",sheet:[46,41]},{unified:"1F9D1-1F3FF-200D-1F4BC",sheet:[46,42]}],shortName:"office_worker"},{name:"Man Office Worker",unified:"1F468-200D-1F4BC",keywords:["man_office_worker","business","manager","man","human"],sheet:[15,38],skinVariations:[{unified:"1F468-1F3FB-200D-1F4BC",sheet:[15,39]},{unified:"1F468-1F3FC-200D-1F4BC",sheet:[15,40]},{unified:"1F468-1F3FD-200D-1F4BC",sheet:[15,41]},{unified:"1F468-1F3FE-200D-1F4BC",sheet:[15,42]},{unified:"1F468-1F3FF-200D-1F4BC",sheet:[15,43]}],shortName:"male-office-worker"},{name:"Woman Office Worker",unified:"1F469-200D-1F4BC",keywords:["woman_office_worker","business","manager","woman","human"],sheet:[18,26],skinVariations:[{unified:"1F469-1F3FB-200D-1F4BC",sheet:[18,27]},{unified:"1F469-1F3FC-200D-1F4BC",sheet:[18,28]},{unified:"1F469-1F3FD-200D-1F4BC",sheet:[18,29]},{unified:"1F469-1F3FE-200D-1F4BC",sheet:[18,30]},{unified:"1F469-1F3FF-200D-1F4BC",sheet:[18,31]}],shortName:"female-office-worker"},{name:"Scientist",unified:"1F9D1-200D-1F52C",keywords:["scientist","chemistry"],sheet:[46,49],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F52C",sheet:[46,50]},{unified:"1F9D1-1F3FC-200D-1F52C",sheet:[46,51]},{unified:"1F9D1-1F3FD-200D-1F52C",sheet:[46,52]},{unified:"1F9D1-1F3FE-200D-1F52C",sheet:[46,53]},{unified:"1F9D1-1F3FF-200D-1F52C",sheet:[46,54]}],shortName:"scientist"},{name:"Man Scientist",unified:"1F468-200D-1F52C",keywords:["man_scie
1ntist","biologist","chemist","engineer","physicist","man","human"],sheet:[15,50],skinVariations:[{unified:"1F468-1F3FB-200D-1F52C",sheet:[15,51]},{unified:"1F468-1F3FC-200D-1F52C",sheet:[15,52]},{unified:"1F468-1F3FD-200D-1F52C",sheet:[15,53]},{unified:"1F468-1F3FE-200D-1F52C",sheet:[15,54]},{unified:"1F468-1F3FF-200D-1F52C",sheet:[15,55]}],shortName:"male-scientist"},{name:"Woman Scientist",unified:"1F469-200D-1F52C",keywords:["woman_scientist","biologist","chemist","engineer","physicist","woman","human"],sheet:[18,38],skinVariations:[{unified:"1F469-1F3FB-200D-1F52C",sheet:[18,39]},{unified:"1F469-1F3FC-200D-1F52C",sheet:[18,40]},{unified:"1F469-1F3FD-200D-1F52C",sheet:[18,41]},{unified:"1F469-1F3FE-200D-1F52C",sheet:[18,42]},{unified:"1F469-1F3FF-200D-1F52C",sheet:[18,43]}],shortName:"female-scientist"},{name:"Technologist",unified:"1F9D1-200D-1F4BB",keywords:["technologist","computer"],sheet:[46,31],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F4BB",sheet:[46,32]},{unified:"1F9D1-1F3FC-200D-1F4BB",sheet:[46,33]},{unified:"1F9D1-1F3FD-200D-1F4BB",sheet:[46,34]},{unified:"1F9D1-1F3FE-200D-1F4BB",sheet:[46,35]},{unified:"1F9D1-1F3FF-200D-1F4BB",sheet:[46,36]}],shortName:"technologist"},{name:"Man Technologist",unified:"1F468-200D-1F4BB",keywords:["man_technologist","coder","developer","engineer","programmer","software","man","human","laptop","computer"],sheet:[15,32],skinVariations:[{unified:"1F468-1F3FB-200D-1F4BB",sheet:[15,33]},{unified:"1F468-1F3FC-200D-1F4BB",sheet:[15,34]},{unified:"1F468-1F3FD-200D-1F4BB",sheet:[15,35]},{unified:"1F468-1F3FE-200D-1F4BB",sheet:[15,36]},{unified:"1F468-1F3FF-200D-1F4BB",sheet:[15,37]}],shortName:"male-technologist"},{name:"Woman Technologist",unified:"1F469-200D-1F4BB",keywords:["woman_technologist","coder","developer","engineer","programmer","software","woman","human","laptop","computer"],sheet:[18,20],skinVariations:[{unified:"1F469-1F3FB-200D-1F4BB",sheet:[18,21]},{unified:"1F469-1F3FC-200D-1F4BB",sheet:[18,22]},{unified:"1F469-1F3FD-200D-1F4BB",sheet:[18,23]},{unified:"1F469-1F3FE-200D-1F4BB",sheet:[18,24]},{unified:"1F469-1F3FF-200D-1F4BB",sheet:[18,25]}],shortName:"female-technologist"},{name:"Singer",unified:"1F9D1-200D-1F3A4",keywords:["singer","song","artist","performer"],sheet:[46,7],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3A4",sheet:[46,8]},{unified:"1F9D1-1F3FC-200D-1F3A4",sheet:[46,9]},{unified:"1F9D1-1F3FD-200D-1F3A4",sheet:[46,10]},{unified:"1F9D1-1F3FE-200D-1F3A4",sheet:[46,11]},{unified:"1F9D1-1F3FF-200D-1F3A4",sheet:[46,12]}],shortName:"singer"},{name:"Man Singer",unified:"1F468-200D-1F3A4",keywords:["man_singer","rockstar","entertainer","man","human"],sheet:[14,51],skinVariations:[{unified:"1F468-1F3FB-200D-1F3A4",sheet:[14,52]},{unified:"1F468-1F3FC-200D-1F3A4",sheet:[14,53]},{unified:"1F468-1F3FD-200D-1F3A4",sheet:[14,54]},{unified:"1F468-1F3FE-200D-1F3A4",sheet:[14,55]},{unified:"1F468-1F3FF-200D-1F3A4",sheet:[14,56]}],shortName:"male-singer"},{name:"Woman Singer",unified:"1F469-200D-1F3A4",keywords:["woman_singer","rockstar","entertainer","woman","human"],sheet:[17,44],skinVariations:[{unified:"1F469-1F3FB-200D-1F3A4",sheet:[17,45]},{unified:"1F469-1F3FC-200D-1F3A4",sheet:[17,46]},{unified:"1F469-1F3FD-200D-1F3A4",sheet:[17,47]},{unified:"1F469-1F3FE-200D-1F3A4",sheet:[17,48]},{unified:"1F469-1F3FF-200D-1F3A4",sheet:[17,49]}],shortName:"female-singer"},{name:"Artist",unified:"1F9D1-200D-1F3A8",keywords:["artist","painting","draw","creativity"],sheet:[46,13],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3A8",sheet:[46,14]},{unified:"1F9D1-1F3FC-200D-1F3A8",sheet:[46,15]},{unified:"1F9D1-1F3FD-200D-1F3A8",sheet:[46,16]},{unified:"1F9D1-1F3FE-200D-1F3A8",sheet:[46,17]},{unified:"1F9D1-1F3FF-200D-1F3A8",sheet:[46,18]}],shortName:"artist"},{name:"Man Artist",unified:"1F468-200D-1F3A8",keywords:["man_artist","painter","man","human"],sheet:[14,57],skinVariations:[{unified:"1F468-1F3FB-200D-1F3A8",sheet:[15,0]},{unified:"1F468-1F3FC-200D-1F3A8",sheet:[15,1]},{unified:"1F468-1F3FD-200D-1F3A8",sheet:[15,2]},{unified:"1F468-1F3FE-200D-1F3A8",sheet:[15,3]},{unified:"1F468-1F3FF-200D-1F3A8",sheet:[15,4]}],shortName:"male-artist"},{name:"Woman Artist",unified:"1F469-200D-1F3A8",keywords:["woman_artist","painter","woman","human"],sheet:[17,50],skinVariations:[{unified:"1F469-1F3FB-200D-1F3A8",sheet:[17,51]},{unified:"1F469-1F3FC-200D-1F3A8",sheet:[17,52]},{unified:"1F469-1F3FD-200D-1F3A8",sheet:[17,53]},{unified:"1F469-1F3FE-200D-1F3A8",sheet:[17,54]},{unified:"1F469-1F3FF-200D-1F3A8",sheet:[17,55]}],shortName:"female-artist"},{name:"Pilot",unified:"1F9D1-200D-2708-FE0F",keywords:["pilot","fly","plane","airplane"],sheet:[48,31],skinVariations:[{unified:"1F9D1-1F3FB-200D-2708-FE0F",sheet:[48,32]},{unified:"1F9D1-1F3FC-200D-2708-FE0F",sheet:[48,33]},{unified:"1F9D1-1F3FD-200D-2708-FE0F",sheet:[48,34]},{unified:"1F9D1-1F3FE-200D-2708-FE0F",sheet:[48,35]},{unified:"1F9D1-1F3FF-200D-2708-FE0F",sheet:[48,36]}],shortName:"pilot"},{name:"Man Pilot",unified:"1F468-200D-2708-FE0F",keywords:["man_pilot","aviator","plane","man","human"],sheet:[17,6],skinVariations:[{unified:"1F468-1F3FB-200D-2708-FE0F",sheet:[17,7]},{unified:"1F468-1F3FC-200D-2708-FE0F",sheet:[17,8]},{unified:"1F468-1F3FD-200D-2708-FE0F",sheet:[17,9]},{unified:"1F468-1F3FE-200D-2708-FE0F",sheet:[17,10]},{unified:"1F468-1F3FF-200D-2708-FE0F",sheet:[17,11]}],shortName:"male-pilot"},{name:"Woman Pilot",unified:"1F469-200D-2708-FE0F",keywords:["woman_pilot","aviator","plane","woman","human"],sheet:[19,52],skinVariations:[{unified:"1F469-1F3FB-200D-2708-FE0F",sheet:[19,53]},{unified:"1F469-1F3FC-200D-2708-FE0F",sheet:[19,54]},{unified:"1F469-1F3FD-200D-2708-FE0F",sheet:[19,55]},{unified:"1F469-1F3FE-200D-2708-FE0F",sheet:[19,56]},{unified:"1F469-1F3FF-200D-2708-FE0F",sheet:[19,57]}],shortName:"female-pilot"},{name:"Astronaut",unified:"1F9D1-200D-1F680",keywords:["astronaut","outerspace"],sheet:[46,55],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F680",sheet:[46,56]},{unified:"1F9D1-1F3FC-200D-1F680",sheet:[46,57]},{unified:"1F9D1-1F3FD-200D-1F680",sheet:[47,0]},{unified:"1F9D1-1F3FE-200D-1F680",sheet:[47,1]},{unified:"1F9D1-1F3FF-200D-1F680",sheet:[47,2]}],shortName:"astronaut"},{name:"Man Astronaut",unified:"1F468-200D-1F680",keywords:["man_astronaut","space","rocket","man","human"],sheet:[15,56],skinVariations:[{unified:"1F468-1F3FB-200D-1F680",sheet:[15,57]},{unified:"1F468-1F3FC-200D-1F680",sheet:[16,0]},{unified:"1F468-1F3FD-200D-1F680",sheet:[16,1]},{unified:"1F468-1F3FE-200D-1F680",sheet:[16,2]},{unified:"1F468-1F3FF-200D-1F680",sheet:[16,3]}],shortName:"male-astronaut"},{name:"Woman Astronaut",unified:"1F469-200D-1F680",keywords:["woman_astronaut","space","rocket","woman","human"],sheet:[18,44],skinVariations:[{unified:"1F469-1F3FB-200D-1F680",sheet:[18,45]},{unified:"1F469-1F3FC-200D-1F680",sheet:[18,46]},{unified:"1F469-1F3FD-200D-1F680",sheet:[18,47]},{unified:"1F469-1F3FE-200D-1F680",sheet:[18,48]},{unified:"1F469-1F3FF-200D-1F680",sheet:[18,49]}],shortName:"female-astronaut"},{name:"Firefighter",unified:"1F9D1-200D-1F692",keywords:["firefighter","fire"],sheet:[47,3],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F692",sheet:[47,4]},{unified:"1F9D1-1F3FC-200D-1F692",sheet:[47,5]},{unified:"1F9D1-1F3FD-200D-1F692",sheet:[47,6]},{unified:"1F9D1-1F3FE-200D-1F692",sheet:[47,7]},{unified:"1F9D1-1F3FF-200D-1F692",sheet:[47,8]}],shortName:"firefighter"},{name:"Man Firefighter",unified:"1F468-200D-1F692",keywords:["man_firefighter","fireman","man","human"],sheet:[16,4],skinVariations:[{unified:"1F468-1F3FB-200D-1F692",sheet:[16,5]},{unified:"1F468-1F3FC-200D-1F692",sheet:[16,6]},{unified:"1F468-1F3FD-200D-1F692",sheet:[16,7]},{unified:"1F468-1F3FE-200D-1F692",sheet:[16,8]},{unified:"1F468-1F3FF-200D-1F692",sheet:[16,9]}],shortName:"male-firefighter"},{name:"Woman Firefighter",unified:"1F469-200D-1F692",keywords:["woman_firefighter","fireman","woman","human"],sheet:[18,50],skinVariations:[{unified:"1F469-1F3FB-200D-1F692",sheet:[18,51]},{unified:"1F469-1F3FC-200D-1F692",sheet:[18,52]},{unified:"1F469-1F3FD-200D-1F692",sheet:[18,53]},{unified:"1F469-1F3FE-200D-1F692",sheet:[18,54]},{unified:"1F469-1F3FF-200D-1F692",sheet:[18,55]}],shortName:"female-firefighter"},{name:"Police Officer",unified:"1F46E",keywords:["police_officer","cop"],sheet:[21,43],skinVariations:[{unified:"1F46E-1F3FB",sheet:[21,44]},{unified:"1F46E-1F3FC",sheet:[21,45]},{unified:"1F46E-1F3FD",sheet:[21,46]},{unified:"1F46E-1F3FE",sheet:[21,47]},{unified:"1F46E-1F3FF",sheet:[21,48]}],shortName:"cop",obsoletedBy:"1F46E-200D-2642-FE0F"},{name:"Man Police Officer",unified:"1F46E-200D-2642-FE0F",obsoletes:"1F46E",keywords:["man_police_officer","man","police","law","legal","enforcement","arrest","911"],sheet:[21,37],skinVariations:[{unified:"1F46E-1F3FB-200D-2642-FE0F",sheet:[21,38]},{unified:"1F46E-1F3FC-200D-2642-FE0F",sheet:[21,39]},{unified:"1F46E-1F3FD-200D-2642-FE0F",sheet:[21,40]},{unified:"1F46E-1F3FE-200D-2642-FE0F",sheet:[21,41]},{unified:"1F46E-1F3FF-200D-2642-FE0F",sheet:[21,42]}],shortName:"male-police-officer"},{name:"Woman Police Officer",unified:"1F46E-200D-2640-FE0F",keywords:["woman_police_officer","woman","police","law","legal","enforcement","arrest","911","female"],sheet:[21,31],skinVariations:[{unified:"1F46E-1F3FB-200D-2640-FE0F",sheet:[21,32]},{unified:"1F46E-1F3FC-200D-2640-FE0F",sheet:[21,33]},{unified:"1F46E-1F3FD-200D-2640-FE0F",sheet:[21,34]},{unified:"1F46E-1F3FE-200D-2640-FE0F",sheet:[21,35]},{unified:"1F46E-1F3FF-200D-2640-FE0F",sheet:[21,36]}],shortName:"female-police-officer"},{name:"Detective",unified:"1F575-FE0F",keywords:["detective","human","spy","detective"],sheet:[29,25],skinVariations:[{unified:"1F575-1F3FB",sheet:[29,26]},{unified:"1F575-1F3FC",sheet:[29,27]},{unified:"1F575-1F3FD",sheet:[29,28]},{unified:"1F575-1F3FE",sheet:[29,29]},{unified:"1F575-1F3FF",sheet:[29,30]}],shortName:"sleuth_or_spy",obsoletedBy:"1F575-FE0F-200D-2642-FE0F"},{name:"Man Detective",unified:"1F575-FE0F-200D-2642-FE0F",obsoletes:"1F575-FE0F",keywords:["man_detective","crime"],sheet:[29,19],hidden:["facebook"],skinVariations:[{unified:"1F575-1F3FB-200D-2642-FE0F",sheet:[29,20]},{unified:"1F575-1F3FC-200D-2642-FE0F",sheet:[29,21]},{unified:"1F575-1F3FD-200D-2642-FE0F",sheet:[29,22]},{unified:"1F575-1F3FE-200D-2642-FE0F",sheet:[29,23]},{unified:"1F575-1F3FF-200D-2642-FE0F",sheet:[29,24]}],shortName:"male-detective"},{name:"Woman Detective",unified:"1F575-FE0F-200D-2640-FE0F",keywords:["woman_detective","human","spy","detective","female","woman"],sheet:[29,13],hidden:["facebook"],skinVariations:[{unified:"1F575-1F3FB-200D-2640-FE0F",sheet:[29,14]},{unified:"1F575-1F3FC-200D-2640-FE0F",sheet:[29,15]},{unified:"1F575-1F3FD-200D-2640-FE0F",sheet:[29,16]},{unified:"1F575-1F3FE-200D-2640-FE0F",sheet:[29,17]},{unified:"1F575-1F3FF-200D-2640-FE0F",sheet:[29,18]}],shortName:"female-detective"},{name:"Guardsman",unified:"1F482",keywords:["guard","protect"],sheet:[24,23],skinVariations:[{unified:"1F482-1F3FB",sheet:[24,24]},{unified:"1F482-1F3FC",sheet:[24,25]},{unified:"1F482-1F3FD",sheet:[24,26]},{unified:"1F482-1F3FE",sheet:[24,27]},{unified:"1F482-1F3FF",sheet:[24,28]}],shortName:"guardsman",obsoletedBy:"1F482-200D-2642-FE0F"},{name:"Man Guard",unified:"1F482-200D-2642-FE0F",obsoletes:"1F482",keywords:["man_guard","uk","gb","british","male","guy","royal"],sheet:[24,17],skinVariations:[{unified:"1F482-1F3FB-200D-2642-FE0F",sheet:[24,18]},{unified:"1F482-1F3FC-200D-2642-FE0F",sheet:[24,19]},{unified:"1F482-1F3FD-200D-2642-FE0F",sheet:[24,20]},{unified:"1F482-1F3FE-200D-2642-FE0F",sheet:[24,21]},{unified:"1F482-1F3FF-200D-2642-FE0F",sheet:[24,22]}],shortName:"male-guard"},{name:"Woman Guard",unified:"1F482-200D-2640-FE0F",keywords:["woman_guard","uk","gb","british","female","royal","woman"],sheet:[24,11],skinVariations:[{unified:"1F482-1F3FB-200D-2640-FE0F",sheet:[24,12]},{unified:"1F482-1F3FC-200D-2640-FE0F",sheet:[24,13]},{unified:"1F482-1F3FD-200D-2640-FE0F",sheet:[24,14]},{unified:"1F482-1F3FE-200D-2640-FE0F",sheet:[24,15]},{unified:"1F482-1F3FF-200D-2640-FE0F",sheet:[24,16]}],shortName:"female-guard"},{name:"Ninja",unified:"1F977",keywords:["ninja","ninjutsu","skills","japanese"],sheet:[42,20],skinVariations:[{unified:"1F977-1F3FB",sheet:[42,21]},{unified:"1F977-1F3FC",sheet:[42,22]},{unified:"1F977-1F3FD",sheet:[42,23]},{unified:"1F977-1F3FE",sheet:[42,24]},{unified:"1F977-1F3FF",sheet:[42,25]}],shortName:"ninja"},{name:"Construction Worker",unified:"1F477",keywords:["construction_worker","labor","build"],sheet:[23,26],skinVariations:[{unified:"1F477-1F3FB",sheet:[23,27]},{unified:"1F477-1F3FC",sheet:[23,28]},{unified:"1F477-1F3FD",sheet:[23,29]},{unified:"1F477-1F3FE",sheet:[23,30]},{unified:"1F477-1F3FF",sheet:[23,31]}],shortName:"construction_worker",obsoletedBy:"1F477-200D-2642-FE0F"},{name:"Man Construction Worker",unified:"1F477-200D-2642-FE0F",obsoletes:"1F477",keywords:["man_construction_worker","male","human","wip","guy","build","construction","worker","labor"],sheet:[23,20],skinVariations:[{unified:"1F477-1F3FB-200D-2642-FE0F",sheet:[23,21]},{unified:"1F477-1F3FC-200D-2642-FE0F",sheet:[23,22]},{unified:"1F477-1F3FD-200D-2642-FE0F",sheet:[23,23]},{unified:"1F477-1F3FE-200D-2642-FE0F",sheet:[23,24]},{unified:"1F477-1F3FF-200D-2642-FE0F",sheet:[23,25]}],shortName:"male-construction-worker"},{name:"Woman Construction Worker",unified:"1F477-200D-2640-FE0F",keywords:["woman_construction_worker","female","human","wip","build","construction","worker","labor","woman"],sheet:[23,14],skinVariations:[{unified:"1F477-1F3FB-200D-2640-FE0F",sheet:[23,15]},{unified:"1F477-1F3FC-200D-2640-FE0F",sheet:[23,16]},{unified:"1F477-1F3FD-200D-2640-FE0F",sheet:[23,17]},{unified:"1F477-1F3FE-200D-2640-FE0F",sheet:[23,18]},{unified:"1F477-1F3FF-200D-2640-FE0F",sheet:[23,19]}],shortName:"female-construction-worker"},{name:"Prince",unified:"1F934",keywords:["prince","boy","man","male","crown","royal","king"],sheet:[39,15],skinVariations:[{unified:"1F934-1F3FB",sheet:[39,16]},{unified:"1F934-1F3FC",sheet:[39,17]},{unified:"1F934-1F3FD",sheet:[39,18]},{unified:"1F934-1F3FE",sheet:[39,19]}
1,{unified:"1F934-1F3FF",sheet:[39,20]}],shortName:"prince"},{name:"Princess",unified:"1F478",keywords:["princess","girl","woman","female","blond","crown","royal","queen"],sheet:[23,32],skinVariations:[{unified:"1F478-1F3FB",sheet:[23,33]},{unified:"1F478-1F3FC",sheet:[23,34]},{unified:"1F478-1F3FD",sheet:[23,35]},{unified:"1F478-1F3FE",sheet:[23,36]},{unified:"1F478-1F3FF",sheet:[23,37]}],shortName:"princess"},{name:"Man with Turban",unified:"1F473",keywords:["person_wearing_turban","headdress"],sheet:[22,48],skinVariations:[{unified:"1F473-1F3FB",sheet:[22,49]},{unified:"1F473-1F3FC",sheet:[22,50]},{unified:"1F473-1F3FD",sheet:[22,51]},{unified:"1F473-1F3FE",sheet:[22,52]},{unified:"1F473-1F3FF",sheet:[22,53]}],shortName:"man_with_turban",obsoletedBy:"1F473-200D-2642-FE0F"},{name:"Man Wearing Turban",unified:"1F473-200D-2642-FE0F",obsoletes:"1F473",keywords:["man_wearing_turban","male","indian","hinduism","arabs"],sheet:[22,42],skinVariations:[{unified:"1F473-1F3FB-200D-2642-FE0F",sheet:[22,43]},{unified:"1F473-1F3FC-200D-2642-FE0F",sheet:[22,44]},{unified:"1F473-1F3FD-200D-2642-FE0F",sheet:[22,45]},{unified:"1F473-1F3FE-200D-2642-FE0F",sheet:[22,46]},{unified:"1F473-1F3FF-200D-2642-FE0F",sheet:[22,47]}],shortName:"man-wearing-turban"},{name:"Woman Wearing Turban",unified:"1F473-200D-2640-FE0F",keywords:["woman_wearing_turban","female","indian","hinduism","arabs","woman"],sheet:[22,36],skinVariations:[{unified:"1F473-1F3FB-200D-2640-FE0F",sheet:[22,37]},{unified:"1F473-1F3FC-200D-2640-FE0F",sheet:[22,38]},{unified:"1F473-1F3FD-200D-2640-FE0F",sheet:[22,39]},{unified:"1F473-1F3FE-200D-2640-FE0F",sheet:[22,40]},{unified:"1F473-1F3FF-200D-2640-FE0F",sheet:[22,41]}],shortName:"woman-wearing-turban"},{name:"Man with Gua Pi Mao",unified:"1F472",keywords:["man_with_skullcap","male","boy","chinese"],sheet:[22,30],skinVariations:[{unified:"1F472-1F3FB",sheet:[22,31]},{unified:"1F472-1F3FC",sheet:[22,32]},{unified:"1F472-1F3FD",sheet:[22,33]},{unified:"1F472-1F3FE",sheet:[22,34]},{unified:"1F472-1F3FF",sheet:[22,35]}],shortName:"man_with_gua_pi_mao"},{name:"Person with Headscarf",unified:"1F9D5",keywords:["woman_with_headscarf","female","hijab","mantilla","tichel"],sheet:[49,3],skinVariations:[{unified:"1F9D5-1F3FB",sheet:[49,4]},{unified:"1F9D5-1F3FC",sheet:[49,5]},{unified:"1F9D5-1F3FD",sheet:[49,6]},{unified:"1F9D5-1F3FE",sheet:[49,7]},{unified:"1F9D5-1F3FF",sheet:[49,8]}],shortName:"person_with_headscarf"},{name:"Man in Tuxedo",unified:"1F935",keywords:["man_in_tuxedo","couple","marriage","wedding","groom"],sheet:[39,33],skinVariations:[{unified:"1F935-1F3FB",sheet:[39,34]},{unified:"1F935-1F3FC",sheet:[39,35]},{unified:"1F935-1F3FD",sheet:[39,36]},{unified:"1F935-1F3FE",sheet:[39,37]},{unified:"1F935-1F3FF",sheet:[39,38]}],shortName:"person_in_tuxedo"},{name:"Man in Tuxedo",unified:"1F935-200D-2642-FE0F",keywords:["man in tuxedo","formal","fashion"],sheet:[39,27],skinVariations:[{unified:"1F935-1F3FB-200D-2642-FE0F",sheet:[39,28]},{unified:"1F935-1F3FC-200D-2642-FE0F",sheet:[39,29]},{unified:"1F935-1F3FD-200D-2642-FE0F",sheet:[39,30]},{unified:"1F935-1F3FE-200D-2642-FE0F",sheet:[39,31]},{unified:"1F935-1F3FF-200D-2642-FE0F",sheet:[39,32]}],shortName:"man_in_tuxedo"},{name:"Woman in Tuxedo",unified:"1F935-200D-2640-FE0F",keywords:["woman in tuxedo","formal","fashion"],sheet:[39,21],skinVariations:[{unified:"1F935-1F3FB-200D-2640-FE0F",sheet:[39,22]},{unified:"1F935-1F3FC-200D-2640-FE0F",sheet:[39,23]},{unified:"1F935-1F3FD-200D-2640-FE0F",sheet:[39,24]},{unified:"1F935-1F3FE-200D-2640-FE0F",sheet:[39,25]},{unified:"1F935-1F3FF-200D-2640-FE0F",sheet:[39,26]}],shortName:"woman_in_tuxedo"},{name:"Bride with Veil",unified:"1F470",keywords:["bride_with_veil","couple","marriage","wedding","woman","bride"],sheet:[22,6],skinVariations:[{unified:"1F470-1F3FB",sheet:[22,7]},{unified:"1F470-1F3FC",sheet:[22,8]},{unified:"1F470-1F3FD",sheet:[22,9]},{unified:"1F470-1F3FE",sheet:[22,10]},{unified:"1F470-1F3FF",sheet:[22,11]}],shortName:"bride_with_veil"},{name:"Man with Veil",unified:"1F470-200D-2642-FE0F",keywords:["man with veil","wedding","marriage"],sheet:[22,0],skinVariations:[{unified:"1F470-1F3FB-200D-2642-FE0F",sheet:[22,1]},{unified:"1F470-1F3FC-200D-2642-FE0F",sheet:[22,2]},{unified:"1F470-1F3FD-200D-2642-FE0F",sheet:[22,3]},{unified:"1F470-1F3FE-200D-2642-FE0F",sheet:[22,4]},{unified:"1F470-1F3FF-200D-2642-FE0F",sheet:[22,5]}],shortName:"man_with_veil"},{name:"Woman with Veil",unified:"1F470-200D-2640-FE0F",keywords:["woman with veil","wedding","marriage"],sheet:[21,52],skinVariations:[{unified:"1F470-1F3FB-200D-2640-FE0F",sheet:[21,53]},{unified:"1F470-1F3FC-200D-2640-FE0F",sheet:[21,54]},{unified:"1F470-1F3FD-200D-2640-FE0F",sheet:[21,55]},{unified:"1F470-1F3FE-200D-2640-FE0F",sheet:[21,56]},{unified:"1F470-1F3FF-200D-2640-FE0F",sheet:[21,57]}],shortName:"woman_with_veil"}
1,{name:"Pregnant Woman",unified:"1F930",keywords:["pregnant_woman","baby"],sheet:[38,49],skinVariations:[{unified:"1F930-1F3FB",sheet:[38,50]},{unified:"1F930-1F3FC",sheet:[38,51]},{unified:"1F930-1F3FD",sheet:[38,52]},{unified:"1F930-1F3FE",sheet:[38,53]},{unified:"1F930-1F3FF",sheet:[38,54]}],shortName:"pregnant_woman"},{name:"Breast-Feeding",unified:"1F931",keywords:["breast_feeding","nursing","baby"],sheet:[38,55],skinVariations:[{unified:"1F931-1F3FB",sheet:[38,56]},{unified:"1F931-1F3FC",sheet:[38,57]},{unified:"1F931-1F3FD",sheet:[39,0]},{unified:"1F931-1F3FE",sheet:[39,1]},{unified:"1F931-1F3FF",sheet:[39,2]}],shortName:"breast-feeding"},{name:"Woman Feeding Baby",unified:"1F469-200D-1F37C",keywords:["woman feeding baby","birth","food"],sheet:[17,32],skinVariations:[{unified:"1F469-1F3FB-200D-1F37C",sheet:[17,33]},{unified:"1F469-1F3FC-200D-1F37C",sheet:[17,34]},{unified:"1F469-1F3FD-200D-1F37C",sheet:[17,35]},{unified:"1F469-1F3FE-200D-1F37C",sheet:[17,36]},{unified:"1F469-1F3FF-200D-1F37C",sheet:[17,37]}],shortName:"woman_feeding_baby"},{name:"Man Feeding Baby",unified:"1F468-200D-1F37C",keywords:["man feeding baby","birth","food"],sheet:[14,39],skinVariations:[{unified:"1F468-1F3FB-200D-1F37C",sheet:[14,40]},{unified:"1F468-1F3FC-200D-1F37C",sheet:[14,41]},{unified:"1F468-1F3FD-200D-1F37C",sheet:[14,42]},{unified:"1F468-1F3FE-200D-1F37C",sheet:[14,43]},{unified:"1F468-1F3FF-200D-1F37C",sheet:[14,44]}],shortName:"man_feeding_baby"},{name:"Person Feeding Baby",unified:"1F9D1-200D-1F37C",keywords:["person feeding baby","birth","food"],sheet:[45,47],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F37C",sheet:[45,48]},{unified:"1F9D1-1F3FC-200D-1F37C",sheet:[45,49]},{unified:"1F9D1-1F3FD-200D-1F37C",sheet:[45,50]},{unified:"1F9D1-1F3FE-200D-1F37C",sheet:[45,51]},{unified:"1F9D1-1F3FF-200D-1F37C",sheet:[45,52]}],shortName:"person_feeding_baby"},{name:"Baby Angel",unified:"1F47C",keywords:["baby_angel","heaven","wings","halo"],sheet:[23,41],skinVariations:[{unified:"1F47C-1F3FB",sheet:[23,42]},{unified:"1F47C-1F3FC",sheet:[23,43]},{unified:"1F47C-1F3FD",sheet:[23,44]},{unified:"1F47C-1F3FE",sheet:[23,45]},{unified:"1F47C-1F3FF",sheet:[23,46]}],shortName:"angel"},{name:"Father Christmas",unified:"1F385",keywords:["santa_claus","festival","man","male","xmas","father christmas"],sheet:[7,29],skinVariations:[{unified:"1F385-1F3FB",sheet:[7,30]},{unified:"1F385-1F3FC",sheet:[7,31]},{unified:"1F385-1F3FD",sheet:[7,32]},{unified:"1F385-1F3FE",sheet:[7,33]},{unified:"1F385-1F3FF",sheet:[7,34]}],shortName:"santa"},{name:"Mother Christmas",unified:"1F936",keywords:["mrs_claus","woman","female","xmas","mother christmas"],sheet:[39,39],skinVariations:[{unified:"1F936-1F3FB",sheet:[39,40]},{unified:"1F936-1F3FC",sheet:[39,41]},{unified:"1F936-1F3FD",sheet:[39,42]},{unified:"1F936-1F3FE",sheet:[39,43]},{unified:"1F936-1F3FF",sheet:[39,44]}],shortNames:["mother_christmas"],shortName:"mrs_claus"},{name:"Mx Claus",unified:"1F9D1-200D-1F384",keywords:["mx claus","christmas"],sheet:[45,53],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F384",sheet:[45,54]},{unified:"1F9D1-1F3FC-200D-1F384",sheet:[45,55]},{unified:"1F9D1-1F3FD-200D-1F384",sheet:[45,56]},{unified:"1F9D1-1F3FE-200D-1F384",sheet:[45,57]},{unified:"1F9D1-1F3FF-200D-1F384",sheet:[46,0]}],shortName:"mx_claus"},{name:"Superhero",unified:"1F9B8",keywords:["superhero","marvel"],sheet:[43,49],skinVariations:[{unified:"1F9B8-1F3FB",sheet:[43,50]},{unified:"1F9B8-1F3FC",sheet:[43,51]},{unified:"1F9B8-1F3FD",sheet:[43,52]},{unified:"1F9B8-1F3FE",sheet:[43,53]},{unified:"1F9B8-1F3FF",sheet:[43,54]}],shortName:"superhero"},{name:"Man Superhero",unified:"1F9B8-200D-2642-FE0F",keywords:["man_superhero","man","male","good","hero","superpowers"],sheet:[43,43],skinVariations:[{unified:"1F9B8-1F3FB-200D-2642-FE0F",sheet:[43,44]},{unified:"1F9B8-1F3FC-200D-2642-FE0F",sheet:[43,45]},{unified:"1F9B8-1F3FD-200D-2642-FE0F",sheet:[43,46]},{unified:"1F9B8-1F3FE-200D-2642-FE0F",sheet:[43,47]},{unified:"1F9B8-1F3FF-200D-2642-FE0F",sheet:[43,48]}],shortName:"male_superhero"},{name:"Woman Superhero",unified:"1F9B8-200D-2640-FE0F",keywords:["woman_superhero","woman","female","good","heroine","superpowers"],sheet:[43,37],skinVariations:[{unified:"1F9B8-1F3FB-200D-2640-FE0F",sheet:[43,38]},{unified:"1F9B8-1F3FC-200D-2640-FE0F",sheet:[43,39]},{unified:"1F9B8-1F3FD-200D-2640-FE0F",sheet:[43,40]},{unified:"1F9B8-1F3FE-200D-2640-FE0F",sheet:[43,41]},{unified:"1F9B8-1F3FF-200D-2640-FE0F",sheet:[43,42]}],shortName:"female_superhero"},{name:"Supervillain",unified:"1F9B9",keywords:["supervillain","marvel"],sheet:[44,9],skinVariations:[{unified:"1F9B9-1F3FB",sheet:[44,10]},{unified:"1F9B9-1F3FC",sheet:[44,11]},{unified:"1F9B9-1F3FD",sheet:[44,12]},{unified:"1F9B9-1F3FE",sheet:[44,13]},{unified:"1F9B9-1F3FF",sheet:[44,14]}],shortName:"supervillain"}
1,{name:"Man Supervillain",unified:"1F9B9-200D-2642-FE0F",keywords:["man_supervillain","man","male","evil","bad","criminal","hero","superpowers"],sheet:[44,3],skinVariations:[{unified:"1F9B9-1F3FB-200D-2642-FE0F",sheet:[44,4]},{unified:"1F9B9-1F3FC-200D-2642-FE0F",sheet:[44,5]},{unified:"1F9B9-1F3FD-200D-2642-FE0F",sheet:[44,6]},{unified:"1F9B9-1F3FE-200D-2642-FE0F",sheet:[44,7]},{unified:"1F9B9-1F3FF-200D-2642-FE0F",sheet:[44,8]}],shortName:"male_supervillain"},{name:"Woman Supervillain",unified:"1F9B9-200D-2640-FE0F",keywords:["woman_supervillain","woman","female","evil","bad","criminal","heroine","superpowers"],sheet:[43,55],skinVariations:[{unified:"1F9B9-1F3FB-200D-2640-FE0F",sheet:[43,56]},{unified:"1F9B9-1F3FC-200D-2640-FE0F",sheet:[43,57]},{unified:"1F9B9-1F3FD-200D-2640-FE0F",sheet:[44,0]},{unified:"1F9B9-1F3FE-200D-2640-FE0F",sheet:[44,1]},{unified:"1F9B9-1F3FF-200D-2640-FE0F",sheet:[44,2]}],shortName:"female_supervillain"},{name:"Mage",unified:"1F9D9",keywords:["mage","magic"],sheet:[50,17],skinVariations:[{unified:"1F9D9-1F3FB",sheet:[50,18]},{unified:"1F9D9-1F3FC",sheet:[50,19]},{unified:"1F9D9-1F3FD",sheet:[50,20]},{unified:"1F9D9-1F3FE",sheet:[50,21]},{unified:"1F9D9-1F3FF",sheet:[50,22]}],shortName:"mage",obsoletedBy:"1F9D9-200D-2640-FE0F"},{name:"Man Mage",unified:"1F9D9-200D-2642-FE0F",keywords:["man_mage","man","male","mage","sorcerer"],sheet:[50,11],skinVariations:[{unified:"1F9D9-1F3FB-200D-2642-FE0F",sheet:[50,12]},{unified:"1F9D9-1F3FC-200D-2642-FE0F",sheet:[50,13]},{unified:"1F9D9-1F3FD-200D-2642-FE0F",sheet:[50,14]},{unified:"1F9D9-1F3FE-200D-2642-FE0F",sheet:[50,15]},{unified:"1F9D9-1F3FF-200D-2642-FE0F",sheet:[50,16]}],shortName:"male_mage"},{name:"Woman Mage",unified:"1F9D9-200D-2640-FE0F",obsoletes:"1F9D9",keywords:["woman_mage","woman","female","mage","witch"],sheet:[50,5],skinVariations:[{unified:"1F9D9-1F3FB-200D-2640-FE0F",sheet:[50,6]},{unified:"1F9D9-1F3FC-200D-2640-FE0F",sheet:[50,7]},{unified:"1F9D9-1F3FD-200D-2640-FE0F",sheet:[50,8]},{unified:"1F9D9-1F3FE-200D-2640-FE0F",sheet:[50,9]},{unified:"1F9D9-1F3FF-200D-2640-FE0F",sheet:[50,10]}],shortName:"female_mage"},{name:"Fairy",unified:"1F9DA",keywords:["fairy","wings","magical"],sheet:[50,35],skinVariations:[{unified:"1F9DA-1F3FB",sheet:[50,36]},{unified:"1F9DA-1F3FC",sheet:[50,37]},{unified:"1F9DA-1F3FD",sheet:[50,38]},{unified:"1F9DA-1F3FE",sheet:[50,39]},{unified:"1F9DA-1F3FF",sheet:[50,40]}],shortName:"fairy",obsoletedBy:"1F9DA-200D-2640-FE0F"},{name:"Man Fairy",unified:"1F9DA-200D-2642-FE0F",keywords:["man_fairy","man","male"],sheet:[50,29],skinVariations:[{unified:"1F9DA-1F3FB-200D-2642-FE0F",sheet:[50,30]},{unified:"1F9DA-1F3FC-200D-2642-FE0F",sheet:[50,31]},{unified:"1F9DA-1F3FD-200D-2642-FE0F",sheet:[50,32]},{unified:"1F9DA-1F3FE-200D-2642-FE0F",sheet:[50,33]},{unified:"1F9DA-1F3FF-200D-2642-FE0F",sheet:[50,34]}],shortName:"male_fairy"},{name:"Woman Fairy",unified:"1F9DA-200D-2640-FE0F",obsoletes:"1F9DA",keywords:["woman_fairy","woman","female"],sheet:[50,23],skinVariations:[{unified:"1F9DA-1F3FB-200D-2640-FE0F",sheet:[50,24]},{unified:"1F9DA-1F3FC-200D-2640-FE0F",sheet:[50,25]},{unified:"1F9DA-1F3FD-200D-2640-FE0F",sheet:[50,26]},{unified:"1F9DA-1F3FE-200D-2640-FE0F",sheet:[50,27]},{unified:"1F9DA-1F3FF-200D-2640-FE0F",sheet:[50,28]}],shortName:"female_fairy"},{name:"Vampire",unified:"1F9DB",keywords:["vampire","blood","twilight"],sheet:[50,53],skinVariations:[{unified:"1F9DB-1F3FB",sheet:[50,54]},{unified:"1F9DB-1F3FC",sheet:[50,55]},{unified:"1F9DB-1F3FD",sheet:[50,56]},{unified:"1F9DB-1F3FE",sheet:[50,57]},{unified:"1F9DB-1F3FF",sheet:[51,0]}],shortName:"vampire",obsoletedBy:"1F9DB-200D-2640-FE0F"},{name:"Man Vampire",unified:"1F9DB-200D-2642-FE0F",keywords:["man_vampire","man","male","dracula"],sheet:[50,47],skinVariations:[{unified:"1F9DB-1F3FB-200D-2642-FE0F",sheet:[50,48]},{unified:"1F9DB-1F3FC-200D-2642-FE0F",sheet:[50,49]},{unified:"1F9DB-1F3FD-200D-2642-FE0F",sheet:[50,50]},{unified:"1F9DB-1F3FE-200D-2642-FE0F",sheet:[50,51]},{unified:"1F9DB-1F3FF-200D-2642-FE0F",sheet:[50,52]}],shortName:"male_vampire"},{name:"Woman Vampire",unified:"1F9DB-200D-2640-FE0F",obsoletes:"1F9DB",keywords:["woman_vampire","woman","female"],sheet:[50,41],skinVariations:[{unified:"1F9DB-1F3FB-200D-2640-FE0F",sheet:[50,42]},{unified:"1F9DB-1F3FC-200D-2640-FE0F",sheet:[50,43]},{unified:"1F9DB-1F3FD-200D-2640-FE0F",sheet:[50,44]},{unified:"1F9DB-1F3FE-200D-2640-FE0F",sheet:[50,45]},{unified:"1F9DB-1F3FF-200D-2640-FE0F",sheet:[50,46]}],shortName:"female_vampire"},{name:"Merperson",unified:"1F9DC",keywords:["merperson","sea"],sheet:[51,13],skinVariations:[{unified:"1F9DC-1F3FB",sheet:[51,14]},{unified:"1F9DC-1F3FC",sheet:[51,15]},{unified:"1F9DC-1F3FD",sheet:[51,16]},{unified:"1F9DC-1F3FE",sheet:[51,17]},{unified:"1F9DC-1F3FF",sheet:[51,18]}],shortName:"merperson",obsoletedBy:"1F9DC-200D-2642-FE0F"},{name:"Merman",unified:"1F9DC-200D-2642-FE0F",obsoletes:"1F9DC",keywords:["merman","man","male","triton"],sheet:[51,7],skinVariations:[{unified:"1F9DC-1F3FB-200D-2642-FE0F",sheet:[51,8]},{unified:"1F9DC-1F3FC-200D-2642-FE0F",sheet:[51,9]},{unified:"1F9DC-1F3FD-200D-2642-FE0F",sheet:[51,10]},{unified:"1F9DC-1F3FE-200D-2642-FE0F",sheet:[51,11]},{unified:"1F9DC-1F3FF-200D-2642-FE0F",sheet:[51,12]}],shortName:"merman"},{name:"Mermaid",unified:"1F9DC-200D-2640-FE0F",keywords:["mermaid","woman","female","merwoman","ariel"],sheet:[51,1],skinVariations:[{unified:"1F9DC-1F3FB-200D-2640-FE0F",sheet:[51,2]},{unified:"1F9DC-1F3FC-200D-2640-FE0F",sheet:[51,3]},{unified:"1F9DC-1F3FD-200D-2640-FE0F",sheet:[51,4]},{unified:"1F9DC-1F3FE-200D-2640-FE0F",sheet:[51,5]},{unified:"1F9DC-1F3FF-200D-2640-FE0F",sheet:[51,6]}],shortName:"mermaid"},{name:"Elf",unified:"1F9DD",keywords:["elf","magical"],sheet:[51,31],skinVariations:[{unified:"1F9DD-1F3FB",sheet:[51,32]},{unified:"1F9DD-1F3FC",sheet:[51,33]},{unified:"1F9DD-1F3FD",sheet:[51,34]},{unified:"1F9DD-1F3FE",sheet:[51,35]},{unified:"1F9DD-1F3FF",sheet:[51,36]}],shortName:"elf",obsoletedBy:"1F9DD-200D-2642-FE0F"},{name:"Man Elf",unified:"1F9DD-200D-2642-FE0F",obsoletes:"1F9DD",keywords:["man_elf","man","male"],sheet:[51,25],skinVariations:[{unified:"1F9DD-1F3FB-200D-2642-FE0F",sheet:[51,26]},{unified:"1F9DD-1F3FC-200D-2642-FE0F",sheet:[51,27]},{unified:"1F9DD-1F3FD-200D-2642-FE0F",sheet:[51,28]},{unified:"1F9DD-1F3FE-200D-2642-FE0F",sheet:[51,29]},{unified:"1F9DD-1F3FF-200D-2642-FE0F",sheet:[51,30]}],shortName:"male_elf"},{name:"Woman Elf",unified:"1F9DD-200D-2640-FE0F",keywords:["woman_elf","woman","female"],sheet:[51,19],skinVariations:[{unified:"1F9DD-1F3FB-200D-2640-FE0F",sheet:[51,20]},{unified:"1F9DD-1F3FC-200D-2640-FE0F",sheet:[51,21]},{unified:"1F9DD-1F3FD-200D-2640-FE0F",sheet:[51,22]},{unified:"1F9DD-1F3FE-200D-2640-FE0F",sheet:[51,23]},{unified:"1F9DD-1F3FF-200D-2640-FE0F",sheet:[51,24]}],shortName:"female_elf"},{name:"Genie",unified:"1F9DE",keywords:["genie","magical","wishes"],sheet:[51,39],short
1Name:"genie",obsoletedBy:"1F9DE-200D-2642-FE0F"},{name:"Man Genie",unified:"1F9DE-200D-2642-FE0F",obsoletes:"1F9DE",keywords:["man_genie","man","male"],sheet:[51,38],shortName:"male_genie"},{name:"Woman Genie",unified:"1F9DE-200D-2640-FE0F",keywords:["woman_genie","woman","female"],sheet:[51,37],shortName:"female_genie"},{name:"Zombie",unified:"1F9DF",keywords:["zombie","dead"],sheet:[51,42],shortName:"zombie",obsoletedBy:"1F9DF-200D-2642-FE0F"},{name:"Man Zombie",unified:"1F9DF-200D-2642-FE0F",obsoletes:"1F9DF",keywords:["man_zombie","man","male","dracula","undead","walking dead"],sheet:[51,41],shortName:"male_zombie"},{name:"Woman Zombie",unified:"1F9DF-200D-2640-FE0F",keywords:["woman_zombie","woman","female","undead","walking dead"],sheet:[51,40],shortName:"female_zombie"},{name:"Face Massage",unified:"1F486",keywords:["person_getting_massage","relax"],sheet:[24,54],skinVariations:[{unified:"1F486-1F3FB",sheet:[24,55]},{unified:"1F486-1F3FC",sheet:[24,56]},{unified:"1F486-1F3FD",sheet:[24,57]},{unified:"1F486-1F3FE",sheet:[25,0]},{unified:"1F486-1F3FF",sheet:[25,1]}],shortName:"massage",obsoletedBy:"1F486-200D-2640-FE0F"},{name:"Man Getting Massage",unified:"1F486-200D-2642-FE0F",keywords:["man_getting_massage","male","boy","man","head"],sheet:[24,48],skinVariations:[{unified:"1F486-1F3FB-200D-2642-FE0F",sheet:[24,49]},{unified:"1F486-1F3FC-200D-2642-FE0F",sheet:[24,50]},{unified:"1F486-1F3FD-200D-2642-FE0F",sheet:[24,51]},{unified:"1F486-1F3FE-200D-2642-FE0F",sheet:[24,52]},{unified:"1F486-1F3FF-200D-2642-FE0F",sheet:[24,53]}],shortName:"man-getting-massage"},{name:"Woman Getting Massage",unified:"1F486-200D-2640-FE0F",obsoletes:"1F486",keywords:["woman_getting_massage","female","girl","woman","head"],sheet:[24,42],skinVariations:[{unified:"1F486-1F3FB-200D-2640-FE0F",sheet:[24,43]},{unified:"1F486-1F3FC-200D-2640-FE0F",sheet:[24,44]},{unified:"1F486-1F3FD-200D-2640-FE0F",sheet:[24,45]},{unified:"1F486-1F3FE-200D-2640-FE0F",sheet:[24,46]},{unified:"1F486-1F3FF-200D-2640-FE0F",sheet:[24,47]}],shortName:"woman-getting-massage"},{name:"Haircut",unified:"1F487",keywords:["person_getting_haircut","hairstyle"],sheet:[25,14],skinVariations:[{unified:"1F487-1F3FB",sheet:[25,15]},{unified:"1F487-1F3FC",sheet:[25,16]},{unified:"1F487-1F3FD",sheet:[25,17]},{unified:"1F487-1F3FE",sheet:[25,18]},{unified:"1F487-1F3FF",sheet:[25,19]}],shortName:"haircut",obsoletedBy:"1F487-200D-2640-FE0F"},{name:"Man Getting Haircut",unified:"1F487-200D-2642-FE0F",keywords:["man_getting_haircut","male","boy","man"],sheet:[25,8],skinVariations:[{unified:"1F487-1F3FB-200D-2642-FE0F",sheet:[25,9]},{unified:"1F487-1F3FC-200D-2642-FE0F",sheet:[25,10]},{unified:"1F487-1F3FD-200D-2642-FE0F",sheet:[25,11]},{unified:"1F487-1F3FE-200D-2642-FE0F",sheet:[25,12]},{unified:"1F487-1F3FF-200D-2642-FE0F",sheet:[25,13]}],shortName:"man-getting-haircut"},{name:"Woman Getting Haircut",unified:"1F487-200D-2640-FE0F",obsoletes:"1F487",keywords:["woman_getting_haircut","female","girl","woman"],sheet:[25,2],skinVariations:[{unified:"1F487-1F3FB-200D-2640-FE0F",sheet:[25,3]},{unified:"1F487-1F3FC-200D-2640-FE0F",sheet:[25,4]},{unified:"1F487-1F3FD-200D-2640-FE0F",sheet:[25,5]},{unified:"1F487-1F3FE-200D-2640-FE0F",sheet:[25,6]},{unified:"1F487-1F3FF-200D-2640-FE0F",sheet:[25,7]}],shortName:"woman-getting-haircut"},{name:"Pedestrian",unified:"1F6B6",keywords:["person_walking","move"],sheet:[35,51],skinVariations:[{unified:"1F6B6-1F3FB",sheet:[35,52]},{unified:"1F6B6-1F3FC",sheet:[35,53]},{unified:"1F6B6-1F3FD",sheet:[35,54]},{unified:"1F6B6-1F3FE",sheet:[35,55]},{unified:"1F6B6-1F3FF",sheet:[35,56]}],shortName:"walking",obsoletedBy:"1F6B6-200D-2642-FE0F"},{name:"Man Walking",unified:"1F6B6-200D-2642-FE0F",obsoletes:"1F6B6",keywords:["man_walking","human","feet","steps"],sheet:[35,45],skinVariations:[{unified:"1F6B6-1F3FB-200D-2642-FE0F",sheet:[35,46]},{unified:"1F6B6-1F3FC-200D-2642-FE0F",sheet:[35,47]},{unified:"1F6B6-1F3FD-200D-2642-FE0F",sheet:[35,48]},{unified:"1F6B6-1F3FE-200D-2642-FE0F",sheet:[35,49]},{unified:"1F6B6-1F3FF-200D-2642-FE0F",sheet:[35,50]}],shortName:"man-walking"},{name:"Woman Walking",unified:"1F6B6-200D-2640-FE0F",keywords:["woman_walking","human","feet","steps","woman","female"],sheet:[35,39],skinVariations:[{unified:"1F6B6-1F3FB-200D-2640-FE0F",sheet:[35,40]},{unified:"1F6B6-1F3FC-200D-2640-FE0F",sheet:[35,41]},{unified:"1F6B6-1F3FD-200D-2640-FE0F",sheet:[35,42]},{unified:"1F6B6-1F3FE-200D-2640-FE0F",sheet:[35,43]},{unified:"1F6B6-1F3FF-200D-2640-FE0F",sheet:[35,44]}],shortName:"woman-walking"},{name:"Standing Person",unified:"1F9CD",keywords:["person_standing","still"],sheet:[44,50],skinVariations:[{unified:"1F9CD-1F3FB",sheet:[44,51]},{unified:"1F9CD-1F3FC",sheet:[44,52]},{unified:"1F9CD-1F3FD",sheet:[44,53]},{unified:"1F9CD-1F3FE",sheet:[44,54]},{unified:"1F9CD-1F3FF",sheet:[44,55]}],shortName:"standing_person"},{name:"Man Standing",unified:"1F9CD-200D-2642-FE0F",keywords:["man_standing","still"],sheet:[44,44],skinVariations:[{unified:"1F9CD-1F3FB-200D-2642-FE0F",sheet:[44,45]},{unified:"1F9CD-1F3FC-200D-2642-FE0F",sheet:[44,46]},{unified:"1F9CD-1F3FD-200D-2642-FE0F",sheet:[44,47]},{unified:"1F9CD-1F3FE-200D-2642-FE0F",sheet:[44,48]},{unified:"1F9CD-1F3FF-200D-2642-FE0F",sheet:[44,49]}],shortName:"man_standing"},{name:"Woman Standing",unified:"1F9CD-200D-2640-FE0F",keywords:["woman_standing","still"],sheet:[44,38],skinVariations:[{unified:"1F9CD-1F3FB-200D-2640-FE0F",sheet:[44,39]},{unified:"1F9CD-1F3FC-200D-2640-FE0F",sheet:[44,40]},{unified:"1F9CD-1F3FD-200D-2640-FE0F",sheet:[44,41]},{unified:"1F9CD-1F3FE-200D-2640-FE0F",sheet:[44,42]},{unified:"1F9CD-1F3FF-200D-2640-FE0F",sheet:[44,43]}],shortName:"woman_standing"},{name:"Kneeling Person",unified:"1F9CE",keywords:["person_kneeling","pray","respectful"],sheet:[45,
110],skinVariations:[{unified:"1F9CE-1F3FB",sheet:[45,11]},{unified:"1F9CE-1F3FC",sheet:[45,12]},{unified:"1F9CE-1F3FD",sheet:[45,13]},{unified:"1F9CE-1F3FE",sheet:[45,14]},{unified:"1F9CE-1F3FF",sheet:[45,15]}],shortName:"kneeling_person"},{name:"Man Kneeling",unified:"1F9CE-200D-2642-FE0F",keywords:["man_kneeling","pray","respectful"],sheet:[45,4],skinVariations:[{unified:"1F9CE-1F3FB-200D-2642-FE0F",sheet:[45,5]},{unified:"1F9CE-1F3FC-200D-2642-FE0F",sheet:[45,6]},{unified:"1F9CE-1F3FD-200D-2642-FE0F",sheet:[45,7]},{unified:"1F9CE-1F3FE-200D-2642-FE0F",sheet:[45,8]},{unified:"1F9CE-1F3FF-200D-2642-FE0F",sheet:[45,9]}],shortName:"man_kneeling"},{name:"Woman Kneeling",unified:"1F9CE-200D-2640-FE0F",keywords:["woman_kneeling","respectful","pray"],sheet:[44,56],skinVariations:[{unified:"1F9CE-1F3FB-200D-2640-FE0F",sheet:[44,57]},{unified:"1F9CE-1F3FC-200D-2640-FE0F",sheet:[45,0]},{unified:"1F9CE-1F3FD-200D-2640-FE0F",sheet:[45,1]},{unified:"1F9CE-1F3FE-200D-2640-FE0F",sheet:[45,2]},{unified:"1F9CE-1F3FF-200D-2640-FE0F",sheet:[45,3]}],shortName:"woman_kneeling"},{name:"Person with White Cane",unified:"1F9D1-200D-1F9AF",keywords:["person_with_probing_cane","blind"],sheet:[47,35],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9AF",sheet:[47,36]},{unified:"1F9D1-1F3FC-200D-1F9AF",sheet:[47,37]},{unified:"1F9D1-1F3FD-200D-1F9AF",sheet:[47,38]},{unified:"1F9D1-1F3FE-200D-1F9AF",sheet:[47,39]},{unified:"1F9D1-1F3FF-200D-1F9AF",sheet:[47,40]}],shortName:"person_with_probing_cane"},{name:"Man with White Cane",unified:"1F468-200D-1F9AF",keywords:["man_with_probing_cane","blind"],sheet:[16,10],skinVariations:[{unified:"1F468-1F3FB-200D-1F9AF",sheet:[16,11]},{unified:"1F468-1F3FC-200D-1F9AF",sheet:[16,12]},{unified:"1F468-1F3FD-200D-1F9AF",sheet:[16,13]},{unified:"1F468-1F3FE-200D-1F9AF",sheet:[16,14]},{unified:"1F468-1F3FF-200D-1F9AF",sheet:[16,15]}],shortName:"man_with_probing_cane"},{name:"Woman with White Cane",unified:"1F469-200D-1F9AF",keywords:["woman_with_probing_cane","blind"],sheet:[18,56],skinVariations:[{unified:"1F469-1F3FB-200D-1F9AF",sheet:[18,57]},{unified:"1F469-1F3FC-200D-1F9AF",sheet:[19,0]},{unified:"1F469-1F3FD-200D-1F9AF",sheet:[19,1]},{unified:"1F469-1F3FE-200D-1F9AF",sheet:[19,2]},{unified:"1F469-1F3FF-200D-1F9AF",sheet:[19,3]}],shortName:"woman_with_probing_cane"},{name:"Person in Motorized Wheelchair",unified:"1F9D1-200D-1F9BC",keywords:["person_in_motorized_wheelchair","disability","accessibility"],sheet:[48,7],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9BC",sheet:[48,8]},{unified:"1F9D1-1F3FC-200D-1F9BC",sheet:[48,9]},{unified:"1F9D1-1F3FD-200D-1F9BC",sheet:[48,10]},{unified:"1F9D1-1F3FE-200D-1F9BC",sheet:[48,11]},{unified:"1F9D1-1F3FF-200D-1F9BC",sheet:[48,12]}],shortName:"person_in_motorized_wheelchair"},{name:"Man in Motorized Wheelchair",unified:"1F468-200D-1F9BC",keywords:["man_in_motorized_wheelchair","disability","accessibility"],sheet:[16,40],skinVariations:[{unified:"1F468-1F3FB-200D-1F9BC",sheet:[16,41]},{unified:"1F468-1F3FC-200D-1F9BC",sheet:[16,42]},{unified:"1F468-1F3FD-200D-1F9BC",sheet:[16,43]},{unified:"1F468-1F3FE-200D-1F9BC",sheet:[16,44]},{unified:"1F468-1F3FF-200D-1F9BC",sheet:[16,45]}],shortName:"man_in_motorized_wheelchair"},{name:"Woman in Motorized Wheelchair",unified:"1F469-200D-1F9BC",keywords:["woman_in_motorized_wheelchair","disability","accessibility"],sheet:[19,28],skinVariations:[{unified:"1F469-1F3FB-200D-1F9BC",sheet:[19,29]},{unified:"1F469-1F3FC-200D-1F9BC",sheet:[19,30]},{unified:"1F469-1F3FD-200D-1F9BC",sheet:[19,31]},{unified:"1F469-1F3FE-200D-1F9BC",sheet:[19,32]},{unified:"1F469-1F3FF-200D-1F9BC",sheet:[19,33]}],shortName:"woman_in_motorized_wheelchair"},{name:"Person in Manual Wheelchair",unified:"1F9D1-200D-1F9BD",keywords:["person_in_manual_wheelchair","disability","accessibility"],sheet:[48,13],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9BD",sheet:[48,14]},{unified:"1F9D1-1F3FC-200D-1F9BD",sheet:[48,15]},{unified:"1F9D1-1F3FD-200D-1F9BD",sheet:[48,16]},{unified:"1F9D1-1F3FE-200D-1F9BD",sheet:[48,17]},{unified:"1F9D1-1F3FF-200D-1F9BD",sheet:[48,18]}],shortName:"person_in_manual_wheelchair"}
1,{name:"Man in Manual Wheelchair",unified:"1F468-200D-1F9BD",keywords:["man_in_manual_wheelchair","disability","accessibility"],sheet:[16,46],skinVariations:[{unified:"1F468-1F3FB-200D-1F9BD",sheet:[16,47]},{unified:"1F468-1F3FC-200D-1F9BD",sheet:[16,48]},{unified:"1F468-1F3FD-200D-1F9BD",sheet:[16,49]},{unified:"1F468-1F3FE-200D-1F9BD",sheet:[16,50]},{unified:"1F468-1F3FF-200D-1F9BD",sheet:[16,51]}],shortName:"man_in_manual_wheelchair"},{name:"Woman in Manual Wheelchair",unified:"1F469-200D-1F9BD",keywords:["woman_in_manual_wheelchair","disability","accessibility"],sheet:[19,34],skinVariations:[{unified:"1F469-1F3FB-200D-1F9BD",sheet:[19,35]},{unified:"1F469-1F3FC-200D-1F9BD",sheet:[19,36]},{unified:"1F469-1F3FD-200D-1F9BD",sheet:[19,37]},{unified:"1F469-1F3FE-200D-1F9BD",sheet:[19,38]},{unified:"1F469-1F3FF-200D-1F9BD",sheet:[19,39]}],shortName:"woman_in_manual_wheelchair"},{name:"Runner",unified:"1F3C3",keywords:["person_running","move"],sheet:[8,50],skinVariations:[{unified:"1F3C3-1F3FB",sheet:[8,51]},{unified:"1F3C3-1F3FC",sheet:[8,52]},{unified:"1F3C3-1F3FD",sheet:[8,53]},{unified:"1F3C3-1F3FE",sheet:[8,54]},{unified:"1F3C3-1F3FF",sheet:[8,55]}],shortNames:["running"],shortName:"runner",obsoletedBy:"1F3C3-200D-2642-FE0F"},{name:"Man Running",unified:"1F3C3-200D-2642-FE0F",obsoletes:"1F3C3",keywords:["man_running","man","walking","exercise","race","running"],sheet:[8,44],skinVariations:[{unified:"1F3C3-1F3FB-200D-2642-FE0F",sheet:[8,45]},{unified:"1F3C3-1F3FC-200D-2642-FE0F",sheet:[8,46]},{unified:"1F3C3-1F3FD-200D-2642-FE0F",sheet:[8,47]},{unified:"1F3C3-1F3FE-200D-2642-FE0F",sheet:[8,48]},{unified:"1F3C3-1F3FF-200D-2642-FE0F",sheet:[8,49]}],shortName:"man-running"},{name:"Woman Running",unified:"1F3C3-200D-2640-FE0F",keywords:["woman_running","woman","walking","exercise","race","running","female"],sheet:[8,38],skinVariations:[{unified:"1F3C3-1F3FB-200D-2640-FE0F",sheet:[8,39]},{unified:"1F3C3-1F3FC-200D-2640-FE0F",sheet:[8,40]},{unified:"1F3C3-1F3FD-200D-2640-FE0F",sheet:[8,41]},{unified:"1F3C3-1F3FE-200D-2640-FE0F",sheet:[8,42]},{unified:"1F3C3-1F3FF-200D-2640-FE0F",sheet:[8,43]}],shortName:"woman-running"},{name:"Dancer",unified:"1F483",keywords:["woman_dancing","female","girl","woman","fun"],sheet:[24,29],skinVariations:[{unified:"1F483-1F3FB",sheet:[24,30]},{unified:"1F483-1F3FC",sheet:[24,31]},{unified:"1F483-1F3FD",sheet:[24,32]},{unified:"1F483-1F3FE",sheet:[24,33]},{unified:"1F483-1F3FF",sheet:[24,34]}],shortName:"dancer"},{name:"Man Dancing",unified:"1F57A",keywords:["man_dancing","male","boy","fun","dancer"],sheet:[29,35],skinVariations:[{unified:"1F57A-1F3FB",sheet:[29,36]},{unified:"1F57A-1F3FC",sheet:[29,37]},{unified:"1F57A-1F3FD",sheet:[29,38]},{unified:"1F57A-1F3FE",sheet:[29,39]},{unified:"1F57A-1F3FF",sheet:[29,40]}],shortName:"man_dancing"},{name:"Person in Suit Levitating",unified:"1F574-FE0F",keywords:["man_in_suit_levitating","suit","business","levitate","hover","jump"],sheet:[29,7],skinVariations:[{unified:"1F574-1F3FB",sheet:[29,8]},{unified:"1F574-1F3FC",sheet:[29,9]},{unified:"1F574-1F3FD",sheet:[29,10]},{unified:"1F574-1F3FE",sheet:[29,11]},{unified:"1F574-1F3FF",sheet:[29,12]}],shortName:"man_in_business_suit_levitating"},{name:"Woman with Bunny Ears",unified:"1F46F",keywords:["people_with_bunny_ears","perform","costume"],sheet:[21,51],shortName:"dancers",obsoletedBy:"1F46F-200D-2640-FE0F"},{name:"Men with Bunny Ears",unified:"1F46F-200D-2642-FE0F",keywords:["men_with_bunny_ears","male","bunny","men","boys"],sheet:[21,50],shortName:"man-with-bunny-ears-partying"},{name:"Women with Bunny Ears",unified:"1F46F-200D-2640-FE0F",obsoletes:"1F46F",keywords:["women_with_bunny_ears","female","bunny","women","girls"],sheet:[21,49],shortName:"woman-with-bunny-ears-partying"},{name:"Person in Steamy Room",unified:"1F9D6",keywords:["person_in_steamy_room","relax","spa"],sheet:[49,21],skinVariations:[{unified:"1F9D6-1F3FB",sheet:[49,22]},{unified:"1F9D6-1F3FC",sheet:[49,23]},{unified:"1F9D6-1F3FD",sheet:[49,24]},{unified:"1F9D6-1F3FE",sheet:[49,25]},{unified:"1F9D6-1F3FF",sheet:[49,26]}],shortName:"person_in_steamy_room",obsoletedBy:"1F9D6-200D-2642-FE0F"}
1,{name:"Man in Steamy Room",unified:"1F9D6-200D-2642-FE0F",obsoletes:"1F9D6",keywords:["man_in_steamy_room","male","man","spa","steamroom","sauna"],sheet:[49,15],skinVariations:[{unified:"1F9D6-1F3FB-200D-2642-FE0F",sheet:[49,16]},{unified:"1F9D6-1F3FC-200D-2642-FE0F",sheet:[49,17]},{unified:"1F9D6-1F3FD-200D-2642-FE0F",sheet:[49,18]},{unified:"1F9D6-1F3FE-200D-2642-FE0F",sheet:[49,19]},{unified:"1F9D6-1F3FF-200D-2642-FE0F",sheet:[49,20]}],shortName:"man_in_steamy_room"},{name:"Woman in Steamy Room",unified:"1F9D6-200D-2640-FE0F",keywords:["woman_in_steamy_room","female","woman","spa","steamroom","sauna"],sheet:[49,9],skinVariations:[{unified:"1F9D6-1F3FB-200D-2640-FE0F",sheet:[49,10]},{unified:"1F9D6-1F3FC-200D-2640-FE0F",sheet:[49,11]},{unified:"1F9D6-1F3FD-200D-2640-FE0F",sheet:[49,12]},{unified:"1F9D6-1F3FE-200D-2640-FE0F",sheet:[49,13]},{unified:"1F9D6-1F3FF-200D-2640-FE0F",sheet:[49,14]}],shortName:"woman_in_steamy_room"},{name:"Person Climbing",unified:"1F9D7",keywords:["person_climbing","sport"],sheet:[49,39],skinVariations:[{unified:"1F9D7-1F3FB",sheet:[49,40]},{unified:"1F9D7-1F3FC",sheet:[49,41]},{unified:"1F9D7-1F3FD",sheet:[49,42]},{unified:"1F9D7-1F3FE",sheet:[49,43]},{unified:"1F9D7-1F3FF",sheet:[49,44]}],shortName:"person_climbing",obsoletedBy:"1F9D7-200D-2640-FE0F"},{name:"Man Climbing",unified:"1F9D7-200D-2642-FE0F",keywords:["man_climbing","sports","hobby","man","male","rock"],sheet:[49,33],skinVariations:[{unified:"1F9D7-1F3FB-200D-2642-FE0F",sheet:[49,34]},{unified:"1F9D7-1F3FC-200D-2642-FE0F",sheet:[49,35]},{unified:"1F9D7-1F3FD-200D-2642-FE0F",sheet:[49,36]},{unified:"1F9D7-1F3FE-200D-2642-FE0F",sheet:[49,37]},{unified:"1F9D7-1F3FF-200D-2642-FE0F",sheet:[49,38]}],shortName:"man_climbing"},{name:"Woman Climbing",unified:"1F9D7-200D-2640-FE0F",obsoletes:"1F9D7",keywords:["woman_climbing","sports","hobby","woman","female","rock"],sheet:[49,27],skinVariations:[{unified:"1F9D7-1F3FB-200D-2640-FE0F",sheet:[49,28]},{unified:"1F9D7-1F3FC-200D-2640-FE0F",sheet:[49,29]},{unified:"1F9D7-1F3FD-200D-2640-FE0F",sheet:[49,30]},{unified:"1F9D7-1F3FE-200D-2640-FE0F",sheet:[49,31]},{unified:"1F9D7-1F3FF-200D-2640-FE0F",sheet:[49,32]}],shortName:"woman_climbing"},{name:"Fencer",unified:"1F93A",keywords:["person_fencing","sports","fencing","sword"],sheet:[40,41],shortName:"fencer"},{name:"Horse Racing",unified:"1F3C7",keywords:["horse_racing","animal","betting","competition","gambling","luck"],sheet:[9,18],skinVariations:[{unified:"1F3C7-1F3FB",sheet:[9,19]},{unified:"1F3C7-1F3FC",sheet:[9,20]},{unified:"1F3C7-1F3FD",sheet:[9,21]},{unified:"1F3C7-1F3FE",sheet:[9,22]},{unified:"1F3C7-1F3FF",sheet:[9,23]}],shortName:"horse_racing"},{name:"Skier",unified:"26F7-FE0F",keywords:["skier","sports","winter","snow"],sheet:[55,22],shortName:"skier"},{name:"Snowboarder",unified:"1F3C2",keywords:["snowboarder","sports","winter"],sheet:[8,32],skinVariations:[{unified:"1F3C2-1F3FB",sheet:[8,33]},{unified:"1F3C2-1F3FC",sheet:[8,34]},{unified:"1F3C2-1F3FD",sheet:[8,35]},{unified:"1F3C2-1F3FE",sheet:[8,36]},{unified:"1F3C2-1F3FF",sheet:[8,37]}],shortName:"snowboarder"},{name:"Person Golfing",unified:"1F3CC-FE0F",keywords:["person_golfing","sports","business"],sheet:[10,16],skinVariations:[{unified:"1F3CC-1F3FB",sheet:[10,17]},{unified:"1F3CC-1F3FC",sheet:[10,18]},{unified:"1F3CC-1F3FD",sheet:[10,19]},{unified:"1F3CC-1F3FE",sheet:[10,20]},{unified:"1F3CC-1F3FF",sheet:[10,21]}],shortName:"golfer",obsoletedBy:"1F3CC-FE0F-200D-2642-FE0F"},{name:"Man Golfing",unified:"1F3CC-FE0F-200D-2642-FE0F",obsoletes:"1F3CC-FE0F",keywords:["man_golfing","sport"],sheet:[10,10],hidden:["facebook"],skinVariations:[{unified:"1F3CC-1F3FB-200D-2642-FE0F",sheet:[10,11]},{unified:"1F3CC-1F3FC-200D-2642-FE0F",sheet:[10,12]},{unified:"1F3CC-1F3FD-200D-2642-FE0F",sheet:[10,13]},{unified:"1F3CC-1F3FE-200D-2642-FE0F",sheet:[10,14]},{unified:"1F3CC-1F3FF-200D-2642-FE0F",sheet:[10,15]}],shortName:"man-golfing"},{name:"Woman Golfing",unified:"1F3CC-FE0F-200D-2640-FE0F",keywords:["woman_golfing","sports","business","woman","female"],sheet:[10,4],hidden:["facebook"],skinVariations:[{unified:"1F3CC-1F3FB-200D-2640-FE0F",sheet:[10,5]},{unified:"1F3CC-1F3FC-200D-2640-FE0F",sheet:[10,6]},{unified:"1F3CC-1F3FD-200D-2640-FE0F",sheet:[10,7]},{unified:"1F3CC-1F3FE-200D-2640-FE0F",sheet:[10,8]},{unified:"1F3CC-1F3FF-200D-2640-FE0F",sheet:[10,9]}],shortName:"woman-golfing"},{name:"Surfer",unified:"1F3C4",keywords:["person_surfing","sport","sea"],sheet:[9,10],skinVariations:[{unified:"1F3C4-1F3FB",sheet:[9,11]},{unified:"1F3C4-1F3FC",sheet:[9,12]},{unified:"1F3C4-1F3FD",sheet:[9,13]},{unified:"1F3C4-1F3FE",sheet:[9,14]},{unified:"1F3C4-1F3FF",sheet:[9,15]}],shortName:"surfer",obsoletedBy:"1F3C4-200D-2642-FE0F"}
1,{name:"Man Surfing",unified:"1F3C4-200D-2642-FE0F",obsoletes:"1F3C4",keywords:["man_surfing","sports","ocean","sea","summer","beach"],sheet:[9,4],skinVariations:[{unified:"1F3C4-1F3FB-200D-2642-FE0F",sheet:[9,5]},{unified:"1F3C4-1F3FC-200D-2642-FE0F",sheet:[9,6]},{unified:"1F3C4-1F3FD-200D-2642-FE0F",sheet:[9,7]},{unified:"1F3C4-1F3FE-200D-2642-FE0F",sheet:[9,8]},{unified:"1F3C4-1F3FF-200D-2642-FE0F",sheet:[9,9]}],shortName:"man-surfing"},{name:"Woman Surfing",unified:"1F3C4-200D-2640-FE0F",keywords:["woman_surfing","sports","ocean","sea","summer","beach","woman","female"],sheet:[8,56],skinVariations:[{unified:"1F3C4-1F3FB-200D-2640-FE0F",sheet:[8,57]},{unified:"1F3C4-1F3FC-200D-2640-FE0F",sheet:[9,0]},{unified:"1F3C4-1F3FD-200D-2640-FE0F",sheet:[9,1]},{unified:"1F3C4-1F3FE-200D-2640-FE0F",sheet:[9,2]},{unified:"1F3C4-1F3FF-200D-2640-FE0F",sheet:[9,3]}],shortName:"woman-surfing"},{name:"Rowboat",unified:"1F6A3",keywords:["person_rowing_boat","sport","move"],sheet:[34,39],skinVariations:[{unified:"1F6A3-1F3FB",sheet:[34,40]},{unified:"1F6A3-1F3FC",sheet:[34,41]},{unified:"1F6A3-1F3FD",sheet:[34,42]},{unified:"1F6A3-1F3FE",sheet:[34,43]},{unified:"1F6A3-1F3FF",sheet:[34,44]}],shortName:"rowboat",obsoletedBy:"1F6A3-200D-2642-FE0F"},{name:"Man Rowing Boat",unified:"1F6A3-200D-2642-FE0F",obsoletes:"1F6A3",keywords:["man_rowing_boat","sports","hobby","water","ship"],sheet:[34,33],skinVariations:[{unified:"1F6A3-1F3FB-200D-2642-FE0F",sheet:[34,34]},{unified:"1F6A3-1F3FC-200D-2642-FE0F",sheet:[34,35]},{unified:"1F6A3-1F3FD-200D-2642-FE0F",sheet:[34,36]},{unified:"1F6A3-1F3FE-200D-2642-FE0F",sheet:[34,37]},{unified:"1F6A3-1F3FF-200D-2642-FE0F",sheet:[34,38]}],shortName:"man-rowing-boat"},{name:"Woman Rowing Boat",unified:"1F6A3-200D-2640-FE0F",keywords:["woman_rowing_boat","sports","hobby","water","ship","woman","female"],sheet:[34,27],skinVariations:[{unified:"1F6A3-1F3FB-200D-2640-FE0F",sheet:[34,28]},{unified:"1F6A3-1F3FC-200D-2640-FE0F",sheet:[34,29]},{unified:"1F6A3-1F3FD-200D-2640-FE0F",sheet:[34,30]},{unified:"1F6A3-1F3FE-200D-2640-FE0F",sheet:[34,31]},{unified:"1F6A3-1F3FF-200D-2640-FE0F",sheet:[34,32]}],shortName:"woman-rowing-boat"},{name:"Swimmer",unified:"1F3CA",keywords:["person_swimming","sport","pool"],sheet:[9,38],skinVariations:[{unified:"1F3CA-1F3FB",sheet:[9,39]},{unified:"1F3CA-1F3FC",sheet:[9,40]},{unified:"1F3CA-1F3FD",sheet:[9,41]},{unified:"1F3CA-1F3FE",sheet:[9,42]},{unified:"1F3CA-1F3FF",sheet:[9,43]}],shortName:"swimmer",obsoletedBy:"1F3CA-200D-2642-FE0F"},{name:"Man Swimming",unified:"1F3CA-200D-2642-FE0F",obsoletes:"1F3CA",keywords:["man_swimming","sports","exercise","human","athlete","water","summer"],sheet:[9,32],skinVariations:[{unified:"1F3CA-1F3FB-200D-2642-FE0F",sheet:[9,33]},{unified:"1F3CA-1F3FC-200D-2642-FE0F",sheet:[9,34]},{unified:"1F3CA-1F3FD-200D-2642-FE0F",sheet:[9,35]},{unified:"1F3CA-1F3FE-200D-2642-FE0F",sheet:[9,36]},{unified:"1F3CA-1F3FF-200D-2642-FE0F",sheet:[9,37]}],shortName:"man-swimming"},{name:"Woman Swimming",unified:"1F3CA-200D-2640-FE0F",keywords:["woman_swimming","sports","exercise","human","athlete","water","summer","woman","female"],sheet:[9,26],skinVariations:[{unified:"1F3CA-1F3FB-200D-2640-FE0F",sheet:[9,27]},{unified:"1F3CA-1F3FC-200D-2640-FE0F",sheet:[9,28]},{unified:"1F3CA-1F3FD-200D-2640-FE0F",sheet:[9,29]},{unified:"1F3CA-1F3FE-200D-2640-FE0F",sheet:[9,30]},{unified:"1F3CA-1F3FF-200D-2640-FE0F",sheet:[9,31]}],shortName:"woman-swimming"},{name:"Person Bouncing Ball",unified:"26F9-FE0F",keywords:["person_bouncing_ball","sports","human"],sheet:[55,36],skinVariations:[{unified:"26F9-1F3FB",sheet:[55,37]},{unified:"26F9-1F3FC",sheet:[55,38]},{unified:"26F9-1F3FD",sheet:[55,39]},{unified:"26F9-1F3FE",sheet:[55,40]},{unified:"26F9-1F3FF",sheet:[55,41]}],shortName:"person_with_ball",obsoletedBy:"26F9-FE0F-200D-2642-FE0F"},{name:"Man Bouncing Ball",unified:"26F9-FE0F-200D-2642-FE0F",obsoletes:"26F9-FE0F",keywords:["man_bouncing_ball","sport"],sheet:[55,30],hidden:["facebook"],skinVariations:[{unified:"26F9-1F3FB-200D-2642-FE0F",sheet:[55,31]},{unified:"26F9-1F3FC-200D-2642-FE0F",sheet:[55,32]},{unified:"26F9-1F3FD-200D-2642-FE0F",sheet:[55,33]},{unified:"26F9-1F3FE-200D-2642-FE0F",sheet:[55,34]}
1,{unified:"26F9-1F3FF-200D-2642-FE0F",sheet:[55,35]}],shortName:"man-bouncing-ball"},{name:"Woman Bouncing Ball",unified:"26F9-FE0F-200D-2640-FE0F",keywords:["woman_bouncing_ball","sports","human","woman","female"],sheet:[55,24],hidden:["facebook"],skinVariations:[{unified:"26F9-1F3FB-200D-2640-FE0F",sheet:[55,25]},{unified:"26F9-1F3FC-200D-2640-FE0F",sheet:[55,26]},{unified:"26F9-1F3FD-200D-2640-FE0F",sheet:[55,27]},{unified:"26F9-1F3FE-200D-2640-FE0F",sheet:[55,28]},{unified:"26F9-1F3FF-200D-2640-FE0F",sheet:[55,29]}],shortName:"woman-bouncing-ball"},{name:"Person Lifting Weights",unified:"1F3CB-FE0F",keywords:["person_lifting_weights","sports","training","exercise"],sheet:[9,56],skinVariations:[{unified:"1F3CB-1F3FB",sheet:[9,57]},{unified:"1F3CB-1F3FC",sheet:[10,0]},{unified:"1F3CB-1F3FD",sheet:[10,1]},{unified:"1F3CB-1F3FE",sheet:[10,2]},{unified:"1F3CB-1F3FF",sheet:[10,3]}],shortName:"weight_lifter",obsoletedBy:"1F3CB-FE0F-200D-2642-FE0F"},{name:"Man Lifting Weights",unified:"1F3CB-FE0F-200D-2642-FE0F",obsoletes:"1F3CB-FE0F",keywords:["man_lifting_weights","sport"],sheet:[9,50],hidden:["facebook"],skinVariations:[{unified:"1F3CB-1F3FB-200D-2642-FE0F",sheet:[9,51]},{unified:"1F3CB-1F3FC-200D-2642-FE0F",sheet:[9,52]},{unified:"1F3CB-1F3FD-200D-2642-FE0F",sheet:[9,53]},{unified:"1F3CB-1F3FE-200D-2642-FE0F",sheet:[9,54]},{unified:"1F3CB-1F3FF-200D-2642-FE0F",sheet:[9,55]}],shortName:"man-lifting-weights"},{name:"Woman Lifting Weights",unified:"1F3CB-FE0F-200D-2640-FE0F",keywords:["woman_lifting_weights","sports","training","exercise","woman","female"],sheet:[9,44],hidden:["facebook"],skinVariations:[{unified:"1F3CB-1F3FB-200D-2640-FE0F",sheet:[9,45]},{unified:"1F3CB-1F3FC-200D-2640-FE0F",sheet:[9,46]},{unified:"1F3CB-1F3FD-200D-2640-FE0F",sheet:[9,47]},{unified:"1F3CB-1F3FE-200D-2640-FE0F",sheet:[9,48]},{unified:"1F3CB-1F3FF-200D-2640-FE0F",sheet:[9,49]}],shortName:"woman-lifting-weights"},{name:"Bicyclist",unified:"1F6B4",keywords:["person_biking","sport","move"],sheet:[35,15],skinVariations:[{unified:"1F6B4-1F3FB",sheet:[35,16]},{unified:"1F6B4-1F3FC",sheet:[35,17]},{unified:"1F6B4-1F3FD",sheet:[35,18]},{unified:"1F6B4-1F3FE",sheet:[35,19]},{unified:"1F6B4-1F3FF",sheet:[35,20]}],shortName:"bicyclist",obsoletedBy:"1F6B4-200D-2642-FE0F"},{name:"Man Biking",unified:"1F6B4-200D-2642-FE0F",obsoletes:"1F6B4",keywords:["man_biking","sports","bike","exercise","hipster"],sheet:[35,9],skinVariations:[{unified:"1F6B4-1F3FB-200D-2642-FE0F",sheet:[35,10]},{unified:"1F6B4-1F3FC-200D-2642-FE0F",sheet:[35,11]},{unified:"1F6B4-1F3FD-200D-2642-FE0F",sheet:[35,12]},{unified:"1F6B4-1F3FE-200D-2642-FE0F",sheet:[35,13]},{unified:"1F6B4-1F3FF-200D-2642-FE0F",sheet:[35,14]}],shortName:"man-biking"},{name:"Woman Biking",unified:"1F6B4-200D-2640-FE0F",keywords:["woman_biking","sports","bike","exercise","hipster","woman","female"],sheet:[35,3],skinVariations:[{unified:"1F6B4-1F3FB-200D-2640-FE0F",sheet:[35,4]},{unified:"1F6B4-1F3FC-200D-2640-FE0F",sheet:[35,5]},{unified:"1F6B4-1F3FD-200D-2640-FE0F",sheet:[35,6]},{unified:"1F6B4-1F3FE-200D-2640-FE0F",sheet:[35,7]},{unified:"1F6B4-1F3FF-200D-2640-FE0F",sheet:[35,8]}],shortName:"woman-biking"},{name:"Mountain Bicyclist",unified:"1F6B5",keywords:["person_mountain_biking","sport","move"],sheet:[35,33],skinVariations:[{unified:"1F6B5-1F3FB",sheet:[35,34]},{unified:"1F6B5-1F3FC",sheet:[35,35]},{unified:"1F6B5-1F3FD",sheet:[35,36]},{unified:"1F6B5-1F3FE",sheet:[35,37]},{unified:"1F6B5-1F3FF",sheet:[35,38]}],shortName:"mountain_bicyclist",obsoletedBy:"1F6B5-200D-2642-FE0F"},{name:"Man Mountain Biking",unified:"1F6B5-200D-2642-FE0F",obsoletes:"1F6B5",keywords:["man_mountain_biking","transportation","sports","human","race","bike"],sheet:[35,27],skinVariations:[{unified:"1F6B5-1F3FB-200D-2642-FE0F",sheet:[35,28]},{unified:"1F6B5-1F3FC-200D-2642-FE0F",sheet:[35,29]},{unified:"1F6B5-1F3FD-200D-2642-FE0F",sheet:[35,30]},{unified:"1F6B5-1F3FE-200D-2642-FE0F",sheet:[35,31]},{unified:"1F6B5-1F3FF-200D-2642-FE0F",sheet:[35,32]}],shortName:"man-mountain-biking"},{name:"Woman Mountain Biking",unified:"1F6B5-200D-2640-FE0F",keywords:["woman_mountain_biking","transportation","sports","human","race","bike","woman","female"],sheet:[35,21],skinVariations:[{unified:"1F6B5-1F3FB-200D-2640-FE0F",sheet:[35,22]},{unified:"1F6B5-1F3FC-200D-2640-FE0F",sheet:[35,23]},{unified:"1F6B5-1F3FD-200D-2640-FE0F",sheet:[35,24]},{unified:"1F6B5-1F3FE-200D-2640-FE0F",sheet:[35,25]},{unified:"1F6B5-1F3FF-200D-2640-FE0F",sheet:[35,26]}],shortName:"woman-mountain-biking"},{name:"Person Doing Cartwheel",unified:"1F938",keywords:["person_cartwheeling","sport","gymnastic"],sheet:[40,17],skinVariations:[{unified:"1F938-1F3FB",sheet:[40,18]},{unified:"1F938-1F3FC",sheet:[40,19]},{unified:"1F938-1F3FD",sheet:[40,20]},{unified:"1F938-1F3FE",sheet:[40,21]},{unified:"1F938-1F3FF",sheet:[40,22]}],shortName:"person_doing_cartwheel"},{name:"Man Cartwheeling",unified:"1F938-200D-2642-FE0F",keywords:["man_cartwheeling","gymnastics"],sheet:[40,11],skinVariations:[{unified:"1F938-1F3FB-200D-2642-FE0F",sheet:[40,12]},{unified:"1F938-1F3FC-200D-2642-FE0F",sheet:[40,13]},{unified:"1F938-1F3FD-200D-2642-FE0F",sheet:[40,14]},{unified:"1F938-1F3FE-200D-2642-FE0F",sheet:[40,15]},{unified:"1F938-1F3FF-200D-2642-FE0F",sheet:[40,16]}],shortName:"man-cartwheeling"},{name:"Woman Cartwheeling",unified:"1F938-200D-2640-FE0F",keywords:["woman_cartwheeling","gymnastics"],sheet:[40,5],skinVariations:[{unified:"1F938-1F3FB-200D-2640-FE0F",sheet:[40,6]},{unified:"1F938-1F3FC-200D-2640-FE0F",sheet:[40,7]},{unified:"1F938-1F3FD-200D-2640-FE0F",sheet:[40,8]},{unified:"1F938-1F3FE-200D-2640-FE0F",sheet:[40,9]},{unified:"1F938-1F3FF-200D-2640-FE0F",sheet:[40,10]}],shortName:"woman-cartwheeling"},{name:"Wrestlers",unified:"1F93C",keywords:["people_wrestling","sport"],sheet:[40,44],shortName:"wrestlers"},{name:"Men Wrestling",unified:"1F93C-200D-2642-FE0F",keywords:["men_wrestling","sports","wrestlers"],sheet:[40,43],short
1Name:"man-wrestling"},{name:"Women Wrestling",unified:"1F93C-200D-2640-FE0F",keywords:["women_wrestling","sports","wrestlers"],sheet:[40,42],shortName:"woman-wrestling"},{name:"Water Polo",unified:"1F93D",keywords:["person_playing_water_polo","sport"],sheet:[40,57],skinVariations:[{unified:"1F93D-1F3FB",sheet:[41,0]},{unified:"1F93D-1F3FC",sheet:[41,1]},{unified:"1F93D-1F3FD",sheet:[41,2]},{unified:"1F93D-1F3FE",sheet:[41,3]},{unified:"1F93D-1F3FF",sheet:[41,4]}],shortName:"water_polo"},{name:"Man Playing Water Polo",unified:"1F93D-200D-2642-FE0F",keywords:["man_playing_water_polo","sports","pool"],sheet:[40,51],skinVariations:[{unified:"1F93D-1F3FB-200D-2642-FE0F",sheet:[40,52]},{unified:"1F93D-1F3FC-200D-2642-FE0F",sheet:[40,53]},{unified:"1F93D-1F3FD-200D-2642-FE0F",sheet:[40,54]},{unified:"1F93D-1F3FE-200D-2642-FE0F",sheet:[40,55]},{unified:"1F93D-1F3FF-200D-2642-FE0F",sheet:[40,56]}],shortName:"man-playing-water-polo"},{name:"Woman Playing Water Polo",unified:"1F93D-200D-2640-FE0F",keywords:["woman_playing_water_polo","sports","pool"],sheet:[40,45],skinVariations:[{unified:"1F93D-1F3FB-200D-2640-FE0F",sheet:[40,46]},{unified:"1F93D-1F3FC-200D-2640-FE0F",sheet:[40,47]},{unified:"1F93D-1F3FD-200D-2640-FE0F",sheet:[40,48]},{unified:"1F93D-1F3FE-200D-2640-FE0F",sheet:[40,49]},{unified:"1F93D-1F3FF-200D-2640-FE0F",sheet:[40,50]}],shortName:"woman-playing-water-polo"},{name:"Handball",unified:"1F93E",keywords:["person_playing_handball","sport"],sheet:[41,17],skinVariations:[{unified:"1F93E-1F3FB",sheet:[41,18]},{unified:"1F93E-1F3FC",sheet:[41,19]},{unified:"1F93E-1F3FD",sheet:[41,20]},{unified:"1F93E-1F3FE",sheet:[41,21]},{unified:"1F93E-1F3FF",sheet:[41,22]}],shortName:"handball"},{name:"Man Playing Handball",unified:"1F93E-200D-2642-FE0F",keywords:["man_playing_handball","sports"],sheet:[41,11],skinVariations:[{unified:"1F93E-1F3FB-200D-2642-FE0F",sheet:[41,12]},{unified:"1F93E-1F3FC-200D-2642-FE0F",sheet:[41,13]},{unified:"1F93E-1F3FD-200D-2642-FE0F",sheet:[41,14]},{unified:"1F93E-1F3FE-200D-2642-FE0F",sheet:[41,15]},{unified:"1F93E-1F3FF-200D-2642-FE0F",sheet:[41,16]}],shortName:"man-playing-handball"},{name:"Woman Playing Handball",unified:"1F93E-200D-2640-FE0F",keywords:["woman_playing_handball","sports"],sheet:[41,5],skinVariations:[{unified:"1F93E-1F3FB-200D-2640-FE0F",sheet:[41,6]},{unified:"1F93E-1F3FC-200D-2640-FE0F",sheet:[41,7]},{unified:"1F93E-1F3FD-200D-2640-FE0F",sheet:[41,8]},{unified:"1F93E-1F3FE-200D-2640-FE0F",sheet:[41,9]},{unified:"1F93E-1F3FF-200D-2640-FE0F",sheet:[41,10]}],shortName:"woman-playing-handball"},{name:"Juggling",unified:"1F939",keywords:["person_juggling","performance","balance"],sheet:[40,35],skinVariations:[{unified:"1F939-1F3FB",sheet:[40,36]},{unified:"1F939-1F3FC",sheet:[40,37]},{unified:"1F939-1F3FD",sheet:[40,38]},{unified:"1F939-1F3FE",sheet:[40,39]},{unified:"1F939-1F3FF",sheet:[40,40]}],shortName:"juggling"},{name:"Man Juggling",unified:"1F939-200D-2642-FE0F",keywords:["man_juggling","juggle","balance","skill","multitask"],sheet:[40,29],skinVariations:[{unified:"1F939-1F3FB-200D-2642-FE0F",sheet:[40,30]},{unified:"1F939-1F3FC-200D-2642-FE0F",sheet:[40,31]},{unified:"1F939-1F3FD-200D-2642-FE0F",sheet:[40,32]},{unified:"1F939-1F3FE-200D-2642-FE0F",sheet:[40,33]},{unified:"1F939-1F3FF-200D-2642-FE0F",sheet:[40,34]}],shortName:"man-juggling"},{name:"Woman Juggling",unified:"1F939-200D-2640-FE0F",keywords:["woman_juggling","juggle","balance","skill","multitask"],sheet:[40,23],skinVariations:[{unified:"1F939-1F3FB-200D-2640-FE0F",sheet:[40,24]},{unified:"1F939-1F3FC-200D-2640-FE0F",sheet:[40,25]},{unified:"1F939-1F3FD-200D-2640-FE0F",sheet:[40,26]},{unified:"1F939-1F3FE-200D-2640-FE0F",sheet:[40,27]},{unified:"1F939-1F3FF-200D-2640-FE0F",sheet:[40,28]}],shortName:"woman-juggling"},{name:"Person in Lotus Position",unified:"1F9D8",keywords:["person_in_lotus_position","meditate"],sheet:[49,57],skinVariations:[{unified:"1F9D8-1F3FB",sheet:[50,0]},{unified:"1F9D8-1F3FC",sheet:[50,1]},{unified:"1F9D8-1F3FD",sheet:[50,2]},{unified:"1F9D8-1F3FE",sheet:[50,3]},{unified:"1F9D8-1F3FF",sheet:[50,4]}],shortName:"person_in_lotus_position",obsoletedBy:"1F9D8-200D-2640-FE0F"}
1,{name:"Man in Lotus Position",unified:"1F9D8-200D-2642-FE0F",keywords:["man_in_lotus_position","man","male","meditation","yoga","serenity","zen","mindfulness"],sheet:[49,51],skinVariations:[{unified:"1F9D8-1F3FB-200D-2642-FE0F",sheet:[49,52]},{unified:"1F9D8-1F3FC-200D-2642-FE0F",sheet:[49,53]},{unified:"1F9D8-1F3FD-200D-2642-FE0F",sheet:[49,54]},{unified:"1F9D8-1F3FE-200D-2642-FE0F",sheet:[49,55]},{unified:"1F9D8-1F3FF-200D-2642-FE0F",sheet:[49,56]}],shortName:"man_in_lotus_position"},{name:"Woman in Lotus Position",unified:"1F9D8-200D-2640-FE0F",obsoletes:"1F9D8",keywords:["woman_in_lotus_position","woman","female","meditation","yoga","serenity","zen","mindfulness"],sheet:[49,45],skinVariations:[{unified:"1F9D8-1F3FB-200D-2640-FE0F",sheet:[49,46]},{unified:"1F9D8-1F3FC-200D-2640-FE0F",sheet:[49,47]},{unified:"1F9D8-1F3FD-200D-2640-FE0F",sheet:[49,48]},{unified:"1F9D8-1F3FE-200D-2640-FE0F",sheet:[49,49]},{unified:"1F9D8-1F3FF-200D-2640-FE0F",sheet:[49,50]}],shortName:"woman_in_lotus_position"},{name:"Bath",unified:"1F6C0",keywords:["person_taking_bath","clean","shower","bathroom"],sheet:[36,8],skinVariations:[{unified:"1F6C0-1F3FB",sheet:[36,9]},{unified:"1F6C0-1F3FC",sheet:[36,10]},{unified:"1F6C0-1F3FD",sheet:[36,11]},{unified:"1F6C0-1F3FE",sheet:[36,12]},{unified:"1F6C0-1F3FF",sheet:[36,13]}],shortName:"bath"},{name:"Sleeping Accommodation",unified:"1F6CC",keywords:["person_in_bed","bed","rest"],sheet:[36,20],skinVariations:[{unified:"1F6CC-1F3FB",sheet:[36,21]},{unified:"1F6CC-1F3FC",sheet:[36,22]},{unified:"1F6CC-1F3FD",sheet:[36,23]},{unified:"1F6CC-1F3FE",sheet:[36,24]},{unified:"1F6CC-1F3FF",sheet:[36,25]}],shortName:"sleeping_accommodation"},{name:"People Holding Hands",unified:"1F9D1-200D-1F91D-200D-1F9D1",keywords:["people_holding_hands","friendship"],sheet:[47,9],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FB",sheet:[47,10]},{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FC",sheet:[47,11],hidden:["facebook"]},{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FD",sheet:[47,12],hidden:["facebook"]},{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FE",sheet:[47,13],hidden:["facebook"]},{unified:"1F9D1-1F3FB-200D-1F91D-200D-1F9D1-1F3FF",sheet:[47,14],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FB",sheet:[47,15]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FC",sheet:[47,16]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FD",sheet:[47,17],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FE",sheet:[47,18],hidden:["facebook"]},{unified:"1F9D1-1F3FC-200D-1F91D-200D-1F9D1-1F3FF",sheet:[47,19],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FB",sheet:[47,20]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FC",sheet:[47,21]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FD",sheet:[47,22]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FE",sheet:[47,23],hidden:["facebook"]},{unified:"1F9D1-1F3FD-200D-1F91D-200D-1F9D1-1F3FF",sheet:[47,24],hidden:["facebook"]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FB",sheet:[47,25]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FC",sheet:[47,26]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FD",sheet:[47,27]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FE",sheet:[47,28]},{unified:"1F9D1-1F3FE-200D-1F91D-200D-1F9D1-1F3FF",sheet:[47,29],hidden:["facebook"]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FB",sheet:[47,30]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FC",sheet:[47,31]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FD",sheet:[47,32]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FE",sheet:[47,33]},{unified:"1F9D1-1F3FF-200D-1F91D-200D-1F9D1-1F3FF",sheet:[47,34]}],shortName:"people_holding_hands"},{name:"Two Women Holding Hands",unified:"1F46D",keywords:["women_holding_hands","pair","friendship","couple","love","like","female","people","human"],sheet:[21,5],skinVariations:[{unified:"1F46D-1F3FB",sheet:[21,6]},{unified:"1F46D-1F3FC",sheet:[21,7]},{unified:"1F46D-1F3FD",sheet:[21,8]},{unified:"1F46D-1F3FE",sheet:[21,9]},{unified:"1F46D-1F3FF",sheet:[21,10]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F469-1F3FC",sheet:[21,11],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F469-1F3FD",sheet:[21,12],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F469-1F3FE",sheet:[21,13],hidden:["facebook"]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F469-1F3FF",sheet:[21,14],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F469-1F3FB",sheet:[21,15]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F469-1F3FD",sheet:[21,16],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F469-1F3FE",sheet:[21,17],hidden:["facebook"]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F469-1F3FF",sheet:[21,18],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F469-1F3FB",sheet:[21,19]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F469-1F3FC",sheet:[21,20]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F469-1F3FE",sheet:[21,21],hidden:["facebook"]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F469-1F3FF",sheet:[21,22],hidden:["facebook"]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F469-1F3FB",sheet:[21,23]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F469-1F3FC",sheet:[21,24]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F469-1F3FD",sheet:[21,25]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F469-1F3FF",sheet:[21,26],hidden:["facebook"]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F469-1F3FB",sheet:[21,27]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F469-1F3FC",sheet:[21,28]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F469-1F3FD",sheet:[21,29]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F469-1F3FE",sheet:[21,30]}
1],shortNames:["women_holding_hands"],shortName:"two_women_holding_hands"},{name:"Man and Woman Holding Hands",unified:"1F46B",keywords:["woman_and_man_holding_hands","pair","people","human","love","date","dating","like","affection","valentines","marriage"],sheet:[20,11],skinVariations:[{unified:"1F46B-1F3FB",sheet:[20,12]},{unified:"1F46B-1F3FC",sheet:[20,13]},{unified:"1F46B-1F3FD",sheet:[20,14]},{unified:"1F46B-1F3FE",sheet:[20,15]},{unified:"1F46B-1F3FF",sheet:[20,16]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F468-1F3FC",sheet:[20,17]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F468-1F3FD",sheet:[20,18]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F468-1F3FE",sheet:[20,19]},{unified:"1F469-1F3FB-200D-1F91D-200D-1F468-1F3FF",sheet:[20,20]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F468-1F3FB",sheet:[20,21]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F468-1F3FD",sheet:[20,22]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F468-1F3FE",sheet:[20,23]},{unified:"1F469-1F3FC-200D-1F91D-200D-1F468-1F3FF",sheet:[20,24]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F468-1F3FB",sheet:[20,25]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F468-1F3FC",sheet:[20,26]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F468-1F3FE",sheet:[20,27]},{unified:"1F469-1F3FD-200D-1F91D-200D-1F468-1F3FF",sheet:[20,28]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F468-1F3FB",sheet:[20,29]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F468-1F3FC",sheet:[20,30]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F468-1F3FD",sheet:[20,31]},{unified:"1F469-1F3FE-200D-1F91D-200D-1F468-1F3FF",sheet:[20,32]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F468-1F3FB",sheet:[20,33]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F468-1F3FC",sheet:[20,34]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F468-1F3FD",sheet:[20,35]},{unified:"1F469-1F3FF-200D-1F91D-200D-1F468-1F3FE",sheet:[20,36]}],shortNames:["woman_and_man_holding_hands","couple"],shortName:"man_and_woman_holding_hands"},{name:"Two Men Holding Hands",unified:"1F46C",keywords:["men_holding_hands","pair","couple","love","like","bromance","friendship","people","human"],sheet:[20,37],skinVariations:[{unified:"1F46C-1F3FB",sheet:[20,38]},{unified:"1F46C-1F3FC",sheet:[20,39]},{unified:"1F46C-1F3FD",sheet:[20,40]},{unified:"1F46C-1F3FE",sheet:[20,41]},{unified:"1F46C-1F3FF",sheet:[20,42]},{unified:"1F468-1F3FB-200D-1F91D-200D-1F468-1F3FC",sheet:[20,43],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-1F91D-200D-1F468-1F3FD",sheet:[20,44],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-1F91D-200D-1F468-1F3FE",sheet:[20,45],hidden:["facebook"]},{unified:"1F468-1F3FB-200D-1F91D-200D-1F468-1F3FF",sheet:[20,46],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-1F91D-200D-1F468-1F3FB",sheet:[20,47]},{unified:"1F468-1F3FC-200D-1F91D-200D-1F468-1F3FD",sheet:[20,48],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-1F91D-200D-1F468-1F3FE",sheet:[20,49],hidden:["facebook"]},{unified:"1F468-1F3FC-200D-1F91D-200D-1F468-1F3FF",sheet:[20,50],hidden:["facebook"]},{unified:"1F468-1F3FD-200D-1F91D-200D-1F468-1F3FB",sheet:[20,51]},{unified:"1F468-1F3FD-200D-1F91D-200D-1F468-1F3FC",sheet:[20,52]},{unified:"1F468-1F3FD-200D-1F91D-200D-1F468-1F3FE",sheet:[20,53],hidden:["facebook"]},{unified:"1F468-1F3FD-200D-1F91D-200D-1F468-1F3FF",sheet:[20,54],hidden:["facebook"]},{unified:"1F468-1F3FE-200D-1F91D-200D-1F468-1F3FB",sheet:[20,55]},{unified:"1F468-1F3FE-200D-1F91D-200D-1F468-1F3FC",sheet:[20,56]},{unified:"1F468-1F3FE-200D-1F91D-200D-1F468-1F3FD",sheet:[20,57]},{unified:"1F468-1F3FE-200D-1F91D-200D-1F468-1F3FF",sheet:[21,0],hidden:["facebook"]},{unified:"1F468-1F3FF-200D-1F91D-200D-1F468-1F3FB",sheet:[21,1]},{unified:"1F468-1F3FF-200D-1F91D-200D-1F468-1F3FC",sheet:[21,2]},{unified:"1F468-1F3FF-200D-1F91D-200D-1F468-1F3FD",sheet:[21,3]},{unified:"1F468-1F3FF-200D-1F91D-200D-1F468-1F3FE",sheet:[21,4]}],shortNames:["men_holding_hands"],shortName:"two_men_holding_hands"},{name:"Kiss",unified:"1F48F",keywords:["kiss","pair","valentines","love","like","dating","marriage"],sheet:[25,27],shortName:"couplekiss",obsoletedBy:"1F469-200D-2764-FE0F-200D-1F48B-200D-1F468"},{name:"Kiss: Woman, Man",unified:"1F469-200D-2764-FE0F-200D-1F48B-200D-1F468",obsoletes:"1F48F",keywords:["kiss_woman_man","love"],sheet:[20,2],shortName:"woman-kiss-man"},{name:"Kiss: Man, Man",unified:"1F468-200D-2764-FE0F-200D-1F48B-200D-1F468",keywords:["kiss_man_man","pair","valentines","love","like","dating","marriage"],sheet:[17,13],shortName:"man-kiss-man"},{name:"Kiss: Woman, Woman",unified:"1F469-200D-2764-FE0F-200D-1F48B-200D-1F469",keywords:["kiss_woman_woman","pair","valentines","love","like","dating","marriage"],sheet:[20,3],short
1Name:"woman-kiss-woman"},{name:"Couple with Heart",unified:"1F491",keywords:["couple_with_heart","pair","love","like","affection","human","dating","valentines","marriage"],sheet:[25,29],shortName:"couple_with_heart",obsoletedBy:"1F469-200D-2764-FE0F-200D-1F468"},{name:"Couple with Heart: Woman, Man",unified:"1F469-200D-2764-FE0F-200D-1F468",obsoletes:"1F491",keywords:["couple_with_heart_woman_man","love"],sheet:[20,0],shortName:"woman-heart-man"},{name:"Couple with Heart: Man, Man",unified:"1F468-200D-2764-FE0F-200D-1F468",keywords:["couple_with_heart_man_man","pair","love","like","affection","human","dating","valentines","marriage"],sheet:[17,12],shortName:"man-heart-man"},{name:"Couple with Heart: Woman, Woman",unified:"1F469-200D-2764-FE0F-200D-1F469",keywords:["couple_with_heart_woman_woman","pair","love","like","affection","human","dating","valentines","marriage"],sheet:[20,1],shortName:"woman-heart-woman"},{name:"Family",unified:"1F46A",keywords:["family","home","parents","child","mom","dad","father","mother","people","human"],sheet:[20,10],shortName:"family",obsoletedBy:"1F468-200D-1F469-200D-1F466"},{name:"Family: Man, Woman, Boy",unified:"1F468-200D-1F469-200D-1F466",obsoletes:"1F46A",keywords:["family_man_woman_boy","love"],sheet:[15,27],shortName:"man-woman-boy"},{name:"Family: Man, Woman, Girl",unified:"1F468-200D-1F469-200D-1F467",keywords:["family_man_woman_girl","home","parents","people","human","child"],sheet:[15,29],shortName:"man-woman-girl"},{name:"Family: Man, Woman, Girl, Boy",unified:"1F468-200D-1F469-200D-1F467-200D-1F466",keywords:["family_man_woman_girl_boy","home","parents","people","human","children"],sheet:[15,30],shortName:"man-woman-girl-boy"},{name:"Family: Man, Woman, Boy, Boy",unified:"1F468-200D-1F469-200D-1F466-200D-1F466",keywords:["family_man_woman_boy_boy","home","parents","people","human","children"],sheet:[15,28],shortName:"man-woman-boy-boy"},{name:"Family: Man, Woman, Girl, Girl",unified:"1F468-200D-1F469-200D-1F467-200D-1F467",keywords:["family_man_woman_girl_girl","home","parents","people","human","children"],sheet:[15,31],shortName:"man-woman-girl-girl"},{name:"Family: Man, Man, Boy",unified:"1F468-200D-1F468-200D-1F466",keywords:["family_man_man_boy","home","parents","people","human","children"],sheet:[15,22],shortName:"man-man-boy"},{name:"Family: Man, Man, Girl",unified:"1F468-200D-1F468-200D-1F467",keywords:["family_man_man_girl","home","parents","people","human","children"],sheet:[15,24],shortName:"man-man-girl"},{name:"Family: Man, Man, Girl, Boy",unified:"1F468-200D-1F468-200D-1F467-200D-1F466",keywords:["family_man_man_girl_boy","home","parents","people","human","children"],sheet:[15,25],shortName:"man-man-girl-boy"},{name:"Family: Man, Man, Boy, Boy",unified:"1F468-200D-1F468-200D-1F466-200D-1F466",keywords:["family_man_man_boy_boy","home","parents","people","human","children"],sheet:[15,23],shortName:"man-man-boy-boy"},{name:"Family: Man, Man, Girl, Girl",unified:"1F468-200D-1F468-200D-1F467-200D-1F467",keywords:["family_man_man_girl_girl","home","parents","people","human","children"],sheet:[15,26],shortName:"man-man-girl-girl"},{name:"Family: Woman, Woman, Boy",unified:"1F469-200D-1F469-200D-1F466",keywords:["family_woman_woman_boy","home","parents","people","human","children"],sheet:[18,15],shortName:"woman-woman-boy"},{name:"Family: Woman, Woman, Girl",unified:"1F469-200D-1F469-200D-1F467",keywords:["family_woman_woman_girl","home","parents","people","human","children"],sheet:[18,17],shortName:"woman-woman-girl"},{name:"Family: Woman, Woman, Girl, Boy",unified:"1F469-200D-1F469-200D-1F467-200D-1F466",keywords:["family_woman_woman_girl_boy","home","parents","people","human","children"],sheet:[18,18],shortName:"woman-woman-girl-boy"},{name:"Family: Woman, Woman, Boy, Boy",unified:"1F469-200D-1F469-200D-1F466-200D-1F466",keywords:["family_woman_woman_boy_boy","home","parents","people","human","children"],sheet:[18,16],shortName:"woman-woman-boy-boy"},{name:"Family: Woman, Woman, Girl, Girl",unified:"1F469-200D-1F469-200D-1F467-200D-1F467",keywords:["family_woman_woman_girl_girl","home","parents","people","human","children"],sheet:[18,19],shortName:"woman-woman-girl-girl"},{name:"Family: Man, Boy",unified:"1F468-200D-1F466",keywords:["family_man_boy","home","parent","people","human","child"],sheet:[15,18],shortName:"man-boy"},{name:"Family: Man, Boy, Boy",unified:"1F468-200D-1F466-200D-1F466",keywords:["family_man_boy_boy","home","parent","people","human","children"],sheet:[15,17],shortName:"man-boy-boy"},{name:"Family: Man, Girl",unified:"1F468-200D-1F467",keywords:["family_man_girl","home","parent","people","human","child"],sheet:[15,21],shortName:"man-girl"},{name:"Family: Man, Girl, Boy",unified:"1F468-200D-1F467-200D-1F466",keywords:["family_man_girl_boy","home","parent","people","human","children"],sheet:[15,19],shortName:"man-girl-boy"},{name:"Family: Man, Girl, Girl",unified:"1F468-200D-1F467-200D-1F467",keywords:["family_man_girl_girl","home","parent","people","human","children"],sheet:[15,20],shortName:"man-girl-girl"},{name:"Family: Woman, Boy",unified:"1F469-200D-1F466",keywords:["family_woman_boy","home","parent","people","human","child"],sheet:[18,11],shortName:"woman-boy"},{name:"Family: Woman, Boy, Boy",unified:"1F469-200D-1F466-200D-1F466",keywords:["family_woman_boy_boy","home","parent","people","human","children"],sheet:[18,10],shortName:"woman-boy-boy"},{name:"Family: Woman, Girl",unified:"1F469-200D-1F467",keywords:["family_woman_girl","home","parent","people","human","child"],sheet:[18,14],short
1Name:"woman-girl"},{name:"Family: Woman, Girl, Boy",unified:"1F469-200D-1F467-200D-1F466",keywords:["family_woman_girl_boy","home","parent","people","human","children"],sheet:[18,12],shortName:"woman-girl-boy"},{name:"Family: Woman, Girl, Girl",unified:"1F469-200D-1F467-200D-1F467",keywords:["family_woman_girl_girl","home","parent","people","human","children"],sheet:[18,13],shortName:"woman-girl-girl"},{name:"Speaking Head",unified:"1F5E3-FE0F",keywords:["speaking_head","user","person","human","sing","say","talk"],sheet:[30,22],shortName:"speaking_head_in_silhouette"},{name:"Bust in Silhouette",unified:"1F464",keywords:["bust_in_silhouette","user","person","human"],sheet:[14,13],shortName:"bust_in_silhouette"},{name:"Busts in Silhouette",unified:"1F465",keywords:["busts_in_silhouette","user","person","human","group","team"],sheet:[14,14],shortName:"busts_in_silhouette"},{name:"People Hugging",unified:"1FAC2",keywords:["people hugging","care"],sheet:[53,8],shortName:"people_hugging"},{name:"Footprints",unified:"1F463",keywords:["footprints","feet","tracking","walking","beach"],sheet:[14,12],shortName:"footprints"},{name:"Emoji Modifier Fitzpatrick Type-1-2",unified:"1F3FB",sheet:[11,13],shortName:"skin-tone-2"},{name:"Emoji Modifier Fitzpatrick Type-3",unified:"1F3FC",sheet:[11,14],shortName:"skin-tone-3"},{name:"Emoji Modifier Fitzpatrick Type-4",unified:"1F3FD",sheet:[11,15],shortName:"skin-tone-4"},{name:"Emoji Modifier Fitzpatrick Type-5",unified:"1F3FE",sheet:[11,16],shortName:"skin-tone-5"},{name:"Emoji Modifier Fitzpatrick Type-6",unified:"1F3FF",sheet:[11,17],shortName:"skin-tone-6"},{name:"Monkey Face",unified:"1F435",emoticons:[":o)"],keywords:["monkey_face","animal","nature","circus"],sheet:[12,15],shortName:"monkey_face"},{name:"Monkey",unified:"1F412",keywords:["monkey","animal","nature","banana","circus"],sheet:[11,37],shortName:"monkey"},{name:"Gorilla",unified:"1F98D",keywords:["gorilla","animal","nature","circus"],sheet:[42,46],shortName:"gorilla"},{name:"Orangutan",unified:"1F9A7",keywords:["orangutan","animal"],sheet:[43,14],shortName:"orangutan"},{name:"Dog Face",unified:"1F436",keywords:["dog_face","animal","friend","nature","woof","puppy","pet","faithful"],sheet:[12,16],shortName:"dog"},{name:"Dog",unified:"1F415",keywords:["dog","animal","nature","friend","doge","pet","faithful"],sheet:[11,41],shortName:"dog2"},{name:"Guide Dog",unified:"1F9AE",keywords:["guide_dog","animal","blind"],sheet:[43,21],shortName:"guide_dog"},{name:"Service Dog",unified:"1F415-200D-1F9BA",keywords:["service_dog","blind","animal"],sheet:[11,40],shortName:"service_dog"},{name:"Poodle",unified:"1F429",keywords:["poodle","dog","animal","101","nature","pet"],sheet:[12,3],shortName:"poodle"},{name:"Wolf Face",unified:"1F43A",keywords:["wolf","animal","nature","wild"],sheet:[12,20],shortName:"wolf"},{name:"Fox Face",unified:"1F98A",keywords:["fox","animal","nature","face"],sheet:[42,43],shortName:"fox_face"},{name:"Raccoon",unified:"1F99D",keywords:["raccoon","animal","nature"],sheet:[43,4],shortName:"raccoon"},{name:"Cat Face",unified:"1F431",keywords:["cat_face","animal","meow","nature","pet","kitten"],sheet:[12,11],shortName:"cat"},{name:"Cat",unified:"1F408",keywords:["cat","animal","meow","pet","cats"],sheet:[11,27],shortName:"cat2"},{name:"Black Cat",unified:"1F408-200D-2B1B",keywords:["black cat","superstition","luck"],sheet:[11,26],shortName:"black_cat"},{name:"Lion Face",unified:"1F981",keywords:["lion","animal","nature"],sheet:[42,34],shortName:"lion_face"},{name:"Tiger Face",unified:"1F42F",keywords:["tiger_face","animal","cat","danger","wild","nature","roar"],sheet:[12,9],shortName:"tiger"},{name:"Tiger",unified:"1F405",keywords:["tiger","animal","nature","roar"],sheet:[11,23],shortName:"tiger2"},{name:"Leopard",unified:"1F406",keywords:["leopard","animal","nature"],sheet:[11,24],shortName:"leopard"},{name:"Horse Face",unified:"1F434",keywords:["horse_face","animal","brown","nature"],sheet:[12,14],shortName:"horse"},{name:"Horse",unified:"1F40E",keywords:["horse","animal","gamble","luck"],sheet:[11,33],shortName:"racehorse"},{name:"Unicorn Face",unified:"1F984",keywords:["unicorn","animal","nature","mystical"],sheet:[42,37],shortName:"unicorn_face"},{name:"Zebra Face",unified:"1F993",keywords:["zebra","animal","nature","stripes","safari"],sheet:[42,52],short
1Name:"zebra_face"},{name:"Deer",unified:"1F98C",keywords:["deer","animal","nature","horns","venison"],sheet:[42,45],shortName:"deer"},{name:"Bison",unified:"1F9AC",keywords:["bison","ox"],sheet:[43,19],shortName:"bison"},{name:"Cow Face",unified:"1F42E",keywords:["cow_face","beef","ox","animal","nature","moo","milk"],sheet:[12,8],shortName:"cow"},{name:"Ox",unified:"1F402",keywords:["ox","animal","cow","beef"],sheet:[11,20],shortName:"ox"},{name:"Water Buffalo",unified:"1F403",keywords:["water_buffalo","animal","nature","ox","cow"],sheet:[11,21],shortName:"water_buffalo"},{name:"Cow",unified:"1F404",keywords:["cow","beef","ox","animal","nature","moo","milk"],sheet:[11,22],shortName:"cow2"},{name:"Pig Face",unified:"1F437",keywords:["pig_face","animal","oink","nature"],sheet:[12,17],shortName:"pig"},{name:"Pig",unified:"1F416",keywords:["pig","animal","nature"],sheet:[11,42],shortName:"pig2"},{name:"Boar",unified:"1F417",keywords:["boar","animal","nature"],sheet:[11,43],shortName:"boar"},{name:"Pig Nose",unified:"1F43D",keywords:["pig_nose","animal","oink"],sheet:[12,24],shortName:"pig_nose"},{name:"Ram",unified:"1F40F",keywords:["ram","animal","sheep","nature"],sheet:[11,34],shortName:"ram"},{name:"Sheep",unified:"1F411",keywords:["ewe","animal","nature","wool","shipit"],sheet:[11,36],shortName:"sheep"},{name:"Goat",unified:"1F410",keywords:["goat","animal","nature"],sheet:[11,35],shortName:"goat"},{name:"Dromedary Camel",unified:"1F42A",keywords:["camel","animal","hot","desert","hump"],sheet:[12,4],shortName:"dromedary_camel"},{name:"Bactrian Camel",unified:"1F42B",keywords:["two_hump_camel","animal","nature","hot","desert","hump"],sheet:[12,5],shortName:"camel"},{name:"Llama",unified:"1F999",keywords:["llama","animal","nature","alpaca"],sheet:[43,0],shortName:"llama"},{name:"Giraffe Face",unified:"1F992",keywords:["giraffe","animal","nature","spots","safari"],sheet:[42,51],shortName:"giraffe_face"}
1,{name:"Elephant",unified:"1F418",keywords:["elephant","animal","nature","nose","th","circus"],sheet:[11,44],shortName:"elephant"},{name:"Mammoth",unified:"1F9A3",keywords:["mammoth","elephant","tusks"],sheet:[43,10],shortName:"mammoth"},{name:"Rhinoceros",unified:"1F98F",keywords:["rhinoceros","animal","nature","horn"],sheet:[42,48],shortName:"rhinoceros"},{name:"Hippopotamus",unified:"1F99B",keywords:["hippopotamus","animal","nature"],sheet:[43,2],shortName:"hippopotamus"},{name:"Mouse Face",unified:"1F42D",keywords:["mouse_face","animal","nature","cheese_wedge","rodent"],sheet:[12,7],shortName:"mouse"},{name:"Mouse",unified:"1F401",keywords:["mouse","animal","nature","rodent"],sheet:[11,19],shortName:"mouse2"},{name:"Rat",unified:"1F400",keywords:["rat","animal","mouse","rodent"],sheet:[11,18],shortName:"rat"},{name:"Hamster Face",unified:"1F439",keywords:["hamster","animal","nature"],sheet:[12,19],shortName:"hamster"},{name:"Rabbit Face",unified:"1F430",keywords:["rabbit_face","animal","nature","pet","spring","magic","bunny"],sheet:[12,10],shortName:"rabbit"},{name:"Rabbit",unified:"1F407",keywords:["rabbit","animal","nature","pet","magic","spring"],sheet:[11,25],shortName:"rabbit2"},{name:"Chipmunk",unified:"1F43F-FE0F",keywords:["chipmunk","animal","nature","rodent","squirrel"],sheet:[12,26],shortName:"chipmunk"},{name:"Beaver",unified:"1F9AB",keywords:["beaver","animal","rodent"],sheet:[43,18],shortName:"beaver"},{name:"Hedgehog",unified:"1F994",keywords:["hedgehog","animal","nature","spiny"],sheet:[42,53],shortName:"hedgehog"},{name:"Bat",unified:"1F987",keywords:["bat","animal","nature","blind","vampire"],sheet:[42,40],shortName:"bat"},{name:"Bear Face",unified:"1F43B",keywords:["bear","animal","nature","wild"],sheet:[12,22],shortName:"bear"},{name:"Polar Bear",unified:"1F43B-200D-2744-FE0F",keywords:["polar bear","animal","arctic"],sheet:[12,21],shortName:"polar_bear"},{name:"Koala",unified:"1F428",keywords:["koala","animal","nature"],sheet:[12,2],shortName:"koala"},{name:"Panda Face",unified:"1F43C",keywords:["panda","animal","nature","panda"],sheet:[12,23],shortName:"panda_face"},{name:"Sloth",unified:"1F9A5",keywords:["sloth","animal"],sheet:[43,12],shortName:"sloth"},{name:"Otter",unified:"1F9A6",keywords:["otter","animal"],sheet:[43,13],shortName:"otter"},{name:"Skunk",unified:"1F9A8",keywords:["skunk","animal"],sheet:[43,15],shortName:"skunk"},{name:"Kangaroo",unified:"1F998",keywords:["kangaroo","animal","nature","australia","joey","hop","marsupial"],sheet:[42,57],shortName:"kangaroo"},{name:"Badger",unified:"1F9A1",keywords:["badger","animal","nature","honey"],sheet:[43,8],shortName:"badger"},{name:"Paw Prints",unified:"1F43E",keywords:["paw_prints","animal","tracking","footprints","dog","cat","pet","feet"],sheet:[12,25],shortNames:["paw_prints"],shortName:"feet"},{name:"Turkey",unified:"1F983",keywords:["turkey","animal","bird"],sheet:[42,36],shortName:"turkey"},{name:"Chicken",unified:"1F414",keywords:["chicken","animal","cluck","nature","bird"],sheet:[11,39],shortName:"chicken"},{name:"Rooster",unified:"1F413",keywords:["rooster","animal","nature","chicken"],sheet:[11,38],shortName:"rooster"},{name:"Hatching Chick",unified:"1F423",keywords:["hatching_chick","animal","chicken","egg","born","baby","bird"],sheet:[11,55],shortName:"hatching_chick"},{name:"Baby Chick",unified:"1F424",keywords:["baby_chick","animal","chicken","bird"],sheet:[11,56],shortName:"baby_chick"},{name:"Front-Facing Baby Chick",unified:"1F425",keywords:["front_facing_baby_chick","animal","chicken","baby","bird"],sheet:[11,57],shortName:"hatched_chick"},{name:"Bird",unified:"1F426",keywords:["bird","animal","nature","fly","tweet","spring"],sheet:[12,0],shortName:"bird"},{name:"Penguin",unified:"1F427",keywords:["penguin","animal","nature"],sheet:[12,1],shortName:"penguin"},{name:"Dove",unified:"1F54A-FE0F",keywords:["dove","animal","bird"],sheet:[28,33],shortName:"dove_of_peace"},{name:"Eagle",unified:"1F985",keywords:["eagle","animal","nature","bird"],sheet:[42,38],shortName:"eagle"},{name:"Duck",unified:"1F986",keywords:["duck","animal","nature","bird","mallard"],sheet:[42,39],short
1Name:"duck"},{name:"Swan",unified:"1F9A2",keywords:["swan","animal","nature","bird"],sheet:[43,9],shortName:"swan"},{name:"Owl",unified:"1F989",keywords:["owl","animal","nature","bird","hoot"],sheet:[42,42],shortName:"owl"},{name:"Dodo",unified:"1F9A4",keywords:["dodo","animal","bird"],sheet:[43,11],shortName:"dodo"},{name:"Feather",unified:"1FAB6",keywords:["feather","bird","fly"],sheet:[53,5],shortName:"feather"},{name:"Flamingo",unified:"1F9A9",keywords:["flamingo","animal"],sheet:[43,16],shortName:"flamingo"},{name:"Peacock",unified:"1F99A",keywords:["peacock","animal","nature","peahen","bird"],sheet:[43,1],shortName:"peacock"},{name:"Parrot",unified:"1F99C",keywords:["parrot","animal","nature","bird","pirate","talk"],sheet:[43,3],shortName:"parrot"},{name:"Frog Face",unified:"1F438",keywords:["frog","animal","nature","croak","toad"],sheet:[12,18],shortName:"frog"},{name:"Crocodile",unified:"1F40A",keywords:["crocodile","animal","nature","reptile","lizard","alligator"],sheet:[11,29],shortName:"crocodile"},{name:"Turtle",unified:"1F422",keywords:["turtle","animal","slow","nature","tortoise"],sheet:[11,54],shortName:"turtle"},{name:"Lizard",unified:"1F98E",keywords:["lizard","animal","nature","reptile"],sheet:[42,47],shortName:"lizard"},{name:"Snake",unified:"1F40D",keywords:["snake","animal","evil","nature","hiss","python"],sheet:[11,32],shortName:"snake"},{name:"Dragon Face",unified:"1F432",keywords:["dragon_face","animal","myth","nature","chinese","green"],sheet:[12,12],shortName:"dragon_face"},{name:"Dragon",unified:"1F409",keywords:["dragon","animal","myth","nature","chinese","green"],sheet:[11,28],shortName:"dragon"},{name:"Sauropod",unified:"1F995",keywords:["sauropod","animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],sheet:[42,54],shortName:"sauropod"},{name:"T-Rex",unified:"1F996",keywords:["t_rex","animal","nature","dinosaur","tyrannosaurus","extinct"],sheet:[42,55],shortName:"t-rex"},{name:"Spouting Whale",unified:"1F433",keywords:["spouting_whale","animal","nature","sea","ocean"],sheet:[12,13],shortName:"whale"},{name:"Whale",unified:"1F40B",keywords:["whale","animal","nature","sea","ocean"],sheet:[11,30],shortName:"whale2"},{name:"Dolphin",unified:"1F42C",keywords:["dolphin","animal","nature","fish","sea","ocean","flipper","fins","beach"],sheet:[12,6],shortNames:["flipper"],shortName:"dolphin"},{name:"Seal",unified:"1F9AD",keywords:["seal","animal","creature","sea"],sheet:[43,20],shortName:"seal"},{name:"Fish",unified:"1F41F",keywords:["fish","animal","food","nature"],sheet:[11,51],shortName:"fish"},{name:"Tropical Fish",unified:"1F420",keywords:["tropical_fish","animal","swim","ocean","beach","nemo"],sheet:[11,52],shortName:"tropical_fish"},{name:"Blowfish",unified:"1F421",keywords:["blowfish","animal","nature","food","sea","ocean"],sheet:[11,53],shortName:"blowfish"},{name:"Shark",unified:"1F988",keywords:["shark","animal","nature","fish","sea","ocean","jaws","fins","beach"],sheet:[42,41],shortName:"shark"},{name:"Octopus",unified:"1F419",keywords:["octopus","animal","creature","ocean","sea","nature","beach"],sheet:[11,45],shortName:"octopus"},{name:"Spiral Shell",unified:"1F41A",keywords:["spiral_shell","nature","sea","beach"],sheet:[11,46],shortName:"shell"},{name:"Snail",unified:"1F40C",keywords:["snail","slow","animal","shell"],sheet:[11,31],shortName:"snail"},{name:"Butterfly",unified:"1F98B",keywords:["butterfly","animal","insect","nature","caterpillar"],sheet:[42,44],shortName:"butterfly"},{name:"Bug",unified:"1F41B",keywords:["bug","animal","insect","nature","worm"],sheet:[11,47],shortName:"bug"},{name:"Ant",unified:"1F41C",keywords:["ant","animal","insect","nature","bug"],sheet:[11,48],shortName:"ant"},{name:"Honeybee",unified:"1F41D",keywords:["honeybee","animal","insect","nature","bug","spring","honey"],sheet:[11,49],shortNames:["honeybee"],shortName:"bee"},{name:"Beetle",unified:"1FAB2",keywords:["beetle","insect"],sheet:[53,1],shortName:"beetle"},{name:"Lady Beetle",unified:"1F41E",keywords:["lady_beetle","animal","insect","nature","ladybug"],sheet:[11,50],shortNames:["lady_beetle"],shortName:"ladybug"},{name:"Cricket",unified:"1F997",keywords:["cricket","animal","cricket","chirp"],sheet:[42,56],shortName:"cricket"},{name:"Cockroach",unified:"1FAB3",keywords:["cockroach","insect","pests"],sheet:[53,2],shortName:"cockroach"},{name:"Spider",unified:"1F577-FE0F",keywords:["spider","animal","arachnid"],sheet:[29,32],shortName:"spider"},{name:"Spider Web",unified:"1F578-FE0F",keywords:["spider_web","animal","insect","arachnid","silk"],sheet:[29,33],short
1Name:"spider_web"},{name:"Scorpion",unified:"1F982",keywords:["scorpion","animal","arachnid"],sheet:[42,35],shortName:"scorpion"},{name:"Mosquito",unified:"1F99F",keywords:["mosquito","animal","nature","insect","malaria"],sheet:[43,6],shortName:"mosquito"},{name:"Fly",unified:"1FAB0",keywords:["fly","insect"],sheet:[52,57],shortName:"fly"},{name:"Worm",unified:"1FAB1",keywords:["worm","animal"],sheet:[53,0],shortName:"worm"},{name:"Microbe",unified:"1F9A0",keywords:["microbe","amoeba","bacteria","germs"],sheet:[43,7],shortName:"microbe"},{name:"Bouquet",unified:"1F490",keywords:["bouquet","flowers","nature","spring"],sheet:[25,28],shortName:"bouquet"},{name:"Cherry Blossom",unified:"1F338",keywords:["cherry_blossom","nature","plant","spring","flower"],sheet:[6,10],shortName:"cherry_blossom"},{name:"White Flower",unified:"1F4AE",keywords:["white_flower","japanese","spring"],sheet:[26,5],shortName:"white_flower"},{name:"Rosette",unified:"1F3F5-FE0F",keywords:["rosette","flower","decoration","military"],sheet:[11,8],short
1Name:"rosette"},{name:"Rose",unified:"1F339",keywords:["rose","flowers","valentines","love","spring"],sheet:[6,11],shortName:"rose"},{name:"Wilted Flower",unified:"1F940",keywords:["wilted_flower","plant","nature","flower"],sheet:[41,24],shortName:"wilted_flower"},{name:"Hibiscus",unified:"1F33A",keywords:["hibiscus","plant","vegetable","flowers","beach"],sheet:[6,12],shortName:"hibiscus"},{name:"Sunflower",unified:"1F33B",keywords:["sunflower","nature","plant","fall"],sheet:[6,13],shortName:"sunflower"},{name:"Blossom",unified:"1F33C",keywords:["blossom","nature","flowers","yellow"],sheet:[6,14],shortName:"blossom"},{name:"Tulip",unified:"1F337",keywords:["tulip","flowers","plant","nature","summer","spring"],sheet:[6,9],shortName:"tulip"},{name:"Seedling",unified:"1F331",keywords:["seedling","plant","nature","grass","lawn","spring"],sheet:[6,3],shortName:"seedling"},{name:"Potted Plant",unified:"1FAB4",keywords:["potted plant","greenery","house"],sheet:[53,3],shortName:"potted_plant"},{name:"Evergreen Tree",unified:"1F332",keywords:["evergreen_tree","plant","nature"],sheet:[6,4],shortName:"evergreen_tree"},{name:"Deciduous Tree",unified:"1F333",keywords:["deciduous_tree","plant","nature"],sheet:[6,5],shortName:"deciduous_tree"},{name:"Palm Tree",unified:"1F334",keywords:["palm_tree","plant","vegetable","nature","summer","beach","mojito","tropical"],sheet:[6,6],shortName:"palm_tree"},{name:"Cactus",unified:"1F335",keywords:["cactus","vegetable","plant","nature"],sheet:[6,7],shortName:"cactus"},{name:"Ear of Rice",unified:"1F33E",keywords:["sheaf_of_rice","nature","plant"],sheet:[6,16],shortName:"ear_of_rice"},{name:"Herb",unified:"1F33F",keywords:["herb","vegetable","plant","medicine","weed","grass","lawn"],sheet:[6,17],shortName:"herb"},{name:"Shamrock",unified:"2618-FE0F",keywords:["shamrock","vegetable","plant","nature","irish","clover"],sheet:[54,6],shortName:"shamrock"},{name:"Four Leaf Clover",unified:"1F340",keywords:["four_leaf_clover","vegetable","plant","nature","lucky","irish"],sheet:[6,18],shortName:"four_leaf_clover"},{name:"Maple Leaf",unified:"1F341",keywords:["maple_leaf","nature","plant","vegetable","ca","fall"],sheet:[6,19],shortName:"maple_leaf"},{name:"Fallen Leaf",unified:"1F342",keywords:["fallen_leaf","nature","plant","vegetable","leaves"],sheet:[6,20],shortName:"fallen_leaf"},{name:"Leaf Fluttering in Wind",unified:"1F343",keywords:["leaf_fluttering_in_wind","nature","plant","tree","vegetable","grass","lawn","spring"],sheet:[6,21],shortName:"leaves"},{name:"Grapes",unified:"1F347",keywords:["grapes","fruit","food","wine"],sheet:[6,25],shortName:"grapes"},{name:"Melon",unified:"1F348",keywords:["melon","fruit","nature","food"],sheet:[6,26],shortName:"melon"},{name:"Watermelon",unified:"1F349",keywords:["watermelon","fruit","food","picnic","summer"],sheet:[6,27],shortName:"watermelon"},{name:"Tangerine",unified:"1F34A",keywords:["tangerine","food","fruit","nature","orange"],sheet:[6,28],shortName:"tangerine"},{name:"Lemon",unified:"1F34B",keywords:["lemon","fruit","nature"],sheet:[6,29],shortName:"lemon"},{name:"Banana",unified:"1F34C",keywords:["banana","fruit","food","monkey"],sheet:[6,30],shortName:"banana"},{name:"Pineapple",unified:"1F34D",keywords:["pineapple","fruit","nature","food"],sheet:[6,31],shortName:"pineapple"},{name:"Mango",unified:"1F96D",keywords:["mango","fruit","food","tropical"],sheet:[42,10],shortName:"mango"},{name:"Red Apple",unified:"1F34E",keywords:["red_apple","fruit","mac","school"],sheet:[6,32],shortName:"apple"},{name:"Green Apple",unified:"1F34F",keywords:["green_apple","fruit","nature"],sheet:[6,33],short
1Name:"green_apple"},{name:"Pear",unified:"1F350",keywords:["pear","fruit","nature","food"],sheet:[6,34],shortName:"pear"},{name:"Peach",unified:"1F351",keywords:["peach","fruit","nature","food"],sheet:[6,35],shortName:"peach"},{name:"Cherries",unified:"1F352",keywords:["cherries","food","fruit"],sheet:[6,36],shortName:"cherries"},{name:"Strawberry",unified:"1F353",keywords:["strawberry","fruit","food","nature"],sheet:[6,37],shortName:"strawberry"},{name:"Blueberries",unified:"1FAD0",keywords:["blueberries","fruit"],sheet:[53,9],shortName:"blueberries"},{name:"Kiwifruit",unified:"1F95D",keywords:["kiwi_fruit","fruit","food"],sheet:[41,52],shortName:"kiwifruit"},{name:"Tomato",unified:"1F345",keywords:["tomato","fruit","vegetable","nature","food"],sheet:[6,23],shortName:"tomato"},{name:"Olive",unified:"1FAD2",keywords:["olive","fruit"],sheet:[53,11],shortName:"olive"},{name:"Coconut",unified:"1F965",keywords:["coconut","fruit","nature","food","palm"],sheet:[42,2],shortName:"coconut"},{name:"Avocado",unified:"1F951",keywords:["avocado","fruit","food"],sheet:[41,40],shortName:"avocado"},{name:"Aubergine",unified:"1F346",keywords:["eggplant","vegetable","nature","food","aubergine"],sheet:[6,24],shortName:"eggplant"},{name:"Potato",unified:"1F954",keywords:["potato","food","tuber","vegatable","starch"],sheet:[41,43],shortName:"potato"},{name:"Carrot",unified:"1F955",keywords:["carrot","vegetable","food","orange"],sheet:[41,44],shortName:"carrot"},{name:"Ear of Maize",unified:"1F33D",keywords:["ear_of_corn","food","vegetable","plant"],sheet:[6,15],shortName:"corn"},{name:"Hot Pepper",unified:"1F336-FE0F",keywords:["hot_pepper","food","spicy","chilli","chili"],sheet:[6,8],shortName:"hot_pepper"},{name:"Bell Pepper",unified:"1FAD1",keywords:["bell pepper","fruit","plant"],sheet:[53,10],shortName:"bell_pepper"},{name:"Cucumber",unified:"1F952",keywords:["cucumber","fruit","food","pickle"],sheet:[41,41],shortName:"cucumber"},{name:"Leafy Green",unified:"1F96C",keywords:["leafy_green","food","vegetable","plant","bok choy","cabbage","kale","lettuce"],sheet:[42,9],shortName:"leafy_green"},{name:"Broccoli",unified:"1F966",keywords:["broccoli","fruit","food","vegetable"],sheet:[42,3],shortName:"broccoli"},{name:"Garlic",unified:"1F9C4",keywords:["garlic","food","spice","cook"],sheet:[44,30],shortName:"garlic"},{name:"Onion",unified:"1F9C5",keywords:["onion","cook","food","spice"],sheet:[44,31],shortName:"onion"},{name:"Mushroom",unified:"1F344",keywords:["mushroom","plant","vegetable"],sheet:[6,22],shortName:"mushroom"},{name:"Peanuts",unified:"1F95C",keywords:["peanuts","food","nut"],sheet:[41,51],shortName:"peanuts"},{name:"Chestnut",unified:"1F330",keywords:["chestnut","food","squirrel"],sheet:[6,2],shortName:"chestnut"},{name:"Bread",unified:"1F35E",keywords:["bread","food","wheat","breakfast","toast"],sheet:[6,48],shortName:"bread"},{name:"Croissant",unified:"1F950",keywords:["croissant","food","bread","french"],sheet:[41,39],shortName:"croissant"},{name:"Baguette Bread",unified:"1F956",keywords:["baguette_bread","food","bread","french"],sheet:[41,45],shortName:"baguette_bread"},{name:"Flatbread",unified:"1FAD3",keywords:["flatbread","flour","food"],sheet:[53,12],shortName:"flatbread"},{name:"Pretzel",unified:"1F968",keywords:["pretzel","food","bread","twisted"],sheet:[42,5],shortName:"pretzel"},{name:"Bagel",unified:"1F96F",keywords:["bagel","food","bread","bakery","schmear"],sheet:[42,12],shortName:"bagel"},{name:"Pancakes",unified:"1F95E",keywords:["pancakes","food","breakfast","flapjacks","hotcakes"],sheet:[41,53],shortName:"pancakes"},{name:"Waffle",unified:"1F9C7",keywords:["waffle","food","breakfast"],sheet:[44,33],shortName:"waffle"},{name:"Cheese Wedge",unified:"1F9C0",keywords:["cheese_wedge","food","chadder"],sheet:[44,26],shortName:"cheese_wedge"},{name:"Meat on Bone",unified:"1F356",keywords:["meat_on_bone","good","food","drumstick"],sheet:[6,40],shortName:"meat_on_bone"},{name:"Poultry Leg",unified:"1F357",keywords:["poultry_leg","food","meat","drumstick","bird","chicken","turkey"],sheet:[6,41],shortName:"poultry_leg"},{name:"Cut of Meat",unified:"1F969",keywords:["cut_of_meat","food","cow","meat","cut","chop","lambchop","porkchop"],sheet:[42,6],shortName:"cut_of_meat"},{name:"Bacon",unified:"1F953",keywords:["bacon","food","breakfast","pork","pig","meat"],sheet:[41,42],shortName:"bacon"},{name:"Hamburger",unified:"1F354",keywords:["hamburger","meat","fast food","beef","cheeseburger","mcdonalds","burger king"],sheet:[6,38],short
1Name:"hamburger"},{name:"French Fries",unified:"1F35F",keywords:["french_fries","chips","snack","fast food"],sheet:[6,49],shortName:"fries"},{name:"Slice of Pizza",unified:"1F355",keywords:["pizza","food","party"],sheet:[6,39],shortName:"pizza"},{name:"Hot Dog",unified:"1F32D",keywords:["hot_dog","food","frankfurter"],sheet:[5,57],shortName:"hotdog"},{name:"Sandwich",unified:"1F96A",keywords:["sandwich","food","lunch","bread"],sheet:[42,7],shortName:"sandwich"},{name:"Taco",unified:"1F32E",keywords:["taco","food","mexican"],sheet:[6,0],shortName:"taco"},{name:"Burrito",unified:"1F32F",keywords:["burrito","food","mexican"],sheet:[6,1],shortName:"burrito"},{name:"Tamale",unified:"1FAD4",keywords:["tamale","food","masa"],sheet:[53,13],shortName:"tamale"},{name:"Stuffed Flatbread",unified:"1F959",keywords:["stuffed_flatbread","food","flatbread","stuffed","gyro"],sheet:[41,48],shortName:"stuffed_flatbread"},{name:"Falafel",unified:"1F9C6",keywords:["falafel","food"],sheet:[44,32],shortName:"falafel"},{name:"Egg",unified:"1F95A",keywords:["egg","food","chicken","breakfast"],sheet:[41,49],shortName:"egg"},{name:"Cooking",unified:"1F373",keywords:["cooking","food","breakfast","kitchen","egg"],sheet:[7,11],shortNames:["cooking"],shortName:"fried_egg"},{name:"Shallow Pan of Food",unified:"1F958",keywords:["shallow_pan_of_food","food","cooking","casserole","paella"],sheet:[41,47],shortName:"shallow_pan_of_food"},{name:"Pot of Food",unified:"1F372",keywords:["pot_of_food","food","meat","soup"],sheet:[7,10],shortName:"stew"},{name:"Fondue",unified:"1FAD5",keywords:["fondue","cheese","pot","food"],sheet:[53,14],shortName:"fondue"},{name:"Bowl with Spoon",unified:"1F963",keywords:["bowl_with_spoon","food","breakfast","cereal","oatmeal","porridge"],sheet:[42,0],shortName:"bowl_with_spoon"},{name:"Green Salad",unified:"1F957",keywords:["green_salad","food","healthy","lettuce"],sheet:[41,46],shortName:"green_salad"},{name:"Popcorn",unified:"1F37F",keywords:["popcorn","food","movie theater","films","snack"],sheet:[7,23],shortName:"popcorn"},{name:"Butter",unified:"1F9C8",keywords:["butter","food","cook"],sheet:[44,34],shortName:"butter"},{name:"Salt Shaker",unified:"1F9C2",keywords:["salt","condiment","shaker"],sheet:[44,28],shortName:"salt"},{name:"Canned Food",unified:"1F96B",keywords:["canned_food","food","soup"],sheet:[42,8],shortName:"canned_food"},{name:"Bento Box",unified:"1F371",keywords:["bento_box","food","japanese","box"],sheet:[7,9],shortName:"bento"},{name:"Rice Cracker",unified:"1F358",keywords:["rice_cracker","food","japanese"],sheet:[6,42],shortName:"rice_cracker"},{name:"Rice Ball",unified:"1F359",keywords:["rice_ball","food","japanese"],sheet:[6,43],shortName:"rice_ball"},{name:"Cooked Rice",unified:"1F35A",keywords:["cooked_rice","food","china","asian"],sheet:[6,44],shortName:"rice"},{name:"Curry and Rice",unified:"1F35B",keywords:["curry_rice","food","spicy","hot","indian"],sheet:[6,45],shortName:"curry"},{name:"Steaming Bowl",unified:"1F35C",keywords:["steaming_bowl","food","japanese","noodle","chopsticks"],sheet:[6,46],shortName:"ramen"},{name:"Spaghetti",unified:"1F35D",keywords:["spaghetti","food","italian","noodle"],sheet:[6,47],shortName:"spaghetti"},{name:"Roasted Sweet Potato",unified:"1F360",keywords:["roasted_sweet_potato","food","nature"],sheet:[6,50],shortName:"sweet_potato"},{name:"Oden",unified:"1F362",keywords:["oden","food","japanese"],sheet:[6,52],shortName:"oden"},{name:"Sushi",unified:"1F363",keywords:["sushi","food","fish","japanese","rice"],sheet:[6,53],shortName:"sushi"},{name:"Fried Shrimp",unified:"1F364",keywords:["fried_shrimp","food","animal","appetizer","summer"],sheet:[6,54],shortName:"fried_shrimp"},{name:"Fish Cake with Swirl Design",unified:"1F365",keywords:["fish_cake_with_swirl","food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],sheet:[6,55],shortName:"fish_cake"},{name:"Moon Cake",unified:"1F96E",keywords:["moon_cake","food","autumn"],sheet:[42,11],shortName:"moon_cake"},{name:"Dango",unified:"1F361",keywords:["dango","food","dessert","sweet","japanese","barbecue","meat"],sheet:[6,51],shortName:"dango"},{name:"Dumpling",unified:"1F95F",keywords:["dumpling","food","empanad
1a","pierogi","potsticker"],sheet:[41,54],shortName:"dumpling"},{name:"Fortune Cookie",unified:"1F960",keywords:["fortune_cookie","food","prophecy"],sheet:[41,55],shortName:"fortune_cookie"},{name:"Takeout Box",unified:"1F961",keywords:["takeout_box","food","leftovers"],sheet:[41,56],shortName:"takeout_box"},{name:"Crab",unified:"1F980",keywords:["crab","animal","crustacean"],sheet:[42,33],shortName:"crab"},{name:"Lobster",unified:"1F99E",keywords:["lobster","animal","nature","bisque","claws","seafood"],sheet:[43,5],shortName:"lobster"},{name:"Shrimp",unified:"1F990",keywords:["shrimp","animal","ocean","nature","seafood"],sheet:[42,49],shortName:"shrimp"},{name:"Squid",unified:"1F991",keywords:["squid","animal","nature","ocean","sea"],sheet:[42,50],shortName:"squid"},{name:"Oyster",unified:"1F9AA",keywords:["oyster","food"],sheet:[43,17],shortName:"oyster"},{name:"Soft Ice Cream",unified:"1F366",keywords:["soft_ice_cream","food","hot","dessert","summer"],sheet:[6,56],shortName:"icecream"},{name:"Shaved Ice",unified:"1F367",keywords:["shaved_ice","hot","dessert","summer"],sheet:[6,57],shortName:"shaved_ice"},{name:"Ice Cream",unified:"1F368",keywords:["ice_cream","food","hot","dessert"],sheet:[7,0],shortName:"ice_cream"},{name:"Doughnut",unified:"1F369",keywords:["doughnut","food","dessert","snack","sweet","donut"],sheet:[7,1],shortName:"doughnut"},{name:"Cookie",unified:"1F36A",keywords:["cookie","food","snack","oreo","chocolate","sweet","dessert"],sheet:[7,2],shortName:"cookie"},{name:"Birthday Cake",unified:"1F382",keywords:["birthday_cake","food","dessert","cake"],sheet:[7,26],shortName:"birthday"},{name:"Shortcake",unified:"1F370",keywords:["shortcake","food","dessert"],sheet:[7,8],shortName:"cake"},{name:"Cupcake",unified:"1F9C1",keywords:["cupcake","food","dessert","bakery","sweet"],sheet:[44,27],shortName:"cupcake"},{name:"Pie",unified:"1F967",keywords:["pie","food","dessert","pastry"],sheet:[42,4],shortName:"pie"},{name:"Chocolate Bar",unified:"1F36B",keywords:["chocolate_bar","food","snack","dessert","sweet"],sheet:[7,3],shortName:"chocolate_bar"},{name:"Candy",unified:"1F36C",keywords:["candy","snack","dessert","sweet","lolly"],sheet:[7,4],shortName:"candy"},{name:"Lollipop",unified:"1F36D",keywords:["lollipop","food","snack","candy","sweet"],sheet:[7,5],shortName:"lollipop"},{name:"Custard",unified:"1F36E",keywords:["custard","dessert","food"],sheet:[7,6],shortName:"custard"},{name:"Honey Pot",unified:"1F36F",keywords:["honey_pot","bees","sweet","kitchen"],sheet:[7,7],shortName:"honey_pot"},{name:"Baby Bottle",unified:"1F37C",keywords:["baby_bottle","food","container","milk"],sheet:[7,20],shortName:"baby_bottle"},{name:"Glass of Milk",unified:"1F95B",keywords:["glass_of_milk","beverage","drink","cow"],sheet:[41,50],shortName:"glass_of_milk"},{name:"Hot Beverage",unified:"2615",keywords:["hot_beverage","beverage","caffeine","latte","espresso"],sheet:[54,5],shortName:"coffee"},{name:"Teapot",unified:"1FAD6",keywords:["teapot","drink","hot"],sheet:[53,15],shortName:"teapot"},{name:"Teacup Without Handle",unified:"1F375",keywords:["teacup_without_handle","drink","bowl","breakfast","green","british"],sheet:[7,13],shortName:"tea"},{name:"Sake Bottle and Cup",unified:"1F376",keywords:["sake","wine","drink","drunk","beverage","japanese","alcohol","booze"],sheet:[7,14],shortName:"sake"},{name:"Bottle with Popping Cork",unified:"1F37E",keywords:["bottle_with_popping_cork","drink","wine","bottle","celebration"],sheet:[7,22],shortName:"champagne"},{name:"Wine Glass",unified:"1F377",keywords:["wine_glass","drink","beverage","drunk","alcohol","booze"],sheet:[7,15],shortName:"wine_glass"},{name:"Cocktail Glass",unified:"1F378",keywords:["cocktail_glass","drink","drunk","alcohol","beverage","booze","mojito"],sheet:[7,16],shortName:"cocktail"},{name:"Tropical Drink",unified:"1F379",keywords:["tropical_drink","beverage","cocktail","summer","beach","alcohol","booze","mojito"],sheet:[7,17],shortName:"tropical_drink"},{name:"Beer Mug",unified:"1F37A",keywords:["beer_mug","relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],sheet:[7,18],shortName:"beer"},{name:"Clinking Beer Mugs",unified:"1F37B",keywords:["clinking_beer_mugs","relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],sheet:[7,19],shortName:"beers"},{name:"Clinking Glasses",unified:"1F942",keywords:["clinking_glasses","beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],sheet:[41,26],shortName:"clinking_glasses"},{name:"Tumbler Glass",unified:"1F943",keywords:["tumbler_glass","drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],sheet:[41,27],shortName:"tumbler_glass"}
1,{name:"Cup with Straw",unified:"1F964",keywords:["cup_with_straw","drink","soda"],sheet:[42,1],shortName:"cup_with_straw"},{name:"Bubble Tea",unified:"1F9CB",keywords:["bubble tea","taiwan","boba","milk tea","straw"],sheet:[44,37],shortName:"bubble_tea"},{name:"Beverage Box",unified:"1F9C3",keywords:["beverage_box","drink"],sheet:[44,29],shortName:"beverage_box"},{name:"Mate Drink",unified:"1F9C9",keywords:["mate","drink","tea","beverage"],sheet:[44,35],shortName:"mate_drink"},{name:"Ice Cube",unified:"1F9CA",keywords:["ice","water","cold"],sheet:[44,36],shortName:"ice_cube"},{name:"Chopsticks",unified:"1F962",keywords:["chopsticks","food"],sheet:[41,57],shortName:"chopsticks"},{name:"Fork and Knife with Plate",unified:"1F37D-FE0F",keywords:["fork_and_knife_with_plate","food","eat","meal","lunch","dinner","restaurant"],sheet:[7,21],shortName:"knife_fork_plate"},{name:"Fork and Knife",unified:"1F374",keywords:["fork_and_knife","cutlery","kitchen"],sheet:[7,12],shortName:"fork_and_knife"},{name:"Spoon",unified:"1F944",keywords:["spoon","cutlery","kitchen","tableware"],sheet:[41,28],shortName:"spoon"},{name:"Hocho",unified:"1F52A",keywords:["kitchen_knife","knife","blade","cutlery","kitchen","weapon"],sheet:[28,12],shortNames:["knife"],shortName:"hocho"},{name:"Amphora",unified:"1F3FA",keywords:["amphora","vase","jar"],sheet:[11,12],shortName:"amphora"},{name:"Earth Globe Europe-Africa",unified:"1F30D",keywords:["globe_showing_europe_africa","globe","world","international"],sheet:[5,27],shortName:"earth_africa"},{name:"Earth Globe Americas",unified:"1F30E",keywords:["globe_showing_americas","globe","world","USA","international"],sheet:[5,28],shortName:"earth_americas"},{name:"Earth Globe Asia-Australia",unified:"1F30F",keywords:["globe_showing_asia_australia","globe","world","east","international"],sheet:[5,29],shortName:"earth_asia"},{name:"Globe with Meridians",unified:"1F310",keywords:["globe_with_meridians","earth","international","world","internet","interweb","i18n"],sheet:[5,30],shortName:"globe_with_meridians"},{name:"World Map",unified:"1F5FA-FE0F",keywords:["world_map","location","direction"],sheet:[30,26],shortName:"world_map"},{name:"Silhouette of Japan",unified:"1F5FE",keywords:["map_of_japan","nation","country","japanese","asia"],sheet:[30,30],shortName:"japan"},{name:"Compass",unified:"1F9ED",keywords:["compass","magnetic","navigation","orienteering"],sheet:[51,56],shortName:"compass"},{name:"Snow-Capped Mountain",unified:"1F3D4-FE0F",keywords:["snow_capped_mountain","photo","nature","environment","winter","cold"],sheet:[10,29],shortName:"snow_capped_mountain"},{name:"Mountain",unified:"26F0-FE0F",keywords:["mountain","photo","nature","environment"],sheet:[55,16],shortName:"mountain"},{name:"Volcano",unified:"1F30B",keywords:["volcano","photo","nature","disaster"],sheet:[5,25],shortName:"volcano"},{name:"Mount Fuji",unified:"1F5FB",keywords:["mount_fuji","photo","mountain","nature","japanese"],sheet:[30,27],shortName:"mount_fuji"},{name:"Camping",unified:"1F3D5-FE0F",keywords:["camping","photo","outdoors","tent"],sheet:[10,30],shortName:"camping"},{name:"Beach with Umbrella",unified:"1F3D6-FE0F",keywords:["beach_with_umbrella","weather","summer","sunny","sand","mojito"],sheet:[10,31],shortName:"beach_with_umbrella"},{name:"Desert",unified:"1F3DC-FE0F",keywords:["desert","photo","warm","saharah"],sheet:[10,37],shortName:"desert"},{name:"Desert Island",unified:"1F3DD-FE0F",keywords:["desert_island","photo","tropical","mojito"],sheet:[10,38],shortName:"desert_island"},{name:"National Park",unified:"1F3DE-FE0F",keywords:["national_park","photo","environment","nature"],sheet:[10,39],shortName:"national_park"},{name:"Stadium",unified:"1F3DF-FE0F",keywords:["stadium","photo","place","sports","concert","venue"],sheet:[10,40],shortName:"stadium"},{name:"Classical Building",unified:"1F3DB-FE0F",keywords:["classical_building","art","culture","history"],sheet:[10,36],shortName:"classical_building"},{name:"Building Construction",unified:"1F3D7-FE0F",keywords:["building_construction","wip","working","progress"],sheet:[10,32],shortName:"building_construction"},{name:"Brick",unified:"1F9F1",keywords:["brick","bricks"],sheet:[52,2],shortName:"bricks"},{name:"Rock",unified:"1FAA8",keywords:["rock","stone"],sheet:[52,56],shortName:"rock"},{name:"Wood",unified:"1FAB5",keywords:["wood","nature","timber","trunk"],sheet:[53,4],shortName:"wood"},{name:"Hut",unified:"1F6D6",keywords:["hut","house","structure"],sheet:[36,33],short
1Name:"hut"},{name:"Houses",unified:"1F3D8-FE0F",keywords:["houses","buildings","photo"],sheet:[10,33],shortName:"house_buildings"},{name:"Derelict House",unified:"1F3DA-FE0F",keywords:["derelict_house","abandon","evict","broken","building"],sheet:[10,35],shortName:"derelict_house_building"},{name:"House Building",unified:"1F3E0",keywords:["house","building","home"],sheet:[10,41],shortName:"house"},{name:"House with Garden",unified:"1F3E1",keywords:["house_with_garden","home","plant","nature"],sheet:[10,42],shortName:"house_with_garden"},{name:"Office Building",unified:"1F3E2",keywords:["office_building","building","bureau","work"],sheet:[10,43],shortName:"office"},{name:"Japanese Post Office",unified:"1F3E3",keywords:["japanese_post_office","building","envelope","communication"],sheet:[10,44],shortName:"post_office"},{name:"European Post Office",unified:"1F3E4",keywords:["post_office","building","email"],sheet:[10,45],shortName:"european_post_office"},{name:"Hospital",unified:"1F3E5",keywords:["hospital","building","health","surgery","doctor"],sheet:[10,46],shortName:"hospital"},{name:"Bank",unified:"1F3E6",keywords:["bank","building","money","sales","cash","business","enterprise"],sheet:[10,47],shortName:"bank"},{name:"Hotel",unified:"1F3E8",keywords:["hotel","building","accomodation","checkin"],sheet:[10,49],shortName:"hotel"},{name:"Love Hotel",unified:"1F3E9",keywords:["love_hotel","like","affection","dating"],sheet:[10,50],shortName:"love_hotel"},{name:"Convenience Store",unified:"1F3EA",keywords:["convenience_store","building","shopping","groceries"],sheet:[10,51],shortName:"convenience_store"},{name:"School",unified:"1F3EB",keywords:["school","building","student","education","learn","teach"],sheet:[10,52],shortName:"school"},{name:"Department Store",unified:"1F3EC",keywords:["department_store","building","shopping","mall"],sheet:[10,53],shortName:"department_store"},{name:"Factory",unified:"1F3ED",keywords:["factory","building","industry","pollution","smoke"],sheet:[10,54],shortName:"factory"},{name:"Japanese Castle",unified:"1F3EF",keywords:["japanese_castle","photo","building"],sheet:[10,56],shortName:"japanese_castle"},{name:"European Castle",unified:"1F3F0",keywords:["castle","building","royalty","history"],sheet:[10,57],shortName:"european_castle"},{name:"Wedding",unified:"1F492",keywords:["wedding","love","like","affection","couple","marriage","bride","groom"],sheet:[25,30],shortName:"wedding"},{name:"Tokyo Tower",unified:"1F5FC",keywords:["tokyo_tower","photo","japanese"],sheet:[30,28],shortName:"tokyo_tower"},{name:"Statue of Liberty",unified:"1F5FD",keywords:["statue_of_liberty","american","newyork"],sheet:[30,29],shortName:"statue_of_liberty"},{name:"Church",unified:"26EA",keywords:["church","building","religion","christ"],sheet:[55,15],shortName:"church"},{name:"Mosque",unified:"1F54C",keywords:["mosque","islam","worship","minaret"],sheet:[28,35],shortName:"mosque"},{name:"Hindu Temple",unified:"1F6D5",keywords:["hindu_temple","religion"],sheet:[36,32],shortName:"hindu_temple"},{name:"Synagogue",unified:"1F54D",keywords:["synagogue","judaism","worship","temple","jewish"],sheet:[28,36],shortName:"synagogue"},{name:"Shinto Shrine",unified:"26E9-FE0F",keywords:["shinto_shrine","temple","japan","kyoto"],sheet:[55,14],short
1Name:"shinto_shrine"},{name:"Kaaba",unified:"1F54B",keywords:["kaaba","mecca","mosque","islam"],sheet:[28,34],shortName:"kaaba"},{name:"Fountain",unified:"26F2",keywords:["fountain","photo","summer","water","fresh"],sheet:[55,18],shortName:"fountain"},{name:"Tent",unified:"26FA",keywords:["tent","photo","camping","outdoors"],sheet:[55,42],shortName:"tent"},{name:"Foggy",unified:"1F301",keywords:["foggy","photo","mountain"],sheet:[5,15],shortName:"foggy"},{name:"Night with Stars",unified:"1F303",keywords:["night_with_stars","evening","city","downtown"],sheet:[5,17],shortName:"night_with_stars"},{name:"Cityscape",unified:"1F3D9-FE0F",keywords:["cityscape","photo","night life","urban"],sheet:[10,34],shortName:"cityscape"},{name:"Sunrise over Mountains",unified:"1F304",keywords:["sunrise_over_mountains","view","vacation","photo"],sheet:[5,18],shortName:"sunrise_over_mountains"},{name:"Sunrise",unified:"1F305",keywords:["sunrise","morning","view","vacation","photo"],sheet:[5,19],shortName:"sunrise"},{name:"Cityscape at Dusk",unified:"1F306",keywords:["cityscape_at_dusk","photo","evening","sky","buildings"],sheet:[5,20],shortName:"city_sunset"},{name:"Sunset over Buildings",unified:"1F307",keywords:["sunset","photo","good morning","dawn"],sheet:[5,21],shortName:"city_sunrise"},{name:"Bridge at Night",unified:"1F309",keywords:["bridge_at_night","photo","sanfrancisco"],sheet:[5,23],shortName:"bridge_at_night"},{name:"Hot Springs",unified:"2668-FE0F",keywords:["hot_springs","bath","warm","relax"],sheet:[54,42],shortName:"hotsprings"},{name:"Carousel Horse",unified:"1F3A0",keywords:["carousel_horse","photo","carnival"],sheet:[7,56],shortName:"carousel_horse"},{name:"Ferris Wheel",unified:"1F3A1",keywords:["ferris_wheel","photo","carnival","londoneye"],sheet:[7,57],shortName:"ferris_wheel"},{name:"Roller Coaster",unified:"1F3A2",keywords:["roller_coaster","carnival","playground","photo","fun"],sheet:[8,0],shortName:"roller_coaster"},{name:"Barber Pole",unified:"1F488",keywords:["barber_pole","hair","salon","style"],sheet:[25,20],shortName:"barber"},{name:"Circus Tent",unified:"1F3AA",keywords:["circus_tent","festival","carnival","party"],sheet:[8,8],shortName:"circus_tent"},{name:"Steam Locomotive",unified:"1F682",keywords:["locomotive","transportation","vehicle","train"],sheet:[33,52],shortName:"steam_locomotive"},{name:"Railway Car",unified:"1F683",keywords:["railway_car","transportation","vehicle"],sheet:[33,53],shortName:"railway_car"},{name:"High-Speed Train",unified:"1F684",keywords:["high_speed_train","transportation","vehicle"],sheet:[33,54],shortName:"bullettrain_side"},{name:"High-Speed Train with Bullet Nose",unified:"1F685",keywords:["bullet_train","transportation","vehicle","speed","fast","public","travel"],sheet:[33,55],shortName:"bullettrain_front"},{name:"Train",unified:"1F686",keywords:["train","transportation","vehicle"],sheet:[33,56],shortName:"train2"},{name:"Metro",unified:"1F687",keywords:["metro","transportation","blue-square","mrt","underground","tube"],sheet:[33,57],shortName:"metro"},{name:"Light Rail",unified:"1F688",keywords:["light_rail","transportation","vehicle"],sheet:[34,0],shortName:"light_rail"},{name:"Station",unified:"1F689",keywords:["station","transportation","vehicle","public"],sheet:[34,1],shortName:"station"},{name:"Tram",unified:"1F68A",keywords:["tram","transportation","vehicle"],sheet:[34,2],shortName:"tram"},{name:"Monorail",unified:"1F69D",keywords:["monorail","transportation","vehicle"],sheet:[34,21],shortName:"monorail"},{name:"Mountain Railway",unified:"1F69E",keywords:["mountain_railway","transportation","vehicle"],sheet:[34,22],shortName:"mountain_railway"},{name:"Tram Car",unified:"1F68B",keywords:["tram_car","transportation","vehicle","carriage","public","travel"],sheet:[34,3],shortName:"train"},{name:"Bus",unified:"1F68C",keywords:["bus","car","vehicle","transportation"],sheet:[34,4],shortName:"bus"},{name:"Oncoming Bus",unified:"1F68D",keywords:["oncoming_bus","vehicle","transportation"],sheet:[34,5],shortName:"oncoming_bus"},{name:"Trolleybus",unified:"1F68E",keywords:["trolleybus","bart","transportation","vehicle"],sheet:[34,6],shortName:"trolleybus"},{name:"Minibus",unified:"1F690",keywords:["minibus","vehicle","car","transportation"],sheet:[34,8],short
1Name:"minibus"},{name:"Ambulance",unified:"1F691",keywords:["ambulance","health","911","hospital"],sheet:[34,9],shortName:"ambulance"},{name:"Fire Engine",unified:"1F692",keywords:["fire_engine","transportation","cars","vehicle"],sheet:[34,10],shortName:"fire_engine"},{name:"Police Car",unified:"1F693",keywords:["police_car","vehicle","cars","transportation","law","legal","enforcement"],sheet:[34,11],shortName:"police_car"},{name:"Oncoming Police Car",unified:"1F694",keywords:["oncoming_police_car","vehicle","law","legal","enforcement","911"],sheet:[34,12],shortName:"oncoming_police_car"},{name:"Taxi",unified:"1F695",keywords:["taxi","uber","vehicle","cars","transportation"],sheet:[34,13],shortName:"taxi"},{name:"Oncoming Taxi",unified:"1F696",keywords:["oncoming_taxi","vehicle","cars","uber"],sheet:[34,14],shortName:"oncoming_taxi"},{name:"Automobile",unified:"1F697",keywords:["automobile","red","transportation","vehicle"],sheet:[34,15],shortNames:["red_car"],shortName:"car"},{name:"Oncoming Automobile",unified:"1F698",keywords:["oncoming_automobile","car","vehicle","transportation"],sheet:[34,16],shortName:"oncoming_automobile"},{name:"Recreational Vehicle",unified:"1F699",keywords:["sport_utility_vehicle","transportation","vehicle"],sheet:[34,17],shortName:"blue_car"},{name:"Pickup Truck",unified:"1F6FB",keywords:["pickup truck","car","transportation"],sheet:[36,53],shortName:"pickup_truck"},{name:"Delivery Truck",unified:"1F69A",keywords:["delivery_truck","cars","transportation"],sheet:[34,18],shortName:"truck"},{name:"Articulated Lorry",unified:"1F69B",keywords:["articulated_lorry","vehicle","cars","transportation","express"],sheet:[34,19],shortName:"articulated_lorry"},{name:"Tractor",unified:"1F69C",keywords:["tractor","vehicle","car","farming","agriculture"],sheet:[34,20],shortName:"tractor"},{name:"Racing Car",unified:"1F3CE-FE0F",keywords:["racing_car","sports","race","fast","formula","f1"],sheet:[10,23],shortName:"racing_car"},{name:"Motorcycle",unified:"1F3CD-FE0F",keywords:["motorcycle","race","sports","fast"],sheet:[10,22],shortName:"racing_motorcycle"},{name:"Motor Scooter",unified:"1F6F5",keywords:["motor_scooter","vehicle","vespa","sasha"],sheet:[36,47],shortName:"motor_scooter"},{name:"Manual Wheelchair",unified:"1F9BD",keywords:["manual_wheelchair","accessibility"],sheet:[44,23],shortName:"manual_wheelchair"},{name:"Motorized Wheelchair",unified:"1F9BC",keywords:["motorized_wheelchair","accessibility"],sheet:[44,22],shortName:"motorized_wheelchair"},{name:"Auto Rickshaw",unified:"1F6FA",keywords:["auto_rickshaw","move","transportation"],sheet:[36,52],shortName:"auto_rickshaw"},{name:"Bicycle",unified:"1F6B2",keywords:["bicycle","sports","bicycle","exercise","hipster"],sheet:[35,1],shortName:"bike"},{name:"Scooter",unified:"1F6F4",keywords:["kick_scooter","vehicle","kick","razor"],sheet:[36,46],shortName:"scooter"},{name:"Skateboard",unified:"1F6F9",keywords:["skateboard","board"],sheet:[36,51],shortName:"skateboard"},{name:"Roller Skate",unified:"1F6FC",keywords:["roller skate","footwear","sports"],sheet:[36,54],shortName:"roller_skate"},{name:"Bus Stop",unified:"1F68F",keywords:["bus_stop","transportation","wait"],sheet:[34,7],shortName:"busstop"},{name:"Motorway",unified:"1F6E3-FE0F",keywords:["motorway","road","cupertino","interstate","highway"],sheet:[36,38],shortName:"motorway"},{name:"Railway Track",unified:"1F6E4-FE0F",keywords:["railway_track","train","transportation"],sheet:[36,39],shortName:"railway_track"},{name:"Oil Drum",unified:"1F6E2-FE0F",keywords:["oil_drum","barrell"],sheet:[36,37],shortName:"oil_drum"},{name:"Fuel Pump",unified:"26FD",keywords:["fuel_pump","gas station","petroleum"],sheet:[55,43],shortName:"fuelpump"},{name:"Police Cars Revolving Light",unified:"1F6A8",keywords:["police_car_light","police","ambulance","911","emergency","alert","error","pinged","law","legal"],sheet:[34,49],shortName:"rotating_light"},{name:"Horizontal Traffic Light",unified:"1F6A5",keywords:["horizontal_traffic_light","transportation","signal"],sheet:[34,46],shortName:"traffic_light"},{name:"Vertical Traffic Light",unified:"1F6A6",keywords:["vertical_traffic_light","transportation","driving"],sheet:[34,47],shortName:"vertical_traffic_light"},{name:"Octagonal Sign",unified:"1F6D1",keywords:["stop_sign","stop"],sheet:[36,30],shortName:"octagonal_sign"},{name:"Construction Sign",unified:"1F6A7",keywords:["construction","wip","progress","caution","warning"],sheet:[34,48],short
1Name:"construction"},{name:"Anchor",unified:"2693",keywords:["anchor","ship","ferry","sea","boat"],sheet:[54,47],shortName:"anchor"},{name:"Sailboat",unified:"26F5",keywords:["sailboat","ship","summer","transportation","water","sailing"],sheet:[55,21],shortNames:["sailboat"],shortName:"boat"},{name:"Canoe",unified:"1F6F6",keywords:["canoe","boat","paddle","water","ship"],sheet:[36,48],shortName:"canoe"},{name:"Speedboat",unified:"1F6A4",keywords:["speedboat","ship","transportation","vehicle","summer"],sheet:[34,45],shortName:"speedboat"},{name:"Passenger Ship",unified:"1F6F3-FE0F",keywords:["passenger_ship","yacht","cruise","ferry"],sheet:[36,45],shortName:"passenger_ship"},{name:"Ferry",unified:"26F4-FE0F",keywords:["ferry","boat","ship","yacht"],sheet:[55,20],shortName:"ferry"},{name:"Motor Boat",unified:"1F6E5-FE0F",keywords:["motor_boat","ship"],sheet:[36,40],shortName:"motor_boat"},{name:"Ship",unified:"1F6A2",keywords:["ship","transportation","titanic","deploy"],sheet:[34,26],shortName:"ship"},{name:"Airplane",unified:"2708-FE0F",keywords:["airplane","vehicle","transportation","flight","fly"],sheet:[55,46],shortName:"airplane"},{name:"Small Airplane",unified:"1F6E9-FE0F",keywords:["small_airplane","flight","transportation","fly","vehicle"],sheet:[36,41],shortName:"small_airplane"},{name:"Airplane Departure",unified:"1F6EB",keywords:["airplane_departure","airport","flight","landing"],sheet:[36,42],shortName:"airplane_departure"},{name:"Airplane Arriving",unified:"1F6EC",keywords:["airplane_arrival","airport","flight","boarding"],sheet:[36,43],shortName:"airplane_arriving"},{name:"Parachute",unified:"1FA82",keywords:["parachute","fly","glide"],sheet:[52,27],shortName:"parachute"},{name:"Seat",unified:"1F4BA",keywords:["seat","sit","airplane","transport","bus","flight","fly"],sheet:[26,17],shortName:"seat"},{name:"Helicopter",unified:"1F681",keywords:["helicopter","transportation","vehicle","fly"],sheet:[33,51],shortName:"helicopter"},{name:"Suspension Railway",unified:"1F69F",keywords:["suspension_railway","vehicle","transportation"],sheet:[34,23],shortName:"suspension_railway"},{name:"Mountain Cableway",unified:"1F6A0",keywords:["mountain_cableway","transportation","vehicle","ski"],sheet:[34,24],shortName:"mountain_cableway"},{name:"Aerial Tramway",unified:"1F6A1",keywords:["aerial_tramway","transportation","vehicle","ski"],sheet:[34,25],shortName:"aerial_tramway"},{name:"Satellite",unified:"1F6F0-FE0F",keywords:["satellite","communication","gps","orbit","spaceflight","NASA","ISS"],sheet:[36,44],shortName:"satellite"},{name:"Rocket",unified:"1F680",keywords:["rocket","launch","ship","staffmode","NASA","outer space","outer_space","fly"],sheet:[33,50],shortName:"rocket"},{name:"Flying Saucer",unified:"1F6F8",keywords:["flying_saucer","transportation","vehicle","ufo"],sheet:[36,50],shortName:"flying_saucer"},{name:"Bellhop Bell",unified:"1F6CE-FE0F",keywords:["bellhop_bell","service"],sheet:[36,27],shortName:"bellhop_bell"},{name:"Luggage",unified:"1F9F3",keywords:["luggage","packing","travel"],sheet:[52,4],shortName:"luggage"},{name:"Hourglass",unified:"231B",keywords:["hourglass_done","time","clock","oldschool","limit","exam","quiz","test"],sheet:[53,29],shortName:"hourglass"},{name:"Hourglass with Flowing Sand",unified:"23F3",keywords:["hourglass_not_done","oldschool","time","countdown"],sheet:[53,42],shortName:"hourglass_flowing_sand"},{name:"Watch",unified:"231A",keywords:["watch","time","accessories"],sheet:[53,28],shortName:"watch"},{name:"Alarm Clock",unified:"23F0",keywords:["alarm_clock","time","wake"],sheet:[53,39],shortName:"alarm_clock"},{name:"Stopwatch",unified:"23F1-FE0F",keywords:["stopwatch","time","deadline"],sheet:[53,40],shortName:"stopwatch"},{name:"Timer Clock",unified:"23F2-FE0F",keywords:["timer_clock","alarm"],sheet:[53,41],shortName:"timer_clock"},{name:"Mantelpiece Clock",unified:"1F570-FE0F",keywords:["mantelpiece_clock","time"],sheet:[29,5],shortName:"mantelpiece_clock"},{name:"Clock Face Twelve Oclock",unified:"1F55B",keywords:["twelve_o_clock","time","noon","midnight","midday","late","early","schedule"],sheet:[28,49],short
1Name:"clock12"},{name:"Clock Face Twelve-Thirty",unified:"1F567",keywords:["twelve_thirty","time","late","early","schedule"],sheet:[29,3],shortName:"clock1230"},{name:"Clock Face One Oclock",unified:"1F550",keywords:["one_o_clock","time","late","early","schedule"],sheet:[28,38],shortName:"clock1"},{name:"Clock Face One-Thirty",unified:"1F55C",keywords:["one_thirty","time","late","early","schedule"],sheet:[28,50],shortName:"clock130"},{name:"Clock Face Two Oclock",unified:"1F551",keywords:["two_o_clock","time","late","early","schedule"],sheet:[28,39],shortName:"clock2"},{name:"Clock Face Two-Thirty",unified:"1F55D",keywords:["two_thirty","time","late","early","schedule"],sheet:[28,51],shortName:"clock230"},{name:"Clock Face Three Oclock",unified:"1F552",keywords:["three_o_clock","time","late","early","schedule"],sheet:[28,40],shortName:"clock3"},{name:"Clock Face Three-Thirty",unified:"1F55E",keywords:["three_thirty","time","late","early","schedule"],sheet:[28,52],shortName:"clock330"},{name:"Clock Face Four Oclock",unified:"1F553",keywords:["four_o_clock","time","late","early","schedule"],sheet:[28,41],shortName:"clock4"},{name:"Clock Face Four-Thirty",unified:"1F55F",keywords:["four_thirty","time","late","early","schedule"],sheet:[28,53],shortName:"clock430"},{name:"Clock Face Five Oclock",unified:"1F554",keywords:["five_o_clock","time","late","early","schedule"],sheet:[28,42],shortName:"clock5"},{name:"Clock Face Five-Thirty",unified:"1F560",keywords:["five_thirty","time","late","early","schedule"],sheet:[28,54],shortName:"clock530"},{name:"Clock Face Six Oclock",unified:"1F555",keywords:["six_o_clock","time","late","early","schedule","dawn","dusk"],sheet:[28,43],shortName:"clock6"},{name:"Clock Face Six-Thirty",unified:"1F561",keywords:["six_thirty","time","late","early","schedule"],sheet:[28,55],shortName:"clock630"},{name:"Clock Face Seven Oclock",unified:"1F556",keywords:["seven_o_clock","time","late","early","schedule"],sheet:[28,44],shortName:"clock7"},{name:"Clock Face Seven-Thirty",unified:"1F562",keywords:["seven_thirty","time","late","early","schedule"],sheet:[28,56],shortName:"clock730"},{name:"Clock Face Eight Oclock",unified:"1F557",keywords:["eight_o_clock","time","late","early","schedule"],sheet:[28,45],shortName:"clock8"},{name:"Clock Face Eight-Thirty",unified:"1F563",keywords:["eight_thirty","time","late","early","schedule"],sheet:[28,57],shortName:"clock830"},{name:"Clock Face Nine Oclock",unified:"1F558",keywords:["nine_o_clock","time","late","early","schedule"],sheet:[28,46],shortName:"clock9"},{name:"Clock Face Nine-Thirty",unified:"1F564",keywords:["nine_thirty","time","late","early","schedule"],sheet:[29,0],shortName:"clock930"},{name:"Clock Face Ten Oclock",unified:"1F559",keywords:["ten_o_clock","time","late","early","schedule"],sheet:[28,47],shortName:"clock10"},{name:"Clock Face Ten-Thirty",unified:"1F565",keywords:["ten_thirty","time","late","early","schedule"],sheet:[29,1],shortName:"clock1030"},{name:"Clock Face Eleven Oclock",unified:"1F55A",keywords:["eleven_o_clock","time","late","early","schedule"],sheet:[28,48],shortName:"clock11"},{name:"Clock Face Eleven-Thirty",unified:"1F566",keywords:["eleven_thirty","time","late","early","schedule"],sheet:[29,2],shortName:"clock1130"},{name:"New Moon Symbol",unified:"1F311",keywords:["new_moon","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,31],shortName:"new_moon"},{name:"Waxing Crescent Moon Symbol",unified:"1F312",keywords:["waxing_crescent_moon","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,32],shortName:"waxing_crescent_moon"},{name:"First Quarter Moon Symbol",unified:"1F313",keywords:["first_quarter_moon","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,33],shortName:"first_quarter_moon"},{name:"Waxing Gibbous Moon Symbol",unified:"1F314",keywords:["waxing_gibbous_moon","nature","night","sky","gray","twilight","planet","space","evening","sleep"],sheet:[5,34],shortNames:["waxing_gibbous_moon"],shortName:"moon"},{name:"Full Moon Symbol",unified:"1F315",keywords:["full_moon","nature","yellow","twilight","planet","space","night","evening","sleep"],sheet:[5,35],shortName:"full_moon"},{name:"Waning Gibbous Moon Symbol",unified:"1F316",keywords:["w
1aning_gibbous_moon","nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],sheet:[5,36],shortName:"waning_gibbous_moon"},{name:"Last Quarter Moon Symbol",unified:"1F317",keywords:["last_quarter_moon","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,37],shortName:"last_quarter_moon"},{name:"Waning Crescent Moon Symbol",unified:"1F318",keywords:["waning_crescent_moon","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,38],shortName:"waning_crescent_moon"},{name:"Crescent Moon",unified:"1F319",keywords:["crescent_moon","night","sleep","sky","evening","magic"],sheet:[5,39],shortName:"crescent_moon"},{name:"New Moon with Face",unified:"1F31A",keywords:["new_moon_face","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,40],shortName:"new_moon_with_face"},{name:"First Quarter Moon with Face",unified:"1F31B",keywords:["first_quarter_moon_face","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,41],shortName:"first_quarter_moon_with_face"},{name:"Last Quarter Moon with Face",unified:"1F31C",keywords:["last_quarter_moon_face","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,42],shortName:"last_quarter_moon_with_face"},{name:"Thermometer",unified:"1F321-FE0F",keywords:["thermometer","weather","temperature","hot","cold"],sheet:[5,47],shortName:"thermometer"},{name:"Black Sun with Rays",unified:"2600-FE0F",keywords:["sun","weather","nature","brightness","summer","beach","spring"],sheet:[53,55],shortName:"sunny"},{name:"Full Moon with Face",unified:"1F31D",keywords:["full_moon_face","nature","twilight","planet","space","night","evening","sleep"],sheet:[5,43],shortName:"full_moon_with_face"},{name:"Sun with Face",unified:"1F31E",keywords:["sun_with_face","nature","morning","sky"],sheet:[5,44],shortName:"sun_with_face"},{name:"Ringed Planet",unified:"1FA90",keywords:["ringed_planet","outerspace"],sheet:[52,32],shortName:"ringed_planet"},{name:"White Medium Star",unified:"2B50",keywords:["star","night","yellow"],sheet:[56,46],shortName:"star"},{name:"Glowing Star",unified:"1F31F",keywords:["glowing_star","night","sparkle","awesome","good","magic"],sheet:[5,45],shortName:"star2"},{name:"Shooting Star",unified:"1F320",keywords:["shooting_star","night","photo"],sheet:[5,46],shortName:"stars"},{name:"Milky Way",unified:"1F30C",keywords:["milky_way","photo","space","stars"],sheet:[5,26],shortName:"milky_way"},{name:"Cloud",unified:"2601-FE0F",keywords:["cloud","weather","sky"],sheet:[53,56],shortName:"cloud"},{name:"Sun Behind Cloud",unified:"26C5",keywords:["sun_behind_cloud","weather","nature","cloudy","morning","fall","spring"],sheet:[55,7],shortName:"partly_sunny"},{name:"Cloud with Lightning and Rain",unified:"26C8-FE0F",keywords:["cloud_with_lightning_and_rain","weather","lightning"],sheet:[55,8],shortName:"thunder_cloud_and_rain"},{name:"Sun Behind Small Cloud",unified:"1F324-FE0F",keywords:["sun_behind_small_cloud","weather"],sheet:[5,48],shortNames:["sun_small_cloud"],short
1Name:"mostly_sunny"},{name:"Sun Behind Large Cloud",unified:"1F325-FE0F",keywords:["sun_behind_large_cloud","weather"],sheet:[5,49],shortNames:["sun_behind_cloud"],shortName:"barely_sunny"},{name:"Sun Behind Rain Cloud",unified:"1F326-FE0F",keywords:["sun_behind_rain_cloud","weather"],sheet:[5,50],shortNames:["sun_behind_rain_cloud"],shortName:"partly_sunny_rain"},{name:"Cloud with Rain",unified:"1F327-FE0F",keywords:["cloud_with_rain","weather"],sheet:[5,51],shortName:"rain_cloud"},{name:"Cloud with Snow",unified:"1F328-FE0F",keywords:["cloud_with_snow","weather"],sheet:[5,52],shortName:"snow_cloud"},{name:"Cloud with Lightning",unified:"1F329-FE0F",keywords:["cloud_with_lightning","weather","thunder"],sheet:[5,53],shortNames:["lightning_cloud"],shortName:"lightning"},{name:"Tornado",unified:"1F32A-FE0F",keywords:["tornado","weather","cyclone","twister"],sheet:[5,54],shortNames:["tornado_cloud"],shortName:"tornado"},{name:"Fog",unified:"1F32B-FE0F",keywords:["fog","weather"],sheet:[5,55],shortName:"fog"},{name:"Wind Face",unified:"1F32C-FE0F",keywords:["wind_face","gust","air"],sheet:[5,56],shortName:"wind_blowing_face"},{name:"Cyclone",unified:"1F300",keywords:["cyclone","weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],sheet:[5,14],shortName:"cyclone"},{name:"Rainbow",unified:"1F308",keywords:["rainbow","nature","happy","unicorn_face","photo","sky","spring"],sheet:[5,22],shortName:"rainbow"},{name:"Closed Umbrella",unified:"1F302",keywords:["closed_umbrella","weather","rain","drizzle"],sheet:[5,16],shortName:"closed_umbrella"},{name:"Umbrella",unified:"2602-FE0F",keywords:["umbrella","weather","spring"],sheet:[53,57],shortName:"umbrella"},{name:"Umbrella with Rain Drops",unified:"2614",keywords:["umbrella_with_rain_drops","rainy","weather","spring"],sheet:[54,4],shortName:"umbrella_with_rain_drops"},{name:"Umbrella on Ground",unified:"26F1-FE0F",keywords:["umbrella_on_ground","weather","summer"],sheet:[55,17],shortName:"umbrella_on_ground"},{name:"High Voltage Sign",unified:"26A1",keywords:["high_voltage","thunder","weather","lightning bolt","fast"],sheet:[54,56],shortName:"zap"},{name:"Snowflake",unified:"2744-FE0F",keywords:["snowflake","winter","season","cold","weather","christmas","xmas"],sheet:[56,23],shortName:"snowflake"},{name:"Snowman",unified:"2603-FE0F",keywords:["snowman","winter","season","cold","weather","christmas","xmas","frozen"],sheet:[54,0],shortName:"snowman"},{name:"Snowman Without Snow",unified:"26C4",keywords:["snowman_without_snow","winter","season","cold","weather","christmas","xmas","frozen","without_snow"],sheet:[55,6],shortName:"snowman_without_snow"},{name:"Comet",unified:"2604-FE0F",keywords:["comet","space"],sheet:[54,1],shortName:"comet"},{name:"Fire",unified:"1F525",keywords:["fire","hot","cook","flame"],sheet:[28,7],shortName:"fire"},{name:"Droplet",unified:"1F4A7",keywords:["droplet","water","drip","faucet","spring"],sheet:[25,51],shortName:"droplet"},{name:"Water Wave",unified:"1F30A",keywords:["water_wave","sea","water","wave","nature","tsunami","disaster"],sheet:[5,24],shortName:"ocean"},{name:"Jack-O-Lantern",unified:"1F383",keywords:["jack_o_lantern","halloween","light","pumpkin","creepy","fall"],sheet:[7,27],shortName:"jack_o_lantern"},{name:"Christmas Tree",unified:"1F384",keywords:["christmas_tree","festival","vacation","december","xmas","celebration"],sheet:[7,28],shortName:"christmas_tree"},{name:"Fireworks",unified:"1F386",keywords:["fireworks","photo","festival","carnival","congratulations"],sheet:[7,35],shortName:"fireworks"},{name:"Firework Sparkler",unified:"1F387",keywords:["sparkler","stars","night","shine"],sheet:[7,36],shortName:"sparkler"},{name:"Firecracker",unified:"1F9E8",keywords:["firecracker","dynamite","boom","explode","explosion","explosive"],sheet:[51,51],shortName:"firecracker"},{name:"Sparkles",unified:"2728",keywords:["sparkles","stars","shine","shiny","cool","awesome","good","magic"],sheet:[56,20],shortName:"sparkles"},{name:"Balloon",unified:"1F388",keywords:["balloon","party","celebration","birthday","circus"],sheet:[7,37],shortName:"balloon"}
1,{name:"Party Popper",unified:"1F389",keywords:["party_popper","party","congratulations","birthday","magic","circus","celebration","tada"],sheet:[7,38],shortName:"tada"},{name:"Confetti Ball",unified:"1F38A",keywords:["confetti_ball","festival","party","birthday","circus"],sheet:[7,39],shortName:"confetti_ball"},{name:"Tanabata Tree",unified:"1F38B",keywords:["tanabata_tree","plant","nature","branch","summer"],sheet:[7,40],shortName:"tanabata_tree"},{name:"Pine Decoration",unified:"1F38D",keywords:["pine_decoration","plant","nature","vegetable","panda","pine_decoration"],sheet:[7,42],shortName:"bamboo"},{name:"Japanese Dolls",unified:"1F38E",keywords:["japanese_dolls","japanese","toy","kimono"],sheet:[7,43],shortName:"dolls"},{name:"Carp Streamer",unified:"1F38F",keywords:["carp_streamer","fish","japanese","koinobori","carp","banner"],sheet:[7,44],shortName:"flags"},{name:"Wind Chime",unified:"1F390",keywords:["wind_chime","nature","ding","spring","bell"],sheet:[7,45],shortName:"wind_chime"},{name:"Moon Viewing Ceremony",unified:"1F391",keywords:["moon_viewing_ceremony","photo","japan","asia","tsukimi"],sheet:[7,46],shortName:"rice_scene"},{name:"Red Gift Envelope",unified:"1F9E7",keywords:["red_envelope","gift"],sheet:[51,50],shortName:"red_envelope"},{name:"Ribbon",unified:"1F380",keywords:["ribbon","decoration","pink","girl","bowtie"],sheet:[7,24],shortName:"ribbon"},{name:"Wrapped Present",unified:"1F381",keywords:["wrapped_gift","present","birthday","christmas","xmas"],sheet:[7,25],shortName:"gift"},{name:"Reminder Ribbon",unified:"1F397-FE0F",keywords:["reminder_ribbon","sports","cause","support","awareness"],sheet:[7,50],shortName:"reminder_ribbon"},{name:"Admission Tickets",unified:"1F39F-FE0F",keywords:["admission_tickets","sports","concert","entrance"],sheet:[7,55],shortName:"admission_tickets"},{name:"Ticket",unified:"1F3AB",keywords:["ticket","event","concert","pass"],sheet:[8,9],shortName:"ticket"},{name:"Military Medal",unified:"1F396-FE0F",keywords:["military_medal","award","winning","army"],sheet:[7,49],shortName:"medal"},{name:"Trophy",unified:"1F3C6",keywords:["trophy","win","award","contest","place","ftw","ceremony"],sheet:[9,17],shortName:"trophy"},{name:"Sports Medal",unified:"1F3C5",keywords:["sports_medal","award","winning"],sheet:[9,16],shortName:"sports_medal"},{name:"First Place Medal",unified:"1F947",keywords:["1st_place_medal","award","winning","first"],sheet:[41,30],shortName:"first_place_medal"},{name:"Second Place Medal",unified:"1F948",keywords:["2nd_place_medal","award","second"],sheet:[41,31],shortName:"second_place_medal"},{name:"Third Place Medal",unified:"1F949",keywords:["3rd_place_medal","award","third"],sheet:[41,32],shortName:"third_place_medal"},{name:"Soccer Ball",unified:"26BD",keywords:["soccer_ball","sports","football"],sheet:[55,4],shortName:"soccer"},{name:"Baseball",unified:"26BE",keywords:["baseball","sports","balls"],sheet:[55,5],shortName:"baseball"},{name:"Softball",unified:"1F94E",keywords:["softball","sports","balls"],sheet:[41,37],shortName:"softball"},{name:"Basketball and Hoop",unified:"1F3C0",keywords:["basketball","sports","balls","NBA"],sheet:[8,30],shortName:"basketball"},{name:"Volleyball",unified:"1F3D0",keywords:["volleyball","sports","balls"],sheet:[10,25],shortName:"volleyball"},{name:"American Football",unified:"1F3C8",keywords:["american_football","sports","balls","NFL"],sheet:[9,24],shortName:"football"},{name:"Rugby Football",unified:"1F3C9",keywords:["rugby_football","sports","team"],sheet:[9,25],shortName:"rugby_football"},{name:"Tennis Racquet and Ball",unified:"1F3BE",keywords:["tennis","sports","balls","green"],sheet:[8,28],shortName:"tennis"},{name:"Flying Disc",unified:"1F94F",keywords:["flying_disc","sports","frisbee","ultimate"],sheet:[41,38],shortName:"flying_disc"},{name:"Bowling",unified:"1F3B3",keywords:["bowling","sports","fun","play"],sheet:[8,17],shortName:"bowling"},{name:"Cricket Bat and Ball",unified:"1F3CF",keywords:["cricket_game","sports"],sheet:[10,24],shortName:"cricket_bat_and_ball"},{name:"Field Hockey Stick and Ball",unified:"1F3D1",keywords:["field_hockey","sports"],sheet:[10,26],shortName:"field_hockey_stick_and_ball"},{name:"Ice Hockey Stick and Puck",unified:"1F3D2",keywords:["ice_hockey","sports"],sheet:[10,27],shortName:"ice_hockey_stick_and_puck"},{name:"Lacrosse Stick and Ball",unified:"1F94D",keywords:["lacrosse","sports","ball","stick"],sheet:[41,36],shortName:"lacrosse"},{name:"Table Tennis Paddle and Ball",unified:"1F3D3",keywords:["ping_pong","sports","pingpong"],sheet:[10,28],short
1Name:"table_tennis_paddle_and_ball"},{name:"Badminton Racquet and Shuttlecock",unified:"1F3F8",keywords:["badminton","sports"],sheet:[11,10],shortName:"badminton_racquet_and_shuttlecock"},{name:"Boxing Glove",unified:"1F94A",keywords:["boxing_glove","sports","fighting"],sheet:[41,33],shortName:"boxing_glove"},{name:"Martial Arts Uniform",unified:"1F94B",keywords:["martial_arts_uniform","judo","karate","taekwondo"],sheet:[41,34],shortName:"martial_arts_uniform"},{name:"Goal Net",unified:"1F945",keywords:["goal_net","sports"],sheet:[41,29],shortName:"goal_net"},{name:"Flag in Hole",unified:"26F3",keywords:["flag_in_hole","sports","business","flag","hole","summer"],sheet:[55,19],shortName:"golf"},{name:"Ice Skate",unified:"26F8-FE0F",keywords:["ice_skate","sports"],sheet:[55,23],shortName:"ice_skate"},{name:"Fishing Pole and Fish",unified:"1F3A3",keywords:["fishing_pole","food","hobby","summer"],sheet:[8,1],shortName:"fishing_pole_and_fish"},{name:"Diving Mask",unified:"1F93F",keywords:["diving_mask","sport","ocean"],sheet:[41,23],shortName:"diving_mask"},{name:"Running Shirt with Sash",unified:"1F3BD",keywords:["running_shirt","play","pageant"],sheet:[8,27],shortName:"running_shirt_with_sash"},{name:"Ski and Ski Boot",unified:"1F3BF",keywords:["skis","sports","winter","cold","snow"],sheet:[8,29],shortName:"ski"},{name:"Sled",unified:"1F6F7",keywords:["sled","sleigh","luge","toboggan"],sheet:[36,49],shortName:"sled"},{name:"Curling Stone",unified:"1F94C",keywords:["curling_stone","sports"],sheet:[41,35],shortName:"curling_stone"},{name:"Direct Hit",unified:"1F3AF",keywords:["direct_hit","game","play","bar","target","bullseye"],sheet:[8,13],shortName:"dart"},{name:"Yo-Yo",unified:"1FA80",keywords:["yo_yo","toy"],sheet:[52,25],shortName:"yo-yo"},{name:"Kite",unified:"1FA81",keywords:["kite","wind","fly"],sheet:[52,26],shortName:"kite"},{name:"Billiards",unified:"1F3B1",keywords:["pool_8_ball","pool","hobby","game","luck","magic"],sheet:[8,15],shortName:"8ball"},{name:"Crystal Ball",unified:"1F52E",keywords:["crystal_ball","disco","party","magic","circus","fortune_teller"],sheet:[28,16],shortName:"crystal_ball"},{name:"Magic Wand",unified:"1FA84",keywords:["magic wand","supernature","power"],sheet:[52,29],shortName:"magic_wand"},{name:"Nazar Amulet",unified:"1F9FF",keywords:["nazar_amulet","bead","charm"],sheet:[52,16],shortName:"nazar_amulet"},{name:"Video Game",unified:"1F3AE",keywords:["video_game","play","console","PS4","controller"],sheet:[8,12],shortName:"video_game"},{name:"Joystick",unified:"1F579-FE0F",keywords:["joystick","game","play"],sheet:[29,34],shortName:"joystick"},{name:"Slot Machine",unified:"1F3B0",keywords:["slot_machine","bet","gamble","vegas","fruit machine","luck","casino"],sheet:[8,14],shortName:"slot_machine"},{name:"Game Die",unified:"1F3B2",keywords:["game_die","dice","random","tabletop","play","luck"],sheet:[8,16],shortName:"game_die"},{name:"Jigsaw Puzzle Piece",unified:"1F9E9",keywords:["puzzle_piece","interlocking","puzzle","piece"],sheet:[51,52],shortName:"jigsaw"},{name:"Teddy Bear",unified:"1F9F8",keywords:["teddy_bear","plush","stuffed"],sheet:[52,9],shortName:"teddy_bear"},{name:"Pinata",unified:"1FA85",keywords:["pinata","mexico","candy","celebration"],sheet:[52,30],shortName:"pinata"},{name:"Nesting Dolls",unified:"1FA86",keywords:["nesting dolls","matryoshka","toy"],sheet:[52,31],shortName:"nesting_dolls"},{name:"Black Spade Suit",unified:"2660-FE0F",keywords:["spade_suit","poker","cards","suits","magic"],sheet:[54,38],short
1Name:"spades"},{name:"Black Heart Suit",unified:"2665-FE0F",keywords:["heart_suit","poker","cards","magic","suits"],sheet:[54,40],shortName:"hearts"},{name:"Black Diamond Suit",unified:"2666-FE0F",keywords:["diamond_suit","poker","cards","magic","suits"],sheet:[54,41],shortName:"diamonds"},{name:"Black Club Suit",unified:"2663-FE0F",keywords:["club_suit","poker","cards","magic","suits"],sheet:[54,39],shortName:"clubs"},{name:"Chess Pawn",unified:"265F-FE0F",keywords:["chess_pawn","expendable"],sheet:[54,37],shortName:"chess_pawn"},{name:"Playing Card Black Joker",unified:"1F0CF",keywords:["joker","poker","cards","game","play","magic"],sheet:[0,15],shortName:"black_joker"},{name:"Mahjong Tile Red Dragon",unified:"1F004",keywords:["mahjong_red_dragon","game","play","chinese","kanji"],sheet:[0,14],shortName:"mahjong"},{name:"Flower Playing Cards",unified:"1F3B4",keywords:["flower_playing_cards","game","sunset","red"],sheet:[8,18],shortName:"flower_playing_cards"},{name:"Performing Arts",unified:"1F3AD",keywords:["performing_arts","acting","theater","drama"],sheet:[8,11],shortName:"performing_arts"},{name:"Framed Picture",unified:"1F5BC-FE0F",keywords:["framed_picture","photography"],sheet:[30,11],shortName:"frame_with_picture"},{name:"Artist Palette",unified:"1F3A8",keywords:["artist_palette","design","paint","draw","colors"],sheet:[8,6],shortName:"art"},{name:"Spool of Thread",unified:"1F9F5",keywords:["thread","needle","sewing","spool","string"],sheet:[52,6],shortName:"thread"},{name:"Sewing Needle",unified:"1FAA1",keywords:["sewing needle","stitches"],sheet:[52,49],short
1Name:"sewing_needle"},{name:"Ball of Yarn",unified:"1F9F6",keywords:["yarn","ball","crochet","knit"],sheet:[52,7],shortName:"yarn"},{name:"Knot",unified:"1FAA2",keywords:["knot","rope","scout"],sheet:[52,50],shortName:"knot"},{name:"Eyeglasses",unified:"1F453",keywords:["glasses","fashion","accessories","eyesight","nerdy","dork","geek"],sheet:[13,54],shortName:"eyeglasses"},{name:"Sunglasses",unified:"1F576-FE0F",keywords:["sunglasses","face","cool","accessories"],sheet:[29,31],shortName:"dark_sunglasses"},{name:"Goggles",unified:"1F97D",keywords:["goggles","eyes","protection","safety"],sheet:[42,30],shortName:"goggles"},{name:"Lab Coat",unified:"1F97C",keywords:["lab_coat","doctor","experiment","scientist","chemist"],sheet:[42,29],shortName:"lab_coat"},{name:"Safety Vest",unified:"1F9BA",keywords:["safety_vest","protection"],sheet:[44,15],shortName:"safety_vest"},{name:"Necktie",unified:"1F454",keywords:["necktie","shirt","suitup","formal","fashion","cloth","business"],sheet:[13,55],shortName:"necktie"},{name:"T-Shirt",unified:"1F455",keywords:["t_shirt","fashion","cloth","casual","shirt","tee"],sheet:[13,56],shortNames:["tshirt"],shortName:"shirt"},{name:"Jeans",unified:"1F456",keywords:["jeans","fashion","shopping"],sheet:[13,57],shortName:"jeans"},{name:"Scarf",unified:"1F9E3",keywords:["scarf","neck","winter","clothes"],sheet:[51,46],shortName:"scarf"},{name:"Gloves",unified:"1F9E4",keywords:["gloves","hands","winter","clothes"],sheet:[51,47],shortName:"gloves"},{name:"Coat",unified:"1F9E5",keywords:["coat","jacket"],sheet:[51,48],shortName:"coat"},{name:"Socks",unified:"1F9E6",keywords:["socks","stockings","clothes"],sheet:[51,49],shortName:"socks"},{name:"Dress",unified:"1F457",keywords:["dress","clothes","fashion","shopping"],sheet:[14,0],shortName:"dress"},{name:"Kimono",unified:"1F458",keywords:["kimono","dress","fashion","women","female","japanese"],sheet:[14,1],shortName:"kimono"},{name:"Sari",unified:"1F97B",keywords:["sari","dress"],sheet:[42,28],shortName:"sari"},{name:"One-Piece Swimsuit",unified:"1FA71",keywords:["one_piece_swimsuit","fashion"],sheet:[52,18],shortName:"one-piece_swimsuit"},{name:"Briefs",unified:"1FA72",keywords:["briefs","clothing"],sheet:[52,19],shortName:"briefs"},{name:"Shorts",unified:"1FA73",keywords:["shorts","clothing"],sheet:[52,20],shortName:"shorts"},{name:"Bikini",unified:"1F459",keywords:["bikini","swimming","female","woman","girl","fashion","beach","summer"],sheet:[14,2],shortName:"bikini"},{name:"Womans Clothes",unified:"1F45A",keywords:["woman_s_clothes","fashion","shopping_bags","female"],sheet:[14,3],shortName:"womans_clothes"},{name:"Purse",unified:"1F45B",keywords:["purse","fashion","accessories","money","sales","shopping"],sheet:[14,4],shortName:"purse"},{name:"Handbag",unified:"1F45C",keywords:["handbag","fashion","accessory","accessories","shopping"],sheet:[14,5],shortName:"handbag"},{name:"Pouch",unified:"1F45D",keywords:["clutch_bag","bag","accessories","shopping"],sheet:[14,6],shortName:"pouch"},{name:"Shopping Bags",unified:"1F6CD-FE0F",keywords:["shopping_bags","mall","buy","purchase"],sheet:[36,26],shortName:"shopping_bags"},{name:"School Satchel",unified:"1F392",keywords:["backpack","student","education","bag","backpack"],sheet:[7,47],shortName:"school_satchel"},{name:"Thong Sandal",unified:"1FA74",keywords:["thong sandal","footwear","summer"],sheet:[52,21],shortName:"thong_sandal"},{name:"Mans Shoe",unified:"1F45E",keywords:["man_s_shoe","fashion","male"],sheet:[14,7],shortNames:["shoe"],shortName:"mans_shoe"},{name:"Athletic Shoe",unified:"1F45F",keywords:["running_shoe","shoes","sports","sneakers"],sheet:[14,8],shortName:"athletic_shoe"},{name:"Hiking Boot",unified:"1F97E",keywords:["hiking_boot","backpacking","camping","hiking"],sheet:[42,31],shortName:"hiking_boot"},{name:"Flat Shoe",unified:"1F97F",keywords:["flat_shoe","ballet","slip-on","slipper"],sheet:[42,32],shortName:"womans_flat_shoe"},{name:"High-Heeled Shoe",unified:"1F460",keywords:["high_heeled_shoe","fashion","shoes","female","pumps","stiletto"],sheet:[14,9],shortName:"high_heel"},{name:"Womans Sandal",unified:"1F461",keywords:["woman_s_sandal","shoes","fashion","flip flops"],sheet:[14,10],shortName:"sandal"},{name:"Ballet Shoes",unified:"1FA70",keywords:["ballet_shoes","dance"],sheet:[52,17],shortName:"ballet_shoes"}
1,{name:"Womans Boots",unified:"1F462",keywords:["woman_s_boot","shoes","fashion"],sheet:[14,11],shortName:"boot"},{name:"Crown",unified:"1F451",keywords:["crown","king","kod","leader","royalty","lord"],sheet:[13,52],shortName:"crown"},{name:"Womans Hat",unified:"1F452",keywords:["woman_s_hat","fashion","accessories","female","lady","spring"],sheet:[13,53],shortName:"womans_hat"},{name:"Top Hat",unified:"1F3A9",keywords:["top_hat","magic","gentleman","classy","circus"],sheet:[8,7],shortName:"tophat"},{name:"Graduation Cap",unified:"1F393",keywords:["graduation_cap","school","college","degree","university","graduation","cap","hat","legal","learn","education"],sheet:[7,48],shortName:"mortar_board"},{name:"Billed Cap",unified:"1F9E2",keywords:["billed_cap","cap","baseball"],sheet:[51,45],shortName:"billed_cap"},{name:"Military Helmet",unified:"1FA96",keywords:["military helmet","army","protection"],sheet:[52,38],shortName:"military_helmet"},{name:"Rescue Worker\u2019s Helmet",unified:"26D1-FE0F",keywords:["rescue_worker_s_helmet","construction","build"],sheet:[55,11],shortName:"helmet_with_white_cross"},{name:"Prayer Beads",unified:"1F4FF",keywords:["prayer_beads","dhikr","religious"],sheet:[27,27],shortName:"prayer_beads"},{name:"Lipstick",unified:"1F484",keywords:["lipstick","female","girl","fashion","woman"],sheet:[24,35],shortName:"lipstick"},{name:"Ring",unified:"1F48D",keywords:["ring","wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],sheet:[25,25],shortName:"ring"},{name:"Gem Stone",unified:"1F48E",keywords:["gem_stone","blue","ruby","diamond","jewelry"],sheet:[25,26],shortName:"gem"},{name:"Speaker with Cancellation Stroke",unified:"1F507",keywords:["muted_speaker","sound","volume","silence","quiet"],sheet:[27,35],shortName:"mute"},{name:"Speaker",unified:"1F508",keywords:["speaker_low_volume","sound","volume","silence","broadcast"],sheet:[27,36],shortName:"speaker"},{name:"Speaker with One Sound Wave",unified:"1F509",keywords:["speaker_medium_volume","volume","speaker","broadcast"],sheet:[27,37],shortName:"sound"},{name:"Speaker with Three Sound Waves",unified:"1F50A",keywords:["speaker_high_volume","volume","noise","noisy","speaker","broadcast"],sheet:[27,38],shortName:"loud_sound"},{name:"Public Address Loudspeaker",unified:"1F4E2",keywords:["loudspeaker","volume","sound"],sheet:[26,57],shortName:"loudspeaker"},{name:"Cheering Megaphone",unified:"1F4E3",keywords:["megaphone","sound","speaker","volume"],sheet:[27,0],shortName:"mega"},{name:"Postal Horn",unified:"1F4EF",keywords:["postal_horn","instrument","music"],sheet:[27,12],shortName:"postal_horn"},{name:"Bell",unified:"1F514",keywords:["bell","sound","notification","christmas","xmas","chime"],sheet:[27,48],shortName:"bell"},{name:"Bell with Cancellation Stroke",unified:"1F515",keywords:["bell_with_slash","sound","volume","mute","quiet","silent"],sheet:[27,49],shortName:"no_bell"},{name:"Musical Score",unified:"1F3BC",keywords:["musical_score","treble","clef","compose"],sheet:[8,26],shortName:"musical_score"},{name:"Musical Note",unified:"1F3B5",keywords:["musical_note","score","tone","sound"],sheet:[8,19],shortName:"musical_note"},{name:"Multiple Musical Notes",unified:"1F3B6",keywords:["musical_notes","music","score"],sheet:[8,20],shortName:"notes"},{name:"Studio Microphone",unified:"1F399-FE0F",keywords:["studio_microphone","sing","recording","artist","talkshow"],sheet:[7,51],shortName:"studio_microphone"},{name:"Level Slider",unified:"1F39A-FE0F",keywords:["level_slider","scale"],sheet:[7,52],shortName:"level_slider"},{name:"Control Knobs",unified:"1F39B-FE0F",keywords:["control_knobs","dial"],sheet:[7,53],shortName:"control_knobs"},{name:"Microphone",unified:"1F3A4",keywords:["microphone","sound","music","PA","sing","talkshow"],sheet:[8,2],shortName:"microphone"},{name:"Headphone",unified:"1F3A7",keywords:["headphone","music","score","gadgets"],sheet:[8,5],shortName:"headphones"},{name:"Radio",unified:"1F4FB",keywords:["radio","communication","music","podcast","program"],sheet:[27,24],shortName:"radio"},{name:"Saxophone",unified:"1F3B7",keywords:["saxophone","music","instrument","jazz","blues"],sheet:[8,21],shortName:"saxophone"},{name:"Accordion",unified:"1FA97",keywords:["accordion","music"],sheet:[52,39],short
1Name:"accordion"},{name:"Guitar",unified:"1F3B8",keywords:["guitar","music","instrument"],sheet:[8,22],shortName:"guitar"},{name:"Musical Keyboard",unified:"1F3B9",keywords:["musical_keyboard","piano","instrument","compose"],sheet:[8,23],shortName:"musical_keyboard"},{name:"Trumpet",unified:"1F3BA",keywords:["trumpet","music","brass"],sheet:[8,24],shortName:"trumpet"},{name:"Violin",unified:"1F3BB",keywords:["violin","music","instrument","orchestra","symphony"],sheet:[8,25],shortName:"violin"},{name:"Banjo",unified:"1FA95",keywords:["banjo","music","instructment"],sheet:[52,37],shortName:"banjo"},{name:"Drum with Drumsticks",unified:"1F941",keywords:["drum","music","instrument","drumsticks","snare"],sheet:[41,25],shortName:"drum_with_drumsticks"},{name:"Long Drum",unified:"1FA98",keywords:["long drum","music"],sheet:[52,40],shortName:"long_drum"},{name:"Mobile Phone",unified:"1F4F1",keywords:["mobile_phone","technology","apple","gadgets","dial"],sheet:[27,14],shortName:"iphone"},{name:"Mobile Phone with Rightwards Arrow at Left",unified:"1F4F2",keywords:["mobile_phone_with_arrow","iphone","incoming"],sheet:[27,15],shortName:"calling"},{name:"Black Telephone",unified:"260E-FE0F",keywords:["telephone","technology","communication","dial","telephone"],sheet:[54,2],shortNames:["telephone"],shortName:"phone"},{name:"Telephone Receiver",unified:"1F4DE",keywords:["telephone_receiver","technology","communication","dial"],sheet:[26,53],shortName:"telephone_receiver"},{name:"Pager",unified:"1F4DF",keywords:["pager","bbcall","oldschool","90s"],sheet:[26,54],shortName:"pager"},{name:"Fax Machine",unified:"1F4E0",keywords:["fax_machine","communication","technology"],sheet:[26,55],shortName:"fax"},{name:"Battery",unified:"1F50B",keywords:["battery","power","energy","sustain"],sheet:[27,39],shortName:"battery"},{name:"Electric Plug",unified:"1F50C",keywords:["electric_plug","charger","power"],sheet:[27,40],shortName:"electric_plug"},{name:"Personal Computer",unified:"1F4BB",keywords:["laptop","technology","laptop","screen","display","monitor"],sheet:[26,18],shortName:"computer"},{name:"Desktop Computer",unified:"1F5A5-FE0F",keywords:["desktop_computer","technology","computing","screen"],sheet:[30,7],shortName:"desktop_computer"},{name:"Printer",unified:"1F5A8-FE0F",keywords:["printer","paper","ink"],sheet:[30,8],shortName:"printer"},{name:"Keyboard",unified:"2328-FE0F",keywords:["keyboard","technology","computer","type","input","text"],sheet:[53,30],shortName:"keyboard"},{name:"Computer Mouse",unified:"1F5B1-FE0F",keywords:["computer_mouse","click"],sheet:[30,9],shortName:"three_button_mouse"},{name:"Trackball",unified:"1F5B2-FE0F",keywords:["trackball","technology","trackpad"],sheet:[30,10],shortName:"trackball"},{name:"Minidisc",unified:"1F4BD",keywords:["computer_disk","technology","record","data","disk","90s"],sheet:[26,20],shortName:"minidisc"},{name:"Floppy Disk",unified:"1F4BE",keywords:["floppy_disk","oldschool","technology","save","90s","80s"],sheet:[26,21],shortName:"floppy_disk"},{name:"Optical Disc",unified:"1F4BF",keywords:["optical_disk","technology","dvd","disk","disc","90s"],sheet:[26,22],shortName:"cd"},{name:"Dvd",unified:"1F4C0",keywords:["dvd","cd","disk","disc"],sheet:[26,23],shortName:"dvd"},{name:"Abacus",unified:"1F9EE",keywords:["abacus","calculation"],sheet:[51,57],shortName:"abacus"},{name:"Movie Camera",unified:"1F3A5",keywords:["movie_camera","film","record"],sheet:[8,3],shortName:"movie_camera"},{name:"Film Frames",unified:"1F39E-FE0F",keywords:["film_frames","movie"],sheet:[7,54],shortName:"film_frames"},{name:"Film Projector",unified:"1F4FD-FE0F",keywords:["film_projector","video","tape","record","movie"],sheet:[27,26],shortName:"film_projector"},{name:"Clapper Board",unified:"1F3AC",keywords:["clapper_board","movie","film","record"],sheet:[8,10],shortName:"clapper"},{name:"Television",unified:"1F4FA",keywords:["television","technology","program","oldschool","show","television"],sheet:[27,23],shortName:"tv"},{name:"Camera",unified:"1F4F7",keywords:["camera","gadgets","photography"],sheet:[27,20],shortName:"camera"},{name:"Camera with Flash",unified:"1F4F8",keywords:["camera_with_flash","photography","gadgets"],sheet:[27,21],shortName:"camera_with_flash"},{name:"Video Camera",unified:"1F4F9",keywords:["video_camera","film","record"],sheet:[27,22],shortName:"video_camera"},{name:"Videocassette",unified:"1F4FC",keywords:["videocassette","record","video","oldschool","90s","80s"],sheet:[27,25],shortName:"vhs"},{name:"Left-Pointing Magnifying Glass",unified:"1F50D",keywords:["magnifying_glass_tilted_left","search","zoom","find","detective"],sheet:[27,41],shortName:"mag"},{name:"Right-Pointing Magnifying Glass",unified:"1F50E",keywords:["magnifying_glass_tilted_right","search","zoom","find","detective"],sheet:[27,42],shortName:"mag_right"},{name:"Candle",unified:"1F56F-FE0F",keywords:["candle","fire","wax"],sheet:[29,4],shortName:"candle"}
1,{name:"Electric Light Bulb",unified:"1F4A1",keywords:["light_bulb","light","electricity","idea"],sheet:[25,45],shortName:"bulb"},{name:"Electric Torch",unified:"1F526",keywords:["flashlight","dark","camping","sight","night"],sheet:[28,8],shortName:"flashlight"},{name:"Izakaya Lantern",unified:"1F3EE",keywords:["red_paper_lantern","light","paper","halloween","spooky"],sheet:[10,55],shortNames:["lantern"],shortName:"izakaya_lantern"},{name:"Diya Lamp",unified:"1FA94",keywords:["diya_lamp","lighting"],sheet:[52,36],shortName:"diya_lamp"},{name:"Notebook with Decorative Cover",unified:"1F4D4",keywords:["notebook_with_decorative_cover","classroom","notes","record","paper","study"],sheet:[26,43],shortName:"notebook_with_decorative_cover"},{name:"Closed Book",unified:"1F4D5",keywords:["closed_book","read","library","knowledge","textbook","learn"],sheet:[26,44],shortName:"closed_book"},{name:"Open Book",unified:"1F4D6",keywords:["open_book","book","read","library","knowledge","literature","learn","study"],sheet:[26,45],shortNames:["open_book"],shortName:"book"},{name:"Green Book",unified:"1F4D7",keywords:["green_book","read","library","knowledge","study"],sheet:[26,46],shortName:"green_book"},{name:"Blue Book",unified:"1F4D8",keywords:["blue_book","read","library","knowledge","learn","study"],sheet:[26,47],shortName:"blue_book"},{name:"Orange Book",unified:"1F4D9",keywords:["orange_book","read","library","knowledge","textbook","study"],sheet:[26,48],shortName:"orange_book"},{name:"Books",unified:"1F4DA",keywords:["books","literature","library","study"],sheet:[26,49],shortName:"books"},{name:"Notebook",unified:"1F4D3",keywords:["notebook","stationery","record","notes","paper","study"],sheet:[26,42],shortName:"notebook"},{name:"Ledger",unified:"1F4D2",keywords:["ledger","notes","paper"],sheet:[26,41],shortName:"ledger"},{name:"Page with Curl",unified:"1F4C3",keywords:["page_with_curl","documents","office","paper"],sheet:[26,26],shortName:"page_with_curl"},{name:"Scroll",unified:"1F4DC",keywords:["scroll","documents","ancient","history","paper"],sheet:[26,51],shortName:"scroll"},{name:"Page Facing Up",unified:"1F4C4",keywords:["page_facing_up","documents","office","paper","information"],sheet:[26,27],shortName:"page_facing_up"},{name:"Newspaper",unified:"1F4F0",keywords:["newspaper","press","headline"],sheet:[27,13],shortName:"newspaper"},{name:"Rolled-Up Newspaper",unified:"1F5DE-FE0F",keywords:["rolled_up_newspaper","press","headline"],sheet:[30,20],shortName:"rolled_up_newspaper"},{name:"Bookmark Tabs",unified:"1F4D1",keywords:["bookmark_tabs","favorite","save","order","tidy"],sheet:[26,40],shortName:"bookmark_tabs"},{name:"Bookmark",unified:"1F516",keywords:["bookmark","favorite","label","save"],sheet:[27,50],shortName:"bookmark"},{name:"Label",unified:"1F3F7-FE0F",keywords:["label","sale","tag"],sheet:[11,9],shortName:"label"},{name:"Money Bag",unified:"1F4B0",keywords:["money_bag","dollar","payment","coins","sale"],sheet:[26,7],shortName:"moneybag"},{name:"Coin",unified:"1FA99",keywords:["coin","money","currency"],sheet:[52,41],shortName:"coin"},{name:"Banknote with Yen Sign",unified:"1F4B4",keywords:["yen_banknote","money","sales","japanese","dollar","currency"],sheet:[26,11],shortName:"yen"},{name:"Banknote with Dollar Sign",unified:"1F4B5",keywords:["dollar_banknote","money","sales","bill","currency"],sheet:[26,12],shortName:"dollar"},{name:"Banknote with Euro Sign",unified:"1F4B6",keywords:["euro_banknote","money","sales","dollar","currency"],sheet:[26,13],shortName:"euro"},{name:"Banknote with Pound Sign",unified:"1F4B7",keywords:["pound_banknote","british","sterling","money","sales","bills","uk","england","currency"],sheet:[26,14],shortName:"pound"},{name:"Money with Wings",unified:"1F4B8",keywords:["money_with_wings","dollar","bills","payment","sale"],sheet:[26,15],shortName:"money_with_wings"},{name:"Credit Card",unified:"1F4B3",keywords:["credit_card","money","sales","dollar","bill","payment","shopping"],sheet:[26,10],shortName:"credit_card"},{name:"Receipt",unified:"1F9FE",keywords:["receipt","accounting","expenses"],sheet:[52,15],shortName:"receipt"},{name:"Chart with Upwards Trend and Yen Sign",unified:"1F4B9",keywords:["chart_increasing_with_yen","green-square","graph","presentation","stats"],sheet:[26,16],shortName:"chart"},{name:"Envelope",unified:"2709-FE0F",keywords:["envelope","letter","postal","inbox","communication"],sheet:[55,47],shortNames:["envelope"],shortName:"email"},{name:"E-Mail Symbol",unified:"1F4E7",keywords:["e_mail","communication","inbox"],sheet:[27,4],shortName:"e-mail"},{name:"Incoming Envelope",unified:"1F4E8",keywords:["incoming_envelope","email","inbox"],sheet:[27,5],shortName:"incoming_envelope"},{name:"Envelope with Downwards Arrow Above",unified:"1F4E9",keywords:["envelope_with_arrow","email","communication"],sheet:[27,6],shortName:"envelope_with_arrow"},{name:"Outbox Tray",unified:"1F4E4",keywords:["outbox_tray","inbox","email"],sheet:[27,1],shortName:"outbox_tray"},{name:"Inbox Tray",unified:"1F4E5",keywords:["inbox_tray","email","documents"],sheet:[27,2],shortName:"inbox_tray"},{name:"Package",unified:"1F4E6",keywords:["package","mail","gift","cardboard","box","moving"],sheet:[27,3],short
1Name:"package"},{name:"Closed Mailbox with Raised Flag",unified:"1F4EB",keywords:["closed_mailbox_with_raised_flag","email","inbox","communication"],sheet:[27,8],shortName:"mailbox"},{name:"Closed Mailbox with Lowered Flag",unified:"1F4EA",keywords:["closed_mailbox_with_lowered_flag","email","communication","inbox"],sheet:[27,7],shortName:"mailbox_closed"},{name:"Open Mailbox with Raised Flag",unified:"1F4EC",keywords:["open_mailbox_with_raised_flag","email","inbox","communication"],sheet:[27,9],shortName:"mailbox_with_mail"},{name:"Open Mailbox with Lowered Flag",unified:"1F4ED",keywords:["open_mailbox_with_lowered_flag","email","inbox"],sheet:[27,10],shortName:"mailbox_with_no_mail"},{name:"Postbox",unified:"1F4EE",keywords:["postbox","email","letter","envelope"],sheet:[27,11],shortName:"postbox"},{name:"Ballot Box with Ballot",unified:"1F5F3-FE0F",keywords:["ballot_box_with_ballot","election","vote"],sheet:[30,25],shortName:"ballot_box_with_ballot"},{name:"Pencil",unified:"270F-FE0F",keywords:["pencil","stationery","write","paper","writing","school","study"],sheet:[56,14],shortName:"pencil2"},{name:"Black Nib",unified:"2712-FE0F",keywords:["black_nib","pen","stationery","writing","write"],sheet:[56,15],shortName:"black_nib"},{name:"Fountain Pen",unified:"1F58B-FE0F",keywords:["fountain_pen","stationery","writing","write"],sheet:[29,43],shortName:"lower_left_fountain_pen"},{name:"Pen",unified:"1F58A-FE0F",keywords:["pen","stationery","writing","write"],sheet:[29,42],shortName:"lower_left_ballpoint_pen"},{name:"Paintbrush",unified:"1F58C-FE0F",keywords:["paintbrush","drawing","creativity","art"],sheet:[29,44],shortName:"lower_left_paintbrush"},{name:"Crayon",unified:"1F58D-FE0F",keywords:["crayon","drawing","creativity"],sheet:[29,45],shortName:"lower_left_crayon"},{name:"Memo",unified:"1F4DD",keywords:["memo","write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],sheet:[26,52],shortNames:["pencil"],shortName:"memo"},{name:"Briefcase",unified:"1F4BC",keywords:["briefcase","business","documents","work","law","legal","job","career"],sheet:[26,19],shortName:"briefcase"},{name:"File Folder",unified:"1F4C1",keywords:["file_folder","documents","business","office"],sheet:[26,24],shortName:"file_folder"},{name:"Open File Folder",unified:"1F4C2",keywords:["open_file_folder","documents","load"],sheet:[26,25],shortName:"open_file_folder"},{name:"Card Index Dividers",unified:"1F5C2-FE0F",keywords:["card_index_dividers","organizing","business","stationery"],sheet:[30,12],shortName:"card_index_dividers"},{name:"Calendar",unified:"1F4C5",keywords:["calendar","calendar","schedule"],sheet:[26,28],shortName:"date"},{name:"Tear-off Calendar",unified:"1F4C6",keywords:["tear_off_calendar","schedule","date","planning"],sheet:[26,29],shortName:"calendar"},{name:"Spiral Notepad",unified:"1F5D2-FE0F",keywords:["spiral_notepad","memo","stationery"],sheet:[30,16],shortName:"spiral_note_pad"},{name:"Spiral Calendar",unified:"1F5D3-FE0F",keywords:["spiral_calendar","date","schedule","planning"],sheet:[30,17],shortName:"spiral_calendar_pad"},{name:"Card Index",unified:"1F4C7",keywords:["card_index","business","stationery"],sheet:[26,30],shortName:"card_index"},{name:"Chart with Upwards Trend",unified:"1F4C8",keywords:["chart_increasing","graph","presentation","stats","recovery","business","economics","money","sales","good","success"],sheet:[26,31],shortName:"chart_with_upwards_trend"},{name:"Chart with Downwards Trend",unified:"1F4C9",keywords:["chart_decreasing","graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],sheet:[26,32],shortName:"chart_with_downwards_trend"},{name:"Bar Chart",unified:"1F4CA",keywords:["bar_chart","graph","presentation","stats"],sheet:[26,33],shortName:"bar_chart"},{name:"Clipboard",unified:"1F4CB",keywords:["clipboard","stationery","documents"],sheet:[26,34],shortName:"clipboard"},{name:"Pushpin",unified:"1F4CC",keywords:["pushpin","stationery","mark","here"],sheet:[26,35],shortName:"pushpin"},{name:"Round Pushpin",unified:"1F4CD",keywords:["round_pushpin","stationery","location","map","here"],sheet:[26,36],shortName:"round_pushpin"},{name:"Paperclip",unified:"1F4CE",keywords:["paperclip","documents","stationery"],sheet:[26,37],shortName:"paperclip"},{name:"Linked Paperclips",unified:"1F587-FE0F",keywords:["linked_paperclips","documents","stationery"],sheet:[29,41],shortName:"linked_paperclips"},{name:"Straight Ruler",unified:"1F4CF",keywords:["straight_ruler","stationery","calculate","length","math","school","drawing","architect","sketch"],sheet:[26,38],short
1Name:"straight_ruler"},{name:"Triangular Ruler",unified:"1F4D0",keywords:["triangular_ruler","stationery","math","architect","sketch"],sheet:[26,39],shortName:"triangular_ruler"},{name:"Black Scissors",unified:"2702-FE0F",keywords:["scissors","stationery","cut"],sheet:[55,44],shortName:"scissors"},{name:"Card File Box",unified:"1F5C3-FE0F",keywords:["card_file_box","business","stationery"],sheet:[30,13],shortName:"card_file_box"},{name:"File Cabinet",unified:"1F5C4-FE0F",keywords:["file_cabinet","filing","organizing"],sheet:[30,14],shortName:"file_cabinet"},{name:"Wastebasket",unified:"1F5D1-FE0F",keywords:["wastebasket","bin","trash","rubbish","garbage","toss"],sheet:[30,15],shortName:"wastebasket"},{name:"Lock",unified:"1F512",keywords:["locked","security","password","padlock"],sheet:[27,46],shortName:"lock"},{name:"Open Lock",unified:"1F513",keywords:["unlocked","privacy","security"],sheet:[27,47],shortName:"unlock"},{name:"Lock with Ink Pen",unified:"1F50F",keywords:["locked_with_pen","security","secret"],sheet:[27,43],shortName:"lock_with_ink_pen"},{name:"Closed Lock with Key",unified:"1F510",keywords:["locked_with_key","security","privacy"],sheet:[27,44],shortName:"closed_lock_with_key"},{name:"Key",unified:"1F511",keywords:["key","lock","door","password"],sheet:[27,45],shortName:"key"},{name:"Old Key",unified:"1F5DD-FE0F",keywords:["old_key","lock","door","password"],sheet:[30,19],shortName:"old_key"},{name:"Hammer",unified:"1F528",keywords:["hammer","tools","build","create"],sheet:[28,10],shortName:"hammer"},{name:"Axe",unified:"1FA93",keywords:["axe","tool","chop","cut"],sheet:[52,35],shortName:"axe"},{name:"Pick",unified:"26CF-FE0F",keywords:["pick","tools","dig"],sheet:[55,10],shortName:"pick"},{name:"Hammer and Pick",unified:"2692-FE0F",keywords:["hammer_and_pick","tools","build","create"],sheet:[54,46],shortName:"hammer_and_pick"},{name:"Hammer and Wrench",unified:"1F6E0-FE0F",keywords:["hammer_and_wrench","tools","build","create"],sheet:[36,35],shortName:"hammer_and_wrench"},{name:"Dagger",unified:"1F5E1-FE0F",keywords:["dagger","weapon"],sheet:[30,21],shortName:"dagger_knife"},{name:"Crossed Swords",unified:"2694-FE0F",keywords:["crossed_swords","weapon"],sheet:[54,48],shortName:"crossed_swords"},{name:"Pistol",unified:"1F52B",keywords:["pistol","violence","weapon","pistol","revolver"],sheet:[28,13],shortName:"gun"},{name:"Boomerang",unified:"1FA83",keywords:["boomerang","weapon"],sheet:[52,28],shortName:"boomerang"},{name:"Bow and Arrow",unified:"1F3F9",keywords:["bow_and_arrow","sports"],sheet:[11,11],shortName:"bow_and_arrow"},{name:"Shield",unified:"1F6E1-FE0F",keywords:["shield","protection","security"],sheet:[36,36],shortName:"shield"},{name:"Carpentry Saw",unified:"1FA9A",keywords:["carpentry saw","cut","chop"],sheet:[52,42],shortName:"carpentry_saw"},{name:"Wrench",unified:"1F527",keywords:["wrench","tools","diy","ikea","fix","maintainer"],sheet:[28,9],shortName:"wrench"},{name:"Screwdriver",unified:"1FA9B",keywords:["screwdriver","tools"],sheet:[52,43],shortName:"screwdriver"},{name:"Nut and Bolt",unified:"1F529",keywords:["nut_and_bolt","handy","tools","fix"],sheet:[28,11],shortName:"nut_and_bolt"},{name:"Gear",unified:"2699-FE0F",keywords:["gear","cog"],sheet:[54,52],shortName:"gear"},{name:"Clamp",unified:"1F5DC-FE0F",keywords:["clamp","tool"],sheet:[30,18],shortName:"compression"},{name:"Balance Scale",unified:"2696-FE0F",keywords:["balance_scale","law","fairness","weight"],sheet:[54,50],shortName:"scales"},{name:"Probing Cane",unified:"1F9AF",keywords:["probing_cane","accessibility"],sheet:[43,22],shortName:"probing_cane"},{name:"Link Symbol",unified:"1F517",keywords:["link","rings","url"],sheet:[27,51],shortName:"link"},{name:"Chains",unified:"26D3-FE0F",keywords:["chains","lock","arrest"],sheet:[55,12],shortName:"chains"},{name:"Hook",unified:"1FA9D",keywords:["hook","tools"],sheet:[52,45],shortName:"hook"},{name:"Toolbox",unified:"1F9F0",keywords:["toolbox","tools","diy","fix","maintainer","mechanic"],sheet:[52,1],shortName:"toolbox"},{name:"Magnet",unified:"1F9F2",keywords:["magnet","attraction","magnetic"],sheet:[52,3],short
1Name:"magnet"},{name:"Ladder",unified:"1FA9C",keywords:["ladder","tools"],sheet:[52,44],shortName:"ladder"},{name:"Alembic",unified:"2697-FE0F",keywords:["alembic","distilling","science","experiment","chemistry"],sheet:[54,51],shortName:"alembic"},{name:"Test Tube",unified:"1F9EA",keywords:["test_tube","chemistry","experiment","lab","science"],sheet:[51,53],shortName:"test_tube"},{name:"Petri Dish",unified:"1F9EB",keywords:["petri_dish","bacteria","biology","culture","lab"],sheet:[51,54],shortName:"petri_dish"},{name:"Dna Double Helix",unified:"1F9EC",keywords:["dna","biologist","genetics","life"],sheet:[51,55],shortName:"dna"},{name:"Microscope",unified:"1F52C",keywords:["microscope","laboratory","experiment","zoomin","science","study"],sheet:[28,14],shortName:"microscope"},{name:"Telescope",unified:"1F52D",keywords:["telescope","stars","space","zoom","science","astronomy"],sheet:[28,15],shortName:"telescope"},{name:"Satellite Antenna",unified:"1F4E1",keywords:["satellite_antenna","communication","future","radio","space"],sheet:[26,56],shortName:"satellite_antenna"},{name:"Syringe",unified:"1F489",keywords:["syringe","health","hospital","drugs","blood","medicine","needle","doctor","nurse"],sheet:[25,21],shortName:"syringe"},{name:"Drop of Blood",unified:"1FA78",keywords:["drop_of_blood","period","hurt","harm","wound"],sheet:[52,22],shortName:"drop_of_blood"},{name:"Pill",unified:"1F48A",keywords:["pill","health","medicine","doctor","pharmacy","drug"],sheet:[25,22],shortName:"pill"},{name:"Adhesive Bandage",unified:"1FA79",keywords:["adhesive_bandage","heal"],sheet:[52,23],shortName:"adhesive_bandage"},{name:"Stethoscope",unified:"1FA7A",keywords:["stethoscope","health"],sheet:[52,24],shortName:"stethoscope"},{name:"Door",unified:"1F6AA",keywords:["door","house","entry","exit"],sheet:[34,51],shortName:"door"},{name:"Elevator",unified:"1F6D7",keywords:["elevator","lift"],sheet:[36,34],shortName:"elevator"},{name:"Mirror",unified:"1FA9E",keywords:["mirror","reflection"],sheet:[52,46],shortName:"mirror"},{name:"Window",unified:"1FA9F",keywords:["window","scenery"],sheet:[52,47],shortName:"window"},{name:"Bed",unified:"1F6CF-FE0F",keywords:["bed","sleep","rest"],sheet:[36,28],shortName:"bed"},{name:"Couch and Lamp",unified:"1F6CB-FE0F",keywords:["couch_and_lamp","read","chill"],sheet:[36,19],shortName:"couch_and_lamp"},{name:"Chair",unified:"1FA91",keywords:["chair","sit","furniture"],sheet:[52,33],shortName:"chair"},{name:"Toilet",unified:"1F6BD",keywords:["toilet","restroom","wc","washroom","bathroom","potty"],sheet:[36,5],shortName:"toilet"},{name:"Plunger",unified:"1FAA0",keywords:["plunger","toilet"],sheet:[52,48],shortName:"plunger"},{name:"Shower",unified:"1F6BF",keywords:["shower","clean","water","bathroom"],sheet:[36,7],shortName:"shower"},{name:"Bathtub",unified:"1F6C1",keywords:["bathtub","clean","shower","bathroom"],sheet:[36,14],short
1Name:"bathtub"},{name:"Mouse Trap",unified:"1FAA4",keywords:["mouse trap","cheese"],sheet:[52,52],shortName:"mouse_trap"},{name:"Razor",unified:"1FA92",keywords:["razor","cut"],sheet:[52,34],shortName:"razor"},{name:"Lotion Bottle",unified:"1F9F4",keywords:["lotion_bottle","moisturizer","sunscreen"],sheet:[52,5],shortName:"lotion_bottle"},{name:"Safety Pin",unified:"1F9F7",keywords:["safety_pin","diaper"],sheet:[52,8],shortName:"safety_pin"},{name:"Broom",unified:"1F9F9",keywords:["broom","cleaning","sweeping","witch"],sheet:[52,10],shortName:"broom"},{name:"Basket",unified:"1F9FA",keywords:["basket","laundry"],sheet:[52,11],shortName:"basket"},{name:"Roll of Paper",unified:"1F9FB",keywords:["roll_of_paper","roll"],sheet:[52,12],shortName:"roll_of_paper"},{name:"Bucket",unified:"1FAA3",keywords:["bucket","water","container"],sheet:[52,51],shortName:"bucket"},{name:"Bar of Soap",unified:"1F9FC",keywords:["soap","bar","bathing","cleaning","lather"],sheet:[52,13],shortName:"soap"},{name:"Toothbrush",unified:"1FAA5",keywords:["toothbrush","hygiene","dental"],sheet:[52,53],shortName:"toothbrush"},{name:"Sponge",unified:"1F9FD",keywords:["sponge","absorbing","cleaning","porous"],sheet:[52,14],shortName:"sponge"},{name:"Fire Extinguisher",unified:"1F9EF",keywords:["fire_extinguisher","quench"],sheet:[52,0],shortName:"fire_extinguisher"},{name:"Shopping Trolley",unified:"1F6D2",keywords:["shopping_cart","trolley"],sheet:[36,31],shortName:"shopping_trolley"},{name:"Smoking Symbol",unified:"1F6AC",keywords:["cigarette","kills","tobacco","cigarette","joint","smoke"],sheet:[34,53],shortName:"smoking"},{name:"Coffin",unified:"26B0-FE0F",keywords:["coffin","vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],sheet:[55,2],shortName:"coffin"},{name:"Headstone",unified:"1FAA6",keywords:["headstone","death","rip","grave"],sheet:[52,54],shortName:"headstone"},{name:"Funeral Urn",unified:"26B1-FE0F",keywords:["funeral_urn","dead","die","death","rip","ashes"],sheet:[55,3],shortName:"funeral_urn"},{name:"Moyai",unified:"1F5FF",keywords:["moai","rock","easter island","moai"],sheet:[30,31],shortName:"moyai"},{name:"Placard",unified:"1FAA7",keywords:["placard","announcement"],sheet:[52,55],shortName:"placard"},{name:"Automated Teller Machine",unified:"1F3E7",keywords:["atm_sign","money","sales","cash","blue-square","payment","bank"],sheet:[10,48],shortName:"atm"},{name:"Put Litter in Its Place Symbol",unified:"1F6AE",keywords:["litter_in_bin_sign","blue-square","sign","human","info"],sheet:[34,55],shortName:"put_litter_in_its_place"},{name:"Potable Water Symbol",unified:"1F6B0",keywords:["potable_water","blue-square","liquid","restroom","cleaning","faucet"],sheet:[34,57],shortName:"potable_water"},{name:"Wheelchair Symbol",unified:"267F",keywords:["wheelchair_symbol","blue-square","disabled","accessibility"],sheet:[54,45],shortName:"wheelchair"},{name:"Mens Symbol",unified:"1F6B9",keywords:["men_s_room","toilet","restroom","wc","blue-square","gender","male"],sheet:[36,1],shortName:"mens"},{name:"Womens Symbol",unified:"1F6BA",keywords:["women_s_room","purple-square","woman","female","toilet","loo","restroom","gender"],sheet:[36,2],shortName:"womens"},{name:"Restroom",unified:"1F6BB",keywords:["restroom","blue-square","toilet","refresh","wc","gender"],sheet:[36,3],shortName:"restroom"},{name:"Baby Symbol",unified:"1F6BC",keywords:["baby_symbol","orange-square","child"],sheet:[36,4],shortName:"baby_symbol"},{name:"Water Closet",unified:"1F6BE",keywords:["water_closet","toilet","restroom","blue-square"],sheet:[36,6],shortName:"wc"},{name:"Passport Control",unified:"1F6C2",keywords:["passport_control","custom","blue-square"],sheet:[36,15],shortName:"passport_control"},{name:"Customs",unified:"1F6C3",keywords:["customs","passport","border","blue-square"],sheet:[36,16],shortName:"customs"},{name:"Baggage Claim",unified:"1F6C4",keywords:["baggage_claim","blue-square","airport","transport"],sheet:[36,17],shortName:"baggage_claim"},{name:"Left Luggage",unified:"1F6C5",keywords:["left_luggage","blue-square","travel"],sheet:[36,18],shortName:"left_luggage"}
1,{name:"Warning Sign",unified:"26A0-FE0F",keywords:["warning","exclamation","wip","alert","error","problem","issue"],sheet:[54,55],shortName:"warning"},{name:"Children Crossing",unified:"1F6B8",keywords:["children_crossing","school","warning","danger","sign","driving","yellow-diamond"],sheet:[36,0],shortName:"children_crossing"},{name:"No Entry",unified:"26D4",keywords:["no_entry","limit","security","privacy","bad","denied","stop","circle"],sheet:[55,13],shortName:"no_entry"},{name:"No Entry Sign",unified:"1F6AB",keywords:["prohibited","forbid","stop","limit","denied","disallow","circle"],sheet:[34,52],shortName:"no_entry_sign"},{name:"No Bicycles",unified:"1F6B3",keywords:["no_bicycles","cyclist","prohibited","circle"],sheet:[35,2],shortName:"no_bicycles"},{name:"No Smoking Symbol",unified:"1F6AD",keywords:["no_smoking","cigarette","blue-square","smell","smoke"],sheet:[34,54],shortName:"no_smoking"},{name:"Do Not Litter Symbol",unified:"1F6AF",keywords:["no_littering","trash","bin","garbage","circle"],sheet:[34,56],shortName:"do_not_litter"},{name:"Non-Potable Water Symbol",unified:"1F6B1",keywords:["non_potable_water","drink","faucet","tap","circle"],sheet:[35,0],shortName:"non-potable_water"},{name:"No Pedestrians",unified:"1F6B7",keywords:["no_pedestrians","rules","crossing","walking","circle"],sheet:[35,57],shortName:"no_pedestrians"},{name:"No Mobile Phones",unified:"1F4F5",keywords:["no_mobile_phones","iphone","mute","circle"],sheet:[27,18],shortName:"no_mobile_phones"},{name:"No One Under Eighteen Symbol",unified:"1F51E",keywords:["no_one_under_eighteen","18","drink","pub","night","minor","circle"],sheet:[28,0],shortName:"underage"},{name:"Radioactive",unified:"2622-FE0F",keywords:["radioactive","nuclear","danger"],sheet:[54,14],shortName:"radioactive_sign"},{name:"Biohazard",unified:"2623-FE0F",keywords:["biohazard","danger"],sheet:[54,15],shortName:"biohazard_sign"},{name:"Upwards Black Arrow",unified:"2B06-FE0F",keywords:["up_arrow","blue-square","continue","top","direction"],sheet:[56,42],shortName:"arrow_up"},{name:"North East Arrow",unified:"2197-FE0F",keywords:["up_right_arrow","blue-square","point","direction","diagonal","northeast"],sheet:[53,23],shortName:"arrow_upper_right"},{name:"Black Rightwards Arrow",unified:"27A1-FE0F",keywords:["right_arrow","blue-square","next"],sheet:[56,36],shortName:"arrow_right"},{name:"South East Arrow",unified:"2198-FE0F",keywords:["down_right_arrow","blue-square","direction","diagonal","southeast"],sheet:[53,24],shortName:"arrow_lower_right"},{name:"Downwards Black Arrow",unified:"2B07-FE0F",keywords:["down_arrow","blue-square","direction","bottom"],sheet:[56,43],shortName:"arrow_down"},{name:"South West Arrow",unified:"2199-FE0F",keywords:["down_left_arrow","blue-square","direction","diagonal","southwest"],sheet:[53,25],shortName:"arrow_lower_left"},{name:"Leftwards Black Arrow",unified:"2B05-FE0F",keywords:["left_arrow","blue-square","previous","back"],sheet:[56,41],shortName:"arrow_left"},{name:"North West Arrow",unified:"2196-FE0F",keywords:["up_left_arrow","blue-square","point","direction","diagonal","northwest"],sheet:[53,22],shortName:"arrow_upper_left"},{name:"Up Down Arrow",unified:"2195-FE0F",keywords:["up_down_arrow","blue-square","direction","way","vertical"],sheet:[53,21],shortName:"arrow_up_down"},{name:"Left Right Arrow",unified:"2194-FE0F",keywords:["left_right_arrow","shape","direction","horizontal","sideways"],sheet:[53,20],shortName:"left_right_arrow"},{name:"Leftwards Arrow with Hook",unified:"21A9-FE0F",keywords:["right_arrow_curving_left","back","return","blue-square","undo","enter"],sheet:[53,26],shortName:"leftwards_arrow_with_hook"},{name:"Rightwards Arrow with Hook",unified:"21AA-FE0F",keywords:["left_arrow_curving_right","blue-square","return","rotate","direction"],sheet:[53,27],shortName:"arrow_right_hook"},{name:"Arrow Pointing Rightwards Then Curving Upwards",unified:"2934-FE0F",keywords:["right_arrow_curving_up","blue-square","direction","top"],sheet:[56,39],shortName:"arrow_heading_up"},{name:"Arrow Pointing Rightwards Then Curving Downwards",unified:"2935-FE0F",keywords:["right_arrow_curving_down","blue-square","direction","bottom"],sheet:[56,40],shortName:"arrow_heading_down"},{name:"Clockwise Downwards and Upwards Open Circle Arrows",unified:"1F503",keywords:["clockwise_vertical_arrows","sync","cycle","round","repeat"],sheet:[27,31],shortName:"arrows_clockwise"},{name:"Anticlockwise Downwards and Upwards Open Circle Arrows",unified:"1F504",keywords:["counterclockwise_arrows_button","blue-square","sync","cycle"],sheet:[27,32],shortName:"arrows_counterclockwise"},{name:"Back with Leftwards Arrow Above",unified:"1F519",keywords:["back_arrow","arrow","words","return"],sheet:[27,53],shortName:"back"},{name:"End with Leftwards Arrow Above",unified:"1F51A",keywords:["end_arrow","words","arrow"],sheet:[27,54],short
1Name:"end"},{name:"On with Exclamation Mark with Left Right Arrow Above",unified:"1F51B",keywords:["on_arrow","arrow","words"],sheet:[27,55],shortName:"on"},{name:"Soon with Rightwards Arrow Above",unified:"1F51C",keywords:["soon_arrow","arrow","words"],sheet:[27,56],shortName:"soon"},{name:"Top with Upwards Arrow Above",unified:"1F51D",keywords:["top_arrow","words","blue-square"],sheet:[27,57],shortName:"top"},{name:"Place of Worship",unified:"1F6D0",keywords:["place_of_worship","religion","church","temple","prayer"],sheet:[36,29],shortName:"place_of_worship"},{name:"Atom Symbol",unified:"269B-FE0F",keywords:["atom_symbol","science","physics","chemistry"],sheet:[54,53],shortName:"atom_symbol"},{name:"Om",unified:"1F549-FE0F",keywords:["om","hinduism","buddhism","sikhism","jainism"],sheet:[28,32],shortName:"om_symbol"},{name:"Star of David",unified:"2721-FE0F",keywords:["star_of_david","judaism"],sheet:[56,19],shortName:"star_of_david"},{name:"Wheel of Dharma",unified:"2638-FE0F",keywords:["wheel_of_dharma","hinduism","buddhism","sikhism","jainism"],sheet:[54,20],shortName:"wheel_of_dharma"},{name:"Yin Yang",unified:"262F-FE0F",keywords:["yin_yang","balance"],sheet:[54,19],shortName:"yin_yang"},{name:"Latin Cross",unified:"271D-FE0F",keywords:["latin_cross","christianity"],sheet:[56,18],shortName:"latin_cross"},{name:"Orthodox Cross",unified:"2626-FE0F",keywords:["orthodox_cross","suppedaneum","religion"],sheet:[54,16],shortName:"orthodox_cross"},{name:"Star and Crescent",unified:"262A-FE0F",keywords:["star_and_crescent","islam"],sheet:[54,17],shortName:"star_and_crescent"},{name:"Peace Symbol",unified:"262E-FE0F",keywords:["peace_symbol","hippie"],sheet:[54,18],shortName:"peace_symbol"},{name:"Menorah with Nine Branches",unified:"1F54E",keywords:["menorah","hanukkah","candles","jewish"],sheet:[28,37],shortName:"menorah_with_nine_branches"},{name:"Six Pointed Star with Middle Dot",unified:"1F52F",keywords:["dotted_six_pointed_star","purple-square","religion","jewish","hexagram"],sheet:[28,17],shortName:"six_pointed_star"},{name:"Aries",unified:"2648",keywords:["aries","sign","purple-square","zodiac","astrology"],sheet:[54,25],shortName:"aries"},{name:"Taurus",unified:"2649",keywords:["taurus","purple-square","sign","zodiac","astrology"],sheet:[54,26],shortName:"taurus"},{name:"Gemini",unified:"264A",keywords:["gemini","sign","zodiac","purple-square","astrology"],sheet:[54,27],shortName:"gemini"},{name:"Cancer",unified:"264B",keywords:["cancer","sign","zodiac","purple-square","astrology"],sheet:[54,28],shortName:"cancer"},{name:"Leo",unified:"264C",keywords:["leo","sign","purple-square","zodiac","astrology"],sheet:[54,29],shortName:"leo"},{name:"Virgo",unified:"264D",keywords:["virgo","sign","zodiac","purple-square","astrology"],sheet:[54,30],shortName:"virgo"},{name:"Libra",unified:"264E",keywords:["libra","sign","purple-square","zodiac","astrology"],sheet:[54,31],shortName:"libra"},{name:"Scorpius",unified:"264F",keywords:["scorpio","sign","zodiac","purple-square","astrology","scorpio"],sheet:[54,32],shortName:"scorpius"},{name:"Sagittarius",unified:"2650",keywords:["sagittarius","sign","zodiac","purple-square","astrology"],sheet:[54,33],shortName:"sagittarius"},{name:"Capricorn",unified:"2651",keywords:["capricorn","sign","zodiac","purple-square","astrology"],sheet:[54,34],shortName:"capricorn"},{name:"Aquarius",unified:"2652",keywords:["aquarius","sign","purple-square","zodiac","astrology"],sheet:[54,35],shortName:"aquarius"},{name:"Pisces",unified:"2653",keywords:["pisces","purple-square","sign","zodiac","astrology"],sheet:[54,36],shortName:"pisces"},{name:"Ophiuchus",unified:"26CE",keywords:["ophiuchus","sign","purple-square","constellation","astrology"],sheet:[55,9],shortName:"ophiuchus"},{name:"Twisted Rightwards Arrows",unified:"1F500",keywords:["shuffle_tracks_button","blue-square","shuffle","music","random"],sheet:[27,28],shortName:"twisted_rightwards_arrows"},{name:"Clockwise Rightwards and Leftwards Open Circle Arrows",unified:"1F501",keywords:["repeat_button","loop","record"],sheet:[27,29],short
1Name:"repeat"},{name:"Clockwise Rightwards and Leftwards Open Circle Arrows with Circled One Overlay",unified:"1F502",keywords:["repeat_single_button","blue-square","loop"],sheet:[27,30],shortName:"repeat_one"},{name:"Black Right-Pointing Triangle",unified:"25B6-FE0F",keywords:["play_button","blue-square","right","direction","play"],sheet:[53,49],shortName:"arrow_forward"},{name:"Black Right-Pointing Double Triangle",unified:"23E9",keywords:["fast_forward_button","blue-square","play","speed","continue"],sheet:[53,32],shortName:"fast_forward"},{name:"Next Track Button",unified:"23ED-FE0F",keywords:["next_track_button","forward","next","blue-square"],sheet:[53,36],shortName:"black_right_pointing_double_triangle_with_vertical_bar"},{name:"Play or Pause Button",unified:"23EF-FE0F",keywords:["play_or_pause_button","blue-square","play","pause"],sheet:[53,38],shortName:"black_right_pointing_triangle_with_double_vertical_bar"},{name:"Black Left-Pointing Triangle",unified:"25C0-FE0F",keywords:["reverse_button","blue-square","left","direction"],sheet:[53,50],shortName:"arrow_backward"},{name:"Black Left-Pointing Double Triangle",unified:"23EA",keywords:["fast_reverse_button","play","blue-square"],sheet:[53,33],shortName:"rewind"},{name:"Last Track Button",unified:"23EE-FE0F",keywords:["last_track_button","backward"],sheet:[53,37],shortName:"black_left_pointing_double_triangle_with_vertical_bar"},{name:"Up-Pointing Small Red Triangle",unified:"1F53C",keywords:["upwards_button","blue-square","triangle","direction","point","forward","top"],sheet:[28,30],shortName:"arrow_up_small"},{name:"Black Up-Pointing Double Triangle",unified:"23EB",keywords:["fast_up_button","blue-square","direction","top"],sheet:[53,34],shortName:"arrow_double_up"},{name:"Down-Pointing Small Red Triangle",unified:"1F53D",keywords:["downwards_button","blue-square","direction","bottom"],sheet:[28,31],shortName:"arrow_down_small"},{name:"Black Down-Pointing Double Triangle",unified:"23EC",keywords:["fast_down_button","blue-square","direction","bottom"],sheet:[53,35],shortName:"arrow_double_down"},{name:"Pause Button",unified:"23F8-FE0F",keywords:["pause_button","pause","blue-square"],sheet:[53,43],shortName:"double_vertical_bar"},{name:"Stop Button",unified:"23F9-FE0F",keywords:["stop_button","blue-square"],sheet:[53,44],shortName:"black_square_for_stop"},{name:"Record Button",unified:"23FA-FE0F",keywords:["record_button","blue-square"],sheet:[53,45],shortName:"black_circle_for_record"},{name:"Eject Button",unified:"23CF-FE0F",keywords:["eject_button","blue-square"],sheet:[53,31],shortName:"eject"},{name:"Cinema",unified:"1F3A6",keywords:["cinema","blue-square","record","film","movie","curtain","stage","theater"],sheet:[8,4],shortName:"cinema"},{name:"Low Brightness Symbol",unified:"1F505",keywords:["dim_button","sun","afternoon","warm","summer"],sheet:[27,33],shortName:"low_brightness"},{name:"High Brightness Symbol",unified:"1F506",keywords:["bright_button","sun","light"],sheet:[27,34],shortName:"high_brightness"},{name:"Antenna with Bars",unified:"1F4F6",keywords:["antenna_bars","blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],sheet:[27,19],shortName:"signal_strength"},{name:"Vibration Mode",unified:"1F4F3",keywords:["vibration_mode","orange-square","phone"],sheet:[27,16],shortName:"vibration_mode"},{name:"Mobile Phone off",unified:"1F4F4",keywords:["mobile_phone_off","mute","orange-square","silence","quiet"],sheet:[27,17],shortName:"mobile_phone_off"},{name:"Female Sign",unified:"2640-FE0F",keywords:["female_sign","woman","women","lady","girl"],sheet:[54,23],hidden:["apple"],shortName:"female_sign"},{name:"Male Sign",unified:"2642-FE0F",keywords:["male_sign","man","boy","men"],sheet:[54,24],hidden:["apple"],shortName:"male_sign"},{name:"Transgender Symbol",unified:"26A7-FE0F",keywords:["transgender symbol","lgbtq"],sheet:[54,57],shortName:"transgender_symbol"},{name:"Heavy Multiplication X",unified:"2716-FE0F",keywords:["multiplication_sign","math","calculation"],sheet:[56,17],shortName:"heavy_multiplication_x"},{name:"Heavy Plus Sign",unified:"2795",keywords:["plus_sign","math","calculation","addition","more","increase"],sheet:[56,33],short
1Name:"heavy_plus_sign"},{name:"Heavy Minus Sign",unified:"2796",keywords:["minus_sign","math","calculation","subtract","less"],sheet:[56,34],shortName:"heavy_minus_sign"},{name:"Heavy Division Sign",unified:"2797",keywords:["division_sign","divide","math","calculation"],sheet:[56,35],shortName:"heavy_division_sign"},{name:"Infinity",unified:"267E-FE0F",keywords:["infinity","forever"],sheet:[54,44],shortName:"infinity"},{name:"Double Exclamation Mark",unified:"203C-FE0F",keywords:["double_exclamation_mark","exclamation","surprise"],sheet:[53,16],shortName:"bangbang"},{name:"Exclamation Question Mark",unified:"2049-FE0F",keywords:["exclamation_question_mark","wat","punctuation","surprise"],sheet:[53,17],shortName:"interrobang"},{name:"Black Question Mark Ornament",unified:"2753",keywords:["question_mark","doubt","confused"],sheet:[56,27],shortName:"question"},{name:"White Question Mark Ornament",unified:"2754",keywords:["white_question_mark","doubts","gray","huh","confused"],sheet:[56,28],shortName:"grey_question"},{name:"White Exclamation Mark Ornament",unified:"2755",keywords:["white_exclamation_mark","surprise","punctuation","gray","wow","warning"],sheet:[56,29],short
1Name:"grey_exclamation"},{name:"Heavy Exclamation Mark Symbol",unified:"2757",keywords:["exclamation_mark","heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],sheet:[56,30],shortNames:["heavy_exclamation_mark"],shortName:"exclamation"},{name:"Wavy Dash",unified:"3030-FE0F",keywords:["wavy_dash","draw","line","moustache","mustache","squiggle","scribble"],sheet:[56,48],shortName:"wavy_dash"},{name:"Currency Exchange",unified:"1F4B1",keywords:["currency_exchange","money","sales","dollar","travel"],sheet:[26,8],shortName:"currency_exchange"},{name:"Heavy Dollar Sign",unified:"1F4B2",keywords:["heavy_dollar_sign","money","sales","payment","currency","buck"],sheet:[26,9],shortName:"heavy_dollar_sign"},{name:"Medical Symbol",unified:"2695-FE0F",keywords:["medical_symbol","health","hospital"],sheet:[54,49],hidden:["apple"],shortNames:["staff_of_aesculapius"],shortName:"medical_symbol"},{name:"Black Universal Recycling Symbol",unified:"267B-FE0F",keywords:["recycling_symbol","arrow","environment","garbage","trash"],sheet:[54,43],shortName:"recycle"},{name:"Fleur-De-Lis",unified:"269C-FE0F",keywords:["fleur_de_lis","decorative","scout"],sheet:[54,54],shortName:"fleur_de_lis"},{name:"Trident Emblem",unified:"1F531",keywords:["trident_emblem","weapon","spear"],sheet:[28,19],shortName:"trident"},{name:"Name Badge",unified:"1F4DB",keywords:["name_badge","fire","forbid"],sheet:[26,50],shortName:"name_badge"},{name:"Japanese Symbol for Beginner",unified:"1F530",keywords:["japanese_symbol_for_beginner","badge","shield"],sheet:[28,18],shortName:"beginner"},{name:"Heavy Large Circle",unified:"2B55",keywords:["hollow_red_circle","circle","round"],sheet:[56,47],shortName:"o"},{name:"White Heavy Check Mark",unified:"2705",keywords:["check_mark_button","green-square","ok","agree","vote","election","answer","tick"],sheet:[55,45],shortName:"white_check_mark"},{name:"Ballot Box with Check",unified:"2611-FE0F",keywords:["check_box_with_check","ok","agree","confirm","black-square","vote","election","yes","tick"],sheet:[54,3],shortName:"ballot_box_with_check"},{name:"Heavy Check Mark",unified:"2714-FE0F",keywords:["check_mark","ok","nike","answer","yes","tick"],sheet:[56,16],shortName:"heavy_check_mark"},{name:"Cross Mark",unified:"274C",keywords:["cross_mark","no","delete","remove","cancel","red"],sheet:[56,25],shortName:"x"},{name:"Negative Squared Cross Mark",unified:"274E",keywords:["cross_mark_button","x","green-square","no","deny"],sheet:[56,26],shortName:"negative_squared_cross_mark"},{name:"Curly Loop",unified:"27B0",keywords:["curly_loop","scribble","draw","shape","squiggle"],sheet:[56,37],shortName:"curly_loop"},{name:"Double Curly Loop",unified:"27BF",keywords:["double_curly_loop","tape","cassette"],sheet:[56,38],shortName:"loop"},{name:"Part Alternation Mark",unified:"303D-FE0F",keywords:["part_alternation_mark","graph","presentation","stats","business","economics","bad"],sheet:[56,49],shortName:"part_alternation_mark"},{name:"Eight Spoked Asterisk",unified:"2733-FE0F",keywords:["eight_spoked_asterisk","star","sparkle","green-square"],sheet:[56,21],shortName:"eight_spoked_asterisk"},{name:"Eight Pointed Black Star",unified:"2734-FE0F",keywords:["eight_pointed_star","orange-square","shape","polygon"],sheet:[56,22],shortName:"eight_pointed_black_star"},{name:"Sparkle",unified:"2747-FE0F",keywords:["sparkle","stars","green-square","awesome","good","fireworks"],sheet:[56,24],shortName:"sparkle"},{name:"Copyright Sign",unified:"00A9-FE0F",keywords:["copyright","ip","license","circle","law","legal"],sheet:[0,12],hidden:["facebook"],shortName:"copyright"},{name:"Registered Sign",unified:"00AE-FE0F",keywords:["registered","alphabet","circle"],sheet:[0,13],hidden:["facebook"],shortName:"registered"},{name:"Trade Mark Sign",unified:"2122-FE0F",keywords:["trade_mark","trademark","brand","law","legal"],sheet:[53,18],shortName:"tm"},{name:"Hash Key",unified:"0023-FE0F-20E3",keywords:["keycap_","symbol","blue-square","twitter"],sheet:[0,0],hidden:["facebook"],shortName:"hash"},{name:"Keycap: *",unified:"002A-FE0F-20E3",keywords:["keycap_","star","keycap"],sheet:[0,1],hidden:["facebook"],short
1Name:"keycap_star"},{name:"Keycap 0",unified:"0030-FE0F-20E3",keywords:["keycap_0","0","numbers","blue-square","null"],sheet:[0,2],hidden:["facebook"],shortName:"zero"},{name:"Keycap 1",unified:"0031-FE0F-20E3",keywords:["keycap_1","blue-square","numbers","1"],sheet:[0,3],hidden:["facebook"],shortName:"one"},{name:"Keycap 2",unified:"0032-FE0F-20E3",keywords:["keycap_2","numbers","2","prime","blue-square"],sheet:[0,4],hidden:["facebook"],shortName:"two"},{name:"Keycap 3",unified:"0033-FE0F-20E3",keywords:["keycap_3","3","numbers","prime","blue-square"],sheet:[0,5],hidden:["facebook"],shortName:"three"},{name:"Keycap 4",unified:"0034-FE0F-20E3",keywords:["keycap_4","4","numbers","blue-square"],sheet:[0,6],hidden:["facebook"],shortName:"four"},{name:"Keycap 5",unified:"0035-FE0F-20E3",keywords:["keycap_5","5","numbers","blue-square","prime"],sheet:[0,7],hidden:["facebook"],shortName:"five"},{name:"Keycap 6",unified:"0036-FE0F-20E3",keywords:["keycap_6","6","numbers","blue-square"],sheet:[0,8],hidden:["facebook"],shortName:"six"},{name:"Keycap 7",unified:"0037-FE0F-20E3",keywords:["keycap_7","7","numbers","blue-square","prime"],sheet:[0,9],hidden:["facebook"],shortName:"seven"},{name:"Keycap 8",unified:"0038-FE0F-20E3",keywords:["keycap_8","8","blue-square","numbers"],sheet:[0,10],hidden:["facebook"],shortName:"eight"},{name:"Keycap 9",unified:"0039-FE0F-20E3",keywords:["keycap_9","blue-square","numbers","9"],sheet:[0,11],hidden:["facebook"],shortName:"nine"},{name:"Keycap Ten",unified:"1F51F",keywords:["keycap_10","numbers","10","blue-square"],sheet:[28,1],shortName:"keycap_ten"},{name:"Input Symbol for Latin Capital Letters",unified:"1F520",keywords:["input_latin_uppercase","alphabet","words","blue-square"],sheet:[28,2],shortName:"capital_abcd"},{name:"Input Symbol for Latin Small Letters",unified:"1F521",keywords:["input_latin_lowercase","blue-square","alphabet"],sheet:[28,3],shortName:"abcd"},{name:"Input Symbol for Numbers",unified:"1F522",keywords:["input_numbers","numbers","blue-square"],sheet:[28,4],shortName:"1234"},{name:"Input Symbol for Symbols",unified:"1F523",keywords:["input_symbols","blue-square","music","note","ampersand","percent","glyphs","characters"],sheet:[28,5],shortName:"symbols"},{name:"Input Symbol for Latin Letters",unified:"1F524",keywords:["input_latin_letters","blue-square","alphabet"],sheet:[28,6],shortName:"abc"},{name:"Negative Squared Latin Capital Letter a",unified:"1F170-FE0F",keywords:["a_button","red-square","alphabet","letter"],sheet:[0,16],shortName:"a"},{name:"Negative Squared Ab",unified:"1F18E",keywords:["ab_button","red-square","alphabet"],sheet:[0,20],shortName:"ab"},{name:"Negative Squared Latin Capital Letter B",unified:"1F171-FE0F",keywords:["b_button","red-square","alphabet","letter"],sheet:[0,17],shortName:"b"},{name:"Squared Cl",unified:"1F191",keywords:["cl_button","alphabet","words","red-square"],sheet:[0,21],shortName:"cl"},{name:"Squared Cool",unified:"1F192",keywords:["cool_button","words","blue-square"],sheet:[0,22],shortName:"cool"},{name:"Squared Free",unified:"1F193",keywords:["free_button","blue-square","words"],sheet:[0,23],shortName:"free"},{name:"Information Source",unified:"2139-FE0F",keywords:["information","blue-square","alphabet","letter"],sheet:[53,19],shortName:"information_source"},{name:"Squared Id",unified:"1F194",keywords:["id_button","purple-square","words"],sheet:[0,24],shortName:"id"},{name:"Circled Latin Capital Letter M",unified:"24C2-FE0F",keywords:["circled_m","alphabet","blue-circle","letter"],sheet:[53,46],shortName:"m"},{name:"Squared New",unified:"1F195",keywords:["new_button","blue-square","words","start"],sheet:[0,25],shortName:"new"},{name:"Squared Ng",unified:"1F196",keywords:["ng_button","blue-square","words","shape","icon"],sheet:[0,26],shortName:"ng"},{name:"Negative Squared Latin Capital Letter O",unified:"1F17E-FE0F",keywords:["o_button","alphabet","red-square","letter"],sheet:[0,18],shortName:"o2"},{name:"Squared Ok",unified:"1F197",keywords:["ok_button","good","agree","yes","blue-square"],sheet:[0,27],shortName:"ok"},{name:"Negative Squared Latin Capital Letter P",unified:"1F17F-FE0F",keywords:["p_button","cars","blue-square","alphabet","letter"],sheet:[0,19],shortName:"parking"},{name:"Squared Sos",unified:"1F198",keywords:["sos_button","help","red-square","words","emergency","911"],sheet:[0,28],short
1Name:"sos"},{name:"Squared Up with Exclamation Mark",unified:"1F199",keywords:["up_button","blue-square","above","high"],sheet:[0,29],shortName:"up"},{name:"Squared Vs",unified:"1F19A",keywords:["vs_button","words","orange-square"],sheet:[0,30],shortName:"vs"},{name:"Squared Katakana Koko",unified:"1F201",keywords:["japanese_here_button","blue-square","here","katakana","japanese","destination"],sheet:[4,57],shortName:"koko"},{name:"Squared Katakana Sa",unified:"1F202-FE0F",keywords:["japanese_service_charge_button","japanese","blue-square","katakana"],sheet:[5,0],shortName:"sa"},{name:"Squared Cjk Unified Ideograph-6708",unified:"1F237-FE0F",keywords:["japanese_monthly_amount_button","chinese","month","moon","japanese","orange-square","kanji"],sheet:[5,8],shortName:"u6708"},{name:"Squared Cjk Unified Ideograph-6709",unified:"1F236",keywords:["japanese_not_free_of_charge_button","orange-square","chinese","have","kanji"],sheet:[5,7],shortName:"u6709"},{name:"Squared Cjk Unified Ideograph-6307",unified:"1F22F",keywords:["japanese_reserved_button","chinese","point","green-square","kanji"],sheet:[5,2],shortName:"u6307"},{name:"Circled Ideograph Advantage",unified:"1F250",keywords:["japanese_bargain_button","chinese","kanji","obtain","get","circle"],sheet:[5,12],shortName:"ideograph_advantage"},{name:"Squared Cjk Unified Ideograph-5272",unified:"1F239",keywords:["japanese_discount_button","cut","divide","chinese","kanji","pink-square"],sheet:[5,10],shortName:"u5272"},{name:"Squared Cjk Unified Ideograph-7121",unified:"1F21A",keywords:["japanese_free_of_charge_button","nothing","chinese","kanji","japanese","orange-square"],sheet:[5,1],shortName:"u7121"},{name:"Squared Cjk Unified Ideograph-7981",unified:"1F232",keywords:["japanese_prohibited_button","kanji","japanese","chinese","forbidden","limit","restricted","red-square"],sheet:[5,3],shortName:"u7981"},{name:"Circled Ideograph Accept",unified:"1F251",keywords:["japanese_acceptable_button","ok","good","chinese","kanji","agree","yes","orange-circle"],sheet:[5,13],shortName:"accept"},{name:"Squared Cjk Unified Ideograph-7533",unified:"1F238",keywords:["japanese_application_button","chinese","japanese","kanji","orange-square"],sheet:[5,9],shortName:"u7533"},{name:"Squared Cjk Unified Ideograph-5408",unified:"1F234",keywords:["japanese_passing_grade_button","japanese","chinese","join","kanji","red-square"],sheet:[5,5],shortName:"u5408"},{name:"Squared Cjk Unified Ideograph-7a7a",unified:"1F233",keywords:["japanese_vacancy_button","kanji","japanese","chinese","empty","sky","blue-square"],sheet:[5,4],shortName:"u7a7a"},{name:"Circled Ideograph Congratulation",unified:"3297-FE0F",keywords:["japanese_congratulations_button","chinese","kanji","japanese","red-circle"],sheet:[56,50],shortName:"congratulations"},{name:"Circled Ideograph Secret",unified:"3299-FE0F",keywords:["japanese_secret_button","privacy","chinese","sshh","kanji","red-circle"],sheet:[56,51],shortName:"secret"},{name:"Squared Cjk Unified Ideograph-55b6",unified:"1F23A",keywords:["japanese_open_for_business_button","japanese","opening hours","orange-square"],sheet:[5,11],shortName:"u55b6"},{name:"Squared Cjk Unified Ideograph-6e80",unified:"1F235",keywords:["japanese_no_vacancy_button","full","chinese","japanese","red-square","kanji"],sheet:[5,6],shortName:"u6e80"},{name:"Large Red Circle",unified:"1F534",keywords:["red_circle","shape","error","danger"],sheet:[28,22],shortName:"red_circle"},{name:"Large Orange Circle",unified:"1F7E0",keywords:["orange_circle","round"],sheet:[36,55],shortName:"large_orange_circle"},{name:"Large Yellow Circle",unified:"1F7E1",keywords:["yellow_circle","round"],sheet:[36,56],shortName:"large_yellow_circle"},{name:"Large Green Circle",unified:"1F7E2",keywords:["green_circle","round"],sheet:[36,57],shortName:"large_green_circle"},{name:"Large Blue Circle",unified:"1F535",keywords:["blue_circle","shape","icon","button"],sheet:[28,23],shortName:"large_blue_circle"},{name:"Large Purple Circle",unified:"1F7E3",keywords:["purple_circle","round"],sheet:[37,0],shortName:"large_purple_circle"},{name:"Large Brown Circle",unified:"1F7E4",keywords:["brown_circle","round"],sheet:[37,1],shortName:"large_brown_circle"},{name:"Medium Black Circle",unified:"26AB",keywords:["black_circle","shape","button","round"],sheet:[55,1],shortName:"black_circle"},{name:"Medium White Circle",unified:"26AA",keywords:["white_circle","shape","round"],sheet:[55,0],shortName:"white_circle"},{name:"Large Red Square",unified:"1F7E5",keywords:["red_square"],sheet:[37,2],shortName:"large_red_square"},{name:"Large Orange Square",unified:"1F7E7",keywords:["orange_square"],sheet:[37,4],shortName:"large_orange_square"},{name:"Large Yellow Square",unified:"1F7E8",keywords:["yellow_square"],sheet:[37,5],shortName:"large_yellow_square"},{name:"Large Green Square",unified:"1F7E9",keywords:["green_square"],sheet:[37,6],shortName:"large_green_square"},{name:"Large Blue Square",unified:"1F7E6",keywords:["blue_square"],sheet:[37,3],short
1Name:"large_blue_square"},{name:"Large Purple Square",unified:"1F7EA",keywords:["purple_square"],sheet:[37,7],shortName:"large_purple_square"},{name:"Large Brown Square",unified:"1F7EB",keywords:["brown_square"],sheet:[37,8],shortName:"large_brown_square"},{name:"Black Large Square",unified:"2B1B",keywords:["black_large_square","shape","icon","button"],sheet:[56,44],shortName:"black_large_square"},{name:"White Large Square",unified:"2B1C",keywords:["white_large_square","shape","icon","stone","button"],sheet:[56,45],shortName:"white_large_square"},{name:"Black Medium Square",unified:"25FC-FE0F",keywords:["black_medium_square","shape","button","icon"],sheet:[53,52],shortName:"black_medium_square"},{name:"White Medium Square",unified:"25FB-FE0F",keywords:["white_medium_square","shape","stone","icon"],sheet:[53,51],shortName:"white_medium_square"},{name:"Black Medium Small Square",unified:"25FE",keywords:["black_medium_small_square","icon","shape","button"],sheet:[53,54],shortName:"black_medium_small_square"},{name:"White Medium Small Square",unified:"25FD",keywords:["white_medium_small_square","shape","stone","icon","button"],sheet:[53,53],shortName:"white_medium_small_square"},{name:"Black Small Square",unified:"25AA-FE0F",keywords:["black_small_square","shape","icon"],sheet:[53,47],shortName:"black_small_square"},{name:"White Small Square",unified:"25AB-FE0F",keywords:["white_small_square","shape","icon"],sheet:[53,48],shortName:"white_small_square"},{name:"Large Orange Diamond",unified:"1F536",keywords:["large_orange_diamond","shape","jewel","gem"],sheet:[28,24],shortName:"large_orange_diamond"},{name:"Large Blue Diamond",unified:"1F537",keywords:["large_blue_diamond","shape","jewel","gem"],sheet:[28,25],shortName:"large_blue_diamond"},{name:"Small Orange Diamond",unified:"1F538",keywords:["small_orange_diamond","shape","jewel","gem"],sheet:[28,26],shortName:"small_orange_diamond"},{name:"Small Blue Diamond",unified:"1F539",keywords:["small_blue_diamond","shape","jewel","gem"],sheet:[28,27],shortName:"small_blue_diamond"},{name:"Up-Pointing Red Triangle",unified:"1F53A",keywords:["red_triangle_pointed_up","shape","direction","up","top"],sheet:[28,28],shortName:"small_red_triangle"},{name:"Down-Pointing Red Triangle",unified:"1F53B",keywords:["red_triangle_pointed_down","shape","direction","bottom"],sheet:[28,29],shortName:"small_red_triangle_down"},{name:"Diamond Shape with a Dot Inside",unified:"1F4A0",keywords:["diamond_with_a_dot","jewel","blue","gem","crystal","fancy"],sheet:[25,44],shortName:"diamond_shape_with_a_dot_inside"},{name:"Radio Button",unified:"1F518",keywords:["radio_button","input","old","music","circle"],sheet:[27,52],shortName:"radio_button"},{name:"White Square Button",unified:"1F533",keywords:["white_square_button","shape","input"],sheet:[28,21],shortName:"white_square_button"},{name:"Black Square Button",unified:"1F532",keywords:["black_square_button","shape","input","frame"],sheet:[28,20],shortName:"black_square_button"},{name:"Chequered Flag",unified:"1F3C1",keywords:["chequered_flag","contest","finishline","race","gokart"],sheet:[8,31],shortName:"checkered_flag"},{name:"Triangular Flag on Post",unified:"1F6A9",keywords:["triangular_flag","mark","milestone","place"],sheet:[34,50],shortName:"triangular_flag_on_post"},{name:"Crossed Flags",unified:"1F38C",keywords:["crossed_flags","japanese","nation","country","border"],sheet:[7,41],shortName:"crossed_flags"},{name:"Waving Black Flag",unified:"1F3F4",keywords:["black_flag","pirate"],sheet:[11,7],shortName:"waving_black_flag"},{name:"White Flag",unified:"1F3F3-FE0F",keywords:["white_flag","losing","loser","lost","surrender","give up","fail"],sheet:[11,2],shortName:"waving_white_flag"},{name:"Rainbow Flag",unified:"1F3F3-FE0F-200D-1F308",keywords:["rainbow_flag","flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],sheet:[11,0],shortName:"rainbow-flag"},{name:"Transgender Flag",unified:"1F3F3-FE0F-200D-26A7-FE0F",keywords:["transgender flag","lgbtq"],sheet:[11,1],hidden:["facebook"],shortName:"transgender_flag"},{name:"Pirate Flag",unified:"1F3F4-200D-2620-FE0F",keywords:["pirate_flag","skull","crossbones","flag","banner"],sheet:[11,3],short
1Name:"pirate_flag"},{name:"Ascension Island Flag",unified:"1F1E6-1F1E8",keywords:["flag_ascension_island"],sheet:[0,31],shortName:"flag-ac"},{name:"Andorra Flag",unified:"1F1E6-1F1E9",keywords:["flag_andorra","ad","flag","nation","country","banner"],sheet:[0,32],shortName:"flag-ad"},{name:"United Arab Emirates Flag",unified:"1F1E6-1F1EA",keywords:["flag_united_arab_emirates","united","arab","emirates","flag","nation","country","banner"],sheet:[0,33],shortName:"flag-ae"},{name:"Afghanistan Flag",unified:"1F1E6-1F1EB",keywords:["flag_afghanistan","af","flag","nation","country","banner"],sheet:[0,34],shortName:"flag-af"},{name:"Antigua & Barbuda Flag",unified:"1F1E6-1F1EC",keywords:["flag_antigua_barbuda","antigua","barbuda","flag","nation","country","banner"],sheet:[0,35],shortName:"flag-ag"},{name:"Anguilla Flag",unified:"1F1E6-1F1EE",keywords:["flag_anguilla","ai","flag","nation","country","banner"],sheet:[0,36],shortName:"flag-ai"},{name:"Albania Flag",unified:"1F1E6-1F1F1",keywords:["flag_albania","al","flag","nation","country","banner"],sheet:[0,37],shortName:"flag-al"},{name:"Armenia Flag",unified:"1F1E6-1F1F2",keywords:["flag_armenia","am","flag","nation","country","banner"],sheet:[0,38],shortName:"flag-am"},{name:"Angola Flag",unified:"1F1E6-1F1F4",keywords:["flag_angola","ao","flag","nation","country","banner"],sheet:[0,39],shortName:"flag-ao"},{name:"Antarctica Flag",unified:"1F1E6-1F1F6",keywords:["flag_antarctica","aq","flag","nation","country","banner"],sheet:[0,40],shortName:"flag-aq"},{name:"Argentina Flag",unified:"1F1E6-1F1F7",keywords:["flag_argentina","ar","flag","nation","country","banner"],sheet:[0,41],shortName:"flag-ar"},{name:"American Samoa Flag",unified:"1F1E6-1F1F8",keywords:["flag_american_samoa","american","ws","flag","nation","country","banner"],sheet:[0,42],shortName:"flag-as"},{name:"Austria Flag",unified:"1F1E6-1F1F9",keywords:["flag_austria","at","flag","nation","country","banner"],sheet:[0,43],shortName:"flag-at"},{name:"Australia Flag",unified:"1F1E6-1F1FA",keywords:["flag_australia","au","flag","nation","country","banner"],sheet:[0,44],shortName:"flag-au"},{name:"Aruba Flag",unified:"1F1E6-1F1FC",keywords:["flag_aruba","aw","flag","nation","country","banner"],sheet:[0,45],shortName:"flag-aw"},{name:"\xc5land Islands Flag",unified:"1F1E6-1F1FD",keywords:["flag_aland_islands","\xc5land","islands","flag","nation","country","banner"],sheet:[0,46],shortName:"flag-ax"},{name:"Azerbaijan Flag",unified:"1F1E6-1F1FF",keywords:["flag_azerbaijan","az","flag","nation","country","banner"],sheet:[0,47],shortName:"flag-az"},{name:"Bosnia & Herzegovina Flag",unified:"1F1E7-1F1E6",keywords:["flag_bosnia_herzegovina","bosnia","herzegovina","flag","nation","country","banner"],sheet:[0,48],shortName:"flag-ba"},{name:"Barbados Flag",unified:"1F1E7-1F1E7",keywords:["flag_barbados","bb","flag","nation","country","banner"],sheet:[0,49],shortName:"flag-bb"},{name:"Bangladesh Flag",unified:"1F1E7-1F1E9",keywords:["flag_bangladesh","bd","flag","nation","country","banner"],sheet:[0,50],shortName:"flag-bd"},{name:"Belgium Flag",unified:"1F1E7-1F1EA",keywords:["flag_belgium","be","flag","nation","country","banner"],sheet:[0,51],shortName:"flag-be"},{name:"Burkina Faso Flag",unified:"1F1E7-1F1EB",keywords:["flag_burkina_faso","burkina","faso","flag","nation","country","banner"],sheet:[0,52],shortName:"flag-bf"},{name:"Bulgaria Flag",unified:"1F1E7-1F1EC",keywords:["flag_bulgaria","bg","flag","nation","country","banner"],sheet:[0,53],shortName:"flag-bg"},{name:"Bahrain Flag",unified:"1F1E7-1F1ED",keywords:["flag_bahrain","bh","flag","nation","country","banner"],sheet:[0,54],shortName:"flag-bh"},{name:"Burundi Flag",unified:"1F1E7-1F1EE",keywords:["flag_burundi","bi","flag","nation","country","banner"],sheet:[0,55],shortName:"flag-bi"},{name:"Benin Flag",unified:"1F1E7-1F1EF",keywords:["flag_benin","bj","flag","nation","country","banner"],sheet:[0,56],shortName:"flag-bj"},{name:"St. Barth\xe9lemy Flag",unified:"1F1E7-1F1F1",keywords:["flag_st_barthelemy","saint","barth\xe9lemy","flag","nation","country","banner"],sheet:[0,57],shortName:"flag-bl"}
1,{name:"Bermuda Flag",unified:"1F1E7-1F1F2",keywords:["flag_bermuda","bm","flag","nation","country","banner"],sheet:[1,0],shortName:"flag-bm"},{name:"Brunei Flag",unified:"1F1E7-1F1F3",keywords:["flag_brunei","bn","darussalam","flag","nation","country","banner"],sheet:[1,1],shortName:"flag-bn"},{name:"Bolivia Flag",unified:"1F1E7-1F1F4",keywords:["flag_bolivia","bo","flag","nation","country","banner"],sheet:[1,2],shortName:"flag-bo"},{name:"Caribbean Netherlands Flag",unified:"1F1E7-1F1F6",keywords:["flag_caribbean_netherlands","bonaire","flag","nation","country","banner"],sheet:[1,3],shortName:"flag-bq"},{name:"Brazil Flag",unified:"1F1E7-1F1F7",keywords:["flag_brazil","br","flag","nation","country","banner"],sheet:[1,4],shortName:"flag-br"},{name:"Bahamas Flag",unified:"1F1E7-1F1F8",keywords:["flag_bahamas","bs","flag","nation","country","banner"],sheet:[1,5],shortName:"flag-bs"},{name:"Bhutan Flag",unified:"1F1E7-1F1F9",keywords:["flag_bhutan","bt","flag","nation","country","banner"],sheet:[1,6],shortName:"flag-bt"},{name:"Bouvet Island Flag",unified:"1F1E7-1F1FB",keywords:["flag_bouvet_island","norway"],sheet:[1,7],shortName:"flag-bv"},{name:"Botswana Flag",unified:"1F1E7-1F1FC",keywords:["flag_botswana","bw","flag","nation","country","banner"],sheet:[1,8],shortName:"flag-bw"},{name:"Belarus Flag",unified:"1F1E7-1F1FE",keywords:["flag_belarus","by","flag","nation","country","banner"],sheet:[1,9],shortName:"flag-by"},{name:"Belize Flag",unified:"1F1E7-1F1FF",keywords:["flag_belize","bz","flag","nation","country","banner"],sheet:[1,10],shortName:"flag-bz"},{name:"Canada Flag",unified:"1F1E8-1F1E6",keywords:["flag_canada","ca","flag","nation","country","banner"],sheet:[1,11],shortName:"flag-ca"},{name:"Cocos (keeling) Islands Flag",unified:"1F1E8-1F1E8",keywords:["flag_cocos_islands","cocos","keeling","islands","flag","nation","country","banner"],sheet:[1,12],shortName:"flag-cc"},{name:"Congo - Kinshasa Flag",unified:"1F1E8-1F1E9",keywords:["flag_congo_kinshasa","congo","democratic","republic","flag","nation","country","banner"],sheet:[1,13],shortName:"flag-cd"},{name:"Central African Republic Flag",unified:"1F1E8-1F1EB",keywords:["flag_central_african_republic","central","african","republic","flag","nation","country","banner"],sheet:[1,14],short
1Name:"flag-cf"},{name:"Congo - Brazzaville Flag",unified:"1F1E8-1F1EC",keywords:["flag_congo_brazzaville","congo","flag","nation","country","banner"],sheet:[1,15],shortName:"flag-cg"},{name:"Switzerland Flag",unified:"1F1E8-1F1ED",keywords:["flag_switzerland","ch","flag","nation","country","banner"],sheet:[1,16],shortName:"flag-ch"},{name:"C\xf4te D\u2019ivoire Flag",unified:"1F1E8-1F1EE",keywords:["flag_cote_d_ivoire","ivory","coast","flag","nation","country","banner"],sheet:[1,17],shortName:"flag-ci"},{name:"Cook Islands Flag",unified:"1F1E8-1F1F0",keywords:["flag_cook_islands","cook","islands","flag","nation","country","banner"],sheet:[1,18],shortName:"flag-ck"},{name:"Chile Flag",unified:"1F1E8-1F1F1",keywords:["flag_chile","flag","nation","country","banner"],sheet:[1,19],shortName:"flag-cl"},{name:"Cameroon Flag",unified:"1F1E8-1F1F2",keywords:["flag_cameroon","cm","flag","nation","country","banner"],sheet:[1,20],shortName:"flag-cm"},{name:"China Flag",unified:"1F1E8-1F1F3",keywords:["flag_china","china","chinese","prc","flag","country","nation","banner"],sheet:[1,21],shortNames:["flag-cn"],short
1Name:"cn"},{name:"Colombia Flag",unified:"1F1E8-1F1F4",keywords:["flag_colombia","co","flag","nation","country","banner"],sheet:[1,22],shortName:"flag-co"},{name:"Clipperton Island Flag",unified:"1F1E8-1F1F5",keywords:["flag_clipperton_island"],sheet:[1,23],shortName:"flag-cp"},{name:"Costa Rica Flag",unified:"1F1E8-1F1F7",keywords:["flag_costa_rica","costa","rica","flag","nation","country","banner"],sheet:[1,24],shortName:"flag-cr"},{name:"Cuba Flag",unified:"1F1E8-1F1FA",keywords:["flag_cuba","cu","flag","nation","country","banner"],sheet:[1,25],shortName:"flag-cu"},{name:"Cape Verde Flag",unified:"1F1E8-1F1FB",keywords:["flag_cape_verde","cabo","verde","flag","nation","country","banner"],sheet:[1,26],shortName:"flag-cv"},{name:"Cura\xe7ao Flag",unified:"1F1E8-1F1FC",keywords:["flag_curacao","cura\xe7ao","flag","nation","country","banner"],sheet:[1,27],shortName:"flag-cw"},{name:"Christmas Island Flag",unified:"1F1E8-1F1FD",keywords:["flag_christmas_island","christmas","island","flag","nation","country","banner"],sheet:[1,28],shortName:"flag-cx"},{name:"Cyprus Flag",unified:"1F1E8-1F1FE",keywords:["flag_cyprus","cy","flag","nation","country","banner"],sheet:[1,29],shortName:"flag-cy"},{name:"Czechia Flag",unified:"1F1E8-1F1FF",keywords:["flag_czechia","cz","flag","nation","country","banner"],sheet:[1,30],shortName:"flag-cz"},{name:"Germany Flag",unified:"1F1E9-1F1EA",keywords:["flag_germany","german","nation","flag","country","banner"],sheet:[1,31],shortNames:["flag-de"],shortName:"de"},{name:"Diego Garcia Flag",unified:"1F1E9-1F1EC",keywords:["flag_diego_garcia"],sheet:[1,32],shortName:"flag-dg"},{name:"Djibouti Flag",unified:"1F1E9-1F1EF",keywords:["flag_djibouti","dj","flag","nation","country","banner"],sheet:[1,33],short
1Name:"flag-dj"},{name:"Denmark Flag",unified:"1F1E9-1F1F0",keywords:["flag_denmark","dk","flag","nation","country","banner"],sheet:[1,34],shortName:"flag-dk"},{name:"Dominica Flag",unified:"1F1E9-1F1F2",keywords:["flag_dominica","dm","flag","nation","country","banner"],sheet:[1,35],shortName:"flag-dm"},{name:"Dominican Republic Flag",unified:"1F1E9-1F1F4",keywords:["flag_dominican_republic","dominican","republic","flag","nation","country","banner"],sheet:[1,36],shortName:"flag-do"},{name:"Algeria Flag",unified:"1F1E9-1F1FF",keywords:["flag_algeria","dz","flag","nation","country","banner"],sheet:[1,37],shortName:"flag-dz"},{name:"Ceuta & Melilla Flag",unified:"1F1EA-1F1E6",keywords:["flag_ceuta_melilla"],sheet:[1,38],shortName:"flag-ea"},{name:"Ecuador Flag",unified:"1F1EA-1F1E8",keywords:["flag_ecuador","ec","flag","nation","country","banner"],sheet:[1,39],shortName:"flag-ec"},{name:"Estonia Flag",unified:"1F1EA-1F1EA",keywords:["flag_estonia","ee","flag","nation","country","banner"],sheet:[1,40],shortName:"flag-ee"},{name:"Egypt Flag",unified:"1F1EA-1F1EC",keywords:["flag_egypt","eg","flag","nation","country","banner"],sheet:[1,41],shortName:"flag-eg"},{name:"Western Sahara Flag",unified:"1F1EA-1F1ED",keywords:["flag_western_sahara","western","sahara","flag","nation","country","banner"],sheet:[1,42],shortName:"flag-eh"},{name:"Eritrea Flag",unified:"1F1EA-1F1F7",keywords:["flag_eritrea","er","flag","nation","country","banner"],sheet:[1,43],shortName:"flag-er"},{name:"Spain Flag",unified:"1F1EA-1F1F8",keywords:["flag_spain","spain","flag","nation","country","banner"],sheet:[1,44],shortNames:["flag-es"],shortName:"es"},{name:"Ethiopia Flag",unified:"1F1EA-1F1F9",keywords:["flag_ethiopia","et","flag","nation","country","banner"],sheet:[1,45],shortName:"flag-et"},{name:"European Union Flag",unified:"1F1EA-1F1FA",keywords:["flag_european_union","european","union","flag","banner"],sheet:[1,46],shortName:"flag-eu"},{name:"Finland Flag",unified:"1F1EB-1F1EE",keywords:["flag_finland","fi","flag","nation","country","banner"],sheet:[1,47],shortName:"flag-fi"},{name:"Fiji Flag",unified:"1F1EB-1F1EF",keywords:["flag_fiji","fj","flag","nation","country","banner"],sheet:[1,48],shortName:"flag-fj"},{name:"Falkland Islands Flag",unified:"1F1EB-1F1F0",keywords:["flag_falkland_islands","falkland","islands","malvinas","flag","nation","country","banner"],sheet:[1,49],shortName:"flag-fk"},{name:"Micronesia Flag",unified:"1F1EB-1F1F2",keywords:["flag_micronesia","micronesia","federated","states","flag","nation","country","banner"],sheet:[1,50],shortName:"flag-fm"},{name:"Faroe Islands Flag",unified:"1F1EB-1F1F4",keywords:["flag_faroe_islands","faroe","islands","flag","nation","country","banner"],sheet:[1,51],shortName:"flag-fo"},{name:"France Flag",unified:"1F1EB-1F1F7",keywords:["flag_france","banner","flag","nation","france","french","country"],sheet:[1,52],shortNames:["flag-fr"],shortName:"fr"},{name:"Gabon Flag",unified:"1F1EC-1F1E6",keywords:["flag_gabon","ga","flag","nation","country","banner"],sheet:[1,53],shortName:"flag-ga"},{name:"United Kingdom Flag",unified:"1F1EC-1F1E7",keywords:["flag_united_kingdom","united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],sheet:[1,54],shortNames:["uk","flag-gb"],shortName:"gb"},{name:"Grenada Flag",unified:"1F1EC-1F1E9",keywords:["flag_grenada","gd","flag","nation","country","banner"],sheet:[1,55],shortName:"flag-gd"},{name:"Georgia Flag",unified:"1F1EC-1F1EA",keywords:["flag_georgia","ge","flag","nation","country","banner"],sheet:[1,56],shortName:"flag-ge"},{name:"French Guiana Flag",unified:"1F1EC-1F1EB",keywords:["flag_french_guiana","french","guiana","flag","nation","country","banner"],sheet:[1,57],shortName:"flag-gf"},{name:"Guernsey Flag",unified:"1F1EC-1F1EC",keywords:["flag_guernsey","gg","flag","nation","country","banner"],sheet:[2,0],shortName:"flag-gg"},{name:"Ghana Flag",unified:"1F1EC-1F1ED",keywords:["flag_ghana","gh","flag","nation","country","banner"],sheet:[2,1],shortName:"flag-gh"},{name:"Gibraltar Flag",unified:"1F1EC-1F1EE",keywords:["flag_gibraltar","gi","flag","nation","country","banner"],sheet:[2,2],shortName:"flag-gi"},{name:"Greenland Flag",unified:"1F1EC-1F1F1",keywords:["flag_greenland","gl","flag","nation","country","banner"],sheet:[2,3],short
1Name:"flag-gl"},{name:"Gambia Flag",unified:"1F1EC-1F1F2",keywords:["flag_gambia","gm","flag","nation","country","banner"],sheet:[2,4],shortName:"flag-gm"},{name:"Guinea Flag",unified:"1F1EC-1F1F3",keywords:["flag_guinea","gn","flag","nation","country","banner"],sheet:[2,5],shortName:"flag-gn"},{name:"Guadeloupe Flag",unified:"1F1EC-1F1F5",keywords:["flag_guadeloupe","gp","flag","nation","country","banner"],sheet:[2,6],shortName:"flag-gp"},{name:"Equatorial Guinea Flag",unified:"1F1EC-1F1F6",keywords:["flag_equatorial_guinea","equatorial","gn","flag","nation","country","banner"],sheet:[2,7],shortName:"flag-gq"},{name:"Greece Flag",unified:"1F1EC-1F1F7",keywords:["flag_greece","gr","flag","nation","country","banner"],sheet:[2,8],shortName:"flag-gr"},{name:"South Georgia & South Sandwich Islands Flag",unified:"1F1EC-1F1F8",keywords:["flag_south_georgia_south_sandwich_islands","south","georgia","sandwich","islands","flag","nation","country","banner"],sheet:[2,9],shortName:"flag-gs"},{name:"Guatemala Flag",unified:"1F1EC-1F1F9",keywords:["flag_guatemala","gt","flag","nation","country","banner"],sheet:[2,10],shortName:"flag-gt"},{name:"Guam Flag",unified:"1F1EC-1F1FA",keywords:["flag_guam","gu","flag","nation","country","banner"],sheet:[2,11],shortName:"flag-gu"},{name:"Guinea-Bissau Flag",unified:"1F1EC-1F1FC",keywords:["flag_guinea_bissau","gw","bissau","flag","nation","country","banner"],sheet:[2,12],shortName:"flag-gw"},{name:"Guyana Flag",unified:"1F1EC-1F1FE",keywords:["flag_guyana","gy","flag","nation","country","banner"],sheet:[2,13],shortName:"flag-gy"},{name:"Hong Kong Sar China Flag",unified:"1F1ED-1F1F0",keywords:["flag_hong_kong_sar_china","hong","kong","flag","nation","country","banner"],sheet:[2,14],shortName:"flag-hk"},{name:"Heard & Mcdonald Islands Flag",unified:"1F1ED-1F1F2",keywords:["flag_heard_mcdonald_islands"],sheet:[2,15],shortName:"flag-hm"},{name:"Honduras Flag",unified:"1F1ED-1F1F3",keywords:["flag_honduras","hn","flag","nation","country","banner"],sheet:[2,16],shortName:"flag-hn"},{name:"Croatia Flag",unified:"1F1ED-1F1F7",keywords:["flag_croatia","hr","flag","nation","country","banner"],sheet:[2,17],shortName:"flag-hr"},{name:"Haiti Flag",unified:"1F1ED-1F1F9",keywords:["flag_haiti","ht","flag","nation","country","banner"],sheet:[2,18],shortName:"flag-ht"},{name:"Hungary Flag",unified:"1F1ED-1F1FA",keywords:["flag_hungary","hu","flag","nation","country","banner"],sheet:[2,19],shortName:"flag-hu"},{name:"Canary Islands Flag",unified:"1F1EE-1F1E8",keywords:["flag_canary_islands","canary","islands","flag","nation","country","banner"],sheet:[2,20],shortName:"flag-ic"},{name:"Indonesia Flag",unified:"1F1EE-1F1E9",keywords:["flag_indonesia","flag","nation","country","banner"],sheet:[2,21],shortName:"flag-id"},{name:"Ireland Flag",unified:"1F1EE-1F1EA",keywords:["flag_ireland","ie","flag","nation","country","banner"],sheet:[2,22],shortName:"flag-ie"},{name:"Israel Flag",unified:"1F1EE-1F1F1",keywords:["flag_israel","il","flag","nation","country","banner"],sheet:[2,23],shortName:"flag-il"},{name:"Isle of Man Flag",unified:"1F1EE-1F1F2",keywords:["flag_isle_of_man","isle","man","flag","nation","country","banner"],sheet:[2,24],shortName:"flag-im"},{name:"India Flag",unified:"1F1EE-1F1F3",keywords:["flag_india","in","flag","nation","country","banner"],sheet:[2,25],shortName:"flag-in"},{name:"British Indian Ocean Territory Flag",unified:"1F1EE-1F1F4",keywords:["flag_british_indian_ocean_territory","british","indian","ocean","territory","flag","nation","country","banner"],sheet:[2,26],shortName:"flag-io"},{name:"Iraq Flag",unified:"1F1EE-1F1F6",keywords:["flag_iraq","iq","flag","nation","country","banner"],sheet:[2,27],shortName:"flag-iq"},{name:"Iran Flag",unified:"1F1EE-1F1F7",keywords:["flag_iran","iran","islamic","republic","flag","nation","country","banner"],sheet:[2,28],shortName:"flag-ir"},{name:"Iceland Flag",unified:"1F1EE-1F1F8",keywords:["flag_iceland","is","flag","nation","country","banner"],sheet:[2,29],shortName:"flag-is"},{name:"Italy Flag",unified:"1F1EE-1F1F9",keywords:["flag_italy","italy","flag","nation","country","banner"],sheet:[2,30],shortNames:["flag-it"],shortName:"it"},{name:"Jersey Flag",unified:"1F1EF-1F1EA",keywords:["flag_jersey","je","flag","nation","country","banner"],sheet:[2,31],shortName:"flag-je"}
1,{name:"Jamaica Flag",unified:"1F1EF-1F1F2",keywords:["flag_jamaica","jm","flag","nation","country","banner"],sheet:[2,32],shortName:"flag-jm"},{name:"Jordan Flag",unified:"1F1EF-1F1F4",keywords:["flag_jordan","jo","flag","nation","country","banner"],sheet:[2,33],shortName:"flag-jo"},{name:"Japan Flag",unified:"1F1EF-1F1F5",keywords:["flag_japan","japanese","nation","flag","country","banner"],sheet:[2,34],shortNames:["flag-jp"],shortName:"jp"},{name:"Kenya Flag",unified:"1F1F0-1F1EA",keywords:["flag_kenya","ke","flag","nation","country","banner"],sheet:[2,35],shortName:"flag-ke"},{name:"Kyrgyzstan Flag",unified:"1F1F0-1F1EC",keywords:["flag_kyrgyzstan","kg","flag","nation","country","banner"],sheet:[2,36],shortName:"flag-kg"},{name:"Cambodia Flag",unified:"1F1F0-1F1ED",keywords:["flag_cambodia","kh","flag","nation","country","banner"],sheet:[2,37],shortName:"flag-kh"},{name:"Kiribati Flag",unified:"1F1F0-1F1EE",keywords:["flag_kiribati","ki","flag","nation","country","banner"],sheet:[2,38],shortName:"flag-ki"},{name:"Comoros Flag",unified:"1F1F0-1F1F2",keywords:["flag_comoros","km","flag","nation","country","banner"],sheet:[2,39],shortName:"flag-km"},{name:"St. Kitts & Nevis Flag",unified:"1F1F0-1F1F3",keywords:["flag_st_kitts_nevis","saint","kitts","nevis","flag","nation","country","banner"],sheet:[2,40],shortName:"flag-kn"},{name:"North Korea Flag",unified:"1F1F0-1F1F5",keywords:["flag_north_korea","north","korea","nation","flag","country","banner"],sheet:[2,41],shortName:"flag-kp"},{name:"South Korea Flag",unified:"1F1F0-1F1F7",keywords:["flag_south_korea","south","korea","nation","flag","country","banner"],sheet:[2,42],shortNames:["flag-kr"],shortName:"kr"},{name:"Kuwait Flag",unified:"1F1F0-1F1FC",keywords:["flag_kuwait","kw","flag","nation","country","banner"],sheet:[2,43],shortName:"flag-kw"},{name:"Cayman Islands Flag",unified:"1F1F0-1F1FE",keywords:["flag_cayman_islands","cayman","islands","flag","nation","country","banner"],sheet:[2,44],shortName:"flag-ky"},{name:"Kazakhstan Flag",unified:"1F1F0-1F1FF",keywords:["flag_kazakhstan","kz","flag","nation","country","banner"],sheet:[2,45],shortName:"flag-kz"},{name:"Laos Flag",unified:"1F1F1-1F1E6",keywords:["flag_laos","lao","democratic","republic","flag","nation","country","banner"],sheet:[2,46],shortName:"flag-la"},{name:"Lebanon Flag",unified:"1F1F1-1F1E7",keywords:["flag_lebanon","lb","flag","nation","country","banner"],sheet:[2,47],shortName:"flag-lb"},{name:"St. Lucia Flag",unified:"1F1F1-1F1E8",keywords:["flag_st_lucia","saint","lucia","flag","nation","country","banner"],sheet:[2,48],shortName:"flag-lc"},{name:"Liechtenstein Flag",unified:"1F1F1-1F1EE",keywords:["flag_liechtenstein","li","flag","nation","country","banner"],sheet:[2,49],shortName:"flag-li"},{name:"Sri Lanka Flag",unified:"1F1F1-1F1F0",keywords:["flag_sri_lanka","sri","lanka","flag","nation","country","banner"],sheet:[2,50],shortName:"flag-lk"},{name:"Liberia Flag",unified:"1F1F1-1F1F7",keywords:["flag_liberia","lr","flag","nation","country","banner"],sheet:[2,51],shortName:"flag-lr"},{name:"Lesotho Flag",unified:"1F1F1-1F1F8",keywords:["flag_lesotho","ls","flag","nation","country","banner"],sheet:[2,52],short
1Name:"flag-ls"},{name:"Lithuania Flag",unified:"1F1F1-1F1F9",keywords:["flag_lithuania","lt","flag","nation","country","banner"],sheet:[2,53],shortName:"flag-lt"},{name:"Luxembourg Flag",unified:"1F1F1-1F1FA",keywords:["flag_luxembourg","lu","flag","nation","country","banner"],sheet:[2,54],shortName:"flag-lu"},{name:"Latvia Flag",unified:"1F1F1-1F1FB",keywords:["flag_latvia","lv","flag","nation","country","banner"],sheet:[2,55],shortName:"flag-lv"},{name:"Libya Flag",unified:"1F1F1-1F1FE",keywords:["flag_libya","ly","flag","nation","country","banner"],sheet:[2,56],shortName:"flag-ly"},{name:"Morocco Flag",unified:"1F1F2-1F1E6",keywords:["flag_morocco","ma","flag","nation","country","banner"],sheet:[2,57],shortName:"flag-ma"},{name:"Monaco Flag",unified:"1F1F2-1F1E8",keywords:["flag_monaco","mc","flag","nation","country","banner"],sheet:[3,0],shortName:"flag-mc"},{name:"Moldova Flag",unified:"1F1F2-1F1E9",keywords:["flag_moldova","moldova","republic","flag","nation","country","banner"],sheet:[3,1],shortName:"flag-md"},{name:"Montenegro Flag",unified:"1F1F2-1F1EA",keywords:["flag_montenegro","me","flag","nation","country","banner"],sheet:[3,2],shortName:"flag-me"},{name:"St. Martin Flag",unified:"1F1F2-1F1EB",keywords:["flag_st_martin"],sheet:[3,3],shortName:"flag-mf"},{name:"Madagascar Flag",unified:"1F1F2-1F1EC",keywords:["flag_madagascar","mg","flag","nation","country","banner"],sheet:[3,4],shortName:"flag-mg"},{name:"Marshall Islands Flag",unified:"1F1F2-1F1ED",keywords:["flag_marshall_islands","marshall","islands","flag","nation","country","banner"],sheet:[3,5],shortName:"flag-mh"},{name:"North Macedonia Flag",unified:"1F1F2-1F1F0",keywords:["flag_north_macedonia","macedonia","flag","nation","country","banner"],sheet:[3,6],shortName:"flag-mk"},{name:"Mali Flag",unified:"1F1F2-1F1F1",keywords:["flag_mali","ml","flag","nation","country","banner"],sheet:[3,7],shortName:"flag-ml"},{name:"Myanmar (burma) Flag",unified:"1F1F2-1F1F2",keywords:["flag_myanmar","mm","flag","nation","country","banner"],sheet:[3,8],shortName:"flag-mm"},{name:"Mongolia Flag",unified:"1F1F2-1F1F3",keywords:["flag_mongolia","mn","flag","nation","country","banner"],sheet:[3,9],shortName:"flag-mn"},{name:"Macao Sar China Flag",unified:"1F1F2-1F1F4",keywords:["flag_macao_sar_china","macao","flag","nation","country","banner"],sheet:[3,10],shortName:"flag-mo"},{name:"Northern Mariana Islands Flag",unified:"1F1F2-1F1F5",keywords:["flag_northern_mariana_islands","northern","mariana","islands","flag","nation","country","banner"],sheet:[3,11],shortName:"flag-mp"},{name:"Martinique Flag",unified:"1F1F2-1F1F6",keywords:["flag_martinique","mq","flag","nation","country","banner"],sheet:[3,12],shortName:"flag-mq"},{name:"Mauritania Flag",unified:"1F1F2-1F1F7",keywords:["flag_mauritania","mr","flag","nation","country","banner"],sheet:[3,13],shortName:"flag-mr"},{name:"Montserrat Flag",unified:"1F1F2-1F1F8",keywords:["flag_montserrat","ms","flag","nation","country","banner"],sheet:[3,14],shortName:"flag-ms"},{name:"Malta Flag",unified:"1F1F2-1F1F9",keywords:["flag_malta","mt","flag","nation","country","banner"],sheet:[3,15],shortName:"flag-mt"},{name:"Mauritius Flag",unified:"1F1F2-1F1FA",keywords:["flag_mauritius","mu","flag","nation","country","banner"],sheet:[3,16],shortName:"flag-mu"},{name:"Maldives Flag",unified:"1F1F2-1F1FB",keywords:["flag_maldives","mv","flag","nation","country","banner"],sheet:[3,17],shortName:"flag-mv"},{name:"Malawi Flag",unified:"1F1F2-1F1FC",keywords:["flag_malawi","mw","flag","nation","country","banner"],sheet:[3,18],shortName:"flag-mw"},{name:"Mexico Flag",unified:"1F1F2-1F1FD",keywords:["flag_mexico","mx","flag","nation","country","banner"],sheet:[3,19],shortName:"flag-mx"},{name:"Malaysia Flag",unified:"1F1F2-1F1FE",keywords:["flag_malaysia","my","flag","nation","country","banner"],sheet:[3,20],shortName:"flag-my"},{name:"Mozambique Flag",unified:"1F1F2-1F1FF",keywords:["flag_mozambique","mz","flag","nation","country","banner"],sheet:[3,21],shortName:"flag-mz"},{name:"Namibia Flag",unified:"1F1F3-1F1E6",keywords:["flag_namibia","na","flag","nation","country","banner"],sheet:[3,22],shortName:"flag-na"},{name:"New Caledonia Flag",unified:"1F1F3-1F1E8",keywords:["flag_new_caledonia","new","caledonia","flag","nation","country","banner"],sheet:[3,23],short
1Name:"flag-nc"},{name:"Niger Flag",unified:"1F1F3-1F1EA",keywords:["flag_niger","ne","flag","nation","country","banner"],sheet:[3,24],shortName:"flag-ne"},{name:"Norfolk Island Flag",unified:"1F1F3-1F1EB",keywords:["flag_norfolk_island","norfolk","island","flag","nation","country","banner"],sheet:[3,25],shortName:"flag-nf"},{name:"Nigeria Flag",unified:"1F1F3-1F1EC",keywords:["flag_nigeria","flag","nation","country","banner"],sheet:[3,26],shortName:"flag-ng"},{name:"Nicaragua Flag",unified:"1F1F3-1F1EE",keywords:["flag_nicaragua","ni","flag","nation","country","banner"],sheet:[3,27],shortName:"flag-ni"},{name:"Netherlands Flag",unified:"1F1F3-1F1F1",keywords:["flag_netherlands","nl","flag","nation","country","banner"],sheet:[3,28],shortName:"flag-nl"},{name:"Norway Flag",unified:"1F1F3-1F1F4",keywords:["flag_norway","no","flag","nation","country","banner"],sheet:[3,29],shortName:"flag-no"},{name:"Nepal Flag",unified:"1F1F3-1F1F5",keywords:["flag_nepal","np","flag","nation","country","banner"],sheet:[3,30],shortName:"flag-np"},{name:"Nauru Flag",unified:"1F1F3-1F1F7",keywords:["flag_nauru","nr","flag","nation","country","banner"],sheet:[3,31],shortName:"flag-nr"},{name:"Niue Flag",unified:"1F1F3-1F1FA",keywords:["flag_niue","nu","flag","nation","country","banner"],sheet:[3,32],shortName:"flag-nu"},{name:"New Zealand Flag",unified:"1F1F3-1F1FF",keywords:["flag_new_zealand","new","zealand","flag","nation","country","banner"],sheet:[3,33],shortName:"flag-nz"},{name:"Oman Flag",unified:"1F1F4-1F1F2",keywords:["flag_oman","om_symbol","flag","nation","country","banner"],sheet:[3,34],shortName:"flag-om"},{name:"Panama Flag",unified:"1F1F5-1F1E6",keywords:["flag_panama","pa","flag","nation","country","banner"],sheet:[3,35],shortName:"flag-pa"},{name:"Peru Flag",unified:"1F1F5-1F1EA",keywords:["flag_peru","pe","flag","nation","country","banner"],sheet:[3,36],shortName:"flag-pe"},{name:"French Polynesia Flag",unified:"1F1F5-1F1EB",keywords:["flag_french_polynesia","french","polynesia","flag","nation","country","banner"],sheet:[3,37],shortName:"flag-pf"},{name:"Papua New Guinea Flag",unified:"1F1F5-1F1EC",keywords:["flag_papua_new_guinea","papua","new","guinea","flag","nation","country","banner"],sheet:[3,38],shortName:"flag-pg"},{name:"Philippines Flag",unified:"1F1F5-1F1ED",keywords:["flag_philippines","ph","flag","nation","country","banner"],sheet:[3,39],shortName:"flag-ph"},{name:"Pakistan Flag",unified:"1F1F5-1F1F0",keywords:["flag_pakistan","pk","flag","nation","country","banner"],sheet:[3,40],shortName:"flag-pk"},{name:"Poland Flag",unified:"1F1F5-1F1F1",keywords:["flag_poland","pl","flag","nation","country","banner"],sheet:[3,41],shortName:"flag-pl"},{name:"St. Pierre & Miquelon Flag",unified:"1F1F5-1F1F2",keywords:["flag_st_pierre_miquelon","saint","pierre","miquelon","flag","nation","country","banner"],sheet:[3,42],shortName:"flag-pm"},{name:"Pitcairn Islands Flag",unified:"1F1F5-1F1F3",keywords:["flag_pitcairn_islands","pitcairn","flag","nation","country","banner"],sheet:[3,43],shortName:"flag-pn"},{name:"Puerto Rico Flag",unified:"1F1F5-1F1F7",keywords:["flag_puerto_rico","puerto","rico","flag","nation","country","banner"],sheet:[3,44],shortName:"flag-pr"},{name:"Palestinian Territories Flag",unified:"1F1F5-1F1F8",keywords:["flag_palestinian_territories","palestine","palestinian","territories","flag","nation","country","banner"],sheet:[3,45],shortName:"flag-ps"},{name:"Portugal Flag",unified:"1F1F5-1F1F9",keywords:["flag_portugal","pt","flag","nation","country","banner"],sheet:[3,46],shortName:"flag-pt"},{name:"Palau Flag",unified:"1F1F5-1F1FC",keywords:["flag_palau","pw","flag","nation","country","banner"],sheet:[3,47],shortName:"flag-pw"},{name:"Paraguay Flag",unified:"1F1F5-1F1FE",keywords:["flag_paraguay","py","flag","nation","country","banner"],sheet:[3,48],shortName:"flag-py"},{name:"Qatar Flag",unified:"1F1F6-1F1E6",keywords:["flag_qatar","qa","flag","nation","country","banner"],sheet:[3,49],short
1Name:"flag-qa"},{name:"R\xe9union Flag",unified:"1F1F7-1F1EA",keywords:["flag_reunion","r\xe9union","flag","nation","country","banner"],sheet:[3,50],shortName:"flag-re"},{name:"Romania Flag",unified:"1F1F7-1F1F4",keywords:["flag_romania","ro","flag","nation","country","banner"],sheet:[3,51],shortName:"flag-ro"},{name:"Serbia Flag",unified:"1F1F7-1F1F8",keywords:["flag_serbia","rs","flag","nation","country","banner"],sheet:[3,52],shortName:"flag-rs"},{name:"Russia Flag",unified:"1F1F7-1F1FA",keywords:["flag_russia","russian","federation","flag","nation","country","banner"],sheet:[3,53],shortNames:["flag-ru"],shortName:"ru"},{name:"Rwanda Flag",unified:"1F1F7-1F1FC",keywords:["flag_rwanda","rw","flag","nation","country","banner"],sheet:[3,54],shortName:"flag-rw"},{name:"Saudi Arabia Flag",unified:"1F1F8-1F1E6",keywords:["flag_saudi_arabia","flag","nation","country","banner"],sheet:[3,55],shortName:"flag-sa"},{name:"Solomon Islands Flag",unified:"1F1F8-1F1E7",keywords:["flag_solomon_islands","solomon","islands","flag","nation","country","banner"],sheet:[3,56],shortName:"flag-sb"},{name:"Seychelles Flag",unified:"1F1F8-1F1E8",keywords:["flag_seychelles","sc","flag","nation","country","banner"],sheet:[3,57],shortName:"flag-sc"},{name:"Sudan Flag",unified:"1F1F8-1F1E9",keywords:["flag_sudan","sd","flag","nation","country","banner"],sheet:[4,0],shortName:"flag-sd"},{name:"Sweden Flag",unified:"1F1F8-1F1EA",keywords:["flag_sweden","se","flag","nation","country","banner"],sheet:[4,1],shortName:"flag-se"},{name:"Singapore Flag",unified:"1F1F8-1F1EC",keywords:["flag_singapore","sg","flag","nation","country","banner"],sheet:[4,2],shortName:"flag-sg"},{name:"St. Helena Flag",unified:"1F1F8-1F1ED",keywords:["flag_st_helena","saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],sheet:[4,3],shortName:"flag-sh"},{name:"Slovenia Flag",unified:"1F1F8-1F1EE",keywords:["flag_slovenia","si","flag","nation","country","banner"],sheet:[4,4],shortName:"flag-si"},{name:"Svalbard & Jan Mayen Flag",unified:"1F1F8-1F1EF",keywords:["flag_svalbard_jan_mayen"],sheet:[4,5],shortName:"flag-sj"},{name:"Slovakia Flag",unified:"1F1F8-1F1F0",keywords:["flag_slovakia","sk","flag","nation","country","banner"],sheet:[4,6],shortName:"flag-sk"},{name:"Sierra Leone Flag",unified:"1F1F8-1F1F1",keywords:["flag_sierra_leone","sierra","leone","flag","nation","country","banner"],sheet:[4,7],shortName:"flag-sl"},{name:"San Marino Flag",unified:"1F1F8-1F1F2",keywords:["flag_san_marino","san","marino","flag","nation","country","banner"],sheet:[4,8],shortName:"flag-sm"},{name:"Senegal Flag",unified:"1F1F8-1F1F3",keywords:["flag_senegal","sn","flag","nation","country","banner"],sheet:[4,9],shortName:"flag-sn"},{name:"Somalia Flag",unified:"1F1F8-1F1F4",keywords:["flag_somalia","so","flag","nation","country","banner"],sheet:[4,10],shortName:"flag-so"},{name:"Suriname Flag",unified:"1F1F8-1F1F7",keywords:["flag_suriname","sr","flag","nation","country","banner"],sheet:[4,11],shortName:"flag-sr"},{name:"South Sudan Flag",unified:"1F1F8-1F1F8",keywords:["flag_south_sudan","south","sd","flag","nation","country","banner"],sheet:[4,12],shortName:"flag-ss"},{name:"S\xe3o Tom\xe9 & Pr\xedncipe Flag",unified:"1F1F8-1F1F9",keywords:["flag_sao_tome_principe","sao","tome","principe","flag","nation","country","banner"],sheet:[4,13],shortName:"flag-st"},{name:"El Salvador Flag",unified:"1F1F8-1F1FB",keywords:["flag_el_salvador","el","salvador","flag","nation","country","banner"],sheet:[4,14],shortName:"flag-sv"},{name:"Sint Maarten Flag",unified:"1F1F8-1F1FD",keywords:["flag_sint_maarten","sint","maarten","dutch","flag","nation","country","banner"],sheet:[4,15],shortName:"flag-sx"},{name:"Syria Flag",unified:"1F1F8-1F1FE",keywords:["flag_syria","syrian","arab","republic","flag","nation","country","banner"],sheet:[4,16],shortName:"flag-sy"},{name:"Eswatini Flag",unified:"1F1F8-1F1FF",keywords:["flag_eswatini","sz","flag","nation","country","banner"],sheet:[4,17],shortName:"flag-sz"},{name:"Tristan Da Cunha Flag",unified:"1F1F9-1F1E6",keywords:["flag_tristan_da_cunha"],sheet:[4,18],shortName:"flag-ta"},{name:"Turks & Caicos Islands Flag",unified:"1F1F9-1F1E8",keywords:["flag_turks_caicos_islands","turks","caicos","islands","flag","nation","country","banner"],sheet:[4,19],shortName:"flag-tc"},{name:"Chad Flag",unified:"1F1F9-1F1E9",keywords:["flag_chad","td","flag","nation","country","banner"],sheet:[4,20],shortName:"flag-td"},{name:"French Southern Territories Flag",unified:"1F1F9-1F1EB",keywords:["flag_french_southern_territories","french","southern","territories","flag","nation","country","banner"],sheet:[4,21],shortName:"flag-tf"},{name:"Togo Flag",unified:"1F1F9-1F1EC",keywords:["flag_togo","tg","flag","nation","country","banner"],sheet:[4,22],shortName:"flag-tg"},{name:"Thailand Flag",unified:"1F1F9-1F1ED",keywords:["flag_thailand","th","flag","nation","country","banner"],sheet:[4,23],short
1Name:"flag-th"},{name:"Tajikistan Flag",unified:"1F1F9-1F1EF",keywords:["flag_tajikistan","tj","flag","nation","country","banner"],sheet:[4,24],shortName:"flag-tj"},{name:"Tokelau Flag",unified:"1F1F9-1F1F0",keywords:["flag_tokelau","tk","flag","nation","country","banner"],sheet:[4,25],shortName:"flag-tk"},{name:"Timor-Leste Flag",unified:"1F1F9-1F1F1",keywords:["flag_timor_leste","timor","leste","flag","nation","country","banner"],sheet:[4,26],shortName:"flag-tl"},{name:"Turkmenistan Flag",unified:"1F1F9-1F1F2",keywords:["flag_turkmenistan","flag","nation","country","banner"],sheet:[4,27],shortName:"flag-tm"},{name:"Tunisia Flag",unified:"1F1F9-1F1F3",keywords:["flag_tunisia","tn","flag","nation","country","banner"],sheet:[4,28],shortName:"flag-tn"},{name:"Tonga Flag",unified:"1F1F9-1F1F4",keywords:["flag_tonga","to","flag","nation","country","banner"],sheet:[4,29],shortName:"flag-to"},{name:"Turkey Flag",unified:"1F1F9-1F1F7",keywords:["flag_turkey","turkey","flag","nation","country","banner"],sheet:[4,30],shortName:"flag-tr"},{name:"Trinidad & Tobago Flag",unified:"1F1F9-1F1F9",keywords:["flag_trinidad_tobago","trinidad","tobago","flag","nation","country","banner"],sheet:[4,31],shortName:"flag-tt"},{name:"Tuvalu Flag",unified:"1F1F9-1F1FB",keywords:["flag_tuvalu","flag","nation","country","banner"],sheet:[4,32],shortName:"flag-tv"},{name:"Taiwan Flag",unified:"1F1F9-1F1FC",keywords:["flag_taiwan","tw","flag","nation","country","banner"],sheet:[4,33],shortName:"flag-tw"},{name:"Tanzania Flag",unified:"1F1F9-1F1FF",keywords:["flag_tanzania","tanzania","united","republic","flag","nation","country","banner"],sheet:[4,34],shortName:"flag-tz"},{name:"Ukraine Flag",unified:"1F1FA-1F1E6",keywords:["flag_ukraine","ua","flag","nation","country","banner"],sheet:[4,35],shortName:"flag-ua"},{name:"Uganda Flag",unified:"1F1FA-1F1EC",keywords:["flag_uganda","ug","flag","nation","country","banner"],sheet:[4,36],shortName:"flag-ug"},{name:"U.s. Outlying Islands Flag",unified:"1F1FA-1F1F2",keywords:["flag_u_s_outlying_islands"],sheet:[4,37],shortName:"flag-um"},{name:"United Nations Flag",unified:"1F1FA-1F1F3",keywords:["flag_united_nations","un","flag","banner"],sheet:[4,38],shortName:"flag-un"},{name:"United States Flag",unified:"1F1FA-1F1F8",keywords:["flag_united_states","united","states","america","flag","nation","country","banner"],sheet:[4,39],shortNames:["flag-us"],shortName:"us"},{name:"Uruguay Flag",unified:"1F1FA-1F1FE",keywords:["flag_uruguay","uy","flag","nation","country","banner"],sheet:[4,40],shortName:"flag-uy"},{name:"Uzbekistan Flag",unified:"1F1FA-1F1FF",keywords:["flag_uzbekistan","uz","flag","nation","country","banner"],sheet:[4,41],shortName:"flag-uz"},{name:"Vatican City Flag",unified:"1F1FB-1F1E6",keywords:["flag_vatican_city","vatican","city","flag","nation","country","banner"],sheet:[4,42],shortName:"flag-va"},{name:"St. Vincent & Grenadines Flag",unified:"1F1FB-1F1E8",keywords:["flag_st_vincent_grenadines","saint","vincent","grenadines","flag","nation","country","banner"],sheet:[4,43],shortName:"flag-vc"},{name:"Venezuela Flag",unified:"1F1FB-1F1EA",keywords:["flag_venezuela","ve","bolivarian","republic","flag","nation","country","banner"],sheet:[4,44],shortName:"flag-ve"},{name:"British Virgin Islands Flag",unified:"1F1FB-1F1EC",keywords:["flag_british_virgin_islands","british","virgin","islands","bvi","flag","nation","country","banner"],sheet:[4,45],shortName:"flag-vg"},{name:"U.s. Virgin Islands Flag",unified:"1F1FB-1F1EE",keywords:["flag_u_s_virgin_islands","virgin","islands","us","flag","nation","country","banner"],sheet:[4,46],shortName:"flag-vi"},{name:"Vietnam Flag",unified:"1F1FB-1F1F3",keywords:["flag_vietnam","viet","nam","flag","nation","country","banner"],sheet:[4,47],shortName:"flag-vn"},{name:"Vanuatu Flag",unified:"1F1FB-1F1FA",keywords:["flag_vanuatu","vu","flag","nation","country","banner"],sheet:[4,48],shortName:"flag-vu"},{name:"Wallis & Futuna Flag",unified:"1F1FC-1F1EB",keywords:["flag_wallis_futuna","wallis","futuna","flag","nation","country","banner"],sheet:[4,49],shortName:"flag-wf"},{name:"Samoa Flag",unified:"1F1FC-1F1F8",keywords:["flag_samoa","ws","flag","nation","country","banner"],sheet:[4,50],shortName:"flag-ws"},{name:"Kosovo Flag",unified:"1F1FD-1F1F0",keywords:["flag_kosovo","xk","flag","nation","country","banner"],sheet:[4,51],shortName:"flag-xk"},{name:"Yemen Flag",unified:"1F1FE-1F1EA",keywords:["flag_yemen","ye","flag","nation","country","banner"],sheet:[4,52],short
1Name:"flag-ye"},{name:"Mayotte Flag",unified:"1F1FE-1F1F9",keywords:["flag_mayotte","yt","flag","nation","country","banner"],sheet:[4,53],shortName:"flag-yt"},{name:"South Africa Flag",unified:"1F1FF-1F1E6",keywords:["flag_south_africa","south","africa","flag","nation","country","banner"],sheet:[4,54],shortName:"flag-za"},{name:"Zambia Flag",unified:"1F1FF-1F1F2",keywords:["flag_zambia","zm","flag","nation","country","banner"],sheet:[4,55],shortName:"flag-zm"},{name:"Zimbabwe Flag",unified:"1F1FF-1F1FC",keywords:["flag_zimbabwe","zw","flag","nation","country","banner"],sheet:[4,56],shortName:"flag-zw"},{name:"England Flag",unified:"1F3F4-E0067-E0062-E0065-E006E-E0067-E007F",keywords:["flag_england","flag","english"],sheet:[11,4],shortName:"flag-england"},{name:"Scotland Flag",unified:"1F3F4-E0067-E0062-E0073-E0063-E0074-E007F",keywords:["flag_scotland","flag","scottish"],sheet:[11,5],shortName:"flag-scotland"},{name:"Wales Flag",unified:"1F3F4-E0067-E0062-E0077-E006C-E0073-E007F",keywords:["flag_wales","flag","welsh"],sheet:[11,6],shortName:"flag-wales"}],Wl=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/,Ku=["1F3FA","1F3FB","1F3FC","1F3FD","1F3FE","1F3FF"],Yc=(j,S)=>`https://unpkg.com/emoji-datasource-${j}@6.0.1/img/${j}/sheets-256/${S}.png`;let Qc=(()=>{var j;class S{constructor(){this.uncompressed=!1,this.names={},this.emojis=[],this.uncompressed||(this.uncompress(Cu),this.uncompressed=!0)}uncompress(w){this.emojis=w.map(B=>{const te={...B};if(te.shortNames||(te.shortNames=[]),te.shortNames.unshift(te.shortName),te.id=te.shortName,te.native=this.unifiedToNative(te.unified),te.skinVariations||(te.skinVariations=[]),te.keywords||(te.keywords=[]),te.emoticons||(te.emoticons=[]),te.hidden||(te.hidden=[]),te.text||(te.text=""),te.obsoletes){const Ee=w.find(ze=>ze.unified===te.obsoletes);Ee&&(te.keywords=Ee.keywords?[...te.keywords,...Ee.keywords,Ee.shortName]:[...te.keywords,Ee.shortName])}this.names[te.unified]=te;for(const Ee of te.shortNames)this.names[Ee]=te;return te})}getData(w,B,te){let Ee;if("string"==typeof w){const gt=w.match(Wl);if(gt&&(w=gt[1],gt[2]&&(B=parseInt(gt[2],10))),!this.names.hasOwnProperty(w))return null;Ee=this.names[w]}else w.id?Ee=this.names[w.id]:w.unified&&(Ee=this.names[w.unified.toUpperCase()]);if(Ee||(Ee=w,Ee.custom=!0),Ee.skinVariations&&Ee.skinVariations.length&&B&&B>1&&te){Ee={...Ee};const gt=Ku[B-1],Dt=Ee.skinVariations.find(Wt=>Wt.unified.includes(gt));(!Dt.hidden||!Dt.hidden.includes(te))&&(Ee.skinTone=B,Ee={...Ee,...Dt}),Ee.native=this.unifiedToNative(Ee.unified)}return Ee.set=te||"",Ee}unifiedToNative(w){const B=w.split("-").map(te=>parseInt(`0x${te}`,16));return String.fromCodePoint(...B)}emojiSpriteStyles(w,B="apple",te=24,Ee=64,ze=57,gt=Yc,Dt=58,Wt){const yn=!!Wt;return{width:`${te}px`,height:`${te}px`,display:"inline-block","background-image":`url(${Wt=Wt||gt(B,Ee)})`,"background-size":yn?"100% 100%":`${100*Dt}% ${100*ze}%`,"background-position":yn?void 0:this.getSpritePosition(w,Dt)}}getSpritePosition(w,B){const[te,Ee]=w,ze=100/(B-1);return`${ze*te}% ${ze*Ee}%`}sanitize(w){if(null===w)return null;let te=`:${w.id||w.shortNames[0]}:`;return w.skinTone&&(te+=`:skin-tone-${w.skinTone}:`),w.colons=te,{...w}}getSanitizedData(w,B,te){return this.sanitize(this.getData(w,B,te))}}return(j=S).\u0275fac=function(w){return new(w||j)},j.\u0275prov=o.jDH({token:j,factory:j.\u0275fac,providedIn:"root"}),S})(),Na=(()=>{var j;class S{constructor(w){this.platformId=w,this.NAMESPACE="emoji-mart",this.frequently=null,this.defaults={},this.initialized=!1,this.DEFAULTS=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","poop"]}init(){this.frequently=JSON.parse((0,Y.UE)(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.frequently`)||"null"),this.initialized=!0}add(w){this.initialized||this.init(),this.frequently||(this.frequently=this.defaults),this.frequently[w.id]||(this.frequently[w.id]=0),this.frequently[w.id]+=1,(0,Y.UE)(this.platformId)&&(localStorage.setItem(`${this.NAMESPACE}.last`,w.id),localStorage.setItem(`${this.NAMESPACE}.frequently`,JSON.stringify(this.frequently)))}get(w,B){if(this.initialized||this.init(),null===this.frequently){this.defaults={};const Wt=[];for(let yn=0;yn<w;yn++)this.defaults[this.DEFAULTS[yn]]=w-yn,Wt.push(this.DEFAULTS[yn]);return Wt}const te=w*B,gt=Object.keys(this.frequently).sort((Wt,yn)=>this.frequently[Wt]-this.frequently[yn]).reverse().slice(0,te),Dt=(0,Y.UE)(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.last`);return Dt&&!gt.includes(Dt)&&(gt.pop(),gt.push(Dt)),gt}}
1return(j=S).\u0275fac=function(w){return new(w||j)(o.KVO(o.Agw))},j.\u0275prov=o.jDH({token:j,factory:j.\u0275fac,providedIn:"root"}),S})();const sc=["*","*"];function Hs(j,S){if(1&j&&o.EFF(0),2&j){const D=o.XpG(2);o.JRh(D.unified)}}function fh(j,S){if(1&j){const D=o.RV6();o.j41(0,"button",2),o.bIt("click",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.handleClick(B))})("mouseenter",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.handleOver(B))})("mouseleave",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.handleLeave(B))}),o.j41(1,"span",3),o.DNE(2,Hs,1,1,"ng-template",4),o.SdG(3),o.k0s()()}if(2&j){const D=o.XpG();o.AVh("emoji-mart-emoji-native",D.isNative)("emoji-mart-emoji-custom",D.custom),o.Y8G("title",D.title),o.BMQ("aria-label",D.label),o.R7$(),o.Y8G("ngStyle",D.style),o.R7$(),o.Y8G("ngIf",D.isNative)}}function kp(j,S){if(1&j&&o.EFF(0),2&j){const D=o.XpG(2);o.JRh(D.unified)}}function pf(j,S){if(1&j){const D=o.RV6();o.j41(0,"span",5),o.bIt("click",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.handleClick(B))})("mouseenter",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.handleOver(B))})("mouseleave",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.handleLeave(B))}),o.j41(1,"span",3),o.DNE(2,kp,1,1,"ng-template",4),o.SdG(3,1),o.k0s()()}if(2&j){const D=o.XpG();o.AVh("emoji-mart-emoji-native",D.isNative)("emoji-mart-emoji-custom",D.custom),o.Y8G("title",D.title),o.BMQ("aria-label",D.label),o.R7$(),o.Y8G("ngStyle",D.style),o.R7$(),o.Y8G("ngIf",D.isNative)}}let Np=(()=>{var j;class S{constructor(w){this.emojiService=w,this.skin=1,this.set="apple",this.sheetSize=64,this.isNative=!1,this.forceSize=!1,this.tooltip=!1,this.size=24,this.emoji="",this.hideObsolete=!1,this.emojiOver=new o.bkB,this.emojiLeave=new o.bkB,this.emojiClick=new o.bkB,this.title="",this.label="",this.custom=!1,this.isVisible=!0,this.backgroundImageFn=Yc}ngOnChanges(){if(!this.emoji)return this.isVisible=!1;const w=this.getData();if(!w)return this.isVisible=!1;if(this.unified=w.native||null,w.custom&&(this.custom=w.custom),!w.unified&&!w.custom)return this.isVisible=!1;if(this.tooltip&&(this.title=w.shortNames[0]),w.obsoletedBy&&this.hideObsolete)return this.isVisible=!1;if(this.label=[w.native].concat(w.shortNames).filter(Boolean).join(", "),this.isNative&&w.unified&&w.native)this.style={fontSize:`${this.size}px`},this.forceSize&&(this.style.display="inline-block",this.style.width=`${this.size}px`,this.style.height=`${this.size}px`,this.style["word-break"]="keep-all");else if(w.custom)this.style={width:`${this.size}px`,height:`${this.size}px`,display:"inline-block"},this.style=w.spriteUrl&&this.sheetRows&&this.sheetColumns?{...this.style,backgroundImage:`url(${w.spriteUrl})`,backgroundSize:`${100*this.sheetColumns}% ${100*this.sheetRows}%`,backgroundPosition:this.emojiService.getSpritePosition(w.sheet,this.sheetColumns)}:{...this.style,backgroundImage:`url(${w.imageUrl})`,backgroundSize:"contain"};else if(w.hidden.length&&w.hidden.includes(this.set)){if(!this.fallback)return this.isVisible=!1;this.style={fontSize:`${this.size}px`},this.unified=this.fallback(w,this)}else{var B;this.style=this.emojiService.emojiSpriteStyles(w.sheet,this.set,this.size,this.sheetSize,this.sheetRows,this.backgroundImageFn,this.sheetColumns,null===(B=this.imageUrlFn)||void 0===B?void 0:B.call(this,this.getData()))}return this.isVisible=!0}getData(){return this.emojiService.getData(this.emoji,this.skin,this.set)}getSanitizedData(){return this.emojiService.getSanitizedData(this.emoji,this.skin,this.set)}handleClick(w){const B=this.getSanitizedData();this.emojiClick.emit({emoji:B,$event:w})}handleOver(w){const B=this.getSanitizedData();this.emojiOver.emit({emoji:B,$event:w})}handleLeave(w){const B=this.getSanitizedData();this.emojiLeave.emit({emoji:B,$event:w})}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(Qc))},j.\u0275cmp=o.VBU({type:j,selectors:[["ngx-emoji"]],inputs:{skin:"skin",set:"set",sheetSize:"sheetSize",isNative:"isNative",forceSize:"forceSize",tooltip:"tooltip",size:"size",emoji:"emoji",fallback:"fallback",hideObsolete:"hideObsolete",sheetRows:"sheetRows",sheetColumns:"sheetColumns",useButton:"useButton",backgroundImageFn:"backgroundImageFn",imageUrlFn:"imageUrlFn"},outputs:{emojiOver:"emojiOver",emojiLeave:"emojiLeave",emojiClick:"emojiClick"},features:[o.OA$],ngContentSelectors:sc,decls:2,vars:2,consts:[["type","button","class","emoji-mart-emoji",3,"title","emoji-mart-emoji-native","emoji-mart-emoji-custom","click","mouseenter","mouseleave",4,"ngIf"],["class","emoji-mart-emoji",3,"title","emoji-mart-emoji-native","emoji-mart-emoji-custom","click","mouseenter","mouseleave",4,"ngIf"],["type","button",1,"emoji-mart-emoji",3,"click","mouseenter","mouseleave","title"],[3,"ngStyle"],[3,"ngIf"],[1,"emoji-mart-emoji",3,"click","mouseenter","mouseleave","title"]],template:function(w,B){1&w&&(o.NAR(sc),o.DNE(0,fh,4,8,"button",0)(1,pf,4,8,"span",1)),2&w&&(o.Y8G("ngIf",B.useButton&&B.isVisible),o.R7$(),o.Y8G("ngIf",!B.useButton&&B.isVisible))},dependencies:[Y.bT,Y.B3],encapsulation:2,changeDetection:0}),S})();const Op=["container"],Pp=["label"];
1function Jc(j,S){if(1&j){const D=o.RV6();o.j41(0,"ngx-emoji",6),o.bIt("emojiOver",function(B){o.eBV(D);const te=o.XpG(3);return o.Njj(te.emojiOver.emit(B))})("emojiLeave",function(B){o.eBV(D);const te=o.XpG(3);return o.Njj(te.emojiLeave.emit(B))})("emojiClick",function(B){o.eBV(D);const te=o.XpG(3);return o.Njj(te.emojiClick.emit(B))}),o.k0s()}if(2&j){const D=S.$implicit,w=o.XpG(3);o.Y8G("emoji",D)("size",w.emojiSize)("skin",w.emojiSkin)("isNative",w.emojiIsNative)("set",w.emojiSet)("sheetSize",w.emojiSheetSize)("forceSize",w.emojiForceSize)("tooltip",w.emojiTooltip)("backgroundImageFn",w.emojiBackgroundImageFn)("imageUrlFn",w.emojiImageUrlFn)("hideObsolete",w.hideObsolete)("useButton",w.emojiUseButton)}}function Fu(j,S){if(1&j&&(o.j41(0,"div"),o.DNE(1,Jc,1,12,"ngx-emoji",5),o.k0s()),2&j){const D=S.ngIf,w=o.XpG(2);o.R7$(),o.Y8G("ngForOf",D)("ngForTrackBy",w.trackById)}}function Z0(j,S){if(1&j&&(o.j41(0,"div"),o.DNE(1,Fu,2,2,"div",4),o.nI1(2,"async"),o.k0s()),2&j){const D=o.XpG();o.R7$(),o.Y8G("ngIf",o.bMT(2,1,D.filteredEmojis$))}}function Id(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",13),o.bIt("click",function(){o.eBV(D);const B=o.XpG(2);return o.Njj(B.downStick())}),o.EFF(1),o.nI1(2,"translate"),o.k0s()}2&j&&(o.R7$(),o.SpI(" ",o.bMT(2,1,"Common.DownLoad")," "))}function Rd(j,S){1&j&&(o.j41(0,"div",14),o.EFF(1),o.nI1(2,"translate"),o.k0s()),2&j&&(o.R7$(),o.SpI(" ",o.bMT(2,1,"Common.Downing")," "))}function _l(j,S){if(1&j&&(o.j41(0,"div")(1,"div",7)(2,"div",8),o.nrm(3,"img",9),o.j41(4,"div",10),o.EFF(5),o.nI1(6,"translate"),o.k0s(),o.DNE(7,Id,3,3,"div",11)(8,Rd,3,3,"div",12),o.k0s()()()),2&j){const D=o.XpG();o.R7$(3),o.BMQ("src",D.icon,o.B4B),o.R7$(2),o.JRh(o.bMT(6,4,"Common.DownStick")),o.R7$(2),o.Y8G("ngIf",!D.isDowning),o.R7$(),o.Y8G("ngIf",D.isDowning)}}function mu(j,S){if(1&j){const D=o.RV6();o.j41(0,"ngx-emoji",6),o.bIt("emojiOver",function(B){o.eBV(D);const te=o.XpG(2);return o.Njj(te.emojiOver.emit(B))})("emojiLeave",function(B){o.eBV(D);const te=o.XpG(2);return o.Njj(te.emojiLeave.emit(B))})("emojiClick",function(B){o.eBV(D);const te=o.XpG(2);return o.Njj(te.emojiClick.emit(B))}),o.k0s()}if(2&j){const D=S.$implicit,w=o.XpG(2);o.Y8G("emoji",D)("size",w.emojiSize)("skin",w.emojiSkin)("isNative",w.emojiIsNative)("set",w.emojiSet)("sheetSize",w.emojiSheetSize)("forceSize",w.emojiForceSize)("tooltip",w.emojiTooltip)("backgroundImageFn",w.emojiBackgroundImageFn)("imageUrlFn",w.emojiImageUrlFn)("hideObsolete",w.hideObsolete)("useButton",w.emojiUseButton)}}function xp(j,S){if(1&j&&o.DNE(0,mu,1,12,"ngx-emoji",5),2&j){const D=o.XpG();o.Y8G("ngForOf",D.emojisToDisplay)("ngForTrackBy",D.trackById)}}let hh=(()=>{var j;class S{constructor(w,B,te,Ee){this.ref=w,this.injector=B,this.emojiService=te,this.frequently=Ee,this.icon="",this.emojis=null,this.hasStickyPosition=!1,this.name="",this.perLine=9,this.totalFrequentLines=4,this.recent=[],this.custom=[],this.hideObsolete=!0,this.virtualize=!1,this.virtualizeOffset=0,this.emojiOver=new o.bkB,this.emojiLeave=new o.bkB,this.emojiClick=new o.bkB,this.emojiUpdate=new o.bkB,this.containerStyles={},this.emojisToDisplay=[],this.filteredEmojisSubject=new lt.B,this.filteredEmojis$=this.filteredEmojisSubject.asObservable(),this.labelStyles={},this.labelSpanStyles={},this.margin=0,this.minMargin=0,this.maxMargin=0,this.top=0,this.rows=0,this.isDowning=!1}get stickService(){return fr.getStickService(this.injector,this.tenantItem)}ngOnInit(){this.updateRecentEmojis(),this.emojisToDisplay=this.filterEmojis(),this.hasStickyPosition||(this.labelStyles={height:28}),fn.co._stickDownChanged.subscribe(w=>{w.packageId==this.id&&(0==w.type?(this.isDowning=!0,this.ref.markForCheck()):(this.isDowning=!1,this.emojisToDisplay=this.filterEmojis(),this.ngAfterViewInit(),this.ref.markForCheck()))})}downStick(){this.isDowning=!0,this.stickService.getStickItems(this.id).then(w=>{this.emojiUpdate.emit(this.id),setTimeout(()=>{this.ref.markForCheck()},2e3)})}ngOnChanges(w){var B,te;(null===(B=w.emojis)||void 0===B||null===(B=B.currentValue)||void 0===B?void 0:B.length)!==(null===(te=w.emojis)||void 0===te||null===(te=te.previousValue)||void 0===te?void 0:te.length)&&(this.emojisToDisplay=this.filterEmojis(),this.ngAfterViewInit())}ngAfterViewInit(){var w;if(!this.virtualize)return;const{width:B}=this.container.nativeElement.getBoundingClientRect(),te=Math.floor(B/(this.emojiSize+12));this.rows=Math.ceil(this.emojisToDisplay.length/te),this.containerStyles={...this.containerStyles,minHeight:this.rows*(this.emojiSize+12)+28+"px"},null===(w=this.ref)||void 0===w||w.detectChanges(),this.handleScroll(this.container.nativeElement.parentNode.parentNode.scrollTop)}get noEmojiToDisplay(){return 0===this.emojisToDisplay.length}memoizeSize(){const w=this.container.nativeElement.parentNode.parentNode,{top:B,height:te}=this.container.nativeElement.getBoundingClientRect(),Ee=w.getBoundingClientRect().top;this.top=B-Ee+w.scrollTop,this.maxMargin=0===te?0:te-0}handleScroll(w){let B=w-this.top;if(B=B<this.minMargin?this.minMargin:B,B=B>this.maxMargin?this.maxMargin:B,this.virtualize){const{top:te,height:Ee}=this.container.nativeElement.getBoundingClientRect(),ze=this.container.nativeElement.parentNode.parentNode.clientHeight;this.filteredEmojisSubject.next(ze+(ze+this.virtualizeOffset)>=te&&-Ee-(ze+this.virtualizeOffset)<=te?this.emojisToDisplay:[])}return B===this.margin?(this.ref.detectChanges(),!1):(this.hasStickyPosition||(this.label.nativeElement.style.top=`${B}px`),this.margin=B,this.ref.detectChanges(),!0)}updateRecentEmojis(){if("Recent"!==this.name)return;let w=this.recent||this.frequently.get(this.perLine,this.totalFrequentLines);(!w||!w.length)&&(w=this.frequently.get(this.perLine,this.totalFrequentLines)),w.length&&(this.emojis=w.map(B=>this.custom.filter(Ee=>
1Ee.id===B)[0]||B).filter(B=>!!this.emojiService.getData(B)))}updateDisplay(w){this.containerStyles.display=w,this.updateRecentEmojis(),this.ref.detectChanges()}trackById(w,B){return B}filterEmojis(){const w=[];for(const B of this.emojis||[]){if(!B)continue;const te=this.emojiService.getData(B);!te||te.obsoletedBy&&this.hideObsolete||!te.unified&&!te.custom||w.push(B)}return w}getEmojis(){if("Recent"===this.name){var w,B,te,Ee;let ze=this.recent||this.frequently.get(this.perLine,this.totalFrequentLines);if((!ze||!(null!==(w=ze)&&void 0!==w&&w.length))&&(ze=this.frequently.get(this.perLine,this.totalFrequentLines)),null!==(B=ze)&&void 0!==B&&B.length&&(this.emojis=ze.map(gt=>this.custom.filter(Wt=>Wt.id===gt)[0]||gt).filter(gt=>!!this.emojiService.getData(gt))),(!this.emojis||0===(null===(te=this.emojis)||void 0===te?void 0:te.length))&&(null===(Ee=ze)||void 0===Ee?void 0:Ee.length)>0)return null}return this.emojis&&(this.emojis=this.emojis.slice(0)),this.emojis}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(o.gRc),o.rXU(o.zZn),o.rXU(Qc),o.rXU(Na))},j.\u0275cmp=o.VBU({type:j,selectors:[["emoji-category"]],viewQuery:function(w,B){if(1&w&&(o.GBs(Op,7),o.GBs(Pp,7)),2&w){let te;o.mGM(te=o.lsd())&&(B.container=te.first),o.mGM(te=o.lsd())&&(B.label=te.first)}},inputs:{icon:"icon",tenantItem:"tenantItem",emojis:"emojis",hasStickyPosition:"hasStickyPosition",name:"name",perLine:"perLine",totalFrequentLines:"totalFrequentLines",recent:"recent",custom:"custom",i18n:"i18n",id:"id",hideObsolete:"hideObsolete",notFoundEmoji:"notFoundEmoji",virtualize:"virtualize",virtualizeOffset:"virtualizeOffset",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiForceSize:"emojiForceSize",emojiTooltip:"emojiTooltip",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiImageUrlFn:"emojiImageUrlFn",emojiUseButton:"emojiUseButton"},outputs:{emojiOver:"emojiOver",emojiLeave:"emojiLeave",emojiClick:"emojiClick",emojiUpdate:"emojiUpdate"},features:[o.OA$],decls:6,vars:7,consts:[["container",""],["normalRenderTemplate",""],[1,"emoji-mart-category",3,"ngStyle"],[4,"ngIf","ngIfElse"],[4,"ngIf"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","imageUrlFn","hideObsolete","useButton","emojiOver","emojiLeave","emojiClick",4,"ngFor","ngForOf","ngForTrackBy"],[3,"emojiOver","emojiLeave","emojiClick","emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","imageUrlFn","hideObsolete","useButton"],[1,"emoji-mart-no-results-label"],[1,"flex","flex-col","items-center"],["width","60","height","60"],[1,"mt-2"],["class","mt-2 w-20 bg-colors-btnclear text-colors-btnclear2 cursor-default hover:bg-colors-blue2 hover:text-black rounded-lg text-center mr-2 border p-2",3,"click",4,"ngIf"],["class","mt-2 w-20 bg-colors-btnclear text-colors-btnclear2 cursor-default hover:bg-colors-blue2 hover:text-black rounded-lg text-center mr-2 border p-2",4,"ngIf"],[1,"mt-2","w-20","bg-colors-btnclear","text-colors-btnclear2","cursor-default","hover:bg-colors-blue2","hover:text-black","rounded-lg","text-center","mr-2","border","p-2",3,"click"],[1,"mt-2","w-20","bg-colors-btnclear","text-colors-btnclear2","cursor-default","hover:bg-colors-blue2","hover:text-black","rounded-lg","text-center","mr-2","border","p-2"]],template:function(w,B){if(1&w&&(o.j41(0,"section",2,0),o.DNE(2,Z0,3,3,"div",3)(3,_l,9,6,"div",4),o.k0s(),o.DNE(4,xp,1,2,"ng-template",null,1,o.C5r)),2&w){const te=o.sdS(5);o.AVh("emoji-mart-no-results",B.noEmojiToDisplay),o.Y8G("ngStyle",B.containerStyles),o.BMQ("aria-label",B.i18n.categories[B.id]),o.R7$(2),o.Y8G("ngIf",B.virtualize)("ngIfElse",te),o.R7$(),o.Y8G("ngIf",B.noEmojiToDisplay)}},dependencies:[Y.Sq,Y.bT,Y.B3,Np,Y.Jj,ae.D9],encapsulation:2,changeDetection:0}),S})();function mf(j,S){if(1&j){const D=o.RV6();o.j41(0,"span",2)(1,"span",3),o.bIt("click",function(){const B=o.eBV(D).$implicit,te=o.XpG();return o.Njj(te.handleClick(B))})("keyup.enter",function(){const B=o.eBV(D).$implicit,te=o.XpG();return o.Njj(te.handleClick(B))})("keyup.space",function(){const B=o.eBV(D).$implicit,te=o.XpG();return o.Njj(te.handleClick(B))}),o.k0s()()}if(2&j){const D=S.$implicit,w=o.XpG();o.AVh("selected",D===w.skin),o.R7$(),o.ZvI("emoji-mart-skin emoji-mart-skin-tone-",D,""),o.Y8G("tabIndex",w.tabIndex(D))("title",w.i18n.skintones[D]),o.BMQ("aria-hidden",!w.isVisible(D))("aria-pressed",w.pressed(D))("aria-haspopup",!!w.isSelected(D))("aria-expanded",w.expanded(D))("aria-label",w.i18n.skintones[D])}}let Su=(()=>{var j;class S{constructor(){this.changeSkin=new o.bkB,this.opened=!1,this.skinTone
1s=[1,2,3,4,5,6]}toggleOpen(){this.opened=!this.opened}isSelected(w){return w===this.skin}isVisible(w){return this.opened||this.isSelected(w)}pressed(w){return this.opened?!!this.isSelected(w):""}tabIndex(w){return this.isVisible(w)?"0":""}expanded(w){return this.isSelected(w)?this.opened:""}handleClick(w){this.opened?(this.opened=!1,w!==this.skin&&this.changeSkin.emit(w)):this.opened=!0}}return(j=S).\u0275fac=function(w){return new(w||j)},j.\u0275cmp=o.VBU({type:j,selectors:[["emoji-skins"]],inputs:{skin:"skin",i18n:"i18n"},outputs:{changeSkin:"changeSkin"},decls:2,vars:3,consts:[[1,"emoji-mart-skin-swatches"],["class","emoji-mart-skin-swatch",3,"selected",4,"ngFor","ngForOf"],[1,"emoji-mart-skin-swatch"],["role","button",3,"click","keyup.enter","keyup.space","tabIndex","title"]],template:function(w,B){1&w&&(o.j41(0,"section",0),o.DNE(1,mf,2,12,"span",1),o.k0s()),2&w&&(o.AVh("opened",B.opened),o.R7$(),o.Y8G("ngForOf",B.skinTones))},dependencies:[Y.Sq],encapsulation:2,changeDetection:0}),S})();function Zc(j,S){if(1&j&&(o.j41(0,"span",11),o.EFF(1),o.k0s()),2&j){const D=S.$implicit;o.R7$(),o.SpI(" :",D,": ")}}function Mp(j,S){if(1&j&&(o.j41(0,"span",15),o.EFF(1),o.k0s()),2&j){const D=S.$implicit;o.R7$(),o.SpI(" ",D," ")}}function ph(j,S){if(1&j&&(o.j41(0,"div",8)(1,"div",2),o.nrm(2,"ngx-emoji",9),o.k0s(),o.j41(3,"div",4)(4,"div",10),o.EFF(5),o.k0s(),o.j41(6,"div",11),o.DNE(7,Zc,2,1,"span",12),o.k0s(),o.j41(8,"div",13),o.DNE(9,Mp,2,1,"span",14),o.k0s()()()),2&j){let D,w,B,te,Ee;const ze=o.XpG();o.R7$(2),o.Y8G("emoji",ze.emoji)("size",38)("isNative",null!==(D=ze.emojiIsNative)&&void 0!==D&&D)("skin",null!==(w=ze.emojiSkin)&&void 0!==w?w:1)("size",null!==(B=ze.emojiSize)&&void 0!==B?B:38)("set",null!==(te=ze.emojiSet)&&void 0!==te?te:"apple")("sheetSize",null!==(Ee=ze.emojiSheetSize)&&void 0!==Ee?Ee:64)("backgroundImageFn",ze.emojiBackgroundImageFn)("imageUrlFn",ze.emojiImageUrlFn),o.R7$(3),o.JRh(ze.emojiData.name),o.R7$(2),o.Y8G("ngForOf",ze.emojiData.shortNames),o.R7$(2),o.Y8G("ngForOf",ze.listedEmoticons)}}function Lp(j,S){if(1&j&&o.nrm(0,"ngx-emoji",16),2&j){let D,w,B;const te=o.XpG();o.Y8G("isNative",null!==(D=te.emojiIsNative)&&void 0!==D&&D)("skin",null!==(w=te.emojiSkin)&&void 0!==w?w:1)("set",null!==(B=te.emojiSet)&&void 0!==B?B:"apple")("emoji",te.idleEmoji)("backgroundImageFn",te.emojiBackgroundImageFn)("size",38)("imageUrlFn",te.emojiImageUrlFn)}}let Ac=(()=>{var j;class S{constructor(w,B){this.ref=w,this.emojiService=B,this.skinChange=new o.bkB,this.emojiData={}}ngOnChanges(){var w;if(!this.emoji)return;this.emojiData=this.emojiService.getData(this.emoji,this.emojiSkin,this.emojiSet);const B=[],te=[];(this.emojiData.emoticons||[]).forEach(ze=>{B.indexOf(ze.toLowerCase())>=0||(B.push(ze.toLowerCase()),te.push(ze))}),this.listedEmoticons=te,null===(w=this.ref)||void 0===w||w.detectChanges()}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(o.gRc),o.rXU(Qc))},j.\u0275cmp=o.VBU({type:j,selectors:[["emoji-preview"]],inputs:{title:"title",emoji:"emoji",idleEmoji:"idleEmoji",i18n:"i18n",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiImageUrlFn:"emojiImageUrlFn"},outputs:{skinChange:"skinChange"},features:[o.OA$],decls:9,vars:6,consts:[["class","emoji-mart-preview",4,"ngIf"],[1,"emoji-mart-preview",3,"hidden"],[1,"emoji-mart-preview-emoji"],[3,"isNative","skin","set","emoji","backgroundImageFn","size","imageUrlFn",4,"ngIf"],[1,"emoji-mart-preview-data"],[1,"emoji-mart-title-label"],[1,"emoji-mart-preview-skins"],[3,"changeSkin","skin","i18n"],[1,"emoji-mart-preview"],[3,"emoji","size","isNative","skin","set","sheetSize","backgroundImageFn","imageUrlFn"],[1,"emoji-mart-preview-name"],[1,"emoji-mart-preview-shortname"],["class","emoji-mart-preview-shortname",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticons"],["class","emoji-mart-preview-emoticon",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticon"],[3,"isNative","skin","set","emoji","backgroundImageFn","size","imageUrlFn"]],template:function(w,B){1&w&&(o.DNE(0,ph,10,12,"div",0),o.j41(1,"div",1)(2,"div",2),o.DNE(3,Lp,1,7,"ngx-emoji",3),o.k0s(),o.j41(4,"div",4)(5,"span",5),o.EFF(6),o.k0s()(),o.j41(7,"div",6)(8,"emoji-skins",7),o.bIt("changeSkin",function(Ee){return B.skinChange.emit(Ee)}),o.k0s()()()),2&w&&(o.Y8G("ngIf",B.emoji&&B.emojiData),o.R7$(),o.Y8G("hidden",B.emoji),o.R7$(2),o.Y8G("ngIf",B.idleEmoji&&B.idleEmoji.length),o.R7$(3),o.JRh(B.title),o.R7$(2),o.Y8G("skin",B.emojiSkin)("i18n",B.i18n))},dependencies:[Y.Sq,Y.bT,Np,Su],encapsulation:2,changeDetection:0}),S})();function ed(j){return j.reduce((S,D)=>(S.includes(D)||S.push(D),S),[])}function o1(j,S){const D=ed(j),w=ed(S);
1return D.filter(B=>w.indexOf(B)>=0)}let gf=(()=>{var j;class S{constructor(w){this.emojiService=w,this.originalPool={},this.index={},this.emojisList={},this.emoticonsList={},this.emojiSearch={};for(const B of this.emojiService.emojis){const{shortNames:te,emoticons:Ee}=B,ze=te[0];for(const gt of Ee)this.emoticonsList[gt]||(this.emoticonsList[gt]=ze);this.emojisList[ze]=this.emojiService.getSanitizedData(ze),this.originalPool[ze]=B}}addCustomToPool(w,B){for(const te of w){const Ee=te.id||te.shortNames[0];Ee&&!B[Ee]&&(B[Ee]=this.emojiService.getData(te),this.emojisList[Ee]=this.emojiService.getSanitizedData(te))}}search(w,B,te=75,Ee=[],ze=[],gt=[]){this.addCustomToPool(gt,this.originalPool);let Dt,Wt=this.originalPool;if(w.length){if("-"===w||"-1"===w)return[this.emojisList[-1]];if("+"===w||"+1"===w)return[this.emojisList["+1"]];let Bn=w.toLowerCase().split(/[\s|,|\-|_]+/),Ln=[];if(Bn.length>2&&(Bn=[Bn[0],Bn[1]]),Ee.length||ze.length){Wt={};for(const Jn of $a||[]){const ir=!Ee||!Ee.length||Ee.indexOf(Jn.id)>-1,Tr=!(!ze||!ze.length)&&ze.indexOf(Jn.id)>-1;if(ir&&!Tr)for(const Zr of Jn.emojis||[]){var yn;const fi=this.emojiService.getData(Zr);Wt[null!==(yn=null==fi?void 0:fi.id)&&void 0!==yn?yn:""]=fi}}if(gt.length){const Jn=!Ee||!Ee.length||Ee.indexOf("custom")>-1,ir=!(!ze||!ze.length)&&ze.indexOf("custom")>-1;Jn&&!ir&&this.addCustomToPool(gt,Wt)}}Ln=Bn.map(Jn=>{let ir=Wt,Tr=this.index,Zr=0;for(let fi=0;fi<Jn.length;fi++){const Ai=Jn[fi];if(Zr++,Tr[Ai]||(Tr[Ai]={}),Tr=Tr[Ai],!Tr.results){const bi={};Tr.results=[],Tr.pool={};for(const Mi of Object.keys(ir)){const yi=ir[Mi];this.emojiSearch[Mi]||(this.emojiSearch[Mi]=this.buildSearch(yi.short_names,yi.name,yi.id,yi.keywords,yi.emoticons));const Ei=this.emojiSearch[Mi],uo=Jn.substr(0,Zr),Do=Ei.indexOf(uo);if(-1!==Do){let jo=Do+1;uo===Mi&&(jo=0),Tr.results.push(this.emojisList[Mi]),Tr.pool[Mi]=yi,bi[Mi]=jo}}Tr.results.sort((Mi,yi)=>bi[Mi.id]-bi[yi.id])}ir=Tr.pool}return Tr.results}).filter(Jn=>Jn),Dt=Ln.length>1?o1.apply(null,Ln):Ln.length?Ln[0]:[]}return Dt&&(B&&(Dt=Dt.filter(Bn=>!(!Bn||!Bn.id)&&B(this.emojiService.names[Bn.id]))),Dt&&Dt.length>te&&(Dt=Dt.slice(0,te))),Dt||null}buildSearch(w,B,te,Ee,ze){const gt=[],Dt=(Wt,yn)=>{if(!Wt)return;const Bn=Array.isArray(Wt)?Wt:[Wt];for(const Ln of Bn){const Jn=yn?Ln.split(/[-|_|\s]+/):[Ln];for(let ir of Jn)ir=ir.toLowerCase(),gt.includes(ir)||gt.push(ir)}};return Dt(w,!0),Dt(B,!0),Dt(te,!0),Dt(Ee,!0),Dt(ze,!1),gt.join(",")}}return(j=S).\u0275fac=function(w){return new(w||j)(o.KVO(Qc))},j.\u0275prov=o.jDH({token:j,factory:j.\u0275fac,providedIn:"root"}),S})();const ac=["inputRef"];let Bp=0,qu=(()=>{var j;class S{constructor(w){this.emojiSearch=w,this.maxResults=75,this.autoFocus=!1,this.include=[],this.exclude=[],this.custom=[],this.searchResults=new o.bkB,this.enterKey=new o.bkB,this.isSearching=!1,this.query="",this.inputId="emoji-mart-search-"+ ++Bp}ngOnInit(){this.icon=this.icons.search}ngAfterViewInit(){this.autoFocus&&this.inputRef.nativeElement.focus()}clear(){this.query="",this.handleSearch(""),this.inputRef.nativeElement.focus()}handleEnterKey(w){this.query&&(this.enterKey.emit(w),w.preventDefault())}handleSearch(w){""===w?(this.icon=this.icons.search,this.isSearching=!1):(this.icon=this.icons.delete,this.isSearching=!0);const B=this.emojiSearch.search(this.query,this.emojisToShowFilter,this.maxResults,this.include,this.exclude,this.custom);this.searchResults.emit(B)}handleChange(){this.handleSearch(this.query)}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(gf))},j.\u0275cmp=o.VBU({type:j,selectors:[["emoji-search"]],viewQuery:function(w,B){if(1&w&&o.GBs(ac,7),2&w){let te;o.mGM(te=o.lsd())&&(B.inputRef=te.first)}},inputs:{maxResults:"maxResults",autoFocus:"autoFocus",i18n:"i18n",include:"include",exclude:"exclude",custom:"custom",icons:"icons",emojisToShowFilter:"emojisToShowFilter"},outputs:{searchResults:"searchResults",enterKey:"enterKey"},decls:8,vars:9,consts:[["inputRef",""],[1,"emoji-mart-search"],["type","search",3,"keyup.enter","ngModelChange","id","placeholder","autofocus","ngModel"],[1,"emoji-mart-sr-only",3,"htmlFor"],["type","button",1,"emoji-mart-search-icon",3,"click","keyup.enter","disabled"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","width","13","height","13","opacity","0.5"]],template:function(w,B){if(1&w){const te=o.RV6();o.j41(0,"div",1)(1,"input",2,0),o.bIt("keyup.enter",function(ze){return o.eBV(te),o.Njj(B.handleEnterKey(ze))}),o.mxI("ngModelChange",function(ze){return o.eBV(te),o.DH7(B.query,ze)||(B.query=ze),o.Njj(ze)}),o.bIt("ngModelChange",function(){return o.eBV(te),o.Njj(B.handleChange())}),o.k0s(),o.j41(3,"label",3),o.EFF(4),o.k0s(),o.j41(5,"button",4),o.bIt("click",function(){return o.eBV(te),o.Njj(B.clear())})("keyup.enter",function(){return o.eBV(te),o.Njj(B.clear())}),o.qSk(),o.j41(6,"svg",5),o.nrm(7,"path"),o.k0s()()()}2&w&&(o.R7$(),o.Y8G("id",B.inputId)("placeholder",B.i18n.search)("autofocus",B.autoFocus),o.R50("ngModel",B.query),o.R7$(2),o.Y8G("htmlFor",B.inputId),o.R7$(),o.SpI(" ",B.i18n.search," "),o.R7$(),o.Y8G("disabled",!B.isSearching),o.BMQ("aria-label",B.i18n.clear),o.R7$(2),o.BMQ("d",B.icon))},dependencies:[pr.me,pr.BC,pr.vS],encapsulation:2}),S})();const td={activity:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m10 11h-5c.3-2.5 1.3-4.8 2-6.1a10 10 0 0 1 3 6.1m-9 0V2a10 10 0 0 1 4.4 1.6A18 18 0 0 0 15 11h-2zm-2 0H9a18 18 0 0 0-2.4-7.4A10 10 0 0 1 11 2.1V11zm0 2v9a10 10 0 0 1-4.4-1.6A18 18 0 0 0 9 13h2zm4 0a18 18
10 0 0 2.4 7.4 10 10 0 0 1-4.4 1.5V13h2zM5 4.9c.7 1.3 1.7 3.6 2 6.1H2a10 10 0 0 1 3-6.1M2 13h5c-.3 2.5-1.3 4.8-2 6.1A10 10 0 0 1 2 13m17 6.1c-.7-1.3-1.7-3.6-2-6.1h5a10 10 0 0 1-3 6.1",custom:"M10 1h3v21h-3zm10.186 4l1.5 2.598L3.5 18.098 2 15.5zM2 7.598L3.5 5l18.186 10.5-1.5 2.598z",flags:"M0 0l6 24h2L2 0zm21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.6 3h7.8l2 8H8.6l-2-8zm8.8 10l-2.9 1.9-.4-1.9h3.3zm3.6 0l-1.5-6h2l2 8H16l3-2z",foods:"M17 5c-1.8 0-2.9.4-3.7 1 .5-1.3 1.8-3 4.7-3a1 1 0 0 0 0-2c-3 0-4.6 1.3-5.5 2.5l-.2.2c-.6-1.9-1.5-3.7-3-3.7C8.5 0 7.7.3 7 1c-2 1.5-1.7 2.9-.5 4C3.6 5.2 0 7.4 0 13c0 4.6 5 11 9 11 2 0 2.4-.5 3-1 .6.5 1 1 3 1 4 0 9-6.4 9-11 0-6-4-8-7-8M8.2 2.5c.7-.5 1-.5 1-.5.4.2 1 1.4 1.4 3-1.6-.6-2.8-1.3-3-1.8l.6-.7M15 22c-1 0-1.2-.1-1.6-.4l-.1-.2a2 2 0 0 0-2.6 0l-.1.2c-.4.3-.5.4-1.6.4-2.8 0-7-5.4-7-9 0-6 4.5-6 5-6 2 0 2.5.4 3.4 1.2l.3.3a2 2 0 0 0 2.6 0l.3-.3c1-.8 1.5-1.2 3.4-1.2.5 0 5 .1 5 6 0 3.6-4.2 9-7 9",nature:"M15.5 8a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-7 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m10.43-8h-.02c-.97 0-2.14.79-3.02 1.5A13.88 13.88 0 0 0 12 .99c-1.28 0-2.62.13-3.87.51C7.24.8 6.07 0 5.09 0h-.02C3.35 0 .07 2.67 0 7.03c-.04 2.47.28 4.23 1.04 5 .26.27.88.69 1.3.9.19 3.17.92 5.23 2.53 6.37.9.64 2.19.95 3.2 1.1-.03.2-.07.4-.07.6 0 1.77 2.35 3 4 3s4-1.23 4-3c0-.2-.04-.4-.07-.59 2.57-.38 5.43-1.87 5.92-7.58.4-.22.89-.57 1.1-.8.77-.76 1.09-2.52 1.05-5C23.93 2.67 20.65 0 18.93 0M3.23 9.13c-.24.29-.84 1.16-.9 1.24A9.67 9.67 0 0 1 2 7.08c.05-3.28 2.48-4.97 3.1-5.03.25.02.72.27 1.26.65A7.95 7.95 0 0 0 4 7.82c-.14.55-.4.86-.79 1.31M12 22c-.9 0-1.95-.7-2-1 0-.65.47-1.24 1-1.6v.6a1 1 0 1 0 2 0v-.6c.52.36 1 .95 1 1.6-.05.3-1.1 1-2 1m3-3.48v.02a4.75 4.75 0 0 0-1.26-1.02c1.09-.52 2.24-1.33 2.24-2.22 0-1.84-1.78-2.2-3.98-2.2s-3.98.36-3.98 2.2c0 .89 1.15 1.7 2.24 2.22A4.8 4.8 0 0 0 9 18.54v-.03a6.1 6.1 0 0 1-2.97-.84c-1.3-.92-1.84-3.04-1.86-6.48l.03-.04c.5-.82 1.49-1.45 1.8-3.1C6 6 7.36 4.42 8.36 3.53c1.01-.35 2.2-.53 3.59-.53 1.45 0 2.68.2 3.73.57 1 .9 2.32 2.46 2.32 4.48.31 1.65 1.3 2.27 1.8 3.1l.1.18c-.06 5.97-1.95 7.01-4.9 7.19m6.63-8.2l-.11-.2a7.59 7.59 0 0 0-.74-.98 3.02 3.02 0 0 1-.79-1.32 7.93 7.93 0 0 0-2.35-5.12c.53-.38 1-.63 1.26-.65.64.07 3.05 1.77 3.1 5.03.02 1.81-.35 3.22-.37 3.24",objects:"M12 0a9 9 0 0 0-5 16.5V21s2 3 5 3 5-3 5-3v-4.5A9 9 0 0 0 12 0zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14zM9 17.5a9 9 0 0 0 6 0v.8a7 7 0 0 1-3 .7 7 7 0 0 1-3-.7v-.8zm.2 3a8.9 8.9 0 0 0 2.8.5c1 0 1.9-.2 2.8-.5-.6.7-1.6 1.5-2.8 1.5-1.1 0-2.1-.8-2.8-1.5zm5.5-8.1c-.8 0-1.1-.8-1.5-1.8-.5-1-.7-1.5-1.2-1.5s-.8.5-1.3 1.5c-.4 1-.8 1.8-1.6 1.8h-.3c-.5-.2-.8-.7-1.3-1.8l-.2-1A3 3 0 0 0 7 9a1 1 0 0 1 0-2c1.7 0 2 1.4 2.2 2.1.5-1 1.3-2 2.8-2 1.5 0 2.3 1.1 2.7 2.1.2-.8.6-2.2 2.3-2.2a1 1 0 1 1 0 2c-.2 0-.3.5-.3.7a6.5 6.5 0 0 1-.3 1c-.5 1-.8 1.7-1.7 1.7",people:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20M8 7a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-.8 8c-.7 1.2-1.8 2-3.3 2-1.5 0-2.7-.8-3.4-2H15m3-2H6a6 6 0 1 0 12 0",places:"M6.5 12a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m11-3a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m5-5.5l-1-.4-.1-.1h.6c.6 0 1-.4 1-1 0-1-.9-2-2-2h-.6l-.8-1.7A3 3 0 0 0 16.8 2H7.2a3 3 0 0 0-2.8 2.3L3.6 6H3a2 2 0 0 0-2 2c0 .6.4 1 1 1h.6v.1l-1 .4a2 2 0 0 0-1.4 2l.7 7.6a1 1 0 0 0 1 .9H3v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h6v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h1.1a1 1 0 0 0 1-.9l.7-7.5a2 2 0 0 0-1.3-2.1M6.3 4.9c.1-.5.5-.9 1-.9h9.5c.4 0 .8.4 1 .9L19.2 9H4.7l1.6-4.1zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.2-3H2.8l-.7-6.6.9-.4h18l.9.4-.7 6.6z",recent:"M13 4h-2v7H9v2h2v2h2v-2h4v-2h-4zm-1-4a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20",symbols:"M0 0h11v2H0zm4 11h3V6h4V4H0v2h4zm11.5 6a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5m0-2.99a.5.5 0 0 1 0 .99c-.28 0-.5-.22-.5-.5s.22-.49.5-.49m6 5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 2.99a.5.5 0 0 1-.5-.5.5.5 0 0 1 1 .01.5.5 0 0 1-.5.49m.5-9l-9 9 1.51 1.5 9-9zm-5-2c2.2 0 4-1.12 4-2.5V2s.98-.16 1.5.95C23 4.05 23 6 23 6s1-1.12 1-3.13C24-.02 21 0 21 0h-2v6.35A5.85 5.85 0 0 0 17 6c-2.2 0-4 1.12-4 2.5s1.8 2.5 4 2.5m-6.7 9.48L8.82 18.9a47.54 47.54 0 0 1-1.44 1.13c-.3-.3-.99-1.02-2.04-2.19.9-.83 1.47-1.46 1.72-1.89s.38-.87.38-1.33c0-.6-.27-1.18-.82-1.76-.54-.58-1.33-.87-2.35-.87-1 0-1.79.29-2.34.87-.56.
16-.83 1.18-.83 1.79 0 .81.42 1.75 1.25 2.8a6.57 6.57 0 0 0-1.8 1.79 3.46 3.46 0 0 0-.51 1.83c0 .86.3 1.56.92 2.1a3.5 3.5 0 0 0 2.42.83c1.17 0 2.44-.38 3.81-1.14L8.23 24h2.82l-2.09-2.38 1.34-1.14zM3.56 14.1a1.02 1.02 0 0 1 .73-.28c.31 0 .56.08.75.25a.85.85 0 0 1 .28.66c0 .52-.42 1.11-1.26 1.78-.53-.65-.8-1.23-.8-1.74a.9.9 0 0 1 .3-.67m.18 7.9c-.43 0-.78-.12-1.06-.35-.28-.23-.41-.49-.41-.76 0-.6.5-1.3 1.52-2.09a31.23 31.23 0 0 0 2.25 2.44c-.92.5-1.69.76-2.3.76"},lc={search:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z",delete:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"};function s1(j,S){if(1&j){const D=o.RV6();o.j41(0,"span",3),o.bIt("click",function(B){o.eBV(D);const te=o.XpG().index,Ee=o.XpG();return o.Njj(Ee.handleClick(B,te))}),o.j41(1,"div",4),o.nrm(2,"img",5),o.k0s(),o.nrm(3,"span",6),o.k0s()}if(2&j){const D=o.XpG().$implicit,w=o.XpG();o.xc7("color",D.name===w.selected?w.color:null),o.AVh("emoji-mart-anchor-selected",D.name===w.selected),o.BMQ("title",w.i18n.categories[D.id]),o.R7$(2),o.BMQ("src",w.icons[D.id],o.B4B),o.R7$(),o.xc7("background-color",w.color)}}function mh(j,S){1&j&&o.DNE(0,s1,4,8,"span",2),2&j&&o.Y8G("ngIf",!1!==S.$implicit.anchor)}let kd=(()=>{var j;class S{constructor(){this.categories=[],this.icons={},this.anchorClick=new o.bkB}trackByFn(w,B){return B.id}handleClick(w,B){this.anchorClick.emit({category:this.categories[B],index:B})}}return(j=S).\u0275fac=function(w){return new(w||j)},j.\u0275cmp=o.VBU({type:j,selectors:[["emoji-mart-anchors"]],inputs:{categories:"categories",color:"color",selected:"selected",i18n:"i18n",icons:"icons"},outputs:{anchorClick:"anchorClick"},decls:2,vars:2,consts:[[1,"emoji-mart-anchors"],["ngFor","",3,"ngForOf","ngForTrackBy"],["class","emoji-mart-anchor",3,"emoji-mart-anchor-selected","color","click",4,"ngIf"],[1,"emoji-mart-anchor",3,"click"],[1,"flex","flex-col","items-center",2,"flex-direction","column"],["width","24","height","24"],[1,"emoji-mart-anchor-bar"]],template:function(w,B){1&w&&(o.j41(0,"div",0),o.DNE(1,mh,1,1,"ng-template",1),o.k0s()),2&w&&(o.R7$(),o.Y8G("ngForOf",B.categories)("ngForTrackBy",B.trackByFn))},dependencies:[Y.Sq,Y.bT],encapsulation:2,changeDetection:0}),S})();const jp=["scrollRef"],bl=()=>[];function tg(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",6)(1,"emoji-preview",8),o.bIt("skinChange",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.handleSkinChange(B))}),o.k0s()()}if(2&j){const D=o.XpG();o.R7$(),o.Y8G("title",D.title)("emoji",D.previewEmoji)("idleEmoji",D.emoji)("emojiIsNative",D.isNative)("emojiSize",38)("emojiSkin",D.skin)("emojiSet",D.set)("i18n",D.i18n)("emojiSheetSize",D.sheetSize)("emojiBackgroundImageFn",D.backgroundImageFn)("emojiImageUrlFn",D.imageUrlFn)}}function Nd(j,S){if(1&j){const D=o.RV6();o.j41(0,"emoji-search",9),o.bIt("searchResults",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.handleSearch(B))})("enterKey",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.handleEnterKey(B))}),o.k0s()}if(2&j){let D,w;const B=o.XpG();o.Y8G("i18n",B.i18n)("include",null!==(D=B.include)&&void 0!==D?D:o.lJ4(7,bl))("exclude",null!==(w=B.exclude)&&void 0!==w?w:o.lJ4(8,bl))("custom",B.custom)("autoFocus",B.autoFocus)("icons",B.searchIcons)("emojisToShowFilter",B.emojisToShowFilter)}}function wu(j,S){if(1&j){const D=o.RV6();o.j41(0,"emoji-category",10),o.bIt("emojiOver",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.handleEmojiOver(B))})("emojiLeave",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.handleEmojiLeave())})("emojiClick",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.handleEmojiClick(B))})("emojiUpdate",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.handleEmojiUpdate(B))}),o.k0s()}if(2&j){let D,w;const B=S.$implicit,te=o.XpG();o.Y8G("id",B.id)("tenantItem",te.tenantItem)("name",B.name)("emojis",B.emojis)("perLine",te.perLine)("totalFrequentLines",te.totalFrequentLines)("hasStickyPosition",te.isNative)("i18n",te.i18n)("icon",te.categoriesIcons[B.id])("hideObsolete",te.hideObsolete)("notFoundEmoji",te.notFoundEmoji)("custom",B.id===te.RECENT_CATEGORY.id?null!==(D=te.CUSTOM_CATEGORY.emojis)&&void 0!==D?D:o.lJ4(25,bl):o.lJ4(26,bl))("recent",B.id===te.RECENT_CATEGORY.id?null!==(w=te.recent)&&void 0!==w?w:o.lJ4(27,bl):o.lJ4(28,bl))("virtualize",te.virtualize)("virtualizeOffset",te.virtualizeOffset)("emojiIsNative",te.isNative)("emojiSkin",te.skin)("emojiSize",te.emojiSize)("emojiSet",te.set)("emojiSheetSize",te.sheetSize)("emojiForceSize",te.isNative)("emojiTooltip",te.emojiTooltip)("emojiBackgroun
1dImageFn",te.backgroundImageFn)("emojiImageUrlFn",te.imageUrlFn)("emojiUseButton",te.useButton)}}const vf={search:"Search",emojilist:"List of emoji",notfound:"No Emoji Found",clear:"Clear",categories:{_first:"Emoji",search:"Search Results",recent:"Frequently Used",people:"Smileys & People",nature:"Animals & Nature",foods:"Food & Drink",activity:"Activity",places:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"},skintones:{1:"Default Skin Tone",2:"Light Skin Tone",3:"Medium-Light Skin Tone",4:"Medium Skin Tone",5:"Medium-Dark Skin Tone",6:"Dark Skin Tone"}};let Od=(()=>{var j;class S{constructor(w,B,te,Ee,ze){this.ngZone=w,this.renderer=B,this.ref=te,this.frequently=Ee,this.platformId=ze,this.perLine=9,this.totalFrequentLines=4,this.i18n={},this.style={},this.title="Emoji Mart\u2122",this.emoji="department_store",this.darkMode=!("function"!=typeof matchMedia||!matchMedia("(prefers-color-scheme: dark)").matches),this.color="#ae65c5",this.hideObsolete=!0,this.categories=[],this.activeCategories=[],this.set="apple",this.skin=1,this.isNative=!1,this.emojiSize=24,this.sheetSize=64,this.showPreview=!0,this.emojiTooltip=!1,this.autoFocus=!1,this.custom=[],this.hideRecent=!0,this.notFoundEmoji="sleuth_or_spy",this.categoriesIcons=td,this.searchIcons=lc,this.useButton=!1,this.enableFrequentEmojiSort=!1,this.enableSearch=!0,this.showSingleCategory=!1,this.virtualize=!1,this.virtualizeOffset=0,this.emojiClick=new o.bkB,this.emojiSelect=new o.bkB,this.skinChange=new o.bkB,this.scrollHeight=0,this.clientHeight=0,this.clientWidth=0,this.firstRender=!0,this.animationFrameRequestId=null,this.NAMESPACE="emoji-mart",this.measureScrollbar=0,this.RECENT_CATEGORY={id:"recent",name:"Recent",emojis:null},this.SEARCH_CATEGORY={id:"search",name:"Search",emojis:null,anchor:!1},this.CUSTOM_CATEGORY={id:"custom",name:"Custom",emojis:[]},this.backgroundImageFn=(gt,Dt)=>`https://unpkg.com/emoji-datasource-${this.set}@6.0.1/img/${this.set}/sheets-256/${this.sheetSize}.png`}ngOnInit(){var w,B;this.size=this.emojiSize,this.measureScrollbar=function eg(){if(typeof document>"u")return 0;const j=document.createElement("div");j.style.width="100px",j.style.height="100px",j.style.overflow="scroll",j.style.position="absolute",j.style.top="-9999px",document.body.appendChild(j);const S=j.offsetWidth-j.clientWidth;return document.body.removeChild(j),S}(),this.i18n={...vf,...this.i18n},this.i18n.categories={...vf.categories,...this.i18n.categories},this.skin=JSON.parse((0,Y.UE)(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.skin`)||"null")||this.skin;const te=[...$a];(null===(w=this.custom)||void 0===w?void 0:w.length)>0&&this.custom.map(gt=>{te.push(gt)}),void 0!==this.include&&te.sort((gt,Dt)=>this.include.indexOf(gt.id)>this.include.indexOf(Dt.id)?1:-1);for(const gt of te){const Dt=!this.include||!this.include.length||this.include.indexOf(gt.id)>-1,Wt=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(gt.id)>-1;if(Dt&&!Wt){if(this.emojisToShowFilter){const yn=[],{emojis:Bn}=gt;for(let Ln=0;Ln<Bn.length;Ln++){const Jn=Bn[Ln];this.emojisToShowFilter(Jn)&&yn.push(Jn)}yn.length&&this.categories.push({emojis:yn,name:gt.name,id:gt.id})}else this.categories.push(gt);this.categoriesIcons={...td,...this.categoriesIcons},this.searchIcons={...lc,...this.searchIcons}}}const Ee=!this.include||!this.include.length||this.include.indexOf(this.RECENT_CATEGORY.id)>-1,ze=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(this.RECENT_CATEGORY.id)>-1;Ee&&!ze&&(this.hideRecent=!1,this.categories.unshift(this.RECENT_CATEGORY)),this.categories[0]&&(this.categories[0].first=!0),this.categories.unshift(this.SEARCH_CATEGORY),this.selected=null===(B=this.categories.filter(gt=>gt.first)[0])||void 0===B?void 0:B.name,this.activeCategories=this.categories.slice(1,2),"first"!=this.selected?(this.emojiSize=(9*this.size+60)/4,this.perLine=4):(this.emojiSize=this.size,this.perLine=9)}ngOnDestroy(){var w;null===(w=this.scrollListener)||void 0===w||w.call(this),this.cancelAnimationFrame()}setActiveCategories(w){this.activeCategories=this.showSingleCategory?w.filter(
1B=>B.name===this.selected||B===this.SEARCH_CATEGORY):w}updateCategoriesSize(){if(this.categoryRefs.forEach(w=>w.memoizeSize()),this.scrollRef){const w=this.scrollRef.nativeElement;this.scrollHeight=w.scrollHeight,this.clientHeight=w.clientHeight,this.clientWidth=w.clientWidth}}handleAnchorClick(w){"_first"!=w.category.id?(this.emojiSize=(9*this.size+60)/4,this.perLine=4):(this.emojiSize=this.size,this.perLine=9),this.activeCategories=this.categories.slice(w.index,w.index+1),this.selected=w.category.name}categoryTrack(w,B){return B.id}handleScroll(w=!1){if(this.nextScroll)return this.selected=this.nextScroll,this.nextScroll=void 0,void this.ref.detectChanges();if(!this.scrollRef||this.showSingleCategory)return;let B;if(this.SEARCH_CATEGORY.emojis)B=this.SEARCH_CATEGORY;else{const te=this.scrollRef.nativeElement;if(0===te.scrollTop)B=this.categories.find(Ee=>!0===Ee.first);else if(te.scrollHeight-te.scrollTop===this.clientHeight)B=this.categories[this.categories.length-1];else for(const Ee of this.categories){const ze=this.categoryRefs.find(({id:Dt})=>Dt===Ee.id);(null==ze?void 0:ze.handleScroll(te.scrollTop))&&(B=Ee)}this.scrollTop=te.scrollTop}!w&&B&&B.name!==this.selected?(this.selected=B.name,this.ref.detectChanges()):w&&this.ref.detectChanges()}handleSearch(w){this.SEARCH_CATEGORY.emojis=w;for(const B of this.categoryRefs.toArray())"Search"===B.name?(B.emojis=w,B.updateDisplay(w?"block":"none")):B.updateDisplay(w?"none":"block");this.scrollRef.nativeElement.scrollTop=0,this.handleScroll()}handleEnterKey(w,B){if(!B&&null!==this.SEARCH_CATEGORY.emojis&&this.SEARCH_CATEGORY.emojis.length){if(!(B=this.SEARCH_CATEGORY.emojis[0]))return;this.emojiSelect.emit({$event:w,emoji:B})}!this.hideRecent&&!this.recent&&B&&this.frequently.add(B);const te=this.categoryRefs.toArray()[1];te&&this.enableFrequentEmojiSort&&(te.updateRecentEmojis(),te.ref.markForCheck())}handleEmojiOver(w){var B;if(!this.showPreview||!this.previewRef)return;const te=this.CUSTOM_CATEGORY.emojis.find(Ee=>Ee.id===w.emoji.id);te&&(w.emoji={...te}),this.previewEmoji=w.emoji,this.cancelAnimationFrame(),null===(B=this.ref)||void 0===B||B.detectChanges()}handleEmojiLeave(){!this.showPreview||!this.previewRef||this.ngZone.runOutsideAngular(()=>{this.animationFrameRequestId=requestAnimationFrame(()=>{this.previewEmoji=null,this.ref.detectChanges()})})}handleEmojiClick(w){this.emojiClick.emit(w),this.emojiSelect.emit(w),this.handleEnterKey(w.$event,w.emoji)}handleSkinChange(w){this.skin=w,localStorage.setItem(`${this.NAMESPACE}.skin`,String(w)),this.skinChange.emit(w)}getWidth(){return this.style&&this.style.width?this.style.width:this.perLine*(this.emojiSize+12)+12+2+this.measureScrollbar+"px"}cancelAnimationFrame(){null!==this.animationFrameRequestId&&(cancelAnimationFrame(this.animationFrameRequestId),this.animationFrameRequestId=null)}handleEmojiUpdate(w){this.ref.detectChanges(),setTimeout(()=>{let B=this.categories.findIndex(Ee=>Ee.id==w);this.activeCategories=this.categories.slice(B,B+1);const te=this.categoryRefs.toArray()[0];te&&(te.emojis=this.activeCategories[0].emojis,te.getEmojis(),te.ref.markForCheck())},1e3)}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(o.SKi),o.rXU(o.sFG),o.rXU(o.gRc),o.rXU(Na),o.rXU(o.Agw))},j.\u0275cmp=o.VBU({type:j,selectors:[["emoji-mart"]],viewQuery:function(w,B){if(1&w&&(o.GBs(jp,7),o.GBs(Ac,5),o.GBs(qu,5),o.GBs(hh,5)),2&w){let te;o.mGM(te=o.lsd())&&(B.scrollRef=te.first),o.mGM(te=o.lsd())&&(B.previewRef=te.first),o.mGM(te=o.lsd())&&(B.searchRef=te.first),o.mGM(te=o.lsd())&&(B.categoryRefs=te)}},inputs:{tenantItem:"tenantItem",perLine:"perLine",totalFrequentLines:"totalFrequentLines",i18n:"i18n",style:"style",title:"title",emoji:"emoji",darkMode:"darkMode",color:"color",hideObsolete:"hideObsolete",categories:"categories",activeCategories:"activeCategories",set:"set",skin:"skin",isNative:"isNative",emojiSize:"emojiSize",sheetSize:"sheetSize",emojisToShowFilter:"emojisToShowFilter",showPreview:"showPreview",emojiTooltip:"emojiTooltip",autoFocus:"autoFocus",custom:"custom",hideRecent:"hideRecent",imageUrlFn:"imageUrlFn",include:"include",exclude:"exclude",notFoundEmoji:"notFoundEmoji",categoriesIcons:"categoriesIcons",searchIcons:"searchIcons",useButton:"useButton",enableFrequentEmojiSort:"enableFrequentEmojiSort",enableSearch:"enableSearch",showSingleCategory:"showSingleCategory",virtualize:"virtualize",virtualizeOffset:"virtualizeOffset",recent:"recent",backgroundImageFn:"backgroundImageFn"},outputs:{emojiClick:"emojiClick",emojiSelect:"emojiSelect",skinChange:"skinChange"},decls:8,vars:16,consts:[["scrollRef",""],[3,"ngStyle"],["class","emoji-mart-bar",4,"ngIf"],[3,"i18n","include","exclude","custom","autoF
1ocus","icons","emojisToShowFilter","searchResults","enterKey",4,"ngIf"],[1,"emoji-mart-scroll"],[3,"id","tenantItem","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","icon","hideObsolete","notFoundEmoji","custom","recent","virtualize","virtualizeOffset","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiImageUrlFn","emojiUseButton","emojiOver","emojiLeave","emojiClick","emojiUpdate",4,"ngFor","ngForOf","ngForTrackBy"],[1,"emoji-mart-bar"],[3,"anchorClick","categories","color","selected","i18n","icons"],[3,"skinChange","title","emoji","idleEmoji","emojiIsNative","emojiSize","emojiSkin","emojiSet","i18n","emojiSheetSize","emojiBackgroundImageFn","emojiImageUrlFn"],[3,"searchResults","enterKey","i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter"],[3,"emojiOver","emojiLeave","emojiClick","emojiUpdate","id","tenantItem","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","icon","hideObsolete","notFoundEmoji","custom","recent","virtualize","virtualizeOffset","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiImageUrlFn","emojiUseButton"]],template:function(w,B){if(1&w){const te=o.RV6();o.j41(0,"section",1),o.DNE(1,tg,2,11,"div",2)(2,Nd,1,9,"emoji-search",3),o.j41(3,"section",4,0),o.DNE(5,wu,1,29,"emoji-category",5),o.k0s(),o.j41(6,"div",6)(7,"emoji-mart-anchors",7),o.bIt("anchorClick",function(ze){return o.eBV(te),o.Njj(B.handleAnchorClick(ze))}),o.k0s()()()}2&w&&(o.ZvI("emoji-mart ",B.darkMode?"emoji-mart-dark":"",""),o.xc7("width",B.getWidth()),o.Y8G("ngStyle",B.style),o.R7$(),o.Y8G("ngIf",B.showPreview),o.R7$(),o.Y8G("ngIf",B.enableSearch),o.R7$(),o.BMQ("aria-label",B.i18n.emojilist),o.R7$(2),o.Y8G("ngForOf",B.activeCategories)("ngForTrackBy",B.categoryTrack),o.R7$(2),o.Y8G("categories",B.categories)("color",B.color)("selected",B.selected)("i18n",B.i18n)("icons",B.categoriesIcons))},dependencies:[Y.Sq,Y.bT,Y.B3,kd,hh,qu,Ac],encapsulation:2,changeDetection:0}),S})();var uc;const Up=["footer"],Hp=["waveform"],Vp=["waveformplay"],Pu=["fileLoader"],yf=["showEmoji"],gh=j=>({display:j}),nd=()=>({width:"330px"});function xu(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-icon",33),o.bIt("click",function(){o.eBV(D);const B=o.XpG(2);return o.Njj(B.playRecord())}),o.k0s()}}function rd(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-icon",34),o.bIt("click",function(){o.eBV(D);const B=o.XpG(2);return o.Njj(B.stopPlayRecord())}),o.k0s()}}function Io(j,S){if(1&j&&(o.j41(0,"span",35),o.EFF(1),o.k0s()),2&j){const D=o.XpG(2);o.R7$(),o.SpI(" ",D.recordDur," ")}}function Pd(j,S){if(1&j&&(o.j41(0,"span",35),o.EFF(1),o.k0s()),2&j){const D=o.XpG(2);o.R7$(),o.JRh(D.recordingDur)}}function cc(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-icon",36),o.bIt("click",function(){o.eBV(D);const B=o.XpG(2);return o.Njj(B.changedRecordSendStatus(!0))}),o.k0s()}}function gu(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-icon",37),o.bIt("click",function(){o.eBV(D);const B=o.XpG(2);return o.Njj(B.changedRecordSendStatus(!1))}),o.k0s()}}function dl(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",42),o.bIt("click",function(){o.eBV(D);const B=o.XpG(3);return o.Njj(B.voiceToTxt())}),o.EFF(1),o.nI1(2,"translate"),o.k0s()}2&j&&(o.R7$(),o.SpI(" ",o.bMT(2,1,"Common.STT")," "))}function vh(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-icon",45),o.bIt("click",function(){o.eBV(D);const B=o.XpG(4);return o.Njj(B.changedRecordTxtSendStatus(!1))}),o.k0s()}}function yh(j,S){if(1&j&&(o.j41(0,"div",43),o.DNE(1,vh,1,0,"ion-icon",44),o.k0s()),2&j){const D=o.XpG(3);o.R7$(),o.Y8G("ngIf",D.hasRecord&&D._isSendRecordTxt)}}function ml(j,S){if(1&j&&(o.j41(0,"ion-textarea",46),o.EFF(1),o.k0s()),2&j){const D=o.XpG(3);o.Y8G("rows",3),o.R7$(),o.SpI(" ",D.recognizedText," ")}}function ng(j,S){if(1&j&&(o.j41(0,"div",38),o.DNE(1,dl,3,3,"div",39)(2,yh,2,1,"div",40)(3,ml,2,2,"ion-textarea",41),o.k0s()),2&j){const D=o.XpG(2);o.R7$(),o.Y8G("ngIf",!D._isSendRecordTxt),o.R7$(),o.Y8G("ngIf",D._isSendRecordTxt),o.R7$(),o.Y8G("ngIf",D._isSendRecordTxt)}}function Gp(j,S){if(1&j&&(o.j41(0,"div",22)(1,"div",23)(2,"span",24),o.DNE(3,xu,1,0,"ion-icon",25)(4,rd,1,0,"ion-icon",26),o.k0s(),o.nrm(5,"div",27,2),o.DNE(7,Io,2,1,"span",28)(8,Pd,2,1,"span",28),o.j41(9,"div",29),o.DNE(10,cc,1,0,"ion-icon",30)(11,gu,1,0,"ion-icon",31),o.k0s()(),o.DNE(12,ng,4,3,"div",32),o.k0s()),2&j){const D=o.XpG();o.R7$(3),o.Y8G("ngIf",D.hasRecord&&!D._isPlaying),o.R7$(),o.Y8G("ngIf",D.hasRecord&&D._isPlaying),o.R7$(3),o.Y8G("ngIf",!D._isPlaying),o.R7$(),o.Y8G("ngIf",D._isPlaying),o.R7$(2),o.Y8G("ngIf",D.hasRecord&&!D._isSendRecord),o.R7$(),o.Y8G("ngIf",D.hasRecord&&D._isSendRecord),o.R7$(),o.Y8G("ngIf",D.useRecognize)}}function xd(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",49),o.bIt("click",function(){o.eBV(D);const B=o.XpG(2);return o.Njj(B.showFull())}),o.nrm(1,"ion-icon",50),o.k0s()}}function rg(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",49),o.bIt("click",function(){o.eBV(D);const B=o.XpG(2);return o.Njj(B.switchMore())}),o.nrm(1,"span",51),o.k0s()}}function _h(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",49),o.bIt("click",function(){o.eBV(D);const B=o.XpG(2);return o.Njj(B.switchMore())}),o.nrm(1,"span",52),o.k0s()}}function bh(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",49),o.bIt("click",function(){o.eBV(D);const B=o.XpG(2);return o.Njj(B.takeCamera())}),o.nrm(1,"ion-icon",53),o.k0s()}}function _f(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",49),o.bIt("click",function(){o.eBV(D);const B=o.XpG(2);return o.Njj(B.takeImg())}),o.nrm(1,"span",54),o.k0s()}}function zp(j,S){if(1&j&&(o.j41(0,"div",47),o.DNE(1,xd,2,0,"div",48)(2,rg,2,0,"div",48)(3,_h,2,0,"div",48)(4,bh,2,0,"div",48)(5,_f,2,0,"div",48),o.k0s()),2&j){const D=o.XpG();o.R7$(),o.Y8G("ngIf",D.showMin),o.R7$(),o.Y8G("ngIf",!D.showMore&&!D.showMin),o.R7$(),o.Y8G("ngIf",D.showMore&&!D.showMin),o.R7$(),o.Y8G("ngIf",!D.showMin&&D.isNative),o.R7$(),o.Y8G("ngIf",!D.showMin)}}function Xu(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",55),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.recordStop())}),o.nrm(1,"ion-icon",56),o.k0s()}}function jl(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",57),o.bIt("mouseenter",function(){o.eBV(D);const B=o.XpG();
1return o.Njj(B.emojiSelectEnter())}),o.j41(1,"emoji-mart",58),o.bIt("emojiSelect",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.emojiClick(B))}),o.k0s()()}if(2&j){const D=o.XpG();o.R7$(),o.Aen(o.lJ4(13,nd)),o.Y8G("tenantItem",D.tenantInfo)("set","")("emojiSize",D.emojisize)("showPreview",!1)("enableSearch",!1)("custom",D.getCustomEmjo())("include",D.getStickSort())("categoriesIcons",D.getStickIcon())("i18n",D.getStickI18n())("isNative",!0)("hideRecent",!1)}}function Eh(j,S){if(1&j&&(o.j41(0,"span",35),o.EFF(1),o.k0s()),2&j){const D=o.XpG(2);o.R7$(),o.JRh(D.recordingDur)}}function $p(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",59)(1,"div",60)(2,"div",61),o.nrm(3,"span",62),o.j41(4,"span",63)(5,"ion-icon",64),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.stopRecording())}),o.k0s(),o.nrm(6,"div",65,3),o.DNE(8,Eh,2,1,"span",28),o.k0s()()()()}if(2&j){const D=o.XpG();o.R7$(3),o.Y8G("ngStyle",D.recordDurPercentSytle),o.R7$(5),o.Y8G("ngIf",D.isRecording)}}function Ch(j,S){1&j&&(o.j41(0,"span"),o.EFF(1),o.nI1(2,"translate"),o.k0s()),2&j&&(o.R7$(),o.JRh(o.bMT(2,1,"Common.SendVoice")))}function Wp(j,S){1&j&&(o.j41(0,"span"),o.EFF(1),o.nI1(2,"translate"),o.k0s()),2&j&&(o.R7$(),o.JRh(o.bMT(2,1,"Common.SendTxt")))}function ig(j,S){if(1&j){const D=o.RV6();o.j41(0,"span",69),o.bIt("click",function(){o.eBV(D);const B=o.XpG(2);return o.Njj(B.stopRecording())}),o.EFF(1),o.nI1(2,"translate"),o.k0s()}2&j&&(o.R7$(),o.JRh(o.bMT(2,1,"Common.CancelSendTxt")))}function Md(j,S){1&j&&(o.j41(0,"span"),o.EFF(1),o.nI1(2,"translate"),o.k0s()),2&j&&(o.R7$(),o.JRh(o.bMT(2,1,"Common.SendVoiceAndTxt")))}function og(j,S){if(1&j&&(o.j41(0,"div",66),o.DNE(1,Ch,3,3,"span",67)(2,Wp,3,3,"span",67)(3,ig,3,3,"span",68)(4,Md,3,3,"span",67),o.k0s()),2&j){const D=o.XpG();o.R7$(),o.Y8G("ngIf",D._isSendRecord&&!D._isSendRecordTxt),o.R7$(),o.Y8G("ngIf",!D._isSendRecord&&D._isSendRecordTxt),o.R7$(),o.Y8G("ngIf",!D._isSendRecord&&!D._isSendRecordTxt),o.R7$(),o.Y8G("ngIf",D._isSendRecord&&D._isSendRecordTxt)}}function Fh(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",70),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.recordStart())}),o.nrm(1,"span",71),o.k0s()}}function Kp(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",72),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.sendClick())}),o.nrm(1,"span",73),o.k0s()}}function nu(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",72),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.stopAndSendClick())}),o.nrm(1,"span",73),o.k0s()}}function a1(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",72),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.sendClick())}),o.nrm(1,"span",73),o.k0s()}}function qp(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",72),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.sendClick())}),o.nrm(1,"span",73),o.k0s()}}function sg(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",74)(1,"div",75),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.fileSend())}),o.nrm(2,"ion-icon",76),o.j41(3,"p"),o.EFF(4),o.nI1(5,"translate"),o.k0s(),o.j41(6,"input",77,4),o.bIt("change",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.fileChangeListener(B))}),o.k0s()(),o.j41(8,"div",75),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.todo())}),o.k0s(),o.j41(9,"div",75),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.todo())}),o.k0s(),o.j41(10,"div",75),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B.todo())}),o.k0s()()}2&j&&(o.R7$(4),o.JRh(o.bMT(5,1,"Common.attr")))}let Dc=((uc=class{get useVoice(){return this.commonService.useVoice}constructor(S,D,w,B,te,Ee,ze,gt,Dt,Wt,yn,Bn){this.storage=S,this.platform=D,this.commonService=w,this.cpService=B,this.injector=te,this.i18n=Ee,this._cdr=ze,this.ngZone=gt,this.modalHelper=Dt,this.translateService=Wt,this.ollama=yn,this.speechService=Bn,this.onInputForce=new o.bkB,this.onInputBlur=new o.bkB,this.onSpeedChanged=new o.bkB,this.content="",this.showMore=!1,this.showRecord=!1,this.recognizedText="",this.recognizingText="",this.showMin=!1,this.destroy$=new lt.B,this.modules={history:{delay:2500,userOnly:!0}
1,keyboard:{bindings:{key:{key:0,handler:this.shiftEnterClick.bind(this)},enter:{key:13,handler:this.enterClick.bind(this)},ctrlEnter:{key:13,ctrlKey:!0,handler:this.ctrlEnterClick.bind(this)},altEnter:{key:13,altKey:!0,handler:this.altEnterClick.bind(this)}}},clipboard:{matchers:[],matchVisual:!1,onImage:Ln=>{this.updateImageAndSendMessage(Ln)},onPaste:Ln=>{}},speedinput:{allowedChars:/^(\S)*$/,mentionDenotationChars:["/\\"],onSelect:Ln=>{},onChecked:Ln=>{this.onSpeedChanged.emit({action:"onChecked",data:Ln}),this.content="",this.editor.quillEditor.setText("")},onOpen:this.onSIOpen.bind(this),onClose:this.onSIClose.bind(this),source:(Ln,Jn)=>{var ir;this.editor.quillEditor.getModule("speedinput")&&(this.editor.quillEditor.getModule("speedinput").notClose=!0,null===(ir=this.editor.quillEditor.getModule("speedinput"))||void 0===ir||ir.showMentionList(),this.onSpeedChanged.emit({action:"onSelect",data:Ln}))},upItem:this.onSIUpItem.bind(this),downItem:this.onSIDownItem.bind(this),leftItem:this.onSILeftItem.bind(this),rightItem:this.onSIRightItem.bind(this),escDiv:this.onSIEscDiv.bind(this)},toolbar:!1},this._focused=!1,this.isRecording=!1,this._duration=0,this._during=0,this.recordRTC=null,this._isSendRecord=!0,this._isSendRecordTxt=!1,this._isPlaying=!1,this.emojiVisible=!1,this.emojisize=32,this.emojiscrollHeight=220,this.showImageSubject=new lt.B}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngOnInit(){var S=this;return(0,T.A)(function*(){setTimeout(()=>{let D=document.querySelector(".ql-editor");D&&D.setAttribute("enterkeyhint","send")},500),S.showImageSubject.pipe((0,Cn.Q)(S.destroy$)).subscribe(D=>{S.ngZone.run(()=>{try{S.showImageForSend(D),S.refresh()}catch{}})})})()}ngAfterContentInit(){}get ceService(){var S,D;let w=this.cpService.getCEServerByTenantId(null!==(S=null===(D=this.tenantInfo)||void 0===D?void 0:D.tenantId)&&void 0!==S?S:"");if(w)return w;throw new Error("Can't find CEServer")}refresh(){try{this._cdr.detectChanges()}catch{}}get quillPlaceHolder(){return this.translateService.instant("Common.PleaseInputContent")}get hasContent(){return!q.isEmpty(this.content.trim())}onSIUpItem(){this.onSpeedChanged.emit({action:"onUpItem",data:""})}onSIDownItem(){this.onSpeedChanged.emit({action:"onDownItem",data:""})}onSILeftItem(){this.onSpeedChanged.emit({action:"onLeftItem",data:""})}onSIRightItem(){this.onSpeedChanged.emit({action:"onRightItem",data:""})}onSIOpen(){return this.onSpeedChanged.emit({action:"onOpen",data:""}),!0}onSIEscDiv(){this.onSpeedChanged.emit({action:"onEscDiv",data:""})}onSIClose(){this.onSpeedChanged.emit({action:"onClose",data:""})}readAll(){var S,D,w;this.roomInfo&&(null!==(S=this.roomInfo.unReadNum)&&void 0!==S?S:0)>0&&(this.ceService.readAllMessage(null!==(D=null===(w=this.tenantInfo)||void 0===w?void 0:w.tenantId)&&void 0!==D?D:"",this.roomInfo),this.roomInfo.unReadNum=0)}onBlur(){this._focused=!1,this.showMin=!1,this.onInputBlur.emit("")}onFocus(){this.readAll(),this.showMore=!1,this.onInputForce.emit(""),this._focused=!0,this.showMin=!0,this.refresh()}enterClick(S,D){this.sendClick(),this._cdr.markForCheck()}shiftEnterClick(S,D){this.insertInputText("\r\n "),this._cdr.markForCheck()}ctrlEnterClick(S,D){}altEnterClick(S,D){}insertInputText(S){this.editor.quillEditor.hasFocus()||this.editor.quillEditor.focus();let D=this.editor.quillEditor.getSelection();this.editor.quillEditor.insertText((null==D?void 0:D.index)||0,S,"user"),this.editor.quillEditor.setSelection(((null==D?void 0:D.index)||0)+(null==S?void 0:S.length),0,"user")}addBindingCreated(S){S.on("text-change",this.textChanged.bind(this)),S.on("selection-change",(D,w,B)=>{D?this.onFocus():this.onBlur()})}textChanged(S,D,w){var B,te;"user"===w&&!(null===(B=S.ops)||void 0===B?void 0:B.find(ze=>"@"===ze.insert))&&(null===(te=this.editor.quillEditor.getModule("mention"))||void 0===te||!te.notClose)&&this.refresh(),this.editor.quillEditor.getText().endsWith("\n\n")&&(this.editor.quillEditor.setText(this.editor.quillEditor.getText().slice(0,-2),"api"),setTimeout(()=>{this.editor.quillEditor.setSelection(this.editor.quillEditor.getText().length,0,"api")})),this._saveLastInput(this.content)}_saveLastInput(S){}switchMore(){this.showMore=!this.showMore}recordStart(){this.isRecording||(this._isSendRecord=!0,this._isSendRecordTxt=!1,this.recognizedText="",this.showRecord=!0,this.isRecording=!0,setTimeout(()=>{this.waveSurfer=qi.create({container:this.waveform.nativeElement,waveColor:"white",progressColor:"transparent",curs
1orWidth:1,barWidth:2,barHeight:1,barGap:void 0,height:40})},500),this._duration=0,navigator.mediaDevices.getUserMedia({audio:!0}).then(this.successCallback.bind(this),this.errorCallback.bind(this)).catch(S=>{this.modalHelper.showToast(this.i18n.instant("Common.GetVoiceDeviceError"))}))}stopAndSendClick(){var S=this;return(0,T.A)(function*(){yield S.stopRecording(),S.sendClick()})()}stopRecording(){return new Promise((S,D)=>{var w,B,te,Ee;if(!this.isRecording)return S();this.isRecording=!1,this.speechService.stopRecognition(),this.recognizingText="",null===(w=this.waveSurfer)||void 0===w||w.destroy();let ze=this.recordRTC;null==ze||ze.stopRecording(()=>{S()});let gt=this.stream;null===(B=gt.getAudioTracks())||void 0===B||B.forEach(Dt=>Dt.stop()),null===(te=gt.getVideoTracks())||void 0===te||te.forEach(Dt=>Dt.stop()),this._during=0,clearInterval(this._recordInterval),this._endTime=new Date,this._duration=Tc(new Date,null!==(Ee=this._startTime)&&void 0!==Ee?Ee:new Date),this._duration>120&&(this._duration=120),setTimeout(()=>{var Dt;console.log("create Player "),this.createPlayer(),this.waveSurferPlay=qi.create({container:null===(Dt=this.waveformplay)||void 0===Dt?void 0:Dt.nativeElement,waveColor:"white",progressColor:"rgb(100, 0, 100)",cursorWidth:1,barWidth:2,barHeight:1,barGap:void 0,height:40,media:this.audio}),this.refresh()},500),this.refresh()})}get useRecognize(){var S,D;return this.speechService.getSNConfig(null!==(S=null===(D=this.snInfo)||void 0===D?void 0:D.id)&&void 0!==S?S:"").use}startContinuousRecognition(){var S,D,w,B;this.speechService.getSNConfig(null!==(S=null===(D=this.snInfo)||void 0===D?void 0:D.id)&&void 0!==S?S:"").use?(this.recognizedText="",this.modalHelper.showLoad("\u5553\u52d5\u8a9e\u97f3\u8b58\u5225...",2e4),this.speechService.startContinuousRecognition(null!==(w=null===(B=this.snInfo)||void 0===B?void 0:B.id)&&void 0!==w?w:"",Ee=>{this.recognizingText=Ee,this.refresh()},Ee=>{this.recognizingText="",this.recognizedText+=Ee},()=>{this.modalHelper.showToast("\u8a9e\u97f3\u8b58\u5225\u5df2\u5553\u52d5"),this.modalHelper.closeLoad(),this.recordStart(),this.refresh()},Ee=>{this.modalHelper.closeLoad()})):this.recordStart()}processVideo(S){}onDataAvailable(S){var D;null===(D=this.waveSurfer)||void 0===D||D.load(URL.createObjectURL(S)),this._cdr.markForCheck()}successCallback(S){this.isRecording=!0;let D={type:"audio",mimeType:"audio/wav",recorderType:yl.StereoAudioRecorder,numberOfAudioChannels:2,desiredSampRate:16e3,timeSlice:100,ondataavailable:this.onDataAvailable.bind(this)};this.stream=S,this.recordRTC=new yl(S,D),this._startTime=new Date,this.recordRTC.startRecording();var w=this;clearTimeout(this._recordTimer),this._recordTimer=setTimeout(()=>{w.isRecording&&(w.stopRecording(),w.modalHelper.showToast(this.translateService.instant("Common.VoiceLimit")))},12e4),this._during=0,clearInterval(this._recordInterval),this.refresh(),this._recordInterval=setInterval(()=>{var B;this._during=Tc(new Date,null!==(B=this._startTime)&&void 0!==B?B:new Date),this.refresh()},1e3)}changedRecordSendStatus(S){this._isSendRecord=S,this.refresh()}changedRecordTxtSendStatus(S){this._isSendRecordTxt=S,this.refresh()}voiceToTxt(){if(this.hasRecord)if(q.isEmpty(this.recognizedText))if(this.hasRecord&&this.recordRTC){var S,D;let w=this.recordRTC.getBlob();this.modalHelper.showLoad("\u8f49\u63db\u4e2d...",2e4),this.speechService.recognizeFromAudioFile(null!==(S=null===(D=this.snInfo)||void 0===D?void 0:D.id)&&void 0!==S?S:"",new File([w],"audio.wav",{type:"audio/wav"})).then(B=>{this.modalHelper.closeLoad(),this.recognizedText=B,this._isSendRecordTxt=!0,this.refresh()}).catch(B=>{this.modalHelper.closeLoad(),this.modalHelper.showAlert("\u8f49\u63db\u5931\u6557","\u8a9e\u97f3\u8b58\u5225\u5931\u6557\uff0c\u8acb\u91cd\u8a66"),console.log("error:",B)})}else this.modalHelper.showAlert("\u8f49\u63db\u5931\u6557","\u6c92\u6709\u8b58\u5225\u5230\u9304\u97f3\u6587\u4ef6");else this._isSendRecordTxt=!0,this.refresh()}errorCallback(S){this.recordStop(),this.modalHelper.showToast(this.translateService.instant("Common.VoicePermission"))}get hasRecord(){return!this.isRecording&&this.showRecord}get recordingDur(){if(this._during<0||this._during>120)return this._during+"''";const S=Math.floor(this._during/60),D=this._during%60;return`${S}:${D<10?"0"+D:D}`}
1get recordDur(){if(this._duration<0||this._duration>120)return this._duration+"''";const S=Math.floor(this._duration/60),D=this._duration%60;return`${S}:${D<10?"0"+D:D}`}get recordDurPercentSytle(){return this.isRecording?{width:this._during/120*100+"%"}:this._isPlaying?{width:this._during/this._duration*100+"%"}:{width:"0%"}}stopPlayRecord(){null!=this.audio&&this.audio.pause(),this._isPlaying=!1,this.speechService.stopRecognition(),clearInterval(this._playRecordInterval),this._during=0,this.refresh()}playRecord(){this.audio.play()}createPlayer(){var S;this.hasRecord&&(this.audio=new Audio(null===(S=this.recordRTC)||void 0===S?void 0:S.toURL()),this.audio.onplay=()=>{this._isPlaying=!0,this._startTime=new Date,this._playRecordInterval=setInterval(()=>{var D;this._during=Tc(new Date,null!==(D=this._startTime)&&void 0!==D?D:new Date),this.refresh()},1e3)},this.audio.onended=()=>{this._isPlaying=!1,clearInterval(this._playRecordInterval),this.refresh()})}toTxt(){this.content=this.recognizedText,this.recordStop()}recordStop(){this.stopPlayRecord(),this.showRecord=!1,this.isRecording=!1,this._duration=0,this._during=0,clearInterval(this._playRecordInterval),clearInterval(this._recordInterval),clearTimeout(this._recordTimer),this._cdr.markForCheck()}deleteRecording(){this.showRecord=!1}matchString(){var S,D;let w="";return w=null===(S=this.editor.quillEditor.getContents().ops)||void 0===S?void 0:S.map(te=>"string"==typeof te.insert?te.insert:te.insert.emoji?te.insert.emoji.native:"").join(""),w=null===(D=w)||void 0===D?void 0:D.trimRight(),w}sendClick(){if(this.readAll(),this.hasRecord&&this.recordRTC){if(this._isSendRecord){var S,D;let B=this.recordRTC.getBlob();this.ceService.sendMessageVoice(null!==(S=null===(D=this.tenantInfo)||void 0===D?void 0:D.tenantId)&&void 0!==S?S:"",de.v.uuid(),this.roomInfo,this._duration,B).catch(te=>{this.modalHelper.showToast(this.i18n.instant("Common.SendVoiceFail"))})}var w;return this._isSendRecordTxt&&this.sendMessageTxt(null!==(w=this.recognizedText)&&void 0!==w?w:""),this.showRecord=!1,void this.recordStop()}{this.editor.quillEditor.focus();let B=this.matchString();if(q.isEmpty(B))return;this.sendMessageTxt(null!=B?B:"")}this.content="",this.editor.quillEditor.setText(""),setTimeout(()=>{this.editor.quillEditor.setSelection(1,1)})}sendMessageTxt(S){var D=this;return(0,T.A)(function*(){var w,B;D.ceService.sendMessageTxt(null!==(w=null===(B=D.tenantInfo)||void 0===B?void 0:B.tenantId)&&void 0!==w?w:"",de.v.uuid(),D.roomInfo,S)})()}textHasForce(){return this.editor.quillEditor.hasFocus()}emojiSelectEnter(){this.editor.quillEditor.focus()}get emojiStyle(){return{bottom:this.footer.el.clientHeight+"px"}}switchEmoji(){this.emojiVisible=!this.emojiVisible}getStickService(){return fr.getStickService(this.injector,this.tenantInfo)}getCustomEmjo(){return fr.getStickService(this.injector,this.tenantInfo).getStick()}getStickIcon(){return fr.getStickService(this.injector,this.tenantInfo).getStickIcon()}getStickI18n(){return fr.getStickService(this.injector,this.tenantInfo).getI18n()}getStickSort(){return fr.getStickService(this.injector,this.tenantInfo).getStickSort()}emojiClick(S){if(S.emoji.custom){var D,w;const Ee=`{"id":"${S.emoji.sendKey}","packageId":"${S.emoji.packageId}"}`;this.ceService.sendMessageSticker(null!==(D=null===(w=this.tenantInfo)||void 0===w?void 0:w.tenantId)&&void 0!==D?D:"",de.v.uuid(),this.roomInfo,Ee),this.pop.dismiss()}else{this.editor.quillEditor.focus();let B=this.editor.quillEditor.getSelection();this.editor.quillEditor.deleteText((null==B?void 0:B.index)||0,(null==B?void 0:B.length)||0,"user"),this.editor.quillEditor.insertText((null==B?void 0:B.index)||0,S.emoji.native,"user"),this.editor.quillEditor.setSelection(((null==B?void 0:B.index)||0)+S.emoji.native.length,0,"user")}this.emojiVisible=!1}fileChangeListener(S){var D;0!==(null===(D=S.target.files)||void 0===D?void 0:D.length)&&this.updateFileAndSendMessage(S.target.files[0])}updateFileAndSendMessage(S){var D,w,B,te,Ee,ze,gt,Dt,Wt,yn;if(null===(D=S.size>(null===(w=this.ceService.getLoginInfo(null!==(B=null===(te=this.tenantInfo)||void 0===te?void 0:te.tenantId)&&void 0!==B?B:""))||void 0===w||null===(w=w.tenantInfo)||void 0===w?void 0:w.uploadFileMaxSize))||void 0===D||D)return this.modalHelper.showToast(this.translateService.instant("Common.RoomFileLimit",{value:(null!==(gt=null===(Dt=this.ceService.getLoginInfo(null!==(Wt=null===(yn=this.tenantInfo)||void 0===yn?void 0:yn.tenantId)&&void 0!==Wt?Wt:""))||void 0===Dt||null===(Dt=Dt.tenantInfo)||void 0===Dt?void 0:Dt.uploadFileMaxSize)&&void 0!==gt?gt:524288e3)/1024/1024})),void(this.fileLoader.nativeElement.value="");this.ceService.sendMessageFile(null!==(Ee=null===(ze=this.tenantInfo)||void 0===ze?void 0:ze.tenantId)&&void 0!==Ee?Ee:"",de.v.uuid(),this.roomInfo,S),this.fileLoader.nativeElement.value=""}updateImageAndSendMessage(S){if(null==S)return;this._file=S;let D=new FileReader;var w=this;D.onload=function(B){},D.onloadend=function(B){w.refresh(),w.showImageSubject.next(S)},D.onerror=function(B){},D.readAsDataURL(S)}showImageForSend(S){this.editor.quillEditor.blur(),this.showMore=!1,this.refresh(),this.modalHelper.showModelCenter(Xc,{pasteImage:S,file:S}).then(D=>{D.present(),D.onWillDismiss().then(w=>
1{if(w){switch(w.data.action){case"closeAndSend":var B,te;return void this.ceService.sendMessageImage(null!==(B=null===(te=this.tenantInfo)||void 0===te?void 0:te.tenantId)&&void 0!==B?B:"",de.v.uuid(),this.roomInfo,S);case"close":return}this.refresh()}})})}fileSend(){this.fileLoader.nativeElement.click()}todo(){this.modalHelper.showToast(this.translateService.instant("Common.Todo"))}onEmojiCk(S){setTimeout(()=>{this.pop.el.parentNode&&this.pop.el.parentNode.removeChild(this.pop.el),document.body.appendChild(this.pop.el),this.pop.present()})}isWebChat(){return this.commonService.inModel==H.j0.url}isPopWebChat(){return this.commonService.inModel==H.j0.embed}get isNative(){return this.commonService.isNative()||this.commonService.isPwa()}useRecordBtn(){return!this.isWebChat()&&!this.isPopWebChat()||this.commonService.webChatFunction.useRecordBtn}useAttachBtn(){return!this.isWebChat()&&!this.isPopWebChat()||this.commonService.webChatFunction.useAttachmentBtn}showFull(){this.showMin=!1,this.refresh()}takeImg(){var S=this;return(0,T.A)(function*(){if(S.isNative){let Ee=yield Qo.checkPermissions();if(("prompt"===Ee.camera||"prompt"==Ee.photos)&&(Ee=yield Qo.requestPermissions()),"granted"!==Ee.camera&&"granted"!==Ee.photos)return void S.modalHelper.showToast(S.translateService.instant("Common.CameraPermission"))}const D=yield Qo.pickImages({quality:90,limit:5,presentationStyle:"popover"});for(const Ee of D.photos){var w,B,te;let ze=yield S.commonService.urlToFile(null!==(w=Ee.webPath)&&void 0!==w?w:"",`image.${Ee.format}`,`image/${Ee.format}`);S.ceService.sendMessageImage(null!==(B=null===(te=S.tenantInfo)||void 0===te?void 0:te.tenantId)&&void 0!==B?B:"",de.v.uuid(),S.roomInfo,ze)}})()}takeCamera(){var S=this;return(0,T.A)(function*(){var D,w,B;if(S.isNative){let ze=yield Qo.checkPermissions();if(("prompt"===ze.camera||"prompt"==ze.photos)&&(ze=yield Qo.requestPermissions()),"granted"!==ze.camera&&"granted"!==ze.photos)return void S.modalHelper.showToast(S.translateService.instant("Common.CameraPermission"))}const te=yield Qo.getPhoto({quality:90,allowEditing:!1,resultType:Wo.Uri,source:oo.Prompt,promptLabelHeader:"\u7167\u7247",promptLabelCancel:"\u53d6\u6d88",promptLabelPhoto:"\u5f9e\u76f8\u518a\u9078\u64c7",promptLabelPicture:"\u62cd\u7167"});let Ee=yield S.commonService.urlToFile(null!==(D=te.webPath)&&void 0!==D?D:"",`image.${te.format}`,`image/${te.format}`);S.ceService.sendMessageImage(null!==(w=null===(B=S.tenantInfo)||void 0===B?void 0:B.tenantId)&&void 0!==w?w:"",de.v.uuid(),S.roomInfo,Ee)})()}}).\u0275fac=function(S){return new(S||uc)(o.rXU(u.w),o.rXU(a.OD),o.rXU(H.hf),o.rXU(Z.b),o.rXU(o.zZn),o.rXU(ae.c$),o.rXU(o.gRc),o.rXU(o.SKi),o.rXU(me.S),o.rXU(ae.c$),o.rXU(cl.A),o.rXU(Ot.y))},uc.\u0275cmp=o.VBU({type:uc,selectors:[["app-room-bottom"]],viewQuery:function(S,D){if(1&S&&(o.GBs(Qt,5),o.GBs(Up,5),o.GBs(Hp,5),o.GBs(Vp,5),o.GBs(Pu,5),o.GBs(yf,7)),2&S){let w;o.mGM(w=o.lsd())&&(D.editor=w.first),o.mGM(w=o.lsd())&&(D.footer=w.first),o.mGM(w=o.lsd())&&(D.waveform=w.first),o.mGM(w=o.lsd())&&(D.waveformplay=w.first),o.mGM(w=o.lsd())&&(D.fileLoader=w.first),o.mGM(w=o.lsd())&&(D.pop=w.first)}},inputs:{roomInfo:"roomInfo",snInfo:"snInfo",tenantInfo:"tenantInfo"},outputs:{onInputForce:"onInputForce",onInputBlur:"onInputBlur",onSpeedChanged:"onSpeedChanged"},standalone:!0,features:[o.aNF],decls:23,vars:17,consts:[["footer",""],["showEmoji",""],["waveformplay",""],["waveform",""],["fileLoader",""],["keyboardshow","",1,"flex","flex-col","border-t","border-solid","bg-colors-nav"],["class","flex flex-col",4,"ngIf"],[1,"flex","flex-1","flex-row","flex-shrink-0","relative","items-center","bg-colors-nav","pl-2","pr-2"],["class","flex-shrink-0 flex items-center ml-1 pb-3 pt-3 justify-center",4,"ngIf"],["class"," flex-shrink-0 ml-2 flex items-center h-full pb-1 ",3,"click",4,"ngIf"],[1,"flex-1","items-center","relative",3,"ngStyle"],["format","text",1,"cequill","flex-1","w-1",3,"ngModelChange","onEditorCreated","ngModel","modules","placeholder"],["id","popemoji",1,"mr-1","text-3xl","flex","items-end","h-full","absolute","right-0","bottom-4",3,"click"],[1,"iconfont","icon-happy5e","text-slate-500","hvr-grow","text-2xl"],["trigger","popemoji","showBackdrop","false","cssClass","ceemoji"],["class","flex-1",4,"ngIf"],["class","flex-1 items-center flex-col text-white flex",4,"ngIf"],[1,"flex-shrink-0","flex","items-end","mr-2"],["class","ml-2 text-3xl flex items-end h-full pb-1 hvr-grow",3,"click",4,"ngIf"],["class","ml-2 text-3xl h-full flex items-end pb-1 hvr-grow",3,"click",4,"ngIf"],["class","grid grid-cols-4 bg-colors-nav text-white border-t border-t-slate-200 ",4,"ngIf"],[1,"flex-none","flex-shrink-0","h-2","bg-colors-nav"],[1,"flex","flex-col"],[1,"w-full","flex","items-center"],[1,"flex","justify-between","items-center","px-2"],["name","play","class","hvr-grow text-2xl text-white",3,"click",4,"ngIf"],["name","pause-circle-outline","class","hvr-grow text-2xl text-white",3,"click",4,"ngIf"],["id","waveformplay",1,"bg-transparent","flex-1","px-2"],["class","text-sm text-white",4,"ngIf"],[1,"flex-shrink-0","px-3","flex","items-center","justify-center","ml-3"],["name","ellipse-outline","class","hvr-grow text-2xl text-white",3,"click",4,"ngIf"],["name","checkmark-circle-outline","class","hvr-grow text-2xl text-white",3,"click",4,"ngIf"],["class","w-full relative px-2",4,"ngIf"],["name","play",1,"hvr-grow","text-2xl","text-white",3,"click"],["name","pause-circle-outline",1,"hvr-grow","text-2xl","text-white",3,"click"],[1,"text-sm","text-white"],["name","ellipse-outline",1,"hvr-grow","text-2xl","text-white",3,"click"],["name","checkmark-circle-outline",1,"hvr-grow","text-2xl","text-white",3,"click"],[1,"w-full","relative","px-2"],["class","rounded-lg bg-slate-300 text-black px-2 py-1
1w-fit ",3,"click",4,"ngIf"],["class","absolute right-3 top-0 z-10",4,"ngIf"],["class","rounded-lg bg-slate-300 text-black px-2 py-2 w-full",3,"rows",4,"ngIf"],[1,"rounded-lg","bg-slate-300","text-black","px-2","py-1","w-fit",3,"click"],[1,"absolute","right-3","top-0","z-10"],["name","close-circle-outline","class","hvr-grow text-2xl text-white",3,"click",4,"ngIf"],["name","close-circle-outline",1,"hvr-grow","text-2xl","text-white",3,"click"],[1,"rounded-lg","bg-slate-300","text-black","px-2","py-2","w-full",3,"rows"],[1,"flex-shrink-0","flex","items-center","ml-1","pb-3","pt-3","justify-center"],["class","mr-1 text-3xl flex items-end h-full pb-1 hvr-grow",3,"click",4,"ngIf"],[1,"mr-1","text-3xl","flex","items-end","h-full","pb-1","hvr-grow",3,"click"],["name","chevron-forward-outline",1,"text-white","text-2xl"],[1,"iconfont","icon-add-circle","text-white","text-2xl"],[1,"iconfont","icon-ios-remove-circle-ou","text-white","text-2xl"],["name","camera",1,"text-white","text-2xl"],[1,"iconfont","icon-image","text-white","text-2xl"],[1,"flex-shrink-0","ml-2","flex","items-center","h-full","pb-1",3,"click"],["name","trash",1,"hvr-grow","text-red-500","text-2xl"],[1,"w-90",3,"mouseenter"],["emoji","point_up",1,"flex-shrink-0",3,"emojiSelect","tenantItem","set","emojiSize","showPreview","enableSearch","custom","include","categoriesIcons","i18n","isNative","hideRecent"],[1,"flex-1"],[1,"flex","items-center","p-3","bg-colors-nav","rounded-lg","flex-1"],[1,"flex-grow","relative","cc"],[1,"ccb",3,"ngStyle"],[1,"flex","justify-between","items-center","mt-1","mb-1","h-6","pl-3","pr-3"],["name","stop-circle-outline",1,"hvr-grow","text-2xl","text-white",3,"click"],["id","waveform",1,"bg-transparent","flex-1","px-2"],[1,"flex-1","items-center","flex-col","text-white","flex"],[4,"ngIf"],[3,"click",4,"ngIf"],[3,"click"],[1,"ml-2","text-3xl","flex","items-end","h-full","pb-1","hvr-grow",3,"click"],[1,"iconfont","icon-mic1","text-white","text-2xl","hvr-grow"],[1,"ml-2","text-3xl","h-full","flex","items-end","pb-1","hvr-grow",3,"click"],[1,"iconfont","icon-send","text-white","text-2xl","hvr-grow"],[1,"grid","grid-cols-4","bg-colors-nav","text-white","border-t","border-t-slate-200"],[1,"flex","flex-col","items-center","justify-center","p-4",3,"click"],["name","document-attach-outline",1,"text-white","text-2xl"],["id","fileLoader","name","files","title","Load File","type","file",2,"display","none",3,"change"]],template:function(S,D){if(1&S){const w=o.RV6();o.j41(0,"ion-footer",5,0),o.DNE(2,Gp,13,7,"div",6),o.j41(3,"div",7),o.DNE(4,zp,6,5,"div",8)(5,Xu,2,0,"div",9),o.j41(6,"div",10)(7,"quill-editor",11),o.mxI("ngModelChange",function(te){return o.eBV(w),o.DH7(D.content,te)||(D.content=te),o.Njj(te)}),o.bIt("onEditorCreated",function(te){return o.eBV(w),o.Njj(D.addBindingCreated(te))}),o.k0s(),o.j41(8,"div",12),o.bIt("click",function(te){return o.eBV(w),o.Njj(D.onEmojiCk(te))}),o.nrm(9,"span",13),o.k0s(),o.j41(10,"ion-popover",14,1),o.DNE(12,jl,2,14,"ng-template"),o.k0s()(),o.DNE(13,$p,9,2,"div",15)(14,og,5,4,"div",16),o.j41(15,"div",17),o.DNE(16,Fh,2,0,"div",18)(17,Kp,2,0,"div",19)(18,nu,2,0,"div",19)(19,a1,2,0,"div",19)(20,qp,2,0,"div",19),o.k0s()(),o.DNE(21,sg,11,3,"div",20),o.nrm(22,"div",21),o.k0s()}2&S&&(o.R7$(2),o.Y8G("ngIf",D.hasRecord),o.R7$(2),o.Y8G("ngIf",D.useAttachBtn()&&!D.isRecording&&!D.hasRecord),o.R7$(),o.Y8G("ngIf",D.isRecording||D.hasRecord),o.R7$(),o.Y8G("ngStyle",o.eq3(15,gh,D.showRecord?"none":"flex")),o.R7$(),o.R50("ngModel",D.content),o.Y8G("modules",D.modules)("placeholder",D.quillPlaceHolder),o.R7$(6),o.Y8G("ngIf",D.isRecording),o.R7$(),o.Y8G("ngIf",D.hasRecord),o.R7$(2),o.Y8G("ngIf",!D.showRecord&&!D.hasContent&&D.useVoice),o.R7$(),o.Y8G("ngIf",!D.showRecord&&!D.hasContent&&!D.useVoice),o.R7$(),o.Y8G("ngIf",D.isRecording),o.R7$(),o.Y8G("ngIf",D.hasRecord),o.R7$(),o.Y8G("ngIf",D.hasContent),o.R7$(),o.Y8G("ngIf",D.showMore))},dependencies:[Y.MD,Y.bT,Y.B3,pr.YN,pr.BC,pr.vS,ei,Qt,ae.h,ae.D9,zr,Od,wc,E.bv,E.M0,E.iq,E.nc,E.CF,E.Gw],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),uc);var Kl;Dc=(0,s.Cg)([h.$.RefWindow("ChatRoomBottom")],Dc);let id=((Kl=class{constructor(S,D){this.storage=S,this.platform=D}ngOnInit(){return(0,T.A)(function*(){})()}get businessCardURL(){var S,D;return null!==(S=null===(D=this.snInfo)||void 0===D?void 0:D.businessCardURL)&&void 0!==S?S:""}}).\u0275fac=function(S){return new(S||Kl)(o.rXU(u.w),o.rXU(a.OD))},Kl.\u0275cmp=o.VBU({type:Kl,selectors:[["app-room-ext"]],inputs:{snInfo:"snInfo"},standalone:!0,features:[o.aNF],decls:3,vars:3,consts:[[1,"w-full","h-full"],["sandbox","allow-scripts allow-modals allow-same-origin allow-popups allow-downloads",2,"height","100%","width","100%",3,"src"]],template:function(S,D){1&S&&(o.j41(0,"div",0),o.nrm(1,"iframe",1),o.nI1(2,"safeUrl"),o.k0s()),2&S&&(o.R7$(),o.Y8G("src",o.bMT(2,1,D.businessCardURL),o.f$h))},dependencies:[E.bv,fe.d],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%}"],changeDetection:0}),Kl);id=(0,s.Cg)([h.$.RefWindow("RoomExt")],id);let dc=(()=>{var j;class S{}return(j=S).\u0275fac=function(w){return new(w||j)},j.\u0275mod=o.$C({type:j}),j.\u0275inj=o.G2t({imports:[Y.MD]}),S})();var od=f(34112),Ic=f(22789),Yu=f(7691);
1const ag=[[["ng-sidebar"],["","ng-sidebar",""]],[["","ng-sidebar-content",""]]],Sh=["ng-sidebar,[ng-sidebar]","[ng-sidebar-content]"];function lg(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",2),o.bIt("click",function(){o.eBV(D);const B=o.XpG();return o.Njj(B._onBackdropClicked())}),o.k0s()}if(2&j){const D=o.XpG();o.Y8G("ngClass",D.backdropClass)}}let Tu=(()=>{var j;class S{constructor(w,B){this._ref=w,this.animate=!0,this.allowSidebarBackdropControl=!0,this.showBackdrop=!1,this.showBackdropChange=new o.bkB,this.onBackdropClicked=new o.bkB,this._sidebars=[],this._isBrowser=(0,Y.UE)(B)}ngAfterContentInit(){this._isBrowser&&this._onToggle()}ngOnChanges(w){this._isBrowser&&w.showBackdrop&&this.showBackdropChange.emit(w.showBackdrop.currentValue)}ngOnDestroy(){this._isBrowser&&this._unsubscribe()}_addSidebar(w){this._sidebars.push(w),this._subscribe(w)}_removeSidebar(w){const B=this._sidebars.indexOf(w);-1!==B&&this._sidebars.splice(B,1)}_getContentStyle(){let w=0,B=0,te=0,Ee=0,ze="",gt="",Dt="";for(const Wt of this._sidebars)if(Wt._isModeSlide&&Wt.opened&&(ze=`translate${Wt._isLeftOrRight?"X":"Y"}(${Wt._isLeftOrTop?"":"-"}${Wt._isLeftOrRight?Wt._width:Wt._height}px)`),Wt._isModePush&&Wt.opened||Wt.dock){let yn=0;switch(Wt._isModeSlide&&Wt.opened?Wt._isLeftOrRight?Dt="100%":gt="100%":yn=Wt._isDocked||Wt._isModeOver&&Wt.dock?Wt._dockedSize:Wt._isLeftOrRight?Wt._width:Wt._height,Wt.position){case"left":w=Math.max(w,yn);break;case"right":B=Math.max(B,yn);break;case"top":te=Math.max(te,yn);break;case"bottom":Ee=Math.max(Ee,yn)}}return{padding:`${te}px ${B}px ${Ee}px ${w}px`,webkitTransform:ze,transform:ze,height:gt,width:Dt}}_onBackdropClicked(){let w=!1;for(const B of this._sidebars)B.opened&&B.showBackdrop&&B.closeOnClickBackdrop&&(B.close(),w=!0);w&&this.onBackdropClicked.emit()}_subscribe(w){w.onOpenStart.subscribe(()=>this._onToggle()),w.onOpened.subscribe(()=>this._markForCheck()),w.onCloseStart.subscribe(()=>this._onToggle()),w.onClosed.subscribe(()=>this._markForCheck()),w.onModeChange.subscribe(()=>this._markForCheck()),w.onPositionChange.subscribe(()=>this._markForCheck()),w._onRerender.subscribe(()=>this._markForCheck())}_unsubscribe(){for(const w of this._sidebars)w.onOpenStart.unsubscribe(),w.onOpened.unsubscribe(),w.onCloseStart.unsubscribe(),w.onClosed.unsubscribe(),w.onModeChange.unsubscribe(),w.onPositionChange.unsubscribe(),w._onRerender.unsubscribe()}_onToggle(){if(this._sidebars.length>0&&this.allowSidebarBackdropControl){const w=this._sidebars.some(B=>B.opened&&B.showBackdrop);this.showBackdrop=w,this.showBackdropChange.emit(w)}setTimeout(()=>{this._markForCheck()})}_markForCheck(){this._ref.markForCheck()}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(o.gRc),o.rXU(o.Agw))},j.\u0275cmp=o.VBU({type:j,selectors:[["ng-sidebar-container"]],inputs:{animate:"animate",allowSidebarBackdropControl:"allowSidebarBackdropControl",showBackdrop:"showBackdrop",contentClass:"contentClass",backdropClass:"backdropClass"},outputs:{showBackdropChange:"showBackdropChange",onBackdropClicked:"onBackdropClicked"},features:[o.OA$],ngContentSelectors:Sh,decls:4,vars:5,consts:[["aria-hidden","true","class","ng-sidebar__backdrop",3,"ngClass","click",4,"ngIf"],[1,"ng-sidebar__content",3,"ngClass","ngStyle"],["aria-hidden","true",1,"ng-sidebar__backdrop",3,"click","ngClass"]],template:function(w,B){1&w&&(o.NAR(ag),o.DNE(0,lg,1,1,"div",0),o.SdG(1),o.j41(2,"div",1),o.SdG(3,1),o.k0s()),2&w&&(o.Y8G("ngIf",B.showBackdrop),o.R7$(2),o.AVh("ng-sidebar__content--animate",B.animate),o.Y8G("ngClass",B.contentClass)("ngStyle",B._getContentStyle()))},dependencies:[Y.YU,Y.bT,Y.B3],styles:["[_nghost-%COMP%]{box-sizing:border-box;display:block;position:relative;height:100%;width:100%;overflow:hidden}.ng-sidebar__backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;opacity:.75;pointer-events:auto;z-index:1}.ng-sidebar__content[_ngcontent-%COMP%]{-webkit-overflow-scrolling:touch;overflow:auto;position:absolute;top:0;bottom:0;left:0;right:0}.ng-sidebar__content--animate[_ngcontent-%COMP%]{transition:transform .3s cubic-bezier(0,0,.3,1),padding .3s cubic-bezier(0,0,.3,1)}"],changeDetection:0}),S})();const Rc=["sidebar"],Ld=["*"];let wh=(()=>{var j;class S{constructor(w,B,te){if(this._container=w,this._ref=B,this.opened=!1,this.openedChange=new o.bkB,this.mode="over",this.dock=!1,this.dockedSize="0px",this.position="start",this.animate=!0,this.autoCollapseHeight=0,this.autoCollapseWidth=0,this.autoCollapseOnInit=!0,this.sidebarClass="",this.ariaLabel="",this.trapFocus=!1,this.autoFocus=!0,this.showBackdrop=!1,this.closeOnClickBackdrop=!1,this.closeOnClickOutside=!1,this.keyClose=!1,this.keyCode=27,this.onContentInit=new o.bkB,this.onOpenStart=new o.bkB,this.onOpened=new o.bkB,this.onCloseStart=new o.bkB,this.onClosed=new o.bkB,this.onTransitionEnd=new o.bkB,this.onModeChange=new o.bkB,this.onPositionChange=new o.bkB,this._onRerender=new o.bkB,this._focusableElementsString="a[href], area[href], input
1:not([disabled]), select:not([disabled]),textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex], [contenteditable]",this._tabIndexAttr="__tabindex__",this._tabIndexIndicatorAttr="__ngsidebar-tabindex__",this._wasCollapsed=!1,this._shouldAnimate=!1,this._clickEvent="click",this._onClickOutsideAttached=!1,this._onKeyDownAttached=!1,this._onResizeAttached=!1,!this._container)throw new Error("<ng-sidebar> must be inside a <ng-sidebar-container>. See https://github.com/arkon/ng-sidebar#usage for more info.");this._isBrowser=(0,Y.UE)(te),this._isBrowser&&function ug(){return typeof window<"u"&&typeof navigator<"u"&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}()&&!("onclick"in window)&&(this._clickEvent="touchstart"),this._normalizePosition(),this.open=this.open.bind(this),this.close=this.close.bind(this),this._onTransitionEnd=this._onTransitionEnd.bind(this),this._onFocusTrap=this._onFocusTrap.bind(this),this._onClickOutside=this._onClickOutside.bind(this),this._onKeyDown=this._onKeyDown.bind(this),this._collapse=this._collapse.bind(this)}ngOnInit(){this._isBrowser&&(this.animate&&(this._shouldAnimate=!0,this.animate=!1),this._container._addSidebar(this),this.autoCollapseOnInit&&this._collapse())}ngAfterContentInit(){this.onContentInit.emit()}ngOnChanges(w){this._isBrowser&&(w.animate&&this._shouldAnimate&&(this._shouldAnimate=w.animate.currentValue),w.closeOnClickOutside&&(w.closeOnClickOutside.currentValue?this._initCloseClickListener():this._destroyCloseClickListener()),w.keyClose&&(w.keyClose.currentValue?this._initCloseKeyDownListener():this._destroyCloseKeyDownListener()),w.position&&(this._normalizePosition(),setTimeout(()=>{this.onPositionChange.emit(w.position.currentValue)})),w.mode&&setTimeout(()=>{this.onModeChange.emit(w.mode.currentValue)}),w.dock&&this.triggerRerender(),w.opened&&(this._shouldAnimate&&(this.animate=!0,this._shouldAnimate=!1),w.opened.currentValue?this.open():this.close()),(w.autoCollapseHeight||w.autoCollapseWidth)&&this._initCollapseListeners())}ngOnDestroy(){this._isBrowser&&(this._destroyCloseListeners(),this._destroyCollapseListeners(),this._container._removeSidebar(this))}open(){this._isBrowser&&(this.opened=!0,this.openedChange.emit(!0),this.onOpenStart.emit(),this._ref.detectChanges(),setTimeout(()=>{this.animate&&!this._isModeSlide?this._elSidebar.nativeElement.addEventListener("transitionend",this._onTransitionEnd):(this._setFocused(),this._initCloseListeners(),this.opened&&this.onOpened.emit())}))}close(){this._isBrowser&&(this.opened=!1,this.openedChange.emit(!1),this.onCloseStart.emit(),this._ref.detectChanges(),setTimeout(()=>{this.animate&&!this._isModeSlide?this._elSidebar.nativeElement.addEventListener("transitionend",this._onTransitionEnd):(this._setFocused(),this._destroyCloseListeners(),this.opened||this.onClosed.emit())}))}triggerRerender(){this._isBrowser&&setTimeout(()=>{this._onRerender.emit()})}_getStyle(){let w="";if(!this.opened){const B="translate"+(this._isLeftOrRight?"X":"Y");w=`${B}(${(this._isLeftOrTop?"-":"")+"100%"})`,this.dock&&this._dockedSize>0&&(!this._isModeSlide||!this.opened)&&(w+=` ${B}(${this._isLeftOrTop?"+":"-"}${this.dockedSize})`)}return{webkitTransform:w,transform:w}}_onTransitionEnd(w){w.target===this._elSidebar.nativeElement&&w.propertyName.endsWith("transform")&&(this._setFocused(),this.opened?(this._initCloseListeners(),this.onOpened.emit()):(this._destroyCloseListeners(),this.onClosed.emit()),this.onTransitionEnd.emit(),this._elSidebar.nativeElement.removeEventListener("transitionend",this._onTransitionEnd))}get _shouldTrapFocus(){return this.opened&&this.trapFocus}_focusFirstItem(){this._focusableElements&&this._focusableElements.length>0&&this._focusableElements[0].focus()}_onFocusTrap(w){this._shouldTrapFocus&&!this._elSidebar.nativeElement.contains(w.target)&&this._focusFirstItem()}_setFocused(){if(this._focusableElements=Array.from(this._elSidebar.nativeElement.querySelectorAll(this._focusableElementsString)),this.opened){this._focusedBeforeOpen=document.activeElement;for(const w of this._focusableElements){const B=w.getAttribute(this._tabIndexAttr),te=null!==w.getAttribute(this._tabIndexIndicatorAttr);null!==B?(w.setAttribute("tabindex",B),w.removeAttribute(this._tabIndexAttr)):te&&(w.removeAttribute("tabindex"),w.removeAttribute(this._tabIndexIndicatorAttr))}this.autoFocus&&this._focusFirstItem(),document.addEventListener("focus",this._onFocusTrap,!0)}else{for(const w of this._focusableElements){const B=w.getAttribute("tabindex");w.setAttribute("tabindex","-1"),w.setAttribute(this._tabIndexIndicatorAttr,""),null!==B&&w.setAttribute(this._tabIndexAttr,B)}document.removeEventListener("focus",this._onFocusTrap,!0),this._focusedBeforeOpen&&this.autoFocus&&this._isModeOver&&(this._focusedBeforeOpen.focus(),this._focusedBeforeOpen=void 0)}}_initCloseListeners(){this._initCloseClickListener(),this._initCloseKeyDownListener()}_initCloseClickListener(){setTimeout(()=>{this.opened&&this.closeOnClickOutside&&!this._onClickOutsideAttached&&(document.addEventListener(this._clickEvent,this._onClickOutside),this._onClickOutsideAttached=!0)})}_initCloseKeyDownListener(){setTimeout(()=>{this.opened&&this.keyClose&&!this._onKeyDownAttached&&(document.addEventListener("keydown",this._onKeyDown),this._onKeyDownAttached=!0)})}_destroyCloseListeners(){this._destroyCloseClickListener(),this._destroyCloseKeyDownListener()}_destroyCloseClickListener(){this._onClickOutsideAttached&&(document.removeEventListener(this._clickEvent,this._onClickOutside),this._onClickOutsideAttached=!1)}_destroyCloseKeyDownListener(){this._onKeyDownAttached&&(document.removeEventListener("keydown",this._onKeyDown),this._onKeyDownAttached=!1)}_onClickOutside(w){this._onClickOutsideAttached&&this._elSidebar&&!this._elSidebar.nativeElement.contains(w.target)&&this.close()}_onKeyDown(w){(w=w||window.event).keyCode===this.keyCode&&this.close()}_initCollapseListeners(){(this.autoCollapseHeight||this.autoCollapseWidth)&&setTimeout(()=>{this._onResizeAttached||(window.addEventListener("resize",this._collapse),this._onResizeAttached=!0)})}_destroyCollapseListeners(){this._onResizeAttached&&(window.removeEventListener("resize",this._collapse),this._onResizeAttached=!1)}_collapse(){const w=window.innerHeight,B=window.innerWidth;this.autoCollapseHeight&&(w<=this.autoCollapseHeight&&this.opened?(this._wasCollapsed=!0,this.close()):w>this.autoCollapseHeight&&this._wasCollapsed&&(this.open(),this._wasCollapsed=!1)),this.autoCollapseWidth&&(B<=this.autoCollapseWidth&&this.opened?(this._wasCollapsed=!0,this.close()):B>this.autoCollapseWidth&&this._wasCollapsed&&(this.open(),this._wasCollapsed=!1))}get _height(){return this._elSidebar.nativeElement?this._isDocked?this._dockedSize:this._elSidebar.nativeElement.offsetHeight:0}get _width(){return this._elSidebar.nativeElement?this._isDocked?this._dockedSize:this._elSidebar.nativeElement.offsetWidth:0}get _dockedSize(){return parseFloat(this.dockedSize)}get _isModeOver(){return"over"===this.mode}get _isModePush(){return"push"===this.mode}get _isModeSlide(){return"slide"===this.mode}get _isDocked(){return this.dock&&!!this.dockedSize&&!this.opened}get _isLeftOrTop(){return"left"===this.position||"top"===this.position}get _isLeftOrRight(){return"left"===this.position||"right"===this.position}get _isInert(){return!this.opened&&!this.dock}_normalizePosition(){const w=function sd(){let j="ltr";return typeof window<"u"&&(j=window.getComputedStyle?window.getComputedStyle(document.body,null).getPropertyValue("direction"):document.body.currentStyle.direction),"ltr"===j}();"start"===this.position?this.position=w?"left":"right":"end"===this.position&&(this.position=w?"right":"left")}}return(j=S).\u0275fac=function(w){return new(w||j)(o.rXU(Tu,8),o.rXU(o.gRc),o.rXU(o.Agw))},j.\u0275cmp=o.VBU({type:j,selectors:[["ng-sidebar"]],viewQuery:function(w,B){if(1&w&&o.GBs(Rc,5),2&w){let te;o.mGM(te=o.lsd())&&(B._elSidebar=te.first)}},inputs:{opened:"opened",mode:"mode",dock:"dock",dockedSize:"dockedSize",position:"position",animate:"animate",autoCollapseHeight:"autoCollapseHeight",autoCollapseWidth:"autoCollapseWidth",autoCollapseOnInit:"autoCollapseOnInit",sidebarClass:"sidebarClass",ariaLabel:"ariaLabel",trapFocus:"trapFocus",autoF
1ocus:"autoFocus",showBackdrop:"showBackdrop",closeOnClickBackdrop:"closeOnClickBackdrop",closeOnClickOutside:"closeOnClickOutside",keyClose:"keyClose",keyCode:"keyCode"},outputs:{openedChange:"openedChange",onContentInit:"onContentInit",onOpenStart:"onOpenStart",onOpened:"onOpened",onCloseStart:"onCloseStart",onClosed:"onClosed",onTransitionEnd:"onTransitionEnd",onModeChange:"onModeChange",onPositionChange:"onPositionChange",_onRerender:"_onRerender"},features:[o.OA$],ngContentSelectors:Ld,decls:3,vars:15,consts:[["sidebar",""],["role","complementary",3,"ngClass","ngStyle"]],template:function(w,B){1&w&&(o.NAR(),o.j41(0,"aside",1,0),o.SdG(2),o.k0s()),2&w&&(o.ZWY("ng-sidebar ng-sidebar--",B.opened?"opened":"closed"," ng-sidebar--",B.position," ng-sidebar--",B.mode,""),o.AVh("ng-sidebar--docked",B._isDocked)("ng-sidebar--inert",B._isInert)("ng-sidebar--animate",B.animate),o.Y8G("ngClass",B.sidebarClass)("ngStyle",B._getStyle()),o.BMQ("aria-hidden",!B.opened)("aria-label",B.ariaLabel))},dependencies:[Y.YU,Y.B3],styles:[".ng-sidebar[_ngcontent-%COMP%]{-webkit-overflow-scrolling:touch;overflow:auto;pointer-events:auto;position:absolute;touch-action:auto;will-change:initial;z-index:2}.ng-sidebar--left[_ngcontent-%COMP%]{bottom:0;left:0;top:0}.ng-sidebar--right[_ngcontent-%COMP%]{bottom:0;right:0;top:0}.ng-sidebar--top[_ngcontent-%COMP%]{left:0;right:0;top:0}.ng-sidebar--bottom[_ngcontent-%COMP%]{bottom:0;left:0;right:0}.ng-sidebar--inert[_ngcontent-%COMP%]{pointer-events:none;touch-action:none;will-change:transform}.ng-sidebar--animate[_ngcontent-%COMP%]{transition:transform .3s cubic-bezier(0,0,.3,1)}"],changeDetection:0}),S})();var ad;const Th=j=>({"rounded-2xl shadow-2xl":j}),Mu=j=>({selectItem:j}),cg=()=>({});function Ah(j,S){if(1&j&&(o.j41(0,"div",15),o.nrm(1,"app-room-ext",16,1),o.k0s()),2&j){const D=o.XpG();o.R7$(),o.Y8G("snInfo",D.snInfo)}}function Bd(j,S){if(1&j&&(o.j41(0,"ng-sidebar",17)(1,"div",18)(2,"div",19),o.EFF(3),o.nI1(4,"translate"),o.k0s(),o.j41(5,"div",20),o.EFF(6),o.k0s()()()),2&j){const D=o.XpG();o.Y8G("animate",!0)("mode","over")("opened",D.bShowTitlePanel)("position","top")("sidebarClass","chartroom_title_panel"),o.R7$(3),o.Lme(" ",o.bMT(4,8,"Common.TenantName"),": ",D.tenantName," "),o.R7$(3),o.SpI(" ",D.roomDes," ")}}function dg(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",24),o.bIt("click",function(){const B=o.eBV(D).$implicit,te=o.XpG(2);return o.Njj(te.quickClick(B))}),o.EFF(1),o.k0s()}if(2&j){const D=S.$implicit;o.R7$(),o.SpI(" ",D.title," ")}}function Xp(j,S){if(1&j){const D=o.RV6();o.j41(0,"ng-sidebar",21,2),o.mxI("openedChange",function(B){o.eBV(D);const te=o.XpG();return o.DH7(te.bShowQuick,B)||(te.bShowQuick=B),o.Njj(B)}),o.j41(2,"div",22),o.DNE(3,dg,2,1,"div",23),o.k0s()()}if(2&j){const D=o.XpG();o.R50("opened",D.bShowQuick),o.Y8G("mode","over")("position","bottom")("animate",!0)("sidebarClass","quickPanel "),o.R7$(3),o.Y8G("ngForOf",D.actionsQuickReplys)}}function Yp(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-item",26),o.bIt("click",function(){const B=o.eBV(D).$implicit;return o.Njj(B.onClick())}),o.nrm(1,"ion-icon",27),o.j41(2,"ion-label",28)(3,"h3"),o.EFF(4),o.k0s(),o.j41(5,"p"),o.EFF(6),o.k0s()()()}if(2&j){const D=S.$implicit,w=S.index,B=o.XpG(2);o.Y8G("ngClass",o.eq3(4,Mu,B.isSpeedItemSelect(w))),o.R7$(),o.FS9("name",D.icon),o.R7$(3),o.JRh(D.cmd),o.R7$(2),o.JRh(D.text)}}function jd(j,S){if(1&j){const D=o.RV6();o.j41(0,"ng-sidebar",21,3),o.mxI("openedChange",function(B){o.eBV(D);const te=o.XpG();return o.DH7(te.bShowSpeed,B)||(te.bShowSpeed=B),o.Njj(B)}),o.j41(2,"ion-list"),o.DNE(3,Yp,7,6,"ion-item",25),o.k0s()()}if(2&j){const D=o.XpG();o.R50("opened",D.bShowSpeed),o.Y8G("mode","over")("position","bottom")("animate",!0)("sidebarClass","speedPanel "),o.R7$(3),o.Y8G("ngForOf",D.speedData)}}function Ud(j,S){if(1&j){const D=o.RV6();o.j41(0,"app-room-bottom",29),o.bIt("onInputBlur",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.onKeyboardHide(B))})("onInputForce",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.onKeyboardShow(B))})("onSpeedChanged",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.onSpeedChanged(B))}),o.k0s()}if(2&j){let D;const w=o.XpG();o.Y8G("roomInfo",null!==(D=w.roomInfo)&&void 0!==D?D:o.lJ4(3,cg))("snInfo",w.snInfo)("tenantInfo",w.tenantInfo)}}let ld=((ad=class{constructor(S,D,w,B,te,Ee,ze,gt,Dt,Wt,yn,Bn,Ln,Jn,ir,Tr,Zr,fi){var bi,Ai=this;this.el=S,this.ngZone=D,this.route=w,this._nav=B,this.platform=te,this.i18N=Ee,this.injector=ze,this.cpService=gt,this._cdr=Dt,this.commonService=Wt,this.socketService=yn,this.modalHelper=Bn,this.animationCtrl=Ln,this.logService=Jn,this.gestureCtrl=ir,this.settingService=Tr,this.titleService=Zr,this.sanitizer=fi,this.tenantId="",this.openType="sn",this.serviceNumberId="",this.roomId="",this.isLoading=!1,this.bShowExtFromParent=!1,this.bShowExt=!1,this.bShowSpeed=!1,this.extSize=70,this.bShowTitlePanel=!1,this.bShowQuick=!1,this.showInput=!0,this.actionsQuickReplys=[],this.speedData=[],this.defaultSpeedData=[{cmd:"/test1",text:"\u67e5\u7
170b\u5f53\u524dpushToken",icon:"airplane-outline",onClick:(bi=(0,T.A)(function*(){setTimeout(()=>{Ai.bShowSpeed=!1,Ai.modalHelper.showAlert("pushToken",Ai.socketService.pushToken),Ai._cdr.markForCheck()},1e3)}),function(){return bi.apply(this,arguments)})},{cmd:"/test2",text:"\u5f00/\u5173console",icon:"apps-outline",onClick:()=>{this.bShowSpeed=!1,this._cdr.markForCheck(),q.isEmpty(this.logService.vConsole)?(localStorage.debug="aiwow-app:* ",this.logService.useVConsole()):(localStorage.debug="",this.logService.closeVConsole()),this._cdr.markForCheck()}},{cmd:"/query",text:"\u67e5\u8a62\u6211\u7684\u6d88\u606f",icon:"bag-check-outline",onClick:()=>{this.bShowSpeed=!1,this._cdr.markForCheck()}}],this.destroy$=new lt.B,this.isPageTurnConfirmed=!1,this.hanmmerOP=!1,this.keyboardOpen=!1,this._speedIndex=0}handleKeyboardEvent(S){if("Escape"==S.key)if(this.commonService.inModel==H.j0.app)this.commonService.gotoBack();else{var D,w;fn.co._roomChanged.next({type:fn.CA.close,tenantId:this.tenantId,roomId:null!==(D=null===(w=this.roomInfo)||void 0===w?void 0:w.id)&&void 0!==D?D:""})}}todo(){this.modalHelper.showToast(this.i18N.instant("Common.Todo"))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.gesture&&(this.gesture.enable(!1),this.gesture.destroy(),this.gesture=void 0)}ngAfterViewInit(){fn.co._roomAIStatusChanged.pipe((0,Cn.Q)(this.destroy$)).subscribe(S=>{var D;S.roomId==(null===(D=this.roomInfo)||void 0===D?void 0:D.id)&&this.roomStatusChanged(S.type==fn.Mi.aiServiced)})}ngOnInit(){var S=this;return(0,T.A)(function*(){var D,w,B;let te=S.route.snapshot.queryParamMap;var Ee,ze;S.openType=null!==(D=te.get("openType"))&&void 0!==D?D:"sn",S.bShowExtFromParent="true"==te.get("showExt"),"sn"==S.openType&&(S.serviceNumberId=null!==(Ee=te.get("serviceNumberId"))&&void 0!==Ee?Ee:""),"chat"==S.openType&&(S.roomId=null!==(ze=te.get("roomId"))&&void 0!==ze?ze:""),S.tenantId=null!==(w=te.get("tenantId"))&&void 0!==w?w:"";let gt=null!==(B=te.get("tenantCode"))&&void 0!==B?B:"";var Dt,Wt;if(q.isEmpty(S.tenantId)&&(S.tenantInfo=yield S.cpService.getTenantItemByCode(gt),S.tenantId=null!==(Dt=null===(Wt=S.tenantInfo)||void 0===Wt?void 0:Wt.tenantId)&&void 0!==Dt?Dt:""),q.isEmpty(S.tenantId))return S.modalHelper.showToast(S.i18N.instant("Common.TenantNotFound")),void S.commonService.gotoBack();setTimeout(()=>{S.resize()},500),window.onresize=yn=>{S.resize()}})()}ionViewWillEnter(){var S=this;return(0,T.A)(function*(){var D,w,B,te,Ee,ze;S.isLoading=!0,S._cdr.markForCheck();try{if(S.tenantInfo=yield S.cpService.getTenantItemAsync(S.tenantId),q.isEmpty(S.tenantInfo)&&(S.modalHelper.showToast("tenantInfo not found"),S._nav.back()),S.isLoading=!0,S._cdr.markForCheck(),"sn"==S.openType){var gt,Dt,Wt,yn,Bn,Ln,Jn,ir,Tr,fi,Ai,Zr,bi,Mi,yi,Ei,uo,Do,jo,Vs,_s;if(S.snInfo=yield S.commonService.aiwowDB.getServiceNumber(null!==(gt=S.serviceNumberId)&&void 0!==gt?gt:""),q.isEmpty(S.snInfo)?S.snInfo=yield null===(ir=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===ir?void 0:ir.fetchServiceNumberInfo(S.tenantId,null!==(Tr=S.serviceNumberId)&&void 0!==Tr?Tr:""):setTimeout((0,T.A)(function*(){var zs,pa,wl,Tl;S.logService.debug(`sn \u8def\u7531\u9032\u5165--\x3e\u5ef6\u9072\u7372\u53d6\u670d\u52d9\u865f\u8cc7\u6599${null===(zs=S.roomInfo)||void 0===zs?void 0:zs.name} snId:${null===(pa=S.roomInfo)||void 0===pa?void 0:pa.serviceNumberId}`),S.snInfo=yield null===(wl=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===wl?void 0:wl.fetchServiceNumberInfo(S.tenantId,null!==(Tl=S.serviceNumberId)&&void 0!==Tl?Tl:"")}),1e3),S.logService.debug(`sn \u8def\u7531\u9032\u5165--\x3e${null===(Dt=S.roomInfo)||void 0===Dt?void 0:Dt.name} snId:${null===(Wt=S.roomInfo)||void 0===Wt?void 0:Wt.serviceNumberId}`),q.isEmpty(S.snInfo))return S.modalHelper.showToast("Service Number not found"),void S._nav.back();if(S.setTitle(null!==(yn=S.snInfo.name)&&void 0!==yn?yn:""),q.isEmpty(S.snInfo.serviceNumberAvatarUrl)?null===(fi=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===fi||fi.fetchAvatar(S.tenantId,null!==(Ai=S.snInfo.serviceNumberAvatarId)&&void 0!==Ai?Ai:"").then(zs=>{S.setFavicon(null!=zs?zs:"")}):S.setFavicon(null!==(Zr=S.snInfo.serviceNumberAvatarUrl)&&void 0!==Zr?Zr:""),S.roomInfo=yield S.commonService.aiwowDB.getChatRoom(null!==(Bn=S.snInfo.roomId)&&void 0!==Bn?Bn:""),q.isEmpty(S.roomInfo)&&(S.roomInfo=yield null===(bi=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===bi?void 0:bi.fetchChatRoomInfo(S.tenantId,null!==(Mi=S.snInfo.roomId)&&void 0!==Mi?Mi:"")),S.snInfo.roomId!=(null===(Ln=S.roomInfo)||void 0===Ln?void 0:Ln.id)&&(S.commonService.aiwowDB.removeRoom(null!==(yi=null===(Ei=S.roomInfo)||void 0===Ei?void 0:Ei.id)&&void 0!==yi?yi:""),S.roomInfo=yield null===(uo=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===uo?void 0:uo.fetchChatRoomInfo(S.tenantId,null!==(Do=null===(jo=S.snInfo)||void 0===jo?void 0:jo.roomId)&&void 0!==Do?Do:""),S.roomId=null!==(Vs=null===(_s=S.snInfo)||void 0===_s?void 0:_s.roomId)&&void 0!==Vs?Vs:""),q.isEmpty(S.roomInfo))return S.modalHelper.showToast("Chat Room not found"),void S._nav.back();S.titleService.setTitle(null!==(Jn=S.roomInfo.serviceNumberName)&&void 0!==Jn?Jn:"")}if("chat"==S.openType){var Aa,Qa,Ja,Li;if(S.roomInfo=yield S.commonService.aiwowDB.getChatRoom(S.roomId),q.isEmpty(S.roomInfo)&&(S.roomInfo=yield null===(Li=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===Li?void 0:Li.fetchChatRoomInfo(S.tenantId,S.roomId)),S.logService.debug(`chat \u8def\u7531\u9032\u5165--\x3e${null===(Aa=S.roomInfo)||void 0===Aa?void 0:Aa.name} snId:${null===(Qa=S.roomInfo)||void 0===Qa?void 0:Qa.serviceNumberId}`),q.isEmpty(S.roomInfo))return S.modalHelper.showToast("Chat Room not found"),void S._nav.back();if(S.setTitle(null!==(Ja=S.roomInfo.serviceNumberName)&&void 0!==Ja?Ja:""),S.roomInfo.threadType==qt.bF.serviceNumber){var Yi,Qi,Bo,Gs,Za,Ka,ha,Os,Fl,Sl,Da;if(S.snInfo=yield S.commonService.aiwowDB.getServiceNumber(null!==(Yi=S.roomInfo.serviceNumberId)&&void 0!==Yi?Yi:""),q.isEmpty(S.snInfo)?S.snInfo=yield null===(Gs=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===Gs?void 0:Gs.fetchServiceNumberInfo(S.tenantId,null!==(Za=S.roomInfo.serviceNumberId)&&void 0!==Za?Za:""):setTimeout((0,T.A)(function*(){var zs,pa,wl,Tl,Hu;S.logService.debug(`chat \u8def\u7531\u9032\u5165 \u5ef6\u9072\u7372\u53d6\u670d\u52d9\u865f\u4fe1\u606f--\x3e${null===(zs=S.roomInfo)||void 0===zs?void 0:zs.name} snId:${null===(pa=S.roomInfo)||void 0===pa?void 0:pa.serviceNumberId}`),S.snInfo=yield null===(wl=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===wl?void 0:wl.fetchServiceNumberInfo(S.tenantId,null!==(Tl=null===(Hu=S.roomInfo)||void 0===Hu?void 0:Hu.serviceNumberId)&&void 0!==Tl?Tl:"")}),1e3),(null===(Qi=S.snInfo)||void 0===Qi?void 0:Qi.roomId)!=S.roomInfo.id&&(S.commonService.aiwowDB.removeRoom(null!==(Ka=S.roomInfo.id)&&void 0!==Ka?Ka:""),S.roomInfo=yield null===(ha=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===ha?void 0:ha.fetchChatRoomInfo(S.tenantId,null!==(Os=null===(Fl=S.snInfo)||void 0===Fl?void 0:Fl.roomId)&&void 0!==Os?Os:""),S.roomId=null!==(Sl=null===(Da=S.snInfo)||void 0===Da?void 0:Da.roomId)&&void 0!==Sl?Sl:""),q.isEmpty(S.snInfo))return S.modalHelper.showToast("Service Number not found"),void S._nav.back();S.setTitle(null!==(Bo=S.snInfo.name)&&void 0!==Bo?Bo:"")}}}catch{S._nav.back()}null===(D=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===D||D.fetchRoomAIStatus(S.tenantId,null!==(w=null===(B=S.roomInfo)||void 0===B?void 0:B.id)&&void 0!==w?w:""),null===(te=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===te||te.switchTenant(S.tenantId,null!==(Ee=null===(ze=S.roomInfo)||void 0===ze?void 0:ze.id)&&void 0!==Ee?Ee:""),S.isLoading=!1,setTimeout(()=>{fr.getStickService(S.injector,S.tenantInfo)},1e3),S.isLoading=!1,S._cdr.markForCheck()})()}setTitle(S){this.isEmbed||this.commonService.isUrl&&this.titleService.setTitle(S)}setFavicon(S){if(this.commonService.isUrl){let D=document.querySelector('link[rel="icon"]');D&&(D.href=null!=S?S:"favicon.ico")}}resize(){this.bShowExtFromParent?this.ngZone.run(()=>{this.bShowExt=!(window.innerWidth<768),this._cdr.markForCheck()}):this.bShowExt=!1}get hasBusinessCardURL(){var S,D;return!q.isEmpty(null!==(S=null===(D=this.snInfo)||void 0===D?void 0:D.businessCardURL)&&void 0!==S?S:"")}onClose(){var S,D;fn.co._roomChanged.next({type:fn.CA.close,tenantId:this.tenantId,roomId:null!==(S=null===(D=this.roomInfo)||void 0===D?void 0:D.id)&&void 0!==S?S:""})}get tenantName(){var S,D;return null!==(S=null===(D=this.tenantInfo)||void 0===D?void 0:D.tenantName)&&void 0!==S?S:""}onTitleClick(){}get roomDes(){var S,D;return null!==(S=null===(D=this.snInfo)||void 0===D?void 0:D.description)&&void 0!==S?S:""}clearNotReadTag(){var S,D;(null!==(S=null===(D=this.roomInfo)||void 0===D?void 0:D.unReadNum)&&void 0!==S?S:0)>0&&this.roomBody.clearUnReadTag()}onKeyboardShow(S){this.clearNotReadTag(),this.keyboardOpen=!0}onKeyboardHide(S){this.keyboardOpen=!1}onSpeedChanged(S){"onOpen"==S.action&&(this.speedData=this.defaultSpeedData,this._speedIndex=0,this.bShowSpeed=!0),"onSelect"==S.action&&(console.log("onSelect",S.data),this.speedData=this.defaultSpeedData.filter(D=>
1D.cmd.startsWith("/"+S.data)),this._speedIndex=0),("onClose"==S.action||"onEscDiv"==S.action)&&(this.bShowSpeed=!1),"onChecked"==S.action&&(this.speedItemClick(this._speedIndex),this.bShowSpeed=!1),("onUpItem"==S.action||"onLeftItem"==S.action)&&(this._speedIndex--,this._speedIndex<0&&(this._speedIndex=this.speedData.length-1)),("onDownItem"==S.action||"onRightItem"==S.action)&&(this._speedIndex++,this._speedIndex>this.speedData.length-1&&(this._speedIndex=0)),this._cdr.markForCheck()}isSpeedItemSelect(S){return this._speedIndex==S}speedItemClick(S){var D;this._speedIndex=S,null===(D=this.speedData[this._speedIndex])||void 0===D||D.onClick(),this.bShowSpeed=!1}sendTemplateMessage(){var S=this;return(0,T.A)(function*(){var D;q.isEmpty(S.roomInfo)||null===(D=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===D||D.sendMessageTemplate(S.tenantId,de.v.uuid(),S.roomInfo,JSON.stringify({orientation:"Vertical",text:"\u6d4b\u8bd5\u5361\u7247\u6d88\u606f",title:"\u6d4b\u8bd5\u5361\u7247\u6d88\u606f",imageUrl:"https://zhucl.oss-cn-shanghai.aliyuncs.com/ailepoint/ap.jpg",defaultAction:{label:"\u6d4b\u8bd5",type:"aiff",url:"https://www.google.com"},type:"buttons",actions:[{label:"\u6d4b\u8bd5\u6309\u94ae1",type:"aiff",url:"https://www.google.com"},{label:"\u6d4b\u8bd5\u6309\u94ae2",type:"url",url:"https://www.google.com"}]}))})()}get isEmbed(){return this.commonService.isUrl&&self!=top?this.commonService.webChatFunction.useRounded:this.commonService.inModel==H.j0.embed}quickClick(S){var D,w,B,te,Ee,ze,gt,Dt,Wt;null===(D=this.cpService.getCEServerByTenantId(this.tenantId))||void 0===D||D.sendQuickReply(de.v.uuid(),null!==(w=null===(B=this.tenantInfo)||void 0===B?void 0:B.tenantId)&&void 0!==w?w:"",null!==(te=null===(Ee=this.roomInfo)||void 0===Ee?void 0:Ee.id)&&void 0!==te?te:"",S),this.roomInfo&&(null!==(ze=this.roomInfo.unReadNum)&&void 0!==ze?ze:0)>0&&(null===(gt=this.cpService.getCEServerByTenantId(this.tenantId))||void 0===gt||gt.readAllMessage(null!==(Dt=null===(Wt=this.tenantInfo)||void 0===Wt?void 0:Wt.tenantId)&&void 0!==Dt?Dt:"",this.roomInfo),this.roomInfo.unReadNum=0)}quickReplyChanged(S){this.bShowQuick=S.show,this.actionsQuickReplys=S.items,this._cdr.markForCheck()}roomStatusChanged(S){this.showInput=!this.commonService.webChatFunction.notShowInputWhenAiServiced||!S,this._cdr.markForCheck()}}).\u0275fac=function(S){return new(S||ad)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(C.nX),o.rXU(a.q9),o.rXU(a.OD),o.rXU(ae.c$),o.rXU(o.zZn),o.rXU(Z.b),o.rXU(o.gRc),o.rXU(H.hf),o.rXU(Ic.L),o.rXU(me.S),o.rXU(E.Hx),o.rXU(Xn.J),o.rXU(E.wH),o.rXU(Yu.h),o.rXU(c.hE),o.rXU(c.up))},ad.\u0275cmp=o.VBU({type:ad,selectors:[["app-chat-room"]],viewQuery:function(S,D){if(1&S&&o.GBs(Ce,5),2&S){let w;o.mGM(w=o.lsd())&&(D.roomBody=w.first)}},hostBindings:function(S,D){1&S&&o.bIt("keydown",function(B){return D.handleKeyboardEvent(B)},!1,o.EBC)},inputs:{tenantId:"tenantId",serviceNumberId:"serviceNumberId"},standalone:!0,features:[o.aNF],decls:14,vars:24,consts:[["chatbody",""],["extPanel",""],["btnQuick",""],["btnSpeed",""],["id","room","direction","horizontal","unit","percent",1,"flex-1","chat-room",3,"gutterSize","ngClass"],[1,"chartroom_Ext",3,"size","minSize","maxSize","visible","order"],["class","relative h-full flex flex-col border border-solid border-colors-extBorder","style","position: relative",4,"ngIf"],[1,"flex","flex-col",3,"size","order"],[3,"onClose","onTitleClick","roomInfo","snInfo","tenantInfo"],[1,"flex-1","w-full","h-full","border-b","border-room_border"],[3,"animate","mode","opened","position","sidebarClass",4,"ngIf"],[3,"opened","mode","position","animate","sidebarClass","openedChange",4,"ngIf"],["ng-sidebar-content","",1,"flex","h-full","flex-col","relative",3,"click"],[3,"onQuickReplyChanged","roomInfo","snInfo","tenantInfo"],["class","flex-none",3,"roomInfo","snInfo","tenantInfo","onInputBlur","onInputForce","onSpeedChanged",4,"ngIf"],[1,"relative","h-full","flex","flex-col","border","border-solid","border-colors-extBorder",2,"position","relative"],[3,"snInfo"],[3,"animate","mode","opened","position","sidebarClass"],[1,"w-full","rounded-bl-xl","rounded-br-xl","shadow-lg","flex","flex-col","p-3","bg-colors-nav","text-white"],[1,"text-base"],[1,"text-base","pt-2"],[3,"openedChange","opened","mode","position","animate","sidebarClass"],[1,"flex","items-center","gap-2","p-2","whitespace-nowrap","overflow-x-auto","overflow-y-hidden","h-8"],["class","border rounded-2xl text-base cursor-default text-white bg-colors-quickbg px-2",3,"click",4,"ngFor","ngForOf"],[1,"border","rounded-2xl","text-base","cursor-default","text-white","bg-colors-quickbg","px-2",3,"click"],["button","","detail","false","color","medium",3,"ngClass","click",4,"ngFor","ngForOf"],["button","","detail","false","color","medium",3,"click","ngClass"],["aria-hidden","true","slot","start",3,"name"],[1,"ml-2"],[1,"flex-none",3,"onInputBlur","onInputForce","onSpeedChanged","roomInfo","snInfo","tenantInfo"]],template:function(S,D){if(1&S){const w=o.RV6();o.j41(0,"as-split",4)(1,"as-split-area",5),o.DNE(2,Ah,3,1,"div",6),o.k0s(),o.j41(3,"as-split-area",7)(4,"app-room-header",8),o.bIt("onClose",function(){return o.eBV(w),o.Njj(D.onClose())})("onTitleClick",function(){return o.eBV(w),o.Njj(D.onTitleClick())}),o.k0s(),o.nrm(5,"net-error-tip"),o.j41(6,"ng-sidebar-container",9,0),o.DNE(8,Bd,7,10,"ng-sidebar",10)(9,Xp,4,6,"ng-sidebar",11)(10,jd,4,6,"ng-sidebar",11),o.j41(11,"div",12),o.bIt("click",function(){return o.eBV(w),o.Njj(D.clearNotReadTag())}),o.j41(12,"app-room-body",13),o.bIt("onQuickReplyChanged",function(te){return o.eBV(w),o.Njj(D.quickReplyChanged(te))}),o.k0s()()(),o.DNE(13,Ud,1,4,"app-room-bottom",14),o.k0s()()}2&S&&(o.AVh("fixed-header",D.keyboardOpen),o.Y8G("gutterSize",2)("ngClass",o.eq3(22,Th,D.isEmbed)),o.R7$(),o.Y8G("size",D.extSize)("minSize",50)("maxSize",70)("visible",D.bShowExt&&D.hasBusinessCardURL)("order",1),o.R7$(),o.Y8G("ngIf",D.bShowExt),o.R7$(),o.Y8G("size",100-D.extSize)("order",0),o.R7$(),o.Y8G("roomInfo",D.roomInfo)("snInfo",D.snInfo)("tenantInfo",D.tenantInfo),o.R7$(4),o.Y8G("ngIf",D.bShowTitlePanel),o.R7$(),o.Y8G("ngIf",D.bShowQuick),o.R7$(),o.Y8G("ngIf",D.bShowSpeed),o.R7$(2),o.Y8G("roomInfo",D.roomInfo)("snInfo",D.snInfo)("tenantInfo",D.tenantInfo),o.R7$(),o.Y8G("ngIf",D.showInput))},dependencies:[E.bv,E.iq,E.uz,E.he,E.nf,Y.MD,Y.YU,Y.Sq,Y.bT,It,Ce,Dc,id,bn,Sn,dr,dc,Tu,wh,ae.h,ae.D9,od.w],styles:['@charset "UTF-8";.fixed-layout[_ngcontent-%COMP%]{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:9999}'],changeDetection:0}),ad);var ud;ld=(0,s.Cg)([h.$.RefWindow("ChatRoom")],ld);let Dh=((ud=class{constructor(S,D,w,B){this.log=S,this.router=D,this.commonService=w,this._toast=B,this.data={action:"service",id:"17ac7301-5010-079d-6ea3-0242ac190007",tenantCode:"91003646-01",fromTitle:"",from:"",device:"",showLog:!0},this.data2={action:"",id:"",tenantCode:"",fromTitle:"",from:"",device:"",showLog:!0},this.encodeStr="",this.mStr="",this.url=""}ngAfterViewInit(){}ngOnInit(){}encode(){let S=JSON.stringify(this.data);this.mStr=location.protocol+"//"+location.host+`/roomone?id=${this.data.id}&tenantCode=${this.data.tenantCode}&type=${this.data.action}&showLog=${this.data.showLog?"y":"n"}`;let D=this.commonService.EncryptQR(S);this.encodeStr=location.protocol+"//"+location.host+"/roomone?data="+encodeURIComponent(D)}dencode(){try{let S=this.url.replace("https://","/").replace("http://","/").replace("#",""),w=this.router.parseUrl(S).queryParamMap.get("data")||"";w=decodeURIComponent(w),this.data=this.commonService.DecryptStr(w)}catch{this._toast.create({header:"\u683c\u5f0f\u932f\u8aa4",message:"\u5e36\u5165\u683c\u5f0f\u4e0d\u6b63\u78ba",duration:2e3,mode:"ios",position:"top"}).then(D=>D.present())}}}).\u0275fac=function(S){return new(S||ud)(o.rXU(Xn.J),o.rXU(C.Ix),o.rXU(H.hf),o.rXU(E.K_))},ud.\u0275cmp=o.VBU({type:ud,selectors:[["app-encode"]],standalone:!0,features:[o.aNF],decls:24,vars:10,consts:[[1,"w-screen","h-screen","bg-white","p-8"],[1,"px-4","py-2","border-2","border-red","rounded","p-8","relative","flex","flex-wrap"],[1,"absolute","-my-6","-mx-2","bg-white","px-2","text-gray-800","text-2xl"],["type","text","placeholder","action:call",1,"m-2","appearance-none","border-2","rounded","w-48","py-2","text-gray-800","leading-tight","focus:outline-none","focus:bg-white",3,"ngModelChange","ngModel"],["type","text","placeholder","serviceNumberId",1,"m-2","appearance-none","border-2","rounded","w-48","py-2","text-gray-800","leading-tight","focus:outline-none","focus:bg-white",3,"ngModelChange","ngModel"],["type","text","placeholder","tenantCode",1,"m-2","appearance-none","border-2","rounded","w-48","py-2","text-gray-800","leading-tight","focus:outline-none","focus:bg-white",3,"ngModelChange","ngModel"],["type","text","placeholder","fromTitle",1,"m-2","appearance-none","border-2","rounded","w-48","py-2","text-gray-800","leading-tight","focus:outline-none","focus:bg-white",3,"ngModelChange","ngModel"],["type","text","placeholder","from",1,"m-2","appearance-none","border-2","rounded","w-48","py-2","text-gray-800","leading-tight","focus:outline-none","focus:bg-white",3,"ngModelChange","ngModel"],["type","text","placeholder","device",1,"m-2","appearance-none","border-2","rounded","w-48","py-2","text-gray-800","leading-tight","focus:outline-none","focus:bg-white",3,"ngModelChange","ngModel"],[1,"inline-flex","items-center","w-48","m-2"],["type","checkbox",1,"form-checkbox","h-8","w-8","text-green-500",3,"ngModelChange","ngModel"],[1,"ml-4","text-xl"],[1,"m-2","w-48","bg-yellow-500","cursor-default","hover:bg-yellow-700","text-white","text-center","py-2","px-4","rounded",3,"click"],["placeholder","\u52a0\u5bc6\u5f8cUrl",1,"resize","m-2","appearance-none","border-2","rounded-md","w-full",3,"ngModelChange","ngModel"],["placeholder","Url",1,"resize","m-2","appearance-none","border-2","rounded-md","w-full",3,"ngModelChange","ngModel"],[1,"flex","flex-wrap","px-4","py-2","border-2","border-red","rounded","mt-6","p-8","relative"],["placeholder","\u8f38\u5165\u52a0\u5bc6url",1,"resize","m-2","appearance-none","border-2","rounded-md","w-full",3,"ngModelChange","ngModel"],[1,"m-2","w-full","bg-blue-500","hover:bg-blue-700","text-white","text-center","py-2","px-4","rounded",3,"click"]],template:function(S,D){1&S&&(o.j41(0,"div",0)(1,"div",1)(2,"label",2),o.EFF(3,"\u7de8\u78bc"),o.k0s(),o.j41(4,"input",3),o.mxI("ngModelChange",function(B){return o.DH7(D.data.action,B)||(D.data.action=B),B}),o.k0s(),o.j41(5,"input",4),o.mxI("ngModelChange",function(B){return o.DH7(D.data.id,B)||(D.data.id=B),B}),o.k0s(),o.j41(6,"input",5),o.mxI("ngModelChange",function(B){return o.DH7(D.data.tenantCode,B)||(D.data.tenantCode=B),B}),o.k0s(),o.j41(7,"input",6),o.mxI("ngModelChange",function(B){return o.DH7(D.data.fromTitle,B)||(D.data.fromTitle=B),B}),o.k0s(),o.j41(8,"input",7),o.mxI("ngModelChange",function(B){return o.DH7(D.data.from,B)||(D.data.from=B),B}),o.k0s(),o.j41(9,"input",8),o.mxI("ngModelChange",function(B){return o.DH7(D.data.device,B)||(D.data.device=B
1),B}),o.k0s(),o.j41(10,"label",9)(11,"input",10),o.mxI("ngModelChange",function(B){return o.DH7(D.data.showLog,B)||(D.data.showLog=B),B}),o.k0s(),o.j41(12,"span",11),o.EFF(13,"Log"),o.k0s()(),o.j41(14,"a",12),o.bIt("click",function(){return D.encode()}),o.EFF(15," \u7de8\u78bc "),o.k0s(),o.j41(16,"textarea",13),o.mxI("ngModelChange",function(B){return o.DH7(D.encodeStr,B)||(D.encodeStr=B),B}),o.k0s(),o.j41(17,"textarea",14),o.mxI("ngModelChange",function(B){return o.DH7(D.mStr,B)||(D.mStr=B),B}),o.k0s()(),o.j41(18,"div",15)(19,"label",2),o.EFF(20,"\u89e3\u78bc"),o.k0s(),o.j41(21,"textarea",16),o.mxI("ngModelChange",function(B){return o.DH7(D.url,B)||(D.url=B),B}),o.k0s(),o.j41(22,"a",17),o.bIt("click",function(){return D.dencode()}),o.EFF(23," \u89e3\u78bc "),o.k0s()()()),2&S&&(o.R7$(4),o.R50("ngModel",D.data.action),o.R7$(),o.R50("ngModel",D.data.id),o.R7$(),o.R50("ngModel",D.data.tenantCode),o.R7$(),o.R50("ngModel",D.data.fromTitle),o.R7$(),o.R50("ngModel",D.data.from),o.R7$(),o.R50("ngModel",D.data.device),o.R7$(2),o.R50("ngModel",D.data.showLog),o.R7$(5),o.R50("ngModel",D.encodeStr),o.R7$(),o.R50("ngModel",D.mStr),o.R7$(4),o.R50("ngModel",D.url))},dependencies:[Y.MD,pr.YN,pr.me,pr.Zm,pr.BC,pr.vS,E.bv],encapsulation:2,changeDetection:0}),ud);Dh=(0,s.Cg)([h.$.RefWindow("encode")],Dh);let fg=(()=>{var j;class S{constructor(){}ngOnInit(){return(0,T.A)(function*(){})()}}return(j=S).\u0275fac=function(w){return new(w||j)},j.\u0275cmp=o.VBU({type:j,selectors:[["app-room-loader"]],standalone:!0,features:[o.aNF],decls:17,vars:0,consts:[[1,"loader"]],template:function(w,B){1&w&&(o.j41(0,"div")(1,"div",0),o.nrm(2,"span")(3,"span")(4,"span")(5,"span")(6,"span")(7,"span")(8,"span")(9,"span")(10,"span")(11,"span")(12,"span")(13,"span")(14,"span")(15,"span")(16,"span"),o.k0s()())},dependencies:[E.bv],styles:[".loader[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:175px;height:100px}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;background:#ccc;width:7px;height:10%;border-radius:14px;margin-right:5px;float:left;margin-top:25%}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child{margin-right:0}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(1){animation:_ngcontent-%COMP%_load 2.5s 1.4s infinite linear}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(2){animation:_ngcontent-%COMP%_load 2.5s 1.2s infinite linear}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(3){animation:_ngcontent-%COMP%_load 2.5s 1s infinite linear}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(4){animation:_ngcontent-%COMP%_load 2.5s .8s infinite linear}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(5){animation:_ngcontent-%COMP%_load 2.5s .6s infinite linear}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(6){animation:_ngcontent-%COMP%_load 2.5s .4s infinite linear}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(7){animation:_ngcontent-%COMP%_load 2.5s .2s infinite linear}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(8){animation:_ngcontent-%COMP%_load 2.5s 0s infinite linear}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(9){animation:_ngcontent-%COMP%_load 2.5s .2s infinite linear}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(10){animation:_ngcontent-%COMP%_load 2.5s .4s infinite linear}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(11){animation:_ngcontent-%COMP%_load 2.5s .6s infinite linear}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(12){animation:_ngcontent-%COMP%_load 2.5s .8s infinite linear}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(13){animation:_ngcontent-%COMP%_load 2.5s 1s infinite linear}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(14){animation:_ngcontent-%COMP%_load 2.5s 1.2s infinite linear}.loader[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(15){animation:_ngcontent-%COMP%_load 2.5s 1.4s infinite linear}@keyframes _ngcontent-%COMP%_load{0%{background:#ccc;margin-top:25%;height:10%}50%{background:#444;height:100%;margin-top:0%}to{background:#ccc;height:10%;margin-top:25%}}"],changeDetection:0}),S})(),Hd=(()=>{var j;class S{constructor(w,B,te){this.log=w,this.cpService=B,this.commonService=te,fn.co.processMessageEvent$.subscribe(Ee=>{let ze=Ee.code;if(ze=ze.replace(/\./g,"_"),"function"==typeof this[ze])try{this[ze].call(this,[Ee.data,Ee.tenantCode,Ee.callback,Ee.isOff])}catch(gt){this.log.info("Process MessageEvent "+Ee.code+" but catch error,"+gt)}else this.log.info("Process MessageEvent "+Ee.code+" but is not exist function.")})}getCEServer(w){return this.cpService.getCEServerAndTenantItemByTenantCode(w)}
1Chat_Message_New(w){var B=this;return(0,T.A)(function*(){var te,Ee;let ze=w[0],gt=w[1];if(!ze)return;if(q.isEmpty(gt)){let Ln=yield B.commonService.aiwowDB.getChatRoom(ze.items[0].roomId);Ln&&(gt=Ln.tenantCode)}if(q.isEmpty(gt))return;let{ceServer:yn,tenantItem:Bn}=null!==(te=B.getCEServer(gt))&&void 0!==te?te:{};!yn||!Bn||null===(Ee=ze.items)||void 0===Ee||Ee.forEach(Ln=>{var Jn,ir,Tr;let Zr=q.assign({},Ln);Zr=B.commonService.processMessage(Zr,!1),Zr.sentAt=new Date(null!==(Jn=Zr.sendTime)&&void 0!==Jn?Jn:new Date),Zr.isUser=Zr.senderId==(null==yn||null===(ir=yn.getLoginInfo(null!==(Tr=null==Bn?void 0:Bn.tenantId)&&void 0!==Tr?Tr:""))||void 0===ir||null===(ir=ir.user)||void 0===ir?void 0:ir.id),B.commonService.aiwowDB.addMessage(Zr),fn.co._messageChanged.next({type:fn.nq.add,tenantId:null==Bn?void 0:Bn.tenantId,roomId:Zr.roomId,message:Zr})})})()}Chat_Message_Offline(w){var B,te;let Ee=w[0],ze=w[1];if(!Ee||!ze)return;let{ceServer:Wt,tenantItem:yn}=null!==(B=this.getCEServer(ze))&&void 0!==B?B:{};!Wt||!yn||null===(te=Ee.items)||void 0===te||te.forEach(Bn=>{var Ln,Jn,ir;let Tr=q.assign({},Bn);Tr=this.commonService.processMessage(Tr,!1),Tr.sentAt=new Date(null!==(Ln=Tr.sendTime)&&void 0!==Ln?Ln:new Date),Tr.isUser=Tr.senderId==(null==Wt||null===(Jn=Wt.getLoginInfo(null!==(ir=null==yn?void 0:yn.tenantId)&&void 0!==ir?ir:""))||void 0===Jn||null===(Jn=Jn.user)||void 0===Jn?void 0:Jn.id),this.commonService.aiwowDB.addMessage(Tr),fn.co._messageChanged.next({type:fn.nq.add,tenantId:null==yn?void 0:yn.tenantId,roomId:Tr.roomId,message:Tr})})}Chat_Message_Confirm(w){var B,te,Ee,ze;let gt=w[0],Dt=w[1];if(!gt||!Dt)return;let{ceServer:Bn,tenantItem:Ln}=null!==(B=this.getCEServer(Dt))&&void 0!==B?B:{};if(!Bn||!Ln)return;let Jn=q.assign({},gt);Jn=this.commonService.processMessage(Jn,!1),Jn.sentAt=new Date(null!==(te=Jn.sendTime)&&void 0!==te?te:new Date),Jn.isUser=Jn.senderId==(null==Bn||null===(Ee=Bn.getLoginInfo(null!==(ze=null==Ln?void 0:Ln.tenantId)&&void 0!==ze?ze:""))||void 0===Ee||null===(Ee=Ee.user)||void 0===Ee?void 0:Ee.id),this.commonService.aiwowDB.addMessage(Jn),fn.co._messageChanged.next({type:fn.nq.confirm,tenantId:null==Ln?void 0:Ln.tenantId,roomId:Jn.roomId,message:Jn})}Chat_Notice(w){var B=this;return(0,T.A)(function*(){var te,Ee;let ze=w[0],gt=w[1];if(!ze||!gt)return;let{ceServer:yn,tenantItem:Bn}=null!==(te=B.getCEServer(gt))&&void 0!==te?te:{};if(yn&&Bn)switch(ze.code){case"Ce.Notice.ReadAndReceived":let Ln=ze.content,Jn=Ln.msgId,ir={roomId:Ln.roomId,id:Ln.msgId,readedNum:Ln.readedNum,sendNum:Ln.sendNum,receivedNum:Ln.receivedNum,countTime:Ln.countTime},Tr=yield B.commonService.aiwowDB.updateMessageFlag(Jn,ir);fn.co._messageChanged.next({type:fn.nq.updateRead,tenantId:null==Bn?void 0:Bn.tenantId,roomId:null!==(Ee=null==Tr?void 0:Tr.roomId)&&void 0!==Ee?Ee:"",message:Tr});break;case"Ce.Notice.AppointOnline":case"Ce.Notice.AppointOffline":case"Ce.Notice.RobotStop":{let Zr=ze.content;yn.fetchRoomAIStatus(null==Bn?void 0:Bn.tenantId,null==Zr?void 0:Zr.roomId);break}case"Ce.Notice.RobotService":{let Zr=ze.content;fn.co._roomAIStatusChanged.next({type:fn.Mi.aiServiced,tenantId:null==Bn?void 0:Bn.tenantId,roomId:null==Zr?void 0:Zr.roomId});break}}})()}}return(j=S).\u0275fac=function(w){return new(w||j)(o.KVO(Xn.J),o.KVO(Z.b),o.KVO(H.hf))},j.\u0275prov=o.jDH({token:j,factory:j.\u0275fac}),S})();var cd,Qp=f(75917);let gl=((cd=class{constructor(S,D,w,B,te,Ee,ze,gt,Dt,Wt,yn,Bn,Ln,Jn,ir,Tr){this.router=S,this.ngZone=D,this.route=w,this.commonService=B,this.cacheMService=te,this.cacheService=Ee,this.translate=ze,this.modelHelper=gt,this.settingService=Dt,this.log=Wt,this.cpService=yn,this.modalHelper=Bn,this.socketProcess=Ln,this.socketService=Jn,this.alertController=ir,this.xiffService=Tr,this.useInfo=!1,this._opt_onceToken="",this.onMessage=new o.bkB,this.onClose=new o.bkB,this.data={action:"service",id:"",tenantCode:"",fromTitle:"",from:"",device:"",showLog:!1},this.customData="default",this.destroy$=new lt.B,this._param=""}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngOnInit(){var S=this;return(0,T.A)(function*(){if(fn.co._roomChanged.subscribe(D=>{var w;D.type==fn.CA.close&&(self!==top?null===(w=window.top)||void 0===w||w.postMessage("closeChat","*"):window.close(),S.xiffService.closeWin(),S.onClose.emit())}),fn.co._messageChanged.subscribe(D=>{D.type===fn.nq.add&&S.onMessage.emit(D)}),/android/i.test(navigator.userAgent))if(/FBAN|FBAV|Instagram|Line/i.test(navigator.userAgent))(yield S.modalHelper.showConfirm2(S.translate.instant("Common.VoicePermissionFB"),S.translate.instant("Common.VoicePermissionFB2"),S.translate.instant("Common.UseDefaultB"),S.translate.instant("Common.HoldMe")))?window.location.href="intent://"+window.location.href.replace(/^https?:\/\//,"")+"#Intent;scheme=https;package=com.android.chrome;end;":S.commonService.useVoice=!1;else try{(yield navigator.mediaDevices.getUserMedia({audio:!0,video:!1}
1)).getTracks().forEach(B=>B.stop())}catch{S.modalHelper.showToast(S.translate.instant("Common.VoicePermission"))}S.initParams()})()}get Cap(){return ni.Ii}initParams(){if(!this.router.url.startsWith("/chatroom"))if(this.router.url.startsWith("/chat"))this.useInfo=!1,this.commonService.inModel=H.j0.url,this.route.queryParamMap.subscribe(S=>{this.log.info("/chat"+JSON.stringify(S)),this.initParms(S)});else if(this.router.url.startsWith("/roomone"))this.commonService.inModel=H.j0.url,this.useInfo=!0,this.route.queryParamMap.subscribe(S=>{this.log.info("/roomone queryParamMap"+JSON.stringify(S)),this.initParms(S)});else{if(!this.router.url.startsWith("/room"))return this.useInfo=!1,this.commonService.inModel=H.j0.embed,void this.processParams();this.commonService.inModel=H.j0.embed,setTimeout(()=>{this.useInfo=!1,this.commonService.inModel=H.j0.embed,this.processParams()},1e3)}}getQueryVariable(S,D){for(var B=S.substring(1).split("&"),te=0;te<B.length;te++){var Ee=B[te].split("=");if(Ee[0].toLowerCase()==D.toLowerCase())return Ee[1]}return!1}initParms(S){var D=this;return(0,T.A)(function*(){if(S.has("liff.state")){let w=S.get("liff.state")||"";q.isEmpty(w)||(D.data.action=D.getQueryVariable(w,"action")||"service",D.data.id=D.getQueryVariable(w,"id")||"",D.data.from=D.commonService.DecryptBase64(D.getQueryVariable(w,"from")||""),D.data.device=D.getQueryVariable(w,"fromdevice")||"",D.data.fromTitle=D.getQueryVariable(w,"fromtitle")||"",D.data.showLog="y"==(D.getQueryVariable(w,"showLog")||"n").toLowerCase(),D.data.tenantCode=D.getQueryVariable(w,"tenantcode")||S.get("tenantCode")||"",D.customData=D.getQueryVariable(w,"customdata")||"default")}else D.data.action=S.get("action")||"service",D.data.id=S.get("id")||"",D.data.from=D.commonService.DecryptBase64(S.get("from")||""),D.data.device=S.get("fromdevice")||S.get("fromDevice")||"",D.data.fromTitle=S.get("fromtitle")||S.get("fromTitle")||"",D.data.showLog="y"==(S.get("showlog")||S.get("showLog")||"n").toLowerCase(),D.data.tenantCode=S.get("tenantcode")||S.get("tenantCode")||"",D.customData=S.get("customdata")||S.get("customData")||"default";D.processParams()})()}processParams(){var S=this;return(0,T.A)(function*(){var D,w,B,te,Ee;if(S.log.debug("processParams",S.data),"service"!=S.data.action)return void S.modelHelper.showErrorToast(S.translate.instant("Common.InError3"));if(q.isEmpty(S.data.tenantCode))return void S.ngZone.run(()=>{S.modelHelper.showConfirm2(S.translate.instant("Common.tip"),S.translate.instant("Common.InError"),S.translate.instant("Common.InAiwow"),S.translate.instant("Common.Exit")).then(yn=>{yn?S.router.navigate(["/"]):window.close()})});let ze=yield S.cpService.getTenantItemByCodeAsync(S.data.tenantCode);if(q.isEmpty(ze))return void S.ngZone.run(()=>{S.modelHelper.showConfirm2(S.translate.instant("Common.tip"),S.translate.instant("Common.InError2"),S.translate.instant("Common.InAiwow"),S.translate.instant("Common.Exit")).then(yn=>{yn?S.router.navigate(["/"]):window.close()})});var gt,Dt;if(q.isEmpty(S.data.id)&&(S.data.id=null!==(gt=null===(Dt=ze.officialServiceNumberInfo)||void 0===Dt?void 0:Dt.id)&&void 0!==gt?gt:""),q.isEmpty(S.data.id))return void S.ngZone.run(()=>{S.modelHelper.showConfirm2(S.translate.instant("Common.tip"),S.translate.instant("Common.InError1"),S.translate.instant("Common.InAiwow"),S.translate.instant("Common.Exit")).then(yn=>{yn?S.router.navigate(["/"]):window.close()})});let Wt=yield S.cacheService.getItem("user");S.log.debug("get cacheLogin User ",Wt),null==S.commonService.logInUser&&(Wt?(S.commonService.logInUser=Wt,yield S.cpService.refreshToken()):(S.commonService.logInUser=de.v.anonymouseUser,S.commonService.aiwowDB.clearForLoginData())),yield null===(D=S.cpService.getCEServerByTenantId(ze.tenantId))||void 0===D?void 0:D.applyToken(ze),S.commonService.webChatCustomData=null!==(w=S.customData)&&void 0!==w?w:"default",S.commonService.loginDataForModelUrl={showExt:S.useInfo,openType:"sn",serviceNumberId:null!==(B=S.data.id)&&void 0!==B?B:"",tenantId:ze.tenantId},S.commonService.goto(["/chatroom"],{showExt:S.useInfo,openType:"sn",serviceNumberId:null!==(te=S.data.id)&&void 0!==te?te:"",tenantId:ze.tenantId}),null!==(Ee=S.data)&&void 0!==Ee&&Ee.showLog?(localStorage.debug="aiwow-app:* ",S.log.useVConsole()):localStorage.debug=1==S.settingService.app.useLog?"aiwow-app:*":""})()}initParmsFromCatch(){return new Promise((S,D)=>
1{this.cacheMService.getCacheItem("aileParams").then(w=>{this.data=w,this.log.info("get Params from catch and get:",this.data),S(!0)}).catch(w=>{S(!0)})})}}).\u0275fac=function(S){return new(S||cd)(o.rXU(C.Ix),o.rXU(o.SKi),o.rXU(C.nX),o.rXU(H.hf),o.rXU(Kn.F),o.rXU(x._),o.rXU(ae.c$),o.rXU(me.S),o.rXU(Yu.h),o.rXU(Xn.J),o.rXU(Z.b),o.rXU(me.S),o.rXU(Hd),o.rXU(Ic.L),o.rXU(E.hG),o.rXU(Qp.v))},cd.\u0275cmp=o.VBU({type:cd,selectors:[["app-chat-page"]],inputs:{data:"data",customData:"customData"},outputs:{onMessage:"onMessage",onClose:"onClose"},standalone:!0,features:[o.aNF],decls:2,vars:1,consts:[[1,"aiwow-page",3,"swipeGesture"]],template:function(S,D){1&S&&o.nrm(0,"app-room-loader")(1,"ion-router-outlet",0),2&S&&(o.R7$(),o.Y8G("swipeGesture",!0))},dependencies:[E.bv,E.Rg,Y.MD,fg],encapsulation:2,changeDetection:0}),cd);var fc;gl=(0,s.Cg)([h.$.RefWindow("chatPage")],gl);const Jp=["left"],Ih=j=>({selectItem:j}),fa=()=>({});function Vd(j,S){if(1&j&&(o.j41(0,"ng-sidebar",13)(1,"div",14)(2,"div",15),o.EFF(3),o.nI1(4,"translate"),o.k0s(),o.j41(5,"div",16),o.EFF(6),o.k0s()()()),2&j){const D=o.XpG();o.Y8G("animate",!0)("mode","over")("opened",D.bShowTitlePanel)("position","top")("sidebarClass","chartroom_title_panel"),o.R7$(3),o.Lme(" ",o.bMT(4,8,"Common.TenantName"),": ",D.tenantName," "),o.R7$(3),o.SpI(" ",D.roomDes," ")}}function Zp(j,S){if(1&j){const D=o.RV6();o.j41(0,"div",20),o.bIt("click",function(){const B=o.eBV(D).$implicit,te=o.XpG(2);return o.Njj(te.quickClick(B))}),o.EFF(1),o.k0s()}if(2&j){const D=S.$implicit;o.R7$(),o.SpI(" ",D.title," ")}}function em(j,S){if(1&j){const D=o.RV6();o.j41(0,"ng-sidebar",17,2),o.mxI("openedChange",function(B){o.eBV(D);const te=o.XpG();return o.DH7(te.bShowQuick,B)||(te.bShowQuick=B),o.Njj(B)}),o.j41(2,"div",18),o.DNE(3,Zp,2,1,"div",19),o.k0s()()}if(2&j){const D=o.XpG();o.R50("opened",D.bShowQuick),o.Y8G("mode","over")("position","bottom")("animate",!0)("sidebarClass","quickPanel "),o.R7$(3),o.Y8G("ngForOf",D.actionsQuickReplys)}}function tm(j,S){if(1&j){const D=o.RV6();o.j41(0,"ion-item",22),o.bIt("click",function(){const B=o.eBV(D).$implicit;return o.Njj(B.onClick())}),o.nrm(1,"ion-icon",23),o.j41(2,"ion-label",24)(3,"h3"),o.EFF(4),o.k0s(),o.j41(5,"p"),o.EFF(6),o.k0s()()()}if(2&j){const D=S.$implicit,w=S.index,B=o.XpG(2);o.Y8G("ngClass",o.eq3(4,Ih,B.isSpeedItemSelect(w))),o.R7$(),o.FS9("name",D.icon),o.R7$(3),o.JRh(D.cmd),o.R7$(2),o.JRh(D.text)}}function nm(j,S){if(1&j){const D=o.RV6();o.j41(0,"ng-sidebar",17,3),o.mxI("openedChange",function(B){o.eBV(D);const te=o.XpG();return o.DH7(te.bShowSpeed,B)||(te.bShowSpeed=B),o.Njj(B)}),o.j41(2,"ion-list"),o.DNE(3,tm,7,6,"ion-item",21),o.k0s()()}if(2&j){const D=o.XpG();o.R50("opened",D.bShowSpeed),o.Y8G("mode","over")("position","bottom")("animate",!0)("sidebarClass","speedPanel "),o.R7$(3),o.Y8G("ngForOf",D.speedData)}}function hg(j,S){if(1&j){const D=o.RV6();o.j41(0,"app-room-bottom",25),o.bIt("onInputBlur",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.onKeyboardHide(B))})("onInputForce",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.onKeyboardShow(B))})("onSpeedChanged",function(B){o.eBV(D);const te=o.XpG();return o.Njj(te.onSpeedChanged(B))}),o.k0s()}if(2&j){let D;const w=o.XpG();o.Y8G("roomInfo",null!==(D=w.roomInfo)&&void 0!==D?D:o.lJ4(3,fa))("snInfo",w.snInfo)("tenantInfo",w.tenantInfo)}}let bf=((fc=class{constructor(S,D,w,B,te,Ee,ze,gt,Dt,Wt,yn,Bn,Ln,Jn,ir,Tr,Zr,fi){var bi,Ai=this;this.el=S,this.ngZone=D,this.route=w,this._nav=B,this.platform=te,this.i18N=Ee,this.injector=ze,this.cpService=gt,this._cdr=Dt,this.commonService=Wt,this.socketService=yn,this.modalHelper=Bn,this.animationCtrl=Ln,this.logService=Jn,this.gestureCtrl=ir,this.settingService=Tr,this.titleService=Zr,this.sanitizer=fi,this.tenantId="",this.openType="sn",this.serviceNumberId="",this.roomId="",this.isLoading=!1,this.bShowExtFromParent=!1,this.bShowExt=!1,this.bShowSpeed=!1,this.extSize=70,this.bShowTitlePanel=!1,this.bShowQuick=!1,this.showInput=!0,this.actionsQuickReplys=[],this.speedData=[],this.defaultSpeedData=[{cmd:"/test1",text:"\u67e5\u770b\u5f53\u524dpushToken",
1icon:"airplane-outline",onClick:(bi=(0,T.A)(function*(){setTimeout(()=>{Ai.bShowSpeed=!1,Ai.modalHelper.showAlert("pushToken",Ai.socketService.pushToken),Ai._cdr.markForCheck()},1e3)}),function(){return bi.apply(this,arguments)})},{cmd:"/test2",text:"\u5f00/\u5173console",icon:"apps-outline",onClick:()=>{this.bShowSpeed=!1,this._cdr.markForCheck(),q.isEmpty(this.logService.vConsole)?(localStorage.debug="aiwow-app:* ",this.logService.useVConsole()):(localStorage.debug="",this.logService.closeVConsole()),this._cdr.markForCheck()}},{cmd:"/query",text:"\u67e5\u8a62\u6211\u7684\u6d88\u606f",icon:"bag-check-outline",onClick:()=>{this.bShowSpeed=!1,this._cdr.markForCheck()}}],this.destroy$=new lt.B,this.isPageTurnConfirmed=!1,this.hanmmerOP=!1,this.isBackActive=!1,this.isRightActive=!1,this.keyboardOpen=!1,this._speedIndex=0}handleKeyboardEvent(S){if("Escape"==S.key)if(this.commonService.inModel==H.j0.app)this.commonService.gotoBack();else{var D,w;fn.co._roomChanged.next({type:fn.CA.close,tenantId:this.tenantId,roomId:null!==(D=null===(w=this.roomInfo)||void 0===w?void 0:w.id)&&void 0!==D?D:""})}}todo(){this.modalHelper.showToast(this.i18N.instant("Common.Todo"))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.gesture&&(this.gesture.enable(!1),this.gesture.destroy(),this.gesture=void 0)}ngAfterViewInit(){this.commonService.isNative()&&(this.gesture=this.gestureCtrl.create({el:this.el.nativeElement,direction:"x",threshold:5,onStart:S=>this.onStartGesture(S),onMove:S=>this.onMoveGesture(S),onEnd:S=>this.onEndGesture(S),gestureName:"back-gesture"}),this.gesture.enable()),fn.co._roomAIStatusChanged.pipe((0,Cn.Q)(this.destroy$)).subscribe(S=>{var D;S.roomId==(null===(D=this.roomInfo)||void 0===D?void 0:D.id)&&this.roomStatusChanged(S.type==fn.Mi.aiServiced)})}onStartGesture(S){const{startX:w}=S;return w>60||null!=S.event.target.closest(".message_template_content")?(S.event.preventDefault(),void(this.isBackActive=!1)):(this.isBackActive=!0,void this._cdr.detectChanges())}onMoveGesture(S){const{deltaX:D}=S;if(this.isBackActive)return null!=S.event.target.closest(".message_template_content")?(S.event.preventDefault(),void(this.isBackActive=!1)):(this.isRightActive=D>0,void(this.isBackActive&&this.isRightActive?(this.leftDiv.nativeElement.style.boxShadow="inset 0 0 50px rgba(0,0,0,0.5);",this.leftDiv.nativeElement.style.backgroundColor="rgba(0,0,0,0.5)",this.leftDiv.nativeElement.style.borderBottomRightRadius="50%",this.leftDiv.nativeElement.style.borderTopRightRadius="50%",this.leftDiv.nativeElement.classList.add("flex"),this.leftDiv.nativeElement.classList.remove("hidden")):(this.leftDiv.nativeElement.classList.add("hidden"),S.event.preventDefault())));S.event.preventDefault()}onEndGesture(S){this.isBackActive&&this.isRightActive&&this.commonService.gotoBack(),this.isBackActive=!1,this.isRightActive=!1,this.leftDiv.nativeElement.classList.add("hidden"),this._cdr.detectChanges()}onStart(S){const{center:w}=S;return w.x>60||null!=S.target.closest(".message_template_content")?(S.preventDefault(),void(this.isBackActive=!1)):(this.isBackActive=!0,void this._cdr.detectChanges())}onMove(S){const{deltaX:D}=S;return this.isBackActive?null!=S.target.closest(".message_template_content")?(this.leftDiv.nativeElement.classList.add("hidden"),S.preventDefault(),void(this.isBackActive=!1)):(this.isRightActive=D>0,void(this.isBackActive&&this.isRightActive?(this.leftDiv.nativeElement.style.boxShadow="inset 0 0 50px rgba(0,0,0,0.5);",this.leftDiv.nativeElement.style.backgroundColor="rgba(0,0,0,0.5)",this.leftDiv.nativeElement.style.borderBottomRightRadius="50%",this.leftDiv.nativeElement.style.borderTopRightRadius="50%",this.leftDiv.nativeElement.classList.add("flex"),this.leftDiv.nativeElement.classList.remove("hidden")):(this.leftDiv.nativeElement.classList.add("hidden"),S.preventDefault()))):(this.leftDiv.nativeElement.classList.add("hidden"),void S.preventDefault())}onEnd(S){this.isBackActive&&this.isRightActive&&this.commonService.gotoBack(),this.isBackActive=!1,this.isRightActive=!1,this.leftDiv.nativeElement.classList.add("hidden"),this._cdr.detectChanges()}ngOnInit(){var S=this;return(0,T.A)(function*(){var D,w,B;
1let te=S.route.snapshot.queryParamMap;var Ee,ze;S.openType=null!==(D=te.get("openType"))&&void 0!==D?D:"sn",S.bShowExtFromParent="true"==te.get("showExt"),"sn"==S.openType&&(S.serviceNumberId=null!==(Ee=te.get("serviceNumberId"))&&void 0!==Ee?Ee:""),"chat"==S.openType&&(S.roomId=null!==(ze=te.get("roomId"))&&void 0!==ze?ze:""),S.tenantId=null!==(w=te.get("tenantId"))&&void 0!==w?w:"";let gt=null!==(B=te.get("tenantCode"))&&void 0!==B?B:"";var Dt,Wt;if(q.isEmpty(S.tenantId)&&(S.tenantInfo=yield S.cpService.getTenantItemByCode(gt),S.tenantId=null!==(Dt=null===(Wt=S.tenantInfo)||void 0===Wt?void 0:Wt.tenantId)&&void 0!==Dt?Dt:""),q.isEmpty(S.tenantId))return S.modalHelper.showToast(S.i18N.instant("Common.TenantNotFound")),void S.commonService.gotoBack();setTimeout(()=>{S.resize()},500),window.onresize=yn=>{S.resize()}})()}onSwipeRight(){this.commonService.gotoBack()}ionViewWillEnter(){var S=this;return(0,T.A)(function*(){var D,w,B,te,Ee,ze;S.isLoading=!0,S._cdr.markForCheck();try{if(S.tenantInfo=yield S.cpService.getTenantItemAsync(S.tenantId),q.isEmpty(S.tenantInfo)&&(S.modalHelper.showToast("tenantInfo not found"),S._nav.back()),S.isLoading=!0,S._cdr.markForCheck(),"sn"==S.openType){var gt,Dt,Wt,yn,Bn,Ln,Jn,ir,Tr,fi,Ai,Zr,bi,Mi,yi,Ei,uo,Do,jo,Vs,_s;if(S.snInfo=yield S.commonService.aiwowDB.getServiceNumber(null!==(gt=S.serviceNumberId)&&void 0!==gt?gt:""),q.isEmpty(S.snInfo)?S.snInfo=yield null===(ir=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===ir?void 0:ir.fetchServiceNumberInfo(S.tenantId,null!==(Tr=S.serviceNumberId)&&void 0!==Tr?Tr:""):setTimeout((0,T.A)(function*(){var zs,pa,wl,Tl;S.logService.debug(`sn \u8def\u7531\u9032\u5165--\x3e\u5ef6\u9072\u7372\u53d6\u670d\u52d9\u865f\u8cc7\u6599${null===(zs=S.roomInfo)||void 0===zs?void 0:zs.name} snId:${null===(pa=S.roomInfo)||void 0===pa?void 0:pa.serviceNumberId}`),S.snInfo=yield null===(wl=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===wl?void 0:wl.fetchServiceNumberInfo(S.tenantId,null!==(Tl=S.serviceNumberId)&&void 0!==Tl?Tl:"")}),1e3),S.logService.debug(`sn \u8def\u7531\u9032\u5165--\x3e${null===(Dt=S.roomInfo)||void 0===Dt?void 0:Dt.name} snId:${null===(Wt=S.roomInfo)||void 0===Wt?void 0:Wt.serviceNumberId}`),q.isEmpty(S.snInfo))return S.modalHelper.showToast("Service Number not found"),void S._nav.back();if(S.setTitle(null!==(yn=S.snInfo.name)&&void 0!==yn?yn:""),q.isEmpty(S.snInfo.serviceNumberAvatarUrl)?null===(fi=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===fi||fi.fetchAvatar(S.tenantId,null!==(Ai=S.snInfo.serviceNumberAvatarId)&&void 0!==Ai?Ai:"").then(zs=>{S.setFavicon(null!=zs?zs:"")}):S.setFavicon(null!==(Zr=S.snInfo.serviceNumberAvatarUrl)&&void 0!==Zr?Zr:""),S.roomInfo=yield S.commonService.aiwowDB.getChatRoom(null!==(Bn=S.snInfo.roomId)&&void 0!==Bn?Bn:""),q.isEmpty(S.roomInfo)&&(S.roomInfo=yield null===(bi=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===bi?void 0:bi.fetchChatRoomInfo(S.tenantId,null!==(Mi=S.snInfo.roomId)&&void 0!==Mi?Mi:"")),S.snInfo.roomId!=(null===(Ln=S.roomInfo)||void 0===Ln?void 0:Ln.id)&&(S.commonService.aiwowDB.removeRoom(null!==(yi=null===(Ei=S.roomInfo)||void 0===Ei?void 0:Ei.id)&&void 0!==yi?yi:""),S.roomInfo=yield null===(uo=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===uo?void 0:uo.fetchChatRoomInfo(S.tenantId,null!==(Do=null===(jo=S.snInfo)||void 0===jo?void 0:jo.roomId)&&void 0!==Do?Do:""),S.roomId=null!==(Vs=null===(_s=S.snInfo)||void 0===_s?void 0:_s.roomId)&&void 0!==Vs?Vs:""),q.isEmpty(S.roomInfo))return S.modalHelper.showToast("Chat Room not found"),void S._nav.back();S.titleService.setTitle(null!==(Jn=S.roomInfo.serviceNumberName)&&void 0!==Jn?Jn:"")}if("chat"==S.openType){var Aa,Qa,Ja,Li;if(S.roomInfo=yield S.commonService.aiwowDB.getChatRoom(S.roomId),q.isEmpty(S.roomInfo)&&(S.roomInfo=yield null===(Li=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===Li?void 0:Li.fetchChatRoomInfo(S.tenantId,S.roomId)),S.logService.debug(`chat \u8def\u7531\u9032\u5165--\x3e${null===(Aa=S.roomInfo)||void 0===Aa?void 0:Aa.name} snId:${null===(Qa=S.roomInfo)||void 0===Qa?void 0:Qa.serviceNumberId}`),q.isEmpty(S.roomInfo))return S.modalHelper.showToast("Chat Room not found"),void S._nav.back();if(S.setTitle(null!==(Ja=S.roomInfo.serviceNumberName)&&void 0!==Ja?Ja:""),S.roomInfo.threadType==qt.bF.serviceNumber){var Yi,Qi,Bo,Gs,Za,Ka,ha,Os,Fl,Sl,Da;if(S.snInfo=yield S.commonService.aiwowDB.getServiceNumber(null!==(Yi=S.roomInfo.serviceNumberId)&&void 0!==Yi?Yi:""),q.isEmpty(S.snInfo)?S.snInfo=yield null===(Gs=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===Gs?void 0:Gs.fetchServiceNumberInfo(S.tenantId,null!==(Za=S.roomInfo.serviceNumberId)&&void 0!==Za?Za:""):setTimeout((0,T.A)(function*(){var zs,pa,wl,Tl,Hu;S.logService.debug(`chat \u8def\u7531\u9032\u5165 \u5ef6\u9072\u7372\u53d6\u670d\u52d9\u865f\u4fe1\u606f--\x3e${null===(zs=S.roomInfo)||void 0===zs?void 0:zs.name} snId:${null===(pa=S.roomInfo)||void 0===pa?void 0:pa.serviceNumberId}`),S.snInfo=yield null===(wl=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===wl?void 0:wl.fetchServiceNumberInfo(S.tenantId,null!==(Tl=null===(Hu=S.roomInfo)||void 0===Hu?void 0:Hu.serviceNumberId)&&void 0!==Tl?Tl:"")}),1e3),(null===(Qi=S.snInfo)||void 0===Qi?void 0:Qi.roomId)!=S.roomInfo.id&&(S.commonService.aiwowDB.removeRoom(null!==(Ka=S.roomInfo.id)&&void 0!==Ka?Ka:""),S.roomInfo=yield null===(ha=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===ha?void 0:ha.fetchChatRoomInfo(S.tenantId,null!==(Os=null===(Fl=S.snInfo)||void 0===Fl?void 0:Fl.roomId)&&void 0!==Os?Os:""),S.roomId=null!==(Sl=null===(Da=S.snInfo)||void 0===Da?void 0:Da.roomId)&&void 0!==Sl?Sl:""),q.isEmpty(S.snInfo))return S.modalHelper.showToast("Service Number not found"),void S._nav.back();S.setTitle(null!==(Bo=S.snInfo.name)&&void 0!==Bo?Bo:"")}}}catch{S._nav.back()}null===(D=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===D||D.fetchRoomAIStatus(S.tenantId,null!==(w=null===(B=S.roomInfo)||void 0===B?void 0:B.id)&&void 0!==w?w:""),null===(te=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===te||te.switchTenant(S.tenantId,null!==(Ee=null===(ze=S.roomInfo)||void 0===ze?void 0:ze.id)&&void 0!==Ee?Ee:""),S.isLoading=!1,setTimeout(()=>{fr.getStickService(S.injector,S.tenantInfo)},1e3),S.isLoading=!1,S._cdr.markForCheck()})()}setTitle(S){this.isEmbed||this.commonService.isUrl&&this.titleService.setTitle(S)}setFavicon(S){if(this.commonService.isUrl){let D=document.querySelector('link[rel="icon"]');D&&(D.href=null!=S?S:"favicon.ico")}}resize(){this.bShowExtFromParent?this.ngZone.run(()=>{this.bShowExt=!(window.innerWidth<768),this._cdr.markForCheck()}):this.bShowExt=!1}get hasBusinessCardURL(){var S,D;return!q.isEmpty(null!==(S=null===(D=this.snInfo)||void 0===D?void 0:D.businessCardURL)&&void 0!==S?S:"")}onClose(){var S,D;fn.co._roomChanged.next({type:fn.CA.close,tenantId:this.tenantId,roomId:null!==(S=null===(D=this.roomInfo)||void 0===D?void 0:D.id)&&void 0!==S?S:""})}get tenantName(){var S,D;return null!==(S=null===(D=this.tenantInfo)||void 0===D?void 0:D.tenantName)&&void 0!==S?S:""}onTitleClick(){}get roomDes(){var S,D;return null!==(S=null===(D=this.snInfo)||void 0===D?void 0:D.description)&&void 0!==S?S:""}clearNotReadTag(){var S,D;(null!==(S=null===(D=this.roomInfo)||void 0===D?void 0:D.unReadNum)&&void 0!==S?S:0)>0&&this.roomBody.clearUnReadTag()}onKeyboardShow(S){this.clearNotReadTag(),this.keyboardOpen=!0}onKeyboardHide(S){this.keyboardOpen=!1}onSpeedChanged(S){"onOpen"==S.action&&(this.speedData=this.defaultSpeedData,this._speedIndex=0,this.bShowSpeed=!0),"onSelect"==S.action&&(console.log("onSelect",S.data),this.speedData=this.defaultSpeedData.filter(D=>
1D.cmd.startsWith("/"+S.data)),this._speedIndex=0),("onClose"==S.action||"onEscDiv"==S.action)&&(this.bShowSpeed=!1),"onChecked"==S.action&&(this.speedItemClick(this._speedIndex),this.bShowSpeed=!1),("onUpItem"==S.action||"onLeftItem"==S.action)&&(this._speedIndex--,this._speedIndex<0&&(this._speedIndex=this.speedData.length-1)),("onDownItem"==S.action||"onRightItem"==S.action)&&(this._speedIndex++,this._speedIndex>this.speedData.length-1&&(this._speedIndex=0)),this._cdr.markForCheck()}isSpeedItemSelect(S){return this._speedIndex==S}speedItemClick(S){var D;this._speedIndex=S,null===(D=this.speedData[this._speedIndex])||void 0===D||D.onClick(),this.bShowSpeed=!1}sendTemplateMessage(){var S=this;return(0,T.A)(function*(){var D;q.isEmpty(S.roomInfo)||null===(D=S.cpService.getCEServerByTenantId(S.tenantId))||void 0===D||D.sendMessageTemplate(S.tenantId,de.v.uuid(),S.roomInfo,JSON.stringify({orientation:"Vertical",text:"\u6d4b\u8bd5\u5361\u7247\u6d88\u606f",title:"\u6d4b\u8bd5\u5361\u7247\u6d88\u606f",imageUrl:"https://zhucl.oss-cn-shanghai.aliyuncs.com/ailepoint/ap.jpg",defaultAction:{label:"\u6d4b\u8bd5",type:"aiff",url:"https://www.google.com"},type:"buttons",actions:[{label:"\u6d4b\u8bd5\u6309\u94ae1",type:"aiff",url:"https://www.google.com"},{label:"\u6d4b\u8bd5\u6309\u94ae2",type:"url",url:"https://www.google.com"}]}))})()}get isEmbed(){return this.commonService.isUrl&&self!=top?this.commonService.webChatFunction.useRounded:this.commonService.inModel==H.j0.embed}quickClick(S){var D,w,B,te,Ee,ze,gt,Dt,Wt;null===(D=this.cpService.getCEServerByTenantId(this.tenantId))||void 0===D||D.sendQuickReply(de.v.uuid(),null!==(w=null===(B=this.tenantInfo)||void 0===B?void 0:B.tenantId)&&void 0!==w?w:"",null!==(te=null===(Ee=this.roomInfo)||void 0===Ee?void 0:Ee.id)&&void 0!==te?te:"",S),this.roomInfo&&(null!==(ze=this.roomInfo.unReadNum)&&void 0!==ze?ze:0)>0&&(null===(gt=this.cpService.getCEServerByTenantId(this.tenantId))||void 0===gt||gt.readAllMessage(null!==(Dt=null===(Wt=this.tenantInfo)||void 0===Wt?void 0:Wt.tenantId)&&void 0!==Dt?Dt:"",this.roomInfo),this.roomInfo.unReadNum=0)}quickReplyChanged(S){this.bShowQuick=S.show,this.actionsQuickReplys=S.items,this._cdr.markForCheck()}roomStatusChanged(S){this.showInput=!this.commonService.webChatFunction.notShowInputWhenAiServiced||!S,this._cdr.markForCheck()}}).\u0275fac=function(S){return new(S||fc)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(C.nX),o.rXU(a.q9),o.rXU(a.OD),o.rXU(ae.c$),o.rXU(o.zZn),o.rXU(Z.b),o.rXU(o.gRc),o.rXU(H.hf),o.rXU(Ic.L),o.rXU(me.S),o.rXU(E.Hx),o.rXU(Xn.J),o.rXU(E.wH),o.rXU(Yu.h),o.rXU(c.hE),o.rXU(c.up))},fc.\u0275cmp=o.VBU({type:fc,selectors:[["app-chat-room-app"]],viewQuery:function(S,D){if(1&S&&(o.GBs(Ce,5),o.GBs(Jp,5)),2&S){let w;o.mGM(w=o.lsd())&&(D.roomBody=w.first),o.mGM(w=o.lsd())&&(D.leftDiv=w.first)}},hostBindings:function(S,D){1&S&&o.bIt("keydown",function(B){return D.handleKeyboardEvent(B)},!1,o.EBC)},inputs:{tenantId:"tenantId",serviceNumberId:"serviceNumberId"},standalone:!0,features:[o.aNF],decls:15,vars:13,consts:[["left",""],["chatbody",""],["btnQuick",""],["btnSpeed",""],[1,"chat-room","h-full","flex","flex-col"],[1,"h-full","absolute","left-0","top-0","bottom-0","w-12","z-50","hidden","text-white","items-center","justify-center"],[3,"onClose","onTitleClick","roomInfo","snInfo","tenantInfo"],[1,"flex-1","w-full","h-full","border-b","border-room_border"],[3,"animate","mode","opened","position","sidebarClass",4,"ngIf"],[3,"opened","mode","position","animate","sidebarClass","openedChange",4,"ngIf"],["ng-sidebar-content","",1,"flex","h-full","flex-col","relative",3,"click"],[3,"onQuickReplyChanged","roomInfo","snInfo","tenantInfo"],["class","flex-none",3,"roomInfo","snInfo","tenantInfo","onInputBlur","onInputForce","onSpeedChanged",4,"ngIf"],[3,"animate","mode","opened","position","sidebarClass"],[1,"w-full","rounded-bl-xl","rounded-br-xl","shadow-lg","flex","flex-col","p-3","bg-colors-nav","text-white"],[1,"text-base"],[1,"text-base","pt-2"],[3,"openedChange","opened","mode","position","animate","sidebarClass"],[1,"flex","items-center","gap-2","p-2","whitespace-nowrap","overflow-x-auto","overflow-y-hidden","h-8"],["class","border rounded-2xl text-base cursor-default text-white bg-colors-quickbg px-2",3,"click",4,"ngFor","ngForOf"],[1,"border","rounded-2xl","text-base","cursor-default","text-white","bg-colors-quickbg","px-2",3,"click"],["button","","detail","false","color","medium",3,"ngClass","click",4,"ngFor","ngForOf"],["button","","detail","false","color","medium",3,"click","ngClass"],["aria-hidden","true","slot","start",3,"name"],[1,"ml-2"],[1,"flex-none",3,"onInputBlur","onInputForce","onSpeedChanged","roomInfo","snInfo","tenantInfo"]],template:function(S,D){if(1&S){const w=o.RV6();o.j41(0,"div",4)(1,"div",5,0),o.EFF(3),o.nI1(4,"translate"),o.k0s(),o.j41(5,"app-room-header",6),o.bIt("onClose",function(){return o.eBV(w),o.Njj(D.onClose())})("onTitleClick",function(){return o.eBV(w),o.Njj(D.onTitleClick())}),o.k0s(),o.nrm(6,"net-error-tip"),o.j41(7,"ng-sidebar-container",7,
11),o.DNE(9,Vd,7,10,"ng-sidebar",8)(10,em,4,6,"ng-sidebar",9)(11,nm,4,6,"ng-sidebar",9),o.j41(12,"div",10),o.bIt("click",function(){return o.eBV(w),o.Njj(D.clearNotReadTag())}),o.j41(13,"app-room-body",11),o.bIt("onQuickReplyChanged",function(te){return o.eBV(w),o.Njj(D.quickReplyChanged(te))}),o.k0s()()(),o.DNE(14,hg,1,4,"app-room-bottom",12),o.k0s()}2&S&&(o.R7$(3),o.SpI(" ",o.bMT(4,11,"Common.Left")," "),o.R7$(2),o.Y8G("roomInfo",D.roomInfo)("snInfo",D.snInfo)("tenantInfo",D.tenantInfo),o.R7$(4),o.Y8G("ngIf",D.bShowTitlePanel),o.R7$(),o.Y8G("ngIf",D.bShowQuick),o.R7$(),o.Y8G("ngIf",D.bShowSpeed),o.R7$(2),o.Y8G("roomInfo",D.roomInfo)("snInfo",D.snInfo)("tenantInfo",D.tenantInfo),o.R7$(),o.Y8G("ngIf",D.showInput))},dependencies:[E.bv,E.iq,E.uz,E.he,E.nf,Y.MD,Y.YU,Y.Sq,Y.bT,It,Ce,Dc,bn,dc,Tu,wh,ae.h,ae.D9,od.w],styles:['@charset "UTF-8";.fixed-layout[_ngcontent-%COMP%]{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:9999}'],changeDetection:0}),fc);bf=(0,s.Cg)([h.$.RefWindow("ChatRoomApp")],bf);const pg=[{path:"",redirectTo:"/app",pathMatch:"full"},{path:"login",loadChildren:()=>f.e(8952).then(f.bind(f,98952)).then(j=>j.LoginModule)},{path:"app",loadChildren:()=>f.e(9749).then(f.bind(f,9749)).then(j=>j.TabsPageModule),canActivate:[ee]},{path:"chatroom",component:ld,canActivate:[ee]},{path:"chatroomapp",component:bf,canActivate:[ee]},{path:"welcome",loadChildren:()=>f.e(194).then(f.bind(f,50194)).then(j=>j.WelComeModule)},{path:"test",loadChildren:()=>f.e(3802).then(f.bind(f,43802)).then(j=>j.TestPageModule)},{path:"install",component:P},{path:"encode",component:Dh},{path:"roomone",component:gl},{path:"chat",component:gl},{path:"room",component:gl},{path:"call",component:Ki.U}];let Ef=(()=>{var j;class S{}return(j=S).\u0275fac=function(w){return new(w||j)},j.\u0275mod=o.$C({type:j}),j.\u0275inj=o.G2t({imports:[C.iI.forRoot(pg,{preloadingStrategy:C.Kp}),C.iI]}),S})();var rm=function(j){return j.Dark="DARK",j.Light="LIGHT",j.Default="DEFAULT",j}(rm||{});const Gd=(0,ni.F3)("StatusBar");let im=(()=>{var j;class S{constructor(){this._routeCache=new Map}deleteRouteSnapshot(w){"/"===w[0]&&(w=w.substring(1)),w=w.replace(/\//g,"_"),this._routeCache.has(w)&&this._routeCache.delete(w),this._waitDelete=w}shouldReuseRoute(w,B){return console.log("\u662f\u5426\u540c\u4e00\u4e2a\u8def\u7531",w,B,w.routeConfig===B.routeConfig&&JSON.stringify(w.params)===JSON.stringify(B.params)),w.routeConfig===B.routeConfig&&JSON.stringify(w.params)===JSON.stringify(B.params)}shouldDetach(w){return console.log("\u5141\u8bb8\u590d\u7528",w),!0}store(w,B){console.log("store",w);const te=this._getFullRouteUrl(w);this._waitDelete&&this._waitDelete===te?this._waitDelete=null:(console.log("\u7f13\u5b58\u8def\u7531",te,B),this._routeCache.set(te,B))}shouldAttach(w){const B=this._getFullRouteUrl(w);return window.console.log("\u662f\u5426\u5141\u8bb8\u8fd8\u539f\u8def\u7531\uff1a",B,this._routeCache.has(B)),this._routeCache.has(B)}retrieve(w){var B,te;const Ee=this._getFullRouteUrl(w);return console.log("\u4ece\u7f13\u5b58\u4e2d\u83b7\u53d6\u5feb\u7167",Ee,w,this._routeCache.has(Ee)&&null!==(B=this._routeCache.get(Ee))&&void 0!==B?B:null),this._routeCache.has(Ee)&&null!==(te=this._routeCache.get(Ee))&&void 0!==te?te:null}_getFullRouteUrl(w){return this._getFullRouteUrlPaths(w).filter(Boolean).join("/").replace(/\//g,"_")}_getFullRouteUrlPaths(w){const B=w.url.map(te=>te.path);return w.parent?[...this._getFullRouteUrlPaths(w.parent),...B]:B}}return(j=S).\u0275fac=function(w){return new(w||j)},j.\u0275prov=o.jDH({token:j,factory:j.\u0275fac}),S})();const zd=(0,ni.F3)("Keyboard"),Rh=(0,ni.F3)("App",{web:()=>f.e(9303).then(f.bind(f,39303)).then(j=>new j.AppWeb)}),sm=(0,ni.F3)("SplashScreen",{web:()=>f.e(4292).then(f.bind(f,24292)).then(j=>new j.SplashScreenWeb)}),am=(0,ni.F3)("ScreenOrientation",{web:()=>f.e(9061).then(f.bind(f,79061)).then(j=>new j.ScreenOrientationWeb)});var lm=f(80214),kh=f(19282),um=f(944);const Ff=(0,ni.F3)("Device",{web:()=>f.e(8622).then(f.bind(f,8622)).then(j=>new j.DeviceWeb)});let cm=(()=>{var j;class S{constructor(w,B){this.settings=w,this.commonService=B,this.audioElement=new Audio,this.initializeApp()}initializeApp(){}getDeviceInfo(){return(0,T.A)(function*(){const w=yield Ff.getInfo();console.log("Device Info:",JSON.stringify(w))})()}getBatteryInfo(){return(0,T.A)(function*(){const w=yield Ff.getBatteryInfo();console.log("Battery Info:",w.batteryLevel,w.isCharging)})()}getLanguageCode(){return(0,T.A)(function*(){const w=yield Ff.getLanguageCode();console.log("Language Code:",w.value)})()}getDeviceId(){return(0,T.A)(function*(){const w=yield Ff.getId();console.log("Device Id:",w.identifier)})()}}return(j=S).\u0275fac=function(w){return new(w||j)(o.KVO(Yu.h),o.KVO(H.hf))},j.\u0275prov=o.jDH({token:j,factory:j.\u0275fac,providedIn:"root"}),S})();var $d;const dm=j=>({"dark-theme":j});let Nh=(($d=class{get aiwowReuseStrategy(){return this.injector.get(im)}constructor(S,D,w,B,te,Ee,ze,gt,Dt,Wt,yn,Bn,Ln,Jn,ir,Tr){var Zr=this;this.swUpdate=S,this.logService=D,this.platform=w,this.modalHelp=B,this.router=te,this.injector=Ee,this.i18N=ze,this.commonService=gt,this.settingsService=Dt,this.cpService=Wt,this.socketService=yn,this.modalHelper=Bn,this.aiPoolService=Ln,this.processNewMessageService=Jn,this.translateService=ir,this.capSerivce=Tr,this.token="",this.dark=!1,this.lastBackTime=0,this.EXIT_TIMEOUT=2e3,this.setStatusBar=(0,T.A)(function*(){yield Gd.setStyle({style:rm.Light}
1),Zr.platform.is("ios")||(yield Gd.setBackgroundColor({color:"#ffffff"})),Gd.getInfo().then(fi=>{console.log(fi)}),yield Gd.show()}),this.initializeApp(),fn.co._themeChanged.subscribe(fi=>{this.dark=fi.dark,console.log(this.dark)})}ngOnInit(){var S=this;return(0,T.A)(function*(){S.commonService.inModel=H.j0.app,S.swUpdate.versionUpdates.subscribe(D=>{switch(D.type){case"VERSION_DETECTED":S.logService.info(`DownLoad Version: ${D.version.hash}`);break;case"VERSION_READY":S.logService.info(`Current app version: ${D.currentVersion.hash}`),S.logService.info(`New app version ready for use: ${D.latestVersion.hash}`),S.modalHelp.showConfirm1(S.translateService.instant("Common.newVersion"),S.translateService.instant("Common.updateNowInfo"),S.translateService.instant("Common.updateNow")).then(w=>{w&&window.location.reload()});break;case"VERSION_INSTALLATION_FAILED":S.logService.error(`Failed to install app version '${D.version.hash}': ${D.error}`)}})})()}setCssVariable(S,D){document.documentElement.style.setProperty(S,D)}initializeApp(){this.platform.ready().then(()=>{this.handleBackButton(),sm.hide(),this.platform.is("capacitor")&&(zd.setAccessoryBarVisible({isVisible:!1}),this.setupKeyboardListeners(),this.setStatusBar(),am.lock({orientation:"portrait"}))})}getToken(){}setupKeyboardListeners(){this.platform.is("ios")&&(zd.addListener("keyboardWillShow",S=>{this.setCssVariable("--keyboard-offset",S.keyboardHeight+"px"),document.body.classList.add("keyboard-open")}),zd.addListener("keyboardWillHide",()=>{this.setCssVariable("--keyboard-offset","0px"),document.body.classList.remove("keyboard-open")}))}handleBackButton(){Rh.addListener("backButton",({})=>{const D=(new Date).getTime();this.commonService.canBack()?this.commonService.gotoBack():D-this.lastBackTime<this.EXIT_TIMEOUT?Rh.exitApp():(this.showExitToast(),this.lastBackTime=D)})}showExitToast(){var S=this;return(0,T.A)(function*(){S.modalHelper.showToast("\u518d\u6309\u4e00\u6b21\u8fd4\u56de\u9375\u9000\u51fa\u61c9\u7528",{duration:2e3,position:"bottom"})})()}removeKeyboardListeners(){zd.removeAllListeners()}logout(){}}).\u0275fac=function(S){return new(S||$d)(o.rXU(lm.EI),o.rXU(Xn.J),o.rXU(a.OD),o.rXU(me.S),o.rXU(C.Ix),o.rXU(o.zZn),o.rXU(kh.W),o.rXU(H.hf),o.rXU(Yu.h),o.rXU(Z.b),o.rXU(Ic.L),o.rXU(me.S),o.rXU(um.U),o.rXU(Hd),o.rXU(ae.c$),o.rXU(cm))},$d.\u0275cmp=o.VBU({type:$d,selectors:[["app-aiwow-root"]],decls:2,vars:3,consts:[[3,"ngClass"],[1,"aiwow-page"]],template:function(S,D){1&S&&(o.j41(0,"ion-app",0),o.nrm(1,"ion-router-outlet",1),o.k0s()),2&S&&o.Y8G("ngClass",o.eq3(1,dm,D.dark))},dependencies:[Y.YU,E.U1,E.Rg],encapsulation:2}),$d);Nh=(0,s.Cg)([h.$.RefWindow("aiwow")],Nh);const Sf=new o.nKC("STORAGE_CONFIG_TOKEN");class gg extends u.w{constructor(){super()}create(){var S=this;return(0,T.A)(function*(){return S})()}defineDriver(){return(0,T.A)(function*(){})()}get driver(){return"noop"}get(S){return(0,T.A)(function*(){return null})()}set(S,D){return(0,T.A)(function*(){})()}remove(S){return(0,T.A)(function*(){})()}clear(){return(0,T.A)(function*(){})()}length(){return(0,T.A)(function*(){return 0})()}keys(){return(0,T.A)(function*(){return[]})()}forEach(S){return(0,T.A)(function*(){})()}setEncryptionKey(S){}}function vg(j,S){return(0,Y.Vy)(j)?new gg:new u.w(S)}let fm=(()=>{class j{static forRoot(D=null){return{ngModule:j,providers:[{provide:Sf,useValue:D},{provide:u.w,useFactory:vg,deps:[o.Agw,Sf]}]}}}return j.\u0275fac=function(D){return new(D||j)},j.\u0275mod=o.$C({type:j}),j.\u0275inj=o.G2t({}),j})();var Oh=f(94577),hc=f(21626),pc=f(35055),Ph=f.n(pc);function Wd(j,S){return S.reduce((D,w)=>{const B=j.lastIndexOf(w);return B>D.mentionCharIndex?{mentionChar:w,mentionCharIndex:B}:{mentionChar:D.mentionChar,mentionCharIndex:D.mentionCharIndex}},{mentionChar:null,mentionCharIndex:-1})}function Kd(j,S){return S.test(j)}function xh(j,S,D){return j>-1&&!(D&&0!==j&&!S[j-1].match(/\s/g))}const yg=class wf{constructor(S,D){this.isOpen=!1,this.itemIndex=0,this.mentionCharPos=0,this.cursorPos=0,this.suspendMouseEnter=!1,this.isFirst=!1,this.notClose=!1,this.isOpen=!1,this.itemIndex=0,this.mentionCharPos=0,this.quill=S,this.options={source:null,renderItem:w=>`${w.value}
1`,mentionDenotationChars:["@"],showDenotationChar:!0,allowedChars:/^[a-zA-Z0-9_]*$/,minChars:0,maxChars:31,offsetTop:2,offsetLeft:0,isolateCharacter:!1,fixMentionsToQuill:!1,defaultMenuOrientation:"bottom",dataAttributes:["id","value","denotationChar","link","target"],linkTarget:"_blank",onOpen:()=>!0,onClose:()=>!0,listItemClass:"ql-mention-list-item",mentionContainerClass:"ql-mention-list-container",mentionListClass:"ql-mention-list",spaceAfterInsert:!0},Object.assign(this.options,D,{dataAttributes:Array.isArray(D.dataAttributes)?this.options.dataAttributes.concat(D.dataAttributes):this.options.dataAttributes}),S.on("text-change",this.onTextChange.bind(this)),S.on("selection-change",this.onSelectionChange.bind(this)),S.keyboard.addBinding({key:9},this.checkHandler.bind(this)),S.keyboard.bindings[9].unshift(S.keyboard.bindings[9].pop()),S.keyboard.addBinding({key:13},this.checkHandler.bind(this)),S.keyboard.bindings[13].unshift(S.keyboard.bindings[13].pop()),S.keyboard.addBinding({key:27},this.escapeHandler.bind(this)),S.keyboard.addBinding({key:38},this.upHandler.bind(this)),S.keyboard.addBinding({key:37},this.leftHandler.bind(this)),S.keyboard.addBinding({key:39},this.rightHandler.bind(this)),S.keyboard.addBinding({key:40},this.downHandler.bind(this))}checkHandler(){return!this.isOpen||(this.checkItem(),!1)}selectHandler(){return!this.isOpen||(this.selectItem(),!1)}escapeHandler(){return!this.isOpen||(this.options.escDiv(),!1)}upHandler(){return!this.isOpen||(this.options.upItem(),!1)}downHandler(){return!this.isOpen||(this.options.downItem(),!1)}leftHandler(){return!this.isOpen||(this.options.leftItem(),!1)}rightHandler(){return!this.isOpen||(this.options.rightItem(),!1)}showMentionList(){this.isFirst=!0,this.notClose=!0,this.setIsOpen(!0)}hideMentionList(){this.notClose=!1,this.setIsOpen(!1)}highlightItem(S=!0){}getItemData(){return{}}onContainerMouseMove(){this.suspendMouseEnter=!1}checkItem(){this.notClose=!0,this.options.onChecked(S=>{this.insertItemBeforeAt(S)})}selectItem(){this.options.onSelect(S=>{this.insertItem(S)}),this.hideMentionList()}insertItemBeforeAt(S){const D=S;if(null===D)return;this.options.showDenotationChar||(D.denotationChar="");const w=this.mentionCharPos;this.isFirst&&this.quill.deleteText(this.mentionCharPos,this.cursorPos-this.mentionCharPos,"silent"),this.isFirst=!1,this.quill.insertEmbed(w,"mention",D,"silent"),this.options.spaceAfterInsert?(this.quill.insertText(w+1," ","silent"),this.quill.setSelection(w+2,"silent")):this.quill.setSelection(w+1,"silent"),this.reSetPos(this.quill.getSelection())}insertItem(S){const D=S;var w;null!==D&&(this.options.showDenotationChar||(D.denotationChar=""),w=this.mentionCharPos,this.quill.deleteText(this.mentionCharPos,this.cursorPos-this.mentionCharPos,"user"),this.quill.insertEmbed(w,"mention",D,"user"),this.options.spaceAfterInsert?(this.quill.insertText(w+1," ","user"),this.quill.setSelection(w+2,"user")):this.quill.setSelection(w+1,"user"),this.hideMentionList())}renderList(S,D,w){D&&(null==D?void 0:D.length)>0?(this.itemIndex=0,this.highlightItem(),this.showMentionList()):this.hideMentionList()}setIsOpen(S){this.isOpen!==S&&(S?this.options.onOpen():this.options.onClose(),this.isOpen=S)}getTextBeforeCursor(){const S=Math.max(0,this.cursorPos-this.options.maxChars);return this.quill.getText(S,this.cursorPos-S)}reSetPos(S){if(null==S)return;this.cursorPos=S.index;const D=this.getTextBeforeCursor(),{mentionChar:w,mentionCharIndex:B}=Wd(D,this.options.mentionDenotationChars);xh(B,D,this.options.isolateCharacter)?(this.mentionCharPos=this.cursorPos-((null==D?void 0:D.length)-B),D.substring(B+(null==w?void 0:w.length))):this.mentionCharPos=this.cursorPos}onSomethingChange(){const S=this.quill.getSelection();if(null==S)return;this.cursorPos=S.index;const D=this.getTextBeforeCursor(),{mentionChar:w,mentionCharIndex:B}=Wd(D,this.options.mentionDenotationChars);if(xh(B,D,this.options.isolateCharacter)){this.mentionCharPos=this.cursorPos-((null==D?void 0:D.length)-B);const Ee=D.substring(B+(null==w?void 0:w.length));(null==Ee?void 0:Ee.length)>=this.options.minChars&&Kd(Ee,this.options.allowedChars)?this.options.source(Ee,this.renderList.bind(this,w),w):this.hideMentionList()}else this.hideMentionList()}onTextChange(S,D,w){"user"===w&&this.onSomethingChange()}onSelectionChange(S,D,w){S&&0===(null==S?void 0:S.length)?(this.notClose=!1,this.onSomethingChange()):(setTimeout(()=>{this.notClose||this.hideMentionList()}),this.reSetPos(D))}},_g=Ph().import("modules/clipboard"),bg=Ph().import("delta"),f1=class d1 extends _g{onPaste(S){console.log("onPaste"),S.preventDefault();let D=null,w=S.clipboardData.items;for(const te of w)0===te.type.indexOf("image")&&(D=te.getAsFile());const B=S.clipboardData.getData("text/plain");if(""!=B){let te=this.quill.getSelection();if(null==te)return;const Ee=(new bg).retain(te.index).delete(null==te?void 0:te.length).insert(B),ze=(null==B?void 0:B.length)+te.index,gt=0;this.quill.updateContents(Ee,"silent"),this.quill.setSelection(ze,gt,"silent"),this.quill.scrollIntoView(),this.options.onPaste(B)}else null!=D&&this.options.onImage(D)}},Eg=class Tf{constructor(S,D){this.isOpen=!1,this.itemIndex=0,this.mentionCharPos=0,this.cursorPos=0,this.suspendMouseEnter=!1,this.isFirst=!1,this.notClose=!1,this.isOpen=!1,this.itemIndex=0,this.mentionCharPos=0,this.quill=S,this.options={source:null,renderItem:w=>`${w.value}
1`,mentionDenotationChars:["#"],showDenotationChar:!0,allowedChars:/^[a-zA-Z0-9_]*$/,minChars:0,maxChars:31,offsetTop:2,offsetLeft:0,isolateCharacter:!1,fixMentionsToQuill:!1,defaultMenuOrientation:"bottom",dataAttributes:["id","value","denotationChar","link","target"],linkTarget:"_blank",onOpen:()=>!0,onClose:()=>!0,listItemClass:"ql-speed-input-list-item",mentionContainerClass:"ql-speed-input-list-container",mentionListClass:"ql-speed-input-list",spaceAfterInsert:!0},Object.assign(this.options,D,{dataAttributes:Array.isArray(D.dataAttributes)?this.options.dataAttributes.concat(D.dataAttributes):this.options.dataAttributes}),S.on("text-change",this.onTextChange.bind(this)),S.on("selection-change",this.onSelectionChange.bind(this)),S.keyboard.addBinding({key:9},this.checkHandler.bind(this)),S.keyboard.bindings[9].unshift(S.keyboard.bindings[9].pop()),S.keyboard.addBinding({key:13},this.checkHandler.bind(this)),S.keyboard.bindings[13].unshift(S.keyboard.bindings[13].pop()),S.keyboard.addBinding({key:27},this.escapeHandler.bind(this)),S.keyboard.addBinding({key:38},this.upHandler.bind(this)),S.keyboard.addBinding({key:37},this.leftHandler.bind(this)),S.keyboard.addBinding({key:39},this.rightHandler.bind(this)),S.keyboard.addBinding({key:40},this.downHandler.bind(this))}checkHandler(){return!this.isOpen||(this.checkItem(),!1)}selectHandler(){return!this.isOpen||(this.selectItem(),!1)}escapeHandler(){return!this.isOpen||(this.hideMentionList(),this.options.escDiv(),!1)}upHandler(){return!this.isOpen||(this.options.upItem(),!1)}downHandler(){return!this.isOpen||(this.options.downItem(),!1)}leftHandler(){return!this.isOpen||(this.options.leftItem(),!1)}rightHandler(){return!this.isOpen||(this.options.rightItem(),!1)}showMentionList(){this.isFirst=!0,this.notClose=!0,this.setIsOpen(!0)}hideMentionList(){this.notClose=!1,this.setIsOpen(!1)}highlightItem(S=!0){}getItemData(){return{}}onContainerMouseMove(){this.suspendMouseEnter=!1}checkItem(){this.notClose=!0,this.options.onChecked(S=>{this.insertItemBeforeAt(S)})}selectItem(){this.options.onSelect(S=>{this.insertItem(S)}),this.hideMentionList()}insertItemBeforeAt(S){const D=S;if(null===D)return;this.options.showDenotationChar||(D.denotationChar="");const w=this.mentionCharPos;this.isFirst&&this.quill.deleteText(this.mentionCharPos,this.cursorPos-this.mentionCharPos,"silent"),this.isFirst=!1,this.quill.insertText(w,D,"user"),this.quill.setSelection(this.options.spaceAfterInsert?w+(null==D?void 0:D.length):w+1,"silent"),this.reSetPos(this.quill.getSelection())}insertItem(S){const D=S;if(null===D)return;this.options.showDenotationChar||(D.denotationChar="");const w=this.mentionCharPos;this.quill.deleteText(this.mentionCharPos,this.cursorPos-this.mentionCharPos,"user"),this.quill.insertText(w,D,"user"),this.quill.setSelection(this.options.spaceAfterInsert?w+(null==D?void 0:D.length):w+1,"user"),this.hideMentionList()}renderList(S,D,w){D&&(null==D?void 0:D.length)>0?(this.itemIndex=0,this.highlightItem(),this.showMentionList()):this.hideMentionList()}setIsOpen(S){this.isOpen!==S&&(S?this.options.onOpen():this.options.onClose(),this.isOpen=S)}getTextBeforeCursor(){const S=Math.max(0,this.cursorPos-this.options.maxChars);return this.quill.getText(S,this.cursorPos-S)}reSetPos(S){if(null==S)return;this.cursorPos=S.index;const D=this.getTextBeforeCursor(),{mentionChar:w,mentionCharIndex:B}=Wd(D,this.options.mentionDenotationChars);xh(B,D,this.options.isolateCharacter)?(this.mentionCharPos=this.cursorPos-((null==D?void 0:D.length)-B),D.substring(B+(null==w?void 0:w.length))):this.mentionCharPos=this.cursorPos}onSomethingChange(){const S=this.quill.getSelection();if(null==S)return;this.cursorPos=S.index;const D=this.getTextBeforeCursor(),{mentionChar:w,mentionCharIndex:B}=Wd(D,this.options.mentionDenotationChars);if(xh(B,D,this.options.isolateCharacter)){this.mentionCharPos=this.cursorPos-((null==D?void 0:D.length)-B);const Ee=D.substring(B+(null==w?void 0:w.length));(null==Ee?void 0:Ee.length)>=this.options.minChars&&Kd(Ee,this.options.allowedChars)?this.options.source(Ee,this.renderList.bind(this,w),w):this.hideMentionList()}else this.hideMentionList()}onTextChange(S,D,w){"user"===w&&this.onSomethingChange()}onSelectionChange(S,D,w){S&&0===(null==S?void 0:S.length)?(this.notClose=!1,this.onSomethingChange()):(setTimeout(()=>{this.notClose||this.hideMentionList()}),this.reSetPos(D))}},Mh=JSON.parse('{"Common":{"chatList":"chatroom","About":"about","AboutInfo":"AiWow your exclusive customer service application","AboutTitle":"about...","AboutVersion":"AiWow app.version:","CallDur":"Call time","CallEnd":"Voice calls","CallStart":"Start a voice call","CallUnConnect":"Call not connected","CancelVoice":"Click here to cancel recording","Cannel":"Cancel download","Close":"closure","DownLoad":"download","DownStick":"Come and download the stickers now","Downing":"downloading","Download":"download","Exit":"leave","FileDownCancel":"File download canceled","FileDownError":"File download failed, please try again later","FileError":"File download failed.","FileIsUp":"The file is being uploaded, please wait.","GetVoiceDeviceError":"Failed to obtain recording device","ImageShowError":"Image display failed","InAiwow":"Enter the login page","InError":"Failed to open the specified chat room due to incorrect parameters.","InError2":"Tenant information not found, please confirm.","InError3":"This method of opening is not supported, please confirm.","LastMsgCall":"call","LastMsgDelete":"Message deleted","
1LastMsgFile":"File: {{name}}","LastMsgImage":"Picture message","LastMsgMeReturnMessage":"You have recycled the message","LastMsgStick":"stickers","LastMsgVoice":"recording","LastMsgYouReturnMessage1":"The other party has withdrawn the message","LastMsgYouReturnMessage2":"{{name}} has retracted the message","LastTemplate":"card message","LoadImageError":"Image download failed.","Login":"log in","LoginIng":"logging in...","Logout":"Sign out","MakeCallWhenRecording":"Currently sending voice, please try again later.","MessageResend":"The message has been resent.","MessageResendNotSupport":"This message does not support resending.","MessageView":"Preview","NoSuportVideo":"The video format is not supported.","NotSupport":"Display of this message is not supported yet","OK":"Sure","PlayError":"Failed to play the recording file.","PleaseInputContent":"Enter to send, Shift Enter to wrap","ReDownImage":"Retry","ReMessageNoSupVoice":"The reply function currently does not support replying to voice messages.","RoomFileLimit":"The file size you selected exceeds the limit (maximum {{size}}MB","SendOTP":"Verification code is being sent...","SendReView":"Send preview","SendSuccess":"Verification code has been resent.","SnedVoiceWhenCalling":"Currently on a call, please try again later.","TenantName":"Company Name","TenantNotFound":"No tenant information was obtained.","Todo":"This feature will be available soon","VoiceLimit":"The maximum recording time is 2 minutes","VoicePermission":"No recording permission","alogin":"Log in anonymously","attr":"appendix","call":"call","exit":"Sure","forceLogout":"Logged out","forceLogoutMsg":"Your account is logged in elsewhere and you are forced to log out on this page.","inputPH":"please enter your phone number","ivtBtn":"Start Aiwow","ivtDesc":"Dedicated customer data platform","ivtTxt":"Invite you to use AiWow system","join":"join in","mypage":"mine","noMoreMessage":"no more news","notice":"Notification management","reSend":"Resend","relogin":"log in again","rememberme":"remember me","review":"Preview","setting":"settings","tenantList":"Business List","test":"test2","tip":"hint","unreadTag":"Unread below","unreadtop":"new messages","viewCard":"electronic name card","CameraPermission":"Please grant access to the image","CancelSendTxt":"Cancel sending","CheckAgree":"Please review the license agreement and check \\"Read\\" before registering","FileDownSuccess":"Successfully saved to My Documents.","GetVerificationCode":"Get verification code","HoldMe":"continue","IRead":"Register and become an Aile member at the same time, subject to your consent.","InError1":"Failed to open the specified chat room due to incorrect parameters.","InputCheckCode":"SMS verification code","InputName":"Please enter your name (2 to 20 characters)","Left":"return","ListEmptyInfo":"The content is empty, please switch to the enterprise list tab below, query the enterprise and open the chat room to chat.","PhoneEmpty":"Please enter your mobile phone number.","RegBtn":"send out","RegisterSuccess":"Registration is successful and you will be logged in automatically.","STT":"speech to text","SendOTPFaild":"[{{no}}]Failed to send verification code.","SendOTPSuccess":"The verification code has been successfully sent to [{{no}}], please check it carefully.","SendTxt":"Send text","SendVoice":"Send voice","SendVoiceAndTxt":"Send voice and text","SendVoiceFail":"Failed to send recording.","UseDefaultB":"Open using default browser","VerifyOTPFaild":"The verification code is wrong, please re-enter it.","VoicePermission2":"The recording permission cannot be obtained in the current environment. Do you want to enable the default browser WebChat?","YS":"User Terms and Privacy Statement","aloginuse":"Use anonymously","info":"Notice","loginForMe":"Sign me in","netError":"The network is disconnected","netError2":"Please check your network connection.","newVersion":"Newer version found!","next":"Next article","previous":"Previous article","reg":"Registered user","return":"Return to login","startChat":"start a conversation","tip1":"Swipe the menu left to save the corresponding chat room","tip2":"Click to display the sidebar","tip3":"Enter keywords to query the list of tenants in the Aile ecosystem","tip4":"Swipe right on the item to collect the corresponding tenant","tipa":"You are currently accessing as an anonymous user. In order to obtain a complete functional experience, it is recommended that you log in to your account.","updateNow":"Update now","updateNowInfo":"Please update immediately if you find a new version."},"ap":{"about":"about","aboutContent":"Aiwow application.version:","account":"my account","afterphone":", please enter the SMS verification code below","beforephone":"Verification code sent to","beforotp":"Did not receive verification code, please click here","checkUpdate":"Update check command has been issued","checkup":"Check for updates","login":"log in","logout":"Sign out","logoutConfirm":"Logging out will remove all locally saved data. Are you sure you want to log out?","logouttip":"Logout prompt","resend":"Resend","tenantlist":"Business List","welcom":"Welcome to Aiwow","reginfo":"Please enter the fields below to register as a member"},"chatPage":{"paramError":"There is an error in entering parameters, please check and reopen."},"tag":{"sn":"Business"},"Notice":{"NotSupport":"Your browser does not support notifications.","Open":"Please enable notification permission so that you can receive the latest news.","OpenNotice":"Already turned on","OpenNotice2":"Cancel","title":"Notification tips"},"tenant":{"search":"Enter keywords to query tenants"}}'),Lh=JSON.parse('{"Common":{"About":"\u5173\u4e8e","AboutInfo":"AiWow \u60a8\u7684\u4e13\u5c5e\u5ba2\u670d\u5e94\u7528","AboutTitle":"\u5173\u4e8e...","AboutVersion":"AiWow \u5e94\u7528.\u7248\u672c:","CallDur":"\u901a\u8bdd\u65f6\u95f4","CallEnd":"\u8bed\u97f3\u901a\u8bdd","CallStart":"\u53d1\u8d77\u8bed\u97f3\u901a\u8bdd","CallUnConnect":"\u901a\u8bdd\u672a\u63a5\u901a","CancelVoice":"\u70b9\u51fb\u6b64\u5904\u53d6\u6d88\u5f55\u97f3","Cannel":"\u53d6\u6d88\u4e0b\u8f7d","Close":"\u5173\u95ed","DownLoad":"\u4e0b\u8f7d","DownStick":"\u5feb\u6765\u4e0b\u8f7d\u8d34\u56fe\u5427","Downing":"\u4e0b\u8f7d\u4e2d","Download":"\u4e0b\u8f7d","Exit":"\u79bb\u5f00","FileDownCancel":"\u6587\u4ef6\u5df2\u53d6\u6d88\u4e0b\u8f7d","FileDownError":"\u6587\u4ef6\u4e0b\u8f7d\u5931\u8d25\uff0c\u8bf7\u7a0d\u5019\u518d\u8bd5","FileError":"\u6587\u4ef6\u4e0b\u8f7d\u5931\u8d25.","FileIsUp":"\u6587\u4ef6\u6b63\u5728\u4e0a\u4f20\u4e2d,\u8bf7\u7a0d\u540e.","GetVoiceDeviceError":"\u83b7\u53d6\u5f55\u97f3\u88c5\u7f6e\u5931\u8d25","ImageShowError":"\u56fe\u7247\u663e\u793a\u5931\u8d25","InAiwow":"\u8fdb\u5165\u767b\u5165\u9875\u9762","InError":"\u5f00\u542f\u6307\u5b9a\u804a\u5929\u5ba4\u5f00\u542f\u5931\u8d25,\u53c2\u6570\u9519\u8bef.","InError2":"\u6ca1\u6709\u627e\u5230\u79df\u6237\u4fe1\u606f,\u8bf7\u786e\u8ba4.","InError3":"\u4e0d\u652f\u63f4\u8be5\u65b9\u5f0f\u5f00\u542f,\u8bf7\u786e\u8ba4.","LastMsgCall":"\u901a\u8bdd","LastMsgDelete":"\u8baf\u606f\u88ab\u5220\u9664","LastMsgFile":"\u6587\u4ef6\uff1a{{name}}","LastMsgImage":"\u56fe\u7247\u6d88\u606f","LastMsgMeReturnMessage":"\u60a8\u5df2\u56de\u6536\u8baf\u606f","LastMsgStick":"\u8d34\u56fe","LastMsgVoice":"\u5f55\u97f3","LastMsgYouReturnMessage1":"\u5bf9\u65b9\u5df2\u6536\u56de\u8baf\u606f","LastMsgYouReturnMessage2":"{{name}}\u5df2\u6536\u56de\u8baf\u606f","LastTemplate":"\u5361\u7247\u6d88\u606f","LoadImageError":"\u56fe\u7247\u4e0b\u8f7d\u5931\u8d25.","Login":"\u767b\u5f55","LoginIng":"\u6b63\u5728\u767b\u5f55...","Logout":"\u767b\u51fa","MakeCallWhenRecording":"\u5f53\u524d\u6b63\u5728\u53d1\u9001\u8bed\u97f3\u4e2d\uff0c\u8bf7\u7a0d\u5019\u518d\u8bd5","MessageResend":"\u6
1d88\u606f\u5df2\u7ecf\u91cd\u65b0\u53d1\u9001.","MessageResendNotSupport":"\u672c\u6d88\u606f\u4e0d\u652f\u63f4\u91cd\u53d1.","MessageView":"\u9884\u89c8","NoSuportVideo":"\u4e0d\u652f\u63f4\u8be5\u89c6\u9891\u683c\u5f0f.","NotSupport":"\u5c1a\u4e0d\u652f\u63f4\u8be5\u6d88\u606f\u663e\u793a","OK":"\u786e\u5b9a","PlayError":"\u5f55\u97f3\u6863\u6848\u64ad\u653e\u5931\u8d25.","PleaseInputContent":"Enter \u53d1\u9001, Shift Enter \u6362\u884c ","ReDownImage":"\u91cd\u8bd5","ReMessageNoSupVoice":"\u56de\u8986\u529f\u80fd\u76ee\u524d\u5c1a\u672a\u652f\u6301\u56de\u8986\u8bed\u97f3\u8baf\u606f","RoomFileLimit":"\u60a8\u9009\u62e9\u7684\u6863\u6848\u5927\u5c0f\u8d85\u8fc7\u9650\u5236(\u6700\u5927{{size}}MB","SendOTP":"\u9a8c\u8bc1\u7801\u53d1\u9001\u4e2d...","SendReView":"\u53d1\u9001\u9884\u89c8","SendSuccess":"\u9a8c\u8bc1\u7801\u5df2\u91cd\u65b0\u53d1\u9001.","SnedVoiceWhenCalling":"\u5f53\u524d\u901a\u8bdd\u4e2d\uff0c\u8bf7\u7a0d\u5019\u518d\u8bd5","TenantName":"\u4f01\u4e1a\u540d\u79f0","TenantNotFound":"\u6ca1\u6709\u53d6\u5230\u79df\u6237\u4fe1\u606f.","Todo":"\u8be5\u529f\u80fd\u8fd1\u671f\u63d0\u4f9b","VoiceLimit":"\u5f55\u97f3\u65f6\u95f4\u6700\u957f\u4e3a2\u5206\u949f","VoicePermission":"\u6ca1\u6709\u5f55\u97f3\u6743\u9650","alogin":"\u533f\u540d\u767b\u5165","attr":"\u9644\u4ef6","call":"\u901a\u8bdd","chatList":"\u804a\u5929\u5ba4","exit":"\u786e\u5b9a","forceLogout":"\u5df2\u767b\u51fa","forceLogoutMsg":"\u60a8\u7684\u8d26\u53f7\u5728\u5176\u4ed6\u4f4d\u7f6e\u767b\u5165,\u672c\u9875\u9762\u5f3a\u5236\u767b\u51fa.","inputPH":"\u8bf7\u8f93\u5165\u60a8\u7684\u624b\u673a\u53f7\u7801","ivtBtn":"\u5f00\u542fAiwow","ivtDesc":"\u4e13\u5c5e\u5ba2\u6237\u6570\u636e\u5e73\u53f0","ivtTxt":"\u9080\u8bf7\u60a8\u4f7f\u7528AiWow\u7cfb\u7edf","join":"\u52a0 \u5165","mypage":"\u6211\u7684","noMoreMessage":"\u6ca1\u6709\u66f4\u591a\u7684\u6d88\u606f\u4e86","notice":"\u901a\u77e5\u7ba1\u7406","reSend":"\u91cd\u65b0\u53d1\u9001","relogin":"\u91cd\u65b0\u767b\u5165","rememberme":"\u8bb0\u4f4f\u6211","review":"\u9884\u89c8","setting":"\u8bbe\u7f6e","tenantList":"\u4f01\u4e1a\u5217\u8868","test":"test2","tip":"\u63d0\u793a","unreadTag":"\u4ee5\u4e0b\u672a\u8bfb","unreadtop":"\u6761\u65b0\u6d88\u606f","viewCard":"\u7535\u5b50\u540d\u7247","CameraPermission":"\u8bf7\u8d4b\u4e88\u83b7\u53d6\u56fe\u7247\u6743\u9650","CancelSendTxt":"\u53d6\u6d88\u53d1\u9001","CheckAgree":"\u8bf7\u67e5\u7
170b\u8bb8\u53ef\u534f\u8bae\u5e76\u52fe\u9009\u5df2\u9605\u8bfb\u540e\u65b9\u53ef\u6ce8\u518c","FileDownSuccess":"\u5df2\u6210\u529f\u5b58\u50a8\u5230\u6211\u7684\u6587\u6863\u4e2d.","GetVerificationCode":"\u53d6\u5f97\u9a8c\u8bc1\u7801","HoldMe":"\u7ee7\u7eed","IRead":"\u6ce8\u518c\u540c\u65f6\u52a0\u5165Aile\u4f1a\u5458\uff0c\u4e14\u89c6\u60a8\u540c\u610f","InError1":"\u5f00\u542f\u6307\u5b9a\u804a\u5929\u5ba4\u5f00\u542f\u5931\u8d25,\u53c2\u6570\u9519\u8bef.","InputCheckCode":"\u7b80\u8baf\u9a8c\u8bc1\u7801","InputName":"\u8bf7\u8f93\u5165\u60a8\u7684\u59d3\u540d(2\uff5e20\u4e2a\u5b57)","Left":"\u8fd4\u56de","ListEmptyInfo":"\u5185\u5bb9\u4e3a\u7a7a\uff0c\u8bf7\u5207\u6362\u5230\u4e0b\u65b9\u7684\u4f01\u4e1a\u5217\u8868\u9875\u7b7e\uff0c\u67e5\u8be2\u4f01\u4e1a\u5e76\u5f00\u542f\u804a\u5929\u5ba4\u8fdb\u884c\u804a\u5929\u3002","PhoneEmpty":"\u8bf7\u8f93\u5165\u624b\u673a\u53f7\u7801.","RegBtn":"\u9001 \u51fa","RegisterSuccess":"\u6ce8\u518c\u6210\u529f,\u81ea\u52a8\u4e3a\u60a8\u767b\u5165.","STT":"\u8bed\u97f3\u8f6c\u6587\u5b57","SendOTPFaild":"[{{no}}]\u9a8c\u8bc1\u7801\u53d1\u9001\u5931\u8d25.","SendOTPSuccess":"\u9a8c\u8bc1\u7801\u5df2\u7ecf\u6210\u529f\u53d1\u9001\u5230[{{no}}],\u8bf7\u6ce8\u610f\u67e5\u6536.","SendTxt":"\u4f20\u9001\u6587\u5b57","SendVoice":"\u4f20\u9001\u8bed\u97f3","SendVoiceAndTxt":"\u4f20\u9001\u8bed\u97f3\u4e0e\u6587\u5b57","SendVoiceFail":"\u53d1\u9001\u5f55\u97f3\u5931\u8d25.","UseDefaultB":"\u4f7f\u7528\u9ed8\u8ba4\u6d4f\u89c8\u5668\u5f00\u542f","VerifyOTPFaild":"\u9a8c\u8bc1\u7801\u9519\u8bef,\u8bf7\u91cd\u65b0\u8f93\u5165.","VoicePermission2":"\u5f53\u524d\u73af\u5883\u65e0\u6cd5\u83b7\u53d6\u5230\u5f55\u97f3\u6743\u9650,\u662f\u5426\u5f00\u542f\u9ed8\u8ba4\u6d4f\u89c8\u5668WebChat?","YS":"\u4f7f\u7528\u8005\u6761\u6b3e\u66a8\u9690\u79c1\u6743\u58f0\u660e","aloginuse":"\u533f\u540d\u4f7f\u7528","done":"\u5b8c\u6210","down":"\u4e0b\u8f7d","info":"\u6ce8\u610f","loginForMe":"\u4e3a\u6211\u767b\u5165","netError":"\u7f51\u7edc\u5df2\u65ad\u5f00","netError2":"\u8bf7\u68c0\u67e5\u60a8\u7684\u7f51\u7edc\u8fde\u63a5\u3002","newVersion":"\u53d1\u73b0\u66f4\u65b0\u7248\u672c!","
1next":"\u4e0b\u4e00\u6761","previous":"\u4e0a\u4e00\u6761","reg":"\u6ce8\u518c\u7528\u6237","return":"\u8fd4\u56de\u767b\u5165","startChat":"\u5f00\u59cb\u4ea4\u8c08","tip1":"\u5de6\u6ed1\u83dc\u5355\u53ef\u4ee5\u6536\u85cf\u5bf9\u5e94\u804a\u5929\u5ba4","tip2":"\u70b9\u51fb\u5c55\u51fa\u4fa7\u8fb9\u680f","tip3":"\u8f93\u5165\u5173\u952e\u5b57\u67e5\u8be2Aile\u751f\u6001\u4e0b\u79df\u6237\u5217\u8868","tip4":"\u53f3\u6ed1\u9879\u76ee\u53ef\u4ee5\u6536\u85cf\u5bf9\u5e94\u79df\u6237","tipa":"\u60a8\u5f53\u524d\u6b63\u5728\u4ee5\u533f\u540d\u7528\u6237\u8eab\u4efd\u8bbf\u95ee\uff0c\u4e3a\u4e86\u83b7\u5f97\u5b8c\u6574\u7684\u529f\u80fd\u4f53\u9a8c\uff0c\u5efa\u8bae\u60a8\u767b\u5f55\u8d26\u6237\u3002","updateNow":"\u7acb\u5373\u66f4\u65b0","updateNowInfo":"\u53d1\u73b0\u65b0\u7248\u672c\u8bf7\u7acb\u5373\u66f4\u65b0."},"ap":{"about":"\u5173\u4e8e","aboutContent":"Aiwow \u5e94\u7528.\u7248\u672c:","account":"\u6211\u7684\u8d26\u53f7","afterphone":",\u8bf7\u4e8e\u4e0b\u65b9\u8f93\u5165\u7b80\u8baf\u9a8c\u8bc1\u7801","beforephone":"\u5df2\u5c06\u9a8c\u8bc1\u7801\u53d1\u9001\u81f3","beforotp":"\u6ca1\u6709\u6536\u5230\u9a8c\u8bc1\u7801,\u8bf7\u6309\u
16b64","checkUpdate":"\u66f4\u65b0\u68c0\u67e5\u6307\u4ee4\u5df2\u53d1\u51fa","checkup":"\u68c0\u67e5\u66f4\u65b0","login":"\u767b\u5f55","logout":"\u767b\u51fa","logoutConfirm":"\u767b\u51fa\u5c06\u4f1a\u79fb\u9664\u672c\u5730\u4fdd\u5b58\u7684\u6240\u6709\u8d44\u6599,\u60a8\u786e\u5b9a\u767b\u51fa\u5417?","logouttip":"\u767b\u51fa\u63d0\u793a","resend":"\u91cd\u65b0\u53d1\u9001","tenantlist":"\u4f01\u4e1a\u5217\u8868","welcom":"\u6b22\u8fce\u4f7f\u7528Aiwow","reginfo":"\u8bf7\u8f93\u5165\u4e0b\u65b9\u680f\u4f4d\u6ce8\u518c\u4f1a\u5458"},"chatPage":{"paramError":"\u5e26\u5165\u53c2\u6570\u9519\u8bef,\u8bf7\u68c0\u67e5\u540e\u91cd\u65b0\u5f00\u542f."},"tag":{"sn":"\u5546\u52a1"},"Notice":{"NotSupport":"\u60a8\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u901a\u77e5\u529f\u80fd.","Open":"\u8bf7\u5f00\u542f\u901a\u77e5\u6743\u9650,\u60a8\u53ef\u4ee5\u6536\u5230\u6700\u65b0\u6d88\u606f.","OpenNotice":"\u5df2\u5f00\u542f","OpenNotice2":"\u53d6\u6d88","title":"\u901a\u77e5\u63d0\u793a"},"tenant":{"search":"\u8f93\u5165\u5173\u952e\u5b57\u67e5\u8be2\u79df\u6237"}}'),kc=JSON.parse('{"Common":{"chatList":"\u804a\u5929\u5ba4","test":"test2","ivtTxt":"\u9080\u8acb\u60a8\u4f7f\u7528AiWow\u7cfb\u7d71","ivtDesc":"\u5c08\u5c6c\u5ba2\u6237\u6578\u64da\u5e73\u53f0","ivtBtn":"\u958b\u5553Aiwow","tenantList":"\u4f01\u696d\u5217\u8868","rememberme":"\u8a18\u4f4f\u6211","join":"\u52a0 \u5165","alogin":"\u533f\u540d\u767b\u5165","mypage":"\u6211\u7684","About":"\u95dc\u65bc","Logout":"\u767b\u51fa","TenantName":"\u4f01\u696d\u540d\u7a31","PleaseInputContent":"Enter \u767c\u9001, Shift+ Enter \u63db\u884c ","DownStick":"\u5feb\u4f86\u4e0b\u8f09\u8cbc\u5716\u5427","DownLoad":"\u4e0b\u8f09","Downing":"\u4e0b\u8f09\u4e2d","CancelVoice":"\u9ede\u64ca\u6b64\u8655\u53d6\u6d88\u9304\u97f3","ReMessageNoSupVoice":"\u56de\u8986\u529f\u80fd\u76ee\u524d\u5c1a\u672a\u652f\u6301\u56de\u8986\u8a9e\u97f3\u8a0a\u606f","MakeCallWhenRecording":"\u7576\u524d\u6b63\u5728\u767c\u9001\u8a9e\u97f3\u4e2d\uff0c\u8acb\u7a0d\u5019\u518d\u8a66","SnedVoiceWhenCalling":"\u7576\u524d\u901a\u8a71\u4e2d\uff0c\u8acb\u7a0d\u5019\u518d\u8a66","GetVoiceDeviceError":"\u7372\u53d6\u9304\u97f3\u88dd\u7f6e\u5931\u6557","VoiceLimit":"\u9304\u97f3\u6642\u9593\u6700\u9577\u70ba2\u5206\u9418","VoicePermission":"\u6c92\u6709\u9304\u97f3\u6b0a\u9650,\u8acb\u5141\u8a31\u4f7f\u7528\u60a8\u7684\u9ea5\u514b\u98a8.","call":"\u901a\u8a71","attr":"\u9644\u4ef6","Todo":"\u8a72\u529f\u80fd\u8fd1\u671f\u63d0\u4f9b","notice":"\u901a\u77e5\u7ba1\u7406","setting":"\u8a2d\u5b9a","SendReView":"\u767c\u9001\u9810\u89bd","RoomFileLimit":"\u60a8\u9078\u64c7\u7684\u6a94\u6848\u5927\u5c0f\u8d85\u904e\u9650\u5236(\u6700\u5927{{size}}MB","noMoreMessage":"\u6c92\u6709\u66f4\u591a\u7684\u6d88\u606f\u4e86","LoginIng":"\u6b63\u5728\u767b\u9304...","SendSuccess":"\u9a57\u8b49\u78bc\u5df2\u91cd\u65b0\u767c\u9001.","inputPH":"\u8acb\u8f38\u5165\u60a8\u7684\u624b\u6a5f\u865f\u78bc","SendOTP":"\u9a57\u8b49\u78bc\u767c\u9001\u4e2d...","TenantNotFound":"\u6c92\u6709\u53d6\u5230\u79df\u6237\u4fe1\u606f.","LastMsgDelete":"\u8a0a\u606f\u88ab\u522a\u9664","LastMsgMeReturnMessage":"\u60a8\u5df2\u56de\u6536\u8a0a\u606f","LastMsgYouReturnMessage2":"{{name}}\u5df2\u6536\u56de\u8a0a\u606f","LastMsgYouReturnMessage1":"\u5c0d\u65b9\u5df2\u6536\u56de\u8a0a\u606f","LastMsgFile":"\u6587\u4ef6\uff1a{{name}}
1","LastTemplate":"\u5361\u7247\u6d88\u606f","LastMsgImage":"\u5716\u7247\u6d88\u606f","LastMsgStick":"\u8cbc\u5716","LastMsgVoice":"\u9304\u97f3","LastMsgCall":"\u901a\u8a71","unreadTag":"\u4ee5\u4e0b\u672a\u8b80","NotSupport":"\u5c1a\u4e0d\u652f\u63f4\u8a72\u6d88\u606f\u986f\u793a","PlayError":"\u9304\u97f3\u6a94\u6848\u64ad\u653e\u5931\u6557.","ReDownImage":"\u91cd\u8a66","ImageShowError":"\u5716\u7247\u986f\u793a\u5931\u6557","LoadImageError":"\u5716\u7247\u4e0b\u8f09\u5931\u6557.","Download":"\u4e0b\u8f09","FileDownError":"\u6587\u4ef6\u4e0b\u8f09\u5931\u6557\uff0c\u8acb\u7a0d\u5019\u518d\u8a66","FileDownCancel":"\u6587\u4ef6\u5df2\u53d6\u6d88\u4e0b\u8f09","CallEnd":"\u8a9e\u97f3\u901a\u8a71","CallStart":"\u767c\u8d77\u8a9e\u97f3\u901a\u8a71","CallUnConnect":"\u901a\u8a71\u672a\u63a5\u901a","CallDur":"\u901a\u8a71\u6642\u9593","Cannel":"\u53d6\u6d88\u4e0b\u8f09","viewCard":"\u96fb\u5b50\u540d\u7247","Close":"\u95dc\u9589","NoSuportVideo":"\u4e0d\u652f\u63f4\u8a72\u8996\u983b\u683c\u5f0f.","MessageView":"\u9810\u89bd","review":"\u9810\u89bd","FileIsUp":"\u6587\u4ef6\u6b63\u5728\u4e0a\u50b3\u4e2d,\u8acb\u7a0d\u5f8c.","FileError":"\u6587\u4ef6\u4e0b\u8f09\u5931\u6557.","reSend":"\u91cd\u65b0\u767c\u9001","MessageResend":"\u6d88\u606f\u5df2\u7d93\u91cd\u65b0\u767c\u9001.","MessageResendNotSupport":"\u672c\u6d88\u606f\u4e0d\u652f\u63f4\u91cd\u767c.","tip":"\u63d0\u793a","InError":"\u958b\u5553\u6307\u5b9a\u804a\u5929\u5ba4\u958b\u5553\u5931\u6557,\u79df\u6237\u53c3\u6578\u932f\u8aa4. ","InAiwow":"\u9032\u5165\u767b\u5165\u9801\u9762","Exit":"\u96e2\u958b","InError2":"\u6c92\u6709\u627e\u5230\u79df\u6237\u4fe1\u606f,\u8acb\u78ba\u8a8d.","Login":"\u767b\u5165","AboutTitle":"\u95dc\u65bc...","AboutInfo":"AiWow \u60a8\u7684\u5c08\u5c6c\u5ba2\u670d\u61c9\u7528","AboutVersion":"AiWow \u61c9\u7528.\u7248\u672c:","OK":"\u78ba\u5b9a","InError3":"\u4e0d\u652f\u63f4\u8a72\u65b9\u5f0f\u958b\u5553,\u8acb\u78ba\u8a8d. ","exit":"\u78ba\u5b9a","forceLogout":"\u5df2\u767b\u51fa","forceLogoutMsg":"\u60a8\u7684\u8cec\u865f\u5728\u5176\u4ed6\u4f4d\u7f6e\u767b\u5165,\u672c\u9801\u9762\u5f37\u5236\u767b\u51fa.","relogin":"\u91cd\u65b0\u767b\u5165","unreadtop":"\u689d\u65b0\u6d88\u606f","netError":"\u7db2\u7d61\u5df2\u65b7\u958b","netError2":"\u8acb\u6aa2\u67e5\u60a8\u7684\u7db2\u7d61\u9023\u63a5\u3002","tip1":"\u5de6\u6ed1\u83dc\u55ae\u53ef\u4ee5\u6536\u85cf\u5c0d\u61c9\u804a\u5929\u5ba4","info":"\u6ce8\u610f","tipa":"\u60a8\u7576\u524d\u6b63\u5728\u4ee5\u533f\u540d\u7528\u6237\u8eab\u4efd\u8a2a\u554f\uff0c\u70ba\u4e86\u7372\u5f97\u5b8c\u6574\u7684\u529f\u80fd\u9ad4\u9a57\uff0c\u5efa\u8b70\u60a8\u767b\u9304\u8cec\u6237\u3002","aloginuse":"\u533f\u540d\u4f7f\u7528","loginForMe":"\u70ba\u6211\u767b\u5165","next":"\u4e0b\u4e00\u689d","previous":"\u4e0a\u4e00\u689d","done":"\u5b8c\u6210","tip3":"\u8f38\u5165\u95dc\u9375\u5b57\u67e5\u8a62Aile\u751f\u614b\u4e0b\u79df\u6237\u5217\u8868","tip2":"\u9ede\u64ca\u5c55\u51fa\u5074\u908a\u6b04","PhoneEmpty":"\u8acb\u8f38\u5165\u624b\u6a5f\u865f\u78bc.","SendOTPSuccess":"\u9a57\u8b49\u78bc\u5df2\u7d93\u6210\u529f\u767c\u9001\u5230[{{no}}],\u8acb\u6ce8\u610f\u67e5\u6536.","SendOTPFaild":"[{{no}}]\u9a57\u8b49\u78bc\u767c\u9001\u5931\u6557.","IRead":"\u8a3b\u518a\u540c\u6642\u52a0\u5165Aile\u6703\u54e1\uff0c\u4e14\u8996\u60a8\u540c\u610f","YS":"\u4f7f\u7528\u8005\u689d\u6b3e\u66a8\u96b1\u79c1\u6b0a\u8072\u660e","InputCheckCode":"\u7c21\u8a0a\u9a57\u8b49\u78bc","GetVerificationCode":"\u53d6\u5f97\u9a57\u8b49\u78bc","RegBtn":"\u9001 \u51fa","return":"\u8fd4\u56de\u767b\u5165","CheckAgree":"\u8acb\u67e5\u770b\u8a31\u53ef\u5354\u8b70\u4e26\u52fe\u9078\u5df2\u95b2\u8b80\u5f8c\u65b9\u53ef\u8a3b\u518a","InputName":"\u8acb\u8f38\u5165\u60a8\u7684\u59d3\u540d(2\uff5e20\u500b\u5b57)","VerifyOTPFaild":"\u9a57\u8b49\u78bc\u932f\u8aa4,\u8acb\u91cd\u65b0\u8f38\u5165.","RegisterSuccess":"\u8a3b\u518a\u6210\u529f,\u81ea\u52d5\u70ba\u60a8\u767b\u5165.","reg":"\u8a3b\u518a\u7528\u6237","tip4":"\u53f3\u6ed1\u9805\u76ee\u53ef\u4ee5\u6536\u85cf\u5c0d\u61c9\u79df\u6237","ListEmptyInfo":"\u5167\u5bb9\u70ba\u7a7a\uff0c\u8acb\u5207\u63db\u5230\u4e0b\u65b9\u7684\u4f01\u696d\u5217\u8868\u9801\u7c64\uff0c\u67e5\u8a62\u4f01\u696d\u4e26\u958b\u5553\u804a\u5929\u5ba4\u9032\u884c\u804a\u5929\u3002","Left":"\u8fd4\u56de","down":"\u4e0b\u8f09","startChat":"\u958b\u59cb\u4ea4\u8ac7","newVersion":"\u767c\u73fe\u66f4\u65b0\u7248\u672c!","updateNow":"\u7acb\u5373\u66f4\u65b0","InError1":"\u958b\u5553\u6307\u5b9a\u804a\u5929\u5ba4\u958b\u5553\u5931\u6557,\u53c3\u6578\u932f\u8aa4. ","updateNowInfo":"\u767c\u73fe\u65b0\u7248\u672c\u8acb\u7acb\u5373\u66f4\u65b0.","SendVoiceFail":"\u767c\u9001\u9304\u97f3\u5931\u6557.","STT":"\u8a9e\u97f3\u8f49\u6587\u5b57","SendTxt":"\u50b3\u9
1001\u6587\u5b57","CancelSendTxt":"\u53d6\u6d88\u767c\u9001","SendVoiceAndTxt":"\u50b3\u9001\u8a9e\u97f3\u8207\u6587\u5b57","SendVoice":"\u50b3\u9001\u8a9e\u97f3","CameraPermission":"\u8acb\u8ce6\u4e88\u7372\u53d6\u5716\u7247\u6b0a\u9650","FileDownSuccess":"\u5df2\u6210\u529f\u5b58\u5132\u5230\u6211\u7684\u6587\u6a94\u4e2d.","VoicePermission2":"\u7121\u6cd5\u7372\u53d6\u9304\u97f3\u6b0a\u9650\uff0c\u8acb\u5141\u8a31\u4f7f\u7528\u9ea5\u514b\u98a8\u6216\u6253\u958b\u9ed8\u8a8d\u700f\u89bd\u5668\u4e26\u5141\u8a31\u9ea5\u514b\u98a8\u6b0a\u9650\u3002","UseDefaultB":"\u958b\u5553\u5916\u90e8\u700f\u89bd\u5668","HoldMe":"\u7e7c\u7e8c","VoicePermissionFB":"\u63d0\u793a","VoicePermissionFB2":"\u7576\u524d\u74b0\u5883\u4e2d\u7121\u6cd5\u4f7f\u7528\u9304\u97f3\u529f\u80fd,\u8acb\u958b\u5553\u5916\u90e8\u700f\u89bd\u5668\u7e7c\u7e8c."},"tag":{"sn":"\u5546\u52d9"},"ap":{"tenantlist":"\u4f01\u696d\u5217\u8868","welcom":"\u6b61\u8fce\u4f7f\u7528Aiwow","beforephone":"\u5df2\u5c07\u9a57\u8b49\u78bc\u767c\u9001\u81f3","afterphone":",\u8acb\u65bc\u4e0b\u65b9\u8f38\u5165\u7c21\u8a0a\u9a57\u8b49\u78bc","beforotp":"\u6c92\u6709\u6536\u5230\u9a57\u8b49\u78bc,\u8acb\u6309\u6b64","resend":"\u91cd\u65b0\u767c\u9001","logout":"\u767b\u51fa","checkup":"\u6aa2\u67e5\u66f4\u65b0","logouttip":"\u767b\u51fa\u63d0\u793a","logoutConfirm":"\u767b\u51fa\u5c07\u6703\u79fb\u9664\u672c\u5730\u4fdd\u5b58\u7684\u6240\u6709\u8cc7\u6599,\u60a8\u78ba\u5b9a\u767b\u51fa\u55ce?","login":"\u767b\u5165","account":"\u6211\u7684\u8cec\u865f","about":"\u95dc\u65bc","aboutContent":"Aiwow \u61c9\u7528.\u7248\u672c:","checkUpdate":"\u66f4\u65b0\u6aa2\u67e5\u6307\u4ee4\u5df2\u767c\u51fa","reginfo":"\u8acb\u8f38\u5165\u4e0b\u65b9\u6b04\u4f4d\u8a3b\u518a\u6703\u54e1"},"chatPage":{"paramError":"\u5e36\u5165\u53c3\u6578\u932f\u8aa4,\u8acb\u6aa2\u67e5\u5f8c\u91cd\u65b0\u958b\u5553."},"tenant":{"search":"\u8f38\u5165\u95dc\u9375\u5b57\u67e5\u8a62\u79df\u6237"},"Notice":{"NotSupport":"\u60a8\u7684\u700f\u89bd\u5668\u4e0d\u652f\u6301\u901a\u77e5\u529f\u80fd.","Open":"\u8acb\u958b\u5553\u901a\u77e5\u6b0a\u9650,\u60a8\u53ef\u4ee5\u6536\u5230\u6700\u65b0\u6d88\u606f.","OpenNotice":"\u5df2\u958b\u5553","OpenNotice2":"\u53d6\u6d88","title":"\u901a\u77e5\u63d0\u793a"}}');var qd=f(67345),wa=f(78567),dd=f(84429),Ta=f(7063);const fd=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function hd(j,S=!1){const{host:D,path:w,pass:B,port:te,projectId:Ee,protocol:ze,publicKey:gt}=j;return`${ze}://${gt}${S&&B?`:${B}`:""}@${D}${te?`:${te}`:""}/${w&&`${w}/`}${Ee}`}function Cg(j){return{protocol:j.protocol,publicKey:j.publicKey||"",pass:j.pass||"",host:j.host,port:j.port||"",path:j.path||"",projectId:j.projectId}}const Uh=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Lu=f(48412).O;function gd(j={}){if(!Lu.document)return void(Uh&&Ta.vF.error("Global document not defined in showReportDialog call"));const S=(0,wa.o5)(),D=S.getClient(),w=D&&D.getDsn();if(!w)return void(Uh&&Ta.vF.error("DSN not configured for showReportDialog call"));if(S&&(j.user={...S.getUser(),...j.user}),!j.eventId){const ze=(0,qd.Q)();ze&&(j.eventId=ze)}const B=Lu.document.createElement("script");B.async=!0,B.crossOrigin="anonymous",B.src=function pm(j,S){const D=function Xd(j){const S="string"==typeof j?function pd(j){const S=fd.exec(j);if(!S)return void(0,Ta.pq)(()=>{console.error(`Invalid Sentry Dsn: ${j}`)});const[D,w,B="",te="",Ee="",ze=""]=S.slice(1);let gt="",Dt=ze;const Wt=Dt.split("/");if(Wt.length>1&&(gt=Wt.slice(0,-1).join("/"),Dt=Wt.pop()),Dt){const yn=Dt.match(/^\d+/);yn&&(Dt=yn[0])}return Cg({host:te,pass:B,path:gt,projectId:Dt,port:Ee,protocol:D,publicKey:w})}(j):Cg(j);if(S&&function jh(j){if(!dd.T)return!0;const{port:S,projectId:D,protocol:w}=j;return!(["protocol","publicKey","host","projectId"].find(Ee=>!j[Ee]&&(Ta.vF.error(`Invalid Sentry Dsn: ${Ee} missing`),!0))||(D.match(/^\d+$/)?function Bh(j){return"http"===j||"https"===j}(w)?S&&isNaN(parseInt(S,10))&&(Ta.vF.error(`Invalid Sentry Dsn: Invalid port ${S}`),1):(Ta.vF.error(`Invalid Sentry Dsn: Invalid protocol ${w}`),1):(Ta.vF.error(`Invalid Sentry Dsn: Invalid projectId ${D}`),1)))}(S))return S}(j);if(!D)return"";const w=`${function md(j){return`${j.protocol?`${j.protocol}:`:""}//${j.host}${j.port?`:${j.port}`:""}${j.path?`/${j.path}`:""}/api/`}(D)}embed/error-page/`;let B=`dsn=${hd(D)}`;for(const te in S)if("dsn"!==te&&"onClose"!==te)if("user"===te){const Ee=S.user;if(!Ee)continue;Ee.name&&(B+=`&name=${encodeURIComponent(Ee.name)}`),Ee.email&&(B+=`&email=${encodeURIComponent(Ee.email)}`)}else B+=`&${encodeURIComponent(te)}=${encodeURIComponent(S[te])}`;return`${w}?${B}`}(w,j),j.onLoad&&(B.onload=j.onLoad);const{onClose:te}=j;if(te){const ze=gt=>{if("__sentry_reportdialog_closed__"===gt.data)try{te()}finally{Lu.removeEventListener("message",ze)}};Lu.addEventListener("message",ze)}const Ee=Lu.document.head||Lu.document.body;
1Ee?Ee.appendChild(B):Uh&&Ta.vF.error("Not injecting report dialog. No injection point found in HTML")}var ql=f(18288),kf=f(7982),Vh=f(64062),vd=f(67707);const Qu="_sentryMetrics";function Qd(j){const S=j[Qu];if(!S)return;const D={};for(const[,[w,B]]of S)(D[w]||(D[w]=[])).push((0,ql.Ce)(B));return D}const Ju="sentry.source",ym="sentry.op",Zu="sentry.origin",Ig=0,Fm=1;var ec=f(29166);function ru(j){return"number"==typeof j?wm(j):Array.isArray(j)?j[0]+j[1]/1e9:j instanceof Date?wm(j.getTime()):(0,kf.zf)()}function wm(j){return j>9999999999?j/1e3:j}function Ul(j){if(function Nf(j){return"function"==typeof j.getSpanJSON}(j))return j.getSpanJSON();try{const{spanId:S,traceId:D}=j.spanContext();if(function kg(j){return!!(j.attributes&&j.startTime&&j.name&&j.endTime&&j.status)}(j)){const{attributes:w,startTime:B,name:te,endTime:Ee,parentSpanId:ze,status:gt}=j;return(0,ql.Ce)({span_id:S,trace_id:D,data:w,description:te,parent_span_id:ze,start_timestamp:ru(B),timestamp:ru(Ee)||void 0,status:mc(gt),op:w[ym],origin:w[Zu],_metrics_summary:Qd(j)})}return{span_id:S,trace_id:D}}catch{return{}}}function mc(j){if(j&&j.code!==Ig)return j.code===Fm?"ok":j.message||"unknown_error"}const vu="_sentryRootSpan";function ra(j){return j[vu]||j}function Oc(){const j=(0,vd.E)(),S=(0,Vh.h)(j);return S.getActiveSpan?S.getActiveSpan():(0,ec.f)((0,wa.o5)())}f(92206);var vc=f(4467);typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;f(27043);var Cd=f(5964);const ip=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,op=typeof Zone<"u"&&Zone.root&&Zone.root.run;function su(j){return op?Zone.root.run(j):j()}function Bc(j){if(j instanceof Error)return!0;if(null===j||"object"!=typeof j)return!1;const S=j;return(0,vc.Kg)(S.name)&&(0,vc.Kg)(S.message)&&(void 0===S.stack||(0,vc.Kg)(S.stack))}let Xg=(()=>{class j{constructor(D){this._registeredAfterSendEventHandler=!1,this._options={logErrors:!0,...D}}handleError(D){const w=this._extractError(D)||"Handled unknown error",B=su(()=>qd.Cp(w,{mechanism:{type:"angular",handled:!1}}));if(this._options.logErrors&&console.error(w),this._options.showDialog){const te=wa.KU();te&&!this._registeredAfterSendEventHandler?(te.on("afterSendEvent",Ee=>{!Ee.type&&Ee.event_id&&su(()=>{gd({...this._options.dialogOptions,eventId:Ee.event_id})})}),this._registeredAfterSendEventHandler=!0):te||su(()=>{gd({...this._options.dialogOptions,eventId:B})})}}_extractError(D){if(this._options.extractor){const w=this._defaultExtractor.bind(this);return this._options.extractor(D,w)}return this._defaultExtractor(D)}_defaultExtractor(D){const w=function Ym(j){return j&&j.ngOriginalError?j.ngOriginalError:j}(D);return w instanceof hc.yz?function Pl(j){return Bc(j.error)?j.error:typeof ErrorEvent<"u"&&j.error instanceof ErrorEvent&&j.error.message?j.error.message:"string"==typeof j.error?`Server returned code ${j.status} with body "${j.error}"`:j.message}(w):"string"==typeof w||Bc(w)?w:null}}return j.\u0275fac=function(D){return new(D||j)(o.KVO("errorHandlerOptions"))},j.\u0275prov=o.jDH({token:j,factory:j.\u0275fac,providedIn:"root"}),j})();function Qm(j){return new Xg(j)}let up=(()=>{class j{constructor(D){this._router=D,this.navStart$=this._router.events.pipe((0,Cd.p)(w=>w instanceof C.Z),(0,V.M)(w=>{ip&&Ta.vF.error("Angular integration has tracing enabled, but Tracing integration is not configured")})),this.resEnd$=this._router.events.pipe((0,Cd.p)(w=>w instanceof C.gx),(0,V.M)(w=>{const B=function Kf(j){const S=[];let D=j&&j.firstChild;for(;D;){const B=D&&D.routeConfig&&D.routeConfig.path;if(null==B)break;S.push(B),D=D.firstChild}const w=S.filter(B=>B).join("/");return w?`/${w}/`:"/"}(w.state.root);B&&(0,wa.o5)().setTransactionName(B);const te=Oc();!function rs(j,S){const D=S&&Ul(S).data||{};S&&"url"===D[Ju]&&(S.updateName(j),S.setAttribute(Ju,"route"),S.setAttribute(Zu,`auto.${Ul(S).op}.angular`))}(B,te&&ra(te))})),this.navEnd$=this._router.events.pipe((0,Cd.p)(w=>w instanceof C.wF||w instanceof C.j5||w instanceof C.L6),(0,V.M)(()=>{this._routingSpan&&(su(()=>{this._routingSpan.end()}),this._routingSpan=null)})),this._routingSpan=null,this._pageloadOngoing=!0,this._subscription=new Ye.yU,this._subscription.add(this.navStart$.subscribe()),this._subscription.add(this.resEnd$.subscribe()),this._subscription.add(this.navEnd$.subscribe())}ngOnDestroy(){this._subscription.unsubscribe()}_isPageloadOngoing(){if(!this._pageloadOngoing)return!1;const D=Oc();if(!D)return this._pageloadOngoing=!1,!1;const w=ra(D);return this._pageloadOngoing="pageload"===Ul(w).op,this._pageloadOngoing}}return j.\u0275fac=function(D){return new(D||j)(o.KVO(C.Ix))},j.\u0275prov=o.jDH({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),nc=(()=>{var j;class S{constructor(w,B,te,Ee){this.settingService=w,this.httpClient=B,this.i18n=te,this.commonService=Ee}
1viaHttp(){return this.settingService.setApp(ne.c.app),this.settingService.setWebChatFunction(ne.c.webChatFunction),this.i18n.switchLanguage(ne.c.i18n.defaultLang),this.commonService.aiwowDB.getAndDeleteSendingMessage(),(0,z.of)()}viaMock(){return this.settingService.setApp(ne.c.app),this.settingService.setWebChatFunction(ne.c.webChatFunction),this.i18n.switchLanguage("zh-TW"),this.commonService.aiwowDB.getAndDeleteSendingMessage(),(0,z.of)()}load(){return this.viaHttp()}}return(j=S).\u0275fac=function(w){return new(w||j)(o.KVO(Yu.h),o.KVO(hc.Qq),o.KVO(kh.W),o.KVO(H.hf))},j.\u0275prov=o.jDH({token:j,factory:j.\u0275fac}),S})();var lf=f(29685),uf=f(18810);let cp=(()=>{var j;class S{constructor(w){this.injector=w}get commonService(){return this.injector.get(H.hf)}goTo(w){setTimeout(()=>this.injector.get(C.Ix).navigateByUrl(w))}checkStatus(w){if(!(w.status>=200&&w.status<300||401===w.status))switch(w.status){case 503:case 999:this.commonService.presentToast("\u8acb\u6c42\u5931\u6557","\u670d\u52d9\u5668\u6b63\u5728\u5fd9\u788c\u8acb\u7a0d\u5f8c\u518d\u8a66")}}toLogin(){this.commonService.presentToast("","\u672a\u767b\u9304\u6216\u767b\u9304\u5df2\u904e\u671f\uff0c\u8acb\u91cd\u65b0\u767b\u9304\u3002"),this.goTo("/passport/login")}handleData(w,B,te){switch(this.checkStatus(w),w.status){case 200:if(w instanceof hc.cS)return 4005==w.body.code&&this.toLogin(),Blob,(0,z.of)(w);break;case 401:this.toLogin()}return w instanceof hc.yz?(0,uf.$)(w):(0,z.of)(w)}intercept(w,B){return B.handle(w).pipe((0,xn.Z)(te=>te instanceof hc.xB?this.handleData(te,w,B):(0,z.of)(te)),(0,K.W)(te=>this.handleData(te,w,B)))}}return(j=S).\u0275fac=function(w){return new(w||j)(o.KVO(o.zZn))},j.\u0275prov=o.jDH({token:j,factory:j.\u0275fac}),S})();var dp=f(24696),fp=f(88654);function Zm(j){return new o.wOt(3e3,!1)}function Hl(j){switch(j.length){case 0:return new Nn.sf;case 1:return j[0];default:return new Nn.ui(j)}}function Xf(j,S,D=new Map,w=new Map){const B=[],te=[];let Ee=-1,ze=null;if(S.forEach(gt=>{const Dt=gt.get("offset"),Wt=Dt==Ee,yn=Wt&&ze||new Map;gt.forEach((Bn,Ln)=>{let Jn=Ln,ir=Bn;if("offset"!==Ln)switch(Jn=j.normalizePropertyName(Jn,B),ir){case Nn.FX:ir=D.get(Ln);break;case Nn.kp:ir=w.get(Ln);break;default:ir=j.normalizeStyleValue(Ln,Jn,ir,B)}yn.set(Jn,ir)}),Wt||te.push(yn),ze=yn,Ee=Dt}),B.length)throw function hi(j){return new o.wOt(3502,!1)}();return te}function r0(j,S,D,w){switch(S){case"start":j.onStart(()=>w(D&&o0(D,"start",j)));break;case"done":j.onDone(()=>w(D&&o0(D,"done",j)));break;case"destroy":j.onDestroy(()=>w(D&&o0(D,"destroy",j)))}}function o0(j,S,D){const w=D.totalTime,te=Yf(j.element,j.triggerName,j.fromState,j.toState,S||j.phaseName,null==w?j.totalTime:w,!!D.disabled),Ee=j._data;return null!=Ee&&(te._data=Ee),te}function Yf(j,S,D,w,B="",te=0,Ee){return{element:j,triggerName:S,fromState:D,toState:w,phaseName:B,totalTime:te,disabled:!!Ee}}function du(j,S,D){let w=j.get(S);return w||j.set(S,w=D),w}function _c(j){const S=j.indexOf(":");return[j.substring(1,S),j.slice(S+1)]}const $y=typeof document>"u"?null:document.documentElement;function uv(j){const S=j.parentNode||j.host||null;return S===$y?null:S}let cf=null,Qf=!1;function s0(j,S){for(;S;){if(S===j)return!0;S=uv(S)}return!1}function Jf(j,S,D){if(D)return Array.from(j.querySelectorAll(S));const w=j.querySelector(S);return w?[w]:[]}let a0=(()=>{var j;class S{validateStyleProperty(w){return function I1(j){cf||(cf=function mp(){return typeof document<"u"?document.body:null}()||{},Qf=!!cf.style&&"WebkitAppearance"in cf.style);let S=!0;return cf.style&&!function cv(j){return"ebkit"==j.substring(1,6)}(j)&&(S=j in cf.style,!S&&Qf&&(S="Webkit"+j.charAt(0).toUpperCase()+j.slice(1)in cf.style)),S}(w)}matchesElement(w,B){return!1}containsElement(w,B){return s0(w,B)}getParentElement(w){return uv(w)}query(w,B,te){return Jf(w,B,te)}computeStyle(w,B,te){return te||""}animate(w,B,te,Ee,ze,gt=[],Dt){return new Nn.sf(te,Ee)}}return(j=S).\u0275fac=function(w){return new(w||j)},j.\u0275prov=o.jDH({token:j,factory:j.\u0275fac}),S})();class l0{}l0.NOOP=new a0;class dv{}const qy=1e3,hv="ng-enter",pv="ng-leave",c0="ng-trigger",d0=".ng-trigger",mv="ng-animating",gv=".ng-animating";function jc(j){if("number"==typeof j)return j;const S=j.match(/^(-?[\.\d]+)(m?s)/);return!S||S.length<2?0:f0(parseFloat(S[1]),S[2])}function f0(j,S){return"s"===S?j*qy:j}function Zf(j,S,D){return j.hasOwnProperty("duration")?j:function R1(j,S,D){let B,te=0,Ee="";if("string"==typeof j){const ze=j.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ze)return S.push(Zm()),{duration:0,delay:0,easing:""};B=f0(parseFloat(ze[1]),ze[2]);const gt=ze[3];null!=gt&&(te=f0(parseFloat(gt),ze[4]));const Dt=ze[5];Dt&&(Ee=Dt)}else B=j;if(!D){let ze=!1,gt=S.length;B<0&&(S.push(function tv(){return new o.wOt(3100,!1)}()),ze=!0),te<0&&(S.push(function e0(){return new o.wOt(3101,!1)}()),ze=!0),ze&&S.splice(gt,0,Zm())}return{duration:B,delay:te,easing:Ee}}(j,S,D)}
1function yu(j,S,D){S.forEach((w,B)=>{const te=k1(B);D&&!D.has(B)&&D.set(B,j.style[te]),j.style[te]=w})}function df(j,S){S.forEach((D,w)=>{const B=k1(w);j.style[B]=""})}function vp(j){return Array.isArray(j)?1==j.length?j[0]:(0,Nn.K2)(j):j}const th=new RegExp("{{\\s*(.+?)\\s*}}","g");function h0(j){let S=[];if("string"==typeof j){let D;for(;D=th.exec(j);)S.push(D[1]);th.lastIndex=0}return S}function yp(j,S,D){const w=`${j}`,B=w.replace(th,(te,Ee)=>{let ze=S[Ee];return null==ze&&(D.push(function rv(j){return new o.wOt(3003,!1)}()),ze=""),ze.toString()});return B==w?j:B}const Ub=/-+([a-z0-9])/g;function k1(j){return j.replace(Ub,(...S)=>S[1].toUpperCase())}function Iu(j,S,D){switch(S.type){case Nn.If.Trigger:return j.visitTrigger(S,D);case Nn.If.State:return j.visitState(S,D);case Nn.If.Transition:return j.visitTransition(S,D);case Nn.If.Sequence:return j.visitSequence(S,D);case Nn.If.Group:return j.visitGroup(S,D);case Nn.If.Animate:return j.visitAnimate(S,D);case Nn.If.Keyframes:return j.visitKeyframes(S,D);case Nn.If.Style:return j.visitStyle(S,D);case Nn.If.Reference:return j.visitReference(S,D);case Nn.If.AnimateChild:return j.visitAnimateChild(S,D);case Nn.If.AnimateRef:return j.visitAnimateRef(S,D);case Nn.If.Query:return j.visitQuery(S,D);case Nn.If.Stagger:return j.visitStagger(S,D);default:throw function iv(j){return new o.wOt(3004,!1)}()}}function N1(j,S){return window.getComputedStyle(j)[S]}const Qy=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 O1 extends dv{normalizePropertyName(S,D){return k1(S)}normalizeStyleValue(S,D,w,B){let te="";const Ee=w.toString().trim();if(Qy.has(D)&&0!==w&&"0"!==w)if("number"==typeof w)te="px";else{const ze=w.match(/^[+-]?[\d\.]+([a-z]*)$/);ze&&0==ze[1].length&&B.push(function ov(j,S){return new o.wOt(3005,!1)}())}return Ee+te}}const Fd="*";const bp=new Set(["true","1"]),m0=new Set(["false","0"]);function yv(j,S){const D=bp.has(j)||m0.has(j),w=bp.has(S)||m0.has(S);return(B,te)=>{let Ee=j==Fd||j==B,ze=S==Fd||S==te;return!Ee&&D&&"boolean"==typeof B&&(Ee=B?bp.has(j):m0.has(j)),!ze&&w&&"boolean"==typeof te&&(ze=te?bp.has(S):m0.has(S)),Ee&&ze}}const g0=new RegExp("s*:selfs*,?","g");function _v(j,S,D,w){return new e_(j).build(S,D,w)}class e_{constructor(S){this._driver=S}build(S,D,w){const B=new bv(D);return this._resetContextStyleTimingState(B),Iu(this,vp(S),B)}_resetContextStyleTimingState(S){S.currentQuerySelector="",S.collectedStyles=new Map,S.collectedStyles.set("",new Map),S.currentTime=0}visitTrigger(S,D){let w=D.queryCount=0,B=D.depCount=0;const te=[],Ee=[];return"@"==S.name.charAt(0)&&D.errors.push(function t0(){return new o.wOt(3006,!1)}()),S.definitions.forEach(ze=>{if(this._resetContextStyleTimingState(D),ze.type==Nn.If.State){const gt=ze,Dt=gt.name;Dt.toString().split(/\s*,\s*/).forEach(Wt=>{gt.name=Wt,te.push(this.visitState(gt,D))}),gt.name=Dt}else if(ze.type==Nn.If.Transition){const gt=this.visitTransition(ze,D);w+=gt.queryCount,B+=gt.depCount,Ee.push(gt)}else D.errors.push(function n0(){return new o.wOt(3007,!1)}())}),{type:Nn.If.Trigger,name:S.name,states:te,transitions:Ee,queryCount:w,depCount:B,options:null}}visitState(S,D){const w=this.visitStyle(S.styles,D),B=S.options&&S.options.params||null;if(w.containsDynamicStyles){const te=new Set,Ee=B||{};w.styles.forEach(ze=>{ze instanceof Map&&ze.forEach(gt=>{h0(gt).forEach(Dt=>{Ee.hasOwnProperty(Dt)||te.add(Dt)})})}),te.size&&D.errors.push(function sv(j,S){return new o.wOt(3008,!1)}(0,te.values()))}return{type:Nn.If.State,name:S.name,style:w,options:B?{params:B}:null}}visitTransition(S,D){D.queryCount=0,D.depCount=0;const w=Iu(this,vp(S.animation),D),B=function M1(j,S){const D=[];return"string"==typeof j?j.split(/\s*,\s*/).forEach(w=>function Zy(j,S,D){if(":"==j[0]){const gt=function _p(j,S){switch(j){case":enter"
vendor: 14,287 bytes, line 1
1:return"void => *";case":leave":return"* => void";case":increment":return(D,w)=>parseFloat(w)>parseFloat(D);case":decrement":return(D,w)=>parseFloat(w)<parseFloat(D);default:return S.push(function er(j){return new o.wOt(3016,!1)}()),"* => *"}}(j,D);if("function"==typeof gt)return void S.push(gt);j=gt}const w=j.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==w||w.length<4)return D.push(function Hn(j){return new o.wOt(3015,!1)}()),S;const B=w[1],te=w[2],Ee=w[3];S.push(yv(B,Ee)),"<"==te[0]&&(B!=Fd||Ee!=Fd)&&S.push(yv(Ee,B))}(w,D,S)):D.push(j),D}(S.expr,D.errors);return{type:Nn.If.Transition,matchers:B,animation:w,queryCount:D.queryCount,depCount:D.depCount,options:bc(S.options)}}visitSequence(S,D){return{type:Nn.If.Sequence,steps:S.steps.map(w=>Iu(this,w,D)),options:bc(S.options)}}visitGroup(S,D){const w=D.currentTime;let B=0;const te=S.steps.map(Ee=>{D.currentTime=w;const ze=Iu(this,Ee,D);return B=Math.max(B,D.currentTime),ze});return D.currentTime=B,{type:Nn.If.Group,steps:te,options:bc(S.options)}}visitAnimate(S,D){const w=function r_(j,S){if(j.hasOwnProperty("duration"))return j;if("number"==typeof j)return nh(Zf(j,S).duration,0,"");const D=j;if(D.split(/\s+/).some(te=>"{"==te.charAt(0)&&"{"==te.charAt(1))){const te=nh(0,0,"");return te.dynamic=!0,te.strValue=D,te}const B=Zf(D,S);return nh(B.duration,B.delay,B.easing)}(S.timings,D.errors);D.currentAnimateTimings=w;let B,te=S.styles?S.styles:(0,Nn.iF)({});if(te.type==Nn.If.Keyframes)B=this.visitKeyframes(te,D);else{let Ee=S.styles,ze=!1;if(!Ee){ze=!0;const Dt={};w.easing&&(Dt.easing=w.easing),Ee=(0,Nn.iF)(Dt)}D.currentTime+=w.duration+w.delay;const gt=this.visitStyle(Ee,D);gt.isEmptyStep=ze,B=gt}return D.currentAnimateTimings=null,{type:Nn.If.Animate,timings:w,style:B,options:null}}visitStyle(S,D){const w=this._makeStyleAst(S,D);return this._validateStyleAst(w,D),w}_makeStyleAst(S,D){const w=[],B=Array.isArray(S.styles)?S.styles:[S.styles];for(let ze of B)"string"==typeof ze?ze===Nn.kp?w.push(ze):D.errors.push(new o.wOt(3002,!1)):w.push(new Map(Object.entries(ze)));let te=!1,Ee=null;return w.forEach(ze=>{if(ze instanceof Map&&(ze.has("easing")&&(Ee=ze.get("easing"),ze.delete("easing")),!te))for(let gt of ze.values())if(gt.toString().indexOf("{{")>=0){te=!0;break}}),{type:Nn.If.Style,styles:w,easing:Ee,offset:S.offset,containsDynamicStyles:te,options:null}}_validateStyleAst(S,D){const w=D.currentAnimateTimings;let B=D.currentTime,te=D.currentTime;w&&te>0&&(te-=w.duration+w.delay),S.styles.forEach(Ee=>{"string"!=typeof Ee&&Ee.forEach((ze,gt)=>{const Dt=D.collectedStyles.get(D.currentQuerySelector),Wt=Dt.get(gt);let yn=!0;Wt&&(te!=B&&te>=Wt.startTime&&B<=Wt.endTime&&(D.errors.push(function lv(j,S,D,w,B){return new o.wOt(3010,!1)}()),yn=!1),te=Wt.startTime),yn&&Dt.set(gt,{startTime:te,endTime:B}),D.options&&function Xy(j,S,D){const w=S.params||{},B=h0(j);B.length&&B.forEach(te=>{w.hasOwnProperty(te)||D.push(function nv(j){return new o.wOt(3001,!1)}())})}(ze,D.options,D.errors)})})}visitKeyframes(S,D){const w={type:Nn.If.Keyframes,styles:[],options:null};if(!D.currentAnimateTimings)return D.errors.push(function U(){return new o.wOt(3011,!1)}()),w;let te=0;const Ee=[];let ze=!1,gt=!1,Dt=0;const Wt=S.steps.map(Zr=>{const fi=this._makeStyleAst(Zr,D);let Ai=null!=fi.offset?fi.offset:function Ep(j){if("string"==typeof j)return null;let S=null;if(Array.isArray(j))j.forEach(D=>{if(D instanceof Map&&D.has("offset")){const w=D;S=parseFloat(w.get("offset")),w.delete("offset")}});else if(j instanceof Map&&j.has("offset")){const D=j;S=parseFloat(D.get("offset")),D.delete("offset")}return S}(fi.styles),bi=0;return null!=Ai&&(te++,bi=fi.offset=Ai),gt=gt||bi<0||bi>1,ze=ze||bi<Dt,Dt=bi,Ee.push(bi),fi});gt&&D.errors.push(function J(){return new o.wOt(3012,!1)}()),ze&&D.errors.push(function ke(){return new o.wOt(3200,!1)}());const yn=S.steps.length;let Bn=0;te>0&&te<yn?D.errors.push(function dt(){return new o.wOt(3202,!1)}()):0==te&&(Bn=1/(yn-1));const Ln=yn-1,Jn=D.currentTime,ir=D.currentAnimateTimings,Tr=ir.duration;return Wt.forEach((Zr,fi)=>{const Ai=Bn>0?fi==Ln?1:Bn*fi:Ee[fi],bi=Ai*Tr;D.currentTime=Jn+ir.delay+bi,ir.duration=bi,this._validateStyleAst(Zr,D),Zr.offset=Ai,w.styles.push(Zr)}),w}visitReference(S,D){return{type:Nn.If.Reference,animation:Iu(this,vp(S.animation),D),options:bc(S.options)}}visitAnimateChild(S,D){return D.depCount++,{type:Nn.If.AnimateChild,options:bc(S.options)}}visitAnimateRef(S,D){return{type:Nn.If.AnimateRef,animation:this.visitReference(S.animation,D),options:bc(S.options)}}visitQuery(S,D){const w=D.currentQuerySelector,B=S.options||{};D.queryCount++,D.currentQuery=S;const[te,Ee]=function t_(j){const S=!!j.split(/\s*,\s*/).find(D=>":self"==D);return S&&(j=j.replace(g0,"")),j=j.replace(/@\*/g,d0).replace(/@\w+/g,D=>d0+"-"+D.slice(1)).replace(/:animating/g,gv),[j,S]}(S.selector);D.currentQuerySelector=w.length?w+" "+te:te,du(D.collectedStyles,D.currentQuerySelector,new Map);const ze=Iu(this,vp(S.animation),D);return D.currentQuery=null,D.currentQuerySelector=w,{type:Nn.If.Query,selector:te,limit:B.limit||0,optional:!!B.optional,includeSelf:Ee,animation:ze,originalSelector:S.selector,options:bc(S.options)}}visitStagger(S,D){D.currentQuery||D.errors.push(function Gt(){return new o.wOt(3013,!1)}());const w="full"===S.timings?{duration:0,delay:0,easing:"full"}:Zf(S.timings,D.errors,!0);return{type:Nn.If.Stagger,animation:Iu(this,vp(S.animation),D),timings:w,options:null}}}class bv{constructor(S){this.errors=S,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function bc(j){return j?(j={...j}).params&&(j.params=function n_(j){return j?{...j}:null}(j.params)):j={},j}function nh(j,S,D){return{duration:j,delay:S,easing:D}}function j1(j,S,D,w,B,te,Ee=null,ze=!1){return{type:1,element:j,keyframes:S,preStyleProps:D,postStyleProps:w,duration:B,delay:te,totalTime:B+te,easing:Ee,subTimeline:ze}}class v0{constructor(){this._map=new Map}get(S){return this._map.get(S)||[]}append(S,D){let w=this._map.get(S);w||this._map.set(S,w=[]),w.push(...D)}has(S){return this._map.has(S)}clear(){this._map.clear()}}const o_=new RegExp(":enter","g"),s_=new RegExp(":leave","g");function Cv(j,S,D,w,B,te=new Map,Ee=new Map,ze,gt,Dt=[]){return(new H1).buildKeyframes(j,S,D,w,B,te,Ee,ze,gt,Dt)}class H1{buildKeyframes(S,D,w,B,te,Ee,ze,gt,Dt,Wt=[]){Dt=Dt||new v0;const yn=new Fv(S,D,Dt,B,te,Wt,[]);yn.options=gt;const Bn=gt.delay?jc(gt.delay):0;yn.currentTimeline.delayNextStep(Bn),yn.currentTimeline.setStyles([Ee],null,yn.errors,gt),Iu(this,w,yn);const Ln=yn.timelines.filter(Jn=>Jn.containsAnimation());if(Ln.length&&ze.size){let Jn;for(let ir=Ln.length-1;ir>=0;ir--){const Tr=Ln[ir];if(Tr.element===D){Jn=Tr;break}}Jn&&!Jn.allowOnlyTimelineStyles()&&Jn.setStyles([ze],null,yn.errors,gt)}return Ln.length?Ln.map(Jn=>Jn.buildKeyframes()):[j1(D,[],[],[],0,Bn,"",!1)]}visitTrigger(S,D){}visitState(S,D){}visitTransition(S,D){}visitAnimateChild(S,D){const w=D.subInstructions.get(D.element);if(w){const B=D.createSubContext(S.options),te=D.currentTimeline.currentTime,Ee=this._visitSubInstructions(w,B,B.options);te!=Ee&&D.transformIntoNewTimeline(Ee)}D.previousNode=S}visitAnimateRef(S,D){const w=D.createSubContext(S.options);w.transformIntoNewTimeline(),this._applyAnimationRefDelays([S.options,S.animation.options],D,w),this.visitReference(S.animation,w),D.transformIntoNewTimeline(w.currentTimeline.currentTime),D.previousNode=S}_applyAnimationRefDelays(S,D,w){for(const te of S){const Ee=null==te?void 0:te.delay;if(Ee){var B;const ze="number"==typeof Ee?Ee:jc(yp(Ee,null!==(B=null==te?void 0:te.params)&&void 0!==B?B:{},D.errors));w.delayNextStep(ze)}}}_visitSubInstructions(S,D,w){let te=D.currentTimeline.currentTime;const Ee=null!=w.duration?jc(w.duration):null,ze=null!=w.delay?jc(w.delay):null;return 0!==Ee&&S.forEach(gt=>{const Dt=D.appendInstructionToTimeline(gt,Ee,ze);te=Math.max(te,Dt.duration+Dt.delay)}),te}visitReference(S,D){D.updateOptions(S.options,!0),Iu(this,S.animation,D),D.previousNode=S}visitSequence(S,D){const w=D.subContextCount;let B=D;const te=S.options;if(te&&(te.params||te.delay)&&(B=D.createSubContext(te),B.transformIntoNewTimeline(),null!=te.delay)){B.previousNode.type==Nn.If.Style&&(B.currentTimeline.snapshotCurrentStyles(),B.previousNode=y0);const Ee=jc(te.delay);B.delayNextStep(Ee)}S.steps.length&&(S.steps.forEach(Ee=>Iu(this,Ee,B)),B.currentTimeline.applyStylesToKeyframe(),B.subContextCount>w&&B.transformIntoNewTimeline()),D.previousNode=S}visitGroup(S,D){const w=[];let B=D.currentTimeline.currentTime;const te=S.options&&S.options.delay?jc(S.options.delay):0;S.steps.forEach(Ee=>{const ze=D.createSubContext(S.options);te&&ze.delayNextStep(te),Iu(this,Ee,ze),B=Math.max(B,ze.currentTimeline.currentTime),w.push(ze.currentTimeline)}),w.forEach(Ee=>D.currentTimeline.mergeTimelineCollectedStyles(Ee)),D.transformIntoNewTimeline(B),D.previousNode=S}_visitTiming(S,D){if(S.dynamic){const w=S.strValue;return Zf(D.params?yp(w,D.params,D.errors):w,D.errors)}return{duration:S.duration,delay:S.delay,easing:S.easing}}visitAnimate(S,D){const w=D.currentAnimateTimings=this._visitTiming(S.timings,D),B=D.currentTimeline;w.delay&&(D.incrementTime(w.delay),B.snapshotCurrentStyles());const te=S.style;te.type==Nn.If.Keyframes?this.visitKeyframes(te,D):(D.incrementTime(w.duration),this.visitStyle(te,D),B.applyStylesToKeyframe()),D.currentAnimateTimings=null,D.previousNode=S}visitStyle(S,D){const w=D.currentTimeline,B=D.currentAnimateTimings;!B&&w.hasCurrentStyleProperties()&&w.forwardFrame();const te=B&&B.easing||S.easing;S.isEmptyStep?w.applyEmptyStep(te):w.setStyles(S.styles,te,D.errors,D.options),D.previousNode=S}visitKeyframes(S,D){const w=D.currentAnimateTimings,B=D.currentTimeline.duration,te=w.duration,ze=D.createSubContext().currentTimeline;ze.easing=w.easing,S.styles.forEach(gt=>{ze.forwardTime((gt.offset||0)*te),ze.setStyles(gt.styles,gt.easing,D.errors,D.options),ze.applyStylesToKeyframe()}),D.currentTimeline.mergeTimelineCollectedStyles(ze),D.transformIntoNewTimeline(B+te),D.previousNode=S}visitQuery(S,D){const w=D.currentTimeline.currentTime,B=S.options||{},te=B.delay?jc(B.delay):0;te&&(D.previousNode.type===Nn.If.Style||0==w&&D.currentTimeline.hasCurrentStyleProperties())&&(D.currentTimeline.snapshotCurrentStyles(),D.previousNode=y0);let Ee=w;const ze=D.invokeQuery(S.selector,S.originalSelector,S.limit,S.includeSelf,!!B.optional,D.errors);D.currentQueryTotal=ze.length;let gt=null;ze.forEach((Dt,Wt)=>{D.currentQueryIndex=Wt;const yn=D.createSubContext(S.options,Dt);te&&yn.delayNextStep(te),Dt===D.element&&(gt=yn.currentTimeline),Iu(this,S.animation,yn),yn.currentTimeline.applyStylesToKeyframe(),Ee=Math.max(Ee,yn.currentTimeline.currentTime)}),D.currentQueryIndex=0,D.currentQueryTotal=0,D.transformIntoNewTimeline(Ee),gt&&(D.currentTimeline.mergeTimelineCollectedStyles(gt),D.currentTimeline.snapshotCurrentStyles()),D.previousNode=S}visitStagger(S,D){const w=D.parentContext,B=D.currentTimeline,te=S.timings,Ee=Math.abs(te.duration),ze=Ee*(D.currentQueryTotal-1);let gt=Ee*D.currentQueryIndex;switch(te.duration<0?"reverse":te.easing){case"reverse":gt=ze-gt;break;case"full":gt=w.currentStaggerTime}const Wt=D.currentTimeline;gt&&Wt.delayNextStep(gt);const yn=Wt.currentTime;Iu(this,S.animation,D),D.previousNode=S,w.currentStaggerTime=B.currentTime-yn+(B.startTime-w.currentTimeline.startTime)}}const y0={};class Fv{constructor(S,D,w,B,te,Ee,ze,gt){this._driver=S,this.element=D,this.subInstructions=w,this._enterClassName=B,this._leaveClassName=te,this.errors=Ee,this.timelines=ze,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=y0,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=gt||new Uc(this._driver,D,0),ze.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(S,D){if(!S)return;const w=S;let B=this.options;null!=w.duration&&(B.duration=jc(w.duration)),null!=w.delay&&(B.delay=jc(w.delay));const te=w.params;if(te){let Ee=B.params;Ee||(Ee=this.options.params={}),Object.keys(te).forEach(ze=>{(!D||!Ee.hasOwnProperty(ze))&&(Ee[ze]=yp(te[ze],Ee,this.errors))})}}_copyOptions(){const S={};if(this.options){const D=this.options.params;if(D){const w=S.params={};Object.keys(D).forEach(B=>{w[B]=D[B]})}}return S}createSubContext(S=null,D,w){const B=D||this.element,te=new Fv(this._driver,B,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(B,w||0));return te.previousNode=this.previousNode,te.currentAnimateTimings=this.currentAnimateTimings,te.options=this._copyOptions(),te.updateOptions(S),te.currentQueryIndex=this.currentQueryIndex,te.currentQueryTotal=this.currentQueryTotal,te.parentContext=this,this.subContextCount++,te}transformIntoNewTimeline(S){return this.previousNode=y0,this.currentTimeline=this.currentTimeline.fork(this.element,S),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(S,D,w){const B={duration:null!=D?D:S.duration,delay:this.currentTimeline.currentTime+(null!=w?w:0)+S.delay,easing:""},te=new _0(this._driver,S.element,S.keyframes,S.preStyleProps,S.postStyleProps,B,S.stretchStartingKeyframe);return this.timelines.push(te),B}incrementTime(S){this.currentTimeline.forwardTime(this.currentTimeline.duration+S)}delayNextStep(S){S>0&&this.currentTimeline.delayNextStep(S)}invokeQuery(S,D,w,B,te,Ee){let ze=[];if(B&&ze.push(this.element),S.length>0){S=(S=S.replace(o_,"."+this._enterClassName)).replace(s_,"."+this._leaveClassName);let Dt=this._driver.query(this.element,S,1!=w);0!==w&&(Dt=w<0?Dt.slice(Dt.length+w,Dt.length):Dt.slice(0,w)),ze.push(...Dt)}return!te&&0==ze.length&&Ee.push(function pn(j){return new o.wOt(3014,!1)}()),ze}}class Uc{constructor(S,D,w,B){this._driver=S,this.element=D,this.startTime=w,this._elementTimelineStylesLookup=B,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=ne
1w Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(D),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(D,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(S){const D=1===this._keyframes.size&&this._pendingStyles.size;this.duration||D?(this.forwardTime(this.currentTime+S),D&&this.snapshotCurrentStyles()):this.startTime+=S}fork(S,D){return this.applyStylesToKeyframe(),new Uc(this._driver,S,D||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(S){this.applyStylesToKeyframe(),this.duration=S,this._loadKeyframe()}_updateStyle(S,D){this._localTimelineStyles.set(S,D),this._globalTimelineStyles.set(S,D),this._styleSummary.set(S,{time:this.currentTime,value:D})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(S){S&&this._previousKeyframe.set("easing",S);for(let[D,w]of this._globalTimelineStyles)this._backFill.set(D,w||Nn.kp),this._currentKeyframe.set(D,Nn.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(S,D,w,B){D&&this._previousKeyframe.set("easing",D);const te=B&&B.params||{},Ee=function G1(j,S){const D=new Map;let w;return j.forEach(B=>{if("*"===B){var te;null!==(te=w)&&void 0!==te||(w=S.keys());for(let Ee of w)D.set(Ee,Nn.kp)}else for(let[Ee,ze]of B)D.set(Ee,ze)}),D}(S,this._globalTimelineStyles);for(let[gt,Dt]of Ee){const Wt=yp(Dt,te,w);var ze;this._pendingStyles.set(gt,Wt),this._localTimelineStyles.has(gt)||this._backFill.set(gt,null!==(ze=this._globalTimelineStyles.get(gt))&&void 0!==ze?ze:Nn.kp),this._updateStyle(gt,Wt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((S,D)=>{this._currentKeyframe.set(D,S)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((S,D)=>{this._currentKeyframe.has(D)||this._currentKeyframe.set(D,S)}))}snapshotCurrentStyles(){for(let[S,D]of this._localTimelineStyles)this._pendingStyles.set(S,D),this._updateStyle(S,D)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const S=[];for(let D in this._currentKeyframe)S.push(D);return S}
1mergeTimelineCollectedStyles(S){S._styleSummary.forEach((D,w)=>{const B=this._styleSummary.get(w);(!B||D.time>B.time)&&this._updateStyle(w,D.value)})}buildKeyframes(){this.applyStylesToKeyframe();const S=new Set,D=new Set,w=1===this._keyframes.size&&0===this.duration;let B=[];this._keyframes.forEach((ze,gt)=>{const Dt=new Map([...this._backFill,...ze]);Dt.forEach((Wt,yn)=>{Wt===Nn.FX?S.add(yn):Wt===Nn.kp&&D.add(yn)}),w||Dt.set("offset",gt/this.duration),B.push(Dt)});const te=[...S.values()],Ee=[...D.values()];if(w){const ze=B[0],gt=new Map(ze);ze.set("offset",0),gt.set("offset",1),B=[ze,gt]}return j1(this.element,B,te,Ee,this.duration,this.startTime,this.easing,!1)}}class _0 extends Uc{constructor(S,D,w,B,te,Ee,ze=!1){super(S,D,Ee.delay),this.keyframes=w,this.preStyleProps=B,this.postStyleProps=te,this._stretchStartingKeyframe=ze,this.timings={duration:Ee.duration,delay:Ee.delay,easing:Ee.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let S=this.keyframes,{delay:D,duration:w,easing:B}=this.timings;if(this._stretchStartingKeyframe&&D){const te=[],Ee=w+D,ze=D/Ee,gt=new Map(S[0]);gt.set("offset",0),te.push(gt);const Dt=new Map(S[0]);Dt.set("offset",V1(ze)),te.push(Dt);const Wt=S.length-1;for(let yn=1;yn<=Wt;yn++){let Bn=new Map(S[yn]);const Ln=Bn.get("offset");Bn.set("offset",V1((D+Ln*w)/Ee)),te.push(Bn)}w=Ee,D=0,B="",S=te}return j1(this.element,S,this.preStyleProps,this.postStyleProps,w,D,B,!0)}}function V1(j,S=3){const D=Math.pow(10,S-1);return Math.round(j*D)/D}function z1(j,S,D,w,B,te,Ee,ze,gt,Dt,Wt,yn,Bn){return{type:0,element:j,triggerName:S,isRemovalTransition:B,fromState:D,fromStyles:te,toState:w,toStyles:Ee,timelines:ze,queriedElements:gt,preStyleProps:Dt,postStyleProps:Wt,totalTime:yn,errors:Bn}}const b0={};class a_{constructor(S,D,w){this._triggerName=S,this.ast=D,this._stateStyles=w}match(S,D,w,B){return function E0(j,S,D,w,B){return j.some(te=>te(S,D,w,B))}(this.ast.matchers,S,D,w,B)}buildStyles(S,D,w){let B=this._stateStyles.get("*");return void 0!==S&&(B=this._stateStyles.get(null==S?void 0:S.toString())||B),B?B.buildStyles(D,w):new Map}build(S,D,w,B,te,Ee,ze,gt,Dt,Wt){var yn;const Bn=[],Ln=this.ast.options&&this.ast.options.params||b0,ir=this.buildStyles(w,ze&&ze.params||b0,Bn),Tr=gt&>.params||b0,Zr=this.buildStyles(B,Tr,Bn),fi=new Set,Ai=new Map,bi=new Map,Mi="void"===B,yi={params:Sv(Tr,Ln),delay:null===(yn=this.ast.options)||void 0===yn?void 0:yn.delay},Ei=Wt?[]:Cv(S,D,this.ast.animation,te,Ee,ir,Zr,yi,Dt,Bn);let uo=0;return Ei.forEach(Do=>{uo=Math.max(Do.duration+Do.delay,uo)}),Bn.length?z1(D,this._triggerName,w,B,Mi,ir,Zr,[],[],Ai,bi,uo,Bn):(Ei.forEach(Do=>{const jo=Do.element,Vs=du(Ai,jo,new Set);Do.preStyleProps.forEach(Aa=>Vs.add(Aa));const _s=du(bi,jo,new Set);Do.postStyleProps.forEach(Aa=>_s.add(Aa)),jo!==D&&fi.add(jo)}),z1(D,this._triggerName,w,B,Mi,ir,Zr,Ei,[...fi.values()],Ai,bi,uo))}}function Sv(j,S){const D={...S};return Object.entries(j).forEach(([w,B])=>{null!=B&&(D[w]=B)}),D}class l_{constructor(S,D,w){this.styles=S,this.defaultParams=D,this.normalizer=w}buildStyles(S,D){const w=new Map,B=Sv(S,this.defaultParams);return this.styles.styles.forEach(te=>{"string"!=typeof te&&te.forEach((Ee,ze)=>{Ee&&(Ee=yp(Ee,B,D));const gt=this.normalizer.normalizePropertyName(ze,D);Ee=this.normalizer.normalizeStyleValue(ze,gt,Ee,D),w.set(ze,Ee)})}),w}}class c_{constructor(S,D,w){this.name=S,this.ast=D,this._normalizer=w,this.transitionFactories=[],this.states=new Map,D.states.forEach(B=>{this.states.set(B.name,new l_(B.style,B.options&&B.options.params||{},w))}),d_(this.states,"true","1"),d_(this.states,"false","0"),D.transitions.forEach(B=>{this.transitionFactories.push(new a_(S,B,this.states))}),this.fallbackTransition=function wv(j,S,D){return new a_(j,{type:Nn.If.Transition,animation:{type:Nn.If.Sequence,steps:[],options:null},matchers:[(Ee,ze)=>!0],options:null,queryCount:0,depCount:0},S)}(S,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(S,D,w,B){return this.transitionFactories.find(Ee=>Ee.match(S,D,w,B))||null}matchStyles(S,D,w){return this.fallbackTransition.buildStyles(S,D,w)}}function d_(j,S,D){j.has(S)?j.has(D)||j.set(D,j.get(S)):j.has(D)&&j.set(S,j.get(D))}const $1=new v0;class Ec{constructor(S,D,w){this.bodyNode=S,this._driver=D,this._normalizer=w,this._animations=new Map,this._playersById=new Map,this.players=[]}register(S,D){const w=[],te=_v(this._driver,D,w,[]);if(w.length)throw function Hi(j){return new o.wOt(3503,!1)}();this._animations.set(S,te)}_buildPlayer(S,D,w){const B=S.element,te=Xf(this._normalizer,S.keyframes,D,w);return this._driver.animate(B,te,S.duration,S.delay,S.easing,[],!0)}create(S,D,w={}){const B=[],te=this._animations.get(S);let Ee;const ze=new Map;if(te?(Ee=Cv(this._driver,D,te,hv,pv,new Map,new Map,w,$1,B),Ee.forEach(Wt=>{const yn=du(ze,Wt.element,new Map);Wt.postStyleProps.forEach(Bn=>yn.set(Bn,null))})):(B.push(function mo(){return new o.wOt(3300,!1)}()),Ee=[]),B.length)throw function Po(j){return new o.wOt(3504,!1)}();ze.forEach((Wt,yn)=>{Wt.forEach((Bn,Ln)=>{Wt.set(Ln,this._driver.computeStyle(yn,Ln,Nn.kp))})});const Dt=Hl(Ee.map(Wt=>{const yn=ze.get(Wt.element);return this._buildPlayer(Wt,new Map,yn)}));return this._playersById.set(S,Dt),Dt.onDestroy(()=>this.destroy(S)),this.players.push(Dt),Dt}destroy(S){const D=this._getPlayer(S);D.destroy(),this._playersById.delete(S);const w=this.players.indexOf(D);w>=0&&this.players.splice(w,1)}_getPlayer(S){const D=this._playersById.get(S);if(!D)throw function ys(j){return new o.wOt(3301,!1)}();return D}listen(S,D,w,B){const te=Yf(D,"","","");return r0(this._getPlayer(S),w,te,B),()=>{}}command(S,D,w,B){if("register"==w)return void this.register(S,B[0]);if("create"==w)return void this.create(S,D,B[0]||{});const te=this._getPlayer(S);switch(w){case"play":te.play();break;case"pause":te.pause();break;case"reset":te.reset();break;case"restart":te.restart();break;case"finish":te.finish();break;
vendor: 29,465 bytes, line 1
1case"init":te.init();break;case"setPosition":te.setPosition(parseFloat(B[0]));break;case"destroy":this.destroy(S)}}}const Tv="ng-animate-queued",W1="ng-animate-disabled",p_=[],K1={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Dv={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Uu="__ng_removed";class C0{get params(){return this.options.params}constructor(S,D=""){this.namespaceId=D;const w=S&&S.hasOwnProperty("value");if(this.value=function g_(j){return null!=j?j:null}(w?S.value:S),w){const{value:te,...Ee}=S;this.options=Ee}else this.options={};this.options.params||(this.options.params={})}absorbOptions(S){const D=S.params;if(D){const w=this.options.params;Object.keys(D).forEach(B=>{null==w[B]&&(w[B]=D[B])})}}}const rh="void",Iv=new C0(rh);class m_{constructor(S,D,w){this.id=S,this.hostElement=D,this._engine=w,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+S,Cl(D,this._hostClassName)}listen(S,D,w,B){if(!this._triggers.has(D))throw function go(j,S){return new o.wOt(3302,!1)}();if(null==w||0==w.length)throw function Ss(j){return new o.wOt(3303,!1)}();if(!function q1(j){return"start"==j||"done"==j}(w))throw function Ms(j,S){return new o.wOt(3400,!1)}();const te=du(this._elementListeners,S,[]),Ee={name:D,phase:w,callback:B};te.push(Ee);const ze=du(this._engine.statesByElement,S,new Map);return ze.has(D)||(Cl(S,c0),Cl(S,c0+"-"+D),ze.set(D,Iv)),()=>{this._engine.afterFlush(()=>{const gt=te.indexOf(Ee);gt>=0&&te.splice(gt,1),this._triggers.has(D)||ze.delete(D)})}}register(S,D){return!this._triggers.has(S)&&(this._triggers.set(S,D),!0)}_getTrigger(S){const D=this._triggers.get(S);if(!D)throw function lu(j){return new o.wOt(3401,!1)}();return D}trigger(S,D,w,B=!0){const te=this._getTrigger(D),Ee=new F0(this.id,D,S);let ze=this._engine.statesByElement.get(S);ze||(Cl(S,c0),Cl(S,c0+"-"+D),this._engine.statesByElement.set(S,ze=new Map));let gt=ze.get(D);const Dt=new C0(w,this.id);if(!(w&&w.hasOwnProperty("value"))&>&&Dt.absorbOptions(gt.options),ze.set(D,Dt),gt||(gt=Iv),Dt.value!==rh&>.value===Dt.value){if(!function v_(j,S){const D=Object.keys(j),w=Object.keys(S);if(D.length!=w.length)return!1;for(let B=0;B<D.length;B++){const te=D[B];if(!S.hasOwnProperty(te)||j[te]!==S[te])return!1}return!0}(gt.params,Dt.params)){const ir=[],Tr=te.matchStyles(gt.value,gt.params,ir),Zr=te.matchStyles(Dt.value,Dt.params,ir);ir.length?this._engine.reportError(ir):this._engine.afterFlush(()=>{df(S,Tr),yu(S,Zr)})}return}const Bn=du(this._engine.playersByElement,S,[]);Bn.forEach(ir=>{ir.namespaceId==this.id&&ir.triggerName==D&&ir.queued&&ir.destroy()});let Ln=te.matchTransition(gt.value,Dt.value,S,Dt.params),Jn=!1;if(!Ln){if(!B)return;Ln=te.fallbackTransition,Jn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:S,triggerName:D,transition:Ln,fromState:gt,toState:Dt,player:Ee,isFallbackTransition:Jn}),Jn||(Cl(S,Tv),Ee.onStart(()=>{Hc(S,Tv)})),Ee.onDone(()=>{let ir=this.players.indexOf(Ee);ir>=0&&this.players.splice(ir,1);const Tr=this._engine.playersByElement.get(S);if(Tr){let Zr=Tr.indexOf(Ee);Zr>=0&&Tr.splice(Zr,1)}}),this.players.push(Ee),Bn.push(Ee),Ee}deregister(S){this._triggers.delete(S),this._engine.statesByElement.forEach(D=>D.delete(S)),this._elementListeners.forEach((D,w)=>{this._elementListeners.set(w,D.filter(B=>B.name!=S))})}clearElementCache(S){this._engine.statesByElement.delete(S),this._elementListeners.delete(S);const D=this._engine.playersByElement.get(S);D&&(D.forEach(w=>w.destroy()),this._engine.playersByElement.delete(S))}_signalRemovalForInnerTriggers(S,D){const w=this._engine.driver.query(S,d0,!0);w.forEach(B=>{if(B[Uu])return;const te=this._engine.fetchNamespacesByElement(B);te.size?te.forEach(Ee=>Ee.triggerLeaveAnimation(B,D,!1,!0)):this.clearElementCache(B)}),this._engine.afterFlushAnimationsDone(()=>w.forEach(B=>this.clearElementCache(B)))}triggerLeaveAnimation(S,D,w,B){const te=this._engine.statesByElement.get(S),Ee=new Map;if(te){const ze=[];if(te.forEach((gt,Dt)=>{if(Ee.set(Dt,gt.value),this._triggers.has(Dt)){const Wt=this.trigger(S,Dt,rh,B);Wt&&ze.push(Wt)}}),ze.length)return this._engine.markElementAsRemoved(this.id,S,!0,D,Ee),w&&Hl(ze).onDone(()=>this._engine.processLeaveNode(S)),!0}return!1}prepareLeaveAnimationListeners(S){const D=this._elementListeners.get(S),w=this._engine.statesByElement.get(S);if(D&&w){const B=new Set;D.forEach(te=>{const Ee=te.name;if(B.has(Ee))return;B.add(Ee);const gt=this._triggers.get(Ee).fallbackTransition,Dt=w.get(Ee)||Iv,Wt=new C0(rh),yn=new F0(this.id,Ee,S);this._engine.totalQueuedPlayers++,this._queue.push({element:S,triggerName:Ee,transition:gt,fromState:Dt,toState:Wt,player:yn,isFallbackTransition:!0})})}}removeNode(S,D){const w=this._engine;if(S.childElementCount&&this._signalRemovalForInnerTriggers(S,D),this.triggerLeaveAnimation(S,D,!0))return;let B=!1;if(w.totalAnimations){const te=w.players.length?w.playersByQueriedElement.get(S):[];if(te&&te.length)B=!0;else{let Ee=S;for(;Ee=Ee.parentNode;)if(w.statesByElement.get(Ee)){B=!0;break}}}if(this.prepareLeaveAnimationListeners(S),B)w.markElementAsRemoved(this.id,S,!1,D);else{const te=S[Uu];(!te||te===K1)&&(w.afterFlush(()=>this.clearElementCache(S)),w.destroyInnerAnimations(S),w._onRemovalComplete(S,D))}}insertNode(S,D){Cl(S,this._hostClassName)}drainQueuedTransitions(S){const D=[];return this._queue.forEach(w=>{const B=w.player;if(B.destroyed)return;const te=w.element,Ee=this._elementListeners.get(te);Ee&&Ee.forEach(ze=>{if(ze.name==w.triggerName){const gt=Yf(te,w.triggerName,w.fromState.value,w.toState.value);gt._data=S,r0(w.player,ze.phase,gt,ze.callback)}}),B.markedForDestroy?this._engine.afterFlush(()=>{B.destroy()}):D.push(w)}),this._queue=[],D.sort((w,B)=>{const te=w.transition.ast.depCount,Ee=B.transition.ast.depCount;return 0==te||0==Ee?te-Ee:this._engine.driver.containsElement(w.element,B.element)?1:-1})}destroy(S){this.players.forEach(D=>D.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,S)}}class ff{_onRemovalComplete(S,D){this.onRemovalComplete(S,D)}constructor(S,D,w,B){this.bodyNode=S,this.driver=D,this._normalizer=w,this.scheduler=B,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(te,Ee)=>{}}get queuedPlayers(){const S=[];return this._namespaceList.forEach(D=>{D.players.forEach(w=>{w.queued&&S.push(w)})}),S}createNamespace(S,D){const w=new m_(S,D,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,D)?this._balanceNamespaceList(w,D):(this.newHostElements.set(D,w),this.collectEnterElement(D)),this._namespaceLookup[S]=w}_balanceNamespaceList(S,D){const w=this._namespaceList,B=this.namespacesByHostElement;if(w.length-1>=0){let Ee=!1,ze=this.driver.getParentElement(D);for(;ze;){const gt=B.get(ze);if(gt){const Dt=w.indexOf(gt);w.splice(Dt+1,0,S),Ee=!0;break}ze=this.driver.getParentElement(ze)}Ee||w.unshift(S)}else w.push(S);return B.set(D,S),S}register(S,D){let w=this._namespaceLookup[S];return w||(w=this.createNamespace(S,D)),w}registerTrigger(S,D,w){let B=this._namespaceLookup[S];B&&B.register(D,w)&&this.totalAnimations++}destroy(S,D){S&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const w=this._fetchNamespace(S);this.namespacesByHostElement.delete(w.hostElement);const B=this._namespaceList.indexOf(w);B>=0&&this._namespaceList.splice(B,1),w.destroy(D),delete this._namespaceLookup[S]}))}_fetchNamespace(S){return this._namespaceLookup[S]}fetchNamespacesByElement(S){const D=new Set,w=this.statesByElement.get(S);if(w)for(let B of w.values())if(B.namespaceId){const te=this._fetchNamespace(B.namespaceId);te&&D.add(te)}return D}trigger(S,D,w,B){if(Cp(D)){const te=this._fetchNamespace(S);if(te)return te.trigger(D,w,B),!0}return!1}insertNode(S,D,w,B){if(!Cp(D))return;const te=D[Uu];if(te&&te.setForRemoval){te.setForRemoval=!1,te.setForMove=!0;const Ee=this.collectedLeaveElements.indexOf(D);Ee>=0&&this.collectedLeaveElements.splice(Ee,1)}if(S){const Ee=this._fetchNamespace(S);Ee&&Ee.insertNode(D,w)}B&&this.collectEnterElement(D)}collectEnterElement(S){this.collectedEnterElements.push(S)}markElementAsDisabled(S,D){D?this.disabledNodes.has(S)||(this.disabledNodes.add(S),Cl(S,W1)):this.disabledNodes.has(S)&&(this.disabledNodes.delete(S),Hc(S,W1))}removeNode(S,D,w){if(Cp(D)){var B;null===(B=this.scheduler)||void 0===B||B.notify();const te=S?this._fetchNamespace(S):null;te?te.removeNode(D,w):this.markElementAsRemoved(S,D,!1,w);const Ee=this.namespacesByHostElement.get(D);Ee&&Ee.id!==S&&Ee.removeNode(D,w)}else this._onRemovalComplete(D,w)}markElementAsRemoved(S,D,w,B,te){this.collectedLeaveElements.push(D),D[Uu]={namespaceId:S,setForRemoval:B,hasAnimation:w,removedBeforeQueried:!1,previousTriggersValues:te}}listen(S,D,w,B,te){return Cp(D)?this._fetchNamespace(S).listen(D,w,B,te):()=>{}}_buildInstruction(S,D,w,B,te){return S.transition.build(this.driver,S.element,S.fromState.value,S.toState.value,w,B,S.fromState.options,S.toState.options,D,te)}destroyInnerAnimations(S){let D=this.driver.query(S,d0,!0);D.forEach(w=>this.destroyActiveAnimationsForElement(w)),0!=this.playersByQueriedElement.size&&(D=this.driver.query(S,gv,!0),D.forEach(w=>this.finishActiveQueriedAnimationOnElement(w)))}destroyActiveAnimationsForElement(S){const D=this.playersByElement.get(S);D&&D.forEach(w=>{w.queued?w.markedForDestroy=!0:w.destroy()})}finishActiveQueriedAnimationOnElement(S){const D=this.playersByQueriedElement.get(S);D&&D.forEach(w=>w.finish())}whenRenderingDone(){return new Promise(S=>{if(this.players.length)return Hl(this.players).onDone(()=>S());S()})}processLeaveNode(S){var D;const w=S[Uu];if(w&&w.setForRemoval){if(S[Uu]=K1,w.namespaceId){this.destroyInnerAnimations(S);const B=this._fetchNamespace(w.namespaceId);B&&B.clearElementCache(S)}this._onRemovalComplete(S,w.setForRemoval)}null!==(D=S.classList)&&void 0!==D&&D.contains(W1)&&this.markElementAsDisabled(S,!1),this.driver.query(S,".ng-animate-disabled",!0).forEach(B=>{this.markElementAsDisabled(B,!1)})}flush(S=-1){let D=[];if(this.newHostElements.size&&(this.newHostElements.forEach((w,B)=>this._balanceNamespaceList(w,B)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let w=0;w<this.collectedEnterElements.length;w++)Cl(this.collectedEnterElements[w],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const w=[];try{D=this._flushAnimations(w,S)}finally{for(let B=0;B<w.length;B++)w[B]()}}else for(let w=0;w<this.collectedLeaveElements.length;w++)this.processLeaveNode(this.collectedLeaveElements[w]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(w=>w()),this._flushFns=[],this._whenQuietFns.length){const w=this._whenQuietFns;this._whenQuietFns=[],D.length?Hl(D).onDone(()=>{w.forEach(B=>B())}):w.forEach(B=>B())}}reportError(S){throw function xl(j){return new o.wOt(3402,!1)}()}_flushAnimations(S,D){const w=new v0,B=[],te=new Map,Ee=[],ze=new Map,gt=new Map,Dt=new Map,Wt=new Set;this.disabledNodes.forEach(Li=>{Wt.add(Li);const Yi=this.driver.query(Li,".ng-animate-queued",!0);for(let Qi=0;Qi<Yi.length;Qi++)Wt.add(Yi[Qi])});const yn=this.bodyNode,Bn=Array.from(this.statesByElement.keys()),Ln=S0(Bn,this.collectedEnterElements),Jn=new Map;let ir=0;Ln.forEach((Li,Yi)=>{const Qi=hv+ir++;Jn.set(Yi,Qi),Li.forEach(Bo=>Cl(Bo,Qi))});const Tr=[],Zr=new Set,fi=new Set;for(let Li=0;Li<this.collectedLeaveElements.length;Li++){const Yi=this.collectedLeaveElements[Li],Qi=Yi[Uu];Qi&&Qi.setForRemoval&&(Tr.push(Yi),Zr.add(Yi),Qi.hasAnimation?this.driver.query(Yi,".ng-star-inserted",!0).forEach(Bo=>Zr.add(Bo)):fi.add(Yi))}const Ai=new Map,bi=S0(Bn,Array.from(Zr));bi.forEach((Li,Yi)=>{const Qi=pv+ir++;Ai.set(Yi,Qi),Li.forEach(Bo=>Cl(Bo,Qi))}),S.push(()=>{Ln.forEach((Li,Yi)=>{const Qi=Jn.get(Yi);Li.forEach(Bo=>Hc(Bo,Qi))}),bi.forEach((Li,Yi)=>{const Qi=Ai.get(Yi);Li.forEach(Bo=>Hc(Bo,Qi))}),Tr.forEach(Li=>{this.processLeaveNode(Li)})});const Mi=[],yi=[];for(let Li=this._namespaceList.length-1;Li>=0;Li--)this._namespaceList[Li].drainQueuedTransitions(D).forEach(Qi=>{const Bo=Qi.player,Gs=Qi.element;if(Mi.push(Bo),this.collectedEnterElements.length){const Da=Gs[Uu];if(Da&&Da.setForMove){if(Da.previousTriggersValues&&Da.previousTriggersValues.has(Qi.triggerName)){const zs=Da.previousTriggersValues.get(Qi.triggerName),pa=this.statesByElement.get(Qi.element);if(pa&&pa.has(Qi.triggerName)){const wl=pa.get(Qi.triggerName);wl.value=zs,pa.set(Qi.triggerName,wl)}}return void Bo.destroy()}}const Za=!yn||!this.driver.containsElement(yn,Gs),Ka=Ai.get(Gs),ha=Jn.get(Gs),Os=this._buildInstruction(Qi,w,ha,Ka,Za);if(Os.errors&&Os.errors.length)return void yi.push(Os);if(Za)return Bo.onStart(()=>df(Gs,Os.fromStyles)),Bo.onDestroy(()=>yu(Gs,Os.toStyles)),void B.push(Bo);if(Qi.isFallbackTransition)return Bo.onStart(()=>df(Gs,Os.fromStyles)),Bo.onDestroy(()=>yu(Gs,Os.toStyles)),void B.push(Bo);const Fl=[];Os.timelines.forEach(Da=>{Da.stretchStartingKeyframe=!0,this.disabledNodes.has(Da.element)||Fl.push(Da)}),Os.timelines=Fl,w.append(Gs,Os.timelines),Ee.push({instruction:Os,player:Bo,element:Gs}),Os.queriedElements.forEach(Da=>du(ze,Da,[]).push(Bo)),Os.preStyleProps.forEach((Da,zs)=>{if(Da.size){let pa=gt.get(zs);pa||gt.set(zs,pa=new Set),Da.forEach((wl,Tl)=>pa.add(Tl))}}),Os.postStyleProps.forEach((Da,zs)=>{let pa=Dt.get(zs);pa||Dt.set(zs,pa=new Set),Da.forEach((wl,Tl)=>pa.add(Tl))})});if(yi.length){const Li=[];yi.forEach(Yi=>{Li.push(function Oa(j,S){return new o.wOt(3505,!1)}())}),Mi.forEach(Yi=>Yi.destroy()),this.reportError(Li)}const Ei=new Map,uo=new Map;Ee.forEach(Li=>{const Yi=Li.element;w.has(Yi)&&(uo.set(Yi,Yi),this._beforeAnimationBuild(Li.player.namespaceId,Li.instruction,Ei))}),B.forEach(Li=>{const Yi=Li.element;this._getPreviousPlayers(Yi,!1,Li.namespaceId,Li.triggerName,null).forEach(Bo=>{du(Ei,Yi,[]).push(Bo),Bo.destroy()})});const Do=Tr.filter(Li=>w0(Li,gt,Dt)),jo=new Map;ih(jo,this.driver,fi,Dt,Nn.kp).forEach(Li=>{w0(Li,gt,Dt)&&Do.push(Li)});const _s=new Map;Ln.forEach((Li,Yi)=>{ih(_s,this.driver,new Set(Li),gt,Nn.FX)}),Do.forEach(Li=>{var Yi,Qi;const Bo=jo.get(Li),Gs=_s.get(Li);jo.set(Li,new Map([...null!==(Yi=null==Bo?void 0:Bo.entries())&&void 0!==Yi?Yi:[],...null!==(Qi=null==Gs?void 0:Gs.entries())&&void 0!==Qi?Qi:[]]))});const Aa=[],Qa=[],Ja={};Ee.forEach(Li=>{const{element:Yi,player:Qi,instruction:Bo}=Li;if(w.has(Yi)){if(Wt.has(Yi))return Qi.onDestroy(()=>yu(Yi,Bo.toStyles)),Qi.disabled=!0,Qi.overrideTotalTime(Bo.totalTime),void B.push(Qi);let Gs=Ja;if(uo.size>1){let Ka=Yi;const ha=[];for(;Ka=Ka.parentNode;){const Os=uo.get(Ka);if(Os){Gs=Os;break}ha.push(Ka)}ha.forEach(Os=>uo.set(Os,Gs))}const Za=this._buildAnimation(Qi.namespaceId,Bo,Ei,te,_s,jo);if(Qi.setRealPlayer(Za),Gs===Ja)Aa.push(Qi);else{const Ka=this.playersByElement.get(Gs);Ka&&Ka.length&&(Qi.parentPlayer=Hl(Ka)),B.push(Qi)}}else df(Yi,Bo.fromStyles),Qi.onDestroy(()=>yu(Yi,Bo.toStyles)),Qa.push(Qi),Wt.has(Yi)&&B.push(Qi)}),Qa.forEach(Li=>{const Yi=te.get(Li.element);if(Yi&&Yi.length){const Qi=Hl(Yi);Li.setRealPlayer(Qi)}}),B.forEach(Li=>{Li.parentPlayer?Li.syncPlayerEvents(Li.parentPlayer):Li.destroy()});for(let Li=0;Li<Tr.length;Li++){const Yi=Tr[Li],Qi=Yi[Uu];if(Hc(Yi,pv),Qi&&Qi.hasAnimation)continue;let Bo=[];if(ze.size){let Za=ze.get(Yi);Za&&Za.length&&Bo.push(...Za);let Ka=this.driver.query(Yi,gv,!0);for(let ha=0;ha<Ka.length;ha++){let Os=ze.get(Ka[ha]);Os&&Os.length&&Bo.push(...Os)}}const Gs=Bo.filter(Za=>!Za.destroyed);Gs.length?X1(this,Yi,Gs):this.processLeaveNode(Yi)}return Tr.length=0,Aa.forEach(Li=>{this.players.push(Li),Li.onDone(()=>{Li.destroy();const Yi=this.players.indexOf(Li);this.players.splice(Yi,1)}),Li.play()}),Aa}afterFlush(S){this._flushFns.push(S)}afterFlushAnimationsDone(S){this._whenQuietFns.push(S)}_getPreviousPlayers(S,D,w,B,te){let Ee=[];if(D){const ze=this.playersByQueriedElement.get(S);ze&&(Ee=ze)}else{const ze=this.playersByElement.get(S);if(ze){const gt=!te||te==rh;ze.forEach(Dt=>{Dt.queued||!gt&&Dt.triggerName!=B||Ee.push(Dt)})}}return(w||B)&&(Ee=Ee.filter(ze=>!(w&&w!=ze.namespaceId||B&&B!=ze.triggerName))),Ee}_beforeAnimationBuild(S,D,w){const te=D.element,Ee=D.isRemovalTransition?void 0:S,ze=D.isRemovalTransition?void 0:D.triggerName;for(const gt of D.timelines){const Dt=gt.element,Wt=Dt!==te,yn=du(w,Dt,[]);this._getPreviousPlayers(Dt,Wt,Ee,ze,D.toState).forEach(Ln=>{const Jn=Ln.getRealPlayer();Jn.beforeDestroy&&Jn.beforeDestroy(),Ln.destroy(),yn.push(Ln)})}df(te,D.fromStyles)}_buildAnimation(S,D,w,B,te,Ee){const ze=D.triggerName,gt=D.element,Dt=[],Wt=new Set,yn=new Set,Bn=D.timelines.map(Jn=>{const ir=Jn.element;Wt.add(ir);const Tr=ir[Uu];if(Tr&&Tr.removedBeforeQueried)return new Nn.sf(Jn.duration,Jn.delay);const Zr=ir!==gt,fi=function Fp(j){const S=[];return Y1(j,S),S}((w.get(ir)||p_).map(Ei=>Ei.getRealPlayer())).filter(Ei=>!!Ei.element&&Ei.element===ir),Ai=te.get(ir),bi=Ee.get(ir),Mi=Xf(this._normalizer,Jn.keyframes,Ai,bi),yi=this._buildPlayer(Jn,Mi,fi);if(Jn.subTimeline&&B&&yn.add(ir),Zr){const Ei=new F0(S,ze,ir);Ei.setRealPlayer(yi),Dt.push(Ei)}return yi});Dt.forEach(Jn=>{du(this.playersByQueriedElement,Jn.element,[]).push(Jn),Jn.onDone(()=>function Rv(j,S,D){let w=j.get(S);if(w){if(w.length){const B=w.indexOf(D);w.splice(B,1)}0==w.length&&j.delete(S)}return w}(this.playersByQueriedElement,Jn.element,Jn))}),Wt.forEach(Jn=>Cl(Jn,mv));const Ln=Hl(Bn);return Ln.onDestroy(()=>{Wt.forEach(Jn=>Hc(Jn,mv)),yu(gt,D.toStyles)}),yn.forEach(Jn=>{du(B,Jn,[]).push(Ln)}),Ln}_buildPlayer(S,D,w){return D.length>0?this.driver.animate(S.element,D,S.duration,S.delay,S.easing,w):new Nn.sf(S.duration,S.delay)}}class F0{constructor(S,D,w){this.namespaceId=S,this.triggerName=D,this.element=w,this._player=new Nn.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(S){this._containsRealPlayer||(this._player=S,this._queuedCallbacks.forEach((D,w)=>{D.forEach(B=>r0(S,w,void 0,B))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(S.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(S){this.totalTime=S}syncPlayerEvents(S){const D=this._player;D.triggerCallback&&S.onStart(()=>D.triggerCallback("start")),S.onDone(()=>this.finish()),S.onDestroy(()=>this.destroy())}_queueEvent(S,D){du(this._queuedCallbacks,S,[]).push(D)}onDone(S){this.queued&&this._queueEvent("done",S),this._player.onDone(S)}onStart(S){this.queued&&this._queueEvent("start",S),this._player.onStart(S)}onDestroy(S){this.queued&&this._queueEvent("destroy",S),this._player.onDestroy(S)}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(S){this.queued||this._player.setPosition(S)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(S){const D=this._player;D.triggerCallback&&D.triggerCallback(S)}}function Cp(j){return j&&1===j.nodeType}function kv(j,S){const D=j.style.display;return j.style.display=null!=S?S:"none",D}function ih(j,S,D,w,B){const te=[];D.forEach(gt=>te.push(kv(gt)));const Ee=[];w.forEach((gt,Dt)=>{const Wt=new Map;gt.forEach(yn=>{const Bn=S.computeStyle(Dt,yn,B);Wt.set(yn,Bn),(!Bn||0==Bn.length)&&(Dt[Uu]=Dv,Ee.push(Dt))}),j.set(Dt,Wt)});let ze=0;return D.forEach(gt=>kv(gt,te[ze++])),Ee}function S0(j,S){const D=new Map;if(j.forEach(ze=>D.set(ze,[])),0==S.length)return D;const B=new Set(S),te=new Map;function Ee(ze){if(!ze)return 1;let gt=te.get(ze);if(gt)return gt;const Dt=ze.parentNode;return gt=D.has(Dt)?Dt:B.has(Dt)?1:Ee(Dt),te.set(ze,gt),gt}return S.forEach(ze=>{const gt=Ee(ze);1!==gt&&D.get(gt).push(ze)}),D}function Cl(j,S){var D;null===(D=j.classList)||void 0===D||D.add(S)}function Hc(j,S){var D;null===(D=j.classList)||void 0===D||D.remove(S)}function X1(j,S,D){Hl(D).onDone(()=>j.processLeaveNode(S))}function Y1(j,S){for(let D=0;D<j.length;D++){const w=j[D];w instanceof Nn.ui?Y1(w.players,S):S.push(w)}}function w0(j,S,D){const w=D.get(j);if(!w)return!1;let B=S.get(j);return B?w.forEach(te=>B.add(te)):S.set(j,w),D.delete(j),!0}class oh{constructor(S,D,w,B){this._driver=D,this._normalizer=w,this._triggerCache={},this.onRemovalComplete=(te,Ee)=>{},this._transitionEngine=new ff(S.body,D,w,B),this._timelineEngine=new Ec(S.body,D,w),this._transitionEngine.onRemovalComplete=(te,Ee)=>this.onRemovalComplete(te,Ee)}registerTrigger(S,D,w,B,te){const Ee=S+"-"+B;let ze=this._triggerCache[Ee];if(!ze){const gt=[],Wt=_v(this._driver,te,gt,[]);if(gt.length)throw function ii(j,S){return new o.wOt(3404,!1)}();ze=function u_(j,S,D){return new c_(j,S,D)}(B,Wt,this._normalizer),this._triggerCache[Ee]=ze}this._transitionEngine.registerTrigger(D,B,ze)}register(S,D){this._transitionEngine.register(S,D)}destroy(S,D){this._transitionEngine.destroy(S,D)}onInsert(S,D,w,B){this._transitionEngine.insertNode(S,D,w,B)}onRemove(S,D,w){this._transitionEngine.removeNode(S,D,w)}disableAnimations(S,D){this._transitionEngine.markElementAsDisabled(S,D)}process(S,D,w,B){if("@"==w.charAt(0)){const[te,Ee]=_c(w);this._timelineEngine.command(te,D,Ee,B)}else this._transitionEngine.trigger(S,D,w,B)}listen(S,D,w,B,te){if("@"==w.charAt(0)){const[Ee,ze]=_c(w);return this._timelineEngine.listen(Ee,D,ze,te)}return this._transitionEngine.listen(S,D,w,B,te)}flush(S=-1){this._transitionEngine.flush(S)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(S){this._transitionEngine.afterFlushAnimationsDone(S)}}class Cc{constructor(S,D,w){this._element=S,this._startStyles=D,this._endStyles=w,this._state=0;let B=Cc.initialStylesByElement.get(S);B||Cc.initialStylesByElement.set(S,B=new Map),this._initialStyles=B}start(){this._state<1&&(this._startStyles&&yu(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(yu(this._element,this._initialStyles),this._endStyles&&(yu(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Cc.initialStylesByElement.delete(this._element),this._startStyles&&(df(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(df(this._element,this._endStyles),this._endStyles=null),yu(this._element,this._initialStyles),this._state=3)}}function Q1(j){let S=null;return j.forEach((D,w)=>{(function T0(j){return"display"===j||"position"===j})(w)&&(S=S||new Map,S.set(w,D))}),S}Cc.initialStylesByElement=new WeakMap;class Nv{constructor(S,D,w,B){this.element=S,this.keyframes=D,this.options=w,this._specialStyles=B,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=w.duration,this._delay=w.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(S=>S()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const S=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,S,this.options),this._finalKeyframe=S.length?S[S.length-1]:new Map;const D=()=>this._onFinish();this.domPlayer.addEventListener("finish",D),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",D)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(S){const D=[];return S.forEach(w=>{D.push(Object.fromEntries(w))}),D}_triggerWebAnimation(S,D,w){return S.animate(this._convertKeyframesToObject(D),w)}onStart(S){this._originalOnStartFns.push(S),this._onStartFns.push(S)}onDone(S){this._originalOnDoneFns.push(S),this._onDoneFns.push(S)}onDestroy(S){this._onDestroyFns.push(S)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(S=>S()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),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&&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(S=>S()),this._onDestroyFns=[])}setPosition(S){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=S*this.time}getPosition(){var S;return+(null!==(S=this.domPlayer.currentTime)&&void 0!==S?S:0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const S=new Map;this.hasStarted()&&this._finalKeyframe.forEach((w,B)=>{"offset"!==B&&S.set(B,this._finished?w:N1(this.element,B))}),this.currentSnapshot=S}triggerCallback(S){const D="start"===S?this._onStartFns:this._onDoneFns;D.forEach(w=>w()),D.length=0}}class Ov{validateStyleProperty(S){return!0}validateAnimatableStyleProperty(S){return!0}matchesElement(S,D){return!1}containsElement(S,D){return s0(S,D)}getParentElement(S){return uv(S)}query(S,D,w){return Jf(S,D,w)}computeStyle(S,D,w){return N1(S,D)}animate(S,D,w,B,te,Ee=[]){const gt={duration:w,delay:B,fill:0==B?"both":"forwards"};te&&(gt.easing=te);const Dt=new Map,Wt=Ee.filter(Ln=>Ln instanceof Nv);(function Yy(j,S){return 0===j||0===S})(w,B)&&Wt.forEach(Ln=>{Ln.currentSnapshot.forEach((Jn,ir)=>Dt.set(ir,Jn))});let yn=function gp(j){return j.length?j[0]instanceof Map?j:j.map(S=>new Map(Object.entries(S))):[]}(D).map(Ln=>new Map(Ln));yn=function Vb(j,S,D){if(D.size&&S.length){let w=S[0],B=[];if(D.forEach((te,Ee)=>{w.has(Ee)||B.push(Ee),w.set(Ee,te)}),B.length)for(let te=1;te<S.length;te++){let Ee=S[te];B.forEach(ze=>Ee.set(ze,N1(j,ze)))}}return S}(S,yn,Dt);const Bn=function Sd(j,S){let D=null,w=null;return Array.isArray(S)&&S.length?(D=Q1(S[0]),S.length>1&&(w=Q1(S[S.length-1]))):S instanceof Map&&(D=Q1(S)),D||w?new Cc(j,D,w):null}(S,yn);return new Nv(S,yn,gt,Bn)}}const J1="@.disabled";class Z1{constructor(S,D,w,B){this.namespaceId=S,this.delegate=D,this.engine=w,this._onDestroy=B,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(S){var D,w;null===(D=(w=this.delegate).destroyNode)||void 0===D||D.call(w,S)}destroy(){var S;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),null===(S=this._onDestroy)||void 0===S||S.call(this)}createElement(S,D){return this.delegate.createElement(S,D)}createComment(S){return this.delegate.createComment(S)}createText(S){return this.delegate.createText(S)}appendChild(S,D){this.delegate.appendChild(S,D),this.engine.onInsert(this.namespaceId,D,S,!1)}insertBefore(S,D,w,B=!0){this.delegate.insertBefore(S,D,w),this.engine.onInsert(this.namespaceId,D,S,B)}removeChild(S,D,w){this.engine.onRemove(this.namespaceId,D,this.delegate)}selectRootElement(S,D){return this.delegate.selectRootElement(S,D)}parentNode(S){return this.delegate.parentNode(S)}nextSibling(S){return this.delegate.nextSibling(S)}setAttribute(S,D,w,B){this.delegate.setAttribute(S,D,w,B)}removeAttribute(S,D,w){this.delegate.removeAttribute(S,D,w)}addClass(S,D){this.delegate.addClass(S,D)}removeClass(S,D){this.delegate.removeClass(S,D)}setStyle(S,D,w,B){this.delegate.setStyle(S,D,w,B)}removeStyle(S,D,w){this.delegate.removeStyle(S,D,w)}setProperty(S,D,w){"@"==D.charAt(0)&&D==J1?this.disableAnimations(S,!!w):this.delegate.setProperty(S,D,w)}setValue(S,D){this.delegate.setValue(S,D)}listen(S,D,w){return this.delegate.listen(S,D,w)}disableAnimations(S,D){this.engine.disableAnimations(S,D)}}class y_ extends Z1{constructor(S,D,w,B,te){super(D,w,B,te),this.factory=S,this.namespaceId=D}setProperty(S,D,w){"@"==D.charAt(0)?"."==D.charAt(1)&&D==J1?this.disableAnimations(S,w=void 0===w||!!w):this.engine.process(this.namespaceId,S,D.slice(1),w):this.delegate.setProperty(S,D,w)}listen(S,D,w){if("@"==D.charAt(0)){const B=function __(j){switch(j){case"body":return document.body;case"document":return document;case"window":return window;default:return j}}(S);let te=D.slice(1),Ee="";return"@"!=te.charAt(0)&&([te,Ee]=function b_(j){const S=j.indexOf(".");return[j.substring(0,S),j.slice(S+1)]}(te)),this.engine.listen(this.namespaceId,B,te,Ee,ze=>{this.factory.scheduleListenerCallback(ze._data||-1,w,ze)}
1)}return this.delegate.listen(S,D,w)}}class E_{constructor(S,D,w){this.delegate=S,this.engine=D,this._zone=w,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,D.onRemovalComplete=(B,te)=>{const Ee=null==te?void 0:te.parentNode(B);Ee&&te.removeChild(Ee,B)}}createRenderer(S,D){var w;const te=this.delegate.createRenderer(S,D);if(!S||null==D||null===(w=D.data)||void 0===w||!w.animation){const Wt=this._rendererCache;let yn=Wt.get(te);return yn||(yn=new Z1("",te,this.engine,()=>Wt.delete(te)),Wt.set(te,yn)),yn}const Ee=D.id,ze=D.id+"-"+this._currentId;this._currentId++,this.engine.register(ze,S);const gt=Wt=>{Array.isArray(Wt)?Wt.forEach(gt):this.engine.registerTrigger(Ee,ze,S,Wt.name,Wt)};return D.data.animation.forEach(gt),new y_(this,ze,te,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(S,D,w){if(S>=0&&S<this._microtaskId)return void this._zone.run(()=>D(w));const B=this._animationCallbacksBuffer;0==B.length&&queueMicrotask(()=>{this._zone.run(()=>{B.forEach(te=>{const[Ee,ze]=te;Ee(ze)}),this._animationCallbacksBuffer=[]})}),B.push([D,w])}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()}}const ey=[{provide:dv,useFactory:function F_(){return new O1}},{provide:oh,useClass:(()=>{var j;class S extends oh{constructor(w,B,te){super(w,B,te,(0,o.WQX)(o.An2,{optional:!0}))}ngOnDestroy(){this.flush()}}return(j=S).\u0275fac=function(w){return new(w||j)(o.KVO(Y.qQ),o.KVO(l0),o.KVO(dv))},j.\u0275prov=o.jDH({token:j,factory:j.\u0275fac}),S})()},{provide:o._9s,useFactory:function A0(j,S,D){return new E_(j,S,D)},deps:[c.B7,oh,o.SKi]}],xv=[{provide:l0,useFactory:()=>new Ov},{provide:o.bc$,useValue:"BrowserAnimations"},...ey],Mv=[{provide:l0,useClass:a0},{provide:o.bc$,useValue:"NoopAnimations"},...ey];let ty=(()=>{var j;class S{static withConfig(w){return{ngModule:S,providers:w.disableAnimations?Mv:xv}}}return(j=S).\u0275fac=function(w){return new(w||j)},j.\u0275mod=o.$C({type:j}),j.\u0275inj=o.G2t({providers:xv,imports:[c.Bb]}),S})();var ry=f(70647);function Lv(j){return new iy}class iy{getTranslation(S){switch(S){case"en-US":return(0,z.of)(Mh);case"zh-CN":return(0,z.of)(Lh);default:return(0,z.of)(kc)}}}const oy=[{provide:hc.a7,useClass:cp,multi:!0}],T_=[nc,{provide:o.hnV,useFactory:function w_(j){return()=>j.load()},deps:[nc],multi:!0}];class A_ extends c.EZ{constructor(){super(...arguments),this.overrides={swipe:{direction:Hammer.DIRECTION_ALL}}}}let Bv=(()=>{var j;class S{constructor(w,B){this.injector=w,this.commonService=B,h.$.initialize(this.injector)}}return(j=S).\u0275fac=function(w){return new(w||j)(o.KVO(o.zZn),o.KVO(H.hf))},j.\u0275mod=o.$C({type:j,bootstrap:[Nh]}),j.\u0275inj=o.G2t({providers:[{provide:C.b,useClass:a.jM},{provide:c.kQ,useClass:A_},lf.p,nr.P,...oy,...T_,Yu.h,Xn.J,kh.W,x._,Kn.F,H.hf,fp.k,Z.b,Ic.L,Hd,um.U,cl.A,Ot.y,ry.E,Qp.v,{provide:o.zcH,useValue:Qm()},{provide:up,deps:[C.Ix]},{provide:o.hnV,useFactory:()=>()=>{},deps:[up],multi:!0}],imports:[c.Bb,hc.q1,ty,E.bv.forRoot({mode:"ios",swipeBackEnabled:!0,hardwareBackButton:!0,inputShims:!0,inputBlurring:!0,scrollAssist:!0,navAnimation:dp.cJ}),Ef,ei.forRoot({formats:["bold","italic","underline","strike","align","blockquote","code","header","script","indent","size","color","background","mention","emoji","image"],customModules:[{implementation:yg,path:"modules/mention"},{implementation:f1,path:"modules/clipboard"},{implementation:Eg,path:"modules/speedinput"}]}),fm.forRoot({name:"aiwow-cache",driverOrder:[u.C.IndexedDB,u.C.LocalStorage]}),lm.WJ.register("ngsw-worker.js",{enabled:!0,registrationStrategy:"registerWhenStable:30000"}),ae.h.forRoot({loader:{provide:ae.Wr,useFactory:Lv,deps:[hc.Qq]}}),Oh.k]}),S})();var D0=f(31288);window,typeof window>"u"?Promise.resolve():(0,D0.p)().then(()=>(0,D0.b)([["pwa-camera-modal",[[1,"pwa-camera-modal",{facingMode:[1,"facing-mode"],hidePicker:[4,"hide-picker"],present:[64],dismiss:[64]}]]],["pwa-action-sheet",[[1,"pwa-action-sheet",{header:[1],cancelable:[4],options:[16],open:[32]}]]],["pwa-toast",[[1,"pwa-toast",{message:[1],duration:[2],closing:[32]}]]],["pwa-camera",[[1,"pwa-camera",{facingMode:[1,"facing-mode"],handlePhoto:[16],hidePicker:[4,"hide-picker"],handleNoDeviceError:[16],noDevicesText:[1,"no-devices-text"],noDevicesButtonText:[1,"no-devices-button-text"],photo:[32],photoSrc:[32],showShutterOverlay:[32],flashIndex:[32],hasCamera:[32],rotation:[32],deviceError:[32]}]]],["pwa-camera-modal-instance",[[1,"pwa-camera-modal-instance",{facingMode:[1,"facing-mode"],hidePicker:[4,"hide-picker"],noDevicesText:[1,"no-devices-text"],noDevicesButtonText:[1,"no-devices-button-text"]},[[16,"keyup","handleBackdropKeyUp"]]]]]],void 0)),ne.c.production&&(0,o.SmG)(),c.sG().bootstrapModule(Bv).catch(j=>console.error(j))},9465:ge=>{"use strict";const{AbortController:_,AbortSignal:f}=typeof self<"u"?self:typeof window<"u"?window:void 0;ge.exports=_,ge.exports.AbortSignal=f,ge.exports.default=_},9654:(ge,_,f)=>{"use strict";var c=f(29293).default;const o=f(16795);
1class C extends Error{constructor(T,...s){let h;super(...s),Error.captureStackTrace&&Error.captureStackTrace(this,C),this.name="StatusError",this.message=T.statusMessage,this.statusCode=T.status,this.res=T,this.json=T.json.bind(T),this.text=T.text.bind(T),this.arrayBuffer=T.arrayBuffer.bind(T),Object.defineProperty(this,"responseBody",{get:()=>(h||(h=this.arrayBuffer()),h)}),this.headers={};for(const[v,g]of T.headers.entries())this.headers[v.toLowerCase()]=g}}ge.exports=o((E,T,s,h,u)=>function(){var v=c(function*(g,y,p={}){g=u+(g||"");let b=new URL(g);if(h||(h={}),b.username&&(h.Authorization="Basic "+btoa(b.username+":"+b.password),b=new URL(b.protocol+"//"+b.host+b.pathname+b.search)),"https:"!==b.protocol&&"http:"!==b.protocol)throw new Error(`Unknown protocol, ${b.protocol}`);if(y&&!(y instanceof ArrayBuffer||ArrayBuffer.isView(y)||"string"==typeof y)){if("object"!=typeof y)throw new Error("Unknown body type.");y=JSON.stringify(y),h["Content-Type"]="application/json"}p=new Headers({...h||{},...p});const R=yield fetch(b,{method:T,headers:p,body:y});if(R.statusCode=R.status,!E.has(R.status))throw new C(R);return"json"===s?R.json():"buffer"===s?R.arrayBuffer():"string"===s?R.text():R});return function(g,y){return v.apply(this,arguments)}}())},16795:ge=>{"use strict";const _=new Set(["json","buffer","string"]);ge.exports=f=>(...c)=>{const o=new Set;let C,a,E,T="";return c.forEach(s=>{if("string"==typeof s)if(s.toUpperCase()===s){if(C)throw new Error(`Can't set method to ${s}, already set to ${C}.`);C=s}else if(s.startsWith("http:")||s.startsWith("https:"))T=s;else{if(!_.has(s))throw new Error(`Unknown encoding, ${s}`);a=s}else if("number"==typeof s)o.add(s);else{if("object"!=typeof s)throw new Error("Unknown type: "+typeof s);if(Array.isArray(s)||s instanceof Set)s.forEach(h=>o.add(h));else{if(E)throw new Error("Cannot set headers twice.");E=s}}}),C||(C="GET"),0===o.size&&o.add(200),f(o,C,a,E,T)}},74205:ge=>{ge.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},51549:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.groupSelectors=_.getDocumentRoot=void 0;var c=f(38659);_.getDocumentRoot=function o(a){for(;a.parent;)a=a.parent;return a},_.groupSelectors=function C(a){for(var E=[],T=[],s=0,h=a;s<h.length;s++){var u=h[s];u.some(c.isFilter)?E.push(u):T.push(u)}return[T,E]}},28576:function(ge,_,f){"use strict";var c=this&&this.__assign||function(){return c=Object.assign||function(de){for(var ee,Y=1,ae=arguments.length;Y<ae;Y++)for(var fe in ee=arguments[Y])Object.prototype.hasOwnProperty.call(ee,fe)&&(de[fe]=ee[fe]);return de},c.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(de,ee,Y,ae){void 0===ae&&(ae=Y);var fe=Object.getOwnPropertyDescriptor(ee,Y);
1(!fe||("get"in fe?!ee.__esModule:fe.writable||fe.configurable))&&(fe={enumerable:!0,get:function(){return ee[Y]}}),Object.defineProperty(de,ae,fe)}:function(de,ee,Y,ae){void 0===ae&&(ae=Y),de[ae]=ee[Y]}),C=this&&this.__setModuleDefault||(Object.create?function(de,ee){Object.defineProperty(de,"default",{enumerable:!0,value:ee})}:function(de,ee){de.default=ee}),a=this&&this.__importStar||function(de){if(de&&de.__esModule)return de;var ee={};if(null!=de)for(var Y in de)"default"!==Y&&Object.prototype.hasOwnProperty.call(de,Y)&&o(ee,de,Y);return C(ee,de),ee},E=this&&this.__spreadArray||function(de,ee,Y){if(Y||2===arguments.length)for(var ne,ae=0,fe=ee.length;ae<fe;ae++)(ne||!(ae in ee))&&(ne||(ne=Array.prototype.slice.call(ee,0,ae)),ne[ae]=ee[ae]);return de.concat(ne||Array.prototype.slice.call(ee))};Object.defineProperty(_,"__esModule",{value:!0}),_.select=_.filter=_.some=_.is=_.aliases=_.pseudos=_.filters=void 0;var T=f(67355),s=f(89214),h=a(f(80449)),u=a(f(74205)),v=f(51549),g=f(38659),y=f(89214);Object.defineProperty(_,"filters",{enumerable:!0,get:function(){return y.filters}}),Object.defineProperty(_,"pseudos",{enumerable:!0,get:function(){return y.pseudos}}),Object.defineProperty(_,"aliases",{enumerable:!0,get:function(){return y.aliases}});var p={type:T.SelectorType.Universal,namespace:null},b={type:T.SelectorType.Pseudo,name:"scope",data:null};function P(de,ee,Y){if(void 0===Y&&(Y={}),"function"==typeof ee)return de.some(ee);var ae=(0,v.groupSelectors)((0,T.parse)(ee)),fe=ae[0],ne=ae[1];return fe.length>0&&de.some((0,s._compileToken)(fe,Y))||ne.some(function(ce){return K(ce,de,Y).length>0})}function V(de,ee,Y){if(0===ee.length)return[];var ce,ae=(0,v.groupSelectors)(de),fe=ae[0],ne=ae[1];if(fe.length){var me=Z(ee,fe,Y);if(0===ne.length)return me;me.length&&(ce=new Set(me))}for(var re=0;re<ne.length&&(null==ce?void 0:ce.size)!==ee.length;re++){var $=ne[re];if(0===(ce?ee.filter(function(N){return h.isTag(N)&&!ce.has(N)}):ee).length)break;if((me=K($,ee,Y)).length)if(ce)me.forEach(function(N){return ce.add(N)});else{if(re===ne.length-1)return me;ce=new Set(me)}}return typeof ce<"u"?ce.size===ee.length?ee:ee.filter(function(M){return ce.has(M)}):[]}function K(de,ee,Y){var ae;if(de.some(T.isTraversal)){var fe=null!==(ae=Y.root)&&void 0!==ae?ae:(0,v.getDocumentRoot)(ee[0]),ne=c(c({},Y),{context:ee,relativeSelector:!1});return de.push(b),H(fe,de,ne,!0,ee.length)}return H(ee,de,Y,!1,ee.length)}function H(de,ee,Y,ae,fe){var ne=ee.findIndex(g.isFilter),ce=ee.slice(0,ne),me=ee[ne],$=(0,g.getLimit)(me.name,me.data,ee.length-1===ne?fe:1/0);if(0===$)return[];var M=(0!==ce.length||Array.isArray(de)?0===ce.length?(Array.isArray(de)?de:[de]).filter(h.isTag):ae||ce.some(T.isTraversal)?x(de,[ce],Y,$):Z(de,[ce],Y):h.getChildren(de).filter(h.isTag)).slice(0,$),N=function k(de,ee,Y,ae){var fe="string"==typeof Y?parseInt(Y,10):NaN;switch(de){case"first":case"lt":return ee;case"last":return ee.length>0?[ee[ee.length-1]]:ee;case"nth":case"eq":return isFinite(fe)&&Math.abs(fe)<ee.length?[fe<0?ee[ee.length+fe]:ee[fe]]:[];case"gt":return isFinite(fe)?ee.slice(fe+1):[];case"even":return ee.filter(function(ce,me){return me%2==0});case"odd":return ee.filter(function(ce,me){return me%2==1});case"not":var ne=new Set(V(Y,ee,ae));return ee.filter(function(ce){return!ne.has(ce)})}}(me.name,M,me.data,Y);if(0===N.length||ee.length===ne+1)return N;var G=ee.slice(ne+1),ue=G.some(T.isTraversal);if(ue){if((0,T.isTraversal)(G[0])){var ve=G[0].type;(ve===T.SelectorType.Sibling||ve===T.SelectorType.Adjacent)&&(N=(0,s.prepareContext)(N,h,!0)),G.unshift(p)}Y=c(c({},Y),{relativeSelector:!1,rootFunc:function(we){return N.includes(we)}})}else Y.rootFunc&&Y.rootFunc!==u.trueFunc&&(Y=c(c({},Y),{rootFunc:u.trueFunc}));return G.some(g.isFilter)?H(N,G,Y,!1,fe):ue?x(N,[G],Y,fe):Z(N,[G],Y)}function x(de,ee,Y,ae){return q(de,(0,s._compileToken)(ee,Y,de),ae)}function q(de,ee,Y){void 0===Y&&(Y=1/0);var ae=(0,s.prepareContext)(de,h,ee.shouldTestNextSiblings);return h.find(function(fe){return h.isTag(fe)&&ee(fe)},ae,!0,Y)}function Z(de,ee,Y){var ae=(Array.isArray(de)?de:[de]).filter(h.isTag);if(0===ae.length)return ae;var fe=(0,s._compileToken)(ee,Y);return fe===u.trueFunc?ae:ae.filter(fe)}_.is=function R(de,ee,Y){return void 0===Y&&(Y={}),P([de],ee,Y)},_.some=P,_.filter=function O(de,ee,Y){return void 0===Y&&(Y={}),V((0,T.parse)(de),ee,Y)},_.select=function z(de,ee,Y,ae){if(void 0===Y&&(Y={}),void 0===ae&&(ae=1/0),"function"==typeof de)return q(ee,de);var fe=(0,v.groupSelectors)((0,T.parse)(de)),ne=fe[0],me=fe[1].map(function(re){return H(ee,re,Y,!0,ae)});return ne.length&&me.push(x(ee,ne,Y,ae)),0===me.length?[]:1===me.length?me[0]:h.uniqueSort(me.reduce(function(re,$){return E(E([],re,!0),$,!0)}))}},38659:(ge,_)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.getLimit=_.isFilter=_.filterNames=void 0,_.filterNames=new Set(["first","last","eq","gt","nth","lt","even","odd"]),_.isFilter=function f(o){return"pseudo"===o.type&&(!!_.filterNames.has(o.name)||!("not"!==o.name||!Array.isArray(o.data))&&o.data.some(function(C){return C.some(f)}))},_.getLimit=function c(o,C,a){var E=null!=C?parseInt(C,10):NaN;switch(o){case"first":return 1;case"nth":case"eq":return isFinite(E)?E>=0?E+1:1/0:0;case"lt":return isFinite(E)?E>=0?Math.min(E,a):1/0:0;case"gt":return isFinite(E)?1/0:0;case"odd":return 2*a;case"even":return 2*a-1;case"last":case"not":return 1/0}}},79801:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.toggleClass=_.removeClass=_.addClass=_.hasClass=_.removeAttr=_.val=_.data=_.prop=_.attr=void 0;var c=f(53527),o=f(55604),C=f(80449),a=Object.prototype.hasOwnProperty,E=/\s+/,T="data-",s={null:null,true:!0,false:!1},h=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,u=/^{[^]*}$|^\[[^]*]$/;function v(ee,Y,ae){var fe;if(ee&&(0,o.isTag)(ee)){if(null!==(fe=ee.attribs)&&void 0!==fe||(ee.attribs={}),!Y)return ee.attribs;if(a.call(ee.attribs,Y))return!ae&&h.test(Y)?Y:ee.attribs[Y];if("option"===ee.name&&"value"===Y)return(0,c.text)(ee.children);if("input"===ee.name&&("radio"===ee.attribs.type||"checkbox"===ee.attribs.type)&&"value"===Y)return"on"}}function g(ee,Y,ae){null===ae?K(ee,Y):ee.attribs[Y]="".concat(ae)}function p(ee,Y,ae){if(ee&&(0,o.isTag)(ee))return Y in ee?ee[Y]:!ae&&h.test(Y)?void 0!==v(ee,Y,!1):v(ee,Y,ae)}function b(ee,Y,ae,fe){Y in ee?ee[Y]=ae:g(ee,Y,!fe&&h.test(Y)?ae?"":null:"".concat(ae))}function P(ee,Y,ae){var fe,ne=ee;null!==(fe=ne.data)&&void 0!==fe||(ne.data={}),"object"==typeof Y?Object.assign(ne.data,Y):"string"==typeof Y&&void 0!==ae&&(ne.data[Y]=ae)}function k(ee,Y){var ae,fe,ne;null==Y?fe=(ae=Object.keys(ee.attribs).filter(function($){return $.startsWith(T)})).map(function($){return(0,o.camelCase)($.slice(5))}):(ae=[T+(0,o.cssCase)(Y)],fe=[Y]);for(var ce=0;ce<ae.length;++ce){var me=ae[ce],re=fe[ce];if(a.call(ee.attribs,me)&&!a.call(ee.data,re)){if(a.call(s,ne=ee.attribs[me]))ne=s[ne];else if(ne===String(Number(ne)))ne=Number(ne);else if(u.test(ne))try{ne=JSON.parse(ne)}catch{}ee.data[re]=ne}}return null==Y?ee.data:ne}function K(ee,Y){!ee.attribs||!a.call(ee.attribs,Y)||delete ee.attribs[Y]}function z(ee){return ee?ee.trim().split(E):[]}_.attr=function y(ee,Y){if("object"==typeof ee||void 0!==Y){if("function"==typeof Y){if("string"!=typeof ee)throw new Error("Bad combination of arguments.");return(0,o.domEach)(this,function(ae,fe){(0,o.isTag)(ae)&&g(ae,ee,Y.call(ae,fe,ae.attribs[ee]))})}return(0,o.domEach)(this,function(ae){(0,o.isTag)(ae)&&("object"==typeof ee?Object.keys(ee).forEach(function(fe){g(ae,fe,ee[fe])}):g(ae,ee,Y))})}return arguments.length>1?this:v(this[0],ee,this.options.xmlMode)},_.prop=function R(ee,Y){var fe,ae=this;if("string"==typeof ee&&void 0===Y)switch(ee){case"style":var ne=this.css(),ce=Object.keys(ne);return ce.forEach(function($,X){ne[X]=$}),ne.length=ce.length,ne;case"tagName":case"nodeName":return(0,o.isTag)(me=this[0])?me.name.toUpperCase():void 0;case"href":case"src":var me;if(!(0,o.isTag)(me=this[0]))return;var re=null===(fe=me.attribs)||void 0===fe?void 0:fe[ee];return typeof URL<"u"&&("href"===ee&&("a"===me.tagName||"link"===me.name)||"src"===ee&&("img"===me.tagName||"iframe"===me.tagName||"audio"===me.tagName||"video"===me.tagName||"source"===me.tagName))&&void 0!==re&&this.options.baseURI?new URL(re,this.options.baseURI).href:re;case"innerText":return(0,C.innerText)(this[0]);case"textContent":return(0,C.textContent)(this[0]);case"outerHTML":return this.clone().wrap("<container />").parent().html();case"innerHTML":return this.html();default:return p(this[0],ee,this.options.xmlMode)}if("object"==typeof ee||void 0!==Y){if("function"==typeof Y){if("object"==typeof ee)throw new Error("Bad combination of arguments.");return(0,o.domEach)(this,function($,X){(0,o.isTag)($)&&b($,ee,Y.call($,X,p($,ee,ae.options.xmlMode)),ae.options.xmlMode)})}return(0,o.domEach)(this,function($){(0,o.isTag)($)&&("object"==typeof ee?Object.keys(ee).forEach(function(X){b($,X,ee[X],ae.options.xmlMode)}):b($,ee,Y,ae.options.xmlMode))})}},_.data=function O(ee,Y){var ae,fe=this[0];if(fe&&(0,o.isTag)(fe)){var ne=fe;return null!==(ae=ne.data)&&void 0!==ae||(ne.data={}),ee?"object"==typeof ee||void 0!==Y?((0,o.domEach)(this,function(ce){(0,o.isTag)(ce)&&("object"==typeof ee?P(ce,ee):P(ce,ee,Y))}),this):a.call(ne.data,ee)?ne.data[ee]:k(ne,ee):k(ne)}},_.val=function V(ee){var Y=0===arguments.length,ae=this[0];if(!ae||!(0,o.isTag)(ae))return Y?void 0:this;switch(ae.name){case"textarea":return this.text(ee);case"select":var fe=this.find("option:selected");if(!Y){if(null==this.attr("multiple")&&"object"==typeof ee)return this;this.find("option").removeAttr("selected");for(var ne="object"!=typeof ee?[ee]:ee,ce=0;ce<ne.length;ce++)this.find('option[value="'.concat(ne[ce],'"]')).attr("selected","");return this}return this.attr("multiple")?fe.toArray().map(function(me){return(0,c.text)(me.children)}):fe.attr("value");case"input":case"option":return Y?this.attr("value"):this.attr("value",ee)}},_.removeAttr=function H(ee){for(var Y=z(ee),ae=function(ce){(0,o.domEach)(fe,function(me){(0,o.isTag)(me)&&K(me,Y[ce])})},fe=this,ne=0;ne<Y.length;ne++)ae(ne);return this},_.hasClass=function x(ee){return this.toArray().some(function(Y){var ae=(0,o.isTag)(Y)&&Y.attribs.class,fe=-1;if(ae&&ee.length)for(;(fe=ae.indexOf(ee,fe+1))>-1;){var ne=fe+ee.length;if((0===fe||E.test(ae[fe-1]))&&(ne===ae.length||E.test(ae[ne])))return!0}return!1})},_.addClass=function q(ee){if("function"==typeof ee)return(0,o.domEach)(this,function(X,M){(0,o.isTag)(X)&&q.call([X],ee.call(X,M,X.attribs.class||""))});if(!ee||"string"!=typeof ee)return this;for(var Y=ee.split(E),ae=this.length,fe=0;fe<ae;fe++){var ne=this[fe];if((0,o.isTag)(ne)){var ce=v(ne,"class",!1);if(ce){for(var me=" ".concat(ce," "),re=0;re<Y.length;re++){var $="".concat(Y[re]," ");me.includes(" ".concat($))||(me+=$)}g(ne,"class",me.trim())}else g(ne,"class",Y.join(" ").trim())}}return this},_.removeClass=function Z(ee){if("function"==typeof ee)return(0,o.domEach)(this,function(ne,ce){(0,o.isTag)(ne)&&Z.call([ne],ee.call(ne,ce,ne.attribs.class||""))});var Y=z(ee),ae=Y.length,fe=0===arguments.length;return(0,o.domEach)(this,function(ne){if((0,o.isTag)(ne))if(fe)ne.attribs.class="";else{for(var ce=z(ne.attribs.class),me=!1,re=0;re<ae;re++){var $=ce.indexOf(Y[re]);$>=0&&(ce.splice($,1),me=!0,re--)}me&&(ne.attribs.class=ce.join(" "))}})},_.toggleClass=function de(ee,Y){if("function"==typeof ee)return(0,o.domEach)(this,function(N,G){(0,o.isTag)(N)&&de.call([N],ee.call(N,G,N.attribs.class||"",Y),Y)});if(!ee||"string"!=typeof ee)return this;for(var ae=ee.split(E),fe=ae.length,ne="boolean"==typeof Y?Y?1:-1:0,ce=this.length,me=0;me<ce;me++){var re=this[me];if((0,o.isTag)(re)){for(var $=z(re.attribs.class),X=0;X<fe;X++){var M=$.indexOf(ae[X]);ne>=0&&M<0?$.push(ae[X]):ne<=0&&M>=0&&$.splice(M,1)}re.attribs.class=$.join(" ")}}return this}},59561:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.css=void 0;var c=f(55604);function C(s,h,u,v){if("string"==typeof h){var g=a(s),y="function"==typeof u?u.call(s,v,g[h]):u;""===y?delete g[h]:null!=y&&(g[h]=y),s.attribs.style=function E(s){return Object.keys(s).reduce(function(h,u){return"".concat(h).concat(h?" ":"").concat(u,": ").concat(s[u],";")},"")}(g)}else"object"==typeof h&&Object.keys(h).forEach(function(p,b){C(s,p,h[p],b)})}function a(s,h){if(s&&(0,c.isTag)(s)){var u=function T(s){if(!(s=(s||"").trim()))return{};for(var u,h={},v=0,g=s.split(";");v<g.length;v++){var y=g[v],p=y.indexOf(":");if(p<1||p===y.length-1){var b=y.trimEnd();b.length>0&&void 0!==u&&(h[u]+=";".concat(b))}else h[u=y.slice(0,p).trim()]=y.slice(p+1).trim()}return h}(s.attribs.style);if("string"==typeof h)return u[h];if(Array.isArray(h)){var v={};return h.forEach(function(g){null!=u[g]&&(v[g]=u[g])}),v}return u}}_.css=function o(s,h){return null!=s&&null!=h||"object"==typeof s&&!Array.isArray(s)?(0,c.domEach)(this,function(u,v){(0,c.isTag)(u)&&C(u,s,h,v)}):0!==this.length?a(this[0],s):void 0}},9961:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.serializeArray=_.serialize=void 0;var c=f(55604),o="input,select,textarea,keygen",C=/%20/g,a=/\r?\n/g;_.serialize=function E(){return this.serializeArray().map(function(u){return"".concat(encodeURIComponent(u.name),"=").concat(encodeURIComponent(u.value))}).join("&").replace(C,"+")},_.serializeArray=function T(){var s=this;return this.map(function(h,u){var v=s._make(u);return(0,c.isTag)(u)&&"form"===u.name?v.find(o).toArray():v.filter(o).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map(function(h,u){var v,g=s._make(u),y=g.attr("name"),p=null!==(v=g.val())&&void 0!==v?v:"";return Array.isArray(p)?p.map(function(b){return{name:y,value:b.replace(a,"\r\n")}}):{name:y,value:p.replace(a,"\r\n")}}).toArray()}},72017:function(ge,_,f){"use strict";var c=this&&this.__spreadArray||function(de,ee,Y){if(Y||2===arguments.length)for(var ne,ae=0,fe=ee.length;ae<fe;ae++)(ne||!(ae in ee))&&(ne||(ne=Array.prototype.slice.call(ee,0,ae)),ne[ae]=ee[ae]);return de.concat(ne||Array.prototype.slice.call(ee))};Object.defineProperty(_,"__esModule",{value:!0}),_.clone=_.text=_.toString=_.html=_.empty=_.replaceWith=_.remove=_.insertBefore=_.before=_.insertAfter=_.after=_.wrapAll=_.unwrap=_.wrapInner=_.wrap=_.prepend=_.append=_.prependTo=_.appendTo=_._makeDomArray=void 0;var o=f(13268),C=f(70302),a=f(53527),E=f(55604),T=f(80449);function h(de){return function(){for(var ee=this,Y=[],ae=0;ae<arguments.length;ae++)Y[ae]=arguments[ae];var fe=this.length-1;return(0,E.domEach)(this,function(ne,ce){if((0,o.hasChildren)(ne)){var me="function"==typeof Y[0]?Y[0].call(ne,ce,ee._render(ne.children)):Y,re=ee._makeDomArray(me,ce<fe);de(re,ne.children,ne)}})}}function u(de,ee,Y,ae,fe){for(var ne,ce,me=c([ee,Y],ae,!0),re=0===ee?null:de[ee-1],$=ee+Y>=de.length?null:de[ee+Y],X=0;X<ae.length;++X){var M=ae[X],N=M.parent;if(N){var ue=N.children.indexOf(M);ue>-1&&(N.children.splice(ue,1),fe===N&&ee>ue&&me[0]--)}M.parent=fe,M.prev&&(M.prev.next=null!==(ne=M.next)&&void 0!==ne?ne:null),M.next&&(M.next.prev=null!==(ce=M.prev)&&void 0!==ce?ce:null),M.prev=0===X?re:ae[X-1],M.next=X===ae.length-1?$:ae[X+1]}return re&&(re.next=ae[0]),$&&($.prev=ae[ae.length-1]),de.splice.apply(de,me)}function y(de){return function(ee){for(var Y=this.length-1,ae=this.parents().last(),fe=0;fe<this.length;fe++){var ne=this[fe],ce="function"==typeof ee?ee.call(ne,fe,ne):"string"!=typeof ee||(0,E.isHtml)(ee)?ee:ae.find(ee).clone(),me=this._makeDomArray(ce,fe<Y)[0];if(me&&(0,o.hasChildren)(me)){for(var re=me,$=0;$<re.children.length;){var X=re.children[$];(0,E.isTag)(X)?(re=X,$=0):$++}de(ne,re,[me])}}return this}}_._makeDomArray=function s(de,ee){var Y=this;return null==de?[]:(0,E.isCheerio)(de)?ee?(0,E.cloneDom)(de.get()):de.get():Array.isArray(de)?de.reduce(function(ae,fe){return ae.concat(Y._makeDomArray(fe,ee))},[]):"string"==typeof de?this._parse(de,this.options,!1,null).children:ee?(0,E.cloneDom)([de]):[de]},_.appendTo=function v(de){return((0,E.isCheerio)(de)?de:this._make(de)).append(this),this},_.prependTo=function g(de){return((0,E.isCheerio)(de)?de:this._make(de)).prepend(this),this},_.append=h(function(de,ee,Y){u(ee,ee.length,0,de,Y)}),_.prepend=h(function(de,ee,Y){u(ee,0,0,de,Y)}),_.wrap=y(function(de,ee,Y){var ae=de.parent;if(ae){var fe=ae.children,ne=fe.indexOf(de);(0,C.update)([de],ee),u(fe,ne,0,Y,ae)}}),_.wrapInner=y(function(de,ee,Y){(0,o.hasChildren)(de)&&((0,C.update)(de.children,ee),(0,C.update)(Y,de))}),_.unwrap=function p(de){var ee=this;return this.parent(de).not("body").each(function(Y,ae){ee._make(ae).replaceWith(ae.children)}),this},_.wrapAll=function b(de){var ee=this[0];if(ee){for(var Y=this._make("function"==typeof de?de.call(ee,0,ee):de).insertBefore(ee),ae=void 0,fe=0;fe<Y.length;fe++)"tag"===Y[fe].type&&(ae=Y[fe]);for(var ne=0;ae&&ne<ae.children.length;){var ce=ae.children[ne];"tag"===ce.type?(ae=ce,ne=0):ne++}ae&&this._make(ae).append(this)}return this},_.after=function R(){for(var de=this,ee=[],Y=0;Y<arguments.length;Y++)ee[Y]=arguments[Y];var ae=this.length-1;return(0,E.domEach)(this,function(fe,ne){var ce=fe.parent;if((0,o.hasChildren)(fe)&&ce){var me=ce.children,re=me.indexOf(fe);if(!(re<0)){var $="function"==typeof ee[0]?ee[0].call(fe,ne,de._render(fe.children)):ee;u(me,re+1,0,de._makeDomArray($,ne<ae),ce)}}})},_.insertAfter=function P(de){var ee=this;"string"==typeof de&&(de=this._make(de)),this.remove();var Y=[];return this._makeDomArray(de).forEach(function(ae){var fe=ee.clone().toArray(),ne=ae.parent;if(ne){var ce=ne.children,me=ce.indexOf(ae);me<0||(u(ce,me+1,0,fe,ne),Y.push.apply(Y,fe))}}),this._make(Y)},_.before=function k(){for(var de=this,ee=[],Y=0;Y<arguments.length;Y++)ee[Y]=arguments[Y];var ae=this.length-1;return(0,E.domEach)(this,function(fe,ne){var ce=fe.parent;if((0,o.hasChildren)(fe)&&ce){var me=ce.children,re=me.indexOf(fe);if(!(re<0)){var $="function"==typeof ee[0]?ee[0].call(fe,ne,de._render(fe.children)):ee;u(me,re,0,de._makeDomArray($,ne<ae),ce)}}})},_.insertBefore=function O(de){var ee=this,Y=this._make(de);this.remove();var ae=[];return(0,E.domEach)(Y,function(fe){var ne=ee.clone().toArray(),ce=fe.parent;if(ce){var me=ce.children,re=me.indexOf(fe);re<0||(u(me,re,0,ne,ce),ae.push.apply(ae,ne))}}),this._make(ae)},_.remove=function V(de){var ee=de?this.filter(de):this;return(0,E.domEach)(ee,function(Y){(0,T.removeElement)(Y),Y.prev=Y.next=Y.parent=null}),this},_.replaceWith=function K(de){var ee=this;return(0,E.domEach)(this,function(Y,ae){var fe=Y.parent;if(fe){var ne=fe.children,ce="function"==typeof de?de.call(Y,ae,Y):de,me=ee._makeDomArray(ce);(0,C.update)(me,null);var re=ne.indexOf(Y);u(ne,re,1,me,fe),me.includes(Y)||(Y.parent=Y.prev=Y.next=null)}})},_.empty=function z(){return(0,E.domEach)(this,function(de){(0,o.hasChildren)(de)&&(de.children.forEac
1h(function(ee){ee.next=ee.prev=ee.parent=null}),de.children.length=0)})},_.html=function H(de){var ee=this;if(void 0===de){var Y=this[0];return Y&&(0,o.hasChildren)(Y)?this._render(Y.children):null}return(0,E.domEach)(this,function(ae){if((0,o.hasChildren)(ae)){ae.children.forEach(function(ne){ne.next=ne.prev=ne.parent=null});var fe=(0,E.isCheerio)(de)?de.toArray():ee._parse("".concat(de),ee.options,!1,ae).children;(0,C.update)(fe,ae)}})},_.toString=function x(){return this._render(this)},_.text=function q(de){var ee=this;return void 0===de?(0,a.text)(this):(0,E.domEach)(this,"function"==typeof de?function(Y,ae){return ee._make(Y).text(de.call(Y,ae,(0,a.text)([Y])))}:function(Y){if((0,o.hasChildren)(Y)){Y.children.forEach(function(fe){fe.next=fe.prev=fe.parent=null});var ae=new o.Text("".concat(de));(0,C.update)(ae,Y)}})},_.clone=function Z(){return this._make((0,E.cloneDom)(this.get()))}},30181:function(ge,_,f){"use strict";var c=this&&this.__createBinding||(Object.create?function(M,N,G,ue){void 0===ue&&(ue=G);var ve=Object.getOwnPropertyDescriptor(N,G);(!ve||("get"in ve?!N.__esModule:ve.writable||ve.configurable))&&(ve={enumerable:!0,get:function(){return N[G]}}),Object.defineProperty(M,ue,ve)}:function(M,N,G,ue){void 0===ue&&(ue=G),M[ue]=N[G]}),o=this&&this.__setModuleDefault||(Object.create?function(M,N){Object.defineProperty(M,"default",{enumerable:!0,value:N})}:function(M,N){M.default=N}),C=this&&this.__importStar||function(M){if(M&&M.__esModule)return M;var N={};if(null!=M)for(var G in M)"default"!==G&&Object.prototype.hasOwnProperty.call(M,G)&&c(N,M,G);return o(N,M),N},a=this&&this.__spreadArray||function(M,N,G){if(G||2===arguments.length)for(var we,ue=0,ve=N.length;ue<ve;ue++)(we||!(ue in N))&&(we||(we=Array.prototype.slice.call(N,0,ue)),we[ue]=N[ue]);return M.concat(we||Array.prototype.slice.call(N))};Object.defineProperty(_,"__esModule",{value:!0}),_.addBack=_.add=_.end=_.slice=_.index=_.toArray=_.get=_.eq=_.last=_.first=_.has=_.not=_.is=_.filterArray=_.filter=_.map=_.each=_.contents=_.children=_.siblings=_.prevUntil=_.prevAll=_.prev=_.nextUntil=_.nextAll=_.next=_.closest=_.parentsUntil=_.parents=_.parent=_.find=void 0;var E=f(13268),T=C(f(28576)),s=f(55604),h=f(53527),u=f(80449),v=/^\s*[~+]/;function y(M){return function(N){for(var G=[],ue=1;ue<arguments.length;ue++)G[ue-1]=arguments[ue];return function(ve){var we,Re=M(N,this);return ve&&(Re=x(Re,ve,this.options.xmlMode,null===(we=this._root)||void 0===we?void 0:we[0])),this._make(this.length>1&&Re.length>1?G.reduce(function(et,at){return at(et)},Re):Re)}}}_.find=function g(M){var N;if(!M)return this._make([]);var G=this.toArray();if("string"!=typeof M){var ue=(0,s.isCheerio)(M)?M.toArray():[M];return this._make(ue.filter(function(Re){return G.some(function(et){return(0,h.contains)(et,Re)})}))}var ve=v.test(M)?G:this.children().toArray(),we={context:G,root:null===(N=this._root)||void 0===N?void 0:N[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(T.select(M,ve,we))};var p=y(function(M,N){for(var G,ue=[],ve=0;ve<N.length;ve++){var we=M(N[ve]);ue.push(we)}return(G=new Array).concat.apply(G,ue)}),b=y(function(M,N){for(var G=[],ue=0;ue<N.length;ue++){var ve=M(N[ue]);null!==ve&&G.push(ve)}return G});function R(M){for(var N=[],G=1;G<arguments.length;G++)N[G-1]=arguments[G];var ue=null,ve=y(function(we,Re){var et=[];return(0,s.domEach)(Re,function(at){for(var Pt;(Pt=we(at))&&(null==ue||!ue(Pt,et.length));at=Pt)et.push(Pt)}),et}).apply(void 0,a([M],N,!1));return function(we,Re){var et=this;ue="string"==typeof we?function(Pt){return T.is(Pt,we,et.options)}:we?z(we):null;var at=ve.call(this,Re);return ue=null,at}}function P(M){return Array.from(new Set(M))}function z(M){return"function"==typeof M?function(N,G){return M.call(N,G,N)}:(0,s.isCheerio)(M)?function(N){return Array.prototype.includes.call(M,N)}:function(N){return M===N}}function x(M,N,G,ue){return"string"==typeof N?T.filter(N,M,{xmlMode:G,root:ue}):M.filter(z(N))}_.parent=b(function(M){var N=M.parent;return N&&!(0,E.isDocument)(N)?N:null},P),_.parents=p(function(M){for(var N=[];M.parent&&!(0,E.isDocument)(M.parent);)N.push(M.parent),M=M.parent;return N},u.uniqueSort,function(M){return M.reverse()}),_.parentsUntil=R(function(M){var N=M.parent;return N&&!(0,E.isDocument)(N)?N:null},u.uniqueSort,function(M){return M.reverse()}),_.closest=function k(M){var N,G=[];if(!M)return this._make(G);var ue={xmlMode:this.options.xmlMode,root:null===(N=this._root)||void 0===N?void 0:N[0]},ve="string"==typeof M?function(we){return T.is(we,M,ue)}:z(M);return(0,s.domEach)(this,function(we){for(;we&&(0,s.isTag)(we);){if(ve(we,0)){G.includes(we)||G.push(we);break}we=we.parent}}),this._make(G)},_.next=b(function(M){return(0,u.nextElementSibling)(M)}),_.nextAll=p(function(M){for(var N=[];M.next;)(0,s.isTag)(M=M.next)&&N.push(M);return N},P),_.nextUntil=R(function(M){return(0,u.nextElementSibling)(M)},P),_.prev=b(function(M){return(0,u.prevElementSibling)(M)}),_.prevAll=p(function(M){for(var N=[];M.prev;)(0,s.isTag)(M=M.prev)&&N.push(M);return N},P),_.prevUntil=R(function(M){return(0,u.prevElementSibling)(M)},P),_.siblings=p(function(M){return(0,u.getSiblings)(M).filter(function(N){return(0,s.isTag)(N)&&N!==M})},u.uniqueSort),_.children=p(function(M){return(0,u.getChildren)(M).filter(s.isTag)},P),_.contents=function O(){var M=this.toArray().reduce(function(N,G){return(0,E.hasChildren)(G)?N.concat(G.children):N},[]);return this._make(M)},_.each=function V(M){for(var N=0,G=this.length;N<G&&!1!==M.call(this[N],N,this[N]);)++N;return this},_.map=function K(M){for(var N=[],G=0;G<this.length;G++){var ue=this[G],ve=M.call(ue,G,ue);null!=ve&&(N=N.concat(ve))}return this._make(N)},_.filter=function H(M){var N;return this._make(x(this.toArray(),M,this.options.xmlMode,null===(N=this._root)||void 0===N?void 0:N[0]))},_.filterArray=x,_.is=function q(M){var N=this.toArray();return"string"==typeof M?T.some(N.filter(s.isTag),M,this.options):!!M&&N.some(z(M))},_.not=function Z(M){var N=this.toArray();if("string"==typeof M){var G=new Set(T.filter(M,N,this.options));N=N.filter(function(ve){return!G.has(ve)})}else{var ue=z(M);N=N.filter(function(ve,we){return!ue(ve,we)})}return this._make(N)},_.has=function de(M){var N=this;return this.filter("string"==typeof M?":has(".concat(M,")"):function(G,ue){return N._make(ue).find(M).length>0})},_.first=function ee(){return this.length>1?this._make(this[0]):this},_.last=function Y(){return this.length>0?this._make(this[this.length-1]):this},_.eq=function ae(M){var N;return 0==(M=+M)&&this.length<=1?this:(M<0&&(M=this.length+M),this._make(null!==(N=this[M])&&void 0!==N?N:[]))}
1,_.get=function fe(M){return null==M?this.toArray():this[M<0?this.length+M:M]},_.toArray=function ne(){return Array.prototype.slice.call(this)},_.index=function ce(M){var N,G;return null==M?(N=this.parent().children(),G=this[0]):"string"==typeof M?(N=this._make(M),G=this[0]):(N=this,G=(0,s.isCheerio)(M)?M[0]:M),Array.prototype.indexOf.call(N,G)},_.slice=function me(M,N){return this._make(Array.prototype.slice.call(this,M,N))},_.end=function re(){var M;return null!==(M=this.prevObject)&&void 0!==M?M:this._make([])},_.add=function $(M,N){var G=this._make(M,N),ue=(0,u.uniqueSort)(a(a([],this.get(),!0),G.get(),!0));return this._make(ue)},_.addBack=function X(M){return this.prevObject?this.add(M?this.prevObject.filter(M):this.prevObject):this}},75112:function(ge,_,f){"use strict";var c=this&&this.__createBinding||(Object.create?function(v,g,y,p){void 0===p&&(p=y);var b=Object.getOwnPropertyDescriptor(g,y);(!b||("get"in b?!g.__esModule:b.writable||b.configurable))&&(b={enumerable:!0,get:function(){return g[y]}}),Object.defineProperty(v,p,b)}:function(v,g,y,p){void 0===p&&(p=y),v[p]=g[y]}),o=this&&this.__setModuleDefault||(Object.create?function(v,g){Object.defineProperty(v,"default",{enumerable:!0,value:g})}:function(v,g){v.default=g}),C=this&&this.__importStar||function(v){if(v&&v.__esModule)return v;var g={};if(null!=v)for(var y in v)"default"!==y&&Object.prototype.hasOwnProperty.call(v,y)&&c(g,v,y);return o(g,v),g};Object.defineProperty(_,"__esModule",{value:!0}),_.Cheerio=void 0;var a=C(f(79801)),E=C(f(30181)),T=C(f(72017)),s=C(f(59561)),h=C(f(9961)),u=function(){return function v(g,y,p){if(this.length=0,this.options=p,this._root=y,g){for(var b=0;b<g.length;b++)this[b]=g[b];this.length=g.length}}}();_.Cheerio=u,u.prototype.cheerio="[cheerio object]",u.prototype.splice=Array.prototype.splice,u.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],Object.assign(u.prototype,a,E,T,s,h)},98521:function(ge,_,f){"use strict";var c=this&&this.__createBinding||(Object.create?function(b,R,P,k){void 0===k&&(k=P);var O=Object.getOwnPropertyDescriptor(R,P);(!O||("get"in O?!R.__esModule:O.writable||O.configurable))&&(O={enumerable:!0,get:function(){return R[P]}}),Object.defineProperty(b,k,O)}:function(b,R,P,k){void 0===k&&(k=P),b[k]=R[P]}),o=this&&this.__setModuleDefault||(Object.create?function(b,R){Object.defineProperty(b,"default",{enumerable:!0,value:R})}:function(b,R){b.default=R}),C=this&&this.__exportStar||function(b,R){for(var P in b)"default"!==P&&!Object.prototype.hasOwnProperty.call(R,P)&&c(R,b,P)},a=this&&this.__importStar||function(b){if(b&&b.__esModule)return b;var R={};if(null!=b)for(var P in b)"default"!==P&&Object.prototype.hasOwnProperty.call(b,P)&&c(R,b,P);return o(R,b),R},E=this&&this.__importDefault||function(b){return b&&b.__esModule?b:{default:b}};Object.defineProperty(_,"__esModule",{value:!0}),_.root=_.parseHTML=_.merge=_.contains=_.text=_.xml=_.html=_.load=void 0,C(f(8136),_);var T=f(33917),s=f(70302),h=f(43996),u=E(f(84715)),v=f(54588),g=(0,s.getParse)(function(b,R,P,k){return R.xmlMode||R._useHtmlParser2?(0,v.parseDocument)(b,R):(0,h.parseWithParse5)(b,R,P,k)});_.load=(0,T.getLoad)(g,function(b,R){return R.xmlMode||R._useHtmlParser2?(0,u.default)(b,R):(0,h.renderWithParse5)(b)}),_.default=(0,_.load)([]);var y=f(53527);Object.defineProperty(_,"html",{enumerable:!0,get:function(){return y.html}}),Object.defineProperty(_,"xml",{enumerable:!0,get:function(){return y.xml}}),Object.defineProperty(_,"text",{enumerable:!0,get:function(){return y.text}});var p=a(f(53527));_.contains=p.contains,_.merge=p.merge,_.parseHTML=p.parseHTML,_.root=p.root},33917:function(ge,_,f){"use strict";var c=this&&this.__extends||function(){var y=function(p,b){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,P){R.__proto__=P}||function(R,P){for(var k in P)Object.prototype.hasOwnProperty.call(P,k)&&(R[k]=P[k])})(p,b)};return function(p,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function R(){this.constructor=p}y(p,b),p.prototype=null===b?Object.create(b):(R.prototype=b.prototype,new R)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(y){for(var p,b=1,R=arguments.length;b<R;b++)for(var P in p=arguments[b])Object.prototype.hasOwnProperty.call(p,P)&&(y[P]=p[P]);return y},o.apply(this,arguments)},C=this&&this.__createBinding||(Object.create?function(y,p,b,R){void 0===R&&(R=b);var P=Object.getOwnPropertyDescriptor(p,b);(!P||("get"in P?!p.__esModule:P.writable||P.configurable))&&(P={enumerable:!0,get:function(){return p[b]}}),Object.defineProperty(y,R,P)}:function(y,p,b,R){void 0===R&&(R=b),y[R]=p[b]}),a=this&&this.__setModuleDefault||(Object.create?function(y,p){Object.defineProperty(y,"default",{enumerable:!0,value:p})}:function(y,p){y.default=p}),E=this&&this.__importStar||function(y){if(y&&y.__esModule)return y;var p={};if(null!=y)for(var b in y)"default"!==b&&Object.prototype.hasOwnProperty.call(y,b)&&C(p,y,b);return a(p,y),p};
1Object.defineProperty(_,"__esModule",{value:!0}),_.getLoad=void 0;var T=E(f(25059)),s=E(f(53527)),h=f(75112),u=f(55604);_.getLoad=function v(y,p){return function b(R,P,k){if(void 0===k&&(k=!0),null==R)throw new Error("cheerio.load() expects a string");var O=o(o({},T.default),(0,T.flatten)(P)),V=y(R,O,k,null),K=function(H){function x(){return null!==H&&H.apply(this,arguments)||this}return c(x,H),x.prototype._make=function(q,Z){var de=z(q,Z);return de.prevObject=this,de},x.prototype._parse=function(q,Z,de,ee){return y(q,Z,de,ee)},x.prototype._render=function(q){return p(q,this.options)},x}(h.Cheerio);function z(H,x,q,Z){if(void 0===q&&(q=V),H&&(0,u.isCheerio)(H))return H;var de=o(o({},O),(0,T.flatten)(Z)),ee="string"==typeof q?[y(q,de,!1,null)]:"length"in q?q:[q],Y=(0,u.isCheerio)(ee)?ee:new K(ee,null,de);if(Y._root=Y,!H)return new K(void 0,Y,de);var ae="string"==typeof H&&(0,u.isHtml)(H)?y(H,de,!1,null).children:function g(y){return!!y.name||"root"===y.type||"text"===y.type||"comment"===y.type}(H)?[H]:Array.isArray(H)?H:void 0,fe=new K(ae,Y,de);if(ae)return fe;if("string"!=typeof H)throw new Error("Unexpected type of selector");var ne=H,ce=x?"string"==typeof x?(0,u.isHtml)(x)?new K([y(x,de,!1,null)],Y,de):(ne="".concat(x," ").concat(ne),Y):(0,u.isCheerio)(x)?x:new K(Array.isArray(x)?x:[x],Y,de):Y;return ce?ce.find(ne):fe}return Object.assign(z,s,{load:b,_root:V,_options:O,fn:K.prototype,prototype:K.prototype}),z}}},25059:function(ge,_){"use strict";var f=this&&this.__assign||function(){return f=Object.assign||function(a){for(var E,T=1,s=arguments.length;T<s;T++)for(var h in E=arguments[T])Object.prototype.hasOwnProperty.call(E,h)&&(a[h]=E[h]);return a},f.apply(this,arguments)};Object.defineProperty(_,"__esModule",{value:!0}),_.flatten=void 0,_.default={xml:!1,decodeEntities:!0};var o={_useHtmlParser2:!0,xmlMode:!0};_.flatten=function C(a){return null!=a&&a.xml?"boolean"==typeof a.xml?o:f(f({},o),a.xml):null!=a?a:void 0}},70302:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.update=_.getParse=void 0;var c=f(80449),o=f(13268);function a(E,T){var s=Array.isArray(E)?E:[E];T?T.children=s:T=null;for(var h=0;h<s.length;h++){var u=s[h];u.parent&&u.parent.children!==s&&(0,c.removeElement)(u),T?(u.prev=s[h-1]||null,u.next=s[h+1]||null):u.prev=u.next=null,u.parent=T}return T}_.getParse=function C(E){return function(s,h,u,v){if(typeof Buffer<"u"&&Buffer.isBuffer(s)&&(s=s.toString()),"string"==typeof s)return E(s,h,u,v);var g=s;if(!Array.isArray(g)&&(0,o.isDocument)(g))return g;var y=new o.Document([]);return a(g,y),y}},_.update=a},43996:function(ge,_,f){"use strict";var c=this&&this.__spreadArray||function(h,u,v){if(v||2===arguments.length)for(var p,g=0,y=u.length;g<y;g++)(p||!(g in u))&&(p||(p=Array.prototype.slice.call(u,0,g)),p[g]=u[g]);return h.concat(p||Array.prototype.slice.call(u))};Object.defineProperty(_,"__esModule",{value:!0}),_.renderWithParse5=_.parseWithParse5=void 0;var o=f(13268),C=f(41821),a=f(48293);_.parseWithParse5=function E(h,u,v,g){var y={scriptingEnabled:"boolean"!=typeof u.scriptingEnabled||u.scriptingEnabled,treeAdapter:a.adapter,sourceCodeLocationInfo:u.sourceCodeLocationInfo};return v?(0,C.parse)(h,y):(0,C.parseFragment)(g,h,y)};var T={treeAdapter:a.adapter};_.renderWithParse5=function s(h){for(var u,v=("length"in h?h:[h]),g=0;g<v.length;g+=1)(0,o.isDocument)(y=v[g])&&(u=Array.prototype.splice).call.apply(u,c([v,g,1],y.children,!1));var p="";for(g=0;g<v.length;g+=1){var y;p+=(0,C.serializeOuter)(y=v[g],T)}return p}},53527:function(ge,_,f){"use strict";var c=this&&this.__assign||function(){return c=Object.assign||function(k){for(var O,V=1,K=arguments.length;V<K;V++)for(var z in O=arguments[V])Object.prototype.hasOwnProperty.call(O,z)&&(k[z]=O[z]);return k},c.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(k,O,V,K){void 0===K&&(K=V);var z=Object.getOwnPropertyDescriptor(O,V);(!z||("get"in z?!O.__esModule:z.writable||z.configurable))&&(z={enumerable:!0,get:function(){return O[V]}}),Object.defineProperty(k,K,z)}:function(k,O,V,K){void 0===K&&(K=V),k[K]=O[V]}),C=this&&this.__setModuleDefault||(Object.create?function(k,O){Object.defineProperty(k,"default",{enumerable:!0,value:O})}:function(k,O){k.default=O}),a=this&&this.__importStar||function(k){if(k&&k.__esModule)return k;var O={};if(null!=k)for(var V in k)"default"!==V&&Object.prototype.hasOwnProperty.call(k,V)&&o(O,k,V);return C(O,k),O};
1Object.defineProperty(_,"__esModule",{value:!0}),_.merge=_.contains=_.root=_.parseHTML=_.text=_.xml=_.html=void 0;var E=f(80449),T=a(f(25059));function s(k,O,V){return k?k(null!=O?O:k._root.children,null,void 0,V).toString():""}function P(k){if(Array.isArray(k))return!0;if("object"!=typeof k||!Object.prototype.hasOwnProperty.call(k,"length")||"number"!=typeof k.length||k.length<0)return!1;for(var O=0;O<k.length;O++)if(!(O in k))return!1;return!0}_.html=function u(k,O){return s(this,function h(k,O){return!O&&"object"==typeof k&&null!=k&&!("length"in k)&&!("type"in k)}(k)?void(O=k):k,c(c(c({},T.default),null==this?void 0:this._options),(0,T.flatten)(null!=O?O:{})))},_.xml=function v(k){return s(this,k,c(c({},this._options),{xmlMode:!0}))},_.text=function g(k){for(var O=k||(this?this.root():[]),V="",K=0;K<O.length;K++)V+=(0,E.textContent)(O[K]);return V},_.parseHTML=function y(k,O,V){if(void 0===V&&(V="boolean"==typeof O&&O),!k||"string"!=typeof k)return null;"boolean"==typeof O&&(V=O);var K=this.load(k,T.default,!1);return V||K("script").remove(),K.root()[0].children.slice()},_.root=function p(){return this(this._root)},_.contains=function b(k,O){if(O===k)return!1;for(var V=O;V&&V!==V.parent;)if((V=V.parent)===k)return!0;return!1},_.merge=function R(k,O){if(P(k)&&P(O)){for(var V=k.length,K=+O.length,z=0;z<K;z++)k[V++]=O[z];return k.length=V,k}}},8136:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},55604:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.isHtml=_.cloneDom=_.domEach=_.cssCase=_.camelCase=_.isCheerio=_.isTag=void 0;var c=f(13268),o=f(13268);Object.defineProperty(_,"isTag",{enumerable:!0,get:function(){return o.isTag}}),_.isCheerio=function C(v){return null!=v.cheerio},_.camelCase=function a(v){return v.replace(/[_.-](\w|$)/g,function(g,y){return y.toUpperCase()})},_.cssCase=function E(v){return v.replace(/[A-Z]/g,"-$&").toLowerCase()},_.domEach=function T(v,g){for(var y=v.length,p=0;p<y;p++)g(v[p],p);return v},_.cloneDom=function s(v){var g="length"in v?Array.prototype.map.call(v,function(p){return(0,c.cloneNode)(p,!0)}):[(0,c.cloneNode)(v,!0)],y=new c.Document(g);return g.forEach(function(p){p.parent=y}),g};var h=function(v){return v[v.LowerA=97]="LowerA",v[v.LowerZ=122]="LowerZ",v[v.UpperA=65]="UpperA",v[v.UpperZ=90]="UpperZ",v[v.Exclamation=33]="Exclamation",v}(h||{});_.isHtml=function u(v){var g=v.indexOf("<");if(g<0||g>v.length-3)return!1;var y=v.charCodeAt(g+1);return(y>=h.LowerA&&y<=h.LowerZ||y>=h.UpperA&&y<=h.UpperZ||y===h.Exclamation)&&v.includes(">",g+2)}},27886:function(ge,_){var C,f=typeof self<"u"?self:this,c=function(){function C(){this.fetch=!1,this.DOMException=f.DOMException}return C.prototype=f,new C}();C=c,function(E){var T_searchParams="URLSearchParams"in C,T_iterable="Symbol"in C&&"iterator"in Symbol,T_blob="FileReader"in C&&"Blob"in C&&function(){try{return new Blob,!0}catch{return!1}}(),T_formData="FormData"in C,T_arrayBuffer="ArrayBuffer"in C;if(T_arrayBuffer)var h=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(ae){return ae&&h.indexOf(Object.prototype.toString.call(ae))>-1};function v(ae){if("string"!=typeof ae&&(ae=String(ae)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(ae))throw new TypeError("Invalid character in header field name");return ae.toLowerCase()}function g(ae){return"string"!=typeof ae&&(ae=String(ae)),ae}function y(ae){var fe={next:function(){var ne=ae.shift();return{done:void 0===ne,value:ne}}};return T_iterable&&(fe[Symbol.iterator]=function(){return fe}),fe}function p(ae){this.map={},ae instanceof p?ae.forEach(function(fe,ne){this.append(ne,fe)},this):Array.isArray(ae)?ae.forEach(function(fe){this.append(fe[0],fe[1])},this):ae&&Object.getOwnPropertyNames(ae).forEach(function(fe){this.append(fe,ae[fe])},this)}function b(ae){if(ae.bodyUsed)return Promise.reject(new TypeError("Already read"));ae.bodyUsed=!0}function R(ae){return new Promise(function(fe,ne){ae.onload=function(){fe(ae.result)},ae.onerror=function(){ne(ae.error)}})}function P(ae){var fe=new FileReader,ne=R(fe);return fe.readAsArrayBuffer(ae),ne}function V(ae){if(ae.slice)return ae.slice(0);var fe=new Uint8Array(ae.byteLength);return fe.set(new Uint8Array(ae)),fe.buffer}function K(){return this.bodyUsed=!1,this._initBody=function(ae){this._bodyInit=ae,ae?"string"==typeof ae?this._bodyText=ae:T_blob&&Blob.prototype.isPrototypeOf(ae)?this._bodyBlob=ae:T_formData&&FormData.prototype.isPrototypeOf(ae)?this._bodyFormData=ae:T_searchParams&&URLSearchParams.prototype.isPrototypeOf(ae)?this._bodyText=ae.toString():T_arrayBuffer&&T_blob&&function s(ae){return ae&&DataView.prototype.isPrototypeOf(ae)}(ae)?(this._bodyArrayBuffer=V(ae.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):T_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(ae)||u(ae))?this._bodyArrayBuffer=V(ae):this._bodyText=ae=Object.prototype.toString.call(ae):this._bodyText="",this.headers.get("content-type")||("string"==typeof ae?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):T_searchParams&&URLSearchParams.prototype.isPrototypeOf(ae)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},T_blob&&(this.blob=function(){var ae=b(this);if(ae)return ae;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?b(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(P)}),this.text=function(){var ae=b(this);if(ae)return ae;if(this._bodyBlob)return function k(ae){var fe=new FileReader,ne=R(fe);return fe.readAsText(ae),ne}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function O(ae){for(var fe=new Uint8Array(ae),ne=new Array(fe.length),ce=0;ce<fe.length;ce++)ne[ce]=String.fromCharCode(fe[ce]);return ne.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},T_formData&&(this.formData=function(){return this.text().then(q)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(ae,fe){ae=v(ae),fe=g(fe);var ne=this.map[ae];this.map[ae]=ne?ne+", "+fe:fe},p.prototype.delete=function(ae){delete this.map[v(ae)]},p.prototype.get=function(ae){return ae=v(ae),this.has(ae)?this.map[ae]:null},p.prototype.has=function(ae){return this.map.hasOwnProperty(v(ae))},p.prototype.set=function(ae,fe){this.map[v(ae)]=g(fe)},p.prototype.forEach=function(ae,fe){for(var ne in this.map)this.map.hasOwnProperty(ne)&&ae.call(fe,this.map[ne],ne,this)},p.prototype.keys=function(){var ae=[];return this.forEach(function(fe,ne){ae.push(ne)}),y(ae)},p.prototype.values=function(){var ae=[];return this.forEach(function(fe){ae.push(fe)}),y(ae)},p.prototype.entries=function(){var ae=[];return this.forEach(function(fe,ne){ae.push([ne,fe])}),y(ae)},T_iterable&&(p.prototype[Symbol.iterator]=p.prototype.entries);var z=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function x(ae,fe){var ne=(fe=fe||{}).body;if(ae instanceof x){if(ae.bodyUsed)throw new TypeError("Already read");this.url=ae.url,this.credentials=ae.credentials,fe.headers||(this.headers=new p(ae.headers)),this.method=ae.method,this.mode=ae.mode,this.signal=ae.signal,!ne&&null!=ae._bodyInit&&(ne=ae._bodyInit,ae.bodyUsed=!0)}else this.url=String(ae);
1if(this.credentials=fe.credentials||this.credentials||"same-origin",(fe.headers||!this.headers)&&(this.headers=new p(fe.headers)),this.method=function H(ae){var fe=ae.toUpperCase();return z.indexOf(fe)>-1?fe:ae}(fe.method||this.method||"GET"),this.mode=fe.mode||this.mode||null,this.signal=fe.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&ne)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(ne)}function q(ae){var fe=new FormData;return ae.trim().split("&").forEach(function(ne){if(ne){var ce=ne.split("="),me=ce.shift().replace(/\+/g," "),re=ce.join("=").replace(/\+/g," ");fe.append(decodeURIComponent(me),decodeURIComponent(re))}}),fe}function Z(ae){var fe=new p;return ae.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(ce){var me=ce.split(":"),re=me.shift().trim();if(re){var $=me.join(":").trim();fe.append(re,$)}}),fe}function de(ae,fe){fe||(fe={}),this.type="default",this.status=void 0===fe.status?200:fe.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in fe?fe.statusText:"OK",this.headers=new p(fe.headers),this.url=fe.url||"",this._initBody(ae)}x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},K.call(x.prototype),K.call(de.prototype),de.prototype.clone=function(){return new de(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},de.error=function(){var ae=new de(null,{status:0,statusText:""});return ae.type="error",ae};var ee=[301,302,303,307,308];de.redirect=function(ae,fe){if(-1===ee.indexOf(fe))throw new RangeError("Invalid status code");return new de(null,{status:fe,headers:{location:ae}})},E.DOMException=C.DOMException;try{new E.DOMException}catch{E.DOMException=function(fe,ne){this.message=fe,this.name=ne;var ce=Error(fe);this.stack=ce.stack},E.DOMException.prototype=Object.create(Error.prototype),E.DOMException.prototype.constructor=E.DOMException}function Y(ae,fe){return new Promise(function(ne,ce){var me=new x(ae,fe);if(me.signal&&me.signal.aborted)return ce(new E.DOMException("Aborted","AbortError"));var re=new XMLHttpRequest;function $(){re.abort()}re.onload=function(){var X={status:re.status,statusText:re.statusText,headers:Z(re.getAllResponseHeaders()||"")};X.url="responseURL"in re?re.responseURL:X.headers.get("X-Request-URL"),ne(new de("response"in re?re.response:re.responseText,X))},re.onerror=function(){ce(new TypeError("Network request failed"))},re.ontimeout=function(){ce(new TypeError("Network request failed"))},re.onabort=function(){ce(new E.DOMException("Aborted","AbortError"))},re.open(me.method,me.url,!0),"include"===me.credentials?re.withCredentials=!0:"omit"===me.credentials&&(re.withCredentials=!1),"responseType"in re&&T_blob&&(re.responseType="blob"),me.headers.forEach(function(X,M){re.setRequestHeader(M,X)}),me.signal&&(me.signal.addEventListener("abort",$),re.onreadystatechange=function(){4===re.readyState&&me.signal.removeEventListener("abort",$)}),re.send(typeof me._bodyInit>"u"?null:me._bodyInit)})}Y.polyfill=!0,C.fetch||(C.fetch=Y,C.Headers=p,C.Request=x,C.Response=de),E.Headers=p,E.Request=x,E.Response=de,E.fetch=Y,Object.defineProperty(E,"__esModule",{value:!0})}({}),c.fetch.ponyfill=!0,delete c.fetch.polyfill;var o=c;(_=o.fetch).default=o.fetch,_.fetch=o.fetch,_.Headers=o.Headers,_.Request=o.Request,_.Response=o.Response,ge.exports=_},93188:function(ge,_,f){var c;ge.exports=(c=f(17656),f(98891),f(78855),f(4147),f(12414),function(){var o=c,a=o.lib.BlockCipher,E=o.algo,T=[],s=[],h=[],u=[],v=[],g=[],y=[],p=[],b=[],R=[];!function(){for(var O=[],V=0;V<256;V++)O[V]=V<128?V<<1:V<<1^283;var K=0,z=0;for(V=0;V<256;V++){var H=z^z<<1^z<<2^z<<3^z<<4;T[K]=H=H>>>8^255&H^99,s[H]=K;var de,x=O[K],q=O[x],Z=O[q];h[K]=(de=257*O[H]^16843008*H)<<24|de>>>8,u[K]=de<<16|de>>>16,v[K]=de<<8|de>>>24,g[K]=de,y[H]=(de=16843009*Z^65537*q^257*x^16843008*K)<<24|de>>>8,p[H]=de<<16|de>>>16,b[H]=de<<8|de>>>24,R[H]=de,K?(K=x^O[O[O[Z^x]]],z^=O[O[z]]):K=z=1}}();var P=[0,1,2,4,8,16,32,64,128,27,54],k=E.AES=a.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var V=this._keyPriorReset=this._key,K=V.words,z=V.sigBytes/4,x=4*((this._nRounds=z+6)+1),q=this._keySchedule=[],Z=0;Z<x;Z++)Z<z?q[Z]=K[Z]:(O=q[Z-1],Z%z?z>6&&Z%z==4&&(O=T[O>>>24]<<24|T[O>>>16&255]<<16|T[O>>>8&255]<<8|T[255&O]):(O=T[(O=O<<8|O>>>24)>>>24]<<24|T[O>>>16&255]<<16|T[O>>>8&255]<<8|T[255&O],O^=P[Z/z|0]<<24),q[Z]=q[Z-z]^O);for(var de=this._invKeySchedule=[],ee=0;ee<x;ee++){if(Z=x-ee,ee%4)var O=q[Z];else O=q[Z-4];de[ee]=ee<4||Z<=4?O:y[T[O>>>24]]^p[T[O>>>16&255]]^b[T[O>>>8&255]]^R[T[255&O]]}}},encryptBlock:function(O,V){this._doCryptBlock(O,V,this._keySchedule,h,u,v,g,T)},decryptBlock:function(O,V){var K=O[V+1];O[V+1]=O[V+3],O[V+3]=K,this._doCryptBlock(O,V,this._invKeySchedule,y,p,b,R,s),K=O[V+1],O[V+1]=O[V+3],O[V+3]=K},_doCryptBlock:function(O,V,K,z,H,x,q,Z){for(var de=this._nRounds,ee=O[V]^K[0],Y=O[V+1]^K[1],ae=O[V+2]^K[2],fe=O[V+3]^K[3],ne=4,ce=1;ce<de;ce++){var me=z[ee>>>24]^H[Y>>>16&255]^x[ae>>>8&255]^q[255&fe]^K[ne++],re=z[Y>>>24]^H[ae>>>16&255]^x[fe>>>8&255]^q[255&ee]^K[ne++],$=z[ae>>>24]^H[fe>>>16&255]^x[ee>>>8&255]^q[255&Y]^K[ne++],X=z[fe>>>24]^H[ee>>>16&255]^x[Y>>>8&255]^q[255&ae]^K[ne++];ee=me,Y=re,ae=$,fe=X}me=(Z[ee>>>24]<<24|Z[Y>>>16&255]<<16|Z[ae>>>8&255]<<8|Z[255&fe])^K[ne++],re=(Z[Y>>>24]<<24|Z[ae>>>16&255]<<16|Z[fe>>>8&255]<<8|Z[255&ee])^K[ne++],$=(Z[ae>>>24]<<24|Z[fe>>>16&255]<<16|Z[ee>>>8&255]<<8|Z[255&Y])^K[ne++],X=(Z[fe>>>24]<<24|Z[ee>>>16&255]<<16|Z[Y>>>8&255]<<8|Z[255&ae])^K[ne++],O[V]=me,O[V+1]=re,O[V+2]=$,O[V+3]=X},keySize:8});o.AES=a._createHelper(k)}(),c.AES)},45269:function(ge,_,f){var c;ge.exports=(c=f(17656),f(98891),f(78855),f(4147),f(12414),function(){var o=c,a=o.lib.BlockCipher;const T=16,s=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],h
vendor: 11,033 bytes, line 1
1=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]]
1;var u={pbox:[],sbox:[]};function v(R,P){let z=R.sbox[0][P>>24&255]+R.sbox[1][P>>16&255];return z^=R.sbox[2][P>>8&255],z+=R.sbox[3][255&P],z}function g(R,P,k){let K,O=P,V=k;for(let z=0;z<T;++z)O^=R.pbox[z],V=v(R,O)^V,K=O,O=V,V=K;return K=O,O=V,V=K,V^=R.pbox[T],O^=R.pbox[T+1],{left:O,right:V}}var b=o.algo.Blowfish=a.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var R=this._keyPriorReset=this._key;!function p(R,P,k){for(let H=0;H<4;H++){R.sbox[H]=[];for(let x=0;x<256;x++)R.sbox[H][x]=h[H][x]}let O=0;for(let H=0;H<T+2;H++)R.pbox[H]=s[H]^P[O],O++,O>=k&&(O=0);let V=0,K=0,z=0;for(let H=0;H<T+2;H+=2)z=g(R,V,K),V=z.left,K=z.right,R.pbox[H]=V,R.pbox[H+1]=K;for(let H=0;H<4;H++)for(let x=0;x<256;x+=2)z=g(R,V,K),V=z.left,K=z.right,R.sbox[H][x]=V,R.sbox[H][x+1]=K;return!0}(u,R.words,R.sigBytes/4)}},encryptBlock:function(R,P){var k=g(u,R[P],R[P+1]);R[P]=k.left,R[P+1]=k.right},decryptBlock:function(R,P){var k=function y(R,P,k){let K,O=P,V=k;for(let z=T+1;z>1;--z)O^=R.pbox[z],V=v(R,O)^V,K=O,O=V,V=K;return K=O,O=V,V=K,V^=R.pbox[1],O^=R.pbox[0],{left:O,right:V}}(u,R[P],R[P+1]);R[P]=k.left,R[P+1]=k.right},blockSize:2,keySize:4,ivSize:2});o.Blowfish=a._createHelper(b)}(),c.Blowfish)}
vendor: 10,100 bytes, line 1
1,12414:function(ge,_,f){var C,a,E,T,s,h,v,y,p,R,P,k,V,z,x,q,de,ee,c;ge.exports=(c=f(17656),f(4147),void(c.lib.Cipher||(C=c,a=C.lib,E=a.Base,T=a.WordArray,s=a.BufferedBlockAlgorithm,h=C.enc,v=h.Base64,y=C.algo.EvpKDF,p=a.Cipher=s.extend({cfg:E.extend(),createEncryptor:function(Y,ae){return this.create(this._ENC_XFORM_MODE,Y,ae)},createDecryptor:function(Y,ae){return this.create(this._DEC_XFORM_MODE,Y,ae)},init:function(Y,ae,fe){this.cfg=this.cfg.extend(fe),this._xformMode=Y,this._key=ae,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(Y){return this._append(Y),this._process()},finalize:function(Y){return Y&&this._append(Y),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function Y(ae){return"string"==typeof ae?ee:q}return function(ae){return{encrypt:function(fe,ne,ce){return Y(ne).encrypt(ae,fe,ne,ce)},decrypt:function(fe,ne,ce){return Y(ne).decrypt(ae,fe,ne,ce)}}}}()}),a.StreamCipher=p.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),R=C.mode={},P=a.BlockCipherMode=E.extend({createEncryptor:function(Y,ae){return this.Encryptor.create(Y,ae)},createDecryptor:function(Y,ae){return this.Decryptor.create(Y,ae)},init:function(Y,ae){this._cipher=Y,this._iv=ae}}),k=R.CBC=function(){var Y=P.extend();function ae(fe,ne,ce){var me,re=this._iv;re?(me=re,this._iv=undefined):me=this._prevBlock;for(var $=0;$<ce;$++)fe[ne+$]^=me[$]}return Y.Encryptor=Y.extend({processBlock:function(fe,ne){var ce=this._cipher,me=ce.blockSize;ae.call(this,fe,ne,me),ce.encryptBlock(fe,ne),this._prevBlock=fe.slice(ne,ne+me)}}),Y.Decryptor=Y.extend({processBlock:function(fe,ne){var ce=this._cipher,me=ce.blockSize,re=fe.slice(ne,ne+me);ce.decryptBlock(fe,ne),ae.call(this,fe,ne,me),this._prevBlock=re}}),Y}(),V=(C.pad={}).Pkcs7={pad:function(Y,ae){for(var fe=4*ae,ne=fe-Y.sigBytes%fe,ce=ne<<24|ne<<16|ne<<8|ne,me=[],re=0;re<ne;re+=4)me.push(ce);var $=T.create(me,ne);Y.concat($)},unpad:function(Y){Y.sigBytes-=255&Y.words[Y.sigBytes-1>>>2]}},a.BlockCipher=p.extend({cfg:p.cfg.extend({mode:k,padding:V}),reset:function(){var Y;p.reset.call(this);var ae=this.cfg,fe=ae.iv,ne=ae.mode;this._xformMode==this._ENC_XFORM_MODE?Y=ne.createEncryptor:(Y=ne.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==Y?this._mode.init(this,fe&&fe.words):(this._mode=Y.call(ne,this,fe&&fe.words),this._mode.__creator=Y)},_doProcessBlock:function(Y,ae){this._mode.processBlock(Y,ae)},_doFinalize:function(){var Y,ae=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(ae.pad(this._data,this.blockSize),Y=this._process(!0)):(Y=this._process(!0),ae.unpad(Y)),Y},blockSize:4}),z=a.CipherParams=E.extend({init:function(Y){this.mixIn(Y)},toString:function(Y){return(Y||this.formatter).stringify(this)}}),x=(C.format={}).OpenSSL={stringify:function(Y){var fe=Y.ciphertext,ne=Y.salt;return(ne?T.create([1398893684,1701076831]).concat(ne).concat(fe):fe).toString(v)},parse:function(Y){var ae,fe=v.parse(Y),ne=fe.words;return 1398893684==ne[0]&&1701076831==ne[1]&&(ae=T.create(ne.slice(2,4)),ne.splice(0,4),fe.sigBytes-=16),z.create({ciphertext:fe,salt:ae})}},q=a.SerializableCipher=E.extend({cfg:E.extend({format:x}),encrypt:function(Y,ae,fe,ne){ne=this.cfg.extend(ne);var ce=Y.createEncryptor(fe,ne),me=ce.finalize(ae),re=ce.cfg;return z.create({ciphertext:me,key:fe,iv:re.iv,algorithm:Y,mode:re.mode,padding:re.padding,blockSize:Y.blockSize,formatter:ne.format})},decrypt:function(Y,ae,fe,ne){return ne=this.cfg.extend(ne),ae=this._parse(ae,ne.format),Y.createDecryptor(fe,ne).finalize(ae.ciphertext)},_parse:function(Y,ae){return"string"==typeof Y?ae.parse(Y,this):Y}}),de=(C.kdf={}).OpenSSL={execute:function(Y,ae,fe,ne,ce){if(ne||(ne=T.random(8)),ce)var me=y.create({keySize:ae+fe,hasher:ce}).compute(Y,ne);else me=y.create({keySize:ae+fe}).compute(Y,ne);var re=T.create(me.words.slice(ae),4*fe);return me.sigBytes=4*ae,z.create({key:me,iv:re,salt:ne})}},ee=a.PasswordBasedCipher=q.extend({cfg:q.cfg.extend({kdf:de}),encrypt:function(Y,ae,fe,ne){var ce=(ne=this.cfg.extend(ne)).kdf.execute(fe,Y.keySize,Y.ivSize,ne.salt,ne.hasher);ne.iv=ce.iv;var me=q.encrypt.call(this,Y,ae,ce.key,ne);return me.mixIn(ce),me},decrypt:function(Y,ae,fe,ne){ne=this.cfg.extend(ne),ae=this._parse(ae,ne.format);var ce=ne.kdf.execute(fe,Y.keySize,Y.ivSize,ae.salt,ne.hasher);return ne.iv=ce.iv,q.decrypt.call(this,Y,ae,ce.key,ne)}}))))},17656:function(ge,_,f){var c;ge.exports=(c=c||function(o,C){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof global<"u"&&global.crypto&&(a=global.crypto),!a)try{a=f(50477)}catch{}var E=function(){if(a){if("function"==typeof a.getRandomValues)try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if("function"==typeof a.randomBytes)try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},T=Object.create||function(){function O(){}return function(V){var K;return O.prototype=V,K=new O,O.prototype=null,K}}(),s={},h=s.lib={},u=h.Base=function(){return{extend:function(O){var V=T(this);return O&&V.mixIn(O),(!V.hasOwnProperty("init")||this.init===V.init)&&(V.init=function(){V.$super.init.apply(this,arguments)}),V.init.prototype=V,V.$super=this,V},create:function(){var O=this.extend();return O.init.apply(O,arguments),O},init:function(){},mixIn:function(O){for(var V in O)O.hasOwnProperty(V)&&(this[V]=O[V]);O.hasOwnProperty("toString")&&(this.toString=O.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),v=h.WordArray=u.extend({init:function(O,V){O=this.words=O||[],this.sigBytes=null!=V?V:4*O.length},toString:function(O){return(O||y).stringify(this)},concat:function(O){var V=this.words,K=O.words,z=this.sigBytes,H=O.sigBytes;if(this.clamp(),z%4)for(var x=0;x<H;x++)V[z+x>>>2]|=(K[x>>>2]>>>24-x%4*8&255)<<24-(z+x)%4*8;else for(var Z=0;Z<H;Z+=4)V[z+Z>>>2]=K[Z>>>2];return this.sigBytes+=H,this},clamp:function(){var O=this.words,V=this.sigBytes;O[V>>>2]&=4294967295<<32-V%4*8,O.length=o.ceil(V/4)},clone:function(){var O=u.clone.call(this);return O.words=this.words.slice(0),O},random:function(O){for(var V=[],K=0;K<O;K+=4)V.push(E());return new v.init(V,O)}}),g=s.enc={},y=g.Hex={stringify:function(O){for(var V=O.words,K=O.sigBytes,z=[],H=0;H<K;H++){var x=V[H>>>2]>>>24-H%4*8&255;z.push((x>>>4).toString(16)),z.push((15&x).toString(16))}return z.join("")},parse:function(O){for(var V=O.length,K=[],z=0;z<V;z+=2)K[z>>>3]|=parseInt(O.substr(z,2),16)<<24-z%8*4;return new v.init(K,V/2)}},p=g.Latin1={stringify:function(O){for(var V=O.words,K=O.sigBytes,z=[],H=0;H<K;H++)z.push(String.fromCharCode(V[H>>>2]>>>24-H%4*8&255));return z.join("")},parse:function(O){for(var V=O.length,K=[],z=0;z<V;z++)K[z>>>2]|=(255&O.charCodeAt(z))<<24-z%4*8;return new v.init(K,V)}},b=g.Utf8={stringify:function(O){try{return decodeURIComponent(escape(p.stringify(O)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(O){return p.parse(unescape(encodeURIComponent(O)))}},R=h.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new v.init,this._nDataBytes=0},_append:function(O){"string"==typeof O&&(O=b.parse(O)),this._data.concat(O),this._nDataBytes+=O.sigBytes},_process:function(O){var V,K=this._data,z=K.words,H=K.sigBytes,x=this.blockSize,Z=H/(4*x),de=(Z=O?o.ceil(Z):o.max((0|Z)-this._minBufferSize,0))*x,ee=o.min(4*de,H);if(de){for(var Y=0;Y<de;Y+=x)this._doProcessBlock(z,Y);V=z.splice(0,de),K.sigBytes-=ee}return new v.init(V,ee)},clone:function(){var O=u.clone.call(this);return O._data=this._data.clone(),O},_minBufferSize:0}),k=(h.Hasher=R.extend({cfg:u.extend(),init:function(O){this.cfg=this.cfg.extend(O),this.reset()},reset:function(){R.reset.call(this),this._doReset()},update:function(O){return this._append(O),this._process(),this},finalize:function(O){return O&&this._append(O),this._doFinalize()},blockSize:16,_createHelper:function(O){return function(V,K){return new O.init(K).finalize(V)}},_createHmacHelper:function(O){return function(V,K){return new k.HMAC.init(O,K).finalize(V)}}}),s.algo={});return s}(Math),c)},98891:function(ge,_,f){var c,a;ge.exports=(c=f(17656),a=c.lib.WordArray,c.enc.Base64={stringify:function(h){var u=h.words,v=h.sigBytes,g=this._map;h.clamp();for(var y=[],p=0;p<v;p+=3)for(var k=(u[p>>>2]>>>24-p%4*8&255)<<16|(u[p+1>>>2]>>>24-(p+1)%4*8&255)<<8|u[p+2>>>2]>>>24-(p+2)%4*8&255,O=0;O<4&&p+.75*O<v;O++)y.push(g.charAt(k>>>6*(3-O)&63));var V=g.charAt(64);if(V)for(;y.length%4;)y.push(V);return y.join("")},parse:function(h){var u=h.length,v=this._map,g=this._reverseMap;if(!g){g=this._reverseMap=[];for(var y=0;y<v.length;y++)g[v.charCodeAt(y)]=y}var p=v.charAt(64);if(p){var b=h.indexOf(p);-1!==b&&(u=b)}return function s(h,u,v){for(var g=[],y=0,p=0;p<u;p++)if(p%4){var b=v[h.charCodeAt(p-1)]<<p%4*2,R=v[h.charCodeAt(p)]>>>6-p%4*2;g[y>>>2]|=(b|R)<<24-y%4*8,y++}return a.create(g,y)}(h,u,g)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},c.enc.Base64)},6598:function(ge,_,f){var c,a;ge.exports=(c=f(17656),a=c.lib.WordArray,c.enc.Base64url={stringify:function(h,u){void 0===u&&(u=!0);var v=h.words,g=h.sigBytes,y=u?this._safe_map:this._map;h.clamp();for(var p=[],b=0;b<g;b+=3)for(var O=(v[b>>>2]>>>24-b%4*8&255)<<16|(v[b+1>>>2]>>>24-(b+1)%4*8&255)<<8|v[b+2>>>2]>>>24-(b+2)%4*8&255,V=0;V<4&&b+.75*V<g;V++)p.push(y.charAt(O>>>6*(3-V)&63));var K=y.charAt(64);if(K)for(;p.length%4;)p.push(K);return p.join("")},parse:function(h,u){void 0===u&&(u=!0);var v=h.length,g=u?this._safe_map:this._map,y=this._reverseMap;if(!y){y=this._reverseMap=[];for(var p=0;p<g.length;p++)y[g.charCodeAt(p)]=p}var b=g.charAt(64);if(b){var R=h.indexOf(b);-1!==R&&(v=R)}return function s(h,u,v){for(var g=[],y=0,p=0;p<u;p++)if(p%4){var b=v[h.charCodeAt(p-1)]<<p%4*2,R=v[h.charCodeAt(p)]>>>6-p%4*2;g[y>>>2]|=(b|R)<<24-y%4*8,y++}return a.create(g,y)}(h,v,y)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 6,789 bytes, line 1
1+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},c.enc.Base64url)},75304:function(ge,_,f){var c;ge.exports=(c=f(17656),function(){var a=c.lib.WordArray,E=c.enc;function s(h){return h<<8&4278255360|h>>>8&16711935}E.Utf16=E.Utf16BE={stringify:function(h){for(var u=h.words,v=h.sigBytes,g=[],y=0;y<v;y+=2)g.push(String.fromCharCode(u[y>>>2]>>>16-y%4*8&65535));return g.join("")},parse:function(h){for(var u=h.length,v=[],g=0;g<u;g++)v[g>>>1]|=h.charCodeAt(g)<<16-g%2*16;return a.create(v,2*u)}},E.Utf16LE={stringify:function(h){for(var u=h.words,v=h.sigBytes,g=[],y=0;y<v;y+=2){var p=s(u[y>>>2]>>>16-y%4*8&65535);g.push(String.fromCharCode(p))}return g.join("")},parse:function(h){for(var u=h.length,v=[],g=0;g<u;g++)v[g>>>1]|=s(h.charCodeAt(g)<<16-g%2*16);return a.create(v,2*u)}}}(),c.enc.Utf16)},4147:function(ge,_,f){var o,C,a,E,T,h,c;ge.exports=(c=f(17656),f(79986),f(37868),E=(C=(o=c).lib).WordArray,h=(T=o.algo).EvpKDF=(a=C.Base).extend({cfg:a.extend({keySize:4,hasher:T.MD5,iterations:1}),init:function(u){this.cfg=this.cfg.extend(u)},compute:function(u,v){for(var g,y=this.cfg,p=y.hasher.create(),b=E.create(),R=b.words,P=y.keySize,k=y.iterations;R.length<P;){g&&p.update(g),g=p.update(u).finalize(v),p.reset();for(var O=1;O<k;O++)g=p.finalize(g),p.reset();b.concat(g)}return b.sigBytes=4*P,b}}),o.EvpKDF=function(u,v,g){return h.create(g).compute(u,v)},c.EvpKDF)},64564:function(ge,_,f){var c,E,s;ge.exports=(c=f(17656),f(12414),E=c.lib.CipherParams,s=c.enc.Hex,c.format.Hex={stringify:function(v){return v.ciphertext.toString(s)},parse:function(v){var g=s.parse(v);return E.create({ciphertext:g})}},c.format.Hex)},37868:function(ge,_,f){var c,T;ge.exports=(c=f(17656),T=c.enc.Utf8,void(c.algo.HMAC=c.lib.Base.extend({init:function(u,v){u=this._hasher=new u.init,"string"==typeof v&&(v=T.parse(v));var g=u.blockSize,y=4*g;v.sigBytes>y&&(v=u.finalize(v)),v.clamp();for(var p=this._oKey=v.clone(),b=this._iKey=v.clone(),R=p.words,P=b.words,k=0;k<g;k++)R[k]^=1549556828,P[k]^=909522486;p.sigBytes=b.sigBytes=y,this.reset()},reset:function(){var u=this._hasher;u.reset(),u.update(this._iKey)},update:function(u){return this._hasher.update(u),this},finalize:function(u){var v=this._hasher,g=v.finalize(u);return v.reset(),v.finalize(this._oKey.clone().concat(g))}})))},31471:function(ge,_,f){var c;ge.exports=(c=f(17656),f(24501),f(88823),f(75304),f(98891),f(6598),f(78855),f(79986),f(15168),f(39225),f(20885),f(84068),f(3752),f(10447),f(37868),f(87738),f(4147),f(12414),f(34152),f(69098),f(71057),f(86700),f(36115),f(90332),f(27516),f(29047),f(36964),f(52599),f(64564),f(93188),f(72515),f(85350),f(72795),f(82923),f(45269),c)},88823:function(ge,_,f){var c;ge.exports=(c=f(17656),function(){if("function"==typeof ArrayBuffer){var a=c.lib.WordArray,E=a.init,T=a.init=function(s){if(s instanceof ArrayBuffer&&(s=new Uint8Array(s)),(s instanceof Int8Array||typeof Uint8ClampedArray<"u"&&s instanceof Uint8ClampedArray||s instanceof Int16Array||s instanceof Uint16Array||s instanceof Int32Array||s instanceof Uint32Array||s instanceof Float32Array||s instanceof Float64Array)&&(s=new Uint8Array(s.buffer,s.byteOffset,s.byteLength)),s instanceof Uint8Array){for(var h=s.byteLength,u=[],v=0;v<h;v++)u[v>>>2]|=s[v]<<24-v%4*8;E.call(this,u,h)}else E.apply(this,arguments)};T.prototype=a}}(),c.lib.WordArray)},78855:function(ge,_,f){var c;ge.exports=(c=f(17656),function(o){var C=c,a=C.lib,E=a.WordArray,T=a.Hasher,s=C.algo,h=[];!function(){for(var b=0;b<64;b++)h[b]=4294967296*o.abs(o.sin(b+1))|0}();var u=s.MD5=T.extend({_doReset:function(){this._hash=new E.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(b,R){for(var P=0;P<16;P++){var k=R+P,O=b[k];b[k]=16711935&(O<<8|O>>>24)|4278255360&(O<<24|O>>>8)}var V=this._hash.words,K=b[R+0],z=b[R+1],H=b[R+2],x=b[R+3],q=b[R+4],Z=b[R+5],de=b[R+6],ee=b[R+7],Y=b[R+8],ae=b[R+9],fe=b[R+10],ne=b[R+11],ce=b[R+12],me=b[R+13],re=b[R+14],$=b[R+15],X=V[0],M=V[1],N=V[2],G=V[3];X=v(X,M,N,G,K,7,h[0]),G=v(G,X,M,N,z,12,h[1]),N=v(N,G,X,M,H,17,h[2]),M=v(M,N,G,X,x,22,h[3]),X=v(X,M,N,G,q,7,h[4]),G=v(G,X,M,N,Z,12,h[5]),N=v(N,G,X,M,de,17,h[6]),M=v(M,N,G,X,ee,22,h[7]),X=v(X,M,N,G,Y,7,h[8]),G=v(G,X,M,N,ae,12,h[9]),N=v(N,G,X,M,fe,17,h[10]),M=v(M,N,G,X,ne,22,h[11]),X=v(X,M,N,G,ce,7,h[12]),G=v(G,X,M,N,me,12,h[13]),N=v(N,G,X,M,re,17,h[14]),X=g(X,M=v(M,N,G,X,$,22,h[15]),N,G,z,5,h[16]),G=g(G,X,M,N,de,9,h[17]),N=g(N,G,X,M,ne,14,h[18]),M=g(M,N,G,X,K,20,h[19]),X=g(X,M,N,G,Z,5,h[20]),G=g(G,X,M,N,fe,9,h[21]),N=g(N,G,X,M,$,14,h[22]),M=g(M,N,G,X,q,20,h[23]),X=g(X,M,N,G,ae,5,h[24]),G=g(G,X,M,N,re,9,h[25]),N=g(N,G,X,M,x,14,h[26]),M=g(M,N,G,X,Y,20,h[27]),X=g(X,M,N,G,me,5,h[28]),G=g(G,X,M,N,H,9,h[29]),N=g(N,G,X,M,ee,14,h[30]),X=y(X,M=g(M,N,G,X,ce,20,h[31]),N,G,Z,4,h[32]),G=y(G,X,M,N,Y,11,h[33]),N=y(N,G,X,M,ne,16,h[34]),M=y(M,N,G,X,re,23,h[35]),X=y(X,M,N,G,z,4,h[36]),G=y(G,X,M,N,q,11,h[37]),N=y(N,G,X,M,ee,16,h[38]),M=y(M,N,G,X,fe,23,h[39]),X=y(X,M,N,G,me,4,h[40]),G=y(G,X,M,N,K,11,h[41]),N=y(N,G,X,M,x,16,h[42]),M=y(M,N,G,X,de,23,h[43]),X=y(X,M,N,G,ae,4,h[44]),G=y(G,X,M,N,ce,11,h[45]),N=y(N,G,X,M,$,16,h[46]),X=p(X,M=y(M,N,G,X,H,23,h[47]),N,G,K,6,h[48]),G=p(G,X,M,N,ee,10,h[49]),N=p(N,G,X,M,re,15,h[50]),M=p(M,N,G,X,Z,21,h[51]),X=p(X,M,N,G,ce,6,h[52]),G=p(G,X,M,N,x,10,h[53]),N=p(N,G,X,M,fe,15,h[54]),M=p(M,N,G,X,z,21,h[55]),X=p(X,M,N,G,Y,6,h[56]),G=p(G,X,M,N,$,10,h[57]),N=p(N,G,X,M,de,15,h[58]),M=p(M,N,G,X,me,21,h[59]),X=p(X,M,N,G,q,6,h[60]),G=p(G,X,M,N,ne,10,h[61]),N=p(N,G,X,M,H,15,h[62]),M=p(M,N,G,X,ae,21,h[63]),V[0]=V[0]+X|0,V[1]=V[1]+M|0,V[2]=V[2]+N|0,V[3]=V[3]+G|0},_doFinalize:function(){var b=this._data,R=b.words,P=8*this._nDataBytes,k=8*b.sigBytes;R[k>>>5]|=128<<24-k%32;var O=o.floor(P/4294967296),V=P;R[15+(k+64>>>9<<4)]=16711935&(O<<8|O>>>24)|4278255360&(O<<24|O>>>8),R[14+(k+64>>>9<<4)]=16711935&(V<<8|V>>>24)|4278255360&(V<<24|V>>>8),b.sigBytes=4*(R.length+1),this._process();for(var K=this._hash,z=K.words,H=0;H<4;H++){var x=z[H];z[H]=16711935&(x<<8|x>>>24)|4278255360&(x<<24|x>>>8)}return K},clone:function(){var b=T.clone.call(this);return b._hash=this._hash.clone(),b}});function v(b,R,P,k,O,V,K){var z=b+(R&P|~R&k)+O+K;return(z<<V|z>>>32-V)+R}function g(b,R,P,k,O,V,K){var z=b+(R&k|P&~k)+O+K;return(z<<V|z>>>32-V)+R}function y(b,R,P,k,O,V,K){var z=b+(R^P^k)+O+K;return(z<<V|z>>>32-V)+R}function p(b,R,P,k,O,V,K){var z=b+(P^(R|~k))+O+K;return(z<<V|z>>>32-V)+R}C.MD5=T._createHelper(u),C.HmacMD5=T._createHmacHelper(u)}(Math),c.MD5)},34152:function(ge,_,f){var c;ge.exports=(c=f(17656),f(12414),c.mode.CFB=function(){var o=c.lib.BlockCipherMode.extend();function C(a,E,T,s){var h,u=this._iv;u?(h=u.slice(0),this._iv=void 0):h=this._prevBlock,s.encryptBlock(h,0);for(var v=0;v<T;v++)a[E+v]^=h[v]}return o.Encryptor=o.extend({processBlock:function(a,E){var T=this._cipher,s=T.blockSize;
vendor: 22,811 bytes, line 1
1C.call(this,a,E,s,T),this._prevBlock=a.slice(E,E+s)}}),o.Decryptor=o.extend({processBlock:function(a,E){var T=this._cipher,s=T.blockSize,h=a.slice(E,E+s);C.call(this,a,E,s,T),this._prevBlock=h}}),o}(),c.mode.CFB)},71057:function(ge,_,f){var c;ge.exports=(c=f(17656),f(12414),c.mode.CTRGladman=function(){var o=c.lib.BlockCipherMode.extend();function C(T){if(255&~(T>>24))T+=1<<24;else{var s=T>>16&255,h=T>>8&255,u=255&T;255===s?(s=0,255===h?(h=0,255===u?u=0:++u):++h):++s,T=0,T+=s<<16,T+=h<<8,T+=u}return T}var E=o.Encryptor=o.extend({processBlock:function(T,s){var h=this._cipher,u=h.blockSize,v=this._iv,g=this._counter;v&&(g=this._counter=v.slice(0),this._iv=void 0),function a(T){return 0===(T[0]=C(T[0]))&&(T[1]=C(T[1])),T}(g);var y=g.slice(0);h.encryptBlock(y,0);for(var p=0;p<u;p++)T[s+p]^=y[p]}});return o.Decryptor=E,o}(),c.mode.CTRGladman)},69098:function(ge,_,f){var o,C,c;ge.exports=(c=f(17656),f(12414),c.mode.CTR=(C=(o=c.lib.BlockCipherMode.extend()).Encryptor=o.extend({processBlock:function(a,E){var T=this._cipher,s=T.blockSize,h=this._iv,u=this._counter;h&&(u=this._counter=h.slice(0),this._iv=void 0);var v=u.slice(0);T.encryptBlock(v,0),u[s-1]=u[s-1]+1|0;for(var g=0;g<s;g++)a[E+g]^=v[g]}}),o.Decryptor=C,o),c.mode.CTR)},36115:function(ge,_,f){var o,c;ge.exports=(c=f(17656),f(12414),c.mode.ECB=((o=c.lib.BlockCipherMode.extend()).Encryptor=o.extend({processBlock:function(C,a){this._cipher.encryptBlock(C,a)}}),o.Decryptor=o.extend({processBlock:function(C,a){this._cipher.decryptBlock(C,a)}}),o),c.mode.ECB)},86700:function(ge,_,f){var o,C,c;ge.exports=(c=f(17656),f(12414),c.mode.OFB=(C=(o=c.lib.BlockCipherMode.extend()).Encryptor=o.extend({processBlock:function(a,E){var T=this._cipher,s=T.blockSize,h=this._iv,u=this._keystream;h&&(u=this._keystream=h.slice(0),this._iv=void 0),T.encryptBlock(u,0);for(var v=0;v<s;v++)a[E+v]^=u[v]}}),o.Decryptor=C,o),c.mode.OFB)},90332:function(ge,_,f){var c;ge.exports=(c=f(17656),f(12414),c.pad.AnsiX923={pad:function(o,C){var a=o.sigBytes,E=4*C,T=E-a%E,s=a+T-1;o.clamp(),o.words[s>>>2]|=T<<24-s%4*8,o.sigBytes+=T},unpad:function(o){o.sigBytes-=255&o.words[o.sigBytes-1>>>2]}},c.pad.Ansix923)},27516:function(ge,_,f){var c;ge.exports=(c=f(17656),f(12414),c.pad.Iso10126={pad:function(o,C){var a=4*C,E=a-o.sigBytes%a;o.concat(c.lib.WordArray.random(E-1)).concat(c.lib.WordArray.create([E<<24],1))},unpad:function(o){o.sigBytes-=255&o.words[o.sigBytes-1>>>2]}},c.pad.Iso10126)},29047:function(ge,_,f){var c;ge.exports=(c=f(17656),f(12414),c.pad.Iso97971={pad:function(o,C){o.concat(c.lib.WordArray.create([2147483648],1)),c.pad.ZeroPadding.pad(o,C)},unpad:function(o){c.pad.ZeroPadding.unpad(o),o.sigBytes--}},c.pad.Iso97971)},52599:function(ge,_,f){var c;ge.exports=(c=f(17656),f(12414),c.pad.NoPadding={pad:function(){},unpad:function(){}},c.pad.NoPadding)},36964:function(ge,_,f){var c;ge.exports=(c=f(17656),f(12414),c.pad.ZeroPadding={pad:function(o,C){var a=4*C;o.clamp(),o.sigBytes+=a-(o.sigBytes%a||a)},unpad:function(o){var C=o.words,a=o.sigBytes-1;for(a=o.sigBytes-1;a>=0;a--)if(C[a>>>2]>>>24-a%4*8&255){o.sigBytes=a+1;break}}},c.pad.ZeroPadding)},87738:function(ge,_,f){var o,C,a,E,T,h,u,c;ge.exports=(c=f(17656),f(15168),f(37868),E=(C=(o=c).lib).WordArray,h=(T=o.algo).HMAC,u=T.PBKDF2=(a=C.Base).extend({cfg:a.extend({keySize:4,hasher:T.SHA256,iterations:25e4}),init:function(v){this.cfg=this.cfg.extend(v)},compute:function(v,g){for(var y=this.cfg,p=h.create(y.hasher,v),b=E.create(),R=E.create([1]),P=b.words,k=R.words,O=y.keySize,V=y.iterations;P.length<O;){var K=p.update(g).finalize(R);p.reset();for(var z=K.words,H=z.length,x=K,q=1;q<V;q++){x=p.finalize(x),p.reset();for(var Z=x.words,de=0;de<H;de++)z[de]^=Z[de]}b.concat(K),k[0]++}return b.sigBytes=4*O,b}}),o.PBKDF2=function(v,g,y){return u.create(y).compute(v,g)},c.PBKDF2)},82923:function(ge,_,f){var c;ge.exports=(c=f(17656),f(98891),f(78855),f(4147),f(12414),function(){var o=c,a=o.lib.StreamCipher,T=[],s=[],h=[],u=o.algo.RabbitLegacy=a.extend({_doReset:function(){var g=this._key.words,y=this.cfg.iv,p=this._X=[g[0],g[3]<<16|g[2]>>>16,g[1],g[0]<<16|g[3]>>>16,g[2],g[1]<<16|g[0]>>>16,g[3],g[2]<<16|g[1]>>>16],b=this._C=[g[2]<<16|g[2]>>>16,4294901760&g[0]|65535&g[1],g[3]<<16|g[3]>>>16,4294901760&g[1]|65535&g[2],g[0]<<16|g[0]>>>16,4294901760&g[2]|65535&g[3],g[1]<<16|g[1]>>>16,4294901760&g[3]|65535&g[0]];this._b=0;for(var R=0;R<4;R++)v.call(this);for(R=0;R<8;R++)b[R]^=p[R+4&7];if(y){var P=y.words,k=P[0],O=P[1],V=16711935&(k<<8|k>>>24)|4278255360&(k<<24|k>>>8),K=16711935&(O<<8|O>>>24)|4278255360&(O<<24|O>>>8),z=V>>>16|4294901760&K,H=K<<16|65535&V;for(b[0]^=V,b[1]^=z,b[2]^=K,b[3]^=H,b[4]^=V,b[5]^=z,b[6]^=K,b[7]^=H,R=0;R<4;R++)v.call(this)}},_doProcessBlock:function(g,y){var p=this._X;v.call(this),T[0]=p[0]^p[5]>>>16^p[3]<<16,T[1]=p[2]^p[7]>>>16^p[5]<<16,T[2]=p[4]^p[1]>>>16^p[7]<<16,T[3]=p[6]^p[3]>>>16^p[1]<<16;for(var b=0;b<4;b++)T[b]=16711935&(T[b]<<8|T[b]>>>24)|4278255360&(T[b]<<24|T[b]>>>8),g[y+b]^=T[b]},blockSize:4,ivSize:2});function v(){for(var g=this._X,y=this._C,p=0;p<8;p++)s[p]=y[p];for(y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<s[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<s[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<s[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<s[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<s[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<s[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<s[6]>>>0?1:0)|0,this._b=y[7]>>>0<s[7]>>>0?1:0,p=0;p<8;p++){var b=g[p]+y[p],R=65535&b,P=b>>>16;h[p]=((R*R>>>17)+R*P>>>15)+P*P^((4294901760&b)*b|0)+((65535&b)*b|0)}g[0]=h[0]+(h[7]<<16|h[7]>>>16)+(h[6]<<16|h[6]>>>16)|0,g[1]=h[1]+(h[0]<<8|h[0]>>>24)+h[7]|0,g[2]=h[2]+(h[1]<<16|h[1]>>>16)+(h[0]<<16|h[0]>>>16)|0,g[3]=h[3]+(h[2]<<8|h[2]>>>24)+h[1]|0,g[4]=h[4]+(h[3]<<16|h[3]>>>16)+(h[2]<<16|h[2]>>>16)|0,g[5]=h[5]+(h[4]<<8|h[4]>>>24)+h[3]|0,g[6]=h[6]+(h[5]<<16|h[5]>>>16)+(h[4]<<16|h[4]>>>16)|0,g[7]=h[7]+(h[6]<<8|h[6]>>>24)+h[5]|0}o.RabbitLegacy=a._createHelper(u)}(),c.RabbitLegacy)},72795:function(ge,_,f){var c;ge.exports=(c=f(17656),f(98891),f(78855),f(4147),f(12414),function(){var o=c,a=o.lib.StreamCipher,T=[],s=[],h=[],u=o.algo.Rabbit=a.extend({_doReset:function(){for(var g=this._key.words,y=this.cfg.iv,p=0;p<4;p++)g[p]=16711935&(g[p]<<8|g[p]>>>24)|4278255360&(g[p]<<24|g[p]>>>8);var b=this._X=[g[0],g[3]<<16|g[2]>>>16,g[1],g[0]<<16|g[3]>>>16,g[2],g[1]<<16|g[0]>>>16,g[3],g[2]<<16|g[1]>>>16],R=this._C=[g[2]<<16|g[2]>>>16,4294901760&g[0]|65535&g[1],g[3]<<16|g[3]>>>16,4294901760&g[1]|65535&g[2],g[0]<<16|g[0]>>>16,4294901760&g[2]|65535&g[3],g[1]<<16|g[1]>>>16,4294901760&g[3]|65535&g[0]];for(this._b=0,p=0;p<4;p++)v.call(this);for(p=0;p<8;p++)R[p]^=b[p+4&7];if(y){var P=y.words,k=P[0],O=P[1],V=16711935&(k<<8|k>>>24)|4278255360&(k<<24|k>>>8),K=16711935&(O<<8|O>>>24)|4278255360&(O<<24|O>>>8),z=V>>>16|4294901760&K,H=K<<16|65535&V;for(R[0]^=V,R[1]^=z,R[2]^=K,R[3]^=H,R[4]^=V,R[5]^=z,R[6]^=K,R[7]^=H,p=0;p<4;p++)v.call(this)}},_doProcessBlock:function(g,y){var p=this._X;v.call(this),T[0]=p[0]^p[5]>>>16^p[3]<<16,T[1]=p[2]^p[7]>>>16^p[5]<<16,T[2]=p[4]^p[1]>>>16^p[7]<<16,T[3]=p[6]^p[3]>>>16^p[1]<<16;for(var b=0;b<4;b++)T[b]=16711935&(T[b]<<8|T[b]>>>24)|4278255360&(T[b]<<24|T[b]>>>8),g[y+b]^=T[b]},blockSize:4,ivSize:2});function v(){for(var g=this._X,y=this._C,p=0;p<8;p++)s[p]=y[p];for(y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<s[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<s[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<s[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<s[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<s[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<s[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<s[6]>>>0?1:0)|0,this._b=y[7]>>>0<s[7]>>>0?1:0,p=0;p<8;p++){var b=g[p]+y[p],R=65535&b,P=b>>>16;h[p]=((R*R>>>17)+R*P>>>15)+P*P^((4294901760&b)*b|0)+((65535&b)*b|0)}g[0]=h[0]+(h[7]<<16|h[7]>>>16)+(h[6]<<16|h[6]>>>16)|0,g[1]=h[1]+(h[0]<<8|h[0]>>>24)+h[7]|0,g[2]=h[2]+(h[1]<<16|h[1]>>>16)+(h[0]<<16|h[0]>>>16)|0,g[3]=h[3]+(h[2]<<8|h[2]>>>24)+h[1]|0,g[4]=h[4]+(h[3]<<16|h[3]>>>16)+(h[2]<<16|h[2]>>>16)|0,g[5]=h[5]+(h[4]<<8|h[4]>>>24)+h[3]|0,g[6]=h[6]+(h[5]<<16|h[5]>>>16)+(h[4]<<16|h[4]>>>16)|0,g[7]=h[7]+(h[6]<<8|h[6]>>>24)+h[5]|0}o.Rabbit=a._createHelper(u)}(),c.Rabbit)},85350:function(ge,_,f){var c;ge.exports=(c=f(17656),f(98891),f(78855),f(4147),f(12414),function(){var o=c,a=o.lib.StreamCipher,E=o.algo,T=E.RC4=a.extend({_doReset:function(){for(var u=this._key,v=u.words,g=u.sigBytes,y=this._S=[],p=0;p<256;p++)y[p]=p;p=0;for(var b=0;p<256;p++){var R=p%g,k=y[p];y[p]=y[b=(b+y[p]+(v[R>>>2]>>>24-R%4*8&255))%256],y[b]=k}this._i=this._j=0},_doProcessBlock:function(u,v){u[v]^=s.call(this)},keySize:8,ivSize:0});function s(){for(var u=this._S,v=this._i,g=this._j,y=0,p=0;p<4;p++){var b=u[v=(v+1)%256];u[v]=u[g=(g+u[v])%256],u[g]=b,y|=u[(u[v]+u[g])%256]<<24-8*p}return this._i=v,this._j=g,y}o.RC4=a._createHelper(T);var h=E.RC4Drop=T.extend({cfg:T.cfg.extend({drop:192}),_doReset:function(){T._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)s.call(this)}});o.RC4Drop=a._createHelper(h)}(),c.RC4)},10447:function(ge,_,f){var c;ge.exports=(c=f(17656),function(o){var C=c,a=C.lib,E=a.WordArray,T=a.Hasher,s=C.algo,h=E.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=E.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),v=E.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),g=E.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),y=E.create([0,1518500249,1859775393,2400959708,2840853838]),p=E.create([1352829926,1548603684,1836072691,2053994217,0]),b=s.RIPEMD160=T.extend({_doReset:function(){this._hash=E.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(z,H){for(var x=0;x<16;x++){var q=H+x,Z=z[q];z[q]=16711935&(Z<<8|Z>>>24)|4278255360&(Z<<24|Z>>>8)}var me,re,$,X,M,N,G,ue,ve,we,Re,de=this._hash.words,ee=y.words,Y=p.words,ae=h.words,fe=u.words,ne=v.words,ce=g.words;for(N=me=de[0],G=re=de[1],ue=$=de[2],ve=X=de[3],we=M=de[4],x=0;x<80;x+=1)Re=me+z[H+ae[x]]|0,Re+=x<16?R(re,$,X)+ee[0]:x<32?P(re,$,X)+ee[1]:x<48?k(re,$,X)+ee[2]:x<64?O(re,$,X)+ee[3]:V(re,$,X)+ee[4],Re=(Re=K(Re|=0,ne[x]))+M|0,me=M,M=X,X=K($,10),$=re,re=Re,Re=N+z[H+fe[x]]|0,Re+=x<16?V(G,ue,ve)+Y[0]:x<32?O(G,ue,ve)+Y[1]:x<48?k(G,ue,ve)+Y[2]:x<64?P(G,ue,ve)+Y[3]:R(G,ue,ve)+Y[4],Re=(Re=K(Re|=0,ce[x]))+we|0,N=we,we=ve,ve=K(ue,10),ue=G,G=Re;Re=de[1]+$+ve|0,de[1]=de[2]+X+we|0,de[2]=de[3]+M+N|0,de[3]=de[4]+me+G|0,de[4]=de[0]+re+ue|0,de[0]=Re},_doFinalize:function(){var z=this._data,H=z.words,x=8*this._nDataBytes,q=8*z.sigBytes;H[q>>>5]|=128<<24-q%32,H[14+(q+64>>>9<<4)]=16711935&(x<<8|x>>>24)|4278255360&(x<<24|x>>>8),z.sigBytes=4*(H.length+1),this._process();for(var Z=this._hash,de=Z.words,ee=0;ee<5;ee++){var Y=de[ee];de[ee]=16711935&(Y<<8|Y>>>24)|4278255360&(Y<<24|Y>>>8)}return Z},clone:function(){var z=T.clone.call(this);return z._hash=this._hash.clone(),z}});function R(z,H,x){return z^H^x}function P(z,H,x){return z&H|~z&x}function k(z,H,x){return(z|~H)^x}function O(z,H,x){return z&x|H&~x}function V(z,H,x){return z^(H|~x)}function K(z,H){return z<<H|z>>>32-H}C.RIPEMD160=T._createHelper(b),C.HmacRIPEMD160=T._createHmacHelper(b)}(Math),c.RIPEMD160)},79986:function(ge,_,f){var o,C,a,E,s,h,c;ge.exports=(c=f(17656),a=(C=(o=c).lib).WordArray,s=[],h=o.algo.SHA1=(E=C.Hasher).extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,v){for(var g=this._hash.words,y=g[0],p=g[1],b=g[2],R=g[3],P=g[4],k=0;k<80;k++){if(k<16)s[k]=0|u[v+k];else{var O=s[k-3]^s[k-8]^s[k-14]^s[k-16];s[k]=O<<1|O>>>31}var V=(y<<5|y>>>27)+P+s[k];V+=k<20?1518500249+(p&b|~p&R):k<40?1859775393+(p^b^R):k<60?(p&b|p&R|b&R)-1894007588:(p^b^R)-899497514,P=R,R=b,b=p<<30|p>>>2,p=y,y=V}g[0]=g[0]+y|0,g[1]=g[1]+p|0,g[2]=g[2]+b|0,g[3]=g[3]+R|0,g[4]=g[4]+P|0},_doFinalize:function(){var u=this._data,v=u.words,g=8*this._nDataBytes,y=8*u.sigBytes;return v[y>>>5]|=128<<24-y%32,v[14+(y+64>>>9<<4)]=Math.floor(g/4294967296),v[15+(y+64>>>9<<4)]=g,u.sigBytes=4*v.length,this._process(),this._hash},clone:function(){var u=E.clone.call(this);return u._hash=this._hash.clone(),u}}),o.SHA1=E._createHelper(h),o.HmacSHA1=E._createHmacHelper(h),c.SHA1)},39225:function(ge,_,f){var o,a,E,T,s,c;ge.exports=(c=f(17656),f(15168),a=(o=c).lib.WordArray,s=(E=o.algo).SHA224=(T=E.SHA256).extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var h=T._doFinalize.call(this);return h.sigBytes-=4,h}}),o.SHA224=T._createHelper(s),o.HmacSHA224=T._createHmacHelper(s),c.SHA224)},15168:function(ge,_,f){var c;ge.exports=(c=f(17656),function(o){var C=c,a=C.lib,E=a.WordArray,T=a.Hasher,s=C.algo,h=[],u=[];!function(){function y(P){for(var k=o.sqrt(P),O=2;O<=k;O++)if(!(P%O))return!1;return!0}function p(P){return 4294967296*(P-(0|P))|0}for(var b=2,R=0;R<64;)y(b)&&(R<8&&(h[R]=p(o.pow(b,.5))),u[R]=p(o.pow(b,1/3)),R++),b++}();var v=[],g=s.SHA256=T.extend({_doReset:function(){this._hash=new E.init(h.slice(0))},_doProcessBlock:function(y,p){for(var b=this._hash.words,R=b[0],P=b[1],k=b[2],O=b[3],V=b[4],K=b[5],z=b[6],H=b[7],x=0;x<64;x++){if(x<16)v[x]=0|y[p+x];else{var q=v[x-15],de=v[x-2];v[x]=((q<<25|q>>>7)^(q<<14|q>>>18)^q>>>3)+v[x-7]+((de<<15|de>>>17)^(de<<13|de>>>19)^de>>>10)+v[x-16]}var ae=R&P^R&k^P&k,ce=H+((V<<26|V>>>6)^(V<<21|V>>>11)^(V<<7|V>>>25))+(V&K^~V&z)+u[x]+v[x];H=z,z=K,K=V,V=O+ce|0,O=k,k=P,P=R,R=ce+(((R<<30|R>>>2)^(R<<19|R>>>13)^(R<<10|R>>>22))+ae)|0}b[0]=b[0]+R|0,b[1]=b[1]+P|0,b[2]=b[2]+k|0,b[3]=b[3]+O|0,b[4]=b[4]+V|0,b[5]=b[5]+K|0,b[6]=b[6]+z|0,b[7]=b[7]+H|0},_doFinalize:function(){var y=this._data,p=y.words,b=8*this._nDataBytes,R=8*y.sigBytes;return p[R>>>5]|=128<<24-R%32,p[14+(R+64>>>9<<4)]=o.floor(b/4294967296),p[15+(R+64>>>9<<4)]=b,y.sigBytes=4*p.length,this._process(),this._hash},clone:function(){var y=T.clone.call(this);return y._hash=this._hash.clone(),y}});C.SHA256=T._createHelper(g),C.HmacSHA256=T._createHmacHelper(g)}(Math),c.SHA256)},3752:function(ge,_,f){var c;ge.exports=(c=f(17656),f(24501),function(o){var C=c,a=C.lib,E=a.WordArray,T=a.Hasher,h=C.x64.Word,u=C.algo,v=[],g=[],y=[];!function(){for(var R=1,P=0,k=0;k<24;k++){v[R+5*P]=(k+1)*(k+2)/2%64;var V=(2*R+3*P)%5;R=P%5,P=V}for(R=0;R<5;R++)for(P=0;P<5;P++)g[R+5*P]=P+(2*R+3*P)%5*5;for(var K=1,z=0;z<24;z++){for(var H=0,x=0,q=0;q<7;q++){if(1&K){var Z=(1<<q)-1;Z<32?x^=1<<Z:H^=1<<Z-32}128&K?K=K<<1^113:K<<=1}y[z]=h.create(H,x)}}();var p=[];!function(){for(var R=0;R<25;R++)p[R]=h.create()}();var b=u.SHA3=T.extend({cfg:T.cfg.extend({outputLength:512}),_doReset:function(){for(var R=this._state=[],P=0;P<25;P++)R[P]=new h.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(R,P){for(var k=this._state,O=this.blockSize/2,V=0;V<O;V++){var K=R[P+2*V],z=R[P+2*V+1];K=16711935&(K<<8|K>>>24)|4278255360&(K<<24|K>>>8),(H=k[V]).high^=z=16711935&(z<<8|z>>>24)|4278255360&(z<<24|z>>>8),H.low^=K}for(var x=0;x<24;x++){for(var q=0;q<5;q++){for(var Z=0,de=0,ee=0;ee<5;ee++)Z^=(H=k[q+5*ee]).high,de^=H.low;var Y=p[q];Y.high=Z,Y.low=de}for(q=0;q<5;q++){var ae=p[(q+4)%5],fe=p[(q+1)%5],ne=fe.high,ce=fe.low;for(Z=ae.high^(ne<<1|ce>>>31),de=ae.low^(ce<<1|ne>>>31),ee=0;ee<5;ee++)(H=k[q+5*ee]).high^=Z,H.low^=de}for(var me=1;me<25;me++){var re=(H=k[me]).high,$=H.low,X=v[me];X<32?(Z=re<<X|$>>>32-X,de=$<<X|re>>>32-X):(Z=$<<X-32|re>>>64-X,de=re<<X-32|$>>>64-X);var M=p[g[me]];M.high=Z,M.low=de}var N=p[0],G=k[0];for(N.high=G.high,N.low=G.low,q=0;q<5;q++)for(ee=0;ee<5;ee++){var ue=p[me=q+5*ee],ve=p[(q+1)%5+5*ee],we=p[(q+2)%5+5*ee];(H=k[me]).high=ue.high^~ve.high&we.high,H.low=ue.low^~ve.low&we.low}var H,Re=y[x];(H=k[0]).high^=Re.high,H.low^=Re.low}},_doFinalize:function(){var R=this._data,P=R.words,O=8*R.sigBytes,V=32*this.blockSize;P[O>>>5]|=1<<24-O%32,P[(o.ceil((O+1)/V)*V>>>5)-1]|=128,R.sigBytes=4*P.length,this._process();for(var K=this._state,z=this.cfg.outputLength/8,H=z/8,x=[],q=0;q<H;q++){var Z=K[q],de=Z.high,ee=Z.low;de=16711935&(de<<8|de>>>24)|4278255360&(de<<24|de>>>8),x.push(ee=16711935&(ee<<8|ee>>>24)|4278255360&(ee<<24|ee>>>8)),x.push(de)}return new E.init(x,z)},clone:function(){for(var R=T.clone.call(this),P=R._state=this._state.slice(0),k=0;k<25;k++)P[k]=P[k].clone();return R}});C.SHA3=T._createHelper(b),C.HmacSHA3=T._createHmacHelper(b)}(Math),c.SHA3)},84068:function(ge,_,f){var o,C,a,E,T,s,h,c;ge.exports=(c=f(17656),f(24501),f(20885),a=(C=(o=c).x64).Word,E=C.WordArray,h=(T=o.algo).SHA384=(s=T.SHA512).extend({_doReset:function(){this._hash=new E.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var u=s._doFinalize.call(this);return u.sigBytes-=16,u}}),o.SHA384=s._createHelper(h),o.HmacSHA384=s._createHmacHelper(h),c.SHA384)},20885:function(ge,_,f){var c;ge.exports=(c=f(17656),f(24501),function(){var o=c,a=o.lib.Hasher,E=o.x64,T=E.Word,s=E.WordArray,h=o.algo;function u(){return T.create.apply(T,arguments)}var v=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],g=[];!function(){for(var p=0;p<80;p++)g[p]=u()}();var y=h.SHA512=a.extend({_doReset:function(){this._hash=new s.init([new T.init(1779033703,4089235720),new T.init(3144134277,2227873595),new T.init(1013904242,4271175723),new T.init(2773480762,1595750129),new T.init(1359893119,2917565137),new T.init(2600822924,725511199),new T.init(528734635,4215389547),new T.init(1541459225,327033209)])},_doProcessBlock:function(p,b){for(var R=this._hash.words,P=R[0],k=R[1],O=R[2],V=R[3],K=R[4],z=R[5],H=R[6],x=R[7],q=P.high,Z=P.low,de=k.high,ee=k.low,Y=O.high,ae=O.low,fe=V.high,ne=V.low,ce=K.high,me=K.low,re=z.high,$=z.low,X=H.high,M=H.low,N=x.high,G=x.low,ue=q,ve=Z,we=de,Re=ee,et=Y,at=ae,Pt=fe,At=ne,It=ce,qt=me,St=re,lt=$,yt=X,Ft=M,rt=N,mt=G,Mt=0;Mt<80;Mt++){var Vt,Lt,$n=g[Mt];if(Mt<16)Lt=$n.high=0|p[b+2*Mt],Vt=$n.low=0|p[b+2*Mt+1];else{var Tn=g[Mt-15],An=Tn.high,jn=Tn.low,br=(jn>>>1|An<<31)^(jn>>>8|An<<24)^(jn>>>7|An<<25),Fr=g[Mt-2],On=Fr.high,sr=Fr.low,tr=(sr>>>19|On<<13)^(sr<<3|On>>>29)^(sr>>>6|On<<26),Lr=g[Mt-7],qr=g[Mt-16],hr=qr.low;$n.high=Lt=(Lt=(Lt=((An>>>1|jn<<31)^(An>>>8|jn<<24)^An>>>7)+Lr.high+((Vt=br+Lr.low)>>>0<br>>>0?1:0))+((On>>>19|sr<<13)^(On<<3|sr>>>29)^On>>>6)+((Vt+=tr)>>>0<tr>>>0?1:0))+qr.high+((Vt+=hr)>>>0<hr>>>0?1:0),$n.low=Vt}var bn,Nr=It&St^~It&yt,$r=qt<^~qt&Ft,Xr=ue&we^ue&et^we&et,vn=(ve>>>28|ue<<4)^(ve<<30|ue>>>2)^(ve<<25|ue>>>7),dr=v[Mt],tn=dr.low,Cn=rt+((It>>>14|qt<<18)^(It>>>18|qt<<14)^(It<<23|qt>>>9))+((bn=mt+((qt>>>14|It<<18)^(qt>>>18|It<<14)^(qt<<23|It>>>9)))>>>0<mt>>>0?1:0),Kn=vn+(ve&Re^ve&at^Re&at);rt=yt,mt=Ft,yt=St,Ft=lt,St=It,lt=qt,It=Pt+(Cn=(Cn=(Cn=Cn+Nr+((bn+=$r)>>>0<$r>>>0?1:0))+dr.high+((bn+=tn)>>>0<tn>>>0?1:0))+Lt+((bn+=Vt)>>>0<Vt>>>0?1:0))+((qt=At+bn|0)>>>0<At>>>0?1:0)|0,Pt=et,At=at,et=we,at=Re,we=ue,Re=ve,ue=Cn+(((ue>>>28|ve<<4)^(ue<<30|ve>>>2)^(ue<<25|ve>>>7))+Xr+(Kn>>>0<vn>>>0?1:0))+((ve=bn+Kn|0)>>>0<bn>>>0?1:0)|0}Z=P.low=Z+ve,P.high=q+ue+(Z>>>0<ve>>>0?1:0),ee=k.low=ee+Re,k.high=de+we+(ee>>>0<Re>>>0?1:0),ae=O.low=ae+at,O.high=Y+et+(ae>>>0<at>>>0?1:0),ne=V.low=ne+At,V.high=fe+Pt+(ne>>>0<At>>>0?1:0),me=K.low=me+qt,K.high=ce+It+(me>>>0<qt>>>0?1:0),$=z.low=$+lt,z.high=re+St+($>>>0<lt>>>0?1:0),M=H.low=M+Ft,H.high=X+yt+(M>>>0<Ft>>>0?1:0),G=x.low=G+mt,x.high=N+rt+(G>>>0<mt>>>0?1:0)},_doFinalize:function(){var p=this._data,b=p.words,R=8*this._nDataBytes,P=8*p.sigBytes;return b[P>>>5]|=128<<24-P%32,b[30+(P+128>>>10<<5)]=Math.floor(R/4294967296),b[31+(P+128>>>10<<5)]=R,p.sigBytes=4*b.length,this._process(),this._hash.toX32()},clone:function(){var p=a.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:32});o.SHA512=a._createHelper(y),o.HmacSHA512=a._createHmacHelper(y)}(),c.SHA512)},72515:function(ge,_,f){var c;ge.exports=(c=f(17656),f(98891),f(78855),f(4147),f(12414),function(){var o=c,C=o.lib,a=C.WordArray,E=C.BlockCipher,T=o.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],h=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],v
vendor: 7,698 bytes, line 1
1=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],g=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],
vendor: 2,750 bytes, line 1
1y=T.DES=E.extend({_doReset:function(){for(var k=this._key.words,O=[],V=0;V<56;V++){var K=s[V]-1;O[V]=k[K>>>5]>>>31-K%32&1}for(var z=this._subKeys=[],H=0;H<16;H++){var x=z[H]=[],q=u[H];for(V=0;V<24;V++)x[V/6|0]|=O[(h[V]-1+q)%28]<<31-V%6,x[4+(V/6|0)]|=O[28+(h[V+24]-1+q)%28]<<31-V%6;for(x[0]=x[0]<<1|x[0]>>>31,V=1;V<7;V++)x[V]=x[V]>>>4*(V-1)+3;x[7]=x[7]<<5|x[7]>>>27}var Z=this._invSubKeys=[];for(V=0;V<16;V++)Z[V]=z[15-V]},encryptBlock:function(P,k){this._doCryptBlock(P,k,this._subKeys)},decryptBlock:function(P,k){this._doCryptBlock(P,k,this._invSubKeys)},_doCryptBlock:function(P,k,O){this._lBlock=P[k],this._rBlock=P[k+1],p.call(this,4,252645135),p.call(this,16,65535),b.call(this,2,858993459),b.call(this,8,16711935),p.call(this,1,1431655765);for(var V=0;V<16;V++){for(var K=O[V],z=this._lBlock,H=this._rBlock,x=0,q=0;q<8;q++)x|=v[q][((H^K[q])&g[q])>>>0];this._lBlock=H,this._rBlock=z^x}var Z=this._lBlock;this._lBlock=this._rBlock,this._rBlock=Z,p.call(this,1,1431655765),b.call(this,8,16711935),b.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),P[k]=this._lBlock,P[k+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function p(P,k){var O=(this._lBlock>>>P^this._rBlock)&k;this._rBlock^=O,this._lBlock^=O<<P}function b(P,k){var O=(this._rBlock>>>P^this._lBlock)&k;this._lBlock^=O,this._rBlock^=O<<P}o.DES=E._createHelper(y);var R=T.TripleDES=E.extend({_doReset:function(){var k=this._key.words;if(2!==k.length&&4!==k.length&&k.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var O=k.slice(0,2),V=k.length<4?k.slice(0,2):k.slice(2,4),K=k.length<6?k.slice(0,2):k.slice(4,6);this._des1=y.createEncryptor(a.create(O)),this._des2=y.createEncryptor(a.create(V)),this._des3=y.createEncryptor(a.create(K))},encryptBlock:function(P,k){this._des1.encryptBlock(P,k),this._des2.decryptBlock(P,k),this._des3.encryptBlock(P,k)},decryptBlock:function(P,k){this._des3.decryptBlock(P,k),this._des2.encryptBlock(P,k),this._des1.decryptBlock(P,k)},keySize:6,ivSize:2,blockSize:2});o.TripleDES=E._createHelper(R)}(),c.TripleDES)},24501:function(ge,_,f){var a,E,T,s,c;ge.exports=(c=f(17656),E=(a=c.lib).Base,T=a.WordArray,(s=c.x64={}).Word=E.extend({init:function(v,g){this.high=v,this.low=g}}),s.WordArray=E.extend({init:function(v,g){v=this.words=v||[],this.sigBytes=null!=g?g:8*v.length},toX32:function(){for(var v=this.words,g=v.length,y=[],p=0;p<g;p++){var b=v[p];y.push(b.high),y.push(b.low)}return T.create(y,this.sigBytes)},clone:function(){for(var v=E.clone.call(this),g=v.words=this.words.slice(0),y=g.length,p=0;p<y;p++)g[p]=g[p].clone();return v}}),c)},45349:function(ge,_,f){"use strict";var c=this&&this.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};
1Object.defineProperty(_,"__esModule",{value:!0}),_.attributeRules=void 0;var o=c(f(74205)),C=/[-[\]{}()*+?.,\\^$|#\s]/g;function a(s){return s.replace(C,"\\$&")}var E=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function T(s,h){return"boolean"==typeof s.ignoreCase?s.ignoreCase:"quirks"===s.ignoreCase?!!h.quirksMode:!h.xmlMode&&E.has(s.name)}_.attributeRules={equals:function(s,h,u){var v=u.adapter,g=h.name,y=h.value;return T(h,u)?(y=y.toLowerCase(),function(p){var b=v.getAttributeValue(p,g);return null!=b&&b.length===y.length&&b.toLowerCase()===y&&s(p)}):function(p){return v.getAttributeValue(p,g)===y&&s(p)}},hyphen:function(s,h,u){var v=u.adapter,g=h.name,y=h.value,p=y.length;return T(h,u)?(y=y.toLowerCase(),function(R){var P=v.getAttributeValue(R,g);return null!=P&&(P.length===p||"-"===P.charAt(p))&&P.substr(0,p).toLowerCase()===y&&s(R)}):function(R){var P=v.getAttributeValue(R,g);return null!=P&&(P.length===p||"-"===P.charAt(p))&&P.substr(0,p)===y&&s(R)}},element:function(s,h,u){var v=u.adapter,g=h.name,y=h.value;if(/\s/.test(y))return o.default.falseFunc;var p=new RegExp("(?:^|\\s)".concat(a(y),"(?:$|\\s)"),T(h,u)?"i":"");return function(R){var P=v.getAttributeValue(R,g);return null!=P&&P.length>=y.length&&p.test(P)&&s(R)}},exists:function(s,h,u){var v=h.name,g=u.adapter;return function(y){return g.hasAttrib(y,v)&&s(y)}},start:function(s,h,u){var v=u.adapter,g=h.name,y=h.value,p=y.length;return 0===p?o.default.falseFunc:T(h,u)?(y=y.toLowerCase(),function(b){var R=v.getAttributeValue(b,g);return null!=R&&R.length>=p&&R.substr(0,p).toLowerCase()===y&&s(b)}):function(b){var R;return!(null===(R=v.getAttributeValue(b,g))||void 0===R||!R.startsWith(y))&&s(b)}},end:function(s,h,u){var v=u.adapter,g=h.name,y=h.value,p=-y.length;return 0===p?o.default.falseFunc:T(h,u)?(y=y.toLowerCase(),function(b){var R;return(null===(R=v.getAttributeValue(b,g))||void 0===R?void 0:R.substr(p).toLowerCase())===y&&s(b)}):function(b){var R;return!(null===(R=v.getAttributeValue(b,g))||void 0===R||!R.endsWith(y))&&s(b)}},any:function(s,h,u){var v=u.adapter,g=h.name,y=h.value;if(""===y)return o.default.falseFunc;if(T(h,u)){var p=new RegExp(a(y),"i");return function(R){var P=v.getAttributeValue(R,g);return null!=P&&P.length>=y.length&&p.test(P)&&s(R)}}return function(b){var R;return!(null===(R=v.getAttributeValue(b,g))||void 0===R||!R.includes(y))&&s(b)}},not:function(s,h,u){var v=u.adapter,g=h.name,y=h.value;return""===y?function(p){return!!v.getAttributeValue(p,g)&&s(p)}:T(h,u)?(y=y.toLowerCase(),function(p){var b=v.getAttributeValue(p,g);return(null==b||b.length!==y.length||b.toLowerCase()!==y)&&s(p)}):function(p){return v.getAttributeValue(p,g)!==y&&s(p)}}}},61531:function(ge,_,f){"use strict";var c=this&&this.__createBinding||(Object.create?function(K,z,H,x){void 0===x&&(x=H);var q=Object.getOwnPropertyDescriptor(z,H);(!q||("get"in q?!z.__esModule:q.writable||q.configurable))&&(q={enumerable:!0,get:function(){return z[H]}}),Object.defineProperty(K,x,q)}:function(K,z,H,x){void 0===x&&(x=H),K[x]=z[H]}),o=this&&this.__setModuleDefault||(Object.create?function(K,z){Object.defineProperty(K,"default",{enumerable:!0,value:z})}:function(K,z){K.default=z}),C=this&&this.__importStar||function(K){if(K&&K.__esModule)return K;var z={};if(null!=K)for(var H in K)"default"!==H&&Object.prototype.hasOwnProperty.call(K,H)&&c(z,K,H);return o(z,K),z},a=this&&this.__importDefault||function(K){return K&&K.__esModule?K:{default:K}};Object.defineProperty(_,"__esModule",{value:!0}),_.compileToken=_.compileUnsafe=_.compile=void 0;var E=f(67355),T=a(f(74205)),s=C(f(24508)),h=f(9022),u=f(5739);function g(K,z,H){return k("string"==typeof K?(0,E.parse)(K):K,z,H)}function y(K){return K.type===E.SelectorType.Pseudo&&("scope"===K.name||Array.isArray(K.data)&&K.data.some(function(z){return z.some(y)}))}_.compile=function v(K,z,H){var x=g(K,z,H);return(0,u.ensureIsTag)(x,z.adapter)},_.compileUnsafe=g;
1var p={type:E.SelectorType.Descendant},b={type:"_flexibleDescendant"},R={type:E.SelectorType.Pseudo,name:"scope",data:null};function k(K,z,H){var x;K.forEach(s.default),H=null!==(x=z.context)&&void 0!==x?x:H;var q=Array.isArray(H),Z=H&&(Array.isArray(H)?H:[H]);if(!1!==z.relativeSelector)!function P(K,z,H){for(var x=z.adapter,q=!(null==H||!H.every(function(Y){var ae=x.isTag(Y)&&x.getParent(Y);return Y===u.PLACEHOLDER_ELEMENT||ae&&x.isTag(ae)})),Z=0,de=K;Z<de.length;Z++){var ee=de[Z];if(!(ee.length>0&&(0,s.isTraversal)(ee[0])&&ee[0].type!==E.SelectorType.Descendant)){if(!q||ee.some(y))continue;ee.unshift(p)}ee.unshift(R)}}(K,z,Z);else if(K.some(function(Y){return Y.length>0&&(0,s.isTraversal)(Y[0])}))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");var de=!1,ee=K.map(function(Y){if(Y.length>=2){var ae=Y[0],fe=Y[1];ae.type!==E.SelectorType.Pseudo||"scope"!==ae.name||(q&&fe.type===E.SelectorType.Descendant?Y[1]=b:(fe.type===E.SelectorType.Adjacent||fe.type===E.SelectorType.Sibling)&&(de=!0))}return function O(K,z,H){var x;return K.reduce(function(q,Z){return q===T.default.falseFunc?T.default.falseFunc:(0,h.compileGeneralSelector)(q,Z,z,H,k)},null!==(x=z.rootFunc)&&void 0!==x?x:T.default.trueFunc)}(Y,z,Z)}).reduce(V,T.default.falseFunc);return ee.shouldTestNextSiblings=de,ee}function V(K,z){return z===T.default.falseFunc||K===T.default.trueFunc?K:K===T.default.falseFunc||z===T.default.trueFunc?z:function(x){return K(x)||z(x)}}_.compileToken=k},9022:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.compileGeneralSelector=void 0;var c=f(45349),o=f(72882),C=f(67355);function a(T,s){var h=s.getParent(T);return h&&s.isTag(h)?h:null}_.compileGeneralSelector=function E(T,s,h,u,v){var g=h.adapter,y=h.equals;switch(s.type){case C.SelectorType.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case C.SelectorType.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case C.SelectorType.Attribute:if(null!=s.namespace)throw new Error("Namespaced attributes are not yet supported by css-select");return(!h.xmlMode||h.lowerCaseAttributeNames)&&(s.name=s.name.toLowerCase()),c.attributeRules[s.action](T,s,h);case C.SelectorType.Pseudo:return(0,o.compilePseudoSelector)(T,s,h,u,v);case C.SelectorType.Tag:if(null!=s.namespace)throw new Error("Namespaced tag names are not yet supported by css-select");var p=s.name;return(!h.xmlMode||h.lowerCaseTags)&&(p=p.toLowerCase()),function(P){return g.getName(P)===p&&T(P)};
1case C.SelectorType.Descendant:if(!1===h.cacheResults||typeof WeakSet>"u")return function(P){for(var k=P;k=a(k,g);)if(T(k))return!0;return!1};var b=new WeakSet;return function(P){for(var k=P;k=a(k,g);)if(!b.has(k)){if(g.isTag(k)&&T(k))return!0;b.add(k)}return!1};case"_flexibleDescendant":return function(P){var k=P;do{if(T(k))return!0}while(k=a(k,g));return!1};case C.SelectorType.Parent:return function(P){return g.getChildren(P).some(function(k){return g.isTag(k)&&T(k)})};case C.SelectorType.Child:return function(P){var k=g.getParent(P);return null!=k&&g.isTag(k)&&T(k)};case C.SelectorType.Sibling:return function(P){for(var k=g.getSiblings(P),O=0;O<k.length;O++){var V=k[O];if(y(P,V))break;if(g.isTag(V)&&T(V))return!0}return!1};case C.SelectorType.Adjacent:return g.prevElementSibling?function(P){var k=g.prevElementSibling(P);return null!=k&&T(k)}:function(P){for(var O,k=g.getSiblings(P),V=0;V<k.length;V++){var K=k[V];if(y(P,K))break;g.isTag(K)&&(O=K)}return!!O&&T(O)};case C.SelectorType.Universal:if(null!=s.namespace&&"*"!==s.namespace)throw new Error("Namespaced universal selectors are not yet supported by css-select");return T}}},89214:function(ge,_,f){"use strict";var c=this&&this.__createBinding||(Object.create?function(O,V,K,z){void 0===z&&(z=K);var H=Object.getOwnPropertyDescriptor(V,K);(!H||("get"in H?!V.__esModule:H.writable||H.configurable))&&(H={enumerable:!0,get:function(){return V[K]}}),Object.defineProperty(O,z,H)}:function(O,V,K,z){void 0===z&&(z=K),O[z]=V[K]}),o=this&&this.__setModuleDefault||(Object.create?function(O,V){Object.defineProperty(O,"default",{enumerable:!0,value:V})}:function(O,V){O.default=V}),C=this&&this.__importStar||function(O){if(O&&O.__esModule)return O;var V={};if(null!=O)for(var K in O)"default"!==K&&Object.prototype.hasOwnProperty.call(O,K)&&c(V,O,K);return o(V,O),V},a=this&&this.__importDefault||function(O){return O&&O.__esModule?O:{default:O}};Object.defineProperty(_,"__esModule",{value:!0}),_.aliases=_.pseudos=_.filters=_.is=_.selectOne=_.selectAll=_.prepareContext=_._compileToken=_._compileUnsafe=_.compile=void 0;var E=C(f(80449)),T=a(f(74205)),s=f(61531),h=f(5739),u=function(O,V){return O===V},v={adapter:E,equals:u};function g(O){var V,K,z,H,x=null!=O?O:v;return null!==(V=x.adapter)&&void 0!==V||(x.adapter=E),null!==(K=x.equals)&&void 0!==K||(x.equals=null!==(H=null===(z=x.adapter)||void 0===z?void 0:z.equals)&&void 0!==H?H:u),x}function y(O){return function(K,z,H){var x=g(z);return O(K,x,H)}}function p(O){return function(K,z,H){var x=g(H);"function"!=typeof K&&(K=(0,s.compileUnsafe)(K,x,z));var q=b(z,x.adapter,K.shouldTestNextSiblings);return O(K,q,x)}}function b(O,V,K){return void 0===K&&(K=!1),K&&(O=function R(O,V){for(var K=Array.isArray(O)?O.slice(0):[O],z=K.length,H=0;H<z;H++){var x=(0,h.getNextSiblings)(K[H],V);K.push.apply(K,x)}return K}(O,V)),Array.isArray(O)?V.removeSubsets(O):V.getChildren(O)}_.compile=y(s.compile),_._compileUnsafe=y(s.compileUnsafe),_._compileToken=y(s.compileToken),_.prepareContext=b,_.selectAll=p(function(O,V,K){return O!==T.default.falseFunc&&V&&0!==V.length?K.adapter.findAll(O,V):[]}),_.selectOne=p(function(O,V,K){return O!==T.default.falseFunc&&V&&0!==V.length?K.adapter.findOne(O,V):null}),_.is=function P(O,V,K){var z=g(K);return("function"==typeof V?V:(0,s.compile)(V,z))(O)},_.default=_.selectAll;var k=f(72882);Object.defineProperty(_,"filters",{enumerable:!0,get:function(){return k.filters}}),Object.defineProperty(_,"pseudos",{enumerable:!0,get:function(){return k.pseudos}}),Object.defineProperty(_,"aliases",{enumerable:!0,get:function(){return k.aliases}})},48466:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.aliases=void 0,_.aliases={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:":is(\n :is(button, input, select, textarea, optgroup, option)[disabled],\n optgroup[disabled] > option,\n fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)\n )",enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",o
1ptional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"}},41877:function(ge,_,f){"use strict";var c=this&&this.__importDefault||function(T){return T&&T.__esModule?T:{default:T}};Object.defineProperty(_,"__esModule",{value:!0}),_.filters=void 0;var o=c(f(13487)),C=c(f(74205));function a(T,s){return function(h){var u=s.getParent(h);return null!=u&&s.isTag(u)&&T(h)}}function E(T){return function(h,u,v){var y=v.adapter[T];return"function"!=typeof y?C.default.falseFunc:function(b){return y(b)&&h(b)}}}_.filters={contains:function(T,s,h){var u=h.adapter;return function(g){return T(g)&&u.getText(g).includes(s)}},icontains:function(T,s,h){var u=h.adapter,v=s.toLowerCase();return function(y){return T(y)&&u.getText(y).toLowerCase().includes(v)}},"nth-child":function(T,s,h){var u=h.adapter,v=h.equals,g=(0,o.default)(s);return g===C.default.falseFunc?C.default.falseFunc:g===C.default.trueFunc?a(T,u):function(p){for(var b=u.getSiblings(p),R=0,P=0;P<b.length&&!v(p,b[P]);P++)u.isTag(b[P])&&R++;return g(R)&&T(p)}},"nth-last-child":function(T,s,h){var u=h.adapter,v=h.equals,g=(0,o.default)(s);return g===C.default.falseFunc?C.default.falseFunc:g===C.default.trueFunc?a(T,u):function(p){for(var b=u.getSiblings(p),R=0,P=b.length-1;P>=0&&!v(p,b[P]);P--)u.isTag(b[P])&&R++;return g(R)&&T(p)}},"nth-of-type":function(T,s,h){var u=h.adapter,v=h.equals,g=(0,o.default)(s);return g===C.default.falseFunc?C.default.falseFunc:g===C.default.trueFunc?a(T,u):function(p){for(var b=u.getSiblings(p),R=0,P=0;P<b.length;P++){var k=b[P];if(v(p,k))break;u.isTag(k)&&u.getName(k)===u.getName(p)&&R++}return g(R)&&T(p)}},"nth-last-of-type":function(T,s,h){var u=h.adapter,v=h.equals,g=(0,o.default)(s);return g===C.default.falseFunc?C.default.falseFunc:g===C.default.trueFunc?a(T,u):function(p){for(var b=u.getSiblings(p),R=0,P=b.length-1;P>=0;P--){var k=b[P];if(v(p,k))break;u.isTag(k)&&u.getName(k)===u.getName(p)&&R++}return g(R)&&T(p)}},root:function(T,s,h){var u=h.adapter;return function(v){var g=u.getParent(v);return(null==g||!u.isTag(g))&&T(v)}},scope:function(T,s,h,u){var v=h.equals;return u&&0!==u.length?1===u.length?function(g){return v(u[0],g)&&T(g)}:function(g){return u.includes(g)&&T(g)}:_.filters.root(T,s,h)},hover:E("isHovered"),visited:E("isVisited"),active:E("isActive")}},72882:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.compilePseudoSelector=_.aliases=_.pseudos=_.filters=void 0;var c=f(67355),o=f(41877);Object.defineProperty(_,"filters",{enumerable:!0,get:function(){return o.filters}});var C=f(67693);Object.defineProperty(_,"pseudos",{enumerable:!0,get:function(){return C.pseudos}});var a=f(48466);Object.defineProperty(_,"aliases",{enumerable:!0,get:function(){return a.aliases}});var E=f(5739);_.compilePseudoSelector=function T(s,h,u,v,g){var y,p=h.name,b=h.data;if(Array.isArray(b)){if(!(p in E.subselects))throw new Error("Unknown pseudo-class :".concat(p,"(").concat(b,")"));return E.subselects[p](s,b,u,v,g)}var R=null===(y=u.pseudos)||void 0===y?void 0:y[p],P="string"==typeof R?R:a.aliases[p];if("string"==typeof P){if(null!=b)throw new Error("Pseudo ".concat(p," doesn't have any arguments"));var k=(0,c.parse)(P);return E.subselects.is(s,k,u,v,g)}if("function"==typeof R)return(0,C.verifyPseudoArgs)(R,p,b,1),function(V){return R(V,b)&&s(V)};if(p in o.filters)return o.filters[p](s,b,u,v);if(p in C.pseudos){var O=C.pseudos[p];return(0,C.verifyPseudoArgs)(O,p,b,2),function(V){return O(V,u,b)&&s(V)}}throw new Error("Unknown pseudo-class :".concat(p))}},67693:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.verifyPseudoArgs=_.pseudos=void 0,_.pseudos={empty:function(c,o){var C=o.adapter;return!C.getChildren(c).some(function(a){return C.isTag(a)||""!==C.getText(a)})},"first-child":function(c,o){var C=o.adapter,a=o.equals;if(C.prevElementSibling)return null==C.prevElementSibling(c);var E=C.getSiblings(c).find(function(T){return C.isTag(T)});return null!=E&&a(c,E)},"last-child":function(c,o){for(var C=o.adapter,a=o.equals,E=C.getSiblings(c),T=E.length-1;T>=0;T--){if(a(c,E[T]))return!0;
1if(C.isTag(E[T]))break}return!1},"first-of-type":function(c,o){for(var C=o.adapter,a=o.equals,E=C.getSiblings(c),T=C.getName(c),s=0;s<E.length;s++){var h=E[s];if(a(c,h))return!0;if(C.isTag(h)&&C.getName(h)===T)break}return!1},"last-of-type":function(c,o){for(var C=o.adapter,a=o.equals,E=C.getSiblings(c),T=C.getName(c),s=E.length-1;s>=0;s--){var h=E[s];if(a(c,h))return!0;if(C.isTag(h)&&C.getName(h)===T)break}return!1},"only-of-type":function(c,o){var C=o.adapter,a=o.equals,E=C.getName(c);return C.getSiblings(c).every(function(T){return a(c,T)||!C.isTag(T)||C.getName(T)!==E})},"only-child":function(c,o){var C=o.adapter,a=o.equals;return C.getSiblings(c).every(function(E){return a(c,E)||!C.isTag(E)})}},_.verifyPseudoArgs=function f(c,o,C,a){if(null===C){if(c.length>a)throw new Error("Pseudo-class :".concat(o," requires an argument"))}else if(c.length===a)throw new Error("Pseudo-class :".concat(o," doesn't have any arguments"))}},5739:function(ge,_,f){"use strict";var c=this&&this.__spreadArray||function(u,v,g){if(g||2===arguments.length)for(var b,y=0,p=v.length;y<p;y++)(b||!(y in v))&&(b||(b=Array.prototype.slice.call(v,0,y)),b[y]=v[y]);return u.concat(b||Array.prototype.slice.call(v))},o=this&&this.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(_,"__esModule",{value:!0}),_.subselects=_.getNextSiblings=_.ensureIsTag=_.PLACEHOLDER_ELEMENT=void 0;var C=o(f(74205)),a=f(24508);function E(u,v){return u===C.default.falseFunc?C.default.falseFunc:function(g){return v.isTag(g)&&u(g)}}function T(u,v){var g=v.getSiblings(u);if(g.length<=1)return[];var y=g.indexOf(u);return y<0||y===g.length-1?[]:g.slice(y+1).filter(v.isTag)}function s(u){return{xmlMode:!!u.xmlMode,lowerCaseAttributeNames:!!u.lowerCaseAttributeNames,lowerCaseTags:!!u.lowerCaseTags,quirksMode:!!u.quirksMode,cacheResults:!!u.cacheResults,pseudos:u.pseudos,adapter:u.adapter,equals:u.equals}}_.PLACEHOLDER_ELEMENT={},_.ensureIsTag=E,_.getNextSiblings=T;var h=function(u,v,g,y,p){var b=p(v,s(g),y);return b===C.default.trueFunc?u:b===C.default.falseFunc?C.default.falseFunc:function(R){return b(R)&&u(R)}};_.subselects={is:h,matches:h,where:h,not:function(u,v,g,y,p){var b=p(v,s(g),y);return b===C.default.falseFunc?u:b===C.default.trueFunc?C.default.falseFunc:function(R){return!b(R)&&u(R)}},has:function(u,v,g,y,p){var b=g.adapter,R=s(g);R.relativeSelector=!0;var P=v.some(function(z){return z.some(a.isTraversal)})?[_.PLACEHOLDER_ELEMENT]:void 0,k=p(v,R,P);if(k===C.default.falseFunc)return C.default.falseFunc;var O=E(k,b);if(P&&k!==C.default.trueFunc){var V=k.shouldTestNextSiblings,K=void 0!==V&&V;return function(z){if(!u(z))return!1;P[0]=z;var H=b.getChildren(z),x=K?c(c([],H,!0),T(z,b),!0):H;return b.existsOne(O,x)}}return function(z){return u(z)&&b.existsOne(O,b.getChildren(z))}}}},24508:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.isTraversal=void 0;var c=f(67355),o=new Map([[c.SelectorType.Universal,50],[c.SelectorType.Tag,30],[c.SelectorType.Attribute,1],[c.SelectorType.Pseudo,0]]);_.isTraversal=function C(s){return!o.has(s.type)};var a=new Map([[c.AttributeAction.Exists,10],[c.AttributeAction.Equals,8],[c.AttributeAction.Not,7],[c.AttributeAction.Start,6],[c.AttributeAction.End,6],[c.AttributeAction.Any,5]]);function T(s){var h,u,v=null!==(h=o.get(s.type))&&void 0!==h?h:-1;return s.type===c.SelectorType.Attribute?(v=null!==(u=a.get(s.action))&&void 0!==u?u:4,s.action===c.AttributeAction.Equals&&"id"===s.name&&(v=9),s.ignoreCase&&(v>>=1)):s.type===c.SelectorType.Pseudo&&(s.data?"has"===s.name||"contains"===s.name?v=0:Array.isArray(s.data)?(v=Math.min.apply(Math,s.data.map(function(g){return Math.min.apply(Math,g.map(T))})))<0&&(v=0):v=2:v=3),v}_.default=function E(s){for(var h=s.map(T),u=1;u<s.length;u++){var v=h[u];if(!(v<0))for(var g=u-1;g>=0&&v<h[g];g--){var y=s[g+1];s[g+1]=s[g],s[g]=y,h[g+1]=h[g],h[g]=v}}}},67355:(ge,_,f)=>{"use strict";f.r(_),f.d(_,{AttributeAction:()=>C,IgnoreCaseMode:()=>o,SelectorType:()=>c,isTraversal:()=>h,parse:()=>b,stringify:()=>z});var c=function(ee){return ee.Attribute="attribute",ee.Pseudo="pseudo",ee.PseudoElement="pseudo-element",ee.Tag="tag",ee.Universal="universal",ee.Adjacent="adjacent",ee.Child="child",ee.Descendant="descendant",ee.Parent="parent",ee.Sibling="sibling",ee.ColumnCombinator="column-combinator",ee}(c||{});const o={Unknown:null,QuirksMode:"quirks",IgnoreCase:!0,CaseSensitive:!1};var C=function(ee){return ee.Any="any",ee.Element="element",ee.End="end",ee.Equals="equals",ee.Exists="exists",ee.Hyphen="hyphen",ee.Not="not",ee.Start="start",ee}(C||{});const a=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,E=/\\([\da-f]{1,6}
1\s?|(\s)|.)/gi,T=new Map([[126,C.Element],[94,C.Start],[36,C.End],[42,C.Any],[33,C.Not],[124,C.Hyphen]]),s=new Set(["has","not","matches","is","where","host","host-context"]);function h(ee){switch(ee.type){case c.Adjacent:case c.Child:case c.Descendant:case c.Parent:case c.Sibling:case c.ColumnCombinator:return!0;default:return!1}}const u=new Set(["contains","icontains"]);function v(ee,Y,ae){const fe=parseInt(Y,16)-65536;return fe!=fe||ae?Y:fe<0?String.fromCharCode(fe+65536):String.fromCharCode(fe>>10|55296,1023&fe|56320)}function g(ee){return ee.replace(E,v)}function y(ee){return 39===ee||34===ee}function p(ee){return 32===ee||9===ee||10===ee||12===ee||13===ee}function b(ee){const Y=[],ae=R(Y,`${ee}`,0);if(ae<ee.length)throw new Error(`Unmatched selector: ${ee.slice(ae)}`);return Y}function R(ee,Y,ae){let fe=[];function ne(G){const ue=Y.slice(ae+G).match(a);if(!ue)throw new Error(`Expected name, found ${Y.slice(ae)}`);const[ve]=ue;return ae+=G+ve.length,g(ve)}function ce(G){for(ae+=G;ae<Y.length&&p(Y.charCodeAt(ae));)ae++}function me(){const G=ae+=1;let ue=1;for(;ue>0&&ae<Y.length;ae++)40!==Y.charCodeAt(ae)||re(ae)?41===Y.charCodeAt(ae)&&!re(ae)&&ue--:ue++;if(ue)throw new Error("Parenthesis not matched");return g(Y.slice(G,ae-1))}function re(G){let ue=0;for(;92===Y.charCodeAt(--G);)ue++;return!(1&~ue)}function $(){if(fe.length>0&&h(fe[fe.length-1]))throw new Error("Did not expect successive traversals.")}function X(G){fe.length>0&&fe[fe.length-1].type===c.Descendant?fe[fe.length-1].type=G:($(),fe.push({type:G}))}function M(G,ue){fe.push({type:c.Attribute,name:G,action:ue,value:ne(1),namespace:null,ignoreCase:"quirks"})}function N(){if(fe.length&&fe[fe.length-1].type===c.Descendant&&fe.pop(),0===fe.length)throw new Error("Empty sub-selector");ee.push(fe)}if(ce(0),Y.length===ae)return ae;e:for(;ae<Y.length;){const G=Y.charCodeAt(ae);switch(G){case 32:case 9:case 10:case 12:case 13:(0===fe.length||fe[0].type!==c.Descendant)&&($(),fe.push({type:c.Descendant})),ce(1);break;case 62:X(c.Child),ce(1);break;case 60:X(c.Parent),ce(1);break;case 126:X(c.Sibling),ce(1);break;case 43:X(c.Adjacent),ce(1);break;case 46:M("class",C.Element);break;case 35:M("id",C.Equals);break;case 91:{ce(1);let ue,ve=null;124===Y.charCodeAt(ae)?ue=ne(1):Y.startsWith("*|",ae)?(ve="*",ue=ne(2)):(ue=ne(0),124===Y.charCodeAt(ae)&&61!==Y.charCodeAt(ae+1)&&(ve=ue,ue=ne(1))),ce(0);let we=C.Exists;const Re=T.get(Y.charCodeAt(ae));if(Re){if(we=Re,61!==Y.charCodeAt(ae+1))throw new Error("Expected `=`");ce(2)}else 61===Y.charCodeAt(ae)&&(we=C.Equals,ce(1));let et="",at=null;if("exists"!==we){if(y(Y.charCodeAt(ae))){const It=Y.charCodeAt(ae);let qt=ae+1;for(;qt<Y.length&&(Y.charCodeAt(qt)!==It||re(qt));)qt+=1;if(Y.charCodeAt(qt)!==It)throw new Error("Attribute value didn't end");et=g(Y.slice(ae+1,qt)),ae=qt+1}else{const It=ae;for(;ae<Y.length&&(!p(Y.charCodeAt(ae))&&93!==Y.charCodeAt(ae)||re(ae));)ae+=1;et=g(Y.slice(It,ae))}ce(0);const At=32|Y.charCodeAt(ae);115===At?(at=!1,ce(1)):105===At&&(at=!0,ce(1))}if(93!==Y.charCodeAt(ae))throw new Error("Attribute selector didn't terminate");ae+=1,fe.push({type:c.Attribute,name:ue,action:we,value:et,namespace:ve,ignoreCase:at});break}case 58:{if(58===Y.charCodeAt(ae+1)){fe.push({type:c.PseudoElement,name:ne(2).toLowerCase(),data:40===Y.charCodeAt(ae)?me():null});continue}const ue=ne(1).toLowerCase();let ve=null;if(40===Y.charCodeAt(ae))if(s.has(ue)){if(y(Y.charCodeAt(ae+1)))throw new Error(`Pseudo-selector ${ue} cannot be quoted`);if(ve=[],ae=R(ve,Y,ae+1),41!==Y.charCodeAt(ae))throw new Error(`Missing closing parenthesis in :${ue} (${Y})`);ae+=1}else{if(ve=me(),u.has(ue)){const we=ve.charCodeAt(0);we===ve.charCodeAt(ve.length-1)&&y(we)&&(ve=ve.slice(1,-1))}ve=g(ve)}fe.push({type:c.Pseudo,name:ue,data:ve});break}case 44:N(),fe=[],ce(1);break;default:{if(Y.startsWith("/*",ae)){const we=Y.indexOf("*/",ae+2);if(we<0)throw new Error("Comment was not terminated");ae=we+2,0===fe.length&&ce(0);break}let ve,ue=null;if(42===G)ae+=1,ve="*";else if(124===G){if(ve="",124===Y.charCodeAt(ae+1)){X(c.ColumnCombinator),ce(2);break}}else{if(!a.test(Y.slice(ae)))break e;ve=ne(0)}124===Y.charCodeAt(ae)&&124!==Y.charCodeAt(ae+1)&&(ue=ve,42===Y.charCodeAt(ae+1)?(ve="*",ae+=2):ve=ne(1)),fe.push("*"===ve?{type:c.Universal,namespace:ue}:{type:c.Tag,name:ve,namespace:ue})}}}return N(),ae}const P=["\\",'"'],k=[...P,"(",")"],O=new Set(P.map(ee=>ee.charCodeAt(0))),V=new Set(k.map(ee=>ee.charCodeAt(0))),K=new Set([...k,"~","^","$","*","+","!","|",":","[","]"," ","."].map(ee=>ee.charCodeAt(0)));function z(ee){return ee.map(Y=>Y.map(H).join("")).join(", ")}function H(ee,Y,ae){switch(ee.type){case c.Child:return 0===Y?"> ":" > ";case c.Parent:return 0===Y?"< ":" < ";case c.Sibling:return 0===Y?"~ ":" ~ ";
1case c.Adjacent:return 0===Y?"+ ":" + ";case c.Descendant:return" ";case c.ColumnCombinator:return 0===Y?"|| ":" || ";case c.Universal:return"*"===ee.namespace&&Y+1<ae.length&&"name"in ae[Y+1]?"":`${Z(ee.namespace)}*`;case c.Tag:return q(ee);case c.PseudoElement:return`::${de(ee.name,K)}${null===ee.data?"":`(${de(ee.data,V)})`}`;case c.Pseudo:return`:${de(ee.name,K)}${null===ee.data?"":`(${"string"==typeof ee.data?de(ee.data,V):z(ee.data)})`}`;case c.Attribute:{if("id"===ee.name&&ee.action===C.Equals&&"quirks"===ee.ignoreCase&&!ee.namespace)return`#${de(ee.value,K)}`;if("class"===ee.name&&ee.action===C.Element&&"quirks"===ee.ignoreCase&&!ee.namespace)return`.${de(ee.value,K)}`;const fe=q(ee);return ee.action===C.Exists?`[${fe}]`:`[${fe}${function x(ee){switch(ee){case C.Equals:return"";case C.Element:return"~";case C.Start:return"^";case C.End:return"$";case C.Any:return"*";case C.Not:return"!";case C.Hyphen:return"|";case C.Exists:throw new Error("Shouldn't be here")}}(ee.action)}="${de(ee.value,O)}"${null===ee.ignoreCase?"":ee.ignoreCase?" i":" s"}]`}}}function q(ee){return`${Z(ee.namespace)}${de(ee.name,K)}`}function Z(ee){return null!==ee?`${"*"===ee?"*":de(ee,K)}|`:""}function de(ee,Y){let ae=0,fe="";for(let ne=0;ne<ee.length;ne++)Y.has(ee.charCodeAt(ne))&&(fe+=`${ee.slice(ae,ne)}\\${ee.charAt(ne)}`,ae=ne+1);return fe.length>0?fe+ee.slice(ae):ee}},80282:(ge,_,f)=>{_.formatArgs=function o(s){if(s[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+s[0]+(this.useColors?"%c ":" ")+"+"+ge.exports.humanize(this.diff),!this.useColors)return;const h="color: "+this.color;s.splice(1,0,h,"color: inherit");let u=0,v=0;s[0].replace(/%[a-zA-Z%]/g,g=>{"%%"!==g&&(u++,"%c"===g&&(v=u))}),s.splice(v,0,h)},_.save=function C(s){try{s?_.storage.setItem("debug",s):_.storage.removeItem("debug")}catch{}},_.load=function a(){let s;try{s=_.storage.getItem("debug")}catch{}return!s&&typeof process<"u"&&"env"in process&&(s=process.env.DEBUG),s},_.useColors=function c(){return!(!(typeof window<"u"&&window.process)||"renderer"!==window.process.type&&!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},_.storage=function E(){try{return localStorage}catch{}}(),_.destroy=(()=>{let s=!1;return()=>{s||(s=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),_.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],_.log=console.debug||console.log||(()=>{}),ge.exports=f(50741)(_);const{formatters:T}=ge.exports;T.j=function(s){try{return JSON.stringify(s)}catch(h){return"[UnexpectedJSONParseError]: "+h.message}}},50741:(ge,_,f)=>{ge.exports=function c(o){function a(y){let p,R,P,b=null;function k(...O){if(!k.enabled)return;const V=k,K=Number(new Date);V.diff=K-(p||K),V.prev=p,V.curr=K,p=K,O[0]=a.coerce(O[0]),"string"!=typeof O[0]&&O.unshift("%O");let H=0;O[0]=O[0].replace(/%([a-zA-Z%])/g,(q,Z)=>
1{if("%%"===q)return"%";H++;const de=a.formatters[Z];return"function"==typeof de&&(q=de.call(V,O[H]),O.splice(H,1),H--),q}),a.formatArgs.call(V,O),(V.log||a.log).apply(V,O)}return k.namespace=y,k.useColors=a.useColors(),k.color=a.selectColor(y),k.extend=E,k.destroy=a.destroy,Object.defineProperty(k,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==b?b:(R!==a.namespaces&&(R=a.namespaces,P=a.enabled(y)),P),set:O=>{b=O}}),"function"==typeof a.init&&a.init(k),k}function E(y,p){const b=a(this.namespace+(typeof p>"u"?":":p)+y);return b.log=this.log,b}function u(y){return y.toString().substring(2,y.toString().length-2).replace(/\.\*\?$/,"*")}return a.debug=a,a.default=a,a.coerce=function v(y){return y instanceof Error?y.stack||y.message:y},a.disable=function s(){const y=[...a.names.map(u),...a.skips.map(u).map(p=>"-"+p)].join(",");return a.enable(""),y},a.enable=function T(y){let p;a.save(y),a.namespaces=y,a.names=[],a.skips=[];const b=("string"==typeof y?y:"").split(/[\s,]+/),R=b.length;for(p=0;p<R;p++)b[p]&&("-"===(y=b[p].replace(/\*/g,".*?"))[0]?a.skips.push(new RegExp("^"+y.slice(1)+"$")):a.names.push(new RegExp("^"+y+"$")))},a.enabled=function h(y){if("*"===y[y.length-1])return!0;let p,b;for(p=0,b=a.skips.length;p<b;p++)if(a.skips[p].test(y))return!1;for(p=0,b=a.names.length;p<b;p++)if(a.names[p].test(y))return!0;return!1},a.humanize=f(63244),a.destroy=function g(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(o).forEach(y=>{a[y]=o[y]}),a.names=[],a.skips=[],a.formatters={},a.selectColor=function C(y){let p=0;for(let b=0;b<y.length;b++)p=(p<<5)-p+y.charCodeAt(b),p|=0;return a.colors[Math.abs(p)%a.colors.length]},a.enable(a.load()),a}},33823:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.attributeNames=_.elementNames=void 0,_.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(f){return[f.toLowerCase(),f]})),_.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(f){return[f.toLowerCase(),f]}))},84715:function(ge,_,f){"use strict";var c=this&&this.__assign||function(){return c=Object.assign||function(z){for(var H,x=1,q=arguments.length;x<q;x++)for(var Z in H=arguments[x])Object.prototype.hasOwnProperty.call(H,Z)&&(z[Z]=H[Z]);return z},c.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(z,H,x,q){void 0===q&&(q=x);var Z=Object.getOwnPropertyDescriptor(H,x);(!Z||("get"in Z?!H.__esModule:Z.writable||Z.configurable))&&(Z={enumerable:!0,get:function(){return H[x]}}),Object.defineProperty(z,q,Z)}:function(z,H,x,q){void 0===q&&(q=x),z[q]=H[x]}),C=this&&this.__setModuleDefault||(Object.create?function(z,H){Object.defineProperty(z,"default",{enumerable:!0,value:H})}:function(z,H){z.default=H}),a=this&&this.__importStar||function(z){if(z&&z.__esModule)return z;var H={};if(null!=z)for(var x in z)"default"!==x&&Object.prototype.hasOwnProperty.call(z,x)&&o(H,z,x);return C(H,z),H};
vendor: 9,202 bytes, line 1
1Object.defineProperty(_,"__esModule",{value:!0}),_.render=void 0;var E=a(f(42704)),T=f(97799),s=f(33823),h=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function u(z){return z.replace(/"/g,""")}var g=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function y(z,H){void 0===H&&(H={});for(var x=("length"in z?z:[z]),q="",Z=0;Z<x.length;Z++)q+=p(x[Z],H);return q}function p(z,H){switch(z.type){case E.Root:return y(z.children,H);case E.Doctype:case E.Directive:return function k(z){return"<".concat(z.data,">")}(z);case E.Comment:return function K(z){return"\x3c!--".concat(z.data,"--\x3e")}(z);case E.CDATA:return function V(z){return"<![CDATA[".concat(z.children[0].data,"]]>")}(z);case E.Script:case E.Style:case E.Tag:return function P(z,H){var x;"foreign"===H.xmlMode&&(z.name=null!==(x=s.elementNames.get(z.name))&&void 0!==x?x:z.name,z.parent&&b.has(z.parent.name)&&(H=c(c({},H),{xmlMode:!1}))),!H.xmlMode&&R.has(z.name)&&(H=c(c({},H),{xmlMode:"foreign"}));var q="<".concat(z.name),Z=function v(z,H){var x;if(z){var q=!1===(null!==(x=H.encodeEntities)&&void 0!==x?x:H.decodeEntities)?u:H.xmlMode||"utf8"!==H.encodeEntities?T.encodeXML:T.escapeAttribute;return Object.keys(z).map(function(Z){var de,ee,Y=null!==(de=z[Z])&&void 0!==de?de:"";return"foreign"===H.xmlMode&&(Z=null!==(ee=s.attributeNames.get(Z))&&void 0!==ee?ee:Z),H.emptyAttrs||H.xmlMode||""!==Y?"".concat(Z,'="').concat(q(Y),'"'):Z}).join(" ")}}(z.attribs,H);return Z&&(q+=" ".concat(Z)),0===z.children.length&&(H.xmlMode?!1!==H.selfClosingTags:H.selfClosingTags&&g.has(z.name))?(H.xmlMode||(q+=" "),q+="/>"):(q+=">",z.children.length>0&&(q+=y(z.children,H)),(H.xmlMode||!g.has(z.name))&&(q+="</".concat(z.name,">"))),q}(z,H);case E.Text:return function O(z,H){var x,q=z.data||"";return!1!==(null!==(x=H.encodeEntities)&&void 0!==x?x:H.decodeEntities)&&!(!H.xmlMode&&z.parent&&h.has(z.parent.name))&&(q=H.xmlMode||"utf8"!==H.encodeEntities?(0,T.encodeXML)(q):(0,T.escapeText)(q)),q}(z,H)}}_.render=y,_.default=y;var b=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),R=new Set(["svg","math"])},42704:(ge,_)=>{"use strict";var f,o;Object.defineProperty(_,"__esModule",{value:!0}),_.Doctype=_.CDATA=_.Tag=_.Style=_.Script=_.Comment=_.Directive=_.Text=_.Root=_.isTag=_.ElementType=void 0,(o=f=_.ElementType||(_.ElementType={})).Root="root",o.Text="text",o.Directive="directive",o.Comment="comment",o.Script="script",o.Style="style",o.Tag="tag",o.CDATA="cdata",o.Doctype="doctype",_.isTag=function c(o){return o.type===f.Tag||o.type===f.Script||o.type===f.Style},_.Root=f.Root,_.Text=f.Text,_.Directive=f.Directive,_.Comment=f.Comment,_.Script=f.Script,_.Style=f.Style,_.Tag=f.Tag,_.CDATA=f.CDATA,_.Doctype=f.Doctype},13268:function(ge,_,f){"use strict";var c=this&&this.__createBinding||(Object.create?function(s,h,u,v){void 0===v&&(v=u);var g=Object.getOwnPropertyDescriptor(h,u);(!g||("get"in g?!h.__esModule:g.writable||g.configurable))&&(g={enumerable:!0,get:function(){return h[u]}}),Object.defineProperty(s,v,g)}:function(s,h,u,v){void 0===v&&(v=u),s[v]=h[u]}),o=this&&this.__exportStar||function(s,h){for(var u in s)"default"!==u&&!Object.prototype.hasOwnProperty.call(h,u)&&c(h,s,u)};Object.defineProperty(_,"__esModule",{value:!0}),_.DomHandler=void 0;var C=f(42704),a=f(49282);o(f(49282),_);var E={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},T=function(){function s(h,u,v){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof u&&(v=u,u=E),"object"==typeof h&&(u=h,h=void 0),this.callback=null!=h?h:null,this.options=null!=u?u:E,this.elementCB=null!=v?v:null}return s.prototype.onparserinit=function(h){this.parser=h},s.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},s.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},s.prototype.onerror=function(h){this.handleCallback(h)},s.prototype.onclosetag=function(){this.lastNode=null;var h=this.tagStack.pop();this.options.withEndIndices&&(h.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(h)},s.prototype.onopentag=function(h,u){var g=new a.Element(h,u,void 0,this.options.xmlMode?C.ElementType.Tag:void 0);this.addNode(g),this.tagStack.push(g)},s.prototype.ontext=function(h){var u=this.lastNode;if(u&&u.type===C.ElementType.Text)u.data+=h,this.options.withEndIndices&&(u.endIndex=this.parser.endIndex);else{var v=new a.Text(h);this.addNode(v),this.lastNode=v}},s.prototype.oncomment=function(h){if(this.lastNode&&this.lastNode.type===C.ElementType.Comment)this.lastNode.data+=h;else{var u=new a.Comment(h);this.addNode(u),this.lastNode=u}},s.prototype.oncommentend=function(){this.lastNode=null},s.prototype.oncdatastart=function(){var h=new a.Text(""),u=new a.CDATA([h]);this.addNode(u),h.parent=u,this.lastNode=h},s.prototype.oncdataend=function(){this.lastNode=null},s.prototype.onprocessinginstruction=function(h,u){var v=new a.ProcessingInstruction(h,u);this.addNode(v)},s.prototype.handleCallback=function(h){if("function"==typeof this.callback)this.callback(h,this.dom);else if(h)throw h},s.prototype.addNode=function(h){var u=this.tagStack[this.tagStack.length-1],v=u.children[u.children.length-1];this.options.withStartIndices&&(h.startIndex=this.parser.startIndex),this.options.withEndIndices&&(h.endIndex=this.parser.endIndex),u.children.push(h),v&&(h.prev=v,v.next=h),h.parent=u,this.lastNode=null},s}();_.DomHandler=T,_.default=T},49282:function(ge,_,f){"use strict";var c=this&&this.__extends||function(){var H=function(x,q){return(H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,de){Z.__proto__=de}||function(Z,de){for(var ee in de)Object.prototype.hasOwnProperty.call(de,ee)&&(Z[ee]=de[ee])})(x,q)};return function(x,q){if("function"!=typeof q&&null!==q)throw new TypeError("Class extends value "+String(q)+" is not a constructor or null");function Z(){this.constructor=x}H(x,q),x.prototype=null===q?Object.create(q):(Z.prototype=q.prototype,new Z)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(H){for(var x,q=1,Z=arguments.length;q<Z;q++)for(var de in x=arguments[q])Object.prototype.hasOwnProperty.call(x,de)&&(H[de]=x[de]);return H},o.apply(this,arguments)};Object.defineProperty(_,"__esModule",{value:!0}),_.cloneNode=_.hasChildren=_.isDocument=_.isDirective=_.isComment=_.isText=_.isCDATA=_.isTag=_.Element=_.Document=_.CDATA=_.NodeWithChildren=_.ProcessingInstruction=_.Comment=_.Text=_.DataNode=_.Node=void 0;var C=f(42704),a=function(){function H(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(H.prototype,"parentNode",{get:function(){return this.parent},set:function(x){this.parent=x},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"previousSibling",{get:function(){return this.prev},set:function(x){this.prev=x},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"nextSibling",{get:function(){return this.next},set:function(x){this.next=x},enumerable:!1,configurable:!0}),H.prototype.cloneNode=function(x){return void 0===x&&(x=!1),K(this,x)},H}();_.Node=a;var E=function(H){function x(q){var Z=H.call(this)||this;return Z.data=q,Z}return c(x,H),Object.defineProperty(x.prototype,"nodeValue",{get:function(){return this.data},set:function(q){this.data=q},enumerable:!1,configurable:!0}),x}(a);_.DataNode=E;var T=function(H){function x(){var q=null!==H&&H.apply(this,arguments)||this;return q.type=C.ElementType.Text,q}return c(x,H),Object.defineProperty(x.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),x}(E);_.Text=T;var s=function(H){function x(){var q=null!==H&&H.apply(this,arguments)||this;return q.type=C.ElementType.Comment,q}return c(x,H),Object.defineProperty(x.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),x}(E);_.Comment=s;var h=function(H){function x(q,Z){var de=H.call(this,Z)||this;return de.name=q,de.type=C.ElementType.Directive,de}return c(x,H),Object.defineProperty(x.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),x}(E);_.ProcessingInstruction=h;var u=function(H){function x(q){var Z=H.call(this)||this;return Z.children=q,Z}return c(x,H),Object.defineProperty(x.prototype,"firstChild",{get:function(){var q;return null!==(q=this.children[0])&&void 0!==q?q:null},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"childNodes",{get:function(){return this.children},set:function(q){this.children=q},enumerable:!1,configurable:!0}),x}(a);_.NodeWithChildren=u;var v=function(H){function x(){var q=null!==H&&H.apply(this,arguments)||this;return q.type=C.ElementType.CDATA,q}return c(x,H),Object.defineProperty(x.prototype,"nodeType",{get:function(){return 4}
vendor: 4,580 bytes, line 1
1,enumerable:!1,configurable:!0}),x}(u);_.CDATA=v;var g=function(H){function x(){var q=null!==H&&H.apply(this,arguments)||this;return q.type=C.ElementType.Root,q}return c(x,H),Object.defineProperty(x.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),x}(u);_.Document=g;var y=function(H){function x(q,Z,de,ee){void 0===de&&(de=[]),void 0===ee&&(ee="script"===q?C.ElementType.Script:"style"===q?C.ElementType.Style:C.ElementType.Tag);var Y=H.call(this,de)||this;return Y.name=q,Y.attribs=Z,Y.type=ee,Y}return c(x,H),Object.defineProperty(x.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"tagName",{get:function(){return this.name},set:function(q){this.name=q},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"attributes",{get:function(){var q=this;return Object.keys(this.attribs).map(function(Z){var de,ee;return{name:Z,value:q.attribs[Z],namespace:null===(de=q["x-attribsNamespace"])||void 0===de?void 0:de[Z],prefix:null===(ee=q["x-attribsPrefix"])||void 0===ee?void 0:ee[Z]}})},enumerable:!1,configurable:!0}),x}(u);function p(H){return(0,C.isTag)(H)}function b(H){return H.type===C.ElementType.CDATA}function R(H){return H.type===C.ElementType.Text}function P(H){return H.type===C.ElementType.Comment}function k(H){return H.type===C.ElementType.Directive}function O(H){return H.type===C.ElementType.Root}function K(H,x){var q;if(void 0===x&&(x=!1),R(H))q=new T(H.data);else if(P(H))q=new s(H.data);else if(p(H)){var Z=x?z(H.children):[],de=new y(H.name,o({},H.attribs),Z);Z.forEach(function(fe){return fe.parent=de}),null!=H.namespace&&(de.namespace=H.namespace),H["x-attribsNamespace"]&&(de["x-attribsNamespace"]=o({},H["x-attribsNamespace"])),H["x-attribsPrefix"]&&(de["x-attribsPrefix"]=o({},H["x-attribsPrefix"])),q=de}else if(b(H)){Z=x?z(H.children):[];var ee=new v(Z);Z.forEach(function(ne){return ne.parent=ee}),q=ee}else if(O(H)){Z=x?z(H.children):[];var Y=new g(Z);Z.forEach(function(ne){return ne.parent=Y}),H["x-mode"]&&(Y["x-mode"]=H["x-mode"]),q=Y}else{if(!k(H))throw new Error("Not implemented yet: ".concat(H.type));var ae=new h(H.name,H.data);null!=H["x-name"]&&(ae["x-name"]=H["x-name"],ae["x-publicId"]=H["x-publicId"],ae["x-systemId"]=H["x-systemId"]),q=ae}return q.startIndex=H.startIndex,q.endIndex=H.endIndex,null!=H.sourceCodeLocation&&(q.sourceCodeLocation=H.sourceCodeLocation),q}function z(H){for(var x=H.map(function(Z){return K(Z,!0)}),q=1;q<x.length;q++)x[q].prev=x[q-1],x[q-1].next=x[q];return x}_.Element=y,_.isTag=p,_.isCDATA=b,_.isText=R,_.isComment=P,_.isDirective=k,_.isDocument=O,_.hasChildren=function V(H){return Object.prototype.hasOwnProperty.call(H,"children")},_.cloneNode=K},58616:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.getFeed=void 0;var c=f(18616),o=f(4954);_.getFeed=function C(p){var b=u(y,p);return b?"feed"===b.name?function a(p){var b,R=p.children,P={type:"atom",items:(0,o.getElementsByTagName)("entry",R).map(function(V){var K,z=V.children,H={media:h(z)};g(H,"id","id",z),g(H,"title","title",z);var x=null===(K=u("link",z))||void 0===K?void 0:K.attribs.href;x&&(H.link=x);var q=v("summary",z)||v("content",z);q&&(H.description=q);var Z=v("updated",z);return Z&&(H.pubDate=new Date(Z)),H})};g(P,"id","id",R),g(P,"title","title",R);var k=null===(b=u("link",R))||void 0===b?void 0:b.attribs.href;k&&(P.link=k),g(P,"description","subtitle",R);var O=v("updated",R);return O&&(P.updated=new Date(O)),g(P,"author","email",R,!0),P}(b):function E(p){var b,R,P=null!==(R=null===(b=u("channel",p.children))||void 0===b?void 0:b.children)&&void 0!==R?R:[],k={type:p.name.substr(0,3),id:"",items:(0,o.getElementsByTagName)("item",p.children).map(function(V){var K=V.children,z={media:h(K)};g(z,"id","guid",K),g(z,"title","title",K),g(z,"link","link",K),g(z,"description","description",K);var H=v("pubDate",K)||v("dc:date",K);return H&&(z.pubDate=new Date(H)),z})};g(k,"title","title",P),g(k,"link","link",P),g(k,"description","description",P);var O=v("lastBuildDate",P);return O&&(k.updated=new Date(O)),g(k,"author","managingEditor",P,!0),k}(b):null};var T=["url","type","lang"],s=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function h(p){return(0,o.getElementsByTagName)("media:content",p).map(function(b){for(var R=b.attribs,P={medium:R.medium,isDefault:!!R.isDefault},k=0,O=T;k<O.length;k++)R[V=O[k]]&&(P[V]=R[V]);for(var K=0,z=s;K<z.length;K++){var V;R[V=z[K]]&&(P[V]=parseInt(R[V],10))}return R.expression&&(P.expression=R.expression),P})}
vendor: 4,452 bytes, line 1
1function u(p,b){return(0,o.getElementsByTagName)(p,b,!0,1)[0]}function v(p,b,R){return void 0===R&&(R=!1),(0,c.textContent)((0,o.getElementsByTagName)(p,b,R,1)).trim()}function g(p,b,R,P,k){void 0===k&&(k=!1);var O=v(R,P,k);O&&(p[b]=O)}function y(p){return"rss"===p||"feed"===p||"rdf:RDF"===p}},28700:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.uniqueSort=_.compareDocumentPosition=_.DocumentPosition=_.removeSubsets=void 0;var C,T,c=f(13268);function a(T,s){var h=[],u=[];if(T===s)return 0;for(var v=(0,c.hasChildren)(T)?T:T.parent;v;)h.unshift(v),v=v.parent;for(v=(0,c.hasChildren)(s)?s:s.parent;v;)u.unshift(v),v=v.parent;for(var g=Math.min(h.length,u.length),y=0;y<g&&h[y]===u[y];)y++;if(0===y)return C.DISCONNECTED;var p=h[y-1],b=p.children,P=u[y];return b.indexOf(h[y])>b.indexOf(P)?p===s?C.FOLLOWING|C.CONTAINED_BY:C.FOLLOWING:p===T?C.PRECEDING|C.CONTAINS:C.PRECEDING}_.removeSubsets=function o(T){for(var s=T.length;--s>=0;){var h=T[s];if(s>0&&T.lastIndexOf(h,s-1)>=0)T.splice(s,1);else for(var u=h.parent;u;u=u.parent)if(T.includes(u)){T.splice(s,1);break}}return T},(T=C=_.DocumentPosition||(_.DocumentPosition={}))[T.DISCONNECTED=1]="DISCONNECTED",T[T.PRECEDING=2]="PRECEDING",T[T.FOLLOWING=4]="FOLLOWING",T[T.CONTAINS=8]="CONTAINS",T[T.CONTAINED_BY=16]="CONTAINED_BY",_.compareDocumentPosition=a,_.uniqueSort=function E(T){return(T=T.filter(function(s,h,u){return!u.includes(s,h+1)})).sort(function(s,h){var u=a(s,h);return u&C.PRECEDING?-1:u&C.FOLLOWING?1:0}),T}},80449:function(ge,_,f){"use strict";var c=this&&this.__createBinding||(Object.create?function(a,E,T,s){void 0===s&&(s=T);var h=Object.getOwnPropertyDescriptor(E,T);(!h||("get"in h?!E.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return E[T]}}),Object.defineProperty(a,s,h)}:function(a,E,T,s){void 0===s&&(s=T),a[s]=E[T]}),o=this&&this.__exportStar||function(a,E){for(var T in a)"default"!==T&&!Object.prototype.hasOwnProperty.call(E,T)&&c(E,a,T)};Object.defineProperty(_,"__esModule",{value:!0}),_.hasChildren=_.isDocument=_.isComment=_.isText=_.isCDATA=_.isTag=void 0,o(f(18616),_),o(f(38983),_),o(f(8668),_),o(f(92933),_),o(f(4954),_),o(f(28700),_),o(f(58616),_);var C=f(13268);Object.defineProperty(_,"isTag",{enumerable:!0,get:function(){return C.isTag}}),Object.defineProperty(_,"isCDATA",{enumerable:!0,get:function(){return C.isCDATA}}),Object.defineProperty(_,"isText",{enumerable:!0,get:function(){return C.isText}}),Object.defineProperty(_,"isComment",{enumerable:!0,get:function(){return C.isComment}}),Object.defineProperty(_,"isDocument",{enumerable:!0,get:function(){return C.isDocument}}),Object.defineProperty(_,"hasChildren",{enumerable:!0,get:function(){return C.hasChildren}})},4954:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.getElementsByTagType=_.getElementsByTagName=_.getElementById=_.getElements=_.testElement=void 0;var c=f(13268),o=f(92933),C={tag_name:function(y){return"function"==typeof y?function(p){return(0,c.isTag)(p)&&y(p.name)}:"*"===y?c.isTag:function(p){return(0,c.isTag)(p)&&p.name===y}},tag_type:function(y){return"function"==typeof y?function(p){return y(p.type)}:function(p){return p.type===y}},tag_contains:function(y){return"function"==typeof y?function(p){return(0,c.isText)(p)&&y(p.data)}:function(p){return(0,c.isText)(p)&&p.data===y}}};function a(y,p){return"function"==typeof p?function(b){return(0,c.isTag)(b)&&p(b.attribs[y])}:function(b){return(0,c.isTag)(b)&&b.attribs[y]===p}}function E(y,p){return function(b){return y(b)||p(b)}}function T(y){var p=Object.keys(y).map(function(b){var R=y[b];return Object.prototype.hasOwnProperty.call(C,b)?C[b](R):a(b,R)});return 0===p.length?null:p.reduce(E)}_.testElement=function s(y,p){var b=T(y);return!b||b(p)},_.getElements=function h(y,p,b,R){void 0===R&&(R=1/0);var P=T(y);return P?(0,o.filter)(P,p,b,R):[]},_.getElementById=function u(y,p,b){return void 0===b&&(b=!0),Array.isArray(p)||(p=[p]),(0,o.findOne)(a("id",y),p,b)},_.getElementsByTagName=function v(y,p,b,R){return void 0===b&&(b=!0),void 0===R&&(R=1/0),(0,o.filter)(C.tag_name(y),p,b,R)},_.getElementsByTagType=function g(y,p,b,R){return void 0===b&&(b=!0),void 0===R&&(R=1/0),(0,o.filter)(C.tag_type(y),p,b,R)}},8668:(ge,_)=>{"use strict";function f(T){if(T.prev&&(T.prev.next=T.next),T.next&&(T.next.prev=T.prev),T.parent){var s=T.parent.children,h=s.lastIndexOf(T);h>=0&&s.splice(h,1)}T.next=null,T.prev=null,T.parent=null}
vendor: 11,240 bytes, line 1
1Object.defineProperty(_,"__esModule",{value:!0}),_.prepend=_.prependChild=_.append=_.appendChild=_.replaceElement=_.removeElement=void 0,_.removeElement=f,_.replaceElement=function c(T,s){var h=s.prev=T.prev;h&&(h.next=s);var u=s.next=T.next;u&&(u.prev=s);var v=s.parent=T.parent;if(v){var g=v.children;g[g.lastIndexOf(T)]=s,T.parent=null}},_.appendChild=function o(T,s){if(f(s),s.next=null,s.parent=T,T.children.push(s)>1){var h=T.children[T.children.length-2];h.next=s,s.prev=h}else s.prev=null},_.append=function C(T,s){f(s);var h=T.parent,u=T.next;if(s.next=u,s.prev=T,T.next=s,s.parent=h,u){if(u.prev=s,h){var v=h.children;v.splice(v.lastIndexOf(u),0,s)}}else h&&h.children.push(s)},_.prependChild=function a(T,s){if(f(s),s.parent=T,s.prev=null,1!==T.children.unshift(s)){var h=T.children[1];h.prev=s,s.next=h}else s.next=null},_.prepend=function E(T,s){f(s);var h=T.parent;if(h){var u=h.children;u.splice(u.indexOf(T),0,s)}T.prev&&(T.prev.next=s),s.parent=h,s.prev=T.prev,s.next=T,T.prev=s}},92933:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.findAll=_.existsOne=_.findOne=_.findOneChild=_.find=_.filter=void 0;var c=f(13268);function C(h,u,v,g){for(var y=[],p=[u],b=[0];;)if(b[0]>=p[0].length){if(1===b.length)return y;p.shift(),b.shift()}else{var R=p[0][b[0]++];if(h(R)&&(y.push(R),--g<=0))return y;v&&(0,c.hasChildren)(R)&&R.children.length>0&&(b.unshift(0),p.unshift(R.children))}}_.filter=function o(h,u,v,g){return void 0===v&&(v=!0),void 0===g&&(g=1/0),C(h,Array.isArray(u)?u:[u],v,g)},_.find=C,_.findOneChild=function a(h,u){return u.find(h)},_.findOne=function E(h,u,v){void 0===v&&(v=!0);for(var g=null,y=0;y<u.length&&!g;y++){var p=u[y];(0,c.isTag)(p)&&(h(p)?g=p:v&&p.children.length>0&&(g=E(h,p.children,!0)))}return g},_.existsOne=function T(h,u){return u.some(function(v){return(0,c.isTag)(v)&&(h(v)||T(h,v.children))})},_.findAll=function s(h,u){for(var v=[],g=[u],y=[0];;)if(y[0]>=g[0].length){if(1===g.length)return v;g.shift(),y.shift()}else{var p=g[0][y[0]++];(0,c.isTag)(p)&&(h(p)&&v.push(p),p.children.length>0&&(y.unshift(0),g.unshift(p.children)))}}},18616:function(ge,_,f){"use strict";var c=this&&this.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(_,"__esModule",{value:!0}),_.innerText=_.textContent=_.getText=_.getInnerHTML=_.getOuterHTML=void 0;var o=f(13268),C=c(f(84715)),a=f(42704);function E(v,g){return(0,C.default)(v,g)}_.getOuterHTML=E,_.getInnerHTML=function T(v,g){return(0,o.hasChildren)(v)?v.children.map(function(y){return E(y,g)}).join(""):""},_.getText=function s(v){return Array.isArray(v)?v.map(s).join(""):(0,o.isTag)(v)?"br"===v.name?"\n":s(v.children):(0,o.isCDATA)(v)?s(v.children):(0,o.isText)(v)?v.data:""},_.textContent=function h(v){return Array.isArray(v)?v.map(h).join(""):(0,o.hasChildren)(v)&&!(0,o.isComment)(v)?h(v.children):(0,o.isText)(v)?v.data:""},_.innerText=function u(v){return Array.isArray(v)?v.map(u).join(""):(0,o.hasChildren)(v)&&(v.type===a.ElementType.Tag||(0,o.isCDATA)(v))?u(v.children):(0,o.isText)(v)?v.data:""}},38983:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.prevElementSibling=_.nextElementSibling=_.getName=_.hasAttrib=_.getAttributeValue=_.getSiblings=_.getParent=_.getChildren=void 0;var c=f(13268);function o(v){return(0,c.hasChildren)(v)?v.children:[]}function C(v){return v.parent||null}_.getChildren=o,_.getParent=C,_.getSiblings=function a(v){var p=C(v);if(null!=p)return o(p);for(var b=[v],R=v.prev,P=v.next;null!=R;)b.unshift(R),R=R.prev;for(;null!=P;)b.push(P),P=P.next;return b},_.getAttributeValue=function E(v,g){var y;return null===(y=v.attribs)||void 0===y?void 0:y[g]},_.hasAttrib=function T(v,g){return null!=v.attribs&&Object.prototype.hasOwnProperty.call(v.attribs,g)&&null!=v.attribs[g]},_.getName=function s(v){return v.name},_.nextElementSibling=function h(v){for(var y=v.next;null!==y&&!(0,c.isTag)(y);)y=y.next;return y},_.prevElementSibling=function u(v){for(var y=v.prev;null!==y&&!(0,c.isTag)(y);)y=y.prev;return y}},52201:function(ge,_,f){"use strict";var c=this&&this.__createBinding||(Object.create?function(ee,Y,ae,fe){void 0===fe&&(fe=ae);var ne=Object.getOwnPropertyDescriptor(Y,ae);(!ne||("get"in ne?!Y.__esModule:ne.writable||ne.configurable))&&(ne={enumerable:!0,get:function(){return Y[ae]}}),Object.defineProperty(ee,fe,ne)}:function(ee,Y,ae,fe){void 0===fe&&(fe=ae),ee[fe]=Y[ae]}),o=this&&this.__setModuleDefault||(Object.create?function(ee,Y){Object.defineProperty(ee,"default",{enumerable:!0,value:Y})}:function(ee,Y){ee.default=Y}),C=this&&this.__importStar||function(ee){if(ee&&ee.__esModule)return ee;var Y={};if(null!=ee)for(var ae in ee)"default"!==ae&&Object.prototype.hasOwnProperty.call(ee,ae)&&c(Y,ee,ae);return o(Y,ee),Y},a=this&&this.__importDefault||function(ee){return ee&&ee.__esModule?ee:{default:ee}};Object.defineProperty(_,"__esModule",{value:!0}),_.decodeXML=_.decodeHTMLStrict=_.decodeHTMLAttribute=_.decodeHTML=_.determineBranch=_.EntityDecoder=_.DecodingMode=_.BinTrieFlags=_.fromCodePoint=_.replaceCodePoint=_.decodeCodePoint=_.xmlDecodeTree=_.htmlDecodeTree=void 0;var E=a(f(4560));_.htmlDecodeTree=E.default;var T=a(f(72528));_.xmlDecodeTree=T.default;var s=C(f(50331));_.decodeCodePoint=s.default;var h=f(50331);Object.defineProperty(_,"replaceCodePoint",{enumerable:!0,get:function(){return h.replaceCodePoint}}),Object.defineProperty(_,"fromCodePoint",{enumerable:!0,get:function(){return h.fromCodePoint}});var g,ee,u=function(ee){return ee[ee.NUM=35]="NUM",ee[ee.SEMI=59]="SEMI",ee[ee.EQUALS=61]="EQUALS",ee[ee.ZERO=48]="ZERO",ee[ee.NINE=57]="NINE",ee[ee.LOWER_A=97]="LOWER_A",ee[ee.LOWER_F=102]="LOWER_F",ee[ee.LOWER_X=120]="LOWER_X",ee[ee.LOWER_Z=122]="LOWER_Z",ee[ee.UPPER_A=65]="UPPER_A",ee[ee.UPPER_F=70]="UPPER_F",ee[ee.UPPER_Z=90]="UPPER_Z",ee}(u||{});function y(ee){return ee>=u.ZERO&&ee<=u.NINE}function p(ee){return ee>=u.UPPER_A&&ee<=u.UPPER_F||ee>=u.LOWER_A&&ee<=u.LOWER_F}function R(ee){return ee===u.EQUALS||function b(ee){return ee>=u.UPPER_A&&ee<=u.UPPER_Z||ee>=u.LOWER_A&&ee<=u.LOWER_Z||y(ee)}(ee)}(ee=g=_.BinTrieFlags||(_.BinTrieFlags={}))[ee.VALUE_LENGTH=49152]="VALUE_LENGTH",ee[ee.BRANCH_LENGTH=16256]="BRANCH_LENGTH",ee[ee.JUMP_TABLE=127]="JUMP_TABLE";var k,P=function(ee){return ee[ee.EntityStart=0]="EntityStart",ee[ee.NumericStart=1]="NumericStart",ee[ee.NumericDecimal=2]="NumericDecimal",ee[ee.NumericHex=3]="NumericHex",ee[ee.NamedEntity=4]="NamedEntity",ee}(P||{});!function(ee){ee[ee.Legacy=0]="Legacy",ee[ee.Strict=1]="Strict",ee[ee.Attribute=2]="Attribute"}(k=_.DecodingMode||(_.DecodingMode={}));var O=function(){function ee(Y,ae,fe){this.decodeTree=Y,this.emitCodePoint=ae,this.errors=fe,this.state=P.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=k.Strict}return ee.prototype.startEntity=function(Y){this.decodeMode=Y,this.state=P.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},ee.prototype.write=function(Y,ae){switch(this.state){case P.EntityStart:return Y.charCodeAt(ae)===u.NUM?(this.state=P.NumericStart,this.consumed+=1,this.stateNumericStart(Y,ae+1)):(this.state=P.NamedEntity,this.stateNamedEntity(Y,ae));case P.NumericStart:return this.stateNumericStart(Y,ae);case P.NumericDecimal:return this.stateNumericDecimal(Y,ae);case P.NumericHex:return this.stateNumericHex(Y,ae);case P.NamedEntity:return this.stateNamedEntity(Y,ae)}},ee.prototype.stateNumericStart=function(Y,ae){return ae>=Y.length?-1:(32|Y.charCodeAt(ae))===u.LOWER_X?(this.state=P.NumericHex,this.consumed+=1,this.stateNumericHex(Y,ae+1)):(this.state=P.NumericDecimal,this.stateNumericDecimal(Y,ae))},ee.prototype.addToNumericResult=function(Y,ae,fe,ne){if(ae!==fe){var ce=fe-ae;this.result=this.result*Math.pow(ne,ce)+parseInt(Y.substr(ae,ce),ne),this.consumed+=ce}},ee.prototype.stateNumericHex=function(Y,ae){for(var fe=ae;ae<Y.length;){var ne=Y.charCodeAt(ae);if(!y(ne)&&!p(ne))return this.addToNumericResult(Y,fe,ae,16),this.emitNumericEntity(ne,3);ae+=1}return this.addToNumericResult(Y,fe,ae,16),-1},ee.prototype.stateNumericDecimal=function(Y,ae){for(var fe=ae;ae<Y.length;){var ne=Y.charCodeAt(ae);if(!y(ne))return this.addToNumericResult(Y,fe,ae,10),this.emitNumericEntity(ne,2);ae+=1}return this.addToNumericResult(Y,fe,ae,10),-1},ee.prototype.emitNumericEntity=function(Y,ae){var fe;if(this.consumed<=ae)return null===(fe=this.errors)||void 0===fe||fe.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(Y===u.SEMI)this.consumed+=1;else if(this.decodeMode===k.Strict)return 0;return this.emitCodePoint((0,s.replaceCodePoint)(this.result),this.consumed),this.errors&&(Y!==u.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},ee.prototype.stateNamedEntity=function(Y,ae){for(var fe=this.decodeTree,ne=fe[this.treeIndex],ce=(ne&g.VALUE_LENGTH)>>14;ae<Y.length;ae++,this.excess++){var me=Y.charCodeAt(ae);if(this.treeIndex=K(fe,ne,this.treeIndex+Math.max(1,ce),me),this.treeIndex<0)return 0===this.result||this.decodeMode===k.Attribute&&(0===ce||R(me))?0:this.emitNotTerminatedNamedEntity();if(0!=(ce=((ne=fe[this.treeIndex])&g.VALUE_LENGTH)>>14)){if(me===u.SEMI)return this.emitNamedEntityData(this.treeIndex,ce,this.consumed+this.excess);this.decodeMode!==k.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},ee.prototype.emitNotTerminatedNamedEntity=function(){var Y,fe=this.result;return this.emitNamedEntityData(fe,(this.decodeTree[fe]&g.VALUE_LENGTH)>>14,this.consumed),null===(Y=this.errors)||void 0===Y||Y.missingSemicolonAfterCharacterReference(),this.consumed},ee.prototype.emitNamedEntityData=function(Y,ae,fe){var ne=this.decodeTree;return this.emitCodePoint(1===ae?ne[Y]&~g.VALUE_LENGTH:ne[Y+1],fe),3===ae&&this.emitCodePoint(ne[Y+2],fe),fe},ee.prototype.end=function(){var Y;switch(this.state){case P.NamedEntity:return 0===this.result||this.decodeMode===k.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case P.NumericDecimal:return this.emitNumericEntity(0,2);case P.NumericHex:return this.emitNumericEntity(0,3);case P.NumericStart:return null===(Y=this.errors)||void 0===Y||Y.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case P.EntityStart:return 0}},ee}();function V(ee){var Y="",ae=new O(ee,function(fe){return Y+=(0,s.fromCodePoint)(fe)});return function(ne,ce){for(var me=0,re=0;(re=ne.indexOf("&",re))>=0;){Y+=ne.slice(me,re),ae.startEntity(ce);var $=ae.write(ne,re+1);if($<0){me=re+ae.end();break}me=re+$,re=0===$?me+1:me}var X=Y+ne.slice(me);return Y="",X}}function K(ee,Y,ae,fe){var ne=(Y&g.BRANCH_LENGTH)>>7,ce=Y&g.JUMP_TABLE;if(0===ne)return 0!==ce&&fe===ce?ae:-1;if(ce){var me=fe-ce;return me<0||me>=ne?-1:ee[ae+me]-1}for(var re=ae,$=re+ne-1;re<=$;){var X=re+$>>>1,M=ee[X];if(M<fe)re=X+1;else{if(!(M>fe))return ee[X+ne];$=X-1}}return-1}_.EntityDecoder=O,_.determineBranch=K;var z=V(E.default),H=V(T.default);_.decodeHTML=function x(ee,Y){return void 0===Y&&(Y=k.Legacy),z(ee,Y)},_.decodeHTMLAttribute=function q(ee){return z(ee,k.Attribute)},_.decodeHTMLStrict=function Z(ee){return z(ee,k.Strict)},_.decodeXML=function de(ee){return H(ee,k.Strict)}},50331:(ge,_)=>{"use strict";var f;
vendor: 4,085 bytes, line 1
1Object.defineProperty(_,"__esModule",{value:!0}),_.replaceCodePoint=_.fromCodePoint=void 0;var c=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function o(a){var E;return a>=55296&&a<=57343||a>1114111?65533:null!==(E=c.get(a))&&void 0!==E?E:a}_.fromCodePoint=null!==(f=String.fromCodePoint)&&void 0!==f?f:function(a){var E="";return a>65535&&(a-=65536,E+=String.fromCharCode(a>>>10&1023|55296),a=56320|1023&a),E+String.fromCharCode(a)},_.replaceCodePoint=o,_.default=function C(a){return(0,_.fromCodePoint)(o(a))}},53825:function(ge,_,f){"use strict";var c=this&&this.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(_,"__esModule",{value:!0}),_.encodeNonAsciiHTML=_.encodeHTML=void 0;var o=c(f(30433)),C=f(31996),a=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function s(h,u){for(var y,v="",g=0;null!==(y=h.exec(u));){var p=y.index;v+=u.substring(g,p);var b=u.charCodeAt(p),R=o.default.get(b);if("object"==typeof R){if(p+1<u.length){var P=u.charCodeAt(p+1),k="number"==typeof R.n?R.n===P?R.o:void 0:R.n.get(P);if(void 0!==k){v+=k,g=h.lastIndex+=1;continue}}R=R.v}if(void 0!==R)v+=R,g=p+1;else{var O=(0,C.getCodePoint)(u,p);v+="&#x".concat(O.toString(16),";"),g=h.lastIndex+=+(O!==b)}}return v+u.substr(g)}_.encodeHTML=function E(h){return s(a,h)},_.encodeNonAsciiHTML=function T(h){return s(C.xmlReplacer,h)}},31996:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.escapeText=_.escapeAttribute=_.escapeUTF8=_.escape=_.encodeXML=_.getCodePoint=_.xmlReplacer=void 0,_.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var f=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function c(C){for(var T,a="",E=0;null!==(T=_.xmlReplacer.exec(C));){var s=T.index,h=C.charCodeAt(s),u=f.get(h);void 0!==u?(a+=C.substring(E,s)+u,E=s+1):(a+="".concat(C.substring(E,s),"&#x").concat((0,_.getCodePoint)(C,s).toString(16),";"),E=_.xmlReplacer.lastIndex+=+(55296==(64512&h)))}return a+C.substr(E)}function o(C,a){return function(T){for(var s,h=0,u="";s=C.exec(T);)h!==s.index&&(u+=T.substring(h,s.index)),u+=a.get(s[0].charCodeAt(0)),h=s.index+1;return u+T.substring(h)}}_.getCodePoint=null!=String.prototype.codePointAt?function(C,a){return C.codePointAt(a)}:function(C,a){return 55296==(64512&C.charCodeAt(a))?1024*(C.charCodeAt(a)-55296)+C.charCodeAt(a+1)-56320+65536:C.charCodeAt(a)},_.encodeXML=c,_.escape=c,_.escapeUTF8=o(/[&<>'"]/g,f),_.escapeAttribute=o(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),_.escapeText=o(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},4560:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=new Uint16Array('\u1d41<\xd5\u0131\u028a\u049d\u057b\u05d0\u0675\u06de\u07a2\u07d6\u080f\u0a4a\u0a91\u0da1\u0e6d\u0f09\u0f26\u10ca\u1228\u12e1\u1415\u149d\u14c3\u14df\u1525\0\0\0\0\0\0\u156b\u16cd\u198d\u1c12\u1ddd\u1f7e\u2060\u21b0\u228d\u23c0\u23fb\u2442\u2824\u2912\u2d08\u2e48\u2fce\u3016\u32ba\u3639\u37ac\u38fe\u3a28\u3a71\u3ae0\u3b2e\u0800EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig\u803b\xc6\u40c6P\u803b&\u4026cute\u803b\xc1\u40c1reve;\u4102\u0100iyx}rc\u803b\xc2\u40c2;\u4410r;\uc000\u{1d504}rave\u803b\xc0\u40c0pha;\u4391acr;\u4100d;\u6a53\u0100gp\x9d\xa1on;\u4104f;\uc000\u{1d538}plyFunction;\u6061ing\u803b\xc5\u40c5\u0100cs\xbe\xc3r;\uc000\u{1d49c}ign;\u6254ilde\u803b\xc3\u40c3ml\u803b\xc4\u40c4\u0400aceforsu\xe5\xfb\xfe\u0117\u011c\u0122\u0127\u012a\u0100cr\xea\xf2kslash;\u6216\u0176\xf6\xf8;\u6ae7ed;\u6306y;\u4411\u0180crt\u0105\u010b\u0114ause;\u6235noullis;\u612ca;\u4392r;\uc000\u{1d505}pf;\uc000\u{1d539}eve;\u42d8c\xf2\u0113mpeq;\u624e\u0700HOacdefhilorsu\u014d\u0151\u0156\u0180\u019e\u01a2\u01b5\u01b7\u01ba\u01dc\u0215\u0273\u0278\u027ecy;\u4427PY\u803b\xa9\u40a9\u0180cpy\u015d\u0162\u017aute;\u4106\u0100;
1i\u0167\u0168\u62d2talDifferentialD;\u6145leys;\u612d\u0200aeio\u0189\u018e\u0194\u0198ron;\u410cdil\u803b\xc7\u40c7rc;\u4108nint;\u6230ot;\u410a\u0100dn\u01a7\u01adilla;\u40b8terDot;\u40b7\xf2\u017fi;\u43a7rcle\u0200DMPT\u01c7\u01cb\u01d1\u01d6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01e2\u01f8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020foubleQuote;\u601duote;\u6019\u0200lnpu\u021e\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6a74\u0180git\u022f\u0236\u023aruent;\u6261nt;\u622fourIntegral;\u622e\u0100fr\u024c\u024e;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6a2fcr;\uc000\u{1d49e}p\u0100;C\u0284\u0285\u62d3ap;\u624d\u0580DJSZacefios\u02a0\u02ac\u02b0\u02b4\u02b8\u02cb\u02d7\u02e1\u02e6\u0333\u048d\u0100;o\u0179\u02a5trahd;\u6911cy;\u4402cy;\u4405cy;\u440f\u0180grs\u02bf\u02c4\u02c7ger;\u6021r;\u61a1hv;\u6ae4\u0100ay\u02d0\u02d5ron;\u410e;\u4414l\u0100;t\u02dd\u02de\u6207a;\u4394r;\uc000\u{1d507}\u0100af\u02eb\u0327\u0100cm\u02f0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031ccute;\u40b4o\u0174\u030b\u030d;\u42d9bleAcute;\u42ddrave;\u4060ilde;\u42dcond;\u62c4ferentialD;\u6146\u0470\u033d\0\0\0\u0342\u0354\0\u0405f;\uc000\u{1d53b}\u0180;DE\u0348\u0349\u034d\u40a8ot;\u60dcqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03cf\u03e2\u03f8ontourIntegra\xec\u0239o\u0274\u0379\0\0\u037b\xbb\u0349nArrow;\u61d3\u0100eo\u0387\u03a4ft\u0180ART\u0390\u0396\u03a1rrow;\u61d0ightArrow;\u61d4e\xe5\u02cang\u0100LR\u03ab\u03c4eft\u0100AR\u03b3\u03b9rrow;\u67f8ightArrow;\u67faightArrow;\u67f9ight\u0100AT\u03d8\u03derrow;\u61d2ee;\u62a8p\u0241\u03e9\0\0\u03efrrow;\u61d1ownArrow;\u61d5erticalBar;\u6225n\u0300ABLRTa\u0412\u042a\u0430\u045e\u047f\u037crrow\u0180;BU\u041d\u041e\u0422\u6193ar;\u6913pArrow;\u61f5reve;\u4311eft\u02d2\u043a\0\u0446\0\u0450ightVector;\u6950eeVector;\u695eector\u0100;B\u0459\u045a\u61bdar;\u6956ight\u01d4\u0467\0\u0471eeVector;\u695fector\u0100;B\u047a\u047b\u61c1ar;\u6957ee\u0100;A\u0486\u0487\u62a4rrow;\u61a7\u0100ct\u0492\u0497r;\uc000\u{1d49f}rok;\u4110\u0800NTacdfglmopqstux\u04bd\u04c0\u04c4\u04cb\u04de\u04e2\u04e7\u04ee\u04f5\u0521\u052f\u0536\u0552\u055d\u0560\u0565G;\u414aH\u803b\xd0\u40d0cute\u803b\xc9\u40c9\u0180aiy\u04d2\u04d7\u04dcron;\u411arc\u803b\xca\u40ca;\u442dot;\u4116r;\uc000\u{1d508}rave\u803b\xc8\u40c8ement;\u6208\u0100ap\u04fa\u04fecr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65fberySmallSquare;\u65ab\u0100gp\u0526\u052aon;\u4118f;\uc000\u{1d53c}silon;\u4395u\u0100ai\u053c\u0549l\u0100;T\u0542\u0543\u6a75ilde;\u6242librium;\u61cc\u0100ci\u0557\u055ar;\u6130m;\u6a73a;\u4397ml\u803b\xcb\u40cb\u0100ip\u056a\u056fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058d\u05b2\u05ccy;\u4424r;\uc000\u{1d509}lled\u0253\u0597\0\0\u05a3mallSquare;\u65fcerySmallSquare;\u65aa\u0370\u05ba\0\u05bf\0\0\u05c4f;\uc000\u{1d53d}All;\u6200riertrf;\u6131c\xf2\u05cb\u0600JTabcdfgorst\u05e8\u05ec\u05ef\u05fa\u0600\u0612\u0616\u061b\u061d\u0623\u066c\u0672cy;\u4403\u803b>\u403emma\u0100;d\u05f7\u05f8\u4393;\u43dcreve;\u411e\u0180eiy\u0607\u060c\u0610dil;\u4122rc;\u411c;\u4413ot;\u4120r;\uc000\u{1d50a};\u62d9pf;\uc000\u{1d53e}eater\u0300EFGLST\u0635\u0644\u064e\u0656\u065b\u0666qual\u0100;L\u063e\u063f\u6265ess;\u62dbullEqual;\u6267reater;\u6aa2ess;\u6277lantEqual;\u6a7eilde;\u6273cr;\uc000\u{1d4a2};\u626b\u0400Aacfiosu\u0685\u068b\u0696\u069b\u069e\u06aa\u06be\u06caRDcy;\u442a\u0100ct\u0690\u0694ek;\u42c7;\u405eirc;\u4124r;\u610clbertSpace;\u610b\u01f0\u06af\0\u06b2f;\u610dizontalLine;\u6500\u0100ct\u06c3\u06c5\xf2\u06a9rok;\u4126mp\u0144\u06d0\u06d8ownHum\xf0\u012fqual;\u624f\u0700EJOacdfgmnostu\u06fa\u06fe\u0703\u0707\u070e\u071a\u071e\u0721\u0728\u0744\u0778\u078b\u078f\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803b\xcd\u40cd\u0100iy\u0713\u0718rc\u803b\xce\u40ce;\u4418ot;\u4130r;\u6111rave\u803b\xcc\u40cc\u0180;ap\u0720\u072f\u073f\u0100cg\u0734\u0737r;\u412ainaryI;\u6148lie\xf3\u03dd\u01f4\u0749\0\u0762\u0100;e\u074d\u074e\u622c\u0100gr\u0753\u0758ral;\u622bsection;\u62c2isible\u0100CT\u076c\u0772omma;\u6063imes;\u6062\u0180gpt\u077f\u0783\u0788on;\u412ef;\uc000\u{1d540}a;\u4399cr;\u6110ilde;\u4128\u01eb\u079a\0\u079ecy;\u4406l\u803b\xcf\u40cf\u0280cfosu\u07ac\u07b7\u07bc\u07c2\u07d0\u0100iy\u07b1\u07b5rc;\u4134;\u4419r;\uc000\u{1d50d}pf;\uc000\u{1d541}\u01e3\u07c7\0\u07ccr;\uc000\u{1d4a5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07e4\u07e8\u07ec\u07f1\u07fd\u0802\u0808cy;\u4425cy;\u440cppa;\u439a\u0100ey\u07f6\u07fbdil;\u4136;\u441ar;\uc000\u{1d50e}pf;\uc000\u{1d542}cr;\uc000\u{1d4a6}\u0580JTaceflmost\u0825\u0829\u082c\u0850\u0863\u09b3\u09b8\u09c7\u09cd\u0a37\u0a47cy;\u4409\u803b<\u403c\u0280cmnpr\u0837\u083c\u0841\u0844\u084dute;\u4139bda;\u439bg;\u67ealacetrf;\u6112r;\u619e\u0180aey\u0857\u085c\u0861ron;\u413ddil;\u413b;\u441b\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087e\u08a9\u08b1\u08e0\u08e6\u08fc\u092f\u095b\u0390\u096a\u0100nr\u0883\u088fgleBracket;\u67e8row\u0180;BR\u0899\u089a\u089e\u6190ar;\u61e4ightArrow;\u61c6eiling;\u6308o\u01f5\u08b7\0\u08c3bleBracket;\u67e6n\u01d4\u08c8\0\u08d2eeVector;\u6961ector\u0100;B\u08db\u08dc\u61c3ar;\u6959loor;\u630aight\u0100AV\u08ef\u08f5rrow;\u6194ector;\u694e\u0100er\u0901\u0917e\u0180;AV\u0909\u090a\u0910\u62a3rrow;\u61a4ector;\u695aiangle\u0180;BE\u0924\u0925\u0929\u62b2ar;\u69cfqual;\u62b4p\u0180DTV\u0937\u0942\u094cownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61bfar;\u6958ector\u0100;B\u0965\u0966\u61bcar;\u6952ight\xe1\u039cs\u0300EFGLST\u097e\u098b\u0995\u099d\u09a2\u09adqualGreater;\u62daullEqual;\u6266reater;\u6276ess;\u6aa1lantEqual;\u6a7dilde;\u6272r;\uc000\u{1d50f}\u0100;e\u09bd\u09be\u62d8ftarrow;\u61daidot;\u413f\u0180npw\u09d4\u0a16\u0a1bg\u0200LRlr\u09de\u09f7\u0a02\u0a10eft\u0100AR\u09e6\u09ecrrow;\u67f5ightArrow;\u67f7ightArrow;\u67f6eft\u0100ar\u03b3\u0a0aight\xe1\u03bfight\xe1\u03caf;\uc000\u{1d543}er\u0100LR\u0a22\u0a2ceftArrow;\u6199ightArrow;\u6198\u0180cht\u0a3e\u0a40\u0a42\xf2\u084c;\u61b0rok;\u4141;
1\u626a\u0400acefiosu\u0a5a\u0a5d\u0a60\u0a77\u0a7c\u0a85\u0a8b\u0a8ep;\u6905y;\u441c\u0100dl\u0a65\u0a6fiumSpace;\u605flintrf;\u6133r;\uc000\u{1d510}nusPlus;\u6213pf;\uc000\u{1d544}c\xf2\u0a76;\u439c\u0480Jacefostu\u0aa3\u0aa7\u0aad\u0ac0\u0b14\u0b19\u0d91\u0d97\u0d9ecy;\u440acute;\u4143\u0180aey\u0ab4\u0ab9\u0aberon;\u4147dil;\u4145;\u441d\u0180gsw\u0ac7\u0af0\u0b0eative\u0180MTV\u0ad3\u0adf\u0ae8ediumSpace;\u600bhi\u0100cn\u0ae6\u0ad8\xeb\u0ad9eryThi\xee\u0ad9ted\u0100GL\u0af8\u0b06reaterGreate\xf2\u0673essLes\xf3\u0a48Line;\u400ar;\uc000\u{1d511}\u0200Bnpt\u0b22\u0b28\u0b37\u0b3areak;\u6060BreakingSpace;\u40a0f;\u6115\u0680;CDEGHLNPRSTV\u0b55\u0b56\u0b6a\u0b7c\u0ba1\u0beb\u0c04\u0c5e\u0c84\u0ca6\u0cd8\u0d61\u0d85\u6aec\u0100ou\u0b5b\u0b64ngruent;\u6262pCap;\u626doubleVerticalBar;\u6226\u0180lqx\u0b83\u0b8a\u0b9bement;\u6209ual\u0100;T\u0b92\u0b93\u6260ilde;\uc000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0bb6\u0bb7\u0bbd\u0bc9\u0bd3\u0bd8\u0be5\u626fqual;\u6271ullEqual;\uc000\u2267\u0338reater;\uc000\u226b\u0338ess;\u6279lantEqual;\uc000\u2a7e\u0338ilde;\u6275ump\u0144\u0bf2\u0bfdownHump;\uc000\u224e\u0338qual;\uc000\u224f\u0338e\u0100fs\u0c0a\u0c27tTriangle\u0180;BE\u0c1a\u0c1b\u0c21\u62eaar;\uc000\u29cf\u0338qual;\u62ecs\u0300;EGLST\u0c35\u0c36\u0c3c\u0c44\u0c4b\u0c58\u626equal;\u6270reater;\u6278ess;\uc000\u226a\u0338lantEqual;\uc000\u2a7d\u0338ilde;\u6274ested\u0100GL\u0c68\u0c79reaterGreater;\uc000\u2aa2\u0338essLess;\uc000\u2aa1\u0338recedes\u0180;ES\u0c92\u0c93\u0c9b\u6280qual;\uc000\u2aaf\u0338lantEqual;\u62e0\u0100ei\u0cab\u0cb9verseElement;\u620cghtTriangle\u0180;BE\u0ccb\u0ccc\u0cd2\u62ebar;\uc000\u29d0\u0338qual;
1\u62ed\u0100qu\u0cdd\u0d0cuareSu\u0100bp\u0ce8\u0cf9set\u0100;E\u0cf0\u0cf3\uc000\u228f\u0338qual;\u62e2erset\u0100;E\u0d03\u0d06\uc000\u2290\u0338qual;\u62e3\u0180bcp\u0d13\u0d24\u0d4eset\u0100;E\u0d1b\u0d1e\uc000\u2282\u20d2qual;\u6288ceeds\u0200;EST\u0d32\u0d33\u0d3b\u0d46\u6281qual;\uc000\u2ab0\u0338lantEqual;\u62e1ilde;\uc000\u227f\u0338erset\u0100;E\u0d58\u0d5b\uc000\u2283\u20d2qual;\u6289ilde\u0200;EFT\u0d6e\u0d6f\u0d75\u0d7f\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uc000\u{1d4a9}ilde\u803b\xd1\u40d1;\u439d\u0700Eacdfgmoprstuv\u0dbd\u0dc2\u0dc9\u0dd5\u0ddb\u0de0\u0de7\u0dfc\u0e02\u0e20\u0e22\u0e32\u0e3f\u0e44lig;\u4152cute\u803b\xd3\u40d3\u0100iy\u0dce\u0dd3rc\u803b\xd4\u40d4;\u441eblac;\u4150r;\uc000\u{1d512}rave\u803b\xd2\u40d2\u0180aei\u0dee\u0df2\u0df6cr;\u414cga;\u43a9cron;\u439fpf;\uc000\u{1d546}enCurly\u0100DQ\u0e0e\u0e1aoubleQuote;\u601cuote;\u6018;\u6a54\u0100cl\u0e27\u0e2cr;\uc000\u{1d4aa}ash\u803b\xd8\u40d8i\u016c\u0e37\u0e3cde\u803b\xd5\u40d5es;\u6a37ml\u803b\xd6\u40d6er\u0100BP\u0e4b\u0e60\u0100ar\u0e50\u0e53r;\u603eac\u0100ek\u0e5a\u0e5c;\u63deet;\u63b4arenthesis;\u63dc\u0480acfhilors\u0e7f\u0e87\u0e8a\u0e8f\u0e92\u0e94\u0e9d\u0eb0\u0efcrtialD;\u6202y;\u441fr;\uc000\u{1d513}i;\u43a6;\u43a0usMinus;\u40b1\u0100ip\u0ea2\u0eadncareplan\xe5\u069df;\u6119\u0200;eio\u0eb9\u0eba\u0ee0\u0ee4\u6abbcedes\u0200;EST\u0ec8\u0ec9\u0ecf\u0eda\u627aqual;\u6aaflantEqual;\u627cilde;\u627eme;\u6033\u0100dp\u0ee9\u0eeeuct;\u620fortion\u0100;a\u0225\u0ef9l;\u621d\u0100ci\u0f01\u0f06r;\uc000\u{1d4ab};\u43a8\u0200Ufos\u0f11\u0f16\u0f1b\u0f1fOT\u803b"\u4022r;\uc000\u{1d514}pf;\u611acr;\uc000\u{1d4ac}\u0600BEacefhiorsu\u0f3e\u0f43\u0f47\u0f60\u0f73\u0fa7\u0faa\u0fad\u1096\u10a9\u10b4\u10bearr;\u6910G\u803b\xae\u40ae\u0180cnr\u0f4e\u0f53\u0f56ute;\u4154g;\u67ebr\u0100;t\u0f5c\u0f5d\u61a0l;\u6916\u0180aey\u0f67\u0f6c\u0f71ron;\u4158dil;\u4156;\u4420\u0100;v\u0f78\u0f79\u611cerse\u0100EU\u0f82\u0f99\u0100lq\u0f87\u0f8eement;\u620builibrium;\u61cbpEquilibrium;\u696fr\xbb\u0f79o;\u43a1ght\u0400ACDFTUVa\u0fc1\u0feb\u0ff3\u1022\u1028\u105b\u1087\u03d8\u0100nr\u0fc6\u0fd2gleBracket;\u67e9row\u0180;BL\u0fdc\u0fdd\u0fe1\u6192ar;\u61e5eftArrow;\u61c4eiling;\u6309o\u01f5\u0ff9\0\u1005bleBracket;\u67e7n\u01d4\u100a\0\u1014eeVector;\u695dector\u0100;B\u101d\u101e\u61c2ar;\u6955loor;\u630b\u0100er\u102d\u1043e\u0180;AV\u1035\u1036\u103c\u62a2rrow;\u61a6ector;\u695biangle\u0180;BE\u1050\u1051\u1055\u62b3ar;\u69d0qual;\u62b5p\u0180DTV\u1063\u106e\u1078ownVector;\u694feeVector;\u695cector\u0100;B\u1082\u1083\u61bear;\u6954ector\u0100;B\u1091\u1092\u61c0ar;\u6953\u0100pu\u109b\u109ef;\u611dndImplies;\u6970ightarrow;\u61db\u0100ch\u10b9\u10bcr;\u611b;\u61b1leDelayed;\u69f4\u0680HOacfhimoqstu\u10e4\u10f1\u10f7\u10fd\u1119\u111e\u1151\u1156\u1161\u1167\u11b5\u11bb\u11bf\u0100Cc\u10e9\u10eeHcy;\u4429y;\u4428FTcy;\u442ccute;\u415a\u0280;aeiy\u1108\u1109\u110e\u1113\u1117\u6abcron;\u4160dil;\u415erc;\u415c;\u4421r;\uc000\u{1d516}ort\u0200DLRU\u112a\u1134\u113e\u1149ownArrow\xbb\u041eeftArrow\xbb\u089aightArrow\xbb\u0fddpArrow;\u6191gma;\u43a3allCircle;\u6218pf;\uc000\u{1d54a}\u0272\u116d\0\0\u1170t;\u621aare\u0200;ISU\u117b\u117c\u1189\u11af\u65a1ntersection;\u6293u\u0100bp\u118f\u119eset\u0100;E\u1197\u1198\u628fqual;\u6291erset\u0100;E\u11a8\u11a9\u6290qual;\u6292nion;\u6294cr;\uc000\u{1d4ae}ar;\u62c6\u0200bcmp\u11c8\u11db\u1209\u120b\u0100;s\u11cd\u11ce\u62d0et\u0100;E\u11cd\u11d5qual;\u6286\u0100ch\u11e0\u1205eeds\u0200;EST\u11ed\u11ee\u11f4\u11ff\u627bqual;\u6ab0lantEqual;\u627dilde;\u627fTh\xe1\u0f8c;\u6211\u0180;es\u1212\u1213\u1223\u62d1rset\u0100;E\u121c\u121d\u6283qual;\u6287et\xbb\u1213\u0580HRSacfhiors\u123e\u1244\u1249\u1255\u125e\u1271\u1276\u129f\u12c2\u12c8\u12d1ORN\u803b\xde\u40deADE;\u6122\u0100Hc\u124e\u1252cy;\u440by;\u4426\u0100bu\u125a\u125c;\u4009;\u43a4\u0180aey\u1265\u126a\u126fron;\u4164dil;\u4162;\u4422r;\uc000\u{1d517}\u0100ei\u127b\u1289\u01f2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128e\u1298kSpace;\uc000\u205f\u200aSpace;\u6009lde\u0200;EFT\u12ab\u12ac\u12b2\u12bc\u623cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uc000\u{1d54b}ipleDot;\u60db\u0100ct\u12d6\u12dbr;\uc000\u{1d4af}rok;\u4166\u0ae1\u12f7\u130e\u131a\u1326\0\u132c\u1331\0\0\0\0\0\u1338\u133d\u1377\u1385\0\u13ff\u1404\u140a\u1410\u0100cr\u12fb\u1301ute\u803b\xda\u40dar\u0100;o\u1307\u1308\u619fcir;\u6949r\u01e3\u1313\0\u1316y;\u440eve;\u416c\u0100iy\u131e\u1323rc\u803b\xdb\u40db;\u4423blac;\u4170r;
1\uc000\u{1d518}rave\u803b\xd9\u40d9acr;\u416a\u0100di\u1341\u1369er\u0100BP\u1348\u135d\u0100ar\u134d\u1350r;\u405fac\u0100ek\u1357\u1359;\u63dfet;\u63b5arenthesis;\u63ddon\u0100;P\u1370\u1371\u62c3lus;\u628e\u0100gp\u137b\u137fon;\u4172f;\uc000\u{1d54c}\u0400ADETadps\u1395\u13ae\u13b8\u13c4\u03e8\u13d2\u13d7\u13f3rrow\u0180;BD\u1150\u13a0\u13a4ar;\u6912ownArrow;\u61c5ownArrow;\u6195quilibrium;\u696eee\u0100;A\u13cb\u13cc\u62a5rrow;\u61a5own\xe1\u03f3er\u0100LR\u13de\u13e8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13f9\u13fa\u43d2on;\u43a5ing;\u416ecr;\uc000\u{1d4b0}ilde;\u4168ml\u803b\xdc\u40dc\u0480Dbcdefosv\u1427\u142c\u1430\u1433\u143e\u1485\u148a\u1490\u1496ash;\u62abar;\u6aeby;\u4412ash\u0100;l\u143b\u143c\u62a9;\u6ae6\u0100er\u1443\u1445;\u62c1\u0180bty\u144c\u1450\u147aar;\u6016\u0100;i\u144f\u1455cal\u0200BLST\u1461\u1465\u146a\u1474ar;\u6223ine;\u407ceparator;\u6758ilde;\u6240ThinSpace;\u600ar;\uc000\u{1d519}pf;\uc000\u{1d54d}cr;\uc000\u{1d4b1}dash;\u62aa\u0280cefos\u14a7\u14ac\u14b1\u14b6\u14bcirc;\u4174dge;\u62c0r;\uc000\u{1d51a}pf;\uc000\u{1d54e}cr;\uc000\u{1d4b2}\u0200fios\u14cb\u14d0\u14d2\u14d8r;\uc000\u{1d51b};\u439epf;\uc000\u{1d54f}cr;\uc000\u{1d4b3}\u0480AIUacfosu\u14f1\u14f5\u14f9\u14fd\u1504\u150f\u1514\u151a\u1520cy;\u442fcy;\u4407cy;\u442ecute\u803b\xdd\u40dd\u0100iy\u1509\u150drc;\u4176;\u442br;\uc000\u{1d51c}pf;\uc000\u{1d550}cr;\uc000\u{1d4b4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153f\u154b\u154f\u155d\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417d;\u4417ot;\u417b\u01f2\u1554\0\u155boWidt\xe8\u0ad9a;\u4396r;\u6128pf;\u6124cr;\uc000\u{1d4b5}\u0be1\u1583\u158a\u1590\0\u15b0\u15b6\u15bf\0\0\0\0\u15c6\u15db\u15eb\u165f\u166d\0\u1695\u169b\u16b2\u16b9\0\u16becute\u803b\xe1\u40e1reve;\u4103\u0300;Ediuy\u159c\u159d\u15a1\u15a3\u15a8\u15ad\u623e;\uc000\u223e\u0333;\u623frc\u803b\xe2\u40e2te\u80bb\xb4\u0306;\u4430lig\u803b\xe6\u40e6\u0100;r\xb2\u15ba;\uc000\u{1d51e}rave\u803b\xe0\u40e0\u0100ep\u15ca\u15d6\u0100fp\u15cf\u15d4sym;\u6135\xe8\u15d3ha;\u43b1\u0100ap\u15dfc\u0100cl\u15e4\u15e7r;\u4101g;\u6a3f\u0264\u15f0\0\0\u160a\u0280;adsv\u15fa\u15fb\u15ff\u1601\u1607\u6227nd;\u6a55;\u6a5clope;\u6a58;\u6a5a\u0380;elmrsz\u1618\u1619\u161b\u161e\u163f\u164f\u1659\u6220;\u69a4e\xbb\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163a\u163c\u163e;\u69a8;\u69a9;\u69aa;\u69ab;\u69ac;\u69ad;\u69ae;\u69aft\u0100;v\u1645\u1646\u621fb\u0100;d\u164c\u164d\u62be;\u699d\u0100pt\u1654\u1657h;\u6222\xbb\xb9arr;\u637c\u0100gp\u1663\u1667on;\u4105f;\uc000\u{1d552}\u0380;Eaeiop\u12c1\u167b\u167d\u1682\u1684\u1687\u168a;\u6a70cir;\u6a6f;\u624ad;\u624bs;\u4027rox\u0100;e\u12c1\u1692\xf1\u1683ing\u803b\xe5\u40e5\u0180cty\u16a1\u16a6\u16a8r;\uc000\u{1d4b6};\u402amp\u0100;e\u12c1\u16af\xf1\u0288ilde\u803b\xe3\u40e3ml\u803b\xe4\u40e4\u0100ci\u16c2\u16c8onin\xf4\u0272nt;\u6a11\u0800Nabcdefiklnoprsu\u16ed\u16f1\u1730\u173c\u1743\u1748\u1778\u177d\u17e0\u17e6\u1839\u1850\u170d\u193d\u1948\u1970ot;\u6aed\u0100cr\u16f6\u171ek\u0200ceps\u1700\u1705\u170d\u1713ong;\u624cpsilon;\u43f6rime;\u6035im\u0100;e\u171a\u171b\u623dq;\u62cd\u0176\u1722\u1726ee;\u62bded\u0100;g\u172c\u172d\u6305e\xbb\u172drk\u0100;t\u135c\u1737brk;\u63b6\u0100oy\u1701\u1741;\u4431quo;\u601e\u0280cmprt\u1753\u175b\u1761\u1764\u1768aus\u0100;e\u010a\u0109ptyv;\u69b0s\xe9\u170cno\xf5\u0113\u0180ahw\u176f\u1771\u1773;\u43b2;\u6136een;\u626cr;\uc000\u{1d51f}g\u0380costuvw\u178d\u179d\u17b3\u17c1\u17d5\u17db\u17de\u0180aiu\u1794\u1796\u179a\xf0\u0760rc;\u65efp\xbb\u1371\u0180dpt\u17a4\u17a8\u17adot;\u6a00lus;\u6a01imes;\u6a02\u0271\u17b9\0\0\u17becup;\u6a06ar;\u6605riangle\u0100du\u17cd\u17d2own;\u65bdp;\u65b3plus;\u6a04e\xe5\u1444\xe5\u14adarow;\u690d\u0180ako\u17ed\u1826\u1835\u0100cn\u17f2\u1823k\u0180lst\u17fa\u05ab\u1802ozenge;\u69ebriangle\u0200;dlr\u1812\u1813\u1818\u181d\u65b4own;\u65beeft;\u65c2ight;\u65b8k;\u6423\u01b1\u182b\0\u1833\u01b2\u182f\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183e\u184d\u0100;q\u1843\u1846\uc000=\u20e5uiv;\uc000\u2261\u20e5t;\u6310\u0200ptwx\u1859\u185e\u1867\u186cf;\uc000\u{1d553}\u0100;t\u13cb\u1863om\xbb\u13cctie;\u62c8\u0600DHUVbdhmptuv\u1885\u1896\u18aa\u18bb\u18d7\u18db\u18ec\u18ff\u1905\u190a\u1910\u1921\u0200LRlr\u188e\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18a1\u18a2\u18a4\u18a6\u18a8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18b3\u18b5\u18b7\u18b9;\u655d;\u655a;\u655c;\u6559\u0380;HLRhlr\u18ca\u18cb\u18cd\u18cf\u18d1\u18d3\u18d5\u6551;\u656c;\u6563;\u6560;\u656b;\u6562;\u655fox;\u69c9\u0200LRlr\u18e4\u18e6\u18e8\u18ea;\u6555;\u6552;\u6510;\u650c\u0280;DUdu\u06bd\u18f7\u18f9\u18fb\u18fd;\u6565;\u6568;\u652c;\u6534inus;\u629flus;\u629eimes;\u62a0\u0200LRlr\u1919\u191b\u191d\u191f;\u655b;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193b\u6502;\u656a;\u6561;\u655e;\u653c;\u6524;
1\u651c\u0100ev\u0123\u1942bar\u803b\xa6\u40a6\u0200ceio\u1951\u1956\u195a\u1960r;\uc000\u{1d4b7}mi;\u604fm\u0100;e\u171a\u171cl\u0180;bh\u1968\u1969\u196b\u405c;\u69c5sub;\u67c8\u016c\u1974\u197el\u0100;e\u1979\u197a\u6022t\xbb\u197ap\u0180;Ee\u012f\u1985\u1987;\u6aae\u0100;q\u06dc\u06db\u0ce1\u19a7\0\u19e8\u1a11\u1a15\u1a32\0\u1a37\u1a50\0\0\u1ab4\0\0\u1ac1\0\0\u1b21\u1b2e\u1b4d\u1b52\0\u1bfd\0\u1c0c\u0180cpr\u19ad\u19b2\u19ddute;\u4107\u0300;abcds\u19bf\u19c0\u19c4\u19ca\u19d5\u19d9\u6229nd;\u6a44rcup;\u6a49\u0100au\u19cf\u19d2p;\u6a4bp;\u6a47ot;\u6a40;\uc000\u2229\ufe00\u0100eo\u19e2\u19e5t;\u6041\xee\u0693\u0200aeiu\u19f0\u19fb\u1a01\u1a05\u01f0\u19f5\0\u19f8s;\u6a4don;\u410ddil\u803b\xe7\u40e7rc;\u4109ps\u0100;s\u1a0c\u1a0d\u6a4cm;\u6a50ot;\u410b\u0180dmn\u1a1b\u1a20\u1a26il\u80bb\xb8\u01adptyv;\u69b2t\u8100\xa2;e\u1a2d\u1a2e\u40a2r\xe4\u01b2r;\uc000\u{1d520}\u0180cei\u1a3d\u1a40\u1a4dy;\u4447ck\u0100;m\u1a47\u1a48\u6713ark\xbb\u1a48;\u43c7r\u0380;Ecefms\u1a5f\u1a60\u1a62\u1a6b\u1aa4\u1aaa\u1aae\u65cb;\u69c3\u0180;el\u1a69\u1a6a\u1a6d\u42c6q;\u6257e\u0261\u1a74\0\0\u1a88rrow\u0100lr\u1a7c\u1a81eft;\u61baight;\u61bb\u0280RSacd\u1a92\u1a94\u1a96\u1a9a\u1a9f\xbb\u0f47;\u64c8st;\u629birc;\u629aash;\u629dnint;\u6a10id;\u6aefcir;\u69c2ubs\u0100;u\u1abb\u1abc\u6663it\xbb\u1abc\u02ec\u1ac7\u1ad4\u1afa\0\u1b0aon\u0100;e\u1acd\u1ace\u403a\u0100;q\xc7\xc6\u026d\u1ad9\0\0\u1ae2a\u0100;t\u1ade\u1adf\u402c;\u4040\u0180;fl\u1ae8\u1ae9\u1aeb\u6201\xee\u1160e\u0100mx\u1af1\u1af6ent\xbb\u1ae9e\xf3\u024d\u01e7\u1afe\0\u1b07\u0100;d\u12bb\u1b02ot;\u6a6dn\xf4\u0246\u0180fry\u1b10\u1b14\u1b17;\uc000\u{1d554}o\xe4\u0254\u8100\xa9;s\u0155\u1b1dr;\u6117\u0100ao\u1b25\u1b29rr;\u61b5ss;\u6717\u0100cu\u1b32\u1b37r;\uc000\u{1d4b8}\u0100bp\u1b3c\u1b44\u0100;e\u1b41\u1b42\u6acf;\u6ad1\u0100;e\u1b49\u1b4a\u6ad0;\u6ad2dot;\u62ef\u0380delprvw\u1b60\u1b6c\u1b77\u1b82\u1bac\u1bd4\u1bf9arr\u0100lr\u1b68\u1b6a;\u6938;\u6935\u0270\u1b72\0\0\u1b75r;\u62dec;\u62dfarr\u0100;p\u1b7f\u1b80\u61b6;\u693d\u0300;bcdos\u1b8f\u1b90\u1b96\u1ba1\u1ba5\u1ba8\u622arcap;\u6a48\u0100au\u1b9b\u1b9ep;\u6a46p;\u6a4aot;\u628dr;\u6a45;\uc000\u222a\ufe00\u0200alrv\u1bb5\u1bbf\u1bde\u1be3rr\u0100;m\u1bbc\u1bbd\u61b7;\u693cy\u0180evw\u1bc7\u1bd4\u1bd8q\u0270\u1bce\0\0\u1bd2re\xe3\u1b73u\xe3\u1b75ee;\u62ceedge;\u62cfen\u803b\xa4\u40a4earrow\u0100lr\u1bee\u1bf3eft\xbb\u1b80ight\xbb\u1bbde\xe4\u1bdd\u0100ci\u1c01\u1c07onin\xf4\u01f7nt;\u6231lcty;\u632d\u0980AHabcdefhijlorstuwz\u1c38\u1c3b\u1c3f\u1c5d\u1c69\u1c75\u1c8a\u1c9e\u1cac\u1cb7\u1cfb\u1cff\u1d0d\u1d7b\u1d91\u1dab\u1dbb\u1dc6\u1dcdr\xf2\u0381ar;\u6965\u0200glrs\u1c48\u1c4d\u1c52\u1c54ger;\u6020eth;\u6138\xf2\u1133h\u0100;v\u1c5a\u1c5b\u6010\xbb\u090a\u016b\u1c61\u1c67arow;\u690fa\xe3\u0315\u0100ay\u1c6e\u1c73ron;\u410f;\u4434\u0180;ao\u0332\u1c7c\u1c84\u0100gr\u02bf\u1c81r;\u61catseq;\u6a77\u0180glm\u1c91\u1c94\u1c98\u803b\xb0\u40b0ta;\u43b4ptyv;\u69b1\u0100ir\u1ca3\u1ca8sht;\u697f;\uc000\u{1d521}ar\u0100lr\u1cb3\u1cb5\xbb\u08dc\xbb\u101e\u0280aegsv\u1cc2\u0378\u1cd6\u1cdc\u1ce0m\u0180;os\u0326\u1cca\u1cd4nd\u0100;s\u0326\u1cd1uit;\u6666amma;\u43ddin;\u62f2\u0180;io\u1ce7\u1ce8\u1cf8\u40f7de\u8100\xf7;o\u1ce7\u1cf0ntimes;\u62c7n\xf8\u1cf7cy;\u4452c\u026f\u1d06\0\0\u1d0arn;\u631eop;\u630d\u0280lptuw\u1d18\u1d1d\u1d22\u1d49\u1d55lar;\u4024f;\uc000\u{1d555}\u0280;emps\u030b\u1d2d\u1d37\u1d3d\u1d42q\u0100;d\u0352\u1d33ot;\u6251inus;\u6238lus;\u6214quare;\u62a1blebarwedg\xe5\xfan\u0180adh\u112e\u1d5d\u1d67ownarrow\xf3\u1c83arpoon\u0100lr\u1d72\u1d76ef\xf4\u1cb4igh\xf4\u1cb6\u0162\u1d7f\u1d85karo\xf7\u0f42\u026f\u1d8a\0\0\u1d8ern;\u631fop;\u630c\u0180cot\u1d98\u1da3\u1da6\u0100ry\u1d9d\u1da1;\uc000\u{1d4b9};\u4455l;\u69f6rok;\u4111\u0100dr\u1db0\u1db4ot;\u62f1i\u0100;f\u1dba\u1816\u65bf\u0100ah\u1dc0\u1dc3r\xf2\u0429a\xf2\u0fa6angle;\u69a6\u0100ci\u1dd2\u1dd5y;\u445fgrarr;\u67ff\u0900Dacdefglmnopqrstux\u1e01\u1e09\u1e19\u1e38\u0578\u1e3c\u1e49\u1e61\u1e7e\u1ea5\u1eaf\u1ebd\u1ee1\u1f2a\u1f37\u1f44\u1f4e\u1f5a\u0100Do\u1e06\u1d34o\xf4\u1c89\u0100cs\u1e0e\u1e14ute\u803b\xe9\u40e9ter;\u6a6e\u0200aioy\u1e22\u1e27\u1e31\u1e36ron;\u411br\u0100;c\u1e2d\u1e2e\u6256\u803b\xea\u40ealon;\u6255;\u444dot;\u4117\u0100Dr\u1e41\u1e45ot;\u6252;\uc000\u{1d522}\u0180;
1rs\u1e50\u1e51\u1e57\u6a9aave\u803b\xe8\u40e8\u0100;d\u1e5c\u1e5d\u6a96ot;\u6a98\u0200;ils\u1e6a\u1e6b\u1e72\u1e74\u6a99nters;\u63e7;\u6113\u0100;d\u1e79\u1e7a\u6a95ot;\u6a97\u0180aps\u1e85\u1e89\u1e97cr;\u4113ty\u0180;sv\u1e92\u1e93\u1e95\u6205et\xbb\u1e93p\u01001;\u1e9d\u1ea4\u0133\u1ea1\u1ea3;\u6004;\u6005\u6003\u0100gs\u1eaa\u1eac;\u414bp;\u6002\u0100gp\u1eb4\u1eb8on;\u4119f;\uc000\u{1d556}\u0180als\u1ec4\u1ece\u1ed2r\u0100;s\u1eca\u1ecb\u62d5l;\u69e3us;\u6a71i\u0180;lv\u1eda\u1edb\u1edf\u43b5on\xbb\u1edb;\u43f5\u0200csuv\u1eea\u1ef3\u1f0b\u1f23\u0100io\u1eef\u1e31rc\xbb\u1e2e\u0269\u1ef9\0\0\u1efb\xed\u0548ant\u0100gl\u1f02\u1f06tr\xbb\u1e5dess\xbb\u1e7a\u0180aei\u1f12\u1f16\u1f1als;\u403dst;\u625fv\u0100;D\u0235\u1f20D;\u6a78parsl;\u69e5\u0100Da\u1f2f\u1f33ot;\u6253rr;\u6971\u0180cdi\u1f3e\u1f41\u1ef8r;\u612fo\xf4\u0352\u0100ah\u1f49\u1f4b;\u43b7\u803b\xf0\u40f0\u0100mr\u1f53\u1f57l\u803b\xeb\u40ebo;\u60ac\u0180cip\u1f61\u1f64\u1f67l;\u4021s\xf4\u056e\u0100eo\u1f6c\u1f74ctatio\xee\u0559nential\xe5\u0579\u09e1\u1f92\0\u1f9e\0\u1fa1\u1fa7\0\0\u1fc6\u1fcc\0\u1fd3\0\u1fe6\u1fea\u2000\0\u2008\u205allingdotse\xf1\u1e44y;\u4444male;\u6640\u0180ilr\u1fad\u1fb3\u1fc1lig;\u8000\ufb03\u0269\u1fb9\0\0\u1fbdg;\u8000\ufb00ig;\u8000\ufb04;\uc000\u{1d523}lig;\u8000\ufb01lig;\uc000fj\u0180alt\u1fd9\u1fdc\u1fe1t;\u666dig;\u8000\ufb02ns;\u65b1of;\u4192\u01f0\u1fee\0\u1ff3f;\uc000\u{1d557}\u0100ak\u05bf\u1ff7\u0100;v\u1ffc\u1ffd\u62d4;\u6ad9artint;\u6a0d\u0100ao\u200c\u2055\u0100cs\u2011\u2052\u03b1\u201a\u2030\u2038\u2045\u2048\0\u2050\u03b2\u2022\u2025\u2027\u202a\u202c\0\u202e\u803b\xbd\u40bd;\u6153\u803b\xbc\u40bc;\u6155;\u6159;\u615b\u01b3\u2034\0\u2036;\u6154;\u6156\u02b4\u203e\u2041\0\0\u2043\u803b\xbe\u40be;\u6157;\u615c5;\u6158\u01b6\u204c\0\u204e;\u615a;\u615d8;\u615el;\u6044wn;\u6322cr;\uc000\u{1d4bb}\u0880Eabcdefgijlnorstv\u2082\u2089\u209f\u20a5\u20b0\u20b4\u20f0\u20f5\u20fa\u20ff\u2103\u2112\u2138\u0317\u213e\u2152\u219e\u0100;l\u064d\u2087;\u6a8c\u0180cmp\u2090\u2095\u209dute;\u41f5ma\u0100;d\u209c\u1cda\u43b3;\u6a86reve;\u411f\u0100iy\u20aa\u20aerc;\u411d;\u4433ot;\u4121\u0200;lqs\u063e\u0642\u20bd\u20c9\u0180;qs\u063e\u064c\u20c4lan\xf4\u0665\u0200;cdl\u0665\u20d2\u20d5\u20e5c;\u6aa9ot\u0100;o\u20dc\u20dd\u6a80\u0100;l\u20e2\u20e3\u6a82;\u6a84\u0100;e\u20ea\u20ed\uc000\u22db\ufe00s;\u6a94r;\uc000\u{1d524}\u0100;g\u0673\u061bmel;\u6137cy;\u4453\u0200;Eaj\u065a\u210c\u210e\u2110;\u6a92;\u6aa5;\u6aa4\u0200Eaes\u211b\u211d\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6a8arox\xbb\u2124\u0100;q\u212e\u212f\u6a88\u0100;q\u212e\u211bim;\u62e7pf;\uc000\u{1d558}\u0100ci\u2143\u2146r;\u610am\u0180;el\u066b\u214e\u2150;\u6a8e;\u6a90\u8300>;cdlqr\u05ee\u2160\u216a\u216e\u2173\u2179\u0100ci\u2165\u2167;\u6aa7r;\u6a7aot;\u62d7Par;\u6995uest;\u6a7c\u0280adels\u2184\u216a\u2190\u0656\u219b\u01f0\u2189\0\u218epro\xf8\u209er;\u6978q\u0100lq\u063f\u2196les\xf3\u2088i\xed\u066b\u0100en\u21a3\u21adrtneqq;\uc000\u2269\ufe00\xc5\u21aa\u0500Aabcefkosy\u21c4\u21c7\u21f1\u21f5\u21fa\u2218\u221d\u222f\u2268\u227dr\xf2\u03a0\u0200ilmr\u21d0\u21d4\u21d7\u21dbrs\xf0\u1484f\xbb\u2024il\xf4\u06a9\u0100dr\u21e0\u21e4cy;\u444a\u0180;cw\u08f4\u21eb\u21efir;\u6948;\u61adar;\u610firc;\u4125\u0180alr\u2201\u220e\u2213rts\u0100;u\u2209\u220a\u6665it\xbb\u220alip;\u6026con;\u62b9r;\uc000\u{1d525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223a\u223e\u2243\u225e\u2263rr;\u61fftht;\u623bk\u0100lr\u2249\u2253eftarrow;\u61a9ightarrow;\u61aaf;\uc000\u{1d559}bar;\u6015\u0180clt\u226f\u2274\u2278r;\uc000\u{1d4bd}as\xe8\u21f4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xbb\u1c5b\u0ae1\u22a3\0\u22aa\0\u22b8\u22c5\u22ce\0\u22d5\u22f3\0\0\u22f8\u2322\u2367\u2362\u237f\0\u2386\u23aa\u23b4cute\u803b\xed\u40ed\u0180;iy\u0771\u22b0\u22b5rc\u803b\xee\u40ee;\u4438\u0100cx\u22bc\u22bfy;\u4435cl\u803b\xa1\u40a1\u0100fr\u039f\u22c9;\uc000\u{1d526}rave\u803b\xec\u40ec\u0200;ino\u073e\u22dd\u22e9\u22ee\u0100in\u22e2\u22e6nt;\u6a0ct;\u622dfin;\u69dcta;\u6129lig;\u4133\u0180aop\u22fe\u231a\u231d\u0180cgt\u2305\u2308\u2317r;\u412b\u0180elp\u071f\u230f\u2313in\xe5\u078ear\xf4\u0720h;\u4131f;\u62b7ed;\u41b5\u0280;cfot\u04f4\u232c\u2331\u233d\u2341are;\u6105in\u0100;t\u2338\u2339\u621eie;\u69dddo\xf4\u2319\u0280;celp\u0757\u234c\u2350\u235b\u2361al;\u62ba\u0100gr\u2355\u2359er\xf3\u1563\xe3\u234darhk;\u6a17rod;\u6a3c\u0200cgpt\u236f\u2372\u2376\u237by;\u4451on;\u412ff;\uc000\u{1d55a}a;\u43b9uest\u803b\xbf\u40bf\u0100ci\u238a\u238fr;\uc000\u{1d4be}n\u0280;Edsv\u04f4\u239b\u239d\u23a1\u04f3;\u62f9ot;\u62f5\u0100;v\u23a6\u23a7\u62f4;\u62f3\u0100;i\u0777\u23aelde;\u4129\u01eb\u23b8\0\u23bccy;\u4456l\u803b\xef\u40ef\u0300cfmosu\u23cc\u23d7\u23dc\u23e1\u23e7\u23f5\u0100iy\u23d1\u23d5rc;\u4135;\u4439r;\uc000\u{1d527}ath;\u4237pf;
1\uc000\u{1d55b}\u01e3\u23ec\0\u23f1r;\uc000\u{1d4bf}rcy;\u4458kcy;\u4454\u0400acfghjos\u240b\u2416\u2422\u2427\u242d\u2431\u2435\u243bppa\u0100;v\u2413\u2414\u43ba;\u43f0\u0100ey\u241b\u2420dil;\u4137;\u443ar;\uc000\u{1d528}reen;\u4138cy;\u4445cy;\u445cpf;\uc000\u{1d55c}cr;\uc000\u{1d4c0}\u0b80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248d\u2491\u250e\u253d\u255a\u2580\u264e\u265e\u2665\u2679\u267d\u269a\u26b2\u26d8\u275d\u2768\u278b\u27c0\u2801\u2812\u0180art\u2477\u247a\u247cr\xf2\u09c6\xf2\u0395ail;\u691barr;\u690e\u0100;g\u0994\u248b;\u6a8bar;\u6962\u0963\u24a5\0\u24aa\0\u24b1\0\0\0\0\0\u24b5\u24ba\0\u24c6\u24c8\u24cd\0\u24f9ute;\u413amptyv;\u69b4ra\xee\u084cbda;\u43bbg\u0180;dl\u088e\u24c1\u24c3;\u6991\xe5\u088e;\u6a85uo\u803b\xab\u40abr\u0400;bfhlpst\u0899\u24de\u24e6\u24e9\u24eb\u24ee\u24f1\u24f5\u0100;f\u089d\u24e3s;\u691fs;\u691d\xeb\u2252p;\u61abl;\u6939im;\u6973l;\u61a2\u0180;ae\u24ff\u2500\u2504\u6aabil;\u6919\u0100;s\u2509\u250a\u6aad;\uc000\u2aad\ufe00\u0180abr\u2515\u2519\u251drr;\u690crk;\u6772\u0100ak\u2522\u252cc\u0100ek\u2528\u252a;\u407b;\u405b\u0100es\u2531\u2533;\u698bl\u0100du\u2539\u253b;\u698f;\u698d\u0200aeuy\u2546\u254b\u2556\u2558ron;\u413e\u0100di\u2550\u2554il;\u413c\xec\u08b0\xe2\u2529;\u443b\u0200cqrs\u2563\u2566\u256d\u257da;\u6936uo\u0100;r\u0e19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694bh;\u61b2\u0280;fgqs\u258b\u258c\u0989\u25f3\u25ff\u6264t\u0280ahlrt\u2598\u25a4\u25b7\u25c2\u25e8rrow\u0100;t\u0899\u25a1a\xe9\u24f6arpoon\u0100du\u25af\u25b4own\xbb\u045ap\xbb\u0966eftarrows;\u61c7ight\u0180ahs\u25cd\u25d6\u25derrow\u0100;s\u08f4\u08a7arpoon\xf3\u0f98quigarro\xf7\u21f0hreetimes;\u62cb\u0180;qs\u258b\u0993\u25falan\xf4\u09ac\u0280;cdgs\u09ac\u260a\u260d\u261d\u2628c;\u6aa8ot\u0100;o\u2614\u2615\u6a7f\u0100;r\u261a\u261b\u6a81;\u6a83\u0100;e\u2622\u2625\uc000\u22da\ufe00s;\u6a93\u0280adegs\u2633\u2639\u263d\u2649\u264bppro\xf8\u24c6ot;\u62d6q\u0100gq\u2643\u2645\xf4\u0989gt\xf2\u248c\xf4\u099bi\xed\u09b2\u0180ilr\u2655\u08e1\u265asht;\u697c;\uc000\u{1d529}\u0100;E\u099c\u2663;\u6a91\u0161\u2669\u2676r\u0100du\u25b2\u266e\u0100;l\u0965\u2673;\u696alk;\u6584cy;\u4459\u0280;acht\u0a48\u2688\u268b\u2691\u2696r\xf2\u25c1orne\xf2\u1d08ard;\u696bri;\u65fa\u0100io\u269f\u26a4dot;\u4140ust\u0100;a\u26ac\u26ad\u63b0che\xbb\u26ad\u0200Eaes\u26bb\u26bd\u26c9\u26d4;\u6268p\u0100;p\u26c3\u26c4\u6a89rox\xbb\u26c4\u0100;q\u26ce\u26cf\u6a87\u0100;q\u26ce\u26bbim;\u62e6\u0400abnoptwz\u26e9\u26f4\u26f7\u271a\u272f\u2741\u2747\u2750\u0100nr\u26ee\u26f1g;\u67ecr;\u61fdr\xeb\u08c1g\u0180lmr\u26ff\u270d\u2714eft\u0100ar\u09e6\u2707ight\xe1\u09f2apsto;\u67fcight\xe1\u09fdparrow\u0100lr\u2725\u2729ef\xf4\u24edight;\u61ac\u0180afl\u2736\u2739\u273dr;\u6985;\uc000\u{1d55d}us;\u6a2dimes;\u6a34\u0161\u274b\u274fst;\u6217\xe1\u134e\u0180;ef\u2757\u2758\u1800\u65cange\xbb\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277c\u2785\u2787r\xf2\u08a8orne\xf2\u1d8car\u0100;d\u0f98\u2783;\u696d;\u600eri;\u62bf\u0300achiqt\u2798\u279d\u0a40\u27a2\u27ae\u27bbquo;\u6039r;\uc000\u{1d4c1}m\u0180;eg\u09b2\u27aa\u27ac;\u6a8d;\u6a8f\u0100bu\u252a\u27b3o\u0100;r\u0e1f\u27b9;\u601arok;\u4142\u8400<;cdhilqr\u082b\u27d2\u2639\u27dc\u27e0\u27e5\u27ea\u27f0\u0100ci\u27d7\u27d9;\u6aa6r;\u6a79re\xe5\u25f2mes;\u62c9arr;\u6976uest;\u6a7b\u0100Pi\u27f5\u27f9ar;\u6996\u0180;ef\u2800\u092d\u181b\u65c3r\u0100du\u2807\u280dshar;\u694ahar;\u6966\u0100en\u2817\u2821rtneqq;\uc000\u2268\ufe00\xc5\u281e\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288e\u2893\u28a0\u28a5\u28a8\u28da\u28e2\u28e4\u0a83\u28f3\u2902Dot;\u623a\u0200clpr\u284e\u2852\u2863\u287dr\u803b\xaf\u40af\u0100et\u2857\u2859;\u6642\u0100;e\u285e\u285f\u6720se\xbb\u285f\u0100;s\u103b\u2868to\u0200;dlu\u103b\u2873\u2877\u287bow\xee\u048cef\xf4\u090f\xf0\u13d1ker;\u65ae\u0100oy\u2887\u288cmma;\u6a29;\u443cash;\u6014asuredangle\xbb\u1626r;\uc000\u{1d52a}o;\u6127\u0180cdn\u28af\u28b4\u28c9ro\u803b\xb5\u40b5\u0200;acd\u1464\u28bd\u28c0\u28c4s\xf4\u16a7ir;\u6af0ot\u80bb\xb7\u01b5us\u0180;bd\u28d2\u1903\u28d3\u6212\u0100;u\u1d3c\u28d8;\u6a2a\u0163\u28de\u28e1p;\u6adb\xf2\u2212\xf0\u0a81\u0100dp\u28e9\u28eeels;\u62a7f;\uc000\u{1d55e}\u0100ct\u28f8\u28fdr;
1\uc000\u{1d4c2}pos\xbb\u159d\u0180;lm\u2909\u290a\u290d\u43bctimap;\u62b8\u0c00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297e\u2989\u2998\u29da\u29e9\u2a15\u2a1a\u2a58\u2a5d\u2a83\u2a95\u2aa4\u2aa8\u2b04\u2b07\u2b44\u2b7f\u2bae\u2c34\u2c67\u2c7c\u2ce9\u0100gt\u2947\u294b;\uc000\u22d9\u0338\u0100;v\u2950\u0bcf\uc000\u226b\u20d2\u0180elt\u295a\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61cdightarrow;\u61ce;\uc000\u22d8\u0338\u0100;v\u297b\u0c47\uc000\u226a\u20d2ightarrow;\u61cf\u0100Dd\u298e\u2993ash;\u62afash;\u62ae\u0280bcnpt\u29a3\u29a7\u29ac\u29b1\u29ccla\xbb\u02deute;\u4144g;\uc000\u2220\u20d2\u0280;Eiop\u0d84\u29bc\u29c0\u29c5\u29c8;\uc000\u2a70\u0338d;\uc000\u224b\u0338s;\u4149ro\xf8\u0d84ur\u0100;a\u29d3\u29d4\u666el\u0100;s\u29d3\u0b38\u01f3\u29df\0\u29e3p\u80bb\xa0\u0b37mp\u0100;e\u0bf9\u0c00\u0280aeouy\u29f4\u29fe\u2a03\u2a10\u2a13\u01f0\u29f9\0\u29fb;\u6a43on;\u4148dil;\u4146ng\u0100;d\u0d7e\u2a0aot;\uc000\u2a6d\u0338p;\u6a42;\u443dash;\u6013\u0380;Aadqsx\u0b92\u2a29\u2a2d\u2a3b\u2a41\u2a45\u2a50rr;\u61d7r\u0100hr\u2a33\u2a36k;\u6924\u0100;o\u13f2\u13f0ot;\uc000\u2250\u0338ui\xf6\u0b63\u0100ei\u2a4a\u2a4ear;\u6928\xed\u0b98ist\u0100;s\u0ba0\u0b9fr;\uc000\u{1d52b}\u0200Eest\u0bc5\u2a66\u2a79\u2a7c\u0180;qs\u0bbc\u2a6d\u0be1\u0180;qs\u0bbc\u0bc5\u2a74lan\xf4\u0be2i\xed\u0bea\u0100;r\u0bb6\u2a81\xbb\u0bb7\u0180Aap\u2a8a\u2a8d\u2a91r\xf2\u2971rr;\u61aear;\u6af2\u0180;sv\u0f8d\u2a9c\u0f8c\u0100;d\u2aa1\u2aa2\u62fc;\u62facy;\u445a\u0380AEadest\u2ab7\u2aba\u2abe\u2ac2\u2ac5\u2af6\u2af9r\xf2\u2966;\uc000\u2266\u0338rr;\u619ar;\u6025\u0200;fqs\u0c3b\u2ace\u2ae3\u2aeft\u0100ar\u2ad4\u2ad9rro\xf7\u2ac1ightarro\xf7\u2a90\u0180;qs\u0c3b\u2aba\u2aealan\xf4\u0c55\u0100;s\u0c55\u2af4\xbb\u0c36i\xed\u0c5d\u0100;r\u0c35\u2afei\u0100;e\u0c1a\u0c25i\xe4\u0d90\u0100pt\u2b0c\u2b11f;\uc000\u{1d55f}\u8180\xac;in\u2b19\u2b1a\u2b36\u40acn\u0200;Edv\u0b89\u2b24\u2b28\u2b2e;\uc000\u22f9\u0338ot;\uc000\u22f5\u0338\u01e1\u0b89\u2b33\u2b35;\u62f7;\u62f6i\u0100;v\u0cb8\u2b3c\u01e1\u0cb8\u2b41\u2b43;\u62fe;\u62fd\u0180aor\u2b4b\u2b63\u2b69r\u0200;ast\u0b7b\u2b55\u2b5a\u2b5flle\xec\u0b7bl;\uc000\u2afd\u20e5;\uc000\u2202\u0338lint;\u6a14\u0180;ce\u0c92\u2b70\u2b73u\xe5\u0ca5\u0100;c\u0c98\u2b78\u0100;e\u0c92\u2b7d\xf1\u0c98\u0200Aait\u2b88\u2b8b\u2b9d\u2ba7r\xf2\u2988rr\u0180;cw\u2b94\u2b95\u2b99\u619b;\uc000\u2933\u0338;\uc000\u219d\u0338ghtarrow\xbb\u2b95ri\u0100;e\u0ccb\u0cd6\u0380chimpqu\u2bbd\u2bcd\u2bd9\u2b04\u0b78\u2be4\u2bef\u0200;cer\u0d32\u2bc6\u0d37\u2bc9u\xe5\u0d45;\uc000\u{1d4c3}ort\u026d\u2b05\0\0\u2bd6ar\xe1\u2b56m\u0100;e\u0d6e\u2bdf\u0100;q\u0d74\u0d73su\u0100bp\u2beb\u2bed\xe5\u0cf8\xe5\u0d0b\u0180bcp\u2bf6\u2c11\u2c19\u0200;Ees\u2bff\u2c00\u0d22\u2c04\u6284;\uc000\u2ac5\u0338et\u0100;e\u0d1b\u2c0bq\u0100;q\u0d23\u2c00c\u0100;e\u0d32\u2c17\xf1\u0d38\u0200;Ees\u2c22\u2c23\u0d5f\u2c27\u6285;\uc000\u2ac6\u0338et\u0100;e\u0d58\u2c2eq\u0100;q\u0d60\u2c23\u0200gilr\u2c3d\u2c3f\u2c45\u2c47\xec\u0bd7lde\u803b\xf1\u40f1\xe7\u0c43iangle\u0100lr\u2c52\u2c5ceft\u0100;e\u0c1a\u2c5a\xf1\u0c26ight\u0100;e\u0ccb\u2c65\xf1\u0cd7\u0100;m\u2c6c\u2c6d\u43bd\u0180;es\u2c74\u2c75\u2c79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2c8f\u2c94\u2c99\u2c9e\u2ca3\u2cb0\u2cb6\u2cd3\u2ce3ash;\u62adarr;\u6904p;\uc000\u224d\u20d2ash;\u62ac\u0100et\u2ca8\u2cac;\uc000\u2265\u20d2;\uc000>\u20d2nfin;\u69de\u0180Aet\u2cbd\u2cc1\u2cc5rr;\u6902;\uc000\u2264\u20d2\u0100;r\u2cca\u2ccd\uc000<\u20d2ie;\uc000\u22b4\u20d2\u0100At\u2cd8\u2cdcrr;\u6903rie;\uc000\u22b5\u20d2im;\uc000\u223c\u20d2\u0180Aan\u2cf0\u2cf4\u2d02rr;\u61d6r\u0100hr\u2cfa\u2cfdk;\u6923\u0100;o\u13e7\u13e5ear;\u6927\u1253\u1a95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2d2d\0\u2d38\u2d48\u2d60\u2d65\u2d72\u2d84\u1b07\0\0\u2d8d\u2dab\0\u2dc8\u2dce\0\u2ddc\u2e19\u2e2b\u2e3e\u2e43\u0100cs\u2d31\u1a97ute\u803b\xf3\u40f3\u0100iy\u2d3c\u2d45r\u0100;c\u1a9e\u2d42\u803b\xf4\u40f4;\u443e\u0280abios\u1aa0\u2d52\u2d57\u01c8\u2d5alac;\u4151v;\u6a38old;\u69bclig;\u4153\u0100cr\u2d69\u2d6dir;\u69bf;\uc000\u{1d52c}\u036f\u2d79\0\0\u2d7c\0\u2d82n;\u42dbave\u803b\xf2\u40f2;\u69c1\u0100bm\u2d88\u0df4ar;\u69b5\u0200acit\u2d95\u2d98\u2da5\u2da8r\xf2\u1a80\u0100ir\u2d9d\u2da0r;\u69beoss;\u69bbn\xe5\u0e52;\u69c0\u0180aei\u2db1\u2db5\u2db9cr;\u414dga;\u43c9\u0180cdn\u2dc0\u2dc5\u01cdron;\u43bf;\u69b6pf;\uc000\u{1d560}\u0180ael\u2dd4\u2dd7\u01d2r;\u69b7rp;\u69b9\u0380;adiosv\u2dea\u2deb\u2dee\u2e08\u2e0d\u2e10\u2e16\u6228r\xf2\u1a86\u0200;efm\u2df7\u2df8\u2e02\u2e05\u6a5dr\u0100;o\u2dfe\u2dff\u6134f\xbb\u2dff\u803b\xaa\u40aa\u803b\xba\u40bagof;\u62b6r;\u6a56lope;\u6a57;\u6a5b\u0180clo\u2e1f\u2e21\u2e27\xf2\u2e01ash\u803b\xf8\u40f8l;\u6298i\u016c\u2e2f\u2e34de\u803b\xf5\u40f5es\u0100;a\u01db\u2e3as;\u6a36ml\u803b\xf6\u40f6bar;\u633d\u0ae1\u2e5e\0\u2e7d\0\u2e80\u2e9d\0\u2ea2\u2eb9\0\0\u2ecb\u0e9c\0\u2f13\0\0\u2f2b\u2fbc\0\u2fc8r\u0200;ast\u0403\u2e67\u2e72\u0e85\u8100\xb6;l\u2e6d\u2e6e\u40b6le\xec\u0403\u0269\u2e78\0\0\u2e7bm;\u6af3;\u6afdy;\u443fr\u0280cimpt\u2e8b\u2e8f\u2e93\u1865\u2e97nt;\u4025od;\u402eil;\u6030enk;\u6031r;\uc000\u{1d52d}\u0180imo\u2ea8\u2eb0\u2eb4\u0100;v\u2ead\u2eae\u43c6;\u43d5ma\xf4\u0a76ne;\u660e\u0180;tv\u2ebf\u2ec0\u2ec8\u43c0chfork\xbb\u1ffd;\u43d6\u0100au\u2ecf\u2edfn\u0100ck\u2ed5\u2eddk\u0100;h\u21f4\u2edb;\u610e\xf6\u21f4s\u0480;abcdemst\u2ef3\u2ef4\u1908\u2ef9\u2efd\u2f04\u2f06\u2f0a\u2f0e\u402bcir;\u6a23ir;\u6a22\u0100ou\u1d40\u2f02;\u6a25;\u6a72n\u80bb\xb1\u0e9dim;\u6a26wo;\u6a27\u0180ipu\u2f19\u2f20\u2f25ntint;\u6a15f;\uc000\u{1d561}nd\u803b\xa3\u40a3\u0500;Eaceinosu\u0ec8\u2f3f\u2f41\u2f44\u2f47\u2f81\u2f89\u2f92\u2f7e\u2fb6;\u6ab3p;\u6ab7u\xe5\u0ed9\u0100;c\u0ece\u2f4c\u0300;acens\u0ec8\u2f59\u2f5f\u2f66\u2f68\u2f7eppro\xf8\u2f43urlye\xf1\u0ed9\xf1\u0ece\u0180aes\u2f6f\u2f76\u2f7approx;\u6ab9qq;\u6ab5im;\u62e8i\xed\u0edfme\u0100;s\u2f88\u0eae\u6032\u0180Eas\u2f78\u2f90\u2f7a\xf0\u2f75\u0180dfp\u0ee
1c\u2f99\u2faf\u0180als\u2fa0\u2fa5\u2faalar;\u632eine;\u6312urf;\u6313\u0100;t\u0efb\u2fb4\xef\u0efbrel;\u62b0\u0100ci\u2fc0\u2fc5r;\uc000\u{1d4c5};\u43c8ncsp;\u6008\u0300fiopsu\u2fda\u22e2\u2fdf\u2fe5\u2feb\u2ff1r;\uc000\u{1d52e}pf;\uc000\u{1d562}rime;\u6057cr;\uc000\u{1d4c6}\u0180aeo\u2ff8\u3009\u3013t\u0100ei\u2ffe\u3005rnion\xf3\u06b0nt;\u6a16st\u0100;e\u3010\u3011\u403f\xf1\u1f19\xf4\u0f14\u0a80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30e0\u310e\u312b\u3147\u3162\u3172\u318e\u3206\u3215\u3224\u3229\u3258\u326e\u3272\u3290\u32b0\u32b7\u0180art\u3047\u304a\u304cr\xf2\u10b3\xf2\u03ddail;\u691car\xf2\u1c65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307f\u308f\u3094\u30cc\u0100eu\u306d\u3071;\uc000\u223d\u0331te;\u4155i\xe3\u116emptyv;\u69b3g\u0200;del\u0fd1\u3089\u308b\u308d;\u6992;\u69a5\xe5\u0fd1uo\u803b\xbb\u40bbr\u0580;abcfhlpstw\u0fdc\u30ac\u30af\u30b7\u30b9\u30bc\u30be\u30c0\u30c3\u30c7\u30cap;\u6975\u0100;f\u0fe0\u30b4s;\u6920;\u6933s;\u691e\xeb\u225d\xf0\u272el;\u6945im;\u6974l;\u61a3;\u619d\u0100ai\u30d1\u30d5il;\u691ao\u0100;n\u30db\u30dc\u6236al\xf3\u0f1e\u0180abr\u30e7\u30ea\u30eer\xf2\u17e5rk;\u6773\u0100ak\u30f3\u30fdc\u0100ek\u30f9\u30fb;\u407d;\u405d\u0100es\u3102\u3104;\u698cl\u0100du\u310a\u310c;\u698e;\u6990\u0200aeuy\u3117\u311c\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xec\u0ff2\xe2\u30fa;\u4440\u0200clqs\u3134\u3137\u313d\u3144a;\u6937dhar;\u6969uo\u0100;r\u020e\u020dh;\u61b3\u0180acg\u314e\u315f\u0f44l\u0200;ips\u0f78\u3158\u315b\u109cn\xe5\u10bbar\xf4\u0fa9t;\u65ad\u0180ilr\u3169\u1023\u316esht;\u697d;\uc000\u{1d52f}\u0100ao\u3177\u3186r\u0100du\u317d\u317f\xbb\u047b\u0100;l\u1091\u3184;\u696c\u0100;v\u318b\u318c\u43c1;\u43f1\u0180gns\u3195\u31f9\u31fcht\u0300ahlrst\u31a4\u31b0\u31c2\u31d8\u31e4\u31eerrow\u0100;t\u0fdc\u31ada\xe9\u30c8arpoon\u0100du\u31bb\u31bfow\xee\u317ep\xbb\u1092eft\u0100ah\u31ca\u31d0rrow\xf3\u0feaarpoon\xf3\u0551ightarrows;\u61c9quigarro\xf7\u30cbhreetimes;\u62ccg;\u42daingdotse\xf1\u1f32\u0180ahm\u320d\u3210\u3213r\xf2\u0feaa\xf2\u0551;\u600foust\u0100;a\u321e\u321f\u63b1che\xbb\u321fmid;\u6aee\u0200abpt\u3232\u323d\u3240\u3252\u0100nr\u3237\u323ag;\u67edr;\u61fer\xeb\u1003\u0180afl\u3247\u324a\u324er;\u6986;\uc000\u{1d563}us;\u6a2eimes;\u6a35\u0100ap\u325d\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6a12ar\xf2\u31e3\u0200achq\u327b\u3280\u10bc\u3285quo;\u603ar;\uc000\u{1d4c7}\u0100bu\u30fb\u328ao\u0100;r\u0214\u0213\u0180hir\u3297\u329b\u32a0re\xe5\u31f8mes;\u62cai\u0200;efl\u32aa\u1059\u1821\u32ab\u65b9tri;\u69celuhar;\u6968;\u611e\u0d61\u32d5\u32db\u32df\u332c\u3338\u3371\0\u337a\u33a4\0\0\u33ec\u33f0\0\u3428\u3448\u345a\u34ad\u34b1\u34ca\u34f1\0\u3616\0\0\u3633cute;\u415bqu\xef\u27ba\u0500;Eaceinpsy\u11ed\u32f3\u32f5\u32ff\u3302\u330b\u330f\u331f\u3326\u3329;\u6ab4\u01f0\u32fa\0\u32fc;\u6ab8on;\u4161u\xe5\u11fe\u0100;d\u11f3\u3307il;\u415frc;\u415d\u0180Eas\u3316\u3318\u331b;\u6ab6p;\u6abaim;\u62e9olint;\u6a13i\xed\u1204;\u4441ot\u0180;be\u3334\u1d47\u3335\u62c5;\u6a66\u0380Aacmstx\u3346\u334a\u3357\u335b\u335e\u3363\u336drr;\u61d8r\u0100hr\u3350\u3352\xeb\u2228\u0100;o\u0a36\u0a34t\u803b\xa7\u40a7i;\u403bwar;\u6929m\u0100in\u3369\xf0nu\xf3\xf1t;\u6736r\u0100;o\u3376\u2055\uc000\u{1d530}\u0200acoy\u3382\u3386\u3391\u33a0rp;\u666f\u0100hy\u338b\u338fcy;\u4449;\u4448rt\u026d\u3399\0\0\u339ci\xe4\u1464ara\xec\u2e6f\u803b\xad\u40ad\u0100gm\u33a8\u33b4ma\u0180;fv\u33b1\u33b2\u33b2\u43c3;\u43c2\u0400;deglnpr\u12ab\u33c5\u33c9\u33ce\u33d6\u33de\u33e1\u33e6ot;\u6a6a\u0100;q\u12b1\u12b0\u0100;E\u33d3\u33d4\u6a9e;\u6aa0\u0100;E\u33db\u33dc\u6a9d;\u6a9fe;\u6246lus;\u6a24arr;\u6972ar\xf2\u113d\u0200aeit\u33f8\u3408\u340f\u3417\u0100ls\u33fd\u3404lsetm\xe9\u336ahp;\u6a33parsl;\u69e4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341c\u341d\u6aaa\u0100;s\u3422\u3423\u6aac;\uc000\u2aac\ufe00\u0180flp\u342e\u3433\u3442tcy;\u444c\u0100;b\u3438\u3439\u402f\u0100;a\u343e\u343f\u69c4r;\u633ff;\uc000\u{1d564}a\u0100dr\u344d\u0402es\u0100;u\u3454\u3455\u6660it\xbb\u3455\u0180csu\u3460\u3479\u349f\u0100au\u3465\u346fp\u0100;s\u1188\u346b;\uc000\u2293\ufe00p\u0100;s\u11b4\u3475;\uc000\u2294\ufe00u\u0100bp\u347f\u348f\u0180;es\u1197\u119c\u3486et\u0100;e\u1197\u348d\xf1\u119d\u0180;es\u11a8\u11ad\u3496et\u0100;e\u11a8\u349d\xf1\u11ae\u0180;af\u117b\u34a6\u05b0r\u0165\u34ab\u05b1\xbb\u117car\xf2\u1148\u0200cemt\u34b9\u34be\u34c2\u34c5r;\uc000\u{1d4c8}tm\xee\xf1i\xec\u3415ar\xe6\u11be\u0100ar\u34ce\u34d5r\u0100;f\u34d4\u17bf\u6606\u0100an\u34da\u34edight\u0100ep\u34e3\u34eapsilo\xee\u1ee0h\xe9\u2eafs\xbb\u2852\u0280bcmnp\u34fb\u355e\u1209\u358b\u358e\u0480;
1Edemnprs\u350e\u350f\u3511\u3515\u351e\u3523\u352c\u3531\u3536\u6282;\u6ac5ot;\u6abd\u0100;d\u11da\u351aot;\u6ac3ult;\u6ac1\u0100Ee\u3528\u352a;\u6acb;\u628alus;\u6abfarr;\u6979\u0180eiu\u353d\u3552\u3555t\u0180;en\u350e\u3545\u354bq\u0100;q\u11da\u350feq\u0100;q\u352b\u3528m;\u6ac7\u0100bp\u355a\u355c;\u6ad5;\u6ad3c\u0300;acens\u11ed\u356c\u3572\u3579\u357b\u3326ppro\xf8\u32faurlye\xf1\u11fe\xf1\u11f3\u0180aes\u3582\u3588\u331bppro\xf8\u331aq\xf1\u3317g;\u666a\u0680123;Edehlmnps\u35a9\u35ac\u35af\u121c\u35b2\u35b4\u35c0\u35c9\u35d5\u35da\u35df\u35e8\u35ed\u803b\xb9\u40b9\u803b\xb2\u40b2\u803b\xb3\u40b3;\u6ac6\u0100os\u35b9\u35bct;\u6abeub;\u6ad8\u0100;d\u1222\u35c5ot;\u6ac4s\u0100ou\u35cf\u35d2l;\u67c9b;\u6ad7arr;\u697bult;\u6ac2\u0100Ee\u35e4\u35e6;\u6acc;\u628blus;\u6ac0\u0180eiu\u35f4\u3609\u360ct\u0180;en\u121c\u35fc\u3602q\u0100;q\u1222\u35b2eq\u0100;q\u35e7\u35e4m;\u6ac8\u0100bp\u3611\u3613;\u6ad4;\u6ad6\u0180Aan\u361c\u3620\u362drr;\u61d9r\u0100hr\u3626\u3628\xeb\u222e\u0100;o\u0a2b\u0a29war;\u692alig\u803b\xdf\u40df\u0be1\u3651\u365d\u3660\u12ce\u3673\u3679\0\u367e\u36c2\0\0\0\0\0\u36db\u3703\0\u3709\u376c\0\0\0\u3787\u0272\u3656\0\0\u365bget;\u6316;\u43c4r\xeb\u0e5f\u0180aey\u3666\u366b\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uc000\u{1d531}\u0200eiko\u3686\u369d\u36b5\u36bc\u01f2\u368b\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369b\u43b8ym;\u43d1\u0100cn\u36a2\u36b2k\u0100as\u36a8\u36aeppro\xf8\u12c1im\xbb\u12acs\xf0\u129e\u0100as\u36ba\u36ae\xf0\u12c1rn\u803b\xfe\u40fe\u01ec\u031f\u36c6\u22e7es\u8180\xd7;bd\u36cf\u36d0\u36d8\u40d7\u0100;a\u190f\u36d5r;\u6a31;\u6a30\u0180eps\u36e1\u36e3\u3700\xe1\u2a4d\u0200;bcf\u0486\u36ec\u36f0\u36f4ot;\u6336ir;\u6af1\u0100;o\u36f9\u36fc\uc000\u{1d565}rk;\u6ada\xe1\u3362rime;\u6034\u0180aip\u370f\u3712\u3764d\xe5\u1248\u0380adempst\u3721\u374d\u3740\u3751\u3757\u375c\u375fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65b5own\xbb\u1dbbeft\u0100;e\u2800\u373e\xf1\u092e;\u625cight\u0100;e\u32aa\u374b\xf1\u105aot;\u65ecinus;\u6a3alus;\u6a39b;\u69cdime;\u6a3bezium;\u63e2\u0180cht\u3772\u377d\u3781\u0100ry\u3777\u377b;\uc000\u{1d4c9};\u4446cy;\u445brok;\u4167\u0100io\u378b\u378ex\xf4\u1777head\u0100lr\u3797\u37a0eftarro\xf7\u084fightarrow\xbb\u0f5d\u0900AHabcdfghlmoprstuw\u37d0\u37d3\u37d7\u37e4\u37f0\u37fc\u380e\u381c\u3823\u3834\u3851\u385d\u386b\u38a9\u38cc\u38d2\u38ea\u38f6r\xf2\u03edar;\u6963\u0100cr\u37dc\u37e2ute\u803b\xfa\u40fa\xf2\u1150r\u01e3\u37ea\0\u37edy;\u445eve;\u416d\u0100iy\u37f5\u37farc\u803b\xfb\u40fb;\u4443\u0180abh\u3803\u3806\u380br\xf2\u13adlac;\u4171a\xf2\u13c3\u0100ir\u3813\u3818sht;\u697e;\uc000\u{1d532}rave\u803b\xf9\u40f9\u0161\u3827\u3831r\u0100lr\u382c\u382e\xbb\u0957\xbb\u1083lk;\u6580\u0100ct\u3839\u384d\u026f\u383f\0\0\u384arn\u0100;e\u3845\u3846\u631cr\xbb\u3846op;\u630fri;\u65f8\u0100al\u3856\u385acr;\u416b\u80bb\xa8\u0349\u0100gp\u3862\u3866on;\u4173f;\uc000\u{1d566}\u0300adhlsu\u114b\u3878\u387d\u1372\u3891\u38a0own\xe1\u13b3arpoon\u0100lr\u3888\u388cef\xf4\u382digh\xf4\u382fi\u0180;hl\u3899\u389a\u389c\u43c5\xbb\u13faon\xbb\u389aparrows;\u61c8\u0180cit\u38b0\u38c4\u38c8\u026f\u38b6\0\0\u38c1rn\u0100;e\u38bc\u38bd\u631dr\xbb\u38bdop;\u630eng;\u416fri;\u65f9cr;\uc000\u{1d4ca}\u0180dir\u38d9\u38dd\u38e2ot;\u62f0lde;\u4169i\u0100;f\u3730\u38e8\xbb\u1813\u0100am\u38ef\u38f2r\xf2\u38a8l\u803b\xfc\u40fcangle;\u69a7\u0780ABDacdeflnoprsz\u391c\u391f\u3929\u392d\u39b5\u39b8\u39bd\u39df\u39e4\u39e8\u39f3\u39f9\u39fd\u3a01\u3a20r\xf2\u03f7ar\u0100;v\u3926\u3927\u6ae8;\u6ae9as\xe8\u03e1\u0100nr\u3932\u3937grt;\u699c\u0380eknprst\u34e3\u3946\u394b\u3952\u395d\u3964\u3996app\xe1\u2415othin\xe7\u1e96\u0180hir\u34eb\u2ec8\u3959op\xf4\u2fb5\u0100;h\u13b7\u3962\xef\u318d\u0100iu\u3969\u396dgm\xe1\u33b3\u0100bp\u3972\u3984setneq\u0100;q\u397d\u3980\uc000\u228a\ufe00;\uc000\u2acb\ufe00setneq\u0100;q\u398f\u3992\uc000\u228b\ufe00;\uc000\u2acc\ufe00\u0100hr\u399b\u399fet\xe1\u369ciangle\u0100lr\u39aa\u39afeft\xbb\u0925ight\xbb\u1051y;\u4432ash\xbb\u1036\u0180elr\u39c4\u39d2\u39d7\u0180;be\u2dea\u39cb\u39cfar;\u62bbq;\u625alip;\u62ee\u0100bt\u39dc\u1468a\xf2\u1469r;\uc000\u{1d533}
1tr\xe9\u39aesu\u0100bp\u39ef\u39f1\xbb\u0d1c\xbb\u0d59pf;\uc000\u{1d567}ro\xf0\u0efbtr\xe9\u39b4\u0100cu\u3a06\u3a0br;\uc000\u{1d4cb}\u0100bp\u3a10\u3a18n\u0100Ee\u3980\u3a16\xbb\u397en\u0100Ee\u3992\u3a1e\xbb\u3990igzag;\u699a\u0380cefoprs\u3a36\u3a3b\u3a56\u3a5b\u3a54\u3a61\u3a6airc;\u4175\u0100di\u3a40\u3a51\u0100bg\u3a45\u3a49ar;\u6a5fe\u0100;q\u15fa\u3a4f;\u6259erp;\u6118r;\uc000\u{1d534}pf;\uc000\u{1d568}\u0100;e\u1479\u3a66at\xe8\u1479cr;\uc000\u{1d4cc}\u0ae3\u178e\u3a87\0\u3a8b\0\u3a90\u3a9b\0\0\u3a9d\u3aa8\u3aab\u3aaf\0\0\u3ac3\u3ace\0\u3ad8\u17dc\u17dftr\xe9\u17d1r;\uc000\u{1d535}\u0100Aa\u3a94\u3a97r\xf2\u03c3r\xf2\u09f6;\u43be\u0100Aa\u3aa1\u3aa4r\xf2\u03b8r\xf2\u09eba\xf0\u2713is;\u62fb\u0180dpt\u17a4\u3ab5\u3abe\u0100fl\u3aba\u17a9;\uc000\u{1d569}im\xe5\u17b2\u0100Aa\u3ac7\u3acar\xf2\u03cer\xf2\u0a01\u0100cq\u3ad2\u17b8r;\uc000\u{1d4cd}\u0100pt\u17d6\u3adcr\xe9\u17d4\u0400acefiosu\u3af0\u3afd\u3b08\u3b0c\u3b11\u3b15\u3b1b\u3b21c\u0100uy\u3af6\u3afbte\u803b\xfd\u40fd;\u444f\u0100iy\u3b02\u3b06rc;\u4177;\u444bn\u803b\xa5\u40a5r;\uc000\u{1d536}cy;\u4457pf;\uc000\u{1d56a}cr;\uc000\u{1d4ce}\u0100cm\u3b26\u3b29y;\u444el\u803b\xff\u40ff\u0500acdefhiosw\u3b42\u3b48\u3b54\u3b58\u3b64\u3b69\u3b6d\u3b74\u3b7a\u3b80cute;\u417a\u0100ay\u3b4d\u3b52ron;\u417e;\u4437ot;\u417c\u0100et\u3b5d\u3b61tr\xe6\u155fa;\u43b6r;\uc000\u{1d537}cy;\u4436grarr;\u61ddpf;\uc000\u{1d56b}cr;\uc000\u{1d4cf}\u0100jn\u3b85\u3b87;\u600dj;\u600c'.split("").map(function(f){return f.charCodeAt(0)}))},72528:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=new Uint16Array("\u0200aglq\t\x15\x18\x1b\u026d\x0f\0\0\x12p;\u4026os;\u4027t;\u403et;\u403cuot;\u4022".split("").map(function(f){return f.charCodeAt(0)}))},30433:(ge,_)=>{"use strict";function f(c){for(var o=1;o<c.length;o++)c[o][0]+=c[o-1][0]+1;return c}Object.defineProperty(_,"__esModule",{value:!0}),_.default=new Map(f
vendor: 10,610 bytes, line 1
1([[9,"	"],[0,"
"],[22,"!"],[0,"""],[0,"#"],[0,"$"],[0,"%"],[0,"&"],[0,"'"],[0,"("],[0,")"],[0,"*"],[0,"+"],[0,","],[1,"."],[0,"/"],[10,":"],[0,";"],[0,{v:"<",n:8402,o:"<⃒"}],[0,{v:"=",n:8421,o:"=⃥"}],[0,{v:">",n:8402,o:">⃒"}],[0,"?"],[0,"@"],[26,"["],[0,"\"],[0,"]"],[0,"^"],[0,"_"],[0,"`"],[5,{n:106,o:"fj"}],[20,"{"],[0,"|"],[0,"}"],[34," "],[0,"¡"],[0,"¢"],[0,"£"],[0,"¤"],[0,"¥"],[0,"¦"],[0,"§"],[0,"¨"],[0,"©"],[0,"ª"],[0,"«"],[0,"¬"],[0,"­"],[0,"®"],[0,"¯"],[0,"°"],[0,"±"],[0,"²"],[0,"³"],[0,"´"],[0,"µ"],[0,"¶"],[0,"·"],[0,"¸"],[0,"¹"],[0,"º"],[0,"»"],[0,"¼"],[0,"½"],[0,"¾"],[0,"¿"],[0,"À"],[0,"Á"],[0,"Â"],[0,"Ã"],[0,"Ä"],[0,"Å"],[0,"Æ"],[0,"Ç"],[0,"È"],[0,"É"],[0,"Ê"],[0,"Ë"],[0,"Ì"],[0,"Í"],[0,"Î"],[0,"Ï"],[0,"Ð"],[0,"Ñ"],[0,"Ò"],[0,"Ó"],[0,"Ô"],[0,"Õ"],[0,"Ö"],[0,"×"],[0,"Ø"],[0,"Ù"],[0,"Ú"],[0,"Û"],[0,"Ü"],[0,"Ý"],[0,"Þ"],[0,"ß"],[0,"à"],[0,"á"],[0,"â"],[0,"ã"],[0,"ä"],[0,"å"],[0,"æ"],[0,"ç"],[0,"è"],[0,"é"],[0,"ê"],[0,"ë"],[0,"ì"],[0,"í"],[0,"î"],[0,"ï"],[0,"ð"],[0,"ñ"],[0,"ò"],[0,"ó"],[0,"ô"],[0,"õ"],[0,"ö"],[0,"÷"],[0,"ø"],[0,"ù"],[0,"ú"],[0,"û"],[0,"ü"],[0,"ý"],[0,"þ"],[0,"ÿ"],[0,"Ā"],[0,"ā"],[0,"Ă"],[0,"ă"],[0,"Ą"],[0,"ą"],[0,"Ć"],[0,"ć"],[0,"Ĉ"],[0,"ĉ"],[0,"Ċ"],[0,"ċ"],[0,"Č"],[0,"č"],[0,"Ď"],[0,"ď"],[0,"Đ"],[0,"đ"],[0,"Ē"],[0,"ē"],[2,"Ė"],[0,"ė"],[0,"Ę"],[0,"ę"],[0,"Ě"],[0,"ě"],[0,"Ĝ"],[0,"ĝ"],[0,"Ğ"],[0,"ğ"],[0,"Ġ"],[0,"ġ"],[0,"Ģ"],[1,"Ĥ"],[0,"ĥ"],[0,"Ħ"],[0,"ħ"],[0,"Ĩ"],[0,"ĩ"],[0,"Ī"],[0,"ī"],[2,"Į"],[0,"į"],[0,"İ"],[0,"ı"],[0,"IJ"],[0,"ij"],[0,"Ĵ"],[0,"ĵ"],[0,"Ķ"],[0,"ķ"],[0,"ĸ"],[0,"Ĺ"],[0,"ĺ"],[0,"Ļ"],[0,"ļ"],[0,"Ľ"],[0,"ľ"],[0,"Ŀ"],[0,"ŀ"],[0,"Ł"],[0,"ł"],[0,"Ń"],[0,"ń"],[0,"Ņ"],[0,"ņ"],[0,"Ň"],[0,"ň"],[0,"ʼn"],[0,"Ŋ"],[0,"ŋ"],[0,"Ō"],[0,"ō"],[2,"Ő"],[0,"ő"],[0,"Œ"],[0,"œ"],[0,"Ŕ"],[0,"ŕ"],[0,"Ŗ"],[0,"ŗ"],[0,"Ř"],[0,"ř"],[0,"Ś"],[0,"ś"],[0,"Ŝ"],[0,"ŝ"],[0,"Ş"],[0,"ş"],[0,"Š"],[0,"š"],[0,"Ţ"],[0,"ţ"],[0,"Ť"],[0,"ť"],[0,"Ŧ"],[0,"ŧ"],[0,"Ũ"],[0,"ũ"],[0,"Ū"],[0,"ū"],[0,"Ŭ"],[0,"ŭ"],[0,"Ů"],[0,"ů"],[0,"Ű"],[0,"ű"],[0,"Ų"],[0,"ų"],[0,"Ŵ"],[0,"ŵ"],[0,"Ŷ"],[0,"ŷ"],[0,"Ÿ"],[0,"Ź"],[0,"ź"],[0,"Ż"],[0,"ż"],[0,"Ž"],[0,"ž"],[19,"ƒ"],[34,"Ƶ"],[63,"ǵ"],[65,"ȷ"],[142,"ˆ"],[0,"ˇ"],[16,"˘"],[0,"˙"],[0,"˚"],[0,"˛"],[0,"˜"],[0,"˝"],[51,"̑"],[127,"Α"],[0,"Β"],[0,"Γ"],[0,"Δ"],[0,"Ε"],[0,"Ζ"],[0,"Η"],[0,"Θ"],[0,"Ι"],[0,"Κ"],[0,"Λ"],[0,"Μ"],[0,"Ν"],[0,"Ξ"],[0,"Ο"],[0,"Π"],[0,"Ρ"],[1,"Σ"],[0,"Τ"],[0,"Υ"],[0,"Φ"],[0,"Χ"],[0,"Ψ"],[0,"Ω"],[7,"α"],[0,"β"],[0,"γ"],[0,"δ"],[0,"ε"],[0,"ζ"],[0,"η"],[0,"θ"],[0,"ι"],[0,"κ"],[0,"λ"],[0,"μ"],[0,"ν"],[0,"ξ"],[0,"ο"],[0,"π"],[0,"ρ"],[0,"ς"],[0,"σ"],[0,"τ"],[0,"υ"],[0,"φ"],[0,"χ"],[0,"ψ"],[0,"ω"],[7,"ϑ"],[0,"ϒ"],[2,"ϕ"],[0,"ϖ"],[5,"Ϝ"],[0,"ϝ"],[18,"ϰ"],[0,"ϱ"],[3,"ϵ"],[0,"϶"],[10,"Ё"],[0,"Ђ"],[0,"Ѓ"],[0,"Є"],[0,"Ѕ"],[0,"І"],[0,"Ї"],[0,"Ј"],[0,"Љ"],[0,"Њ"],[0,"Ћ"],[0,"Ќ"],[1,"Ў"],[0,"Џ"],[0,"А"],[0,"Б"],[0,"В"],[0,"Г"],[0,"Д"],[0,"Е"],[0,"Ж"],[0,"З"],[0,"И"],[0,"Й"],[0,"К"],[0,"Л"],[0,"М"],[0,"Н"],[0,"О"],[0,"П"],[0,"Р"],[0,"С"],[0,"Т"],[0,"У"],[0,"Ф"],[0,"Х"],[0,"Ц"],[0,"Ч"],[0,"Ш"],[0,"Щ"],[0,"Ъ"],[0,"Ы"],[0,"Ь"],[0,"Э"],[0,"Ю"],[0,"Я"],[0,"а"],[0,"б"],[0,"в"],[0,"г"],[0,"д"],[0,"е"],[0,"ж"],[0,"з"],[0,"и"],[0,"й"],[0,"к"],[0,"л"],[0,"м"],[0,"н"],[0,"о"],[0,"п"],[0,"р"],[0,"с"],[0,"т"],[0,"у"],[0,"ф"],[0,"х"],[0,"ц"],[0,"ч"],[0,"ш"],[0,"щ"],[0,"ъ"],[0,"ы"],[0,"ь"],[0,"э"],[0,"ю"],[0,"я"],[1,"ё"],[0,"ђ"],[0,"ѓ"],[0,"є"],[0,"ѕ"],[0,"і"],[0,"ї"],[0,"ј"],[0,"љ"],[0,"њ"],[0,"ћ"],[0,"ќ"],[1,"ў"],[0,"џ"],[7074," "],[0," "],[0," "],[0," "],[1," "],[0," "],[0," "],[0," "],[0,"​"],[0,"‌"],[0,"‍"],[0,"‎"],[0,"‏"],[0,"‐"],[2,"–"],[0,"—"],[0,"―"],[0,"‖"],[1,"‘"],[0,"’"],[0,"‚"],[1,"“"],[0,"”"],[0,"„"],[1,"†"],[0,"‡"],[0,"•"],[2,"‥"],[0,"…"],[9,"‰"],[0,"‱"],[0,"′"],[0,"″"],[0,"‴"],[0,"‵"],[3,"‹"],[0,"›"],[3,"‾"],[2,"⁁"],[1,"⁃"],[0,"⁄"],[10,"⁏"],[7,"⁗"],[7,{v:" ",n:8202,o:"  "}],[0,"⁠"],[0,"⁡"],[0,"⁢"],[0,"⁣"],[72,"€"],[46,"⃛"],[0,"⃜"],[37,"ℂ"],[2,"℅"],[4,"ℊ"],[0,"ℋ"],[0,"ℌ"],[0,"ℍ"],[0,"ℎ"],[0,"ℏ"],[0,"ℐ"],[0,"ℑ"],[0,"ℒ"],[0,"ℓ"],[1,"ℕ"],[0,"№"],[0,"℗"],[0,"℘"],[0,"ℙ"],[0,"ℚ"],[0,"ℛ"],[0,"ℜ"],[0,"ℝ"],[0,"℞"],[3,"™"],[1,"ℤ"],[2,"℧"],[0,"ℨ"],[0,"℩"],[2,"ℬ"],[0,"ℭ"],[1,"ℯ"],[0,"ℰ"],[0,"ℱ"],[1,"ℳ"],[0,"ℴ"],[0,"ℵ"],[0,"ℶ"],[0,"ℷ"],[0,"ℸ"],[12,"ⅅ"],[0,"ⅆ"],[0,"ⅇ"],[0,"ⅈ"],[10,"⅓"],[0,"⅔"],[0,"⅕"],[0,"⅖"],[0,"⅗"],[0,"⅘"],[0,"⅙"],[0,"⅚"],[0,"⅛"],[0,"⅜"],[0,"⅝"],[0,"⅞"],[49,"←"],[0,"↑"],[0,"→"],[0,"↓"],[0,"↔"],[0,"↕"],[0,"↖"],[0,"↗"],[0,"↘"],[0,"↙"],[0,"↚"],[0,"↛"],[1,{v:"↝",n:824,o:"↝̸"}],[0,"↞"],[0,"↟"],[0,"↠"],[0,"↡"],[0,"↢"],[0,"↣"],[0,"↤"],[0,"↥"],[0,"↦"],[0,"↧"],[1,"↩"],[0,"↪"],[0,"↫"],[0,"↬"],[0,"↭"],[0,"↮"],[1,"↰"],[0,"↱"],[0,"↲"],[0,"↳"],[1,"↵"],[0,"↶"],[0,"↷"],[2,"↺"],[0,"↻"],[0,"↼"],[0,"↽"],[0,"↾"],[0,"↿"],[0,"⇀"],[0,"⇁"],[0,"⇂"],[0,"⇃"],[0,"⇄"],[0,"⇅"],[0,"⇆"],[0,"⇇"],[0,"⇈"],[0,"⇉"],[0,"⇊"],[0,"⇋"],[0,"⇌"],[0,"⇍"],[0,"⇎"],[0,"⇏"],[0,"⇐"],[0,"⇑"],[0,"⇒"],[0,"⇓"],[0,"⇔"],[0,"⇕"],[0,"⇖"],[0,"⇗"],[0,"⇘"],[0,"⇙"],[0,"⇚"],[0,"⇛"],[1,"⇝"],[6,"⇤"],[0,"⇥"],[15,"⇵"],[7,"⇽"],[0,"⇾"],[0,"⇿"],[0,"∀"],[0,"∁"],[0,{v:"∂",n:824,o:"∂̸"}],[0,"∃"],[0,"∄"],[0,"∅"],[1,"∇"],[0,"∈"],[0,"∉"],[1,"∋"],[0,"∌"],[2,"∏"],[0,"∐"],[0,"∑"],[0,"−"],[0,"∓"],[0,"∔"],[1,"∖"],[0,"∗"],[0,"∘"],[1,"√"],[2,"∝"],[0,"∞"],[0,"∟"],[0,{v:"∠",n:8402,o:"∠⃒"}],[0,"∡"],[0,"∢"],[0,"∣"],[0,"∤"],[0,"∥"],[0,"∦"],[0,"∧"],[0,"∨"],[0,{v:"∩",n:65024,o:"∩︀"}],[0,{v:"∪",n:65024,o:"∪︀"}],[0,"∫"],[0,"∬"],[0,"∭"],[0,"∮"],[0,"∯"],[0,"∰"],[0,"∱"],[0,"∲"],[0,"∳"],[0,"∴"],[0,"∵"],[0,"∶"],[0,"∷"],[0,"∸"],[1,"∺"],[0,"∻"],[0,{v:"∼",n:8402,o:"∼⃒"}],[0,{v:"∽",n:817,o:"∽̱"}],[0,{v:"∾",n:819,o:"∾̳"}],[0,"∿"],[0,"≀"],[0,"≁"],[0,{v:"≂",n:824,o:"≂̸"}],[0,"≃"],[0,"≄"],[0,"≅"],[0,"≆"],[0,"≇"],[0,"≈"],[0,"≉"],[0,"≊"],[0,{v:"≋",n:824,o:"≋̸"}],[0,"≌"],[0,{v:"≍",n:8402,o:"≍⃒"}],[0,{v:"≎",n:824,o:"≎̸"}],[0,{v:"≏",n:824,o:"≏̸"}],[0,{v:"≐",n:824,o:"≐̸"}],[0,"≑"],[0,"≒"],[0,"≓"],[0,"≔"],[0,"≕"],[0,"≖"],[0,"≗"],[1,"≙"],[0,"≚"],[1,"≜"],[2,"≟"],[0,"≠"],[0,{v:"≡",n:8421,o:"≡⃥"}],[0,"≢"],[1,{v:"≤",n:8402,o:"≤⃒"}],[0,{v:"≥",n:8402,o:"≥⃒"}],[0,{v:"≦",n:824,o:"≦̸"}],[0,{v:"≧",n:824,o:"≧̸"}],[0,{v:"≨",n:65024,o:"≨︀"}],[0,{v:"≩",n:65024,o:"≩︀"}],[0,{v:"≪",n:new Map(
1f([[824,"≪̸"],[7577,"≪⃒"]]))}],[0,{v:"≫",n:new Map(f([[824,"≫̸"],[7577,"≫⃒"]]))}],[0,"≬"],[0,"≭"],[0,"≮"],[0,"≯"],[0,"≰"],[0,"≱"],[0,"≲"],[0,"≳"],[0,"≴"],[0,"≵"],[0,"≶"],[0,"≷"],[0,"≸"],[0,"≹"],[0,"≺"],[0,"≻"],[0,"≼"],[0,"≽"],[0,"≾"],[0,{v:"≿",n:824,o:"≿̸"}],[0,"⊀"],[0,"⊁"],[0,{v:"⊂",n:8402,o:"⊂⃒"}],[0,{v:"⊃",n:8402,o:"⊃⃒"}],[0,"⊄"],[0,"⊅"],[0,"⊆"],[0,"⊇"],[0,"⊈"],[0,"⊉"],[0,{v:"⊊",n:65024,o:"⊊︀"}],[0,{v:"⊋",n:65024,o:"⊋︀"}],[1,"⊍"],[0,"⊎"],[0,{v:"⊏",n:824,o:"⊏̸"}],[0,{v:"⊐",n:824,o:"⊐̸"}],[0,"⊑"],[0,"⊒"],[0,{v:"⊓",n:65024,o:"⊓︀"}],[0,{v:"⊔",n:65024,o:"⊔︀"}],[0,"⊕"],[0,"⊖"],[0,"⊗"],[0,"⊘"],[0,"⊙"],[0,"⊚"],[0,"⊛"],[1,"⊝"],[0,"⊞"],[0,"⊟"],[0,"⊠"],[0,"⊡"],[0,"⊢"],[0,"⊣"],[0,"⊤"],[0,"⊥"],[1,"⊧"],[0,"⊨"],[0,"⊩"],[0,"⊪"],[0,"⊫"],[0,"⊬"],[0,"⊭"],[0,"⊮"],[0,"⊯"],[0,"⊰"],[1,"⊲"],[0,"⊳"],[0,{v:"⊴",n:8402,o:"⊴⃒"}],[0,{v:"⊵",n:8402,o:"⊵⃒"}],[0,"⊶"],[0,"⊷"],[0,"⊸"],[0,"⊹"],[0,"⊺"],[0,"⊻"],[1,"⊽"],[0,"⊾"],[0,"⊿"],[0,"⋀"],[0,"⋁"],[0,"⋂"],[0,"⋃"],[0,"⋄"],[0,"⋅"],[0,"⋆"],[0,"⋇"],[0,"⋈"],[0,"⋉"],[0,"⋊"],[0,"⋋"],[0,"⋌"],[0,"⋍"],[0,"⋎"],[0,"⋏"],[0,"⋐"],[0,"⋑"],[0,"⋒"],[0,"⋓"],[0,"⋔"],[0,"⋕"],[0,"⋖"],[0,"⋗"],[0,{v:"⋘",n:824,o:"⋘̸"}],[0,{v:"⋙",n:824,o:"⋙̸"}],[0,{v:"⋚",n:65024,o:"⋚︀"}],[0,{v:"⋛",n:65024,o:"⋛︀"}],[2,"⋞"],[0,"⋟"],[0,"⋠"],[0,"⋡"],[0,"⋢"],[0,"⋣"],[2,"⋦"],[0,"⋧"],[0,"⋨"],[0,"⋩"],[0,"⋪"],[0,"⋫"],[0,"⋬"],[0,"⋭"],[0,"⋮"],[0,"⋯"],[0,"⋰"],[0,"⋱"],[0,"⋲"],[0,"⋳"],[0,"⋴"],[0,{v:"⋵",n:824,o:"⋵̸"}],[0,"⋶"],[0,"⋷"],[1,{v:"⋹",n:824,o:"⋹̸"}],[0,"⋺"],[0,"⋻"],[0,"⋼"],[0,"⋽"],[0,"⋾"],[6,"⌅"],[0,"⌆"],[1,"⌈"],[0,"⌉"],[0,"⌊"],[0,"⌋"],[0,"⌌"],[0,"⌍"],[0,"⌎"],[0,"⌏"],[0,"⌐"],[1,"⌒"],[0,"⌓"],[1,"⌕"],[0,"⌖"],[5,"⌜"],[0,"⌝"],[0,"⌞"],[0,"⌟"],[2,"⌢"],[0,"⌣"],[9,"⌭"],[0,"⌮"],[7,"⌶"],[6,"⌽"],[1,"⌿"],[60,"⍼"],[51,"⎰"],[0,"⎱"],[2,"⎴"],[0,"⎵"],[0,"⎶"],[37,"⏜"],[0,"⏝"],[0,"⏞"],[0,"⏟"],[2,"⏢"],[4,"⏧"],[59,"␣"],[164,"Ⓢ"],[55,"─"],[1,"│"],[9,"┌"],[3,"┐"],[3,"└"],[3,"┘"],[3,"├"],[7,"┤"],[7,"┬"],[7,"┴"],[7,"┼"],[19,"═"],[0,"║"],[0,"╒"],[0,"╓"],[0,"╔"],[0,"╕"],[0,"╖"],[0,"╗"],[0,"╘"],[0,"╙"],[0,"╚"],[0,"╛"],[0,"╜"],[0,"╝"],[0,"╞"],[0,"╟"],[0,"╠"],[0,"╡"],[0,"╢"],[0,"╣"],[0,"╤"],[0,"╥"],[0,"╦"],[0,"╧"],[0,"╨"],[0,"╩"],[0,"╪"],[0,"╫"],[0,"╬"],[19,"▀"],[3,"▄"],[3,"█"],[8,"░"],[0,"▒"],[0,"▓"],[13,"□"],[8,"▪"],[0,"▫"],[1,"▭"],[0,"▮"],[2,"▱"],[1,"△"],[0,"▴"],[0,"▵"],[2,"▸"],[0,"▹"],[3,"▽"],[0,"▾"],[0,"▿"],[2,"◂"],[0,"◃"],[6,"◊"],[0,"○"],[32,"◬"],[2,"◯"],[8,"◸"],[0,"◹"],[0,"◺"],[0,"◻"],[0,"◼"],[8,"★"],[0,"☆"],[7,"☎"],[49,"♀"],[1,"♂"],[29,"♠"],[2,"♣"],[1,"♥"],[0,"♦"],[3,"♪"],[2,"♭"],[0,"♮"],[0,"♯"],[163,"✓"],[3,"✗"],[8,"✠"],[21,"✶"],[33,"❘"],[25,"❲"],[0,"❳"],[84,"⟈"],[0,"⟉"],[28,"⟦"],[0,"⟧"],[0,"⟨"],[0,"⟩"],[0,"⟪"],[0,"⟫"],[0,"⟬"],[0,"⟭"],[7,"⟵"],[0,"⟶"],[0,"⟷"],[0,"⟸"],[0,"⟹"],[0,"⟺"],[1,"⟼"],[2,"⟿"],[258,"⤂"],[0,"⤃"],[0,"⤄"],[0,"⤅"],[6,"⤌"],[0,"⤍"],[0,"⤎"],[0,"⤏"],[0,"⤐"],[0,"⤑"],[0,"⤒"],[0,"⤓"],[2,"⤖"],[2,"⤙"],[0,"⤚"],[0,"⤛"],[0,"⤜"],[0,"⤝"],[0,"⤞"],[0,"⤟"],[0,"⤠"],[2,"⤣"],[0,"⤤"],[0,"⤥"],[0,"⤦"],[0,"⤧"],[0,"⤨"],[0,"⤩"],[0,"⤪"],[8,{v:"⤳",n:824,o:"⤳̸"}],[1,"⤵"],[0,"⤶"],[0,"⤷"],[0,"⤸"],[0,"⤹"],[2,"⤼"],[0,"⤽"],[7,"⥅"],[2,"⥈"],[0,"⥉"],[0,"⥊"],[0,"⥋"],[2,"⥎"],[0,"⥏"],[0,"⥐"],[0,"⥑"],[0,"⥒"],[0,"⥓"],[0,"⥔"],[0,"⥕"],[0,"⥖"],[0,"⥗"],[0,"⥘"],[0,"⥙"],[0,"⥚"],[0,"⥛"],[0,"⥜"],[0,"⥝"],[0,"⥞"],[0,"⥟"],[0,"⥠"],[0,"⥡"],[0,"⥢"],[0,"⥣"],[0,"⥤"],[0,"⥥"],[0,"⥦"],[0,"⥧"],[0,"⥨
1"],[0,"⥩"],[0,"⥪"],[0,"⥫"],[0,"⥬"],[0,"⥭"],[0,"⥮"],[0,"⥯"],[0,"⥰"],[0,"⥱"],[0,"⥲"],[0,"⥳"],[0,"⥴"],[0,"⥵"],[0,"⥶"],[1,"⥸"],[0,"⥹"],[1,"⥻"],[0,"⥼"],[0,"⥽"],[0,"⥾"],[0,"⥿"],[5,"⦅"],[0,"⦆"],[4,"⦋"],[0,"⦌"],[0,"⦍"],[0,"⦎"],[0,"⦏"],[0,"⦐"],[0,"⦑"],[0,"⦒"],[0,"⦓"],[0,"⦔"],[0,"⦕"],[0,"⦖"],[3,"⦚"],[1,"⦜"],[0,"⦝"],[6,"⦤"],[0,"⦥"],[0,"⦦"],[0,"⦧"],[0,"⦨"],[0,"⦩"],[0,"⦪"],[0,"⦫"],[0,"⦬"],[0,"⦭"],[0,"⦮"],[0,"⦯"],[0,"⦰"],[0,"⦱"],[0,"⦲"],[0,"⦳"],[0,"⦴"],[0,"⦵"],[0,"⦶"],[0,"⦷"],[1,"⦹"],[1,"⦻"],[0,"⦼"],[1,"⦾"],[0,"⦿"],[0,"⧀"],[0,"⧁"],[0,"⧂"],[0,"⧃"],[0,"⧄"],[0,"⧅"],[3,"⧉"],[3,"⧍"],[0,"⧎"],[0,{v:"⧏",n:824,o:"⧏̸"}],[0,{v:"⧐",n:824,o:"⧐̸"}],[11,"⧜"],[0,"⧝"],[0,"⧞"],[4,"⧣"],[0,"⧤"],[0,"⧥"],[5,"⧫"],[8,"⧴"],[1,"⧶"],[9,"⨀"],[0,"⨁"],[0,"⨂"],[1,"⨄"],[1,"⨆"],[5,"⨌"],[0,"⨍"],[2,"⨐"],[0,"⨑"],[0,"⨒"],[0,"⨓"],[0,"⨔"],[0,"⨕"],[0,"⨖"],[0,"⨗"],[10,"⨢"],[0,"⨣"],[0,"⨤"],[0,"⨥"],[0,"⨦"],[0,"⨧"],[1,"⨩"],[0,"⨪"],[2,"⨭"],[0,"⨮"],[0,"⨯"],[0,"⨰"],[0,"⨱"],[1,"⨳"],[0,"⨴"],[0,"⨵"],[0,"⨶"],[0,"⨷"],[0,"⨸"],[0,"⨹"],[0,"⨺"],[0,"⨻"],[0,"⨼"],[2,"⨿"],[0,"⩀"],[1,"⩂"],[0,"⩃"],[0,"⩄"],[0,"⩅"],[0,"⩆"],[0,"⩇"],[0,"⩈"],[0,"⩉"],[0,"⩊"],[0,"⩋"],[0,"⩌"],[0,"⩍"],[2,"⩐"],[2,"⩓"],[0,"⩔"],[0,"⩕"],[0,"⩖"],[0,"⩗"],[0,"⩘"],[1,"⩚"],[0,"⩛"],[0,"⩜"],[0,"⩝"],[1,"⩟"],[6,"⩦"],[3,"⩪"],[2,{v:"⩭",n:824,o:"⩭̸"}],[0,"⩮"],[0,"⩯"],[0,{v:"⩰",n:824,o:"⩰̸"}],[0,"⩱"],[0,"⩲"],[0,"⩳"],[0,"⩴"],[0,"⩵"],[1,"⩷"],[0,"⩸"],[0,"⩹"],[0,"⩺"],[0,"⩻"],[0,"⩼"],[0,{v:"⩽",n:824,o:"⩽̸"}],[0,{v:"⩾",n:824,o:"⩾̸"}],[0,"⩿"],[0,"⪀"],[0,"⪁"],[0,"⪂"],[0,"⪃"],[0,"⪄"],[0,"⪅"],[0,"⪆"],[0,"⪇"],[0,"⪈"],[0,"⪉"],[0,"⪊"],[0,"⪋"],[0,"⪌"],[0,"⪍"],[0,"⪎"],[0,"⪏"],[0,"⪐"],[0,"⪑"],[0,"⪒"],[0,"⪓"],[0,"⪔"],[0,"⪕"],[0,"⪖"],[0,"⪗"],[0,"⪘"],[0,"⪙"],[0,"⪚"],[2,"⪝"],[0,"⪞"],[0,"⪟"],[0,"⪠"],[0,{v:"⪡",n:824,o:"⪡̸"}],[0,{v:"⪢",n:824,o:"⪢̸"}],[1,"⪤"],[0,"⪥"],[0,"⪦"],[0,"⪧"],[0,"⪨"],[0,"⪩"],[0,"⪪"],[0,"⪫"],[0,{v:"⪬",n:65024,o:"⪬︀"}],[0,{v:"⪭",n:65024,o:"⪭︀"}],[0,"⪮"],[0,{v:"⪯",n:824,o:"⪯̸"}],[0,{v:"⪰",n:824,o:"⪰̸"}],[2,"⪳"],[0,"⪴"],[0,"⪵"],[0,"⪶"],[0,"⪷"],[0,"⪸"],[0,"⪹"],[0,"⪺"],[0,"⪻"],[0,"⪼"],[0,"⪽"],[0,"⪾"],[0,"⪿"],[0,"⫀"],[0,"⫁"],[0,"⫂"],[0,"⫃"],[0,"⫄"],[0,{v:"⫅",n:824,o:"⫅̸"}],[0,{v:"⫆",n:824,o:"⫆̸"}],[0,"⫇"],[0,"⫈"],[2,{v:"⫋",n:65024,o:"⫋︀"}],[0,{v:"⫌",n:65024,o:"⫌︀"}],[2,"⫏"],[0,"⫐"],[0,"⫑"],[0,"⫒"],[0,"⫓"],[0,"⫔"],[0,"⫕"],[0,"⫖"],[0,"⫗"],[0,"⫘"],[0,"⫙"],[0,"⫚"],[0,"⫛"],[8,"⫤"],[1,"⫦"],[0,"⫧"],[0,"⫨"],[0,"⫩"],[1,"⫫"],[0,"⫬"],[0,"⫭"],[0,"⫮"],[0,"⫯"],[0,"⫰"],[0,"⫱"],[0,"⫲"],[0,"⫳"],[9,{v:"⫽",n:8421,o:"⫽⃥"}],[44343,{n:new Map(f([[56476,"𝒜"],[1,"𝒞"],[0,"𝒟"],[2,"𝒢"],[2,"𝒥"],[0,"𝒦"],[2,"𝒩"],[0,"𝒪"],[0,"𝒫"],[0,"𝒬"],[1,"𝒮"],[0,"𝒯"],[0,"𝒰"],[0,"𝒱"],[0,"𝒲"],[0,"𝒳"],[0,"𝒴"],[0,"𝒵"],[0,"𝒶"],[0,"𝒷"],[0,"𝒸"],[0,"𝒹"],[1,"𝒻"],[1,"𝒽"],[0,"𝒾"],[0,"𝒿"],[0,"𝓀"],[0,"𝓁"],[0,"𝓂"],[0,"𝓃"],[1,"𝓅"],[0,"𝓆"],[0,"𝓇"],[0,"𝓈"],[0,"𝓉"],[0,"𝓊"],[0,"𝓋"],[0,"𝓌"],[0,"𝓍"],[0,"𝓎"],[0,"𝓏"],[52,"𝔄"],[0,"𝔅"],[1,"𝔇"],[0,"𝔈"],[0,"𝔉"],[0,"𝔊"],[2,"𝔍"],[0,"𝔎"],[0,"𝔏"],[0,"𝔐"],[0,"𝔑"],[0,"𝔒"],[0,"𝔓"],[0,"𝔔"],[1,"𝔖"],[0,"𝔗"],[0,"𝔘"],[0,"𝔙"],[0,"𝔚"],[0,"𝔛"],[0,"𝔜"],[1,"𝔞"],[0,"𝔟"],[0,"𝔠"],[0,"𝔡"],[0,"𝔢"],[0,"𝔣"],[0,"𝔤"],[0,"𝔥"],[0,"𝔦"],[0,"𝔧"],[0,"𝔨"],[0,"𝔩"],[0,"𝔪"],[0,"𝔫"],[0,"𝔬"],[0,"𝔭"],[0,"𝔮"],[0,"𝔯"],[0,"𝔰"],[0,"𝔱"],[0,"𝔲"],[0,"𝔳"],[0,"𝔴"],[0,"𝔵"],[0,"𝔶"],[0,"𝔷"],[0,"𝔸"],[0,"𝔹"],[1,"𝔻"],[0,"𝔼"],[0,"𝔽"],[0,"𝔾"],[1,"𝕀"],[0,"𝕁"],[0,"𝕂"],[0,"𝕃"],[0,"𝕄"],[1,"𝕆"],[3,"𝕊"],[0,"𝕋"],[0,"𝕌"],[0,"𝕍"],[0,"𝕎"],[0,"𝕏"],[0,"𝕐"],[1,"𝕒"],[0,"𝕓"],[0,"𝕔"],[0,"𝕕"],[0,"𝕖"],[0,"𝕗"],[0,"𝕘"],[0,"𝕙"],[0,"𝕚"],[0,"𝕛"],[0,"𝕜"],[0,"𝕝"],[0,"𝕞"],[0,"𝕟"],[0,"𝕠"],[0,"𝕡"],[0,"𝕢"],[0,"𝕣"],[0,"𝕤"],[0,"𝕥"],[0,"𝕦"],[0,"𝕧"],[0,"𝕨"],[0,"𝕩"],[0,"𝕪"],[0,"𝕫"]]))}],[8906,"ff"],[0,"fi"],[0,"fl"],[0,"ffi"],[0,"ffl"]]))},97799:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.decodeXMLStrict=_.decodeHTML5Strict=_.decodeHTML4Strict=_.decodeHTML5=_.decodeHTML4=_.decodeHTMLAttribute=_.decodeHTMLStrict=_.decodeHTML=_.decodeXML=_.DecodingMode=_.EntityDecoder=_.encodeHTML5=_.encodeHTML4=_.encodeNonAsciiHTML=_.encodeHTML=_.escapeText=_.escapeAttribute=_.escapeUTF8=_.escape=_.encodeXML=_.encode=_.decodeStrict=_.decode=_.EncodingMode=_.EntityLevel=void 0;var a,y,E,c=f(52201),o=f(53825),C=f(31996);function T(y,p){return void 0===p&&(p=a.XML),("number"==typeof p?p:p.level)===a.HTML?(0,c.decodeHTML)(y,"object"==typeof p?p.mode:void 0):(0,c.decodeXML)(y)}(y=a=_.EntityLevel||(_.EntityLevel={}))[y.XML=0]="XML",y[y.HTML=1]="HTML",function(y){y[y.UTF8=0]="UTF8",y[y.ASCII=1]="ASCII",y[y.Extensive=2]="Extensive",y[y.Attribute=3]="Attribute",y[y.Text=4]="Text"}(E=_.EncodingMode||(_.EncodingMode={})),_.decode=T,_.decodeStrict=function s(y,p){var b;void 0===p&&(p=a.XML);var R="number"==typeof p?{level:p}:p;return null!==(b=R.mode)&&void 0!==b||(R.mode=c.DecodingMode.Strict),T(y,R)},_.encode=function h(y,p){void 0===p&&(p=a.XML);var b="number"==typeof p?{level:p}:p;return b.mode===E.UTF8?(0,C.escapeUTF8)(y):b.mode===E.Attribute?(0,C.escapeAttribute)(y):b.mode===E.Text?(0,C.escapeText)(y):b.level===a.HTML?b.mode===E.ASCII?(0,o.encodeNonAsciiHTML)(y):(0,o.encodeHTML)(y):(0,C.encodeXML)(y)};var u=f(31996);Object.defineProperty(_,"encodeXML",{enumerable:!0,get:function(){return u.encodeXML}
vendor: 6,491 bytes, line 1
1}),Object.defineProperty(_,"escape",{enumerable:!0,get:function(){return u.escape}}),Object.defineProperty(_,"escapeUTF8",{enumerable:!0,get:function(){return u.escapeUTF8}}),Object.defineProperty(_,"escapeAttribute",{enumerable:!0,get:function(){return u.escapeAttribute}}),Object.defineProperty(_,"escapeText",{enumerable:!0,get:function(){return u.escapeText}});var v=f(53825);Object.defineProperty(_,"encodeHTML",{enumerable:!0,get:function(){return v.encodeHTML}}),Object.defineProperty(_,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return v.encodeNonAsciiHTML}}),Object.defineProperty(_,"encodeHTML4",{enumerable:!0,get:function(){return v.encodeHTML}}),Object.defineProperty(_,"encodeHTML5",{enumerable:!0,get:function(){return v.encodeHTML}});var g=f(52201);Object.defineProperty(_,"EntityDecoder",{enumerable:!0,get:function(){return g.EntityDecoder}}),Object.defineProperty(_,"DecodingMode",{enumerable:!0,get:function(){return g.DecodingMode}}),Object.defineProperty(_,"decodeXML",{enumerable:!0,get:function(){return g.decodeXML}}),Object.defineProperty(_,"decodeHTML",{enumerable:!0,get:function(){return g.decodeHTML}}),Object.defineProperty(_,"decodeHTMLStrict",{enumerable:!0,get:function(){return g.decodeHTMLStrict}}),Object.defineProperty(_,"decodeHTMLAttribute",{enumerable:!0,get:function(){return g.decodeHTMLAttribute}}),Object.defineProperty(_,"decodeHTML4",{enumerable:!0,get:function(){return g.decodeHTML}}),Object.defineProperty(_,"decodeHTML5",{enumerable:!0,get:function(){return g.decodeHTML}}),Object.defineProperty(_,"decodeHTML4Strict",{enumerable:!0,get:function(){return g.decodeHTMLStrict}}),Object.defineProperty(_,"decodeHTML5Strict",{enumerable:!0,get:function(){return g.decodeHTMLStrict}}),Object.defineProperty(_,"decodeXMLStrict",{enumerable:!0,get:function(){return g.decodeXML}})},44356:ge=>{"use strict";var c,_="object"==typeof Reflect?Reflect:null,f=_&&"function"==typeof _.apply?_.apply:function(K,z,H){return Function.prototype.apply.call(K,z,H)};c=_&&"function"==typeof _.ownKeys?_.ownKeys:Object.getOwnPropertySymbols?function(K){return Object.getOwnPropertyNames(K).concat(Object.getOwnPropertySymbols(K))}:function(K){return Object.getOwnPropertyNames(K)};var C=Number.isNaN||function(K){return K!=K};function a(){a.init.call(this)}ge.exports=a,ge.exports.once=function P(V,K){return new Promise(function(z,H){function x(Z){V.removeListener(K,q),H(Z)}function q(){"function"==typeof V.removeListener&&V.removeListener("error",x),z([].slice.call(arguments))}O(V,K,q,{once:!0}),"error"!==K&&function k(V,K,z){"function"==typeof V.on&&O(V,"error",K,z)}(V,x,{once:!0})})},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var E=10;function T(V){if("function"!=typeof V)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof V)}function s(V){return void 0===V._maxListeners?a.defaultMaxListeners:V._maxListeners}function h(V,K,z,H){var x,q,Z;if(T(z),void 0===(q=V._events)?(q=V._events=Object.create(null),V._eventsCount=0):(void 0!==q.newListener&&(V.emit("newListener",K,z.listener?z.listener:z),q=V._events),Z=q[K]),void 0===Z)Z=q[K]=z,++V._eventsCount;else if("function"==typeof Z?Z=q[K]=H?[z,Z]:[Z,z]:H?Z.unshift(z):Z.push(z),(x=s(V))>0&&Z.length>x&&!Z.warned){Z.warned=!0;var de=new Error("Possible EventEmitter memory leak detected. "+Z.length+" "+String(K)+" listeners added. Use emitter.setMaxListeners() to increase limit");de.name="MaxListenersExceededWarning",de.emitter=V,de.type=K,de.count=Z.length,function o(V){console&&console.warn&&console.warn(V)}(de)}return V}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function v(V,K,z){var H={fired:!1,wrapFn:void 0,target:V,type:K,listener:z},x=u.bind(H);return x.listener=z,H.wrapFn=x,x}function g(V,K,z){var H=V._events;if(void 0===H)return[];var x=H[K];return void 0===x?[]:"function"==typeof x?z?[x.listener||x]:[x]:z?function R(V){for(var K=new Array(V.length),z=0;z<K.length;++z)K[z]=V[z].listener||V[z];return K}(x):p(x,x.length)}function y(V){var K=this._events;if(void 0!==K){var z=K[V];if("function"==typeof z)return 1;if(void 0!==z)return z.length}return 0}function p(V,K){for(var z=new Array(K),H=0;H<K;++H)z[H]=V[H];return z}function O(V,K,z,H){if("function"==typeof V.on)H.once?V.once(K,z):V.on(K,z);else{if("function"!=typeof V.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof V);V.addEventListener(K,function x(q){H.once&&V.removeEventListener(K,x),z(q)})}}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return E},set:function(V){if("number"!=typeof V||V<0||C(V))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+V+".");E=V}}),a.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(K){if("number"!=typeof K||K<0||C(K))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+K+".");return this._maxListeners=K,this},a.prototype.getMaxListeners=function(){return s(this)},a.prototype.emit=function(K){for(var z=[],H=1;H<arguments.length;H++)z.push(arguments[H]);var x="error"===K,q=this._events;if(void 0!==q)x=x&&void 0===q.error;else if(!x)return!1;if(x){var Z;if(z.length>0&&(Z=z[0]),Z instanceof Error)throw Z;var de=new Error("Unhandled error."+(Z?" ("+Z.message+")":""));throw de.context=Z,de}var ee=q[K];if(void 0===ee)return!1;if("function"==typeof ee)f(ee,this,z);else{var Y=ee.length,ae=p(ee,Y);for(H=0;H<Y;++H)f(ae[H],this,z)}return!0},a.prototype.on=a.prototype.addListener=function(K,z){return h(this,K,z,!1)},a.prototype.prependListener=function(K,z){return h(this,K,z,!0)},a.prototype.once=function(K,z){return T(z),this.on(K,v(this,K,z)),this},a.prototype.prependOnceListener=function(K,z){return T(z),this.prependListener(K,v(this,K,z)),this},a.prototype.off=a.prototype.removeListener=function(K,z){var H,x,q,Z,de;if(T(z),void 0===(x=this._events))return this;if(void 0===(H=x[K]))return this;if(H===z||H.listener===z)0==--this._eventsCount?this._events=Object.create(null):(delete x[K],x.removeListener&&this.emit
1("removeListener",K,H.listener||z));else if("function"!=typeof H){for(q=-1,Z=H.length-1;Z>=0;Z--)if(H[Z]===z||H[Z].listener===z){de=H[Z].listener,q=Z;break}if(q<0)return this;0===q?H.shift():function b(V,K){for(;K+1<V.length;K++)V[K]=V[K+1];V.pop()}(H,q),1===H.length&&(x[K]=H[0]),void 0!==x.removeListener&&this.emit("removeListener",K,de||z)}return this},a.prototype.removeAllListeners=function(K){var z,H,x;if(void 0===(H=this._events))return this;if(void 0===H.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==H[K]&&(0==--this._eventsCount?this._events=Object.create(null):delete H[K]),this;if(0===arguments.length){var Z,q=Object.keys(H);for(x=0;x<q.length;++x)"removeListener"!==(Z=q[x])&&this.removeAllListeners(Z);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(z=H[K]))this.removeListener(K,z);else if(void 0!==z)for(x=z.length-1;x>=0;x--)this.removeListener(K,z[x]);return this},a.prototype.listeners=function(K){return g(this,K,!0)},a.prototype.rawListeners=function(K){return g(this,K,!1)},a.listenerCount=function(V,K){return"function"==typeof V.listenerCount?V.listenerCount(K):y.call(V,K)},a.prototype.listenerCount=y,a.prototype.eventNames=function(){return this._eventsCount>0?c(this._events):[]}},8121:function(ge,_,f){"use strict";var c=this&&this.__createBinding||(Object.create?function(k,O,V,K){void 0===K&&(K=V);var z=Object.getOwnPropertyDescriptor(O,V);(!z||("get"in z?!O.__esModule:z.writable||z.configurable))&&(z={enumerable:!0,get:function(){return O[V]}}),Object.defineProperty(k,K,z)}:function(k,O,V,K){void 0===K&&(K=V),k[K]=O[V]}),o=this&&this.__setModuleDefault||(Object.create?function(k,O){Object.defineProperty(k,"default",{enumerable:!0,value:O})}:function(k,O){k.default=O}),C=this&&this.__importStar||function(k){if(k&&k.__esModule)return k;var O={};if(null!=k)for(var V in k)"default"!==V&&Object.prototype.hasOwnProperty.call(k,V)&&c(O,k,V);return o(O,k),O};Object.defineProperty(_,"__esModule",{value:!0}),_.Parser=void 0;var a=C(f(42521)),E=f(52201),T=new Set(["input","option","optgroup","select","button","datalist","textarea"]),s=new Set(["p"]),h=new Set(["thead","tbody"]),u=new Set(["dd","dt"]),v=new Set(["rt","rp"]),g=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",s],["h1",s],["h2",s],["h3",s],["h4",s],["h5",s],["h6",s],["select",T],["input",T],["output",T],["button",T],["datalist",T],["textarea",T],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",u],["dt",u],["address",s],["article",s],["aside",s],["blockquote",s],["details",s],["div",s],["dl",s],["fieldset",s],["figcaption",s],["figure",s],["footer",s],["form",s],["header",s],["hr",s],["main",s],["nav",s],["ol",s],["pre",s],["section",s],["table",s],["ul",s],["rt",v],["rp",v],["tbody",h],["tfoot",h]]),y=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),p=new Set(["math","svg"]),b=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),R=/\s|\//,P=function(){function k(O,V){var K,z,H,x,q;void 0===V&&(V={}),this.options=V,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=O?O:{},this.lowerCaseTagNames=null!==(K=V.lowerCaseTags)&&void 0!==K?K:!V.xmlMode,this.lowerCaseAttributeNames=null!==(z=V.lowerCaseAttributeNames)&&void 0!==z?z:!V.xmlMode,this.tokenizer=new(null!==(H=V.Tokenizer)&&void 0!==H?H:a.default)(this.options,this),null===(q=(x=this.cbs).onparserinit)||void 0===q||q.call(x,this)}return k.prototype.ontext=function(O,V){var K,z,H=this.getSlice(O,V);this.endIndex=V-1,null===(z=(K=this.cbs).ontext)||void 0===z||z.call(K,H),this.startIndex=V},k.prototype.ontextentity=function(O){var V,K,z=this.tokenizer.getSectionStart();this.endIndex=z-1,null===(K=(V=this.cbs).ontext)||void 0===K||K.call(V,(0,E.fromCodePoint)(O)),this.startIndex=z},k.prototype.isVoidElement=function(O){return!this.options.xmlMode&&y.has(O)},k.prototype.onopentagname=function(O,V){this.endIndex=V;var K=this.getSlice(O,V);this.lowerCaseTagNames&&(K=K.toLowerCase()),this.emitOpenTag(K)},k.prototype.emitOpenTag=function(O){var V,K,z,H;this.openTagStart=this.startIndex,this.tagname=O;var x=!this.options.xmlMode&&g.get(O);if(x)for(;this.stack.length>0&&x.has(this.stack[this.stack.length-1]);){var q=this.stack.pop();null===(K=(V=this.cbs).onclosetag)||void 0===K||K.call(V,q,!0)}this.isVoidElement(O)||(this.stack.push(O),p.has(O)?this.foreignContext.push(!0):b.has(O)&&this.foreignContext.push(!1)),null===(H=(z=this.cbs).onopentagname)||void 0===H||H.call(z,O),this.cbs.onopentag&&(this.attribs={})},k.prototype.endOpenTag=function(O){var V,K;this.startIndex=this.openTagStart,this.attribs&&(null===(K=(V=this.cbs).onopentag)||void 0===K||K.call(V,this.tagname,this.attribs,O),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},k.prototype.onopentagend=function(O){this.endIndex=O,this.endOpenTag(!1),this.startIndex=O+1},k.prototype.onclosetag=function(O,V){var K,z,H,x,q,Z;this.endIndex=V;var de=this.getSlice(O,V);if(this.lowerCaseTagNames&&(de=de.toLowerCase()),(p.has(de)||b.has(de))&&this.foreignContext.pop(),this.isVoidElement(de))!this.options.xmlMode&&"br"===de&&(null===(z=(K=this.cbs).onopentagname)||void 0===z||z.call(K,"br"),null===(x=(H=this.cbs).onopentag)||void 0===x||x.call(H,"br",{}
vendor: 4,380 bytes, line 1
1,!0),null===(Z=(q=this.cbs).onclosetag)||void 0===Z||Z.call(q,"br",!1));else{var ee=this.stack.lastIndexOf(de);if(-1!==ee)if(this.cbs.onclosetag)for(var Y=this.stack.length-ee;Y--;)this.cbs.onclosetag(this.stack.pop(),0!==Y);else this.stack.length=ee;else!this.options.xmlMode&&"p"===de&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=V+1},k.prototype.onselfclosingtag=function(O){this.endIndex=O,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=O+1):this.onopentagend(O)},k.prototype.closeCurrentTag=function(O){var V,K,z=this.tagname;this.endOpenTag(O),this.stack[this.stack.length-1]===z&&(null===(K=(V=this.cbs).onclosetag)||void 0===K||K.call(V,z,!O),this.stack.pop())},k.prototype.onattribname=function(O,V){this.startIndex=O;var K=this.getSlice(O,V);this.attribname=this.lowerCaseAttributeNames?K.toLowerCase():K},k.prototype.onattribdata=function(O,V){this.attribvalue+=this.getSlice(O,V)},k.prototype.onattribentity=function(O){this.attribvalue+=(0,E.fromCodePoint)(O)},k.prototype.onattribend=function(O,V){var K,z;this.endIndex=V,null===(z=(K=this.cbs).onattribute)||void 0===z||z.call(K,this.attribname,this.attribvalue,O===a.QuoteType.Double?'"':O===a.QuoteType.Single?"'":O===a.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},k.prototype.getInstructionName=function(O){var V=O.search(R),K=V<0?O:O.substr(0,V);return this.lowerCaseTagNames&&(K=K.toLowerCase()),K},k.prototype.ondeclaration=function(O,V){this.endIndex=V;var K=this.getSlice(O,V);if(this.cbs.onprocessinginstruction){var z=this.getInstructionName(K);this.cbs.onprocessinginstruction("!".concat(z),"!".concat(K))}this.startIndex=V+1},k.prototype.onprocessinginstruction=function(O,V){this.endIndex=V;var K=this.getSlice(O,V);if(this.cbs.onprocessinginstruction){var z=this.getInstructionName(K);this.cbs.onprocessinginstruction("?".concat(z),"?".concat(K))}this.startIndex=V+1},k.prototype.oncomment=function(O,V,K){var z,H,x,q;this.endIndex=V,null===(H=(z=this.cbs).oncomment)||void 0===H||H.call(z,this.getSlice(O,V-K)),null===(q=(x=this.cbs).oncommentend)||void 0===q||q.call(x),this.startIndex=V+1},k.prototype.oncdata=function(O,V,K){var z,H,x,q,Z,de,ee,Y,ae,fe;this.endIndex=V;var ne=this.getSlice(O,V-K);this.options.xmlMode||this.options.recognizeCDATA?(null===(H=(z=this.cbs).oncdatastart)||void 0===H||H.call(z),null===(q=(x=this.cbs).ontext)||void 0===q||q.call(x,ne),null===(de=(Z=this.cbs).oncdataend)||void 0===de||de.call(Z)):(null===(Y=(ee=this.cbs).oncomment)||void 0===Y||Y.call(ee,"[CDATA[".concat(ne,"]]")),null===(fe=(ae=this.cbs).oncommentend)||void 0===fe||fe.call(ae)),this.startIndex=V+1},k.prototype.onend=function(){var O,V;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var K=this.stack.length;K>0;this.cbs.onclosetag(this.stack[--K],!0));}null===(V=(O=this.cbs).onend)||void 0===V||V.call(O)},k.prototype.reset=function(){var O,V,K,z;null===(V=(O=this.cbs).onreset)||void 0===V||V.call(O),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(z=(K=this.cbs).onparserinit)||void 0===z||z.call(K,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},k.prototype.parseComplete=function(O){this.reset(),this.end(O)},k.prototype.getSlice=function(O,V){for(;O-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var K=this.buffers[0].slice(O-this.bufferOffset,V-this.bufferOffset);V-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),K+=this.buffers[0].slice(0,V-this.bufferOffset);return K},k.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},k.prototype.write=function(O){var V,K;this.ended?null===(K=(V=this.cbs).onerror)||void 0===K||K.call(V,new Error(".write() after done!")):(this.buffers.push(O),this.tokenizer.running&&(this.tokenizer.write(O),this.writeIndex++))},k.prototype.end=function(O){var V,K;this.ended?null===(K=(V=this.cbs).onerror)||void 0===K||K.call(V,new Error(".end() after done!")):(O&&this.write(O),this.ended=!0,this.tokenizer.end())},k.prototype.pause=function(){this.tokenizer.pause()}
vendor: 7,119 bytes, line 1
1,k.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},k.prototype.parseChunk=function(O){this.write(O)},k.prototype.done=function(O){this.end(O)},k}();_.Parser=P},42521:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.QuoteType=void 0;var u,y,c=f(52201),o=function(y){return y[y.Tab=9]="Tab",y[y.NewLine=10]="NewLine",y[y.FormFeed=12]="FormFeed",y[y.CarriageReturn=13]="CarriageReturn",y[y.Space=32]="Space",y[y.ExclamationMark=33]="ExclamationMark",y[y.Number=35]="Number",y[y.Amp=38]="Amp",y[y.SingleQuote=39]="SingleQuote",y[y.DoubleQuote=34]="DoubleQuote",y[y.Dash=45]="Dash",y[y.Slash=47]="Slash",y[y.Zero=48]="Zero",y[y.Nine=57]="Nine",y[y.Semi=59]="Semi",y[y.Lt=60]="Lt",y[y.Eq=61]="Eq",y[y.Gt=62]="Gt",y[y.Questionmark=63]="Questionmark",y[y.UpperA=65]="UpperA",y[y.LowerA=97]="LowerA",y[y.UpperF=70]="UpperF",y[y.LowerF=102]="LowerF",y[y.UpperZ=90]="UpperZ",y[y.LowerZ=122]="LowerZ",y[y.LowerX=120]="LowerX",y[y.OpeningSquareBracket=91]="OpeningSquareBracket",y}(o||{}),C=function(y){return y[y.Text=1]="Text",y[y.BeforeTagName=2]="BeforeTagName",y[y.InTagName=3]="InTagName",y[y.InSelfClosingTag=4]="InSelfClosingTag",y[y.BeforeClosingTagName=5]="BeforeClosingTagName",y[y.InClosingTagName=6]="InClosingTagName",y[y.AfterClosingTagName=7]="AfterClosingTagName",y[y.BeforeAttributeName=8]="BeforeAttributeName",y[y.InAttributeName=9]="InAttributeName",y[y.AfterAttributeName=10]="AfterAttributeName",y[y.BeforeAttributeValue=11]="BeforeAttributeValue",y[y.InAttributeValueDq=12]="InAttributeValueDq",y[y.InAttributeValueSq=13]="InAttributeValueSq",y[y.InAttributeValueNq=14]="InAttributeValueNq",y[y.BeforeDeclaration=15]="BeforeDeclaration",y[y.InDeclaration=16]="InDeclaration",y[y.InProcessingInstruction=17]="InProcessingInstruction",y[y.BeforeComment=18]="BeforeComment",y[y.CDATASequence=19]="CDATASequence",y[y.InSpecialComment=20]="InSpecialComment",y[y.InCommentLike=21]="InCommentLike",y[y.BeforeSpecialS=22]="BeforeSpecialS",y[y.SpecialStartSequence=23]="SpecialStartSequence",y[y.InSpecialTag=24]="InSpecialTag",y[y.BeforeEntity=25]="BeforeEntity",y[y.BeforeNumericEntity=26]="BeforeNumericEntity",y[y.InNamedEntity=27]="InNamedEntity",y[y.InNumericEntity=28]="InNumericEntity",y[y.InHexEntity=29]="InHexEntity",y}(C||{});function a(y){return y===o.Space||y===o.NewLine||y===o.Tab||y===o.FormFeed||y===o.CarriageReturn}function E(y){return y===o.Slash||y===o.Gt||a(y)}function T(y){return y>=o.Zero&&y<=o.Nine}(y=u=_.QuoteType||(_.QuoteType={}))[y.NoValue=0]="NoValue",y[y.Unquoted=1]="Unquoted",y[y.Single=2]="Single",y[y.Double=3]="Double";var v={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},g=function(){function y(p,b){var R=p.xmlMode,P=void 0!==R&&R,k=p.decodeEntities,O=void 0===k||k;this.cbs=b,this.state=C.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=C.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=P,this.decodeEntities=O,this.entityTrie=P?c.xmlDecodeTree:c.htmlDecodeTree}return y.prototype.reset=function(){this.state=C.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=C.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},y.prototype.write=function(p){this.offset+=this.buffer.length,this.buffer=p,this.parse()},y.prototype.end=function(){this.running&&this.finish()},y.prototype.pause=function(){this.running=!1},y.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},y.prototype.getIndex=function(){return this.index},y.prototype.getSectionStart=function(){return this.sectionStart},y.prototype.stateText=function(p){p===o.Lt||!this.decodeEntities&&this.fastForwardTo(o.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=C.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&p===o.Amp&&(this.state=C.BeforeEntity)},y.prototype.stateSpecialStartSequence=function(p){var b=this.sequenceIndex===this.currentSequence.length;if(b?E(p):(32|p)===this.currentSequence[this.sequenceIndex]){if(!b)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=C.InTagName,this.stateInTagName(p)},y.prototype.stateInSpecialTag=function(p){if(this.sequenceIndex===this.currentSequence.length){if(p===o.Gt||a(p)){var b=this.index-this.currentSequence.length;if(this.sectionStart<b){var R=this.index;this.index=b,this.cbs.ontext(this.sectionStart,b),this.index=R}return this.isSpecial=!1,this.sectionStart=b+2,void this.stateInClosingTagName(p)}this.sequenceIndex=0}(32|p)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===v.TitleEnd?this.decodeEntities&&p===o.Amp&&(this.state=C.BeforeEntity):this.fastForwardTo(o.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(p===o.Lt)},y.prototype.stateCDATASequence=function(p){p===v.Cdata[this.sequenceIndex]?++this.sequenceIndex===v.Cdata.length&&(this.state=C.InCommentLike,this.currentSequence=v.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=C.InDeclaration,this.stateInDeclaration(p))},y.prototype.fastForwardTo=function(p){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===p)return!0;return this.index=this.buffer.length+this.offset-1,!1},y.prototype.stateInCommentLike=function(p){p===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===v.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=C.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):p!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},y.prototype.isTagStartChar=function(p){return this.xmlMode?!E(p):function s(y){return y>=o.LowerA&&y<=o.LowerZ||y>=o.UpperA&&y<=o.UpperZ}(p)},y.prototype.startSpecial=function(p,b){this.isSpecial=!0,this.currentSequence=p,this.sequenceIndex=b,this.state=C.SpecialStartSequence},y.prototype.stateBeforeTagName=function(p){if(p===o.ExclamationMark)this.state=C.BeforeDeclaration,this.sectionStart=this.index+1;else if(p===o.Questionmark)this.state=C.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(p)){var b=32|p;this.sectionStart=this.index,this.xmlMode||b!==v.TitleEnd[2]?this.state=this.xmlMode||b!==v.ScriptEnd[2]?C.InTagName:C.BeforeSpecialS:this.startSpecial(v.TitleEnd,3)}else p===o.Slash?this.state=C.BeforeClosingTagName:(this.state=C.Text,this.stateText(p))}
vendor: 10,622 bytes, line 1
1,y.prototype.stateInTagName=function(p){E(p)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=C.BeforeAttributeName,this.stateBeforeAttributeName(p))},y.prototype.stateBeforeClosingTagName=function(p){a(p)||(p===o.Gt?this.state=C.Text:(this.state=this.isTagStartChar(p)?C.InClosingTagName:C.InSpecialComment,this.sectionStart=this.index))},y.prototype.stateInClosingTagName=function(p){(p===o.Gt||a(p))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=C.AfterClosingTagName,this.stateAfterClosingTagName(p))},y.prototype.stateAfterClosingTagName=function(p){(p===o.Gt||this.fastForwardTo(o.Gt))&&(this.state=C.Text,this.baseState=C.Text,this.sectionStart=this.index+1)},y.prototype.stateBeforeAttributeName=function(p){p===o.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=C.InSpecialTag,this.sequenceIndex=0):this.state=C.Text,this.baseState=this.state,this.sectionStart=this.index+1):p===o.Slash?this.state=C.InSelfClosingTag:a(p)||(this.state=C.InAttributeName,this.sectionStart=this.index)},y.prototype.stateInSelfClosingTag=function(p){p===o.Gt?(this.cbs.onselfclosingtag(this.index),this.state=C.Text,this.baseState=C.Text,this.sectionStart=this.index+1,this.isSpecial=!1):a(p)||(this.state=C.BeforeAttributeName,this.stateBeforeAttributeName(p))},y.prototype.stateInAttributeName=function(p){(p===o.Eq||E(p))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=C.AfterAttributeName,this.stateAfterAttributeName(p))},y.prototype.stateAfterAttributeName=function(p){p===o.Eq?this.state=C.BeforeAttributeValue:p===o.Slash||p===o.Gt?(this.cbs.onattribend(u.NoValue,this.index),this.state=C.BeforeAttributeName,this.stateBeforeAttributeName(p)):a(p)||(this.cbs.onattribend(u.NoValue,this.index),this.state=C.InAttributeName,this.sectionStart=this.index)},y.prototype.stateBeforeAttributeValue=function(p){p===o.DoubleQuote?(this.state=C.InAttributeValueDq,this.sectionStart=this.index+1):p===o.SingleQuote?(this.state=C.InAttributeValueSq,this.sectionStart=this.index+1):a(p)||(this.sectionStart=this.index,this.state=C.InAttributeValueNq,this.stateInAttributeValueNoQuotes(p))},y.prototype.handleInAttributeValue=function(p,b){p===b||!this.decodeEntities&&this.fastForwardTo(b)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(b===o.DoubleQuote?u.Double:u.Single,this.index),this.state=C.BeforeAttributeName):this.decodeEntities&&p===o.Amp&&(this.baseState=this.state,this.state=C.BeforeEntity)},y.prototype.stateInAttributeValueDoubleQuotes=function(p){this.handleInAttributeValue(p,o.DoubleQuote)},y.prototype.stateInAttributeValueSingleQuotes=function(p){this.handleInAttributeValue(p,o.SingleQuote)},y.prototype.stateInAttributeValueNoQuotes=function(p){a(p)||p===o.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(u.Unquoted,this.index),this.state=C.BeforeAttributeName,this.stateBeforeAttributeName(p)):this.decodeEntities&&p===o.Amp&&(this.baseState=this.state,this.state=C.BeforeEntity)},y.prototype.stateBeforeDeclaration=function(p){p===o.OpeningSquareBracket?(this.state=C.CDATASequence,this.sequenceIndex=0):this.state=p===o.Dash?C.BeforeComment:C.InDeclaration},y.prototype.stateInDeclaration=function(p){(p===o.Gt||this.fastForwardTo(o.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=C.Text,this.sectionStart=this.index+1)},y.prototype.stateInProcessingInstruction=function(p){(p===o.Gt||this.fastForwardTo(o.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=C.Text,this.sectionStart=this.index+1)},y.prototype.stateBeforeComment=function(p){p===o.Dash?(this.state=C.InCommentLike,this.currentSequence=v.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=C.InDeclaration},y.prototype.stateInSpecialComment=function(p){(p===o.Gt||this.fastForwardTo(o.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=C.Text,this.sectionStart=this.index+1)},y.prototype.stateBeforeSpecialS=function(p){var b=32|p;b===v.ScriptEnd[3]?this.startSpecial(v.ScriptEnd,4):b===v.StyleEnd[3]?this.startSpecial(v.StyleEnd,4):(this.state=C.InTagName,this.stateInTagName(p))},y.prototype.stateBeforeEntity=function(p){this.entityExcess=1,this.entityResult=0,p===o.Number?this.state=C.BeforeNumericEntity:p===o.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=C.InNamedEntity,this.stateInNamedEntity(p))},y.prototype.stateInNamedEntity=function(p){if(this.entityExcess+=1,this.trieIndex=(0,c.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,p),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var b=this.trieCurrent&c.BinTrieFlags.VALUE_LENGTH;if(b){var R=(b>>14)-1;if(this.allowLegacyEntity()||p===o.Semi){var P=this.index-this.entityExcess+1;P>this.sectionStart&&this.emitPartial(this.sectionStart,P),this.entityResult=this.trieIndex,this.trieIndex+=R,this.entityExcess=0,this.sectionStart=this.index+1,0===R&&this.emitNamedEntity()}else this.trieIndex+=R}},y.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&c.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~c.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},y.prototype.stateBeforeNumericEntity=function(p){(32|p)===o.LowerX?(this.entityExcess++,this.state=C.InHexEntity):(this.state=C.InNumericEntity,this.stateInNumericEntity(p))},y.prototype.emitNumericEntity=function(p){var b=this.index-this.entityExcess-1;b+2+ +(this.state===C.InHexEntity)!==this.index&&(b>this.sectionStart&&this.emitPartial(this.sectionStart,b),this.sectionStart=this.index+Number(p),this.emitCodePoint((0,c.replaceCodePoint)(this.entityResult))),this.state=this.baseState},y.prototype.stateInNumericEntity=function(p){p===o.Semi?this.emitNumericEntity(!0):T(p)?(this.entityResult=10*this.entityResult+(p-o.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},y.prototype.stateInHexEntity=function(p){p===o.Semi?this.emitNumericEntity(!0):T(p)?(this.entityResult=16*this.entityResult+(p-o.Zero),this.entityExcess++):function h(y){return y>=o.UpperA&&y<=o.UpperF||y>=o.LowerA&&y<=o.LowerF}(p)?(this.entityResult=16*this.entityResult+((32|p)-o.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},y.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===C.Text||this.baseState===C.InSpecialTag)},y.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===C.Text||this.state===C.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===C.InAttributeValueDq||this.state===C.InAttributeValueSq||this.state===C.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},y.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},y.prototype.parse=function(){for(;this.shouldContinue();){var p=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case C.Text:this.stateText(p);break;case C.SpecialStartSequence:this.stateSpecialStartSequence(p);break;case C.InSpecialTag:this.stateInSpecialTag(p);break;case C.CDATASequence:this.stateCDATASequence(p);break;case C.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(p);break;case C.InAttributeName:this.stateInAttributeName(p);break;case C.InCommentLike:this.stateInCommentLike(p);break;case C.InSpecialComment:this.stateInSpecialComment(p);break;case C.BeforeAttributeName:this.stateBeforeAttributeName(p);break;case C.InTagName:this.stateInTagName(p);break;case C.InClosingTagName:this.stateInClosingTagName(p);break;case C.BeforeTagName:this.stateBeforeTagName(p);break;case C.AfterAttributeName:this.stateAfterAttributeName(p);break;case C.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(p);break;case C.BeforeAttributeValue:this.stateBeforeAttributeValue(p);break;case C.BeforeClosingTagName:this.stateBeforeClosingTagName(p);break;case C.AfterClosingTagName:this.stateAfterClosingTagName(p);break;case C.BeforeSpecialS:this.stateBeforeSpecialS(p);break;case C.InAttributeValueNq:this.stateInAttributeValueNoQuotes(p);break;case C.InSelfClosingTag:this.stateInSelfClosingTag(p);break;case C.InDeclaration:this.stateInDeclaration(p);break;case C.BeforeDeclaration:this.stateBeforeDeclaration(p);break;case C.BeforeComment:this.stateBeforeComment(p);break;case C.InProcessingInstruction:this.stateInProcessingInstruction(p);break;case C.InNamedEntity:this.stateInNamedEntity(p);break;case C.BeforeEntity:this.stateBeforeEntity(p);break;case C.InHexEntity:this.stateInHexEntity(p);break;case C.InNumericEntity:this.stateInNumericEntity(p);break;default:this.stateBeforeNumericEntity(p)}this.index++}this.cleanup()},y.prototype.finish=function(){this.state===C.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},y.prototype.handleTrailingData=function(){var p=this.buffer.length+this.offset;this.state===C.InCommentLike?this.currentSequence===v.CdataEnd?this.cbs.oncdata(this.sectionStart,p,0):this.cbs.oncomment(this.sectionStart,p,0):this.state===C.InNumericEntity&&this.allowLegacyEntity()||this.state===C.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===C.InTagName||this.state===C.BeforeAttributeName||this.state===C.BeforeAttributeValue||this.state===C.AfterAttributeName||this.state===C.InAttributeName||this.state===C.InAttributeValueSq||this.state===C.InAttributeValueDq||this.state===C.InAttributeValueNq||this.state===C.InClosingTagName||this.cbs.ontext(this.sectionStart,p)},y.prototype.emitPartial=function(p,b){this.baseState!==C.Text&&this.baseState!==C.InSpecialTag?this.cbs.onattribdata(p,b):this.cbs.ontext(p,b)},y.prototype.emitCodePoint=function(p){this.baseState!==C.Text&&this.baseState!==C.InSpecialTag?this.cbs.onattribentity(p):this.cbs.ontextentity(p)},y}();_.default=g},54588:function(ge,_,f){"use strict";var c=this&&this.__createBinding||(Object.create?function(k,O,V,K){void 0===K&&(K=V);var z=Object.getOwnPropertyDescriptor(O,V);
1(!z||("get"in z?!O.__esModule:z.writable||z.configurable))&&(z={enumerable:!0,get:function(){return O[V]}}),Object.defineProperty(k,K,z)}:function(k,O,V,K){void 0===K&&(K=V),k[K]=O[V]}),o=this&&this.__setModuleDefault||(Object.create?function(k,O){Object.defineProperty(k,"default",{enumerable:!0,value:O})}:function(k,O){k.default=O}),C=this&&this.__importStar||function(k){if(k&&k.__esModule)return k;var O={};if(null!=k)for(var V in k)"default"!==V&&Object.prototype.hasOwnProperty.call(k,V)&&c(O,k,V);return o(O,k),O},a=this&&this.__importDefault||function(k){return k&&k.__esModule?k:{default:k}};Object.defineProperty(_,"__esModule",{value:!0}),_.DomUtils=_.parseFeed=_.getFeed=_.ElementType=_.Tokenizer=_.createDomStream=_.parseDOM=_.parseDocument=_.DefaultHandler=_.DomHandler=_.Parser=void 0;var E=f(8121),T=f(8121);Object.defineProperty(_,"Parser",{enumerable:!0,get:function(){return T.Parser}});var s=f(13268),h=f(13268);function u(k,O){var V=new s.DomHandler(void 0,O);return new E.Parser(V,O).end(k),V.root}function v(k,O){return u(k,O).children}Object.defineProperty(_,"DomHandler",{enumerable:!0,get:function(){return h.DomHandler}}),Object.defineProperty(_,"DefaultHandler",{enumerable:!0,get:function(){return h.DomHandler}}),_.parseDocument=u,_.parseDOM=v,_.createDomStream=function g(k,O,V){var K=new s.DomHandler(k,O,V);return new E.Parser(K,O)};var y=f(42521);Object.defineProperty(_,"Tokenizer",{enumerable:!0,get:function(){return a(y).default}}),_.ElementType=C(f(42704));var p=f(80449),b=f(80449);Object.defineProperty(_,"getFeed",{enumerable:!0,get:function(){return b.getFeed}});var R={xmlMode:!0};_.parseFeed=function P(k,O){return void 0===O&&(O=R),(0,p.getFeed)(v(k,O))},_.DomUtils=C(f(80449))},48501:(ge,_,f)=>{"use strict";function c(g,y){var p;if(typeof Symbol>"u"||null==g[Symbol.iterator]){if(Array.isArray(g)||(p=function o(g,y){if(g){if("string"==typeof g)return C(g,y);var p=Object.prototype.toString.call(g).slice(8,-1);if("Object"===p&&g.constructor&&(p=g.constructor.name),"Map"===p||"Set"===p)return Array.from(g);if("Arguments"===p||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p))return C(g,y)}}(g))||y&&g&&"number"==typeof g.length){p&&(g=p);var b=0,R=function(){};return{s:R,n:function(){return b>=g.length?{done:!0}:{done:!1,value:g[b++]}},e:function(K){throw K},f:R}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var O,P=!0,k=!1;return{s:function(){p=g[Symbol.iterator]()},n:function(){var K=p.next();return P=K.done,K},e:function(K){k=!0,O=K},f:function(){try{!P&&null!=p.return&&p.return()}finally{if(k)throw O}}}}function C(g,y){(null==y||y>g.length)&&(y=g.length);for(var p=0,b=new Array(y);p<y;p++)b[p]=g[p];return b}var a=f(250),E=f(49698),T=f(22446),s=f(56393),h=f(99710),u=f(37453);_.settings={authorization_user:null,password:null,realm:null,ha1:null,authorization_jwt:null,display_name:null,uri:null,contact_uri:null,instance_id:null,use_preloaded_route:!1,session_timers:!0,session_timers_refresh_method:E.UPDATE,session_timers_force_refresher:!1,no_answer_timeout:60,register:!0,register_expires:600,registrar_server:null,sockets:null,connection_recovery_max_interval:E.CONNECTION_RECOVERY_MAX_INTERVAL,connection_recovery_min_interval:E.CONNECTION_RECOVERY_MIN_INTERVAL,extra_headers:null,via_host:"".concat(a.createRandomToken(12),".invalid")};var v={mandatory:{sockets:function(y){var p=[];if(h.isSocket(y))p.push({socket:y});else{if(!Array.isArray(y)||!y.length)return;var R,b=c(y);try{for(b.s();!(R=b.n()).done;){var P=R.value;Object.prototype.hasOwnProperty.call(P,"socket")&&h.isSocket(P.socket)?p.push(P):h.isSocket(P)&&p.push({socket:P})}}catch(k){b.e(k)}finally{b.f()}}return p},uri:function(y){/^sip:/i.test(y)||(y="".concat(E.SIP,":").concat(y));var p=s.parse(y);if(p)return p.user?p:void 0}},optional:{authorization_user:function(y){if(-1!==T.parse('"'.concat(y,'"'),"quoted_string"))return y},authorization_jwt:function(y){if("string"==typeof y)return y},user_agent:function(y){if("string"==typeof y)return y},connection_recovery_max_interval:function(y){if(a.isDecimal(y)){var p=Number(y);if(p>0)return p}},connection_recovery_min_interval:function(y){if(a.isDecimal(y)){var p=Number(y);if(p>0)return p}},contact_uri:function(y){if("string"==typeof y){var p=T.parse(y,"SIP_URI");if(-1!==p)return p}},display_name:function(y){return y},instance_id:function(y){if(/^uuid:/i.test(y)&&(y=y.substr(5)),-1!==T.parse(y,"uuid"))return y},no_answer_timeout:function(y){if(a.isDecimal(y)){var p=Number(y);if(p>0)return p}},session_timers:function(y){if("boolean"==typeof y)return y},session_timers_refresh_method:function(y){if("string"==typeof y&&((y=y.toUpperCase())===E.INVITE||y===E.UPDATE))return y},session_timers_force_refresher:function(y){if("boolean"==typeof y)return y},password:function(y){return String(y)},realm:function(y){return String(y)},ha1:function(y){return String(y)},register:function(y){if("boolean"==typeof y)return y},register_expires:function(y){if(a.isDecimal(y)){var p=Number(y);if(p>0)return p}},registrar_server:function(y){/^sip:/i.test(y)||(y="".concat(E.SIP,":").concat(y));var p=s.parse(y);if(p)return p.user?void 0:p},use_preloaded_route:function(y){if("boolean"==typeof y)return y},extra_headers:function(y){var p=[];if(Array.isArray(y)&&y.length){var R,b=c(y);try{for(b.s();!(R=b.n()).done;){var P=R.value;"string"==typeof P&&p.push(P)}}catch(k){b.e(k)}finally{b.f()}return p}}}};_.load=function(g,y){for(var p in v.mandatory){if(!y.hasOwnProperty(p))throw new u.ConfigurationError(p);var b=y[p],R=v.mandatory[p](b);if(void 0===R)throw new u.ConfigurationError(p,b);g[p]=R}for(var P in v.optional)if(y.hasOwnProperty(P)){var k=y[P];if(a.isEmpty(k))continue;var O=v.optional[P](k);if(void 0===O)throw new u.ConfigurationError(P,k);g[P]=O}}},49698:(ge,_,f)=>{"use strict";var c=f(20633);ge.exports={USER_AGENT:"".concat(c.title," ").concat(c.version),SIP:"sip",SIPS:"sips",causes:{CONNECTION_ERROR:"Connection
1Error",REQUEST_TIMEOUT:"Request Timeout",SIP_FAILURE_CODE:"SIP Failure Code",INTERNAL_ERROR:"Internal Error",BUSY:"Busy",REJECTED:"Rejected",REDIRECTED:"Redirected",UNAVAILABLE:"Unavailable",NOT_FOUND:"Not Found",ADDRESS_INCOMPLETE:"Address Incomplete",INCOMPATIBLE_SDP:"Incompatible SDP",MISSING_SDP:"Missing SDP",AUTHENTICATION_ERROR:"Authentication Error",BYE:"Terminated",WEBRTC_ERROR:"WebRTC Error",CANCELED:"Canceled",NO_ANSWER:"No Answer",EXPIRES:"Expires",NO_ACK:"No ACK",DIALOG_ERROR:"Dialog Error",USER_DENIED_MEDIA_ACCESS:"User Denied Media Access",BAD_MEDIA_DESCRIPTION:"Bad Media Description",RTP_TIMEOUT:"RTP Timeout"},SIP_ERROR_CAUSES:{REDIRECTED:[300,301,302,305,380],BUSY:[486,600],REJECTED:[403,603],NOT_FOUND:[404,604],UNAVAILABLE:[480,410,408,430],ADDRESS_INCOMPLETE:[484,424],INCOMPATIBLE_SDP:[488,606],AUTHENTICATION_ERROR:[401,407]},ACK:"ACK",BYE:"BYE",CANCEL:"CANCEL",INFO:"INFO",INVITE:"INVITE",MESSAGE:"MESSAGE",NOTIFY:"NOTIFY",OPTIONS:"OPTIONS",REGISTER:"REGISTER",REFER:"REFER",UPDATE:"UPDATE",SUBSCRIBE:"SUBSCRIBE",DTMF_TRANSPORT:{INFO:"INFO",RFC2833:"RFC2833"},REASON_PHRASE:{100:"Trying",180:"Ringing",181:"Call Is Being Forwarded",182:"Queued",183:"Session Progress",199:"Early Dialog Terminated",200:"OK",202:"Accepted",204:"No Notification",300:"Multiple Choices",301:"Moved Permanently",302:"Moved Temporarily",305:"Use Proxy",380:"Alternative Service",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",410:"Gone",412:"Conditional Request Failed",413:"Request Entity Too Large",414:"Request-URI Too Long",415:"Unsupported Media Type",416:"Unsupported URI Scheme",417:"Unknown Resource-Priority",420:"Bad Extension",421:"Extension Required",422:"Session Interval Too Small",423:"Interval Too Brief",424:"Bad Location Information",428:"Use Identity Header",429:"Provide Referrer Identity",430:"Flow Failed",433:"Anonymity Disallowed",436:"Bad Identity-Info",437:"Unsupported Certificate",438:"Invalid Identity Header",439:"First Hop Lacks Outbound Support",440:"Max-Breadth Exceeded",469:"Bad Info Package",470:"Consent Needed",478:"Unresolvable Destination",480:"Temporarily Unavailable",481:"Call/Transaction Does Not Exist",482:"Loop Detected",483:"Too Many Hops",484:"Address Incomplete",485:"Ambiguous",486:"Busy Here",487:"Request Terminated",488:"Not Acceptable Here",489:"Bad Event",491:"Request Pending",493:"Undecipherable",494:"Security Agreement Required",500:"JsSIP Internal Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Server Time-out",505:"Version Not Supported",513:"Message Too Large",580:"Precondition Failure",600:"Busy Everywhere",603:"Decline",604:"Does Not Exist Anywhere",606:"Not Acceptable"},ALLOWED_METHODS:"INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO,NOTIFY",ACCEPTED_BODY_TYPES:"application/sdp, application/dtmf-relay",MAX_FORWARDS:69,SESSION_EXPIRES:90,MIN_SESSION_EXPIRES:60,CONNECTION_RECOVERY_MAX_INTERVAL:30,CONNECTION_RECOVERY_MIN_INTERVAL:2}},52027:(ge,_,f)=>{"use strict";function o(y,p){for(var b=0;b<p.length;b++){var R=p[b];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(y,R.key,R)}}function C(y,p,b){return p&&o(y.prototype,p),b&&o(y,b),y}var a=f(83351),E=f(10688),T=f(49698),s=f(72742),h=f(94840),u=f(250),v=new a("Dialog"),g={STATUS_EARLY:1,STATUS_CONFIRMED:2,STATUS_TERMINATED:3};ge.exports=function(){function y(p,b,R){var P=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.STATUS_CONFIRMED;if(function c(y,p){if(!(y instanceof p))throw new TypeError("Cannot call a class as a function")}(this,y),this._owner=p,this._ua=p._ua,this._uac_pending_reply=!1,this._uas_pending_reply=!1,!b.hasHeader("contact"))return{error:"unable to create a Dialog without Contact header field"};b instanceof E.IncomingResponse&&(P=b.status_code<200?g.STATUS_EARLY:g.STATUS_CONFIRMED);var k=b.parseHeader("contact");"UAS"===R?(this._id={call_id:b.call_id,local_tag:b.to_tag,remote_tag:b.from_tag,toString:function(){return this.call_id+this.local_tag+this.remote_tag}},this._state=P,this._remote_seqnum=b.cseq,this._local_uri=b.parseHeader("to").uri,this._remote_uri=b.parseHeader("from").uri,this._remote_target=k.uri,this._route_set=b.getHeaders("record-route"),this._ack_seqnum=this._remote_seqnum):"UAC"===R&&(this._id={call_id:b.call_id,local_tag:b.from_tag,remote_tag:b.to_tag,toString:function(){return this.call_id+this.local_tag+this.remote_tag}},this._state=P,this._local_seqnum=b.cseq,this._local_uri=b.parseHeader("from").uri,this._remote_uri=b.parseHeader("to").uri,this._remote_target=k.uri,this._route_set=b.getHeaders("record-route").reverse(),this._ack_seqnum=null),this._ua.newDialog(this),v.debug("new ".concat(R," dialog created with status ").concat(this._state===g.STATUS_EARLY?"EARLY":"CONFIRMED"))}return C(y,null,[{key:"C",get:function(){return g}}]),C(y,[{key:"isTerminated",value:function(){return this._status===g.STATUS_TERMINATED}},{key:"update",value:function(b,R){this._state=g.STATUS_CONFIRMED,v.debug("dialog ".concat(this._id.toString()," changed to CONFIRMED state")),"UAC"===R&&(this._route_set=b.getHeaders("record-route").reverse())}},{key:"terminate",value:function(){v.debug("dialog ".concat(this._id.toString()," deleted")),this._ua.destroyDialog(this),this._state=g.STATUS_TERMINATED}},{key:"sendRequest",value:function(b){var R=this,P=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},k=u.cloneArray(P.extraHeaders),O=u.cloneObject(P.eventHandlers),K=this._createRequest(b,k,P.body||null);return O.onAuthenticated=function(){R._local_seqnum+=1},new h(this,K,O).send(),K}},{key:"receiveRequest",value:function(b){this._checkInDialogRequest(b)&&(b.method===T.ACK&&null!==this._ack_seqnum?this._ack_seqnum=null:b.method===T.INVITE&&(this._ack_seqnum=b.cseq),this._owner.receiveRequest(b))}},{key:"_createRequest",value:function(b,R,P){R=u.cloneArray(R),this._local_seqnum||(this._local_seqnum=Math.floor(1e4*Math.random()));var k=b===T.CANCEL||b===T.ACK?this._local_seqnum:this._local_seqnum+=1;return new E.OutgoingRequest(b,this._remote_target,this._ua,{cseq:k,call_id:this._id.call_id,from_uri:this._local_uri,from_tag:this._id.local_tag,to_uri:this._remote_uri,to_tag:this._id.remote_tag,route_set:this._route_set},R,P)}},{key:"_checkInDialogRequest",value:function(b){var R=this;if(this._remote_seqnum)if(b.cseq<this._remote_seqnum){if(b.method!==T.ACK)return b.reply(500),!1;if(null===this._ack_seqnum||b.cseq!==this._ack_seqnum)return!1}else b.cseq>this._remote_seqnum&&(this._remote_seqnum=b.cseq);else this._remote_seqnum=b.cseq;if(b.method===T.INVITE||b.method===T.UPDATE&&b.body){if(!0===this._uac_pending_reply)b.reply(491);else{if(!0===this._uas_pending_reply){var P=1+(10*Math.random()|0);return b.reply(500,null,["Retry-After:".concat(P)]),!1}this._uas_pending_reply=!0,b.server_transaction.on("stateChanged",function O(){(b.server_transaction.state===s.C.STATUS_ACCEPTED||b.server_transaction.state===s.C.STATUS_COMPLETED||b.server_transaction.state===s.C.STATUS_TERMINATED)&&(b.server_transaction.removeListener("stateChanged",O),R._uas_pending_reply=!1)})}
vendor: 6,064 bytes, line 1
1b.hasHeader("contact")&&b.server_transaction.on("stateChanged",function(){b.server_transaction.state===s.C.STATUS_ACCEPTED&&(R._remote_target=b.parseHeader("contact").uri)})}else b.method===T.NOTIFY&&b.hasHeader("contact")&&b.server_transaction.on("stateChanged",function(){b.server_transaction.state===s.C.STATUS_COMPLETED&&(R._remote_target=b.parseHeader("contact").uri)});return!0}},{key:"id",get:function(){return this._id}},{key:"local_seqnum",get:function(){return this._local_seqnum},set:function(b){this._local_seqnum=b}},{key:"owner",get:function(){return this._owner}},{key:"uac_pending_reply",get:function(){return this._uac_pending_reply},set:function(b){this._uac_pending_reply=b}},{key:"uas_pending_reply",get:function(){return this._uas_pending_reply}}]),y}()},94840:(ge,_,f)=>{"use strict";function o(h,u){for(var v=0;v<u.length;v++){var g=u[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}var a=f(49698),E=f(72742),T=f(75739),s={onRequestTimeout:function(){},onTransportError:function(){},onSuccessResponse:function(){},onErrorResponse:function(){},onAuthenticated:function(){},onDialogError:function(){}};ge.exports=function(){function h(u,v,g){for(var y in function c(h,u){if(!(h instanceof u))throw new TypeError("Cannot call a class as a function")}(this,h),this._dialog=u,this._ua=u._ua,this._request=v,this._eventHandlers=g,this._reattempt=!1,this._reattemptTimer=null,s)Object.prototype.hasOwnProperty.call(s,y)&&(this._eventHandlers[y]||(this._eventHandlers[y]=s[y]))}return function C(h,u,v){u&&o(h.prototype,u),v&&o(h,v)}(h,[{key:"send",value:function(){var v=this,g=new T(this._ua,this._request,{onRequestTimeout:function(){v._eventHandlers.onRequestTimeout()},onTransportError:function(){v._eventHandlers.onTransportError()},onAuthenticated:function(b){v._eventHandlers.onAuthenticated(b)},onReceiveResponse:function(b){v._receiveResponse(b)}});g.send(),(this._request.method===a.INVITE||this._request.method===a.UPDATE&&this._request.body)&&g.clientTransaction.state!==E.C.STATUS_TERMINATED&&(this._dialog.uac_pending_reply=!0,g.clientTransaction.on("stateChanged",function p(){(g.clientTransaction.state===E.C.STATUS_ACCEPTED||g.clientTransaction.state===E.C.STATUS_COMPLETED||g.clientTransaction.state===E.C.STATUS_TERMINATED)&&(g.clientTransaction.removeListener("stateChanged",p),v._dialog.uac_pending_reply=!1)}))}},{key:"_receiveResponse",value:function(v){var g=this;408===v.status_code||481===v.status_code?this._eventHandlers.onDialogError(v):v.method===a.INVITE&&491===v.status_code?this._reattempt?v.status_code>=200&&v.status_code<300?this._eventHandlers.onSuccessResponse(v):v.status_code>=300&&this._eventHandlers.onErrorResponse(v):(this._request.cseq=this._dialog.local_seqnum+=1,this._reattemptTimer=setTimeout(function(){g._dialog.isTerminated()||(g._reattempt=!0,g.send())},1e3)):v.status_code>=200&&v.status_code<300?this._eventHandlers.onSuccessResponse(v):v.status_code>=300&&this._eventHandlers.onErrorResponse(v)}},{key:"request",get:function(){return this._request}}]),h}()},32223:(ge,_,f)=>{"use strict";function o(s,h){for(var u=0;u<h.length;u++){var v=h[u];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(s,v.key,v)}}var a=f(83351),E=f(250),T=new a("DigestAuthentication");ge.exports=function(){function s(h){(function c(s,h){if(!(s instanceof h))throw new TypeError("Cannot call a class as a function")})(this,s),this._credentials=h,this._cnonce=null,this._nc=0,this._ncHex="00000000",this._algorithm=null,this._realm=null,this._nonce=null,this._opaque=null,this._stale=null,this._qop=null,this._method=null,this._uri=null,this._ha1=null,this._response=null}return function C(s,h,u){h&&o(s.prototype,h),u&&o(s,u)}(s,[{key:"get",value:function(u){switch(u){case"realm":return this._realm;case"ha1":return this._ha1;default:return void T.warn('get() | cannot get "%s" parameter',u)}}},{key:"authenticate",value:function(u,v){var g=u.method,y=u.ruri,p=u.body,b=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(this._algorithm=v.algorithm,this._realm=v.realm,this._nonce=v.nonce,this._opaque=v.opaque,this._stale=v.stale,this._algorithm){if("MD5"!==this._algorithm)return T.warn('authenticate() | challenge with Digest algorithm different than "MD5", authentication aborted'),!1}else this._algorithm="MD5";if(!this._nonce)return T.warn("authenticate() | challenge without Digest nonce, authentication aborted"),!1;if(!this._realm)return T.warn("authenticate() | challenge without Digest realm, authentication aborted"),!1;if(!this._credentials.password){if(!this._credentials.ha1)return T.warn("authenticate() | no plain SIP password nor ha1 provided, authentication aborted"),!1;if(this._credentials.realm!==this._realm)return T.warn('authenticate() | no plain SIP password, and stored `realm` does not match the given `realm`, cannot authenticate [stored:"%s", given:"%s"]',this._credentials.realm,this._realm),!1}if(v.qop)if(v.qop.indexOf("auth-int")>-1)this._qop="auth-int";else{if(!(v.qop.indexOf("auth")>-1))return T.warn('authenticate() | challenge without Digest qop different than "auth" or "auth-int", authentication aborted'),!1;this._qop="auth"}else this._qop=null;this._method=g,this._uri=y,this._cnonce=b||E.createRandomToken(12),this._nc+=1;var P,k,R=Number(this._nc).toString(16);return this._ncHex="00000000".substr(0,8-R.length)+R,4294967296===this._nc&&(this._nc=1,this._ncHex="00000001"),this._ha1=this._credentials.password?E.calculateMD5("".concat(this._credentials.username,":").concat(this._realm,":").concat(this._credentials.password)):this._credentials.ha1,"auth"===this._qop?(P="".concat(this._method,":").concat(this._uri),k=E.calculateMD5(P),T.debug('authenticate() | using qop=auth [a2:"%s"]',P),this._response=E.calculateMD5("".concat(this._ha1,":").concat(this._nonce,":").concat(this._ncHex,":").concat(this._cnonce,":auth:").concat(k))):"auth-int"===this._qop?(P="".concat(this._method,":").concat(this._uri,":").concat(E.calculateMD5(p||"")),
1k=E.calculateMD5(P),T.debug('authenticate() | using qop=auth-int [a2:"%s"]',P),this._response=E.calculateMD5("".concat(this._ha1,":").concat(this._nonce,":").concat(this._ncHex,":").concat(this._cnonce,":auth-int:").concat(k))):null===this._qop&&(P="".concat(this._method,":").concat(this._uri),k=E.calculateMD5(P),T.debug('authenticate() | using qop=null [a2:"%s"]',P),this._response=E.calculateMD5("".concat(this._ha1,":").concat(this._nonce,":").concat(k))),T.debug("authenticate() | response generated"),!0}},{key:"toString",value:function(){var u=[];if(!this._response)throw new Error("response field does not exist, cannot generate Authorization header");return u.push("algorithm=".concat(this._algorithm)),u.push('username="'.concat(this._credentials.username,'"')),u.push('realm="'.concat(this._realm,'"')),u.push('nonce="'.concat(this._nonce,'"')),u.push('uri="'.concat(this._uri,'"')),u.push('response="'.concat(this._response,'"')),this._opaque&&u.push('opaque="'.concat(this._opaque,'"')),this._qop&&(u.push("qop=".concat(this._qop)),u.push('cnonce="'.concat(this._cnonce,'"')),u.push("nc=".concat(this._ncHex))),"Digest ".concat(u.join(", "))}}]),s}()},37453:ge=>{"use strict";function _(R){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(k){return typeof k}:function(k){return k&&"function"==typeof Symbol&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k})(R)}function f(R,P){if(!(R instanceof P))throw new TypeError("Cannot call a class as a function")}function c(R,P){if("function"!=typeof P&&null!==P)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(P&&P.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),P&&u(R,P)}function o(R){var P=s();return function(){var V,O=v(R);if(P){var K=v(this).constructor;V=Reflect.construct(O,arguments,K)}else V=O.apply(this,arguments);return function C(R,P){return!P||"object"!==_(P)&&"function"!=typeof P?function a(R){if(void 0===R)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(R):P}(this,V)}}function E(R){var P="function"==typeof Map?new Map:void 0;return E=function(O){if(null===O||!function h(R){return-1!==Function.toString.call(R).indexOf("[native code]")}(O))return O;if("function"!=typeof O)throw new TypeError("Super expression must either be null or a function");if(typeof P<"u"){if(P.has(O))return P.get(O);P.set(O,V)}function V(){return T(O,arguments,v(this).constructor)}return V.prototype=Object.create(O.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),u(V,O)},E(R)}function T(R,P,k){return(T=s()?Reflect.construct:function(V,K,z){var H=[null];H.push.apply(H,K);var q=new(Function.bind.apply(V,H));return z&&u(q,z.prototype),q}).apply(null,arguments)}function s(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function u(R,P){return(u=Object.setPrototypeOf||function(O,V){return O.__proto__=V,O})(R,P)}function v(R){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(k){return k.__proto__||Object.getPrototypeOf(k)})(R)}var g=function(R){c(k,R);var P=o(k);function k(O,V){var K;return f(this,k),(K=P.call(this)).code=1,K.name="CONFIGURATION_ERROR",K.parameter=O,K.value=V,K.message=K.value?"Invalid value ".concat(JSON.stringify(K.value),' for parameter "').concat(K.parameter,'"'):"Missing parameter: ".concat(K.parameter),K}return k}(E(Error)),y=function(R){c(k,R);var P=o(k);function k(O){var V;return f(this,k),(V=P.call(this)).code=2,V.name="INVALID_STATE_ERROR",V.status=O,V.message="Invalid status: ".concat(O),V}return k}(E(Error)),p=function(R){c(k,R);var P=o(k);function k(O){var V;return f(this,k),(V=P.call(this)).code=3,V.name="NOT_SUPPORTED_ERROR",V.message=O,V}return k}(E(Error)),b=function(R){c(k,R);var P=o(k);function k(O){var V;return f(this,k),(V=P.call(this)).code=4,V.name="NOT_READY_ERROR",V.message=O,V}return k}(E(Error));ge.exports={ConfigurationError:g,InvalidStateError:y,NotSupportedError:p,NotReadyError:b}},22446:(ge,_,f)=>{"use strict";ge.exports=function(){function c(C){return'"'+C.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E-\x1F\x80-\uFFFF]/g,escape)+'"'}var o={parse:function(a,E){var T={CRLF:b,DIGIT:R,ALPHA:P,HEXDIG:k,WSP:O,OCTET:V,DQUOTE:K,SP:z,HTAB:H,alphanum:x,reserved:q,unreserved:Z,mark:de,escaped:ee,LWS:Y,SWS:ae,HCOLON:fe,TEXT_UTF8_TRIM:ne,TEXT_UTF8char:ce,UTF8_NONASCII:me,UTF8_CONT:re,LHEX:function $(){var A;
vendor: 75,442 bytes, line 1
1return null===(A=R())&&(/^[a-f]/.test(a.charAt(s))?(A=a.charAt(s),s++):(A=null,0===h&&p("[a-f]"))),A},token:X,token_nodot:M,separators:function N(){var A;return 40===a.charCodeAt(s)?(A="(",s++):(A=null,0===h&&p('"("')),null===A&&(41===a.charCodeAt(s)?(A=")",s++):(A=null,0===h&&p('")"')),null===A&&(60===a.charCodeAt(s)?(A="<",s++):(A=null,0===h&&p('"<"')),null===A&&(62===a.charCodeAt(s)?(A=">",s++):(A=null,0===h&&p('">"')),null===A&&(64===a.charCodeAt(s)?(A="@",s++):(A=null,0===h&&p('"@"')),null===A&&(44===a.charCodeAt(s)?(A=",",s++):(A=null,0===h&&p('","')),null===A&&(59===a.charCodeAt(s)?(A=";",s++):(A=null,0===h&&p('";"')),null===A&&(58===a.charCodeAt(s)?(A=":",s++):(A=null,0===h&&p('":"')),null===A&&(92===a.charCodeAt(s)?(A="\\",s++):(A=null,0===h&&p('"\\\\"')),null===A&&null===(A=K())&&(47===a.charCodeAt(s)?(A="/",s++):(A=null,0===h&&p('"/"')),null===A&&(91===a.charCodeAt(s)?(A="[",s++):(A=null,0===h&&p('"["')),null===A&&(93===a.charCodeAt(s)?(A="]",s++):(A=null,0===h&&p('"]"')),null===A&&(63===a.charCodeAt(s)?(A="?",s++):(A=null,0===h&&p('"?"')),null===A&&(61===a.charCodeAt(s)?(A="=",s++):(A=null,0===h&&p('"="')),null===A&&(123===a.charCodeAt(s)?(A="{",s++):(A=null,0===h&&p('"{"')),null===A&&(125===a.charCodeAt(s)?(A="}",s++):(A=null,0===h&&p('"}"')),null===A&&null===(A=z())&&(A=H())))))))))))))))),A},word:G,STAR:ue,SLASH:ve,EQUAL:we,LPAREN:Re,RPAREN:et,RAQUOT:at,LAQUOT:Pt,COMMA:At,SEMI:It,COLON:qt,LDQUOT:St,RDQUOT:lt,comment:function yt(){var A,W,oe,be;if(be=s,null!==(A=Re())){for(W=[],null===(oe=Ft())&&null===(oe=Vt())&&(oe=yt());null!==oe;)W.push(oe),null===(oe=Ft())&&null===(oe=Vt())&&(oe=yt());null!==W&&null!==(oe=et())?A=[A,W,oe]:(A=null,s=be)}else A=null,s=be;return A},ctext:Ft,quoted_string:rt,quoted_string_clean:mt,qdtext:Mt,quoted_pair:Vt,SIP_URI_noparams:Lt,SIP_URI:$n,uri_scheme:Tn,uri_scheme_sips:An,uri_scheme_sip:jn,userinfo:or,user:br,user_unreserved:Fr,password:On,hostport:sr,host:ur,hostname:tr,domainlabel:Lr,toplabel:Br,IPv6reference:Gr,IPv6address:qr,h16:_r,ls32:hr,IPv4address:Nr,dec_octet:$r,port:Xr,uri_parameters:Rt,uri_parameter:zt,transport_param:vn,user_param:ln,method_param:Sn,ttl_param:dr,maddr_param:En,lr_param:tn,other_param:bn,pname:Cn,pvalue:Kn,paramchar:Xn,param_unreserved:nr,headers:fn,header:fr,hname:lr,hvalue:ar,hnv_unreserved:ni,Request_Response:function vi(){var A;return null===(A=In())&&(A=no()),A},Request_Line:no,Request_URI:$i,absoluteURI:Xi,hier_part:Di,net_path:lo,abs_path:to,opaque_part:vo,uric:Co,uric_no_slash:mn,path_segments:Jt,segment:kn,param:Ke,pchar:Ze,scheme:Ot,authority:nn,srvr:wt,reg_name:st,query:jt,SIP_Version:xt,INVITEm:hn,ACKm:ft,OPTIONSm:He,BYEm:Pe,CANCELm:Fe,REGISTERm:Oe,SUBSCRIBEm:We,NOTIFYm:_t,REFERm:en,Method:gn,Status_Line:In,Status_Code:Zn,extension_code:Er,Reason_Phrase:Yr,Allow_Events:function oi(){var A,W,oe,be,Ue,Ye;if(Ue=s,null!==(A=Ir())){for(W=[],Ye=s,null!==(oe=At())&&null!==(be=Ir())?oe=[oe,be]:(oe=null,s=Ye);null!==oe;)W.push(oe),Ye=s,null!==(oe=At())&&null!==(be=Ir())?oe=[oe,be]:(oe=null,s=Ye);null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return A},Call_ID:function Ar(){var A,W,oe,be,Ue,Ye;return be=s,Ue=s,null!==(A=G())?(Ye=s,64===a.charCodeAt(s)?(W="@",s++):(W=null,0===h&&p('"@"')),null!==W&&null!==(oe=G())?W=[W,oe]:(W=null,s=Ye),null!==(W=null!==W?W:"")?A=[A,W]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(A=void(Ce=a.substring(s,be))),null===A&&(s=be),A},Contact:function li(){var A,W,oe,be,Ue,Ye,kt;if(Ue=s,null===(A=ue()))if(Ye=s,null!==(A=Ki())){for(W=[],kt=s,null!==(oe=At())&&null!==(be=Ki())?oe=[oe,be]:(oe=null,s=kt);null!==oe;)W.push(oe),kt=s,null!==(oe=At())&&null!==(be=Ki())?oe=[oe,be]:(oe=null,s=kt);null!==W?A=[A,W]:(A=null,s=Ye)}else A=null,s=Ye;return null!==A&&(A=function(on){var xn,pr;for(pr=Ce.multi_header.length,xn=0;xn<pr;xn++)if(null===Ce.multi_header[xn].parsed){Ce=null;break}Ce=null!==Ce?Ce.multi_header:-1}()),null===A&&(s=Ue),A},contact_param:Ki,name_addr:Pi,display_name:io,contact_params:ki,c_p_q:ko,c_p_expires:Eo,delta_seconds:ji,qvalue:bs,generic_param:xo,gen_value:So,Content_Disposition:function $s(){var A,W,oe,be,Ue,Ye;if(Ue=s,null!==(A=qo())){for(W=[],Ye=s,null!==(oe=It())&&null!==(be=cs())?oe=[oe,be]:(oe=null,s=Ye);null!==oe;)W.push(oe),Ye=s,null!==(oe=It())&&null!==(be=cs())?oe=[oe,be]:(oe=null,s=Ye);null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return A},disp_type:qo,disp_param:cs,handling_param:ds,Content_Encoding:function Ne(){var A,W,oe,be,Ue,Ye;if(Ue=s,null!==(A=X())){for(W=[],Ye=s,null!==(oe=At())&&null!==(be=X())?oe=[oe,be]:(oe=null,s=Ye);null!==oe;)W.push(oe),Ye=s,null!==(oe=At())&&null!==(be=X())?oe=[oe,be]:(oe=null,s=Ye);null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return A},Content_Length:function Ge(){var A,W,oe;if(oe=s,null!==(W=R()))for(A=[];null!==W;)A.push(W),W=R();else A=null;return null!==A&&(A=void(Ce=parseInt(A.join("")))),null===A&&(s=oe),A},Content_Type:function Un(){var A,W;return W=s,null!==(A=xe())&&(A=void(Ce=a.substring(s,W))),null===A&&(s=W),A},media_type:xe,m_type:ht,discrete_type:Ut,composite_type:qe,extension_token:rn,x_token:Dn,m_subtype:Bi,m_parameter:vt,m_value:Kt,CSeq:function cn(){var A,W,oe,be;return be=s,null!==(A=Pn())&&null!==(W=Y())&&null!==(oe=gn())?A=[A,W,oe]:(A=null,s=be),A},CSeq_value:Pn,Expires:function Yn(){var A,W;return W=s,null!==(A=ji())&&(A=void(Ce=A)),null===A&&(s=W),A},Event:function Wn(){var A,W,oe,be,Ue,Ye,kt;if(Ue=s,Ye=s,null!==(A=Ir())){for(W=[],kt=s,null!==(oe=It())&&null!==(be=xo())?oe=[oe,be]:(oe=null,s=kt);null!==oe;)W.push(oe),kt=s,null!==(oe=It())&&null!==(be=xo())?oe=[oe,be]:(oe=null,s=kt);null!==W?A=[A,W]:(A=null,s=Ye)}else A=null,s=Ye;return null!==A&&(A=void(Ce.event=A[0].join("").toLowerCase())),null===A&&(s=Ue),A},event_type:Ir,From:function Wr(){var A,W,oe,be,Ue,Ye,kt;if(Ue=s,Ye=s,null===(A=Lt())&&(A=Pi()),null!==A){for(W=[],kt=s,null!==(oe=It())&&null!==(be=Or())?oe=[oe,be]:(oe=null,s=kt);null!==oe;)W.push(oe),kt=s,null!==(oe=It())&&null!==(be=Or())?oe=[oe,be]:(oe=null,s=kt);null!==W?A=[A,W]:(A=null,s=Ye)}else A=null,s=Ye;return null!==A&&(A=function(on){var xn=Ce.tag;try{Ce=new Es(Ce.uri,Ce.display_name,Ce.params),xn&&Ce.setParam("tag",xn)}catch{Ce=-1}}()),null===A&&(s=Ue),A},from_param:Or,tag_param:Hr,Max_Forwards:function ui(){var A,W,oe;if(oe=s,null!==(W=R()))for(A=[];null!==W;)A.push(W),W=R();else A=null;return null!==A&&(A=void(Ce=parseInt(A.join("")))),null===A&&(s=oe),A},Min_Expires:function Ci(){var A,W;return W=s,null!==(A=ji())&&(A=void(Ce=A)),null===A&&(s=W),A},Name_Addr_Header:function pi(){var A,W,oe,be,Ue,Ye,kt,on,xn,pr;for(on=s,xn=s,A=[],W=io();null!==W;)A.push(W),W=io();if(null!==A)if(null!==(W=Pt()))if(null!==(oe=$n()))if(null!==(be=at())){for(Ue=[],pr=s,null!==(Ye=It())&&null!==(kt=xo())?Ye=[Ye,kt]:(Ye=null,s=pr);null!==Ye;)Ue.push(Ye),pr=s,null!==(Ye=It())&&null!==(kt=xo())?Ye=[Ye,kt]:(Ye=null,s=pr);null!==Ue?A=[A,W,oe,be,Ue]:(A=null,s=xn)}else A=null,s=xn;else A=null,s=xn;else A=null,s=xn;else A=null,s=xn;return null!==A&&(A=function(Rr){try{Ce=new Es(Ce.uri,Ce.display_name,Ce.params)}catch{Ce=-1}}()),null===A&&(s=on),A},Proxy_Authenticate:function Fi(){return yo()},challenge:yo,other_challenge:Jo,auth_param:xi,digest_cln:as,realm:Ts,realm_value:As,domain:No,URI:ma,nonce:us,nonce_value:ia,opaque:oa,stale:Uo,algorithm:ua,qop_options:ta,qop_value:wo,Proxy_Require:function Ia(){var A,W,oe,be,Ue,Ye;if(Ue=s,null!==(A=X())){for(W=[],Ye=s,null!==(oe=At())&&null!==(be=X())?oe=[oe,be]:(oe=null,s=Ye);null!==oe;)W.push(oe),Ye=s,null!==(oe=At())&&null!==(be=X())?oe=[oe,be]:(oe=null,s=Ye);null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return A},Record_Route:function Us(){var A,W,oe,be,Ue,Ye,kt;if(Ue=s,Ye=s,null!==(A=Ji())){for(W=[],kt=s,null!==(oe=At())&&null!==(be=Ji())?oe=[oe,be]:(oe=null,s=kt);null!==oe;)W.push(oe),kt=s,null!==(oe=At())&&null!==(be=Ji())?oe=[oe,be]:(oe=null,s=kt);null!==W?A=[A,W]:(A=null,s=Ye)}else A=null,s=Ye;return null!==A&&(A=function(on){var xn,pr;for(pr=Ce.multi_header.length,xn=0;xn<pr;xn++)if(null===Ce.multi_header[xn].parsed){Ce=null;break}Ce=null!==Ce?Ce.multi_header:-1}()),null===A&&(s=Ue),A},rec_route:Ji,Reason:function Pa(){var A,W,oe,be,Ue,Ye,kt;if(Ue=s,Ye=s,"sip"===a.substr(s,3).toLowerCase()?(A=a.substr(s,3),s+=3):(A=null,0===h&&p('"SIP"')),null===A&&(A=X()),null!==A){for(W=[],kt=s,null!==(oe=It())&&null!==(be=el())?oe=[oe,be]:(oe=null,s=kt);null!==oe;)W.push(oe),kt=s,null!==(oe=It())&&null!==(be=el())?oe=[oe,be]:(oe=null,s=kt);null!==W?A=[A,W]:(A=null,s=Ye)}else A=null,s=Ye;return null!==A&&(A=function(on,xn){if(Ce.protocol=xn.toLowerCase(),Ce.params||(Ce.params={}),Ce.params.text&&'"'===Ce.params.text[0]){var pr=Ce.params.text;Ce.text=pr.substring(1,pr.length-1),delete Ce.params.text}}(0,A[0])),null===A&&(s=Ue),A},reason_param:el,reason_cause:Ha,Require:function xa(){var A,W,oe,be,Ue,Ye;if(Ue=s,null!==(A=X())){for(W=[],Ye=s,null!==(oe=At())&&null!==(be=X())?oe=[oe,be]:(oe=null,s=Ye);null!==oe;)W.push(oe),Ye=s,null!==(oe=At())&&null!==(be=X())?oe=[oe,be]:(oe=null,s=Ye);null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return A},Route:function ya(){var A,W,oe,be,Ue,Ye;if(Ue=s,null!==(A=sa())){for(W=[],Ye=s,null!==(oe=At())&&null!==(be=sa())?oe=[oe,be]:(oe=null,s=Ye);null!==oe;)W.push(oe),Ye=s,null!==(oe=At())&&null!==(be=sa())?oe=[oe,be]:(oe=null,s=Ye);null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return A},route_param:sa,Subscription_State:function Ls(){var A,W,oe,be,Ue,Ye;if(Ue=s,null!==(A=aa())){for(W=[],Ye=s,null!==(oe=It())&&null!==(be=qa())?oe=[oe,be]:(oe=null,s=Ye);null!==oe;)W.push(oe),Ye=s,null!==(oe=It())&&null!==(be=qa())?oe=[oe,be]:(oe=null,s=Ye);null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return A},substate_value:aa,subexp_params:qa,event_reason_value:Ct,Subject:function ot(){var A;return null!==(A=ne())?A:""},Supported:function Zt(){var A,W,oe,be,Ue,Ye;if(Ue=s,null!==(A=X())){for(W=[],Ye=s,null!==(oe=At())&&null!==(be=X())?oe=[oe,be]:(oe=null,s=Ye);null!==oe;)W.push(oe),Ye=s,null!==(oe=At())&&null!==(be=X())?oe=[oe,be]:(oe=null,s=Ye);null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return null!==A?A:""},To:function bt(){var A,W,oe,be,Ue,Ye,kt;if(Ue=s,Ye=s,null===(A=Lt())&&(A=Pi()),null!==A){for(W=[],kt=s,null!==(oe=It())&&null!==(be=sn())?oe=[oe,be]:(oe=null,s=kt);null!==oe;)W.push(oe),kt=s,null!==(oe=It())&&null!==(be=sn())?oe=[oe,be]:(oe=null,s=kt);null!==W?A=[A,W]:(A=null,s=Ye)}else A=null,s=Ye;return null!==A&&(A=function(on){var xn=Ce.tag;try{Ce=new Es(Ce.uri,Ce.display_name,Ce.params),xn&&Ce.setParam("tag",xn)}catch{Ce=-1}}()),null===A&&(s=Ue),A},to_param:sn,Via:function ai(){var A,W,oe,be,Ue,Ye;if(Ue=s,null!==(A=wi())){for(W=[],Ye=s,null!==(oe=At())&&null!==(be=wi())?oe=[oe,be]:(oe=null,s=Ye);null!==oe;)W.push(oe),Ye=s,null!==(oe=At())&&null!==(be=wi())?oe=[oe,be]:(oe=null,s=Ye);null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return A},via_param:wi,via_params:Ns,via_ttl:ca,via_maddr:Xo,via_received:ga,via_branch:Js,response_port:Ps,rport:Xa,sent_protocol:Zo,protocol_name:fl,transport:hl,sent_by:Rl,via_host:tl,via_port:Ma,ttl:Va,WWW_Authenticate:function zl(){return yo()},Session_Expires:function kl(){var A,W,oe,be,Ue,Ye;if(Ue=s,null!==(A=nl())){for(W=[],Ye=s,null!==(oe=It())&&null!==(be=Zs())?oe=[oe,be]:(oe=null,s=Ye);null!==oe;)W.push(oe),Ye=s,null!==(oe=It())&&null!==(be=Zs())?oe=[oe,be]:(oe=null,s=Ye);null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return A},s_e_expires:nl,s_e_params:Zs,s_e_refresher:_a,extension_header:function Ga(){var A,W,oe,be;return be=s,null!==(A=X())&&null!==(W=fe())&&null!==(oe=_o())?A=[A,W,oe]:(A=null,s=be),A},header_value:_o,message_body:function fs(){var A,W;for(A=[],W=V();null!==W;)A.push(W),W=V();return A},uuid_URI:function is(){var A,W,oe;return oe=s,"uuid:"===a.substr(s,5)?(A="uuid:",s+=5):(A=null,0===h&&p('"uuid:"')),null!==A&&null!==(W=hs())?A=[A,W]:(A=null,s=oe),A},uuid:hs,hex4:Go,hex8:Ml,hex12:Yo,Refer_To:function ba(){var A,W,oe,be,Ue,Ye,kt;if(Ue=s,Ye=s,null===(A=Lt())&&(A=Pi()),null!==A){for(W=[],kt=s,null!==(oe=It())&&null!==(be=xo())?oe=[oe,be]:(oe=null,s=kt);null!==oe;)W.push(oe),kt=s,null!==(oe=It())&&null!==(be=xo())?oe=[oe,be]:(oe=null,s=kt);null!==W?A=[A,W]:(A=null,s=Ye)}else A=null,s=Ye;return null!==A&&(A=function(on){try{Ce=new Es(Ce.uri,Ce.display_name,Ce.params)}catch{Ce=-1}}()),null===A&&(s=Ue),A},Replaces:function Ea(){var A,W,oe,be,Ue,Ye;if(Ue=s,null!==(A=$l())){for(W=[],Ye=s,null!==(oe=It())&&null!==(be=La())?oe=[oe,be]:(oe=null,s=Ye);null!==oe;)W.push(oe),Ye=s,null!==(oe=It())&&null!==(be=La())?oe=[oe,be]:(oe=null,s=Ye);null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return A},call_id:$l,replaces_param:La,to_tag:Nn,from_tag:xr,early_flag:kr};if(void 0!==E){if(void 0===T[E])throw new Error("Invalid rule name: "+c(E)+".")}else E="CRLF";var s=0,h=0,u=0,v=[];function p(A){s<u||(s>u&&(u=s,v=[]),v.push(A))}function b(){var A;return"\r\n"===a.substr(s,2)?(A="\r\n",s+=2):(A=null,0===h&&p('"\\r\\n"')),A}function R(){var A;return/^[0-9]/.test(a.charAt(s))?(A=a.charAt(s),s++):(A=null,0===h&&p("[0-9]")),A}function P(){var A;return/^[a-zA-Z]/.test(a.charAt(s))?(A=a.charAt(s),s++):(A=null,0===h&&p("[a-zA-Z]")),A}function k(){var A;return/^[0-9a-fA-F]/.test(a.charAt(s))?(A=a.charAt(s),s++):(A=null,0===h&&p("[0-9a-fA-F]")),A}function O(){var A;return null===(A=z())&&(A=H()),A}function V(){var A;return/^[\0-\xFF]/.test(a.charAt(s))?(A=a.charAt(s),s++):(A=null,0===h&&p("[\\0-\\xFF]")),A}function K(){var A;return/^["]/.test(a.charAt(s))?(A=a.charAt(s),s++):(A=null,0===h&&p('["]')),A}function z(){var A;return 32===a.charCodeAt(s)?(A=" ",s++):(A=null,0===h&&p('" "')),A}function H(){var A;return 9===a.charCodeAt(s)?(A="\t",s++):(A=null,0===h&&p('"\\t"')),A}function x(){var A;return/^[a-zA-Z0-9]/.test(a.charAt(s))?(A=a.charAt(s),s++):(A=null,0===h&&p("[a-zA-Z0-9]")),A}function q(){var A;return 59===a.charCodeAt(s)?(A=";",s++):(A=null,0===h&&p('";"')),null===A&&(47===a.charCodeAt(s)?(A="/",s++):(A=null,0===h&&p('"/"')),null===A&&(63===a.charCodeAt(s)?(A="?",s++):(A=null,0===h&&p('"?"')),null===A&&(58===a.charCodeAt(s)?(A=":",s++):(A=null,0===h&&p('":"')),null===A&&(64===a.charCodeAt(s)?(A="@",s++):(A=null,0===h&&p('"@"')),null===A&&(38===a.charCodeAt(s)?(A="&",s++):(A=null,0===h&&p('"&"')),null===A&&(61===a.charCodeAt(s)?(A="=",s++):(A=null,0===h&&p('"="')),null===A&&(43===a.charCodeAt(s)?(A="+",s++):(A=null,0===h&&p('"+"')),null===A&&(36===a.charCodeAt(s)?(A="$",s++):(A=null,0===h&&p('"$"')),null===A&&(44===a.charCodeAt(s)?(A=",",s++):(A=null,0===h&&p('","'))))))))))),A}function Z(){var A;return null===(A=x())&&(A=de()),A}function de(){var A;return 45===a.charCodeAt(s)?(A="-",s++):(A=null,0===h&&p('"-"')),null===A&&(95===a.charCodeAt(s)?(A="_",s++):(A=null,0===h&&p('"_"')),null===A&&(46===a.charCodeAt(s)?(A=".",s++):(A=null,0===h&&p('"."')),null===A&&(33===a.charCodeAt(s)?(A="!",s++):(A=null,0===h&&p('"!"')),null===A&&(126===a.charCodeAt(s)?(A="~",s++):(A=null,0===h&&p('"~"')),null===A&&(42===a.charCodeAt(s)?(A="*",s++):(A=null,0===h&&p('"*"')),null===A&&(39===a.charCodeAt(s)?(A="'",s++):(A=null,0===h&&p('"\'"')),null===A&&(40===a.charCodeAt(s)?(A="(",s++):(A=null,0===h&&p('"("')),null===A&&(41===a.charCodeAt(s)?(A=")",s++):(A=null,0===h&&p('")"')))))))))),A}function ee(){var A,W,oe,be,Ue;return be=s,Ue=s,37===a.charCodeAt(s)?(A="%",s++):(A=null,0===h&&p('"%"')),null!==A&&null!==(W=k())&&null!==(oe=k())?A=[A,W,oe]:(A=null,s=Ue),null!==A&&(A=A.join("")),null===A&&(s=be),A}function Y(){var A,W,oe,be,Ue,Ye;for(be=s,Ue=s,Ye=s,A=[],W=O();null!==W;)A.push(W),W=O();if(null!==A&&null!==(W=b())?A=[A,W]:(A=null,s=Ye),null!==(A=null!==A?A:"")){if(null!==(oe=O()))for(W=[];null!==oe;)W.push(oe),oe=O();else W=null;null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return null!==A&&(A=function(kt){return" "}()),null===A&&(s=be),A}function ae(){var A;return null!==(A=Y())?A:""}function fe(){var A,W,oe,be,Ue;for(be=s,Ue=s,A=[],null===(W=z())&&(W=H());null!==W;)A.push(W),null===(W=z())&&(W=H());return null!==A?(58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null!==W&&null!==(oe=ae())?A=[A,W,oe]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(A=function(Ye){return":"}()),null===A&&(s=be),A}function ne(){var A,W,oe,be,Ue,Ye,kt;if(Ue=s,Ye=s,null!==(W=ce()))for(A=[];null!==W;)A.push(W),W=ce();else A=null;if(null!==A){for(W=[],kt=s,oe=[],be=Y();null!==be;)oe.push(be),be=Y();for(null!==oe&&null!==(be=ce())?oe=[oe,be]:(oe=null,s=kt);null!==oe;){for(W.push(oe),kt=s,oe=[],be=Y();null!==be;)oe.push(be),be=Y();null!==oe&&null!==(be=ce())?oe=[oe,be]:(oe=null,s=kt)}null!==W?A=[A,W]:(A=null,s=Ye)}else A=null,s=Ye;return null!==A&&(A=a.substring(s,Ue)),null===A&&(s=Ue),A}function ce(){var A;return/^[!-~]/.test(a.charAt(s))?(A=a.charAt(s),s++):(A=null,0===h&&p("[!-~]")),null===A&&(A=me()),A}function me(){var A;return/^[\x80-\uFFFF]/.test(a.charAt(s))?(A=a.charAt(s),s++):(A=null,0===h&&p("[\\x80-\\uFFFF]")),A}function re(){var A;return/^[\x80-\xBF]/.test(a.charAt(s))?(A=a.charAt(s),s++):(A=null,0===h&&p("[\\x80-\\xBF]")),A}function X(){var A,W,oe;if(oe=s,null===(W=x())&&(45===a.charCodeAt(s)?(W="-",s++):(W=null,0===h&&p('"-"')),null===W&&(46===a.charCodeAt(s)?(W=".",s++):(W=null,0===h&&p('"."')),null===W&&(33===a.charCodeAt(s)?(W="!",s++):(W=null,0===h&&p('"!"')),null===W&&(37===a.charCodeAt(s)?(W="%",s++):(W=null,0===h&&p('"%"')),null===W&&(42===a.charCodeAt(s)?(W="*",s++):(W=null,0===h&&p('"*"')),null===W&&(95===a.charCodeAt(s)?(W="_",s++):(W=null,0===h&&p('"_"')),null===W&&(43===a.charCodeAt(s)?(W="+",s++):(W=null,0===h&&p('"+"')),null===W&&(96===a.charCodeAt(s)?(W="`",s++):(W=null,0===h&&p('"`"')),null===W&&(39===a.charCodeAt(s)?(W="'",s++):(W=null,0===h&&p('"\'"')),null===W&&(126===a.charCodeAt(s)?(W="~",s++):(W=null,0===h&&p('"~"')))))))))))),null!==W)for(A=[];null!==W;)A.push(W),null===(W=x())&&(45===a.charCodeAt(s)?(W="-",s++):(W=null,0===h&&p('"-"')),null===W&&(46===a.charCodeAt(s)?(W=".",s++):(W=null,0===h&&p('"."')),null===W&&(33===a.charCodeAt(s)?(W="!",s++):(W=null,0===h&&p('"!"')),null===W&&(37===a.charCodeAt(s)?(W="%",s++):(W=null,0===h&&p('"%"')),null===W&&(42===a.charCodeAt(s)?(W="*",s++):(W=null,0===h&&p('"*"')),null===W&&(95===a.charCodeAt(s)?(W="_",s++):(W=null,0===h&&p('"_"')),null===W&&(43===a.charCodeAt(s)?(W="+",s++):(W=null,0===h&&p('"+"')),null===W&&(96===a.charCodeAt(s)?(W="`",s++):(W=null,0===h&&p('"`"')),null===W&&(39===a.charCodeAt(s)?(W="'",s++):(W=null,0===h&&p('"\'"')),null===W&&(126===a.charCodeAt(s)?(W="~",s++):(W=null,0===h&&p('"~"'))))))))))));else A=null;return null!==A&&(A=a.substring(s,oe)),null===A&&(s=oe),A}function M(){var A,W,oe;if(oe=s,null===(W=x())&&(45===a.charCodeAt(s)?(W="-",s++):(W=null,0===h&&p('"-"')),null===W&&(33===a.charCodeAt(s)?(W="!",s++):(W=null,0===h&&p('"!"')),null===W&&(37===a.charCodeAt(s)?(W="%",s++):(W=null,0===h&&p('"%"')),null===W&&(42===a.charCodeAt(s)?(W="*",s++):(W=null,0===h&&p('"*"')),null===W&&(95===a.charCodeAt(s)?(W="_",s++):(W=null,0===h&&p('"_"')),null===W&&(43===a.charCodeAt(s)?(W="+",s++):(W=null,0===h&&p('"+"')),null===W&&(96===a.charCodeAt(s)?(W="`",s++):(W=null,0===h&&p('"`"')),null===W&&(39===a.charCodeAt(s)?(W="'",s++):(W=null,0===h&&p('"\'"')),null===W&&(126===a.charCodeAt(s)?(W="~",s++):(W=null,0===h&&p('"~"'))))))))))),null!==W)for(A=[];null!==W;)A.push(W),null===(W=x())&&(45===a.charCodeAt(s)?(W="-",s++):(W=null,0===h&&p('"-"')),null===W&&(33===a.charCodeAt(s)?(W="!",s++):(W=null,0===h&&p('"!"')),null===W&&(37===a.charCodeAt(s)?(W="%",s++):(W=null,0===h&&p('"%"')),null===W&&(42===a.charCodeAt(s)?(W="*",s++):(W=null,0===h&&p('"*"')),null===W&&(95===a.charCodeAt(s)?(W="_",s++):(W=null,0===h&&p('"_"')),null===W&&(43===a.charCodeAt(s)?(W="+",s++):(W=null,0===h&&p('"+"')),null===W&&(96===a.charCodeAt(s)?(W="`",s++):(W=null,0===h&&p('"`"')),null===W&&(39===a.charCodeAt(s)?(W="'",s++):(W=null,0===h&&p('"\'"')),null===W&&(126===a.charCodeAt(s)?(W="~",s++):(W=null,0===h&&p('"~"')))))))))));else A=null;return null!==A&&(A=a.substring(s,oe)),null===A&&(s=oe),A}function G(){var A,W,oe;if(oe=s,null===(W=x())&&(45===a.charCodeAt(s)?(W="-",s++):(W=null,0===h&&p('"-"')),null===W&&(46===a.charCodeAt(s)?(W=".",s++):(W=null,0===h&&p('"."')),null===W&&(33===a.charCodeAt(s)?(W="!",s++):(W=null,0===h&&p('"!"')),null===W&&(37===a.charCodeAt(s)?(W="%",s++):(W=null,0===h&&p('"%"')),null===W&&(42===a.charCodeAt(s)?(W="*",s++):(W=null,0===h&&p('"*"')),null===W&&(95===a.charCodeAt(s)?(W="_",s++):(W=null,0===h&&p('"_"')),null===W&&(43===a.charCodeAt(s)?(W="+",s++):(W=null,0===h&&p('"+"')),null===W&&(96===a.charCodeAt(s)?(W="`",s++):(W=null,0===h&&p('"`"')),null===W&&(39===a.charCodeAt(s)?(W="'",s++):(W=null,0===h&&p('"\'"')),null===W&&(126===a.charCodeAt(s)?(W="~",s++):(W=null,0===h&&p('"~"')),null===W&&(40===a.charCodeAt(s)?(W="(",s++):(W=null,0===h&&p('"("')),null===W&&(41===a.charCodeAt(s)?(W=")",s++):(W=null,0===h&&p('")"')),null===W&&(60===a.charCodeAt(s)?(W="<",s++):(W=null,0===h&&p('"<"')),null===W&&(62===a.charCodeAt(s)?(W=">",s++):(W=null,0===h&&p('">"')),null===W&&(58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null===W&&(92===a.charCodeAt(s)?(W="\\",s++):(W=null,0===h&&p('"\\\\"')),null===W&&null===(W=K())&&(47===a.charCodeAt(s)?(W="/",s++):(W=null,0===h&&p('"/"')),null===W&&(91===a.charCodeAt(s)?(W="[",s++):(W=null,0===h&&p('"["')),null===W&&(93===a.charCodeAt(s)?(W="]",s++):(W=null,0===h&&p('"]"')),null===W&&(63===a.charCodeAt(s)?(W="?",s++):(W=null,0===h&&p('"?"')),null===W&&(123===a.charCodeAt(s)?(W="{",s++):(W=null,0===h&&p('"{"')),null===W&&(125===a.charCodeAt(s)?(W="}",s++):(W=null,0===h&&p('"}"')))))))))))))))))))))))),null!==W)for(A=[];null!==W;)A.push(W),null===(W=x())&&(45===a.charCodeAt(s)?(W="-",s++):(W=null,0===h&&p('"-"')),null===W&&(46===a.charCodeAt(s)?(W=".",s++):(W=null,0===h&&p('"."')),null===W&&(33===a.charCodeAt(s)?(W="!",s++):(W=null,0===h&&p('"!"')),null===W&&(37===a.charCodeAt(s)?(W="%",s++):(W=null,0===h&&p('"%"')),null===W&&(42===a.charCodeAt(s)?(W="*",s++):(W=null,0===h&&p('"*"')),null===W&&(95===a.charCodeAt(s)?(W="_",s++):(W=null,0===h&&p('"_"')),null===W&&(43===a.charCodeAt(s)?(W="+",s++):(W=null,0===h&&p('"+"')),null===W&&(96===a.charCodeAt(s)?(W="`",s++):(W=null,0===h&&p('"`"')),null===W&&(39===a.charCodeAt(s)?(W="'",s++):(W=null,0===h&&p('"\'"')),null===W&&(126===a.charCodeAt(s)?(W="~",s++):(W=null,0===h&&p('"~"')),null===W&&(40===a.charCodeAt(s)?(W="(",s++):(W=null,0===h&&p('"("')),null===W&&(41===a.charCodeAt(s)?(W=")",s++):(W=null,0===h&&p('")"')),null===W&&(60===a.charCodeAt(s)?(W="<",s++):(W=null,0===h&&p('"<"')),null===W&&(62===a.charCodeAt(s)?(W=">",s++):(W=null,0===h&&p('">"')),null===W&&(58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null===W&&(92===a.charCodeAt(s)?(W="\\",s++):(W=null,0===h&&p('"\\\\"')),null===W&&null===(W=K())&&(47===a.charCodeAt(s)?(W="/",s++):(W=null,0===h&&p('"/"')),null===W&&(91===a.charCodeAt(s)?(W="[",s++):(W=null,0===h&&p('"["')),null===W&&(93===a.charCodeAt(s)?(W="]",s++):(W=null,0===h&&p('"]"')),null===W&&(63===a.charCodeAt(s)?(W="?",s++):(W=null,0===h&&p('"?"')),null===W&&(123===a.charCodeAt(s)?(W="{",s++):(W=null,0===h&&p('"{"')),null===W&&(125===a.charCodeAt(s)?(W="}",s++):(W=null,0===h&&p('"}"'))))))))))))))))))))))));else A=null;return null!==A&&(A=a.substring(s,oe)),null===A&&(s=oe),A}function ue(){var A,W,oe,be,Ue;return be=s,Ue=s,null!==(A=ae())?(42===a.charCodeAt(s)?(W="*",s++):(W=null,0===h&&p('"*"')),null!==W&&null!==(oe=ae())?A=[A,W,oe]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(A=function(Ye){return"*"}()),null===A&&(s=be),A}function ve(){var A,W,oe,be,Ue;return be=s,Ue=s,null!==(A=ae())?(47===a.charCodeAt(s)?(W="/",s++):(W=null,0===h&&p('"/"')),null!==W&&null!==(oe=ae())?A=[A,W,oe]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(A=function(Ye){return"/"}()),null===A&&(s=be),A}function we(){var A,W,oe,be,Ue;return be=s,Ue=s,null!==(A=ae())?(61===a.charCodeAt(s)?(W="=",s++):(W=null,0===h&&p('"="')),null!==W&&null!==(oe=ae())?A=[A,W,oe]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(A=function(Ye){return"="}()),null===A&&(s=be),A}function Re(){var A,W,oe,be,Ue;return be=s,Ue=s,null!==(A=ae())?(40===a.charCodeAt(s)?(W="(",s++):(W=null,0===h&&p('"("')),null!==W&&null!==(oe=ae())?A=[A,W,oe]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(A=function(Ye){return"("}()),null===A&&(s=be),A}function et(){var A,W,oe,be,Ue;return be=s,Ue=s,null!==(A=ae())?(41===a.charCodeAt(s)?(W=")",s++):(W=null,0===h&&p('")"')),null!==W&&null!==(oe=ae())?A=[A,W,oe]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(A=function(Ye){return")"}()),null===A&&(s=be),A}function at(){var A,W,oe,be;return oe=s,be=s,62===a.charCodeAt(s)?(A=">",s++):(A=null,0===h&&p('">"')),null!==A&&null!==(W=ae())?A=[A,W]:(A=null,s=be),null!==A&&(A=function(Ue){return">"}()),null===A&&(s=oe),A}function Pt(){var A,W,oe,be;return oe=s,be=s,null!==(A=ae())?(60===a.charCodeAt(s)?(W="<",s++):(W=null,0===h&&p('"<"')),null!==W?A=[A,W]:(A=null,s=be)):(A=null,s=be),null!==A&&(A=function(Ue){return"<"}()),null===A&&(s=oe),A}function At(){var A,W,oe,be,Ue;return be=s,Ue=s,null!==(A=ae())?(44===a.charCodeAt(s)?(W=",",s++):(W=null,0===h&&p('","')),null!==W&&null!==(oe=ae())?A=[A,W,oe]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(A=function(Ye){return","}()),null===A&&(s=be),A}function It(){var A,W,oe,be,Ue;return be=s,Ue=s,null!==(A=ae())?(59===a.charCodeAt(s)?(W=";",s++):(W=null,0===h&&p('";"')),null!==W&&null!==(oe=ae())?A=[A,W,oe]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(A=function(Ye){return";"}()),null===A&&(s=be),A}function qt(){var A,W,oe,be,Ue;return be=s,Ue=s,null!==(A=ae())?(58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null!==W&&null!==(oe=ae())?A=[A,W,oe]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(A=function(Ye){return":"}()),null===A&&(s=be),A}function St(){var A,W,oe,be;return oe=s,be=s,null!==(A=ae())&&null!==(W=K())?A=[A,W]:(A=null,s=be),null!==A&&(A=function(Ue){return'"'}()),null===A&&(s=oe),A}function lt(){var A,W,oe,be;return oe=s,be=s,null!==(A=K())&&null!==(W=ae())?A=[A,W]:(A=null,s=be),null!==A&&(A=function(Ue){return'"'}()),null===A&&(s=oe),A}function Ft(){var A;return/^[!-']/.test(a.charAt(s))?(A=a.charAt(s),s++):(A=null,0===h&&p("[!-']")),null===A&&(/^[*-[]/.test(a.charAt(s))?(A=a.charAt(s),s++):(A=null,0===h&&p("[*-[]")),null===A&&(/^[\]-~]/.test(a.charAt(s))?(A=a.charAt(s),s++):(A=null,0===h&&p("[\\]-~]")),null===A&&null===(A=me())&&(A=Y()))),A}function rt(){var A,W,oe,be,Ue,Ye;if(Ue=s,Ye=s,null!==(A=ae()))if(null!==(W=K())){for(oe=[],null===(be=Mt())&&(be=Vt());null!==be;)oe.push(be),null===(be=Mt())&&(be=Vt());null!==oe&&null!==(be=K())?A=[A,W,oe,be]:(A=null,s=Ye)}else A=null,s=Ye;else A=null,s=Ye;return null!==A&&(A=a.substring(s,Ue)),null===A&&(s=Ue),A}function mt(){var A,W,oe,be,Ue,Ye,on;if(Ue=s,Ye=s,null!==(A=ae()))if(null!==(W=K())){for(oe=[],null===(be=Mt())&&(be=Vt());null!==be;)oe.push(be),null===(be=Mt())&&(be=Vt());null!==oe&&null!==(be=K())?A=[A,W,oe,be]:(A=null,s=Ye)}else A=null,s=Ye;else A=null,s=Ye;return null!==A&&(A=(on=a.substring(s,Ue).trim()).substring(1,on.length-1).replace(/\\([\x00-\x09\x0b-\x0c\x0e-\x7f])/g,"$1")),null===A&&(s=Ue),A}function Mt(){var A;return null===(A=Y())&&(33===a.charCodeAt(s)?(A="!",s++):(A=null,0===h&&p('"!"')),null===A&&(/^[#-[]/.test(a.charAt(s))?(A=a.charAt(s),s++):(A=null,0===h&&p("[#-[]")),null===A&&(/^[\]-~]/.test(a.charAt(s))?(A=a.charAt(s),s++):(A=null,0===h&&p("[\\]-~]")),null===A&&(A=me())))),A}function Vt(){var A,W,oe;return oe=s,92===a.charCodeAt(s)?(A="\\",s++):(A=null,0===h&&p('"\\\\"')),null!==A?(/^[\0-\t]/.test(a.charAt(s))?(W=a.charAt(s),s++):(W=null,0===h&&p("[\\0-\\t]")),null===W&&(/^[\x0B-\f]/.test(a.charAt(s))?(W=a.charAt(s),s++):(W=null,0===h&&p("[\\x0B-\\f]")),null===W&&(/^[\x0E-\x7f]/.test(a.charAt(s))?(W=a.charAt(s),s++):(W=null,0===h&&p("[\\x0E-\x7f]")))),null!==W?A=[A,W]:(A=null,s=oe)):(A=null,s=oe),A}function Lt(){var A,W,oe,be,Ue,Ye;return Ue=s,Ye=s,null!==(A=Tn())?(58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null!==W&&null!==(oe=null!==(oe=or())?oe:"")&&null!==(be=sr())?A=[A,W,oe,be]:(A=null,s=Ye)):(A=null,s=Ye),null!==A&&(A=function(kt){try{Ce.uri=new zo(Ce.scheme,Ce.user,Ce.host,Ce.port),delete Ce.scheme,delete Ce.user,delete Ce.host,delete Ce.host_type,delete Ce.port}catch{Ce=-1}}()),null===A&&(s=Ue),A}function $n(){var A,W,oe,be,Ue,Ye,kt,on;return kt=s,on=s,null!==(A=Tn())?(58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null!==W&&null!==(oe=null!==(oe=or())?oe:"")&&null!==(be=sr())&&null!==(Ue=Rt())&&null!==(Ye=null!==(Ye=fn())?Ye:"")?A=[A,W,oe,be,Ue,Ye]:(A=null,s=on)):(A=null,s=on),null!==A&&(A=function(xn){try{Ce.uri=new zo(Ce.scheme,Ce.user,Ce.host,Ce.port,Ce.uri_params,Ce.uri_headers),delete Ce.scheme,delete Ce.user,delete Ce.host,delete Ce.host_type,delete Ce.port,delete Ce.uri_params,"SIP_URI"===E&&(Ce=Ce.uri)}catch{Ce=-1}}()),null===A&&(s=kt),A}function Tn(){var A;return null===(A=An())&&(A=jn()),A}function An(){var A,W;return W=s,"sips"===a.substr(s,4).toLowerCase()?(A=a.substr(s,4),s+=4):(A=null,0===h&&p('"sips"')),null!==A&&(A=void(Ce.scheme=A.toLowerCase())),null===A&&(s=W),A}function jn(){var A,W;return W=s,"sip"===a.substr(s,3).toLowerCase()?(A=a.substr(s,3),s+=3):(A=null,0===h&&p('"sip"')),null!==A&&(A=void(Ce.scheme=A.toLowerCase())),null===A&&(s=W),A}function or(){var A,W,oe,be,Ue,Ye;return be=s,Ue=s,null!==(A=br())?(Ye=s,58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null!==W&&null!==(oe=On())?W=[W,oe]:(W=null,s=Ye),null!==(W=null!==W?W:"")?(64===a.charCodeAt(s)?(oe="@",s++):(oe=null,0===h&&p('"@"')),null!==oe?A=[A,W,oe]:(A=null,s=Ue)):(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(A=void(Ce.user=decodeURIComponent(a.substring(s-1,be)))),null===A&&(s=be),A}function br(){var A,W;if(null===(W=Z())&&null===(W=ee())&&(W=Fr()),null!==W)for(A=[];null!==W;)A.push(W),null===(W=Z())&&null===(W=ee())&&(W=Fr());else A=null;return A}function Fr(){var A;return 38===a.charCodeAt(s)?(A="&",s++):(A=null,0===h&&p('"&"')),null===A&&(61===a.charCodeAt(s)?(A="=",s++):(A=null,0===h&&p('"="')),null===A&&(43===a.charCodeAt(s)?(A="+",s++):(A=null,0===h&&p('"+"')),null===A&&(36===a.charCodeAt(s)?(A="$",s++):(A=null,0===h&&p('"$"')),null===A&&(44===a.charCodeAt(s)?(A=",",s++):(A=null,0===h&&p('","')),null===A&&(59===a.charCodeAt(s)?(A=";",s++):(A=null,0===h&&p('";"')),null===A&&(63===a.charCodeAt(s)?(A="?",s++):(A=null,0===h&&p('"?"')),null===A&&(47===a.charCodeAt(s)?(A="/",s++):(A=null,0===h&&p('"/"'))))))))),A}function On(){var A,W,oe;for(oe=s,A=[],null===(W=Z())&&null===(W=ee())&&(38===a.charCodeAt(s)?(W="&",s++):(W=null,0===h&&p('"&"')),null===W&&(61===a.charCodeAt(s)?(W="=",s++):(W=null,0===h&&p('"="')),null===W&&(43===a.charCodeAt(s)?(W="+",s++):(W=null,0===h&&p('"+"')),null===W&&(36===a.charCodeAt(s)?(W="$",s++):(W=null,0===h&&p('"$"')),null===W&&(44===a.charCodeAt(s)?(W=",",s++):(W=null,0===h&&p('","')))))));null!==W;)A.push(W),null===(W=Z())&&null===(W=ee())&&(38===a.charCodeAt(s)?(W="&",s++):(W=null,0===h&&p('"&"')),null===W&&(61===a.charCodeAt(s)?(W="=",s++):(W=null,0===h&&p('"="')),null===W&&(43===a.charCodeAt(s)?(W="+",s++):(W=null,0===h&&p('"+"')),null===W&&(36===a.charCodeAt(s)?(W="$",s++):(W=null,0===h&&p('"$"')),null===W&&(44===a.charCodeAt(s)?(W=",",s++):(W=null,0===h&&p('","')))))));return null!==A&&(A=void(Ce.password=a.substring(s,oe))),null===A&&(s=oe),A}function sr(){var A,W,oe,be,Ue;return be=s,null!==(A=ur())?(Ue=s,58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null!==W&&null!==(oe=Xr())?W=[W,oe]:(W=null,s=Ue),null!==(W=null!==W?W:"")?A=[A,W]:(A=null,s=be)):(A=null,s=be),A}function ur(){var A,W;return W=s,null===(A=tr())&&null===(A=Nr())&&(A=Gr()),null!==A&&(Ce.host=a.substring(s,W).toLowerCase(),A=Ce.host),null===A&&(s=W),A}function tr(){var A,W,oe,be,Ue,Ye,kt;for(be=s,Ue=s,A=[],Ye=s,null!==(W=Lr())?(46===a.charCodeAt(s)?(oe=".",s++):(oe=null,0===h&&p('"."')),null!==oe?W=[W,oe]:(W=null,s=Ye)):(W=null,s=Ye);null!==W;)A.push(W),Ye=s,null!==(W=Lr())?(46===a.charCodeAt(s)?(oe=".",s++):(oe=null,0===h&&p('"."')),null!==oe?W=[W,oe]:(W=null,s=Ye)):(W=null,s=Ye);return null!==A&&null!==(W=Br())?(46===a.charCodeAt(s)?(oe=".",s++):(oe=null,0===h&&p('"."')),null!==(oe=null!==oe?oe:"")?A=[A,W,oe]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(kt=be,Ce.host_type="domain",A=a.substring(s,kt)),null===A&&(s=be),A}function Lr(){var A,W,oe,be;if(be=s,null!==(A=x())){for(W=[],null===(oe=x())&&(45===a.charCodeAt(s)?(oe="-",s++):(oe=null,0===h&&p('"-"')),null===oe&&(95===a.charCodeAt(s)?(oe="_",s++):(oe=null,0===h&&p('"_"'))));null!==oe;)W.push(oe),null===(oe=x())&&(45===a.charCodeAt(s)?(oe="-",s++):(oe=null,0===h&&p('"-"')),null===oe&&(95===a.charCodeAt(s)?(oe="_",s++):(oe=null,0===h&&p('"_"'))));null!==W?A=[A,W]:(A=null,s=be)}else A=null,s=be;return A}function Br(){var A,W,oe,be;if(be=s,null!==(A=P())){for(W=[],null===(oe=x())&&(45===a.charCodeAt(s)?(oe="-",s++):(oe=null,0===h&&p('"-"')),null===oe&&(95===a.charCodeAt(s)?(oe="_",s++):(oe=null,0===h&&p('"_"'))));null!==oe;)W.push(oe),null===(oe=x())&&(45===a.charCodeAt(s)?(oe="-",s++):(oe=null,0===h&&p('"-"')),null===oe&&(95===a.charCodeAt(s)?(oe="_",s++):(oe=null,0===h&&p('"_"'))));null!==W?A=[A,W]:(A=null,s=be)}else A=null,s=be;return A}function Gr(){var A,W,oe,be,Ue,Ye;return be=s,Ue=s,91===a.charCodeAt(s)?(A="[",s++):(A=null,0===h&&p('"["')),null!==A&&null!==(W=qr())?(93===a.charCodeAt(s)?(oe="]",s++):(oe=null,0===h&&p('"]"')),null!==oe?A=[A,W,oe]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(Ye=be,Ce.host_type="IPv6",A=a.substring(s,Ye)),null===A&&(s=be),A}function qr(){var A,W,oe,be,Ue,Ye,kt,on,xn,pr,Rr,Kr,Pr,jr,qn,Mr,mi;return jr=s,qn=s,null!==(A=_r())?(58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null!==W&&null!==(oe=_r())?(58===a.charCodeAt(s)?(be=":",s++):(be=null,0===h&&p('":"')),null!==be&&null!==(Ue=_r())?(58===a.charCodeAt(s)?(Ye=":",s++):(Ye=null,0===h&&p('":"')),null!==Ye&&null!==(kt=_r())?(58===a.charCodeAt(s)?(on=":",s++):(on=null,0===h&&p('":"')),null!==on&&null!==(xn=_r())?(58===a.charCodeAt(s)?(pr=":",s++):(pr=null,0===h&&p('":"')),null!==pr&&null!==(Rr=_r())?(58===a.charCodeAt(s)?(Kr=":",s++):(Kr=null,0===h&&p('":"')),null!==Kr&&null!==(Pr=hr())?A=[A,W,oe,be,Ue,Ye,kt,on,xn,pr,Rr,Kr,Pr]:(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn),null===A&&(qn=s,"::"===a.substr(s,2)?(A="::",s+=2):(A=null,0===h&&p('"::"')),null!==A&&null!==(W=_r())?(58===a.charCodeAt(s)?(oe=":",s++):(oe=null,0===h&&p('":"')),null!==oe&&null!==(be=_r())?(58===a.charCodeAt(s)?(Ue=":",s++):(Ue=null,0===h&&p('":"')),null!==Ue&&null!==(Ye=_r())?(58===a.charCodeAt(s)?(kt=":",s++):(kt=null,0===h&&p('":"')),null!==kt&&null!==(on=_r())?(58===a.charCodeAt(s)?(xn=":",s++):(xn=null,0===h&&p('":"')),null!==xn&&null!==(pr=_r())?(58===a.charCodeAt(s)?(Rr=":",s++):(Rr=null,0===h&&p('":"')),null!==Rr&&null!==(Kr=hr())?A=[A,W,oe,be,Ue,Ye,kt,on,xn,pr,Rr,Kr]:(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn),null===A&&(qn=s,"::"===a.substr(s,2)?(A="::",s+=2):(A=null,0===h&&p('"::"')),null!==A&&null!==(W=_r())?(58===a.charCodeAt(s)?(oe=":",s++):(oe=null,0===h&&p('":"')),null!==oe&&null!==(be=_r())?(58===a.charCodeAt(s)?(Ue=":",s++):(Ue=null,0===h&&p('":"')),null!==Ue&&null!==(Ye=_r())?(58===a.charCodeAt(s)?(kt=":",s++):(kt=null,0===h&&p('":"')),null!==kt&&null!==(on=_r())?(58===a.charCodeAt(s)?(xn=":",s++):(xn=null,0===h&&p('":"')),null!==xn&&null!==(pr=hr())?A=[A,W,oe,be,Ue,Ye,kt,on,xn,pr]:(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn),null===A&&(qn=s,"::"===a.substr(s,2)?(A="::",s+=2):(A=null,0===h&&p('"::"')),null!==A&&null!==(W=_r())?(58===a.charCodeAt(s)?(oe=":",s++):(oe=null,0===h&&p('":"')),null!==oe&&null!==(be=_r())?(58===a.charCodeAt(s)?(Ue=":",s++):(Ue=null,0===h&&p('":"')),null!==Ue&&null!==(Ye=_r())?(58===a.charCodeAt(s)?(kt=":",s++):(kt=null,0===h&&p('":"')),null!==kt&&null!==(on=hr())?A=[A,W,oe,be,Ue,Ye,kt,on]:(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn),null===A&&(qn=s,"::"===a.substr(s,2)?(A="::",s+=2):(A=null,0===h&&p('"::"')),null!==A&&null!==(W=_r())?(58===a.charCodeAt(s)?(oe=":",s++):(oe=null,0===h&&p('":"')),null!==oe&&null!==(be=_r())?(58===a.charCodeAt(s)?(Ue=":",s++):(Ue=null,0===h&&p('":"')),null!==Ue&&null!==(Ye=hr())?A=[A,W,oe,be,Ue,Ye]:(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn),null===A&&(qn=s,"::"===a.substr(s,2)?(A="::",s+=2):(A=null,0===h&&p('"::"')),null!==A&&null!==(W=_r())?(58===a.charCodeAt(s)?(oe=":",s++):(oe=null,0===h&&p('":"')),null!==oe&&null!==(be=hr())?A=[A,W,oe,be]:(A=null,s=qn)):(A=null,s=qn),null===A&&(qn=s,"::"===a.substr(s,2)?(A="::",s+=2):(A=null,0===h&&p('"::"')),null!==A&&null!==(W=hr())?A=[A,W]:(A=null,s=qn),null===A&&(qn=s,"::"===a.substr(s,2)?(A="::",s+=2):(A=null,0===h&&p('"::"')),null!==A&&null!==(W=_r())?A=[A,W]:(A=null,s=qn),null===A&&(qn=s,null!==(A=_r())?("::"===a.substr(s,2)?(W="::",s+=2):(W=null,0===h&&p('"::"')),null!==W&&null!==(oe=_r())?(58===a.charCodeAt(s)?(be=":",s++):(be=null,0===h&&p('":"')),null!==be&&null!==(Ue=_r())?(58===a.charCodeAt(s)?(Ye=":",s++):(Ye=null,0===h&&p('":"')),null!==Ye&&null!==(kt=_r())?(58===a.charCodeAt(s)?(on=":",s++):(on=null,0===h&&p('":"')),null!==on&&null!==(xn=_r())?(58===a.charCodeAt(s)?(pr=":",s++):(pr=null,0===h&&p('":"')),null!==pr&&null!==(Rr=hr())?A=[A,W,oe,be,Ue,Ye,kt,on,xn,pr,Rr]:(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn),null===A&&(qn=s,null!==(A=_r())?(Mr=s,58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null!==W&&null!==(oe=_r())?W=[W,oe]:(W=null,s=Mr),null!==(W=null!==W?W:"")?("::"===a.substr(s,2)?(oe="::",s+=2):(oe=null,0===h&&p('"::"')),null!==oe&&null!==(be=_r())?(58===a.charCodeAt(s)?(Ue=":",s++):(Ue=null,0===h&&p('":"')),null!==Ue&&null!==(Ye=_r())?(58===a.charCodeAt(s)?(kt=":",s++):(kt=null,0===h&&p('":"')),null!==kt&&null!==(on=_r())?(58===a.charCodeAt(s)?(xn=":",s++):(xn=null,0===h&&p('":"')),null!==xn&&null!==(pr=hr())?A=[A,W,oe,be,Ue,Ye,kt,on,xn,pr]:(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn),null===A&&(qn=s,null!==(A=_r())?(Mr=s,58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null!==W&&null!==(oe=_r())?W=[W,oe]:(W=null,s=Mr),null!==(W=null!==W?W:"")?(Mr=s,58===a.charCodeAt(s)?(oe=":",s++):(oe=null,0===h&&p('":"')),null!==oe&&null!==(be=_r())?oe=[oe,be]:(oe=null,s=Mr),null!==(oe=null!==oe?oe:"")?("::"===a.substr(s,2)?(be="::",s+=2):(be=null,0===h&&p('"::"')),null!==be&&null!==(Ue=_r())?(58===a.charCodeAt(s)?(Ye=":",s++):(Ye=null,0===h&&p('":"')),null!==Ye&&null!==(kt=_r())?(58===a.charCodeAt(s)?(on=":",s++):(on=null,0===h&&p('":"')),null!==on&&null!==(xn=hr())?A=[A,W,oe,be,Ue,Ye,kt,on,xn]:(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn),null===A&&(qn=s,null!==(A=_r())?(Mr=s,58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null!==W&&null!==(oe=_r())?W=[W,oe]:(W=null,s=Mr),null!==(W=null!==W?W:"")?(Mr=s,58===a.charCodeAt(s)?(oe=":",s++):(oe=null,0===h&&p('":"')),null!==oe&&null!==(be=_r())?oe=[oe,be]:(oe=null,s=Mr),null!==(oe=null!==oe?oe:"")?(Mr=s,58===a.charCodeAt(s)?(be=":",s++):(be=null,0===h&&p('":"')),null!==be&&null!==(Ue=_r())?be=[be,Ue]:(be=null,s=Mr),null!==(be=null!==be?be:"")?("::"===a.substr(s,2)?(Ue="::",s+=2):(Ue=null,0===h&&p('"::"')),null!==Ue&&null!==(Ye=_r())?(58===a.charCodeAt(s)?(kt=":",s++):(kt=null,0===h&&p('":"')),null!==kt&&null!==(on=hr())?A=[A,W,oe,be,Ue,Ye,kt,on]:(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn),null===A&&(qn=s,null!==(A=_r())?(Mr=s,58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null!==W&&null!==(oe=_r())?W=[W,oe]:(W=null,s=Mr),null!==(W=null!==W?W:"")?(Mr=s,58===a.charCodeAt(s)?(oe=":",s++):(oe=null,0===h&&p('":"')),null!==oe&&null!==(be=_r())?oe=[oe,be]:(oe=null,s=Mr),null!==(oe=null!==oe?oe:"")?(Mr=s,58===a.charCodeAt(s)?(be=":",s++):(be=null,0===h&&p('":"')),null!==be&&null!==(Ue=_r())?be=[be,Ue]:(be=null,s=Mr),null!==(be=null!==be?be:"")?(Mr=s,58===a.charCodeAt(s)?(Ue=":",s++):(Ue=null,0===h&&p('":"')),null!==Ue&&null!==(Ye=_r())?Ue=[Ue,Ye]:(Ue=null,s=Mr),null!==(Ue=null!==Ue?Ue:"")?("::"===a.substr(s,2)?(Ye="::",s+=2):(Ye=null,0===h&&p('"::"')),null!==Ye&&null!==(kt=hr())?A=[A,W,oe,be,Ue,Ye,kt]:(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn),null===A&&(qn=s,null!==(A=_r())?(Mr=s,58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null!==W&&null!==(oe=_r())?W=[W,oe]:(W=null,s=Mr),null!==(W=null!==W?W:"")?(Mr=s,58===a.charCodeAt(s)?(oe=":",s++):(oe=null,0===h&&p('":"')),null!==oe&&null!==(be=_r())?oe=[oe,be]:(oe=null,s=Mr),null!==(oe=null!==oe?oe:"")?(Mr=s,58===a.charCodeAt(s)?(be=":",s++):(be=null,0===h&&p('":"')),null!==be&&null!==(Ue=_r())?be=[be,Ue]:(be=null,s=Mr),null!==(be=null!==be?be:"")?(Mr=s,58===a.charCodeAt(s)?(Ue=":",s++):(Ue=null,0===h&&p('":"')),null!==Ue&&null!==(Ye=_r())?Ue=[Ue,Ye]:(Ue=null,s=Mr),null!==(Ue=null!==Ue?Ue:"")?(Mr=s,58===a.charCodeAt(s)?(Ye=":",s++):(Ye=null,0===h&&p('":"')),null!==Ye&&null!==(kt=_r())?Ye=[Ye,kt]:(Ye=null,s=Mr),null!==(Ye=null!==Ye?Ye:"")?("::"===a.substr(s,2)?(kt="::",s+=2):(kt=null,0===h&&p('"::"')),null!==kt&&null!==(on=_r())?A=[A,W,oe,be,Ue,Ye,kt,on]:(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn),null===A&&(qn=s,null!==(A=_r())?(Mr=s,58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null!==W&&null!==(oe=_r())?W=[W,oe]:(W=null,s=Mr),null!==(W=null!==W?W:"")?(Mr=s,58===a.charCodeAt(s)?(oe=":",s++):(oe=null,0===h&&p('":"')),null!==oe&&null!==(be=_r())?oe=[oe,be]:(oe=null,s=Mr),null!==(oe=null!==oe?oe:"")?(Mr=s,58===a.charCodeAt(s)?(be=":",s++):(be=null,0===h&&p('":"')),null!==be&&null!==(Ue=_r())?be=[be,Ue]:(be=null,s=Mr),null!==(be=null!==be?be:"")?(Mr=s,58===a.charCodeAt(s)?(Ue=":",s++):(Ue=null,0===h&&p('":"')),null!==Ue&&null!==(Ye=_r())?Ue=[Ue,Ye]:(Ue=null,s=Mr),null!==(Ue=null!==Ue?Ue:"")?(Mr=s,58===a.charCodeAt(s)?(Ye=":",s++):(Ye=null,0===h&&p('":"')),null!==Ye&&null!==(kt=_r())?Ye=[Ye,kt]:(Ye=null,s=Mr),null!==(Ye=null!==Ye?Ye:"")?(Mr=s,58===a.charCodeAt(s)?(kt=":",s++):(kt=null,0===h&&p('":"')),null!==kt&&null!==(on=_r())?kt=[kt,on]:(kt=null,s=Mr),null!==(kt=null!==kt?kt:"")?("::"===a.substr(s,2)?(on="::",s+=2):(on=null,0===h&&p('"::"')),null!==on?A=[A,W,oe,be,Ue,Ye,kt,on]:(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn)):(A=null,s=qn))))))))))))))),null!==A&&(mi=jr,Ce.host_type="IPv6",A=a.substring(s,mi)),null===A&&(s=jr),A}function _r(){var A,W,oe,be,Ue;return Ue=s,null!==(A=k())&&null!==(W=null!==(W=k())?W:"")&&null!==(oe=null!==(oe=k())?oe:"")&&null!==(be=null!==(be=k())?be:"")?A=[A,W,oe,be]:(A=null,s=Ue),A}function hr(){var A,W,oe,be;return be=s,null!==(A=_r())?(58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null!==W&&null!==(oe=_r())?A=[A,W,oe]:(A=null,s=be)):(A=null,s=be),null===A&&(A=Nr()),A}function Nr(){var A,W,oe,be,Ue,Ye,kt,on,xn,pr;return on=s,xn=s,null!==(A=$r())?(46===a.charCodeAt(s)?(W=".",s++):(W=null,0===h&&p('"."')),null!==W&&null!==(oe=$r())?(46===a.charCodeAt(s)?(be=".",s++):(be=null,0===h&&p('"."')),null!==be&&null!==(Ue=$r())?(46===a.charCodeAt(s)?(Ye=".",s++):(Ye=null,0===h&&p('"."')),null!==Ye&&null!==(kt=$r())?A=[A,W,oe,be,Ue,Ye,kt]:(A=null,s=xn)):(A=null,s=xn)):(A=null,s=xn)):(A=null,s=xn),null!==A&&(pr=on,Ce.host_type="IPv4",A=a.substring(s,pr)),null===A&&(s=on),A}function $r(){var A,W,oe,be;return be=s,"25"===a.substr(s,2)?(A="25",s+=2):(A=null,0===h&&p('"25"')),null!==A?(/^[0-5]/.test(a.charAt(s))?(W=a.charAt(s),s++):(W=null,0===h&&p("[0-5]")),null!==W?A=[A,W]:(A=null,s=be)):(A=null,s=be),null===A&&(be=s,50===a.charCodeAt(s)?(A="2",s++):(A=null,0===h&&p('"2"')),null!==A?(/^[0-4]/.test(a.charAt(s))?(W=a.charAt(s),s++):(W=null,0===h&&p("[0-4]")),null!==W&&null!==(oe=R())?A=[A,W,oe]:(A=null,s=be)):(A=null,s=be),null===A&&(be=s,49===a.charCodeAt(s)?(A="1",s++):(A=null,0===h&&p('"1"')),null!==A&&null!==(W=R())&&null!==(oe=R())?A=[A,W,oe]:(A=null,s=be),null===A&&(be=s,/^[1-9]/.test(a.charAt(s))?(A=a.charAt(s),s++):(A=null,0===h&&p("[1-9]")),null!==A&&null!==(W=R())?A=[A,W]:(A=null,s=be),null===A&&(A=R())))),A}function Xr(){var A,W,oe,be,Ue,Ye,kt,xn;return Ye=s,kt=s,null!==(A=null!==(A=R())?A:"")&&null!==(W=null!==(W=R())?W:"")&&null!==(oe=null!==(oe=R())?oe:"")&&null!==(be=null!==(be=R())?be:"")&&null!==(Ue=null!==(Ue=R())?Ue:"")?A=[A,W,oe,be,Ue]:(A=null,s=kt),null!==A&&(xn=A,xn=parseInt(xn.join("")),Ce.port=xn,A=xn),null===A&&(s=Ye),A}function Rt(){var A,W,oe,be;for(A=[],be=s,59===a.charCodeAt(s)?(W=";",s++):(W=null,0===h&&p('";"')),null!==W&&null!==(oe=zt())?W=[W,oe]:(W=null,s=be);null!==W;)A.push(W),be=s,59===a.charCodeAt(s)?(W=";",s++):(W=null,0===h&&p('";"')),null!==W&&null!==(oe=zt())?W=[W,oe]:(W=null,s=be);return A}function zt(){var A;return null===(A=vn())&&null===(A=ln())&&null===(A=Sn())&&null===(A=dr())&&null===(A=En())&&null===(A=tn())&&(A=bn()),A}function vn(){var A,W,oe,be,Ye;return oe=s,be=s,"transport="===a.substr(s,10).toLowerCase()?(A=a.substr(s,10),s+=10):(A=null,0===h&&p('"transport="')),null!==A?("udp"===a.substr(s,3).toLowerCase()?(W=a.substr(s,3),s+=3):(W=null,0===h&&p('"udp"')),null===W&&("tcp"===a.substr(s,3).toLowerCase()?(W=a.substr(s,3),s+=3):(W=null,0===h&&p('"tcp"')),null===W&&("sctp"===a.substr(s,4).toLowerCase()?(W=a.substr(s,4),s+=4):(W=null,0===h&&p('"sctp"')),null===W&&("tls"===a.substr(s,3).toLowerCase()?(W=a.substr(s,3),s+=3):(W=null,0===h&&p('"tls"')),null===W&&(W=X())))),null!==W?A=[A,W]:(A=null,s=be)):(A=null,s=be),null!==A&&(Ye=A[1],Ce.uri_params||(Ce.uri_params={}),A=void(Ce.uri_params.transport=Ye.toLowerCase())),null===A&&(s=oe),A}function ln(){var A,W,oe,be,Ye;return oe=s,be=s,"user="===a.substr(s,5).toLowerCase()?(A=a.substr(s,5),s+=5):(A=null,0===h&&p('"user="')),null!==A?("phone"===a.substr(s,5).toLowerCase()?(W=a.substr(s,5),s+=5):(W=null,0===h&&p('"phone"')),null===W&&("ip"===a.substr(s,2).toLowerCase()?(W=a.substr(s,2),s+=2):(W=null,0===h&&p('"ip"')),null===W&&(W=X())),null!==W?A=[A,W]:(A=null,s=be)):(A=null,s=be),null!==A&&(Ye=A[1],Ce.uri_params||(Ce.uri_params={}),A=void(Ce.uri_params.user=Ye.toLowerCase())),null===A&&(s=oe),A}function Sn(){var A,W,oe,be,Ye;return oe=s,be=s,"method="===a.substr(s,7).toLowerCase()?(A=a.substr(s,7),s+=7):(A=null,0===h&&p('"method="')),null!==A&&null!==(W=gn())?A=[A,W]:(A=null,s=be),null!==A&&(Ye=A[1],Ce.uri_params||(Ce.uri_params={}),A=void(Ce.uri_params.method=Ye)),null===A&&(s=oe),A}function dr(){var A,W,oe,be,Ye;return oe=s,be=s,"ttl="===a.substr(s,4).toLowerCase()?(A=a.substr(s,4),s+=4):(A=null,0===h&&p('"ttl="')),null!==A&&null!==(W=Va())?A=[A,W]:(A=null,s=be),null!==A&&(Ye=A[1],Ce.params||(Ce.params={}),A=void(Ce.params.ttl=Ye)),null===A&&(s=oe),A}function En(){var A,W,oe,be,Ye;return oe=s,be=s,"maddr="===a.substr(s,6).toLowerCase()?(A=a.substr(s,6),s+=6):(A=null,0===h&&p('"maddr="')),null!==A&&null!==(W=ur())?A=[A,W]:(A=null,s=be),null!==A&&(Ye=A[1],Ce.uri_params||(Ce.uri_params={}),A=void(Ce.uri_params.maddr=Ye)),null===A&&(s=oe),A}function tn(){var A,W,oe,be,Ue,Ye;return be=s,Ue=s,"lr"===a.substr(s,2).toLowerCase()?(A=a.substr(s,2),s+=2):(A=null,0===h&&p('"lr"')),null!==A?(Ye=s,61===a.charCodeAt(s)?(W="=",s++):(W=null,0===h&&p('"="')),null!==W&&null!==(oe=X())?W=[W,oe]:(W=null,s=Ye),null!==(W=null!==W?W:"")?A=[A,W]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(Ce.uri_params||(Ce.uri_params={}),A=void(Ce.uri_params.lr=void 0)),null===A&&(s=be),A}function bn(){var A,W,oe,be,Ue,Ye,on,xn;return be=s,Ue=s,null!==(A=Cn())?(Ye=s,61===a.charCodeAt(s)?(W="=",s++):(W=null,0===h&&p('"="')),null!==W&&null!==(oe=Kn())?W=[W,oe]:(W=null,s=Ye),null!==(W=null!==W?W:"")?A=[A,W]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(on=A[0],xn=A[1],Ce.uri_params||(Ce.uri_params={}),xn=typeof xn>"u"?void 0:xn[1],A=void(Ce.uri_params[on.toLowerCase()]=xn)),null===A&&(s=be),A}function Cn(){var A,W,oe;if(oe=s,null!==(W=Xn()))for(A=[];null!==W;)A.push(W),W=Xn();else A=null;return null!==A&&(A=A.join("")),null===A&&(s=oe),A}function Kn(){var A,W,oe;if(oe=s,null!==(W=Xn()))for(A=[];null!==W;)A.push(W),W=Xn();else A=null;return null!==A&&(A=A.join("")),null===A&&(s=oe),A}function Xn(){var A;return null===(A=nr())&&null===(A=Z())&&(A=ee()),A}function nr(){var A;return 91===a.charCodeAt(s)?(A="[",s++):(A=null,0===h&&p('"["')),null===A&&(93===a.charCodeAt(s)?(A="]",s++):(A=null,0===h&&p('"]"')),null===A&&(47===a.charCodeAt(s)?(A="/",s++):(A=null,0===h&&p('"/"')),null===A&&(58===a.charCodeAt(s)?(A=":",s++):(A=null,0===h&&p('":"')),null===A&&(38===a.charCodeAt(s)?(A="&",s++):(A=null,0===h&&p('"&"')),null===A&&(43===a.charCodeAt(s)?(A="+",s++):(A=null,0===h&&p('"+"')),null===A&&(36===a.charCodeAt(s)?(A="$",s++):(A=null,0===h&&p('"$"')))))))),A}function fn(){var A,W,oe,be,Ue,Ye,kt;if(Ye=s,63===a.charCodeAt(s)?(A="?",s++):(A=null,0===h&&p('"?"')),null!==A)if(null!==(W=fr())){for(oe=[],kt=s,38===a.charCodeAt(s)?(be="&",s++):(be=null,0===h&&p('"&"')),null!==be&&null!==(Ue=fr())?be=[be,Ue]:(be=null,s=kt);null!==be;)oe.push(be),kt=s,38===a.charCodeAt(s)?(be="&",s++):(be=null,0===h&&p('"&"')),null!==be&&null!==(Ue=fr())?be=[be,Ue]:(be=null,s=kt);null!==oe?A=[A,W,oe]:(A=null,s=Ye)}else A=null,s=Ye;else A=null,s=Ye;return A}function fr(){var A,W,oe,be,Ue,kt,on;return be=s,Ue=s,null!==(A=lr())?(61===a.charCodeAt(s)?(W="=",s++):(W=null,0===h&&p('"="')),null!==W&&null!==(oe=ar())?A=[A,W,oe]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(on=A[2],kt=(kt=A[0]).join("").toLowerCase(),on=on.join(""),Ce.uri_headers||(Ce.uri_headers={}),A=void(Ce.uri_headers[kt]?Ce.uri_headers[kt].push(on):Ce.uri_headers[kt]=[on])),null===A&&(s=be),A}function lr(){var A,W;if(null===(W=ni())&&null===(W=Z())&&(W=ee()),null!==W)for(A=[];null!==W;)A.push(W),null===(W=ni())&&null===(W=Z())&&(W=ee());else A=null;return A}function ar(){var A,W;for(A=[],null===(W=ni())&&null===(W=Z())&&(W=ee());null!==W;)A.push(W),null===(W=ni())&&null===(W=Z())&&(W=ee());return A}function ni(){var A;return 91===a.charCodeAt(s)?(A="[",s++):(A=null,0===h&&p('"["')),null===A&&(93===a.charCodeAt(s)?(A="]",s++):(A=null,0===h&&p('"]"')),null===A&&(47===a.charCodeAt(s)?(A="/",s++):(A=null,0===h&&p('"/"')),null===A&&(63===a.charCodeAt(s)?(A="?",s++):(A=null,0===h&&p('"?"')),null===A&&(58===a.charCodeAt(s)?(A=":",s++):(A=null,0===h&&p('":"')),null===A&&(43===a.charCodeAt(s)?(A="+",s++):(A=null,0===h&&p('"+"')),null===A&&(36===a.charCodeAt(s)?(A="$",s++):(A=null,0===h&&p('"$"')))))))),A}function no(){var A,W,oe,be,Ue,Ye;return Ye=s,null!==(A=gn())&&null!==(W=z())&&null!==(oe=$i())&&null!==(be=z())&&null!==(Ue=xt())?A=[A,W,oe,be,Ue]:(A=null,s=Ye),A}function $i(){var A;return null===(A=$n())&&(A=Xi()),A}function Xi(){var A,W,oe,be;return be=s,null!==(A=Ot())?(58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null!==W?(null===(oe=Di())&&(oe=vo()),null!==oe?A=[A,W,oe]:(A=null,s=be)):(A=null,s=be)):(A=null,s=be),A}function Di(){var A,W,oe,be,Ue;return be=s,null===(A=lo())&&(A=to()),null!==A?(Ue=s,63===a.charCodeAt(s)?(W="?",s++):(W=null,0===h&&p('"?"')),null!==W&&null!==(oe=jt())?W=[W,oe]:(W=null,s=Ue),null!==(W=null!==W?W:"")?A=[A,W]:(A=null,s=be)):(A=null,s=be),A}function lo(){var A,W,oe,be;return be=s,"//"===a.substr(s,2)?(A="//",s+=2):(A=null,0===h&&p('"//"')),null!==A&&null!==(W=nn())&&null!==(oe=null!==(oe=to())?oe:"")?A=[A,W,oe]:(A=null,s=be),A}function to(){var A,W,oe;return oe=s,47===a.charCodeAt(s)?(A="/",s++):(A=null,0===h&&p('"/"')),null!==A&&null!==(W=Jt())?A=[A,W]:(A=null,s=oe),A}function vo(){var A,W,oe,be;if(be=s,null!==(A=mn())){for(W=[],oe=Co();null!==oe;)W.push(oe),oe=Co();null!==W?A=[A,W]:(A=null,s=be)}else A=null,s=be;return A}function Co(){var A;return null===(A=q())&&null===(A=Z())&&(A=ee()),A}function mn(){var A;return null===(A=Z())&&null===(A=ee())&&(59===a.charCodeAt(s)?(A=";",s++):(A=null,0===h&&p('";"')),null===A&&(63===a.charCodeAt(s)?(A="?",s++):(A=null,0===h&&p('"?"')),null===A&&(58===a.charCodeAt(s)?(A=":",s++):(A=null,0===h&&p('":"')),null===A&&(64===a.charCodeAt(s)?(A="@",s++):(A=null,0===h&&p('"@"')),null===A&&(38===a.charCodeAt(s)?(A="&",s++):(A=null,0===h&&p('"&"')),null===A&&(61===a.charCodeAt(s)?(A="=",s++):(A=null,0===h&&p('"="')),null===A&&(43===a.charCodeAt(s)?(A="+",s++):(A=null,0===h&&p('"+"')),null===A&&(36===a.charCodeAt(s)?(A="$",s++):(A=null,0===h&&p('"$"')),null===A&&(44===a.charCodeAt(s)?(A=",",s++):(A=null,0===h&&p('","'))))))))))),A}function Jt(){var A,W,oe,be,Ue,Ye;if(Ue=s,null!==(A=kn())){for(W=[],Ye=s,47===a.charCodeAt(s)?(oe="/",s++):(oe=null,0===h&&p('"/"')),null!==oe&&null!==(be=kn())?oe=[oe,be]:(oe=null,s=Ye);null!==oe;)W.push(oe),Ye=s,47===a.charCodeAt(s)?(oe="/",s++):(oe=null,0===h&&p('"/"')),null!==oe&&null!==(be=kn())?oe=[oe,be]:(oe=null,s=Ye);null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return A}function kn(){var A,W,oe,be,Ue,Ye;for(Ue=s,A=[],W=Ze();null!==W;)A.push(W),W=Ze();if(null!==A){for(W=[],Ye=s,59===a.charCodeAt(s)?(oe=";",s++):(oe=null,0===h&&p('";"')),null!==oe&&null!==(be=Ke())?oe=[oe,be]:(oe=null,s=Ye);null!==oe;)W.push(oe),Ye=s,59===a.charCodeAt(s)?(oe=";",s++):(oe=null,0===h&&p('";"')),null!==oe&&null!==(be=Ke())?oe=[oe,be]:(oe=null,s=Ye);null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return A}function Ke(){var A,W;for(A=[],W=Ze();null!==W;)A.push(W),W=Ze();return A}function Ze(){var A;return null===(A=Z())&&null===(A=ee())&&(58===a.charCodeAt(s)?(A=":",s++):(A=null,0===h&&p('":"')),null===A&&(64===a.charCodeAt(s)?(A="@",s++):(A=null,0===h&&p('"@"')),null===A&&(38===a.charCodeAt(s)?(A="&",s++):(A=null,0===h&&p('"&"')),null===A&&(61===a.charCodeAt(s)?(A="=",s++):(A=null,0===h&&p('"="')),null===A&&(43===a.charCodeAt(s)?(A="+",s++):(A=null,0===h&&p('"+"')),null===A&&(36===a.charCodeAt(s)?(A="$",s++):(A=null,0===h&&p('"$"')),null===A&&(44===a.charCodeAt(s)?(A=",",s++):(A=null,0===h&&p('","'))))))))),A}function Ot(){var A,W,oe,be,Ue;if(be=s,Ue=s,null!==(A=P())){for(W=[],null===(oe=P())&&null===(oe=R())&&(43===a.charCodeAt(s)?(oe="+",s++):(oe=null,0===h&&p('"+"')),null===oe&&(45===a.charCodeAt(s)?(oe="-",s++):(oe=null,0===h&&p('"-"')),null===oe&&(46===a.charCodeAt(s)?(oe=".",s++):(oe=null,0===h&&p('"."')))));null!==oe;)W.push(oe),null===(oe=P())&&null===(oe=R())&&(43===a.charCodeAt(s)?(oe="+",s++):(oe=null,0===h&&p('"+"')),null===oe&&(45===a.charCodeAt(s)?(oe="-",s++):(oe=null,0===h&&p('"-"')),null===oe&&(46===a.charCodeAt(s)?(oe=".",s++):(oe=null,0===h&&p('"."')))));null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return null!==A&&(A=void(Ce.scheme=a.substring(s,be))),null===A&&(s=be),A}function nn(){var A;return null===(A=wt())&&(A=st()),A}function wt(){var A,W,oe,be;return oe=s,be=s,null!==(A=or())?(64===a.charCodeAt(s)?(W="@",s++):(W=null,0===h&&p('"@"')),null!==W?A=[A,W]:(A=null,s=be)):(A=null,s=be),null!==(A=null!==A?A:"")&&null!==(W=sr())?A=[A,W]:(A=null,s=oe),null!==A?A:""}function st(){var A,W;if(null===(W=Z())&&null===(W=ee())&&(36===a.charCodeAt(s)?(W="$",s++):(W=null,0===h&&p('"$"')),null===W&&(44===a.charCodeAt(s)?(W=",",s++):(W=null,0===h&&p('","')),null===W&&(59===a.charCodeAt(s)?(W=";",s++):(W=null,0===h&&p('";"')),null===W&&(58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null===W&&(64===a.charCodeAt(s)?(W="@",s++):(W=null,0===h&&p('"@"')),null===W&&(38===a.charCodeAt(s)?(W="&",s++):(W=null,0===h&&p('"&"')),null===W&&(61===a.charCodeAt(s)?(W="=",s++):(W=null,0===h&&p('"="')),null===W&&(43===a.charCodeAt(s)?(W="+",s++):(W=null,0===h&&p('"+"')))))))))),null!==W)for(A=[];null!==W;)A.push(W),null===(W=Z())&&null===(W=ee())&&(36===a.charCodeAt(s)?(W="$",s++):(W=null,0===h&&p('"$"')),null===W&&(44===a.charCodeAt(s)?(W=",",s++):(W=null,0===h&&p('","')),null===W&&(59===a.charCodeAt(s)?(W=";",s++):(W=null,0===h&&p('";"')),null===W&&(58===a.charCodeAt(s)?(W=":",s++):(W=null,0===h&&p('":"')),null===W&&(64===a.charCodeAt(s)?(W="@",s++):(W=null,0===h&&p('"@"')),null===W&&(38===a.charCodeAt(s)?(W="&",s++):(W=null,0===h&&p('"&"')),null===W&&(61===a.charCodeAt(s)?(W="=",s++):(W=null,0===h&&p('"="')),null===W&&(43===a.charCodeAt(s)?(W="+",s++):(W=null,0===h&&p('"+"'))))))))));else A=null;return A}function jt(){var A,W;for(A=[],W=Co();null!==W;)A.push(W),W=Co();return A}function xt(){var A,W,oe,be,Ue,Ye,kt,on;if(kt=s,on=s,"sip"===a.substr(s,3).toLowerCase()?(A=a.substr(s,3),s+=3):(A=null,0===h&&p('"SIP"')),null!==A)if(47===a.charCodeAt(s)?(W="/",s++):(W=null,0===h&&p('"/"')),null!==W){if(null!==(be=R()))for(oe=[];null!==be;)oe.push(be),be=R();else oe=null;if(null!==oe)if(46===a.charCodeAt(s)?(be=".",s++):(be=null,0===h&&p('"."')),null!==be){if(null!==(Ye=R()))for(Ue=[];null!==Ye;)Ue.push(Ye),Ye=R();else Ue=null;null!==Ue?A=[A,W,oe,be,Ue]:(A=null,s=on)}else A=null,s=on;else A=null,s=on}else A=null,s=on;else A=null,s=on;return null!==A&&(A=void(Ce.sip_version=a.substring(s,kt))),null===A&&(s=kt),A}function hn(){var A;return"INVITE"===a.substr(s,6)?(A="INVITE",s+=6):(A=null,0===h&&p('"INVITE"')),A}function ft(){var A;return"ACK"===a.substr(s,3)?(A="ACK",s+=3):(A=null,0===h&&p('"ACK"')),A}function He(){var A;return"OPTIONS"===a.substr(s,7)?(A="OPTIONS",s+=7):(A=null,0===h&&p('"OPTIONS"')),A}function Pe(){var A;return"BYE"===a.substr(s,3)?(A="BYE",s+=3):(A=null,0===h&&p('"BYE"')),A}function Fe(){var A;return"CANCEL"===a.substr(s,6)?(A="CANCEL",s+=6):(A=null,0===h&&p('"CANCEL"')),A}function Oe(){var A;return"REGISTER"===a.substr(s,8)?(A="REGISTER",s+=8):(A=null,0===h&&p('"REGISTER"')),A}function We(){var A;return"SUBSCRIBE"===a.substr(s,9)?(A="SUBSCRIBE",s+=9):(A=null,0===h&&p('"SUBSCRIBE"')),A}function _t(){var A;return"NOTIFY"===a.substr(s,6)?(A="NOTIFY",s+=6):(A=null,0===h&&p('"NOTIFY"')),A}function en(){var A;return"REFER"===a.substr(s,5)?(A="REFER",s+=5):(A=null,0===h&&p('"REFER"')),A}function gn(){var A,W;return W=s,null===(A=hn())&&null===(A=ft())&&null===(A=He())&&null===(A=Pe())&&null===(A=Fe())&&null===(A=Oe())&&null===(A=We())&&null===(A=_t())&&null===(A=en())&&(A=X()),null!==A&&(Ce.method=a.substring(s,W),A=Ce.method),null===A&&(s=W),A}function In(){var A,W,oe,be,Ue,Ye;return Ye=s,null!==(A=xt())&&null!==(W=z())&&null!==(oe=Zn())&&null!==(be=z())&&null!==(Ue=Yr())?A=[A,W,oe,be,Ue]:(A=null,s=Ye),A}function Zn(){var A,W;return W=s,null!==(A=Er())&&(A=void(Ce.status_code=parseInt(A.join("")))),null===A&&(s=W),A}function Er(){var A,W,oe,be;return be=s,null!==(A=R())&&null!==(W=R())&&null!==(oe=R())?A=[A,W,oe]:(A=null,s=be),A}function Yr(){var A,W,oe;for(oe=s,A=[],null===(W=q())&&null===(W=Z())&&null===(W=ee())&&null===(W=me())&&null===(W=re())&&null===(W=z())&&(W=H());null!==W;)A.push(W),null===(W=q())&&null===(W=Z())&&null===(W=ee())&&null===(W=me())&&null===(W=re())&&null===(W=z())&&(W=H());return null!==A&&(A=void(Ce.reason_phrase=a.substring(s,oe))),null===A&&(s=oe),A}function Ki(){var A,W,oe,be,Ue,Ye,kt;if(Ue=s,Ye=s,null===(A=Lt())&&(A=Pi()),null!==A){for(W=[],kt=s,null!==(oe=It())&&null!==(be=ki())?oe=[oe,be]:(oe=null,s=kt);null!==oe;)W.push(oe),kt=s,null!==(oe=It())&&null!==(be=ki())?oe=[oe,be]:(oe=null,s=kt);null!==W?A=[A,W]:(A=null,s=Ye)}else A=null,s=Ye;return null!==A&&(A=function(on){var xn;Ce.multi_header||(Ce.multi_header=[]);try{xn=new Es(Ce.uri,Ce.display_name,Ce.params),delete Ce.uri,delete Ce.display_name,delete Ce.params}catch{xn=null}Ce.multi_header.push({possition:s,offset:on,parsed:xn})}(Ue)),null===A&&(s=Ue),A}function Pi(){var A,W,oe,be,Ue;return Ue=s,null!==(A=null!==(A=io())?A:"")&&null!==(W=Pt())&&null!==(oe=$n())&&null!==(be=at())?A=[A,W,oe,be]:(A=null,s=Ue),A}function io(){var A,W,oe,be,Ue,Ye,kt,xn;if(Ue=s,Ye=s,null!==(A=X())){for(W=[],kt=s,null!==(oe=Y())&&null!==(be=X())?oe=[oe,be]:(oe=null,s=kt);null!==oe;)W.push(oe),kt=s,null!==(oe=Y())&&null!==(be=X())?oe=[oe,be]:(oe=null,s=kt);null!==W?A=[A,W]:(A=null,s=Ye)}else A=null,s=Ye;return null===A&&(A=mt()),null!==A&&(A=void(Ce.display_name="string"==typeof(xn=A)?xn:xn[1].reduce(function(pr,Rr){return pr+Rr[0]+Rr[1]},xn[0]))),null===A&&(s=Ue),A}function ki(){var A;return null===(A=ko())&&null===(A=Eo())&&(A=xo()),A}function ko(){var A,W,oe,be,Ue,kt;return be=s,Ue=s,"q"===a.substr(s,1).toLowerCase()?(A=a.substr(s,1),s++):(A=null,0===h&&p('"q"')),null!==A&&null!==(W=we())&&null!==(oe=bs())?A=[A,W,oe]:(A=null,s=Ue),null!==A&&(kt=A[2],Ce.params||(Ce.params={}),A=void(Ce.params.q=kt)),null===A&&(s=be),A}function Eo(){var A,W,oe,be,Ue,kt;return be=s,Ue=s,"expires"===a.substr(s,7).toLowerCase()?(A=a.substr(s,7),s+=7):(A=null,0===h&&p('"expires"')),null!==A&&null!==(W=we())&&null!==(oe=ji())?A=[A,W,oe]:(A=null,s=Ue),null!==A&&(kt=A[2],Ce.params||(Ce.params={}),A=void(Ce.params.expires=kt)),null===A&&(s=be),A}function ji(){var A,W,oe;if(oe=s,null!==(W=R()))for(A=[];null!==W;)A.push(W),W=R();else A=null;return null!==A&&(A=parseInt(A.join(""))),null===A&&(s=oe),A}function bs(){var A,W,oe,be,Ue,Ye,kt,on;return Ye=s,kt=s,48===a.charCodeAt(s)?(A="0",s++):(A=null,0===h&&p('"0"')),null!==A?(on=s,46===a.charCodeAt(s)?(W=".",s++):(W=null,0===h&&p('"."')),null!==W&&null!==(oe=null!==(oe=R())?oe:"")&&null!==(be=null!==(be=R())?be:"")&&null!==(Ue=null!==(Ue=R())?Ue:"")?W=[W,oe,be,Ue]:(W=null,s=on),null!==(W=null!==W?W:"")?A=[A,W]:(A=null,s=kt)):(A=null,s=kt),null!==A&&(A=parseFloat(a.substring(s,Ye))),null===A&&(s=Ye),A}function xo(){var A,W,oe,be,Ue,Ye,on,xn;return be=s,Ue=s,null!==(A=X())?(Ye=s,null!==(W=we())&&null!==(oe=So())?W=[W,oe]:(W=null,s=Ye),null!==(W=null!==W?W:"")?A=[A,W]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(on=A[0],xn=A[1],Ce.params||(Ce.params={}),xn=typeof xn>"u"?void 0:xn[1],A=void(Ce.params[on.toLowerCase()]=xn)),null===A&&(s=be),A}function So(){var A;return null===(A=X())&&null===(A=ur())&&(A=rt()),A}function qo(){var A;return"render"===a.substr(s,6).toLowerCase()?(A=a.substr(s,6),s+=6):(A=null,0===h&&p('"render"')),null===A&&("session"===a.substr(s,7).toLowerCase()?(A=a.substr(s,7),s+=7):(A=null,0===h&&p('"session"')),null===A&&("icon"===a.substr(s,4).toLowerCase()?(A=a.substr(s,4),s+=4):(A=null,0===h&&p('"icon"')),null===A&&("alert"===a.substr(s,5).toLowerCase()?(A=a.substr(s,5),s+=5):(A=null,0===h&&p('"alert"')),null===A&&(A=X())))),A}function cs(){var A;return null===(A=ds())&&(A=xo()),A}function ds(){var A,W,oe,be;return be=s,"handling"===a.substr(s,8).toLowerCase()?(A=a.substr(s,8),s+=8):(A=null,0===h&&p('"handling"')),null!==A&&null!==(W=we())?("optional"===a.substr(s,8).toLowerCase()?(oe=a.substr(s,8),s+=8):(oe=null,0===h&&p('"optional"')),null===oe&&("required"===a.substr(s,8).toLowerCase()?(oe=a.substr(s,8),s+=8):(oe=null,0===h&&p('"required"')),null===oe&&(oe=X())),null!==oe?A=[A,W,oe]:(A=null,s=be)):(A=null,s=be),A}function xe(){var A,W,oe,be,Ue,Ye,kt,on;if(kt=s,null!==(A=ht()))if(null!==(W=ve()))if(null!==(oe=Bi())){for(be=[],on=s,null!==(Ue=It())&&null!==(Ye=vt())?Ue=[Ue,Ye]:(Ue=null,s=on);null!==Ue;)be.push(Ue),on=s,null!==(Ue=It())&&null!==(Ye=vt())?Ue=[Ue,Ye]:(Ue=null,s=on);null!==be?A=[A,W,oe,be]:(A=null,s=kt)}else A=null,s=kt;else A=null,s=kt;else A=null,s=kt;return A}function ht(){var A;return null===(A=Ut())&&(A=qe()),A}function Ut(){var A;return"text"===a.substr(s,4).toLowerCase()?(A=a.substr(s,4),s+=4):(A=null,0===h&&p('"text"')),null===A&&("image"===a.substr(s,5).toLowerCase()?(A=a.substr(s,5),s+=5):(A=null,0===h&&p('"image"')),null===A&&("audio"===a.substr(s,5).toLowerCase()?(A=a.substr(s,5),s+=5):(A=null,0===h&&p('"audio"')),null===A&&("video"===a.substr(s,5).toLowerCase()?(A=a.substr(s,5),s+=5):(A=null,0===h&&p('"video"')),null===A&&("application"===a.substr(s,11).toLowerCase()?(A=a.substr(s,11),s+=11):(A=null,0===h&&p('"application"')),null===A&&(A=rn()))))),A}function qe(){var A;return"message"===a.substr(s,7).toLowerCase()?(A=a.substr(s,7),s+=7):(A=null,0===h&&p('"message"')),null===A&&("multipart"===a.substr(s,9).toLowerCase()?(A=a.substr(s,9),s+=9):(A=null,0===h&&p('"multipart"')),null===A&&(A=rn())),A}function rn(){var A;return null===(A=X())&&(A=Dn()),A}function Dn(){var A,W,oe;return oe=s,"x-"===a.substr(s,2).toLowerCase()?(A=a.substr(s,2),s+=2):(A=null,0===h&&p('"x-"')),null!==A&&null!==(W=X())?A=[A,W]:(A=null,s=oe),A}function Bi(){var A;return null===(A=rn())&&(A=X()),A}function vt(){var A,W,oe,be;return be=s,null!==(A=X())&&null!==(W=we())&&null!==(oe=Kt())?A=[A,W,oe]:(A=null,s=be),A}function Kt(){var A;return null===(A=X())&&(A=rt()),A}function Pn(){var A,W,oe;if(oe=s,null!==(W=R()))for(A=[];null!==W;)A.push(W),W=R();else A=null;return null!==A&&(A=void(Ce.value=parseInt(A.join("")))),null===A&&(s=oe),A}function Ir(){var A,W,oe,be,Ue,Ye;if(Ue=s,null!==(A=M())){for(W=[],Ye=s,46===a.charCodeAt(s)?(oe=".",s++):(oe=null,0===h&&p('"."')),null!==oe&&null!==(be=M())?oe=[oe,be]:(oe=null,s=Ye);null!==oe;)W.push(oe),Ye=s,46===a.charCodeAt(s)?(oe=".",s++):(oe=null,0===h&&p('"."')),null!==oe&&null!==(be=M())?oe=[oe,be]:(oe=null,s=Ye);null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return A}function Or(){var A;return null===(A=Hr())&&(A=xo()),A}function Hr(){var A,W,oe,be,Ue;return be=s,Ue=s,"tag"===a.substr(s,3).toLowerCase()?(A=a.substr(s,3),s+=3):(A=null,0===h&&p('"tag"')),null!==A&&null!==(W=we())&&null!==(oe=X())?A=[A,W,oe]:(A=null,s=Ue),null!==A&&(A=void(Ce.tag=A[2])),null===A&&(s=be),A}function yo(){var A,W,oe,be,Ue,Ye,kt,on;if(kt=s,"digest"===a.substr(s,6).toLowerCase()?(A=a.substr(s,6),s+=6):(A=null,0===h&&p('"Digest"')),null!==A)if(null!==(W=Y()))if(null!==(oe=as())){for(be=[],on=s,null!==(Ue=At())&&null!==(Ye=as())?Ue=[Ue,Ye]:(Ue=null,s=on);null!==Ue;)be.push(Ue),on=s,null!==(Ue=At())&&null!==(Ye=as())?Ue=[Ue,Ye]:(Ue=null,s=on);null!==be?A=[A,W,oe,be]:(A=null,s=kt)}else A=null,s=kt;else A=null,s=kt;else A=null,s=kt;return null===A&&(A=Jo()),A}function Jo(){var A,W,oe,be,Ue,Ye,kt,on;if(kt=s,null!==(A=X()))if(null!==(W=Y()))if(null!==(oe=xi())){for(be=[],on=s,null!==(Ue=At())&&null!==(Ye=xi())?Ue=[Ue,Ye]:(Ue=null,s=on);null!==Ue;)be.push(Ue),on=s,null!==(Ue=At())&&null!==(Ye=xi())?Ue=[Ue,Ye]:(Ue=null,s=on);null!==be?A=[A,W,oe,be]:(A=null,s=kt)}else A=null,s=kt;else A=null,s=kt;else A=null,s=kt;return A}function xi(){var A,W,oe,be;return be=s,null!==(A=X())&&null!==(W=we())?(null===(oe=X())&&(oe=rt()),null!==oe?A=[A,W,oe]:(A=null,s=be)):(A=null,s=be),A}function as(){var A;return null===(A=Ts())&&null===(A=No())&&null===(A=us())&&null===(A=oa())&&null===(A=Uo())&&null===(A=ua())&&null===(A=ta())&&(A=xi()),A}function Ts(){var A,W,oe,be;return be=s,"realm"===a.substr(s,5).toLowerCase()?(A=a.substr(s,5),s+=5):(A=null,0===h&&p('"realm"')),null!==A&&null!==(W=we())&&null!==(oe=As())?A=[A,W,oe]:(A=null,s=be),A}function As(){var A,W;return W=s,null!==(A=mt())&&(A=void(Ce.realm=A)),null===A&&(s=W),A}function No(){var A,W,oe,be,Ue,Ye,kt,on,xn;if(on=s,"domain"===a.substr(s,6).toLowerCase()?(A=a.substr(s,6),s+=6):(A=null,0===h&&p('"domain"')),null!==A)if(null!==(W=we()))if(null!==(oe=St()))if(null!==(be=ma())){if(Ue=[],xn=s,null!==(kt=z()))for(Ye=[];null!==kt;)Ye.push(kt),kt=z();else Ye=null;for(null!==Ye&&null!==(kt=ma())?Ye=[Ye,kt]:(Ye=null,s=xn);null!==Ye;){if(Ue.push(Ye),xn=s,null!==(kt=z()))for(Ye=[];null!==kt;)Ye.push(kt),kt=z();else Ye=null;null!==Ye&&null!==(kt=ma())?Ye=[Ye,kt]:(Ye=null,s=xn)}null!==Ue&&null!==(Ye=lt())?A=[A,W,oe,be,Ue,Ye]:(A=null,s=on)}else A=null,s=on;else A=null,s=on;else A=null,s=on;else A=null,s=on;return A}function ma(){var A;return null===(A=Xi())&&(A=to()),A}function us(){var A,W,oe,be;return be=s,"nonce"===a.substr(s,5).toLowerCase()?(A=a.substr(s,5),s+=5):(A=null,0===h&&p('"nonce"')),null!==A&&null!==(W=we())&&null!==(oe=ia())?A=[A,W,oe]:(A=null,s=be),A}function ia(){var A,W;return W=s,null!==(A=mt())&&(A=void(Ce.nonce=A)),null===A&&(s=W),A}function oa(){var A,W,oe,be,Ue;return be=s,Ue=s,"opaque"===a.substr(s,6).toLowerCase()?(A=a.substr(s,6),s+=6):(A=null,0===h&&p('"opaque"')),null!==A&&null!==(W=we())&&null!==(oe=mt())?A=[A,W,oe]:(A=null,s=Ue),null!==A&&(A=void(Ce.opaque=A[2])),null===A&&(s=be),A}function Uo(){var A,W,oe,be,Ue;return be=s,"stale"===a.substr(s,5).toLowerCase()?(A=a.substr(s,5),s+=5):(A=null,0===h&&p('"stale"')),null!==A&&null!==(W=we())?(Ue=s,"true"===a.substr(s,4).toLowerCase()?(oe=a.substr(s,4),s+=4):(oe=null,0===h&&p('"true"')),null!==oe&&(oe=void(Ce.stale=!0)),null===oe&&(s=Ue),null===oe&&(Ue=s,"false"===a.substr(s,5).toLowerCase()?(oe=a.substr(s,5),s+=5):(oe=null,0===h&&p('"false"')),null!==oe&&(oe=void(Ce.stale=!1)),null===oe&&(s=Ue)),null!==oe?A=[A,W,oe]:(A=null,s=be)):(A=null,s=be),A}function ua(){var A,W,oe,be,Ue;return be=s,Ue=s,"algorithm"===a.substr(s,9).toLowerCase()?(A=a.substr(s,9),s+=9):(A=null,0===h&&p('"algorithm"')),null!==A&&null!==(W=we())?("md5"===a.substr(s,3).toLowerCase()?(oe=a.substr(s,3),s+=3):(oe=null,0===h&&p('"MD5"')),null===oe&&("md5-sess"===a.substr(s,8).toLowerCase()?(oe=a.substr(s,8),s+=8):(oe=null,0===h&&p('"MD5-sess"')),null===oe&&(oe=X())),null!==oe?A=[A,W,oe]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(A=void(Ce.algorithm=A[2].toUpperCase())),null===A&&(s=be),A}function ta(){var A,W,oe,be,Ue,Ye,kt,on,xn,pr;if(on=s,"qop"===a.substr(s,3).toLowerCase()?(A=a.substr(s,3),s+=3):(A=null,0===h&&p('"qop"')),null!==A)if(null!==(W=we()))if(null!==(oe=St())){if(xn=s,null!==(be=wo())){for(Ue=[],pr=s,44===a.charCodeAt(s)?(Ye=",",s++):(Ye=null,0===h&&p('","')),null!==Ye&&null!==(kt=wo())?Ye=[Ye,kt]:(Ye=null,s=pr);null!==Ye;)Ue.push(Ye),pr=s,44===a.charCodeAt(s)?(Ye=",",s++):(Ye=null,0===h&&p('","')),null!==Ye&&null!==(kt=wo())?Ye=[Ye,kt]:(Ye=null,s=pr);null!==Ue?be=[be,Ue]:(be=null,s=xn)}else be=null,s=xn;null!==be&&null!==(Ue=lt())?A=[A,W,oe,be,Ue]:(A=null,s=on)}else A=null,s=on;else A=null,s=on;else A=null,s=on;return A}function wo(){var A,W,be;return W=s,"auth-int"===a.substr(s,8).toLowerCase()?(A=a.substr(s,8),s+=8):(A=null,0===h&&p('"auth-int"')),null===A&&("auth"===a.substr(s,4).toLowerCase()?(A=a.substr(s,4),s+=4):(A=null,0===h&&p('"auth"')),null===A&&(A=X())),null!==A&&(be=A,Ce.qop||(Ce.qop=[]),A=void Ce.qop.push(be.toLowerCase())),null===A&&(s=W),A}function Ji(){var A,W,oe,be,Ue,Ye,kt;if(Ue=s,Ye=s,null!==(A=Pi())){for(W=[],kt=s,null!==(oe=It())&&null!==(be=xo())?oe=[oe,be]:(oe=null,s=kt);null!==oe;)W.push(oe),kt=s,null!==(oe=It())&&null!==(be=xo())?oe=[oe,be]:(oe=null,s=kt);null!==W?A=[A,W]:(A=null,s=Ye)}else A=null,s=Ye;return null!==A&&(A=function(on){var xn;Ce.multi_header||(Ce.multi_header=[]);try{xn=new Es(Ce.uri,Ce.display_name,Ce.params),delete Ce.uri,delete Ce.display_name,delete Ce.params}catch{xn=null}Ce.multi_header.push({possition:s,offset:on,parsed:xn})}(Ue)),null===A&&(s=Ue),A}function el(){var A;return null===(A=Ha())&&(A=xo()),A}function Ha(){var A,W,oe,be,Ue,Ye;if(Ue=s,Ye=s,"cause"===a.substr(s,5).toLowerCase()?(A=a.substr(s,5),s+=5):(A=null,0===h&&p('"cause"')),null!==A)if(null!==(W=we())){if(null!==(be=R()))for(oe=[];null!==be;)oe.push(be),be=R();else oe=null;null!==oe?A=[A,W,oe]:(A=null,s=Ye)}else A=null,s=Ye;else A=null,s=Ye;return null!==A&&(A=void(Ce.cause=parseInt(A[2].join("")))),null===A&&(s=Ue),A}function sa(){var A,W,oe,be,Ue,Ye;if(Ue=s,null!==(A=Pi())){for(W=[],Ye=s,null!==(oe=It())&&null!==(be=xo())?oe=[oe,be]:(oe=null,s=Ye);null!==oe;)W.push(oe),Ye=s,null!==(oe=It())&&null!==(be=xo())?oe=[oe,be]:(oe=null,s=Ye);null!==W?A=[A,W]:(A=null,s=Ue)}else A=null,s=Ue;return A}function aa(){var A,W;return W=s,"active"===a.substr(s,6).toLowerCase()?(A=a.substr(s,6),s+=6):(A=null,0===h&&p('"active"')),null===A&&("pending"===a.substr(s,7).toLowerCase()?(A=a.substr(s,7),s+=7):(A=null,0===h&&p('"pending"')),null===A&&("terminated"===a.substr(s,10).toLowerCase()?(A=a.substr(s,10),s+=10):(A=null,0===h&&p('"terminated"')),null===A&&(A=X()))),null!==A&&(A=void(Ce.state=a.substring(s,W))),null===A&&(s=W),A}function qa(){var A,W,oe,be,Ue,kt;return be=s,Ue=s,"reason"===a.substr(s,6).toLowerCase()?(A=a.substr(s,6),s+=6):(A=null,0===h&&p('"reason"')),null!==A&&null!==(W=we())&&null!==(oe=Ct())?A=[A,W,oe]:(A=null,s=Ue),null!==A&&(A=void(typeof(kt=A[2])<"u"&&(Ce.reason=kt))),null===A&&(s=be),null===A&&(be=s,Ue=s,"expires"===a.substr(s,7).toLowerCase()?(A=a.substr(s,7),s+=7):(A=null,0===h&&p('"expires"')),null!==A&&null!==(W=we())&&null!==(oe=ji())?A=[A,W,oe]:(A=null,s=Ue),null!==A&&(A=function(Ye,kt){typeof kt<"u"&&(Ce.expires=kt)}(0,A[2])),null===A&&(s=be),null===A&&(be=s,Ue=s,"retry_after"===a.substr(s,11).toLowerCase()?(A=a.substr(s,11),s+=11):(A=null,0===h&&p('"retry_after"')),null!==A&&null!==(W=we())&&null!==(oe=ji())?A=[A,W,oe]:(A=null,s=Ue),null!==A&&(A=function(Ye,kt){typeof kt<"u"&&(Ce.retry_after=kt)}(0,A[2])),null===A&&(s=be),null===A&&(A=xo()))),A}function Ct(){var A;return"deactivated"===a.substr(s,11).toLowerCase()?(A=a.substr(s,11),s+=11):(A=null,0===h&&p('"deactivated"')),null===A&&("probation"===a.substr(s,9).toLowerCase()?(A=a.substr(s,9),s+=9):(A=null,0===h&&p('"probation"')),null===A&&("rejected"===a.substr(s,8).toLowerCase()?(A=a.substr(s,8),s+=8):(A=null,0===h&&p('"rejected"')),null===A&&("timeout"===a.substr(s,7).toLowerCase()?(A=a.substr(s,7),s+=7):(A=null,0===h&&p('"timeout"')),null===A&&("giveup"===a.substr(s,6).toLowerCase()?(A=a.substr(s,6),s+=6):(A=null,0===h&&p('"giveup"')),null===A&&("noresource"===a.substr(s,10).toLowerCase()?(A=a.substr(s,10),s+=10):(A=null,0===h&&p('"noresource"')),null===A&&("invariant"===a.substr(s,9).toLowerCase()?(A=a.substr(s,9),s+=9):(A=null,0===h&&p('"invariant"')),null===A&&(A=X()))))))),A}function sn(){var A;return null===(A=Hr())&&(A=xo()),A}function wi(){var A,W,oe,be,Ue,Ye,kt,on;if(kt=s,null!==(A=Zo()))if(null!==(W=Y()))if(null!==(oe=Rl())){for(be=[],on=s,null!==(Ue=It())&&null!==(Ye=Ns())?Ue=[Ue,Ye]:(Ue=null,s=on);null!==Ue;)be.push(Ue),on=s,null!==(Ue=It())&&null!==(Ye=Ns())?Ue=[Ue,Ye]:(Ue=null,s=on);null!==be?A=[A,W,oe,be]:(A=null,s=kt)}else A=null,s=kt;else A=null,s=kt;else A=null,s=kt;return A}function Ns(){var A;return null===(A=ca())&&null===(A=Xo())&&null===(A=ga())&&null===(A=Js())&&null===(A=Ps())&&(A=xo()),A}function ca(){var A,W,oe,be,Ue;return be=s,Ue=s,"ttl"===a.substr(s,3).toLowerCase()?(A=a.substr(s,3),s+=3):(A=null,0===h&&p('"ttl"')),null!==A&&null!==(W=we())&&null!==(oe=Va())?A=[A,W,oe]:(A=null,s=Ue),null!==A&&(A=void(Ce.ttl=A[2])),null===A&&(s=be),A}function Xo(){var A,W,oe,be,Ue;return be=s,Ue=s,"maddr"===a.substr(s,5).toLowerCase()?(A=a.substr(s,5),s+=5):(A=null,0===h&&p('"maddr"')),null!==A&&null!==(W=we())&&null!==(oe=ur())?A=[A,W,oe]:(A=null,s=Ue),null!==A&&(A=void(Ce.maddr=A[2])),null===A&&(s=be),A}function ga(){var A,W,oe,be,Ue;return be=s,Ue=s,"received"===a.substr(s,8).toLowerCase()?(A=a.substr(s,8),s+=8):(A=null,0===h&&p('"received"')),null!==A&&null!==(W=we())?(null===(oe=Nr())&&(oe=qr()),null!==oe?A=[A,W,oe]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(A=void(Ce.received=A[2])),null===A&&(s=be),A}function Js(){var A,W,oe,be,Ue;return be=s,Ue=s,"branch"===a.substr(s,6).toLowerCase()?(A=a.substr(s,6),s+=6):(A=null,0===h&&p('"branch"')),null!==A&&null!==(W=we())&&null!==(oe=X())?A=[A,W,oe]:(A=null,s=Ue),null!==A&&(A=void(Ce.branch=A[2])),null===A&&(s=be),A}function Ps(){var A,W,oe,be,Ue;return be=s,"rport"===a.substr(s,5).toLowerCase()?(A=a.substr(s,5),s+=5):(A=null,0===h&&p('"rport"')),null!==A?(Ue=s,null!==(W=we())&&null!==(oe=Xa())?W=[W,oe]:(W=null,s=Ue),null!==(W=null!==W?W:"")?A=[A,W]:(A=null,s=be)):(A=null,s=be),A}function Xa(){var A,W,oe,be,Ue,Ye,kt;return Ye=s,kt=s,null!==(A=null!==(A=R())?A:"")&&null!==(W=null!==(W=R())?W:"")&&null!==(oe=null!==(oe=R())?oe:"")&&null!==(be=null!==(be=R())?be:"")&&null!==(Ue=null!==(Ue=R())?Ue:"")?A=[A,W,oe,be,Ue]:(A=null,s=kt),null!==A&&(A=void(Ce.rport=parseInt(A.join("")))),null===A&&(s=Ye),A}function Zo(){var A,W,oe,be,Ue,Ye;return Ye=s,null!==(A=fl())&&null!==(W=ve())&&null!==(oe=X())&&null!==(be=ve())&&null!==(Ue=hl())?A=[A,W,oe,be,Ue]:(A=null,s=Ye),A}function fl(){var A,W;return W=s,"sip"===a.substr(s,3).toLowerCase()?(A=a.substr(s,3),s+=3):(A=null,0===h&&p('"
1SIP"')),null===A&&(A=X()),null!==A&&(A=void(Ce.protocol=A)),null===A&&(s=W),A}function hl(){var A,W;return W=s,"udp"===a.substr(s,3).toLowerCase()?(A=a.substr(s,3),s+=3):(A=null,0===h&&p('"UDP"')),null===A&&("tcp"===a.substr(s,3).toLowerCase()?(A=a.substr(s,3),s+=3):(A=null,0===h&&p('"TCP"')),null===A&&("tls"===a.substr(s,3).toLowerCase()?(A=a.substr(s,3),s+=3):(A=null,0===h&&p('"TLS"')),null===A&&("sctp"===a.substr(s,4).toLowerCase()?(A=a.substr(s,4),s+=4):(A=null,0===h&&p('"SCTP"')),null===A&&(A=X())))),null!==A&&(A=void(Ce.transport=A)),null===A&&(s=W),A}function Rl(){var A,W,oe,be,Ue;return be=s,null!==(A=tl())?(Ue=s,null!==(W=qt())&&null!==(oe=Ma())?W=[W,oe]:(W=null,s=Ue),null!==(W=null!==W?W:"")?A=[A,W]:(A=null,s=be)):(A=null,s=be),A}function tl(){var A,W;return W=s,null===(A=Nr())&&null===(A=Gr())&&(A=tr()),null!==A&&(A=void(Ce.host=a.substring(s,W))),null===A&&(s=W),A}function Ma(){var A,W,oe,be,Ue,Ye,kt;return Ye=s,kt=s,null!==(A=null!==(A=R())?A:"")&&null!==(W=null!==(W=R())?W:"")&&null!==(oe=null!==(oe=R())?oe:"")&&null!==(be=null!==(be=R())?be:"")&&null!==(Ue=null!==(Ue=R())?Ue:"")?A=[A,W,oe,be,Ue]:(A=null,s=kt),null!==A&&(A=void(Ce.port=parseInt(A.join("")))),null===A&&(s=Ye),A}function Va(){var A,W,oe,be,Ue;return be=s,Ue=s,null!==(A=R())&&null!==(W=null!==(W=R())?W:"")&&null!==(oe=null!==(oe=R())?oe:"")?A=[A,W,oe]:(A=null,s=Ue),null!==A&&(A=parseInt(A.join(""))),null===A&&(s=be),A}function nl(){var A,W;return W=s,null!==(A=ji())&&(A=void(Ce.expires=A)),null===A&&(s=W),A}function Zs(){var A;return null===(A=_a())&&(A=xo()),A}function _a(){var A,W,oe,be,Ue;return be=s,Ue=s,"refresher"===a.substr(s,9).toLowerCase()?(A=a.substr(s,9),s+=9):(A=null,0===h&&p('"refresher"')),null!==A&&null!==(W=we())?("uac"===a.substr(s,3).toLowerCase()?(oe=a.substr(s,3),s+=3):(oe=null,0===h&&p('"uac"')),null===oe&&("uas"===a.substr(s,3).toLowerCase()?(oe=a.substr(s,3),s+=3):(oe=null,0===h&&p('"uas"'))),null!==oe?A=[A,W,oe]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(A=void(Ce.refresher=A[2].toLowerCase())),null===A&&(s=be),A}function _o(){var A,W;for(A=[],null===(W=ce())&&null===(W=re())&&(W=Y());null!==W;)A.push(W),null===(W=ce())&&null===(W=re())&&(W=Y());return A}function hs(){var A,W,oe,be,Ue,Ye,kt,on,xn,pr,Rr;return pr=s,Rr=s,null!==(A=Ml())?(45===a.charCodeAt(s)?(W="-",s++):(W=null,0===h&&p('"-"')),null!==W&&null!==(oe=Go())?(45===a.charCodeAt(s)?(be="-",s++):(be=null,0===h&&p('"-"')),null!==be&&null!==(Ue=Go())?(45===a.charCodeAt(s)?(Ye="-",s++):(Ye=null,0===h&&p('"-"')),null!==Ye&&null!==(kt=Go())?(45===a.charCodeAt(s)?(on="-",s++):(on=null,0===h&&p('"-"')),null!==on&&null!==(xn=Yo())?A=[A,W,oe,be,Ue,Ye,kt,on,xn]:(A=null,s=Rr)):(A=null,s=Rr)):(A=null,s=Rr)):(A=null,s=Rr)):(A=null,s=Rr),null!==A&&(A=void(Ce=a.substring(s+5,pr))),null===A&&(s=pr),A}function Go(){var A,W,oe,be,Ue;return Ue=s,null!==(A=k())&&null!==(W=k())&&null!==(oe=k())&&null!==(be=k())?A=[A,W,oe,be]:(A=null,s=Ue),A}function Ml(){var A,W,oe;return oe=s,null!==(A=Go())&&null!==(W=Go())?A=[A,W]:(A=null,s=oe),A}function Yo(){var A,W,oe,be;return be=s,null!==(A=Go())&&null!==(W=Go())&&null!==(oe=Go())?A=[A,W,oe]:(A=null,s=be),A}function $l(){var A,W,oe,be,Ue,Ye;return be=s,Ue=s,null!==(A=G())?(Ye=s,64===a.charCodeAt(s)?(W="@",s++):(W=null,0===h&&p('"@"')),null!==W&&null!==(oe=G())?W=[W,oe]:(W=null,s=Ye),null!==(W=null!==W?W:"")?A=[A,W]:(A=null,s=Ue)):(A=null,s=Ue),null!==A&&(A=void(Ce.call_id=a.substring(s,be))),null===A&&(s=be),A}function La(){var A;return null===(A=Nn())&&null===(A=xr())&&null===(A=kr())&&(A=xo()),A}function Nn(){var A,W,oe,be,Ue;return be=s,Ue=s,"to-tag"===a.substr(s,6)?(A="to-tag",s+=6):(A=null,0===h&&p('"to-tag"')),null!==A&&null!==(W=we())&&null!==(oe=X())?A=[A,W,oe]:(A=null,s=Ue),null!==A&&(A=void(Ce.to_tag=A[2])),null===A&&(s=be),A}function xr(){var A,W,oe,be,Ue;return be=s,Ue=s,"from-tag"===a.substr(s,8)?(A="from-tag",s+=8):(A=null,0===h&&p('"from-tag"')),null!==A&&null!==(W=we())&&null!==(oe=X())?A=[A,W,oe]:(A=null,s=Ue),null!==A&&(A=void(Ce.from_tag=A[2])),null===A&&(s=be),A}function kr(){var A,W;return W=s,"early-only"===a.substr(s,10)?(A="early-only",s+=10):(A=null,0===h&&p('"early-only"')),null!==A&&(A=void(Ce.early_only=!0)),null===A&&(s=W),A}var zo=f(56393),Es=f(88062),Ce={};if(null===T[E]()||s!==a.length){var $e=Math.max(s,u),tt=$e<a.length?a.charAt($e):null,Et=function fo(){for(var A=1,W=1,oe=!1,be=0;be<Math.max(s,u);be++){var Ue=a.charAt(be);"\n"===Ue?(oe||A++,W=1,oe=!1):"\r"===Ue||"\u2028"===Ue||"\u2029"===Ue?(A++,W=1,oe=!0):(W++,oe=!1)}return{line:A,column:W}}();return new this.SyntaxError(function Ii(A){A.sort();for(var W=null,oe=[],be=0;be<A.length;be++)A[be]!==W&&(oe.push(A[be]),W=A[be]);return oe}(v),tt,$e,Et.line,Et.column),-1}return Ce},toSource:function(){return this._source},SyntaxError:function(C,a,E,T,s){this.name="SyntaxError",this.expected=C,this.found=a,this.message=function h(u,v){var g;switch(u.length){case 0:g="end of input";break;case 1:g=u[0];break;default:g=u.slice(0,u.length-1).join(", ")+" or "+u[u.length-1]}return"Expected "+g+" but "+(v?c(v):"end of input")+" found."}(C,a),this.offset=E,this.line=T,this.column=s}};return o.SyntaxError.prototype=Error.prototype,o}()},61594:(ge,_,f)=>{"use strict";var c=f(20633),o=f(49698),C=f(37453),a=f(250),E=f(9353),T=f(56393),s=f(88062),h=f(22446),u=f(2317);f(80282)("JsSIP")("version %s",c.version),ge.exports={C:o,Exceptions:C,Utils:a,UA:E,URI:T,NameAddrHeader:s,WebSocketInterface:u,Grammar:h,debug:f(80282),get name(){return c.title},get version(){return c.version}}},83351:(ge,_,f)=>{"use strict";function o(T,s){for(var h=0;h<s.length;h++){var u=s[h];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(T,u.key,u)}}var a=f(80282),E="JsSIP";ge.exports=function(){function T(s){(function c(T,s){if(!(T instanceof s))throw new TypeError("Cannot call a class as a function")})(this,T),s?(this._debug=a.default("".concat(E,":").concat(s)),this._warn=a.default("".concat(E,":WARN:").concat(s)),this._error=a.default("".concat(E,":ERROR:").concat(s))):(this._debug=a.default(E),this._warn=a.default("".concat(E,":WARN")),this._error=a.default("".concat(E,":ERROR"))),this._debug.log=console.info.bind(console),this._warn.log=console.warn.bind(console),this._error.log=console.error.bind(console)}
1return function C(T,s,h){s&&o(T.prototype,s),h&&o(T,h)}(T,[{key:"debug",get:function(){return this._debug}},{key:"warn",get:function(){return this._warn}},{key:"error",get:function(){return this._error}}]),T}()},68304:(ge,_,f)=>{"use strict";function c(z){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(x){return typeof x}:function(x){return x&&"function"==typeof Symbol&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x})(z)}function C(z,H){for(var x=0;x<H.length;x++){var q=H[x];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(z,q.key,q)}}function T(z,H){return(T=Object.setPrototypeOf||function(q,Z){return q.__proto__=Z,q})(z,H)}function g(z){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)})(z)}var y=f(44356).EventEmitter,p=f(83351),b=f(49698),R=f(10688),P=f(250),k=f(75739),O=f(37453),V=f(56393),K=new p("Message");ge.exports=function(z){!function E(z,H){if("function"!=typeof H&&null!==H)throw new TypeError("Super expression must either be null or a function");z.prototype=Object.create(H&&H.prototype,{constructor:{value:z,writable:!0,configurable:!0}}),H&&T(z,H)}(x,z);var H=function s(z){var H=function v(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var Z,q=g(z);if(H){var de=g(this).constructor;Z=Reflect.construct(q,arguments,de)}else Z=q.apply(this,arguments);return function h(z,H){return!H||"object"!==c(H)&&"function"!=typeof H?function u(z){if(void 0===z)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}(z):H}(this,Z)}}(x);function x(q){var Z;return function o(z,H){if(!(z instanceof H))throw new TypeError("Cannot call a class as a function")}(this,x),(Z=H.call(this))._ua=q,Z._request=null,Z._closed=!1,Z._direction=null,Z._local_identity=null,Z._remote_identity=null,Z._is_replied=!1,Z._data={},Z}return function a(z,H,x){H&&C(z.prototype,H),x&&C(z,x)}(x,[{key:"send",value:function(Z,de){var ee=this,Y=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},ae=Z;if(void 0===Z||void 0===de)throw new TypeError("Not enough arguments");if(!(Z=this._ua.normalizeTarget(Z)))throw new TypeError("Invalid target: ".concat(ae));var fe=P.cloneArray(Y.extraHeaders),ne=P.cloneObject(Y.eventHandlers),ce=Y.contentType||"text/plain",me={};for(var re in Y.fromUserName&&(me.from_uri=new V("sip",Y.fromUserName,this._ua.configuration.uri.host),fe.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString()))),Y.fromDisplayName&&(me.from_display_name=Y.fromDisplayName),ne)Object.prototype.hasOwnProperty.call(ne,re)&&this.on(re,ne[re]);fe.push("Content-Type: ".concat(ce)),this._request=new R.OutgoingRequest(b.MESSAGE,Z,this._ua,me,fe),de&&(this._request.body=de);var $=new k(this._ua,this._request,{onRequestTimeout:function(){ee._onRequestTimeout()},onTransportError:function(){ee._onTransportError()},onReceiveResponse:function(M){ee._receiveResponse(M)}});this._newMessage("local",this._request),$.send()}},{key:"init_incoming",value:function(Z){this._request=Z,this._newMessage("remote",Z),this._is_replied||(this._is_replied=!0,Z.reply(200)),this._close()}},{key:"accept",value:function(){var Z=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},de=P.cloneArray(Z.extraHeaders),ee=Z.body;if("incoming"!==this._direction)throw new O.NotSupportedError('"accept" not supported for outgoing Message');if(this._is_replied)throw new Error("incoming Message already replied");this._is_replied=!0,this._request.reply(200,null,de,ee)}},{key:"reject",value:function(){var Z=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},de=Z.status_code||480,ee=Z.reason_phrase,Y=P.cloneArray(Z.extraHeaders),ae=Z.body;if("incoming"!==this._direction)throw new O.NotSupportedError('"reject" not supported for outgoing Message');if(this._is_replied)throw new Error("incoming Message already replied");
1if(de<300||de>=700)throw new TypeError("Invalid status_code: ".concat(de));this._is_replied=!0,this._request.reply(de,ee,Y,ae)}},{key:"_receiveResponse",value:function(Z){if(!this._closed)switch(!0){case/^1[0-9]{2}$/.test(Z.status_code):break;case/^2[0-9]{2}$/.test(Z.status_code):this._succeeded("remote",Z);break;default:var de=P.sipErrorCause(Z.status_code);this._failed("remote",Z,de)}}},{key:"_onRequestTimeout",value:function(){this._closed||this._failed("system",null,b.causes.REQUEST_TIMEOUT)}},{key:"_onTransportError",value:function(){this._closed||this._failed("system",null,b.causes.CONNECTION_ERROR)}},{key:"_close",value:function(){this._closed=!0,this._ua.destroyMessage(this)}},{key:"_newMessage",value:function(Z,de){"remote"===Z?(this._direction="incoming",this._local_identity=de.to,this._remote_identity=de.from):"local"===Z&&(this._direction="outgoing",this._local_identity=de.from,this._remote_identity=de.to),this._ua.newMessage(this,{originator:Z,message:this,request:de})}},{key:"_failed",value:function(Z,de,ee){K.debug("MESSAGE failed"),this._close(),K.debug('emit "failed"'),this.emit("failed",{originator:Z,response:de||null,cause:ee})}},{key:"_succeeded",value:function(Z,de){K.debug("MESSAGE succeeded"),this._close(),K.debug('emit "succeeded"'),this.emit("succeeded",{originator:Z,response:de})}},{key:"direction",get:function(){return this._direction}},{key:"local_identity",get:function(){return this._local_identity}},{key:"remote_identity",get:function(){return this._remote_identity}}]),x}(y)},88062:(ge,_,f)=>{"use strict";function o(T,s){for(var h=0;h<s.length;h++){var u=s[h];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(T,u.key,u)}}function C(T,s,h){return s&&o(T.prototype,s),h&&o(T,h),T}var a=f(56393),E=f(22446);ge.exports=function(){function T(s,h,u){if(function c(T,s){if(!(T instanceof s))throw new TypeError("Cannot call a class as a function")}(this,T),!(s&&s instanceof a))throw new TypeError('missing or invalid "uri" parameter');for(var v in this._uri=s,this._parameters={},this.display_name=h,u)Object.prototype.hasOwnProperty.call(u,v)&&this.setParam(v,u[v])}return C(T,null,[{key:"parse",value:function(h){if(-1!==(h=E.parse(h,"Name_Addr_Header")))return h}}]),C(T,[{key:"setParam",value:function(h,u){h&&(this._parameters[h.toLowerCase()]=typeof u>"u"||null===u?null:u.toString())}},{key:"getParam",value:function(h){if(h)return this._parameters[h.toLowerCase()]}},{key:"hasParam",value:function(h){if(h)return!!this._parameters.hasOwnProperty(h.toLowerCase())}},{key:"deleteParam",value:function(h){if(h=h.toLowerCase(),this._parameters.hasOwnProperty(h)){var u=this._parameters[h];return delete this._parameters[h],u}}},{key:"clearParams",value:function(){this._parameters={}}},{key:"clone",value:function(){return new T(this._uri.clone(),this._display_name,JSON.parse(JSON.stringify(this._parameters)))}},{key:"_quote",value:function(h){return h.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}},{key:"toString",value:function(){var h=this._display_name?'"'.concat(this._quote(this._display_name),'" '):"";for(var u in h+="<".concat(this._uri.toString(),">"),this._parameters)Object.prototype.hasOwnProperty.call(this._parameters,u)&&(h+=";".concat(u),null!==this._parameters[u]&&(h+="=".concat(this._parameters[u])));return h}},{key:"uri",get:function(){return this._uri}},{key:"display_name",get:function(){return this._display_name},set:function(h){this._display_name=0===h?"0":h}}]),T}()},79365:(ge,_,f)=>{"use strict";function c(K){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(H){return typeof H}:function(H){return H&&"function"==typeof Symbol&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H})(K)}function C(K,z){for(var H=0;H<z.length;H++){var x=z[H];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(K,x.key,x)}}function T(K,z){return(T=Object.setPrototypeOf||function(x,q){return x.__proto__=q,x})(K,z)}function g(K){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)})(K)}var y=f(44356).EventEmitter,p=f(83351),b=f(49698),R=f(10688),P=f(250),k=f(75739),O=f
1(37453),V=new p("Options");ge.exports=function(K){!function E(K,z){if("function"!=typeof z&&null!==z)throw new TypeError("Super expression must either be null or a function");K.prototype=Object.create(z&&z.prototype,{constructor:{value:K,writable:!0,configurable:!0}}),z&&T(K,z)}(H,K);var z=function s(K){var z=function v(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var q,x=g(K);if(z){var Z=g(this).constructor;q=Reflect.construct(x,arguments,Z)}else q=x.apply(this,arguments);return function h(K,z){return!z||"object"!==c(z)&&"function"!=typeof z?function u(K){if(void 0===K)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return K}(K):z}(this,q)}}(H);function H(x){var q;return function o(K,z){if(!(K instanceof z))throw new TypeError("Cannot call a class as a function")}(this,H),(q=z.call(this))._ua=x,q._request=null,q._closed=!1,q._direction=null,q._local_identity=null,q._remote_identity=null,q._is_replied=!1,q._data={},q}return function a(K,z,H){z&&C(K.prototype,z),H&&C(K,H)}(H,[{key:"send",value:function(q,Z){var de=this,ee=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},Y=q;if(void 0===q)throw new TypeError("A target is required for OPTIONS");if(!(q=this._ua.normalizeTarget(q)))throw new TypeError("Invalid target: ".concat(Y));var ae=P.cloneArray(ee.extraHeaders),fe=P.cloneObject(ee.eventHandlers),ne=ee.contentType||"application/sdp";for(var ce in fe)Object.prototype.hasOwnProperty.call(fe,ce)&&this.on(ce,fe[ce]);ae.push("Content-Type: ".concat(ne)),this._request=new R.OutgoingRequest(b.OPTIONS,q,this._ua,null,ae),Z&&(this._request.body=Z);var me=new k(this._ua,this._request,{onRequestTimeout:function(){de._onRequestTimeout()},onTransportError:function(){de._onTransportError()},onReceiveResponse:function($){de._receiveResponse($)}});this._newOptions("local",this._request),me.send()}},{key:"init_incoming",value:function(q){this._request=q,this._newOptions("remote",q),this._is_replied||(this._is_replied=!0,q.reply(200)),this._close()}},{key:"accept",value:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Z=P.cloneArray(q.extraHeaders),de=q.body;if("incoming"!==this._direction)throw new O.NotSupportedError('"accept" not supported for outgoing Options');if(this._is_replied)throw new Error("incoming Options already replied");this._is_replied=!0,this._request.reply(200,null,Z,de)}},{key:"reject",value:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Z=q.status_code||480,de=q.reason_phrase,ee=P.cloneArray(q.extraHeaders),Y=q.body;if("incoming"!==this._direction)throw new O.NotSupportedError('"reject" not supported for outgoing Options');if(this._is_replied)throw new Error("incoming Options already replied");if(Z<300||Z>=700)throw new TypeError("Invalid status_code: ".concat(Z));this._is_replied=!0,this._request.reply(Z,de,ee,Y)}},{key:"_receiveResponse",value:function(q){if(!this._closed)switch(!0){case/^1[0-9]{2}$/.test(q.status_code):break;case/^2[0-9]{2}$/.test(q.status_code):this._succeeded("remote",q);break;default:var Z=P.sipErrorCause(q.status_code);this._failed("remote",q,Z)}}},{key:"_onRequestTimeout",value:function(){this._closed||this._failed("system",null,b.causes.REQUEST_TIMEOUT)}},{key:"_onTransportError",value:function(){this._closed||this._failed("system",null,b.causes.CONNECTION_ERROR)}},{key:"_close",value:function(){this._closed=!0,this._ua.destroyMessage(this)}},{key:"_newOptions",value:function(q,Z){"remote"===q?(this._direction="incoming",this._local_identity=Z.to,this._remote_identity=Z.from):"local"===q&&(this._direction="outgoing",this._local_identity=Z.from,this._remote_identity=Z.to),this._ua.newOptions(this,{originator:q,message:this,request:Z})}},{key:"_failed",value:function(q,Z,de){V.debug("OPTIONS failed"),this._close(),V.debug('emit "failed"'),this.emit("failed",{originator:q,response:Z||null,cause:de})}},{key:"_succeeded",value:function(q,Z){V.debug("OPTIONS succeeded"),this._close(),V.debug('emit "succeeded"'),this.emit
vendor: 4,433 bytes, line 1
1("succeeded",{originator:q,response:Z})}},{key:"direction",get:function(){return this._direction}},{key:"local_identity",get:function(){return this._local_identity}},{key:"remote_identity",get:function(){return this._remote_identity}}]),H}(y)},77120:(ge,_,f)=>{"use strict";function c(v,g){var y;if(typeof Symbol>"u"||null==v[Symbol.iterator]){if(Array.isArray(v)||(y=function o(v,g){if(v){if("string"==typeof v)return C(v,g);var y=Object.prototype.toString.call(v).slice(8,-1);if("Object"===y&&v.constructor&&(y=v.constructor.name),"Map"===y||"Set"===y)return Array.from(v);if("Arguments"===y||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return C(v,g)}}(v))||g&&v&&"number"==typeof v.length){y&&(v=y);var p=0,b=function(){};return{s:b,n:function(){return p>=v.length?{done:!0}:{done:!1,value:v[p++]}},e:function(V){throw V},f:b}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var k,R=!0,P=!1;return{s:function(){y=v[Symbol.iterator]()},n:function(){var V=y.next();return R=V.done,V},e:function(V){P=!0,k=V},f:function(){try{!R&&null!=y.return&&y.return()}finally{if(P)throw k}}}}function C(v,g){(null==g||g>v.length)&&(g=v.length);for(var y=0,p=new Array(g);y<g;y++)p[y]=v[y];return p}var a=f(83351),E=f(22446),T=f(10688),s=new a("Parser");function h(v,g){var y=g,p=0,b=0;if(v.substring(y,y+2).match(/(^\r\n)/))return-2;for(;0===p;){if(-1===(b=v.indexOf("\r\n",y)))return b;!v.substring(b+2,b+4).match(/(^\r\n)/)&&v.charAt(b+2).match(/(^\s+)/)?y=b+2:p=b}return p}function u(v,g,y,p){var b,R=g.indexOf(":",y),P=g.substring(y,R).trim(),k=g.substring(R+1,p).trim();switch(P.toLowerCase()){case"via":case"v":v.addHeader("via",k),1===v.getHeaders("via").length?(b=v.parseHeader("Via"))&&(v.via=b,v.via_branch=b.branch):b=0;break;case"from":case"f":v.setHeader("from",k),(b=v.parseHeader("from"))&&(v.from=b,v.from_tag=b.getParam("tag"));break;case"to":case"t":v.setHeader("to",k),(b=v.parseHeader("to"))&&(v.to=b,v.to_tag=b.getParam("tag"));break;case"record-route":if(-1===(b=E.parse(k,"Record_Route")))b=void 0;else{var V,O=c(b);try{for(O.s();!(V=O.n()).done;){var K=V.value;v.addHeader("record-route",k.substring(K.possition,K.offset)),v.headers["Record-Route"][v.getHeaders("record-route").length-1].parsed=K.parsed}}catch(q){O.e(q)}finally{O.f()}}break;case"call-id":case"i":v.setHeader("call-id",k),(b=v.parseHeader("call-id"))&&(v.call_id=k);break;case"contact":case"m":if(-1===(b=E.parse(k,"Contact")))b=void 0;else{var H,z=c(b);try{for(z.s();!(H=z.n()).done;){var x=H.value;v.addHeader("contact",k.substring(x.possition,x.offset)),v.headers.Contact[v.getHeaders("contact").length-1].parsed=x.parsed}}catch(q){z.e(q)}finally{z.f()}}break;case"content-length":case"l":v.setHeader("content-length",k),b=v.parseHeader("content-length");break;case"content-type":case"c":v.setHeader("content-type",k),b=v.parseHeader("content-type");break;case"cseq":v.setHeader("cseq",k),(b=v.parseHeader("cseq"))&&(v.cseq=b.value),v instanceof T.IncomingResponse&&(v.method=b.method);break;case"max-forwards":v.setHeader("max-forwards",k),b=v.parseHeader("max-forwards");break;case"www-authenticate":v.setHeader("www-authenticate",k),b=v.parseHeader("www-authenticate");break;case"proxy-authenticate":v.setHeader("proxy-authenticate",k),b=v.parseHeader("proxy-authenticate");break;case"session-expires":case"x":v.setHeader("session-expires",k),(b=v.parseHeader("session-expires"))&&(v.session_expires=b.expires,v.session_expires_refresher=b.refresher);break;case"refer-to":case"r":v.setHeader("refer-to",k),(b=v.parseHeader("refer-to"))&&(v.refer_to=b);break;case"replaces":v.setHeader("replaces",k),(b=v.parseHeader("replaces"))&&(v.replaces=b);break;case"event":case"o":v.setHeader("event",k),(b=v.parseHeader("event"))&&(v.event=b);break;default:v.addHeader(P,k),b=0}return void 0!==b||{error:'error parsing header "'.concat(P,'"')}}_.parseMessage=function(v,g){var y,p,b=v.indexOf("\r\n");if(-1!==b){var R=v.substring(0,b),P=E.parse(R,"Request_Response");if(-1!==P){P.status_code?((y=new T.IncomingResponse).status_code=P.status_code,y.reason_phrase=P.reason_phrase):((y=new T.IncomingRequest(g)).method=P.method,y.ruri=P.uri),y.data=v;for(var k=b+2;;){if(-2===(b=h(v,k))){p=k+2;break}if(-1===b)return void s.warn("parseMessage() | malformed message");if(!0!==(P=u(y,v,k,b)))return void s.warn("parseMessage() |",P.error);k=b+2}
1if(y.hasHeader("content-length")){var O=y.getHeader("content-length");y.body=v.substr(p,O)}else y.body=v.substring(p);return y}s.warn('parseMessage() | error parsing first line of SIP message: "'.concat(R,'"'))}else s.warn("parseMessage() | no CRLF found, not a SIP message")}},29982:(ge,_,f)=>{"use strict";function c(re){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(X){return typeof X}:function(X){return X&&"function"==typeof Symbol&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X})(re)}function o(re,$){var X;if(typeof Symbol>"u"||null==re[Symbol.iterator]){if(Array.isArray(re)||(X=function C(re,$){if(re){if("string"==typeof re)return a(re,$);var X=Object.prototype.toString.call(re).slice(8,-1);if("Object"===X&&re.constructor&&(X=re.constructor.name),"Map"===X||"Set"===X)return Array.from(re);if("Arguments"===X||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(X))return a(re,$)}}(re))||$&&re&&"number"==typeof re.length){X&&(re=X);var M=0,N=function(){};return{s:N,n:function(){return M>=re.length?{done:!0}:{done:!1,value:re[M++]}},e:function(Re){throw Re},f:N}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var ve,G=!0,ue=!1;return{s:function(){X=re[Symbol.iterator]()},n:function(){var Re=X.next();return G=Re.done,Re},e:function(Re){ue=!0,ve=Re},f:function(){try{!G&&null!=X.return&&X.return()}finally{if(ue)throw ve}}}}function a(re,$){(null==$||$>re.length)&&($=re.length);for(var X=0,M=new Array($);X<$;X++)M[X]=re[X];return M}function T(re,$){for(var X=0;X<$.length;X++){var M=$[X];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(re,M.key,M)}}function s(re,$,X){return $&&T(re.prototype,$),X&&T(re,X),re}function u(re,$){return(u=Object.setPrototypeOf||function(M,N){return M.__proto__=N,M})(re,$)}function b(re){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(X){return X.__proto__||Object.getPrototypeOf(X)})(re)}var R=f(44356).EventEmitter,P=f(86888),k=f(83351),O=f(49698),V=f(37453),K=f(72742),z=f(250),H=f(2381),x=f(10688),q=f(52027),Z=f(75739),de=f(45526),ee=f(50857),Y=f(91081),ae=f(43357),fe=f(56393),ne=new k("RTCSession"),ce={STATUS_NULL:0,STATUS_INVITE_SENT:1,STATUS_1XX_RECEIVED:2,STATUS_INVITE_RECEIVED:3,STATUS_WAITING_FOR_ANSWER:4,STATUS_ANSWERED:5,STATUS_WAITING_FOR_ACK:6,STATUS_CANCELED:7,STATUS_TERMINATED:8,STATUS_CONFIRMED:9},me=["audio","video"];ge.exports=function(re){!function h(re,$){if("function"!=typeof $&&null!==$)throw new TypeError("Super expression must either be null or a function");re.prototype=Object.create($&&$.prototype,{constructor:{value:re,writable:!0,configurable:!0}}),$&&u(re,$)}(X,re);var $=function v(re){var $=function p(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var N,M=b(re);if($){var G=b(this).constructor;N=Reflect.construct(M,arguments,G)}else N=M.apply(this,arguments);return function g(re,$){return!$||"object"!==c($)&&"function"!=typeof $?function y(re){if(void 0===re)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return re}(re):$}(this,N)}}(X);function X(M){var N;return function E(re,$){if(!(re instanceof $))throw new TypeError("Cannot call a class as a function")}(this,X),ne.debug("new"),(N=$.call(this))._id=null,N._ua=M,N._status=ce.STATUS_NULL,N._dialog=null,N._earlyDialogs={},N._contact=null,N._from_tag=null,N._to_tag=null,N._connection=null,N._connectionPromiseQueue=Promise.resolve(),N._request=null,N._is_canceled=!1,N._cancel_reason="",N._is_confirmed=!1,N._late_sdp=!1,N._rtcOfferConstraints=null,N._rtcAnswerConstraints=null,N._localMediaStream=null,N._localMediaStreamLocallyGenerated=!1,N._rtcReady=!0,N._iceReady=!1,N._timers={ackTimer:null,expiresTimer:null,invite2xxTimer:null,userNoAnswerTimer:null},N._direction=null,N._local_identity=null,N._remote_identity=null,N._start_time=null,N._end_time=null,N._tones=null,N._audioMuted=!1,N._videoMuted=!1,N._localHold=!1,N._remoteHold=!1,N._sessionTimers={enabled:N._ua.configuration.session_timers,refreshMethod:N._ua.configuration.session_timers_refresh_method,defaultExpires:O.SESSION_EXPIRES,currentExpires:null,running:!1,refresher:!1,timer:null},N._referSubscribers={},N._data={},N}return s(X,null,[{key:"C",get:function(){return ce}}]),s(X,[{key:"isInProgress",value:function(){switch(this._status){case ce.STATUS_NULL:case ce.STATUS_INVITE_SENT:case ce.STATUS_1XX_RECEIVED:case ce.STATUS_INVITE_RECEIVED:case ce.STATUS_WAITING_FOR_ANSWER:return!0;default:return!1}}},{key:"isEstablished",value:function(){switch(this._status){case ce.STATUS_ANSWERED:case ce.STATUS_WAITING_FOR_ACK:case ce.STATUS_CONFIRMED:return!0;default:return!1}}},{key:"isEnded",value:function(){switch(this._status){case ce.STATUS_CANCELED:case ce.STATUS_TERMINATED:return!0;default:return!1}}},{key:"isMuted",value:function(){return{audio:this._audioMuted,video:this._videoMuted}}},{key:"isOnHold",value:function(){return{local:this._localHold,remote:this._remoteHold}}},{key:"connect",value:function(N){var G=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ue=arguments.length>2?arguments[2]:void 0;ne.debug("connect()");var ve=N,we=z.cloneObject(G.eventHandlers),Re=z.cloneArray(G.extraHeaders),et=z.cloneObject(G.mediaConstraints,{audio:!0,video:!0}),at=G.mediaStream||null,Pt=z.cloneObject(G.pcConfig,{iceServers:[]}),At=G.rtcConstraints||null,It=G.rtcOfferConstraints||null;if(this._rtcOfferConstraints=It,this._rtcAnswerConstraints=G.rtcAnswerConstraints||null,this._data=G.data||this._data,void 0===N)throw new TypeError("Not enough arguments");if(this._status!==ce.STATUS_NULL)throw new V.InvalidStateError(this._status);if(!window.RTCPeerConnection)throw new V.NotSupportedError("WebRTC not supported");if(!(N=this._ua.normalizeTarget(N)))throw new TypeError("Invalid target: ".concat(ve));for(var qt in this._sessionTimers.enabled&&z.isDecimal(G.sessionTimersExpires)&&(this._sessionTimers.defaultExpires=G.sessionTimersExpires>=O.MIN_SESSION_EXPIRES?G.sessionTimersExpires:O.SESSION_EXPIRES),we)Object.prototype.hasOwnProperty.call(we,qt)&&this.on(qt,we[qt]);this._from_tag=z.newTag();var St=G.anonymous||!1,lt={from_tag:this._from_tag};this._contact=this._ua.contact.toString({anonymous:St,outbound:!0}),St?(lt.from_display_name="Anonymous",lt.from_uri=new fe("sip","anonymous","anonymous.invalid"),Re.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString())),Re.push("Privacy: id")):G.fromUserName&&(lt.from_uri=new fe("sip",G.fromUserName,this._ua.configuration.uri.host),Re.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString()))),G.fromDis
1playName&&(lt.from_display_name=G.fromDisplayName),Re.push("Contact: ".concat(this._contact)),Re.push("Content-Type: application/sdp"),this._sessionTimers.enabled&&Re.push("Session-Expires: ".concat(this._sessionTimers.defaultExpires).concat(this._ua.configuration.session_timers_force_refresher?";refresher=uac":"")),this._request=new x.InitialOutgoingInviteRequest(N,this._ua,lt,Re),this._id=this._request.call_id+this._from_tag,this._createRTCConnection(Pt,At),this._direction="outgoing",this._local_identity=this._request.from,this._remote_identity=this._request.to,ue&&ue(this),this._newRTCSession("local",this._request),this._sendInitialRequest(et,It,at)}},{key:"init_incoming",value:function(N,G){var ue=this;ne.debug("init_incoming()");var ve,we=N.hasHeader("Content-Type")?N.getHeader("Content-Type").toLowerCase():void 0;N.body&&"application/sdp"!==we?N.reply(415):(this._status=ce.STATUS_INVITE_RECEIVED,this._from_tag=N.from_tag,this._id=N.call_id+this._from_tag,this._request=N,this._contact=this._ua.contact.toString(),N.hasHeader("expires")&&(ve=1e3*N.getHeader("expires")),N.to_tag=z.newTag(),this._createDialog(N,"UAS",!0)?(this._late_sdp=!N.body,this._status=ce.STATUS_WAITING_FOR_ANSWER,this._timers.userNoAnswerTimer=setTimeout(function(){N.reply(408),ue._failed("local",null,O.causes.NO_ANSWER)},this._ua.configuration.no_answer_timeout),ve&&(this._timers.expiresTimer=setTimeout(function(){ue._status===ce.STATUS_WAITING_FOR_ANSWER&&(N.reply(487),ue._failed("system",null,O.causes.EXPIRES))},ve)),this._direction="incoming",this._local_identity=N.to,this._remote_identity=N.from,G&&G(this),this._newRTCSession("remote",N),this._status!==ce.STATUS_TERMINATED&&(N.reply(180,null,["Contact: ".concat(this._contact)]),this._progress("local",null))):N.reply(500,"Missing Contact header field"))}},{key:"answer",value:function(){var N=this,G=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ne.debug("answer()");var ue=this._request,ve=z.cloneArray(G.extraHeaders),we=z.cloneObject(G.mediaConstraints),Re=G.mediaStream||null,et=z.cloneObject(G.pcConfig,{iceServers:[]}),at=G.rtcConstraints||null,Pt=G.rtcAnswerConstraints||null,At=z.cloneObject(G.rtcOfferConstraints),qt=!1,St=!1,lt=!1,yt=!1;if(this._rtcAnswerConstraints=Pt,this._rtcOfferConstraints=G.rtcOfferConstraints||null,this._data=G.data||this._data,"incoming"!==this._direction)throw new V.NotSupportedError('"answer" not supported for outgoing RTCSession');if(this._status!==ce.STATUS_WAITING_FOR_ANSWER)throw new V.InvalidStateError(this._status);if(this._sessionTimers.enabled&&z.isDecimal(G.sessionTimersExpires)&&(this._sessionTimers.defaultExpires=G.sessionTimersExpires>=O.MIN_SESSION_EXPIRES?G.sessionTimersExpires:O.SESSION_EXPIRES),this._status=ce.STATUS_ANSWERED,this._createDialog(ue,"UAS")){clearTimeout(this._timers.userNoAnswerTimer),ve.unshift("Contact: ".concat(this._contact));var Ft=ue.parseSDP();Array.isArray(Ft.media)||(Ft.media=[Ft.media]);var mt,rt=o(Ft.media);try{for(rt.s();!(mt=rt.n()).done;){var Mt=mt.value;"audio"===Mt.type&&(qt=!0,(!Mt.direction||"sendrecv"===Mt.direction)&&(lt=!0)),"video"===Mt.type&&(St=!0,(!Mt.direction||"sendrecv"===Mt.direction)&&(yt=!0))}}catch(or){rt.e(or)}finally{rt.f()}if(Re&&!1===we.audio){var Lt,Vt=o(Re.getAudioTracks());try{for(Vt.s();!(Lt=Vt.n()).done;)Re.removeTrack(Lt.value)}catch(or){Vt.e(or)}finally{Vt.f()}}if(Re&&!1===we.video){var An,Tn=o(Re.getVideoTracks());try{for(Tn.s();!(An=Tn.n()).done;)Re.removeTrack(An.value)}catch(or){Tn.e(or)}finally{Tn.f()}}!Re&&void 0===we.audio&&(we.audio=lt),!Re&&void 0===we.video&&(we.video=yt),!Re&&!qt&&!At.offerToReceiveAudio&&(we.audio=!1),!Re&&!St&&!At.offerToReceiveVideo&&(we.video=!1),this._createRTCConnection(et,at),Promise.resolve().then(function(){return Re||(we.audio||we.video?(N._localMediaStreamLocallyGenerated=!0,navigator.mediaDevices.getUserMedia(we).catch(function(or){throw N._status===ce.STATUS_TERMINATED?new Error("terminated"):(ue.reply(480),N._failed("local",null,O.causes.USER_DENIED_MEDIA_ACCESS),ne.warn('emit "getusermediafailed" [error:%o]',or),N.emit("getusermediafailed",or),new Error("getUserMedia() failed"))})):void 0)}).then(function(or){if(N._status===ce.STATUS_TERMINATED)throw new Error("terminated");
vendor: 37,689 bytes, line 1
1N._localMediaStream=or,or&&or.getTracks().forEach(function(br){N._connection.addTrack(br,or)})}).then(function(){if(!N._late_sdp){var or={originator:"remote",type:"offer",sdp:ue.body};ne.debug('emit "sdp"'),N.emit("sdp",or);var br=new RTCSessionDescription({type:"offer",sdp:or.sdp});return N._connectionPromiseQueue=N._connectionPromiseQueue.then(function(){return N._connection.setRemoteDescription(br)}).catch(function(Fr){throw ue.reply(488),N._failed("system",null,O.causes.WEBRTC_ERROR),ne.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',Fr),N.emit("peerconnection:setremotedescriptionfailed",Fr),new Error("peerconnection.setRemoteDescription() failed")}),N._connectionPromiseQueue}}).then(function(){if(N._status===ce.STATUS_TERMINATED)throw new Error("terminated");return N._connecting(ue),N._late_sdp?N._createLocalDescription("offer",N._rtcOfferConstraints).catch(function(){throw ue.reply(500),new Error("_createLocalDescription() failed")}):N._createLocalDescription("answer",Pt).catch(function(){throw ue.reply(500),new Error("_createLocalDescription() failed")})}).then(function(or){if(N._status===ce.STATUS_TERMINATED)throw new Error("terminated");N._handleSessionTimersInIncomingRequest(ue,ve),ue.reply(200,null,ve,or,function(){N._status=ce.STATUS_WAITING_FOR_ACK,N._setInvite2xxTimer(ue,or),N._setACKTimer(),N._accepted("local")},function(){N._failed("system",null,O.causes.CONNECTION_ERROR)})}).catch(function(or){N._status!==ce.STATUS_TERMINATED&&ne.warn(or)})}else ue.reply(500,"Error creating dialog")}},{key:"terminate",value:function(){var N=this,G=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ne.debug("terminate()");var Re,ue=G.cause||O.causes.BYE,ve=z.cloneArray(G.extraHeaders),we=G.body,et=G.status_code,at=G.reason_phrase;if(this._status===ce.STATUS_TERMINATED)throw new V.InvalidStateError(this._status);switch(this._status){case ce.STATUS_NULL:case ce.STATUS_INVITE_SENT:case ce.STATUS_1XX_RECEIVED:if(ne.debug("canceling session"),et&&(et<200||et>=700))throw new TypeError("Invalid status_code: ".concat(et));et&&(at=at||O.REASON_PHRASE[et]||"",Re="SIP ;cause=".concat(et,' ;text="').concat(at,'"')),this._status===ce.STATUS_NULL||this._status===ce.STATUS_INVITE_SENT?(this._is_canceled=!0,this._cancel_reason=Re):this._status===ce.STATUS_1XX_RECEIVED&&this._request.cancel(Re),this._status=ce.STATUS_CANCELED,this._failed("local",null,O.causes.CANCELED);break;case ce.STATUS_WAITING_FOR_ANSWER:case ce.STATUS_ANSWERED:if(ne.debug("rejecting session"),(et=et||480)<300||et>=700)throw new TypeError("Invalid status_code: ".concat(et));this._request.reply(et,at,ve,we),this._failed("local",null,O.causes.REJECTED);break;case ce.STATUS_WAITING_FOR_ACK:case ce.STATUS_CONFIRMED:if(ne.debug("terminating session"),at=G.reason_phrase||O.REASON_PHRASE[et]||"",et&&(et<200||et>=700))throw new TypeError("Invalid status_code: ".concat(et));if(et&&ve.push("Reason: SIP ;cause=".concat(et,'; text="').concat(at,'"')),this._status===ce.STATUS_WAITING_FOR_ACK&&"incoming"===this._direction&&this._request.server_transaction.state!==K.C.STATUS_TERMINATED){var Pt=this._dialog;this.receiveRequest=function(At){At.method===O.ACK&&(N.sendRequest(O.BYE,{extraHeaders:ve,body:we}),Pt.terminate())},this._request.server_transaction.on("stateChanged",function(){N._request.server_transaction.state===K.C.STATUS_TERMINATED&&(N.sendRequest(O.BYE,{extraHeaders:ve,body:we}),Pt.terminate())}),this._ended("local",null,ue),this._dialog=Pt,this._ua.newDialog(Pt)}else this.sendRequest(O.BYE,{extraHeaders:ve,body:we}),this._ended("local",null,ue)}}},{key:"sendDTMF",value:function(N){var G=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ne.debug("sendDTMF() | tones: %s",N);var ue=0,ve=G.duration||null,we=G.interToneGap||null,Re=G.transportType||O.DTMF_TRANSPORT.INFO;if(void 0===N)throw new TypeError("Not enough arguments");if(this._status!==ce.STATUS_CONFIRMED&&this._status!==ce.STATUS_WAITING_FOR_ACK&&this._status!==ce.STATUS_1XX_RECEIVED)throw new V.InvalidStateError(this._status);if(Re!==O.DTMF_TRANSPORT.INFO&&Re!==O.DTMF_TRANSPORT.RFC2833)throw new TypeError("invalid transportType: ".concat(Re));if("number"==typeof N&&(N=N.toString()),!N||"string"!=typeof N||!N.match(/^[0-9A-DR#*,]+$/i))throw new TypeError("Invalid tones: ".concat(N));if(ve&&!z.isDecimal(ve))throw new TypeError("Invalid tone duration: ".concat(ve));if(ve?ve<de.C.MIN_DURATION?(ne.debug('"duration" value is lower than the minimum allowed, setting it to '.concat(de.C.MIN_DURATION," milliseconds")),ve=de.C.MIN_DURATION):ve>de.C.MAX_DURATION?(ne.debug('"duration" value is greater than the maximum allowed, setting it to '.concat(de.C.MAX_DURATION," milliseconds")),ve=de.C.MAX_DURATION):ve=Math.abs(ve):ve=de.C.DEFAULT_DURATION,G.duration=ve,we&&!z.isDecimal(we))throw new TypeError("Invalid interToneGap: ".concat(we));if(we?we<de.C.MIN_INTER_TONE_GAP?(ne.debug('"interToneGap" value is lower than the minimum allowed, setting it to '.concat(de.C.MIN_INTER_TONE_GAP," milliseconds")),we=de.C.MIN_INTER_TONE_GAP):we=Math.abs(we):we=de.C.DEFAULT_INTER_TONE_GAP,Re!==O.DTMF_TRANSPORT.RFC2833)this._tones?this._tones+=N:(this._tones=N,function at(){var At,Pt=this;if(this._status===ce.STATUS_TERMINATED||!this._tones||ue>=this._tones.length)this._tones=null;else{var It=this._tones[ue];if(ue+=1,","===It)At=2e3;else{var qt=new de(this);G.eventHandlers={onFailed:function(){Pt._tones=null}},qt.send(It,G),At=ve+we}setTimeout(at.bind(this),At)}}.call(this));else{var et=this._getDTMFRTPSender();et&&et.insertDTMF(N=et.toneBuffer+N,ve,we)}}},{key:"sendInfo",value:function(N,G){var ue=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(ne.debug("sendInfo()"),this._status!==ce.STATUS_CONFIRMED&&this._status!==ce.STATUS_WAITING_FOR_ACK&&this._status!==ce.STATUS_1XX_RECEIVED)throw new V.InvalidStateError(this._status);new ee(this).send(N,G,ue)}},{key:"mute",value:function(){var N=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{audio:!0,video:!1};ne.debug("mute()");var G=!1,ue=!1;!1===this._audioMuted&&N.audio&&(G=!0,this._audioMuted=!0,this._toggleMuteAudio(!0)),!1===this._videoMuted&&N.video&&(ue=!0,this._videoMuted=!0,this._toggleMuteVideo(!0)),(!0===G||!0===ue)&&this._onmute({audio:G,video:ue})}},{key:"unmute",value:function(){var N=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{audio:!0,video:!0};ne.debug("unmute()");var G=!1,ue=!1;!0===this._audioMuted&&N.audio&&(G=!0,this._audioMuted=!1,!1===this._localHold&&this._toggleMuteAudio(!1)),!0===this._videoMuted&&N.video&&(ue=!0,this._videoMuted=!1,!1===this._localHold&&this._toggleMuteVideo(!1)),(!0===G||!0===ue)&&this._onunmute({audio:G,video:ue})}},{key:"hold",value:function(){var N=this,G=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ue=arguments.length>1?arguments[1]:void 0;if(ne.debug("hold()"),this._status!==ce.STATUS_WAITING_FOR_ACK&&this._status!==ce.STATUS_CONFIRMED||!0===this._localHold||!this._isReadyToReOffer())return!1;this._localHold=!0,this._onhold("local");var ve={succeeded:function(){ue&&ue()},failed:function(){N.terminate({cause:O.causes.WEBRTC_ERROR,status_code:500,reason_phrase:"Hold Failed"})}};return G.useUpdate?this._sendUpdate({sdpOffer:!0,eventHandlers:ve,extraHeaders:G.extraHeaders}):this._sendReinvite({eventHandlers:ve,extraHeaders:G.extraHeaders}),!0}},{key:"unhold",value:function(){var N=this,G=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ue=arguments.length>1?arguments[1]:void 0;if(ne.debug("unhold()"),this._status!==ce.STATUS_WAITING_FOR_ACK&&this._status!==ce.STATUS_CONFIRMED||!1===this._localHold||!this._isReadyToReOffer())return!1;this._localHold=!1,this._onunhold("local");var ve={succeeded:function(){ue&&ue()},failed:function(){N.terminate({cause:O.causes.WEBRTC_ERROR,status_code:500,reason_phrase:"Unhold Failed"})}};return G.useUpdate?this._sendUpdate({sdpOffer:!0,eventHandlers:ve,extraHeaders:G.extraHeaders}):this._sendReinvite({eventHandlers:ve,extraHeaders:G.extraHeaders}),!0}},{key:"renegotiate",value:function(){var N=this,G=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ue=arguments.length>1?arguments[1]:void 0;ne.debug("renegotiate()");var ve=G.rtcOfferConstraints||null;if(this._status!==ce.STATUS_WAITING_FOR_ACK&&this._status!==ce.STATUS_CONFIRMED||!this._isReadyToReOffer())return!1;var we={succeeded:function(){ue&&ue()},failed:function(){N.terminate({cause:O.causes.WEBRTC_ERROR,status_code:500,reason_phrase:"Media Renegotiation Failed"})}};return this._setLocalMediaStatus(),G.useUpdate?this._sendUpdate({sdpOffer:!0,eventHandlers:we,rtcOfferConstraints:ve,extraHeaders:G.extraHeaders}):this._sendReinvite({eventHandlers:we,rtcOfferConstraints:ve,extraHeaders:G.extraHeaders}),!0}},{key:"refer",value:function(N,G){var ue=this;ne.debug("refer()");var ve=N;if(this._status!==ce.STATUS_WAITING_FOR_ACK&&this._status!==ce.STATUS_CONFIRMED)return!1;if(!(N=this._ua.normalizeTarget(N)))throw new TypeError("Invalid target: ".concat(ve));var we=new ae(this);we.sendRefer(N,G);var Re=we.id;return this._referSubscribers[Re]=we,we.on("requestFailed",function(){delete ue._referSubscribers[Re]}),we.on("accepted",function(){delete ue._referSubscribers[Re]}),we.on("failed",function(){delete ue._referSubscribers[Re]}),we}},{key:"sendRequest",value:function(N,G){return ne.debug("sendRequest()"),this._dialog.sendRequest(N,G)}},{key:"receiveRequest",value:function(N){var G=this;if(ne.debug("receiveRequest()"),N.method===O.CANCEL)(this._status===ce.STATUS_WAITING_FOR_ANSWER||this._status===ce.STATUS_ANSWERED)&&(this._status=ce.STATUS_CANCELED,this._request.reply(487),this._failed("remote",N,O.causes.CANCELED));else switch(N.method){case O.ACK:if(this._status!==ce.STATUS_WAITING_FOR_ACK)return;if(this._status=ce.STATUS_CONFIRMED,clearTimeout(this._timers.ackTimer),clearTimeout(this._timers.invite2xxTimer),this._late_sdp){if(!N.body){this.terminate({cause:O.causes.MISSING_SDP,status_code:400});break}var ue={originator:"remote",type:"answer",sdp:N.body};ne.debug('emit "sdp"'),this.emit("sdp",ue);var ve=new RTCSessionDescription({type:"answer",sdp:ue.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return G._connection.setRemoteDescription(ve)}).then(function(){G._is_confirmed||G._confirmed("remote",N)}).catch(function(Re){G.terminate({cause:O.causes.BAD_MEDIA_DESCRIPTION,status_code:488}),ne.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',Re),G.emit("peerconnection:setremotedescriptionfailed",Re)})}else this._is_confirmed||this._confirmed("remote",N);break;case O.BYE:this._status===ce.STATUS_CONFIRMED||this._status===ce.STATUS_WAITING_FOR_ACK?(N.reply(200),this._ended("remote",N,O.causes.BYE)):this._status===ce.STATUS_INVITE_RECEIVED||this._status===ce.STATUS_WAITING_FOR_ANSWER?(N.reply(200),this._request.reply(487,"BYE Received"),this._ended("remote",N,O.causes.BYE)):N.reply(403,"Wrong Status");break;case O.INVITE:this._status===ce.STATUS_CONFIRMED?N.hasHeader("replaces")?this._receiveReplaces(N):this._receiveReinvite(N):N.reply(403,"Wrong Status");break;case O.INFO:if(this._status===ce.STATUS_1XX_RECEIVED||this._status===ce.STATUS_WAITING_FOR_ANSWER||this._status===ce.STATUS_ANSWERED||this._status===ce.STATUS_WAITING_FOR_ACK||this._status===ce.STATUS_CONFIRMED){var we=N.hasHeader("Content-Type")?N.getHeader("Content-Type").toLowerCase():void 0;we&&we.match(/^application\/dtmf-relay/i)?new de(this).init_incoming(N):void 0!==we?new ee(this).init_incoming(N):N.reply(415)}else N.reply(403,"Wrong Status");break;case O.UPDATE:this._status===ce.STATUS_CONFIRMED?this._receiveUpdate(N):N.reply(403,"Wrong Status");break;case O.REFER:this._status===ce.STATUS_CONFIRMED?this._receiveRefer(N):N.reply(403,"Wrong Status");break;case O.NOTIFY:this._status===ce.STATUS_CONFIRMED?this._receiveNotify(N):N.reply(403,"Wrong Status");break;default:N.reply(501)}}},{key:"onTransportError",value:function(){ne.warn("onTransportError()"),this._status!==ce.STATUS_TERMINATED&&this.terminate({status_code:500,reason_phrase:O.causes.CONNECTION_ERROR,cause:O.causes.CONNECTION_ERROR})}},{key:"onRequestTimeout",value:function(){ne.warn("onRequestTimeout()"),this._status!==ce.STATUS_TERMINATED&&this.terminate({status_code:408,reason_phrase:O.causes.REQUEST_TIMEOUT,cause:O.causes.REQUEST_TIMEOUT})}},{key:"onDialogError",value:function(){ne.warn("onDialogError()"),this._status!==ce.STATUS_TERMINATED&&this.terminate({status_code:500,reason_phrase:O.causes.DIALOG_ERROR,cause:O.causes.DIALOG_ERROR})}},{key:"newDTMF",value:function(N){ne.debug("newDTMF()"),this.emit("newDTMF",N)}},{key:"newInfo",value:function(N){ne.debug("newInfo()"),this.emit("newInfo",N)}},{key:"_isReadyToReOffer",value:function(){return this._rtcReady?this._dialog?!0!==this._dialog.uac_pending_reply&&!0!==this._dialog.uas_pending_reply||(ne.debug("_isReadyToReOffer() | there is another INVITE/UPDATE transaction in progress"),!1):(ne.debug("_isReadyToReOffer() | session not established yet"),!1):(ne.debug("_isReadyToReOffer() | internal WebRTC status not ready"),!1)}},{key:"_close",value:function(){if(ne.debug("close()"),this._localMediaStream&&this._localMediaStreamLocallyGenerated&&(ne.debug("close() | closing local MediaStream"),z.closeMediaStream(this._localMediaStream)),this._status!==ce.STATUS_TERMINATED){if(this._status=ce.STATUS_TERMINATED,this._connection)try{this._connection.close()}catch(ve){ne.warn("close() | error closing the RTCPeerConnection: %o",ve)}for(var N in this._timers)Object.prototype.hasOwnProperty.call(this._timers,N)&&clearTimeout(this._timers[N]);for(var G in clearTimeout(this._sessionTimers.timer),this._dialog&&(this._dialog.terminate(),delete this._dialog),this._earlyDialogs)Object.prototype.hasOwnProperty.call(this._earlyDialogs,G)&&(this._earlyDialogs[G].terminate(),delete this._earlyDialogs[G]);for(var ue in this._referSubscribers)Object.prototype.hasOwnProperty.call(this._referSubscribers,ue)&&delete this._referSubscribers[ue];this._ua.destroyRTCSession(this)}}},{key:"_setInvite2xxTimer",value:function(N,G){var ue=H.T1;this._timers.invite2xxTimer=setTimeout(function ve(){this._status===ce.STATUS_WAITING_FOR_ACK&&(N.reply(200,null,["Contact: ".concat(this._contact)],G),ue<H.T2&&(ue*=2)>H.T2&&(ue=H.T2),this._timers.invite2xxTimer=setTimeout(ve.bind(this),ue))}.bind(this),ue)}},{key:"_setACKTimer",value:function(){var N=this;this._timers.ackTimer=setTimeout(function(){N._status===ce.STATUS_WAITING_FOR_ACK&&(ne.debug("no ACK received, terminating the session"),clearTimeout(N._timers.invite2xxTimer),N.sendRequest(O.BYE),N._ended("remote",null,O.causes.NO_ACK))},H.TIMER_H)}},{key:"_createRTCConnection",value:function(N,G){var ue=this;this._connection=new RTCPeerConnection(N,G),this._connection.addEventListener("iceconnectionstatechange",function(){"failed"===ue._connection.iceConnectionState&&ue.terminate({cause:O.causes.RTP_TIMEOUT,status_code:408,reason_phrase:O.causes.RTP_TIMEOUT})}),ne.debug('emit "peerconnection"'),this.emit("peerconnection",{peerconnection:this._connection})}},{key:"_createLocalDescription",value:function(N,G){var ue=this;if(ne.debug("createLocalDescription()"),"offer"!==N&&"answer"!==N)throw new Error('createLocalDescription() | invalid type "'.concat(N,'"'));var ve=this._connection;return this._rtcReady=!1,Promise.resolve().then(function(){return"offer"===N?ve.createOffer(G).catch(function(we){return ne.warn('emit "peerconnection:createofferfailed" [error:%o]',we),ue.emit("peerconnection:createofferfailed",we),Promise.reject(we)}):ve.createAnswer(G).catch(function(we){return ne.warn('emit "peerconnection:createanswerfailed" [error:%o]',we),ue.emit("peerconnection:createanswerfailed",we),Promise.reject(we)})}).then(function(we){return ve.setLocalDescription(we).catch(function(Re){return ue._rtcReady=!0,ne.warn('emit "peerconnection:setlocaldescriptionfailed" [error:%o]',Re),ue.emit("peerconnection:setlocaldescriptionfailed",Re),Promise.reject(Re)})}).then(function(){if("complete"===ve.iceGatheringState&&(!G||!G.iceRestart)||"gathering"===ve.iceGatheringState&&ue._iceReady){ue._rtcReady=!0;var Re={originator:"local",type:N,sdp:ve.localDescription.sdp};return ne.debug('emit "sdp"'),ue.emit("sdp",Re),Promise.resolve(Re.sdp)}return new Promise(function(et){var Pt,At,at=!1;ue._iceReady=!1;var It=function(){if(!at){ve.removeEventListener("icecandidate",Pt),ve.removeEventListener("icegatheringstatechange",At),at=!0,ue._rtcReady=!0,ue._iceReady=!0;var St={originator:"local",type:N,sdp:ve.localDescription.sdp};ne.debug('emit "sdp"'),ue.emit("sdp",St),et(St.sdp)}};ve.addEventListener("icecandidate",Pt=function(St){var lt=St.candidate;lt?ue.emit("icecandidate",{candidate:lt,ready:It}):It()}),ve.addEventListener("icegatheringstatechange",At=function(){"complete"===ve.iceGatheringState&&It()})})})}},{key:"_createDialog",value:function(N,G,ue){var Re=N.call_id+("UAS"===G?N.to_tag:N.from_tag)+("UAS"===G?N.from_tag:N.to_tag),et=this._earlyDialogs[Re];if(ue)return!!et||((et=new q(this,N,G,q.C.STATUS_EARLY)).error?(ne.debug(et.error),this._failed("remote",N,O.causes.INTERNAL_ERROR),!1):(this._earlyDialogs[Re]=et,!0));if(this._from_tag=N.from_tag,this._to_tag=N.to_tag,et)return et.update(N,G),this._dialog=et,delete this._earlyDialogs[Re],!0;var at=new q(this,N,G);return at.error?(ne.debug(at.error),this._failed("remote",N,O.causes.INTERNAL_ERROR),!1):(this._dialog=at,!0)}},{key:"_receiveReinvite",value:function(N){var G=this;ne.debug("receiveReinvite()");var ue=N.hasHeader("Content-Type")?N.getHeader("Content-Type").toLowerCase():void 0,ve={request:N,callback:void 0,reject:function Re(){var at=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};we=!0;var Pt=at.status_code||403,At=at.reason_phrase||"",It=z.cloneArray(at.extraHeaders);if(this._status!==ce.STATUS_CONFIRMED)return!1;if(Pt<300||Pt>=700)throw new TypeError("Invalid status_code: ".concat(Pt));N.reply(Pt,At,It)}.bind(this)},we=!1;if(this.emit("reinvite",ve),!we){if(this._late_sdp=!1,!N.body)return this._late_sdp=!0,this._remoteHold&&(this._remoteHold=!1,this._onunhold("remote")),void(this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return G._createLocalDescription("offer",G._rtcOfferConstraints)}).then(function(at){et.call(G,at)}).catch(function(){N.reply(500)}));if("application/sdp"!==ue)return ne.debug("invalid Content-Type"),void N.reply(415);this._processInDialogSdpOffer(N).then(function(at){G._status!==ce.STATUS_TERMINATED&&et.call(G,at)}).catch(function(at){ne.warn(at)})}function et(at){var Pt=this,At=["Contact: ".concat(this._contact)];this._handleSessionTimersInIncomingRequest(N,At),this._late_sdp&&(at=this._mangleOffer(at)),N.reply(200,null,At,at,function(){Pt._status=ce.STATUS_WAITING_FOR_ACK,Pt._setInvite2xxTimer(N,at),Pt._setACKTimer()}),"function"==typeof ve.callback&&ve.callback()}}},{key:"_receiveUpdate",value:function(N){var G=this;ne.debug("receiveUpdate()");var ue=N.hasHeader("Content-Type")?N.getHeader("Content-Type").toLowerCase():void 0,ve={request:N,callback:void 0,reject:function Re(){var at=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};we=!0;var Pt=at.status_code||403,At=at.reason_phrase||"",It=z.cloneArray(at.extraHeaders);if(this._status!==ce.STATUS_CONFIRMED)return!1;if(Pt<300||Pt>=700)throw new TypeError("Invalid status_code: ".concat(Pt));N.reply(Pt,At,It)}.bind(this)},we=!1;if(this.emit("update",ve),!we)if(N.body){if("application/sdp"!==ue)return ne.debug("invalid Content-Type"),void N.reply(415);this._processInDialogSdpOffer(N).then(function(at){G._status!==ce.STATUS_TERMINATED&&et.call(G,at)}).catch(function(at){ne.warn(at)})}else et.call(this,null);function et(at){var Pt=["Contact: ".concat(this._contact)];this._handleSessionTimersInIncomingRequest(N,Pt),N.reply(200,null,Pt,at),"function"==typeof ve.callback&&ve.callback()}}},{key:"_processInDialogSdpOffer",value:function(N){var G=this;ne.debug("_processInDialogSdpOffer()");var Re,ue=N.parseSDP(),ve=!1,we=o(ue.media);try{for(we.s();!(Re=we.n()).done;){var et=Re.value;if(-1!==me.indexOf(et.type)){var at=et.direction||ue.direction||"sendrecv";if("sendonly"!==at&&"inactive"!==at){ve=!1;break}ve=!0}}}catch(It){we.e(It)}finally{we.f()}var Pt={originator:"remote",type:"offer",sdp:N.body};ne.debug('emit "sdp"'),this.emit("sdp",Pt);var At=new RTCSessionDescription({type:"offer",sdp:Pt.sdp});return this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){if(G._status===ce.STATUS_TERMINATED)throw new Error("terminated");return G._connection.setRemoteDescription(At).catch(function(It){throw N.reply(488),ne.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',It),G.emit("peerconnection:setremotedescriptionfailed",It),It})}).then(function(){if(G._status===ce.STATUS_TERMINATED)throw new Error("terminated");!0===G._remoteHold&&!1===ve?(G._remoteHold=!1,G._onunhold("remote")):!1===G._remoteHold&&!0===ve&&(G._remoteHold=!0,G._onhold("remote"))}).then(function(){if(G._status===ce.STATUS_TERMINATED)throw new Error("terminated");return G._createLocalDescription("answer",G._rtcAnswerConstraints).catch(function(It){throw N.reply(500),ne.warn('emit "peerconnection:createtelocaldescriptionfailed" [error:%o]',It),It})}).catch(function(It){ne.warn("_processInDialogSdpOffer() failed [error: %o]",It)}),this._connectionPromiseQueue}},{key:"_receiveRefer",value:function(N){var G=this;if(ne.debug("receiveRefer()"),!N.refer_to)return ne.debug("no Refer-To header field present in REFER"),void N.reply(400);if(N.refer_to.uri.scheme!==O.SIP)return ne.debug("Refer-To header field points to a non-SIP URI scheme"),void N.reply(416);N.reply(202);var ue=new Y(this,N.cseq);function ve(Re){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Re="function"==typeof Re?Re:null,this._status!==ce.STATUS_WAITING_FOR_ACK&&this._status!==ce.STATUS_CONFIRMED)return!1;var at=new X(this._ua);if(at.on("progress",function(At){var It=At.response;ue.notify(It.status_code,It.reason_phrase)}),at.on("accepted",function(At){var It=At.response;ue.notify(It.status_code,It.reason_phrase)}),at.on("_failed",function(At){var It=At.message,qt=At.cause;It?ue.notify(It.status_code,It.reason_phrase):ue.notify(487,qt)}),N.refer_to.uri.hasHeader("replaces")){var Pt=decodeURIComponent(N.refer_to.uri.getHeader("replaces"));et.extraHeaders=z.cloneArray(et.extraHeaders),et.extraHeaders.push("Replaces: ".concat(Pt))}at.connect(N.refer_to.uri.toAor(),et,Re)}function we(){ue.notify(603)}ne.debug('emit "refer"'),this.emit("refer",{request:N,accept:function(et,at){ve.call(G,et,at)},reject:function(){we.call(G)}})}},{key:"_receiveNotify",value:function(N){if("refer"===(ne.debug("receiveNotify()"),N.event||N.reply(400),N.event.event)){var ue;if(N.event.params&&N.event.params.id)ue=this._referSubscribers[N.event.params.id];else{if(1!==Object.keys(this._referSubscribers).length)return void N.reply(400,"Missing event id parameter");ue=this._referSubscribers[Object.keys(this._referSubscribers)[0]]}if(!ue)return void N.reply(481,"Subscription does not exist");ue.receiveNotify(N),N.reply(200)}else N.reply(489)}},{key:"_receiveReplaces",value:function(N){var G=this;function ue(we){var Re=this;if(this._status!==ce.STATUS_WAITING_FOR_ACK&&this._status!==ce.STATUS_CONFIRMED)return!1;var et=new X(this._ua);et.on("confirmed",function(){Re.terminate()}),et.init_incoming(N,we)}function ve(){ne.debug("Replaced INVITE rejected by the user"),N.reply(486)}ne.debug("receiveReplaces()"),this.emit("replaces",{request:N,accept:function(Re){ue.call(G,Re)},reject:function(){ve.call(G)}})}},{key:"_sendInitialRequest",value:function(N,G,ue){var ve=this,we=new Z(this._ua,this._request,{onRequestTimeout:function(){ve.onRequestTimeout()},onTransportError:function(){ve.onTransportError()},onAuthenticated:function(et){ve._request=et},onReceiveResponse:function(et){ve._receiveInviteResponse(et)}});Promise.resolve().then(function(){return ue||(N.audio||N.video?(ve._localMediaStreamLocallyGenerated=!0,navigator.mediaDevices.getUserMedia(N).catch(function(Re){throw ve._status===ce.STATUS_TERMINATED?new Error("terminated"):(ve._failed("local",null,O.causes.USER_DENIED_MEDIA_ACCESS),ne.warn('emit "getusermediafailed" [error:%o]',Re),ve.emit("getusermediafailed",Re),Re)})):void 0)}).then(function(Re){if(ve._status===ce.STATUS_TERMINATED)throw new Error("terminated");return ve._localMediaStream=Re,Re&&Re.getTracks().forEach(function(et){ve._connection.addTrack(et,Re)}),ve._connecting(ve._request),ve._createLocalDescription("offer",G).catch(function(et){throw ve._failed("local",null,O.causes.WEBRTC_ERROR),et})}).then(function(Re){if(ve._is_canceled||ve._status===ce.STATUS_TERMINATED)throw new Error("terminated");ve._request.body=Re,ve._status=ce.STATUS_INVITE_SENT,ne.debug('emit "sending" [request:%o]',ve._request),ve.emit("sending",{request:ve._request}),we.send()}).catch(function(Re){ve._status!==ce.STATUS_TERMINATED&&ne.warn(Re)})}},{key:"_getDTMFRTPSender",value:function(){var N=this._connection.getSenders().find(function(G){return G.track&&"audio"===G.track.kind});if(N&&N.dtmf)return N.dtmf;ne.warn("sendDTMF() | no local audio track to send DTMF with")}},{key:"_receiveInviteResponse",value:function(N){var G=this;if(ne.debug("receiveInviteResponse()"),this._dialog&&N.status_code>=200&&N.status_code<=299){if(this._dialog.id.call_id===N.call_id&&this._dialog.id.local_tag===N.from_tag&&this._dialog.id.remote_tag===N.to_tag)return void this.sendRequest(O.ACK);var ue=new q(this,N,"UAC");return void 0!==ue.error?void ne.debug(ue.error):(this.sendRequest(O.ACK),void this.sendRequest(O.BYE))}if(this._is_canceled)N.status_code>=100&&N.status_code<200?this._request.cancel(this._cancel_reason):N.status_code>=200&&N.status_code<299&&this._acceptAndTerminate(N);else if(this._status===ce.STATUS_INVITE_SENT||this._status===ce.STATUS_1XX_RECEIVED)switch(!0){case/^100$/.test(N.status_code):this._status=ce.STATUS_1XX_RECEIVED;break;case/^1[0-9]{2}$/.test(N.status_code):if(!N.to_tag){ne.debug("1xx response received without to tag");break}if(N.hasHeader("contact")&&!this._createDialog(N,"UAC",!0))break;if(this._status=ce.STATUS_1XX_RECEIVED,!N.body){this._progress("remote",N);break}var ve={originator:"remote",type:"answer",sdp:N.body};ne.debug('emit "sdp"'),this.emit("sdp",ve);var we=new RTCSessionDescription({type:"answer",sdp:ve.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return G._connection.setRemoteDescription(we)}).then(function(){return G._progress("remote",N)}).catch(function(Pt){ne.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',Pt),G.emit("peerconnection:setremotedescriptionfailed",Pt)});break;case/^2[0-9]{2}$/.test(N.status_code):if(this._status=ce.STATUS_CONFIRMED,!N.body){this._acceptAndTerminate(N,400,O.causes.MISSING_SDP),this._failed("remote",N,O.causes.BAD_MEDIA_DESCRIPTION);break}if(!this._createDialog(N,"UAC"))break;var Re={originator:"remote",type:"answer",sdp:N.body};ne.debug('emit "sdp"'),this.emit("sdp",Re);var et=new RTCSessionDescription({type:"answer",sdp:Re.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){if("stable"===G._connection.signalingState)return G._connection.createOffer(G._rtcOfferConstraints).then(function(Pt){return G._connection.setLocalDescription(Pt)}).catch(function(Pt){G._acceptAndTerminate(N,500,Pt.toString()),G._failed("local",N,O.causes.WEBRTC_ERROR)})}).then(function(){G._connection.setRemoteDescription(et).then(function(){G._handleSessionTimersInIncomingResponse(N),G._accepted("remote",N),G.sendRequest(O.ACK),G._confirmed("local",null)}).catch(function(Pt){G._acceptAndTerminate(N,488,"Not Acceptable Here"),G._failed("remote",N,O.causes.BAD_MEDIA_DESCRIPTION),ne.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',Pt),G.emit("peerconnection:setremotedescriptionfailed",Pt)})});break;default:var at=z.sipErrorCause(N.status_code);this._failed("remote",N,at)}}},{key:"_sendReinvite",value:function(){var N=this,G=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ne.debug("sendReinvite()");var ue=z.cloneArray(G.extraHeaders),ve=z.cloneObject(G.eventHandlers),we=G.rtcOfferConstraints||this._rtcOfferConstraints||null,Re=!1;function et(Pt){var At=this;if(this._status!==ce.STATUS_TERMINATED&&(this.sendRequest(O.ACK),!Re)){if(this._handleSessionTimersInIncomingResponse(Pt),!Pt.body)return void at.call(this);if(!Pt.hasHeader("Content-Type")||"application/sdp"!==Pt.getHeader("Content-Type").toLowerCase())return void at.call(this);var It={originator:"remote",type:"answer",sdp:Pt.body};ne.debug('emit "sdp"'),this.emit("sdp",It);var qt=new RTCSessionDescription({type:"answer",sdp:It.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return At._connection.setRemoteDescription(qt)}).then(function(){ve.succeeded&&ve.succeeded(Pt)}).catch(function(St){at.call(At),ne.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',St),At.emit("peerconnection:setremotedescriptionfailed",St)})}}function at(Pt){ve.failed&&ve.failed(Pt)}ue.push("Contact: ".concat(this._contact)),ue.push("Content-Type: application/sdp"),this._sessionTimers.running&&ue.push("Session-Expires: ".concat(this._sessionTimers.currentExpires,";refresher=").concat(this._sessionTimers.refresher?"uac":"uas")),this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return N._createLocalDescription("offer",we)}).then(function(Pt){var At={originator:"local",type:"offer",sdp:Pt=N._mangleOffer(Pt)};ne.debug('emit "sdp"'),N.emit("sdp",At),N.sendRequest(O.INVITE,{extraHeaders:ue,body:Pt,eventHandlers:{onSuccessResponse:function(qt){et.call(N,qt),Re=!0},onErrorResponse:function(qt){at.call(N,qt)},onTransportError:function(){N.onTransportError()},onRequestTimeout:function(){N.onRequestTimeout()},onDialogError:function(){N.onDialogError()}}})}).catch(function(){at()})}},{key:"_sendUpdate",value:function(){var N=this,G=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ne.debug("sendUpdate()");var ue=z.cloneArray(G.extraHeaders),ve=z.cloneObject(G.eventHandlers),we=G.rtcOfferConstraints||this._rtcOfferConstraints||null,Re=G.sdpOffer||!1,et=!1;function at(At){var It=this;if(this._status!==ce.STATUS_TERMINATED&&!et)if(this._handleSessionTimersInIncomingResponse(At),Re){if(!At.body)return void Pt.call(this);if(!At.hasHeader("Content-Type")||"application/sdp"!==At.getHeader("Content-Type").toLowerCase())return void Pt.call(this);var qt={originator:"remote",type:"answer",sdp:At.body};ne.debug('emit "sdp"'),this.emit("sdp",qt);var St=new RTCSessionDescription({type:"answer",sdp:qt.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return It._connection.setRemoteDescription(St)}).then(function(){ve.succeeded&&ve.succeeded(At)}).catch(function(lt){Pt.call(It),ne.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]',lt),It.emit("peerconnection:setremotedescriptionfailed",lt)})}else ve.succeeded&&ve.succeeded(At)}function Pt(At){ve.failed&&ve.failed(At)}ue.push("Contact: ".concat(this._contact)),this._sessionTimers.running&&ue.push("Session-Expires: ".concat(this._sessionTimers.currentExpires,";refresher=").concat(this._sessionTimers.refresher?"uac":"uas")),Re?(ue.push("Content-Type: application/sdp"),this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return N._createLocalDescription("offer",we)}).then(function(At){var It={originator:"local",type:"offer",sdp:At=N._mangleOffer(At)};ne.debug('emit "sdp"'),N.emit("sdp",It),N.sendRequest(O.UPDATE,{extraHeaders:ue,body:At,eventHandlers:{onSuccessResponse:function(St){at.call(N,St),et=!0},onErrorResponse:function(St){Pt.call(N,St)},onTransportError:function(){N.onTransportError()},onRequestTimeout:function(){N.onRequestTimeout()},onDialogError:function(){N.onDialogError()}}})}).catch(function(){Pt.call(N)})):this.sendRequest(O.UPDATE,{extraHeaders:ue,eventHandlers:{onSuccessResponse:function(It){at.call(N,It)},onErrorResponse:function(It){Pt.call(N,It)},onTransportError:function(){N.onTransportError()},onRequestTimeout:function(){N.onRequestTimeout()},onDialogError:function(){N.onDialogError()}}})}},{key:"_acceptAndTerminate",value:function(N,G,ue){ne.debug("acceptAndTerminate()");var ve=[];G&&(ue=ue||O.REASON_PHRASE[G]||"",ve.push("Reason: SIP ;cause=".concat(G,'; text="').concat(ue,'"'))),(this._dialog||this._createDialog(N,"UAC"))&&(this.sendRequest(O.ACK),this.sendRequest(O.BYE,{extraHeaders:ve})),this._status=ce.STATUS_TERMINATED}},{key:"_mangleOffer",value:function(N){if(!this._localHold&&!this._remoteHold)return N;if(N=P.parse(N),this._localHold&&!this._remoteHold){ne.debug("mangleOffer() | me on hold, mangling offer");var ue,G=o(N.media);try{for(G.s();!(ue=G.n()).done;){var ve=ue.value;-1!==me.indexOf(ve.type)&&(ve.direction?"sendrecv"===ve.direction?ve.direction="sendonly":"recvonly"===ve.direction&&(ve.direction="inactive"):ve.direction="sendonly")}}catch(It){G.e(It)}finally{G.f()}}else if(this._localHold&&this._remoteHold){ne.debug("mangleOffer() | both on hold, mangling offer");var Re,we=o(N.media);try{for(we.s();!(Re=we.n()).done;){var et=Re.value;-1!==me.indexOf(et.type)&&(et.direction="inactive")}}catch(It){we.e(It)}finally{we.f()}}else if(this._remoteHold){ne.debug("mangleOffer() | remote on hold, mangling offer");var Pt,at=o(N.media);try{for(at.s();!(Pt=at.n()).done;){var At=Pt.value;-1!==me.indexOf(At.type)&&(At.direction?"sendrecv"===At.direction?At.direction="recvonly":"recvonly"===At.direction&&(At.direction="inactive"):At.direction="recvonly")}}catch(It){at.e(It)}finally{at.f()}}return P.write(N)}},{key:"_setLocalMediaStatus",value:function(){var N=!0,G=!0;(this._localHold||this._remoteHold)&&(N=!1,G=!1),this._audioMuted&&(N=!1),this._videoMuted&&(G=!1),this._toggleMuteAudio(!N),this._toggleMuteVideo(!G)}},{key:"_handleSessionTimersInIncomingRequest",value:function(N,G){var ue;this._sessionTimers.enabled&&(N.session_expires&&N.session_expires>=O.MIN_SESSION_EXPIRES?(this._sessionTimers.currentExpires=N.session_expires,ue=N.session_expires_refresher||"uas"):(this._sessionTimers.currentExpires=this._sessionTimers.defaultExpires,ue="uas"),G.push("Session-Expires: ".concat(this._sessionTimers.currentExpires,";refresher=").concat(ue)),this._sessionTimers.refresher="uas"===ue,this._runSessionTimer())}},{key:"_handleSessionTimersInIncomingResponse",value:function(N){var G;this._sessionTimers.enabled&&(N.session_expires&&N.session_expires>=O.MIN_SESSION_EXPIRES?(this._sessionTimers.currentExpires=N.session_expires,G=N.session_expires_refresher||"uac"):(this._sessionTimers.currentExpires=this._sessionTimers.defaultExpires,G="uac"),this._sessionTimers.refresher="uac"===G,this._runSessionTimer())}},{key:"_runSessionTimer",value:function(){var N=this,G=this._sessionTimers.currentExpires;this._sessionTimers.running=!0,clearTimeout(this._sessionTimers.timer),this._sessionTimers.timer=this._sessionTimers.refresher?setTimeout(function(){N._status!==ce.STATUS_TERMINATED&&N._isReadyToReOffer()&&(ne.debug("runSessionTimer() | sending session refresh request"),N._sessionTimers.refreshMethod===O.UPDATE?N._sendUpdate():N._sendReinvite())},500*G):setTimeout(function(){N._status!==ce.STATUS_TERMINATED&&(ne.warn("runSessionTimer() | timer expired, terminating the session"),N.terminate({cause:O.causes.REQUEST_TIMEOUT,status_code:408,reason_phrase:"Session Timer Expired"}))},1100*G)}},{key:"_toggleMuteAudio",value:function(N){var ve,ue=o(this._connection.getSenders().filter(function(Re){return Re.track&&"audio"===Re.track.kind}));try{for(ue.s();!(ve=ue.n()).done;)ve.value.track.enabled=!N}catch(Re){ue.e(Re)}finally{ue.f()}}},{key:"_toggleMuteVideo",value:function(N){var ve,ue=o(this._connection.getSenders().filter(function(Re){return Re.track&&"video"===Re.track.kind}));try{for(ue.s();!(ve=ue.n()).done;)ve.value.track.enabled=!N}catch(Re){ue.e(Re)}finally{ue.f()}}},{key:"_newRTCSession",value:function(N,G){ne.debug("newRTCSession()"),this._ua.newRTCSession(this,{originator:N,session:this,request:G})}},{key:"_connecting",value:function(N){ne.debug("session connecting"),ne.debug('emit "connecting"'),this.emit("connecting",{request:N})}},{key:"_progress",value:function(N,G){ne.debug("session progress"),ne.debug('emit "progress"'),this.emit("progress",{originator:N,response:G||null})}},{key:"_accepted",value:function(N,G){ne.debug("session accepted"),this._start_time=new Date,ne.debug('emit "accepted"'),this.emit("accepted",{originator:N,response:G||null})}},{key:"_confirmed",value:function(N,G){ne.debug("session confirmed"),this._is_confirmed=!0,ne.debug('emit "confirmed"'),this.emit("confirmed",{originator:N,ack:G||null})}},{key:"_ended",value:function(N,G,ue){ne.debug("session ended"),this._end_time=new Date,this._close(),ne.debug('emit "ended"'),this.emit("ended",{originator:N,message:G||null,cause:ue})}},{key:"_failed",value:function(N,G,ue){ne.debug("session failed"),ne.debug('emit "_failed"'),this.emit("_failed",{originator:N,message:G||null,cause:ue}),this._close(),ne.debug('emit "failed"'),this.emit("failed",{originator:N,message:G||null,cause:ue})}},{key:"_onhold",value:function(N){ne.debug("session onhold"),this._setLocalMediaStatus(),ne.debug('emit "hold"'),this.emit("hold",{originator:N})}},{key:"_onunhold",value:function(N){ne.debug("session onunhold"),this._setLocalMediaStatus(),ne.debug('emit "unhold"'),this.emit("unhold",{originator:N})}},{key:"_onmute",value:function(N){var G=N.audio,ue=N.video;ne.debug("session onmute"),this._setLocalMediaStatus(),ne.debug('emit "muted"'),this.emit("muted",{audio:G,video:ue})}},{key:"_onunmute",value:function(N){var G=N.audio,ue=N.video;ne.debug("session onunmute"),this._setLocalMediaStatus(),ne.debug('emit "unmuted"'),this.emit
1("unmuted",{audio:G,video:ue})}},{key:"C",get:function(){return ce}},{key:"causes",get:function(){return O.causes}},{key:"id",get:function(){return this._id}},{key:"connection",get:function(){return this._connection}},{key:"contact",get:function(){return this._contact}},{key:"direction",get:function(){return this._direction}},{key:"local_identity",get:function(){return this._local_identity}},{key:"remote_identity",get:function(){return this._remote_identity}},{key:"start_time",get:function(){return this._start_time}},{key:"end_time",get:function(){return this._end_time}},{key:"data",get:function(){return this._data},set:function(N){this._data=N}},{key:"status",get:function(){return this._status}}]),X}(R)},45526:(ge,_,f)=>{"use strict";function c(V){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(z){return typeof z}:function(z){return z&&"function"==typeof Symbol&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z})(V)}function C(V,K){for(var z=0;z<K.length;z++){var H=K[z];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(V,H.key,H)}}function T(V,K){return(T=Object.setPrototypeOf||function(H,x){return H.__proto__=x,H})(V,K)}function g(V){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(z){return z.__proto__||Object.getPrototypeOf(z)})(V)}var y=f(44356).EventEmitter,p=f(83351),b=f(49698),R=f(37453),P=f(250),k=new p("RTCSession:DTMF"),O={MIN_DURATION:70,MAX_DURATION:6e3,DEFAULT_DURATION:100,MIN_INTER_TONE_GAP:50,DEFAULT_INTER_TONE_GAP:500};ge.exports=function(V){!function E(V,K){if("function"!=typeof K&&null!==K)throw new TypeError("Super expression must either be null or a function");V.prototype=Object.create(K&&K.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),K&&T(V,K)}(z,V);var K=function s(V){var K=function v(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var x,H=g(V);if(K){var q=g(this).constructor;x=Reflect.construct(H,arguments,q)}else x=H.apply(this,arguments);return function h(V,K){return!K||"object"!==c(K)&&"function"!=typeof K?function u(V){if(void 0===V)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}(V):K}(this,x)}}(z);function z(H){var x;return function o(V,K){if(!(V instanceof K))throw new TypeError("Cannot call a class as a function")}(this,z),(x=K.call(this))._session=H,x._direction=null,x._tone=null,x._duration=null,x._request=null,x}return function a(V,K,z){K&&C(V.prototype,K),z&&C(V,z)}(z,[{key:"send",value:function(x){var q=this,Z=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===x)throw new TypeError("Not enough arguments");if(this._direction="outgoing",this._session.status!==this._session.C.STATUS_CONFIRMED&&this._session.status!==this._session.C.STATUS_WAITING_FOR_ACK)throw new R.InvalidStateError(this._session.status);var de=P.cloneArray(Z.extraHeaders);if(this.eventHandlers=P.cloneObject(Z.eventHandlers),"string"==typeof x)x=x.toUpperCase();else{if("number"!=typeof x)throw new TypeError("Invalid tone: ".concat(x));x=x.toString()}if(!x.match(/^[0-9A-DR#*]$/))throw new TypeError("Invalid tone: ".concat(x));this._tone=x,this._duration=Z.duration,de.push("Content-Type: application/dtmf-relay");var ee="Signal=".concat(this._tone,"\r\n");ee+="Duration=".concat(this._duration),this._session.newDTMF({originator:"local",dtmf:this,request:this._request}),this._session.sendRequest(b.INFO,{extraHeaders:de,eventHandlers:{onSuccessResponse:function(ae){q.emit("succeeded",{originator:"remote",response:ae})},onErrorResponse:function(ae){q.eventHandlers.onFailed&&q.eventHandlers.onFailed(),q.emit("failed",{originator:"remote",response:ae})},onRequestTimeout:function(){q._session.onRequestTimeout()},onTransportError:function(){q._session.onTransportError()},onDialogError:function(){q._session.onDialogError()}},body:ee})}},{key:"init_incoming",value:function(x){var q=/^(Signal\s*?=\s*?)([0-9A-D#*]{1})(\s)?.*/,Z=/^(Duration\s?=\s?)([0-9]{1,4})(\s)?.*/;if(this._direction="incoming",this._request=x,x.reply(200),x.body){var de=x.body.split("\n");de.length>=1&&q.test(de[0])&&(this._tone=de[0].replace(q,"$2")),de.length>=2&&Z.test(de[1])&&(this._duration=parseInt(de[1].replace(Z,"$2"),10))}this._duration||(this._duration=O.DEFAULT_DURATION),this._tone?this._session.newDTMF({originator:"remote",dtmf:this,request:x}):k.debug("invalid INFO DTMF received, discarded")}},{key:"tone",get:function(){return this._tone}},{key:"duration",get:function(){return this._duration}}]),z}(y),ge.exports.C=O},50857:(ge,_,f)=>{"use strict";function c(P){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(O){return typeof O}:function(O){return O&&"function"==typeof Symbol&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(P)}function C(P,k){for(var O=0;O<k.length;O++){var V=k[O];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(P,V.key,V)}}function T(P,k){return(T=Object.setPrototypeOf||function(V,K){return V.__proto__=K,V})(P,k)}function g(P){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(O){return O.__proto__||Object.getPrototypeOf(O)})(P)}var y=f(44356).EventEmitter,p=f(49698),b=f(37453),R=f(250);ge.exports=function(P){!function E(P,k){if("function"!=typeof k&&null!==k)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(k&&k.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),k&&T(P,k)}(O,P);var k=function s(P){var k=function v(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var K,V=g(P);if(k){var z=g(this).constructor;K=Reflect.construct(V,arguments,z)}else K=V.apply(this,arguments);return function h(P,k){return!k||"object"!==c(k)&&"function"!=typeof k?function u(P){if(void 0===P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}(P):k}(this,K)}}(O);function O(V){var K;return function o(P,k){if(!(P instanceof k))throw new TypeError("Cannot call a class as a function")}(this,O),(K=k.call(this))._session=V,K._direction=null,K._contentType=null,K._body=null,K}return function a(P,k,O){k&&C(P.prototype,k),O&&C(P,O)}(O,[{key:"send",value:function(K,z){var H=this,x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this._direction="outgoing",void 0===K)throw new TypeError("Not enough arguments");if(this._session.status!==this._session.C.STATUS_CONFIRMED&&this._session.status!==this._session.C.STATUS_WAITING_FOR_ACK)throw new b.InvalidStateError(this._session.status);this._contentType=K,this._body=z;var q=R.cloneArray(x.extraHeaders);q.push("Content-Type: ".concat(K)),this._session.newInfo({originator:"local",info:this,request:this.request}),this._session.sendRequest(p.INFO,{extraHeaders:q,eventHandlers:{onSuccessResponse:function(de){H.emit("succeeded",{originator:"remote",response:de})},onErrorResponse:function(de){H.emit("failed",{originator:"remote",response:de})},onTransportError:function(){H._session.onTransportError()},onRequestTimeout:function(){H._session.onRequestTimeout()},onDialogError:function(){H._session.onDialogError()}},body:z})}},{key:"init_incoming",value:function(K){this._direction="incoming",this.request=K,K.reply(200),this._contentType=K.hasHeader("Content-Type")?K.getHeader("Content-Type").toLowerCase():void 0,this._body=K.body,this._session.newInfo({originator:"remote",info:this,request:K})}},{key:"contentType",get:function(){return this._contentType}},{key:"body",get:function(){return this._body}}]),O}(y)},91081:(ge,_,f)=>{"use strict";function o(h,u){for(var v=0;v<u.length;v++){var g=u[v];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}var a=f(83351),E=f(49698),T=new a("RTCSession:ReferNotifier");ge.exports=function(){function h(u,v,g){(function c(h,u){if(!(h instanceof u))throw new TypeError("Cannot call a class as a function")})(this,h),this._session=u,this._id=v,this._expires=g||300,this._active=!0,this.notify(100)}return function C(h,u,v){u&&o(h.prototype,u),v&&o(h,v)}(h,[{key:"notify",value:function(v,g){var y;T.debug("notify()"),!1!==this._active&&(g=g||E.REASON_PHRASE[v]||"",y=v>=200?"terminated;reason=noresource":"active;expires=".concat(this._expires),this._session.sendRequest(E.NOTIFY,{extraHeaders:["Event: ".concat("refer",";id=").concat(this._id),"Subscription-State: ".concat(y),"Content-Type: ".concat("message/sipfrag;version=2.0")],body:"SIP/2.0 ".concat(v," ").concat(g),eventHandlers:{onErrorResponse:function(){this._active=!1}}}))}}]),h}()},43357:(ge,_,f)=>{"use strict";function c(O){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(K){return typeof K}:function(K){return K&&"function"==typeof Symbol&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K})(O)}function C(O,V){for(var K=0;K<V.length;K++){var z=V[K];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(O,z.key,z)}}function T(O,V){return(T=Object.setPrototypeOf||function(z,H){return z.__proto__=H,z})(O,V)}function g(O){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(K){return K.__proto__||Object.getPrototypeOf(K)})(O)}var y=f(44356).EventEmitter,p=f(83351),b=f(49698),R=f(22446),P=f(250),k=new p("RTCSession:ReferSubscriber");ge.exports=function(O){!function E(O,V){if("function"!=typeof V&&null!==V)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(V&&V.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),V&&T(O,V)}(K,O);var V=function s(O){var V=function v(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var H,z=g(O);if(V){var x=g(this).constructor;H=Reflect.construct(z,arguments,x)}else H=z.apply(this,arguments);return function h(O,V){return!V||"object"!==c(V)&&"function"!=typeof V?function u(O){if(void 0===O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}(O):V}(this,H)}}(K);function K(z){var H;return function o(O,V){if(!(O instanceof V))throw new TypeError("Cannot call a class as a function")}(this,K),(H=V.call(this))._id=null,H._session=z,H}return function a(O,V,K){V&&C(O.prototype,V),K&&C(O,K)}(K,[{key:"sendRefer",value:function(H){var x=this,q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};k.debug("sendRefer()");var Z=P.cloneArray(q.extraHeaders),de=P.cloneObject(q.eventHandlers);for(var ee in de)Object.prototype.hasOwnProperty.call(de,ee)&&this.on(ee,de[ee]);var Y=null;
vendor: 1,528 bytes, line 1
1q.replaces&&(Y=q.replaces._request.call_id,Y+=";to-tag=".concat(q.replaces._to_tag),Y+=";from-tag=".concat(q.replaces._from_tag),Y=encodeURIComponent(Y));var ae="Refer-To: <".concat(H).concat(Y?"?Replaces=".concat(Y):"",">");if(Z.push(ae),!Z.some(function(ce){return ce.toLowerCase().startsWith("referred-by:")})){var fe="Referred-By: <".concat(this._session._ua._configuration.uri._scheme,":").concat(this._session._ua._configuration.uri._user,"@").concat(this._session._ua._configuration.uri._host,">");Z.push(fe)}Z.push("Contact: ".concat(this._session.contact));var ne=this._session.sendRequest(b.REFER,{extraHeaders:Z,eventHandlers:{onSuccessResponse:function(me){x._requestSucceeded(me)},onErrorResponse:function(me){x._requestFailed(me,b.causes.REJECTED)},onTransportError:function(){x._requestFailed(null,b.causes.CONNECTION_ERROR)},onRequestTimeout:function(){x._requestFailed(null,b.causes.REQUEST_TIMEOUT)},onDialogError:function(){x._requestFailed(null,b.causes.DIALOG_ERROR)}}});this._id=ne.cseq}},{key:"receiveNotify",value:function(H){if(k.debug("receiveNotify()"),H.body){var x=R.parse(H.body.trim().split("\r\n",1)[0],"Status_Line");if(-1===x)return void k.debug('receiveNotify() | error parsing NOTIFY body: "'.concat(H.body,'"'));switch(!0){case/^100$/.test(x.status_code):this.emit("trying",{request:H,status_line:x});break;case/^1[0-9]{2}$/.test(x.status_code):this.emit("progress",{request:H,status_line:x});break;case/^2[0-9]{2}$/.test(x.status_code):this.emit("accepted",{request:H,status_line:x});break;
vendor: 9,459 bytes, line 1
1default:this.emit("failed",{request:H,status_line:x})}}}},{key:"_requestSucceeded",value:function(H){k.debug("REFER succeeded"),k.debug('emit "requestSucceeded"'),this.emit("requestSucceeded",{response:H})}},{key:"_requestFailed",value:function(H,x){k.debug("REFER failed"),k.debug('emit "requestFailed"'),this.emit("requestFailed",{response:H||null,cause:x})}},{key:"id",get:function(){return this._id}}]),K}(y)},69187:(ge,_,f)=>{"use strict";function o(g,y){for(var p=0;p<y.length;p++){var b=y[p];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(g,b.key,b)}}var a=f(83351),E=f(250),T=f(49698),s=f(10688),h=f(75739),u=new a("Registrator");ge.exports=function(){function g(y,p){(function c(g,y){if(!(g instanceof y))throw new TypeError("Cannot call a class as a function")})(this,g),this._reg_id=1,this._ua=y,this._transport=p,this._registrar=y.configuration.registrar_server,this._expires=y.configuration.register_expires,this._call_id=E.createRandomToken(22),this._cseq=0,this._to_uri=y.configuration.uri,this._registrationTimer=null,this._registering=!1,this._registered=!1,this._contact=this._ua.contact.toString(),this._contact+=";+sip.ice",this._extraHeaders=[],this._extraContactParams="",this._sipInstance='"<urn:uuid:'.concat(this._ua.configuration.instance_id,'>"'),this._contact+=";reg-id=".concat(this._reg_id),this._contact+=";+sip.instance=".concat(this._sipInstance)}return function C(g,y,p){y&&o(g.prototype,y),p&&o(g,p)}(g,[{key:"setExtraHeaders",value:function(p){Array.isArray(p)||(p=[]),this._extraHeaders=p.slice()}},{key:"setExtraContactParams",value:function(p){for(var b in p instanceof Object||(p={}),this._extraContactParams="",p)if(Object.prototype.hasOwnProperty.call(p,b)){var R=p[b];this._extraContactParams+=";".concat(b),R&&(this._extraContactParams+="=".concat(R))}}},{key:"register",value:function(){var p=this;if(this._registering)u.debug("Register request in progress...");else{var b=this._extraHeaders.slice();b.push("Contact: ".concat(this._contact,";expires=").concat(this._expires).concat(this._extraContactParams)),b.push("Expires: ".concat(this._expires));var R=new s.OutgoingRequest(T.REGISTER,this._registrar,this._ua,{to_uri:this._to_uri,call_id:this._call_id,cseq:this._cseq+=1},b),P=new h(this._ua,R,{onRequestTimeout:function(){p._registrationFailure(null,T.causes.REQUEST_TIMEOUT)},onTransportError:function(){p._registrationFailure(null,T.causes.CONNECTION_ERROR)},onAuthenticated:function(){p._cseq+=1},onReceiveResponse:function(O){if(O.cseq===p._cseq)switch(null!==p._registrationTimer&&(clearTimeout(p._registrationTimer),p._registrationTimer=null),!0){case/^1[0-9]{2}$/.test(O.status_code):break;case/^2[0-9]{2}$/.test(O.status_code):if(p._registering=!1,!O.hasHeader("Contact")){u.debug("no Contact header in response to REGISTER, response ignored");break}var V=O.headers.Contact.reduce(function(q,Z){return q.concat(Z.parsed)},[]),K=V.find(function(q){return p._sipInstance===q.getParam("+sip.instance")&&p._reg_id===parseInt(q.getParam("reg-id"))});if(K||(K=V.find(function(q){return q.uri.user===p._ua.contact.uri.user})),!K){u.debug("no Contact header pointing to us, response ignored");break}var z=K.getParam("expires");!z&&O.hasHeader("expires")&&(z=O.getHeader("expires")),z||(z=p._expires),(z=Number(z))<10&&(z=10);var H=z>64?1e3*z/2+Math.floor(1e3*(z/2-32)*Math.random()):1e3*z-5e3;p._registrationTimer=setTimeout(function(){p._registrationTimer=null,0===p._ua.listeners("registrationExpiring").length?p.register():p._ua.emit("registrationExpiring")},H),K.hasParam("temp-gruu")&&(p._ua.contact.temp_gruu=K.getParam("temp-gruu").replace(/"/g,"")),K.hasParam("pub-gruu")&&(p._ua.contact.pub_gruu=K.getParam("pub-gruu").replace(/"/g,"")),p._registered||(p._registered=!0,p._ua.registered({response:O}));break;case/^423$/.test(O.status_code):O.hasHeader("min-expires")?(p._expires=Number(O.getHeader("min-expires")),p._expires<10&&(p._expires=10),p.register()):(u.debug("423 response received for REGISTER without Min-Expires"),p._registrationFailure(O,T.causes.SIP_FAILURE_CODE));break;default:var x=E.sipErrorCause(O.status_code);p._registrationFailure(O,x)}}});this._registering=!0,P.send()}}},{key:"unregister",value:function(){var p=this,b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._registered){this._registered=!1,null!==this._registrationTimer&&(clearTimeout(this._registrationTimer),this._registrationTimer=null);var R=this._extraHeaders.slice();R.push(b.all?"Contact: *".concat(this._extraContactParams):"Contact: ".concat(this._contact,";expires=0").concat(this._extraContactParams)),R.push("Expires: 0");var P=new s.OutgoingRequest(T.REGISTER,this._registrar,this._ua,{to_uri:this._to_uri,call_id:this._call_id,cseq:this._cseq+=1},R);new h(this._ua,P,{onRequestTimeout:function(){p._unregistered(null,T.causes.REQUEST_TIMEOUT)},onTransportError:function(){p._unregistered(null,T.causes.CONNECTION_ERROR)},onAuthenticated:function(){p._cseq+=1},onReceiveResponse:function(V){switch(!0){case/^1[0-9]{2}$/.test(V.status_code):break;case/^2[0-9]{2}$/.test(V.status_code):p._unregistered(V);break;default:var K=E.sipErrorCause(V.status_code);p._unregistered(V,K)}}}).send()}else u.debug("already unregistered")}},{key:"close",value:function(){this._registered&&this.unregister()}},{key:"onTransportClosed",value:function(){this._registering=!1,null!==this._registrationTimer&&(clearTimeout(this._registrationTimer),this._registrationTimer=null),this._registered&&(this._registered=!1,this._ua.unregistered({}))}},{key:"_registrationFailure",value:function(p,b){this._registering=!1,this._ua.registrationFailed({response:p||null,cause:b}),this._registered&&(this._registered=!1,this._ua.unregistered({response:p||null,cause:b}))}},{key:"_unregistered",value:function(p,b){this._registering=!1,this._registered=!1,this._ua.unregistered({response:p||null,cause:b||null})}},{key:"registered",get:function(){return this._registered}}]),g}()},75739:(ge,_,f)=>{"use strict";function o(v,g){for(var y=0;y<g.length;y++){var p=g[y];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(v,p.key,p)}}var a=f(83351),E=f(49698),T=f(32223),s=f(72742),h=new a("RequestSender"),u={onRequestTimeout:function(){},onTransportError:function(){},onReceiveResponse:function(){},onAuthenticated:function(){}};ge.exports=function(){function v(g,y,p){for(var b in function c(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}(this,v),this._ua=g,this._eventHandlers=p,this._method=y.method,this._request=y,this._auth=null,this._challenged=!1,this._staled=!1,u)Object.prototype.hasOwnProperty.call(u,b)&&(this._eventHandlers[b]||(this._eventHandlers[b]=u[b]));g.status===g.C.STATUS_USER_CLOSED&&(this._method!==E.BYE||this._method!==E.ACK)&&this._eventHandlers.onTransportError()}return function C(v,g,y){g&&o(v.prototype,g),y&&o(v,y)}(v,[{key:"send",value:function(){var y=this,p={onRequestTimeout:function(){y._eventHandlers.onRequestTimeout()},onTransportError:function(){y._eventHandlers.onTransportError()},onReceiveResponse:function(R){y._receiveResponse(R)}};switch(this._method){case"INVITE":this.clientTransaction=new s.InviteClientTransaction(this._ua,this._ua.transport,this._request,p);break;case"ACK":this.clientTransaction=new s.AckClientTransaction(this._ua,this._ua.transport,this._request,p);break;default:this.clientTransaction=new s.NonInviteClientTransaction(this._ua,this._ua.transport,this._request,p)}this._ua._configuration.authorization_jwt&&this._request.setHeader("Authorization",this._ua._configuration.authorization_jwt),this.clientTransaction.send()}},{key:"_receiveResponse",value:function(y){var p,b,R=y.status_code;if(401!==R&&407!==R||null===this._ua.configuration.password&&null===this._ua.configuration.ha1)this._eventHandlers.onReceiveResponse(y);else{if(401===y.status_code?(p=y.parseHeader("www-authenticate"),b="authorization"):(p=y.parseHeader("proxy-authenticate"),b="proxy-authorization"),!p)return h.debug("".concat(y.status_code," with wrong or missing challenge, cannot authenticate")),void this._eventHandlers.onReceiveResponse(y);if(!this._challenged||!this._staled&&!0===p.stale){if(this._auth||(this._auth=new T({username:this._ua.configuration.authorization_user,password:this._ua.configuration.password,realm:this._ua.configuration.realm,ha1:this._ua.configuration.ha1})),!this._auth.authenticate(this._request,p))return void this._eventHandlers.onReceiveResponse(y);this._challenged=!0,this._ua.set("realm",this._auth.get("realm")),this._ua.set("ha1",this._auth.get("ha1")),p.stale&&(this._staled=!0),this._request=this._request.clone(),this._request.cseq+=1,this._request.setHeader("cseq","".concat(this._request.cseq," ").concat(this._method)),this._request.setHeader(b,this._auth.toString()),this._eventHandlers.onAuthenticated(this._request),this.send()}else this._eventHandlers.onReceiveResponse(y)}}}]),v}()},10688:(ge,_,f)=>{"use strict";function c(ee){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ae){return typeof ae}:function(ae){return ae&&"function"==typeof Symbol&&ae.constructor===Symbol&&ae!==Symbol.prototype?"symbol":typeof ae})(ee)}function o(ee,Y){if("function"!=typeof Y&&null!==Y)throw new TypeError("Super expression must either be null or a function");ee.prototype=Object.create(Y&&Y.prototype,{constructor:{value:ee,writable:!0,configurable:!0}}),Y&&C(ee,Y)}
1function C(ee,Y){return(C=Object.setPrototypeOf||function(fe,ne){return fe.__proto__=ne,fe})(ee,Y)}function a(ee){var Y=function s(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var ne,fe=h(ee);if(Y){var ce=h(this).constructor;ne=Reflect.construct(fe,arguments,ce)}else ne=fe.apply(this,arguments);return function E(ee,Y){return!Y||"object"!==c(Y)&&"function"!=typeof Y?function T(ee){if(void 0===ee)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee}(ee):Y}(this,ne)}}function h(ee){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(ae){return ae.__proto__||Object.getPrototypeOf(ae)})(ee)}function u(ee,Y){var ae;if(typeof Symbol>"u"||null==ee[Symbol.iterator]){if(Array.isArray(ee)||(ae=function v(ee,Y){if(ee){if("string"==typeof ee)return g(ee,Y);var ae=Object.prototype.toString.call(ee).slice(8,-1);if("Object"===ae&&ee.constructor&&(ae=ee.constructor.name),"Map"===ae||"Set"===ae)return Array.from(ee);if("Arguments"===ae||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ae))return g(ee,Y)}}(ee))||Y&&ee&&"number"==typeof ee.length){ae&&(ee=ae);var fe=0,ne=function(){};return{s:ne,n:function(){return fe>=ee.length?{done:!0}:{done:!1,value:ee[fe++]}},e:function(X){throw X},f:ne}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var re,ce=!0,me=!1;return{s:function(){ae=ee[Symbol.iterator]()},n:function(){var X=ae.next();return ce=X.done,X},e:function(X){me=!0,re=X},f:function(){try{!ce&&null!=ae.return&&ae.return()}finally{if(me)throw re}}}}function g(ee,Y){(null==Y||Y>ee.length)&&(Y=ee.length);for(var ae=0,fe=new Array(Y);ae<Y;ae++)fe[ae]=ee[ae];return fe}function y(ee,Y){if(!(ee instanceof Y))throw new TypeError("Cannot call a class as a function")}function p(ee,Y){for(var ae=0;ae<Y.length;ae++){var fe=Y[ae];fe.enumerable=fe.enumerable||!1,fe.configurable=!0,"value"in fe&&(fe.writable=!0),Object.defineProperty(ee,fe.key,fe)}}function b(ee,Y,ae){return Y&&p(ee.prototype,Y),ae&&p(ee,ae),ee}var R=f(86888),P=f(83351),k=f(49698),O=f(250),V=f(88062),K=f(22446),z=new P("SIPMessage"),H=function(){function ee(Y,ae,fe,ne,ce,me){if(y(this,ee),!Y||!ae||!fe)return null;ne=ne||{},this.ua=fe,this.headers={},this.method=Y,this.ruri=ae,this.body=me,this.extraHeaders=O.cloneArray(ce),this.ua.configuration.extra_headers&&(this.extraHeaders=this.extraHeaders.concat(this.ua.configuration.extra_headers)),ne.route_set?this.setHeader("route",ne.route_set):fe.configuration.use_preloaded_route&&this.setHeader("route","<".concat(fe.transport.sip_uri,";lr>")),this.setHeader("via",""),this.setHeader("max-forwards",k.MAX_FORWARDS),this.to=new V(ne.to_uri||ae,typeof ne.to_display_name<"u"?ne.to_display_name:null,ne.to_tag?{tag:ne.to_tag}:null),this.setHeader("to",this.to.toString());var M=ne.from_uri||fe.configuration.uri,N={tag:ne.from_tag||O.newTag()};this.from=new V(M,typeof ne.from_display_name<"u"?ne.from_display_name:fe.configuration.display_name?fe.configuration.display_name:null,N),this.setHeader("from",this.from.toString());var ue=ne.call_id||fe.configuration.jssip_id+O.createRandomToken(15);this.call_id=ue,this.setHeader("call-id",ue);var ve=ne.cseq||Math.floor(1e4*Math.random());this.cseq=ve,this.setHeader("cseq","".concat(ve," ").concat(Y))}return b(ee,[{key:"setHeader",value:function(ae,fe){for(var ne=new RegExp("^\\s*".concat(ae,"\\s*:"),"i"),ce=0;ce<this.extraHeaders.length;ce++)ne.test(this.extraHeaders[ce])&&this.extraHeaders.splice(ce,1);this.headers[O.headerize(ae)]=Array.isArray(fe)?fe:[fe]}},{key:"getHeader",value:function(ae){var fe=this.headers[O.headerize(ae)];if(fe){if(fe[0])return fe[0]}else{var me,ne=new RegExp("^\\s*".concat(ae,"\\s*:"),"i"),ce=u(this.extraHeaders);try{for(ce.s();!(me=ce.n()).done;){var re=me.value;if(ne.test(re))return re.substring(re.indexOf(":")+1).trim()}}catch($){ce.e($)}finally{ce.f()}}}},{key:"getHeaders",value:function(ae){var fe=this.headers[O.headerize(ae)],ne=[];if(fe){var me,ce=u(fe);try{for(ce.s();!(me=ce.n()).done;)ne.push(me.value)}catch(G){ce.e(G)}finally{ce.f()}return ne}var M,$=new RegExp("^\\s*".concat(ae,"\\s*:"),"i"),X=u(this.extraHeaders);try{for(X.s();!(M=X.n()).done;){var N=M.value;
vendor: 10,247 bytes, line 1
1$.test(N)&&ne.push(N.substring(N.indexOf(":")+1).trim())}}catch(G){X.e(G)}finally{X.f()}return ne}},{key:"hasHeader",value:function(ae){if(this.headers[O.headerize(ae)])return!0;var ce,fe=new RegExp("^\\s*".concat(ae,"\\s*:"),"i"),ne=u(this.extraHeaders);try{for(ne.s();!(ce=ne.n()).done;)if(fe.test(ce.value))return!0}catch(re){ne.e(re)}finally{ne.f()}return!1}},{key:"parseSDP",value:function(ae){return!ae&&this.sdp||(this.sdp=R.parse(this.body||"")),this.sdp}},{key:"toString",value:function(){var ae="".concat(this.method," ").concat(this.ruri," SIP/2.0\r\n");for(var fe in this.headers)if(Object.prototype.hasOwnProperty.call(this.headers,fe)){var ce,ne=u(this.headers[fe]);try{for(ne.s();!(ce=ne.n()).done;){var me=ce.value;ae+="".concat(fe,": ").concat(me,"\r\n")}}catch(ue){ne.e(ue)}finally{ne.f()}}var $,re=u(this.extraHeaders);try{for(re.s();!($=re.n()).done;)ae+="".concat($.value.trim(),"\r\n")}catch(ue){re.e(ue)}finally{re.f()}var M=[];switch(this.method){case k.REGISTER:M.push("path","gruu");break;case k.INVITE:this.ua.configuration.session_timers&&M.push("timer"),(this.ua.contact.pub_gruu||this.ua.contact.temp_gruu)&&M.push("gruu"),M.push("ice","replaces");break;case k.UPDATE:this.ua.configuration.session_timers&&M.push("timer"),M.push("ice")}M.push("outbound");var N=this.ua.configuration.user_agent||k.USER_AGENT;if(ae+="Allow: ".concat(k.ALLOWED_METHODS,"\r\n"),ae+="Supported: ".concat(M,"\r\n"),ae+="User-Agent: ".concat(N,"\r\n"),this.body){var G=O.str_utf8_length(this.body);ae+="Content-Length: ".concat(G,"\r\n\r\n"),ae+=this.body}else ae+="Content-Length: 0\r\n\r\n";return ae}},{key:"clone",value:function(){var ae=new ee(this.method,this.ruri,this.ua);return Object.keys(this.headers).forEach(function(fe){ae.headers[fe]=this.headers[fe].slice()},this),ae.body=this.body,ae.extraHeaders=O.cloneArray(this.extraHeaders),ae.to=this.to,ae.from=this.from,ae.call_id=this.call_id,ae.cseq=this.cseq,ae}}]),ee}(),x=function(ee){o(ae,ee);var Y=a(ae);function ae(fe,ne,ce,me,re){var $;return y(this,ae),($=Y.call(this,k.INVITE,fe,ne,ce,me,re)).transaction=null,$}return b(ae,[{key:"cancel",value:function(ne){this.transaction.cancel(ne)}},{key:"clone",value:function(){var ne=new ae(this.ruri,this.ua);return Object.keys(this.headers).forEach(function(ce){ne.headers[ce]=this.headers[ce].slice()},this),ne.body=this.body,ne.extraHeaders=O.cloneArray(this.extraHeaders),ne.to=this.to,ne.from=this.from,ne.call_id=this.call_id,ne.cseq=this.cseq,ne.transaction=this.transaction,ne}}]),ae}(H),q=function(){function ee(){y(this,ee),this.data=null,this.headers=null,this.method=null,this.via=null,this.via_branch=null,this.call_id=null,this.cseq=null,this.from=null,this.from_tag=null,this.to=null,this.to_tag=null,this.body=null,this.sdp=null}return b(ee,[{key:"addHeader",value:function(ae,fe){var ne={raw:fe};ae=O.headerize(ae),this.headers[ae]?this.headers[ae].push(ne):this.headers[ae]=[ne]}},{key:"getHeader",value:function(ae){var fe=this.headers[O.headerize(ae)];if(fe)return fe[0]?fe[0].raw:void 0}},{key:"getHeaders",value:function(ae){var fe=this.headers[O.headerize(ae)],ne=[];if(!fe)return[];var me,ce=u(fe);try{for(ce.s();!(me=ce.n()).done;)ne.push(me.value.raw)}catch($){ce.e($)}finally{ce.f()}return ne}},{key:"hasHeader",value:function(ae){return!!this.headers[O.headerize(ae)]}},{key:"parseHeader",value:function(ae){var fe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(ae=O.headerize(ae),this.headers[ae]){if(!(fe>=this.headers[ae].length)){var ne=this.headers[ae][fe],ce=ne.raw;if(ne.parsed)return ne.parsed;var me=K.parse(ce,ae.replace(/-/g,"_"));return-1===me?(this.headers[ae].splice(fe,1),void z.debug('error parsing "'.concat(ae,'" header field with value "').concat(ce,'"'))):(ne.parsed=me,me)}z.debug('not so many "'.concat(ae,'" headers present'))}else z.debug('header "'.concat(ae,'" not present'))}},{key:"s",value:function(ae,fe){return this.parseHeader(ae,fe)}},{key:"setHeader",value:function(ae,fe){var ne={raw:fe};this.headers[O.headerize(ae)]=[ne]}},{key:"parseSDP",value:function(ae){return!ae&&this.sdp||(this.sdp=R.parse(this.body||"")),this.sdp}},{key:"toString",value:function(){return this.data}}]),ee}();ge.exports={OutgoingRequest:H,InitialOutgoingInviteRequest:x,IncomingRequest:function(ee){o(ae,ee);var Y=a(ae);function ae(fe){var ne;return y(this,ae),(ne=Y.call(this)).ua=fe,ne.headers={},ne.ruri=null,ne.transport=null,ne.server_transaction=null,ne}return b(ae,[{key:"reply",value:function(ne,ce,me,re,$,X){var M=[],N=this.getHeader("To");if(ce=ce||null,!(ne=ne||null)||ne<100||ne>699)throw new TypeError("Invalid status_code: ".concat(ne));if(ce&&"string"!=typeof ce&&!(ce instanceof String))throw new TypeError("Invalid reason_phrase: ".concat(ce));ce=ce||k.REASON_PHRASE[ne]||"",me=O.cloneArray(me),this.ua.configuration.extra_headers&&(me=me.concat(this.ua.configuration.extra_headers));var G="SIP/2.0 ".concat(ne," ").concat(ce,"\r\n");if(this.method===k.INVITE&&ne>100&&ne<=200){var we,ve=u(this.getHeaders("record-route"));try{for(ve.s();!(we=ve.n()).done;)G+="Record-Route: ".concat(we.value,"\r\n")}catch(yt){ve.e(yt)}finally{ve.f()}}var Pt,at=u(this.getHeaders("via"));try{for(at.s();!(Pt=at.n()).done;)G+="Via: ".concat(Pt.value,"\r\n")}catch(yt){at.e(yt)}finally{at.f()}!this.to_tag&&ne>100?N+=";tag=".concat(O.newTag()):this.to_tag&&!this.s("to").hasParam("tag")&&(N+=";tag=".concat(this.to_tag)),G+="To: ".concat(N,"\r\n"),G+="From: ".concat(this.getHeader("From"),"\r\n"),G+="Call-ID: ".concat(this.call_id,"\r\n"),G+="CSeq: ".concat(this.cseq," ").concat(this.method,"\r\n");var qt,It=u(me);try{for(It.s();!(qt=It.n()).done;)G+="".concat(qt.value.trim(),"\r\n")}catch(yt){It.e(yt)}finally{It.f()}switch(this.method){case k.INVITE:this.ua.configuration.session_timers&&M.push("timer"),(this.ua.contact.pub_gruu||this.ua.contact.temp_gruu)&&M.push("gruu"),M.push("ice","replaces");break;case k.UPDATE:this.ua.configuration.session_timers&&M.push("timer"),re&&M.push("ice"),M.push("replaces")}if(M.push("outbound"),this.method===k.OPTIONS?(G+="Allow: ".concat(k.ALLOWED_METHODS,"\r\n"),G+="Accept: ".concat(k.ACCEPTED_BODY_TYPES,"\r\n")):405===ne?G+="Allow: ".concat(k.ALLOWED_METHODS,"\r\n"):415===ne&&(G+="Accept: ".concat(k.ACCEPTED_BODY_TYPES,"\r\n")),G+="Supported: ".concat(M,"\r\n"),re){var lt=O.str_utf8_length(re);G+="Content-Type: application/sdp\r\n",G+="Content-Length: ".concat(lt,"\r\n\r\n"),G+=re}else G+="Content-Length: ".concat(0,"\r\n\r\n");this.server_transaction.receiveResponse(ne,G,$,X)}},{key:"reply_sl",value:function(){var ne=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,ce=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,me=this.getHeaders("via");if(!ne||ne<100||ne>699)throw new TypeError("Invalid status_code: ".concat(ne));if(ce&&"string"!=typeof ce&&!(ce instanceof String))throw new TypeError("Invalid reason_phrase: ".concat(ce));ce=ce||k.REASON_PHRASE[ne]||"";var X,re="SIP/2.0 ".concat(ne," ").concat(ce,"\r\n"),$=u(me);try{for($.s();!(X=$.n()).done;)re+="Via: ".concat(X.value,"\r\n")}catch(we){$.e(we)}finally{$.f()}var N=this.getHeader("To");if(!this.to_tag&&ne>100?N+=";tag=".concat(O.newTag()):this.to_tag&&!this.s("to").hasParam("tag")&&(N+=";tag=".concat(this.to_tag)),re+="To: ".concat(N,"\r\n"),re+="From: ".concat(this.getHeader("From"),"\r\n"),re+="Call-ID: ".concat(this.call_id,"\r\n"),re+="CSeq: ".concat(this.cseq," ").concat(this.method,"\r\n"),this.ua.configuration.extra_headers){var ue,G=u(this.ua.configuration.extra_headers);try{for(G.s();!(ue=G.n()).done;)re+="".concat(ue.value.trim(),"\r\n")}catch(we){G.e(we)}finally{G.f()}}re+="Content-Length: ".concat(0,"\r\n\r\n"),this.transport.send(re)}}]),ae}(q),IncomingResponse:function(ee){o(ae,ee);var Y=a(ae);function ae(){var fe;return y(this,ae),(fe=Y.call(this)).headers={},fe.status_code=null,fe.reason_phrase=null,fe}return ae}(q)}},99710:(ge,_,f)=>{"use strict";var c=f(83351),o=f(250),C=f(22446),a=new c("Socket");_.isSocket=function(E){if(Array.isArray(E))return!1;if(typeof E>"u")return a.warn("undefined JsSIP.Socket instance"),!1;try{if(!o.isString(E.url))throw a.warn("missing or invalid JsSIP.Socket url property"),new Error("Missing or invalid JsSIP.Socket url property");if(!o.isString(E.via_transport))throw a.warn("missing or invalid JsSIP.Socket via_transport property"),new Error("Missing or invalid JsSIP.Socket via_transport property");if(-1===C.parse(E.sip_uri,"SIP_URI"))throw a.warn("missing or invalid JsSIP.Socket sip_uri property"),new Error("missing or invalid JsSIP.Socket sip_uri property")}catch{return!1}try{["connect","disconnect","send"].forEach(function(T){if(!o.isFunction(E[T]))throw a.warn("missing or invalid JsSIP.Socket method: ".concat(T)),new Error("Missing or invalid JsSIP.Socket method: ".concat(T))})}catch{return!1}return!0}},2381:ge=>{"use strict";var _=500;ge.exports={T1:_,T2:4e3,T4:5e3,TIMER_B:64*_,TIMER_D:0,TIMER_F:64*_,TIMER_H:64*_,TIMER_I:0,TIMER_J:0,TIMER_K:0,TIMER_L:64*_,TIMER_M:64*_,PROVISIONAL_RESPONSE_INTERVAL:6e4}},72742:(ge,_,f)=>{"use strict";function c(ae){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ne){return typeof ne}:function(ne){return ne&&"function"==typeof Symbol&&ne.constructor===Symbol&&ne!==Symbol.prototype?"symbol":typeof ne})(ae)}function o(ae,fe){if(!(ae instanceof fe))throw new TypeError("Cannot call a class as a function")}function C(ae,fe){for(var ne=0;ne<fe.length;ne++){var ce=fe[ne];ce.enumerable=ce.enumerable||!1,ce.configurable=!0,"value"in ce&&(ce.writable=!0),Object.defineProperty(ae,ce.key,ce)}}function a(ae,fe,ne){return fe&&C(ae.prototype,fe),ne&&C(ae,ne),ae}function E(ae,fe){if("function"!=typeof fe&&null!==fe)throw new TypeError("Super expression must either be null or a function");ae.prototype=Object.create(fe&&fe.prototype,{constructor:{value:ae,writable:!0,configurable:!0}}),fe&&T(ae,fe)}function T(ae,fe){return(T=Object.setPrototypeOf||function(ce,me){return ce.__proto__=me,ce})(ae,fe)}function s(ae){var fe=function v(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var me,ce=g(ae);
1if(fe){var re=g(this).constructor;me=Reflect.construct(ce,arguments,re)}else me=ce.apply(this,arguments);return function h(ae,fe){return!fe||"object"!==c(fe)&&"function"!=typeof fe?u(ae):fe}(this,me)}}function u(ae){if(void 0===ae)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ae}function g(ae){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(ne){return ne.__proto__||Object.getPrototypeOf(ne)})(ae)}var y=f(44356).EventEmitter,p=f(83351),b=f(49698),R=f(10688),P=f(2381),k=new p("NonInviteClientTransaction"),O=new p("InviteClientTransaction"),V=new p("AckClientTransaction"),K=new p("NonInviteServerTransaction"),z=new p("InviteServerTransaction"),H={STATUS_TRYING:1,STATUS_PROCEEDING:2,STATUS_CALLING:3,STATUS_ACCEPTED:4,STATUS_COMPLETED:5,STATUS_TERMINATED:6,STATUS_CONFIRMED:7,NON_INVITE_CLIENT:"nict",NON_INVITE_SERVER:"nist",INVITE_CLIENT:"ict",INVITE_SERVER:"ist"};ge.exports={C:H,NonInviteClientTransaction:function(ae){E(ne,ae);var fe=s(ne);function ne(ce,me,re,$){var X;o(this,ne),(X=fe.call(this)).type=H.NON_INVITE_CLIENT,X.id="z9hG4bK".concat(Math.floor(1e7*Math.random())),X.ua=ce,X.transport=me,X.request=re,X.eventHandlers=$;var M="SIP/2.0/".concat(me.via_transport);return M+=" ".concat(ce.configuration.via_host,";branch=").concat(X.id),X.request.setHeader("via",M),X.ua.newTransaction(u(X)),X}return a(ne,[{key:"stateChanged",value:function(me){this.state=me,this.emit("stateChanged")}},{key:"send",value:function(){var me=this;this.stateChanged(H.STATUS_TRYING),this.F=setTimeout(function(){me.timer_F()},P.TIMER_F),this.transport.send(this.request)||this.onTransportError()}},{key:"onTransportError",value:function(){k.debug("transport error occurred, deleting transaction ".concat(this.id)),clearTimeout(this.F),clearTimeout(this.K),this.stateChanged(H.STATUS_TERMINATED),this.ua.destroyTransaction(this),this.eventHandlers.onTransportError()}},{key:"timer_F",value:function(){k.debug("Timer F expired for transaction ".concat(this.id)),this.stateChanged(H.STATUS_TERMINATED),this.ua.destroyTransaction(this),this.eventHandlers.onRequestTimeout()}},{key:"timer_K",value:function(){this.stateChanged(H.STATUS_TERMINATED),this.ua.destroyTransaction(this)}},{key:"receiveResponse",value:function(me){var re=this,$=me.status_code;if($<200)switch(this.state){case H.STATUS_TRYING:case H.STATUS_PROCEEDING:this.stateChanged(H.STATUS_PROCEEDING),this.eventHandlers.onReceiveResponse(me)}else switch(this.state){case H.STATUS_TRYING:case H.STATUS_PROCEEDING:this.stateChanged(H.STATUS_COMPLETED),clearTimeout(this.F),408===$?this.eventHandlers.onRequestTimeout():this.eventHandlers.onReceiveResponse(me),this.K=setTimeout(function(){re.timer_K()},P.TIMER_K)}}},{key:"C",get:function(){return H}}]),ne}(y),InviteClientTransaction:function(ae){E(ne,ae);var fe=s(ne);function ne(ce,me,re,$){var X;o(this,ne),(X=fe.call(this)).type=H.INVITE_CLIENT,X.id="z9hG4bK".concat(Math.floor(1e7*Math.random())),X.ua=ce,X.transport=me,X.request=re,X.eventHandlers=$,re.transaction=u(X);var M="SIP/2.0/".concat(me.via_transport);return M+=" ".concat(ce.configuration.via_host,";branch=").concat(X.id),X.request.setHeader("via",M),X.ua.newTransaction(u(X)),X}return a(ne,[{key:"stateChanged",value:function(me){this.state=me,this.emit("stateChanged")}},{key:"send",value:function(){var me=this;this.stateChanged(H.STATUS_CALLING),this.B=setTimeout(function(){me.timer_B()},P.TIMER_B),this.transport.send(this.request)||this.onTransportError()}},{key:"onTransportError",value:function(){clearTimeout(this.B),clearTimeout(this.D),clearTimeout(this.M),this.state!==H.STATUS_ACCEPTED&&(O.debug("transport error occurred, deleting transaction ".concat(this.id)),this.eventHandlers.onTransportError()),this.stateChanged(H.STATUS_TERMINATED),this.ua.destroyTransaction(this)}},{key:"timer_M",value:function(){O.debug("Timer M expired for transaction ".concat(this.id)),this.state===H.STATUS_ACCEPTED&&(clearTimeout(this.B),this.stateChanged(H.STATUS_TERMINATED),this.ua.destroyTransaction(this))}},{key:"timer_B",value:function(){O.debug("Timer B expired for transaction ".concat(this.id
vendor: 4,590 bytes, line 1
1)),this.state===H.STATUS_CALLING&&(this.stateChanged(H.STATUS_TERMINATED),this.ua.destroyTransaction(this),this.eventHandlers.onRequestTimeout())}},{key:"timer_D",value:function(){O.debug("Timer D expired for transaction ".concat(this.id)),clearTimeout(this.B),this.stateChanged(H.STATUS_TERMINATED),this.ua.destroyTransaction(this)}},{key:"sendACK",value:function(me){var re=this,$=new R.OutgoingRequest(b.ACK,this.request.ruri,this.ua,{route_set:this.request.getHeaders("route"),call_id:this.request.getHeader("call-id"),cseq:this.request.cseq});$.setHeader("from",this.request.getHeader("from")),$.setHeader("via",this.request.getHeader("via")),$.setHeader("to",me.getHeader("to")),this.D=setTimeout(function(){re.timer_D()},P.TIMER_D),this.transport.send($)}},{key:"cancel",value:function(me){if(this.state===H.STATUS_PROCEEDING){var re=new R.OutgoingRequest(b.CANCEL,this.request.ruri,this.ua,{route_set:this.request.getHeaders("route"),call_id:this.request.getHeader("call-id"),cseq:this.request.cseq});re.setHeader("from",this.request.getHeader("from")),re.setHeader("via",this.request.getHeader("via")),re.setHeader("to",this.request.getHeader("to")),me&&re.setHeader("reason",me),this.transport.send(re)}}},{key:"receiveResponse",value:function(me){var re=this,$=me.status_code;if($>=100&&$<=199)switch(this.state){case H.STATUS_CALLING:this.stateChanged(H.STATUS_PROCEEDING),this.eventHandlers.onReceiveResponse(me);break;case H.STATUS_PROCEEDING:this.eventHandlers.onReceiveResponse(me)}else if($>=200&&$<=299)switch(this.state){case H.STATUS_CALLING:case H.STATUS_PROCEEDING:this.stateChanged(H.STATUS_ACCEPTED),this.M=setTimeout(function(){re.timer_M()},P.TIMER_M),this.eventHandlers.onReceiveResponse(me);break;case H.STATUS_ACCEPTED:this.eventHandlers.onReceiveResponse(me)}else if($>=300&&$<=699)switch(this.state){case H.STATUS_CALLING:case H.STATUS_PROCEEDING:this.stateChanged(H.STATUS_COMPLETED),this.sendACK(me),this.eventHandlers.onReceiveResponse(me);break;case H.STATUS_COMPLETED:this.sendACK(me)}}},{key:"C",get:function(){return H}}]),ne}(y),AckClientTransaction:function(ae){E(ne,ae);var fe=s(ne);function ne(ce,me,re,$){var X;o(this,ne),(X=fe.call(this)).id="z9hG4bK".concat(Math.floor(1e7*Math.random())),X.transport=me,X.request=re,X.eventHandlers=$;var M="SIP/2.0/".concat(me.via_transport);return M+=" ".concat(ce.configuration.via_host,";branch=").concat(X.id),X.request.setHeader("via",M),X}return a(ne,[{key:"send",value:function(){this.transport.send(this.request)||this.onTransportError()}},{key:"onTransportError",value:function(){V.debug("transport error occurred for transaction ".concat(this.id)),this.eventHandlers.onTransportError()}},{key:"C",get:function(){return H}}]),ne}(y),NonInviteServerTransaction:function(ae){E(ne,ae);var fe=s(ne);function ne(ce,me,re){var $;return o(this,ne),($=fe.call(this)).type=H.NON_INVITE_SERVER,$.id=re.via_branch,$.ua=ce,$.transport=me,$.request=re,$.last_response="",re.server_transaction=u($),$.state=H.STATUS_TRYING,ce.newTransaction(u($)),$}return a(ne,[{key:"stateChanged",value:function(me){this.state=me,this.emit("stateChanged")}},{key:"timer_J",value:function(){K.debug("Timer J expired for transaction ".concat(this.id)),this.stateChanged(H.STATUS_TERMINATED),this.ua.destroyTransaction(this)}},{key:"onTransportError",value:function(){this.transportError||(this.transportError=!0,K.debug("transport error occurred, deleting transaction ".concat(this.id)),clearTimeout(this.J),this.stateChanged(H.STATUS_TERMINATED),this.ua.destroyTransaction(this))}},{key:"receiveResponse",value:function(me,re,$,X){var M=this;if(100===me)switch(this.state){case H.STATUS_TRYING:this.stateChanged(H.STATUS_PROCEEDING),this.transport.send(re)||this.onTransportError();break;case H.STATUS_PROCEEDING:this.last_response=re,this.transport.send(re)?$&&$():(this.onTransportError(),X&&X())}else if(me>=200&&me<=699)switch(this.state){case H.STATUS_TRYING:case H.STATUS_PROCEEDING:this.stateChanged(H.STATUS_COMPLETED),this.last_response=re,this.J=setTimeout(function(){M.timer_J()},P.TIMER_J),this.transport.send(re)?$&&$():(this.onTransportError(),X&&X())}}},{key:"C",get:function(){return H}}]),ne}(y),InviteServerTransaction:function(ae){E(ne,ae);var fe=s(ne);function ne(ce,me,re){var $;return o(this,ne),($=fe.call(this)).type=H.INVITE_SERVER,$.id=re.via_branch,$.ua=ce,$.transport=me,$.request=re,$.last_response="",re.server_transaction=u($),$.state=H.STATUS_PROCEEDING,ce.newTransaction(u($)),$.resendProvisionalTimer=null,re.reply(100),$}return a(ne,[{key:"stateChanged",value:function(me){this.state=me,this.emit
1("stateChanged")}},{key:"timer_H",value:function(){z.debug("Timer H expired for transaction ".concat(this.id)),this.state===H.STATUS_COMPLETED&&z.debug("ACK not received, dialog will be terminated"),this.stateChanged(H.STATUS_TERMINATED),this.ua.destroyTransaction(this)}},{key:"timer_I",value:function(){this.stateChanged(H.STATUS_TERMINATED),this.ua.destroyTransaction(this)}},{key:"timer_L",value:function(){z.debug("Timer L expired for transaction ".concat(this.id)),this.state===H.STATUS_ACCEPTED&&(this.stateChanged(H.STATUS_TERMINATED),this.ua.destroyTransaction(this))}},{key:"onTransportError",value:function(){this.transportError||(this.transportError=!0,z.debug("transport error occurred, deleting transaction ".concat(this.id)),null!==this.resendProvisionalTimer&&(clearInterval(this.resendProvisionalTimer),this.resendProvisionalTimer=null),clearTimeout(this.L),clearTimeout(this.H),clearTimeout(this.I),this.stateChanged(H.STATUS_TERMINATED),this.ua.destroyTransaction(this))}},{key:"resend_provisional",value:function(){this.transport.send(this.last_response)||this.onTransportError()}},{key:"receiveResponse",value:function(me,re,$,X){var M=this;if(me>=100&&me<=199&&this.state===H.STATUS_PROCEEDING&&(this.transport.send(re)||this.onTransportError(),this.last_response=re),me>100&&me<=199&&this.state===H.STATUS_PROCEEDING)null===this.resendProvisionalTimer&&(this.resendProvisionalTimer=setInterval(function(){M.resend_provisional()},P.PROVISIONAL_RESPONSE_INTERVAL));else if(me>=200&&me<=299)switch(this.state){case H.STATUS_PROCEEDING:this.stateChanged(H.STATUS_ACCEPTED),this.last_response=re,this.L=setTimeout(function(){M.timer_L()},P.TIMER_L),null!==this.resendProvisionalTimer&&(clearInterval(this.resendProvisionalTimer),this.resendProvisionalTimer=null);case H.STATUS_ACCEPTED:this.transport.send(re)?$&&$():(this.onTransportError(),X&&X())}else me>=300&&me<=699&&this.state===H.STATUS_PROCEEDING&&(null!==this.resendProvisionalTimer&&(clearInterval(this.resendProvisionalTimer),this.resendProvisionalTimer=null),this.transport.send(re)?(this.stateChanged(H.STATUS_COMPLETED),this.H=setTimeout(function(){M.timer_H()},P.TIMER_H),$&&$()):(this.onTransportError(),X&&X()))}},{key:"C",get:function(){return H}}]),ne}(y),checkTransaction:function Y(ae,fe){var ce,ne=ae._transactions;switch(fe.method){case b.INVITE:if(ce=ne.ist[fe.via_branch])return ce.state===H.STATUS_PROCEEDING&&ce.transport.send(ce.last_response),!0;break;case b.ACK:if(!(ce=ne.ist[fe.via_branch]))return!1;if(ce.state===H.STATUS_ACCEPTED)return!1;if(ce.state===H.STATUS_COMPLETED)return ce.state=H.STATUS_CONFIRMED,ce.I=setTimeout(function(){ce.timer_I()},P.TIMER_I),!0;break;case b.CANCEL:return(ce=ne.ist[fe.via_branch])?(fe.reply_sl(200),ce.state!==H.STATUS_PROCEEDING):(fe.reply_sl(481),!0);default:if(ce=ne.nist[fe.via_branch]){switch(ce.state){case H.STATUS_TRYING:break;case H.STATUS_PROCEEDING:case H.STATUS_COMPLETED:ce.transport.send(ce.last_response)}return!0}}}}},51954:(ge,_,f)=>{"use strict";function o(u,v){for(var g=0;g<v.length;g++){var y=v[g];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(u,y.key,y)}}var a=f(83351),E=f(99710),T=f(49698),s=new a("Transport"),h={STATUS_CONNECTED:0,STATUS_CONNECTING:1,STATUS_DISCONNECTED:2,SOCKET_STATUS_READY:0,SOCKET_STATUS_ERROR:1,recovery_options:{min_interval:T.CONNECTION_RECOVERY_MIN_INTERVAL,max_interval:T.CONNECTION_RECOVERY_MAX_INTERVAL}};ge.exports=function(){function u(v){var g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.recovery_options;(function c(u,v){if(!(u instanceof v))throw new TypeError("Cannot call a class as a function")})(this,u),s.debug("new()"),this.status=h.STATUS_DISCONNECTED,this.socket=null,this.sockets=[],this.recovery_options=g,this.recover_attempts=0,this.recovery_timer=null,this.close_requested=!1;try{this.textDecoder=new TextDecoder("utf8")}catch(y){s.warn("cannot use TextDecoder: ".concat(y))}if(typeof v>"u")throw new TypeError("Invalid argument. undefined 'sockets' argument");v instanceof Array||(v=[v]),v.forEach(function(y){if(!E.isSocket(y.socket))throw new TypeError("Invalid argument. invalid 'JsSIP.Socket' instance");if(y.weight&&!Number(y.weight))throw new TypeError("Invalid argument. 'weight' attribute is not a number");this.sockets.push({socket:y.socket,weight:y.weight||0,status:h.SOCKET_STATUS_READY})},this),this._getSocket()}return function C(u,v,g){v&&o(u.prototype,v),g&&o(u,g)}
1(u,[{key:"connect",value:function(){s.debug("connect()"),this.isConnected()?s.debug("Transport is already connected"):this.isConnecting()?s.debug("Transport is connecting"):(this.close_requested=!1,this.status=h.STATUS_CONNECTING,this.onconnecting({socket:this.socket,attempts:this.recover_attempts}),this.close_requested||(this.socket.onconnect=this._onConnect.bind(this),this.socket.ondisconnect=this._onDisconnect.bind(this),this.socket.ondata=this._onData.bind(this),this.socket.connect()))}},{key:"disconnect",value:function(){s.debug("close()"),this.close_requested=!0,this.recover_attempts=0,this.status=h.STATUS_DISCONNECTED,null!==this.recovery_timer&&(clearTimeout(this.recovery_timer),this.recovery_timer=null),this.socket.onconnect=function(){},this.socket.ondisconnect=function(){},this.socket.ondata=function(){},this.socket.disconnect(),this.ondisconnect({socket:this.socket,error:!1})}},{key:"send",value:function(g){if(s.debug("send()"),!this.isConnected())return s.warn("unable to send message, transport is not connected"),!1;var y=g.toString();return s.debug("sending message:\n\n".concat(y,"\n")),this.socket.send(y)}},{key:"isConnected",value:function(){return this.status===h.STATUS_CONNECTED}},{key:"isConnecting",value:function(){return this.status===h.STATUS_CONNECTING}},{key:"_reconnect",value:function(){var g=this;this.recover_attempts+=1;var y=Math.floor(Math.random()*Math.pow(2,this.recover_attempts)+1);y<this.recovery_options.min_interval?y=this.recovery_options.min_interval:y>this.recovery_options.max_interval&&(y=this.recovery_options.max_interval),s.debug("reconnection attempt: ".concat(this.recover_attempts,". next connection attempt in ").concat(y," seconds")),this.recovery_timer=setTimeout(function(){!g.close_requested&&!g.isConnected()&&!g.isConnecting()&&(g._getSocket(),g.connect())},1e3*y)}},{key:"_getSocket",value:function(){var g=[];if(this.sockets.forEach(function(p){p.status!==h.SOCKET_STATUS_ERROR&&(0===g.length?g.push(p):p.weight>g[0].weight?g=[p]:p.weight===g[0].weight&&g.push(p))}),0===g.length)return this.sockets.forEach(function(p){p.status=h.SOCKET_STATUS_READY}),void this._getSocket();var y=Math.floor(Math.random()*g.length);this.socket=g[y].socket}},{key:"_onConnect",value:function(){this.recover_attempts=0,this.status=h.STATUS_CONNECTED,null!==this.recovery_timer&&(clearTimeout(this.recovery_timer),this.recovery_timer=null),this.onconnect({socket:this})}},{key:"_onDisconnect",value:function(g,y,p){this.status=h.STATUS_DISCONNECTED,this.ondisconnect({socket:this.socket,error:g,code:y,reason:p}),!this.close_requested&&(this.sockets.forEach(function(b){this.socket===b.socket&&(b.status=h.SOCKET_STATUS_ERROR)},this),this._reconnect(g))}},{key:"_onData",value:function(g){if("\r\n\r\n"!==g)if("\r\n"!==g){if("string"!=typeof g){try{g=this.textDecoder?this.textDecoder.decode(g):String.fromCharCode.apply(null,new Uint8Array(g))}catch{return void s.debug("received binary message failed to be converted into string, message discarded")}s.debug("received binary message:\n\n".concat(g,"\n"))}else s.debug("received text message:\n\n".concat(g,"\n"));this.ondata({transport:this,message:g})}else s.debug("received message with CRLF Keep Alive response");else{s.debug("received message with double-CRLF Keep Alive request");try{this.socket.send("\r\n")}catch(y){s.warn("error sending Keep Alive response: ".concat(y))}}}},{key:"via_transport",get:function(){return this.socket.via_transport}},{key:"url",get:function(){return this.socket.url}},{key:"sip_uri",get:function(){return this.socket.sip_uri}}]),u}()},9353:(ge,_,f)=>{"use strict";function c(re){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(X){return typeof X}:function(X){return X&&"function"==typeof Symbol&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X})(re)}function C(re,$){for(var X=0;X<$.length;X++){var M=$[X];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(re,M.key,M)}}function a(re,$,X){return $&&C(re.prototype,$),X&&C(re,X),re}function T(re,$){return(T=Object.setPrototypeOf||function(M,N){return M.__proto__=N,M})(re,$)}function u(re){if(void 0===re)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return re}function g(re){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(X){return X.__proto__||Object.getPrototypeOf(X)})(re)}var y=f(44356).EventEmitter,p=f(83351),b=f(49698),R=f(69187),P=f(29982),k=f(68304),O=f
1(79365),V=f(72742),K=f(51954),z=f(250),H=f(37453),x=f(56393),q=f(77120),Z=f(10688),de=f(75697),ee=f(48501),Y=new p("UA"),ae={STATUS_INIT:0,STATUS_READY:1,STATUS_USER_CLOSED:2,STATUS_NOT_READY:3,CONFIGURATION_ERROR:1,NETWORK_ERROR:2};function fe(re){this.emit("connecting",re)}function ne(re){this._status!==ae.STATUS_USER_CLOSED&&(this._status=ae.STATUS_READY,this._error=null,this.emit("connected",re),this._dynConfiguration.register&&this._registrator.register())}function ce(re){for(var X=0,M=["nict","ict","nist","ist"];X<M.length;X++){var N=M[X];for(var G in this._transactions[N])Object.prototype.hasOwnProperty.call(this._transactions[N],G)&&this._transactions[N][G].onTransportError()}this.emit("disconnected",re),this._registrator.onTransportClosed(),this._status!==ae.STATUS_USER_CLOSED&&(this._status=ae.STATUS_NOT_READY,this._error=ae.NETWORK_ERROR)}function me(re){var $=re.transport,X=re.message;if((X=q.parseMessage(X,this))&&!(this._status===ae.STATUS_USER_CLOSED&&X instanceof Z.IncomingRequest)&&de(X,this,$))if(X instanceof Z.IncomingRequest)X.transport=$,this.receiveRequest(X);else if(X instanceof Z.IncomingResponse){var M;switch(X.method){case b.INVITE:(M=this._transactions.ict[X.via_branch])&&M.receiveResponse(X);break;case b.ACK:break;default:(M=this._transactions.nict[X.via_branch])&&M.receiveResponse(X)}}}ge.exports=function(re){!function E(re,$){if("function"!=typeof $&&null!==$)throw new TypeError("Super expression must either be null or a function");re.prototype=Object.create($&&$.prototype,{constructor:{value:re,writable:!0,configurable:!0}}),$&&T(re,$)}(X,re);var $=function s(re){var $=function v(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var N,M=g(re);if($){var G=g(this).constructor;N=Reflect.construct(M,arguments,G)}else N=M.apply(this,arguments);return function h(re,$){return!$||"object"!==c($)&&"function"!=typeof $?u(re):$}(this,N)}}(X);function X(M){var N;if(function o(re,$){if(!(re instanceof $))throw new TypeError("Cannot call a class as a function")}(this,X),Y.debug("new() [configuration:%o]",M),(N=$.call(this))._cache={credentials:{}},N._configuration=Object.assign({},ee.settings),N._dynConfiguration={},N._dialogs={},N._applicants={},N._sessions={},N._transport=null,N._contact=null,N._status=ae.STATUS_INIT,N._error=null,N._transactions={nist:{},nict:{},ist:{},ict:{}},N._data={},N._closeTimer=null,void 0===M)throw new TypeError("Not enough arguments");try{N._loadConfig(M)}catch(G){throw N._status=ae.STATUS_NOT_READY,N._error=ae.CONFIGURATION_ERROR,G}return N._registrator=new R(u(N)),N}return a(X,null,[{key:"C",get:function(){return ae}}]),a(X,[{key:"start",value:function(){Y.debug("start()"),this._status===ae.STATUS_INIT?this._transport.connect():this._status===ae.STATUS_USER_CLOSED?(Y.debug("restarting UA"),null!==this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null,this._transport.disconnect()),this._status=ae.STATUS_INIT,this._transport.connect()):Y.debug(this._status===ae.STATUS_READY?"UA is in READY status, not restarted":"ERROR: connection is down, Auto-Recovery system is trying to reconnect"),this._dynConfiguration.register=this._configuration.register}},{key:"register",value:function(){Y.debug("register()"),this._dynConfiguration.register=!0,this._registrator.register()}},{key:"unregister",value:function(N){Y.debug("unregister()"),this._dynConfiguration.register=!1,this._registrator.unregister(N)}},{key:"registrator",value:function(){return this._registrator}},{key:"isRegistered",value:function(){return this._registrator.registered}},{key:"isConnected",value:function(){return this._transport.isConnected()}},{key:"call",value:function(N,G){Y.debug("call()");var ue=new P(this);return ue.connect(N,G),ue}},{key:"sendMessage",value:function(N,G,ue){Y.debug("sendMessage()");var ve=new k(this);return ve.send(N,G,ue),ve}},{key:"sendOptions",value:function(N,G,ue){Y.debug("sendOptions()");var ve=new O(this);return ve.send(N,G,ue),ve}},{key:"terminateSessions",value:function(N){for(var G in Y.debug("terminateSessions()"),this._sessions)this._sessions[G].isEnded()||this._sessions[G].terminate(N)}},{key:"stop",value:function(){var N=this;if(Y.debug("stop()"),this._dynConfiguration={},this._status!==ae.STATUS_USER_CLOSED){this._registrator.close();var G=Object.keys(this._sessions).length;for(var ue in this._sessions)if(Object.prototype.hasOwnProperty.call(this._sessions,ue)){Y.debug("closing session ".concat(ue));try{this._sessions[ue].terminate()}catch{}}for(var ve in this._applicants)if(Object.prototype.hasOwnProperty.call(this._applicants,ve))try{this._applicants[ve].close()}catch{}this._status=ae.STATUS_USER_CLOSED,0===Object.keys(this._transactions.nict).length+Object.keys(this._transactions.nist).length+Object.keys(this._transactions.ict).length+Object.keys(this._transactions.ist).length&&0===G?this._transport.disconnect():this._closeTimer=setTimeout(function(){N._closeTimer=null,N._transport.disconnect()},2e3)}else Y.debug("UA already closed")}},{key:"normalizeTarget",value:function(N){return z.normalizeTarget(N,this._configuration.hostport_params)}},{key:"get",value:function(N){switch(N){case"authorization_user":return this._configuration.authorization_user;case"realm":return this._configuration.realm;case"ha1":return this._configuration.ha1;case"authorization_jwt":return this._configuration.authorization_jwt;default:return void Y.warn('get() | cannot get "%s" parameter in runtime',N)}}},{key:"set",value:function(N,G){switch(N){case"authorization_user":this._configuration.authorization_user=String(G);break;case"password":this._configuration.password=String(G);break;case"realm":this._configuration.realm=String(G);break;case"ha1":this._configuration.ha1=String(G),this._configuration.password=null;break;case"authorization_jwt":this._configuration.authorization_jwt=String(G);break;case"display_name":this._configuration.display_name=G;break;case"extra_headers":this._configuration.extra_headers=G;break;
vendor: 5,195 bytes, line 1
1default:return Y.warn('set() | cannot set "%s" parameter in runtime',N),!1}return!0}},{key:"newTransaction",value:function(N){this._transactions[N.type][N.id]=N,this.emit("newTransaction",{transaction:N})}},{key:"destroyTransaction",value:function(N){delete this._transactions[N.type][N.id],this.emit("transactionDestroyed",{transaction:N})}},{key:"newDialog",value:function(N){this._dialogs[N.id]=N}},{key:"destroyDialog",value:function(N){delete this._dialogs[N.id]}},{key:"newMessage",value:function(N,G){this._applicants[N]=N,this.emit("newMessage",G)}},{key:"newOptions",value:function(N,G){this._applicants[N]=N,this.emit("newOptions",G)}},{key:"destroyMessage",value:function(N){delete this._applicants[N]}},{key:"newRTCSession",value:function(N,G){this._sessions[N.id]=N,this.emit("newRTCSession",G)}},{key:"destroyRTCSession",value:function(N){delete this._sessions[N.id]}},{key:"registered",value:function(N){this.emit("registered",N)}},{key:"unregistered",value:function(N){this.emit("unregistered",N)}},{key:"registrationFailed",value:function(N){this.emit("registrationFailed",N)}},{key:"receiveRequest",value:function(N){var G=N.method;if(N.ruri.user!==this._configuration.uri.user&&N.ruri.user!==this._contact.uri.user)return Y.debug("Request-URI does not point to us"),void(N.method!==b.ACK&&N.reply_sl(404));if(N.ruri.scheme!==b.SIPS){if(!V.checkTransaction(this,N)){if(G===b.INVITE?new V.InviteServerTransaction(this,this._transport,N):G!==b.ACK&&G!==b.CANCEL&&new V.NonInviteServerTransaction(this,this._transport,N),G===b.OPTIONS){if(0===this.listeners("newOptions").length)return void N.reply(200);new O(this).init_incoming(N)}else if(G===b.MESSAGE){if(0===this.listeners("newMessage").length)return void N.reply(405);new k(this).init_incoming(N)}else if(G===b.INVITE&&!N.to_tag&&0===this.listeners("newRTCSession").length)return void N.reply(405);var we,Re;if(N.to_tag)(we=this._findDialog(N.call_id,N.from_tag,N.to_tag))?we.receiveRequest(N):G===b.NOTIFY?(Re=this._findSession(N))?Re.receiveRequest(N):(Y.debug("received NOTIFY request for a non existent subscription"),N.reply(481,"Subscription does not exist")):G!==b.ACK&&N.reply(481);else switch(G){case b.INVITE:if(window.RTCPeerConnection)if(N.hasHeader("replaces")){var et=N.replaces;(we=this._findDialog(et.call_id,et.from_tag,et.to_tag))?(Re=we.owner).isEnded()?N.reply(603):Re.receiveRequest(N):N.reply(481)}else(Re=new P(this)).init_incoming(N);else Y.warn("INVITE received but WebRTC is not supported"),N.reply(488);break;case b.BYE:N.reply(481);break;case b.CANCEL:(Re=this._findSession(N))?Re.receiveRequest(N):Y.debug("received CANCEL request for a non existent session");break;case b.ACK:break;case b.NOTIFY:this.emit("sipEvent",{event:N.event,request:N}),N.reply(200);break;default:N.reply(405)}}}else N.reply_sl(416)}},{key:"_findSession",value:function(N){var G=N.call_id;return this._sessions[G+N.from_tag]||this._sessions[G+N.to_tag]||null}},{key:"_findDialog",value:function(N,G,ue){var ve=N+G+ue,we=this._dialogs[ve];return we||(we=this._dialogs[ve=N+ue+G])||null}},{key:"_loadConfig",value:function(N){try{ee.load(this._configuration,N)}catch(et){throw et}0===this._configuration.display_name&&(this._configuration.display_name="0"),this._configuration.instance_id||(this._configuration.instance_id=z.newUUID()),this._configuration.jssip_id=z.createRandomToken(5);var G=this._configuration.uri.clone();G.user=null,this._configuration.hostport_params=G.toString().replace(/^sip:/i,"");try{this._transport=new K(this._configuration.sockets,{max_interval:this._configuration.connection_recovery_max_interval,min_interval:this._configuration.connection_recovery_min_interval}),this._transport.onconnecting=fe.bind(this),this._transport.onconnect=ne.bind(this),this._transport.ondisconnect=ce.bind(this),this._transport.ondata=me.bind(this)}catch(et){throw Y.warn(et),new H.ConfigurationError("sockets",this._configuration.sockets)}if(delete this._configuration.sockets,this._configuration.authorization_user||(this._configuration.authorization_user=this._configuration.uri.user),!this._configuration.registrar_server){var ue=this._configuration.uri.clone();ue.user=null,ue.clearParams(),ue.clearHeaders(),this._configuration.registrar_server=ue}this._configuration.no_answer_timeout*=1e3,this._configuration.contact_uri?this._configuration.via_host=this._configuration.contact_uri.host:this._configuration.contact_uri=new x("sip",z.createRandomToken(8),this._configuration.via_host,null,{transport:"ws"}),this._contact={pub_gruu:null,temp_gruu:null,uri:this._configuration.contact_uri,toString:function(){var at=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Pt=at.anonymous||null,At=at.outbound||null,It="<";return It+=Pt?this.temp_gruu||"sip:[email protected];transport=ws":this.pub_gruu||this.uri.toString(),At&&(Pt?!this.temp_gruu:!this.pub_gruu)&&(It+=";ob"),It+">"}};var ve=["authorization_user","password","realm","ha1","authorization_jwt","display_name","register","extra_headers"];for(var we in this._configuration)Object.prototype.hasOwnProperty.call(this._configuration,we)&&(-1!==ve.indexOf(we)?Object.defineProperty(this._configuration,we,{writable:!0,configurable:!1}
1):Object.defineProperty(this._configuration,we,{writable:!1,configurable:!1}));for(var Re in Y.debug("configuration parameters after validation:"),this._configuration)if(Object.prototype.hasOwnProperty.call(ee.settings,Re))switch(Re){case"uri":case"registrar_server":Y.debug("- ".concat(Re,": ").concat(this._configuration[Re]));break;case"password":case"ha1":case"authorization_jwt":Y.debug("- ".concat(Re,": NOT SHOWN"));break;default:Y.debug("- ".concat(Re,": ").concat(JSON.stringify(this._configuration[Re])))}}},{key:"C",get:function(){return ae}},{key:"status",get:function(){return this._status}},{key:"contact",get:function(){return this._contact}},{key:"configuration",get:function(){return this._configuration}},{key:"transport",get:function(){return this._transport}}]),X}(y)},56393:(ge,_,f)=>{"use strict";function c(v,g){var y;if(typeof Symbol>"u"||null==v[Symbol.iterator]){if(Array.isArray(v)||(y=function o(v,g){if(v){if("string"==typeof v)return C(v,g);var y=Object.prototype.toString.call(v).slice(8,-1);if("Object"===y&&v.constructor&&(y=v.constructor.name),"Map"===y||"Set"===y)return Array.from(v);if("Arguments"===y||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return C(v,g)}}(v))||g&&v&&"number"==typeof v.length){y&&(v=y);var p=0,b=function(){};return{s:b,n:function(){return p>=v.length?{done:!0}:{done:!1,value:v[p++]}},e:function(V){throw V},f:b}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var k,R=!0,P=!1;return{s:function(){y=v[Symbol.iterator]()},n:function(){var V=y.next();return R=V.done,V},e:function(V){P=!0,k=V},f:function(){try{!R&&null!=y.return&&y.return()}finally{if(P)throw k}}}}function C(v,g){(null==g||g>v.length)&&(g=v.length);for(var y=0,p=new Array(g);y<g;y++)p[y]=v[y];return p}function E(v,g){for(var y=0;y<g.length;y++){var p=g[y];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(v,p.key,p)}}function T(v,g,y){return g&&E(v.prototype,g),y&&E(v,y),v}var s=f(49698),h=f(250),u=f(22446);ge.exports=function(){function v(g,y,p,b){var R=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},P=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(function a(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}(this,v),!p)throw new TypeError('missing or invalid "host" parameter');for(var k in this._parameters={},this._headers={},this._scheme=g||s.SIP,this._user=y,this._host=p,this._port=b,R)Object.prototype.hasOwnProperty.call(R,k)&&this.setParam(k,R[k]);for(var O in P)Object.prototype.hasOwnProperty.call(P,O)&&this.setHeader(O,P[O])}return T(v,null,[{key:"parse",value:function(y){if(-1!==(y=u.parse(y,"SIP_URI")))return y}}]),T(v,[{key:"setParam",value:function(y,p){y&&(this._parameters[y.toLowerCase()]=typeof p>"u"||null===p?null:p.toString())}},{key:"getParam",value:function(y){if(y)return this._parameters[y.toLowerCase()]}},{key:"hasParam",value:function(y){if(y)return!!this._parameters.hasOwnProperty(y.toLowerCase())}},{key:"deleteParam",value:function(y){if(y=y.toLowerCase(),this._parameters.hasOwnProperty(y)){var p=this._parameters[y];return delete this._parameters[y],p}}},{key:"clearParams",value:function(){this._parameters={}}},{key:"setHeader",value:function(y,p){this._headers[h.headerize(y)]=Array.isArray(p)?p:[p]}},{key:"getHeader",value:function(y){if(y)return this._headers[h.headerize(y)]}},{key:"hasHeader",value:function(y){if(y)return!!this._headers.hasOwnProperty(h.headerize(y))}},{key:"deleteHeader",value:function(y){if(y=h.headerize(y),this._headers.hasOwnProperty(y)){var p=this._headers[y];return delete this._headers[y],p}}},{key:"clearHeaders",value:function(){this._headers={}}},{key:"clone",value:function(){return new v(this._scheme,this._user,this._host,this._port,JSON.parse(JSON.stringify(this._parameters)),JSON.parse(JSON.stringify(this._headers)))}},{key:"toString",value:function(){var y=[],p="".concat(this._scheme,":");for(var b in this._user&&(p+="".concat(h.escapeUser(this._user),"@")),p+=this._host,(this._port||0===this._port)&&(p+=":".concat(this._port)),this._parameters)Object.prototype.hasOwnProperty.call(this._parameters,b)&&(p+=";".concat(b),null!==this._parameters[b]&&(p+="=".concat(this._parameters[b])));for(var R in this._headers)if(Object.prototype.hasOwnProperty.call(this._headers,R)){var k,P=c(this._headers[R]);try{for(P.s();!(k=P.n()).done;){var O=k.value;y.push("".concat(R,"=").concat(O))}}catch(V){P.e(V)}finally{P.f()}}return y.length>0&&(p+="?".concat(y.join("&"))),p}},{key:"toAor",value:function(y){var p="".concat(this._scheme,":");return this._user&&(p+="".concat(h.escapeUser(this._user),"@")),p+=this._host,y&&(this._port||0===this._port)&&(p+=":".concat(this._port)),p}},{key:"scheme",get:function(){return this._scheme},set:function(y){this._scheme=y.toLowerCase()}},{key:"user",get:function(){return this._user},set:function(y){this._user=y}},{key:"host",get:function(){return this._host},set:function(y){this._host=y.toLowerCase()}},{key:"port",get:function(){return this._port}
1,set:function(y){this._port=0===y?y:parseInt(y,10)||null}}]),v}()},250:(ge,_,f)=>{"use strict";function c(g){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(p){return typeof p}:function(p){return p&&"function"==typeof Symbol&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p})(g)}function o(g,y){var p;if(typeof Symbol>"u"||null==g[Symbol.iterator]){if(Array.isArray(g)||(p=function C(g,y){if(g){if("string"==typeof g)return a(g,y);var p=Object.prototype.toString.call(g).slice(8,-1);if("Object"===p&&g.constructor&&(p=g.constructor.name),"Map"===p||"Set"===p)return Array.from(g);if("Arguments"===p||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p))return a(g,y)}}(g))||y&&g&&"number"==typeof g.length){p&&(g=p);var b=0,R=function(){};return{s:R,n:function(){return b>=g.length?{done:!0}:{done:!1,value:g[b++]}},e:function(K){throw K},f:R}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var O,P=!0,k=!1;return{s:function(){p=g[Symbol.iterator]()},n:function(){var K=p.next();return P=K.done,K},e:function(K){k=!0,O=K},f:function(){try{!P&&null!=p.return&&p.return()}finally{if(k)throw O}}}}function a(g,y){(null==y||y>g.length)&&(y=g.length);for(var p=0,b=new Array(y);p<y;p++)b[p]=g[p];return b}var E=f(49698),T=f(56393),s=f(22446);_.str_utf8_length=function(g){return unescape(encodeURIComponent(g)).length};var h=_.isFunction=function(g){return void 0!==g&&"[object Function]"===Object.prototype.toString.call(g)};_.isString=function(g){return void 0!==g&&"[object String]"===Object.prototype.toString.call(g)},_.isDecimal=function(g){return!isNaN(g)&&parseFloat(g)===parseInt(g,10)},_.isEmpty=function(g){return null===g||""===g||void 0===g||Array.isArray(g)&&0===g.length||"number"==typeof g&&isNaN(g)},_.hasMethods=function(g){for(var y=arguments.length,p=new Array(y>1?y-1:0),b=1;b<y;b++)p[b-1]=arguments[b];for(var R=0,P=p;R<P.length;R++)if(h(g[P[R]]))return!1;return!0};var u=_.createRandomToken=function(g){var p,y=arguments.length>1&&void 0!==arguments[1]?arguments[1]:32,R="";for(p=0;p<g;p++)R+=(Math.random()*y|0).toString(y);return R};_.newTag=function(){return u(10)},_.newUUID=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(y){var p=16*Math.random()|0;return("x"===y?p:3&p|8).toString(16)})},_.hostType=function(g){if(g)return-1!==(g=s.parse(g,"host"))?g.host_type:void 0};var v=_.escapeUser=function(g){return encodeURIComponent(decodeURIComponent(g)).replace(/%3A/gi,":").replace(/%2B/gi,"+").replace(/%3F/gi,"?").replace(/%2F/gi,"/")};_.normalizeTarget=function(g,y){if(g){if(g instanceof T)return g;if("string"==typeof g){var b,R,P,p=g.split("@");switch(p.length){case 1:if(!y)return;b=g,R=y;break;case 2:b=p[0],R=p[1];break;default:b=p.slice(0,p.length-1).join("@"),R=p[p.length-1]}return b=b.replace(/^(sips?|tel):/i,""),/^[-.()]*\+?[0-9\-.()]+$/.test(b)&&(b=b.replace(/[-.()]/g,"")),g="".concat(E.SIP,":").concat(v(b),"@").concat(R),(P=T.parse(g))?P:void 0}}},_.headerize=function(g){var P,y={"Call-Id":"Call-ID",Cseq:"CSeq","Www-Authenticate":"WWW-Authenticate"},p=g.toLowerCase().replace(/_/g,"-").split("-"),b="",R=p.length;for(P=0;P<R;P++)0!==P&&(b+="-"),b+=p[P].charAt(0).toUpperCase()+p[P].substring(1);return y[b]&&(b=y[b]),b},_.sipErrorCause=function(g){for(var y in E.SIP_ERROR_CAUSES)if(-1!==E.SIP_ERROR_CAUSES[y].indexOf(g))return E.causes[y];return E.causes.SIP_FAILURE_CODE},_.getRandomTestNetIP=function(){return"192.0.2.".concat(function g(y,p){return Math.floor(Math.random()*(p-y+1)+y)}(1,254))},_.calculateMD5=function(g){function y(yt,Ft){return yt<<Ft|yt>>>32-Ft}function p(yt,Ft){var rt=2147483648&yt,mt=2147483648&Ft,Mt=1073741824&yt,Vt=1073741824&Ft,Lt=(1073741823&yt)+(1073741823&Ft);return Mt&Vt?2147483648^Lt^rt^mt:Mt|Vt?1073741824&Lt?3221225472^Lt^rt^mt:1073741824^Lt^rt^mt:Lt^rt^mt}function O(yt,Ft,rt,mt,Mt,Vt,Lt){return yt=p(yt,p(p(function b(yt,Ft,rt){return yt&Ft|~yt&rt}(Ft,rt,mt),Mt),Lt)),p(y(yt,Vt),Ft)}function V(yt,Ft,rt,mt,Mt,Vt,Lt){return yt=p(yt,p(p(function R(yt,Ft,rt){return yt&rt|Ft&~rt}(Ft,rt,mt),Mt),Lt)),p(y(yt,Vt),Ft)}function K(yt,Ft,rt,mt,Mt,Vt,Lt){return yt=p(yt,p(p(function P(yt,Ft,rt){return yt^Ft^rt}(Ft,rt,mt),Mt),Lt)),p(y(yt,Vt),Ft)}function z(yt,Ft,rt,mt,Mt,Vt,Lt){return yt=p(yt,p(p(function k(yt,Ft,rt){return Ft^(yt|~rt)}(Ft,rt,mt),Mt),Lt)),p(y(yt,Vt),Ft)}function x(yt){var Mt,Ft="",rt="";for(Mt=0;Mt<=3;Mt++)Ft+=(rt="0".concat((yt>>>8*Mt&255).toString(16))).substr(rt.length-2,2);return Ft}var Z,de,ee,Y,ae,fe,ne,ce,me,re;for(Z=function H(yt){for(var Ft,rt=yt.length,mt=rt+8,Vt=16*((mt-mt%64)/64+1),Lt=new Array(Vt-1),$n=0,Tn=0;Tn<rt;)$n=Tn%4*8,Lt[Ft=(Tn-Tn%4)/4]=Lt[Ft]|yt.charCodeAt(Tn)<<$n,Tn++;return Lt[Ft=(Tn-Tn%4)/4]=Lt[Ft]|128<<($n=Tn%4*8),Lt[Vt-2]=rt<<3,Lt[Vt-1]=rt>>>29,Lt}(g=function q(yt){for(var Ft="",rt=0;rt<yt.length;rt++){var mt=yt.charCodeAt(rt);mt<128?Ft+=String.fromCharCode(mt):mt>127&&mt<2048?(Ft+=String.fromCharCode(mt>>6|192),Ft+=String.fromCharCode(63&mt|128)):(Ft+=String.fromCharCode(mt>>12|224),Ft+=String.fromCharCode(mt>>6&63|128),Ft+=String.fromCharCode(63&mt|128))}return Ft}(g)),ne=1732584193,ce=4023233417,me=2562383102,re=271733878,de=0;de<Z.length;
1de+=16)ee=ne,Y=ce,ae=me,fe=re,ne=O(ne,ce,me,re,Z[de+0],7,3614090360),re=O(re,ne,ce,me,Z[de+1],12,3905402710),me=O(me,re,ne,ce,Z[de+2],17,606105819),ce=O(ce,me,re,ne,Z[de+3],22,3250441966),ne=O(ne,ce,me,re,Z[de+4],7,4118548399),re=O(re,ne,ce,me,Z[de+5],12,1200080426),me=O(me,re,ne,ce,Z[de+6],17,2821735955),ce=O(ce,me,re,ne,Z[de+7],22,4249261313),ne=O(ne,ce,me,re,Z[de+8],7,1770035416),re=O(re,ne,ce,me,Z[de+9],12,2336552879),me=O(me,re,ne,ce,Z[de+10],17,4294925233),ce=O(ce,me,re,ne,Z[de+11],22,2304563134),ne=O(ne,ce,me,re,Z[de+12],7,1804603682),re=O(re,ne,ce,me,Z[de+13],12,4254626195),me=O(me,re,ne,ce,Z[de+14],17,2792965006),ne=V(ne,ce=O(ce,me,re,ne,Z[de+15],22,1236535329),me,re,Z[de+1],5,4129170786),re=V(re,ne,ce,me,Z[de+6],9,3225465664),me=V(me,re,ne,ce,Z[de+11],14,643717713),ce=V(ce,me,re,ne,Z[de+0],20,3921069994),ne=V(ne,ce,me,re,Z[de+5],5,3593408605),re=V(re,ne,ce,me,Z[de+10],9,38016083),me=V(me,re,ne,ce,Z[de+15],14,3634488961),ce=V(ce,me,re,ne,Z[de+4],20,3889429448),ne=V(ne,ce,me,re,Z[de+9],5,568446438),re=V(re,ne,ce,me,Z[de+14],9,3275163606),me=V(me,re,ne,ce,Z[de+3],14,4107603335),ce=V(ce,me,re,ne,Z[de+8],20,1163531501),ne=V(ne,ce,me,re,Z[de+13],5,2850285829),re=V(re,ne,ce,me,Z[de+2],9,4243563512),me=V(me,re,ne,ce,Z[de+7],14,1735328473),ne=K(ne,ce=V(ce,me,re,ne,Z[de+12],20,2368359562),me,re,Z[de+5],4,4294588738),re=K(re,ne,ce,me,Z[de+8],11,2272392833),me=K(me,re,ne,ce,Z[de+11],16,1839030562),ce=K(ce,me,re,ne,Z[de+14],23,4259657740),ne=K(ne,ce,me,re,Z[de+1],4,2763975236),re=K(re,ne,ce,me,Z[de+4],11,1272893353),me=K(me,re,ne,ce,Z[de+7],16,4139469664),ce=K(ce,me,re,ne,Z[de+10],23,3200236656),ne=K(ne,ce,me,re,Z[de+13],4,681279174),re=K(re,ne,ce,me,Z[de+0],11,3936430074),me=K(me,re,ne,ce,Z[de+3],16,3572445317),ce=K(ce,me,re,ne,Z[de+6],23,76029189),ne=K(ne,ce,me,re,Z[de+9],4,3654602809),re=K(re,ne,ce,me,Z[de+12],11,3873151461),me=K(me,re,ne,ce,Z[de+15],16,530742520),ne=z(ne,ce=K(ce,me,re,ne,Z[de+2],23,3299628645),me,re,Z[de+0],6,4096336452),re=z(re,ne,ce,me,Z[de+7],10,1126891415),me=z(me,re,ne,ce,Z[de+14],15,2878612391),ce=z(ce,me,re,ne,Z[de+5],21,4237533241),ne=z(ne,ce,me,re,Z[de+12],6,1700485571),re=z(re,ne,ce,me,Z[de+3],10,2399980690),me=z(me,re,ne,ce,Z[de+10],15,4293915773),ce=z(ce,me,re,ne,Z[de+1],21,2240044497),ne=z(ne,ce,me,re,Z[de+8],6,1873313359),re=z(re,ne,ce,me,Z[de+15],10,4264355552),me=z(me,re,ne,ce,Z[de+6],15,2734768916),ce=z(ce,me,re,ne,Z[de+13],21,1309151649),ne=z(ne,ce,me,re,Z[de+4],6,4149444226),re=z(re,ne,ce,me,Z[de+11],10,3174756917),me=z(me,re,ne,ce,Z[de+2],15,718787259),ce=z(ce,me,re,ne,Z[de+9],21,3951481745),ne=p(ne,ee),ce=p(ce,Y),me=p(me,ae),re=p(re,fe);return(x(ne)+x(ce)+x(me)+x(re)).toLowerCase()},_.closeMediaStream=function(g){if(g)try{if(g.getTracks){var b,p=o(g.getTracks());try{for(p.s();!(b=p.n()).done;)b.value.stop()}catch(H){p.e(H)}finally{p.f()}}else{var k,P=o(g.getAudioTracks());try{for(P.s();!(k=P.n()).done;)k.value.stop()}catch(H){P.e(H)}finally{P.f()}var K,V=o(g.getVideoTracks());try{for(V.s();!(K=V.n()).done;)K.value.stop()}catch(H){V.e(H)}finally{V.f()}}}catch{("function"==typeof g.stop||"object"===c(g.stop))&&g.stop()}},_.cloneArray=function(g){return g&&g.slice()||[]},_.cloneObject=function(g){var y=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return g&&Object.assign({},g)||y}},2317:(ge,_,f)=>{"use strict";function o(s,h){for(var u=0;u<h.length;u++){var v=h[u];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(s,v.key,v)}}var a=f(83351),E=f(22446),T=new a("WebSocketInterface");ge.exports=function(){function s(h){(function c(s,h){if(!(s instanceof h))throw new TypeError("Cannot call a class as a function")})(this,s),T.debug('new() [url:"%s"]',h),this._url=h,this._sip_uri=null,this._via_transport=null,this._ws=null;var u=E.parse(h,"absoluteURI");if(-1===u)throw T.warn("invalid WebSocket URI: ".concat(h)),new TypeError("Invalid argument: ".concat(h));if("wss"!==u.scheme&&"ws"!==u.scheme)throw T.warn("invalid WebSocket URI scheme: ".concat(u.scheme)),new TypeError("Invalid argument: ".concat(h));this._sip_uri="sip:".concat(u.host).concat(u.port?":".concat(u.port):"",";transport=ws"),this._via_transport=u.scheme.toUpperCase()}return function C(s,h,u){h&&o(s.prototype,h),u&&o(s,u)}
1(s,[{key:"connect",value:function(){if(T.debug("connect()"),this.isConnected())T.debug("WebSocket ".concat(this._url," is already connected"));else if(this.isConnecting())T.debug("WebSocket ".concat(this._url," is connecting"));else{this._ws&&this.disconnect(),T.debug("connecting to WebSocket ".concat(this._url));try{this._ws=new WebSocket(this._url,"sip"),this._ws.binaryType="arraybuffer",this._ws.onopen=this._onOpen.bind(this),this._ws.onclose=this._onClose.bind(this),this._ws.onmessage=this._onMessage.bind(this),this._ws.onerror=this._onError.bind(this)}catch(u){this._onError(u)}}}},{key:"disconnect",value:function(){T.debug("disconnect()"),this._ws&&(this._ws.onopen=function(){},this._ws.onclose=function(){},this._ws.onmessage=function(){},this._ws.onerror=function(){},this._ws.close(),this._ws=null)}},{key:"send",value:function(u){return T.debug("send()"),this.isConnected()?(this._ws.send(u),!0):(T.warn("unable to send message, WebSocket is not open"),!1)}},{key:"isConnected",value:function(){return this._ws&&this._ws.readyState===this._ws.OPEN}},{key:"isConnecting",value:function(){return this._ws&&this._ws.readyState===this._ws.CONNECTING}},{key:"_onOpen",value:function(){T.debug("WebSocket ".concat(this._url," connected")),this.onconnect()}},{key:"_onClose",value:function(u){var v=u.wasClean,g=u.code,y=u.reason;T.debug("WebSocket ".concat(this._url," closed")),!1===v&&T.debug("WebSocket abrupt disconnection"),this.ondisconnect(!v,g,y)}},{key:"_onMessage",value:function(u){var v=u.data;T.debug("received WebSocket message"),this.ondata(v)}},{key:"_onError",value:function(u){T.warn("WebSocket ".concat(this._url," error: "),u)}},{key:"via_transport",get:function(){return this._via_transport},set:function(u){this._via_transport=u.toUpperCase()}},{key:"sip_uri",get:function(){return this._sip_uri}},{key:"url",get:function(){return this._url}}]),s}()},75697:(ge,_,f)=>{"use strict";function c(x,q){var Z;if(typeof Symbol>"u"||null==x[Symbol.iterator]){if(Array.isArray(x)||(Z=function o(x,q){if(x){if("string"==typeof x)return C(x,q);var Z=Object.prototype.toString.call(x).slice(8,-1);if("Object"===Z&&x.constructor&&(Z=x.constructor.name),"Map"===Z||"Set"===Z)return Array.from(x);if("Arguments"===Z||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Z))return C(x,q)}}(x))||q&&x&&"number"==typeof x.length){Z&&(x=Z);var de=0,ee=function(){};return{s:ee,n:function(){return de>=x.length?{done:!0}:{done:!1,value:x[de++]}},e:function(ce){throw ce},f:ee}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var fe,Y=!0,ae=!1;return{s:function(){Z=x[Symbol.iterator]()},n:function(){var ce=Z.next();return Y=ce.done,ce},e:function(ce){ae=!0,fe=ce},f:function(){try{!Y&&null!=Z.return&&Z.return()}finally{if(ae)throw fe}}}}function C(x,q){(null==q||q>x.length)&&(q=x.length);for(var Z=0,de=new Array(q);Z<q;Z++)de[Z]=x[Z];return de}var y,p,b,a=f(83351),E=f(49698),T=f(10688),s=f(250),h=new a("sanityCheck"),u=[function z(){for(var q=0,Z=["from","to","call_id","cseq","via"];q<Z.length;q++){var de=Z[q];if(!y.hasHeader(de))return h.debug("missing mandatory header field : ".concat(de,", dropping the response")),!1}}],v=[function R(){if("sip"!==y.s("to").uri.scheme)return H(416),!1},function P(){if(!y.to_tag&&y.call_id.substr(0,5)===p.configuration.jssip_id)return H(482),!1},function k(){if(s.str_utf8_length(y.body)<y.getHeader("content-length"))return H(400),!1},function O(){var de,x=y.from_tag,q=y.call_id,Z=y.cseq;if(!y.to_tag)if(y.method===E.INVITE){if(p._transactions.ist[y.via_branch])return!1;for(var ee in p._transactions.ist)if(Object.prototype.hasOwnProperty.call(p._transactions.ist,ee)&&(de=p._transactions.ist[ee]).request.from_tag===x&&de.request.call_id===q&&de.request.cseq===Z)return H(482),!1}else{if(p._transactions.nist[y.via_branch])return!1;for(var Y in p._transactions.nist)if(Object.prototype.hasOwnProperty.call(p._transactions.nist,Y)&&(de=p._transactions.nist[Y]).request.from_tag===x&&de.request.call_id===q&&de.request.cseq===Z)return H(482),!1}}],g=[function V(){if(y.getHeaders("via").length>1)return h.debug("more than one Via header field present in the response, dropping the response"),
1!1},function K(){if(s.str_utf8_length(y.body)<y.getHeader("content-length"))return h.debug("message body length is lower than the value in Content-Length header field, dropping the response"),!1}];function H(x){var Z,Y,q=y.getHeaders("via"),de="SIP/2.0 ".concat(x," ").concat(E.REASON_PHRASE[x],"\r\n"),ee=c(q);try{for(ee.s();!(Y=ee.n()).done;)de+="Via: ".concat(Y.value,"\r\n")}catch(fe){ee.e(fe)}finally{ee.f()}Z=y.getHeader("To"),y.to_tag||(Z+=";tag=".concat(s.newTag())),de+="To: ".concat(Z,"\r\n"),de+="From: ".concat(y.getHeader("From"),"\r\n"),de+="Call-ID: ".concat(y.call_id,"\r\n"),de+="CSeq: ".concat(y.cseq," ").concat(y.method,"\r\n"),b.send(de+="\r\n")}ge.exports=function(x,q,Z){y=x,p=q,b=Z;var ee,de=c(u);try{for(de.s();!(ee=de.n()).done;)if(!1===(0,ee.value)())return!1}catch($){de.e($)}finally{de.f()}if(y instanceof T.IncomingRequest){var fe,ae=c(v);try{for(ae.s();!(fe=ae.n()).done;)if(!1===(0,fe.value)())return!1}catch($){ae.e($)}finally{ae.f()}}else if(y instanceof T.IncomingResponse){var me,ce=c(g);try{for(ce.s();!(me=ce.n()).done;)if(!1===(0,me.value)())return!1}catch($){ce.e($)}finally{ce.f()}}return!0}},75713:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.CONSTANTS=void 0,_.CONSTANTS={REGEX_VALID_URL:new RegExp("^(?:(?:https?|ftp)://)(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))\\.?)(?::\\d{2,5})?(?:[/?#]\\S*)?$","i"),REGEX_LOOPBACK:new RegExp("^(?:(?:10|127)(?:\\.\\d{1,3}){3})|(?:(?:169\\.254|192\\.168|192\\.0)(?:\\.\\d{1,3}){2})|(?:172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})$","i"),REGEX_CONTENT_TYPE_IMAGE:new RegExp("image/.*","i"),REGEX_CONTENT_TYPE_AUDIO:new RegExp("audio/.*","i"),REGEX_CONTENT_TYPE_VIDEO:new RegExp("video/.*","i"),REGEX_CONTENT_TYPE_TEXT:new RegExp("text/.*","i"),REGEX_CONTENT_TYPE_APPLICATION:new RegExp("application/.*","i")}},9980:function(ge,_,f){"use strict";var c=this&&this.__assign||function(){return c=Object.assign||function(fe){for(var ne,ce=1,me=arguments.length;ce<me;ce++)for(var re in ne=arguments[ce])Object.prototype.hasOwnProperty.call(ne,re)&&(fe[re]=ne[re]);return fe},c.apply(this,arguments)},o=this&&this.__awaiter||function(fe,ne,ce,me){return new(ce||(ce=Promise))(function($,X){function M(ue){try{G(me.next(ue))}catch(ve){X(ve)}}function N(ue){try{G(me.throw(ue))}catch(ve){X(ve)}}function G(ue){ue.done?$(ue.value):function re($){return $ instanceof ce?$:new ce(function(X){X($)})}(ue.value).then(M,N)}G((me=me.apply(fe,ne||[])).next())})},C=this&&this.__generator||function(fe,ne){var me,re,$,X,ce={label:0,sent:function(){if(1&$[0])throw $[1];return $[1]},trys:[],ops:[]};return X={next:M(0),throw:M(1),return:M(2)},"function"==typeof Symbol&&(X[Symbol.iterator]=function(){return this}),X;function M(G){return function(ue){return function N(G){if(me)throw new TypeError("Generator is already executing.");for(;ce;)try{if(me=1,re&&($=2&G[0]?re.return:G[0]?re.throw||(($=re.return)&&$.call(re),0):re.next)&&!($=$.call(re,G[1])).done)return $;switch(re=0,$&&(G=[2&G[0],$.value]),G[0]){case 0:case 1:$=G;break;case 4:return ce.label++,{value:G[1],done:!1};case 5:ce.label++,re=G[1],G=[0];continue;case 7:G=ce.ops.pop(),ce.trys.pop();continue;default:if(!($=($=ce.trys).length>0&&$[$.length-1])&&(6===G[0]||2===G[0])){ce=0;continue}if(3===G[0]&&(!$||G[1]>$[0]&&G[1]<$[3])){ce.label=G[1];break}if(6===G[0]&&ce.label<$[1]){ce.label=$[1],$=G;break}if($&&ce.label<$[2]){ce.label=$[2],ce.ops.push(G);break}$[2]&&ce.ops.pop(),ce.trys.pop();continue}G=ne.call(fe,ce)}catch(ue){G=[6,ue],re=0}finally{me=$=0}if(5&G[0])throw G[1];return{value:G[0]?G[1]:void 0,done:!0}}([G,ue])}}},a=this&&this.__importDefault||function(fe){return fe&&fe.__esModule?fe:{default:fe}};Object.defineProperty(_,"__esModule",{value:!0}),_.getPreviewFromContent=_.getLinkPreview=void 0;var E=a(f(98521)),T=f(27886),s=a(f(9465)),h=a(f(83888)),u=f(75713);function v(fe){if(u.CONSTANTS.REGEX_LOOPBACK.test(fe))throw new Error("SSRF request detected, trying to query host")}function g(fe,ne,ce){var me=fe("meta[".concat(ce,"='").concat(ne,"']"));return me.length?me:null}function y(fe,ne,ce){return fe("meta[".concat(ce,"='").concat(ne,"']")).attr("content")}function p(fe){var ne=y(fe,"og:title","property")||y(fe,"og:title","name");return ne||(ne=fe("title").text()),ne}function b(fe){return y(fe,"og:site_name","property")||y(fe,"og:site_name","name")}function R(fe){return y(fe,"description","name")||y(fe,"Description","name")||y(fe,"og:description","property")}function P(fe){var ne=g(fe,"medium","name");if(ne){var ce=ne.attr("content");return"image"===ce?"photo":ce}return y(fe,"og:type","property")||y(fe,"og:type","name")}function k(fe,ne,ce){var re,$,me=[],X={},M=null!=ce?ce:"og";return(re=g(fe,"".concat(M,":image"),"property")||g(fe,"".concat(M,":image"),"name"))&&re.each(function(N,G){"tag"===G.type&&($=G.attribs.content)&&($=h.default.resolve(ne,$),me.push($))}),me.length<=0&&!ce&&(($=fe("link[rel=image_src]").attr("href"))?($=h.default.resolve(ne,$),me=[$]):null!=(re=fe("img"))&&re.length&&(X={},me=[],re.each(function(N,G){"tag"===G.type&&($=G.attribs.src),$&&!X[$]&&(X[$]=!0,me.push(h.default.resolve(ne,$)))}))),me}function O(fe){var ce,me,re,$,X,M,N,G,ue,ve,we,ne=[],Re=g(fe,"og:video","property")||g(fe,"og:video","name");
1if(null!=Re&&Re.length)for(ce=g(fe,"og:video:type","property")||g(fe,"og:video:type","name"),me=g(fe,"og:video:secure_url","property")||g(fe,"og:video:secure_url","name"),G=y(fe,"og:video:width","property")||y(fe,"og:video:width","name"),ue=y(fe,"og:video:height","property")||y(fe,"og:video:height","name"),we=0;we<Re.length;we+=1){var et=Re[we];"tag"===et.type&&(X=et.attribs.content),"tag"===(null==(re=null==ce?void 0:ce[we])?void 0:re.type)&&(M=re?re.attribs.content:null),"tag"===(null==($=null==me?void 0:me[we])?void 0:$.type)&&(N=$?$.attribs.content:null),ve={url:X,secureUrl:N,type:M,width:G,height:ue},M&&0===M.indexOf("video/")?ne.splice(0,0,ve):ne.push(ve)}return ne}function V(fe){return h.default.resolve(fe,"/favicon.ico")}function K(fe,ne){var re,ce=[],me=[];return["rel=icon",'rel="shortcut icon"',"rel=apple-touch-icon"].forEach(function(X){(me=fe("link[".concat(X,"]"))).length&&me.each(function(M,N){"tag"===N.type&&(re=N.attribs.href),re&&(re=h.default.resolve(ne,re),ce.push(re))})}),ce.length<=0&&ce.push(V(ne)),ce}function Z(fe,ne,ce,me){void 0===ce&&(ce={});var re=E.default.load(fe);return{url:ne,title:p(re),siteName:b(re),description:R(re),mediaType:P(re)||"website",contentType:me,images:k(re,ne,ce.imagesPropertyType),videos:O(re),favicons:K(re,ne)}}function de(fe,ne,ce,me){return void 0===ce&&(ce={}),Z(fe,ne,ce,me)}function ee(fe,ne){try{var ce=fe.headers["content-type"],me=[],re=null;if(!ce)return de(fe.data,fe.url,ne);if(ce.includes(";")){me=ce.split(";"),ce=me[0];for(var $=0,X=me;$<X.length;$++){var M=X[$];-1!==M.indexOf("charset=")&&(re=M.split("=")[1])}}return u.CONSTANTS.REGEX_CONTENT_TYPE_IMAGE.test(ce)?c(c({},function z(fe,ne){return{url:fe,mediaType:"image",contentType:ne,favicons:[V(fe)]}}(fe.url,ce)),{charset:re}):u.CONSTANTS.REGEX_CONTENT_TYPE_AUDIO.test(ce)?c(c({},function H(fe,ne){return{url:fe,mediaType:"audio",contentType:ne,favicons:[V(fe)]}}(fe.url,ce)),{charset:re}):u.CONSTANTS.REGEX_CONTENT_TYPE_VIDEO.test(ce)?c(c({},function x(fe,ne){return{url:fe,mediaType:"video",contentType:ne,favicons:[V(fe)]}}(fe.url,ce)),{charset:re}):u.CONSTANTS.REGEX_CONTENT_TYPE_TEXT.test(ce)?c(c({},Z(fe.data,fe.url,ne,ce)),{charset:re}):u.CONSTANTS.REGEX_CONTENT_TYPE_APPLICATION.test(ce)?c(c({},function q(fe,ne){return{url:fe,mediaType:"application",contentType:ne,favicons:[V(fe)]}}(fe.url,ce)),{charset:re}):c(c({},de(fe.data,fe.url,ne)),{charset:re})}catch(ue){throw new Error("link-preview-js could not fetch link information ".concat(ue.toString()))}}_.getLinkPreview=function Y(fe,ne){var ce,me,re;return o(this,void 0,void 0,function(){var $,X,M,N,G,ue,ve,we,et,Pt;return C(this,function(At){switch(At.label){case 0:if(!fe||"string"!=typeof fe)throw new Error("link-preview-js did not receive a valid url or text");if(!($=fe.replace(/\n/g," ").split(" ").find(function(It){return u.CONSTANTS.REGEX_VALID_URL.test(It)})))throw new Error("link-preview-js did not receive a valid a url or text");if("manual"===(null==ne?void 0:ne.followRedirects)&&(null==ne||!ne.handleRedirects))throw new Error("link-preview-js followRedirects is set to manual, but no handleRedirects function was provided");return null!=ne&&ne.resolveDNSHost?[4,ne.resolveDNSHost($)]:[3,2];case 1:v(At.sent()),At.label=2;case 2:return X=null!==(ce=null==ne?void 0:ne.timeout)&&void 0!==ce?ce:3e3,M=new s.default,N=setTimeout(function(){return M.abort()},X),G={headers:null!==(me=null==ne?void 0:ne.headers)&&void 0!==me?me:{},redirect:null!==(re=null==ne?void 0:ne.followRedirects)&&void 0!==re?re:"error",signal:M.signal},ue=null!=ne&&ne.proxyUrl?ne.proxyUrl.concat($):$,[4,(0,T.fetch)(ue,G).catch(function(It){throw"AbortError"===It.name?new Error("Request timeout"):(clearTimeout(N),It)})];case 3:if(!((ve=At.sent()).status>300&&ve.status<309&&"manual"===G.redirect&&null!=ne&&ne.handleRedirects))return[3,7];if(we=ve.headers.get("location")||"",!ne.handleRedirects(ue,we))throw new Error("link-preview-js could not handle redirect");return null!=ne&&ne.resolveDNSHost?[4,ne.resolveDNSHost(we)]:[3,5];case 4:v(At.sent()),At.label=5;case 5:return[4,(0,T.fetch)(we,G)];case 6:ve=At.sent(),At.label=7;case 7:return clearTimeout(N),et={}
1,ve.headers.forEach(function(It,qt){et[qt]=It}),Pt={url:null!=ne&&ne.proxyUrl?ve.url.replace(ne.proxyUrl,""):ve.url,headers:et},[4,ve.text()];case 8:return Pt.data=At.sent(),[2,ee(Pt,ne)]}})})},_.getPreviewFromContent=function ae(fe,ne){return o(this,void 0,void 0,function(){return C(this,function(ce){if(!fe||"object"!=typeof fe)throw new Error("link-preview-js did not receive a valid response object");if(!fe.url)throw new Error("link-preview-js did not receive a valid response object");return[2,ee(fe,ne)]})})}},40119:ge=>{ge.exports=function o(C,a,E){function T(u,v){if(!a[u]){if(!C[u]){if(s)return s(u,!0);var y=new Error("Cannot find module '"+u+"'");throw y.code="MODULE_NOT_FOUND",y}var p=a[u]={exports:{}};C[u][0].call(p.exports,function(b){return T(C[u][1][b]||b)},p,p.exports,o,C,a,E)}return a[u].exports}for(var s=void 0,h=0;h<E.length;h++)T(E[h]);return T}({1:[function(o,C,a){(function(E){"use strict";var s,T=E.MutationObserver||E.WebKitMutationObserver;if(T){var h=0,u=new T(b),v=E.document.createTextNode("");u.observe(v,{characterData:!0}),s=function(){v.data=h=++h%2}}else if(!E.setImmediate&&typeof E.MessageChannel<"u"){var g=new E.MessageChannel;g.port1.onmessage=b,s=function(){g.port2.postMessage(0)}}else s="document"in E&&"onreadystatechange"in E.document.createElement("script")?function(){var P=E.document.createElement("script");P.onreadystatechange=function(){b(),P.onreadystatechange=null,P.parentNode.removeChild(P),P=null},E.document.documentElement.appendChild(P)}:function(){setTimeout(b,0)};var y,p=[];function b(){y=!0;for(var P,k,O=p.length;O;){for(k=p,p=[],P=-1;++P<O;)k[P]();O=p.length}y=!1}C.exports=function R(P){1===p.push(P)&&!y&&s()}}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],2:[function(o,C,a){"use strict";var E=o(1);function T(){}var s={},h=["REJECTED"],u=["FULFILLED"],v=["PENDING"];function g(z){if("function"!=typeof z)throw new TypeError("resolver must be a function");this.state=v,this.queue=[],this.outcome=void 0,z!==T&&R(this,z)}function y(z,H,x){this.promise=z,"function"==typeof H&&(this.onFulfilled=H,this.callFulfilled=this.otherCallFulfilled),"function"==typeof x&&(this.onRejected=x,this.callRejected=this.otherCallRejected)}function p(z,H,x){E(function(){var q;try{q=H(x)}catch(Z){return s.reject(z,Z)}q===z?s.reject(z,new TypeError("Cannot resolve promise with itself")):s.resolve(z,q)})}function b(z){var H=z&&z.then;if(z&&("object"==typeof z||"function"==typeof z)&&"function"==typeof H)return function(){H.apply(z,arguments)}}function R(z,H){var x=!1;function q(Y){x||(x=!0,s.reject(z,Y))}function Z(Y){x||(x=!0,s.resolve(z,Y))}var ee=P(function de(){H(Z,q)});"error"===ee.status&&q(ee.value)}function P(z,H){var x={};try{x.value=z(H),x.status="success"}catch(q){x.status="error",x.value=q}return x}C.exports=g,g.prototype.catch=function(z){return this.then(null,z)},g.prototype.then=function(z,H){if("function"!=typeof z&&this.state===u||"function"!=typeof H&&this.state===h)return this;var x=new this.constructor(T);return this.state!==v?p(x,this.state===u?z:H,this.outcome):this.queue.push(new y(x,z,H)),x},y.prototype.callFulfilled=function(z){s.resolve(this.promise,z)},y.prototype.otherCallFulfilled=function(z){p(this.promise,this.onFulfilled,z)},y.prototype.callRejected=function(z){s.reject(this.promise,z)},y.prototype.otherCallRejected=function(z){p(this.promise,this.onRejected,z)},s.resolve=function(z,H){var x=P(b,H);if("error"===x.status)return s.reject(z,x.value);var q=x.value;if(q)R(z,q);else{z.state=u,z.outcome=H;for(var Z=-1,de=z.queue.length;++Z<de;)z.queue[Z].callFulfilled(H)}return z},s.reject=function(z,H){z.state=h,z.outcome=H;for(var x=-1,q=z.queue.length;++x<q;)z.queue[x].callRejected(H);return z},g.resolve=function k(z){return z instanceof this?z:s.resolve(new this(T),z)},g.reject=function O(z){var H=new this(T);return s.reject(H,z)},g.all=function V(z){var H=this;if("[object Array]"!==Object.prototype.toString.call(z))return this.reject(new TypeError("must be an array"));var x=z.length,q=!1;if(!x)return this.resolve([]);for(var Z=new Array(x),de=0,ee=-1,Y=new this(T);++ee<x;)ae(z[ee],ee);return Y;
1function ae(fe,ne){H.resolve(fe).then(function ce(me){Z[ne]=me,++de===x&&!q&&(q=!0,s.resolve(Y,Z))},function(me){q||(q=!0,s.reject(Y,me))})}},g.race=function K(z){var H=this;if("[object Array]"!==Object.prototype.toString.call(z))return this.reject(new TypeError("must be an array"));var x=z.length,q=!1;if(!x)return this.resolve([]);for(var Z=-1,de=new this(T);++Z<x;)H.resolve(z[Z]).then(function(ae){q||(q=!0,s.resolve(de,ae))},function(ae){q||(q=!0,s.reject(de,ae))});return de}},{1:1}],3:[function(o,C,a){(function(E){"use strict";"function"!=typeof E.Promise&&(E.Promise=o(2))}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{2:2}],4:[function(o,C,a){"use strict";var E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ft){return typeof ft}:function(ft){return ft&&"function"==typeof Symbol&&ft.constructor===Symbol&&ft!==Symbol.prototype?"symbol":typeof ft};var h=function s(){try{if(typeof indexedDB<"u")return indexedDB;if(typeof webkitIndexedDB<"u")return webkitIndexedDB;if(typeof mozIndexedDB<"u")return mozIndexedDB;if(typeof OIndexedDB<"u")return OIndexedDB;if(typeof msIndexedDB<"u")return msIndexedDB}catch{return}}();function v(ft,He){ft=ft||[],He=He||{};try{return new Blob(ft,He)}catch(We){if("TypeError"!==We.name)throw We;for(var Fe=new(typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder),Oe=0;Oe<ft.length;Oe+=1)Fe.append(ft[Oe]);return Fe.getBlob(He.type)}}typeof Promise>"u"&&o(3);var g=Promise;function y(ft,He){He&&ft.then(function(Pe){He(null,Pe)},function(Pe){He(Pe)})}function p(ft,He,Pe){"function"==typeof He&&ft.then(He),"function"==typeof Pe&&ft.catch(Pe)}function b(ft){return"string"!=typeof ft&&(console.warn(ft+" used as a key, but it is not a string."),ft=String(ft)),ft}function R(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var P="local-forage-detect-blob-support",k=void 0,O={},V=Object.prototype.toString,K="readonly",z="readwrite";function H(ft){for(var He=ft.length,Pe=new ArrayBuffer(He),Fe=new Uint8Array(Pe),Oe=0;Oe<He;Oe++)Fe[Oe]=ft.charCodeAt(Oe);return Pe}function q(ft){return"boolean"==typeof k?g.resolve(k):function x(ft){return new g(function(He){var Pe=ft.transaction(P,z),Fe=v([""]);Pe.objectStore(P).put(Fe,"key"),Pe.onabort=function(Oe){Oe.preventDefault(),Oe.stopPropagation(),He(!1)},Pe.oncomplete=function(){var Oe=navigator.userAgent.match(/Chrome\/(\d+)/),We=navigator.userAgent.match(/Edge\//);He(We||!Oe||parseInt(Oe[1],10)>=43)}}).catch(function(){return!1})}(ft).then(function(He){return k=He})}function Z(ft){var He=O[ft.name],Pe={};Pe.promise=new g(function(Fe,Oe){Pe.resolve=Fe,Pe.reject=Oe}),He.deferredOperations.push(Pe),He.dbReady=He.dbReady?He.dbReady.then(function(){return Pe.promise}):Pe.promise}function de(ft){var Pe=O[ft.name].deferredOperations.pop();if(Pe)return Pe.resolve(),Pe.promise}function ee(ft,He){var Fe=O[ft.name].deferredOperations.pop();if(Fe)return Fe.reject(He),Fe.promise}function Y(ft,He){return new g(function(Pe,Fe){if(O[ft.name]=O[ft.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},ft.db){if(!He)return Pe(ft.db);Z(ft),ft.db.close()}var Oe=[ft.name];He&&Oe.push(ft.version);var We=h.open.apply(h,Oe);He&&(We.onupgradeneeded=function(_t){var en=We.result;try{en.createObjectStore(ft.storeName),_t.oldVersion<=1&&en.createObjectStore(P)}catch(gn){if("ConstraintError"!==gn.name)throw gn;console.warn('The database "'+ft.name+'" has been upgraded from version '+_t.oldVersion+" to version "+_t.newVersion+', but the storage "'+ft.storeName+'" already exists.')}}),We.onerror=function(_t){_t.preventDefault(),Fe(We.error)},We.onsuccess=function(){var _t=We.result;_t.onversionchange=function(en){en.target.close()},Pe(_t),de(ft)}})}function ae(ft){return Y(ft,!1)}function fe(ft){return Y(ft,!0)}function ne(ft,He){if(!ft.db)return!0;var Pe=!ft.db.objectStoreNames.contains(ft.storeName),Oe=ft.version>ft.db.version;if(ft.version<ft.db.version&&(ft.version!==He&&console.warn('The database "'+ft.name+"\" can't be downgraded from version "+ft.db.version+" to version "+ft.version+"."),ft.version=ft.db.version),Oe||Pe){if(Pe){var We=ft.db.version+1;We>ft.version&&(ft.version=We)}return!0}return!1}function me(ft){return v([H(atob(ft.data))],{type:ft.type})}function re(ft){return ft&&ft.__local_forage_encoded_blob}function $(ft){var He=this,Pe=He._initReady().then(function(){var Fe=O[He._dbInfo.name];if(Fe&&Fe.dbReady)return Fe.dbReady});return p(Pe,ft,ft),Pe}function M(ft,He,Pe,Fe){void 0===Fe&&(Fe=1);try{var Oe=ft.db.transaction(ft.storeName,He);Pe(null,Oe)}catch(We){if(Fe>0&&(!ft.db||"InvalidStateError"===We.name||"NotFoundError"===We.name))return g.resolve().then(function(){if(!ft.db||"NotFoundError"===We.name&&!ft.db.objectStoreNames.contains(ft.storeName)&&ft.version<=ft.db.version)return ft.db&&(ft.version=ft.db.version+1),fe(ft)}).then(function(){return function X(ft){Z(ft);for(var He=O[ft.name],Pe=He.forages,Fe=0;Fe<Pe.length;Fe++){var Oe=Pe[Fe];Oe._dbInfo.db&&(Oe._dbInfo.db.close(),Oe._dbInfo.db=null)}
1return ft.db=null,ae(ft).then(function(We){return ft.db=We,ne(ft)?fe(ft):We}).then(function(We){ft.db=He.db=We;for(var _t=0;_t<Pe.length;_t++)Pe[_t]._dbInfo.db=We}).catch(function(We){throw ee(ft,We),We})}(ft).then(function(){M(ft,He,Pe,Fe-1)})}).catch(Pe);Pe(We)}}var qt={_driver:"asyncStorage",_initStorage:function G(ft){var He=this,Pe={db:null};if(ft)for(var Fe in ft)Pe[Fe]=ft[Fe];var Oe=O[Pe.name];Oe||(O[Pe.name]=Oe={forages:[],db:null,dbReady:null,deferredOperations:[]}),Oe.forages.push(He),He._initReady||(He._initReady=He.ready,He.ready=$);var We=[];function _t(){return g.resolve()}for(var en=0;en<Oe.forages.length;en++){var gn=Oe.forages[en];gn!==He&&We.push(gn._initReady().catch(_t))}var In=Oe.forages.slice(0);return g.all(We).then(function(){return Pe.db=Oe.db,ae(Pe)}).then(function(Zn){return Pe.db=Zn,ne(Pe,He._defaultConfig.version)?fe(Pe):Zn}).then(function(Zn){Pe.db=Oe.db=Zn,He._dbInfo=Pe;for(var Er=0;Er<In.length;Er++){var Yr=In[Er];Yr!==He&&(Yr._dbInfo.db=Pe.db,Yr._dbInfo.version=Pe.version)}})},_support:function u(){try{if(!h||!h.open)return!1;var ft=typeof openDatabase<"u"&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),He="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!ft||He)&&typeof indexedDB<"u"&&typeof IDBKeyRange<"u"}catch{return!1}}(),iterate:function ve(ft,He){var Pe=this,Fe=new g(function(Oe,We){Pe.ready().then(function(){M(Pe._dbInfo,K,function(_t,en){if(_t)return We(_t);try{var In=en.objectStore(Pe._dbInfo.storeName).openCursor(),Zn=1;In.onsuccess=function(){var Er=In.result;if(Er){var Yr=Er.value;re(Yr)&&(Yr=me(Yr));var oi=ft(Yr,Er.key,Zn++);void 0!==oi?Oe(oi):Er.continue()}else Oe()},In.onerror=function(){We(In.error)}}catch(Er){We(Er)}})}).catch(We)});return y(Fe,He),Fe},getItem:function ue(ft,He){var Pe=this;ft=b(ft);var Fe=new g(function(Oe,We){Pe.ready().then(function(){M(Pe._dbInfo,K,function(_t,en){if(_t)return We(_t);try{var In=en.objectStore(Pe._dbInfo.storeName).get(ft);In.onsuccess=function(){var Zn=In.result;void 0===Zn&&(Zn=null),re(Zn)&&(Zn=me(Zn)),Oe(Zn)},In.onerror=function(){We(In.error)}}catch(Zn){We(Zn)}})}).catch(We)});return y(Fe,He),Fe},setItem:function we(ft,He,Pe){var Fe=this;ft=b(ft);var Oe=new g(function(We,_t){var en;Fe.ready().then(function(){return en=Fe._dbInfo,"[object Blob]"===V.call(He)?q(en.db).then(function(gn){return gn?He:function ce(ft){return new g(function(He,Pe){var Fe=new FileReader;Fe.onerror=Pe,Fe.onloadend=function(Oe){var We=btoa(Oe.target.result||"");He({__local_forage_encoded_blob:!0,data:We,type:ft.type})},Fe.readAsBinaryString(ft)})}(He)}):He}).then(function(gn){M(Fe._dbInfo,z,function(In,Zn){if(In)return _t(In);try{var Er=Zn.objectStore(Fe._dbInfo.storeName);null===gn&&(gn=void 0);var Yr=Er.put(gn,ft);Zn.oncomplete=function(){void 0===gn&&(gn=null),We(gn)},Zn.onabort=Zn.onerror=function(){_t(Yr.error?Yr.error:Yr.transaction.error)}}catch(oi){_t(oi)}})}).catch(_t)});return y(Oe,Pe),Oe},removeItem:function Re(ft,He){var Pe=this;ft=b(ft);var Fe=new g(function(Oe,We){Pe.ready().then(function(){M(Pe._dbInfo,z,function(_t,en){if(_t)return We(_t);try{var In=en.objectStore(Pe._dbInfo.storeName).delete(ft);en.oncomplete=function(){Oe()},en.onerror=function(){We(In.error)},en.onabort=function(){We(In.error?In.error:In.transaction.error)}}catch(Zn){We(Zn)}})}).catch(We)});return y(Fe,He),Fe},clear:function et(ft){var He=this,Pe=new g(function(Fe,Oe){He.ready().then(function(){M(He._dbInfo,z,function(We,_t){if(We)return Oe(We);try{var gn=_t.objectStore(He._dbInfo.storeName).clear();_t.oncomplete=function(){Fe()},_t.onabort=_t.onerror=function(){Oe(gn.error?gn.error:gn.transaction.error)}}catch(In){Oe(In)}})}).catch(Oe)});return y(Pe,ft),Pe},length:function at(ft){var He=this,Pe=new g(function(Fe,Oe){He.ready().then(function(){M(He._dbInfo,K,function(We,_t){if(We)return Oe(We);try{var gn=_t.objectStore(He._dbInfo.storeName).count();gn.onsuccess=function(){Fe(gn.result)},gn.onerror=function(){Oe(gn.error)}}catch(In){Oe(In)}})}).catch(Oe)});return y(Pe,ft),Pe},key:function Pt(ft,He){var Pe=this,Fe=new g(function(Oe,We){ft<0?Oe(null):Pe.ready().then(function(){M(Pe._dbInfo,K,function(_t,en){if
1(_t)return We(_t);try{var gn=en.objectStore(Pe._dbInfo.storeName),In=!1,Zn=gn.openKeyCursor();Zn.onsuccess=function(){var Er=Zn.result;Er?0===ft||In?Oe(Er.key):(In=!0,Er.advance(ft)):Oe(null)},Zn.onerror=function(){We(Zn.error)}}catch(Er){We(Er)}})}).catch(We)});return y(Fe,He),Fe},keys:function At(ft){var He=this,Pe=new g(function(Fe,Oe){He.ready().then(function(){M(He._dbInfo,K,function(We,_t){if(We)return Oe(We);try{var gn=_t.objectStore(He._dbInfo.storeName).openKeyCursor(),In=[];gn.onsuccess=function(){var Zn=gn.result;Zn?(In.push(Zn.key),Zn.continue()):Fe(In)},gn.onerror=function(){Oe(gn.error)}}catch(Zn){Oe(Zn)}})}).catch(Oe)});return y(Pe,ft),Pe},dropInstance:function It(ft,He){He=R.apply(this,arguments);var Oe,Pe=this.config();return(ft="function"!=typeof ft&&ft||{}).name||(ft.name=ft.name||Pe.name,ft.storeName=ft.storeName||Pe.storeName),y(Oe=ft.name?(ft.name===Pe.name&&this._dbInfo.db?g.resolve(this._dbInfo.db):ae(ft).then(function(en){var gn=O[ft.name],In=gn.forages;gn.db=en;for(var Zn=0;Zn<In.length;Zn++)In[Zn]._dbInfo.db=en;return en})).then(ft.storeName?function(en){if(en.objectStoreNames.contains(ft.storeName)){var gn=en.version+1;Z(ft);var In=O[ft.name],Zn=In.forages;en.close();for(var Er=0;Er<Zn.length;Er++){var Yr=Zn[Er];Yr._dbInfo.db=null,Yr._dbInfo.version=gn}return new g(function(Ar,li){var Ki=h.open(ft.name,gn);Ki.onerror=function(Pi){Ki.result.close(),li(Pi)},Ki.onupgradeneeded=function(){Ki.result.deleteObjectStore(ft.storeName)},Ki.onsuccess=function(){var Pi=Ki.result;Pi.close(),Ar(Pi)}}).then(function(Ar){In.db=Ar;for(var li=0;li<Zn.length;li++){var Ki=Zn[li];Ki._dbInfo.db=Ar,de(Ki._dbInfo)}}).catch(function(Ar){throw(ee(ft,Ar)||g.resolve()).catch(function(){}),Ar})}}:function(en){Z(ft);var gn=O[ft.name],In=gn.forages;en.close();for(var Zn=0;Zn<In.length;Zn++)In[Zn]._dbInfo.db=null;return new g(function(oi,Ar){var li=h.deleteDatabase(ft.name);li.onerror=function(){var Ki=li.result;Ki&&Ki.close(),Ar(li.error)},li.onblocked=function(){console.warn('dropInstance blocked for database "'+ft.name+'" until all open connections are closed')},li.onsuccess=function(){var Ki=li.result;Ki&&Ki.close(),oi(Ki)}}).then(function(oi){gn.db=oi;for(var Ar=0;Ar<In.length;Ar++)de(In[Ar]._dbInfo)}).catch(function(oi){throw(ee(ft,oi)||g.resolve()).catch(function(){}),oi})}):g.reject("Invalid arguments"),He),Oe}};var lt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ft=/^~~local_forage_type~([^~]+)~/,rt="__lfsc__:",Mt="arbf",Vt="blob",ur=Object.prototype.toString;function tr(ft){var Fe,We,_t,en,gn,He=.75*ft.length,Pe=ft.length,Oe=0;"="===ft[ft.length-1]&&(He--,"="===ft[ft.length-2]&&He--);var In=new ArrayBuffer(He),Zn=new Uint8Array(In);for(Fe=0;Fe<Pe;Fe+=4)We=lt.indexOf(ft[Fe]),_t=lt.indexOf(ft[Fe+1]),en=lt.indexOf(ft[Fe+2]),gn=lt.indexOf(ft[Fe+3]),Zn[Oe++]=We<<2|_t>>4,Zn[Oe++]=(15&_t)<<4|en>>2,Zn[Oe++]=(3&en)<<6|63&gn;return In}function Lr(ft){var Fe,He=new Uint8Array(ft),Pe="";for(Fe=0;Fe<He.length;Fe+=3)Pe+=lt[He[Fe]>>2],Pe+=lt[(3&He[Fe])<<4|He[Fe+1]>>4],Pe+=lt[(15&He[Fe+1])<<2|He[Fe+2]>>6],Pe+=lt[63&He[Fe+2]];return He.length%3==2?Pe=Pe.substring(0,Pe.length-1)+"=":He.length%3==1&&(Pe=Pe.substring(0,Pe.length-2)+"=="),Pe}var qr={serialize:function Br(ft,He){var Pe="";if(ft&&(Pe=ur.call(ft)),ft&&("[object ArrayBuffer]"===Pe||ft.buffer&&"[object ArrayBuffer]"===ur.call(ft.buffer))){var Fe,Oe=rt;ft instanceof ArrayBuffer?(Fe=ft,Oe+=Mt):(Fe=ft.buffer,"[object Int8Array]"===Pe?Oe+="si08":"[object Uint8Array]"===Pe?Oe+="ui08":"[object Uint8ClampedArray]"===Pe?Oe+="uic8":"[object Int16Array]"===Pe?Oe+="si16":"[object Uint16Array]"===Pe?Oe+="ur16":"[object Int32Array]"===Pe?Oe+="si32":"[object Uint32Array]"===Pe?Oe+="ui32":"[object Float32Array]"===Pe?Oe+="fl32":"[object Float64Array]"===Pe?Oe+="fl64":He(new Error("Failed to get type for BinaryArray"))),He(Oe+Lr(Fe))}else if("[object Blob]"===Pe){var We=new FileReader;We.onload=function(){var _t="~~local_forage_type~"+ft.type+"~"+Lr(this.result);He(rt+Vt+_t)},We.readAsArrayBuffer(ft)}else try{He(JSON.stringify(ft))}catch(_t){console.error("Couldn't convert value into a JSON string: ",ft),He(null,_t)}},deserialize:function Gr(ft){if(ft.substring(0,9)!==rt)return JSON.parse(ft);var Fe,He=ft.substring(13),Pe=ft.substring(9,13);if(Pe===Vt&&Ft.test(He)){var Oe=He.match(Ft);Fe=Oe[1],He=He.substring(Oe[0].length)}var We=tr(He);switch(Pe){case Mt:return We;case Vt:return v([We],{type:Fe});case"si08":return new Int8Array(We);case"ui08":return new Uint8Array(We);case"uic8":return new Uint8ClampedArray(We);case"si16":return new Int16Array(We);case"ur16":return new Uint16Array(We);case"si32":return new Int32Array(We);case"ui32":return new Uint32Array(We);case"fl32":return new Float32Array(We);case"fl64":return new Float64Array(We);default:throw new Error("Unkown type: "+Pe)}},stringToBuffer:tr,bufferToString:Lr};function _r(ft,He,Pe,Fe){ft.executeSql("CREATE TABLE IF NOT EXISTS "+He.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],Pe,Fe)}function Nr(ft,He,Pe,Fe,Oe,We){ft.executeSql(Pe,Fe,Oe,function(_t,en){en.code===en.SYNTAX_ERR?_t.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[He.storeName],function(gn,In){In.rows.length?We(gn,en):_r(gn,He,function(){gn.executeSql(Pe,Fe,Oe,We)},We)},We):We(_t,en)},We)}function Rt(ft,He,Pe,Fe){var Oe=this;
1ft=b(ft);var We=new g(function(_t,en){Oe.ready().then(function(){void 0===He&&(He=null);var gn=He,In=Oe._dbInfo;In.serializer.serialize(He,function(Zn,Er){Er?en(Er):In.db.transaction(function(Yr){Nr(Yr,In,"INSERT OR REPLACE INTO "+In.storeName+" (key, value) VALUES (?, ?)",[ft,Zn],function(){_t(gn)},function(oi,Ar){en(Ar)})},function(Yr){if(Yr.code===Yr.QUOTA_ERR){if(Fe>0)return void _t(Rt.apply(Oe,[ft,gn,Pe,Fe-1]));en(Yr)}})})}).catch(en)});return y(We,Pe),We}var Cn={_driver:"webSQLStorage",_initStorage:function hr(ft){var He=this,Pe={db:null};if(ft)for(var Fe in ft)Pe[Fe]="string"!=typeof ft[Fe]?ft[Fe].toString():ft[Fe];var Oe=new g(function(We,_t){try{Pe.db=openDatabase(Pe.name,String(Pe.version),Pe.description,Pe.size)}catch(en){return _t(en)}Pe.db.transaction(function(en){_r(en,Pe,function(){He._dbInfo=Pe,We()},function(gn,In){_t(In)})},_t)});return Pe.serializer=qr,Oe},_support:function St(){return"function"==typeof openDatabase}(),iterate:function Xr(ft,He){var Pe=this,Fe=new g(function(Oe,We){Pe.ready().then(function(){var _t=Pe._dbInfo;_t.db.transaction(function(en){Nr(en,_t,"SELECT * FROM "+_t.storeName,[],function(gn,In){for(var Zn=In.rows,Er=Zn.length,Yr=0;Yr<Er;Yr++){var oi=Zn.item(Yr),Ar=oi.value;if(Ar&&(Ar=_t.serializer.deserialize(Ar)),void 0!==(Ar=ft(Ar,oi.key,Yr+1)))return void Oe(Ar)}Oe()},function(gn,In){We(In)})})}).catch(We)});return y(Fe,He),Fe},getItem:function $r(ft,He){var Pe=this;ft=b(ft);var Fe=new g(function(Oe,We){Pe.ready().then(function(){var _t=Pe._dbInfo;_t.db.transaction(function(en){Nr(en,_t,"SELECT * FROM "+_t.storeName+" WHERE key = ? LIMIT 1",[ft],function(gn,In){var Zn=In.rows.length?In.rows.item(0).value:null;Zn&&(Zn=_t.serializer.deserialize(Zn)),Oe(Zn)},function(gn,In){We(In)})})}).catch(We)});return y(Fe,He),Fe},setItem:function zt(ft,He,Pe){return Rt.apply(this,[ft,He,Pe,1])},removeItem:function vn(ft,He){var Pe=this;ft=b(ft);var Fe=new g(function(Oe,We){Pe.ready().then(function(){var _t=Pe._dbInfo;_t.db.transaction(function(en){Nr(en,_t,"DELETE FROM "+_t.storeName+" WHERE key = ?",[ft],function(){Oe()},function(gn,In){We(In)})})}).catch(We)});return y(Fe,He),Fe},clear:function ln(ft){var He=this,Pe=new g(function(Fe,Oe){He.ready().then(function(){var We=He._dbInfo;We.db.transaction(function(_t){Nr(_t,We,"DELETE FROM "+We.storeName,[],function(){Fe()},function(en,gn){Oe(gn)})})}).catch(Oe)});return y(Pe,ft),Pe},length:function Sn(ft){var He=this,Pe=new g(function(Fe,Oe){He.ready().then(function(){var We=He._dbInfo;We.db.transaction(function(_t){Nr(_t,We,"SELECT COUNT(key) as c FROM "+We.storeName,[],function(en,gn){var In=gn.rows.item(0).c;Fe(In)},function(en,gn){Oe(gn)})})}).catch(Oe)});return y(Pe,ft),Pe},key:function dr(ft,He){var Pe=this,Fe=new g(function(Oe,We){Pe.ready().then(function(){var _t=Pe._dbInfo;_t.db.transaction(function(en){Nr(en,_t,"SELECT key FROM "+_t.storeName+" WHERE id = ? LIMIT 1",[ft+1],function(gn,In){var Zn=In.rows.length?In.rows.item(0).key:null;Oe(Zn)},function(gn,In){We(In)})})}).catch(We)});return y(Fe,He),Fe},keys:function En(ft){var He=this,Pe=new g(function(Fe,Oe){He.ready().then(function(){var We=He._dbInfo;We.db.transaction(function(_t){Nr(_t,We,"SELECT key FROM "+We.storeName,[],function(en,gn){for(var In=[],Zn=0;Zn<gn.rows.length;Zn++)In.push(gn.rows.item(Zn).key);Fe(In)},function(en,gn){Oe(gn)})})}).catch(Oe)});return y(Pe,ft),Pe},dropInstance:function bn(ft,He){He=R.apply(this,arguments);var Pe=this.config();(ft="function"!=typeof ft&&ft||{}).name||(ft.name=ft.name||Pe.name,ft.storeName=ft.storeName||Pe.storeName);var Oe,Fe=this;return y(Oe=ft.name?new g(function(We){var _t;_t=ft.name===Pe.name?Fe._dbInfo.db:openDatabase(ft.name,"","",0),We(ft.storeName?{db:_t,storeNames:[ft.storeName]}:function tn(ft){return new g(function(He,Pe){ft.transaction(function(Fe){Fe.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(Oe,We){for(var _t=[],en=0;en<We.rows.length;en++)_t.push(We.rows.item(en).name);He({db:ft,storeNames:_t})},function(Oe,We){Pe(We)})},function(Fe){Pe(Fe)})})}(_t))}).then(function(We){return new g(function(_t,en){We.db.transaction(function(gn){function In(oi){return new g(function(Ar,li){gn.executeSql("DROP TABLE IF EXISTS "+oi,[],function(){Ar()},function(Ki,Pi){li(Pi)})})}for(var Zn=[],Er=0,Yr=We.storeNames.length;Er<Yr;Er++)Zn.push(In(We.storeNames[Er]));g.all(Zn).then(function(){_t()}).catch(function(oi){en(oi)})},function(gn){en(gn)})})}):g.reject("Invalid arguments"),He),Oe}};function Xn(ft,He){var Pe=ft.name+"/";return ft.storeName!==He.storeName&&(Pe+=ft.storeName+"/"),Pe}function fn(){return!function nr(){var ft="_localforage_support_test";try{return localStorage.setItem(ft,!0),localStorage.removeItem(ft),!1}catch{return!0}}()||localStorage.length>0}var to={_driver:"localStorageWrapper",_initStorage:function fr(ft){var Pe={};
vendor: 5,722 bytes, line 1
1if(ft)for(var Fe in ft)Pe[Fe]=ft[Fe];return Pe.keyPrefix=Xn(ft,this._defaultConfig),fn()?(this._dbInfo=Pe,Pe.serializer=qr,g.resolve()):g.reject()},_support:function Kn(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}(),iterate:function ni(ft,He){var Pe=this,Fe=Pe.ready().then(function(){for(var Oe=Pe._dbInfo,We=Oe.keyPrefix,_t=We.length,en=localStorage.length,gn=1,In=0;In<en;In++){var Zn=localStorage.key(In);if(0===Zn.indexOf(We)){var Er=localStorage.getItem(Zn);if(Er&&(Er=Oe.serializer.deserialize(Er)),void 0!==(Er=ft(Er,Zn.substring(_t),gn++)))return Er}}});return y(Fe,He),Fe},getItem:function ar(ft,He){var Pe=this;ft=b(ft);var Fe=Pe.ready().then(function(){var Oe=Pe._dbInfo,We=localStorage.getItem(Oe.keyPrefix+ft);return We&&(We=Oe.serializer.deserialize(We)),We});return y(Fe,He),Fe},setItem:function Di(ft,He,Pe){var Fe=this;ft=b(ft);var Oe=Fe.ready().then(function(){void 0===He&&(He=null);var We=He;return new g(function(_t,en){var gn=Fe._dbInfo;gn.serializer.serialize(He,function(In,Zn){if(Zn)en(Zn);else try{localStorage.setItem(gn.keyPrefix+ft,In),_t(We)}catch(Er){("QuotaExceededError"===Er.name||"NS_ERROR_DOM_QUOTA_REACHED"===Er.name)&&en(Er),en(Er)}})})});return y(Oe,Pe),Oe},removeItem:function Xi(ft,He){var Pe=this;ft=b(ft);var Fe=Pe.ready().then(function(){localStorage.removeItem(Pe._dbInfo.keyPrefix+ft)});return y(Fe,He),Fe},clear:function lr(ft){var He=this,Pe=He.ready().then(function(){for(var Fe=He._dbInfo.keyPrefix,Oe=localStorage.length-1;Oe>=0;Oe--){var We=localStorage.key(Oe);0===We.indexOf(Fe)&&localStorage.removeItem(We)}});return y(Pe,ft),Pe},length:function $i(ft){var Pe=this.keys().then(function(Fe){return Fe.length});return y(Pe,ft),Pe},key:function vi(ft,He){var Pe=this,Fe=Pe.ready().then(function(){var We,Oe=Pe._dbInfo;try{We=localStorage.key(ft)}catch{We=null}return We&&(We=We.substring(Oe.keyPrefix.length)),We});return y(Fe,He),Fe},keys:function no(ft){var He=this,Pe=He.ready().then(function(){for(var Fe=He._dbInfo,Oe=localStorage.length,We=[],_t=0;_t<Oe;_t++){var en=localStorage.key(_t);0===en.indexOf(Fe.keyPrefix)&&We.push(en.substring(Fe.keyPrefix.length))}return We});return y(Pe,ft),Pe},dropInstance:function lo(ft,He){if(He=R.apply(this,arguments),!(ft="function"!=typeof ft&&ft||{}).name){var Pe=this.config();ft.name=ft.name||Pe.name,ft.storeName=ft.storeName||Pe.storeName}var Oe,Fe=this;return y(Oe=ft.name?new g(function(We){We(ft.storeName?Xn(ft,Fe._defaultConfig):ft.name+"/")}).then(function(We){for(var _t=localStorage.length-1;_t>=0;_t--){var en=localStorage.key(_t);0===en.indexOf(We)&&localStorage.removeItem(en)}}):g.reject("Invalid arguments"),He),Oe}},vo=function(He,Pe){return He===Pe||"number"==typeof He&&"number"==typeof Pe&&isNaN(He)&&isNaN(Pe)},Co=function(He,Pe){for(var Fe=He.length,Oe=0;Oe<Fe;){if(vo(He[Oe],Pe))return!0;Oe++}return!1},mn=Array.isArray||function(ft){return"[object Array]"===Object.prototype.toString.call(ft)},Jt={},kn={},Ke={INDEXEDDB:qt,WEBSQL:Cn,LOCALSTORAGE:to},Ze=[Ke.INDEXEDDB._driver,Ke.WEBSQL._driver,Ke.LOCALSTORAGE._driver],Ot=["dropInstance"],nn=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(Ot),wt={description:"",driver:Ze.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function st(ft,He){ft[He]=function(){var Pe=arguments;return ft.ready().then(function(){return ft[He].apply(ft,Pe)})}}function jt(){for(var ft=1;ft<arguments.length;ft++){var He=arguments[ft];if(He)for(var Pe in He)He.hasOwnProperty(Pe)&&(arguments[0][Pe]=mn(He[Pe])?He[Pe].slice():He[Pe])}return arguments[0]}var xt=function(){function ft(He){for(var Pe in function T(ft,He){if(!(ft instanceof He))throw new TypeError("Cannot call a class as a function")}(this,ft),Ke)if(Ke.hasOwnProperty(Pe)){var Fe=Ke[Pe],Oe=Fe._driver;this[Pe]=Oe,Jt[Oe]||this.defineDriver(Fe)}this._defaultConfig=jt({},wt),this._config=jt({},this._defaultConfig,He),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return ft.prototype.config=function(Pe){if("object"===(typeof Pe>"u"?"undefined":E(Pe))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var Fe in Pe){if("storeName"===Fe&&(Pe[Fe]=Pe[Fe].replace(/\W/g,"_")),"version"===Fe&&"number"!=typeof Pe[Fe])return new Error("Database version must be a number.");this._config[Fe]=Pe[Fe]}return!("driver"in Pe)||!Pe.driver||this.setDriver(this._config.driver)}return"string"==typeof Pe?this._config[Pe]:this._config},ft.prototype.defineDriver=function(Pe,Fe,Oe){var We=new g(function(_t,en){try{var gn=Pe._driver,In=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!Pe._driver)return void en(In);for(var Zn=nn.concat("_initStorage"),Er=0,Yr=Zn.length;Er<Yr;Er++){var oi=Zn[Er];if((!Co(Ot,oi)||Pe[oi])&&"function"!=typeof Pe[oi])return void en(In)}!function(){for(var io=function(bs){return function(){var xo=new Error("Method "+bs+" is not implemented by the current driver"),So=g.reject(xo);return y(So,arguments[arguments.length-1]),So}},ki=0,ko=Ot.length;ki<ko;ki++){var Eo=Ot[ki];Pe[Eo]||(Pe[Eo]=io(Eo))}}();var Ki=function(io){Jt[gn]&&console.info("Redefining LocalForage driver: "+gn),Jt[gn]=Pe,kn[gn]=io,_t()};"_support"in Pe?Pe._support&&"function"==typeof Pe._support?Pe._support().then(Ki,en):Ki(!!Pe._support):Ki(!0)}catch(Pi){en(Pi)}});return p(We,Fe,Oe),We},ft.prototype.driver=function(){return this._driver||null},ft.prototype.getDriver=function(Pe,Fe,Oe){var We=Jt[Pe]?g.resolve(Jt[Pe]):g.reject(new Error("Driver not found."));return p(We,Fe,Oe),We}
1,ft.prototype.getSerializer=function(Pe){var Fe=g.resolve(qr);return p(Fe,Pe),Fe},ft.prototype.ready=function(Pe){var Fe=this,Oe=Fe._driverSet.then(function(){return null===Fe._ready&&(Fe._ready=Fe._initDriver()),Fe._ready});return p(Oe,Pe,Pe),Oe},ft.prototype.setDriver=function(Pe,Fe,Oe){var We=this;mn(Pe)||(Pe=[Pe]);var _t=this._getSupportedDrivers(Pe);function en(){We._config.driver=We.driver()}function gn(Er){return We._extend(Er),en(),We._ready=We._initStorage(We._config),We._ready}var Zn=null!==this._driverSet?this._driverSet.catch(function(){return g.resolve()}):g.resolve();return this._driverSet=Zn.then(function(){var Er=_t[0];return We._dbInfo=null,We._ready=null,We.getDriver(Er).then(function(Yr){We._driver=Yr._driver,en(),We._wrapLibraryMethodsWithReady(),We._initDriver=function In(Er){return function(){var Yr=0;return function oi(){for(;Yr<Er.length;){var Ar=Er[Yr];return Yr++,We._dbInfo=null,We._ready=null,We.getDriver(Ar).then(gn).catch(oi)}en();var li=new Error("No available storage method found.");return We._driverSet=g.reject(li),We._driverSet}()}}(_t)})}).catch(function(){en();var Er=new Error("No available storage method found.");return We._driverSet=g.reject(Er),We._driverSet}),p(this._driverSet,Fe,Oe),this._driverSet},ft.prototype.supports=function(Pe){return!!kn[Pe]},ft.prototype._extend=function(Pe){jt(this,Pe)},ft.prototype._getSupportedDrivers=function(Pe){for(var Fe=[],Oe=0,We=Pe.length;Oe<We;Oe++){var _t=Pe[Oe];this.supports(_t)&&Fe.push(_t)}return Fe},ft.prototype._wrapLibraryMethodsWithReady=function(){for(var Pe=0,Fe=nn.length;Pe<Fe;Pe++)st(this,nn[Pe])},ft.prototype.createInstance=function(Pe){return new ft(Pe)},ft}(),hn=new xt;C.exports=hn},{3:3}]},{},[4])(4)},67376:function(ge,_,f){var c;ge=f.nmd(ge),function(){var o,T="Expected a function",h="__lodash_hash_undefined__",v="__lodash_placeholder__",z=32,x=128,me=1/0,re=9007199254740991,X=NaN,M=4294967295,ue=[["ary",x],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",z],["partialRight",64],["rearg",256]],ve="[object Arguments]",we="[object Array]",et="[object Boolean]",at="[object Date]",At="[object Error]",It="[object Function]",qt="[object GeneratorFunction]",St="[object Map]",lt="[object Number]",Ft="[object Object]",rt="[object Promise]",Mt="[object RegExp]",Vt="[object Set]",Lt="[object String]",$n="[object Symbol]",An="[object WeakMap]",or="[object ArrayBuffer]",br="[object DataView]",Fr="[object Float32Array]",On="[object Float64Array]",sr="[object Int8Array]",ur="[object Int16Array]",tr="[object Int32Array]",Lr="[object Uint8Array]",Br="[object Uint8ClampedArray]",Gr="[object Uint16Array]",qr="[object Uint32Array]",_r=/\b__p \+= '';/g,hr=/\b(__p \+=) '' \+/g,Nr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,$r=/&(?:amp|lt|gt|quot|#39);/g,Xr=/[&<>"']/g,Rt=RegExp($r.source),zt=RegExp(Xr.source),vn=/<%-([\s\S]+?)%>/g,ln=/<%([\s\S]+?)%>/g,Sn=/<%=([\s\S]+?)%>/g,dr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,En=/^\w*$/,tn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bn=/[\\^$.*+?()[\]{}|]/g,Cn=RegExp(bn.source),Kn=/^\s+/,Xn=/\s/,nr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,fn=/\{\n\/\* \[wrapped with (.+)\] \*/,fr=/,? & /,lr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ar=/[()=,{}\[\]\/\s]/,ni=/\\(\\)?/g,vi=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,no=/\w*$/,$i=/^[-+]0x[0-9a-f]+$/i,Xi=/^0b[01]+$/i,Di=/^\[object .+?Constructor\]$/,lo=/^0o[0-7]+$/i,to=/^(?:0|[1-9]\d*)$/,vo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 29,524 bytes, line 1
17f]/g,Co=/($^)/,mn=/['\n\r\u2028\u2029\\]/g,Jt="\\ud800-\\udfff",Ot="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",nn="\\u2700-\\u27bf",wt="a-z\\xdf-\\xf6\\xf8-\\xff",ft="A-Z\\xc0-\\xd6\\xd8-\\xde",He="\\ufe0e\\ufe0f",Pe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Oe="["+Jt+"]",We="["+Pe+"]",_t="["+Ot+"]",en="\\d+",gn="["+nn+"]",In="["+wt+"]",Zn="[^"+Jt+Pe+en+nn+wt+ft+"]",Er="\\ud83c[\\udffb-\\udfff]",oi="[^"+Jt+"]",Ar="(?:\\ud83c[\\udde6-\\uddff]){2}",li="[\\ud800-\\udbff][\\udc00-\\udfff]",Ki="["+ft+"]",io="(?:"+In+"|"+Zn+")",ki="(?:"+Ki+"|"+Zn+")",ko="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Eo="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",ji="(?:"+_t+"|"+Er+")?",bs="["+He+"]?",qo=bs+ji+"(?:\\u200d(?:"+[oi,Ar,li].join("|")+")"+bs+ji+")*",cs="(?:"+[gn,Ar,li].join("|")+")"+qo,ds="(?:"+[oi+_t+"?",_t,Ar,li,Oe].join("|")+")",Ne=RegExp("['\u2019]","g"),Ge=RegExp(_t,"g"),Un=RegExp(Er+"(?="+Er+")|"+ds+qo,"g"),xe=RegExp([Ki+"?"+In+"+"+ko+"(?="+[We,Ki,"$"].join("|")+")",ki+"+"+Eo+"(?="+[We,Ki+io,"$"].join("|")+")",Ki+"?"+io+"+"+ko,Ki+"+"+Eo,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",en,cs].join("|"),"g"),ht=RegExp("[\\u200d"+Jt+Ot+He+"]"),Ut=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rn=-1,Dn={};Dn[Fr]=Dn[On]=Dn[sr]=Dn[ur]=Dn[tr]=Dn[Lr]=Dn[Br]=Dn[Gr]=Dn[qr]=!0,Dn[ve]=Dn[we]=Dn[or]=Dn[et]=Dn[br]=Dn[at]=Dn[At]=Dn[It]=Dn[St]=Dn[lt]=Dn[Ft]=Dn[Mt]=Dn[Vt]=Dn[Lt]=Dn[An]=!1;var Bi={};Bi[ve]=Bi[we]=Bi[or]=Bi[br]=Bi[et]=Bi[at]=Bi[Fr]=Bi[On]=Bi[sr]=Bi[ur]=Bi[tr]=Bi[St]=Bi[lt]=Bi[Ft]=Bi[Mt]=Bi[Vt]=Bi[Lt]=Bi[$n]=Bi[Lr]=Bi[Br]=Bi[Gr]=Bi[qr]=!0,Bi[At]=Bi[It]=Bi[An]=!1;var Pn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Yn=parseFloat,Wn=parseInt,Ir="object"==typeof global&&global&&global.Object===Object&&global,Wr="object"==typeof self&&self&&self.Object===Object&&self,Or=Ir||Wr||Function("return this")(),Hr=_&&!_.nodeType&&_,ui=Hr&&ge&&!ge.nodeType&&ge,Ci=ui&&ui.exports===Hr,pi=Ci&&Ir.process,Fi=function(){try{return ui&&ui.require&&ui.require("util").types||pi&&pi.binding&&pi.binding("util")}catch{}}(),yo=Fi&&Fi.isArrayBuffer,Jo=Fi&&Fi.isDate,xi=Fi&&Fi.isMap,as=Fi&&Fi.isRegExp,Ts=Fi&&Fi.isSet,As=Fi&&Fi.isTypedArray;function No(Nn,xr,kr){switch(kr.length){case 0:return Nn.call(xr);case 1:return Nn.call(xr,kr[0]);case 2:return Nn.call(xr,kr[0],kr[1]);case 3:return Nn.call(xr,kr[0],kr[1],kr[2])}return Nn.apply(xr,kr)}function ma(Nn,xr,kr,Ii){for(var fo=-1,zo=null==Nn?0:Nn.length;++fo<zo;){var Es=Nn[fo];xr(Ii,Es,kr(Es),Nn)}return Ii}function us(Nn,xr){for(var kr=-1,Ii=null==Nn?0:Nn.length;++kr<Ii&&!1!==xr(Nn[kr],kr,Nn););return Nn}function ia(Nn,xr){for(var kr=null==Nn?0:Nn.length;kr--&&!1!==xr(Nn[kr],kr,Nn););return Nn}function oa(Nn,xr){for(var kr=-1,Ii=null==Nn?0:Nn.length;++kr<Ii;)if(!xr(Nn[kr],kr,Nn))return!1;return!0}function Uo(Nn,xr){for(var kr=-1,Ii=null==Nn?0:Nn.length,fo=0,zo=[];++kr<Ii;){var Es=Nn[kr];xr(Es,kr,Nn)&&(zo[fo++]=Es)}return zo}function ua(Nn,xr){return!(null==Nn||!Nn.length)&&Ls(Nn,xr,0)>-1}function ta(Nn,xr,kr){for(var Ii=-1,fo=null==Nn?0:Nn.length;++Ii<fo;)if(kr(xr,Nn[Ii]))return!0;return!1}function wo(Nn,xr){for(var kr=-1,Ii=null==Nn?0:Nn.length,fo=Array(Ii);++kr<Ii;)fo[kr]=xr(Nn[kr],kr,Nn);return fo}function Ia(Nn,xr){for(var kr=-1,Ii=xr.length,fo=Nn.length;++kr<Ii;)Nn[fo+kr]=xr[kr];return Nn}function Us(Nn,xr,kr,Ii){var fo=-1,zo=null==Nn?0:Nn.length;for(Ii&&zo&&(kr=Nn[++fo]);++fo<zo;)kr=xr(kr,Nn[fo],fo,Nn);return kr}function Ji(Nn,xr,kr,Ii){var fo=null==Nn?0:Nn.length;for(Ii&&fo&&(kr=Nn[--fo]);fo--;)kr=xr(kr,Nn[fo],fo,Nn);return kr}function Pa(Nn,xr){for(var kr=-1,Ii=null==Nn?0:Nn.length;++kr<Ii;)if(xr(Nn[kr],kr,Nn))return!0;return!1}var el=ot("length");function ya(Nn,xr,kr){var Ii;return kr(Nn,function(fo,zo,Es){if(xr(fo,zo,Es))return Ii=zo,!1}),Ii}function sa(Nn,xr,kr,Ii){for(var fo=Nn.length,zo=kr+(Ii?1:-1);Ii?zo--:++zo<fo;)if(xr(Nn[zo],zo,Nn))return zo;return-1}function Ls(Nn,xr,kr){return xr==xr?function _o(Nn,xr,kr){for(var Ii=kr-1,fo=Nn.length;++Ii<fo;)if(Nn[Ii]===xr)return Ii;return-1}(Nn,xr,kr):sa(Nn,qa,kr)}function aa(Nn,xr,kr,Ii){for(var fo=kr-1,zo=Nn.length;++fo<zo;)if(Ii(Nn[fo],xr))return fo;return-1}function qa(Nn){return Nn!=Nn}function Ct(Nn,xr){var kr=null==Nn?0:Nn.length;return kr?ai(Nn,xr)/kr:X}function ot(Nn){return function(xr){return null==xr?o:xr[Nn]}}function Zt(Nn){return function(xr){return null==Nn?o:Nn[xr]}}function bt(Nn,xr,kr,Ii,fo){return fo(Nn,function(zo,Es,Ce){kr=Ii?(Ii=!1,zo):xr(kr,zo,Es,Ce)}),kr}function ai(Nn,xr){for(var kr,Ii=-1,fo=Nn.length;++Ii<fo;){var zo=xr(Nn[Ii]);zo!==o&&(kr=kr===o?zo:kr+zo)}return kr}function wi(Nn,xr){for(var kr=-1,Ii=Array(Nn);++kr<Nn;)Ii[kr]=xr(kr);return Ii}function ca(Nn){return Nn&&Nn.slice(0,Go(Nn)+1).replace(Kn,"")}function Xo(Nn){return function(xr){return Nn(xr)}}function ga(Nn,xr){return wo(xr,function(kr){return Nn[kr]})}function Js(Nn,xr){return Nn.has(xr)}function Ps(Nn,xr){for(var kr=-1,Ii=Nn.length;++kr<Ii&&Ls(xr,Nn[kr],0)>-1;);return kr}function Xa(Nn,xr){for(var kr=Nn.length;kr--&&Ls(xr,Nn[kr],0)>-1;);return kr}var fl=Zt({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),hl=Zt({"&":"&","<":"<",">":">",'"':""","'":"'"});function Rl(Nn){return"\\"+Pn[Nn]}function Ma(Nn){return ht.test(Nn)}function kl(Nn){var xr=-1,kr=Array(Nn.size);return Nn.forEach(function(Ii,fo){kr[++xr]=[fo,Ii]}),kr}function nl(Nn,xr){return function(kr){return Nn(xr(kr))}}function Zs(Nn,xr){for(var kr=-1,Ii=Nn.length,fo=0,zo=[];++kr<Ii;){var Es=Nn[kr];(Es===xr||Es===v)&&(Nn[kr]=v,zo[fo++]=kr)}return zo}function _a(Nn){var xr=-1,kr=Array(Nn.size);return Nn.forEach(function(Ii){kr[++xr]=Ii}),kr}function is(Nn){return Ma(Nn)?function Yo(Nn){for(var xr=Un.lastIndex=0;Un.test(Nn);)++xr;return xr}(Nn):el(Nn)}function hs(Nn){return Ma(Nn)?function ba(Nn){return Nn.match(Un)||[]}(Nn):function Ha(Nn){return Nn.split("")}(Nn)}function Go(Nn){for(var xr=Nn.length;xr--&&Xn.test(Nn.charAt(xr)););return xr}var Ml=Zt({"&":"&","<":"<",">":">",""":'"',"'":"'"}),La=function Nn(xr){var U,kr=(xr=null==xr?Or:La.defaults(Or.Object(),xr,La.pick(Or,qe))).Array,Ii=xr.Date,fo=xr.Error,zo=xr.Function,Es=xr.Math,Ce=xr.Object,ye=xr.RegExp,$e=xr.String,tt=xr.TypeError,Et=kr.prototype,W=Ce.prototype,oe=xr["__core-js_shared__"],be=zo.prototype.toString,Ue=W.hasOwnProperty,Ye=0,kt=(U=/[^.]+$/.exec(oe&&oe.keys&&oe.keys.IE_PROTO||""))?"Symbol(src)_1."+U:"",on=W.toString,xn=be.call(Ce),pr=Or._,Rr=ye("^"+be.call(Ue).replace(bn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Kr=Ci?xr.Buffer:o,Pr=xr.Symbol,jr=xr.Uint8Array,qn=Kr?Kr.allocUnsafe:o,Mr=nl(Ce.getPrototypeOf,Ce),mi=Ce.create,Ti=W.propertyIsEnumerable,_i=Et.splice,Le=Pr?Pr.isConcatSpreadable:o,it=Pr?Pr.iterator:o,an=Pr?Pr.toStringTag:o,nt=function(){try{var U=gu(Ce,"defineProperty");return U({},"",{}),U}catch{}}(),Qt=xr.clearTimeout!==Or.clearTimeout&&xr.clearTimeout,Fn=Ii&&Ii.now!==Or.Date.now&&Ii.now,vr=xr.setTimeout!==Or.setTimeout&&xr.setTimeout,ei=Es.ceil,co=Es.floor,so=Ce.getOwnPropertySymbols,ro=Kr?Kr.isBuffer:o,ao=xr.isFinite,Mo=Et.join,ps=nl(Ce.keys,Ce),Ho=Es.max,bo=Es.min,ri=Ii.now,Vi=xr.parseInt,Ds=Es.random,na=Et.reverse,Ro=gu(xr,"DataView"),Bs=gu(xr,"Map"),ll=gu(xr,"Promise"),Is=gu(xr,"Set"),Ws=gu(xr,"WeakMap"),za=gu(Ce,"create"),ho=Ws&&new Ws,ul={},ic=sd(Ro),hu=sd(Bs),Cs=sd(ll),_u=sd(Is),Ca=sd(Ws),pl=Pr?Pr.prototype:o,da=pl?pl.valueOf:o,Gu=pl?pl.toString:o;function le(U){if(ra(U)&&!ns(U)&&!(U instanceof _e)){if(U instanceof se)return U;if(Ue.call(U,"__wrapped__"))return Rc(U)}return new se(U)}var pe=function(){function U(){}return function(J){if(!Wa(J))return{};if(mi)return mi(J);U.prototype=J;var ke=new U;return U.prototype=o,ke}}();function ie(){}function se(U,J){this.__wrapped__=U,this.__actions__=[],this.__chain__=!!J,this.__index__=0,this.__values__=o}function _e(U){this.__wrapped__=U,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=M,this.__views__=[]}function Tt(U){var J=-1,ke=null==U?0:U.length;for(this.clear();++J<ke;){var dt=U[J];this.set(dt[0],dt[1])}}function Gn(U){var J=-1,ke=null==U?0:U.length;for(this.clear();++J<ke;){var dt=U[J];this.set(dt[0],dt[1])}}function Gi(U){var J=-1,ke=null==U?0:U.length;for(this.clear();++J<ke;){var dt=U[J];this.set(dt[0],dt[1])}}function Wi(U){var J=-1,ke=null==U?0:U.length;for(this.__data__=new Gi;++J<ke;)this.add(U[J])}function Ae(U){var J=this.__data__=new Gn(U);this.size=J.size}function Bt(U,J){var ke=ns(U),dt=!ke&&ec(U),Gt=!ke&&!dt&&ru(U),pn=!ke&&!dt&&!Gt&&Pc(U),Hn=ke||dt||Gt||pn,er=Hn?wi(U.length,$e):[],yr=er.length;for(var si in U)(J||Ue.call(U,si))&&(!Hn||!("length"==si||Gt&&("offset"==si||"parent"==si)||pn&&("buffer"==si||"byteLength"==si||"byteOffset"==si)||Xu(si,yr)))&&er.push(si);return er}function Mn(U){var J=U.length;return J?U[Se(0,J-1)]:o}function Dr(U,J){return Sh(_l(U),ks(J,0,U.length))}function zn(U){return Sh(_l(U))}function Jr(U,J,ke){(ke!==o&&!Xs(U[J],ke)||ke===o&&!(J in U))&&Rs(U,J,ke)}function Ni(U,J,ke){var dt=U[J];(!Ue.call(U,J)||!Xs(dt,ke)||ke===o&&!(J in U))&&Rs(U,J,ke)}function To(U,J){for(var ke=U.length;ke--;)if(Xs(U[ke][0],J))return ke;return-1}function Ao(U,J,ke,dt){return Ra(U,function(Gt,pn,Hn){J(dt,Gt,ke(Gt),Hn)}),dt}function Lo(U,J){return U&&mu(J,El(J),U)}function Rs(U,J,ke){"__proto__"==J&&nt?nt(U,J,{configurable:!0,enumerable:!0,value:ke,writable:!0}):U[J]=ke}function Fa(U,J){for(var ke=-1,dt=J.length,Gt=kr(dt),pn=null==U;++ke<dt;)Gt[ke]=pn?o:Bm(U,J[ke]);return Gt}function ks(U,J,ke){return U==U&&(ke!==o&&(U=U<=ke?U:ke),J!==o&&(U=U>=J?U:J)),U}function xs(U,J,ke,dt,Gt,pn){var Hn,er=1&J,yr=2&J,si=4&J;if(ke&&(Hn=Gt?ke(U,dt,Gt,pn):ke(U)),Hn!==o)return Hn;if(!Wa(U))return U;var ii=ns(U);if(ii){if(Hn=function rg(U){var J=U.length,ke=new U.constructor(J);return J&&"string"==typeof U[0]&&Ue.call(U,"index")&&(ke.index=U.index,ke.input=U.input),ke}(U),!er)return _l(U,Hn)}else{var hi=ml(U),Hi=hi==It||hi==qt;if(ru(U))return kp(U,er);if(hi==Ft||hi==ve||Hi&&!Gt){if(Hn=yr||Hi?{}:_h(U),!er)return yr?function hh(U,J){return mu(U,yh(U),J)}(U,function la(U,J){return U&&mu(J,Jl(J),U)}(Hn,U)):function xp(U,J){return mu(U,vh(U),J)}(U,Lo(Hn,U))}else{if(!Bi[hi])return Gt?U:{};Hn=function bh(U,J,ke){var dt=U.constructor;switch(J){case or:return pf(U);case et:case at:return new dt(+U);case br:return function Np(U,J){var ke=J?pf(U.buffer):U.buffer;return new U.constructor(ke,U.byteOffset,U.byteLength)}(U,ke);case Fr:case On:case sr:case ur:case tr:case Lr:case Br:case Gr:case qr:return Jc(U,ke);case St:return new dt;case lt:case Lt:return new dt(U);case Mt:return function Op(U){var J=new U.constructor(U.source,no.exec(U));return J.lastIndex=U.lastIndex,J}(U);case Vt:return new dt;case $n:return function Pp(U){return da?Ce(da.call(U)):{}}(U)}}(U,hi,er)}}pn||(pn=new Ae);var mo=pn.get(U);if(mo)return mo;pn.set(U,Hn),Im(U)?U.forEach(function(go){Hn.add(xs(go,J,ke,go,U,pn))}):Oc(U)&&U.forEach(function(go,Ss){Hn.set(Ss,xs(go,J,ke,Ss,U,pn))});var ys=ii?o:(si?yr?gh:yf:yr?Jl:El)(U);return us(ys||U,function(go,Ss){ys&&(go=U[Ss=go]),Ni(Hn,Ss,xs(go,J,ke,Ss,U,pn))}),Hn}function rl(U,J,ke){var dt=ke.length;if(null==U)return!dt;for(U=Ce(U);dt--;){var Gt=ke[dt],Hn=U[Gt];if(Hn===o&&!(Gt in U)||!(0,J[Gt])(Hn))return!1}return!0}function Ll(U,J,ke){if("function"!=typeof U)throw new tt(T);return od(function(){U.apply(o,ke)},J)}function Zl(U,J,ke,dt){var Gt=-1,pn=ua,Hn=!0,er=U.length,yr=[],si=J.length;if(!er)return yr;ke&&(J=wo(J,Xo(ke))),dt?(pn=ta,Hn=!1):J.length>=200&&(pn=Js,Hn=!1,J=new Wi(J));e:for(;++Gt<er;){var ii=U[Gt],hi=null==ke?ii:ke(ii);if(ii=dt||0!==ii?ii:0,Hn&&hi==hi){for(var Hi=si;Hi--;)if(J[Hi]===hi)continue e;yr.push(ii)}else pn(J,hi,dt)||yr.push(ii)}return yr}le.templateSettings={escape:vn,evaluate:ln,interpolate:Sn,variable:"",imports:{_:le}},(le.prototype=ie.prototype).constructor=le,(se.prototype=pe(ie.prototype)).constructor=se,(_e.prototype=pe(ie.prototype)).constructor=_e,Tt.prototype.clear=function Xt(){this.__data__=za?za(null):{},this.size=0},Tt.prototype.delete=function dn(U){var J=this.has(U)&&delete this.__data__[U];return this.size-=J?1:0,J},Tt.prototype.get=function Rn(U){var J=this.__data__;if(za){var ke=J[U];return ke===h?o:ke}return Ue.call(J,U)?J[U]:o},Tt.prototype.has=function _n(U){var J=this.__data__;return za?J[U]!==o:Ue.call(J,U)},Tt.prototype.set=function cr(U,J){var ke=this.__data__;return this.size+=this.has(U)?0:1,ke[U]=za&&J===o?h:J,this},Gn.prototype.clear=function Cr(){this.__data__=[],this.size=0},Gn.prototype.delete=function wr(U){var J=this.__data__,ke=To(J,U);return!(ke<0||(ke==J.length-1?J.pop():_i.call(J,ke,1),--this.size,0))},Gn.prototype.get=function ti(U){var J=this.__data__,ke=To(J,U);return ke<0?o:J[ke][1]},Gn.prototype.has=function di(U){return To(this.__data__,U)>-1},Gn.prototype.set=function Si(U,J){var ke=this.__data__,dt=To(ke,U);return dt<0?(++this.size,ke.push([U,J])):ke[dt][1]=J,this},Gi.prototype.clear=function Ui(){this.size=0,this.__data__={hash:new Tt,map:new(Bs||Gn),string:new Tt}},Gi.prototype.delete=function os(U){var J=Pd(this,U).delete(U);return this.size-=J?1:0,J},Gi.prototype.get=function es(U){return Pd(this,U).get(U)},Gi.prototype.has=function ms(U){return Pd(this,U).has(U)},Gi.prototype.set=function Zi(U,J){var ke=Pd(this,U),dt=ke.size;return ke.set(U,J),this.size+=ke.size==dt?0:1,this},Wi.prototype.add=Wi.prototype.push=function Fs(U){return this.__data__.set(U,h),this},Wi.prototype.has=function Ba(U){return this.__data__.has(U)},Ae.prototype.clear=function je(){this.__data__=new Gn,this.size=0},Ae.prototype.delete=function Je(U){var J=this.__data__,ke=J.delete(U);return this.size=J.size,ke},Ae.prototype.get=function Me(U){return this.__data__.get(U)},Ae.prototype.has=function Qe(U){return this.__data__.has(U)},Ae.prototype.set=function Ht(U,J){var ke=this.__data__;if(ke instanceof Gn){var dt=ke.__data__;if(!Bs||dt.length<199)return dt.push([U,J]),this.size=++ke.size,this;ke=this.__data__=new Gi(dt)}return ke.set(U,J),this.size=ke.size,this};var Ra=Zc(gs),Ri=Zc(va,!0);function $o(U,J){var ke=!0;return Ra(U,function(dt,Gt,pn){return ke=!!J(dt,Gt,pn)}),ke}function Oo(U,J,ke){for(var dt=-1,Gt=U.length;++dt<Gt;){var pn=U[dt],Hn=J(pn);if(null!=Hn&&(er===o?Hn==Hn&&!Ql(Hn):ke(Hn,er)))var er=Hn,yr=pn}return yr}function js(U,J){var ke=[];return Ra(U,function(dt,Gt,pn){J(dt,Gt,pn)&&ke.push(dt)}),ke}function zi(U,J,ke,dt,Gt){var pn=-1,Hn=U.length;for(ke||(ke=zp),Gt||(Gt=[]);++pn<Hn;){var er=U[pn];J>0&&ke(er)?J>1?zi(er,J-1,ke,dt,Gt):Ia(Gt,er):dt||(Gt[Gt.length]=er)}return Gt}var Ya=Mp(),ja=Mp(!0);function gs(U,J){return U&&Ya(U,J,El)}function va(U,J){return U&&ja(U,J,El)}function ea(U,J){return Uo(J,function(ke){return vu(U[ke])})}function Ua(U,J){for(var ke=0,dt=(J=Na(J,U)).length;null!=U&&ke<dt;)U=U[Tu(J[ke++])];return ke&&ke==dt?U:o}function Ks(U,J,ke){var dt=J(U);return ns(U)?dt:Ia(dt,ke(U))}function il(U){return null==U?U===o?"[object Undefined]":"[object Null]":an&&an in Ce(U)?function dl(U){var J=Ue.call(U,an),ke=U[an];try{U[an]=o;var dt=!0}catch{}var Gt=on.call(U);return dt&&(J?U[an]=ke:delete U[an]),Gt}(U):function qp(U){return on.call(U)}(U)}function zu(U,J){return U>J}function oc(U,J){return null!=U&&Ue.call(U,J)}function Nl(U,J){return null!=U&&J in Ce(U)}function ku(U,J,ke){for(var dt=ke?ta:ua,Gt=U[0].length,pn=U.length,Hn=pn,er=kr(pn),yr=1/0,si=[];Hn--;){var ii=U[Hn];Hn&&J&&(ii=wo(ii,Xo(J))),yr=bo(ii.length,yr),er[Hn]=!ke&&(J||Gt>=120&&ii.length>=120)?new Wi(Hn&&ii):o}ii=U[0];var hi=-1,Hi=er[0];e:for(;++hi<Gt&&si.length<yr;){var mo=ii[hi],Po=J?J(mo):mo;if(mo=ke||0!==mo?mo:0,!(Hi?Js(Hi,Po):dt(si,Po,ke))){for(Hn=pn;--Hn;){var ys=er[Hn];if(!(ys?Js(ys,Po):dt(U[Hn],Po,ke)))continue e}Hi&&Hi.push(Po),si.push(mo)}}return si}function eu(U,J,ke){var dt=null==(U=Dc(U,J=Na(J,U)))?U:U[Tu(fa(J))];return null==dt?o:No(dt,U,ke)}function bu(U){return ra(U)&&il(U)==ve}function tu(U,J,ke,dt,Gt){return U===J||(null==U||null==J||!ra(U)&&!ra(J)?U!=U&&J!=J:function Ou(U,J,ke,dt,Gt,pn){var Hn=ns(U),er=ns(J),yr=Hn?we:ml(U),si=er?we:ml(J),ii=(yr=yr==ve?Ft:yr)==Ft,hi=(si=si==ve?Ft:si)==Ft,Hi=yr==si;if(Hi&&ru(U)){if(!ru(J))return!1;Hn=!0,ii=!1}if(Hi&&!ii)return pn||(pn=new Ae),Hn||Pc(U)?Up(U,J,ke,dt,Gt,pn):function Hp(U,J,ke,dt,Gt,pn,Hn){switch(ke){case br:if(U.byteLength!=J.byteLength||U.byteOffset!=J.byteOffset)return!1;U=U.buffer,J=J.buffer;case or:return!(U.byteLength!=J.byteLength||!pn(new jr(U),new jr(J)));case et:case at:case lt:return Xs(+U,+J);case At:return U.name==J.name&&U.message==J.message;case Mt:case Lt:return U==J+"";case St:var er=kl;case Vt:if(er||(er=_a),U.size!=J.size&&!(1&dt))return!1;var si=Hn.get(U);if(si)return si==J;dt|=2,Hn.set(U,J);var ii=Up(er(U),er(J),dt,Gt,pn,Hn);return Hn.delete(U),ii;case $n:if(da)return da.call(U)==da.call(J)}return!1}(U,J,yr,ke,dt,Gt,pn);if(!(1&ke)){var mo=ii&&Ue.call(U,"__wrapped__"),Po=hi&&Ue.call(J,"__wrapped__");if(mo||Po){var ys=mo?U.value():U,go=Po?J.value():J;return pn||(pn=new Ae),Gt(ys,go,ke,dt,pn)}}return!!Hi&&(pn||(pn=new Ae),function Vp(U,J,ke,dt,Gt,pn){var Hn=1&ke,er=yf(U),yr=er.length;if(yr!=yf(J).length&&!Hn)return!1;for(var hi=yr;hi--;){var Hi=er[hi];if(!(Hn?Hi in J:Ue.call(J,Hi)))return!1}var mo=pn.get(U),Po=pn.get(J);if(mo&&Po)return mo==J&&Po==U;var ys=!0;pn.set(U,J),pn.set(J,U);for(var go=Hn;++hi<yr;){var Ss=U[Hi=er[hi]],Ms=J[Hi];if(dt)var lu=Hn?dt(Ms,Ss,Hi,J,U,pn):dt(Ss,Ms,Hi,U,J,pn);if(!(lu===o?Ss===Ms||Gt(Ss,Ms,ke,dt,pn):lu)){ys=!1;break}go||(go="constructor"==Hi)}if(ys&&!go){var xl=U.constructor,uu=J.constructor;xl!=uu&&"constructor"in U&&"constructor"in J&&!("function"==typeof xl&&xl instanceof xl&&"function"==typeof uu&&uu instanceof uu)&&(ys=!1)}return pn.delete(U),pn.delete(J),ys}(U,J,ke,dt,Gt,pn))}(U,J,ke,dt,tu,Gt))}function ka(U,J,ke,dt){var Gt=ke.length,pn=Gt,Hn=!dt;if(null==U)return!pn;for(U=Ce(U);Gt--;){var er=ke[Gt];if(Hn&&er[2]?er[1]!==U[er[0]]:!(er[0]in U))return!1}for(;++Gt<pn;){var yr=(er=ke[Gt])[0],si=U[yr],ii=er[1];if(Hn&&er[2]){if(si===o&&!(yr in U))return!1}else{var hi=new Ae;if(dt)var Hi=dt(si,ii,yr,U,J,hi);if(!(Hi===o?tu(ii,si,3,dt,hi):Hi))return!1}}return!0}function ol(U){return!(!Wa(U)||function Wp(U){return!!kt&&kt in U}(U))&&(vu(U)?Rr:Di).test(sd(U))}function qs(U){return"function"==typeof U?U:null==U?Pl:"object"==typeof U?ns(U)?wc(U[0],U[1]):dh(U):Jm(U)}function pu(U){if(!Md(U))return ps(U);var J=[];for(var ke in Ce(U))Ue.call(U,ke)&&"constructor"!=ke&&J.push(ke);return J}function hf(U,J){return U<J}function ch(U,J){var ke=-1,dt=Xl(U)?kr(U.length):[];return Ra(U,function(Gt,pn,Hn){dt[++ke]=J(Gt,pn,Hn)}),dt}function dh(U){var J=cc(U);return 1==J.length&&J[0][2]?Fh(J[0][0],J[0][1]):function(ke){return ke===U||ka(ke,U,J)}}function wc(U,J){return Eh(U)&&og(J)?Fh(Tu(U),J):function(ke){var dt=Bm(ke,U);return dt===o&&dt===J?Vg(ke,U):tu(J,dt,3)}}function zr(U,J,ke,dt,Gt){U!==J&&Ya(J,function(pn,Hn){if(Gt||(Gt=new Ae),Wa(pn))!function vs(U,J,ke,dt,Gt,pn,Hn){var er=id(U,ke),yr=id(J,ke),si=Hn.get(yr);if(si)Jr(U,ke,si);else{var ii=pn?pn(er,yr,ke+"",U,J,Hn):o,hi=ii===o;if(hi){var Hi=ns(yr),mo=!Hi&&ru(yr),Po=!Hi&&!mo&&Pc(yr);ii=yr,Hi||mo||Po?ns(er)?ii=er:al(er)?ii=_l(er):mo?(hi=!1,ii=kp(yr,!0)):Po?(hi=!1,ii=Jc(yr,!0)):ii=[]:Zd(yr)||ec(yr)?(ii=er,ec(er)?ii=km(er):(!Wa(er)||vu(er))&&(ii=_h(yr))):hi=!1}hi&&(Hn.set(yr,ii),Gt(ii,yr,dt,pn,Hn),Hn.delete(yr)),Jr(U,ke,ii)}}(U,J,Hn,ke,zr,dt,Gt);else{var er=dt?dt(id(U,Hn),pn,Hn+"",U,J,Gt):o;er===o&&(er=pn),Jr(U,Hn,er)}},Jl)}function Kc(U,J){var ke=U.length;if(ke)return Xu(J+=J<0?ke:0,ke)?U[J]:o}function Dd(U,J,ke){J=J.length?wo(J,function(pn){return ns(pn)?function(Hn){return Ua(Hn,1===pn.length?pn[0]:pn)}:pn}):[Pl];var dt=-1;return J=wo(J,Xo(Io())),function sn(Nn,xr){var kr=Nn.length;for(Nn.sort(xr);kr--;)Nn[kr]=Nn[kr].value;return Nn}(ch(U,function(pn,Hn,er){return{criteria:wo(J,function(si){return si(pn)}),index:++dt,value:pn}}),function(pn,Hn){return function Z0(U,J,ke){for(var dt=-1,Gt=U.criteria,pn=J.criteria,Hn=Gt.length,er=ke.length;++dt<Hn;){var yr=Fu(Gt[dt],pn[dt]);if(yr)return dt>=er?yr:yr*("desc"==ke[dt]?-1:1)}return U.index-J.index}(pn,Hn,ke)})}function Tc(U,J,ke){for(var dt=-1,Gt=J.length,pn={};++dt<Gt;){var Hn=J[dt],er=Ua(U,Hn);ke(er,Hn)&&Vn(pn,Na(Hn,U),er)}return pn}function yl(U,J,ke,dt){var Gt=dt?aa:Ls,pn=-1,Hn=J.length,er=U;for(U===J&&(J=_l(J)),ke&&(er=wo(U,Xo(ke)));++pn<Hn;)for(var yr=0,si=J[pn],ii=ke?ke(si):si;(yr=Gt(er,ii,yr,dt))>-1;)er!==U&&_i.call(er,yr,1),_i.call(U,yr,1);return U}function Xc(U,J){for(var ke=U?J.length:0,dt=ke-1;ke--;){var Gt=J[ke];if(ke==dt||Gt!==pn){var pn=Gt;Xu(Gt)?_i.call(U,Gt,1):Qo(U,Gt)}}return U}function Se(U,J){return U+co(Ds()*(J-U+1))}function Xe(U,J){var ke="";if(!U||J<1||J>re)return ke;do{J%2&&(ke+=U),(J=co(J/2))&&(U+=U)}while(J);return ke}function pt(U,J){return Ic(sg(U,J,Pl),U+"")}function $t(U){return Mn(Lc(U))}function un(U,J){var ke=Lc(U);return Sh(ke,ks(J,0,ke.length))}function Vn(U,J,ke,dt){if(!Wa(U))return U;for(var Gt=-1,pn=(J=Na(J,U)).length,Hn=pn-1,er=U;null!=er&&++Gt<pn;){var yr=Tu(J[Gt]),si=ke;if("__proto__"===yr||"constructor"===yr||"prototype"===yr)return U;if(Gt!=Hn){var ii=er[yr];(si=dt?dt(ii,yr,er):o)===o&&(si=Wa(ii)?ii:Xu(J[Gt+1])?[]:{})}Ni(er,yr,si),er=er[yr]}return U}var rr=ho?function(U,J){return ho.set(U,J),U}:Pl,mr=nt?function(U,J){return nt(U,"toString",{configurable:!0,enumerable:!1,value:Wf(J),writable:!0})}:Pl;function Ur(U){return Sh(Lc(U))}function Sr(U,J,ke){var dt=-1,Gt=U.length;J<0&&(J=-J>Gt?0:Gt+J),(ke=ke>Gt?Gt:ke)<0&&(ke+=Gt),Gt=J>ke?0:ke-J>>>0,J>>>=0;for(var pn=kr(Gt);++dt<Gt;)pn[dt]=U[dt+J];return pn}function Oi(U,J){var ke;return Ra(U,function(dt,Gt,pn){return!(ke=J(dt,Gt,pn))}),!!ke}function qi(U,J,ke){var dt=0,Gt=null==U?dt:U.length;if("number"==typeof J&&J==J&&Gt<=2147483647){for(;dt<Gt;){var pn=dt+Gt>>>1,Hn=U[pn];null!==Hn&&!Ql(Hn)&&(ke?Hn<=J:Hn<J)?dt=pn+1:Gt=pn}return Gt}return oo(U,J,Pl,ke)}function oo(U,J,ke,dt){var Gt=0,pn=null==U?0:U.length;if(0===pn)return 0;for(var Hn=(J=ke(J))!=J,er=null===J,yr=Ql(J),si=J===o;Gt<pn;){var ii=co((Gt+pn)/2),hi=ke(U[ii]),Hi=hi!==o,mo=null===hi,Po=hi==hi,ys=Ql(hi);if(Hn)var go=dt||Po;else go=si?Po&&(dt||Hi):er?Po&&Hi&&(dt||!mo):yr?Po&&Hi&&!mo&&(dt||!ys):!mo&&!ys&&(dt?hi<=J:hi<J);go?Gt=ii+1:pn=ii}return bo(pn,4294967294)}function po(U,J){for(var ke=-1,dt=U.length,Gt=0,pn=[];++ke<dt;){var Hn=U[ke],er=J?J(Hn):Hn;if(!ke||!Xs(er,yr)){var yr=er;pn[Gt++]=0===Hn?0:Hn}}return pn}function Wo(U){return"number"==typeof U?U:Ql(U)?X:+U}function Fo(U){if("string"==typeof U)return U;if(ns(U))return wo(U,Fo)+"";if(Ql(U))return Gu?Gu.call(U):"";var J=U+"";return"0"==J&&1/U==-me?"-0":J}function Ko(U,J,ke){var dt=-1,Gt=ua,pn=U.length,Hn=!0,er=[],yr=er;if(ke)Hn=!1,Gt=ta;else if(pn>=200){var si=J?null:tg(U);if(si)return _a(si);Hn=!1,Gt=Js,yr=new Wi}else yr=J?[]:er;e:for(;++dt<pn;){var ii=U[dt],hi=J?J(ii):ii;if(ii=ke||0!==ii?ii:0,Hn&&hi==hi){for(var Hi=yr.length;Hi--;)if(yr[Hi]===hi)continue e;J&&yr.push(hi),er.push(ii)}else Gt(yr,hi,ke)||(yr!==er&&yr.push(hi),er.push(ii))}return er}function Qo(U,J){return null==(U=Dc(U,J=Na(J,U)))||delete U[Tu(fa(J))]}function cl(U,J,ke,dt){return Vn(U,J,ke(Ua(U,J)),dt)}function $a(U,J,ke,dt){for(var Gt=U.length,pn=dt?Gt:-1;(dt?pn--:++pn<Gt)&&J(U[pn],pn,U););return ke?Sr(U,dt?0:pn,dt?pn+1:Gt):Sr(U,dt?pn+1:0,dt?Gt:pn)}function Cu(U,J){var ke=U;return ke instanceof _e&&(ke=ke.value()),Us(J,function(dt,Gt){return Gt.func.apply(Gt.thisArg,Ia([dt],Gt.args))},ke)}function Wl(U,J,ke){var dt=U.length;if(dt<2)return dt?Ko(U[0]):[];for(var Gt=-1,pn=kr(dt);++Gt<dt;)for(var Hn=U[Gt],er=-1;++er<dt;)er!=Gt&&(pn[Gt]=Zl(pn[Gt]||Hn,U[er],J,ke));return Ko(zi(pn,1),J,ke)}function Ku(U,J,ke){for(var dt=-1,Gt=U.length,pn=J.length,Hn={};++dt<Gt;)ke(Hn,U[dt],dt<pn?J[dt]:o);return Hn}function Yc(U){return al(U)?U:[]}function Qc(U){return"function"==typeof U?U:Pl}function Na(U,J){return ns(U)?U:Eh(U,J)?[U]:lg(Ys(U))}var sc=pt;function Hs(U,J,ke){var dt=U.length;return ke=ke===o?dt:ke,!J&&ke>=dt?U:Sr(U,J,ke)}var fh=Qt||function(U){return Or.clearTimeout(U)};function kp(U,J){if(J)return U.slice();var ke=U.length,dt=qn?qn(ke):new U.constructor(ke);return U.copy(dt),dt}function pf(U){var J=new U.constructor(U.byteLength);return new jr(J).set(new jr(U)),J}function Jc(U,J){var ke=J?pf(U.buffer):U.buffer;return new U.constructor(ke,U.byteOffset,U.length)}function Fu(U,J){if(U!==J){var ke=U!==o,dt=null===U,Gt=U==U,pn=Ql(U),Hn=J!==o,er=null===J,yr=J==J,si=Ql(J);if(!er&&!si&&!pn&&U>J||pn&&Hn&&yr&&!er&&!si||dt&&Hn&&yr||!ke&&yr||!Gt)return 1;if(!dt&&!pn&&!si&&U<J||si&&ke&&Gt&&!dt&&!pn||er&&ke&&Gt||!Hn&&Gt||!yr)return-1}return 0}function Id(U,J,ke,dt){for(var Gt=-1,pn=U.length,Hn=ke.length,er=-1,yr=J.length,si=Ho(pn-Hn,0),ii=kr(yr+si),hi=!dt;++er<yr;)ii[er]=J[er];for(;++Gt<Hn;)(hi||Gt<pn)&&(ii[ke[Gt]]=U[Gt]);for(;si--;)ii[er++]=U[Gt++];return ii}function Rd(U,J,ke,dt){for(var Gt=-1,pn=U.length,Hn=-1,er=ke.length,yr=-1,si=J.length,ii=Ho(pn-er,0),hi=kr(ii+si),Hi=!dt;++Gt<ii;)hi[Gt]=U[Gt];for(var mo=Gt;++yr<si;)hi[mo+yr]=J[yr];for(;++Hn<er;)(Hi||Gt<pn)&&(hi[mo+ke[Hn]]=U[Gt++]);return hi}function _l(U,J){var ke=-1,dt=U.length;for(J||(J=kr(dt));++ke<dt;)J[ke]=U[ke];return J}function mu(U,J,ke,dt){var Gt=!ke;ke||(ke={});for(var pn=-1,Hn=J.length;++pn<Hn;){var er=J[pn],yr=dt?dt(ke[er],U[er],er,ke,U):o;yr===o&&(yr=U[er]),Gt?Rs(ke,er,yr):Ni(ke,er,yr)}return ke}function mf(U,J){return function(ke,dt){var Gt=ns(ke)?ma:Ao,pn=J?J():{};return Gt(ke,U,Io(dt,2),pn)}}function Su(U){return pt(function(J,ke){var dt=-1,Gt=ke.length,pn=Gt>1?ke[Gt-1]:o,Hn=Gt>2?ke[2]:o;for(pn=U.length>3&&"function"==typeof pn?(Gt--,pn):o,Hn&&jl(ke[0],ke[1],Hn)&&(pn=Gt<3?o:pn,Gt=1),J=Ce(J);++dt<Gt;){var er=ke[dt];er&&U(J,er,dt,pn)}return J})}function Zc(U,J){return function(ke,dt){if(null==ke)return ke;if(!Xl(ke))return U(ke,dt);for(var Gt=ke.length,pn=J?Gt:-1,Hn=Ce(ke);(J?pn--:++pn<Gt)&&!1!==dt(Hn[pn],pn,Hn););return ke}}function Mp(U){return function(J,ke,dt){for(var Gt=-1,pn=Ce(J),Hn=dt(J),er=Hn.length;er--;){var yr=Hn[U?er:++Gt];if(!1===ke(pn[yr],yr,pn))break}return J}}function Lp(U){return function(J){var ke=Ma(J=Ys(J))?hs(J):o,dt=ke?ke[0]:J.charAt(0),Gt=ke?Hs(ke,1).join(""):J.slice(1);return dt[U]()+Gt}}function Ac(U){return function(J){return Us(Xm(nf(J).replace(Ne,"")),U,"")}}function ed(U){return function(){var J=arguments;switch(J.length){case 0:return new U;case 1:return new U(J[0]);case 2:return new U(J[0],J[1]);case 3:return new U(J[0],J[1],J[2]);case 4:return new U(J[0],J[1],J[2],J[3]);case 5:return new U(J[0],J[1],J[2],J[3],J[4]);case 6:return new U(J[0],J[1],J[2],J[3],J[4],J[5]);case 7:return new U(J[0],J[1],J[2],J[3],J[4],J[5],J[6])}var ke=pe(U.prototype),dt=U.apply(ke,J);return Wa(dt)?dt:ke}}function eg(U){return function(J,ke,dt){var Gt=Ce(J);if(!Xl(J)){var pn=Io(ke,3);J=El(J),ke=function(er){return pn(Gt[er],er,Gt)}}var Hn=U(J,ke,dt);return Hn>-1?Gt[pn?J[Hn]:Hn]:o}}function gf(U){return Pu(function(J){var ke=J.length,dt=ke,Gt=se.prototype.thru;for(U&&J.reverse();dt--;){var pn=J[dt];if("function"!=typeof pn)throw new tt(T);
vendor: 5,030 bytes, line 1
1if(Gt&&!Hn&&"wrapper"==xu(pn))var Hn=new se([],!0)}for(dt=Hn?dt:ke;++dt<ke;){var er=xu(pn=J[dt]),yr="wrapper"==er?nd(pn):o;Hn=yr&&Ch(yr[0])&&424==yr[1]&&!yr[4].length&&1==yr[9]?Hn[xu(yr[0])].apply(Hn,yr[3]):1==pn.length&&Ch(pn)?Hn[er]():Hn.thru(pn)}return function(){var si=arguments,ii=si[0];if(Hn&&1==si.length&&ns(ii))return Hn.plant(ii).value();for(var hi=0,Hi=ke?J[hi].apply(this,si):ii;++hi<ke;)Hi=J[hi].call(this,Hi);return Hi}})}function ac(U,J,ke,dt,Gt,pn,Hn,er,yr,si){var ii=J&x,hi=1&J,Hi=2&J,mo=24&J,Po=512&J,ys=Hi?o:ed(U);return function go(){for(var Ss=arguments.length,Ms=kr(Ss),lu=Ss;lu--;)Ms[lu]=arguments[lu];if(mo)var xl=rd(go),uu=function Zo(Nn,xr){for(var kr=Nn.length,Ii=0;kr--;)Nn[kr]===xr&&++Ii;return Ii}(Ms,xl);if(dt&&(Ms=Id(Ms,dt,Gt,mo)),pn&&(Ms=Rd(Ms,pn,Hn,mo)),Ss-=uu,mo&&Ss<si){var Oa=Zs(Ms,xl);return jp(U,J,ac,go.placeholder,ke,Ms,Oa,er,yr,si-Ss)}var cu=hi?ke:this,Hl=Hi?cu[U]:U;return Ss=Ms.length,er?Ms=function Kl(U,J){for(var ke=U.length,dt=bo(J.length,ke),Gt=_l(U);dt--;){var pn=J[dt];U[dt]=Xu(pn,ke)?Gt[pn]:o}return U}(Ms,er):Po&&Ss>1&&Ms.reverse(),ii&&yr<Ss&&(Ms.length=yr),this&&this!==Or&&this instanceof go&&(Hl=ys||ed(Hl)),Hl.apply(cu,Ms)}}function Bp(U,J){return function(ke,dt){return function Wu(U,J,ke,dt){return gs(U,function(Gt,pn,Hn){J(dt,ke(Gt),pn,Hn)}),dt}(ke,U,J(dt),{})}}function qu(U,J){return function(ke,dt){var Gt;if(ke===o&&dt===o)return J;if(ke!==o&&(Gt=ke),dt!==o){if(Gt===o)return dt;"string"==typeof ke||"string"==typeof dt?(ke=Fo(ke),dt=Fo(dt)):(ke=Wo(ke),dt=Wo(dt)),Gt=U(ke,dt)}return Gt}}function td(U){return Pu(function(J){return J=wo(J,Xo(Io())),pt(function(ke){var dt=this;return U(J,function(Gt){return No(Gt,dt,ke)})})})}function lc(U,J){var ke=(J=J===o?" ":Fo(J)).length;if(ke<2)return ke?Xe(J,U):J;var dt=Xe(J,ei(U/is(J)));return Ma(J)?Hs(hs(dt),0,U).join(""):dt.slice(0,U)}function mh(U){return function(J,ke,dt){return dt&&"number"!=typeof dt&&jl(J,ke,dt)&&(ke=dt=o),J=Bu(J),ke===o?(ke=J,J=0):ke=Bu(ke),function Ie(U,J,ke,dt){for(var Gt=-1,pn=Ho(ei((J-U)/(ke||1)),0),Hn=kr(pn);pn--;)Hn[dt?pn:++Gt]=U,U+=ke;return Hn}(J,ke,dt=dt===o?J<ke?1:-1:Bu(dt),U)}}function kd(U){return function(J,ke){return"string"==typeof J&&"string"==typeof ke||(J=Au(J),ke=Au(ke)),U(J,ke)}}function jp(U,J,ke,dt,Gt,pn,Hn,er,yr,si){var ii=8&J;J|=ii?z:64,4&(J&=~(ii?64:z))||(J&=-4);var ys=[U,J,Gt,ii?pn:o,ii?Hn:o,ii?o:pn,ii?o:Hn,er,yr,si],go=ke.apply(o,ys);return Ch(U)&&dc(go,ys),go.placeholder=dt,Yu(go,U,J)}function bl(U){var J=Es[U];return function(ke,dt){if(ke=Au(ke),(dt=null==dt?0:bo(ss(dt),292))&&ao(ke)){var Gt=(Ys(ke)+"e").split("e");return+((Gt=(Ys(J(Gt[0]+"e"+(+Gt[1]+dt)))+"e").split("e"))[0]+"e"+(+Gt[1]-dt))}return J(ke)}}var tg=Is&&1/_a(new Is([,-0]))[1]==me?function(U){return new Is(U)}:lp;function Nd(U){return function(J){var ke=ml(J);return ke==St?kl(J):ke==Vt?function Ga(Nn){var xr=-1,kr=Array(Nn.size);return Nn.forEach(function(Ii){kr[++xr]=[Ii,Ii]}),kr}(J):function Ns(Nn,xr){return wo(xr,function(kr){return[kr,Nn[kr]]})}(J,U(J))}}function wu(U,J,ke,dt,Gt,pn,Hn,er){var yr=2&J;if(!yr&&"function"!=typeof U)throw new tt(T);var si=dt?dt.length:0;if(si||(J&=-97,dt=Gt=o),Hn=Hn===o?Hn:Ho(ss(Hn),0),er=er===o?er:ss(er),si-=Gt?Gt.length:0,64&J){var ii=dt,hi=Gt;dt=Gt=o}var Hi=yr?o:nd(U),mo=[U,J,ke,dt,Gt,ii,hi,pn,Hn,er];if(Hi&&function nu(U,J){var ke=U[1],dt=J[1],Gt=ke|dt;if(!(Gt<131)&&!(dt==x&&8==ke||dt==x&&256==ke&&U[7].length<=J[8]||384==dt&&J[7].length<=J[8]&&8==ke))return U;1&dt&&(U[2]=J[2],Gt|=1&ke?0:4);var er=J[3];if(er){var yr=U[3];U[3]=yr?Id(yr,er,J[4]):er,U[4]=yr?Zs(U[3],v):J[4]}(er=J[5])&&(U[5]=(yr=U[5])?Rd(yr,er,J[6]):er,U[6]=yr?Zs(U[5],v):J[6]),(er=J[7])&&(U[7]=er),dt&x&&(U[8]=null==U[8]?J[8]:bo(U[8],J[8])),null==U[9]&&(U[9]=J[9]),U[0]=J[0],U[1]=Gt}(mo,Hi),U=mo[0],J=mo[1],ke=mo[2],dt=mo[3],Gt=mo[4],!(er=mo[9]=mo[9]===o?yr?0:U.length:Ho(mo[9]-si,0))&&24&J&&(J&=-25),J&&1!=J)Po=8==J||16==J?function o1(U,J,ke){var dt=ed(U);return function Gt(){for(var pn=arguments.length,Hn=kr(pn),er=pn,yr=rd(Gt);er--;)Hn[er]=arguments[er];var si=pn<3&&Hn[0]!==yr&&Hn[pn-1]!==yr?[]:Zs(Hn,yr);return(pn-=si.length)<ke?jp(U,J,ac,Gt.placeholder,o,Hn,si,o,o,ke-pn):No(this&&this!==Or&&this instanceof Gt?dt:U,this,Hn)}}(U,J,er):J!=z&&33!=J||Gt.length?ac.apply(o,mo):function s1(U,J,ke,dt){var Gt=1&J,pn=ed(U);return function Hn(){for(var er=-1,yr=arguments.length,si=-1,ii=dt.length,hi=kr(ii+yr),Hi=this&&this!==Or&&this instanceof Hn?pn:U;++si<ii;)hi[si]=dt[si];for(;yr--;)hi[si++]=arguments[++er];return No(Hi,Gt?ke:this,hi)}}(U,J,ke,dt);else var Po=function ph(U,J,ke){var dt=1&J,Gt=ed(U);return function pn(){return(this&&this!==Or&&this instanceof pn?Gt:U).apply(dt?ke:this,arguments)}}(U,J,ke);return Yu((Hi?rr:dc)(Po,mo),U,J)}function vf(U,J,ke,dt){return U===o||Xs(U,W[ke])&&!Ue.call(dt,ke)?J:U}function Od(U,J,ke,dt,Gt,pn){return Wa(U)&&Wa(J)&&(pn.set(J,U),zr(U,J,o,Od,pn),pn.delete(J)),U}function uc(U){return Zd(U)?o:U}function Up(U,J,ke,dt,Gt,pn){var Hn=1&ke,er=U.length,yr=J.length;if(er!=yr&&!(Hn&&yr>er))return!1;var si=pn.get(U),ii=pn.get(J);
vendor: 4,903 bytes, line 1
1if(si&&ii)return si==J&&ii==U;var hi=-1,Hi=!0,mo=2&ke?new Wi:o;for(pn.set(U,J),pn.set(J,U);++hi<er;){var Po=U[hi],ys=J[hi];if(dt)var go=Hn?dt(ys,Po,hi,J,U,pn):dt(Po,ys,hi,U,J,pn);if(go!==o){if(go)continue;Hi=!1;break}if(mo){if(!Pa(J,function(Ss,Ms){if(!Js(mo,Ms)&&(Po===Ss||Gt(Po,Ss,ke,dt,pn)))return mo.push(Ms)})){Hi=!1;break}}else if(Po!==ys&&!Gt(Po,ys,ke,dt,pn)){Hi=!1;break}}return pn.delete(U),pn.delete(J),Hi}function Pu(U){return Ic(sg(U,o,ld),U+"")}function yf(U){return Ks(U,El,vh)}function gh(U){return Ks(U,Jl,yh)}var nd=ho?function(U){return ho.get(U)}:lp;function xu(U){for(var J=U.name+"",ke=ul[J],dt=Ue.call(ul,J)?ke.length:0;dt--;){var Gt=ke[dt],pn=Gt.func;if(null==pn||pn==U)return Gt.name}return J}function rd(U){return(Ue.call(le,"placeholder")?le:U).placeholder}function Io(){var U=le.iteratee||Bc;return U=U===Bc?qs:U,arguments.length?U(arguments[0],arguments[1]):U}function Pd(U,J){var ke=U.__data__;return function $p(U){var J=typeof U;return"string"==J||"number"==J||"symbol"==J||"boolean"==J?"__proto__"!==U:null===U}(J)?ke["string"==typeof J?"string":"hash"]:ke.map}function cc(U){for(var J=El(U),ke=J.length;ke--;){var dt=J[ke],Gt=U[dt];J[ke]=[dt,Gt,og(Gt)]}return J}function gu(U,J){var ke=function tl(Nn,xr){return null==Nn?o:Nn[xr]}(U,J);return ol(ke)?ke:o}var vh=so?function(U){return null==U?[]:(U=Ce(U),Uo(so(U),function(J){return Ti.call(U,J)}))}:nc,yh=so?function(U){for(var J=[];U;)Ia(J,vh(U)),U=Mr(U);return J}:nc,ml=il;function xd(U,J,ke){for(var dt=-1,Gt=(J=Na(J,U)).length,pn=!1;++dt<Gt;){var Hn=Tu(J[dt]);if(!(pn=null!=U&&ke(U,Hn)))break;U=U[Hn]}return pn||++dt!=Gt?pn:!!(Gt=null==U?0:U.length)&&Tm(Gt)&&Xu(Hn,Gt)&&(ns(U)||ec(U))}function _h(U){return"function"!=typeof U.constructor||Md(U)?{}:pe(Mr(U))}function zp(U){return ns(U)||ec(U)||!!(Le&&U&&U[Le])}function Xu(U,J){var ke=typeof U;return!!(J=null==J?re:J)&&("number"==ke||"symbol"!=ke&&to.test(U))&&U>-1&&U%1==0&&U<J}function jl(U,J,ke){if(!Wa(ke))return!1;var dt=typeof J;return!!("number"==dt?Xl(ke)&&Xu(J,ke.length):"string"==dt&&J in ke)&&Xs(ke[J],U)}function Eh(U,J){if(ns(U))return!1;var ke=typeof U;return!("number"!=ke&&"symbol"!=ke&&"boolean"!=ke&&null!=U&&!Ql(U))||En.test(U)||!dr.test(U)||null!=J&&U in Ce(J)}function Ch(U){var J=xu(U),ke=le[J];if("function"!=typeof ke||!(J in _e.prototype))return!1;if(U===ke)return!0;var dt=nd(ke);return!!dt&&U===dt[0]}(Ro&&ml(new Ro(new ArrayBuffer(1)))!=br||Bs&&ml(new Bs)!=St||ll&&ml(ll.resolve())!=rt||Is&&ml(new Is)!=Vt||Ws&&ml(new Ws)!=An)&&(ml=function(U){var J=il(U),ke=J==Ft?U.constructor:o,dt=ke?sd(ke):"";if(dt)switch(dt){case ic:return br;case hu:return St;case Cs:return rt;case _u:return Vt;case Ca:return An}return J});var ig=oe?vu:lf;function Md(U){var J=U&&U.constructor;return U===("function"==typeof J&&J.prototype||W)}function og(U){return U==U&&!Wa(U)}function Fh(U,J){return function(ke){return null!=ke&&ke[U]===J&&(J!==o||U in Ce(ke))}}function sg(U,J,ke){return J=Ho(J===o?U.length-1:J,0),function(){for(var dt=arguments,Gt=-1,pn=Ho(dt.length-J,0),Hn=kr(pn);++Gt<pn;)Hn[Gt]=dt[J+Gt];Gt=-1;for(var er=kr(J+1);++Gt<J;)er[Gt]=dt[Gt];return er[J]=ke(Hn),No(U,this,er)}}function Dc(U,J){return J.length<2?U:Ua(U,Sr(J,0,-1))}function id(U,J){if(("constructor"!==J||"function"!=typeof U[J])&&"__proto__"!=J)return U[J]}var dc=ag(rr),od=vr||function(U,J){return Or.setTimeout(U,J)},Ic=ag(mr);function Yu(U,J,ke){var dt=J+"";return Ic(U,function _f(U,J){var ke=J.length;if(!ke)return U;var dt=ke-1;return J[dt]=(ke>1?"& ":"")+J[dt],J=J.join(ke>2?", ":" "),U.replace(nr,"{\n/* [wrapped with "+J+"] */\n")}(dt,function ug(U,J){return us(ue,function(ke){var dt="_."+ke[0];J&ke[1]&&!ua(U,dt)&&U.push(dt)}),U.sort()}(function Gp(U){var J=U.match(fn);return J?J[1].split(fr):[]}(dt),ke)))}function ag(U){var J=0,ke=0;return function(){var dt=ri(),Gt=16-(dt-ke);if(ke=dt,Gt>0){if(++J>=800)return arguments[0]}else J=0;return U.apply(o,arguments)}}function Sh(U,J){var ke=-1,dt=U.length,Gt=dt-1;for(J=J===o?dt:J;++ke<J;){var pn=Se(ke,Gt),Hn=U[pn];U[pn]=U[ke],U[ke]=Hn}return U.length=J,U}var lg=function Kp(U){var J=vd(U,function(dt){return 500===ke.size&&ke.clear(),dt}),ke=J.cache;return J}(function(U){var J=[];return 46===U.charCodeAt(0)&&J.push(""),U.replace(tn,function(ke,dt,Gt,pn){J.push(Gt?pn.replace(ni,"$1"):dt||ke)}),J});function Tu(U){if("string"==typeof U||Ql(U))return U;var J=U+"";return"0"==J&&1/U==-me?"-0":J}function sd(U){if(null!=U){try{return be.call(U)}catch{}try{return U+""}catch{}}return""}function Rc(U){if(U instanceof _e)return U.clone();var J=new se(U.__wrapped__,U.__chain__);return J.__actions__=_l(U.__actions__),J.__index__=U.__index__,J.__values__=U.__values__,J}var Th=pt(function(U,J){return al(U)?Zl(U,zi(J,1,al,!0)):[]}),Mu=pt(function(U,J){var ke=fa(J);return al(ke)&&(ke=o),al(U)?Zl(U,zi(J,1,al,!0),Io(ke,2)):[]}),cg=pt(function(U,J){var ke=fa(J);return al(ke)&&(ke=o),al(U)?Zl(U,zi(J,1,al,!0),o,ke):[]});
vendor: 8,746 bytes, line 1
1function jd(U,J,ke){var dt=null==U?0:U.length;if(!dt)return-1;var Gt=null==ke?0:ss(ke);return Gt<0&&(Gt=Ho(dt+Gt,0)),sa(U,Io(J,3),Gt)}function Ud(U,J,ke){var dt=null==U?0:U.length;if(!dt)return-1;var Gt=dt-1;return ke!==o&&(Gt=ss(ke),Gt=ke<0?Ho(dt+Gt,0):bo(Gt,dt-1)),sa(U,Io(J,3),Gt,!0)}function ld(U){return null!=U&&U.length?zi(U,1):[]}function Hd(U){return U&&U.length?U[0]:o}var gl=pt(function(U){var J=wo(U,Yc);return J.length&&J[0]===U[0]?ku(J):[]}),fc=pt(function(U){var J=fa(U),ke=wo(U,Yc);return J===fa(ke)?J=o:ke.pop(),ke.length&&ke[0]===U[0]?ku(ke,Io(J,2)):[]}),Jp=pt(function(U){var J=fa(U),ke=wo(U,Yc);return(J="function"==typeof J?J:o)&&ke.pop(),ke.length&&ke[0]===U[0]?ku(ke,o,J):[]});function fa(U){var J=null==U?0:U.length;return J?U[J-1]:o}var em=pt(tm);function tm(U,J){return U&&U.length&&J&&J.length?yl(U,J):U}var bf=Pu(function(U,J){var ke=null==U?0:U.length,dt=Fa(U,J);return Xc(U,wo(J,function(Gt){return Xu(Gt,ke)?+Gt:Gt}).sort(Fu)),dt});function Ef(U){return null==U?U:na.call(U)}var um=pt(function(U){return Ko(zi(U,1,al,!0))}),Ff=pt(function(U){var J=fa(U);return al(J)&&(J=o),Ko(zi(U,1,al,!0),Io(J,2))}),cm=pt(function(U){var J=fa(U);return J="function"==typeof J?J:o,Ko(zi(U,1,al,!0),o,J)});function Sf(U){if(!U||!U.length)return[];var J=0;return U=Uo(U,function(ke){if(al(ke))return J=Ho(ke.length,J),!0}),wi(J,function(ke){return wo(U,ot(ke))})}function gg(U,J){if(!U||!U.length)return[];var ke=Sf(U);return null==J?ke:wo(ke,function(dt){return No(J,o,dt)})}var vg=pt(function(U,J){return al(U)?Zl(U,J):[]}),fm=pt(function(U){return Wl(Uo(U,al))}),Oh=pt(function(U){var J=fa(U);return al(J)&&(J=o),Wl(Uo(U,al),Io(J,2))}),hc=pt(function(U){var J=fa(U);return J="function"==typeof J?J:o,Wl(Uo(U,al),o,J)}),pc=pt(Sf),Wd=pt(function(U){var J=U.length,ke=J>1?U[J-1]:o;return ke="function"==typeof ke?(U.pop(),ke):o,gg(U,ke)});function Kd(U){var J=le(U);return J.__chain__=!0,J}function wf(U,J){return J(U)}var yg=Pu(function(U){var J=U.length,ke=J?U[0]:0,dt=this.__wrapped__,Gt=function(pn){return Fa(pn,U)};return!(J>1||this.__actions__.length)&&dt instanceof _e&&Xu(ke)?((dt=dt.slice(ke,+ke+(J?1:0))).__actions__.push({func:wf,args:[Gt],thisArg:o}),new se(dt,this.__chain__).thru(function(pn){return J&&!pn.length&&pn.push(o),pn})):this.thru(Gt)}),Lh=mf(function(U,J,ke){Ue.call(U,ke)?++U[ke]:Rs(U,ke,1)}),wa=eg(jd),dd=eg(Ud);function hd(U,J){return(ns(U)?us:Ra)(U,Io(J,3))}function pd(U,J){return(ns(U)?ia:Ri)(U,Io(J,3))}var Cg=mf(function(U,J,ke){Ue.call(U,ke)?U[ke].push(J):Rs(U,ke,[J])}),Xd=pt(function(U,J,ke){var dt=-1,Gt="function"==typeof J,pn=Xl(U)?kr(U.length):[];return Ra(U,function(Hn){pn[++dt]=Gt?No(J,Hn,ke):eu(Hn,J,ke)}),pn}),Fg=mf(function(U,J,ke){Rs(U,ke,J)});function md(U,J){return(ns(U)?wo:ch)(U,Io(J,3))}var wg=mf(function(U,J,ke){U[ke?0:1].push(J)},function(){return[[],[]]}),h1=pt(function(U,J){if(null==U)return[];var ke=J.length;return ke>1&&jl(U,J[0],J[1])?J=[]:ke>2&&jl(J[0],J[1],J[2])&&(J=[J[0]]),Dd(U,zi(J,1),[])}),Hh=Fn||function(){return Or.Date.now()};function gm(U,J,ke){return J=ke?o:J,wu(U,x,o,o,o,o,J=U&&null==J?U.length:J)}function Df(U,J){var ke;if("function"!=typeof J)throw new tt(T);return U=ss(U),function(){return--U>0&&(ke=J.apply(this,arguments)),U<=1&&(J=o),ke}}var gd=pt(function(U,J,ke){var dt=1;if(ke.length){var Gt=Zs(ke,rd(gd));dt|=z}return wu(U,dt,J,ke,Gt)}),Dg=pt(function(U,J,ke){var dt=3;if(ke.length){var Gt=Zs(ke,rd(Dg));dt|=z}return wu(J,dt,U,ke,Gt)});function Rf(U,J,ke){var dt,Gt,pn,Hn,er,yr,si=0,ii=!1,hi=!1,Hi=!0;if("function"!=typeof U)throw new tt(T);function mo(Oa){var cu=dt,Hl=Gt;return dt=Gt=o,si=Oa,Hn=U.apply(Hl,cu)}function go(Oa){var cu=Oa-yr;return yr===o||cu>=J||cu<0||hi&&Oa-si>=pn}function Ss(){var Oa=Hh();if(go(Oa))return Ms(Oa);er=od(Ss,function ys(Oa){var Xf=J-(Oa-yr);return hi?bo(Xf,pn-(Oa-si)):Xf}(Oa))}function Ms(Oa){return er=o,Hi&&dt?mo(Oa):(dt=Gt=o,Hn)}function uu(){var Oa=Hh(),cu=go(Oa);if(dt=arguments,Gt=this,yr=Oa,cu){if(er===o)return function Po(Oa){return si=Oa,er=od(Ss,J),ii?mo(Oa):Hn}(yr);if(hi)return fh(er),er=od(Ss,J),mo(yr)}return er===o&&(er=od(Ss,J)),Hn}return J=Au(J)||0,Wa(ke)&&(ii=!!ke.leading,pn=(hi="maxWait"in ke)?Ho(Au(ke.maxWait)||0,J):pn,Hi="trailing"in ke?!!ke.trailing:Hi),uu.cancel=function lu(){er!==o&&fh(er),si=0,dt=yr=Gt=er=o},uu.flush=function xl(){return er===o?Hn:Ms(Hh())},uu}var ql=pt(function(U,J){return Ll(U,1,J)}),kf=pt(function(U,J,ke){return Ll(U,Au(J)||0,ke)});function vd(U,J){if("function"!=typeof U||null!=J&&"function"!=typeof J)throw new tt(T);var ke=function(){var dt=arguments,Gt=J?J.apply(this,dt):dt[0],pn=ke.cache;if(pn.has(Gt))return pn.get(Gt);var Hn=U.apply(this,dt);return ke.cache=pn.set(Gt,Hn)||pn,Hn};return ke.cache=new(vd.Cache||Gi),ke}function Qu(U){if("function"!=typeof U)throw new tt(T);return function(){var J=arguments;switch(J.length){case 0:return!U.call(this);case 1:return!U.call(this,J[0]);case 2:return!U.call(this,J[0],J[1]);case 3:return!U.call(this,J[0],J[1],J[2])}return!U.apply(this,J)}}vd.Cache=Gi;var Jd=sc(function(U,J){var ke=(J=1==J.length&&ns(J[0])?wo(J[0],Xo(Io())):wo(zi(J,1),Xo(Io()))).length;return pt(function(dt){for(var Gt=-1,pn=bo(dt.length,ke);++Gt<pn;)dt[Gt]=J[Gt].call(this,dt[Gt]);return No(U,this,dt)})}),Ju=pt(function(U,J){var ke=Zs(J,rd(Ju));return wu(U,z,o,J,ke)}),Gh=pt(function(U,J){var ke=Zs(J,rd(Gh));return wu(U,64,o,J,ke)}),ym=Pu(function(U,J){return wu(U,256,o,o,o,J)});function Xs(U,J){return U===J||U!=U&&J!=J}var yd=kd(zu),v1=kd(function(U,J){return U>=J}),ec=bu(function(){return arguments}())?bu:function(U){return ra(U)&&Ue.call(U,"callee")&&!Ti.call(U,"callee")},ns=kr.isArray,Sm=yo?Xo(yo):function Eu(U){return ra(U)&&il(U)==or};function Xl(U){return null!=U&&Tm(U.length)&&!vu(U)}function al(U){return ra(U)&&Xl(U)}var ru=ro||lf,wm=Jo?Xo(Jo):function Nu(U){return ra(U)&&il(U)==at};function mc(U){if(!ra(U))return!1;var J=il(U);return J==At||"[object DOMException]"==J||"string"==typeof U.message&&"string"==typeof U.name&&!Zd(U)}function vu(U){if(!Wa(U))return!1;var J=il(U);return J==It||J==qt||"[object AsyncFunction]"==J||"[object Proxy]"==J}function Of(U){return"number"==typeof U&&U==ss(U)}function Tm(U){return"number"==typeof U&&U>-1&&U%1==0&&U<=re}function Wa(U){var J=typeof U;return null!=U&&("object"==J||"function"==J)}function ra(U){return null!=U&&"object"==typeof U}var Oc=xi?Xo(xi):function eo(U){return ra(U)&&ml(U)==St};function Pg(U){return"number"==typeof U||ra(U)&&il(U)==lt}function Zd(U){if(!ra(U)||il(U)!=Ft)return!1;var J=Mr(U);if(null===J)return!0;var ke=Ue.call(J,"constructor")&&J.constructor;return"function"==typeof ke&&ke instanceof ke&&be.call(ke)==xn}var Pf=as?Xo(as):function sl(U){return ra(U)&&il(U)==Mt},Im=Ts?Xo(Ts):function Ol(U){return ra(U)&&ml(U)==Vt};function Mf(U){return"string"==typeof U||!ns(U)&&ra(U)&&il(U)==Lt}function Ql(U){return"symbol"==typeof U||ra(U)&&il(U)==$n}var Pc=As?Xo(As):function Bl(U){return ra(U)&&Tm(U.length)&&!!Dn[il(U)]},xg=kd(hf),xc=kd(function(U,J){return U<=J});function Wh(U){if(!U)return[];if(Xl(U))return Mf(U)?hs(U):_l(U);if(it&&U[it])return function zl(Nn){for(var xr,kr=[];!(xr=Nn.next()).done;)kr.push(xr.value);return kr}(U[it]());var J=ml(U);return(J==St?kl:J==Vt?_a:Lc)(U)}function Bu(U){return U?(U=Au(U))===me||U===-me?17976931348623157e292*(U<0?-1:1):U==U?U:0:0===U?U:0}function ss(U){var J=Bu(U),ke=J%1;return J==J?ke?J-ke:J:0}function Lf(U){return U?ks(ss(U),0,M):0}function Au(U){if("number"==typeof U)return U;if(Ql(U))return X;if(Wa(U)){var J="function"==typeof U.valueOf?U.valueOf():U;U=Wa(J)?J+"":J}if("string"!=typeof U)return 0===U?U:+U;U=ca(U);var ke=Xi.test(U);return ke||lo.test(U)?Wn(U.slice(2),ke?2:8):$i.test(U)?X:+U}function km(U){return mu(U,Jl(U))}function Ys(U){return null==U?"":Fo(U)}var Om=Su(function(U,J){if(Md(J)||Xl(J))mu(J,El(J),U);else for(var ke in J)Ue.call(J,ke)&&Ni(U,ke,J[ke])}),Pm=Su(function(U,J){mu(J,Jl(J),U)}),Kh=Su(function(U,J,ke,dt){mu(J,Jl(J),U,dt)}),vc=Su(function(U,J,ke,dt){mu(J,El(J),U,dt)}),_1=Pu(Fa),Mg=pt(function(U,J){U=Ce(U);var ke=-1,dt=J.length,Gt=dt>2?J[2]:o;for(Gt&&jl(J[0],J[1],Gt)&&(dt=1);++ke<dt;)for(var pn=J[ke],Hn=Jl(pn),er=-1,yr=Hn.length;++er<yr;){var si=Hn[er],ii=U[si];(ii===o||Xs(ii,W[si])&&!Ue.call(U,si))&&(U[si]=pn[si])}return U}),Mm=pt(function(U){return U.push(o,Od),No(jm,o,U)});function Bm(U,J,ke){var dt=null==U?o:Ua(U,J);return dt===o?ke:dt}function Vg(U,J){return null!=U&&xd(U,J,Nl)}var Du=Bp(function(U,J,ke){null!=J&&"function"!=typeof J.toString&&(J=on.call(J)),U[J]=ke},Wf(Pl)),E1=Bp(function(U,J,ke){null!=J&&"function"!=typeof J.toString&&(J=on.call(J)),Ue.call(U,J)?U[J].push(ke):U[J]=[ke]},Io),C1=pt(eu);function El(U){return Xl(U)?Bt(U):pu(U)}function Jl(U){return Xl(U)?Bt(U,!0):function Wc(U){if(!Wa(U))return function a1(U){var J=[];
vendor: 21,490 bytes, line 1
1if(null!=U)for(var ke in Ce(U))J.push(ke);return J}(U);var J=Md(U),ke=[];for(var dt in U)"constructor"==dt&&(J||!Ue.call(U,dt))||ke.push(dt);return ke}(U)}var qh=Su(function(U,J,ke){zr(U,J,ke)}),jm=Su(function(U,J,ke,dt){zr(U,J,ke,dt)}),Um=Pu(function(U,J){var ke={};if(null==U)return ke;var dt=!1;J=wo(J,function(pn){return pn=Na(pn,U),dt||(dt=pn.length>1),pn}),mu(U,gh(U),ke),dt&&(ke=xs(ke,7,uc));for(var Gt=J.length;Gt--;)Qo(ke,J[Gt]);return ke}),ef=Pu(function(U,J){return null==U?{}:function ls(U,J){return Tc(U,J,function(ke,dt){return Vg(U,dt)})}(U,J)});function jf(U,J){if(null==U)return{};var ke=wo(gh(U),function(dt){return[dt]});return J=Io(J),Tc(U,ke,function(dt,Gt){return J(dt,Gt[0])})}var Xh=Nd(El),S1=Nd(Jl);function Lc(U){return null==U?[]:ga(U,El(U))}var Vm=Ac(function(U,J,ke){return J=J.toLowerCase(),U+(ke?yc(J):J)});function yc(U){return rp(Ys(U).toLowerCase())}function nf(U){return(U=Ys(U))&&U.replace(vo,fl).replace(Ge,"")}var Jh=Ac(function(U,J,ke){return U+(ke?"-":"")+J.toLowerCase()}),zm=Ac(function(U,J,ke){return U+(ke?" ":"")+J.toLowerCase()}),Zh=Lp("toLowerCase"),$m=Ac(function(U,J,ke){return U+(ke?"_":"")+J.toLowerCase()}),w1=Ac(function(U,J,ke){return U+(ke?" ":"")+rp(J)}),qm=Ac(function(U,J,ke){return U+(ke?" ":"")+J.toUpperCase()}),rp=Lp("toUpperCase");function Xm(U,J,ke){return U=Ys(U),(J=ke?o:J)===o?function Va(Nn){return Ut.test(Nn)}(U)?function Ea(Nn){return Nn.match(xe)||[]}(U):function xa(Nn){return Nn.match(lr)||[]}(U):U.match(J)||[]}var Cd=pt(function(U,J){try{return No(U,o,J)}catch(ke){return mc(ke)?ke:new fo(ke)}}),ip=Pu(function(U,J){return us(J,function(ke){ke=Tu(ke),Rs(U,ke,gd(U[ke],U))}),U});function Wf(U){return function(){return U}}var su=gf(),Ym=gf(!0);function Pl(U){return U}function Bc(U){return qs("function"==typeof U?U:xs(U,1))}var Yg=pt(function(U,J){return function(ke){return eu(ke,U,J)}}),Qg=pt(function(U,J){return function(ke){return eu(U,ke,J)}});function sp(U,J,ke){var dt=El(J),Gt=ea(J,dt);null==ke&&(!Wa(J)||!Gt.length&&dt.length)&&(ke=J,J=U,U=this,Gt=ea(J,El(J)));var pn=!(Wa(ke)&&"chain"in ke&&!ke.chain),Hn=vu(U);return us(Gt,function(er){var yr=J[er];U[er]=yr,Hn&&(U.prototype[er]=function(){var si=this.__chain__;if(pn||si){var ii=U(this.__wrapped__);return(ii.__actions__=_l(this.__actions__)).push({func:yr,args:arguments,thisArg:U}),ii.__chain__=si,ii}return yr.apply(U,Ia([this.value()],arguments))})}),U}function lp(){}var up=td(wo),Jg=td(oa),af=td(Pa);function Jm(U){return Eh(U)?ot(Tu(U)):function qc(U){return function(J){return Ua(J,U)}}(U)}var A1=mh(),Kf=mh(!0);function nc(){return[]}function lf(){return!1}var qf=qu(function(U,J){return U+J},0),D1=bl("ceil"),Zm=qu(function(U,J){return U/J},1),tv=bl("floor"),n0=qu(function(U,J){return U*J},1),sv=bl("round"),av=qu(function(U,J){return U-J},0);return le.after=function Yd(U,J){if("function"!=typeof J)throw new tt(T);return U=ss(U),function(){if(--U<1)return J.apply(this,arguments)}},le.ary=gm,le.assign=Om,le.assignIn=Pm,le.assignInWith=Kh,le.assignWith=vc,le.at=_1,le.before=Df,le.bind=gd,le.bindAll=ip,le.bindKey=Dg,le.castArray=function Nc(){if(!arguments.length)return[];var U=arguments[0];return ns(U)?U:[U]},le.chain=Kd,le.chunk=function Ld(U,J,ke){J=(ke?jl(U,J,ke):J===o)?1:Ho(ss(J),0);var dt=null==U?0:U.length;if(!dt||J<1)return[];for(var Gt=0,pn=0,Hn=kr(ei(dt/J));Gt<dt;)Hn[pn++]=Sr(U,Gt,Gt+=J);return Hn},le.compact=function wh(U){for(var J=-1,ke=null==U?0:U.length,dt=0,Gt=[];++J<ke;){var pn=U[J];pn&&(Gt[dt++]=pn)}return Gt},le.concat=function ad(){var U=arguments.length;if(!U)return[];for(var J=kr(U-1),ke=arguments[0],dt=U;dt--;)J[dt-1]=arguments[dt];return Ia(ns(ke)?_l(ke):[ke],zi(J,1))},le.cond=function zf(U){var J=null==U?0:U.length,ke=Io();return U=J?wo(U,function(dt){if("function"!=typeof dt[1])throw new tt(T);return[ke(dt[0]),dt[1]]}):[],pt(function(dt){for(var Gt=-1;++Gt<J;){var pn=U[Gt];if(No(pn[0],this,dt))return No(pn[1],this,dt)}})},le.conforms=function $f(U){return function Sa(U){var J=El(U);return function(ke){return rl(ke,U,J)}}(xs(U,1))},le.constant=Wf,le.countBy=Lh,le.create=function xm(U,J){var ke=pe(U);return null==J?ke:Lo(ke,J)},le.curry=function vm(U,J,ke){var dt=wu(U,8,o,o,o,o,o,J=ke?o:J);return dt.placeholder=vm.placeholder,dt},le.curryRight=function If(U,J,ke){var dt=wu(U,16,o,o,o,o,o,J=ke?o:J);return dt.placeholder=If.placeholder,dt},le.debounce=Rf,le.defaults=Mg,le.defaultsDeep=Mm,le.defer=ql,le.delay=kf,le.difference=Th,le.differenceBy=Mu,le.differenceWith=cg,le.drop=function Ah(U,J,ke){var dt=null==U?0:U.length;return dt?Sr(U,(J=ke||J===o?1:ss(J))<0?0:J,dt):[]},le.dropRight=function Bd(U,J,ke){var dt=null==U?0:U.length;return dt?Sr(U,0,(J=dt-(J=ke||J===o?1:ss(J)))<0?0:J):[]},le.dropRightWhile=function dg(U,J){return U&&U.length?$a(U,Io(J,3),!0,!0):[]},le.dropWhile=function Xp(U,J){return U&&U.length?$a(U,Io(J,3),!0):[]},le.fill=function Yp(U,J,ke,dt){var Gt=null==U?0:U.length;return Gt?(ke&&"number"!=typeof ke&&jl(U,J,ke)&&(ke=0,dt=Gt),function ts(U,J,ke,dt){var Gt=U.length;for((ke=ss(ke))<0&&(ke=-ke>Gt?0:Gt+ke),(dt=dt===o||dt>Gt?Gt:ss(dt))<0&&(dt+=Gt),dt=ke>dt?0:Lf(dt);ke<dt;)U[ke++]=J;return U}(U,J,ke,dt)):[]},le.filter=function qd(U,J){return(ns(U)?Uo:js)(U,Io(J,3))},le.flatMap=function Ta(U,J){return zi(md(U,J),1)},le.flatMapDeep=function fd(U,J){return zi(md(U,J),me)},le.flatMapDepth=function Bh(U,J,ke){return ke=ke===o?1:ss(ke),zi(md(U,J),ke)},le.flatten=ld,le.flattenDeep=function ud(U){return null!=U&&U.length?zi(U,me):[]},le.flattenDepth=function Dh(U,J){return null!=U&&U.length?zi(U,J=J===o?1:ss(J)):[]},le.flip=function Vh(U){return wu(U,512)},le.flow=su,le.flowRight=Ym,le.fromPairs=function fg(U){for(var J=-1,ke=null==U?0:U.length,dt={};++J<ke;){var Gt=U[J];dt[Gt[0]]=Gt[1]}return dt},le.functions=function Bf(U){return null==U?[]:ea(U,El(U))},le.functionsIn=function Hg(U){return null==U?[]:ea(U,Jl(U))},le.groupBy=Cg,le.initial=function cd(U){return null!=U&&U.length?Sr(U,0,-1):[]},le.intersection=gl,le.intersectionBy=fc,le.intersectionWith=Jp,le.invert=Du,le.invertBy=E1,le.invokeMap=Xd,le.iteratee=Bc,le.keyBy=Fg,le.keys=El,le.keysIn=Jl,le.map=md,le.mapKeys=function Mc(U,J){var ke={};return J=Io(J,3),gs(U,function(dt,Gt,pn){Rs(ke,J(dt,Gt,pn),dt)}),ke},le.mapValues=function bd(U,J){var ke={};return J=Io(J,3),gs(U,function(dt,Gt,pn){Rs(ke,Gt,J(dt,Gt,pn))}),ke},le.matches=function Xg(U){return dh(xs(U,1))},le.matchesProperty=function Qm(U,J){return wc(U,xs(J,1))},le.memoize=vd,le.merge=qh,le.mergeWith=jm,le.method=Yg,le.methodOf=Qg,le.mixin=sp,le.negate=Qu,le.nthArg=function rs(U){return U=ss(U),pt(function(J){return Kc(J,U)})},le.omit=Um,le.omitBy=function F1(U,J){return jf(U,Qu(Io(J)))},le.once=function Qd(U){return Df(2,U)},le.orderBy=function Sg(U,J,ke,dt){return null==U?[]:(ns(J)||(J=null==J?[]:[J]),ns(ke=dt?o:ke)||(ke=null==ke?[]:[ke]),Dd(U,J,ke))},le.over=up,le.overArgs=Jd,le.overEvery=Jg,le.overSome=af,le.partial=Ju,le.partialRight=Gh,le.partition=wg,le.pick=ef,le.pickBy=jf,le.property=Jm,le.propertyOf=function Zg(U){return function(J){return null==U?o:Ua(U,J)}},le.pull=em,le.pullAll=tm,le.pullAllBy=function nm(U,J,ke){return U&&U.length&&J&&J.length?yl(U,J,Io(ke,2)):U},le.pullAllWith=function hg(U,J,ke){return U&&U.length&&J&&J.length?yl(U,J,o,ke):U},le.pullAt=bf,le.range=A1,le.rangeRight=Kf,le.rearg=ym,le.reject=function Uh(U,J){return(ns(U)?Uo:js)(U,Qu(Io(J,3)))},le.remove=function pg(U,J){var ke=[];if(!U||!U.length)return ke;var dt=-1,Gt=[],pn=U.length;for(J=Io(J,3);++dt<pn;){var Hn=U[dt];J(Hn,dt,U)&&(ke.push(Hn),Gt.push(dt))}return Xc(U,Gt),ke},le.rest=function Zu(U,J){if("function"!=typeof U)throw new tt(T);return pt(U,J=J===o?J:ss(J))},le.reverse=Ef,le.sampleSize=function Lu(U,J,ke){return J=(ke?jl(U,J,ke):J===o)?1:ss(J),(ns(U)?Dr:un)(U,J)},le.set=function ou(U,J,ke){return null==U?U:Vn(U,J,ke)},le.setWith=function ju(U,J,ke,dt){return dt="function"==typeof dt?dt:o,null==U?U:Vn(U,J,ke,dt)},le.shuffle=function Af(U){return(ns(U)?zn:Ur)(U)},le.slice=function rm(U,J,ke){var dt=null==U?0:U.length;return dt?(ke&&"number"!=typeof ke&&jl(U,J,ke)?(J=0,ke=dt):(J=null==J?0:ss(J),ke=ke===o?dt:ss(ke)),Sr(U,J,ke)):[]},le.sortBy=h1,le.sortedUniq=function Cf(U){return U&&U.length?po(U):[]},le.sortedUniqBy=function zd(U,J){return U&&U.length?po(U,Io(J,2)):[]},le.split=function tp(U,J,ke){return ke&&"number"!=typeof ke&&jl(U,J,ke)&&(J=ke=o),(ke=ke===o?M:ke>>>0)?(U=Ys(U))&&("string"==typeof J||null!=J&&!Pf(J))&&!(J=Fo(J))&&Ma(U)?Hs(hs(U),0,ke):U.split(J,ke):[]},le.spread=function _m(U,J){if("function"!=typeof U)throw new tt(T);return J=null==J?0:Ho(ss(J),0),pt(function(ke){var dt=ke[J],Gt=Hs(ke,0,J);return dt&&Ia(Gt,dt),No(U,this,Gt)})},le.tail=function Rh(U){var J=null==U?0:U.length;return J?Sr(U,1,J):[]},le.take=function sm(U,J,ke){return U&&U.length?Sr(U,0,(J=ke||J===o?1:ss(J))<0?0:J):[]},le.takeRight=function am(U,J,ke){var dt=null==U?0:U.length;return dt?Sr(U,(J=dt-(J=ke||J===o?1:ss(J)))<0?0:J,dt):[]},le.takeRightWhile=function lm(U,J){return U&&U.length?$a(U,Io(J,3),!1,!0):[]},le.takeWhile=function kh(U,J){return U&&U.length?$a(U,Io(J,3)):[]},le.tap=function xh(U,J){return J(U),U},le.throttle=function bm(U,J,ke){var dt=!0,Gt=!0;if("function"!=typeof U)throw new tt(T);return Wa(ke)&&(dt="leading"in ke?!!ke.leading:dt,Gt="trailing"in ke?!!ke.trailing:Gt),Rf(U,J,{leading:dt,maxWait:J,trailing:Gt})},le.thru=wf,le.toArray=Wh,le.toPairs=Xh,le.toPairsIn=S1,le.toPath=function fp(U){return ns(U)?wo(U,Tu):Ql(U)?[U]:_l(lg(Ys(U)))},le.toPlainObject=km,le.transform=function Gg(U,J,ke){var dt=ns(U),Gt=dt||ru(U)||Pc(U);if(J=Io(J,4),null==ke){var pn=U&&U.constructor;ke=Gt?dt?new pn:[]:Wa(U)&&vu(pn)?pe(Mr(U)):{}}return(Gt?us:gs)(U,function(Hn,er,yr){return J(ke,Hn,er,yr)}),ke},le.unary=function Em(U){return gm(U,1)},le.union=um,le.unionBy=Ff,le.unionWith=cm,le.uniq=function $d(U){return U&&U.length?Ko(U):[]},le.uniqBy=function dm(U,J){return U&&U.length?Ko(U,Io(J,2)):[]},le.uniqWith=function Nh(U,J){return J="function"==typeof J?J:o,U&&U.length?Ko(U,o,J):[]},le.unset=function Vy(U,J){return null==U||Qo(U,J)},le.unzip=Sf,le.unzipWith=gg,le.update=function Gy(U,J,ke){return null==U?U:cl(U,J,Qc(ke))},le.updateWith=function zg(U,J,ke,dt){return dt="function"==typeof dt?dt:o,null==U?U:cl(U,J,Qc(ke),dt)},le.values=Lc,le.valuesIn=function zy(U){return null==U?[]:ga(U,Jl(U))},le.without=vg,le.words=Xm,le.wrap=function Cm(U,J){return Ju(Qc(J),U)},le.xor=fm,le.xorBy=Oh,le.xorWith=hc,le.zip=pc,le.zipObject=function Ph(U,J){return Ku(U||[],J||[],Ni)},le.zipObjectDeep=function c1(U,J){return Ku(U||[],J||[],Vn)},le.zipWith=Wd,le.entries=Xh,le.entriesIn=S1,le.extend=Pm,le.extendWith=Kh,sp(le,le),le.add=qf,le.attempt=Cd,le.camelCase=Vm,le.capitalize=yc,le.ceil=D1,le.clamp=function Yh(U,J,ke){return ke===o&&(ke=J,J=o),ke!==o&&(ke=(ke=Au(ke))==ke?ke:0),J!==o&&(J=(J=Au(J))==J?J:0),ks(Au(U),J,ke)},le.clone=function p1(U){return xs(U,4)},le.cloneDeep=function g1(U){return xs(U,5)},le.cloneDeepWith=function Ig(U,J){return xs(U,5,J="function"==typeof J?J:o)},le.cloneWith=function m1(U,J){return xs(U,4,J="function"==typeof J?J:o)},le.conformsTo=function Fm(U,J){return null==J||rl(U,J,El(J))},le.deburr=nf,le.defaultTo=function op(U,J){return null==U||U!=U?J:U},le.divide=Zm,le.endsWith=function Gm(U,J,ke){U=Ys(U),J=Fo(J);var dt=U.length,Gt=ke=ke===o?dt:ks(ss(ke),0,dt);return(ke-=J.length)>=0&&U.slice(ke,Gt)==J},le.eq=Xs,le.escape=function Uf(U){return(U=Ys(U))&&zt.test(U)?U.replace(Xr,hl):U},le.escapeRegExp=function rf(U){return(U=Ys(U))&&Cn.test(U)?U.replace(bn,"\\$&"):U},le.every=function kc(U,J,ke){var dt=ns(U)?oa:$o;return ke&&jl(U,J,ke)&&(J=o),dt(U,Io(J,3))},le.find=wa,le.findIndex=jd,le.findKey=function Lg(U,J){return ya(U,Io(J,3),gs)},le.findLast=dd,le.findLastIndex=Ud,le.findLastKey=function b1(U,J){return ya(U,Io(J,3),va)},le.floor=tv,le.forEach=hd,le.forEachRight=pd,le.forIn=function Bg(U,J){return null==U?U:Ya(U,Io(J,3),Jl)},le.forInRight=function Lm(U,J){return null==U?U:ja(U,Io(J,3),Jl)},le.forOwn=function jg(U,J){return U&&gs(U,Io(J,3))},le.forOwnRight=function Ug(U,J){return U&&va(U,Io(J,3))},le.get=Bm,le.gt=yd,le.gte=v1,le.has=function _d(U,J){return null!=U&&xd(U,J,oc)},le.hasIn=Vg,le.head=Hd,le.identity=Pl,le.includes=function jh(U,J,ke,dt){U=Xl(U)?U:Lc(U),ke=ke&&!dt?ss(ke):0;var Gt=U.length;return ke<0&&(ke=Ho(Gt+ke,0)),Mf(U)?ke<=Gt&&U.indexOf(J,ke)>-1:!!Gt&&Ls(U,J,ke)>-1},le.indexOf=function Qp(U,J,ke){var dt=null==U?0:U.length;if(!dt)return-1;var Gt=null==ke?0:ss(ke);return Gt<0&&(Gt=Ho(dt+Gt,0)),Ls(U,J,Gt)},le.inRange=function Qh(U,J,ke){return J=Bu(J),ke===o?(ke=J,J=0):ke=Bu(ke),function $u(U,J,ke){return U>=bo(J,ke)&&U<Ho(J,ke)}(U=Au(U),J,ke)},le.invoke=C1,le.isArguments=ec,le.isArray=ns,le.isArrayBuffer=Sm,le.isArrayLike=Xl,le.isArrayLikeObject=al,le.isBoolean=function Rg(U){return!0===U||!1===U||ra(U)&&il(U)==et},le.isBuffer=ru,le.isDate=wm,le.isElement=function Ul(U){return ra(U)&&1===U.nodeType&&!Zd(U)},le.isEmpty=function kg(U){if(null==U)return!0;if(Xl(U)&&(ns(U)||"string"==typeof U||"function"==typeof U.splice||ru(U)||Pc(U)||ec(U)))return!U.length;var J=ml(U);if(J==St||J==Vt)return!U.size;if(Md(U))return!pu(U).length;for(var ke in U)if(Ue.call(U,ke))return!1;return!0},le.isEqual=function Nf(U,J){return tu(U,J)},le.isEqualWith=function Yl(U,J,ke){var dt=(ke="function"==typeof ke?ke:o)?ke(U,J):o;return dt===o?tu(U,J,o,ke):!!dt},le.isError=mc,le.isFinite=function gc(U){return"number"==typeof U&&ao(U)},le.isFunction=vu,le.isInteger=Of,le.isLength=Tm,le.isMap=Oc,le.isMatch=function Am(U,J){return U===J||ka(U,J,cc(J))},le.isMatchWith=function zh(U,J,ke){return ke="function"==typeof ke?ke:o,ka(U,J,cc(J),ke)},le.isNaN=function y1(U){return Pg(U)&&U!=+U},le.isNative=function Dm(U){if(ig(U))throw new fo("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ol(U)},le.isNil=function Og(U){return null==U},le.isNull=function Ng(U){return null===U},le.isNumber=Pg,le.isObject=Wa,le.isObjectLike=ra,le.isPlainObject=Zd,le.isRegExp=Pf,le.isSafeInteger=function xf(U){return Of(U)&&U>=-re&&U<=re},le.isSet=Im,le.isString=Mf,le.isSymbol=Ql,le.isTypedArray=Pc,le.isUndefined=function iu(U){return U===o},le.isWeakMap=function Rm(U){return ra(U)&&ml(U)==An},le.isWeakSet=function $h(U){return ra(U)&&"[object WeakSet]"==il(U)},le.join=function Ih(U,J){return null==U?"":Mo.call(U,J)},le.kebabCase=Jh,le.last=fa,le.lastIndexOf=function Vd(U,J,ke){var dt=null==U?0:U.length;if(!dt)return-1;var Gt=dt;return ke!==o&&(Gt=(Gt=ss(ke))<0?Ho(dt+Gt,0):bo(Gt,dt-1)),J==J?function fs(Nn,xr,kr){for(var Ii=kr+1;Ii--;)if(Nn[Ii]===xr)return Ii;return Ii}(U,J,Gt):sa(U,qa,Gt,!0)},le.lowerCase=zm,le.lowerFirst=Zh,le.lt=xg,le.lte=xc,le.max=function e0(U){return U&&U.length?Oo(U,Pl,zu):o},le.maxBy=function nv(U,J){return U&&U.length?Oo(U,Io(J,2),zu):o},le.mean=function rv(U){return Ct(U,Pl)},le.meanBy=function iv(U,J){return Ct(U,Io(J,2))},le.min=function ov(U){return U&&U.length?Oo(U,Pl,hf):o},le.minBy=function t0(U,J){return U&&U.length?Oo(U,Io(J,2),hf):o},le.stubArray=nc,le.stubFalse=lf,le.stubObject=function uf(){return{}},le.stubString=function ev(){return""},le.stubTrue=function cp(){return!0},le.multiply=n0,le.nth=function Zp(U,J){return U&&U.length?Kc(U,ss(J)):o},le.noConflict=function ap(){return Or._===this&&(Or._=pr),this},le.noop=lp,le.now=Hh,le.pad=function $g(U,J,ke){U=Ys(U);var dt=(J=ss(J))?is(U):0;if(!J||dt>=J)return U;var Gt=(J-dt)/2;return lc(co(Gt),ke)+U+lc(ei(Gt),ke)},le.padEnd=function Wg(U,J,ke){U=Ys(U);var dt=(J=ss(J))?is(U):0;return J&&dt<J?U+lc(J-dt,ke):U},le.padStart=function ep(U,J,ke){U=Ys(U);var dt=(J=ss(J))?is(U):0;return J&&dt<J?lc(J-dt,ke)+U:U},le.parseInt=function Kg(U,J,ke){return ke||null==J?J=0:J&&(J=+J),Vi(Ys(U).replace(Kn,""),J||0)},le.random=function Hm(U,J,ke){if(ke&&"boolean"!=typeof ke&&jl(U,J,ke)&&(J=ke=o),ke===o&&("boolean"==typeof J?(ke=J,J=o):"boolean"==typeof U&&(ke=U,U=o)),U===o&&J===o?(U=0,J=1):(U=Bu(U),J===o?(J=U,U=0):J=Bu(J)),U>J){var dt=U;U=J,J=dt}if(ke||U%1||J%1){var Gt=Ds();return bo(U+Gt*(J-U+Yn("1e-"+((Gt+"").length-1))),J)}return Se(U,J)},le.reduce=function hm(U,J,ke){var dt=ns(U)?Us:bt,Gt=arguments.length<3;return dt(U,Io(J,4),ke,Gt,Ra)},le.reduceRight=function pm(U,J,ke){var dt=ns(U)?Ji:bt,Gt=arguments.length<3;return dt(U,Io(J,4),ke,Gt,Ri)},le.repeat=function Hf(U,J,ke){return J=(ke?jl(U,J,ke):J===o)?1:ss(J),Xe(Ys(U),J)},le.replace=function Vf(){var U=arguments,J=Ys(U[0]);return U.length<3?J:J.replace(U[1],U[2])},le.result=function tf(U,J,ke){var dt=-1,Gt=(J=Na(J,U)).length;for(Gt||(Gt=1,U=o);++dt<Gt;){var pn=null==U?o:U[Tu(J[dt])];pn===o&&(dt=Gt,pn=ke),U=vu(pn)?pn.call(U):pn}return U},le.round=sv,le.runInContext=Nn,le.sample=function Tg(U){return(ns(U)?Mn:$t)(U)},le.size=function mm(U){if(null==U)return 0;if(Xl(U))return Mf(U)?is(U):U.length;var J=ml(U);return J==St||J==Vt?U.size:pu(U).length},le.snakeCase=$m,le.some=function Ag(U,J,ke){var dt=ns(U)?Pa:Oi;return ke&&jl(U,J,ke)&&(J=o),dt(U,Io(J,3))},le.sortedIndex=function mg(U,J){return qi(U,J)},le.sortedIndexBy=function l1(U,J,ke){return oo(U,J,Io(ke,2))},le.sortedIndexOf=function u1(U,J){var ke=null==U?0:U.length;if(ke){var dt=qi(U,J);if(dt<ke&&Xs(U[dt],J))return dt}return-1},le.sortedLastIndex=function Gd(U,J){return qi(U,J,!0)},le.sortedLastIndexBy=function im(U,J,ke){return oo(U,J,Io(ke,2),!0)},le.sortedLastIndexOf=function om(U,J){if(null!=U&&U.length){var dt=qi(U,J,!0)-1;if(Xs(U[dt],J))return dt}return-1},le.startCase=w1,le.startsWith=function Wm(U,J,ke){return U=Ys(U),ke=null==ke?0:ks(ss(ke),0,U.length),J=Fo(J),U.slice(ke,ke+J.length)==J},le.subtract=av,le.sum=function au(U){return U&&U.length?ai(U,Pl):0},le.sumBy=function lv(U,J){return U&&U.length?ai(U,Io(J,2)):0},le.template=function Gf(U,J,ke){var dt=le.templateSettings;ke&&jl(U,J,ke)&&(J=o),U=Ys(U),J=Kh({},J,dt,vf);var er,yr,Gt=Kh({},J.imports,dt.imports,vf),pn=El(Gt),Hn=ga(Gt,pn),si=0,ii=J.interpolate||Co,hi="__p += '",Hi=ye((J.escape||Co).source+"|"+ii.source+"|"+(ii===Sn?vi:Co).source+"|"+(J.evaluate||Co).source+"|$","g"),mo="//# sourceURL="+(Ue.call(J,"sourceURL")?(J.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rn+"]")+"\n";U.replace(Hi,function(go,Ss,Ms,lu,xl,uu){return Ms||(Ms=lu),hi+=U.slice(si,uu).replace(mn,Rl),Ss&&(er=!0,hi+="' +\n__e("+Ss+") +\n'"),xl&&(yr=!0,hi+="';\n"+xl+";\n__p += '"),Ms&&(hi+="' +\n((__t = ("+Ms+")) == null ? '' : __t) +\n'"),si=uu+go.length,go}),hi+="';\n";var Po=Ue.call(J,"variable")&&J.variable;if(Po){if(ar.test(Po))throw new fo("Invalid `variable` option passed into `_.template`")}else hi="with (obj) {\n"+hi+"\n}\n";hi=(yr?hi.replace(_r,""):hi).replace(hr,"$1").replace(Nr,"$1;"),hi="function("+(Po||"obj")+") {\n"+(Po?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(er?", __e = _.escape":"")+(yr?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+hi+"return __p\n}";var ys=Cd(function(){return zo(pn,mo+"return "+hi).apply(o,Hn)});if(ys.source=hi,mc(ys))throw ys;return ys},le.times=function dp(U,J){if((U=ss(U))<1||U>re)return[];var ke=M,dt=bo(U,M);J=Io(J),U-=M;for(var Gt=wi(dt,J);++ke<U;)J(ke);return Gt},le.toFinite=Bu,le.toInteger=ss,le.toLength=Lf,le.toLower=function tc(U){return Ys(U).toLowerCase()},le.toNumber=Au,le.toSafeInteger=function Nm(U){return U?ks(ss(U),-re,re):0===U?U:0},le.toString=Ys,le.toUpper=function Ed(U){return Ys(U).toUpperCase()},le.trim=function np(U,J,ke){if((U=Ys(U))&&(ke||J===o))return ca(U);if(!U||!(J=Fo(J)))return U;var dt=hs(U),Gt=hs(J);return Hs(dt,Ps(dt,Gt),Xa(dt,Gt)+1).join("")},le.trimEnd=function qg(U,J,ke){if((U=Ys(U))&&(ke||J===o))return U.slice(0,Go(U)+1);if(!U||!(J=Fo(J)))return U;var dt=hs(U);return Hs(dt,0,Xa(dt,hs(J))+1).join("")},le.trimStart=function Km(U,J,ke){if((U=Ys(U))&&(ke||J===o))return U.replace(Kn,"");if(!U||!(J=Fo(J)))return U;var dt=hs(U);return Hs(dt,Ps(dt,hs(J))).join("")},le.truncate=function sf(U,J){var ke=30,dt="...";if(Wa(J)){var Gt="separator"in J?J.separator:Gt;ke="length"in J?ss(J.length):ke,dt="omission"in J?Fo(J.omission):dt}var pn=(U=Ys(U)).length;if(Ma(U)){var Hn=hs(U);pn=Hn.length}if(ke>=pn)return U;var er=ke-is(dt);if(er<1)return dt;var yr=Hn?Hs(Hn,0,er).join(""):U.slice(0,er);if(Gt===o)return yr+dt;if(Hn&&(er+=yr.length-er),Pf(Gt)){if(U.slice(er).search(Gt)){var si,ii=yr;for(Gt.global||(Gt=ye(Gt.source,Ys(no.exec(Gt))+"g")),Gt.lastIndex=0;si=Gt.exec(ii);)var hi=si.index;yr=yr.slice(0,hi===o?er:hi)}}else if(U.indexOf(Fo(Gt),er)!=er){var Hi=yr.lastIndexOf(Gt);Hi>-1&&(yr=yr.slice(0,Hi))}return yr+dt},le.unescape=function T1(U){return(U=Ys(U))&&Rt.test(U)?U.replace($r,Ml):U},le.uniqueId=function hp(U){var J=++Ye;return Ys(U)+J},le.upperCase=qm,le.upperFirst=rp,le.each=hd,le.eachRight=pd,le.first=Hd,sp(le,function(){var U={};return gs(le,function(J,ke){Ue.call(le.prototype,ke)||(U[ke]=J)}),U}(),{chain:!1}),le.VERSION="4.17.21",us(["bind","bindKey","curry","curryRight","partial","partialRight"],function(U){le[U].placeholder=le}),us(["drop","take"],function(U,J){_e.prototype[U]=function(ke){ke=ke===o?1:Ho(ss(ke),0);var dt=this.__filtered__&&!J?new _e(this):this.clone();return dt.__filtered__?dt.__takeCount__=bo(ke,dt.__takeCount__):dt.__views__.push({size:bo(ke,M),type:U+(dt.__dir__<0?"Right":"")}),dt},_e.prototype[U+"Right"]=function(ke){return this.reverse()[U](ke).reverse()}}),us(["filter","map","takeWhile"],function(U,J){var ke=J+1,dt=1==ke||3==ke;_e.prototype[U]=function(Gt){var pn=this.clone();return pn.__iteratees__.push({iteratee:Io(Gt,3),type:ke}),pn.__filtered__=pn.__filtered__||dt,pn}}),us(["head","last"],function(U,J){var ke="take"+(J?"Right":"");
vendor: 4,463 bytes, line 1
1_e.prototype[U]=function(){return this[ke](1).value()[0]}}),us(["initial","tail"],function(U,J){var ke="drop"+(J?"":"Right");_e.prototype[U]=function(){return this.__filtered__?new _e(this):this[ke](1)}}),_e.prototype.compact=function(){return this.filter(Pl)},_e.prototype.find=function(U){return this.filter(U).head()},_e.prototype.findLast=function(U){return this.reverse().find(U)},_e.prototype.invokeMap=pt(function(U,J){return"function"==typeof U?new _e(this):this.map(function(ke){return eu(ke,U,J)})}),_e.prototype.reject=function(U){return this.filter(Qu(Io(U)))},_e.prototype.slice=function(U,J){U=ss(U);var ke=this;return ke.__filtered__&&(U>0||J<0)?new _e(ke):(U<0?ke=ke.takeRight(-U):U&&(ke=ke.drop(U)),J!==o&&(ke=(J=ss(J))<0?ke.dropRight(-J):ke.take(J-U)),ke)},_e.prototype.takeRightWhile=function(U){return this.reverse().takeWhile(U).reverse()},_e.prototype.toArray=function(){return this.take(M)},gs(_e.prototype,function(U,J){var ke=/^(?:filter|find|map|reject)|While$/.test(J),dt=/^(?:head|last)$/.test(J),Gt=le[dt?"take"+("last"==J?"Right":""):J],pn=dt||/^find/.test(J);Gt&&(le.prototype[J]=function(){var Hn=this.__wrapped__,er=dt?[1]:arguments,yr=Hn instanceof _e,si=er[0],ii=yr||ns(Hn),hi=function(Ss){var Ms=Gt.apply(le,Ia([Ss],er));return dt&&Hi?Ms[0]:Ms};ii&&ke&&"function"==typeof si&&1!=si.length&&(yr=ii=!1);var Hi=this.__chain__,Po=pn&&!Hi,ys=yr&&!this.__actions__.length;if(!pn&&ii){Hn=ys?Hn:new _e(this);var go=U.apply(Hn,er);return go.__actions__.push({func:wf,args:[hi],thisArg:o}),new se(go,Hi)}return Po&&ys?U.apply(this,er):(go=this.thru(hi),Po?dt?go.value()[0]:go.value():go)})}),us(["pop","push","shift","sort","splice","unshift"],function(U){var J=Et[U],ke=/^(?:push|sort|unshift)$/.test(U)?"tap":"thru",dt=/^(?:pop|shift)$/.test(U);le.prototype[U]=function(){var Gt=arguments;if(dt&&!this.__chain__){var pn=this.value();return J.apply(ns(pn)?pn:[],Gt)}return this[ke](function(Hn){return J.apply(ns(Hn)?Hn:[],Gt)})}}),gs(_e.prototype,function(U,J){var ke=le[J];if(ke){var dt=ke.name+"";Ue.call(ul,dt)||(ul[dt]=[]),ul[dt].push({name:J,func:ke})}}),ul[ac(o,2).name]=[{name:"wrapper",func:o}],_e.prototype.clone=function De(){var U=new _e(this.__wrapped__);return U.__actions__=_l(this.__actions__),U.__dir__=this.__dir__,U.__filtered__=this.__filtered__,U.__iteratees__=_l(this.__iteratees__),U.__takeCount__=this.__takeCount__,U.__views__=_l(this.__views__),U},_e.prototype.reverse=function Ve(){if(this.__filtered__){var U=new _e(this);U.__dir__=-1,U.__filtered__=!0}else(U=this.clone()).__dir__*=-1;return U},_e.prototype.value=function ut(){var U=this.__wrapped__.value(),J=this.__dir__,ke=ns(U),dt=J<0,Gt=ke?U.length:0,pn=function ng(U,J,ke){for(var dt=-1,Gt=ke.length;++dt<Gt;){var pn=ke[dt],Hn=pn.size;switch(pn.type){case"drop":U+=Hn;break;case"dropRight":J-=Hn;break;case"take":J=bo(J,U+Hn);break;case"takeRight":U=Ho(U,J-Hn)}}return{start:U,end:J}}(0,Gt,this.__views__),Hn=pn.start,er=pn.end,yr=er-Hn,si=dt?er:Hn-1,ii=this.__iteratees__,hi=ii.length,Hi=0,mo=bo(yr,this.__takeCount__);if(!ke||!dt&&Gt==yr&&mo==yr)return Cu(U,this.__actions__);var Po=[];e:for(;yr--&&Hi<mo;){for(var ys=-1,go=U[si+=J];++ys<hi;){var Ss=ii[ys],lu=Ss.type,xl=(0,Ss.iteratee)(go);if(2==lu)go=xl;else if(!xl){if(1==lu)continue e;break e}}Po[Hi++]=go}return Po},le.prototype.at=yg,le.prototype.chain=function _g(){return Kd(this)},le.prototype.commit=function bg(){return new se(this.value(),this.__chain__)},le.prototype.next=function d1(){this.__values__===o&&(this.__values__=Wh(this.value()));var U=this.__index__>=this.__values__.length;return{done:U,value:U?o:this.__values__[this.__index__++]}},le.prototype.plant=function Tf(U){for(var J,ke=this;ke instanceof ie;){var dt=Rc(ke);dt.__index__=0,dt.__values__=o,J?Gt.__wrapped__=dt:J=dt;var Gt=dt;ke=ke.__wrapped__}return Gt.__wrapped__=U,J},le.prototype.reverse=function Eg(){var U=this.__wrapped__;if(U instanceof _e){var J=U;return this.__actions__.length&&(J=new _e(this)),(J=J.reverse()).__actions__.push({func:wf,args:[Ef],thisArg:o}),new se(J,this.__chain__)}return this.thru(Ef)},le.prototype.toJSON=le.prototype.valueOf=le.prototype.value=function Mh(){return Cu(this.__wrapped__,this.__actions__)},le.prototype.first=le.prototype.head,it&&(le.prototype[it]=function f1(){return this}),le}();Or._=La,(c=function(){return La}.call(_,f,_,ge))!==o&&(ge.exports=c)}.call(this)},56909:function(ge,_,f){"use strict";var c=this&&this.__createBinding||(Object.create?function(a,E,T,
1s){void 0===s&&(s=T),Object.defineProperty(a,s,{enumerable:!0,get:function(){return E[T]}})}:function(a,E,T,s){void 0===s&&(s=T),a[s]=E[T]}),o=this&&this.__exportStar||function(a,E){for(var T in a)"default"!==T&&!E.hasOwnProperty(T)&&c(E,a,T)};Object.defineProperty(_,"__esModule",{value:!0}),new(f(67971).AgentConfig),o(f(15912),_)},31410:function(ge,_,f){"use strict";var c=this&&this.__createBinding||(Object.create?function(h,u,v,g){void 0===g&&(g=v),Object.defineProperty(h,g,{enumerable:!0,get:function(){return u[v]}})}:function(h,u,v,g){void 0===g&&(g=v),h[g]=u[v]}),o=this&&this.__setModuleDefault||(Object.create?function(h,u){Object.defineProperty(h,"default",{enumerable:!0,value:u})}:function(h,u){h.default=u}),C=this&&this.__importStar||function(h){if(h&&h.__esModule)return h;var u={};if(null!=h)for(var v in h)"default"!==v&&Object.hasOwnProperty.call(h,v)&&c(u,h,v);return o(u,h),u};Object.defineProperty(_,"__esModule",{value:!0}),_.ConsoleLoggingListener=void 0;const a=C(f(42250)),E=f(88603),T=f(8804);_.ConsoleLoggingListener=class s{constructor(u=E.LogLevel.None){this.privLogPath=void 0,this.privEnableConsoleOutput=!0,this.privLogLevelFilter=u}set logPath(u){T.Contracts.throwIfNullOrUndefined(a.openSync,"\nFile System access not available"),this.privLogPath=u}set enableConsoleOutput(u){this.privEnableConsoleOutput=u}onEvent(u){if(u.eventType>=this.privLogLevelFilter){const v=this.toString(u);if(this.logCallback&&this.logCallback(v),this.privLogPath&&a.writeFileSync(this.privLogPath,v+"\n",{flag:"a+"}),this.privEnableConsoleOutput)switch(u.eventType){case E.LogLevel.Debug:console.debug(v);break;case E.LogLevel.Info:console.info(v);break;case E.LogLevel.Warning:console.warn(v);break;case E.LogLevel.Error:console.error(v);break;default:console.log(v)}}}toString(u){const v=[`${u.eventTime}`,`${u.name}`],g=u;for(const y in g)if(y&&u.hasOwnProperty(y)&&"eventTime"!==y&&"eventType"!==y&&"eventId"!==y&&"name"!==y&&"constructor"!==y){const p=g[y];let b="<NULL>";null!=p&&(b="number"==typeof p||"string"==typeof p?p.toString():JSON.stringify(p)),v.push(`${y}: ${b}`)}return v.join(" | ")}}},20709:function(ge,_,f){"use strict";var c=this&&this.__createBinding||(Object.create?function(C,a,E,T){void 0===T&&(T=E),Object.defineProperty(C,T,{enumerable:!0,get:function(){return a[E]}})}:function(C,a,E,T){void 0===T&&(T=E),C[T]=a[E]}),o=this&&this.__exportStar||function(C,a){for(var E in C)"default"!==E&&!a.hasOwnProperty(E)&&c(a,C,E)};Object.defineProperty(_,"__esModule",{value:!0}),o(f(31410),_),o(f(82771),_),o(f(71338),_),o(f(43423),_),o(f(22856),_),o(f(30917),_),o(f(58859),_),o(f(393),_),o(f(17418),_),o(f(51596),_),o(f(75017),_)},43423:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.FileAudioSource=void 0;const o=f(67971),C=f(13155),a=f(56495);_.FileAudioSource=class E{constructor(s,h,u){this.privStreams={},this.privHeaderEnd=44,this.privId=u||C.createNoDashGuid(),this.privEvents=new C.EventSource,this.privSource=s,this.privFilename=typeof window<"u"&&typeof Blob<"u"&&this.privSource instanceof Blob?s.name:h||"unknown.wav",this.privAudioFormatPromise=this.readHeader()}get format(){return this.privAudioFormatPromise}turnOn(){if(this.privFilename.lastIndexOf(".wav")!==this.privFilename.length-4){const s=this.privFilename+" is not supported. Only WAVE files are allowed at the moment.";return this.onEvent(new C.AudioSourceErrorEvent(s,"")),Promise.reject(s)}this.onEvent(new C.AudioSourceInitializingEvent(this.privId)),this.onEvent(new C.AudioSourceReadyEvent(this.privId))}id(){return this.privId}attach(s){var h=this;return c(function*(){h.onEvent(new C.AudioStreamNodeAttachingEvent(h.privId,s));const u=yield h.upload(s);return h.onEvent(new C.AudioStreamNodeAttachedEvent(h.privId,s)),Promise.resolve({detach:(v=c(function*(){u.readEnded(),delete h.privStreams[s],h.onEvent(new C.AudioStreamNodeDetachedEvent(h.privId,s)),yield h.turnOff()}),function(){return v.apply(this,arguments)}),id:()=>s,read:()=>u.read()});var v})()}detach(s){s&&this.privStreams[s]&&(this.privStreams[s].close(),delete this.privStreams[s],this.onEvent(new C.AudioStreamNodeDetachedEvent(this.privId,s)))}turnOff(){for(const s in this.privStreams)if(s){const h=this.privStreams[s];h&&!h.isClosed&&h.close()}
1return this.onEvent(new C.AudioSourceOffEvent(this.privId)),Promise.resolve()}get events(){return this.privEvents}get deviceInfo(){return this.privAudioFormatPromise.then(s=>Promise.resolve({bitspersample:s.bitsPerSample,channelcount:s.channels,connectivity:o.connectivity.Unknown,manufacturer:"Speech SDK",model:"File",samplerate:s.samplesPerSec,type:o.type.File}))}readHeader(){const h=this.privSource.slice(0,4296),u=new C.Deferred,v=g=>{const y=new DataView(g),p=V=>String.fromCharCode(y.getUint8(V),y.getUint8(V+1),y.getUint8(V+2),y.getUint8(V+3));if("RIFF"!==p(0))return void u.reject("Invalid WAV header in file, RIFF was not found");if("WAVE"!==p(8)||"fmt "!==p(12))return void u.reject("Invalid WAV header in file, WAVEfmt was not found");const b=y.getInt32(16,!0),R=y.getUint16(22,!0),P=y.getUint32(24,!0),k=y.getUint16(34,!0);let O=36+Math.max(b-16,0);for(;"data"!==p(O);O+=2)if(O>4288)return void u.reject("Invalid WAV header in file, data block was not found");this.privHeaderEnd=O+8,u.resolve(a.AudioStreamFormat.getWaveFormatPCM(P,k,R))};if(typeof window<"u"&&typeof Blob<"u"&&h instanceof Blob){const g=new FileReader;g.onload=y=>{v(y.target.result)},g.readAsArrayBuffer(h)}else v(h.buffer.slice(h.byteOffset,h.byteOffset+h.byteLength));return u.promise}upload(s){var h=this;return c(function*(){const u=v=>{const g=`Error occurred while processing '${h.privFilename}'. ${v}`;throw h.onEvent(new C.AudioStreamNodeErrorEvent(h.privId,s,g)),new Error(g)};try{yield h.turnOn();const v=yield h.privAudioFormatPromise,g=new C.ChunkedArrayBufferStream(v.avgBytesPerSec/10,s);h.privStreams[s]=g;const y=h.privSource.slice(h.privHeaderEnd),p=b=>{g.isClosed||(g.writeStreamChunk({buffer:b,isEnd:!1,timeReceived:Date.now()}),g.close())};if(typeof window<"u"&&typeof Blob<"u"&&y instanceof Blob){const b=new FileReader;b.onerror=R=>u(R.toString()),b.onload=R=>{p(R.target.result)},b.readAsArrayBuffer(y)}else p(y.buffer.slice(y.byteOffset,y.byteOffset+y.byteLength));return g}catch(v){u(v)}})()}onEvent(s){this.privEvents.onEvent(s),C.Events.instance.onEvent(s)}}},82771:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},71338:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.MicAudioSource=_.AudioWorkletSourceURLPropertyName=void 0;const o=f(67971),C=f(13155),a=f(56495);_.AudioWorkletSourceURLPropertyName="MICROPHONE-WorkletSourceUrl";class E{constructor(s,h,u,v){this.privRecorder=s,this.deviceId=h,this.privStreams={},this.privOutputChunkSize=E.AUDIOFORMAT.avgBytesPerSec/10,this.privId=u||C.createNoDashGuid(),this.privEvents=new C.EventSource,this.privMediaStream=v||null,this.privIsClosing=!1}get format(){return Promise.resolve(E.AUDIOFORMAT)}turnOn(){if(this.privInitializeDeferral)return this.privInitializeDeferral.promise;this.privInitializeDeferral=new C.Deferred;try{this.createAudioContext()}catch(u){return u instanceof Error?this.privInitializeDeferral.reject(u.name+": "+u.message):this.privInitializeDeferral.reject(u),this.privInitializeDeferral.promise}const s=window.navigator;let h=s.getUserMedia||s.webkitGetUserMedia||s.mozGetUserMedia||s.msGetUserMedia;if(s.mediaDevices&&(h=(u,v,g)=>{s.mediaDevices.getUserMedia(u).then(v).catch(g)}),h){const u=()=>{this.onEvent(new C.AudioSourceInitializingEvent(this.privId)),this.privMediaStream&&this.privMediaStream.active?(this.onEvent(new C.AudioSourceReadyEvent(this.privId)),this.privInitializeDeferral.resolve()):h({audio:!this.deviceId||{deviceId:this.deviceId},video:!1},v=>{this.privMediaStream=v,this.onEvent(new C.AudioSourceReadyEvent(this.privId)),this.privInitializeDeferral.resolve()},v=>{const g=`Error occurred during microphone initialization: ${v}`;this.privInitializeDeferral.reject(g),this.onEvent(new C.AudioSourceErrorEvent(this.privId,g))})};"suspended"===this.privContext.state?this.privContext.resume().then(u).catch(v=>{this.privInitializeDeferral.reject(`Failed to initialize audio context: ${v}`)}):u()}else{const u="Browser does not support getUserMedia.";this.privInitializeDeferral.reject(u),this.onEvent(new C.AudioSourceErrorEvent(u,""))}return this.privInitializeDeferral.promise}id(){return this.privId}attach(s){var h=this;return this.onEvent(new C.AudioStreamNodeAttachingEvent(this.privId,s)),this.listen(s).then(u=>{return this.onEvent(new C.AudioStreamNodeAttachedEvent(this.privId,s)),{detach:(v=c(function*(){return u.readEnded(),delete h.privStreams[s],h.onEvent(new C.AudioStreamNodeDetachedEvent(h.privId,s)),h.turnOff()}),function(){return v.apply(this,arguments)}),id:()=>s,read:()=>u.read()};var v})}detach(s){s&&this.privStreams[s]&&(this.privStreams[s].close(),delete this.privStreams[s],this.onEvent(new C.AudioStreamNodeDetachedEvent(this.privId,s)))}turnOff(){var s=this;return c(function*(){for(const h in s.privStreams)if(h){const u=s.privStreams[h
1];u&&u.close()}s.onEvent(new C.AudioSourceOffEvent(s.privId)),s.privInitializeDeferral&&(yield s.privInitializeDeferral,s.privInitializeDeferral=null),yield s.destroyAudioContext()})()}get events(){return this.privEvents}get deviceInfo(){return this.getMicrophoneLabel().then(s=>({bitspersample:E.AUDIOFORMAT.bitsPerSample,channelcount:E.AUDIOFORMAT.channels,connectivity:o.connectivity.Unknown,manufacturer:"Speech SDK",model:s,samplerate:E.AUDIOFORMAT.samplesPerSec,type:o.type.Microphones}))}setProperty(s,h){if(s!==_.AudioWorkletSourceURLPropertyName)throw new Error("Property '"+s+"' is not supported on Microphone.");this.privRecorder.setWorkletUrl(h)}getMicrophoneLabel(){const s="microphone";if(void 0!==this.privMicrophoneLabel)return Promise.resolve(this.privMicrophoneLabel);if(void 0===this.privMediaStream||!this.privMediaStream.active)return Promise.resolve(s);this.privMicrophoneLabel=s;const h=this.privMediaStream.getTracks()[0].getSettings().deviceId;if(void 0===h)return Promise.resolve(this.privMicrophoneLabel);const u=new C.Deferred;return navigator.mediaDevices.enumerateDevices().then(v=>{for(const g of v)if(g.deviceId===h){this.privMicrophoneLabel=g.label;break}u.resolve(this.privMicrophoneLabel)},()=>u.resolve(this.privMicrophoneLabel)),u.promise}listen(s){var h=this;return c(function*(){yield h.turnOn();const u=new C.ChunkedArrayBufferStream(h.privOutputChunkSize,s);h.privStreams[s]=u;try{h.privRecorder.record(h.privContext,h.privMediaStream,u)}catch(g){throw h.onEvent(new C.AudioStreamNodeErrorEvent(h.privId,s,g)),g}return u})()}onEvent(s){this.privEvents.onEvent(s),C.Events.instance.onEvent(s)}createAudioContext(){this.privContext||(this.privContext=a.AudioStreamFormatImpl.getAudioContext(E.AUDIOFORMAT.samplesPerSec))}destroyAudioContext(){var s=this;return c(function*(){if(!s.privContext)return;s.privRecorder.releaseMediaResources(s.privContext);let h=!1;"close"in s.privContext&&(h=!0),h?s.privIsClosing||(s.privIsClosing=!0,yield s.privContext.close(),s.privContext=null,s.privIsClosing=!1):null!==s.privContext&&"running"===s.privContext.state&&(yield s.privContext.suspend())})()}}_.MicAudioSource=E,E.AUDIOFORMAT=a.AudioStreamFormat.getDefaultInputFormat()},22856:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.PcmRecorder=void 0;const c=f(13155);_.PcmRecorder=class o{constructor(a){this.privStopInputOnRelease=a}record(a,E,T){const h=new c.RiffPcmEncoder(a.sampleRate,16e3),u=a.createMediaStreamSource(E),v=()=>{const y=(()=>{let p=0;try{return a.createScriptProcessor(p,1,1)}catch{p=2048;let R=a.sampleRate;for(;p<16384&&R>=32e3;)p<<=1,R>>=1;return a.createScriptProcessor(p,1,1)}})();y.onaudioprocess=p=>{const b=p.inputBuffer.getChannelData(0);if(T&&!T.isClosed){const R=h.encode(b);R&&T.writeStreamChunk({buffer:R,isEnd:!1,timeReceived:Date.now()})}},u.connect(y),y.connect(a.destination),this.privMediaResources={scriptProcessorNode:y,source:u,stream:E}},g=!!this.privSpeechProcessorScript&&"ignore"===this.privSpeechProcessorScript.toLowerCase();if(a.audioWorklet&&!g){if(!this.privSpeechProcessorScript){const p=new Blob(["class SP extends AudioWorkletProcessor {\n constructor(options) {\n super(options);\n }\n process(inputs, outputs) {\n const input = inputs[0];\n const output = [];\n for (let channel = 0; channel < input.length; channel += 1) {\n output[channel] = input[channel];\n }\n this.port.postMessage(output[0]);\n return true;\n }\n }\n registerProcessor('speech-processor', SP);"],{type:"application/javascript; charset=utf-8"});this.privSpeechProcessorScript=URL.createObjectURL(p)}a.audioWorklet.addModule(this.privSpeechProcessorScript).then(()=>{const y=new AudioWorkletNode(a,"speech-processor");y.port.onmessage=p=>{if(T&&!T.isClosed){const R=h.encode(p.data);R&&T.writeStreamChunk({buffer:R,isEnd:!1,timeReceived:Date.now()})}},u.connect(y),y.connect(a.destination),this.privMediaResources={scriptProcessorNode:y,source:u,stream:E}}).catch(()=>{v()})}else try{v()}catch(y){throw new Error(`Unable to start audio worklet node for PCMRecorder: ${y}`)}}releaseMediaResources(a){this.privMediaResources&&(this.privMediaResources.scriptProcessorNode&&(this.privMediaResources.scriptProcessorNode.disconnect(a.destination),this.privMediaResources.scriptProcessorNode=null),this.privMediaResources.source&&(this.privMediaResources.source.disconnect(),this.privStopInputOnRelease&&this.privMediaResources.stream.getTracks().forEac
1h(E=>E.stop()),this.privMediaResources.source=null))}setWorkletUrl(a){this.privSpeechProcessorScript=a}}},17418:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ProxyInfo=void 0;const c=f(15912);class o{constructor(a,E,T,s){this.privProxyHostName=a,this.privProxyPort=E,this.privProxyUserName=T,this.privProxyPassword=s}static fromParameters(a){return new o(a.getProperty(c.PropertyId.SpeechServiceConnection_ProxyHostName),parseInt(a.getProperty(c.PropertyId.SpeechServiceConnection_ProxyPort),10),a.getProperty(c.PropertyId.SpeechServiceConnection_ProxyUserName),a.getProperty(c.PropertyId.SpeechServiceConnection_ProxyPassword))}static fromRecognizerConfig(a){return this.fromParameters(a.parameters)}get HostName(){return this.privProxyHostName}get Port(){return this.privProxyPort}get UserName(){return this.privProxyUserName}get Password(){return this.privProxyPassword}}_.ProxyInfo=o},393:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ReplayableAudioNode=void 0,_.ReplayableAudioNode=class f{constructor(C,a){this.privBuffers=[],this.privReplayOffset=0,this.privLastShrinkOffset=0,this.privBufferStartOffset=0,this.privBufferSerial=0,this.privBufferedBytes=0,this.privReplay=!1,this.privLastChunkAcquiredTime=0,this.privAudioNode=C,this.privBytesPerSecond=a}id(){return this.privAudioNode.id()}read(){if(this.privReplay&&0!==this.privBuffers.length){let a=Math.round((this.privReplayOffset-this.privBufferStartOffset)*this.privBytesPerSecond*1e-7);a%2!=0&&a++;let E=0;for(;E<this.privBuffers.length&&a>=this.privBuffers[E].chunk.buffer.byteLength;)a-=this.privBuffers[E++].chunk.buffer.byteLength;if(E<this.privBuffers.length){const T=this.privBuffers[E].chunk.buffer.slice(a);return this.privReplayOffset+=T.byteLength/this.privBytesPerSecond*1e7,E===this.privBuffers.length-1&&(this.privReplay=!1),Promise.resolve({buffer:T,isEnd:!1,timeReceived:this.privBuffers[E].chunk.timeReceived})}}return this.privAudioNode.read().then(C=>(C&&C.buffer&&(this.privBuffers.push(new c(C,this.privBufferSerial++,this.privBufferedBytes)),this.privBufferedBytes+=C.buffer.byteLength),C))}detach(){return this.privBuffers=void 0,this.privAudioNode.detach()}replay(){this.privBuffers&&0!==this.privBuffers.length&&(this.privReplay=!0,this.privReplayOffset=this.privLastShrinkOffset)}shrinkBuffers(C){if(void 0===this.privBuffers||0===this.privBuffers.length)return;this.privLastShrinkOffset=C;let E=Math.round((C-this.privBufferStartOffset)*this.privBytesPerSecond*1e-7),T=0;for(;T<this.privBuffers.length&&E>=this.privBuffers[T].chunk.buffer.byteLength;)E-=this.privBuffers[T++].chunk.buffer.byteLength;this.privBufferStartOffset=Math.round(C-E/this.privBytesPerSecond*1e7),this.privBuffers=this.privBuffers.slice(T)}findTimeAtOffset(C){if(C<this.privBufferStartOffset||void 0===this.privBuffers)return 0;for(const a of this.privBuffers){const E=a.byteOffset/this.privBytesPerSecond*1e7;if(C>=E&&C<=E+a.chunk.buffer.byteLength/this.privBytesPerSecond*1e7)return a.chunk.timeReceived}return 0}};class c{constructor(C,a,E){this.chunk=C,this.serial=a,this.byteOffset=E}}},75017:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.RestConfigBase=void 0;class f{static get requestOptions(){return f.privDefaultRequestOptions}static get configParams(){return f.privDefaultParams}static get restErrors(){return f.privRestErrors}}_.RestConfigBase=f,f.privDefaultRequestOptions={headers:{Accept:"application/json"},ignoreCache:!1,timeout:1e4},f.privRestErrors={authInvalidSubscriptionKey:"You must specify either an authentication token to use, or a Cognitive Speech subscription key.",authInvalidSubscriptionRegion:"You must specify the Cognitive Speech region to use.",invalidArgs:"Required input not found: {arg}.",invalidCreateJoinConversationResponse:"Creating/Joining conversation failed with HTTP {status}.",invalidParticipantRequest:"The requested participant was not found.",permissionDeniedConnect:"Required credentials not found.",permissionDeniedConversation:"Invalid operation: only the host can {command} the conversation.",permissionDeniedParticipant:"Invalid operation: only the host can {command} a participant.",permissionDeniedSend:"Invalid operation: the conversation is not in a connected state.",permissionDeniedStart:"Invalid operation: there is already an active conversation."},f.privDefaultParams={apiVersion:"api-version",authorization:"Authorization",clientAppId:"X-ClientAppId",contentTypeKey:"Content-Type",correlationId:"X-CorrelationId",languageCode:"language",nickname:"nickname",profanity:"profanity",requestId:"X-RequestId",roomId:"roomid",sessionToken:"token",subscriptionKey:"Ocp-Apim-Subscription-Key",subscriptionRegion:"Ocp-Apim-Subscription-Region",token:"X-CapitoToken"}},51596:function(ge,_,f){"use strict";var c=f(29293).default,o=this&&this.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};
1Object.defineProperty(_,"__esModule",{value:!0}),_.RestMessageAdapter=_.RestRequestType=void 0;const C=o(f(9654)),a=f(13155);var E,s;(s=E=_.RestRequestType||(_.RestRequestType={})).Get="GET",s.Post="POST",s.Delete="DELETE",s.File="file",_.RestMessageAdapter=class T{constructor(h){if(!h)throw new a.ArgumentNullError("configParams");this.privHeaders=h.headers,this.privIgnoreCache=h.ignoreCache}static extractHeaderValue(h,u){let v="";try{const g=u.trim().split(/[\r\n]+/),y={};g.forEach(p=>{const b=p.split(": "),R=b.shift().toLowerCase(),P=b.join(": ");y[R]=P}),v=y[h.toLowerCase()]}catch{}return v}set options(h){this.privHeaders=h.headers,this.privIgnoreCache=h.ignoreCache}setHeaders(h,u){this.privHeaders[h]=u}request(h,u,v={},g=null){const y=new a.Deferred,p=h===E.File?"POST":h,b=(P,k={})=>{const O=P;return{data:JSON.stringify(k),headers:JSON.stringify(P.headers),json:k,ok:P.statusCode>=200&&P.statusCode<300,status:P.statusCode,statusText:k.error?k.error.message:O.statusText?O.statusText:O.statusMessage}};return this.privIgnoreCache&&(this.privHeaders["Cache-Control"]="no-cache"),h===E.Post&&g&&(this.privHeaders["content-type"]="application/json",this.privHeaders["Content-Type"]="application/json"),(P=>{C.default(u,p,this.privHeaders,200,201,202,204,400,401,402,403,404)(""===this.queryParams(v)?"":`?${this.queryParams(v)}`,P).then(function(){var V=c(function*(K){if(h===E.Delete||204===K.statusCode)y.resolve(b(K));else try{const z=yield K.json();y.resolve(b(K,z))}catch{y.resolve(b(K))}});return function(K){return V.apply(this,arguments)}}()).catch(V=>{y.reject(V)})})(g),y.promise}queryParams(h={}){return Object.keys(h).map(u=>encodeURIComponent(u)+"="+encodeURIComponent(h[u])).join("&")}}},30917:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.WebsocketConnection=void 0;const o=f(13155),C=f(58859);_.WebsocketConnection=class a{constructor(T,s,h,u,v,g=!1,y){if(this.privIsDisposed=!1,!T)throw new o.ArgumentNullError("uri");if(!u)throw new o.ArgumentNullError("messageFormatter");this.privMessageFormatter=u;let p="",b=0;if(s)for(const R in s)if(R){p+=0===b&&-1===T.indexOf("?")?"?":"&",p+=encodeURIComponent(R);let k=s[R];k&&(k=encodeURIComponent(k),p+=`=${k}`),b++}if(h)for(const R in h)R&&(p+=0===b&&-1===T.indexOf("?")?"?":"&",p+=`${R}=${encodeURIComponent(h[R])}`,b++);this.privUri=T+p,this.privId=y||o.createNoDashGuid(),this.privConnectionMessageAdapter=new C.WebsocketMessageAdapter(this.privUri,this.id,this.privMessageFormatter,v,h,g)}dispose(){var T=this;return c(function*(){T.privIsDisposed=!0,T.privConnectionMessageAdapter&&(yield T.privConnectionMessageAdapter.close())})()}isDisposed(){return this.privIsDisposed}get id(){return this.privId}get uri(){return this.privUri}state(){return this.privConnectionMessageAdapter.state}open(){return this.privConnectionMessageAdapter.open()}send(T){return this.privConnectionMessageAdapter.send(T)}read(){return this.privConnectionMessageAdapter.read()}get events(){return this.privConnectionMessageAdapter.events}}},58859:function(ge,_,f){"use strict";var c=f(29293).default,o=this&&this.__createBinding||(Object.create?function(b,R,P,k){void 0===k&&(k=P),Object.defineProperty(b,k,{enumerable:!0,get:function(){return R[P]}})}:function(b,R,P,k){void 0===k&&(k=P),b[k]=R[P]}),C=this&&this.__setModuleDefault||(Object.create?function(b,R){Object.defineProperty(b,"default",{enumerable:!0,value:R})}:function(b,R){b.default=R}),a=this&&this.__importStar||function(b){if(b&&b.__esModule)return b;var R={};if(null!=b)for(var P in b)"default"!==P&&Object.hasOwnProperty.call(b,P)&&o(R,b,P);return C(R,b),R},E=this&&this.__importDefault||function(b){return b&&b.__esModule?b:{default:b}};Object.defineProperty(_,"__esModule",{value:!0}),_.WebsocketMessageAdapter=void 0;const T=a(f(88632)),s=a(f(13678)),h=E(f(26308)),u=E(f(29645)),v=E(f(44573)),g=f(75299),y=f(13155);class p{constructor(R,P,k,O,V,K){if(!R)throw new y.ArgumentNullError("uri");if(!k)throw new y.ArgumentNullError("messageFormatter");this.proxyInfo=O,this.privConnectionEvents=new y.EventSource,this.privConnectionId=P,this.privMe
1ssageFormatter=k,this.privConnectionState=y.ConnectionState.None,this.privUri=R,this.privHeaders=V,this.privEnableCompression=K,this.privHeaders[g.HeaderNames.ConnectionId]=this.privConnectionId,this.privLastErrorReceived=""}get state(){return this.privConnectionState}open(){if(this.privConnectionState===y.ConnectionState.Disconnected)return Promise.reject(`Cannot open a connection that is in ${this.privConnectionState} state`);if(this.privConnectionEstablishDeferral)return this.privConnectionEstablishDeferral.promise;this.privConnectionEstablishDeferral=new y.Deferred,this.privCertificateValidatedDeferral=new y.Deferred,this.privConnectionState=y.ConnectionState.Connecting;try{if(typeof WebSocket<"u"&&!p.forceNpmWebSocket)this.privCertificateValidatedDeferral.resolve(),this.privWebsocketClient=new WebSocket(this.privUri);else{var R,P;const k={headers:this.privHeaders,perMessageDeflate:this.privEnableCompression};this.privCertificateValidatedDeferral.resolve(),k.agent=this.getAgent();let V=new URL(this.privUri).protocol;"wss:"===(null===(R=V)||void 0===R?void 0:R.toLocaleLowerCase())?V="https:":"ws:"===(null===(P=V)||void 0===P?void 0:P.toLocaleLowerCase())&&(V="http:"),k.agent.protocol=V,this.privWebsocketClient=new v.default(this.privUri,k)}this.privWebsocketClient.binaryType="arraybuffer",this.privReceivingMessageQueue=new y.Queue,this.privDisconnectDeferral=new y.Deferred,this.privSendMessageQueue=new y.Queue,this.processSendQueue().catch(k=>{y.Events.instance.onEvent(new y.BackgroundEvent(k))})}catch(k){return this.privConnectionEstablishDeferral.resolve(new y.ConnectionOpenResponse(500,k)),this.privConnectionEstablishDeferral.promise}return this.onEvent(new y.ConnectionStartEvent(this.privConnectionId,this.privUri)),this.privWebsocketClient.onopen=()=>{this.privCertificateValidatedDeferral.promise.then(()=>{this.privConnectionState=y.ConnectionState.Connected,this.onEvent(new y.ConnectionEstablishedEvent(this.privConnectionId)),this.privConnectionEstablishDeferral.resolve(new y.ConnectionOpenResponse(200,""))},k=>{this.privConnectionEstablishDeferral.reject(k)})},this.privWebsocketClient.onerror=k=>{this.onEvent(new y.ConnectionErrorEvent(this.privConnectionId,k.message,k.type)),this.privLastErrorReceived=k.message},this.privWebsocketClient.onclose=k=>{this.privConnectionState===y.ConnectionState.Connecting?(this.privConnectionState=y.ConnectionState.Disconnected,this.privConnectionEstablishDeferral.resolve(new y.ConnectionOpenResponse(k.code,k.reason+" "+this.privLastErrorReceived))):(this.privConnectionState=y.ConnectionState.Disconnected,this.privWebsocketClient=null,this.onEvent(new y.ConnectionClosedEvent(this.privConnectionId,k.code,k.reason))),this.onClose(k.code,k.reason).catch(O=>{y.Events.instance.onEvent(new y.BackgroundEvent(O))})},this.privWebsocketClient.onmessage=k=>{const O=(new Date).toISOString();if(this.privConnectionState===y.ConnectionState.Connected){const V=new y.Deferred;if(this.privReceivingMessageQueue.enqueueFromPromise(V.promise),k.data instanceof ArrayBuffer){const K=new y.RawWebsocketMessage(y.MessageType.Binary,k.data);this.privMessageFormatter.toConnectionMessage(K).then(z=>{this.onEvent(new y.ConnectionMessageReceivedEvent(this.privConnectionId,O,z)),V.resolve(z)},z=>{V.reject(`Invalid binary message format. Error: ${z}`)})}else{const K=new y.RawWebsocketMessage(y.MessageType.Text,k.data);this.privMessageFormatter.toConnectionMessage(K).then(z=>{this.onEvent(new y.ConnectionMessageReceivedEvent(this.privConnectionId,O,z)),V.resolve(z)},z=>{V.reject(`Invalid text message format. Error: ${z}`)})}}},this.privConnectionEstablishDeferral.promise}send(R){if(this.privConnectionState!==y.ConnectionState.Connected)return Promise.reject(`Cannot send on connection that is in ${y.ConnectionState[this.privConnectionState]} state`);const P=new y.Deferred,k=new y.Deferred;return this.privSendMessageQueue.enqueueFromPromise(k.promise),this.privMessageFormatter.fromConnectionMessage(R).then(O=>{k.resolve({Message:R,RawWebsocketMessage:O,sendStatusDeferral:P})},O=>{k.reject(`Error formatting the message. ${O}`)}),P.promise}read(){return this.privConnectionState!==y.ConnectionState.Connected?Promise.reject(`Cannot read on connection that is in ${this.privConnectionState} state`):this.privReceivingMessageQueue.dequeue()}close(R){return this.privWebsocketClient?(this.privConnectionState!==y.ConnectionState.Disconnected&&this.privWebsocketClient.close(1e3,R||"Normal closure by client"),this.privDisconnectDeferral.promise):Promise.resolve()}get events(){return this.privConnectionEvents}sendRawMessage(R){try{return R?(this.onEvent(new y.ConnectionMessageSentEvent(this.privConnectionId,(new Date).toISOString(),R.Message)),this.isWebsocketOpen?(this.privWebsocketClient.send(R.RawWebsocketMessage.payload),Promise.resolve()):Promise.reject("websocket send error: Websocket not ready "+this.privConnectionId+" "+R.Message.id+" "+(new Error).stack)):Promise.resolve()}catch(P){return Promise.reject(`websocket send error: ${P}`)}}onClose(R,P){var k=this;return c(function*(){const O=`Connection closed. ${R}: ${P}`;k.privConnectionState=y.ConnectionState.Disconnected,k.privDisconnectDeferral.resolve(),yield k.privReceivingMessageQueue.drainAndDispose(()=>{},O),yield k.privSendMessageQueue.drainAndDispose(V=>{V.sendStatusDeferral.reject(O)},O)})()}processSendQueue(){var R=this;return c(function*(){for(;;){const k=yield R.privSendMessageQueue.dequeue();if(!k)return;try{yield R.sendRawMessage(k),k.sendStatusDeferral.resolve()}catch(O){k.sendStatusDeferral.reject(O)}}})()}onEvent(R){this.privConnectionEvents.onEvent(R),y.Events.instance.onEvent(R)}getAgent(){const R=new h.default.Agent(this.createConnection);return void 0!==this.proxyInfo&&void 0!==this.proxyInfo.HostName&&this.proxyInfo.Port>0&&(R.proxyInfo=this.proxyInfo),R}static GetProxyAgent(R){const P={host:R.HostName,port:R.Port};return P.headers=R.UserName?{"Proxy-Authentication":"Basic "+new Buffer(`${R.UserName}:${void 0===R.Password?"":R.Password}`).toString("base64")}:{},P.headers.requestOCSP="true",new u.default(P)}createConnection(R,P){let k;if(P={...P,requestOCSP:!0,servername:P.host},this.proxyInfo){const V=p.GetProxyAgent(this.proxyInfo);k=new Promise((K,z)=>{V.callback(R,P,(H,x)=>{H?z(H):K(x)})})}else k=Promise.resolve(P.secureEndpoint?s.connect(P):T.connect(P));return k}get isWebsocketOpen(){return this.privWebsocketClient&&this.privWebsocketClient.readyState===this.privWebsocketClient.OPEN}}_.WebsocketMessageAdapter=p,p.forceNpmWebSocket=!1},41979:(ge,_)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.AddedLmIntent=void 0,_.AddedLmIntent=class f{constructor(o,C){this.modelImpl=o,this.intentName=C}}},22883:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.AgentConfig=void 0,_.AgentConfig=class f{toJsonString(){return JSON.stringify(this.iPrivConfig)}get(){return this.iPrivConfig}set(o){this.iPrivConfig=o}}},25514:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.AvatarSynthesisAdapter=void 0;const c=f(15912),o=f(67971);_.AvatarSynthesisAdapter=class C extends o.SynthesisAdapterBase{constructor(E,T,s,h,u){super(E,T,s,void 0),this.privAvatarSynthesizer=h,this.privSynthesizer=h,this.privAvatarConfig=u}setSynthesisContextSynthesisSection(){this.privSynthesisContext.setSynthesisSection(void 0)}setSpeechConfigSynthesisSection(){var E,T,s,h,u,v,g,y;this.privSynthesizerConfig.synthesisVideoSection={format:{bitrate:null===(E=this.privAvatarConfig.videoFormat)||void 0===E?void 0:E.bitrate,codec:null===(T=this.privAvatarConfig.videoFormat)||void 0===T?void 0:T.codec,crop:{bottomRight:{x:null===(s=this.privAvatarConfig.videoFormat)||void 0===s||null===(s=s.cropRange)||void 0===s||null===(s=s.bottomRight)||void 0===s?void 0:s.x,y:null===(h=this.privAvatarConfig.videoFormat)||void 0===h||null===(h=h.cropRange)||void 0===h||null===(h=h.bottomRight)||void 0===h?void 0:h.y},topLeft:{x:null===(u=this.privAvatarConfig.videoFormat)||void 0===u||null===(u=u.cropRange)||void 0===u||null===(u=u.topLeft)||void 0===u?void 0:u.x,y:null===(v=this.privAvatarConfig.videoFormat)||void 0===v||null===(v=v.cropRange)||void 0===v||null===(v=v.topLeft)||void 0===v?void 0:v.y}},resolution:{height:null===(g=this.privAvatarConfig.videoFormat)||void 0===g?void 0:g.height,width:null===(y=this.privAvatarConfig.videoFormat)||void 0===y?void 0:y.width}},protocol:{name:"WebRTC",webrtcConfig:{clientDescription:btoa(this.privSynthesizerConfig.parameters.getProperty(c.PropertyId.TalkingAvatarService_WebRTC_SDP)),iceServers:this.privAvatarSynthesizer.iceServers}},talkingAvatar:{background:{color:this.privAvatarConfig.backgroundColor},character:this.privAvatarConfig.character,customized:this.privAvatarConfig.customized,style:this.privAvatarConfig.style}}}onAvatarEvent(E){if(this.privAvatarSynthesizer.avatarEventReceived){const T=new c.AvatarEventArgs(E.Data.Offset,E.Data.Name);try{this.privAvatarSynthesizer.avatarEventReceived(this.privAvatarSynthesizer,T)}catch{}}}}},59846:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.CognitiveSubscriptionKeyAuthentication=void 0;const c=f(13155),o=f(75299),C=f(63291);_.CognitiveSubscriptionKeyAuthentication=class a{constructor(T){if(!T)throw new c.ArgumentNullError("subscriptionKey");this.privAuthInfo=new C.AuthInfo(o.HeaderNames.AuthKey,T)}fetch(T){return Promise.resolve(this.privAuthInfo)}fetchOnExpiry(T){return Promise.resolve(this.privAuthInfo)}}},2175:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.CognitiveTokenAuthentication=void 0;const c=f(13155),o=f(63291),C=f(75299);class a{constructor(T,s){if(!T)throw new c.ArgumentNullError("fetchCallback");if(!s)throw new c.ArgumentNullError("fetchOnExpiryCallback");this.privFetchCallback=T,this.privFetchOnExpiryCallback=s}fetch(T){return this.privFetchCallback(T).then(s=>new o.AuthInfo(C.HeaderNames.Authorization,void 0===s?void 0:a.privTokenPrefix+s))}fetchOnExpiry(T){return this.privFetchOnExpiryCallback(T).then(s=>new o.AuthInfo(C.HeaderNames.Authorization,void 0===s?void 0:a.privTokenPrefix+s))}}_.CognitiveTokenAuthentication=a,a.privTokenPrefix="Bearer "},32135:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConnectionFactoryBase=void 0;const c=f(67971),o=f(15912),C=f(89797);_.ConnectionFactoryBase=class a{static getHostSuffix(T){if(T){if(T.toLowerCase().startsWith("china"))return".azure.cn";if(T.toLowerCase().startsWith("usgov"))return".azure.us"}return".microsoft.com"}setCommonUrlParams(T,s,h){new Map([[o.PropertyId.Speech_SegmentationSilenceTimeoutMs,C.QueryParameterNames.SegmentationSilenceTimeoutMs],[o.PropertyId.SpeechServiceConnection_EnableAudioLogging,C.QueryParameterNames.EnableAudioLogging],[o.PropertyId.SpeechServiceConnection_EndSilenceTimeoutMs,C.QueryParameterNames.EndSilenceTimeoutMs],[o.PropertyId.SpeechServiceConnection_InitialSilenceTimeoutMs,C.QueryParameterNames.InitialSilenceTimeoutMs],[o.PropertyId.SpeechServiceResponse_PostProcessingOption,C.QueryParameterNames.Postprocessing],[o.PropertyId.SpeechServiceResponse_ProfanityOption,C.QueryParameterNames.Profanity],[o.PropertyId.SpeechServiceResponse_RequestWordLevelTimestamps,C.QueryParameterNames.EnableWordLevelTimestamps],[o.PropertyId.SpeechServiceResponse_StableParti
1alResultThreshold,C.QueryParameterNames.StableIntermediateThreshold]]).forEach((g,y)=>{this.setUrlParameter(y,g,T,s,h)});const v=JSON.parse(T.parameters.getProperty(c.ServicePropertiesPropertyName,"{}"));Object.keys(v).forEach(g=>{s[g]=v[g]})}setUrlParameter(T,s,h,u,v){const g=h.parameters.getProperty(T,void 0);g&&(!v||-1===v.search(s))&&(u[s]=g.toLocaleLowerCase())}}},76556:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationServiceRecognizer=void 0;const o=f(15912),C=f(67971);_.ConversationServiceRecognizer=class a extends C.ServiceRecognizerBase{constructor(T,s,h,u,v){var g;super(T,s,h,u,v),g=this,this.handleSpeechPhraseMessage=function(){var y=c(function*(p){return g.handleSpeechPhrase(p)});return function(p){return y.apply(this,arguments)}}(),this.handleSpeechHypothesisMessage=y=>this.handleSpeechHypothesis(y)}processTypeSpecificMessages(T){}handleRecognizedCallback(T,s,h){}handleRecognizingCallback(T,s,h){}processSpeechMessages(T){var s=this;return c(function*(){let h=!1;switch(T.path.toLowerCase()){case"speech.hypothesis":case"speech.fragment":s.handleSpeechHypothesisMessage&&s.handleSpeechHypothesisMessage(T.textBody),h=!0;break;case"speech.phrase":s.handleSpeechPhraseMessage&&(yield s.handleSpeechPhraseMessage(T.textBody)),h=!0}return h})()}cancelRecognition(T,s,h,u,v){}handleSpeechPhrase(T){var s=this;return c(function*(){const h=C.SimpleSpeechPhrase.fromJSON(T),u=C.EnumTranslation.implTranslateRecognitionResult(h.RecognitionStatus);let v;const g=new o.PropertyCollection;g.setProperty(o.PropertyId.SpeechServiceResponse_JsonResult,T);const y=h.Offset+s.privRequestSession.currentTurnAudioOffset;let p=y;if(s.privRequestSession.onPhraseRecognized(s.privRequestSession.currentTurnAudioOffset+h.Offset+h.Duration),o.ResultReason.Canceled===u){const b=C.EnumTranslation.implTranslateCancelResult(h.RecognitionStatus),R=C.EnumTranslation.implTranslateCancelErrorCode(h.RecognitionStatus);yield s.cancelRecognitionLocal(b,R,C.EnumTranslation.implTranslateErrorDetails(R))}else if(!s.privRequestSession.isSpeechEnded||u!==o.ResultReason.NoMatch||h.RecognitionStatus===C.RecognitionStatus.InitialSilenceTimeout){if(s.privRecognizerConfig.parameters.getProperty(C.OutputFormatPropertyName)===o.OutputFormat[o.OutputFormat.Simple])v=new o.SpeechRecognitionResult(s.privRequestSession.requestId,u,h.DisplayText,h.Duration,y,h.Language,h.LanguageDetectionConfidence,h.SpeakerId,void 0,T,g);else{const b=C.DetailedSpeechPhrase.fromJSON(T),R=b.Offset+s.privRequestSession.currentTurnAudioOffset,P=b.getJsonWithCorrectedOffsets(R);v=new o.SpeechRecognitionResult(s.privRequestSession.requestId,u,b.Text,b.Duration,R,b.Language,b.LanguageDetectionConfidence,b.SpeakerId,void 0,P,g),p=v.offset}s.handleRecognizedCallback(v,p,s.privRequestSession.sessionId)}})()}handleSpeechHypothesis(T){const s=C.SpeechHypothesis.fromJSON(T),h=s.Offset+this.privRequestSession.currentTurnAudioOffset,u=new o.PropertyCollection;u.setProperty(o.PropertyId.SpeechServiceResponse_JsonResult,T);const v=new o.SpeechRecognitionResult(this.privRequestSession.requestId,o.ResultReason.RecognizingSpeech,s.Text,s.Duration,h,s.Language,s.LanguageDetectionConfidence,s.SpeakerId,void 0,T,u);this.privRequestSession.onHypothesis(h),this.handleRecognizingCallback(v,s.Duration,this.privRequestSession.sessionId)}}},67610:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationTranscriberConnectionFactory=void 0;const c=f(20709),o=f(15912),C=f(67971),a=f(32135),E=f(67971),T=f(75299),s=f(89797);_.ConversationTranscriberConnectionFactory=class h extends a.ConnectionFactoryBase{constructor(){super(...arguments),this.universalUri="/speech/universal/v2"}create(v,g,y){let p=v.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Endpoint,void 0);const b=v.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Region,void 0),R=a.ConnectionFactoryBase.getHostSuffix(b),P=v.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Host,"wss://"+b+".stt.speech"+R),k={},O=v.parameters.getProperty(o.PropertyId.SpeechServiceConnection_EndpointId,void 0),V=v.parameters.getProperty(o.PropertyId.SpeechServiceConnection_RecoLanguage,void 0);
1O?(!p||-1===p.search(s.QueryParameterNames.CustomSpeechDeploymentId))&&(k[s.QueryParameterNames.CustomSpeechDeploymentId]=O):V&&(!p||-1===p.search(s.QueryParameterNames.Language))&&(k[s.QueryParameterNames.Language]=V),void 0!==v.autoDetectSourceLanguages&&(k[s.QueryParameterNames.EnableLanguageId]="true"),this.setV2UrlParams(v,k,p),p||(p=`${P}${this.universalUri}`);const K={};void 0!==g.token&&""!==g.token&&(K[g.headerName]=g.token),K[T.HeaderNames.ConnectionId]=y;const z="true"===v.parameters.getProperty("SPEECH-EnableWebsocketCompression","false"),H=new c.WebsocketConnection(p,k,K,new E.WebsocketMessageFormatter,c.ProxyInfo.fromRecognizerConfig(v),z,y);return v.parameters.setProperty(o.PropertyId.SpeechServiceConnection_Url,H.uri),H}setV2UrlParams(v,g,y){new Map([[o.PropertyId.Speech_SegmentationSilenceTimeoutMs,s.QueryParameterNames.SegmentationSilenceTimeoutMs],[o.PropertyId.SpeechServiceConnection_EnableAudioLogging,s.QueryParameterNames.EnableAudioLogging],[o.PropertyId.SpeechServiceConnection_EndSilenceTimeoutMs,s.QueryParameterNames.EndSilenceTimeoutMs],[o.PropertyId.SpeechServiceConnection_InitialSilenceTimeoutMs,s.QueryParameterNames.InitialSilenceTimeoutMs],[o.PropertyId.SpeechServiceResponse_PostProcessingOption,s.QueryParameterNames.Postprocessing],[o.PropertyId.SpeechServiceResponse_ProfanityOption,s.QueryParameterNames.Profanity],[o.PropertyId.SpeechServiceResponse_StablePartialResultThreshold,s.QueryParameterNames.StableIntermediateThreshold]]).forEach((R,P)=>{this.setUrlParameter(P,R,v,g,y)});const b=JSON.parse(v.parameters.getProperty(C.ServicePropertiesPropertyName,"{}"));Object.keys(b).forEach(R=>{g[R]=b[R]})}}},74880:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationTranscriptionServiceRecognizer=void 0;const o=f(15912),C=f(67971);_.ConversationTranscriptionServiceRecognizer=class a extends C.ServiceRecognizerBase{constructor(T,s,h,u,v){super(T,s,h,u,v),this.privConversationTranscriber=v,this.setSpeakerDiarizationJson()}setSpeakerDiarizationJson(){if(this.privEnableSpeakerId){const T=this.privSpeechContext.getSection("phraseDetection");T.mode="Conversation";const s={mode:"Anonymous"};s.audioSessionId=this.privDiarizationSessionId,s.audioOffsetMs=0,T.speakerDiarization=s,this.privSpeechContext.setSection("phraseDetection",T)}}processTypeSpecificMessages(T){var s=this;return c(function*(){let h;const u=new o.PropertyCollection;u.setProperty(o.PropertyId.SpeechServiceResponse_JsonResult,T.textBody);let v=!1;switch(T.path.toLowerCase()){case"speech.hypothesis":case"speech.fragment":const g=C.SpeechHypothesis.fromJSON(T.textBody),y=g.Offset+s.privRequestSession.currentTurnAudioOffset;h=new o.ConversationTranscriptionResult(s.privRequestSession.requestId,o.ResultReason.RecognizingSpeech,g.Text,g.Duration,y,g.Language,g.LanguageDetectionConfidence,void 0,void 0,T.textBody,u),s.privRequestSession.onHypothesis(y);const p=new o.ConversationTranscriptionEventArgs(h,g.Duration,s.privRequestSession.sessionId);if(s.privConversationTranscriber.transcribing)try{s.privConversationTranscriber.transcribing(s.privConversationTranscriber,p)}catch{}v=!0;break;case"speech.phrase":const b=C.SimpleSpeechPhrase.fromJSON(T.textBody),R=C.EnumTranslation.implTranslateRecognitionResult(b.RecognitionStatus);if(s.privRequestSession.onPhraseRecognized(s.privRequestSession.currentTurnAudioOffset+b.Offset+b.Duration),o.ResultReason.Canceled===R){const P=C.EnumTranslation.implTranslateCancelResult(b.RecognitionStatus),k=C.EnumTranslation.implTranslateCancelErrorCode(b.RecognitionStatus);yield s.cancelRecognitionLocal(P,k,C.EnumTranslation.implTranslateErrorDetails(k))}else if(!s.privRequestSession.isSpeechEnded||R!==o.ResultReason.NoMatch||b.RecognitionStatus===C.RecognitionStatus.InitialSilenceTimeout){if(s.privRecognizerConfig.parameters.getProperty(C.OutputFormatPropertyName)===o.OutputFormat[o.OutputFormat.Simple])h=new o.ConversationTranscriptionResult(s.privRequestSession.requestId,R,b.DisplayText,b.Duration,b.Offset+s.privRequestSession.currentTurnAudioOffset,b.Language,b.LanguageDetectionConfidence,b.SpeakerId,void 0,T.textBody,u);
1else{const k=C.DetailedSpeechPhrase.fromJSON(T.textBody),O=k.Offset+s.privRequestSession.currentTurnAudioOffset,V=k.getJsonWithCorrectedOffsets(O);h=new o.ConversationTranscriptionResult(s.privRequestSession.requestId,R,k.RecognitionStatus===C.RecognitionStatus.Success?k.NBest[0].Display:void 0,k.Duration,O,k.Language,k.LanguageDetectionConfidence,b.SpeakerId,void 0,V,u)}const P=new o.ConversationTranscriptionEventArgs(h,h.offset,s.privRequestSession.sessionId);if(s.privConversationTranscriber.transcribed)try{s.privConversationTranscriber.transcribed(s.privConversationTranscriber,P)}catch{}}v=!0}return v})()}cancelRecognition(T,s,h,u,v){if((new o.PropertyCollection).setProperty(C.CancellationErrorCodePropertyName,o.CancellationErrorCode[u]),this.privConversationTranscriber.canceled){const y=new o.ConversationTranscriptionCanceledEventArgs(h,v,u,void 0,T);try{this.privConversationTranscriber.canceled(this.privConversationTranscriber,y)}catch{}}}}},88801:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.DialogConnectionFactory=void 0;const c=f(20709),o=f(67971),C=f(15912),a=f(32135),E=f(67971),T=f(75299),s=f(89797);class h extends a.ConnectionFactoryBase{create(v,g,y){const p=v.parameters.getProperty(C.PropertyId.Conversation_ApplicationId,""),b=v.parameters.getProperty(C.PropertyId.Conversation_DialogType),R=v.parameters.getProperty(C.PropertyId.SpeechServiceConnection_Region),P=v.parameters.getProperty(C.PropertyId.SpeechServiceConnection_RecoLanguage,"en-US"),k=v.parameters.getProperty(C.PropertyId.Conversation_Request_Bot_Status_Messages,"true"),O={};O[T.HeaderNames.ConnectionId]=y,O[s.QueryParameterNames.Format]=v.parameters.getProperty(o.OutputFormatPropertyName,C.OutputFormat[C.OutputFormat.Simple]).toLowerCase(),O[s.QueryParameterNames.Language]=P,O[s.QueryParameterNames.RequestBotStatusMessages]=k,p&&(O[s.QueryParameterNames.BotId]=p,b===C.DialogServiceConfig.DialogTypes.CustomCommands&&(O[T.HeaderNames.CustomCommandsAppId]=p));const V=b===C.DialogServiceConfig.DialogTypes.CustomCommands?"commands/":"",K=b===C.DialogServiceConfig.DialogTypes.CustomCommands?"v1":b===C.DialogServiceConfig.DialogTypes.BotFramework?"v3":"v0",z={};null!=g.token&&""!==g.token&&(z[g.headerName]=g.token);let H=v.parameters.getProperty(C.PropertyId.SpeechServiceConnection_Endpoint,"");if(!H){const q=a.ConnectionFactoryBase.getHostSuffix(R),Z=v.parameters.getProperty(C.PropertyId.SpeechServiceConnection_Host,`wss://${R}.${h.BaseUrl}${q}`);H=`${Z.endsWith("/")?Z:Z+"/"}${V}${h.ApiKey}/${K}`}this.setCommonUrlParams(v,O,H);const x="true"===v.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new c.WebsocketConnection(H,O,z,new E.WebsocketMessageFormatter,c.ProxyInfo.fromRecognizerConfig(v),x,y)}}_.DialogConnectionFactory=h,h.ApiKey="api",h.BaseUrl="convai.speech"},23968:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.DialogServiceAdapter=void 0;const o=f(20709),C=f(15603),a=f(13155),E=f(42466),T=f(15912),s=f(10360),h=f(67971),u=f(34156),v=f(58734);_.DialogServiceAdapter=class g extends h.ServiceRecognizerBase{constructor(p,b,R,P,k){super(p,b,R,P,k),this.privEvents=new a.EventSource,this.privDialogServiceConnector=k,this.receiveMessageOverride=()=>this.receiveDialogMessageOverride(),this.privTurnStateManager=new s.DialogServiceTurnStateManager,this.recognizeOverride=(O,V,K)=>this.listenOnce(O,V,K),this.postConnectImplOverride=O=>this.dialogConnectImpl(O),this.configConnectionOverride=O=>this.configConnection(O),this.disconnectOverride=()=>this.privDisconnect(),this.privDialogAudioSource=R,this.agentConfigSent=!1,this.privLastResult=null,this.connectionEvents.attach(O=>{"ConnectionClosedEvent"===O.name&&(this.terminateMessageLoop=!0)})}sendMessage(p){var b=this;return c(function*(){const R=a.createGuid(),P=a.createNoDashGuid(),k={context:{interactionId:R},messagePayload:JSON.parse(p),version:.5},O=JSON.stringify(k);yield(yield b.fetchConnection()).send(new v.SpeechConnectionMessage(a.MessageType.Text,"agent",P,"application/json",O))})()}privDisconnect(){var p=this;return c(function*(){yield p.cancelRecognition(p.privRequestSession.sessionId,p.privRequestSession.requestId,T.CancellationReason.Error,T.CancellationErrorCode.NoError,"Disconnecting"),p.terminateMessageLoop=!0,p.agentConfigSent=!1})()}processTypeSpecificMessages(p){const b=new T.PropertyCollection;let R,P;switch(p.messageType===a.MessageType.Text&&b.setProperty(T.PropertyId.SpeechServiceResponse_JsonResult,p.textBody),p.path.toLowerCase()){case"speech.phrase":const O=h.SimpleSpeechPhrase.fromJSON(p.textBody);if(this.privRequestSession.onPhraseRecognized(this.privRequestSession.currentTurnAudioOffset+O.Offset+O.Duration),O.RecognitionStatus!==
1h.RecognitionStatus.TooManyRequests&&O.RecognitionStatus!==h.RecognitionStatus.Error){const q=this.fireEventForResult(O,b);if(this.privLastResult=q.result,this.privDialogServiceConnector.recognized)try{this.privDialogServiceConnector.recognized(this.privDialogServiceConnector,q)}catch{}}P=!0;break;case"speech.hypothesis":const V=h.SpeechHypothesis.fromJSON(p.textBody),K=V.Offset+this.privRequestSession.currentTurnAudioOffset;R=new T.SpeechRecognitionResult(this.privRequestSession.requestId,T.ResultReason.RecognizingSpeech,V.Text,V.Duration,K,V.Language,V.LanguageDetectionConfidence,void 0,void 0,p.textBody,b),this.privRequestSession.onHypothesis(K);const z=new T.SpeechRecognitionEventArgs(R,V.Duration,this.privRequestSession.sessionId);if(this.privDialogServiceConnector.recognizing)try{this.privDialogServiceConnector.recognizing(this.privDialogServiceConnector,z)}catch{}P=!0;break;case"speech.keyword":const H=h.SpeechKeyword.fromJSON(p.textBody);R=new T.SpeechRecognitionResult(this.privRequestSession.requestId,"Accepted"===H.Status?T.ResultReason.RecognizedKeyword:T.ResultReason.NoMatch,H.Text,H.Duration,H.Offset,void 0,void 0,void 0,void 0,p.textBody,b),"Accepted"!==H.Status&&(this.privLastResult=R);const x=new T.SpeechRecognitionEventArgs(R,R.duration,R.resultId);if(this.privDialogServiceConnector.recognized)try{this.privDialogServiceConnector.recognized(this.privDialogServiceConnector,x)}catch{}P=!0;break;case"audio":{const q=p.requestId.toUpperCase(),Z=this.privTurnStateManager.GetTurn(q);try{p.binaryBody?Z.audioStream.write(p.binaryBody):Z.endAudioStream()}catch{}}P=!0;break;case"response":this.handleResponseMessage(p),P=!0}const k=new a.Deferred;return k.resolve(P),k.promise}cancelRecognition(p,b,R,P,k){var O=this;return c(function*(){if(O.terminateMessageLoop=!0,O.privRequestSession.isRecognizing&&(yield O.privRequestSession.onStopRecognizing(
1)),O.privDialogServiceConnector.canceled){const V=new T.PropertyCollection;V.setProperty(h.CancellationErrorCodePropertyName,T.CancellationErrorCode[P]);const K=new T.SpeechRecognitionCanceledEventArgs(R,k,P,void 0,p);try{O.privDialogServiceConnector.canceled(O.privDialogServiceConnector,K)}catch{}if(O.privSuccessCallback){const z=new T.SpeechRecognitionResult(void 0,T.ResultReason.Canceled,void 0,void 0,void 0,void 0,void 0,void 0,k,void 0,V);try{O.privSuccessCallback(z),O.privSuccessCallback=void 0}catch{}}}})()}listenOnce(p,b,R){var P=this;return c(function*(){P.privRecognizerConfig.recognitionMode=p,P.privSuccessCallback=b,P.privErrorCallback=R,P.privRequestSession.startNewRecognition(),P.privRequestSession.listenForServiceTelemetry(P.privDialogAudioSource.events),P.privRecognizerConfig.parameters.setProperty(T.PropertyId.Speech_SessionId,P.privRequestSession.sessionId);const k=P.connectImpl(),O=P.sendPreAudioMessages(),V=yield P.privDialogAudioSource.attach(P.privRequestSession.audioNodeId),K=yield P.privDialogAudioSource.format,z=yield P.privDialogAudioSource.deviceInfo,H=new o.ReplayableAudioNode(V,K.avgBytesPerSec);yield P.privRequestSession.onAudioSourceAttachCompleted(H,!1),P.privRecognizerConfig.SpeechServiceConfig.Context.audio={source:z};try{yield k,yield O}catch(Z){return yield P.cancelRecognition(P.privRequestSession.sessionId,P.privRequestSession.requestId,T.CancellationReason.Error,T.CancellationErrorCode.ConnectionFailure,Z),Promise.resolve()}const x=new T.SessionEventArgs(P.privRequestSession.sessionId);P.privRecognizer.sessionStarted&&P.privRecognizer.sessionStarted(P.privRecognizer,x),P.sendAudio(H).then(()=>{},function(){var Z=c(function*(de){yield P.cancelRecognition(P.privRequestSession.sessionId,P.privRequestSession.requestId,T.CancellationReason.Error,T.CancellationErrorCode.RuntimeError,de)});return function(de){return Z.apply(this,arguments)}}())})()}dialogConnectImpl(p){return this.privConnectionLoop=this.startMessageLoop(),p}receiveDialogMessageOverride(){var p=this;const b=new a.Deferred,R=function(){var P=c(function*(){try{const k=p.isDisposed(),O=!p.isDisposed()&&p.terminateMessageLoop;if(k||O)return void b.resolve(void 0);const K=yield(yield p.fetchConnection()).read();if(!K)return R();const z=v.SpeechConnectionMessage.fromConnectionMessage(K);switch(z.path.toLowerCase()){case"turn.start":{const Y=z.requestId.toUpperCase();Y!==p.privRequestSession.requestId.toUpperCase()?p.privTurnStateManager.StartTurn(Y):p.privRequestSession.onServiceTurnStartResponse()}break;case"speech.startdetected":const x=h.SpeechDetected.fromJSON(z.textBody),q=new T.RecognitionEventArgs(x.Offset,p.privRequestSession.sessionId);p.privRecognizer.speechStartDetected&&p.privRecognizer.speechStartDetected(p.privRecognizer,q);break;case"speech.enddetected":let Z;Z=z.textBody.length>0?z.textBody:"{ Offset: 0 }";const de=h.SpeechDetected.fromJSON(Z);p.privRequestSession.onServiceRecognized(de.Offset+p.privRequestSession.currentTurnAudioOffset);const ee=new T.RecognitionEventArgs(de.Offset+p.privRequestSession.currentTurnAudioOffset,p.privRequestSession.sessionId);p.privRecognizer.speechEndDetected&&p.privRecognizer.speechEndDetected(p.privRecognizer,ee);break;case"turn.end":{const Y=z.requestId.toUpperCase();if(Y!==p.privRequestSession.requestId.toUpperCase())p.privTurnStateManager.CompleteTurn(Y);else{const fe=new T.SessionEventArgs(p.privRequestSession.sessionId);if(yield p.privRequestSession.onServiceTurnEndResponse(!1),(!p.privRecognizerConfig.isContinuousRecognition||p.privRequestSession.isSpeechEnded||!p.privRequestSession.isRecognizing)&&p.privRecognizer.sessionStopped&&p.privRecognizer.sessionStopped(p.privRecognizer,fe),p.privSuccessCallback&&p.privLastResult){try{p.privSuccessCallback(p.privLastResult),p.privLastResult=null}catch(ne){p.privErrorCallback&&p.privErrorCallback(ne)}p.privSuccessCallback=void 0,p.privErrorCallback=void 0}}}break;default:try{(yield p.processTypeSpecificMessages(z))||p.serviceEvents&&p.serviceEvents.onEvent(new a.ServiceEvent(z.path.toLowerCase(),z.textBody))}catch{}}return R()}catch{p.terminateMessageLoop=!0,b.resolve()}});return function(){return P.apply(this,arguments)}}();return R().catch(P=>
1{a.Events.instance.onEvent(new a.BackgroundEvent(P))}),b.promise}startMessageLoop(){var p=this;return c(function*(){p.terminateMessageLoop=!1;try{yield p.receiveDialogMessageOverride()}catch(b){yield p.cancelRecognition(p.privRequestSession.sessionId,p.privRequestSession.requestId,T.CancellationReason.Error,T.CancellationErrorCode.RuntimeError,b)}return Promise.resolve()})()}configConnection(p){var b=this;return c(function*(){return b.terminateMessageLoop?(b.terminateMessageLoop=!1,Promise.reject("Connection to service terminated.")):(yield b.sendSpeechServiceConfig(p,b.privRequestSession,b.privRecognizerConfig.SpeechServiceConfig.serialize()),yield b.sendAgentConfig(p),p)})()}sendPreAudioMessages(){var p=this;return c(function*(){const b=yield p.fetchConnection();p.addKeywordContextData(),yield p.sendSpeechContext(b,!0),yield p.sendAgentContext(b),yield p.sendWaveHeader(b)})()}sendAgentConfig(p){if(this.agentConfig&&!this.agentConfigSent){if(this.privRecognizerConfig.parameters.getProperty(T.PropertyId.Conversation_DialogType)===T.DialogServiceConfig.DialogTypes.CustomCommands){const R=this.agentConfig.get();R.botInfo.commandsCulture=this.privRecognizerConfig.parameters.getProperty(T.PropertyId.SpeechServiceConnection_RecoLanguage,"en-us"),this.agentConfig.set(R)}this.onEvent(new C.SendingAgentContextMessageEvent(this.agentConfig));const b=this.agentConfig.toJsonString();return this.agentConfigSent=!0,p.send(new v.SpeechConnectionMessage(a.MessageType.Text,"agent.config",this.privRequestSession.requestId,"application/json",b))}}sendAgentContext(p){const b=a.createGuid(),R=this.privDialogServiceConnector.properties.getProperty(T.PropertyId.Conversation_Speech_Activity_Template),k=JSON.stringify({channelData:"",context:{interactionId:b},messagePayload:void 0===typeof R?void 0:R,version:.5});return p.send(new v.SpeechConnectionMessage(a.MessageType.Text,"speech.agent.context",this.privRequestSession.requestId,"application/json",k))}fireEventForResult(p,b){const R=h.EnumTranslation.implTranslateRecognitionResult(p.RecognitionStatus),P=p.Offset+this.privRequestSession.currentTurnAudioOffset,k=new T.SpeechRecognitionResult(this.privRequestSession.requestId,R,p.DisplayText,p.Duration,P,p.Language,p.LanguageDetectionConfidence,void 0,void 0,JSON.stringify(p),b);return new T.SpeechRecognitionEventArgs(k,P,this.privRequestSession.sessionId)}handleResponseMessage(p){const b=JSON.parse(p.textBody);switch(b.messageType.toLowerCase()){case"message":const R=p.requestId.toUpperCase(),P=u.ActivityPayloadResponse.fromJSON(p.textBody),k=this.privTurnStateManager.GetTurn(R);if(P.conversationId){const K=this.agentConfig.get();K.botInfo.conversationId=P.conversationId,this.agentConfig.set(K)}const O=k.processActivityPayload(P,E.AudioOutputFormatImpl.fromSpeechSynthesisOutputFormatString(this.privDialogServiceConnector.properties.getProperty(T.PropertyId.SpeechServiceConnection_SynthOutputFormat,void 0))),V=new T.ActivityReceivedEventArgs(P.messagePayload,O);if(this.privDialogServiceConnector.activityReceived)try{this.privDialogServiceConnector.activityReceived(this.privDialogServiceConnector,V)}catch{}break;case"messagestatus":if(this.privDialogServiceConnector.turnStatusReceived)try{this.privDialogServiceConnector.turnStatusReceived(this.privDialogServiceConnector,new T.TurnStatusReceivedEventArgs(p.textBody))}catch{}break;default:a.Events.instance.onEvent(new a.BackgroundEvent(`Unexpected response of type ${b.messageType}. Ignoring.`))}}onEvent(p){this.privEvents.onEvent(p),a.Events.instance.onEvent(p)}addKeywordContextData(){const p=this.privRecognizerConfig.parameters.getProperty("SPEECH-KeywordsToDetect");if(void 0===p)return;const b=this.privRecognizerConfig.parameters.getProperty("SPEECH-KeywordsToDetect-Offsets"),R=this.privRecognizerConfig.parameters.getProperty("SPEECH-KeywordsToDetect-Durations"),P=p.split(";"),k=void 0===b?[]:b.split(";"),O=void 0===R?[]:R.split(";"),V=[];for(let K=0;K<P.length;K++){const z={};z.text=P[K],K<k.length&&(z.offset=Number(k[K])),K<O.length&&(z.duration=Number(O[K])),V.push(z)}this.speechContext.setSection("invocationSource","VoiceActivationWithKeyword"),this.speechContext.setSection("keywordDetection",[{clientDetectedKeywords:V,onReject:{action:"EndOfTurn"},type:"startTrigger"}])}}},53899:(ge,_,f)=>{"use strict";
vendor: 4,880 bytes, line 1
1Object.defineProperty(_,"__esModule",{value:!0}),_.DialogServiceTurnState=void 0;const c=f(42466),o=f(50221),C=f(34156);_.DialogServiceTurnState=class a{constructor(T,s){this.privRequestId=s,this.privIsCompleted=!1,this.privAudioStream=null,this.privTurnManager=T,this.resetTurnEndTimeout()}get audioStream(){return this.resetTurnEndTimeout(),this.privAudioStream}processActivityPayload(T,s){return T.messageDataStreamType===C.MessageDataStreamType.TextToSpeechAudio&&(this.privAudioStream=o.AudioOutputStream.createPullStream(),this.privAudioStream.format=void 0!==s?s:c.AudioOutputFormatImpl.getDefaultOutputFormat()),this.privAudioStream}endAudioStream(){null!==this.privAudioStream&&!this.privAudioStream.isClosed&&this.privAudioStream.close()}complete(){void 0!==this.privTimeoutToken&&clearTimeout(this.privTimeoutToken),this.endAudioStream()}resetTurnEndTimeout(){void 0!==this.privTimeoutToken&&clearTimeout(this.privTimeoutToken),this.privTimeoutToken=setTimeout(()=>{this.privTurnManager.CompleteTurn(this.privRequestId)},2e3)}}},10360:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.DialogServiceTurnStateManager=void 0;const c=f(76814),o=f(53899);_.DialogServiceTurnStateManager=class C{constructor(){this.privTurnMap=new Map}StartTurn(E){if(this.privTurnMap.has(E))throw new c.InvalidOperationError("Service error: There is already a turn with id:"+E);const T=new o.DialogServiceTurnState(this,E);return this.privTurnMap.set(E,T),this.privTurnMap.get(E)}GetTurn(E){return this.privTurnMap.get(E)}CompleteTurn(E){if(!this.privTurnMap.has(E))throw new c.InvalidOperationError("Service error: Received turn end for an unknown turn id:"+E);const T=this.privTurnMap.get(E);return T.complete(),this.privTurnMap.delete(E),T}}},83797:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.DynamicGrammarBuilder=void 0,_.DynamicGrammarBuilder=class f{addPhrase(o){this.privPhrases||(this.privPhrases=[]),o instanceof Array?this.privPhrases=this.privPhrases.concat(o):this.privPhrases.push(o)}clearPhrases(){this.privPhrases=void 0}addReferenceGrammar(o){this.privGrammars||(this.privGrammars=[]),o instanceof Array?this.privGrammars=this.privGrammars.concat(o):this.privGrammars.push(o)}clearGrammars(){this.privGrammars=void 0}generateGrammarObject(){if(void 0===this.privGrammars&&void 0===this.privPhrases)return;const o={};if(o.ReferenceGrammars=this.privGrammars,void 0!==this.privPhrases&&0!==this.privPhrases.length){const C=[];this.privPhrases.forEach(a=>{C.push({Text:a})}),o.Groups=[{Type:"Generic",Items:C}]}return o}}},37160:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},14316:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.EnumTranslation=void 0;const c=f(15912),o=f(67971);_.EnumTranslation=class C{static implTranslateRecognitionResult(E,T=!1){let s=c.ResultReason.Canceled;switch(E){case o.RecognitionStatus.Success:s=c.ResultReason.RecognizedSpeech;break;case o.RecognitionStatus.EndOfDictation:s=T?c.ResultReason.RecognizedSpeech:c.ResultReason.NoMatch;break;case o.RecognitionStatus.NoMatch:case o.RecognitionStatus.InitialSilenceTimeout:case o.RecognitionStatus.BabbleTimeout:s=c.ResultReason.NoMatch;break;default:s=c.ResultReason.Canceled}return s}static implTranslateCancelResult(E){let T=c.CancellationReason.EndOfStream;switch(E){case o.RecognitionStatus.Success:case o.RecognitionStatus.EndOfDictation:case o.RecognitionStatus.NoMatch:T=c.CancellationReason.EndOfStream;break;default:T=c.CancellationReason.Error}return T}static implTranslateCancelErrorCode(E){let T=c.CancellationErrorCode.NoError;switch(E){case o.RecognitionStatus.Error:T=c.CancellationErrorCode.ServiceError;break;case o.RecognitionStatus.TooManyRequests:T=c.CancellationErrorCode.TooManyRequests;break;case o.RecognitionStatus.BadRequest:T=c.CancellationErrorCode.BadRequestParameters;break;case o.RecognitionStatus.Forbidden:T=c.CancellationErrorCode.Forbidden;break;default:T=c.CancellationErrorCode.NoError}return T}static implTranslateErrorDetails(E){let T="The speech service encountered an internal error and could not continue.";switch(E){case c.CancellationErrorCode.Forbidden:T="The recognizer is using a free subscription that ran out of quota.";break;case c.CancellationErrorCode.BadRequestParameters:T="Invalid parameter or unsupported audio format in the request.";break;case c.CancellationErrorCode.TooManyRequests:T="The number of parallel requests exceeded the number of allowed concurrent transcriptions."}return T}}},67971:function(ge,_,f){"use strict";var c=this&&this.__createBinding||(Object.create?function(E,T,s,h){void 0===h&&(h=s),Object.defineProperty(E,h,{enumerable:!0,get:function(){return T[s]}})}:function(E,T,s,h){void 0===h&&(h=s),E[h]=T[s]}),o=this&&this.__exportStar||function(E,T){for(var s in E)"default"!==s&&!T.hasOwnProperty(s)&&c(T,E,s)};
1Object.defineProperty(_,"__esModule",{value:!0}),_.AutoDetectSourceLanguagesOpenRangeOptionName=_.ForceDictationPropertyName=_.ServicePropertiesPropertyName=_.CancellationErrorCodePropertyName=_.OutputFormatPropertyName=void 0,o(f(59846),_),o(f(2175),_),o(f(63291),_),o(f(55593),_),o(f(88063),_),o(f(72600),_),o(f(58306),_),o(f(65006),_),o(f(3184),_),o(f(76556),_),o(f(15238),_),o(f(64629),_),o(f(47284),_),o(f(27700),_),o(f(67610),_),o(f(91489),_),o(f(2881),_),o(f(432),_),o(f(14316),_),o(f(49566),_),o(f(26188),_),o(f(48725),_),o(f(454),_),o(f(60190),_),o(f(22406),_),o(f(55566),_),o(f(34025),_),o(f(38271),_),o(f(74880),_),o(f(59959),_),o(f(44937),_),o(f(49127),_),o(f(41979),_),o(f(58563),_),o(f(79363),_),o(f(22642),_),o(f(46037),_),o(f(31741),_),o(f(83797),_),o(f(37160),_),o(f(23968),_),o(f(22883),_),o(f(43344),_),o(f(49263),_),o(f(8433),_),o(f(63118),_);var C=f(25514);Object.defineProperty(_,"AvatarSynthesisAdapter",{enumerable:!0,get:function(){return C.AvatarSynthesisAdapter}});var a=f(41297);Object.defineProperty(_,"SpeechSynthesisAdapter",{enumerable:!0,get:function(){return a.SpeechSynthesisAdapter}}),o(f(46381),_),o(f(77392),_),o(f(34855),_),o(f(45828),_),o(f(10200),_),o(f(23677),_),o(f(6079),_),_.OutputFormatPropertyName="OutputFormat",_.CancellationErrorCodePropertyName="CancellationErrorCode",_.ServicePropertiesPropertyName="ServiceProperties",_.ForceDictationPropertyName="ForceDictation",_.AutoDetectSourceLanguagesOpenRangeOptionName="OpenRange"},75299:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.HeaderNames=void 0;class f{}_.HeaderNames=f,f.AuthKey="Ocp-Apim-Subscription-Key",f.Authorization="Authorization",f.SpIDAuthKey="Apim-Subscription-Id",f.ConnectionId="X-ConnectionId",f.ContentType="Content-Type",f.CustomCommandsAppId="X-CommandsAppId",f.Path="Path",f.RequestId="X-RequestId",f.RequestStreamId="X-StreamId",f.RequestTimestamp="X-Timestamp"},63291:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.AuthInfo=void 0,_.AuthInfo=class f{constructor(o,C){this.privHeaderName=o,this.privToken=C}get headerName(){return this.privHeaderName}get token(){return this.privToken}}},55593:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},88063:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},72600:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.IntentConnectionFactory=void 0;const c=f(20709),o=f(15912),C=f(32135),a=f(67971),E=f(75299);_.IntentConnectionFactory=class T extends C.ConnectionFactoryBase{create(h,u,v){let g=h.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Endpoint);if(!g){const R=h.parameters.getProperty(o.PropertyId.SpeechServiceConnection_IntentRegion),P=C.ConnectionFactoryBase.getHostSuffix(R);g=h.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Host,"wss://"+R+".sr.speech"+P)+"/speech/recognition/interactive/cognitiveservices/v1"}const y={format:"simple",language:h.parameters.getProperty(o.PropertyId.SpeechServiceConnection_RecoLanguage)};this.setCommonUrlParams(h,y,g);const p={};void 0!==u.token&&""!==u.token&&(p[u.headerName]=u.token),p[E.HeaderNames.ConnectionId]=v,h.parameters.setProperty(o.PropertyId.SpeechServiceConnection_Url,g);const b="true"===h.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new c.WebsocketConnection(g,y,p,new a.WebsocketMessageFormatter,c.ProxyInfo.fromRecognizerConfig(h),b,v)}getSpeechRegionFromIntentRegion(h){switch(h){case"West US":case"US West":case"westus":return"uswest";case"West US 2":case"US West 2":case"westus2":return"uswest2";case"South Central US":case"US South Central":case"southcentralus":return"ussouthcentral";case"West Central US":case"US West Central":case"westcentralus":return"uswestcentral";case"East US":case"US East":case"eastus":return"useast";case"East US 2":case"US East 2":case"eastus2":return"useast2";case"West Europe":case"Europe West":case"westeurope":return"europewest";case"North Europe":case"Europe North":case"northeurope":return"europenorth";case"Brazil South":case"South Brazil":case"southbrazil":return"brazilsouth";case"Australia East":case"East Australia":case"eastaustralia":return"australiaeast";case"Southeast Asia":case"Asia Southeast":case"southeastasia":return"asiasoutheast";case"East Asia":case"Asia East":case"eastasia":return"asiaeast";default:return h}}}},58563:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.IntentServiceRecognizer=void 0;const c=f(13155),o=f(15912),C=f(67971);_.IntentServiceRecognizer=class a extends C.ServiceRecognizerBase{constructor(T,s,h,u,v){super(T,s,h,u,v),this.privIntentRecognizer=v,this.privIntentDataSent=!1}setIntents(T,s){this.privAddedLmIntents=T,this.privUmbrellaIntent=s,this.privIntentDataSent=!0}processTypeSpecificMessages(T){let s,h,u=!1;const v=new o.PropertyCollection;switch(T.messageType===c.MessageType.Text&&v.setProperty(o.PropertyId.SpeechServiceResponse_JsonResult,T.textBody),T.path.toLowerCase()){case"speech.hypothesis":const y=C.SpeechHypothesis.fromJSON(T.textBody);if(s=new o.IntentRecognitionResult(void 0,this.privRequestSession.requestId,o.ResultReason.RecognizingIntent,y.Text,y.Duration,y.Offset+this.privRequestSession.currentTurnAudioOffset,y.Language,y.LanguageDetectionConfidence,void 0,T.textBody,v),this.privRequestSession.onHypothesis(s.offset),h=new o.IntentRecognitionEventArgs(s,y.Offset+this.privRequestSession.currentTurnAudioOffset,this.privRequestSession.sessionId),this.privIntentRecognizer.recognizing)try{this.privIntentRecognizer.recognizing(this.privIntentRecognizer,h)}catch{}u=!0;break;case"speech.phrase":const p=C.SimpleSpeechPhrase.fromJSON(T.textBody);s=new o.IntentRecognitionResult(void 0,this.privRequestSession.requestId,C.EnumTranslation.implTranslateRecognitionResult(p.RecognitionStatus),p.DisplayText,p.Duration,p.Offset+this.privRequestSession.currentTurnAudioOffset,p.Language,p.LanguageDetectionConfidence,void 0,T.textBody,v),h=new o.IntentRecognitionEventArgs(s,s.offset,this.privRequestSession.sessionId);const b=()=>{if(this.privIntentRecognizer.recognized)try{this.privIntentRecognizer.recognized(this.privIntentRecognizer,h)}catch{}if(this.privSuccessCallback){try{this.privSuccessCallback(s)}catch(P){this.privErrorCallback&&this.privErrorCallback(P)}this.privSuccessCallback=void 0,this.privErrorCallback=void 0}};!1===this.privIntentDataSent||o.ResultReason.NoMatch===h.result.reason?(this.privRequestSession.onPhraseRecognized(h.offset+h.result.duration),b()):this.privPendingIntentArgs=h,u=!0;break;case"response":if(h=this.privPendingIntentArgs,this.privPendingIntentArgs=void 0,void 0===h){if(""===T.textBody)return;h=new o.IntentRecognitionEventArgs(new o.IntentRecognitionResult,0,this.privRequestSession.sessionId)}const R=C.IntentResponse.fromJSON(T.textBody);if(null!==R&&R.topScoringIntent&&R.topScoringIntent.intent){let P=this.privAddedLmIntents[R.topScoringIntent.intent];if(void 0!==this.privUmbrellaIntent&&(P=this.privUmbrellaIntent),P){const k=void 0===P||void 0===P.intentName?R.topScoringIntent.intent:P.intentName;let O=h.result.reason;void 0!==k&&(O=o.ResultReason.RecognizedIntent);const V=void 0!==h.result.properties?h.result.properties:new o.PropertyCollection;V.setProperty(o.PropertyId.LanguageUnderstandingServiceResponse_JsonResult,T.textBody),h=new o.IntentRecognitionEventArgs(new o.IntentRecognitionResult(k,h.result.resultId,O,h.result.text,h.result.duration,h.result.offset,void 0,void 0,h.result.errorDetails,h.result.json,V),h.offset,h.sessionId)}}if(this.privRequestSession.onPhraseRecognized(h.offset+h.result.duration),this.privIntentRecognizer.recognized)try{this.privIntentRecognizer.recognized(this.privIntentRecognizer,h)}catch{}if(this.privSuccessCallback){try{this.privSuccessCallback(h.result)}catch(P){this.privErrorCallback&&this.privErrorCallback(P)}this.privSuccessCallback=void 0,this.privErrorCallback=void 0}u=!0}const g=new c.Deferred;return g.resolve(u),g.promise}cancelRecognition(T,s,h,u,v){const g=new o.PropertyCollection;if(g.setProperty(C.CancellationErrorCodePropertyName,o.CancellationErrorCode[u]),this.privIntentRecognizer.canceled){const y=new o.IntentRecognitionCanceledEventArgs(h,v,u,void 0,void 0,T);try{this.privIntentRecognizer.canceled(this.privIntentRecognizer,y)}catch{}}if(this.privSuccessCallback){const y=new o.IntentRecognitionResult(void 0,s,o.ResultReason.Canceled,void 0,void 0,void 0,void 0,void 0,v,void 0,g);try{this.privSuccessCallback(y),this.privSuccessCallback=void 0}catch{}}}}},89797:(ge,_)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.QueryParameterNames=void 0;class f{}_.QueryParameterNames=f,f.BotId="botid",f.CustomSpeechDeploymentId="cid",f.CustomVoiceDeploymentId="deploymentId",f.EnableAudioLogging="storeAudio",f.EnableLanguageId="lidEnabled",f.EnableWordLevelTimestamps="wordLevelTimestamps",f.EndSilenceTimeoutMs="endSilenceTimeoutMs",f.SegmentationSilenceTimeoutMs="segmentationSilenceTimeoutMs",f.Format="format",f.InitialSilenceTimeoutMs="initialSilenceTimeoutMs",f.Language="language",f.Profanity="profanity",f.RequestBotStatusMessages="enableBotMessageStatus",f.StableIntermediateThreshold="stableIntermediateThreshold",f.StableTranslation="stableTranslation",f.TestHooks="testhooks",f.Postprocessing="postprocessing",f.CtsMeetingId="meetingId",f.CtsDeviceId="deviceId",f.CtsIsParticipant="isParticipant",f.EnableAvatar="enableTalkingAvatar"},65006:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.RecognitionEndedEvent=_.RecognitionCompletionStatus=_.RecognitionStartedEvent=_.ConnectingToServiceEvent=_.ListeningStartedEvent=_.RecognitionTriggeredEvent=_.SpeechRecognitionEvent=void 0;const c=f(13155);class o extends c.PlatformEvent{constructor(v,g,y,p=c.EventType.Info){super(v,p),this.privRequestId=g,this.privSessionId=y}get requestId(){return this.privRequestId}get sessionId(){return this.privSessionId}}var s,u;_.SpeechRecognitionEvent=o,_.RecognitionTriggeredEvent=class C extends o{constructor(v,g,y,p){super("RecognitionTriggeredEvent",v,g),this.privAudioSourceId=y,this.privAudioNodeId=p}get audioSourceId(){return this.privAudioSourceId}get audioNodeId(){return this.privAudioNodeId}},_.ListeningStartedEvent=class a extends o{constructor(v,g,y,p){super("ListeningStartedEvent",v,g),this.privAudioSourceId=y,this.privAudioNodeId=p}get audioSourceId(){return this.privAudioSourceId}get audioNodeId(){return this.privAudioNodeId}},_.ConnectingToServiceEvent=class E extends o{constructor(v,g,y){super("ConnectingToServiceEvent",v,y),this.privAuthFetchEventid=g}get authFetchEventid(){return this.privAuthFetchEventid}},_.RecognitionStartedEvent=class T extends o{constructor(v,g,y,p,b){super("RecognitionStartedEvent",v,b),this.privAudioSourceId=g,this.privAudioNodeId=y,this.privAuthFetchEventId=p}get audioSourceId(){return this.privAudioSourceId}get audioNodeId(){return this.privAudioNodeId}get authFetchEventId(){return this.privAuthFetchEventId}},(u=s=_.RecognitionCompletionStatus||(_.RecognitionCompletionStatus={}))[u.Success=0]="Success",u[u.AudioSourceError=1]="AudioSourceError",u[u.AudioSourceTimeout=2]="AudioSourceTimeout",u[u.AuthTokenFetchError=3]="AuthTokenFetchError",u[u.AuthTokenFetchTimeout=4]="AuthTokenFetchTimeout",u[u.UnAuthorized=5]="UnAuthorized",u[u.ConnectTimeout=6]="ConnectTimeout",u[u.ConnectError=7]="ConnectError",u[u.ClientRecognitionActivityTimeout=8]="ClientRecognitionActivityTimeout",u[u.UnknownError=9]="UnknownError",_.RecognitionEndedEvent=class h extends o{constructor(v,g,y,p,b,R,P,k){super("RecognitionEndedEvent",v,b,P===s.Success?c.EventType.Info:c.EventType.Error),this.privAudioSourceId=g,this.privAudioNodeId=y,this.privAuthFetchEventId=p,this.privStatus=P,this.privError=k,this.privServiceTag=R}get audioSourceId(){return this.privAudioSourceId}get audioNodeId(){return this.privAudioNodeId}get authFetchEventId(){return this.privAuthFetchEventId}get serviceTag(){return this.privServiceTag}get status(){return this.privStatus}get error(){return this.privError}}},15238:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.RecognizerConfig=_.SpeechResultFormat=_.RecognitionMode=void 0;const c=f(15912),o=f(67971);var C,T;(T=C=_.RecognitionMode||(_.RecognitionMode={}))[T.Interactive=0]="Interactive",T[T.Conversation=1]="Conversation",T[T.Dictation=2]="Dictation",function(T){T[T.Simple=0]="Simple",T[T.Detailed=1]="Detailed"}(_.SpeechResultFormat||(_.SpeechResultFormat={})),_.RecognizerConfig=class E{constructor(s,h){this.privSpeechServiceConfig=s||new o.SpeechServiceConfig(new o.Context(null)),this.privParameters=h,this.privMaxRetryCount=parseInt(h.getProperty("SPEECH-Error-MaxRetryCount","4"),10),this.privLanguageIdMode=h.getProperty(c.PropertyId.SpeechServiceConnection_LanguageIdMode,void 0),this.privEnableSpeakerId=!1}get parameters(){return this.privParameters}get recognitionMode(){return this.privRecognitionMode}set recognitionMode(s){this.privRecognitionMode=s,this.privRecognitionActivityTimeout=s===C.Interactive?8e3:25e3,this.privSpeechServiceConfig.Recognition=C[s]}get SpeechServiceConfig(){return this.privSpeechServiceConfig}get recognitionActivityTimeout(){return this.privRecognitionActivityTimeout}get isContinuousRecognition(){return this.privRecognitionMode!==C.Interactive}get languageIdMode(){return this.privLanguageIdMode}get autoDetectSourceLanguages(){return this.parameters.getProperty(c.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages,void 0)}get recognitionEndpointVersion(){return this.parameters.getProperty(c.PropertyId.SpeechServiceConnection_RecognitionEndpointVersion,void 0)}get sourceLanguageModels(){const s=[];let h=!1;if(void 0!==this.autoDetectSourceLanguages)for(const u of this.autoDetectSourceLanguages.split(",")){const v=u+c.PropertyId.SpeechServiceConnection_EndpointId.toString(),g=this.parameters.getProperty(v,void 0);void 0!==g?(s.push({language:u,endpoint:g}),h=!0):s.push({language:u,endpoint:""})}return h?s:void 0}get maxRetryCount(){return this.privMaxRetryCount}get isSpeakerDiarizationEnabled(){return this.privEnableSpeakerId}set isSpeakerDiarizationEnabled(s){this.privEnableSpeakerId=s}}},46037:(ge,_,f)=>{"use strict";var c=f(29293).default;
1Object.defineProperty(_,"__esModule",{value:!0}),_.RequestSession=void 0;const o=f(13155),C=f(65006),a=f(85829);_.RequestSession=class E{constructor(s){this.privIsDisposed=!1,this.privDetachables=new Array,this.privIsAudioNodeDetached=!1,this.privIsRecognizing=!1,this.privIsSpeechEnded=!1,this.privTurnStartAudioOffset=0,this.privLastRecoOffset=0,this.privHypothesisReceived=!1,this.privBytesSent=0,this.privRecognitionBytesSent=0,this.privRecogNumber=0,this.privInTurn=!1,this.privConnectionAttempts=0,this.privAudioSourceId=s,this.privRequestId=o.createNoDashGuid(),this.privAudioNodeId=o.createNoDashGuid(),this.privTurnDeferral=new o.Deferred,this.privTurnDeferral.resolve()}get sessionId(){return this.privSessionId}get requestId(){return this.privRequestId}get audioNodeId(){return this.privAudioNodeId}get turnCompletionPromise(){return this.privTurnDeferral.promise}get isSpeechEnded(){return this.privIsSpeechEnded}get isRecognizing(){return this.privIsRecognizing}get currentTurnAudioOffset(){return this.privTurnStartAudioOffset}get recogNumber(){return this.privRecogNumber}get numConnectionAttempts(){return this.privConnectionAttempts}get bytesSent(){return this.privBytesSent}get recognitionBytesSent(){return this.privRecognitionBytesSent}listenForServiceTelemetry(s){this.privServiceTelemetryListener&&this.privDetachables.push(s.attachListener(this.privServiceTelemetryListener))}startNewRecognition(){this.privRecognitionBytesSent=0,this.privIsSpeechEnded=!1,this.privIsRecognizing=!0,this.privTurnStartAudioOffset=0,this.privLastRecoOffset=0,this.privRecogNumber++,this.privServiceTelemetryListener=new a.ServiceTelemetryListener(this.privRequestId,this.privAudioSourceId,this.privAudioNodeId),this.onEvent(new C.RecognitionTriggeredEvent(this.requestId,this.privSessionId,this.privAudioSourceId,this.privAudioNodeId))}onAudioSourceAttachCompleted(s,h){var u=this;return c(function*(){u.privAudioNode=s,u.privIsAudioNodeDetached=!1,h?yield u.onComplete():u.onEvent(new C.ListeningStartedEvent(u.privRequestId,u.privSessionId,u.privAudioSourceId,u.privAudioNodeId))})()}onPreConnectionStart(s,h){this.privAuthFetchEventId=s,this.privSessionId=h,this.onEvent(new C.ConnectingToServiceEvent(this.privRequestId,this.privAuthFetchEventId,this.privSessionId))}onAuthCompleted(s){var h=this;return c(function*(){s&&(yield h.onComplete())})()}onConnectionEstablishCompleted(s,h){var u=this;return c(function*(){if(200===s)return u.onEvent(new C.RecognitionStartedEvent(u.requestId,u.privAudioSourceId,u.privAudioNodeId,u.privAuthFetchEventId,u.privSessionId)),u.privAudioNode&&u.privAudioNode.replay(),u.privTurnStartAudioOffset=u.privLastRecoOffset,void(u.privBytesSent=0);403===s&&(yield u.onComplete())})()}onServiceTurnEndResponse(s){var h=this;return c(function*(){h.privTurnDeferral.resolve(),!s||h.isSpeechEnded?(yield h.onComplete(),h.privInTurn=!1):(h.privTurnStartAudioOffset=h.privLastRecoOffset,h.privAudioNode.replay())})()}onSpeechContext(){this.privRequestId=o.createNoDashGuid()}onServiceTurnStartResponse(){this.privTurnDeferral&&this.privInTurn&&(this.privTurnDeferral.reject("Another turn started before current completed."),this.privTurnDeferral.promise.then().catch(()=>{})),this.privInTurn=!0,this.privTurnDeferral=new o.Deferred}onHypothesis(s){this.privHypothesisReceived||(this.privHypothesisReceived=!0,this.privServiceTelemetryListener.hypothesisReceived(this.privAudioNode.findTimeAtOffset(s)))}onPhraseRecognized(s){this.privServiceTelemetryListener.phraseReceived(this.privAudioNode.findTimeAtOffset(s)),this.onServiceRecognized(s)}onServiceRecognized(s){this.privLastRecoOffset=s,this.privHypothesisReceived=!1,this.privAudioNode.shrinkBuffers(s),this.privConnectionAttempts=0}onAudioSent(s){this.privBytesSent+=s,this.privRecognitionBytesSent+=s}onRetryConnection(){this.privConnectionAttempts++}dispose(){var s=this;return c(function*(){if(!s.privIsDisposed){s.privIsDisposed=!0;for(const h of s.privDetachables)yield h.detach();s.privServiceTelemetryListener&&s.privServiceTelemetryListener.dispose(),s.privIsRecognizing=!1}})()}getTelemetry(){return this.privServiceTelemetryListener.hasTelemetry?this.privServiceTelemetryListener.getTelemetry():null}
1onStopRecognizing(){var s=this;return c(function*(){yield s.onComplete()})()}onSpeechEnded(){this.privIsSpeechEnded=!0}onEvent(s){this.privServiceTelemetryListener&&this.privServiceTelemetryListener.onEvent(s),o.Events.instance.onEvent(s)}onComplete(){var s=this;return c(function*(){s.privIsRecognizing&&(s.privIsRecognizing=!1,yield s.detachAudioNode())})()}detachAudioNode(){var s=this;return c(function*(){s.privIsAudioNodeDetached||(s.privIsAudioNodeDetached=!0,s.privAudioNode&&(yield s.privAudioNode.detach()))})()}}},34156:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.MessageDataStreamType=_.ActivityPayloadResponse=void 0;class f{constructor(C){this.privActivityResponse=JSON.parse(C)}static fromJSON(C){return new f(C)}get conversationId(){return this.privActivityResponse.conversationId}get messageDataStreamType(){return this.privActivityResponse.messageDataStreamType}get messagePayload(){return this.privActivityResponse.messagePayload}get version(){return this.privActivityResponse.version}}var o;_.ActivityPayloadResponse=f,(o=_.MessageDataStreamType||(_.MessageDataStreamType={}))[o.None=0]="None",o[o.TextToSpeechAudio=1]="TextToSpeechAudio"},44937:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.DetailedSpeechPhrase=void 0;const c=f(67971);class o{constructor(a){this.privDetailedSpeechPhrase=JSON.parse(a),this.privDetailedSpeechPhrase.RecognitionStatus=c.RecognitionStatus[this.privDetailedSpeechPhrase.RecognitionStatus]}static fromJSON(a){return new o(a)}getJsonWithCorrectedOffsets(a){if(this.privDetailedSpeechPhrase.NBest){let E;for(const T of this.privDetailedSpeechPhrase.NBest)if(T.Words&&T.Words[0]){E=T.Words[0].Offset;break}if(E&&E<a){const T=a-E;for(const s of this.privDetailedSpeechPhrase.NBest){if(s.Words)for(const h of s.Words)h.Offset+=T;if(s.DisplayWords)for(const h of s.DisplayWords)h.Offset+=T}}}return JSON.stringify(this.privDetailedSpeechPhrase)}get RecognitionStatus(){return this.privDetailedSpeechPhrase.RecognitionStatus}get NBest(){return this.privDetailedSpeechPhrase.NBest}get Duration(){return this.privDetailedSpeechPhrase.Duration}get Offset(){return this.privDetailedSpeechPhrase.Offset}get Language(){return void 0===this.privDetailedSpeechPhrase.PrimaryLanguage?void 0:this.privDetailedSpeechPhrase.PrimaryLanguage.Language}get LanguageDetectionConfidence(){return void 0===this.privDetailedSpeechPhrase.PrimaryLanguage?void 0:this.privDetailedSpeechPhrase.PrimaryLanguage.Confidence}get Text(){return this.privDetailedSpeechPhrase.NBest&&this.privDetailedSpeechPhrase.NBest[0]?this.privDetailedSpeechPhrase.NBest[0].Display||this.privDetailedSpeechPhrase.NBest[0].DisplayText:this.privDetailedSpeechPhrase.DisplayText}get SpeakerId(){return this.privDetailedSpeechPhrase.SpeakerId}}_.DetailedSpeechPhrase=o},49566:(ge,_)=>{"use strict";var o;Object.defineProperty(_,"__esModule",{value:!0}),_.RecognitionStatus=_.SynthesisStatus=void 0,(o=_.SynthesisStatus||(_.SynthesisStatus={}))[o.Success=0]="Success",o[o.SynthesisEnd=1]="SynthesisEnd",o[o.Error=2]="Error",function(o){o[o.Success=0]="Success",o[o.NoMatch=1]="NoMatch",o[o.InitialSilenceTimeout=2]="InitialSilenceTimeout",o[o.BabbleTimeout=3]="BabbleTimeout",o[o.Error=4]="Error",o[o.EndOfDictation=5]="EndOfDictation",o[o.TooManyRequests=6]="TooManyRequests",o[o.BadRequest=7]="BadRequest",o[o.Forbidden=8]="Forbidden"}(_.RecognitionStatus||(_.RecognitionStatus={}))},79363:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.IntentResponse=void 0;class f{constructor(o){this.privIntentResponse=""===o?{}:JSON.parse(o)}static fromJSON(o){return new f(o)}get query(){return this.privIntentResponse.query}get topScoringIntent(){return this.privIntentResponse.topScoringIntent}get entities(){return this.privIntentResponse.entities}}_.IntentResponse=f},49127:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SimpleSpeechPhrase=void 0;const c=f(67971);class o{constructor(a){this.privSimpleSpeechPhrase=JSON.parse(a),this.privSimpleSpeechPhrase.RecognitionStatus=c.RecognitionStatus[this.privSimpleSpeechPhrase.RecognitionStatus]}static fromJSON(a){return new o(a)}get RecognitionStatus(){return this.privSimpleSpeechPhrase.RecognitionStatus}get DisplayText(){return this.privSimpleSpeechPhrase.DisplayText}
vendor: 1,098 bytes, line 1
1get Offset(){return this.privSimpleSpeechPhrase.Offset}get Duration(){return this.privSimpleSpeechPhrase.Duration}get Language(){return void 0===this.privSimpleSpeechPhrase.PrimaryLanguage?void 0:this.privSimpleSpeechPhrase.PrimaryLanguage.Language}get LanguageDetectionConfidence(){return void 0===this.privSimpleSpeechPhrase.PrimaryLanguage?void 0:this.privSimpleSpeechPhrase.PrimaryLanguage.Confidence}get SpeakerId(){return this.privSimpleSpeechPhrase.SpeakerId}}_.SimpleSpeechPhrase=o},22642:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},22406:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechDetected=void 0;class f{constructor(o){this.privSpeechStartDetected=JSON.parse(o)}static fromJSON(o){return new f(o)}get Offset(){return this.privSpeechStartDetected.Offset}}_.SpeechDetected=f},55566:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechHypothesis=void 0;class f{constructor(o){this.privSpeechHypothesis=JSON.parse(o)}static fromJSON(o){return new f(o)}get Text(){return this.privSpeechHypothesis.Text}
1get Offset(){return this.privSpeechHypothesis.Offset}get Duration(){return this.privSpeechHypothesis.Duration}get Language(){return void 0===this.privSpeechHypothesis.PrimaryLanguage?void 0:this.privSpeechHypothesis.PrimaryLanguage.Language}get LanguageDetectionConfidence(){return void 0===this.privSpeechHypothesis.PrimaryLanguage?void 0:this.privSpeechHypothesis.PrimaryLanguage.Confidence}get SpeakerId(){return this.privSpeechHypothesis.SpeakerId}}_.SpeechHypothesis=f},34025:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechKeyword=void 0;class f{constructor(o){this.privSpeechKeyword=JSON.parse(o)}static fromJSON(o){return new f(o)}get Status(){return this.privSpeechKeyword.Status}get Text(){return this.privSpeechKeyword.Text}get Offset(){return this.privSpeechKeyword.Offset}get Duration(){return this.privSpeechKeyword.Duration}}_.SpeechKeyword=f},49263:(ge,_)=>{"use strict";var o;Object.defineProperty(_,"__esModule",{value:!0}),_.SynthesisAudioMetadata=_.MetadataType=void 0,(o=_.MetadataType||(_.MetadataType={})).WordBoundary="WordBoundary",o.Bookmark="Bookmark",o.Viseme="Viseme",o.SentenceBoundary="SentenceBoundary",o.SessionEnd="SessionEnd",o.AvatarSignal="TalkingAvatarSignal";class c{constructor(C){this.privSynthesisAudioMetadata=JSON.parse(C)}static fromJSON(C){return new c(C)}get Metadata(){return this.privSynthesisAudioMetadata.Metadata}}_.SynthesisAudioMetadata=c},48725:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TranslationHypothesis=void 0;const c=f(8804),o=f(34213);class C{constructor(E){this.privTranslationHypothesis=E,this.privTranslationHypothesis.Translation.TranslationStatus=o.TranslationStatus[this.privTranslationHypothesis.Translation.TranslationStatus]}static fromJSON(E){return new C(JSON.parse(E))}static fromTranslationResponse(E){c.Contracts.throwIfNullOrUndefined(E,"translationHypothesis");const T=E.SpeechHypothesis;return E.SpeechHypothesis=void 0,T.Translation=E,new C(T)}get Duration(){return this.privTranslationHypothesis.Duration}
1get Offset(){return this.privTranslationHypothesis.Offset}get Text(){return this.privTranslationHypothesis.Text}get Translation(){return this.privTranslationHypothesis.Translation}get Language(){var E;return null===(E=this.privTranslationHypothesis.PrimaryLanguage)||void 0===E?void 0:E.Language}}_.TranslationHypothesis=C},454:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TranslationPhrase=void 0;const c=f(8804),o=f(67971),C=f(34213);class a{constructor(T){this.privTranslationPhrase=T,this.privTranslationPhrase.RecognitionStatus=o.RecognitionStatus[this.privTranslationPhrase.RecognitionStatus],void 0!==this.privTranslationPhrase.Translation&&(this.privTranslationPhrase.Translation.TranslationStatus=C.TranslationStatus[this.privTranslationPhrase.Translation.TranslationStatus])}static fromJSON(T){return new a(JSON.parse(T))}static fromTranslationResponse(T){c.Contracts.throwIfNullOrUndefined(T,"translationResponse");const s=T.SpeechPhrase;return T.SpeechPhrase=void 0,s.Translation=T,s.Text=s.DisplayText,new a(s)}get RecognitionStatus(){return this.privTranslationPhrase.RecognitionStatus}get Offset(){return this.privTranslationPhrase.Offset}get Duration(){return this.privTranslationPhrase.Duration}get Text(){return this.privTranslationPhrase.Text}get Language(){var T;return null===(T=this.privTranslationPhrase.PrimaryLanguage)||void 0===T?void 0:T.Language}get Confidence(){var T;return null===(T=this.privTranslationPhrase.PrimaryLanguage)||void 0===T?void 0:T.Confidence}get Translation(){return this.privTranslationPhrase.Translation}}_.TranslationPhrase=a},26188:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TranslationSynthesisEnd=void 0;const c=f(67971);class o{constructor(a){this.privSynthesisEnd=JSON.parse(a),this.privSynthesisEnd.SynthesisStatus&&(this.privSynthesisEnd.SynthesisStatus=c.SynthesisStatus[this.privSynthesisEnd.SynthesisStatus]),this.privSynthesisEnd.Status&&(this.privSynthesisEnd.SynthesisStatus=c.SynthesisStatus[this.privSynthesisEnd.Status])}static fromJSON(a){return new o(a)}get SynthesisStatus(){return this.privSynthesisEnd.SynthesisStatus}get FailureReason(){return this.privSynthesisEnd.FailureReason}}_.TranslationSynthesisEnd=o},98097:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TurnStatusResponsePayload=void 0;class f{constructor(o){this.privMessageStatusResponse=JSON.parse(o)}static fromJSON(o){return new f(o)}get interactionId(){return this.privMessageStatusResponse.interactionId}get conversationId(){return this.privMessageStatusResponse.conversationId}get statusCode(){switch(this.privMessageStatusResponse.statusCode){case"Success":return 200;case"Failed":return 400;case"TimedOut":return 429;default:return this.privMessageStatusResponse.statusCode}}}_.TurnStatusResponsePayload=f},3184:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.ServiceRecognizerBase=void 0;const o=f(20709),C=f(13155),a=f(15912),E=f(67971),T=f(58734);class s{constructor(u,v,g,y,p){if(this.privConnectionConfigurationPromise=void 0,this.privConnectionPromise=void 0,this.privSetTimeout=setTimeout,this.privIsLiveAudio=!1,this.privAverageBytesPerMs=0,this.privEnableSpeakerId=!1,this.privExpectContentAssessmentResponse=!1,this.recognizeOverride=void 0,this.recognizeSpeaker=void 0,this.disconnectOverride=void 0,this.receiveMessageOverride=void 0,this.sendPrePayloadJSONOverride=void 0,this.postConnectImplOverride=void 0,this.configConnectionOverride=void 0,this.handleSpeechPhraseMessage=void 0,this.handleSpeechHypothesisMessage=void 0,!u)throw new C.ArgumentNullError("authentication");if(!v)throw new C.ArgumentNullError("connectionFactory");if(!g)throw new C.ArgumentNullError("audioSource");if(!y)throw new C.ArgumentNullError("recognizerConfig");this.privEnableSpeakerId=y.isSpeakerDiarizationEnabled,this.privMustReportEndOfStream=!1,this.privAuthentication=u,this.privConnectionFactory=v,this.privAudioSource=g,this.privRecognizerConfig=y,this.privIsDisposed=!1,this.privRecognizer=p,this.privRequestSession=new E.RequestSession(this.privAudioSource.id()),this.privConnectionEvents=new C.EventSource,this.privServiceEvents=new C.EventSource,this.privDynamicGrammar=new E.DynamicGrammarBuilder,this.privSpeechContext=new E.SpeechContext(this.privDynamicGrammar),this.privAgentConfig=new E.AgentConfig,"on"===this.privRecognizerConfig.parameters.getProperty(a.PropertyId.WebWorkerLoadType,"on").toLowerCase()&&typeof Blob<"u"&&typeof Worker<"u"?this.privSetTimeout=C.Timeout.setTimeout:(typeof window<"u"&&(this.privSetTimeout=window.setTimeout.bind(window)),typeof globalThis<"u"&&(this.privSetTimeout=globalThis.setTimeout.bind(globalThis))),this.connectionEvents.attach(R=>{"ConnectionClosedEvent"===R.name&&(1003===R.statusCode||1007===R.statusCode||1002===R.statusCode||4e3===R.statusCode||this.privRequestSession.numConnectionAttempts>this.privRecognizerConfig.maxRetryCount)&&this.cancelRecognitionLocal(a.CancellationReason.Error,1007===R.statusCode?a.CancellationErrorCode.BadRequestParameters:a.CancellationErrorCode.ConnectionFailure,`${R.reason} websocket error code: ${R.statusCode}`)}),this.privEnableSpeakerId&&(this.privDiarizationSessionId=C.createNoDashGuid()),this.setLanguageIdJson(),this.setOutputDetailLevelJson()}setTranslationJson(){const u=this.privRecognizerConfig.parameters.getProperty(a.PropertyId.SpeechServiceConnection_TranslationToLanguages,void 0);if(void 0!==u){const v=u.split(","),g=this.privRecognizerConfig.parameters.getProperty(a.PropertyId.SpeechServiceConnection_TranslationVoice,void 0);if(this.privSpeechContext.setSection("translation",{onSuccess:{action:void 0!==g?"Synthesize":"None"},output:{interimResults:{mode:"Always"}},targetLanguages:v}),void 0!==g){const p={};for(const b of v)p[b]=g;this.privSpeechContext.setSection("synthesis",{defaultVoices:p})}}}setSpeechSegmentationTimeoutJson(){const u=this.privRecognizerConfig.parameters.getProperty(a.PropertyId.Speech_SegmentationSilenceTimeoutMs,void 0);if(void 0!==u){const v=this.recognitionMode===E.RecognitionMode.Conversation?"CONVERSATION":this.recognitionMode===E.RecognitionMode.Dictation?"DICTATION":"INTERACTIVE",g=parseInt(u,10),y=this.privSpeechContext.getSection("phraseDetection");y.mode=v,y[v]={segmentation:{mode:"Custom",segmentationSilenceTimeoutMs:g}},this.privSpeechContext.setSection("phraseDetection",y)}}setLanguageIdJson(){const u=this.privSpeechContext.getSection("phraseDetection");if(void 0!==this.privRecognizerConfig.autoDetectSourceLanguages){const g=this.privRecognizerConfig.autoDetectSourceLanguages.split(",");let y;y="Continuous"===this.privRecognizerConfig.languageIdMode?"DetectContinuous":"DetectAtAudioStart",this.privSpeechContext.setSection("languageId",{Priority:"PrioritizeLatency",languages:g,mode:y,onSuccess:{action:"Recognize"},onUnknown:{action:"None"}}),this.privSpeechContext.setSection("phraseOutput",{interimResults:{resultType:"Auto"},phraseResults:{resultType:"Always"}}
1);const p=this.privRecognizerConfig.sourceLanguageModels;void 0!==p&&(u.customModels=p,u.onInterim={action:"None"},u.onSuccess={action:"None"})}void 0!==this.privRecognizerConfig.parameters.getProperty(a.PropertyId.SpeechServiceConnection_TranslationToLanguages,void 0)&&(u.onInterim={action:"Translate"},u.onSuccess={action:"Translate"},this.privSpeechContext.setSection("phraseOutput",{interimResults:{resultType:"None"},phraseResults:{resultType:"None"}})),this.privSpeechContext.setSection("phraseDetection",u)}setOutputDetailLevelJson(){this.privEnableSpeakerId&&("true"===this.privRecognizerConfig.parameters.getProperty(a.PropertyId.SpeechServiceResponse_RequestWordLevelTimestamps,"false").toLowerCase()?this.privSpeechContext.setWordLevelTimings():this.privRecognizerConfig.parameters.getProperty(E.OutputFormatPropertyName,a.OutputFormat[a.OutputFormat.Simple]).toLowerCase()===a.OutputFormat[a.OutputFormat.Detailed].toLocaleLowerCase()&&this.privSpeechContext.setDetailedOutputFormat())}get isSpeakerDiarizationEnabled(){return this.privEnableSpeakerId}get audioSource(){return this.privAudioSource}get speechContext(){return this.privSpeechContext}get dynamicGrammar(){return this.privDynamicGrammar}get agentConfig(){return this.privAgentConfig}set conversationTranslatorToken(u){this.privRecognizerConfig.parameters.setProperty(a.PropertyId.ConversationTranslator_Token,u)}set voiceProfileType(u){this.privRecognizerConfig.parameters.setProperty(a.PropertyId.SpeechServiceConnection_SpeakerIdMode,u)}set authentication(u){this.privAuthentication=u}isDisposed(){return this.privIsDisposed}dispose(u){var v=this;return c(function*(){if(v.privIsDisposed=!0,void 0!==v.privConnectionConfigurationPromise)try{yield(yield v.privConnectionConfigurationPromise).dispose(u)}catch{return}})()}get connectionEvents(){return this.privConnectionEvents}get serviceEvents(){return this.privServiceEvents}get recognitionMode(){return this.privRecognizerConfig.recognitionMode}recognize(u,v,g){var y=this;return c(function*(){if(void 0!==y.recognizeOverride)return void(yield y.recognizeOverride(u,v,g));y.privConnectionConfigurationPromise=void 0,y.privRecognizerConfig.recognitionMode=u,y.setSpeechSegmentationTimeoutJson(),y.setTranslationJson(),y.privSuccessCallback=v,y.privErrorCallback=g,y.privRequestSession.startNewRecognition(),y.privRequestSession.listenForServiceTelemetry(y.privAudioSource.events);const p=y.connectImpl();let b;try{const k=yield y.audioSource.attach(y.privRequestSession.audioNodeId),O=yield y.audioSource.format,V=yield y.audioSource.deviceInfo;y.privIsLiveAudio=V.type&&V.type===E.type.Microphones,b=new o.ReplayableAudioNode(k,O.avgBytesPerSec),yield y.privRequestSession.onAudioSourceAttachCompleted(b,!1),y.privRecognizerConfig.SpeechServiceConfig.Context.audio={source:V}}
1catch(k){throw yield y.privRequestSession.onStopRecognizing(),k}try{yield p}catch(k){return void(yield y.cancelRecognitionLocal(a.CancellationReason.Error,a.CancellationErrorCode.ConnectionFailure,k))}const R=new a.SessionEventArgs(y.privRequestSession.sessionId);y.privRecognizer.sessionStarted&&y.privRecognizer.sessionStarted(y.privRecognizer,R),y.receiveMessage(),y.sendAudio(b).catch(function(){var k=c(function*(O){yield y.cancelRecognitionLocal(a.CancellationReason.Error,a.CancellationErrorCode.RuntimeError,O)});return function(O){return k.apply(this,arguments)}}())})()}stopRecognizing(){var u=this;return c(function*(){if(u.privRequestSession.isRecognizing)try{yield u.audioSource.turnOff(),yield u.sendFinalAudio(),yield u.privRequestSession.onStopRecognizing(),yield u.privRequestSession.turnCompletionPromise}finally{yield u.privRequestSession.dispose()}})()}connect(){var u=this;return c(function*(){return yield u.connectImpl(),Promise.resolve()})()}connectAsync(u,v){this.connectImpl().then(()=>{try{u&&u()}catch(g){v&&v(g)}},g=>{try{v&&v(g)}catch{}})}disconnect(){var u=this;return c(function*(){if(yield u.cancelRecognitionLocal(a.CancellationReason.Error,a.CancellationErrorCode.NoError,"Disconnecting"),void 0!==u.disconnectOverride&&(yield u.disconnectOverride()),void 0!==u.privConnectionPromise)try{yield(yield u.privConnectionPromise).dispose()}catch{}u.privConnectionPromise=void 0})()}sendMessage(u){}sendNetworkMessage(u,v){var g=this;return c(function*(){const y="string"==typeof v?C.MessageType.Text:C.MessageType.Binary,p="string"==typeof v?"application/json":"";return(yield g.fetchConnection()).send(new T.SpeechConnectionMessage(y,u,g.privRequestSession.requestId,p,v))})()}set activityTemplate(u){this.privActivityTemplate=u}get activityTemplate(){return this.privActivityTemplate}set expectContentAssessmentResponse(u){this.privExpectContentAssessmentResponse=u}sendTelemetryData(){var u=this;return c(function*(){const v=u.privRequestSession.getTelemetry();if(!0===s.telemetryDataEnabled&&!u.privIsDisposed&&null!==v){if(s.telemetryData)try{s.telemetryData(v)}catch{}yield(yield u.fetchConnection()).send(new T.SpeechConnectionMessage(C.MessageType.Text,"telemetry",u.privRequestSession.requestId,"application/json",v))}})()}cancelRecognitionLocal(u,v,g){var y=this;return c(function*(){y.privRequestSession.isRecognizing&&(yield y.privRequestSession.onStopRecognizing(
1),y.cancelRecognition(y.privRequestSession.sessionId,y.privRequestSession.requestId,u,v,g))})()}receiveMessage(){var u=this;return c(function*(){try{if(u.privIsDisposed)return;let v=yield u.fetchConnection();const g=yield v.read();if(void 0!==u.receiveMessageOverride)return u.receiveMessageOverride();if(!g)return u.receiveMessage();u.privServiceHasSentMessage=!0;const y=T.SpeechConnectionMessage.fromConnectionMessage(g);if(y.requestId.toLowerCase()===u.privRequestSession.requestId.toLowerCase())switch(y.path.toLowerCase()){case"turn.start":u.privMustReportEndOfStream=!0,u.privRequestSession.onServiceTurnStartResponse();break;case"speech.startdetected":const p=E.SpeechDetected.fromJSON(y.textBody),b=new a.RecognitionEventArgs(p.Offset,u.privRequestSession.sessionId);u.privRecognizer.speechStartDetected&&u.privRecognizer.speechStartDetected(u.privRecognizer,b);break;case"speech.enddetected":let R;R=y.textBody.length>0?y.textBody:"{ Offset: 0 }";const P=E.SpeechDetected.fromJSON(R),k=new a.RecognitionEventArgs(P.Offset+u.privRequestSession.currentTurnAudioOffset,u.privRequestSession.sessionId);u.privRecognizer.speechEndDetected&&u.privRecognizer.speechEndDetected(u.privRecognizer,k);break;case"turn.end":yield u.sendTelemetryData(),u.privRequestSession.isSpeechEnded&&u.privMustReportEndOfStream&&(u.privMustReportEndOfStream=!1,yield u.cancelRecognitionLocal(a.CancellationReason.EndOfStream,a.CancellationErrorCode.NoError,void 0));const O=new a.SessionEventArgs(u.privRequestSession.sessionId);if(yield u.privRequestSession.onServiceTurnEndResponse(u.privRecognizerConfig.isContinuousRecognition),!u.privRecognizerConfig.isContinuousRecognition||u.privRequestSession.isSpeechEnded||!u.privRequestSession.isRecognizing)return void(u.privRecognizer.sessionStopped&&u.privRecognizer.sessionStopped(u.privRecognizer,O));v=yield u.fetchConnection(),yield u.sendPrePayloadJSON(v);break;default:(yield u.processTypeSpecificMessages(y))||u.privServiceEvents&&u.serviceEvents.onEvent(new C.ServiceEvent(y.path.toLowerCase(),y.textBody))}return u.receiveMessage()}catch{return null}})()}updateSpeakerDiarizationAudioOffset(){this.privSpeechContext.setSpeakerDiarizationAudioOffsetMs(this.privRequestSession.recognitionBytesSent/this.privAverageBytesPerMs)}sendSpeechContext(u,v){this.privEnableSpeakerId&&this.updateSpeakerDiarizationAudioOffset();const g=this.speechContext.toJSON();if(v&&this.privRequestSession.onSpeechContext(),g)return u.send(new T.SpeechConnectionMessage(C.MessageType.Text,"speech.context",this.privRequestSession.requestId,"application/json",g))}noOp(){}sendPrePayloadJSON(u,v=!0){var g=this;return c(function*(){if(void 0!==g.sendPrePayloadJSONOverride)return g.sendPrePayloadJSONOverride(u);yield g.sendSpeechContext(u,v),yield g.sendWaveHeader(u)})()}sendWaveHeader(u){var v=this;return c(function*(){const g=yield v.audioSource.format;return u.send(new T.SpeechConnectionMessage(C.MessageType.Binary,"audio",v.privRequestSession.requestId,"audio/x-wav",g.header))})()}connectImpl(){return void 0!==this.privConnectionPromise?this.privConnectionPromise.then(u=>u.state()===C.ConnectionState.Disconnected?(this.privConnectionId=null,this.privConnectionPromise=void 0,this.privServiceHasSentMessage=!1,this.connectImpl()):this.privConnectionPromise,()=>(this.privConnectionId=null,this.privConnectionPromise=void 0,this.privServiceHasSentMessage=!1,this.connectImpl())):(this.privConnectionPromise=this.retryableConnect(),this.privConnectionPromise.catch(()=>{}),void 0!==this.postConnectImplOverride?this.postConnectImplOverride(this.privConnectionPromise):this.privConnectionPromise)}sendSpeechServiceConfig(u,v,g){if(v.onSpeechContext(),!0!==s.telemetryDataEnabled){const p={context:{system:JSON.parse(g).context.system}};g=JSON.stringify(p)}if("true"===this.privRecognizerConfig.parameters.getProperty("f0f5debc-f8c9-4892-ac4b-90a7ab359fd2","false").toLowerCase()){const y=JSON.parse(g);y.context.DisableReferenceChannel="True",y.context.MicSpec="1_0_0",g=JSON.stringify(y)}if(g)return u.send(new T.SpeechConnectionMessage(C.MessageType.Text,"speech.config",v.requestId,"application/json",g))}fetchConnection(){var u=this;return c(function*(){return void 0!==u.privConnectionConfigurationPromise?u.privConnectionConfigurationPromise.then(v=>v.state()===C.ConnectionState.Disconnected?(u.privConnectionId=null,u.privConnectionConfigurationPromise=void 0,u.privServiceHasSentMessage=!1,u.fetchConnection()):u.privConnectionConfigurationPromise,()=>(u.privConnectionId=null,u.privConnectionConfigurationPromise=void 0,u.privServiceHasSentMessage=!1,u.fetchConnection())):(u.privConnectionConfigurationPromise=u.configureConnection(),yield u.privConnectionConfigurationPromise)})()}sendAudio(u){var v=this;return c(function*(){const g=yield v.audioSource.format;v.privAverageBytesPerMs=g.avgBytesPerSec/1e3;let y=Date.now();const p=v.privRecognizerConfig.parameters.getProperty("SPEECH-TransmitLengthBeforThrottleMs","5000"),b=g.avgBytesPerSec/1e3*parseInt(p,10),R=v.privRequestSession.recogNumber,P=function(){var k=c(function*(){if(!v.privIsDisposed&&!v.privRequestSession.isSpeechEnded&&v.privRequestSession.isRecognizing&&v.privRequestSession.recogNumber===R){const O=yield v.fetchConnection(),V=yield u.read();if(v.privRequestSession.isSpeechEnded)return;let K,z;if(!V||V.isEnd?(K=null,z=0):(K=V.buffer,v.privRequestSession.onAudioSent(K.byteLength),z=b>=v.privRequestSession.bytesSent?0:Math.max(0,y-Date.now())),0!==z&&(yield v.delay(z)),null!==K&&(y=Date.now()+1e3*K.byteLength/(2*g.avgBytesPerSec)),!v.privIsDisposed&&!v.privRequestSession.isSpeechEnded&&v.privRequestSession.isRecognizing&&v.privRequestSession.recogNumber===R){if(O.send(new T.SpeechConnectionMessage(C.MessageType.Binary,"audio",v.privRequestSession.requestId,null,K)).catch(()=>{v.privRequestSession.onServiceTurnEndResponse(v.privRecognizerConfig.isContinuousRecognition).catch(()=>{})}),null==V||!V.isEnd)return P();v.privIsLiveAudio||v.privRequestSession.onSpeechEnded()}}});return function(){return k.apply(this,arguments)}}();return P()})()}retryableConnect(){var u=this;return c(function*(){let v=!1;u.privAuthFetchEventId=C.createNoDashGuid();const g=u.privRequestSession.sessionId;u.privConnectionId=void 0!==g?g:C.createNoDashGuid(),u.privRequestSession.onPreConnectionStart(u.privAuthFetchEventId,u.privConnectionId);let y=0,p="";for(;u.privRequestSession.numConnectionAttempts<=u.privRecognizerConfig.maxRetryCount;){const R=yield v?u.privAuthentication.fetchOnExpiry(u.privAuthFetchEventId):u.privAuthentication.fetch(u.privAuthFetchEventId);yield u.privRequestSession.onAuthCompleted(!1);const P=u.privConnectionFactory.create(u.privRecognizerConfig,R,u.privConnectionId);u.privRequestSession.listenForServiceTelemetry(P.events),P.events.attach(O=>{u.connectionEvents.onEvent(O)});const k=yield P.open();if(200===k.statusCode)return yield u.privRequestSession.onConnectionEstablishCompleted(k.statusCode),Promise.resolve(P);1006===k.statusCode&&(v=!0),y=k.statusCode,p=k.reason,u.privRequestSession.onRetryConnection()}return yield u.privRequestSession.onConnectionEstablishCompleted(y,p),Promise.reject(`Unable to contact server. StatusCode: ${y}, ${u.privRecognizerConfig.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Endpoint)} Reason: ${p}`)})()}delay(u){return new Promise(v=>this.privSetTimeout(v,u))}writeBufferToConsole(u){let v="Buffer Size: ";if(null===u)v+="null";else{const g=new Uint8Array(u);v+=`${u.byteLength}\r\n`;for(let y=0;y<u.byteLength;y++)v+=g[y].toString(16).padStart(2,"0")+" ",(y+1)%16==0&&(console.info(v),v="")}console.info(v)}sendFinalAudio(){var u=this;return c(function*(){yield(yield u.fetchConnection()).send(new T.SpeechConnectionMessage(C.MessageType.Binary,"audio",u.privRequestSession.requestId,null,null))})()}configureConnection(){var u=this;return c(function*(){const v=yield u.connectImpl();return void 0!==u.configConnectionOverride?u.configConnectionOverride(v):(yield u.sendSpeechServiceConfig(v,u.privRequestSession,u.privRecognizerConfig.SpeechServiceConfig.serialize()),yield u.sendPrePayloadJSON(v,!1),v)})()}}_.ServiceRecognizerBase=s,s.telemetryDataEnabled=!0},85829:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.ServiceTelemetryListener=void 0;const c=f(13155),o=f(65006);_.ServiceTelemetryListener=class C{constructor(E,T,s){this.privIsDisposed=!1,this.privListeningTriggerMetric=null,this.privMicMetric=null,this.privConnectionEstablishMetric=null,this.privRequestId=E,this.privAudioSourceId=T,this.privAudioNodeId=s,this.privReceivedMessages={},this.privPhraseLatencies=[],this.privHypothesisLatencies=[]}phraseReceived(E){E>0&&this.privPhraseLatencies.push(Date.now()-E)}hypothesisReceived(E){E>0&&this.privHypothesisLatencies.push(Date.now()-E)}onEvent(E){this.privIsDisposed||(E instanceof o.RecognitionTriggeredEvent&&E.requestId===this.privRequestId&&(this.privListeningTriggerMetric={End:E.eventTime,Name:"ListeningTrigger",Start:E.eventTime}),E instanceof c.AudioStreamNodeAttachingEvent&&E.audioSourceId===this.privAudioSourceId&&E.audioNodeId===this.privAudioNodeId&&(this.privMicStartTime=E.eventTime),E instanceof c.AudioStreamNodeAttachedEvent&&E.audioSourceId===this.privAudioSourceId&&E.audioNodeId===this.privAudioNodeId&&(this.privMicStartTime=E.eventTime),E instanceof c.AudioSourceErrorEvent&&E.audioSourceId===this.privAudioSourceId&&(this.privMicMetric||(this.privMicMetric={End:E.eventTime,Error:E.error,Name:"Microphone",Start:this.privMicStartTime})),E instanceof c.AudioStreamNodeErrorEvent&&E.audioSourceId===this.privAudioSourceId&&E.audioNodeId===this.privAudioNodeId&&(this.privMicMetric||(this.privMicMetric={End:E.eventTime,Error:E.error,Name:"Microphone",Start:this.privMicStartTime})),E instanceof c.AudioStreamNodeDetachedEvent&&E.audioSourceId===this.privAudioSourceId&&E.audioNodeId===this.privAudioNodeId&&(this.privMicMetric||(this.privMicMetric={End:E.eventTime,Name:"Microphone",Start:this.privMicStartTime})),E instanceof o.ConnectingToServiceEvent&&E.requestId===this.privRequestId&&(this.privConnectionId=E.sessionId),E instanceof c.ConnectionStartEvent&&E.connectionId===this.privConnectionId&&(this.privConnectionStartTime=E.eventTime),E instanceof c.ConnectionEstablishedEvent&&E.connectionId===this.privConnectionId&&(this.privConnectionEstablishMetric||(this.privConnectionEstablishMetric={End:E.eventTime,Id:this.privConnectionId,Name:"Connection",Start:this.privConnectionStartTime})),E instanceof c.ConnectionEstablishErrorEvent&&E.connectionId===this.privConnectionId&&(this.privConnectionEstablishMetric||(this.privConnectionEstablishMetric={End:E.eventTime,Error:this.getConnectionError(E.statusCode),Id:this.privConnectionId,Name:"Connection",Start:this.privConnectionStartTime})),E instanceof c.ConnectionMessageReceivedEvent&&E.connectionId===this.privConnectionId&&E.message&&E.message.headers&&E.message.headers.path&&(this.privReceivedMessages[E.message.headers.path]||(this.privReceivedMessages[E.message.headers.path]=new Array),this.privReceivedMessages[E.message.headers.path].length<50&&this.privReceivedMessages[E.message.headers.path].push(E.networkReceivedTime)))}getTelemetry(){const E=new Array;this.privListeningTriggerMetric&&E.push(this.privListeningTriggerMetric),this.privMicMetric&&E.push(this.privMicMetric),this.privConnectionEstablishMetric&&E.push(this.privConnectionEstablishMetric),this.privPhraseLatencies.length>0&&E.push({PhraseLatencyMs:this.privPhraseLatencies}),this.privHypothesisLatencies.length>0&&E.push({FirstHypothesisLatencyMs:this.privHypothesisLatencies});const s=JSON.stringify({Metrics:E,ReceivedMessages:this.privReceivedMessages});return this.privReceivedMessages={},this.privListeningTriggerMetric=null,this.privMicMetric=null,this.privConnectionEstablishMetric=null,this.privPhraseLatencies=[],this.privHypothesisLatencies=[],s}get hasTelemetry(){return 0!==Object.keys(this.privReceivedMessages).length||null!==this.privListeningTriggerMetric||null!==this.privMicMetric||null!==this.privConnectionEstablishMetric||0!==this.privPhraseLatencies.length||0!==this.privHypothesisLatencies.length}dispose(){this.privIsDisposed=!0}getConnectionError(E){switch(E){case 400:case 1002:case 1003:case 1005:case 1007:case 1008:case 1009:return"BadRequest";case 401:return"Unauthorized";case 403:return"Forbidden";case 503:case 1001:return"ServerUnavailable";case 500:case 1011:return"ServerError";case 408:case 504:return"Timeout";default:return"statuscode:"+E.toString()}}}},45828:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.SpeakerRecognitionConfig=void 0;const c=f(67971);_.SpeakerRecognitionConfig=class o{constructor(a,E){this.privContext=a||new c.Context(null),this.privParameters=E}get parameters(){return this.privParameters}get Context(){return this.privContext}}},58306:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.VoiceProfileConnectionFactory=_.SpeakerRecognitionConnectionFactory=void 0;const c=f(20709),o=f(15912),C=f(32135),a=f(67971),E=f(75299);class T extends C.ConnectionFactoryBase{create(v,g,y,p){let b=v.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Endpoint);if(!b){const O=v.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Region),V=C.ConnectionFactoryBase.getHostSuffix(O),K=v.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Host,`wss://${O}.spr-frontend.speech${V}`),z=v.parameters.getProperty(o.PropertyId.SpeechServiceConnection_SpeakerIdMode,"TextIndependentIdentification");b=`${K}/speaker/ws/${this.scenarioToPath(z)}/${y}`}const R={format:"simple",language:v.parameters.getProperty(o.PropertyId.SpeechServiceConnection_RecoLanguage)};this.setCommonUrlParams(v,R,b);const P={};void 0!==g.token&&""!==g.token&&(P[g.headerName]=g.token),P[E.HeaderNames.ConnectionId]=p,P[E.HeaderNames.SpIDAuthKey]=v.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Key),v.parameters.setProperty(o.PropertyId.SpeechServiceConnection_Url,b);const k="true"===v.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new c.WebsocketConnection(b,R,P,new a.WebsocketMessageFormatter,c.ProxyInfo.fromRecognizerConfig(v),k,p)}scenarioToPath(v){switch(v){case"TextIndependentVerification":case"2":return"verification/text-independent";case"TextDependentVerification":case"1":return"verification/text-dependent";default:return"identification/text-independent"}}}_.SpeakerRecognitionConnectionFactory=class s extends T{create(v,g,y){return super.create(v,g,"recognition",y)}},_.VoiceProfileConnectionFactory=class h extends T{create(v,g,y){return super.create(v,g,"profile",y)}}},10200:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.SpeakerServiceRecognizer=void 0;const o=f(20709),C=f(13155),a=f(15912),E=f(67971),T=f(58734);_.SpeakerServiceRecognizer=class s extends E.ServiceRecognizerBase{constructor(u,v,g,y,p){super(u,v,g,y,p),this.privSpeakerRecognizer=p,this.privSpeakerAudioSource=g,this.recognizeSpeaker=b=>this.recognizeSpeakerOnce(b),this.sendPrePayloadJSONOverride=()=>this.noOp()}processTypeSpecificMessages(u){let v=!1;const g=new a.PropertyCollection;if("speaker.response"===(u.messageType===C.MessageType.Text&&g.setProperty(a.PropertyId.SpeechServiceResponse_JsonResult,u.textBody),u.path.toLowerCase())){const p=JSON.parse(u.textBody);let b;b="success"!==p.status.statusCode.toLowerCase()?new a.SpeakerRecognitionResult(p,a.ResultReason.Canceled,a.CancellationErrorCode.ServiceError,p.status.reason):new a.SpeakerRecognitionResult(p,a.ResultReason.RecognizedSpeaker),this.privResultDeferral&&this.privResultDeferral.resolve(b),v=!0}const y=new C.Deferred;return y.resolve(v),y.promise}cancelRecognition(u,v,g,y,p){if((new a.PropertyCollection).setProperty(E.CancellationErrorCodePropertyName,a.CancellationErrorCode[y]),this.privResultDeferral){const R=new a.SpeakerRecognitionResult({scenario:this.privSpeakerModel.scenario,status:{statusCode:p,reason:p}},a.ResultReason.Canceled,y,p);try{this.privResultDeferral.resolve(R)}catch(P){this.privResultDeferral.reject(P)}}}recognizeSpeakerOnce(u){var v=this;return c(function*(){v.privSpeakerModel=u,v.voiceProfileType=u.scenario,v.privResultDeferral||(v.privResultDeferral=new C.Deferred),v.privRequestSession.startNewRecognition(),v.privRequestSession.listenForServiceTelemetry(v.privSpeakerAudioSource.events),v.privRecognizerConfig.parameters.setProperty(a.PropertyId.Speech_SessionId,v.privRequestSession.sessionId);const g=v.connectImpl(),y=v.sendPreAudioMessages(v.extractSpeakerContext(u)),p=yield v.privSpeakerAudioSource.attach(v.privRequestSession.audioNodeId),b=yield v.privSpeakerAudioSource.format,R=yield v.privSpeakerAudioSource.deviceInfo,P=new o.ReplayableAudioNode(p,b.avgBytesPerSec);yield v.privRequestSession.onAudioSourceAttachCompleted(P,!1),v.privRecognizerConfig.SpeechServiceConfig.Context.audio={source:R};try{yield g,yield y}catch(V){v.cancelRecognition(v.privRequestSession.sessionId,v.privRequestSession.requestId,a.CancellationReason.Error,a.CancellationErrorCode.ConnectionFailure,V)}const k=new a.SessionEventArgs(v.privRequestSession.sessionId);return v.privRecognizer.sessionStarted&&v.privRecognizer.sessionStarted(v.privRecognizer,k),v.receiveMessage(),v.sendAudio(P).then(()=>{},V=>{v.cancelRecognition(v.privRequestSession.sessionId,v.privRequestSession.requestId,a.CancellationReason.Error,a.CancellationErrorCode.RuntimeError,V)}),v.privResultDeferral.promise})()}sendPreAudioMessages(u){var v=this;return c(function*(){const g=yield v.fetchConnection();yield v.sendSpeakerRecognition(g,u)})()}sendSpeakerRecognition(u,v){var g=this;return c(function*(){const y=JSON.stringify(v);return u.send(new T.SpeechConnectionMessage(C.MessageType.Text,"speaker.context",g.privRequestSession.requestId,"application/json; charset=utf-8",y))})()}extractSpeakerContext(u){return{features:{interimResult:"enabled",progressiveDetection:"disabled"},profileIds:u.profileIds,scenario:u.scenario}}}},27700:(ge,_,f)=>{"use strict";
vendor: 4,218 bytes, line 1
1Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechConnectionFactory=void 0;const c=f(20709),o=f(67971),C=f(15912),a=f(32135),E=f(67971),T=f(75299),s=f(89797);_.SpeechConnectionFactory=class h extends a.ConnectionFactoryBase{constructor(){super(...arguments),this.interactiveRelativeUri="/speech/recognition/interactive/cognitiveservices/v1",this.conversationRelativeUri="/speech/recognition/conversation/cognitiveservices/v1",this.dictationRelativeUri="/speech/recognition/dictation/cognitiveservices/v1",this.universalUri="/speech/universal/v"}create(v,g,y){let p=v.parameters.getProperty(C.PropertyId.SpeechServiceConnection_Endpoint,void 0);const b=v.parameters.getProperty(C.PropertyId.SpeechServiceConnection_Region,void 0),R=a.ConnectionFactoryBase.getHostSuffix(b),P=v.parameters.getProperty(C.PropertyId.SpeechServiceConnection_Host,"wss://"+b+".stt.speech"+R),k={},O=v.parameters.getProperty(C.PropertyId.SpeechServiceConnection_EndpointId,void 0),V=v.parameters.getProperty(C.PropertyId.SpeechServiceConnection_RecoLanguage,void 0);if(O?(!p||-1===p.search(s.QueryParameterNames.CustomSpeechDeploymentId))&&(k[s.QueryParameterNames.CustomSpeechDeploymentId]=O):V&&(!p||-1===p.search(s.QueryParameterNames.Language))&&(k[s.QueryParameterNames.Language]=V),(!p||-1===p.search(s.QueryParameterNames.Format))&&(k[s.QueryParameterNames.Format]=v.parameters.getProperty(o.OutputFormatPropertyName,C.OutputFormat[C.OutputFormat.Simple]).toLowerCase()),void 0!==v.autoDetectSourceLanguages&&(k[s.QueryParameterNames.EnableLanguageId]="true"),this.setCommonUrlParams(v,k,p),!p)switch(v.recognitionMode){case E.RecognitionMode.Conversation:p="true"===v.parameters.getProperty(o.ForceDictationPropertyName,"false")?P+this.dictationRelativeUri:void 0!==v.recognitionEndpointVersion&&parseInt(v.recognitionEndpointVersion,10)>1?`${P}${this.universalUri}${v.recognitionEndpointVersion}`:P+this.conversationRelativeUri;break;case E.RecognitionMode.Dictation:p=P+this.dictationRelativeUri;break;default:p=void 0!==v.recognitionEndpointVersion&&parseInt(v.recognitionEndpointVersion,10)>1?`${P}${this.universalUri}${v.recognitionEndpointVersion}`:P+this.interactiveRelativeUri}const K={};void 0!==g.token&&""!==g.token&&(K[g.headerName]=g.token),K[T.HeaderNames.ConnectionId]=y;const z="true"===v.parameters.getProperty("SPEECH-EnableWebsocketCompression","false"),H=new c.WebsocketConnection(p,k,K,new E.WebsocketMessageFormatter,c.ProxyInfo.fromRecognizerConfig(v),z,y);return v.parameters.setProperty(C.PropertyId.SpeechServiceConnection_Url,H.uri),H}}},58734:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechConnectionMessage=void 0;const c=f(13155),o=f(75299);class C extends c.ConnectionMessage{constructor(E,T,s,h,u,v,g,y){if(!T)throw new c.ArgumentNullError("path");if(!s)throw new c.ArgumentNullError("requestId");const p={};if(p[o.HeaderNames.Path]=T,p[o.HeaderNames.RequestId]=s,p[o.HeaderNames.RequestTimestamp]=(new Date).toISOString(),h&&(p[o.HeaderNames.ContentType]=h),v&&(p[o.HeaderNames.RequestStreamId]=v),g)for(const b in g)b&&(p[b]=g[b]);y?super(E,u,p,y):super(E,u,p),this.privPath=T,this.privRequestId=s,this.privContentType=h,this.privStreamId=v,this.privAdditionalHeaders=g}get path(){return this.privPath}get requestId(){return this.privRequestId}get contentType(){return this.privContentType}get streamId(){return this.privStreamId}get additionalHeaders(){return this.privAdditionalHeaders}static fromConnectionMessage(E){let T=null,s=null,h=null,u=null;const v={};if(E.headers)for(const g in E.headers)g&&(g.toLowerCase()===o.HeaderNames.Path.toLowerCase()?T=E.headers[g]:g.toLowerCase()===o.HeaderNames.RequestId.toLowerCase()?s=E.headers[g]:g.toLowerCase()===o.HeaderNames.ContentType.toLowerCase()?h=E.headers[g]:g.toLowerCase()===o.HeaderNames.RequestStreamId.toLowerCase()?u=E.headers[g]:v[g]=E.headers[g]);return new C(E.messageType,T,s,h,E.body,u,v,E.id)}}_.SpeechConnectionMessage=C},31741:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechContext=void 0,_.SpeechContext=class f{constructor(o){this.privContext={},this.privDynamicGrammar=o}getSection(o){return this.privContext[o]||{}}setSection(o,C){this.privContext[o]=C}
1setPronunciationAssessmentParams(o,C,a=!1){void 0===this.privContext.phraseDetection&&(this.privContext.phraseDetection={enrichment:{pronunciationAssessment:{}}}),void 0===this.privContext.phraseDetection.enrichment&&(this.privContext.phraseDetection.enrichment={pronunciationAssessment:{}}),this.privContext.phraseDetection.enrichment.pronunciationAssessment=JSON.parse(o),a&&(this.privContext.phraseDetection.mode="Conversation"),this.setWordLevelTimings(),this.privContext.phraseOutput.detailed.options.push("PronunciationAssessment"),-1===this.privContext.phraseOutput.detailed.options.indexOf("SNR")&&this.privContext.phraseOutput.detailed.options.push("SNR"),C&&(this.privContext.phraseDetection.enrichment.contentAssessment={topic:C},this.privContext.phraseOutput.detailed.options.push("ContentAssessment"))}setDetailedOutputFormat(){void 0===this.privContext.phraseOutput&&(this.privContext.phraseOutput={detailed:{options:[]},format:{}}),void 0===this.privContext.phraseOutput.detailed&&(this.privContext.phraseOutput.detailed={options:[]}),this.privContext.phraseOutput.format="Detailed"}setWordLevelTimings(){void 0===this.privContext.phraseOutput&&(this.privContext.phraseOutput={detailed:{options:[]},format:{}}),void 0===this.privContext.phraseOutput.detailed&&(this.privContext.phraseOutput.detailed={options:[]}),this.privContext.phraseOutput.format="Detailed",-1===this.privContext.phraseOutput.detailed.options.indexOf("WordTimings")&&this.privContext.phraseOutput.detailed.options.push("WordTimings")}setSpeakerDiarizationAudioOffsetMs(o){this.privContext.phraseDetection.speakerDiarization.audioOffsetMs=o}toJSON(){const o=this.privDynamicGrammar.generateGrammarObject();return this.setSection("dgi",o),JSON.stringify(this.privContext)}}},6079:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.type=_.connectivity=_.Device=_.OS=_.System=_.Context=_.SpeechServiceConfig=void 0,_.SpeechServiceConfig=class f{constructor(h){this.context=h}serialize(){return JSON.stringify(this,(h,u)=>{if(u&&"object"==typeof u&&!Array.isArray(u)){const v={};for(const g in u)Object.hasOwnProperty.call(u,g)&&(v[g&&g.charAt(0).toLowerCase()+g.substring(1)]=u[g]);return v}return u})}get Context(){return this.context}get Recognition(){return this.recognition}set Recognition(h){this.recognition=h.toLowerCase()}},_.Context=class c{constructor(h){this.system=new o,this.os=h}};class o{constructor(){this.name="SpeechSDK",this.version="1.38.0",this.build="JavaScript",this.lang="JavaScript"}}var s;_.System=o,_.OS=class C{constructor(h,u,v){this.platform=h,this.name=u,this.version=v}},_.Device=class a{constructor(h,u,v){this.manufacturer=h,this.model=u,this.version=v}},(s=_.connectivity||(_.connectivity={})).Bluetooth="Bluetooth",s.Wired="Wired",s.WiFi="WiFi",s.Cellular="Cellular",s.InBuilt="InBuilt",s.Unknown="Unknown",function(s){s.Phone="Phone",s.Speaker="Speaker",s.Car="Car",s.Headset="Headset",s.Thermostat="Thermostat",s.Microphones="Microphones",s.Deskphone="Deskphone",s.RemoteControl="RemoteControl",s.Unknown="Unknown",s.File="File",s.Stream="Stream"}(_.type||(_.type={}))},64629:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},38271:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechServiceRecognizer=void 0;const o=f(15912),C=f(67971);_.SpeechServiceRecognizer=class a extends C.ServiceRecognizerBase{constructor(T,s,h,u,v){super(T,s,h,u,v),this.privSpeechRecognizer=v}processTypeSpecificMessages(T){var s=this;return c(function*(){let h;const u=new o.PropertyCollection;u.setProperty(o.PropertyId.SpeechServiceResponse_JsonResult,T.textBody);let v=!1;switch(T.path.toLowerCase()){case"speech.hypothesis":case"speech.fragment":const g=C.SpeechHypothesis.fromJSON(T.textBody),y=g.Offset+s.privRequestSession.currentTurnAudioOffset;h=new o.SpeechRecognitionResult(s.privRequestSession.requestId,o.ResultReason.RecognizingSpeech,g.Text,g.Duration,y,g.Language,g.LanguageDetectionConfidence,void 0,void 0,T.textBody,u),s.privRequestSession.onHypothesis(y);const p=new o.SpeechRecognitionEventArgs(h,g.Duration,s.privRequestSession.sessionId);if(s.privSpeechRecognizer.recognizing)try{s.privSpeechRecognizer.recognizing(s.privSpeechRecognizer,p)}catch{}v=!0;break;case"speech.phrase":const b=C.SimpleSpeechPhrase.fromJSON(T.textBody),R=C.EnumTranslation.implTranslateRecognitionResult(b.RecognitionStatus,s.privExpectContentAssessmentResponse);if(s.privRequestSession.onPhraseRecognized(s.privRequestSession.currentTurnAudioOffset+b.Offset+b.Duration),o.ResultReason.Canceled===R){const P=C.EnumTranslation.implTranslateCancelResult(b.RecognitionStatus),k=C.EnumTranslation.implTranslateCancelErrorCode(b.RecognitionStatus);yield s.cancelRecognitionLocal(P,k,C.EnumTranslation.implTranslateErrorDetails(k))}else{if(!s.privRequestSession.isSpeechEnded||R!==o.ResultReason.NoMatch||b.RecognitionStatus===C.RecognitionStatus.InitialSilenceTimeout){if(s.privRecognizerConfig.parameters.getProperty(C.OutputFormatPropertyName)===o.OutputFormat[o.OutputFormat.Simple])h=new o.SpeechRecognitionResult(s.privRequestSession.requestId,R,b.DisplayText,b.Duration,b.Offset+s.privRequestSession.currentTurnAudioOffset,b.Language,b.LanguageDetectionConfidence,void 0,void 0,T.textBody,u);
1else{const k=C.DetailedSpeechPhrase.fromJSON(T.textBody),O=k.Offset+s.privRequestSession.currentTurnAudioOffset,V=k.getJsonWithCorrectedOffsets(O);h=new o.SpeechRecognitionResult(s.privRequestSession.requestId,R,k.RecognitionStatus===C.RecognitionStatus.Success?k.NBest[0].Display:void 0,k.Duration,O,k.Language,k.LanguageDetectionConfidence,void 0,void 0,V,u)}const P=new o.SpeechRecognitionEventArgs(h,h.offset,s.privRequestSession.sessionId);if(s.privSpeechRecognizer.recognized)try{s.privSpeechRecognizer.recognized(s.privSpeechRecognizer,P)}catch{}}if(s.privSuccessCallback){try{s.privSuccessCallback(h)}catch(P){s.privErrorCallback&&s.privErrorCallback(P)}s.privSuccessCallback=void 0,s.privErrorCallback=void 0}}v=!0}return v})()}cancelRecognition(T,s,h,u,v){const g=new o.PropertyCollection;if(g.setProperty(C.CancellationErrorCodePropertyName,o.CancellationErrorCode[u]),this.privSpeechRecognizer.canceled){const y=new o.SpeechRecognitionCanceledEventArgs(h,v,u,void 0,T);try{this.privSpeechRecognizer.canceled(this.privSpeechRecognizer,y)}catch{}}if(this.privSuccessCallback){const y=new o.SpeechRecognitionResult(s,o.ResultReason.Canceled,void 0,void 0,void 0,void 0,void 0,void 0,v,void 0,g);try{this.privSuccessCallback(y),this.privSuccessCallback=void 0}catch{}}}}},41297:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechSynthesisAdapter=void 0;const c=f(15912),o=f(67971);_.SpeechSynthesisAdapter=class C extends o.SynthesisAdapterBase{constructor(E,T,s,h,u){super(E,T,s,u),this.privSpeechSynthesizer=h,this.privSynthesizer=h}setSynthesisContextSynthesisSection(){this.privSynthesisContext.setSynthesisSection(this.privSpeechSynthesizer)}onSynthesisStarted(E){const T=new c.SpeechSynthesisEventArgs(new c.SpeechSynthesisResult(E,c.ResultReason.SynthesizingAudioStarted));this.privSpeechSynthesizer.synthesisStarted&&this.privSpeechSynthesizer.synthesisStarted(this.privSpeechSynthesizer,T)}onSynthesizing(E){if(this.privSpeechSynthesizer.synthesizing)try{const T=this.privSynthesisTurn.audioOutputFormat.addHeader(E),s=new c.SpeechSynthesisEventArgs(new c.SpeechSynthesisResult(this.privSynthesisTurn.requestId,c.ResultReason.SynthesizingAudio,T));this.privSpeechSynthesizer.synthesizing(this.privSpeechSynthesizer,s)}catch{}}onSynthesisCancelled(E){if(this.privSpeechSynthesizer.SynthesisCanceled){const T=new c.SpeechSynthesisEventArgs(E);try{this.privSpeechSynthesizer.SynthesisCanceled(this.privSpeechSynthesizer,T)}catch{}}}onSynthesisCompleted(E){if(this.privSpeechSynthesizer.synthesisCompleted)try{this.privSpeechSynthesizer.synthesisCompleted(this.privSpeechSynthesizer,new c.SpeechSynthesisEventArgs(E))}catch{}}onWordBoundary(E){if(this.privSpeechSynthesizer.wordBoundary)try{this.privSpeechSynthesizer.wordBoundary(this.privSpeechSynthesizer,E)}catch{}}onVisemeReceived(E){if(this.privSpeechSynthesizer.visemeReceived)try{this.privSpeechSynthesizer.visemeReceived(this.privSpeechSynthesizer,E)}catch{}}onBookmarkReached(E){if(this.privSpeechSynthesizer.bookmarkReached)try{this.privSpeechSynthesizer.bookmarkReached(this.privSpeechSynthesizer,E)}catch{}}}},432:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechSynthesisConnectionFactory=void 0;const c=f(20709),o=f(15912),C=f(32135),a=f(67971),E=f(75299),T=f(89797);_.SpeechSynthesisConnectionFactory=class s{constructor(){this.synthesisUri="/cognitiveservices/websocket/v1"}create(u,v,g){let y=u.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Endpoint,void 0);const p=u.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Region,void 0),b=C.ConnectionFactoryBase.getHostSuffix(p),R=u.parameters.getProperty(o.PropertyId.SpeechServiceConnection_EndpointId,void 0),k=u.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Host,"wss://"+p+"."+(void 0===R?"tts":"voice")+".speech"+b),O={},V={};void 0!==v.token&&""!==v.token&&(V[v.headerName]=v.token),V[E.HeaderNames.ConnectionId]=g,void 0!==R&&""!==R&&(!y||-1===y.search(T.QueryParameterNames.CustomVoiceDeploymentId))&&(O[T.QueryParameterNames.CustomVoiceDeploymentId]=R),u.avatarEnabled&&(!y||-1===y.search(T.QueryParameterNames.EnableAvatar))&&(O[T.QueryParameterNames.EnableAvatar]="true"),y||(y=k+this.synthesisUri),u.parameters.setProperty(o.PropertyId.SpeechServiceConnection_Url,y);const K="true"===u.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new c.WebsocketConnection(y,O,V,new a.WebsocketMessageFormatter,c.ProxyInfo.fromParameters(u.parameters),K,g)}}},63118:(ge,_,f)=>{"use strict";var c=f(29293).default;
1Object.defineProperty(_,"__esModule",{value:!0}),_.SynthesisAdapterBase=void 0;const o=f(13155),C=f(15912),a=f(67971),E=f(58734);class T{constructor(h,u,v,g){if(this.speakOverride=void 0,this.receiveMessageOverride=void 0,this.connectImplOverride=void 0,this.configConnectionOverride=void 0,this.privConnectionConfigurationPromise=void 0,!h)throw new o.ArgumentNullError("authentication");if(!u)throw new o.ArgumentNullError("connectionFactory");if(!v)throw new o.ArgumentNullError("synthesizerConfig");this.privAuthentication=h,this.privConnectionFactory=u,this.privSynthesizerConfig=v,this.privIsDisposed=!1,this.privSessionAudioDestination=g,this.privSynthesisTurn=new a.SynthesisTurn,this.privConnectionEvents=new o.EventSource,this.privServiceEvents=new o.EventSource,this.privSynthesisContext=new a.SynthesisContext,this.privAgentConfig=new a.AgentConfig,this.connectionEvents.attach(y=>{"ConnectionClosedEvent"===y.name&&1e3!==y.statusCode&&this.cancelSynthesisLocal(C.CancellationReason.Error,1007===y.statusCode?C.CancellationErrorCode.BadRequestParameters:C.CancellationErrorCode.ConnectionFailure,`${y.reason} websocket error code: ${y.statusCode}`)})}get synthesisContext(){return this.privSynthesisContext}get agentConfig(){return this.privAgentConfig}get connectionEvents(){return this.privConnectionEvents}get serviceEvents(){return this.privServiceEvents}set activityTemplate(h){this.privActivityTemplate=h}get activityTemplate(){return this.privActivityTemplate}set audioOutputFormat(h){this.privAudioOutputFormat=h,this.privSynthesisTurn.audioOutputFormat=h,void 0!==this.privSessionAudioDestination&&(this.privSessionAudioDestination.format=h),void 0!==this.synthesisContext&&(this.synthesisContext.audioOutputFormat=h)}isDisposed(){return this.privIsDisposed}dispose(h){var u=this;return c(function*(){u.privIsDisposed=!0,void 0!==u.privSessionAudioDestination&&u.privSessionAudioDestination.close(),void 0!==u.privConnectionConfigurationPromise&&(yield(yield u.privConnectionConfigurationPromise).dispose(h))})()}connect(){var h=this;return c(function*(){yield h.connectImpl()})()}sendNetworkMessage(h,u){var v=this;return c(function*(){const g="string"==typeof u?o.MessageType.Text:o.MessageType.Binary,y="string"==typeof u?"application/json":"";return(yield v.fetchConnection()).send(new E.SpeechConnectionMessage(g,h,v.privSynthesisTurn.requestId,y,u))})()}Speak(h,u,v,g,y,p){var b=this;return c(function*(){let R;if(R=u?h:b.privSynthesizer.buildSsml(h),void 0!==b.speakOverride)return b.speakOverride(R,v,g,y);b.privSuccessCallback=g,b.privErrorCallback=y,b.privSynthesisTurn.startNewSynthesis(v,h,u,p);try{yield b.connectImpl();const P=yield b.fetchConnection();yield b.sendSynthesisContext(P),yield b.sendSsmlMessage(P,R,v),b.onSynthesisStarted(v),b.receiveMessage()}catch(P){return b.cancelSynthesisLocal(C.CancellationReason.Error,C.CancellationErrorCode.ConnectionFailure,P),Promise.reject(P)}})()}stopSpeaking(){var h=this;return c(function*(){return yield h.connectImpl(),(yield h.fetchConnection()).send(new E.SpeechConnectionMessage(o.MessageType.Text,"synthesis.control",h.privSynthesisTurn.requestId,"application/json",JSON.stringify({action:"stop"})))})()}cancelSynthesis(h,u,v,g){const y=new C.PropertyCollection;y.setProperty(a.CancellationErrorCodePropertyName,C.CancellationErrorCode[v]);const p=new C.SpeechSynthesisResult(h,C.ResultReason.Canceled,void 0,g,y);if(this.onSynthesisCancelled(p),this.privSuccessCallback)try{this.privSuccessCallback(p)}catch{}}cancelSynthesisLocal(h,u,v){this.privSynthesisTurn.isSynthesizing&&(this.privSynthesisTurn.onStopSynthesizing(),this.cancelSynthesis(this.privSynthesisTurn.requestId,h,u,v))}processTypeSpecificMessages(h){return!0}receiveMessage(){var h=this;return c(function*(){try{const v=yield(yield h.fetchConnection()).read();if(void 0!==h.receiveMessageOverride)return h.receiveMessageOverride();if(h.privIsDisposed)return;if(!v)return h.privSynthesisTurn.isSynthesizing?h.receiveMessage():void 0;const g=E.SpeechConnectionMessage.fromConnectionMessage(v);if(g.requestId.toLowerCase()===h.privSynthesisTurn.requestId.toLowerCase())switch(g.path.toLowerCase()){case"turn.start":h.privSynthesisTurn.onServiceTurnStartResponse(g.textBody);break;case"response":h.privSynthesisTurn.onServiceResponseMessage(g.textBody);break;case"audio":h.privSynthesisTurn.streamId.toLowerCase()===g.streamId.toLowerCase()&&g.binaryBody&&(h.privSynthesisTurn.onAudioChunkReceived(g.binaryBody),h.onSynthesizing(g.binaryBody),void 0!==h.privSessionAudioDestination&&h.privSessionAudioDestination.write(g.binaryBody));break;case"audio.metadata":const y=a.SynthesisAudioMetadata.fromJSON(g.textBody).Metadata;for(const b of y)switch(b.Type){case a.MetadataType.WordBoundary:case a.MetadataType.SentenceBoundary:h.privSynthesisTurn.onTextBoundaryEvent(b);const R=new C.SpeechSynthesisWordBoundaryEventArgs(b.Data.Offset,b.Data.Duration,b.Data.text.Text,b.Data.text.Length,b.Type===a.MetadataType.WordBoundary?h.privSynthesisTurn.currentTextOffset:h.privSynthesisTurn.currentSentenceOffset,b.Data.text.BoundaryType);h.onWordBoundary(R);break;case a.MetadataType.Bookmark:const P=new C.SpeechSynthesisBookmarkEventArgs(b.Data.Offset,b.Data.Bookmark);h.onBookmarkReached(P);break;case a.MetadataType.Viseme:if(h.privSynthesisTurn.onVisemeMetadataReceived(b),b.Data.IsLastAnimation){const k=new C.SpeechSynthesisVisemeEventArgs(b.Data.Offset,b.Data.VisemeId,h.privSynthesisTurn.getAndClearVisemeAnimation());h.onVisemeReceived(k)}break;case a.MetadataType.AvatarSignal:h.onAvatarEvent(b);break;case a.MetadataType.SessionEnd:h.privSynthesisTurn.onSessionEnd(b)}break;case"turn.end":let p;h.privSynthesisTurn.onServiceTurnEndResponse();try{p=yield h.privSynthesisTurn.constructSynthesisResult(),h.privSuccessCallback&&h.privSuccessCallback(p
1)}catch(b){h.privErrorCallback&&h.privErrorCallback(b)}h.onSynthesisCompleted(p);break;default:h.processTypeSpecificMessages(g)||h.privServiceEvents&&h.serviceEvents.onEvent(new o.ServiceEvent(g.path.toLowerCase(),g.textBody))}return h.receiveMessage()}catch{}})()}sendSynthesisContext(h){this.setSynthesisContextSynthesisSection();const u=this.synthesisContext.toJSON();if(u)return h.send(new E.SpeechConnectionMessage(o.MessageType.Text,"synthesis.context",this.privSynthesisTurn.requestId,"application/json",u))}setSpeechConfigSynthesisSection(){}connectImpl(h=!1){var u=this;if(null!=this.privConnectionPromise)return this.privConnectionPromise.then(g=>g.state()===o.ConnectionState.Disconnected?(this.privConnectionId=null,this.privConnectionPromise=null,this.connectImpl()):this.privConnectionPromise,()=>(this.privConnectionId=null,this.privConnectionPromise=null,this.connectImpl()));this.privAuthFetchEventId=o.createNoDashGuid(),this.privConnectionId=o.createNoDashGuid(),this.privSynthesisTurn.onPreConnectionStart(this.privAuthFetchEventId);const v=h?this.privAuthentication.fetchOnExpiry(this.privAuthFetchEventId):this.privAuthentication.fetch(this.privAuthFetchEventId);return this.privConnectionPromise=v.then(function(){var g=c(function*(y){u.privSynthesisTurn.onAuthCompleted(!1);const p=u.privConnectionFactory.create(u.privSynthesizerConfig,y,u.privConnectionId);p.events.attach(R=>{u.connectionEvents.onEvent(R)});const b=yield p.open();return 200===b.statusCode?(u.privSynthesisTurn.onConnectionEstablishCompleted(b.statusCode),Promise.resolve(p)):403!==b.statusCode||h?(u.privSynthesisTurn.onConnectionEstablishCompleted(b.statusCode),Promise.reject(`Unable to contact server. StatusCode: ${b.statusCode},\n ${u.privSynthesizerConfig.parameters.getProperty(C.PropertyId.SpeechServiceConnection_Url)} Reason: ${b.reason}`)):u.connectImpl(!0)});return function(y){return g.apply(this,arguments)}}(),g=>{throw this.privSynthesisTurn.onAuthCompleted(!0),new Error(g)}),this.privConnectionPromise.catch(()=>{}),this.privConnectionPromise}sendSpeechServiceConfig(h,u){if(u)return h.send(new E.SpeechConnectionMessage(o.MessageType.Text,"speech.config",this.privSynthesisTurn.requestId,"application/json",u))}sendSsmlMessage(h,u,v){return h.send(new E.SpeechConnectionMessage(o.MessageType.Text,"ssml",v,"application/ssml+xml",u))}fetchConnection(){var h=this;return c(function*(){return void 0!==h.privConnectionConfigurationPromise?h.privConnectionConfigurationPromise.then(u=>u.state()===o.ConnectionState.Disconnected?(h.privConnectionId=null,h.privConnectionConfigurationPromise=void 0,h.fetchConnection()):h.privConnectionConfigurationPromise,()=>(h.privConnectionId=null,h.privConnectionConfigurationPromise=void 0,h.fetchConnection())):(h.privConnectionConfigurationPromise=h.configureConnection(),yield h.privConnectionConfigurationPromise)})()}configureConnection(){var h=this;return c(function*(){const u=yield h.connectImpl();return void 0!==h.configConnectionOverride?h.configConnectionOverride(u):(h.setSpeechConfigSynthesisSection(),yield h.sendSpeechServiceConfig(u,h.privSynthesizerConfig.SpeechServiceConfig.serialize()),u)})()}onAvatarEvent(h){}onSynthesisStarted(h){}onSynthesizing(h){}onSynthesisCancelled(h){}onSynthesisCompleted(h){}onWordBoundary(h){}onVisemeReceived(h){}onBookmarkReached(h){}}_.SynthesisAdapterBase=T,T.telemetryDataEnabled=!0},34855:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SynthesisContext=void 0;const c=f(15912);_.SynthesisContext=class o{constructor(){this.privContext={}}setSection(a,E){this.privContext[a]=E}set audioOutputFormat(a){this.privAudioOutputFormat=a}toJSON(){return JSON.stringify(this.privContext)}setSynthesisSection(a){const E=this.buildSynthesisContext(a);this.setSection("synthesis",E)}buildSynthesisContext(a){return{audio:{metadataOptions:{bookmarkEnabled:!(null==a||!a.bookmarkReached),punctuationBoundaryEnabled:null==a?void 0:a.properties.getProperty(c.PropertyId.SpeechServiceResponse_RequestPunctuationBoundary,!(null==a||!a.wordBoundary)),sentenceBoundaryEnabled:null==a?void 0:a.properties.getProperty(c.PropertyId.SpeechServiceResponse_RequestSentenceBoundary,!1),sessionEndEnabled:!0,visemeEnabled:!(null==a||!a.visemeReceived),wordBoundaryEnabled:null==a?void 0:a.properties.getProperty(c.PropertyId.SpeechServiceResponse_RequestWordBoundary,!(null==a||!a.wordBoundary))},outputFormat:this.privAudioOutputFormat.requestAudioFormatString},language:{autoDetection:null==a?void 0:a.autoDetectSourceLanguage}}}}},52127:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.SynthesisStartedEvent=_.ConnectingToSynthesisServiceEvent=_.SynthesisTriggeredEvent=_.SpeechSynthesisEvent=void 0;const c=f(13155);class o extends c.PlatformEvent{constructor(s,h,u=c.EventType.Info){super(s,u),this.privRequestId=h}get requestId(){return this.privRequestId}}_.SpeechSynthesisEvent=o,_.SynthesisTriggeredEvent=class C extends o{constructor(s,h,u){super("SynthesisTriggeredEvent",s),this.privSessionAudioDestinationId=h,this.privTurnAudioDestinationId=u}get audioSessionDestinationId(){return this.privSessionAudioDestinationId}get audioTurnDestinationId(){return this.privTurnAudioDestinationId}},_.ConnectingToSynthesisServiceEvent=class a extends o{constructor(s,h){super("ConnectingToSynthesisServiceEvent",s),this.privAuthFetchEventId=h}get authFetchEventId(){return this.privAuthFetchEventId}},_.SynthesisStartedEvent=class E extends o{constructor(s,h){super("SynthesisStartedEvent",s),this.privAuthFetchEventId=h}get authFetchEventId(){return this.privAuthFetchEventId}}},46381:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SynthesisRestAdapter=void 0;const c=f(20709),o=f(15912),C=f(32135),a=f(75299);_.SynthesisRestAdapter=class E{constructor(s,h){let u=s.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Endpoint,void 0);if(!u){const g=s.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Region,"westus"),y=C.ConnectionFactoryBase.getHostSuffix(g);u=s.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Host,`https://${g}.tts.speech${y}`)}this.privUri=`${u}/cognitiveservices/voices/list`,this.privRestAdapter=new c.RestMessageAdapter(c.RestConfigBase.requestOptions),this.privAuthentication=h}getVoicesList(s){return this.privRestAdapter.setHeaders(a.HeaderNames.ConnectionId,s),this.privAuthentication.fetch(s).then(h=>(this.privRestAdapter.setHeaders(h.headerName,h.token),this.privRestAdapter.request(c.RestRequestType.Get,this.privUri)))}}},8433:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.SynthesisTurn=void 0;const o=f(13155),C=f(50221),a=f(15912),E=f(49263),T=f(52127);class s{constructor(){this.privIsDisposed=!1,this.privIsSynthesizing=!1,this.privIsSynthesisEnded=!1,this.privBytesReceived=0,this.privInTurn=!1,this.privTextOffset=0,this.privNextSearchTextIndex=0,this.privSentenceOffset=0,this.privNextSearchSentenceIndex=0,this.privRequestId=o.createNoDashGuid(),this.privTurnDeferral=new o.Deferred,this.privTurnDeferral.resolve()}get requestId(){return this.privRequestId}get streamId(){return this.privStreamId}set streamId(u){this.privStreamId=u}get audioOutputFormat(){return this.privAudioOutputFormat}set audioOutputFormat(u){this.privAudioOutputFormat=u}get turnCompletionPromise(){return this.privTurnDeferral.promise}get isSynthesisEnded(){return this.privIsSynthesisEnded}get isSynthesizing(){return this.privIsSynthesizing}get currentTextOffset(){return this.privTextOffset}get currentSentenceOffset(){return this.privSentenceOffset}get bytesReceived(){return this.privBytesReceived}get audioDuration(){return this.privAudioDuration}get extraProperties(){if(this.privWebRTCSDP){const u=new a.PropertyCollection;return u.setProperty(a.PropertyId.TalkingAvatarService_WebRTC_SDP,this.privWebRTCSDP),u}}getAllReceivedAudio(){var u=this;return c(function*(){return u.privReceivedAudio?Promise.resolve(u.privReceivedAudio):u.privIsSynthesisEnded?(yield u.readAllAudioFromStream(),Promise.resolve(u.privReceivedAudio)):null})()}getAllReceivedAudioWithHeader(){var u=this;return c(function*(){if(u.privReceivedAudioWithHeader)return u.privReceivedAudioWithHeader;if(!u.privIsSynthesisEnded)return null;if(u.audioOutputFormat.hasHeader){const v=yield u.getAllReceivedAudio();return u.privReceivedAudioWithHeader=u.audioOutputFormat.addHeader(v),u.privReceivedAudioWithHeader}return u.getAllReceivedAudio()})()}startNewSynthesis(u,v,g,y){this.privIsSynthesisEnded=!1,this.privIsSynthesizing=!0,this.privRequestId=u,this.privRawText=v,this.privIsSSML=g,this.privAudioOutputStream=new C.PullAudioOutputStreamImpl,this.privAudioOutputStream.format=this.privAudioOutputFormat,this.privReceivedAudio=null,this.privReceivedAudioWith
1Header=null,this.privBytesReceived=0,this.privTextOffset=0,this.privNextSearchTextIndex=0,this.privSentenceOffset=0,this.privNextSearchSentenceIndex=0,this.privPartialVisemeAnimation="",this.privWebRTCSDP="",void 0!==y&&(this.privTurnAudioDestination=y,this.privTurnAudioDestination.format=this.privAudioOutputFormat),this.onEvent(new T.SynthesisTriggeredEvent(this.requestId,void 0,void 0===y?void 0:y.id()))}onPreConnectionStart(u){this.privAuthFetchEventId=u,this.onEvent(new T.ConnectingToSynthesisServiceEvent(this.privRequestId,this.privAuthFetchEventId))}onAuthCompleted(u){u&&this.onComplete()}onConnectionEstablishCompleted(u){if(200===u)return this.onEvent(new T.SynthesisStartedEvent(this.requestId,this.privAuthFetchEventId)),void(this.privBytesReceived=0);403===u&&this.onComplete()}onServiceResponseMessage(u){const v=JSON.parse(u);this.streamId=v.audio.streamId}onServiceTurnEndResponse(){this.privInTurn=!1,this.privTurnDeferral.resolve(),this.onComplete()}onServiceTurnStartResponse(u){this.privTurnDeferral&&this.privInTurn&&(this.privTurnDeferral.reject("Another turn started before current completed."),this.privTurnDeferral.promise.then().catch(()=>{})),this.privInTurn=!0,this.privTurnDeferral=new o.Deferred;const v=JSON.parse(u);v.webrtc&&(this.privWebRTCSDP=v.webrtc.connectionString)}onAudioChunkReceived(u){this.isSynthesizing&&(this.privAudioOutputStream.write(u),this.privBytesReceived+=u.byteLength,void 0!==this.privTurnAudioDestination&&this.privTurnAudioDestination.write(u))}onTextBoundaryEvent(u){this.updateTextOffset(u.Data.text.Text,u.Type)}onVisemeMetadataReceived(u){void 0!==u.Data.AnimationChunk&&(this.privPartialVisemeAnimation+=u.Data.AnimationChunk)}onSessionEnd(u){this.privAudioDuration=u.Data.Offset}constructSynthesisResult(){var u=this;return c(function*(){const v=yield u.getAllReceivedAudioWithHeader();return new a.SpeechSynthesisResult(u.requestId,a.ResultReason.SynthesizingAudioCompleted,v,void 0,u.extraProperties,u.audioDuration)})()}dispose(){this.privIsDisposed||(this.privIsDisposed=!0)}onStopSynthesizing(){this.onComplete()}getAndClearVisemeAnimation(){const u=this.privPartialVisemeAnimation;return this.privPartialVisemeAnimation="",u}onEvent(u){o.Events.instance.onEvent(u)}static isXmlTag(u){return u.length>=2&&"<"===u[0]&&">"===u[u.length-1]}updateTextOffset(u,v){v===E.MetadataType.WordBoundary?(this.privTextOffset=this.privRawText.indexOf(u,this.privNextSearchTextIndex),this.privTextOffset>=0&&(this.privNextSearchTextIndex=this.privTextOffset+u.length,this.privIsSSML&&this.withinXmlTag(this.privTextOffset)&&!s.isXmlTag(u)&&this.updateTextOffset(u,v))):(this.privSentenceOffset=this.privRawText.indexOf(u,this.privNextSearchSentenceIndex),this.privSentenceOffset>=0&&(this.privNextSearchSentenceIndex=this.privSentenceOffset+u.length,this.privIsSSML&&this.withinXmlTag(this.privSentenceOffset)&&!s.isXmlTag(u)&&this.updateTextOffset(u,v)))}onComplete(){this.privIsSynthesizing&&(this.privIsSynthesizing=!1,this.privIsSynthesisEnded=!0,this.privAudioOutputStream.close(),this.privInTurn=!1,void 0!==this.privTurnAudioDestination&&(this.privTurnAudioDestination.close(),this.privTurnAudioDestination=void 0))}readAllAudioFromStream(){var u=this;return c(function*(){if(u.privIsSynthesisEnded){u.privReceivedAudio=new ArrayBuffer(u.bytesReceived);try{yield u.privAudioOutputStream.read(u.privReceivedAudio)}catch{u.privReceivedAudio=new ArrayBuffer(0)}}})()}withinXmlTag(u){return this.privRawText.indexOf("<",u+1)>this.privRawText.indexOf(">",u+1)}}_.SynthesisTurn=s},77392:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SynthesizerConfig=_.SynthesisServiceType=void 0;const c=f(67971);var o,a;(a=o=_.SynthesisServiceType||(_.SynthesisServiceType={}))[a.Standard=0]="Standard",a[a.Custom=1]="Custom",_.SynthesizerConfig=class C{constructor(E,T){this.privSynthesisServiceType=o.Standard,this.avatarEnabled=!1,this.privSpeechServiceConfig=E||new c.SpeechServiceConfig(new c.Context(null)),this.privParameters=T}get parameters(){return this.privParameters}get synthesisServiceType(){return this.privSynthesisServiceType}set synthesisServiceType(E){this.privSynthesisServiceType=E}set synthesisVideoSection(E){this.privSpeechServiceConfig.Context.synthesis={video:E}}get SpeechServiceConfig(){return this.privSpeechServiceConfig}}},91489:(ge,_,f)=>{"use strict";
vendor: 4,605 bytes, line 1
1Object.defineProperty(_,"__esModule",{value:!0}),_.TranscriberConnectionFactory=void 0;const c=f(20709),o=f(15912),C=f(32135),a=f(67971),E=f(75299),T=f(89797);_.TranscriberConnectionFactory=class s extends C.ConnectionFactoryBase{constructor(){super(...arguments),this.multiaudioRelativeUri="/speech/recognition/multiaudio"}create(u,v,g){let y=u.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Endpoint,void 0);const p=u.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Region,"centralus"),b=C.ConnectionFactoryBase.getHostSuffix(p),P=u.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Host,"wss://transcribe."+p+".cts.speech"+b+this.multiaudioRelativeUri),k={};this.setQueryParams(k,u,y),y||(y=P);const O={};void 0!==v.token&&""!==v.token&&(O[v.headerName]=v.token),O[E.HeaderNames.ConnectionId]=g,u.parameters.setProperty(o.PropertyId.SpeechServiceConnection_Url,y);const V="true"===u.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new c.WebsocketConnection(y,k,O,new a.WebsocketMessageFormatter,c.ProxyInfo.fromRecognizerConfig(u),V,g)}setQueryParams(u,v,g){const y=v.parameters.getProperty(o.PropertyId.SpeechServiceConnection_EndpointId,void 0),p=v.parameters.getProperty(o.PropertyId.SpeechServiceConnection_RecoLanguage,void 0);y&&!(T.QueryParameterNames.CustomSpeechDeploymentId in u)&&(u[T.QueryParameterNames.CustomSpeechDeploymentId]=y),p&&!(T.QueryParameterNames.Language in u)&&(u[T.QueryParameterNames.Language]=p);const b="true"===v.parameters.getProperty(o.PropertyId.SpeechServiceResponse_RequestWordLevelTimestamps,"false").toLowerCase(),R=v.parameters.getProperty(a.OutputFormatPropertyName,o.OutputFormat[o.OutputFormat.Simple])!==o.OutputFormat[o.OutputFormat.Simple];(b||R)&&(u[T.QueryParameterNames.Format]=o.OutputFormat[o.OutputFormat.Detailed].toLowerCase()),this.setCommonUrlParams(v,u,g)}}},74914:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationConnectionConfig=void 0;const c=f(75017);class o extends c.RestConfigBase{static get host(){return o.privHost}static get apiVersion(){return o.privApiVersion}static get clientAppId(){return o.privClientAppId}static get defaultLanguageCode(){return o.privDefaultLanguageCode}static get restPath(){return o.privRestPath}static get webSocketPath(){return o.privWebSocketPath}static get transcriptionEventKeys(){return o.privTranscriptionEventKeys}}_.ConversationConnectionConfig=o,o.privHost="dev.microsofttranslator.com",o.privRestPath="/capito/room",o.privApiVersion="2.0",o.privDefaultLanguageCode="en-US",o.privClientAppId="FC539C22-1767-4F1F-84BC-B4D811114F15",o.privWebSocketPath="/capito/translate",o.privTranscriptionEventKeys=["iCalUid","callId","organizer","FLAC","MTUri","DifferentiateGuestSpeakers","audiorecording","Threadid","OrganizerMri","OrganizerTenantId","UserToken"]},94452:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationConnectionFactory=void 0;const c=f(20709),o=f(13155),C=f(8804),a=f(15912),E=f(32135),T=f(74914),s=f(84322);_.ConversationConnectionFactory=class h extends E.ConnectionFactoryBase{create(v,g,y){const p=v.parameters.getProperty(a.PropertyId.ConversationTranslator_Host,T.ConversationConnectionConfig.host),b=v.parameters.getProperty(a.PropertyId.ConversationTranslator_CorrelationId,o.createGuid()),R=`wss://${p}${T.ConversationConnectionConfig.webSocketPath}`,P=v.parameters.getProperty(a.PropertyId.ConversationTranslator_Token,void 0);C.Contracts.throwIfNullOrUndefined(P,"token");const k={};k[T.ConversationConnectionConfig.configParams.apiVersion]=T.ConversationConnectionConfig.apiVersion,k[T.ConversationConnectionConfig.configParams.token]=P,k[T.ConversationConnectionConfig.configParams.correlationId]=b;const O="true"===v.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new c.WebsocketConnection(R,k,{},new s.ConversationWebsocketMessageFormatter,c.ProxyInfo.fromRecognizerConfig(v),O,y)}}},80973:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationConnectionMessage=void 0;const c=f(13155);_.ConversationConnectionMessage=class o extends c.ConnectionMessage{constructor(a,E,T,s){super(a,E,T,s);const h=JSON.parse(this.textBody);void 0!==h.type&&(this.privConversationMessageType=h.type)}get conversationMessageType(){return this.privConversationMessageType}}},51149:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationManager=void 0;const c=f(20709),o=f(8804),C=f(15912),a=f(74914);_.ConversationManager=class E{constructor(){this.privRequestParam
1s=a.ConversationConnectionConfig.configParams,this.privErrors=a.ConversationConnectionConfig.restErrors,this.privHost=a.ConversationConnectionConfig.host,this.privApiVersion=a.ConversationConnectionConfig.apiVersion,this.privRestPath=a.ConversationConnectionConfig.restPath,this.privRestAdapter=new c.RestMessageAdapter({})}createOrJoin(s,h,u,v){try{o.Contracts.throwIfNullOrUndefined(s,"args");const g=s.getProperty(C.PropertyId.SpeechServiceConnection_RecoLanguage,a.ConversationConnectionConfig.defaultLanguageCode),y=s.getProperty(C.PropertyId.ConversationTranslator_Name,"conversation_host"),p=s.getProperty(C.PropertyId.ConversationTranslator_Host,this.privHost),b=s.getProperty(C.PropertyId.ConversationTranslator_CorrelationId),R=s.getProperty(C.PropertyId.SpeechServiceConnection_Key),P=s.getProperty(C.PropertyId.SpeechServiceConnection_Region),k=s.getProperty(C.PropertyId.SpeechServiceAuthorization_Token);o.Contracts.throwIfNullOrWhitespace(g,"languageCode"),o.Contracts.throwIfNullOrWhitespace(y,"nickname"),o.Contracts.throwIfNullOrWhitespace(p,"endpointHost");const O={};
1O[this.privRequestParams.apiVersion]=this.privApiVersion,O[this.privRequestParams.languageCode]=g,O[this.privRequestParams.nickname]=y;const V={};b&&(V[this.privRequestParams.correlationId]=b),V[this.privRequestParams.clientAppId]=a.ConversationConnectionConfig.clientAppId,void 0!==h?O[this.privRequestParams.roomId]=h:(o.Contracts.throwIfNullOrUndefined(P,this.privErrors.authInvalidSubscriptionRegion),V[this.privRequestParams.subscriptionRegion]=P,R?V[this.privRequestParams.subscriptionKey]=R:k?V[this.privRequestParams.authorization]=`Bearer ${k}`:o.Contracts.throwIfNullOrUndefined(R,this.privErrors.authInvalidSubscriptionKey));const K={};K.headers=V,this.privRestAdapter.options=K,this.privRestAdapter.request(c.RestRequestType.Post,`https://${p}${this.privRestPath}`,O,null).then(H=>{const x=c.RestMessageAdapter.extractHeaderValue(this.privRequestParams.requestId,H.headers);if(!H.ok){if(v){let de,Z=this.privErrors.invalidCreateJoinConversationResponse.replace("{status}",H.status.toString());try{de=JSON.parse(H.data),Z+=` [${de.error.code}: ${de.error.message}]`}catch{Z+=` [${H.data}]`}x&&(Z+=` ${x}`),v(Z)}return}const q=JSON.parse(H.data);if(q&&(q.requestId=x),u){try{u(q)}catch(Z){v&&v(Z)}u=void 0}}).catch(()=>{})}catch(g){v&&(g instanceof Error?v(g.name+": "+g.message):v(g))}}leave(s,h){return new Promise((u,v)=>{try{o.Contracts.throwIfNullOrUndefined(s,this.privErrors.invalidArgs.replace("{arg}","config")),o.Contracts.throwIfNullOrWhitespace(h,this.privErrors.invalidArgs.replace("{arg}","token"));const g=s.getProperty(C.PropertyId.ConversationTranslator_Host,this.privHost),y=s.getProperty(C.PropertyId.ConversationTranslator_CorrelationId),p={};
1p[this.privRequestParams.apiVersion]=this.privApiVersion,p[this.privRequestParams.sessionToken]=h;const b={};y&&(b[this.privRequestParams.correlationId]=y);const R={};R.headers=b,this.privRestAdapter.options=R,this.privRestAdapter.request(c.RestRequestType.Delete,`https://${g}${this.privRestPath}`,p,null).then(k=>{u()}).catch(()=>{})}catch(g){g instanceof Error?v(g.name+": "+g.message):v(g)}})}}},23615:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationRequestSession=void 0;const o=f(13155);_.ConversationRequestSession=class C{constructor(E){this.privIsDisposed=!1,this.privDetachables=new Array,this.privSessionId=E,this.privRequestId=o.createNoDashGuid(),this.privRequestCompletionDeferral=new o.Deferred}get sessionId(){return this.privSessionId}get requestId(){return this.privRequestId}get completionPromise(){return this.privRequestCompletionDeferral.promise}onPreConnectionStart(E,T){this.privSessionId=T}onAuthCompleted(E){E&&this.onComplete()}onConnectionEstablishCompleted(E){200!==E&&403===E&&this.onComplete()}onServiceTurnEndResponse(E){E?this.privRequestId=o.createNoDashGuid():this.onComplete()}dispose(){var E=this;return c(function*(){if(!E.privIsDisposed){E.privIsDisposed=!0;for(const T of E.privDetachables)yield T.detach()}})()}onComplete(){}}},73062:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationServiceAdapter=void 0;const o=f(13155),C=f(15912),a=f(67971),E=f(80973),T=f(23615),s=f(25297),h=f(41286),u=f(33876);_.ConversationServiceAdapter=class v extends a.ServiceRecognizerBase{constructor(y,p,b,R,P){super(y,p,b,R,P),this.privConnectionConfigPromise=void 0,this.privLastPartialUtteranceId="",this.privConversationServiceConnector=P,this.privConversationAuthentication=y,this.receiveMessageOverride=()=>this.receiveConversationMessageOverride(),this.recognizeOverride=()=>this.noOp(),this.postConnectImplOverride=k=>this.conversationConnectImpl(k),this.configConnectionOverride=()=>this.configConnection(),this.disconnectOverride=()=>this.privDisconnect(),this.privConversationRequestSession=new T.ConversationRequestSession(o.createNoDashGuid()),this.privConversationConnectionFactory=p,this.privConversationIsDisposed=!1}isDisposed(){return super.isDisposed()||this.privConversationIsDisposed}dispose(y){var p=()=>super.dispose,b=this;return c(function*(){b.privConversationIsDisposed=!0,void 0!==b.privConnectionConfigPromise&&(yield(yield b.privConnectionConfigPromise).dispose(y)),yield p().call(b,y)})()}sendMessage(y){var p=this;return c(function*(){return(yield p.fetchConnection()).send(new E.ConversationConnectionMessage(o.MessageType.Text,y))})()}sendMessageAsync(y){var p=this;return c(function*(){yield(yield p.fetchConnection()).send(new E.ConversationConnectionMessage(o.MessageType.Text,y))})()}privDisconnect(){if(!this.terminateMessageLoop)return this.cancelRecognition(this.privConversationRequestSession.sessionId,this.privConversationRequestSession.requestId,C.CancellationReason.Error,C.CancellationErrorCode.NoError,"Disconnecting"),this.terminateMessageLoop=!0,Promise.resolve()}processTypeSpecificMessages(){return c(function*(){return!0})()}cancelRecognition(y,p,b,R,P){this.terminateMessageLoop=!0;const k=new C.ConversationTranslationCanceledEventArgs(b,P,R,void 0,y);try{this.privConversationServiceConnector.canceled&&this.privConversationServiceConnector.canceled(this.privConversationServiceConnector,k)}catch{}}conversationConnectImpl(y){var p=this;return c(function*(){return p.privConnectionLoop=p.startMessageLoop(),y})()}receiveConversationMessageOverride(){var y=this;return c(function*(){if(y.isDisposed()||y.terminateMessageLoop)return Promise.resolve();const p=new o.Deferred;try{const R=yield(yield y.fetchConnection()).read();if(y.isDisposed()||y.terminateMessageLoop)return p.resolve(),Promise.resolve();if(!R)return y.receiveConversationMessageOverride();const P=y.privConversationRequestSession.sessionId,k=R.conversationMessageType.toLowerCase();let O=!1;try{switch(k){case"info":case"participant_command":case"command":const V=u.CommandResponsePayload.fromJSON(R.textBody);switch(V.command.toLowerCase()){case"participantlist":const Z=u.ParticipantsListPayloadResponse.fromJSON(R.textBody),de=Z.participants.map(ce=>({avatar:ce.avatar,displayName:ce.nickname,id:ce.participantId,isHost:ce.ishost,isMuted:ce.ismuted,isUsingTts:ce.usetts,preferredLanguage:ce.locale}));y.privConversationServiceConnector.participantsListReceived&&y.privConversationServiceConnector.participantsListReceived(y.privConversationServiceConnector,new s.ParticipantsListEventArgs(Z.roomid,Z.token,Z.translateTo,Z.profanityFilter,Z.roomProfanityFilter,Z.roomLocked,Z.muteAll,de,P));break;case"settranslatetolanguages":y.privConversationServiceConnector.participantUpdateCommandReceived&&y.privConversationServiceConnector.participantUpdateCommandReceived(y.privConversationServiceConnector,new s.ParticipantAttributeEventArgs(V.participantId,h.ConversationTranslatorCommandTypes.setTranslateToLanguages,V.value,P));break;case"setprofanityfiltering":y.privConversationServiceConnector.participantUpdateCommandReceived&&y.privConversationServiceConnector.participantUpdateCommandReceived(y.privConversationServiceConnector,new s.ParticipantAttributeEventArgs(V.participantId,h.ConversationTranslatorCommandTypes.setProfanityFiltering,V.value,P));break;case"setmute":y.privConversationServiceConnector.participantUpdateCommandReceived&&y.privConversationServiceConnector.participantUpdateCommandReceived(y.privConversationServiceConnector,new s.ParticipantAttributeEventArgs(V.participantId,h.ConversationTranslatorCommandTypes.setMute,V.value,P));break;case"setmuteall":y.privConversationServiceConnector.muteAllCommandReceived&&y.privConversationServiceConnector.muteAllCommandReceived(y.privConversationServiceConnector,new s.MuteAllEventArgs(V.value,P));break;case"roomexpirationwarning":y.privConversationServiceConnector.conversationExpiration&&y.privConversationServiceConnector.conversationExpiration(y.privConversationServiceConnector,new C.
1ConversationExpirationEventArgs(V.value,y.privConversationRequestSession.sessionId));break;case"setusetts":y.privConversationServiceConnector.participantUpdateCommandReceived&&y.privConversationServiceConnector.participantUpdateCommandReceived(y.privConversationServiceConnector,new s.ParticipantAttributeEventArgs(V.participantId,h.ConversationTranslatorCommandTypes.setUseTTS,V.value,P));break;case"setlockstate":y.privConversationServiceConnector.lockRoomCommandReceived&&y.privConversationServiceConnector.lockRoomCommandReceived(y.privConversationServiceConnector,new s.LockRoomEventArgs(V.value,P));break;case"changenickname":y.privConversationServiceConnector.participantUpdateCommandReceived&&y.privConversationServiceConnector.participantUpdateCommandReceived(y.privConversationServiceConnector,new s.ParticipantAttributeEventArgs(V.participantId,h.ConversationTranslatorCommandTypes.changeNickname,V.value,P));break;case"joinsession":const ee=u.ParticipantPayloadResponse.fromJSON(R.textBody);y.privConversationServiceConnector.participantJoinCommandReceived&&y.privConversationServiceConnector.participantJoinCommandReceived(y.privConversationServiceConnector,new s.ParticipantEventArgs({avatar:ee.avatar,displayName:ee.nickname,id:ee.participantId,isHost:ee.ishost,isMuted:ee.ismuted,isUsingTts:ee.usetts,preferredLanguage:ee.locale},P));break;case"leavesession":y.privConversationServiceConnector.participantLeaveCommandReceived&&y.privConversationServiceConnector.participantLeaveCommandReceived(y.privConversationServiceConnector,new s.ParticipantEventArgs({id:V.participantId},P));break;case"disconnectsession":break;case"token":const ne=new a.CognitiveTokenAuthentication(()=>Promise.resolve(V.token),()=>Promise.resolve(V.token));y.authentication=ne,y.privConversationServiceConnector.onToken(ne)}break;case"partial":case"final":const K=u.SpeechResponsePayload.fromJSON(R.textBody),z="final"===k?C.ResultReason.TranslatedParticipantSpeech:C.ResultReason.TranslatingParticipantSpeech,H=new C.ConversationTranslationResult(K.participantId,y.getTranslations(K.translations),K.language,K.id,z,K.recognition,void 0,void 0,R.textBody,void 0);K.isFinal?((void 0!==H.text&&H.text.length>0||K.id===y.privLastPartialUtteranceId)&&(O=!0),O&&y.privConversationServiceConnector.translationReceived&&y.privConversationServiceConnector.translationReceived(y.privConversationServiceConnector,new s.ConversationReceivedTranslationEventArgs(h.ConversationTranslatorMessageTypes.final,H,P))):void 0!==H.text&&(y.privLastPartialUtteranceId=K.id,y.privConversationServiceConnector.translationReceived&&y.privConversationServiceConnector.translationReceived(y.privConversationServiceConnector,new s.ConversationReceivedTranslationEventArgs(h.ConversationTranslatorMessageTypes.partial,H,P)));break;case"translated_message":const x=u.TextResponsePayload.fromJSON(R.textBody),q=new C.ConversationTranslationResult(x.participantId,y.getTranslations(x.translations),x.language,void 0,void 0,x.originalText,void 0,void 0,void 0,R.textBody,void 0);y.privConversationServiceConnector.translationReceived&&y.privConversationServiceConnector.translationReceived(y.privConversationServiceConnector,new s.ConversationReceivedTranslationEventArgs(h.ConversationTranslatorMessageTypes.instantMessage,q,P))}}catch{}return y.receiveConversationMessageOverride()}catch{y.terminateMessageLoop=!0}return p.promise})()}startMessageLoop(){var y=this;return c(function*(){if(y.isDisposed())return Promise.resolve();y.terminateMessageLoop=!1;const p=y.receiveConversationMessageOverride();try{return yield p}catch(b){return y.cancelRecognition(y.privRequestSession?y.privRequestSession.sessionId:"",y.privRequestSession?y.privRequestSession.requestId:"",C.CancellationReason.Error,C.CancellationErrorCode.RuntimeError,b),null}})()}configConnection(){return this.isDisposed()?Promise.resolve(void 0):void 0!==this.privConnectionConfigPromise?this.privConnectionConfigPromise.then(y=>y.state()===o.ConnectionState.Disconnected?(this.privConnectionId=null,this.privConnectionConfigPromise=void 0,this.configConnection()):this.privConnectionConfigPromise,()=>(this.privConnectionId=null,this.privConnectionConfigPromise=void 0,this.configConnection())):this.terminateMessageLoop?Promise.resolve(void 0):(this.privConnectionConfigPromise=this.connectImpl().then(y=>y),this.privConnectionConfigPromise)}getTranslations(y){let p;if(void 0!==y){p=new C.Translations;for(const b of y)p.set(b.lang,b.translation)}return p}}},45150:(ge,_,f)=>{"use strict";
vendor: 4,307 bytes, line 1
1Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationTranslatorConnectionFactory=void 0;const c=f(20709),o=f(25626),C=f(8804),a=f(15912),E=f(75299),T=f(89797),s=f(32135),h=f(67971);class u extends s.ConnectionFactoryBase{constructor(g){super(),C.Contracts.throwIfNullOrUndefined(g,"convGetter"),this.privConvGetter=g}create(g,y,p){const b="TRUE"===g.parameters.getProperty("ConversationTranslator_MultiChannelAudio","").toUpperCase(),R=this.privConvGetter().room,P=R.cognitiveSpeechRegion||g.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Region,""),k={hostSuffix:s.ConnectionFactoryBase.getHostSuffix(P),path:u.CTS_VIRT_MIC_PATH,region:encodeURIComponent(P)};k[T.QueryParameterNames.Language]=encodeURIComponent(g.parameters.getProperty(a.PropertyId.SpeechServiceConnection_RecoLanguage,"")),k[T.QueryParameterNames.CtsMeetingId]=encodeURIComponent(R.roomId),k[T.QueryParameterNames.CtsDeviceId]=encodeURIComponent(R.participantId),k[T.QueryParameterNames.CtsIsParticipant]=R.isHost?"":"&"+T.QueryParameterNames.CtsIsParticipant;let O="";const V={},K={};if(b){O=g.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Endpoint),O||(O="wss://"+g.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Host,"transcribe.{region}.cts.speech{hostSuffix}")+"{path}"),O=o.StringUtils.formatString(O,k);const H=new URL(O);H.searchParams.forEach((q,Z)=>{V[Z]=q}),(new h.TranscriberConnectionFactory).setQueryParams(V,g,O),V[T.QueryParameterNames.CtsMeetingId]=k[T.QueryParameterNames.CtsMeetingId],V[T.QueryParameterNames.CtsDeviceId]=k[T.QueryParameterNames.CtsDeviceId],R.isHost||(V[T.QueryParameterNames.CtsIsParticipant]=""),T.QueryParameterNames.Format in V||(V[T.QueryParameterNames.Format]="simple"),H.searchParams.forEach((q,Z)=>{H.searchParams.set(Z,V[Z]),delete V[Z]}),O=H.toString()}else{const H=new h.TranslationConnectionFactory;O=H.getEndpointUrl(g,!0),O=o.StringUtils.formatString(O,k),H.setQueryParams(V,g,O)}K[E.HeaderNames.ConnectionId]=p,K[c.RestConfigBase.configParams.token]=R.token,y.token&&(K[y.headerName]=y.token);const z="TRUE"===g.parameters.getProperty("SPEECH-EnableWebsocketCompression","").toUpperCase();return new c.WebsocketConnection(O,V,K,new h.WebsocketMessageFormatter,c.ProxyInfo.fromRecognizerConfig(g),z,p)}}_.ConversationTranslatorConnectionFactory=u,u.CTS_VIRT_MIC_PATH="/speech/recognition/dynamicaudio"},25297:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationReceivedTranslationEventArgs=_.ParticipantsListEventArgs=_.ParticipantAttributeEventArgs=_.ParticipantEventArgs=_.LockRoomEventArgs=_.MuteAllEventArgs=void 0;const c=f(15912);_.MuteAllEventArgs=class o extends c.SessionEventArgs{constructor(u,v){super(v),this.privIsMuted=u}get isMuted(){return this.privIsMuted}},_.LockRoomEventArgs=class C extends c.SessionEventArgs{constructor(u,v){super(v),this.privIsLocked=u}get isMuted(){return this.privIsLocked}},_.ParticipantEventArgs=class a extends c.SessionEventArgs{constructor(u,v){super(v),this.privParticipant=u}get participant(){return this.privParticipant}},_.ParticipantAttributeEventArgs=class E extends c.SessionEventArgs{constructor(u,v,g,y){super(y),this.privKey=v,this.privValue=g,this.privParticipantId=u}get value(){return this.privValue}get key(){return this.privKey}get id(){return this.privParticipantId}},_.ParticipantsListEventArgs=class T extends c.SessionEventArgs{constructor(u,v,g,y,p,b,R,P,k){super(k),this.privRoomId=u,this.privSessionToken=v,this.privTranslateTo=g,this.privProfanityFilter=y,this.privRoomProfanityFilter=p,this.privIsRoomLocked=b,this.privIsRoomLocked=R,this.privParticipants=P}get sessionToken(){return this.privSessionToken}get conversationId(){return this.privRoomId}get translateTo(){return this.privTranslateTo}get profanityFilter(){return this.privProfanityFilter}get roomProfanityFilter(){return this.privRoomProfanityFilter}get isRoomLocked(){return this.privIsRoomLocked}get isMuteAll(){return this.privIsMuteAll}get participants(){return this.privParticipants}},_.ConversationReceivedTranslationEventArgs=class s{constructor(u,v,g){this.privPayload=v,this.privCommand=u,this.privSessionId=g}get payload(){return this.privPayload}get command(){return this.privCommand}get sessionId(){return this.privSessionId}}},41286:(ge,_)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationTranslatorCommandTypes=_.ConversationTranslatorMessageTypes=_.InternalParticipants=void 0,_.InternalParticipants=class f{constructor(o=[],C){this.participants=o,this.meId=C}addOrUpdateParticipant(o){if(void 0===o)return;const C=this.getParticipantIndex(o.id);return C>-1?this.participants.splice(C,1,o):this.participants.push(o),this.getParticipant(o.id)}getParticipantIndex(o){return this.participants.findIndex(C=>C.id===o)}getParticipant(o){return this.participants.find(C=>C.id===o)}deleteParticipant(o){this.participants=this.participants.filter(C=>C.id!==o)}get host(){return this.participants.find(o=>!0===o.isHost)}get me(){return this.getParticipant(this.meId)}},_.ConversationTranslatorMessageTypes={command:"command",final:"final",info:"info",instantMessage:"instant_message",keepAlive:"keep_alive",partial:"partial",participantCommand:"participant_command",translatedMessage:"translated_message"},_.ConversationTranslatorCommandTypes={changeNickname:"ChangeNickname",disconnectSession:"DisconnectSession",ejectParticipant:"EjectParticipant",instant_message:"instant_message",joinSession:"JoinSession",leaveSession:"LeaveSession",participantList:"ParticipantList",roomExpirationWarning:"RoomExpirationWarning",setLockState:"SetLockState",setMute:"SetMute",setMuteAll:"SetMuteAll",setProfanityFiltering:"SetProfanityFiltering",setTranslateToLanguages:"SetTranslateToLanguages",setUseTTS:"SetUseTTS"}},72276:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationTranslatorRecognizer=_.ConversationRecognizerFactory=void 0;const o=f(67971),C=f(13155),a=f(8804),E=f(15912),T=f(94452),s=f(73062);_.ConversationRecognizerFactory=class h{static fromConfig(g,y,p){return new u(g,y,p)}};class u extends E.Recognizer{constructor(g,y,p){const b=y;a.Contracts.throwIfNull(b,"speechConfig");const R=g;a.Contracts.throwIfNull(R,"conversationImpl"),super(p,b.properties,new T.ConversationConnectionFactory),this.privConversation=R,this.privIsDisposed=!1,this.privProperties=b.properties.clone(),this.privConnection=E.Connection.fromRecognizer(this),"on"===this.privProperties.getProperty(E.PropertyId.WebWorkerLoadType,"on").toLowerCase()&&typeof Blob<"u"&&typeof Worker<"u"?(this.privSetTimeout=C.Timeout.setTimeout,this.privClearTimeout=C.Timeout.clearTimeout):typeof window<"u"?(this.privSetTimeout=window.setTimeout.bind(window),this.privClearTimeout=window.clearTimeout.bind(window)):(this.privSetTimeout=setTimeout,this.privClearTimeout=clearTimeout)}set connected(g){this.privConnection.connected=g}set disconnected(g){this.privConnection.disconnected=g}get speechRecognitionLanguage(){return this.privSpeechRecognitionLanguage}get properties(){return this.privProperties}isDisposed(){return this.privIsDisposed}connect(g,y,p){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.Contracts.throwIfNullOrWhitespace(g,"token"),this.privReco.conversationTranslatorToken=g,this.resetConversationTimeout(),this.privReco.connectAsync(y,p)}catch(b){p&&(b instanceof Error?p(b.name+": "+b.message):p(b))}}disconnect(g,y){try{a.Contracts.throwIfDisposed(this.privIsDisposed),void 0!==this.privTimeoutToken&&this.privClearTimeout(this.privTimeoutToken),this.privReco.disconnect().then(()=>{g&&g()},p=>{y&&y(p)})}catch(p){y&&(p instanceof Error?y(p.name+": "+p.message):y(p)),this.dispose(!0).catch(b=>
1{C.Events.instance.onEvent(new C.BackgroundEvent(b))})}}sendRequest(g,y,p){try{a.Contracts.throwIfDisposed(this.privIsDisposed),this.sendMessage(g,y,p)}catch(b){p&&(b instanceof Error?p(b.name+": "+b.message):p(b)),this.dispose(!0).catch(R=>{C.Events.instance.onEvent(new C.BackgroundEvent(R))})}}onToken(g){this.privConversation.onToken(g)}close(){var g=this;return c(function*(){g.privIsDisposed||(g.privConnection&&(g.privConnection.closeConnection(),g.privConnection.close()),g.privConnection=void 0,yield g.dispose(!0))})()}dispose(g){var y=()=>super.dispose,p=this;return c(function*(){p.privIsDisposed||g&&(void 0!==p.privTimeoutToken&&p.privClearTimeout(p.privTimeoutToken),p.privIsDisposed=!0,p.privConnection&&(p.privConnection.closeConnection(),p.privConnection.close(),p.privConnection=void 0),yield y().call(p,g))})()}createRecognizerConfig(g){return new o.RecognizerConfig(g,this.privProperties)}createServiceRecognizer(g,y,p,b){return new s.ConversationServiceAdapter(g,y,p,b,this)}sendMessage(g,y,p){var P,k,O;P=this.privReco.sendMessageAsync(g),k=y,O=p,void 0!==P?P.then(()=>{try{k&&k()}catch(V){O&&O(`'Unhandled error on promise callback: ${V}'`)}},V=>{try{O&&O(V)}catch{}}):O&&O("Null promise"),this.resetConversationTimeout()}resetConversationTimeout(){void 0!==this.privTimeoutToken&&this.privClearTimeout(this.privTimeoutToken),this.privTimeoutToken=this.privSetTimeout(()=>{this.sendRequest(this.privConversation.getKeepAlive())},6e4)}}_.ConversationTranslatorRecognizer=u},84322:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationWebsocketMessageFormatter=void 0;const c=f(13155),o=f(80973);_.ConversationWebsocketMessageFormatter=class C{toConnectionMessage(E){const T=new c.Deferred;try{if(E.messageType===c.MessageType.Text){const s=new o.ConversationConnectionMessage(E.messageType,E.textContent,{},E.id);T.resolve(s)}else E.messageType===c.MessageType.Binary&&T.resolve(new o.ConversationConnectionMessage(E.messageType,E.binaryContent,void 0,E.id))}catch(s){T.reject(`Error formatting the message. Error: ${s}`)}return T.promise}fromConnectionMessage(E){const T=new c.Deferred;try{E.messageType===c.MessageType.Text&&T.resolve(new c.RawWebsocketMessage(c.MessageType.Text,`${E.textBody?E.textBody:""}`,E.id))}catch(s){T.reject(`Error formatting the message. ${s}`)}return T.promise}}},43344:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0});var c=f(51149);Object.defineProperty(_,"ConversationManager",{enumerable:!0,get:function(){return c.ConversationManager}});var o=f(74914);Object.defineProperty(_,"ConversationConnectionConfig",{enumerable:!0,get:function(){return o.ConversationConnectionConfig}});var C=f(72276);Object.defineProperty(_,"ConversationRecognizerFactory",{enumerable:!0,get:function(){return C.ConversationRecognizerFactory}});var a=f(74042);Object.defineProperty(_,"TranscriberRecognizer",{enumerable:!0,get:function(){return a.TranscriberRecognizer}});var E=f(25297);Object.defineProperty(_,"ConversationReceivedTranslationEventArgs",{enumerable:!0,get:function(){return E.ConversationReceivedTranslationEventArgs}}),Object.defineProperty(_,"LockRoomEventArgs",{enumerable:!0,get:function(){return E.LockRoomEventArgs}}),Object.defineProperty(_,"MuteAllEventArgs",{enumerable:!0,get:function(){return E.MuteAllEventArgs}}),Object.defineProperty(_,"ParticipantAttributeEventArgs",{enumerable:!0,get:function(){return E.ParticipantAttributeEventArgs}}),Object.defineProperty(_,"ParticipantEventArgs",{enumerable:!0,get:function(){return E.ParticipantEventArgs}}),Object.defineProperty(_,"ParticipantsListEventArgs",{enumerable:!0,get:function(){return E.ParticipantsListEventArgs}});var T=f(41286);Object.defineProperty(_,"ConversationTranslatorCommandTypes",{enumerable:!0,get:function(){return T.ConversationTranslatorCommandTypes}}),Object.defineProperty(_,"ConversationTranslatorMessageTypes",{enumerable:!0,get:function(){return T.ConversationTranslatorMessageTypes}}),Object.defineProperty(_,"InternalParticipants",{enumerable:!0,get:function(){return T.InternalParticipants}})},96047:(ge,_)=>{"use strict";
vendor: 4,464 bytes, line 1
1Object.defineProperty(_,"__esModule",{value:!0}),_.CommandResponsePayload=void 0;class c{constructor(C){this.privCommandResponse=JSON.parse(C)}get type(){return this.privCommandResponse.type}get command(){return this.privCommandResponse.command}get id(){return this.privCommandResponse.id}get nickname(){return this.privCommandResponse.nickname}get participantId(){return this.privCommandResponse.participantId}get roomid(){return this.privCommandResponse.roomid}get value(){return this.privCommandResponse.value}get token(){return this.privCommandResponse.token}static fromJSON(C){return new c(C)}}_.CommandResponsePayload=c},33876:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0});var c=f(96047);Object.defineProperty(_,"CommandResponsePayload",{enumerable:!0,get:function(){return c.CommandResponsePayload}});var o=f(3243);Object.defineProperty(_,"ParticipantsListPayloadResponse",{enumerable:!0,get:function(){return o.ParticipantsListPayloadResponse}}),Object.defineProperty(_,"ParticipantPayloadResponse",{enumerable:!0,get:function(){return o.ParticipantPayloadResponse}});var C=f(18297);Object.defineProperty(_,"SpeechResponsePayload",{enumerable:!0,get:function(){return C.SpeechResponsePayload}}),Object.defineProperty(_,"TextResponsePayload",{enumerable:!0,get:function(){return C.TextResponsePayload}})},3243:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ParticipantPayloadResponse=_.ParticipantsListPayloadResponse=void 0;class o{constructor(E){this.privParticipantsPayloadResponse=JSON.parse(E)}get roomid(){return this.privParticipantsPayloadResponse.roomid}get id(){return this.privParticipantsPayloadResponse.id}get command(){return this.privParticipantsPayloadResponse.command}get participants(){return this.privParticipantsPayloadResponse.participants}get token(){return this.privParticipantsPayloadResponse.token}get translateTo(){return this.privParticipantsPayloadResponse.translateTo}get profanityFilter(){return this.privParticipantsPayloadResponse.profanityFilter}get roomProfanityFilter(){return this.privParticipantsPayloadResponse.roomProfanityFilter}get roomLocked(){return this.privParticipantsPayloadResponse.roomLocked}get muteAll(){return this.privParticipantsPayloadResponse.muteAll}get type(){return this.privParticipantsPayloadResponse.type}static fromJSON(E){return new o(E)}}_.ParticipantsListPayloadResponse=o;class C{constructor(E){this.privParticipantPayloadResponse=JSON.parse(E)}get nickname(){return this.privParticipantPayloadResponse.nickname}get locale(){return this.privParticipantPayloadResponse.locale}get usetts(){return this.privParticipantPayloadResponse.usetts}get ismuted(){return this.privParticipantPayloadResponse.ismuted}get ishost(){return this.privParticipantPayloadResponse.ishost}get participantId(){return this.privParticipantPayloadResponse.participantId}get avatar(){return this.privParticipantPayloadResponse.avatar}static fromJSON(E){return new C(E)}}_.ParticipantPayloadResponse=C},18297:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TextResponsePayload=_.SpeechResponsePayload=void 0;class o{constructor(E){this.privSpeechResponse=JSON.parse(E)}get recognition(){return this.privSpeechResponse.recognition}get translations(){return this.privSpeechResponse.translations}get id(){return this.privSpeechResponse.id}get language(){return this.privSpeechResponse.language}get nickname(){return this.privSpeechResponse.nickname}get participantId(){return this.privSpeechResponse.participantId}get roomid(){return this.privSpeechResponse.roomid}get timestamp(){return this.privSpeechResponse.timestamp}get type(){return this.privSpeechResponse.type}get isFinal(){return"final"===this.privSpeechResponse.type}static fromJSON(E){return new o(E)}}_.SpeechResponsePayload=o;class C{constructor(E){this.privTextResponse=JSON.parse(E)}get originalText(){return this.privTextResponse.originalText}get translations(){return this.privTextResponse.translations}get id(){return this.privTextResponse.id}get language(){return this.privTextResponse.language}get nickname(){return this.privTextResponse.nickname}get participantId(){return this.privTextResponse.participantId}get roomid(){return this.privTextResponse.roomid}get timestamp(){return this.privTextResponse.timestamp}get type(){return this.privTextResponse.type}static fromJSON(E){return new C(E)}}_.TextResponsePayload=C},74042:(ge,_,f)=>{"use strict";var c=f(29293).default;
1Object.defineProperty(_,"__esModule",{value:!0}),_.TranscriberRecognizer=void 0;const o=f(13155),C=f(8804),a=f(15912),E=f(67971);_.TranscriberRecognizer=class T extends a.Recognizer{constructor(h,u){const v=h;C.Contracts.throwIfNull(v,"speechTranslationConfig"),C.Contracts.throwIfNull(u,"audioConfigImpl"),C.Contracts.throwIfNullOrWhitespace(v.speechRecognitionLanguage,a.PropertyId[a.PropertyId.SpeechServiceConnection_RecoLanguage]),super(u,v.properties,new E.TranscriberConnectionFactory),this.privDisposedRecognizer=!1,this.isMeetingRecognizer=!1}get speechRecognitionLanguage(){return C.Contracts.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(a.PropertyId.SpeechServiceConnection_RecoLanguage)}get properties(){return this.privProperties}get authorizationToken(){return this.properties.getProperty(a.PropertyId.SpeechServiceAuthorization_Token)}set authorizationToken(h){C.Contracts.throwIfNullOrWhitespace(h,"token"),this.properties.setProperty(a.PropertyId.SpeechServiceAuthorization_Token,h)}set conversation(h){C.Contracts.throwIfNullOrUndefined(h,"Conversation"),this.isMeetingRecognizer=!1,this.privConversation=h}getConversationInfo(){return C.Contracts.throwIfNullOrUndefined(this.privConversation,"Conversation"),this.privConversation.conversationInfo}set meeting(h){C.Contracts.throwIfNullOrUndefined(h,"Meeting"),this.isMeetingRecognizer=!0,this.privMeeting=h}getMeetingInfo(){return C.Contracts.throwIfNullOrUndefined(this.privMeeting,"Meeting"),this.privMeeting.meetingInfo}IsMeetingRecognizer(){return this.isMeetingRecognizer}startContinuousRecognitionAsync(h,u){o.marshalPromiseToCallbacks(this.startContinuousRecognitionAsyncImpl(E.RecognitionMode.Conversation),h,u)}stopContinuousRecognitionAsync(h,u){o.marshalPromiseToCallbacks(this.stopContinuousRecognitionAsyncImpl(),h,u)}close(){var h=this;return c(function*(){h.privDisposedRecognizer||(yield h.dispose(!0))})()}pushConversationEvent(h,u){var v=this;return c(function*(){const g=v.privReco;C.Contracts.throwIfNullOrUndefined(g,"serviceRecognizer"),yield g.sendSpeechEventAsync(h,u)})()}pushMeetingEvent(h,u){var v=this;return c(function*(){const g=v.privReco;C.Contracts.throwIfNullOrUndefined(g,"serviceRecognizer"),yield g.sendMeetingSpeechEventAsync(h,u)})()}enforceAudioGating(){var h=this;return c(function*(){const g=(yield h.audioConfig.format).channels;if(1===g){if("true"!==h.properties.getProperty("f0f5debc-f8c9-4892-ac4b-90a7ab359fd2","false").toLowerCase())throw new Error("Single channel audio configuration for MeetingTranscriber is currently under private preview, please contact [email protected] for more details")}else if(8!==g)throw new Error(`Unsupported audio configuration: Detected ${g}-channel audio`)})()}connectMeetingCallbacks(h){this.isMeetingRecognizer=!0,this.canceled=(u,v)=>{h.canceled&&h.canceled(h,v)},this.recognizing=(u,v)=>{h.transcribing&&h.transcribing(h,v)},this.recognized=(u,v)=>{h.transcribed&&h.transcribed(h,v)},this.sessionStarted=(u,v)=>{h.sessionStarted&&h.sessionStarted(h,v)},this.sessionStopped=(u,v)=>{h.sessionStopped&&h.sessionStopped(h,v)}}disconnectCallbacks(){this.canceled=void 0,this.recognizing=void 0,this.recognized=void 0,this.sessionStarted=void 0,this.sessionStopped=void 0}dispose(h){var u=()=>super.dispose,v=this;return c(function*(){v.privDisposedRecognizer||(h&&(v.privDisposedRecognizer=!0,yield v.implRecognizerStop()),yield u().c
1all(v,h))})()}createRecognizerConfig(h){return new E.RecognizerConfig(h,this.properties)}createServiceRecognizer(h,u,v,g){return new E.TranscriptionServiceRecognizer(h,u,v,g,this)}}},59959:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.TranscriptionServiceRecognizer=void 0;const o=f(13155),C=f(15912),a=f(67971),E=f(58734);_.TranscriptionServiceRecognizer=class T extends a.ConversationServiceRecognizer{constructor(h,u,v,g,y){super(h,u,v,g,y),this.privTranscriberRecognizer=y,this.sendPrePayloadJSONOverride=p=>this.sendTranscriptionStartJSON(p),"true"===this.privRecognizerConfig.parameters.getProperty(C.PropertyId.SpeechServiceResponse_RequestWordLevelTimestamps)&&this.privSpeechContext.setWordLevelTimings()}sendSpeechEventAsync(h,u){var v=this;return c(function*(){if(v.privRequestSession.isRecognizing){const g=yield v.fetchConnection();yield v.sendSpeechEvent(g,v.createSpeechEventPayload(h,u))}})()}sendMeetingSpeechEventAsync(h,u){var v=this;return c(function*(){if(v.privRequestSession.isRecognizing){const g=yield v.fetchConnection();yield v.sendSpeechEvent(g,v.createMeetingSpeechEventPayload(h,u))}})()}processTypeSpecificMessages(h){return this.processSpeechMessages(h)}handleRecognizedCallback(h,u,v){try{const g=new C.SpeechRecognitionEventArgs(h,u,v);if(this.privTranscriberRecognizer.recognized(this.privTranscriberRecognizer,g),this.privSuccessCallback){try{this.privSuccessCallback(h)}catch(y){this.privErrorCallback&&this.privErrorCallback(y)}this.privSuccessCallback=void 0,this.privErrorCallback=void 0}}catch{}}handleRecognizingCallback(h,u,v){try{const g=new C.SpeechRecognitionEventArgs(h,u,v);this.privTranscriberRecognizer.recognizing(this.privTranscriberRecognizer,g)}catch{}}cancelRecognition(h,u,v,g,y){const p=new C.PropertyCollection;if(p.setProperty(a.CancellationErrorCodePropertyName,C.CancellationErrorCode[g]),this.privTranscriberRecognizer.IsMeetingRecognizer()){if(this.privTranscriberRecognizer.canceled){const b=new C.MeetingTranscriptionCanceledEventArgs(v,y,g,void 0,h);try{this.privTranscriberRecognizer.canceled(this.privTranscriberRecognizer,b)}catch{}}}else if(this.privTranscriberRecognizer.canceled){const b=new C.ConversationTranscriptionCanceledEventArgs(v,y,g,void 0,h);try{this.privTranscriberRecognizer.canceled(this.privTranscriberRecognizer,b)}catch{}}if(this.privSuccessCallback){const b=new C.SpeechRecognitionResult(u,C.ResultReason.Canceled,void 0,void 0,void 0,void 0,void 0,void 0,y,void 0,p);try{this.privSuccessCallback(b),this.privSuccessCallback=void 0}catch{}}}sendTranscriptionStartJSON(h){var u=this;return c(function*(){if(yield u.sendSpeechContext(h,!0),u.privTranscriberRecognizer.IsMeetingRecognizer()){const v=u.privTranscriberRecognizer.getMeetingInfo(),g=u.createMeetingSpeechEventPayload(v,"start");yield u.sendSpeechEvent(h,g)}else{const v=u.privTranscriberRecognizer.getConversationInfo(),g=u.createSpeechEventPayload(v,"start");yield u.sendSpeechEvent(h,g)}yield u.sendWaveHeader(h)})()}sendSpeechEvent(h,u){const v=JSON.stringify(u);if(v)return h.send(new E.SpeechConnectionMessage(o.MessageType.Text,"speech.event",this.privRequestSession.requestId,"application/json",v))}createSpeechEventPayload(h,u){const v={id:"meeting",name:u,meeting:h.conversationProperties};return v.meeting.id=h.id,v.meeting.attendees=h.participants,v}createMeetingSpeechEventPayload(h,u){const v={id:"meeting",name:u,meeting:h.meetingProperties};return v.meeting.id=h.id,v.meeting.attendees=h.participants,v}}},2881:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TranslationConnectionFactory=void 0;const c=f(20709),o=f(25626),C=f(15912),a=f(32135),E=f(67971),T=f(75299),s=f(89797);_.TranslationConnectionFactory=class h extends a.ConnectionFactoryBase{create(v,g,y){const p=this.getEndpointUrl(v),b={};void 0!==v.autoDetectSourceLanguages&&(b[s.QueryParameterNames.EnableLanguageId]="true"),this.setQueryParams(b,v,p);const R={};void 0!==g.token&&""!==g.token&&(R[g.headerName]=g.token),R[T.HeaderNames.ConnectionId]=y,v.parameters.setProperty(C.PropertyId.SpeechServiceConnection_Url,p);const P="true"===v.parameters.getProperty("SPEECH-EnableWebsocketCompression","false");return new c.WebsocketConnection(p,b,R,new E.WebsocketMessageFormatter,c.ProxyInfo.fromRecognizerConfig(v),P,y)}getEndpointUrl(v,g){const y=v.parameters.getProperty(C.PropertyId.SpeechServiceConnection_Region),p=a.ConnectionFactoryBase.getHostSuffix(y);let b=v.parameters.getProperty(C.PropertyId.SpeechServiceConnection_Endpoint,void 0);return b||(b=void 0!==v.autoDetectSourceLanguages?v.parameters.getProperty(C.PropertyId.SpeechServiceConnection_Host,"wss://{region}.stt.speech"+p)+"/speech/universal/v2":v.parameters.getProperty(C.PropertyId.SpeechServiceConnection_Host,"wss://{region}.s2s.speech"+p)+"/speech/translation/cognitiveservices/v1"),!0===g?b:o.StringUtils.formatString(b,{region:y}
1)}setQueryParams(v,g,y){v.from=g.parameters.getProperty(C.PropertyId.SpeechServiceConnection_RecoLanguage),v.to=g.parameters.getProperty(C.PropertyId.SpeechServiceConnection_TranslationToLanguages),v.scenario=g.recognitionMode===E.RecognitionMode.Interactive?"interactive":g.recognitionMode===E.RecognitionMode.Conversation?"conversation":"",this.setCommonUrlParams(g,v,y),this.setUrlParameter(C.PropertyId.SpeechServiceResponse_TranslationRequestStablePartialResult,s.QueryParameterNames.StableTranslation,g,v,y);const p=g.parameters.getProperty(C.PropertyId.SpeechServiceConnection_TranslationVoice,void 0);void 0!==p&&(v.voice=p,v.features="texttospeech")}}},60190:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.TranslationServiceRecognizer=void 0;const o=f(13155),C=f(15912),a=f(67971);_.TranslationServiceRecognizer=class E extends a.ConversationServiceRecognizer{constructor(s,h,u,v,g){super(s,h,u,v,g),this.privTranslationRecognizer=g,this.connectionEvents.attach(y=>{"ConnectionEstablishedEvent"===y.name&&this.privTranslationRecognizer.onConnection()})}processTypeSpecificMessages(s){var h=this;return c(function*(){const u=new C.PropertyCollection;let v=yield h.processSpeechMessages(s);if(v)return!0;const g=function(){var p=c(function*(b){if(h.privRequestSession.onPhraseRecognized(h.privRequestSession.currentTurnAudioOffset+b.Offset+b.Duration),b.RecognitionStatus===a.RecognitionStatus.Success){const R=h.fireEventForResult(b,u);if(h.privTranslationRecognizer.recognized)try{h.privTranslationRecognizer.recognized(h.privTranslationRecognizer,R)}catch{}if(h.privSuccessCallback){try{h.privSuccessCallback(R.result)}catch(P){h.privErrorCallback&&h.privErrorCallback(P)}h.privSuccessCallback=void 0,h.privErrorCallback=void 0}}else{const R=a.EnumTranslation.implTranslateRecognitionResult(b.RecognitionStatus),P=new C.TranslationRecognitionResult(void 0,h.privRequestSession.requestId,R,b.Text,b.Duration,h.privRequestSession.currentTurnAudioOffset+b.Offset,b.Language,b.Confidence,void 0,s.textBody,u);if(R===C.ResultReason.Canceled){const k=a.EnumTranslation.implTranslateCancelResult(b.RecognitionStatus),O=a.EnumTranslation.implTranslateCancelErrorCode(b.RecognitionStatus);yield h.cancelRecognitionLocal(k,O,a.EnumTranslation.implTranslateErrorDetails(O))}else{if(!h.privRequestSession.isSpeechEnded||R!==C.ResultReason.NoMatch||b.RecognitionStatus===a.RecognitionStatus.InitialSilenceTimeout){const k=new C.TranslationRecognitionEventArgs(P,P.offset,h.privRequestSession.sessionId);if(h.privTranslationRecognizer.recognized)try{h.privTranslationRecognizer.recognized(h.privTranslationRecognizer,k)}catch{}}if(h.privSuccessCallback){try{h.privSuccessCallback(P)}catch(k){h.privErrorCallback&&h.privErrorCallback(k)}h.privSuccessCallback=void 0,h.privErrorCallback=void 0}}v=!0}});return function(R){return p.apply(this,arguments)}}(),y=(p,b)=>{const R=h.fireEventForResult(p,b);if(h.privRequestSession.onHypothesis(h.privRequestSession.currentTurnAudioOffset+R.offset),h.privTranslationRecognizer.recognizing)try{h.privTranslationRecognizer.recognizing(h.privTranslationRecognizer,R)}catch{}v=!0};switch(s.messageType===o.MessageType.Text&&u.setProperty(C.PropertyId.SpeechServiceResponse_JsonResult,s.textBody),s.path.toLowerCase()){case"translation.hypothesis":y(a.TranslationHypothesis.fromJSON(s.textBody),u);break;case"translation.response":const p=JSON.parse(s.textBody);if(p.SpeechPhrase)yield g(a.TranslationPhrase.fromTranslationResponse(p));else{const R=JSON.parse(s.textBody);R.SpeechHypothesis&&y(a.TranslationHypothesis.fromTranslationResponse(R),u)}break;case"translation.phrase":yield g(a.TranslationPhrase.fromJSON(s.textBody));break;case"translation.synthesis":h.sendSynthesisAudio(s.binaryBody,h.privRequestSession.sessionId),v=!0;break;case"audio.end":case"translation.synthesis.end":const b=a.TranslationSynthesisEnd.fromJSON(s.textBody);switch(b.SynthesisStatus){case a.SynthesisStatus.Error:if(h.privTranslationRecognizer.synthesizing){const R=new C.TranslationSynthesisResult(C.ResultReason.Canceled,void 0),P=new C.TranslationSynthesisEventArgs(R,h.privRequestSession.sessionId);try{h.privTranslationRecognizer.synthesizing(h.privTranslationRecognizer,P)}catch{}}if(h.privTranslationRecognizer.canceled){const R=new C.TranslationRecognitionCanceledEventArgs(h.privRequestSession.sessionId,C.CancellationReason.Error,b.FailureReason,C.CancellationErrorCode.ServiceError,null);try{h.privTranslationRecognizer.canceled(h.privTranslationRecognizer,R)}catch{}}break;case a.SynthesisStatus.Success:h.sendSynthesisAudio(void 0,h.privRequestSession.sessionId)}v=!0}return v})()}cancelRecognition(s,h,u,v,g){const y=new C.PropertyCollection;if(y.setProperty(a.CancellationErrorCodePropertyName,C.CancellationErrorCode[v]),this.privTranslationRecognizer.canceled){const p=new C.TranslationRecognitionCanceledEventArgs(s,u,g,v,void 0);try{this.privTranslationRecognizer.canceled(this.privTranslationRecognizer,p)}catch{}}if(this.privSuccessCallback){const p=new C.TranslationRecognitionResult(void 0,h,C.ResultReason.Canceled,void 0,void 0,void 0,void 0,void 0,g,void 0,y);
1try{this.privSuccessCallback(p),this.privSuccessCallback=void 0}catch{}}}handleRecognizingCallback(s,h,u){try{const v=new C.TranslationRecognitionEventArgs(C.TranslationRecognitionResult.fromSpeechRecognitionResult(s),h,u);this.privTranslationRecognizer.recognizing(this.privTranslationRecognizer,v)}catch{}}handleRecognizedCallback(s,h,u){try{const v=new C.TranslationRecognitionEventArgs(C.TranslationRecognitionResult.fromSpeechRecognitionResult(s),h,u);this.privTranslationRecognizer.recognized(this.privTranslationRecognizer,v)}catch{}}fireEventForResult(s,h){let u,v,g;if(void 0!==s.Translation.Translations){u=new C.Translations;for(const P of s.Translation.Translations)u.set(P.Language,P.Text||P.DisplayText)}s instanceof a.TranslationPhrase?(v=s.Translation&&s.Translation.TranslationStatus===o.TranslationStatus.Success?C.ResultReason.TranslatedSpeech:C.ResultReason.RecognizedSpeech,g=s.Confidence):v=C.ResultReason.TranslatingSpeech;const p=s.Offset+this.privRequestSession.currentTurnAudioOffset,b=new C.TranslationRecognitionResult(u,this.privRequestSession.requestId,v,s.Text,s.Duration,p,s.Language,g,s.Translation.FailureReason,JSON.stringify(s),h);return new C.TranslationRecognitionEventArgs(b,p,this.privRequestSession.sessionId)}sendSynthesisAudio(s,h){const v=new C.TranslationSynthesisResult(void 0===s?C.ResultReason.SynthesizingAudioCompleted:C.ResultReason.SynthesizingAudio,s),g=new C.TranslationSynthesisEventArgs(v,h);if(this.privTranslationRecognizer.synthesizing)try{this.privTranslationRecognizer.synthesizing(this.privTranslationRecognizer,g)}catch{}}}},34213:(ge,_)=>{"use strict";var c;Object.defineProperty(_,"__esModule",{value:!0}),_.TranslationStatus=void 0,(c=_.TranslationStatus||(_.TranslationStatus={}))[c.Success=0]="Success",c[c.Error=1]="Error"},23677:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.VoiceServiceRecognizer=void 0;const o=f(20709),C=f(13155),a=f(15912),E=f(67971),T=f(58734);_.VoiceServiceRecognizer=class s extends E.ServiceRecognizerBase{constructor(u,v,g,y,p){super(u,v,g,y,p),this.privDeferralMap=new C.DeferralMap,this.privSpeakerAudioSource=g,this.sendPrePayloadJSONOverride=()=>this.noOp()}set SpeakerAudioSource(u){this.privSpeakerAudioSource=u}processTypeSpecificMessages(u){let v=!1;const g=new a.PropertyCollection;switch(u.messageType===C.MessageType.Text&&g.setProperty(a.PropertyId.SpeechServiceResponse_JsonResult,u.textBody),u.path.toLowerCase()){case"speaker.profiles":const p=JSON.parse(u.textBody);switch(p.operation.toLowerCase()){case"create":this.handleCreateResponse(p,u.requestId);break;case"delete":case"reset":this.handleResultResponse(p,u.requestId);break;case"fetch":const k=JSON.parse(u.textBody);this.handleFetchResponse(k,u.requestId)}v=!0;break;case"speaker.phrases":const b=JSON.parse(u.textBody);this.handlePhrasesResponse(b,u.requestId),v=!0;break;case"speaker.profile.enrollment":const R=JSON.parse(u.textBody),P=new a.VoiceProfileEnrollmentResult(this.enrollmentReasonFrom(R.enrollment?R.enrollment.enrollmentStatus:R.status.statusCode),R.enrollment?JSON.stringify(R.enrollment):void 0,R.status.reason);this.privDeferralMap.getId(u.requestId)&&this.privDeferralMap.complete(u.requestId,P),this.privRequestSession.onSpeechEnded(),v=!0}const y=new C.Deferred;return y.resolve(v),y.promise}cancelRecognition(u,v,g,y,p){(new a.PropertyCollection).setProperty(E.CancellationErrorCodePropertyName,a.CancellationErrorCode[y]);const R=new a.VoiceProfileEnrollmentResult(a.ResultReason.Canceled,p,p);this.privDeferralMap.getId(v)&&this.privDeferralMap.complete(v,R)}createProfile(u,v){var g=this;return c(function*(){g.voiceProfileType=u.toString();const y=g.connectImpl();try{const p=new C.Deferred;return yield y,yield g.sendCreateProfile(p,u,v),g.receiveMessage(),p.promise}catch(p){throw p}})()}resetProfile(u){var v=this;return c(function*(){return v.voiceProfileType=u.profileType.toString(),v.sendCommonRequest("reset",u.profileType,u)})()}deleteProfile(u){var v=this;return c(function*(){return v.voiceProfileType=u.profileType.toString(),v.sendCommonRequest("delete",u.profileType,u)})()}retrieveEnrollmentResult(u){var v=this;return c(function*(){return v.voiceProfileType=u.profileType.toString(),v.privExpectedProfileId=u.profileId,v.sendCommonRequest("fetch",u.profileType,u)})()}getAllProfiles(u){var v=this;return c(function*(){return v.voiceProfileType=u.toString(),v.sendCommonRequest("fetch",u)})()}getActivationPhrases(u,v){var g=this;return c(function*(){g.voiceProfileType=u.toString();const y=g.connectImpl();try{const p=new C.Deferred;return yield y,yield g.sendPhrasesRequest(p,u,v),g.receiveMessage(),p.promise}catch(p){throw p}})()}enrollProfile(u){var v=this;return c(function*(){v.voiceProfileType=u.profileType.toString();const g=new C.Deferred;v.privRequestSession.startNewRecognition(),v.privRequestSession.listenForServiceTelemetry(v.privSpeakerAudioSource.events),v.privRecognizerConfig.parameters.setProperty(a.PropertyId.Speech_SessionId,v.privRequestSession.sessionId);const y=v.connectImpl(),p=v.sendPreAudioMessages(u,g),b=yield v.privSpeakerAudioSource.attach(v.privRequestSession.audioNodeId),R=yield v.privSpeakerAudioSource.format,P=yield v.privSpeakerAudioSource.deviceInfo,k=new o.ReplayableAudioNode(b,R.avgBytesPerSec);yield v.privRequestSession.onAudioSourceAttachCompleted(k,!1),v.privRecognizerConfig.SpeechServiceConfig.Context.audio={source:P};try{yield y,yield p}catch(K){v.cancelRecognition(v.privRequestSession.sessionId,v.privRequestSession.requestId,a.CancellationReason.Error,a.CancellationErrorCode.ConnectionFailure,K)}const O=new a.SessionEventArgs(v.privRequestSession.sessionId);return v.privRecognizer.sessionStarted&&v.privRecognizer.sessionStarted(v.privRecognizer,O),v.receiveMessage(),v.sendAudio(k).then(()=>{},K=>{v.cancelRecognition(v.privRequestSession.sessionId,v.privRequestSession.requestId,a.CancellationReason.Error,a.CancellationErrorCode.RuntimeError,K)}),g.promise})()}sendPreAudioMessages(u,v){var g=this;return c(function*(){const y=yield g.fetchConnection();g.privRequestSession.onSpeechContext(),g.privDeferralMap.add(g.privRequestSession.requestId,v),yield g.sendBaseRequest
1(y,"enroll",g.scenarioFrom(u.profileType),u)})()}sendPhrasesRequest(u,v,g){var y=this;return c(function*(){const p=yield y.fetchConnection();y.privRequestSession.onSpeechContext(),y.privDeferralMap.add(y.privRequestSession.requestId,u);const b=y.scenarioFrom(v);return p.send(new T.SpeechConnectionMessage(C.MessageType.Text,"speaker.profile.phrases",y.privRequestSession.requestId,"application/json; charset=utf-8",JSON.stringify({locale:g,scenario:b})))})()}sendCreateProfile(u,v,g){var y=this;return c(function*(){const p=yield y.fetchConnection();return y.privRequestSession.onSpeechContext(),y.privDeferralMap.add(y.privRequestSession.requestId,u),p.send(new T.SpeechConnectionMessage(C.MessageType.Text,"speaker.profile.create",y.privRequestSession.requestId,"application/json; charset=utf-8",JSON.stringify({locale:g,number:"1",scenario:v===a.VoiceProfileType.TextIndependentIdentification?"TextIndependentIdentification":v===a.VoiceProfileType.TextIndependentVerification?"TextIndependentVerification":"TextDependentVerification"})))})()}sendCommonRequest(u,v,g=void 0){var y=this;return c(function*(){const p=y.connectImpl();try{const b=new C.Deferred;y.privRequestSession.onSpeechContext(),yield p;const R=yield y.fetchConnection();return y.privDeferralMap.add(y.privRequestSession.requestId,b),yield y.sendBaseRequest
1(R,u,y.scenarioFrom(v),g),y.receiveMessage(),b.promise}catch(b){throw b}})()}sendBaseRequest(u,v,g,y){var p=this;return c(function*(){const b={scenario:g};return y?b.profileIds=[y.profileId]:b.maxPageSize=-1,u.send(new T.SpeechConnectionMessage(C.MessageType.Text,`speaker.profile.${v}`,p.privRequestSession.requestId,"application/json; charset=utf-8",JSON.stringify(b)))})()}extractSpeakerContext(u){return{features:{interimResult:"enabled",progressiveDetection:"disabled"},profileIds:u.profileIds,scenario:u.scenario}}handlePhrasesResponse(u,v){if(!this.privDeferralMap.getId(v))throw new Error(`Voice Profile get activation phrases request for requestID ${v} not found`);if("success"!==u.status.statusCode.toLowerCase()){const y=new a.VoiceProfilePhraseResult(a.ResultReason.Canceled,u.status.statusCode,u.passPhraseType,[]);this.privDeferralMap.complete(v,y)}else{if(!(u.phrases&&u.phrases.length>0))throw new Error("Voice Profile get activation phrases failed, no phrases received");{const y=new a.VoiceProfilePhraseResult(a.ResultReason.EnrollingVoiceProfile,u.status.statusCode,u.passPhraseType,u.phrases);this.privDeferralMap.complete(v,y)}}}handleCreateResponse(u,v){if(!(u.profiles&&u.profiles.length>0))throw new Error("Voice Profile create failed, no profile id received");if(!this.privDeferralMap.getId(v))throw new Error(`Voice Profile create request for requestID ${v} not found`);{const g=u.profiles.map(y=>y.profileId);this.privDeferralMap.complete(v,g)}}handleResultResponse(u,v){if(!this.privDeferralMap.getId(v))throw new Error(`Voice Profile create request for requestID ${v} not found`);{const g="delete"===u.operation.toLowerCase()?a.ResultReason.DeletedVoiceProfile:a.ResultReason.ResetVoiceProfile,y="success"===u.status.statusCode.toLowerCase()?g:a.ResultReason.Canceled,p=new a.VoiceProfileResult(y,`statusCode: ${u.status.statusCode}, errorDetails: ${u.status.reason}`);this.privDeferralMap.complete(v,p)}}handleFetchResponse(u,v){if(!this.privDeferralMap.getId(v)||!u.profiles[0])throw new Error(`Voice Profile fetch request for requestID ${v} not found`);if(this.privExpectedProfileId&&1===u.profiles.length&&u.profiles[0].profileId===this.privExpectedProfileId){this.privExpectedProfileId=void 0;const g=u.profiles[0],y=new a.VoiceProfileEnrollmentResult(this.enrollmentReasonFrom(g.enrollmentStatus),JSON.stringify(g),u.status.reason);this.privDeferralMap.complete(v,y)}else if(u.profiles.length>0){const g=u.profiles,y=[];for(const p of g)y.push(new a.VoiceProfileEnrollmentResult(this.enrollmentReasonFrom(p.enrollmentStatus),JSON.stringify(p),u.status.reason));this.privDeferralMap.complete(v,y)}}enrollmentReasonFrom(u){switch(u.toLowerCase()){case"enrolled":return a.ResultReason.EnrolledVoiceProfile;case"invalidlocale":case"invalidphrase":case"invalidaudioformat":case"invalidscenario":case"invalidprofilecount":case"invalidoperation":case"audiotooshort":case"audiotoolong":case"toomanyenrollments":case"storageconflict":case"profilenotfound":case"incompatibleprofiles":case"incompleteenrollment":return a.ResultReason.Canceled;default:return a.ResultReason.EnrollingVoiceProfile}}scenarioFrom(u){return u===a.VoiceProfileType.TextIndependentIdentification?"TextIndependentIdentification":u===a.VoiceProfileType.TextIndependentVerification?"TextIndependentVerification":"TextDependentVerification"}}},47284:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.WebsocketMessageFormatter=void 0;const c=f(13155);_.WebsocketMessageFormatter=class C{toConnectionMessage(E){const T=new c.Deferred;try{if(E.messageType===c.MessageType.Text){const s=E.textContent;let h={},u=null;if(s){const v=s.split("\r\n\r\n");v&&v.length>0&&(h=this.parseHeaders(v[0]),v.length>1&&(u=v[1]))}T.resolve(new c.ConnectionMessage(E.messageType,u,h,E.id))}else if(E.messageType===c.MessageType.Binary){const s=E.binaryContent;let h={},u=null;if(!s||s.byteLength<2)throw new Error("Invalid binary message format. Header length missing.");const v=new DataView(s),g=v.getInt16(0);if(s.byteLength<g+2)throw new Error("Invalid binary message format. Header content missing.");let y="";for(let p=0;p<g;p++)y+=String.fromCharCode(v.getInt8(p+2));h=this.parseHeaders(y),s.byteLength>g+2&&(u=s.slice(2+g)),T.resolve(new c.ConnectionMessage(E.messageType,u,h,E.id))}}catch(s){T.reject(`Error formatting the message. Error: ${s}`)}return T.promise}fromConnectionMessage(E){const T=new c.Deferred;try{if(E.messageType===c.MessageType.Text){const s=`${this.makeHeaders(E)}\r\n${E.textBody?E.textBody:""}`;T.resolve(new c.RawWebsocketMessage(c.MessageType.Text,s,E.id))}else if(E.messageType===c.MessageType.Binary){const s=this.makeHeaders(E),h=E.binaryBody,u=this.stringToArrayBuffer(s),v=new Int8Array(u),g=v.byteLength,y=new Int8Array(2+g+(h?h.byteLength:0));if(y[0]=g>>8&255,y[1]=255&g,y.set(v,2),h){const b=new Int8Array(h);y.set(b,2+g)}T.resolve(new c.RawWebsocketMessage(c.MessageType.Binary,y.buffer,E.id))}}catch(s){T.reject(`Error formatting the message. ${s}`)}return T.promise}makeHeaders(E){let T="";if(E.headers)for(const s in E.headers)s&&(T+=`${s}: ${E.headers[s]}\r\n`);return T}parseHeaders(E){const T={};if(E){const s=E.match(/[^\r\n]+/g);if(T)for(const h of s)if(h){const u=h.indexOf(":"),v=u>0?h.substr(0,u).trim().toLowerCase():h,g=u>0&&h.length>u+1?h.substr(u+1).trim():"";T[v]=g}}return T}stringToArrayBuffer(E){const T=new ArrayBuffer(E.length),s=new DataView(T);for(let h=0;h<E.length;
1h++)s.setUint8(h,E.charCodeAt(h));return T}}},25362:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.AudioStreamNodeErrorEvent=_.AudioStreamNodeDetachedEvent=_.AudioStreamNodeAttachedEvent=_.AudioStreamNodeAttachingEvent=_.AudioStreamNodeEvent=_.AudioSourceErrorEvent=_.AudioSourceOffEvent=_.AudioSourceReadyEvent=_.AudioSourceInitializingEvent=_.AudioSourceEvent=void 0;const c=f(35917);class o extends c.PlatformEvent{constructor(p,b,R=c.EventType.Info){super(p,R),this.privAudioSourceId=b}get audioSourceId(){return this.privAudioSourceId}}_.AudioSourceEvent=o,_.AudioSourceInitializingEvent=class C extends o{constructor(p){super("AudioSourceInitializingEvent",p)}},_.AudioSourceReadyEvent=class a extends o{constructor(p){super("AudioSourceReadyEvent",p)}},_.AudioSourceOffEvent=class E extends o{constructor(p){super("AudioSourceOffEvent",p)}},_.AudioSourceErrorEvent=class T extends o{constructor(p,b){super("AudioSourceErrorEvent",p,c.EventType.Error),this.privError=b}get error(){return this.privError}};class s extends o{constructor(p,b,R){super(p,b),this.privAudioNodeId=R}get audioNodeId(){return this.privAudioNodeId}}_.AudioStreamNodeEvent=s,_.AudioStreamNodeAttachingEvent=class h extends s{constructor(p,b){super("AudioStreamNodeAttachingEvent",p,b)}},_.AudioStreamNodeAttachedEvent=class u extends s{constructor(p,b){super("AudioStreamNodeAttachedEvent",p,b)}},_.AudioStreamNodeDetachedEvent=class v extends s{constructor(p,b){super("AudioStreamNodeDetachedEvent",p,b)}},_.AudioStreamNodeErrorEvent=class g extends s{constructor(p,b,R){super("AudioStreamNodeErrorEvent",p,b),this.privError=R}get error(){return this.privError}}},21462:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.BackgroundEvent=void 0;const c=f(13155);_.BackgroundEvent=class o extends c.PlatformEvent{constructor(a){super("BackgroundEvent",c.EventType.Error),this.privError=a}get error(){return this.privError}}},82609:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ChunkedArrayBufferStream=void 0;const c=f(13155);_.ChunkedArrayBufferStream=class o extends c.Stream{constructor(a,E){super(E),this.privTargetChunkSize=a,this.privNextBufferReadyBytes=0}writeStreamChunk(a){if(a.isEnd||0===this.privNextBufferReadyBytes&&a.buffer.byteLength===this.privTargetChunkSize)return void super.writeStreamChunk(a);let E=0;for(;E<a.buffer.byteLength;){void 0===this.privNextBufferToWrite&&(this.privNextBufferToWrite=new ArrayBuffer(this.privTargetChunkSize),this.privNextBufferStartTime=a.timeReceived);const T=Math.min(a.buffer.byteLength-E,this.privTargetChunkSize-this.privNextBufferReadyBytes),s=new Uint8Array(this.privNextBufferToWrite),h=new Uint8Array(a.buffer.slice(E,T+E));s.set(h,this.privNextBufferReadyBytes),this.privNextBufferReadyBytes+=T,E+=T,this.privNextBufferReadyBytes===this.privTargetChunkSize&&(super.writeStreamChunk({buffer:this.privNextBufferToWrite,isEnd:!1,timeReceived:this.privNextBufferStartTime}),this.privNextBufferReadyBytes=0,this.privNextBufferToWrite=void 0)}}close(){0!==this.privNextBufferReadyBytes&&!this.isClosed&&super.writeStreamChunk({buffer:this.privNextBufferToWrite.slice(0,this.privNextBufferReadyBytes),isEnd:!1,timeReceived:this.privNextBufferStartTime}),super.close()}}},84995:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConnectionMessageSentEvent=_.ConnectionMessageReceivedEvent=_.ConnectionEstablishErrorEvent=_.ConnectionErrorEvent=_.ConnectionClosedEvent=_.ConnectionEstablishedEvent=_.ConnectionStartEvent=_.ConnectionEvent=_.ServiceEvent=void 0;const c=f(35917);_.ServiceEvent=class o extends c.PlatformEvent{constructor(y,p,b=c.EventType.Info){super(y,b),this.privJsonResult=p}get jsonString(){return this.privJsonResult}};class C extends c.PlatformEvent{constructor(y,p,b=c.EventType.Info){super(y,b),this.privConnectionId=p}get connectionId(){return this.privConnectionId}}_.ConnectionEvent=C,_.ConnectionStartEvent=class a extends C{constructor(y,p,b){super("ConnectionStartEvent",y),this.privUri=p,this.privHeaders=b}get uri(){return this.privUri}get headers(){return this.privHeaders}},_.ConnectionEstablishedEvent=class E extends C{constructor(y){super("ConnectionEstablishedEvent",y)}},_.ConnectionClosedEvent=class T extends C{constructor(y,p,b){super("ConnectionClosedEvent",y,c.EventType.Debug),this.privReason=b,this.privStatusCode=p}get reason(){return this.privReason}get statusCode(){return this.privStatusCode}},_.ConnectionErrorEvent=class s extends C{constructor(y,p,b){super("ConnectionErrorEvent",
1y,c.EventType.Debug),this.privMessage=p,this.privType=b}get message(){return this.privMessage}get type(){return this.privType}},_.ConnectionEstablishErrorEvent=class h extends C{constructor(y,p,b){super("ConnectionEstablishErrorEvent",y,c.EventType.Error),this.privStatusCode=p,this.privReason=b}get reason(){return this.privReason}get statusCode(){return this.privStatusCode}},_.ConnectionMessageReceivedEvent=class u extends C{constructor(y,p,b){super("ConnectionMessageReceivedEvent",y),this.privNetworkReceivedTime=p,this.privMessage=b}get networkReceivedTime(){return this.privNetworkReceivedTime}get message(){return this.privMessage}},_.ConnectionMessageSentEvent=class v extends C{constructor(y,p,b){super("ConnectionMessageSentEvent",y),this.privNetworkSentTime=p,this.privMessage=b}get networkSentTime(){return this.privNetworkSentTime}get message(){return this.privMessage}}},23555:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConnectionMessage=_.MessageType=void 0;const c=f(76814),o=f(88679);var C,E;(E=C=_.MessageType||(_.MessageType={}))[E.Text=0]="Text",E[E.Binary=1]="Binary",_.ConnectionMessage=class a{constructor(T,s,h,u){if(this.privBody=null,T===C.Text&&s&&"string"!=typeof s)throw new c.InvalidOperationError("Payload must be a string");if(T===C.Binary&&s&&!(s instanceof ArrayBuffer))throw new c.InvalidOperationError("Payload must be ArrayBuffer");switch(this.privMessageType=T,this.privBody=s,this.privHeaders=h||{},this.privId=u||o.createNoDashGuid(),this.messageType){case C.Binary:this.privSize=null!==this.binaryBody?this.binaryBody.byteLength:0;break;case C.Text:this.privSize=this.textBody.length}}get messageType(){return this.privMessageType}get headers(){return this.privHeaders}get body(){return this.privBody}
vendor: 8,665 bytes, line 1
1get textBody(){if(this.privMessageType===C.Binary)throw new c.InvalidOperationError("Not supported for binary message");return this.privBody}get binaryBody(){if(this.privMessageType===C.Text)throw new c.InvalidOperationError("Not supported for text message");return this.privBody}get id(){return this.privId}}},20685:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConnectionOpenResponse=void 0,_.ConnectionOpenResponse=class f{constructor(o,C){this.privStatusCode=o,this.privReason=C}get statusCode(){return this.privStatusCode}get reason(){return this.privReason}}},98899:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.DeferralMap=void 0,_.DeferralMap=class f{constructor(){this.privMap={}}add(o,C){this.privMap[o]=C}getId(o){return this.privMap[o]}complete(o,C){try{this.privMap[o].resolve(C)}catch(a){this.privMap[o].reject(a)}finally{this.privMap[o]=void 0}}}},15603:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SendingAgentContextMessageEvent=_.DialogEvent=void 0;const c=f(35917);class o extends c.PlatformEvent{constructor(E,T=c.EventType.Info){super(E,T)}}_.DialogEvent=o,_.SendingAgentContextMessageEvent=class C extends o{constructor(E){super("SendingAgentContextMessageEvent"),this.privAgentConfig=E}get agentConfig(){return this.privAgentConfig}}},76814:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ObjectDisposedError=_.InvalidOperationError=_.ArgumentNullError=void 0;class f extends Error{constructor(a){super(a),this.name="ArgumentNull",this.message=a}}_.ArgumentNullError=f;class c extends Error{constructor(a){super(a),this.name="InvalidOperation",this.message=a}}_.InvalidOperationError=c;class o extends Error{constructor(a,E){super(E),this.name=a+"ObjectDisposed",this.message=E}}_.ObjectDisposedError=o},69937:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.EventSource=void 0;const c=f(76814),o=f(88679);_.EventSource=class C{constructor(E){this.privEventListeners={},this.privIsDisposed=!1,this.privConsoleListener=void 0,this.privMetadata=E}onEvent(E){if(this.isDisposed())throw new c.ObjectDisposedError("EventSource");if(this.metadata)for(const T in this.metadata)T&&E.metadata&&(E.metadata[T]||(E.metadata[T]=this.metadata[T]));for(const T in this.privEventListeners)T&&this.privEventListeners[T]&&this.privEventListeners[T](E)}attach(E){const T=o.createNoDashGuid();return this.privEventListeners[T]=E,{detach:()=>(delete this.privEventListeners[T],Promise.resolve())}}attachListener(E){return this.attach(T=>E.onEvent(T))}attachConsoleListener(E){return this.privConsoleListener&&this.privConsoleListener.detach(),this.privConsoleListener=this.attach(T=>E.onEvent(T)),this.privConsoleListener}isDisposed(){return this.privIsDisposed}dispose(){this.privEventListeners=null,this.privIsDisposed=!0}get metadata(){return this.privMetadata}}},66975:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Events=void 0;const c=f(76814),o=f(69937);class C{static setEventSource(E){if(!E)throw new c.ArgumentNullError("eventSource");C.privInstance=E}static get instance(){return C.privInstance}}_.Events=C,C.privInstance=new o.EventSource},13155:function(ge,_,f){"use strict";var c=this&&this.__createBinding||(Object.create?function(a,E,T,s){void 0===s&&(s=T),Object.defineProperty(a,s,{enumerable:!0,get:function(){return E[T]}})}:function(a,E,T,s){void 0===s&&(s=T),a[s]=E[T]}),o=this&&this.__exportStar||function(a,E){for(var T in a)"default"!==T&&!E.hasOwnProperty(T)&&c(E,a,T)};Object.defineProperty(_,"__esModule",{value:!0}),o(f(25362),_),o(f(84995),_),o(f(23555),_),o(f(20685),_),o(f(98899),_),o(f(15603),_),o(f(76814),_),o(f(66975),_),o(f(69937),_),o(f(88679),_),o(f(59276),_),o(f(36831),_),o(f(20944),_),o(f(13451),_),o(f(77621),_),o(f(6839),_),o(f(5270),_),o(f(33277),_),o(f(78378),_),o(f(99759),_),o(f(8030),_),o(f(35917),_),o(f(54537),_),o(f(2683),_),o(f(37812),_),o(f(70223),_),o(f(55386),_);var C=f(34213);Object.defineProperty(_,"TranslationStatus",{enumerable:!0,get:function(){return C.TranslationStatus}}),o(f(82609),_),o(f(13721),_),o(f(15643),_),o(f(20994),_),o(f(21462),_)},88679:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.createNoDashGuid=_.createGuid=void 0;const c=f(4705),o=()=>c.v4();_.createGuid=o,_.createNoDashGuid=()=>o().replace(new RegExp("-","g"),"").toUpperCase()},13721:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},59276:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},36831:(ge,_)=>{"use strict";var c;Object.defineProperty(_,"__esModule",{value:!0}),_.ConnectionState=void 0,(c=_.ConnectionState||(_.ConnectionState={}))[c.None=0]="None",c[c.Connected=1]="Connected",c[c.Connecting=2]="Connecting",c[c.Disconnected=3]="Disconnected"},20944:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},13451:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},77621:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},33277:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},6839:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},5270:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},78378:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},99759:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0})},8030:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.List=void 0;const c=f(76814);class o{constructor(a){if(this.privSubscriptionIdCounter=0,this.privAddSubscriptions={},this.privRemoveSubscriptions={},this.privDisposedSubscriptions={},this.privDisposeReason=null,this.privList=[],a)for(const E of a)this.privList.push(E)}get(a){return this.throwIfDisposed(),this.privList[a]}first(){return this.get(0)}last(){return this.get(this.length()-1)}add(a){this.throwIfDisposed(),this.insertAt(this.privList.length,a)}insertAt(a,E){this.throwIfDisposed(),0===a?this.privList.unshift(E):a===this.privList.length?this.privList.push(E):this.privList.splice(a,0,E),this.triggerSubscriptions(this.privAddSubscriptions)}removeFirst(){return this.throwIfDisposed(),this.removeAt(0)}removeLast(){return this.throwIfDisposed(),this.removeAt(this.length()-1)}removeAt(a){return this.throwIfDisposed(),this.remove(a,1)[0]}remove(a,E){this.throwIfDisposed();const T=this.privList.splice(a,E);return this.triggerSubscriptions(this.privRemoveSubscriptions),T}clear(){this.throwIfDisposed(),this.remove(0,this.length())}length(){return this.throwIfDisposed(),this.privList.length}onAdded(a){this.throwIfDisposed();const E=this.privSubscriptionIdCounter++;return this.privAddSubscriptions[E]=a,{detach:()=>(delete this.privAddSubscriptions[E],Promise.resolve())}}onRemoved(a){this.throwIfDisposed();const E=this.privSubscriptionIdCounter++;return this.privRemoveSubscriptions[E]=a,{detach:()=>(delete this.privRemoveSubscriptions[E],Promise.resolve())}}onDisposed(a){this.throwIfDisposed();const E=this.privSubscriptionIdCounter++;return this.privDisposedSubscriptions[E]=a,{detach:()=>(delete this.privDisposedSubscriptions[E],Promise.resolve())}}join(a){return this.throwIfDisposed(),this.privList.join(a)}toArray(){const a=Array();return this.privList.forEach(E=>{a.push(E)}),a}any(a){return this.throwIfDisposed(),a?this.where(a).length()>0:this.length()>0}all(a){return this.throwIfDisposed(),this.where(a).length()===this.length()}forEach(a){this.throwIfDisposed();for(let E=0;E<this.length();E++)a(this.privList[E],E)}select(a){this.throwIfDisposed();const E=[];for(let T=0;T<this.privList.length;T++)E.push(a(this.privList[T],T));return new o(E)}where(a){this.throwIfDisposed();const E=new o;for(let T=0;T<this.privList.length;T++)a(this.privList[T],T)&&E.add(this.privList[T]);return E}orderBy(a){this.throwIfDisposed();const T=this.toArray().sort(a);return new o(T)}orderByDesc(a){return this.throwIfDisposed(),this.orderBy((E,T)=>a(T,E))}clone(){return this.throwIfDisposed(),new o(this.toArray())}concat(a){return this.throwIfDisposed(),new o(this.privList.concat(a.toArray()))}concatArray(a){return this.throwIfDisposed(),new o(this.privList.concat(a))}isDisposed(){return null==this.privList}dispose(a){this.isDisposed()||(this.privDisposeReason=a,this.privList=null,this.privAddSubscriptions=null,this.privRemoveSubscriptions=null,this.triggerSubscriptions(this.privDisposedSubscriptions))}throwIfDisposed(){if(this.isDisposed())throw new c.ObjectDisposedError("List",this.privDisposeReason)}triggerSubscriptions(a){if(a)for(const E in a)E&&a[E]()}}_.List=o},20994:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.OCSPCacheUpdateErrorEvent=_.OCSPResponseRetrievedEvent=_.OCSPCacheFetchErrorEvent=_.OCSPVerificationFailedEvent=_.OCSPCacheHitEvent=_.OCSPCacheEntryNeedsRefreshEvent=_.OCSPCacheEntryExpiredEvent=_.OCSPWSUpgradeStartedEvent=_.OCSPStapleReceivedEvent=_.OCSPCacheUpdateCompleteEvent=_.OCSPDiskCacheStoreEvent=_.OCSPMemoryCacheStoreEvent=_.OCSPCacheUpdateNeededEvent=_.OCSPDiskCacheHitEvent=_.OCSPCacheMissEvent=_.OCSPMemoryCacheHitEvent=_.OCSPEvent=void 0;const c=f(35917);class o extends c.PlatformEvent{constructor(K,z,H){super(K,z),this.privSignature=H}}_.OCSPEvent=o,_.OCSPMemoryCacheHitEvent=class C extends o{constructor(K){super("OCSPMemoryCacheHitEvent",c.EventType.Debug,K)}},_.OCSPCacheMissEvent=class a extends o{constructor(K){super("OCSPCacheMissEvent",c.EventType.Debug,K)}},_.OCSPDiskCacheHitEvent=class E extends o{constructor(K){super("OCSPDiskCacheHitEvent",c.EventType.Debug,K)}},_.OCSPCacheUpdateNeededEvent=class T extends o{constructor(K){super("OCSPCacheUpdateNeededEvent",c.EventType.Debug,K)}},_.OCSPMemoryCacheStoreEvent=class s extends o{constructor(K){super("OCSPMemoryCacheStoreEvent",c.EventType.Debug,K)}},_.OCSPDiskCacheStoreEvent=class h extends o{constructor(K){super("OCSPDiskCacheStoreEvent",c.EventType.Debug,K)}},_.OCSPCacheUpdateCompleteEvent=class u extends o{constructor(K){super("OCSPCacheUpdateCompleteEvent",c.EventType.Debug,K)}},_.OCSPStapleReceivedEvent=class v extends o{constructor(){super("OCSPStapleReceivedEvent",c.EventType.Debug,"")}},_.OCSPWSUpgradeStartedEvent=class g extends o{constructor(K){super("OCSPWSUpgradeStartedEvent",c.EventType.Debug,K)}},_.OCSPCacheEntryExpiredEvent=class y extends o{constructor(K,z){super("OCSPCacheEntryExpiredEvent",c.EventType.Debug,K),this.privExpireTime=z}},_.OCSPCacheEntryNeedsRefreshEvent=class p extends o{constructor(K,z,H){super("OCSPCacheEntryNeedsRefreshEvent",c.EventType.Debug,K),this.privExpireTime=H,this.privStartTime=z}},_.OCSPCacheHitEvent=class b extends o{constructor(K,z,H){super("OCSPCacheHitEvent",c.EventType.Debug,K),this.privExpireTime=H,this.privExpireTimeString=new Date(H).toLocaleDateString(),this.privStartTime=z,this.privStartTimeString=new Date(z).toLocaleTimeString()}},_.OCSPVerificationFailedEvent=class R extends o{constructor(K,z){super("OCSPVerificationFailedEvent",c.EventType.Debug,K),this.privError=z}},_.OCSPCacheFetchErrorEvent=class P extends o{constructor(K,z){super("OCSPCacheFetchErrorEvent",c.EventType.Debug,K),this.privError=z}},_.OCSPResponseRetrievedEvent=class k extends o{constructor(K){super("OCSPResponseRetrievedEvent",c.EventType.Debug,K)}},_.OCSPCacheUpdateErrorEvent=class O extends o{constructor(K,z){super("OCSPCacheUpdateErrorEvent",c.EventType.Debug,K),this.privError=z}}},35917:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.PlatformEvent=_.EventType=void 0;const c=f(88679);var a;(a=_.EventType||(_.EventType={}))[a.Debug=0]="Debug",a[a.Info=1]="Info",a[a.Warning=2]="Warning",a[a.Error=3]="Error",a[a.None=4]="None",_.PlatformEvent=class C{constructor(E,T){this.privName=E,this.privEventId=c.createNoDashGuid(),this.privEventTime=(new Date).toISOString(),this.privEventType=T,this.privMetadata={}}get name(){return this.privName}get eventId(){return this.privEventId}get eventTime(){return this.privEventTime}get eventType(){return this.privEventType}get metadata(){return this.privMetadata}}},54537:(ge,_)=>{"use strict";var f,T;Object.defineProperty(_,"__esModule",{value:!0}),_.marshalPromiseToCallbacks=_.Sink=_.Deferred=_.PromiseResultEventSource=_.PromiseResult=_.PromiseState=void 0,(T=f=_.PromiseState||(_.PromiseState={}))[T.None=0]="None",T[T.Resolved=1]="Resolved",T[T.Rejected=2]="Rejected";class c{constructor(s){this.throwIfError=()=>{if(this.isError)throw this.error},s.on(h=>{this.privIsCompleted||(this.privIsCompleted=!0,this.privIsError=!1,this.privResult=h)},h=>{this.privIsCompleted||(this.privIsCompleted=!0,this.privIsError=!0,this.privError=h)})}get isCompleted(){return this.privIsCompleted}get isError(){return this.privIsError}get error(){return this.privError}get result(){return this.privResult}}_.PromiseResult=c;class o{constructor(){this.setResult=s=>{this.privOnSetResult(s)},this.setError=s=>{this.privOnSetError(s)},this.on=(s,h)=>{this.privOnSetResult=s,this.privOnSetError=h}}}_.PromiseResultEventSource=o,_.Deferred=class C{constructor(){this.resolve=s=>(this.privResolve(s),this),this.reject=s=>(this.privReject(s),this),this.privPromise=new Promise((s,h)=>{this.privResolve=s,this.privReject=h})}get promise(){return this.privPromise}},_.Sink=class a{constructor(){this.privState=f.None,this.privPromiseResult=null,this.privPromiseResultEvents=null,this.privSuccessHandlers=[],this.privErrorHandlers=[],this.privPromiseResultEvents=new o,this.privPromiseResult=new c(this.privPromiseResultEvents)}get state(){return this.privState}get result(){return this.privPromiseResult}resolve(s){if(this.privState!==f.None)throw new Error("'Cannot resolve a completed promise'");this.privState=f.Resolved,this.privPromiseResultEvents.setResult(s);for(let h=0;h<this.privSuccessHandlers.length;h++)this.executeSuccessCallback(s,this.privSuccessHandlers[h],this.privErrorHandlers[h]);this.detachHandlers()}reject(s){if(this.privState!==f.None)throw new Error("'Cannot reject a completed promise'");this.privState=f.Rejected,this.privPromiseResultEvents.setError(s);for(const h of this.privErrorHandlers)this.executeErrorCallback(s,h);this.detachHandlers()}on(s,h){null==s&&(s=()=>{}),this.privState===f.None?(this.privSuccessHandlers.push(s),this.privErrorHandlers.push(h)):(this.privState===f.Resolved?this.executeSuccessCallback(this.privPromiseResult.result,s,h):this.privState===f.Rejected&&this.executeErrorCallback(this.privPromiseResult.error,h),this.detachHandlers())}executeSuccessCallback(s,h,u){try{h(s)}catch(v){this.executeErrorCallback(`'Unhandled callback error: ${v}'`,u)}}
1executeErrorCallback(s,h){if(!h)throw new Error(`'Unhandled error: ${s}'`);try{h(s)}catch(u){throw new Error(`'Unhandled callback error: ${u}. InnerError: ${s}'`)}}detachHandlers(){this.privErrorHandlers=[],this.privSuccessHandlers=[]}},_.marshalPromiseToCallbacks=function E(T,s,h){T.then(u=>{try{s&&s(u)}catch(v){if(h)try{v instanceof Error?h(v.name+": "+v.message):h(v)}catch{}}},u=>{if(h)try{u instanceof Error?h(u.name+": "+u.message):h(u)}catch{}})}},2683:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.Queue=void 0;const o=f(76814),C=f(8030),a=f(54537);var E=function(s){return s[s.Dequeue=0]="Dequeue",s[s.Peek=1]="Peek",s}(E||{});_.Queue=class T{constructor(h){this.privPromiseStore=new C.List,this.privIsDrainInProgress=!1,this.privIsDisposing=!1,this.privDisposeReason=null,this.privList=h||new C.List,this.privDetachables=[],this.privSubscribers=new C.List,this.privDetachables.push(this.privList.onAdded(()=>this.drain()))}enqueue(h){this.throwIfDispose(),this.enqueueFromPromise(new Promise(u=>u(h)))}enqueueFromPromise(h){this.throwIfDispose(),h.then(u=>{this.privList.add(u)},()=>{})}dequeue(){this.throwIfDispose();const h=new a.Deferred;return this.privSubscribers&&(this.privSubscribers.add({deferral:h,type:E.Dequeue}),this.drain()),h.promise}peek(){this.throwIfDispose();const h=new a.Deferred;return this.privSubscribers&&(this.privSubscribers.add({deferral:h,type:E.Peek}),this.drain()),h.promise}length(){return this.throwIfDispose(),this.privList.length()}isDisposed(){return null==this.privSubscribers}
1drainAndDispose(h,u){var v=this;return c(function*(){if(!v.isDisposed()&&!v.privIsDisposing){v.privDisposeReason=u,v.privIsDisposing=!0;const g=v.privSubscribers;if(g){for(;g.length()>0;)g.removeFirst().deferral.resolve(void 0);v.privSubscribers===g&&(v.privSubscribers=g)}for(const y of v.privDetachables)yield y.detach();if(v.privPromiseStore.length()>0&&h){const y=[];return v.privPromiseStore.toArray().forEach(p=>{y.push(p)}),Promise.all(y).finally(()=>{v.privSubscribers=null,v.privList.forEach(p=>{h(p)}),v.privList=null}).then()}v.privSubscribers=null,v.privList=null}})()}dispose(h){var u=this;return c(function*(){yield u.drainAndDispose(null,h)})()}drain(){if(!this.privIsDrainInProgress&&!this.privIsDisposing){this.privIsDrainInProgress=!0;const h=this.privSubscribers,u=this.privList;if(h&&u){for(;u.length()>0&&h.length()>0&&!this.privIsDisposing;){const v=h.removeFirst();if(v.type===E.Peek)v.deferral.resolve(u.first());else{const g=u.removeFirst();v.deferral.resolve(g)}}this.privSubscribers===h&&(this.privSubscribers=h),this.privList===u&&(this.privList=u)}this.privIsDrainInProgress=!1}}throwIfDispose(){if(this.isDisposed())throw this.privDisposeReason?new o.InvalidOperationError(this.privDisposeReason):new o.ObjectDisposedError("Queue");if(this.privIsDisposing)throw new o.InvalidOperationError("Queue disposing")}}},37812:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.RawWebsocketMessage=void 0;const c=f(23555),o=f(76814),C=f(88679);_.RawWebsocketMessage=class a{constructor(T,s,h){if(this.privPayload=null,!s)throw new o.ArgumentNullError("payload");if(T===c.MessageType.Binary&&"ArrayBuffer"!==Object.getPrototypeOf(s).constructor.name)throw new o.InvalidOperationError("Payload must be ArrayBuffer");if(T===c.MessageType.Text&&"string"!=typeof s)throw new o.InvalidOperationError("Payload must be a string");this.privMessageType=T,this.privPayload=s,this.privId=h||C.createNoDashGuid()}get messageType(){return this.privMessageType}get payload(){return this.privPayload}
1get textContent(){if(this.privMessageType===c.MessageType.Binary)throw new o.InvalidOperationError("Not supported for binary message");return this.privPayload}get binaryContent(){if(this.privMessageType===c.MessageType.Text)throw new o.InvalidOperationError("Not supported for text message");return this.privPayload}get id(){return this.privId}}},70223:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.RiffPcmEncoder=void 0,_.RiffPcmEncoder=class f{constructor(o,C){this.privActualSampleRate=o,this.privDesiredSampleRate=C}encode(o){const C=this.downSampleAudioFrame(o,this.privActualSampleRate,this.privDesiredSampleRate);if(!C)return null;const E=new ArrayBuffer(2*C.length),T=new DataView(E);return this.floatTo16BitPCM(T,0,C),E}setString(o,C,a){for(let E=0;E<a.length;E++)o.setUint8(C+E,a.charCodeAt(E))}floatTo16BitPCM(o,C,a){for(let E=0;E<a.length;E++,C+=2){const T=Math.max(-1,Math.min(1,a[E]));o.setInt16(C,T<0?32768*T:32767*T,!0)}}downSampleAudioFrame(o,C,a){if(!o)return null;if(a===C||a>C)return o;const E=C/a,T=Math.round(o.length/E),s=new Float32Array(T);let h=0,u=0;for(;u<T;){const v=Math.round((u+1)*E);let g=0,y=0;for(;h<v&&h<o.length;)g+=o[h++],y++;s[u++]=g/y}return s}}},55386:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.Stream=void 0;const o=f(76814),C=f(88679),a=f(2683);_.Stream=class E{constructor(s){this.privIsWriteEnded=!1,this.privIsReadEnded=!1,this.privId=s||C.createNoDashGuid(),this.privReaderQueue=new a.Queue}get isClosed(){return this.privIsWriteEnded}get isReadEnded(){return this.privIsReadEnded}get id(){return this.privId}close(){this.privIsWriteEnded||(this.writeStreamChunk({buffer:null,isEnd:!0,timeReceived:Date.now()}),this.privIsWriteEnded=!0)}writeStreamChunk(s){if(this.throwIfClosed(),!this.privReaderQueue.isDisposed())try{this.privReaderQueue.enqueue(s)}catch{}}read(){var s=this;if(this.privIsReadEnded)throw new o.InvalidOperationError("Stream read has already finished");return this.privReaderQueue.dequeue().then(function(){var h=c(function*(u){return(void 0===u||u.isEnd)&&(yield s.privReaderQueue.dispose("End of stream reached")),u});return function(u){return h.apply(this,arguments)}}())}readEnded(){this.privIsReadEnded||(this.privIsReadEnded=!0,this.privReaderQueue=new a.Queue)}throwIfClosed(){if(this.privIsWriteEnded)throw new o.InvalidOperationError("Stream closed")}}},25626:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.StringUtils=void 0,_.StringUtils=class f{static formatString(o,C){if(!o)return"";if(!C)return o;let a="",E="";const T=u=>{a+=u},s=u=>{E+=u};let h=T;for(let u=0;u<o.length;u++){const v=o[u],g=u+1<o.length?o[u+1]:"";switch(v){case"{":"{"===g?(h("{"),u++):h=s;break;case"}":"}"===g?(h("}"),u++):(C.hasOwnProperty(E)&&(a+=C[E]),h=T,E="");break;default:h(v)}}return a}}},15643:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Timeout=void 0;class f{static load(){const o=new Map([[0,()=>{}]]),C=new Map,E="data:text/javascript;base64,"+btoa('!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=14)}([function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return d}));const r=new Map,o=new Map,i=e=>{const t=r.get(e);if(void 0===t)throw new Error(\'There is no interval scheduled with the given id "\'.concat(e,\'".\'));clearTimeout(t),r.delete(e)},u=e=>{const t=o.get(e);if(void 0===t)throw new Error(\'There is no timeout scheduled with the given id "\'.concat(e,\'".\'));clearTimeout(t),o.delete(e)},f=(e,t)=>{let n,r;if("performance"in self){const o=performance.now();
1n=o,r=e-Math.max(0,o-t)}else n=Date.now(),r=e;return{expected:n+r,remainingDelay:r}},c=(e,t,n,r)=>{const o="performance"in self?performance.now():Date.now();o>n?postMessage({id:null,method:"call",params:{timerId:t}}):e.set(t,setTimeout(c,n-o,e,t,n))},a=(e,t,n)=>{const{expected:o,remainingDelay:i}=f(e,n);r.set(t,setTimeout(c,i,r,t,o))},d=(e,t,n)=>{const{expected:r,remainingDelay:i}=f(e,n);o.set(t,setTimeout(c,i,o,t,r))}},function(e,t,n){"use strict";n.r(t);var r=n(2);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);var i=n(3);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);var u=n(4);for(var o in u)"default"!==o&&function(e){n.d(t,e,(function(){return u[e]}))}(o);var f=n(5);for(var o in f)"default"!==o&&function(e){n.d(t,e,(function(){return f[e]}))}(o);var c=n(6);for(var o in c)"default"!==o&&function(e){n.d(t,e,(function(){return c[e]}))}(o);var a=n(7);for(var o in a)"default"!==o&&function(e){n.d(t,e,(function(){return a[e]}))}(o);var d=n(8);for(var o in d)"default"!==o&&function(e){n.d(t,e,(function(){return d[e]}))}(o);var s=n(9);for(var o in s)"default"!==o&&function(e){n.d(t,e,(function(){return s[e]}))}(o)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.r(t);var r=n(11);for(var o in r)"default"!==o&&function(e){n.d(t,e,(function(){return r[e]}))}(o);var i=n(12);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);var u=n(13);for(var o in u)"default"!==o&&function(e){n.d(t,e,(function(){return u[e]}))}(o)},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1);for(var i in o)"default"!==i&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var u=n(10);for(var i in u)"default"!==i&&function(e){n.d(t,e,(function(){return u[e]}))}(i);addEventListener("message",({data:e})=>{try{if("clear"===e.method){const{id:t,params:{timerId:n}}=e;Object(r.b)(n),postMessage({error:null,id:t})}else{if("set"!==e.method)throw new Error(\'The given method "\'.concat(e.method,\'" is not supported\'));{const{params:{delay:t,now:n,timerId:o}}=e;Object(r.d)(t,o,n)}}}catch(t){postMessage({error:{message:t.message},id:e.id,result:null})}})}]);'),T=new Worker(E);return T.addEventListener("message",({data:u})=>{if(f.isCallNotification(u)){const{params:{timerId:v}}=u,g=o.get(v);if("number"==typeof g){const y=C.get(g);if(void 0===y||y!==v)throw new Error("The timer is in an undefined state.")}else{if(!(typeof g<"u"))throw new Error("The timer is in an undefined state.");g(),o.delete(v)}}else{if(!f.isClearResponse(u)){const{error:{message:v}}=u;throw new Error(v)}{const{id:v}=u,g=C.get(v);if(void 0===g)throw new Error("The timer is in an undefined state.");C.delete(v),o.delete(g)}}}),{clearTimeout:u=>{const v=Math.random();C.set(v,u),o.set(u,v),T.postMessage({id:v,method:"clear",params:{timerId:u}})},setTimeout:(u,v)=>{const g=Math.random();return o.set(g,u),T.postMessage({id:null,method:"set",params:{delay:v,now:performance.now(),timerId:g}}),g}}}static loadWorkerTimers(){return()=>(null!==f.workerTimers||(f.workerTimers=f.load()),f.workerTimers)}static isCallNotification(o){return void 0!==o.method&&"call"===o.method}static isClearResponse(o){return null===o.error&&"number"==typeof o.id}}_.Timeout=f,f.workerTimers=null,f.clearTimeout=c=>f.timers().clearTimeout(c),f.setTimeout=(c,o)=>f.timers().setTimeout(c,o),f.timers=f.loadWorkerTimers()},71720:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ActivityReceivedEventArgs=void 0,_.ActivityReceivedEventArgs=class f{constructor(o,C){this.privActivity=o,this.privAudioStream=C}get activity(){return this.privActivity}get audioStream(){return this.privAudioStream}}},76686:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.AudioOutputConfigImpl=_.AudioConfigImpl=_.AudioConfig=void 0;const c=f(20709),o=f(8804),C=f(15912),a=f(28841),E=f(15126),T=f(50221);class s{static fromDefaultMicrophoneInput(){const g=new c.PcmRecorder(!0);return new h(new c.MicAudioSource(g))}static fromMicrophoneInput(g){const y=new c.PcmRecorder(!0);return new h(new c.MicAudioSource(y,g))}static fromWavFileInput(g,y="unnamedBuffer.wav"){return new h(new c.FileAudioSource(g,y))}static fromStreamInput(g){if(g instanceof C.PullAudioInputStreamCallback)return new h(new E.PullAudioInputStreamImpl(g));if(g instanceof C.AudioInputStream)return new h(g);if(typeof MediaStream<"u"&&g instanceof MediaStream){const y=new c.PcmRecorder(!1);
vendor: 4,799 bytes, line 1
1return new h(new c.MicAudioSource(y,null,null,g))}throw new Error("Not Supported Type")}static fromDefaultSpeakerOutput(){return new u(new C.SpeakerAudioDestination)}static fromSpeakerOutput(g){if(void 0===g)return s.fromDefaultSpeakerOutput();if(g instanceof C.SpeakerAudioDestination)return new u(g);throw new Error("Not Supported Type")}static fromAudioFileOutput(g){return new u(new a.AudioFileWriter(g))}static fromStreamOutput(g){if(g instanceof C.PushAudioOutputStreamCallback)return new u(new T.PushAudioOutputStreamImpl(g));if(g instanceof C.PushAudioOutputStream)return new u(g);if(g instanceof C.PullAudioOutputStream)return new u(g);throw new Error("Not Supported Type")}}_.AudioConfig=s;class h extends s{constructor(g){super(),this.privSource=g}get format(){return this.privSource.format}close(g,y){this.privSource.turnOff().then(()=>{g&&g()},p=>{y&&y(p)})}id(){return this.privSource.id()}turnOn(){return this.privSource.turnOn()}attach(g){return this.privSource.attach(g)}detach(g){return this.privSource.detach(g)}turnOff(){return this.privSource.turnOff()}get events(){return this.privSource.events}setProperty(g,y){if(o.Contracts.throwIfNull(y,"value"),void 0===this.privSource.setProperty)throw new Error("This AudioConfig instance does not support setting properties.");this.privSource.setProperty(g,y)}getProperty(g,y){if(void 0!==this.privSource.getProperty)return this.privSource.getProperty(g,y);throw new Error("This AudioConfig instance does not support getting properties.")}get deviceInfo(){return this.privSource.deviceInfo}}_.AudioConfigImpl=h;class u extends s{constructor(g){super(),this.privDestination=g}set format(g){this.privDestination.format=g}write(g){this.privDestination.write(g)}close(){this.privDestination.close()}id(){return this.privDestination.id()}setProperty(){throw new Error("This AudioConfig instance does not support setting properties.")}getProperty(){throw new Error("This AudioConfig instance does not support getting properties.")}}_.AudioOutputConfigImpl=u},28841:function(ge,_,f){"use strict";var c=this&&this.__createBinding||(Object.create?function(s,h,u,v){void 0===v&&(v=u),Object.defineProperty(s,v,{enumerable:!0,get:function(){return h[u]}})}:function(s,h,u,v){void 0===v&&(v=u),s[v]=h[u]}),o=this&&this.__setModuleDefault||(Object.create?function(s,h){Object.defineProperty(s,"default",{enumerable:!0,value:h})}:function(s,h){s.default=h}),C=this&&this.__importStar||function(s){if(s&&s.__esModule)return s;var h={};if(null!=s)for(var u in s)"default"!==u&&Object.hasOwnProperty.call(s,u)&&c(h,s,u);return o(h,s),h};Object.defineProperty(_,"__esModule",{value:!0}),_.AudioFileWriter=void 0;const a=C(f(10952)),E=f(8804);_.AudioFileWriter=class T{constructor(h){E.Contracts.throwIfNullOrUndefined(a.openSync,"\nFile System access not available, please use Push or PullAudioOutputStream"),this.privFd=a.openSync(h,"w")}set format(h){E.Contracts.throwIfNotUndefined(this.privAudioFormat,"format is already set"),this.privAudioFormat=h;let u=0;this.privAudioFormat.hasHeader&&(u=this.privAudioFormat.header.byteLength),void 0!==this.privFd&&(this.privWriteStream=a.createWriteStream("",{fd:this.privFd,start:u,autoClose:!1}))}write(h){E.Contracts.throwIfNullOrUndefined(this.privAudioFormat,"must set format before writing."),void 0!==this.privWriteStream&&this.privWriteStream.write(new Uint8Array(h.slice(0)))}close(){void 0!==this.privFd&&(this.privWriteStream.on("finish",()=>{this.privAudioFormat.hasHeader&&(this.privAudioFormat.updateHeader(this.privWriteStream.bytesWritten),a.writeSync(this.privFd,new Int8Array(this.privAudioFormat.header),0,this.privAudioFormat.header.byteLength,0)),a.closeSync(this.privFd),this.privFd=void 0}),this.privWriteStream.end())}id(){return this.privId}}},15126:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.PullAudioInputStreamImpl=_.PullAudioInputStream=_.PushAudioInputStreamImpl=_.PushAudioInputStream=_.AudioInputStream=void 0;const o=f(67971),C=f(13155),a=f(88679),E=f(15912),T=f(56495);class s{constructor(){}static createPushStream(p){return h.create(p)}static createPullStream(p,b){return v.create(p,b)}}_.AudioInputStream=s;class h extends s{static create(p){return new u(p)}}_.PushAudioInputStream=h;class u extends h{constructor(p){super(),this.privFormat=void 0===p?T.AudioStreamFormatImpl.getDefaultInputFormat():p,this.privEvents=new C.EventSource,this.privId=a.createNoDashGuid(),this.privStream=new C.ChunkedArrayBufferStream(this.privFormat.avgBytesPerSec/10)}get format(){return Promise.resolve(this.privFormat)}write(p){this.privStream.writeStreamChunk({buffer:p,isEnd:!1,timeReceived:Date.now()})}close(){this.privStream.close()}id(){return this.privId}turnOn(){this.onEvent(new C.AudioSourceInitializingEvent(this.privId)
1),this.onEvent(new C.AudioSourceReadyEvent(this.privId))}attach(p){var b=this;return c(function*(){b.onEvent(new C.AudioStreamNodeAttachingEvent(b.privId,p)),yield b.turnOn();const R=b.privStream;return b.onEvent(new C.AudioStreamNodeAttachedEvent(b.privId,p)),{detach:(P=c(function*(){return b.onEvent(new C.AudioStreamNodeDetachedEvent(b.privId,p)),b.turnOff()}),function(){return P.apply(this,arguments)}),id:()=>p,read:()=>R.read()};var P})()}detach(p){this.onEvent(new C.AudioStreamNodeDetachedEvent(this.privId,p))}turnOff(){}get events(){return this.privEvents}get deviceInfo(){return Promise.resolve({bitspersample:this.privFormat.bitsPerSample,channelcount:this.privFormat.channels,connectivity:o.connectivity.Unknown,manufacturer:"Speech SDK",model:"PushStream",samplerate:this.privFormat.samplesPerSec,type:o.type.Stream})}onEvent(p){this.privEvents.onEvent(p),C.Events.instance.onEvent(p)}toBuffer(p){const b=Buffer.alloc(p.byteLength),R=new Uint8Array(p);for(let P=0;P<b.length;++P)b[P]=R[P];return b}}_.PushAudioInputStreamImpl=u;class v extends s{constructor(){super()}static create(p,b){return new g(p,b)}}_.PullAudioInputStream=v;class g extends v{constructor(p,b){super(),this.privFormat=void 0===b?E.AudioStreamFormat.getDefaultInputFormat():b,this.privEvents=new C.EventSource,this.privId=a.createNoDashGuid(),this.privCallback=p,this.privIsClosed=!1,this.privBufferSize=this.privFormat.avgBytesPerSec/10}get format(){return Promise.resolve(this.privFormat)}close(){this.privIsClosed=!0,this.privCallback.close()}id(){return this.privId}turnOn(){this.onEvent(new C.AudioSourceInitializingEvent(this.privId)),this.onEvent(new C.AudioSourceReadyEvent(this.privId))}attach(p){var b=this;return c(function*(){return b.onEvent(new C.AudioStreamNodeAttachingEvent(b.privId,p)),yield b.turnOn(),b.onEvent(new C.AudioStreamNodeAttachedEvent(b.privId,p)),{detach:()=>(b.privCallback.close(),b.onEvent(new C.AudioStreamNodeDetachedEvent(b.privId,p)),b.turnOff()),id:()=>p,read:()=>{let P,R=0;for(;R<b.privBufferSize;){const k=new ArrayBuffer(b.privBufferSize-R),O=b.privCallback.read(k);if(void 0===P?P=k:new Int8Array(P).set(new Int8Array(k),R),0===O)break;R+=O}return Promise.resolve({buffer:P.slice(0,R),isEnd:b.privIsClosed||0===R,timeReceived:Date.now()})}}})()}detach(p){this.onEvent(new C.AudioStreamNodeDetachedEvent(this.privId,p))}turnOff(){}get events(){return this.privEvents}get deviceInfo(){return Promise.resolve({bitspersample:this.privFormat.bitsPerSample,channelcount:this.privFormat.channels,connectivity:o.connectivity.Unknown,manufacturer:"Speech SDK",model:"PullStream",samplerate:this.privFormat.samplesPerSec,type:o.type.Stream})}onEvent(p){this.privEvents.onEvent(p),C.Events.instance.onEvent(p)}}_.PullAudioInputStreamImpl=g},42466:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.AudioOutputFormatImpl=void 0;const c=f(80589),o=f(56495);class C extends o.AudioStreamFormatImpl{constructor(E,T,s,h,u,v,g,y,p){super(s,v,T,E),this.formatTag=E,this.avgBytesPerSec=h,this.blockAlign=u,this.priAudioFormatString=g,this.priRequestAudioFormatString=y,this.priHasHeader=p}static fromSpeechSynthesisOutputFormat(E){return void 0===E?C.getDefaultOutputFormat():C.fromSpeechSynthesisOutputFormatString(C.SpeechSynthesisOutputFormatToString[E])}static fromSpeechSynthesisOutputFormatString(E){switch(E){case"raw-8khz-8bit-mono-mulaw":return new C(o.AudioFormatTag.MuLaw,1,8e3,8e3,1,8,E,E,!1);case"riff-16khz-16kbps-mono-siren":return new C(o.AudioFormatTag.Siren,1,16e3,2e3,40,0,E,"audio-16khz-16kbps-mono-siren",!0);case"audio-16khz-16kbps-mono-siren":return new C(o.AudioFormatTag.Siren,1,16e3,2e3,40,0,E,E,!1);case"audio-16khz-32kbitrate-mono-mp3":return new C(o.AudioFormatTag.MP3,1,16e3,4096,2,16,E,E,!1);case"audio-16khz-128kbitrate-mono-mp3":return new C(o.AudioFormatTag.MP3,1,16e3,16384,2,16,E,E,!1);case"audio-16khz-64kbitrate-mono-mp3":return new C(o.AudioFormatTag.MP3,1,16e3,8192,2,16,E,E,!1);case"audio-24khz-48kbitrate-mono-mp3":return new C(o.AudioFormatTag.MP3,1,24e3,6144,2,16,E,E,!1);case"audio-24khz-96kbitrate-mono-mp3":return new C(o.AudioFormatTag.MP3,1,24e3,12288,2,16,E,E,!1);case"audio-24khz-160kbitrate-mono-mp3":return new C(o.AudioFormatTag.MP3,1,24e3,20480,2,16,E,E,!1);case"raw-16khz-16bit-mono-truesilk":return new C(o.AudioFormatTag.SILKSkype,1,16e3,32e3,2,16,E,E,!1);case"riff-8khz-16bit-mono-pcm":return new C(o.AudioFormatTag.PCM,1,8e3,16e3,2,16,E,"raw-8khz-16bit-mono-pcm",!0);case"riff-24khz-16bit-mono-pcm":return new C(o.AudioFormatTag.PCM,1,24e3,48e3,2,16,E,"raw-24khz-16bit-mono-pcm",!0);case"riff-8khz-8bit-mono-mulaw":return new C(o.AudioFormatTag.MuLaw,1,8e3,8e3,1,8,E,"raw-8khz-8bit-mono-mulaw",!0);case"raw-16khz-16bit-mono-pcm":return new C(o.AudioFormatTag.PCM,1,16e3,32e3,2,16,E,"raw-16khz-16bit-mono-pcm",!1);case"raw-24khz-16bit-mono-pcm":return new C(o.AudioFormatTag.PCM,1,24e3,48e3,2,16,E,"raw-24khz-16bit-mono-pcm",!1);case"raw-8khz-16bit-mono-pcm":return new C(o.AudioFormatTag.PCM,1,8e3,16e3,2,16,E,"raw-8khz-16bit-mono-pcm",!1);case"ogg-16khz-16bit-mono-opus":return new C(o.AudioFormatTag.OGG_OPUS,1,16e3,8192,2,16,E,E,!1);case"ogg-24khz-16bit-mono-opus":return new C(o.AudioFormatTag.OGG_OPUS,1,24e3,8192,2,16,E,E,!1);case"raw-48khz-16bit-mono-pcm":return new C(o.AudioFormatTag.PCM,1,48e3,96e3,2,16,E,"raw-48khz-16bit-mono-pcm",!1);case"riff-48khz-16bit-mono-pcm":return new C(o.AudioFormatTag.PCM,1,48e3,96e3,2,16,E,"raw-48khz-16bit-mono-pcm",!0);case"audio-48khz-96kbitrate-mono-mp3":return new C(o.AudioFormatTag.MP3,1,48e3,12288,2,16,E,E,!1);case"audio-48khz-192kbitrate-mono-mp3":return new C(o.AudioFormatTag.MP3,1,48e3,24576,2,16,E,E,!1);case"ogg-48khz-16bit-mono-opus":return new C(o.AudioFormatTag.OGG_OPUS,1,48e3,12e3,2,16,E,E,!1);case"webm-16khz-16bit-mono-opus":return new C(o.AudioFormatTag.WEBM_OPUS,1,16e3,4e3,2,16,E,E,!1);case"webm-24khz-16bit-mono-opus":return new C(o.AudioFormatTag.WEBM_OPUS,1,24e3,6e3,2,16,E,E,!1);case"webm-24khz-16bit-24kbps-mono-opus":return new C(o.AudioFormatTag.WEBM_OPUS,1,24e3,3e3,2,16,E,E,!1);case"audio-16khz-16bit-32kbps-mono-opus":return new C(o.AudioFormatTag.OPUS,1,16e3,4e3,2,16,E,E,!1);case"audio-24khz-16bit-48kbps-mono-opus":return new C(o.AudioFormatTag.OPUS,1,24e3,6e3,2,16,E,E,!1);case"audio-24khz-16bit-24kbps-mono-opus":return new C(o.AudioFormatTag.OPUS,1,24e3,3e3,2,16,E,E,!1);case"audio-24khz-16bit-mono-flac":return new C(o.AudioFormatTag.FLAC,1,24e3,24e3,2,16,E,E,!1);case"audio-48khz-16bit-mono-flac":return new C(o.AudioFormatTag.FLAC,1,48e3,3e4,2,16,E,E,!1);case"raw-24khz-16bit-mono-truesilk":return new C(o.AudioFormatTag.SILKSkype,1,24e3,48e3,2,16,E,E,!1);case"raw-8khz-8bit-mono-alaw":return new C(o.AudioFormatTag.ALaw,1,8e3,8e3,1,8,E,E,!1);case"riff-8khz-8bit-mono-alaw":return new C(o.AudioFormatTag.ALaw,1,8e3,8e3,1,8,E,"raw-8khz-8bit-mono-alaw",!0);case"raw-22050hz-16bit-mono-pcm":return new C(o.AudioFormatTag.PCM,1,22050,44100,2,16,E,E,!1);case"riff-22050hz-16bit-mono-pcm":return new C(o.AudioFormatTag.PCM,1,22050,44100,2,16,E,"raw-22050hz-16bit-mono-pcm",!0);case"raw-44100hz-16bit-mono-pcm":return new C(o.AudioFormatTag.PCM,1,44100,88200,2,16,E,E,!1);case"riff-44100hz-16bit-mono-pcm":return new C(o.AudioFormatTag.PCM,1,44100,88200,2,16,E,"raw-44100hz-16bit-mono-pcm",!0);case"amr-wb-16000h":return new C(o.AudioFormatTag.AMR_WB,1,16e3,3052,2,16,E,E,!1);case"g722-16khz-64kbps":return new C(o.AudioFormatTag.G722,1,16e3,8e3,2,16,E,E,!1);default:return new C(o.AudioFormatTag.PCM,1,16e3,32e3,2,16,"riff-16khz-16bit-mono-pcm","raw-16khz-16bit-mono-pcm",!0)}}static getDefaultOutputFormat(){return C.fromSpeechSynthesisOutputFormatString(typeof window<"u"?"audio-24khz-48kbitrate-mono-mp3":"riff-16khz-16bit-mono-pcm")}get hasHeader(){return this.priHasHeader}
vendor: 4,293 bytes, line 1
1get header(){if(this.hasHeader)return this.privHeader}updateHeader(E){if(this.priHasHeader){const T=new DataView(this.privHeader);T.setUint32(4,E+this.privHeader.byteLength-8,!0),T.setUint32(40,E,!0)}}get requestAudioFormatString(){return this.priRequestAudioFormatString}addHeader(E){if(!this.hasHeader)return E;this.updateHeader(E.byteLength);const T=new Uint8Array(E.byteLength+this.header.byteLength);return T.set(new Uint8Array(this.header),0),T.set(new Uint8Array(E),this.header.byteLength),T.buffer}}_.AudioOutputFormatImpl=C,C.SpeechSynthesisOutputFormatToString={[c.SpeechSynthesisOutputFormat.Raw8Khz8BitMonoMULaw]:"raw-8khz-8bit-mono-mulaw",[c.SpeechSynthesisOutputFormat.Riff16Khz16KbpsMonoSiren]:"riff-16khz-16kbps-mono-siren",[c.SpeechSynthesisOutputFormat.Audio16Khz16KbpsMonoSiren]:"audio-16khz-16kbps-mono-siren",[c.SpeechSynthesisOutputFormat.Audio16Khz32KBitRateMonoMp3]:"audio-16khz-32kbitrate-mono-mp3",[c.SpeechSynthesisOutputFormat.Audio16Khz128KBitRateMonoMp3]:"audio-16khz-128kbitrate-mono-mp3",[c.SpeechSynthesisOutputFormat.Audio16Khz64KBitRateMonoMp3]:"audio-16khz-64kbitrate-mono-mp3",[c.SpeechSynthesisOutputFormat.Audio24Khz48KBitRateMonoMp3]:"audio-24khz-48kbitrate-mono-mp3",[c.SpeechSynthesisOutputFormat.Audio24Khz96KBitRateMonoMp3]:"audio-24khz-96kbitrate-mono-mp3",[c.SpeechSynthesisOutputFormat.Audio24Khz160KBitRateMonoMp3]:"audio-24khz-160kbitrate-mono-mp3",[c.SpeechSynthesisOutputFormat.Raw16Khz16BitMonoTrueSilk]:"raw-16khz-16bit-mono-truesilk",[c.SpeechSynthesisOutputFormat.Riff16Khz16BitMonoPcm]:"riff-16khz-16bit-mono-pcm",[c.SpeechSynthesisOutputFormat.Riff8Khz16BitMonoPcm]:"riff-8khz-16bit-mono-pcm",[c.SpeechSynthesisOutputFormat.Riff24Khz16BitMonoPcm]:"riff-24khz-16bit-mono-pcm",[c.SpeechSynthesisOutputFormat.Riff8Khz8BitMonoMULaw]:"riff-8khz-8bit-mono-mulaw",[c.SpeechSynthesisOutputFormat.Raw16Khz16BitMonoPcm]:"raw-16khz-16bit-mono-pcm",[c.SpeechSynthesisOutputFormat.Raw24Khz16BitMonoPcm]:"raw-24khz-16bit-mono-pcm",[c.SpeechSynthesisOutputFormat.Raw8Khz16BitMonoPcm]:"raw-8khz-16bit-mono-pcm",[c.SpeechSynthesisOutputFormat.Ogg16Khz16BitMonoOpus]:"ogg-16khz-16bit-mono-opus",[c.SpeechSynthesisOutputFormat.Ogg24Khz16BitMonoOpus]:"ogg-24khz-16bit-mono-opus",[c.SpeechSynthesisOutputFormat.Raw48Khz16BitMonoPcm]:"raw-48khz-16bit-mono-pcm",[c.SpeechSynthesisOutputFormat.Riff48Khz16BitMonoPcm]:"riff-48khz-16bit-mono-pcm",[c.SpeechSynthesisOutputFormat.Audio48Khz96KBitRateMonoMp3]:"audio-48khz-96kbitrate-mono-mp3",[c.SpeechSynthesisOutputFormat.Audio48Khz192KBitRateMonoMp3]:"audio-48khz-192kbitrate-mono-mp3",[c.SpeechSynthesisOutputFormat.Ogg48Khz16BitMonoOpus]:"ogg-48khz-16bit-mono-opus",[c.SpeechSynthesisOutputFormat.Webm16Khz16BitMonoOpus]:"webm-16khz-16bit-mono-opus",[c.SpeechSynthesisOutputFormat.Webm24Khz16BitMonoOpus]:"webm-24khz-16bit-mono-opus",[c.SpeechSynthesisOutputFormat.Webm24Khz16Bit24KbpsMonoOpus]:"webm-24khz-16bit-24kbps-mono-opus",[c.SpeechSynthesisOutputFormat.Raw24Khz16BitMonoTrueSilk]:"raw-24khz-16bit-mono-truesilk",[c.SpeechSynthesisOutputFormat.Raw8Khz8BitMonoALaw]:"raw-8khz-8bit-mono-alaw",[c.SpeechSynthesisOutputFormat.Riff8Khz8BitMonoALaw]:"riff-8khz-8bit-mono-alaw",[c.SpeechSynthesisOutputFormat.Audio16Khz16Bit32KbpsMonoOpus]:"audio-16khz-16bit-32kbps-mono-opus",[c.SpeechSynthesisOutputFormat.Audio24Khz16Bit48KbpsMonoOpus]:"audio-24khz-16bit-48kbps-mono-opus",[c.SpeechSynthesisOutputFormat.Audio24Khz16Bit24KbpsMonoOpus]:"audio-24khz-16bit-24kbps-mono-opus",[c.SpeechSynthesisOutputFormat.Raw22050Hz16BitMonoPcm]:"raw-22050hz-16bit-mono-pcm",[c.SpeechSynthesisOutputFormat.Riff22050Hz16BitMonoPcm]:"riff-22050hz-16bit-mono-pcm",[c.SpeechSynthesisOutputFormat.Raw44100Hz16BitMonoPcm]:"raw-44100hz-16bit-mono-pcm",[c.SpeechSynthesisOutputFormat.Riff44100Hz16BitMonoPcm]:"riff-44100hz-16bit-mono-pcm",[c.SpeechSynthesisOutputFormat.AmrWb16000Hz]:"amr-wb-16000hz",[c.SpeechSynthesisOutputFormat.G72216Khz64Kbps]:"g722-16khz-64kbps"}},50221:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.PushAudioOutputStreamImpl=_.PushAudioOutputStream=_.PullAudioOutputStreamImpl=_.PullAudioOutputStream=_.AudioOutputStream=void 0;const o=f(13155),C=f(8804),a=f(42466);class E{constructor(){}static createPullStream(){return T.create()}}_.AudioOutputStream=E;
1class T extends E{static create(){return new s}}_.PullAudioOutputStream=T;class s extends T{constructor(){super(),this.privId=o.createNoDashGuid(),this.privStream=new o.Stream}set format(g){null==g&&(this.privFormat=a.AudioOutputFormatImpl.getDefaultOutputFormat()),this.privFormat=g}get format(){return this.privFormat}get isClosed(){return this.privStream.isClosed}id(){return this.privId}read(g){var y=this;return c(function*(){const p=new Int8Array(g);let b=0;if(void 0!==y.privLastChunkView){if(y.privLastChunkView.length>g.byteLength)return p.set(y.privLastChunkView.slice(0,g.byteLength)),y.privLastChunkView=y.privLastChunkView.slice(g.byteLength),Promise.resolve(g.byteLength);p.set(y.privLastChunkView),b=y.privLastChunkView.length,y.privLastChunkView=void 0}for(;b<g.byteLength&&!y.privStream.isReadEnded;){const R=yield y.privStream.read();if(void 0===R||R.isEnd)y.privStream.readEnded();else{let P;R.buffer.byteLength>g.byteLength-b?(P=R.buffer.slice(0,g.byteLength-b),y.privLastChunkView=new Int8Array(R.buffer.slice(g.byteLength-b))):P=R.buffer,p.set(new Int8Array(P),b),b+=P.byteLength}}return b})()}write(g){C.Contracts.throwIfNullOrUndefined(this.privStream,"must set format before writing"),this.privStream.writeStreamChunk({buffer:g,isEnd:!1,timeReceived:Date.now()})}close(){this.privStream.close()}}_.PullAudioOutputStreamImpl=s;
1class h extends E{constructor(){super()}static create(g){return new u(g)}}_.PushAudioOutputStream=h;class u extends h{constructor(g){super(),this.privId=o.createNoDashGuid(),this.privCallback=g}set format(g){}write(g){this.privCallback.write&&this.privCallback.write(g)}close(){this.privCallback.close&&this.privCallback.close()}id(){return this.privId}}_.PushAudioOutputStreamImpl=u},56495:(ge,_)=>{"use strict";var f,C;Object.defineProperty(_,"__esModule",{value:!0}),_.AudioStreamFormatImpl=_.AudioStreamFormat=_.AudioFormatTag=void 0,(C=f=_.AudioFormatTag||(_.AudioFormatTag={}))[C.PCM=1]="PCM",C[C.MuLaw=2]="MuLaw",C[C.Siren=3]="Siren",C[C.MP3=4]="MP3",C[C.SILKSkype=5]="SILKSkype",C[C.OGG_OPUS=6]="OGG_OPUS",C[C.WEBM_OPUS=7]="WEBM_OPUS",C[C.ALaw=8]="ALaw",C[C.FLAC=9]="FLAC",C[C.OPUS=10]="OPUS",C[C.AMR_WB=11]="AMR_WB",C[C.G722=12]="G722";class c{static getDefaultInputFormat(){return o.getDefaultInputFormat()}static getWaveFormat(a,E,T,s){return new o(a,E,T,s)}static getWaveFormatPCM(a,E,T){return new o(a,E,T)}}_.AudioStreamFormat=c;class o extends c{constructor(a=16e3,E=16,T=1,s=f.PCM){super();let h=!0;switch(s){case f.PCM:this.formatTag=1;break;case f.ALaw:this.formatTag=6;break;case f.MuLaw:this.formatTag=7;break;default:h=!1}if(this.bitsPerSample=E,this.samplesPerSec=a,this.channels=T,this.avgBytesPerSec=this.samplesPerSec*this.channels*(this.bitsPerSample/8),this.blockAlign=this.channels*Math.max(this.bitsPerSample,8),h){this.privHeader=new ArrayBuffer(44);const u=new DataView(this.privHeader);this.setString(u,0,"RIFF"),u.setUint32(4,0,!0),this.setString(u,8,"WAVEfmt "),u.setUint32(16,16,!0),u.setUint16(20,this.formatTag,!0),u.setUint16(22,this.channels,!0),u.setUint32(24,this.samplesPerSec,!0),u.setUint32(28,this.avgBytesPerSec,!0),u.setUint16(32,this.channels*(this.bitsPerSample/8),!0),u.setUint16(34,this.bitsPerSample,!0),this.setString(u,36,"data"),u.setUint32(40,0,!0)}}static getDefaultInputFormat(){return new o}static getAudioContext(a){const E=window.AudioContext||window.webkitAudioContext||!1;if(E)return void 0!==a&&navigator.mediaDevices.getSupportedConstraints().sampleRate?new E({sampleRate:a}):new E;throw new Error("Browser does not support Web Audio API (AudioContext is not available).")}close(){}get header(){return this.privHeader}setString(a,E,T){for(let s=0;s<T.length;s++)a.setUint8(E+s,T.charCodeAt(s))}}_.AudioStreamFormatImpl=o},29318:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.BaseAudioPlayer=void 0;const o=f(76814),C=f(15912),a=f(56495);_.BaseAudioPlayer=class E{constructor(s){this.audioContext=null,this.gainNode=null,this.autoUpdateBufferTimer=0,void 0===s&&(s=C.AudioStreamFormat.getDefaultInputFormat()),this.init(s)}playAudioSample(s,h,u){try{this.ensureInitializedContext();const v=this.formatAudioData(s),g=new Float32Array(this.samples.length+v.length);g.set(this.samples,0),g.set(v,this.samples.length),this.samples=g,h&&h()}catch(v){u&&u(v)}}stopAudio(s,h){null!==this.audioContext&&(this.samples=new Float32Array,clearInterval(this.autoUpdateBufferTimer),this.audioContext.close().then(()=>{s&&s()},u=>{h&&h(u)}),this.audioContext=null)}init(s){this.audioFormat=s,this.samples=new Float32Array}ensureInitializedContext(){null===this.audioContext&&(this.createAudioContext(),this.autoUpdateBufferTimer=setInterval(()=>{this.updateAudioBuffer()},200))}createAudioContext(){this.audioContext=a.AudioStreamFormatImpl.getAudioContext(),this.gainNode=this.audioContext.createGain(),this.gainNode.gain.value=1,this.gainNode.connect(this.audioContext.destination),this.startTime=this.audioContext.currentTime}formatAudioData(s){switch(this.audioFormat.bitsPerSample){case 8:return this.formatArrayBuffer(new Int8Array(s),128);case 16:return this.formatArrayBuffer(new Int16Array(s),32768);case 32:return this.formatArrayBuffer(new Int32Array(s),2147483648);default:throw new o.InvalidOperationError("Only WAVE_FORMAT_PCM (8/16/32 bps) format supported at this time")}}formatArrayBuffer(s,h){const u=new Float32Array(s.length);for(let v=0;v<s.length;v++)u[v]=s[v]/h;return u}updateAudioBuffer(){if(0===this.samples.length)return;const s=this.audioFormat.channels,h=this.audioContext.createBufferSource(),v=this.audioContext.createBuffer(s,this.samples.length/s,this.audioFormat.samplesPerSec);for(let g=0;g<s;g++){let y=g;const p=v.getChannelData(g);for(let b=0;b<this.samples.length;b++,y+=s)p[b]=this.samples[y]}this.startTime<this.audioContext.currentTime&&(this.startTime=this.audioContext.currentTime),h.buffer=v,h.connect(this.gainNode),h.start(this.startTime),this.startTime+=v.duration,this.samples=new Float32Array}playAudio(s){var h=this;return c(function*(){null===h.audioContext&&h.createAudioContext();const u=h.audioContext.createBufferSource(),v=h.audioContext.destination;yield h.audioContext.decodeAudioData(s,g=>{u.buffer=g,u.connect(v),u.start(0)})})()}}},80774:(ge,_)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.PullAudioInputStreamCallback=void 0,_.PullAudioInputStreamCallback=class f{}},45026:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.PushAudioOutputStreamCallback=void 0,_.PushAudioOutputStreamCallback=class f{}},52513:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.SpeakerAudioDestination=void 0;const o=f(13155),C=f(50221),a=f(56495),T={[a.AudioFormatTag.PCM]:"audio/wav",[a.AudioFormatTag.MuLaw]:"audio/x-wav",[a.AudioFormatTag.MP3]:"audio/mpeg",[a.AudioFormatTag.OGG_OPUS]:"audio/ogg",[a.AudioFormatTag.WEBM_OPUS]:"audio/webm; codecs=opus",[a.AudioFormatTag.ALaw]:"audio/x-wav",[a.AudioFormatTag.FLAC]:"audio/flac",[a.AudioFormatTag.AMR_WB]:"audio/amr-wb",[a.AudioFormatTag.G722]:"audio/G722"};_.SpeakerAudioDestination=class s{constructor(u){this.privPlaybackStarted=!1,this.privAppendingToBuffer=!1,this.privMediaSourceOpened=!1,this.privBytesReceived=0,this.privId=u||o.createNoDashGuid(),this.privIsPaused=!1,this.privIsClosed=!1}id(){return this.privId}write(u,v,g){void 0!==this.privAudioBuffer?(this.privAudioBuffer.push(u),this.updateSourceBuffer().then(()=>{v&&v()},y=>{g&&g(y)})):void 0!==this.privAudioOutputStream&&(this.privAudioOutputStream.write(u),this.privBytesReceived+=u.byteLength)}close(u,v){if(this.privIsClosed=!0,void 0!==this.privSourceBuffer)this.handleSourceBufferUpdateEnd().then(()=>{u&&u()},g=>{v&&v(g)});else if(void 0!==this.privAudioOutputStream&&typeof window<"u")if(this.privFormat.formatTag!==a.AudioFormatTag.PCM&&this.privFormat.formatTag!==a.AudioFormatTag.MuLaw&&this.privFormat.formatTag!==a.AudioFormatTag.ALaw||!1!==this.privFormat.hasHeader){let g=new ArrayBuffer(this.privBytesReceived);this.privAudioOutputStream.read(g).then(()=>{g=this.privFormat.addHeader(g);const y=new Blob([g],{type:T[this.privFormat.formatTag]});this.privAudio.src=window.URL.createObjectURL(y),this.notifyPlayback().then(()=>{u&&u()},p=>{v&&v(p)})},y=>{v&&v(y)})}else console.warn("Play back is not supported for raw PCM, mulaw or alaw format without header."),this.onAudioEnd&&this.onAudioEnd(this);else this.onAudioEnd&&this.onAudioEnd(this)}set format(u){if(typeof AudioContext<"u"||typeof window<"u"&&typeof window.webkitAudioContext<"u"){this.privFormat=u;const v=T[this.privFormat.formatTag];void 0===v?console.warn(`Unknown mimeType for format ${a.AudioFormatTag[this.privFormat.formatTag]}; playback is not supported.`):typeof MediaSource<"u"&&MediaSource.isTypeSupported(v)?(this.privAudio=new Audio,this.privAudioBuffer=[],this.privMediaSource=new MediaSource,this.privAudio.src=URL.createObjectURL(this.privMediaSource),this.privAudio.load(),this.privMediaSource.onsourceopen=()=>{this.privMediaSourceOpened=!0,this.privMediaSource.duration=1800,this.privSourceBuffer=this.privMediaSource.addSourceBuffer(v),this.privSourceBuffer.onupdate=()=>{this.updateSourceBuffer().catch(g=>{o.Events.instance.onEvent(new o.BackgroundEvent(g))})},this.privSourceBuffer.onupdateend=()=>{this.handleSourceBufferUpdateEnd().catch(g=>{o.Events.instance.onEvent(new o.BackgroundEvent(g))})},this.privSourceBuffer.onupdatestart=()=>{this.privAppendingToBuffer=!1}},this.updateSourceBuffer().catch(g=>{o.Events.instance.onEvent(new o.BackgroundEvent(g))})):(console.warn(`Format ${a.AudioFormatTag[this.privFormat.formatTag]} could not be played by MSE, streaming playback is not enabled.`),this.privAudioOutputStream=new C.PullAudioOutputStreamImpl,this.privAudioOutputStream.format=this.privFormat,this.privAudio=new Audio)}}get volume(){var u,v;return null!==(u=null===(v=this.privAudio)||void 0===v?void 0:v.volume)&&void 0!==u?u:-1}set volume(u){this.privAudio&&(this.privAudio.volume=u)}mute(){this.privAudio&&(this.privAudio.muted=!0)}unmute(){this.privAudio&&(this.privAudio.muted=!1)}get isClosed(){return this.privIsClosed}get currentTime(){return void 0!==this.privAudio?this.privAudio.currentTime:-1}pause(){!this.privIsPaused&&void 0!==this.privAudio&&(this.privAudio.pause(),this.privIsPaused=!0)}resume(u,v){this.privIsPaused&&void 0!==this.privAudio&&(this.privAudio.play().then(()=>{u&&u()},g=>{v&&v(g)}),this.privIsPaused=!1)}get internalAudio(){return this.privAudio}updateSourceBuffer(){var u=this;return c(function*(){if(void 0!==u.privAudioBuffer&&u.privAudioBuffer.length>0&&u.sourceBufferAvailable()){u.privAppendingToBuffer=!0;const v=u.privAudioBuffer.shift();try{u.privSourceBuffer.appendBuffer(v)}catch{return u.privAudioBuffer.unshift(v),void console.log("buffer filled, pausing addition of binaries until space is made")}yield u.notifyPlayback()}else u.canEndStream()&&(yield u.handleSourceBufferUpdateEnd())})()}handleSourceBufferUpdateEnd(){var u=this;return c(function*(){u.canEndStream()&&u.sourceBufferAvailable()&&(u.privMediaSource.endOfStream(),yield u.notifyPlayback())})()}notifyPlayback(){var u=this;return c(function*(){!u.privPlaybackStarted&&void 0!==u.privAudio&&(u.privPlaybackStarted=!0,u.onAudioStart&&u.onAudioStart(u),u.privAudio.onended=()=>{u.onAudioEnd&&u.onAudioEnd(u)},u.privIsPaused||(yield u.privAudio.play()))})()}canEndStream(){return this.isClosed&&void 0!==this.privSourceBuffer&&0===this.privAudioBuffer.length&&this.privMediaSourceOpened&&!this.privAppendingToBuffer&&"open"===this.privMediaSource.readyState}sourceBufferAvailable(){return void 0!==this.privSourceBuffer&&!this.privSourceBuffer.updating}}},38206:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.AutoDetectSourceLanguageConfig=void 0;const c=f(67971),o=f(8804),C=f(15912),a=f(85739);class E{constructor(){this.privProperties=new C.PropertyCollection,this.privProperties.setProperty(C.PropertyId.SpeechServiceConnection_LanguageIdMode,"AtStart"),this.privLanguageIdMode=a.LanguageIdMode.AtStart}static fromOpenRange(){const s=new E;return s.properties.setProperty(C.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages,c.AutoDetectSourceLanguagesOpenRangeOptionName),s}static fromLanguages(s){o.Contracts.throwIfArrayEmptyOrWhitespace(s,"languages");const h=new E;return h.properties.setProperty(C.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages,s.join()),h}static fromSourceLanguageConfigs(s){if(s.length<1)throw new Error("Expected non-empty SourceLanguageConfig array.");const h=new E,u=[];return s.forEach(v=>{if(u.push(v.language),void 0!==v.endpointId&&""!==v.endpointId){const g=v.language+C.PropertyId.SpeechServiceConnection_EndpointId.toString();h.properties.setProperty(g,v.endpointId)}}),h.properties.setProperty(C.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages,u.join()),h}get properties(){return this.privProperties}set mode(s){s===a.LanguageIdMode.Continuous?(this.privProperties.setProperty(C.PropertyId.SpeechServiceConnection_RecognitionEndpointVersion,"2"),this.privProperties.setProperty(C.PropertyId.SpeechServiceConnection_LanguageIdMode,"Continuous")):(this.privProperties.setProperty(C.PropertyId.SpeechServiceConnection_RecognitionEndpointVersion,"1"),this.privProperties.setProperty(C.PropertyId.SpeechServiceConnection_LanguageIdMode,"AtStart")),this.privLanguageIdMode=s}}_.AutoDetectSourceLanguageConfig=E},81073:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.AutoDetectSourceLanguageResult=void 0;const c=f(8804);class o{constructor(a,E){c.Contracts.throwIfNullOrUndefined(a,"language"),c.Contracts.throwIfNullOrUndefined(E,"languageDetectionConfidence"),this.privLanguage=a,this.privLanguageDetectionConfidence=E}static fromResult(a){return new o(a.language,a.languageDetectionConfidence)}static fromConversationTranscriptionResult(a){return new o(a.language,a.languageDetectionConfidence)}get language(){return this.privLanguage}get languageDetectionConfidence(){return this.privLanguageDetectionConfidence}}_.AutoDetectSourceLanguageResult=o},11868:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.AvatarConfig=void 0;const c=f(8804),o=f(15912);_.AvatarConfig=class C{constructor(E,T,s){this.privCustomized=!1,c.Contracts.throwIfNullOrWhitespace(E,"character"),this.character=E,this.style=T,void 0===s&&(s=new o.AvatarVideoFormat),this.videoFormat=s}get customized(){return this.privCustomized}set customized(E){this.privCustomized=E}get backgroundColor(){return this.privBackgroundColor}set backgroundColor(E){this.privBackgroundColor=E}}},31789:(ge,_)=>{"use strict";var o;Object.defineProperty(_,"__esModule",{value:!0}),_.AvatarEventArgs=_.AvatarEventTypes=void 0,(o=_.AvatarEventTypes||(_.AvatarEventTypes={})).SwitchedToSpeaking="SwitchedToSpeaking",o.SwitchedToIdle="SwitchedToIdle",o.SessionClosed="SessionClosed",_.AvatarEventArgs=class c{constructor(C,a){this.privOffset=C,this.privDescription=a}get type(){return this.privType}get offset(){return this.privOffset}get description(){return this.privDescription}}},37534:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.AvatarSynthesizer=void 0;const o=f(432),C=f(67971),a=f(13155),E=f(42466),T=f(15912),s=f(8804),h=f(80661);_.AvatarSynthesizer=class u extends T.Synthesizer{constructor(g,y){super(g),s.Contracts.throwIfNullOrUndefined(y,"avatarConfig"),this.privConnectionFactory=new o.SpeechSynthesisConnectionFactory,this.privAvatarConfig=y,this.implCommonSynthesizeSetup()}implCommonSynthesizeSetup(){super.implCommonSynthesizeSetup(),this.privAdapter.audioOutputFormat=E.AudioOutputFormatImpl.fromSpeechSynthesisOutputFormat(T.SpeechSynthesisOutputFormat.Riff24Khz16BitMonoPcm)}startAvatarAsync(g){var y=this;return c(function*(){s.Contracts.throwIfNullOrUndefined(g,"peerConnection"),y.privIceServers=g.getConfiguration().iceServers,s.Contracts.throwIfNullOrUndefined(y.privIceServers,"Ice servers must be set.");const p=new a.Deferred;g.onicegatheringstatechange=()=>{a.Events.instance.onEvent(new a.PlatformEvent("peer connection: ice gathering state: "+g.iceGatheringState,a.EventType.Debug)),"complete"===g.iceGatheringState&&(a.Events.instance.onEvent(new a.PlatformEvent("peer connection: ice gathering complete.",a.EventType.Info)),p.resolve())},g.onicecandidate=O=>{O.candidate?a.Events.instance.onEvent(new a.PlatformEvent("peer connection: ice candidate: "+O.candidate.candidate,a.EventType.Debug)):(a.Events.instance.onEvent(new a.PlatformEvent("peer connection: ice candidate: complete",a.EventType.Debug)),p.resolve())},setTimeout(()=>{"complete"!==g.iceGatheringState&&(a.Events.instance.onEvent(new a.PlatformEvent("peer connection: ice gathering timeout.",a.EventType.Warning)),p.resolve())},2e3);const b=yield g.createOffer();yield g.setLocalDescription(b),yield p.promise,a.Events.instance.onEvent(new a.PlatformEvent("peer connection: got local SDP.",a.EventType.Info)),y.privProperties.setProperty(T.PropertyId.TalkingAvatarService_WebRTC_SDP,JSON.stringify(g.localDescription));const R=yield y.speak("",!1);if(R.reason!==T.ResultReason.SynthesizingAudioCompleted)return new T.SynthesisResult(R.resultId,R.reason,R.errorDetails,R.properties);const P=atob(R.properties.getProperty(T.PropertyId.TalkingAvatarService_WebRTC_SDP)),k=new RTCSessionDescription(JSON.parse(P));return yield g.setRemoteDescription(k),new T.SynthesisResult(R.resultId,R.reason,void 0,R.properties)})()}speakTextAsync(g){var y=this;return c(function*(){const p=yield y.speak(g,!1);return new T.SynthesisResult(p.resultId,p.reason,p.errorDetails,p.properties)})()}speakSsmlAsync(g){var y=this;return c(function*(){const p=yield y.speak(g,!0);return new T.SynthesisResult(p.resultId,p.reason,p.errorDetails,p.properties)})()}stopSpeakingAsync(){var g=this;return c(function*(){for(;g.synthesisRequestQueue.length()>0;)(yield g.synthesisRequestQueue.dequeue()).err("Synthesis is canceled by user.");return g.privAdapter.stopSpeaking()})()}stopAvatarAsync(){var g=this;return c(function*(){return s.Contracts.throwIfDisposed(g.privDisposed),g.dispose(!0)})()}close(){var g=this;return c(function*(){if(!g.privDisposed)return g.dispose(!0)})()}get iceServers(){return this.privIceServers}createSynthesisAdapter(g,y,p){return new C.AvatarSynthesisAdapter(g,y,p,this,this.privAvatarConfig)}createRestSynthesisAdapter(g,y){}createSynthesizerConfig(g){const y=super.createSynthesizerConfig(g);return y.avatarEnabled=!0,y}speak(g,y){var p=this;return c(function*(){const b=a.createNoDashGuid(),R=new a.Deferred;return p.synthesisRequestQueue.enqueue(new h.SynthesisRequest(b,g,y,P=>{R.resolve(P),p.privSynthesizing=!1,p.adapterSpeak()},P=>{R.reject(P),p.privSynthesizing=!1})),p.adapterSpeak(),R.promise})()}}},76604:(ge,_)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.AvatarVideoFormat=_.Coordinate=void 0,_.Coordinate=class f{constructor(C,a){this.x=C,this.y=a}},_.AvatarVideoFormat=class c{constructor(C="H264",a=2e6,E=1920,T=1080){this.codec=C,this.bitrate=a,this.width=E,this.height=T}setCropRange(C,a){this.cropRange={bottomRight:a,topLeft:C}}}},70510:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.AvatarWebRTCConnectionResult=void 0;const c=f(15912);_.AvatarWebRTCConnectionResult=class o extends c.SynthesisResult{constructor(a,E,T,s,h){super(E,T,s,h),this.privSDPAnswer=a}get SDPAnswer(){return this.privSDPAnswer}}},34566:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.BotFrameworkConfig=void 0;const c=f(8804),o=f(57110),C=f(15912);_.BotFrameworkConfig=class a extends o.DialogServiceConfigImpl{constructor(){super()}static fromSubscription(T,s,h){c.Contracts.throwIfNullOrWhitespace(T,"subscription"),c.Contracts.throwIfNullOrWhitespace(s,"region");const u=new o.DialogServiceConfigImpl;return u.setProperty(C.PropertyId.Conversation_DialogType,o.DialogServiceConfig.DialogTypes.BotFramework),u.setProperty(C.PropertyId.SpeechServiceConnection_Key,T),u.setProperty(C.PropertyId.SpeechServiceConnection_Region,s),h&&u.setProperty(C.PropertyId.Conversation_ApplicationId,h),u}static fromAuthorizationToken(T,s,h){c.Contracts.throwIfNullOrWhitespace(T,"authorizationToken"),c.Contracts.throwIfNullOrWhitespace(s,"region");const u=new o.DialogServiceConfigImpl;return u.setProperty(C.PropertyId.Conversation_DialogType,o.DialogServiceConfig.DialogTypes.BotFramework),u.setProperty(C.PropertyId.SpeechServiceAuthorization_Token,T),u.setProperty(C.PropertyId.SpeechServiceConnection_Region,s),h&&u.setProperty(C.PropertyId.Conversation_ApplicationId,h),u}static fromHost(T,s,h){c.Contracts.throwIfNullOrUndefined(T,"host");const u=T instanceof URL?T:new URL(`wss://${T}.convai.speech.azure.us`);c.Contracts.throwIfNullOrUndefined(u,"resolvedHost");const v=new o.DialogServiceConfigImpl;return v.setProperty(C.PropertyId.Conversation_DialogType,o.DialogServiceConfig.DialogTypes.BotFramework),v.setProperty(C.PropertyId.SpeechServiceConnection_Host,u.toString()),void 0!==s&&v.setProperty(C.PropertyId.SpeechServiceConnection_Key,s),v}static fromEndpoint(T,s){c.Contracts.throwIfNull(T,"endpoint");const h=new o.DialogServiceConfigImpl;return h.setProperty(C.PropertyId.Conversation_DialogType,o.DialogServiceConfig.DialogTypes.BotFramework),h.setProperty(C.PropertyId.SpeechServiceConnection_Endpoint,T.toString()),void 0!==s&&h.setProperty(C.PropertyId.SpeechServiceConnection_Key,s),h}}},38068:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.CancellationDetails=void 0;const c=f(67971),o=f(60693),C=f(15912);class a extends o.CancellationDetailsBase{constructor(T,s,h){super(T,s,h)}static fromResult(T){let s=C.CancellationReason.Error,h=C.CancellationErrorCode.NoError;if(T instanceof C.RecognitionResult&&T.json){const u=c.SimpleSpeechPhrase.fromJSON(T.json);s=c.EnumTranslation.implTranslateCancelResult(u.RecognitionStatus)}return T.properties&&(h=C.CancellationErrorCode[T.properties.getProperty(c.CancellationErrorCodePropertyName,C.CancellationErrorCode[C.CancellationErrorCode.NoError])]),new a(s,T.errorDetails||c.EnumTranslation.implTranslateErrorDetails(h),h)}}_.CancellationDetails=a},60693:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.CancellationDetailsBase=void 0,_.CancellationDetailsBase=class f{constructor(o,C,a){this.privReason=o,this.privErrorDetails=C,this.privErrorCode=a}get reason(){return this.privReason}get errorDetails(){return this.privErrorDetails}get ErrorCode(){return this.privErrorCode}}},53684:(ge,_)=>{"use strict";var c;Object.defineProperty(_,"__esModule",{value:!0}),_.CancellationErrorCode=void 0,(c=_.CancellationErrorCode||(_.CancellationErrorCode={}))[c.NoError=0]="NoError",c[c.AuthenticationFailure=1]="AuthenticationFailure",c[c.BadRequestParameters=2]="BadRequestParameters",c[c.TooManyRequests=3]="TooManyRequests",c[c.ConnectionFailure=4]="ConnectionFailure",c[c.ServiceTimeout=5]="ServiceTimeout",c[c.ServiceError=6]="ServiceError",c[c.RuntimeError=7]="RuntimeError",c[c.Forbidden=8]="Forbidden"},99986:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.CancellationEventArgsBase=void 0;const c=f(15912);_.CancellationEventArgsBase=class o extends c.RecognitionEventArgs{constructor(a,E,T,s,h){super(s,h),this.privReason=a,this.privErrorDetails=E,this.privErrorCode=T}get reason(){return this.privReason}get errorCode(){return this.privErrorCode}get errorDetails(){return this.privErrorDetails}}},55536:(ge,_)=>{"use strict";var c;Object.defineProperty(_,"__esModule",{value:!0}),_.CancellationReason=void 0,(c=_.CancellationReason||(_.CancellationReason={}))[c.Error=0]="Error",c[c.EndOfStream=1]="EndOfStream"},44163:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Connection=void 0;const c=f(67971),o=f(13155),C=f(66760),a=f(8804),E=f(15912);class T{static fromRecognizer(h){const u=h.internalData,v=new T;return v.privInternalData=u,v.setupEvents(),v}static fromSynthesizer(h){const u=h.internalData,v=new T;return v.privInternalData=u,v.setupEvents(),v}openConnection(h,u){o.marshalPromiseToCallbacks(this.privInternalData.connect(),h,u)}closeConnection(h,u){if(this.privInternalData instanceof c.SynthesisAdapterBase)throw new Error("Disconnecting a synthesizer's connection is currently not supported");o.marshalPromiseToCallbacks(this.privInternalData.disconnect(),h,u)}setMessageProperty(h,u,v){if(a.Contracts.throwIfNullOrWhitespace(u,"propertyName"),this.privInternalData instanceof c.ServiceRecognizerBase){if("speech.context"!==h.toLowerCase())throw new Error("Only speech.context message property sets are currently supported for recognizer");this.privInternalData.speechContext.setSection(u,v)}else if(this.privInternalData instanceof c.SynthesisAdapterBase){if("synthesis.context"!==h.toLowerCase())throw new Error("Only synthesis.context message property sets are currently supported for synthesizer");this.privInternalData.synthesisContext.setSection(u,v)}}sendMessageAsync(h,u,v,g){o.marshalPromiseToCallbacks(this.privInternalData.sendNetworkMessage(h,u),v,g)}close(){}setupEvents(){this.privEventListener=this.privInternalData.connectionEvents.attach(h=>{"ConnectionEstablishedEvent"===h.name?this.connected&&this.connected(new E.ConnectionEventArgs(h.connectionId)):"ConnectionClosedEvent"===h.name?this.disconnected&&this.disconnected(new E.ConnectionEventArgs(h.connectionId)):"ConnectionMessageSentEvent"===h.name?this.messageSent&&this.messageSent(new E.ConnectionMessageEventArgs(new C.ConnectionMessageImpl(h.message))):"ConnectionMessageReceivedEvent"===h.name&&this.messageReceived&&this.messageReceived(new E.ConnectionMessageEventArgs(new C.ConnectionMessageImpl(h.message)))}),this.privServiceEventListener=this.privInternalData.serviceEvents.attach(h=>{this.receivedServiceMessage&&this.receivedServiceMessage(new E.ServiceEventArgs(h.jsonString,h.name))})}}_.Connection=T},27610:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConnectionEventArgs=void 0;const c=f(15912);_.ConnectionEventArgs=class o extends c.SessionEventArgs{}},66760:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConnectionMessageImpl=_.ConnectionMessage=void 0;const c=f(75299),o=f(13155),C=f(88826),a=f(56047);_.ConnectionMessage=class E{},_.ConnectionMessageImpl=class T{constructor(h){this.privConnectionMessage=h,this.privProperties=new C.PropertyCollection,this.privConnectionMessage.headers[c.HeaderNames.ConnectionId]&&this.privProperties.setProperty(a.PropertyId.Speech_SessionId,this.privConnectionMessage.headers[c.HeaderNames.ConnectionId]),Object.keys(this.privConnectionMessage.headers).forEach(u=>{this.privProperties.setProperty(u,this.privConnectionMessage.headers[u])})}get path(){return this.privConnectionMessage.headers[Object.keys(this.privConnectionMessage.headers).find(h=>h.toLowerCase()==="path".toLowerCase())]}get isTextMessage(){return this.privConnectionMessage.messageType===o.MessageType.Text}get isBinaryMessage(){return this.privConnectionMessage.messageType===o.MessageType.Binary}get TextMessage(){return this.privConnectionMessage.textBody}get binaryMessage(){return this.privConnectionMessage.binaryBody}get properties(){return this.privProperties}toString(){return""}}},53991:(ge,_)=>{"use strict";
vendor: 5,325 bytes, line 1
1Object.defineProperty(_,"__esModule",{value:!0}),_.ConnectionMessageEventArgs=void 0,_.ConnectionMessageEventArgs=class f{constructor(o){this.privConnectionMessage=o}get message(){return this.privConnectionMessage}toString(){return"Message: "+this.privConnectionMessage.toString()}}},8804:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Contracts=void 0;class f{static throwIfNullOrUndefined(o,C){if(null==o)throw new Error("throwIfNullOrUndefined:"+C)}static throwIfNull(o,C){if(null===o)throw new Error("throwIfNull:"+C)}static throwIfNullOrWhitespace(o,C){if(f.throwIfNullOrUndefined(o,C),(""+o).trim().length<1)throw new Error("throwIfNullOrWhitespace:"+C)}static throwIfNullOrTooLong(o,C,a){if(f.throwIfNullOrUndefined(o,C),(""+o).length>a)throw new Error("throwIfNullOrTooLong:"+C+" (more than "+a.toString()+" characters)")}static throwIfNullOrTooShort(o,C,a){if(f.throwIfNullOrUndefined(o,C),(""+o).length<a)throw new Error("throwIfNullOrTooShort:"+C+" (less than "+a.toString()+" characters)")}static throwIfDisposed(o){if(o)throw new Error("the object is already disposed")}static throwIfArrayEmptyOrWhitespace(o,C){if(f.throwIfNullOrUndefined(o,C),0===o.length)throw new Error("throwIfArrayEmptyOrWhitespace:"+C);for(const a of o)f.throwIfNullOrWhitespace(a,C)}static throwIfFileDoesNotExist(o,C){f.throwIfNullOrWhitespace(o,C)}static throwIfNotUndefined(o,C){if(void 0!==o)throw new Error("throwIfNotUndefined:"+C)}}_.Contracts=f},89244:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationTranscriptionCanceledEventArgs=void 0;const c=f(99986);_.ConversationTranscriptionCanceledEventArgs=class o extends c.CancellationEventArgsBase{}},69380:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.CustomCommandsConfig=void 0;const c=f(8804),o=f(57110),C=f(15912);_.CustomCommandsConfig=class a extends o.DialogServiceConfigImpl{constructor(){super()}static fromSubscription(T,s,h){c.Contracts.throwIfNullOrWhitespace(T,"applicationId"),c.Contracts.throwIfNullOrWhitespace(s,"subscription"),c.Contracts.throwIfNullOrWhitespace(h,"region");const u=new o.DialogServiceConfigImpl;return u.setProperty(C.PropertyId.Conversation_DialogType,o.DialogServiceConfig.DialogTypes.CustomCommands),u.setProperty(C.PropertyId.Conversation_ApplicationId,T),u.setProperty(C.PropertyId.SpeechServiceConnection_Key,s),u.setProperty(C.PropertyId.SpeechServiceConnection_Region,h),u}static fromAuthorizationToken(T,s,h){c.Contracts.throwIfNullOrWhitespace(T,"applicationId"),c.Contracts.throwIfNullOrWhitespace(s,"authorizationToken"),c.Contracts.throwIfNullOrWhitespace(h,"region");const u=new o.DialogServiceConfigImpl;return u.setProperty(C.PropertyId.Conversation_DialogType,o.DialogServiceConfig.DialogTypes.CustomCommands),u.setProperty(C.PropertyId.Conversation_ApplicationId,T),u.setProperty(C.PropertyId.SpeechServiceAuthorization_Token,s),u.setProperty(C.PropertyId.SpeechServiceConnection_Region,h),u}set applicationId(T){c.Contracts.throwIfNullOrWhitespace(T,"value"),this.setProperty(C.PropertyId.Conversation_ApplicationId,T)}get applicationId(){return this.getProperty(C.PropertyId.Conversation_ApplicationId)}}},53303:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Diagnostics=void 0;const c=f(20709),o=f(13155);class C{static SetLoggingLevel(E){this.privListener=new c.ConsoleLoggingListener(E),o.Events.instance.attachConsoleListener(this.privListener)}static StartConsoleOutput(){this.privListener&&(this.privListener.enableConsoleOutput=!0)}static StopConsoleOutput(){this.privListener&&(this.privListener.enableConsoleOutput=!1)}static SetLogOutputPath(E){if(!(typeof window>"u"))throw new Error("File system logging not available in browser.");this.privListener&&(this.privListener.logPath=E)}static set onLogOutput(E){this.privListener&&(this.privListener.logCallback=E)}}_.Diagnostics=C,C.privListener=void 0},57110:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.DialogServiceConfigImpl=_.DialogServiceConfig=void 0;const c=f(8804),o=f(15912);class C{constructor(){}set applicationId(T){}static get DialogTypes(){return{BotFramework:"bot_framework",CustomCommands:"custom_commands"}}}_.DialogServiceConfig=C,_.DialogServiceConfigImpl=class a extends C{constructor(){super(),this.privSpeechConfig=new o.SpeechConfigImpl}get properties(){return this.privSpeechConfig.properties}get speechRecognitionLanguage(){return this.privSpeechConfig.speechRecognitionLanguage}set speechRecognitionLanguage(T){c.Contracts.throwIfNullOrWhitespace(T,"value"),this.privSpeechConfig.speechRecognitionLanguage=T}get outputFormat(){return this.privSpeechConfig.outputFormat}set outputFormat(T){this.privSpeechConfig.outputFormat=T}setProperty(T,s){this.privSpeechConfig.setProperty(T,s)}getProperty(T,s){return this.privSpeechConfig.getProperty(T)}setProxy(T,s,h,u){this.setProperty(o.PropertyId.SpeechServiceConnection_ProxyHostName,T),this.setProperty(o.PropertyId.SpeechServiceConnection_ProxyPort,`${s}`),h&&this.setProperty(o.PropertyId.SpeechServiceConnection_ProxyUserName,h),u&&this.setProperty(o.PropertyId.SpeechServiceConnection_ProxyPassword,u)}setServiceProperty(T,s,h){this.privSpeechConfig.setServiceProperty(T,s)}close(){}}},97109:(ge,_,f)=>{"use strict";var c=f(29293).default;
1Object.defineProperty(_,"__esModule",{value:!0}),_.DialogServiceConnector=void 0;const o=f(88801),C=f(67971),a=f(13155),E=f(8804),T=f(15912),s=f(56047);_.DialogServiceConnector=class h extends T.Recognizer{constructor(v,g){const y=v;E.Contracts.throwIfNull(v,"dialogConfig"),super(g,y.properties,new o.DialogConnectionFactory),this.isTurnComplete=!0,this.privIsDisposed=!1,this.privProperties=y.properties.clone();const p=this.buildAgentConfig();this.privReco.agentConfig.set(p)}connect(v,g){a.marshalPromiseToCallbacks(this.privReco.connect(),v,g)}disconnect(v,g){a.marshalPromiseToCallbacks(this.privReco.disconnect(),v,g)}get authorizationToken(){return this.properties.getProperty(s.PropertyId.SpeechServiceAuthorization_Token)}set authorizationToken(v){E.Contracts.throwIfNullOrWhitespace(v,"token"),this.properties.setProperty(s.PropertyId.SpeechServiceAuthorization_Token,v)}get properties(){return this.privProperties}get speechActivityTemplate(){return this.properties.getProperty(s.PropertyId.Conversation_Speech_Activity_Template)}set speechActivityTemplate(v){this.properties.setProperty(s.PropertyId.Conversation_Speech_Activity_Template,v)}listenOnceAsync(v,g){var y=this;if(this.isTurnComplete){E.Contracts.throwIfDisposed(this.privIsDisposed);const b=function(){var R=c(function*(){yield y.privReco.connect(),yield y.implRecognizerStop(),y.isTurnComplete=!1;const P=new a.Deferred;yield y.privReco.recognize(C.RecognitionMode.Conversation,P.resolve,P.reject);const k=yield P.promise;return yield y.implRecognizerStop(),k});return function(){return R.apply(this,arguments)}}()();b.catch(()=>{this.dispose(!0).catch(()=>{})}),a.marshalPromiseToCallbacks(b.finally(()=>{this.isTurnComplete=!0}),v,g)}}sendActivityAsync(v,g,y){a.marshalPromiseToCallbacks(this.privReco.sendMessage(v),g,y)}close(v,g){E.Contracts.throwIfDisposed(this.privIsDisposed),a.marshalPromiseToCallbacks(this.dispose(!0),v,g)}dispose(v){var g=()=>super.dispose,y=this;return c(function*(){y.privIsDisposed||v&&(y.privIsDisposed=!0,yield y.implRecognizerStop(),yield g().call(y,v))})()}createRecognizerConfig(v){return new C.RecognizerConfig(v,this.privProperties)}createServiceRecognizer(v,g,y,p){return new C.DialogServiceAdapter(v,g,y,p,this)}buildAgentConfig(){return{botInfo:{commType:this.properties.getProperty("Conversation_Communication_Type","Default"),commandsCulture:void 0,connectionId:this.properties.getProperty(s.PropertyId.Conversation_Agent_Connection_Id),conversationId:this.properties.getProperty(s.PropertyId.Conversation_Conversation_Id,void 0),fromId:this.properties.getProperty(s.PropertyId.Conversation_From_Id,void 0),ttsAudioFormat:this.properties.getProperty(s.PropertyId.SpeechServiceConnection_SynthOutputFormat,void 0)},version:.2}}}},15912:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0});var c=f(76686);Object.defineProperty(_,"AudioConfig",{enumerable:!0,get:function(){return c.AudioConfig}});var o=f(56495);Object.defineProperty(_,"AudioStreamFormat",{enumerable:!0,get:function(){return o.AudioStreamFormat}}),Object.defineProperty(_,"AudioFormatTag",{enumerable:!0,get:function(){return o.AudioFormatTag}});var C=f(15126);Object.defineProperty(_,"AudioInputStream",{enumerable:!0,get:function(){return C.AudioInputStream}}),Object.defineProperty(_,"PullAudioInputStream",{enumerable:!0,get:function(){return C.PullAudioInputStream}}),Object.defineProperty(_,"PushAudioInputStream",{enumerable:!0,get:function(){return C.PushAudioInputStream}});var a=f(50221);Object.defineProperty(_,"AudioOutputStream",{enumerable:!0,get:function(){return a.AudioOutputStream}}),Object.defineProperty(_,"PullAudioOutputStream",{enumerable:!0,get:function(){return a.PullAudioOutputStream}}),Object.defineProperty(_,"PushAudioOutputStream",{enumerable:!0,get:function(){return a.PushAudioOutputStream}});var E=f(55536);Object.defineProperty(_,"CancellationReason",{enumerable:!0,get:function(){return E.CancellationReason}});var T=f(80774);Object.defineProperty(_,"PullAudioInputStreamCallback",{enumerable:!0,get:function(){return T.PullAudioInputStreamCallback}});var s=f(45026);Object.defineProperty(_,"PushAudioOutputStreamCallback",{enumerable:!0,get:function(){return s.PushAudioOutputStreamCallback}});var h=f(1300);Object.defineProperty(_,"KeywordRecognitionModel",{enumerable:!0,get:function(){return h.KeywordRecognitionModel}});var u=f(70254);Object.defineProperty(_,"SessionEventArgs",{enumerable:!0,get:function(){return u.SessionEventArgs}});var v=f(8663);Object.defineProperty(_,"RecognitionEventArgs",{enumerable:!0,get:function(){return v.RecognitionEventArgs}});var g=f(3897);Object.defineProperty(_,"OutputFormat",{enumerable:!0,get:function(){return g.OutputFormat}});var y=f(74353);Object.defineProperty(_,"IntentRecognitionEventArgs",{enumerable:!0,get:function(){return y.IntentRecognitionEventArgs}});var p=f(76845);Object.defineProperty(_,"RecognitionResult",{enumerable:!0,get:function(){return p.RecognitionResult}});var b=f(80495);Object.defineProperty(_,"SpeechRecognitionResult",{enumerable:!0,get:function(){return b.SpeechRecognitionResult}});var R=f(22223);Object.defineProperty(_,"IntentRecognitionResult",{enumerable:!0,get:function(){return R.IntentRecognitionResult}});var P=f(15838);Object.defineProperty(_,"LanguageUnderstandingModel",{enumerable:!0,get:function(){return P.LanguageUnderstandingModel}});var k=f(73905);Object.defineProperty(_,"SpeechRecognitionEventArgs",{enumerable:!0,get:function(){return k.SpeechRecognitionEventArgs}}),Object.defineProperty(_,"ConversationTranscriptionEventArgs",{enumerable:!0,get:function(){return k.ConversationTranscriptionEventArgs}}),Object.defineProperty(_,"MeetingTranscriptionEventArgs",{enumerable:!0,get:function(){return k.MeetingTranscriptionEventArgs}});var O=f(63040);Object.defineProperty(_,"SpeechRecognitionCanceledEventArgs",{enumerable:!0,get:function(){return O.SpeechRecognitionCanceledEventArgs}});var V=f(53908);Object.defineProperty(_,"TranslationRecognitionEventArgs",{enumerable:!0,get:function(){return V.TranslationRecognitionEventArgs}});var K=f(86935);Object.defineProperty(_,"TranslationSynthesisEventArgs",{enumerable:!0,get:function(){return K.TranslationSynthesisEventArgs}});var z=f(57624);Object.defineProperty(_,"TranslationRecognitionResult",{enumerable:!0,get:function(){return z.TranslationRecognitionResult}});var H=f(32717);Object.defineProperty(_,"TranslationSynthesisResult",{enumerable:!0,get:function(){return H.TranslationSynthesisResult}});var x=f(3362);Object.defineProperty(_,"ResultReason",{enumerable:!0,get:function(){return x.ResultReason}});var q=f(19275);Object.defineProperty(_,"SpeechConfig",{enumerable:!0,get:function(){return q.SpeechConfig}}),Object.defineProperty(_,"SpeechConfigImpl",{enumerable:!0,get:function(){return q.SpeechConfigImpl}});var Z=f(46444);Object.defineProperty(_,"SpeechTranslationConfig",{enumerable:!0,get:function(){return Z.SpeechTranslationConfig}}),Object.defineProperty(_,"SpeechTranslationConfigImpl",{enumerable:!0,get:function(){return Z.SpeechTranslationConfigImpl}});var de=f(88826);Object.defineProperty(_,"PropertyCollection",{enumerable:!0,get:function(){return de.PropertyCollection}});var ee=f(56047);Object.defineProperty(_,"PropertyId",{enumerable:!0,get:function(){return ee.PropertyId}});var Y=f(29533);Object.defineProperty(_,"Recognizer",{enumerable:!0,get:function(){return Y.Recognizer}});var ae=f(81731);Object.defineProperty(_,"SpeechRecognizer",{enumerable:!0,get:function(){return ae.SpeechRecognizer}});var fe=f(49155);Object.defineProperty(_,"IntentRecognizer",{enumerable:!0,get:function(){return fe.IntentRecognizer}});var ne=f(33960);Object.defineProperty(_,"VoiceProfileType",{enumerable:!0,get:function(){return ne.VoiceProfileType}});var ce=f(61738);Object.defineProperty(_,"TranslationRecognizer",{enumerable:!0,get:function(){return ce.TranslationRecognizer}});var me=f(18123);Object.defineProperty(_,"Translations",{enumerable:!0,get:function(){return me.Translations}});var re=f(55751);Object.defineProperty(_,"NoMatchReason",{enumerable:!0,get:function(){return re.NoMatchReason}});var $=f(61813);Object.defineProperty(_,"NoMatchDetails",{enumerable:!0,get:function(){return $.NoMatchDetails}});var X=f(90577);Object.defineProperty(_,"TranslationRecognitionCanceledEventArgs",{enumerable:!0,get:function(){return X.TranslationRecognitionCanceledEventArgs}});var M=f(6912);Object.defineProperty(_,"IntentRecognitionCanceledEventArgs",{enumerable:!0,get:function(){return M.IntentRecognitionCanceledEventArgs}});var N=f(60693);
1Object.defineProperty(_,"CancellationDetailsBase",{enumerable:!0,get:function(){return N.CancellationDetailsBase}});var G=f(38068);Object.defineProperty(_,"CancellationDetails",{enumerable:!0,get:function(){return G.CancellationDetails}});var ue=f(53684);Object.defineProperty(_,"CancellationErrorCode",{enumerable:!0,get:function(){return ue.CancellationErrorCode}});var ve=f(27610);Object.defineProperty(_,"ConnectionEventArgs",{enumerable:!0,get:function(){return ve.ConnectionEventArgs}});var we=f(36827);Object.defineProperty(_,"ServiceEventArgs",{enumerable:!0,get:function(){return we.ServiceEventArgs}});var Re=f(44163);Object.defineProperty(_,"Connection",{enumerable:!0,get:function(){return Re.Connection}});var et=f(33649);Object.defineProperty(_,"PhraseListGrammar",{enumerable:!0,get:function(){return et.PhraseListGrammar}});var at=f(57110);Object.defineProperty(_,"DialogServiceConfig",{enumerable:!0,get:function(){return at.DialogServiceConfig}});var Pt=f(34566);Object.defineProperty(_,"BotFrameworkConfig",{enumerable:!0,get:function(){return Pt.BotFrameworkConfig}});var At=f(69380);Object.defineProperty(_,"CustomCommandsConfig",{enumerable:!0,get:function(){return At.CustomCommandsConfig}});var It=f(97109);Object.defineProperty(_,"DialogServiceConnector",{enumerable:!0,get:function(){return It.DialogServiceConnector}});var qt=f(71720);Object.defineProperty(_,"ActivityReceivedEventArgs",{enumerable:!0,get:function(){return qt.ActivityReceivedEventArgs}});var St=f(53132);Object.defineProperty(_,"TurnStatusReceivedEventArgs",{enumerable:!0,get:function(){return St.TurnStatusReceivedEventArgs}});var lt=f(99242);Object.defineProperty(_,"ServicePropertyChannel",{enumerable:!0,get:function(){return lt.ServicePropertyChannel}});var yt=f(44238);Object.defineProperty(_,"ProfanityOption",{enumerable:!0,get:function(){return yt.ProfanityOption}});var Ft=f(29318);Object.defineProperty(_,"BaseAudioPlayer",{enumerable:!0,get:function(){return Ft.BaseAudioPlayer}});var rt=f(53991);Object.defineProperty(_,"ConnectionMessageEventArgs",{enumerable:!0,get:function(){return rt.ConnectionMessageEventArgs}});var mt=f(66760);Object.defineProperty(_,"ConnectionMessage",{enumerable:!0,get:function(){return mt.ConnectionMessage}});var Mt=f(65552);Object.defineProperty(_,"VoiceProfile",{enumerable:!0,get:function(){return Mt.VoiceProfile}});var Vt=f(30741);Object.defineProperty(_,"VoiceProfileEnrollmentResult",{enumerable:!0,get:function(){return Vt.VoiceProfileEnrollmentResult}}),Object.defineProperty(_,"VoiceProfileEnrollmentCancellationDetails",{enumerable:!0,get:function(){return Vt.VoiceProfileEnrollmentCancellationDetails}});var Lt=f(10933);Object.defineProperty(_,"VoiceProfileResult",{enumerable:!0,get:function(){return Lt.VoiceProfileResult}}),Object.defineProperty(_,"VoiceProfileCancellationDetails",{enumerable:!0,get:function(){return Lt.VoiceProfileCancellationDetails}});var $n=f(97188);Object.defineProperty(_,"VoiceProfilePhraseResult",{enumerable:!0,get:function(){return $n.VoiceProfilePhraseResult}});var Tn=f(80035);Object.defineProperty(_,"VoiceProfileClient",{enumerable:!0,get:function(){return Tn.VoiceProfileClient}});var An=f(79024);Object.defineProperty(_,"SpeakerRecognizer",{enumerable:!0,get:function(){return An.SpeakerRecognizer}});var jn=f(41567);Object.defineProperty(_,"SpeakerIdentificationModel",{enumerable:!0,get:function(){return jn.SpeakerIdentificationModel}});var or=f(5784);Object.defineProperty(_,"SpeakerVerificationModel",{enumerable:!0,get:function(){return or.SpeakerVerificationModel}});var br=f(38206);Object.defineProperty(_,"AutoDetectSourceLanguageConfig",{enumerable:!0,get:function(){return br.AutoDetectSourceLanguageConfig}});var Fr=f(81073);Object.defineProperty(_,"AutoDetectSourceLanguageResult",{enumerable:!0,get:function(){return Fr.AutoDetectSourceLanguageResult}});var On=f(33886);Object.defineProperty(_,"SourceLanguageConfig",{enumerable:!0,get:function(){return On.SourceLanguageConfig}});var sr=f(43482);Object.defineProperty(_,"SpeakerRecognitionResult",{enumerable:!0,get:function(){return sr.SpeakerRecognitionResult}}),Object.defineProperty(_,"SpeakerRecognitionResultType",{enumerable:!0,get:function(){return sr.SpeakerRecognitionResultType}}
1),Object.defineProperty(_,"SpeakerRecognitionCancellationDetails",{enumerable:!0,get:function(){return sr.SpeakerRecognitionCancellationDetails}});var ur=f(88871);Object.defineProperty(_,"Conversation",{enumerable:!0,get:function(){return ur.Conversation}}),Object.defineProperty(_,"ConversationExpirationEventArgs",{enumerable:!0,get:function(){return ur.ConversationExpirationEventArgs}}),Object.defineProperty(_,"ConversationParticipantsChangedEventArgs",{enumerable:!0,get:function(){return ur.ConversationParticipantsChangedEventArgs}}),Object.defineProperty(_,"ConversationTranslationCanceledEventArgs",{enumerable:!0,get:function(){return ur.ConversationTranslationCanceledEventArgs}}),Object.defineProperty(_,"ConversationTranslationEventArgs",{enumerable:!0,get:function(){return ur.ConversationTranslationEventArgs}}),Object.defineProperty(_,"ConversationTranslationResult",{enumerable:!0,get:function(){return ur.ConversationTranslationResult}}),Object.defineProperty(_,"ConversationTranslator",{enumerable:!0,get:function(){return ur.ConversationTranslator}}),Object.defineProperty(_,"ConversationTranscriber",{enumerable:!0,get:function(){return ur.ConversationTranscriber}}),Object.defineProperty(_,"ConversationTranscriptionResult",{enumerable:!0,get:function(){return ur.ConversationTranscriptionResult}}),Object.defineProperty(_,"Meeting",{enumerable:!0,get:function(){return ur.Meeting}}),Object.defineProperty(_,"MeetingTranscriber",{enumerable:!0,get:function(){return ur.MeetingTranscriber}}),Object.defineProperty(_,"Participant",{enumerable:!0,get:function(){return ur.Participant}}),Object.defineProperty(_,"ParticipantChangedReason",{enumerable:!0,get:function(){return ur.ParticipantChangedReason}}),Object.defineProperty(_,"User",{enumerable:!0,get:function(){return ur.User}});var tr=f(80661);Object.defineProperty(_,"Synthesizer",{enumerable:!0,get:function(){return tr.Synthesizer}});var Lr=f(80589);Object.defineProperty(_,"SpeechSynthesisOutputFormat",{enumerable:!0,get:function(){return Lr.SpeechSynthesisOutputFormat}});var Br=f(36855);Object.defineProperty(_,"SpeechSynthesizer",{enumerable:!0,get:function(){return Br.SpeechSynthesizer}});var Gr=f(66844);Object.defineProperty(_,"SynthesisResult",{enumerable:!0,get:function(){return Gr.SynthesisResult}});var qr=f(36154);Object.defineProperty(_,"SpeechSynthesisResult",{enumerable:!0,get:function(){return qr.SpeechSynthesisResult}});var _r=f(8390);Object.defineProperty(_,"SpeechSynthesisEventArgs",{enumerable:!0,get:function(){return _r.SpeechSynthesisEventArgs}});var hr=f(74896);Object.defineProperty(_,"SpeechSynthesisWordBoundaryEventArgs",{enumerable:!0,get:function(){return hr.SpeechSynthesisWordBoundaryEventArgs}});var Nr=f(65726);Object.defineProperty(_,"SpeechSynthesisBookmarkEventArgs",{enumerable:!0,get:function(){return Nr.SpeechSynthesisBookmarkEventArgs}});var $r=f(1879);Object.defineProperty(_,"SpeechSynthesisVisemeEventArgs",{enumerable:!0,get:function(){return $r.SpeechSynthesisVisemeEventArgs}});var Xr=f(20489);Object.defineProperty(_,"SpeechSynthesisBoundaryType",{enumerable:!0,get:function(){return Xr.SpeechSynthesisBoundaryType}});var Rt=f(40887);Object.defineProperty(_,"SynthesisVoicesResult",{enumerable:!0,get:function(){return Rt.SynthesisVoicesResult}});var zt=f(71745);Object.defineProperty(_,"VoiceInfo",{enumerable:!0,get:function(){return zt.VoiceInfo}});var vn=f(52513);Object.defineProperty(_,"SpeakerAudioDestination",{enumerable:!0,get:function(){return vn.SpeakerAudioDestination}});var ln=f(89244);Object.defineProperty(_,"ConversationTranscriptionCanceledEventArgs",{enumerable:!0,get:function(){return ln.ConversationTranscriptionCanceledEventArgs}});var Sn=f(24326);Object.defineProperty(_,"MeetingTranscriptionCanceledEventArgs",{enumerable:!0,get:function(){return Sn.MeetingTranscriptionCanceledEventArgs}});var dr=f(40223);Object.defineProperty(_,"PronunciationAssessmentGradingSystem",{enumerable:!0,get:function(){return dr.PronunciationAssessmentGradingSystem}});var En=f(36306);Object.defineProperty(_,"PronunciationAssessmentGranularity",{enumerable:!0,get:function(){return En.PronunciationAssessmentGranularity}});var tn=f(45778);Object.defineProperty(_,"PronunciationAssessmentConfig",{enumerable:!0,get:function(){return tn.PronunciationAssessmentConfig}});var bn=f(14613);Object.defineProperty(_,"PronunciationAssessmentResult",{enumerable:!0,get:function(){return bn.PronunciationAssessmentResult}});var Cn=f(85739);Object.defineProperty(_,"LanguageIdMode",{enumerable:!0,get:function(){return Cn.LanguageIdMode}});var Kn=f(11868);Object.defineProperty(_,"AvatarConfig",{enumerable:!0,get:function(){return Kn.AvatarConfig}});var Xn=f(31789);Object.defineProperty(_,"AvatarEventArgs",{enumerable:!0,get:function(){return Xn.AvatarEventArgs}});var nr=f(37534);Object.defineProperty(_,"AvatarSynthesizer",{enumerable:!0,get:function(){return nr.AvatarSynthesizer}});var fn=f(76604);Object.defineProperty(_,"AvatarVideoFormat",{enumerable:!0,get:function(){return fn.AvatarVideoFormat}}),Object.defineProperty(_,"Coordinate",{enumerable:!0,get:function(){return fn.Coordinate}});var fr=f(70510);Object.defineProperty(_,"AvatarWebRTCConnectionResult",{enumerable:!0,get:function(){return fr.AvatarWebRTCConnectionResult}});var lr=f(53303);Object.defineProperty(_,"Diagnostics",{enumerable:!0,get:function(){return lr.Diagnostics}});var ar=f(88603);Object.defineProperty(_,"LogLevel",{enumerable:!0,get:function(){return ar.LogLevel}})},6912:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.IntentRecognitionCanceledEventArgs=void 0;const c=f(15912);_.IntentRecognitionCanceledEventArgs=class o extends c.IntentRecognitionEventArgs{constructor(a,E,T,s,h,u){super(s,h,u),this.privReason=a,this.privErrorDetails=E,this.privErrorCode=T}get reason(){return this.privReason}get errorCode(){return this.privErrorCode}get errorDetails(){return this.privErrorDetails}}},74353:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.IntentRecognitionEventArgs=void 0;const c=f(15912);_.IntentRecognitionEventArgs=class o extends c.RecognitionEventArgs{constructor(a,E,T){super(E,T),this.privResult=a}get result(){return this.privResult}}},22223:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.IntentRecognitionResult=void 0;const c=f(15912);_.IntentRecognitionResult=class o extends c.SpeechRecognitionResult{constructor(a,E,T,s,h,u,v,g,y,p,b){super(E,T,s,h,u,v,g,void 0,y,p,b),this.privIntentId=a}get intentId(){return this.privIntentId}}},49155:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.IntentRecognizer=void 0;const o=f(67971),C=f(13155),a=f(8804),E=f(15912);_.IntentRecognizer=class T extends E.Recognizer{constructor(h,u){a.Contracts.throwIfNullOrUndefined(h,"speechConfig");const v=h;a.Contracts.throwIfNullOrUndefined(v,"speechConfig"),super(u,v.properties,new o.IntentConnectionFactory),this.privAddedIntents=[],this.privAddedLmIntents={},this.privDisposedIntentRecognizer=!1,this.privProperties=v.properties,a.Contracts.throwIfNullOrWhitespace(this.properties.getProperty(E.PropertyId.SpeechServiceConnection_RecoLanguage),E.PropertyId[E.PropertyId.SpeechServiceConnection_RecoLanguage])}get speechRecognitionLanguage(){return a.Contracts.throwIfDisposed(this.privDisposedIntentRecognizer),this.properties.getProperty(E.PropertyId.SpeechServiceConnection_RecoLanguage)}get authorizationToken(){return this.properties.getProperty(E.PropertyId.SpeechServiceAuthorization_Token)}set authorizationToken(h){this.properties.setProperty(E.PropertyId.SpeechServiceAuthorization_Token,h)}get properties(){return this.privProperties}recognizeOnceAsync(h,u){if(a.Contracts.throwIfDisposed(this.privDisposedIntentRecognizer),0!==Object.keys(this.privAddedLmIntents).length||void 0!==this.privUmbrellaIntent){const v=this.buildSpeechContext();this.privReco.speechContext.setSection("intent",v.Intent),this.privReco.dynamicGrammar.addReferenceGrammar(v.ReferenceGrammars),this.privReco.setIntents(this.privAddedLmIntents,this.privUmbrellaIntent)}C.marshalPromiseToCallbacks(this.recognizeOnceAsyncImpl(o.RecognitionMode.Interactive),h,u)}startContinuousRecognitionAsync(h,u){if(0!==Object.keys(this.privAddedLmIntents).length||void 0!==this.privUmbrellaIntent){const v=this.buildSpeechContext();this.privReco.speechContext.setSection("intent",v.Intent),this.privReco.dynamicGrammar.addReferenceGrammar(v.ReferenceGrammars),this.privReco.setIntents(this.privAddedLmIntents,this.privUmbrellaIntent)}C.marshalPromiseToCallbacks(this.startContinuousRecognitionAsyncImpl(o.RecognitionMode.Conversation),h,u)}stopContinuousRecognitionAsync(h,u){C.marshalPromiseToCallbacks(this.stopContinuousRecognitionAsyncImpl(),h,u)}startKeywordRecognitionAsync(h,u,v){a.Contracts.throwIfNull(h,"model"),v&&v("Not yet implemented.")}stopKeywordRecognitionAsync(h,u){if(h)try{h()}catch(v){u&&u(v)}}addIntent(h,u){a.Contracts.throwIfDisposed(this.privDisposedIntentRecognizer),a.Contracts.throwIfNullOrWhitespace(u,"intentId"),a.Contracts.throwIfNullOrWhitespace(h,"simplePhrase"),this.privAddedIntents.push([u,h])}addIntentWithLanguageModel(h,u,v){a.Contracts.throwIfDisposed(this.privDisposedIntentRecognizer),a.Contracts.throwIfNullOrWhitespace(h,"intentId"),a.Contracts.throwIfNull(u,"model");const g=u;a.Contracts.throwIfNullOrWhitespace(g.appId,"model.appId"),this.privAddedLmIntents[h]=new o.AddedLmIntent(g,v)}addAllIntents(h,u){a.Contracts.throwIfNull(h,"model");const v=h;a.Contracts.throwIfNullOrWhitespace(v.appId,"model.appId"),this.privUmbrellaIntent=new o.AddedLmIntent(v,u)}close(h,u){a.Contracts.throwIfDisposed(this.privDisposedIntentRecognizer),C.marshalPromiseToCallbacks(this.dispose(!0),h,u)}createRecognizerConfig(h){return new o.RecognizerConfig(h,this.privProperties)}createServiceRecognizer(h,u,v,g){return new o.IntentServiceRecognizer(h,u,v,g,this)}dispose(h){var u=()=>super.dispose,v=this;return c(function*(){v.privDisposedIntentRecognizer||h&&(v.privDisposedIntentRecognizer=!0,yield u().c
1all(v,h))})()}buildSpeechContext(){let h,u,v;const g=[];void 0!==this.privUmbrellaIntent&&(h=this.privUmbrellaIntent.modelImpl.appId,u=this.privUmbrellaIntent.modelImpl.region,v=this.privUmbrellaIntent.modelImpl.subscriptionKey);for(const y of Object.keys(this.privAddedLmIntents)){const p=this.privAddedLmIntents[y];if(void 0===h)h=p.modelImpl.appId;else if(h!==p.modelImpl.appId)throw new Error("Intents must all be from the same LUIS model");if(void 0===u)u=p.modelImpl.region;else if(u!==p.modelImpl.region)throw new Error("Intents must all be from the same LUIS model in a single region");if(void 0===v)v=p.modelImpl.subscriptionKey;else if(v!==p.modelImpl.subscriptionKey)throw new Error("Intents must all use the same subscription key");g.push("luis/"+h+"-PRODUCTION#"+y)}return{Intent:{id:h,key:void 0===v?this.privProperties.getProperty(E.PropertyId[E.PropertyId.SpeechServiceConnection_Key]):v,provider:"LUIS"},ReferenceGrammars:void 0===this.privUmbrellaIntent?g:["luis/"+h+"-PRODUCTION"]}}}},1300:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.KeywordRecognitionModel=void 0;const c=f(8804);_.KeywordRecognitionModel=class o{constructor(){this.privDisposed=!1}static fromFile(a){throw c.Contracts.throwIfFileDoesNotExist(a,"fileName"),new Error("Not yet implemented.")}static fromStream(a){throw c.Contracts.throwIfNull(a,"file"),new Error("Not yet implemented.")}close(){this.privDisposed||(this.privDisposed=!0)}}},85739:(ge,_)=>{"use strict";var c;Object.defineProperty(_,"__esModule",{value:!0}),_.LanguageIdMode=void 0,(c=_.LanguageIdMode||(_.LanguageIdMode={}))[c.AtStart=0]="AtStart",c[c.Continuous=1]="Continuous"},15838:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.LanguageUnderstandingModelImpl=_.LanguageUnderstandingModel=void 0;const c=f(8804);class o{constructor(){}static fromEndpoint(E){c.Contracts.throwIfNull(E,"uri"),c.Contracts.throwIfNullOrWhitespace(E.hostname,"uri");const T=new C,s=E.host.indexOf(".");if(-1===s)throw new Error("Could not determine region from endpoint");T.region=E.host.substr(0,s);const h=E.pathname.lastIndexOf("/")+1;if(-1===h)throw new Error("Could not determine appId from endpoint");if(T.appId=E.pathname.substr(h),T.subscriptionKey=E.searchParams.get("subscription-key"),void 0===T.subscriptionKey)throw new Error("Could not determine subscription key from endpoint");return T}static fromAppId(E){c.Contracts.throwIfNullOrWhitespace(E,"appId");const T=new C;return T.appId=E,T}static fromSubscription(E,T,s){c.Contracts.throwIfNullOrWhitespace(E,"subscriptionKey"),c.Contracts.throwIfNullOrWhitespace(T,"appId"),c.Contracts.throwIfNullOrWhitespace(s,"region");const h=new C;return h.appId=T,h.region=s,h.subscriptionKey=E,h}}_.LanguageUnderstandingModel=o;class C extends o{}_.LanguageUnderstandingModelImpl=C},88603:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.LogLevel=void 0;const c=f(13155);Object.defineProperty(_,"LogLevel",{enumerable:!0,get:function(){return c.EventType}})},24326:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.MeetingTranscriptionCanceledEventArgs=void 0;const c=f(99986);_.MeetingTranscriptionCanceledEventArgs=class o extends c.CancellationEventArgsBase{}},61813:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.NoMatchDetails=void 0;const c=f(67971),o=f(15912);class C{constructor(E){this.privReason=E}static fromResult(E){const T=c.SimpleSpeechPhrase.fromJSON(E.json);let s=o.NoMatchReason.NotRecognized;switch(T.RecognitionStatus){case c.RecognitionStatus.BabbleTimeout:s=o.NoMatchReason.InitialBabbleTimeout;break;case c.RecognitionStatus.InitialSilenceTimeout:s=o.NoMatchReason.InitialSilenceTimeout;break;default:s=o.NoMatchReason.NotRecognized}return new C(s)}get reason(){return this.privReason}}_.NoMatchDetails=C},55751:(ge,_)=>{"use strict";var c;Object.defineProperty(_,"__esModule",{value:!0}),_.NoMatchReason=void 0,(c=_.NoMatchReason||(_.NoMatchReason={}))[c.NotRecognized=0]="NotRecognized",c[c.InitialSilenceTimeout=1]="InitialSilenceTimeout",c[c.InitialBabbleTimeout=2]="InitialBabbleTimeout"},3897:(ge,_)=>{"use strict";var c;
1Object.defineProperty(_,"__esModule",{value:!0}),_.OutputFormat=void 0,(c=_.OutputFormat||(_.OutputFormat={}))[c.Simple=0]="Simple",c[c.Detailed=1]="Detailed"},33649:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.PhraseListGrammar=void 0;class f{constructor(o){this.privGrammerBuilder=o.dynamicGrammar}static fromRecognizer(o){return new f(o.internalData)}addPhrase(o){this.privGrammerBuilder.addPhrase(o)}addPhrases(o){this.privGrammerBuilder.addPhrase(o)}clear(){this.privGrammerBuilder.clearPhrases()}}_.PhraseListGrammar=f},44238:(ge,_)=>{"use strict";var c;Object.defineProperty(_,"__esModule",{value:!0}),_.ProfanityOption=void 0,(c=_.ProfanityOption||(_.ProfanityOption={}))[c.Masked=0]="Masked",c[c.Removed=1]="Removed",c[c.Raw=2]="Raw"},45778:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.PronunciationAssessmentConfig=void 0;const c=f(8804),o=f(15912);class C{constructor(E,T=o.PronunciationAssessmentGradingSystem.FivePoint,s=o.PronunciationAssessmentGranularity.Phoneme,h=!1){c.Contracts.throwIfNullOrUndefined(E,"referenceText"),this.privProperties=new o.PropertyCollection,this.privProperties.setProperty(o.PropertyId.PronunciationAssessment_ReferenceText,E),this.privProperties.setProperty(o.PropertyId.PronunciationAssessment_GradingSystem,o.PronunciationAssessmentGradingSystem[T]),this.privProperties.setProperty(o.PropertyId.PronunciationAssessment_Granularity,o.PronunciationAssessmentGranularity[s]),this.privProperties.setProperty(o.PropertyId.PronunciationAssessment_EnableMiscue,String(h))}static fromJSON(E){c.Contracts.throwIfNullOrUndefined(E,"json");const T=new C("");return T.privProperties=new o.PropertyCollection,T.properties.setProperty(o.PropertyId.PronunciationAssessment_Json,E),T}toJSON(){return this.updateJson(),this.privProperties.getProperty(o.PropertyId.PronunciationAssessment_Params)}applyTo(E){this.updateJson();const T=E.internalData;T.expectContentAssessmentResponse=!!this.privContentAssessmentTopic,T.speechContext.setPronunciationAssessmentParams(this.properties.getProperty(o.PropertyId.PronunciationAssessment_Params),this.privContentAssessmentTopic,T.isSpeakerDiarizationEnabled)}get referenceText(){return this.properties.getProperty(o.PropertyId.PronunciationAssessment_ReferenceText)}set referenceText(E){c.Contracts.throwIfNullOrWhitespace(E,"referenceText"),this.properties.setProperty(o.PropertyId.PronunciationAssessment_ReferenceText,E)}set phonemeAlphabet(E){c.Contracts.throwIfNullOrWhitespace(E,"phonemeAlphabet"),this.privPhonemeAlphabet=E}set enableMiscue(E){this.properties.setProperty(o.PropertyId.PronunciationAssessment_EnableMiscue,E?"true":"false")}get enableMiscue(){return"true"===this.properties.getProperty(o.PropertyId.PronunciationAssessment_EnableMiscue,"false").toLowerCase()}set nbestPhonemeCount(E){this.privNBestPhonemeCount=E}set enableProsodyAssessment(E){this.privEnableProsodyAssessment=E}enableContentAssessmentWithTopic(E){this.privContentAssessmentTopic=E}get properties(){return this.privProperties}updateJson(){const E=this.privProperties.getProperty(o.PropertyId.PronunciationAssessment_Json,"{}"),T=JSON.parse(E),s=this.privProperties.getProperty(o.PropertyId.PronunciationAssessment_ReferenceText);s&&(T.referenceText=s);const h=this.privProperties.getProperty(o.PropertyId.PronunciationAssessment_GradingSystem);h&&(T.gradingSystem=h);const u=this.privProperties.getProperty(o.PropertyId.PronunciationAssessment_Granularity);u&&(T.granularity=u),this.privPhonemeAlphabet&&(T.phonemeAlphabet=this.privPhonemeAlphabet),this.privNBestPhonemeCount&&(T.nbestPhonemeCount=this.privNBestPhonemeCount),T.enableProsodyAssessment=this.privEnableProsodyAssessment,T.dimension="Comprehensive",this.privProperties.getProperty(o.PropertyId.PronunciationAssessment_EnableMiscue)&&(T.enableMiscue=this.enableMiscue),this.privProperties.setProperty(o.PropertyId.PronunciationAssessment_Params,JSON.stringify(T))}}_.PronunciationAssessmentConfig=C},40223:(ge,_)=>{"use strict";var c;Object.defineProperty(_,"__esModule",{value:!0}),_.PronunciationAssessmentGradingSystem=void 0,(c=_.PronunciationAssessmentGradingSystem||(_.PronunciationAssessmentGradingSystem={}))[c.FivePoint=1]="FivePoint",c[c.HundredMark=2]="HundredMark"},36306:(ge,_)=>{"use strict";var c;
1Object.defineProperty(_,"__esModule",{value:!0}),_.PronunciationAssessmentGranularity=void 0,(c=_.PronunciationAssessmentGranularity||(_.PronunciationAssessmentGranularity={}))[c.Phoneme=1]="Phoneme",c[c.Word=2]="Word",c[c.FullText=3]="FullText"},14613:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.PronunciationAssessmentResult=_.ContentAssessmentResult=void 0;const c=f(8804),o=f(15912);class C{constructor(T){this.privPronJson=T}get grammarScore(){return this.privPronJson.ContentAssessment.GrammarScore}get vocabularyScore(){return this.privPronJson.ContentAssessment.VocabularyScore}get topicScore(){return this.privPronJson.ContentAssessment.TopicScore}}_.ContentAssessmentResult=C;class a{constructor(T){const s=JSON.parse(T);c.Contracts.throwIfNullOrUndefined(s.NBest[0],"NBest"),this.privPronJson=s.NBest[0]}static fromResult(T){c.Contracts.throwIfNullOrUndefined(T,"result");const s=T.properties.getProperty(o.PropertyId.SpeechServiceResponse_JsonResult);return c.Contracts.throwIfNullOrUndefined(s,"json"),new a(s)}get detailResult(){return this.privPronJson}get accuracyScore(){var T;return null===(T=this.detailResult.PronunciationAssessment)||void 0===T?void 0:T.AccuracyScore}get pronunciationScore(){var T;return null===(T=this.detailResult.PronunciationAssessment)||void 0===T?void 0:T.PronScore}get completenessScore(){var T;return null===(T=this.detailResult.PronunciationAssessment)||void 0===T?void 0:T.CompletenessScore}get fluencyScore(){var T;return null===(T=this.detailResult.PronunciationAssessment)||void 0===T?void 0:T.FluencyScore}get prosodyScore(){var T;return null===(T=this.detailResult.PronunciationAssessment)||void 0===T?void 0:T.ProsodyScore}get contentAssessmentResult(){if(void 0!==this.detailResult.ContentAssessment)return new C(this.detailResult)}}_.PronunciationAssessmentResult=a},88826:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.PropertyCollection=void 0;const c=f(15912);class o{constructor(){this.privKeys=[],this.privValues=[]}getProperty(a,E){let T;T="string"==typeof a?a:c.PropertyId[a];for(let s=0;s<this.privKeys.length;s++)if(this.privKeys[s]===T)return this.privValues[s];if(void 0!==E)return String(E)}setProperty(a,E){let T;T="string"==typeof a?a:c.PropertyId[a];for(let s=0;s<this.privKeys.length;s++)if(this.privKeys[s]===T)return void(this.privValues[s]=E);this.privKeys.push(T),this.privValues.push(E)}clone(){const a=new o;for(let E=0;E<this.privKeys.length;E++)a.privKeys.push(this.privKeys[E]),a.privValues.push(this.privValues[E]);return a}mergeTo(a){this.privKeys.forEach(E=>{if(void 0===a.getProperty(E,void 0)){const T=this.getProperty(E);a.setProperty(E,T)}})}get keys(){return this.privKeys}}_.PropertyCollection=o},56047:(ge,_)=>{"use strict";var c;Object.defineProperty(_,"__esModule",{value:!0}),_.PropertyId=void 0,(c=_.PropertyId||(_.PropertyId={}))[c.SpeechServiceConnection_Key=0]="SpeechServiceConnection_Key",c[c.SpeechServiceConnection_Endpoint=1]="SpeechServiceConnection_Endpoint",c[c.SpeechServiceConnection_Region=2]="SpeechServiceConnection_Region",c[c.SpeechServiceAuthorization_Token=3]="SpeechServiceAuthorization_Token",c[c.SpeechServiceAuthorization_Type=4]="SpeechServiceAuthorization_Type",c[c.SpeechServiceConnection_EndpointId=5]="SpeechServiceConnection_EndpointId",c[c.SpeechServiceConnection_TranslationToLanguages=6]="SpeechServiceConnection_TranslationToLanguages",c[c.SpeechServiceConnection_TranslationVoice=7]="SpeechServiceConnection_TranslationVoice",c[c.SpeechServiceConnection_TranslationFeatures=8]="SpeechServiceConnection_TranslationFeatures",c[c.SpeechServiceConnection_IntentRegion=9]="SpeechServiceConnection_IntentRegion",c[c.SpeechServiceConnection_ProxyHostName=10]="SpeechServiceConnection_ProxyHostName",c[c.SpeechServiceConnection_ProxyPort=11]="SpeechServiceConnection_ProxyPort",c[c.SpeechServiceConnection_ProxyUserName=12]="SpeechServiceConnection_ProxyUserName",c[c.SpeechServiceConnection_ProxyPassword=13]="SpeechServiceConnection_ProxyPassword",c[c.SpeechServiceConnection_RecoMode=14]="SpeechServiceConnection_RecoMode",c[c.SpeechServiceConnection_RecoLanguage=15]="SpeechServiceConnection_RecoLanguage",c[c.Speech_SessionId=16]="Speech_SessionId",c[c.SpeechServiceConnection_SynthLanguage=17]="SpeechServiceConnection_SynthLanguage",c[c.SpeechServiceConnection_SynthVoice=18]="SpeechServiceConnection_SynthVoice",c[c.SpeechServiceConnection_SynthOutputFormat=19]="SpeechServiceConnection_SynthOutputFormat",c[c.SpeechServiceConnection_AutoDetectSourceLanguages=20]="SpeechServiceConnection_AutoDetectSourceLanguages",c[c.SpeechServiceResponse_RequestDetailedResultTrueFalse=21]="SpeechServiceResponse_RequestDetailedResultTrueFalse",c[c.SpeechServiceResponse_RequestProfanityFilterTrueFalse=22]="SpeechServiceResponse_RequestProfanityFilterTrueFalse",c[c.SpeechServiceResponse_JsonResult=23]="SpeechServiceResponse_JsonResult",c[c.SpeechServiceResponse_JsonErrorDetails=24]="SpeechServiceResponse_JsonErrorDetails",c[c.CancellationDetail
1s_Reason=25]="CancellationDetails_Reason",c[c.CancellationDetails_ReasonText=26]="CancellationDetails_ReasonText",c[c.CancellationDetails_ReasonDetailedText=27]="CancellationDetails_ReasonDetailedText",c[c.LanguageUnderstandingServiceResponse_JsonResult=28]="LanguageUnderstandingServiceResponse_JsonResult",c[c.SpeechServiceConnection_Url=29]="SpeechServiceConnection_Url",c[c.SpeechServiceConnection_InitialSilenceTimeoutMs=30]="SpeechServiceConnection_InitialSilenceTimeoutMs",c[c.SpeechServiceConnection_EndSilenceTimeoutMs=31]="SpeechServiceConnection_EndSilenceTimeoutMs",c[c.Speech_SegmentationSilenceTimeoutMs=32]="Speech_SegmentationSilenceTimeoutMs",c[c.SpeechServiceConnection_EnableAudioLogging=33]="SpeechServiceConnection_EnableAudioLogging",c[c.SpeechServiceConnection_LanguageIdMode=34]="SpeechServiceConnection_LanguageIdMode",c[c.SpeechServiceConnection_RecognitionEndpointVersion=35]="SpeechServiceConnection_RecognitionEndpointVersion",c[c.SpeechServiceConnection_SpeakerIdMode=36]="SpeechServiceConnection_SpeakerIdMode",c[c.SpeechServiceResponse_ProfanityOption=37]="SpeechServiceResponse_ProfanityOption",c[c.SpeechServiceResponse_PostProcessingOption=38]="SpeechServiceResponse_PostProcessingOption",c[c.SpeechServiceResponse_RequestWordLevelTimestamps=39]="SpeechServiceResponse_RequestWordLevelTimestamps",c[c.SpeechServiceResponse_StablePartialResultThreshold=40]="SpeechServiceResponse_StablePartialResultThreshold",c[c.SpeechServiceResponse_OutputFormatOption=41]="SpeechServiceResponse_OutputFormatOption",c[c.SpeechServiceResponse_TranslationRequestStablePartialResult=42]="SpeechServiceResponse_TranslationRequestStablePartialResult",c[c.SpeechServiceResponse_RequestWordBoundary=43]="SpeechServiceResponse_RequestWordBoundary",c[c.SpeechServiceResponse_RequestPunctuationBoundary=44]="SpeechServiceResponse_RequestPunctuationBoundary",c[c.SpeechServiceResponse_RequestSentenceBoundary=45]="SpeechServiceResponse_RequestSentenceBoundary",c[c.Conversation_ApplicationId=46]="Conversation_ApplicationId",c[c.Conversation_DialogType=47]="Conversation_DialogType",c[c.Conversation_Initial_Silence_Timeout=48]="Conversation_Initial_Silence_Timeout",c[c.Conversation_From_Id=49]="Conversation_From_Id",c[c.Conversation_Conversation_Id=50]="Conversation_Conversation_Id",c[c.Conversation_Custom_Voice_Deployment_Ids=51]="Conversation_Custom_Voice_Deployment_Ids",c[c.Conversation_Speech_Activity_Template=52]="Conversation_Speech_Activity_Template",c[c.Conversation_Request_Bot_Status_Messages=53]="Conversation_Request_Bot_Status_Messages",c[c.Conversation_Agent_Connection_Id=54]="Conversation_Agent_Connection_Id",c[c.SpeechServiceConnection_Host=55]="SpeechServiceConnection_Host",c[c.ConversationTranslator_Host=56]="ConversationTranslator_Host",c[c.ConversationTranslator_Name=57]="ConversationTranslator_Name",c[c.ConversationTranslator_CorrelationId=58]="ConversationTranslator_CorrelationId",c[c.ConversationTranslator_Token=59]="ConversationTranslator_Token",c[c.PronunciationAssessment_ReferenceText=60]="PronunciationAssessment_ReferenceText",c[c.PronunciationAssessment_GradingSystem=61]="PronunciationAssessment_GradingSystem",c[c.PronunciationAssessment_Granularity=62]="PronunciationAssessment_Granularity",c[c.PronunciationAssessment_EnableMiscue=63]="PronunciationAssessment_EnableMiscue",c[c.PronunciationAssessment_Json=64]="PronunciationAssessment_Json",c[c.PronunciationAssessment_Params=65]="PronunciationAssessment_Params",c[c.SpeakerRecognition_Api_Version=66]="SpeakerRecognition_Api_Version",c[c.WebWorkerLoadType=67]="WebWorkerLoadType",c[c.TalkingAvatarService_WebRTC_SDP=68]="TalkingAvatarService_WebRTC_SDP"},8663:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.RecognitionEventArgs=void 0;const c=f(15912);_.RecognitionEventArgs=class o extends c.SessionEventArgs{constructor(a,E){super(E),this.privOffset=a}get offset(){return this.privOffset}}},76845:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.RecognitionResult=void 0,_.RecognitionResult=class f{constructor(o,C,a,E,T,s,h,u,v,g){this.privResultId=o,this.privReason=C,this.privText=a,this.privDuration=E,this.privOffset=T,this.privLanguage=s,this.privLanguageDetectionConfidence=h,this.privErrorDetails=u,this.privJson=v,this.privProperties=g}get resultId(){return this.privResultId}get reason(){return this.privReason}get text(){return this.privText}get duration(){return this.privDuration}get offset(){return this.privOffset}get language(){return this.privLanguage}get languageDetectionConfidence(){return this.privLanguageDetectionConfidence}get errorDetails(){return this.privErrorDetails}get json(){return this.privJson}get properties(){return this.privProperties}}},29533:(ge,_,f)=>{"use strict";var c=f(29293).default;
1Object.defineProperty(_,"__esModule",{value:!0}),_.Recognizer=void 0;const o=f(67971),C=f(13155),a=f(8804),E=f(15912);class T{constructor(h,u,v){this.audioConfig=void 0!==h?h:E.AudioConfig.fromDefaultMicrophoneInput(),this.privDisposed=!1,this.privProperties=u.clone(),this.privConnectionFactory=v,this.implCommonRecognizerSetup()}close(h,u){a.Contracts.throwIfDisposed(this.privDisposed),C.marshalPromiseToCallbacks(this.dispose(!0),h,u)}get internalData(){return this.privReco}dispose(h){var u=this;return c(function*(){u.privDisposed||(u.privDisposed=!0,h&&u.privReco&&(yield u.privReco.audioSource.turnOff(),yield u.privReco.dispose()))})()}static get telemetryEnabled(){return o.ServiceRecognizerBase.telemetryDataEnabled}static enableTelemetry(h){o.ServiceRecognizerBase.telemetryDataEnabled=h}implCommonRecognizerSetup(){let h=typeof window<"u"?"Browser":"Node",u="unknown",v="unknown";typeof navigator<"u"&&(h=h+"/"+navigator.platform,u=navigator.userAgent,v=navigator.appVersion);const g=this.createRecognizerConfig(new o.SpeechServiceConfig(new o.Context(new o.OS(h,u,v))));this.privReco=this.createServiceRecognizer(T.getAuthFromProperties(this.privProperties),this.privConnectionFactory,this.audioConfig,g)}recognizeOnceAsyncImpl(h){var u=this;return c(function*(){a.Contracts.throwIfDisposed(u.privDisposed);const v=new C.Deferred;yield u.implRecognizerStop(),yield u.privReco.recognize(h,v.resolve,v.reject);const g=yield v.promise;return yield u.implRecognizerStop(),g})()}startContinuousRecognitionAsyncImpl(h){var u=this;return c(function*(){a.Contracts.throwIfDisposed(u.privDisposed),yield u.implRecognizerStop(),yield u.privReco.recognize(h,void 0,void 0)})()}stopContinuousRecognitionAsyncImpl(){var h=this;return c(function*(){a.Contracts.throwIfDisposed(h.privDisposed),yield h.implRecognizerStop()})()}implRecognizerStop(){var h=this;return c(function*(){h.privReco&&(yield h.privReco.stopRecognizing(
1))})()}static getAuthFromProperties(h){const u=h.getProperty(E.PropertyId.SpeechServiceConnection_Key,void 0);return u&&""!==u?new o.CognitiveSubscriptionKeyAuthentication(u):new o.CognitiveTokenAuthentication(()=>{const g=h.getProperty(E.PropertyId.SpeechServiceAuthorization_Token,void 0);return Promise.resolve(g)},()=>{const g=h.getProperty(E.PropertyId.SpeechServiceAuthorization_Token,void 0);return Promise.resolve(g)})}}_.Recognizer=T},3362:(ge,_)=>{"use strict";var c;Object.defineProperty(_,"__esModule",{value:!0}),_.ResultReason=void 0,(c=_.ResultReason||(_.ResultReason={}))[c.NoMatch=0]="NoMatch",c[c.Canceled=1]="Canceled",c[c.RecognizingSpeech=2]="RecognizingSpeech",c[c.RecognizedSpeech=3]="RecognizedSpeech",c[c.RecognizedKeyword=4]="RecognizedKeyword",c[c.RecognizingIntent=5]="RecognizingIntent",c[c.RecognizedIntent=6]="RecognizedIntent",c[c.TranslatingSpeech=7]="TranslatingSpeech",c[c.TranslatedSpeech=8]="TranslatedSpeech",c[c.SynthesizingAudio=9]="SynthesizingAudio",c[c.SynthesizingAudioCompleted=10]="SynthesizingAudioCompleted",c[c.SynthesizingAudioStarted=11]="SynthesizingAudioStarted",c[c.EnrollingVoiceProfile=12]="EnrollingVoiceProfile",c[c.EnrolledVoiceProfile=13]="EnrolledVoiceProfile",c[c.RecognizedSpeakers=14]="RecognizedSpeakers",c[c.RecognizedSpeaker=15]="RecognizedSpeaker",c[c.ResetVoiceProfile=16]="ResetVoiceProfile",c[c.DeletedVoiceProfile=17]="DeletedVoiceProfile",c[c.VoicesListRetrieved=18]="VoicesListRetrieved",c[c.TranslatingParticipantSpeech=19]="TranslatingParticipantSpeech",c[c.TranslatedParticipantSpeech=20]="TranslatedParticipantSpeech",c[c.TranslatedInstantMessage=21]="TranslatedInstantMessage",c[c.TranslatedParticipantInstantMessage=22]="TranslatedParticipantInstantMessage"},36827:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ServiceEventArgs=void 0;const c=f(15912);_.ServiceEventArgs=class o extends c.SessionEventArgs{constructor(a,E,T){super(T),this.privJsonResult=a,this.privEventName=E}get jsonString(){return this.privJsonResult}get eventName(){return this.privEventName}}},99242:(ge,_)=>{"use strict";var c;Object.defineProperty(_,"__esModule",{value:!0}),_.ServicePropertyChannel=void 0,(c=_.ServicePropertyChannel||(_.ServicePropertyChannel={}))[c.UriQueryParameter=0]="UriQueryParameter"},70254:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SessionEventArgs=void 0,_.SessionEventArgs=class f{constructor(o){this.privSessionId=o}get sessionId(){return this.privSessionId}}},33886:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SourceLanguageConfig=void 0;const c=f(8804);class o{constructor(a,E){c.Contracts.throwIfNullOrUndefined(a,"language"),this.privLanguage=a,this.privEndpointId=E}static fromLanguage(a,E){return new o(a,E)}get language(){return this.privLanguage}get endpointId(){return this.privEndpointId}}_.SourceLanguageConfig=o},41567:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeakerIdentificationModel=void 0;const c=f(8804),o=f(15912);class C{constructor(E){if(this.privVoiceProfiles=[],this.privProfileIds=[],c.Contracts.throwIfNullOrUndefined(E,"VoiceProfiles"),0===E.length)throw new Error("Empty Voice Profiles array");for(const T of E){if(T.profileType!==o.VoiceProfileType.TextIndependentIdentification)throw new Error("Identification model can only be created from Identification profile: "+T.profileId);this.privVoiceProfiles.push(T),this.privProfileIds.push(T.profileId)}}static fromProfiles(E){return new C(E)}get voiceProfileIds(){return this.privProfileIds.join(",")}get profileIds(){return this.privProfileIds}get scenario(){return"TextIndependentIdentification"}}_.SpeakerIdentificationModel=C},43482:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeakerRecognitionCancellationDetails=_.SpeakerRecognitionResult=_.SpeakerRecognitionResultType=void 0;const c=f(67971),o=f(15912);var C,T;(T=C=_.SpeakerRecognitionResultType||(_.SpeakerRecognitionResultType={}))[T.Verify=0]="Verify",T[T.Identify=1]="Identify",_.SpeakerRecognitionResult=class a{constructor(s,h=o.ResultReason.RecognizedSpeaker,u=o.CancellationErrorCode.NoError,v=""){this.privProperties=new o.PropertyCollection;const g="TextIndependentIdentification"===s.scenario?C.Identify:C.Verify;this.privReason=h,this.privReason!==o.ResultReason.Canceled?g===C.Identify?(this.privProfileId=s.identificationResult.identifiedProfile.profileId,this.privScore=s.identificationResult.identifiedProfile.score,this.privReason=o.ResultReason.RecognizedSpeakers):(this.privScore=s.verificationResult.score,"accept"!==s.verificationResult.recognitionResult.toLowerCase()&&(this.privReason=o.ResultReason.NoMatch),void 0!==s.verificationResult.profileId&&""!==s.verificationResult.profileId&&(this.privProfileId=s.verificationResult.profileId)):(this.privErrorDetails=v,this.privProperties.setProperty(c.CancellationErrorCodePropertyName,o.CancellationErrorCode[u])),this.privProperties.setProperty(o.PropertyId.SpeechServiceResponse_JsonResult,JSON.stringify(s))}get properties(){return this.privProperties}get reason(){return this.privReason}get profileId(){return this.privProfileId}get errorDetails(){return this.privErrorDetails}get score(){return this.privScore}};
1class E extends o.CancellationDetailsBase{constructor(s,h,u){super(s,h,u)}static fromResult(s){const h=o.CancellationReason.Error;let u=o.CancellationErrorCode.NoError;return s.properties&&(u=o.CancellationErrorCode[s.properties.getProperty(c.CancellationErrorCodePropertyName,o.CancellationErrorCode[o.CancellationErrorCode.NoError])]),new E(h,s.errorDetails,u)}}_.SpeakerRecognitionCancellationDetails=E},79024:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.SpeakerRecognizer=void 0;const o=f(67971),C=f(8804),a=f(15912);_.SpeakerRecognizer=class E extends a.Recognizer{constructor(s,h){C.Contracts.throwIfNullOrUndefined(s,"speechConfig");const u=s;C.Contracts.throwIfNullOrUndefined(u,"speechConfig"),super(h,u.properties,new o.SpeakerRecognitionConnectionFactory),this.privAudioConfigImpl=h,C.Contracts.throwIfNull(this.privAudioConfigImpl,"audioConfig"),this.privDisposedSpeakerRecognizer=!1,this.privProperties=u.properties}get authorizationToken(){return this.properties.getProperty(a.PropertyId.SpeechServiceAuthorization_Token)}set authorizationToken(s){C.Contracts.throwIfNullOrWhitespace(s,"token"),this.properties.setProperty(a.PropertyId.SpeechServiceAuthorization_Token,s)}get properties(){return this.privProperties}recognizeOnceAsync(s){var h=this;return c(function*(){return C.Contracts.throwIfDisposed(h.privDisposedSpeakerRecognizer),h.recognizeSpeakerOnceAsyncImpl(s)})()}close(){var s=this;return c(function*(){C.Contracts.throwIfDisposed(s.privDisposedSpeakerRecognizer),yield s.dispose(!0)})()}recognizeSpeakerOnceAsyncImpl(s){var h=this;return c(function*(){C.Contracts.throwIfDisposed(h.privDisposedSpeakerRecognizer),yield h.implRecognizerStop();const u=yield h.privReco.recognizeSpeaker(s);return yield h.implRecognizerStop(),u})()}implRecognizerStop(){var s=this;return c(function*(){s.privReco&&(yield s.privReco.stopRecognizing(
1))})()}createRecognizerConfig(s){return new o.RecognizerConfig(s,this.privProperties)}createServiceRecognizer(s,h,u,v){return new o.SpeakerServiceRecognizer(s,h,u,v,this)}dispose(s){var h=()=>super.dispose,u=this;return c(function*(){u.privDisposedSpeakerRecognizer||s&&(u.privDisposedSpeakerRecognizer=!0,yield h().call(u,s))})()}}},5784:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeakerVerificationModel=void 0;const c=f(8804),o=f(15912);class C{constructor(E){if(c.Contracts.throwIfNullOrUndefined(E,"VoiceProfile"),E.profileType===o.VoiceProfileType.TextIndependentIdentification)throw new Error("Verification model cannot be created from Identification profile");this.privVoiceProfile=E}static fromProfile(E){return new C(E)}get voiceProfile(){return this.privVoiceProfile}get profileIds(){return[this.voiceProfile.profileId]}get scenario(){return this.voiceProfile.profileType===o.VoiceProfileType.TextDependentVerification?"TextDependentVerification":"TextIndependentVerification"}}_.SpeakerVerificationModel=C},19275:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechConfigImpl=_.SpeechConfig=void 0;const c=f(67971),o=f(8804),C=f(15912);class a{constructor(){}static fromSubscription(s,h){o.Contracts.throwIfNullOrWhitespace(s,"subscriptionKey"),o.Contracts.throwIfNullOrWhitespace(h,"region");const u=new E;return u.setProperty(C.PropertyId.SpeechServiceConnection_Region,h),u.setProperty(C.PropertyId.SpeechServiceConnection_IntentRegion,h),u.setProperty(C.PropertyId.SpeechServiceConnection_Key,s),u}static fromEndpoint(s,h){o.Contracts.throwIfNull(s,"endpoint");const u=new E;return u.setProperty(C.PropertyId.SpeechServiceConnection_Endpoint,s.href),void 0!==h&&u.setProperty(C.PropertyId.SpeechServiceConnection_Key,h),u}static fromHost(s,h){o.Contracts.throwIfNull(s,"hostName");const u=new E;return u.setProperty(C.PropertyId.SpeechServiceConnection_Host,s.protocol+"//"+s.hostname+(""===s.port?"":":"+s.port)),void 0!==h&&u.setProperty(C.PropertyId.SpeechServiceConnection_Key,h),u}static fromAuthorizationToken(s,h){o.Contracts.throwIfNull(s,"authorizationToken"),o.Contracts.throwIfNullOrWhitespace(h,"region");const u=new E;return u.setProperty(C.PropertyId.SpeechServiceConnection_Region,h),u.setProperty(C.PropertyId.SpeechServiceConnection_IntentRegion,h),u.authorizationToken=s,u}close(){}}_.SpeechConfig=a;class E extends a{constructor(){super(),this.privProperties=new C.PropertyCollection,this.speechRecognitionLanguage="en-US",this.outputFormat=C.OutputFormat.Simple}get properties(){return this.privProperties}get endPoint(){return new URL(this.privProperties.getProperty(C.PropertyId.SpeechServiceConnection_Endpoint))}get subscriptionKey(){return this.privProperties.getProperty(C.PropertyId.SpeechServiceConnection_Key)}get region(){return this.privProperties.getProperty(C.PropertyId.SpeechServiceConnection_Region)}get authorizationToken(){return this.privProperties.getProperty(C.PropertyId.SpeechServiceAuthorization_Token)}set authorizationToken(s){this.privProperties.setProperty(C.PropertyId.SpeechServiceAuthorization_Token,s)}get speechRecognitionLanguage(){return this.privProperties.getProperty(C.PropertyId.SpeechServiceConnection_RecoLanguage)}set speechRecognitionLanguage(s){this.privProperties.setProperty(C.PropertyId.SpeechServiceConnection_RecoLanguage,s)}get autoDetectSourceLanguages(){return this.privProperties.getProperty(C.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages)}set autoDetectSourceLanguages(s){this.privProperties.setProperty(C.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages,s)}get outputFormat(){return C.OutputFormat[this.privProperties.getProperty(c.OutputFormatPropertyName,void 0)]}set outputFormat(s){this.privProperties.setProperty(c.OutputFormatPropertyName,C.OutputFormat[s])}get endpointId(){return this.privProperties.getProperty(C.PropertyId.SpeechServiceConnection_EndpointId)}set endpointId(s){this.privProperties.setProperty(C.PropertyId.SpeechServiceConnection_EndpointId,s)}setProperty(s,h){o.Contracts.throwIfNull(h,"value"),this.privProperties.setProperty(s,h)}getProperty(s,h){return this.privProperties.getProperty(s,h)}setProxy(s,h,u,v){this.setProperty(C.PropertyId[C.PropertyId.SpeechServiceConnection_ProxyHostName],s),this.setProperty(C.PropertyId[C.PropertyId.SpeechServiceConnection_ProxyPort],h),this.setProperty(C.PropertyId[C.PropertyId.SpeechServiceConnection_ProxyUserName],u),this.setProperty(C.PropertyId[C.PropertyId.SpeechServiceConnection_ProxyPassword],v)}setServiceProperty(s,h){const u=JSON.parse(this.privProperties.getProperty(c.ServicePropertiesPropertyName,"{}"));u[s]=h,this.privProperties.setProperty(c.ServicePropertiesPropertyName,JSON.stringify(u))}setProfanity(s){this.privProperties.setProperty(C.PropertyId.SpeechServiceResponse_ProfanityOption,C.ProfanityOption[s])}enableAudioLogging(){this.privProperties.setProperty(C.PropertyId.SpeechServiceConnection_EnableAudioLogging,"true")}requestWordLevelTimestamps(){this.privProperties.setProperty(C.PropertyId.SpeechServiceResponse_RequestWordLevelTimestamps,"true")}enableDictation(){this.privProperties.setProperty(c.ForceDictationPropertyName,"true")}clone(){const s=new E;return s.privProperties=this.privProperties.clone(),s}get speechSynthesisLanguage(){return this.privProperties.getProperty(C.PropertyId.SpeechServiceConnection_SynthLanguage)}set speechSynthesisLanguage(s){this.privProperties.setProperty(C.PropertyId.SpeechServiceConnection_SynthLanguage,s)}get speechSynthesisVoiceName(){return this.privProperties.getProperty(C.PropertyId.SpeechServiceConnection_SynthVoice)}set speechSynthesisVoiceName(s){this.privProperties.setProperty(C.PropertyId.SpeechServiceConnection_SynthVoice,s)}get speechSynthesisOutputFormat(){return C.SpeechSynthesisOutputFormat[this.privProperties.getProperty(C.PropertyId.SpeechServiceConnection_SynthOutputFormat,void 0)]}set speechSynthesisOutputFormat(s){this.privProperties.setProperty(C.PropertyId.SpeechServiceConnection_SynthOutputFormat,C.SpeechSynthesisOutputFormat[s])}}_.SpeechConfigImpl=E},63040:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechRecognitionCanceledEventArgs=void 0;const c=f(99986);_.SpeechRecognitionCanceledEventArgs=class o extends c.CancellationEventArgsBase{}},73905:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.MeetingTranscriptionEventArgs=_.ConversationTranscriptionEventArgs=_.SpeechRecognitionEventArgs=void 0;const c=f(15912);class o extends c.RecognitionEventArgs{constructor(T,s,h){super(s,h),this.privResult=T}get result(){return this.privResult}}_.SpeechRecognitionEventArgs=o,_.ConversationTranscriptionEventArgs=class C extends c.RecognitionEventArgs{constructor(T,s,h){super(s,h),this.privResult=T}get result(){return this.privResult}},_.MeetingTranscriptionEventArgs=class a extends o{}},80495:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechRecognitionResult=void 0;const c=f(15912);_.SpeechRecognitionResult=class o extends c.RecognitionResult{constructor(a,E,T,s,h,u,v,g,y,p,b){super(a,E,T,s,h,u,v,y,p,b),this.privSpeakerId=g}get speakerId(){return this.privSpeakerId}}},81731:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechRecognizer=void 0;const o=f(67971),C=f(13155),a=f(8804),E=f(15912);class T extends E.Recognizer{constructor(h,u){const v=h;a.Contracts.throwIfNull(v,"speechConfig"),a.Contracts.throwIfNullOrWhitespace(v.properties.getProperty(E.PropertyId.SpeechServiceConnection_RecoLanguage),E.PropertyId[E.PropertyId.SpeechServiceConnection_RecoLanguage]),super(u,v.properties,new o.SpeechConnectionFactory),this.privDisposedRecognizer=!1}static FromConfig(h,u,v){return u.properties.mergeTo(h.properties),new T(h,v)}get endpointId(){return a.Contracts.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(E.PropertyId.SpeechServiceConnection_EndpointId,"00000000-0000-0000-0000-000000000000")}get authorizationToken(){return this.properties.getProperty(E.PropertyId.SpeechServiceAuthorization_Token)}set authorizationToken(h){a.Contracts.throwIfNullOrWhitespace(h,"token"),this.properties.setProperty(E.PropertyId.SpeechServiceAuthorization_Token,h)}get speechRecognitionLanguage(){return a.Contracts.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(E.PropertyId.SpeechServiceConnection_RecoLanguage)}get outputFormat(){return a.Contracts.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(o.OutputFormatPropertyName,E.OutputFormat[E.OutputFormat.Simple])===E.OutputFormat[E.OutputFormat.Simple]?E.OutputFormat.Simple:E.OutputFormat.Detailed}get properties(){return this.privProperties}recognizeOnceAsync(h,u){C.marshalPromiseToCallbacks(this.recognizeOnceAsyncImpl(o.RecognitionMode.Interactive),h,u)}startContinuousRecognitionAsync(h,u){C.marshalPromiseToCallbacks(this.startContinuousRecognitionAsyncImpl(o.RecognitionMode.Conversation),h,u)}stopContinuousRecognitionAsync(h,u){C.marshalPromiseToCallbacks(this.stopContinuousRecognitionAsyncImpl(),h,u)}startKeywordRecognitionAsync(h,u,v){a.Contracts.throwIfNull(h,"model"),v&&v("Not yet implemented.")}stopKeywordRecognitionAsync(h){h&&h()}close(h,u){a.Contracts.throwIfDisposed(this.privDisposedRecognizer),C.marshalPromiseToCallbacks(this.dispose(!0),h,u)}dispose(h){var u=()=>super.dispose,v=this;return c(function*(){v.privDisposedRecognizer||(h&&(v.privDisposedRecognizer=!0,yield v.implRecognizerStop()),yield u().c
1all(v,h))})()}createRecognizerConfig(h){return new o.RecognizerConfig(h,this.privProperties)}createServiceRecognizer(h,u,v,g){return new o.SpeechServiceRecognizer(h,u,v,g,this)}}_.SpeechRecognizer=T},65726:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechSynthesisBookmarkEventArgs=void 0,_.SpeechSynthesisBookmarkEventArgs=class f{constructor(o,C){this.privAudioOffset=o,this.privText=C}get audioOffset(){return this.privAudioOffset}get text(){return this.privText}}},20489:(ge,_)=>{"use strict";var c;Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechSynthesisBoundaryType=void 0,(c=_.SpeechSynthesisBoundaryType||(_.SpeechSynthesisBoundaryType={})).Word="WordBoundary",c.Punctuation="PunctuationBoundary",c.Sentence="SentenceBoundary"},8390:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechSynthesisEventArgs=void 0,_.SpeechSynthesisEventArgs=class f{constructor(o){this.privResult=o}get result(){return this.privResult}}},80589:(ge,_)=>{"use strict";var c;Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechSynthesisOutputFormat=void 0,(c=_.SpeechSynthesisOutputFormat||(_.SpeechSynthesisOutputFormat={}))[c.Raw8Khz8BitMonoMULaw=0]="Raw8Khz8BitMonoMULaw",c[c.Riff16Khz16KbpsMonoSiren=1]="Riff16Khz16KbpsMonoSiren",c[c.Audio16Khz16KbpsMonoSiren=2]="Audio16Khz16KbpsMonoSiren",c[c.Audio16Khz32KBitRateMonoMp3=3]="Audio16Khz32KBitRateMonoMp3",c[c.Audio16Khz128KBitRateMonoMp3=4]="Audio16Khz128KBitRateMonoMp3",c[c.Audio16Khz64KBitRateMonoMp3=5]="Audio16Khz64KBitRateMonoMp3",c[c.Audio24Khz48KBitRateMonoMp3=6]="Audio24Khz48KBitRateMonoMp3",c[c.Audio24Khz96KBitRateMonoMp3=7]="Audio24Khz96KBitRateMonoMp3",c[c.Audio24Khz160KBitRateMonoMp3=8]="Audio24Khz160KBitRateMonoMp3",c[c.Raw16Khz16BitMonoTrueSilk=9]="Raw16Khz16BitMonoTrueSilk",c[c.Riff16Khz16BitMonoPcm=10]="Riff16Khz16BitMonoPcm",c[c.Riff8Khz16BitMonoPcm=11]="Riff8Khz16BitMonoPcm",c[c.Riff24Khz16BitMonoPcm=12]="Riff24Khz16BitMonoPcm",c[c.Riff8Khz8BitMonoMULaw=13]="Riff8Khz8BitMonoMULaw",c[c.Raw16Khz16BitMonoPcm=14]="Raw16Khz16BitMonoPcm",c[c.Raw24Khz16BitMonoPcm=15]="Raw24Khz16BitMonoPcm",c[c.Raw8Khz16BitMonoPcm=16]="Raw8Khz16BitMonoPcm",c[c.Ogg16Khz16BitMonoOpus=17]="Ogg16Khz16BitMonoOpus",c[c.Ogg24Khz16BitMonoOpus=18]="Ogg24Khz16BitMonoOpus",c[c.Raw48Khz16BitMonoPcm=19]="Raw48Khz16BitMonoPcm",c[c.Riff48Khz16BitMonoPcm=20]="Riff48Khz16BitMonoPcm",c[c.Audio48Khz96KBitRateMonoMp3=21]="Audio48Khz96KBitRateMonoMp3",c[c.Audio48Khz192KBitRateMonoMp3=22]="Audio48Khz192KBitRateMonoMp3",c[c.Ogg48Khz16BitMonoOpus=23]="Ogg48Khz16BitMonoOpus",c[c.Webm16Khz16BitMonoOpus=24]="Webm16Khz16BitMonoOpus",c[c.Webm24Khz16BitMonoOpus=25]="Webm24Khz16BitMonoOpus",c[c.Raw24Khz16BitMonoTrueSilk=26]="Raw24Khz16BitMonoTrueSilk",c[c.Raw8Khz8BitMonoALaw=27]="Raw8Khz8BitMonoALaw",c[c.Riff8Khz8BitMonoALaw=28]="Riff8Khz8BitMonoALaw",c[c.Webm24Khz16Bit24KbpsMonoOpus=29]="Webm24Khz16Bit24KbpsMonoOpus",c[c.Audio16Khz16Bit32KbpsMonoOpus=30]="Audio16Khz16Bit32KbpsMonoOpus",c[c.Audio24Khz16Bit48KbpsMonoOpus=31]="Audio24Khz16Bit48KbpsMonoOpus",c[c.Audio24Khz16Bit24KbpsMonoOpus=32]="Audio24Khz16Bit24KbpsMonoOpus",c[c.Raw22050Hz16BitMonoPcm=33]="Raw22050Hz16BitMonoPcm",c[c.Riff22050Hz16BitMonoPcm=34]="Riff22050Hz16BitMonoPcm",c[c.Raw44100Hz16BitMonoPcm=35]="Raw44100Hz16BitMonoPcm",c[c.Riff44100Hz16BitMonoPcm=36]="Riff44100Hz16BitMonoPcm",c[c.AmrWb16000Hz=37]="AmrWb16000Hz",c[c.G72216Khz64Kbps=38]="G72216Khz64Kbps"},36154:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechSynthesisResult=void 0;const c=f(15912);_.SpeechSynthesisResult=class o extends c.SynthesisResult{constructor(a,E,T,s,h,u){super(a,E,s,h),this.privAudioData=T,this.privAudioDuration=u}get audioData(){return this.privAudioData}get audioDuration(){return this.privAudioDuration}}},1879:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechSynthesisVisemeEventArgs=void 0,_.SpeechSynthesisVisemeEventArgs=class f{constructor(o,C,a){this.privAudioOffset=o,this.privVisemeId=C,this.privAnimation=a}get audioOffset(){return this.privAudioOffset}get visemeId(){return this.privVisemeId}get animation(){return this.privAnimation}}},74896:(ge,_)=>{"use strict";
vendor: 8,449 bytes, line 1
1Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechSynthesisWordBoundaryEventArgs=void 0,_.SpeechSynthesisWordBoundaryEventArgs=class f{constructor(o,C,a,E,T,s){this.privAudioOffset=o,this.privDuration=C,this.privText=a,this.privWordLength=E,this.privTextOffset=T,this.privBoundaryType=s}get audioOffset(){return this.privAudioOffset}get duration(){return this.privDuration}get text(){return this.privText}get wordLength(){return this.privWordLength}get textOffset(){return this.privTextOffset}get boundaryType(){return this.privBoundaryType}}},36855:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechSynthesizer=void 0;const o=f(67971),C=f(13155),a=f(28841),E=f(42466),T=f(50221),s=f(8804),h=f(15912),u=f(80661);class v extends h.Synthesizer{constructor(y,p){super(y),null!==p&&(this.audioConfig=void 0===p?typeof window>"u"?void 0:h.AudioConfig.fromDefaultSpeakerOutput():p),this.privConnectionFactory=new o.SpeechSynthesisConnectionFactory,this.implCommonSynthesizeSetup()}static FromConfig(y,p,b){return p.properties.mergeTo(y.properties),new v(y,b)}speakTextAsync(y,p,b,R){this.speakImpl(y,!1,p,b,R)}speakSsmlAsync(y,p,b,R){this.speakImpl(y,!0,p,b,R)}getVoicesAsync(y=""){var p=this;return c(function*(){return p.getVoices(y)})()}close(y,p){s.Contracts.throwIfDisposed(this.privDisposed),C.marshalPromiseToCallbacks(this.dispose(!0),y,p)}get internalData(){return this.privAdapter}createSynthesisAdapter(y,p,b){return new o.SpeechSynthesisAdapter(y,p,b,this,this.audioConfig)}createRestSynthesisAdapter(y,p){return new o.SynthesisRestAdapter(p,y)}implCommonSynthesizeSetup(){super.implCommonSynthesizeSetup(),this.privAdapter.audioOutputFormat=E.AudioOutputFormatImpl.fromSpeechSynthesisOutputFormat(h.SpeechSynthesisOutputFormat[this.properties.getProperty(h.PropertyId.SpeechServiceConnection_SynthOutputFormat,void 0)])}speakImpl(y,p,b,R,P){try{s.Contracts.throwIfDisposed(this.privDisposed);const k=C.createNoDashGuid();let O;O=P instanceof h.PushAudioOutputStreamCallback?new T.PushAudioOutputStreamImpl(P):P instanceof h.PullAudioOutputStream?P:void 0!==P?new a.AudioFileWriter(P):void 0,this.synthesisRequestQueue.enqueue(new u.SynthesisRequest(k,y,p,V=>{if(this.privSynthesizing=!1,b)try{b(V)}catch(K){R&&R(K)}b=void 0,this.adapterSpeak().catch(()=>{})},V=>{R&&R(V)},O)),this.adapterSpeak().catch(()=>{})}catch(k){R&&(k instanceof Error?R(k.name+": "+k.message):R(k)),this.dispose(!0).catch(()=>{})}}getVoices(y){var p=this;return c(function*(){const b=C.createNoDashGuid(),R=yield p.privRestAdapter.getVoicesList(b);if(R.ok&&Array.isArray(R.json)){let P=R.json;return y&&y.length>0&&(P=P.filter(k=>!!k.Locale&&k.Locale.toLowerCase()===y.toLowerCase())),new h.SynthesisVoicesResult(b,P,void 0)}return new h.SynthesisVoicesResult(b,void 0,`Error: ${R.status}: ${R.statusText}`)})()}}_.SpeechSynthesizer=v},46444:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SpeechTranslationConfigImpl=_.SpeechTranslationConfig=void 0;const c=f(67971),o=f(8804),C=f(15912);class a extends C.SpeechConfig{constructor(){super()}static fromSubscription(s,h){o.Contracts.throwIfNullOrWhitespace(s,"subscriptionKey"),o.Contracts.throwIfNullOrWhitespace(h,"region");const u=new E;return u.properties.setProperty(C.PropertyId.SpeechServiceConnection_Key,s),u.properties.setProperty(C.PropertyId.SpeechServiceConnection_Region,h),u}static fromAuthorizationToken(s,h){o.Contracts.throwIfNullOrWhitespace(s,"authorizationToken"),o.Contracts.throwIfNullOrWhitespace(h,"region");const u=new E;return u.properties.setProperty(C.PropertyId.SpeechServiceAuthorization_Token,s),u.properties.setProperty(C.PropertyId.SpeechServiceConnection_Region,h),u}static fromHost(s,h){o.Contracts.throwIfNull(s,"hostName");const u=new E;return u.setProperty(C.PropertyId.SpeechServiceConnection_Host,s.protocol+"//"+s.hostname+(""===s.port?"":":"+s.port)),void 0!==h&&u.setProperty(C.PropertyId.SpeechServiceConnection_Key,h),u}static fromEndpoint(s,h){o.Contracts.throwIfNull(s,"endpoint"),o.Contracts.throwIfNull(h,"subscriptionKey");const u=new E;return u.properties.setProperty(C.PropertyId.SpeechServiceConnection_Endpoint,s.href),u.properties.setProperty(C.PropertyId.SpeechServiceConnection_Key,h),u}}_.SpeechTranslationConfig=a;class E extends a{constructor(){super(),this.privSpeechProperties=new C.PropertyCollection,this.outputFormat=C.OutputFormat.Simple}set authorizationToken(s){o.Contracts.throwIfNullOrWhitespace(s,"value"),this.privSpeechProperties.setProperty(C.PropertyId.SpeechServiceAuthorization_Token,s)}set speechRecognitionLanguage(s){o.Contracts.throwIfNullOrWhitespace(s,"value"),this.privSpeechProperties.setProperty(C.PropertyId.SpeechServiceConnection_RecoLanguage,s)}get speechRecognitionLanguage(){return this.privSpeechProperties.getProperty(C.PropertyId[C.PropertyId.SpeechServiceConnection_RecoLanguage])}get subscriptionKey(){return this.privSpeechProperties.getProperty(C.PropertyId[C.PropertyId.SpeechServiceConnection_Key])}get outputFormat(){return C.OutputFormat[this.privSpeechProperties.getProperty(c.OutputFormatPropertyName,void 0)]}set outputFormat(s){this.privSpeechProperties.setProperty(c.OutputFormatPropertyName,C.OutputFormat[s])}get endpointId(){return this.privSpeechProperties.getProperty(C.PropertyId.SpeechServiceConnection_EndpointId)}set endpointId(s){this.privSpeechProperties.setProperty(C.PropertyId.SpeechServiceConnection_EndpointId,s)}addTargetLanguage(s){o.Contracts.throwIfNullOrWhitespace(s,"value");const h=this.targetLanguages;h.includes(s)||(h.push(s),this.privSpeechProperties.setProperty(C.PropertyId.SpeechServiceConnection_TranslationToLanguages,h.join(",")))}get targetLanguages(){return void 0!==this.privSpeechProperties.getProperty(C.PropertyId.SpeechServiceConnection_TranslationToLanguages,void 0)?this.privSpeechProperties.getProperty(C.PropertyId.SpeechServiceConnection_TranslationToLanguages).split(","):[]}get voiceName(){return this.getProperty(C.PropertyId[C.PropertyId.SpeechServiceConnection_TranslationVoice])}set voiceName(s){o.Contracts.throwIfNullOrWhitespace(s,"value"),this.privSpeechProperties.setProperty(C.PropertyId.SpeechServiceConnection_TranslationVoice,s)}get region(){return this.privSpeechProperties.getProperty(C.PropertyId.SpeechServiceConnection_Region)}setProxy(s,h,u,v){this.setProperty(C.PropertyId[C.PropertyId.SpeechServiceConnection_ProxyHostName],s),this.setProperty(C.PropertyId[C.PropertyId.SpeechServiceConnection_ProxyPort],h),this.setProperty(C.PropertyId[C.PropertyId.SpeechServiceConnection_ProxyUserName],u),this.setProperty(C.PropertyId[C.PropertyId.SpeechServiceConnection_ProxyPassword],v)}getProperty(s,h){return this.privSpeechProperties.getProperty(s,h)}setProperty(s,h){this.privSpeechProperties.setProperty(s,h)}get properties(){return this.privSpeechProperties}close(){}setServiceProperty(s,h){const u=JSON.parse(this.privSpeechProperties.getProperty(c.ServicePropertiesPropertyName,"{}"));u[s]=h,this.privSpeechProperties.setProperty(c.ServicePropertiesPropertyName,JSON.stringify(u))}setProfanity(s){this.privSpeechProperties.setProperty(C.PropertyId.SpeechServiceResponse_ProfanityOption,C.ProfanityOption[s])}enableAudioLogging(){this.privSpeechProperties.setProperty(C.PropertyId.SpeechServiceConnection_EnableAudioLogging,"true")}requestWordLevelTimestamps(){this.privSpeechProperties.setProperty(C.PropertyId.SpeechServiceResponse_RequestWordLevelTimestamps,"true")}enableDictation(){this.privSpeechProperties.setProperty(c.ForceDictationPropertyName,"true")}get speechSynthesisLanguage(){return this.privSpeechProperties.getProperty(C.PropertyId.SpeechServiceConnection_SynthLanguage)}set speechSynthesisLanguage(s){this.privSpeechProperties.setProperty(C.PropertyId.SpeechServiceConnection_SynthLanguage,s)}get speechSynthesisVoiceName(){return this.privSpeechProperties.getProperty(C.PropertyId.SpeechServiceConnection_SynthVoice)}set speechSynthesisVoiceName(s){this.privSpeechProperties.setProperty(C.PropertyId.SpeechServiceConnection_SynthVoice,s)}get speechSynthesisOutputFormat(){return C.SpeechSynthesisOutputFormat[this.privSpeechProperties.getProperty(C.PropertyId.SpeechServiceConnection_SynthOutputFormat,void 0)]}set speechSynthesisOutputFormat(s){this.privSpeechProperties.setProperty(C.PropertyId.SpeechServiceConnection_SynthOutputFormat,C.SpeechSynthesisOutputFormat[s])}}_.SpeechTranslationConfigImpl=E},66844:(ge,_)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.SynthesisResult=void 0,_.SynthesisResult=class f{constructor(o,C,a,E){this.privResultId=o,this.privReason=C,this.privErrorDetails=a,this.privProperties=E}get resultId(){return this.privResultId}get reason(){return this.privReason}get errorDetails(){return this.privErrorDetails}get properties(){return this.privProperties}}},40887:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SynthesisVoicesResult=void 0;const c=f(15912);_.SynthesisVoicesResult=class o extends c.SynthesisResult{constructor(a,E,T){if(Array.isArray(E)){super(a,c.ResultReason.VoicesListRetrieved,void 0,new c.PropertyCollection),this.privVoices=[];for(const s of E)this.privVoices.push(new c.VoiceInfo(s))}else super(a,c.ResultReason.Canceled,T||"Error information unavailable",new c.PropertyCollection)}get voices(){return this.privVoices}}},80661:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.SynthesisRequest=_.Synthesizer=void 0;const o=f(67971),C=f(13155),a=f(8804),E=f(15912);class T{constructor(u){const v=u;a.Contracts.throwIfNull(v,"speechConfig"),this.privProperties=v.properties.clone(),this.privDisposed=!1,this.privSynthesizing=!1,this.synthesisRequestQueue=new C.Queue}get authorizationToken(){return this.properties.getProperty(E.PropertyId.SpeechServiceAuthorization_Token)}set authorizationToken(u){a.Contracts.throwIfNullOrWhitespace(u,"token"),this.properties.setProperty(E.PropertyId.SpeechServiceAuthorization_Token,u)}get properties(){return this.privProperties}get autoDetectSourceLanguage(){return this.properties.getProperty(E.PropertyId.SpeechServiceConnection_AutoDetectSourceLanguages)===o.AutoDetectSourceLanguagesOpenRangeOptionName}buildSsml(u){let g=this.properties.getProperty(E.PropertyId.SpeechServiceConnection_SynthLanguage,"en-US"),y=this.properties.getProperty(E.PropertyId.SpeechServiceConnection_SynthVoice,""),p=T.XMLEncode(u);return this.autoDetectSourceLanguage?g="en-US":y=y||{"af-ZA":"af-ZA-AdriNeural","am-ET":"am-ET-AmehaNeural","ar-AE":"ar-AE-FatimaNeural","ar-BH":"ar-BH-AliNeural","ar-DZ":"ar-DZ-AminaNeural","ar-EG":"ar-EG-SalmaNeural","ar-IQ":"ar-IQ-BasselNeural","ar-JO":"ar-JO-SanaNeural","ar-KW":"ar-KW-FahedNeural","ar-LY":"ar-LY-ImanNeural","ar-MA":"ar-MA-JamalNeural","ar-QA":"ar-QA-AmalNeural","ar-SA":"ar-SA-HamedNeural","ar-SY":"ar-SY-AmanyNeural","ar-TN":"ar-TN-HediNeural","ar-YE":"ar-YE-MaryamNeural","bg-BG":"bg-BG-BorislavNeural","bn-BD":"bn-BD-NabanitaNeural","bn-IN":"bn-IN-BashkarNeural","ca-ES":"ca-ES-JoanaNeural","cs-CZ":"cs-CZ-AntoninNeural","cy-GB":"cy-GB-AledNeural","da-DK":"da-DK-ChristelNeural","de-AT":"de-AT-IngridNeural","de-CH":"de-CH-JanNeural","de-DE":"de-DE-KatjaNeural","el-GR":"el-GR-AthinaNeural","en-AU":"en-AU-NatashaNeural","en-CA":"en-CA-ClaraNeural","en-GB":"en-GB-LibbyNeural","en-HK":"en-HK-SamNeural","en-IE":"en-IE-ConnorNeural","en-IN":"en-IN-NeerjaNeural","en-KE":"en-KE-AsiliaNeural","en-NG":"en-NG-AbeoNeural","en-NZ":"en-NZ-MitchellNeural","en-PH":"en-PH-JamesNeural","en-SG":"en-SG-LunaNeural","en-TZ":"en-TZ-ElimuNeural","en-US":"en-US-AvaMultilingualNeural","en-ZA":"en-ZA-LeahNeural","es-AR":"es-AR-ElenaNeural","es-BO":"es-BO-MarceloNeural","es-CL":"es-CL-CatalinaNeural","es-CO":"es-CO-GonzaloNeural","es-CR":"es-CR-JuanNeural","es-CU":"es-CU-BelkysNeural","es-DO":"es-DO-EmilioNeural","es-EC":"es-EC-AndreaNeural","es-ES":"es-ES-AlvaroNeural","es-GQ":"es-GQ-JavierNeural","es-GT":"es-GT-AndresNeural","es-HN":"es-HN-CarlosNeural","es-MX":"es-MX-DaliaNeural","es-NI":"es-NI-FedericoNeural","es-PA":"es-PA-MargaritaNeural","es-PE":"es-PE-AlexNeural","es-PR":"es-PR-KarinaNeural","es-PY":"es-PY-MarioNeural","es-SV":"es-SV-LorenaNeural","es-US":"es-US-AlonsoNeural","es-UY":"es-UY-MateoNeural","es-VE":"es-VE-PaolaNeural","et-EE":"et-EE-AnuNeural","fa-IR":"fa-IR-DilaraNeural","fi-FI":"fi-FI-SelmaNeural","fil-PH":"fil-PH-AngeloNeural","fr-BE":"fr-BE-CharlineNeural","fr-CA":"fr-CA-SylvieNeural","fr-CH":"fr-CH-ArianeNeural","fr-FR":"fr-FR-DeniseNeural","ga-IE":"ga-IE-ColmNeural","gl-ES":"gl-ES-RoiNeural","gu-IN":"gu-IN-DhwaniNeural","he-IL":"he-IL-AvriNeural","hi-IN":"hi-IN-MadhurNeural","hr-HR":"hr-HR-GabrijelaNeural","hu-HU":"hu-HU-NoemiNeural","id-ID":"id-ID-ArdiNeural","is-IS":"is-IS-GudrunNeural","it-IT":"it-IT-IsabellaNeural","ja-JP":"ja-JP-NanamiNeural","jv-ID":"jv-ID-DimasNeural","kk-KZ":"kk-KZ-AigulNeural","km-KH":"km-KH-PisethNeural","kn-IN":"kn-IN-GaganNeural","ko-KR":"ko-KR-SunHiNeural","lo-LA":"lo-LA-ChanthavongNeural","lt-LT":"lt-LT-LeonasNeural","lv-LV":"lv-LV-EveritaNeural","mk-MK":"mk-MK-AleksandarNeural","ml-IN":"ml-IN-MidhunNeural","mr-IN":"mr-IN-AarohiNeural","ms-MY":"ms-MY-OsmanNeural","mt-MT":"mt-MT-GraceNeural","my-MM":"my-MM-NilarNeural","nb-NO":"nb-NO-PernilleNeural","nl-BE":"nl-BE-ArnaudNeural","nl-NL":"nl-NL-ColetteNeural","pl-PL":"pl-PL-AgnieszkaNeural","ps-AF":"ps-AF-GulNawazNeural","pt-BR":"pt-BR-FranciscaNeural","pt-PT":"pt-PT-DuarteNeural","ro-RO":"ro-RO-AlinaNeural","ru-RU":"ru-RU-SvetlanaNeural","si-LK":"si-LK-SameeraNeural","sk-SK":"sk-SK-LukasNeural","sl-SI":"sl-SI-PetraNeural","so-SO":"so-SO-MuuseNeural","sr-RS":"sr-RS-NicholasNeural","su-ID":"su-ID-JajangNeural","sv-SE":"sv-SE-SofieNeural","sw-KE":"sw-KE-RafikiNeural","sw-TZ":"sw-TZ-DaudiNeural","ta-IN":"ta-IN-PallaviNeural","ta-LK":"ta-LK-KumarNeural","ta-SG":"ta-SG-AnbuNeural","te-IN":"te-IN-MohanNeural","th-TH":"th-TH-PremwadeeNeural","tr-TR":"tr-TR-AhmetNeural","uk-UA":"uk-UA-OstapNeural","ur-IN":"ur-IN-GulNeural","ur-PK":"ur-PK-AsadNeural","uz-UZ":"uz-UZ-MadinaNeural","vi-VN":"vi-VN-HoaiMyNeural","zh-CN":"zh-CN-XiaoxiaoNeural","zh-HK":"zh-HK-HiuMaanNeural","zh-TW":"zh-TW-HsiaoChenNeural","zu-ZA":"zu-ZA-ThandoNeural"}[g],y&&(p=`<voice name='${y}'>${p}</voice>`),p=`<speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='http://www.w3.org/2001/mstts' xmlns:emo='http://www.w3.org/2009/10/emotionml' xml:lang='${g}'>${p}</speak>`,p}dispose(u){var v=this;return c(function*(){v.privDisposed||(u&&v.privAdapter&&(yield v.privAdapter.dispose()),v.privDisposed=!0)})()}adapterSpeak(){var u=this;return c(function*(){if(!u.privDisposed&&!u.privSynthesizing){u.privSynthesizing=!0;const v=yield u.synthesisRequestQueue.dequeue();return u.privAdapter.Speak(v.text,v.isSSML,v.requestId,v.cb,v.err,v.dataStream)}})()}createSynthesizerConfig(u){return new o.SynthesizerConfig(u,this.privProperties)}implCommonSynthesizeSetup(){let u=typeof window<"u"?"Browser":"Node",v="unknown",g="unknown";typeof navigator<"u"&&(u=u+"/"+navigator.platform,v=navigator.userAgent,g=navigator.appVersion);const y=this.createSynthesizerConfig(new o.SpeechServiceConfig(new o.Context(new o.OS(u,v,g)))),p=this.privProperties.getProperty(E.PropertyId.SpeechServiceConnection_Key,void 0),b=p&&""!==p?new o.CognitiveSubscriptionKeyAuthentication(p):new o.CognitiveTokenAuthentication(()=>{const R=this.privProperties.getProperty(E.PropertyId.SpeechServiceAuthorization_Token,void 0);return Promise.resolve(R)},()=>{const R=this.privProperties.getProperty(E.PropertyId.SpeechServiceAuthorization_Token,void 0);return Promise.resolve(R)});this.privAdapter=this.createSynthesisAdapter(b,this.privConnectionFactory,y),this.privRestAdapter=this.createRestSynthesisAdapter(b,y)}static XMLEncode(u){return u.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}}_.Synthesizer=T,_.SynthesisRequest=class s{constructor(u,v,g,y,p,b){this.requestId=u,this.text=v,this.isSSML=g,this.cb=y,this.err=p,this.dataStream=b}}},58753:(ge,_,f)=>{"use strict";var c=f(29293).default;
1Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationImpl=_.Conversation=void 0;const o=f(67971),C=f(13155),a=f(8804),E=f(15912);class T{constructor(){}static createConversationAsync(u,v,g,y){let p,b,R;return a.Contracts.throwIfNullOrUndefined(u,o.ConversationConnectionConfig.restErrors.invalidArgs.replace("{arg}","config")),a.Contracts.throwIfNullOrUndefined(u.region,o.ConversationConnectionConfig.restErrors.invalidArgs.replace("{arg}","SpeechServiceConnection_Region")),!u.subscriptionKey&&!u.getProperty(E.PropertyId[E.PropertyId.SpeechServiceAuthorization_Token])&&a.Contracts.throwIfNullOrUndefined(u.subscriptionKey,o.ConversationConnectionConfig.restErrors.invalidArgs.replace("{arg}","SpeechServiceConnection_Key")),"string"==typeof v?(p=new s(u,v),C.marshalPromiseToCallbacks(c(function*(){})(),g,y)):(p=new s(u),b=v,R=g,p.createConversationAsync(()=>{b&&b()},P=>{R&&R(P)})),p}}_.Conversation=T;class s extends T{constructor(u,v){if(super(),this.privErrors=o.ConversationConnectionConfig.restErrors,this.onConnected=p=>{this.privIsConnected=!0;try{var b;null!==(b=this.privConversationTranslator)&&void 0!==b&&b.sessionStarted&&this.privConversationTranslator.sessionStarted(this.privConversationTranslator,p)}catch{}},this.onDisconnected=p=>{try{var b;null!==(b=this.privConversationTranslator)&&void 0!==b&&b.sessionStopped&&this.privConversationTranslator.sessionStopped(this.privConversationTranslator,p)}catch{}finally{this.close(!1)}},this.onCanceled=(p,b)=>{try{var R;null!==(R=this.privConversationTranslator)&&void 0!==R&&R.canceled&&this.privConversationTranslator.canceled(this.privConversationTranslator,b)}catch{}},this.onParticipantUpdateCommandReceived=(p,b)=>{try{const R=this.privParticipants.getParticipant(b.id);if(void 0!==R){switch(b.key){case o.ConversationTranslatorCommandTypes.changeNickname:R.displayName=b.value;break;case o.ConversationTranslatorCommandTypes.setUseTTS:R.isUsingTts=b.value;break;case o.ConversationTranslatorCommandTypes.setProfanityFiltering:R.profanity=b.value;break;case o.ConversationTranslatorCommandTypes.setMute:R.isMuted=b.value;break;case o.ConversationTranslatorCommandTypes.setTranslateToLanguages:R.translateToLanguages=b.value}this.privParticipants.addOrUpdateParticipant(R),this.privConversationTranslator&&this.privConversationTranslator.participantsChanged(this.privConversationTranslator,new E.ConversationParticipantsChangedEventArgs(E.ParticipantChangedReason.Updated,[this.toParticipant(R)],b.sessionId))}}catch{}},this.onLockRoomCommandReceived=()=>{},this.onMuteAllCommandReceived=(p,b)=>
1{try{this.privParticipants.participants.forEach(R=>R.isMuted=!R.isHost&&b.isMuted),this.privConversationTranslator&&this.privConversationTranslator.participantsChanged(this.privConversationTranslator,new E.ConversationParticipantsChangedEventArgs(E.ParticipantChangedReason.Updated,this.toParticipants(!1),b.sessionId))}catch{}},this.onParticipantJoinCommandReceived=(p,b)=>{try{const R=this.privParticipants.addOrUpdateParticipant(b.participant);void 0!==R&&this.privConversationTranslator&&this.privConversationTranslator.participantsChanged(this.privConversationTranslator,new E.ConversationParticipantsChangedEventArgs(E.ParticipantChangedReason.JoinedConversation,[this.toParticipant(R)],b.sessionId))}catch{}},this.onParticipantLeaveCommandReceived=(p,b)=>{try{const R=this.privParticipants.getParticipant(b.participant.id);void 0!==R&&(this.privParticipants.deleteParticipant(b.participant.id),this.privConversationTranslator&&this.privConversationTranslator.participantsChanged(this.privConversationTranslator,new E.ConversationParticipantsChangedEventArgs(E.ParticipantChangedReason.LeftConversation,[this.toParticipant(R)],b.sessionId)))}catch{}},this.onTranslationReceived=(p,b)=>{try{switch(b.command){case o.ConversationTranslatorMessageTypes.final:this.privConversationTranslator&&this.privConversationTranslator.transcribed(this.privConversationTranslator,new E.ConversationTranslationEventArgs(b.payload,void 0,b.sessionId));break;case o.ConversationTranslatorMessageTypes.partial:this.privConversationTranslator&&this.privConversationTranslator.transcribing(this.privConversationTranslator,new E.ConversationTranslationEventArgs(b.payload,void 0,b.sessionId));break;case o.ConversationTranslatorMessageTypes.instantMessage:this.privConversationTranslator&&this.privConversationTranslator.textMessageReceived(this.privConversationTranslator,new E.ConversationTranslationEventArgs(b.payload,void 0,b.sessionId))}}catch{}},this.onParticipantsListReceived=(p,b)=>{try{if(null!=b.sessionToken&&(this.privRoom.token=b.sessionToken),this.privParticipants.participants=[...b.participants],void 0!==this.privParticipants.me&&(this.privIsReady=!0),this.privConversationTranslator&&this.privConversationTranslator.participantsChanged(this.privConversationTranslator,new E.ConversationParticipantsChangedEventArgs(E.ParticipantChangedReason.JoinedConversation,this.toParticipants(!0),b.sessionId)),this.me.isHost){var R;const P=null===(R=this.privConversationTranslator)||void 0===R?void 0:R.properties.getProperty(E.PropertyId.ConversationTranslator_Name);void 0!==P&&P.length>0&&P!==this.me.displayName&&this.changeNicknameAsync(P)}}catch{}},this.onConversationExpiration=(p,b)=>{try{this.privConversationTranslator&&this.privConversationTranslator.conversationExpiration(this.privConversationTranslator,b)}catch{}},this.privIsConnected=!1,this.privIsDisposed=!1,this.privConversationId="",this.privProperties=new E.PropertyCollection,this.privManager=new o.ConversationManager,u.getProperty(E.PropertyId[E.PropertyId.SpeechServiceConnection_RecoLanguage])||u.setProperty(E.PropertyId[E.PropertyId.SpeechServiceConnection_RecoLanguage],o.ConversationConnectionConfig.defaultLanguageCode),this.privLanguage=u.getProperty(E.PropertyId[E.PropertyId.SpeechServiceConnection_RecoLanguage]),v)this.privConversationId=v;else{0===u.targetLanguages.length&&u.addTargetLanguage(this.privLanguage),u.getProperty(E.PropertyId[E.PropertyId.SpeechServiceResponse_ProfanityOption])||u.setProfanity(E.ProfanityOption.Masked);let b=u.getProperty(E.PropertyId[E.PropertyId.ConversationTranslator_Name]);null==b&&(b="Host"),a.Contracts.throwIfNullOrTooLong(b,"nickname",50),a.Contracts.throwIfNullOrTooShort(b,"nickname",2),u.setProperty(E.PropertyId[E.PropertyId.ConversationTranslator_Name],b)}this.privConfig=u;const y=u;a.Contracts.throwIfNull(y,"speechConfig"),this.privProperties=y.properties.clone(),this.privIsConnected=!1,this.privParticipants=new o.InternalParticipants,this.privIsReady=!1,this.privTextMessageMaxLength=1e3}get room(){return this.privRoom}get connection(){return this.privConversationRecognizer}get config(){return this.privConfig}get conversationId(){return this.privRoom?this.privRoom.roomId:this.privConversationId}get properties(){return this.privProperties}get speechRecognitionLanguage(){return this.privLanguage}get isMutedByHost(){var u,v;return(null===(u=this.privParticipants.me)||void 0===u||!u.isHost)&&(null===(v=this.privParticipants.me)||void 0===v?void 0:v.isMuted)}get isConnected(){return this.privIsConnected&&this.privIsReady}get participants(){return this.toParticipants(!0)}get me(){return this.toParticipant(this.privParticipants.me)}get host(){return this.toParticipant(this.privParticipants.host)}get transcriberRecognizer(){return this.privTranscriberRecognizer}get conversationInfo(){const u=this.conversationId,v=this.participants.map(p=>({id:p.id,preferredLanguage:p.preferredLanguage,voice:p.voice})),g={};
1for(const p of o.ConversationConnectionConfig.transcriptionEventKeys){const b=this.properties.getProperty(p,"");""!==b&&(g[p]=b)}return{id:u,participants:v,conversationProperties:g}}get canSend(){var u;return this.privIsConnected&&!(null!==(u=this.privParticipants.me)&&void 0!==u&&u.isMuted)}get canSendAsHost(){var u;return this.privIsConnected&&(null===(u=this.privParticipants.me)||void 0===u?void 0:u.isHost)}get authorizationToken(){return this.privToken}set authorizationToken(u){a.Contracts.throwIfNullOrWhitespace(u,"authorizationToken"),this.privToken=u}set conversationTranslator(u){this.privConversationTranslator=u}onToken(u){this.privConversationTranslator.onToken(u)}createConversationAsync(u,v){try{this.privConversationRecognizer&&this.handleError(new Error(this.privErrors.permissionDeniedStart),v),this.privManager.createOrJoin(this.privProperties,void 0,g=>{g||this.handleError(new Error(this.privErrors.permissionDeniedConnect),v),this.privRoom=g,this.handleCallback(u,v)},g=>{this.handleError(g,v)})}catch(g){this.handleError(g,v)}}startConversationAsync(u,v){try{this.privConversationRecognizer&&this.handleError(new Error(this.privErrors.permissionDeniedStart),v),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedConnect),this.privParticipants.meId=this.privRoom.participantId,this.privConversationRecognizer=o.ConversationRecognizerFactory.fromConfig(this,this.privConfig),this.privConversationRecognizer.connected=this.onConnected,this.privConversationRecognizer.disconnected=this.onDisconnected,this.privConversationRecognizer.canceled=this.onCanceled,this.privConversationRecognizer.participantUpdateCommandReceived=this.onParticipantUpdateCommandReceived,this.privConversationRecognizer.lockRoomCommandReceived=this.onLockRoomCommandReceived,this.privConversationRecognizer.muteAllCommandReceived=this.onMuteAllCommandReceived,this.privConversationRecognizer.participantJoinCommandReceived=this.onParticipantJoinCommandReceived,this.privConversationRecognizer.participantLeaveCommandReceived=this.onParticipantLeaveCommandReceived,this.privConversationRecognizer.translationReceived=this.onTranslationReceived,this.privConversationRecognizer.participantsListReceived=this.onParticipantsListReceived,this.privConversationRecognizer.conversationExpiration=this.onConversationExpiration,this.privConversationRecognizer.connect(this.privRoom.token,()=>{this.handleCallback(u,v)},g=>{this.handleError(g,v)})}catch(g){this.handleError(g,v)}}addParticipantAsync(u,v,g){a.Contracts.throwIfNullOrUndefined(u,"Participant"),C.marshalPromiseToCallbacks(this.addParticipantImplAsync(u),v,g)}joinConversationAsync(u,v,g,y,p){try{a.Contracts.throwIfNullOrWhitespace(u,this.privErrors.invalidArgs.replace("{arg}","conversationId")),a.Contracts.throwIfNullOrWhitespace(v,this.privErrors.invalidArgs.replace("{arg}","nickname")),a.Contracts.throwIfNullOrWhitespace(g,this.privErrors.invalidArgs.replace("{arg}","language")),this.privManager.createOrJoin(this.privProperties,u,b=>{a.Contracts.throwIfNullOrUndefined(b,this.privErrors.permissionDeniedConnect),this.privRoom=b,this.privConfig.authorizationToken=b.cognitiveSpeechAuthToken,y&&y(b.cognitiveSpeechAuthToken)},b=>{this.handleError(b,p)})}catch(b){this.handleError(b,p)}}deleteConversationAsync(u,v){C.marshalPromiseToCallbacks(this.deleteConversationImplAsync(),u,v)}deleteConversationImplAsync(){var u=this;return c(function*(){a.Contracts.throwIfNullOrUndefined(u.privProperties,u.privErrors.permissionDeniedConnect),a.Contracts.throwIfNullOrWhitespace(u.privRoom.token,u.privErrors.permissionDeniedConnect),yield u.privManager.leave(u.privProperties,u.privRoom.token),u.dispose()})()}endConversationAsync(u,v){C.marshalPromiseToCallbacks(this.endConversationImplAsync(),u,v)}endConversationImplAsync(){return this.close(!0)}lockConversationAsync(u,v){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedConversation.replace("{command}","lock")),v),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getLockCommand(!0),()=>{this.handleCallback(u,v)},g=>{this.handleError(g,v)})}catch(g){this.handleError(g,v)}}muteAllParticipantsAsync(u,v){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.C
1ontracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrUndefined(this.privConversationRecognizer,this.privErrors.permissionDeniedSend),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedConversation.replace("{command}","mute")),v),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getMuteAllCommand(!0),()=>{this.handleCallback(u,v)},g=>{this.handleError(g,v)})}catch(g){this.handleError(g,v)}}muteParticipantAsync(u,v,g){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrWhitespace(u,this.privErrors.invalidArgs.replace("{arg}","userId")),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),g),!this.me.isHost&&this.me.id!==u&&this.handleError(new Error(this.privErrors.permissionDeniedParticipant.replace("{command}","mute")),g),-1===this.privParticipants.getParticipantIndex(u)&&this.handleError(new Error(this.privErrors.invalidParticipantRequest),g),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getMuteCommand(u,!0),()=>{this.handleCallback(v,g)},p=>{this.handleError(p,g)})}catch(y){this.handleError(y,g)}}removeParticipantAsync(u,v,g){try{if(a.Contracts.throwIfDisposed(this.privIsDisposed),this.privTranscriberRecognizer&&u.hasOwnProperty("id"))C.marshalPromiseToCallbacks(this.removeParticipantImplAsync(u),v,g);else{a.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedParticipant.replace("{command}","remove")),g);let y="";"string"==typeof u?y=u:u.hasOwnProperty("id")?y=u.id:u.hasOwnProperty("userId")&&(y=u.userId),a.Contracts.throwIfNullOrWhitespace(y,this.privErrors.invalidArgs.replace("{arg}","userId")),-1===this.participants.findIndex(b=>b.id===y)&&this.handleError(new Error(this.privErrors.invalidParticipantRequest),g),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getEjectCommand(y),()=>{this.handleCallback(v,g)},b=>{this.handleError(b,g)})}}catch(y){this.handleError(y,g)}}unlockConversationAsync(u,v){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedConversation.replace("{command}","unlock")),v),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getLockCommand(!1),()=>{this.handleCallback(u,v)},g=>{this.handleError(g,v)})}catch(g){this.handleError(g,v)}}unmuteAllParticipantsAsync(u,v){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedConversation.replace("{command}","unmute all")),v),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getMuteAllCommand(!1),()=>{this.handleCallback(u,v)},g=>{this.handleError(g,v)})}catch(g){this.handleError(g,v)}}unmuteParticipantAsync(u,v,g){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrWhitespace(u,this.privErrors.invalidArgs.replace("{arg}","userId")),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),g),!this.me.isHost&&this.me.id!==u&&this.handleError(new Error(this.privErrors.permissionDeniedParticipant.replace("{command}","mute")),g),-1===this.privParticipants.getParticipantIndex(u)&&this.handleError(new Error(this.privErrors.invalidParticipantRequest),g),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getMuteCommand(u,!1),()=>{this.handleCallback(v,g)},p=>{this.handleError(p,g)})}catch(y){this.handleError(y,g)}}sendTextMessageAsync(u,v,g){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.C
1ontracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrWhitespace(u,this.privErrors.invalidArgs.replace("{arg}","message")),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),g),u.length>this.privTextMessageMaxLength&&this.handleError(new Error(this.privErrors.invalidArgs.replace("{arg}","message length")),g),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getMessageCommand(u),()=>{this.handleCallback(v,g)},y=>{this.handleError(y,g)})}catch(y){this.handleError(y,g)}}setTranslatedLanguagesAsync(u,v,g){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfArrayEmptyOrWhitespace(u,this.privErrors.invalidArgs.replace("{arg}","languages")),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),g),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getSetTranslateToLanguagesCommand(u),()=>{this.handleCallback(v,g)},y=>{this.handleError(y,g)})}catch(y){this.handleError(y,g)}}changeNicknameAsync(u,v,g){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrWhitespace(u,this.privErrors.invalidArgs.replace("{arg}","nickname")),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),g),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getChangeNicknameCommand(u),()=>{this.handleCallback(v,g)},y=>{this.handleError(y,g)})}catch(y){this.handleError(y,g)}}isDisposed(){return this.privIsDisposed}dispose(){this.isDisposed||(this.privIsDisposed=!0,this.config&&this.config.close(),this.privConfig=void 0,this.privLanguage=void 0,this.privProperties=void 0,this.privRoom=void 0,this.privToken=void 0,this.privManager=void 0,this.privIsConnected=!1,this.privIsReady=!1,this.privParticipants=void 0)}connectTranscriberRecognizer(u){var v=this;return c(function*(){v.privTranscriberRecognizer&&(yield v.privTranscriberRecognizer.close()),yield u.enforceAudioGating(),v.privTranscriberRecognizer=u,v.privTranscriberRecognizer.conversation=v})()}getKeepAlive(){return JSON.stringify({id:"0",nickname:this.me?this.me.displayName:"default_nickname",participantId:this.privRoom.participantId,roomId:this.privRoom.roomId,type:o.ConversationTranslatorMessageTypes.keepAlive})}addParticipantImplAsync(u){if(void 0!==this.privParticipants.addOrUpdateParticipant(u)&&this.privTranscriberRecognizer){const g=this.conversationInfo;return g.participants=[u],this.privTranscriberRecognizer.pushConversationEvent(g,"join")}}removeParticipantImplAsync(u){this.privParticipants.deleteParticipant(u.id);const v=this.conversationInfo;return v.participants=[u],this.privTranscriberRecognizer.pushConversationEvent(v,"leave")}close(u){var v=this;return c(function*(){try{var g;v.privIsConnected=!1,yield null===(g=v.privConversationRecognizer)||void 0===g?void 0:g.close(),v.privConversationRecognizer=void 0,v.privConversationTranslator&&v.privConversationTranslator.dispose()}catch(y){throw y}u&&v.dispose()})()}handleCallback(u,v){if(u){try{u()}catch(g){v&&v(g)}u=void 0}}handleError(u,v){v&&(u instanceof Error?v(u.name+": "+u.message):v(u))}toParticipants(u){const v=this.privParticipants.participants.map(g=>this.toParticipant(g));return u?v:v.filter(g=>!1===g.isHost)}toParticipant(u){return new E.Participant(u.id,u.avatar,u.displayName,u.isHost,u.isMuted,u.isUsingTts,u.preferredLanguage,u.voice)}getMuteAllCommand(u){return a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),a.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),JSON.stringify({command:o.ConversationTranslatorCommandTypes.setMuteAll,participantId:this.privRoom.participantId,roomid:this.privRoom.roomId,type:o.ConversationTranslatorMessageTypes.participantCommand,value:u})}
1getMuteCommand(u,v){return a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),a.Contracts.throwIfNullOrWhitespace(u,"participantId"),JSON.stringify({command:o.ConversationTranslatorCommandTypes.setMute,participantId:u,roomid:this.privRoom.roomId,type:o.ConversationTranslatorMessageTypes.participantCommand,value:v})}getLockCommand(u){return a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),a.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),JSON.stringify({command:o.ConversationTranslatorCommandTypes.setLockState,participantId:this.privRoom.participantId,roomid:this.privRoom.roomId,type:o.ConversationTranslatorMessageTypes.participantCommand,value:u})}getEjectCommand(u){return a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),a.Contracts.throwIfNullOrWhitespace(u,"participantId"),JSON.stringify({command:o.ConversationTranslatorCommandTypes.ejectParticipant,participantId:u,roomid:this.privRoom.roomId,type:o.ConversationTranslatorMessageTypes.participantCommand})}getSetTranslateToLanguagesCommand(u){return a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),a.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),JSON.stringify({command:o.ConversationTranslatorCommandTypes.setTranslateToLanguages,participantId:this.privRoom.participantId,roomid:this.privRoom.roomId,type:o.ConversationTranslatorMessageTypes.participantCommand,value:u})}getChangeNicknameCommand(u){return a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),a.Contracts.throwIfNullOrWhitespace(u,"nickname"),a.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),JSON.stringify({command:o.ConversationTranslatorCommandTypes.changeNickname,nickname:u,participantId:this.privRoom.participantId,roomid:this.privRoom.roomId,type:o.ConversationTranslatorMessageTypes.participantCommand,value:u})}getMessageCommand(u){return a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),a.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),a.Contracts.throwIfNullOrWhitespace(u,"message"),JSON.stringify({participantId:this.privRoom.participantId,roomId:this.privRoom.roomId,text:u,type:o.ConversationTranslatorMessageTypes.instantMessage})}}_.ConversationImpl=s},52716:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationCommon=void 0,_.ConversationCommon=class f{constructor(o){this.privAudioConfig=o}handleCallback(o,C){if(o){try{o()}catch(a){C&&C(a)}o=void 0}}handleError(o,C){C&&(o instanceof Error?C(o.name+": "+o.message):C(o))}}},72203:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationExpirationEventArgs=void 0;const c=f(15912);_.ConversationExpirationEventArgs=class o extends c.SessionEventArgs{constructor(a,E){super(E),this.privExpirationTime=a}get expirationTime(){return this.privExpirationTime}}},20538:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationParticipantsChangedEventArgs=void 0;const c=f(15912);_.ConversationParticipantsChangedEventArgs=class o extends c.SessionEventArgs{constructor(a,E,T){super(T),this.privReason=a,this.privParticipant=E}get reason(){return this.privReason}get participants(){return this.privParticipant}}},55530:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationTranscriber=void 0;const o=f(67971),C=f(13155),a=f(8804),E=f(15912);class T extends E.Recognizer{constructor(h,u){const v=h;a.Contracts.throwIfNull(v,"speechConfig"),a.Contracts.throwIfNullOrWhitespace(v.properties.getProperty(E.PropertyId.SpeechServiceConnection_RecoLanguage),E.PropertyId[E.PropertyId.SpeechServiceConnection_RecoLanguage]),super(u,v.properties,new o.ConversationTranscriberConnectionFactory),this.privProperties.setProperty(E.PropertyId.SpeechServiceConnection_RecognitionEndpointVersion,"2"),this.privDisposedRecognizer=!1}static FromConfig(h,u,v){return u.properties.mergeTo(h.properties),new T(h,v)}get endpointId(){return a.Contracts.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(E.PropertyId.SpeechServiceConnection_EndpointId,"00000000-0000-0000-0000-000000000000")}get authorizationToken(){return this.properties.getProperty(E.PropertyId.SpeechServiceAuthorization_Token)}set authorizationToken(h){a.Contracts.throwIfNullOrWhitespace(h,"token"),this.properties.setProperty(E.PropertyId.SpeechServiceAuthorization_Token,h)}get speechRecognitionLanguage(){return a.Contracts.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(E.PropertyId.SpeechServiceConnection_RecoLanguage)}get outputFormat(){return a.Contracts.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(o.OutputFormatPropertyName,
1E.OutputFormat[E.OutputFormat.Simple])===E.OutputFormat[E.OutputFormat.Simple]?E.OutputFormat.Simple:E.OutputFormat.Detailed}get properties(){return this.privProperties}startTranscribingAsync(h,u){C.marshalPromiseToCallbacks(this.startContinuousRecognitionAsyncImpl(o.RecognitionMode.Conversation),h,u)}stopTranscribingAsync(h,u){C.marshalPromiseToCallbacks(this.stopContinuousRecognitionAsyncImpl(),h,u)}close(h,u){a.Contracts.throwIfDisposed(this.privDisposedRecognizer),C.marshalPromiseToCallbacks(this.dispose(!0),h,u)}dispose(h){var u=()=>super.dispose,v=this;return c(function*(){v.privDisposedRecognizer||(h&&(v.privDisposedRecognizer=!0,yield v.implRecognizerStop()),yield u().call(v,h))})()}createRecognizerConfig(h){return new o.RecognizerConfig(h,this.privProperties)}createServiceRecognizer(h,u,v,g){const y=v;return g.isSpeakerDiarizationEnabled=!0,new o.ConversationTranscriptionServiceRecognizer(h,u,y,g,this)}}_.ConversationTranscriber=T},58936:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationTranscriptionResult=void 0;const c=f(15912);_.ConversationTranscriptionResult=class o extends c.RecognitionResult{constructor(a,E,T,s,h,u,v,g,y,p,b){super(a,E,T,s,h,u,v,y,p,b),this.privSpeakerId=g}get speakerId(){return this.privSpeakerId}}},5392:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationTranslationCanceledEventArgs=void 0;const c=f(99986);_.ConversationTranslationCanceledEventArgs=class o extends c.CancellationEventArgsBase{}},81761:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationTranslationEventArgs=void 0;const c=f(15912);_.ConversationTranslationEventArgs=class o extends c.RecognitionEventArgs{constructor(a,E,T){super(E,T),this.privResult=a}get result(){return this.privResult}}},10911:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationTranslationResult=void 0;const c=f(57624);_.ConversationTranslationResult=class o extends c.TranslationRecognitionResult{constructor(a,E,T,s,h,u,v,g,y,p,b){super(E,s,h,u,v,g,void 0,void 0,y,p,b),this.privId=a,this.privOrigLang=T}get participantId(){return this.privId}get originalLang(){return this.privOrigLang}}},92967:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.ConversationTranslator=_.SpeechState=void 0;const o=f(67971),C=f(45150),a=f(13155),E=f(8804),T=f(15912),s=f(58753),h=f(88871);var u,y;(y=u=_.SpeechState||(_.SpeechState={}))[y.Inactive=0]="Inactive",y[y.Connecting=1]="Connecting",y[y.Connected=2]="Connected";class v extends T.TranslationRecognizer{constructor(p,b,R,P){var k;super(p,b,new C.ConversationTranslatorConnectionFactory(P)),k=this,this.privSpeechState=u.Inactive,R&&(this.privTranslator=R,this.sessionStarted=()=>{this.privSpeechState=u.Connected},this.sessionStopped=()=>{this.privSpeechState=u.Inactive},this.recognizing=(O,V)=>{this.privTranslator.recognizing&&this.privTranslator.recognizing(this.privTranslator,V)},this.recognized=function(){var O=c(function*(V,K){var z;null!==(z=K.result)&&void 0!==z&&z.errorDetails?(yield k.cancelSpeech(),k.fireCancelEvent(K.result.errorDetails)):k.privTranslator.recognized&&k.privTranslator.recognized(k.privTranslator,K)});return function(V,K){return O.apply(this,arguments)}}(),this.canceled=c(function*(){if(k.privSpeechState!==u.Inactive)try{yield k.cancelSpeech()}catch{k.privSpeechState=u.Inactive}}))}get state(){return this.privSpeechState}set state(p){this.privSpeechState=p}set authentication(p){this.privReco.authentication=p}onConnection(){this.privSpeechState=u.Connected}onCancelSpeech(){var p=this;return c(function*(){p.privSpeechState=u.Inactive,yield p.cancelSpeech()})()}fireCancelEvent(p){try{if(this.privTranslator.canceled){const b=new h.ConversationTranslationCanceledEventArgs(T.CancellationReason.Error,p,T.CancellationErrorCode.RuntimeError);this.privTranslator.canceled(this.privTranslator,b)}}catch{}}cancelSpeech(){var p=this;return c(function*(){try{var b;p.stopContinuousRecognitionAsync(),yield null===(b=p.privReco)||void 0===b?void 0:b.disconnect(),p.privSpeechState=u.Inactive}catch{}})()}}_.ConversationTranslator=class g extends h.ConversationCommon{constructor(p){super(p),this.privErrors=o.ConversationConnectionConfig.restErrors,this.privIsDisposed=!1,this.privIsSpeaking=!1,this.privPlaceholderKey="abcdefghijklmnopqrstuvwxyz012345",this.privPlaceholderRegion="westus",this.privProperties=new T.PropertyCollection}get properties(){return this.privProperties}get speechRecognitionLanguage(){return this.privSpeechRecognitionLanguage}get participants(){var p;return null===(p=this.privConversation)||void 0===p?void 0:p.participants}get canSpeak(){return!(!this.privConversation.isConnected||!this.privCTRecognizer||this.privIsSpeaking||this.privCTRecognizer.state===u.Connected||this.privCTRecognizer.state===u.Connecting||this.privConversation.isMutedByHost)}onToken(p){this.privCTRecognizer.authentication=p}setServiceProperty(p,b){const R=JSON.parse(this.privProperties.getProperty(o.ServicePropertiesPropertyName,"{}"));R[p]=b,this.privProperties.setProperty(o.ServicePropertiesPropertyName,JSON.stringify(R))}joinConversationAsync(p,b,R,P,k){try{if("string"==typeof p){E.Contracts.throwIfNullOrUndefined(p,this.privErrors.invalidArgs.replace("{arg}","conversation id")),E.Contracts.throwIfNullOrWhitespace(b,this.privErrors.invalidArgs.replace("{arg}","nickname")),this.privConversation&&this.handleError(new Error(this.privErrors.permissionDeniedStart),k);let O=R;(null==O||""===O)&&(O=o.ConversationConnectionConfig.defaultLanguageCode),this.privSpeechTranslationConfig=T.SpeechTranslationConfig.fromSubscription(this.privPlaceholderKey,this.privPlaceholderRegion),this.privSpeechTranslationConfig.setProfanity(T.ProfanityOption.Masked),this.privSpeechTranslationConfig.addTargetLanguage(O),this.privSpeechTranslationConfig.setProperty(T.PropertyId[T.PropertyId.SpeechServiceConnection_RecoLanguage],O),this.privSpeechTranslationConfig.setProperty(T.PropertyId[T.PropertyId.ConversationTranslator_Name],b);const V=[T.PropertyId.SpeechServiceConnection_Host,T.PropertyId.ConversationTranslator_Host,T.PropertyId.SpeechServiceConnection_Endpoint,T.PropertyId.SpeechServiceConnection_ProxyHostName,T.PropertyId.SpeechServiceConnection_ProxyPassword,T.PropertyId.SpeechServiceConnection_ProxyPort,T.PropertyId.SpeechServiceConnection_ProxyUserName,"ConversationTranslator_MultiChannelAudio","ConversationTranslator_Region"];for(const z of V){const H=this.privProperties.getProperty(z);
1H&&this.privSpeechTranslationConfig.setProperty("string"==typeof z?z:T.PropertyId[z],H)}const K=JSON.parse(this.privProperties.getProperty(o.ServicePropertiesPropertyName,"{}"));for(const z of Object.keys(K))this.privSpeechTranslationConfig.setServiceProperty(z,K[z],T.ServicePropertyChannel.UriQueryParameter);this.privConversation=new s.ConversationImpl(this.privSpeechTranslationConfig),this.privConversation.conversationTranslator=this,this.privConversation.joinConversationAsync(p,b,O,z=>{z||this.handleError(new Error(this.privErrors.permissionDeniedConnect),k),this.privSpeechTranslationConfig.authorizationToken=z,this.privConversation.room.isHost=!1,this.privConversation.startConversationAsync(()=>{this.handleCallback(P,k)},H=>{this.handleError(H,k)})},z=>{this.handleError(z,k)})}else"object"==typeof p?(E.Contracts.throwIfNullOrUndefined(p,this.privErrors.invalidArgs.replace("{arg}","conversation id")),E.Contracts.throwIfNullOrWhitespace(b,this.privErrors.invalidArgs.replace("{arg}","nickname")),this.privProperties.setProperty(T.PropertyId.ConversationTranslator_Name,b),this.privConversation=p,this.privConversation.conversationTranslator=this,this.privConversation.room.isHost=!0,E.Contracts.throwIfNullOrUndefined(this.privConversation,this.privErrors.permissionDeniedConnect),E.Contracts.throwIfNullOrUndefined(this.privConversation.room.token,this.privErrors.permissionDeniedConnect),this.privSpeechTranslationConfig=p.config,this.handleCallback(R,P)):this.handleError(new Error(this.privErrors.invalidArgs.replace("{arg}","invalid conversation type")),P)}catch(O){this.handleError(O,"string"==typeof R?k:P)}}leaveConversationAsync(p,b){var R=this;a.marshalPromiseToCallbacks(c(function*(){yield R.cancelSpeech(),yield R.privConversation.endConversationImplAsync(),yield R.privConversation.deleteConversationImplAsync(),R.dispose()})(),p,b)}sendTextMessageAsync(p,b,R){try{E.Contracts.throwIfNullOrUndefined(this.privConversation,this.privErrors.permissionDeniedSend),E.Contracts.throwIfNullOrWhitespace(p,this.privErrors.invalidArgs.replace("{arg}",p)),this.privConversation.sendTextMessageAsync(p,b,R)}catch(P){this.handleError(P,R)}}startTranscribingAsync(p,b){var R=this;a.marshalPromiseToCallbacks(c(function*(){try{E.Contracts.throwIfNullOrUndefined(R.privConversation,R.privErrors.permissionDeniedSend),E.Contracts.throwIfNullOrUndefined(R.privConversation.room.token,R.privErrors.permissionDeniedConnect),void 0===R.privCTRecognizer&&(yield R.connectTranslatorRecognizer()),E.Contracts.throwIfNullOrUndefined(R.privCTRecognizer,R.privErrors.permissionDeniedSend),R.canSpeak||R.handleError(new Error(R.privErrors.permissionDeniedSend),b),yield R.startContinuousRecognition(),R.privIsSpeaking=!0}catch(P){throw R.privIsSpeaking=!1,yield R.cancelSpeech(),P}})(),p,b)}stopTranscribingAsync(p,b){var R=this;a.marshalPromiseToCallbacks(c(function*(){try{if(!R.privIsSpeaking)return void(yield R.cancelSpeech());R.privIsSpeaking=!1,yield new Promise((P,k)=>{R.privCTRecognizer.stopContinuousRecognitionAsync(P,k)})}catch{yield R.cancelSpeech()}})(),p,b)}isDisposed(){return this.privIsDisposed}dispose(p,b,R){var P=this;a.marshalPromiseToCallbacks(c(function*(){P.isDisposed&&!P.privIsSpeaking||(yield P.cancelSpeech(),P.privIsDisposed=!0,P.privSpeechTranslationConfig.close(),P.privSpeechRecognitionLanguage=void 0,P.privProperties=void 0,P.privAudioConfig=void 0,P.privSpeechTranslationConfig=void 0,P.privConversation.dispose(),P.privConversation=void 0)})(),b,R)}cancelSpeech(){var p=this;return c(function*(){try{var b;p.privIsSpeaking=!1,yield null===(b=p.privCTRecognizer)||void 0===b?void 0:b.onCancelSpeech(),p.privCTRecognizer=void 0}catch{}})()}connectTranslatorRecognizer(){var p=this;return c(function*(){try{void 0===p.privAudioConfig&&(p.privAudioConfig=T.AudioConfig.fromDefaultMicrophoneInput()),p.privSpeechTranslationConfig.getProperty(T.PropertyId[T.PropertyId.SpeechServiceConnection_Key])===p.privPlaceholderKey&&p.privSpeechTranslationConfig.setProperty(T.PropertyId[T.PropertyId.SpeechServiceConnection_Key],""),p.privCTRecognizer=new v(p.privSpeechTranslationConfig,p.privAudioConfig,p,()=>p.privConversation)}catch(b){throw yield p.cancelSpeech(),b}})()}startContinuousRecognition(){return new Promise((p,b)=>{this.privCTRecognizer.startContinuousRecognitionAsync(p,b)})}}},88871:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0});var c=f(58753);Object.defineProperty(_,"Conversation",{enumerable:!0,get:function(){return c.Conversation}}),Object.defineProperty(_,"ConversationImpl",{enumerable:!0,get:function(){return c.ConversationImpl}});var o=f(52716);Object.defineProperty(_,"ConversationCommon",{enumerable:!0,get:function(){return o.ConversationCommon}});var C=f(72203);Object.defineProperty(_,"ConversationExpirationEventArgs",{enumerable:!0,get:function(){return C.ConversationExpirationEventArgs}});var a=f(20538);Object.defineProperty(_,"ConversationParticipantsChangedEventArgs",{enumerable:!0,get:function(){return a.ConversationParticipantsChangedEventArgs}});var E=f(5392);Object.defineProperty(_,"ConversationTranslationCanceledEventArgs",{enumerable:!0,get:function(){return E.ConversationTranslationCanceledEventArgs}});var T=f(81761);Object.defineProperty(_,"ConversationTranslationEventArgs",{enumerable:!0,get:function(){return T.ConversationTranslationEventArgs}});var s=f(10911);Object.defineProperty(_,"ConversationTranslationResult",{enumerable:!0,get:function(){return s.ConversationTranslationResult}});var h=f(92967);Object.defineProperty(_,"ConversationTranslator",{enumerable:!0,get:function(){return h.ConversationTranslator}});var u=f(55530);Object.defineProperty(_,"ConversationTranscriber",{enumerable:!0,get:function(){return u.ConversationTranscriber}});var v=f(28794);Object.defineProperty(_,"Participant",{enumerable:!0,get:function(){return v.Participant}}),Object.defineProperty(_,"User",{enumerable:!0,get:function(){return v.User}});var g=f(14993);Object.defineProperty(_,"ParticipantChangedReason",{enumerable:!0,get:function(){return g.ParticipantChangedReason}});var y=f(82541);Object.defineProperty(_,"Meeting",{enumerable:!0,get:function(){return y.Meeting}}),Object.defineProperty(_,"MeetingImpl",{enumerable:!0,get:function(){return y.MeetingImpl}});var p=f(10653);Object.defineProperty(_,"MeetingTranscriptionCanceledEventArgs",{enumerable:!0,get:function(){return p.MeetingTranscriptionCanceledEventArgs}});var b=f(56198);Object.defineProperty(_,"MeetingTranscriber",{enumerable:!0,get:function(){return b.MeetingTranscriber}});var R=f(58936);Object.defineProperty(_,"ConversationTranscriptionResult",{enumerable:!0,get:function(){return R.ConversationTranscriptionResult}})},28794:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Participant=_.User=void 0;const c=f(15912);_.User=class o{constructor(E){this.privUserId=E}get userId(){return this.privUserId}};class C{constructor(E,T,s,h,u,v,g,y){this.privId=E,this.privAvatar=T,this.privDisplayName=s,this.privIsHost=h,this.privIsMuted=u,this.privIsUsingTts=v,this.privPreferredLanguage=g,this.privVoice=y,this.privProperties=new c.PropertyCollection}get avatar(){return this.privAvatar}get displayName(){return this.privDisplayName}get id(){return this.privId}get preferredLanguage(){return this.privPreferredLanguage}get isHost(){return this.privIsHost}get isMuted(){return this.privIsMuted}get isUsingTts(){return this.privIsUsingTts}get voice(){return this.privVoice}get properties(){return this.privProperties}static From(E,T,s){return new C(E,"",E,!1,!1,!1,T,s)}}_.Participant=C},82541:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.MeetingImpl=_.Meeting=void 0;const o=f(67971),C=f(13155),a=f(8804),E=f(15912);class T{constructor(){}static createMeetingAsync(u,v,g,y){if(a.Contracts.throwIfNullOrUndefined(u,o.ConversationConnectionConfig.restErrors.invalidArgs.replace("{arg}","config")),a.Contracts.throwIfNullOrUndefined(u.region,o.ConversationConnectionConfig.restErrors.invalidArgs.replace("{arg}","SpeechServiceConnection_Region")),a.Contracts.throwIfNull(v,"meetingId"),0===v.length)throw new Error("meetingId cannot be empty");!u.subscriptionKey&&!u.getProperty(E.PropertyId[E.PropertyId.SpeechServiceAuthorization_Token])&&a.Contracts.throwIfNullOrUndefined(u.subscriptionKey,o.ConversationConnectionConfig.restErrors.invalidArgs.replace("{arg}","SpeechServiceConnection_Key"));const p=new s(u,v);return C.marshalPromiseToCallbacks(c(function*(){})(),g,y),p}}_.Meeting=T;
1class s extends T{constructor(u,v){super(),this.privErrors=o.ConversationConnectionConfig.restErrors,this.onConnected=p=>{this.privIsConnected=!0;try{var b;null!==(b=this.privConversationTranslator)&&void 0!==b&&b.sessionStarted&&this.privConversationTranslator.sessionStarted(this.privConversationTranslator,p)}catch{}},this.onDisconnected=p=>{try{var b;null!==(b=this.privConversationTranslator)&&void 0!==b&&b.sessionStopped&&this.privConversationTranslator.sessionStopped(this.privConversationTranslator,p)}catch{}finally{this.close(!1)}},this.onCanceled=(p,b)=>{try{var R;null!==(R=this.privConversationTranslator)&&void 0!==R&&R.canceled&&this.privConversationTranslator.canceled(this.privConversationTranslator,b)}catch{}},this.onParticipantUpdateCommandReceived=(p,b)=>{try{const R=this.privParticipants.getParticipant(b.id);if(void 0!==R){switch(b.key){case o.ConversationTranslatorCommandTypes.changeNickname:R.displayName=b.value;break;case o.ConversationTranslatorCommandTypes.setUseTTS:R.isUsingTts=b.value;break;case o.ConversationTranslatorCommandTypes.setProfanityFiltering:R.profanity=b.value;break;case o.ConversationTranslatorCommandTypes.setMute:R.isMuted=b.value;break;case o.ConversationTranslatorCommandTypes.setTranslateToLanguages:R.translateToLanguages=b.value}this.privParticipants.addOrUpdateParticipant(R),this.privConversationTranslator&&this.privConversationTranslator.participantsChanged(this.privConversationTranslator,new E.ConversationParticipantsChangedEventArgs(E.ParticipantChangedReason.Updated,[this.toParticipant(R)],b.sessionId))}}catch{}},this.onLockRoomCommandReceived=()=>{},this.onMuteAllCommandReceived=(p,b)=>
1{try{this.privParticipants.participants.forEach(R=>R.isMuted=!R.isHost&&b.isMuted),this.privConversationTranslator&&this.privConversationTranslator.participantsChanged(this.privConversationTranslator,new E.ConversationParticipantsChangedEventArgs(E.ParticipantChangedReason.Updated,this.toParticipants(!1),b.sessionId))}catch{}},this.onParticipantJoinCommandReceived=(p,b)=>{try{const R=this.privParticipants.addOrUpdateParticipant(b.participant);void 0!==R&&this.privConversationTranslator&&this.privConversationTranslator.participantsChanged(this.privConversationTranslator,new E.ConversationParticipantsChangedEventArgs(E.ParticipantChangedReason.JoinedConversation,[this.toParticipant(R)],b.sessionId))}catch{}},this.onParticipantLeaveCommandReceived=(p,b)=>{try{const R=this.privParticipants.getParticipant(b.participant.id);void 0!==R&&(this.privParticipants.deleteParticipant(b.participant.id),this.privConversationTranslator&&this.privConversationTranslator.participantsChanged(this.privConversationTranslator,new E.ConversationParticipantsChangedEventArgs(E.ParticipantChangedReason.LeftConversation,[this.toParticipant(R)],b.sessionId)))}catch{}},this.onTranslationReceived=(p,b)=>{try{switch(b.command){case o.ConversationTranslatorMessageTypes.final:this.privConversationTranslator&&this.privConversationTranslator.transcribed(this.privConversationTranslator,new E.ConversationTranslationEventArgs(b.payload,void 0,b.sessionId));break;case o.ConversationTranslatorMessageTypes.partial:this.privConversationTranslator&&this.privConversationTranslator.transcribing(this.privConversationTranslator,new E.ConversationTranslationEventArgs(b.payload,void 0,b.sessionId));break;case o.ConversationTranslatorMessageTypes.instantMessage:this.privConversationTranslator&&this.privConversationTranslator.textMessageReceived(this.privConversationTranslator,new E.ConversationTranslationEventArgs(b.payload,void 0,b.sessionId))}}catch{}},this.onParticipantsListReceived=(p,b)=>{try{if(null!=b.sessionToken&&(this.privRoom.token=b.sessionToken),this.privParticipants.participants=[...b.participants],void 0!==this.privParticipants.me&&(this.privIsReady=!0),this.privConversationTranslator&&this.privConversationTranslator.participantsChanged(this.privConversationTranslator,new E.ConversationParticipantsChangedEventArgs(E.ParticipantChangedReason.JoinedConversation,this.toParticipants(!0),b.sessionId)),this.me.isHost){var R;const P=null===(R=this.privConversationTranslator)||void 0===R?void 0:R.properties.getProperty(E.PropertyId.ConversationTranslator_Name);void 0!==P&&P.length>0&&P!==this.me.displayName&&this.changeNicknameAsync(P)}}catch{}},this.onConversationExpiration=(p,b)=>{try{this.privConversationTranslator&&this.privConversationTranslator.conversationExpiration(this.privConversationTranslator,b)}catch{}},this.privIsConnected=!1,this.privIsDisposed=!1,this.privConversationId="",this.privProperties=new E.PropertyCollection,this.privManager=new o.ConversationManager,u.getProperty(E.PropertyId[E.PropertyId.SpeechServiceConnection_RecoLanguage])||u.setProperty(E.PropertyId[E.PropertyId.SpeechServiceConnection_RecoLanguage],o.ConversationConnectionConfig.defaultLanguageCode),this.privLanguage=u.getProperty(E.PropertyId[E.PropertyId.SpeechServiceConnection_RecoLanguage]),this.privConversationId=v,this.privConfig=u;const y=u;a.Contracts.throwIfNull(y,"speechConfig"),this.privProperties=y.properties.clone(),this.privIsConnected=!1,this.privParticipants=new o.InternalParticipants,this.privIsReady=!1,this.privTextMessageMaxLength=1e3}get room(){return this.privRoom}get connection(){return this.privConversationRecognizer}get config(){return this.privConfig}get meetingId(){return this.privRoom?this.privRoom.roomId:this.privConversationId}get properties(){return this.privProperties}get speechRecognitionLanguage(){return this.privLanguage}get isMutedByHost(){var u,v;return(null===(u=this.privParticipants.me)||void 0===u||!u.isHost)&&(null===(v=this.privParticipants.me)||void 0===v?void 0:v.isMuted)}get isConnected(){return this.privIsConnected&&this.privIsReady}get participants(){return this.toParticipants(!0)}get me(){return this.toParticipant(this.privParticipants.me)}get host(){return this.toParticipant(this.privParticipants.host)}get transcriberRecognizer(){return this.privTranscriberRecognizer}get meetingInfo(){const u=this.meetingId,v=this.participants.map(p=>({id:p.id,preferredLanguage:p.preferredLanguage,voice:p.voice})),g={};
1for(const p of o.ConversationConnectionConfig.transcriptionEventKeys){const b=this.properties.getProperty(p,"");""!==b&&(g[p]=b)}return{id:u,participants:v,meetingProperties:g}}get canSend(){var u;return this.privIsConnected&&!(null!==(u=this.privParticipants.me)&&void 0!==u&&u.isMuted)}get canSendAsHost(){var u;return this.privIsConnected&&(null===(u=this.privParticipants.me)||void 0===u?void 0:u.isHost)}get authorizationToken(){return this.privToken}set authorizationToken(u){a.Contracts.throwIfNullOrWhitespace(u,"authorizationToken"),this.privToken=u}createMeetingAsync(u,v){try{this.privConversationRecognizer&&this.handleError(new Error(this.privErrors.permissionDeniedStart),v),this.privManager.createOrJoin(this.privProperties,void 0,g=>{g||this.handleError(new Error(this.privErrors.permissionDeniedConnect),v),this.privRoom=g,this.handleCallback(u,v)},g=>{this.handleError(g,v)})}catch(g){this.handleError(g,v)}}startMeetingAsync(u,v){try{this.privConversationRecognizer&&this.handleError(new Error(this.privErrors.permissionDeniedStart),v),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedConnect),this.privParticipants.meId=this.privRoom.participantId,this.privConversationRecognizer.connected=this.onConnected,this.privConversationRecognizer.disconnected=this.onDisconnected,this.privConversationRecognizer.canceled=this.onCanceled,this.privConversationRecognizer.participantUpdateCommandReceived=this.onParticipantUpdateCommandReceived,this.privConversationRecognizer.lockRoomCommandReceived=this.onLockRoomCommandReceived,this.privConversationRecognizer.muteAllCommandReceived=this.onMuteAllCommandReceived,this.privConversationRecognizer.participantJoinCommandReceived=this.onParticipantJoinCommandReceived,this.privConversationRecognizer.participantLeaveCommandReceived=this.onParticipantLeaveCommandReceived,this.privConversationRecognizer.translationReceived=this.onTranslationReceived,this.privConversationRecognizer.participantsListReceived=this.onParticipantsListReceived,this.privConversationRecognizer.conversationExpiration=this.onConversationExpiration,this.privConversationRecognizer.connect(this.privRoom.token,()=>{this.handleCallback(u,v)},g=>{this.handleError(g,v)})}catch(g){this.handleError(g,v)}}addParticipantAsync(u,v,g){a.Contracts.throwIfNullOrUndefined(u,"Participant"),C.marshalPromiseToCallbacks(this.addParticipantImplAsync(u),v,g)}joinMeetingAsync(u,v,g,y,p){try{a.Contracts.throwIfNullOrWhitespace(u,this.privErrors.invalidArgs.replace("{arg}","conversationId")),a.Contracts.throwIfNullOrWhitespace(v,this.privErrors.invalidArgs.replace("{arg}","nickname")),a.Contracts.throwIfNullOrWhitespace(g,this.privErrors.invalidArgs.replace("{arg}","language")),this.privManager.createOrJoin(this.privProperties,u,b=>{a.Contracts.throwIfNullOrUndefined(b,this.privErrors.permissionDeniedConnect),this.privRoom=b,this.privConfig.authorizationToken=b.cognitiveSpeechAuthToken,y&&y(b.cognitiveSpeechAuthToken)},b=>{this.handleError(b,p)})}catch(b){this.handleError(b,p)}}deleteMeetingAsync(u,v){C.marshalPromiseToCallbacks(this.deleteMeetingImplAsync(),u,v)}deleteMeetingImplAsync(){var u=this;return c(function*(){a.Contracts.throwIfNullOrUndefined(u.privProperties,u.privErrors.permissionDeniedConnect),a.Contracts.throwIfNullOrWhitespace(u.privRoom.token,u.privErrors.permissionDeniedConnect),yield u.privManager.leave(u.privProperties,u.privRoom.token),u.dispose()})()}endMeetingAsync(u,v){C.marshalPromiseToCallbacks(this.endMeetingImplAsync(),u,v)}endMeetingImplAsync(){return this.close(!0)}lockMeetingAsync(u,v){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedConversation.replace("{command}","lock")),v),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getLockCommand(!0),()=>{this.handleCallback(u,v)},g=>{this.handleError(g,v)})}catch(g){this.handleError(g,v)}}muteAllParticipantsAsync(u,v){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.C
1ontracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrUndefined(this.privConversationRecognizer,this.privErrors.permissionDeniedSend),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedConversation.replace("{command}","mute")),v),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getMuteAllCommand(!0),()=>{this.handleCallback(u,v)},g=>{this.handleError(g,v)})}catch(g){this.handleError(g,v)}}muteParticipantAsync(u,v,g){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrWhitespace(u,this.privErrors.invalidArgs.replace("{arg}","userId")),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),g),!this.me.isHost&&this.me.id!==u&&this.handleError(new Error(this.privErrors.permissionDeniedParticipant.replace("{command}","mute")),g),-1===this.privParticipants.getParticipantIndex(u)&&this.handleError(new Error(this.privErrors.invalidParticipantRequest),g),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getMuteCommand(u,!0),()=>{this.handleCallback(v,g)},p=>{this.handleError(p,g)})}catch(y){this.handleError(y,g)}}removeParticipantAsync(u,v,g){try{if(a.Contracts.throwIfDisposed(this.privIsDisposed),this.privTranscriberRecognizer&&u.hasOwnProperty("id"))C.marshalPromiseToCallbacks(this.removeParticipantImplAsync(u),v,g);else{a.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedParticipant.replace("{command}","remove")),g);let y="";"string"==typeof u?y=u:u.hasOwnProperty("id")?y=u.id:u.hasOwnProperty("userId")&&(y=u.userId),a.Contracts.throwIfNullOrWhitespace(y,this.privErrors.invalidArgs.replace("{arg}","userId")),-1===this.participants.findIndex(b=>b.id===y)&&this.handleError(new Error(this.privErrors.invalidParticipantRequest),g),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getEjectCommand(y),()=>{this.handleCallback(v,g)},b=>{this.handleError(b,g)})}}catch(y){this.handleError(y,g)}}unlockMeetingAsync(u,v){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedConversation.replace("{command}","unlock")),v),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getLockCommand(!1),()=>{this.handleCallback(u,v)},g=>{this.handleError(g,v)})}catch(g){this.handleError(g,v)}}unmuteAllParticipantsAsync(u,v){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSendAsHost||this.handleError(new Error(this.privErrors.permissionDeniedConversation.replace("{command}","unmute all")),v),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getMuteAllCommand(!1),()=>{this.handleCallback(u,v)},g=>{this.handleError(g,v)})}catch(g){this.handleError(g,v)}}unmuteParticipantAsync(u,v,g){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrWhitespace(u,this.privErrors.invalidArgs.replace("{arg}","userId")),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),g),!this.me.isHost&&this.me.id!==u&&this.handleError(new Error(this.privErrors.permissionDeniedParticipant.replace("{command}","mute")),g),-1===this.privParticipants.getParticipantIndex(u)&&this.handleError(new Error(this.privErrors.invalidParticipantRequest),g),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getMuteCommand(u,!1),()=>{this.handleCallback(v,g)},p=>{this.handleError(p,g)})}catch(y){this.handleError(y,g)}}sendTextMessageAsync(u,v,g){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.C
1ontracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrWhitespace(u,this.privErrors.invalidArgs.replace("{arg}","message")),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),g),u.length>this.privTextMessageMaxLength&&this.handleError(new Error(this.privErrors.invalidArgs.replace("{arg}","message length")),g),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getMessageCommand(u),()=>{this.handleCallback(v,g)},y=>{this.handleError(y,g)})}catch(y){this.handleError(y,g)}}setTranslatedLanguagesAsync(u,v,g){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfArrayEmptyOrWhitespace(u,this.privErrors.invalidArgs.replace("{arg}","languages")),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),g),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getSetTranslateToLanguagesCommand(u),()=>{this.handleCallback(v,g)},y=>{this.handleError(y,g)})}catch(y){this.handleError(y,g)}}changeNicknameAsync(u,v,g){try{a.Contracts.throwIfDisposed(this.privIsDisposed),a.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()),a.Contracts.throwIfNullOrWhitespace(u,this.privErrors.invalidArgs.replace("{arg}","nickname")),a.Contracts.throwIfNullOrUndefined(this.privRoom,this.privErrors.permissionDeniedSend),this.canSend||this.handleError(new Error(this.privErrors.permissionDeniedSend),g),this.privConversationRecognizer&&this.privConversationRecognizer.sendRequest(this.getChangeNicknameCommand(u),()=>{this.handleCallback(v,g)},y=>{this.handleError(y,g)})}catch(y){this.handleError(y,g)}}isDisposed(){return this.privIsDisposed}dispose(){this.isDisposed||(this.privIsDisposed=!0,this.config&&this.config.close(),this.privConfig=void 0,this.privLanguage=void 0,this.privProperties=void 0,this.privRoom=void 0,this.privToken=void 0,this.privManager=void 0,this.privIsConnected=!1,this.privIsReady=!1,this.privParticipants=void 0)}connectTranscriberRecognizer(u){var v=this;return c(function*(){v.privTranscriberRecognizer&&(yield v.privTranscriberRecognizer.close()),yield u.enforceAudioGating(),v.privTranscriberRecognizer=u,v.privTranscriberRecognizer.meeting=v})()}getKeepAlive(){return JSON.stringify({id:"0",nickname:this.me?this.me.displayName:"default_nickname",participantId:this.privRoom.participantId,roomId:this.privRoom.roomId,type:o.ConversationTranslatorMessageTypes.keepAlive})}addParticipantImplAsync(u){if(void 0!==this.privParticipants.addOrUpdateParticipant(u)&&this.privTranscriberRecognizer){const g=this.meetingInfo;return g.participants=[u],this.privTranscriberRecognizer.pushMeetingEvent(g,"join")}}removeParticipantImplAsync(u){this.privParticipants.deleteParticipant(u.id);const v=this.meetingInfo;return v.participants=[u],this.privTranscriberRecognizer.pushMeetingEvent(v,"leave")}close(u){var v=this;return c(function*(){try{var g;v.privIsConnected=!1,yield null===(g=v.privConversationRecognizer)||void 0===g?void 0:g.close(),v.privConversationRecognizer=void 0,v.privConversationTranslator&&v.privConversationTranslator.dispose()}catch(y){throw y}u&&v.dispose()})()}handleCallback(u,v){if(u){try{u()}catch(g){v&&v(g)}u=void 0}}handleError(u,v){v&&(u instanceof Error?v(u.name+": "+u.message):v(u))}toParticipants(u){const v=this.privParticipants.participants.map(g=>this.toParticipant(g));return u?v:v.filter(g=>!1===g.isHost)}toParticipant(u){return new E.Participant(u.id,u.avatar,u.displayName,u.isHost,u.isMuted,u.isUsingTts,u.preferredLanguage,u.voice)}getMuteAllCommand(u){return a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"meetingd"),a.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),JSON.stringify({command:o.ConversationTranslatorCommandTypes.setMuteAll,participantId:this.privRoom.participantId,roomid:this.privRoom.roomId,type:o.ConversationTranslatorMessageTypes.participantCommand,value:u})}
1getMuteCommand(u,v){return a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"conversationId"),a.Contracts.throwIfNullOrWhitespace(u,"participantId"),JSON.stringify({command:o.ConversationTranslatorCommandTypes.setMute,participantId:u,roomid:this.privRoom.roomId,type:o.ConversationTranslatorMessageTypes.participantCommand,value:v})}getLockCommand(u){return a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"meetingId"),a.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),JSON.stringify({command:o.ConversationTranslatorCommandTypes.setLockState,participantId:this.privRoom.participantId,roomid:this.privRoom.roomId,type:o.ConversationTranslatorMessageTypes.participantCommand,value:u})}getEjectCommand(u){return a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"meetingId"),a.Contracts.throwIfNullOrWhitespace(u,"participantId"),JSON.stringify({command:o.ConversationTranslatorCommandTypes.ejectParticipant,participantId:u,roomid:this.privRoom.roomId,type:o.ConversationTranslatorMessageTypes.participantCommand})}getSetTranslateToLanguagesCommand(u){return a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"meetingId"),a.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),JSON.stringify({command:o.ConversationTranslatorCommandTypes.setTranslateToLanguages,participantId:this.privRoom.participantId,roomid:this.privRoom.roomId,type:o.ConversationTranslatorMessageTypes.participantCommand,value:u})}getChangeNicknameCommand(u){return a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"meetingId"),a.Contracts.throwIfNullOrWhitespace(u,"nickname"),a.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),JSON.stringify({command:o.ConversationTranslatorCommandTypes.changeNickname,nickname:u,participantId:this.privRoom.participantId,roomid:this.privRoom.roomId,type:o.ConversationTranslatorMessageTypes.participantCommand,value:u})}getMessageCommand(u){return a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId,"meetingId"),a.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId,"participantId"),a.Contracts.throwIfNullOrWhitespace(u,"message"),JSON.stringify({participantId:this.privRoom.participantId,roomId:this.privRoom.roomId,text:u,type:o.ConversationTranslatorMessageTypes.instantMessage})}}_.MeetingImpl=s},56198:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.MeetingTranscriber=void 0;const o=f(67971),C=f(13155),a=f(8804),E=f(15912),T=f(88871);_.MeetingTranscriber=class s{constructor(u){this.privAudioConfig=u,this.privProperties=new E.PropertyCollection,this.privRecognizer=void 0,this.privDisposedRecognizer=!1}get speechRecognitionLanguage(){return a.Contracts.throwIfDisposed(this.privDisposedRecognizer),this.properties.getProperty(E.PropertyId.SpeechServiceConnection_RecoLanguage)}get properties(){return this.privProperties}get internalData(){return this.privRecognizer.internalData}get connection(){return E.Connection.fromRecognizer(this.privRecognizer)}get authorizationToken(){return this.properties.getProperty(E.PropertyId.SpeechServiceAuthorization_Token)}set authorizationToken(u){a.Contracts.throwIfNullOrWhitespace(u,"token"),this.properties.setProperty(E.PropertyId.SpeechServiceAuthorization_Token,u)}joinMeetingAsync(u,v,g){const y=u;a.Contracts.throwIfNullOrUndefined(T.MeetingImpl,"Meeting"),this.privRecognizer=new o.TranscriberRecognizer(u.config,this.privAudioConfig),a.Contracts.throwIfNullOrUndefined(this.privRecognizer,"Recognizer"),this.privRecognizer.connectMeetingCallbacks(this),C.marshalPromiseToCallbacks(y.connectTranscriberRecognizer(this.privRecognizer),v,g)}startTranscribingAsync(u,v){this.privRecognizer.startContinuousRecognitionAsync(u,v)}stopTranscribingAsync(u,v){this.privRecognizer.stopContinuousRecognitionAsync(u,v)}leaveMeetingAsync(u,v){this.privRecognizer.disconnectCallbacks(),C.marshalPromiseToCallbacks(c(function*(){})(),u,v)}close(u,v){a.Contracts.throwIfDisposed(this.privDisposedRecognizer),C.marshalPromiseToCallbacks(this.dispose(!0),u,v)}dispose(u){var v=this;return c(function*(){v.privDisposedRecognizer||(v.privRecognizer&&(yield v.privRecognizer.close(),v.privRecognizer=void 0),u&&(v.privDisposedRecognizer=!0))})()}}},10653:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.MeetingTranscriptionCanceledEventArgs=void 0;const c=f(99986);_.MeetingTranscriptionCanceledEventArgs=class o extends c.CancellationEventArgsBase{}},14993:(ge,_)=>{"use strict";var c;Object.defineProperty(_,"__esModule",{value:!0}),_.ParticipantChangedReason=void 0,(c=_.ParticipantChangedReason||(_.ParticipantChangedReason={}))[c.JoinedConversation=0]="JoinedConversation",c[c.LeftConversation=1]="LeftConversation",c[c.Updated=2]="Updated"},90577:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TranslationRecognitionCanceledEventArgs=void 0,_.TranslationRecognitionCanceledEventArgs=class f{constructor(o,C,a,E,T){this.privCancelReason=C,this.privErrorDetails=a,this.privResult=T,this.privSessionId=o,this.privErrorCode=E}get result(){return this.privResult}get sessionId(){return this.privSessionId}get reason(){return this.privCancelReason}get errorCode(){return this.privErrorCode}get errorDetails(){return this.privErrorDetails}}},53908:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TranslationRecognitionEventArgs=void 0;const c=f(15912);_.TranslationRecognitionEventArgs=class o extends c.RecognitionEventArgs{constructor(a,E,T){super(E,T),this.privResult=a}get result(){return this.privResult}}},57624:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TranslationRecognitionResult=void 0;const c=f(15912);class o extends c.SpeechRecognitionResult{constructor(a,E,T,s,h,u,v,g,y,p,b){super(E,T,s,h,u,v,g,void 0,y,p,b),this.privTranslations=a}static fromSpeechRecognitionResult(a){return new o(void 0,a.resultId,a.reason,a.text,a.duration,a.offset,a.language,a.languageDetectionConfidence,a.errorDetails,a.json,a.properties)}get translations(){return this.privTranslations}}_.TranslationRecognitionResult=o},61738:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.TranslationRecognizer=void 0;const o=f(67971),C=f(13155),a=f(44163),E=f(8804),T=f(15912);class s extends T.Recognizer{constructor(u,v,g){const y=u;E.Contracts.throwIfNull(y,"speechConfig"),super(v,y.properties,g||new o.TranslationConnectionFactory),this.privDisposedTranslationRecognizer=!1,void 0!==this.properties.getProperty(T.PropertyId.SpeechServiceConnection_TranslationVoice,void 0)&&E.Contracts.throwIfNullOrWhitespace(this.properties.getProperty(T.PropertyId.SpeechServiceConnection_TranslationVoice),T.PropertyId[T.PropertyId.SpeechServiceConnection_TranslationVoice]),E.Contracts.throwIfNullOrWhitespace(this.properties.getProperty(T.PropertyId.SpeechServiceConnection_TranslationToLanguages),T.PropertyId[T.PropertyId.SpeechServiceConnection_TranslationToLanguages]),E.Contracts.throwIfNullOrWhitespace(this.properties.getProperty(T.PropertyId.SpeechServiceConnection_RecoLanguage),T.PropertyId[T.PropertyId.SpeechServiceConnection_RecoLanguage])}static FromConfig(u,v,g){return v.properties.mergeTo(u.properties),new s(u,g)}get speechRecognitionLanguage(){return E.Contracts.throwIfDisposed(this.privDisposedTranslationRecognizer),this.properties.getProperty(T.PropertyId.SpeechServiceConnection_RecoLanguage)}get targetLanguages(){return E.Contracts.throwIfDisposed(this.privDisposedTranslationRecognizer),this.properties.getProperty(T.PropertyId.SpeechServiceConnection_TranslationToLanguages).split(",")}get voiceName(){return E.Contracts.throwIfDisposed(this.privDisposedTranslationRecognizer),this.properties.getProperty(T.PropertyId.SpeechServiceConnection_TranslationVoice,void 0)}get properties(){return this.privProperties}get authorizationToken(){return this.properties.getProperty(T.PropertyId.SpeechServiceAuthorization_Token)}set authorizationToken(u){this.properties.setProperty(T.PropertyId.SpeechServiceAuthorization_Token,u)}recognizeOnceAsync(u,v){E.Contracts.throwIfDisposed(this.privDisposedTranslationRecognizer),C.marshalPromiseToCallbacks(this.recognizeOnceAsyncImpl(o.RecognitionMode.Interactive),u,v)}startContinuousRecognitionAsync(u,v){C.marshalPromiseToCallbacks(this.startContinuousRecognitionAsyncImpl(o.RecognitionMode.Conversation),u,v)}stopContinuousRecognitionAsync(u,v){C.marshalPromiseToCallbacks(this.stopContinuousRecognitionAsyncImpl(),u,v)}removeTargetLanguage(u){if(E.Contracts.throwIfNullOrUndefined(u,"language to be removed"),void 0!==this.properties.getProperty(T.PropertyId.SpeechServiceConnection_TranslationToLanguages,void 0)){const v=this.properties.getProperty(T.PropertyId.SpeechServiceConnection_TranslationToLanguages).split(","),g=v.indexOf(u);g>-1&&(v.splice(g,1),this.properties.setProperty(T.PropertyId.SpeechServiceConnection_TranslationToLanguages,v.join(",")),this.updateLanguages(v))}}addTargetLanguage(u){E.Contracts.throwIfNullOrUndefined(u,"language to be added");let v=[];void 0!==this.properties.getProperty(T.PropertyId.SpeechServiceConnection_TranslationToLanguages,void 0)?(v=this.properties.getProperty(T.PropertyId.SpeechServiceConnection_TranslationToLanguages).split(","),v.includes(u)||(v.push(u),this.properties.setProperty(T.PropertyId.SpeechServiceConnection_TranslationToLanguages,v.join(",")))):(this.properties.setProperty(T.PropertyId.SpeechServiceConnection_TranslationToLanguages,u),v=[u]),this.updateLanguages(v)}close(u,v){E.Contracts.throwIfDisposed(this.privDisposedTranslationRecognizer),C.marshalPromiseToCallbacks(this.dispose(!0),u,v)}onConnection(){}dispose(u){var v=()=>super.dispose,g=this;return c(function*(){g.privDisposedTranslationRecognizer||(g.privDisposedTranslationRecognizer=!0,u&&(yield g.implRecognizerStop(),yield v().call(g,u)))})()}createRecognizerConfig(u){return new o.RecognizerConfig(u,this.privProperties)}createServiceRecognizer(u,v,g,y){return new o.TranslationServiceRecognizer(u,v,g,y,this)}updateLanguages(u){const v=a.Connection.fromRecognizer(this);v&&(v.setMessageProperty("speech.context","translationcontext",{to:u}),v.sendMessageAsync("event",JSON.stringify({id:"translation",name:"updateLanguage",to:u})))}}_.TranslationRecognizer=s},86935:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.TranslationSynthesisEventArgs=void 0;const c=f(15912);_.TranslationSynthesisEventArgs=class o extends c.SessionEventArgs{constructor(a,E){super(E),this.privResult=a}get result(){return this.privResult}}},32717:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TranslationSynthesisResult=void 0,_.TranslationSynthesisResult=class f{constructor(o,C){this.privReason=o,this.privAudio=C}get audio(){return this.privAudio}get reason(){return this.privReason}}},18123:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Translations=void 0;const c=f(15912);_.Translations=class o{constructor(){this.privMap=new c.PropertyCollection}get languages(){return this.privMap.keys}get(a,E){return this.privMap.getProperty(a,E)}set(a,E){this.privMap.setProperty(a,E)}}},53132:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TurnStatusReceivedEventArgs=void 0;const c=f(98097);_.TurnStatusReceivedEventArgs=class o{constructor(a){this.privTurnStatus=c.TurnStatusResponsePayload.fromJSON(a)}get interactionId(){return this.privTurnStatus.interactionId}get conversationId(){return this.privTurnStatus.conversationId}get statusCode(){return this.privTurnStatus.statusCode}}},71745:(ge,_)=>{"use strict";var f,a,c;Object.defineProperty(_,"__esModule",{value:!0}),_.VoiceInfo=_.SynthesisVoiceType=_.SynthesisVoiceGender=void 0,(a=f=_.SynthesisVoiceGender||(_.SynthesisVoiceGender={}))[a.Unknown=0]="Unknown",a[a.Female=1]="Female",a[a.Male=2]="Male",a[a.Neutral=3]="Neutral",function(a){a[a.OnlineNeural=1]="OnlineNeural",a[a.OnlineStandard=2]="OnlineStandard",a[a.OfflineNeural=3]="OfflineNeural",a[a.OfflineStandard=4]="OfflineStandard"}(c=_.SynthesisVoiceType||(_.SynthesisVoiceType={}));const o={[f[f.Neutral]]:f.Neutral,[f[f.Male]]:f.Male,[f[f.Female]]:f.Female};_.VoiceInfo=class C{constructor(E){if(this.privStyleList=[],E){if(this.privName=E.Name,this.privLocale=E.Locale,this.privShortName=E.ShortName,this.privLocaleName=E.LocaleName,this.privDisplayName=E.DisplayName,this.privLocalName=E.LocalName,this.privVoiceType=E.VoiceType.endsWith("Standard")?c.OnlineStandard:c.OnlineNeural,this.privGender=o[E.Gender]||f.Unknown,E.StyleList&&Array.isArray(E.StyleList))for(const T of E.StyleList)this.privStyleList.push(T);this.privSampleRateHertz=E.SampleRateHertz,this.privStatus=E.Status,E.ExtendedPropertyMap&&(this.privExtendedPropertyMap=E.ExtendedPropertyMap),this.privWordsPerMinute=E.WordsPerMinute,Array.isArray(E.SecondaryLocaleList)&&(this.privSecondaryLocaleList=[...E.SecondaryLocaleList]),Array.isArray(E.RolePlayList)&&(this.privRolePlayList=[...E.RolePlayList])}}get name(){return this.privName}get locale(){return this.privLocale}get shortName(){return this.privShortName}get displayName(){return this.privDisplayName}get localName(){return this.privLocalName}get localeName(){return this.privLocaleName}get gender(){return this.privGender}get voiceType(){return this.privVoiceType}get styleList(){return this.privStyleList}get sampleRateHertz(){return this.privSampleRateHertz}get status(){return this.privStatus}get extendedPropertyMap(){return this.privExtendedPropertyMap}get wordsPerMinute(){return this.privWordsPerMinute}get secondaryLocaleList(){return this.privSecondaryLocaleList}get rolePlayList(){return this.privRolePlayList}}},65552:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.VoiceProfile=void 0,_.VoiceProfile=class f{constructor(o,C){this.privId=o,this.privProfileType=C}get profileId(){return this.privId}get profileType(){return this.privProfileType}}},80035:(ge,_,f)=>{"use strict";var c=f(29293).default;Object.defineProperty(_,"__esModule",{value:!0}),_.VoiceProfileClient=void 0;const o=f(67971),C=f(76686),a=f(8804),E=f(15912);_.VoiceProfileClient=class T extends E.Recognizer{constructor(h){a.Contracts.throwIfNullOrUndefined(h,"speechConfig");const u=h;a.Contracts.throwIfNull(u,"speechConfig"),super(C.AudioConfig.fromStreamInput(E.AudioInputStream.createPushStream()),u.properties,new o.VoiceProfileConnectionFactory),this.privProperties=u.properties.clone(),this.privVoiceAdapter=this.privReco,this.privDisposedVoiceAdapter=!1}get properties(){return this.privProperties}get authorizationToken(){return this.properties.getProperty(E.PropertyId.SpeechServiceAuthorization_Token)}set authorizationToken(h){a.Contracts.throwIfNullOrWhitespace(h,"token"),this.properties.setProperty(E.PropertyId.SpeechServiceAuthorization_Token,h)}createProfileAsync(h,u){var v=this;return c(function*(){const g=yield v.privVoiceAdapter.createProfile(h,u);return new E.VoiceProfile(g[0],h)})()}retrieveEnrollmentResultAsync(h){var u=this;return c(function*(){return u.privVoiceAdapter.retrieveEnrollmentResult(h)})()}getAllProfilesAsync(h){var u=this;return c(function*(){return u.privVoiceAdapter.getAllProfiles(h)})()}getActivationPhrasesAsync(h,u){var v=this;return c(function*(){return v.privVoiceAdapter.getActivationPhrases(h,u)})()}enrollProfileAsync(h,u){var v=this;return c(function*(){const g=u;return a.Contracts.throwIfNullOrUndefined(g,"audioConfig"),v.audioConfig=u,v.privVoiceAdapter.SpeakerAudioSource=g,v.privVoiceAdapter.enrollProfile(h)})()}deleteProfileAsync(h){var u=this;return c(function*(){return u.privVoiceAdapter.deleteProfile(h)})()}resetProfileAsync(h){var u=this;return c(function*(){return u.privVoiceAdapter.resetProfile(h)})()}close(){var h=this;return c(function*(){yield h.dispose(!0)})()}createServiceRecognizer(h,u,v,g){return new o.VoiceServiceRecognizer(h,u,v,g,this)}dispose(h){var u=()=>super.dispose,v=this;return c(function*(){v.privDisposedVoiceAdapter||(v.privDisposedVoiceAdapter=!0,h&&(yield u().c
1all(v,h)))})()}createRecognizerConfig(h){return new o.RecognizerConfig(h,this.properties)}getResult(h,u){return new E.VoiceProfileResult(h.ok?u:E.ResultReason.Canceled,h.statusText)}}},30741:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.VoiceProfileEnrollmentCancellationDetails=_.VoiceProfileEnrollmentResult=void 0;const c=f(67971),o=f(15912);class C{constructor(T,s,h){this.privReason=T,this.privProperties=new o.PropertyCollection,this.privReason!==o.ResultReason.Canceled?s&&(this.privDetails=JSON.parse(s),"enrolling"===this.privDetails.enrollmentStatus.toLowerCase()&&(this.privReason=o.ResultReason.EnrollingVoiceProfile)):(this.privErrorDetails=h,this.privProperties.setProperty(c.CancellationErrorCodePropertyName,o.CancellationErrorCode[o.CancellationErrorCode.ServiceError]))}get reason(){return this.privReason}get enrollmentsCount(){return this.privDetails.enrollmentsCount}get enrollmentsLength(){return this.privDetails.enrollmentsLength}get properties(){return this.privProperties}get enrollmentResultDetails(){return this.privDetails}get errorDetails(){return this.privErrorDetails}static FromIdentificationProfileList(T){const s=[];for(const h of T.value){const u="enrolling"===h.enrollmentStatus.toLowerCase()?o.ResultReason.EnrollingVoiceProfile:"enrolled"===h.enrollmentStatus.toLowerCase()?o.ResultReason.EnrolledVoiceProfile:o.ResultReason.Canceled,v=new C(u,null,null);v.privDetails=this.getIdentificationDetails(h),s.push(v)}return s}static FromVerificationProfileList(T){const s=[];for(const h of T.value){const u="enrolling"===h.enrollmentStatus.toLowerCase()?o.ResultReason.EnrollingVoiceProfile:"enrolled"===h.enrollmentStatus.toLowerCase()?o.ResultReason.EnrolledVoiceProfile:o.ResultReason.Canceled,v=new C(u,null,null);v.privDetails=this.getVerificationDetails(h),s.push(v)}return s}static getIdentificationDetails(T){return{audioLength:T.audioLength?parseFloat(T.audioLength):0,audioSpeechLength:T.audioSpeechLength?parseFloat(T.audioSpeechLength):0,enrollmentStatus:T.enrollmentStatus,enrollmentsCount:T.enrollmentsCount||0,enrollmentsLength:T.enrollmentsLength?parseFloat(T.enrollmentsLength):0,enrollmentsSpeechLength:T.enrollmentsSpeechLength?parseFloat(T.enrollmentsSpeechLength):0,profileId:T.profileId||T.identificationProfileId,remainingEnrollmentsSpeechLength:T.remainingEnrollmentsSpeechLength?parseFloat(T.remainingEnrollmentsSpeechLength):0}}static getVerificationDetails(T){return{audioLength:T.audioLength?parseFloat(T.audioLength):0,audioSpeechLength:T.audioSpeechLength?parseFloat(T.audioSpeechLength):0,enrollmentStatus:T.enrollmentStatus,enrollmentsCount:T.enrollmentsCount,enrollmentsLength:T.enrollmentsLength?parseFloat(T.enrollmentsLength):0,enrollmentsSpeechLength:T.enrollmentsSpeechLength?parseFloat(T.enrollmentsSpeechLength):0,profileId:T.profileId||T.verificationProfileId,remainingEnrollmentsCount:T.remainingEnrollments||T.remainingEnrollmentsCount,remainingEnrollmentsSpeechLength:T.remainingEnrollmentsSpeechLength?parseFloat(T.remainingEnrollmentsSpeechLength):0}}}_.VoiceProfileEnrollmentResult=C;class a extends o.CancellationDetailsBase{constructor(T,s,h){super(T,s,h)}static fromResult(T){const s=o.CancellationReason.Error;let h=o.CancellationErrorCode.NoError;return T.properties&&(h=o.CancellationErrorCode[T.properties.getProperty(c.CancellationErrorCodePropertyName,o.CancellationErrorCode[o.CancellationErrorCode.NoError])]),new a(s,T.errorDetails,h)}}_.VoiceProfileEnrollmentCancellationDetails=a},97188:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.VoiceProfilePhraseResult=void 0;const c=f(8804),o=f(15912);_.VoiceProfilePhraseResult=class C extends o.VoiceProfileResult{constructor(E,T,s,h){super(E,T),this.privPhrases=[],c.Contracts.throwIfNullOrUndefined(h,"phrase array"),this.privType=s,h&&h[0]&&(this.privPhrases=h)}get phrases(){return this.privPhrases}get type(){return this.privType}}},10933:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.VoiceProfileCancellationDetails=_.VoiceProfileResult=void 0;const c=f(67971),o=f(8804),C=f(15912);_.VoiceProfileResult=class a{constructor(s,h){this.privReason=s,this.privProperties=new C.PropertyCollection,s===C.ResultReason.Canceled&&(o.Contracts.throwIfNullOrUndefined(h,"statusText"),this.privErrorDetails=h,this.privProperties.setProperty(c.CancellationErrorCodePropertyName,C.CancellationErrorCode[C.CancellationErrorCode.ServiceError]))}get reason(){return this.privReason}get properties(){return this.privProperties}get errorDetails(){return this.privErrorDetails}};
1class E extends C.CancellationDetailsBase{constructor(s,h,u){super(s,h,u)}static fromResult(s){const h=C.CancellationReason.Error;let u=C.CancellationErrorCode.NoError;return s.properties&&(u=C.CancellationErrorCode[s.properties.getProperty(c.CancellationErrorCodePropertyName,C.CancellationErrorCode[C.CancellationErrorCode.NoError])]),new E(h,s.errorDetails,u)}}_.VoiceProfileCancellationDetails=E},33960:(ge,_)=>{"use strict";var c;Object.defineProperty(_,"__esModule",{value:!0}),_.VoiceProfileType=void 0,(c=_.VoiceProfileType||(_.VoiceProfileType={}))[c.TextIndependentIdentification=0]="TextIndependentIdentification",c[c.TextDependentVerification=1]="TextDependentVerification",c[c.TextIndependentVerification=2]="TextIndependentVerification"},4705:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),Object.defineProperty(_,"NIL",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(_,"parse",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(_,"stringify",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(_,"v1",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(_,"v3",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(_,"v4",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(_,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(_,"validate",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(_,"version",{enumerable:!0,get:function(){return T.default}});var c=v(f(55548)),o=v(f(89254)),C=v(f(60519)),a=v(f(19472)),E=v(f(74226)),T=v(f(1921)),s=v(f(10779)),h=v(f(85848)),u=v(f(87894));function v(g){return g&&g.__esModule?g:{default:g}}},38157:(ge,_)=>{"use strict";function o(p){return 14+(p+64>>>9<<4)+1}function E(p,b){const R=(65535&p)+(65535&b);return(p>>16)+(b>>16)+(R>>16)<<16|65535&R}function s(p,b,R,P,k,O){return E(function T(p,b){return p<<b|p>>>32-b}(E(E(b,p),E(P,O)),k),R)}function h(p,b,R,P,k,O,V){return s(b&R|~b&P,p,b,k,O,V)}function u(p,b,R,P,k,O,V){return s(b&P|R&~P,p,b,k,O,V)}function v(p,b,R,P,k,O,V){return s(b^R^P,p,b,k,O,V)}function g(p,b,R,P,k,O,V){return s(R^(b|~P),p,b,k,O,V)}Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0,_.default=function f(p){if("string"==typeof p){const b=unescape(encodeURIComponent(p));p=new Uint8Array(b.length);for(let R=0;R<b.length;++R)p[R]=b.charCodeAt(R)}return function c(p){const b=[],R=32*p.length,P="0123456789abcdef";for(let k=0;k<R;k+=8){const O=p[k>>5]>>>k%32&255,V=parseInt(P.charAt(O>>>4&15)+P.charAt(15&O),16);b.push(V)}return b}(function C(p,b){p[b>>5]|=128<<b%32,p[o(b)-1]=b;let R=1732584193,P=-271733879,k=-1732584194,O=271733878;for(let V=0;V<p.length;V+=16){const K=R,z=P,H=k,x=O;R=h(R,P,k,O,p[V],7,-680876936),O=h(O,R,P,k,p[V+1],12,-389564586),k=h(k,O,R,P,p[V+2],17,606105819),P=h(P,k,O,R,p[V+3],22,-1044525330),R=h(R,P,k,O,p[V+4],7,-176418897),O=h(O,R,P,k,p[V+5],12,1200080426),k=h(k,O,R,P,p[V+6],17,-1473231341),P=h(P,k,O,R,p[V+7],22,-45705983),R=h(R,P,k,O,p[V+8],7,1770035416),O=h(O,R,P,k,p[V+9],12,-1958414417),k=h(k,O,R,P,p[V+10],17,-42063),P=h(P,k,O,R,p[V+11],22,-1990404162),R=h(R,P,k,O,p[V+12],7,1804603682),O=h(O,R,P,k,p[V+13],12,-40341101),k=h(k,O,R,P,p[V+14],17,-1502002290),P=h(P,k,O,R,p[V+15],22,1236535329),R=u(R,P,k,O,p[V+1],5,-165796510),O=u(O,R,P,k,p[V+6],9,-1069501632),k=u(k,O,R,P,p[V+11],14,643717713),P=u(P,k,O,R,p[V],20,-373897302),R=u(R,P,k,O,p[V+5],5,-701558691),O=u(O,R,P,k,p[V+10],9,38016083),k=u(k,O,R,P,p[V+15],14,-660478335),P=u(P,k,O,R,p[V+4],20,-405537848),R=u(R,P,k,O,p[V+9],5,568446438),O=u(O,R,P,k,p[V+14],9,-1019803690),k=u(k,O,R,P,p[V+3],14,-187363961),P=u(P,k,O,R,p[V+8],20,1163531501),R=u(R,P,k,O,p[V+13],5,-1444681467),O=u(O,R,P,k,p[V+2],9,-51403784),k=u(k,O,R,P,p[V+7],14,1735328473),P=u(P,k,O,R,p[V+12],20,-1926607734),R=v(R,P,k,O,p[V+5],4,-378558),O=v(O,R,P,k,p[V+8],11,-2022574463),k=v(k,O,R,P,p[V+11],16,1839030562),P=v(P,k,O,R,p[V+14],23,-35309556),R=v(R,P,k,O,p[V+1],4,-1530992060),O=v(O,R,P,k,p[V+4],11,1272893353),k=v(k,O,R,P,p[V+7],16,-155497632),P=v(P,k,O,R,p[V+10],23,-1094730640),R=v(R,P,k,O,p[V+13],4,681279174),O=v(O,R,P,k,p[V],11,-358537222),k=v(k,O,R,P,p[V+3],16,-722521979),P=v(P,k,O,R,p[V+6],23,76029189),R=v(R,P,k,O,p[V+9],4,-640364487),O=v(O,R,P,k,p[V+12],11,-421815835),k=v(k,O,R,P,p[V+15],16,530742520),P=v(P,k,O,R,p[V+2],23,-995338651),R=g(R,P,k,O,p[V],6,-198630844),O=g(O,R,P,k,p[V+7],10,1126891415),k=g(k,O,R,P,p[V+14],15,-1416354905),P=g(P,k,O,R,p[V+5],21,-57434055),R=g(R,P,k,O,p[V+12],
16,1700485571),O=g(O,R,P,k,p[V+3],10,-1894986606),k=g(k,O,R,P,p[V+10],15,-1051523),P=g(P,k,O,R,p[V+1],21,-2054922799),R=g(R,P,k,O,p[V+8],6,1873313359),O=g(O,R,P,k,p[V+15],10,-30611744),k=g(k,O,R,P,p[V+6],15,-1560198380),P=g(P,k,O,R,p[V+13],21,1309151649),R=g(R,P,k,O,p[V+4],6,-145523070),O=g(O,R,P,k,p[V+11],10,-1120210379),k=g(k,O,R,P,p[V+2],15,718787259),P=g(P,k,O,R,p[V+9],21,-343485551),R=E(R,K),P=E(P,z),k=E(k,H),O=E(O,x)}return[R,P,k,O]}(function a(p){if(0===p.length)return[];const b=8*p.length,R=new Uint32Array(o(b));for(let P=0;P<b;P+=8)R[P>>5]|=(255&p[P/8])<<P%32;return R}(p),8*p.length))}},83150:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var c={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};_.default=c},74226:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0,_.default="00000000-0000-0000-0000-000000000000"},87894:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var c=function o(E){return E&&E.__esModule?E:{default:E}}(f(10779));
vendor: 4,241 bytes, line 1
1_.default=function C(E){if(!(0,c.default)(E))throw TypeError("Invalid UUID");let T;const s=new Uint8Array(16);return s[0]=(T=parseInt(E.slice(0,8),16))>>>24,s[1]=T>>>16&255,s[2]=T>>>8&255,s[3]=255&T,s[4]=(T=parseInt(E.slice(9,13),16))>>>8,s[5]=255&T,s[6]=(T=parseInt(E.slice(14,18),16))>>>8,s[7]=255&T,s[8]=(T=parseInt(E.slice(19,23),16))>>>8,s[9]=255&T,s[10]=(T=parseInt(E.slice(24,36),16))/1099511627776&255,s[11]=T/4294967296&255,s[12]=T>>>24&255,s[13]=T>>>16&255,s[14]=T>>>8&255,s[15]=255&T,s}},21614:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0,_.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},23756:(ge,_)=>{"use strict";let f;Object.defineProperty(_,"__esModule",{value:!0}),_.default=function o(){if(!f&&(f=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!f))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return f(c)};const c=new Uint8Array(16)},33192:(ge,_)=>{"use strict";function f(a,E,T,s){switch(a){case 0:return E&T^~E&s;case 1:case 3:return E^T^s;case 2:return E&T^E&s^T&s}}function c(a,E){return a<<E|a>>>32-E}Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0,_.default=function o(a){const E=[1518500249,1859775393,2400959708,3395469782],T=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof a){const v=unescape(encodeURIComponent(a));a=[];for(let g=0;g<v.length;++g)a.push(v.charCodeAt(g))}else Array.isArray(a)||(a=Array.prototype.slice.call(a));a.push(128);const h=Math.ceil((a.length/4+2)/16),u=new Array(h);for(let v=0;v<h;++v){const g=new Uint32Array(16);for(let y=0;y<16;++y)g[y]=a[64*v+4*y]<<24|a[64*v+4*y+1]<<16|a[64*v+4*y+2]<<8|a[64*v+4*y+3];u[v]=g}u[h-1][14]=8*(a.length-1)/Math.pow(2,32),u[h-1][14]=Math.floor(u[h-1][14]),u[h-1][15]=8*(a.length-1)&4294967295;for(let v=0;v<h;++v){const g=new Uint32Array(80);for(let k=0;k<16;++k)g[k]=u[v][k];for(let k=16;k<80;++k)g[k]=c(g[k-3]^g[k-8]^g[k-14]^g[k-16],1);let y=T[0],p=T[1],b=T[2],R=T[3],P=T[4];for(let k=0;k<80;++k){const O=Math.floor(k/20),V=c(y,5)+f(O,p,b,R)+P+E[O]+g[k]>>>0;P=R,R=b,b=c(p,30)>>>0,p=y,y=V}T[0]=T[0]+y>>>0,T[1]=T[1]+p>>>0,T[2]=T[2]+b>>>0,T[3]=T[3]+R>>>0,T[4]=T[4]+P>>>0}return[T[0]>>24&255,T[0]>>16&255,T[0]>>8&255,255&T[0],T[1]>>24&255,T[1]>>16&255,T[1]>>8&255,255&T[1],T[2]>>24&255,T[2]>>16&255,T[2]>>8&255,255&T[2],T[3]>>24&255,T[3]>>16&255,T[3]>>8&255,255&T[3],T[4]>>24&255,T[4]>>16&255,T[4]>>8&255,255&T[4]]}},85848:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0,_.unsafeStringify=a;var c=function o(s){return s&&s.__esModule?s:{default:s}}(f(10779));const C=[];for(let s=0;s<256;++s)C.push((s+256).toString(16).slice(1));function a(s,h=0){return C[s[h+0]]+C[s[h+1]]+C[s[h+2]]+C[s[h+3]]+"-"+C[s[h+4]]+C[s[h+5]]+"-"+C[s[h+6]]+C[s[h+7]]+"-"+C[s[h+8]]+C[s[h+9]]+"-"+C[s[h+10]]+C[s[h+11]]+C[s[h+12]]+C[s[h+13]]+C[s[h+14]]+C[s[h+15]]}_.default=function E(s,h=0){const u=a(s,h);if(!(0,c.default)(u))throw TypeError("Stringified UUID is invalid");return u}},55548:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var c=function C(v){return v&&v.__esModule?v:{default:v}}(f(23756)),o=f(85848);let a,E,T=0,s=0;_.default=function h(v,g,y){let p=g&&y||0;const b=g||new Array(16);let R=(v=v||{}).node||a,P=void 0!==v.clockseq?v.clockseq:E;if(null==R||null==P){const H=v.random||(v.rng||c.default)();null==R&&(R=a=[1|H[0],H[1],H[2],H[3],H[4],H[5]]),null==P&&(P=E=16383&(H[6]<<8|H[7]))}let k=void 0!==v.msecs?v.msecs:Date.now(),O=void 0!==v.nsecs?v.nsecs:s+1;const V=k-T+(O-s)/1e4;if(V<0&&void 0===v.clockseq&&(P=P+1&16383),(V<0||k>T)&&void 0===v.nsecs&&(O=0),O>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");T=k,s=O,E=P,k+=122192928e5;const K=(1e4*(268435455&k)+O)%4294967296;b[p++]=K>>>24&255,b[p++]=K>>>16&255,b[p++]=K>>>8&255,b[p++]=255&K;const z=k/4294967296*1e4&268435455;b[p++]=z>>>8&255,b[p++]=255&z,b[p++]=z>>>24&15|16,b[p++]=z>>>16&255,b[p++]=P>>>8|128,b[p++]=255&P;for(let H=0;H<6;++H)b[p+H]=R[H];return g||(0,o.unsafeStringify)(b)}},89254:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var c=C(f(58543)),o=C(f(38157));function C(T){return T&&T.__esModule?T:{default:T}}var E=(0,c.default)("v3",48,o.default);_.default=E},58543:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.URL=_.DNS=void 0,_.default=function s(h,u,v){function g(y,p,b,R){var P;if("string"==typeof y&&(y=function a(h){h=unescape(encodeURIComponent(h));const u=[];for(let v=0;v<h.length;++v)u.push(h.charCodeAt(v));return u}(y)),"string"==typeof p&&(p=(0,o.default)(p)),16!==(null===(P=p)||void 0===P?void 0:P.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let k=new Uint8Array(16+y.length);if(k.set(p),k.set(y,p.length),k=v(k),k[6]=15&k[6]|u,k[8]=63&k[8]|128,b){R=R||0;for(let O=0;O<16;++O)b[R+O]=k[O];return b}return(0,c.unsafeStringify)(k)}try{g.name=h}catch{}return g.DNS=E,g.URL=T,g};var c=f(85848),o=function C(h){return h&&h.__esModule?h:{default:h}}(f(87894));const E="6ba7b810-9dad-11d1-80b4-00c04fd430c8";_.DNS=E;const T="6ba7b811-9dad-11d1-80b4-00c04fd430c8";_.URL=T},60519:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var c=a(f(83150)),o=a(f(23756)),C=f(85848);function a(s){return s&&s.__esModule?s:{default:s}}_.default=function E(s,h,u){if(c.default.randomUUID&&!h&&!s)return c.default.randomUUID();const v=(s=s||{}).random||(s.rng||o.default)();if(v[6]=15&v[6]|64,v[8]=63&v[8]|128,h){u=u||0;for(let g=0;g<16;++g)h[u+g]=v[g];return h}return(0,C.unsafeStringify)(v)}},19472:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var c=C(f(58543)),o=C(f(33192));function C(T){return T&&T.__esModule?T:{default:T}}var E=(0,c.default)("v5",80,o.default);_.default=E},10779:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var c=function o(E){return E&&E.__esModule?E:{default:E}}(f(21614));_.default=function C(E){return"string"==typeof E&&c.default.test(E)}},1921:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.default=void 0;var c=function o(E){return E&&E.__esModule?E:{default:E}}(f(10779));
1_.default=function C(E){if(!(0,c.default)(E))throw TypeError("Invalid UUID");return parseInt(E.slice(14,15),16)}},63244:ge=>{var _=1e3,f=60*_,c=60*f,o=24*c;function h(u,v,g,y){var p=v>=1.5*g;return Math.round(u/g)+" "+y+(p?"s":"")}ge.exports=function(u,v){v=v||{};var g=typeof u;if("string"===g&&u.length>0)return function E(u){if(!((u=String(u)).length>100)){var v=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(u);if(v){var g=parseFloat(v[1]);switch((v[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*g;case"weeks":case"week":case"w":return 6048e5*g;case"days":case"day":case"d":return g*o;case"hours":case"hour":case"hrs":case"hr":case"h":return g*c;case"minutes":case"minute":case"mins":case"min":case"m":return g*f;case"seconds":case"second":case"secs":case"sec":case"s":return g*_;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return g;default:return}}}}(u);if("number"===g&&isFinite(u))return v.long?function s(u){var v=Math.abs(u);return v>=o?h(u,v,o,"day"):v>=c?h(u,v,c,"hour"):v>=f?h(u,v,f,"minute"):v>=_?h(u,v,_,"second"):u+" ms"}(u):function T(u){var v=Math.abs(u);return v>=o?Math.round(u/o)+"d":v>=c?Math.round(u/c)+"h":v>=f?Math.round(u/f)+"m":v>=_?Math.round(u/_)+"s":u+"ms"}(u);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(u))}},37842:function(ge,_,f){"use strict";var c=this&&this.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(_,"__esModule",{value:!0}),_.generate=_.compile=void 0;var o=c(f(74205));_.compile=function C(E){var T=E[0],s=E[1]-1;if(s<0&&T<=0)return o.default.falseFunc;if(-1===T)return function(v){return v<=s};if(0===T)return function(v){return v===s};if(1===T)return s<0?o.default.trueFunc:function(v){return v>=s};var h=Math.abs(T),u=(s%h+h)%h;return T>1?function(v){return v>=s&&v%h===u}:function(v){return v<=s&&v%h===u}},_.generate=function a(E){var T=E[0],s=E[1]-1,h=0;if(T<0){var u=-T,v=(s%u+u)%u;return function(){var g=v+u*h++;return g>s?null:g}}return 0===T?s<0?function(){return null}:function(){return 0==h++?s:null}:(s<0&&(s+=T*Math.ceil(-s/T)),function(){return T*h+++s})}},13487:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.sequence=_.generate=_.compile=_.parse=void 0;var c=f(64152);Object.defineProperty(_,"parse",{enumerable:!0,get:function(){return c.parse}});var o=f(37842);Object.defineProperty(_,"compile",{enumerable:!0,get:function(){return o.compile}}),Object.defineProperty(_,"generate",{enumerable:!0,get:function(){return o.generate}}),_.default=function C(E){return(0,o.compile)((0,c.parse)(E))},_.sequence=function a(E){return(0,o.generate)((0,c.parse)(E))}},64152:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.parse=void 0;var f=new Set([9,10,12,13,32]);_.parse=function C(a){if("even"===(a=a.trim().toLowerCase()))return[2,0];if("odd"===a)return[2,1];var E=0,T=0,s=u(),h=v();if(E<a.length&&"n"===a.charAt(E)&&(E++,T=s*(null!=h?h:1),g(),E<a.length?(s=u(),g(),h=v()):s=h=0),null===h||E<a.length)throw new Error("n-th rule couldn't be parsed ('".concat(a,"')"));return[T,s*h];function u(){return"-"===a.charAt(E)?(E++,-1):("+"===a.charAt(E)&&E++,1)}function v(){for(var y=E,p=0;E<a.length&&a.charCodeAt(E)>=48&&a.charCodeAt(E)<=57;)p=10*p+(a.charCodeAt(E)-48),E++;return E===y?null:p}function g(){for(;E<a.length&&f.has(a.charCodeAt(E));)E++}}},91815:ge=>{"use strict";function _(f,c){return Object.prototype.hasOwnProperty.call(f,c)}ge.exports=function(f,c,o,C){o=o||"=";var a={};if("string"!=typeof f||0===f.length)return a;var E=/\+/g;f=f.split(c=c||"&");var T=1e3;C&&"number"==typeof C.maxKeys&&(T=C.maxKeys);var s=f.length;T>0&&s>T&&(s=T);for(var h=0;h<s;++h){var g,y,p,b,u=f[h].replace(E,"%20"),v=u.indexOf(o);v>=0?(g=u.substr(0,v),y=u.substr(v+1)):(g=u,y=""),p=decodeURIComponent(g),b=decodeURIComponent(y),_(a,p)?Array.isArray(a[p])?a[p].push(b):a[p]=[a[p],b]:a[p]=b}return a}},29539:ge=>{"use strict";var _=function(f){switch(typeof f){case"string":return f;case"boolean":return f?"true":"false";case"number":return isFinite(f)?f:"";default:return""}};ge.exports=function(f,c,o,C){return c=c||"&",o=o||"=",null===f&&(f=void 0),"object"==typeof f?Object.keys(f).map(function(a){var E=encodeURIComponent(_(a))+o;return Array.isArray(f[a])?f[a].map(function(T){return E+encodeURIComponent(_(T))}).join(c):E+encodeURIComponent(_(f[a]))}).join(c):C?encodeURIComponent(_(C))+o+encodeURIComponent(_(f)):""}},38845:(ge,_,f)=>{"use strict";_.decode=_.parse=f(91815),_.encode=_.stringify=f(29539)},35055:function(ge){typeof self<"u"&&self,ge.exports=function(_){var f={};function c(o){if(f[o])return f[o].exports;var C=f[o]={i:o,l:!1,exports:{}};return _[o].call(C.exports,C,C.exports,c),C.l=!0,C.exports}return c.m=_,c.c=f,c.d=function(o,C,a){c.o(o,C)||Object.defineProperty(o,C,{configurable:!1,enumerable:!0,get:a})},c.n=function(o){var C=o&&o.__esModule?function(){return o.default}:function(){return o};return c.d(C,"a",C),C},c.o=function(o,C){return Object.prototype.hasOwnProperty.call(o,C)},c.p="",c(c.s=109)}([function(_,f,c){"use strict";
vendor: 33,128 bytes, line 1
1Object.defineProperty(f,"__esModule",{value:!0});var o=c(17),C=c(18),a=c(19),E=c(45),T=c(46),s=c(47),h=c(48),u=c(49),v=c(12),g=c(32),y=c(33),p=c(31),b=c(1);f.default={Scope:b.Scope,create:b.create,find:b.find,query:b.query,register:b.register,Container:o.default,Format:C.default,Leaf:a.default,Embed:h.default,Scroll:E.default,Block:s.default,Inline:T.default,Text:u.default,Attributor:{Attribute:v.default,Class:g.default,Style:y.default,Store:p.default}}},function(_,f,c){"use strict";var p,o=this&&this.__extends||(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,R){b.__proto__=R}||function(b,R){for(var P in R)R.hasOwnProperty(P)&&(b[P]=R[P])},function(b,R){function P(){this.constructor=b}p(b,R),b.prototype=null===R?Object.create(R):(P.prototype=R.prototype,new P)});Object.defineProperty(f,"__esModule",{value:!0});var C=function(p){function b(R){var P=this;return(P=p.call(this,R="[Parchment] "+R)||this).message=R,P.name=P.constructor.name,P}return o(b,p),b}(Error);f.ParchmentError=C;var h,a={},E={},T={},s={};function g(p,b){var R;if(void 0===b&&(b=h.ANY),"string"==typeof p)R=s[p]||a[p];else if(p instanceof Text||p.nodeType===Node.TEXT_NODE)R=s.text;else if("number"==typeof p)p&h.LEVEL&h.BLOCK?R=s.block:p&h.LEVEL&h.INLINE&&(R=s.inline);else if(p instanceof HTMLElement){var P=(p.getAttribute("class")||"").split(/\s+/);for(var k in P)if(R=E[P[k]])break;R=R||T[p.tagName]}return null==R?null:b&h.LEVEL&R.scope&&b&h.TYPE&R.scope?R:null}f.DATA_KEY="__blot",function(p){p[p.TYPE=3]="TYPE",p[p.LEVEL=12]="LEVEL",p[p.ATTRIBUTE=13]="ATTRIBUTE",p[p.BLOT=14]="BLOT",p[p.INLINE=7]="INLINE",p[p.BLOCK=11]="BLOCK",p[p.BLOCK_BLOT=10]="BLOCK_BLOT",p[p.INLINE_BLOT=6]="INLINE_BLOT",p[p.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",p[p.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",p[p.ANY=15]="ANY"}(h=f.Scope||(f.Scope={})),f.create=function u(p,b){var R=g(p);if(null==R)throw new C("Unable to create "+p+" blot");var P=R,k=p instanceof Node||p.nodeType===Node.TEXT_NODE?p:P.create(b);return new P(k,b)},f.find=function v(p,b){return void 0===b&&(b=!1),null==p?null:null!=p[f.DATA_KEY]?p[f.DATA_KEY].blot:b?v(p.parentNode,b):null},f.query=g,f.register=function y(){for(var p=[],b=0;b<arguments.length;b++)p[b]=arguments[b];if(p.length>1)return p.map(function(k){return y(k)});var R=p[0];if("string"!=typeof R.blotName&&"string"!=typeof R.attrName)throw new C("Invalid definition");if("abstract"===R.blotName)throw new C("Cannot register abstract class");return s[R.blotName||R.attrName]=R,"string"==typeof R.keyName?a[R.keyName]=R:(null!=R.className&&(E[R.className]=R),null!=R.tagName&&(R.tagName=Array.isArray(R.tagName)?R.tagName.map(function(k){return k.toUpperCase()}):R.tagName.toUpperCase(),(Array.isArray(R.tagName)?R.tagName:[R.tagName]).forEach(function(k){(null==T[k]||null==R.className)&&(T[k]=R)}))),R}},function(_,f,c){var o=c(51),C=c(11),a=c(3),E=c(20),s=function(h){this.ops=Array.isArray(h)?h:null!=h&&Array.isArray(h.ops)?h.ops:[]};s.prototype.insert=function(h,u){var v={};return 0===h.length?this:(v.insert=h,null!=u&&"object"==typeof u&&Object.keys(u).length>0&&(v.attributes=u),this.push(v))},s.prototype.delete=function(h){return h<=0?this:this.push({delete:h})},s.prototype.retain=function(h,u){if(h<=0)return this;var v={retain:h};return null!=u&&"object"==typeof u&&Object.keys(u).length>0&&(v.attributes=u),this.push(v)},s.prototype.push=function(h){var u=this.ops.length,v=this.ops[u-1];if(h=a(!0,{},h),"object"==typeof v){if("number"==typeof h.delete&&"number"==typeof v.delete)return this.ops[u-1]={delete:v.delete+h.delete},this;if("number"==typeof v.delete&&null!=h.insert&&"object"!=typeof(v=this.ops[(u-=1)-1]))return this.ops.unshift(h),this;if(C(h.attributes,v.attributes)){if("string"==typeof h.insert&&"string"==typeof v.insert)return this.ops[u-1]={insert:v.insert+h.insert},"object"==typeof h.attributes&&(this.ops[u-1].attributes=h.attributes),this;if("number"==typeof h.retain&&"number"==typeof v.retain)return this.ops[u-1]={retain:v.retain+h.retain},"object"==typeof h.attributes&&(this.ops[u-1].attributes=h.attributes),this}}return u===this.ops.length?this.ops.push(h):this.ops.splice(u,0,h),this},s.prototype.chop=function(){var h=this.ops[this.ops.length-1];return h&&h.retain&&!h.attributes&&this.ops.pop(),this},s.prototype.filter=function(h){return this.ops.filter(h)},s.prototype.forEach=function(h){this.ops.forEach(h)},s.prototype.map=function(h){return this.ops.map(h)},s.prototype.partition=function(h){var u=[],v=[];return this.forEach(function(g){(h(g)?u:v).push(g)}),[u,v]},s.prototype.reduce=function(h,u){return this.ops.reduce(h,u)},s.prototype.changeLength=function(){return this.reduce(function(h,u){return u.insert?h+E.length(u):u.delete?h-u.delete:h},0)},s.prototype.length=function(){return this.reduce(function(h,u){return h+E.length(u)},0)},s.prototype.slice=function(h,u){h=h||0,"number"!=typeof u&&(u=1/0);for(var v=[],g=E.iterator(this.ops),y=0;y<u&&g.hasNext();){var p;y<h?p=g.next(h-y):(p=g.next(u-y),v.push(p)),y+=E.length(p)}return new s(v)},s.prototype.compose=function(h){var u=E.iterator(this.ops),v=E.iterator(h.ops),g=[],y=v.peek();if(null!=y&&"number"==typeof y.retain&&null==y.attributes){for(var p=y.retain;"insert"===u.peekType()&&u.peekLength()<=p;)p-=u.peekLength(),g.push(u.next());y.retain-p>0&&v.next(y.retain-p)}for(var b=new s(g);u.hasNext()||v.hasNext();)if("insert"===v.peekType())b.push(v.next());else if("delete"===u.peekType())b.push(u.next());else{var R=Math.min(u.peekLength(),v.peekLength()),P=u.next(R),k=v.next(R);if("number"==typeof k.retain){var O={};"number"==typeof P.retain?O.retain=R:O.insert=P.insert;var V=E.attributes.compose(P.attributes,k.attributes,"number"==typeof P.retain);if(V&&(O.attributes=V),b.push(O),!v.hasNext()&&C(b.ops[b.ops.length-1],O)){var K=new s(u.rest());return b.concat(K).chop()}}else"number"==typeof k.delete&&"number"==typeof P.retain&&b.push(k)}return b.chop()},s.prototype.concat=function(h){var u=new s(this.ops.slice());return h.ops.length>0&&(u.push(h.ops[0]),u.ops=u.ops.concat(h.ops.slice(1))),u},s.prototype.diff=function(h,u){if(this.ops===h.ops)return new s;var v=[this,h].map(function(R){return R.map(function(P){if(null!=P.insert)return"string"==typeof P.insert?P.insert:"\0";throw new Error("diff() called "+(R===h?"on":"with")+" non-document")}).join("")}),g=new s,y=o(v[0],v[1],u),p=E.iterator(this.ops),b=E.iterator(h.ops);return y.forEach(function(R){for(var P=R[1].length;P>0;){var k=0;switch(R[0]){case o.INSERT:k=Math.min(b.peekLength(),P),g.push(b.next(k));break;case o.DELETE:k=Math.min(P,p.peekLength()),p.next(k),g.delete(k);break;case o.EQUAL:k=Math.min(p.peekLength(),b.peekLength(),P);var O=p.next(k),V=b.next(k);C(O.insert,V.insert)?g.retain(k,E.attributes.diff(O.attributes,V.attributes)):g.push(V).delete(k)}P-=k}}),g.chop()},s.prototype.eachLine=function(h,u){u=u||"\n";for(var v=E.iterator(this.ops),g=new s,y=0;v.hasNext();){if("insert"!==v.peekType())return;var p=v.peek(),b=E.length(p)-v.peekLength(),R="string"==typeof p.insert?p.insert.indexOf(u,b)-b:-1;if(R<0)g.push(v.next());else if(R>0)g.push(v.next(R));else{if(!1===h(g,v.next(1).attributes||{},y))return;y+=1,g=new s}}g.length()>0&&h(g,{},y)},s.prototype.transform=function(h,u){if(u=!!u,"number"==typeof h)return this.transformPosition(h,u);for(var v=E.iterator(this.ops),g=E.iterator(h.ops),y=new s;v.hasNext()||g.hasNext();)if("insert"!==v.peekType()||!u&&"insert"===g.peekType())if("insert"===g.peekType())y.push(g.next());else{var p=Math.min(v.peekLength(),g.peekLength()),b=v.next(p),R=g.next(p);if(b.delete)continue;R.delete?y.push(R):y.retain(p,E.attributes.transform(b.attributes,R.attributes,u))}else y.retain(E.length(v.next()));return y.chop()},s.prototype.transformPosition=function(h,u){u=!!u;for(var v=E.iterator(this.ops),g=0;v.hasNext()&&g<=h;){var y=v.peekLength(),p=v.peekType();v.next(),"delete"!==p?("insert"===p&&(g<h||!u)&&(h+=y),g+=y):h-=Math.min(y,h-g)}return h},_.exports=s},function(_,f){"use strict";var c=Object.prototype.hasOwnProperty,o=Object.prototype.toString,C=Object.defineProperty,a=Object.getOwnPropertyDescriptor,E=function(v){return"function"==typeof Array.isArray?Array.isArray(v):"[object Array]"===o.call(v)},T=function(v){if(!v||"[object Object]"!==o.call(v))return!1;var p,g=c.call(v,"constructor"),y=v.constructor&&v.constructor.prototype&&c.call(v.constructor.prototype,"isPrototypeOf");if(v.constructor&&!g&&!y)return!1;for(p in v);return typeof p>"u"||c.call(v,p)},s=function(v,g){C&&"__proto__"===g.name?C(v,g.name,{enumerable:!0,configurable:!0,value:g.newValue,writable:!0}):v[g.name]=g.newValue},h=function(v,g){if("__proto__"===g){if(!c.call(v,g))return;if(a)return a(v,g).value}return v[g]};_.exports=function u(){var v,g,y,p,b,R,P=arguments[0],k=1,O=arguments.length,V=!1;for("boolean"==typeof P&&(V=P,P=arguments[1]||{},k=2),(null==P||"object"!=typeof P&&"function"!=typeof P)&&(P={});k<O;++k)if(null!=(v=arguments[k]))for(g in v)y=h(P,g),P!==(p=h(v,g))&&(V&&p&&(T(p)||(b=E(p)))?(b?(b=!1,R=y&&E(y)?y:[]):R=y&&T(y)?y:{},s(P,{name:g,newValue:u(V,R,p)})):typeof p<"u"&&s(P,{name:g,newValue:p}));return P}},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=f.BlockEmbed=f.bubbleFormats=void 0;var o=function(){function q(Z,de){for(var ee=0;ee<de.length;ee++){var Y=de[ee];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(Z,Y.key,Y)}}return function(Z,de,ee){return de&&q(Z.prototype,de),ee&&q(Z,ee),Z}}(),C=function q(Z,de,ee){null===Z&&(Z=Function.prototype);var Y=Object.getOwnPropertyDescriptor(Z,de);if(void 0===Y){var ae=Object.getPrototypeOf(Z);return null===ae?void 0:q(ae,de,ee)}if("value"in Y)return Y.value;var fe=Y.get;return void 0===fe?void 0:fe.call(ee)},E=P(c(3)),s=P(c(2)),u=P(c(0)),g=P(c(16)),p=P(c(6)),R=P(c(7));function P(q){return q&&q.__esModule?q:{default:q}}function k(q,Z){if(!(q instanceof Z))throw new TypeError("Cannot call a class as a function")}function O(q,Z){if(!q)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!Z||"object"!=typeof Z&&"function"!=typeof Z?q:Z}function V(q,Z){if("function"!=typeof Z&&null!==Z)throw new TypeError("Super expression must either be null or a function, not "+typeof Z);q.prototype=Object.create(Z&&Z.prototype,{constructor:{value:q,enumerable:!1,writable:!0,configurable:!0}}),Z&&(Object.setPrototypeOf?Object.setPrototypeOf(q,Z):q.__proto__=Z)}var z=function(q){function Z(){return k(this,Z),O(this,(Z.__proto__||Object.getPrototypeOf(Z)).apply(this,arguments))}return V(Z,q),o(Z,[{key:"attach",value:function(){C(Z.prototype.__proto__||Object.getPrototypeOf(Z.prototype),"attach",this).call(this),this.attributes=new u.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new s.default).insert(this.value(),(0,E.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(ee,Y){var ae=u.default.query(ee,u.default.Scope.BLOCK_ATTRIBUTE);null!=ae&&this.attributes.attribute(ae,Y)}},{key:"formatAt",value:function(ee,Y,ae,fe){this.format(ae,fe)}},{key:"insertAt",value:function(ee,Y,ae){if("string"==typeof Y&&Y.endsWith("\n")){var fe=u.default.create(H.blotName);this.parent.insertBefore(fe,0===ee?this:this.next),fe.insertAt(0,Y.slice(0,-1))}else C(Z.prototype.__proto__||Object.getPrototypeOf(Z.prototype),"insertAt",this).call(this,ee,Y,ae)}}]),Z}(u.default.Embed);z.scope=u.default.Scope.BLOCK_BLOT;var H=function(q){function Z(de){k(this,Z);var ee=O(this,(Z.__proto__||Object.getPrototypeOf(Z)).call(this,de));return ee.cache={},ee}return V(Z,q),o(Z,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(u.default.Leaf).reduce(function(ee,Y){return 0===Y.length()?ee:ee.insert(Y.value(),x(Y))},new s.default).insert("\n",x(this))),this.cache.delta}},{key:"deleteAt",value:function(ee,Y){C(Z.prototype.__proto__||Object.getPrototypeOf(Z.prototype),"deleteAt",this).call(this,ee,Y),this.cache={}}},{key:"formatAt",value:function(ee,Y,ae,fe){Y<=0||(u.default.query(ae,u.default.Scope.BLOCK)?ee+Y===this.length()&&this.format(ae,fe):C(Z.prototype.__proto__||Object.getPrototypeOf(Z.prototype),"formatAt",this).call(this,ee,Math.min(Y,this.length()-ee-1),ae,fe),this.cache={})}},{key:"insertAt",value:function(ee,Y,ae){if(null!=ae)return C(Z.prototype.__proto__||Object.getPrototypeOf(Z.prototype),"insertAt",this).call(this,ee,Y,ae);if(0!==Y.length){var fe=Y.split("\n"),ne=fe.shift();ne.length>0&&(ee<this.length()-1||null==this.children.tail?C(Z.prototype.__proto__||Object.getPrototypeOf(Z.prototype),"insertAt",this).call(this,Math.min(ee,this.length()-1),ne):this.children.tail.insertAt(this.children.tail.length(),ne),this.cache={});var ce=this;fe.reduce(function(me,re){return(ce=ce.split(me,!0)).insertAt(0,re),re.length},ee+ne.length)}}},{key:"insertBefore",value:function(ee,Y){var ae=this.children.head;C(Z.prototype.__proto__||Object.getPrototypeOf(Z.prototype),"insertBefore",this).call(this,ee,Y),ae instanceof g.default&&ae.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=C(Z.prototype.__proto__||Object.getPrototypeOf(Z.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(ee,Y){C(Z.prototype.__proto__||Object.getPrototypeOf(Z.prototype),"moveChildren",this).call(this,ee,Y),this.cache={}}},{key:"optimize",value:function(ee){C(Z.prototype.__proto__||Object.getPrototypeOf(Z.prototype),"optimize",this).call(this,ee),this.cache={}}},{key:"path",value:function(ee){return C(Z.prototype.__proto__||Object.getPrototypeOf(Z.prototype),"path",this).call(this,ee,!0)}},{key:"removeChild",value:function(ee){C(Z.prototype.__proto__||Object.getPrototypeOf(Z.prototype),"removeChild",this).call(this,ee),this.cache={}}},{key:"split",value:function(ee){var Y=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Y&&(0===ee||ee>=this.length()-1)){var ae=this.clone();return 0===ee?(this.parent.insertBefore(ae,this),this):(this.parent.insertBefore(ae,this.next),ae)}var fe=C(Z.prototype.__proto__||Object.getPrototypeOf(Z.prototype),"split",this).call(this,ee,Y);return this.cache={},fe}}]),Z}(u.default.Block);function x(q){var Z=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==q||("function"==typeof q.formats&&(Z=(0,E.default)(Z,q.formats())),null==q.parent||"scroll"==q.parent.blotName||q.parent.statics.scope!==q.statics.scope)?Z:x(q.parent,Z)}H.blotName="block",H.tagName="P",H.defaultChild="break",H.allowedChildren=[p.default,u.default.Embed,R.default],f.bubbleFormats=x,f.BlockEmbed=z,f.default=H},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=f.overload=f.expandConfig=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ce){return typeof ce}:function(ce){return ce&&"function"==typeof Symbol&&ce.constructor===Symbol&&ce!==Symbol.prototype?"symbol":typeof ce},C=function(){return function(me,re){if(Array.isArray(me))return me;if(Symbol.iterator in Object(me))return function ce(me,re){var $=[],X=!0,M=!1,N=void 0;try{for(var ue,G=me[Symbol.iterator]();!(X=(ue=G.next()).done)&&($.push(ue.value),!re||$.length!==re);X=!0);}catch(ve){M=!0,N=ve}finally{try{!X&&G.return&&G.return()}finally{if(M)throw N}}return $}(me,re);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function ce(me,re){for(var $=0;$<re.length;$++){var X=re[$];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(me,X.key,X)}}return function(me,re,$){return re&&ce(me.prototype,re),$&&ce(me,$),me}}();c(50);var T=x(c(2)),h=x(c(14)),v=x(c(8)),y=x(c(9)),b=x(c(0)),R=c(15),P=x(R),O=x(c(3)),K=x(c(10)),H=x(c(34));function x(ce){return ce&&ce.__esModule?ce:{default:ce}}function q(ce,me,re){return me in ce?Object.defineProperty(ce,me,{value:re,enumerable:!0,configurable:!0,writable:!0}):ce[me]=re,ce}var de=(0,K.default)("quill"),ee=function(){function ce(me){var re=this,$=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function Z(ce,me){if(!(ce instanceof me))throw new TypeError("Cannot call a class as a function")}(this,ce),this.options=Y(me,$),this.container=this.options.container,null==this.container)return de.error("Invalid Quill container",me);this.options.debug&&ce.debug(this.options.debug);var X=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new v.default,this.scroll=b.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new h.default(this.scroll),this.selection=new P.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(v.default.events.EDITOR_CHANGE,function(N){N===v.default.events.TEXT_CHANGE&&re.root.classList.toggle("ql-blank",re.editor.isBlank())}),this.emitter.on(v.default.events.SCROLL_UPDATE,function(N,G){var ue=re.selection.lastRange,ve=ue&&0===ue.length?ue.index:void 0;ae.call(re,function(){return re.editor.update(null,G,ve)},N)});var M=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+X+"<p><br></p></div>");this.setContents(M),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return a(ce,null,[{key:"debug",value:function(re){!0===re&&(re="log"),K.default.level(re)}},{key:"find",value:function(re){return re.__quill||b.default.find(re)}},{key:"import",value:function(re){return null==this.imports[re]&&de.error("Cannot import "+re+". Are you sure it was registered?"),this.imports[re]}},{key:"register",value:function(re,$){var X=this,M=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof re){var N=re.attrName||re.blotName;"string"==typeof N?this.register("formats/"+N,re,$):Object.keys(re).forEach(function(G){X.register(G,re[G],$)})}else null!=this.imports[re]&&!M&&de.warn("Overwriting "+re+" with",$),this.imports[re]=$,(re.startsWith("blots/")||re.startsWith("formats/"))&&"abstract"!==$.blotName?b.default.register($):re.startsWith("modules")&&"function"==typeof $.register&&$.register()}}]),a(ce,[{key:"addContainer",value:function(re){var $=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof re){var X=re;(re=document.createElement("div")).classList.add(X)}return this.container.insertBefore(re,$),re}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(re,$,X){var M=this,N=fe(re,$,X),G=C(N,4);return ae.call(this,function(){return M.editor.deleteText(re,$)},X=G[3],re=G[0],-1*($=G[1]))}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var re=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(re),this.container.classList.toggle("ql-disabled",!re)}},{key:"focus",value:function(){var re=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=re,this.scrollIntoView()}},{key:"format",value:function(re,$){var X=this;return ae.call(this,function(){var N=X.getSelection(!0),G=new T.default;if(null==N)return G;if(b.default.query(re,b.default.Scope.BLOCK))G=X.editor.formatLine(N.index,N.length,q({},re,$));else{if(0===N.length)return X.selection.format(re,$),G;G=X.editor.formatText(N.index,N.length,q({},re,$))}return X.setSelection(N,v.default.sources.SILENT),G},arguments.length>2&&void 0!==arguments[2]?arguments[2]:v.default.sources.API)}},{key:"formatLine",value:function(re,$,X,M,N){var ue,G=this,ve=fe(re,$,X,M,N),we=C(ve,4);return $=we[1],ue=we[2],ae.call(this,function(){return G.editor.formatLine(re,$,ue)},N=we[3],re=we[0],0)}},{key:"formatText",value:function(re,$,X,M,N){var ue,G=this,ve=fe(re,$,X,M,N),we=C(ve,4);return $=we[1],ue=we[2],ae.call(this,function(){return G.editor.formatText(re,$,ue)},N=we[3],re=we[0],0)}},{key:"getBounds",value:function(re){var X;X="number"==typeof re?this.selection.getBounds(re,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0):this.selection.getBounds(re.index,re.length);var M=this.container.getBoundingClientRect();return{bottom:X.bottom-M.top,height:X.height,left:X.left-M.left,right:X.right-M.left,top:X.top-M.top,width:X.width}}},{key:"getContents",value:function(){var re=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,$=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-re,X=fe(re,$),M=C(X,2);return this.editor.getContents(re=M[0],$=M[1])}},{key:"getFormat",value:function(){var re=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0);return"number"==typeof re?this.editor.getFormat(re,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0):this.editor.getFormat(re.index,re.length)}},{key:"getIndex",value:function(re){return re.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(re){return this.scroll.leaf(re)}},{key:"getLine",value:function(re){return this.scroll.line(re)}},{key:"getLines",value:function(){var re=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,$=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof re?this.scroll.lines(re.index,re.length):this.scroll.lines(re,$)}},{key:"getModule",value:function(re){return this.theme.modules[re]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var re=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,$=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-re,X=fe(re,$),M=C(X,2);return this.editor.getText(re=M[0],$=M[1])}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(re,$,X){var M=this;return ae.call(this,function(){return M.editor.insertEmbed(re,$,X)},arguments.length>3&&void 0!==arguments[3]?arguments[3]:ce.sources.API,re)}},{key:"insertText",value:function(re,$,X,M,N){var ue,G=this,ve=fe(re,0,X,M,N),we=C(ve,4);return ue=we[2],ae.call(this,function(){return G.editor.insertText(re,$,ue)},N=we[3],re=we[0],$.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(re,$,X){this.clipboard.dangerouslyPasteHTML(re,$,X)}},{key:"removeFormat",value:function(re,$,X){var M=this,N=fe(re,$,X),G=C(N,4);return $=G[1],ae.call(this,function(){return M.editor.removeFormat(re,$)},X=G[3],re=G[0])}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(re){var $=this;return ae.call(this,function(){re=new T.default(re);var M=$.getLength(),N=$.editor.deleteText(0,M),G=$.editor.applyDelta(re),ue=G.ops[G.ops.length-1];return null!=ue&&"string"==typeof ue.insert&&"\n"===ue.insert[ue.insert.length-1]&&($.editor.deleteText($.getLength()-1,1),G.delete(1)),N.compose(G)},arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.default.sources.API)}},{key:"setSelection",value:function(re,$,X){if(null==re)this.selection.setRange(null,$||ce.sources.API);else{var M=fe(re,$,X),N=C(M,4);X=N[3],this.selection.setRange(new R.Range(re=N[0],$=N[1]),X),X!==v.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(re){var $=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.default.sources.API,X=(new T.default).insert(re);return this.setContents(X,$)}},{key:"update",value:function(){var re=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.default.sources.USER,$=this.scroll.update(re);return this.selection.update(re),$}},{key:"updateContents",value:function(re){var $=this,X=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.default.sources.API;return ae.call(this,function(){return re=new T.default(re),$.editor.applyDelta(re,X)},X,!0)}}]),ce}();function Y(ce,me){if((me=(0,O.default)(!0,{container:ce,modules:{clipboard:!0,keyboard:!0,history:!0}},me)).theme&&me.theme!==ee.DEFAULTS.theme){if(me.theme=ee.import("themes/"+me.theme),null==me.theme)throw new Error("Invalid theme "+me.theme+". Did you register it?")}else me.theme=H.default;var re=(0,O.default)(!0,{},me.theme.DEFAULTS);[re,me].forEach(function(M){M.modules=M.modules||{},Object.keys(M.modules).forEach(function(N){!0===M.modules[N]&&(M.modules[N]={})})});var X=Object.keys(re.modules).concat(Object.keys(me.modules)).reduce(function(M,N){var G=ee.import("modules/"+N);return null==G?de.error("Cannot load "+N+" module. Are you sure you registered it?"):M[N]=G.DEFAULTS||{},M},{});return null!=me.modules&&me.modules.toolbar&&me.modules.toolbar.constructor!==Object&&(me.modules.toolbar={container:me.modules.toolbar}),me=(0,O.default)(!0,{},ee.DEFAULTS,{modules:X},re,me),["bounds","container","scrollingContainer"].forEach(function(M){"string"==typeof me[M]&&(me[M]=document.querySelector(me[M]))}),me.modules=Object.keys(me.modules).reduce(function(M,N){return me.modules[N]&&(M[N]=me.modules[N]),M},{}),me}function ae(ce,me,re,$){if(this.options.strict&&!this.isEnabled()&&me===v.default.sources.USER)return new T.default;var X=null==re?null:this.getSelection(),M=this.editor.delta,N=ce();if(null!=X&&(!0===re&&(re=X.index),null==$?X=ne(X,N,me):0!==$&&(X=ne(X,re,$,me)),this.setSelection(X,v.default.sources.SILENT)),N.length()>0){var G,ve,ue=[v.default.events.TEXT_CHANGE,N,M,me];(G=this.emitter).emit.apply(G,[v.default.events.EDITOR_CHANGE].concat(ue)),me!==v.default.sources.SILENT&&(ve=this.emitter).emit.apply(ve,ue)}return N}function fe(ce,me,re,$,X){var M={};return"number"==typeof ce.index&&"number"==typeof ce.length?"number"!=typeof me?(X=$,$=re,re=me,me=ce.length,ce=ce.index):(me=ce.length,ce=ce.index):"number"!=typeof me&&(X=$,$=re,re=me,me=0),"object"===(typeof re>"u"?"undefined":o(re))?(M=re,X=$):"string"==typeof re&&(null!=$?M[re]=$:X=re),[ce,me,M,X=X||v.default.sources.API]}function ne(ce,me,re,$){if(null==ce)return null;var X=void 0,M=void 0;if(me instanceof T.default){var N=[ce.index,ce.index+ce.length].map(function(we){return me.transformPosition(we,$!==v.default.sources.USER)}),G=C(N,2);X=G[0],M=G[1]}else{var ue=[ce.index,ce.index+ce.length].map(function(we){return we<me||we===me&&$===v.default.sources.USER?we:re>=0?we+re:Math.max(me,we+re)}),ve=C(ue,2);X=ve[0],M=ve[1]}return new R.Range(X,M-X)}ee.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},ee.events=v.default.events,ee.sources=v.default.sources,ee.version="1.3.7",ee.imports={delta:T.default,parchment:b.default,"core/module":y.default,"core/theme":H.default},f.expandConfig=Y,f.overload=fe,f.default=ee},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=function(){function p(b,R){for(var P=0;P<R.length;P++){var k=R[P];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}return function(b,R,P){return R&&p(b.prototype,R),P&&p(b,P),b}}(),C=function p(b,R,P){null===b&&(b=Function.prototype);var k=Object.getOwnPropertyDescriptor(b,R);if(void 0===k){var O=Object.getPrototypeOf(b);return null===O?void 0:p(O,R,P)}if("value"in k)return k.value;var V=k.get;return void 0===V?void 0:V.call(P)},E=h(c(7)),s=h(c(0));function h(p){return p&&p.__esModule?p:{default:p}}var y=function(p){function b(){return function u(p,b){if(!(p instanceof b))throw new TypeError("Cannot call a class as a function")}(this,b),function v(p,b){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?p:b}(this,(b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments))}return function g(p,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);p.prototype=Object.create(b&&b.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(p,b):p.__proto__=b)}(b,p),o(b,[{key:"formatAt",value:function(P,k,O,V){if(b.compare(this.statics.blotName,O)<0&&s.default.query(O,s.default.Scope.BLOT)){var K=this.isolate(P,k);V&&K.wrap(O,V)}else C(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"formatAt",this).call(this,P,k,O,V)}},{key:"optimize",value:function(P){if(C(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"optimize",this).call(this,P),this.parent instanceof b&&b.compare(this.statics.blotName,this.parent.statics.blotName)>0){var k=this.parent.isolate(this.offset(),this.length());this.moveChildren(k),k.wrap(this)}}}],[{key:"compare",value:function(P,k){var O=b.order.indexOf(P),V=b.order.indexOf(k);return O>=0||V>=0?O-V:P===k?0:P<k?-1:1}}]),b}(s.default.Inline);y.allowedChildren=[y,s.default.Embed,E.default],y.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],f.default=y},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var h=function(u){function v(){return function E(u,v){if(!(u instanceof v))throw new TypeError("Cannot call a class as a function")}(this,v),function T(u,v){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!v||"object"!=typeof v&&"function"!=typeof v?u:v}(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return function s(u,v){if("function"!=typeof v&&null!==v)throw new TypeError("Super expression must either be null or a function, not "+typeof v);u.prototype=Object.create(v&&v.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(u,v):u.__proto__=v)}(v,u),v}(function a(u){return u&&u.__esModule?u:{default:u}}(c(0)).default.Text);f.default=h},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=function(){function R(P,k){for(var O=0;O<k.length;O++){var V=k[O];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(P,V.key,V)}}return function(P,k,O){return k&&R(P.prototype,k),O&&R(P,O),P}}(),C=function R(P,k,O){null===P&&(P=Function.prototype);var V=Object.getOwnPropertyDescriptor(P,k);if(void 0===V){var K=Object.getPrototypeOf(P);return null===K?void 0:R(K,k,O)}if("value"in V)return V.value;var z=V.get;return void 0===z?void 0:z.call(O)},E=h(c(54));function h(R){return R&&R.__esModule?R:{default:R}}var y=(0,h(c(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach(function(R){document.addEventListener(R,function(){for(var P=arguments.length,k=Array(P),O=0;O<P;O++)k[O]=arguments[O];[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(V){var K;V.__quill&&V.__quill.emitter&&(K=V.__quill.emitter).handleDOM.apply(K,k)})})});var b=function(R){function P(){!function u(R,P){if(!(R instanceof P))throw new TypeError("Cannot call a class as a function")}(this,P);var k=function v(R,P){if(!R)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!P||"object"!=typeof P&&"function"!=typeof P?R:P}(this,(P.__proto__||Object.getPrototypeOf(P)).call(this));return k.listeners={},k.on("error",y.error),k}return function g(R,P){if("function"!=typeof P&&null!==P)throw new TypeError("Super expression must either be null or a function, not "+typeof P);R.prototype=Object.create(P&&P.prototype,{constructor:{value:R,enumerable:!1,writable:!0,configurable:!0}}),P&&(Object.setPrototypeOf?Object.setPrototypeOf(R,P):R.__proto__=P)}(P,R),o(P,[{key:"emit",value:function(){y.log.apply(y,arguments),C(P.prototype.__proto__||Object.getPrototypeOf(P.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(O){for(var V=arguments.length,K=Array(V>1?V-1:0),z=1;z<V;z++)K[z-1]=arguments[z];(this.listeners[O.type]||[]).forEach(function(H){var x=H.node,q=H.handler;(O.target===x||x.contains(O.target))&&q.apply(void 0,[O].concat(K))})}},{key:"listenDOM",value:function(O,V,K){this.listeners[O]||(this.listeners[O]=[]),this.listeners[O].push({node:V,handler:K})}}]),P}(E.default);b.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},b.sources={API:"api",SILENT:"silent",USER:"user"},f.default=b},function(_,f,c){"use strict";
vendor: 6,439 bytes, line 1
1Object.defineProperty(f,"__esModule",{value:!0});var C=function a(E){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(function o(a,E){if(!(a instanceof E))throw new TypeError("Cannot call a class as a function")})(this,a),this.quill=E,this.options=T};C.DEFAULTS={},f.default=C},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=["error","warn","log","info"],C="warn";function a(T){if(o.indexOf(T)<=o.indexOf(C)){for(var s,h=arguments.length,u=Array(h>1?h-1:0),v=1;v<h;v++)u[v-1]=arguments[v];(s=console)[T].apply(s,u)}}function E(T){return o.reduce(function(s,h){return s[h]=a.bind(console,h,T),s},{})}a.level=E.level=function(T){C=T},f.default=E},function(_,f,c){var o=Array.prototype.slice,C=c(52),a=c(53),E=_.exports=function(u,v,g){return g||(g={}),u===v||(u instanceof Date&&v instanceof Date?u.getTime()===v.getTime():!u||!v||"object"!=typeof u&&"object"!=typeof v?g.strict?u===v:u==v:function h(u,v,g){var y,p;if(T(u)||T(v)||u.prototype!==v.prototype)return!1;if(a(u))return!!a(v)&&(u=o.call(u),v=o.call(v),E(u,v,g));if(s(u)){if(!s(v)||u.length!==v.length)return!1;for(y=0;y<u.length;y++)if(u[y]!==v[y])return!1;return!0}try{var b=C(u),R=C(v)}catch{return!1}if(b.length!=R.length)return!1;for(b.sort(),R.sort(),y=b.length-1;y>=0;y--)if(b[y]!=R[y])return!1;for(y=b.length-1;y>=0;y--)if(!E(u[p=b[y]],v[p],g))return!1;return typeof u==typeof v}(u,v,g))};function T(u){return null==u}function s(u){return!(!u||"object"!=typeof u||"number"!=typeof u.length||"function"!=typeof u.copy||"function"!=typeof u.slice||u.length>0&&"number"!=typeof u[0])}},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=c(1),C=function(){function a(E,T,s){void 0===s&&(s={}),this.attrName=E,this.keyName=T,this.scope=null!=s.scope?s.scope&o.Scope.LEVEL|o.Scope.TYPE&o.Scope.ATTRIBUTE:o.Scope.ATTRIBUTE,null!=s.whitelist&&(this.whitelist=s.whitelist)}return a.keys=function(E){return[].map.call(E.attributes,function(T){return T.name})},a.prototype.add=function(E,T){return!!this.canAdd(E,T)&&(E.setAttribute(this.keyName,T),!0)},a.prototype.canAdd=function(E,T){return null!=o.query(E,o.Scope.BLOT&(this.scope|o.Scope.TYPE))&&(null==this.whitelist||("string"==typeof T?this.whitelist.indexOf(T.replace(/["']/g,""))>-1:this.whitelist.indexOf(T)>-1))},a.prototype.remove=function(E){E.removeAttribute(this.keyName)},a.prototype.value=function(E){var T=E.getAttribute(this.keyName);return this.canAdd(E,T)&&T?T:""},a}();f.default=C},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=f.Code=void 0;var o=function(){return function(H,x){if(Array.isArray(H))return H;if(Symbol.iterator in Object(H))return function z(H,x){var q=[],Z=!0,de=!1,ee=void 0;try{for(var ae,Y=H[Symbol.iterator]();!(Z=(ae=Y.next()).done)&&(q.push(ae.value),!x||q.length!==x);Z=!0);}catch(fe){de=!0,ee=fe}finally{try{!Z&&Y.return&&Y.return()}finally{if(de)throw ee}}return q}(H,x);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),C=function(){function z(H,x){for(var q=0;q<x.length;q++){var Z=x[q];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(H,Z.key,Z)}}return function(H,x,q){return x&&z(H.prototype,x),q&&z(H,q),H}}(),a=function z(H,x,q){null===H&&(H=Function.prototype);var Z=Object.getOwnPropertyDescriptor(H,x);if(void 0===Z){var de=Object.getPrototypeOf(H);return null===de?void 0:z(de,x,q)}if("value"in Z)return Z.value;var ee=Z.get;return void 0===ee?void 0:ee.call(q)},T=R(c(2)),h=R(c(0)),v=R(c(4)),y=R(c(6)),b=R(c(7));function R(z){return z&&z.__esModule?z:{default:z}}function P(z,H){if(!(z instanceof H))throw new TypeError("Cannot call a class as a function")}function k(z,H){if(!z)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!H||"object"!=typeof H&&"function"!=typeof H?z:H}function O(z,H){if("function"!=typeof H&&null!==H)throw new TypeError("Super expression must either be null or a function, not "+typeof H);z.prototype=Object.create(H&&H.prototype,{constructor:{value:z,enumerable:!1,writable:!0,configurable:!0}}),H&&(Object.setPrototypeOf?Object.setPrototypeOf(z,H):z.__proto__=H)}var V=function(z){function H(){return P(this,H),k(this,(H.__proto__||Object.getPrototypeOf(H)).apply(this,arguments))}return O(H,z),H}(y.default);V.blotName="code",V.tagName="CODE";var K=function(z){function H(){return P(this,H),k(this,(H.__proto__||Object.getPrototypeOf(H)).apply(this,arguments))}return O(H,z),C(H,[{key:"delta",value:function(){var q=this,Z=this.domNode.textContent;return Z.endsWith("\n")&&(Z=Z.slice(0,-1)),Z.split("\n").reduce(function(de,ee){return de.insert(ee).insert("\n",q.formats())},new T.default)}},{key:"format",value:function(q,Z){if(q!==this.statics.blotName||!Z){var de=this.descendant(b.default,this.length()-1),Y=o(de,1)[0];null!=Y&&Y.deleteAt(Y.length()-1,1),a(H.prototype.__proto__||Object.getPrototypeOf(H.prototype),"format",this).call(this,q,Z)}}},{key:"formatAt",value:function(q,Z,de,ee){if(0!==Z&&null!=h.default.query(de,h.default.Scope.BLOCK)&&(de!==this.statics.blotName||ee!==this.statics.formats(this.domNode))){var Y=this.newlineIndex(q);if(!(Y<0||Y>=q+Z)){var ae=this.newlineIndex(q,!0)+1,fe=Y-ae+1,ne=this.isolate(ae,fe),ce=ne.next;ne.format(de,ee),ce instanceof H&&ce.formatAt(0,q-ae+Z-fe,de,ee)}}}},{key:"insertAt",value:function(q,Z,de){if(null==de){var ee=this.descendant(b.default,q),Y=o(ee,2);Y[0].insertAt(Y[1],Z)}}},{key:"length",value:function(){var q=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?q:q+1}},{key:"newlineIndex",value:function(q){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,q).lastIndexOf("\n");var de=this.domNode.textContent.slice(q).indexOf("\n");return de>-1?q+de:-1}},{key:"optimize",value:function(q){this.domNode.textContent.endsWith("\n")||this.appendChild(h.default.create("text","\n")),a(H.prototype.__proto__||Object.getPrototypeOf(H.prototype),"optimize",this).call(this,q);var Z=this.next;null!=Z&&Z.prev===this&&Z.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===Z.statics.formats(Z.domNode)&&(Z.optimize(q),Z.moveChildren(this),Z.remove())}},{key:"replace",value:function(q){a(H.prototype.__proto__||Object.getPrototypeOf(H.prototype),"replace",this).call(this,q),[].slice.call(this.domNode.querySelectorAll("*")).forEac
vendor: 10,061 bytes, line 1
1h(function(Z){var de=h.default.find(Z);null==de?Z.parentNode.removeChild(Z):de instanceof h.default.Embed?de.remove():de.unwrap()})}}],[{key:"create",value:function(q){var Z=a(H.__proto__||Object.getPrototypeOf(H),"create",this).call(this,q);return Z.setAttribute("spellcheck",!1),Z}},{key:"formats",value:function(){return!0}}]),H}(v.default);K.blotName="code-block",K.tagName="PRE",K.TAB=" ",f.Code=V,f.default=K},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ce){return typeof ce}:function(ce){return ce&&"function"==typeof Symbol&&ce.constructor===Symbol&&ce!==Symbol.prototype?"symbol":typeof ce},C=function(){return function(me,re){if(Array.isArray(me))return me;if(Symbol.iterator in Object(me))return function ce(me,re){var $=[],X=!0,M=!1,N=void 0;try{for(var ue,G=me[Symbol.iterator]();!(X=(ue=G.next()).done)&&($.push(ue.value),!re||$.length!==re);X=!0);}catch(ve){M=!0,N=ve}finally{try{!X&&G.return&&G.return()}finally{if(M)throw N}}return $}(me,re);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function ce(me,re){for(var $=0;$<re.length;$++){var X=re[$];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(me,X.key,X)}}return function(me,re,$){return re&&ce(me.prototype,re),$&&ce(me,$),me}}(),T=Z(c(2)),h=Z(c(20)),v=Z(c(0)),y=Z(c(13)),b=Z(c(24)),R=c(4),P=Z(R),O=Z(c(16)),K=Z(c(21)),H=Z(c(11)),q=Z(c(3));function Z(ce){return ce&&ce.__esModule?ce:{default:ce}}var Y=/^[ -~]*$/,ae=function(){function ce(me){(function ee(ce,me){if(!(ce instanceof me))throw new TypeError("Cannot call a class as a function")})(this,ce),this.scroll=me,this.delta=this.getDelta()}return a(ce,[{key:"applyDelta",value:function(re){var $=this,X=!1;this.scroll.update();var M=this.scroll.length();return this.scroll.batchStart(),(re=function ne(ce){return ce.reduce(function(me,re){if(1===re.insert){var $=(0,K.default)(re.attributes);return delete $.image,me.insert({image:re.attributes.image},$)}if(null!=re.attributes&&(!0===re.attributes.list||!0===re.attributes.bullet)&&((re=(0,K.default)(re)).attributes.list?re.attributes.list="ordered":(re.attributes.list="bullet",delete re.attributes.bullet)),"string"==typeof re.insert){var X=re.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return me.insert(X,re.attributes)}return me.push(re)},new T.default)}(re)).reduce(function(N,G){var ue=G.retain||G.delete||G.insert.length||1,ve=G.attributes||{};if(null!=G.insert){if("string"==typeof G.insert){var we=G.insert;we.endsWith("\n")&&X&&(X=!1,we=we.slice(0,-1)),N>=M&&!we.endsWith("\n")&&(X=!0),$.scroll.insertAt(N,we);var Re=$.scroll.line(N),et=C(Re,2),at=et[0],Pt=et[1],At=(0,q.default)({},(0,R.bubbleFormats)(at));if(at instanceof P.default){var It=at.descendant(v.default.Leaf,Pt),qt=C(It,1);At=(0,q.default)(At,(0,R.bubbleFormats)(qt[0]))}ve=h.default.attributes.diff(At,ve)||{}}else if("object"===o(G.insert)){var lt=Object.keys(G.insert)[0];if(null==lt)return N;$.scroll.insertAt(N,lt,G.insert[lt])}M+=ue}return Object.keys(ve).forEach(function(yt){$.scroll.formatAt(N,ue,yt,ve[yt])}),N+ue},0),re.reduce(function(N,G){return"number"==typeof G.delete?($.scroll.deleteAt(N,G.delete),N):N+(G.retain||G.insert.length||1)},0),this.scroll.batchEnd(),this.update(re)}},{key:"deleteText",value:function(re,$){return this.scroll.deleteAt(re,$),this.update((new T.default).retain(re).delete($))}},{key:"formatLine",value:function(re,$){var X=this,M=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(M).forEach(function(N){if(null==X.scroll.whitelist||X.scroll.whitelist[N]){var G=X.scroll.lines(re,Math.max($,1)),ue=$;G.forEach(function(ve){var we=ve.length();if(ve instanceof y.default){var Re=re-ve.offset(X.scroll),et=ve.newlineIndex(Re+ue)-Re+1;ve.formatAt(Re,et,N,M[N])}else ve.format(N,M[N]);ue-=we})}}),this.scroll.optimize(),this.update((new T.default).retain(re).retain($,(0,K.default)(M)))}},{key:"formatText",value:function(re,$){var X=this,M=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(M).forEach(function(N){X.scroll.formatAt(re,$,N,M[N])}),this.update((new T.default).retain(re).retain($,(0,K.default)(M)))}},{key:"getContents",value:function(re,$){return this.delta.slice(re,re+$)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(re,$){return re.concat($.delta())},new T.default)}},{key:"getFormat",value:function(re){var $=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,X=[],M=[];0===$?this.scroll.path(re).forEach(function(G){var ve=C(G,1)[0];ve instanceof P.default?X.push(ve):ve instanceof v.default.Leaf&&M.push(ve)}):(X=this.scroll.lines(re,$),M=this.scroll.descendants(v.default.Leaf,re,$));var N=[X,M].map(function(G){if(0===G.length)return{};for(var ue=(0,R.bubbleFormats)(G.shift());Object.keys(ue).length>0;){var ve=G.shift();if(null==ve)return ue;ue=fe((0,R.bubbleFormats)(ve),ue)}return ue});return q.default.apply(q.default,N)}},{key:"getText",value:function(re,$){return this.getContents(re,$).filter(function(X){return"string"==typeof X.insert}).map(function(X){return X.insert}).join("")}},{key:"insertEmbed",value:function(re,$,X){return this.scroll.insertAt(re,$,X),this.update((new T.default).retain(re).insert(function de(ce,me,re){return me in ce?Object.defineProperty(ce,me,{value:re,enumerable:!0,configurable:!0,writable:!0}):ce[me]=re,ce}({},$,X)))}},{key:"insertText",value:function(re,$){var X=this,M=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return $=$.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(re,$),Object.keys(M).forEach(function(N){X.scroll.formatAt(re,$.length,N,M[N])}),this.update((new T.default).retain(re).insert($,(0,K.default)(M)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var re=this.scroll.children.head;return!(re.statics.blotName!==P.default.blotName||re.children.length>1)&&re.children.head instanceof O.default}},{key:"removeFormat",value:function(re,$){var X=this.getText(re,$),M=this.scroll.line(re+$),N=C(M,2),G=N[0],ue=N[1],ve=0,we=new T.default;null!=G&&(ve=G instanceof y.default?G.newlineIndex(ue)-ue+1:G.length()-ue,we=G.delta().slice(ue,ue+ve-1).insert("\n"));var et=this.getContents(re,$+ve).diff((new T.default).insert(X).concat(we)),at=(new T.default).retain(re).concat(et);return this.applyDelta(at)}},{key:"update",value:function(re){var $=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],X=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,M=this.delta;if(1===$.length&&"characterData"===$[0].type&&$[0].target.data.match(Y)&&v.default.find($[0].target)){var N=v.default.find($[0].target),G=(0,R.bubbleFormats)(N),ue=N.offset(this.scroll),ve=$[0].oldValue.replace(b.default.CONTENTS,""),we=(new T.default).insert(ve),Re=(new T.default).insert(N.value());re=(new T.default).retain(ue).concat(we.diff(Re,X)).reduce(function(at,Pt){return Pt.insert?at.insert(Pt.insert,G):at.push(Pt)},new T.default),this.delta=M.compose(re)}else this.delta=this.getDelta(),(!re||!(0,H.default)(M.compose(re),this.delta))&&(re=M.diff(this.delta,X));return re}}]),ce}();function fe(ce,me){return Object.keys(me).reduce(function(re,$){return null==ce[$]||(me[$]===ce[$]?re[$]=me[$]:Array.isArray(me[$])?me[$].indexOf(ce[$])<0&&(re[$]=me[$].concat([ce[$]])):re[$]=[me[$],ce[$]]),re},{})}f.default=ae},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=f.Range=void 0;var o=function(){return function(H,x){if(Array.isArray(H))return H;if(Symbol.iterator in Object(H))return function z(H,x){var q=[],Z=!0,de=!1,ee=void 0;try{for(var ae,Y=H[Symbol.iterator]();!(Z=(ae=Y.next()).done)&&(q.push(ae.value),!x||q.length!==x);Z=!0);}catch(fe){de=!0,ee=fe}finally{try{!Z&&Y.return&&Y.return()}finally{if(de)throw ee}}return q}(H,x);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),C=function(){function z(H,x){for(var q=0;q<x.length;q++){var Z=x[q];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(H,Z.key,Z)}}return function(H,x,q){return x&&z(H.prototype,x),q&&z(H,q),H}}(),E=b(c(0)),s=b(c(21)),u=b(c(11)),g=b(c(8));function b(z){return z&&z.__esModule?z:{default:z}}function R(z){if(Array.isArray(z)){for(var H=0,x=Array(z.length);H<z.length;H++)x[H]=z[H];return x}return Array.from(z)}function P(z,H){if(!(z instanceof H))throw new TypeError("Cannot call a class as a function")}var k=(0,b(c(10)).default)("quill:selection"),O=function z(H){var x=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;P(this,z),this.index=H,this.length=x},V=function(){function z(H,x){var q=this;P(this,z),this.emitter=x,this.scroll=H,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=E.default.create("cursor",this),this.lastRange=this.savedRange=new O(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){q.mouseDown||setTimeout(q.update.bind(q,g.default.sources.USER),1)}),this.emitter.on(g.default.events.EDITOR_CHANGE,function(Z,de){Z===g.default.events.TEXT_CHANGE&&de.length()>0&&q.update(g.default.sources.SILENT)}),this.emitter.on(g.default.events.SCROLL_BEFORE_UPDATE,function(){if(q.hasFocus()){var Z=q.getNativeRange();null!=Z&&Z.start.node!==q.cursor.textNode&&q.emitter.once(g.default.events.SCROLL_UPDATE,function(){try{q.setNativeRange(Z.start.node,Z.start.offset,Z.end.node,Z.end.offset)}catch{}})}}),this.emitter.on(g.default.events.SCROLL_OPTIMIZE,function(Z,de){if(de.range){var ee=de.range;q.setNativeRange(ee.startNode,ee.startOffset,ee.endNode,ee.endOffset)}}),this.update(g.default.sources.SILENT)}return C(z,[{key:"handleComposition",value:function(){var x=this;this.root.addEventListener("compositionstart",function(){x.composing=!0}),this.root.addEventListener("compositionend",function(){if(x.composing=!1,x.cursor.parent){var q=x.cursor.restore(
vendor: 5,799 bytes, line 1
1);if(!q)return;setTimeout(function(){x.setNativeRange(q.startNode,q.startOffset,q.endNode,q.endOffset)},1)}})}},{key:"handleDragging",value:function(){var x=this;this.emitter.listenDOM("mousedown",document.body,function(){x.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){x.mouseDown=!1,x.update(g.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(x,q){if(null==this.scroll.whitelist||this.scroll.whitelist[x]){this.scroll.update();var Z=this.getNativeRange();if(null!=Z&&Z.native.collapsed&&!E.default.query(x,E.default.Scope.BLOCK)){if(Z.start.node!==this.cursor.textNode){var de=E.default.find(Z.start.node,!1);if(null==de)return;if(de instanceof E.default.Leaf){var ee=de.split(Z.start.offset);de.parent.insertBefore(this.cursor,ee)}else de.insertBefore(this.cursor,Z.start.node);this.cursor.attach()}this.cursor.format(x,q),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(x){var q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,Z=this.scroll.length();x=Math.min(x,Z-1),q=Math.min(x+q,Z-1)-x;var de=void 0,ee=this.scroll.leaf(x),Y=o(ee,2),ae=Y[0],fe=Y[1];if(null==ae)return null;var ne=ae.position(fe,!0),ce=o(ne,2);de=ce[0],fe=ce[1];var me=document.createRange();if(q>0){me.setStart(de,fe);var re=this.scroll.leaf(x+q),$=o(re,2);if(null==(ae=$[0]))return null;var X=ae.position(fe=$[1],!0),M=o(X,2);return me.setEnd(de=M[0],fe=M[1]),me.getBoundingClientRect()}var N="left",G=void 0;return de instanceof Text?(fe<de.data.length?(me.setStart(de,fe),me.setEnd(de,fe+1)):(me.setStart(de,fe-1),me.setEnd(de,fe),N="right"),G=me.getBoundingClientRect()):(G=ae.domNode.getBoundingClientRect(),fe>0&&(N="right")),{bottom:G.top+G.height,height:G.height,left:G[N],right:G[N],top:G.top,width:0}}},{key:"getNativeRange",value:function(){var x=document.getSelection();if(null==x||x.rangeCount<=0)return null;var q=x.getRangeAt(0);if(null==q)return null;var Z=this.normalizeNative(q);return k.info("getNativeRange",Z),Z}},{key:"getRange",value:function(){var x=this.getNativeRange();return null==x?[null,null]:[this.normalizedToRange(x),x]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(x){var q=this,Z=[[x.start.node,x.start.offset]];x.native.collapsed||Z.push([x.end.node,x.end.offset]);var de=Z.map(function(ae){var fe=o(ae,2),ne=fe[0],ce=fe[1],me=E.default.find(ne,!0),re=me.offset(q.scroll);return 0===ce?re:me instanceof E.default.Container?re+me.length():re+me.index(ne,ce)}),ee=Math.min(Math.max.apply(Math,R(de)),this.scroll.length()-1),Y=Math.min.apply(Math,[ee].concat(R(de)));return new O(Y,ee-Y)}},{key:"normalizeNative",value:function(x){if(!K(this.root,x.startContainer)||!x.collapsed&&!K(this.root,x.endContainer))return null;var q={start:{node:x.startContainer,offset:x.startOffset},end:{node:x.endContainer,offset:x.endOffset},native:x};return[q.start,q.end].forEach(function(Z){for(var de=Z.node,ee=Z.offset;!(de instanceof Text)&&de.childNodes.length>0;)if(de.childNodes.length>ee)de=de.childNodes[ee],ee=0;else{if(de.childNodes.length!==ee)break;ee=(de=de.lastChild)instanceof Text?de.data.length:de.childNodes.length+1}Z.node=de,Z.offset=ee}),q}},{key:"rangeToNative",value:function(x){var q=this,Z=x.collapsed?[x.index]:[x.index,x.index+x.length],de=[],ee=this.scroll.length();return Z.forEach(function(Y,ae){Y=Math.min(ee-1,Y);var ne=q.scroll.leaf(Y),ce=o(ne,2),re=ce[1],$=ce[0].position(re,0!==ae),X=o($,2);de.push(X[0],re=X[1])}),de.length<2&&(de=de.concat(de)),de}},{key:"scrollIntoView",value:function(x){var q=this.lastRange;if(null!=q){var Z=this.getBounds(q.index,q.length);if(null!=Z){var de=this.scroll.length()-1,ee=this.scroll.line(Math.min(q.index,de)),ae=o(ee,1)[0],fe=ae;if(q.length>0){var ne=this.scroll.line(Math.min(q.index+q.length,de));fe=o(ne,1)[0]}if(null!=ae&&null!=fe){var me=x.getBoundingClientRect();Z.top<me.top?x.scrollTop-=me.top-Z.top:Z.bottom>me.bottom&&(x.scrollTop+=Z.bottom-me.bottom)}}}}},{key:"setNativeRange",value:function(x,q){var Z=arguments.length>2&&void 0!==arguments[2]?arguments[2]:x,de=arguments.length>3&&void 0!==arguments[3]?arguments[3]:q,ee=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(k.info("setNativeRange",x,q,Z,de),null==x||null!=this.root.parentNode&&null!=x.parentNode&&null!=Z.parentNode){var Y=document.getSelection();if(null!=Y)if(null!=x){this.hasFocus()||this.root.focus();var ae=(this.getNativeRange()||{}).native;if(null==ae||ee||x!==ae.startContainer||q!==ae.startOffset||Z!==ae.endContainer||de!==ae.endOffset){"BR"==x.tagName&&(q=[].indexOf.call(x.parentNode.childNodes,x),x=x.parentNode),"BR"==Z.tagName&&(de=[].indexOf.call(Z.parentNode.childNodes,Z),Z=Z.parentNode);var fe=document.createRange();fe.setStart(x,q),fe.setEnd(Z,de),Y.removeAllRanges(),Y.addRange(fe)}}else Y.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(x){var q=arguments.length>1&&void 0!==arguments[1]&&arguments[1],Z=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g.default.sources.API;if("string"==typeof q&&(Z=q,q=!1),k.info("setRange",x),null!=x){var de=this.rangeToNative(x);this.setNativeRange.apply(this,R(de).concat([q]))}else this.setNativeRange(null);this.update(Z)}},{key:"update",value:function(){var x=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.default.sources.USER,q=this.lastRange,Z=this.getRange(),de=o(Z,2),Y=de[1];if(this.lastRange=de[0],null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,u.default)(q,this.lastRange)){var ae;!this.composing&&null!=Y&&Y.native.collapsed&&Y.start.node!==this.cursor.textNode&&this.cursor.restore(
vendor: 13,363 bytes, line 1
1);var ne,fe=[g.default.events.SELECTION_CHANGE,(0,s.default)(this.lastRange),(0,s.default)(q),x];(ae=this.emitter).emit.apply(ae,[g.default.events.EDITOR_CHANGE].concat(fe)),x!==g.default.sources.SILENT&&(ne=this.emitter).emit.apply(ne,fe)}}}]),z}();function K(z,H){return H instanceof Text&&(H=H.parentNode),z.contains(H)}f.Range=O,f.default=V},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=function(){function g(y,p){for(var b=0;b<p.length;b++){var R=p[b];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(y,R.key,R)}}return function(y,p,b){return p&&g(y.prototype,p),b&&g(y,b),y}}(),C=function g(y,p,b){null===y&&(y=Function.prototype);var R=Object.getOwnPropertyDescriptor(y,p);if(void 0===R){var P=Object.getPrototypeOf(y);return null===P?void 0:g(P,p,b)}if("value"in R)return R.value;var k=R.get;return void 0===k?void 0:k.call(b)};var v=function(g){function y(){return function s(g,y){if(!(g instanceof y))throw new TypeError("Cannot call a class as a function")}(this,y),function h(g,y){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!y||"object"!=typeof y&&"function"!=typeof y?g:y}(this,(y.__proto__||Object.getPrototypeOf(y)).apply(this,arguments))}return function u(g,y){if("function"!=typeof y&&null!==y)throw new TypeError("Super expression must either be null or a function, not "+typeof y);g.prototype=Object.create(y&&y.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(g,y):g.__proto__=y)}(y,g),o(y,[{key:"insertInto",value:function(b,R){0===b.children.length?C(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"insertInto",this).call(this,b,R):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),y}(function T(g){return g&&g.__esModule?g:{default:g}}(c(0)).default.Embed);v.blotName="break",v.tagName="BR",f.default=v},function(_,f,c){"use strict";var h,o=this&&this.__extends||(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,v){u.__proto__=v}||function(u,v){for(var g in v)v.hasOwnProperty(g)&&(u[g]=v[g])},function(u,v){function g(){this.constructor=u}h(u,v),u.prototype=null===v?Object.create(v):(g.prototype=v.prototype,new g)});Object.defineProperty(f,"__esModule",{value:!0});var C=c(44),a=c(30),E=c(1),T=function(h){function u(v){var g=h.call(this,v)||this;return g.build(),g}return o(u,h),u.prototype.appendChild=function(v){this.insertBefore(v)},u.prototype.attach=function(){h.prototype.attach.call(this),this.children.forEach(function(v){v.attach()})},u.prototype.build=function(){var v=this;this.children=new C.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(g){try{var y=s(g);v.insertBefore(y,v.children.head||void 0)}catch(p){if(p instanceof E.ParchmentError)return;throw p}})},u.prototype.deleteAt=function(v,g){if(0===v&&g===this.length())return this.remove();this.children.forEachAt(v,g,function(y,p,b){y.deleteAt(p,b)})},u.prototype.descendant=function(v,g){var y=this.children.find(g),p=y[0],b=y[1];return null==v.blotName&&v(p)||null!=v.blotName&&p instanceof v?[p,b]:p instanceof u?p.descendant(v,b):[null,-1]},u.prototype.descendants=function(v,g,y){void 0===g&&(g=0),void 0===y&&(y=Number.MAX_VALUE);var p=[],b=y;return this.children.forEachAt(g,y,function(R,P,k){(null==v.blotName&&v(R)||null!=v.blotName&&R instanceof v)&&p.push(R),R instanceof u&&(p=p.concat(R.descendants(v,P,b))),b-=k}),p},u.prototype.detach=function(){this.children.forEach(function(v){v.detach()}),h.prototype.detach.call(this)},u.prototype.formatAt=function(v,g,y,p){this.children.forEachAt(v,g,function(b,R,P){b.formatAt(R,P,y,p)})},u.prototype.insertAt=function(v,g,y){var p=this.children.find(v),b=p[0];if(b)b.insertAt(p[1],g,y);else{var P=null==y?E.create("text",g):E.create(g,y);this.appendChild(P)}},u.prototype.insertBefore=function(v,g){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(y){return v instanceof y}))throw new E.ParchmentError("Cannot insert "+v.statics.blotName+" into "+this.statics.blotName);v.insertInto(this,g)},u.prototype.length=function(){return this.children.reduce(function(v,g){return v+g.length()},0)},u.prototype.moveChildren=function(v,g){this.children.forEach(function(y){v.insertBefore(y,g)})},u.prototype.optimize=function(v){if(h.prototype.optimize.call(this,v),0===this.children.length)if(null!=this.statics.defaultChild){var g=E.create(this.statics.defaultChild);this.appendChild(g),g.optimize(v)}else this.remove()},u.prototype.path=function(v,g){void 0===g&&(g=!1);var y=this.children.find(v,g),p=y[0],b=y[1],R=[[this,v]];return p instanceof u?R.concat(p.path(b,g)):(null!=p&&R.push([p,b]),R)},u.prototype.removeChild=function(v){this.children.remove(v)},u.prototype.replace=function(v){v instanceof u&&v.moveChildren(this),h.prototype.replace.call(this,v)},u.prototype.split=function(v,g){if(void 0===g&&(g=!1),!g){if(0===v)return this;if(v===this.length())return this.next}var y=this.clone();return this.parent.insertBefore(y,this.next),this.children.forEachAt(v,this.length(),function(p,b,R){p=p.split(b,g),y.appendChild(p)}),y},u.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},u.prototype.update=function(v,g){var y=this,p=[],b=[];v.forEach(function(R){R.target===y.domNode&&"childList"===R.type&&(p.push.apply(p,R.addedNodes),b.push.apply(b,R.removedNodes))}),b.forEach(function(R){if(!(null!=R.parentNode&&"IFRAME"!==R.tagName&&document.body.compareDocumentPosition(R)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var P=E.find(R);null!=P&&(null==P.domNode.parentNode||P.domNode.parentNode===y.domNode)&&P.detach()}}),p.filter(function(R){return R.parentNode==y.domNode}).sort(function(R,P){return R===P?0:R.compareDocumentPosition(P)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(R){var P=null;null!=R.nextSibling&&(P=E.find(R.nextSibling));var k=s(R);(k.next!=P||null==k.next)&&(null!=k.parent&&k.parent.removeChild(y),y.insertBefore(k,P||void 0))})},u}(a.default);function s(h){var u=E.find(h);if(null==u)try{u=E.create(h)}catch{u=E.create(E.Scope.INLINE),[].slice.call(h.childNodes).forEach(function(g){u.domNode.appendChild(g)}),h.parentNode&&h.parentNode.replaceChild(u.domNode,h),u.attach()}return u}f.default=T},function(_,f,c){"use strict";var h,o=this&&this.__extends||(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,v){u.__proto__=v}||function(u,v){for(var g in v)v.hasOwnProperty(g)&&(u[g]=v[g])},function(u,v){function g(){this.constructor=u}h(u,v),u.prototype=null===v?Object.create(v):(g.prototype=v.prototype,new g)});Object.defineProperty(f,"__esModule",{value:!0});var C=c(12),a=c(31),E=c(17),T=c(1),s=function(h){function u(v){var g=h.call(this,v)||this;return g.attributes=new a.default(g.domNode),g}return o(u,h),u.formats=function(v){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?v.tagName.toLowerCase():void 0)},u.prototype.format=function(v,g){var y=T.query(v);y instanceof C.default?this.attributes.attribute(y,g):g&&null!=y&&(v!==this.statics.blotName||this.formats()[v]!==g)&&this.replaceWith(v,g)},u.prototype.formats=function(){var v=this.attributes.values(),g=this.statics.formats(this.domNode);return null!=g&&(v[this.statics.blotName]=g),v},u.prototype.replaceWith=function(v,g){var y=h.prototype.replaceWith.call(this,v,g);return this.attributes.copy(y),y},u.prototype.update=function(v,g){var y=this;h.prototype.update.call(this,v,g),v.some(function(p){return p.target===y.domNode&&"attributes"===p.type})&&this.attributes.build()},u.prototype.wrap=function(v,g){var y=h.prototype.wrap.call(this,v,g);return y instanceof u&&y.statics.scope===this.statics.scope&&this.attributes.move(y),y},u}(E.default);f.default=s},function(_,f,c){"use strict";var T,o=this&&this.__extends||(T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,h){s.__proto__=h}||function(s,h){for(var u in h)h.hasOwnProperty(u)&&(s[u]=h[u])},function(s,h){function u(){this.constructor=s}T(s,h),s.prototype=null===h?Object.create(h):(u.prototype=h.prototype,new u)});Object.defineProperty(f,"__esModule",{value:!0});var C=c(30),a=c(1),E=function(T){function s(){return null!==T&&T.apply(this,arguments)||this}return o(s,T),s.value=function(h){return!0},s.prototype.index=function(h,u){return this.domNode===h||this.domNode.compareDocumentPosition(h)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(u,1):-1},s.prototype.position=function(h,u){var v=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return h>0&&(v+=1),[this.parent.domNode,v]},s.prototype.value=function(){var h;return(h={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,h},s.scope=a.Scope.INLINE_BLOT,s}(C.default);f.default=E},function(_,f,c){var o=c(11),C=c(3),a={attributes:{compose:function(T,s,h){"object"!=typeof T&&(T={}),"object"!=typeof s&&(s={});var u=C(!0,{},s);for(var v in h||(u=Object.keys(u).reduce(function(g,y){return null!=u[y]&&(g[y]=u[y]),g},{})),T)void 0!==T[v]&&void 0===s[v]&&(u[v]=T[v]);return Object.keys(u).length>0?u:void 0},diff:function(T,s){"object"!=typeof T&&(T={}),"object"!=typeof s&&(s={});var h=Object.keys(T).concat(Object.keys(s)).reduce(function(u,v){return o(T[v],s[v])||(u[v]=void 0===s[v]?null:s[v]),u},{});return Object.keys(h).length>0?h:void 0},transform:function(T,s,h){if("object"!=typeof T)return s;if("object"==typeof s){if(!h)return s;var u=Object.keys(s).reduce(function(v,g){return void 0===T[g]&&(v[g]=s[g]),v},{});return Object.keys(u).length>0?u:void 0}}},iterator:function(T){return new E(T)},length:function(T){return"number"==typeof T.delete?T.delete:"number"==typeof T.retain?T.retain:"string"==typeof T.insert?T.insert.length:1}};function E(T){this.ops=T,this.index=0,this.offset=0}E.prototype.hasNext=function(){return this.peekLength()<1/0},E.prototype.next=function(T){T||(T=1/0);var s=this.ops[this.index];if(s){var h=this.offset,u=a.length(s);if(T>=u-h?(T=u-h,this.index+=1,this.offset=0):this.offset+=T,"number"==typeof s.delete)return{delete:T};var v={};return s.attributes&&(v.attributes=s.attributes),"number"==typeof s.retain?v.retain=T:v.insert="string"==typeof s.insert?s.insert.substr(h,T):s.insert,v}return{retain:1/0}},E.prototype.peek=function(){return this.ops[this.index]},E.prototype.peekLength=function(){return this.ops[this.index]?a.length(this.ops[this.index])-this.offset:1/0},E.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},E.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var T=this.offset,s=this.index,h=this.next(),u=this.ops.slice(this.index);return this.offset=T,this.index=s,[h].concat(u)}return[]},_.exports=a},function(_,f){var c=function(){"use strict";function o(y,p){return null!=p&&y instanceof p}var C,a,E;try{C=Map}catch{C=function(){}}try{a=Set}catch{a=function(){}}try{E=Promise}catch{E=function(){}}function T(y,p,b,R,P){"object"==typeof p&&(b=p.depth,R=p.prototype,P=p.includeNonEnumerable,p=p.circular);var k=[],O=[],V=typeof Buffer<"u";return typeof p>"u"&&(p=!0),typeof b>"u"&&(b=1/0),function K(z,H){if(null===z)return null;if(0===H)return z;var x,q;if("object"!=typeof z)return z;if(o(z,C))x=new C;else if(o(z,a))x=new a;else if(o(z,E))x=new E(function(me,re){z.then(function($){me(K($,H-1))},function($){re(K($,H-1))})});else if(T.__isArray(z))x=[];else if(T.__isRegExp(z))x=new RegExp(z.source,g(z)),z.lastIndex&&(x.lastIndex=z.lastIndex);else if(T.__isDate(z))x=new Date(z.getTime());else{if(V&&Buffer.isBuffer(z))return x=Buffer.allocUnsafe?Buffer.allocUnsafe(z.length):new Buffer(z.length),z.copy(x),x;o(z,Error)?x=Object.create(z):typeof R>"u"?(q=Object.getPrototypeOf(z),x=Object.create(q)):(x=Object.create(R),q=R)}if(p){var Z=k.indexOf(z);if(-1!=Z)return O[Z];k.push(z),O.push(x)}for(var de in o(z,C)&&z.forEach(function(me,re){var $=K(re,H-1),X=K(me,H-1);x.set($,X)}),o(z,a)&&z.forEach(function(me){var re=K(me,H-1);x.add(re)}),z){var ee;q&&(ee=Object.getOwnPropertyDescriptor(q,de)),(!ee||null!=ee.set)&&(x[de]=K(z[de],H-1))}if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(z);for(de=0;de<Y.length;de++){var ae=Y[de];(fe=Object.getOwnPropertyDescriptor(z,ae))&&!fe.enumerable&&!P||(x[ae]=K(z[ae],H-1),fe.enumerable||Object.defineProperty(x,ae,{enumerable:!1}))}}if(P){var ne=Object.getOwnPropertyNames(z);for(de=0;de<ne.length;de++){var fe,ce=ne[de];(fe=Object.getOwnPropertyDescriptor(z,ce))&&fe.enumerable||(x[ce]=K(z[ce],H-1),Object.defineProperty(x,ce,{enumerable:!1}))}}return x}(y,b)}function s(y){return Object.prototype.toString.call(y)}function g(y){var p="";return y.global&&(p+="g"),y.ignoreCase&&(p+="i"),y.multiline&&(p+="m"),p}return T.clonePrototype=function(p){if(null===p)return null;var b=function(){};return b.prototype=p,new b},T.__objToStr=s,T.__isDate=function h(y){return"object"==typeof y&&"[object Date]"===s(y)},T.__isArray=function u(y){return"object"==typeof y&&"[object Array]"===s(y)},T.__isRegExp=function v(y){return"object"==typeof y&&"[object RegExp]"===s(y)},T.__getRegExpFlags=g,T}();"object"==typeof _&&_.exports&&(_.exports=c)},function(_,f,c){"use strict";
1Object.defineProperty(f,"__esModule",{value:!0});var o=function(){return function(q,Z){if(Array.isArray(q))return q;if(Symbol.iterator in Object(q))return function x(q,Z){var de=[],ee=!0,Y=!1,ae=void 0;try{for(var ne,fe=q[Symbol.iterator]();!(ee=(ne=fe.next()).done)&&(de.push(ne.value),!Z||de.length!==Z);ee=!0);}catch(ce){Y=!0,ae=ce}finally{try{!ee&&fe.return&&fe.return()}finally{if(Y)throw ae}}return de}(q,Z);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),C=function(){function x(q,Z){for(var de=0;de<Z.length;de++){var ee=Z[de];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(q,ee.key,ee)}}return function(q,Z,de){return Z&&x(q.prototype,Z),de&&x(q,de),q}}(),a=function x(q,Z,de){null===q&&(q=Function.prototype);var ee=Object.getOwnPropertyDescriptor(q,Z);if(void 0===ee){var Y=Object.getPrototypeOf(q);return null===Y?void 0:x(Y,Z,de)}if("value"in ee)return ee.value;var ae=ee.get;return void 0===ae?void 0:ae.call(de)},T=k(c(0)),h=k(c(8)),u=c(4),v=k(u),y=k(c(16)),b=k(c(13)),P=k(c(25));function k(x){return x&&x.__esModule?x:{default:x}}function z(x){return x instanceof v.default||x instanceof u.BlockEmbed}var H=function(x){function q(Z,de){!function O(x,q){if(!(x instanceof q))throw new TypeError("Cannot call a class as a function")}(this,q);var ee=function V(x,q){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!q||"object"!=typeof q&&"function"!=typeof q?x:q}(this,(q.__proto__||Object.getPrototypeOf(q)).call(this,Z));return ee.emitter=de.emitter,Array.isArray(de.whitelist)&&(ee.whitelist=de.whitelist.reduce(function(Y,ae){return Y[ae]=!0,Y},{})),ee.domNode.addEventListener("DOMNodeInserted",function(){}
vendor: 4,497 bytes, line 1
1),ee.optimize(),ee.enable(),ee}return function K(x,q){if("function"!=typeof q&&null!==q)throw new TypeError("Super expression must either be null or a function, not "+typeof q);x.prototype=Object.create(q&&q.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),q&&(Object.setPrototypeOf?Object.setPrototypeOf(x,q):x.__proto__=q)}(q,x),C(q,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(de,ee){var Y=this.line(de),ae=o(Y,2),fe=ae[0],ne=ae[1],ce=this.line(de+ee),re=o(ce,1)[0];if(a(q.prototype.__proto__||Object.getPrototypeOf(q.prototype),"deleteAt",this).call(this,de,ee),null!=re&&fe!==re&&ne>0){if(fe instanceof u.BlockEmbed||re instanceof u.BlockEmbed)return void this.optimize();if(fe instanceof b.default){var $=fe.newlineIndex(fe.length(),!0);if($>-1&&(fe=fe.split($+1))===re)return void this.optimize()}else if(re instanceof b.default){var X=re.newlineIndex(0);X>-1&&re.split(X+1)}fe.moveChildren(re,re.children.head instanceof y.default?null:re.children.head),fe.remove()}this.optimize()}},{key:"enable",value:function(){this.domNode.setAttribute("contenteditable",!(arguments.length>0&&void 0!==arguments[0])||arguments[0])}},{key:"formatAt",value:function(de,ee,Y,ae){null!=this.whitelist&&!this.whitelist[Y]||(a(q.prototype.__proto__||Object.getPrototypeOf(q.prototype),"formatAt",this).call(this,de,ee,Y,ae),this.optimize())}},{key:"insertAt",value:function(de,ee,Y){if(null==Y||null==this.whitelist||this.whitelist[ee]){if(de>=this.length())if(null==Y||null==T.default.query(ee,T.default.Scope.BLOCK)){var ae=T.default.create(this.statics.defaultChild);this.appendChild(ae),null==Y&&ee.endsWith("\n")&&(ee=ee.slice(0,-1)),ae.insertAt(0,ee,Y)}else{var fe=T.default.create(ee,Y);this.appendChild(fe)}else a(q.prototype.__proto__||Object.getPrototypeOf(q.prototype),"insertAt",this).call(this,de,ee,Y);this.optimize()}}},{key:"insertBefore",value:function(de,ee){if(de.statics.scope===T.default.Scope.INLINE_BLOT){var Y=T.default.create(this.statics.defaultChild);Y.appendChild(de),de=Y}a(q.prototype.__proto__||Object.getPrototypeOf(q.prototype),"insertBefore",this).call(this,de,ee)}},{key:"leaf",value:function(de){return this.path(de).pop()||[null,-1]}},{key:"line",value:function(de){return de===this.length()?this.line(de-1):this.descendant(z,de)}},{key:"lines",value:function(){return function ae(fe,ne,ce){var me=[],re=ce;return fe.children.forEachAt(ne,ce,function($,X,M){z($)?me.push($):$ instanceof T.default.Container&&(me=me.concat(ae($,X,re))),re-=M}),me}(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:"optimize",value:function(){var de=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],ee=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(a(q.prototype.__proto__||Object.getPrototypeOf(q.prototype),"optimize",this).call(this,de,ee),de.length>0&&this.emitter.emit(h.default.events.SCROLL_OPTIMIZE,de,ee))}},{key:"path",value:function(de){return a(q.prototype.__proto__||Object.getPrototypeOf(q.prototype),"path",this).call(this,de).slice(1)}},{key:"update",value:function(de){if(!0!==this.batch){var ee=h.default.sources.USER;"string"==typeof de&&(ee=de),Array.isArray(de)||(de=this.observer.takeRecords()),de.length>0&&this.emitter.emit(h.default.events.SCROLL_BEFORE_UPDATE,ee,de),a(q.prototype.__proto__||Object.getPrototypeOf(q.prototype),"update",this).call(this,de.concat([])),de.length>0&&this.emitter.emit(h.default.events.SCROLL_UPDATE,ee,de)}}}]),q}(T.default.Scroll);H.blotName="scroll",H.className="ql-editor",H.tagName="DIV",H.defaultChild="block",H.allowedChildren=[v.default,u.BlockEmbed,P.default],f.default=H},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.SHORTKEY=f.default=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(G){return typeof G}:function(G){return G&&"function"==typeof Symbol&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},C=function(){return function(ue,ve){if(Array.isArray(ue))return ue;if(Symbol.iterator in Object(ue))return function G(ue,ve){var we=[],Re=!0,et=!1,at=void 0;try{for(var At,Pt=ue[Symbol.iterator]();!(Re=(At=Pt.next()).done)&&(we.push(At.value),!ve||we.length!==ve);Re=!0);}catch(It){et=!0,at=It}finally{try{!Re&&Pt.return&&Pt.return()}finally{if(et)throw at}}return we}(ue,ve);
vendor: 6,788 bytes, line 1
1throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function G(ue,ve){for(var we=0;we<ve.length;we++){var Re=ve[we];Re.enumerable=Re.enumerable||!1,Re.configurable=!0,"value"in Re&&(Re.writable=!0),Object.defineProperty(ue,Re.key,Re)}}return function(ue,ve,we){return ve&&G(ue.prototype,ve),we&&G(ue,we),ue}}(),T=x(c(21)),h=x(c(11)),v=x(c(3)),y=x(c(2)),b=x(c(20)),P=x(c(0)),O=x(c(5)),K=x(c(10)),H=x(c(9));function x(G){return G&&G.__esModule?G:{default:G}}function q(G,ue,ve){return ue in G?Object.defineProperty(G,ue,{value:ve,enumerable:!0,configurable:!0,writable:!0}):G[ue]=ve,G}var Y=(0,K.default)("quill:keyboard"),ae=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",fe=function(G){function ue(ve,we){!function Z(G,ue){if(!(G instanceof ue))throw new TypeError("Cannot call a class as a function")}(this,ue);var Re=function de(G,ue){if(!G)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!ue||"object"!=typeof ue&&"function"!=typeof ue?G:ue}(this,(ue.__proto__||Object.getPrototypeOf(ue)).call(this,ve,we));return Re.bindings={},Object.keys(Re.options.bindings).forEach(function(et){"list autofill"===et&&null!=ve.scroll.whitelist&&!ve.scroll.whitelist.list||Re.options.bindings[et]&&Re.addBinding(Re.options.bindings[et])}),Re.addBinding({key:ue.keys.ENTER,shiftKey:null},$),Re.addBinding({key:ue.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(Re.addBinding({key:ue.keys.BACKSPACE},{collapsed:!0},ce),Re.addBinding({key:ue.keys.DELETE},{collapsed:!0},me)):(Re.addBinding({key:ue.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},ce),Re.addBinding({key:ue.keys.DELETE},{collapsed:!0,suffix:/^.?$/},me)),Re.addBinding({key:ue.keys.BACKSPACE},{collapsed:!1},re),Re.addBinding({key:ue.keys.DELETE},{collapsed:!1},re),Re.addBinding({key:ue.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},ce),Re.listen(),Re}return function ee(G,ue){if("function"!=typeof ue&&null!==ue)throw new TypeError("Super expression must either be null or a function, not "+typeof ue);G.prototype=Object.create(ue&&ue.prototype,{constructor:{value:G,enumerable:!1,writable:!0,configurable:!0}}),ue&&(Object.setPrototypeOf?Object.setPrototypeOf(G,ue):G.__proto__=ue)}(ue,G),a(ue,null,[{key:"match",value:function(we,Re){return Re=N(Re),!["altKey","ctrlKey","metaKey","shiftKey"].some(function(et){return!!Re[et]!==we[et]&&null!==Re[et]})&&Re.key===(we.which||we.keyCode)}}]),a(ue,[{key:"addBinding",value:function(we){var Re=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},et=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},at=N(we);if(null==at||null==at.key)return Y.warn("Attempted to add invalid keyboard binding",at);"function"==typeof Re&&(Re={handler:Re}),"function"==typeof et&&(et={handler:et}),at=(0,v.default)(at,Re,et),this.bindings[at.key]=this.bindings[at.key]||[],this.bindings[at.key].push(at)}},{key:"listen",value:function(){var we=this;this.quill.root.addEventListener("keydown",function(Re){if(!Re.defaultPrevented){var at=(we.bindings[Re.which||Re.keyCode]||[]).filter(function(or){return ue.match(Re,or)});if(0!==at.length){var Pt=we.quill.getSelection();if(null!=Pt&&we.quill.hasFocus()){var At=we.quill.getLine(Pt.index),It=C(At,2),qt=It[0],St=It[1],lt=we.quill.getLeaf(Pt.index),yt=C(lt,2),Ft=yt[0],rt=yt[1],mt=0===Pt.length?[Ft,rt]:we.quill.getLeaf(Pt.index+Pt.length),Mt=C(mt,2),Vt=Mt[0],Lt=Mt[1],$n=Ft instanceof P.default.Text?Ft.value().slice(0,rt):"",Tn=Vt instanceof P.default.Text?Vt.value().slice(Lt):"",An={collapsed:0===Pt.length,empty:0===Pt.length&&qt.length()<=1,format:we.quill.getFormat(Pt),offset:St,prefix:$n,suffix:Tn};at.some(function(or){if(null!=or.collapsed&&or.collapsed!==An.collapsed||null!=or.empty&&or.empty!==An.empty||null!=or.offset&&or.offset!==An.offset)return!1;if(Array.isArray(or.format)){if(or.format.every(function(br){return null==An.format[br]}))return!1}else if("object"===o(or.format)&&!Object.keys(or.format).every(function(br){return!0===or.format[br]?null!=An.format[br]:!1===or.format[br]?null==An.format[br]:(0,h.default)(or.format[br],An.format[br])}))return!1;return!(null!=or.prefix&&!or.prefix.test(An.prefix)||null!=or.suffix&&!or.suffix.test(An.suffix))&&!0!==or.handler.call(we,Pt,An)})&&Re.preventDefault()}}}})}}]),ue}(H.default);function ne(G,ue){var ve;return q(ve={key:G,shiftKey:ue,altKey:null},G===fe.keys.LEFT?"prefix":"suffix",/^$/),q(ve,"handler",function(et){var at=et.index;G===fe.keys.RIGHT&&(at+=et.length+1);var Pt=this.quill.getLeaf(at);return!(C(Pt,1)[0]instanceof P.default.Embed&&(G===fe.keys.LEFT?ue?this.quill.setSelection(et.index-1,et.length+1,O.default.sources.USER):this.quill.setSelection(et.index-1,O.default.sources.USER):ue?this.quill.setSelection(et.index,et.length+1,O.default.sources.USER):this.quill.setSelection(et.index+et.length+1,O.default.sources.USER),1))}),ve}function ce(G,ue){if(!(0===G.index||this.quill.getLength()<=1)){var ve=this.quill.getLine(G.index),Re=C(ve,1)[0],et={};if(0===ue.offset){var at=this.quill.getLine(G.index-1),At=C(at,1)[0];if(null!=At&&At.length()>1){var It=Re.formats(),qt=this.quill.getFormat(G.index-1,1);et=b.default.attributes.diff(It,qt)||{}}}var St=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(ue.prefix)?2:1;this.quill.deleteText(G.index-St,St,O.default.sources.USER),Object.keys(et).length>0&&this.quill.formatLine(G.index-St,St,et,O.default.sources.USER),this.quill.focus()}}function me(G,ue){var ve=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(ue.suffix)?2:1;if(!(G.index>=this.quill.getLength()-ve)){var we={},Re=0,et=this.quill.getLine(G.index),Pt=C(et,1)[0];if(ue.offset>=Pt.length()-1){var At=this.quill.getLine(G.index+1),qt=C(At,1)[0];if(qt){var St=Pt.formats(),lt=this.quill.getFormat(G.index,1);we=b.default.attributes.diff(St,lt)||{},Re=qt.length()}}this.quill.deleteText(G.index,ve,O.default.sources.USER),Object.keys(we).length>0&&this.quill.formatLine(G.index+Re-1,ve,we,O.default.sources.USER)}}function re(G){var ue=this.quill.getLines(G),ve={};if(ue.length>1){var we=ue[0].formats(),Re=ue[ue.length-1].formats();ve=b.default.attributes.diff(Re,we)||{}}this.quill.deleteText(G,O.default.sources.USER),Object.keys(ve).length>0&&this.quill.formatLine(G.index,1,ve,O.default.sources.USER),this.quill.setSelection(G.index,O.default.sources.SILENT),this.quill.focus()}function $(G,ue){var ve=this;G.length>0&&this.quill.scroll.deleteAt(G.index,G.length);var we=Object.keys(ue.format).reduce(function(Re,et){return P.default.query(et,P.default.Scope.BLOCK)&&!Array.isArray(ue.format[et])&&(Re[et]=ue.format[et]),Re},{});this.quill.insertText(G.index,"\n",we,O.default.sources.USER),this.quill.setSelection(G.index+1,O.default.sources.SILENT),this.quill.focus(),Ob
vendor: 4,181 bytes, line 1
1ject.keys(ue.format).forEach(function(Re){null==we[Re]&&(Array.isArray(ue.format[Re])||"link"!==Re&&ve.quill.format(Re,ue.format[Re],O.default.sources.USER))})}function X(G){return{key:fe.keys.TAB,shiftKey:!G,format:{"code-block":!0},handler:function(ve){var we=P.default.query("code-block"),Re=ve.index,et=ve.length,at=this.quill.scroll.descendant(we,Re),Pt=C(at,2),At=Pt[0],It=Pt[1];if(null!=At){var qt=this.quill.getIndex(At),St=At.newlineIndex(It,!0)+1,lt=At.newlineIndex(qt+It+et),yt=At.domNode.textContent.slice(St,lt).split("\n");It=0,yt.forEach(function(Ft,rt){G?(At.insertAt(St+It,we.TAB),It+=we.TAB.length,0===rt?Re+=we.TAB.length:et+=we.TAB.length):Ft.startsWith(we.TAB)&&(At.deleteAt(St+It,we.TAB.length),It-=we.TAB.length,0===rt?Re-=we.TAB.length:et-=we.TAB.length),It+=Ft.length+1}),this.quill.update(O.default.sources.USER),this.quill.setSelection(Re,et,O.default.sources.SILENT)}}}}function M(G){return{key:G[0].toUpperCase(),shortKey:!0,handler:function(ve,we){this.quill.format(G,!we.format[G],O.default.sources.USER)}}}function N(G){if("string"==typeof G||"number"==typeof G)return N({key:G});if("object"===(typeof G>"u"?"undefined":o(G))&&(G=(0,T.default)(G,!1)),"string"==typeof G.key)if(null!=fe.keys[G.key.toUpperCase()])G.key=fe.keys[G.key.toUpperCase()];else{if(1!==G.key.length)return null;G.key=G.key.toUpperCase().charCodeAt(0)}return G.shortKey&&(G[ae]=G.shortKey,delete G.shortKey),G}fe.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},fe.DEFAULTS={bindings:{bold:M("bold"),italic:M("italic"),underline:M("underline"),indent:{key:fe.keys.TAB,format:["blockquote","indent","list"],handler:function(ue,ve){if(ve.collapsed&&0!==ve.offset)return!0;this.quill.format("indent","+1",O.default.sources.USER)}},outdent:{key:fe.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(ue,ve){if(ve.collapsed&&0!==ve.offset)return!0;this.quill.format("indent","-1",O.default.sources.USER)}},"outdent backspace":{key:fe.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(ue,ve){null!=ve.format.indent?this.quill.format("indent","-1",O.default.sources.USER):null!=ve.format.list&&this.quill.format("list",!1,O.default.sources.USER)}},"indent code-block":X(!0),"outdent code-block":X(!1),"remove tab":{key:fe.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(ue){this.quill.deleteText(ue.index-1,1,O.default.sources.USER)}},tab:{key:fe.keys.TAB,handler:function(ue){this.quill.history.cutoff();var ve=(new y.default).retain(ue.index).delete(ue.length).insert("\t");this.quill.updateContents(ve,O.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(ue.index+1,O.default.sources.SILENT)}},"list empty enter":{key:fe.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(ue,ve){this.quill.format("list",!1,O.default.sources.USER),ve.format.indent&&this.quill.format("indent",!1,O.default.sources.USER)}},"checklist enter":{key:fe.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(ue){var ve=this.quill.getLine(ue.index),we=C(ve,2),Re=we[0],et=we[1],at=(0,v.default)({},Re.formats(),{list:"checked"}),Pt=(new y.default).retain(ue.index).insert("\n",at).retain(Re.length()-et-1).retain(1,{list:"unchecked"});this.quill.updateContents(Pt,O.default.sources.USER),this.quill.setSelection(ue.index+1,O.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:fe.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(ue,ve){var we=this.quill.getLine(ue.index),Re=C(we,2),et=Re[0],at=Re[1],Pt=(new y.default).retain(ue.index).insert("\n",ve.format).retain(et.length()-at-1).retain(1,{header:null});this.quill.updateContents(Pt,O.default.sources.USER),this.quill.setSelection(ue.index+1,O.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(ue,ve){var we=ve.prefix.length,Re=this.quill.getLine(ue.index),et=C(Re,2),at=et[0],Pt=et[1];if(Pt>we)return!0;var At=void 0;switch(ve.prefix.trim()){case"[]":case"[ ]":At="unchecked";break;
vendor: 4,144 bytes, line 1
1case"[x]":At="checked";break;case"-":case"*":At="bullet";break;default:At="ordered"}this.quill.insertText(ue.index," ",O.default.sources.USER),this.quill.history.cutoff();var It=(new y.default).retain(ue.index-Pt).delete(we+1).retain(at.length()-2-Pt).retain(1,{list:At});this.quill.updateContents(It,O.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(ue.index-we,O.default.sources.SILENT)}},"code exit":{key:fe.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(ue){var ve=this.quill.getLine(ue.index),we=C(ve,2),Re=we[0],et=we[1],at=(new y.default).retain(ue.index+Re.length()-et-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(at,O.default.sources.USER)}},"embed left":ne(fe.keys.LEFT,!1),"embed left shift":ne(fe.keys.LEFT,!0),"embed right":ne(fe.keys.RIGHT,!1),"embed right shift":ne(fe.keys.RIGHT,!0)}},f.default=fe,f.SHORTKEY=ae},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=function(){return function(R,P){if(Array.isArray(R))return R;if(Symbol.iterator in Object(R))return function b(R,P){var k=[],O=!0,V=!1,K=void 0;try{for(var H,z=R[Symbol.iterator]();!(O=(H=z.next()).done)&&(k.push(H.value),!P||k.length!==P);O=!0);}catch(x){V=!0,K=x}finally{try{!O&&z.return&&z.return()}finally{if(V)throw K}}return k}(R,P);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),C=function b(R,P,k){null===R&&(R=Function.prototype);var O=Object.getOwnPropertyDescriptor(R,P);if(void 0===O){var V=Object.getPrototypeOf(R);return null===V?void 0:b(V,P,k)}if("value"in O)return O.value;var K=O.get;return void 0===K?void 0:K.call(k)},a=function(){function b(R,P){for(var k=0;k<P.length;k++){var O=P[k];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(R,O.key,O)}}return function(R,P,k){return P&&b(R.prototype,P),k&&b(R,k),R}}(),T=u(c(0)),h=u(c(7));function u(b){return b&&b.__esModule?b:{default:b}}var p=function(b){function R(P,k){!function v(b,R){if(!(b instanceof R))throw new TypeError("Cannot call a class as a function")}(this,R);var O=function g(b,R){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!R||"object"!=typeof R&&"function"!=typeof R?b:R}(this,(R.__proto__||Object.getPrototypeOf(R)).call(this,P));return O.selection=k,O.textNode=document.createTextNode(R.CONTENTS),O.domNode.appendChild(O.textNode),O._length=0,O}return function y(b,R){if("function"!=typeof R&&null!==R)throw new TypeError("Super expression must either be null or a function, not "+typeof R);b.prototype=Object.create(R&&R.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),R&&(Object.setPrototypeOf?Object.setPrototypeOf(b,R):b.__proto__=R)}(R,b),a(R,null,[{key:"value",value:function(){}}]),a(R,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(k,O){if(0!==this._length)return C(R.prototype.__proto__||Object.getPrototypeOf(R.prototype),"format",this).call(this,k,O);for(var V=this,K=0;null!=V&&V.statics.scope!==T.default.Scope.BLOCK_BLOT;)K+=V.offset(V.parent),V=V.parent;null!=V&&(this._length=R.CONTENTS.length,V.optimize(),V.formatAt(K,R.CONTENTS.length,k,O),this._length=0)}},{key:"index",value:function(k,O){return k===this.textNode?0:C(R.prototype.__proto__||Object.getPrototypeOf(R.prototype),"index",this).call(this,k,O)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){C(R.prototype.__proto__||Object.getPrototypeOf(R.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var k=this.textNode,O=this.selection.getNativeRange(),V=void 0,K=void 0,z=void 0;if(null!=O&&O.start.node===k&&O.end.node===k){var H=[k,O.start.offset,O.end.offset];V=H[0],K=H[1],z=H[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);
1if(this.textNode.data!==R.CONTENTS){var x=this.textNode.data.split(R.CONTENTS).join("");this.next instanceof h.default?(V=this.next.domNode,this.next.insertAt(0,x),this.textNode.data=R.CONTENTS):(this.textNode.data=x,this.parent.insertBefore(T.default.create(this.textNode),this),this.textNode=document.createTextNode(R.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=K){var q=[K,z].map(function(de){return Math.max(0,Math.min(V.data.length,de-1))}),Z=o(q,2);return{startNode:V,startOffset:K=Z[0],endNode:V,endOffset:z=Z[1]}}}}},{key:"update",value:function(k,O){var V=this;if(k.some(function(z){return"characterData"===z.type&&z.target===V.textNode})){var K=this.restore();K&&(O.range=K)}}},{key:"value",value:function(){return""}}]),R}(T.default.Embed);p.blotName="cursor",p.className="ql-cursor",p.tagName="span",p.CONTENTS="\ufeff",f.default=p},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var C=T(c(0)),a=c(4),E=T(a);function T(g){return g&&g.__esModule?g:{default:g}}var v=function(g){function y(){return function s(g,y){if(!(g instanceof y))throw new TypeError("Cannot call a class as a function")}(this,y),function h(g,y){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!y||"object"!=typeof y&&"function"!=typeof y?g:y}(this,(y.__proto__||Object.getPrototypeOf(y)).apply(this,arguments))}return function u(g,y){if("function"!=typeof y&&null!==y)throw new TypeError("Super expression must either be null or a function, not "+typeof y);g.prototype=Object.create(y&&y.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(g,y):g.__proto__=y)}(y,g),y}(C.default.Container);v.allowedChildren=[E.default,a.BlockEmbed,v],f.default=v},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.ColorStyle=f.ColorClass=f.ColorAttributor=void 0;var o=function(){function p(b,R){for(var P=0;P<R.length;P++){var k=R[P];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}return function(b,R,P){return R&&p(b.prototype,R),P&&p(b,P),b}}(),C=function p(b,R,P){null===b&&(b=Function.prototype);var k=Object.getOwnPropertyDescriptor(b,R);if(void 0===k){var O=Object.getPrototypeOf(b);return null===O?void 0:p(O,R,P)}if("value"in k)return k.value;var V=k.get;return void 0===V?void 0:V.call(P)},E=function T(p){return p&&p.__esModule?p:{default:p}}(c(0));var v=function(p){function b(){return function s(p,b){if(!(p instanceof b))throw new TypeError("Cannot call a class as a function")}(this,b),function h(p,b){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?p:b}(this,(b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments))}return function u(p,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);p.prototype=Object.create(b&&b.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(p,b):p.__proto__=b)}(b,p),o(b,[{key:"value",value:function(P){var k=C(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"value",this).call(this,P);return k.startsWith("rgb(")?"#"+(k=k.replace(/^[^\d]+/,"").replace(/[^\d]+$/,"")).split(",").map(function(O){return("00"+parseInt(O).toString(16)).slice(-2)}).join(""):k}}]),b}(E.default.Attributor.Style),g=new E.default.Attributor.Class("color","ql-color",{scope:E.default.Scope.INLINE}),y=new v("color","color",{scope:E.default.Scope.INLINE});f.ColorAttributor=v,f.ColorClass=g,f.ColorStyle=y},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.sanitize=f.default=void 0;var o=function(){function y(p,b){for(var R=0;R<b.length;R++){var P=b[R];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(p,P.key,P)}}return function(p,b,R){return b&&y(p.prototype,b),R&&y(p,R),p}}(),C=function y(p,b,R){null===p&&(p=Function.prototype);var P=Object.getOwnPropertyDescriptor(p,b);if(void 0===P){var k=Object.getPrototypeOf(p);return null===k?void 0:y(k,b,R)}if("value"in P)return P.value;var O=P.get;return void 0===O?void 0:O.call(R)};var v=function(y){function p(){return function s(y,p){if(!(y instanceof p))throw new TypeError("Cannot call a class as a function")}(this,p),function h(y,p){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!p||"object"!=typeof p&&"function"!=typeof p?y:p}
vendor: 16,840 bytes, line 1
1(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return function u(y,p){if("function"!=typeof p&&null!==p)throw new TypeError("Super expression must either be null or a function, not "+typeof p);y.prototype=Object.create(p&&p.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(y,p):y.__proto__=p)}(p,y),o(p,[{key:"format",value:function(R,P){if(R!==this.statics.blotName||!P)return C(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"format",this).call(this,R,P);P=this.constructor.sanitize(P),this.domNode.setAttribute("href",P)}}],[{key:"create",value:function(R){var P=C(p.__proto__||Object.getPrototypeOf(p),"create",this).call(this,R);return R=this.sanitize(R),P.setAttribute("href",R),P.setAttribute("rel","noopener noreferrer"),P.setAttribute("target","_blank"),P}},{key:"formats",value:function(R){return R.getAttribute("href")}},{key:"sanitize",value:function(R){return g(R,this.PROTOCOL_WHITELIST)?R:this.SANITIZED_URL}}]),p}(function T(y){return y&&y.__esModule?y:{default:y}}(c(6)).default);function g(y,p){var b=document.createElement("a");b.href=y;var R=b.href.slice(0,b.href.indexOf(":"));return p.indexOf(R)>-1}v.blotName="link",v.tagName="A",v.SANITIZED_URL="about:blank",v.PROTOCOL_WHITELIST=["http","https","mailto","tel"],f.default=v,f.sanitize=g},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(p){return typeof p}:function(p){return p&&"function"==typeof Symbol&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},C=function(){function p(b,R){for(var P=0;P<R.length;P++){var k=R[P];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}return function(b,R,P){return R&&p(b.prototype,R),P&&p(b,P),b}}(),E=h(c(23)),s=h(c(107));function h(p){return p&&p.__esModule?p:{default:p}}var v=0;function g(p,b){p.setAttribute(b,"true"!==p.getAttribute(b))}var y=function(){function p(b){var R=this;(function u(p,b){if(!(p instanceof b))throw new TypeError("Cannot call a class as a function")})(this,p),this.select=b,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",function(){R.togglePicker()}),this.label.addEventListener("keydown",function(P){switch(P.keyCode){case E.default.keys.ENTER:R.togglePicker();break;case E.default.keys.ESCAPE:R.escape(),P.preventDefault()}}),this.select.addEventListener("change",this.update.bind(this))}return C(p,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),g(this.label,"aria-expanded"),g(this.options,"aria-hidden")}},{key:"buildItem",value:function(R){var P=this,k=document.createElement("span");return k.tabIndex="0",k.setAttribute("role","button"),k.classList.add("ql-picker-item"),R.hasAttribute("value")&&k.setAttribute("data-value",R.getAttribute("value")),R.textContent&&k.setAttribute("data-label",R.textContent),k.addEventListener("click",function(){P.selectItem(k,!0)}),k.addEventListener("keydown",function(O){switch(O.keyCode){case E.default.keys.ENTER:P.selectItem(k,!0),O.preventDefault();break;case E.default.keys.ESCAPE:P.escape(),O.preventDefault()}}),k}},{key:"buildLabel",value:function(){var R=document.createElement("span");return R.classList.add("ql-picker-label"),R.innerHTML=s.default,R.tabIndex="0",R.setAttribute("role","button"),R.setAttribute("aria-expanded","false"),this.container.appendChild(R),R}},{key:"buildOptions",value:function(){var R=this,P=document.createElement("span");P.classList.add("ql-picker-options"),P.setAttribute("aria-hidden","true"),P.tabIndex="-1",P.id="ql-picker-options-"+v,v+=1,this.label.setAttribute("aria-controls",P.id),this.options=P,[].slice.call(this.select.options).forEach(function(k){var O=R.buildItem(k);P.appendChild(O),!0===k.selected&&R.selectItem(O)}),this.container.appendChild(P)}},{key:"buildPicker",value:function(){var R=this;[].slice.call(this.select.attributes).forEach(function(P){R.container.setAttribute(P.name,P.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var R=this;this.close(),setTimeout(function(){return R.label.focus()},1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(R){var P=arguments.length>1&&void 0!==arguments[1]&&arguments[1],k=this.container.querySelector(".ql-selected");if(R!==k&&(null!=k&&k.classList.remove("ql-selected"),null!=R&&(R.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(R.parentNode.children,R),R.hasAttribute("data-value")?this.label.setAttribute("data-value",R.getAttribute("data-value")):this.label.removeAttribute("data-value"),R.hasAttribute("data-label")?this.label.setAttribute("data-label",R.getAttribute("data-label")):this.label.removeAttribute("data-label"),P))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===(typeof Event>"u"?"undefined":o(Event))){var O=document.createEvent("Event");O.initEvent("change",!0,!0),this.select.dispatchEvent(O)}this.close()}}},{key:"update",value:function(){var R=void 0;if(this.select.selectedIndex>-1){var P=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];R=this.select.options[this.select.selectedIndex],this.selectItem(P)}else this.selectItem(null);var k=null!=R&&R!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",k)}}]),p}();f.default=y},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var C=Y(c(0)),E=Y(c(5)),T=c(4),s=Y(T),u=Y(c(16)),g=Y(c(25)),p=Y(c(24)),R=Y(c(35)),k=Y(c(6)),V=Y(c(22)),z=Y(c(7)),x=Y(c(55)),Z=Y(c(42)),ee=Y(c(23));function Y(ae){return ae&&ae.__esModule?ae:{default:ae}}E.default.register({"blots/block":s.default,"blots/block/embed":T.BlockEmbed,"blots/break":u.default,"blots/container":g.default,"blots/cursor":p.default,"blots/embed":R.default,"blots/inline":k.default,"blots/scroll":V.default,"blots/text":z.default,"modules/clipboard":x.default,"modules/history":Z.default,"modules/keyboard":ee.default}),C.default.register(s.default,u.default,p.default,k.default,V.default,z.default),f.default=E.default},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=c(1),C=function(){function a(E){this.domNode=E,this.domNode[o.DATA_KEY]={blot:this}}return Object.defineProperty(a.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),a.create=function(E){if(null==this.tagName)throw new o.ParchmentError("Blot definition missing tagName");var T;return Array.isArray(this.tagName)?("string"==typeof E&&(E=E.toUpperCase(),parseInt(E).toString()===E&&(E=parseInt(E))),T="number"==typeof E?document.createElement(this.tagName[E-1]):this.tagName.indexOf(E)>-1?document.createElement(E):document.createElement(this.tagName[0])):T=document.createElement(this.tagName),this.className&&T.classList.add(this.className),T},a.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},a.prototype.clone=function(){var E=this.domNode.cloneNode(!1);return o.create(E)},a.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[o.DATA_KEY]},a.prototype.deleteAt=function(E,T){this.isolate(E,T).remove()},a.prototype.formatAt=function(E,T,s,h){var u=this.isolate(E,T);if(null!=o.query(s,o.Scope.BLOT)&&h)u.wrap(s,h);else if(null!=o.query(s,o.Scope.ATTRIBUTE)){var v=o.create(this.statics.scope);u.wrap(v),v.format(s,h)}},a.prototype.insertAt=function(E,T,s){var h=null==s?o.create("text",T):o.create(T,s),u=this.split(E);this.parent.insertBefore(h,u)},a.prototype.insertInto=function(E,T){void 0===T&&(T=null),null!=this.parent&&this.parent.children.remove(this);var s=null;E.children.insertBefore(this,T),null!=T&&(s=T.domNode),(this.domNode.parentNode!=E.domNode||this.domNode.nextSibling!=s)&&E.domNode.insertBefore(this.domNode,s),this.parent=E,this.attach()},a.prototype.isolate=function(E,T){var s=this.split(E);return s.split(T),s},a.prototype.length=function(){return 1},a.prototype.offset=function(E){return void 0===E&&(E=this.parent),null==this.parent||this==E?0:this.parent.children.offset(this)+this.parent.offset(E)},a.prototype.optimize=function(E){null!=this.domNode[o.DATA_KEY]&&delete this.domNode[o.DATA_KEY].mutations},a.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},a.prototype.replace=function(E){null!=E.parent&&(E.parent.insertBefore(this,E.next),E.remove())},a.prototype.replaceWith=function(E,T){var s="string"==typeof E?o.create(E,T):E;return s.replace(this),s},a.prototype.split=function(E,T){return 0===E?this:this.next},a.prototype.update=function(E,T){},a.prototype.wrap=function(E,T){var s="string"==typeof E?o.create(E,T):E;return null!=this.parent&&this.parent.insertBefore(s,this.next),s.appendChild(this),s},a.blotName="abstract",a}();f.default=C},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=c(12),C=c(32),a=c(33),E=c(1),T=function(){function s(h){this.attributes={},this.domNode=h,this.build()}return s.prototype.attribute=function(h,u){u?h.add(this.domNode,u)&&(null!=h.value(this.domNode)?this.attributes[h.attrName]=h:delete this.attributes[h.attrName]):(h.remove(this.domNode),delete this.attributes[h.attrName])},s.prototype.build=function(){var h=this;this.attributes={};var u=o.default.keys(this.domNode),v=C.default.keys(this.domNode),g=a.default.keys(this.domNode);u.concat(v).concat(g).forEach(function(y){var p=E.query(y,E.Scope.ATTRIBUTE);p instanceof o.default&&(h.attributes[p.attrName]=p)})},s.prototype.copy=function(h){var u=this;Object.keys(this.attributes).forEach(function(v){var g=u.attributes[v].value(u.domNode);h.format(v,g)})},s.prototype.move=function(h){var u=this;this.copy(h),Object.keys(this.attributes).forEach(function(v){u.attributes[v].remove(u.domNode)}),this.attributes={}},s.prototype.values=function(){var h=this;return Object.keys(this.attributes).reduce(function(u,v){return u[v]=h.attributes[v].value(h.domNode),u},{})},s}();f.default=T},function(_,f,c){"use strict";var T,o=this&&this.__extends||(T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,h){s.__proto__=h}||function(s,h){for(var u in h)h.hasOwnProperty(u)&&(s[u]=h[u])},function(s,h){function u(){this.constructor=s}T(s,h),s.prototype=null===h?Object.create(h):(u.prototype=h.prototype,new u)});function a(T,s){return(T.getAttribute("class")||"").split(/\s+/).filter(function(u){return 0===u.indexOf(s+"-")})}Object.defineProperty(f,"__esModule",{value:!0});var E=function(T){function s(){return null!==T&&T.apply(this,arguments)||this}return o(s,T),s.keys=function(h){return(h.getAttribute("class")||"").split(/\s+/).map(function(u){return u.split("-").slice(0,-1).join("-")})},s.prototype.add=function(h,u){return!!this.canAdd(h,u)&&(this.remove(h),h.classList.add(this.keyName+"-"+u),!0)},s.prototype.remove=function(h){a(h,this.keyName).forEach(function(v){h.classList.remove(v)}),0===h.classList.length&&h.removeAttribute("class")},s.prototype.value=function(h){var v=(a(h,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(h,v)?v:""},s}(c(12).default);f.default=E},function(_,f,c){"use strict";var T,o=this&&this.__extends||(T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,h){s.__proto__=h}||function(s,h){for(var u in h)h.hasOwnProperty(u)&&(s[u]=h[u])},function(s,h){function u(){this.constructor=s}T(s,h),s.prototype=null===h?Object.create(h):(u.prototype=h.prototype,new u)});function a(T){var s=T.split("-"),h=s.slice(1).map(function(u){return u[0].toUpperCase()+u.slice(1)}).join("");return s[0]+h}Object.defineProperty(f,"__esModule",{value:!0});var E=function(T){function s(){return null!==T&&T.apply(this,arguments)||this}return o(s,T),s.keys=function(h){return(h.getAttribute("style")||"").split(";").map(function(u){return u.split(":")[0].trim()})},s.prototype.add=function(h,u){return!!this.canAdd(h,u)&&(h.style[a(this.keyName)]=u,!0)},s.prototype.remove=function(h){h.style[a(this.keyName)]="",h.getAttribute("style")||h.removeAttribute("style")},s.prototype.value=function(h){var u=h.style[a(this.keyName)];return this.canAdd(h,u)?u:""},s}(c(12).default);f.default=E},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=function(){function E(T,s){for(var h=0;h<s.length;h++){var u=s[h];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(T,u.key,u)}}return function(T,s,h){return s&&E(T.prototype,s),h&&E(T,h),T}}();var a=function(){function E(T,s){(function C(E,T){if(!(E instanceof T))throw new TypeError("Cannot call a class as a function")})(this,E),this.quill=T,this.options=s,this.modules={}}return o(E,[{key:"init",value:function(){var s=this;Object.keys(this.options.modules).forEach(function(h){null==s.modules[h]&&s.addModule(h)})}},{key:"addModule",value:function(s){var h=this.quill.constructor.import("modules/"+s);return this.modules[s]=new h(this.quill,this.options.modules[s]||{}),this.modules[s]}}]),E}();a.DEFAULTS={modules:{}},a.themes={default:a},f.default=a},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=function(){function b(R,P){for(var k=0;k<P.length;k++){var O=P[k];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(R,O.key,O)}}return function(R,P,k){return P&&b(R.prototype,P),k&&b(R,k),R}}(),C=function b(R,P,k){null===R&&(R=Function.prototype);var O=Object.getOwnPropertyDescriptor(R,P);if(void 0===O){var V=Object.getPrototypeOf(R);return null===V?void 0:b(V,P,k)}if("value"in O)return O.value;var K=O.get;return void 0===K?void 0:K.call(k)},E=h(c(0)),s=h(c(7));function h(b){return b&&b.__esModule?b:{default:b}}var y="\ufeff",p=function(b){function R(P){!function u(b,R){if(!(b instanceof R))throw new TypeError("Cannot call a class as a function")}(this,R);var k=function v(b,R){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!R||"object"!=typeof R&&"function"!=typeof R?b:R}(this,(R.__proto__||Object.getPrototypeOf(R)).call(this,P));return k.contentNode=document.createElement("span"),k.contentNode.setAttribute("contenteditable",!1),[].slice.call(k.domNode.childNodes).forEach(function(O){k.contentNode.appendChild(O)}),k.leftGuard=document.createTextNode(y),k.rightGuard=document.createTextNode(y),k.domNode.appendChild(k.leftGuard),k.domNode.appendChild(k.contentNode),k.domNode.appendChild(k.rightGuard),k}return function g(b,R){if("function"!=typeof R&&null!==R)throw new TypeError("Super expression must either be null or a function, not "+typeof R);b.prototype=Object.create(R&&R.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),R&&(Object.setPrototypeOf?Object.setPrototypeOf(b,R):b.__proto__=R)}(R,b),o(R,[{key:"index",value:function(k,O){return k===this.leftGuard?0:k===this.rightGuard?1:C(R.prototype.__proto__||Object.getPrototypeOf(R.prototype),"index",this).call(this,k,O)}},{key:"restore",value:function(k){var O=void 0,V=void 0,K=k.data.split(y).join("");if(k===this.leftGuard)if(this.prev instanceof s.default){var z=this.prev.length();this.prev.insertAt(z,K),O={startNode:this.prev.domNode,startOffset:z+K.length}}else V=document.createTextNode(K),this.parent.insertBefore(E.default.create(V),this),O={startNode:V,startOffset:K.length};else k===this.rightGuard&&(this.next instanceof s.default?(this.next.insertAt(0,K),O={startNode:this.next.domNode,startOffset:K.length}):(V=document.createTextNode(K),this.parent.insertBefore(E.default.create(V),this.next),O={startNode:V,startOffset:K.length}));return k.data=y,O}},{key:"update",value:function(k,O){var V=this;k.forEach(function(K){if("characterData"===K.type&&(K.target===V.leftGuard||K.target===V.rightGuard)){var z=V.restore(K.target);z&&(O.range=z)}})}}]),R}(E.default.Embed);f.default=p},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.AlignStyle=f.AlignClass=f.AlignAttribute=void 0;var C=function a(u){return u&&u.__esModule?u:{default:u}}(c(0));var E={scope:C.default.Scope.BLOCK,whitelist:["right","center","justify"]},T=new C.default.Attributor.Attribute("align","align",E),s=new C.default.Attributor.Class("align","ql-align",E),h=new C.default.Attributor.Style("align","text-align",E);f.AlignAttribute=T,f.AlignClass=s,f.AlignStyle=h},function(_,f,c){"use strict";
1Object.defineProperty(f,"__esModule",{value:!0}),f.BackgroundStyle=f.BackgroundClass=void 0;var C=function E(h){return h&&h.__esModule?h:{default:h}}(c(0)),a=c(26);var T=new C.default.Attributor.Class("background","ql-bg",{scope:C.default.Scope.INLINE}),s=new a.ColorAttributor("background","background-color",{scope:C.default.Scope.INLINE});f.BackgroundClass=T,f.BackgroundStyle=s},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.DirectionStyle=f.DirectionClass=f.DirectionAttribute=void 0;var C=function a(u){return u&&u.__esModule?u:{default:u}}(c(0));var E={scope:C.default.Scope.BLOCK,whitelist:["rtl"]},T=new C.default.Attributor.Attribute("direction","dir",E),s=new C.default.Attributor.Class("direction","ql-direction",E),h=new C.default.Attributor.Style("direction","direction",E);f.DirectionAttribute=T,f.DirectionClass=s,f.DirectionStyle=h},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.FontClass=f.FontStyle=void 0;var o=function(){function b(R,P){for(var k=0;k<P.length;k++){var O=P[k];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(R,O.key,O)}}return function(R,P,k){return P&&b(R.prototype,P),k&&b(R,k),R}}(),C=function b(R,P,k){null===R&&(R=Function.prototype);var O=Object.getOwnPropertyDescriptor(R,P);if(void 0===O){var V=Object.getPrototypeOf(R);return null===V?void 0:b(V,P,k)}if("value"in O)return O.value;var K=O.get;return void 0===K?void 0:K.call(k)},E=function T(b){return b&&b.__esModule?b:{default:b}}(c(0));var v={scope:E.default.Scope.INLINE,whitelist:["serif","monospace"]},g=new E.default.Attributor.Class("font","ql-font",v),y=function(b){function R(){return function s(b,R){if(!(b instanceof R))throw new TypeError("Cannot call a class as a function")}(this,R),function h(b,R){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!R||"object"!=typeof R&&"function"!=typeof R?b:R}(this,(R.__proto__||Object.getPrototypeOf(R)).apply(this,arguments))}return function u(b,R){if("function"!=typeof R&&null!==R)throw new TypeError("Super expression must either be null or a function, not "+typeof R);b.prototype=Object.create(R&&R.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),R&&(Object.setPrototypeOf?Object.setPrototypeOf(b,R):b.__proto__=R)}(R,b),o(R,[{key:"value",value:function(k){return C(R.prototype.__proto__||Object.getPrototypeOf(R.prototype),"value",this).call(this,k).replace(/["']/g,"")}}]),R}(E.default.Attributor.Style),p=new y("font","font-family",v);f.FontStyle=p,f.FontClass=g},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.SizeStyle=f.SizeClass=void 0;var C=function a(s){return s&&s.__esModule?s:{default:s}}(c(0));var E=new C.default.Attributor.Class("size","ql-size",{scope:C.default.Scope.INLINE,whitelist:["small","large","huge"]}),T=new C.default.Attributor.Style("size","font-size",{scope:C.default.Scope.INLINE,whitelist:["10px","18px","32px"]});f.SizeClass=E,f.SizeStyle=T},function(_,f,c){"use strict";_.exports={align:{"":c(76),center:c(77),right:c(78),justify:c(79)},background:c(80),blockquote:c(81),bold:c(82),clean:c(83),code:c(58),"code-block":c(58),color:c(84),direction:{"":c(85),rtl:c(86)},float:{center:c(87),full:c(88),left:c(89),right:c(90)},formula:c(91),header:{1:c(92),2:c(93)},italic:c(94),image:c(95),indent:{"+1":c(96),"-1":c(97)},link:c(98),list:{ordered:c(99),bullet:c(100),check:c(101)},script:{sub:c(102),super:c(103)},strike:c(104),underline:c(105),video:c(106)}},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.getLastChangeIndex=f.default=void 0;var o=function(){function P(k,O){for(var V=0;V<O.length;V++){var K=O[V];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(k,K.key,K)}}return function(k,O,V){return O&&P(k.prototype,O),V&&P(k,V),k}}(),a=u(c(0)),T=u(c(5));function u(P){return P&&P.__esModule?P:{default:P}}var p=function(P){function k(O,V){!function v(P,k){if(!(P instanceof k))throw new TypeError("Cannot call a class as a function")}(this,k);
vendor: 13,962 bytes, line 1
1var K=function g(P,k){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!k||"object"!=typeof k&&"function"!=typeof k?P:k}(this,(k.__proto__||Object.getPrototypeOf(k)).call(this,O,V));return K.lastRecorded=0,K.ignoreChange=!1,K.clear(),K.quill.on(T.default.events.EDITOR_CHANGE,function(z,H,x,q){z!==T.default.events.TEXT_CHANGE||K.ignoreChange||(K.options.userOnly&&q!==T.default.sources.USER?K.transform(H):K.record(H,x))}),K.quill.keyboard.addBinding({key:"Z",shortKey:!0},K.undo.bind(K)),K.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},K.redo.bind(K)),/Win/i.test(navigator.platform)&&K.quill.keyboard.addBinding({key:"Y",shortKey:!0},K.redo.bind(K)),K}return function y(P,k){if("function"!=typeof k&&null!==k)throw new TypeError("Super expression must either be null or a function, not "+typeof k);P.prototype=Object.create(k&&k.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),k&&(Object.setPrototypeOf?Object.setPrototypeOf(P,k):P.__proto__=k)}(k,P),o(k,[{key:"change",value:function(V,K){if(0!==this.stack[V].length){var z=this.stack[V].pop();this.stack[K].push(z),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(z[V],T.default.sources.USER),this.ignoreChange=!1;var H=R(z[V]);this.quill.setSelection(H)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(V,K){if(0!==V.ops.length){this.stack.redo=[];var z=this.quill.getContents().diff(K),H=Date.now();if(this.lastRecorded+this.options.delay>H&&this.stack.undo.length>0){var x=this.stack.undo.pop();z=z.compose(x.undo),V=x.redo.compose(V)}else this.lastRecorded=H;this.stack.undo.push({redo:V,undo:z}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(V){this.stack.undo.forEach(function(K){K.undo=V.transform(K.undo,!0),K.redo=V.transform(K.redo,!0)}),this.stack.redo.forEach(function(K){K.undo=V.transform(K.undo,!0),K.redo=V.transform(K.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),k}(u(c(9)).default);function R(P){var k=P.reduce(function(V,K){return V+(K.delete||0)},0),O=P.length()-k;return function b(P){var k=P.ops[P.ops.length-1];return null!=k&&(null!=k.insert?"string"==typeof k.insert&&k.insert.endsWith("\n"):null!=k.attributes&&Object.keys(k.attributes).some(function(O){return null!=a.default.query(O,a.default.Scope.BLOCK)}))}(P)&&(O-=1),O}p.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},f.default=p,f.getLastChangeIndex=R},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=f.BaseTooltip=void 0;var o=function(){function $(X,M){for(var N=0;N<M.length;N++){var G=M[N];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(X,G.key,G)}}return function(X,M,N){return M&&$(X.prototype,M),N&&$(X,N),X}}(),C=function $(X,M,N){null===X&&(X=Function.prototype);var G=Object.getOwnPropertyDescriptor(X,M);if(void 0===G){var ue=Object.getPrototypeOf(X);return null===ue?void 0:$(ue,M,N)}if("value"in G)return G.value;var ve=G.get;return void 0===ve?void 0:ve.call(N)},E=H(c(3)),s=H(c(2)),u=H(c(8)),g=H(c(23)),p=H(c(34)),R=H(c(59)),k=H(c(60)),V=H(c(28)),z=H(c(61));function H($){return $&&$.__esModule?$:{default:$}}function x($,X){if(!($ instanceof X))throw new TypeError("Cannot call a class as a function")}function q($,X){if(!$)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!X||"object"!=typeof X&&"function"!=typeof X?$:X}function Z($,X){if("function"!=typeof X&&null!==X)throw new TypeError("Super expression must either be null or a function, not "+typeof X);$.prototype=Object.create(X&&X.prototype,{constructor:{value:$,enumerable:!1,writable:!0,configurable:!0}}),X&&(Object.setPrototypeOf?Object.setPrototypeOf($,X):$.__proto__=X)}var de=[!1,"center","right","justify"],ee=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],Y=[!1,"serif","monospace"],ae=["1","2","3",!1],fe=["small",!1,"large","huge"],ne=function($){function X(M,N){x(this,X);var G=q(this,(X.__proto__||Object.getPrototypeOf(X)).call(this,M,N));return M.emitter.listenDOM("click",document.body,function ve(we){if(!document.body.contains(M.root))return document.body.removeEventListener("click",ve);null!=G.tooltip&&!G.tooltip.root.contains(we.target)&&document.activeElement!==G.tooltip.textbox&&!G.quill.hasFocus()&&G.tooltip.hide(),null!=G.pickers&&G.pickers.forEach(function(Re){Re.container.contains(we.target)||Re.close()})}),G}return Z(X,$),o(X,[{key:"addModule",value:function(N){var G=C(X.prototype.__proto__||Object.getPrototypeOf(X.prototype),"addModule",this).call(this,N);return"toolbar"===N&&this.extendToolbar(G),G}},{key:"buildButtons",value:function(N,G){N.forEach(function(ue){(ue.getAttribute("class")||"").split(/\s+/).forEach(function(we){if(we.startsWith("ql-")&&(we=we.slice(3),null!=G[we]))if("direction"===we)ue.innerHTML=G[we][""]+G[we].rtl;else if("string"==typeof G[we])ue.innerHTML=G[we];else{var Re=ue.value||"";null!=Re&&G[we][Re]&&(ue.innerHTML=G[we][Re])}})})}},{key:"buildPickers",value:function(N,G){var ue=this;this.pickers=N.map(function(we){if(we.classList.contains("ql-align"))return null==we.querySelector("option")&&re(we,de),new k.default(we,G.align);if(we.classList.contains("ql-background")||we.classList.contains("ql-color")){var Re=we.classList.contains("ql-background")?"background":"color";return null==we.querySelector("option")&&re(we,ee,"background"===Re?"#ffffff":"#000000"),new R.default(we,G[Re])}return null==we.querySelector("option")&&(we.classList.contains("ql-font")?re(we,Y):we.classList.contains("ql-header")?re(we,ae):we.classList.contains("ql-size")&&re(we,fe)),new V.default(we)}),this.quill.on(u.default.events.EDITOR_CHANGE,function(){ue.pickers.forEach(function(Re){Re.update()})})}}]),X}(p.default);ne.DEFAULTS=(0,E.default)(!0,{},p.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var X=this,M=this.container.querySelector("input.ql-image[type=file]");null==M&&((M=document.createElement("input")).setAttribute("type","file"),M.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),M.classList.add("ql-image"),M.addEventListener("change",function(){if(null!=M.files&&null!=M.files[0]){var N=new FileReader;N.onload=function(G){var ue=X.quill.getSelection(!0);X.quill.updateContents((new s.default).retain(ue.index).delete(ue.length).insert({image:G.target.result}),u.default.sources.USER),X.quill.setSelection(ue.index+1,u.default.sources.SILENT),M.value=""},N.readAsDataURL(M.files[0])}}),this.container.appendChild(M)),M.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var ce=function($){function X(M,N){x(this,X);var G=q(this,(X.__proto__||Object.getPrototypeOf(X)).call(this,M,N));return G.textbox=G.root.querySelector('input[type="text"]'),G.listen(),G}return Z(X,$),o(X,[{key:"listen",value:function(){var N=this;this.textbox.addEventListener("keydown",function(G){g.default.match(G,"enter")?(N.save(),G.preventDefault()):g.default.match(G,"escape")&&(N.cancel(),G.preventDefault())})}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var N=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",G=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=G?this.textbox.value=G:N!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+N)||""),this.root.setAttribute("data-mode",N)}},{key:"restoreFocus",value:function(){var N=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=N}},{key:"save",value:function(){var N=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var G=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",N,u.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",N,u.default.sources.USER)),this.quill.root.scrollTop=G;break;case"video":N=function me($){var X=$.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||$.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return X?(X[1]||"https")+"://www.youtube.com/embed/"+X[2]+"?showinfo=0":(X=$.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(X[1]||"https")+"://player.vimeo.com/video/"+X[2]+"/":$}(N);case"formula":if(!N)break;var ue=this.quill.getSelection(!0);if(null!=ue){var ve=ue.index+ue.length;this.quill.insertEmbed(ve,this.root.getAttribute("data-mode"),N,u.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(ve+1," ",u.default.sources.USER),this.quill.setSelection(ve+2,u.default.sources.USER)}}this.textbox.value="",this.hide()}}]),X}(z.default);function re($,X){var M=arguments.length>2&&void 0!==arguments[2]&&arguments[2];X.forEach(function(N){var G=document.createElement("option");N===M?G.setAttribute("selected","selected"):G.setAttribute("value",N),$.appendChild(G)})}f.BaseTooltip=ce,f.default=ne},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=function(){function C(){this.head=this.tail=null,this.length=0}return C.prototype.append=function(){for(var a=[],E=0;E<arguments.length;E++)a[E]=arguments[E];this.insertBefore(a[0],null),a.length>1&&this.append.apply(this,a.slice(1))},C.prototype.contains=function(a){for(var E,T=this.iterator();E=T();)if(E===a)return!0;return!1},C.prototype.insertBefore=function(a,E){a&&(a.next=E,null!=E?(a.prev=E.prev,null!=E.prev&&(E.prev.next=a),E.prev=a,E===this.head&&(this.head=a)):null!=this.tail?(this.tail.next=a,a.prev=this.tail,this.tail=a):(a.prev=null,this.head=this.tail=a),this.length+=1)},C.prototype.offset=function(a){for(var E=0,T=this.head;null!=T;){if(T===a)return E;E+=T.length(),T=T.next}return-1},C.prototype.remove=function(a){this.contains(a)&&(null!=a.prev&&(a.prev.next=a.next),null!=a.next&&(a.next.prev=a.prev),a===this.head&&(this.head=a.next),a===this.tail&&(this.tail=a.prev),this.length-=1)},C.prototype.iterator=function(a){return void 0===a&&(a=this.head),function(){var E=a;return null!=a&&(a=a.next),E}},C.prototype.find=function(a,E){void 0===E&&(E=!1);for(var T,s=this.iterator();T=s();){var h=T.length();if(a<h||E&&a===h&&(null==T.next||0!==T.next.length()))return[T,a];a-=h}return[null,0]},C.prototype.forEach=function(a){for(var E,T=this.iterator();E=T();)a(E)},C.prototype.forEachAt=function(a,E,T){if(!(E<=0))for(var v,s=this.find(a),g=a-s[1],y=this.iterator(s[0]);(v=y())&&g<a+E;){var p=v.length();a>g?T(v,a-g,Math.min(E,g+p-a)):T(v,0,Math.min(p,a+E-g)),g+=p}},C.prototype.map=function(a){return this.reduce(function(E,T){return E.push(a(T)),E},[])},C.prototype.reduce=function(a,E){for(var T,s=this.iterator();T=s();)E=a(E,T);return E},C}();f.default=o},function(_,f,c){"use strict";var h,o=this&&this.__extends||(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,v){u.__proto__=v}||function(u,v){for(var g in v)v.hasOwnProperty(g)&&(u[g]=v[g])},function(u,v){function g(){this.constructor=u}h(u,v),u.prototype=null===v?Object.create(v):(g.prototype=v.prototype,new g)});Object.defineProperty(f,"__esModule",{value:!0});var C=c(17),a=c(1),E={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},s=function(h){function u(v){var g=h.call(this,v)||this;return g.scroll=g,g.observer=new MutationObserver(function(y){g.update(y)}),g.observer.observe(g.domNode,E),g.attach(),g}return o(u,h),u.prototype.detach=function(){h.prototype.detach.call(this),this.observer.disconnect()},u.prototype.deleteAt=function(v,g){this.update(),0===v&&g===this.length()?this.children.forEach(function(y){y.remove()}):h.prototype.deleteAt.call(this,v,g)},u.prototype.formatAt=function(v,g,y,p){this.update(),h.prototype.formatAt.call(this,v,g,y,p)},u.prototype.insertAt=function(v,g,y){this.update(),h.prototype.insertAt.call(this,v,g,y)},u.prototype.optimize=function(v,g){var y=this;void 0===v&&(v=[]),void 0===g&&(g={}),h.prototype.optimize.call(this,g);for(var p=[].slice.call(this.observer.takeRecords());p.length>0;)v.push(p.pop());for(var b=function(O,V){void 0===V&&(V=!0),null!=O&&O!==y&&null!=O.domNode.parentNode&&(null==O.domNode[a.DATA_KEY].mutations&&(O.domNode[a.DATA_KEY].mutations=[]),V&&b(O.parent))},R=function(O){null==O.domNode[a.DATA_KEY]||null==O.domNode[a.DATA_KEY].mutations||(O instanceof C.default&&O.children.forEach(R),O.optimize(g))},P=v,k=0;P.length>0;k+=1){if(k>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(P.forEach(function(O){var V=a.find(O.target,!0);null!=V&&(V.domNode===O.target&&("childList"===O.type?(b(a.find(O.previousSibling,!1)),[].forEach.call(O.addedNodes,function(K){var z=a.find(K,!1);b(z,!1),z instanceof C.default&&z.children.forEach(function(H){b(H,!1)})})):"attributes"===O.type&&b(V.prev)),b(V))}),this.children.forEach(R),p=(P=[].slice.call(this.observer.takeRecords())).slice();p.length>0;)v.push(p.pop())}},u.prototype.update=function(v,g){var y=this;void 0===g&&(g={}),(v=v||this.observer.takeRecords()).map(function(p){var b=a.find(p.target,!0);return null==b?null:null==b.domNode[a.DATA_KEY].mutations?(b.domNode[a.DATA_KEY].mutations=[p],b):(b.domNode[a.DATA_KEY].mutations.push(p),null)}
vendor: 4,203 bytes, line 1
1).forEach(function(p){null==p||p===y||null==p.domNode[a.DATA_KEY]||p.update(p.domNode[a.DATA_KEY].mutations||[],g)}),null!=this.domNode[a.DATA_KEY].mutations&&h.prototype.update.call(this,this.domNode[a.DATA_KEY].mutations,g),this.optimize(v,g)},u.blotName="scroll",u.defaultChild="block",u.scope=a.Scope.BLOCK_BLOT,u.tagName="DIV",u}(C.default);f.default=s},function(_,f,c){"use strict";var s,o=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,u){h.__proto__=u}||function(h,u){for(var v in u)u.hasOwnProperty(v)&&(h[v]=u[v])},function(h,u){function v(){this.constructor=h}s(h,u),h.prototype=null===u?Object.create(u):(v.prototype=u.prototype,new v)});Object.defineProperty(f,"__esModule",{value:!0});var C=c(18),a=c(1);var T=function(s){function h(){return null!==s&&s.apply(this,arguments)||this}return o(h,s),h.formats=function(u){if(u.tagName!==h.tagName)return s.formats.call(this,u)},h.prototype.format=function(u,v){var g=this;u!==this.statics.blotName||v?s.prototype.format.call(this,u,v):(this.children.forEach(function(y){y instanceof C.default||(y=y.wrap(h.blotName,!0)),g.attributes.copy(y)}),this.unwrap())},h.prototype.formatAt=function(u,v,g,y){null!=this.formats()[g]||a.query(g,a.Scope.ATTRIBUTE)?this.isolate(u,v).format(g,y):s.prototype.formatAt.call(this,u,v,g,y)},h.prototype.optimize=function(u){s.prototype.optimize.call(this,u);var v=this.formats();if(0===Object.keys(v).length)return this.unwrap();var g=this.next;g instanceof h&&g.prev===this&&function E(s,h){if(Object.keys(s).length!==Object.keys(h).length)return!1;for(var u in s)if(s[u]!==h[u])return!1;return!0}(v,g.formats())&&(g.moveChildren(this),g.remove())},h.blotName="inline",h.scope=a.Scope.INLINE_BLOT,h.tagName="SPAN",h}(C.default);f.default=T},function(_,f,c){"use strict";var T,o=this&&this.__extends||(T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,h){s.__proto__=h}||function(s,h){for(var u in h)h.hasOwnProperty(u)&&(s[u]=h[u])},function(s,h){function u(){this.constructor=s}T(s,h),s.prototype=null===h?Object.create(h):(u.prototype=h.prototype,new u)});Object.defineProperty(f,"__esModule",{value:!0});var C=c(18),a=c(1),E=function(T){function s(){return null!==T&&T.apply(this,arguments)||this}return o(s,T),s.formats=function(h){var u=a.query(s.blotName).tagName;if(h.tagName!==u)return T.formats.call(this,h)},s.prototype.format=function(h,u){null!=a.query(h,a.Scope.BLOCK)&&(h!==this.statics.blotName||u?T.prototype.format.call(this,h,u):this.replaceWith(s.blotName))},s.prototype.formatAt=function(h,u,v,g){null!=a.query(v,a.Scope.BLOCK)?this.format(v,g):T.prototype.formatAt.call(this,h,u,v,g)},s.prototype.insertAt=function(h,u,v){if(null==v||null!=a.query(u,a.Scope.INLINE))T.prototype.insertAt.call(this,h,u,v);else{var g=this.split(h),y=a.create(u,v);g.parent.insertBefore(y,g)}},s.prototype.update=function(h,u){navigator.userAgent.match(/Trident/)?this.build():T.prototype.update.call(this,h,u)},s.blotName="block",s.scope=a.Scope.BLOCK_BLOT,s.tagName="P",s}(C.default);f.default=E},function(_,f,c){"use strict";var E,o=this&&this.__extends||(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,s){T.__proto__=s}||function(T,s){for(var h in s)s.hasOwnProperty(h)&&(T[h]=s[h])},function(T,s){function h(){this.constructor=T}E(T,s),T.prototype=null===s?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(f,"__esModule",{value:!0});var a=function(E){function T(){return null!==E&&E.apply(this,arguments)||this}return o(T,E),T.formats=function(s){},T.prototype.format=function(s,h){E.prototype.formatAt.call(this,0,this.length(),s,h)},T.prototype.formatAt=function(s,h,u,v){0===s&&h===this.length()?this.format(u,v):E.prototype.formatAt.call(this,s,h,u,v)},T.prototype.formats=function(){return this.statics.formats(this.domNode)},T}(c(19).default);f.default=a},function(_,f,c){"use strict";var T,o=this&&this.__extends||(T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,h){s.__proto__=h}||function(s,h){for(var u in h)h.hasOwnProperty(u)&&(s[u]=h[u])},function(s,h){function u(){this.constructor=s}T(s,h),s.prototype=null===h?Object.create(h):(u.prototype=h.prototype,new u)});
vendor: 13,069 bytes, line 1
1Object.defineProperty(f,"__esModule",{value:!0});var C=c(19),a=c(1),E=function(T){function s(h){var u=T.call(this,h)||this;return u.text=u.statics.value(u.domNode),u}return o(s,T),s.create=function(h){return document.createTextNode(h)},s.value=function(h){var u=h.data;return u.normalize&&(u=u.normalize()),u},s.prototype.deleteAt=function(h,u){this.domNode.data=this.text=this.text.slice(0,h)+this.text.slice(h+u)},s.prototype.index=function(h,u){return this.domNode===h?u:-1},s.prototype.insertAt=function(h,u,v){null==v?(this.text=this.text.slice(0,h)+u+this.text.slice(h),this.domNode.data=this.text):T.prototype.insertAt.call(this,h,u,v)},s.prototype.length=function(){return this.text.length},s.prototype.optimize=function(h){T.prototype.optimize.call(this,h),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof s&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},s.prototype.position=function(h,u){return void 0===u&&(u=!1),[this.domNode,h]},s.prototype.split=function(h,u){if(void 0===u&&(u=!1),!u){if(0===h)return this;if(h===this.length())return this.next}var v=a.create(this.domNode.splitText(h));return this.parent.insertBefore(v,this.next),this.text=this.statics.value(this.domNode),v},s.prototype.update=function(h,u){var v=this;h.some(function(g){return"characterData"===g.type&&g.target===v.domNode})&&(this.text=this.statics.value(this.domNode))},s.prototype.value=function(){return this.text},s.blotName="text",s.scope=a.Scope.INLINE_BLOT,s}(C.default);f.default=E},function(_,f,c){"use strict";var o=document.createElement("div");if(o.classList.toggle("test-class",!1),o.classList.contains("test-class")){var C=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(a,E){return arguments.length>1&&!this.contains(a)==!E?E:C.call(this,a)}}String.prototype.startsWith||(String.prototype.startsWith=function(a,E){return this.substr(E=E||0,a.length)===a}),String.prototype.endsWith||(String.prototype.endsWith=function(a,E){var T=this.toString();("number"!=typeof E||!isFinite(E)||Math.floor(E)!==E||E>T.length)&&(E=T.length);var s=T.indexOf(a,E-=a.length);return-1!==s&&s===E}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(E){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof E)throw new TypeError("predicate must be a function");for(var u,T=Object(this),s=T.length>>>0,h=arguments[1],v=0;v<s;v++)if(E.call(h,u=T[v],v,T))return u}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(_,f){var c=-1,o=1,C=0;function a(k,O,V){if(k==O)return k?[[C,k]]:[];(V<0||k.length<V)&&(V=null);var K=h(k,O),z=k.substring(0,K);K=u(k=k.substring(K),O=O.substring(K));var H=k.substring(k.length-K),x=function E(k,O){var V;if(!k)return[[o,O]];if(!O)return[[c,k]];var K=k.length>O.length?k:O,z=k.length>O.length?O:k,H=K.indexOf(z);if(-1!=H)return V=[[o,K.substring(0,H)],[C,z],[o,K.substring(H+z.length)]],k.length>O.length&&(V[0][0]=V[2][0]=c),V;if(1==z.length)return[[c,k],[o,O]];var x=function v(k,O){var V=k.length>O.length?k:O,K=k.length>O.length?O:k;if(V.length<4||2*K.length<V.length)return null;function z(fe,ne,ce){for(var X,M,N,G,me=fe.substring(ce,ce+Math.floor(fe.length/4)),re=-1,$="";-1!=(re=ne.indexOf(me,re+1));){var ue=h(fe.substring(ce),ne.substring(re)),ve=u(fe.substring(0,ce),ne.substring(0,re));$.length<ve+ue&&($=ne.substring(re-ve,re)+ne.substring(re,re+ue),X=fe.substring(0,ce-ve),M=fe.substring(ce+ue),N=ne.substring(0,re-ve),G=ne.substring(re+ue))}return 2*$.length>=fe.length?[X,M,N,G,$]:null}var q,Z,de,ee,Y,H=z(V,K,Math.ceil(V.length/4)),x=z(V,K,Math.ceil(V.length/2));return H||x?(q=x?H&&H[4].length>x[4].length?H:x:H,k.length>O.length?(Z=q[0],de=q[1],ee=q[2],Y=q[3]):(ee=q[0],Y=q[1],Z=q[2],de=q[3]),[Z,de,ee,Y,q[4]]):null}(k,O);if(x){var Z=x[1],ee=x[3],Y=x[4],ae=a(x[0],x[2]),fe=a(Z,ee);return ae.concat([[C,Y]],fe)}return function T(k,O){for(var V=k.length,K=O.length,z=Math.ceil((V+K)/2),H=z,x=2*z,q=new Array(x),Z=new Array(x),de=0;de<x;de++)q[de]=-1,Z[de]=-1;q[H+1]=0,Z[H+1]=0;for(var ee=V-K,Y=ee%2!=0,ae=0,fe=0,ne=0,ce=0,me=0;me<z;me++){for(var re=-me+ae;re<=me-fe;re+=2){for(var $=H+re,M=(X=re==-me||re!=me&&q[$-1]<q[$+1]?q[$+1]:q[$-1]+1)-re;X<V&&M<K&&k.charAt(X)==O.charAt(M);)X++,M++;if(q[$]=X,X>V)fe+=2;else if(M>K)ae+=2;else if(Y&&(N=H+ee-re)>=0&&N<x&&-1!=Z[N]&&X>=(G=V-Z[N]))return s(k,O,X,M)}for(var ue=-me+ne;ue<=me-ce;ue+=2){for(var G,N=H+ue,ve=(G=ue==-me||ue!=me&&Z[N-1]<Z[N+1]?Z[N+1]:Z[N-1]+1)-ue;G<V&&ve<K&&k.charAt(V-G-1)==O.charAt(K-ve-1);)G++,ve++;if(Z[N]=G,G>V)ce+=2;else if(ve>K)ne+=2;else if(!Y){var X;if(($=H+ee-ue)>=0&&$<x&&-1!=q[$]&&(M=H+(X=q[$])-$,X>=(G=V-G)))return s(k,O,X,M)}}}return[[c,k],[o,O]]}(k,O)}(k=k.substring(0,k.length-K),O=O.substring(0,O.length-K));return z&&x.unshift([C,z]),H&&x.push([C,H]),g(x),null!=V&&(x=function b(k,O){var V=function p(k,O){if(0===O)return[C,k];for(var V=0,K=0;K<k.length;K++){var z=k[K];if(z[0]===c||z[0]===C){var H=V+z[1].length;if(O===H)return[K+1,k];if(O<H){k=k.slice();var x=O-V,q=[z[0],z[1].slice(0,x)],Z=[z[0],z[1].slice(x)];return k.splice(K,1,q,Z),[K+1,k]}V=H}}throw new Error("cursor_pos is out of bounds!")}(k,O),K=V[1],z=V[0],H=K[z],x=K[z+1];if(null==H)return k;if(H[0]!==C)return k;if(null!=x&&H[1]+x[1]===x[1]+H[1])return K.splice(z,2,x,H),P(K,z,2);if(null!=x&&0===x[1].indexOf(H[1])){K.splice(z,2,[x[0],H[1]],[0,H[1]]);var q=x[1].slice(H[1].length);return q.length>0&&K.splice(z+2,0,[x[0],q]),P(K,z,3)}return k}(x,V)),function R(k){for(var O=!1,V=function(x){return x.charCodeAt(0)>=56320&&x.charCodeAt(0)<=57343},K=function(x){return x.charCodeAt(x.length-1)>=55296&&x.charCodeAt(x.length-1)<=56319},z=2;z<k.length;z+=1)k[z-2][0]===C&&K(k[z-2][1])&&k[z-1][0]===c&&V(k[z-1][1])&&k[z][0]===o&&V(k[z][1])&&(O=!0,k[z-1][1]=k[z-2][1].slice(-1)+k[z-1][1],k[z][1]=k[z-2][1].slice(-1)+k[z][1],k[z-2][1]=k[z-2][1].slice(0,-1));if(!O)return k;var H=[];for(z=0;z<k.length;z+=1)k[z][1].length>0&&H.push(k[z]);return H}(x)}function s(k,O,V,K){var z=k.substring(0,V),H=O.substring(0,K),x=k.substring(V),q=O.substring(K),Z=a(z,H),de=a(x,q);return Z.concat(de)}function h(k,O){if(!k||!O||k.charAt(0)!=O.charAt(0))return 0;for(var V=0,K=Math.min(k.length,O.length),z=K,H=0;V<z;)k.substring(H,z)==O.substring(H,z)?H=V=z:K=z,z=Math.floor((K-V)/2+V);return z}function u(k,O){if(!k||!O||k.charAt(k.length-1)!=O.charAt(O.length-1))return 0;for(var V=0,K=Math.min(k.length,O.length),z=K,H=0;V<z;)k.substring(k.length-z,k.length-H)==O.substring(O.length-z,O.length-H)?H=V=z:K=z,z=Math.floor((K-V)/2+V);return z}function g(k){k.push([C,""]);for(var x,O=0,V=0,K=0,z="",H="";O<k.length;)switch(k[O][0]){case o:K++,H+=k[O][1],O++;break;case c:V++,z+=k[O][1],O++;break;case C:V+K>1?(0!==V&&0!==K&&(0!==(x=h(H,z))&&(O-V-K>0&&k[O-V-K-1][0]==C?k[O-V-K-1][1]+=H.substring(0,x):(k.splice(0,0,[C,H.substring(0,x)]),O++),H=H.substring(x),z=z.substring(x)),0!==(x=u(H,z))&&(k[O][1]=H.substring(H.length-x)+k[O][1],H=H.substring(0,H.length-x),z=z.substring(0,z.length-x))),0===V?k.splice(O-K,V+K,[o,H]):0===K?k.splice(O-V,V+K,[c,z]):k.splice(O-V-K,V+K,[c,z],[o,H]),O=O-V-K+(V?1:0)+(K?1:0)+1):0!==O&&k[O-1][0]==C?(k[O-1][1]+=k[O][1],k.splice(O,1)):O++,K=0,V=0,z="",H=""}""===k[k.length-1][1]&&k.pop();var q=!1;for(O=1;O<k.length-1;)k[O-1][0]==C&&k[O+1][0]==C&&(k[O][1].substring(k[O][1].length-k[O-1][1].length)==k[O-1][1]?(k[O][1]=k[O-1][1]+k[O][1].substring(0,k[O][1].length-k[O-1][1].length),k[O+1][1]=k[O-1][1]+k[O+1][1],k.splice(O-1,1),q=!0):k[O][1].substring(0,k[O+1][1].length)==k[O+1][1]&&(k[O-1][1]+=k[O+1][1],k[O][1]=k[O][1].substring(k[O+1][1].length)+k[O+1][1],k.splice(O+1,1),q=!0)),O++;q&&g(k)}var y=a;function P(k,O,V){for(var K=O+V-1;K>=0&&K>=O-1;K--)if(K+1<k.length){var z=k[K],H=k[K+1];z[0]===H[1]&&k.splice(K,2,[z[0],z[1]+H[1]])}return k}y.INSERT=o,y.DELETE=c,y.EQUAL=C,_.exports=y},function(_,f){function c(o){var C=[];for(var a in o)C.push(a);return C}(_.exports="function"==typeof Object.keys?Object.keys:c).shim=c},function(_,f){var c="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function o(a){return"[object Arguments]"==Object.prototype.toString.call(a)}function C(a){return a&&"object"==typeof a&&"number"==typeof a.length&&Object.prototype.hasOwnProperty.call(a,"callee")&&!Object.prototype.propertyIsEnumerable.call(a,"callee")||!1}(f=_.exports=c?o:C).supported=o,f.unsupported=C},function(_,f){"use strict";var c=Object.prototype.hasOwnProperty,o="~";function C(){}function a(T,s,h){this.fn=T,this.context=s,this.once=h||!1}function E(){this._events=new C,this._eventsCount=0}Object.create&&(C.prototype=Object.create(null),(new C).__proto__||(o=!1)),E.prototype.eventNames=function(){var h,u,s=[];if(0===this._eventsCount)return s;for(u in h=this._events)c.call(h,u)&&s.push(o?u.slice(1):u);return Object.getOwnPropertySymbols?s.concat(Object.getOwnPropertySymbols(h)):s},E.prototype.listeners=function(s,h){var v=this._events[o?o+s:s];if(h)return!!v;if(!v)return[];if(v.fn)return[v.fn];for(var g=0,y=v.length,p=new Array(y);g<y;g++)p[g]=v[g].fn;return p},E.prototype.emit=function(s,h,u,v,g,y){var p=o?o+s:s;if(!this._events[p])return!1;var P,k,b=this._events[p],R=arguments.length;if(b.fn){switch(b.once&&this.removeListener(s,b.fn,void 0,!0),R){case 1:return b.fn.call(b.context),!0;case 2:return b.fn.call(b.context,h),!0;case 3:return b.fn.call(b.context,h,u),!0;case 4:return b.fn.call(b.context,h,u,v),!0;case 5:return b.fn.call(b.context,h,u,v,g),!0;case 6:return b.fn.call(b.context,h,u,v,g,y),!0}for(k=1,P=new Array(R-1);k<R;k++)P[k-1]=arguments[k];b.fn.apply(b.context,P)}else{var V,O=b.length;for(k=0;k<O;k++)switch(b[k].once&&this.removeListener(s,b[k].fn,void 0,!0),R){case 1:b[k].fn.call(b[k].context);break;case 2:b[k].fn.call(b[k].context,h);break;case 3:b[k].fn.call(b[k].context,h,u);break;case 4:b[k].fn.call(b[k].context,h,u,v);break;default:if(!P)for(V=1,P=new Array(R-1);V<R;V++)P[V-1]=arguments[V];b[k].fn.apply(b[k].context,P)}}return!0},E.prototype.on=function(s,h,u){var v=new a(h,u||this),g=o?o+s:s;return this._events[g]?this._events[g].fn?this._events[g]=[this._events[g],v]:this._events[g].push(v):(this._events[g]=v,this._eventsCount++),this},E.prototype.once=function(s,h,u){var v=new a(h,u||this,!0),g=o?o+s:s;return this._events[g]?this._events[g].fn?this._events[g]=[this._events[g],v]:this._events[g].push(v):(this._events[g]=v,this._eventsCount++),this},E.prototype.removeListener=function(s,h,u,v){var g=o?o+s:s;if(!this._events[g])return this;if(!h)return 0==--this._eventsCount?this._events=new C:delete this._events[g],this;var y=this._events[g];if(y.fn)y.fn===h&&(!v||y.once)&&(!u||y.context===u)&&(0==--this._eventsCount?this._events=new C:delete this._events[g]);else{for(var p=0,b=[],R=y.length;p<R;p++)(y[p].fn!==h||v&&!y[p].once||u&&y[p].context!==u)&&b.push(y[p]);b.length?this._events[g]=1===b.length?b[0]:b:0==--this._eventsCount?this._events=new C:delete this._events[g]}return this},E.prototype.removeAllListeners=function(s){var h;return s?this._events[h=o?o+s:s]&&(0==--this._eventsCount?this._events=new C:delete this._events[h]):(this._events=new C,this._eventsCount=0),this},E.prototype.off=E.prototype.removeListener,E.prototype.addListener=E.prototype.on,E.prototype.setMaxListeners=function(){return this},E.prefixed=o,E.EventEmitter=E,typeof _<"u"&&(_.exports=E)},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.matchText=f.matchSpacing=f.matchNewline=f.matchBlot=f.matchAttributor=f.default=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(lt){return typeof lt}:function(lt){return lt&&"function"==typeof Symbol&<.constructor===Symbol&<!==Symbol.prototype?"symbol":typeof lt},C=function(){return function(yt,Ft){if(Array.isArray(yt))return yt;if(Symbol.iterator in Object(yt))return function lt(yt,Ft){var rt=[],mt=!0,Mt=!1,Vt=void 0;try{for(var $n,Lt=yt[Symbol.iterator]();!(mt=($n=Lt.next()).done)&&(rt.push($n.value),!Ft||rt.length!==Ft);mt=!0);}catch(Tn){Mt=!0,Vt=Tn}finally{try{!mt&&Lt.return&&Lt.return()}finally{if(Mt)throw Vt}}return rt}(yt,Ft);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function lt(yt,Ft){for(var rt=0;rt<Ft.length;rt++){var mt=Ft[rt];mt.enumerable=mt.enumerable||!1,mt.configurable=!0,"value"in mt&&(mt.writable=!0),Object.defineProperty(yt,mt.key,mt)}}return function(yt,Ft,rt){return Ft&<(yt.prototype,Ft),rt&<(yt,rt),yt}}(),T=Z(c(3)),h=Z(c(2)),v=Z(c(0)),y=Z(c(5)),b=Z(c(10)),P=Z(c(9)),k=c(36),O=c(37),K=Z(c(13)),z=c(26),H=c(38),x=c(39),q=c(40);function Z(lt){return lt&<.__esModule?lt:{default:lt}}function de(lt,yt,Ft){return yt in lt?Object.defineProperty(lt,yt,{value:Ft,enumerable:!0,configurable:!0,writable:!0}):lt[yt]=Ft,lt}var fe=(0,b.default)("quill:clipboard"),ne="__ql-matcher",ce=[[Node.TEXT_NODE,St],[Node.TEXT_NODE,At],["br",function et(lt,yt){return N(yt,"\n")||yt.insert("\n"),yt}
vendor: 6,950 bytes, line 1
1],[Node.ELEMENT_NODE,At],[Node.ELEMENT_NODE,Re],[Node.ELEMENT_NODE,It],[Node.ELEMENT_NODE,we],[Node.ELEMENT_NODE,function qt(lt,yt){var Ft={},rt=lt.style||{};return rt.fontStyle&&"italic"===M(lt).fontStyle&&(Ft.italic=!0),rt.fontWeight&&(M(lt).fontWeight.startsWith("bold")||parseInt(M(lt).fontWeight)>=700)&&(Ft.bold=!0),Object.keys(Ft).length>0&&(yt=X(yt,Ft)),parseFloat(rt.textIndent||0)>0&&(yt=(new h.default).insert("\t").concat(yt)),yt}],["li",function Pt(lt,yt){var Ft=v.default.query(lt);if(null==Ft||"list-item"!==Ft.blotName||!N(yt,"\n"))return yt;for(var rt=-1,mt=lt.parentNode;!mt.classList.contains("ql-clipboard");)"list"===(v.default.query(mt)||{}).blotName&&(rt+=1),mt=mt.parentNode;return rt<=0?yt:yt.compose((new h.default).retain(yt.length()-1).retain(1,{indent:rt}))}],["b",ve.bind(ve,"bold")],["i",ve.bind(ve,"italic")],["style",function at(){return new h.default}]],me=[k.AlignAttribute,H.DirectionAttribute].reduce(function(lt,yt){return lt[yt.keyName]=yt,lt},{}),re=[k.AlignStyle,O.BackgroundStyle,z.ColorStyle,H.DirectionStyle,x.FontStyle,q.SizeStyle].reduce(function(lt,yt){return lt[yt.keyName]=yt,lt},{}),$=function(lt){function yt(Ft,rt){!function ee(lt,yt){if(!(lt instanceof yt))throw new TypeError("Cannot call a class as a function")}(this,yt);var mt=function Y(lt,yt){if(!lt)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!yt||"object"!=typeof yt&&"function"!=typeof yt?lt:yt}(this,(yt.__proto__||Object.getPrototypeOf(yt)).call(this,Ft,rt));return mt.quill.root.addEventListener("paste",mt.onPaste.bind(mt)),mt.container=mt.quill.addContainer("ql-clipboard"),mt.container.setAttribute("contenteditable",!0),mt.container.setAttribute("tabindex",-1),mt.matchers=[],ce.concat(mt.options.matchers).forEach(function(Mt){var Vt=C(Mt,2),$n=Vt[1];!rt.matchVisual&&$n===It||mt.addMatcher(Vt[0],$n)}),mt}return function ae(lt,yt){if("function"!=typeof yt&&null!==yt)throw new TypeError("Super expression must either be null or a function, not "+typeof yt);lt.prototype=Object.create(yt&&yt.prototype,{constructor:{value:lt,enumerable:!1,writable:!0,configurable:!0}}),yt&&(Object.setPrototypeOf?Object.setPrototypeOf(lt,yt):lt.__proto__=yt)}(yt,lt),a(yt,[{key:"addMatcher",value:function(rt,mt){this.matchers.push([rt,mt])}},{key:"convert",value:function(rt){if("string"==typeof rt)return this.container.innerHTML=rt.replace(/\>\r?\n +\</g,"><"),this.convert();var mt=this.quill.getFormat(this.quill.selection.savedRange.index);if(mt[K.default.blotName]){var Mt=this.container.innerText;return this.container.innerHTML="",(new h.default).insert(Mt,de({},K.default.blotName,mt[K.default.blotName]))}var Vt=this.prepareMatching(),Lt=C(Vt,2),An=ue(this.container,Lt[0],Lt[1]);return N(An,"\n")&&null==An.ops[An.ops.length-1].attributes&&(An=An.compose((new h.default).retain(An.length()-1).delete(1))),fe.log("convert",this.container.innerHTML,An),this.container.innerHTML="",An}},{key:"dangerouslyPasteHTML",value:function(rt,mt){var Mt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y.default.sources.API;if("string"==typeof rt)this.quill.setContents(this.convert(rt),mt),this.quill.setSelection(0,y.default.sources.SILENT);else{var Vt=this.convert(mt);this.quill.updateContents((new h.default).retain(rt).concat(Vt),Mt),this.quill.setSelection(rt+Vt.length(),y.default.sources.SILENT)}}},{key:"onPaste",value:function(rt){var mt=this;if(!rt.defaultPrevented&&this.quill.isEnabled()){var Mt=this.quill.getSelection(),Vt=(new h.default).retain(Mt.index),Lt=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(y.default.sources.SILENT),setTimeout(function(){Vt=Vt.concat(mt.convert()).delete(Mt.length),mt.quill.updateContents(Vt,y.default.sources.USER),mt.quill.setSelection(Vt.length()-Mt.length,y.default.sources.SILENT),mt.quill.scrollingContainer.scrollTop=Lt,mt.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var rt=this,mt=[],Mt=[];return this.matchers.forEach(function(Vt){var Lt=C(Vt,2),$n=Lt[0],Tn=Lt[1];switch($n){case Node.TEXT_NODE:Mt.push(Tn);break;case Node.ELEMENT_NODE:mt.push(Tn);break;default:[].forEach.call(rt.container.querySelectorAll($n),function(An){An[ne]=An[ne]||[],An[ne].push(Tn)})}}),[mt,Mt]}}]),yt}(P.default);function X(lt,yt,Ft){return"object"===(typeof yt>"u"?"undefined":o(yt))?Object.keys(yt).reduce(function(rt,mt){return X(rt,mt,yt[mt])},lt):lt.reduce(function(rt,mt){return mt.attributes&&mt.attributes[yt]?rt.push(mt):rt.insert(mt.insert,(0,T.default)({},de({},yt,Ft),mt.attributes))},new h.default)}function M(lt){if(lt.nodeType!==Node.ELEMENT_NODE)return{};var yt="__ql-computed-style";return lt[yt]||(lt[yt]=window.getComputedStyle(lt))}function N(lt,yt){for(var Ft="",rt=lt.ops.length-1;rt>=0&&Ft.length<yt.length;--rt){var mt=lt.ops[rt];if("string"!=typeof mt.insert)break;Ft=mt.insert+Ft}return Ft.slice(-1*yt.length)===yt}function G(lt){if(0===lt.childNodes.length)return!1;var yt=M(lt);return["block","list-item"].indexOf(yt.display)>-1}function ue(lt,yt,Ft){return lt.nodeType===lt.TEXT_NODE?Ft.reduce(function(rt,mt){return mt(lt,rt)},new h.default):lt.nodeType===lt.ELEMENT_NODE?[].reduce.call(lt.childNodes||[],function(rt,mt){var Mt=ue(mt,yt,Ft);return mt.nodeType===lt.ELEMENT_NODE&&(Mt=yt.reduce(function(Vt,Lt){return Lt(mt,Vt)},Mt),Mt=(mt[ne]||[]).reduce(function(Vt,Lt){return Lt(mt,Vt)},Mt)),rt.concat(Mt)},new h.default):new h.default}function ve(lt,yt,Ft){return X(Ft,lt,!0)}function we(lt,yt){var Ft=v.default.Attributor.Attribute.keys(lt),rt=v.default.Attributor.Class.keys(lt),mt=v.default.Attributor.Style.keys(lt),Mt={};return Ft.concat(rt).concat(mt).forEach(function(Vt){var Lt=v.default.query(Vt,v.default.Scope.ATTRIBUTE);null!=Lt&&(Mt[Lt.attrName]=Lt.value(lt),Mt[Lt.attrName])||(null!=(Lt=me[Vt])&&(Lt.attrName===Vt||Lt.keyName===Vt)&&(Mt[Lt.attrName]=Lt.value(lt)||void 0),null!=(Lt=re[Vt])&&(Lt.attrName===Vt||Lt.keyName===Vt)&&(Mt[(Lt=re[Vt]).attrName]=Lt.value(lt)||void 0))}),Object.keys(Mt).length>0&&(yt=X(yt,Mt)),yt}function Re(lt,yt){var Ft=v.default.query(lt);if(null==Ft)return yt;if(Ft.prototype instanceof v.default.Embed){var rt={},mt=Ft.value(lt);null!=mt&&(rt[Ft.blotName]=mt,yt=(new h.default).insert(rt,Ft.formats(lt)))}else"function"==typeof Ft.formats&&(yt=X(yt,Ft.blotName,Ft.formats(lt)));return yt}function At(lt,yt){return N(yt,"\n")||(G(lt)||yt.length()>0&<.nextSibling&&G(lt.nextSibling))&&yt.insert("\n"),yt}function It(lt,yt){if(G(lt)&&null!=lt.nextElementSibling&&!N(yt,"\n\n")){var Ft=lt.offsetHeight+parseFloat(M(lt).marginTop)+parseFloat(M(lt).marginBottom);lt.nextElementSibling.offsetTop>lt.offsetTop+1.5*Ft&&yt.insert("\n")}return yt}function St(lt,yt){var Ft=lt.data;if("O:P"===lt.parentNode.tagName)return yt.insert(Ft.trim());if(0===Ft.trim().length&<.parentNode.classList.contains("ql-clipboard"))return yt;if(!M(lt.parentNode).whiteSpace.startsWith("pre")){var rt=function(Mt,Vt){return(Vt=Vt.replace(/[^\u
100a0]/g,"")).length<1&&Mt?" ":Vt};Ft=(Ft=Ft.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,rt.bind(rt,!0)),(null==lt.previousSibling&&G(lt.parentNode)||null!=lt.previousSibling&&G(lt.previousSibling))&&(Ft=Ft.replace(/^\s+/,rt.bind(rt,!1))),(null==lt.nextSibling&&G(lt.parentNode)||null!=lt.nextSibling&&G(lt.nextSibling))&&(Ft=Ft.replace(/\s+$/,rt.bind(rt,!1)))}return yt.insert(Ft)}$.DEFAULTS={matchers:[],matchVisual:!0},f.default=$,f.matchAttributor=we,f.matchBlot=Re,f.matchNewline=At,f.matchSpacing=It,f.matchText=St},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=function(){function g(y,p){for(var b=0;b<p.length;b++){var R=p[b];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(y,R.key,R)}}return function(y,p,b){return p&&g(y.prototype,p),b&&g(y,b),y}}(),C=function g(y,p,b){null===y&&(y=Function.prototype);var R=Object.getOwnPropertyDescriptor(y,p);if(void 0===R){var P=Object.getPrototypeOf(y);return null===P?void 0:g(P,p,b)}if("value"in R)return R.value;var k=R.get;return void 0===k?void 0:k.call(b)};var v=function(g){function y(){return function s(g,y){if(!(g instanceof y))throw new TypeError("Cannot call a class as a function")}(this,y),function h(g,y){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!y||"object"!=typeof y&&"function"!=typeof y?g:y}(this,(y.__proto__||Object.getPrototypeOf(y)).apply(this,arguments))}return function u(g,y){if("function"!=typeof y&&null!==y)throw new TypeError("Super expression must either be null or a function, not "+typeof y);g.prototype=Object.create(y&&y.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(g,y):g.__proto__=y)}(y,g),o(y,[{key:"optimize",value:function(b){C(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"optimize",this).call(this,b),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return C(y.__proto__||Object.getPrototypeOf(y),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),y}(function T(g){return g&&g.__esModule?g:{default:g}}(c(6)).default);v.blotName="bold",v.tagName=["STRONG","B"],f.default=v},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.addControls=f.default=void 0;var o=function(){return function(Z,de){if(Array.isArray(Z))return Z;if(Symbol.iterator in Object(Z))return function q(Z,de){var ee=[],Y=!0,ae=!1,fe=void 0;try{for(var ce,ne=Z[Symbol.iterator]();!(Y=(ce=ne.next()).done)&&(ee.push(ce.value),!de||ee.length!==de);Y=!0);}catch(me){ae=!0,fe=me}finally{try{!Y&&ne.return&&ne.return()}finally{if(ae)throw fe}}return ee}(Z,de);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),C=function(){function q(Z,de){for(var ee=0;ee<de.length;ee++){var Y=de[ee];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(Z,Y.key,Y)}}return function(Z,de,ee){return de&&q(Z.prototype,de),ee&&q(Z,ee),Z}}(),E=b(c(2)),s=b(c(0)),u=b(c(5)),g=b(c(10)),p=b(c(9));
vendor: 5,724 bytes, line 1
1function b(q){return q&&q.__esModule?q:{default:q}}function k(q,Z){if(!q)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!Z||"object"!=typeof Z&&"function"!=typeof Z?q:Z}var V=(0,g.default)("quill:toolbar"),K=function(q){function Z(de,ee){!function P(q,Z){if(!(q instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,Z);var fe,Y=k(this,(Z.__proto__||Object.getPrototypeOf(Z)).call(this,de,ee));if(Array.isArray(Y.options.container)){var ae=document.createElement("div");H(ae,Y.options.container),de.container.parentNode.insertBefore(ae,de.container),Y.container=ae}else Y.container="string"==typeof Y.options.container?document.querySelector(Y.options.container):Y.options.container;return Y.container instanceof HTMLElement?(Y.container.classList.add("ql-toolbar"),Y.controls=[],Y.handlers={},Object.keys(Y.options.handlers).forEach(function(ne){Y.addHandler(ne,Y.options.handlers[ne])}),[].forEach.call(Y.container.querySelectorAll("button, select"),function(ne){Y.attach(ne)}),Y.quill.on(u.default.events.EDITOR_CHANGE,function(ne,ce){ne===u.default.events.SELECTION_CHANGE&&Y.update(ce)}),Y.quill.on(u.default.events.SCROLL_OPTIMIZE,function(){var ne=Y.quill.selection.getRange(),ce=o(ne,1);Y.update(ce[0])}),Y):(fe=V.error("Container required for toolbar",Y.options),k(Y,fe))}return function O(q,Z){if("function"!=typeof Z&&null!==Z)throw new TypeError("Super expression must either be null or a function, not "+typeof Z);q.prototype=Object.create(Z&&Z.prototype,{constructor:{value:q,enumerable:!1,writable:!0,configurable:!0}}),Z&&(Object.setPrototypeOf?Object.setPrototypeOf(q,Z):q.__proto__=Z)}(Z,q),C(Z,[{key:"addHandler",value:function(ee,Y){this.handlers[ee]=Y}},{key:"attach",value:function(ee){var Y=this,ae=[].find.call(ee.classList,function(ne){return 0===ne.indexOf("ql-")});if(ae){if(ae=ae.slice(3),"BUTTON"===ee.tagName&&ee.setAttribute("type","button"),null==this.handlers[ae]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[ae])return void V.warn("ignoring attaching to disabled format",ae,ee);if(null==s.default.query(ae))return void V.warn("ignoring attaching to nonexistent format",ae,ee)}ee.addEventListener("SELECT"===ee.tagName?"change":"click",function(ne){var ce=void 0;if("SELECT"===ee.tagName){if(ee.selectedIndex<0)return;var me=ee.options[ee.selectedIndex];ce=!me.hasAttribute("selected")&&(me.value||!1)}else ce=!ee.classList.contains("ql-active")&&(ee.value||!ee.hasAttribute("value")),ne.preventDefault();Y.quill.focus();var re=Y.quill.selection.getRange(),X=o(re,1)[0];if(null!=Y.handlers[ae])Y.handlers[ae].call(Y,ce);else if(s.default.query(ae).prototype instanceof s.default.Embed){if(!(ce=prompt("Enter "+ae)))return;Y.quill.updateContents((new E.default).retain(X.index).delete(X.length).insert(function R(q,Z,de){return Z in q?Object.defineProperty(q,Z,{value:de,enumerable:!0,configurable:!0,writable:!0}):q[Z]=de,q}({},ae,ce)),u.default.sources.USER)}else Y.quill.format(ae,ce,u.default.sources.USER);Y.update(X)}),this.controls.push([ae,ee])}}},{key:"update",value:function(ee){var Y=null==ee?{}:this.quill.getFormat(ee);this.controls.forEach(function(ae){var fe=o(ae,2),ne=fe[0],ce=fe[1];if("SELECT"===ce.tagName){var me=void 0;if(null==ee)me=null;else if(null==Y[ne])me=ce.querySelector("option[selected]");else if(!Array.isArray(Y[ne])){var re=Y[ne];"string"==typeof re&&(re=re.replace(/\"/g,'\\"')),me=ce.querySelector('option[value="'+re+'"]')}null==me?(ce.value="",ce.selectedIndex=-1):me.selected=!0}else if(null==ee)ce.classList.remove("ql-active");else if(ce.hasAttribute("value")){var $=Y[ne]===ce.getAttribute("value")||null!=Y[ne]&&Y[ne].toString()===ce.getAttribute("value")||null==Y[ne]&&!ce.getAttribute("value");ce.classList.toggle("ql-active",$)}else ce.classList.toggle("ql-active",null!=Y[ne])})}}]),Z}(p.default);function z(q,Z,de){var ee=document.createElement("button");ee.setAttribute("type","button"),ee.classList.add("ql-"+Z),null!=de&&(ee.value=de),q.appendChild(ee)}function H(q,Z){Array.isArray(Z[0])||(Z=[Z]),Z.forEach(function(de){var ee=document.createElement("span");ee.classList.add("ql-formats"),de.forEach(function(Y){if("string"==typeof Y)z(ee,Y);else{var ae=Object.keys(Y)[0],fe=Y[ae];Array.isArray(fe)?function x(q,Z,de){var ee=document.createElement("select");ee.classList.add("ql-"+Z),de.forEach(function(Y){var ae=document.createElement("option");!1!==Y?ae.setAttribute("value",Y):ae.setAttribute("selected","selected"),ee.appendChild(ae)}),q.appendChild(ee)}(ee,ae,fe):z(ee,ae,fe)}}),q.appendChild(ee)})}K.DEFAULTS={},K.DEFAULTS={container:null,handlers:{clean:function(){var Z=this,de=this.quill.getSelection();if(null!=de)if(0==de.length){var ee=this.quill.getFormat();Object.keys(ee).forEach(function(Y){null!=s.default.query(Y,s.default.Scope.INLINE)&&Z.quill.format(Y,!1)})}else this.quill.removeFormat(de,u.default.sources.USER)},direction:function(Z){var de=this.quill.getFormat().align;"rtl"===Z&&null==de?this.quill.format("align","right",u.default.sources.USER):!Z&&"right"===de&&this.quill.format("align",!1,u.default.sources.USER),this.quill.format("direction",Z,u.default.sources.USER)},indent:function(Z){var de=this.quill.getSelection(),ee=this.quill.getFormat(de),Y=parseInt(ee.indent||0);if("+1"===Z||"-1"===Z){var ae="+1"===Z?1:-1;"rtl"===ee.direction&&(ae*=-1),this.quill.format("indent",Y+ae,u.default.sources.USER)}},link:function(Z){!0===Z&&(Z=prompt("Enter link URL:")),this.quill.format("link",Z,u.default.sources.USER)},list:function(Z){var de=this.quill.getSelection(),ee=this.quill.getFormat(de);this.quill.format("list","check"===Z?"checked"!==ee.list&&"unchecked"!==ee.list&&"unchecked":Z,u.default.sources.USER)}}}
1,f.default=K,f.addControls=H},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=function(){function g(y,p){for(var b=0;b<p.length;b++){var R=p[b];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(y,R.key,R)}}return function(y,p,b){return p&&g(y.prototype,p),b&&g(y,b),y}}(),C=function g(y,p,b){null===y&&(y=Function.prototype);var R=Object.getOwnPropertyDescriptor(y,p);if(void 0===R){var P=Object.getPrototypeOf(y);return null===P?void 0:g(P,p,b)}if("value"in R)return R.value;var k=R.get;return void 0===k?void 0:k.call(b)};var v=function(g){function y(p,b){!function s(g,y){if(!(g instanceof y))throw new TypeError("Cannot call a class as a function")}(this,y);var R=function h(g,y){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!y||"object"!=typeof y&&"function"!=typeof y?g:y}(this,(y.__proto__||Object.getPrototypeOf(y)).call(this,p));return R.label.innerHTML=b,R.container.classList.add("ql-color-picker"),[].slice.call(R.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(P){P.classList.add("ql-primary")}),R}return function u(g,y){if("function"!=typeof y&&null!==y)throw new TypeError("Super expression must either be null or a function, not "+typeof y);g.prototype=Object.create(y&&y.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(g,y):g.__proto__=y)}(y,g),o(y,[{key:"buildItem",value:function(b){var R=C(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"buildItem",this).call(this,b);return R.style.backgroundColor=b.getAttribute("value")||"",R}},{key:"selectItem",value:function(b,R){C(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"selectItem",this).call(this,b,R);var P=this.label.querySelector(".ql-color-label"),k=b&&b.getAttribute("data-value")||"";P&&("line"===P.tagName?P.style.stroke=k:P.style.fill=k)}}]),y}(function T(g){return g&&g.__esModule?g:{default:g}}(c(28)).default);f.default=v},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=function(){function g(y,p){for(var b=0;b<p.length;b++){var R=p[b];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(y,R.key,R)}}return function(y,p,b){return p&&g(y.prototype,p),b&&g(y,b),y}}(),C=function g(y,p,b){null===y&&(y=Function.prototype);var R=Object.getOwnPropertyDescriptor(y,p);if(void 0===R){var P=Object.getPrototypeOf(y);return null===P?void 0:g(P,p,b)}if("value"in R)return R.value;var k=R.get;return void 0===k?void 0:k.call(b)};var v=function(g){function y(p,b){!function s(g,y){if(!(g instanceof y))throw new TypeError("Cannot call a class as a function")}(this,y);var R=function h(g,y){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!y||"object"!=typeof y&&"function"!=typeof y?g:y}(this,(y.__proto__||Object.getPrototypeOf(y)).call(this,p));return R.container.classList.add("ql-icon-picker"),[].forEach.call(R.container.querySelectorAll(".ql-picker-item"),function(P){P.innerHTML=b[P.getAttribute("data-value")||""]}),R.defaultItem=R.container.querySelector(".ql-selected"),R.selectItem(R.defaultItem),R}return function u(g,y){if("function"!=typeof y&&null!==y)throw new TypeError("Super expression must either be null or a function, not "+typeof y);g.prototype=Object.create(y&&y.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(g,y):g.__proto__=y)}(y,g),o(y,[{key:"selectItem",value:function(b,R){C(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"selectItem",this).call(this,b,R),this.label.innerHTML=(b=b||this.defaultItem).innerHTML}}]),y}(function T(g){return g&&g.__esModule?g:{default:g}}(c(28)).default);f.default=v},function(_,f,c){"use strict";
vendor: 6,183 bytes, line 1
1Object.defineProperty(f,"__esModule",{value:!0});var o=function(){function E(T,s){for(var h=0;h<s.length;h++){var u=s[h];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(T,u.key,u)}}return function(T,s,h){return s&&E(T.prototype,s),h&&E(T,h),T}}();var a=function(){function E(T,s){var h=this;(function C(E,T){if(!(E instanceof T))throw new TypeError("Cannot call a class as a function")})(this,E),this.quill=T,this.boundsContainer=s||document.body,this.root=T.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){h.root.style.marginTop=-1*h.quill.root.scrollTop+"px"}),this.hide()}return o(E,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(s){var h=s.left+s.width/2-this.root.offsetWidth/2,u=s.bottom+this.quill.root.scrollTop;this.root.style.left=h+"px",this.root.style.top=u+"px",this.root.classList.remove("ql-flip");var v=this.boundsContainer.getBoundingClientRect(),g=this.root.getBoundingClientRect(),y=0;return g.right>v.right&&(this.root.style.left=h+(y=v.right-g.right)+"px"),g.left<v.left&&(this.root.style.left=h+(y=v.left-g.left)+"px"),g.bottom>v.bottom&&(this.root.style.top=u-(s.bottom-s.top+(g.bottom-g.top))+"px",this.root.classList.add("ql-flip")),y}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),E}();f.default=a},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=function(){return function(q,Z){if(Array.isArray(q))return q;if(Symbol.iterator in Object(q))return function x(q,Z){var de=[],ee=!0,Y=!1,ae=void 0;try{for(var ne,fe=q[Symbol.iterator]();!(ee=(ne=fe.next()).done)&&(de.push(ne.value),!Z||de.length!==Z);ee=!0);}catch(ce){Y=!0,ae=ce}finally{try{!ee&&fe.return&&fe.return()}finally{if(Y)throw ae}}return de}(q,Z);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),C=function x(q,Z,de){null===q&&(q=Function.prototype);var ee=Object.getOwnPropertyDescriptor(q,Z);if(void 0===ee){var Y=Object.getPrototypeOf(q);return null===Y?void 0:x(Y,Z,de)}if("value"in ee)return ee.value;var ae=ee.get;return void 0===ae?void 0:ae.call(de)},a=function(){function x(q,Z){for(var de=0;de<Z.length;de++){var ee=Z[de];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(q,ee.key,ee)}}return function(q,Z,de){return Z&&x(q.prototype,Z),de&&x(q,de),q}}(),T=P(c(3)),h=P(c(8)),u=c(43),v=P(u),y=P(c(27)),p=c(15),R=P(c(41));function P(x){return x&&x.__esModule?x:{default:x}}function k(x,q){if(!(x instanceof q))throw new TypeError("Cannot call a class as a function")}function O(x,q){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!q||"object"!=typeof q&&"function"!=typeof q?x:q}function V(x,q){if("function"!=typeof q&&null!==q)throw new TypeError("Super expression must either be null or a function, not "+typeof q);x.prototype=Object.create(q&&q.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),q&&(Object.setPrototypeOf?Object.setPrototypeOf(x,q):x.__proto__=q)}var K=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],z=function(x){function q(Z,de){k(this,q),null!=de.modules.toolbar&&null==de.modules.toolbar.container&&(de.modules.toolbar.container=K);var ee=O(this,(q.__proto__||Object.getPrototypeOf(q)).call(this,Z,de));return ee.quill.container.classList.add("ql-snow"),ee}return V(q,x),a(q,[{key:"extendToolbar",value:function(de){de.container.classList.add("ql-snow"),this.buildButtons([].slice.call(de.container.querySelectorAll("button")),R.default),this.buildPickers([].slice.call(de.container.querySelectorAll("select")),R.default),this.tooltip=new H(this.quill,this.options.bounds),de.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(ee,Y){de.handlers.link.call(de,!Y.format.link)})}}]),q}(v.default);z.DEFAULTS=(0,T.default)(!0,{},v.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(q){if(q){var Z=this.quill.getSelection();if(null==Z||0==Z.length)return;var de=this.quill.getText(Z);/^\S+@\S+\.\S+$/.test(de)&&0!==de.indexOf("mailto:")&&(de="mailto:"+de),this.quill.theme.tooltip.edit("link",de)}else this.quill.format("link",!1)}}}}});var H=function(x){function q(Z,de){k(this,q);var ee=O(this,(q.__proto__||Object.getPrototypeOf(q)).call(this,Z,de));return ee.preview=ee.root.querySelector("a.ql-preview"),ee}return V(q,x),a(q,[{key:"listen",value:function(){var de=this;C(q.prototype.__proto__||Object.getPrototypeOf(q.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(ee){de.root.classList.contains("ql-editing")?de.save():de.edit("link",de.preview.textContent),ee.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(ee){if(null!=de.linkRange){var Y=de.linkRange;de.restoreFocus(),de.quill.formatText(Y,"link",!1,h.default.sources.USER),delete de.linkRange}ee.preventDefault(),de.hide()}),this.quill.on(h.default.events.SELECTION_CHANGE,function(ee,Y,ae){if(null!=ee){if(0===ee.length&&ae===h.default.sources.USER){var fe=de.quill.scroll.descendant(y.default,ee.index),ne=o(fe,2),ce=ne[0];if(null!=ce){de.linkRange=new p.Range(ee.index-ne[1],ce.length());var re=y.default.formats(ce.domNode);return de.preview.textContent=re,de.preview.setAttribute("href",re),de.show(),void de.position(de.quill.getBounds(de.linkRange))}}else delete de.linkRange;de.hide()}})}},{key:"show",value:function(){C(q.prototype.__proto__||Object.getPrototypeOf(q.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),q}(u.BaseTooltip);H.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),f.default=z},function(_,f,c){"use strict";
1Object.defineProperty(f,"__esModule",{value:!0});var C=mt(c(29)),a=c(36),E=c(38),T=c(64),h=mt(c(65)),v=mt(c(66)),g=c(67),y=mt(g),p=c(37),b=c(26),R=c(39),P=c(40),O=mt(c(56)),K=mt(c(68)),H=mt(c(27)),q=mt(c(69)),de=mt(c(70)),Y=mt(c(71)),fe=mt(c(72)),ce=mt(c(73)),me=c(13),re=mt(me),X=mt(c(74)),N=mt(c(75)),ue=mt(c(57)),we=mt(c(41)),et=mt(c(28)),Pt=mt(c(59)),It=mt(c(60)),St=mt(c(61)),yt=mt(c(108)),rt=mt(c(62));function mt(Mt){return Mt&&Mt.__esModule?Mt:{default:Mt}}C.default.register({"attributors/attribute/direction":E.DirectionAttribute,"attributors/class/align":a.AlignClass,"attributors/class/background":p.BackgroundClass,"attributors/class/color":b.ColorClass,"attributors/class/direction":E.DirectionClass,"attributors/class/font":R.FontClass,"attributors/class/size":P.SizeClass,"attributors/style/align":a.AlignStyle,"attributors/style/background":p.BackgroundStyle,"attributors/style/color":b.ColorStyle,"attributors/style/direction":E.DirectionStyle,"attributors/style/font":R.FontStyle,"attributors/style/size":P.SizeStyle},!0),C.default.register({"formats/align":a.AlignClass,"formats/direction":E.DirectionClass,"formats/indent":T.IndentClass,"formats/background":p.Backgroun
vendor: 4,891 bytes, line 1
1dStyle,"formats/color":b.ColorStyle,"formats/font":R.FontClass,"formats/size":P.SizeClass,"formats/blockquote":h.default,"formats/code-block":re.default,"formats/header":v.default,"formats/list":y.default,"formats/bold":O.default,"formats/code":me.Code,"formats/italic":K.default,"formats/link":H.default,"formats/script":q.default,"formats/strike":de.default,"formats/underline":Y.default,"formats/image":fe.default,"formats/video":ce.default,"formats/list/item":g.ListItem,"modules/formula":X.default,"modules/syntax":N.default,"modules/toolbar":ue.default,"themes/bubble":yt.default,"themes/snow":rt.default,"ui/icons":we.default,"ui/picker":et.default,"ui/icon-picker":It.default,"ui/color-picker":Pt.default,"ui/tooltip":St.default},!0),f.default=C.default},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.IndentClass=void 0;var o=function(){function y(p,b){for(var R=0;R<b.length;R++){var P=b[R];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(p,P.key,P)}}return function(p,b,R){return b&&y(p.prototype,b),R&&y(p,R),p}}(),C=function y(p,b,R){null===p&&(p=Function.prototype);var P=Object.getOwnPropertyDescriptor(p,b);if(void 0===P){var k=Object.getPrototypeOf(p);return null===k?void 0:y(k,b,R)}if("value"in P)return P.value;var O=P.get;return void 0===O?void 0:O.call(R)},E=function T(y){return y&&y.__esModule?y:{default:y}}(c(0));var v=function(y){function p(){return function s(y,p){if(!(y instanceof p))throw new TypeError("Cannot call a class as a function")}(this,p),function h(y,p){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!p||"object"!=typeof p&&"function"!=typeof p?y:p}(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return function u(y,p){if("function"!=typeof p&&null!==p)throw new TypeError("Super expression must either be null or a function, not "+typeof p);y.prototype=Object.create(p&&p.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(y,p):y.__proto__=p)}(p,y),o(p,[{key:"add",value:function(R,P){if("+1"===P||"-1"===P){var k=this.value(R)||0;P="+1"===P?k+1:k-1}return 0===P?(this.remove(R),!0):C(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"add",this).call(this,R,P)}},{key:"canAdd",value:function(R,P){return C(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"canAdd",this).call(this,R,P)||C(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"canAdd",this).call(this,R,parseInt(P))}},{key:"value",value:function(R){return parseInt(C(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"value",this).call(this,R))||void 0}}]),p}(E.default.Attributor.Class),g=new v("indent","ql-indent",{scope:E.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});f.IndentClass=g},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var h=function(u){function v(){return function E(u,v){if(!(u instanceof v))throw new TypeError("Cannot call a class as a function")}(this,v),function T(u,v){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!v||"object"!=typeof v&&"function"!=typeof v?u:v}(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return function s(u,v){if("function"!=typeof v&&null!==v)throw new TypeError("Super expression must either be null or a function, not "+typeof v);u.prototype=Object.create(v&&v.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(u,v):u.__proto__=v)}(v,u),v}(function a(u){return u&&u.__esModule?u:{default:u}}(c(4)).default);h.blotName="blockquote",h.tagName="blockquote",f.default=h},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=function(){function v(g,y){for(var p=0;p<y.length;p++){var b=y[p];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(g,b.key,b)}}return function(g,y,p){return y&&v(g.prototype,y),p&&v(g,p),g}}();var u=function(v){function g(){return function T(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}(this,g),function s(v,g){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!g||"object"!=typeof g&&"function"!=typeof g?v:g}(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}return function h(v,g){if("function"!=typeof g&&null!==g)throw new TypeError("Super expression must either be null or a function, not "+typeof g);v.prototype=Object.create(g&&g.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(v,g):v.__proto__=g)}(g,v),o(g,null,[{key:"formats",value:function(p){return this.tagName.indexOf(p.tagName)+1}}]),g}
vendor: 4,611 bytes, line 1
1(function E(v){return v&&v.__esModule?v:{default:v}}(c(4)).default);u.blotName="header",u.tagName=["H1","H2","H3","H4","H5","H6"],f.default=u},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=f.ListItem=void 0;var o=function(){function k(O,V){for(var K=0;K<V.length;K++){var z=V[K];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(O,z.key,z)}}return function(O,V,K){return V&&k(O.prototype,V),K&&k(O,K),O}}(),C=function k(O,V,K){null===O&&(O=Function.prototype);var z=Object.getOwnPropertyDescriptor(O,V);if(void 0===z){var H=Object.getPrototypeOf(O);return null===H?void 0:k(H,V,K)}if("value"in z)return z.value;var x=z.get;return void 0===x?void 0:x.call(K)},E=v(c(0)),s=v(c(4)),u=v(c(25));function v(k){return k&&k.__esModule?k:{default:k}}function y(k,O){if(!(k instanceof O))throw new TypeError("Cannot call a class as a function")}function p(k,O){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!O||"object"!=typeof O&&"function"!=typeof O?k:O}function b(k,O){if("function"!=typeof O&&null!==O)throw new TypeError("Super expression must either be null or a function, not "+typeof O);k.prototype=Object.create(O&&O.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(k,O):k.__proto__=O)}var R=function(k){function O(){return y(this,O),p(this,(O.__proto__||Object.getPrototypeOf(O)).apply(this,arguments))}return b(O,k),o(O,[{key:"format",value:function(K,z){K!==P.blotName||z?C(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"format",this).call(this,K,z):this.replaceWith(E.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():C(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(K,z){return this.parent.isolate(this.offset(this.parent),this.length()),K===this.parent.statics.blotName?(this.parent.replaceWith(K,z),this):(this.parent.unwrap(),C(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"replaceWith",this).call(this,K,z))}}],[{key:"formats",value:function(K){return K.tagName===this.tagName?void 0:C(O.__proto__||Object.getPrototypeOf(O),"formats",this).call(this,K)}}]),O}(s.default);R.blotName="list-item",R.tagName="LI";var P=function(k){function O(V){y(this,O);var K=p(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,V)),z=function(x){if(x.target.parentNode===V){var q=K.statics.formats(V),Z=E.default.find(x.target);"checked"===q?Z.format("list","unchecked"):"unchecked"===q&&Z.format("list","checked")}};return V.addEventListener("touchstart",z),V.addEventListener("mousedown",z),K}return b(O,k),o(O,null,[{key:"create",value:function(K){var z="ordered"===K?"OL":"UL",H=C(O.__proto__||Object.getPrototypeOf(O),"create",this).call(this,z);return("checked"===K||"unchecked"===K)&&H.setAttribute("data-checked","checked"===K),H}},{key:"formats",value:function(K){return"OL"===K.tagName?"ordered":"UL"===K.tagName?K.hasAttribute("data-checked")?"true"===K.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),o(O,[{key:"format",value:function(K,z){this.children.length>0&&this.children.tail.format(K,z)}},{key:"formats",value:function(){return function g(k,O,V){return O in k?Object.defineProperty(k,O,{value:V,enumerable:!0,configurable:!0,writable:!0}):k[O]=V,k}({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(K,z){if(K instanceof R)C(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"insertBefore",this).call(this,K,z);else{var H=null==z?this.length():z.offset(this),x=this.split(H);x.parent.insertBefore(K,x)}}},{key:"optimize",value:function(K){C(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"optimize",this).call(this,K);var z=this.next;null!=z&&z.prev===this&&z.statics.blotName===this.statics.blotName&&z.domNode.tagName===this.domNode.tagName&&z.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(z.moveChildren(this),z.remove())}},{key:"replace",value:function(K){if(K.statics.blotName!==this.statics.blotName){var z=E.default.create(this.statics.defaultChild);K.moveChildren(z),this.appendChild(z)}C(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"replace",this).call(this,K)}}]),O}(u.default);P.blotName="list",P.scope=E.default.Scope.BLOCK_BLOT,P.tagName=["OL","UL"],P.defaultChild="list-item",P.allowedChildren=[R],f.ListItem=R,f.default=P},function(_,f,c){"use strict";
1Object.defineProperty(f,"__esModule",{value:!0});var h=function(u){function v(){return function E(u,v){if(!(u instanceof v))throw new TypeError("Cannot call a class as a function")}(this,v),function T(u,v){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!v||"object"!=typeof v&&"function"!=typeof v?u:v}(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return function s(u,v){if("function"!=typeof v&&null!==v)throw new TypeError("Super expression must either be null or a function, not "+typeof v);u.prototype=Object.create(v&&v.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(u,v):u.__proto__=v)}(v,u),v}(function a(u){return u&&u.__esModule?u:{default:u}}(c(56)).default);h.blotName="italic",h.tagName=["EM","I"],f.default=h},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=function(){function g(y,p){for(var b=0;b<p.length;b++){var R=p[b];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(y,R.key,R)}}return function(y,p,b){return p&&g(y.prototype,p),b&&g(y,b),y}}(),C=function g(y,p,b){null===y&&(y=Function.prototype);var R=Object.getOwnPropertyDescriptor(y,p);if(void 0===R){var P=Object.getPrototypeOf(y);return null===P?void 0:g(P,p,b)}if("value"in R)return R.value;var k=R.get;return void 0===k?void 0:k.call(b)};var v=function(g){function y(){return function s(g,y){if(!(g instanceof y))throw new TypeError("Cannot call a class as a function")}(this,y),function h(g,y){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!y||"object"!=typeof y&&"function"!=typeof y?g:y}(this,(y.__proto__||Object.getPrototypeOf(y)).apply(this,arguments))}return function u(g,y){if("function"!=typeof y&&null!==y)throw new TypeError("Super expression must either be null or a function, not "+typeof y);g.prototype=Object.create(y&&y.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(g,y):g.__proto__=y)}(y,g),o(y,null,[{key:"create",value:function(b){return"super"===b?document.createElement("sup"):"sub"===b?document.createElement("sub"):C(y.__proto__||Object.getPrototypeOf(y),"create",this).call(this,b)}},{key:"formats",value:function(b){return"SUB"===b.tagName?"sub":"SUP"===b.tagName?"super":void 0}}]),y}(function T(g){return g&&g.__esModule?g:{default:g}}(c(6)).default);v.blotName="script",v.tagName=["SUB","SUP"],f.default=v},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var h=function(u){function v(){return function E(u,v){if(!(u instanceof v))throw new TypeError("Cannot call a class as a function")}(this,v),function T(u,v){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!v||"object"!=typeof v&&"function"!=typeof v?u:v}(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return function s(u,v){if("function"!=typeof v&&null!==v)throw new TypeError("Super expression must either be null or a function, not "+typeof v);u.prototype=Object.create(v&&v.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(u,v):u.__proto__=v)}(v,u),v}(function a(u){return u&&u.__esModule?u:{default:u}}(c(6)).default);h.blotName="strike",h.tagName="S",f.default=h},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var h=function(u){function v(){return function E(u,v){if(!(u instanceof v))throw new TypeError("Cannot call a class as a function")}(this,v),function T(u,v){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!v||"object"!=typeof v&&"function"!=typeof v?u:v}(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return function s(u,v){if("function"!=typeof v&&null!==v)throw new TypeError("Super expression must either be null or a function, not "+typeof v);u.prototype=Object.create(v&&v.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(u,v):u.__proto__=v)}(v,u),v}
vendor: 9,879 bytes, line 1
1(function a(u){return u&&u.__esModule?u:{default:u}}(c(6)).default);h.blotName="underline",h.tagName="U",f.default=h},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=function(){function p(b,R){for(var P=0;P<R.length;P++){var k=R[P];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}return function(b,R,P){return R&&p(b.prototype,R),P&&p(b,P),b}}(),C=function p(b,R,P){null===b&&(b=Function.prototype);var k=Object.getOwnPropertyDescriptor(b,R);if(void 0===k){var O=Object.getPrototypeOf(b);return null===O?void 0:p(O,R,P)}if("value"in k)return k.value;var V=k.get;return void 0===V?void 0:V.call(P)},E=function s(p){return p&&p.__esModule?p:{default:p}}(c(0)),T=c(27);var g=["alt","height","width"],y=function(p){function b(){return function h(p,b){if(!(p instanceof b))throw new TypeError("Cannot call a class as a function")}(this,b),function u(p,b){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?p:b}(this,(b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments))}return function v(p,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);p.prototype=Object.create(b&&b.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(p,b):p.__proto__=b)}(b,p),o(b,[{key:"format",value:function(P,k){g.indexOf(P)>-1?k?this.domNode.setAttribute(P,k):this.domNode.removeAttribute(P):C(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"format",this).call(this,P,k)}}],[{key:"create",value:function(P){var k=C(b.__proto__||Object.getPrototypeOf(b),"create",this).call(this,P);return"string"==typeof P&&k.setAttribute("src",this.sanitize(P)),k}},{key:"formats",value:function(P){return g.reduce(function(k,O){return P.hasAttribute(O)&&(k[O]=P.getAttribute(O)),k},{})}},{key:"match",value:function(P){return/\.(jpe?g|gif|png)$/.test(P)||/^data:image\/.+;base64/.test(P)}},{key:"sanitize",value:function(P){return(0,T.sanitize)(P,["http","https","data"])?P:"//:0"}},{key:"value",value:function(P){return P.getAttribute("src")}}]),b}(E.default.Embed);y.blotName="image",y.tagName="IMG",f.default=y},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0});var o=function(){function p(b,R){for(var P=0;P<R.length;P++){var k=R[P];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}return function(b,R,P){return R&&p(b.prototype,R),P&&p(b,P),b}}(),C=function p(b,R,P){null===b&&(b=Function.prototype);var k=Object.getOwnPropertyDescriptor(b,R);if(void 0===k){var O=Object.getPrototypeOf(b);return null===O?void 0:p(O,R,P)}if("value"in k)return k.value;var V=k.get;return void 0===V?void 0:V.call(P)},a=c(4),T=function s(p){return p&&p.__esModule?p:{default:p}}(c(27));var g=["height","width"],y=function(p){function b(){return function h(p,b){if(!(p instanceof b))throw new TypeError("Cannot call a class as a function")}(this,b),function u(p,b){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!b||"object"!=typeof b&&"function"!=typeof b?p:b}(this,(b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments))}return function v(p,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);p.prototype=Object.create(b&&b.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(p,b):p.__proto__=b)}(b,p),o(b,[{key:"format",value:function(P,k){g.indexOf(P)>-1?k?this.domNode.setAttribute(P,k):this.domNode.removeAttribute(P):C(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"format",this).call(this,P,k)}}],[{key:"create",value:function(P){var k=C(b.__proto__||Object.getPrototypeOf(b),"create",this).call(this,P);return k.setAttribute("frameborder","0"),k.setAttribute("allowfullscreen",!0),k.setAttribute("src",this.sanitize(P)),k}},{key:"formats",value:function(P){return g.reduce(function(k,O){return P.hasAttribute(O)&&(k[O]=P.getAttribute(O)),k},{})}},{key:"sanitize",value:function(P){return T.default.sanitize(P)}},{key:"value",value:function(P){return P.getAttribute("src")}}]),b}(a.BlockEmbed);y.blotName="video",y.className="ql-video",y.tagName="IFRAME",f.default=y},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=f.FormulaBlot=void 0;var o=function(){function P(k,O){for(var V=0;V<O.length;V++){var K=O[V];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(k,K.key,K)}}return function(k,O,V){return O&&P(k.prototype,O),V&&P(k,V),k}}(),C=function P(k,O,V){null===k&&(k=Function.prototype);var K=Object.getOwnPropertyDescriptor(k,O);if(void 0===K){var z=Object.getPrototypeOf(k);return null===z?void 0:P(z,O,V)}if("value"in K)return K.value;var H=K.get;return void 0===H?void 0:H.call(V)},E=v(c(35)),s=v(c(5)),u=v(c(9));function v(P){return P&&P.__esModule?P:{default:P}}function g(P,k){if(!(P instanceof k))throw new TypeError("Cannot call a class as a function")}function y(P,k){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!k||"object"!=typeof k&&"function"!=typeof k?P:k}function p(P,k){if("function"!=typeof k&&null!==k)throw new TypeError("Super expression must either be null or a function, not "+typeof k);P.prototype=Object.create(k&&k.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),k&&(Object.setPrototypeOf?Object.setPrototypeOf(P,k):P.__proto__=k)}var b=function(P){function k(){return g(this,k),y(this,(k.__proto__||Object.getPrototypeOf(k)).apply(this,arguments))}return p(k,P),o(k,null,[{key:"create",value:function(V){var K=C(k.__proto__||Object.getPrototypeOf(k),"create",this).call(this,V);return"string"==typeof V&&(window.katex.render(V,K,{throwOnError:!1,errorColor:"#f00"}),K.setAttribute("data-value",V)),K}},{key:"value",value:function(V){return V.getAttribute("data-value")}}]),k}(E.default);b.blotName="formula",b.className="ql-formula",b.tagName="SPAN";var R=function(P){function k(){g(this,k);var O=y(this,(k.__proto__||Object.getPrototypeOf(k)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return O}return p(k,P),o(k,null,[{key:"register",value:function(){s.default.register(b,!0)}}]),k}(u.default);f.FormulaBlot=b,f.default=R},function(_,f,c){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.default=f.CodeToken=f.CodeBlock=void 0;var o=function(){function V(K,z){for(var H=0;H<z.length;H++){var x=z[H];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(K,x.key,x)}}return function(K,z,H){return z&&V(K.prototype,z),H&&V(K,H),K}}(),C=function V(K,z,H){null===K&&(K=Function.prototype);var x=Object.getOwnPropertyDescriptor(K,z);if(void 0===x){var q=Object.getPrototypeOf(K);return null===q?void 0:V(q,z,H)}if("value"in x)return x.value;var Z=x.get;return void 0===Z?void 0:Z.call(H)},E=y(c(0)),s=y(c(5)),u=y(c(9));function y(V){return V&&V.__esModule?V:{default:V}}function p(V,K){if(!(V instanceof K))throw new TypeError("Cannot call a class as a function")}function b(V,K){if(!V)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!K||"object"!=typeof K&&"function"!=typeof K?V:K}function R(V,K){if("function"!=typeof K&&null!==K)throw new TypeError("Super expression must either be null or a function, not "+typeof K);V.prototype=Object.create(K&&K.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),K&&(Object.setPrototypeOf?Object.setPrototypeOf(V,K):V.__proto__=K)}var P=function(V){function K(){return p(this,K),b(this,(K.__proto__||Object.getPrototypeOf(K)).apply(this,arguments))}return R(K,V),o(K,[{key:"replaceWith",value:function(H){this.domNode.textContent=this.domNode.textContent,this.attach(),C(K.prototype.__proto__||Object.getPrototypeOf(K.prototype),"replaceWith",this).call(this,H)}},{key:"highlight",value:function(H){var x=this.domNode.textContent;this.cachedText!==x&&((x.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=H(x),this.domNode.normalize(),this.attach()),this.cachedText=x)}}]),K}(y(c(13)).default);P.className="ql-syntax";var k=new E.default.Attributor.Class("token","hljs",{scope:E.default.Scope.INLINE}),O=function(V){function K(z,H){p(this,K);var x=b(this,(K.__proto__||Object.getPrototypeOf(K)).call(this,z,H));if("function"!=typeof x.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var q=null;return x.quill.on(s.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(q),q=setTimeout(function(){x.highlight(),q=null},x.options.interval)}),x.highlight(),x}return R(K,V),o(K,null,[{key:"register",value:function(){s.default.register(k,!0),s.default.register(P,!0)}}]),o(K,[{key:"highlight",value:function(){var H=this;if(!this.quill.selection.composing){this.quill.update(s.default.sources.USER);var x=this.quill.getSelection();this.quill.scroll.descendants(P).forEach(function(q){q.highlight(H.options.highlight)}),this.quill.update(s.default.sources.SILENT),null!=x&&this.quill.setSelection(x,s.default.sources.SILENT)}}}]),K}(u.default);O.DEFAULTS={highlight:null==window.hljs?null:function(V){return window.hljs.highlightAuto(V).value},interval:1e3},f.CodeBlock=P,f.CodeToken=k,f.default=O},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18">
1 <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(_,f){_.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.
1177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(_,f){_.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(_,f){_.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(_,f){_.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(_,f){_.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(_,f,c){"use strict";
1Object.defineProperty(f,"__esModule",{value:!0}),f.default=f.BubbleTooltip=void 0;var o=function K(z,H,x){null===z&&(z=Function.prototype);var q=Object.getOwnPropertyDescriptor(z,H);if(void 0===q){var Z=Object.getPrototypeOf(z);return null===Z?void 0:K(Z,H,x)}if("value"in q)return q.value;var de=q.get;return void 0===de?void 0:de.call(x)},C=function(){function K(z,H){for(var x=0;x<H.length;x++){var q=H[x];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(z,q.key,q)}}return function(z,H,x){return H&&K(z.prototype,H),x&&K(z,x),z}}(),E=p(c(3)),s=p(c(8)),h=c(43),u=p(h),v=c(15),y=p(c(41));function p(K){return K&&K.__esModule?K:{default:K}}function b(K,z){if(!(K instanceof z))throw new TypeError("Cannot call a class as a function")}function R(K,z){if(!K)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!z||"object"!=typeof z&&"function"!=typeof z?K:z}function P(K,z){if("function"!=typeof z&&null!==z)throw new TypeError("Super expression must either be null or a function, not "+typeof z);K.prototype=Object.create(z&&z.prototype,{constructor:{value:K,enumerable:!1,writable:!0,configurable:!0}}),z&&(Object.setPrototypeOf?Object.setPrototypeOf(K,z):K.__proto__=z)}var k=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],O=function(K){function z(H,x){b(this,z),null!=x.modules.toolbar&&null==x.modules.toolbar.container&&(x.modules.toolbar.container=k);var q=R(this,(z.__proto__||Object.getPrototypeOf(z)).call(this,H,x));return q.quill.container.classList.add("ql-bubble"),q}return P(z,K),C(z,[{key:"extendToolbar",value:function(x){this.tooltip=new V(this.quill,this.options.bounds),this.tooltip.root.appendChild(x.container),this.buildButtons([].slice.call(x.container.querySelectorAll("button")),y.default),this.buildPickers([].slice.call(x.container.querySelectorAll("select")),y.default)}}]),z}(u.default);O.DEFAULTS=(0,E.default)(!0,{},u.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(z){z?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var V=function(K){function z(H,x){b(this,z);var q=R(this,(z.__proto__||Object.getPrototypeOf(z)).call(this,H,x));return q.quill.on(s.default.events.EDITOR_CHANGE,function(Z,de,ee,Y){if(Z===s.default.events.SELECTION_CHANGE)if(null!=de&&de.length>0&&Y===s.default.sources.USER){q.show(),q.root.style.left="0px",q.root.style.width="",q.root.style.width=q.root.offsetWidth+"px";var ae=q.quill.getLines(de.index,de.length);if(1===ae.length)q.position(q.quill.getBounds(de));else{var fe=ae[ae.length-1],ne=q.quill.getIndex(fe),ce=Math.min(fe.length()-1,de.index+de.length-ne),me=q.quill.getBounds(new v.Range(ne,ce));q.position(me)}}else document.activeElement!==q.textbox&&q.quill.hasFocus()&&q.hide()}),q}return P(z,K),C(z,[{key:"listen",value:function(){var x=this;o(z.prototype.__proto__||Object.getPrototypeOf(z.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){x.root.classList.remove("ql-editing")}),this.quill.on(s.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!x.root.classList.contains("ql-hidden")){var q=x.quill.getSelection();null!=q&&x.position(x.quill.getBounds(q))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(x){var q=o(z.prototype.__proto__||Object.getPrototypeOf(z.prototype),"position",this).call(this,x),Z=this.root.querySelector(".ql-tooltip-arrow");if(Z.style.marginLeft="",0===q)return q;Z.style.marginLeft=-1*q-Z.offsetWidth/2+"px"}}]),z}(h.BaseTooltip);V.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),f.BubbleTooltip=V,f.default=O},function(_,f,c){_.exports=c(63)}]).default},34864:(ge,_)=>{"use strict";var c,M;function o(M,N){if(!M)throw"First parameter is required.";N=new C(M,N=N||{type:"video"});var G=this;function ve(rt){rt&&(N.initCallback=function(){rt(),rt=N.initCallback=null});var mt=new a(M,N);(lt=new mt(M,N)).record(),It("recording"),N.disableLogs||console.log("Initialized recorderType:",lt.constructor.name,"for output-type:",N.type)}function we(rt){if(rt=rt||function(){},lt){if("paused"===G.state)return G.resumeRecording(),void setTimeout(function(){we(rt)},1);"recording"!==G.state&&!N.disableLogs&&console.warn('Recording state should be: "recording", however current state is: ',G.state),N.disableLogs||console.log("Stopped recording "+N.type+" stream."),"gif"!==N.type?lt.stop(mt):(lt.stop(),mt()),It("stopped")}else St();function mt(Mt){if(lt){Object.keys(lt).forEach(function($n){"function"!=typeof lt[$n]&&(G[$n]=lt[$n])});var Vt=lt.blob;if(!Vt){if(!Mt)throw"Recording failed.";lt.blob=Vt=Mt}if(Vt&&!N.disableLogs&&console.log(Vt.type,"->",O(Vt.size)),rt){var Lt;try{Lt=g.createObjectURL(Vt)}catch{}"function"==typeof rt.call?rt.call(G,Lt):rt(Lt)}N.autoWriteToDisk&&Pt(function($n){var Tn={};Tn[N.type+"Blob"]=$n,ne.Store(Tn)})}else"function"==typeof rt.call?rt.call(G,""):rt("")}}function at(rt){postMessage((new FileReaderSync).readAsDataURL(rt))}function Pt(rt,mt){if(!rt)throw"Pass a callback function over getDataURL.";var Mt=mt?mt.blob:(lt||{}).blob;if(!Mt)return N.disableLogs||console.warn("Blob encoder did not finish its job yet."),void setTimeout(function(){Pt(rt,mt)},1e3);if(typeof Worker<"u"&&!navigator.mozGetUserMedia){var Vt=function $n(Tn){try{var An=g.createObjectURL(new Blob([Tn.toString(),"this.onmessage = function (eee) {"+Tn.name+"(eee.data);}"],{type:"application/javascript"})),jn=new Worker(An);return g.revokeObjectURL(An),jn}catch{}}(at);Vt.onmessage=function(Tn){rt(Tn.data)},Vt.postMessage(Mt)}else{var Lt=new FileReader;
1Lt.readAsDataURL(Mt),Lt.onload=function(Tn){rt(Tn.target.result)}}}function At(rt){if(rt=rt||0,"paused"!==G.state){if("stopped"!==G.state){if(rt>=G.recordingDuration)return void we(G.onRecordingStopped);rt+=1e3,setTimeout(function(){At(rt)},1e3)}}else setTimeout(function(){At(rt)},1e3)}function It(rt){G&&(G.state=rt,"function"==typeof G.onStateChanged.call?G.onStateChanged.call(G,rt):G.onStateChanged(rt))}var qt='It seems that recorder is destroyed or "startRecording" is not invoked for '+N.type+" recorder.";function St(){!0!==N.disableLogs&&console.warn(qt)}var lt,yt={startRecording:function ue(rt){return N.disableLogs||console.log("RecordRTC version: ",G.version),rt&&(N=new C(M,rt)),N.disableLogs||console.log("started recording "+N.type+" stream."),lt?(lt.clearRecordedData(),lt.record(),It("recording"),G.recordingDuration&&At(),G):(ve(function(){G.recordingDuration&&At()}),G)},stopRecording:we,pauseRecording:function Re(){lt?"recording"===G.state?(It("paused"),lt.pause(),N.disableLogs||console.log("Paused recording.")):N.disableLogs||console.warn("Unable to pause the recording. Recording state: ",G.state):St()},resumeRecording:function et(){lt?"paused"===G.state?(It("recording"),lt.resume(),N.disableLogs||console.log("Resumed recording.")):N.disableLogs||console.warn("Unable to resume the recording. Recording state: ",G.state):St()},initRecorder:ve,setRecordingDuration:function(rt,mt){if(typeof rt>"u")throw"recordingDuration is required.";if("number"!=typeof rt)throw"recordingDuration must be a number.";return G.recordingDuration=rt,G.onRecordingStopped=mt||function(){},{onRecordingStopped:function(Mt){G.onRecordingStopped=Mt}}},clearRecordedData:function(){lt?(lt.clearRecordedData(),N.disableLogs||console.log("Cleared old recorded data.")):St()},getBlob:function(){if(lt)return lt.blob;St()},getDataURL:Pt,toURL:function(){if(lt)return g.createObjectURL(lt.blob);St()},getInternalRecorder:function(){return lt},save:function(rt){lt?V(lt.blob,rt):St()},getFromDisk:function(rt){lt?o.getFromDisk(N.type,rt):St()},setAdvertisementArray:function(rt){N.advertisement=[];for(var mt=rt.length,Mt=0;Mt<mt;Mt++)N.advertisement.push({duration:Mt,image:rt[Mt]})},blob:null,bufferSize:0,sampleRate:0,buffer:null,reset:function(){"recording"===G.state&&!N.disableLogs&&console.warn("Stop an active recorder."),lt&&"function"==typeof lt.clearRecordedData&<.clearRecordedData(),lt=null,It("inactive"),G.blob=null},onStateChanged:function(rt){N.disableLogs||console.log("Recorder state changed:",rt)},state:"inactive",getState:function(){return G.state},destroy:function(){var rt=N.disableLogs;N={disableLogs:!0},G.reset(),It("destroyed"),yt=G=null,q.AudioContextConstructor&&(q.AudioContextConstructor.close(),q.AudioContextConstructor=null),N.disableLogs=rt,N.disableLogs||console.log("RecordRTC is destroyed.")},version:"5.6.2"};if(!this)return G=yt,yt;for(var Ft in yt)this[Ft]=yt[Ft];return G=this,yt}function C(M,N){return!N.recorderType&&!N.type&&(N.audio&&N.video?N.type="video":N.audio&&!N.video&&(N.type="audio")),N.recorderType&&!N.type&&(N.recorderType===ae||N.recorderType===Y||N.recorderType===X?N.type="video":N.recorderType===ce?N.type="gif":N.recorderType===ee?N.type="audio":N.recorderType===de&&(z(M,"audio").length&&z(M,"video").length||!z(M,"audio").length&&z(M,"video").length?N.type="video":z(M,"audio").length&&!z(M,"video").length&&(N.type="audio"))),typeof MediaRecorder<"u"&&"requestData"in MediaRecorder.prototype&&(N.mimeType||(N.mimeType="video/webm"),N.type||(N.type=N.mimeType.split("/")[0])),N.type||(N.mimeType&&(N.type=N.mimeType.split("/")[0]),N.type||(N.type="audio")),N}function a(M,N){var G;return(R||y||p)&&(G=ee),typeof MediaRecorder<"u"&&"requestData"in MediaRecorder.prototype&&!R&&(G=de),"video"===N.type&&(R||p)&&(G=ae,typeof ReadableStream<"u"&&(G=X)),"gif"===N.type&&(G=ce),"canvas"===N.type&&(G=Y),Z()&&G!==Y&&G!==ce&&typeof MediaRecorder<"u"&&"requestData"in MediaRecorder.prototype&&(z(M,"video").length||z(M,"audio").length)&&("audio"===N.type?"function"==typeof MediaRecorder.isTypeSupported&&MediaRecorder.isTypeSupported("audio/webm")&&(G=de):"function"==typeof MediaRecorder.isTypeSupp
1orted&&MediaRecorder.isTypeSupported("video/webm")&&(G=de)),M instanceof Array&&M.length&&(G=re),N.recorderType&&(G=N.recorderType),!N.disableLogs&&G&&G.name&&console.log("Using recorderType:",G.name||G.constructor.name),!G&&P&&(G=de),G}function E(M){this.addStream=function(N){N&&(M=N)},this.mediaType={audio:!0,video:!0},this.startRecording=function(){var G,N=this.mediaType,ue=this.mimeType||{audio:null,video:null,gif:null};if("function"!=typeof N.audio&&Z()&&!z(M,"audio").length&&(N.audio=!1),"function"!=typeof N.video&&Z()&&!z(M,"video").length&&(N.video=!1),"function"!=typeof N.gif&&Z()&&!z(M,"video").length&&(N.gif=!1),!N.audio&&!N.video&&!N.gif)throw"MediaStream must have either audio or video tracks.";if(N.audio&&(G=null,"function"==typeof N.audio&&(G=N.audio),this.audioRecorder=new o(M,{type:"audio",bufferSize:this.bufferSize,sampleRate:this.sampleRate,numberOfAudioChannels:this.numberOfAudioChannels||2,disableLogs:this.disableLogs,recorderType:G,mimeType:ue.audio,timeSlice:this.timeSlice,onTimeStamp:this.onTimeStamp}),N.video||this.audioRecorder.startRecording()),N.video){G=null,"function"==typeof N.video&&(G=N.video);var ve=M;if(Z()&&N.audio&&"function"==typeof N.audio){var we=z(M,"video")[0];b?((ve=new k).addTrack(we),G&&G===ae&&(G=de)):(ve=new k).addTrack(we)}this.videoRecorder=new o(ve,{type:"video",video:this.video,canvas:this.canvas,frameInterval:this.frameInterval||10,disableLogs:this.disableLogs,recorderType:G,mimeType:ue.video,timeSlice:this.timeSlice,onTimeStamp:this.onTimeStamp,workerPath:this.workerPath,webAssemblyPath:this.webAssemblyPath,frameRate:this.frameRate,bitrate:this.bitrate}),N.audio||this.videoRecorder.startRecording()}if(N.audio&&N.video){var Re=this,et=!0===Z();(N.audio instanceof ee&&N.video||!0!==N.audio&&!0!==N.video&&N.audio!==N.video)&&(et=!1),!0===et?(Re.audioRecorder=null,Re.videoRecorder.startRecording()):Re.videoRecorder.initRecorder(function(){Re.audioRecorder.initRecorder(function(){Re.videoRecorder.startRecording(),Re.audioRecorder.startRecording()})})}N.gif&&(G=null,"function"==typeof N.gif&&(G=N.gif),this.gifRecorder=new o(M,{type:"gif",frameRate:this.frameRate||200,quality:this.quality||10,disableLogs:this.disableLogs,recorderType:G,mimeType:ue.gif}),this.gifRecorder.startRecording())},this.stopRecording=function(N){N=N||function(){},this.audioRecorder&&this.audioRecorder.stopRecording(function(G){N(G,"audio")}),this.videoRecorder&&this.videoRecorder.stopRecording(function(G){N(G,"video")}),this.gifRecorder&&this.gifRecorder.stopRecording(function(G){N(G,"gif")})},this.pauseRecording=function(){this.audioRecorder&&this.audioRecorder.pauseRecording(),this.videoRecorder&&this.videoRecorder.pauseRecording(),this.gifRecorder&&this.gifRecorder.pauseRecording()},this.resumeRecording=function(){this.audioRecorder&&this.audioRecorder.resumeRecording(),this.videoRecorder&&this.videoRecorder.resumeRecording(),this.gifRecorder&&this.gifRecorder.resumeRecording()},this.getBlob=function(N){var G={};return this.audioRecorder&&(G.audio=this.audioRecorder.getBlob()),this.videoRecorder&&(G.video=this.videoRecorder.getBlob()),this.gifRecorder&&(G.gif=this.gifRecorder.getBlob()),N&&N(G),G},this.destroy=function(){this.audioRecorder&&(this.audioRecorder.destroy(),this.audioRecorder=null),this.videoRecorder&&(this.videoRecorder.destroy(),this.videoRecorder=null),this.gifRecorder&&(this.gifRecorder.destroy(),this.gifRecorder=null)},this.getDataURL=function(N){function G(ve,we){if(typeof Worker<"u"){var Re=function ue(ve){var et,we=g.createObjectURL(new Blob([ve.toString(),"this.onmessage = function (eee) {"+ve.name+"(eee.data);}"],{type:"application/javascript"})),Re=new Worker(we);if(typeof g<"u")et=g;else{if(!(typeof webkitURL<"u"))throw"Neither URL nor webkitURL detected.";et=webkitURL}return et.revokeObjectURL(we),Re}(function(Pt){postMessage((new FileReaderSync).readAsDataURL(Pt))});Re.onmessage=function(at){we(at.data)},Re.postMessage(ve)}else{var et=new FileReader;et.readAsDataURL(ve),et.onload=function(at){we(at.target.result)}}}this.getBlob(function(ve){ve.audio&&ve.video?G(ve.audio,function(we){G(ve.video,function(Re){N({audio:we,video:Re})})}):ve.audio?G(ve.audio,function(we){N({audio:we})}):ve.video&&G(ve.video,function(we){N({video:we})})})},this.writeToDisk=function(){o.writeToDisk({audio:this.audioRecorder,video:this.videoRecorder,gif:this.gifRecorder})},this.save=function(N){(N=N||{audio:!0,video:!0,gif:!0}).audio&&this.audioRecorder&&this.audioRecorder.save("string"==typeof N.audio?N.audio:""),N.video&&this.videoRecorder&&this.videoRecorder.save("string"==typeof N.video?N.video:""),N.gif&&this.gifRecorder&&this.gifRecorder.save("string"==typeof N.gif?N.gif:"")}}o.version="5.6.2",ge.exports=o,void 0!==(c=function(){return o}
1.apply(_,[]))&&(ge.exports=c),o.getFromDisk=function(M,N){if(!N)throw"callback is mandatory.";console.log("Getting recorded "+("all"===M?"blobs":M+" blob ")+" from disk!"),ne.Fetch(function(G,ue){"all"!==M&&ue===M+"Blob"&&N&&N(G),"all"===M&&N&&N(G,ue.replace("Blob",""))})},o.writeToDisk=function(M){console.log("Writing recorded blob(s) to disk!"),(M=M||{}).audio&&M.video&&M.gif?M.audio.getDataURL(function(N){M.video.getDataURL(function(G){M.gif.getDataURL(function(ue){ne.Store({audioBlob:N,videoBlob:G,gifBlob:ue})})})}):M.audio&&M.video?M.audio.getDataURL(function(N){M.video.getDataURL(function(G){ne.Store({audioBlob:N,videoBlob:G})})}):M.audio&&M.gif?M.audio.getDataURL(function(N){M.gif.getDataURL(function(G){ne.Store({audioBlob:N,gifBlob:G})})}):M.video&&M.gif?M.video.getDataURL(function(N){M.gif.getDataURL(function(G){ne.Store({videoBlob:N,gifBlob:G})})}):M.audio?M.audio.getDataURL(function(N){ne.Store({audioBlob:N})}):M.video?M.video.getDataURL(function(N){ne.Store({videoBlob:N})}):M.gif&&M.gif.getDataURL(function(N){ne.Store({gifBlob:N})})},E.getFromDisk=o.getFromDisk,E.writeToDisk=o.writeToDisk,o.MRecordRTC=E,(M=typeof global<"u"?global:null)&&(typeof window<"u"||typeof global>"u"||(global.navigator={userAgent:"Fake/5.0 (FakeOS) AppleWebKit/123 (KHTML, like Gecko) Fake/12.3.4567.89 Fake/123.45",getUserMedia:function(){}},global.console||(global.console={}),(typeof global.console.log>"u"||typeof global.console.error>"u")&&(global.console.error=global.console.log=global.console.log||function(){console.log(arguments)}),typeof document>"u"&&(M.document={documentElement:{appendChild:function(){return""}}},document.createElement=document.captureStream=document.mozCaptureStream=function(){var N={getContext:function(){return N},play:function(){},pause:function(){},drawImage:function(){},toDataURL:function(){return""},style:{}};return N},M.HTMLVideoElement=function(){}),typeof location>"u"&&(M.location={protocol:"file:",href:"",hash:""}),typeof screen>"u"&&(M.screen={width:0,height:0}),typeof g>"u"&&(M.URL={createObjectURL:function(){return""},revokeObjectURL:function(){return""}}),M.window=global));var s=window.requestAnimationFrame;if(typeof s>"u")if(typeof webkitRequestAnimationFrame<"u")s=webkitRequestAnimationFrame;else if(typeof mozRequestAnimationFrame<"u")s=mozRequestAnimationFrame;else if(typeof msRequestAnimationFrame<"u")s=msRequestAnimationFrame;else if(typeof s>"u"){var h=0;s=function(M,N){var G=(new Date).getTime(),ue=Math.max(0,16-(G-h)),ve=setTimeout(function(){M(G+ue)},ue);return h=G+ue,ve}}var u=window.cancelAnimationFrame;typeof u>"u"&&(typeof webkitCancelAnimationFrame<"u"?u=webkitCancelAnimationFrame:typeof mozCancelAnimationFrame<"u"?u=mozCancelAnimationFrame:typeof msCancelAnimationFrame<"u"?u=msCancelAnimationFrame:typeof u>"u"&&(u=function(M){clearTimeout(M)}));var v=window.AudioContext;typeof v>"u"&&(typeof webkitAudioContext<"u"&&(v=webkitAudioContext),typeof mozAudioContext<"u"&&(v=mozAudioContext));var g=window.URL;typeof g>"u"&&typeof webkitURL<"u"&&(g=webkitURL),typeof navigator<"u"&&typeof navigator.getUserMedia>"u"&&(typeof navigator.webkitGetUserMedia<"u"&&(navigator.getUserMedia=navigator.webkitGetUserMedia),typeof navigator.mozGetUserMedia<"u"&&(navigator.getUserMedia=navigator.mozGetUserMedia));var y=!(-1===navigator.userAgent.indexOf("Edge")||!navigator.msSaveBlob&&!navigator.msSaveOrOpenBlob),p=!!window.opera||-1!==navigator.userAgent.indexOf("OPR/"),b=navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&"netscape"in window&&/ rv:/.test(navigator.userAgent),R=!p&&!y&&!!navigator.webkitGetUserMedia||K()||-1!==navigator.userAgent.toLowerCase().indexOf("chrome/"),P=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);P&&!R&&-1!==navigator.userAgent.indexOf("CriOS")&&(P=!1,R=!0);var k=window.MediaStream;function O(M){if(0===M)return"0 Bytes";var ue=parseInt(Math.floor(Math.log(M)/Math.log(1e3)),10);return(M/Math.pow(1e3,ue)).toPrecision(3)+" "+["Bytes","KB","MB","GB","TB"][ue]}function V(M,N){if(!M)throw"Blob object is required.";if(!M.type)try{M.type="video/webm"}catch{}var G=(M.type||"video/webm").split("/")[1];if(-1!==G.indexOf(";")&&(G=G.split(";")[0]),N&&-1!==N.indexOf(".")){var ue=N.split(".");N=ue[0],G=ue[1]}var ve=(N||Math.round(9999999999*Math.random())+888888888)+"."+G;if(typeof navigator.msSaveOrOpenBlob<"u")return navigator.msSaveOrOpenBlob(M,ve);if(typeof navigator.msSaveBlob<"u")return navigator.msSaveBlob(M,ve);var we=document.createElement("a");
1we.href=g.createObjectURL(M),we.download=ve,we.style="display:none;opacity:0;color:transparent;",(document.body||document.documentElement).appendChild(we),"function"==typeof we.click?we.click():(we.target="_blank",we.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))),g.revokeObjectURL(we.href)}function K(){return!!(typeof window<"u"&&"object"==typeof window.process&&"renderer"===window.process.type||typeof process<"u"&&"object"==typeof process.versions&&process.versions.electron||"object"==typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Electron")>=0)}function z(M,N){return M&&M.getTracks?M.getTracks().filter(function(G){return G.kind===(N||"audio")}):[]}function H(M,N){"srcObject"in N?N.srcObject=M:"mozSrcObject"in N?N.mozSrcObject=M:N.srcObject=M}typeof k>"u"&&typeof webkitMediaStream<"u"&&(k=webkitMediaStream),typeof k<"u"&&typeof k.prototype.stop>"u"&&(k.prototype.stop=function(){this.getTracks().forEach(function(M){M.stop()})}),o.invokeSaveAsDialog=V,o.getTracks=z,o.getSeekableBlob=function x(M,N){if(typeof EBML>"u")throw new Error("Please link: https://www.webrtc-experiment.com/EBML.js");var G=new EBML.Reader,ue=new EBML.Decoder,ve=EBML.tools,we=new FileReader;we.onload=function(Re){ue.decode(this.result).forEach(function(It){G.read(It)}),G.stop();var at=ve.makeMetadataSeekable(G.metadatas,G.duration,G.cues),Pt=this.result.slice(G.metadataSize),At=new Blob([at,Pt],{type:"video/webm"});N(At)},we.readAsArrayBuffer(M)},o.bytesToSize=O,o.isElectron=K;var q={};function Z(){if(b||P||y)return!0;navigator;var we,Re,N=navigator.userAgent,G=""+parseFloat(navigator.appVersion),ue=parseInt(navigator.appVersion,10);return(R||p)&&(we=N.indexOf("Chrome"),G=N.substring(we+7)),-1!==(Re=G.indexOf(";"))&&(G=G.substring(0,Re)),-1!==(Re=G.indexOf(" "))&&(G=G.substring(0,Re)),ue=parseInt(""+G,10),isNaN(ue)&&(G=""+parseFloat(navigator.appVersion),ue=parseInt(navigator.appVersion,10)),ue>=49}function de(M,N){var G,At=this;if(typeof M>"u")throw'First argument "MediaStream" is required.';if(typeof MediaRecorder>"u")throw"Your browser does not support the Media Recorder API. Please try other modules e.g. WhammyRecorder or StereoAudioRecorder.";"audio"===(N=N||{mimeType:"video/webm"}).type&&(z(M,"video").length&&z(M,"audio").length&&(navigator.mozGetUserMedia?(G=new k).addTrack(z(M,"audio")[0]):G=new k(z(M,"audio")),M=G),(!N.mimeType||-1===N.mimeType.toString().toLowerCase().indexOf("audio"))&&(N.mimeType=R?"audio/webm":"audio/ogg"),N.mimeType&&"audio/ogg"!==N.mimeType.toString().toLowerCase()&&navigator.mozGetUserMedia&&(N.mimeType="audio/ogg"));var et,ue=[];function ve(){At.timestamps.push((new Date).getTime()),"function"==typeof N.onTimeStamp&&N.onTimeStamp(At.timestamps[At.timestamps.length-1],At.timestamps)}function we(It){return et&&et.mimeType?et.mimeType:It.mimeType||"video/webm"}function Re(){ue=[],et=null,At.timestamps=[]}this.getArrayOfBlobs=function(){return ue},this.record=function(){At.blob=null,At.clearRecordedData(),At.timestamps=[],Pt=[],ue=[];var It=N;N.disableLogs||console.log("Passing following config over MediaRecorder API.",It),et&&(et=null),R&&!Z()&&(It="video/vp8"),"function"==typeof MediaRecorder.isTypeSupported&&It.mimeType&&(MediaRecorder.isTypeSupported(It.mimeType)||(N.disableLogs||console.warn("MediaRecorder API seems unable to record mimeType:",It.mimeType),It.mimeType="audio"===N.type?"audio/webm":"video/webm"));try{et=new MediaRecorder(M,It),N.mimeType=It.mimeType}catch{et=new MediaRecorder(M)}It.mimeType&&!MediaRecorder.isTypeSupported&&"canRecordMimeType"in et&&!1===et.canRecordMimeType(It.mimeType)&&(N.disableLogs||console.warn("MediaRecorder API seems unable to record mimeType:",It.mimeType)),et.ondataavailable=function(qt){if(qt.data&&Pt.push("ondataavailable: "+O(qt.data.size)),"number"!=typeof N.timeSlice)!qt.data||!qt.data.size||qt.data.size<100||At.blob?At.recordingCallback&&(At.recordingCallback(new Blob([],{type:we(It)})),At.recordingCallback=null):(At.blob=N.getNativeBlob?qt.data:new Blob([qt.data],{type:we(It)}),At.recordingCallback&&(At.recordingCallback(At.blob),At.recordingCallback=null));else if(qt.data&&qt.data.size&&(ue.push(qt.data),ve(),"function"==typeof N.ondataavailable)){var St=N.getNativeBlob?qt.data:new Blob([qt.data],{type:we(It)});N.ondataavailable(St)}},et.onstart=function(){Pt.push("started")},et.onpause=function(){Pt.push("paused")},et.onresume=function(){Pt.push("resumed")},et.onstop=function(){Pt.push("stopped")},et.onerror=function(qt){qt&&(qt.name||(qt.name="UnknownError"),Pt.push("error: "+qt),N.disableLogs||(-1!==qt.name.toString().toLowerCase().indexOf("invalidstate")?console.error("The MediaRecorder is not in a state in which the proposed operation is allowed to be executed.",qt):-1!==qt.name.toString().toLowerCase().indexOf("notsupported")?console.error("MIME type (",It.mimeType,") is not supported.",qt):-1!==qt.name.toString().toLowerCase().indexOf("security")?console.error("MediaRecorder security error",qt):"OutOfMemory"===qt.name?console.error("The UA has exhaused the available memory. User agents SHOULD provide as much additional information as possible in the message attribute.",qt):"IllegalStreamModification"===qt.name?console.error("A modification to the stream has occurred that makes it impossible to continue recording. An example would be the addition of a Track
1while recording is occurring. User agents SHOULD provide as much additional information as possible in the message attribute.",qt):"OtherRecordingError"===qt.name?console.error("Used for an fatal error other than those listed above. User agents SHOULD provide as much additional information as possible in the message attribute.",qt):"GenericError"===qt.name?console.error("The UA cannot provide the codec or recording option that has been requested.",qt):console.error("MediaRecorder Error",qt)),function(St){if(!At.manuallyStopped&&et&&"inactive"===et.state)return delete N.timeslice,void et.start(6e5);setTimeout(void 0,1e3)}(),"inactive"!==et.state&&"stopped"!==et.state&&et.stop())},"number"==typeof N.timeSlice?(ve(),et.start(N.timeSlice)):et.start(36e5),N.initCallback&&N.initCallback()},this.timestamps=[],this.stop=function(It){It=It||function(){},At.manuallyStopped=!0,et&&(this.recordingCallback=It,"recording"===et.state&&et.stop(),"number"==typeof N.timeSlice&&setTimeout(function(){At.blob=new Blob(ue,{type:we(N)}),At.recordingCallback(At.blob)},100))},this.pause=function(){et&&"recording"===et.state&&et.pause()},this.resume=function(){et&&"paused"===et.state&&et.resume()},this.clearRecordedData=function(){et&&"recording"===et.state&&At.stop(Re),Re()},this.getInternalRecorder=function(){return et},this.blob=null,this.getState=function(){return et&&et.state||"inactive"};var Pt=[];this.getAllStates=function(){return Pt},typeof N.checkForInactiveTracks>"u"&&(N.checkForInactiveTracks=!1),At=this,function It(){if(et&&!1!==N.checkForInactiveTracks){if(!1===function at(){if("active"in M){if(!M.active)return!1}else if("ended"in M&&M.ended)return!1;return!0}())return N.disableLogs||console.log("MediaStream seems stopped."),void At.stop();setTimeout(It,1e3)}}(),this.name="MediaStreamRecorder",this.toString=function(){return this.name}}function ee(M,N){if(!z(M,"audio").length)throw"Your stream has no audio tracks.";
1var et,G=this,ue=[],ve=[],we=!1,Re=0,at=2,Pt=(N=N||{}).desiredSampRate;function At(){if(!1===N.checkForInactiveTracks)return!0;if("active"in M){if(!M.active)return!1}else if("ended"in M&&M.ended)return!1;return!0}function It(jn,or){function br(On,sr){var Rt,ur=On.numberOfAudioChannels,tr=On.leftBuffers.slice(0),Lr=On.rightBuffers.slice(0),Br=On.sampleRate,Gr=On.internalInterleavedLength,qr=On.desiredSampRate;function _r(Cn,Kn,Xn){var nr=Math.round(Cn.length*(Kn/Xn)),fn=[],fr=Number((Cn.length-1)/(nr-1));fn[0]=Cn[0];for(var lr=1;lr<nr-1;lr++){var ar=lr*fr,ni=Number(Math.floor(ar)).toFixed(),vi=Number(Math.ceil(ar)).toFixed();fn[lr]=hr(Cn[ni],Cn[vi],ar-ni)}return fn[nr-1]=Cn[Cn.length-1],fn}function hr(Cn,Kn,Xn){return Cn+(Kn-Cn)*Xn}function Nr(Cn,Kn){for(var Xn=new Float64Array(Kn),nr=0,fn=Cn.length,fr=0;fr<fn;fr++){var lr=Cn[fr];Xn.set(lr,nr),nr+=lr.length}return Xn}function Xr(Cn,Kn,Xn){for(var nr=Xn.length,fn=0;fn<nr;fn++)Cn.setUint8(Kn+fn,Xn.charCodeAt(fn))}2===ur&&(tr=Nr(tr,Gr),Lr=Nr(Lr,Gr),qr&&(tr=_r(tr,qr,Br),Lr=_r(Lr,qr,Br))),1===ur&&(tr=Nr(tr,Gr),qr&&(tr=_r(tr,qr,Br))),qr&&(Br=qr),2===ur&&(Rt=function $r(Cn,Kn){for(var Xn=Cn.length+Kn.length,nr=new Float64Array(Xn),fn=0,fr=0;fr<Xn;)nr[fr++]=Cn[fn],nr[fr++]=Kn[fn],fn++;return nr}(tr,Lr)),1===ur&&(Rt=tr);var zt=Rt.length,ln=new ArrayBuffer(44+2*zt),Sn=new DataView(ln);Xr(Sn,0,"RIFF"),Sn.setUint32(4,36+2*zt,!0),Xr(Sn,8,"WAVE"),Xr(Sn,12,"fmt "),Sn.setUint32(16,16,!0),Sn.setUint16(20,1,!0),Sn.setUint16(22,ur,!0),Sn.setUint32(24,Br,!0),Sn.setUint32(28,Br*ur*2,!0),Sn.setUint16(32,2*ur,!0),Sn.setUint16(34,16,!0),Xr(Sn,36,"data"),Sn.setUint32(40,2*zt,!0);for(var dr=zt,En=44,bn=0;bn<dr;bn++)Sn.setInt16(En,32767*Rt[bn],!0),En+=2;if(sr)return sr({buffer:ln,view:Sn});postMessage({buffer:ln,view:Sn})}if(jn.noWorker)br(jn,function(On){or(On.buffer,On.view)});else{var Fr=function qt(jn){var or=g.createObjectURL(new Blob([jn.toString(),";this.onmessage = function (eee) {"+jn.name+"(eee.data);}"],{type:"application/javascript"})),br=new Worker(or);return br.workerURL=or,br}(br);Fr.onmessage=function(On){or(On.data.buffer,On.data.view),g.revokeObjectURL(Fr.workerURL),Fr.terminate()},Fr.postMessage(jn)}}!0===N.leftChannel&&(at=1),1===N.numberOfAudioChannels&&(at=1),(!at||at<1)&&(at=2),N.disableLogs||console.log("StereoAudioRecorder is set to record number of channels: "+at),typeof N.checkForInactiveTracks>"u"&&(N.checkForInactiveTracks=!0),this.record=function(){if(!1===At())throw"Please make sure MediaStream is active.";Mt(),Lt=mt=!1,we=!0,typeof N.timeSlice<"u"&&An()},this.stop=function(jn){jn=jn||function(){},we=!1,It({desiredSampRate:Pt,sampleRate:rt,numberOfAudioChannels:at,internalInterleavedLength:Re,leftBuffers:ue,rightBuffers:1===at?[]:ve,noWorker:N.noWorker},function(or,br){G.blob=new Blob([br],{type:"audio/wav"}),G.buffer=new ArrayBuffer(br.buffer.byteLength),G.view=br,G.sampleRate=Pt||rt,G.bufferSize=Ft,G.length=Re,Lt=!1,jn&&jn(G.blob)})},typeof o.Storage>"u"&&(o.Storage={AudioContextConstructor:null,AudioContext:window.AudioContext||window.webkitAudioContext}),(!o.Storage.AudioContextConstructor||"closed"===o.Storage.AudioContextConstructor.state)&&(o.Storage.AudioContextConstructor=new o.Storage.AudioContext);var St=o.Storage.AudioContextConstructor,lt=St.createMediaStreamSource(M),yt=[0,256,512,1024,2048,4096,8192,16384],Ft=typeof N.bufferSize>"u"?4096:N.bufferSize;if(-1===yt.indexOf(Ft)&&(N.disableLogs||console.log("Legal values for buffer-size are "+JSON.stringify(yt,null,"\t"))),St.createJavaScriptNode)et=St.createJavaScriptNode(Ft,at,at);else{if(!St.createScriptProcessor)throw"WebAudio API has no support on this browser.";et=St.createScriptProcessor(Ft,at,at)}lt.connect(et),N.bufferSize||(Ft=et.bufferSize);var rt=typeof N.sampleRate<"u"?N.sampleRate:St.sampleRate||44100;(rt<22050||rt>96e3)&&(N.disableLogs||console.log("sample-rate must be under range 22050 and 96000.")),N.disableLogs||N.desiredSampRate&&console.log("Desired sample-rate: "+N.desiredSampRate);var mt=!1;function Mt(){ve=[],Re=0,Lt=!1,we=!1,mt=!1,St=null,G.leftchannel=ue=[],G.rightchannel=ve,G.numberOfAudioChannels=at,G.desiredSampRate=Pt,G.sampleRate=rt,G.recordingLength=Re,Tn={left:[],r
1ight:[],recordingLength:0}}function Vt(){et&&(et.onaudioprocess=null,et.disconnect(),et=null),lt&&(lt.disconnect(),lt=null),Mt()}this.pause=function(){mt=!0},this.resume=function(){if(!1===At())throw"Please make sure MediaStream is active.";if(!we)return N.disableLogs||console.log("Seems recording has been restarted."),void this.record();mt=!1},this.clearRecordedData=function(){N.checkForInactiveTracks=!1,we&&this.stop(Vt),Vt()},this.name="StereoAudioRecorder",this.toString=function(){return this.name};var Lt=!1;et.onaudioprocess=function $n(jn){if(!mt){if(!1===At()&&(N.disableLogs||console.log("MediaStream seems stopped."),et.disconnect(),we=!1),!we)return void(lt&&(lt.disconnect(),lt=null));Lt||(Lt=!0,N.onAudioProcessStarted&&N.onAudioProcessStarted(),N.initCallback&&N.initCallback());var or=jn.inputBuffer.getChannelData(0),br=new Float32Array(or);if(ue.push(br),2===at){var Fr=jn.inputBuffer.getChannelData(1),On=new Float32Array(Fr);ve.push(On)}G.recordingLength=Re+=Ft,typeof N.timeSlice<"u"&&(Tn.recordingLength+=Ft,Tn.left.push(br),2===at&&Tn.right.push(On))}},et.connect(St.createMediaStreamDestination?St.createMediaStreamDestination():St.destination),this.leftchannel=ue,this.rightchannel=ve,this.numberOfAudioChannels=at,this.desiredSampRate=Pt,this.sampleRate=rt,G.recordingLength=Re;var Tn={left:[],right:[],recordingLength:0};function An(){!we||"function"!=typeof N.ondataavailable||typeof N.timeSlice>"u"||(Tn.left.length?(It({desiredSampRate:Pt,sampleRate:rt,numberOfAudioChannels:at,internalInterleavedLength:Tn.recordingLength,leftBuffers:Tn.left,rightBuffers:1===at?[]:Tn.right},function(jn,or){var br=new Blob([or],{type:"audio/wav"});N.ondataavailable(br),setTimeout(An,N.timeSlice)}),Tn={left:[],right:[],recordingLength:0}):setTimeout(An,N.timeSlice))}}function Y(M,N){if(typeof html2canvas>"u")throw"Please link: https://www.webrtc-experiment.com/screenshot.js";(N=N||{}).frameInterval||(N.frameInterval=10);var G=!1;["captureStream","mozCaptureStream","webkitCaptureStream"].forEach(function(yt){yt in document.createElement("canvas")&&(G=!0)});var Re,et,at,ue=!(!window.webkitRTCPeerConnection&&!window.webkitGetUserMedia||!window.chrome),ve=50,we=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(ue&&we&&we[2]&&(ve=parseInt(we[2],10)),ue&&ve<52&&(G=!1),N.useWhammyRecorder&&(G=!1),G)if(N.disableLogs||console.log("Your browser supports both MediRecorder API and canvas.captureStream!"),M instanceof HTMLCanvasElement)Re=M;else{if(!(M instanceof CanvasRenderingContext2D))throw"Please pass either HTMLCanvasElement or CanvasRenderingContext2D.";Re=M.canvas}else navigator.mozGetUserMedia&&(N.disableLogs||console.error("Canvas recording is NOT supported in Firefox."));this.record=function(){if(at=!0,G&&!N.useWhammyRecorder){var yt;"captureStream"in Re?yt=Re.captureStream(25):"mozCaptureStream"in Re?yt=Re.mozCaptureStream(25):"webkitCaptureStream"in Re&&(yt=Re.webkitCaptureStream(25));try{var Ft=new k;Ft.addTrack(z(yt,"video")[0]),yt=Ft}catch{}if(!yt)throw"captureStream API are NOT available.";(et=new de(yt,{mimeType:N.mimeType||"video/webm"})).record()}else lt.frames=[],St=(new Date).getTime(),qt();N.initCallback&&N.initCallback()},this.getWebPImages=function(yt){if("canvas"===M.nodeName.toLowerCase()){var Ft=lt.frames.length;lt.frames.forEach(function(rt,mt){var Mt=Ft-mt;N.disableLogs||console.log(Mt+"/"+Ft+" frames remaining"),N.onEncodingCallback&&N.onEncodingCallback(Mt,Ft);var Vt=rt.image.toDataURL("image/webp",1);lt.frames[mt].image=Vt}),N.disableLogs||console.log("Generating WebM"),yt()}else yt()},this.stop=function(yt){at=!1;var Ft=this;G&&et?et.stop(yt):this.getWebPImages(function(){lt.compile(function(rt){N.disableLogs||console.log("Recording finished!"),Ft.blob=rt,Ft.blob.forEach&&(Ft.blob=new Blob([],{type:"video/webm"})),yt&&yt(Ft.blob),lt.frames=[]})})};var Pt=!1;function At(){lt.frames=[],at=!1,Pt=!1}function It(){var yt=document.createElement("canvas"),Ft=yt.getContext("2d");return yt.width=M.width,yt.height=M.height,Ft.drawImage(M,0,0),yt}function qt(){if(Pt)return St=(new Date).getTime(),setTimeout(qt,500);if("canvas"===M.nodeName.toLowerCase()){var yt=(new Date).getTime()-St;return St=(new Date).getTime(),lt.frames.push({image:It(),duration:yt}),void(at&&setTimeout(qt,N.frameInterval))}html2canvas(M,{grabMouse:typeof N.showMousePointer>"u"||N.showMousePointer,onrendered:function(Ft){var rt=(new Date).getTime()-St;if(!rt)return setTimeout(qt,N.frameInterval);St=(new Date).getTime(),lt.frames.push({image:Ft.toDataURL("image/webp",1),duration:rt}),at&&setTimeout(qt,N.frameInterval)}})}this.pause=function(){Pt=!0,et instanceof de&&et.pause()},this.resume=function(){Pt=!1,et instanceof de?et.resume():at||this.record()},this.clearRecordedData=function(){at&&this.stop(At),At()},this.name="CanvasRecorder",this.toString=function(){return this.name};var St=(new Date).getTime(),lt=new fe.Video(100)}function ae(M,N){function G(St){St=typeof St<"u"?St:10;var lt=(new Date).getTime()-It;return lt?Re?(It=(new Date).getTime(),setTimeout(G,100)):(It=(new Date).getTime(),At.paused&&At.play(),Pt.drawImage(At,0,0,at.width,at.height),qt.frames.push({duration:lt,image:at.toDataURL("image/webp")}),void(we||setTimeout(G,St,St))):setTimeout(G,St,St)}
1(N=N||{}).frameInterval||(N.frameInterval=10),N.disableLogs||console.log("Using frames-interval:",N.frameInterval),this.record=function(){N.width||(N.width=320),N.height||(N.height=240),N.video||(N.video={width:N.width,height:N.height}),N.canvas||(N.canvas={width:N.width,height:N.height}),at.width=N.canvas.width||320,at.height=N.canvas.height||240,Pt=at.getContext("2d"),N.video&&N.video instanceof HTMLVideoElement?(At=N.video.cloneNode(),N.initCallback&&N.initCallback()):(At=document.createElement("video"),H(M,At),At.onloadedmetadata=function(){N.initCallback&&N.initCallback()},At.width=N.video.width,At.height=N.video.height),At.muted=!0,At.play(),It=(new Date).getTime(),qt=new fe.Video,N.disableLogs||(console.log("canvas resolutions",at.width,"*",at.height),console.log("video width/height",At.width||at.width,"*",At.height||at.height)),G(N.frameInterval)};var we=!1;this.stop=function(St){St=St||function(){},we=!0;var lt=this;setTimeout(function(){!function ve(St,lt,yt,Ft,rt){var mt=document.createElement("canvas");mt.width=at.width,mt.height=at.height;var Mt=mt.getContext("2d"),Vt=[],Lt=-1===lt,$n=lt&<>0&<<=St.length?lt:St.length,An=Math.sqrt(Math.pow(255,2)+Math.pow(255,2)+Math.pow(255,2)),jn=yt&&yt>=0&&yt<=1?yt:0,or=Ft&&Ft>=0&&Ft<=1?Ft:0,br=!1;!function ue(St){var lt=-1,yt=St.length;!function Ft(){++lt!==yt?setTimeout(function(){St.functionToLoop(Ft,lt)},1):St.callback()}()}({length:$n,functionToLoop:function(Fr,On){var sr,ur,tr,Lr=function(){!br&&tr-sr<=tr*or||(Lt&&(br=!0),Vt.push(St[On])),Fr()};if(br)Lr();else{var Br=new Image;Br.onload=function(){Mt.drawImage(Br,0,0,at.width,at.height);var Gr=Mt.getImageData(0,0,at.width,at.height);sr=0,ur=Gr.data.length,tr=Gr.data.length/4;for(var qr=0;qr<ur;qr+=4){var _r={r:Gr.data[qr],g:Gr.data[qr+1],b:Gr.data[qr+2]};Math.sqrt(Math.pow(_r.r-0,2)+Math.pow(_r.g-0,2)+Math.pow(_r.b-0,2))<=An*jn&&sr++}Lr()},Br.src=St[On].image}},callback:function(){(Vt=Vt.concat(St.slice($n))).length<=0&&Vt.push(St[St.length-1]),rt(Vt)}})}(qt.frames,-1,null,null,function(yt){qt.frames=yt,N.advertisement&&N.advertisement.length&&(qt.frames=N.advertisement.concat(qt.frames)),qt.compile(function(Ft){lt.blob=Ft,lt.blob.forEach&&(lt.blob=new Blob([],{type:"video/webm"})),St&&St(lt.blob)})})},10)};var Re=!1;function et(){qt.frames=[],we=!0,Re=!1}this.pause=function(){Re=!0},this.resume=function(){Re=!1,we&&this.record()},this.clearRecordedData=function(){we||this.stop(et),et()},this.name="WhammyRecorder",this.toString=function(){return this.name};var At,It,qt,at=document.createElement("canvas"),Pt=at.getContext("2d")}typeof v<"u"?q.AudioContext=v:typeof webkitAudioContext<"u"&&(q.AudioContext=webkitAudioContext),o.Storage=q,o.MediaStreamRecorder=de,o.StereoAudioRecorder=ee,o.CanvasRecorder=Y,o.WhammyRecorder=ae;var fe=function(){function M(ue){this.frames=[],this.duration=ue||1,this.quality=.8}function G(ue){function we(mt,Mt,Vt){return[{data:mt,id:231}].concat(Vt.map(function(Lt){var $n=function qt(mt){var Mt=0;if(mt.keyframe&&(Mt|=128),mt.invisible&&(Mt|=8),mt.lacing&&(Mt|=mt.lacing<<1),mt.discardable&&(Mt|=1),mt.trackNum>127)throw"TrackNumber > 127 not supported";var Vt=[128|mt.trackNum,mt.timecode>>8,255&mt.timecode,Mt].map(function(Lt){return String.fromCharCode(Lt)}).join("")+mt.frame;return Vt}({discardable:0,frame:Lt.data.slice(4),invisible:0,keyframe:1,lacing:0,trackNum:1,timecode:Math.round(Mt)});return Mt+=Lt.duration,{data:$n,id:163}}))}function et(mt){for(var Mt=[];mt>0;)Mt.push(255&mt),mt>>=8;return new Uint8Array(Mt.reverse())}function at(mt){return new Uint8Array(mt.split("").map(function(Mt){return Mt.charCodeAt(0)}))}function Pt(mt){var Mt=[];mt=(mt.length%8?new Array(9-mt.length%8).join("0"):"")+mt;for(var Lt=0;Lt<mt.length;Lt+=8)Mt.push(parseInt(mt.substr(Lt,8),2));return new Uint8Array(Mt)}function At(mt){for(var Mt=[],Vt=0;Vt<mt.length;Vt++){var Lt=mt[Vt].data;"object"==typeof Lt&&(Lt=At(Lt)),"number"==typeof Lt&&(Lt=Pt(Lt.toString(2))),"string"==typeof Lt&&(Lt=at(Lt));var $n=Lt.size||Lt.byteLength||Lt.length,Tn=Math.ceil(Math.ceil(Math.log($n)/Math.log(2))/8),An=$n.toString(2),jn=new Array(7*Tn+7+1-An.length).join("0")+An,or=new Array(Tn).join("0")+"1"+jn;Mt.push(et(mt[Vt].id)),Mt.push(Pt(or)),Mt.push(Lt)}return new Blob(Mt,{type:"video/webm"})}function lt(mt,Mt){return parseInt(mt.substr(Mt+4,4).split("").map(function(Vt){var Lt=Vt.charCodeAt(0).toString(2);return new Array(8-Lt.length+1).join("0")+Lt}).join(""),2)}function yt(mt){for(var Mt=0,Vt={};Mt<mt.length;){var Lt=mt.substr(Mt,4),$n=lt(mt,Mt),Tn=mt.substr(Mt+4+4,$n);Mt+=8+$n,Vt[Lt]=Vt[Lt]||[],Vt[Lt].push("RIFF"===Lt||"LIST"===Lt?yt(Tn):Tn)}return Vt}function Ft(mt){return[].slice.call(new Uint8Array(new Float64Array([mt]).buffer),0).map(function(Mt){return String.fromCharCode(Mt)}).reverse().join("")}var rt=new function ve(mt){var Mt=function Re(mt){if(mt[0]){for(var Mt=mt[0].width,Vt=mt[0].height,Lt=mt[0].duration,$n=1;$n<mt.length;$n++)Lt+=mt[$n].duration;return{duration:Lt,width:Mt,height:Vt}}postMessage({error:"Something went wrong. Maybe WebP format is not supported in the current browser."})}(mt);if(!Mt)return[];for(var Lt=[{id:440786851,data:[{data:1,id:17030},{data:1,id:17143},{data:4,id:17138},{data:8,id:17139},{data:"webm",id:17026},{data:2,id:17031},{data:2,id:17029}]},{id:408125543,data:[{id:357149030,data:[{data:1e6,id:2807729},{data:"whammy",id:19840},{data:"whammy",id:22337},{data:Ft(Mt.duration),id:17545}]},{id:374648427,data:[{id:174,data:[{data:1,id:215},{data:1,id:29637},{data:0,id:156},{data:"und",id:2274716},{data:"V_VP8",id:134},{data:"VP8",id:2459272},{data:1,id:131},{id:224,data:[{data:Mt.width,id:176},{data:Mt.height,id:186}]}]}]}]}],$n=0,Tn=0;$n<mt.length;){var An=[],jn=0;do{An.push(mt[$n]),jn+=mt[$n].duration,$n++}while($n<mt.length&&jn<3e4);var br={id:524531317,data:we(Tn,0,An)};Lt[1].data.push(br),Tn+=jn}return At(Lt)}(ue.map(function(mt){var Mt=function St(mt){for(var Mt=mt.RIFF[0].WEBP[0],Vt=Mt.indexOf("\x9d\x01*"),Lt=0,$n=[];Lt<4;Lt++)$n[Lt]=Mt.charCodeAt(Vt+3+Lt);return{width:16383&($n[1]<<8|$n[0]),height:16383&($n[3]<<8|$n[2]),data:Mt,riff:mt}}(yt(atob(mt.image.slice(23))));return Mt.duration=mt.duration,Mt}));postMessage(rt)}return M.prototype.add=function(ue,ve){if("canvas"in ue&&(ue=ue.canvas),"toDataURL"in ue&&(ue=ue.toDataURL("image/webp",this.qual
1ity)),!/^data:image\/webp;base64,/gi.test(ue))throw"Input must be formatted properly as a base64 encoded DataURI of type image/webp";this.frames.push({image:ue,duration:ve||this.duration})},M.prototype.compile=function(ue){var ve=function N(ue){var ve=g.createObjectURL(new Blob([ue.toString(),"this.onmessage = function (eee) {"+ue.name+"(eee.data);}"],{type:"application/javascript"})),we=new Worker(ve);return g.revokeObjectURL(ve),we}(G);ve.onmessage=function(we){we.data.error?console.error(we.data.error):ue(we.data)},ve.postMessage(this.frames)},{Video:M}}();o.Whammy=fe;var ne={init:function(){var M=this;if(typeof indexedDB>"u"||typeof indexedDB.open>"u")console.error("IndexedDB API are not available in this browser.");else{var ue,G=this.dbName||location.href.replace(/\/|:|#|%|\.|\[|\]/g,""),ve=indexedDB.open(G,1);ve.onerror=M.onError,ve.onsuccess=function(){(ue=ve.result).onerror=M.onError,ue.setVersion&&1!==ue.version?ue.setVersion(1).onsuccess=function(){we(ue),Re()}:Re()},ve.onupgradeneeded=function(et){we(et.target.result)}}function we(et){et.createObjectStore(M.dataStoreName)}function Re(){var et=ue.transaction([M.dataStoreName],"readwrite");function at(Pt){et.objectStore(M.dataStoreName).get(Pt).onsuccess=function(At){M.callback&&M.callback(At.target.result,Pt)}}M.videoBlob&&et.objectStore(M.dataStoreName).put(M.videoBlob,"videoBlob"),M.gifBlob&&et.objectStore(M.dataStoreName).put(M.gifBlob,"gifBlob"),M.audioBlob&&et.objectStore(M.dataStoreName).put(M.audioBlob,"audioBlob"),at("audioBlob"),at("videoBlob"),at("gifBlob")}},Fetch:function(M){return this.callback=M,this.init(),this},Store:function(M){return this.audioBlob=M.audioBlob,this.videoBlob=M.videoBlob,this.gifBlob=M.gifBlob,this.init(),this},onError:function(M){console.error(JSON.stringify(M,null,"\t"))},dataStoreName:"recordRTC",dbName:null};function ce(M,N){if(typeof GIFEncoder>"u"){var G=document.createElement("script");G.src="https://www.webrtc-experiment.com/gif-recorder.js",(document.body||document.documentElement).appendChild(G)}N=N||{};var ue=M instanceof CanvasRenderingContext2D||M instanceof HTMLCanvasElement;this.record=function(){typeof GIFEncoder>"u"?setTimeout(yt.record,1e3):at?(ue||(N.width||(N.width=Pt.offsetWidth||320),N.height||(N.height=Pt.offsetHeight||240),N.video||(N.video={width:N.width,height:N.height}),N.canvas||(N.canvas={width:N.width,height:N.height}),Re.width=N.canvas.width||320,Re.height=N.canvas.height||240,Pt.width=N.video.width||320,Pt.height=N.video.height||240),(lt=new GIFEncoder).setRepeat(0),lt.setDelay(N.frameRate||200),lt.setQuality(N.quality||10),lt.start(),"function"==typeof N.onGifRecordingStarted&&N.onGifRecordingStarted(),Date.now(),At=s(function Ft(rt){if(!0!==yt.clearedRecordedData){if(ve)return setTimeout(function(){Ft(rt)},100);At=s(Ft),void 0===typeof St&&(St=rt),!(rt-St<90)&&(!ue&&Pt.paused&&Pt.play(),ue||et.drawImage(Pt,0,0,Re.width,Re.height),N.onGifPreview&&N.onGifPreview(Re.toDataURL("image/png")),lt.addFrame(et),St=rt)}}),N.initCallback&&N.initCallback()):setTimeout(yt.record,1e3)},this.stop=function(Ft){Ft=Ft||function(){},At&&u(At),Date.now(),this.blob=new Blob([new Uint8Array(lt.stream().bin)],{type:"image/gif"}),Ft(this.blob),lt.stream().bin=[]};var ve=!1;this.pause=function(){ve=!0},this.resume=function(){ve=!1},this.clearRecordedData=function(){yt.clearedRecordedData=!0,function we(){lt&&(lt.stream().bin=[])}()},this.name="GifRecorder",this.toString=function(){return this.name};var Re=document.createElement("canvas"),et=Re.getContext("2d");ue&&(M instanceof CanvasRenderingContext2D?Re=(et=M).canvas:M instanceof HTMLCanvasElement&&(et=M.getContext("2d"),Re=M));var at=!0;if(!ue){var Pt=document.createElement("video");Pt.muted=!0,Pt.autoplay=!0,Pt.playsInline=!0,at=!1,Pt.onloadedmetadata=function(){at=!0},H(M,Pt),Pt.play()}var St,lt,At=null,yt=this}function me(M,N){typeof global<"u"&&global,N=N||"multi-streams-mixer";var ue=[],ve=!1,we=document.createElement("canvas"),Re=we.getContext("2d");we.style.opacity=0,we.style.position="absolute",we.style.zIndex=-1,we.style.top="-1000em",we.style.left="-1000em",we.className=N,(document.body||document.documentElement).appendChild(we),this.disableLogs=!1,this.frameInterval=10,this.width=360,this.height=240,this.useGainNode=!0;var et=this,at=window.AudioContext;typeof at>"u"&&(typeof webkitAudioContext<"u"&&(at=webkitAudioContext),typeof mozAudioContext<"u"&&(at=mozAudioContext));var Pt=window.URL;typeof Pt>"u"&&typeof webkitURL<"u"&&(Pt=webkitURL),typeof navigator<"u"&&typeof navigator.getUserMedia>"u"&&(typeof navigator.webkitGetUserMedia<"u"&&(navigator.getUserMedia=navigator.webkitGetUserMedia),typeof navigator.mozGetUserMedia<"u"&&(navigator.getUserMedia=navigator.mozGetUserMedia));var At=window.MediaStream;typeof At>"u"&&typeof webkitMediaStream<"u"&&(At=webkitMediaStream),typeof At<"u"&&typeof At.prototype.stop>
1"u"&&(At.prototype.stop=function(){this.getTracks().forEach(function(Vt){Vt.stop()})});var It={};function St(){if(!ve){var Vt=ue.length,Lt=!1,$n=[];if(ue.forEach(function(An){An.stream||(An.stream={}),An.stream.fullcanvas?Lt=An:$n.push(An)}),Lt)we.width=Lt.stream.width,we.height=Lt.stream.height;else if($n.length){we.width=Vt>1?2*$n[0].width:$n[0].width;var Tn=1;(3===Vt||4===Vt)&&(Tn=2),(5===Vt||6===Vt)&&(Tn=3),(7===Vt||8===Vt)&&(Tn=4),(9===Vt||10===Vt)&&(Tn=5),we.height=$n[0].height*Tn}else we.width=et.width||360,we.height=et.height||240;Lt&&Lt instanceof HTMLVideoElement&<(Lt),$n.forEach(function(An,jn){lt(An,jn)}),setTimeout(St,et.frameInterval)}}function lt(Vt,Lt){if(!ve){var $n=0,Tn=0,An=Vt.width,jn=Vt.height;1===Lt&&($n=Vt.width),2===Lt&&(Tn=Vt.height),3===Lt&&($n=Vt.width,Tn=Vt.height),4===Lt&&(Tn=2*Vt.height),5===Lt&&($n=Vt.width,Tn=2*Vt.height),6===Lt&&(Tn=3*Vt.height),7===Lt&&($n=Vt.width,Tn=3*Vt.height),typeof Vt.stream.left<"u"&&($n=Vt.stream.left),typeof Vt.stream.top<"u"&&(Tn=Vt.stream.top),typeof Vt.stream.width<"u"&&(An=Vt.stream.width),typeof Vt.stream.height<"u"&&(jn=Vt.stream.height),Re.drawImage(Vt,$n,Tn,An,jn),"function"==typeof Vt.stream.onRender&&Vt.stream.onRender(Re,$n,Tn,An,jn,Lt)}}function mt(Vt){var Lt=document.createElement("video");return function qt(Vt,Lt){"srcObject"in Lt?Lt.srcObject=Vt:"mozSrcObject"in Lt?Lt.mozSrcObject=Vt:Lt.srcObject=Vt}(Vt,Lt),Lt.className=N,Lt.muted=!0,Lt.volume=0,Lt.width=Vt.width||et.width||360,Lt.height=Vt.height||et.height||240,Lt.play(),Lt}function Mt(Vt){ue=[],(Vt=Vt||M).forEach(function(Lt){if(Lt.getTracks().filter(function(Tn){return"video"===Tn.kind}).length){var $n=mt(Lt);$n.stream=Lt,ue.push($n)}})}typeof at<"u"?It.AudioContext=at:typeof webkitAudioContext<"u"&&(It.AudioContext=webkitAudioContext),this.startDrawingFrames=function(){St()},this.appendStreams=function(Vt){if(!Vt)throw"First parameter is required.";Vt instanceof Array||(Vt=[Vt]),Vt.forEach(function(Lt){var $n=new At;if(Lt.getTracks().filter(function(jn){return"video"===jn.kind}).length){var Tn=mt(Lt);Tn.stream=Lt,ue.push(Tn),$n.addTrack(Lt.getTracks().filter(function(jn){return"video"===jn.kind})[0])}if(Lt.getTracks().filter(function(jn){return"audio"===jn.kind}).length){var An=et.audioContext.createMediaStreamSource(Lt);et.audioDestination=et.audioContext.createMediaStreamDestination(),An.connect(et.audioDestination),$n.addTrack(et.audioDestination.stream.getTracks().filter(function(jn){return"audio"===jn.kind})[0])}M.push($n)})},this.releaseStreams=function(){ue=[],ve=!0,et.gainNode&&(et.gainNode.disconnect(),et.gainNode=null),et.audioSources.length&&(et.audioSources.forEach(function(Vt){Vt.disconnect()}),et.audioSources=[]),et.audioDestination&&(et.audioDestination.disconnect(),et.audioDestination=null),et.audioContext&&et.audioContext.close(),et.audioContext=null,Re.clearRect(0,0,we.width,we.height),we.stream&&(we.stream.stop(),we.stream=null)},this.resetVideoStreams=function(Vt){Vt&&!(Vt instanceof Array)&&(Vt=[Vt]),Mt(Vt)},this.name="MultiStreamsMixer",this.toString=function(){return this.name},this.getMixedStream=function yt(){ve=!1;var Vt=function Ft(){var Vt;Mt(),"captureStream"in we?Vt=we.captureStream():"mozCaptureStream"in we?Vt=we.mozCaptureStream():et.disableLogs||console.error("Upgrade to latest Chrome or otherwise enable this flag: chrome://flags/#enable-experimental-web-platform-features");var Lt=new At;return Vt.getTracks().filter(function($n){return"video"===$n.kind}).forEach(function($n){Lt.addTrack($n)}),we.stream=Lt,Lt}(),Lt=function rt(){It.AudioContextConstructor||(It.AudioContextConstructor=new It.AudioContext),et.audioContext=It.AudioContextConstructor,et.audioSources=[],!0===et.useGainNode&&(et.gainNode=et.audioContext.createGain(),et.gainNode.connect(et.audioContext.destination),et.gainNode.gain.value=0);var Vt=0;if(M.forEach(function(Lt){if(Lt.getTracks().filter(function(Tn){return"audio"===Tn.kind}).length){Vt++;var $n=et.audioContext.createMediaStreamSource(Lt);!0===et.useGainNode&&$n.connect(et.gainNode),et.audioSources.push($n)}}),Vt)return et.audioDestination=et.audioContext.createMediaStreamDestination(),et.audioSources.forEac
1h(function(Lt){Lt.connect(et.audioDestination)}),et.audioDestination.stream}();return Lt&&Lt.getTracks().filter(function(Tn){return"audio"===Tn.kind}).forEach(function(Tn){Vt.addTrack(Tn)}),M.forEach(function(Tn){}),Vt}}function re(M,N){M=M||[];var ue,ve,G=this;(N=N||{elementClass:"multi-streams-mixer",mimeType:"video/webm",video:{width:360,height:240}}).frameInterval||(N.frameInterval=10),N.video||(N.video={}),N.video.width||(N.video.width=360),N.video.height||(N.video.height=240),this.record=function(){ue=new me(M,N.elementClass||"multi-streams-mixer"),function we(){var Re=[];return M.forEach(function(et){z(et,"video").forEach(function(at){Re.push(at)})}),Re}().length&&(ue.frameInterval=N.frameInterval||10,ue.width=N.video.width||360,ue.height=N.video.height||240,ue.startDrawingFrames()),N.previewStream&&"function"==typeof N.previewStream&&N.previewStream(ue.getMixedStream()),(ve=new de(ue.getMixedStream(),N)).record()},this.stop=function(Re){ve&&ve.stop(function(et){G.blob=et,Re(et),G.clearRecordedData()})},this.pause=function(){ve&&ve.pause()},this.resume=function(){ve&&ve.resume()},this.clearRecordedData=function(){ve&&(ve.clearRecordedData(),ve=null),ue&&(ue.releaseStreams(),ue=null)},this.addStreams=function(Re){if(!Re)throw"First parameter is required.";Re instanceof Array||(Re=[Re]),M.concat(Re),ve&&ue&&(ue.appendStreams(Re),N.previewStream&&"function"==typeof N.previewStream&&N.previewStream(ue.getMixedStream()))},this.resetVideoStreams=function(Re){ue&&(Re&&!(Re instanceof Array)&&(Re=[Re]),ue.resetVideoStreams(Re))},this.getMixer=function(){return ue},this.name="MultiStreamRecorder",this.toString=function(){return this.name}}function X(M,N){var ue,we,et;function Re(At,It){if(!N.workerPath&&!It)return ue=!1,void fetch("https://unpkg.com/webm-wasm@latest/dist/webm-worker.js").then(function(St){St.arrayBuffer().then(function(lt){Re(At,lt)})});if(!N.workerPath&&It instanceof ArrayBuffer){var qt=new Blob([It],{type:"text/javascript"});N.workerPath=g.createObjectURL(qt)}N.workerPath||console.error("workerPath parameter is missing."),(we=new Worker(N.workerPath)).postMessage(N.webAssemblyPath||"https://unpkg.com/webm-wasm@latest/dist/webm-wasm.wasm"),we.addEventListener("message",function(St){"READY"===St.data?(we.postMessage({width:N.width,height:N.height,bitrate:N.bitrate||1200,timebaseDen:N.frameRate||30,realtime:N.realtime}),function ve(){return new ReadableStream({start:function(At){var It=document.createElement("canvas"),qt=document.createElement("video"),St=!0;qt.srcObject=M,qt.muted=!0,qt.height=N.height,qt.width=N.width,qt.volume=0,qt.onplaying=function(){It.width=N.width,It.height=N.height;var lt=It.getContext("2d"),Ft=setInterval(function(){if(ue&&(clearInterval(Ft),At.close()),St&&(St=!1,N.onVideoProcessStarted&&N.onVideoProcessStarted()),lt.drawImage(qt,0,0),"closed"!==At._controlledReadableStream.state)try{At.enqueue(lt.getImageData(0,0,N.width,N.height))}catch{}},1e3/N.frameRate)},qt.play()}})}().pipeTo(new WritableStream({write:function(lt){ue?console.error("Got image, but recorder is finished!"):we.postMessage(lt.data.buffer,[lt.data.buffer])}}))):St.data&&(et||Pt.push(St.data))})}(typeof ReadableStream>"u"||typeof WritableStream>"u")&&console.error("Following polyfill is strongly recommended: https://unpkg.com/@mattiasbuelens/web-streams-polyfill/dist/polyfill.min.js"),(N=N||{}).width=N.width||640,N.height=N.height||480,N.frameRate=N.frameRate||30,N.bitrate=N.bitrate||1200,N.realtime=N.realtime||!0,this.record=function(){Pt=[],et=!1,this.blob=null,Re(M),"function"==typeof N.initCallback&&N.initCallback()},this.pause=function(){et=!0},this.resume=function(){et=!1};var Pt=[];this.stop=function(At){ue=!0;var It=this;!function at(At){we?(we.addEventListener("message",function(It){null===It.data&&(we.terminate(),we=null,At&&At())}),we.postMessage(null)):At&&At()}(function(){It.blob=new Blob(Pt,{type:"video/webm"}),At(It.blob)})},this.name="WebAssemblyRecorder",this.toString=function(){return this.name},this.clearRecordedData=function(){Pt=[],et=!1,this.blob=null},this.blob=null}o.DiskStorage=ne,o.GifRecorder=ce,o.MultiStreamRecorder=re,o.RecordRTCPromisesHandler=function $(M,N){if(!this)throw'Use "new RecordRTCPromisesHandler()"';if(typeof M>"u")throw'First argument "MediaStream" is required.';var G=this;G.recordRTC=new o(M,N),this.startRecording=function(){return new Promise(function(ue,ve){try{G.recordRTC.startRecording(),ue()}catch(we){ve(we)}})},this.stopRecording=function(){return new Promise(function(ue,ve){try{G.recordRTC.stopRecording(function(we){G.blob=G.recordRTC.getBlob(),G.blob&&G.blob.size?ue(we):ve
vendor: 6,227 bytes, line 1
1("Empty blob.",G.blob)})}catch(we){ve(we)}})},this.pauseRecording=function(){return new Promise(function(ue,ve){try{G.recordRTC.pauseRecording(),ue()}catch(we){ve(we)}})},this.resumeRecording=function(){return new Promise(function(ue,ve){try{G.recordRTC.resumeRecording(),ue()}catch(we){ve(we)}})},this.getDataURL=function(ue){return new Promise(function(ve,we){try{G.recordRTC.getDataURL(function(Re){ve(Re)})}catch(Re){we(Re)}})},this.getBlob=function(){return new Promise(function(ue,ve){try{ue(G.recordRTC.getBlob())}catch(we){ve(we)}})},this.getInternalRecorder=function(){return new Promise(function(ue,ve){try{ue(G.recordRTC.getInternalRecorder())}catch(we){ve(we)}})},this.reset=function(){return new Promise(function(ue,ve){try{ue(G.recordRTC.reset())}catch(we){ve(we)}})},this.destroy=function(){return new Promise(function(ue,ve){try{ue(G.recordRTC.destroy())}catch(we){ve(we)}})},this.getState=function(){return new Promise(function(ue,ve){try{ue(G.recordRTC.getState())}catch(we){ve(we)}})},this.blob=null,this.version="5.6.2"},o.WebAssemblyRecorder=X},84412:(ge,_,f)=>{"use strict";f.d(_,{t:()=>o});var c=f(21413);class o extends c.B{constructor(a){super(),this._value=a}get value(){return this.getValue()}_subscribe(a){const E=super._subscribe(a);return!E.closed&&a.next(this._value),E}getValue(){const{hasError:a,thrownError:E,_value:T}=this;if(a)throw E;return this._throwIfClosed(),T}next(a){super.next(this._value=a)}}},71985:(ge,_,f)=>{"use strict";f.d(_,{c:()=>h});var c=f(47707),o=f(18359),C=f(3494),a=f(71203),E=f(41026),T=f(98071),s=f(49786);let h=(()=>{class y{constructor(b){b&&(this._subscribe=b)}lift(b){const R=new y;return R.source=this,R.operator=b,R}subscribe(b,R,P){const k=function g(y){return y&&y instanceof c.vU||function v(y){return y&&(0,T.T)(y.next)&&(0,T.T)(y.error)&&(0,T.T)(y.complete)}(y)&&(0,o.Uv)(y)}(b)?b:new c.Ms(b,R,P);return(0,s.Y)(()=>{const{operator:O,source:V}=this;k.add(O?O.call(k,V):V?this._subscribe(k):this._trySubscribe(k))}),k}_trySubscribe(b){try{return this._subscribe(b)}catch(R){b.error(R)}}forEach(b,R){return new(R=u(R))((P,k)=>{const O=new c.Ms({next:V=>{try{b(V)}catch(K){k(K),O.unsubscribe()}},error:k,complete:P});this.subscribe(O)})}_subscribe(b){var R;return null===(R=this.source)||void 0===R?void 0:R.subscribe(b)}[C.s](){return this}pipe(...b){return(0,a.m)(b)(this)}toPromise(b){return new(b=u(b))((R,P)=>{let k;this.subscribe(O=>k=O,O=>P(O),()=>R(k))})}}return y.create=p=>new y(p),y})();function u(y){var p;return null!==(p=null!=y?y:E.$.Promise)&&void 0!==p?p:Promise}},21413:(ge,_,f)=>{"use strict";f.d(_,{B:()=>s});var c=f(71985),o=f(18359);const a=(0,f(81853).L)(u=>function(){u(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var E=f(57908),T=f(49786);let s=(()=>{class u extends c.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(g){const y=new h(this,this);return y.operator=g,y}_throwIfClosed(){if(this.closed)throw new a}next(g){(0,T.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const y of this.currentObservers)y.next(g)}})}error(g){(0,T.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=g;const{observers:y}=this;for(;y.length;)y.shift().error(g)}})}complete(){(0,T.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:g}=this;for(;g.length;)g.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var g;return(null===(g=this.observers)||void 0===g?void 0:g.length)>0}_trySubscribe(g){return this._throwIfClosed(),super._trySubscribe(g)}_subscribe(g){return this._throwIfClosed(),this._checkFinalizedStatuses(g),this._innerSubscribe(g)}_innerSubscribe(g){const{hasError:y,isStopped:p,observers:b}=this;return y||p?o.Kn:(this.currentObservers=null,b.push(g),new o.yU(()=>{this.currentObservers=null,(0,E.o)(b,g)}))}_checkFinalizedStatuses(g){const{hasError:y,thrownError:p,isStopped:b}=this;y?g.error(p):b&&g.complete()}asObservable(){const g=new c.c;return g.source=this,g}}return u.create=(v,g)=>new h(v,g),u})();class h extends s{constructor(v,g){super(),this.destination=v,this.source=g}next(v){var g,y;null===(y=null===(g=this.destination)||void 0===g?void 0:g.next)||void 0===y||y.call(g,v)}error(v){var g,y;null===(y=null===(g=this.destination)||void 0===g?void 0:g.error)||void 0===y||y.call(g,v)}complete(){var v,g;null===(g=null===(v=this.destination)||void 0===v?void 0:v.complete)||void 0===g||g.call(v)}_subscribe(v){var g,y;return null!==(y=null===(g=this.source)||void 0===g?void 0:g.subscribe(v))&&void 0!==y?y:o.Kn}}},47707:(ge,_,f)=>{"use strict";f.d(_,{Ms:()=>P,vU:()=>y});var c=f(98071),o=f(18359),C=f(41026),a=f(45334),E=f(85343);const T=u("C",void 0,void 0);function u(z,H,x){return{kind:z,value:H,error:x}}var v=f(19270),g=f(49786);class y extends o.yU{constructor(H){super(),this.isStopped=!1,H?(this.destination=H,(0,o.Uv)(H)&&H.add(this)):this.destination=K}static create(H,x,q){return new P(H,x,q)}next(H){this.isStopped?V(function h(z){return u("N",z,void 0)}(H),this):this._next(H)}error(H){this.isStopped?V(function s(z){return u("E",void 0,z)}(H),this):(this.isStopped=!0,this._error(H))}complete(){this.isStopped?V(T,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 p=Function.prototype.bind;function b(z,H){return p.call(z,H)}class R{constructor(H){this.partialObserver=H}next(H){const{partialObserver:x}=this;if(x.next)try{x.next(H)}catch(q){k(q)}}error(H){const{partialObserver:x}=this;if(x.error)try{x.error(H)}catch(q){k(q)}else k(H)}complete(){const{partialObserver:H}=this;if(H.complete)try{H.complete()}catch(x){k(x)}}}class P extends y{constructor(H,x,q){let Z;if(super(),(0,c.T)(H)||!H)Z={next:null!=H?H:void 0,error:null!=x?x:void 0,complete:null!=q?q:void 0};else{let de;
1this&&C.$.useDeprecatedNextContext?(de=Object.create(H),de.unsubscribe=()=>this.unsubscribe(),Z={next:H.next&&b(H.next,de),error:H.error&&b(H.error,de),complete:H.complete&&b(H.complete,de)}):Z=H}this.destination=new R(Z)}}function k(z){C.$.useDeprecatedSynchronousErrorHandling?(0,g.l)(z):(0,a.m)(z)}function V(z,H){const{onStoppedNotification:x}=C.$;x&&v.f.setTimeout(()=>x(z,H))}const K={closed:!0,next:E.l,error:function O(z){throw z},complete:E.l}},18359:(ge,_,f)=>{"use strict";f.d(_,{Kn:()=>T,yU:()=>E,Uv:()=>s});var c=f(98071);const C=(0,f(81853).L)(u=>function(g){u(this),this.message=g?`${g.length} errors occurred during unsubscription:\n${g.map((y,p)=>`${p+1}) ${y.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=g});var a=f(57908);class E{constructor(v){this.initialTeardown=v,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let v;if(!this.closed){this.closed=!0;const{_parentage:g}=this;if(g)if(this._parentage=null,Array.isArray(g))for(const b of g)b.remove(this);else g.remove(this);const{initialTeardown:y}=this;if((0,c.T)(y))try{y()}catch(b){v=b instanceof C?b.errors:[b]}const{_finalizers:p}=this;if(p){this._finalizers=null;for(const b of p)try{h(b)}catch(R){v=null!=v?v:[],R instanceof C?v=[...v,...R.errors]:v.push(R)}}if(v)throw new C(v)}}add(v){var g;if(v&&v!==this)if(this.closed)h(v);else{if(v instanceof E){if(v.closed||v._hasParent(this))return;v._addParent(this)}(this._finalizers=null!==(g=this._finalizers)&&void 0!==g?g:[]).push(v)}}_hasParent(v){const{_parentage:g}=this;return g===v||Array.isArray(g)&&g.includes(v)}_addParent(v){const{_parentage:g}=this;this._parentage=Array.isArray(g)?(g.push(v),g):g?[g,v]:v}_removeParent(v){const{_parentage:g}=this;g===v?this._parentage=null:Array.isArray(g)&&(0,a.o)(g,v)}remove(v){const{_finalizers:g}=this;g&&(0,a.o)(g,v),v instanceof E&&v._removeParent(this)}}E.EMPTY=(()=>{const u=new E;return u.closed=!0,u})();const T=E.EMPTY;function s(u){return u instanceof E||u&&"closed"in u&&(0,c.T)(u.remove)&&(0,c.T)(u.add)&&(0,c.T)(u.unsubscribe)}function h(u){(0,c.T)(u)?u():u.unsubscribe()}},41026:(ge,_,f)=>{"use strict";f.d(_,{$:()=>c});const c={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},30017:(ge,_,f)=>{"use strict";f.d(_,{G:()=>T});var c=f(71985),o=f(18359),C=f(99898),a=f(54360),E=f(39974);class T extends c.c{constructor(h,u){super(),this.source=h,this.subjectFactory=u,this._subject=null,this._refCount=0,this._connection=null,(0,E.S)(h)&&(this.lift=h.lift)}_subscribe(h){return this.getSubject().subscribe(h)}getSubject(){const h=this._subject;return(!h||h.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:h}=this;this._subject=this._connection=null,null==h||h.unsubscribe()}connect(){let h=this._connection;if(!h){h=this._connection=new o.yU;const u=this.getSubject();h.add(this.source.subscribe((0,a._)(u,void 0,()=>{this._teardown(),u.complete()},v=>{this._teardown(),u.error(v)},()=>this._teardown()))),h.closed&&(this._connection=null,h=o.yU.EMPTY)}return h}refCount(){return(0,C.B)()(this)}}},84572:(ge,_,f)=>{"use strict";f.d(_,{z:()=>v});var c=f(71985),o=f(93073),C=f(86648),a=f(33669),E=f(6450),T=f(9326),s=f(58496),h=f(54360),u=f(45225);function v(...p){const b=(0,T.lI)(p),R=(0,T.ms)(p),{args:P,keys:k}=(0,o.D)(p);if(0===P.length)return(0,C.H)([],b);const O=new c.c(function g(p,b,R=a.D){return P=>{y(b,()=>{const{length:k}=p,O=new Array(k);let V=k,K=k;for(let z=0;z<k;z++)y(b,()=>{const H=(0,C.H)(p[z],b);let x=!1;H.subscribe((0,h._)(P,q=>{O[z]=q,x||(x=!0,K--),K||P.next(R(O.slice()))},()=>{--V||P.complete()}))},P)},P)}}(P,b,k?V=>(0,s.e)(k,V):a.D));return R?O.pipe((0,E.I)(R)):O}function y(p,b,R){p?(0,u.N)(R,p,b):b()}},28793:(ge,_,f)=>{"use strict";f.d(_,{x:()=>E});var c=f(26365),C=f(9326),a=f(86648);function E(...T){return function o(){return(0,c.U)(1)}()((0,a.H)(T,(0,C.lI)(T)))}},59030:(ge,_,f)=>{"use strict";f.d(_,{v:()=>C});var c=f(71985),o=f(58750);function C(a){return new c.c(E=>{(0,o.Tg)(a()).subscribe(E)})}},983:(ge,_,f)=>{"use strict";f.d(_,{w:()=>o});const o=new(f(71985).c)(E=>E.complete())},27468:(ge,_,f)=>{"use strict";f.d(_,{p:()=>h});var c=f(71985),o=f(93073),C=f(58750),a=f(9326),E=f(54360),T=f(6450),s=f(58496);function h(...u){const v=(0,a.ms)(u),{args:g,keys:y}=(0,o.D)(u),p=new c.c(b=>{const{length:R}=g;if(!R)return void b.complete();const P=new Array(R);let k=R,O=R;for(let V=0;V<R;V++){let K=!1;(0,C.Tg)(g[V]).subscribe((0,E._)(b,z=>{K||(K=!0,O--),P[V]=z}
1,()=>k--,void 0,()=>{(!k||!K)&&(O||b.next(y?(0,s.e)(y,P):P),b.complete())}))}});return v?p.pipe((0,T.I)(v)):p}},86648:(ge,_,f)=>{"use strict";f.d(_,{H:()=>q});var c=f(58750),o=f(45225),C=f(39974),a=f(54360);function E(Z,de=0){return(0,C.N)((ee,Y)=>{ee.subscribe((0,a._)(Y,ae=>(0,o.N)(Y,Z,()=>Y.next(ae),de),()=>(0,o.N)(Y,Z,()=>Y.complete(),de),ae=>(0,o.N)(Y,Z,()=>Y.error(ae),de)))})}function T(Z,de=0){return(0,C.N)((ee,Y)=>{Y.add(Z.schedule(()=>ee.subscribe(Y),de))})}var u=f(71985),g=f(4761),y=f(98071);function b(Z,de){if(!Z)throw new Error("Iterable cannot be null");return new u.c(ee=>{(0,o.N)(ee,de,()=>{const Y=Z[Symbol.asyncIterator]();(0,o.N)(ee,de,()=>{Y.next().then(ae=>{ae.done?ee.complete():ee.next(ae.value)})},0,!0)})})}var R=f(55055),P=f(59858),k=f(47441),O=f(85397),V=f(37953),K=f(50591),z=f(15196);function q(Z,de){return de?function x(Z,de){if(null!=Z){if((0,R.l)(Z))return function s(Z,de){return(0,c.Tg)(Z).pipe(T(de),E(de))}(Z,de);if((0,k.X)(Z))return function v(Z,de){return new u.c(ee=>{let Y=0;return de.schedule(function(){Y===Z.length?ee.complete():(ee.next(Z[Y++]),ee.closed||this.schedule())})})}(Z,de);if((0,P.y)(Z))return function h(Z,de){return(0,c.Tg)(Z).pipe(T(de),E(de))}(Z,de);if((0,V.T)(Z))return b(Z,de);if((0,O.x)(Z))return function p(Z,de){return new u.c(ee=>{let Y;return(0,o.N)(ee,de,()=>{Y=Z[g.l](),(0,o.N)(ee,de,()=>{let ae,fe;try{({value:ae,done:fe}=Y.next())}catch(ne){return void ee.error(ne)}fe?ee.complete():ee.next(ae)},0,!0)}),()=>(0,y.T)(null==Y?void 0:Y.return)&&Y.return()})}(Z,de);if((0,z.U)(Z))return function H(Z,de){return b((0,z.C)(Z),de)}(Z,de)}throw(0,K.L)(Z)}(Z,de):(0,c.Tg)(Z)}},33726:(ge,_,f)=>{"use strict";f.d(_,{R:()=>v});var c=f(58750),o=f(71985),C=f(31397),a=f(47441),E=f(98071),T=f(6450);const s=["addListener","removeListener"],h=["addEventListener","removeEventListener"],u=["on","off"];function v(R,P,k,O){if((0,E.T)(k)&&(O=k,k=void 0),O)return v(R,P,k).pipe((0,T.I)(O));const[V,K]=function b(R){return(0,E.T)(R.addEventListener)&&(0,E.T)(R.removeEventListener)}(R)?h.map(z=>H=>R[z](P,H,k)):function y(R){return(0,E.T)(R.addListener)&&(0,E.T)(R.removeListener)}(R)?s.map(g(R,P)):function p(R){return(0,E.T)(R.on)&&(0,E.T)(R.off)}(R)?u.map(g(R,P)):[];if(!V&&(0,a.X)(R))return(0,C.Z)(z=>v(z,P,k))((0,c.Tg)(R));if(!V)throw new TypeError("Invalid event target");return new o.c(z=>{const H=(...x)=>z.next(1<x.length?x:x[0]);return V(H),()=>K(H)})}function g(R,P){return k=>O=>R[k](P,O)}},58750:(ge,_,f)=>{"use strict";f.d(_,{Tg:()=>p});var c=f(31635),o=f(47441),C=f(59858),a=f(71985),E=f(55055),T=f(37953),s=f(50591),h=f(85397),u=f(15196),v=f(98071),g=f(45334),y=f(3494);function p(z){if(z instanceof a.c)return z;if(null!=z){if((0,E.l)(z))return function b(z){return new a.c(H=>{const x=z[y.s]();if((0,v.T)(x.subscribe))return x.subscribe(H);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(z);if((0,o.X)(z))return function R(z){return new a.c(H=>{for(let x=0;x<z.length&&!H.closed;x++)H.next(z[x]);H.complete()})}(z);if((0,C.y)(z))return function P(z){return new a.c(H=>{z.then(x=>{H.closed||(H.next(x),H.complete())},x=>H.error(x)).then(null,g.m)})}(z);if((0,T.T)(z))return O(z);if((0,h.x)(z))return function k(z){return new a.c(H=>{for(const x of z)if(H.next(x),H.closed)return;H.complete()})}(z);if((0,u.U)(z))return function V(z){return O((0,u.C)(z))}(z)}throw(0,s.L)(z)}function O(z){return new a.c(H=>{(function K(z,H){var x,q,Z,de;return(0,c.sH)(this,void 0,void 0,function*(){try{for(x=(0,c.xN)(z);!(q=yield x.next()).done;)if(H.next(q.value),H.closed)return}catch(ee){Z={error:ee}}finally{try{q&&!q.done&&(de=x.return)&&(yield de.call(x))}finally{if(Z)throw Z.error}}H.complete()})})(z,H).catch(x=>H.error(x))})}},40605:(ge,_,f)=>{"use strict";f.d(_,{Y:()=>C});var c=f(88839),o=f(1807);function C(a=0,E=c.E){return a<0&&(a=0),(0,o.O)(a,a,E)}},7673:(ge,_,f)=>{"use strict";f.d(_,{of:()=>C});var c=f(9326),o=f(86648);function C(...a){const E=(0,c.lI)(a);return(0,o.H)(a,E)}},18810:(ge,_,f)=>{"use strict";f.d(_,{$:()=>C});var c=f(71985),o=f(98071);function C(a,E){const T=(0,o.T)(a)?a:()=>a,s=h=>h.error(T());return new c.c(E?h=>E.schedule(s,0,h):s)}},1807:(ge,_,f)=>{"use strict";f.d(_,{O:()=>E});var c=f(71985),o=f(88839),C=f(79470),a=f(28211);function E(T=0,s,h=o.b){let u=-1;return null!=s&&((0,C.m)(s)?h=s:u=s),new c.c(v=>{let g=(0,a.v)(T)?+T-h.now():T;g<0&&(g=0);let y=0;return h.schedule(function(){v.closed||(v.next(y++),0<=u?this.schedule(void 0,u):v.complete())},g)})}},54360:(ge,_,f)=>{"use strict";f.d(_,{_:()=>o});var c=f(47707);
1function o(a,E,T,s,h){return new C(a,E,T,s,h)}class C extends c.vU{constructor(E,T,s,h,u,v){super(E),this.onFinalize=u,this.shouldUnsubscribe=v,this._next=T?function(g){try{T(g)}catch(y){E.error(y)}}:super._next,this._error=h?function(g){try{h(g)}catch(y){E.error(y)}finally{this.unsubscribe()}}:super._error,this._complete=s?function(){try{s()}catch(g){E.error(g)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var E;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:T}=this;super.unsubscribe(),!T&&(null===(E=this.onFinalize)||void 0===E||E.call(this))}}}},99437:(ge,_,f)=>{"use strict";f.d(_,{W:()=>a});var c=f(58750),o=f(54360),C=f(39974);function a(E){return(0,C.N)((T,s)=>{let v,h=null,u=!1;h=T.subscribe((0,o._)(s,void 0,void 0,g=>{v=(0,c.Tg)(E(g,a(E)(T))),h?(h.unsubscribe(),h=null,v.subscribe(s)):u=!0})),u&&(h.unsubscribe(),h=null,v.subscribe(s))})}},70274:(ge,_,f)=>{"use strict";f.d(_,{H:()=>C});var c=f(31397),o=f(98071);function C(a,E){return(0,o.T)(E)?(0,c.Z)(a,E,1):(0,c.Z)(a,1)}},23294:(ge,_,f)=>{"use strict";f.d(_,{F:()=>a});var c=f(33669),o=f(39974),C=f(54360);function a(T,s=c.D){return T=null!=T?T:E,(0,o.N)((h,u)=>{let v,g=!0;h.subscribe((0,C._)(u,y=>{const p=s(y);(g||!T(v,p))&&(g=!1,v=p,u.next(y))}))})}function E(T,s){return T===s}},5964:(ge,_,f)=>{"use strict";f.d(_,{p:()=>C});var c=f(39974),o=f(54360);function C(a,E){return(0,c.N)((T,s)=>{let h=0;T.subscribe((0,o._)(s,u=>a.call(E,u,h++)&&s.next(u)))})}},70980:(ge,_,f)=>{"use strict";f.d(_,{j:()=>o});var c=f(39974);function o(C){return(0,c.N)((a,E)=>{try{a.subscribe(E)}finally{E.add(C)}})}},96354:(ge,_,f)=>{"use strict";f.d(_,{T:()=>C});var c=f(39974),o=f(54360);function C(a,E){return(0,c.N)((T,s)=>{let h=0;T.subscribe((0,o._)(s,u=>{s.next(a.call(E,u,h++))}))})}},73703:(ge,_,f)=>{"use strict";f.d(_,{u:()=>o});var c=f(96354);function o(C){return(0,c.T)(()=>C)}},26365:(ge,_,f)=>{"use strict";f.d(_,{U:()=>C});var c=f(31397),o=f(33669);function C(a=1/0){return(0,c.Z)(o.D,a)}},31397:(ge,_,f)=>{"use strict";f.d(_,{Z:()=>h});var c=f(96354),o=f(58750),C=f(39974),a=f(45225),E=f(54360),s=f(98071);function h(u,v,g=1/0){return(0,s.T)(v)?h((y,p)=>(0,c.T)((b,R)=>v(y,b,p,R))((0,o.Tg)(u(y,p))),g):("number"==typeof v&&(g=v),(0,C.N)((y,p)=>function T(u,v,g,y,p,b,R,P){const k=[];let O=0,V=0,K=!1;const z=()=>{K&&!k.length&&!O&&v.complete()},H=q=>O<y?x(q):k.push(q),x=q=>{b&&v.next(q),O++;let Z=!1;(0,o.Tg)(g(q,V++)).subscribe((0,E._)(v,de=>{null==p||p(de),b?H(de):v.next(de)},()=>{Z=!0},void 0,()=>{if(Z)try{for(O--;k.length&&O<y;){const de=k.shift();R?(0,a.N)(v,R,()=>x(de)):x(de)}z()}catch(de){v.error(de)}}))};return u.subscribe((0,E._)(v,H,()=>{K=!0,z()})),()=>{null==P||P()}}(y,p,u,g)))}},99898:(ge,_,f)=>{"use strict";f.d(_,{B:()=>C});var c=f(39974),o=f(54360);function C(){return(0,c.N)((a,E)=>{let T=null;a._refCount++;const s=(0,o._)(E,void 0,void 0,void 0,()=>{if(!a||a._refCount<=0||0<--a._refCount)return void(T=null);const h=a._connection,u=T;T=null,h&&(!u||h===u)&&h.unsubscribe(),E.unsubscribe()});a.subscribe(s),s.closed||(T=a.connect())})}},97647:(ge,_,f)=>{"use strict";f.d(_,{u:()=>E});var c=f(58750),o=f(21413),C=f(47707),a=f(39974);function E(s={}){const{connector:h=(()=>new o.B),resetOnError:u=!0,resetOnComplete:v=!0,resetOnRefCountZero:g=!0}=s;return y=>{let p,b,R,P=0,k=!1,O=!1;const V=()=>{null==b||b.unsubscribe(),b=void 0},K=()=>{V(),p=R=void 0,k=O=!1},z=()=>{const H=p;K(),null==H||H.unsubscribe()};return(0,a.N)((H,x)=>{P++,!O&&!k&&V();const q=R=null!=R?R:h();x.add(()=>{P--,0===P&&!O&&!k&&(b=T(z,g))}),q.subscribe(x),!p&&P>0&&(p=new C.Ms({next:Z=>q.next(Z),error:Z=>{O=!0,V(),b=T(K,u,Z),q.error(Z)},complete:()=>{k=!0,V(),b=T(K,v),q.complete()}}),(0,c.Tg)(H).subscribe(p))})(y)}}function T(s,h,...u){if(!0===h)return void s();if(!1===h)return;const v=new C.Ms({next:()=>{v.unsubscribe(),s()}});return(0,c.Tg)(h(...u)).subscribe(v)}},76496:(ge,_,f)=>{"use strict";f.d(_,{t:()=>E});var c=f(21413),o=f(86129);class C extends c.B{constructor(s=1/0,h=1/0,u=o.U){super(),this._bufferSize=s,this._windowTime=h,this._timestampProvider=u,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=h===1/0,this._bufferSize=Math.max(1,s),this._windowTime=Math.max(1,h)}next(s){const{isStopped:h,_buffer:u,_infiniteTimeWindow:v,_timestampProvider:g,_windowTime:y}=this;
1h||(u.push(s),!v&&u.push(g.now()+y)),this._trimBuffer(),super.next(s)}_subscribe(s){this._throwIfClosed(),this._trimBuffer();const h=this._innerSubscribe(s),{_infiniteTimeWindow:u,_buffer:v}=this,g=v.slice();for(let y=0;y<g.length&&!s.closed;y+=u?1:2)s.next(g[y]);return this._checkFinalizedStatuses(s),h}_trimBuffer(){const{_bufferSize:s,_timestampProvider:h,_buffer:u,_infiniteTimeWindow:v}=this,g=(v?1:2)*s;if(s<1/0&&g<u.length&&u.splice(0,u.length-g),!v){const y=h.now();let p=0;for(let b=1;b<u.length&&u[b]<=y;b+=2)p=b;p&&u.splice(0,p+1)}}}var a=f(97647);function E(T,s,h){let u,v=!1;return T&&"object"==typeof T?({bufferSize:u=1/0,windowTime:s=1/0,refCount:v=!1,scheduler:h}=T):u=null!=T?T:1/0,(0,a.u)({connector:()=>new C(u,s,h),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:v})}},25558:(ge,_,f)=>{"use strict";f.d(_,{n:()=>a});var c=f(58750),o=f(39974),C=f(54360);function a(E,T){return(0,o.N)((s,h)=>{let u=null,v=0,g=!1;const y=()=>g&&!u&&h.complete();s.subscribe((0,C._)(h,p=>{null==u||u.unsubscribe();let b=0;const R=v++;(0,c.Tg)(E(p,R)).subscribe(u=(0,C._)(h,P=>h.next(T?T(p,P,R,b++):P),()=>{u=null,y()}))},()=>{g=!0,y()}))})}},96697:(ge,_,f)=>{"use strict";f.d(_,{s:()=>a});var c=f(983),o=f(39974),C=f(54360);function a(E){return E<=0?()=>c.w:(0,o.N)((T,s)=>{let h=0;T.subscribe((0,C._)(s,u=>{++h<=E&&(s.next(u),E<=h&&s.complete())}))})}},56977:(ge,_,f)=>{"use strict";f.d(_,{Q:()=>E});var c=f(39974),o=f(54360),C=f(58750),a=f(85343);function E(T){return(0,c.N)((s,h)=>{(0,C.Tg)(T).subscribe((0,o._)(h,()=>h.complete(),a.l)),!h.closed&&s.subscribe(h)})}},88141:(ge,_,f)=>{"use strict";f.d(_,{M:()=>E});var c=f(98071),o=f(39974),C=f(54360),a=f(33669);function E(T,s,h){const u=(0,c.T)(T)||s||h?{next:T,error:s,complete:h}:T;return u?(0,o.N)((v,g)=>{var y;null===(y=u.subscribe)||void 0===y||y.call(u);let p=!0;v.subscribe((0,C._)(g,b=>{var R;null===(R=u.next)||void 0===R||R.call(u,b),g.next(b)},()=>{var b;p=!1,null===(b=u.complete)||void 0===b||b.call(u),g.complete()},b=>{var R;p=!1,null===(R=u.error)||void 0===R||R.call(u,b),g.error(b)},()=>{var b,R;p&&(null===(b=u.unsubscribe)||void 0===b||b.call(u)),null===(R=u.finalize)||void 0===R||R.call(u)}))}):a.D}},88839:(ge,_,f)=>{"use strict";f.d(_,{b:()=>v,E:()=>u});var c=f(18359);class o extends c.yU{constructor(y,p){super()}schedule(y,p=0){return this}}const C={setInterval(g,y,...p){const{delegate:b}=C;return null!=b&&b.setInterval?b.setInterval(g,y,...p):setInterval(g,y,...p)},clearInterval(g){const{delegate:y}=C;return((null==y?void 0:y.clearInterval)||clearInterval)(g)},delegate:void 0};var a=f(57908),T=f(86129);class s{constructor(y,p=s.now){this.schedulerActionCtor=y,this.now=p}schedule(y,p=0,b){return new this.schedulerActionCtor(this,y).schedule(b,p)}}s.now=T.U.now;const u=new class h extends s{constructor(y,p=s.now){super(y,p),this.actions=[],this._active=!1}flush(y){const{actions:p}=this;if(this._active)return void p.push(y);let b;this._active=!0;do{if(b=y.execute(y.state,y.delay))break}while(y=p.shift());if(this._active=!1,b){for(;y=p.shift();)y.unsubscribe();throw b}}}(class E extends o{constructor(y,p){super(y,p),this.scheduler=y,this.work=p,this.pending=!1}schedule(y,p=0){var b;if(this.closed)return this;this.state=y;const R=this.id,P=this.scheduler;return null!=R&&(this.id=this.recycleAsyncId(P,R,p)),this.pending=!0,this.delay=p,this.id=null!==(b=this.id)&&void 0!==b?b:this.requestAsyncId(P,this.id,p),this}requestAsyncId(y,p,b=0){return C.setInterval(y.flush.bind(y,this),b)}recycleAsyncId(y,p,b=0){if(null!=b&&this.delay===b&&!1===this.pending)return p;null!=p&&C.clearInterval(p)}execute(y,p){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const b=this._execute(y,p);if(b)return b;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(y,p){let R,b=!1;try{this.work(y)}catch(P){b=!0,R=P||new Error("Scheduled action threw falsy error")}if(b)return this.unsubscribe(),R}unsubscribe(){if(!this.closed){const{id:y,scheduler:p}=this,{actions:b}=p;this.work=this.state=this.scheduler=null,this.pending=!1,(0,a.o)(b,this),null!=y&&(this.id=this.recycleAsyncId(p,y,null)),this.delay=null,super.unsubscribe()}}}),v=u},86129:(ge,_,f)=>{"use strict";f.d(_,{U:()=>c});const c={now:()=>(c.delegate||Date).now(),delegate:void 0}},19270:(ge,_,f)=>{"use strict";f.d(_,{f:()=>c});const c={setTimeout(o,C,...a){const{delegate:E}=c;return null!=E&&E.setTimeout?E.setTimeout(o,C,...a):setTimeout(o,C,...a)},clearTimeout(o){const{delegate:C}=c;return((null==C?void 0:C.clearTimeout)||clearTimeout)(o)},delegate:void 0}},4761:(ge,_,f)=>{"use strict";f.d(_,{l:()=>o});const o=function c(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(ge,_,f)=>{"use strict";f.d(_,{s:()=>c});const c="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(ge,_,f)=>{"use strict";f.d(_,{G:()=>o});const o=(0,f(81853).L)(C=>function(){C(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(ge,_,f)=>{"use strict";f.d(_,{R0:()=>T,lI:()=>E,ms:()=>a});var c=f(98071),o=f(79470);function C(s){return s[s.length-1]}function a(s){return(0,c.T)(C(s))?s.pop():void 0}function E(s){return(0,o.m)(C(s))?s.pop():void 0}function T(s,h){return"number"==typeof C(s)?s.pop():h}},93073:(ge,_,f)=>{"use strict";f.d(_,{D:()=>E});const{isArray:c}=Array,{getPrototypeOf:o,prototype:C,keys:a}=Object;
1function E(s){if(1===s.length){const h=s[0];if(c(h))return{args:h,keys:null};if(function T(s){return s&&"object"==typeof s&&o(s)===C}(h)){const u=a(h);return{args:u.map(v=>h[v]),keys:u}}}return{args:s,keys:null}}},57908:(ge,_,f)=>{"use strict";function c(o,C){if(o){const a=o.indexOf(C);0<=a&&o.splice(a,1)}}f.d(_,{o:()=>c})},81853:(ge,_,f)=>{"use strict";function c(o){const a=o(E=>{Error.call(E),E.stack=(new Error).stack});return a.prototype=Object.create(Error.prototype),a.prototype.constructor=a,a}f.d(_,{L:()=>c})},58496:(ge,_,f)=>{"use strict";function c(o,C){return o.reduce((a,E,T)=>(a[E]=C[T],a),{})}f.d(_,{e:()=>c})},49786:(ge,_,f)=>{"use strict";f.d(_,{Y:()=>C,l:()=>a});var c=f(41026);let o=null;function C(E){if(c.$.useDeprecatedSynchronousErrorHandling){const T=!o;if(T&&(o={errorThrown:!1,error:null}),E(),T){const{errorThrown:s,error:h}=o;if(o=null,s)throw h}}else E()}function a(E){c.$.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=E)}},45225:(ge,_,f)=>{"use strict";function c(o,C,a,E=0,T=!1){const s=C.schedule(function(){a(),T?o.add(this.schedule(null,E)):this.unsubscribe()},E);if(o.add(s),!T)return s}f.d(_,{N:()=>c})},33669:(ge,_,f)=>{"use strict";function c(o){return o}f.d(_,{D:()=>c})},47441:(ge,_,f)=>{"use strict";f.d(_,{X:()=>c});const c=o=>o&&"number"==typeof o.length&&"function"!=typeof o},37953:(ge,_,f)=>{"use strict";f.d(_,{T:()=>o});var c=f(98071);function o(C){return Symbol.asyncIterator&&(0,c.T)(null==C?void 0:C[Symbol.asyncIterator])}},28211:(ge,_,f)=>{"use strict";function c(o){return o instanceof Date&&!isNaN(o)}f.d(_,{v:()=>c})},98071:(ge,_,f)=>{"use strict";function c(o){return"function"==typeof o}f.d(_,{T:()=>c})},55055:(ge,_,f)=>{"use strict";f.d(_,{l:()=>C});var c=f(3494),o=f(98071);function C(a){return(0,o.T)(a[c.s])}},85397:(ge,_,f)=>{"use strict";f.d(_,{x:()=>C});var c=f(4761),o=f(98071);function C(a){return(0,o.T)(null==a?void 0:a[c.l])}},74402:(ge,_,f)=>{"use strict";f.d(_,{A:()=>C});var c=f(71985),o=f(98071);function C(a){return!!a&&(a instanceof c.c||(0,o.T)(a.lift)&&(0,o.T)(a.subscribe))}},59858:(ge,_,f)=>{"use strict";f.d(_,{y:()=>o});var c=f(98071);function o(C){return(0,c.T)(null==C?void 0:C.then)}},15196:(ge,_,f)=>{"use strict";f.d(_,{C:()=>C,U:()=>a});var c=f(31635),o=f(98071);function C(E){return(0,c.AQ)(this,arguments,function*(){const s=E.getReader();try{for(;;){const{value:h,done:u}=yield(0,c.N3)(s.read());if(u)return yield(0,c.N3)(void 0);yield yield(0,c.N3)(h)}}finally{s.releaseLock()}})}function a(E){return(0,o.T)(null==E?void 0:E.getReader)}},79470:(ge,_,f)=>{"use strict";f.d(_,{m:()=>o});var c=f(98071);function o(C){return C&&(0,c.T)(C.schedule)}},39974:(ge,_,f)=>{"use strict";f.d(_,{N:()=>C,S:()=>o});var c=f(98071);function o(a){return(0,c.T)(null==a?void 0:a.lift)}function C(a){return E=>{if(o(E))return E.lift(function(T){try{return a(T,this)}catch(s){this.error(s)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(ge,_,f)=>{"use strict";f.d(_,{I:()=>a});var c=f(96354);const{isArray:o}=Array;function a(E){return(0,c.T)(T=>function C(E,T){return o(T)?E(...T):E(T)}(E,T))}},85343:(ge,_,f)=>{"use strict";function c(){}f.d(_,{l:()=>c})},71203:(ge,_,f)=>{"use strict";f.d(_,{F:()=>o,m:()=>C});var c=f(33669);function o(...a){return C(a)}function C(a){return 0===a.length?c.D:1===a.length?a[0]:function(T){return a.reduce((s,h)=>h(s),T)}}},45334:(ge,_,f)=>{"use strict";f.d(_,{m:()=>C});var c=f(41026),o=f(19270);function C(a){o.f.setTimeout(()=>{const{onUnhandledError:E}=c.$;if(!E)throw a;E(a)})}},50591:(ge,_,f)=>{"use strict";function c(o){return new TypeError(`You provided ${null!==o&&"object"==typeof o?"an invalid object":`'${o}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}f.d(_,{L:()=>c})},95089:ge=>{var _=ge.exports={v:[{name:"version",reg:/^(\d*)$/}],o:[{name:"origin",reg:/^(\S*) (\d*) (\d*) (\S*) IP(\d) (\S*)/,names:["username","sessionId","sessionVersion","netType","ipVer","address"],format:"%s %s %d %s IP%d %s"}],s:[{name:"name"}],i:[{name:"description"}],u:[{name:"uri"}],e:[{name:"email"}],p:[{name:"phone"}],z:[{name:"timezones"}],r:[{name:"repeats"}],t:[{name:"timing",reg:/^(\d*) (\d*)/,names:["start","stop"],format:"%d %d"}],c:[{name:"connection",reg:/^IN IP(\d) (\S*)/,names:["version","ip"],format:"IN IP%d %s"}],b:[{push:"bandwidth",reg:/^(TIAS|AS|CT|RR|RS):(\d*)/,names:["type","limit"],format:"%s:%s"}],m:[{reg:/^(\w*) (\d*) ([\w/]*)(?: (.*))?/,names:["type","port","protocol","payloads"],format:"%s %d %s %s"}],a:[{push:"rtp",reg:/^rtpmap:(\d*) ([\w\-.]*)(?:\s*\/(\d*)(?:\s*\/(\S*))?)?/,names:["payload","codec","rate","encoding"],format:function(f){return f.encoding?"rtpmap:%d %s/%s/%s":f.rate?"rtpmap:%d %s/%s":"rtpmap:%d %s"}},{push:"fmtp",reg:/^fmtp:(\d*) ([\S| ]*)/,names:["payload","config"],format:"fmtp:%d %s"},{name:"control",reg:/^control:(.*)/,format:"control:%s"},{name:"rtcp",reg:/^rtcp:(\d*)(?: (\S*) IP(\d) (\S*))?/,names:["port","netType","ipVer","address"],format:function(f){return null!=f.address?"rtcp:%d %s IP%d %s":"rtcp:%d"}},{push:"rtcpFbTrrInt",reg:/^rtcp-fb:(\*|\d*) trr-int (\d*)/,names:["payload","value"],format:"rtcp-fb:%s trr-int %d"},{push:"rtcpFb",reg:/^rtcp-fb:(\*|\d*) ([\w-_]*)(?: ([\w-_]*))?/,names:["payload","type","subtype"],format:function(f){return null!=f.subtype?"rtcp-fb:%s %s %s":"rtcp-fb:%s %s"}},{push:"ext",reg:/^extmap:(\d+)(?:\/(\w+))?(?: (urn:ietf:params:rtp-hdrext:encrypt))? (\S
1*)(?: (\S*))?/,names:["value","direction","encrypt-uri","uri","config"],format:function(f){return"extmap:%d"+(f.direction?"/%s":"%v")+(f["encrypt-uri"]?" %s":"%v")+" %s"+(f.config?" %s":"")}},{name:"extmapAllowMixed",reg:/^(extmap-allow-mixed)/},{push:"crypto",reg:/^crypto:(\d*) ([\w_]*) (\S*)(?: (\S*))?/,names:["id","suite","config","sessionConfig"],format:function(f){return null!=f.sessionConfig?"crypto:%d %s %s %s":"crypto:%d %s %s"}},{name:"setup",reg:/^setup:(\w*)/,format:"setup:%s"},{name:"connectionType",reg:/^connection:(new|existing)/,format:"connection:%s"},{name:"mid",reg:/^mid:([^\s]*)/,format:"mid:%s"},{name:"msid",reg:/^msid:(.*)/,format:"msid:%s"},{name:"ptime",reg:/^ptime:(\d*(?:\.\d*)*)/,format:"ptime:%d"},{name:"maxptime",reg:/^maxptime:(\d*(?:\.\d*)*)/,format:"maxptime:%d"},{name:"direction",reg:/^(sendrecv|recvonly|sendonly|inactive)/},{name:"icelite",reg:/^(ice-lite)/},{name:"iceUfrag",reg:/^ice-ufrag:(\S*)/,format:"ice-ufrag:%s"},{name:"icePwd",reg:/^ice-pwd:(\S*)/,format:"ice-pwd:%s"},{name:"fingerprint",reg:/^fingerprint:(\S*) (\S*)/,names:["type","hash"],format:"fingerprint:%s %s"},{push:"candidates",reg:/^candidate:(\S*) (\d*) (\S*) (\d*) (\S*) (\d*) typ (\S*)(?: raddr (\S*) rport (\d*))?(?: tcptype (\S*))?(?: generation (\d*))?(?: network-id (\d*))?(?: network-cost (\d*))?/,names:["foundation","component","transport","priority","ip","port","type","raddr","rport","tcptype","generation","network-id","network-cost"],format:function(f){var c="candidate:%s %d %s %d %s %d typ %s";return c+=null!=f.raddr?" raddr %s rport %d":"%v%v",c+=null!=f.tcptype?" tcptype %s":"%v",null!=f.generation&&(c+=" generation %d"),(c+=null!=f["network-id"]?" network-id %d":"%v")+(null!=f["network-cost"]?" network-cost %d":"%v")}},{name:"endOfCandidates",reg:/^(end-of-candidates)/},{name:"remoteCandidates",reg:/^remote-candidates:(.*)/,format:"remote-candidates:%s"},{name:"iceOptions",reg:/^ice-options:(\S*)/,format:"ice-options:%s"},{push:"ssrcs",reg:/^ssrc:(\d*) ([\w_-]*)(?::(.*))?/,names:["id","attribute","value"],format:function(f){var c="ssrc:%d";return null!=f.attribute&&(c+=" %s",null!=f.value&&(c+=":%s")),c}},{push:"ssrcGroups",reg:/^ssrc-group:([\x21\x23\x24\x25\x26\x27\x2A\x2B\x2D\x2E\w]*) (.*)/,names:["semantics","ssrcs"],format:"ssrc-group:%s %s"},{name:"msidSemantic",reg:/^msid-semantic:\s?(\w*) (\S*)/,names:["semantic","token"],format:"msid-semantic: %s %s"},{push:"groups",reg:/^group:(\w*) (.*)/,names:["type","mids"],format:"group:%s %s"},{name:"rtcpMux",reg:/^(rtcp-mux)/},{name:"rtcpRsize",reg:/^(rtcp-rsize)/},{name:"sctpmap",reg:/^sctpmap:([\w_/]*) (\S*)(?: (\S*))?/,names:["sctpmapNumber","app","maxMessageSize"],format:function(f){return null!=f.maxMessageSize?"sctpmap:%s %s %s":"sctpmap:%s %s"}},{name:"xGoogleFlag",reg:/^x-google-flag:([^\s]*)/,format:"x-google-flag:%s"},{push:"rids",reg:/^rid:([\d\w]+) (\w+)(?: ([\S| ]*))?/,names:["id","direction","params"],format:function(f){return f.params?"rid:%s %s %s":"rid:%s %s"}},{push:"imageattrs",reg:new RegExp("^imageattr:(\\d+|\\*)[\\s\\t]+(send|recv)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*)(?:[\\s\\t]+(recv|send)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*))?"),names:["pt","dir1","attrs1","dir2","attrs2"],format:function(f){return"imageattr:%s %s %s"+(f.dir2?" %s %s":"")}},{name:"simulcast",reg:new RegExp("^simulcast:(send|recv) ([a-zA-Z0-9\\-_~;,]+)(?:\\s?(send|recv) ([a-zA-Z0-9\\-_~;,]+))?$"),names:["dir1","list1","dir2","list2"],format:function(f){return"simulcast:%s %s"+(f.dir2?" %s %s":"")}},{name:"simulcast_03",reg:/^simulcast:[\s\t]+([\S+\s\t]+)$/,names:["value"],format:"simulcast: %s"},{name:"framerate",reg:/^framerate:(\d+(?:$|\.\d+))/,format:"framerate:%s"},{name:"sourceFilter",reg:/^source-filter: *(excl|incl) (\S*) (IP4|IP6|\*) (\S*) (.*)/,names:["filterMode","netType","addressTypes","destAddress","srcList"],format:"source-filter: %s %s %s %s %s"},{name:"bundleOnly",reg:/^(bundle-only)/},{name:"label",reg:/^label:(.+)/,format:"label:%s"},{name:"sctpPort",reg:/^sctp-port:(\d+)$/,format:"sctp-port:%s"},{name:"maxMessageSize",reg:/^max-message-size:(\d+)$/,format:"max-message-size:%s"}
vendor: 3,828 bytes, line 1
1,{push:"tsRefClocks",reg:/^ts-refclk:([^\s=]*)(?:=(\S*))?/,names:["clksrc","clksrcExt"],format:function(f){return"ts-refclk:%s"+(null!=f.clksrcExt?"=%s":"")}},{name:"mediaClk",reg:/^mediaclk:(?:id=(\S*))? *([^\s=]*)(?:=(\S*))?(?: *rate=(\d+)\/(\d+))?/,names:["id","mediaClockName","mediaClockValue","rateNumerator","rateDenominator"],format:function(f){var c="mediaclk:";return c+=null!=f.id?"id=%s %s":"%v%s",c+=null!=f.mediaClockValue?"=%s":"",(c+=null!=f.rateNumerator?" rate=%s":"")+(null!=f.rateDenominator?"/%s":"")}},{name:"keywords",reg:/^keywds:(.+)$/,format:"keywds:%s"},{name:"content",reg:/^content:(.+)/,format:"content:%s"},{name:"bfcpFloorCtrl",reg:/^floorctrl:(c-only|s-only|c-s)/,format:"floorctrl:%s"},{name:"bfcpConfId",reg:/^confid:(\d+)/,format:"confid:%s"},{name:"bfcpUserId",reg:/^userid:(\d+)/,format:"userid:%s"},{name:"bfcpFloorId",reg:/^floorid:(.+) (?:m-stream|mstrm):(.+)/,names:["id","mStream"],format:"floorid:%s mstrm:%s"},{push:"invalid",names:["value"]}]};Object.keys(_).forEach(function(f){_[f].forEach(function(o){o.reg||(o.reg=/(.*)/),o.format||(o.format="%s")})})},86888:(ge,_,f)=>{var c=f(65133),o=f(24061);_.write=o,_.parse=c.parse,_.parseParams=c.parseParams,_.parseFmtpConfig=c.parseFmtpConfig,_.parsePayloads=c.parsePayloads,_.parseRemoteCandidates=c.parseRemoteCandidates,_.parseImageAttributes=c.parseImageAttributes,_.parseSimulcastStreamList=c.parseSimulcastStreamList},65133:(ge,_,f)=>{var c=function(s){return String(Number(s))===s?Number(s):s},C=function(s,h,u){var v=s.name&&s.names;s.push&&!h[s.push]?h[s.push]=[]:v&&!h[s.name]&&(h[s.name]={});var g=s.push?{}:v?h[s.name]:h;(function(s,h,u,v){if(v&&!u)h[v]=c(s[1]);else for(var g=0;g<u.length;g+=1)null!=s[g+1]&&(h[u[g]]=c(s[g+1]))})(u.match(s.reg),g,s.names,s.name),s.push&&h[s.push].push(g)},a=f(95089),E=RegExp.prototype.test.bind(/^([a-z])=(.*)/);_.parse=function(s){var h={},u=[],v=h;return s.split(/(\r\n|\r|\n)/).filter(E).forEach(function(g){var y=g[0],p=g.slice(2);"m"===y&&(u.push({rtp:[],fmtp:[]}),v=u[u.length-1]);for(var b=0;b<(a[y]||[]).length;b+=1){var R=a[y][b];if(R.reg.test(p))return C(R,v,p)}}),h.media=u,h};var T=function(s,h){var u=h.split(/=(.+)/,2);return 2===u.length?s[u[0]]=c(u[1]):1===u.length&&h.length>1&&(s[u[0]]=void 0),s};_.parseParams=function(s){return s.split(/;\s?/).reduce(T,{})},_.parseFmtpConfig=_.parseParams,_.parsePayloads=function(s){return s.toString().split(" ").map(Number)},_.parseRemoteCandidates=function(s){for(var h=[],u=s.split(" ").map(c),v=0;v<u.length;v+=3)h.push({component:u[v],ip:u[v+1],port:u[v+2]});return h},_.parseImageAttributes=function(s){return s.split(" ").map(function(h){return h.substring(1,h.length-1).split(",").reduce(T,{})})},_.parseSimulcastStreamList=function(s){return s.split(";").map(function(h){return h.split(",").map(function(u){var v,g=!1;return"~"!==u[0]?v=c(u):(v=c(u.substring(1,u.length)),g=!0),{scid:v,paused:g}})})}},24061:(ge,_,f)=>{var c=f(95089),o=/%[sdv%]/g,C=function(s){var h=1,u=arguments,v=u.length;return s.replace(o,function(g){if(h>=v)return g;var y=u[h];switch(h+=1,g){case"%%":return"%";case"%s":return String(y);case"%d":return Number(y);case"%v":return""}})},a=function(s,h,u){var g=[s+"="+(h.format instanceof Function?h.format(h.push?u:u[h.name]):h.format)];if(h.names)for(var y=0;y<h.names.length;y+=1)g.push(h.name?u[h.name][h.names[y]]:u[h.names[y]]);else g.push(u[h.name]);return C.apply(null,g)},E=["v","o","s","i","u","e","p","c","b","t","r","z","a"],T=["i","c","b","a"];ge.exports=function(s,h){h=h||{},null==s.version&&(s.version=0),null==s.name&&(s.name=" "),s.media.forEach(function(y){null==y.payloads&&(y.payloads="")});var v=h.innerOrder||T,g=[];return(h.outerOrder||E).forEach(function(y){c[y].forEach(function(p){p.name in s&&null!=s[p.name]?g.push(a(y,p,s)):p.push in s&&null!=s[p.push]&&s[p.push].forEac
1h(function(b){g.push(a(y,p,b))})})}),s.media.forEach(function(y){g.push(a("m",c.m[0],y)),v.forEach(function(p){c[p].forEach(function(b){b.name in y&&null!=y[b.name]?g.push(a(p,b,y)):b.push in y&&null!=y[b.push]&&y[b.push].forEach(function(R){g.push(a(p,b,R))})})})}),g.join("\r\n")+"\r\n"}},42442:function(ge,_){var f,o;void 0!==(o="function"==typeof(f=function(){var C=function a(E){function T(fe,ne){return fe>>>ne|fe<<32-ne}for(var v,g,s=Math.pow,h=s(2,32),u="length",y="",p=[],b=8*E[u],R=a.h=a.h||[],P=a.k=a.k||[],k=P[u],O={},V=2;k<64;V++)if(!O[V]){for(v=0;v<313;v+=V)O[v]=V;R[k]=s(V,.5)*h|0,P[k++]=s(V,.3333333333333333)*h|0}for(E+="\x80";E[u]%64-56;)E+="\0";for(v=0;v<E[u];v++){if((g=E.charCodeAt(v))>>8)return;p[v>>2]|=g<<(3-v)%4*8}for(p[p[u]]=b/h|0,p[p[u]]=b,g=0;g<p[u];){var K=p.slice(g,g+=16),z=R;for(R=R.slice(0,8),v=0;v<64;v++){var x=K[v-15],q=K[v-2],Z=R[0],de=R[4],ee=R[7]+(T(de,6)^T(de,11)^T(de,25))+(de&R[5]^~de&R[6])+P[v]+(K[v]=v<16?K[v]:K[v-16]+(T(x,7)^T(x,18)^x>>>3)+K[v-7]+(T(q,17)^T(q,19)^q>>>10)|0);(R=[ee+((T(Z,2)^T(Z,13)^T(Z,22))+(Z&R[1]^Z&R[2]^R[1]&R[2]))|0].concat(R))[4]=R[4]+ee|0}for(v=0;v<8;v++)R[v]=R[v]+z[v]|0}for(v=0;v<8;v++)for(g=3;g+1;g--){var ae=R[v]>>8*g&255;y+=(ae<16?0:"")+ae.toString(16)}return y};return C.code='var sha256=function a(b){function c(a,b){return a>>>b|a<<32-b}for(var d,e,f=Math.pow,g=f(2,32),h="length",i="",j=[],k=8*b[h],l=a.h=a.h||[],m=a.k=a.k||[],n=m[h],o={},p=2;64>n;p++)if(!o[p]){for(d=0;313>d;d+=p)o[d]=p;l[n]=f(p,.5)*g|0,m[n++]=f(p,1/3)*g|0}for(b+="\\x80";b[h]%64-56;)b+="\\x00";for(d=0;d<b[h];d++){if(e=b.charCodeAt(d),e>>8)return;j[d>>2]|=e<<(3-d)%4*8}for(j[j[h]]=k/g|0,j[j[h]]=k,e=0;e<j[h];){var q=j.slice(e,e+=16),r=l;for(l=l.slice(0,8),d=0;64>d;d++){var s=q[d-15],t=q[d-2],u=l[0],v=l[4],w=l[7]+(c(v,6)^c(v,11)^c(v,25))+(v&l[5]^~v&l[6])+m[d]+(q[d]=16>d?q[d]:q[d-16]+(c(s,7)^c(s,18)^s>>>3)+q[d-7]+(c(t,17)^c(t,19)^t>>>10)|0),x=(c(u,2)^c(u,13)^c(u,22))+(u&l[1]^u&l[2]^l[1]&l[2]);l=[w+x|0].concat(l),l[4]=l[4]+w|0}for(d=0;8>d;d++)l[d]=l[d]+r[d]|0}for(d=0;8>d;d++)for(e=3;e+1;e--){var y=l[d]>>8*e&255;i+=(16>y?0:"")+y.toString(16)}return i};',C})?f.apply(_,[]):f)&&(ge.exports=o)},6835:function(ge,_,f){var c;ge=f.nmd(ge),function(o){"object"==typeof global&&global;var T,s=2147483647,h=36,v=26,g=38,y=700,P=/^xn--/,k=/[^\x20-\x7E]/,O=/[\x2E\u3002\uFF0E\uFF61]/g,V={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},K=h-1,z=Math.floor,H=String.fromCharCode;function q(X){throw RangeError(V[X])}function Z(X,M){for(var N=X.length,G=[];N--;)G[N]=M(X[N]);return G}function de(X,M){var N=X.split("@"),G="";return N.length>1&&(G=N[0]+"@",X=N[1]),G+Z((X=X.replace(O,".")).split("."),M).join(".")}function ee(X){for(var ue,ve,M=[],N=0,G=X.length;N<G;)(ue=X.charCodeAt(N++))>=55296&&ue<=56319&&N<G?56320==(64512&(ve=X.charCodeAt(N++)))?M.push(((1023&ue)<<10)+(1023&ve)+65536):(M.push(ue),N--):M.push(ue);return M}function Y(X){return Z(X,function(M){var N="";return M>65535&&(N+=H((M-=65536)>>>10&1023|55296),M=56320|1023&M),N+H(M)}).join("")}function ae(X){return X-48<10?X-22:X-65<26?X-65:X-97<26?X-97:h}function fe(X,M){return X+22+75*(X<26)-((0!=M)<<5)}function ne(X,M,N){var G=0;for(X=N?z(X/y):X>>1,X+=z(X/M);X>K*v>>1;G+=h)X=z(X/K);return z(G+(K+1)*X/(X+g))}function ce(X){var G,Re,et,at,Pt,At,It,qt,St,lt,M=[],N=X.length,ue=0,ve=128,we=72;for((Re=X.lastIndexOf("-"))<0&&(Re=0),et=0;et<Re;++et)X.charCodeAt(et)>=128&&q("not-basic"),M.push(X.charCodeAt(et));for(at=Re>0?Re+1:0;at<N;){for(Pt=ue,At=1,It=h;at>=N&&q("invalid-input"),((qt=ae(X.charCodeAt(at++)))>=h||qt>z((s-ue)/At))&&q("overflow"),ue+=qt*At,!(qt<(St=It<=we?1:It>=we+v?v:It-we));It+=h)At>z(s/(lt=h-St))&&q("overflow"),At*=lt;we=ne(ue-Pt,G=M.length+1,0==Pt),z(ue/G)>s-ve&&q("overflow"),ve+=z(ue/G),ue%=G,M.splice(ue++,0,ve)}return Y(M)}function me(X){var M,N,G,ue,ve,we,Re,et,at,Pt,At,qt,St,lt,yt,It=[];for(qt=(X=ee(X)).length,M=128,N=0,ve=72,we=0;we<qt;++we)(At=X[we])<128&&It.push(H(At));for(G=ue=It.length,ue&&It.push("-");G<qt;){for(Re=s,we=0;we<qt;++we)(At=X[we])>=M&&At<Re&&(Re=At);for(Re-M>
vendor: 10,265 bytes, line 1
1z((s-N)/(St=G+1))&&q("overflow"),N+=(Re-M)*St,M=Re,we=0;we<qt;++we)if((At=X[we])<M&&++N>s&&q("overflow"),At==M){for(et=N,at=h;!(et<(Pt=at<=ve?1:at>=ve+v?v:at-ve));at+=h)It.push(H(fe(Pt+(yt=et-Pt)%(lt=h-Pt),0))),et=z(yt/lt);It.push(H(fe(et,0))),ve=ne(N,St,G==ue),N=0,++G}++N,++M}return It.join("")}T={version:"1.3.2",ucs2:{decode:ee,encode:Y},decode:ce,encode:me,toASCII:function $(X){return de(X,function(M){return k.test(M)?"xn--"+me(M):M})},toUnicode:function re(X){return de(X,function(M){return P.test(M)?ce(M.slice(4).toLowerCase()):M})}},void 0!==(c=function(){return T}.call(_,f,_,ge))&&(ge.exports=c)}()},83888:(ge,_,f)=>{"use strict";var c=f(6835),o=f(2513);function C(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}_.parse=V,_.resolve=function z(x,q){return V(x,!1,!0).resolve(q)},_.resolveObject=function H(x,q){return x?V(x,!1,!0).resolveObject(q):q},_.format=function K(x){return o.isString(x)&&(x=V(x)),x instanceof C?x.format():C.prototype.format.call(x)},_.Url=C;var a=/^([a-z0-9.+-]+:)/i,E=/:[0-9]*$/,T=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,h=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(h),v=["%","/","?",";","#"].concat(u),g=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,R={javascript:!0,"javascript:":!0},P={javascript:!0,"javascript:":!0},k={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},O=f(38845);function V(x,q,Z){if(x&&o.isObject(x)&&x instanceof C)return x;var de=new C;return de.parse(x,q,Z),de}C.prototype.parse=function(x,q,Z){if(!o.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var de=x.indexOf("?"),ee=-1!==de&&de<x.indexOf("#")?"?":"#",Y=x.split(ee);Y[0]=Y[0].replace(/\\/g,"/");var fe=x=Y.join(ee);if(fe=fe.trim(),!Z&&1===x.split("#").length){var ne=T.exec(fe);if(ne)return this.path=fe,this.href=fe,this.pathname=ne[1],ne[2]?(this.search=ne[2],this.query=q?O.parse(this.search.substr(1)):this.search.substr(1)):q&&(this.search="",this.query={}),this}var ce=a.exec(fe);if(ce){var me=(ce=ce[0]).toLowerCase();this.protocol=me,fe=fe.substr(ce.length)}if(Z||ce||fe.match(/^\/\/[^@\/]+@[^@\/]+/)){var re="//"===fe.substr(0,2);re&&(!ce||!P[ce])&&(fe=fe.substr(2),this.slashes=!0)}if(!P[ce]&&(re||ce&&!k[ce])){for(var $=-1,X=0;X<g.length;X++)-1!==(M=fe.indexOf(g[X]))&&(-1===$||M<$)&&($=M);var N,G;for(-1!==(G=-1===$?fe.lastIndexOf("@"):fe.lastIndexOf("@",$))&&(N=fe.slice(0,G),fe=fe.slice(G+1),this.auth=decodeURIComponent(N)),$=-1,X=0;X<v.length;X++){var M;-1!==(M=fe.indexOf(v[X]))&&(-1===$||M<$)&&($=M)}-1===$&&($=fe.length),this.host=fe.slice(0,$),fe=fe.slice($),this.parseHost(),this.hostname=this.hostname||"";var ue="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!ue)for(var ve=this.hostname.split(/\./),we=(X=0,ve.length);X<we;X++){var Re=ve[X];if(Re&&!Re.match(p)){for(var et="",at=0,Pt=Re.length;at<Pt;at++)Re.charCodeAt(at)>127?et+="x":et+=Re[at];if(!et.match(p)){var At=ve.slice(0,X),It=ve.slice(X+1),qt=Re.match(b);qt&&(At.push(qt[1]),It.unshift(qt[2])),It.length&&(fe="/"+It.join(".")+fe),this.hostname=At.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),ue||(this.hostname=c.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,ue&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==fe[0]&&(fe="/"+fe))}if(!R[me])for(X=0,we=u.length;X<we;X++){var yt=u[X];if(-1!==fe.indexOf(yt)){var Ft=encodeURIComponent(yt);Ft===yt&&(Ft=escape(yt)),fe=fe.split(yt).join(Ft)}}var rt=fe.indexOf("#");-1!==rt&&(this.hash=fe.substr(rt),fe=fe.slice(0,rt));var mt=fe.indexOf("?");return-1!==mt?(this.search=fe.substr(mt),this.query=fe.substr(mt+1),q&&(this.query=O.parse(this.query)),fe=fe.slice(0,mt)):q&&(this.search="",this.query={}),fe&&(this.pathname=fe),k[me]&&this.hostname&&!this.pathname&&(this.pathname="/"),(this.pathname||this.search)&&(this.path=(this.pathname||"")+(this.search||"")),this.href=this.format(),this},C.prototype.format=function(){var x=this.auth||"";x&&(x=(x=encodeURIComponent(x)).replace(/%3A/i,":"),x+="@");var q=this.protocol||"",Z=this.pathname||"",de=this.hash||"",ee=!1,Y="";this.host?ee=x+this.host:this.hostname&&(ee=x+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(ee+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(Y=O.stringify(this.query));var ae=this.search||Y&&"?"+Y||"";return q&&":"!==q.substr(-1)&&(q+=":"),this.slashes||(!q||k[q])&&!1!==ee?(ee="//"+(ee||""),Z&&"/"!==Z.charAt(0)&&(Z="/"+Z)):ee||(ee=""),de&&"#"!==de.charAt(0)&&(de="#"+de),ae&&"?"!==ae.charAt(0)&&(ae="?"+ae),q+ee+(Z=Z.replace(/[?#]/g,function(fe){return encodeURIComponent(fe)}))+(ae=ae.replace("#","%23"))+de},C.prototype.resolve=function(x){return this.resolveObject(V(x,!1,!0)).format()},C.prototype.resolveObject=function(x){if(o.isString(x)){var q=new C;q.parse(x,!1,!0),x=q}for(var Z=new C,de=Object.keys(this),ee=0;ee<de.length;ee++){var Y=de[ee];Z[Y]=this[Y]}if(Z.hash=x.hash,""===x.href)return Z.href=Z.format(),Z;if(x.slashes&&!x.protocol){for(var ae=Object.keys(x),fe=0;fe<ae.length;fe++){var ne=ae[fe];"protocol"!==ne&&(Z[ne]=x[ne])}return k[Z.protocol]&&Z.hostname&&!Z.pathname&&(Z.path=Z.pathname="/"),Z.href=Z.format(),Z}if(x.protocol&&x.protocol!==Z.protocol){if(!k[x.protocol]){for(var ce=Object.keys(x),me=0;me<ce.length;me++){var re=ce[me];Z[re]=x[re]}return Z.href=Z.format(),Z}if(Z.protocol=x.protocol,x.host||P[x.protocol])Z.pathname=x.pathname;else{for(var we=(x.pathname||"").split("/");we.length&&!(x.host=we.shift()););x.host||(x.host=""),x.hostname||(x.hostname=""),""!==we[0]&&we.unshift(""),we.length<2&&we.unshift(""),Z.pathname=we.join("/")}return Z.search=x.search,Z.query=x.query,Z.host=x.host||"",Z.auth=x.auth,Z.hostname=x.hostname||x.host,Z.port=x.port,(Z.pathname||Z.search)&&(Z.path=(Z.pathname||"")+(Z.search||"")),Z.slashes=Z.slashes||x.slashes,Z.href=Z.format(),Z}var M=Z.pathname&&"/"===Z.pathname.charAt(0),N=x.host||x.pathname&&"/"===x.pathname.charAt(0),G=N||M||Z.host&&x.pathname,ue=G,ve=Z.pathname&&Z.pathname.split("/")||[],Re=(we=x.pathname&&x.pathname.split("/")||[],Z.protocol&&!k[Z.protocol]);if(Re&&(Z.hostname="",Z.port=null,Z.host&&(""===ve[0]?ve[0]=Z.host:ve.unshift(Z.host)),Z.host="",x.protocol&&(x.hostname=null,x.port=null,x.host&&(""===we[0]?we[0]=x.host:we.unshift(x.host)),x.host=null),G=G&&(""===we[0]||""===ve[0])),N)Z.host=x.host||""===x.host?x.host:Z.host,Z.hostname=x.hostname||""===x.hostname?x.hostname:Z.hostname,Z.search=x.search,Z.query=x.query,ve=we;else if(we.length)ve||(ve=[]),ve.pop(),ve=ve.concat(we),Z.search=x.search,Z.query=x.query;else if(!o.isNullOrUndefined(x.search))return Re&&(Z.hostname=Z.host=ve.shift(),(et=!!(Z.host&&Z.host.indexOf("@")>0)&&Z.host.split("@"))&&(Z.auth=et.shift(),Z.host=Z.hostname=et.shift())),Z.search=x.search,Z.query=x.query,(!o.isNull(Z.pathname)||!o.isNull(Z.search))&&(Z.path=(Z.pathname?Z.pathname:"")+(Z.search?Z.search:"")),Z.href=Z.format(),Z;if(!ve.length)return Z.pathname=null,Z.path=Z.search?"/"+Z.search:null,Z.href=Z.format(),Z;for(var at=ve.slice(-1)[0],Pt=(Z.host||x.host||ve.length>1)&&("."===at||".."===at)||""===at,At=0,It=ve.length;It>=0;It--)"."===(at=ve[It])?ve.splice(It,1):".."===at?(ve.splice(It,1),At++):At&&(ve.splice(It,1),At--);if(!G&&!ue)for(;At--;At)ve.unshift("..");G&&""!==ve[0]&&(!ve[0]||"/"!==ve[0].charAt(0))&&ve.unshift(""),Pt&&"/"!==ve.join("/").substr(-1)&&ve.push("");var et,qt=""===ve[0]||ve[0]&&"/"===ve[0].charAt(0);return Re&&(Z.hostname=Z.host=qt?"":ve.length?ve.shift():"",(et=!!(Z.host&&Z.host.indexOf("@")>0)&&Z.host.split("@"))&&(Z.auth=et.shift(),Z.host=Z.hostname=et.shift())),(G=G||Z.host&&ve.length)&&!qt&&ve.unshift(""),ve.length?Z.pathname=ve.join("/"):(Z.pathname=null,Z.path=null),(!o.isNull(Z.pathname)||!o.isNull(Z.search))&&(Z.path=(Z.pathname?Z.pathname:"")+(Z.search?Z.search:"")),Z.auth=x.auth||Z.auth,Z.slashes=Z.slashes||x.slashes,Z.href=Z.format(),Z},C.prototype.parseHost=function(){var x=this.host,q=E.exec(x);q&&(":"!==(q=q[0])&&(this.port=q.substr(1)),x=x.substr(0,x.length-q.length)),x&&(this.hostname=x)}},2513:ge=>{"use strict";ge.exports={isString:function(_){return"string"==typeof _},isObject:function(_){return"object"==typeof _&&null!==_},isNull:function(_){return null===_},isNullOrUndefined:function(_){return null==_}}},20295:function(module){var _;this||self,_=function(){return function(){var __webpack_modules__={4264:function(ge,_,f){ge.exports=f(7588)},5036:function(ge,_,f){f(1719),f(5677),f(6394),f(5334),f(6969),f(2021),f(8328),f(2129);var c=f(1287);ge.exports=c.Promise},2582:function(ge,_,f){f(1646),f(6394),f(2004),f(462),f(8407),f(2429),f(1172),f(8288),f(1274),f(8201),f(6626),f(3211),f(9952),f(15),f(9831),f(7521),f(2972),f(6956),f(5222),f(2257);var c=f(1287);ge.exports=c.Symbol},8257:function(ge,_,f){var c=f(7583),o=f(9212),C=f(5637),a=c.TypeError;ge.exports=function(E){if(o(E))return E;throw a(C(E)+" is not a function")}},1186:function(ge,_,f){var c=f(7583),o=f(2097),C=f(5637),a=c.TypeError;ge.exports=function(E){if(o(E))return E;throw a(C(E)+" is not a constructor")}},9882:function(ge,_,f){var c=f(7583),o=f(9212),C=c.String,a=c.TypeError;ge.exports=function(E){if("object"==typeof E||o(E))return E;throw a("Can't set "+C(E)+" as a prototype")}},6288:function(ge,_,f){var c=f(3649),o=f(3590),C=f(4615),a=c("unscopables"),E=Array.prototype;null==E[a]&&C.f(E,a,{configurable:!0,value:o(null)}),ge.exports=function(T){E[a][T]=!0}},4761:function(ge,_,f){var c=f(7583),o=f(2447),C=c.TypeError;ge.exports=function(a,E){if(o(E,a))return a;throw C("Incorrect invocation")}},2569:function(ge,_,f){var c=f(7583),o=f(794),C=c.String,a=c.TypeError;ge.exports=function(E){if(o(E))return E;throw a(C(E)+" is not an object")}},5766:function(ge,_,f){var c=f(2977),o=f(6782),C=f(1825),a=function(E){return function(T,s,h){var u,v=c(T),g=C(v),y=o(h,g);if(E&&s!=s){for(;g>y;)if((u=v[y++])!=u)return!0}else for(;g>y;y++)if((E||y in v)&&v[y]===s)return E||y||0;return!E&&-1}};ge.exports={includes:a(!0),indexOf:a(!1)}}
vendor: 4,330 bytes, line 1
1,4805:function(ge,_,f){var c=f(2938),o=f(7386),C=f(5044),a=f(1324),E=f(1825),T=f(4822),s=o([].push),h=function(u){var v=1==u,g=2==u,y=3==u,p=4==u,b=6==u,R=7==u,P=5==u||b;return function(k,O,V,K){for(var z,H,x=a(k),q=C(x),Z=c(O,V),de=E(q),ee=0,Y=K||T,ae=v?Y(k,de):g||R?Y(k,0):void 0;de>ee;ee++)if((P||ee in q)&&(H=Z(z=q[ee],ee,x),u))if(v)ae[ee]=H;else if(H)switch(u){case 3:return!0;case 5:return z;case 6:return ee;case 2:s(ae,z)}else switch(u){case 4:return!1;case 7:s(ae,z)}return b?-1:y||p?p:ae}};ge.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6),filterReject:h(7)}},9269:function(ge,_,f){var c=f(6544),o=f(3649),C=f(4061),a=o("species");ge.exports=function(E){return C>=51||!c(function(){var T=[];return(T.constructor={})[a]=function(){return{foo:1}},1!==T[E](Boolean).foo})}},4546:function(ge,_,f){var c=f(7583),o=f(6782),C=f(1825),a=f(5999),E=c.Array,T=Math.max;ge.exports=function(s,h,u){for(var v=C(s),g=o(h,v),y=o(void 0===u?v:u,v),p=E(T(y-g,0)),b=0;g<y;g++,b++)a(p,b,s[g]);return p.length=b,p}},6917:function(ge,_,f){var c=f(7386);ge.exports=c([].slice)},5289:function(ge,_,f){var c=f(7583),o=f(4521),C=f(2097),a=f(794),E=f(3649)("species"),T=c.Array;ge.exports=function(s){var h;return o(s)&&(C(h=s.constructor)&&(h===T||o(h.prototype))||a(h)&&null===(h=h[E]))&&(h=void 0),void 0===h?T:h}},4822:function(ge,_,f){var c=f(5289);ge.exports=function(o,C){return new(c(o))(0===C?0:C)}},3616:function(ge,_,f){var c=f(3649)("iterator"),o=!1;try{var C=0,a={next:function(){return{done:!!C++}},return:function(){o=!0}};a[c]=function(){return this},Array.from(a,function(){throw 2})}catch{}ge.exports=function(E,T){if(!T&&!o)return!1;var s=!1;try{var h={};h[c]=function(){return{next:function(){return{done:s=!0}}}},E(h)}catch{}return s}},9624:function(ge,_,f){var c=f(7386),o=c({}.toString),C=c("".slice);ge.exports=function(a){return C(o(a),8,-1)}},3058:function(ge,_,f){var c=f(7583),o=f(8191),C=f(9212),a=f(9624),E=f(3649)("toStringTag"),T=c.Object,s="Arguments"==a(function(){return arguments}());ge.exports=o?a:function(h){var u,v,g;return void 0===h?"Undefined":null===h?"Null":"string"==typeof(v=function(y,p){try{return y[p]}catch{}}(u=T(h),E))?v:s?a(u):"Object"==(g=a(u))&&C(u.callee)?"Arguments":g}},1509:function(ge,_,f){var c=f(7386)("".replace),o=String(Error("zxcasd").stack),C=/\n\s*at [^:]*:[^\n]*/,a=C.test(o);ge.exports=function(E,T){if(a&&"string"==typeof E)for(;T--;)E=c(E,C,"");return E}},3478:function(ge,_,f){var c=f(2870),o=f(929),C=f(6683),a=f(4615);ge.exports=function(E,T,s){for(var h=o(T),u=a.f,v=C.f,g=0;g<h.length;g++){var y=h[g];c(E,y)||s&&c(s,y)||u(E,y,v(T,y))}}},926:function(ge,_,f){var c=f(6544);ge.exports=!c(function(){function o(){}return o.prototype.constructor=null,Object.getPrototypeOf(new o)!==o.prototype})},4683:function(ge,_,f){"use strict";var c=f(2365).IteratorPrototype,o=f(3590),C=f(4677),a=f(8821),E=f(339),T=function(){return this};ge.exports=function(s,h,u,v){var g=h+" Iterator";return s.prototype=o(c,{next:C(+!v,u)}),a(s,g,!1,!0),E[g]=T,s}},57:function(ge,_,f){var c=f(8494),o=f(4615),C=f(4677);ge.exports=c?function(a,E,T){return o.f(a,E,C(1,T))}:function(a,E,T){return a[E]=T,a}},4677:function(ge){ge.exports=function(_,f){return{enumerable:!(1&_),configurable:!(2&_),writable:!(4&_),value:f}}},5999:function(ge,_,f){"use strict";var c=f(8734),o=f(4615),C=f(4677);ge.exports=function(a,E,T){var s=c(E);s in a?o.f(a,s,C(0,T)):a[s]=T}},9012:function(ge,_,f){"use strict";var c=f(7263),o=f(8262),C=f(6268),a=f(4340),E=f(9212),T=f(4683),s=f(729),h=f(7496),u=f(8821),v=f(57),g=f(1270),y=f(3649),p=f(339),b=f(2365),R=a.PROPER,P=a.CONFIGURABLE,k=b.IteratorPrototype,O=b.BUGGY_SAFARI_ITERATORS,V=y("iterator"),K="keys",z="values",H="entries",x=function(){return this};ge.exports=function(q,Z,de,ee,Y,ae,fe){T(de,Z,ee);var ne,ce,me,re=function(ve){if(ve===Y&&G)return G;if(!O&&ve in M)return M[ve];switch(ve){case K:case z:case H:return function(){return new de(this,ve)}}return function(){return new de(this)}},$=Z+" Iterator",X=!1,M=q.prototype,N=M[V]||M["@@iterator"]||Y&&M[Y],G=!O&&N||re(Y),ue="Array"==Z&&M.entries||N;if(ue&&(ne=s(ue.call(new q)))!==Object.prototype&&ne.next&&(C||s(ne)===k||(h?h(ne,k):E(ne[V])||g(ne,V,x)),u(ne,$,!0,!0),C&&(p[$]=x)),R&&Y==z&&N&&N.name!==z&&(!C&&P?v(M,"name",z):(X=!0,G=function(){return o(N,this)}
vendor: 1,497 bytes, line 1
1)),Y)if(ce={values:re(z),keys:ae?G:re(K),entries:re(H)},fe)for(me in ce)(O||X||!(me in M))&&g(M,me,ce[me]);else c({target:Z,proto:!0,forced:O||X},ce);return C&&!fe||M[V]===G||g(M,V,G,{name:Y}),p[Z]=G,ce}},2219:function(ge,_,f){var c=f(1287),o=f(2870),C=f(491),a=f(4615).f;ge.exports=function(E){var T=c.Symbol||(c.Symbol={});o(T,E)||a(T,E,{value:C.f(E)})}},8494:function(ge,_,f){var c=f(6544);ge.exports=!c(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},6668:function(ge,_,f){var c=f(7583),o=f(794),C=c.document,a=o(C)&&o(C.createElement);ge.exports=function(E){return a?C.createElement(E):{}}},6778:function(ge){ge.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9307:function(ge,_,f){var c=f(6668)("span").classList,o=c&&c.constructor&&c.constructor.prototype;ge.exports=o===Object.prototype?void 0:o},2274:function(ge){ge.exports="object"==typeof window},3256:function(ge,_,f){var c=f(6918),o=f(7583);ge.exports=/ipad|iphone|ipod/i.test(c)&&void 0!==o.Pebble},7020:function(ge,_,f){var c=f(6918);
vendor: 3,846 bytes, line 1
1ge.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(c)},5354:function(ge,_,f){var c=f(9624),o=f(7583);ge.exports="process"==c(o.process)},6846:function(ge,_,f){var c=f(6918);ge.exports=/web0s(?!.*chrome)/i.test(c)},6918:function(ge,_,f){var c=f(5897);ge.exports=c("navigator","userAgent")||""},4061:function(ge,_,f){var c,o,C=f(7583),a=f(6918),E=C.process,T=C.Deno,s=E&&E.versions||T&&T.version,h=s&&s.v8;h&&(o=(c=h.split("."))[0]>0&&c[0]<4?1:+(c[0]+c[1])),!o&&a&&(!(c=a.match(/Edge\/(\d+)/))||c[1]>=74)&&(c=a.match(/Chrome\/(\d+)/))&&(o=+c[1]),ge.exports=o},5690:function(ge){ge.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1178:function(ge,_,f){var c=f(6544),o=f(4677);ge.exports=!c(function(){var C=Error("a");return!("stack"in C)||(Object.defineProperty(C,"stack",o(1,7)),7!==C.stack)})},7263:function(ge,_,f){var c=f(7583),o=f(6683).f,C=f(57),a=f(1270),E=f(460),T=f(3478),s=f(4451);ge.exports=function(h,u){var v,g,y,p,b,R=h.target,P=h.global,k=h.stat;if(v=P?c:k?c[R]||E(R,{}):(c[R]||{}).prototype)for(g in u){if(p=u[g],y=h.noTargetGet?(b=o(v,g))&&b.value:v[g],!s(P?g:R+(k?".":"#")+g,h.forced)&&void 0!==y){if(typeof p==typeof y)continue;T(p,y)}(h.sham||y&&y.sham)&&C(p,"sham",!0),a(v,g,p,h)}}},6544:function(ge){ge.exports=function(_){try{return!!_()}catch{return!0}}},1611:function(ge,_,f){var c=f(8987),o=Function.prototype,C=o.apply,a=o.call;ge.exports="object"==typeof Reflect&&Reflect.apply||(c?a.bind(C):function(){return a.apply(C,arguments)})},2938:function(ge,_,f){var c=f(7386),o=f(8257),C=f(8987),a=c(c.bind);ge.exports=function(E,T){return o(E),void 0===T?E:C?a(E,T):function(){return E.apply(T,arguments)}}},8987:function(ge,_,f){var c=f(6544);ge.exports=!c(function(){var o=function(){}.bind();return"function"!=typeof o||o.hasOwnProperty("prototype")})},8262:function(ge,_,f){var c=f(8987),o=Function.prototype.call;ge.exports=c?o.bind(o):function(){return o.apply(o,arguments)}},4340:function(ge,_,f){var c=f(8494),o=f(2870),C=Function.prototype,a=c&&Object.getOwnPropertyDescriptor,E=o(C,"name"),T=E&&"something"===function(){}.name,s=E&&(!c||c&&a(C,"name").configurable);ge.exports={EXISTS:E,PROPER:T,CONFIGURABLE:s}},7386:function(ge,_,f){var c=f(8987),o=Function.prototype,a=o.call,E=c&&o.bind.bind(a,a);ge.exports=c?function(T){return T&&E(T)}:function(T){return T&&function(){return a.apply(T,arguments)}}},5897:function(ge,_,f){var c=f(7583),o=f(9212);ge.exports=function(a,E){return arguments.length<2?function(a){return o(a)?a:void 0}(c[a]):c[a]&&c[a][E]}},8272:function(ge,_,f){var c=f(3058),o=f(911),C=f(339),a=f(3649)("iterator");ge.exports=function(E){if(null!=E)return o(E,a)||o(E,"@@iterator")||C[c(E)]}},6307:function(ge,_,f){var c=f(7583),o=f(8262),C=f(8257),a=f(2569),E=f(5637),T=f(8272),s=c.TypeError;ge.exports=function(h,u){var v=arguments.length<2?T(h):u;if(C(v))return a(o(v,h));throw s(E(h)+" is not iterable")}},911:function(ge,_,f){var c=f(8257);ge.exports=function(o,C){var a=o[C];return null==a?void 0:c(a)}},7583:function(ge,_,f){var c=function(o){return o&&o.Math==Math&&o};ge.exports=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof f.g&&f.g)||function(){return this}()||Function("return this")()},2870:function(ge,_,f){var c=f(7386),o=f(1324),C=c({}.hasOwnProperty);ge.exports=Object.hasOwn||function(a,E){return C(o(a),E)}},4639:function(ge){ge.exports={}},2716:function(ge,_,f){var c=f(7583);ge.exports=function(o,C){var a=c.console;a&&a.error&&(1==arguments.length?a.error(o):a.error(o,C))}},482:function(ge,_,f){var c=f(5897);ge.exports=c("document","documentElement")},275:function(ge,_,f){var c=f(8494),o=f(6544),C=f(6668);ge.exports=!c&&!o(function(){return 7!=Object.defineProperty(C("div"),"a",{get:function(){return 7}}).a})}
vendor: 4,280 bytes, line 1
1,5044:function(ge,_,f){var c=f(7583),o=f(7386),C=f(6544),a=f(9624),E=c.Object,T=o("".split);ge.exports=C(function(){return!E("z").propertyIsEnumerable(0)})?function(s){return"String"==a(s)?T(s,""):E(s)}:E},9734:function(ge,_,f){var c=f(7386),o=f(9212),C=f(1314),a=c(Function.toString);o(C.inspectSource)||(C.inspectSource=function(E){return a(E)}),ge.exports=C.inspectSource},4402:function(ge,_,f){var c=f(794),o=f(57);ge.exports=function(C,a){c(a)&&"cause"in a&&o(C,"cause",a.cause)}},2743:function(ge,_,f){var c,o,C,a=f(9491),E=f(7583),T=f(7386),s=f(794),h=f(57),u=f(2870),v=f(1314),g=f(9137),y=f(4639),p="Object already initialized",b=E.TypeError;if(a||v.state){var P=v.state||(v.state=new(0,E.WeakMap)),k=T(P.get),O=T(P.has),V=T(P.set);c=function(z,H){if(O(P,z))throw new b(p);return H.facade=z,V(P,z,H),H},o=function(z){return k(P,z)||{}},C=function(z){return O(P,z)}}else{var K=g("state");y[K]=!0,c=function(z,H){if(u(z,K))throw new b(p);return H.facade=z,h(z,K,H),H},o=function(z){return u(z,K)?z[K]:{}},C=function(z){return u(z,K)}}ge.exports={set:c,get:o,has:C,enforce:function(z){return C(z)?o(z):c(z,{})},getterFor:function(z){return function(H){var x;if(!s(H)||(x=o(H)).type!==z)throw b("Incompatible receiver, "+z+" required");return x}}}},114:function(ge,_,f){var c=f(3649),o=f(339),C=c("iterator"),a=Array.prototype;ge.exports=function(E){return void 0!==E&&(o.Array===E||a[C]===E)}},4521:function(ge,_,f){var c=f(9624);ge.exports=Array.isArray||function(o){return"Array"==c(o)}},9212:function(ge){ge.exports=function(_){return"function"==typeof _}},2097:function(ge,_,f){var c=f(7386),o=f(6544),C=f(9212),a=f(3058),E=f(5897),T=f(9734),s=function(){},h=[],u=E("Reflect","construct"),v=/^\s*(?:class|function)\b/,g=c(v.exec),y=!v.exec(s),p=function(R){if(!C(R))return!1;try{return u(s,h,R),!0}catch{return!1}},b=function(R){if(!C(R))return!1;switch(a(R)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return y||!!g(v,T(R))}catch{return!0}};b.sham=!0,ge.exports=!u||o(function(){var R;return p(p.call)||!p(Object)||!p(function(){R=!0})||R})?b:p},4451:function(ge,_,f){var c=f(6544),o=f(9212),C=/#|\.prototype\./,a=function(u,v){var g=T[E(u)];return g==h||g!=s&&(o(v)?c(v):!!v)},E=a.normalize=function(u){return String(u).replace(C,".").toLowerCase()},T=a.data={},s=a.NATIVE="N",h=a.POLYFILL="P";ge.exports=a},794:function(ge,_,f){var c=f(9212);ge.exports=function(o){return"object"==typeof o?null!==o:c(o)}},6268:function(ge){ge.exports=!1},5871:function(ge,_,f){var c=f(7583),o=f(5897),C=f(9212),a=f(2447),E=f(7786),T=c.Object;ge.exports=E?function(s){return"symbol"==typeof s}:function(s){var h=o("Symbol");return C(h)&&a(h.prototype,T(s))}},4026:function(ge,_,f){var c=f(7583),o=f(2938),C=f(8262),a=f(2569),E=f(5637),T=f(114),s=f(1825),h=f(2447),u=f(6307),v=f(8272),g=f(7093),y=c.TypeError,p=function(R,P){this.stopped=R,this.result=P},b=p.prototype;ge.exports=function(R,P,k){var O,V,K,z,H,x,q,de=!(!k||!k.AS_ENTRIES),ee=!(!k||!k.IS_ITERATOR),Y=!(!k||!k.INTERRUPTED),ae=o(P,k&&k.that),fe=function(ce){return O&&g(O,"normal",ce),new p(!0,ce)},ne=function(ce){return de?(a(ce),Y?ae(ce[0],ce[1],fe):ae(ce[0],ce[1])):Y?ae(ce,fe):ae(ce)};if(ee)O=R;else{if(!(V=v(R)))throw y(E(R)+" is not iterable");if(T(V)){for(K=0,z=s(R);z>K;K++)if((H=ne(R[K]))&&h(b,H))return H;return new p(!1)}O=u(R,V)}for(x=O.next;!(q=C(x,O)).done;){try{H=ne(q.value)}catch(ce){g(O,"throw",ce)}if("object"==typeof H&&H&&h(b,H))return H}return new p(!1)}},7093:function(ge,_,f){var c=f(8262),o=f(2569),C=f(911);ge.exports=function(a,E,T){var s,h;o(a);try{if(!(s=C(a,"return"))){if("throw"===E)throw T;return T}s=c(s,a)}catch(u){h=!0,s=u}if("throw"===E)throw T;if(h)throw s;return o(s),T}},2365:function(ge,_,f){"use strict";var c,o,C,a=f(6544),E=f(9212),T=f(3590),s=f(729),h=f(1270),u=f(3649),v=f(6268),g=u("iterator"),y=!1;[].keys&&("next"in(C=[].keys())?(o=s(s(C)))!==Object.prototype&&(c=o):y=!0),null==c||a(function(){var p={};return c[g].call(p)!==p})?c={}:v&&(c=T(c)),E(c[g])||h(c,g,function(){return this}),ge.exports={IteratorPrototype:c,BUGGY_SAFARI_ITERATORS:y}},339:function(ge){ge.exports={}},1825:function(ge,_,f){var c=f(97);ge.exports=function(o){return c(o.length)}},2095:function(ge,_,f){var c,o,C,a,E,T,s,h,u=f(7583),v=f(2938),g=f(6683).f,
vendor: 4,620 bytes, line 1
1y=f(8117).set,p=f(7020),b=f(3256),R=f(6846),P=f(5354),k=u.MutationObserver||u.WebKitMutationObserver,O=u.document,V=u.process,K=u.Promise,z=g(u,"queueMicrotask"),H=z&&z.value;H||(c=function(){var x,q;for(P&&(x=V.domain)&&x.exit();o;){q=o.fn,o=o.next;try{q()}catch(Z){throw o?a():C=void 0,Z}}C=void 0,x&&x.enter()},p||P||R||!k||!O?!b&&K&&K.resolve?((s=K.resolve(void 0)).constructor=K,h=v(s.then,s),a=function(){h(c)}):P?a=function(){V.nextTick(c)}:(y=v(y,u),a=function(){y(c)}):(E=!0,T=O.createTextNode(""),new k(c).observe(T,{characterData:!0}),a=function(){T.data=E=!E})),ge.exports=H||function(x){var q={fn:x,next:void 0};C&&(C.next=q),o||(o=q,a()),C=q}},783:function(ge,_,f){var c=f(7583);ge.exports=c.Promise},8640:function(ge,_,f){var c=f(4061),o=f(6544);ge.exports=!!Object.getOwnPropertySymbols&&!o(function(){var C=Symbol();return!String(C)||!(Object(C)instanceof Symbol)||!Symbol.sham&&c&&c<41})},9491:function(ge,_,f){var c=f(7583),o=f(9212),C=f(9734),a=c.WeakMap;ge.exports=o(a)&&/native code/.test(C(a))},5084:function(ge,_,f){"use strict";var c=f(8257),o=function(C){var a,E;this.promise=new C(function(T,s){if(void 0!==a||void 0!==E)throw TypeError("Bad Promise constructor");a=T,E=s}),this.resolve=c(a),this.reject=c(E)};ge.exports.f=function(C){return new o(C)}},2764:function(ge,_,f){var c=f(8320);ge.exports=function(o,C){return void 0===o?arguments.length<2?"":C:c(o)}},3590:function(ge,_,f){var c,o=f(2569),C=f(8728),a=f(5690),E=f(4639),T=f(482),s=f(6668),u=f(9137)("IE_PROTO"),v=function(){},g=function(b){return"<script>"+b+"<\/script>"},y=function(b){b.write(g("")),b.close();var R=b.parentWindow.Object;return b=null,R},p=function(){try{c=new ActiveXObject("htmlfile")}catch{}var b,R;p=typeof document<"u"?document.domain&&c?y(c):((R=s("iframe")).style.display="none",T.appendChild(R),R.src="javascript:",(b=R.contentWindow.document).open(),b.write(g("document.F=Object")),b.close(),b.F):y(c);for(var P=a.length;P--;)delete p.prototype[a[P]];return p()};E[u]=!0,ge.exports=Object.create||function(b,R){var P;return null!==b?(v.prototype=o(b),P=new v,v.prototype=null,P[u]=b):P=p(),void 0===R?P:C.f(P,R)}},8728:function(ge,_,f){var c=f(8494),o=f(7670),C=f(4615),a=f(2569),E=f(2977),T=f(5432);_.f=c&&!o?Object.defineProperties:function(s,h){a(s);for(var u,v=E(h),g=T(h),y=g.length,p=0;y>p;)C.f(s,u=g[p++],v[u]);return s}},4615:function(ge,_,f){var c=f(7583),o=f(8494),C=f(275),a=f(7670),E=f(2569),T=f(8734),s=c.TypeError,h=Object.defineProperty,u=Object.getOwnPropertyDescriptor;_.f=o?a?function(p,b,R){if(E(p),b=T(b),E(R),"function"==typeof p&&"prototype"===b&&"value"in R&&"writable"in R&&!R.writable){var P=u(p,b);P&&P.writable&&(p[b]=R.value,R={configurable:"configurable"in R?R.configurable:P.configurable,enumerable:"enumerable"in R?R.enumerable:P.enumerable,writable:!1})}return h(p,b,R)}:h:function(p,b,R){if(E(p),b=T(b),E(R),C)try{return h(p,b,R)}catch{}if("get"in R||"set"in R)throw s("Accessors not supported");return"value"in R&&(p[b]=R.value),p}},6683:function(ge,_,f){var c=f(8494),o=f(8262),C=f(112),a=f(4677),E=f(2977),T=f(8734),s=f(2870),h=f(275),u=Object.getOwnPropertyDescriptor;_.f=c?u:function(v,g){if(v=E(v),g=T(g),h)try{return u(v,g)}catch{}if(s(v,g))return a(!o(C.f,v,g),v[g])}},3130:function(ge,_,f){var c=f(9624),o=f(2977),C=f(9275).f,a=f(4546),E="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];ge.exports.f=function(T){return E&&"Window"==c(T)?function(s){try{return C(s)}catch{return a(E)}}(T):C(o(T))}},9275:function(ge,_,f){var c=f(8356),o=f(5690).concat("length","prototype");_.f=Object.getOwnPropertyNames||function(C){return c(C,o)}},4012:function(ge,_){_.f=Object.getOwnPropertySymbols},729:function(ge,_,f){var c=f(7583),o=f(2870),C=f(9212),a=f(1324),E=f(9137),T=f(926),s=E("IE_PROTO"),h=c.Object,u=h.prototype;ge.exports=T?h.getPrototypeOf:function(v){var g=a(v);if(o(g,s))return g[s];var y=g.constructor;return C(y)&&g instanceof y?y.prototype:g instanceof h?u:null}},2447:function(ge,_,f){var c=f(7386);ge.exports=c({}.isPrototypeOf)},8356:function(ge,_,f){var c=f(7386),o=f(2870),C=f(2977),a=f(5766).indexOf,E=f(4639),T=c([].push);ge.exports=function(s,h){var u,v=C(s),g=0,y=[];for(u in v)!o(E,u)&&o(v,u)&&T(y,u);for(;h.length>g;)o(v,u=h[g++])&&(~a(y,u)||T(y,u));return y}},5432:function(ge,_,f){var c=f(8356),o=f(5690);ge.exports=Object.keys||function(C){return c(C,o)}},112:function(ge,_){"use strict";var f={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,o=c&&!f.call({1:2},1);_.f=o?function(C){var a=c(this,C);return!!a&&a.enumerable}:f},7496:function(ge,_,f){var c=f(7386),o=f(2569),C=f(9882);
vendor: 9,161 bytes, line 1
1ge.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var a,E=!1,T={};try{(a=c(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(T,[]),E=T instanceof Array}catch{}return function(s,h){return o(s),C(h),E?a(s,h):s.__proto__=h,s}}():void 0)},3060:function(ge,_,f){"use strict";var c=f(8191),o=f(3058);ge.exports=c?{}.toString:function(){return"[object "+o(this)+"]"}},6252:function(ge,_,f){var c=f(7583),o=f(8262),C=f(9212),a=f(794),E=c.TypeError;ge.exports=function(T,s){var h,u;if("string"===s&&C(h=T.toString)&&!a(u=o(h,T))||C(h=T.valueOf)&&!a(u=o(h,T))||"string"!==s&&C(h=T.toString)&&!a(u=o(h,T)))return u;throw E("Can't convert object to primitive value")}},929:function(ge,_,f){var c=f(5897),o=f(7386),C=f(9275),a=f(4012),E=f(2569),T=o([].concat);ge.exports=c("Reflect","ownKeys")||function(s){var h=C.f(E(s)),u=a.f;return u?T(h,u(s)):h}},1287:function(ge,_,f){var c=f(7583);ge.exports=c},544:function(ge){ge.exports=function(_){try{return{error:!1,value:_()}}catch(f){return{error:!0,value:f}}}},5732:function(ge,_,f){var c=f(2569),o=f(794),C=f(5084);ge.exports=function(a,E){if(c(a),o(E)&&E.constructor===a)return E;var T=C.f(a);return(0,T.resolve)(E),T.promise}},2723:function(ge){var _=function(){this.head=null,this.tail=null};_.prototype={add:function(f){var c={item:f,next:null};this.head?this.tail.next=c:this.head=c,this.tail=c},get:function(){var f=this.head;if(f)return this.head=f.next,this.tail===f&&(this.tail=null),f.item}},ge.exports=_},6893:function(ge,_,f){var c=f(1270);ge.exports=function(o,C,a){for(var E in C)c(o,E,C[E],a);return o}},1270:function(ge,_,f){var c=f(7583),o=f(9212),C=f(2870),a=f(57),E=f(460),T=f(9734),s=f(2743),h=f(4340).CONFIGURABLE,u=s.get,v=s.enforce,g=String(String).split("String");(ge.exports=function(y,p,b,R){var P,k=!!R&&!!R.unsafe,O=!!R&&!!R.enumerable,V=!!R&&!!R.noTargetGet,K=R&&void 0!==R.name?R.name:p;o(b)&&("Symbol("===String(K).slice(0,7)&&(K="["+String(K).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!C(b,"name")||h&&b.name!==K)&&a(b,"name",K),(P=v(b)).source||(P.source=g.join("string"==typeof K?K:""))),y!==c?(k?!V&&y[p]&&(O=!0):delete y[p],O?y[p]=b:a(y,p,b)):O?y[p]=b:E(p,b)})(Function.prototype,"toString",function(){return o(this)&&u(this).source||T(this)})},3955:function(ge,_,f){var c=f(7583).TypeError;ge.exports=function(o){if(null==o)throw c("Can't call method on "+o);return o}},460:function(ge,_,f){var c=f(7583),o=Object.defineProperty;ge.exports=function(C,a){try{o(c,C,{value:a,configurable:!0,writable:!0})}catch{c[C]=a}return a}},7730:function(ge,_,f){"use strict";var c=f(5897),o=f(4615),C=f(3649),a=f(8494),E=C("species");ge.exports=function(T){var s=c(T);a&&s&&!s[E]&&(0,o.f)(s,E,{configurable:!0,get:function(){return this}})}},8821:function(ge,_,f){var c=f(4615).f,o=f(2870),C=f(3649)("toStringTag");ge.exports=function(a,E,T){a&&!T&&(a=a.prototype),a&&!o(a,C)&&c(a,C,{configurable:!0,value:E})}},9137:function(ge,_,f){var c=f(7836),o=f(8284),C=c("keys");ge.exports=function(a){return C[a]||(C[a]=o(a))}},1314:function(ge,_,f){var c=f(7583),o=f(460),C="__core-js_shared__",a=c[C]||o(C,{});ge.exports=a},7836:function(ge,_,f){var c=f(6268),o=f(1314);(ge.exports=function(C,a){return o[C]||(o[C]=void 0!==a?a:{})})("versions",[]).push({version:"3.21.1",mode:c?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},564:function(ge,_,f){var c=f(2569),o=f(1186),C=f(3649)("species");ge.exports=function(a,E){var T,s=c(a).constructor;return void 0===s||null==(T=c(s)[C])?E:o(T)}},6389:function(ge,_,f){var c=f(7386),o=f(7486),C=f(8320),a=f(3955),E=c("".charAt),T=c("".charCodeAt),s=c("".slice),h=function(u){return function(v,g){var y,p,b=C(a(v)),R=o(g),P=b.length;return R<0||R>=P?u?"":void 0:(y=T(b,R))<55296||y>56319||R+1===P||(p=T(b,R+1))<56320||p>57343?u?E(b,R):y:u?s(b,R,R+2):p-56320+(y-55296<<10)+65536}};ge.exports={codeAt:h(!1),charAt:h(!0)}},8117:function(ge,_,f){var c,o,C,a,E=f(7583),T=f(1611),s=f(2938),h=f(9212),u=f(2870),v=f(6544),g=f(482),y=f(6917),p=f(6668),b=f(7520),R=f(7020),P=f(5354),k=E.setImmediate,O=E.clearImmediate,V=E.process,K=E.Dispatch,z=E.Function,H=E.MessageChannel,x=E.String,q=0,Z={};try{c=E.location}catch{}var ee=function(ne){if(u(Z,ne)){var ce=Z[ne];delete Z[ne],ce()}},Y=function(ne){return function(){ee(ne)}},ae=function(ne){ee(ne.data)},fe=function(ne){E.postMessage(x(ne),c.protocol+"//"+c.host)};k&&O||(k=function(ne){b(arguments.length,1);var ce=h(ne)?ne:z(ne),me=y(arguments,1);return Z[++q]=function(){T(ce,void 0,me)},o(q),q},O=function(ne){delete Z[ne]},P?o=function(ne){V.nextTick(Y(ne))}:K&&K.now?o=function(ne){K.now(Y(ne))}:H&&!R?(a=(C=new H).port2,C.port1.onmessage=ae,o=s(a.postMessage,a)):E.addEventListener&&h(E.postMessage)&&!E.importScripts&&c&&"file:"!==c.protocol&&!v(fe)?(o=fe,E.addEventListener("message",ae,!1)):o="onreadystatechange"in p("script")?function(ne){g.appendChild(p("script")).onreadystatechange=function(){g.removeChild(this),ee(ne)}}:function(ne){setTimeout(Y(ne),0)}),ge.exports={set:k,clear:O}},6782:function(ge,_,f){var c=f(7486),o=Math.max,C=Math.min;ge.exports=function(a,E){var T=c(a);return T<0?o(T+E,0):C(T,E)}},2977:function(ge,_,f){var c=f(5044),o=f(3955);ge.exports=function(C){return c(o(C))}},7486:function(ge){var _=Math.ceil,f=Math.floor;ge.exports=function(c){var o=+c;return o!=o||0===o?0:(o>0?f:_)(o)}},97:function(ge,_,f){var c=f(7486),o=Math.min;ge.exports=function(C){return C>0?o(c(C),9007199254740991):0}},1324:function(ge,_,f){var c=f(7583),o=f(3955),C=c.Object;ge.exports=function(a){return C(o(a))}},2670:function(ge,_,f){var c=f(7583),o=f(8262),C=f(794),a=f(5871),E=f(911),T=f(6252),s=f(3649),h=c.TypeError,u=s("toPrimitive");ge.exports=function(v,g){if(!C(v)||a(v))return v;var y,p=E(v,u);if(p){if(void 0===g&&(g="default"),y=o(p,v,g),!C(y)||a(y))return y;throw h("Can't convert object to primitive value")}return void 0===g&&(g="number"),T(v,g)}},8734:function(ge,_,f){var c=f(2670),o=f(5871);ge.exports=function(C){var a=c(C,"string");return o(a)?a:a+""}},8191:function(ge,_,f){var c={};c[f(3649)("toStringTag")]="z",ge.exports="[object z]"===String(c)},8320:function(ge,_,f){var c=f(7583),o=f(3058),C=c.String;ge.exports=function(a){if("Symbol"===o(a))throw TypeError("Cannot convert a Symbol value to a string");return C(a)}},5637:function(ge,_,f){var c=f(7583).String;ge.exports=function(o){try{return c(o)}catch{return"Object"}}},8284:function(ge,_,f){var c=f(7386),o=0,C=Math.random(),a=c(1..toString);ge.exports=function(E){return"Symbol("+(void 0===E?"":E)+")_"+a(++o+C,36)}},7786:function(ge,_,f){var c=f(8640);ge.exports=c&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7670:function(ge,_,f){var c=f(8494),o=f(6544);ge.exports=c&&o(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},7520:function(ge,_,f){var c=f(7583).TypeError;ge.exports=function(o,C){if(o<C)throw c("Not enough arguments");return o}},491:function(ge,_,f){var c=f(3649);_.f=c},3649:function(ge,_,f){var c=f(7583),o=f(7836),C=f(2870),a=f(8284),E=f(8640),T=f(7786),s=o("wks"),h=c.Symbol,u=h&&h.for,v=T?h:h&&h.withoutSetter||a;ge.exports=function(g){if(!C(s,g)||!E&&"string"!=typeof s[g]){var y="Symbol."+g;s[g]=E&&C(h,g)?h[g]:T&&u?u(y):v(y)}return s[g]}},1719:function(ge,_,f){"use strict";var c=f(7263),o=f(7583),C=f(2447),a=f(729),E=f(7496),T=f(3478),s=f(3590),h=f(57),u=f(4677),v=f(1509),g=f(4402),y=f(4026),p=f(2764),b=f(3649),R=f(1178),P=b("toStringTag"),k=o.Error,O=[].push,V=function(z,H){var x,q=arguments.length>2?arguments[2]:void 0,Z=C(K,this);E?x=E(new k,Z?a(this):K):(x=Z?this:s(K),h(x,P,"Error")),void 0!==H&&h(x,"message",p(H)),R&&h(x,"stack",v(x.stack,1)),g(x,q);var de=[];return y(z,O,{that:de}),h(x,"errors",de),x};E?E(V,k):T(V,k,{name:!0});var K=V.prototype=s(k.prototype,{constructor:u(1,V),message:u(1,""),name:u(1,"AggregateError")});c({global:!0},{AggregateError:V})},1646:function(ge,_,f){"use strict";var c=f(7263),o=f(7583),C=f(6544),a=f(4521),E=f(794),T=f(1324),s=f(1825),h=f(5999),u=f(4822),v=f(9269),g=f(3649),y=f(4061),p=g("isConcatSpreadable"),b=9007199254740991,R="Maximum allowed index exceeded",P=o.TypeError,k=y>=51||!C(function(){var K=[];return K[p]=!1,K.concat()[0]!==K}),O=v("concat"),V=function(K){if(!E(K))return!1;var z=K[p];return void 0!==z?!!z:a(K)};c({target:"Array",proto:!0,forced:!k||!O},{concat:function(K){var z,H,x,q,Z,de=T(this),ee=u(de,0),Y=0;for(z=-1,x=arguments.length;z<x;z++)if(V(Z=-1===z?de:arguments[z])){if(Y+(q=s(Z))>b)throw P(R);for(H=0;H<q;H++,Y++)H in Z&&h(ee,Y,Z[H])}else{if(Y>=b)throw P(R);h(ee,Y++,Z)}return ee.length=Y,ee}})},5677:function(ge,_,f){"use strict";var c=f(2977),o=f(6288),C=f(339),a=f(2743),E=f(4615).f,T=f(9012),s=f(6268),h=f(8494),u="Array Iterator",v=a.set,g=a.getterFor(u);ge.exports=T(Array,"Array",function(p,b){v(this,{type:u,target:c(p),index:0,kind:b})},function(){var p=g(this),b=p.target,R=p.kind,P=p.index++;return!b||P>=b.length?(p.target=void 0,{value:void 0,done:!0}):"keys"==R?{value:P,done:!1}:"values"==R?{value:b[P],done:!1}:{value:[P,b[P]],done:!1}},"values");var y=C.Arguments=C.Array;
vendor: 8,334 bytes, line 1
1if(o("keys"),o("values"),o("entries"),!s&&h&&"values"!==y.name)try{E(y,"name",{value:"values"})}catch{}},6956:function(ge,_,f){var c=f(7583);f(8821)(c.JSON,"JSON",!0)},5222:function(ge,_,f){f(8821)(Math,"Math",!0)},6394:function(ge,_,f){var c=f(8191),o=f(1270),C=f(3060);c||o(Object.prototype,"toString",C,{unsafe:!0})},6969:function(ge,_,f){"use strict";var c=f(7263),o=f(8262),C=f(8257),a=f(5084),E=f(544),T=f(4026);c({target:"Promise",stat:!0},{allSettled:function(s){var h=this,u=a.f(h),v=u.resolve,g=u.reject,y=E(function(){var p=C(h.resolve),b=[],R=0,P=1;T(s,function(k){var O=R++,V=!1;P++,o(p,h,k).then(function(K){V||(V=!0,b[O]={status:"fulfilled",value:K},--P||v(b))},function(K){V||(V=!0,b[O]={status:"rejected",reason:K},--P||v(b))})}),--P||v(b)});return y.error&&g(y.value),u.promise}})},2021:function(ge,_,f){"use strict";var c=f(7263),o=f(8257),C=f(5897),a=f(8262),E=f(5084),T=f(544),s=f(4026),h="No one promise resolved";c({target:"Promise",stat:!0},{any:function(u){var v=this,g=C("AggregateError"),y=E.f(v),p=y.resolve,b=y.reject,R=T(function(){var P=o(v.resolve),k=[],O=0,V=1,K=!1;s(u,function(z){var H=O++,x=!1;V++,a(P,v,z).then(function(q){x||K||(K=!0,p(q))},function(q){x||K||(x=!0,k[H]=q,--V||b(new g(k,h)))})}),--V||b(new g(k,h))});return R.error&&b(R.value),y.promise}})},8328:function(ge,_,f){"use strict";var c=f(7263),o=f(6268),C=f(783),a=f(6544),E=f(5897),T=f(9212),s=f(564),h=f(5732),u=f(1270);if(c({target:"Promise",proto:!0,real:!0,forced:!!C&&a(function(){C.prototype.finally.call({then:function(){}},function(){})})},{finally:function(g){var y=s(this,E("Promise")),p=T(g);return this.then(p?function(b){return h(y,g()).then(function(){return b})}:g,p?function(b){return h(y,g()).then(function(){throw b})}:g)}}),!o&&T(C)){var v=E("Promise").prototype.finally;C.prototype.finally!==v&&u(C.prototype,"finally",v,{unsafe:!0})}},5334:function(ge,_,f){"use strict";var c,o,C,a,E=f(7263),T=f(6268),s=f(7583),h=f(5897),u=f(8262),v=f(783),g=f(1270),y=f(6893),p=f(7496),b=f(8821),R=f(7730),P=f(8257),k=f(9212),O=f(794),V=f(4761),K=f(9734),z=f(4026),H=f(3616),x=f(564),q=f(8117).set,Z=f(2095),de=f(5732),ee=f(2716),Y=f(5084),ae=f(544),fe=f(2723),ne=f(2743),ce=f(4451),me=f(3649),re=f(2274),$=f(5354),X=f(4061),M=me("species"),N="Promise",G=ne.getterFor(N),ue=ne.set,ve=ne.getterFor(N),we=v&&v.prototype,Re=v,et=we,at=s.TypeError,Pt=s.document,At=s.process,It=Y.f,qt=It,St=!!(Pt&&Pt.createEvent&&s.dispatchEvent),lt=k(s.PromiseRejectionEvent),yt="unhandledrejection",Ft=!1,rt=ce(N,function(){var On=K(Re),sr=On!==String(Re);if(!sr&&66===X||T&&!et.finally)return!0;if(X>=51&&/native code/.test(On))return!1;var ur=new Re(function(Lr){Lr(1)}),tr=function(Lr){Lr(function(){},function(){})};return(ur.constructor={})[M]=tr,!(Ft=ur.then(function(){})instanceof tr)||!sr&&re&&!lt}),mt=rt||!H(function(On){Re.all(On).catch(function(){})}),Mt=function(On){var sr;return!(!O(On)||!k(sr=On.then))&&sr},Vt=function(On,sr){var ur,tr,Lr,Br=sr.value,Gr=1==sr.state,qr=Gr?On.ok:On.fail,_r=On.resolve,hr=On.reject,Nr=On.domain;try{qr?(Gr||(2===sr.rejection&&jn(sr),sr.rejection=1),!0===qr?ur=Br:(Nr&&Nr.enter(),ur=qr(Br),Nr&&(Nr.exit(),Lr=!0)),ur===On.promise?hr(at("Promise-chain cycle")):(tr=Mt(ur))?u(tr,ur,_r,hr):_r(ur)):hr(Br)}catch($r){Nr&&!Lr&&Nr.exit(),hr($r)}},Lt=function(On,sr){On.notified||(On.notified=!0,Z(function(){for(var ur,tr=On.reactions;ur=tr.get();)Vt(ur,On);On.notified=!1,sr&&!On.rejection&&Tn(On)}))},$n=function(On,sr,ur){var tr,Lr;St?((tr=Pt.createEvent("Event")).promise=sr,tr.reason=ur,tr.initEvent(On,!1,!0),s.dispatchEvent(tr)):tr={promise:sr,reason:ur},!lt&&(Lr=s["on"+On])?Lr(tr):On===yt&&ee("Unhandled promise rejection",ur)},Tn=function(On){u(q,s,function(){var sr,ur=On.facade,tr=On.value;if(An(On)&&(sr=ae(function(){$?At.emit("unhandledRejection",tr,ur):$n(yt,ur,tr)}),On.rejection=$||An(On)?2:1,sr.error))throw sr.value})},An=function(On){return 1!==On.rejection&&!On.parent},jn=function(On){u(q,s,function(){var sr=On.facade;$?At.emit("rejectionHandled",sr):$n("rejectionhandled",sr,On.value)})},or=function(On,sr,ur){return function(tr){On(sr,tr,ur)}},br=function(On,sr,ur){On.done||(On.done=!0,ur&&(On=ur),On.value=sr,On.state=2,Lt(On,!0))},Fr=function On(sr,ur,tr){if(!sr.done){sr.done=!0,tr&&(sr=tr);try{if(sr.facade===ur)throw at("Promise can't be resolved itself");var Lr=Mt(ur);Lr?Z(function(){var Br={done:!1};try{u(Lr,ur,or(On,Br,sr),or(br,Br,sr))}catch(Gr){br(Br,Gr,sr)}}):(sr.value=ur,sr.state=1,Lt(sr,!1))}catch(Br){br({done:!1},Br,sr)}}};if(rt&&(et=(Re=function(On){V(this,et),P(On),u(c,this);var sr=G(this);try{On(or(Fr,sr),or(br,sr))}catch(ur){br(sr,ur)}}).prototype,(c=function(On){ue(this,{type:N,done:!1,notified:!1,parent:!1,reactions:new fe,rejection:!1,state:0,value:void 0})}).prototype=y(et,{then:function(On,sr){var ur=ve(this),tr=It(x(this,Re));return ur.parent=!0,tr.ok=!k(On)||On,tr.fail=k(sr)&&sr,tr.domain=$?At.domain:void 0,0==ur.state?ur.reactions.add(tr):Z(function(){Vt(tr,ur)}),tr.promise},catch:function(On){return this.then(void 0,On)}}),o=function(){var On=new c,sr=G(On);this.promise=On,this.resolve=or(Fr,sr),this.reject=or(br,sr)},Y.f=It=function(On){return On===Re||On===C?new o(On):qt(On)},!T&&k(v)&&we!==Object.prototype)){a=we.then,Ft||(g(we,"then",function(On,sr){var ur=this;return new Re(function(tr,Lr){u(a,ur,tr,Lr)}).then(On,sr)},{unsafe:!0}),g(we,"catch",et.catch,{unsafe:!0}));try{delete we.constructor}catch{}p&&p(we,et)}E({global:!0,wrap:!0,forced:rt},{Promise:Re}),b(Re,N,!1,!0),R(N),C=h(N),E({target:N,stat:!0,forced:rt},{reject:function(On){var sr=It(this);return u(sr.reject,void 0,On),sr.promise}}),E({target:N,stat:!0,forced:T||rt},{resolve:function(On){return de(T&&this===C?Re:this,On)}}),E({target:N,stat:!0,forced:mt},{all:function(On){var sr=this,ur=It(sr),tr=ur.resolve,Lr=ur.reject,Br=ae(function(){var Gr=P(sr.resolve),qr=[],_r=0,hr=1;z(On,function(Nr){var $r=_r++,Xr=!1;hr++,u(Gr,sr,Nr).then(function(Rt){Xr||(Xr=!0,qr[$r]=Rt,--hr||tr(qr))},Lr)}),--hr||tr(qr)});return Br.error&&Lr(Br.value),ur.promise},race:function(On){var sr=this,ur=It(sr),tr=ur.reject,Lr=ae(function(){var Br=P(sr.resolve);z(On,function(Gr){u(Br,sr,Gr).then(ur.resolve,tr)})});return Lr.error&&tr(Lr.value),ur.promise}})},2257:function(ge,_,f){var c=f(7263),o=f(7583),C=f(8821);c({global:!0},{Reflect:{}}),C(o.Reflect,"Reflect",!0)},2129:function(ge,_,f){"use strict";var c=f(6389).charAt,o=f(8320),C=f(2743),a=f(9012),E="String Iterator",T=C.set,s=C.getterFor(E);a(String,"String",function(h){T(this,{type:E,string:o(h),index:0})},function(){var h,u=s(this),v=u.string,g=u.index;return g>=v.length?{value:void 0,done:!0}:(h=c(v,g),u.index+=h.length,{value:h,done:!1})})},462:function(ge,_,f){f(2219)("asyncIterator")},8407:function(ge,_,f){"use strict";var c=f(7263),o=f(8494),C=f(7583),a=f(7386),E=f(2870),T=f(9212),s=f(2447),h=f(8320),u=f(4615).f,v=f(3478),g=C.Symbol,y=g&&g.prototype;if(o&&T(g)&&(!("description"in y)||void 0!==g().description)){var p={},b=function(){var z=arguments.length<1||void 0===arguments[0]?void 0:h(arguments[0]),H=s(y,this)?new g(z):void 0===z?g():g(z);return""===z&&(p[H]=!0),H};v(b,g),b.prototype=y,y.constructor=b;var R="Symbol(test)"==String(g("test")),P=a(y.toString),k=a(y.valueOf),O=/^Symbol\((.*)\)[^)]+$/,V=a("".replace),K=a("".slice);u(y,"description",{configurable:!0,get:function(){var z=k(this),H=P(z);if(E(p,z))return"";var x=R?K(H,7,-1):V(H,O,"$1");return""===x?void 0:x}}),c({global:!0,forced:!0},{Symbol:b})}},2429:function(ge,_,f){f(2219)("hasInstance")},1172:function(ge,_,f){f(2219)("isConcatSpreadable")},8288:function(ge,_,f){f(2219)("iterator")},2004:function(ge,_,f){"use strict";var c=f(7263),o=f(7583),C=f(5897),a=f(1611),E=f(8262),T=f(7386),s=f(6268),h=f(8494),u=f(8640),v=f(6544),g=f(2870),y=f(4521),p=f(9212),b=f(794),R=f(2447),P=f(5871),k=f(2569),O=f(1324),V=f(2977),K=f(8734),z=f(8320),H=f(4677),x=f(3590),q=f(5432),Z=f(9275),de=f(3130),ee=f(4012),Y=f(6683),ae=f(4615),fe=f(8728),ne=f(112),ce=f(6917),me=f(1270),re=f(7836),$=f(9137),X=f(4639),M=f(8284),N=f(3649),G=f(491),ue=f(2219),ve=f(8821),we=f(2743),Re=f(4805).forEach,et=$("hidden"),at="Symbol",Pt=N("toPrimitive"),At=we.set,It=we.getterFor(at),qt=Object.prototype,St=o.Symbol,lt=St&&St.prototype,yt=o.TypeError,Ft=o.QObject,rt=C("JSON","stringify"),mt=Y.f,Mt=ae.f,Vt=de.f,Lt=ne.f,$n=T([].push),Tn=re("symbols"),An=re("op-symbol
1s"),jn=re("string-to-symbol-registry"),or=re("symbol-to-string-registry"),br=re("wks"),Fr=!Ft||!Ft.prototype||!Ft.prototype.findChild,On=h&&v(function(){return 7!=x(Mt({},"a",{get:function(){return Mt(this,"a",{value:7}).a}})).a})?function(hr,Nr,$r){var Xr=mt(qt,Nr);Xr&&delete qt[Nr],Mt(hr,Nr,$r),Xr&&hr!==qt&&Mt(qt,Nr,Xr)}:Mt,sr=function(hr,Nr){var $r=Tn[hr]=x(lt);return At($r,{type:at,tag:hr,description:Nr}),h||($r.description=Nr),$r},ur=function(hr,Nr,$r){hr===qt&&ur(An,Nr,$r),k(hr);var Xr=K(Nr);return k($r),g(Tn,Xr)?($r.enumerable?(g(hr,et)&&hr[et][Xr]&&(hr[et][Xr]=!1),$r=x($r,{enumerable:H(0,!1)})):(g(hr,et)||Mt(hr,et,H(1,{})),hr[et][Xr]=!0),On(hr,Xr,$r)):Mt(hr,Xr,$r)},tr=function(hr,Nr){k(hr);var $r=V(Nr),Xr=q($r).concat(qr($r));return Re(Xr,function(Rt){h&&!E(Lr,$r,Rt)||ur(hr,Rt,$r[Rt])}),hr},Lr=function(hr){var Nr=K(hr),$r=E(Lt,this,Nr);return!(this===qt&&g(Tn,Nr)&&!g(An,Nr))&&(!($r||!g(this,Nr)||!g(Tn,Nr)||g(this,et)&&this[et][Nr])||$r)},Br=function(hr,Nr){var $r=V(hr),Xr=K(Nr);if($r!==qt||!g(Tn,Xr)||g(An,Xr)){var Rt=mt($r,Xr);return!Rt||!g(Tn,Xr)||g($r,et)&&$r[et][Xr]||(Rt.enumerable=!0),Rt}},Gr=function(hr){var Nr=Vt(V(hr)),$r=[];return Re(Nr,function(Xr){g(Tn,Xr)||g(X,Xr)||$n($r,Xr)}),$r},qr=function(hr){var Nr=hr===qt,$r=Vt(Nr?An:V(hr)),Xr=[];return Re($r,function(Rt){!g(Tn,Rt)||Nr&&!g(qt,Rt)||$n(Xr,Tn[Rt])}),Xr};if(u||(St=function(){if(R(lt,this))throw yt("Symbol is not a constructor");var hr=arguments.length&&void 0!==arguments[0]?z(arguments[0]):void 0,Nr=M(hr);return h&&Fr&&On(qt,Nr,{configurable:!0,set:function Xr(Rt){this===qt&&E(Xr,An,Rt),g(this,et)&&g(this[et],Nr)&&(this[et][Nr]=!1),On(this,Nr,H(1,Rt))}}),sr(Nr,hr)},me(lt=St.prototype,"toString",function(){return It(this).tag}),me(St,"withoutSetter",function(hr){return sr(M(hr),hr)}),ne.f=Lr,ae.f=ur,fe.f=tr,Y.f=Br,Z.f=de.f=Gr,ee.f=qr,G.f=function(hr){return sr(N(hr),hr)},h&&(Mt(lt,"description",{configurable:!0,get:function(){return It(this).description}}),s||me(qt,"propertyIsEnumerable",Lr,{unsafe:!0}))),c({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:St}),Re(q(br),function(hr){ue(hr)}),c({target:at,stat:!0,forced:!u},{for:function(hr){var Nr=z(hr);if(g(jn,Nr))return jn[Nr];var $r=St(Nr);return jn[Nr]=$r,or[$r]=Nr,$r},keyFor:function(hr){if(!P(hr))throw yt(hr+" is not a symbol");if(g(or,hr))return or[hr]},useSetter:function(){Fr=!0},useSimple:function(){Fr=!1}}),c({target:"Object",stat:!0,forced:!u,sham:!h},{create:function(hr,Nr){return void 0===Nr?x(hr):tr(x(hr),Nr)},defineProperty:ur,defineProperties:tr,getOwnPropertyDescriptor:Br}),c({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:Gr,getOwnPropertySymbols:qr}),c({target:"Object",stat:!0,forced:v(function(){ee.f(1)})},{getOwnPropertySymbols:function(hr){return ee.f(O(hr))}}),rt&&c({target:"JSON",stat:!0,forced:!u||v(function(){var hr=St();return"[null]"!=rt([hr])||"{}"!=rt({a:hr})||"{}"!=rt(Object(hr))})},{stringify:function(hr,Nr,$r){var Xr=ce(arguments),Rt=Nr;if((b(Nr)||void 0!==hr)&&!P(hr))return y(Nr)||(Nr=function(zt,vn){if(p(Rt)&&(vn=E(Rt,this,zt,vn)),!P(vn))return vn}),Xr[1]=Nr,a(rt,null,Xr)}}),!lt[Pt]){var _r=lt.valueOf;me(lt,Pt,function(hr){return E(_r,this)})}ve(St,at),X[et]=!0},8201:function(ge,_,f){f(2219)("matchAll")},1274:function(ge,_,f){f(2219)("match")},6626:function(ge,_,f){f(2219)("replace")},3211:function(ge,_,f){f(2219)("search")},9952:function(ge,_,f){f(2219)("species")},15:function(ge,_,f){f(2219)("split")},9831:function(ge,_,f){f(2219)("toPrimitive")},7521:function(ge,_,f){f(2219)("toStringTag")},2972:function(ge,_,f){f(2219)("unscopables")},4655:function(ge,_,f){var c=f(7583),o=f(6778),C=f(9307),a=f(5677),E=f(57),T=f(3649),s=T("iterator"),h=T("toStringTag"),u=a.values,v=function(y,p){if(y){if(y[s]!==u)try{E(y,s,u)}catch{y[s]=u}if(y[h]||E(y,h,p),o[p])for(var b in a)if(y[b]!==a[b])try{E(y,b,a[b])}catch{y[b]=a[b]}}};for(var g in o)v(c[g]&&c[g].prototype,g);v(C,"DOMTokenList")},8765:function(ge,_,f){var c=f(5036);f(4655),ge.exports=c},5441:function(ge,_,f){var c=f(2582);f(4655),ge.exports=c},7705:function(ge){"use strict";ge.exports=function(_){var f=[];return f.toString=function(){return this.map(function(c){var o="",C=void 0!==c[5];return c[4]&&(o+="@supports (".concat(c[4],") {")),c[2]&&(o+="@media ".concat(c[2]," {")),C&&
1(o+="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {")),o+=_(c),C&&(o+="}"),c[2]&&(o+="}"),c[4]&&(o+="}"),o}).join("")},f.i=function(c,o,C,a,E){"string"==typeof c&&(c=[[null,c,void 0]]);var T={};if(C)for(var s=0;s<this.length;s++){var h=this[s][0];null!=h&&(T[h]=!0)}for(var u=0;u<c.length;u++){var v=[].concat(c[u]);C&&T[v[0]]||(void 0!==E&&(void 0===v[5]||(v[1]="@layer".concat(v[5].length>0?" ".concat(v[5]):""," {").concat(v[1],"}")),v[5]=E),o&&(v[2]&&(v[1]="@media ".concat(v[2]," {").concat(v[1],"}")),v[2]=o),a&&(v[4]?(v[1]="@supports (".concat(v[4],") {").concat(v[1],"}"),v[4]=a):v[4]="".concat(a)),f.push(v))}},f}},6738:function(ge){"use strict";ge.exports=function(_){return _[1]}},8679:function(ge){var _=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,f=window.WeakMap;if(void 0===f){var c=Object.defineProperty,o=Date.now()%1e9;(f=function(){this.name="__st"+(1e9*Math.random()>>>0)+o+++"__"}).prototype={set:function(K,z){var H=K[this.name];return H&&H[0]===K?H[1]=z:c(K,this.name,{value:[K,z],writable:!0}),this},get:function(K){var z;return(z=K[this.name])&&z[0]===K?z[1]:void 0},delete:function(K){var z=K[this.name];if(!z)return!1;var H=z[0]===K;return z[0]=z[1]=void 0,H},has:function(K){var z=K[this.name];return!!z&&z[0]===K}}}var C=new f,a=window.msSetImmediate;if(!a){var E=[],T=String(Math.random());window.addEventListener("message",function(K){if(K.data===T){var z=E;E=[],z.forEach(function(H){H()})}}),a=function(K){E.push(K),window.postMessage(T,"*")}}var s=!1,h=[];function u(){s=!1;var K=h;h=[],K.sort(function(H,x){return H.uid_-x.uid_});var z=!1;K.forEach(function(H){var q,x=H.takeRecords();(q=H).nodes_.forEach(function(Z){var de=C.get(Z);de&&de.forEach(function(ee){ee.observer===q&&ee.removeTransientObservers()})}),x.length&&(H.callback_(x,H),z=!0)}),z&&u()}function v(K,z){for(var H=K;H;H=H.parentNode){var x=C.get(H);if(x)for(var q=0;q<x.length;q++){var Z=x[q],de=Z.options;if(H===K||de.subtree){var ee=z(de);ee&&Z.enqueue(ee)}}}}var g,y,p=0;function b(K){this.callback_=K,this.nodes_=[],this.records_=[],this.uid_=++p}function R(K,z){this.type=K,this.target=z,this.addedNodes=[],this.removedNodes=[],this.previousSibling=null,this.nextSibling=null,this.attributeName=null,this.attributeNamespace=null,this.oldValue=null}function P(K,z){return g=new R(K,z)}function k(K){return y||((H=new R((z=g).type,z.target)).addedNodes=z.addedNodes.slice(),H.removedNodes=z.removedNodes.slice(),H.previousSibling=z.previousSibling,H.nextSibling=z.nextSibling,H.attributeName=z.attributeName,H.attributeNamespace=z.attributeNamespace,H.oldValue=z.oldValue,(y=H).oldValue=K,y);var z,H}function V(K,z,H){this.observer=K,this.target=z,this.options=H,this.transientObservedNodes=[]}b.prototype={observe:function(K,z){var H;if(H=K,K=window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(H)||H,!z.childList&&!z.attributes&&!z.characterData||z.attributeOldValue&&!z.attributes||z.attributeFilter&&z.attributeFilter.length&&!z.attributes||z.characterDataOldValue&&!z.characterData)throw new SyntaxError;var x,q=C.get(K);q||C.set(K,q=[]);for(var Z=0;Z<q.length;Z++)if(q[Z].observer===this){(x=q[Z]).removeListeners(),x.options=z;break}x||(x=new V(this,K,z),q.push(x),this.nodes_.push(K)),x.addListeners()},disconnect:function(){this.nodes_.forEach(function(K){for(var z=C.get(K),H=0;H<z.length;H++){var x=z[H];if(x.observer===this){x.removeListeners(),z.splice(H,1);break}}},this),this.records_=[]},takeRecords:function(){var K=this.records_;return this.records_=[],K}},V.prototype={enqueue:function(K){var H=this.observer.records_,x=H.length;if(H.length>0){var q=function O(K,z){return K===z?K:!y||(H=K)!==y&&H!==g?null:y;var H}(H[x-1],K);if(q)return void(H[x-1]=q)}else h.push(this.observer),s||(s=!0,a(u));H[x]=K},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(K){var z=this.options;z.attributes&&K.addEventListener("DOMAttrModified",this,!0),z.characterData&&K.addEventListener("DOMCharacterDataModified",this,!0),z.childList&&K.addEventListener("DOMNodeInserted",this,!0),(z.childList||z.subtree)&&K.addEventListener("DOMNodeRemoved",this,
1!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(K){var z=this.options;z.attributes&&K.removeEventListener("DOMAttrModified",this,!0),z.characterData&&K.removeEventListener("DOMCharacterDataModified",this,!0),z.childList&&K.removeEventListener("DOMNodeInserted",this,!0),(z.childList||z.subtree)&&K.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(K){if(K!==this.target){this.addListeners_(K),this.transientObservedNodes.push(K);var z=C.get(K);z||C.set(K,z=[]),z.push(this)}},removeTransientObservers:function(){var K=this.transientObservedNodes;this.transientObservedNodes=[],K.forEach(function(z){this.removeListeners_(z);for(var H=C.get(z),x=0;x<H.length;x++)if(H[x]===this){H.splice(x,1);break}},this)},handleEvent:function(K){switch(K.stopImmediatePropagation(),K.type){case"DOMAttrModified":var z=K.attrName,H=K.relatedNode.namespaceURI,x=K.target;(Z=new P("attributes",x)).attributeName=z,Z.attributeNamespace=H;var q=null;typeof MutationEvent<"u"&&K.attrChange===MutationEvent.ADDITION||(q=K.prevValue),v(x,function(ne){if(ne.attributes&&(!ne.attributeFilter||!ne.attributeFilter.length||-1!==ne.attributeFilter.indexOf(z)||-1!==ne.attributeFilter.indexOf(H)))return ne.attributeOldValue?k(q):Z});break;case"DOMCharacterDataModified":var Z=P("characterData",x=K.target);q=K.prevValue,v(x,function(ne){if(ne.characterData)return ne.characterDataOldValue?k(q):Z});break;case"DOMNodeRemoved":this.addTransientObserver(K.target);case"DOMNodeInserted":var de,ee,Y=K.target;"DOMNodeInserted"===K.type?(de=[Y],ee=[]):(de=[],ee=[Y]);var ae=Y.previousSibling,fe=Y.nextSibling;(Z=P("childList",x=K.relatedNode)).addedNodes=de,Z.removedNodes=ee,Z.previousSibling=ae,Z.nextSibling=fe,v(x,function(ne){if(ne.childList)return Z})}g=y=void 0}},_||(_=b),ge.exports=_},7588:function(ge){var _=function(f){"use strict";var c,o=Object.prototype,C=o.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},E=a.iterator||"@@iterator",T=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function h(ne,ce,me){return Object.defineProperty(ne,ce,{value:me,enumerable:!0,configurable:!0,writable:!0}),ne[ce]}try{h({},"")}catch{h=function(ce,me,re){return ce[me]=re}}function u(ne,ce,me,re){var X=Object.create((ce&&ce.prototype instanceof P?ce:P).prototype),M=new Y(re||[]);return X._invoke=function(N,G,ue){var ve=g;return function(we,Re){if(ve===p)throw new Error("Generator is already running");if(ve===b){if("throw"===we)throw Re;return fe()}for(ue.method=we,ue.arg=Re;;){var et=ue.delegate;if(et){var at=Z(et,ue);if(at){if(at===R)continue;return at}}if("next"===ue.method)ue.sent=ue._sent=ue.arg;else if("throw"===ue.method){if(ve===g)throw ve=b,ue.arg;ue.dispatchException(ue.arg)}else"return"===ue.method&&ue.abrupt("return",ue.arg);ve=p;var Pt=v(N,G,ue);if("normal"===Pt.type){if(ve=ue.done?b:y,Pt.arg===R)continue;return{value:Pt.arg,done:ue.done}}"throw"===Pt.type&&(ve=b,ue.method="throw",ue.arg=Pt.arg)}}}(ne,me,M),X}function v(ne,ce,me){try{return{type:"normal",arg:ne.call(ce,me)}}catch(re){return{type:"throw",arg:re}}}f.wrap=u;var g="suspendedStart",y="suspendedYield",p="executing",b="completed",R={};function P(){}function k(){}function O(){}var V={};h(V,E,function(){return this});var K=Object.getPrototypeOf,z=K&&K(K(ae([])));z&&z!==o&&C.call(z,E)&&(V=z);var H=O.prototype=P.prototype=Object.create(V);function x(ne){["next","throw","return"].forEach(function(ce){h(ne,ce,function(me){return this._invoke(ce,me)})})}function q(ne,ce){function me($,X,M,N){var G=v(ne[$],ne,X);if("throw"!==G.type){var ue=G.arg,ve=ue.value;return ve&&"object"==typeof ve&&C.call(ve,"__await")?ce.resolve(ve.__await).then(function(we){me("next",we,M,N)},function(we){me("throw",we,M,N)}):ce.resolve(ve).then(function(we){ue.value=we,M(ue)},function(we){return me("throw",we,M,N)})}N(G.arg)}var re;this._invoke=function($,X){function M(){return new ce(function(N,G){me($,X,N,G)})}return re=re?re.then(M,M):M()}}function Z(ne,ce){var me=ne.iterator[ce.method];if(me===c){if(ce.delegate=null,"throw"===ce.method){if(ne.iterator.return&&
vendor: 5,439 bytes, line 1
1(ce.method="return",ce.arg=c,Z(ne,ce),"throw"===ce.method))return R;ce.method="throw",ce.arg=new TypeError("The iterator does not provide a 'throw' method")}return R}var re=v(me,ne.iterator,ce.arg);if("throw"===re.type)return ce.method="throw",ce.arg=re.arg,ce.delegate=null,R;var $=re.arg;return $?$.done?(ce[ne.resultName]=$.value,ce.next=ne.nextLoc,"return"!==ce.method&&(ce.method="next",ce.arg=c),ce.delegate=null,R):$:(ce.method="throw",ce.arg=new TypeError("iterator result is not an object"),ce.delegate=null,R)}function de(ne){var ce={tryLoc:ne[0]};1 in ne&&(ce.catchLoc=ne[1]),2 in ne&&(ce.finallyLoc=ne[2],ce.afterLoc=ne[3]),this.tryEntries.push(ce)}function ee(ne){var ce=ne.completion||{};ce.type="normal",delete ce.arg,ne.completion=ce}function Y(ne){this.tryEntries=[{tryLoc:"root"}],ne.forEach(de,this),this.reset(!0)}function ae(ne){if(ne){var ce=ne[E];if(ce)return ce.call(ne);if("function"==typeof ne.next)return ne;if(!isNaN(ne.length)){var me=-1,re=function $(){for(;++me<ne.length;)if(C.call(ne,me))return $.value=ne[me],$.done=!1,$;return $.value=c,$.done=!0,$};return re.next=re}}return{next:fe}}function fe(){return{value:c,done:!0}}return k.prototype=O,h(H,"constructor",O),h(O,"constructor",k),k.displayName=h(O,s,"GeneratorFunction"),f.isGeneratorFunction=function(ne){var ce="function"==typeof ne&&ne.constructor;return!!ce&&(ce===k||"GeneratorFunction"===(ce.displayName||ce.name))},f.mark=function(ne){return Object.setPrototypeOf?Object.setPrototypeOf(ne,O):(ne.__proto__=O,h(ne,s,"GeneratorFunction")),ne.prototype=Object.create(H),ne},f.awrap=function(ne){return{__await:ne}},x(q.prototype),h(q.prototype,T,function(){return this}),f.AsyncIterator=q,f.async=function(ne,ce,me,re,$){void 0===$&&($=Promise);var X=new q(u(ne,ce,me,re),$);return f.isGeneratorFunction(ce)?X:X.next().then(function(M){return M.done?M.value:X.next()})},x(H),h(H,s,"Generator"),h(H,E,function(){return this}),h(H,"toString",function(){return"[object Generator]"}),f.keys=function(ne){var ce=[];for(var me in ne)ce.push(me);return ce.reverse(),function re(){for(;ce.length;){var $=ce.pop();if($ in ne)return re.value=$,re.done=!1,re}return re.done=!0,re}},f.values=ae,Y.prototype={constructor:Y,reset:function(ne){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(ee),!ne)for(var ce in this)"t"===ce.charAt(0)&&C.call(this,ce)&&!isNaN(+ce.slice(1))&&(this[ce]=c)},stop:function(){this.done=!0;var ne=this.tryEntries[0].completion;if("throw"===ne.type)throw ne.arg;return this.rval},dispatchException:function(ne){if(this.done)throw ne;var ce=this;function me(G,ue){return X.type="throw",X.arg=ne,ce.next=G,ue&&(ce.method="next",ce.arg=c),!!ue}for(var re=this.tryEntries.length-1;re>=0;--re){var $=this.tryEntries[re],X=$.completion;if("root"===$.tryLoc)return me("end");if($.tryLoc<=this.prev){var M=C.call($,"catchLoc"),N=C.call($,"finallyLoc");if(M&&N){if(this.prev<$.catchLoc)return me($.catchLoc,!0);if(this.prev<$.finallyLoc)return me($.finallyLoc)}else if(M){if(this.prev<$.catchLoc)return me($.catchLoc,!0)}else{if(!N)throw new Error("try statement without catch or finally");if(this.prev<$.finallyLoc)return me($.finallyLoc)}}}},abrupt:function(ne,ce){for(var me=this.tryEntries.length-1;me>=0;--me){var re=this.tryEntries[me];if(re.tryLoc<=this.prev&&C.call(re,"finallyLoc")&&this.prev<re.finallyLoc){var $=re;break}}$&&("break"===ne||"continue"===ne)&&$.tryLoc<=ce&&ce<=$.finallyLoc&&($=null);var X=$?$.completion:{};return X.type=ne,X.arg=ce,$?(this.method="next",this.next=$.finallyLoc,R):this.complete(X)},complete:function(ne,ce){if("throw"===ne.type)throw ne.arg;return"break"===ne.type||"continue"===ne.type?this.next=ne.arg:"return"===ne.type?(this.rval=this.arg=ne.arg,this.method="return",this.next="end"):"normal"===ne.type&&ce&&(this.next=ce),R},finish:function(ne){for(var ce=this.tryEntries.length-1;ce>=0;--ce){var me=this.tryEntries[ce];if(me.finallyLoc===ne)return this.complete(me.completion,me.afterLoc),ee(me),R}},catch:function(ne){for(var ce=this.tryEntries.length-1;ce>=0;--ce){var me=this.tryEntries[ce];if(me.tryLoc===ne){var re=me.completion;if("throw"===re.type){var $=re.arg;ee(me)}return $}}throw new Error("illegal catch attempt")},delegateYield:function(ne,ce,me){return this.delegate={iterator:ae(ne),resultName:ce,nextLoc:me},"next"===this.method&&(this.arg=c),R}},f}(ge.exports);try{regeneratorRuntime=_}catch{"object"==typeof globalThis?globalThis.regeneratorRuntime=_:Function("r","regeneratorRuntime = r")(_)}},8702:function(ge,_,f){"use strict";f.d(_,{Z:function(){return re}});var c=f(4296),o=f(6464),C=f(6881),a=f(2942),E=f(7003),T=f(3379),s=f.n(T),h=f(7795),u=f.n(h),v=f(569),g=f.n(v),y=f(3565),p=f.n(y),b=f(9216),R=f.n(b),P=f(4589),k=f.n(P),O=f(5313),V={};O.Z&&O.Z.locals&&(V.locals=O.Z.locals);var K,z=0,H={};H.styleTagTransform=k(),H.setAttributes=p(),H.insert=g().bind(null,"head"),H.domAPI=u(),H.insertStyleElement=R(),V.use=function($){return H.options=$||{},z++||(K=s()(O.Z,H)),V},V.unuse=function(){z>0&&! --z&&(K(),K=null)};var x=V;function q($){var X,M;return{c:function(){X=(0,a.bi5)("svg"),M=(0,a.bi5)("path"),(0,a.Ljt)(M,"d","M599.99999 832.000004h47.999999a24 24 0 0 0 23.999999-24V376.000013a24 24 0 0 0-23.999999-24h-47.999999a24 24 0 0 0-24 24v431.999991a24 24 0 0 0 24 24zM927.999983 160.000017h-164.819997l-67.999998-113.399998A95.999998 95.999998 0 0 0 612.819989 0.00002H4
111.179993a95.999998 95.999998 0 0 0-82.319998 46.599999L260.819996 160.000017H95.999999A31.999999 31.999999 0 0 0 64 192.000016v32a31.999999 31.999999 0 0 0 31.999999 31.999999h32v671.999987a95.999998 95.999998 0 0 0 95.999998 95.999998h575.999989a95.999998 95.999998 0 0 0 95.999998-95.999998V256.000015h31.999999a31.999999 31.999999 0 0 0 32-31.999999V192.000016a31.999999 31.999999 0 0 0-32-31.999999zM407.679993 101.820018A12 12 0 0 1 417.999993 96.000018h187.999996a12 12 0 0 1 10.3 5.82L651.219989 160.000017H372.779994zM799.999986 928.000002H223.999997V256.000015h575.999989z m-423.999992-95.999998h47.999999a24 24 0 0 0 24-24V376.000013a24 24 0 0 0-24-24h-47.999999a24 24 0 0 0-24 24v431.999991a24 24 0 0 0 24 24z"),(0,a.Ljt)(X,"class","vc-icon-delete"),(0,a.Ljt)(X,"viewBox","0 0 1024 1024"),(0,a.Ljt)(X,"width","200"),(0,a.Ljt)(X,"height","200")},m:function(N,G){(0,a.$Tr)(N,X,G),(0,a.R3I)(X,M)},d:function(N){N&&(0,a.ogt)(X)}}}function Z($){var X,M,N;return{c:function(){X=(0,a.bi5)("svg"),M=(0,a.bi5)("path"),N=(0,a.bi5)("path"),(0,a.Ljt)(M,"d","M874.154197 150.116875A511.970373 511.970373 0 1 0 1023.993986 511.991687a511.927744 511.927744 0 0 0-149.839789-361.874812z m-75.324866 648.382129A405.398688 405.398688 0 1 1 917.422301 511.991687a405.313431 405.313431 0 0 1-118.59297 286.507317z"),(0,a.Ljt)(N,"d","M725.039096 299.274605a54.351559 54.351559 0 0 0-76.731613 0l-135.431297 135.431297L377.274375 299.274605a54.436817 54.436817 0 0 0-76.944756 76.987385l135.388668 135.431297-135.388668 135.473925a54.436817 54.436817 0 0 0 76.944756 76.987385l135.388668-135.431297 135.431297 135.473926a54.436817 54.436817 0 0 0 76.731613-76.987385l-135.388668-135.473926 135.388668-135.431296a54.479445 54.479445 0 0 0 0.213143-77.030014z"),(0,a.Ljt)(X,"viewBox","0 0 1024 1024"),(0,a.Ljt)(X,"width","200"),(0,a.Ljt)(X,"height","200")},m:function(G,ue){(0,a.$Tr)(G,X,ue),(0,a.R3I)(X,M),(0,a.R3I)(X,N)},d:function(G){G&&(0,a.ogt)(X)}}}function de($){var X,M;return{c:function(){X=(0,a.bi5)("svg"),M=(0,a.bi5)("path"),(0,a.Ljt)(M,"fill-rule","evenodd"),(0,a.Ljt)(M,"d","M5.75 1a.75.75 0 00-.75.75v3c0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75v-3a.75.75 0 00-.75-.75h-4.5zm.75 3V2.5h3V4h-3zm-2.874-.467a.75.75 0 00-.752-1.298A1.75 1.75 0 002 3.75v9.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0014 13.25v-9.5a1.75 1.75 0 00-.874-1.515.75.75 0 10-.752 1.298.25.25 0 01.126.217v9.5a.25.25 0 01-.25.25h-8.5a.25.25 0 01-.25-.25v-9.5a.25.25 0 01.126-.217z"),(0,a.Ljt)(X,"class","vc-icon-copy"),(0,a.Ljt)(X,"viewBox","0 0 16 16")},m:function(N,G){(0,a.$Tr)(N,X,G),(0,a.R3I)(X,M)},d:function(N){N&&(0,a.ogt)(X)}}}function ee($){var X,M;return{c:function(){X=(0,a.bi5)("svg"),M=(0,a.bi5)("path"),(0,a.Ljt)(M,"fill-rule","evenodd"),(0,a.Ljt)(M,"d","M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"),(0,a.Ljt)(X,"class","vc-icon-suc"),(0,a.Ljt)(X,"viewBox","0 0 16 16")},m:function(N,G){(0,a.$Tr)(N,X,G),(0,a.R3I)(X,M)},d:function(N){N&&(0,a.ogt)(X)}}}function Y($){var X,M,N;return{c:function(){X=(0,a.bi5)("svg"),M=(0,a.bi5)("path"),N=(0,a.bi5)("path"),(0,a.Ljt)(M,"d","M776.533333 1024 162.133333 1024C72.533333 1024 0 951.466667 0 861.866667L0 247.466667C0 157.866667 72.533333 85.333333 162.133333 85.333333L469.333333 85.333333c25.6 0 42.666667 17.066667 42.666667 42.666667s-17.066667 42.666667-42.666667 42.666667L162.133333 170.666667C119.466667 170.666667 85.333333 204.8 85.333333 247.466667l0 610.133333c0 42.666667 34.133333 76.8 76.8 76.8l610.133333 0c42.666667 0 76.8-34.133333 76.8-76.8L849.066667 554.666667c0-25.6 17.066667-42.666667 42.666667-42.666667s42.666667 17.066667 42.666667 42.666667l0 307.2C938.666667 951.466667 866.133333 1024 776.533333 1024z"),(0,a.Ljt)(N,"d","M256 810.666667c-12.8 0-21.333333-4.266667-29.866667-12.8C217.6 789.333333 213.333333 772.266667 213.333333 759.466667l42.666667-213.333333c0-8.533333 4.266667-17.066667 12.8-21.333333l512-512c17.066667-17.066667 42.666667-17.066667 59.733333 0l170.666667 170.666667c17.066667 17.066667 17.066667 42.666667 0 59.733333l-512 512c-4.266667 4.266667-12.8 8.533333-21.333333 12.8l-213.333333 42.666667C260.266667 810.666667 260.266667 810.666667 256 810.666667zM337.066667 576l-25.6 136.533333 136.533333-25.6L921.6 213.333333 810.666667 102.4 337.066667 576z"),(0,a.Ljt)(X,"class","vc-icon-edit"),(0,a.Ljt)(X,"viewBox","0 0 1024 1024"),(0,a.Ljt)(X,"width","200"),(0,a.Ljt)(X,"height","200")},m:function(G,ue){(0,a.$Tr)(G,X,ue),(0,a.R3I)(X,M),(0,a.R3I)(X,N)},d:function(G){G&&(0,a.ogt)(X)}}}function ae($){var X,M;return{c:function(){X=(0,a.bi5)("svg"),M=(0,a.bi5)("path"),(0,a.Ljt)(M,"d","M581.338005 987.646578c-2.867097 4.095853-4.573702 8.669555-8.191705 12.287558a83.214071 83.214071 0 0 1-60.959939 24.029001 83.214071 83.214071 0 0 1-61.028203-24.029001c-3.618003-3.618003-5.324608-8.191705-8.123441-12.15103L24.370323 569.050448a83.418864 83.418864 0 0 1 117.892289-117.89229l369.923749 369.92375L1308.829682 24.438587A83.418864 83.418864 0 0 1 1426.721971 142.194348L581.338005 987.646578z"),(0,a.Ljt)(X,"class","vc-icon-don"),(0,a.Ljt)(X,"viewBox","0 0 1501 1024"),(0,a.Ljt)(X,"width","200"),(0,a.Ljt)(X,"height","200")},m:function(N,G){(0,a.$Tr)(N,X,G),(0,a.R3I)(X,M)},d:function(N){N&&(0,a.ogt)(X)}}}function fe($){var X,M;return{c:function(){X=(0,a.bi5)("svg"),M=(0,a.bi5)("path"),(0,a.Ljt)(M,"d","M894.976 574.464q0 78.848-29.696 148.48t-81.408
1123.392-121.856 88.064-151.04 41.472q-5.12 1.024-9.216 1.536t-9.216 0.512l-177.152 0q-17.408 0-34.304-6.144t-30.208-16.896-22.016-25.088-8.704-29.696 8.192-29.696 21.504-24.576 29.696-16.384 33.792-6.144l158.72 1.024q54.272 0 102.4-19.968t83.968-53.76 56.32-79.36 20.48-97.792q0-49.152-18.432-92.16t-50.688-76.8-75.264-54.784-93.184-26.112q-2.048 0-2.56 0.512t-2.56 0.512l-162.816 0 0 80.896q0 17.408-13.824 25.6t-44.544-10.24q-8.192-5.12-26.112-17.92t-41.984-30.208-50.688-36.864l-51.2-38.912q-15.36-12.288-26.624-22.016t-11.264-24.064q0-12.288 12.8-25.6t29.184-26.624q18.432-15.36 44.032-35.84t50.688-39.936 45.056-35.328 28.16-22.016q24.576-17.408 39.936-7.168t16.384 30.72l0 81.92 162.816 0q5.12 0 10.752 1.024t10.752 2.048q79.872 8.192 149.504 41.984t121.344 87.552 80.896 123.392 29.184 147.456z"),(0,a.Ljt)(X,"class","vc-icon-cancel"),(0,a.Ljt)(X,"viewBox","0 0 1024 1024"),(0,a.Ljt)(X,"width","200"),(0,a.Ljt)(X,"height","200")},m:function(N,G){(0,a.$Tr)(N,X,G),(0,a.R3I)(X,M)},d:function(N){N&&(0,a.ogt)(X)}}}function ne($){var X,M,N,G,ue,ve,we,Re,et,at="delete"===$[0]&&q(),Pt="clear"===$[0]&&Z(),At="copy"===$[0]&&de(),It="success"===$[0]&&ee(),qt="edit"===$[0]&&Y(),St="done"===$[0]&&ae(),lt="cancel"===$[0]&&fe();return{c:function(){X=(0,a.bGB)("i"),at&&at.c(),M=(0,a.DhX)(),Pt&&Pt.c(),N=(0,a.DhX)(),At&&At.c(),G=(0,a.DhX)(),It&&It.c(),ue=(0,a.DhX)(),qt&&qt.c(),ve=(0,a.DhX)(),St&&St.c(),we=(0,a.DhX)(),lt&<.c(),(0,a.Ljt)(X,"class","vc-icon")},m:function(yt,Ft){(0,a.$Tr)(yt,X,Ft),at&&at.m(X,null),(0,a.R3I)(X,M),Pt&&Pt.m(X,null),(0,a.R3I)(X,N),At&&At.m(X,null),(0,a.R3I)(X,G),It&&It.m(X,null),(0,a.R3I)(X,ue),qt&&qt.m(X,null),(0,a.R3I)(X,ve),St&&St.m(X,null),(0,a.R3I)(X,we),lt&<.m(X,null),Re||(et=(0,a.oLt)(X,"click",$[1]),Re=!0)},p:function(yt,Ft){"delete"===yt[0]?at||((at=q()).c(),at.m(X,M)):at&&(at.d(1),at=null),"clear"===yt[0]?Pt||((Pt=Z()).c(),Pt.m(X,N)):Pt&&(Pt.d(1),Pt=null),"copy"===yt[0]?At||((At=de()).c(),At.m(X,G)):At&&(At.d(1),At=null),"success"===yt[0]?It||((It=ee()).c(),It.m(X,ue)):It&&(It.d(1),It=null),"edit"===yt[0]?qt||((qt=Y()).c(),qt.m(X,ve)):qt&&(qt.d(1),qt=null),"done"===yt[0]?St||((St=ae()).c(),St.m(X,we)):St&&(St.d(1),St=null),"cancel"===yt[0]?lt||((lt=fe()).c(),lt.m(X,null)):lt&&(lt.d(1),lt=null)},i:a.ZTd,o:a.ZTd,d:function(yt){yt&&(0,a.ogt)(X),at&&at.d(),Pt&&Pt.d(),At&&At.d(),It&&It.d(),qt&&qt.d(),St&&St.d(),lt&<.d(),Re=!1,et()}}}function ce($,X,M){var N=X.name;return(0,E.H3)(function(){x.use()}),(0,E.ev)(function(){x.unuse()}),$.$$set=function(G){"name"in G&&M(0,N=G.name)},[N,function(G){a.cKT.call(this,$,G)}]}var re=function($){function X(M){var N;return N=$.call(this)||this,(0,a.S1n)((0,o.Z)(N),M,ce,ne,a.N8,{name:0}),N}return(0,C.Z)(X,$),(0,c.Z)(X,[{key:"name",get:function(){return this.$$.ctx[0]},set:function(M){this.$$set({name:M}),(0,a.yl1)()}}]),X}(a.f_C)},3903:function(__unused_webpack_module,__nested_webpack_exports__,__nested_webpack_require_120629__){"use strict";var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__=__nested_webpack_require_120629__(6464),_babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_6__=__nested_webpack_require_120629__(6881),svelte_internal__WEBPACK_IMPORTED_MODULE_0__=__nested_webpack_require_120629__(2942),svelte__WEBPACK_IMPORTED_MODULE_1__=__nested_webpack_require_120629__(7003),_component_icon_icon_svelte__WEBPACK_IMPORTED_MODULE_2__=__nested_webpack_require_120629__(8702),_logTool__WEBPACK_IMPORTED_MODULE_5__=__nested_webpack_require_120629__(8665),_log_model__WEBPACK_IMPORTED_MODULE_3__=__nested_webpack_require_120629__(5629),_logCommand_less__WEBPACK_IMPORTED_MODULE_4__=__nested_webpack_require_120629__(3411);function get_each_context(ge,_,f){var c=ge.slice();return c[28]=_[f],c}function create_if_block_2(ge){var _,f,c;return{c:function(){(_=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("li")).textContent="Close",(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(_,"class","vc-cmd-prompted-hide")},m:function(o,C){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(o,_,C),f||(c=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(_,"click",ge[5]),f=!0)},p:svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ZTd,d:function(o){o&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(_),f=!1,c()}}}function create_else_block(ge){var _;return{c:function(){(_=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("li")).textContent="No Prompted"},m:function(f,c){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(f,_,c)},p:svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ZTd,d:function(f){f&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(_)}}}function create_each_block(ge){var _,f,c,o,C=ge[28].text+"";function a(){return ge[14](ge[28])}return{c:function(){_=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("li"),f=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.fLW)(C)},m:function(E,T){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(E,_,T),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(_,f),c||(o=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(_,"click",a),c=!0)},p:function(E,T){ge=E,8&T&&C!==(C=ge[28].text+"")&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.rTO)(f,C)},d:function(E){E&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(_),c=!1,o()}}}function create_if_block_1(ge){var _,f,c,o,C;return f=new _component_icon_icon_svelte__WEBPACK_IMPORTED_MODULE_2__.Z({props:{name:"clear"}}),{c:function(){_=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("div"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.YCL)(f.$$.fragment),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(_,"class","vc-cmd-clear-btn")},m:function(a,E){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(a,_,E),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.yef)(f,_,null),c=!0,o||(C=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(_,"click",(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.AT7)(ge[17])),o=!0)},p:svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ZTd,i:function(a){c||((0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(f.$$.fragment,a),c=!0)},o:function(a){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(f.$$.fragment,a),c=!1},d:function(a){a&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(_),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.vpE)(f),o=!1,C()}}}function create_if_block(ge){var _,f,c,o,C;return f=new _component_icon_icon_svelte__WEBPACK_IMPORTED_MODULE_2__.Z({props:{name:"clear"}}),{c:function(){_=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("div"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.YCL)(f.$$.fragment),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(_,"class","vc-cmd-clear-btn")},m:function(a,E){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(a,_,E),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.yef)(f,_,null),c=!0,o||(C=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(_,"click",(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.AT7)(ge[19])),o=!0)},p:svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ZTd,i:function(a){c||((0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(f.$$.fragment,a),c=!0)},o:function(a){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(f.$$.fragment,a),c=!1},d:function(a){a&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(_),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.vpE)(f),o=!1,C()}}}function create_fragment(ge){for(var _,f,c,o,C,a,E,T,s,h,u,v,g,y,p,b,R,P,k,O,V,K=ge[3].length>0&&create_if_block_2(ge),z=ge[3],H=[],x=0;x<z.length;x+=1)H[x]=create_each_block(get_each_context(ge,z,x));var q=null;z.length||(q=create_else_block(ge));var Z=ge[1].length>0&&create_if_block_1(ge),de=ge[4].length>0&&create_if_block(ge);return{c:function(){_=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("form"),f=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("ul"),K&&K.c(),c=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)();for(var ee=0;ee<H.length;ee+=1)H[ee].c();q&&q.c(),o=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)(),C=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("div"),a=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("textarea"),E=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)(),Z&&Z.c(),T=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)(),(s=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("button")).textContent="OK",h=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)(),u=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("form"),v=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("ul"),g=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)(),y=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("div"),p=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("textarea"),b=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)(),de&&de.c(),R=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)(),(P=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("button")).textContent="Filter",(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(f,"class","vc-cmd-prompted"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(f,"style",ge[2]),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(a,"class","vc-cmd-input"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(a,"placeholder","command..."),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(C,"class","vc-cmd-input-wrap"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(s,"class","vc-cmd-btn"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(s,"type","submit"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(_,"class","vc-cmd"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(v,"class","vc-cmd-prompted"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(p,"class","vc-cmd-input"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(p,"placeholder","filter..."),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(y,"class","vc-cmd-input-wrap"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(P,"class","vc-cmd-btn"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(P,"type","submit"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(u,"class","vc-cmd vc-filter")},m:function(ee,Y){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(ee,_,Y),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(_,f),K&&K.m(f,null),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(f,c);for(var ae=0;ae<H.length;ae+=1)H[ae].m(f,null);q&&q.m(f,null),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(_,o),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(_,C),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(C,a),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.BmG)(a,ge[1]),ge[16](a),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(C,E),Z&&Z.m(C,null),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(_,T),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(_,s),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(ee,h,Y),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(ee,u,Y),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(u,v),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(u,g),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(u,y),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(y,p),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.BmG)(p,ge[4]),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(y,b),de&&de.m(y,null),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(u,R),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(u,P),k=!0,O||(V=[(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(a,"input",ge[15]),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(a,"keydown",ge[10]),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(a,"keyup",ge[11
vendor: 24,907 bytes, line 1
1]),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(a,"focus",ge[8]),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(a,"blur",ge[9]),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(_,"submit",(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.AT7)(ge[12])),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(p,"input",ge[18]),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(u,"submit",(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.AT7)(ge[13]))],O=!0)},p:function(ee,Y){var ae=Y[0];if(ee[3].length>0?K?K.p(ee,ae):((K=create_if_block_2(ee)).c(),K.m(f,c)):K&&(K.d(1),K=null),136&ae){var fe;for(z=ee[3],fe=0;fe<z.length;fe+=1){var ne=get_each_context(ee,z,fe);H[fe]?H[fe].p(ne,ae):(H[fe]=create_each_block(ne),H[fe].c(),H[fe].m(f,null))}for(;fe<H.length;fe+=1)H[fe].d(1);H.length=z.length,!z.length&&q?q.p(ee,ae):z.length?q&&(q.d(1),q=null):((q=create_else_block(ee)).c(),q.m(f,null))}(!k||4&ae)&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(f,"style",ee[2]),2&ae&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.BmG)(a,ee[1]),ee[1].length>0?Z?(Z.p(ee,ae),2&ae&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(Z,1)):((Z=create_if_block_1(ee)).c(),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(Z,1),Z.m(C,null)):Z&&((0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.dvw)(),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(Z,1,1,function(){Z=null}),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.gbL)()),16&ae&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.BmG)(p,ee[4]),ee[4].length>0?de?(de.p(ee,ae),16&ae&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(de,1)):((de=create_if_block(ee)).c(),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(de,1),de.m(y,null)):de&&((0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.dvw)(),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(de,1,1,function(){de=null}),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.gbL)())},i:function(ee){k||((0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(Z),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(de),k=!0)},o:function(ee){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(Z),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(de),k=!1},d:function(ee){ee&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(_),K&&K.d(),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.RMB)(H,ee),q&&q.d(),ge[16](null),Z&&Z.d(),ee&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(h),ee&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(u),de&&de.d(),O=!1,(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.j7q)(V)}}}function instance($$self,$$props,$$invalidate){var module=_log_model__WEBPACK_IMPORTED_MODULE_3__.W.getSingleton(_log_model__WEBPACK_IMPORTED_MODULE_3__.W,"VConsoleLogModel"),cachedObjKeys={},dispatch=(0,svelte__WEBPACK_IMPORTED_MODULE_1__.x)(),cmdElement,cmdValue="",promptedStyle="",promptedList=[],filterValue="";(0,svelte__WEBPACK_IMPORTED_MODULE_1__.H3)(function(){_logCommand_less__WEBPACK_IMPORTED_MODULE_4__.Z.use()}),(0,svelte__WEBPACK_IMPORTED_MODULE_1__.ev)(function(){_logCommand_less__WEBPACK_IMPORTED_MODULE_4__.Z.unuse()});var evalCommand=function(ge){module.evalCommand(ge)},moveCursorToPos=function(ge,_){ge.setSelectionRange&&setTimeout(function(){ge.setSelectionRange(_,_)},1)},clearPromptedList=function(){$$invalidate(2,promptedStyle="display: none;"),$$invalidate(3,promptedList=[])},updatePromptedList=function updatePromptedList(identifier){if(""!==cmdValue){identifier||(identifier=(0,_logTool__WEBPACK_IMPORTED_MODULE_5__.oj)(cmdValue));var objName="window",keyName=cmdValue;if("."!==identifier.front.text&&"["!==identifier.front.text||(objName=identifier.front.before,keyName=""!==identifier.back.text?identifier.back.before:identifier.front.after),keyName=keyName.replace(/(^['"]+)|(['"']+$)/g,""),!cachedObjKeys[objName])try{cachedObjKeys[objName]=Object.getOwnPropertyNames(eval("("+objName+")")).sort()}catch(ge){}try{if(cachedObjKeys[objName])for(var i=0;i<cachedObjKeys[objName].length&&!(promptedList.length>=100);i++){var key=String(cachedObjKeys[objName][i]),keyPattern=new RegExp("^"+keyName,"i");if(keyPattern.test(key)){var completeCmd=objName;"."===identifier.front.text||""===identifier.front.text?completeCmd+="."+key:"["===identifier.front.text&&(completeCmd+="['"+key+"']"),promptedList.push({text:key,value:completeCmd})}}}catch(ge){}if(promptedList.length>0){var m=Math.min(200,31*(promptedList.length+1));$$invalidate(2,promptedStyle="display: block; height: "+m+"px; margin-top: "+(-m-2)+"px;"),$$invalidate(3,promptedList)}else clearPromptedList()}else clearPromptedList()},autoCompleteBrackets=function(ge,_){if(8!==_&&46!==_&&""===ge.front.after)switch(ge.front.text){case"[":return $$invalidate(1,cmdValue+="]"),void moveCursorToPos(cmdElement,cmdValue.length-1);case"(":return $$invalidate(1,cmdValue+=")"),void moveCursorToPos(cmdElement,cmdValue.length-1);case"{":return $$invalidate(1,cmdValue+="}"),void moveCursorToPos(cmdElement,cmdValue.length-1)}},dispatchFilterEvent=function(){dispatch("filterText",{filterText:filterValue})},onTapClearText=function(ge){"cmd"===ge?($$invalidate(1,cmdValue=""),clearPromptedList()):"filter"===ge&&($$invalidate(4,filterValue=""),dispatchFilterEvent())},onTapPromptedItem=function onTapPromptedItem(item){var type="";try{type=eval("typeof "+item.value)}catch(ge){}$$invalidate(1,cmdValue=item.value+("function"===type?"()":"")),clearPromptedList()},onCmdFocus=function(){updatePromptedList()},onCmdBlur=function(){},onCmdKeyDown=function(ge){13===ge.keyCode&&(ge.preventDefault(),onCmdSubmit())},onCmdKeyUp=function(ge){$$invalidate(3,promptedList=[]);var _=(0,_logTool__WEBPACK_IMPORTED_MODULE_5__.oj)(ge.target.value);autoCompleteBrackets(_,ge.keyCode),updatePromptedList(_)},onCmdSubmit=function(){""!==cmdValue&&evalCommand(cmdValue),clearPromptedList()},onFilterSubmit=function(ge){dispatchFilterEvent()},click_handler=function(ge){return onTapPromptedItem(ge)};function textarea0_input_handler(){$$invalidate(1,cmdValue=this.value)}function textarea0_binding(ge){svelte_internal__WEBPACK_IMPORTED_MODULE_0__.VnY[ge?"unshift":"push"](function(){$$invalidate(0,cmdElement=ge)})}var click_handler_1=function(){return onTapClearText("cmd")};function textarea1_input_handler(){$$invalidate(4,filterValue=this.value)}var click_handler_2=function(){return onTapClearText("filter")};return[cmdElement,cmdValue,promptedStyle,promptedList,filterValue,clearPromptedList,onTapClearText,onTapPromptedItem,onCmdFocus,onCmdBlur,onCmdKeyDown,onCmdKeyUp,onCmdSubmit,onFilterSubmit,click_handler,textarea0_input_handler,textarea0_binding,click_handler_1,textarea1_input_handler,click_handler_2]}var LogCommand=function(ge){function _(f){var c;return c=ge.call(this)||this,(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.S1n)((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__.Z)(c),f,instance,create_fragment,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.N8,{}),c}return(0,_babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_6__.Z)(_,ge),_}(svelte_internal__WEBPACK_IMPORTED_MODULE_0__.f_C);__nested_webpack_exports__.Z=LogCommand},4687:function(ge,_,f){"use strict";f.d(_,{x:function(){return o}});var C,T,o={subscribe:(C=(0,f(3313).fZ)({updateTime:0})).subscribe,set:C.set,update:T=C.update,updateTime:function(){T(function(s){return s.updateTime=Date.now(),s})}}},643:function(ge,_,f){"use strict";f.d(_,{N:function(){return c}});var c=function(){function o(){this._onDataUpdateCallbacks=[]}return o.getSingleton=function(C,a){return a||(a=C.toString()),o.singleton[a]||(o.singleton[a]=new C),o.singleton[a]},o}();c.singleton={}},5103:function(ge,_,f){"use strict";function c(M){var N=M>0?new Date(M):new Date,G=N.getDate()<10?"0"+N.getDate():N.getDate(),ue=N.getMonth()<9?"0"+(N.getMonth()+1):N.getMonth()+1,ve=N.getFullYear(),we=N.getHours()<10?"0"+N.getHours():N.getHours(),Re=N.getMinutes()<10?"0"+N.getMinutes():N.getMinutes(),et=N.getSeconds()<10?"0"+N.getSeconds():N.getSeconds(),at=N.getMilliseconds()<10?"0"+N.getMilliseconds():N.getMilliseconds();return at<100&&(at="0"+at),{time:+N,year:ve,month:ue,day:G,hour:we,minute:Re,second:et,millisecond:at}}function o(M){return"[object Number]"===Object.prototype.toString.call(M)}function C(M){return"bigint"==typeof M}function a(M){return"string"==typeof M}function E(M){return"[object Array]"===Object.prototype.toString.call(M)}function T(M){return"boolean"==typeof M}function s(M){return void 0===M}function h(M){return null===M}function u(M){return"symbol"==typeof M}function v(M){return!("[object Object]"!==Object.prototype.toString.call(M)&&(o(M)||C(M)||a(M)||T(M)||E(M)||h(M)||g(M)||s(M)||u(M)))}function g(M){return"function"==typeof M}function y(M){return"object"==typeof HTMLElement?M instanceof HTMLElement:M&&"object"==typeof M&&null!==M&&1===M.nodeType&&"string"==typeof M.nodeName}function p(M){var N=Object.prototype.toString.call(M);return"[object Window]"===N||"[object DOMWindow]"===N||"[object global]"===N}function b(M){return null!=M&&"string"!=typeof M&&"boolean"!=typeof M&&"number"!=typeof M&&"function"!=typeof M&&"symbol"!=typeof M&&"bigint"!=typeof M&&typeof Symbol<"u"&&"function"==typeof M[Symbol.iterator]}function R(M){return Object.prototype.toString.call(M).replace(/\[object (.*)\]/,"$1")}f.d(_,{C4:function(){return C},DV:function(){return k},FJ:function(){return p},Ft:function(){return h},HD:function(){return a},H_:function(){return $},KL:function(){return Z},Kn:function(){return v},MH:function(){return ae},PO:function(){return O},QI:function(){return re},QK:function(){return fe},TW:function(){return b},_3:function(){return c},_D:function(){return ne},cF:function(){return me},hZ:function(){return q},hj:function(){return o},id:function(){return de},jn:function(){return T},kJ:function(){return E},kK:function(){return y},mf:function(){return g},o8:function(){return s},po:function(){return ce},qr:function(){return Y},qt:function(){return X},rE:function(){return z},yk:function(){return u},zl:function(){return R}});var P=/(function|class) ([^ \{\()}]{1,})[\(| ]/;function k(M){var N;if(null==M)return"";var G=P.exec((null==M||null==(N=M.constructor)?void 0:N.toString())||"");return G&&G.length>1?G[2]:""}function O(M){var N,G=Object.prototype.hasOwnProperty;if(!M||"object"!=typeof M||M.nodeType||p(M))return!1;try{if(M.constructor&&!G.call(M,"constructor")&&!G.call(M.constructor.prototype,"isPrototypeOf"))return!1}catch{return!1}for(N in M);return void 0===N||G.call(M,N)}var V=/[\n\t]/g,K=function(M){return{"\n":"\\n","\t":"\\t"}[M]};function z(M){return"string"!=typeof M?M:String(M).replace(V,K)}var H=function(M,N){void 0===N&&(N=0);var G="";return a(M)?(N>0&&(M=de(M,N)),G+='"'+z(M)+'"'):u(M)?G+=String(M).replace(/^Symbol\((.*)\)$/i,'Symbol("$1")'):g(M)?G+=(M.name||"function")+"()":C(M)?G+=String(M)+"n":G+=String(M),G},x=function M(N,G,ue){if(void 0===ue&&(ue=0),v(N)||E(N))if(G.circularFinder(N)){var ve="";if(E(N))ve="(Circular Array)";else if(v(N)){var we;ve="(Circular "+((null==(we=N.constructor)?void 0:we.name)||"Object")+")"}G.ret+=G.standardJSON?'"'+ve+'"':ve}else{var Re="",et="";if(G.pretty){for(var at=0;at<=ue;at++)Re+=" ";et="\n"}var Pt="{",At="}";E(N)&&(Pt="[",At="]"),G.ret+=Pt+et;for(var It=ae(N),qt=0;qt<It.length;qt++){var St=It[qt];G.ret+=Re;try{E(N)||(v(St)||E(St)||u(St)?G.ret+=Object.prototype.toString.call(St):a(St)&&G.standardJSON?G.ret+='"'+St+'"':G.ret+=St,G.ret+=": ")}catch{continue}try{var lt=N[St];if(E(lt))G.maxDepth>-1&&ue>=G.maxDepth?G.ret+="Array("+lt.length+")":M(lt,G,ue+1);else if(v(lt)){var yt;G.maxDepth>-1&&ue>=G.maxDepth?G.ret+=((null==(yt=lt.constructor)?void 0:yt.name)||"Object")+" {}":M(lt,G,ue+1)}else G.ret+=H(lt,G.keyMaxLen)}catch{G.ret+=G.standardJSON?'"(PARSE_ERROR)"':"(PARSE_ERROR)"}if(G.keyMaxLen>0&&G.ret.length>=10*G.keyMaxLen){G.ret+=", (...)";break}qt<It.length-1&&(G.ret+=", "),G.ret+=et}G.ret+=Re.substring(0,Re.length-2)+At}else G.ret+=H(N,G.keyMaxLen)};function q(M,N){void 0===N&&(N={maxDepth:-1,keyMaxLen:-1,pretty:!1,standardJSON:!1});var G,ue=Object.assign({ret:"",maxDepth:-1,keyMaxLen:-1,pretty:!1,standardJSON:!1,circularFinder:(G=new WeakSet,function(ve){if("object"==typeof ve&&null!==ve){if(G.has(ve))return!0;G.add(ve)}return!1})},N);return x(M,ue),ue.ret}function Z(M){return M<=0?"":M>=1e6?(M/1e3/1e3).toFixed(1)+" MB":M>=1e3?(M/1e3).toFixed(1)+" KB":M+" B"}function de(M,N){return M.length>N&&(M=M.substring(0,N)+"...("+Z(function(G){try{return encodeURI(G).split(/%(?:u[0-9A-F]{2})?[0-9A-F]{2}|./).length-1}catch{return 0}}(M))+")"),M}var ee=function(M,N){return String(M).localeCompare(String(N),void 0,{numeric:!0,sensitivity:"base"})};function Y(M){return M.sort(ee)}function ae(M){return v(M)||E(M)?Object.keys(M):[]}function fe(M){var ue,N=ae(M);return(v(ue=M)||E(ue)?Object.getOwnPropertyNames(ue):[]).filter(function(ue){return-1===N.indexOf(ue)})}function ne(M){return v(M)||E(M)?Object.getOwnPropertySymbols(M):[]}function ce(M,N){window.localStorage&&(M="vConsole_"+M,localStorage.setItem(M,N))}function me(M){if(window.localStorage)return M="vConsole_"+M,localStorage.getItem(M)}function re(M){return void 0===M&&(M=""),"__vc_"+M+Math.random().toString(36).substring(2,8)}function $(){return typeof window<"u"&&!!window.__wxConfig&&!!window.wx&&!!window.__virtualDOM__}function X(M){if($()&&"function"==typeof window.wx[M])try{for(var N,G=arguments.length,ue=new Array(G>1?G-1:0),ve=1;ve<G;ve++)ue[ve-1]=arguments[ve];return(N=window.wx[M]).call.apply(N,[window.wx].concat(ue))}catch(Re){return void console.debug("[vConsole] Fail to call wx."+M+"():",Re)}}},5629:function(ge,_,f){"use strict";f.d(_,{W:function(){return y}});var c=f(8270),o=f(6881),C=f(5103),a=f(643),E=f(4687),T=f(8665),s=f(9923);function h(p,b){var R=Object.keys(p);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(p);b&&(P=P.filter(function(k){return Object.getOwnPropertyDescriptor(p,k).enumerable})),R.push.apply(R,P)}return R}function u(p){for(var b=1;b<arguments.length;b++){var R=null!=arguments[b]?arguments[b]:{};b%2?h(Object(R),!0).forEach(function(P){(0,c.Z)(p,P,R[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(R)):h(Object(R)).forEach(function(P){Object.defineProperty(p,P,Object.getOwnPropertyDescriptor(R,P))})}return p}function v(p,b){var R=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(R)return(R=R.call(p)).next.bind(R);if(Array.isArray(p)||(R=function(k,O){if(k){if("string"==typeof k)return g(k,O);var V=Object.prototype.toString.call(k).slice(8,-1);if("Object"===V&&k.constructor&&(V=k.constructor.name),"Map"===V||"Set"===V)return Array.from(k);if("Arguments"===V||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(V))return g(k,O)}}(p))||b&&p&&"number"==typeof p.length){R&&(p=R);var P=0;return function(){return P>=p.length?{done:!0}:{done:!1,value:p[P++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(p,b){(null==b||b>p.length)&&(b=p.length);for(var R=0,P=new Array(b);R<b;R++)P[R]=p[R];return P}var y=function(p){function b(){for(var P,k=arguments.length,O=new Array(k),V=0;V<k;V++)O[V]=arguments[V];return(P=p.call.apply(p,[this].concat(O))||this).LOG_METHODS=["log","info","warn","debug","error"],P.ADDED_LOG_PLUGIN_ID=[],P.maxLogNumber=1e3,P.logCounter=0,P.groupLevel=0,P.groupLabelCollapsedStack=[],P.pluginPattern=void 0,P.logQueue=[],P.flushLogScheduled=!1,P.origConsole={},P}(0,o.Z)(b,p);var R=b.prototype;return R.bindPlugin=function(P){return!(this.ADDED_LOG_PLUGIN_ID.indexOf(P)>-1||(0===this.ADDED_LOG_PLUGIN_ID.length&&this.mockConsole(),s.O.create(P),this.ADDED_LOG_PLUGIN_ID.push(P),this.pluginPattern=new RegExp("^\\[("+this.ADDED_LOG_PLUGIN_ID.join("|")+")\\]$","i"),0))},R.unbindPlugin=function(P){var k=this.ADDED_LOG_PLUGIN_ID.indexOf(P);return-1!==k&&(this.ADDED_LOG_PLUGIN_ID.splice(k,1),s.O.delete(P),0===this.ADDED_LOG_PLUGIN_ID.length&&this.unmockConsole(),!0)},R.mockConsole=function(){var P=this;"function"!=typeof this.origConsole.log&&(window.console?(this.LOG_METHODS.map(function(k){P.origConsole[k]=window.console[k]}),this.origConsole.time=window.console.time,this.origConsole.timeEnd=window.console.timeEnd,this.origConsole.clear=window.console.clear,this.origConsole.group=window.console.group,this.origConsole.groupCollapsed=window.console.groupCollapsed,this.origConsole.groupEnd=window.console.groupEnd):window.console={},this._mockConsoleLog(),this._mockConsoleTime(),this._mockConsoleGroup(),this._mockConsoleClear(),window._vcOrigConsole=this.origConsole)},R._mockConsoleLog=function(){var P=this;this.LOG_METHODS.map(function(k){window.console[k]=function(){for(var O=arguments.length,V=new Array(O),K=0;K<O;K++)V[K]=arguments[K];P.addLog({type:k,origData:V||[]})}.bind(window.console)})},R._mockConsoleTime=function(){var P=this,k={};window.console.time=function(O){void 0===O&&(O=""),k[O]=Date.now()}.bind(window.console),window.console.timeEnd=function(O){void 0===O&&(O="");var V=k[O],K=0;V&&(K=Date.now()-V,delete k[O]),P.addLog({type:"log",origData:[O+": "+K+"ms"]})}.bind(window.console)},R._mockConsoleGroup=function(){var P=this,k=function(O){return function(V){void 0===V&&(V="console.group");var K=Symbol(V);P.groupLabelCollapsedStack.push({label:K,collapsed:O}),P.addLog({type:"log",origData:[V],isGroupHeader:O?2:1,isGroupCollapsed:!1},{noOrig:!0}),P.groupLevel++,O?P.origConsole.groupCollapsed(V):P.origConsole.group(V)}.bind(window.console)};window.console.group=k(!1),window.console.groupCollapsed=k(!0),window.console.groupEnd=function(){P.groupLabelCollapsedStack.pop(),P.groupLevel=Math.max(0,P.groupLevel-1),P.origConsole.groupEnd()}.bind(window.console)},R._mockConsoleClear=function(){var P=this;window.console.clear=function(){P.resetGroup(),P.clearLog();for(var k=arguments.length,O=new Array(k),V=0;V<k;V++)O[V]=arguments[V];P.callOriginalConsole.apply(P,["clear"].concat(O))}.bind(window.console)},R.unmockConsole=function(){for(var P in this.origConsole)window.console[P]=this.origConsole[P],delete this.origConsole[P];window._vcOrigConsole&&delete window._vcOrigConsole},R.callOriginalConsole=function(P){if("function"==typeof this.origConsole[P]){for(var k=arguments.length,O=new Array(k>1?k-1:0),V=1;V<k;V++)O[V-1]=arguments[V];this.origConsole[P].apply(window.console,O)}},R.resetGroup=function(){for(;this.groupLevel>0;)console.groupEnd()},R.clearLog=function(){var P=s.O.getAll();for(var k in P)this.clearPluginLog(k)},R.clearPluginLog=function(P){var k=this.logQueue;this.logQueue=[];for(var O,V=v(k);!(O=V()).done;){var K=O.value;this._extractPluginIdByLog(K)!==P&&this.logQueue.push(K)}s.O.get(P).update(function(z){return z.logList.length=0,z}),E.x.updateTime()},R.addLog=function(P,k){void 0===P&&(P={type:"log",origData:[],isGroupHeader:0,isGroupCollapsed:!1});var O=this.groupLabelCollapsedStack[this.groupLabelCollapsedStack.length-2],V=this.groupLabelCollapsedStack[this.groupLabelCollapsedStack.length-1],K={_id:C.QI(),type:P.type,cmdType:null==k?void 0:k.cmdType,toggle:{},date:Date.now(),data:(0,T.b1)(P.origData||[]),repeated:0,groupLabel:null==V?void 0:V.label,groupLevel:this.groupLevel,groupHeader:P.isGroupHeader,groupCollapsed:P.isGroupHeader?!(null==O||!O.collapsed):!(null==V||!V.collapsed)};this._signalLog(K),null!=k&&k.noOrig||this.callOriginalConsole.apply(this,[P.type].concat(P.origData))},R.evalCommand=function(P){this.addLog({type:"log",origData:[P]},{cmdType:"input"});var k=void 0;try{k=eval.call(window,"("+P+")")}catch{try{k=eval.call(window,P)}catch{}}this.addLog({type:"log",origData:[k]},{cmdType:"output"})},R._signalLog=function(P){var k=this;this.flushLogScheduled||(this.flushLogScheduled=!0,window.requestAnimationFrame(function(){k.flushLogScheduled=!1,k._flushLogs()})),this.logQueue.push(P)},R._flushLogs=function(){var P=this,k=this.logQueue;this.logQueue=[];for(var O,V={},K=v(k);!(O=K()).done;){var z=O.value,H=this._extractPluginIdByLog(z);(V[H]=V[H]||[]).push(z)}for(var x=function(de){var ee=V[de];s.O.get(de).update(function(Y){for(var ae,fe=[].concat(Y.logList),ne=v(ee);!(ae=ne()).done;){var ce=ae.value;P._isRepeatedLog(fe,ce)?P._updateLastLogRepeated(fe):fe.push(ce)}return{logList:fe=P._limitLogListLength(fe)}})},q=0,Z=Object.keys(V);q<Z.length;q++)x(Z[q]);E.x.updateTime()},R._extractPluginIdByLog=function(P){var k,O="default",V=null==(k=P.data[0])?void 0:k.origData;if(C.HD(V)){var K=V.match(this.pluginPattern);if(null!==K&&K.length>1){var z=K[1].toLowerCase();this.ADDED_LOG_PLUGIN_ID.indexOf(z)>-1&&(O=z,P.data.shift())}}return O},R._isRepeatedLog=function(P,k){var O=P[P.length-1];if(!O)return!1;var V=!1;if(k.type===O.type&&k.cmdType===O.cmdType&&k.data.length===O.data.length){V=!0;for(var K=0;K<k.data.length;K++)if(k.data[K].origData!==O.data[K].origData){V=!1;break}}return V},R._updateLastLogRepeated=function(P){var k=P[P.length-1],O=k.repeated?k.repeated+1:2;return P[P.length-1]=u(u({},k),{},{repeated:O}),P},R._limitLogListLength=function(P){var k=P.length,O=this.maxLogNumber;return k>O?P.slice(k-O,k):P},b}(a.N)},9923:function(ge,_,f){"use strict";f.d(_,{O:function(){return o}});var c=f(3313),o=function(){function C(){}return C.create=function(a){return this.storeMap[a]||(this.storeMap[a]=(0,c.fZ)({logList:[]})),this.storeMap[a]},C.delete=function(a){this.storeMap[a]&&delete this.storeMap[a]},C.get=function(a){return this.storeMap[a]},C.getRaw=function(a){return(0,c.U2)(this.storeMap[a])},C.getAll=function(){return this.storeMap},C}();o.storeMap={}},8665:function(ge,_,f){"use strict";f.d(_,{HX:function(){return h},LH:function(){return C},Tg:function(){return g},b1:function(){return v},oj:function(){return s}});var c=f(5103),o=function(y){var p=c.hZ(y,{maxDepth:0}),b=p.substring(0,36),R=c.DV(y);return p.length>36&&(b+="..."),c.rE(R+" "+b)},C=function(y,p){void 0===p&&(p=!0);var b="undefined",R=y;return y instanceof g?(b="uninvocatable",R="(...)"):c.kJ(y)?(b="array",R=o(y)):c.Kn(y)?(b="object",R=o(y)):c.HD(y)?(b="string",R=c.rE(y),p&&(R='"'+R+'"')):c.hj(y)?(b="number",R=String(y)):c.C4(y)?(b="bigint",R=String(y)+"n"):c.jn(y)?(b="boolean",R=String(y)):c.Ft(y)?(b="null",R="null"):c.o8(y)?(b="undefined",R="undefined"):c.mf(y)?(b="function",R=(y.name||"function")+"()"):c.yk(y)&&(b="symbol",R=String(y)),{text:R,valueType:b}},a=[".","[","(","{","}"],E=["]",")","}"],T=function(y,p,b){void 0===b&&(b=0);for(var R={text:"",pos:-1,before:"",after:""},P=y.length-1;P>=b;P--){var k=p.indexOf(y[P]);if(k>-1){R.text=p[k],R.pos=P,R.before=y.substring(b,P),R.after=y.substring(P+1,y.length);break}}return R},s=function(y){var p=T(y,a,0);return{front:p,back:T(y,E,p.pos+1)}},h=function(y,p){if(""===p)return!0;for(var b=0;b<y.data.length;b++)if("string"==typeof y.data[b].origData&&y.data[b].origData.indexOf(p)>-1)return!0;return!1},u=/(\%[csdo] )|( \%[csdo])/g,v=function(y){if(u.lastIndex=0,c.HD(y[0])&&u.test(y[0])){for(var p,b=[].concat(y),R=b.shift().split(u).filter(function(Z){return void 0!==Z&&""!==Z}),P=b,k=[],O=!1,V="";R.length>0;){var K=R.shift();if(/ ?\%c ?/.test(K)?P.length>0?"string"!=typeof(V=P.shift())&&(V=""):(p=K,V="",O=!0):/ ?\%[sd] ?/.test(K)?(p=P.length>0?c.Kn(P[0])?c.DV(P.shift()):String(P.shift()):K,O=!0):/ ?\%o ?/.test(K)?(p=P.length>0?P.shift():K,O=!0):(p=K,O=!0),O){var z={origData:p};V&&(z.style=V),k.push(z),O=!1,p=void 0,V=""}}for(var H=0;H<P.length;H++)k.push({origData:P[H]});return k}for(var x=[],q=0;q<y.length;q++)x.push({origData:y[q]});return x},g=function(){}},5313:function(ge,_,f){"use strict";var c=f(6738),o=f.n(c),C=f(7705),a=f.n(C)()(o());a.push([ge.id,".vc-icon {\n word-break: normal;\n white-space: normal;\n overflow: visible;\n}\n.vc-icon svg {\n fill: var(--VC-FG-2);\n height: 1em;\n width: 1em;\n vertical-align: -0.11em;\n}\n.vc-icon .vc-icon-delete {\n vertical-align: -0.11em;\n}\n.vc-icon .vc-icon-copy {\n height: 1.1em;\n width: 1.1em;\n vertical-align: -0.16em;\n}\n.vc-icon .vc-icon-suc {\n fill: var(--VC-TEXTGREEN);\n height: 1.1em;\n width: 1.1em;\n vertical-align: -0.16em;\n}\n",""]),_.Z=a},1142:function(ge,_,f){"use strict";var c=f(6738),o=f.n(c),C=f(7705),a=f.n(C)()(o());a.push([ge.id,".vc-scroller-viewport {\n position: relative;\n overflow: hidden;\n height: 100%;\n}\n.vc-scroller-contents {\n min-height: 100%;\n will-change: transform;\n}\n.vc-scroller-items {\n will-change: height;\n position: relative;\n}\n.vc-scroller-item {\n display: none;\n position: absolute;\n left: 0;\n right: 0;\n}\n.vc-scroller-viewport.static .vc-scroller-item {\n display: block;\n position: static;\n}\n.vc-scroller-scrollbar-track {\n width: 4px;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n padding: 1px;\n}\n.vc-scroller-scrollbar-thumb {\n position: relative;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.5);\n border-radius: 999px;\n}\n",""]),_.Z=a},3283:function(ge,_,f){"use strict";var c=f(6738),o=f.n(c),C=f(7705),a=f.n(C)()(o());a.push([ge
vendor: 11,816 bytes, line 1
1.id,'#__vconsole {\n --VC-BG-0: #ededed;\n --VC-BG-1: #f7f7f7;\n --VC-BG-2: #fff;\n --VC-BG-3: #f7f7f7;\n --VC-BG-4: #4c4c4c;\n --VC-BG-5: #fff;\n --VC-BG-6: rgba(0, 0, 0, 0.1);\n --VC-FG-0: rgba(0, 0, 0, 0.9);\n --VC-FG-HALF: rgba(0, 0, 0, 0.9);\n --VC-FG-1: rgba(0, 0, 0, 0.5);\n --VC-FG-2: rgba(0, 0, 0, 0.3);\n --VC-FG-3: rgba(0, 0, 0, 0.1);\n --VC-RED: #fa5151;\n --VC-ORANGE: #fa9d3b;\n --VC-YELLOW: #ffc300;\n --VC-GREEN: #91d300;\n --VC-LIGHTGREEN: #95ec69;\n --VC-BRAND: #07c160;\n --VC-BLUE: #10aeff;\n --VC-INDIGO: #1485ee;\n --VC-PURPLE: #6467f0;\n --VC-LINK: #576b95;\n --VC-TEXTGREEN: #06ae56;\n --VC-FG: black;\n --VC-BG: white;\n --VC-BG-COLOR-ACTIVE: #ececec;\n --VC-WARN-BG: #fff3cc;\n --VC-WARN-BORDER: #ffe799;\n --VC-ERROR-BG: #fedcdc;\n --VC-ERROR-BORDER: #fdb9b9;\n --VC-DOM-TAG-NAME-COLOR: #881280;\n --VC-DOM-ATTRIBUTE-NAME-COLOR: #994500;\n --VC-DOM-ATTRIBUTE-VALUE-COLOR: #1a1aa6;\n --VC-CODE-KEY-FG: #881391;\n --VC-CODE-PRIVATE-KEY-FG: #cfa1d3;\n --VC-CODE-FUNC-FG: #0d22aa;\n --VC-CODE-NUMBER-FG: #1c00cf;\n --VC-CODE-STR-FG: #c41a16;\n --VC-CODE-NULL-FG: #808080;\n color: var(--VC-FG-0);\n font-size: 13px;\n font-family: Helvetica Neue, Helvetica, Arial, sans-serif;\n -webkit-user-select: auto;\n /* global */\n}\n#__vconsole .vc-max-height {\n max-height: 19.23076923em;\n}\n#__vconsole .vc-max-height-line {\n max-height: 6.30769231em;\n}\n#__vconsole .vc-min-height {\n min-height: 3.07692308em;\n}\n#__vconsole dd,\n#__vconsole dl,\n#__vconsole pre {\n margin: 0;\n}\n#__vconsole pre {\n white-space: pre-wrap;\n}\n#__vconsole i {\n font-style: normal;\n}\n.vc-table {\n height: 100%;\n}\n.vc-table .vc-table-row {\n line-height: 1.5;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -webkit-flex-direction: row;\n -moz-box-orient: horizontal;\n -moz-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-flex-wrap: wrap;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n overflow: hidden;\n border-bottom: 1px solid var(--VC-FG-3);\n}\n.vc-table .vc-table-row.vc-left-border {\n border-left: 1px solid var(--VC-FG-3);\n}\n.vc-table .vc-table-row-icon {\n margin-left: 4px;\n}\n.vc-table .vc-table-col {\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n -moz-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n padding: 0.23076923em 0.30769231em;\n border-left: 1px solid var(--VC-FG-3);\n overflow: auto;\n}\n.vc-table .vc-table-col:first-child {\n border: none;\n}\n.vc-table .vc-table-col-value {\n white-space: pre-wrap;\n word-break: break-word;\n /*white-space: nowrap;\n text-overflow: ellipsis;*/\n -webkit-overflow-scrolling: touch;\n}\n.vc-table .vc-small .vc-table-col {\n padding: 0 0.30769231em;\n font-size: 0.92307692em;\n}\n.vc-table .vc-table-col-2 {\n -webkit-box-flex: 2;\n -webkit-flex: 2;\n -moz-box-flex: 2;\n -ms-flex: 2;\n flex: 2;\n}\n.vc-table .vc-table-col-3 {\n -webkit-box-flex: 3;\n -webkit-flex: 3;\n -moz-box-flex: 3;\n -ms-flex: 3;\n flex: 3;\n}\n.vc-table .vc-table-col-4 {\n -webkit-box-flex: 4;\n -webkit-flex: 4;\n -moz-box-flex: 4;\n -ms-flex: 4;\n flex: 4;\n}\n.vc-table .vc-table-col-5 {\n -webkit-box-flex: 5;\n -webkit-flex: 5;\n -moz-box-flex: 5;\n -ms-flex: 5;\n flex: 5;\n}\n.vc-table .vc-table-col-6 {\n -webkit-box-flex: 6;\n -webkit-flex: 6;\n -moz-box-flex: 6;\n -ms-flex: 6;\n flex: 6;\n}\n.vc-table .vc-table-row-error {\n border-color: var(--VC-ERROR-BORDER);\n background-color: var(--VC-ERROR-BG);\n}\n.vc-table .vc-table-row-error .vc-table-col {\n color: var(--VC-RED);\n border-color: var(--VC-ERROR-BORDER);\n}\n.vc-table .vc-table-col-title {\n font-weight: bold;\n}\n.vc-table .vc-table-action {\n display: flex;\n justify-content: space-evenly;\n}\n.vc-table .vc-table-action .vc-icon {\n flex: 1;\n text-align: center;\n display: block;\n}\n.vc-table .vc-table-action .vc-icon:hover {\n background: var(--VC-BG-3);\n}\n.vc-table .vc-table-action .vc-icon:active {\n background: var(--VC-BG-1);\n}\n.vc-table .vc-table-input {\n width: 100%;\n border: none;\n color: var(--VC-FG-0);\n background-color: var(--VC-BG-6);\n height: 3.53846154em;\n}\n.vc-table .vc-table-input:focus {\n background-color: var(--VC-FG-2);\n}\n@media (prefers-color-scheme: dark) {\n #__vconsole:not([data-theme="light"]) {\n --VC-BG-0: #191919;\n --VC-BG-1: #1f1f1f;\n --VC-BG-2: #232323;\n --VC-BG-3: #2f2f2f;\n --VC-BG-4: #606060;\n --VC-BG-5: #2c2c2c;\n --VC-BG-6: rgba(255, 255, 255, 0.2);\n --VC-FG-0: rgba(255, 255, 255, 0.8);\n --VC-FG-HALF: rgba(255, 255, 255, 0.6);\n --VC-FG-1: rgba(255, 255, 255, 0.5);\n --VC-FG-2: rgba(255, 255, 255, 0.3);\n --VC-FG-3: rgba(255, 255, 255, 0.05);\n --VC-RED: #fa5151;\n --VC-ORANGE: #c87d2f;\n --VC-YELLOW: #cc9c00;\n --VC-GREEN: #74a800;\n --VC-LIGHTGREEN: #28b561;\n --VC-BRAND: #07c160;\n --VC-BLUE: #10aeff;\n --VC-INDIGO: #1196ff;\n --VC-PURPLE: #8183ff;\n --VC-LINK: #7d90a9;\n --VC-TEXTGREEN: #259c5c;\n --VC-FG: white;\n --VC-BG: black;\n --VC-BG-COLOR-ACTIVE: #282828;\n --VC-WARN-BG: #332700;\n --VC-WARN-BORDER: #664e00;\n --VC-ERROR-BG: #321010;\n --VC-ERROR-BORDER: #642020;\n --VC-DOM-TAG-NAME-COLOR: #5DB0D7;\n --VC-DOM-ATTRIBUTE-NAME-COLOR: #9BBBDC;\n --VC-DOM-ATTRIBUTE-VALUE-COLOR: #f29766;\n --VC-CODE-KEY-FG: #e36eec;\n --VC-CODE-PRIVATE-KEY-FG: #f4c5f7;\n --VC-CODE-FUNC-FG: #556af2;\n --VC-CODE-NUMBER-FG: #9980ff;\n --VC-CODE-STR-FG: #e93f3b;\n --VC-CODE-NULL-FG: #808080;\n }\n}\n#__vconsole[data-theme="dark"] {\n --VC-BG-0: #191919;\n --VC-BG-1: #1f1f1f;\n --VC-BG-2: #232323;\n --VC-BG-3: #2f2f2f;\n --VC-BG-4: #606060;\n --VC-BG-5: #2c2c2c;\n --VC-BG-6: rgba(255, 255, 255, 0.2);\n --VC-FG-0: rgba(255, 255, 255, 0.8);\n --VC-FG-HALF: rgba(255, 255, 255, 0.6);\n --VC-FG-1: rgba(255, 255, 255, 0.5);\n --VC-FG-2: rgba(255, 255, 255, 0.3);\n --VC-FG-3: rgba(255, 255, 255, 0.05);\n --VC-RED: #fa5151;\n --VC-ORANGE: #c87d2f;\n --VC-YELLOW: #cc9c00;\n --VC-GREEN: #74a800;\n --VC-LIGHTGREEN: #28b561;\n --VC-BRAND: #07c160;\n --VC-BLUE: #10aeff;\n --VC-INDIGO: #1196ff;\n --VC-PURPLE: #8183ff;\n --VC-LINK: #7d90a9;\n --VC-TEXTGREEN: #259c5c;\n --VC-FG: white;\n --VC-BG: black;\n --VC-BG-COLOR-ACTIVE: #282828;\n --VC-WARN-BG: #332700;\n --VC-WARN-BORDER: #664e00;\n --VC-ERROR-BG: #321010;\n --VC-ERROR-BORDER: #642020;\n --VC-DOM-TAG-NAME-COLOR: #5DB0D7;\n --VC-DOM-ATTRIBUTE-NAME-COLOR: #9BBBDC;\n --VC-DOM-ATTRIBUTE-VALUE-COLOR: #f29766;\n --VC-CODE-KEY-FG: #e36eec;\n --VC-CODE-PRIVATE-KEY-FG: #f4c5f7;\n --VC-CODE-FUNC-FG: #556af2;\n --VC-CODE-NUMBER-FG: #9980ff;\n --VC-CODE-STR-FG: #e93f3b;\n --VC-CODE-NULL-FG: #808080;\n}\n.vc-tabbar {\n border-bottom: 1px solid var(--VC-FG-3);\n overflow-x: auto;\n height: 3em;\n width: auto;\n white-space: nowrap;\n}\n.vc-tabbar .vc-tab {\n display: inline-block;\n line-height: 3em;\n padding: 0 1.15384615em;\n border-right: 1px solid var(--VC-FG-3);\n text-decoration: none;\n color: var(--VC-FG-0);\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none;\n}\n.vc-tabbar .vc-tab:active {\n background-color: rgba(0, 0, 0, 0.15);\n}\n.vc-tabbar .vc-tab.vc-actived {\n background-color: var(--VC-BG-1);\n}\n.vc-toolbar {\n border-top: 1px solid var(--VC-FG-3);\n line-height: 3em;\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -webkit-flex-direction: row;\n -moz-box-orient: horizontal;\n -moz-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n}\n.vc-toolbar .vc-tool {\n display: none;\n font-style: normal;\n text-decoration: none;\n color: var(--VC-FG-0);\n width: 50%;\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n -moz-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n text-align: center;\n position: relative;\n -webkit-touch-callout: none;\n}\n.vc-toolbar .vc-tool.vc-toggle,\n.vc-toolbar .vc-tool.vc-global-tool {\n display: block;\n}\n.vc-toolbar .vc-tool:active {\n background-color: rgba(0, 0, 0, 0.15);\n}\n.vc-toolbar .vc-tool:after {\n content: " ";\n position: absolute;\n top: 0.53846154em;\n bottom: 0.53846154em;\n right: 0;\n border-left: 1px solid var(--VC-FG-3);\n}\n.vc-toolbar .vc-tool-last:after {\n border: none;\n}\n.vc-topbar {\n background-color: var(--VC-BG-1);\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -webkit-flex-direction: row;\n -moz-box-orient: horizontal;\n -moz-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-flex-wrap: wrap;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n width: 100%;\n}\n.vc-topbar .vc-toptab {\n display: none;\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n -moz-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n line-height: 2.30769231em;\n padding: 0 1.15384615em;\n border-bottom: 1px solid var(--VC-FG-3);\n text-decoration: none;\n text-align: center;\n color: var(--VC-FG-0);\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none;\n}\n.vc-topbar .vc-toptab.vc-toggle {\n display: block;\n}\n.vc-topbar .vc-toptab:active {\n background-color: rgba(0, 0, 0, 0.15);\n}\n.vc-topbar .vc-toptab.vc-actived {\n border-bottom: 1px solid var(--VC-INDIGO);\n}\n.vc-mask {\n display: none;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(0, 0, 0, 0);\n z-index: 10001;\n -webkit-transition: background 0.3s;\n transition: background 0.3s;\n -webkit-tap-highlight-color: transparent;\n overflow-y: scroll;\n}\n.vc-panel {\n display: none;\n position: fixed;\n min-height: 85%;\n left: 0;\n right: 0;\n bottom: -100%;\n z-index: 10002;\n background-color: var(--VC-BG-0);\n transition: bottom 0.3s;\n}\n.vc-toggle .vc-switch {\n display: none;\n}\n.vc-toggle .vc-mask {\n background: rgba(0, 0, 0, 0.6);\n display: block;\n}\n.vc-toggle .vc-panel {\n bottom: 0;\n}\n.vc-content {\n background-color: var(--VC-BG-2);\n overflow-x: hidden;\n overflow-y: auto;\n position: absolute;\n top: 3.07692308em;\n left: 0;\n right: 0;\n bottom: 3.07692308em;\n -webkit-overflow-scrolling: touch;\n margin-bottom: constant(safe-area-inset-bottom);\n margin-bottom: env(safe-area-inset-bottom);\n}\n.vc-content.vc-has-topbar {\n top: 5.46153846em;\n}\n.vc-plugin-box {\n display: none;\n position: relative;\n min-height: 100%;\n}\n.vc-plugin-box.vc-fixed-height {\n height: 100%;\n}\n.vc-plugin-box.vc-actived {\n display: block;\n}\n.vc-plugin-content {\n display: flex;\n width: 100%;\n height: 100%;\n overflow-y: auto;\n flex-direction: column;\n -webkit-tap-highlight-color: transparent;\n}\n.vc-plugin-content:empty:before {\n content: "Empty";\n color: var(--VC-FG-1);\n position: absolute;\n top: 45%;\n left: 0;\n right: 0;\n bottom: 0;\n font-size: 1.15384615em;\n text-align: center;\n}\n.vc-plugin-empty {\n color: var(--VC-FG-1);\n font-size: 1.15384615em;\n height: 100%;\n width: 100%;\n padding: 1.15384615em 0;\n text-align: center;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n@supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)) {\n .vc-toolbar,\n .vc-switch {\n bottom: constant(safe-area-inset-bottom);\n bottom: env(safe-area-inset-bottom);\n }\n}\n',""]),
1_.Z=a},7558:function(ge,_,f){"use strict";var c=f(6738),o=f.n(c),C=f(7705),a=f.n(C)()(o());a.push([ge.id,".vc-switch {\n display: block;\n position: fixed;\n right: 0.76923077em;\n bottom: 0.76923077em;\n color: #FFF;\n background-color: var(--VC-BRAND);\n line-height: 1;\n font-size: 1.07692308em;\n padding: 0.61538462em 1.23076923em;\n z-index: 10000;\n border-radius: 0.30769231em;\n box-shadow: 0 0 0.61538462em rgba(0, 0, 0, 0.4);\n}\n",""]),_.Z=a},5670:function(ge,_,f){"use strict";var c=f(6738),o=f.n(c),C=f(7705),a=f.n(C)()(o());a.push([ge.id,'/* color */\n.vcelm-node {\n color: var(--VC-DOM-TAG-NAME-COLOR);\n}\n.vcelm-k {\n color: var(--VC-DOM-ATTRIBUTE-NAME-COLOR);\n}\n.vcelm-v {\n color: var(--VC-DOM-ATTRIBUTE-VALUE-COLOR);\n}\n.vcelm-l.vc-actived > .vcelm-node {\n background-color: var(--VC-FG-3);\n}\n/* layout */\n.vcelm-l {\n padding-left: 8px;\n position: relative;\n word-wrap: break-word;\n line-height: 1.2;\n}\n/*.vcelm-l.vcelm-noc {\n padding-left: 0;\n}*/\n.vcelm-l .vcelm-node:active {\n background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vcelm-l.vcelm-noc .vcelm-node:active {\n background-color: transparent;\n}\n.vcelm-t {\n white-space: pre-wrap;\n word-wrap: break-word;\n}\n/* level */\n/* arrow */\n.vcelm-l:before {\n content: "";\n display: block;\n position: absolute;\n top: 6px;\n left: 3px;\n width: 0;\n height: 0;\n border: transparent solid 3px;\n border-left-color: var(--VC-FG-1);\n}\n.vcelm-l.vc-toggle:before {\n display: block;\n top: 6px;\n left: 0;\n border-top-color: var(--VC-FG-1);\n border-left-color: transparent;\n}\n.vcelm-l.vcelm-noc:before {\n display: none;\n}\n',""]),_.Z=a},3327:function(ge,_,f){"use strict";var c=f(6738),o=f.n(c),C=f(7705),a=f.n(C)()(o());a.push([ge.id,"",""]),_.Z=a},1130:function(ge,_,f){"use strict";var c=f(6738),o=f.n(c),C=f(7705),a=f.n(C)()(o());a.push([ge.id,".vc-cmd {\n height: 3.07692308em;\n border-top: 1px solid var(--VC-FG-3);\n display: flex;\n flex-direction: row;\n}\n.vc-cmd.vc-filter {\n bottom: 0;\n}\n.vc-cmd-input-wrap {\n display: flex;\n align-items: center;\n flex: 1;\n position: relative;\n height: 2.15384615em;\n padding: 0.46153846em 0.61538462em;\n}\n.vc-cmd-input {\n width: 100%;\n border: none;\n resize: none;\n outline: none;\n padding: 0;\n font-size: 0.92307692em;\n background-color: transparent;\n color: var(--VC-FG-0);\n}\n.vc-cmd-input::-webkit-input-placeholder {\n line-height: 2.15384615em;\n}\n.vc-cmd-btn {\n width: 3.07692308em;\n border: none;\n background-color: var(--VC-BG-0);\n color: var(--VC-FG-0);\n outline: none;\n -webkit-touch-callout: none;\n font-size: 1em;\n}\n.vc-cmd-clear-btn {\n flex: 1 3.07692308em;\n text-align: center;\n line-height: 3.07692308em;\n}\n.vc-cmd-btn:active,\n.vc-cmd-clear-btn:active {\n background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vc-cmd-prompted {\n position: absolute;\n left: 0.46153846em;\n right: 0.46153846em;\n background-color: var(--VC-BG-3);\n border: 1px solid var(--VC-FG-3);\n overflow-x: scroll;\n display: none;\n}\n.vc-cmd-prompted li {\n list-style: none;\n line-height: 30px;\n padding: 0 0.46153846em;\n border-bottom: 1px solid var(--VC-FG-3);\n}\n.vc-cmd-prompted li:active {\n background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vc-cmd-prompted-hide {\n text-align: center;\n}\n",""]),_.Z=a},7147:function(ge,_,f){"use strict";var c=f(6738),o=f.n(c),C=f(7705),a=f.n(C)()(o());a.push([ge.id,'.vc-log-row {\n margin: 0;\n padding: 0.46153846em 0.61538462em;\n overflow: hidden;\n line-height: 1.3;\n border-bottom: 1px solid var(--VC-FG-3);\n word-break: break-word;\n position: relative;\n display: flex;\n}\n.vc-log-info {\n color: var(--VC-PURPLE);\n}\n.vc-log-debug {\n color: var(--VC-YELLOW);\n}\n.vc-log-warn {\n color: var(--VC-ORANGE);\n border-color: var(--VC-WARN-BORDER);\n background-color: var(--VC-WARN-BG);\n}\n.vc-log-error {\n color: var(--VC-RED);\n border-color: var(--VC-ERROR-BORDER);\n background-color: var(--VC-ERROR-BG);\n}\n.vc-logrow-icon {\n margin-left: auto;\n}\n.vc-log-padding {\n width: 1.53846154em;\n border-left: 1px solid var(--VC-FG-3);\n}\n.vc-log-group .vc-log-content {\n font-weight: bold;\n}\n.vc-log-group-toggle {\n padding-left: 0.76923077em;\n}\n.vc-log-group-toggle {\n display: block;\n font-style: italic;\n padding-left: 0.76923077em;\n position: relative;\n}\n.vc-log-group-toggle:active {\n background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vc-log-group > .vc-log-group-toggle::before {\n content: "";\n position: absolute;\n top: 0.30769231em;\n left: 0.15384615em;\n width: 0;\n height: 0;\n border: transparent solid 0.30769231em;\n border-left-color: var(--VC-FG-1);\n}\n.vc-log-group.vc-toggle > .vc-log-group-toggle::before {\n top: 0.46153846em;\n left: 0;\n border-top-color: var(--VC-FG-1);\n border-left-color: transparent;\n}\n.vc-log-time {\n width: 6.15384615em;\n color: #777;\n}\n.vc-log-repeat i {\n margin-right: 0.30769231em;\n padding: 0 6.5px;\n color: #D7E0EF;\n background-color: #42597F;\n border-radius: 8.66666667px;\n}\n.vc-log-error .vc-log-repeat i {\n color: #901818;\n background-color: var(--VC-RED);\n}\n.vc-log-warn .vc-log-repeat i {\n color: #987D20;\n background-color: #F4BD02;\n}\n.vc-log-content {\n flex: 1;\n}\n.vc-log-input,\n.vc-log-output {\n padding-left: 0.92307692em;\n}\n.vc-log-input:before,\n.vc-log-output:before {\n content: "\u203a";\n position: absolute;\n top: 0.15384615em;\n left: 0;\n font-size: 1.23076923em;\n color: #6A5ACD;\n}\n.vc-log-output:before {\n content: "\u2039";\n}\n',""]),_.Z=a},1237:function(ge,_,f){"use strict";var c=f(6738),o=f.n(c),C=f(7705),a=f.n(C)()(o());a.push([ge.id,'.vc-log-tree {\n display: block;\n overflow: auto;\n position: relative;\n -webkit-overflow-scrolling: touch;\n}\n.vc-log-tree-node {\n display: block;\n font-style: italic;\n padding-left: 0.76923077em;\n position: relative;\n}\n.vc-log-tree.vc-is-tree >
1 .vc-log-tree-node:active {\n background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vc-log-tree.vc-is-tree > .vc-log-tree-node::before {\n content: "";\n position: absolute;\n top: 0.30769231em;\n left: 0.15384615em;\n width: 0;\n height: 0;\n border: transparent solid 0.30769231em;\n border-left-color: var(--VC-FG-1);\n}\n.vc-log-tree.vc-is-tree.vc-toggle > .vc-log-tree-node::before {\n top: 0.46153846em;\n left: 0;\n border-top-color: var(--VC-FG-1);\n border-left-color: transparent;\n}\n.vc-log-tree-child {\n margin-left: 0.76923077em;\n}\n.vc-log-tree-loadmore {\n text-decoration: underline;\n padding-left: 1.84615385em;\n position: relative;\n color: var(--VC-CODE-FUNC-FG);\n}\n.vc-log-tree-loadmore::before {\n content: "\u203a\u203a";\n position: absolute;\n top: -0.15384615em;\n left: 0.76923077em;\n font-size: 1.23076923em;\n color: var(--VC-CODE-FUNC-FG);\n}\n.vc-log-tree-loadmore:active {\n background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n',""]),_.Z=a},845:function(ge,_,f){"use strict";var c=f(6738),o=f.n(c),C=f(7705),a=f.n(C)()(o());a.push([ge.id,".vc-log-key {\n color: var(--VC-CODE-KEY-FG);\n}\n.vc-log-key-private {\n color: var(--VC-CODE-PRIVATE-KEY-FG);\n}\n.vc-log-val {\n white-space: pre-line;\n}\n.vc-log-val-function {\n color: var(--VC-CODE-FUNC-FG);\n font-style: italic !important;\n}\n.vc-log-val-bigint {\n color: var(--VC-CODE-FUNC-FG);\n}\n.vc-log-val-number,\n.vc-log-val-boolean {\n color: var(--VC-CODE-NUMBER-FG);\n}\n.vc-log-val-string {\n white-space: pre-wrap;\n}\n.vc-log-val-string.vc-log-val-haskey {\n color: var(--VC-CODE-STR-FG);\n white-space: normal;\n}\n.vc-log-val-null,\n.vc-log-val-undefined,\n.vc-log-val-uninvocatable {\n color: var(--VC-CODE-NULL-FG);\n}\n.vc-log-val-symbol {\n color: var(--VC-CODE-STR-FG);\n}\n",""]),_.Z=a},8747:function(ge,_,f){"use strict";var c=f(6738),o=f.n(c),C=f(7705),a=f.n(C)()(o());a.push([ge.id,".vc-group .vc-group-preview {\n -webkit-touch-callout: none;\n}\n.vc-group .vc-group-preview:active {\n background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vc-group .vc-group-detail {\n display: none;\n padding: 0 0 0.76923077em 1.53846154em;\n border-bottom: 1px solid var(--VC-FG-3);\n}\n.vc-group.vc-actived .vc-group-detail {\n display: block;\n background-color: var(--VC-BG-1);\n}\n.vc-group.vc-actived .vc-table-row {\n background-color: var(--VC-BG-2);\n}\n.vc-group.vc-actived .vc-group-preview {\n background-color: var(--VC-BG-1);\n}\n",""]),_.Z=a},3411:function(ge,_,f){"use strict";var c=f(3379),o=f.n(c),C=f(7795),a=f.n(C),E=f(569),T=f.n(E),s=f(3565),h=f.n(s),u=f(9216),v=f.n(u),g=f(4589),y=f.n(g),p=f(1130),b={};p.Z&&p.Z.locals&&(b.locals=p.Z.locals);var R,P=0,k={};k.styleTagTransform=y(),k.setAttributes=h(),k.insert=T().bind(null,"head"),k.domAPI=a(),k.insertStyleElement=v(),b.use=function(O){return k.options=O||{},P++||(R=o()(p.Z,k)),b},b.unuse=function(){P>0&&! --P&&(R(),R=null)},_.Z=b},3379:function(ge){"use strict";var _=[];function f(C){for(var a=-1,E=0;E<_.length;E++)if(_[E].identifier===C){a=E;break}return a}function c(C,a){for(var E={},T=[],s=0;s<C.length;s++){var h=C[s],u=a.base?h[0]+a.base:h[0],v=E[u]||0,g="".concat(u," ").concat(v);E[u]=v+1;var y=f(g),p={css:h[1],media:h[2],sourceMap:h[3],supports:h[4],layer:h[5]};if(-1!==y)_[y].references++,_[y].updater(p);else{var b=o(p,a);a.byIndex=s,_.splice(s,0,{identifier:g,updater:b,references:1})}T.push(g)}return T}function o(C,a){var E=a.domAPI(a);return E.update(C),function(T){if(T){if(T.css===C.css&&T.media===C.media&&T.sourceMap===C.sourceMap&&T.supports===C.supports&&T.layer===C.layer)return;E.update(C=T)}else E.remove()}}ge.exports=function(C,a){var E=c(C=C||[],a=a||{});return function(T){T=T||[];for(var s=0;s<E.length;s++){var h=f(E[s]);_[h].references--}for(var u=c(T,a),v=0;v<E.length;v++){var g=f(E[v]);0===_[g].references&&(_[g].updater(),_.splice(g,1))}E=u}}},569:function(ge){"use strict";var _={};ge.exports=function(f,c){var o=function(C){if(void 0===_[C]){var a=document.querySelector(C);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch{a=null}_[C]=a}return _[C]}(f);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invali
1d.");o.appendChild(c)}},9216:function(ge){"use strict";ge.exports=function(_){var f=document.createElement("style");return _.setAttributes(f,_.attributes),_.insert(f,_.options),f}},3565:function(ge,_,f){"use strict";ge.exports=function(c){var o=f.nc;o&&c.setAttribute("nonce",o)}},7795:function(ge){"use strict";ge.exports=function(_){var f=_.insertStyleElement(_);return{update:function(c){!function(o,C,a){var E="";a.supports&&(E+="@supports (".concat(a.supports,") {")),a.media&&(E+="@media ".concat(a.media," {"));var T=void 0!==a.layer;T&&(E+="@layer".concat(a.layer.length>0?" ".concat(a.layer):""," {")),E+=a.css,T&&(E+="}"),a.media&&(E+="}"),a.supports&&(E+="}");var s=a.sourceMap;s&&typeof btoa<"u"&&(E+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),C.styleTagTransform(E,o,C.options)}(f,_,c)},remove:function(){!function(c){if(null===c.parentNode)return!1;c.parentNode.removeChild(c)}(f)}}}},4589:function(ge){"use strict";ge.exports=function(_,f){if(f.styleSheet)f.styleSheet.cssText=_;else{for(;f.firstChild;)f.removeChild(f.firstChild);f.appendChild(document.createTextNode(_))}}},6464:function(ge,_,f){"use strict";function c(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}f.d(_,{Z:function(){return c}})},4296:function(ge,_,f){"use strict";function c(C,a){for(var E=0;E<a.length;E++){var T=a[E];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(C,T.key,T)}}function o(C,a,E){return a&&c(C.prototype,a),E&&c(C,E),Object.defineProperty(C,"prototype",{writable:!1}),C}f.d(_,{Z:function(){return o}})},8270:function(ge,_,f){"use strict";function c(o,C,a){return C in o?Object.defineProperty(o,C,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[C]=a,o}f.d(_,{Z:function(){return c}})},6881:function(ge,_,f){"use strict";f.d(_,{Z:function(){return o}});var c=f(2717);function o(C,a){C.prototype=Object.create(a.prototype),C.prototype.constructor=C,(0,c.Z)(C,a)}},2717:function(ge,_,f){"use strict";function c(o,C){return(c=Object.setPrototypeOf||function(a,E){return a.__proto__=E,a})(o,C)}f.d(_,{Z:function(){return c}})},7003:function(ge,_,f){"use strict";f.d(_,{H3:function(){return c.H3E},ev:function(){return c.evW},x:function(){return c.xa3}});var c=f(2942)},2942:function(ge,_,f){"use strict";var Re;function s(){}function h(Rt){return Rt()}function u(){return Object.create(null)}function v(Rt){Rt.forEach(h)}function g(Rt){return"function"==typeof Rt}function y(Rt,zt){return Rt!=Rt?zt==zt:Rt!==zt||Rt&&"object"==typeof Rt||"function"==typeof Rt}function p(Rt,zt){return Rt!=Rt?zt==zt:Rt!==zt}function R(Rt){if(null==Rt)return s;for(var zt=arguments.length,vn=new Array(zt>1?zt-1:0),ln=1;ln<zt;ln++)vn[ln-1]=arguments[ln];var Sn=Rt.subscribe.apply(Rt,vn);return Sn.unsubscribe?function(){return Sn.unsubscribe()}:Sn}function P(Rt){var zt;return R(Rt,function(vn){return zt=vn})(),zt}function k(Rt,zt,vn){Rt.$$.on_destroy.push(R(zt,vn))}function O(Rt,zt,vn,ln){if(Rt){var Sn=V(Rt,zt,vn,ln);return Rt[0](Sn)}}function V(Rt,zt,vn,ln){return Rt[1]&&ln?function(Sn,dr){for(var En in dr)Sn[En]=dr[En];return Sn}(vn.ctx.slice(),Rt[1](ln(zt))):vn.ctx}function K(Rt,zt,vn,ln){if(Rt[2]&&ln){var Sn=Rt[2](ln(vn));if(void 0===zt.dirty)return Sn;if("object"==typeof Sn){for(var dr=[],En=Math.max(zt.dirty.length,Sn.length),tn=0;tn<En;tn+=1)dr[tn]=zt.dirty[tn]|Sn[tn];return dr}return zt.dirty|Sn}return zt.dirty}function z(Rt,zt,vn,ln,Sn,dr){if(Sn){var En=V(zt,vn,ln,dr);Rt.p(En,Sn)}}function H(Rt){if(Rt.ctx.length>32){for(var zt=[],vn=Rt.ctx.length/32,ln=0;ln<vn;ln++)zt[ln]=-1;return zt}return-1}function x(Rt){var zt={};for(var vn in Rt)zt[vn]=!0;return zt}function q(Rt,zt,vn){return Rt.set(vn),zt}function Z(Rt,zt){Rt.appendChild(zt)}function de(Rt,zt,vn){Rt.insertBefore(zt,vn||null)}function ee(Rt){Rt.parentNode.removeChild(Rt)}function Y(Rt,zt){for(var vn=0;vn<Rt.length;vn+=1)Rt[vn]&&Rt[vn].d(zt)}function ae(Rt){return document.createElement(Rt)}function fe(Rt){return document.createElementNS("http://www.w3.org/2000/svg",Rt)}function ne(Rt){return document.createTextNode(Rt)}function ce(){return ne(" ")}function me(){return ne("")}function re(Rt,zt,vn,ln){return Rt.addEventListener(zt,vn,ln),function(){return Rt.removeEventListener(zt,vn,ln)}}function $(Rt){return function(zt){return zt.preventDefault(),Rt.call(this,zt)}}function X(Rt){return function(zt){return zt.stopPropagation(),Rt.call(this,zt)}}function M(Rt,zt,vn){null==vn?Rt.removeAttribute(zt):Rt.getAttribute(zt)!==vn&&Rt.setAttribute(zt,vn)}function N(Rt,zt){Rt.wholeText!==(zt=""+zt)&&(Rt.data=zt)}function G(Rt,zt){Rt.value=null==zt?"":zt}function ue(Rt,zt,vn,ln){null===vn?Rt.style.removeProperty(zt):Rt.style.setProperty(zt,vn,ln?"important":"")}function ve(Rt,zt,vn){Rt.classList[vn?"add":"remove"](zt)}function et(Rt){Re=Rt}function at(){if(!Re)throw new Error("Function called outside component initialization");return Re}function Pt(Rt){at().$$.on_mount.push(Rt)}function At(Rt){at().$$.on_destroy.push(Rt)}function It(){var Rt=at();return function(zt,vn){var ln=Rt.$$.callbacks[zt];if(ln){var Sn=function we(Rt,zt,vn){void 0===vn&&(vn=!1);var ln=document.createEvent("CustomEvent");return ln.initCustomEvent(Rt,vn,!1,zt),ln}(zt,vn);
vendor: 46,014 bytes, line 1
1ln.slice().forEach(function(dr){dr.call(Rt,Sn)})}}}function qt(Rt,zt){var vn=this,ln=Rt.$$.callbacks[zt.type];ln&&ln.slice().forEach(function(Sn){return Sn.call(vn,zt)})}f.d(_,{f_C:function(){return Xr},hjT:function(){return Lt},R3I:function(){return Z},Ljt:function(){return M},akz:function(){return Gr},VnY:function(){return lt},cKT:function(){return qt},gbL:function(){return On},FIv:function(){return k},XGm:function(){return x},xa3:function(){return It},YCL:function(){return qr},nuO:function(){return O},vpE:function(){return hr},RMB:function(){return Y},ogt:function(){return ee},bGB:function(){return ae},cSb:function(){return me},yl1:function(){return An},VOJ:function(){return H},u2N:function(){return K},$XI:function(){return P},lig:function(){return tr},dvw:function(){return Fr},S1n:function(){return $r},$Tr:function(){return de},sBU:function(){return g},oLt:function(){return re},yef:function(){return _r},ZTd:function(){return s},AqN:function(){return p},evW:function(){return At},H3E:function(){return Pt},cly:function(){return Lr},AT7:function(){return $},j7q:function(){return v},N8:function(){return y},rTO:function(){return N},BmG:function(){return G},fxP:function(){return q},czc:function(){return ue},DhX:function(){return ce},XET:function(){return X},LdU:function(){return R},bi5:function(){return fe},fLW:function(){return ne},VHj:function(){return ve},Ui:function(){return sr},etI:function(){return ur},GQg:function(){return Br},kmG:function(){return z}}),f(2717),f(6881);var St=[],lt=[],yt=[],Ft=[],rt=Promise.resolve(),mt=!1;function Vt(Rt){yt.push(Rt)}function Lt(Rt){Ft.push(Rt)}var $n=new Set,Tn=0;function An(){var Rt=Re;do{for(;Tn<St.length;){var zt=St[Tn];Tn++,et(zt),jn(zt.$$)}for(et(null),St.length=0,Tn=0;lt.length;)lt.pop()();for(var vn=0;vn<yt.length;vn+=1){var ln=yt[vn];$n.has(ln)||($n.add(ln),ln())}yt.length=0}while(St.length);for(;Ft.length;)Ft.pop()();mt=!1,$n.clear(),et(Rt)}function jn(Rt){if(null!==Rt.fragment){Rt.update(),v(Rt.before_update);var zt=Rt.dirty;Rt.dirty=[-1],Rt.fragment&&Rt.fragment.p(Rt.ctx,zt),Rt.after_update.forEach(Vt)}}var or,br=new Set;function Fr(){or={r:0,c:[],p:or}}function On(){or.r||v(or.c),or=or.p}function sr(Rt,zt){Rt&&Rt.i&&(br.delete(Rt),Rt.i(zt))}function ur(Rt,zt,vn,ln){if(Rt&&Rt.o){if(br.has(Rt))return;br.add(Rt),or.c.push(function(){br.delete(Rt),ln&&(vn&&Rt.d(1),ln())}),Rt.o(zt)}}var tr=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Lr(Rt,zt){ur(Rt,1,1,function(){zt.delete(Rt.key)})}function Br(Rt,zt,vn,ln,Sn,dr,En,tn,bn,Cn,Kn,Xn){for(var nr=Rt.length,fn=dr.length,fr=nr,lr={};fr--;)lr[Rt[fr].key]=fr;var ar=[],ni=new Map,vi=new Map;for(fr=fn;fr--;){var no=Xn(Sn,dr,fr),$i=vn(no),Xi=En.get($i);Xi?ln&&Xi.p(no,zt):(Xi=Cn($i,no)).c(),ni.set($i,ar[fr]=Xi),$i in lr&&vi.set($i,Math.abs(fr-lr[$i]))}var Di=new Set,lo=new Set;function to(Ke){sr(Ke,1),Ke.m(tn,Kn),En.set(Ke.key,Ke),Kn=Ke.first,fn--}for(;nr&&fn;){var vo=ar[fn-1],Co=Rt[nr-1],mn=vo.key,Jt=Co.key;vo===Co?(Kn=vo.first,nr--,fn--):ni.has(Jt)?!En.has(mn)||Di.has(mn)?to(vo):lo.has(Jt)?nr--:vi.get(mn)>vi.get(Jt)?(lo.add(mn),to(vo)):(Di.add(Jt),nr--):(bn(Co,En),nr--)}for(;nr--;){var kn=Rt[nr];ni.has(kn.key)||bn(kn,En)}for(;fn;)to(ar[fn-1]);return ar}function Gr(Rt,zt,vn){var ln=Rt.$$.props[zt];void 0!==ln&&(Rt.$$.bound[ln]=vn,vn(Rt.$$.ctx[ln]))}function qr(Rt){Rt&&Rt.c()}function _r(Rt,zt,vn,ln){var Sn=Rt.$$,dr=Sn.fragment,En=Sn.on_mount,tn=Sn.on_destroy,bn=Sn.after_update;dr&&dr.m(zt,vn),ln||Vt(function(){var Cn=En.map(h).filter(g);tn?tn.push.apply(tn,Cn):v(Cn),Rt.$$.on_mount=[]}),bn.forEach(Vt)}function hr(Rt,zt){var vn=Rt.$$;null!==vn.fragment&&(v(vn.on_destroy),vn.fragment&&vn.fragment.d(zt),vn.on_destroy=vn.fragment=null,vn.ctx=[])}function $r(Rt,zt,vn,ln,Sn,dr,En,tn){void 0===tn&&(tn=[-1]);var bn=Re;et(Rt);var Cn=Rt.$$={fragment:null,ctx:null,props:dr,update:s,not_equal:Sn,bound:u(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(zt.context||(bn?bn.$$.context:[])),callbacks:u(),dirty:tn,skip_bound:!1,root:zt.target||bn.$$.root};En&&En(Cn.root);var Xn=!1;if(Cn.ctx=vn?vn(Rt,zt.props||{},function(fn,fr){var lr=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:fr;return Cn.ctx&&Sn(Cn.ctx[fn],Cn.ctx[fn]=lr)&&(!Cn.skip_bound&&Cn.bound[fn]&&Cn.bound[fn](lr),Xn&&function Nr(Rt,zt){-1===Rt.$$.dirty[0]&&(St.push(Rt),function Mt(){mt||(mt=!0,rt.then(An))}(),Rt.$$.dirty.fill(0)),Rt.$$.dirty[zt/31|0]|=1<<zt%31}(Rt,fn)),fr}):[],Cn.update(),Xn=!0,v(Cn.before_update),Cn.fragment=!!ln&&ln(Cn.ctx),zt.target){if(zt.hydrate){var nr=Array.from(zt.target.childNodes);Cn.fragment&&Cn.fragment.l(nr),nr.forEach(ee)}else Cn.fragment&&Cn.fragment.c();zt.intro&&sr(Rt.$$.fragment),_r(Rt,zt.target,zt.anchor,zt.customElement),An()}et(bn)}var Xr=function(){function Rt(){}var zt=Rt.prototype;return zt.$destroy=function(){hr(this,1),this.$destroy=s},zt.$on=function(vn,ln){var Sn=this.$$.callbacks[vn]||(this.$$.callbacks[vn]=[]);return Sn.push(ln),function(){var dr=Sn.indexOf(ln);-1!==dr&&Sn.splice(dr,1)}},zt.$set=function(vn){this.$$set&&!function b(Rt){return 0===Object.keys(Rt).length}(vn)&&(this.$$.skip_bound=!0,this.$$set(vn),this.$$.skip_bound=!1)},Rt}()},3313:function(ge,_,f){"use strict";f.d(_,{U2:function(){return c.$XI},fZ:function(){return E}});var c=f(2942);function C(T,s){(null==s||s>T.length)&&(s=T.length);for(var h=0,u=new Array(s);h<s;h++)u[h]=T[h];return u}var a=[];function E(T,s){var h;void 0===s&&(s=c.ZTd);var u=new Set;function v(g){if((0,c.N8)(T,g)&&(T=g,h)){for(var y,p=!a.length,b=function o(T,s){var h=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(h)return(h=h.call(T)).next.bind(h);if(Array.isArray(T)||(h=function(v,g){if(v){if("string"==typeof v)return C(v,g);var y=Object.prototype.toString.call(v).slice(8,-1);if("Object"===y&&v.constructor&&(y=v.constructor.name),"Map"===y||"Set"===y)return Array.from(v);if("Arguments"===y||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return C(v,g)}}(T))||s&&T&&"number"==typeof T.length){h&&(T=h);var u=0;return function(){return u>=T.length?{done:!0}:{done:!1,value:T[u++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(u);!(y=b()).done;){var R=y.value;R[1](),a.push(R,T)}if(p){for(var P=0;P<a.length;P+=2)a[P][0](a[P+1]);a.length=0}}}return{set:v,update:function(g){v(g(T))},subscribe:function(g,y){void 0===y&&(y=c.ZTd);var p=[g,y];return u.add(p),1===u.size&&(h=s(v)||c.ZTd),g(T),function(){u.delete(p),0===u.size&&(h(),h=null)}}}}}},__webpack_module_cache__={};function __nested_webpack_require_223763__(ge){var _=__webpack_module_cache__[ge];if(void 0!==_)return _.exports;var f=__webpack_module_cache__[ge]={id:ge,exports:{}};return __webpack_modules__[ge](f,f.exports,__nested_webpack_require_223763__),f.exports}__nested_webpack_require_223763__.n=function(ge){var _=ge&&ge.__esModule?function(){return ge.default}:function(){return ge};return __nested_webpack_require_223763__.d(_,{a:_}),_},__nested_webpack_require_223763__.d=function(ge,_){for(var f in _)__nested_webpack_require_223763__.o(_,f)&&!__nested_webpack_require_223763__.o(ge,f)&&Object.defineProperty(ge,f,{enumerable:!0,get:_[f]})},__nested_webpack_require_223763__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch{if("object"==typeof window)return window}}(),__nested_webpack_require_223763__.o=function(ge,_){return Object.prototype.hasOwnProperty.call(ge,_)};var __nested_webpack_exports__={};return function(){"use strict";__nested_webpack_require_223763__.d(__nested_webpack_exports__,{default:function(){return Gu}}),__nested_webpack_require_223763__(5441),__nested_webpack_require_223763__(8765);var ge=__nested_webpack_require_223763__(4296),_=__nested_webpack_require_223763__(5103),f={one:function(le,pe){void 0===pe&&(pe=document);try{return pe.querySelector(le)||void 0}catch{return}},all:function(le,pe){void 0===pe&&(pe=document);try{var ie=pe.querySelectorAll(le);return[].slice.call(ie)}catch{return[]}},addClass:function(le,pe){if(le)for(var ie=(0,_.kJ)(le)?le:[le],se=0;se<ie.length;se++){var _e=(ie[se].className||"").split(" ");_e.indexOf(pe)>-1||(_e.push(pe),ie[se].className=_e.join(" "))}},removeClass:function(le,pe){if(le)for(var ie=(0,_.kJ)(le)?le:[le],se=0;se<ie.length;se++){for(var _e=ie[se].className.split(" "),De=0;De<_e.length;De++)_e[De]==pe&&(_e[De]="");ie[se].className=_e.join(" ").trim()}},hasClass:function(le,pe){return!(!le||!le.classList)&&le.classList.contains(pe)},bind:function(le,pe,ie,se){void 0===se&&(se=!1),le&&((0,_.kJ)(le)?le:[le]).forEach(function(_e){_e.addEventListener(pe,ie,!!se)})},delegate:function(le,pe,ie,se){le&&le.addEventListener(pe,function(_e){var De=f.all(ie,le);if(De)e:for(var Ve=0;Ve<De.length;Ve++)for(var ut=_e.target;ut;){if(ut==De[Ve]){se.call(ut,_e,ut);break e}if((ut=ut.parentNode)==le)break}},!1)},removeChildren:function(le){for(;le.firstChild;)le.removeChild(le.lastChild);return le}},c=f,o=__nested_webpack_require_223763__(6464),C=__nested_webpack_require_223763__(6881),a=__nested_webpack_require_223763__(2942),E=__nested_webpack_require_223763__(7003),T=__nested_webpack_require_223763__(3379),s=__nested_webpack_require_223763__.n(T),h=__nested_webpack_require_223763__(7795),u=__nested_webpack_require_223763__.n(h),v=__nested_webpack_require_223763__(569),g=__nested_webpack_require_223763__.n(v),y=__nested_webpack_require_223763__(3565),p=__nested_webpack_require_223763__.n(y),b=__nested_webpack_require_223763__(9216),R=__nested_webpack_require_223763__.n(b),P=__nested_webpack_require_223763__(4589),k=__nested_webpack_require_223763__.n(P),O=__nested_webpack_require_223763__(7558),V={};O.Z&&O.Z.locals&&(V.locals=O.Z.locals);var K,z=0,H={};H.styleTagTransform=k(),H.setAttributes=p(),H.insert=g().bind(null,"head"),H.domAPI=u(),H.insertStyleElement=R(),V.use=function(le){return H.options=le||{},z++||(K=s()(O.Z,H)),V},V.unuse=function(){z>0&&! --z&&(K(),K=null)};var x=V;function q(le){var pe,ie,se,_e;return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.fLW)("vConsole"),(0,a.Ljt)(pe,"class","vc-switch"),(0,a.czc)(pe,"right",le[2].x+"px"),(0,a.czc)(pe,"bottom",le[2].y+"px"),(0,a.czc)(pe,"display",le[0]?"block":"none")},m:function(De,Ve){(0,a.$Tr)(De,pe,Ve),(0,a.R3I)(pe,ie),le[8](pe),se||(_e=[(0,a.oLt)(pe,"touchstart",le[3],{passive:!1}),(0,a.oLt)(pe,"touchend",le[4],{passive:!1}),(0,a.oLt)(pe,"touchmove",le[5],{passive:!1}),(0,a.oLt)(pe,"click",le[7])],se=!0)},p:function(De,Ve){var ut=Ve[0];4&ut&&(0,a.czc)(pe,"right",De[2].x+"px"),4&ut&&(0,a.czc)(pe,"bottom",De[2].y+"px"),1&ut&&(0,a.czc)(pe,"display",De[0]?"block":"none")},i:a.ZTd,o:a.ZTd,d:function(De){De&&(0,a.ogt)(pe),le[8](null),se=!1,(0,a.j7q)(_e)}}}function Z(le,pe,ie){var se,_e=pe.show,De=void 0===_e||_e,Ve=pe.position,ut=void 0===Ve?{x:0,y:0}:Ve,Tt={hasMoved:!1,x:0,y:0,startX:0,startY:0,endX:0,endY:0},Xt={x:0,y:0};(0,E.H3)(function(){x.use()}),(0,E.ev)(function(){x.unuse()});var dn=function(_n,cr){var Gn=Rn(_n,cr);cr=Gn[1],Tt.x=_n=Gn[0],Tt.y=cr,ie(2,Xt.x=_n,Xt),ie(2,Xt.y=cr,Xt),_.po("switch_x",_n+""),_.po("switch_y",cr+"")},Rn=function(_n,cr){var Gn=Math.max(document.documentElement.offsetWidth,window.innerWidth),Cr=Math.max(document.documentElement.offsetHeight,window.innerHeight);return _n+se.offsetWidth>Gn&&(_n=Gn-se.offsetWidth),cr+se.offsetHeight>Cr&&(cr=Cr-se.offsetHeight),_n<0&&(_n=0),cr<20&&(cr=20),[_n,cr]};return le.$$set=function(_n){"show"in _n&&ie(0,De=_n.show),"position"in _n&&ie(6,ut=_n.position)},le.$$.update=function(){66&le.$$.dirty&&se&&dn(ut.x,ut.y)},[De,se,Xt,function(_n){Tt.startX=_n.touches[0].pageX,Tt.startY=_n.touches[0].pageY,Tt.hasMoved=!1},function(_n){Tt.hasMoved&&(Tt.startX=0,Tt.startY=0,Tt.hasMoved=!1,dn(Tt.endX,Tt.endY))},function(_n){if(!(_n.touches.length<=0)){var Gn=_n.touches[0].pageY-Tt.startY,Cr=Math.floor(Tt.x-(_n.touches[0].pageX-Tt.startX)),wr=Math.floor(Tt.y-Gn),ti=Rn(Cr,wr);wr=ti[1],ie(2,Xt.x=Cr=ti[0],Xt),ie(2,Xt.y=wr,Xt),Tt.endX=Cr,Tt.endY=wr,Tt.hasMoved=!0,_n.preventDefault()}},ut,function(_n){a.cKT.call(this,le,_n)},function(_n){a.VnY[_n?"unshift":"push"](function(){ie(1,se=_n)})}]}var ee=function(le){function pe(ie){var se;return se=le.call(this)||this,(0,a.S1n)((0,o.Z)(se),ie,Z,q,a.N8,{show:0,position:6}),se}return(0,C.Z)(pe,le),(0,ge.Z)(pe,[{key:"show",get:function(){return this.$$.ctx[0]},set:function(ie){this.$$set({show:ie}),(0,a.yl1)()}},{key:"position",get:function(){return this.$$.ctx[6]},set:function(ie){this.$$set({position:ie}),(0,a.yl1)()}}]),pe}(a.f_C);function Y(le){var pe,ie;return{c:function(){pe=(0,a.bGB)("div"),(0,a.Ljt)(pe,"id",ie="__vc_plug_"+le[0]),(0,a.Ljt)(pe,"class","vc-plugin-box"),(0,a.VHj)(pe,"vc-fixed-height",le[1]),(0,a.VHj)(pe,"vc-actived",le[2])},m:function(se,_e){(0,a.$Tr)(se,pe,_e),le[6](pe)},p:function(se,_e){var De=_e[0];1&De&&ie!==(ie="__vc_plug_"+se[0])&&(0,a.Ljt)(pe,"id",ie),2&De&&(0,a.VHj)(pe,"vc-fixed-height",se[1]),4&De&&(0,a.VHj)(pe,"vc-actived",se[2])},i:a.ZTd,o:a.ZTd,d:function(se){se&&(0,a.ogt)(pe),le[6](null)}}}function ae(le,pe,ie){var se=pe.pluginId,_e=void 0===se?"":se,De=pe.fixedHeight,Ve=void 0!==De&&De,ut=pe.actived,Tt=void 0!==ut&&ut,Xt=pe.content,dn=void 0===Xt?void 0:Xt,Rn=void 0,_n=void 0;return le.$$set=function(cr){"pluginId"in cr&&ie(0,_e=cr.pluginId),"fixedHeight"in cr&&ie(1,Ve=cr.fixedHeight),"actived"in cr&&ie(2,Tt=cr.actived),"content"in cr&&ie(4,dn=cr.content)},le.$$.update=function(){57&le.$$.dirty&&_n!==_e&&dn&&Rn&&(ie(5,_n=_e),ie(3,Rn.innerHTML="",Rn),(0,_.HD)(dn)?ie(3,Rn.innerHTML=dn,Rn):(0,_.kK)(dn)&&Rn.appendChild(dn))},[_e,Ve,Tt,Rn,dn,_n,function(cr){a.VnY[cr?"unshift":"push"](function(){ie(3,Rn=cr),ie(5,_n),ie(0,_e),ie(4,dn)})}]}var ne=function(le){function pe(ie){var se;return se=le.call(this)||this,(0,a.S1n)((0,o.Z)(se),ie,ae,Y,a.N8,{pluginId:0,fixedHeight:1,actived:2,content:4}),se}return(0,C.Z)(pe,le),(0,ge.Z)(pe,[{key:"pluginId",get:function(){return this.$$.ctx[0]},set:function(ie){this.$$set({pluginId:ie}),(0,a.yl1)()}},{key:"fixedHeight",get:function(){return this.$$.ctx[1]},set:function(ie){this.$$set({fixedHeight:ie}),(0,a.yl1)()}},{key:"actived",get:function(){return this.$$.ctx[2]},set:function(ie){this.$$set({actived:ie}),(0,a.yl1)()}},{key:"content",get:function(){return this.$$.ctx[4]},set:function(ie){this.$$set({content:ie}),(0,a.yl1)()}}]),pe}(a.f_C),ce=__nested_webpack_require_223763__(4687),me=__nested_webpack_require_223763__(3283),re={};me.Z&&me.Z.locals&&(re.locals=me.Z.locals);var $,X=0,M={};M.styleTagTransform=k(),M.setAttributes=p(),M.insert=g().bind(null,"head"),M.domAPI=u(),M.insertStyleElement=R(),re.use=function(le){return M.options=le||{},X++||($=s()(me.Z,M)),re},re.unuse=function(){X>0&&! --X&&($(),$=null)};var N=re;function G(le,pe,ie){var se=le.slice();return se[39]=pe[ie][0],se[40]=pe[ie][1],se}function ue(le,pe,ie){var se=le.slice();return se[43]=pe[ie],se[45]=ie,se}function ve(le,pe,ie){var se=le.slice();return se[39]=pe[ie][0],se[40]=pe[ie][1],se}function we(le,pe,ie){var se=le.slice();return se[39]=pe[ie][0],se[40]=pe[ie][1],se}function Re(le,pe,ie){var se=le.slice();return se[43]=pe[ie],se[45]=ie,se}function et(le,pe,ie){var se=le.slice();return se[39]=pe[ie][0],se[40]=pe[ie][1],se}function at(le){var pe,ie,se,_e,De,Ve=le[40].name+"";function ut(){return le[25](le[40])}return{c:function(){pe=(0,a.bGB)("a"),ie=(0,a.fLW)(Ve),(0,a.Ljt)(pe,"class","vc-tab"),(0,a.Ljt)(pe,"id",se="__vc_tab_"+le[40].id),(0,a.VHj)(pe,"vc-actived",le[40].id===le[2])},m:function(Tt,Xt){(0,a.$Tr)(Tt,pe,Xt),(0,a.R3I)(pe,ie),_e||(De=(0,a.oLt)(pe,"click",ut),_e=!0)},p:function(Tt,Xt){le=Tt,8&Xt[0]&&Ve!==(Ve=le[40].name+"")&&(0,a.rTO)(ie,Ve),8&Xt[0]&&se!==(se="__vc_tab_"+le[40].id)&&(0,a.Ljt)(pe,"id",se),12&Xt[0]&&(0,a.VHj)(pe,"vc-actived",le[40].id===le[2])},d:function(Tt){Tt&&(0,a.ogt)(pe),_e=!1,De()}}}function Pt(le){var pe,ie=le[40].hasTabPanel&&at(le);return{c:function(){ie&&ie.c(),pe=(0,a.cSb)()},m:function(se,_e){ie&&ie.m(se,_e),(0,a.$Tr)(se,pe,_e)},p:function(se,_e){se[40].hasTabPanel?ie?ie.p(se,_e):((ie=at(se)).c(),ie.m(pe.parentNode,pe)):ie&&(ie.d(1),ie=null)},d:function(se){ie&&ie.d(se),se&&(0,a.ogt)(pe)}}}function At(le){var pe,ie,se,_e,De,Ve=le[43].name+"";function ut(){for(var Tt,Xt=arguments.length,dn=new Array(Xt),Rn=0;Rn<Xt;Rn++)dn[Rn]=arguments[Rn];return(Tt=le)[26].apply(Tt,[le[40],le[45]].concat(dn))}return{c:function(){pe=(0,a.bGB)("i"),ie=(0,a.fLW)(Ve),(0,a.Ljt)(pe,"class",se="vc-toptab vc-topbar-"+le[40].id+" "+le[43].className),(0,a.VHj)(pe,"vc-toggle",le[40].id===le[2]),(0,a.VHj)(pe,"vc-actived",le[43].actived)},m:function(Tt,Xt){(0,a.$Tr)(Tt,pe,Xt),(0,a.R3I)(pe,ie),_e||(De=(0,a.oLt)(pe,"click",ut),_e=!0)},p:function(Tt,Xt){le=Tt,8&Xt[0]&&Ve!==(Ve=le[43].name+"")&&(0,a.rTO)(ie,Ve),8&Xt[0]&&se!==(se="vc-toptab vc-topbar-"+le[40].id+" "+le[43].className)&&(0,a.Ljt)(pe,"class",se),12&Xt[0]&&(0,a.VHj)(pe,"vc-toggle",le[40].id===le[2]),8&Xt[0]&&(0,a.VHj)(pe,"vc-actived",le[43].actived)},d:function(Tt){Tt&&(0,a.ogt)(pe),_e=!1,De()}}}function It(le){for(var pe,ie=le[40].topbarList,se=[],_e=0;_e<ie.length;_e+=1)se[_e]=At(Re(le,ie,_e));return{c:function(){for(var De=0;De<se.length;De+=1)se[De].c();pe=(0,a.cSb)()},m:function(De,Ve){for(var ut=0;ut<se.length;ut+=1)se[ut].m(De,Ve);(0,a.$Tr)(De,pe,Ve)},p:function(De,Ve){if(8204&Ve[0]){var ut;for(ie=De[40].topbarList,ut=0;ut<ie.length;ut+=1){var Tt=Re(De,ie,ut);se[ut]?se[ut].p(Tt,Ve):(se[ut]=At(Tt),se[ut].c(),se[ut].m(pe.parentNode,pe))}for(;ut<se.length;ut+=1)se[ut].d(1);se.length=ie.length}},d:function(De){(0,a.RMB)(se,De),De&&(0,a.ogt)(pe)}}}function qt(le){var pe,ie,se,_e=ne;function De(Ve){var ut;return{props:{pluginId:Ve[40].id,fixedHeight:null==(ut=Ve[40].tabOptions)?void 0:ut.fixedHeight,actived:Ve[40].id===Ve[2],content:Ve[40].content}}}return _e&&(pe=new _e(De(le))),{c:function(){pe&&(0,a.YCL)(pe.$$.fragment),ie=(0,a.cSb)()},m:function(Ve,ut){pe&&(0,a.yef)(pe,Ve,ut),(0,a.$Tr)(Ve,ie,ut),se=!0},p:function(Ve,ut){var Tt,Xt={};if(8&ut[0]&&(Xt.pluginId=Ve[40].id),8&ut[0]&&(Xt.fixedHeight=null==(Tt=Ve[40].tabOptions)?void 0:Tt.fixedHeight),12&ut[0]&&(Xt.actived=Ve[40].id===Ve[2]),8&ut[0]&&(Xt.content=Ve[40].content),_e!==(_e=ne)){if(pe){(0,a.dvw)();var dn=pe;(0,a.etI)(dn.$$.fragment,1,0,function(){(0,a.vpE)(dn,1)}),(0,a.gbL)()}_e?(pe=new _e(De(Ve)),(0,a.YCL)(pe.$$.fragment),(0,a.Ui)(pe.$$.fragment,1),(0,a.yef)(pe,ie.parentNode,ie)):pe=null}else _e&&pe.$set(Xt)},i:function(Ve){se||(pe&&(0,a.Ui)(pe.$$.fragment,Ve),se=!0)},o:function(Ve){pe&&(0,a.etI)(pe.$$.fragment,Ve),se=!1},d:function(Ve){Ve&&(0,a.ogt)(ie),pe&&(0,a.vpE)(pe,Ve)}}}function St(le){var pe,ie,se,_e,De,Ve=le[43].name+"";function ut(){for(var Tt,Xt=arguments.length,dn=new Array(Xt),Rn=0;Rn<Xt;Rn++)dn[Rn]=arguments[Rn];return(Tt=le)[28].apply(Tt,[le[40],le[45]].concat(dn))}return{c:function(){pe=(0,a.bGB)("i"),ie=(0,a.fLW)(Ve),(0,a.Ljt)(pe,"class",se="vc-tool vc-tool-"+le[40].id),(0,a.VHj)(pe,"vc-global-tool",le[43].global),(0,a.VHj)(pe,"vc-toggle",le[40].id===le[2])},m:function(Tt,Xt){(0,a.$Tr)(Tt,pe,Xt),(0,a.R3I)(pe,ie),_e||(De=(0,a.oLt)(pe,"click",ut),_e=!0)},p:function(Tt,Xt){le=Tt,8&Xt[0]&&Ve!==(Ve=le[43].name+"")&&(0,a.rTO)(ie,Ve),8&Xt[0]&&se!==(se="vc-tool vc-tool-"+le[40].id)&&(0,a.Ljt)(pe,"class",se),8&Xt[0]&&(0,a.VHj)(pe,"vc-global-tool",le[43].global),12&Xt[0]&&(0,a.VHj)(pe,"vc-toggle",le[40].id===le[2])},d:function(Tt){Tt&&(0,a.ogt)(pe),_e=!1,De()}}}function lt(le){for(var pe,ie=le[40].toolbarList,se=[],_e=0;_e<ie.length;_e+=1)se[_e]=St(ue(le,ie,_e));return{c:function(){for(var De=0;De<se.length;De+=1)se[De].c();pe=(0,a.cSb)()},m:function(De,Ve){for(var ut=0;ut<se.length;ut+=1)se[ut].m(De,Ve);(0,a.$Tr)(De,pe,Ve)},p:function(De,Ve){if(16396&Ve[0]){var ut;for(ie=De[40].toolbarList,ut=0;ut<ie.length;ut+=1){var Tt=ue(De,ie,ut);se[ut]?se[ut].p(Tt,Ve):(se[ut]=St(Tt),se[ut].c(),se[ut].m(pe.parentNode,pe))}for(;ut<se.length;ut+=1)se[ut].d(1);se.length=ie.length}},d:function(De){(0,a.RMB)(se,De),De&&(0,a.ogt)(pe)}}}function yt(le){var pe,ie,se,_e,De,Ve,ut,Tt,Xt,dn,Rn,_n,cr,Gn,Cr,wr,ti,di,Si,Gi,Ui;function os(zn){le[23](zn)}function es(zn){le[24](zn)}var ms={};void 0!==le[0]&&(ms.show=le[0]),void 0!==le[1]&&(ms.position=le[1]),ie=new ee({props:ms}),a.VnY.push(function(){return(0,a.akz)(ie,"show",os)}),a.VnY.push(function(){return(0,a.akz)(ie,"position",es)}),ie.$on("click",le[10]);for(var Zi=Object.entries(le[3]),Wi=[],Fs=0;Fs<Zi.length;Fs+=1)Wi[Fs]=Pt(et(le,Zi,Fs));for(var Ba=Object.entries(le[3]),Ae=[],je=0;je<Ba.length;je+=1)Ae[je]=It(we(le,Ba,je));for(var Je=Object.entries(le[3]),Me=[],Qe=0;Qe<Je.length;Qe+=1)Me[Qe]=qt(ve(le,Je,Qe));for(var Ht=function(zn){return(0,a.etI)(Me[zn],1,1,function(){Me[zn]=null})},Bt=Object.entries(le[3]),Mn=[],Dr=0;Dr<Bt.length;Dr+=1)Mn[Dr]=lt(G(le,Bt,Dr));return{c:function(){var zn,Jr;pe=(0,a.bGB)("div"),(0,a.YCL)(ie.$$.fragment),De=(0,a.DhX)(),Ve=(0,a.bGB)("div"),ut=(0,a.DhX)(),Tt=(0,a.bGB)("div"),Xt=(0,a.bGB)("div");for(var Ni=0;Ni<Wi.length;Ni+=1)Wi[Ni].c();dn=(0,a.DhX)(),Rn=(0,a.bGB)("div");for(var To=0;To<Ae.length;To+=1)Ae[To].c();_n=(0,a.DhX)(),cr=(0,a.bGB)("div");for(var Ao=0;Ao<Me.length;Ao+=1)Me[Ao].c();Gn=(0,a.DhX)(),Cr=(0,a.bGB)("div");for(var Lo=0;Lo<Mn.length;Lo+=1)Mn[Lo].c();wr=(0,a.DhX)(),(ti=(0,a.bGB)("i")).textContent="Hide",(0,a.Ljt)(Ve,"class","vc-mask"),(0,a.czc)(Ve,"display",le[8]?"block":"none"),(0,a.Ljt)(Xt,"class","vc-tabbar"),(0,a.Ljt)(Rn,"class","vc-topbar"),(0,a.Ljt)(cr,"class","vc-content"),(0,a.VHj)(cr,"vc-has-topbar",(null==(zn=le[3][le[2]])||null==(Jr=zn.topbarList)?void 0:Jr.length)>0),(0,a.Ljt)(ti,"class","vc-tool vc-global-tool vc-tool-last vc-hide"),(0,a.Ljt)(Cr,"class","vc-toolbar"),(0,a.Ljt)(Tt,"class","vc-panel"),(0,a.czc)(Tt,"display",le[7]?"block":"none"),(0,a.Ljt)(pe,"id","__vconsole"),(0,a.Ljt)(pe,"style",di=le[5]?"font-size:"+le[5]+";":""),(0,a.Ljt)(pe,"data-theme",le[4]),(0,a.VHj)(pe,"vc-toggle",le[6])},m:function(zn,Jr){(0,a.$Tr)(zn,pe,Jr),(0,a.yef)(ie,pe,null),(0,a.R3I)(pe,De),(0,a.R3I)(pe,Ve),(0,a.R3I)(pe,ut),(0,a.R3I)(pe,Tt),(0,a.R3I)(Tt,Xt);for(var Ni=0;Ni<Wi.length;Ni+=1)Wi[Ni].m(Xt,null);(0,a.R3I)(Tt,dn),(0,a.R3I)(Tt,Rn);for(var To=0;To<Ae.length;To+=1)Ae[To].m(Rn,null);(0,a.R3I)(Tt,_n),(0,a.R3I)(Tt,cr);for(var Ao=0;Ao<Me.length;Ao+=1)Me[Ao].m(cr,null);le[27](cr),(0,a.R3I)(Tt,Gn),(0,a.R3I)(Tt,Cr);for(var Lo=0;Lo<Mn.length;Lo+=1)Mn[Lo].m(Cr,null);(0,a.R3I)(Cr,wr),(0,a.R3I)(Cr,ti),Si=!0,Gi||(Ui=[(0,a.oLt)(Ve,"click",le[11]),(0,a.oLt)(cr,"touchstart",le[15]),(0,a.oLt)(cr,"touchmove",le[16]),(0,a.oLt)(cr,"touchend",le[17]),(0,a.oLt)(cr,"scroll",le[18]),(0,a.oLt)(ti,"click",le[11]),(0,a.oLt)(pe,"touchstart",le[19].touchStart,{passive:!1,capture:!0}),(0,a.oLt)(pe,"touchmove",le[19].touchMove,{passive:!1,capture:!0}),(0,a.oLt)(pe,"touchend",le[19].touchEnd,{passive:!1,capture:!0})],Gi=!0)},p:function(zn,Jr){var Ni,To,Ao={};if(!se&&1&Jr[0]&&(se=!0,Ao.show=zn[0],(0,a.hjT)(function(){return se=!1})),!_e&&2&Jr[0]&&(_e=!0,Ao.position=zn[1],(0,a.hjT)(function(){return _e=!1})),ie.$set(Ao),(!Si||256&Jr[0])&&(0,a.czc)(Ve,"display",zn[8]?"block":"none"),4108&Jr[0]){var Lo;for(Zi=Object.entries(zn[3]),Lo=0;Lo<Zi.length;Lo+=1){var la=et(zn,Zi,Lo);Wi[Lo]?Wi[Lo].p(la,Jr):(Wi[Lo]=Pt(la),Wi[Lo].c(),Wi[Lo].m(Xt,null))}for(;Lo<Wi.length;Lo+=1)Wi[Lo].d(1);Wi.length=Zi.length}if(8204&Jr[0]){var Rs;for(Ba=Object.entries(zn[3]),Rs=0;Rs<Ba.length;Rs+=1){var Fa=we(zn,Ba,Rs);Ae[Rs]?Ae[Rs].p(Fa,Jr):(Ae[Rs]=It(Fa),Ae[Rs].c(),Ae[Rs].m(Rn,null))}for(;Rs<Ae.length;Rs+=1)Ae[Rs].d(1);Ae.length=Ba.length}if(12&Jr[0]){var ks;for(Je=Object.entries(zn[3]),ks=0;ks<Je.length;ks+=1){var xs=ve(zn,Je,ks);Me[ks]?(Me[ks].p(xs,Jr),(0,a.Ui)(Me[ks],1)):(Me[ks]=qt(xs),Me[ks].c(),(0,a.Ui)(Me[ks],1),Me[ks].m(cr,null))}for((0,a.dvw)(),ks=Je.length;ks<Me.length;ks+=1)Ht(ks);(0,a.gbL)()}if(12&Jr[0]&&(0,a.VHj)(cr,"vc-has-topbar",(null==(Ni=zn[3][zn[2]])||null==(To=Ni.topbarList)?void 0:To.length)>0),16396&Jr[0]){var Sa;for(Bt=Object.entries(zn[3]),Sa=0;Sa<Bt.length;Sa+=1){var rl=G(zn,Bt,Sa);Mn[Sa]?Mn[Sa].p(rl,Jr):(Mn[Sa]=lt(rl),Mn[Sa].c(),Mn[Sa].m(Cr,wr))}for(;Sa<Mn.length;Sa+=1)Mn[Sa].d(1);Mn.length=Bt.length}(!Si||128&Jr[0])&&(0,a.czc)(Tt,"display",zn[7]?"block":"none"),(!Si||32&Jr[0]&&di!==(di=zn[5]?"font-size:"+zn[5]+";":""))&&(0,a.Ljt)(pe,"style",di),(!Si||16&Jr[0])&&(0,a.Ljt)(pe,"data-theme",zn[4]),64&Jr[0]&&(0,a.VHj)(pe,"vc-toggle",zn[6])},i:function(zn){if(!Si){(0,a.Ui)(ie.$$.fragment,zn);for(var Jr=0;Jr<Je.length;Jr+=1)(0,a.Ui)(Me[Jr]);Si=!0}},o:function(zn){(0,a.etI)(ie.$$.fragment,zn),Me=Me.filter(Boolean);for(var Jr=0;Jr<Me.length;Jr+=1)(0,a.etI)(Me[Jr]);Si=!1},d:function(zn){zn&&(0,a.ogt)(pe),(0,a.vpE)(ie),(0,a.RMB)(Wi,zn),(0,a.RMB)(Ae,zn),(0,a.RMB)(Me,zn),le[27](null),(0,a.RMB)(Mn,zn),Gi=!1,(0,a.j7q)(Ui)}}}function Ft(le,pe,ie){var se,_e,De=pe.theme,Ve=void 0===De?"":De,ut=pe.disableScrolling,Tt=void 0!==ut&&ut,Xt=pe.show,dn=void 0!==Xt&&Xt,Rn=pe.showSwitchButton,_n=void 0===Rn||Rn,cr=pe.switchButtonPosition,Gn=void 0===cr?{x:0,y:0}:cr,Cr=pe.activedPluginId,wr=void 0===Cr?"":Cr,ti=pe.pluginList,di=void 0===ti?{}:ti,Si=(0,E.x)(),Gi=!1,Ui="",os=!1,es=!1,ms=!1,Zi=!0,Wi=0,Fs=null,Ba={};(0,E.H3)(function(){var Bt=document.querySelectorAll('[name="viewport"]');if(Bt&&Bt[0]){var Mn=(Bt[Bt.length-1].getAttribute("content")||"").match(/initial\-scale\=\d+(\.\d+)?/),Dr=Mn?parseFloat(Mn[0].split("=")[1]):1;1!==Dr&&ie(5,Ui=Math.floor(1/Dr*13)+"px")}N.use&&N.use(),se=ce.x.subscribe(function(zn){dn&&Wi!==zn.updateTime&&(Wi=zn.updateTime,Ae())})}),(0,E.ev)(function(){N.unuse&&N.unuse(),se&&se()});var Ae=function(){!Tt&&Zi&&_e&&ie(9,_e.scrollTop=_e.scrollHeight-_e.offsetHeight,_e)},je=function(Bt){Bt!==wr&&(ie(2,wr=Bt),Si("changePanel",{pluginId:Bt}),setTimeout(function(){_e&&ie(9,_e.scrollTop=Ba[wr]||0,_e)},0))},Je=function(Bt,Mn,Dr){var zn=di[Mn].topbarList[Dr],Jr=!0;if(_.mf(zn.onClick)&&(Jr=zn.onClick.call(Bt.target,Bt,zn.data)),!1!==Jr){for(var Ni=0;Ni<di[Mn].topbarList.length;Ni++)ie(3,di[Mn].topbarList[Ni].actived=Dr===Ni,di);ie(3,di)}},Me=function(Bt,Mn,Dr){var zn=di[Mn].toolbarList[Dr];_.mf(zn.onClick)&&zn.onClick.call(Bt.target,Bt,zn.data)},Qe={tapTime:700,tapBoundary:10,lastTouchStartTime:0,touchstartX:0,touchstartY:0,touchHasMoved:!1,targetElem:null},Ht={touchStart:function(Bt){if(0===Qe.lastTouchStartTime){var Mn=Bt.targetTouches[0];Qe.touchstartX=Mn.pageX,Qe.touchstartY=Mn.pageY,Qe.lastTouchStartTime=Bt.timeStamp,Qe.targetElem=Bt.target.nodeType===Node.TEXT_NODE?Bt.target.parentNode:Bt.target}},touchMove:function(Bt){var Mn=Bt.changedTouches[0];(Math.abs(Mn.pageX-Qe.touchstartX)>Qe.tapBoundary||Math.abs(Mn.pageY-Qe.touchstartY)>Qe.tapBoundary)&&(Qe.touchHasMoved=!0)},touchEnd:function(Bt){if(!1===Qe.touchHasMoved&&Bt.timeStamp-Qe.lastTouchStartTime<Qe.tapTime&&null!=Qe.targetElem){var Mn=!1;switch(Qe.targetElem.tagName.toLowerCase()){case"textarea":Mn=!0;break;case"select":Mn=!Qe.targetElem.disabled&&!Qe.targetElem.readOnly;break;case"input":switch(Qe.targetElem.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":Mn=!1;break;default:Mn=!Qe.targetElem.disabled&&!Qe.targetElem.readOnly}}Mn?Qe.targetElem.focus():Bt.preventDefault();var Dr=Bt.changedTouches[0],zn=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window,screenX:Dr.screenX,screenY:Dr.screenY,clientX:Dr.clientX,clientY:Dr.clientY});Qe.targetElem.dispatchEvent(zn)}Qe.lastTouchStartTime=0,Qe.touchHasMoved=!1,Qe.targetElem=null}};return le.$$set=function(Bt){"theme"in Bt&&ie(4,Ve=Bt.theme),"disableScrolling"in Bt&&ie(20,Tt=Bt.disableScrolling),"show"in Bt&&ie(21,dn=Bt.show),"showSwitchButton"in Bt&&ie(0,_n=Bt.showSwitchButton),"switchButtonPosition"in Bt&&ie(1,Gn=Bt.switchButtonPosition),"activedPluginId"in Bt&&ie(2,wr=Bt.activedPluginId),"pluginList"in Bt&&ie(3,di=Bt.pluginList)},le.$$.update=function(){6291456&le.$$.dirty[0]&&(!0===dn?(ie(7,es=!0),ie(8,ms=!0),Fs&&clearTimeout(Fs),ie(22,Fs=setTimeout(function(){ie(6,os=!0),Ae()},10))):(ie(6,os=!1),Fs&&clearTimeout(Fs),ie(22,Fs=setTimeout(function(){ie(7,es=!1),ie(8,ms=!1)},330))))},[_n,Gn,wr,di,Ve,Ui,os,es,ms,_e,function(Bt){Si("show",{show:!0})},function(Bt){Si("show",{show:!1})},je,Je,Me,function(Bt){if("INPUT"!==Bt.target.tagName&&"TEXTAREA"!==Bt.target.tagName){var Mn=!1;if("function"==typeof window.getComputedStyle){var Dr=window.getComputedStyle(Bt.target);"auto"!==Dr.overflow&&"initial"!==Dr.overflow&&"scroll"!==Dr.overflow||(Mn=!0)}if(!Mn){var zn=_e.scrollTop,Jr=_e.scrollHeight,Ni=zn+_e.offsetHeight;0===zn?(ie(9,_e.scrollTop=1,_e),0===_e.scrollTop&&(Gi=!0)):Ni===Jr&&(ie(9,_e.scrollTop=zn-1,_e),_e.scrollTop===zn&&(Gi=!0))}}},function(Bt){Gi&&Bt.preventDefault()},function(Bt){Gi=!1},function(Bt){dn&&(Zi=_e.scrollTop+_e.offsetHeight>=_e.scrollHeight-50,Ba[wr]=_e.scrollTop)},Ht,Tt,dn,Fs,function(Bt){ie(0,_n=Bt)},function(Bt){ie(1,Gn=Bt)},function(Bt){return je(Bt.id)},function(Bt,Mn,Dr){return Je(Dr,Bt.id,Mn)},function(Bt){a.VnY[Bt?"unshift":"push"](function(){ie(9,_e=Bt)})},function(Bt,Mn,Dr){return Me(Dr,Bt.id,Mn)}]}var mt=function(le){function pe(ie){var se;return se=le.call(this)||this,(0,a.S1n)((0,o.Z)(se),ie,Ft,yt,a.N8,{theme:4,disableScrolling:20,show:21,showSwitchButton:0,switchButtonPosition:1,activedPluginId:2,pluginList:3},null,[-1,-1]),se}return(0,C.Z)(pe,le),(0,ge.Z)(pe,[{key:"theme",get:function(){return this.$$.ctx[4]},set:function(ie){this.$$set({theme:ie}),(0,a.yl1)()}},{key:"disableScrolling",get:function(){return this.$$.ctx[20]},set:function(ie){this.$$set({disableScrolling:ie}),(0,a.yl1)()}},{key:"show",get:function(){return this.$$.ctx[21]},set:function(ie){this.$$set({show:ie}),(0,a.yl1)()}},{key:"showSwitchButton",get:function(){return this.$$.ctx[0]},set:function(ie){this.$$set({showSwitchButton:ie}),(0,a.yl1)()}},{key:"switchButtonPosition",get:function(){return this.$$.ctx[1]},set:function(ie){this.$$set({switchButtonPosition:ie}),(0,a.yl1)()}},{key:"activedPluginId",get:function(){return this.$$.ctx[2]},set:function(ie){this.$$set({activedPluginId:ie}),(0,a.yl1)()}},{key:"pluginList",get:function(){return this.$$.ctx[3]},set:function(ie){this.$$set({pluginList:ie}),(0,a.yl1)()}}]),pe}(a.f_C),Mt=function(){function le(ie,se){void 0===se&&(se="newPlugin"),this.isReady=!1,this.eventMap=new Map,this.exporter=void 0,this._id=void 0,this._name=void 0,this._vConsole=void 0,this.id=ie,this.name=se,this.isReady=!1}var pe=le.prototype;return pe.on=function(ie,se){return this.eventMap.set(ie,se),this},pe.onRemove=function(){this.unbindExporter()},pe.trigger=function(ie,se){var _e=this.eventMap.get(ie);if("function"==typeof _e)_e.call(this,se);else{var De="on"+ie.charAt(0).toUpperCase()+ie.slice(1);"function"==typeof this[De]&&this[De].call(this,se)}return this},pe.bindExporter=function(){this._vConsole&&this.exporter&&(this._vConsole["default"===this.id?"log":this.id]=this.exporter)},pe.unbindExporter=function(){var ie="default"===this.id?"log":this.id;this._vConsole&&this._vConsole[ie]&&(this._vConsole[ie]=void 0)},pe.getUniqueID=function(ie){return void 0===ie&&(ie=""),(0,_.QI)(ie)},(0,ge.Z)(le,[{key:"id",get:function(){return this._id},set:function(ie){if("string"!=typeof ie)throw"[vConsole] Plugin ID must be a string.";if(!ie)throw"[vConsole] Plugin ID cannot be empty.";this._id=ie.toLowerCase()}},{key:"name",get:function(){return this._name},set:function(ie){if("string"!=typeof ie)throw"[vConsole] Plugin name must be a string.";if(!ie)throw"[vConsole] Plugin name cannot be empty.";this._name=ie}},{key:"vConsole",get:function(){return this._vConsole||void 0},set:function(ie){if(!ie)throw"[vConsole] vConsole cannot be empty";this._vConsole=ie,this.bindExporter()}}]),le}(),Vt=function(le){function pe(se,_e,De,Ve){var ut;return(ut=le.call(this,se,_e)||this).CompClass=void 0,ut.compInstance=void 0,ut.initialProps=void 0,ut.CompClass=De,ut.initialProps=Ve,ut}(0,C.Z)(pe,le);var ie=pe.prototype;return ie.onReady=function(){this.isReady=!0},ie.onRenderTab=function(se){var _e=document.createElement("div"),De=this.compInstance=new this.CompClass({target:_e,props:this.initialProps});se(_e.firstElementChild,De.options)},ie.onRemove=function(){le.prototype.onRemove&&le.prototype.onRemove.call(this),this.compInstance&&this.compInstance.$destroy()},pe}(Mt),Lt=__nested_webpack_require_223763__(8665),$n=__nested_webpack_require_223763__(9923),Tn=__nested_webpack_require_223763__(8702);function An(le){var pe,ie;return(pe=new Tn.Z({props:{name:le[0]?"success":"copy"}})).$on("click",le[1]),{c:function(){(0,a.YCL)(pe.$$.fragment)},m:function(se,_e){(0,a.yef)(pe,se,_e),ie=!0},p:function(se,_e){var De={};1&_e[0]&&(De.name=se[0]?"success":"copy"),pe.$set(De)},i:function(se){ie||((0,a.Ui)(pe.$$.fragment,se),ie=!0)},o:function(se){(0,a.etI)(pe.$$.fragment,se),ie=!1},d:function(se){(0,a.vpE)(pe,se)}}}function jn(le,pe,ie){var se=pe.content,_e=void 0===se?"":se,De=pe.handler,Ve=void 0===De?void 0:De,ut={target:document.documentElement},Tt=!1;return le.$$set=function(Xt){"content"in Xt&&ie(2,_e=Xt.content),"handler"in Xt&&ie(3,Ve=Xt.handler)},[Tt,function(Xt){(function(dn,Rn){var _n=(void 0===Rn?{}:Rn).target,cr=void 0===_n?document.body:_n,Gn=document.createElement("textarea"),Cr=document.activeElement;Gn.value=dn,Gn.setAttribute("readonly",""),Gn.style.contain="strict",Gn.style.position="absolute",Gn.style.left="-9999px",Gn.style.fontSize="12pt";var wr=document.getSelection(),ti=!1;wr.rangeCount>0&&(ti=wr.getRangeAt(0)),cr.append(Gn),Gn.select(),Gn.selectionStart=0,Gn.selectionEnd=dn.length;try{document.execCommand("copy")}catch{}Gn.remove(),ti&&(wr.removeAllRanges(),wr.addRange(ti)),Cr&&Cr.focus()})(_.mf(Ve)?Ve(_e)||"":_.Kn(_e)||_.kJ(_e)?_.hZ(_e,{maxDepth:10,keyMaxLen:1e4,pretty:!1,standardJSON:!0}):_e,ut),ie(0,Tt=!0),setTimeout(function(){ie(0,Tt=!1)},600)},_e,Ve]}var br=function(le){function pe(ie){var se;return se=le.call(this)||this,(0,a.S1n)((0,o.Z)(se),ie,jn,An,a.N8,{content:2,handler:3}),se}return(0,C.Z)(pe,le),(0,ge.Z)(pe,[{key:"content",get:function(){return this.$$.ctx[2]},set:function(ie){this.$$set({content:ie}),(0,a.yl1)()}},{key:"handler",get:function(){return this.$$.ctx[3]},set:function(ie){this.$$set({handler:ie}),(0,a.yl1)()}}]),pe}(a.f_C),Fr=__nested_webpack_require_223763__(845),On={};Fr.Z&&Fr.Z.locals&&(On.locals=Fr.Z.locals);var sr,ur=0,tr={};tr.styleTagTransform=k(),tr.setAttributes=p(),tr.insert=g().bind(null,"head"),tr.domAPI=u(),tr.insertStyleElement=R(),On.use=function(le){return tr.options=le||{},ur++||(sr=s()(Fr.Z,tr)),On},On.unuse=function(){ur>0&&! --ur&&(sr(),sr=null)};var Lr=On;function Br(le){var pe,ie,se,_e=_.rE(le[1])+"";return{c:function(){pe=(0,a.bGB)("i"),ie=(0,a.fLW)(_e),se=(0,a.fLW)(":"),(0,a.Ljt)(pe,"class","vc-log-key"),(0,a.VHj)(pe,"vc-log-key-symbol","symbol"===le[2]),(0,a.VHj)(pe,"vc-log-key-private","private"===le[2])},m:function(De,Ve){(0,a.$Tr)(De,pe,Ve),(0,a.R3I)(pe,ie),(0,a.$Tr)(De,se,Ve)},p:function(De,Ve){2&Ve&&_e!==(_e=_.rE(De[1])+"")&&(0,a.rTO)(ie,_e),4&Ve&&(0,a.VHj)(pe,"vc-log-key-symbol","symbol"===De[2]),4&Ve&&(0,a.VHj)(pe,"vc-log-key-private","private"===De[2])},d:function(De){De&&(0,a.ogt)(pe),De&&(0,a.ogt)(se)}}}function Gr(le){var pe,ie,se,_e,De=void 0!==le[1]&&Br(le);return{c:function(){De&&De.c(),pe=(0,a.DhX)(),ie=(0,a.bGB)("i"),se=(0,a.fLW)(le[3]),(0,a.Ljt)(ie,"class",_e="vc-log-val vc-log-val-"+le[4]),(0,a.Ljt)(ie,"style",le[0]),(0,a.VHj)(ie,"vc-log-val-haskey",void 0!==le[1])},m:function(Ve,ut){De&&De.m(Ve,ut),(0,a.$Tr)(Ve,pe,ut),(0,a.$Tr)(Ve,ie,ut),(0,a.R3I)(ie,se)},p:function(Ve,ut){var Tt=ut[0];void 0!==Ve[1]?De?De.p(Ve,Tt):((De=Br(Ve)).c(),De.m(pe.parentNode,pe)):De&&(De.d(1),De=null),8&Tt&&(0,a.rTO)(se,Ve[3]),16&Tt&&_e!==(_e="vc-log-val vc-log-val-"+Ve[4])&&(0,a.Ljt)(ie,"class",_e),1&Tt&&(0,a.Ljt)(ie,"style",Ve[0]),18&Tt&&(0,a.VHj)(ie,"vc-log-val-haskey",void 0!==Ve[1])},i:a.ZTd,o:a.ZTd,d:function(Ve){De&&De.d(Ve),Ve&&(0,a.ogt)(pe),Ve&&(0,a.ogt)(ie)}}}function qr(le,pe,ie){var se=pe.origData,_e=pe.style,De=void 0===_e?"":_e,Ve=pe.dataKey,ut=void 0===Ve?void 0:Ve,Tt=pe.keyType,Xt=void 0===Tt?"":Tt,dn="",Rn="",_n=!1;return(0,E.H3)(function(){Lr.use()}),(0,E.ev)(function(){Lr.unuse()}),le.$$set=function(cr){"origData"in cr&&ie(5,se=cr.origData),"style"in cr&&ie(0,De=cr.style),"dataKey"in cr&&ie(1,ut=cr.dataKey),"keyType"in cr&&ie(2,Xt=cr.keyType)},le.$$.update=function(){if(122&le.$$.dirty){ie(6,_n=void 0!==ut);var cr=(0,Lt.LH)(se,_n);ie(4,Rn=cr.valueType),ie(3,dn=cr.text),_n||"string"!==Rn||ie(3,dn=dn.replace(/\\n/g,"\n").replace(/\\t/g," "))}},[De,ut,Xt,dn,Rn,se,_n]}var hr=function(le){function pe(ie){var se;return se=le.call(this)||this,(0,a.S1n)((0,o.Z)(se),ie,qr,Gr,a.AqN,{origData:5,style:0,dataKey:1,keyType:2}),se}return(0,C.Z)(pe,le),(0,ge.Z)(pe,[{key:"origData",get:function(){return this.$$.ctx[5]},set:function(ie){this.$$set({origData:ie}),(0,a.yl1)()}},{key:"style",get:function(){return this.$$.ctx[0]},set:function(ie){this.$$set({style:ie}),(0,a.yl1)()}},{key:"dataKey",get:function(){return this.$$.ctx[1]},set:function(ie){this.$$set({dataKey:ie}),(0,a.yl1)()}},{key:"keyType",get:function(){return this.$$.ctx[2]},set:function(ie){this.$$set({keyType:ie}),(0,a.yl1)()}}]),pe}(a.f_C),Nr=__nested_webpack_require_223763__(1237),$r={};Nr.Z&&Nr.Z.locals&&($r.locals=Nr.Z.locals);var Xr,Rt=0,zt={};zt.styleTagTransform=k(),zt.setAttributes=p(),zt.insert=g().bind(null,"head"),zt.domAPI=u(),zt.insertStyleElement=R(),$r.use=function(le){return zt.options=le||{},Rt++||(Xr=s()(Nr.Z,zt)),$r},$r.unuse=function(){Rt>0&&! --Rt&&(Xr(),Xr=null)};var vn=$r;function ln(le,pe,ie){var se=le.slice();return se[19]=pe[ie],se[21]=ie,se}function Sn(le,pe,ie){var se=le.slice();return se[19]=pe[ie],se}function dr(le,pe,ie){var se=le.slice();return se[19]=pe[ie],se[21]=ie,se}function En(le){for(var pe,ie,se,_e,De,Ve,ut,Tt=[],Xt=new Map,dn=[],Rn=new Map,_n=[],cr=new Map,Gn=le[7],Cr=function(Me){return Me[19]},wr=0;wr<Gn.length;wr+=1){var ti=dr(le,Gn,wr),di=Cr(ti);Xt.set(di,Tt[wr]=bn(di,ti))}for(var Si=le[11]<le[7].length&&Cn(le),Gi=le[9],Ui=function(Me){return Me[19]},os=0;os<Gi.length;os+=1){var es=Sn(le,Gi,os),ms=Ui(es);Rn.set(ms,dn[os]=Kn(ms,es))}for(var Zi=le[8],Wi=function(Me){return Me[19]},Fs=0;Fs<Zi.length;Fs+=1){var Ba=ln(le,Zi,Fs),Ae=Wi(Ba);cr.set(Ae,_n[Fs]=nr(Ae,Ba))}var je=le[12]<le[8].length&&fn(le),Je=le[10]&&fr(le);return{c:function(){pe=(0,a.bGB)("div");for(var Me=0;Me<Tt.length;Me+=1)Tt[Me].c();ie=(0,a.DhX)(),Si&&Si.c(),se=(0,a.DhX)();for(var Qe=0;Qe<dn.length;Qe+=1)dn[Qe].c();_e=(0,a.DhX)();for(var Ht=0;Ht<_n.length;Ht+=1)_n[Ht].c();De=(0,a.DhX)(),je&&je.c(),Ve=(0,a.DhX)(),Je&&Je.c(),(0,a.Ljt)(pe,"class","vc-log-tree-child")},m:function(Me,Qe){(0,a.$Tr)(Me,pe,Qe);for(var Ht=0;Ht<Tt.length;Ht+=1)Tt[Ht].m(pe,null);(0,a.R3I)(pe,ie),Si&&Si.m(pe,null),(0,a.R3I)(pe,se);for(var Bt=0;Bt<dn.length;Bt+=1)dn[Bt].m(pe,null);(0,a.R3I)(pe,_e);for(var Mn=0;Mn<_n.length;Mn+=1)_n[Mn].m(pe,null);(0,a.R3I)(pe,De),je&&je.m(pe,null),(0,a.R3I)(pe,Ve),Je&&Je.m(pe,null),ut=!0},p:function(Me,Qe){67721&Qe&&(Gn=Me[7],(0,a.dvw)(),Tt=(0,a.GQg)(Tt,Qe,Cr,1,Me,Gn,Xt,pe,a.cly,bn,ie,dr),(0,a.gbL)()),Me[11]<Me[7].length?Si?Si.p(Me,Qe):((Si=Cn(Me)).c(),Si.m(pe,se)):Si&&(Si.d(1),Si=null),66057&Qe&&(Gi=Me[9],(0,a.dvw)(),dn=(0,a.GQg)(dn,Qe,Ui,1,Me,Gi,Rn,pe,a.cly,Kn,_e,Sn),(0,a.gbL)()),69897&Qe&&(Zi=Me[8],(0,a.dvw)(),_n=(0,a.GQg)(_n,Qe,Wi,1,Me,Zi,cr,pe,a.cly,nr,De,ln),(0,a.gbL)()),Me[12]<Me[8].length?je?je.p(Me,Qe):((je=fn(Me)).c(),je.m(pe,Ve)):je&&(je.d(1),je=null),Me[10]?Je?(Je.p(Me,Qe),1024&Qe&&(0,a.Ui)(Je,1)):((Je=fr(Me)).c(),(0,a.Ui)(Je,1),Je.m(pe,null)):Je&&((0,a.dvw)(),(0,a.etI)(Je,1,1,function(){Je=null}),(0,a.gbL)())},i:function(Me){if(!ut){for(var Qe=0;Qe<Gn.length;Qe+=1)(0,a.Ui)(Tt[Qe]);for(var Ht=0;Ht<Gi.length;Ht+=1)(0,a.Ui)(dn[Ht]);for(var Bt=0;Bt<Zi.length;Bt+=1)(0,a.Ui)(_n[Bt]);(0,a.Ui)(Je),ut=!0}},o:function(Me){for(var Qe=0;Qe<Tt.length;Qe+=1)(0,a.etI)(Tt[Qe]);for(var Ht=0;Ht<dn.length;Ht+=1)(0,a.etI)(dn[Ht]);for(var Bt=0;Bt<_n.length;Bt+=1)(0,a.etI)(_n[Bt]);(0,a.etI)(Je),ut=!1},d:function(Me){Me&&(0,a.ogt)(pe);for(var Qe=0;Qe<Tt.length;Qe+=1)Tt[Qe].d();Si&&Si.d();for(var Ht=0;Ht<dn.length;Ht+=1)dn[Ht].d();for(var Bt=0;Bt<_n.length;Bt+=1)_n[Bt].d();je&&je.d(),Je&&Je.d()}}}function tn(le){var pe,ie;return pe=new ni({props:{origData:le[16](le[19]),dataKey:le[19],keyPath:le[3]+"."+le[19],toggle:le[0]}}),{c:function(){(0,a.YCL)(pe.$$.fragment)},m:function(se,_e){(0,a.yef)(pe,se,_e),ie=!0},p:function(se,_e){var De={};128&_e&&(De.origData=se[16](se[19])),128&_e&&(De.dataKey=se[19]),136&_e&&(De.keyPath=se[3]+"."+se[19]),1&_e&&(De.toggle=se[0]),pe.$set(De)},i:function(se){ie||((0,a.Ui)(pe.$$.fragment,se),ie=!0)},o:function(se){(0,a.etI)(pe.$$.fragment,se),ie=!1},d:function(se){(0,a.vpE)(pe,se)}}}function bn(le,pe){var ie,se,_e,De=pe[21]<pe[11]&&tn(pe);return{key:le,first:null,c:function(){ie=(0,a.cSb)(),De&&De.c(),se=(0,a.cSb)(),this.first=ie},m:function(Ve,ut){(0,a.$Tr)(Ve,ie,ut),De&&De.m(Ve,ut),(0,a.$Tr)(Ve,se,ut),_e=!0},p:function(Ve,ut){(pe=Ve)[21]<pe[11]?De?(De.p(pe,ut),2176&ut&&(0,a.Ui)(De,1)):((De=tn(pe)).c(),(0,a.Ui)(De,1),De.m(se.parentNode,se)):De&&((0,a.dvw)(),(0,a.etI)(De,1,1,function(){De=null}),(0,a.gbL)())},i:function(Ve){_e||((0,a.Ui)(De),_e=!0)},o:function(Ve){(0,a.etI)(De),_e=!1},d:function(Ve){Ve&&(0,a.ogt)(ie),De&&De.d(Ve),Ve&&(0,a.ogt)(se)}}}function Cn(le){var pe,ie,se,_e,De=le[14](le[7].length-le[11])+"";return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.fLW)(De),(0,a.Ljt)(pe,"class","vc-log-tree-loadmore")},m:function(Ve,ut){(0,a.$Tr)(Ve,pe,ut),(0,a.R3I)(pe,ie),se||(_e=(0,a.oLt)(pe,"click",le[17]),se=!0)},p:function(Ve,ut){2176&ut&&De!==(De=Ve[14](Ve[7].length-Ve[11])+"")&&(0,a.rTO)(ie,De)},d:function(Ve){Ve&&(0,a.ogt)(pe),se=!1,_e()}}}function Kn(le,pe){var ie,se,_e;return se=new ni({props:{origData:pe[16](pe[19]),dataKey:String(pe[19]),keyType:"symbol",keyPath:pe[3]+"["+String(pe[19])+"]",toggle:pe[0]}}),{key:le,first:null,c:function(){ie=(0,a.cSb)(),(0,a.YCL)(se.$$.fragment),this.first=ie},m:function(De,Ve){(0,a.$Tr)(De,ie,Ve),(0,a.yef)(se,De,Ve),_e=!0},p:function(De,Ve){pe=De;var ut={};512&Ve&&(ut.origData=pe[16](pe[19])),512&Ve&&(ut.dataKey=String(pe[19])),520&Ve&&(ut.keyPath=pe[3]+"["+String(pe[19])+"]"),1&Ve&&(ut.toggle=pe[0]),se.$set(ut)},i:function(De){_e||((0,a.Ui)(se.$$.fragment,De),_e=!0)},o:function(De){(0,a.etI)(se.$$.fragment,De),_e=!1},d:function(De){De&&(0,a.ogt)(ie),(0,a.vpE)(se,De)}}}function Xn(le){var pe,ie;return pe=new ni({props:{origData:le[16](le[19]),dataKey:le[19],keyType:"private",keyPath:le[3]+"."+le[19],toggle:le[0]}}),{c:function(){(0,a.YCL)(pe.$$.fragment)},m:function(se,_e){(0,a.yef)(pe,se,_e),ie=!0},p:function(se,_e){var De={};256&_e&&(De.origData=se[16](se[19])),256&_e&&(De.dataKey=se[19]),264&_e&&(De.keyPath=se[3]+"."+se[19]),1&_e&&(De.toggle=se[0]),pe.$set(De)},i:function(se){ie||((0,a.Ui)(pe.$$.fragment,se),ie=!0)},o:function(se){(0,a.etI)(pe.$$.fragment,se),ie=!1},d:function(se){(0,a.vpE)(pe,se)}}}function nr(le,pe){var ie,se,_e,De=pe[21]<pe[12]&&Xn(pe);return{key:le,first:null,c:function(){ie=(0,a.cSb)(),De&&De.c(),se=(0,a.cSb)(),this.first=ie},m:function(Ve,ut){(0,a.$Tr)(Ve,ie,ut),De&&De.m(Ve,ut),(0,a.$Tr)(Ve,se,ut),_e=!0},p:function(Ve,ut){(pe=Ve)[21]<pe[12]?De?(De.p(pe,ut),4352&ut&&(0,a.Ui)(De,1)):((De=Xn(pe)).c(),(0,a.Ui)(De,1),De.m(se.parentNode,se)):De&&((0,a.dvw)(),(0,a.etI)(De,1,1,function(){De=null}),(0,a.gbL)())},i:function(Ve){_e||((0,a.Ui)(De),_e=!0)},o:function(Ve){(0,a.etI)(De),_e=!1},d:function(Ve){Ve&&(0,a.ogt)(ie),De&&De.d(Ve),Ve&&(0,a.ogt)(se)}}}function fn(le){var pe,ie,se,_e,De=le[14](le[8].length-le[12])+"";return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.fLW)(De),(0,a.Ljt)(pe,"class","vc-log-tree-loadmore")},m:function(Ve,ut){(0,a.$Tr)(Ve,pe,ut),(0,a.R3I)(pe,ie),se||(_e=(0,a.oLt)(pe,"click",le[18]),se=!0)},p:function(Ve,ut){4352&ut&&De!==(De=Ve[14](Ve[8].length-Ve[12])+"")&&(0,a.rTO)(ie,De)},d:function(Ve){Ve&&(0,a.ogt)(pe),se=!1,_e()}}}function fr(le){var pe,ie;return pe=new ni({props:{origData:le[16]("__proto__"),dataKey:"__proto__",keyType:"private",keyPath:le[3]+".__proto__",toggle:le[0]}}),{c:function(){(0,a.YCL)(pe.$$.fragment)},m:function(se,_e){(0,a.yef)(pe,se,_e),ie=!0},p:function(se,_e){var De={};8&_e&&(De.keyPath=se[3]+".__proto__"),1&_e&&(De.toggle=se[0]),pe.$set(De)},i:function(se){ie||((0,a.Ui)(pe.$$.fragment,se),ie=!0)},o:function(se){(0,a.etI)(pe.$$.fragment,se),ie=!1},d:function(se){(0,a.vpE)(pe,se)}}}function lr(le){var pe,ie,se,_e,De,Ve,ut;se=new hr({props:{origData:le[1],dataKey:le[2],keyType:le[4]}});var Tt=le[6]&&le[5]&&En(le);return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.bGB)("div"),(0,a.YCL)(se.$$.fragment),_e=(0,a.DhX)(),Tt&&Tt.c(),(0,a.Ljt)(ie,"class","vc-log-tree-node"),(0,a.Ljt)(pe,"class","vc-log-tree"),(0,a.Ljt)(pe,"data-keypath",le[3]),(0,a.VHj)(pe,"vc-toggle",le[5]),(0,a.VHj)(pe,"vc-is-tree",le[6])},m:function(Xt,dn){(0,a.$Tr)(Xt,pe,dn),(0,a.R3I)(pe,ie),(0,a.yef)(se,ie,null),(0,a.R3I)(pe,_e),Tt&&Tt.m(pe,null),De=!0,Ve||(ut=(0,a.oLt)(ie,"click",(0,a.XET)(le[15])),Ve=!0)},p:function(Xt,dn){var Rn=dn[0],_n={};2&Rn&&(_n.origData=Xt[1]),4&Rn&&(_n.dataKey=Xt[2]),16&Rn&&(_n.keyType=Xt[4]),se.$set(_n),Xt[6]&&Xt[5]?Tt?(Tt.p(Xt,Rn),96&Rn&&(0,a.Ui)(Tt,1)):((Tt=En(Xt)).c(),(0,a.Ui)(Tt,1),Tt.m(pe,null)):Tt&&((0,a.dvw)(),(0,a.etI)(Tt,1,1,function(){Tt=null}),(0,a.gbL)()),(!De||8&Rn)&&(0,a.Ljt)(pe,"data-keypath",Xt[3]),32&Rn&&(0,a.VHj)(pe,"vc-toggle",Xt[5]),64&Rn&&(0,a.VHj)(pe,"vc-is-tree",Xt[6])},i:function(Xt){De||((0,a.Ui)(se.$$.fragment,Xt),(0,a.Ui)(Tt),De=!0)},o:function(Xt){(0,a.etI)(se.$$.fragment,Xt),(0,a.etI)(Tt),De=!1},d:function(Xt){Xt&&(0,a.ogt)(pe),(0,a.vpE)(se),Tt&&Tt.d(),Ve=!1,ut()}}}function ar(le,pe,ie){var se,_e,De,Ve=pe.origData,ut=pe.dataKey,Tt=void 0===ut?void 0:ut,Xt=pe.keyPath,dn=void 0===Xt?"":Xt,Rn=pe.keyType,_n=void 0===Rn?"":Rn,cr=pe.toggle,Gn=void 0===cr?{}:cr,Cr=!1,wr=!1,ti=!1,di=50,Si=50;(0,E.H3)(function(){vn.use()}),(0,E.ev)(function(){vn.unuse()});var Gi=function(Ui){"enum"===Ui?ie(11,di+=50):"nonEnum"===Ui&&ie(12,Si+=50)};return le.$$set=function(Ui){"origData"in Ui&&ie(1,Ve=Ui.origData),"dataKey"in Ui&&ie(2,Tt=Ui.dataKey),"keyPath"in Ui&&ie(3,dn=Ui.keyPath),"ke
1yType"in Ui&&ie(4,_n=Ui.keyType),"toggle"in Ui&&ie(0,Gn=Ui.toggle)},le.$$.update=function(){1003&le.$$.dirty&&(ie(5,Cr=Gn[dn]||!1),ie(6,wr=!(Ve instanceof Lt.Tg)&&(_.kJ(Ve)||_.Kn(Ve))),wr&&Cr&&(ie(7,se=se||_.qr(_.MH(Ve))),ie(8,_e=_e||_.qr(_.QK(Ve))),ie(9,De=De||_._D(Ve)),ie(10,ti=_.Kn(Ve)&&-1===_e.indexOf("__proto__"))))},[Gn,Ve,Tt,dn,_n,Cr,wr,se,_e,De,ti,di,Si,Gi,function(Ui){return"(..."+Ui+" Key"+(Ui>1?"s":"")+" Left)"},function(){ie(5,Cr=!Cr),ie(0,Gn[dn]=Cr,Gn)},function(Ui){try{return Ve[Ui]}catch{return new Lt.Tg}},function(){return Gi("enum")},function(){return Gi("nonEnum")}]}var ni=function(le){function pe(ie){var se;return se=le.call(this)||this,(0,a.S1n)((0,o.Z)(se),ie,ar,lr,a.AqN,{origData:1,dataKey:2,keyPath:3,keyType:4,toggle:0}),se}return(0,C.Z)(pe,le),(0,ge.Z)(pe,[{key:"origData",get:function(){return this.$$.ctx[1]},set:function(ie){this.$$set({origData:ie}),(0,a.yl1)()}},{key:"dataKey",get:function(){return this.$$.ctx[2]},set:function(ie){this.$$set({dataKey:ie}),(0,a.yl1)()}},{key:"keyPath",get:function(){return this.$$.ctx[3]},set:function(ie){this.$$set({keyPath:ie}),(0,a.yl1)()}},{key:"keyType",get:function(){return this.$$.ctx[4]},set:function(ie){this.$$set({keyType:ie}),(0,a.yl1)()}},{key:"toggle",get:function(){return this.$$.ctx[0]},set:function(ie){this.$$set({toggle:ie}),(0,a.yl1)()}}]),pe}(a.f_C),vi=ni,no=__nested_webpack_require_223763__(7147),$i={};no.Z&&no.Z.locals&&($i.locals=no.Z.locals);var Xi,Di=0,lo={};lo.styleTagTransform=k(),lo.setAttributes=p(),lo.insert=g().bind(null,"head"),lo.domAPI=u(),lo.insertStyleElement=R(),$i.use=function(le){return lo.options=le||{},Di++||(Xi=s()(no.Z,lo)),$i},$i.unuse=function(){Di>0&&! --Di&&(Xi(),Xi=null)};var to=$i;function vo(le,pe,ie){var se=le.slice();return se[9]=pe[ie],se[11]=ie,se}function Co(le,pe,ie){var se=le.slice();return se[12]=pe[ie],se}function mn(le){for(var pe,ie,se,_e,De,Ve,ut,Tt,Xt,dn,Rn,_n,cr,Gn=[],Cr=new Map,wr=le[0].groupLevel&&Jt(le),ti=le[2]>0&&Ke(),di=le[1]&&Ze(le),Si=le[0].repeated&&Ot(le),Gi=le[0].data,Ui=function(Zi){return Zi[11]},os=0;os<Gi.length;os+=1){var es=vo(le,Gi,os),ms=Ui(es);Cr.set(ms,Gn[os]=st(ms,es))}return Xt=new br({props:{handler:le[6]}}),{c:function(){pe=(0,a.bGB)("div"),wr&&wr.c(),ie=(0,a.DhX)(),ti&&ti.c(),se=(0,a.DhX)(),di&&di.c(),_e=(0,a.DhX)(),Si&&Si.c(),De=(0,a.DhX)(),Ve=(0,a.bGB)("div");for(var Zi=0;Zi<Gn.length;Zi+=1)Gn[Zi].c();ut=(0,a.DhX)(),Tt=(0,a.bGB)("div"),(0,a.YCL)(Xt.$$.fragment),(0,a.Ljt)(Ve,"class","vc-log-content"),(0,a.Ljt)(Tt,"class","vc-logrow-icon"),(0,a.Ljt)(pe,"class",dn="vc-log-row vc-log-"+le[0].type),(0,a.VHj)(pe,"vc-log-input","input"===le[0].cmdType),(0,a.VHj)(pe,"vc-log-output","output"===le[0].cmdType),(0,a.VHj)(pe,"vc-log-group",le[2]>0),(0,a.VHj)(pe,"vc-toggle",1===le[2])},m:function(Zi,Wi){(0,a.$Tr)(Zi,pe,Wi),wr&&wr.m(pe,null),(0,a.R3I)(pe,ie),ti&&ti.m(pe,null),(0,a.R3I)(pe,se),di&&di.m(pe,null),(0,a.R3I)(pe,_e),Si&&Si.m(pe,null),(0,a.R3I)(pe,De),(0,a.R3I)(pe,Ve);for(var Fs=0;Fs<Gn.length;Fs+=1)Gn[Fs].m(Ve,null);(0,a.R3I)(pe,ut),(0,a.R3I)(pe,Tt),(0,a.yef)(Xt,Tt,null),Rn=!0,_n||(cr=(0,a.oLt)(pe,"click",le[5]),_n=!0)},p:function(Zi,Wi){Zi[0].groupLevel?wr?wr.p(Zi,Wi):((wr=Jt(Zi)).c(),wr.m(pe,ie)):wr&&(wr.d(1),wr=null),Zi[2]>0?ti||((ti=Ke()).c(),ti.m(pe,se)):ti&&(ti.d(1),ti=null),Zi[1]?di?di.p(Zi,Wi):((di=Ze(Zi)).c(),di.m(pe,_e)):di&&(di.d(1),di=null),Zi[0].repeated?Si?Si.p(Zi,Wi):((Si=Ot(Zi)).c(),Si.m(pe,De)):Si&&(Si.d(1),Si=null),17&Wi&&(Gi=Zi[0].data,(0,a.dvw)(),Gn=(0,a.GQg)(Gn,Wi,Ui,1,Zi,Gi,Cr,Ve,a.cly,st,null,vo),(0,a.gbL)()),(!Rn||1&Wi&&dn!==(dn="vc-log-row vc-log-"+Zi[0].type))&&(0,a.Ljt)(pe,"class",dn),1&Wi&&(0,a.VHj)(pe,"vc-log-input","input"===Zi[0].cmdType),1&Wi&&(0,a.VHj)(pe,"vc-log-output","output"===Zi[0].cmdType),5&Wi&&(0,a.VHj)(pe,"vc-log-group",Zi[2]>0),5&Wi&&(0,a.VHj)(pe,"vc-toggle",1===Zi[2])},i:function(Zi){if(!Rn){for(var Wi=0;Wi<Gi.length;Wi+=1)(0,a.Ui)(Gn[Wi]);(0,a.Ui)(Xt.$$.fragment,Zi),Rn=!0}},o:function(Zi){for(var Wi=0;Wi<Gn.length;Wi+=1)(0,a.etI)(Gn[Wi]);(0,a.etI)(Xt.$$.fragment,Zi),Rn=!1},d:function(Zi){Zi&&(0,a.ogt)(pe),wr&&wr.d(),ti&&ti.d(),di&&di.d(),Si&&Si.d();for(var Wi=0;Wi<Gn.length;Wi+=1)Gn[Wi].d();(0,a.vpE)(Xt),_n=!1,cr()}}}function Jt(le){for(var pe,ie=new Array(le[0].groupLevel),se=[],_e=0;_e<ie.length;_e+=1)se[_e]=kn(Co(le,ie,_e));return{c:function(){for(var De=0;De<se.length;De+=1)se[De].c();pe=(0,a.cSb)()},m:function(De,Ve){for(var ut=0;ut<se.length;ut+=1)se[ut].m(De,Ve);(0,a.$Tr)(De,pe,Ve)},p:function(De,Ve){if(1&Ve){var ut;for(ie=new Array(De[0].groupLevel),ut=0;ut<ie.length;ut+=1){var Tt=Co(De,ie,ut);se[ut]?se[ut].p(Tt,Ve):(se[ut]=kn(),se[ut].c(),se[ut].m(pe.parentNode,pe))}for(;ut<se.length;ut+=1)se[ut].d(1);se.length=ie.length}},d:function(De){(0,a.RMB)(se,De),De&&(0,a.ogt)(pe)}}}function kn(le){var pe;return{c:function(){pe=(0,a.bGB)("i"),(0,a.Ljt)(pe,"class","vc-log-padding")},m:function(ie,se){(0,a.$Tr)(ie,pe,se)},p:a.ZTd,d:function(ie){ie&&(0,a.ogt)(pe)}}}function Ke(le){var pe;return{c:function(){pe=(0,a.bGB)("div"),(0,a.Ljt)(pe,"class","vc-log-group-toggle")},m:function(ie,se){(0,a.$Tr)(ie,pe,se)},d:function(ie){ie&&(0,a.ogt)(pe)}}}function Ze(le){var pe,ie;return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.fLW)(le[3]),(0,a.Ljt)(pe,"class","vc-log-time")},m:function(se,_e){(0,a.$Tr)(se,pe,_e),(0,a.R3I)(pe,ie)},p:function(se,_e){8&_e&&(0,a.rTO)(ie,se[3])},d:function(se){se&&(0,a.ogt)(pe)}}}function Ot(le){var pe,ie,se,_e=le[0].repeated+"";return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.bGB)("i"),se=(0,a.fLW)(_e),(0,a.Ljt)(pe,"class","vc-log-repeat")},m:function(De,Ve){(0,a.$Tr)(De,pe,Ve),(0,a.R3I)(pe,ie),(0,a.R3I)(ie,se)},p:function(De,Ve){1&Ve&&_e!==(_e=De[0].repeated+"")&&(0,a.rTO)(se,_e)},d:function(De){De&&(0,a.ogt)(pe)}}}function nn(le){var pe,ie;return pe=new hr({props:{origData:le[9].origData,style:le[9].style}}),{c:function(){(0,a.YCL)(pe.$$.fragment)},m:function(se,_e){(0,a.yef)(pe,se,_e),ie=!0},p:function(se,_e){var De={};1&_e&&(De.origData=se[9].origData),1&_e&&(De.style=se[9].style),pe.$set(De)},i:function(se){ie||((0,a.Ui)(pe.$$.fragment,se),ie=!0)},o:function(se){(0,a.etI)(pe.$$.fragment,se),ie=!1},d:function(se){(0,a.vpE)(pe,se)}}}function wt(le){var pe,ie;return pe=new vi({props:{origData:le[9].origData,keyPath:String(le[11]),toggle:le[0].toggle}}),{c:function(){(0,a.YCL)(pe.$$.fragment)},m:function(se,_e){(0,a.yef)(pe,se,_e),ie=!0},p:function(se,_e){var De={};1&_e&&(De.origData=se[9].origData),1&_e&&(De.keyPath=String(se[11])),1&_e&&(De.toggle=se[0].toggle),pe.$set(De)},i:function(se){ie||((0,a.Ui)(pe.$$.fragment,se),ie=!0)},o:function(se){(0,a.etI)(pe.$$.fragment,se),ie=!1},d:function(se){(0,a.vpE)(pe,se)}}}function st(le,pe){var ie,se,_e,De,Ve,ut,Tt=[wt,nn],Xt=[];function dn(Rn,_n){return 1&_n&&(se=null),null==se&&(se=!!Rn[4](Rn[9].origData)),se?0:1}return _e=dn(pe,-1),De=Xt[_e]=Tt[_e](pe),{key:le,first:null,c:function(){ie=(0,a.cSb)(),De.c(),Ve=(0,a.cSb)(),this.first=ie},m:function(Rn,_n){(0,a.$Tr)(Rn,ie,_n),Xt[_e].m(Rn,_n),(0,a.$Tr)(Rn,Ve,_n),ut=!0},p:function(Rn,_n){var cr=_e;(_e=dn(pe=Rn,_n))===cr?Xt[_e].p(pe,_n):((0,a.dvw)(),(0,a.etI)(Xt[cr],1,1,function(){Xt[cr]=null}),(0,a.gbL)(),(De=Xt[_e])?De.p(pe,_n):(De=Xt[_e]=Tt[_e](pe)).c(),(0,a.Ui)(De,1),De.m(Ve.parentNode,Ve))},i:function(Rn){ut||((0,a.Ui)(De),ut=!0)},o:function(Rn){(0,a.etI)(De),ut=!1},d:function(Rn){Rn&&(0,a.ogt)(ie),Xt[_e].d(Rn),Rn&&(0,a.ogt)(Ve)}}}function jt(le){var pe,ie,se=le[0]&&mn(le);return{c:function(){se&&se.c(),pe=(0,a.cSb)()},m:function(_e,De){se&&se.m(_e,De),(0,a.$Tr)(_e,pe,De),ie=!0},p:function(_e,De){var Ve=De[0];_e[0]?se?(se.p(_e,Ve),1&Ve&&(0,a.Ui)(se,1)):((se=mn(_e)).c(),(0,a.Ui)(se,1),se.m(pe.parentNode,pe)):se&&((0,a.dvw)(),(0,a.etI)(se,1,1,function(){se=null}),(0,a.gbL)())},i:function(_e){ie||((0,a.Ui)(se),ie=!0)},o:function(_e){(0,a.etI)(se),ie=!1},d:function(_e){se&&se.d(_e),_e&&(0,a.ogt)(pe)}}}function xt(le,pe,ie){var se=pe.log,_e=pe.showTimestamps,De=void 0!==_e&&_e,Ve=pe.groupHeader,ut=void 0===Ve?0:Ve,Tt=(0,E.x)(),Xt="",dn=function(Rn,_n){var cr="000"+Rn;return cr.substring(cr.length-_n)};return(0,E.H3)(function(){to.use()}),(0,E.ev)(function(){to.unuse()}),le.$$set=function(Rn){"log"in Rn&&ie(0,se=Rn.log),"showTimestamps"in Rn&&ie(1,De=Rn.showTimestamps),"groupHeader"in Rn&&ie(2,ut=Rn.groupHeader)},le.$$.update=function(){if(3&le.$$.dirty&&De){var Rn=new Date(se.date);ie(3,Xt=dn(Rn.getHours(),2)+":"+dn(Rn.getMinutes(),2)+":"+dn(Rn.getSeconds(),2)+":"+dn(Rn.getMilliseconds(),3))}},[se,De,ut,Xt,function(Rn){return!(Rn instanceof Lt.Tg)&&(_.kJ(Rn)||_.Kn(Rn))},function(){ut>0&&Tt("groupCollapsed",{groupLabel:se.groupLabel,groupHeader:1===ut?2:1,isGroupCollapsed:1===ut})},function(){var Rn=[];try{for(var _n=0;_n<se.data.length;_n++)_.HD(se.data[_n].origData)||_.hj(se.data[_n].origData)?Rn.push(se.data[_n].origData):Rn.push(_.hZ(se.data[_n].origData,{maxDepth:10,keyMaxLen:1e4,pretty:!1,standardJSON:!0}))}catch{}return Rn.join(" ")}]}var ft=function(le){function pe(ie){var se;return se=le.call(this)||this,(0,a.S1n)((0,o.Z)(se),ie,xt,jt,a.AqN,{log:0,showTimestamps:1,groupHeader:2}),se}return(0,C.Z)(pe,le),(0,ge.Z)(pe,[{key:"log",get:function(){return this.$$.ctx[0]},set:function(ie){this.$$set({log:ie}),(0,a.yl1)()}},{key:"showTimestamps",get:function(){return this.$$.ctx[1]},set:function(ie){this.$$set({showTimestamps:ie}),(0,a.yl1)()}},{key:"groupHeader",get:function(){return this.$$.ctx[2]},set:function(ie){this.$$set({groupHeader:ie}),(0,a.yl1)()}}]),pe}(a.f_C),He=__nested_webpack_require_223763__(3903),Pe=__nested_webpack_require_223763__(3327),Fe={};Pe.Z&&Pe.Z.locals&&(Fe.locals=Pe.Z.locals);var Oe,We=0,_t={};_t.styleTagTransform=k(),_t.setAttributes=p(),_t.insert=g().bind(null,"head"),_t.domAPI=u(),_t.insertStyleElement=R(),Fe.use=function(le){return _t.options=le||{},We++||(Oe=s()(Pe.Z,_t)),Fe},Fe.unuse=function(){We>0&&! --We&&(Oe(),Oe=null)};var en=Fe,gn=__nested_webpack_require_223763__(4264),In=__nested_webpack_require_223763__.n(gn),Zn=function(){function le(ie){console.debug("[vConsole] `ResizeObserver` is not supported in the browser, vConsole cannot render correctly."),ie([{contentRect:{height:30}}],this)}var pe=le.prototype;return pe.disconnect=function(){},pe.observe=function(ie,se){},pe.unobserve=function(ie){},le}(),Er=function(){return"function"==typeof window.ResizeObserver},Yr=function(){return window.ResizeObserver||Zn};function oi(le){var pe,ie,se=le[6].default,_e=(0,a.nuO)(se,le,le[5],null);return{c:function(){pe=(0,a.bGB)("div"),_e&&_e.c(),(0,a.Ljt)(pe,"class","vc-scroller-item"),(0,a.czc)(pe,"display",le[0]?"block":"none",!1),(0,a.czc)(pe,"top",le[3]?le[1]+"px":"auto",!1)},m:function(De,Ve){(0,a.$Tr)(De,pe,Ve),_e&&_e.m(pe,null),le[7](pe),ie=!0},p:function(De,Ve){var ut=Ve[0];_e&&_e.p&&(!ie||32&ut)&&(0,a.kmG)(_e,se,De,De[5],ie?(0,a.u2N)(se,De[5],ut,null):(0,a.VOJ)(De[5]),null),1&ut&&(0,a.czc)(pe,"display",De[0]?"block":"none",!1),2&ut&&(0,a.czc)(pe,"top",De[3]?De[1]+"px":"auto",!1)},i:function(De){ie||((0,a.Ui)(_e,De),ie=!0)},o:function(De){(0,a.etI)(_e,De),ie=!1},d:function(De){De&&(0,a.ogt)(pe),_e&&_e.d(De),le[7](null)}}}function Ar(le,pe,ie){var se,_e=pe.$$slots,De=void 0===_e?{}:_e,Ve=pe.$$scope,ut=pe.show,Tt=void 0===ut?!Er():ut,Xt=pe.top,dn=pe.onResize,Rn=void 0===dn?function(){}:dn,_n=null,cr=Er();return(0,E.H3)(function(){if(Tt&&Rn(se.getBoundingClientRect().height),cr){var Gn=Yr();(_n=new Gn(function(Cr){Tt&&Rn(Cr[0].contentRect.height)})).observe(se)}}),(0,E.ev)(function(){cr&&_n.disconnect()}),le.$$set=function(Gn){"show"in Gn&&ie(0,Tt=Gn.show),"top"in Gn&&ie(1,Xt=Gn.top),"onResize"in Gn&&ie(4,Rn=Gn.onResize),"$$scope"in Gn&&ie(5,Ve=Gn.$$scope)},[Tt,Xt,se,cr,Rn,Ve,De,function(Gn){a.VnY[Gn?"unshift":"push"](function(){ie(2,se=Gn)})}]}var Ki=function(le){function pe(ie){var se;return se=le.call(this)||this,(0,a.S1n)((0,o.Z)(se),ie,Ar,oi,a.N8,{show:0,top:1,onResize:4}),se}return(0,C.Z)(pe,le),(0,ge.Z)(pe,[{key:"show",get:function(){return this.$$.ctx[0]},set:function(ie){this.$$set({show:ie}),(0,a.yl1)()}},{key:"top",get:function(){return this.$$.ctx[1]},set:function(ie){this.$$set({top:ie}),(0,a.yl1)()}},{key:"onResize",get:function(){return this.$$.ctx[4]},set:function(ie){this.$$set({onResize:ie}),(0,a.yl1)()}}]),pe}(a.f_C),Pi=function(){function le(){this._x=0,this._endX=0,this._v=0,this._startTime=0,this._endTime=0}var pe=le.prototype;return pe.set=function(ie,se,_e,De){this._x=ie,this._endX=se,this._v=(se-ie)/_e,this._startTime=De||Date.now(),this._endTime=this._startTime+_e},pe.x=function(ie){return this.done(ie)?this._endX:this._x+this._v*(ie-this._startTime)},pe.dx=function(ie){return this.done(ie)?0:this._v},pe.done=function(ie){return ie>=this._endTime},le}(),io=function(){function le(ie){this._drag=void 0,this._dragLog=void 0,this._x=0,this._v=0,this._startTime=0,this._drag=ie,this._dragLog=Math.log(ie)}var pe=le.prototype;return pe.set=function(ie,se,_e){this._x=ie,this._v=se,this._startTime=_e||Date.now()},pe.x=function(ie){return this._x+this._v*Math.pow(this._drag,(ie-this._startTime)/1e3)/this._dragLog-this._v/this._dragLog},pe.dx=function(ie){return this._v*Math.pow(this._drag,(ie-this._startTime)/1e3)},pe.done=function(ie){return Math.abs(this.dx(ie))<3},le}(),ki=function(le,pe){return le>pe-.1&&le<pe+.1},ko=function(le){return ki(le,0)},Eo=function(){function le(ie,se,_e){this._solver=void 0,this._solution=void 0,this._endPosition=void 0,this._startTime=void 0,this._solver=function(De,Ve,ut){var Tt=ut,Xt=De,dn=Ve,Rn=Tt*Tt-4*Xt*dn;
vendor: 33,395 bytes, line 1
1if(0==Rn){var _n=-Tt/(2*Xt);return function(ti,di){var Si=ti,Gi=di/(_n*ti);return{x:function(Ui){return(Si+Gi*Ui)*Math.pow(Math.E,_n*Ui)},dx:function(Ui){return(_n*(Si+Gi*Ui)+Gi)*Math.pow(Math.E,_n*Ui)}}}}if(Rn>0){var cr=(-Tt-Math.sqrt(Rn))/(2*Xt),Gn=(-Tt+Math.sqrt(Rn))/(2*Xt);return function(ti,di){var Si=(di-cr*ti)/(Gn-cr),Gi=ti-Si;return{x:function(Ui){return Gi*Math.pow(Math.E,cr*Ui)+Si*Math.pow(Math.E,Gn*Ui)},dx:function(Ui){return Gi*cr*Math.pow(Math.E,cr*Ui)+Si*Gn*Math.pow(Math.E,Gn*Ui)}}}}var Cr=Math.sqrt(4*Xt*dn-Tt*Tt)/(2*Xt),wr=-Tt/2*Xt;return function(ti,di){var Si=ti,Gi=(di-wr*ti)/Cr;return{x:function(Ui){return Math.pow(Math.E,wr*Ui)*(Si*Math.cos(Cr*Ui)+Gi*Math.sin(Cr*Ui))},dx:function(Ui){var os=Math.pow(Math.E,wr*Ui),es=Math.cos(Cr*Ui),ms=Math.sin(Cr*Ui);return os*(Gi*Cr*es-Si*Cr*ms)+wr*os*(Gi*ms+Si*es)}}}}(ie,se,_e),this._solution=null,this._endPosition=0,this._startTime=0}var pe=le.prototype;return pe.x=function(ie){return this._solution?this._endPosition+this._solution.x((ie-this._startTime)/1e3):0},pe.dx=function(ie){return this._solution?this._solution.dx((ie-this._startTime)/1e3):0},pe.set=function(ie,se,_e,De){De||(De=Date.now()),this._endPosition=ie,se==ie&&ko(_e)||(this._solution=this._solver(se-ie,_e),this._startTime=De)},pe.done=function(ie){return ie||(ie=Date.now()),ki(this.x(ie),this._endPosition)&&ko(this.dx(ie))},le}(),ji=function(){function le(ie,se){this._enableSpring=se,this._getExtend=void 0,this._friction=new io(.05),this._spring=new Eo(1,90,20),this._toEdge=!1,this._getExtend=ie}var pe=le.prototype;return pe.set=function(ie,se,_e){if(void 0===_e&&(_e=Date.now()),this._friction.set(ie,se,_e),ie>0&&se>=0)this._toEdge=!0,this._enableSpring&&this._spring.set(0,ie,se,_e);else{var De=this._getExtend();ie<-De&&se<=0?(this._toEdge=!0,this._enableSpring&&this._spring.set(-De,ie,se,_e)):this._toEdge=!1}},pe.x=function(ie){if(this._enableSpring&&this._toEdge)return this._spring.x(ie);var se=this._friction.x(ie),_e=this._friction.dx(ie);if(se>0&&_e>=0){if(this._toEdge=!0,!this._enableSpring)return 0;this._spring.set(0,se,_e,ie)}else{var De=this._getExtend();if(se<-De&&_e<=0){if(this._toEdge=!0,!this._enableSpring)return-De;this._spring.set(-De,se,_e,ie)}}return se},pe.dx=function(ie){return this._toEdge?this._enableSpring?this._spring.dx(ie):0:this._friction.dx(ie)},pe.done=function(ie){return this._toEdge?!this._enableSpring||this._spring.done(ie):this._friction.done(ie)},le}();function bs(le,pe){var ie,se;return function _e(){if(!se){var De=Date.now();pe(De),le.done(De)||(ie=requestAnimationFrame(_e))}}(),{cancel:function(){cancelAnimationFrame(ie),se=!0}}}var xo=function(){function le(ie,se){this._updatePosition=se,this._scrollModel=void 0,this._linearModel=void 0,this._startPosition=0,this._position=0,this._animate=null,this._getExtent=void 0,this._getExtent=ie,this._scrollModel=new ji(ie,!1),this._linearModel=new Pi}var pe=le.prototype;return pe.onTouchStart=function(){var ie=this._position;if(ie>0)ie*=0;else{var se=this._getExtent();ie<-se&&(ie=0*(ie+se)-se)}this._startPosition=this._position=ie,this._animate&&(this._animate.cancel(),this._animate=null),this._updatePosition(-ie)},pe.onTouchMove=function(ie,se){var _e=se+this._startPosition;if(_e>0)_e*=0;else{var De=this._getExtent();_e<-De&&(_e=0*(_e+De)-De)}this._position=_e,this._updatePosition(-_e)},pe.onTouchEnd=function(ie,se,_e,De){var Ve=this,ut=se+this._startPosition;if(ut>0)ut*=0;else{var Tt=this._getExtent();ut<-Tt&&(ut=0*(ut+Tt)-Tt)}if(this._position=ut,this._updatePosition(-ut),!(Math.abs(se)<=.1&&Math.abs(De)<=.1)){var Xt=this._scrollModel;Xt.set(ut,De),this._animate=bs(Xt,function(dn){var Rn=Ve._position=Xt.x(dn);Ve._updatePosition(-Rn)})}},pe.onTouchCancel=function(){var ie=this,se=this._position;if(se>0)se*=0;else{var _e=this._getExtent();se<-_e&&(se=0*(se+_e)-_e)}this._position=se;var De=this._scrollModel;De.set(se,0),this._animate=bs(De,function(Ve){var ut=ie._position=De.x(Ve);ie._updatePosition(-ut)})},pe.onWheel=function(ie,se){var _e=this._position-se;if(this._animate&&(this._animate.cancel(),this._animate=null),_e>0)_e=0;else{var De=this._getExtent();_e<-De&&(_e=-De)}this._position=_e,this._updatePosition(-_e)},pe.getPosition=function(){return-this._position},pe.updatePosition=function(ie){var se=-ie-this._position;this._startPosition+=se,this._position+=se;var _e=this._position;this._updatePosition(-_e);var De=this._scrollModel,Ve=Date.now();if(!De.done(Ve)){var ut=De.dx(Ve);De.set(_e,ut,Ve)}},pe.scrollTo=function(ie,se){var _e=this;if(this._animate&&(this._animate.cancel(),this._animate=null),se>0){var De=this._linearModel;De.set(this._position,-ie,se),this._animate=bs(this._linearModel,function(Ve){var ut=_e._position=De.x(Ve);_e._updatePosition(-ut)})}else this._updatePosition(ie)},le}();function $s(le,pe){(null==pe||pe>le.length)&&(pe=le.length);for(var ie=0,se=new Array(pe);ie<pe;ie++)se[ie]=le[ie];return se}var qo=function(le){var pe=null,ie=!1,se=function _e(){ie=!1,le(),pe=requestAnimationFrame(function(){pe=null,ie&&_e()})};return{trigger:function(){null===pe?se():ie=!0},cancel:function(){pe&&(cancelAnimationFrame(pe),ie=!1,pe=null)}}},cs=function(){function le(pe){var ie=this;this._handler=pe,this._touchId=null,this._startX=0,this._startY=0,this._historyX=[],this._historyY=[],this._historyTime=[],this._wheelDeltaX=0,this._wheelDeltaY=0,this._onTouchMove=function(){ie._handler.onTouchMove(ie._historyX[ie._historyX.length-1],ie._historyY[ie._historyY.length-1])},this._onWheel=qo(function(){var se=ie._wheelDeltaX,_e=ie._wheelDeltaY;ie._wheelDeltaX=0,ie._wheelDeltaY=0,ie._handler.onWheel(se,_e)}),this.handleTouchStart=function(se){var _e;if("1"!==(null==(_e=se.target.dataset)?void 0:_e.scrollable)){se.preventDefault();var De=se.touches[0];ie._touchId=De.identifier,ie._startX=De.pageX,ie._startY=De.pageY,ie._historyX=[0],ie._historyY=[0],ie._historyTime=[Date.now()],ie._handler.onTouchStart()}},this.handleTouchMove=function(se){var _e;if("1"!==(null==(_e=se.target.dataset)?void 0:_e.scrollable)){se.preventDefault();var De=ie._getTouchDelta(se);null!==De&&(ie._historyX.push(De.x),ie._historyY.push(De.y),ie._historyTime.push(Date.now()),ie._onTouchMove())}},this.handleTouchEnd=function(se){var _e;if("1"!==(null==(_e=se.target.dataset)?void 0:_e.scrollable)){se.preventDefault();var De=ie._getTouchDelta(se);if(null!==De){for(var Ve=0,ut=0,Tt=Date.now(),Xt=De.y,dn=De.x,Rn=ie._historyTime,_n=Rn.length-1;_n>0;_n-=1){var cr=Tt-Rn[_n];if(cr>30){Ve=1e3*(dn-ie._historyX[_n])/cr,ut=1e3*(Xt-ie._historyY[_n])/cr;break}}ie._touchId=null,ie._handler.onTouchEnd(De.x,De.y,Ve,ut)}}},this.handleTouchCancel=function(se){var _e;"1"!==(null==(_e=se.target.dataset)?void 0:_e.scrollable)&&(se.preventDefault(),null!==ie._getTouchDelta(se)&&(ie._touchId=null,ie._handler.onTouchCancel()))},this.handleWheel=function(se){var _e;"1"!==(null==(_e=se.target.dataset)?void 0:_e.scrollable)&&(se.preventDefault(),ie._wheelDeltaX+=se.deltaX,ie._wheelDeltaY+=se.deltaY,ie._onWheel.trigger())}}return le.prototype._getTouchDelta=function(pe){if(null===this._touchId)return null;for(var ie,se=function So(le,pe){var ie=typeof Symbol<"u"&&le[Symbol.iterator]||le["@@iterator"];if(ie)return(ie=ie.call(le)).next.bind(ie);if(Array.isArray(le)||(ie=function(_e,De){if(_e){if("string"==typeof _e)return $s(_e,void 0);var Ve=Object.prototype.toString.call(_e).slice(8,-1);if("Object"===Ve&&_e.constructor&&(Ve=_e.constructor.name),"Map"===Ve||"Set"===Ve)return Array.from(_e);if("Arguments"===Ve||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ve))return $s(_e,void 0)}}(le))||pe&&le&&"number"==typeof le.length){ie&&(le=ie);var se=0;return function(){return se>=le.length?{done:!0}:{done:!1,value:le[se++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(pe.changedTouches);!(ie=se()).done;){var _e=ie.value;if(_e.identifier===this._touchId)return{x:_e.pageX-this._startX,y:_e.pageY-this._startY}}return null},le}(),ds=__nested_webpack_require_223763__(1142),Ne={};ds.Z&&ds.Z.locals&&(Ne.locals=ds.Z.locals);var Ge,Un=0,xe={};xe.styleTagTransform=k(),xe.setAttributes=p(),xe.insert=g().bind(null,"head"),xe.domAPI=u(),xe.insertStyleElement=R(),Ne.use=function(le){return xe.options=le||{},Un++||(Ge=s()(ds.Z,xe)),Ne},Ne.unuse=function(){Un>0&&! --Un&&(Ge(),Ge=null)};var ht=Ne,qe=a.lig.Map,rn=function(le){return{}},Dn=function(le){return{}},Bi=function(le){return{}},vt=function(le){return{}};function Kt(le,pe,ie){var se=le.slice();return se[53]=pe[ie],se[55]=ie,se}var cn=function(le){return{item:1025&le[0]}},Pn=function(le){return{item:le[0][le[53].index]}},Yn=function(le){return{}},Wn=function(le){return{}};function Ir(le){var pe,ie,se=le[24].header,_e=(0,a.nuO)(se,le,le[31],Wn);return{c:function(){pe=(0,a.bGB)("div"),_e&&_e.c(),(0,a.Ljt)(pe,"class","vc-scroller-header")},m:function(De,Ve){(0,a.$Tr)(De,pe,Ve),_e&&_e.m(pe,null),le[25](pe),ie=!0},p:function(De,Ve){_e&&_e.p&&(!ie||1&Ve[1])&&(0,a.kmG)(_e,se,De,De[31],ie?(0,a.u2N)(se,De[31],Ve,Yn):(0,a.VOJ)(De[31]),Wn)},i:function(De){ie||((0,a.Ui)(_e,De),ie=!0)},o:function(De){(0,a.etI)(_e,De),ie=!1},d:function(De){De&&(0,a.ogt)(pe),_e&&_e.d(De),le[25](null)}}}function Wr(le){var pe,ie=le[24].empty,se=(0,a.nuO)(ie,le,le[31],vt);return{c:function(){se&&se.c()},m:function(_e,De){se&&se.m(_e,De),pe=!0},p:function(_e,De){se&&se.p&&(!pe||1&De[1])&&(0,a.kmG)(se,ie,_e,_e[31],pe?(0,a.u2N)(ie,_e[31],De,Bi):(0,a.VOJ)(_e[31]),vt)},i:function(_e){pe||((0,a.Ui)(se,_e),pe=!0)},o:function(_e){(0,a.etI)(se,_e),pe=!1},d:function(_e){se&&se.d(_e)}}}function Or(le){for(var pe,ie,se=[],_e=new qe,De=le[10],Ve=function(dn){return dn[53].key},ut=0;ut<De.length;ut+=1){var Tt=Kt(le,De,ut),Xt=Ve(Tt);_e.set(Xt,se[ut]=ui(Xt,Tt))}return{c:function(){for(var dn=0;dn<se.length;dn+=1)se[dn].c();pe=(0,a.cSb)()},m:function(dn,Rn){for(var _n=0;_n<se.length;_n+=1)se[_n].m(dn,Rn);(0,a.$Tr)(dn,pe,Rn),ie=!0},p:function(dn,Rn){17921&Rn[0]|1&Rn[1]&&(De=dn[10],(0,a.dvw)(),se=(0,a.GQg)(se,Rn,Ve,1,dn,De,_e,pe.parentNode,a.cly,ui,pe,Kt),(0,a.gbL)())},i:function(dn){if(!ie){for(var Rn=0;Rn<De.length;Rn+=1)(0,a.Ui)(se[Rn]);ie=!0}},o:function(dn){for(var Rn=0;Rn<se.length;Rn+=1)(0,a.etI)(se[Rn]);ie=!1},d:function(dn){for(var Rn=0;Rn<se.length;Rn+=1)se[Rn].d(dn);dn&&(0,a.ogt)(pe)}}}function Hr(le){var pe,ie,se=le[24].item,_e=(0,a.nuO)(se,le,le[31],Pn),De=_e||function(Ve){var ut;return{c:function(){ut=(0,a.fLW)("Missing template")},m:function(Tt,Xt){(0,a.$Tr)(Tt,ut,Xt)},d:function(Tt){Tt&&(0,a.ogt)(ut)}}}();return{c:function(){De&&De.c(),pe=(0,a.DhX)()},m:function(Ve,ut){De&&De.m(Ve,ut),(0,a.$Tr)(Ve,pe,ut),ie=!0},p:function(Ve,ut){_e&&_e.p&&(!ie||1025&ut[0]|1&ut[1])&&(0,a.kmG)(_e,se,Ve,Ve[31],ie?(0,a.u2N)(se,Ve[31],ut,cn):(0,a.VOJ)(Ve[31]),Pn)},i:function(Ve){ie||((0,a.Ui)(De,Ve),ie=!0)},o:function(Ve){(0,a.etI)(De,Ve),ie=!1},d:function(Ve){De&&De.d(Ve),Ve&&(0,a.ogt)(pe)}}}function ui(le,pe){var ie,se,_e;function De(){for(var Ve,ut=arguments.length,Tt=new Array(ut),Xt=0;Xt<ut;Xt++)Tt[Xt]=arguments[Xt];return(Ve=pe)[26].apply(Ve,[pe[53]].concat(Tt))}return se=new Ki({props:{show:pe[53].show,top:pe[9][pe[53].index],onResize:De,$$slots:{default:[Hr]},$$scope:{ctx:pe}}}),{key:le,first:null,c:function(){ie=(0,a.cSb)(),(0,a.YCL)(se.$$.fragment),this.first=ie},m:function(Ve,ut){(0,a.$Tr)(Ve,ie,ut),(0,a.yef)(se,Ve,ut),_e=!0},p:function(Ve,ut){pe=Ve;var Tt={};1024&ut[0]&&(Tt.show=pe[53].show),1536&ut[0]&&(Tt.top=pe[9][pe[53].index]),1024&ut[0]&&(Tt.onResize=De),1025&ut[0]|1&ut[1]&&(Tt.$$scope={dirty:ut,ctx:pe}),se.$set(Tt)},i:function(Ve){_e||((0,a.Ui)(se.$$.fragment,Ve),_e=!0)},o:function(Ve){(0,a.etI)(se.$$.fragment,Ve),_e=!1},d:function(Ve){Ve&&(0,a.ogt)(ie),(0,a.vpE)(se,Ve)}}}function Ci(le){var pe,ie,se=le[24].footer,_e=(0,a.nuO)(se,le,le[31],Dn);return{c:function(){pe=(0,a.bGB)("div"),_e&&_e.c(),(0,a.Ljt)(pe,"class","vc-scroller-footer")},m:function(De,Ve){(0,a.$Tr)(De,pe,Ve),_e&&_e.m(pe,null),le[28](pe),ie=!0},p:function(De,Ve){_e&&_e.p&&(!ie||1&Ve[1])&&(0,a.kmG)(_e,se,De,De[31],ie?(0,a.u2N)(se,De[31],Ve,rn):(0,a.VOJ)(De[31]),Dn)},i:function(De){ie||((0,a.Ui)(_e,De),ie=!0)},o:function(De){(0,a.etI)(_e,De),ie=!1},d:function(De){De&&(0,a.ogt)(pe),_e&&_e.d(De),le[28](null)}}}function pi(le){var pe,ie,se=le[7]+"%",_e=le[8]+"%";return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.bGB)("div"),(0,a.Ljt)(ie,"class","vc-scroller-scrollbar-thumb"),(0,a.czc)(ie,"height",se,!1),(0,a.czc)(ie,"top",_e,!1),(0,a.Ljt)(pe,"class","vc-scroller-scrollbar-track"),(0,a.czc)(pe,"display",le[7]<100?"block":"none",!1)},m:function(De,Ve){(0,a.$Tr)(De,pe,Ve),(0,a.R3I)(pe,ie)},p:function(De,Ve){128&Ve[0]&&se!==(se=De[7]+"%")&&(0,a.czc)(ie,"height",se,!1),256&Ve[0]&&_e!==(_e=De[8]+"%")&&(0,a.czc)(ie,"top",_e,!1),128&Ve[0]&&(0,a.czc)(pe,"display",De[7]<100?"block":"none",!1)},d:function(De){De&&(0,a.ogt)(pe)}}}function Fi(le){var pe,ie,se,_e,De,Ve,ut,Tt,Xt,dn,Rn,_n=le[15].header&&Ir(le),cr=[Or,Wr],Gn=[];function Cr(di,Si){return di[0].length?0:1}De=Cr(le),Ve=Gn[De]=cr[De](le);var wr=le[15].footer&&Ci(le),ti=le[1]&&pi(le);return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.bGB)("div"),_n&&_n.c(),se=(0,a.DhX)(),_e=(0,a.bGB)("div"),Ve.c(),ut=(0,a.DhX)(),wr&&wr.c(),Tt=(0,a.DhX)(),ti&&ti.c(),(0,a.Ljt)(_e,"class","vc-scroller-items"),(0,a.Ljt)(ie,"class","vc-scroller-contents"),(0,a.Ljt)(pe,"class","vc-scroller-viewport"),(0,a.VHj)(pe,"static",!le[13])},m:function(di,Si){(0,a.$Tr)(di,pe,Si),(0,a.R3I)(pe,ie),_n&&_n.m(ie,null),(0,a.R3I)(ie,se),(0,a.R3I)(ie,_e),Gn[De].m(_e,null),le[27](_e),(0,a.R3I)(ie,ut),wr&&wr.m(ie,null),le[29](ie),(0,a.R3I)(pe,Tt),ti&&ti.m(pe,null),le[30](pe),Xt=!0,dn||(Rn=[(0,a.oLt)(pe,"touchstart",function(){(0,a.sBU)(le[13]?le[11].handleTouchStart:le[12])&&(le[13]?le[11].handleTouchStart:le[12]).apply(this,arguments)}),(0,a.oLt)(pe,"touchmove",function(){(0,a.sBU)(le[13]?le[11].handleTouchMove:le[12])&&(le[13]?le[11].handleTouchMove:le[12]).apply(this,arguments)}),(0,a.oLt)(pe,"touchend",function(){(0,a.sBU)(le[13]?le[11].handleTouchEnd:le[12])&&(le[13]?le[11].handleTouchEnd:le[12]).apply(this,arguments)}),(0,a.oLt)(pe,"touchcancel",function(){(0,a.sBU)(le[13]?le[11].handleTouchCancel:le[12])&&(le[13]?le[11].handleTouchCancel:le[12]).apply(this,arguments)}),(0,a.oLt)(pe,"wheel",function(){(0,a.sBU)(le[13]?le[11].handleWheel:le[12])&&(le[13]?le[11].handleWheel:le[12]).apply(this,arguments)})],dn=!0)},p:function(di,Si){(le=di)[15].header?_n?(_n.p(le,Si),32768&Si[0]&&(0,a.Ui)(_n,1)):((_n=Ir(le)).c(),(0,a.Ui)(_n,1),_n.m(ie,se)):_n&&((0,a.dvw)(),(0,a.etI)(_n,1,1,function(){_n=null}),(0,a.gbL)());var Gi=De;(De=Cr(le))===Gi?Gn[De].p(le,Si):((0,a.dvw)(),(0,a.etI)(Gn[Gi],1,1,function(){Gn[Gi]=null}),(0,a.gbL)(),(Ve=Gn[De])?Ve.p(le,Si):(Ve=Gn[De]=cr[De](le)).c(),(0,a.Ui)(Ve,1),Ve.m(_e,null)),le[15].footer?wr?(wr.p(le,Si),32768&Si[0]&&(0,a.Ui)(wr,1)):((wr=Ci(le)).c(),(0,a.Ui)(wr,1),wr.m(ie,null)):wr&&((0,a.dvw)(),(0,a.etI)(wr,1,1,function(){wr=null}),(0,a.gbL)()),le[1]?ti?ti.p(le,Si):((ti=pi(le)).c(),ti.m(pe,null)):ti&&(ti.d(1),ti=null)},i:function(di){Xt||((0,a.Ui)(_n),(0,a.Ui)(Ve),(0,a.Ui)(wr),Xt=!0)},o:function(di){(0,a.etI)(_n),(0,a.etI)(Ve),(0,a.etI)(wr),Xt=!1},d:function(di){di&&(0,a.ogt)(pe),_n&&_n.d(),Gn[De].d(),le[27](null),wr&&wr.d(),le[29](null),ti&&ti.d(),le[30](null),dn=!1,(0,a.j7q)(Rn)}}}function yo(le,pe,ie){var se,_e,De,Ve,ut,Tt,Xt,dn=pe.$$slots,Rn=void 0===dn?{}:dn,_n=pe.$$scope,cr=(0,a.XGm)(Rn),Gn=this&&this.__awaiter||function(Ri,$o,Oo,ts){return new(Oo||(Oo=Promise))(function(js,zi){function Ya(va){try{gs(ts.next(va))}catch(ea){zi(ea)}}function ja(va){try{gs(ts.throw(va))}catch(ea){zi(ea)}}function gs(va){var ea;va.done?js(va.value):(ea=va.value,ea instanceof Oo?ea:new Oo(function(Ua){Ua(ea)})).then(Ya,ja)}gs((ts=ts.apply(Ri,$o||[])).next())})},Cr=pe.items,wr=pe.itemKey,ti=void 0===wr?void 0:wr,di=pe.itemHeight,Si=void 0===di?void 0:di,Gi=pe.buffer,Ui=void 0===Gi?200:Gi,os=pe.stickToBottom,es=void 0!==os&&os,ms=pe.scrollbar,Zi=void 0!==ms&&ms,Wi=pe.start,Fs=void 0===Wi?0:Wi,Ba=pe.end,Ae=void 0===Ba?0:Ba,je=0,Je=0,Me=0,Qe=0,Ht=100,Bt=0,Mn=[],Dr=[],zn=[],Jr=function(){var le=[],pe=[],ie=0,se=0,_e=0,De=0,Ve=0;return function(ut,Tt,Xt){if(_e===ut&&De===Tt&&Ve===Xt)return le;var dn=pe.length,Rn=Tt<=se?Math.max(0,Math.min(Tt,Math.max(ie,Math.min(se-1,Xt-dn)))):Tt,_n=ie<=Xt?Math.max(Xt,Math.min(ut,Math.max(ie+1,Math.min(se,Rn+dn)))):Xt;if(0===dn||_n-Rn<dn){for(var cr=le.length=pe.length=Xt-Tt,Gn=0;Gn<cr;Gn+=1)pe[Gn]=Gn,le[Gn]={key:Gn,index:Gn+Tt,show:!0};return ie=Tt,se=Xt,_e=ut,De=Tt,Ve=Xt,le}var Cr=0,wr=0,ti=0,di=0;se<Rn||_n<ie?(ti=Rn,di=Rn+dn):ie<Rn?(wr=Rn-ie,ti=Rn,di=Rn+dn):_n<se?(wr=dn-(se-_n),ti=_n-dn,di=_n):Rn<=ie&&se<=_n&&(ti=ie,di=se);for(var Si=Rn;Si<Tt;Si+=1,Cr+=1){var Ui=le[Si-Rn];Ui.key=pe[(wr+Cr)%dn],Ui.index=Si,Ui.show=!1}for(var os=Tt,es=0;os<Xt;os+=1){var ms=void 0;ti<=os&&os<di?(ms=pe[(wr+Cr)%dn],Cr+=1):(ms=dn+es,es+=1);var Zi=os-Rn;if(Zi<le.length){var Wi=le[Zi];Wi.key=ms,Wi.index=os,Wi.show=!0}else le.push({key:ms,index:os,show:!0})}for(var Fs=Xt;Fs<_n;Fs+=1,Cr+=1){var Ae=le[Fs-Rn];Ae.key=pe[(wr+Cr)%dn],Ae.index=Fs,Ae.show=!1}for(var je=0;je<le.length;je+=1)pe[je]=le[je].key;return le.sort(function(Je,Me){return Je.key-Me.key}),ie=Rn,se=_n,_e=ut,De=Tt,Ve=Xt,le}}(),Ni=function(){return Math.max(0,Qe+je+Je-Me)},To=!0,Ao=!1,Lo=[],la=!1,Rs=!1,Fa=Er(),ks=function(Ri,$o){var Oo;(0,E.H3)(function(){var ts=Ri();if(ts){$o(ts.getBoundingClientRect().height),Oo&&Oo.disconnect();var js=Yr();(Oo=new js(function(zi){$o(zi[0].contentRect.height)})).observe(ts)}else $o(0),Oo&&(Oo.disconnect(),Oo=null)}),(0,E.ev)(function(){Oo&&(Oo.disconnect(),Oo=null)})},xs=function(){var Ri=Tt.getPosition(),$o=100/(Qe+je+Je);ie(8,Bt=Ri*$o),ie(7,Ht=Me*$o)},Sa=function(Ri){var $o=Ni();(Ri||Tt.getPosition()>$o)&&Tt.updatePosition($o)},rl=function(Ri){!function($o,Oo,ts){for(var js=new Map,zi=0;zi<Lo.length;zi+=1){var Ya=Lo[zi];js.set(void 0===ti?Ya:Ya[ti],Mn[zi])}ie(9,Dr.length=Mn.length=$o.length,Dr);for(var gs=0,va=0;va<$o.length;va+=1){var ea=$o[va],Ua=void 0===ti?ea:ea[ti];Mn[va]=js.has(Ua)?js.get(Ua):ts,ie(9,Dr[va]=gs,Dr),gs+=Mn[va]}Qe=Math.max(gs,Oo-je-Je),Lo=$o,Fa?(Ll($o,Tt.getPosition(),Oo),ie(6,ut.style.height=Qe+"px",ut),Sa(To&&es),xs()):Ll($o,0,9e6)}(Ri,Me,Si)};function Ll(Ri,$o,Oo){for(var ts=0,js=0;ts<Ri.length&&js+Mn[ts]<$o-Ui;)js+=Mn[ts],ts+=1;for(ie(16,Fs=ts);ts<Ri.length&&Oo&&js<$o+Oo+Ui;)js+=Mn[ts],ts+=1;ie(17,Ae=ts),ie(10,zn=Jr(Ri.length,Fs,Ae))}var Zl=function(Ri,$o){return Gn(void 0,void 0,void 0,In().mark(function Oo(){var ts,js,zi,Ya;return In().wrap(function(ja){for(;;)switch(ja.prev=ja.next){case 0:if(Mn[Ri]!==$o&&0!==Me){ja.next=2;break}return ja.abrupt("return");case 2:for(ts=Mn[Ri],Mn[Ri]=$o,js=Cr.length,zi=Ri;zi<js-1;zi+=1)ie(9,Dr[zi+1]=Dr[zi]+Mn[zi],Dr);return Qe=Math.max(Dr[js-1]+Mn[js-1],Me-je-Je),Ya=Tt.getPosition(),Ao=!0,Dr[Ri]+ts<Ya?Tt.updatePosition(Ya+$o-ts):Sa(To&&es),ja.next=12,new Promise(function(gs){return setTimeout(gs,0)});case 12:Ll(Cr,Tt.getPosition(),Me),ie(6,ut.style.height=Qe+"px",ut),xs();case 15:case"end":return ja.stop()}},Oo)}))};(0,E.H3)(function(){ie(23,la=!0),ht.use()}),(0,E.ev)(function(){ht.unuse()}),Fa&&(Fa&&(Tt=Tt||new xo(Ni,function(Ri){return Gn(void 0,void 0,void 0,In().mark(function $o(){var Oo;return In().wrap(function(ts){for(;;)switch(ts.prev=ts.next){case 0:if(Oo=Ni(),To=Math.abs(Ri-Oo)<=1,ie(5,Ve.style.transform="translateY("+-Ri+"px) translateZ(0)",Ve),xs(),!Ao){ts.next=8;break}Ao=!1,ts.next=11;break;case 8:return ts.next=10,new Promise(function(js){return setTimeout(js,0)});case 10:Ll(Cr,Ri,Me);case 11:case"end":return ts.stop()}},$o)}))}),ie(11,Xt=Xt||new cs(Tt))),!Rs&&Fa&&(ks(function(){return De},function(Ri){return Gn(void 0,void 0,void 0,In().mark(function $o(){var Oo,ts;return In().wrap(function(js){for(;;)switch(js.prev=js.next){case 0:if(Me!==Ri){js.next=2;break}return js.abrupt("return");case 2:for(Me=Ri,Oo=0,ts=0;ts<Cr.length;ts+=1)Oo+=Mn[ts];return Qe=Math.max(Oo,Me-Je),ie(6,ut.style.height=Qe+"px",ut),js.next=9,new Promise(function(zi){return setTimeout(zi,0)});case 9:rl(Cr),Ll(Cr,Tt.getPosition(),Me),0!==Me&&Sa(To&&es),xs();case 13:case"end":return js.stop()}},$o)}))}),ks(function(){return _e},function(Ri){if(Je!==Ri){Je=Ri;for(var $o=0,Oo=0;Oo<Cr.length;Oo+=1)$o+=Mn[Oo];Qe=Math.max($o,Me-je-Je),ie(6,ut.style.height=Qe+"px",ut),0!==Me&&Sa(To&&es),xs()}}),ks(function(){return se},function(Ri){je!==Ri&&(je=Ri,rl(Cr),xs())})));var Ra={scrollTo:function(Ri){if(Fa){var $o=Dr[Math.max(0,Math.min(Cr.length-1,Ri))],Oo=Math.min(Ni(),$o),ts=Math.min(Math.floor(500*Math.abs(Tt.getPosition()-Oo)/2e3),500);Tt.scrollTo(Oo,ts)}}};return le.$$set=function(Ri){"items"in Ri&&ie(0,Cr=Ri.items),"itemKey"in Ri&&ie(18,ti=Ri.itemKey),"itemHeight"in Ri&&ie(19,Si=Ri.itemHeight),"buffer"in Ri&&ie(20,Ui=Ri.buffer),"stickToBottom"in Ri&&ie(21,es=Ri.stickToBottom),"scrollbar"in Ri&&ie(1,Zi=Ri.scrollbar),"start"in Ri&&ie(16,Fs=Ri.start),"end"in Ri&&ie(17,Ae=Ri.end),"$$scope"in Ri&&ie(31,_n=Ri.$$scope)},le.$$.update=function(){8388609&le.$$.dirty[0]&&la&&(Fa||ie(4,De.parentElement.style.height="auto",De),rl(Cr),Rs=!0)},[Cr,Zi,se,_e,De,Ve,ut,Ht,Bt,Dr,zn,Xt,function(){},Fa,Zl,cr,Fs,Ae,ti,Si,Ui,es,Ra,la,Rn,function(Ri){a.VnY[Ri?"unshift":"push"](function(){ie(2,se=Ri)})},function(Ri,$o){return Zl(Ri.index,$o)},function(Ri){a.VnY[Ri?"unshift":"push"](function(){ie(6,ut=Ri)})},function(Ri){a.VnY[Ri?"unshift":"push"](function(){ie(3,_e=Ri)})},function(Ri){a.VnY[Ri?"unshift":"push"](function(){ie(5,Ve=Ri)})},function(Ri){a.VnY[Ri?"unshift":"push"](function(){ie(4,De=Ri),ie(23,la),ie(13,Fa),ie(0,Cr)})},_n]}var xi=function(le){function pe(ie){var se;return se=le.call(this)||this,(0,a.S1n)((0,o.Z)(se),ie,yo,Fi,a.N8,{items:0,itemKey:18,itemHeight:19,buffer:20,stickToBottom:21,scrollbar:1,start:16,end:17,handler:22},null,[-1,-1]),se}return(0,C.Z)(pe,le),(0,ge.Z)(pe,[{key:"items",get:function(){return this.$$.ctx[0]},set:function(ie){this.$$set({items:ie}),(0,a.yl1)()}},{key:"itemKey",get:function(){return this.$$.ctx[18]},set:function(ie){this.$$set({itemKey:ie}),(0,a.yl1)()}},{key:"itemHeight",get:function(){return this.$$.ctx[19]},set:function(ie){this.$$set({itemHeight:ie}),(0,a.yl1)()}},{key:"buffer",get:function(){return this.$$.ctx[20]},set:function(ie){this.$$set({buffer:ie}),(0,a.yl1)()}},{key:"stickToBottom",get:function(){return this.$$.ctx[21]},set:function(ie){this.$$set({stickToBottom:ie}),(0,a.yl1)()}},{key:"scrollbar",get:function(){return this.$$.ctx[1]},set:function(ie){this.$$set({scrollbar:ie}),(0,a.yl1)()}},{key:"start",get:function(){return this.$$.ctx[16]},set:function(ie){this.$$set({start:ie}),(0,a.yl1)()}},{key:"end",get:function(){return this.$$.ctx[17]},set:function(ie){this.$$set({end:ie}),(0,a.yl1)()}},{key:"handler",get:function(){return this.$$.ctx[22]}}]),pe}(a.f_C);function as(le){var pe;return{c:function(){(pe=(0,a.bGB)("div")).textContent="Empty",(0,a.Ljt)(pe,"slot","empty"),(0,a.Ljt)(pe,"class","vc-plugin-empty")},m:function(ie,se){(0,a.$Tr)(ie,pe,se)},p:a.ZTd,d:function(ie){ie&&(0,a.ogt)(pe)}}}function Ts(le){var pe,ie;return(pe=new ft({props:{slot:"item",log:le[16],showTimestamps:le[1],groupHeader:le[16].groupHeader}})).$on("groupCollapsed",le[6]),{c:function(){(0,a.YCL)(pe.$$.fragment)},m:function(se,_e){(0,a.yef)(pe,se,_e),ie=!0},p:function(se,_e){var De={};65536&_e&&(De.log=se[16]),2&_e&&(De.showTimestamps=se[1]),65536&_e&&(De.groupHeader=se[16].groupHeader),pe.$set(De)},i:function(se){ie||((0,a.Ui)(pe.$$.fragment,se),ie=!0)},o:function(se){(0,a.etI)(pe.$$.fragment,se),ie=!1},d:function(se){(0,a.vpE)(pe,se)}}}function As(le){var pe,ie;return(pe=new He.Z({})).$on("filterText",le[5]),{c:function(){(0,a.YCL)(pe.$$.fragment)},m:function(se,_e){(0,a.yef)(pe,se,_e),ie=!0},p:a.ZTd,i:function(se){ie||((0,a.Ui)(pe.$$.fragment,se),ie=!0)},o:function(se){(0,a.etI)(pe.$$.fragment,se),ie=!1},d:function(se){(0,a.vpE)(pe,se)}}}function No(le){var pe,ie,se=le[0]&&As(le);return{c:function(){se&&se.c(),pe=(0,a.cSb)()},m:function(_e,De){se&&se.m(_e,De),(0,a.$Tr)(_e,pe,De),ie=!0},p:function(_e,De){_e[0]?se?(se.p(_e,De),1&De&&(0,a.Ui)(se,1)):((se=As(_e)).c(),(0,a.Ui)(se,1),se.m(pe.parentNode,pe)):se&&((0,a.dvw)(),(0,a.etI)(se,1,1,function(){se=null}),(0,a.gbL)())},i:function(_e){ie||((0,a.Ui)(se),ie=!0)},o:function(_e){(0,a.etI)(se),ie=!1},d:function(_e){se&&se.d(_e),_e&&(0,a.ogt)(pe)}}}function ma(le){var pe,ie,se,_e;function De(ut){le[15](ut)}var Ve={items:le[4],itemKey:"_id",itemHeight:30,buffer:100,stickToBottom:!0,scrollbar:!0,$$slots:{footer:[No],item:[Ts,function(ut){return{16:ut.item}},function(ut){return ut.item?65536:0}],empty:[as]},$$scope:{ctx:le}};return void 0!==le[3]&&(Ve.handler=le[3]),ie=new xi({props:Ve}),a.VnY.push(function(){return(0,a.akz)(ie,"handler",De)}),{c:function(){pe=(0,a.bGB)("div"),(0,a.YCL)(ie.$$.fragment),(0,a.Ljt)(pe,"class","vc-plugin-content"),(0,a.VHj)(pe,"vc-logs-has-cmd",le[0])},m:function(ut,Tt){(0,a.$Tr)(ut,pe,Tt),(0,a.yef)(ie,pe,null),_e=!0},p:function(ut,Tt){var Xt=Tt[0],dn={};16&Xt&&(dn.items=ut[4]),196611&Xt&&(dn.$$scope={dirty:Xt,ctx:ut}),!se&&8&Xt&&(se=!0,dn.handler=ut[3],(0,a.hjT)(function(){return se=!1})),ie.$set(dn),1&Xt&&(0,a.VHj)(pe,"vc-logs-has-cmd",ut[0])},i:function(ut){_e||((0,a.Ui)(ie.$$.fragment,ut),_e=!0)},o:function(ut){(0,a.etI)(ie.$$.fragment,ut),_e=!1},d:function(ut){ut&&(0,a.ogt)(pe),(0,a.vpE)(ie)}}}function us(le,pe,ie){var se,_e=a.ZTd;le.$$.on_destroy.push(function(){return _e()});var De,Ve,ut=pe.pluginId,Tt=void 0===ut?"default":ut,Xt=pe.showCmd,dn=void 0!==Xt&&Xt,Rn=pe.filterType,_n=void 0===Rn?"all":Rn,cr=pe.showTimestamps,Gn=void 0!==cr&&cr,Cr=!1,wr="",ti=[];return(0,E.H3)(function(){en.use()}),(0,E.ev)(function(){en.unuse()}),le.$$set=function(di){"pluginId"in di&&ie(7,Tt=di.pluginId),"showCmd"in di&&ie(0,dn=di.showCmd),"filterType"in di&&ie(8,_n=di.filterType),"showTimestamps"in di&&ie(1,Gn=di.showTimestamps)},le.$$.update=function(){29056&le.$$.dirty&&(Cr||(ie(2,De=$n.O.get(Tt)),_e(),_e=(0,a.LdU)(De,function(di){return ie(14,se=di)}),ie(12,Cr=!0)),ie(4,ti=se.logList.filter(function(di){return("all"===_n||_n===di.type)&&(""===wr||(0,Lt.HX)(di,wr))&&!di.groupCollapsed})))},[dn,Gn,De,Ve,ti,function(di){ie(13,wr=di.detail.filterText||"")},function(di){var Si=di.detail.groupLabel,Gi=di.detail.groupHeader,Ui=di.detail.isGroupCollapsed;De.update(function(os){return os.logList.forEach(function(es){es.groupLabel===Si&&(es.groupHeader>0?es.groupHeader=Gi:es.groupCollapsed=Ui)}),os})},Tt,_n,function(){Ve.scrollTo(0)},function(){Ve.scrollTo(ti.length-1)},{fixedHeight:!0},Cr,wr,se,function(di){ie(3,Ve=di)}]}var oa=function(le){function pe(ie){var se;return se=le.call(this)||this,(0,a.S1n)((0,o.Z)(se),ie,us,ma,a.N8,{pluginId:7,showCmd:0,filterType:8,showTimestamps:1,scrollToTop:9,scrollToBottom:10,options:11}),se}return(0,C.Z)(pe,le),(0,ge.Z)(pe,[{key:"pluginId",get:function(){return this.$$.ctx[7]},set:function(ie){this.$$set({pluginId:ie}),(0,a.yl1)()}},{key:"showCmd",get:function(){return this.$$.ctx[0]},set:function(ie){this.$$set({showCmd:ie}),(0,a.yl1)()}},{key:"filterType",get:function(){return this.$$.ctx[8]},set:function(ie){this.$$set({filterType:ie}),(0,a.yl1)()}},{key:"showTimestamps",get:function(){return this.$$.ctx[1]},set:function(ie){this.$$set({showTimestamps:ie}),(0,a.yl1)()}},{key:"scrollToTop",get:function(){return this.$$.ctx[9]}},{key:"scrollToBottom",get:function(){return this.$$.ctx[10]}},{key:"options",get:function(){return this.$$.ctx[11]}}]),pe}(a.f_C),Uo=__nested_webpack_require_223763__(5629),ua=function(){function le(pe){this.model=void 0,this.pluginId=void 0,this.pluginId=pe}return le.prototype.destroy=function(){this.model=void 0},le}(),ta=function(le){function pe(){for(var se,_e=arguments.length,De=new Array(_e),Ve=0;Ve<_e;Ve++)De[Ve]=arguments[Ve];return(se=le.call.apply(le,[this].concat(De))||this).model=Uo.W.getSingleton(Uo.W,"VConsoleLogModel"),se}(0,C.Z)(pe,le);var ie=pe.prototype;return ie.log=function(){for(var se=arguments.length,_e=new Array(se),De=0;De<se;De++)_e[De]=arguments[De];this.addLog.apply(this,["log"].concat(_e))},ie.info=function(){for(var se=arguments.length,_e=new Array(se),De=0;De<se;De++)_e[De]=arguments[De];this.addLog.apply(this,["info"].concat(_e))},ie.debug=function(){for(var se=arguments.length,_e=new Array(se),De=0;De<se;De++)_e[De]=arguments[De];this.addLog.apply(this,["debug"].concat(_e))},ie.warn=function(){for(var se=arguments.length,_e=new Array(se),De=0;De<se;De++)_e[De]=arguments[De];this.addLog.apply(this,["warn"].concat(_e))},ie.error=function(){for(var se=arguments.length,_e=new Array(se),De=0;De<se;De++)_e[De]=arguments[De];this.addLog.apply(this,["error"].concat(_e))},ie.clear=function(){this.model&&this.model.clearPluginLog(this.pluginId)},ie.addLog=function(se){if(this.model){for(var _e=arguments.length,De=new Array(_e>1?_e-1:0),Ve=1;Ve<_e;Ve++)De[Ve-1]=arguments[Ve];De.unshift("["+this.pluginId+"]"),this.model.addLog({type:se,origData:De},{noOrig:!0})}},pe}(ua),wo=function(le){function pe(se,_e){var De;return(De=le.call(this,se,_e,oa,{pluginId:se,filterType:"all"})||this).model=Uo.W.getSingleton(Uo.W,"VConsoleLogModel"),De.isReady=!1,De.isShow=!1,De.isInBottom=!0,De.model.bindPlugin(se),De.exporter=new ta(se),De}(0,C.Z)(pe,le);var ie=pe.prototype;return ie.onReady=function(){var se,_e;le.prototype.onReady.call(this),this.model.maxLogNumber=Number(null==(se=this.vConsole.option.log)?void 0:se.maxLogNumber)||1e3,this.compInstance.showTimestamps=!(null==(_e=this.vConsole.option.log)||!_e.showTimestamps)},ie.onRemove=function(){le.prototype.onRemove.call(this),this.model.unbindPlugin(this.id)},ie.onAddTopBar=function(se){for(var _e=this,De=["All","Log","Info","Warn","Error"],Ve=[],ut=0;ut<De.length;ut++)Ve.push({name:De[ut],data:{type:De[ut].toLowerCase()},actived:0===ut,className:"",onClick:function(Tt,Xt){if(Xt.type===_e.compInstance.filterType)return!1;_e.compInstance.filterType=Xt.type}});Ve[0].className="vc-actived",se(Ve)},ie.onAddTool=function(se){var _e=this;se([{name:"Clear",global:!1,onClick:function(De){_e.model.clearPluginLog(_e.id),_e.vConsole.triggerEvent("clearLog")}},{name:"Top",global:!1,onClick:function(De){_e.compInstance.scrollToTop()}},{name:"Bottom",global:!1,onClick:function(De){_e.compInstance.scrollToBottom()}}])},ie.onUpdateOption=function(){var se,_e,De,Ve;(null==(se=this.vConsole.option.log)?void 0:se.maxLogNumber)!==this.model.maxLogNumber&&(this.model.maxLogNumber=Number(null==(De=this.vConsole.option.log)?void 0:De.maxLogNumber)||1e3),!(null==(_e=this.vConsole.option.log)||!_e.showTimestamps)!==this.compInstance.showTimestamps&&(this.compInstance.showTimestamps=!(null==(Ve=this.vConsole.option.log)||!Ve.showTimestamps))},pe}(Vt),Ia=function(le){function pe(){for(var se,_e=arguments.length,De=new Array(_e),Ve=0;Ve<_e;Ve++)De[Ve]=arguments[Ve];return(se=le.call.apply(le,[this].concat(De))||this).onErrorHandler=void 0,se.resourceErrorHandler=void 0,se.rejectionHandler=void 0,se}(0,C.Z)(pe,le);var ie=pe.prototype;return ie.onReady=function(){le.prototype.onReady.call(this),this.bindErrors(),this.compInstance.showCmd=!0},ie.onRemove=function(){le.prototype.onRemove.call(this),this.unbindErrors()},ie.bindErrors=function(){_.FJ(window)&&_.mf(window.addEventListener)&&(this.catchWindowOnError(),this.catchResourceError(),this.catchUnhandledRejection())},ie.unbindErrors=function(){_.FJ(window)&&_.mf(window.addEventListener)&&(window.removeEventListener("error",this.onErrorHandler),window.removeEventListener("error",this.resourceErrorHandler),window.removeEventListener("unhandledrejection",this.rejectionHandler))},ie.catchWindowOnError=function(){var se=this;this.onErrorHandler=this.onErrorHandler?this.onErrorHandler:function(_e){var De=_e.message;_e.filename&&(De+="\\n\\t"+_e.filename.replace(location.origin,""),(_e.lineno||_e.colno)&&(De+=":"+_e.lineno+":"+_e.colno)),De+="\\n"+(!!_e.error&&!!_e.error.stack&&_e.error.stack.toString()||""),se.model.addLog({type:"error",origData:[De]},{noOrig:!0})},window.removeEventListener("error",this.onErrorHandler),window.addEventListener("error",this.onErrorHandler)},ie.catchResourceError=function(){var se=this;this.resourceErrorHandler=this.resourceErrorHandler?this.resourceErrorHandler:function(_e){var De=_e.target;["link","video","script","img","audio"].indexOf(De.localName)>-1&&se.model.addLog({type:"error",origData:["GET <"+De.localName+"> error: "+(De.href||De.src||De.currentSrc)]},{noOrig:!0})},window.removeEventListener("error",this.resourceErrorHandler),window.addEventListener("error",this.resourceErrorHandler,!0)},ie.catchUnhandledRejection=function(){var se=this;this.rejectionHandler=this.rejectionHandler?this.rejectionHandler:function(_e){var De=_e&&_e.reason,Ve="Uncaught (in promise) ",ut=[Ve,De];De instanceof Error&&(ut=[Ve,{name:De.name,message:De.message,stack:De.stack}]),se.model.addLog({type:"error",origData:ut},{noOrig:!0})},window.removeEventListener("unhandledrejection",this.rejectionHandler),window.addEventListener("unhandledrejection",this.rejectionHandler)},pe}(wo),Us=function(le){function pe(){return le.apply(this,arguments)||this}(0,C.Z)(pe,le);var ie=pe.prototype;return ie.onReady=function(){le.prototype.onReady.call(this),this.printSystemInfo()},ie.printSystemInfo=function(){var se=navigator.userAgent,_e=[],De=se.match(/MicroMessenger\/([\d\.]+)/i),Ve=De&&De[1]?De[1]:null;"servicewechat.com"===location.host||console.info("[system]","Location:",location.href);
1var ut=se.match(/(ipod).*\s([\d_]+)/i),Tt=se.match(/(ipad).*\s([\d_]+)/i),Xt=se.match(/(iphone)\sos\s([\d_]+)/i),dn=se.match(/(android)\s([\d\.]+)/i),Rn=se.match(/(Mac OS X)\s([\d_]+)/i);_e=[],dn?_e.push("Android "+dn[2]):Xt?_e.push("iPhone, iOS "+Xt[2].replace(/_/g,".")):Tt?_e.push("iPad, iOS "+Tt[2].replace(/_/g,".")):ut?_e.push("iPod, iOS "+ut[2].replace(/_/g,".")):Rn&&_e.push("Mac, MacOS "+Rn[2].replace(/_/g,".")),Ve&&_e.push("WeChat "+Ve),console.info("[system]","Client:",_e.length?_e.join(", "):"Unknown");var _n=se.toLowerCase().match(/ nettype\/([^ ]+)/g);_n&&_n[0]&&(_e=[(_n=_n[0].split("/"))[1]],console.info("[system]","Network:",_e.length?_e.join(", "):"Unknown")),console.info("[system]","UA:",se),setTimeout(function(){var cr=window.performance||window.msPerformance||window.webkitPerformance;if(cr&&cr.timing){var Gn=cr.timing;Gn.navigationStart&&console.info("[system]","navigationStart:",Gn.navigationStart),Gn.navigationStart&&Gn.domainLookupStart&&console.info("[system]","navigation:",Gn.domainLookupStart-Gn.navigationStart+"ms"),Gn.domainLookupEnd&&Gn.domainLookupStart&&console.info("[system]","dns:",Gn.domainLookupEnd-Gn.domainLookupStart+"ms"),Gn.connectEnd&&Gn.connectStart&&(Gn.connectEnd&&Gn.secureConnectionStart?console.info("[system]","tcp (ssl):",Gn.connectEnd-Gn.connectStart+"ms ("+(Gn.connectEnd-Gn.secureConnectionStart)+"ms)"):console.info("[system]","tcp:",Gn.connectEnd-Gn.connectStart+"ms")),Gn.responseStart&&Gn.requestStart&&console.info("[system]","request:",Gn.responseStart-Gn.requestStart+"ms"),Gn.responseEnd&&Gn.responseStart&&console.info("[system]","response:",Gn.responseEnd-Gn.responseStart+"ms"),Gn.domComplete&&Gn.domLoading&&(Gn.domContentLoadedEventStart&&Gn.domLoading?console.info("[system]","domComplete (domLoaded):",Gn.domComplete-Gn.domLoading+"ms ("+(Gn.domContentLoadedEventStart-Gn.domLoading)+"ms)"):console.info("[system]","domComplete:",Gn.domComplete-Gn.domLoading+"ms")),Gn.loadEventEnd&&Gn.loadEventStart&&console.info("[system]","loadEvent:",Gn.loadEventEnd-Gn.loadEventStart+"ms"),Gn.navigationStart&&Gn.loadEventEnd&&console.info("[system]","total (DOM):",Gn.loadEventEnd-Gn.navigationStart+"ms ("+(Gn.domComplete-Gn.navigationStart)+"ms)")}},0)},pe}(wo),Ji=__nested_webpack_require_223763__(3313),Pa=__nested_webpack_require_223763__(643);function el(le,pe){var ie=typeof Symbol<"u"&&le[Symbol.iterator]||le["@@iterator"];if(ie)return(ie=ie.call(le)).next.bind(ie);if(Array.isArray(le)||(ie=function(_e,De){if(_e){if("string"==typeof _e)return Ha(_e,void 0);var Ve=Object.prototype.toString.call(_e).slice(8,-1);if("Object"===Ve&&_e.constructor&&(Ve=_e.constructor.name),"Map"===Ve||"Set"===Ve)return Array.from(_e);if("Arguments"===Ve||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ve))return Ha(_e,void 0)}}(le))||pe&&le&&"number"==typeof le.length){ie&&(le=ie);var se=0;return function(){return se>=le.length?{done:!0}:{done:!1,value:le[se++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ha(le,pe){(null==pe||pe>le.length)&&(pe=le.length);for(var ie=0,se=new Array(pe);ie<pe;ie++)se[ie]=le[ie];return se}var xa=function(le,pe){void 0===pe&&(pe={}),_.Kn(pe)||(pe={});var ie=le?le.split("?"):[];if(ie.shift(),ie.length>0)for(var se,_e=el(ie=ie.join("?").split("&"));!(se=_e()).done;){var De=se.value.split("=");try{pe[De[0]]=decodeURIComponent(De[1])}catch{pe[De[0]]=De[1]}}return pe},ya=function(le,pe){var ie="";switch(le){case"":case"text":case"json":if(_.HD(pe))try{ie=JSON.parse(pe),ie=_.hZ(ie,{maxDepth:10,keyMaxLen:1e4,pretty:!0,standardJSON:!0})}catch{ie=_.id(String(pe),1e4)}else _.Kn(pe)||_.kJ(pe)?ie=_.hZ(pe,{maxDepth:10,keyMaxLen:1e4,pretty:!0,standardJSON:!0}):void 0!==pe&&(ie=Object.prototype.toString.call(pe));break;default:void 0!==pe&&(ie=Object.prototype.toString.call(pe))}return ie},sa=function(le){if(!le)return null;var pe=null;if("string"==typeof le)try{pe=JSON.parse(le)}catch{var ie=le.split("&");if(1===ie.length)pe=le;else{pe={};for(var se,_e=el(ie);!(se=_e()).done;){var De=se.value.split("=");pe[De[0]]=void 0===De[1]?"undefined":De[1]}}}else if(_.TW(le)){pe={};for(var Ve,ut=el(le);!(Ve=ut()).done;){var Tt=Ve.value,dn=Tt[1];pe[Tt[0]]="string"==typeof dn?dn:"[object Object]"}}else pe=_.PO(le)?le:"[object "+_.zl(le)+"]";return pe},Ls=function(le){return void 0===le&&(le=""),le.startsWith("//")&&(le=""+new URL(window.location.href).protocol+le),le.startsWith("http")?new URL(le):new URL(le,
vendor: 8,212 bytes, line 1
1window.location.href)},aa=function(){this.id="",this.name="",this.method="",this.url="",this.status=0,this.statusText="",this.cancelState=0,this.readyState=0,this.header=null,this.responseType="",this.requestType=void 0,this.requestHeader=null,this.response=void 0,this.responseSize=0,this.responseSizeText="",this.startTime=0,this.startTimeText="",this.endTime=0,this.costTime=0,this.getData=null,this.postData=null,this.actived=!1,this.noVConsole=!1,this.id=(0,_.QI)()},qa=function(le){function pe(ie){var se;return(se=le.call(this)||this)._response=void 0,new Proxy(ie,pe.Handler)||(0,o.Z)(se)}return(0,C.Z)(pe,le),pe}(aa);qa.Handler={get:function(le,pe){return"response"===pe?le._response:Reflect.get(le,pe)},set:function(le,pe,ie){var se;switch(pe){case"response":return le._response=ya(le.responseType,ie),!0;case"url":var _e=(null==(se=ie=String(ie))?void 0:se.replace(new RegExp("[/]*$"),"").split("/").pop())||"Unknown";Reflect.set(le,"name",_e);var De=xa(ie,le.getData);Reflect.set(le,"getData",De);break;case"status":var Ve=String(ie)||"Unknown";Reflect.set(le,"statusText",Ve);break;case"startTime":ie&&le.endTime&&Reflect.set(le,"costTime",le.endTime-ie);break;case"endTime":ie&&le.startTime&&Reflect.set(le,"costTime",ie-le.startTime)}return Reflect.set(le,pe,ie)}};var Ct=function(){function le(ie,se){var _e=this;this.XMLReq=void 0,this.item=void 0,this.onUpdateCallback=void 0,this.XMLReq=ie,this.XMLReq.onreadystatechange=function(){_e.onReadyStateChange()},this.XMLReq.onabort=function(){_e.onAbort()},this.XMLReq.ontimeout=function(){_e.onTimeout()},this.item=new aa,this.item.requestType="xhr",this.onUpdateCallback=se}var pe=le.prototype;return pe.get=function(ie,se){switch(se){case"_noVConsole":return this.item.noVConsole;case"open":return this.getOpen(ie);case"send":return this.getSend(ie);case"setRequestHeader":return this.getSetRequestHeader(ie);default:var _e=Reflect.get(ie,se);return"function"==typeof _e?_e.bind(ie):_e}},pe.set=function(ie,se,_e){switch(se){case"_noVConsole":return void(this.item.noVConsole=!!_e);case"onreadystatechange":return this.setOnReadyStateChange(ie,se,_e);case"onabort":return this.setOnAbort(ie,se,_e);case"ontimeout":return this.setOnTimeout(ie,se,_e)}return Reflect.set(ie,se,_e)},pe.onReadyStateChange=function(){this.item.readyState=this.XMLReq.readyState,this.item.responseType=this.XMLReq.responseType,this.item.endTime=Date.now(),this.item.costTime=this.item.endTime-this.item.startTime,this.updateItemByReadyState(),this.item.response=ya(this.item.responseType,this.item.response),this.triggerUpdate()},pe.onAbort=function(){this.item.cancelState=1,this.item.statusText="Abort",this.triggerUpdate()},pe.onTimeout=function(){this.item.cancelState=3,this.item.statusText="Timeout",this.triggerUpdate()},pe.triggerUpdate=function(){this.item.noVConsole||this.onUpdateCallback(this.item)},pe.getOpen=function(ie){var se=this,_e=Reflect.get(ie,"open");return function(){for(var De=arguments.length,Ve=new Array(De),ut=0;ut<De;ut++)Ve[ut]=arguments[ut];var Tt=Ve[0],Xt=Ve[1];return se.item.method=Tt?Tt.toUpperCase():"GET",se.item.url=Xt||"",se.item.name=se.item.url.replace(new RegExp("[/]*$"),"").split("/").pop()||"",se.item.getData=xa(se.item.url,{}),se.triggerUpdate(),_e.apply(ie,Ve)}},pe.getSend=function(ie){var se=this,_e=Reflect.get(ie,"send");return function(){for(var De=arguments.length,Ve=new Array(De),ut=0;ut<De;ut++)Ve[ut]=arguments[ut];return se.item.postData=sa(Ve[0]),se.triggerUpdate(),_e.apply(ie,Ve)}},pe.getSetRequestHeader=function(ie){var se=this,_e=Reflect.get(ie,"setRequestHeader");return function(){se.item.requestHeader||(se.item.requestHeader={});for(var De=arguments.length,Ve=new Array(De),ut=0;ut<De;ut++)Ve[ut]=arguments[ut];return se.item.requestHeader[Ve[0]]=Ve[1],se.triggerUpdate(),_e.apply(ie,Ve)}},pe.setOnReadyStateChange=function(ie,se,_e){var De=this;return Reflect.set(ie,se,function(){De.onReadyStateChange();for(var Ve=arguments.length,ut=new Array(Ve),Tt=0;Tt<Ve;Tt++)ut[Tt]=arguments[Tt];_e.apply(ie,ut)})},pe.setOnAbort=function(ie,se,_e){var De=this;return Reflect.set(ie,se,function(){De.onAbort();for(var Ve=arguments.length,ut=new Array(Ve),Tt=0;Tt<Ve;Tt++)ut[Tt]=arguments[Tt];_e.apply(ie,ut)})},pe.setOnTimeout=function(ie,se,_e){var De=this;return Reflect.set(ie,se,function(){De.onTimeout();for(var Ve=arguments.length,ut=new Array(Ve),Tt=0;Tt<Ve;Tt++)ut[Tt]=arguments[Tt];_e.apply(ie,ut)})},pe.updateItemByReadyState=function(){switch(this.XMLReq.readyState){case 0:case 1:if(this.item.status=0,this.item.statusText="Pending",!this.item.startTime){this.item.startTime=Date.now();var ie=(0,_._3)(this.item.startTime);this.item.startTimeText=ie.year+"-"+ie.month+"-"+ie.day+" "+ie.hour+":"+ie.minute+":"+ie.second+"."+ie.millisecond}break;case 2:this.item.status=this.XMLReq.status,this.item.statusText="Loading",this.item.header={};for(var se=(this.XMLReq.getAllResponseHeaders()||"").split("\n"),_e=0;_e<se.length;_e++){var De=se[_e];if(De){var Ve=De.split(": "),ut=Ve[0],Tt=Ve.slice(1).join(": ");this.item.header[ut]=Tt}}break;case 3:this.item.status=this.XMLReq.status,this.item.statusText="Loading",this.XMLReq.response&&this.XMLReq.response.length&&(this.item.responseSize=this.XMLReq.response.length,this.item.responseSizeText=(0,_.KL)(this.item.responseSize));break;case 4:this.item.status=this.XMLReq.status||this.item.status||0,this.item.statusText=String(this.item.status),this.item.endTime=Date.now(),this.item.costTime=this.item.endTime-(this.item.startTime||this.item.endTime),this.item.response=this.XMLReq.response,this.XMLReq.response&&this.XMLReq.response.length&&(this.item.responseSize=this.XMLReq.response.length,this.item.responseSizeText=(0,_.KL)(this.item.responseSize));break;default:this.item.status=this.XMLReq.status,this.item.statusText="Unknown"}},le}(),ot=function(){function le(){}return le.create=function(pe){return new Proxy(XMLHttpRequest,{construct:function(ie){var se=new ie;return new Proxy(se,new Ct(se,pe))}})},le}();function Zt(le,pe){var ie=typeof Symbol<"u"&&le[Symbol.iterator]||le["@@iterator"];if(ie)return(ie=ie.call(le)).next.bind(ie);if(Array.isArray(le)||(ie=function(_e,De){if(_e){if("string"==typeof _e)return bt(_e,void 0);var Ve=Object.prototype.toString.call(_e).slice(8,-1);if("Object"===Ve&&_e.constructor&&(Ve=_e.constructor.name),"Map"===Ve||"Set"===Ve)return Array.from(_e);if("Arguments"===Ve||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ve))return bt(_e,void 0)}}(le))||pe&&le&&"number"==typeof le.length){ie&&(le=ie);var se=0;return function(){return se>=le.length?{done:!0}:{done:!1,value:le[se++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function bt(le,pe){(null==pe||pe>le.length)&&(pe=le.length);for(var ie=0,se=new Array(pe);ie<pe;ie++)se[ie]=le[ie];return se}ot.origXMLHttpRequest=XMLHttpRequest;var sn=function(){function le(ie,se,_e){this.resp=void 0,this.item=void 0,this.onUpdateCallback=void 0,this.resp=ie,this.item=se,this.onUpdateCallback=_e,this.mockReader()}var pe=le.prototype;return pe.set=function(ie,se,_e){return Reflect.set(ie,se,_e)},pe.get=function(ie,se){var _e=this,De=Reflect.get(ie,se);switch(se){case"arrayBuffer":case"blob":case"formData":case"json":case"text":return function(){return _e.item.responseType=se.toLowerCase(),De.apply(ie).then(function(Ve){return _e.item.response=ya(_e.item.responseType,Ve),_e.onUpdateCallback(_e.item),Ve})}}return"function"==typeof De?De.bind(ie):De},pe.mockReader=function(){var ie,se=this;if(this.resp.body&&"function"==typeof this.resp.body.getReader){var _e=this.resp.body.getReader;this.resp.body.getReader=function(){var De=_e.apply(se.resp.body);if(4===se.item.readyState)return De;var Ve=De.read,ut=De.cancel;return se.item.responseType="arraybuffer",De.read=function(){return Ve.apply(De).then(function(Tt){if(ie){var Xt=new Uint8Array(ie.length+Tt.value.length);Xt.set(ie),Xt.set(Tt.value,ie.length),ie=Xt}else ie=new Uint8Array(Tt.value);return se.item.endTime=Date.now(),se.item.costTime=se.item.endTime-(se.item.startTime||se.item.endTime),se.item.readyState=Tt.done?4:3,se.item.statusText=Tt.done?String(se.item.status):"Lo
1ading",se.item.responseSize=ie.length,se.item.responseSizeText=_.KL(se.item.responseSize),Tt.done&&(se.item.response=ya(se.item.responseType,ie)),se.onUpdateCallback(se.item),Tt})},De.cancel=function(){se.item.cancelState=2,se.item.statusText="Cancel",se.item.endTime=Date.now(),se.item.costTime=se.item.endTime-(se.item.startTime||se.item.endTime),se.item.response=ya(se.item.responseType,ie),se.onUpdateCallback(se.item);for(var Tt=arguments.length,Xt=new Array(Tt),dn=0;dn<Tt;dn++)Xt[dn]=arguments[dn];return ut.apply(De,Xt)},De}}},le}(),ai=function(){function le(ie){this.onUpdateCallback=void 0,this.onUpdateCallback=ie}var pe=le.prototype;return pe.apply=function(ie,se,_e){var De=this,Ve=_e[0],ut=_e[1],Tt=new aa;return this.beforeFetch(Tt,Ve,ut),ie.apply(window,_e).then(this.afterFetch(Tt)).catch(function(Xt){throw Tt.endTime=Date.now(),Tt.costTime=Tt.endTime-(Tt.startTime||Tt.endTime),De.onUpdateCallback(Tt),Xt})},pe.beforeFetch=function(ie,se,_e){var De,Ve="GET",ut=null;if(_.HD(se)?(Ve=(null==_e?void 0:_e.method)||"GET",De=Ls(se),ut=(null==_e?void 0:_e.headers)||null):(Ve=se.method||"GET",De=Ls(se.url),ut=se.headers),ie.method=Ve,ie.requestType="fetch",ie.requestHeader=ut,ie.url=De.toString(),ie.name=(De.pathname.split("/").pop()||"")+De.search,ie.status=0,ie.statusText="Pending",ie.readyState=1,!ie.startTime){ie.startTime=Date.now();var Tt=_._3(ie.startTime);ie.startTimeText=Tt.year+"-"+Tt.month+"-"+Tt.day+" "+Tt.hour+":"+Tt.minute+":"+Tt.second+"."+Tt.millisecond}if("[object Headers]"===Object.prototype.toString.call(ut)){ie.requestHeader={};for(var Xt,dn=Zt(ut);!(Xt=dn()).done;){var Rn=Xt.value;ie.requestHeader[Rn[0]]=Rn[1]}}else ie.requestHeader=ut;if(De.search&&De.searchParams){ie.getData={};for(var Gn,Cr=Zt(De.searchParams);!(Gn=Cr()).done;){var wr=Gn.value;ie.getData[wr[0]]=wr[1]}}null!=_e&&_e.body&&(ie.postData=sa(_e.body)),this.onUpdateCallback(ie)},pe.afterFetch=function(ie){var se=this;return function(_e){ie.endTime=Date.now(),ie.costTime=ie.endTime-(ie.startTime||ie.endTime),ie.status=_e.status,ie.statusText=String(_e.status);var De=!1;ie.header={};for(var Ve,ut=Zt(_e.headers);!(Ve=ut()).done;){var Tt=Ve.value,dn=Tt[1];ie.header[Tt[0]]=dn,De=dn.toLowerCase().indexOf("chunked")>-1||De}return De?ie.readyState=3:(ie.readyState=4,se.handleResponseBody(_e.clone(),ie).then(function(Rn){ie.responseSize="string"==typeof Rn?Rn.length:Rn.byteLength,ie.responseSizeText=_.KL(ie.responseSize),ie.response=ya(ie.responseType,Rn),se.onUpdateCallback(ie)})),se.onUpdateCallback(ie),new Proxy(_e,new sn(_e,ie,se.onUpdateCallback))}},pe.handleResponseBody=function(ie,se){var _e=ie.headers.get("content-type");return _e&&_e.includes("application/json")?(se.responseType="json",ie.text()):_e&&(_e.includes("text/html")||_e.includes("text/plain"))?(se.responseType="text",ie.text()):(se.responseType="arraybuffer",ie.arrayBuffer())},le}(),wi=function(){function le(){}return le.create=function(pe){return new Proxy(fetch,new ai(pe))},le}();function ca(le,pe){(null==pe||pe>le.length)&&(pe=le.length);for(var ie=0,se=new Array(pe);ie<pe;ie++)se[ie]=le[ie];return se}wi.origFetch=fetch;var Xo=function(le){return le instanceof Blob?le.type:le instanceof FormData?"multipart/form-data":le instanceof URLSearchParams?"application/x-www-form-urlencoded;charset=UTF-8":"text/plain;charset=UTF-8"},ga=function(){function le(pe){this.onUpdateCallback=void 0,this.onUpdateCallback=pe}return le.prototype.apply=function(pe,ie,se){var _e=se[0],De=se[1],Ve=new aa,ut=Ls(_e);if(Ve.method="POST",Ve.url=_e,Ve.name=(ut.pathname.split("/").pop()||"")+ut.search,Ve.requestType="ping",Ve.requestHeader={"Content-Type":Xo(De)},Ve.status=0,Ve.statusText="Pending",ut.search&&ut.searchParams){Ve.getData={};for(var Tt,Xt=function Ns(le,pe){var ie=typeof Symbol<"u"&&le[Symbol.iterator]||le["@@iterator"];if(ie)return(ie=ie.call(le)).next.bind(ie);if(Array.isArray(le)||(ie=function(_e,De){if(_e){if("string"==typeof _e)return ca(_e,void 0);var Ve=Object.prototype.toString.call(_e).slice(8,-1);if("Object"===Ve&&_e.constructor&&(Ve=_e.constructor.name),"Map"===Ve||"Set"===Ve)return Array.from(_e);if("Arguments"===Ve||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ve))return ca(_e,void 0)}}(le))||pe&&le&&"number"==typeof le.length){ie&&(le=ie);var se=0;return function(){return se>=le.length?{done:!0}:{done:!1,value:le[se++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(ut.searchParams);!(Tt=Xt()).done;){var dn=Tt.value;Ve.getData[dn[0]]=dn[1]}}Ve.postData=sa(De),Ve.startTime||(Ve.startTime=Date.now()),this.onUpdateCallback(Ve);var cr=pe.apply(ie,se);return cr?(Ve.endTime=Date.now(),Ve.costTime=Ve.endTime-(Ve.startTime||Ve.endTime),Ve.status=0,Ve.statusText="Sent",Ve.readyState=4):(Ve.status=500,Ve.statusText="Unknown"),this.onUpdateCallback(Ve),cr},le}(),Js=function(){function le(){}return le.create=function(pe){return new Proxy(navigator.sendBeacon,new ga(pe))},le}();Js.origSendBeacon=navigator.sendBeacon;var Ps=(0,Ji.fZ)({}),Xa=function(le){function pe(){var se;return(se=le.call(this)||this).maxNetworkNumber=1e3,se.ignoreUrlRegExp=void 0,se.itemCounter=0,se.mockXHR(),se.mockFetch(),se.mockSendBeacon(),se}(0,C.Z)(pe,le);var ie=pe.prototype;return ie.unMock=function(){window.hasOwnProperty("XMLHttpRequest")&&(window.XMLHttpRequest=ot.origXMLHttpRequest),window.hasOwnProperty("fetch")&&(window.fetch=wi.origFetch),window.navigator.sendBeacon&&(window.navigator.sendBeacon=Js.origSendBeacon)},ie.clearLog=function(){Ps.set({})},ie.updateRequest=function(se,_e){var De,Ve=_e.url;if(!Ve||null==(De=this.ignoreUrlRegExp)||!De.test(Ve)){var ut=(0,Ji.U2)(Ps),Tt=!!ut[se];if(Tt){var Xt=ut[se];for(var dn in _e)Xt[dn]=_e[dn];_e=Xt}Ps.update(function(Rn){return Rn[se]=_e,Rn}),Tt||(ce.x.updateTime(),this.limitListLength())}},ie.mockXHR=function(){var se=this;window.hasOwnProperty("XMLHttpRequest")&&(window.XMLHttpRequest=ot.create(function(_e){se.updateRequest(_e.id,_e)}))},ie.mockFetch=function(){var se=this;window.hasOwnProperty("fetch")&&(window.fetch=wi.create(function(_e){se.updateRequest(_e.id,_e)}))},ie.mockSendBeacon=function(){var se,_e,De=this;null!=(se=window)&&null!=(_e=se.navigator)&&_e.sendBeacon&&(window.navigator.sendBeacon=Js.create(function(Ve){De.updateRequest(Ve.id,Ve)}))},ie.limitListLength=function(){var se=this;if(this.itemCounter++,this.itemCounter%10==0){this.itemCounter=0;var _e=(0,Ji.U2)(Ps),De=Object.keys(_e);De.length>this.maxNetworkNumber-10&&Ps.update(function(Ve){for(var ut=De.splice(0,De.length-se.maxNetworkNumber+10),Tt=0;Tt<ut.length;Tt++)Ve[ut[Tt]]=void 0,delete Ve[ut[Tt]];return Ve})}},pe}(Pa.N),Zo=__nested_webpack_require_223763__(8747),fl={};Zo.Z&&Zo.Z.locals&&(fl.locals=Zo.Z.locals);var hl,Rl=0,tl={};tl.styleTagTransform=k(),tl.setAttributes=p(),tl.insert=g().bind(null,"head"),tl.domAPI=u(),tl.insertStyleElement=R(),fl.use=function(le){return tl.options=le||{},Rl++||(hl=s()(Zo.Z,tl)),fl},fl.unuse=function(){Rl>0&&! --Rl&&(hl(),hl=null)};var Ma=fl;function Va(le,pe,ie){var se=le.slice();return se[11]=pe[ie][0],se[12]=pe[ie][1],se}function zl(le,pe,ie){var se=le.slice();return se[11]=pe[ie][0],se[12]=pe[ie][1],se}function kl(le,pe,ie){var se=le.slice();return se[11]=pe[ie][0],se[12]=pe[ie][1],se}function nl(le,pe,ie){var se=le.slice();return se[11]=pe[ie][0],se[12]=pe[ie][1],se}function Zs(le){var pe,ie,se;return{c:function(){pe=(0,a.fLW)("("),ie=(0,a.fLW)(le[0]),se=(0,a.fLW)(")")},m:function(_e,De){(0,a.$Tr)(_e,pe,De),(0,a.$Tr)(_e,ie,De),(0,a.$Tr)(_e,se,De)},p:function(_e,De){1&De&&(0,a.rTO)(ie,_e[0])},d:function(_e){_e&&(0,a.ogt)(pe),_e&&(0,a.ogt)(ie),_e&&(0,a.ogt)(se)}}}function _a(le){var pe,ie,se,_e,De,Ve,ut=le[0]>0&&Zs(le);return{c:function(){pe=(0,a.bGB)("dl"),ie=(0,a.bGB)("dd"),se=(0,a.fLW)("Name "),ut&&ut.c(),(_e=(0,a.bGB)("dd")).textContent="Method",(De=(0,a.bGB)("dd")).textContent="Status",(Ve=(0,a.bGB)("dd")).textContent="Time",(0,a.Ljt)(ie,"class","vc-table-col vc-table-col-4"),(0,a.Ljt)(_e,"class","vc-table-col"),(0,a.Ljt)(De,"class","vc-table-col"),(0,a.Ljt)(Ve,"class","vc-table-col"),(0,a.Ljt)(pe,"class","vc-table-row")},m:function(Tt,Xt){(0,a.$Tr)(Tt,pe,Xt),(0,a.R3I)(pe,ie),(0,a.R3I)(ie,se),ut&&ut.m(ie,null),(0,a.R3I)(pe,_e),(0,a.R3I)(pe,De),(0,a.R3I)(pe,Ve)},p:function(Tt,Xt){Tt[0]>0?ut?ut.p(Tt,Xt):((ut=Zs(Tt)).c(),ut.m(ie,null)):ut&&(ut.d(1),ut=null)},d:function(Tt){Tt&&(0,a.ogt)(pe),ut&&ut.d()}}}function Ga(le){var pe;return{c:function(){(pe=(0,a.bGB)("div")).textContent="Empty",(0,a.Ljt)(pe,"slot","empty"),(0,a.Ljt)(pe,"class","vc-plugin-empty")},m:function(ie,se){(0,a.$Tr)(ie,pe,se)},p:a.ZTd,d:function(ie){ie&&(0,a.ogt)(pe)}}}function _o(le){var pe,ie,se,_e,De,Ve,ut,Tt;Ve=new br({props:{content:le[10].requestHeader}});for(var Xt=Object.entries(le[10].requestHeader),dn=[],Rn=0;Rn<Xt.length;Rn+=1)dn[Rn]=fs(nl(le,Xt,Rn));return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.bGB)("dl"),se=(0,a.bGB)("dt"),_e=(0,a.fLW)("Request Headers\n "),De=(0,a.bGB)("i"),(0,a.YCL)(Ve.$$.fragment),ut=(0,a.DhX)();for(var _n=0;_n<dn.length;_n+=1)dn[_n].c();(0,a.Ljt)(De,"class","vc-table-row-icon"),(0,a.Ljt)(se,"class","vc-table-col vc-table-col-title"),(0,a.Ljt)(ie,"class","vc-table-row vc-left-border")},m:function(_n,cr){(0,a.$Tr)(_n,pe,cr),(0,a.R3I)(pe,ie),(0,a.R3I)(ie,se),(0,a.R3I)(se,_e),(0,a.R3I)(se,De),(0,a.yef)(Ve,De,null),(0,a.R3I)(pe,ut);for(var Gn=0;Gn<dn.length;Gn+=1)dn[Gn].m(pe,null);Tt=!0},p:function(_n,cr){var Gn={};if(1024&cr&&(Gn.content=_n[10].requestHeader),Ve.$set(Gn),1040&cr){var Cr;for(Xt=Object.entries(_n[10].requestHeader),Cr=0;Cr<Xt.length;Cr+=1){var wr=nl(_n,Xt,Cr);dn[Cr]?dn[Cr].p(wr,cr):(dn[Cr]=fs(wr),dn[Cr].c(),dn[Cr].m(pe,null))}for(;Cr<dn.length;Cr+=1)dn[Cr].d(1);dn.length=Xt.length}},i:function(_n){Tt||((0,a.Ui)(Ve.$$.fragment,_n),Tt=!0)},o:function(_n){(0,a.etI)(Ve.$$.fragment,_n),Tt=!1},d:function(_n){_n&&(0,a.ogt)(pe),(0,a.vpE)(Ve),(0,a.RMB)(dn,_n)}}}function fs(le){var pe,ie,se,_e,De,Ve,ut,Tt=le[11]+"",Xt=le[4](le[12])+"";return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.bGB)("div"),se=(0,a.fLW)(Tt),_e=(0,a.DhX)(),De=(0,a.bGB)("div"),Ve=(0,a.fLW)(Xt),ut=(0,a.DhX)(),(0,a.Ljt)(ie,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(De,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(pe,"class","vc-table-row vc-left-border vc-small")},m:function(dn,Rn){(0,a.$Tr)(dn,pe,Rn),(0,a.R3I)(pe,ie),(0,a.R3I)(ie,se),(0,a.R3I)(pe,_e),(0,a.R3I)(pe,De),(0,a.R3I)(De,Ve),(0,a.R3I)(pe,ut)},p:function(dn,Rn){1024&Rn&&Tt!==(Tt=dn[11]+"")&&(0,a.rTO)(se,Tt),1024&Rn&&
vendor: 49,890 bytes, line 1
1Xt!==(Xt=dn[4](dn[12])+"")&&(0,a.rTO)(Ve,Xt)},d:function(dn){dn&&(0,a.ogt)(pe)}}}function is(le){var pe,ie,se,_e,De,Ve,ut,Tt;Ve=new br({props:{content:le[10].getData}});for(var Xt=Object.entries(le[10].getData),dn=[],Rn=0;Rn<Xt.length;Rn+=1)dn[Rn]=hs(kl(le,Xt,Rn));return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.bGB)("dl"),se=(0,a.bGB)("dt"),_e=(0,a.fLW)("Query String Parameters\n "),De=(0,a.bGB)("i"),(0,a.YCL)(Ve.$$.fragment),ut=(0,a.DhX)();for(var _n=0;_n<dn.length;_n+=1)dn[_n].c();(0,a.Ljt)(De,"class","vc-table-row-icon"),(0,a.Ljt)(se,"class","vc-table-col vc-table-col-title"),(0,a.Ljt)(ie,"class","vc-table-row vc-left-border")},m:function(_n,cr){(0,a.$Tr)(_n,pe,cr),(0,a.R3I)(pe,ie),(0,a.R3I)(ie,se),(0,a.R3I)(se,_e),(0,a.R3I)(se,De),(0,a.yef)(Ve,De,null),(0,a.R3I)(pe,ut);for(var Gn=0;Gn<dn.length;Gn+=1)dn[Gn].m(pe,null);Tt=!0},p:function(_n,cr){var Gn={};if(1024&cr&&(Gn.content=_n[10].getData),Ve.$set(Gn),1040&cr){var Cr;for(Xt=Object.entries(_n[10].getData),Cr=0;Cr<Xt.length;Cr+=1){var wr=kl(_n,Xt,Cr);dn[Cr]?dn[Cr].p(wr,cr):(dn[Cr]=hs(wr),dn[Cr].c(),dn[Cr].m(pe,null))}for(;Cr<dn.length;Cr+=1)dn[Cr].d(1);dn.length=Xt.length}},i:function(_n){Tt||((0,a.Ui)(Ve.$$.fragment,_n),Tt=!0)},o:function(_n){(0,a.etI)(Ve.$$.fragment,_n),Tt=!1},d:function(_n){_n&&(0,a.ogt)(pe),(0,a.vpE)(Ve),(0,a.RMB)(dn,_n)}}}function hs(le){var pe,ie,se,_e,De,Ve,ut,Tt=le[11]+"",Xt=le[4](le[12])+"";return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.bGB)("div"),se=(0,a.fLW)(Tt),_e=(0,a.DhX)(),De=(0,a.bGB)("div"),Ve=(0,a.fLW)(Xt),ut=(0,a.DhX)(),(0,a.Ljt)(ie,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(De,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(pe,"class","vc-table-row vc-left-border vc-small")},m:function(dn,Rn){(0,a.$Tr)(dn,pe,Rn),(0,a.R3I)(pe,ie),(0,a.R3I)(ie,se),(0,a.R3I)(pe,_e),(0,a.R3I)(pe,De),(0,a.R3I)(De,Ve),(0,a.R3I)(pe,ut)},p:function(dn,Rn){1024&Rn&&Tt!==(Tt=dn[11]+"")&&(0,a.rTO)(se,Tt),1024&Rn&&Xt!==(Xt=dn[4](dn[12])+"")&&(0,a.rTO)(Ve,Xt)},d:function(dn){dn&&(0,a.ogt)(pe)}}}function Go(le){var pe,ie,se,_e,De,Ve,ut,Tt;function Xt(_n,cr){return"string"==typeof _n[10].postData?Yo:Ml}Ve=new br({props:{content:le[10].postData}});var dn=Xt(le),Rn=dn(le);return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.bGB)("dl"),se=(0,a.bGB)("dt"),_e=(0,a.fLW)("Request Payload\n "),De=(0,a.bGB)("i"),(0,a.YCL)(Ve.$$.fragment),ut=(0,a.DhX)(),Rn.c(),(0,a.Ljt)(De,"class","vc-table-row-icon"),(0,a.Ljt)(se,"class","vc-table-col vc-table-col-title"),(0,a.Ljt)(ie,"class","vc-table-row vc-left-border")},m:function(_n,cr){(0,a.$Tr)(_n,pe,cr),(0,a.R3I)(pe,ie),(0,a.R3I)(ie,se),(0,a.R3I)(se,_e),(0,a.R3I)(se,De),(0,a.yef)(Ve,De,null),(0,a.R3I)(pe,ut),Rn.m(pe,null),Tt=!0},p:function(_n,cr){var Gn={};1024&cr&&(Gn.content=_n[10].postData),Ve.$set(Gn),dn===(dn=Xt(_n))&&Rn?Rn.p(_n,cr):(Rn.d(1),(Rn=dn(_n))&&(Rn.c(),Rn.m(pe,null)))},i:function(_n){Tt||((0,a.Ui)(Ve.$$.fragment,_n),Tt=!0)},o:function(_n){(0,a.etI)(Ve.$$.fragment,_n),Tt=!1},d:function(_n){_n&&(0,a.ogt)(pe),(0,a.vpE)(Ve),Rn.d()}}}function Ml(le){for(var pe,ie=Object.entries(le[10].postData),se=[],_e=0;_e<ie.length;_e+=1)se[_e]=ba(zl(le,ie,_e));return{c:function(){for(var De=0;De<se.length;De+=1)se[De].c();pe=(0,a.cSb)()},m:function(De,Ve){for(var ut=0;ut<se.length;ut+=1)se[ut].m(De,Ve);(0,a.$Tr)(De,pe,Ve)},p:function(De,Ve){if(1040&Ve){var ut;for(ie=Object.entries(De[10].postData),ut=0;ut<ie.length;ut+=1){var Tt=zl(De,ie,ut);se[ut]?se[ut].p(Tt,Ve):(se[ut]=ba(Tt),se[ut].c(),se[ut].m(pe.parentNode,pe))}for(;ut<se.length;ut+=1)se[ut].d(1);se.length=ie.length}},d:function(De){(0,a.RMB)(se,De),De&&(0,a.ogt)(pe)}}}function Yo(le){var pe,ie,se,_e=le[10].postData+"";return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.bGB)("pre"),se=(0,a.fLW)(_e),(0,a.Ljt)(ie,"class","vc-table-col vc-table-col-value vc-max-height-line"),(0,a.Ljt)(ie,"data-scrollable","1"),(0,a.Ljt)(pe,"class","vc-table-row vc-left-border vc-small")},m:function(De,Ve){(0,a.$Tr)(De,pe,Ve),(0,a.R3I)(pe,ie),(0,a.R3I)(ie,se)},p:function(De,Ve){1024&Ve&&_e!==(_e=De[10].postData+"")&&(0,a.rTO)(se,_e)},d:function(De){De&&(0,a.ogt)(pe)}}}function ba(le){var pe,ie,se,_e,De,Ve,ut,Tt=le[11]+"",Xt=le[4](le[12])+"";return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.bGB)("div"),se=(0,a.fLW)(Tt),_e=(0,a.DhX)(),De=(0,a.bGB)("div"),Ve=(0,a.fLW)(Xt),ut=(0,a.DhX)(),(0,a.Ljt)(ie,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(De,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(De,"data-scrollable","1"),(0,a.Ljt)(pe,"class","vc-table-row vc-left-border vc-small")},m:function(dn,Rn){(0,a.$Tr)(dn,pe,Rn),(0,a.R3I)(pe,ie),(0,a.R3I)(ie,se),(0,a.R3I)(pe,_e),(0,a.R3I)(pe,De),(0,a.R3I)(De,Ve),(0,a.R3I)(pe,ut)},p:function(dn,Rn){1024&Rn&&Tt!==(Tt=dn[11]+"")&&(0,a.rTO)(se,Tt),1024&Rn&&Xt!==(Xt=dn[4](dn[12])+"")&&(0,a.rTO)(Ve,Xt)},d:function(dn){dn&&(0,a.ogt)(pe)}}}function Ea(le){var pe,ie,se,_e,De,Ve,ut,Tt;Ve=new br({props:{content:le[10].header}});for(var Xt=Object.entries(le[10].header),dn=[],Rn=0;Rn<Xt.length;Rn+=1)dn[Rn]=$l(Va(le,Xt,Rn));return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.bGB)("dl"),se=(0,a.bGB)("dt"),_e=(0,a.fLW)("Response Headers\n "),De=(0,a.bGB)("i"),(0,a.YCL)(Ve.$$.fragment),ut=(0,a.DhX)();for(var _n=0;_n<dn.length;_n+=1)dn[_n].c();(0,a.Ljt)(De,"class","vc-table-row-icon"),(0,a.Ljt)(se,"class","vc-table-col vc-table-col-title"),(0,a.Ljt)(ie,"class","vc-table-row vc-left-border")},m:function(_n,cr){(0,a.$Tr)(_n,pe,cr),(0,a.R3I)(pe,ie),(0,a.R3I)(ie,se),(0,a.R3I)(se,_e),(0,a.R3I)(se,De),(0,a.yef)(Ve,De,null),(0,a.R3I)(pe,ut);for(var Gn=0;Gn<dn.length;Gn+=1)dn[Gn].m(pe,null);Tt=!0},p:function(_n,cr){var Gn={};if(1024&cr&&(Gn.content=_n[10].header),Ve.$set(Gn),1040&cr){var Cr;for(Xt=Object.entries(_n[10].header),Cr=0;Cr<Xt.length;Cr+=1){var wr=Va(_n,Xt,Cr);dn[Cr]?dn[Cr].p(wr,cr):(dn[Cr]=$l(wr),dn[Cr].c(),dn[Cr].m(pe,null))}for(;Cr<dn.length;Cr+=1)dn[Cr].d(1);dn.length=Xt.length}},i:function(_n){Tt||((0,a.Ui)(Ve.$$.fragment,_n),Tt=!0)},o:function(_n){(0,a.etI)(Ve.$$.fragment,_n),Tt=!1},d:function(_n){_n&&(0,a.ogt)(pe),(0,a.vpE)(Ve),(0,a.RMB)(dn,_n)}}}function $l(le){var pe,ie,se,_e,De,Ve,ut,Tt=le[11]+"",Xt=le[4](le[12])+"";return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.bGB)("div"),se=(0,a.fLW)(Tt),_e=(0,a.DhX)(),De=(0,a.bGB)("div"),Ve=(0,a.fLW)(Xt),ut=(0,a.DhX)(),(0,a.Ljt)(ie,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(De,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(pe,"class","vc-table-row vc-left-border vc-small")},m:function(dn,Rn){(0,a.$Tr)(dn,pe,Rn),(0,a.R3I)(pe,ie),(0,a.R3I)(ie,se),(0,a.R3I)(pe,_e),(0,a.R3I)(pe,De),(0,a.R3I)(De,Ve),(0,a.R3I)(pe,ut)},p:function(dn,Rn){1024&Rn&&Tt!==(Tt=dn[11]+"")&&(0,a.rTO)(se,Tt),1024&Rn&&Xt!==(Xt=dn[4](dn[12])+"")&&(0,a.rTO)(Ve,Xt)},d:function(dn){dn&&(0,a.ogt)(pe)}}}function La(le){var pe,ie,se,_e,De,Ve=le[10].responseSizeText+"";return{c:function(){pe=(0,a.bGB)("div"),(ie=(0,a.bGB)("div")).textContent="Size",se=(0,a.DhX)(),_e=(0,a.bGB)("div"),De=(0,a.fLW)(Ve),(0,a.Ljt)(ie,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(_e,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(pe,"class","vc-table-row vc-left-border vc-small")},m:function(ut,Tt){(0,a.$Tr)(ut,pe,Tt),(0,a.R3I)(pe,ie),(0,a.R3I)(pe,se),(0,a.R3I)(pe,_e),(0,a.R3I)(_e,De)},p:function(ut,Tt){1024&Tt&&Ve!==(Ve=ut[10].responseSizeText+"")&&(0,a.rTO)(De,Ve)},d:function(ut){ut&&(0,a.ogt)(pe)}}}function Nn(le){var pe,ie,se,_e,De,Ve,ut,Tt,Xt,dn,Rn,_n,cr,Gn,Cr,wr,ti,di,Si,Gi,Ui,os,es,ms,Zi,Wi,Fs,Ba,Ae,je,Je,Me,Qe,Ht,Bt,Mn,Dr,zn,Jr,Ni,To,Ao,Lo,la,Rs,Fa,ks,xs,Sa,rl,Ll,Zl,Ra,Ri,$o,Oo,ts,js,zi,Ya,ja,gs,va,ea,Ua,Ks,il,zu,oc=le[10].name+"",Nl=le[10].method+"",$u=le[10].statusText+"",ku=le[10].costTime+"",Wu=le[10].url+"",eu=le[10].method+"",bu=le[10].requestType+"",Eu=le[10].status+"",Nu=le[10].startTimeText+"",tu=(le[10].response||"")+"";function Ou(){return le[7](le[10])}di=new br({props:{handler:le[3],content:le[10]}});var eo=null!==le[10].requestHeader&&_o(le),ka=null!==le[10].getData&&is(le),ol=null!==le[10].postData&&Go(le),sl=null!==le[10].header&&Ea(le);zi=new br({props:{content:le[10].response}});var Ol=le[10].responseSize>0&&La(le);return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.bGB)("dl"),se=(0,a.bGB)("dd"),_e=(0,a.fLW)(oc),De=(0,a.bGB)("dd"),Ve=(0,a.fLW)(Nl),ut=(0,a.bGB)("dd"),Tt=(0,a.fLW)($u),Xt=(0,a.bGB)("dd"),dn=(0,a.fLW)(ku),Rn=(0,a.DhX)(),_n=(0,a.bGB)("div"),cr=(0,a.bGB)("div"),Gn=(0,a.bGB)("dl"),Cr=(0,a.bGB)("dt"),wr=(0,a.fLW)("General\n "),ti=(0,a.bGB)("i"),(0,a.YCL)(di.$$.fragment),Si=(0,a.DhX)(),Gi=(0,a.bGB)("div"),(Ui=(0,a.bGB)("div")).textContent="URL",os=(0,a.DhX)(),es=(0,a.bGB)("div"),ms=(0,a.fLW)(Wu),Zi=(0,a.DhX)(),Wi=(0,a.bGB)("div"),(Fs=(0,a.bGB)("div")).textContent="Method",Ba=(0,a.DhX)(),Ae=(0,a.bGB)("div"),je=(0,a.fLW)(eu),Je=(0,a.DhX)(),Me=(0,a.bGB)("div"),(Qe=(0,a.bGB)("div")).textContent="Request Type",Ht=(0,a.DhX)(),Bt=(0,a.bGB)("div"),Mn=(0,a.fLW)(bu),Dr=(0,a.DhX)(),zn=(0,a.bGB)("div"),(Jr=(0,a.bGB)("div")).textContent="HTTP Status",Ni=(0,a.DhX)(),To=(0,a.bGB)("div"),Ao=(0,a.fLW)(Eu),Lo=(0,a.DhX)(),la=(0,a.bGB)("div"),(Rs=(0,a.bGB)("div")).textContent="Start Time",Fa=(0,a.DhX)(),ks=(0,a.bGB)("div"),xs=(0,a.fLW)(Nu),Sa=(0,a.DhX)(),eo&&eo.c(),rl=(0,a.DhX)(),ka&&ka.c(),Ll=(0,a.DhX)(),ol&&ol.c(),Zl=(0,a.DhX)(),sl&&sl.c(),Ra=(0,a.DhX)(),Ri=(0,a.bGB)("div"),$o=(0,a.bGB)("dl"),Oo=(0,a.bGB)("dt"),ts=(0,a.fLW)("Response\n "),js=(0,a.bGB)("i"),(0,a.YCL)(zi.$$.fragment),Ya=(0,a.DhX)(),Ol&&Ol.c(),ja=(0,a.DhX)(),gs=(0,a.bGB)("div"),va=(0,a.bGB)("pre"),ea=(0,a.fLW)(tu),(0,a.Ljt)(se,"class","vc-table-col vc-table-col-4"),(0,a.Ljt)(De,"class","vc-table-col"),(0,a.Ljt)(ut,"class","vc-table-col"),(0,a.Ljt)(Xt,"class","vc-table-col"),(0,a.Ljt)(ie,"class","vc-table-row vc-group-preview"),(0,a.VHj)(ie,"vc-table-row-error",le[10].status>=400),(0,a.Ljt)(ti,"class","vc-table-row-icon"),(0,a.Ljt)(Cr,"class","vc-table-col vc-table-col-title"),(0,a.Ljt)(Gn,"class","vc-table-row vc-left-border"),(0,a.Ljt)(Ui,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(es,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(Gi,"class","vc-table-row vc-left-border vc-small"),(0,a.Ljt)(Fs,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(Ae,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(Wi,"class","vc-table-row vc-left-border vc-small"),(0,a.Ljt)(Qe,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(Bt,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(Me,"class","vc-table-row vc-left-border vc-small"),(0,a.Ljt)(Jr,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(To,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(zn,"class","vc-table-row vc-left-border vc-small"),(0,a.Ljt)(Rs,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(ks,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(la,"class","vc-table-row vc-left-border vc-small"),(0,a.Ljt)(js,"class","vc-table-row-icon"),(0,a.Ljt)(Oo,"class","vc-table-col vc-table-col-title"),(0,a.Ljt)($o,"class","vc-table-row vc-left-border"),(0,a.Ljt)(va,"class","vc-table-col vc-max-height vc-min-height"),(0,a.Ljt)(va,"data-scrollable","1"),(0,a.Ljt)(gs,"class","vc-table-row vc-left-border vc-small"),(0,a.Ljt)(_n,"class","vc-group-detail"),(0,a.Ljt)(pe,"slot","item"),(0,a.Ljt)(pe,"class","vc-group"),(0,a.Ljt)(pe,"id",Ua=le[10].id),(0,a.VHj)(pe,"vc-actived",le[10].actived)},m:function(Bl,qs){(0,a.$Tr)(Bl,pe,qs),(0,a.R3I)(pe,ie),(0,a.R3I)(ie,se),(0,a.R3I)(se,_e),(0,a.R3I)(ie,De),(0,a.R3I)(De,Ve),(0,a.R3I)(ie,ut),(0,a.R3I)(ut,Tt),(0,a.R3I)(ie,Xt),(0,a.R3I)(Xt,dn),(0,a.R3I)(pe,Rn),(0,a.R3I)(pe,_n),(0,a.R3I)(_n,cr),(0,a.R3I)(cr,Gn),(0,a.R3I)(Gn,Cr),(0,a.R3I)(Cr,wr),(0,a.R3I)(Cr,ti),(0,a.yef)(di,ti,null),(0,a.R3I)(cr,Si),(0,a.R3I)(cr,Gi),(0,a.R3I)(Gi,Ui),(0,a.R3I)(Gi,os),(0,a.R3I)(Gi,es),(0,a.R3I)(es,ms),(0,a.R3I)(cr,Zi),(0,a.R3I)(cr,Wi),(0,a.R3I)(Wi,Fs),(0,a.R3I)(Wi,Ba),(0,a.R3I)(Wi,Ae),(0,a.R3I)(Ae,je),(0,a.R3I)(cr,Je),(0,a.R3I)(cr,Me),(0,a.R3I)(Me,Qe),(0,a.R3I)(Me,Ht),(0,a.R3I)(Me,Bt),(0,a.R3I)(Bt,Mn),(0,a.R3I)(cr,Dr),(0,a.R3I)(cr,zn),(0,a.R3I)(zn,Jr),(0,a.R3I)(zn,Ni),(0,a.R3I)(zn,To),(0,a.R3I)(To,Ao),(0,a.R3I)(cr,Lo),(0,a.R3I)(cr,la),(0,a.R3I)(la,Rs),(0,a.R3I)(la,Fa),(0,a.R3I)(la,ks),(0,a.R3I)(ks,xs),(0,a.R3I)(_n,Sa),eo&&eo.m(_n,null),(0,a.R3I)(_n,rl),ka&&ka.m(_n,null),(0,a.R3I)(_n,Ll),ol&&ol.m(_n,null),(0,a.R3I)(_n,Zl),sl&&sl.m(_n,null),(0,a.R3I)(_n,Ra),(0,a.R3I)(_n,Ri),(0,a.R3I)(Ri,$o),(0,a.R3I)($o,Oo),(0,a.R3I)(Oo,ts),(0,a.R3I)(Oo,js),(0,a.yef)(zi,js,null),(0,a.R3I)(Ri,Ya),Ol&&Ol.m(Ri,null),(0,a.R3I)(Ri,ja),(0,a.R3I)(Ri,gs),(0,a.R3I)(gs,va),(0,a.R3I)(va,ea),Ks=!0,il||(zu=(0,a.oLt)(ie,"click",Ou),il=!0)},p:function(Bl,qs){le=Bl,(!Ks||1024&qs)&&oc!==(oc=le[10].name+"")&&(0,a.rTO)(_e,oc),(!Ks||1024&qs)&&Nl!==(Nl=le[10].method+"")&&(0,a.rTO)(Ve,Nl),(!Ks||1024&qs)&&$u!==($u=le[10].statusText+"")&&(0,a.rTO)(Tt,$u),(!Ks||1024&qs)&&ku!==(ku=le[10].costTime+"")&&(0,a.rTO)(dn,ku),1024&qs&&(0,a.VHj)(ie,"vc-table-row-error",le[10].status>=400);var pu={};1024&qs&&(pu.content=le[10]),di.$set(pu),(!Ks||1024&qs)&&Wu!==(Wu=le[10].url+"")&&(0,a.rTO)(ms,Wu),(!Ks||1024&qs)&&eu!==(eu=le[10].method+"")&&(0,a.rTO)(je,eu),(!Ks||1024&qs)&&bu!==(bu=le[10].requestType+"")&&(0,a.rTO)(Mn,bu),(!Ks||1024&qs)&&Eu!==(Eu=le[10].status+"")&&(0,a.rTO)(Ao,Eu),(!Ks||1024&qs)&&Nu!==(Nu=le[10].startTimeText+"")&&(0,a.rTO)(xs,Nu),null!==le[10].requestHeader?eo?(eo.p(le,qs),1024&qs&&(0,a.Ui)(eo,1)):((eo=_o(le)).c(),(0,a.Ui)(eo,1),eo.m(_n,rl)):eo&&((0,a.dvw)(),(0,a.etI)(eo,1,1,function(){eo=null}),(0,a.gbL)()),null!==le[10].getData?ka?(ka.p(le,qs),1024&qs&&(0,a.Ui)(ka,1)):((ka=is(le)).c(),(0,a.Ui)(ka,1),ka.m(_n,Ll)):ka&&((0,a.dvw)(),(0,a.etI)(ka,1,1,function(){ka=null}),(0,a.gbL)()),null!==le[10].postData?ol?(ol.p(le,qs),1024&qs&&(0,a.Ui)(ol,1)):((ol=Go(le)).c(),(0,a.Ui)(ol,1),ol.m(_n,Zl)):ol&&((0,a.dvw)(),(0,a.etI)(ol,1,1,function(){ol=null}),(0,a.gbL)()),null!==le[10].header?sl?(sl.p(le,qs),1024&qs&&(0,a.Ui)(sl,1)):((sl=Ea(le)).c(),(0,a.Ui)(sl,1),sl.m(_n,Ra)):sl&&((0,a.dvw)(),(0,a.etI)(sl,1,1,function(){sl=null}),(0,a.gbL)());var Wc={};1024&qs&&(Wc.content=le[10].response),zi.$set(Wc),le[10].responseSize>0?Ol?Ol.p(le,qs):((Ol=La(le)).c(),Ol.m(Ri,ja)):Ol&&(Ol.d(1),Ol=null),(!Ks||1024&qs)&&tu!==(tu=(le[10].response||"")+"")&&(0,a.rTO)(ea,tu),(!Ks||1024&qs&&Ua!==(Ua=le[10].id))&&(0,a.Ljt)(pe,"id",Ua),1024&qs&&(0,a.VHj)(pe,"vc-actived",le[10].actived)},i:function(Bl){Ks||((0,a.Ui)(di.$$.fragment,Bl),(0,a.Ui)(eo),(0,a.Ui)(ka),(0,a.Ui)(ol),(0,a.Ui)(sl),(0,a.Ui)(zi.$$.fragment,Bl),Ks=!0)},o:function(Bl){(0,a.etI)(di.$$.fragment,Bl),(0,a.etI)(eo),(0,a.etI)(ka),(0,a.etI)(ol),(0,a.etI)(sl),(0,a.etI)(zi.$$.fragment,Bl),Ks=!1},d:function(Bl){Bl&&(0,a.ogt)(pe),(0,a.vpE)(di),eo&&eo.d(),ka&&ka.d(),ol&&ol.d(),sl&&sl.d(),(0,a.vpE)(zi),Ol&&Ol.d(),il=!1,zu()}}}function xr(le){var pe,ie,se,_e;return se=new xi({props:{items:le[1],itemKey:"id",itemHeight:30,buffer:100,stickToBottom:!0,scrollbar:!0,$$slots:{item:[Nn,function(De){return{10:De.item}},function(De){return De.item?1024:0}],empty:[Ga],header:[_a]},$$scope:{ctx:le}}}),{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.bGB)("div"),(0,a.YCL)(se.$$.fragment),(0,a.Ljt)(ie,"class","vc-plugin-content"),(0,a.Ljt)(pe,"class","vc-table")},m:function(De,Ve){(0,a.$Tr)(De,pe,Ve),(0,a.R3I)(pe,ie),(0,a.yef)(se,ie,null),_e=!0},p:function(De,Ve){var ut=Ve[0],Tt={};2&ut&&(Tt.items=De[1]),2098177&ut&&(Tt.$$scope={dirty:ut,ctx:De}),se.$set(Tt)},i:function(De){_e||((0,a.Ui)(se.$$.fragment,De),_e=!0)},o:function(De){(0,a.etI)(se.$$.fragment,De),_e=!1},d:function(De){De&&(0,a.ogt)(pe),(0,a.vpE)(se)}}}function kr(le,pe,ie){var se;(0,a.FIv)(le,Ps,function(Xt){return ie(6,se=Xt)});var _e=0,De=function(Xt){ie(0,_e=Object.keys(Xt).length)},Ve=Ps.subscribe(De);De(se);var ut=[],Tt=function(Xt){(0,a.fxP)(Ps,se[Xt].actived=!se[Xt].actived,se)};return(0,E.H3)(function(){Ma.use()}),(0,E.ev)(function(){Ve(),Ma.unuse()}),le.$$.update=function(){64&le.$$.dirty&&ie(1,ut=Object.values(se))},[_e,ut,Tt,function(Xt){var dn="curl -X "+Xt.method;return"string"==typeof Xt.postData?dn+=" -d '"+Xt.postData+"'":"object"==typeof Xt.postData&&null!==Xt.postData&&(dn+=" -d '"+_.hZ(Xt.postData)+"'"),dn+" '"+Xt.url+"'"},function(Xt){return _.Kn(Xt)||_.kJ(Xt)?_.hZ(Xt,{maxDepth:10,keyMaxLen:1e4,pretty:!0}):Xt},{fixedHeight:!0},se,function(Xt){return Tt(Xt.id)}]}var fo=function(le){function pe(ie){var se;return se=le.call(this)||this,(0,a.S1n)((0,o.Z)(se),ie,kr,xr,a.N8,{options:5}),se}return(0,C.Z)(pe,le),(0,ge.Z)(pe,[{key:"options",get:function(){return this.$$.ctx[5]}}]),pe}(a.f_C),zo=function(le){function pe(){for(var se,_e=arguments.length,De=new Array(_e),Ve=0;Ve<_e;Ve++)De[Ve]=arguments[Ve];return(se=le.call.apply(le,[this].concat(De))||this).model=Xa.getSingleton(Xa,"VConsoleNetworkModel"),se}(0,C.Z)(pe,le);var ie=pe.prototype;return ie.add=function(se){var _e=new qa(new aa);for(var De in se)_e[De]=se[De];return _e.startTime=_e.startTime||Date.now(),_e.requestType=_e.requestType||"custom",this.model.updateRequest(_e.id,_e),_e},ie.update=function(se,_e){this.model.updateRequest(se,_e)},ie.clear=function(){this.model.clearLog()},pe}(ua),Es=function(le){function pe(se,_e,De){var Ve;return void 0===De&&(De={}),(Ve=le.call(this,se,_e,fo,De)||this).model=Xa.getSingleton(Xa,"VConsoleNetworkModel"),Ve.exporter=void 0,Ve.exporter=new zo(se),Ve}(0,C.Z)(pe,le);var ie=pe.prototype;return ie.onReady=function(){le.prototype.onReady.call(this),this.onUpdateOption()},ie.onAddTool=function(se){var _e=this;se([{name:"Clear",global:!1,onClick:function(De){_e.model.clearLog()}}])},ie.onRemove=function(){le.prototype.onRemove.call(this),this.model&&this.model.unMock()},ie.onUpdateOption=function(){var se,_e,De;(null==(se=this.vConsole.option.network)?void 0:se.maxNetworkNumber)!==this.model.maxNetworkNumber&&(this.model.maxNetworkNumber=Number(null==(De=this.vConsole.option.network)?void 0:De.maxNetworkNumber)||1e3),null!=(_e=this.vConsole.option.network)&&_e.ignoreUrlRegExp&&(this.model.ignoreUrlRegExp=this.vConsole.option.network.ignoreUrlRegExp)},pe}(Vt),Ce=__nested_webpack_require_223763__(8679),ye=__nested_webpack_require_223763__.n(Ce),$e=(0,Ji.fZ)(),tt=(0,Ji.fZ)(),Et=__nested_webpack_require_223763__(5670),A={};Et.Z&&Et.Z.locals&&(A.locals=Et.Z.locals);var W,oe=0,be={};be.styleTagTransform=k(),be.setAttributes=p(),be.insert=g().bind(null,"head"),be.domAPI=u(),be.insertStyleElement=R(),A.use=function(le){return be.options=le||{},oe++||(W=s()(Et.Z,be)),A},A.unuse=function(){oe>0&&! --oe&&(W(),W=null)};var Ue=A;function Ye(le,pe,ie){var se=le.slice();return se[8]=pe[ie],se}function kt(le,pe,ie){var se=le.slice();return se[11]=pe[ie],se}function on(le){var pe,ie,se,_e=le[0].nodeType===Node.ELEMENT_NODE&&xn(le),De=le[0].nodeType===Node.TEXT_NODE&&Le(le);return{c:function(){pe=(0,a.bGB)("div"),_e&&_e.c(),ie=(0,a.DhX)(),De&&De.c(),(0,a.Ljt)(pe,"class","vcelm-l"),(0,a.VHj)(pe,"vc-actived",le[0]._isActived),(0,a.VHj)(pe,"vc-toggle",le[0]._isExpand),(0,a.VHj)(pe,"vcelm-noc",le[0]._isSingleLine)},m:function(Ve,ut){(0,a.$Tr)(Ve,pe,ut),_e&&_e.m(pe,null),(0,a.R3I)(pe,ie),De&&De.m(pe,null),se=!0},p:function(Ve,ut){Ve[0].nodeType===Node.ELEMENT_NODE?_e?(_e.p(Ve,ut),1&ut&&(0,a.Ui)(_e,1)):((_e=xn(Ve)).c(),(0,a.Ui)(_e,1),_e.m(pe,ie)):_e&&((0,a.dvw)(),(0,a.etI)(_e,1,1,function(){_e=null}),(0,a.gbL)()),Ve[0].nodeType===Node.TEXT_NODE?De?De.p(Ve,ut):((De=Le(Ve)).c(),De.m(pe,null)):De&&(De.d(1),De=null),1&ut&&(0,a.VHj)(pe,"vc-actived",Ve[0]._isActived),1&ut&&(0,a.VHj)(pe,"vc-toggle",Ve[0]._isExpand),1&ut&&(0,a.VHj)(pe,"vcelm-noc",Ve[0]._isSingleLine)},i:function(Ve){se||((0,a.Ui)(_e),se=!0)},o:function(Ve){(0,a.etI)(_e),se=!1},d:function(Ve){Ve&&(0,a.ogt)(pe),_e&&_e.d(),De&&De.d()}}}function xn(le){var pe,ie,se,_e,De,Ve,ut,Tt,Xt,dn,Rn=le[0].nodeName+"",_n=(le[0].className||le[0].attributes.length)&&pr(le),cr=le[0]._isNullEndTag&&jr(),Gn=le[0].childNodes.length>0&&qn(le),Cr=!le[0]._isNullEndTag&&_i(le);return{c:function(){pe=(0,a.bGB)("span"),ie=(0,a.fLW)("<"),se=(0,a.fLW)(Rn),_n&&_n.c(),_e=(0,a.cSb)(),cr&&cr.c(),De=(0,a.fLW)(">"),Gn&&Gn.c(),Ve=(0,a.cSb)(),Cr&&Cr.c(),ut=(0,a.cSb)(),(0,a.Ljt)(pe,"class","vcelm-node")},m:function(wr,ti){(0,a.$Tr)(wr,pe,ti),(0,a.R3I)(pe,ie),(0,a.R3I)(pe,se),_n&&_n.m(pe,null),(0,a.R3I)(pe,_e),cr&&cr.m(pe,null),(0,a.R3I)(pe,De),Gn&&Gn.m(wr,ti),(0,a.$Tr)(wr,Ve,ti),Cr&&Cr.m(wr,ti),(0,a.$Tr)(wr,ut,ti),Tt=!0,Xt||(dn=(0,a.oLt)(pe,"click",le[2]),Xt=!0)},p:function(wr,ti){(!Tt||1&ti)&&Rn!==(Rn=wr[0].nodeName+"")&&(0,a.rTO)(se,Rn),wr[0].className||wr[0].attributes.length?_n?_n.p(wr,ti):((_n=pr(wr)).c(),_n.m(pe,_e)):_n&&(_n.d(1),_n=null),wr[0]._isNullEndTag?cr||((cr=jr()).c(),cr.m(pe,De)):cr&&(cr.d(1),cr=null),wr[0].childNodes.length>0?Gn?(Gn.p(wr,ti),1&ti&&(0,a.Ui)(Gn,1)):((Gn=qn(wr)).c(),(0,a.Ui)(Gn,1),Gn.m(Ve.parentNode,Ve)):Gn&&((0,a.dvw)(),(0,a.etI)(Gn,1,1,function(){Gn=null}),(0,a.gbL)()),wr[0]._isNullEndTag?Cr&&(Cr.d(1),Cr=null):Cr?Cr.p(wr,ti):((Cr=_i(wr)).c(),Cr.m(ut.parentNode,ut))},i:function(wr){Tt||((0,a.Ui)(Gn),Tt=!0)},o:function(wr){(0,a.etI)(Gn),Tt=!1},d:function(wr){wr&&(0,a.ogt)(pe),_n&&_n.d(),cr&&cr.d(),Gn&&Gn.d(wr),wr&&(0,a.ogt)(Ve),Cr&&Cr.d(wr),wr&&(0,a.ogt)(ut),Xt=!1,dn()}}}function pr(le){for(var pe,ie=le[0].attributes,se=[],_e=0;_e<ie.length;_e+=1)se[_e]=Pr(kt(le,ie,_e));return{c:function(){pe=(0,a.bGB)("i");for(var De=0;De<se.length;De+=1)se[De].c();(0,a.Ljt)(pe,"class","vcelm-k")},m:function(De,Ve){(0,a.$Tr)(De,pe,Ve);for(var ut=0;ut<se.length;ut+=1)se[ut].m(pe,null)},p:function(De,Ve){if(1&Ve){var ut;for(ie=De[0].attributes,ut=0;ut<ie.length;ut+=1){var Tt=kt(De,ie,ut);se[ut]?se[ut].p(Tt,Ve):(se[ut]=Pr(Tt),se[ut].c(),se[ut].m(pe,null))}for(;ut<se.length;ut+=1)se[ut].d(1);se.length=ie.length}},d:function(De){De&&(0,a.ogt)(pe),(0,a.RMB)(se,De)}}}function Rr(le){var pe,ie=le[11].name+"";return{c:function(){pe=(0,a.fLW)(ie)},m:function(se,_e){(0,a.$Tr)(se,pe,_e)},p:function(se,_e){1&_e&&ie!==(ie=se[11].name+"")&&(0,a.rTO)(pe,ie)},d:function(se){se&&(0,a.ogt)(pe)}}}function Kr(le){var pe,ie,se,_e,De,Ve=le[11].name+"",ut=le[11].value+"";return{c:function(){pe=(0,a.fLW)(Ve),ie=(0,a.fLW)('="'),se=(0,a.bGB)("i"),_e=(0,a.fLW)(ut),De=(0,a.fLW)('"'),(0,a.Ljt)(se,"class","vcelm-v")},m:function(Tt,Xt){(0,a.$Tr)(Tt,pe,Xt),(0,a.$Tr)(Tt,ie,Xt),(0,a.$Tr)(Tt,se,Xt),(0,a.R3I)(se,_e),(0,a.$Tr)(Tt,De,Xt)},p:function(Tt,Xt){1&Xt&&Ve!==(Ve=Tt[11].name+"")&&(0,a.rTO)(pe,Ve),1&Xt&&ut!==(ut=Tt[11].value+"")&&(0,a.rTO)(_e,ut)},d:function(Tt){Tt&&(0,a.ogt)(pe),Tt&&(0,a.ogt)(ie),Tt&&(0,a.ogt)(se),Tt&&(0,a.ogt)(De)}}}function Pr(le){var pe,ie;function se(Ve,ut){return""!==Ve[11].value?Kr:Rr}var _e=se(le),De=_e(le);return{c:function(){pe=(0,a.fLW)("\xa0\n "),De.c(),ie=(0,a.cSb)()},m:function(Ve,ut){(0,a.$Tr)(Ve,pe,ut),De.m(Ve,ut),(0,a.$Tr)(Ve,ie,ut)},p:function(Ve,ut){_e===(_e=se(Ve))&&De?De.p(Ve,ut):(De.d(1),(De=_e(Ve))&&(De.c(),De.m(ie.parentNode,ie)))},d:function(Ve){Ve&&(0,a.ogt)(pe),De.d(Ve),Ve&&(0,a.ogt)(ie)}}}function jr(le){var pe;return{c:function(){pe=(0,a.fLW)("/")},m:function(ie,se){(0,a.$Tr)(ie,pe,se)},d:function(ie){ie&&(0,a.ogt)(pe)}}}function qn(le){var pe,ie,se,_e,De=[mi,Mr],Ve=[];function ut(Tt,Xt){return Tt[0]._isExpand?1:0}return pe=ut(le),ie=Ve[pe]=De[pe](le),{c:function(){ie.c(),se=(0,a.cSb)()},m:function(Tt,Xt){Ve[pe].m(Tt,Xt),(0,a.$Tr)(Tt,se,Xt),_e=!0},p:function(Tt,Xt){var dn=pe;(pe=ut(Tt))===dn?Ve[pe].p(Tt,Xt):((0,a.dvw)(),(0,a.etI)(Ve[dn],1,1,function(){Ve[dn]=null}),(0,a.gbL)(),(ie=Ve[pe])?ie.p(Tt,Xt):(ie=Ve[pe]=De[pe](Tt)).c(),(0,a.Ui)(ie,1),ie.m(se.parentNode,se))},i:function(Tt){_e||((0,a.Ui)(ie),_e=!0)},o:function(Tt){(0,a.etI)(ie),_e=!1},d:function(Tt){Ve[pe].d(Tt),Tt&&(0,a.ogt)(se)}}}function Mr(le){for(var pe,ie,se=le[0].childNodes,_e=[],De=0;De<se.length;De+=1)_e[De]=Ti(Ye(le,se,De));var Ve=function(ut){return(0,a.etI)(_e[ut],1,1,function(){_e[ut]=null})};return{c:function(){for(var ut=0;ut<_e.length;ut+=1)_e[ut].c();pe=(0,a.cSb)()},m:function(ut,Tt){for(var Xt=0;Xt<_e.length;Xt+=1)_e[Xt].m(ut,Tt);(0,a.$Tr)(ut,pe,Tt),ie=!0},p:function(ut,Tt){if(1&Tt){var Xt;for(se=ut[0].childNodes,Xt=0;Xt<se.length;Xt+=1){var dn=Ye(ut,se,Xt);_e[Xt]?(_e[Xt].p(dn,Tt),(0,a.Ui)(_e[Xt],1)):(_e[Xt]=Ti(dn),_e[Xt].c(),(0,a.Ui)(_e[Xt],1),_e[Xt].m(pe.parentNode,pe))}for((0,a.dvw)(),Xt=se.length;Xt<_e.length;Xt+=1)Ve(Xt);(0,a.gbL)()}},i:function(ut){if(!ie){for(var Tt=0;Tt<se.length;Tt+=1)(0,a.Ui)(_e[Tt]);ie=!0}},o:function(ut){_e=_e.filter(Boolean);for(var Tt=0;Tt<_e.length;Tt+=1)(0,a.etI)(_e[Tt]);ie=!1},d:function(ut){(0,a.RMB)(_e,ut),ut&&(0,a.ogt)(pe)}}}function mi(le){var pe;return{c:function(){pe=(0,a.fLW)("...")},m:function(ie,se){(0,a.$Tr)(ie,pe,se)},p:a.ZTd,i:a.ZTd,o:a.ZTd,d:function(ie){ie&&(0,a.ogt)(pe)}}}function Ti(le){var pe,ie,se;return(pe=new nt({props:{node:le[8]}})).$on("toggleNode",le[4]),{c:function(){(0,a.YCL)(pe.$$.fragment),ie=(0,a.DhX)()},m:function(_e,De){(0,a.yef)(pe,_e,De),(0,a.$Tr)(_e,ie,De),se=!0},p:function(_e,De){var Ve={};1&De&&(Ve.node=_e[8]),pe.$set(Ve)},i:function(_e){se||((0,a.Ui)(pe.$$.fragment,_e),se=!0)},o:function(_e){(0,a.etI)(pe.$$.fragment,_e),se=!1},d:function(_e){(0,a.vpE)(pe,_e),_e&&(0,a.ogt)(ie)}}}function _i(le){var pe,ie,se,_e,De=le[0].nodeName+"";return{c:function(){pe=(0,a.bGB)("span"),ie=(0,a.fLW)("</"),se=(0,a.fLW)(De),_e=(0,a.fLW)(">"),(0,a.Ljt)(pe,"class","vcelm-node")},m:function(Ve,ut){(0,a.$Tr)(Ve,pe,ut),(0,a.R3I)(pe,ie),(0,a.R3I)(pe,se),(0,a.R3I)(pe,_e)},p:function(Ve,ut){1&ut&&De!==(De=Ve[0].nodeName+"")&&(0,a.rTO)(se,De)},d:function(Ve){Ve&&(0,a.ogt)(pe)}}}function Le(le){var pe,ie,se=le[1](le[0].textContent)+"";return{c:function(){pe=(0,a.bGB)("span"),ie=(0,a.fLW)(se),(0,a.Ljt)(pe,"class","vcelm-t vcelm-noc")},m:function(_e,De){(0,a.$Tr)(_e,pe,De),(0,a.R3I)(pe,ie)},p:function(_e,De){1&De&&se!==(se=_e[1](_e[0].textContent)+"")&&(0,a.rTO)(ie,se)},d:function(_e){_e&&(0,a.ogt)(pe)}}}function it(le){var pe,ie,se=le[0]&&on(le);return{c:function(){se&&se.c(),pe=(0,a.cSb)()},m:function(_e,De){se&&se.m(_e,De),(0,a.$Tr)(_e,pe,De),ie=!0},p:function(_e,De){var Ve=De[0];_e[0]?se?(se.p(_e,Ve),1&Ve&&(0,a.Ui)(se,1)):((se=on(_e)).c(),(0,a.Ui)(se,1),se.m(pe.parentNode,pe)):se&&((0,a.dvw)(),(0,a.etI)(se,1,1,function(){se=null}),(0,a.gbL)())},i:function(_e){ie||((0,a.Ui)(se),ie=!0)},o:function(_e){(0,a.etI)(se),ie=!1},d:function(_e){se&&se.d(_e),_e&&(0,a.ogt)(pe)}}}function an(le,pe,ie){var se;(0,a.FIv)(le,tt,function(ut){return ie(3,se=ut)});var _e=pe.node,De=(0,E.x)(),Ve=["br","hr","img","input","link","meta"];return(0,E.H3)(function(){Ue.use()}),(0,E.ev)(function(){Ue.unuse()}),le.$$set=function(ut){"node"in ut&&ie(0,_e=ut.node)},le.$$.update=function(){9&le.$$.dirty&&_e&&(ie(0,_e._isActived=_e===se,_e),ie(0,_e._isNullEndTag=Ve.indexOf(_e.nodeName)>-1,_e),ie(0,_e._isSingleLine=0===_e.childNodes.length||_e._isNullEndTag,_e))},[_e,function(ut){return ut.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},function(){_e._isNullEndTag||(ie(0,_e._isExpand=!_e._isExpand,_e),De("toggleNode",{node:_e}))},se,function(ut){a.cKT.call(this,le,ut)}]}var nt=function(le){function pe(ie){var se;return se=le.call(this)||this,(0,a.S1n)((0,o.Z)(se),ie,an,it,a.N8,{node:0}),se}return(0,C.Z)(pe,le),(0,ge.Z)(pe,[{key:"node",get:function(){return this.$$.ctx[0]},set:function(ie){this.$$set({node:ie}),(0,a.yl1)()}}]),pe}(a.f_C),Qt=nt;function Fn(le){var pe,ie,se;return(ie=new Qt({props:{node:le[0]}})).$on("toggleNode",le[1]),{c:function(){pe=(0,a.bGB)("div"),(0,a.YCL)(ie.$$.fragment),(0,a.Ljt)(pe,"class","vc-plugin-content")},m:function(_e,De){(0,a.$Tr)(_e,pe,De),(0,a.yef)(ie,pe,null),se=!0},p:function(_e,De){var Ve={};1&De[0]&&(Ve.node=_e[0]),ie.$set(Ve)},i:function(_e){se||((0,a.Ui)(ie.$$.fragment,_e),se=!0)},o:function(_e){(0,a.etI)(ie.$$.fragment,_e),se=!1},d:function(_e){_e&&(0,a.ogt)(pe),(0,a.vpE)(ie)}}}function vr(le,pe,ie){var se;return(0,a.FIv)(le,$e,function(_e){return ie(0,se=_e)}),[se,function(_e){a.cKT.call(this,le,_e)}]}var co=function(le){function pe(ie){var se;return se=le.call(this)||this,(0,a.S1n)((0,o.Z)(se),ie,vr,Fn,a.N8,{}),se}return(0,C.Z)(pe,le),pe}(a.f_C),so=function(le){function pe(se,_e,De){var Ve;return void 0===De&&(De={}),(Ve=le.call(this,se,_e,co,De)||this).isInited=!1,Ve.observer=void 0,Ve.nodeMap=void 0,Ve}(0,C.Z)(pe,le);var ie=pe.prototype;return ie.onShow=function(){this.isInited||this._init()},ie.onRemove=function(){le.prototype.onRemove.call(this),this.isInited&&(this.observer.disconnect(),this.isInited=!1,this.nodeMap=void 0,$e.set(void 0))},ie.onAddTool=function(se){var _e=this;se([{name:"Expand",global:!1,onClick:function(De){_e._expandActivedNode()}},{name:"Collapse",global:!1,onClick:function(De){_e._collapseActivedNode()}}])},ie._init=function(){var se=this;this.isInited=!0,this.nodeMap=new WeakMap;var _e=this._generateVNode(document.documentElement);_e._isExpand=!0,tt.set(_e),$e.set(_e),this.compInstance.$on("toggleNode",function(De){tt.set(De.detail.node)}),this.observer=new(ye())(function(De){for(var Ve=0;Ve<De.length;Ve++){var ut=De[Ve];se._isInVConsole(ut.target)||se._handleMutation(ut)}}),this.observer.observe(document.documentElement,{attributes:!0,childList:!0,characterData:!0,subtree:!0})},ie._handleMutation=function(se){switch(se.type){case"childList":se.removedNodes.length>0&&this._onChildRemove(se),se.addedNodes.length>0&&this._onChildAdd(se);break;case"attributes":this._onAttributesChange(se);break;case"characterData":this._onCharacterDataChange(se)}},ie._onChildRemove=function(se){var _e=this.nodeMap.get(se.target);if(_e){for(var De=0;De<se.removedNodes.length;De++){var Ve=this.nodeMap.get(se.removedNodes[De]);if(Ve){for(var ut=0;ut<_e.childNodes.length;ut++)if(_e.childNodes[ut]===Ve){_e.childNodes.splice(ut,1);break}this.nodeMap.delete(se.removedNodes[De])}}this._refreshStore()}},ie._onChildAdd=function(se){var _e=this.nodeMap.get(se.target);if(_e){for(var De=0;De<se.addedNodes.length;De++){var Ve=se.addedNodes[De],ut=this._generateVNode(Ve);if(ut){var Tt=void 0,Xt=Ve;do{if(null===Xt.nextSibling)break;Xt.nodeType===Node.ELEMENT_NODE&&(Tt=this.nodeMap.get(Xt.nextSibling)||void 0),Xt=Xt.nextSibling}while(void 0===Tt);if(void 0===Tt)_e.childNodes.push(ut);else for(var dn=0;dn<_e.childNodes.length;dn++)if(_e.childNodes[dn]===Tt){_e.childNodes.splice(dn,0,ut);break}}}this._refreshStore()}},ie._onAttributesChange=function(se){this._updateVNodeAttributes(se.target),this._refreshStore()},ie._onCharacterDataChange=function(se){var _e=this.nodeMap.get(se.target);_e&&(_e.textContent=se.target.textContent,this._refreshStore())},ie._generateVNode=function(se){if(!this._isIgnoredNode(se)){var _e={nodeType:se.nodeType,nodeName:se.nodeName.toLowerCase(),textContent:"",id:"",className:"",attributes:[],childNodes:[]};if(this.nodeMap.set(se,_e),_e.nodeType!=se.TEXT_NODE&&_e.nodeType!=se.DOCUMENT_TYPE_NODE||(_e.textContent=se.textContent),se.childNodes.length>0){_e.childNodes=[];for(var De=0;De<se.childNodes.length;De++){var Ve=this._generateVNode(se.childNodes[De]);Ve&&_e.childNodes.push(Ve)}}return this._updateVNodeAttributes(se),_e}},ie._updateVNodeAttributes=function(se){var _e=this.nodeMap.get(se);if(_e&&se instanceof Element&&(_e.id=se.id||"",_e.className=se.className||"",se.hasAttributes&&se.hasAttributes())){_e.attributes=[];for(var De=0;De<se.attributes.length;De++)_e.attributes.push({name:se.attributes[De].name,value:se.attributes[De].value||""})}},ie._expandActivedNode=function(){var se=(0,Ji.U2)(tt);if(se._isExpand)for(var _e=0;_e<se.childNodes.length;_e++)se.childNodes[_e]._isExpand=!0;else se._isExpand=!0;this._refreshStore()},ie._collapseActivedNode=function(){var se=(0,Ji.U2)(tt);if(se._isExpand){for(var _e=!1,De=0;De<se.childNodes.length;De++)se.childNodes[De]._isExpand&&(_e=!0,se.childNodes[De]._isExpand=!1);_e||(se._isExpand=!1),this._refreshStore()}},ie._isIgnoredNode=function(se){if(se.nodeType===se.TEXT_NODE){if(""===se.textContent.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$|\n+/g,""))return!0}else if(se.nodeType===se.COMMENT_NODE)return!0;return!1},ie._isInVConsole=function(se){for(var _e=se;void 0!==_e;){if("__vconsole"==_e.id)return!0;_e=_e.parentElement||void 0}return!1},ie._refreshStore=function(){$e.update(function(se){return se})},pe}(Vt);function ro(le,pe,ie,se,_e,De,Ve){try{var ut=le[De](Ve),Tt=ut.value}catch(Xt){return void ie(Xt)}ut.done?pe(Tt):Promise.resolve(Tt).then(se,_e)}function ao(le){return function(){var pe=this,ie=arguments;return new Promise(function(se,_e){var De=le.apply(pe,ie);function Ve(Tt){ro(De,se,_e,Ve,ut,"next",Tt)}function ut(Tt){ro(De,se,_e,Ve,ut,"throw",Tt)}Ve(void 0)})}}var Mo=__nested_webpack_require_223763__(8270);function ps(le,pe){var ie=Object.keys(le);if(Object.getOwnPropertySymbols){var se=Object.getOwnPropertySymbols(le);pe&&(se=se.filter(function(_e){return Object.getOwnPropertyDescriptor(le,_e).enumerable})),ie.push.apply(ie,se)}return ie}function Ho(le){for(var pe=1;pe<arguments.length;pe++){var ie=null!=arguments[pe]?arguments[pe]:{};pe%2?ps(Object(ie),!0).forEach(function(se){(0,Mo.Z)(le,se,ie[se])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ie)):ps(Object(ie)).forEach(function(se){Object.defineProperty(le,se,Object.getOwnPropertyDescriptor(ie,se))})}return le}var bo=function(le){if(!le||0===le.length)return{};for(var pe={},ie=le.split(";"),se=0;se<ie.length;se++){var _e=ie[se].indexOf("=");if(!(_e<0)){var De=ie[se].substring(0,_e).replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),Ve=ie[se].substring(_e+1,ie[se].length);try{De=decodeURIComponent(De)}catch{}try{Ve=decodeURIComponent(Ve)}catch{}pe[De]=Ve}}return pe},ri=function(le,pe,ie){typeof document<"u"&&void 0!==document.cookie&&(document.cookie=encodeURIComponent(le)+"="+encodeURIComponent(pe)+function(se){void 0===se&&(se={});var De=se.path,Ve=se.domain,ut=se.expires,Tt=se.secure,Xt=se.sameSite,dn=["none","lax","strict"].indexOf((Xt||"").toLowerCase())>-1?Xt:null;return[null==De?"":";path="+De,null==Ve?"":";domain="+Ve,null==ut?"":";expires="+ut.toUTCString(),void 0===Tt||!1===Tt?"":";secure",null===dn?"":";SameSite="+dn].join("")}(ie))},Vi=function(){return typeof document>"u"||void 0===document.cookie?"":document.cookie},Ds=function(){function le(){}var pe=le.prototype;return pe.key=function(ie){return ie<this.keys.length?this.keys[ie]:null},pe.setItem=function(ie,se,_e){ri(ie,se,_e)},pe.getItem=function(ie){var se=bo(Vi());return Object.prototype.hasOwnProperty.call(se,ie)?se[ie]:null},pe.removeItem=function(ie,se){for(var _e,De,Ve=["","/"],ut=(null==(_e=location)||null==(De=_e.hostname)?void 0:De.split("."))||[];ut.length>1;)Ve.push(ut.join(".")),ut.shift();for(var Tt=0;Tt<Ve.length;Tt++)for(var Xt,dn,Rn=(null==(Xt=location)||null==(dn=Xt.pathname)?void 0:dn.split("/"))||[],_n="";Rn.length>0;){_n+=("/"===_n?"":"/")+Rn.shift();var cr=Ho(Ho({},se),{},{path:_n,domain:Ve[Tt],expires:new Date(0)});ri(ie,"",cr)}},pe.clear=function(){for(var ie=[].concat(this.keys),se=0;se<ie.length;se++)this.removeItem(ie[se])},(0,ge.Z)(le,[{key:"length",get:function(){return this.keys.length}},{key:"keys",get:function(){var ie=bo(Vi());return Object.keys(ie).sort()}}]),le}(),na=function(){function le(){this.keys=[],this.currentSize=0,this.limitSize=0}var ie,pe=le.prototype;return pe.key=function(ie){return ie<this.keys.length?this.keys[ie]:null},pe.prepare=(ie=ao(In().mark(function se(){var _e=this;return In().wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return De.abrupt("return",new Promise(function(Ve,ut){(0,_.qt)("getStorageInfo",{success:function(Tt){_e.keys=Tt?Tt.keys.sort():[],_e.currentSize=Tt?Tt.currentSize:0,_e.limitSize=Tt?Tt.limitSize:0,Ve(!0)},fail:function(){ut(!1)}})}));case 1:case"end":return De.stop()}},se)})),function(){return ie.apply(this,arguments)}),pe.getItem=function(ie){return new Promise(function(se,_e){(0,_.qt)("getStorage",{key:ie,success:function(De){var Ve=De.data;if("object"==typeof De.data)try{Ve=JSON.stringify(De.data)}catch{}se(Ve)},fail:function(De){_e(De)}})})},pe.setItem=function(ie,se){return new Promise(function(_e,De){(0,_.qt)("setStorage",{key:ie,data:se,success:function(Ve){_e(Ve)},fail:function(Ve){De(Ve)}})})},pe.removeItem=function(ie){return new Promise(function(se,_e){(0,_.qt)("removeStorage",{key:ie,success:function(De){se(De)},fail:function(De){_e(De)}})})},pe.clear=function(){return new Promise(function(ie,se){(0,_.qt)("clearStorage",{success:function(_e){ie(_e)},fail:function(_e){se(_e)}})})},(0,ge.Z)(le,[{key:"length",get:function(){return this.keys.length}}]),le}(),Ro={updateTime:(0,Ji.fZ)(0),activedName:(0,Ji.fZ)(null),defaultStorages:(0,Ji.fZ)(["cookies","localStorage","sessionStorage"])},Bs=function(le){function pe(){var se;return(se=le.call(this)||this).storage=new Map,Ro.activedName.subscribe(function(_e){var De=(0,Ji.U2)(Ro.defaultStorages);De.length>0&&-1===De.indexOf(_e)&&Ro.activedName.set(De[0])}),Ro.defaultStorages.subscribe(function(_e){-1===_e.indexOf((0,Ji.U2)(Ro.activedName))&&Ro.activedName.set(_e[0]),se.updateEnabledStorages()}),se}(0,C.Z)(pe,le);var se,ie=pe.prototype;return ie.getItem=(se=ao(In().mark(function _e(De){return In().wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:if(this.activedStorage){Ve.next=2;break}return Ve.abrupt("return","");case 2:return Ve.next=4,this.promisify(this.activedStorage.getItem(De));case 4:return Ve.abrupt("return",Ve.sent);case 5:case"end":return Ve.stop()}},_e,this)})),function(_e){return se.apply(this,arguments)}),ie.setItem=function(){var se=ao(In().mark(function _e(De,Ve){var ut;return In().wrap(function(Tt){for(;;)switch(Tt.prev=Tt.next){case 0:if(this.activedStorage){Tt.next=2;break}return Tt.abrupt("return");case 2:return Tt.next=4,this.promisify(this.activedStorage.setItem(De,Ve));case 4:return ut=Tt.sent,this.refresh(),Tt.abrupt("return",ut);case 7:case"end":return Tt.stop()}},_e,this)}));return function(_e,De){return se.apply(this,arguments)}}(),ie.removeItem=function(){var se=ao(In().mark(function _e(De){var Ve;return In().wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:if(this.activedStorage){ut.next=2;break}return ut.abrupt("return");case 2:return ut.next=4,this.promisify(this.activedStorage.removeItem(De));case 4:return Ve=ut.sent,this.refresh(),ut.abrupt("return",Ve);case 7:case"end":return ut.stop()}},_e,this)}));return function(_e){return se.apply(this,arguments)}}(),ie.clear=function(){var se=ao(In().mark(function _e(){var De;return In().wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:if(this.activedStorage){Ve.next=2;break}return Ve.abrupt("return");case 2:return Ve.next=4,this.promisify(this.activedStorage.clear());case 4:return De=Ve.sent,this.refresh(),Ve.abrupt("return",De);case 7:case"end":return Ve.stop()}},_e,this)}));return function(){return se.apply(this,arguments)}}(),ie.refresh=function(){Ro.updateTime.set(Date.now())},ie.getEntries=function(){var se=ao(In().mark(function _e(){var De,Ve,ut,Tt;return In().wrap(function(dn){for(;;)switch(dn.prev=dn.next){case 0:if(De=this.activedStorage){dn.next=3;break}return dn.abrupt("return",[]);case 3:if("function"!=typeof De.prepare){dn.next=6;break}return dn.next=6,De.prepare();case 6:Ve=[],ut=0;case 8:if(!(ut<De.length)){dn.next=17;break}return Tt=De.key(ut),dn.next=12,this.getItem(Tt);case 12:Ve.push([Tt,dn.sent]);case 14:ut++,dn.next=8;break;case 17:return dn.abrupt("return",Ve);case 18:case"end":return dn.stop()}},_e,this)}));return function(){return se.apply(this,arguments)}}(),ie.updateEnabledStorages=function(){var se=(0,Ji.U2)(Ro.defaultStorages);se.indexOf("cookies")>-1?void 0!==document.cookie&&this.storage.set("cookies",new Ds):this.deleteStorage("cookies"),se.indexOf("localStorage")>-1?window.localStorage&&this.storage.set("localStorage",window.localStorage):this.deleteStorage("localStorage"),se.indexOf("sessionStorage")>-1?window.sessionStorage&&this.storage.set("sessionStorage",window.sessionStorage):this.deleteStorage("sessionStorage"),se.indexOf("wxStorage")>-1?(0,_.H_)()&&this.storage.set("wxStorage",new na):this.deleteStorage("wxStorage")},ie.promisify=function(se){return"string"==typeof se||null==se?Promise.resolve(se):se},ie.deleteStorage=function(se){this.storage.has(se)&&this.storage.delete(se)},(0,ge.Z)(pe,[{key:"activedStorage",get:function(){return this.storage.get((0,Ji.U2)(Ro.activedName))}}]),pe}(Pa.N);function ll(le,pe,ie){var se=le.slice();return se[20]=pe[ie][0],se[21]=pe[ie][1],se[23]=ie,se}function Is(le){var pe;return{c:function(){(pe=(0,a.bGB)("div")).textContent="Empty",(0,a.Ljt)(pe,"class","vc-plugin-empty")},m:function(ie,se){(0,a.$Tr)(ie,pe,se)},p:a.ZTd,d:function(ie){ie&&(0,a.ogt)(pe)}}}function Ws(le){var pe,ie,se,_e,De,Ve=le[20]+"",ut=le[5](le[21])+"";return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.fLW)(Ve),se=(0,a.DhX)(),_e=(0,a.bGB)("div"),De=(0,a.fLW)(ut),(0,a.Ljt)(pe,"class","vc-table-col"),(0,a.Ljt)(_e,"class","vc-table-col vc-table-col-2")},m:function(Tt,Xt){(0,a.$Tr)(Tt,pe,Xt),(0,a.R3I)(pe,ie),(0,a.$Tr)(Tt,se,Xt),(0,a.$Tr)(Tt,_e,Xt),(0,a.R3I)(_e,De)},p:function(Tt,Xt){1&Xt&&Ve!==(Ve=Tt[20]+"")&&(0,a.rTO)(ie,Ve),1&Xt&&ut!==(ut=Tt[5](Tt[21])+"")&&(0,a.rTO)(De,ut)},d:function(Tt){Tt&&(0,a.ogt)(pe),Tt&&(0,a.ogt)(se),Tt&&(0,a.ogt)(_e)}}}function za(le){var pe,ie,se,_e,De,Ve,ut;return{c:function(){pe=(0,a.bGB)("div"),ie=(0,a.bGB)("textarea"),se=(0,a.DhX)(),_e=(0,a.bGB)("div"),De=(0,a.bGB)("textarea"),(0,a.Ljt)(ie,"class","vc-table-input"),(0,a.Ljt)(pe,"class","vc-table-col"),(0,a.Ljt)(De,"class","vc-table-input"),(0,a.Ljt)(_e,"class","vc-table-col vc-table-col-2")},m:function(Tt,Xt){(0,a.$Tr)(Tt,pe,Xt),(0,a.R3I)(pe,ie),(0,a.BmG)(ie,le[2]),(0,a.$Tr)(Tt,se,Xt),(0,a.$Tr)(Tt,_e,Xt),(0,a.R3I)(_e,De),(0,a.BmG)(De,le[3]),Ve||(ut=[(0,a.oLt)(ie,"input",le[11]),(0,a.oLt)(De,"input",le[12])],Ve=!0)},p:function(Tt,Xt){4&Xt&&(0,a.BmG)(ie,Tt[2]),8&Xt&&(0,a.BmG)(De,Tt[3])},d:function(Tt){Tt&&(0,a.ogt)(pe),Tt&&(0,a.ogt)(se),Tt&&(0,a.ogt)(_e),Ve=!1,(0,a.j7q)(ut)}}}function ho(le){var pe,ie,se,_e,De,Ve;return(pe=new Tn.Z({props:{name:"delete"}})).$on("click",function(){return le[14](le[20])}),se=new br({props:{content:[le[20],le[21]].join("=")}}),(De=new Tn.Z({props:{name:"edit"}})).$on("click",function(){return le[15](le[20],le[21],le[23])}),{c:function(){(0,a.YCL)(pe.$$.fragment),ie=(0,a.DhX)(),(0,a.YCL)(se.$$.fragment),_e=(0,a.DhX)(),(0,a.YCL)(De.$$.fragment)},m:function(ut,Tt){(0,a.yef)(pe,ut,Tt),(0,a.$Tr)(ut,ie,Tt),(0,a.yef)(se,ut,Tt),(0,a.$Tr)(ut,_e,Tt),(0,a.yef)(De,ut,Tt),Ve=!0},p:function(ut,Tt){le=ut;var Xt={};1&Tt&&(Xt.content=[le[20],le[21]].join("=")),se.$set(Xt)},i:function(ut){Ve||((0,a.Ui)(pe.$$.fragment,ut),(0,a.Ui)(se.$$.fragment,ut),(0,a.Ui)(De.$$.fragment,ut),Ve=!0)},o:function(ut){(0,a.etI)(pe.$$.fragment,ut),(0,a.etI)(se.$$.fragment,ut),(0,a.etI)(De.$$.fragment,ut),Ve=!1},d:function(ut){(0,a.vpE)(pe,ut),ut&&(0,a.ogt)(ie),(0,a.vpE)(se,ut),ut&&(0,a.ogt)(_e),(0,a.vpE)(De,ut)}}}function ul(le){var pe,ie,se,_e;return(pe=new Tn.Z({props:{name:"cancel"}})).$on("click",le[9]),(se=new Tn.Z({props:{name:"done"}})).$on("click",function(){return le[13](le[20])}),{c:function(){(0,a.YCL)(pe.$$.fragment),ie=(0,a.DhX)(),(0,a.YCL)(se.$$.fragment)},m:function(De,Ve){(0,a.yef)(pe,De,Ve),(0,a.$Tr)(De,ie,Ve),(0,a.yef)(se,De,Ve),_e=!0},p:function(De,Ve){le=De},i:function(De){_e||((0,a.Ui)(pe.$$.fragment,De),(0,a.Ui)(se.$$.fragment,De),_e=!0)},o:function(De){(0,a.etI)(pe.$$.fragment,De),(0,a.etI)(se.$$.fragment,De),_e=!1},d:function(De){(0,a.vpE)(pe,De),De&&(0,a.ogt)(ie),(0,a.vpE)(se,De)}}}function ic(le){var pe,ie,se,_e,De,Ve,ut;function Tt(Gn,Cr){return Gn[1]===Gn[23]?za:Ws}var Xt=Tt(le),dn=Xt(le),Rn=[ul,ho],_n=[];function cr(Gn,Cr){return Gn[1]===Gn[23]?0:1}return _e=cr(le),De=_n[_e]=Rn[_e](le),{c:function(){pe=(0,a.bGB)("div"),dn.c(),ie=(0,a.DhX)(),se=(0,a.bGB)("div"),De.c(),Ve=(0,a.DhX)(),(0,a.Ljt)(se,"class","vc-table-col vc-table-col-1 vc-table-action"),(0,a.Ljt)(pe,"class","vc-table-row")},m:function(Gn,Cr){(0,a.$Tr)(Gn,pe,Cr),dn.m(pe,null),(0,a.R3I)(pe,ie),(0,a.R3I)(pe,se),_n[_e].m(se,null),(0,a.R3I)(pe,Ve),ut=!0},p:function(Gn,Cr){Xt===(Xt=Tt(Gn))&&dn?dn.p(Gn,Cr):(dn.d(1),(dn=Xt(Gn))&&(dn.c(),dn.m(pe,ie)));var wr=_e;(_e=cr(Gn))===wr?_n[_e].p(Gn,Cr):((0,a.dvw)(),(0,a.etI)(_n[wr],1,1,function(){_n[wr]=null}),(0,a.gbL)(),(De=_n[_e])?De.p(Gn,Cr):(De=_n[_e]=Rn[_e](Gn)).c(),(0,a.Ui)(De,1),De.m(se,null))},i:function(Gn){ut||((0,a.Ui)(De),ut=!0)},o:function(Gn){(0,a.etI)(De),ut=!1},d:function(Gn){Gn&&(0,a.ogt)(pe),dn.d(),_n[_e].d()}}}function hu(le){for(var pe,ie,se,_e,De=le[0],Ve=[],ut=0;ut<De.length;ut+=1)Ve[ut]=ic(ll(le,De,ut));var Tt=function(dn){return(0,a.etI)(Ve[dn],1,1,function(){Ve[dn]=null})},Xt=null;return De.length||(Xt=Is()),{c:function(){pe=(0,a.bGB)("div"),(ie=(0,a.bGB)("div")).innerHTML='<div class="vc-table-col">Key</div> \n <div class="vc-table-col vc-table-col-2">Value</div> \n <div class="vc-table-col vc-table-col-1 vc-table-action"></div>',se=(0,a.DhX)();for(var dn=0;dn<Ve.length;dn+=1)Ve[dn].c();Xt&&Xt.c(),(0,a.Ljt)(ie,"class","vc-table-row"),(0,a.Ljt)(pe,"class","vc-table")},m:function(dn,Rn){(0,a.$Tr)(dn,pe,Rn),(0,a.R3I)(pe,ie),(0,a.R3I)(pe,se);for(var _n=0;_n<Ve.length;_n+=1)Ve[_n].m(pe,null);Xt&&Xt.m(pe,null),_e=!0},p:function(dn,Rn){var _n=Rn[0];if(1007&_n){var cr;for(De=dn[0],cr=0;cr<De.length;cr+=1){var Gn=ll(dn,De,cr);Ve[cr]?(Ve[cr].p(Gn,_n),(0,a.Ui)(Ve[cr],1)):(Ve[cr]=ic(Gn),Ve[cr].c(),(0,a.Ui)(Ve[cr],1),Ve[cr].m(pe,null))}for((0,a.dvw)(),cr=De.length;cr<Ve.length;cr+=1)Tt(cr);(0,a.gbL)(),!De.length&&Xt?Xt.p(dn,_n):De.length?Xt&&(Xt.d(1),Xt=null):((Xt=Is()).c(),Xt.m(pe,null))}},i:function(dn){if(!_e){for(var Rn=0;Rn<De.length;Rn+=1)(0,a.Ui)(Ve[Rn]);_e=!0}},o:function(dn){Ve=Ve.filter(Boolean);for(var Rn=0;Rn<Ve.length;Rn+=1)(0,a.etI)(Ve[Rn]);_e=!1},d:function(dn){dn&&(0,a.ogt)(pe),(0,a.RMB)(Ve,dn),Xt&&Xt.d()}}}function Cs(le,pe,ie){var se,_e=this&&this.__awaiter||function(Cr,wr,ti,di){return new(ti||(ti=Promise))(function(Si,Gi){function Ui(ms){try{es(di.next(ms))}catch(Zi){Gi(Zi)}}function os(ms){try{es(di.throw(ms))}catch(Zi){Gi(Zi)}}function es(ms){var Zi;ms.done?Si(ms.value):(Zi=ms.value,Zi instanceof ti?Zi:new ti(function(Wi){Wi(Zi)})).then(Ui,os)}es((di=di.apply(Cr,wr||[])).next())})},De=Bs.getSingleton(Bs,"VConsoleStorageModel"),Ve=Ro.updateTime;(0,a.FIv)(le,Ve,function(Cr){return ie(10,se=Cr)});var ut=[],Tt=-1,Xt="",dn="",Rn=function(){ie(1,Tt=-1),ie(2,Xt=""),ie(3,dn="")},_n=function(Cr){return _e(void 0,void 0,void 0,In().mark(function wr(){return In().wrap(function(ti){for(;;)switch(ti.prev=ti.next){case 0:return ti.next=2,De.removeItem(Cr);case 2:case"end":return ti.stop()}},wr)}))},cr=function(Cr){return _e(void 0,void 0,void 0,In().mark(function wr(){return In().wrap(function(ti){for(;;)switch(ti.prev=ti.next){case 0:if(Xt===Cr){ti.next=3;break}return ti.next=3,De.removeItem(Cr);case 3:De.setItem(Xt,dn),Rn();case 5:case"end":return ti.stop()}},wr)}))},Gn=function(Cr,wr,ti){return _e(void 0,void 0,void 0,In().mark(function di(){return In().wrap(function(Si){for(;;)switch(Si.prev=Si.next){case 0:ie(2,Xt=Cr),ie(3,dn=wr),ie(1,Tt=ti);case 3:case"end":return Si.stop()}},di)}))};return le.$$.update=function(){1024&le.$$.dirty&&se&&_e(void 0,void 0,void 0,In().mark(function Cr(){return In().wrap(function(wr){for(;;)switch(wr.prev=wr.next){case 0:return Rn(),wr.t0=ie,wr.next=4,De.getEntries();case 4:wr.t1=ut=wr.sent,(0,wr.t0)(0,wr.t1);case 6:case"end":return wr.stop()}},Cr)}))},[ut,Tt,Xt,dn,Ve,function(Cr){return(0,_.id)(Cr,1024)},_n,cr,Gn,function(){Rn()},se,function(){ie(2,Xt=this.value)},function(){ie(3,dn=this.value)},function(Cr){return cr(Cr)},function(Cr){return _n(Cr)},function(Cr,wr,ti){return Gn(Cr,wr,ti)}]}var Ca=function(le){function pe(ie){var se;return se=le.call(this)||this,(0,a.S1n)((0,o.Z)(se),ie,Cs,hu,a.N8,{}),se}return(0,C.Z)(pe,le),pe}(a.f_C),pl=function(le){function pe(se,_e,De){var Ve;return void 0===De&&(De={}),(Ve=le.call(this,se,_e,Ca,De)||this).model=Bs.getSingleton(Bs,"VConsoleStorageModel"),Ve.onAddTopBarCallback=void 0,Ve}(0,C.Z)(pe,le);var ie=pe.prototype;return ie.onReady=function(){le.prototype.onReady.call(this),this.onUpdateOption()},ie.onShow=function(){this.model.refresh()},ie.onAddTopBar=function(se){this.onAddTopBarCallback=se,this.updateTopBar()},ie.onAddTool=function(se){var _e=this;se([{name:"Add",global:!1,onClick:function(){_e.model.setItem("new_"+Date.now(),"new_value")}},{name:"Refresh",global:!1,onClick:function(){_e.model.refresh()}},{name:"Clear",global:!1,onClick:function(){_e.model.clear()}}])},ie.onUpdateOption=function(){var se,_e=null==(se=this.vConsole.option.storage)?void 0:se.defaultStorages;(0,_.kJ)(_e)&&(_e=_e.length>0?_e:["cookies"])!==(0,Ji.U2)(Ro.defaultStorages)&&(Ro.defaultStorages.set(_e),Ro.activedName.set(_e[0]),this.updateTopBar())},ie.updateTopBar=function(){var se=this;if("function"==typeof this.onAddTopBarCallback){for(var _e=(0,Ji.U2)(Ro.defaultStorages),De=[],Ve=0;Ve<_e.length;Ve++){var ut=_e[Ve];De.push({name:ut[0].toUpperCase()+ut.substring(1),data:{name:ut},actived:ut===(0,Ji.U2)(Ro.activedName),onClick:function(Tt,Xt){var dn=(0,Ji.U2)(Ro.activedName);if(Xt.name===dn)return!1;Ro.activedName.set(Xt.name),se.model.refresh()}})}this.onAddTopBarCallback(De)}},pe}(Vt),da=function(){function le(ie){var se=this;if(this.version="3.15.1",this.isInited=!1,this.option={},this.compInstance=void 0,this.pluginList={},this.log=void 0,this.system=void 0,this.network=void 0,le.instance&&le.instance instanceof le)return console.debug("[vConsole] vConsole is already exists."),le.instance;if(le.instance=this,this.isInited=!1,this.option={defaultPlugins:["system","network","element","storage"],log:{},network:{},storage:{}},_.Kn(ie))for(var _e in ie)this.option[_e]=ie[_e];void 0!==this.option.maxLogNumber&&(this.option.log.maxLogNumber=this.option.maxLogNumber,console.debug("[vConsole] Deprecated option: `maxLogNumber`, use `log.maxLogNumber` instead.")),void 0!==this.option.onClearLog&&c
1onsole.debug("[vConsole] Deprecated option: `onClearLog`."),void 0!==this.option.maxNetworkNumber&&(this.option.network.maxNetworkNumber=this.option.maxNetworkNumber,console.debug("[vConsole] Deprecated option: `maxNetworkNumber`, use `network.maxNetworkNumber` instead.")),this._addBuiltInPlugins();var Ve,De=function(){se.isInited||(se._initComponent(),se._autoRun())};void 0!==document?"loading"===document.readyState?c.bind(window,"DOMContentLoaded",De):De():Ve=setTimeout(function ut(){document&&"complete"==document.readyState?(Ve&&clearTimeout(Ve),De()):Ve=setTimeout(ut,1)},1)}var pe=le.prototype;return pe._addBuiltInPlugins=function(){this.addPlugin(new Ia("default","Log"));var ie=this.option.defaultPlugins,se={system:{proto:Us,name:"System"}};if(se.network={proto:Es,name:"Network"},se.element={proto:so,name:"Element"},se.storage={proto:pl,name:"Storage"},ie&&_.kJ(ie))for(var _e=0;_e<ie.length;_e++){var De=se[ie[_e]];De?this.addPlugin(new De.proto(ie[_e],De.name)):console.debug("[vConsole] Unrecognized default plugin ID:",ie[_e])}},pe._initComponent=function(){var ie=this;if(!c.one("#__vconsole")){var se,_e=1*_.cF("switch_x"),De=1*_.cF("switch_y");"string"==typeof this.option.target?se=document.querySelector(this.option.target):this.option.target instanceof HTMLElement&&(se=this.option.target),se instanceof HTMLElement||(se=document.documentElement),this.compInstance=new mt({target:se,props:{switchButtonPosition:{x:_e,y:De}}}),this.compInstance.$on("show",function(Ve){Ve.detail.show?ie.show():ie.hide()}),this.compInstance.$on("changePanel",function(Ve){ie.showPlugin(Ve.detail.pluginId)})}this._updateComponentByOptions()},pe._updateComponentByOptions=function(){if(this.compInstance){if(this.compInstance.theme!==this.option.theme){var ie=this.option.theme;this.compInstance.theme=ie="light"!==ie&&"dark"!==ie?"":ie}this.compInstance.disableScrolling!==this.option.disableLogScrolling&&(this.compInstance.disableScrolling=!!this.option.disableLogScrolling)}},pe.setSwitchPosition=function(ie,se){this.compInstance.switchButtonPosition={x:ie,y:se}},pe._autoRun=function(){for(var ie in this.isInited=!0,this.pluginList)this._initPlugin(this.pluginList[ie]);this._showFirstPluginWhenEmpty(),this.triggerEvent("ready")},pe._showFirstPluginWhenEmpty=function(){var ie=Object.keys(this.pluginList);""===this.compInstance.activedPluginId&&ie.length>0&&this.showPlugin(ie[0])},pe.triggerEvent=function(ie,se){var _e=this;ie="on"+ie.charAt(0).toUpperCase()+ie.slice(1),_.mf(this.option[ie])&&setTimeout(function(){_e.option[ie].apply(_e,se)},0)},pe._initPlugin=function(ie){var se=this;ie.vConsole=this,this.compInstance.pluginList[ie.id]={id:ie.id,name:ie.name,hasTabPanel:!1,tabOptions:void 0,topbarList:[],toolbarList:[],content:void 0,contentContainer:void 0},this.compInstance.pluginList=this._reorderPluginList(this.compInstance.pluginList),ie.trigger("init"),ie.trigger("renderTab",function(_e,De){void 0===De&&(De={});var Ve=se.compInstance.pluginList[ie.id];Ve.hasTabPanel=!0,Ve.tabOptions=De,_e&&(se.compInstance.pluginList[ie.id].content=_e),se.compInstance.pluginList=se.compInstance.pluginList}),ie.trigger("addTopBar",function(_e){if(_e){for(var De=[],Ve=0;Ve<_e.length;Ve++){var ut=_e[Ve];De.push({name:ut.name||"Undefined",className:ut.className||"",actived:!!ut.actived,data:ut.data,onClick:ut.onClick})}se.compInstance.pluginList[ie.id].topbarList=De,se.compInstance.pluginList=se.compInstance.pluginList}}),ie.trigger("addTool",function(_e){if(_e){for(var De=[],Ve=0;Ve<_e.length;Ve++){var ut=_e[Ve];De.push({name:ut.name||"Undefined",global:!!ut.global,data:ut.data,onClick:ut.onClick})}se.compInstance.pluginList[ie.id].toolbarList=De,se.compInstance.pluginList=se.compInstance.pluginList}}),ie.isReady=!0,ie.trigger("ready")},pe._triggerPluginsEvent=function(ie){for(var se in this.pluginList)this.pluginList[se].isReady&&this.pluginList[se].trigger(ie)},pe._triggerPluginEvent=function(ie,se){var _e=this.pluginList[ie];_e&&_e.isReady&&_e.trigger(se)},pe._reorderPluginList=function(ie){var se=this;if(!_.kJ(this.option.pluginOrder))return ie;for(var _e=Object.keys(ie).sort(function(ut,Tt){var Xt=se.option.pluginOrder.indexOf(ut),dn=se.option.pluginOrder.indexOf(Tt);return Xt===dn?0:-1===Xt?1:-1===dn?-1:Xt-dn}),De={},Ve=0;Ve<_e.length;Ve++)De[_e[Ve]]=ie[_e[Ve]];return De},pe.addPlugin=function(ie){return void 0!==this.pluginList[ie.id]?(console.debug("[vConsole] Plugin `"+ie.id+"` has already been added."),!1):(this.pluginList[ie.id]=ie,this.isInited&&(this._initPlugin(ie),this._showFirstPluginWhenEmpty()),!0)},pe.removePlugin=function(ie){ie=(ie+"").toLowerCase();var se=this.pluginList[ie];if(void 0===se)return console.debug("[vConsole] Plugin `"+ie+"` does not exist."),!1;
1se.trigger("remove");try{delete this.pluginList[ie],delete this.compInstance.pluginList[ie]}catch{this.pluginList[ie]=void 0,this.compInstance.pluginList[ie]=void 0}return this.compInstance.pluginList=this.compInstance.pluginList,this.compInstance.activedPluginId==ie&&(this.compInstance.activedPluginId="",this._showFirstPluginWhenEmpty()),!0},pe.show=function(){this.isInited&&(this.compInstance.show=!0,this._triggerPluginsEvent("showConsole"))},pe.hide=function(){this.isInited&&(this.compInstance.show=!1,this._triggerPluginsEvent("hideConsole"))},pe.showSwitch=function(){this.isInited&&(this.compInstance.showSwitchButton=!0)},pe.hideSwitch=function(){this.isInited&&(this.compInstance.showSwitchButton=!1)},pe.showPlugin=function(ie){this.isInited&&(this.pluginList[ie]||console.debug("[vConsole] Plugin `"+ie+"` does not exist."),this.compInstance.activedPluginId&&this._triggerPluginEvent(this.compInstance.activedPluginId,"hide"),this.compInstance.activedPluginId=ie,this._triggerPluginEvent(this.compInstance.activedPluginId,"show"))},pe.setOption=function(ie,se){if("string"==typeof ie){for(var _e=ie.split("."),De=this.option,Ve=0;Ve<_e.length;Ve++){if("__proto__"===_e[Ve]||"constructor"===_e[Ve]||"prototype"===_e[Ve])return void console.debug("[vConsole] Cannot set `"+_e[Ve]+"` in `vConsole.setOption()`.");void 0===De[_e[Ve]]&&(De[_e[Ve]]={}),Ve===_e.length-1&&(De[_e[Ve]]=se),De=De[_e[Ve]]}this._triggerPluginsEvent("updateOption"),this._updateComponentByOptions()}else if(_.Kn(ie)){for(var ut in ie)"__proto__"!==ut&&"constructor"!==ut&&"prototype"!==ut?this.option[ut]=ie[ut]:console.debug("[vConsole] Cannot set `"+ut+"` in `vConsole.setOption()`.");this._triggerPluginsEvent("updateOption"),this._updateComponentByOptions()}else console.debug("[vConsole] The first parameter of `vConsole.setOption()` must be a string or an object.")},pe.destroy=function(){if(this.isInited){this.isInited=!1,le.instance=void 0;for(var ie=Object.keys(this.pluginList),se=ie.length-1;se>=0;se--)this.removePlugin(ie[se]);this.compInstance.$destroy()}},(0,ge.Z)(le,null,[{key:"instance",get:function(){return window.__VCONSOLE_INSTANCE},set:function(ie){void 0===ie||ie instanceof le?window.__VCONSOLE_INSTANCE=ie:console.debug("[vConsole] Cannot set `VConsole.instance` because the value is not the instance of VConsole.")}}]),le}();da.VConsolePlugin=void 0,da.VConsoleLogPlugin=void 0,da.VConsoleDefaultPlugin=void 0,da.VConsoleSystemPlugin=void 0,da.VConsoleNetworkPlugin=void 0,da.VConsoleElementPlugin=void 0,da.VConsoleStoragePlugin=void 0,da.VConsolePlugin=Mt,da.VConsoleLogPlugin=wo,da.VConsoleDefaultPlugin=Ia,da.VConsoleSystemPlugin=Us,da.VConsoleNetworkPlugin=Es,da.VConsoleElementPlugin=so,da.VConsoleStoragePlugin=pl;var Gu=da}(),__nested_webpack_exports__=__nested_webpack_exports__.default,__nested_webpack_exports__}()},module.exports=_()},95546:function(ge){ge.exports=function(){"use strict";function _(wt,st){var jt=Object.keys(wt);if(Object.getOwnPropertySymbols){var xt=Object.getOwnPropertySymbols(wt);st&&(xt=xt.filter(function(hn){return Object.getOwnPropertyDescriptor(wt,hn).enumerable})),jt.push.apply(jt,xt)}return jt}function f(wt){for(var st=1;st<arguments.length;st++){var jt=null!=arguments[st]?arguments[st]:{};st%2?_(Object(jt),!0).forEach(function(xt){E(wt,xt,jt[xt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(wt,Object.getOwnPropertyDescriptors(jt)):_(Object(jt)).forEach(function(xt){Object.defineProperty(wt,xt,Object.getOwnPropertyDescriptor(jt,xt))})}return wt}function c(wt){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(st){return typeof st}:function(st){return st&&"function"==typeof Symbol&&st.constructor===Symbol&&st!==Symbol.prototype?"symbol":typeof st})(wt)}function C(wt,st){for(var jt=0;jt<st.length;jt++){var xt=st[jt];xt.enumerable=xt.enumerable||!1,xt.configurable=!0,"value"in xt&&(xt.writable=!0),Object.defineProperty(wt,s(xt.key),xt)}}function E(wt,st,jt){return(st=s(st))in wt?Object.defineProperty(wt,st,{value:jt,enumerable:!0,configurable:!0,writable:!0}):wt[st]=jt,wt}function s(wt){var st=function T(wt,st){if("object"!=typeof wt||null===wt)return wt;var jt=wt[Symbol.toPrimitive];if(void 0!==jt){var xt=jt.call(wt,st||"default");if("object"!=typeof xt)return xt;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===st?String:Number)(wt)}(wt,"string");return"symbol"==typeof st?st:String(st)}
vendor: 35,348 bytes, line 1
1var h={backdrop:!0,button:!0,navbar:!0,title:!0,toolbar:!0,className:"",container:"body",filter:null,fullscreen:!0,inheritedAttributes:["crossOrigin","decoding","isMap","loading","referrerPolicy","sizes","srcset","useMap"],initialCoverage:.9,initialViewIndex:0,inline:!1,interval:5e3,keyboard:!0,focus:!0,loading:!0,loop:!0,minWidth:200,minHeight:100,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,slideOnTouch:!0,toggleOnDblclick:!0,tooltip:!0,transition:!0,zIndex:2015,zIndexInline:0,zoomRatio:.1,minZoomRatio:.01,maxZoomRatio:100,url:"src",ready:null,show:null,shown:null,hide:null,hidden:null,view:null,viewed:null,move:null,moved:null,rotate:null,rotated:null,scale:null,scaled:null,zoom:null,zoomed:null,play:null,stop:null},v=typeof window<"u"&&typeof window.document<"u",g=v?window:{},y=!(!v||!g.document.documentElement)&&"ontouchstart"in g.document.documentElement,p=!!v&&"PointerEvent"in g,b="viewer",R="move",P="switch",k="zoom",O="".concat(b,"-active"),V="".concat(b,"-close"),K="".concat(b,"-fade"),z="".concat(b,"-fixed"),H="".concat(b,"-fullscreen"),x="".concat(b,"-fullscreen-exit"),q="".concat(b,"-hide"),Z="".concat(b,"-hide-md-down"),de="".concat(b,"-hide-sm-down"),ee="".concat(b,"-hide-xs-down"),Y="".concat(b,"-in"),ae="".concat(b,"-invisible"),fe="".concat(b,"-loading"),ne="".concat(b,"-move"),ce="".concat(b,"-open"),me="".concat(b,"-show"),re="".concat(b,"-transition"),$="click",X="dblclick",M="dragstart",N="focusin",G="keydown",ue="load",ve="error",at=p?"pointerdown":y?"touchstart":"mousedown",Pt=p?"pointermove":y?"touchmove":"mousemove",At=p?"pointerup pointercancel":y?"touchend touchcancel":"mouseup",qt="transitionend",Vt="viewed",An="rotated",ur="".concat(b,"Action"),tr=/\s\s*/,Lr=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vertical"];function Br(wt){return"string"==typeof wt}var Gr=Number.isNaN||g.isNaN;function qr(wt){return"number"==typeof wt&&!Gr(wt)}function _r(wt){return typeof wt>"u"}function hr(wt){return"object"===c(wt)&&null!==wt}var Nr=Object.prototype.hasOwnProperty;function $r(wt){if(!hr(wt))return!1;try{var st=wt.constructor,jt=st.prototype;return st&&jt&&Nr.call(jt,"isPrototypeOf")}catch{return!1}}function Xr(wt){return"function"==typeof wt}function Rt(wt,st){if(wt&&Xr(st))if(Array.isArray(wt)||qr(wt.length)){var xt,jt=wt.length;for(xt=0;xt<jt&&!1!==st.call(wt,wt[xt],xt,wt);xt+=1);}else hr(wt)&&Object.keys(wt).forEach(function(hn){st.call(wt,wt[hn],hn,wt)});return wt}var zt=Object.assign||function(st){for(var jt=arguments.length,xt=new Array(jt>1?jt-1:0),hn=1;hn<jt;hn++)xt[hn-1]=arguments[hn];return hr(st)&&xt.length>0&&xt.forEach(function(ft){hr(ft)&&Object.keys(ft).forEach(function(He){st[He]=ft[He]})}),st},vn=/^(?:width|height|left|top|marginLeft|marginTop)$/;function ln(wt,st){var jt=wt.style;Rt(st,function(xt,hn){vn.test(hn)&&qr(xt)&&(xt+="px"),jt[hn]=xt})}function dr(wt,st){return!(!wt||!st)&&(wt.classList?wt.classList.contains(st):wt.className.indexOf(st)>-1)}function En(wt,st){if(wt&&st){if(qr(wt.length))return void Rt(wt,function(xt){En(xt,st)});if(wt.classList)return void wt.classList.add(st);var jt=wt.className.trim();jt?jt.indexOf(st)<0&&(wt.className="".concat(jt," ").concat(st)):wt.className=st}}function tn(wt,st){if(wt&&st){if(qr(wt.length))return void Rt(wt,function(jt){tn(jt,st)});if(wt.classList)return void wt.classList.remove(st);wt.className.indexOf(st)>=0&&(wt.className=wt.className.replace(st,""))}}function bn(wt,st,jt){if(st){if(qr(wt.length))return void Rt(wt,function(xt){bn(xt,st,jt)});jt?En(wt,st):tn(wt,st)}}var Cn=/([a-z\d])([A-Z])/g;function Kn(wt){return wt.replace(Cn,"$1-$2").toLowerCase()}function Xn(wt,st){return hr(wt[st])?wt[st]:wt.dataset?wt.dataset[st]:wt.getAttribute("data-".concat(Kn(st)))}function nr(wt,st,jt){hr(jt)?wt[st]=jt:wt.dataset?wt.dataset[st]=jt:wt.setAttribute("data-".concat(Kn(st)),jt)}var fn=function(){var wt=!1;if(v){var st=!1,jt=function(){},xt=Object.defineProperty({},"once",{get:function(){return wt=!0,st},set:function(ft){st=ft}});g.addEventListener("test",jt,xt),g.removeEventListener("test",jt,xt)}return wt}();function fr(wt,st,jt){var xt=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},hn=jt;st.trim().split(tr).forEach(function(ft){if(!fn){var He=wt.listeners;He&&He[ft]&&He[ft][jt]&&(hn=He[ft][jt],delete He[ft][jt],0===Object.keys(He[ft]).length&&delete He[ft],0===Object.keys(He).length&&delete wt.listeners)}wt.removeEventListener(ft,hn,xt)})}function lr(wt,st,jt){var xt=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},hn=jt;st.trim().split(tr).forEach(function(ft){if(xt.once&&!fn){var He=wt.listeners,Pe=void 0===He?{}:He;hn=function(){delete Pe[ft][jt],wt.removeEventListener(ft,hn,xt);for(var Oe=arguments.length,We=new Array(Oe),_t=0;_t<Oe;_t++)We[_t]=arguments[_t];jt.apply(wt,We)},Pe[ft]||(Pe[ft]={}),Pe[ft][jt]&&wt.removeEventListener(ft,Pe[ft][jt],xt),Pe[ft][jt]=hn,wt.listeners=Pe}wt.addEventListener(ft,hn,xt)})}function ar(wt,st,jt,xt){var hn;return Xr(Event)&&Xr(CustomEvent)?hn=new CustomEvent(st,f({bubbles:!0,cancelable:!0,detail:jt},xt)):(hn=document.createEvent("CustomEvent")).initCustomEvent(st,!0,!0,jt),wt.dispatchEvent(hn)}function vi(wt){var st=wt.rotate,jt=wt.scaleX,xt=wt.scaleY,hn=wt.translateX,ft=wt.translateY,He=[];qr(hn)&&0!==hn&&He.push("translateX(".concat(hn,"px)")),qr(ft)&&0!==ft&&He.push("translateY(".concat(ft,"px)")),qr(st)&&0!==st&&He.push("rotate(".concat(st,"deg)")),qr(jt)&&1!==jt&&He.push("scaleX(".concat(jt,")")),qr(xt)&&1!==xt&&He.push("scaleY(".concat(xt,")"));var Pe=He.length?He.join(" "):"none";return{WebkitTransform:Pe,msTransform:Pe,transform:Pe}}var $i=g.navigator&&/Version\/\d+(\.\d+)+?\s+Safari/i.test(g.navigator.userAgent);function Xi(wt,st,jt){var xt=document.createElement("img");if(wt.naturalWidth&&!$i)return jt(wt.naturalWidth,wt.naturalHeight),xt;var hn=document.body||document.documentElement;return xt.onload=function(){jt(xt.width,xt.height),$i||hn.removeChild(xt)},Rt(st.inheritedAttributes,function(ft){var He=wt.getAttribute(ft);null!==He&&xt.setAttribute(ft,He)}),xt.src=wt.src,$i||(xt.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",hn.appendChild(xt)),xt}function Di(wt){switch(wt){case 2:return ee;case 3:return de;case 4:return Z;default:return""}}function to(wt,st){var jt=wt.pageX,xt=wt.pageY,hn={endX:jt,endY:xt};return st?hn:f({timeStamp:Date.now(),startX:jt,startY:xt},hn)}var Co={render:function(){this.initContainer(),this.initViewer(),this.initList(),this.renderViewer()},initBody:function(){var st=this.element.ownerDocument,jt=st.body||st.documentElement;this.body=jt,this.scrollbarWidth=window.innerWidth-st.documentElement.clientWidth,this.initialBodyPaddingRight=jt.style.paddingRight,this.initialBodyComputedPaddingRight=window.getComputedStyle(jt).paddingRight},initContainer:function(){this.containerData={width:window.innerWidth,height:window.innerHeight}},initViewer:function(){var xt,st=this.options,jt=this.parent;st.inline&&(xt={width:Math.max(jt.offsetWidth,st.minWidth),height:Math.max(jt.offsetHeight,st.minHeight)},this.parentData=xt),(this.fulled||!xt)&&(xt=this.containerData),this.viewerData=zt({},xt)},renderViewer:function(){this.options.inline&&!this.fulled&&ln(this.viewer,this.viewerData)},initList:function(){var st=this,jt=this.element,xt=this.options,hn=this.list,ft=[];hn.innerHTML="",Rt(this.images,function(He,Pe){var Fe=He.src,Oe=He.alt||function no(wt){return Br(wt)?decodeURIComponent(wt.replace(/^.*\//,"").replace(/[?&#].*$/,"")):""}(Fe),We=st.getImageURL(He);if(Fe||We){var _t=document.createElement("li"),en=document.createElement("img");Rt(xt.inheritedAttributes,function(gn){var In=He.getAttribute(gn);null!==In&&en.setAttribute(gn,In)}),xt.navbar&&(en.src=Fe||We),en.alt=Oe,en.setAttribute("data-original-url",We||Fe),_t.setAttribute("data-index",Pe),_t.setAttribute("data-viewer-action","view"),_t.setAttribute("role","button"),xt.keyboard&&_t.setAttribute("tabindex",0),_t.appendChild(en),hn.appendChild(_t),ft.push(_t)}}),this.items=ft,Rt(ft,function(He){var Fe,Oe,Pe=He.firstElementChild;nr(Pe,"filled",!0),xt.loading&&En(He,fe),lr(Pe,ue,Fe=function(_t){fr(Pe,ve,Oe),xt.loading&&tn(He,fe),st.loadImage(_t)},{once:!0}),lr(Pe,ve,Oe=function(){fr(Pe,ue,Fe),xt.loading&&tn(He,fe)},{once:!0})}),xt.transition&&lr(jt,Vt,function(){En(hn,re)},{once:!0})},renderList:function(){var st=this.index,jt=this.items[st];if(jt){var hn=parseInt(window.getComputedStyle(jt.nextElementSibling||jt).marginLeft,10),ft=jt.offsetWidth,He=ft+hn;ln(this.list,zt({width:He*this.length-hn},vi({translateX:(this.viewerData.width-ft)/2-He*st})))}},resetList:function(){var st=this.list;st.innerHTML="",tn(st,re),ln(st,vi({translateX:0}))},initImage:function(st){var We,jt=this,xt=this.options,hn=this.image,ft=this.viewerData,He=this.footer.offsetHeight,Pe=ft.width,Fe=Math.max(ft.height-He,He),Oe=this.imageData||{};this.imageInitializing={abort:function(){We.onload=null}},We=Xi(hn,xt,function(_t,en){var gn=_t/en,In=Math.max(0,Math.min(1,xt.initialCoverage)),Zn=Pe,Er=Fe;jt.imageInitializing=!1,Fe*gn>Pe?Er=Pe/gn:Zn=Fe*gn,In=qr(In)?In:.9,Zn=Math.min(Zn*In,_t),Er=Math.min(Er*In,en);var Yr=(Pe-Zn)/2,oi=(Fe-Er)/2,Ar={left:Yr,top:oi,x:Yr,y:oi,width:Zn,height:Er,oldRatio:1,ratio:Zn/_t,aspectRatio:gn,naturalWidth:_t,naturalHeight:en},li=zt({},Ar);xt.rotatable&&(Ar.rotate=Oe.rotate||0,li.rotate=0),xt.scalable&&(Ar.scaleX=Oe.scaleX||1,Ar.scaleY=Oe.scaleY||1,li.scaleX=1,li.scaleY=1),jt.imageData=Ar,jt.initialImageData=li,st&&st()})},renderImage:function(st){var jt=this,xt=this.image,hn=this.imageData;if(ln(xt,zt({width:hn.width,height:hn.height,marginLeft:hn.x,marginTop:hn.y},vi(hn))),st)if((this.viewing||this.moving||this.rotating||this.scaling||this.zooming)&&this.options.transition&&dr(xt,re)){var ft=function(){jt.imageRendering=!1,st()};this.imageRendering={abort:function(){fr(xt,qt,ft)}},lr(xt,qt,ft,{once:!0})}else st()},resetImage:function(){var st=this.image;st&&(this.viewing&&this.viewing.abort(),st.parentNode.removeChild(st),this.image=null,this.title.innerHTML="")}},mn={bind:function(){var st=this.options,jt=this.viewer,xt=this.canvas,hn=this.element.ownerDocument;lr(jt,$,this.onClick=this.click.bind(this)),lr(jt,M,this.onDragStart=this.dragstart.bind(this)),lr(xt,at,this.onPointerDown=this.pointerdown.bind(this)),lr(hn,Pt,this.onPointerMove=this.pointermove.bind(this)),lr(hn,At,this.onPointerUp=this.pointerup.bind(this)),lr(hn,G,this.onKeyDown=this.keydown.bind(this)),lr(window,"resize",this.onResize=this.resize.bind(this)),st.zoomable&&st.zoomOnWheel&&lr(jt,"wheel",this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),st.toggleOnDblclick&&lr(xt,X,this.onDblclick=this.dblclick.bind(this))},unbind:function(){var st=this.options,jt=this.viewer,xt=this.canvas,hn=this.element.ownerDocument;fr(jt,$,this.onClick),fr(jt,M,this.onDragStart),fr(xt,at,this.onPointerDown),fr(hn,Pt,this.onPointerMove),fr(hn,At,this.onPointerUp),fr(hn,G,this.onKeyDown),fr(window,"resize",this.onResize),st.zoomable&&st.zoomOnWheel&&fr(jt,"wheel",this.onWheel,{passive:!1,capture:!0}),st.toggleOnDblclick&&fr(xt,X,this.onDblclick)}},Jt={click:function(st){var jt=this.options,xt=this.imageData,hn=st.target,ft=Xn(hn,ur);switch(!ft&&"img"===hn.localName&&"li"===hn.parentElement.localName&&(ft=Xn(hn=hn.parentElement,ur)),y&&st.isTrusted&&hn===this.canvas&&clearTimeout(this.clickCanvasTimeout),ft){case"mix":this.played?this.stop():jt.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.pointerMoved||this.hide();break;case"view":this.view(Xn(hn,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(jt.loop);break;case"play":this.play(jt.fullscreen);break;case"next":this.next(jt.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-xt.scaleX||-1);break;case"flip-vertical":this.scaleY(-xt.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(st){st.preventDefault(),this.viewed&&st.target===this.image&&(y&&st.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle(st.isTrusted?st:st.detail&&st.detail.originalEvent))},load:function(){var st=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var jt=this.element,xt=this.options,hn=this.image,ft=this.index,He=this.viewerData;tn(hn,ae),xt.loading&&tn(this.canvas,fe),hn.style.cssText="height:0;"+"margin-left:".concat(He.width/2,"px;")+"margin-top:".concat(He.height/2,"px;")+"max-width:none!important;position:relative;width:0;",this.initImage(function(){bn(hn,ne,xt.movable),bn(hn,re,xt.transition),st.renderImage(function(){st.viewed=!0,st.viewing=!1,Xr(xt.viewed)&&lr(jt,Vt,xt.viewed,{once:!0}),ar(jt,Vt,{originalImage:st.images[ft],index:ft,image:hn},{cancelable:!1})})})},loadImage:function(st){var jt=st.target,xt=jt.parentNode,hn=xt.offsetWidth||30,ft=xt.offsetHeight||50,He=!!Xn(jt,"filled");Xi(jt,this.options,function(Pe,Fe){var Oe=Pe/Fe,We=hn,_t=ft;ft*Oe>hn?He?We=ft*Oe:_t=hn/Oe:He?_t=hn/Oe:We=ft*Oe,ln(jt,zt({width:We,height:_t},vi({translateX:(hn-We)/2,translateY:(ft-_t)/2})))})},keydown:function(st){var jt=this.options;if(jt.keyboard){var xt=st.keyCode||st.which||st.charCode;if(13===xt&&this.viewer.contains(st.target)&&this.click(st),this.fulled)switch(xt){case 27:this.played?this.stop():jt.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.played&&this.playing?this.playing.prev():this.prev(jt.loop);break;case 38:st.preventDefault(),this.zoom(jt.zoomRatio,!0);break;case 39:this.played&&this.playing?this.playing.next():this.next(jt.loop);break;case 40:st.preventDefault(),this.zoom(-jt.zoomRatio,!0);break;case 48:case 49:st.ctrlKey&&(st.preventDefault(),this.toggle())}}},dragstart:function(st){"img"===st.target.localName&&st.preventDefault()},pointerdown:function(st){var jt=this.options,xt=this.pointers,hn=st.buttons,ft=st.button;if(this.pointerMoved=!1,!(!this.viewed||this.showing||this.viewing||this.hiding||("mousedown"===st.type||"pointerdown"===st.type&&"mouse"===st.pointerType)&&(qr(hn)&&1!==hn||qr(ft)&&0!==ft||st.ctrlKey))){st.preventDefault(),st.changedTouches?Rt(st.changedTouches,function(Pe){xt[Pe.identifier]=to(Pe)}):xt[st.pointerId||0]=to(st);var He=!!jt.movable&&R;jt.zoomOnTouch&&jt.zoomable&&Object.keys(xt).length>1?He=k:jt.slideOnTouch&&("touch"===st.pointerType||"touchstart"===st.type)&&this.isSwitchable()&&(He=P),jt.transition&&(He===R||He===k)&&tn(this.image,re),this.action=He}},pointermove:function(st){var jt=this.pointers;!this.viewed||!this.action||(st.preventDefault(),st.changedTouches?Rt(st.changedTouches,function(hn){zt(jt[hn.identifier]||{},to(hn,!0))}):zt(jt[st.pointerId||0]||{},to(st,!0)),this.change(st))},pointerup:function(st){var He,jt=this,xt=this.options,hn=this.action,ft=this.pointers;st.changedTouches?Rt(st.changedTouches,function(Pe){He=ft[Pe.identifier],delete ft[Pe.identifier]}):(He=ft[st.pointerId||0],delete ft[st.pointerId||0]),hn&&(st.preventDefault(),xt.transition&&(hn===R||hn===k)&&En(this.image,re),this.action=!1,y&&hn!==k&&He&&Date.now()-He.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),xt.toggleOnDblclick&&this.viewed&&st.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout(function(){ar(jt.image,X,{originalEvent:st})},50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout(function(){jt.imageClicked=!1},500)):(this.imageClicked=!1,xt.backdrop&&"static"!==xt.backdrop&&st.target===this.canvas&&(this.clickCanvasTimeout=setTimeout(function(){ar(jt.canvas,$,{originalEvent:st})},50)))))},resize:function(){var st=this;if(this.isShown&&!this.hiding&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){st.renderImage()}),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement))return void this.stop();Rt(this.player.getElementsByTagName("img"),function(jt){lr(jt,ue,st.loadImage.bind(st),{once:!0}),ar(jt,ue)})}},wheel:function(st){var jt=this;if(this.viewed&&(st.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout(function(){jt.wheeling=!1},50);var xt=Number(this.options.zoomRatio)||.1,hn=1;st.deltaY?hn=st.deltaY>0?1:-1:st.wheelDelta?hn=-st.wheelDelta/120:st.detail&&(hn=st.detail>0?1:-1),this.zoom(-hn*xt,!0,null,st)}}},kn={show:function(){var st=arguments.length>0&&void 0!==arguments[0]&&arguments[0],jt=this.element,xt=this.options;if(xt.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(st),this;if(Xr(xt.show)&&lr(jt,"show",xt.show,{once:!0}),!1===ar(jt,"show")||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var hn=this.viewer;if(tn(hn,q),hn.setAttribute("role","dialog"),hn.setAttribute("aria-labelledby",this.title.id),hn.setAttribute("aria-modal",!0),hn.removeAttribute("aria-hidden"),xt.transition&&!st){var ft=this.shown.bind(this);this.transitioning={abort:function(){fr(hn,qt,ft),tn(hn,Y)}},En(hn,re),hn.initialOffsetWidth=hn.offsetWidth,lr(hn,qt,ft,{once:!0}),En(hn,Y)}else En(hn,Y),this.shown();return this},hide:function(){var st=this,jt=arguments.length>0&&void 0!==arguments[0]&&arguments[0],xt=this.element,hn=this.options;if(hn.inline||this.hiding||!this.isShown&&!this.showing)return this;if(Xr(hn.hide)&&lr(xt,"hide",hn.hide,{once:!0}),!1===ar(xt,"hide"))return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var ft=this.viewer,He=this.image,Pe=function(){tn(ft,Y),st.hidden()};if(hn.transition&&!jt){var Fe=function We(_t){_t&&_t.target===ft&&(fr(ft,qt,We),st.hidden())},Oe=function(){dr(ft,re)?(lr(ft,qt,Fe),tn(ft,Y)):Pe()};this.transitioning={abort:function(){st.viewed&&dr(He,re)?fr(He,qt,Oe):dr(ft,re)&&fr(ft,qt,Fe)}},this.viewed&&dr(He,re)?(lr(He,qt,Oe,{once:!0}),this.zoomTo(0,!1,null,null,!0)):Oe()}else Pe();return this},view:function(){var st=this,jt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.initialViewIndex;if(jt=Number(jt)||0,this.hiding||this.played||jt<0||jt>=this.length||this.viewed&&jt===this.index)return this;if(!this.isShown)return this.index=jt,this.show();this.viewing&&this.viewing.abort();var xt=this.element,hn=this.options,ft=this.title,He=this.canvas,Pe=this.items[jt],Fe=Pe.querySelector("img"),Oe=Xn(Fe,"originalUrl"),We=Fe.getAttribute("alt"),_t=document.createElement("img");if(Rt(hn.inheritedAttributes,function(Er){var Yr=Fe.getAttribute(Er);null!==Yr&&_t.setAttribute(Er,Yr)}),_t.src=Oe,_t.alt=We,Xr(hn.view)&&lr(xt,"view",hn.view,{once:!0}),!1===ar(xt,"view",{originalImage:this.images[jt],index:jt,image:_t})||!this.isShown||this.hiding||this.played)return this;var en=this.items[this.index];en&&(tn(en,O),en.removeAttribute("aria-selected")),En(Pe,O),Pe.setAttribute("aria-selected",!0),hn.focus&&Pe.focus(),this.image=_t,this.viewed=!1,this.index=jt,this.imageData={},En(_t,ae),hn.loading&&En(He,fe),He.innerHTML="",He.appendChild(_t),this.renderList(),ft.innerHTML="";var In,Zn,gn=function(){var Yr=st.imageData,oi=Array.isArray(hn.title)?hn.title[1]:hn.title;ft.innerHTML=function Sn(wt){return Br(wt)?wt.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">"):wt}(Xr(oi)?oi.call(st,_t,Yr):"".concat(We," (").concat(Yr.naturalWidth," \xd7 ").concat(Yr.naturalHeight,")"))};return lr(xt,Vt,gn,{once:!0}),this.viewing={abort:function(){fr(xt,Vt,gn),_t.complete?st.imageRendering?st.imageRendering.abort():st.imageInitializing&&st.imageInitializing.abort():(_t.src="",fr(_t,ue,In),st.timeout&&clearTimeout(st.timeout))}},_t.complete?this.load():(lr(_t,ue,In=function(){fr(_t,ve,Zn),st.load()},{once:!0}),lr(_t,ve,Zn=function(){fr(_t,ue,In),st.timeout&&(clearTimeout(st.timeout),st.timeout=!1),tn(_t,ae),hn.loading&&tn(st.canvas,fe)},{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){tn(_t,ae),st.timeout=!1},1e3)),this},prev:function(){var jt=this.index-1;return jt<0&&(jt=arguments.length>0&&void 0!==arguments[0]&&arguments[0]?this.length-1:0),this.view(jt),this},next:function(){var jt=this.length-1,xt=this.index+1;return xt>jt&&(xt=arguments.length>0&&void 0!==arguments[0]&&arguments[0]?0:jt),this.view(xt),this},move:function(st){var jt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:st,xt=this.imageData;return this.moveTo(_r(st)?st:xt.x+Number(st),_r(jt)?jt:xt.y+Number(jt)),this},moveTo:function(st){var jt=this,xt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:st,hn=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,ft=this.element,He=this.options,Pe=this.imageData;if(st=Number(st),xt=Number(xt),this.viewed&&!this.played&&He.movable){var Fe=Pe.x,Oe=Pe.y,We=!1;if(qr(st)?We=!0:st=Fe,qr(xt)?We=!0:xt=Oe,We){if(Xr(He.move)&&lr(ft,"move",He.move,{once:!0}),!1===ar(ft,"move",{x:st,y:xt,oldX:Fe,oldY:Oe,originalEvent:hn}))return this;Pe.x=st,Pe.y=xt,Pe.left=st,Pe.top=xt,this.moving=!0,this.renderImage(function(){jt.moving=!1,Xr(He.moved)&&lr(ft,"moved",He.moved,{once:!0}),ar(ft,"moved",{x:st,y:xt,oldX:Fe,oldY:Oe,originalEvent:hn},{cancelable:!1})})}}return this},rotate:function(st){return this.rotateTo((this.imageData.rotate||0)+Number(st)),this},rotateTo:function(st){var jt=this,xt=this.element,hn=this.options,ft=this.imageData;if(qr(st=Number(st))&&this.viewed&&!this.played&&hn.rotatable){var He=ft.rotate;if(Xr(hn.rotate)&&lr(xt,"rotate",hn.rotate,{once:!0}),!1===ar(xt,"rotate",{degree:st,oldDegree:He}))return this;ft.rotate=st,this.rotating=!0,this.renderImage(function(){jt.rotating=!1,Xr(hn.rotated)&&lr(xt,An,hn.rotated,{once:!0}),ar(xt,An,{degree:st,oldDegree:He},{cancelable:!1})})}return this},scaleX:function(st){return this.scale(st,this.imageData.scaleY),this},scaleY:function(st){return this.scale(this.imageData.scaleX,st),this},scale:function(st){var jt=this,xt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:st,hn=this.element,ft=this.options,He=this.imageData;if(st=Number(st),xt=Number(xt),this.viewed&&!this.played&&ft.scalable){var Pe=He.scaleX,Fe=He.scaleY,Oe=!1;if(qr(st)?Oe=!0:st=Pe,qr(xt)?Oe=!0:xt=Fe,Oe){if(Xr(ft.scale)&&lr(hn,"scale",ft.scale,{once:!0}),!1===ar(hn,"scale",{scaleX:st,scaleY:xt,oldScaleX:Pe,oldScaleY:Fe}))return this;He.scaleX=st,He.scaleY=xt,this.scaling=!0,this.renderImage(function(){jt.scaling=!1,Xr(ft.scaled)&&lr(hn,"scaled",ft.scaled,{once:!0}),ar(hn,"scaled",{scaleX:st,scaleY:xt,oldScaleX:Pe,oldScaleY:Fe},{cancelable:!1})})}}return this},zoom:function(st){var jt=arguments.length>1&&void 0!==arguments[1]&&arguments[1],xt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,hn=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,ft=this.imageData;return st=Number(st),this.zoomTo(ft.width*(st=st<0?1/(1-st):1+st)/ft.naturalWidth,jt,xt,hn),this},zoomTo:function(st){var jt=this,xt=arguments.length>1&&void 0!==arguments[1]&&arguments[1],hn=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,ft=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,He=arguments.length>4&&void 0!==arguments[4]&&arguments[4],Pe=this.element,Fe=this.options,Oe=this.pointers,We=this.imageData,_t=We.x,en=We.y,gn=We.width,In=We.height,Zn=We.naturalWidth,Er=We.naturalHeight;if(qr(st=Math.max(0,st))&&this.viewed&&!this.played&&(He||Fe.zoomable)){if(!He){var Yr=Math.max(.01,Fe.minZoomRatio),oi=Math.min(100,Fe.maxZoomRatio);st=Math.min(Math.max(st,Yr),oi)}if(ft)switch(ft.type){case"wheel":Fe.zoomRatio>=.055&&st>.95&&st<1.05&&(st=1);break;case"pointermove":case"touchmove":case"mousemove":st>.99&&st<1.01&&(st=1)}var Ar=Zn*st,li=Er*st,Ki=Ar-gn,Pi=li-In,io=We.ratio;if(Xr(Fe.zoom)&&lr(Pe,"zoom",Fe.zoom,{once:!0}),!1===ar(Pe,"zoom",{ratio:st,oldRatio:io,originalEvent:ft}))return this;if(this.zooming=!0,ft){var ki=function ni(wt){var st=wt.getBoundingClientRect();return{left:st.left+(window.pageXOffset-document.documentElement.clientLeft),top:st.top+(window.pageYOffset-document.documentElement.clientTop)}}(this.viewer),ko=Oe&&Object.keys(Oe).length>0?function vo(wt){var st=0,jt=0,xt=0;return Rt(wt,function(hn){st+=hn.startX,jt+=hn.startY,xt+=1}),{pageX:st/=xt,pageY:jt/=xt}}(Oe):{pageX:ft.pageX,pageY:ft.pageY};We.x-=Ki*((ko.pageX-ki.left-_t)/gn),We.y-=Pi*((ko.pageY-ki.top-en)/In)}else $r(hn)&&qr(hn.x)&&qr(hn.y)?(We.x-=Ki*((hn.x-_t)/gn),We.y-=Pi*((hn.y-en)/In)):(We.x-=Ki/2,We.y-=Pi/2);We.left=We.x,We.top=We.y,We.width=Ar,We.height=li,We.oldRatio=io,We.ratio=st,this.renderImage(function(){jt.zooming=!1,Xr(Fe.zoomed)&&lr(Pe,"zoomed",Fe.zoomed,{once:!0}),ar(Pe,"zoomed",{ratio:st,oldRatio:io,originalEvent:ft},{cancelable:!1})}),xt&&this.tooltip()}return this},play:function(){var st=this,jt=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isShown||this.played)return this;var xt=this.element,hn=this.options;if(Xr(hn.play)&&lr(xt,"play",hn.play,{once:!0}),!1===ar(xt,"play"))return this;var ft=this.player,He=this.loadImage.bind(this),Pe=[],Fe=0,Oe=0;if(this.played=!0,this.onLoadWhenPlay=He,jt&&this.requestFullscreen(jt),En(ft,me),Rt(this.items,function(en,gn){var In=en.querySelector("img"),Zn=document.createElement("img");Zn.src=Xn(In,"originalUrl"),Zn.alt=In.getAttribute("alt"),Zn.referrerPolicy=In.referrerPolicy,Fe+=1,En(Zn,K),bn(Zn,re,hn.transition),dr(en,O)&&(En(Zn,Y),Oe=gn),Pe.push(Zn),lr(Zn,ue,He,{once:!0}),ft.appendChild(Zn)}),qr(hn.interval)&&hn.interval>0){var _t=function en(){clearTimeout(st.playing.timeout),tn(Pe[Oe],Y),En(Pe[Oe=(Oe+=1)<Fe?Oe:0],Y),st.playing.timeout=setTimeout(en,hn.interval)};Fe>1&&(this.playing={prev:function en(){clearTimeout(st.playing.timeout),tn(Pe[Oe],Y),En(Pe[Oe=(Oe-=1)>=0?Oe:Fe-1],Y),st.playing.timeout=setTimeout(en,hn.interval)},next:_t,timeout:setTimeout(_t,hn.interval)})}return this},stop:function(){var st=this;if(!this.played)return this;var jt=this.element,xt=this.options;if(Xr(xt.stop)&&lr(jt,"stop",xt.stop,{once:!0}),!1===ar(jt,"stop"))return this;var hn=this.player;return clearTimeout(this.playing.timeout),this.playing=!1,this.played=!1,Rt(hn.getElementsByTagName("img"),function(ft){fr(ft,ue,st.onLoadWhenPlay)}),tn(hn,me),hn.innerHTML="",this.exitFullscreen(),this},full:function(){var st=this,jt=this.options,xt=this.viewer,hn=this.image,ft=this.list;return!this.isShown||this.played||this.fulled||!jt.inline||(this.fulled=!0,this.open(),En(this.button,x),jt.transition&&(tn(ft,re),this.viewed&&tn(hn,re)),En(xt,z),xt.setAttribute("role","dialog"),xt.setAttribute("aria-labelledby",this.title.id),xt.setAttribute("aria-modal",!0),xt.removeAttribute("style"),ln(xt,{zIndex:jt.zIndex}),jt.focus&&this.enforceFocus(),this.initContainer(),this.viewerData=zt({},this.containerData),this.renderList(),this.viewed&&this.initImage(function(){st.renderImage(function(){jt.transition&&setTimeout(function(){En(hn,re),En(ft,re)},0)})})),this},exit:function(){var st=this,jt=this.options,xt=this.viewer,hn=this.image,ft=this.list;return this.isShown&&!this.played&&this.fulled&&jt.inline?(this.fulled=!1,this.close(),tn(this.button,x),jt.transition&&(tn(ft,re),this.viewed&&tn(hn,re)),jt.focus&&this.clearEnforceFocus(),xt.removeAttribute("role"),xt.removeAttribute("aria-labelledby"),xt.removeAttribute("aria-modal"),tn(xt,z),ln(xt,{zIndex:jt.zIndexInline}),this.viewerData=zt({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){st.renderImage(function(){jt.transition&&setTimeout(function(){En(hn,re),En(ft,re)},0)})}),this):this},tooltip:function(){var st=this,jt=this.options,xt=this.tooltipBox;return this.viewed&&!this.played&&jt.tooltip?(xt.textContent="".concat(Math.round(100*this.imageData.ratio),"%"),this.tooltipping?clearTimeout(this.tooltipping):jt.transition?(this.fading&&ar(xt,qt),En(xt,me),En(xt,K),En(xt,re),xt.removeAttribute("aria-hidden"),xt.initialOffsetWidth=xt.offsetWidth,En(xt,Y)):(En(xt,me),xt.removeAttribute("aria-hidden")),this.tooltipping=setTimeout(function(){jt.transition?(lr(xt,qt,function(){tn(xt,me),tn(xt,K),tn(xt,re),xt.setAttribute("aria-hidden",!0),st.fading=!1},{once:!0}),tn(xt,Y),st.fading=!0):(tn(xt,me),xt.setAttribute("aria-hidden",!0)),st.tooltipping=!1},1e3),this):this},toggle:function(){return this.zoomTo(1===this.imageData.ratio?this.imageData.oldRatio:1,!0,null,arguments.length>0&&void 0!==arguments[0]?arguments[0]:null),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=zt({},this.initialImageData),this.renderImage()),this},update:function(){var st=this,jt=this.element,xt=this.options,hn=this.isImg;if(hn&&!jt.parentNode)return this.destroy();var ft=[];if(Rt(hn?[jt]:jt.querySelectorAll("img"),function(Oe){Xr(xt.filter)?xt.filter.call(st,Oe)&&ft.push(Oe):st.getImageURL(Oe)&&ft.push(Oe)}),!ft.length)return this;if(this.images=ft,this.length=ft.length,this.ready){var He=[];if(Rt(this.items,function(Oe,We){var _t=Oe.querySelector("img"),en=ft[We];en&&_t?(en.src!==_t.src||en.alt!==_t.alt)&&He.push(We):He.push(We)}),ln(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var Pe=He.indexOf(this.index);if(Pe>=0)this.viewed=!1,this.view(Math.max(Math.min(this.index-Pe,this.length-1),0));else{var Fe=this.items[this.index];En(Fe,O),Fe.setAttribute("aria-selected",!0)}}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var st=this.element,jt=this.options;return st[b]?(this.destroyed=!0,this.ready?(this.played&&this.stop(),jt.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):jt.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),jt.inline||fr(st,$,this.onStart),st[b]=void 0,this):this}},Ke={getImageURL:function(st){var jt=this.options.url;return Br(jt)?st.getAttribute(jt):Xr(jt)?jt.call(this,st):""},enforceFocus:function(){var st=this;this.clearEnforceFocus(),lr(document,N,this.onFocusin=function(jt){var xt=st.viewer,hn=jt.target;if(hn!==document&&hn!==xt&&!xt.contains(hn)){for(;hn;){if(null!==hn.getAttribute("tabindex")||"true"===hn.getAttribute("aria-modal"))return;hn=hn.parentElement}xt.focus()}})},clearEnforceFocus:function(){this.onFocusin&&(fr(document,N,this.onFocusin),this.onFocusin=null)},open:function(){var st=this.body;En(st,ce),this.scrollbarWidth>0&&(st.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px"))},close:function(){var st=this.body;tn(st,ce),this.scrollbarWidth>0&&(st.style.paddingRight=this.initialBodyPaddingRight)},shown:function(){var st=this.element,jt=this.options,xt=this.viewer;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,jt.focus&&(xt.focus(),this.enforceFocus()),Xr(jt.shown)&&lr(st,"shown",jt.shown,{once:!0}),!1!==ar(st,"shown")&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var st=this.element,jt=this.options,xt=this.viewer;jt.fucus&&this.clearEnforceFocus(),this.close(),this.unbind(),En(xt,q),xt.removeAttribute("role"),xt.removeAttribute("aria-labelledby"),xt.removeAttribute("aria-modal"),xt.setAttribute("aria-hidden",!0),this.resetList(),this.resetImage(),this.fulled=!1,this.viewed=!1,this.isShown=!1,this.hiding=!1,this.destroyed||(Xr(jt.hidden)&&lr(st,"hidden",jt.hidden,{once:!0}),ar(st,"hidden",null,{cancelable:!1}))},requestFullscreen:function(st){var jt=this.element.ownerDocument;if(this.fulled&&!(jt.fullscreenElement||jt.webkitFullscreenElement||jt.mozFullScreenElement||jt.msFullscreenElement)){var xt=jt.documentElement;xt.requestFullscreen?$r(st)?xt.requestFullscreen(st):xt.requestFullscreen():xt.webkitRequestFullscreen?xt.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):xt.mozRequestFullScreen?xt.mozRequestFullScreen():xt.msRequestFullscreen&&xt.msRequestFullscreen()}},exitFullscreen:function(){var st=this.element.ownerDocument;this.fulled&&(st.fullscreenElement||st.webkitFullscreenElement||st.mozFullScreenElement||st.msFullscreenElement)&&(st.exitFullscreen?st.exitFullscreen():st.webkitExitFullscreen?st.webkitExitFullscreen():st.mozCancelFullScreen?st.mozCancelFullScreen():st.msExitFullscreen&&st.msExitFullscreen())},change:function(st){var jt=this.options,xt=this.pointers,hn=xt[Object.keys(xt)[0]];if(hn){var ft=hn.endX-hn.startX,He=hn.endY-hn.startY;switch(this.action){case R:(0!==ft||0!==He)&&(this.pointerMoved=!0,this.move(ft,He,st));break;case k:this.zoom(function lo(wt){var st=f({},wt),jt=[];return Rt(wt,function(xt,hn){delete st[hn],Rt(st,function(ft){var He=Math.abs(xt.startX-ft.startX),Pe=Math.abs(xt.startY-ft.startY),Fe=Math.abs(xt.endX-ft.endX),Oe=Math.abs(xt.endY-ft.endY),We=Math.sqrt(He*He+Pe*Pe),_t=Math.sqrt(Fe*Fe+Oe*Oe);jt.push((_t-We)/We)})}),jt.sort(function(xt,hn){return Math.abs(xt)<Math.abs(hn)}),jt[0]}(xt),!1,null,st);break;case P:this.action="switched";var Pe=Math.abs(ft);Pe>1&&Pe>Math.abs(He)&&(this.pointers={},ft>1?this.prev(jt.loop):ft<-1&&this.next(jt.loop))}Rt(xt,function(Fe){Fe.startX=Fe.endX,Fe.startY=Fe.endY})}},isSwitchable:function(){var st=this.imageData,jt=this.viewerData;return this.length>1&&st.x>=0&&st.y>=0&&st.width<=jt.width&&st.height<=jt.height}},Ze=g.Viewer,Ot=function(wt){return function(){return wt+=1}}(-1),nn=function(){function wt(st){var jt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function o(wt,st){if(!(wt instanceof st))throw new TypeError("Cannot call a class as a function")}(this,wt),!st||1!==st.nodeType)throw new Error("The first argument is required and must be an element.");this.element=st,this.options=zt({},h,$r(jt)&&jt),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.moving=!1,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.rotating=!1,this.scaling=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.pointerMoved=!1,this.id=Ot(),this.init()}return function a(wt,st,jt){return st&&C(wt.prototype,st),jt&&C(wt,jt),Object.defineProperty(wt,"prototype",{writable:!1}),wt}(wt,[{key:"init",value:function(){var jt=this,xt=this.element,hn=this.options;if(!xt[b]){xt[b]=this,hn.focus&&!hn.keyboard&&(hn.focus=!1);var ft="img"===xt.localName,He=[];if(Rt(ft?[xt]:xt.querySelectorAll("img"),function(Oe){Xr(hn.filter)?hn.filter.call(jt,Oe)&&He.push(Oe):jt.getImageURL(Oe)&&He.push(Oe)}),this.isImg=ft,this.length=He.length,this.images=He,this.initBody(),_r(document.createElement(b).style.transition)&&(hn.transition=!1),hn.inl
1ine){var Pe=0,Fe=function(){var We;(Pe+=1)===jt.length&&(jt.initializing=!1,jt.delaying={abort:function(){clearTimeout(We)}},We=setTimeout(function(){jt.delaying=!1,jt.build()},0))};this.initializing={abort:function(){Rt(He,function(We){We.complete||(fr(We,ue,Fe),fr(We,ve,Fe))})}},Rt(He,function(Oe){var We,_t;Oe.complete?Fe():(lr(Oe,ue,We=function(){fr(Oe,ve,_t),Fe()},{once:!0}),lr(Oe,ve,_t=function(){fr(Oe,ue,We),Fe()},{once:!0}))})}else lr(xt,$,this.onStart=function(Oe){var We=Oe.target;"img"===We.localName&&(!Xr(hn.filter)||hn.filter.call(jt,We))&&jt.view(jt.images.indexOf(We))})}}},{key:"build",value:function(){if(!this.ready){var jt=this.element,xt=this.options,hn=jt.parentNode,ft=document.createElement("div");ft.innerHTML='<div class="viewer-container" tabindex="-1" touch-action="none"><div class="viewer-canvas"></div><div class="viewer-footer"><div class="viewer-title"></div><div class="viewer-toolbar"></div><div class="viewer-navbar"><ul class="viewer-list" role="navigation"></ul></div></div><div class="viewer-tooltip" role="alert" aria-hidden="true"></div><div class="viewer-button" data-viewer-action="mix" role="button"></div><div class="viewer-player"></div></div>';var He=ft.querySelector(".".concat(b,"-container")),Pe=He.querySelector(".".concat(b,"-title")),Fe=He.querySelector(".".concat(b,"-toolbar")),Oe=He.querySelector(".".concat(b,"-navbar")),We=He.querySelector(".".concat(b,"-button")),_t=He.querySelector(".".concat(b,"-canvas"));if(this.parent=hn,this.viewer=He,this.title=Pe,this.toolbar=Fe,this.navbar=Oe,this.button=We,this.canvas=_t,this.footer=He.querySelector(".".concat(b,"-footer")),this.tooltipBox=He.querySelector(".".concat(b,"-tooltip")),this.player=He.querySelector(".".concat(b,"-player")),this.list=He.querySelector(".".concat(b,"-list")),He.id="".concat(b).concat(this.id),Pe.id="".concat(b,"Title").concat(this.id),En(Pe,xt.title?Di(Array.isArray(xt.title)?xt.title[0]:xt.title):q),En(Oe,xt.navbar?Di(xt.navbar):q),bn(We,q,!xt.button),xt.keyboard&&We.setAttribute("tabindex",0),xt.backdrop&&(En(He,"".concat(b,"-backdrop")),!xt.inline&&"static"!==xt.backdrop&&nr(_t,ur,"hide")),Br(xt.className)&&xt.className&&xt.className.split(tr).forEach(function(Ar){En(He,Ar)}),xt.toolbar){var en=document.createElement("ul"),gn=$r(xt.toolbar),In=Lr.slice(0,3),Zn=Lr.slice(7,9),Er=Lr.slice(9);gn||En(Fe,Di(xt.toolbar)),Rt(gn?xt.toolbar:Lr,function(Ar,li){var Ki=gn&&$r(Ar),Pi=gn?Kn(li):Ar,io=Ki&&!_r(Ar.show)?Ar.show:Ar;if(io&&(xt.zoomable||-1===In.indexOf(Pi))&&(xt.rotatable||-1===Zn.indexOf(Pi))&&(xt.scalable||-1===Er.indexOf(Pi))){var ki=Ki&&!_r(Ar.size)?Ar.size:Ar,ko=Ki&&!_r(Ar.click)?Ar.click:Ar,Eo=document.createElement("li");xt.keyboard&&Eo.setAttribute("tabindex",0),Eo.setAttribute("role","button"),En(Eo,"".concat(b,"-").concat(Pi)),Xr(ko)||nr(Eo,ur,Pi),qr(io)&&En(Eo,Di(io)),-1!==["small","large"].indexOf(ki)?En(Eo,"".concat(b,"-").concat(ki)):"play"===Pi&&En(Eo,"".concat(b,"-large")),Xr(ko)&&lr(Eo,$,ko),en.appendChild(Eo)}}),Fe.appendChild(en)}else En(Fe,q);if(!xt.rotatable){var Yr=Fe.querySelectorAll('li[class*="rotate"]');En(Yr,ae),Rt(Yr,function(Ar){Fe.appendChild(Ar)})}if(xt.inline)En(We,H),ln(He,{zIndex:xt.zIndexInline}),"static"===window.getComputedStyle(hn).position&&ln(hn,{position:"relative"}),hn.insertBefore(He,jt.nextSibling);else{En(We,V),En(He,z),En(He,K),En(He,q),ln(He,{zIndex:xt.zIndex});var oi=xt.container;Br(oi)&&(oi=jt.ownerDocument.querySelector(oi)),oi||(oi=this.body),oi.appendChild(He)}if(xt.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,Xr(xt.ready)&&lr(jt,"ready",xt.ready,{once:!0}),!1===ar(jt,"ready"))return void(this.ready=!1);this.ready&&xt.inline&&this.view(this.index)}}}],[{key:"noConflict",value:function(){return window.Viewer=Ze,wt}},{key:"setDefaults",value:function(jt){zt(h,$r(jt)&&jt)}}]),wt}();return zt(nn.prototype,Co,mn,Jt,kn,Ke),nn}()},88996:(ge,_,f)=>{var c={"./ion-accordion_2.entry.js":[32375,2076,2375],"./ion-action-sheet.entry.js":[18814,2076,8814],"./ion-alert.entry.js":[45222,2076,5222],"./ion-app_8.entry.js":[77720,2076,7720],"./ion-avatar_3.entry.js":[81049,1049],"./ion-back-button.entry.js":[93162,2076,3162],"./ion-backdrop.entry.js":[77240,7240],"./ion-breadcrumb_2.entry.js":[68314,2076,8314],"./ion-button_2.entry.js":[64591,4591],"./ion-card_5.entry.js":[48584,8584],"./ion-checkbox.entry.js":[83511,3511],"./ion-chip.entry.js":[56024,6024],"./ion-col_3.entry.js":[25100,5100],"./ion-datetime-button.entry.js":[67428,1293,7428],"./ion-datetime_3.entry.js":[32885,1293,2076,2885],"./ion-fab_3.entry.js":[14463,2076,4463],"./ion-img.entry.js":[74183,4183],"./ion-infinite-scroll_2.entry.js":[44171,2076,4171],"./ion-input-password-toggle.entry.js":[6521,2076,6521],"./ion-input.entry.js":[9344,2076,9344],"./ion-item-option_3.entry.js":[25949,2076,5949],"./ion-item_8.entry.js":[73506,2076,3506],"./ion-loading.entry.js":[97372,2076,7372],"./ion-menu_3.entry.js":[82075,2076,2075],"./ion-modal.entry.js":[40441,2076,441],"./ion-nav_2.entry.js":[45712,5712],"./ion-picker-column-option.entry.js":[89013,9013],"./ion-picker-column.entry.js":[51459,2076,1459],"./ion-picker.entry.js":[16840,6840],"./ion-popover.entry.js":[96433,2076,6433],"./ion-progress-bar.entry.js":[59977,9977],"./ion-radio_2.entry.js":[8066,2076,8066],"./ion-range.entry.js":[98477,2076,8477],"./ion-refresher_2.entry.js":[35197,2076,5197],"./ion-reorder_2.entry.js":[7030,2076,7030],"./ion-ripple-effect.entry.js":[80964,964],"./ion-route_4.entry.js":[38970,8970],"./ion-searchbar.entry.js":[48193,2076,8193],"./ion-segment_2.entry.js":[62560,2076,2560],"./ion-select_3.entry.js":[27076,2076,7076],"./ion-spinner.entry.js":[28805,2076,8805],"./ion-split-pane.entry.js":[95887,5887],"./ion-tab-bar_2.entry.js":[84406,2076,4406],"./ion-tab_2.entry.js":[91102,1102],"./ion-text.entry.js":[41577,1577],"./ion-textarea.entry.js":[52348,2076,2348],"./ion-toast.entry.js":[62415,2076,2415],"./ion-toggle.entry.js":[3814,2076,3814]};function o(C){if(!f.o(c,C))return Promise.resolve().then(()=>{var T=new Error("Cannot find module '"+C+"'");throw T.code="MODULE_NOT_FOUND",T});var a=c[C],E=a[0];return Promise.all(a.slice(1).map(f.e)).then(()=>f(E))}o.keys=()=>Object.keys(c),o.id=88996,ge.exports=o},95235:(ge,_,f)=>{var c={"./pwa-action-sheet.entry.js":[6301,6301],"./pwa-camera-modal-instance.entry.js":[85640,5640],"./pwa-camera-modal.entry.js":[22982,2982],"./pwa-camera.entry.js":[26086,6086],"./pwa-toast.entry.js":[63574,3574]};function o(C){if(!f.o(c,C))return Promise.resolve().then(()=>{var T=new Error("Cannot find module '"+C+"'");throw T.code="MODULE_NOT_FOUND",T});var a=c[C],E=a[0];return f.e(a[1]).then(()=>f(E))}o.keys=()=>Object.keys(c),o.id=95235,ge.exports=o},50477:()=>{},26308:()=>{},42250:()=>{},29645:()=>{},88632:()=>{},13678:()=>{},44573:()=>{},10952:()=>{},48293:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.adapter=_.serializeDoctypeContent=void 0;const c=f(41821),o=f(13268);function C(T){return new o.Text(T)}function a(T){const s=T.includes('"')?"'":'"';return s+T+s}function E(T,s,h){let u="!DOCTYPE ";return T&&(u+=T),s?u+=` PUBLIC ${a(s)}`:h&&(u+=" SYSTEM"),h&&(u+=` ${a(h)}`),u}_.serializeDoctypeContent=E,_.adapter={isCommentNode:o.isComment,isElementNode:o.isTag,isTextNode:o.isText,createDocument(){const T=new o.Document([]);return T["x-mode"]=c.html.DOCUMENT_MODE.NO_QUIRKS,T},createDocumentFragment:()=>new o.Document([]),createElement(T,s,h){const u=Object.create(null),v=Object.create(null),g=Object.create(null);for(let p=0;p<h.length;p++){const b=h[p].name;u[b]=h[p].value,v[b]=h[p].namespace,g[b]=h[p].prefix}const y=new o.Element(T,u,[]);return y.namespace=s,y["x-attribsNamespace"]=v,y["x-attribsPrefix"]=g,y},createCommentNode:T=>new o.Comment(T),appendChild(T,s){const h=T.children[T.children.length-1];h&&(h.next=s,s.prev=h),T.children.push(s),s.parent=T},insertBefore(T,s,h){const u=T.children.indexOf(h),{prev:v}=h;v&&(v.next=s,s.prev=v),h.prev=s,s.next=h,T.children.splice(u,0,s),s.parent=T},setTemplateContent(T,s){_.adapter.appendChild(T,s)},getTemplateContent:T=>T.children[0],setDocumentType(T,s,h,u){const v=E(s,h,u);let g=T.children.find(y=>(0,o.isDirective)(y)&&"!doctype"===y.name);g?g.data=null!=v?v:null:(g=new o.ProcessingInstruction("!doctype",v),_.adapter.appendChild(T,g)),g["x-name"]=null!=s?s:void 0,g["x-publicId"]=null!=h?h:void 0,g["x-systemId"]=null!=u?u:void 0},setDocumentMode(T,s){T["x-mode"]=s},getDocumentMode:T=>T["x-mode"],detachNode(T){if(T.parent){const s=T.parent.children.indexOf(T),{prev:h,next:u}=T;T.prev=null,T.next=null,h&&(h.next=u),u&&(u.prev=h),T.parent.children.splice(s,1),T.parent=null}},insertText(T,s){const h=T.children[T.children.length-1];h&&(0,o.isText)(h)?h.data+=s:_.adapter.appendChild(T,C(s))},insertTextBefore(T,s,h){const u=T.children[T.children.indexOf(h)-1];u&&(0,o.isText)(u)?u.data+=s:_.adapter.insertBefore(T,C(s),h)},adoptAttributes(T,s){for(let h=0;h<s.length;h++){const u=s[h].name;typeof T.attribs[u]>"u"&&(T.attribs[u]=s[h].value,T["x-attribsNamespace"][u]=s[h].namespace,T["x-attribsPrefix"][u]=s[h].prefix)}},getFirstChild:T=>T.children[0],getChildNodes:T=>T.children,getParentNode:T=>T.parent,getAttrList:T=>T.attributes,getTagName:T=>T.name,getNamespaceURI:T=>T.namespace,getTextNodeContent:T=>T.data,getCommentNodeContent:T=>T.data,getDocumentTypeNodeName(T){var s;return null!==(s=T["x-name"])&&void 0!==s?s:""},getDocumentTypeNodePublicId(T){var s;return null!==(s=T["x-publicId"])&&void 0!==s?s:""},getDocumentTypeNodeSystemId(T){var s;return null!==(s=T["x-systemId"])&&void 0!==s?s:""},isDocumentTypeNode:T=>(0,o.isDirective)(T)&&"!doctype"===T.name,setNodeSourceCodeLocation(T,s){s&&(T.startIndex=s.startOffset,T.endIndex=s.endOffset),T.sourceCodeLocation=s},getNodeSourceCodeLocation:T=>T.sourceCodeLocation,updateNodeSourceCodeLocation(T,s){null!=s.endOffset&&(T.endIndex=s.endOffset),T.sourceCodeLocation=Object.assign(Object.assign({},T.sourceCodeLocation),s)}}},56801:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.getDocumentMode=_.isConforming=void 0;const c=f(10606),o="html",E=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],T=[...E,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],s=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),h=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],u=[...h,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function v(p,b){return b.some(R=>p.startsWith(R))}_.isConforming=function g(p){return p.name===o&&null===p.publicId&&(null===p.systemId||"about:legacy-compat"===p.systemId)},_.getDocumentMode=function y(p){if(p.name!==o)return c.DOCUMENT_MODE.QUIRKS;const{systemId:b}=p;if(b&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===b.toLowerCase())return c.DOCUMENT_MODE.QUIRKS;let{publicId:R}=p;if(null!==R){if(R=R.toLowerCase(),s.has(R))return c.DOCUMENT_MODE.QUIRKS;let P=null===b?T:E;if(v(R,P))return c.DOCUMENT_MODE.QUIRKS;if(P=null===b?h:u,v(R,P))return c.DOCUMENT_MODE.LIMITED_QUIRKS}return c.DOCUMENT_MODE.NO_QUIRKS}},86818:(ge,_)=>{"use strict";var c;
1Object.defineProperty(_,"__esModule",{value:!0}),_.ERR=void 0,(c=_.ERR||(_.ERR={})).controlCharacterInInputStream="control-character-in-input-stream",c.noncharacterInInputStream="noncharacter-in-input-stream",c.surrogateInInputStream="surrogate-in-input-stream",c.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",c.endTagWithAttributes="end-tag-with-attributes",c.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",c.unexpectedSolidusInTag="unexpected-solidus-in-tag",c.unexpectedNullCharacter="unexpected-null-character",c.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",c.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",c.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",c.missingEndTagName="missing-end-tag-name",c.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",c.unknownNamedCharacterReference="unknown-named-character-reference",c.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",c.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",c.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",c.eofBeforeTagName="eof-before-tag-name",c.eofInTag="eof-in-tag",c.missingAttributeValue="missing-attribute-value",c.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",c.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",c.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",c.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",c.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",c.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",c.missingDoctypePublicIdentifier="missing-doctype-public-identifier",c.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",c.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",c.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",c.cdataInHtmlContent="cdata-in-html-content",c.incorrectlyOpenedComment="incorrectly-opened-comment",c.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",c.eofInDoctype="eof-in-doctype",c.nestedComment="nested-comment",c.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",c.eofInComment="eof-in-comment",c.incorrectlyClosedComment="incorrectly-closed-comment",c.eofInCdata="eof-in-cdata",c.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",c.nullCharacterReference="null-character-reference",c.surrogateCharacterReference="surrogate-character-reference",c.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",c.controlCharacterReference="control-character-reference",c.noncharacterCharacterReference="noncharacter-character-reference",c.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",c.missingDoctypeName="missing-doctype-name",c.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",c.duplicateAttribute="duplicate-attribute",c.nonConformingDoctype="non-conforming-doctype",c.missingDoctype="missing-doctype",c.misplacedDoctype="misplaced-doctype",c.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",c.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",c.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",c.openElementsLeftAfterEof="open-elements-left-after-eof",c.abandonedHeadElementChild="abandoned-head-element-child",c.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",c.nestedNoscriptInHead="nested-noscript-in-head",c.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"},60783:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.isIntegrationPoint=_.adjustTokenSVGTagName=_.adjustTokenXMLAttrs=_.adjustTokenSVGAttrs=_.adjustTokenMathMLAttrs=_.causesExit=_.SVG_TAG_NAMES_ADJUSTMENT_MAP=void 0;const c=f(10606),o_TEXT_HTML="text/html",o_APPLICATION_XML="application/xhtml+xml",E=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(P=>[P.toLowerCase(),P])),T=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:c.NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:c.NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:c.NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:c.NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:c.NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:c.NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:c.NS.XLINK}
1],["xml:base",{prefix:"xml",name:"base",namespace:c.NS.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:c.NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:c.NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:c.NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:c.NS.XMLNS}]]);_.SVG_TAG_NAMES_ADJUSTMENT_MAP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(P=>[P.toLowerCase(),P]));const s=new Set([c.TAG_ID.B,c.TAG_ID.BIG,c.TAG_ID.BLOCKQUOTE,c.TAG_ID.BODY,c.TAG_ID.BR,c.TAG_ID.CENTER,c.TAG_ID.CODE,c.TAG_ID.DD,c.TAG_ID.DIV,c.TAG_ID.DL,c.TAG_ID.DT,c.TAG_ID.EM,c.TAG_ID.EMBED,c.TAG_ID.H1,c.TAG_ID.H2,c.TAG_ID.H3,c.TAG_ID.H4,c.TAG_ID.H5,c.TAG_ID.H6,c.TAG_ID.HEAD,c.TAG_ID.HR,c.TAG_ID.I,c.TAG_ID.IMG,c.TAG_ID.LI,c.TAG_ID.LISTING,c.TAG_ID.MENU,c.TAG_ID.META,c.TAG_ID.NOBR,c.TAG_ID.OL,c.TAG_ID.P,c.TAG_ID.PRE,c.TAG_ID.RUBY,c.TAG_ID.S,c.TAG_ID.SMALL,c.TAG_ID.SPAN,c.TAG_ID.STRONG,c.TAG_ID.STRIKE,c.TAG_ID.SUB,c.TAG_ID.SUP,c.TAG_ID.TABLE,c.TAG_ID.TT,c.TAG_ID.U,c.TAG_ID.UL,c.TAG_ID.VAR]);_.causesExit=function h(P){const k=P.tagID;return k===c.TAG_ID.FONT&&P.attrs.some(({name:V})=>V===c.ATTRS.COLOR||V===c.ATTRS.SIZE||V===c.ATTRS.FACE)||s.has(k)},_.adjustTokenMathMLAttrs=function u(P){for(let k=0;k<P.attrs.length;k++)if("definitionurl"===P.attrs[k].name){P.attrs[k].name="definitionURL";break}},_.adjustTokenSVGAttrs=function v(P){for(let k=0;k<P.attrs.length;k++){const O=E.get(P.attrs[k].name);null!=O&&(P.attrs[k].name=O)}},_.adjustTokenXMLAttrs=function g(P){for(let k=0;k<P.attrs.length;k++){const O=T.get(P.attrs[k].name);O&&(P.attrs[k].prefix=O.prefix,P.attrs[k].name=O.name,P.attrs[k].namespace=O.namespace)}},_.adjustTokenSVGTagName=function y(P){const k=_.SVG_TAG_NAMES_ADJUSTMENT_MAP.get(P.tagName);null!=k&&(P.tagName=k,P.tagID=(0,c.getTagID)(P.tagName))},_.isIntegrationPoint=function R(P,k,O,V){return(!V||V===c.NS.HTML)&&function b(P,k,O){if(k===c.NS.MATHML&&P===c.TAG_ID.ANNOTATION_XML)for(let V=0;V<O.length;V++)if(O[V].name===c.ATTRS.ENCODING){const K=O[V].value.toLowerCase();return K===o_TEXT_HTML||K===o_APPLICATION_XML}return k===c.NS.SVG&&(P===c.TAG_ID.FOREIGN_OBJECT||P===c.TAG_ID.DESC||P===c.TAG_ID.TITLE)}(P,k,O)||(!V||V===c.NS.MATHML)&&function p(P,k){return k===c.NS.MATHML&&(P===c.TAG_ID.MI||P===c.TAG_ID.MO||P===c.TAG_ID.MN||P===c.TAG_ID.MS||P===c.TAG_ID.MTEXT)}(P,k)}},10606:(ge,_)=>{"use strict";var f,g,C,a;Object.defineProperty(_,"__esModule",{value:!0}),_.hasUnescapedText=_.isNumberedHeader=_.SPECIAL_ELEMENTS=_.getTagID=_.TAG_ID=_.TAG_NAMES=_.DOCUMENT_MODE=_.ATTRS=_.NS=void 0,(g=f=_.NS||(_.NS={})).HTML="http://www.w3.org/1999/xhtml",g.MATHML="http://www.w3.org/1998/Math/MathML",g.SVG="http://www.w3.org/2000/svg",g.XLINK="http://www.w3.org/1999/xlink",g.XML="http://www.w3.org/XML/1998/namespace",g.XMLNS="http://www.w3.org/2000/xmlns/",function(g){g.TYPE="type",g.ACTION="action",g.ENCODING="encoding",g.PROMPT="prompt",g.NAME="name",g.COLOR="color",g.FACE="face",g.SIZE="size"}(_.ATTRS||(_.ATTRS={})),function(g){g.NO_QUIRKS="no-quirks",g.QUIRKS="quirks",g.LIMITED_QUIRKS="limited-quirks"}(_.DOCUMENT_MODE||(_.DOCUMENT_MODE={})),function(g){g.A="a",g.ADDRESS="address",g.ANNOTATION_XML="annotation-xml",g.APPLET="applet",g.AREA="area",g.ARTICLE="article",g.ASIDE="aside",g.B="b",g.BASE="base",g.BASEFONT="basefont",g.BGSOUND="bgsound",g.BIG="big",g.BLOCKQUOTE="blockquote",g.BODY="body",g.BR="br",g.BUTTON="button",g.CAPTION="caption",g.CENTER="center",g.CODE="code",g.COL="col",g.COLGROUP="colgroup",g.DD="dd",g.DESC="desc",g.DETAILS="details",g.DIALOG="dialog",g.DIR="dir",g.DIV="div",g.DL="dl",g.DT="dt",g.EM="em",g.EMBED="embed",g.FIELDSET="fieldset",g.FIGCAPTION="figcaption",g.FIGURE="figure",g.FONT="font",g.FOOTER="footer",g.FOREIGN_OBJECT="foreignObject",g.FORM="form",g.FRAME="frame",g.FRAMESET="frameset",g.H1="h1",g.H2="h2",g.H3="h3",g.H4="h4",g.H5="h5",g.H6="h6",g.HEAD="head",g.HEADER="header",g.HGROUP="hgroup",g.HR="hr",g.HTML="html",g.I="i",g.IMG="img",g.IMAGE="image",g.INPUT="input",g.IFRAME="iframe",g.KEYGEN="keygen",g.LABEL="label",g.LI="li",g.LINK="link",g.LISTING="listing",g.MAIN="main",g.MALIGNMARK="malignmark",g.MARQUEE="marquee",g.MATH="math",g.MENU="menu",g.META="meta",g.MGLYPH="mglyph",g.MI="mi",g.MO="mo",g.MN="mn",g.MS="ms",g.MTEXT="mtext",g.NAV="nav",g.NOBR="nobr",g.NOFRAMES="noframes",g.NOEMBED="noembed",g.NOSCRIPT="noscript",g.OBJECT="object",g.OL="ol",g.OPTGROUP="optgroup",g.OPTION="option",g.P="p",g.PARAM="param",g.PLAINTEXT="plaintext",g.PRE="pre",g.RB="rb",g.RP="rp",g.RT="rt",g.RTC="rtc",g.RUBY="ruby",g.S="s",g.SCRIPT="script",g.SECTION="section",g.SELECT="select",g.SOURCE="source",g.SMALL="small",g.SPAN="span",g.STRIKE="str
1ike",g.STRONG="strong",g.STYLE="style",g.SUB="sub",g.SUMMARY="summary",g.SUP="sup",g.TABLE="table",g.TBODY="tbody",g.TEMPLATE="template",g.TEXTAREA="textarea",g.TFOOT="tfoot",g.TD="td",g.TH="th",g.THEAD="thead",g.TITLE="title",g.TR="tr",g.TRACK="track",g.TT="tt",g.U="u",g.UL="ul",g.SVG="svg",g.VAR="var",g.WBR="wbr",g.XMP="xmp"}(C=_.TAG_NAMES||(_.TAG_NAMES={})),function(g){g[g.UNKNOWN=0]="UNKNOWN",g[g.A=1]="A",g[g.ADDRESS=2]="ADDRESS",g[g.ANNOTATION_XML=3]="ANNOTATION_XML",g[g.APPLET=4]="APPLET",g[g.AREA=5]="AREA",g[g.ARTICLE=6]="ARTICLE",g[g.ASIDE=7]="ASIDE",g[g.B=8]="B",g[g.BASE=9]="BASE",g[g.BASEFONT=10]="BASEFONT",g[g.BGSOUND=11]="BGSOUND",g[g.BIG=12]="BIG",g[g.BLOCKQUOTE=13]="BLOCKQUOTE",g[g.BODY=14]="BODY",g[g.BR=15]="BR",g[g.BUTTON=16]="BUTTON",g[g.CAPTION=17]="CAPTION",g[g.CENTER=18]="CENTER",g[g.CODE=19]="CODE",g[g.COL=20]="COL",g[g.COLGROUP=21]="COLGROUP",g[g.DD=22]="DD",g[g.DESC=23]="DESC",g[g.DETAILS=24]="DETAILS",g[g.DIALOG=25]="DIALOG",g[g.DIR=26]="DIR",g[g.DIV=27]="DIV",g[g.DL=28]="DL",g[g.DT=29]="DT",g[g.EM=30]="EM",g[g.EMBED=31]="EMBED",g[g.FIELDSET=32]="FIELDSET",g[g.FIGCAPTION=33]="FIGCAPTION",g[g.FIGURE=34]="FIGURE",g[g.FONT=35]="FONT",g[g.FOOTER=36]="FOOTER",g[g.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",g[g.FORM=38]="FORM",g[g.FRAME=39]="FRAME",g[g.FRAMESET=40]="FRAMESET",g[g.H1=41]="H1",g[g.H2=42]="H2",g[g.H3=43]="H3",g[g.H4=44]="H4",g[g.H5=45]="H5",g[g.H6=46]="H6",g[g.HEAD=47]="HEAD",g[g.HEADER=48]="HEADER",g[g.HGROUP=49]="HGROUP",g[g.HR=50]="HR",g[g.HTML=51]="HTML",g[g.I=52]="I",g[g.IMG=53]="IMG",g[g.IMAGE=54]="IMAGE",g[g.INPUT=55]="INPUT",g[g.IFRAME=56]="IFRAME",g[g.KEYGEN=57]="KEYGEN",g[g.LABEL=58]="LABEL",g[g.LI=59]="LI",g[g.LINK=60]="LINK",g[g.LISTING=61]="LISTING",g[g.MAIN=62]="MAIN",g[g.MALIGNMARK=63]="MALIGNMARK",g[g.MARQUEE=64]="MARQUEE",g[g.MATH=65]="MATH",g[g.MENU=66]="MENU",g[g.META=67]="META",g[g.MGLYPH=68]="MGLYPH",g[g.MI=69]="MI",g[g.MO=70]="MO",g[g.MN=71]="MN",g[g.MS=72]="MS",g[g.MTEXT=73]="MTEXT",g[g.NAV=74]="NAV",g[g.NOBR=75]="NOBR",g[g.NOFRAMES=76]="NOFRAMES",g[g.NOEMBED=77]="NOEMBED",g[g.NOSCRIPT=78]="NOSCRIPT",g[g.OBJECT=79]="OBJECT",g[g.OL=80]="OL",g[g.OPTGROUP=81]="OPTGROUP",g[g.OPTION=82]="OPTION",g[g.P=83]="P",g[g.PARAM=84]="PARAM",g[g.PLAINTEXT=85]="PLAINTEXT",g[g.PRE=86]="PRE",g[g.RB=87]="RB",g[g.RP=88]="RP",g[g.RT=89]="RT",g[g.RTC=90]="RTC",g[g.RUBY=91]="RUBY",g[g.S=92]="S",g[g.SCRIPT=93]="SCRIPT",g[g.SECTION=94]="SECTION",g[g.SELECT=95]="SELECT",g[g.SOURCE=96]="SOURCE",g[g.SMALL=97]="SMALL",g[g.SPAN=98]="SPAN",g[g.STRIKE=99]="STRIKE",g[g.STRONG=100]="STRONG",g[g.STYLE=101]="STYLE",g[g.SUB=102]="SUB",g[g.SUMMARY=103]="SUMMARY",g[g.SUP=104]="SUP",g[g.TABLE=105]="TABLE",g[g.TBODY=106]="TBODY",g[g.TEMPLATE=107]="TEMPLATE",g[g.TEXTAREA=108]="TEXTAREA",g[g.TFOOT=109]="TFOOT",g[g.TD=110]="TD",g[g.TH=111]="TH",g[g.THEAD=112]="THEAD",g[g.TITLE=113]="TITLE",g[g.TR=114]="TR",g[g.TRACK=115]="TRACK",g[g.TT=116]="TT",g[g.U=117]="U",g[g.UL=118]="UL",g[g.SVG=119]="SVG",g[g.VAR=120]="VAR",g[g.WBR=121]="WBR",g[g.XMP=122]="XMP"}(a=_.TAG_ID||(_.TAG_ID={}));const E=new Map([[C.A,a.A],[C.ADDRESS,a.ADDRESS],[C.ANNOTATION_XML,a.ANNOTATION_XML],[C.APPLET,a.APPLET],[C.AREA,a.AREA],[C.ARTICLE,a.ARTICLE],[C.ASIDE,a.ASIDE],[C.B,a.B],[C.BASE,a.BASE],[C.BASEFONT,a.BASEFONT],[C.BGSOUND,a.BGSOUND],[C.BIG,a.BIG],[C.BLOCKQUOTE,a.BLOCKQUOTE],[C.BODY,a.BODY],[C.BR,a.BR],[C.BUTTON,a.BUTTON],[C.CAPTION,a.CAPTION],[C.CENTER,a.CENTER],[C.CODE,a.CODE],[C.COL,a.COL],[C.COLGROUP,a.COLGROUP],[C.DD,a.DD],[C.DESC,a.DESC],[C.DETAILS,a.DETAILS],[C.DIALOG,a.DIALOG],[C.DIR,a.DIR],[C.DIV,a.DIV],[C.DL,a.DL],[C.DT,a.DT],[C.EM,a.EM],[C.EMBED,a.EMBED],[C.FIELDSET,a.FIELDSET],[C.FIGCAPTION,a.FIGCAPTION],[C.FIGURE,a.FIGURE],[C.FONT,a.FONT],[C.FOOTER,a.FOOTER],[C.FOREIGN_OBJECT,a.FOREIGN_OBJECT],[C.FORM,a.FORM],[C.FRAME,a.FRAME],[C.FRAMESET,a.FRAMESET],[C.H1,a.H1],[C.H2,a.H2],[C.H3,a.H3],[C.H4,a.H4],[C.H5,a.H5],[C.H6,a.H6],[C.HEAD,a.HEAD],[C.HEADER,a.HEADER],[C.HGROUP,a.HGROUP],[C.HR,a.HR],[C.HTML,a.HTML],[C.I,a.I],[C.IMG,a.IMG],[C.IMAGE,a.IMAGE],[C.INPUT,a.INPUT],[C.IFRAME,a.IFRAME],[C.KEYGEN,a.KEYGEN],[C.LABEL,a.LABEL],[C.LI,a.LI],[C.LINK,a.LINK],[C.LISTING,a.LISTING],[C.MAIN,a.MAIN],[C.MALIGNMARK,a.MALIGNMARK],[C.MARQUEE,a.MARQUEE],[C.MATH,a.MATH],[C.MENU,a.MENU],[C.META,a.META],[C.MGLYPH,a.MGLYPH],[C.MI,a.MI],[C.MO,a.MO],[C.MN,a.MN],[C.MS,a.MS],[C.MTEXT,a.MTEXT],[C.NAV,a.NAV],[C.NOBR,a.NOBR],[C.NOFRAMES,a.NOFRAMES],[C.NOEMBED,a.NOEMBED],[C.NOSCRIPT,a.NOSCRIPT],[C.OBJECT,a.OBJECT],[C.OL,a.OL],[C.OPTGROUP,a.OPTGROUP],[C.OPTION,a.OPTION],[C.P,a.P],[C.PARAM,a.PARAM],[C.PLAINTEXT,a.PLAINTEXT],[C.PRE,a.PRE],[C.RB,a.RB],[C.RP,a.RP],[C.RT,a.RT],[C.RTC,a.RTC],[C.RUBY,a.RUBY],[C.S,a.S],[C.SCRIPT,a.SCRIPT],[C.SECTION,a.SECTION],[C.SELECT,a.SELECT],[C.SOURCE,a.SOURCE],[C.SMALL,a.SMALL],[C.SPAN,a.SPAN],[C.STRIKE,a.STRIKE],[C.STRONG,a.STRONG],[C.STYLE,a.STYLE],[C.SUB,a.SUB],[C.SUMMARY,a.SUMMARY],[C.SUP,a.SUP],[C.TABLE,a.TABLE],[C.TBODY,a.TBODY],[C.TEMPLATE,a.TEMPLATE],[C.TEXTAREA,a.TEXTAREA],[C.TFOOT,a.TFOOT],[C.TD,a.TD],[C.TH,a.TH],[C.THEAD,a.THEAD],[C.TITLE,a.TITLE],[C.TR,a.TR],[C.TRACK,a.TRACK],[C.TT,a.TT],[C.U,a.U],[C.UL,a.UL],[C.SVG,a.SVG],[C.VAR,a.VAR],[C.WBR,a.WBR],[C.XMP,a.
1XMP]]);_.getTagID=function T(g){var y;return null!==(y=E.get(g))&&void 0!==y?y:a.UNKNOWN};const s=a;_.SPECIAL_ELEMENTS={[f.HTML]:new Set([s.ADDRESS,s.APPLET,s.AREA,s.ARTICLE,s.ASIDE,s.BASE,s.BASEFONT,s.BGSOUND,s.BLOCKQUOTE,s.BODY,s.BR,s.BUTTON,s.CAPTION,s.CENTER,s.COL,s.COLGROUP,s.DD,s.DETAILS,s.DIR,s.DIV,s.DL,s.DT,s.EMBED,s.FIELDSET,s.FIGCAPTION,s.FIGURE,s.FOOTER,s.FORM,s.FRAME,s.FRAMESET,s.H1,s.H2,s.H3,s.H4,s.H5,s.H6,s.HEAD,s.HEADER,s.HGROUP,s.HR,s.HTML,s.IFRAME,s.IMG,s.INPUT,s.LI,s.LINK,s.LISTING,s.MAIN,s.MARQUEE,s.MENU,s.META,s.NAV,s.NOEMBED,s.NOFRAMES,s.NOSCRIPT,s.OBJECT,s.OL,s.P,s.PARAM,s.PLAINTEXT,s.PRE,s.SCRIPT,s.SECTION,s.SELECT,s.SOURCE,s.STYLE,s.SUMMARY,s.TABLE,s.TBODY,s.TD,s.TEMPLATE,s.TEXTAREA,s.TFOOT,s.TH,s.THEAD,s.TITLE,s.TR,s.TRACK,s.UL,s.WBR,s.XMP]),[f.MATHML]:new Set([s.MI,s.MO,s.MN,s.MS,s.MTEXT,s.ANNOTATION_XML]),[f.SVG]:new Set([s.TITLE,s.FOREIGN_OBJECT,s.DESC]),[f.XLINK]:new Set,[f.XML]:new Set,[f.XMLNS]:new Set},_.isNumberedHeader=function h(g){return g===s.H1||g===s.H2||g===s.H3||g===s.H4||g===s.H5||g===s.H6};const u=new Set([C.STYLE,C.SCRIPT,C.XMP,C.IFRAME,C.NOEMBED,C.NOFRAMES,C.PLAINTEXT]);_.hasUnescapedText=function v(g,y){return u.has(g)||y&&g===C.NOSCRIPT}},49998:(ge,_)=>{"use strict";var o;Object.defineProperty(_,"__esModule",{value:!0}),_.getTokenAttr=_.TokenType=void 0,(o=_.TokenType||(_.TokenType={}))[o.CHARACTER=0]="CHARACTER",o[o.NULL_CHARACTER=1]="NULL_CHARACTER",o[o.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",o[o.START_TAG=3]="START_TAG",o[o.END_TAG=4]="END_TAG",o[o.COMMENT=5]="COMMENT",o[o.DOCTYPE=6]="DOCTYPE",o[o.EOF=7]="EOF",o[o.HIBERNATION=8]="HIBERNATION",_.getTokenAttr=function c(o,C){for(let a=o.attrs.length-1;a>=0;a--)if(o.attrs[a].name===C)return o.attrs[a].value;return null}},63912:(ge,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.isUndefinedCodePoint=_.isControlCodePoint=_.getSurrogatePairCodePoint=_.isSurrogatePair=_.isSurrogate=_.SEQUENCES=_.CODE_POINTS=_.REPLACEMENT_CHARACTER=void 0;const f=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]);var s;_.REPLACEMENT_CHARACTER="\ufffd",(s=_.CODE_POINTS||(_.CODE_POINTS={}))[s.EOF=-1]="EOF",s[s.NULL=0]="NULL",s[s.TABULATION=9]="TABULATION",s[s.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",s[s.LINE_FEED=10]="LINE_FEED",s[s.FORM_FEED=12]="FORM_FEED",s[s.SPACE=32]="SPACE",s[s.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",s[s.QUOTATION_MARK=34]="QUOTATION_MARK",s[s.NUMBER_SIGN=35]="NUMBER_SIGN",s[s.AMPERSAND=38]="AMPERSAND",s[s.APOSTROPHE=39]="APOSTROPHE",s[s.HYPHEN_MINUS=45]="HYPHEN_MINUS",s[s.SOLIDUS=47]="SOLIDUS",s[s.DIGIT_0=48]="DIGIT_0",s[s.DIGIT_9=57]="DIGIT_9",s[s.SEMICOLON=59]="SEMICOLON",s[s.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",s[s.EQUALS_SIGN=61]="EQUALS_SIGN",s[s.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",s[s.QUESTION_MARK=63]="QUESTION_MARK",s[s.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",s[s.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",s[s.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",s[s.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",s[s.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",s[s.GRAVE_ACCENT=96]="GRAVE_ACCENT",s[s.LATIN_SMALL_A=97]="LATIN_SMALL_A",s[s.LATIN_SMALL_F=102]="LATIN_SMALL_F",s[s.LATIN_SMALL_X=120]="LATIN_SMALL_X",s[s.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",s[s.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER",_.SEQUENCES={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"},_.isSurrogate=function o(s){return s>=55296&&s<=57343},_.isSurrogatePair=function C(s){return s>=56320&&s<=57343},_.getSurrogatePairCodePoint=function a(s,h){return 1024*(s-55296)+9216+h},_.isControlCodePoint=function E(s){return 32!==s&&10!==s&&13!==s&&9!==s&&12!==s&&s>=1&&s<=31||s>=127&&s<=159},_.isUndefinedCodePoint=function T(s){return s>=64976&&s<=65007||f.has(s)}},41821:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.parseFragment=_.parse=_.TokenizerMode=_.Tokenizer=_.Token=_.html=_.foreignContent=_.ErrorCodes=_.serializeOuter=_.serialize=_.Parser=_.defaultTreeAdapter=void 0;const c=f(80785);var o=f(85824);Object.defineProperty(_,"defaultTreeAdapter",{enumerable:!0,get:function(){return o.defaultTreeAdapter}});var C=f(80785);Object.defineProperty(_,"Parser",{enumerable:!0,get:function(){return C.Parser}});var a=f(89558);Object.defineProperty(_,"serialize",{enumerable:!0,get:function(){return a.serialize}}),Object.defineProperty(_,"serializeOuter",{enumerable:!0,get:function(){return a.serializeOuter}});var E=f(86818);Object.defineProperty(_,"ErrorCodes",{enumerable:!0,get:function(){return E.ERR}}),_.foreignContent=f(60783),_.html=f(10606),_.Token=f(49998);var T=f(42983);Object.defineProperty(_,"Tokenizer",{enumerable:!0,get:function(){return T.Tokenizer}}),Object.defineProperty(_,"TokenizerMode",{enumerable:!0,get:function(){return T.TokenizerMode}}),_.parse=function s(u,v){return c.Parser.parse(u,v)},_.parseFragment=function h(u,v,g){"string"==typeof u&&(g=v,v=u,u=null);const y=c.Parser.getFragmentParser(u,g);return y.tokenizer.write(v,!0),y.getFragment()}},65344:(ge,_)=>{"use strict";var c,a;
1Object.defineProperty(_,"__esModule",{value:!0}),_.FormattingElementList=_.EntryType=void 0,(a=c=_.EntryType||(_.EntryType={}))[a.Marker=0]="Marker",a[a.Element=1]="Element";const o={type:c.Marker};_.FormattingElementList=class C{constructor(E){this.treeAdapter=E,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(E,T){const s=[],h=T.length,u=this.treeAdapter.getTagName(E),v=this.treeAdapter.getNamespaceURI(E);for(let g=0;g<this.entries.length;g++){const y=this.entries[g];if(y.type===c.Marker)break;const{element:p}=y;if(this.treeAdapter.getTagName(p)===u&&this.treeAdapter.getNamespaceURI(p)===v){const b=this.treeAdapter.getAttrList(p);b.length===h&&s.push({idx:g,attrs:b})}}return s}_ensureNoahArkCondition(E){if(this.entries.length<3)return;const T=this.treeAdapter.getAttrList(E),s=this._getNoahArkConditionCandidates(E,T);if(s.length<3)return;const h=new Map(T.map(v=>[v.name,v.value]));let u=0;for(let v=0;v<s.length;v++){const g=s[v];g.attrs.every(y=>h.get(y.name)===y.value)&&(u+=1,u>=3&&this.entries.splice(g.idx,1))}}insertMarker(){this.entries.unshift(o)}pushElement(E,T){this._ensureNoahArkCondition(E),this.entries.unshift({type:c.Element,element:E,token:T})}insertElementAfterBookmark(E,T){const s=this.entries.indexOf(this.bookmark);this.entries.splice(s,0,{type:c.Element,element:E,token:T})}removeEntry(E){const T=this.entries.indexOf(E);T>=0&&this.entries.splice(T,1)}clearToLastMarker(){const E=this.entries.indexOf(o);E>=0?this.entries.splice(0,E+1):this.entries.length=0}getElementEntryInScopeWithTagName(E){const T=this.entries.find(s=>s.type===c.Marker||this.treeAdapter.getTagName(s.element)===E);return T&&T.type===c.Element?T:null}getElementEntry(E){return this.entries.find(T=>T.type===c.Element&&T.element===E)}}},80785:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Parser=void 0;const c=f(42983),o=f(25809),C=f(65344),a=f(85824),E=f(56801),T=f(60783),s=f(86818),h=f(63912),u=f(10606),v=f(49998),g="hidden",y=8,p=3;var b=function(Ne){return Ne[Ne.INITIAL=0]="INITIAL",Ne[Ne.BEFORE_HTML=1]="BEFORE_HTML",Ne[Ne.BEFORE_HEAD=2]="BEFORE_HEAD",Ne[Ne.IN_HEAD=3]="IN_HEAD",Ne[Ne.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",Ne[Ne.AFTER_HEAD=5]="AFTER_HEAD",Ne[Ne.IN_BODY=6]="IN_BODY",Ne[Ne.TEXT=7]="TEXT",Ne[Ne.IN_TABLE=8]="IN_TABLE",Ne[Ne.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",Ne[Ne.IN_CAPTION=10]="IN_CAPTION",Ne[Ne.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",Ne[Ne.IN_TABLE_BODY=12]="IN_TABLE_BODY",Ne[Ne.IN_ROW=13]="IN_ROW",Ne[Ne.IN_CELL=14]="IN_CELL",Ne[Ne.IN_SELECT=15]="IN_SELECT",Ne[Ne.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",Ne[Ne.IN_TEMPLATE=17]="IN_TEMPLATE",Ne[Ne.AFTER_BODY=18]="AFTER_BODY",Ne[Ne.IN_FRAMESET=19]="IN_FRAMESET",Ne[Ne.AFTER_FRAMESET=20]="AFTER_FRAMESET",Ne[Ne.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",Ne[Ne.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET",Ne}(b||{});const R={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},P=new Set([u.TAG_ID.TABLE,u.TAG_ID.TBODY,u.TAG_ID.TFOOT,u.TAG_ID.THEAD,u.TAG_ID.TR]),k={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:a.defaultTreeAdapter,onParseError:null};function V(Ne,Ge){let Un=Ne.activeFormattingElements.getElementEntryInScopeWithTagName(Ge.tagName);return Un?Ne.openElements.contains(Un.element)?Ne.openElements.hasInScope(Ge.tagID)||(Un=null):(Ne.activeFormattingElements.removeEntry(Un),Un=null):lr(Ne,Ge),Un}function K(Ne,Ge){let Un=null,xe=Ne.openElements.stackTop;for(;xe>=0;xe--){const ht=Ne.openElements.items[xe];if(ht===Ge.element)break;Ne._isSpecialElement(ht,Ne.openElements.tagIDs[xe])&&(Un=ht)}return Un||(Ne.openElements.shortenToLength(xe<0?0:xe),Ne.activeFormattingElements.removeEntry(Ge)),Un}function z(Ne,Ge,Un){let xe=Ge,ht=Ne.openElements.getCommonAncestor(Ge);for(let Ut=0,qe=ht;qe!==Un;Ut++,qe=ht){ht=Ne.openElements.getCommonAncestor(qe);const rn=Ne.activeFormattingElements.getElementEntry(qe),Dn=rn&&Ut>=p;!rn||Dn?(Dn&&Ne.activeFormattingElements.removeEntry(rn),Ne.openElements.remove(qe)):(qe=H(Ne,rn),xe===Ge&&(Ne.activeFormattingElements.bookmark=rn),Ne.treeAdapter.detachNode(xe),Ne.treeAdapter.appendChild(qe,xe),xe=qe)}return xe}function H(Ne,Ge){const Un=Ne.treeAdapter.getNamespaceURI(Ge.element),xe=Ne.treeAdapter.createElement(Ge.token.tagName,Un,Ge.token.attrs);return Ne.openElements.replace(Ge.element,xe),Ge.element=xe,xe}function x(Ne,Ge,Un){const xe=Ne.treeAdapter.getTagName(Ge),ht=(0,u.getTagID)(xe);if(Ne._isElementCausesFosterParenting(ht))Ne._fosterParentElement(Un);else{const Ut=Ne.treeAdapter.getNamespaceURI(Ge);ht===u.TAG_ID.TEMPLATE&&Ut===u.NS.HTML&&(Ge=Ne.treeAdapter.getTemplateContent(Ge)),Ne.treeAdapter.appendChild(Ge,Un)}}function q(Ne,Ge,Un){const xe=Ne.treeAdapter.getNamespaceURI(Un.element),{token:ht}=Un,Ut=Ne.treeAdapter.createElement(ht.tagName,xe,ht.attrs);Ne._adoptNodes(Ge,Ut),Ne.treeAdapter.appendChild(Ge,Ut),Ne.activeFormattingElements.insertElementAfterBookmark(Ut,ht),Ne.activeFormattingElements.removeEntry(Un),Ne.openElements.remove(Un.element),Ne.openElements.insertAfter(Ge,Ut,ht.tagID)}function Z(Ne,Ge){for(let Un=0;Un<y;Un++){const xe=V(Ne,Ge);if(!xe)break;const ht=K(Ne,xe);if(!ht)break;Ne.activeFormattingElements.bookmark=xe;const Ut=z(Ne,ht,xe.element),qe=Ne.openElements.getCommonAncestor(xe.element);Ne.treeAdapter.detachNode(Ut),qe&&x(Ne,qe,Ut),q(Ne,ht,xe)}}function de(Ne,Ge){Ne._appendCommentNode(Ge,Ne.openElements.currentTmplContentOrNode)}function ae(Ne,Ge){if(Ne.stopped=!0,Ge.location){const Un=Ne.fragmentContext?0:2;for(let xe=Ne.openElements.stackTop;xe>=Un;xe--)Ne._setEndLocation(Ne.openElements.items[xe],Ge);if(!Ne.fragmentContext&&Ne.openElements.stackTop>=0){const xe=Ne.openElements.items[0],ht=Ne.treeAdapter.getNodeSourceCodeLocation(xe);if(ht&&!ht.endTag&&(Ne._setEndLocation(xe,Ge),Ne.openElements.stackTop>=1)){const Ut=Ne.openElements.items[1],qe=Ne.treeAdapter.getNodeSourceCodeLocation(Ut);qe&&!qe.endTag&&Ne._setEndLocation(Ut,Ge)}}}}function ne(Ne,Ge){Ne._err(Ge,s.ERR.missingDoctype,!0),Ne.treeAdapter.setDocumentMode(Ne.document,u.DOCUMENT_MODE.QUIRKS),Ne.insertionMode=b.BEFORE_HTML,Ne._processToken(Ge)}function re(Ne,Ge){Ne._insertFakeRootElement(),Ne.insertionMode=b.BEFORE_HEAD,Ne._processToken(Ge)}function M(Ne,Ge){Ne._insertFakeElement(u.TAG_NAMES.HEAD,u.TAG_ID.HEAD),Ne.headElement=Ne.openElements.current,Ne.insertionMode=b.IN_HEAD,Ne._processToken(Ge)}function N(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.HTML:Sn(Ne,Ge);break;case u.TAG_ID.BASE:case u.TAG_ID.BASEFONT:case u.TAG_ID.BGSOUND:case u.TAG_ID.LINK:case u.TAG_ID.META:Ne._appendElement(Ge,u.NS.HTML),Ge.ackSelfClosing=!0;break;case u.TAG_ID.TITLE:Ne._switchToTextParsing(Ge,c.TokenizerMode.RCDATA);break;case u.TAG_ID.NOSCRIPT:Ne.options.scriptingEnabled?Ne._switchToTextParsing(Ge,c.TokenizerMode.RAWTEXT):(Ne._insertElement(Ge,u.NS.HTML),Ne.insertionMode=b.IN_HEAD_NO_SCRIPT);break;case u.TAG_ID.NOFRAMES:case u.TAG_ID.STYLE:Ne._switchToTextParsing(Ge,c.TokenizerMode.RAWTEXT);break;case u.TAG_ID.SCRIPT:Ne._switchToTextParsing(Ge,c.TokenizerMode.SCRIPT_DATA);break;case u.TAG_ID.TEMPLATE:Ne._insertTemplate(Ge),Ne.activeFormattingElements.insertMarker(),Ne.framesetOk=!1,Ne.insertionMode=b.IN_TEMPLATE,Ne.tmplInsertionModeStack.unshift(b.IN_TEMPLATE);break;case u.TAG_ID.HEAD:Ne._err(Ge,s.ERR.misplacedStartTagForHeadElement);break;default:ve(Ne,Ge)}}function ue(Ne,Ge){Ne.openElements.tmplCount>0?(Ne.openElements.generateImpliedEndTagsThoroughly(),Ne.openElements.currentTagId!==u.TAG_ID.TEMPLATE&&Ne._err(Ge,s.ERR.closingOfElementWithOpenChildElements),Ne.openElements.popUntilTagNamePopped(u.TAG_ID.TEMPLATE),Ne.activeFormattingElements.clearToLastMarker(),Ne.tmplInsertionModeStack.shift(),Ne._resetInsertionMode()):Ne._err(Ge,s.ERR.endTagWithoutMatchingOpenElement)}function ve(Ne,Ge){Ne.openElements.pop(),Ne.insertionMode=b.AFTER_HEAD,Ne._processToken(Ge)}function et(Ne,Ge){Ne._err(Ge,Ge.type===v.TokenType.EOF?s.ERR.openElementsLeftAfterEof:s.ERR.disallowedContentInNoscriptInHead),Ne.openElements.pop(),Ne.insertionMode=b.IN_HEAD,Ne._processToken(Ge)}function At(Ne,Ge){Ne._insertFakeElement(u.TAG_NAMES.BODY,u.TAG_ID.BODY),Ne.insertionMode=b.IN_BODY,It(Ne,Ge)}function It(Ne,Ge){switch(Ge.type){case v.TokenType.CHARACTER:St(Ne,Ge);break;case v.TokenType.WHITESPACE_CHARACTER:qt(Ne,Ge);break;case v.TokenType.COMMENT:de(Ne,Ge);break;case v.TokenType.START_TAG:Sn(Ne,Ge);break;case v.TokenType.END_TAG:ar(Ne,Ge);break;case v.TokenType.EOF:ni(Ne,Ge)}}function qt(Ne,Ge){Ne._reconstructActiveFormattingElements(),Ne._insertCharacters(Ge)}function St(Ne,Ge){Ne._reconstructActiveFormattingElements(),Ne._insertCharacters(Ge),Ne.framesetOk=!1}function On(Ne,Ge){Ne._reconstructActiveFormattingElements(),Ne._appendElement(Ge,u.NS.HTML),Ne.framesetOk=!1,Ge.ackSelfClosing=!0}
1function sr(Ne){const Ge=(0,v.getTokenAttr)(Ne,u.ATTRS.TYPE);return null!=Ge&&Ge.toLowerCase()===g}function hr(Ne,Ge){Ne._switchToTextParsing(Ge,c.TokenizerMode.RAWTEXT)}function ln(Ne,Ge){Ne._reconstructActiveFormattingElements(),Ne._insertElement(Ge,u.NS.HTML)}function Sn(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.I:case u.TAG_ID.S:case u.TAG_ID.B:case u.TAG_ID.U:case u.TAG_ID.EM:case u.TAG_ID.TT:case u.TAG_ID.BIG:case u.TAG_ID.CODE:case u.TAG_ID.FONT:case u.TAG_ID.SMALL:case u.TAG_ID.STRIKE:case u.TAG_ID.STRONG:!function jn(Ne,Ge){Ne._reconstructActiveFormattingElements(),Ne._insertElement(Ge,u.NS.HTML),Ne.activeFormattingElements.pushElement(Ne.openElements.current,Ge)}(Ne,Ge);break;case u.TAG_ID.A:!function An(Ne,Ge){const Un=Ne.activeFormattingElements.getElementEntryInScopeWithTagName(u.TAG_NAMES.A);Un&&(Z(Ne,Ge),Ne.openElements.remove(Un.element),Ne.activeFormattingElements.removeEntry(Un)),Ne._reconstructActiveFormattingElements(),Ne._insertElement(Ge,u.NS.HTML),Ne.activeFormattingElements.pushElement(Ne.openElements.current,Ge)}(Ne,Ge);break;case u.TAG_ID.H1:case u.TAG_ID.H2:case u.TAG_ID.H3:case u.TAG_ID.H4:case u.TAG_ID.H5:case u.TAG_ID.H6:!function mt(Ne,Ge){Ne.openElements.hasInButtonScope(u.TAG_ID.P)&&Ne._closePElement(),(0,u.isNumberedHeader)(Ne.openElements.currentTagId)&&Ne.openElements.pop(),Ne._insertElement(Ge,u.NS.HTML)}(Ne,Ge);break;case u.TAG_ID.P:case u.TAG_ID.DL:case u.TAG_ID.OL:case u.TAG_ID.UL:case u.TAG_ID.DIV:case u.TAG_ID.DIR:case u.TAG_ID.NAV:case u.TAG_ID.MAIN:case u.TAG_ID.MENU:case u.TAG_ID.ASIDE:case u.TAG_ID.CENTER:case u.TAG_ID.FIGURE:case u.TAG_ID.FOOTER:case u.TAG_ID.HEADER:case u.TAG_ID.HGROUP:case u.TAG_ID.DIALOG:case u.TAG_ID.DETAILS:case u.TAG_ID.ADDRESS:case u.TAG_ID.ARTICLE:case u.TAG_ID.SECTION:case u.TAG_ID.SUMMARY:case u.TAG_ID.FIELDSET:case u.TAG_ID.BLOCKQUOTE:case u.TAG_ID.FIGCAPTION:!function rt(Ne,Ge){Ne.openElements.hasInButtonScope(u.TAG_ID.P)&&Ne._closePElement(),Ne._insertElement(Ge,u.NS.HTML)}(Ne,Ge);break;case u.TAG_ID.LI:case u.TAG_ID.DD:case u.TAG_ID.DT:!function Lt(Ne,Ge){Ne.framesetOk=!1;const Un=Ge.tagID;for(let xe=Ne.openElements.stackTop;xe>=0;xe--){const ht=Ne.openElements.tagIDs[xe];if(Un===u.TAG_ID.LI&&ht===u.TAG_ID.LI||(Un===u.TAG_ID.DD||Un===u.TAG_ID.DT)&&(ht===u.TAG_ID.DD||ht===u.TAG_ID.DT)){Ne.openElements.generateImpliedEndTagsWithExclusion(ht),Ne.openElements.popUntilTagNamePopped(ht);break}if(ht!==u.TAG_ID.ADDRESS&&ht!==u.TAG_ID.DIV&&ht!==u.TAG_ID.P&&Ne._isSpecialElement(Ne.openElements.items[xe],ht))break}Ne.openElements.hasInButtonScope(u.TAG_ID.P)&&Ne._closePElement(),Ne._insertElement(Ge,u.NS.HTML)}(Ne,Ge);break;case u.TAG_ID.BR:case u.TAG_ID.IMG:case u.TAG_ID.WBR:case u.TAG_ID.AREA:case u.TAG_ID.EMBED:case u.TAG_ID.KEYGEN:On(Ne,Ge);break;case u.TAG_ID.HR:!function Lr(Ne,Ge){Ne.openElements.hasInButtonScope(u.TAG_ID.P)&&Ne._closePElement(),Ne._appendElement(Ge,u.NS.HTML),Ne.framesetOk=!1,Ge.ackSelfClosing=!0}(Ne,Ge);break;case u.TAG_ID.RB:case u.TAG_ID.RTC:!function Xr(Ne,Ge){Ne.openElements.hasInScope(u.TAG_ID.RUBY)&&Ne.openElements.generateImpliedEndTags(),Ne._insertElement(Ge,u.NS.HTML)}(Ne,Ge);break;case u.TAG_ID.RT:case u.TAG_ID.RP:!function Rt(Ne,Ge){Ne.openElements.hasInScope(u.TAG_ID.RUBY)&&Ne.openElements.generateImpliedEndTagsWithExclusion(u.TAG_ID.RTC),Ne._insertElement(Ge,u.NS.HTML)}(Ne,Ge);break;case u.TAG_ID.PRE:case u.TAG_ID.LISTING:!function Mt(Ne,Ge){Ne.openElements.hasInButtonScope(u.TAG_ID.P)&&Ne._closePElement(),Ne._insertElement(Ge,u.NS.HTML),Ne.skipNextNewLine=!0,Ne.framesetOk=!1}(Ne,Ge);break;case u.TAG_ID.XMP:!function qr(Ne,Ge){Ne.openElements.hasInButtonScope(u.TAG_ID.P)&&Ne._closePElement(),Ne._reconstructActiveFormattingElements(),Ne.framesetOk=!1,Ne._switchToTextParsing(Ge,c.TokenizerMode.RAWTEXT)}(Ne,Ge);break;case u.TAG_ID.SVG:!function vn(Ne,Ge){Ne._reconstructActiveFormattingElements(),T.adjustTokenSVGAttrs(Ge),T.adjustTokenXMLAttrs(Ge),Ge.selfClosing?Ne._appendElement(Ge,u.NS.SVG):Ne._insertElement(Ge,u.NS.SVG),Ge.ackSelfClosing=!0}(Ne,Ge);break;case u.TAG_ID.HTML:!function lt(Ne,Ge){0===Ne.openElements.tmplCount&&Ne.treeAdapter.adoptAttributes(Ne.openElements.items[0],Ge.attrs)}(Ne,Ge);break;case u.TAG_ID.BASE:case u.TAG_ID.LINK:case u.TAG_ID.META:case u.TAG_ID.STYLE:case u.TAG_ID.TITLE:case u.TAG_ID.SCRIPT:case u.TAG_ID.BGSOUND:case u.TAG_ID.BASEFONT:case u.TAG_ID.TEMPLATE:N(Ne,Ge);break;case u.TAG_ID.BODY:!function yt(Ne,Ge){const Un=Ne.openElements.tryPeekProperlyNestedBodyElement();Un&&0===Ne.openElements.tmplCount&&(Ne.framesetOk=!1,Ne.treeAdapter.adoptAttributes(Un,Ge.attrs))}(Ne,Ge);break;case u.TAG_ID.FORM:!function Vt(Ne,Ge){const Un=Ne.openElements.tmplCount>0;(!Ne.formElement||Un)&&(Ne.openElements.hasInButtonScope(u.TAG_ID.P)&&Ne._closePElement(),Ne._insertElement(Ge,u.NS.HTML),Un||(Ne.formElement=Ne.openElements.current))}(Ne,Ge);break;case u.TAG_ID.NOBR:!function or(Ne,Ge){Ne._reconstructActiveFormattingElements(),Ne.openElements.hasInScope(u.TAG_ID.NOBR)&&(Z(Ne,Ge),Ne._reconstructActiveFormattingElements()),Ne._insertElement(Ge,u.NS.HTML),Ne.activeFormattingElements.pushElement(Ne.openElements.current,Ge)}(Ne,Ge);break;case u.TAG_ID.MATH:!function zt(Ne,Ge){Ne._reconstructActiveFormattingElements(),T.adjustTokenMathMLAttrs(Ge),T.adjustTokenXMLAttrs(Ge),Ge.selfClosing?Ne._appendElement(Ge,u.NS.MATHML):Ne._insertElement(Ge,u.NS.MATHML),Ge.ackSelfClosing=!0}(Ne,Ge);break;case u.TAG_ID.TABLE:!function Fr(Ne,Ge){Ne.treeAdapter.getDocumentMode(Ne.document)!==u.DOCUMENT_MODE.QUIRKS&&Ne.openElements.hasInButtonScope(u.TAG_ID.P)&&Ne._closePElement(),Ne._insertElement(Ge,u.NS.HTML),Ne.framesetOk=!1,Ne.insertionMode=b.IN_TABLE}(Ne,Ge);break;case u.TAG_ID.INPUT:!function ur(Ne,Ge){Ne._reconstructActiveFormattingElements(),Ne._appendElement(Ge,u.NS.HTML),sr(Ge)||(Ne.framesetOk=!1),Ge.ackSelfClosing=!0}(Ne,Ge);break;case u.TAG_ID.PARAM:case u.TAG_ID.TRACK:case u.TAG_ID.SOURCE:!function tr(Ne,Ge){Ne._appendElement(Ge,u.NS.HTML),Ge.ackSelfClosing=!0}(Ne,Ge);break;case u.TAG_ID.IMAGE:!function Br(Ne,Ge){Ge.tagName=u.TAG_NAMES.IMG,Ge.tagID=u.TAG_ID.IMG,On(Ne,Ge)}(Ne,Ge);break;case u.TAG_ID.BUTTON:!function Tn(Ne,Ge){Ne.openElements.hasInScope(u.TAG_ID.BUTTON)&&(Ne.openElements.generateImpliedEndTags(),Ne.openElements.popUntilTagNamePopped(u.TAG_ID.BUTTON)),Ne._reconstructActiveFormattingElements(),Ne._insertElement(Ge,u.NS.HTML),Ne.framesetOk=!1}(Ne,Ge);break;case u.TAG_ID.APPLET:case u.TAG_ID.OBJECT:case u.TAG_ID.MARQUEE:!function br(Ne,Ge){Ne._reconstructActiveFormattingElements(),Ne._insertElement(Ge,u.NS.HTML),Ne.activeFormattingElements.insertMarker(),Ne.framesetOk=!1}(Ne,Ge);break;case u.TAG_ID.IFRAME:!function _r(Ne,Ge){Ne.framesetOk=!1,Ne._switchToTextParsing(Ge,c.TokenizerMode.RAWTEXT)}(Ne,Ge);break;case u.TAG_ID.SELECT:!function Nr(Ne,Ge){Ne._reconstructActiveFormattingElements(),Ne._insertElement(Ge,u.NS.HTML),Ne.framesetOk=!1,Ne.insertionMode=Ne.insertionMode===b.IN_TABLE||Ne.insertionMode===b.IN_CAPTION||Ne.insertionMode===b.IN_TABLE_BODY||Ne.insertionMode===b.IN_ROW||Ne.insertionMode===b.IN_CELL?b.IN_SELECT_IN_TABLE:b.IN_SELECT}(Ne,Ge);break;case u.TAG_ID.OPTION:case u.TAG_ID.OPTGROUP:!function $r(Ne,Ge){Ne.openElements.currentTagId===u.TAG_ID.OPTION&&Ne.openElements.pop(),Ne._reconstructActiveFormattingElements(),Ne._insertElement(Ge,u.NS.HTML)}(Ne,Ge);break;case u.TAG_ID.NOEMBED:hr(Ne,Ge);break;case u.TAG_ID.FRAMESET:!function Ft(Ne,Ge){const Un=Ne.openElements.tryPeekProperlyNestedBodyElement();Ne.framesetOk&&Un&&(Ne.treeAdapter.detachNode(Un),Ne.openElements.popAllUpToHtmlElement(),Ne._insertElement(Ge,u.NS.HTML),Ne.insertionMode=b.IN_FRAMESET)}(Ne,Ge);break;case u.TAG_ID.TEXTAREA:!function Gr(Ne,Ge){Ne._insertElement(Ge,u.NS.HTML),Ne.skipNextNewLine=!0,Ne.tokenizer.state=c.TokenizerMode.RCDATA,Ne.originalInsertionMode=Ne.insertionMode,Ne.framesetOk=!1,Ne.insertionMode=b.TEXT}(Ne,Ge);break;case u.TAG_ID.NOSCRIPT:Ne.options.scriptingEnabled?hr(Ne,Ge):ln(Ne,Ge);break;case u.TAG_ID.PLAINTEXT:!function $n(Ne,Ge){Ne.openElements.hasInButtonScope(u.TAG_ID.P)&&Ne._closePElement(),Ne._insertElement(Ge,u.NS.HTML),Ne.tokenizer.state=c.TokenizerMode.PLAINTEXT}(Ne,Ge);break;case u.TAG_ID.COL:case u.TAG_ID.TH:case u.TAG_ID.TD:case u.TAG_ID.TR:case u.TAG_ID.HEAD:case u.TAG_ID.FRAME:case u.TAG_ID.TBODY:case u.TAG_ID.TFOOT:case u.TAG_ID.THEAD:case u.TAG_ID.CAPTION:case u.TAG_ID.COLGROUP:break;default:ln(Ne,Ge)}}function lr(Ne,Ge){const Un=Ge.tagName,xe=Ge.tagID;for(let ht=Ne.openElements.stackTop;ht>0;ht--){const Ut=Ne.openElements.items[ht],qe=Ne.openElements.tagIDs[ht];if(xe===qe&&(xe!==u.TAG_ID.UNKNOWN||Ne.treeAdapter.getTagName(Ut)===Un)){Ne.openElements.generateImpliedEndTagsWithExclusion(xe),Ne.openElements.stackTop>
1=ht&&Ne.openElements.shortenToLength(ht);break}if(Ne._isSpecialElement(Ut,qe))break}}function ar(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.A:case u.TAG_ID.B:case u.TAG_ID.I:case u.TAG_ID.S:case u.TAG_ID.U:case u.TAG_ID.EM:case u.TAG_ID.TT:case u.TAG_ID.BIG:case u.TAG_ID.CODE:case u.TAG_ID.FONT:case u.TAG_ID.NOBR:case u.TAG_ID.SMALL:case u.TAG_ID.STRIKE:case u.TAG_ID.STRONG:Z(Ne,Ge);break;case u.TAG_ID.P:!function Cn(Ne){Ne.openElements.hasInButtonScope(u.TAG_ID.P)||Ne._insertFakeElement(u.TAG_NAMES.P,u.TAG_ID.P),Ne._closePElement()}(Ne);break;case u.TAG_ID.DL:case u.TAG_ID.UL:case u.TAG_ID.OL:case u.TAG_ID.DIR:case u.TAG_ID.DIV:case u.TAG_ID.NAV:case u.TAG_ID.PRE:case u.TAG_ID.MAIN:case u.TAG_ID.MENU:case u.TAG_ID.ASIDE:case u.TAG_ID.BUTTON:case u.TAG_ID.CENTER:case u.TAG_ID.FIGURE:case u.TAG_ID.FOOTER:case u.TAG_ID.HEADER:case u.TAG_ID.HGROUP:case u.TAG_ID.DIALOG:case u.TAG_ID.ADDRESS:case u.TAG_ID.ARTICLE:case u.TAG_ID.DETAILS:case u.TAG_ID.SECTION:case u.TAG_ID.SUMMARY:case u.TAG_ID.LISTING:case u.TAG_ID.FIELDSET:case u.TAG_ID.BLOCKQUOTE:case u.TAG_ID.FIGCAPTION:!function tn(Ne,Ge){const Un=Ge.tagID;Ne.openElements.hasInScope(Un)&&(Ne.openElements.generateImpliedEndTags(),Ne.openElements.popUntilTagNamePopped(Un))}(Ne,Ge);break;case u.TAG_ID.LI:!function Kn(Ne){Ne.openElements.hasInListItemScope(u.TAG_ID.LI)&&(Ne.openElements.generateImpliedEndTagsWithExclusion(u.TAG_ID.LI),Ne.openElements.popUntilTagNamePopped(u.TAG_ID.LI))}(Ne);break;case u.TAG_ID.DD:case u.TAG_ID.DT:!function Xn(Ne,Ge){const Un=Ge.tagID;Ne.openElements.hasInScope(Un)&&(Ne.openElements.generateImpliedEndTagsWithExclusion(Un),Ne.openElements.popUntilTagNamePopped(Un))}(Ne,Ge);break;case u.TAG_ID.H1:case u.TAG_ID.H2:case u.TAG_ID.H3:case u.TAG_ID.H4:case u.TAG_ID.H5:case u.TAG_ID.H6:!function nr(Ne){Ne.openElements.hasNumberedHeaderInScope()&&(Ne.openElements.generateImpliedEndTags(),Ne.openElements.popUntilNumberedHeaderPopped())}(Ne);break;case u.TAG_ID.BR:!function fr(Ne){Ne._reconstructActiveFormattingElements(),Ne._insertFakeElement(u.TAG_NAMES.BR,u.TAG_ID.BR),Ne.openElements.pop(),Ne.framesetOk=!1}(Ne);break;case u.TAG_ID.BODY:!function dr(Ne,Ge){if(Ne.openElements.hasInScope(u.TAG_ID.BODY)&&(Ne.insertionMode=b.AFTER_BODY,Ne.options.sourceCodeLocationInfo)){const Un=Ne.openElements.tryPeekProperlyNestedBodyElement();Un&&Ne._setEndLocation(Un,Ge)}}(Ne,Ge);break;case u.TAG_ID.HTML:!function En(Ne,Ge){Ne.openElements.hasInScope(u.TAG_ID.BODY)&&(Ne.insertionMode=b.AFTER_BODY,Ki(Ne,Ge))}(Ne,Ge);break;case u.TAG_ID.FORM:!function bn(Ne){const Ge=Ne.openElements.tmplCount>0,{formElement:Un}=Ne;Ge||(Ne.formElement=null),(Un||Ge)&&Ne.openElements.hasInScope(u.TAG_ID.FORM)&&(Ne.openElements.generateImpliedEndTags(),Ge?Ne.openElements.popUntilTagNamePopped(u.TAG_ID.FORM):Un&&Ne.openElements.remove(Un))}(Ne);break;case u.TAG_ID.APPLET:case u.TAG_ID.OBJECT:case u.TAG_ID.MARQUEE:!function fn(Ne,Ge){const Un=Ge.tagID;Ne.openElements.hasInScope(Un)&&(Ne.openElements.generateImpliedEndTags(),Ne.openElements.popUntilTagNamePopped(Un),Ne.activeFormattingElements.clearToLastMarker())}(Ne,Ge);break;case u.TAG_ID.TEMPLATE:ue(Ne,Ge);break;default:lr(Ne,Ge)}}function ni(Ne,Ge){Ne.tmplInsertionModeStack.length>0?Ar(Ne,Ge):ae(Ne,Ge)}function $i(Ne,Ge){if(P.has(Ne.openElements.currentTagId))switch(Ne.pendingCharacterTokens.length=0,Ne.hasNonWhitespacePendingCharacterToken=!1,Ne.originalInsertionMode=Ne.insertionMode,Ne.insertionMode=b.IN_TABLE_TEXT,Ge.type){case v.TokenType.CHARACTER:nn(Ne,Ge);break;case v.TokenType.WHITESPACE_CHARACTER:Ot(Ne,Ge)}else Ze(Ne,Ge)}function kn(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.TD:case u.TAG_ID.TH:case u.TAG_ID.TR:!function vo(Ne,Ge){Ne.openElements.clearBackToTableContext(),Ne._insertFakeElement(u.TAG_NAMES.TBODY,u.TAG_ID.TBODY),Ne.insertionMode=b.IN_TABLE_BODY,Pe(Ne,Ge)}(Ne,Ge);break;case u.TAG_ID.STYLE:case u.TAG_ID.SCRIPT:case u.TAG_ID.TEMPLATE:N(Ne,Ge);break;case u.TAG_ID.COL:!function lo(Ne,Ge){Ne.openElements.clearBackToTableContext(),Ne._insertFakeElement(u.TAG_NAMES.COLGROUP,u.TAG_ID.COLGROUP),Ne.insertionMode=b.IN_COLUMN_GROUP,hn(Ne,Ge)}(Ne,Ge);break;case u.TAG_ID.FORM:!function Jt(Ne,Ge){!Ne.formElement&&0===Ne.openElements.tmplCount&&(Ne._insertElement(Ge,u.NS.HTML),Ne.formElement=Ne.openElements.current,Ne.openElements.pop())}(Ne,Ge);break;case u.TAG_ID.TABLE:!function Co(Ne,Ge){Ne.openElements.hasInTableScope(u.TAG_ID.TABLE)&&(Ne.openElements.popUntilTagNamePopped(u.TAG_ID.TABLE),Ne._resetInsertionMode(),Ne._processStartTag(Ge))}(Ne,Ge);break;case u.TAG_ID.TBODY:case u.TAG_ID.TFOOT:case u.TAG_ID.THEAD:!function to(Ne,Ge){Ne.openElements.clearBackToTableContext(),Ne._insertElement(Ge,u.NS.HTML),Ne.insertionMode=b.IN_TABLE_BODY}(Ne,Ge);break;case u.TAG_ID.INPUT:!function mn(Ne,Ge){sr(Ge)?Ne._appendElement(Ge,u.NS.HTML):Ze(Ne,Ge),Ge.ackSelfClosing=!0}(Ne,Ge);break;case u.TAG_ID.CAPTION:!function Xi(Ne,Ge){Ne.openElements.clearBackToTableContext(),Ne.activeFormattingElements.insertMarker(),Ne._insertElement(Ge,u.NS.HTML),Ne.insertionMode=b.IN_CAPTION}(Ne,Ge);break;case u.TAG_ID.COLGROUP:!function Di(Ne,Ge){Ne.openElements.clearBackToTableContext(),Ne._insertElement(Ge,u.NS.HTML),Ne.insertionMode=b.IN_COLUMN_GROUP}(Ne,Ge);break;default:Ze(Ne,Ge)}}function Ke(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.TABLE:Ne.openElements.hasInTableScope(u.TAG_ID.TABLE)&&(Ne.openElements.popUntilTagNamePopped(u.TAG_ID.TABLE),Ne._resetInsertionMode());break;case u.TAG_ID.TEMPLATE:ue(Ne,Ge);break;case u.TAG_ID.BODY:case u.TAG_ID.CAPTION:case u.TAG_ID.COL:case u.TAG_ID.COLGROUP:case u.TAG_ID.HTML:case u.TAG_ID.TBODY:case u.TAG_ID.TD:case u.TAG_ID.TFOOT:case u.TAG_ID.TH:case u.TAG_ID.THEAD:case u.TAG_ID.TR:break;default:Ze(Ne,Ge)}}function Ze(Ne,Ge){const Un=Ne.fosterParentingEnabled;Ne.fosterParentingEnabled=!0,It(Ne,Ge),Ne.fosterParentingEnabled=Un}function Ot(Ne,Ge){Ne.pendingCharacterTokens.push(Ge)}function nn(Ne,Ge){Ne.pendingCharacterTokens.push(Ge),Ne.hasNonWhitespacePendingCharacterToken=!0}function wt(Ne,Ge){let Un=0;if(Ne.hasNonWhitespacePendingCharacterToken)for(;Un<Ne.pendingCharacterTokens.length;
1Un++)Ze(Ne,Ne.pendingCharacterTokens[Un]);else for(;Un<Ne.pendingCharacterTokens.length;Un++)Ne._insertCharacters(Ne.pendingCharacterTokens[Un]);Ne.insertionMode=Ne.originalInsertionMode,Ne._processToken(Ge)}_.Parser=class O{constructor(Ge,Un,xe=null,ht=null){this.fragmentContext=xe,this.scriptHandler=ht,this.currentToken=null,this.stopped=!1,this.insertionMode=b.INITIAL,this.originalInsertionMode=b.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=Object.assign(Object.assign({},k),Ge),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=Un?Un:this.treeAdapter.createDocument(),this.tokenizer=new c.Tokenizer(this.options,this),this.activeFormattingElements=new C.FormattingElementList(this.treeAdapter),this.fragmentContextID=xe?(0,u.getTagID)(this.treeAdapter.getTagName(xe)):u.TAG_ID.UNKNOWN,this._setContextModes(null!=xe?xe:this.document,this.fragmentContextID),this.openElements=new o.OpenElementStack(this.document,this.treeAdapter,this)}static parse(Ge,Un){const xe=new this(Un);return xe.tokenizer.write(Ge,!0),xe.document}static getFragmentParser(Ge,Un){const xe=Object.assign(Object.assign({},k),Un);null!=Ge||(Ge=xe.treeAdapter.createElement(u.TAG_NAMES.TEMPLATE,u.NS.HTML,[]));const ht=xe.treeAdapter.createElement("documentmock",u.NS.HTML,[]),Ut=ne
1w this(xe,ht,Ge);return Ut.fragmentContextID===u.TAG_ID.TEMPLATE&&Ut.tmplInsertionModeStack.unshift(b.IN_TEMPLATE),Ut._initTokenizerForFragmentParsing(),Ut._insertFakeRootElement(),Ut._resetInsertionMode(),Ut._findFormInFragmentContext(),Ut}getFragment(){const Ge=this.treeAdapter.getFirstChild(this.document),Un=this.treeAdapter.createDocumentFragment();return this._adoptNodes(Ge,Un),Un}_err(Ge,Un,xe){var ht;if(!this.onParseError)return;const Ut=null!==(ht=Ge.location)&&void 0!==ht?ht:R;this.onParseError({code:Un,startLine:Ut.startLine,startCol:Ut.startCol,startOffset:Ut.startOffset,endLine:xe?Ut.startLine:Ut.endLine,endCol:xe?Ut.startCol:Ut.endCol,endOffset:xe?Ut.startOffset:Ut.endOffset})}onItemPush(Ge,Un,xe){var ht,Ut;null===(Ut=(ht=this.treeAdapter).onItemPush)||void 0===Ut||Ut.call(ht,Ge),xe&&this.openElements.stackTop>0&&this._setContextModes(Ge,Un)}onItemPop(Ge,Un){var xe,ht;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(Ge,this.currentToken),null===(ht=(xe=this.treeAdapter).onItemPop)||void 0===ht||ht.call(xe,Ge,this.openElements.current),Un){let Ut,qe;0===this.openElements.stackTop&&this.fragmentContext?(Ut=this.fragmentContext,qe=this.fragmentContextID):({current:Ut,currentTagId:qe}=this.openElements),this._setContextModes(Ut,qe)}}_setContextModes(Ge,Un){const xe=Ge===this.document||this.treeAdapter.getNamespaceURI(Ge)===u.NS.HTML;this.currentNotInHTML=!xe,this.tokenizer.inForeignNode=!xe&&!this._isIntegrationPoint(Un,Ge)}_switchToTextParsing(Ge,Un){this._insertElement(Ge,u.NS.HTML),this.tokenizer.state=Un,this.originalInsertionMode=this.insertionMode,this.insertionMode=b.TEXT}switchToPlaintextParsing(){this.insertionMode=b.TEXT,this.originalInsertionMode=b.IN_BODY,this.tokenizer.state=c.TokenizerMode.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let Ge=this.fragmentContext;for(;Ge;){if(this.treeAdapter.getTagName(Ge)===u.TAG_NAMES.FORM){this.formElement=Ge;break}Ge=this.treeAdapter.getParentNode(Ge)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===u.NS.HTML)switch(this.fragmentContextID){case u.TAG_ID.TITLE:case u.TAG_ID.TEXTAREA:this.tokenizer.state=c.TokenizerMode.RCDATA;break;case u.TAG_ID.STYLE:case u.TAG_ID.XMP:case u.TAG_ID.IFRAME:case u.TAG_ID.NOEMBED:case u.TAG_ID.NOFRAMES:case u.TAG_ID.NOSCRIPT:this.tokenizer.state=c.TokenizerMode.RAWTEXT;break;case u.TAG_ID.SCRIPT:this.tokenizer.state=c.TokenizerMode.SCRIPT_DATA;break;case u.TAG_ID.PLAINTEXT:this.tokenizer.state=c.TokenizerMode.PLAINTEXT}}_setDocumentType(Ge){if(this.treeAdapter.setDocumentType(this.document,Ge.name||"",Ge.publicId||"",Ge.systemId||""),Ge.location){const qe=this.treeAdapter.getChildNodes(this.document).find(rn=>this.treeAdapter.isDocumentTypeNode(rn));qe&&this.treeAdapter.setNodeSourceCodeLocation(qe,Ge.location)}}_attachElementToTree(Ge,Un){if(this.options.sourceCodeLocationInfo){const xe=Un&&Object.assign(Object.assign({},Un),{startTag:Un});this.treeAdapter.setNodeSourceCodeLocation(Ge,xe)}this._shouldFosterParentOnInsertion()?this._fosterParentElement(Ge):this.treeAdapter.appendChild(this.openElements.currentTmplContentOrNode,Ge)}_appendElement(Ge,Un){const xe=this.treeAdapter.createElement(Ge.tagName,Un,Ge.attrs);this._attachElementToTree(xe,Ge.location)}_insertElement(Ge,Un){const xe=this.treeAdapter.createElement(Ge.tagName,Un,Ge.attrs);this._attachElementToTree(xe,Ge.location),this.openElements.push(xe,Ge.tagID)}_insertFakeElement(Ge,Un){const xe=this.treeAdapter.createElement(Ge,u.NS.HTML,[]);this._attachElementToTree(xe,null),this.openElements.push(xe,Un)}_insertTemplate(Ge){const Un=this.treeAdapter.createElement(Ge.tagName,u.NS.HTML,Ge.attrs),xe=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(Un,xe),this._attachElementToTree(Un,Ge.location),this.openElements.push(Un,Ge.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(xe,null)}_insertFakeRootElement(){const Ge=this.treeAdapter.createElement(u.TAG_NAMES.HTML,u.NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Ge,null),this.treeAdapter.appendChild(this.openElements.current,Ge),this.openElements.push(Ge,u.TAG_ID.HTML)}_appendCommentNode(Ge,Un){const xe=this.treeAdapter.createCommentNode(Ge.data);this.treeAdapter.appendChild(Un,xe),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(xe,Ge.location)}_insertCharacters(Ge){let Un,xe;if(this._shouldFosterParentOnInsertion()?(({parent:Un,beforeElement:xe}=this._findFosterParentingLocation()),xe?this.treeAdapter.insertTextBefore(Un,Ge.chars,xe):this.treeAdapter.insertText(Un,Ge.chars)):(Un=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(Un,Ge.chars)),!Ge.location)return;const ht=this.treeAdapter.getChildNodes(Un),Ut=xe?ht.lastIndexOf(xe):ht.length,qe=ht[Ut-1];if(this.treeAdapter.getNodeSourceCodeLocation(qe)){const{endLine:Dn,endCol:Bi,endOffset:vt}=Ge.location;this.treeAdapter.updateNodeSourceCodeLocation(qe,{endLine:Dn,endCol:Bi,endOffset:vt})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(qe,Ge.location)}_adoptNodes(Ge,Un){for(let xe=this.treeAdapter.getFirstChild(Ge);xe;xe=this.treeAdapter.getFirstChild(Ge))this.treeAdapter.detachNode(xe),this.treeAdapter.appendChild(Un,xe)}_setEndLocation(Ge,Un){if(this.treeAdapter.getNodeSourceCodeLocation(Ge)&&Un.location){const xe=Un.location,ht=this.treeAdapter.getTagName(Ge),Ut=Un.type===v.TokenType.END_TAG&&ht===Un.tagName?{endTag:Object.assign({},xe),endLine:xe.endLine,endCol:xe.endCol,endOffset:xe.endOffset}:{endLine:xe.startLine,endCol:xe.startCol,endOffset:xe.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(Ge,Ut)}
1}shouldProcessStartTagTokenInForeignContent(Ge){if(!this.currentNotInHTML)return!1;let Un,xe;return 0===this.openElements.stackTop&&this.fragmentContext?(Un=this.fragmentContext,xe=this.fragmentContextID):({current:Un,currentTagId:xe}=this.openElements),(Ge.tagID!==u.TAG_ID.SVG||this.treeAdapter.getTagName(Un)!==u.TAG_NAMES.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(Un)!==u.NS.MATHML)&&(this.tokenizer.inForeignNode||(Ge.tagID===u.TAG_ID.MGLYPH||Ge.tagID===u.TAG_ID.MALIGNMARK)&&!this._isIntegrationPoint(xe,Un,u.NS.HTML))}_processToken(Ge){switch(Ge.type){case v.TokenType.CHARACTER:this.onCharacter(Ge);break;case v.TokenType.NULL_CHARACTER:this.onNullCharacter(Ge);break;case v.TokenType.COMMENT:this.onComment(Ge);break;case v.TokenType.DOCTYPE:this.onDoctype(Ge);break;case v.TokenType.START_TAG:this._processStartTag(Ge);break;case v.TokenType.END_TAG:this.onEndTag(Ge);break;case v.TokenType.EOF:this.onEof(Ge);break;case v.TokenType.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(Ge)}}_isIntegrationPoint(Ge,Un,xe){const ht=this.treeAdapter.getNamespaceURI(Un),Ut=this.treeAdapter.getAttrList(Un);return T.isIntegrationPoint(Ge,ht,Ut,xe)}_reconstructActiveFormattingElements(){const Ge=this.activeFormattingElements.entries.length;if(Ge){const Un=this.activeFormattingElements.entries.findIndex(ht=>ht.type===C.EntryType.Marker||this.openElements.contains(ht.element));for(let ht=Un<0?Ge-1:Un-1;ht>=0;ht--){const Ut=this.activeFormattingElements.entries[ht];this._insertElement(Ut.token,this.treeAdapter.getNamespaceURI(Ut.element)),Ut.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=b.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(u.TAG_ID.P),this.openElements.popUntilTagNamePopped(u.TAG_ID.P)}_resetInsertionMode(){for(let Ge=this.openElements.stackTop;Ge>=0;Ge--)switch(0===Ge&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[Ge]){case u.TAG_ID.TR:return void(this.insertionMode=b.IN_ROW);case u.TAG_ID.TBODY:case u.TAG_ID.THEAD:case u.TAG_ID.TFOOT:return void(this.insertionMode=b.IN_TABLE_BODY);case u.TAG_ID.CAPTION:return void(this.insertionMode=b.IN_CAPTION);case u.TAG_ID.COLGROUP:return void(this.insertionMode=b.IN_COLUMN_GROUP);case u.TAG_ID.TABLE:return void(this.insertionMode=b.IN_TABLE);case u.TAG_ID.BODY:return void(this.insertionMode=b.IN_BODY);case u.TAG_ID.FRAMESET:return void(this.insertionMode=b.IN_FRAMESET);case u.TAG_ID.SELECT:return void this._resetInsertionModeForSelect(Ge);case u.TAG_ID.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case u.TAG_ID.HTML:return void(this.insertionMode=this.headElement?b.AFTER_HEAD:b.BEFORE_HEAD);case u.TAG_ID.TD:case u.TAG_ID.TH:if(Ge>0)return void(this.insertionMode=b.IN_CELL);break;case u.TAG_ID.HEAD:if(Ge>0)return void(this.insertionMode=b.IN_HEAD)}this.insertionMode=b.IN_BODY}_resetInsertionModeForSelect(Ge){if(Ge>0)for(let Un=Ge-1;Un>0;Un--){const xe=this.openElements.tagIDs[Un];if(xe===u.TAG_ID.TEMPLATE)break;if(xe===u.TAG_ID.TABLE)return void(this.insertionMode=b.IN_SELECT_IN_TABLE)}this.insertionMode=b.IN_SELECT}_isElementCausesFosterParenting(Ge){return P.has(Ge)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let Ge=this.openElements.stackTop;Ge>=0;Ge--){const Un=this.openElements.items[Ge];switch(this.openElements.tagIDs[Ge]){case u.TAG_ID.TEMPLATE:if(this.treeAdapter.getNamespaceURI(Un)===u.NS.HTML)return{parent:this.treeAdapter.getTemplateContent(Un),beforeElement:null};break;case u.TAG_ID.TABLE:{const xe=this.treeAdapter.getParentNode(Un);return xe?{parent:xe,beforeElement:Un}:{parent:this.openElements.items[Ge-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(Ge){const Un=this._findFosterParentingLocation();Un.beforeElement?this.treeAdapter.insertBefore(Un.parent,Ge,Un.beforeElement):this.treeAdapter.appendChild(Un.parent,Ge)}_isSpecialElement(Ge,Un){const xe=this.treeAdapter.getNamespaceURI(Ge);return u.SPECIAL_ELEMENTS[xe].has(Un)}onCharacter(Ge){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function $s(Ne,Ge){Ne._insertCharacters(Ge),Ne.framesetOk=!1}(this,Ge);else switch(this.insertionMode){case b.INITIAL:ne(this,Ge);break;case b.BEFORE_HTML:re(this,Ge);break;case b.BEFORE_HEAD:M(this,Ge);break;case b.IN_HEAD:ve(this,Ge);break;case b.IN_HEAD_NO_SCRIPT:et(this,Ge);break;case b.AFTER_HEAD:At(this,Ge);break;case b.IN_BODY:case b.IN_CAPTION:case b.IN_CELL:case b.IN_TEMPLATE:St(this,Ge);break;case b.TEXT:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:this._insertCharacters(Ge);break;case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:$i(this,Ge);break;case b.IN_TABLE_TEXT:nn(this,Ge);break;case b.IN_COLUMN_GROUP:He(this,Ge);break;case b.AFTER_BODY:Pi(this,Ge);break;case b.AFTER_AFTER_BODY:bs(this,Ge)}}onNullCharacter(Ge){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function So(Ne,Ge){Ge.chars=h.REPLACEMENT_CHARACTER,Ne._insertCharacters(Ge)}(this,Ge);else switch(this.insertionMode){case b.INITIAL:ne(this,Ge);break;case b.BEFORE_HTML:re(this,Ge);break;case b.BEFORE_HEAD:M(this,Ge);break;case b.IN_HEAD:ve(this,Ge);break;case b.IN_HEAD_NO_SCRIPT:et(this,Ge);break;case b.AFTER_HEAD:At(this,Ge);break;case b.TEXT:this._insertCharacters(Ge);break;case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:$i(this,Ge);break;case b.IN_COLUMN_GROUP:He(this,Ge);break;case b.AFTER_BODY:Pi(this,Ge);break;case b.AFTER_AFTER_BODY:bs(this,Ge)}}onComment(Ge){if(this.skipNextNewLine=!1,this.currentNotInHTML)de(this,Ge);else switch(this.insertionMode){case b.INITIAL:case b.BEFORE_HTML:case b.BEFORE_HEAD:case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:case b.IN_BODY:case b.IN_TABLE:case b.IN_CAPTION:case b.IN_COLUMN_GROUP:case b.IN_TABLE_BODY:case b.IN_ROW:case b.IN_CELL:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:case b.IN_TEMPLATE:case b.IN_FRAMESET:case b.AFTER_FRAMESET:de(this,Ge);break;case b.IN_TABLE_TEXT:wt(this,Ge);break;case b.AFTER_BODY:!function ee(Ne,Ge){Ne._appendCommentNode(Ge,Ne.openElements.items[0])}(this,Ge);break;case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:!function Y(Ne,Ge){Ne._appendCommentNode(Ge,Ne.document)}(this,Ge)}}onDoctype(Ge){switch(this.skipNextNewLine=!1,this.insertionMode){case b.INITIAL:!function fe(Ne,Ge){Ne._setDocumentType(Ge);const Un=Ge.forceQuirks?u.DOCUMENT_MODE.QUIRKS:E.getDocumentMode(Ge);E.isConforming(Ge)||Ne._err(Ge,s.ERR.nonConformingDoctype),Ne.treeAdapter.setDocumentMode(Ne.document,Un),Ne.insertionMode=b.BEFORE_HTML}(this,Ge);break;case b.BEFORE_HEAD:case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:this._err(Ge,s.ERR.misplacedDoctype);break;case b.IN_TABLE_TEXT:wt(this,Ge)}}onStartTag(Ge){this.skipNextNewLine=!1,this.currentToken=Ge,this._processStartTag(Ge),Ge.selfClosing&&!Ge.ackSelfClosing&&this._err(Ge,s.ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(Ge){this.shouldProcessStartTagTokenInForeignContent(Ge)?function cs(Ne,Ge){if(T.causesExit(Ge))qo(Ne),Ne._startTagOutsideForeignContent(Ge);else{const Un=Ne._getAdjustedCurrentElement(),xe=Ne.treeAdapter.getNamespaceURI(Un);
1xe===u.NS.MATHML?T.adjustTokenMathMLAttrs(Ge):xe===u.NS.SVG&&(T.adjustTokenSVGTagName(Ge),T.adjustTokenSVGAttrs(Ge)),T.adjustTokenXMLAttrs(Ge),Ge.selfClosing?Ne._appendElement(Ge,xe):Ne._insertElement(Ge,xe),Ge.ackSelfClosing=!0}}(this,Ge):this._startTagOutsideForeignContent(Ge)}_startTagOutsideForeignContent(Ge){switch(this.insertionMode){case b.INITIAL:ne(this,Ge);break;case b.BEFORE_HTML:!function ce(Ne,Ge){Ge.tagID===u.TAG_ID.HTML?(Ne._insertElement(Ge,u.NS.HTML),Ne.insertionMode=b.BEFORE_HEAD):re(Ne,Ge)}(this,Ge);break;case b.BEFORE_HEAD:!function $(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.HTML:Sn(Ne,Ge);break;case u.TAG_ID.HEAD:Ne._insertElement(Ge,u.NS.HTML),Ne.headElement=Ne.openElements.current,Ne.insertionMode=b.IN_HEAD;break;default:M(Ne,Ge)}}(this,Ge);break;case b.IN_HEAD:N(this,Ge);break;case b.IN_HEAD_NO_SCRIPT:!function we(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.HTML:Sn(Ne,Ge);break;case u.TAG_ID.BASEFONT:case u.TAG_ID.BGSOUND:case u.TAG_ID.HEAD:case u.TAG_ID.LINK:case u.TAG_ID.META:case u.TAG_ID.NOFRAMES:case u.TAG_ID.STYLE:N(Ne,Ge);break;case u.TAG_ID.NOSCRIPT:Ne._err(Ge,s.ERR.nestedNoscriptInHead);break;default:et(Ne,Ge)}}(this,Ge);break;case b.AFTER_HEAD:!function at(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.HTML:Sn(Ne,Ge);break;case u.TAG_ID.BODY:Ne._insertElement(Ge,u.NS.HTML),Ne.framesetOk=!1,Ne.insertionMode=b.IN_BODY;break;case u.TAG_ID.FRAMESET:Ne._insertElement(Ge,u.NS.HTML),Ne.insertionMode=b.IN_FRAMESET;break;case u.TAG_ID.BASE:case u.TAG_ID.BASEFONT:case u.TAG_ID.BGSOUND:case u.TAG_ID.LINK:case u.TAG_ID.META:case u.TAG_ID.NOFRAMES:case u.TAG_ID.SCRIPT:case u.TAG_ID.STYLE:case u.TAG_ID.TEMPLATE:case u.TAG_ID.TITLE:Ne._err(Ge,s.ERR.abandonedHeadElementChild),Ne.openElements.push(Ne.headElement,u.TAG_ID.HEAD),N(Ne,Ge),Ne.openElements.remove(Ne.headElement);break;case u.TAG_ID.HEAD:Ne._err(Ge,s.ERR.misplacedStartTagForHeadElement);break;default:At(Ne,Ge)}}(this,Ge);break;case b.IN_BODY:Sn(this,Ge);break;case b.IN_TABLE:kn(this,Ge);break;case b.IN_TABLE_TEXT:wt(this,Ge);break;case b.IN_CAPTION:!function jt(Ne,Ge){st.has(Ge.tagID)?Ne.openElements.hasInTableScope(u.TAG_ID.CAPTION)&&(Ne.openElements.generateImpliedEndTags(),Ne.openElements.popUntilTagNamePopped(u.TAG_ID.CAPTION),Ne.activeFormattingElements.clearToLastMarker(),Ne.insertionMode=b.IN_TABLE,kn(Ne,Ge)):Sn(Ne,Ge)}(this,Ge);break;case b.IN_COLUMN_GROUP:hn(this,Ge);break;case b.IN_TABLE_BODY:Pe(this,Ge);break;case b.IN_ROW:Oe(this,Ge);break;case b.IN_CELL:!function _t(Ne,Ge){st.has(Ge.tagID)?(Ne.openElements.hasInTableScope(u.TAG_ID.TD)||Ne.openElements.hasInTableScope(u.TAG_ID.TH))&&(Ne._closeTableCell(),Oe(Ne,Ge)):Sn(Ne,Ge)}(this,Ge);break;case b.IN_SELECT:gn(this,Ge);break;case b.IN_SELECT_IN_TABLE:!function Zn(Ne,Ge){const Un=Ge.tagID;Un===u.TAG_ID.CAPTION||Un===u.TAG_ID.TABLE||Un===u.TAG_ID.TBODY||Un===u.TAG_ID.TFOOT||Un===u.TAG_ID.THEAD||Un===u.TAG_ID.TR||Un===u.TAG_ID.TD||Un===u.TAG_ID.TH?(Ne.openElements.popUntilTagNamePopped(u.TAG_ID.SELECT),Ne._resetInsertionMode(),Ne._processStartTag(Ge)):gn(Ne,Ge)}(this,Ge);break;case b.IN_TEMPLATE:!function Yr(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.BASE:case u.TAG_ID.BASEFONT:case u.TAG_ID.BGSOUND:case u.TAG_ID.LINK:case u.TAG_ID.META:case u.TAG_ID.NOFRAMES:case u.TAG_ID.SCRIPT:case u.TAG_ID.STYLE:case u.TAG_ID.TEMPLATE:case u.TAG_ID.TITLE:N(Ne,Ge);break;case u.TAG_ID.CAPTION:case u.TAG_ID.COLGROUP:case u.TAG_ID.TBODY:case u.TAG_ID.TFOOT:case u.TAG_ID.THEAD:Ne.tmplInsertionModeStack[0]=b.IN_TABLE,Ne.insertionMode=b.IN_TABLE,kn(Ne,Ge);break;case u.TAG_ID.COL:Ne.tmplInsertionModeStack[0]=b.IN_COLUMN_GROUP,Ne.insertionMode=b.IN_COLUMN_GROUP,hn(Ne,Ge);break;case u.TAG_ID.TR:Ne.tmplInsertionModeStack[0]=b.IN_TABLE_BODY,Ne.insertionMode=b.IN_TABLE_BODY,Pe(Ne,Ge);break;case u.TAG_ID.TD:case u.TAG_ID.TH:Ne.tmplInsertionModeStack[0]=b.IN_ROW,Ne.insertionMode=b.IN_ROW,Oe(Ne,Ge);break;default:Ne.tmplInsertionModeStack[0]=b.IN_BODY,Ne.insertionMode=b.IN_BODY,Sn(Ne,Ge)}}(this,Ge);break;case b.AFTER_BODY:!function li(Ne,Ge){Ge.tagID===u.TAG_ID.HTML?Sn(Ne,Ge):Pi(Ne,Ge)}(this,Ge);break;case b.IN_FRAMESET:!function io(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.HTML:Sn(Ne,Ge);break;case u.TAG_ID.FRAMESET:Ne._insertElement(Ge,u.NS.HTML);break;case u.TAG_ID.FRAME:Ne._appendElement(Ge,u.NS.HTML),Ge.ackSelfClosing=!0;break;case u.TAG_ID.NOFRAMES:N(Ne,Ge)}}(this,Ge);break;case b.AFTER_FRAMESET:!function ko(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.HTML:Sn(Ne,Ge);break;case u.TAG_ID.NOFRAMES:N(Ne,Ge)}}(this,Ge);break;case b.AFTER_AFTER_BODY:!function ji(Ne,Ge){Ge.tagID===u.TAG_ID.HTML?Sn(Ne,Ge):bs(Ne,Ge)}(this,Ge);break;case b.AFTER_AFTER_FRAMESET:!function xo(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.HTML:Sn(Ne,Ge);break;case u.TAG_ID.NOFRAMES:N(Ne,Ge)}}(this,Ge)}}onEndTag(Ge){this.skipNextNewLine=!1,this.currentToken=Ge,this.currentNotInHTML?function ds(Ne,Ge){if(Ge.tagID===u.TAG_ID.P||Ge.tagID===u.TAG_ID.BR)return qo(Ne),void Ne._endTagOutsideForeignContent(Ge);for(let Un=Ne.openElements.stackTop;Un>0;Un--){const xe=Ne.openElements.items[Un];if(Ne.treeAdapter.getNamespaceURI(xe)===u.NS.HTML){Ne._endTagOutsideForeignContent(Ge);break}const ht=Ne.treeAdapter.getTagName(xe);if(ht.toLowerCase()===Ge.tagName){Ge.tagName=ht,Ne.openElements.shortenToLe
1ngth(Un);break}}}(this,Ge):this._endTagOutsideForeignContent(Ge)}_endTagOutsideForeignContent(Ge){switch(this.insertionMode){case b.INITIAL:ne(this,Ge);break;case b.BEFORE_HTML:!function me(Ne,Ge){const Un=Ge.tagID;(Un===u.TAG_ID.HTML||Un===u.TAG_ID.HEAD||Un===u.TAG_ID.BODY||Un===u.TAG_ID.BR)&&re(Ne,Ge)}(this,Ge);break;case b.BEFORE_HEAD:!function X(Ne,Ge){const Un=Ge.tagID;Un===u.TAG_ID.HEAD||Un===u.TAG_ID.BODY||Un===u.TAG_ID.HTML||Un===u.TAG_ID.BR?M(Ne,Ge):Ne._err(Ge,s.ERR.endTagWithoutMatchingOpenElement)}(this,Ge);break;case b.IN_HEAD:!function G(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.HEAD:Ne.openElements.pop(),Ne.insertionMode=b.AFTER_HEAD;break;case u.TAG_ID.BODY:case u.TAG_ID.BR:case u.TAG_ID.HTML:ve(Ne,Ge);break;case u.TAG_ID.TEMPLATE:ue(Ne,Ge);break;default:Ne._err(Ge,s.ERR.endTagWithoutMatchingOpenElement)}}(this,Ge);break;case b.IN_HEAD_NO_SCRIPT:!function Re(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.NOSCRIPT:Ne.openElements.pop(),Ne.insertionMode=b.IN_HEAD;break;case u.TAG_ID.BR:et(Ne,Ge);break;default:Ne._err(Ge,s.ERR.endTagWithoutMatchingOpenElement)}}(this,Ge);break;case b.AFTER_HEAD:!function Pt(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.BODY:case u.TAG_ID.HTML:case u.TAG_ID.BR:At(Ne,Ge);break;case u.TAG_ID.TEMPLATE:ue(Ne,Ge);break;default:Ne._err(Ge,s.ERR.endTagWithoutMatchingOpenElement)}}(this,Ge);break;case b.IN_BODY:ar(this,Ge);break;case b.TEXT:!function vi(Ne,Ge){var Un;Ge.tagID===u.TAG_ID.SCRIPT&&(null===(Un=Ne.scriptHandler)||void 0===Un||Un.call(Ne,Ne.openElements.current)),Ne.openElements.pop(),Ne.insertionMode=Ne.originalInsertionMode}(this,Ge);break;case b.IN_TABLE:Ke(this,Ge);break;case b.IN_TABLE_TEXT:wt(this,Ge);break;case b.IN_CAPTION:!function xt(Ne,Ge){const Un=Ge.tagID;switch(Un){case u.TAG_ID.CAPTION:case u.TAG_ID.TABLE:Ne.openElements.hasInTableScope(u.TAG_ID.CAPTION)&&(Ne.openElements.generateImpliedEndTags(),Ne.openElements.popUntilTagNamePopped(u.TAG_ID.CAPTION),Ne.activeFormattingElements.clearToLastMarker(),Ne.insertionMode=b.IN_TABLE,Un===u.TAG_ID.TABLE&&Ke(Ne,Ge));break;case u.TAG_ID.BODY:case u.TAG_ID.COL:case u.TAG_ID.COLGROUP:case u.TAG_ID.HTML:case u.TAG_ID.TBODY:case u.TAG_ID.TD:case u.TAG_ID.TFOOT:case u.TAG_ID.TH:case u.TAG_ID.THEAD:case u.TAG_ID.TR:break;default:ar(Ne,Ge)}}(this,Ge);break;case b.IN_COLUMN_GROUP:!function ft(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.COLGROUP:Ne.openElements.currentTagId===u.TAG_ID.COLGROUP&&(Ne.openElements.pop(),Ne.insertionMode=b.IN_TABLE);break;case u.TAG_ID.TEMPLATE:ue(Ne,Ge);break;case u.TAG_ID.COL:break;default:He(Ne,Ge)}}(this,Ge);break;case b.IN_TABLE_BODY:Fe(this,Ge);break;case b.IN_ROW:We(this,Ge);break;case b.IN_CELL:!function en(Ne,Ge){const Un=Ge.tagID;switch(Un){case u.TAG_ID.TD:case u.TAG_ID.TH:Ne.openElements.hasInTableScope(Un)&&(Ne.openElements.generateImpliedEndTags(),Ne.openElements.popUntilTagNamePopped(Un),Ne.activeFormattingElements.clearToLastMarker(),Ne.insertionMode=b.IN_ROW);break;case u.TAG_ID.TABLE:case u.TAG_ID.TBODY:case u.TAG_ID.TFOOT:case u.TAG_ID.THEAD:case u.TAG_ID.TR:Ne.openElements.hasInTableScope(Un)&&(Ne._closeTableCell(),We(Ne,Ge));break;case u.TAG_ID.BODY:case u.TAG_ID.CAPTION:case u.TAG_ID.COL:case u.TAG_ID.COLGROUP:case u.TAG_ID.HTML:break;default:ar(Ne,Ge)}}(this,Ge);break;case b.IN_SELECT:In(this,Ge);break;case b.IN_SELECT_IN_TABLE:!function Er(Ne,Ge){const Un=Ge.tagID;Un===u.TAG_ID.CAPTION||Un===u.TAG_ID.TABLE||Un===u.TAG_ID.TBODY||Un===u.TAG_ID.TFOOT||Un===u.TAG_ID.THEAD||Un===u.TAG_ID.TR||Un===u.TAG_ID.TD||Un===u.TAG_ID.TH?Ne.openElements.hasInTableScope(Un)&&(Ne.openElements.popUntilTagNamePopped(u.TAG_ID.SELECT),Ne._resetInsertionMode(),Ne.onEndTag(Ge)):In(Ne,Ge)}(this,Ge);break;case b.IN_TEMPLATE:!function oi(Ne,Ge){Ge.tagID===u.TAG_ID.TEMPLATE&&ue(Ne,Ge)}(this,Ge);break;case b.AFTER_BODY:Ki(this,Ge);break;case b.IN_FRAMESET:!function ki(Ne,Ge){Ge.tagID===u.TAG_ID.FRAMESET&&!Ne.openElements.isRootHtmlElementCurrent()&&(Ne.openElements.pop(),!Ne.fragmentContext&&Ne.openElements.currentTagId!==u.TAG_ID.FRAMESET&&(Ne.insertionMode=b.AFTER_FRAMESET))}(this,Ge);break;case b.AFTER_FRAMESET:!function Eo(Ne,Ge){Ge.tagID===u.TAG_ID.HTML&&(Ne.insertionMode=b.AFTER_AFTER_FRAMESET)}(this,Ge);break;case b.AFTER_AFTER_BODY:bs(this,Ge)}}onEof(Ge){switch(this.insertionMode){case b.INITIAL:ne(this,Ge);break;case b.BEFORE_HTML:re(this,Ge);break;case b.BEFORE_HEAD:M(this,Ge);break;case b.IN_HEAD:ve(this,Ge);break;case b.IN_HEAD_NO_SCRIPT:et(this,Ge);break;case b.AFTER_HEAD:At(this,Ge);break;case b.IN_BODY:case b.IN_TABLE:case b.IN_CAPTION:case b.IN_COLUMN_GROUP:case b.IN_TABLE_BODY:case b.IN_ROW:case b.IN_CELL:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:ni(this,Ge);break;case b.TEXT:!function no(Ne,Ge){Ne._err(Ge,s.ERR.eofInElementThatCanContainOnlyText),Ne.openElements.pop(),Ne.insertionMode=Ne.originalInsertionMode,Ne.onEof(Ge)}(this,Ge);break;case b.IN_TABLE_TEXT:wt(this,Ge);break;case b.IN_TEMPLATE:Ar(this,Ge);break;case b.AFTER_BODY:case b.IN_FRAMESET:case b.AFTER_FRAMESET:case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:ae(this,Ge)}}onWhitespaceCharacter(Ge){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,Ge.chars.charCo
1deAt(0)===h.CODE_POINTS.LINE_FEED)){if(1===Ge.chars.length)return;Ge.chars=Ge.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(Ge);else switch(this.insertionMode){case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:case b.TEXT:case b.IN_COLUMN_GROUP:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:case b.IN_FRAMESET:case b.AFTER_FRAMESET:this._insertCharacters(Ge);break;case b.IN_BODY:case b.IN_CAPTION:case b.IN_CELL:case b.IN_TEMPLATE:case b.AFTER_BODY:case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:qt(this,Ge);break;case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:$i(this,Ge);break;case b.IN_TABLE_TEXT:Ot(this,Ge)}}};const st=new Set([u.TAG_ID.CAPTION,u.TAG_ID.COL,u.TAG_ID.COLGROUP,u.TAG_ID.TBODY,u.TAG_ID.TD,u.TAG_ID.TFOOT,u.TAG_ID.TH,u.TAG_ID.THEAD,u.TAG_ID.TR]);function hn(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.HTML:Sn(Ne,Ge);break;case u.TAG_ID.COL:Ne._appendElement(Ge,u.NS.HTML),Ge.ackSelfClosing=!0;break;case u.TAG_ID.TEMPLATE:N(Ne,Ge);break;default:He(Ne,Ge)}}function He(Ne,Ge){Ne.openElements.currentTagId===u.TAG_ID.COLGROUP&&(Ne.openElements.pop(),Ne.insertionMode=b.IN_TABLE,Ne._processToken(Ge))}function Pe(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.TR:Ne.openElements.clearBackToTableBodyContext(),Ne._insertElement(Ge,u.NS.HTML),Ne.insertionMode=b.IN_ROW;break;case u.TAG_ID.TH:case u.TAG_ID.TD:Ne.openElements.clearBackToTableBodyContext(),Ne._insertFakeElement(u.TAG_NAMES.TR,u.TAG_ID.TR),Ne.insertionMode=b.IN_ROW,Oe(Ne,Ge);break;case u.TAG_ID.CAPTION:case u.TAG_ID.COL:case u.TAG_ID.COLGROUP:case u.TAG_ID.TBODY:case u.TAG_ID.TFOOT:case u.TAG_ID.THEAD:Ne.openElements.hasTableBodyContextInTableScope()&&(Ne.openElements.clearBackToTableBodyContext(),Ne.openElements.pop(),Ne.insertionMode=b.IN_TABLE,kn(Ne,Ge));break;default:kn(Ne,Ge)}}function Fe(Ne,Ge){const Un=Ge.tagID;switch(Ge.tagID){case u.TAG_ID.TBODY:case u.TAG_ID.TFOOT:case u.TAG_ID.THEAD:Ne.openElements.hasInTableScope(Un)&&(Ne.openElements.clearBackToTableBodyContext(),Ne.openElements.pop(),Ne.insertionMode=b.IN_TABLE);break;case u.TAG_ID.TABLE:Ne.openElements.hasTableBodyContextInTableScope()&&(Ne.openElements.clearBackToTableBodyContext(),Ne.openElements.pop(),Ne.insertionMode=b.IN_TABLE,Ke(Ne,Ge));break;case u.TAG_ID.BODY:case u.TAG_ID.CAPTION:case u.TAG_ID.COL:case u.TAG_ID.COLGROUP:case u.TAG_ID.HTML:case u.TAG_ID.TD:case u.TAG_ID.TH:case u.TAG_ID.TR:break;default:Ke(Ne,Ge)}}function Oe(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.TH:case u.TAG_ID.TD:Ne.openElements.clearBackToTableRowContext(),Ne._insertElement(Ge,u.NS.HTML),Ne.insertionMode=b.IN_CELL,Ne.activeFormattingElements.insertMarker();break;case u.TAG_ID.CAPTION:case u.TAG_ID.COL:case u.TAG_ID.COLGROUP:case u.TAG_ID.TBODY:case u.TAG_ID.TFOOT:case u.TAG_ID.THEAD:case u.TAG_ID.TR:Ne.openElements.hasInTableScope(u.TAG_ID.TR)&&(Ne.openElements.clearBackToTableRowContext(),Ne.openElements.pop(),Ne.insertionMode=b.IN_TABLE_BODY,Pe(Ne,Ge));break;default:kn(Ne,Ge)}}function We(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.TR:Ne.openElements.hasInTableScope(u.TAG_ID.TR)&&(Ne.openElements.clearBackToTableRowContext(),Ne.openElements.pop(),Ne.insertionMode=b.IN_TABLE_BODY);break;case u.TAG_ID.TABLE:Ne.openElements.hasInTableScope(u.TAG_ID.TR)&&(Ne.openElements.clearBackToTableRowContext(),Ne.openElements.pop(),Ne.insertionMode=b.IN_TABLE_BODY,Fe(Ne,Ge));break;case u.TAG_ID.TBODY:case u.TAG_ID.TFOOT:case u.TAG_ID.THEAD:(Ne.openElements.hasInTableScope(Ge.tagID)||Ne.openElements.hasInTableScope(u.TAG_ID.TR))&&(Ne.openElements.clearBackToTableRowContext(),Ne.openElements.pop(),Ne.insertionMode=b.IN_TABLE_BODY,Fe(Ne,Ge));break;case u.TAG_ID.BODY:case u.TAG_ID.CAPTION:case u.TAG_ID.COL:case u.TAG_ID.COLGROUP:case u.TAG_ID.HTML:case u.TAG_ID.TD:case u.TAG_ID.TH:break;default:Ke(Ne,Ge)}}function gn(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.HTML:Sn(Ne,Ge);break;case u.TAG_ID.OPTION:Ne.openElements.currentTagId===u.TAG_ID.OPTION&&Ne.openElements.pop(),Ne._insertElement(Ge,u.NS.HTML);break;case u.TAG_ID.OPTGROUP:Ne.openElements.currentTagId===u.TAG_ID.OPTION&&Ne.openElements.pop(),Ne.openElements.currentTagId===u.TAG_ID.OPTGROUP&&Ne.openElements.pop(),Ne._insertElement(Ge,u.NS.HTML);break;case u.TAG_ID.INPUT:case u.TAG_ID.KEYGEN:case u.TAG_ID.TEXTAREA:case u.TAG_ID.SELECT:Ne.openElements.hasInSelectScope(u.TAG_ID.SELECT)&&(Ne.openElements.popUntilTagNamePopped(u.TAG_ID.SELECT),Ne._resetInsertionMode(),Ge.tagID!==u.TAG_ID.SELECT&&Ne._processStartTag(Ge));break;case u.TAG_ID.SCRIPT:case u.TAG_ID.TEMPLATE:N(Ne,Ge)}}function In(Ne,Ge){switch(Ge.tagID){case u.TAG_ID.OPTGROUP:Ne.openElements.stackTop>0&&Ne.openElements.currentTagId===u.TAG_ID.OPTION&&Ne.openElements.tagIDs[Ne.openElements.stackTop-1]===u.TAG_ID.OPTGROUP&&Ne.openElements.pop(),Ne.openElements.currentTagId===u.TAG_ID.OPTGROUP&&Ne.openElements.pop();break;case u.TAG_ID.OPTION:Ne.openElements.currentTagId===u.TAG_ID.OPTION&&Ne.openElements.pop();break;case u.TAG_ID.SELECT:Ne.openElements.hasInSelectScope(u.TAG_ID.SELECT)&&(Ne.openElements.popUntilTagNamePopped(u.TAG_ID.SELECT),Ne._resetInsertionMode());break;case u.TAG_ID.TEMPLATE:ue(Ne,Ge)}}function Ar(Ne,Ge){Ne.openElements.tmplCount>0?(Ne.openElements.popUntilTagNamePopped(u.TAG_ID.TEMPLATE),Ne.activeFormattingElements.clearToLastMarker(),Ne.tmplInsertionModeStack.shift(),Ne._resetInsertionMode(),Ne.onEof(Ge)):ae(Ne,Ge)}function Ki(Ne,Ge){var Un;if(Ge.tagID===u.TAG_ID.HTML){if(Ne.fragmentContext||(Ne.insertionMode=b.AFTER_AFTER_BODY),Ne.options.sourceCodeLocationInfo&&Ne.openElements.tagIDs[0]===u.TAG_ID.HTML){Ne._setEndLocation(Ne.openElements.items[0],Ge);const xe=Ne.openElements.items[1];xe&&(null===(Un=Ne.treeAdapter.getNodeSourceCodeLocation(xe))||void 0===Un||!Un.endTag)&&Ne._setEndLocation(xe,Ge)}}else Pi(Ne,Ge)}function Pi(Ne,Ge){Ne.insertionMode=b.IN_BODY,It(Ne,Ge)}function bs(Ne,Ge){Ne.insertionMode=b.IN_BODY,It(Ne,Ge)}function qo(Ne){for(;Ne.treeAdapter.getNamespaceURI(Ne.openElements.current)!==u.NS.HTML&&!Ne._isIntegrationPoint(Ne.openElements.currentTagId,Ne.openElements.current);)Ne.openElements.pop()}},25809:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.OpenElementStack=void 0;const c=f(10606),o=new Set([c.TAG_ID.DD,c.TAG_ID.DT,c.TAG_ID.LI,c.TAG_ID.OPTGROUP,c.TAG_ID.OPTION,c.TAG_ID.P,c.TAG_ID.RB,c.TAG_ID.RP,c.TAG_ID.RT,c.TAG_ID.RTC]),C=new Set([...o,c.TAG_ID.CAPTION,c.TAG_ID.COLGROUP,c.TAG_ID.TBODY,c.TAG_ID.TD,c.TAG_ID.TFOOT,c.TAG_ID.TH,c.TAG_ID.THEAD,c.TAG_ID.TR]),a=new Map([[c.TAG_ID.APPLET,c.NS.HTML],[c.TAG_ID.CAPTION,c.NS.HTML],[c.TAG_ID.HTML,c.NS.HTML],[c.TAG_ID.MARQUEE,c.NS.HTML],[c.TAG_ID.OBJECT,c.NS.HTML],[c.TAG_ID.TABLE,c.NS.HTML],[c.TAG_ID.TD,c.NS.HTML],[c.TAG_ID.TEMPLATE,c.NS.HTML],[c.TAG_ID.TH,c.NS.HTML],[c.TAG_ID.ANNOTATION_XML,c.NS.MATHML],[c.TAG_ID.MI,c.NS.MATHML],[c.TAG_ID.MN,c.NS.MATHML],[c.TAG_ID.MO,c.NS.MATHML],[c.TAG_ID.MS,c.NS.MATHML],[c.TAG_ID.MTEXT,c.NS.MATHML],[c.TAG_ID.DESC,c.NS.SVG],[c.TAG_ID.FOREIGN_OBJECT,c.NS.SVG],[c.TAG_ID.TITLE,c.NS.SVG]]),E=[c.TAG_ID.H1,c.TAG_ID.H2,c.TAG_ID.H3,c.TAG_ID.H4,c.TAG_ID.H5,c.TAG_ID.H6],T=[c.TAG_ID.TR,c.TAG_ID.TEMPLATE,c.TAG_ID.HTML],s=[c.TAG_ID.TBODY,c.TAG_ID.TFOOT,c.TAG_ID.THEAD,c.TAG_ID.TEMPLATE,c.TAG_ID.HTML],h=[c.TAG_ID.TABLE,c.TAG_ID.TEMPLATE,c.TAG_ID.HTML],u=[c.TAG_ID.TD,c.TAG_ID.TH];_.OpenElementStack=class v{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(y,p,b){this.treeAdapter=p,this.handler=b,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=c.TAG_ID.UNKNOWN,this.current=y}_indexOf(y){return this.items.lastIndexOf(y,this.stackTop)}_isInTemplate(){return this.currentTagId===c.TAG_ID.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===c.NS.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(y,p){this.stackTop++,this.items[this.stackTop]=y,this.current=y,this.tagIDs[this.stackTop]=p,this.currentTagId=p,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(y,p,!0)}pop(){const y=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(y,!0)}replace(y,p){const b=this._indexOf(y);this.items[b]=p,b===this.stackTop&&(this.current=p)}insertAfter(y,p,b){const R=this._indexOf(y)+1;this.items.splice(R,0,p),this.tagIDs.splice(R,0,b),this.stackTop++,R===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,R===this.stackTop)}popUntilTagNamePopped(y){let p=this.stackTop+1;do{p=this.tagIDs.lastIndexOf(y,p-1)}while(p>0&&this.treeAdapter.getNamespaceURI(this.items[p])!==c.NS.HTML);this.shortenToLength(p<0?0:p)}shortenToLength(y){for(;this.stackTop>=y;){const p=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(p,this.stackTop<y)}}popUntilElementPopped(y){const p=this._indexOf(y);this.shortenToLength(p<0?0:p)}popUntilPopped(y,p){const b=this._indexOfTagNames(y,p);this.shortenToLength(b<0?0:b)}popUntilNumberedHeaderPopped(){this.popUntilPopped(E,c.NS.HTML)}popUntilTableCellPopped(){this.popUntilPopped(u,c.NS.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(y,p){for(let b=this.stackTop;b>=0;b--)if(y.includes(this.tagIDs[b])&&this.treeAdapter.getNamespaceURI(this.items[b])===p)return b;return-1}clearBackTo(y,p){const b=this._indexOfTagNames(y,p);this.shortenToLength(b+1)}clearBackToTableContext(){this.clearBackTo(h,c.NS.HTML)}clearBackToTableBodyContext(){this.clearBackTo(s,c.NS.HTML)}clearBackToTableRowContext(){this.clearBackTo(T,c.NS.HTML)}remove(y){const p=this._indexOf(y);p>=0&&(p===this.stackTop?this.pop():(this.items.splice(p,1),this.tagIDs.splice(p,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(y,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===c.TAG_ID.BODY?this.items[1]:null}contains(y){return this._indexOf(y)>-1}getCommonAncestor(y){const p=this._indexOf(y)-1;return p>=0?this.items[p]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===c.TAG_ID.HTML}hasInScope(y){for(let p=this.stackTop;p>=0;p--){const b=this.tagIDs[p],R=this.treeAdapter.getNamespaceURI(this.items[p]);if(b===y&&R===c.NS.HTML)return!0;
1if(a.get(b)===R)return!1}return!0}hasNumberedHeaderInScope(){for(let y=this.stackTop;y>=0;y--){const p=this.tagIDs[y],b=this.treeAdapter.getNamespaceURI(this.items[y]);if((0,c.isNumberedHeader)(p)&&b===c.NS.HTML)return!0;if(a.get(p)===b)return!1}return!0}hasInListItemScope(y){for(let p=this.stackTop;p>=0;p--){const b=this.tagIDs[p],R=this.treeAdapter.getNamespaceURI(this.items[p]);if(b===y&&R===c.NS.HTML)return!0;if((b===c.TAG_ID.UL||b===c.TAG_ID.OL)&&R===c.NS.HTML||a.get(b)===R)return!1}return!0}hasInButtonScope(y){for(let p=this.stackTop;p>=0;p--){const b=this.tagIDs[p],R=this.treeAdapter.getNamespaceURI(this.items[p]);if(b===y&&R===c.NS.HTML)return!0;if(b===c.TAG_ID.BUTTON&&R===c.NS.HTML||a.get(b)===R)return!1}return!0}hasInTableScope(y){for(let p=this.stackTop;p>=0;p--){const b=this.tagIDs[p];if(this.treeAdapter.getNamespaceURI(this.items[p])===c.NS.HTML){if(b===y)return!0;if(b===c.TAG_ID.TABLE||b===c.TAG_ID.TEMPLATE||b===c.TAG_ID.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let y=this.stackTop;y>=0;y--){const p=this.tagIDs[y];if(this.treeAdapter.getNamespaceURI(this.items[y])===c.NS.HTML){if(p===c.TAG_ID.TBODY||p===c.TAG_ID.THEAD||p===c.TAG_ID.TFOOT)return!0;if(p===c.TAG_ID.TABLE||p===c.TAG_ID.HTML)return!1}}return!0}hasInSelectScope(y){for(let p=this.stackTop;p>=0;p--){const b=this.tagIDs[p];if(this.treeAdapter.getNamespaceURI(this.items[p])===c.NS.HTML){if(b===y)return!0;if(b!==c.TAG_ID.OPTION&&b!==c.TAG_ID.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;o.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;C.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(y){for(;this.currentTagId!==y&&C.has(this.currentTagId);)this.pop()}}},89558:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.serializeOuter=_.serialize=void 0;const c=f(10606),o=f(31996),C=f(85824),a=new Set([c.TAG_NAMES.AREA,c.TAG_NAMES.BASE,c.TAG_NAMES.BASEFONT,c.TAG_NAMES.BGSOUND,c.TAG_NAMES.BR,c.TAG_NAMES.COL,c.TAG_NAMES.EMBED,c.TAG_NAMES.FRAME,c.TAG_NAMES.HR,c.TAG_NAMES.IMG,c.TAG_NAMES.INPUT,c.TAG_NAMES.KEYGEN,c.TAG_NAMES.LINK,c.TAG_NAMES.META,c.TAG_NAMES.PARAM,c.TAG_NAMES.SOURCE,c.TAG_NAMES.TRACK,c.TAG_NAMES.WBR]);function E(P,k){return k.treeAdapter.isElementNode(P)&&k.treeAdapter.getNamespaceURI(P)===c.NS.HTML&&a.has(k.treeAdapter.getTagName(P))}const T={treeAdapter:C.defaultTreeAdapter,scriptingEnabled:!0};function u(P,k){let O="";const V=k.treeAdapter.isElementNode(P)&&k.treeAdapter.getTagName(P)===c.TAG_NAMES.TEMPLATE&&k.treeAdapter.getNamespaceURI(P)===c.NS.HTML?k.treeAdapter.getTemplateContent(P):P,K=k.treeAdapter.getChildNodes(V);if(K)for(const z of K)O+=v(z,k);return O}function v(P,k){return k.treeAdapter.isElementNode(P)?function g(P,k){const O=k.treeAdapter.getTagName(P);return`<${O}${function y(P,{treeAdapter:k}){let O="";for(const V of k.getAttrList(P)){if(O+=" ",V.namespace)switch(V.namespace){case c.NS.XML:O+=`xml:${V.name}`;break;case c.NS.XMLNS:"xmlns"!==V.name&&(O+="xmlns:"),O+=V.name;break;case c.NS.XLINK:O+=`xlink:${V.name}`;break;default:O+=`${V.prefix}:${V.name}`}else O+=V.name;O+=`="${(0,o.escapeAttribute)(V.value)}"`}return O}(P,k)}>${E(P,k)?"":`${u(P,k)}</${O}>`}`}(P,k):k.treeAdapter.isTextNode(P)?function p(P,k){const{treeAdapter:O}=k,V=O.getTextNodeContent(P),K=O.getParentNode(P),z=K&&O.isElementNode(K)&&O.getTagName(K);return z&&O.getNamespaceURI(K)===c.NS.HTML&&(0,c.hasUnescapedText)(z,k.scriptingEnabled)?V:(0,o.escapeText)(V)}(P,k):k.treeAdapter.isCommentNode(P)?function b(P,{treeAdapter:k}){return`\x3c!--${k.getCommentNodeContent(P)}--\x3e`}(P,k):k.treeAdapter.isDocumentTypeNode(P)?function R(P,{treeAdapter:k}){return`<!DOCTYPE ${k.getDocumentTypeNodeName(P)}>`}(P,k):""}_.serialize=function s(P,k){const O=Object.assign(Object.assign({},T),k);return E(P,O)?"":u(P,O)},_.serializeOuter=function h(P,k){return v(P,Object.assign(Object.assign({},T),k))}},42983:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Tokenizer=_.TokenizerMode=void 0;const c=f(67412),o=f(63912),C=f(49998),a=f(52201),E=f(86818),T=f(10606),s=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var h=function(H){return H[H.DATA=0]="DATA",H[H.RCDATA=1]="RCDATA",H[H.RAWTEXT=2]="RAWTEXT",H[H.SCRIPT_DATA=3]="SCRIPT_DATA",H[H.PLAINTEXT=4]="PLAINTEXT",H[H.TAG_OPEN=5]="TAG_OPEN",H[H.END_TAG_OPEN=6]="END_TAG_OPEN",H[H.TAG_NAME=7]="TAG_NAME",H[H.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",H[H.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",H[H.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",H[H.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",H[H.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",H[H.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",H[H.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",H[H.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",H[H.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",H[H.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",H[H.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",H[H.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",H[H.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",H[H.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",H[H.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",H[H.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",H[H.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",H[H.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",H[H.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",H[H.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",H[H.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",H[H.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",H[H.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",H[H.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",H[H.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",H[H.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",H[H.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",H[H.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",H[H.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",H[H.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",H[H.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",H[H.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",H[H.BOGUS_COMMENT=40]="BOGUS_COMMENT",H[H.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",H[H.COMMENT_START=42]="COMMENT_START",H[H.COMMENT_START_DASH=43]="COMMENT_START_DASH",H[H.COMMENT=44]="COMMENT",H[H.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",H[H.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",H[H.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",H[H.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",H[H.COMMENT_END_DASH=49]="COMMENT_END_DASH",H[H.COMMENT_END=50]="COMMENT_END",H[H.COMMENT_END_BANG=51]="COMMENT_END_BANG",H[H.DOCTYPE=52]="DOCTYPE",H[H.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",H[H.DOCTYPE_NAME=54]="DOCTYPE_NAME",H[H.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",H[H.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",H[H.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",H[H.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",H[H.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",H[H.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",H[H.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",H[H.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",H[H.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",H[H.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",H[H.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",H[H.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",H[H.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",H[H.CDATA_SECTION=68]="CDATA_SECTION",H[H.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",H[H.CDATA_SECTION_END=70]="CDATA_SECTION_END",H[H.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",H[H.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",H[H.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",H[H.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",H[H.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",H[H.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",H[H.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",H[H.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END",H}(h||{});function u(H){return H>=o.CODE_POINTS.DIGIT_0&&H<=o.CODE_POINTS.DIGIT_9}function v(H){return H>=o.CODE_POINTS.LATIN_CAPITAL_A&&H<=o.CODE_POINTS.LATIN_CAPITAL_Z}function y(H){return function g(H){return H>=o.CODE_POINTS.LATIN_SMALL_A&&H<=o.CODE_POINTS.LATIN_SMALL_Z}(H)||v(H)}function p(H){return y(H)||u(H)}function b(H){return H>=o.CODE_POINTS.LATIN_CAPITAL_A&&H<=o.CODE_POINTS.LATIN_CAPITAL_F}
vendor: 52,109 bytes, line 1
1function R(H){return H>=o.CODE_POINTS.LATIN_SMALL_A&&H<=o.CODE_POINTS.LATIN_SMALL_F}function k(H){return H+32}function O(H){return H===o.CODE_POINTS.SPACE||H===o.CODE_POINTS.LINE_FEED||H===o.CODE_POINTS.TABULATION||H===o.CODE_POINTS.FORM_FEED}function K(H){return O(H)||H===o.CODE_POINTS.SOLIDUS||H===o.CODE_POINTS.GREATER_THAN_SIGN}_.TokenizerMode={DATA:h.DATA,RCDATA:h.RCDATA,RAWTEXT:h.RAWTEXT,SCRIPT_DATA:h.SCRIPT_DATA,PLAINTEXT:h.PLAINTEXT,CDATA_SECTION:h.CDATA_SECTION},_.Tokenizer=class z{constructor(x,q){this.options=x,this.handler=q,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=h.DATA,this.returnState=h.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new c.Preprocessor(q),this.currentLocation=this.getCurrentLocation(-1)}_err(x){var q,Z;null===(Z=(q=this.handler).onParseError)||void 0===Z||Z.call(q,this.preprocessor.getError(x))}getCurrentLocation(x){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-x,startOffset:this.preprocessor.offset-x,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const x=this._consume();this._ensureHibernation()||this._callState(x)}this.inLoop=!1}}pause(){this.paused=!0}resume(x){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||null==x||x())}write(x,q,Z){this.active=!0,this.preprocessor.write(x,q),this._runParsingLoop(),this.paused||null==Z||Z()}insertHtmlAtCurrentPos(x){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(x),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(x){this.consumedAfterSnapshot-=x,this.preprocessor.retreat(x)}_reconsumeInState(x,q){this.state=x,this._callState(q)}_advanceBy(x){this.consumedAfterSnapshot+=x;for(let q=0;q<x;q++)this.preprocessor.advance()}_consumeSequenceIfMatch(x,q){return!!this.preprocessor.startsWith(x,q)&&(this._advanceBy(x.length-1),!0)}_createStartTagToken(){this.currentToken={type:C.TokenType.START_TAG,tagName:"",tagID:T.TAG_ID.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:C.TokenType.END_TAG,tagName:"",tagID:T.TAG_ID.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(x){this.currentToken={type:C.TokenType.COMMENT,data:"",location:this.getCurrentLocation(x)}}_createDoctypeToken(x){this.currentToken={type:C.TokenType.DOCTYPE,name:x,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(x,q){this.currentCharacterToken={type:x,chars:q,location:this.currentLocation}}_createAttr(x){this.currentAttr={name:x,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var x,q;const Z=this.currentToken;null===(0,C.getTokenAttr)(Z,this.currentAttr.name)?(Z.attrs.push(this.currentAttr),Z.location&&this.currentLocation&&((null!==(x=(q=Z.location).attrs)&&void 0!==x?x:q.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(E.ERR.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(x){this._emitCurrentCharacterToken(x.location),this.currentToken=null,x.location&&(x.location.endLine=this.preprocessor.line,x.location.endCol=this.preprocessor.col+1,x.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const x=this.currentToken;this.prepareToken(x),x.tagID=(0,T.getTagID)(x.tagName),x.type===C.TokenType.START_TAG?(this.lastStartTagName=x.tagName,this.handler.onStartTag(x)):(x.attrs.length>0&&this._err(E.ERR.endTagWithAttributes),x.selfClosing&&this._err(E.ERR.endTagWithTrailingSolidus),this.handler.onEndTag(x)),this.preprocessor.dropParsedChunk()}emitCurrentComment(x){this.prepareToken(x),this.handler.onComment(x),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(x){this.prepareToken(x),this.handler.onDoctype(x),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(x){if(this.currentCharacterToken){switch(x&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=x.startLine,this.currentCharacterToken.location.endCol=x.startCol,this.currentCharacterToken.location.endOffset=x.startOffset),this.currentCharacterToken.type){case C.TokenType.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case C.TokenType.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case C.TokenType.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const x=this.getCurrentLocation(0);x&&(x.endLine=x.startLine,x.endCol=x.startCol,x.endOffset=x.startOffset),this._emitCurrentCharacterToken(x),this.handler.onEof({type:C.TokenType.EOF,location:x}),this.active=!1}_appendCharToCurrentCharacterToken(x,q){if(this.currentCharacterToken){if(this.currentCharacterToken.type===x)return void(this.currentCharacterToken.chars+=q);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(x,q)}_emitCodePoint(x){const q=O(x)?C.TokenType.WHITESPACE_CHARACTER:x===o.CODE_POINTS.NULL?C.TokenType.NULL_CHARACTER:C.TokenType.CHARACTER;this._appendCharToCurrentCharacterToken(q,String.fromCodePoint(x))}_emitChars(x){this._appendCharToCurrentCharacterToken(C.TokenType.CHARACTER,x)}_matchNamedCharacterReference(x){let q=null,Z=0,de=!1;for(let ee=0,Y=a.htmlDecodeTree[0];ee>=0&&(ee=(0,a.determineBranch)(a.htmlDecodeTree,Y,ee+1,x),!(ee<0));x=this._consume()){Z+=1,Y=a.htmlDecodeTree[ee];const ae=Y&a.BinTrieFlags.VALUE_LENGTH;if(ae){const fe=(ae>>14)-1;if(x!==o.CODE_POINTS.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((H=this.preprocessor.peek(1))===o.CODE_POINTS.EQUALS_SIGN||p(H))?(q=[o.CODE_POINTS.AMPERSAND],ee+=fe):(q=0===fe?[a.htmlDecodeTree[ee]&~a.BinTrieFlags.VALUE_LENGTH]:1===fe?[a.htmlDecodeTree[++ee]]:[a.htmlDecodeTree[++ee],a.htmlDecodeTree[++ee]],Z=0,de=x!==o.CODE_POINTS.SEMICOLON),0===fe){this._consume();break}}}var H;return this._unconsume(Z),de&&!this.preprocessor.endOfChunkHit&&this._err(E.ERR.missingSemicolonAfterCharacterReference),this._unconsume(1),q}_isCharacterReferenceInAttribute(){return this.returnState===h.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===h.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===h.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(x){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(x):this._emitCodePoint(x)}_callState(x){switch(this.state){case h.DATA:this._stateData(x);break;case h.RCDATA:this._stateRcdata(x);break;case h.RAWTEXT:this._stateRawtext(x);break;case h.SCRIPT_DATA:this._stateScriptData(x);break;case h.PLAINTEXT:this._statePlaintext(x);break;case h.TAG_OPEN:this._stateTagOpen(x);break;case h.END_TAG_OPEN:this._stateEndTagOpen(x);break;case h.TAG_NAME:this._stateTagName(x);break;case h.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(x);break;case h.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(x);break;case h.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(x);break;case h.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(x);break;case h.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(x);break;case h.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(x);break;case h.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(x);break;case h.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(x);break;case h.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(x);break;case h.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(x);break;case h.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(x);break;case h.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(x);break;case h.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(x);break;case h.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(x);break;case h.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(x);break;case h.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(x);break;case h.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(x);break;case h.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(x);break;case h.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(x);break;case h.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(x);break;case h.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(x);break;case h.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(x);break;case h.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(x);break;case h.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(x);break;case h.ATTRIBUTE_NAME:this._stateAttributeName(x);break;case h.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(x);break;case h.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(x);break;case h.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(x);break;case h.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(x);break;case h.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(x);break;case h.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(x);break;case h.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(x);break;case h.BOGUS_COMMENT:this._stateBogusComment(x);break;case h.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(x);break;case h.COMMENT_START:this._stateCommentStart(x);break;case h.COMMENT_START_DASH:this._stateCommentStartDash(x);break;case h.COMMENT:this._stateComment(x);break;case h.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(x);break;case h.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(x);break;case h.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(x);break;case h.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(x);break;case h.COMMENT_END_DASH:this._stateCommentEndDash(x);break;case h.COMMENT_END:this._stateCommentEnd(x);break;case h.COMMENT_END_BANG:this._stateCommentEndBang(x);break;case h.DOCTYPE:this._stateDoctype(x);break;case h.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(x);break;case h.DOCTYPE_NAME:this._stateDoctypeName(x);break;case h.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(x);break;case h.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(x);break;case h.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(x);break;case h.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(x);break;case h.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(x);break;case h.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(x);break;case h.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(x);break;case h.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(x);break;case h.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(x);break;case h.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(x);break;case h.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(x);break;case h.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(x);break;case h.BOGUS_DOCTYPE:this._stateBogusDoctype(x);break;case h.CDATA_SECTION:this._stateCdataSection(x);break;case h.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(x);break;case h.CDATA_SECTION_END:this._stateCdataSectionEnd(x);break;case h.CHARACTER_REFERENCE:this._stateCharacterReference(x);break;case h.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(x);break;case h.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(x);break;case h.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(x);break;case h.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(x);break;case h.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(x);break;case h.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(x);break;case h.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(x);break;default:throw new Error("Unknown state")}}_stateData(x){switch(x){case o.CODE_POINTS.LESS_THAN_SIGN:this.state=h.TAG_OPEN;break;case o.CODE_POINTS.AMPERSAND:this.returnState=h.DATA,this.state=h.CHARACTER_REFERENCE;break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),this._emitCodePoint(x);break;case o.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(x)}}_stateRcdata(x){switch(x){case o.CODE_POINTS.AMPERSAND:this.returnState=h.RCDATA,this.state=h.CHARACTER_REFERENCE;break;case o.CODE_POINTS.LESS_THAN_SIGN:this.state=h.RCDATA_LESS_THAN_SIGN;break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),this._emitChars(o.REPLACEMENT_CHARACTER);break;case o.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(x)}}_stateRawtext(x){switch(x){case o.CODE_POINTS.LESS_THAN_SIGN:this.state=h.RAWTEXT_LESS_THAN_SIGN;break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),this._emitChars(o.REPLACEMENT_CHARACTER);break;case o.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(x)}}_stateScriptData(x){switch(x){case o.CODE_POINTS.LESS_THAN_SIGN:this.state=h.SCRIPT_DATA_LESS_THAN_SIGN;break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),this._emitChars(o.REPLACEMENT_CHARACTER);break;case o.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(x)}}_statePlaintext(x){switch(x){case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),this._emitChars(o.REPLACEMENT_CHARACTER);break;case o.CODE_POINTS.EOF:this._emitEOFToken();break;default:this._emitCodePoint(x)}}_stateTagOpen(x){if(y(x))this._createStartTagToken(),this.state=h.TAG_NAME,this._stateTagName(x);else switch(x){case o.CODE_POINTS.EXCLAMATION_MARK:this.state=h.MARKUP_DECLARATION_OPEN;break;case o.CODE_POINTS.SOLIDUS:this.state=h.END_TAG_OPEN;break;case o.CODE_POINTS.QUESTION_MARK:this._err(E.ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=h.BOGUS_COMMENT,this._stateBogusComment(x);break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(E.ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=h.DATA,this._stateData(x)}}_stateEndTagOpen(x){if(y(x))this._createEndTagToken(),this.state=h.TAG_NAME,this._stateTagName(x);else switch(x){case o.CODE_POINTS.GREATER_THAN_SIGN:this._err(E.ERR.missingEndTagName),this.state=h.DATA;break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(E.ERR.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=h.BOGUS_COMMENT,this._stateBogusComment(x)}}_stateTagName(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:this.state=h.BEFORE_ATTRIBUTE_NAME;break;case o.CODE_POINTS.SOLIDUS:this.state=h.SELF_CLOSING_START_TAG;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this.state=h.DATA,this.emitCurrentTagToken();break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),q.tagName+=o.REPLACEMENT_CHARACTER;break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInTag),this._emitEOFToken();break;default:q.tagName+=String.fromCodePoint(v(x)?k(x):x)}}_stateRcdataLessThanSign(x){x===o.CODE_POINTS.SOLIDUS?this.state=h.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=h.RCDATA,this._stateRcdata(x))}_stateRcdataEndTagOpen(x){y(x)?(this.state=h.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(x)):(this._emitChars("</"),this.state=h.RCDATA,this._stateRcdata(x))}handleSpecialEndTag(x){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=h.BEFORE_ATTRIBUTE_NAME,!1;case o.CODE_POINTS.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=h.SELF_CLOSING_START_TAG,!1;case o.CODE_POINTS.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=h.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(x){this.handleSpecialEndTag(x)&&(this._emitChars("</"),this.state=h.RCDATA,this._stateRcdata(x))}_stateRawtextLessThanSign(x){x===o.CODE_POINTS.SOLIDUS?this.state=h.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=h.RAWTEXT,this._stateRawtext(x))}_stateRawtextEndTagOpen(x){y(x)?(this.state=h.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(x)):(this._emitChars("</"),this.state=h.RAWTEXT,this._stateRawtext(x))}_stateRawtextEndTagName(x){this.handleSpecialEndTag(x)&&(this._emitChars("</"),this.state=h.RAWTEXT,this._stateRawtext(x))}_stateScriptDataLessThanSign(x){switch(x){case o.CODE_POINTS.SOLIDUS:this.state=h.SCRIPT_DATA_END_TAG_OPEN;break;case o.CODE_POINTS.EXCLAMATION_MARK:this.state=h.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=h.SCRIPT_DATA,this._stateScriptData(x)}}_stateScriptDataEndTagOpen(x){y(x)?(this.state=h.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(x)):(this._emitChars("</"),this.state=h.SCRIPT_DATA,this._stateScriptData(x))}_stateScriptDataEndTagName(x){this.handleSpecialEndTag(x)&&(this._emitChars("</"),this.state=h.SCRIPT_DATA,this._stateScriptData(x))}_stateScriptDataEscapeStart(x){x===o.CODE_POINTS.HYPHEN_MINUS?(this.state=h.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=h.SCRIPT_DATA,this._stateScriptData(x))}_stateScriptDataEscapeStartDash(x){x===o.CODE_POINTS.HYPHEN_MINUS?(this.state=h.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=h.SCRIPT_DATA,this._stateScriptData(x))}_stateScriptDataEscaped(x){switch(x){case o.CODE_POINTS.HYPHEN_MINUS:this.state=h.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case o.CODE_POINTS.LESS_THAN_SIGN:this.state=h.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),this._emitChars(o.REPLACEMENT_CHARACTER);break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(x)}}_stateScriptDataEscapedDash(x){switch(x){case o.CODE_POINTS.HYPHEN_MINUS:this.state=h.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case o.CODE_POINTS.LESS_THAN_SIGN:this.state=h.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),this.state=h.SCRIPT_DATA_ESCAPED,this._emitChars(o.REPLACEMENT_CHARACTER);break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=h.SCRIPT_DATA_ESCAPED,this._emitCodePoint(x)}}_stateScriptDataEscapedDashDash(x){switch(x){case o.CODE_POINTS.HYPHEN_MINUS:this._emitChars("-");break;case o.CODE_POINTS.LESS_THAN_SIGN:this.state=h.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this.state=h.SCRIPT_DATA,this._emitChars(">");break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),this.state=h.SCRIPT_DATA_ESCAPED,this._emitChars(o.REPLACEMENT_CHARACTER);break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=h.SCRIPT_DATA_ESCAPED,this._emitCodePoint(x)}}_stateScriptDataEscapedLessThanSign(x){x===o.CODE_POINTS.SOLIDUS?this.state=h.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:y(x)?(this._emitChars("<"),this.state=h.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(x)):(this._emitChars("<"),this.state=h.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(x))}_stateScriptDataEscapedEndTagOpen(x){y(x)?(this.state=h.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(x)):(this._emitChars("</"),this.state=h.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(x))}_stateScriptDataEscapedEndTagName(x){this.handleSpecialEndTag(x)&&(this._emitChars("</"),this.state=h.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(x))}_stateScriptDataDoubleEscapeStart(x){if(this.preprocessor.startsWith(o.SEQUENCES.SCRIPT,!1)&&K(this.preprocessor.peek(o.SEQUENCES.SCRIPT.length))){this._emitCodePoint(x);for(let q=0;q<o.SEQUENCES.SCRIPT.length;q++)this._emitCodePoint(this._consume());this.state=h.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=h.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(x))}_stateScriptDataDoubleEscaped(x){switch(x){case o.CODE_POINTS.HYPHEN_MINUS:this.state=h.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case o.CODE_POINTS.LESS_THAN_SIGN:this.state=h.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),this._emitChars(o.REPLACEMENT_CHARACTER);break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(x)}}_stateScriptDataDoubleEscapedDash(x){switch(x){case o.CODE_POINTS.HYPHEN_MINUS:this.state=h.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case o.CODE_POINTS.LESS_THAN_SIGN:this.state=h.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),this.state=h.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(o.REPLACEMENT_CHARACTER);break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=h.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(x)}}_stateScriptDataDoubleEscapedDashDash(x){switch(x){case o.CODE_POINTS.HYPHEN_MINUS:this._emitChars("-");break;case o.CODE_POINTS.LESS_THAN_SIGN:this.state=h.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case o.CODE_POINTS.GREATER_THAN_SIGN:this.state=h.SCRIPT_DATA,this._emitChars(">");break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),this.state=h.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(o.REPLACEMENT_CHARACTER);break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=h.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(x)}}_stateScriptDataDoubleEscapedLessThanSign(x){x===o.CODE_POINTS.SOLIDUS?(this.state=h.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=h.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(x))}_stateScriptDataDoubleEscapeEnd(x){if(this.preprocessor.startsWith(o.SEQUENCES.SCRIPT,!1)&&K(this.preprocessor.peek(o.SEQUENCES.SCRIPT.length))){this._emitCodePoint(x);for(let q=0;q<o.SEQUENCES.SCRIPT.length;q++)this._emitCodePoint(this._consume());this.state=h.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=h.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(x))}_stateBeforeAttributeName(x){switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:break;case o.CODE_POINTS.SOLIDUS:case o.CODE_POINTS.GREATER_THAN_SIGN:case o.CODE_POINTS.EOF:this.state=h.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(x);break;case o.CODE_POINTS.EQUALS_SIGN:this._err(E.ERR.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=h.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=h.ATTRIBUTE_NAME,this._stateAttributeName(x)}}_stateAttributeName(x){switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:case o.CODE_POINTS.SOLIDUS:case o.CODE_POINTS.GREATER_THAN_SIGN:case o.CODE_POINTS.EOF:this._leaveAttrName(),this.state=h.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(x);break;case o.CODE_POINTS.EQUALS_SIGN:this._leaveAttrName(),this.state=h.BEFORE_ATTRIBUTE_VALUE;break;case o.CODE_POINTS.QUOTATION_MARK:case o.CODE_POINTS.APOSTROPHE:case o.CODE_POINTS.LESS_THAN_SIGN:this._err(E.ERR.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(x);break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),this.currentAttr.name+=o.REPLACEMENT_CHARACTER;break;default:this.currentAttr.name+=String.fromCodePoint(v(x)?k(x):x)}}_stateAfterAttributeName(x){switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:break;case o.CODE_POINTS.SOLIDUS:this.state=h.SELF_CLOSING_START_TAG;break;case o.CODE_POINTS.EQUALS_SIGN:this.state=h.BEFORE_ATTRIBUTE_VALUE;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this.state=h.DATA,this.emitCurrentTagToken();break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=h.ATTRIBUTE_NAME,this._stateAttributeName(x)}}_stateBeforeAttributeValue(x){switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:break;case o.CODE_POINTS.QUOTATION_MARK:this.state=h.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case o.CODE_POINTS.APOSTROPHE:this.state=h.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this._err(E.ERR.missingAttributeValue),this.state=h.DATA,this.emitCurrentTagToken();break;default:this.state=h.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(x)}}_stateAttributeValueDoubleQuoted(x){switch(x){case o.CODE_POINTS.QUOTATION_MARK:this.state=h.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case o.CODE_POINTS.AMPERSAND:this.returnState=h.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=h.CHARACTER_REFERENCE;break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),this.currentAttr.value+=o.REPLACEMENT_CHARACTER;break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(x)}}_stateAttributeValueSingleQuoted(x){switch(x){case o.CODE_POINTS.APOSTROPHE:this.state=h.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case o.CODE_POINTS.AMPERSAND:this.returnState=h.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=h.CHARACTER_REFERENCE;break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),this.currentAttr.value+=o.REPLACEMENT_CHARACTER;break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(x)}}_stateAttributeValueUnquoted(x){switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:this._leaveAttrValue(),this.state=h.BEFORE_ATTRIBUTE_NAME;break;case o.CODE_POINTS.AMPERSAND:this.returnState=h.ATTRIBUTE_VALUE_UNQUOTED,this.state=h.CHARACTER_REFERENCE;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=h.DATA,this.emitCurrentTagToken();break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),this.currentAttr.value+=o.REPLACEMENT_CHARACTER;break;case o.CODE_POINTS.QUOTATION_MARK:case o.CODE_POINTS.APOSTROPHE:case o.CODE_POINTS.LESS_THAN_SIGN:case o.CODE_POINTS.EQUALS_SIGN:case o.CODE_POINTS.GRAVE_ACCENT:this._err(E.ERR.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(x);break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(x)}}_stateAfterAttributeValueQuoted(x){switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:this._leaveAttrValue(),this.state=h.BEFORE_ATTRIBUTE_NAME;break;case o.CODE_POINTS.SOLIDUS:this._leaveAttrValue(),this.state=h.SELF_CLOSING_START_TAG;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=h.DATA,this.emitCurrentTagToken();break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInTag),this._emitEOFToken();break;default:this._err(E.ERR.missingWhitespaceBetweenAttributes),this.state=h.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(x)}}_stateSelfClosingStartTag(x){switch(x){case o.CODE_POINTS.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=h.DATA,this.emitCurrentTagToken();break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInTag),this._emitEOFToken();break;default:this._err(E.ERR.unexpectedSolidusInTag),this.state=h.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(x)}}_stateBogusComment(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.GREATER_THAN_SIGN:this.state=h.DATA,this.emitCurrentComment(q);break;case o.CODE_POINTS.EOF:this.emitCurrentComment(q),this._emitEOFToken();break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),q.data+=o.REPLACEMENT_CHARACTER;break;default:q.data+=String.fromCodePoint(x)}}_stateMarkupDeclarationOpen(x){this._consumeSequenceIfMatch(o.SEQUENCES.DASH_DASH,!0)?(this._createCommentToken(o.SEQUENCES.DASH_DASH.length+1),this.state=h.COMMENT_START):this._consumeSequenceIfMatch(o.SEQUENCES.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(o.SEQUENCES.DOCTYPE.length+1),this.state=h.DOCTYPE):this._consumeSequenceIfMatch(o.SEQUENCES.CDATA_START,!0)?this.inForeignNode?this.state=h.CDATA_SECTION:(this._err(E.ERR.cdataInHtmlContent),this._createCommentToken(o.SEQUENCES.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=h.BOGUS_COMMENT):this._ensureHibernation()||(this._err(E.ERR.incorrectlyOpenedComment),this._createCommentToken(2),this.state=h.BOGUS_COMMENT,this._stateBogusComment(x))}_stateCommentStart(x){switch(x){case o.CODE_POINTS.HYPHEN_MINUS:this.state=h.COMMENT_START_DASH;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this._err(E.ERR.abruptClosingOfEmptyComment),this.state=h.DATA,this.emitCurrentComment(this.currentToken);break;default:this.state=h.COMMENT,this._stateComment(x)}}_stateCommentStartDash(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.HYPHEN_MINUS:this.state=h.COMMENT_END;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this._err(E.ERR.abruptClosingOfEmptyComment),this.state=h.DATA,this.emitCurrentComment(q);break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInComment),this.emitCurrentComment(q),this._emitEOFToken();break;default:q.data+="-",this.state=h.COMMENT,this._stateComment(x)}}_stateComment(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.HYPHEN_MINUS:this.state=h.COMMENT_END_DASH;break;case o.CODE_POINTS.LESS_THAN_SIGN:q.data+="<",this.state=h.COMMENT_LESS_THAN_SIGN;break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),q.data+=o.REPLACEMENT_CHARACTER;break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInComment),this.emitCurrentComment(q),this._emitEOFToken();break;default:q.data+=String.fromCodePoint(x)}}_stateCommentLessThanSign(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.EXCLAMATION_MARK:q.data+="!",this.state=h.COMMENT_LESS_THAN_SIGN_BANG;break;case o.CODE_POINTS.LESS_THAN_SIGN:q.data+="<";break;default:this.state=h.COMMENT,this._stateComment(x)}}_stateCommentLessThanSignBang(x){x===o.CODE_POINTS.HYPHEN_MINUS?this.state=h.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=h.COMMENT,this._stateComment(x))}_stateCommentLessThanSignBangDash(x){x===o.CODE_POINTS.HYPHEN_MINUS?this.state=h.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=h.COMMENT_END_DASH,this._stateCommentEndDash(x))}_stateCommentLessThanSignBangDashDash(x){x!==o.CODE_POINTS.GREATER_THAN_SIGN&&x!==o.CODE_POINTS.EOF&&this._err(E.ERR.nestedComment),this.state=h.COMMENT_END,this._stateCommentEnd(x)}_stateCommentEndDash(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.HYPHEN_MINUS:this.state=h.COMMENT_END;break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInComment),this.emitCurrentComment(q),this._emitEOFToken();break;default:q.data+="-",this.state=h.COMMENT,this._stateComment(x)}}_stateCommentEnd(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.GREATER_THAN_SIGN:this.state=h.DATA,this.emitCurrentComment(q);break;case o.CODE_POINTS.EXCLAMATION_MARK:this.state=h.COMMENT_END_BANG;break;case o.CODE_POINTS.HYPHEN_MINUS:q.data+="-";break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInComment),this.emitCurrentComment(q),this._emitEOFToken();break;default:q.data+="--",this.state=h.COMMENT,this._stateComment(x)}}_stateCommentEndBang(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.HYPHEN_MINUS:q.data+="--!",this.state=h.COMMENT_END_DASH;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this._err(E.ERR.incorrectlyClosedComment),this.state=h.DATA,this.emitCurrentComment(q);break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInComment),this.emitCurrentComment(q),this._emitEOFToken();break;default:q.data+="--!",this.state=h.COMMENT,this._stateComment(x)}}_stateDoctype(x){switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:this.state=h.BEFORE_DOCTYPE_NAME;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this.state=h.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(x);break;case o.CODE_POINTS.EOF:{this._err(E.ERR.eofInDoctype),this._createDoctypeToken(null);const q=this.currentToken;q.forceQuirks=!0,this.emitCurrentDoctype(q),this._emitEOFToken();break}default:this._err(E.ERR.missingWhitespaceBeforeDoctypeName),this.state=h.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(x)}}_stateBeforeDoctypeName(x){if(v(x))this._createDoctypeToken(String.fromCharCode(k(x))),this.state=h.DOCTYPE_NAME;else switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),this._createDoctypeToken(o.REPLACEMENT_CHARACTER),this.state=h.DOCTYPE_NAME;break;case o.CODE_POINTS.GREATER_THAN_SIGN:{this._err(E.ERR.missingDoctypeName),this._createDoctypeToken(null);const q=this.currentToken;q.forceQuirks=!0,this.emitCurrentDoctype(q),this.state=h.DATA;break}case o.CODE_POINTS.EOF:{this._err(E.ERR.eofInDoctype),this._createDoctypeToken(null);const q=this.currentToken;q.forceQuirks=!0,this.emitCurrentDoctype(q),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(x)),this.state=h.DOCTYPE_NAME}}_stateDoctypeName(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:this.state=h.AFTER_DOCTYPE_NAME;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this.state=h.DATA,this.emitCurrentDoctype(q);break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),q.name+=o.REPLACEMENT_CHARACTER;break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInDoctype),q.forceQuirks=!0,this.emitCurrentDoctype(q),this._emitEOFToken();break;default:q.name+=String.fromCodePoint(v(x)?k(x):x)}}_stateAfterDoctypeName(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:break;case o.CODE_POINTS.GREATER_THAN_SIGN:this.state=h.DATA,this.emitCurrentDoctype(q);break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInDoctype),q.forceQuirks=!0,this.emitCurrentDoctype(q),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(o.SEQUENCES.PUBLIC,!1)?this.state=h.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(o.SEQUENCES.SYSTEM,!1)?this.state=h.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(E.ERR.invalidCharacterSequenceAfterDoctypeName),q.forceQuirks=!0,this.state=h.BOGUS_DOCTYPE,this._stateBogusDoctype(x))}}_stateAfterDoctypePublicKeyword(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:this.state=h.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case o.CODE_POINTS.QUOTATION_MARK:this._err(E.ERR.missingWhitespaceAfterDoctypePublicKeyword),q.publicId="",this.state=h.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case o.CODE_POINTS.APOSTROPHE:this._err(E.ERR.missingWhitespaceAfterDoctypePublicKeyword),q.publicId="",this.state=h.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this._err(E.ERR.missingDoctypePublicIdentifier),q.forceQuirks=!0,this.state=h.DATA,this.emitCurrentDoctype(q);break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInDoctype),q.forceQuirks=!0,this.emitCurrentDoctype(q),this._emitEOFToken();break;default:this._err(E.ERR.missingQuoteBeforeDoctypePublicIdentifier),q.forceQuirks=!0,this.state=h.BOGUS_DOCTYPE,this._stateBogusDoctype(x)}}_stateBeforeDoctypePublicIdentifier(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:break;case o.CODE_POINTS.QUOTATION_MARK:q.publicId="",this.state=h.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case o.CODE_POINTS.APOSTROPHE:q.publicId="",this.state=h.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this._err(E.ERR.missingDoctypePublicIdentifier),q.forceQuirks=!0,this.state=h.DATA,this.emitCurrentDoctype(q);break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInDoctype),q.forceQuirks=!0,this.emitCurrentDoctype(q),this._emitEOFToken();break;default:this._err(E.ERR.missingQuoteBeforeDoctypePublicIdentifier),q.forceQuirks=!0,this.state=h.BOGUS_DOCTYPE,this._stateBogusDoctype(x)}}_stateDoctypePublicIdentifierDoubleQuoted(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.QUOTATION_MARK:this.state=h.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),q.publicId+=o.REPLACEMENT_CHARACTER;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this._err(E.ERR.abruptDoctypePublicIdentifier),q.forceQuirks=!0,this.emitCurrentDoctype(q),this.state=h.DATA;break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInDoctype),q.forceQuirks=!0,this.emitCurrentDoctype(q),this._emitEOFToken();break;default:q.publicId+=String.fromCodePoint(x)}}_stateDoctypePublicIdentifierSingleQuoted(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.APOSTROPHE:this.state=h.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),q.publicId+=o.REPLACEMENT_CHARACTER;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this._err(E.ERR.abruptDoctypePublicIdentifier),q.forceQuirks=!0,this.emitCurrentDoctype(q),this.state=h.DATA;break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInDoctype),q.forceQuirks=!0,this.emitCurrentDoctype(q),this._emitEOFToken();break;default:q.publicId+=String.fromCodePoint(x)}}_stateAfterDoctypePublicIdentifier(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:this.state=h.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this.state=h.DATA,this.emitCurrentDoctype(q);break;case o.CODE_POINTS.QUOTATION_MARK:this._err(E.ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),q.systemId="",this.state=h.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case o.CODE_POINTS.APOSTROPHE:this._err(E.ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),q.systemId="",this.state=h.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInDoctype),q.forceQuirks=!0,this.emitCurrentDoctype(q),this._emitEOFToken();break;default:this._err(E.ERR.missingQuoteBeforeDoctypeSystemIdentifier),q.forceQuirks=!0,this.state=h.BOGUS_DOCTYPE,this._stateBogusDoctype(x)}}_stateBetweenDoctypePublicAndSystemIdentifiers(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:break;case o.CODE_POINTS.GREATER_THAN_SIGN:this.emitCurrentDoctype(q),this.state=h.DATA;break;case o.CODE_POINTS.QUOTATION_MARK:q.systemId="",this.state=h.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case o.CODE_POINTS.APOSTROPHE:q.systemId="",this.state=h.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInDoctype),q.forceQuirks=!0,this.emitCurrentDoctype(q),this._emitEOFToken();break;default:this._err(E.ERR.missingQuoteBeforeDoctypeSystemIdentifier),q.forceQuirks=!0,this.state=h.BOGUS_DOCTYPE,this._stateBogusDoctype(x)}}_stateAfterDoctypeSystemKeyword(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:this.state=h.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case o.CODE_POINTS.QUOTATION_MARK:this._err(E.ERR.missingWhitespaceAfterDoctypeSystemKeyword),q.systemId="",this.state=h.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case o.CODE_POINTS.APOSTROPHE:this._err(E.ERR.missingWhitespaceAfterDoctypeSystemKeyword),q.systemId="",this.state=h.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this._err(E.ERR.missingDoctypeSystemIdentifier),q.forceQuirks=!0,this.state=h.DATA,this.emitCurrentDoctype(q);break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInDoctype),q.forceQuirks=!0,this.emitCurrentDoctype(q),this._emitEOFToken();break;default:this._err(E.ERR.missingQuoteBeforeDoctypeSystemIdentifier),q.forceQuirks=!0,this.state=h.BOGUS_DOCTYPE,this._stateBogusDoctype(x)}}_stateBeforeDoctypeSystemIdentifier(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:break;case o.CODE_POINTS.QUOTATION_MARK:q.systemId="",this.state=h.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case o.CODE_POINTS.APOSTROPHE:q.systemId="",this.state=h.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this._err(E.ERR.missingDoctypeSystemIdentifier),q.forceQuirks=!0,this.state=h.DATA,this.emitCurrentDoctype(q);break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInDoctype),q.forceQuirks=!0,this.emitCurrentDoctype(q),this._emitEOFToken();break;default:this._err(E.ERR.missingQuoteBeforeDoctypeSystemIdentifier),q.forceQuirks=!0,this.state=h.BOGUS_DOCTYPE,this._stateBogusDoctype(x)}}_stateDoctypeSystemIdentifierDoubleQuoted(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.QUOTATION_MARK:this.state=h.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),q.systemId+=o.REPLACEMENT_CHARACTER;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this._err(E.ERR.abruptDoctypeSystemIdentifier),q.forceQuirks=!0,this.emitCurrentDoctype(q),this.state=h.DATA;break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInDoctype),q.forceQuirks=!0,this.emitCurrentDoctype(q),this._emitEOFToken();break;default:q.systemId+=String.fromCodePoint(x)}}_stateDoctypeSystemIdentifierSingleQuoted(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.APOSTROPHE:this.state=h.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter),q.systemId+=o.REPLACEMENT_CHARACTER;break;case o.CODE_POINTS.GREATER_THAN_SIGN:this._err(E.ERR.abruptDoctypeSystemIdentifier),q.forceQuirks=!0,this.emitCurrentDoctype(q),this.state=h.DATA;break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInDoctype),q.forceQuirks=!0,this.emitCurrentDoctype(q),this._emitEOFToken();break;default:q.systemId+=String.fromCodePoint(x)}}_stateAfterDoctypeSystemIdentifier(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.SPACE:case o.CODE_POINTS.LINE_FEED:case o.CODE_POINTS.TABULATION:case o.CODE_POINTS.FORM_FEED:break;case o.CODE_POINTS.GREATER_THAN_SIGN:this.emitCurrentDoctype(q),this.state=h.DATA;break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInDoctype),q.forceQuirks=!0,this.emitCurrentDoctype(q),this._emitEOFToken();break;default:this._err(E.ERR.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=h.BOGUS_DOCTYPE,this._stateBogusDoctype(x)}}_stateBogusDoctype(x){const q=this.currentToken;switch(x){case o.CODE_POINTS.GREATER_THAN_SIGN:this.emitCurrentDoctype(q),this.state=h.DATA;break;case o.CODE_POINTS.NULL:this._err(E.ERR.unexpectedNullCharacter);break;case o.CODE_POINTS.EOF:this.emitCurrentDoctype(q),this._emitEOFToken()}}_stateCdataSection(x){switch(x){case o.CODE_POINTS.RIGHT_SQUARE_BRACKET:this.state=h.CDATA_SECTION_BRACKET;break;case o.CODE_POINTS.EOF:this._err(E.ERR.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(x)}}_stateCdataSectionBracket(x){x===o.CODE_POINTS.RIGHT_SQUARE_BRACKET?this.state=h.CDATA_SECTION_END:(this._emitChars("]"),this.state=h.CDATA_SECTION,this._stateCdataSection(x))}_stateCdataSectionEnd(x){switch(x){case o.CODE_POINTS.GREATER_THAN_SIGN:this.state=h.DATA;break;case o.CODE_POINTS.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=h.CDATA_SECTION,this._stateCdataSection(x)}}_stateCharacterReference(x){x===o.CODE_POINTS.NUMBER_SIGN?this.state=h.NUMERIC_CHARACTER_REFERENCE:p(x)?(this.state=h.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(x)):(this._flushCodePointConsumedAsCharacterReference(o.CODE_POINTS.AMPERSAND),this._reconsumeInState(this.returnState,x))}_stateNamedCharacterReference(x){const q=this._matchNamedCharacterReference(x);if(!this._ensureHibernation())if(q){for(let Z=0;Z<q.length;Z++)this._flushCodePointConsumedAsCharacterReference(q[Z]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(o.CODE_POINTS.AMPERSAND),this.state=h.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(x){p(x)?this._flushCodePointConsumedAsCharacterReference(x):(x===o.CODE_POINTS.SEMICOLON&&this._err(E.ERR.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,x))}_stateNumericCharacterReference(x){this.charRefCode=0,x===o.CODE_POINTS.LATIN_SMALL_X||x===o.CODE_POINTS.LATIN_CAPITAL_X?this.state=h.HEXADEMICAL_CHARACTER_REFERENCE_START:u(x)?(this.state=h.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(x)):(this._err(E.ERR.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(o.CODE_POINTS.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(o.CODE_POINTS.NUMBER_SIGN),this._reconsumeInState(this.returnState,x))}_stateHexademicalCharacterReferenceStart(x){!function P(H){return u(H)||b(H)||R(H)}(x)?(this._err(E.ERR.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(o.CODE_POINTS.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(o.CODE_POINTS.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState):(this.state=h.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(x))}_stateHexademicalCharacterReference(x){b(x)?this.charRefCode=16*this.charRefCode+x-55:R(x)?this.charRefCode=16*this.charRefCode+x-87:u(x)?this.charRefCode=16*this.charRefCode+x-48:x===o.CODE_POINTS.SEMICOLON?this.state=h.NUMERIC_CHARACTER_REFERENCE_END:(this._err(E.ERR.missingSemicolonAfterCharacterReference),this.state=h.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(x))}_stateDecimalCharacterReference(x){u(x)?this.charRefCode=10*this.charRefCode+x-48:x===o.CODE_POINTS.SEMICOLON?this.state=h.NUMERIC_CHARACTER_REFERENCE_END:(this._err(E.ERR.missingSemicolonAfterCharacterReference),this.state=h.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(x))}_stateNumericCharacterReferenceEnd(x){if(this.charRefCode===o.CODE_POINTS.NULL)this._err(E.ERR.nullCharacterReference),this.charRefCode=o.CODE_POINTS.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(E.ERR.characterReferenceOutsideUnicodeRange),this.charRefCode=o.CODE_POINTS.REPLACEMENT_CHARACTER;else if((0,o.isSurrogate)(this.charRefCode))this._err(E.ERR.surrogateCharacterReference),this.charRefCode=o.CODE_POINTS.REPLACEMENT_CHARACTER;else if((0,o.isUndefinedCodePoint)(this.charRefCode))this._err(E.ERR.noncharacterCharacterReference);else if((0,o.isControlCodePoint)(this.charRefCode)||this.charRefCode===o.CODE_POINTS.CARRIAGE_RETURN){this._err(E.ERR.controlCharacterReference);const q=s.get(this.charRefCode);void 0!==q&&(this.charRefCode=q)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,x)}}},67412:(ge,_,f)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Preprocessor=void 0;const c=f(63912),o=f(86818);_.Preprocessor=class a{constructor(T){this.handler=T,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(T){const{line:s,col:h,offset:u}=this;return{code:T,startLine:s,endLine:s,startCol:h,endCol:h,startOffset:u,endOffset:u}}_err(T){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(T)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(T){if(this.pos!==this.html.length-1){const s=this.html.charCodeAt(this.pos+1);if((0,c.isSurrogatePair)(s))return this.pos++,this._addGap(),(0,c.getSurrogatePairCodePoint)(T,s)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,c.CODE_POINTS.EOF;return this._err(o.ERR.surrogateInInputStream),T}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(T,s){this.html.length>0?this.html+=T:this.html=T,this.endOfChunkHit=!1,this.lastChunkWritten=s}insertHtmlAtCurrentPos(T){this.html=this.html.substring(0,this.pos+1)+T+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(T,s){if(this.pos+T.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(s)return this.html.startsWith(T,this.pos);for(let h=0;h<T.length;h++)if((32|this.html.charCodeAt(this.pos+h))!==T.charCodeAt(h))return!1;return!0}peek(T){const s=this.pos+T;if(s>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,c.CODE_POINTS.EOF;const h=this.html.charCodeAt(s);return h===c.CODE_POINTS.CARRIAGE_RETURN?c.CODE_POINTS.LINE_FEED:h}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,c.CODE_POINTS.EOF;let T=this.html.charCodeAt(this.pos);return T===c.CODE_POINTS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,c.CODE_POINTS.LINE_FEED):T===c.CODE_POINTS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,(0,c.isSurrogate)(T)&&(T=this._processSurrogate(T)),null===this.handler.onParseError||T>31&&T<127||T===c.CODE_POINTS.LINE_FEED||T===c.CODE_POINTS.CARRIAGE_RETURN||T>159&&T<64976||this._checkForProblematicCharacters(T),T)}_checkForProblematicCharacters(T){(0,c.isControlCodePoint)(T)?this._err(o.ERR.controlCharacterInInputStream):(0,c.isUndefinedCodePoint)(T)&&this._err(o.ERR.noncharacterInInputStream)}retreat(T){for(this.pos-=T;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}},85824:(ge,_,f)=>{"use strict";
1Object.defineProperty(_,"__esModule",{value:!0}),_.defaultTreeAdapter=void 0;const c=f(10606);function o(C){return{nodeName:"#text",value:C,parentNode:null}}_.defaultTreeAdapter={createDocument:()=>({nodeName:"#document",mode:c.DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(C,a,E)=>({nodeName:C,tagName:C,attrs:E,namespaceURI:a,childNodes:[],parentNode:null}),createCommentNode:C=>({nodeName:"#comment",data:C,parentNode:null}),appendChild(C,a){C.childNodes.push(a),a.parentNode=C},insertBefore(C,a,E){const T=C.childNodes.indexOf(E);C.childNodes.splice(T,0,a),a.parentNode=C},setTemplateContent(C,a){C.content=a},getTemplateContent:C=>C.content,setDocumentType(C,a,E,T){const s=C.childNodes.find(h=>"#documentType"===h.nodeName);s?(s.name=a,s.publicId=E,s.systemId=T):_.defaultTreeAdapter.appendChild(C,{nodeName:"#documentType",name:a,publicId:E,systemId:T,parentNode:null})},setDocumentMode(C,a){C.mode=a},getDocumentMode:C=>C.mode,detachNode(C){if(C.parentNode){const a=C.parentNode.childNodes.indexOf(C);C.parentNode.childNodes.splice(a,1),C.parentNode=null}},insertText(C,a){if(C.childNodes.length>0){const E=C.childNodes[C.childNodes.length-1];if(_.defaultTreeAdapter.isTextNode(E))return void(E.value+=a)}_.defaultTreeAdapter.appendChild(C,o(a))},insertTextBefore(C,a,E){const T=C.childNodes[C.childNodes.indexOf(E)-1];T&&_.defaultTreeAdapter.isTextNode(T)?T.value+=a:_.defaultTreeAdapter.insertBefore(C,o(a),E)},adoptAttributes(C,a){const E=new Set(C.attrs.map(T=>T.name));for(let T=0;T<a.length;T++)E.has(a[T].name)||C.attrs.push(a[T])},getFirstChild:C=>C.childNodes[0],getChildNodes:C=>C.childNodes,getParentNode:C=>C.parentNode,getAttrList:C=>C.attrs,getTagName:C=>C.tagName,getNamespaceURI:C=>C.namespaceURI,getTextNodeContent:C=>C.value,getCommentNodeContent:C=>C.data,getDocumentTypeNodeName:C=>C.name,getDocumentTypeNodePublicId:C=>C.publicId,getDocumentTypeNodeSystemId:C=>C.systemId,isTextNode:C=>"#text"===C.nodeName,isCommentNode:C=>"#comment"===C.nodeName,isDocumentTypeNode:C=>"#documentType"===C.nodeName,isElementNode:C=>Object.prototype.hasOwnProperty.call(C,"tagName"),setNodeSourceCodeLocation(C,a){C.sourceCodeLocation=a},getNodeSourceCodeLocation:C=>C.sourceCodeLocation,updateNodeSourceCodeLocation(C,a){C.sourceCodeLocation=Object.assign(Object.assign({},C.sourceCodeLocation),a)}}},29293:ge=>{function _(c,o,C,a,E,T,s){try{var h=c[T](s),u=h.value}catch(v){return void C(v)}h.done?o(u):Promise.resolve(u).then(a,E)}ge.exports=function f(c){return function(){var o=this,C=arguments;return new Promise(function(a,E){var T=c.apply(o,C);function s(u){_(T,a,E,s,h,"next",u)}function h(u){_(T,a,E,s,h,"throw",u)}s(void 0)})}},ge.exports.__esModule=!0,ge.exports.default=ge.exports},49969:(ge,_,f)=>{"use strict";f.d(_,{FX:()=>de,If:()=>c,K2:()=>T,hZ:()=>C,i0:()=>a,iF:()=>s,kY:()=>v,kp:()=>o,sf:()=>q,ui:()=>Z,wk:()=>h});var c=function(ee){return ee[ee.State=0]="State",ee[ee.Transition=1]="Transition",ee[ee.Sequence=2]="Sequence",ee[ee.Group=3]="Group",ee[ee.Animate=4]="Animate",ee[ee.Keyframes=5]="Keyframes",ee[ee.Style=6]="Style",ee[ee.Trigger=7]="Trigger",ee[ee.Reference=8]="Reference",ee[ee.AnimateChild=9]="AnimateChild",ee[ee.AnimateRef=10]="AnimateRef",ee[ee.Query=11]="Query",ee[ee.Stagger=12]="Stagger",ee}(c||{});const o="*";function C(ee,Y){return{type:c.Trigger,name:ee,definitions:Y,options:{}}}function a(ee,Y=null){return{type:c.Animate,styles:Y,timings:ee}}function T(ee,Y=null){return{type:c.Sequence,steps:ee,options:Y}}function s(ee){return{type:c.Style,styles:ee,offset:null}}function h(ee,Y,ae){return{type:c.State,name:ee,styles:Y,options:ae}}function v(ee,Y,ae=null){return{type:c.Transition,expr:ee,animation:Y,options:ae}}class q{constructor(Y=0,ae=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=Y+ae}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Y=>Y()),this._onDoneFns=[])}onStart(Y){this._originalOnStartFns.push(Y),this._onStartFns.push(Y)}onDone(Y){this._originalOnDoneFns.push(Y),this._onDoneFns.push(Y)}onDestroy(Y){this._onDestroyFns.push(Y)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Y=>Y()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Y=>Y()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Y){this._position=this.totalTime?Y*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Y){const ae="start"==Y?this._onStartFns:this._onDoneFns;ae.forEach(fe=>fe()),ae.length=0}}class Z{constructor(Y){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Y;let ae=0,fe=0,ne=0;const ce=this.players.length;0==ce?queueMicrotask(()=>
1this._onFinish()):this.players.forEach(me=>{me.onDone(()=>{++ae==ce&&this._onFinish()}),me.onDestroy(()=>{++fe==ce&&this._onDestroy()}),me.onStart(()=>{++ne==ce&&this._onStart()})}),this.totalTime=this.players.reduce((me,re)=>Math.max(me,re.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Y=>Y()),this._onDoneFns=[])}init(){this.players.forEach(Y=>Y.init())}onStart(Y){this._onStartFns.push(Y)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Y=>Y()),this._onStartFns=[])}onDone(Y){this._onDoneFns.push(Y)}onDestroy(Y){this._onDestroyFns.push(Y)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(Y=>Y.play())}pause(){this.players.forEach(Y=>Y.pause())}restart(){this.players.forEach(Y=>Y.restart())}finish(){this._onFinish(),this.players.forEach(Y=>Y.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Y=>Y.destroy()),this._onDestroyFns.forEach(Y=>Y()),this._onDestroyFns=[])}reset(){this.players.forEach(Y=>Y.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Y){const ae=Y*this.totalTime;this.players.forEach(fe=>{const ne=fe.totalTime?Math.min(1,ae/fe.totalTime):1;fe.setPosition(ne)})}getPosition(){const Y=this.players.reduce((ae,fe)=>null===ae||fe.totalTime>ae.totalTime?fe:ae,null);return null!=Y?Y.getPosition():0}beforeDestroy(){this.players.forEach(Y=>{Y.beforeDestroy&&Y.beforeDestroy()})}triggerCallback(Y){const ae="start"==Y?this._onStartFns:this._onDoneFns;ae.forEach(fe=>fe()),ae.length=0}}const de="!"},36860:(ge,_,f)=>{"use strict";f.d(_,{OD:()=>a});var c=f(54438),o=f(60177);let C;try{C=typeof Intl<"u"&&Intl.v8BreakIterator}catch{C=!1}let a=(()=>{var x;class q{constructor(de){this._platformId=de,this.isBrowser=this._platformId?(0,o.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&&!C)&&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}}return(x=q).\u0275fac=function(de){return new(de||x)(c.KVO(c.Agw))},x.\u0275prov=c.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}),q})()},60177:(ge,_,f)=>{"use strict";f.d(_,{AJ:()=>Ir,B3:()=>Ar,Jj:()=>ji,MD:()=>Wn,N0:()=>As,QT:()=>C,Sm:()=>P,Sq:()=>hn,T3:()=>li,TG:()=>ht,UE:()=>ui,VF:()=>E,Vy:()=>Ci,Xr:()=>Jo,YU:()=>wt,ZD:()=>a,_b:()=>Ze,aZ:()=>O,bT:()=>Pe,e1:()=>gn,fG:()=>In,fw:()=>k,hb:()=>b,hj:()=>u,qQ:()=>s,ux:()=>en,vh:()=>Ne});var c=f(54438);let o=null;function C(){return o}function a(Le){var it;null!==(it=o)&&void 0!==it||(o=Le)}class E{}const s=new c.nKC("");let h=(()=>{var Le;class it{historyGo(nt){throw new Error("")}}return(Le=it).\u0275fac=function(nt){return new(nt||Le)},Le.\u0275prov=c.jDH({token:Le,factory:()=>(0,c.WQX)(v),providedIn:"platform"}),it})();const u=new c.nKC("");let v=(()=>{var Le;class it extends h{constructor(){super(),this._doc=(0,c.WQX)(s),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return C().getBaseHref(this._doc)}onPopState(nt){const Qt=C().getGlobalEventTarget(this._doc,"window");return Qt.addEventListener("popstate",nt,!1),()=>Qt.removeEventListener("popstate",nt)}onHashChange(nt){const Qt=C().getGlobalEventTarget(this._doc,"window");return Qt.addEventListener("hashchange",nt,!1),()=>Qt.removeEventListener("hashchange",nt)}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(nt){this._location.pathname=nt}pushState(nt,Qt,Fn){this._history.pushState(nt,Qt,Fn)}replaceState(nt,Qt,Fn){this._history.replaceState(nt,Qt,Fn)}forward(){this._history.forward()}back(){this._history.back()}historyGo(nt=0){this._history.go(nt)}getState(){return this._history.state}}
1return(Le=it).\u0275fac=function(nt){return new(nt||Le)},Le.\u0275prov=c.jDH({token:Le,factory:()=>new Le,providedIn:"platform"}),it})();function g(Le,it){if(0==Le.length)return it;if(0==it.length)return Le;let an=0;return Le.endsWith("/")&&an++,it.startsWith("/")&&an++,2==an?Le+it.substring(1):1==an?Le+it:Le+"/"+it}function y(Le){const it=Le.match(/#|\?|$/),an=it&&it.index||Le.length;return Le.slice(0,an-("/"===Le[an-1]?1:0))+Le.slice(an)}function p(Le){return Le&&"?"!==Le[0]?"?"+Le:Le}let b=(()=>{var Le;class it{historyGo(nt){throw new Error("")}}return(Le=it).\u0275fac=function(nt){return new(nt||Le)},Le.\u0275prov=c.jDH({token:Le,factory:()=>(0,c.WQX)(P),providedIn:"root"}),it})();const R=new c.nKC("");let P=(()=>{var Le;class it extends b{constructor(nt,Qt){var Fn,vr,ei;super(),this._platformLocation=nt,this._removeListenerFns=[],this._baseHref=null!==(Fn=null!==(vr=null!=Qt?Qt:this._platformLocation.getBaseHrefFromDOM())&&void 0!==vr?vr:null===(ei=(0,c.WQX)(s).location)||void 0===ei?void 0:ei.origin)&&void 0!==Fn?Fn:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(nt){this._removeListenerFns.push(this._platformLocation.onPopState(nt),this._platformLocation.onHashChange(nt))}getBaseHref(){return this._baseHref}prepareExternalUrl(nt){return g(this._baseHref,nt)}path(nt=!1){const Qt=this._platformLocation.pathname+p(this._platformLocation.search),Fn=this._platformLocation.hash;return Fn&&nt?`${Qt}${Fn}`:Qt}pushState(nt,Qt,Fn,vr){const ei=this.prepareExternalUrl(Fn+p(vr));this._platformLocation.pushState(nt,Qt,ei)}replaceState(nt,Qt,Fn,vr){const ei=this.prepareExternalUrl(Fn+p(vr));this._platformLocation.replaceState(nt,Qt,ei)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(nt=0){var Qt,Fn;null===(Qt=(Fn=this._platformLocation).historyGo)||void 0===Qt||Qt.call(Fn,nt)}}return(Le=it).\u0275fac=function(nt){return new(nt||Le)(c.KVO(h),c.KVO(R,8))},Le.\u0275prov=c.jDH({token:Le,factory:Le.\u0275fac,providedIn:"root"}),it})(),k=(()=>{var Le;class it extends b{constructor(nt,Qt){super(),this._platformLocation=nt,this._baseHref="",this._removeListenerFns=[],null!=Qt&&(this._baseHref=Qt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(nt){this._removeListenerFns.push(this._platformLocation.onPopState(nt),this._platformLocation.onHashChange(nt))}getBaseHref(){return this._baseHref}path(nt=!1){var Qt;const Fn=null!==(Qt=this._platformLocation.hash)&&void 0!==Qt?Qt:"#";return Fn.length>0?Fn.substring(1):Fn}prepareExternalUrl(nt){const Qt=g(this._baseHref,nt);return Qt.length>0?"#"+Qt:Qt}pushState(nt,Qt,Fn,vr){let ei=this.prepareExternalUrl(Fn+p(vr));0==ei.length&&(ei=this._platformLocation.pathname),this._platformLocation.pushState(nt,Qt,ei)}replaceState(nt,Qt,Fn,vr){let ei=this.prepareExternalUrl(Fn+p(vr));0==ei.length&&(ei=this._platformLocation.pathname),this._platformLocation.replaceState(nt,Qt,ei)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(nt=0){var Qt,Fn;null===(Qt=(Fn=this._platformLocation).historyGo)||void 0===Qt||Qt.call(Fn,nt)}}return(Le=it).\u0275fac=function(nt){return new(nt||Le)(c.KVO(h),c.KVO(R,8))},Le.\u0275prov=c.jDH({token:Le,factory:Le.\u0275fac}),it})(),O=(()=>{var Le;class it{constructor(nt){this._subject=new c.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=nt;const Qt=this._locationStrategy.getBaseHref();this._basePath=function H(Le){if(new RegExp("^(https?:)?//").test(Le)){const[,an]=Le.split(/\/\/[^\/]+/);return an}return Le}(y(z(Qt))),this._locationStrategy.onPopState(Fn=>{this._subject.emit({url:this.path(!0),pop:!0,state:Fn.state,type:Fn.type})})}ngOnDestroy(){var nt;null===(nt=this._urlChangeSubscription)||void 0===nt||nt.unsubscribe(),this._urlChangeListeners=[]}path(nt=!1){return this.normalize(this._locationStrategy.path(nt))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(nt,Qt=""){return this.path()==this.normalize(nt+p(Qt))}normalize(nt){return it.stripTrailingSlash(function K(Le,it){if(!Le||!it.startsWith(Le))return it;const an=it.substring(Le.length);return""===an||["/",";","?","#"].includes(an[0])?an:it}(this._basePath,z(nt)))}prepareExternalUrl(nt){return nt&&"/"!==nt[0]&&(nt="/"+nt),this._locationStrategy.prepareExternalUrl(nt)}go(nt,Qt="",Fn=null){this._locationStrategy.pushState(Fn,"",nt,Qt),this._notifyUrlChangeListeners(this.prepareExternalUrl(nt+p(Qt)),Fn)}replaceState(nt,Qt="",Fn=null){this._locationStrategy.replaceState(Fn,"",nt,Qt),this._notifyUrlChangeListeners(this.prepareExternalUrl(nt+p(Qt)),Fn)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(nt=0){var Qt,Fn;null===(Qt=(Fn=this._locationStrategy).historyGo)||void 0===Qt||Qt.call(Fn,nt)}onUrlChange(nt){var Qt;return this._urlChangeListeners.push(nt),null!==(Qt=this._urlChangeSubscription)&&void 0!==Qt||(this._urlChangeSubscription=this.subscribe(Fn=>{this._notifyUrlChangeListeners(Fn.url,Fn.state)})),()=>{const Fn=this._urlChangeListeners.indexOf(nt);var vr;this._urlChangeListeners.splice(Fn,1),0===this._urlChangeListeners.length&&(null===(vr=this._urlChangeSubscription)||void 0===vr||vr.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(nt="",Qt){this._urlChangeListeners.forEac
vendor: 14,553 bytes, line 1
1h(Fn=>Fn(nt,Qt))}subscribe(nt,Qt,Fn){return this._subject.subscribe({next:nt,error:Qt,complete:Fn})}}return(Le=it).normalizeQueryParams=p,Le.joinWithSlash=g,Le.stripTrailingSlash=y,Le.\u0275fac=function(nt){return new(nt||Le)(c.KVO(b))},Le.\u0275prov=c.jDH({token:Le,factory:()=>function V(){return new O((0,c.KVO)(b))}(),providedIn:"root"}),it})();function z(Le){return Le.replace(/\/index.html$/,"")}var de=function(Le){return Le[Le.Format=0]="Format",Le[Le.Standalone=1]="Standalone",Le}(de||{}),ee=function(Le){return Le[Le.Narrow=0]="Narrow",Le[Le.Abbreviated=1]="Abbreviated",Le[Le.Wide=2]="Wide",Le[Le.Short=3]="Short",Le}(ee||{}),Y=function(Le){return Le[Le.Short=0]="Short",Le[Le.Medium=1]="Medium",Le[Le.Long=2]="Long",Le[Le.Full=3]="Full",Le}(Y||{});const ae={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function N(Le,it){return yt((0,c.H5H)(Le)[c.KH2.DateFormat],it)}function G(Le,it){return yt((0,c.H5H)(Le)[c.KH2.TimeFormat],it)}function ue(Le,it){return yt((0,c.H5H)(Le)[c.KH2.DateTimeFormat],it)}function ve(Le,it){const an=(0,c.H5H)(Le),nt=an[c.KH2.NumberSymbols][it];if(typeof nt>"u"){if(it===ae.CurrencyDecimal)return an[c.KH2.NumberSymbols][ae.Decimal];if(it===ae.CurrencyGroup)return an[c.KH2.NumberSymbols][ae.Group]}return nt}function It(Le){if(!Le[c.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${Le[c.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function yt(Le,it){for(let an=it;an>-1;an--)if(typeof Le[an]<"u")return Le[an];throw new Error("Locale data API: locale data undefined")}function Ft(Le){const[it,an]=Le.split(":");return{hours:+it,minutes:+an}}const Vt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Lt={},$n=/((?:[^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]*)/;var Tn=function(Le){return Le[Le.Short=0]="Short",Le[Le.ShortGMT=1]="ShortGMT",Le[Le.Long=2]="Long",Le[Le.Extended=3]="Extended",Le}(Tn||{}),An=function(Le){return Le[Le.FullYear=0]="FullYear",Le[Le.Month=1]="Month",Le[Le.Date=2]="Date",Le[Le.Hours=3]="Hours",Le[Le.Minutes=4]="Minutes",Le[Le.Seconds=5]="Seconds",Le[Le.FractionalSeconds=6]="FractionalSeconds",Le[Le.Day=7]="Day",Le}(An||{}),jn=function(Le){return Le[Le.DayPeriods=0]="DayPeriods",Le[Le.Days=1]="Days",Le[Le.Months=2]="Months",Le[Le.Eras=3]="Eras",Le}(jn||{});function or(Le,it,an,nt){let Qt=function En(Le){if(bn(Le))return Le;if("number"==typeof Le&&!isNaN(Le))return new Date(Le);if("string"==typeof Le){if(Le=Le.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Le)){const[Qt,Fn=1,vr=1]=Le.split("-").map(ei=>+ei);return br(Qt,Fn-1,vr)}const an=parseFloat(Le);if(!isNaN(Le-an))return new Date(an);let nt;if(nt=Le.match(Vt))return function tn(Le){const it=new Date(0);let an=0,nt=0;const Qt=Le[8]?it.setUTCFullYear:it.setFullYear,Fn=Le[8]?it.setUTCHours:it.setHours;Le[9]&&(an=Number(Le[9]+Le[10]),nt=Number(Le[9]+Le[11])),Qt.call(it,Number(Le[1]),Number(Le[2])-1,Number(Le[3]));const vr=Number(Le[4]||0)-an,ei=Number(Le[5]||0)-nt,co=Number(Le[6]||0),so=Math.floor(1e3*parseFloat("0."+(Le[7]||0)));return Fn.call(it,vr,ei,co,so),it}(nt)}const it=new Date(Le);if(!bn(it))throw new Error(`Unable to convert "${Le}" into a date`);return it}(Le);it=Fr(an,it)||it;let ei,vr=[];for(;it;){if(ei=$n.exec(it),!ei){vr.push(it);break}{vr=vr.concat(ei.slice(1));const ro=vr.pop();if(!ro)break;it=ro}}let co=Qt.getTimezoneOffset();nt&&(co=ln(nt,co),Qt=function dr(Le,it,an){const nt=an?-1:1,Qt=Le.getTimezoneOffset();return function Sn(Le,it){return(Le=new Date(Le.getTime())).setMinutes(Le.getMinutes()+it),Le}(Le,nt*(ln(it,Qt)-Qt))}(Qt,nt,!0));let so="";return vr.forEach(ro=>{const ao=function vn(Le){if(zt[Le])return zt[Le];let it;switch(Le){case"G":case"GG":case"GGG":it=Br(jn.Eras,ee.Abbreviated);break;case"GGGG":it=Br(jn.Eras,ee.Wide);break;case"GGGGG":it=Br(jn.Eras,ee.Narrow);break;case"y":it=tr(An.FullYear,1,0,!1,!0);break;case"yy":it=tr(An.FullYear,2,0,!0,!0);break;case"yyy":it=tr(An.FullYear,3,0,!1,!0);break;case"yyyy":it=tr(An.FullYear,4,0,!1,!0);break;case"Y":it=Rt(1);break;case"YY":it=Rt(2,!0);break;case"YYY":it=Rt(3);break;case"YYYY":it=Rt(4);break;case"M":case"L":it=tr(An.Month,1,1);break;case"MM":case"LL":it=tr(An.Month,2,1);break;case"MMM":it=Br(jn.Months,ee.Abbreviated);break;case"MMMM":it=Br(jn.Months,ee.Wide);break;case"MMMMM":it=Br(jn.Months,ee.Narrow);break;case"LLL":it=Br(jn.Months,ee.Abbreviated,de.Standalone);break;case"LLLL":it=Br(jn.Months,ee.Wide,de.Standalone);break;case"LLLLL":it=Br(jn.Months,ee.Narrow,de.Standalone);break;case"w":it=Xr(1);break;case"ww":it=Xr(2);break;case"W":it=Xr(1,!0);break;case"d":it=tr(An.Date,1);break;case"dd":it=tr(An.Date,2);break;case"c":case"cc":it=tr(An.Day,1);break;case"ccc":it=Br(jn.Days,ee.Abbreviated,de.Standalone);break;case"cccc":it=Br(jn.Days,ee.Wide,de.Standalone);break;case"ccccc":it=Br(jn.Days,ee.Narrow,de.Standalone);break;case"cccccc":it=Br(jn.Days,ee.Short,de.Standalone);break;case"E":case"EE":case"EEE":it=Br(jn.Days,ee.Abbreviated);break;case"EEEE":it=Br(jn.Days,ee.Wide);break;case"EEEEE":it=Br(jn.Days,ee.Narrow);break;case"EEEEEE":it=Br(jn.Days,ee.Short);break;case"a":case"aa":case"aaa":it=Br(jn.DayPeriods,ee.Abbreviated);break;case"aaaa":it=Br(jn.DayPeriods,ee.Wide);break;case"aaaaa":it=Br(jn.DayPeriods,ee.Narrow);break;case"b":case"bb":case"bbb":it=Br(jn.DayPeriods,ee.Abbreviated,de.Standalone,!0);break;case"bbbb":it=Br(jn.DayPeriods,ee.Wide,de.Standalone,!0);break;case"bbbbb":it=Br(jn.DayPeriods,ee.Narrow,de.Standalone,!0);break;case"B":case"BB":case"BBB":it=Br(jn.DayPeriods,ee.Abbreviated,de.Format,!0);break;case"BBBB":it=Br(jn.DayPeriods,ee.Wide,de.Format,!0);break;case"BBBBB":it=Br(jn.DayPeriods,ee.Narrow,de.Format,!0);break;case"h":it=tr(An.Hours,1,-12);break;case"hh":it=tr(An.Hours,2,-12);break;case"H":it=tr(An.Hours,1);break;case"HH":it=tr(An.Hours,2);break;case"m":it=tr(An.Minutes,1);break;case"mm":it=tr(An.Minutes,2);break;case"s":it=tr(An.Seconds,1);break;case"ss":it=tr(An.Seconds,2);break;case"S":it=tr(An.FractionalSeconds,1);break;case"SS":it=tr(An.FractionalSeconds,2);break;case"SSS":it=tr(An.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":it=qr(Tn.Short);break;case"ZZZZZ":it=qr(Tn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":it=qr(Tn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":it=qr(Tn.Long);break;default:return null}return zt[Le]=it,it}(ro);so+=ao?ao(Qt,an,co):"''"===ro?"'":ro.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),so}function br(Le,it,an){const nt=new Date(0);return nt.setFullYear(Le,it,an),nt.setHours(0,0,0),nt}function Fr(Le,it){var an;const nt=function ne(Le){return(0,c.H5H)(Le)[c.KH2.LocaleId]}(Le);if(null!==(an=Lt[nt])&&void 0!==an||(Lt[nt]={}),Lt[nt][it])return Lt[nt][it];let Qt="";switch(it){case"shortDate":Qt=N(Le,Y.Short);break;case"mediumDate":Qt=N(Le,Y.Medium);break;case"longDate":Qt=N(Le,Y.Long);break;case"fullDate":Qt=N(Le,Y.Full);break;case"shortTime":Qt=G(Le,Y.Short);break;case"mediumTime":Qt=G(Le,Y.Medium);break;case"longTime":Qt=G(Le,Y.Long);break;case"fullTime":Qt=G(Le,Y.Full);break;case"short":const Fn=Fr(Le,"shortTime"),vr=Fr(Le,"shortDate");Qt=On(ue(Le,Y.Short),[Fn,vr]);break;case"medium":const ei=Fr(Le,"mediumTime"),co=Fr(Le,"mediumDate");Qt=On(ue(Le,Y.Medium),[ei,co]);break;case"long":const so=Fr(Le,"longTime"),ro=Fr(Le,"longDate");Qt=On(ue(Le,Y.Long),[so,ro]);break;case"full":const ao=Fr(Le,"fullTime"),Mo=Fr(Le,"fullDate");Qt=On(ue(Le,Y.Full),[ao,Mo])}return Qt&&(Lt[nt][it]=Qt),Qt}function On(Le,it){return it&&(Le=Le.replace(/\{([^}]+)}/g,function(an,nt){return null!=it&&nt in it?it[nt]:an})),Le}function sr(Le,it,an="-",nt,Qt){let Fn="";(Le<0||Qt&&Le<=0)&&(Qt?Le=1-Le:(Le=-Le,Fn=an));let vr=String(Le);for(;vr.length<it;)vr="0"+vr;return nt&&(vr=vr.slice(vr.length-it)),Fn+vr}function tr(Le,it,an=0,nt=!1,Qt=!1){return function(Fn,vr){let ei=function Lr(Le,it){switch(Le){case An.FullYear:return it.getFullYear();case An.Month:return it.getMonth();case An.Date:return it.getDate();case An.Hours:return it.getHours();case An.Minutes:return it.getMinutes();case An.Seconds:return it.getSeconds();case An.FractionalSeconds:return it.getMilliseconds();case An.Day:return it.getDay();default:throw new Error(`Unknown DateType value "${Le}".`)}}(Le,Fn);if((an>0||ei>-an)&&(ei+=an),Le===An.Hours)0===ei&&-12===an&&(ei=12);else if(Le===An.FractionalSeconds)return function ur(Le,it){return sr(Le,3).substring(0,it)}(ei,it);const co=ve(vr,ae.MinusSign);return sr(ei,it,co,nt,Qt)}}function Br(Le,it,an=de.Format,nt=!1){return function(Qt,Fn){return function Gr(Le,it,an,nt,Qt,Fn){switch(an){case jn.Months:return function re(Le,it,an){const nt=(0,c.H5H)(Le),Fn=yt([nt[c.KH2.MonthsFormat],nt[c.KH2.MonthsStandalone]],it);return yt(Fn,an)}(it,Qt,nt)[Le.getMonth()];case jn.Days:return function me(Le,it,an){const nt=(0,c.H5H)(Le),Fn=yt([nt[c.KH2.DaysFormat],nt[c.KH2.DaysStandalone]],it);return yt(Fn,an)}(it,Qt,nt)[Le.getDay()];case jn.DayPeriods:const vr=Le.getHours(),ei=Le.getMinutes();if(Fn){const so=function qt(Le){const it=(0,c.H5H)(Le);return It(it),(it[c.KH2.ExtraData][2]||[]).map(nt=>"string"==typeof nt?Ft(nt):[Ft(nt[0]),Ft(nt[1])])}(it),ro=function St(Le,it,an){const nt=(0,c.H5H)(Le);It(nt);const Fn=yt([nt[c.KH2.ExtraData][0],nt[c.KH2.ExtraData][1]],it)||[];return yt(Fn,an)||[]}(it,Qt,nt),ao=so.findIndex(Mo=>{if(Array.isArray(Mo)){const[ps,Ho]=Mo,bo=vr>=ps.hours&&ei>=ps.minutes,ri=vr<Ho.hours||vr===Ho.hours&&ei<Ho.minutes;if(ps.hours<Ho.hours){if(bo&&ri)return!0}else if(bo||ri)return!0}else if(Mo.hours===vr&&Mo.minutes===ei)return!0;return!1});if(-1!==ao)return ro[ao]}return function ce(Le,it,an){const nt=(0,c.H5H)(Le),Fn=yt([nt[c.KH2.DayPeriodsFormat],nt[c.KH2.DayPeriodsStandalone]],it);return yt(Fn,an)}(it,Qt,nt)[vr<12?0:1];case jn.Eras:return function $(Le,it){return yt((0,c.H5H)(Le)[c.KH2.Eras],it)}(it,nt)[Le.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${an}`)}}(Qt,Fn,Le,it,an,nt)}}function qr(Le){return function(it,an,nt){const Qt=-1*nt,Fn=ve(an,ae.MinusSign),vr=Qt>0?Math.floor(Qt/60):Math.ceil(Qt/60);switch(Le){case Tn.Short:return(Qt>=0?"+":"")+sr(vr,2,Fn)+sr(Math.abs(Qt%60),2,Fn);case Tn.ShortGMT:return"GMT"+(Qt>=0?"+":"")+sr(vr,1,Fn);case Tn.Long:return"GMT"+(Qt>=0?"+":"")+sr(vr,2,Fn)+":"+sr(Math.abs(Qt%60),2,Fn);case Tn.Extended:return 0===nt?"Z":(Qt>=0?"+":"")+sr(vr,2,Fn)+":"+sr(Math.abs(Qt%60),2,Fn);default:throw new Error(`Unknown zone width "${Le}"`)}}}const _r=0,hr=4;function $r(Le){const it=Le.getDay(),an=0===it?-3:hr-it;return br(Le.getFullYear(),Le.getMonth(),Le.getDate()+an)}function Xr(Le,it=!1){return function(an,nt){let Qt;if(it){const Fn=new Date(an.getFullYear(),an.getMonth(),1).getDay()-1,vr=an.getDate();Qt=1+Math.floor((vr+Fn)/7)}else{const Fn=$r(an),vr=function Nr(Le){const it=br(Le,_r,1).getDay();return br(Le,0,1+(it<=hr?hr:hr+7)-it)}(Fn.getFullYear()),ei=Fn.getTime()-vr.getTime();Qt=1+Math.round(ei/6048e5)}return sr(Qt,Le,ve(nt,ae.MinusSign))}}function Rt(Le,it=!1){return function(an,nt){return sr($r(an).getFullYear(),Le,ve(nt,ae.MinusSign),it)}}const zt={};function ln(Le,it){Le=Le.replace(/:/g,"");const an=Date.parse("Jan 01, 1970 00:00:00 "+Le)/6e4;return isNaN(an)?it:an}function bn(Le){return Le instanceof Date&&!isNaN(Le.valueOf())}function Ze(Le,it){it=encodeURIComponent(it);for(const an of Le.split(";")){const nt=an.indexOf("="),[Qt,Fn]=-1==nt?[an,""]:[an.slice(0,nt),an.slice(nt+1)];if(Qt.trim()===it)return decodeURIComponent(Fn)}return null}const Ot=/\s+/,nn=[];let wt=(()=>{var Le;class it{constructor(nt,Qt){this._ngEl=nt,this._renderer=Qt,this.initialClasses=nn,this.stateMap=new Map}set klass(nt){this.initialClasses=null!=nt?nt.trim().split(Ot):nn}set ngClass(nt){this.rawClass="string"==typeof nt?nt.trim().split(Ot):nt}ngDoCheck(){for(const Qt of this.initialClasses)this._updateState(Qt,!0);const nt=this.rawClass;if(Array.isArray(nt)||nt instanceof Set)for(const Qt of nt)this._updateState(Qt,!0);else if(null!=nt)for(const Qt of Object.keys(nt))this._updateState(Qt,!!nt[Qt]);this._applyStateDiff()}_updateState(nt,Qt){const Fn=this.stateMap.get(nt);void 0!==Fn?(Fn.enabled!==Qt&&(Fn.changed=!0,Fn.enabled=Qt),Fn.touched=!0):this.stateMap.set(nt,{enabled:Qt,changed:!0,touched:!0})}_applyStateDiff(){for(const nt of this.stateMap){const Qt=nt[0],Fn=nt[1];Fn.changed?(this._toggleClass(Qt,Fn.enabled),Fn.changed=!1):Fn.touched||(Fn.enabled&&this._toggleClass(Qt,!1),this.stateMap.delete(Qt)),Fn.touched=!1}}_toggleClass(nt,Qt){(nt=nt.trim()).length>0&&nt.split(Ot).forEach(Fn=>{Qt?this._renderer.addClass(this._ngEl.nativeElement,Fn):this._renderer.removeClass(this._ngEl.nativeElement,Fn)})}}return(Le=it).\u0275fac=function(nt){return new(nt||Le)(c.rXU(c.aKT),c.rXU(c.sFG))},Le.\u0275dir=c.FsC({type:Le,selectors:[["","ngClass",""]],inputs:{klass:[c.Mj6.None,"class","klass"],ngClass:"ngClass"},standalone:!0}),it})();class xt{constructor(it,an,nt,Qt){this.$implicit=it,this.ngForOf=an,this.index=nt,this.count=Qt}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 hn=(()=>{var Le;class it{set ngForOf(nt){this._ngForOf=nt,this._ngForOfDirty=!0}set ngForTrackBy(nt){this._trackByFn=nt}get ngForTrackBy(){return this._trackByFn}constructor(nt,Qt,Fn){this._viewContainer=nt,this._template=Qt,this._differs=Fn,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(nt){nt&&(this._template=nt)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const nt=this._ngForOf;!this._differ&&nt&&(this._differ=this._differs.find(nt).create(this.ngForTrackBy))}if(this._differ){const nt=this._differ.diff(this._ngForOf);nt&&this._applyChanges(nt)}}_applyChanges(nt){const Qt=this._viewContainer;nt.forEachOperation((Fn,vr,ei)=>{if(null==Fn.previousIndex)Qt.createEmbeddedView(this._template,new xt(Fn.item,this._ngForOf,-1,-1),null===ei?void 0:ei);else if(null==ei)Qt.remove(null===vr?void 0:vr);else if(null!==vr){const co=Qt.get(vr);Qt.move(co,ei),ft(co,Fn)}});for(let Fn=0,vr=Qt.length;Fn<vr;Fn++){const co=Qt.get(Fn).context;co.index=Fn,co.count=vr,co.ngForOf=this._ngForOf}nt.forEachIdentityChange(Fn=>{ft(Qt.get(Fn.currentIndex),Fn)})}static ngTemplateContextGuard(nt,Qt){return!0}}
1return(Le=it).\u0275fac=function(nt){return new(nt||Le)(c.rXU(c.c1b),c.rXU(c.C4Q),c.rXU(c._q3))},Le.\u0275dir=c.FsC({type:Le,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),it})();function ft(Le,it){Le.context.$implicit=it.item}let Pe=(()=>{var Le;class it{constructor(nt,Qt){this._viewContainer=nt,this._context=new Fe,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Qt}set ngIf(nt){this._context.$implicit=this._context.ngIf=nt,this._updateView()}set ngIfThen(nt){Oe("ngIfThen",nt),this._thenTemplateRef=nt,this._thenViewRef=null,this._updateView()}set ngIfElse(nt){Oe("ngIfElse",nt),this._elseTemplateRef=nt,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 ngTemplateContextGuard(nt,Qt){return!0}}return(Le=it).\u0275fac=function(nt){return new(nt||Le)(c.rXU(c.c1b),c.rXU(c.C4Q))},Le.\u0275dir=c.FsC({type:Le,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),it})();class Fe{constructor(){this.$implicit=null,this.ngIf=null}}function Oe(Le,it){if(it&&!it.createEmbeddedView)throw new Error(`${Le} must be a TemplateRef, but received '${(0,c.Tbb)(it)}'.`)}class _t{constructor(it,an){this._viewContainerRef=it,this._templateRef=an,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(it){it&&!this._created?this.create():!it&&this._created&&this.destroy()}}let en=(()=>{var Le;class it{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(nt){this._ngSwitch=nt,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(nt){this._defaultViews.push(nt)}_matchCase(nt){const Qt=nt===this._ngSwitch;return this._lastCasesMatched||(this._lastCasesMatched=Qt),this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Qt}_updateDefaultCases(nt){if(this._defaultViews.length>0&&nt!==this._defaultUsed){this._defaultUsed=nt;for(const Qt of this._defaultViews)Qt.enforceState(nt)}}}return(Le=it).\u0275fac=function(nt){return new(nt||Le)},Le.\u0275dir=c.FsC({type:Le,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),it})(),gn=(()=>{var Le;class it{constructor(nt,Qt,Fn){this.ngSwitch=Fn,Fn._addCase(),this._view=new _t(nt,Qt)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return(Le=it).\u0275fac=function(nt){return new(nt||Le)(c.rXU(c.c1b),c.rXU(c.C4Q),c.rXU(en,9))},Le.\u0275dir=c.FsC({type:Le,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),it})(),In=(()=>{var Le;class it{constructor(nt,Qt,Fn){Fn._addDefault(new _t(nt,Qt))}}return(Le=it).\u0275fac=function(nt){return new(nt||Le)(c.rXU(c.c1b),c.rXU(c.C4Q),c.rXU(en,9))},Le.\u0275dir=c.FsC({type:Le,selectors:[["","ngSwitchDefault",""]],standalone:!0}),it})(),Ar=(()=>{var Le;class it{constructor(nt,Qt,Fn){this._ngEl=nt,this._differs=Qt,this._renderer=Fn,this._ngStyle=null,this._differ=null}set ngStyle(nt){this._ngStyle=nt,!this._differ&&nt&&(this._differ=this._differs.find(nt).create())}ngDoCheck(){if(this._differ){const nt=this._differ.diff(this._ngStyle);nt&&this._applyChanges(nt)}}_setStyle(nt,Qt){const[Fn,vr]=nt.split("."),ei=-1===Fn.indexOf("-")?void 0:c.czy.DashCase;null!=Qt?this._renderer.setStyle(this._ngEl.nativeElement,Fn,vr?`${Qt}${vr}`:Qt,ei):this._renderer.removeStyle(this._ngEl.nativeElement,Fn,ei)}_applyChanges(nt){nt.forEachRemovedItem(Qt=>this._setStyle(Qt.key,null)),nt.forEachAddedItem(Qt=>this._setStyle(Qt.key,Qt.currentValue)),nt.forEachChangedItem(Qt=>this._setStyle(Qt.key,Qt.currentValue))}}
1return(Le=it).\u0275fac=function(nt){return new(nt||Le)(c.rXU(c.aKT),c.rXU(c.MKu),c.rXU(c.sFG))},Le.\u0275dir=c.FsC({type:Le,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),it})(),li=(()=>{var Le;class it{constructor(nt){this._viewContainerRef=nt,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(nt){if(this._shouldRecreateView(nt)){var Qt;const Fn=this._viewContainerRef;if(this._viewRef&&Fn.remove(Fn.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const vr=this._createContextForwardProxy();this._viewRef=Fn.createEmbeddedView(this.ngTemplateOutlet,vr,{injector:null!==(Qt=this.ngTemplateOutletInjector)&&void 0!==Qt?Qt:void 0})}}_shouldRecreateView(nt){return!!nt.ngTemplateOutlet||!!nt.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(nt,Qt,Fn)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Qt,Fn),get:(nt,Qt,Fn)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Qt,Fn)}})}}return(Le=it).\u0275fac=function(nt){return new(nt||Le)(c.rXU(c.c1b))},Le.\u0275dir=c.FsC({type:Le,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[c.OA$]}),it})();function Pi(Le,it){return new c.wOt(2100,!1)}class io{createSubscription(it,an){return(0,c.O8t)(()=>it.subscribe({next:an,error:nt=>{throw nt}}))}dispose(it){(0,c.O8t)(()=>it.unsubscribe())}}class ki{createSubscription(it,an){return it.then(an,nt=>{throw nt})}dispose(it){}}const ko=new ki,Eo=new io;let ji=(()=>{var Le;class it{constructor(nt){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=nt}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(nt){if(!this._obj){if(nt)try{this.markForCheckOnValueUpdate=!1,this._subscribe(nt)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return nt!==this._obj?(this._dispose(),this.transform(nt)):this._latestValue}_subscribe(nt){this._obj=nt,this._strategy=this._selectStrategy(nt),this._subscription=this._strategy.createSubscription(nt,Qt=>this._updateLatestValue(nt,Qt))}_selectStrategy(nt){if((0,c.jNT)(nt))return ko;if((0,c.zjR)(nt))return Eo;throw Pi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(nt,Qt){var Fn;nt===this._obj&&(this._latestValue=Qt,this.markForCheckOnValueUpdate)&&(null===(Fn=this._ref)||void 0===Fn||Fn.markForCheck())}}return(Le=it).\u0275fac=function(nt){return new(nt||Le)(c.rXU(c.gRc,16))},Le.\u0275pipe=c.EJ8({name:"async",type:Le,pure:!1,standalone:!0}),it})();const cs=new c.nKC(""),ds=new c.nKC("");let Ne=(()=>{var Le;class it{constructor(nt,Qt,Fn){this.locale=nt,this.defaultTimezone=Qt,this.defaultOptions=Fn}transform(nt,Qt,Fn,vr){if(null==nt||""===nt||nt!=nt)return null;try{var ei,co,so,ro,ao;const Mo=null!==(ei=null!=Qt?Qt:null===(co=this.defaultOptions)||void 0===co?void 0:co.dateFormat)&&void 0!==ei?ei:"mediumDate",ps=null!==(so=null!==(ro=null!=Fn?Fn:null===(ao=this.defaultOptions)||void 0===ao?void 0:ao.timezone)&&void 0!==ro?ro:this.defaultTimezone)&&void 0!==so?so:void 0;return or(nt,Mo,vr||this.locale,ps)}catch(Mo){throw Pi()}}}return(Le=it).\u0275fac=function(nt){return new(nt||Le)(c.rXU(c.xe9,16),c.rXU(cs,24),c.rXU(ds,24))},Le.\u0275pipe=c.EJ8({name:"date",type:Le,pure:!0,standalone:!0}),it})(),ht=(()=>{var Le;class it{transform(nt){return JSON.stringify(nt,null,2)}}return(Le=it).\u0275fac=function(nt){return new(nt||Le)},Le.\u0275pipe=c.EJ8({name:"json",type:Le,pure:!1,standalone:!0}),it})(),Wn=(()=>{var Le;class it{}return(Le=it).\u0275fac=function(nt){return new(nt||Le)},Le.\u0275mod=c.$C({type:Le}),Le.\u0275inj=c.G2t({}),it})();const Ir="browser",Wr="server";function ui(Le){return Le===Ir}function Ci(Le){return Le===Wr}let Jo=(()=>{var Le;class it{}
1return(Le=it).\u0275prov=(0,c.jDH)({token:Le,providedIn:"root",factory:()=>ui((0,c.WQX)(c.Agw))?new xi((0,c.WQX)(s),window):new Ts}),it})();class xi{constructor(it,an){this.document=it,this.window=an,this.offset=()=>[0,0]}setOffset(it){this.offset=Array.isArray(it)?()=>it:it}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(it){this.window.scrollTo(it[0],it[1])}scrollToAnchor(it){const an=function as(Le,it){const an=Le.getElementById(it)||Le.getElementsByName(it)[0];if(an)return an;if("function"==typeof Le.createTreeWalker&&Le.body&&"function"==typeof Le.body.attachShadow){const nt=Le.createTreeWalker(Le.body,NodeFilter.SHOW_ELEMENT);let Qt=nt.currentNode;for(;Qt;){const Fn=Qt.shadowRoot;if(Fn){const vr=Fn.getElementById(it)||Fn.querySelector(`[name="${it}"]`);if(vr)return vr}Qt=nt.nextNode()}}return null}(this.document,it);an&&(this.scrollToElement(an),an.focus())}setHistoryScrollRestoration(it){this.window.history.scrollRestoration=it}scrollToElement(it){const an=it.getBoundingClientRect(),nt=an.left+this.window.pageXOffset,Qt=an.top+this.window.pageYOffset,Fn=this.offset();this.window.scrollTo(nt-Fn[0],Qt-Fn[1])}}class Ts{setOffset(it){}getScrollPosition(){return[0,0]}scrollToPosition(it){}scrollToAnchor(it){}setHistoryScrollRestoration(it){}}class As{}},21626:(ge,_,f)=>{"use strict";f.d(_,{Lr:()=>b,Qq:()=>N,a7:()=>qt,cS:()=>re,q1:()=>fn,xB:()=>ce,yz:()=>$}),f(10467);var o=f(54438),C=f(7673),a=f(71985),E=f(86648),T=f(70274),s=f(5964),h=f(96354),u=f(70980),v=f(25558),g=f(60177);class y{}class p{}class b{constructor(Ze){this.normalizedNames=new Map,this.lazyUpdate=null,Ze?"string"==typeof Ze?this.lazyInit=()=>{this.headers=new Map,Ze.split("\n").forEach(Ot=>{const nn=Ot.indexOf(":");if(nn>0){const wt=Ot.slice(0,nn),st=wt.toLowerCase(),jt=Ot.slice(nn+1).trim();this.maybeSetNormalizedName(wt,st),this.headers.has(st)?this.headers.get(st).push(jt):this.headers.set(st,[jt])}})}:typeof Headers<"u"&&Ze instanceof Headers?(this.headers=new Map,Ze.forEach((Ot,nn)=>{this.setHeaderEntries(nn,Ot)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Ze).forEach(([Ot,nn])=>{this.setHeaderEntries(Ot,nn)})}:this.headers=new Map}has(Ze){return this.init(),this.headers.has(Ze.toLowerCase())}get(Ze){this.init();const Ot=this.headers.get(Ze.toLowerCase());return Ot&&Ot.length>0?Ot[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ze){return this.init(),this.headers.get(Ze.toLowerCase())||null}append(Ze,Ot){return this.clone({name:Ze,value:Ot,op:"a"})}set(Ze,Ot){return this.clone({name:Ze,value:Ot,op:"s"})}delete(Ze,Ot){return this.clone({name:Ze,value:Ot,op:"d"})}maybeSetNormalizedName(Ze,Ot){this.normalizedNames.has(Ot)||this.normalizedNames.set(Ot,Ze)}init(){this.lazyInit&&(this.lazyInit instanceof b?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ze=>this.applyUpdate(Ze)),this.lazyUpdate=null))}copyFrom(Ze){Ze.init(),Array.from(Ze.headers.keys()).forEach(Ot=>{this.headers.set(Ot,Ze.headers.get(Ot)),this.normalizedNames.set(Ot,Ze.normalizedNames.get(Ot))})}clone(Ze){const Ot=new b;return Ot.lazyInit=this.lazyInit&&this.lazyInit instanceof b?this.lazyInit:this,Ot.lazyUpdate=(this.lazyUpdate||[]).concat([Ze]),Ot}applyUpdate(Ze){const Ot=Ze.name.toLowerCase();switch(Ze.op){case"a":case"s":let nn=Ze.value;if("string"==typeof nn&&(nn=[nn]),0===nn.length)return;this.maybeSetNormalizedName(Ze.name,Ot);const wt=("a"===Ze.op?this.headers.get(Ot):void 0)||[];wt.push(...nn),this.headers.set(Ot,wt);break;case"d":const st=Ze.value;if(st){let jt=this.headers.get(Ot);if(!jt)return;jt=jt.filter(xt=>-1===st.indexOf(xt)),0===jt.length?(this.headers.delete(Ot),this.normalizedNames.delete(Ot)):this.headers.set(Ot,jt)}else this.headers.delete(Ot),this.normalizedNames.delete(Ot)}}setHeaderEntries(Ze,Ot){const nn=(Array.isArray(Ot)?Ot:[Ot]).map(st=>st.toString()),wt=Ze.toLowerCase();this.headers.set(wt,nn),this.maybeSetNormalizedName(Ze,wt)}forEach(Ze){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ot=>Ze(this.normalizedNames.get(Ot),this.headers.get(Ot)))}}class P{encodeKey(Ze){return K(Ze)}encodeValue(Ze){return K(Ze)}decodeKey(Ze){return decodeURIComponent(Ze)}decodeValue(Ze){return decodeURIComponent(Ze)}}const O=/%(\d[a-f0-9])/gi,V={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function K(Ke){return encodeURIComponent(Ke).replace(O,(Ze,Ot)=>{var nn;return null!==(nn=V[Ot])&&void 0!==nn?nn:Ze})}function z(Ke){return`${Ke}`}class H{constructor(Ze={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ze.encoder||new P,Ze.fromString){if(Ze.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function k(Ke,Ze){const Ot=new Map;return Ke.length>0&&Ke.replace(/^\?/,"").split("&").forEach(wt=>{const st=wt.indexOf("="),[jt,xt]=-1==st?[Ze.decodeKey(wt),""]:[Ze.decodeKey(wt.slice(0,st)),Ze.decodeValue(wt.slice(st+1))],hn=Ot.get(jt)||[];hn.push(xt),Ot.set(jt,hn)}),Ot}(Ze.fromString,this.encoder)}else Ze.fromObject?(this.map=new Map,Object.keys(Ze.fromObject).forEach(Ot=>{const nn=Ze.fromObject[Ot],wt=Array.isArray(nn)?nn.map(z):[z(nn)];this.map.set(Ot,wt)})):this.map=null}has(Ze){return this.init(),this.map.has(Ze)}get(Ze){this.init();const Ot=this.map.get(Ze);return Ot?Ot[0]:null}getAll(Ze){return this.init(),this.map.get(Ze)||null}
vendor: 9,454 bytes, line 1
1keys(){return this.init(),Array.from(this.map.keys())}append(Ze,Ot){return this.clone({param:Ze,value:Ot,op:"a"})}appendAll(Ze){const Ot=[];return Object.keys(Ze).forEach(nn=>{const wt=Ze[nn];Array.isArray(wt)?wt.forEach(st=>{Ot.push({param:nn,value:st,op:"a"})}):Ot.push({param:nn,value:wt,op:"a"})}),this.clone(Ot)}set(Ze,Ot){return this.clone({param:Ze,value:Ot,op:"s"})}delete(Ze,Ot){return this.clone({param:Ze,value:Ot,op:"d"})}toString(){return this.init(),this.keys().map(Ze=>{const Ot=this.encoder.encodeKey(Ze);return this.map.get(Ze).map(nn=>Ot+"="+this.encoder.encodeValue(nn)).join("&")}).filter(Ze=>""!==Ze).join("&")}clone(Ze){const Ot=new H({encoder:this.encoder});return Ot.cloneFrom=this.cloneFrom||this,Ot.updates=(this.updates||[]).concat(Ze),Ot}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ze=>this.map.set(Ze,this.cloneFrom.map.get(Ze))),this.updates.forEach(Ze=>{switch(Ze.op){case"a":case"s":const Ot=("a"===Ze.op?this.map.get(Ze.param):void 0)||[];Ot.push(z(Ze.value)),this.map.set(Ze.param,Ot);break;case"d":if(void 0===Ze.value){this.map.delete(Ze.param);break}{let nn=this.map.get(Ze.param)||[];const wt=nn.indexOf(z(Ze.value));-1!==wt&&nn.splice(wt,1),nn.length>0?this.map.set(Ze.param,nn):this.map.delete(Ze.param)}}}),this.cloneFrom=this.updates=null)}}class q{constructor(){this.map=new Map}set(Ze,Ot){return this.map.set(Ze,Ot),this}get(Ze){return this.map.has(Ze)||this.map.set(Ze,Ze.defaultValue()),this.map.get(Ze)}delete(Ze){return this.map.delete(Ze),this}has(Ze){return this.map.has(Ze)}keys(){return this.map.keys()}}function de(Ke){return typeof ArrayBuffer<"u"&&Ke instanceof ArrayBuffer}function ee(Ke){return typeof Blob<"u"&&Ke instanceof Blob}function Y(Ke){return typeof FormData<"u"&&Ke instanceof FormData}class fe{constructor(Ze,Ot,nn,wt){var st,jt;let xt;if(this.url=Ot,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ze.toUpperCase(),function Z(Ke){switch(Ke){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||wt?(this.body=void 0!==nn?nn:null,xt=wt):xt=nn,xt&&(this.reportProgress=!!xt.reportProgress,this.withCredentials=!!xt.withCredentials,xt.responseType&&(this.responseType=xt.responseType),xt.headers&&(this.headers=xt.headers),xt.context&&(this.context=xt.context),xt.params&&(this.params=xt.params),this.transferCache=xt.transferCache),null!==(st=this.headers)&&void 0!==st||(this.headers=new b),null!==(jt=this.context)&&void 0!==jt||(this.context=new q),this.params){const hn=this.params.toString();if(0===hn.length)this.urlWithParams=Ot;else{const ft=Ot.indexOf("?");this.urlWithParams=Ot+(-1===ft?"?":ft<Ot.length-1?"&":"")+hn}}else this.params=new H,this.urlWithParams=Ot}serializeBody(){return null===this.body?null:"string"==typeof this.body||de(this.body)||ee(this.body)||Y(this.body)||function ae(Ke){return typeof URLSearchParams<"u"&&Ke instanceof URLSearchParams}(this.body)?this.body:this.body instanceof H?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||Y(this.body)?null:ee(this.body)?this.body.type||null:de(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof H?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Ze={}){var Ot,nn,wt,st;const jt=Ze.method||this.method,xt=Ze.url||this.url,hn=Ze.responseType||this.responseType,ft=null!==(Ot=Ze.transferCache)&&void 0!==Ot?Ot:this.transferCache,He=void 0!==Ze.body?Ze.body:this.body,Pe=null!==(nn=Ze.withCredentials)&&void 0!==nn?nn:this.withCredentials,Fe=null!==(wt=Ze.reportProgress)&&void 0!==wt?wt:this.reportProgress;let Oe=Ze.headers||this.headers,We=Ze.params||this.params;const _t=null!==(st=Ze.context)&&void 0!==st?st:this.context;return void 0!==Ze.setHeaders&&(Oe=Object.keys(Ze.setHeaders).reduce((en,gn)=>en.set(gn,Ze.setHeaders[gn]),Oe)),Ze.setParams&&(We=Object.keys(Ze.setParams).reduce((en,gn)=>en.set(gn,Ze.setParams[gn]),We)),new fe(jt,xt,He,{params:We,headers:Oe,context:_t,reportProgress:Fe,responseType:hn,withCredentials:Pe,transferCache:ft})}}var ne=function(Ke){return Ke[Ke.Sent=0]="Sent",Ke[Ke.UploadProgress=1]="UploadProgress",Ke[Ke.ResponseHeader=2]="ResponseHeader",Ke[Ke.DownloadProgress=3]="DownloadProgress",Ke[Ke.Response=4]="Response",Ke[Ke.User=5]="User",Ke}(ne||{});class ce{constructor(Ze,Ot=X.Ok,nn="OK"){this.headers=Ze.headers||new b,this.status=void 0!==Ze.status?Ze.status:Ot,this.statusText=Ze.statusText||nn,this.url=Ze.url||null,this.ok=this.status>=200&&this.status<300}}class me extends ce{constructor(Ze={}){super(Ze),this.type=ne.ResponseHeader}clone(Ze={}){return new me({headers:Ze.headers||this.headers,status:void 0!==Ze.status?Ze.status:this.status,statusText:Ze.statusText||this.statusText,url:Ze.url||this.url||void 0})}}class re extends ce{constructor(Ze={}){super(Ze),this.type=ne.Response,this.body=void 0!==Ze.body?Ze.body:null}clone(Ze={}){return new re({body:void 0!==Ze.body?Ze.body:this.body,headers:Ze.headers||this.headers,status:void 0!==Ze.status?Ze.status:this.status,statusText:Ze.statusText||this.statusText,url:Ze.url||this.url||void 0})}}class $ extends ce{constructor(Ze){super(Ze,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ze.url||"(unknown url)"}`:`Http failure response for ${Ze.url||"(unknown url)"}: ${Ze.status} ${Ze.statusText}`,this.error=Ze.error||null}}var X=function(Ke){return Ke[Ke.Continue=100]="Continue",Ke[Ke.SwitchingProtocols=101]="SwitchingProtocols",Ke[Ke.Processing=102]="Processing",Ke[Ke.EarlyHints=103]="EarlyHints",Ke[Ke.Ok=200]="Ok",Ke[Ke.Created=201]="Created",Ke[Ke.Accepted=202]="Accepted",Ke[Ke.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",Ke[Ke.NoContent=204]="NoContent",Ke[Ke.ResetContent=205]="ResetContent",Ke[Ke.PartialContent=206]="PartialContent",Ke[Ke.MultiStatus=207]="MultiStatus",Ke[Ke.AlreadyReported=208]="AlreadyReported",Ke[Ke.ImUsed=226]="ImUsed",Ke[Ke.MultipleChoices=300]="MultipleChoices",Ke[Ke.MovedPermanently=301]="MovedPermanently",Ke[Ke.Found=302]="Found",Ke[Ke.SeeOther=303]="SeeOther",Ke[Ke.NotModified=304]="NotModified",Ke[Ke.UseProxy=305]="UseProxy",Ke[Ke.Unused=306]="Unused",Ke[Ke.TemporaryRedirect=307]="TemporaryRedirect",Ke[Ke.PermanentRedirect=308]="PermanentRedirect",Ke[Ke.BadRequest=400]="BadRequest",Ke[Ke.Unauthorized=401]="Unauthorized",Ke[Ke.PaymentRequired=402]="PaymentRequired",Ke[Ke.Forbidden=403]="Forbidden",Ke[Ke.NotFound=404]="NotFound",Ke[Ke.MethodNotAllowed=405]="MethodNotAllowed",Ke[Ke.NotAcceptable=406]="NotAcceptable",Ke[Ke.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",Ke[Ke.RequestTimeout=408]="RequestTimeout",Ke[Ke.Conflict=409]="Conflict",Ke[Ke.Gone=410]="Gone",Ke[Ke.LengthRequired=411]="LengthRequired",Ke[Ke.PreconditionFailed=412]="PreconditionFailed",Ke[Ke.PayloadTooLarge=413]="PayloadTooLarge",Ke[Ke.UriTooLong=414]="UriTooLong",Ke[Ke.UnsupportedMediaType=415]="UnsupportedMediaType",Ke[Ke.RangeNotSatisfiable=416]="RangeNotSatisfiable",Ke[Ke.ExpectationFailed=417]="ExpectationFailed",Ke[Ke.ImATeapot=418]="ImATeapot",Ke[Ke.MisdirectedRequest=421]="MisdirectedRequest",Ke[Ke.UnprocessableEntity=422]="UnprocessableEntity",Ke[Ke.Locked=423]="Locked",Ke[Ke.FailedDependency=424]="FailedDependency",Ke[Ke.TooEarly=425]="TooEarly",Ke[Ke.UpgradeRequired=426]="UpgradeRequired",Ke[Ke.PreconditionRequired=428]="PreconditionRequired",Ke[Ke.TooManyRequests=429]="TooManyRequests",Ke[Ke.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",Ke[Ke.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",Ke[Ke.InternalServerError=500]="InternalServerError",Ke[Ke.NotImplemented=501]="NotImplemented",Ke[Ke.BadGateway=502]="BadGateway",Ke[Ke.ServiceUnavailable=503]="ServiceUnavailable",Ke[Ke.GatewayTimeout=504]="GatewayTimeout",Ke[Ke.HttpVersionNotSupported=505]="HttpVersionNotSupported",Ke[Ke.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",Ke[Ke.InsufficientStorage=507]="InsufficientStorage",Ke[Ke.LoopDetected=508]="LoopDetected",Ke[Ke.NotExtended=510]="NotExtended",Ke[Ke.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",Ke}(X||{});function M(Ke,Ze){return{body:Ze,headers:Ke.headers,context:Ke.context,observe:Ke.observe,params:Ke.params,reportProgress:Ke.reportProgress,responseType:Ke.responseType,withCredentials:Ke.withCredentials,transferCache:Ke.transferCache}}let N=(()=>{var Ke;class Ze{constructor(nn){this.handler=nn}request(nn,wt,st={}){let jt;if(nn instanceof fe)jt=nn;else{let ft,He;ft=st.headers instanceof b?st.headers:new b(st.headers),st.params&&(He=st.params instanceof H?st.params:new H({fromObject:st.params})),jt=new fe(nn,wt,void 0!==st.body?st.body:null,{headers:ft,context:st.context,params:He,reportProgress:st.reportProgress,responseType:st.responseType||"json",withCredentials:st.withCredentials,transferCache:st.transferCache})}const xt=(0,C.of)(jt).pipe((0,T.H)(ft=>this.handler.handle(ft)));if(nn instanceof fe||"events"===st.observe)return xt;const hn=xt.pipe((0,s.p)(ft=>ft instanceof re));switch(st.observe||"body"){case"body":switch(jt.responseType){case"arraybuffer":return hn.pi
1pe((0,h.T)(ft=>{if(null!==ft.body&&!(ft.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ft.body}));case"blob":return hn.pipe((0,h.T)(ft=>{if(null!==ft.body&&!(ft.body instanceof Blob))throw new Error("Response is not a Blob.");return ft.body}));case"text":return hn.pipe((0,h.T)(ft=>{if(null!==ft.body&&"string"!=typeof ft.body)throw new Error("Response is not a string.");return ft.body}));default:return hn.pipe((0,h.T)(ft=>ft.body))}case"response":return hn;default:throw new Error(`Unreachable: unhandled observe type ${st.observe}}`)}}delete(nn,wt={}){return this.request("DELETE",nn,wt)}get(nn,wt={}){return this.request("GET",nn,wt)}head(nn,wt={}){return this.request("HEAD",nn,wt)}jsonp(nn,wt){return this.request("JSONP",nn,{params:(new H).append(wt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(nn,wt={}){return this.request("OPTIONS",nn,wt)}patch(nn,wt,st={}){return this.request("PATCH",nn,M(st,wt))}post(nn,wt,st={}){return this.request("POST",nn,M(st,wt))}put(nn,wt,st={}){return this.request("PUT",nn,M(st,wt))}}return(Ke=Ze).\u0275fac=function(nn){return new(nn||Ke)(o.KVO(y))},Ke.\u0275prov=o.jDH({token:Ke,factory:Ke.\u0275fac}),Ze})();function Pt(Ke,Ze){return Ze(Ke)}function At(Ke,Ze){return(Ot,nn)=>Ze.intercept(Ot,{handle:wt=>Ke(wt,nn)})}const qt=new o.nKC(""),St=new o.nKC(""),lt=new o.nKC(""),yt=new o.nKC("");function Ft(){let Ke=null;return(Ze,Ot)=>{var nn;null===Ke&&(Ke=(null!==(nn=(0,o.WQX)(qt,{optional:!0}))&&void 0!==nn?nn:[]).reduceRight(At,Pt));const wt=(0,o.WQX)(o.TgB),st=wt.add();return Ke(Ze,Ot).pipe((0,u.j)(()=>wt.remove(st)))}}let Mt=(()=>{var Ke;class Ze extends y{constructor(nn,wt){super(),this.backend=nn,this.injector=wt,this.chain=null,this.pendingTasks=(0,o.WQX)(o.TgB);const st=(0,o.WQX)(yt,{optional:!0});this.backend=null!=st?st:nn}handle(nn){if(null===this.chain){const st=Array.from(new Set([...this.injector.get(St),...this.injector.get(lt,[])]));this.chain=st.reduceRight((jt,xt)=>function It(Ke,Ze,Ot){return(nn,wt)=>(0,o.N4e)(Ot,()=>Ze(nn,st=>Ke(st,wt)))}(jt,xt,this.injector),Pt)}const wt=this.pendingTasks.add();return this.chain(nn,st=>this.backend.handle(st)).pipe((0,u.j)(()=>this.pendingTasks.remove(wt)))}}return(Ke=Ze).\u0275fac=function(nn){return new(nn||Ke)(o.KVO(p),o.KVO(o.uvJ))},Ke.\u0275prov=o.jDH({token:Ke,factory:Ke.\u0275fac}),Ze})();const ur=/^\)\]\}',?\n/;let Lr=(()=>{var Ke;class Ze{constructor(nn){this.xhrFactory=nn}handle(nn){if("JSONP"===nn.method)throw new o.wOt(-2800,!1);const wt=this.xhrFactory;return(wt.\u0275loadImpl?(0,E.H)(wt.\u0275loadImpl()):(0,C.of)(null)).pipe((0,v.n)(()=>new a.c(jt=>{const xt=wt.build();if(xt.open(nn.method,nn.urlWithParams),nn.withCredentials&&(xt.withCredentials=!0),nn.headers.forEach((en,gn)=>xt.setRequestHeader(en,gn.join(","))),nn.headers.has("Accept")||xt.setRequestHeader("Accept","application/json, text/plain, */*"),!nn.headers.has("Content-Type")){const en=nn.detectContentTypeHeader();null!==en&&xt.setRequestHeader("Content-Type",en)}if(nn.responseType){const en=nn.responseType.toLowerCase();xt.responseType="json"!==en?en:"text"}const hn=nn.serializeBody();let ft=null;const He=()=>{if(null!==ft)return ft;const en=xt.statusText||"OK",gn=new b(xt.getAllResponseHeaders()),In=function tr(Ke){return"responseURL"in Ke&&Ke.responseURL?Ke.responseURL:/^X-Request-URL:/m.test(Ke.getAllResponseHeaders())?Ke.getResponseHeader("X-Request-URL"):null}(xt)||nn.url;return ft=new me({headers:gn,status:xt.status,statusText:en,url:In}),ft},Pe=()=>{let{headers:en,status:gn,statusText:In,url:Zn}=He(),Er=null;gn!==X.NoContent&&(Er=typeof xt.response>"u"?xt.responseText:xt.response),0===gn&&(gn=Er?X.Ok:0);let Yr=gn>=200&&gn<300;if("json"===nn.responseType&&"string"==typeof Er){const oi=Er;Er=Er.replace(ur,"");try{Er=""!==Er?JSON.parse(Er):null}catch(Ar){Er=oi,Yr&&(Yr=!1,Er={error:Ar,text:Er})}}Yr?(jt.next(new re({body:Er,headers:en,status:gn,statusText:In,url:Zn||void 0})),jt.complete()):jt.error(new $({error:Er,headers:en,status:gn,statusText:In,url:Zn||void 0}))},Fe=en=>{const{url:gn}=He(),In=new $({error:en,status:xt.status||0,statusText:xt.statusText||"Unknown Error",url:gn||void 0});jt.error(In)};let Oe=!1;const We=en=>{Oe||(jt.next(He()),Oe=!0);let gn={type:ne.DownloadProgress,loaded:en.loaded};en.lengthComputable&&(gn.total=en.total),"text"===nn.responseType&&xt.responseText&&(gn.partialText=xt.responseText),jt.next(gn)},_t=en=>{let gn={type:ne.UploadProgress,loaded:en.loaded};en.lengthComputable&&(gn.total=en.total),jt.next(gn)};return xt.addEventListener("load",Pe),xt.addEventListener("error",Fe),xt.addEventListener("timeout",Fe),xt.addEventListener("abort",Fe),nn.reportProgress&&(xt.addEventListener("progress",We),null!==hn&&xt.upload&&xt.upload.addEventListener("progress",_t)),xt.send(hn),jt.next({type:ne.Sent}),()=>{xt.removeEventListener("error",Fe),xt.removeEventListener("abort",Fe),xt.removeEventListener("load",Pe),xt.removeEventListener("timeout",Fe),nn.reportProgress&&(xt.removeEventListener("progress",We),null!==hn&&xt.upload&&xt.upload.removeEventListener("progress",_t)),xt.readyState!==xt.DONE&&xt.abort()}})))}}return(Ke=Ze).\u0275fac=function(nn){return new(nn||Ke)(o.KVO(g.N0))},Ke.\u0275prov=o.jDH({token:Ke,factory:Ke.\u0275fac}),Ze})();const Br=new o.nKC(""),qr=new o.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}
1),hr=new o.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Nr{}let $r=(()=>{var Ke;class Ze{constructor(nn,wt,st){this.doc=nn,this.platform=wt,this.cookieName=st,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const nn=this.doc.cookie||"";return nn!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,g._b)(nn,this.cookieName),this.lastCookieString=nn),this.lastToken}}return(Ke=Ze).\u0275fac=function(nn){return new(nn||Ke)(o.KVO(g.qQ),o.KVO(o.Agw),o.KVO(qr))},Ke.\u0275prov=o.jDH({token:Ke,factory:Ke.\u0275fac}),Ze})();function Xr(Ke,Ze){const Ot=Ke.url.toLowerCase();if(!(0,o.WQX)(Br)||"GET"===Ke.method||"HEAD"===Ke.method||Ot.startsWith("http://")||Ot.startsWith("https://"))return Ze(Ke);const nn=(0,o.WQX)(Nr).getToken(),wt=(0,o.WQX)(hr);return null!=nn&&!Ke.headers.has(wt)&&(Ke=Ke.clone({headers:Ke.headers.set(wt,nn)})),Ze(Ke)}var zt=function(Ke){return Ke[Ke.Interceptors=0]="Interceptors",Ke[Ke.LegacyInterceptors=1]="LegacyInterceptors",Ke[Ke.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ke[Ke.NoXsrfProtection=3]="NoXsrfProtection",Ke[Ke.JsonpSupport=4]="JsonpSupport",Ke[Ke.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ke[Ke.Fetch=6]="Fetch",Ke}(zt||{});function vn(Ke,Ze){return{\u0275kind:Ke,\u0275providers:Ze}}function ln(...Ke){const Ze=[N,Lr,Mt,{provide:y,useExisting:Mt},{provide:p,useExisting:Lr},{provide:St,useValue:Xr,multi:!0},{provide:Br,useValue:!0},{provide:Nr,useClass:$r}];for(const Ot of Ke)Ze.push(...Ot.\u0275providers);return(0,o.EmA)(Ze)}const dr=new o.nKC("");let fn=(()=>{var Ke;class Ze{}return(Ke=Ze).\u0275fac=function(nn){return new(nn||Ke)},Ke.\u0275mod=o.$C({type:Ke}),Ke.\u0275inj=o.G2t({providers:[ln(vn(zt.LegacyInterceptors,[{provide:dr,useFactory:Ft},{provide:St,useExisting:dr,multi:!0}]))]}),Ze})()},54438:(ge,_,f)=>{"use strict";f.d(_,{bc$:()=>wf,iLQ:()=>Ab,sZ2:()=>Ph,hnV:()=>oS,Hbi:()=>QD,o8S:()=>lh,BIS:()=>yg,gRc:()=>yS,Ql9:()=>FD,Ocv:()=>kD,Z63:()=>Pa,aKT:()=>Ld,uvJ:()=>Ye,zcH:()=>Kl,bkB:()=>Mu,$GK:()=>ji,nKC:()=>wt,zZn:()=>nu,_q3:()=>xb,MKu:()=>Mb,xe9:()=>Py,Co$:()=>nE,Vns:()=>Sp,SKi:()=>vl,Xx1:()=>ui,Agw:()=>Kd,PLl:()=>Wd,sFG:()=>l_,_9s:()=>Sv,czy:()=>Yh,WPN:()=>xc,kdw:()=>pi,C4Q:()=>yu,NYb:()=>gD,giA:()=>rS,RxE:()=>YF,c1b:()=>A0,gXe:()=>sa,mal:()=>Cp,L39:()=>TI,a0P:()=>PI,Ol2:()=>k_,w6W:()=>fw,oH4:()=>pS,SmG:()=>MD,Rfq:()=>Xr,WQX:()=>cn,QuC:()=>hs,EmA:()=>La,fpN:()=>YD,HJs:()=>xI,N4e:()=>mi,O8t:()=>DI,An2:()=>_0,H3F:()=>QF,H8p:()=>A,KH2:()=>q0,TgB:()=>I0,wOt:()=>rt,WHO:()=>tS,e01:()=>nS,lNU:()=>Ft,h9k:()=>Rm,$MX:()=>Nf,ZF7:()=>yd,Kcf:()=>ec,e5t:()=>al,UyX:()=>Sm,cWb:()=>ns,osQ:()=>Xl,H5H:()=>rb,Zy3:()=>mt,mq5:()=>aC,JZv:()=>tr,LfX:()=>Co,plB:()=>Cl,jNT:()=>wb,zjR:()=>iS,TL$:()=>hc,Tbb:()=>_r,rcV:()=>Xs,Vt3:()=>D_,Mj6:()=>Ls,GFd:()=>tE,OA$:()=>la,Jv_:()=>_F,aNF:()=>bF,R7$:()=>up,BMQ:()=>V_,HbH:()=>GE,ZvI:()=>YE,ZWY:()=>QE,AVh:()=>X_,vxM:()=>tC,wni:()=>XC,VBU:()=>Va,FsC:()=>_a,jDH:()=>Di,G2t:()=>to,$C:()=>nl,EJ8:()=>Ga,rXU:()=>af,nrm:()=>tb,eu8:()=>nb,bVm:()=>Fy,qex:()=>Cy,k0s:()=>Ey,j41:()=>by,RV6:()=>iC,xGo:()=>yh,KVO:()=>vt,kS0:()=>xd,QTQ:()=>Jm,bIt:()=>sb,lsd:()=>JC,joV:()=>pf,qSk:()=>fh,XpG:()=>BC,nI1:()=>kF,bMT:()=>NF,i5U:()=>OF,SdG:()=>UC,NAR:()=>jC,Y8G:()=>W_,FS9:()=>lb,Mz_:()=>Dy,lJ4:()=>CF,eq3:()=>FF,l_i:()=>SF,l4e:()=>wF,mGM:()=>QC,sdS:()=>ZC,Njj:()=>Dd,N_X:()=>jf,EBC:()=>ef,eBV:()=>Kc,npT:()=>Wh,f$h:()=>Lf,B4B:()=>ss,n$t:()=>Om,Aen:()=>Vc,xc7:()=>q_,DNE:()=>R0,C5r:()=>PF,EFF:()=>uF,JRh:()=>ub,SpI:()=>Iy,Lme:()=>cb,E5c:()=>db,DH7:()=>vF,mxI:()=>hb,R50:()=>fb,GBs:()=>YC}),f(10467);let C=null,E=1;const T=Symbol("SIGNAL");function s(l){const d=C;return C=l,d}function b(l){if((!q(l)||l.dirty)&&(l.dirty||l.lastCleanEpoch!==E)){if(!l.producerMustRecompute(l)&&!K(l))return l.dirty=!1,void(l.lastCleanEpoch=E);l.producerRecomputeValue(l),l.dirty=!1,l.lastCleanEpoch=E}}function K(l){Z(l);for(let d=0;d<l.producerNode.length;d++){const F=l.producerNode[d],I=l.producerLastReadVersion[d];if(I!==F.version||(b(F),I!==F.version))return!0}return!1}function x(l,d){if(function de(l){var d,F;null!==(d=l.liveConsumerNode)&&void 0!==d||(l.liveConsumerNode=[]),null!==(F=l.liveConsumerIndexOfThis)&&void 0!==F||(l.liveConsumerIndexOfThis=[])}(l),Z(l),1===l.liveConsumerNode.length)for(let I=0;I<l.producerNode.length;I++)x(l.producerNode[I],l.producerIndexOfThis[I]);const F=l.liveConsumerNode.length-1;if(l.liveConsumerNode[d]=l.liveConsumerNode[F],l.liveConsumerIndexOfThis[d]=l.liveConsumerIndexOfThis[F],l.liveConsumerNode.length--,l.liveConsumerIndexOfThis.length--,d<l.liveConsumerNode.length){const I=l.liveConsumerIndexOfThis[d],L=l.liveConsumerNode[d];Z(L),L.producerIndexOfThis[I]=d}}function q(l){var d,F;return l.consumerIsAlwaysLive||(null!==(d=null==l||null===(F=l.liveConsumerNode)||void 0===F?void 0:F.length)&&void 0!==d?d:0)>0}function Z(l){var d,F,I;null!==(d=l.producerNode)&&void 0!==d||(l.producerNode=[]),null!==(F=l.producerIndexOfThis)&&void 0!==F||(l.producerIndexOfThis=[]),null!==(I=l.producerLastReadVersion)&&void 0!==I||(l.producerLastReadVersion=[])}let me=null;var It=f(21413),qt=f(18359),St=f(84412),lt=f(96354);const Ft="https://g.co/ng/security#xss";
vendor: 6,180 bytes, line 1
1class rt extends Error{constructor(d,F){super(mt(d,F)),this.code=d}}function mt(l,d){return`NG0${Math.abs(l)}${d?": "+d:""}`}function An(l){return{toString:l}.toString()}const or="__parameters__";function sr(l,d,F){return An(()=>{const I=function On(l){return function(...F){if(l){const I=l(...F);for(const L in I)this[L]=I[L]}}}(d);function L(...Q){if(this instanceof L)return I.apply(this,Q),this;const he=new L(...Q);return Te.annotation=he,Te;function Te(Be,ct,Nt){const Yt=Be.hasOwnProperty(or)?Be[or]:Object.defineProperty(Be,or,{value:[]})[or];for(;Yt.length<=Nt;)Yt.push(null);return(Yt[Nt]=Yt[Nt]||[]).push(he),Be}}return F&&(L.prototype=Object.create(F.prototype)),L.prototype.ngMetadataName=l,L.annotationCls=L,L})}const tr=globalThis;function Gr(l){for(let d in l)if(l[d]===Gr)return d;throw Error("Could not find renamed property on target object.")}function qr(l,d){for(const F in d)d.hasOwnProperty(F)&&!l.hasOwnProperty(F)&&(l[F]=d[F])}function _r(l){if("string"==typeof l)return l;if(Array.isArray(l))return"["+l.map(_r).join(", ")+"]";if(null==l)return""+l;if(l.overriddenName)return`${l.overriddenName}`;if(l.name)return`${l.name}`;const d=l.toString();if(null==d)return""+d;const F=d.indexOf("\n");return-1===F?d:d.substring(0,F)}function hr(l,d){return null==l||""===l?null===d?"":d:null==d||""===d?l:l+" "+d}const $r=Gr({__forward_ref__:Gr});function Xr(l){return l.__forward_ref__=Xr,l.toString=function(){return _r(this())},l}function Rt(l){return zt(l)?l():l}function zt(l){return"function"==typeof l&&l.hasOwnProperty($r)&&l.__forward_ref__===Xr}function Di(l){return{token:l.token,providedIn:l.providedIn||null,factory:l.factory,value:void 0}}function to(l){return{providers:l.providers||[],imports:l.imports||[]}}function vo(l){return mn(l,Ke)||mn(l,Ot)}function Co(l){return null!==vo(l)}function mn(l,d){return l.hasOwnProperty(d)?l[d]:null}function kn(l){return l&&(l.hasOwnProperty(Ze)||l.hasOwnProperty(nn))?l[Ze]:null}const Ke=Gr({\u0275prov:Gr}),Ze=Gr({\u0275inj:Gr}),Ot=Gr({ngInjectableDef:Gr}),nn=Gr({ngInjectorDef:Gr});class wt{constructor(d,F){this._desc=d,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof F?this.__NG_ELEMENT_ID__=F:void 0!==F&&(this.\u0275prov=Di({token:this,providedIn:F.providedIn||"root",factory:F.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function _t(l){return l&&!!l.\u0275providers}const en=Gr({\u0275cmp:Gr}),gn=Gr({\u0275dir:Gr}),In=Gr({\u0275pipe:Gr}),Zn=Gr({\u0275mod:Gr}),Er=Gr({\u0275fac:Gr}),Yr=Gr({__NG_ELEMENT_ID__:Gr}),oi=Gr({__NG_ENV_ID__:Gr});function Ar(l){return"string"==typeof l?l:null==l?"":String(l)}function Eo(l,d){throw new rt(-201,!1)}var ji=function(l){return l[l.Default=0]="Default",l[l.Host=1]="Host",l[l.Self=2]="Self",l[l.SkipSelf=4]="SkipSelf",l[l.Optional=8]="Optional",l}(ji||{});let bs;function xo(){return bs}function So(l){const d=bs;return bs=l,d}function $s(l,d,F){const I=vo(l);return I&&"root"==I.providedIn?void 0===I.value?I.value=I.factory():I.value:F&ji.Optional?null:void 0!==d?d:void Eo()}const ds={},Ne="__NG_DI_FLAG__",Ge="ngTempTokenPath",xe=/\n/gm,Ut="__source";let qe;function Dn(l){const d=qe;return qe=l,d}function Bi(l,d=ji.Default){if(void 0===qe)throw new rt(-203,!1);return null===qe?$s(l,void 0,d):qe.get(l,d&ji.Optional?null:void 0,d)}function vt(l,d=ji.Default){return(xo()||Bi)(Rt(l),d)}function cn(l,d=ji.Default){return vt(l,Pn(d))}function Pn(l){return typeof l>"u"||"number"==typeof l?l:(l.optional&&8)|(l.host&&1)|(l.self&&2)|(l.skipSelf&&4)}function Yn(l){const d=[];for(let F=0;F<l.length;F++){const I=Rt(l[F]);if(Array.isArray(I)){if(0===I.length)throw new rt(900,!1);let L,Q=ji.Default;for(let he=0;he<I.length;he++){const Te=I[he],Be=Ir(Te);"number"==typeof Be?-1===Be?L=Te.token:Q|=Be:L=Te}d.push(vt(L,Q))}else d.push(vt(I))}return d}function Wn(l,d){return l[Ne]=d,l.prototype[Ne]=d,l}function Ir(l){return l[Ne]}const ui=Wn(sr("Optional"),8),pi=Wn(sr("SkipSelf"),4);function yo(l,d){return l.hasOwnProperty(Er)?l[Er]:null}function as(l,d){l.forEach(F=>Array.isArray(F)?as(F,d):d(F))}function Ts(l,d,F){d>=l.length?l.push(F):l.splice(d,0,F)}function As(l,d){return d>=l.length-1?l.pop():l.splice(d,1)[0]}function Uo(l,d,F){let I=ta(l,d);return I>=0?l[1|I]=F:(I=~I,function ia(l,d,F,I){let L=l.length;if(L==d)l.push(F,I);else if(1===L)l.push(I,l[0]),l[0]=F;else{for(L--,l.push(l[L-1],l[L]);L>d;)l[L]=l[L-2],L--;l[d]=F,l[d+1]=I}}(l,I,d,F)),I}function ua(l,d){const F=ta(l,d);if(F>=0)return l[1|F]}function ta(l,d){return function Ia(l,d,F){let I=0,L=l.length>>F;for(;L!==I;){const Q=I+(L-I>>1),he=l[Q<<F];if(d===he)return Q<<F;he>d?L=Q:I=Q+1}return~(L<<F)}(l,d,1)}const Us={},Ji=[],Pa=new wt(""),el=new wt("",-1),Ha=new wt("");class xa{get(d,F=ds){if(F===ds){const I=new Error(`NullInjectorError: No provider for ${_r(d)}!`);throw I.name="NullInjectorError",I}return F}}var ya=function(l){return l[l.OnPush=0]="OnPush",l[l.Default=1]="Default",l}(ya||{}),sa=function(l){return l[l.Emulated=0]="Emulated",l[l.None=2]="None",l[l.ShadowDom=3]="ShadowDom",l}(sa||{}),Ls=function(l){return l[l.None=0]="None",l[l.SignalBased=1]="SignalBased",l[l.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",l}(Ls||{});function aa(l,d,F){let I=l.length;for(;;){const L=l.indexOf(d,F);if(-1===L)return L;if(0===L||l.charCodeAt(L-1)<=32){const Q=d.length;if(L+Q===I||l.charCodeAt(L+Q)<=32)return L}F=L+1}}function qa(l,d,F){let I=0;for(;I<F.length;){const L=F[I];if("number"==typeof L){if(0!==L)break;I++;const Q=F[I++],he=F[I++],Te=F[I++];l.setAttribute(d,he,Te,Q)}else{const Q=L,he=F[++I];ot(Q)?l.setProperty(d,Q,he):l.setAttribute(d,Q,he),I++}}return I}function Ct(l){return 3===l||4===l||6===l}function ot(l){return 64===l.charCodeAt(0)}function Zt(l,d){if(null!==d&&0!==d.length)if(null===l||0===l.length)l=d.slice();else{let F=-1;for(let I=0;I<d.length;I++){const L=d[I];"number"==typeof L?F=L:0===F||bt(l,F,L,null,-1===F||2===F?d[++I]:null)}}return l}function bt(l,d,F,I,L){let Q=0,he=l.length;if(-1===d)he=-1;else for(;Q<l.length;){const Te=l[Q++];if("number"==typeof Te){if(Te===d){he=-1;break}if(Te>d){he=Q-1;break}}}for(;Q<l.length;){const Te=l[Q];if("number"==typeof Te)break;
1if(Te===F){if(null===I)return void(null!==L&&(l[Q+1]=L));if(I===l[Q+1])return void(l[Q+2]=L)}Q++,null!==I&&Q++,null!==L&&Q++}-1!==he&&(l.splice(he,0,d),Q=he+1),l.splice(Q++,0,F),null!==I&&l.splice(Q++,0,I),null!==L&&l.splice(Q++,0,L)}const sn="ng-template";function ai(l,d,F,I){let L=0;if(I){for(;L<d.length&&"string"==typeof d[L];L+=2)if("class"===d[L]&&-1!==aa(d[L+1].toLowerCase(),F,0))return!0}else if(wi(l))return!1;if(L=d.indexOf(1,L),L>-1){let Q;for(;++L<d.length&&"string"==typeof(Q=d[L]);)if(Q.toLowerCase()===F)return!0}return!1}function wi(l){return 4===l.type&&l.value!==sn}function Ns(l,d,F){return d===(4!==l.type||F?l.value:sn)}function ca(l,d,F){let I=4;const L=l.attrs,Q=null!==L?function Xa(l){for(let d=0;d<l.length;d++)if(Ct(l[d]))return d;return l.length}(L):0;let he=!1;for(let Te=0;Te<d.length;Te++){const Be=d[Te];if("number"!=typeof Be){if(!he)if(4&I){if(I=2|1&I,""!==Be&&!Ns(l,Be,F)||""===Be&&1===d.length){if(Xo(I))return!1;he=!0}}else if(8&I){if(null===L||!ai(l,L,Be,F)){if(Xo(I))return!1;he=!0}}else{const ct=d[++Te],Nt=ga(Be,L,wi(l),F);if(-1===Nt){if(Xo(I))return!1;he=!0;continue}if(""!==ct){let Yt;if(Yt=Nt>Q?"":L[Nt+1].toLowerCase(),2&I&&ct!==Yt){if(Xo(I))return!1;he=!0}}}}else{if(!he&&!Xo(I)&&!Xo(Be))return!1;if(he&&Xo(Be))continue;he=!1,I=Be|1&I}}return Xo(I)||he}function Xo(l){return!(1&l)}function ga(l,d,F,I){if(null===d)return-1;let L=0;if(I||!F){let Q=!1;for(;L<d.length;){const he=d[L];if(he===l)return L;if(3===he||6===he)Q=!0;else{if(1===he||2===he){let Te=d[++L];for(;"string"==typeof Te;)Te=d[++L];continue}if(4===he)break;if(0===he){L+=4;continue}}L+=Q?1:2}return-1}return function Zo(l,d){let F=l.indexOf(4);if(F>-1)for(F++;F<l.length;){const I=l[F];if("number"==typeof I)return-1;if(I===d)return F;F++}return-1}(d,l)}function Js(l,d,F=!1){for(let I=0;I<d.length;I++)if(ca(l,d[I],F))return!0;return!1}function fl(l,d){e:for(let F=0;F<d.length;F++){const I=d[F];if(l.length===I.length){for(let L=0;L<l.length;L++)if(l[L]!==I[L])continue e;return!0}}return!1}function hl(l,d){return l?":not("+d.trim()+")":d}function Rl(l){let d=l[0],F=1,I=2,L="",Q=!1;for(;F<l.length;){let he=l[F];if("string"==typeof he)if(2&I){const Te=l[++F];L+="["+he+(Te.length>0?'="'+Te+'"':"")+"]"}else 8&I?L+="."+he:4&I&&(L+=" "+he);else""!==L&&!Xo(he)&&(d+=hl(Q,L),L=""),I=he,Q=Q||!Xo(I);F++}return""!==L&&(d+=hl(Q,L)),d}function Va(l){return An(()=>{var d;const F=Ml(l),I={...F,decls:l.decls,vars:l.vars,template:l.template,consts:l.consts||null,ngContentSelectors:l.ngContentSelectors,onPush:l.changeDetection===ya.OnPush,directiveDefs:null,pipeDefs:null,dependencies:F.standalone&&l.dependencies||null,getStandaloneInjector:null,signals:null!==(d=l.signals)&&void 0!==d&&d,data:l.data||{},encapsulation:l.encapsulation||sa.Emulated,styles:l.styles||Ji,_:null,schemas:l.schemas||null,tView:null,id:""};Yo(I);const L=l.dependencies;return I.directiveDefs=ba(L,!1),I.pipeDefs=ba(L,!0),I.id=function $l(l){let d=0;const F=[l.selectors,l.ngContentSelectors,l.hostVars,l.hostAttrs,l.consts,l.vars,l.decls,l.encapsulation,l.standalone,l.signals,l.exportAs,JSON.stringify(l.inputs),JSON.stringify(l.outputs),Object.getOwnPropertyNames(l.type.prototype),!!l.contentQueries,!!l.viewQuery].join("|");for(const L of F)d=Math.imul(31,d)+L.charCodeAt(0)|0;return d+=2147483648,"c"+d}(I),I})}function zl(l){return _o(l)||fs(l)}function kl(l){return null!==l}function nl(l){return An(()=>({type:l.type,bootstrap:l.bootstrap||Ji,declarations:l.declarations||Ji,imports:l.imports||Ji,exports:l.exports||Ji,transitiveCompileScopes:null,schemas:l.schemas||null,id:l.id||null}))}function Zs(l,d){if(null==l)return Us;const F={};for(const L in l)if(l.hasOwnProperty(L)){const Q=l[L];let he,Te,Be=Ls.None;var I;Array.isArray(Q)?(Be=Q[0],he=Q[1],Te=null!==(I=Q[2])&&void 0!==I?I:he):(he=Q,Te=Q),d?(F[he]=Be!==Ls.None?[L,Be]:L,d[he]=Te):F[he]=L}return F}function _a(l){return An(()=>{const d=Ml(l);return Yo(d),d})}function Ga(l){return{type:l.type,name:l.name,factory:null,pure:!1!==l.pure,standalone:!0===l.standalone,onDestroy:l.type.prototype.ngOnDestroy||null}}function _o(l){return l[en]||null}function fs(l){return l[gn]||null}function is(l){return l[In]||null}function hs(l){const d=_o(l)||fs(l)||is(l);return null!==d&&d.standalone}function Go(l,d){const F=l[Zn]||null;if(!F&&!0===d)throw new Error(`Type ${_r(l)} does not have '\u0275mod' property.`);return F}function Ml(l){const d={};return{type:l.type,providersResolver:null,factory:null,hostBindings:l.hostBindings||null,hostVars:l.hostVars||0,hostAttrs:l.hostAttrs||null,contentQueries:l.contentQueries||null,declaredInputs:d,inputTransforms:null,inputConfig:l.input
vendor: 4,138 bytes, line 1
1s||Us,exportAs:l.exportAs||null,standalone:!0===l.standalone,signals:!0===l.signals,selectors:l.selectors||Ji,viewQuery:l.viewQuery||null,features:l.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Zs(l.inputs,d),outputs:Zs(l.outputs),debugInfo:null}}function Yo(l){var d;null===(d=l.features)||void 0===d||d.forEach(F=>F(l))}function ba(l,d){if(!l)return null;const F=d?is:zl;return()=>("function"==typeof l?l():l).map(I=>F(I)).filter(kl)}function La(l){return{\u0275providers:l}}function Nn(...l){return{\u0275providers:xr(0,l),\u0275fromNgModule:!0}}function xr(l,...d){const F=[],I=new Set;let L;const Q=he=>{F.push(he)};return as(d,he=>{const Te=he;Ii(Te,Q,[],I)&&(L||(L=[]),L.push(Te))}),void 0!==L&&kr(L,Q),F}function kr(l,d){for(let F=0;F<l.length;F++){const{ngModule:I,providers:L}=l[F];zo(L,Q=>{d(Q,I)})}}function Ii(l,d,F,I){if(!(l=Rt(l)))return!1;let L=null,Q=kn(l);const he=!Q&&_o(l);if(Q||he){if(he&&!he.standalone)return!1;L=l}else{const Be=l.ngModule;if(Q=kn(Be),!Q)return!1;L=Be}const Te=I.has(L);if(he){if(Te)return!1;if(I.add(L),he.dependencies){const Be="function"==typeof he.dependencies?he.dependencies():he.dependencies;for(const ct of Be)Ii(ct,d,F,I)}}else{if(!Q)return!1;{if(null!=Q.imports&&!Te){let ct;I.add(L);try{as(Q.imports,Nt=>{Ii(Nt,d,F,I)&&(ct||(ct=[]),ct.push(Nt))})}finally{}void 0!==ct&&kr(ct,d)}if(!Te){const ct=yo(L)||(()=>new L);d({provide:L,useFactory:ct,deps:Ji},L),d({provide:Ha,useValue:L,multi:!0},L),d({provide:Pa,useValue:()=>vt(L),multi:!0},L)}const Be=Q.providers;if(null!=Be&&!Te){const ct=l;zo(Be,Nt=>{d(Nt,ct)})}}}return L!==l&&void 0!==l.providers}function zo(l,d){for(let F of l)_t(F)&&(F=F.\u0275providers),Array.isArray(F)?zo(F,d):d(F)}const Es=Gr({provide:String,useValue:Gr});function Ce(l){return null!==l&&"object"==typeof l&&Es in l}function tt(l){return"function"==typeof l}const A=new wt(""),W={},oe={};let be;function Ue(){return void 0===be&&(be=new xa),be}class Ye{}class kt extends Ye{get destroyed(){return this._destroyed}constructor(d,F,I,L){super(),this.parent=F,this.source=I,this.scopes=L,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Mr(d,he=>this.processProvider(he)),this.records.set(el,Kr(void 0,this)),L.has("environment")&&this.records.set(Ye,Kr(void 0,this));const Q=this.records.get(A);null!=Q&&"string"==typeof Q.value&&this.scopes.add(Q.value),this.injectorDefTypes=new Set(this.get(Ha,Ji,ji.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const d=s(null);try{for(const I of this._ngOnDestroyHooks)I.ngOnDestroy();const F=this._onDestroyHooks;this._onDestroyHooks=[];for(const I of F)I()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),s(d)}}onDestroy(d){return this.assertNotDestroyed(),this._onDestroyHooks.push(d),()=>this.removeOnDestroy(d)}runInContext(d){this.assertNotDestroyed();const F=Dn(this),I=So(void 0);try{return d()}finally{Dn(F),So(I)}}get(d,F=ds,I=ji.Default){if(this.assertNotDestroyed(),d.hasOwnProperty(oi))return d[oi](this);I=Pn(I);const Q=Dn(this),he=So(void 0);try{if(!(I&ji.SkipSelf)){let Be=this.records.get(d);if(void 0===Be){const ct=function qn(l){return"function"==typeof l||"object"==typeof l&&l instanceof wt}(d)&&vo(d);Be=ct&&this.injectableDefInScope(ct)?Kr(on(d),W):null,this.records.set(d,Be)}if(null!=Be)return this.hydrate(d,Be)}return(I&ji.Self?Ue():this.parent).get(d,F=I&ji.Optional&&F===ds?null:F)}catch(Te){if("NullInjectorError"===Te.name){if((Te[Ge]=Te[Ge]||[]).unshift(_r(d)),Q)throw Te;return function Wr(l,d,F,I){const L=l[Ge];throw d[Ut]&&L.unshift(d[Ut]),l.message=function Or(l,d,F,I=null){l=l&&"\n"===l.charAt(0)&&"\u0275"==l.charAt(1)?l.slice(2):l;let L=_r(d);if(Array.isArray(d))L=d.map(_r).join(" -> ");else if("object"==typeof d){let Q=[];for(let he in d)if(d.hasOwnProperty(he)){let Te=d[he];Q.push(he+":"+("string"==typeof Te?JSON.stringify(Te):_r(Te)))}L=`{${Q.join(", ")}}`}return`${F}${I?"("+I+")":""}[${L}]: ${l.replace(xe,"\n ")}`}("\n"+l.message,L,F,I),l.ngTokenPath=L,l[Ge]=null,l}(Te,d,"R3InjectorError",this.source)}throw Te}finally{So(he),Dn(Q)}}
1resolveInjectorInitializers(){const d=s(null),F=Dn(this),I=So(void 0);try{const Q=this.get(Pa,Ji,ji.Self);for(const he of Q)he()}finally{Dn(F),So(I),s(d)}}toString(){const d=[],F=this.records;for(const I of F.keys())d.push(_r(I));return`R3Injector[${d.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new rt(205,!1)}processProvider(d){let F=tt(d=Rt(d))?d:Rt(d&&d.provide);const I=function pr(l){return Ce(l)?Kr(void 0,l.useValue):Kr(Rr(l),W)}(d);if(!tt(d)&&!0===d.multi){let L=this.records.get(F);L||(L=Kr(void 0,W,!0),L.factory=()=>Yn(L.multi),this.records.set(F,L)),F=d,L.multi.push(d)}this.records.set(F,I)}hydrate(d,F){const I=s(null);try{return F.value===W&&(F.value=oe,F.value=F.factory()),"object"==typeof F.value&&F.value&&function jr(l){return null!==l&&"object"==typeof l&&"function"==typeof l.ngOnDestroy}(F.value)&&this._ngOnDestroyHooks.add(F.value),F.value}finally{s(I)}}injectableDefInScope(d){if(!d.providedIn)return!1;const F=Rt(d.providedIn);return"string"==typeof F?"any"===F||this.scopes.has(F):this.injectorDefTypes.has(F)}removeOnDestroy(d){const F=this._onDestroyHooks.indexOf(d);-1!==F&&this._onDestroyHooks.splice(F,1)}}function on(l){const d=vo(l),F=null!==d?d.factory:yo(l);if(null!==F)return F;if(l instanceof wt)throw new rt(204,!1);if(l instanceof Function)return function xn(l){if(l.length>0)throw new rt(204,!1);const F=function Jt(l){return l&&(l[Ke]||l[Ot])||null}(l);return null!==F?()=>F.factory(l):()=>new l}(l);throw new rt(204,!1)}function Rr(l,d,F){let I;if(tt(l)){const L=Rt(l);return yo(L)||on(L)}if(Ce(l))I=()=>Rt(l.useValue);else if(function $e(l){return!(!l||!l.useFactory)}(l))I=()=>l.useFactory(...Yn(l.deps||[]));else if(function ye(l){return!(!l||!l.useExisting)}(l))I=()=>vt(Rt(l.useExisting));else{const L=Rt(l&&(l.useClass||l.provide));if(!function Pr(l){return!!l.deps}(l))return yo(L)||on(L);I=()=>new L(...Yn(l.deps))}return I}function Kr(l,d,F=!1){return{factory:l,value:d,multi:F?[]:void 0}}function Mr(l,d){for(const F of l)Array.isArray(F)?Mr(F,d):F&&_t(F)?Mr(F.\u0275providers,d):d(F)}function mi(l,d){l instanceof kt&&l.assertNotDestroyed();const I=Dn(l),L=So(void 0);try{return d()}finally{Dn(I),So(L)}}function Ti(){return void 0!==xo()||null!=function rn(){return qe}()}const bo=0,ri=1,Vi=2,Ds=3,na=4,Ro=5,Bs=6,ll=7,Is=8,Ws=9,za=10,ho=11,ul=12,ic=13,hu=14,Cs=15,_u=16,Ca=17,pl=18,da=19,Gu=20,le=21,pe=22,ie=23,se=25,_e=1,Ve=7,Tt=9,Xt=10;var dn=function(l){return l[l.None=0]="None",l[l.HasTransplantedViews=2]="HasTransplantedViews",l}(dn||{});function Rn(l){return Array.isArray(l)&&"object"==typeof l[_e]}function _n(l){return Array.isArray(l)&&!0===l[_e]}function cr(l){return!!(4&l.flags)}function Gn(l){return l.componentOffset>-1}function Cr(l){return!(1&~l.flags)}function wr(l){return!!l.template}function ti(l){return!!(512&l[Vi])}class Ao{constructor(d,F,I){this.previousValue=d,this.currentValue=F,this.firstChange=I}isFirstChange(){return this.firstChange}}function Lo(l,d,F,I){null!==d?d.applyValueToInputSignal(d,I):l[F]=I}function la(){return Rs}function Rs(l){return l.type.prototype.ngOnChanges&&(l.setInput=ks),Fa}function Fa(){const l=Sa(this),d=null==l?void 0:l.current;if(d){const F=l.previous;if(F===Us)l.previous=d;else for(let I in d)F[I]=d[I];l.current=null,this.ngOnChanges(d)}}function ks(l,d,F,I,L){const Q=this.declaredInputs[I],he=Sa(l)||function rl(l,d){return l[xs]=d}(l,{previous:Us,current:null}),Te=he.current||(he.current={}),Be=he.previous,ct=Be[Q];Te[Q]=new Ao(ct&&ct.currentValue,F,Be===Us),Lo(l,d,L,F)}la.ngInherit=!0;const xs="__ngSimpleChanges__";function Sa(l){return l[xs]||null}const Ra=function(l,d,F){},Ri="svg";let Oo=!1;function zi(l){for(;Array.isArray(l);)l=l[bo];return l}function ja(l,d){return zi(d[l])}function gs(l,d){return zi(d[l.index])}function ea(l,d){return l.data[d]}function Ua(l,d){return l[d]}function Ks(l,d){const F=d[l];return Rn(F)?F:F[bo]}function zu(l){return!(128&~l[Vi])}function Nl(l,d){return null==d?null:l[d]}function $u(l){l[Ca]=0}function ku(l){1024&l[Vi]||(l[Vi]|=1024,zu(l)&&Eu(l))}function eu(l){var d;return!!(9216&l[Vi]||null!==(d=l[ie])&&void 0!==d&&d.dirty)}function bu(l){var d;if(null===(d=l[za].changeDetectionScheduler)||void 0===d||d.notify(1),eu(l))Eu(l);else if(64&l[Vi])if(function ts(){return Oo}())l[Vi]|=1024,Eu(l);else{var F;null===(F=l[za].changeDetectionScheduler)||void 0===F||F.notify()}}function Eu(l){var d;null===(d=l[za].changeDetectionScheduler)||void 0===d||d.notify();let F=Ou(l);for(;null!==F&&!(8192&F[Vi])&&(F[Vi]|=8192,zu(F));)F=Ou(F)}function Nu(l,d){if(!(256&~l[Vi]))throw new rt(911,!1);null===l[le]&&(l[le]=[]),l[le].push(d)}function Ou(l){const d=l[Ds];return _n(d)?d[Ds]:d}const eo={lFrame:Cu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function qs(){return eo.bindingsEnabled}function pu(){return null!==eo.skipHydrationRootTNode}function zr(){return eo.lFrame.lView}function vs(){return eo.lFrame.tView}function Kc(l){return eo.lFrame.contextLView=l,l[Is]}function Dd(l){return eo.lFrame.contextLView=null,l}function ls(){let l=Tc();for(;null!==l&&64===l.type;)l=l.parent;return l}function Tc(){return eo.lFrame.currentTNode}function yl(l,d){const F=eo.lFrame;
vendor: 8,869 bytes, line 1
1F.currentTNode=l,F.isParent=d}function Xc(){return eo.lFrame.isParent}function Se(){eo.lFrame.isParent=!1}function $t(){const l=eo.lFrame;let d=l.bindingRootIndex;return-1===d&&(d=l.bindingRootIndex=l.tView.bindingStartIndex),d}function un(){return eo.lFrame.bindingIndex}function rr(){return eo.lFrame.bindingIndex++}function mr(l){const d=eo.lFrame,F=d.bindingIndex;return d.bindingIndex=d.bindingIndex+l,F}function Oi(l,d){const F=eo.lFrame;F.bindingIndex=F.bindingRootIndex=l,oo(d)}function oo(l){eo.lFrame.currentDirectiveIndex=l}function Wo(){return eo.lFrame.currentQueryIndex}function Fo(l){eo.lFrame.currentQueryIndex=l}function Ko(l){const d=l[ri];return 2===d.type?d.declTNode:1===d.type?l[Ro]:null}function Qo(l,d,F){if(F&ji.SkipSelf){let L=d,Q=l;for(;!(L=L.parent,null!==L||F&ji.Host||(L=Ko(Q),null===L||(Q=Q[hu],10&L.type))););if(null===L)return!1;d=L,l=Q}const I=eo.lFrame=$a();return I.currentTNode=d,I.lView=l,!0}function cl(l){const d=$a(),F=l[ri];eo.lFrame=d,d.currentTNode=F.firstChild,d.lView=l,d.tView=F,d.contextLView=l,d.bindingIndex=F.bindingStartIndex,d.inI18n=!1}function $a(){const l=eo.lFrame,d=null===l?null:l.child;return null===d?Cu(l):d}function Cu(l){const d={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:l,child:null,inI18n:!1};return null!==l&&(l.child=d),d}function Wl(){const l=eo.lFrame;return eo.lFrame=l.parent,l.currentTNode=null,l.lView=null,l}const Ku=Wl;function Yc(){const l=Wl();l.isParent=!0,l.tView=null,l.selectedIndex=-1,l.contextLView=null,l.elementDepthCount=0,l.currentDirectiveIndex=-1,l.currentNamespace=null,l.bindingRootIndex=-1,l.bindingIndex=-1,l.currentQueryIndex=0}function Na(){return eo.lFrame.selectedIndex}function sc(l){eo.lFrame.selectedIndex=l}function Hs(){const l=eo.lFrame;return ea(l.tView,l.selectedIndex)}function fh(){eo.lFrame.currentNamespace=Ri}function pf(){!function Np(){eo.lFrame.currentNamespace=null}()}let Pp=!0;function Jc(){return Pp}function Fu(l){Pp=l}function Id(l,d){for(let ct=d.directiveStart,Nt=d.directiveEnd;ct<Nt;ct++){const wn=l.data[ct].type.prototype,{ngAfterContentInit:Qn,ngAfterContentChecked:gr,ngAfterViewInit:Vr,ngAfterViewChecked:ci,ngOnDestroy:gi}=wn;var F,I,L,Q,he,Te,Be;Qn&&(null!==(F=l.contentHooks)&&void 0!==F?F:l.contentHooks=[]).push(-ct,Qn),gr&&((null!==(I=l.contentHooks)&&void 0!==I?I:l.contentHooks=[]).push(ct,gr),(null!==(L=l.contentCheckHooks)&&void 0!==L?L:l.contentCheckHooks=[]).push(ct,gr)),Vr&&(null!==(Q=l.viewHooks)&&void 0!==Q?Q:l.viewHooks=[]).push(-ct,Vr),ci&&((null!==(he=l.viewHooks)&&void 0!==he?he:l.viewHooks=[]).push(ct,ci),(null!==(Te=l.viewCheckHooks)&&void 0!==Te?Te:l.viewCheckHooks=[]).push(ct,ci)),null!=gi&&(null!==(Be=l.destroyHooks)&&void 0!==Be?Be:l.destroyHooks=[]).push(ct,gi)}}function Rd(l,d,F){xp(l,d,3,F)}function _l(l,d,F,I){(3&l[Vi])===F&&xp(l,d,F,I)}function mu(l,d){let F=l[Vi];(3&F)===d&&(F&=16383,F+=1,l[Vi]=F)}function xp(l,d,F,I){const Q=null!=I?I:-1,he=d.length-1;let Te=0;for(let Be=void 0!==I?65535&l[Ca]:0;Be<he;Be++)if("number"==typeof d[Be+1]){if(Te=d[Be],null!=I&&Te>=I)break}else d[Be]<0&&(l[Ca]+=65536),(Te<Q||-1==Q)&&(mf(l,F,d,Be),l[Ca]=(4294901760&l[Ca])+Be+2),Be++}function hh(l,d){Ra(4,l,d);const F=s(null);try{d.call(l)}finally{s(F),Ra(5,l,d)}}function mf(l,d,F,I){const L=F[I]<0,Q=F[I+1],Te=l[L?-F[I]:F[I]];L?l[Vi]>>14<l[Ca]>>16&&(3&l[Vi])===d&&(l[Vi]+=16384,hh(Te,Q)):hh(Te,Q)}const Su=-1;class Zc{constructor(d,F,I){this.factory=d,this.resolving=!1,this.canSeeViewProviders=F,this.injectImpl=I}}function gf(l){return l!==Su}function ac(l){return 32767&l}function qu(l,d){let F=function Bp(l){return l>>16}(l),I=d;for(;F>0;)I=I[hu],F--;return I}let td=!0;function lc(l){const d=td;return td=l,d}const mh=255,kd=5;let jp=0;const bl={};function Nd(l,d){const F=vf(l,d);if(-1!==F)return F;const I=d[ri];I.firstCreatePass&&(l.injectorIndex=d.length,wu(I.data,l),wu(d,null),wu(I.blueprint,null));const L=Od(l,d),Q=l.injectorIndex;if(gf(L)){const he=ac(L),Te=qu(L,d),Be=Te[ri].data;for(let ct=0;ct<8;ct++)d[Q+ct]=Te[he+ct]|Be[he+ct]}return d[Q+8]=L,Q}function wu(l,d){l.push(0,0,0,0,0,0,0,0,d)}function vf(l,d){return-1===l.injectorIndex||l.parent&&l.parent.injectorIndex===l.injectorIndex||null===d[l.injectorIndex+8]?-1:l.injectorIndex}function Od(l,d){if(l.parent&&-1!==l.parent.injectorIndex)return l.parent.injectorIndex;let F=0,I=null,L=d;for(;null!==L;){if(I=Gp(L),null===I)return Su;if(F++,L=L[hu],-1!==I.injectorIndex)return I.injectorIndex|F<<16}return Su}function uc(l,d,F){!function tg(l,d,F){let I;"string"==typeof F?I=F.charCodeAt(0)||0:F.hasOwnProperty(Yr)&&(I=F[Yr]),null==I&&(I=F[Yr]=jp++);const L=I&mh;d.data[l+(L>>kd)]|=1<<L}(l,d,F)}function Hp(l,d,F){if(F&ji.Optional||void 0!==l)return l;Eo()}function Vp(l,d,F,I){if(F&ji.Optional&&void 0===I&&(I=null),!(F&(ji.Self|ji.Host))){const L=l[Ws],Q=So(void 0);try{return L?L.get(d,I,F&ji.Optional):$s(d,I,F&ji.Optional)}finally{So(Q)}}return Hp(I,0,F)}function Pu(l,d,F,I=ji.Default,L){if(null!==l){if(2048&d[Vi]&&!(I&ji.Self)){const he=function ng(l,d,F,I,L){let Q=l,he=d;for(;null!==Q&&null!==he&&2048&he[Vi]&&!(512&he[Vi]);){const Te=yf(Q,he,F,I|ji.Self,bl);if(Te!==bl)return Te;let Be=Q.parent;if(!Be){const ct=he[Gu];if(ct){const Nt=ct.get(F,bl,I);if(Nt!==bl)return Nt}Be=Gp(he),he=he[hu]}Q=Be}return L}(l,d,F,I,bl);if(he!==bl)return he}const Q=yf(l,d,F,I,bl);if(Q!==bl)return Q}return Vp(d,F,I,L)}function yf(l,d,F,I,L){const Q=function rd(l){if("string"==typeof l)return l.charCodeAt(0)||0;const d=l.hasOwnProperty(Yr)?l[Yr]:void 0;return"number"==typeof d?d>=0?d&mh:vh:d}(F);if("function"==typeof Q){if(!Qo(d,l,I))return I&ji.Host?Hp(L,0,I):Vp(d,F,I,L);try{let he;if(he=Q(I),null!=he||I&ji.Optional)return he;Eo()}finally{Ku()}}else if("number"==typeof Q){let he=null,Te=vf(l,d),Be=Su,ct=I&ji.Host?d[Cs][Ro]:null;for((-1===Te||I&ji.SkipSelf)&&(Be=-1===Te?Od(l,d):d[Te+8],Be!==Su&&Pd(I,!1)?(he=d[ri],Te=ac(Be),d=qu(Be,d)):Te=-1);-1!==Te;){const Nt=d[ri];if(Io(Q,Te,Nt.data)){const Yt=gh(Te,d,F,he,I,ct);if(Yt!==bl)return Yt}Be=d[Te+8],Be!==Su&&Pd(I,d[ri].data[Te+8]===ct)&&Io(Q,Te,d)?(he=Nt,Te=ac(Be),d=qu(Be,d)):Te=-1}}return L}function gh(l,d,F,I,L,Q){const he=d[ri],Te=he.data[l+8],Nt=nd(Te,he,F,null==I?Gn(Te)&&td:I!=he&&!!(3&Te.type),L&ji.Host&&Q===Te);return null!==Nt?xu(d,he,Nt,Te):bl}function nd(l,d,F,I,L){const Q=l.providerIndexes,he=d.data,Te=1048575&Q,Be=l.directiveStart,Nt=Q>>20,wn=L?Te+Nt:l.directiveEnd;for(let Qn=I?Te:Te+Nt;Qn<wn;Qn++){const gr=he[Qn];if(Qn<Be&&F===gr||Qn>=Be&&gr.type===F)return Qn}if(L){const Qn=he[Be];if(Qn&&wr(Qn)&&Qn.type===F)return Be}return null}function xu(l,d,F,I){let L=l[F];const Q=d.data;if(function Mp(l){return l instanceof Zc}(L)){const he=L;he.resolving&&function io(l,d){throw d&&d.join(" > "),new rt(-200,l)}(function li(l){return"function"==typeof l?l.name||l.toString():"object"==typeof l&&null!=l&&"function"==typeof l.type?l.type.name||l.type.toString():Ar(l)}(Q[F]));const Te=lc(he.canSeeViewProviders);he.resolving=!0;const ct=he.injectImpl?So(he.injectImpl):null;Qo(l,I,ji.Default);try{L=l[F]=he.factory(void 0,Q,l,I),d.firstCreatePass&&F>=I.directiveStart&&function Z0(l,d,F){const{ngOnChanges:I,ngOnInit:L,ngDoCheck:Q}=d.type.prototype;if(I){var he,Te;const Yt=Rs(d);(null!==(he=F.preOrderHooks)&&void 0!==he?he:F.preOrderHooks=[]).push(l,Yt),(null!==(Te=F.preOrderCheckHooks)&&void 0!==Te?Te:F.preOrderCheckHooks=[]).push(l,Yt)}var Be,ct,Nt;L&&(null!==(Be=F.preOrderHooks)&&void 0!==Be?Be:F.preOrderHooks=[]).push(0-l,L),Q&&((null!==(ct=F.preOrderHooks)&&void 0!==ct?ct:F.preOrderHooks=[]).push(l,Q),(null!==(Nt=F.preOrderCheckHooks)&&void 0!==Nt?Nt:F.preOrderCheckHooks=[]).push(l,Q))}(F,Q[F],d)}finally{null!==ct&&So(ct),lc(Te),he.resolving=!1,Ku()}}return L}function Io(l,d,F){return!!(F[d+(l>>kd)]&1<<l)}function Pd(l,d){return!(l&ji.Self||l&ji.Host&&d)}class dl{constructor(d,F){this._tNode=d,this._lView=F}get(d,F,I){return Pu(this._tNode,this._lView,d,Pn(I),F)}}function vh(){return new dl(ls(),zr())}function yh(l){return An(()=>{const d=l.prototype.constructor,F=d[Er]||ml(d),I=Object.prototype;let L=Object.getPrototypeOf(l.prototype).constructor;for(;L&&L!==I;){const Q=L[Er]||ml(L);if(Q&&Q!==F)return Q;L=Object.getPrototypeOf(L)}return Q=>new Q})}function ml(l){return zt(l)?()=>{const d=ml(Rt(l));return d&&d()}:yo(l)}function Gp(l){const d=l[ri],F=d.type;return 2===F?d.declTNode:1===F?l[Ro]:null}function xd(l){return function Up(l,d){if("class"===d)return l.classes;if("style"===d)return l.styles;const F=l.attrs;if(F){const I=F.length;let L=0;for(;L<I;){const Q=F[L];if(Ct(Q))break;if(0===Q)L+=2;else if("number"==typeof Q)for(L++;L<I&&"string"==typeof F[L];)L++;else{if(Q===d)return F[L+1];L+=2}}}return null}(ls(),l)}function Fh(l,d=null,F=null,I){const L=Kp(l,d,F,I);
1return L.resolveInjectorInitializers(),L}function Kp(l,d=null,F=null,I,L=new Set){const Q=[F||Ji,Nn(l)];return I=I||("object"==typeof l?void 0:_r(l)),new kt(Q,d||Ue(),I||null,L)}let nu=(()=>{var l;class d{static create(I,L){if(Array.isArray(I))return Fh({name:""},L,I,"");{var Q;const he=null!==(Q=I.name)&&void 0!==Q?Q:"";return Fh({name:he},I.parent,I.providers,he)}}}return(l=d).THROW_IF_NOT_FOUND=ds,l.NULL=new xa,l.\u0275prov=Di({token:l,providedIn:"any",factory:()=>vt(el)}),l.__NG_ELEMENT_ID__=-1,d})();function Dc(l){return l.ngOriginalError}class Kl{constructor(){this._console=console}handleError(d){const F=this._findOriginalError(d);this._console.error("ERROR",d),F&&this._console.error("ORIGINAL ERROR",F)}_findOriginalError(d){let F=d&&Dc(d);for(;F&&Dc(F);)F=Dc(F);return F||null}}const id=new wt("",{providedIn:"root",factory:()=>cn(Kl).handleError.bind(void 0)});let dc=(()=>{var l;class d{}return(l=d).__NG_ELEMENT_ID__=Ic,l.__NG_ENV_ID__=F=>F,d})();class od extends dc{constructor(d){super(),this._lView=d}onDestroy(d){return Nu(this._lView,d),()=>function tu(l,d){if(null===l[le])return;const F=l[le].indexOf(d);-1!==F&&l[le].splice(F,1)}(this._lView,d)}}function Ic(){return new od(zr())}function ug(){return Rc(ls(),zr())}function Rc(l,d){return new Ld(gs(l,d))}let Ld=(()=>{class d{constructor(I){this.nativeElement=I}}return d.__NG_ELEMENT_ID__=ug,d})();function wh(l){return l instanceof Ld?l.nativeElement:l}function Th(l){return d=>{setTimeout(l,void 0,d)}}const Mu=class ad extends It.B{constructor(d=!1){var F;super(),this.destroyRef=void 0,this.__isAsync=d,Ti()&&(this.destroyRef=null!==(F=cn(dc,{optional:!0}))&&void 0!==F?F:void 0)}emit(d){const F=s(null);try{super.next(d)}finally{s(F)}}subscribe(d,F,I){let L=d,Q=F||(()=>null),he=I;if(d&&"object"==typeof d){var Te,Be,ct;const Yt=d;L=null===(Te=Yt.next)||void 0===Te?void 0:Te.bind(Yt),Q=null===(Be=Yt.error)||void 0===Be?void 0:Be.bind(Yt),he=null===(ct=Yt.complete)||void 0===ct?void 0:ct.bind(Yt)}this.__isAsync&&(Q=Th(Q),L&&(L=Th(L)),he&&(he=Th(he)));const Nt=super.subscribe({next:L,error:Q,complete:he});return d instanceof qt.yU&&d.add(Nt),Nt}};function cg(){return this._results[Symbol.iterator]()}class Ah{get changes(){var d;return null!==(d=this._changes)&&void 0!==d?d:this._changes=new Mu}constructor(d=!1){this._emitDistinctChangesOnly=d,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const F=Ah.prototype;F[Symbol.iterator]||(F[Symbol.iterator]=cg)}get(d){return this._results[d]}map(d){return this._results.map(d)}filter(d){return this._results.filter(d)}find(d){return this._results.find(d)}reduce(d,F){return this._results.reduce(d,F)}forEach(d){this._results.forEach(d)}some(d){return this._results.some(d)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(d,F){this.dirty=!1;const I=function xi(l){return l.flat(Number.POSITIVE_INFINITY)}(d);(this._changesDetected=!function Jo(l,d,F){if(l.length!==d.length)return!1;for(let I=0;I<l.length;I++){let L=l[I],Q=d[I];if(F&&(L=F(L),Q=F(Q)),Q!==L)return!1}return!0}(this._results,I,F))&&(this._results=I,this.length=I.length,this.last=I[this.length-1],this.first=I[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(d){this._onDirty=d}setDirty(){var d;this.dirty=!0,null===(d=this._onDirty)||void 0===d||d.call(this)}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function jd(l){return!(128&~l.flags)}const ld=new Map;let ud=0;const Ih="__ngContext__";function fa(l,d){Rn(d)?(l[Ih]=d[da],function fg(l){ld.set(l[da],l)}(d)):l[Ih]=d}function Gd(l){return om(l[ul])}function im(l){return om(l[na])}function om(l){for(;null!==l&&!_n(l);)l=l[na];return l}let Oh;function hc(l){Oh=l}function pc(){if(void 0!==Oh)return Oh;if(typeof document<"u")return document;throw new rt(210,!1)}const Ph=new wt("",{providedIn:"root",factory:()=>c1}),c1="ng",Wd=new wt(""),Kd=new wt("",{providedIn:"platform",factory:()=>"unknown"}),wf=new wt(""),yg=new wt("",{providedIn:"root",factory:()=>{var l;return(null===(l=pc().body)||void 0===l||null===(l=l.querySelector("[ngCspNonce]"))||void 0===l?void 0:l.getAttribute("ngCspNonce"))||null}});let md=()=>null;function hm(l,d,F=!1){return md(l,d,F)}const Vh=new wt("",{providedIn:"root",factory:()=>!1});let Qu,Zu;function Jd(l){var d;return(null===(d=function Qd(){if(void 0===Qu&&(Qu=null,tr.trustedTypes))try{Qu=tr.trustedTypes.createPolicy("angular",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch{}return Qu}())||void 0===d?void 0:d.createHTML(l))||l}function _m(){if(void 0===Zu&&(Zu=null,tr.trustedTypes))try{Zu=tr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch{}return Zu}function bm(l){var d;return(null===(d=_m())||void 0===d?void 0:d.createHTML(l))||l}function Cm(l){var d;return(null===(d=_m())||void 0===d?void 0:d.createScriptURL(l))||l}class Nc{constructor(d){this.changingThisBreaksApplicationSecurity=d}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ft})`}}class p1 extends Nc{getTypeName(){return"HTML"}}class m1 extends Nc{getTypeName(){return"Style"}}
vendor: 4,100 bytes, line 1
1class g1 extends Nc{getTypeName(){return"Script"}}class Ig extends Nc{getTypeName(){return"URL"}}class Fm extends Nc{getTypeName(){return"ResourceURL"}}function Xs(l){return l instanceof Nc?l.changingThisBreaksApplicationSecurity:l}function yd(l,d){const F=function v1(l){return l instanceof Nc&&l.getTypeName()||null}(l);if(null!=F&&F!==d){if("ResourceURL"===F&&"URL"===d)return!0;throw new Error(`Required a safe ${d}, got a ${F} (see ${Ft})`)}return F===d}function ec(l){return new p1(l)}function ns(l){return new m1(l)}function Sm(l){return new g1(l)}function Xl(l){return new Ig(l)}function al(l){return new Fm(l)}class ru{constructor(d){this.inertDocumentHelper=d}getInertBodyElement(d){d="<body><remove></remove>"+d;try{const F=(new window.DOMParser).parseFromString(Jd(d),"text/html").body;return null===F?this.inertDocumentHelper.getInertBodyElement(d):(F.removeChild(F.firstChild),F)}catch{return null}}}class wm{constructor(d){this.defaultDoc=d,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(d){const F=this.inertDocument.createElement("template");return F.innerHTML=Jd(d),F}}const kg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Nf(l){return(l=String(l)).match(kg)?l:"unsafe:"+l}function Yl(l){const d={};for(const F of l.split(","))d[F]=!0;return d}function mc(...l){const d={};for(const F of l)for(const I in F)F.hasOwnProperty(I)&&(d[I]=!0);return d}const gc=Yl("area,br,col,hr,img,wbr"),vu=Yl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Of=Yl("rp,rt"),Oc=mc(gc,mc(vu,Yl("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")),mc(Of,Yl("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")),mc(Of,vu)),Am=Yl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Dm=mc(Am,Yl("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"),Yl("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")),Ng=Yl("script,style,template");class Og{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(d){let F=d.firstChild,I=!0,L=[];for(;F;)if(F.nodeType===Node.ELEMENT_NODE?I=this.startElement(F):F.nodeType===Node.TEXT_NODE?this.chars(F.nodeValue):this.sanitizedSomething=!0,I&&F.firstChild)L.push(F),F=Pf(F);else for(;F;){F.nodeType===Node.ELEMENT_NODE&&this.endElement(F);let Q=Zd(F);if(Q){F=Q;break}F=L.pop()}return this.buf.join("")}startElement(d){const F=xf(d).toLowerCase();if(!Oc.hasOwnProperty(F))return this.sanitizedSomething=!0,!Ng.hasOwnProperty(F);this.buf.push("<"),this.buf.push(F);const I=d.attributes;for(let L=0;L<I.length;L++){const Q=I.item(L),he=Q.name,Te=he.toLowerCase();if(!Dm.hasOwnProperty(Te)){this.sanitizedSomething=!0;continue}let Be=Q.value;Am[Te]&&(Be=Nf(Be)),this.buf.push(" ",he,'="',Pc(Be),'"')}return this.buf.push(">"),!0}
1endElement(d){const F=xf(d).toLowerCase();Oc.hasOwnProperty(F)&&!gc.hasOwnProperty(F)&&(this.buf.push("</"),this.buf.push(F),this.buf.push(">"))}chars(d){this.buf.push(Pc(d))}}function Zd(l){const d=l.nextSibling;if(d&&l!==d.previousSibling)throw Im(d);return d}function Pf(l){const d=l.firstChild;if(d&&function Pg(l,d){return(l.compareDocumentPosition(d)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(l,d))throw Im(d);return d}function xf(l){const d=l.nodeName;return"string"==typeof d?d:"FORM"}function Im(l){return new Error(`Failed to sanitize html because the element is clobbered: ${l.outerHTML}`)}const Mf=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ql=/([^\#-~ |!])/g;function Pc(l){return l.replace(/&/g,"&").replace(Mf,function(d){return"&#"+(1024*(d.charCodeAt(0)-55296)+(d.charCodeAt(1)-56320)+65536)+";"}).replace(Ql,function(d){return"&#"+d.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let iu;function Rm(l,d){let F=null;try{iu=iu||function Rg(l){const d=new wm(l);return function Ul(){try{return!!(new window.DOMParser).parseFromString(Jd(""),"text/html")}catch{return!1}}()?new ru(d):d}(l);let I=d?String(d):"";F=iu.getInertBodyElement(I);let L=5,Q=I;do{if(0===L)throw new Error("Failed to sanitize html because the input is unstable");L--,I=Q,Q=F.innerHTML,F=iu.getInertBodyElement(I)}while(I!==Q);return Jd((new Og).sanitizeChildren($h(F)||F))}finally{if(F){const I=$h(F)||F;for(;I.firstChild;)I.removeChild(I.firstChild)}}}function $h(l){return"content"in l&&function xg(l){return l.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===l.nodeName}(l)?l.content:null}var xc=function(l){return l[l.NONE=0]="NONE",l[l.HTML=1]="HTML",l[l.STYLE=2]="STYLE",l[l.SCRIPT=3]="SCRIPT",l[l.URL=4]="URL",l[l.RESOURCE_URL=5]="RESOURCE_URL",l}(xc||{});function Wh(l){const d=vc();return d?bm(d.sanitize(xc.HTML,l)||""):yd(l,"HTML")?bm(Xs(l)):Rm(pc(),Ar(l))}function ss(l){const d=vc();return d?d.sanitize(xc.URL,l)||"":yd(l,"URL")?Xs(l):Nf(Ar(l))}function Lf(l){const d=vc();if(d)return Cm(d.sanitize(xc.RESOURCE_URL,l)||"");if(yd(l,"ResourceURL"))return Cm(Xs(l));throw new rt(904,!1)}function Om(l,d,F){return function Ys(l,d){return"src"===d&&("embed"===l||"frame"===l||"iframe"===l||"media"===l||"script"===l)||"href"===d&&("base"===l||"link"===l)?Lf:ss}(d,F)(l)}function vc(){const l=zr();return l&&l[za].sanitizer}const _1=/^>|^->|<!--|-->|--!>|<!-$/g,xm=/(<|>)/g,Mg="\u200b$1\u200b";function ef(l){return l.ownerDocument}function jf(l){return l.ownerDocument.body}function ou(l){return l instanceof Function?l():l}var Yh=function(l){return l[l.Important=1]="Important",l[l.DashCase=2]="DashCase",l}(Yh||{});let Qh;function Hm(l,d){return Qh(l,d)}function yc(l,d,F,I,L){if(null!=I){let Q,he=!1;_n(I)?Q=I:Rn(I)&&(he=!0,I=I[bo]);const Te=zi(I);0===l&&null!==F?null==L?Ed(d,F,Te):tc(d,F,Te,L||null,!0):1===l&&null!==F?tc(d,F,Te,L||null,!0):2===l?function su(l,d,F){const I=sf(l,d);I&&function qg(l,d,F,I){l.removeChild(d,F,I)}(l,I,d,F)}(d,Te,he):3===l&&d.destroyNode(Te),null!=Q&&function Yg(l,d,F,I,L){const Q=F[Ve];Q!==zi(F)&&yc(d,l,I,Q,L);for(let Te=Xt;Te<F.length;Te++){const Be=F[Te];Bc(Be[ri],Be,l,d,I,Q)}}(d,l,Q,F,L)}}function Uf(l,d){return l.createComment(function Mm(l){return l.replace(_1,d=>d.replace(xm,Mg))}(d))}function rf(l,d,F){return l.createElement(d,F)}function Zh(l,d){var F;null===(F=d[za].changeDetectionScheduler)||void 0===F||F.notify(1),Bc(l,d,d[ho],2,null,null)}function Kg(l,d){const F=l[Tt],I=F.indexOf(d);F.splice(I,1)}function Hf(l,d){if(l.length<=Xt)return;const F=Xt+d,I=l[F];if(I){const L=I[_u];null!==L&&L!==l&&Kg(L,I),d>0&&(l[F-1][na]=I[na]);const Q=As(l,Xt+d);!function Jh(l,d){Zh(l,d),d[bo]=null,d[Ro]=null}(I[ri],I);const he=Q[pl];null!==he&&he.detachView(Q[ri]),I[Ds]=null,I[na]=null,I[Vi]&=-129}return I}function Vf(l,d){if(!(256&d[Vi])){const F=d[ho];F.destroyNode&&Bc(l,d,F,3,null,null),function $g(l){let d=l[ul];if(!d)return $m(l[ri],l);for(;d;){let F=null;if(Rn(d))F=d[ul];else{const I=d[Xt];I&&(F=I)}if(!F){for(;d&&!d[na]&&d!==l;)Rn(d)&&$m(d[ri],d),d=d[Ds];null===d&&(d=l),Rn(d)&&$m(d[ri],d),F=d&&d[na]}d=F}}(d)}}function $m(l,d){if(256&d[Vi])return;const F=s(null);try{d[Vi]&=-129,d[Vi]|=256,d[ie]&&function z(l){if(Z(l),q(l))for(let d=0;d<l.producerNode.length;d++)x(l.producerNode[d],l.producerIndexOfThis[d]);l.producerNode.length=l.producerLastReadVersion.length=l.producerIndexOfThis.length=0,l.liveConsumerNode&&(l.liveConsumerNode.length=l.liveConsumerIndexOfThis.length=0)}(d[ie]),function w1(l,d){let F;if(null!=l&&null!=(F=l.destroyHooks))for(let I=0;I<F.length;I+=2){const L=d[F[I]];if(!(L instanceof Zc)){const Q=F[I+1];if(Array.isArray(Q))for(let he=0;he<Q.length;he+=2){const Te=L[Q[he]],Be=Q[he+1];Ra(4,Te,Be);try{Be.call(Te)}finally{Ra(5,Te,Be)}}else{Ra(4,L,Q);try{Q.call(L)}finally{Ra(5,L,Q)}}}}}(l,d),function tp(l,d){const F=l.cleanup,I=d[ll];if(null!==F)for(let Q=0;Q<F.length-1;Q+=2)if("string"==typeof F[Q]){const he=F[Q+3];he>=0?I[he]():I[-he].unsubscribe(),Q+=2}else F[Q].call(I[F[Q+1]]);null!==I&&(d[ll]=null);const L=d[le];if(null!==L){d[le]=null;for(let Q=0;Q<L.length;Q++)(0,L[Q])()}}(l,d),1===d[ri].type&&d[ho].destroy();const I=d[_u];if(null!==I&&_n(d[Ds])){I!==d[Ds]&&Kg(I,d);const L=d[pl];null!==L&&L.detachView(l)}!function Qp(l){ld.delete(l[da])}(d)}finally{s(F)}}function Wm(l,d,F){return function Gf(l,d,F){let I=d;for(;null!==I&&40&I.type;)I=(d=I).parent;if(null===I)return F[bo];
vendor: 4,297 bytes, line 1
1{const{componentOffset:L}=I;if(L>-1){const{encapsulation:Q}=l.data[I.directiveStart+L];if(Q===sa.None||Q===sa.Emulated)return null}return gs(I,F)}}(l,d.parent,F)}function tc(l,d,F,I,L){l.insertBefore(d,F,I,L)}function Ed(l,d,F){l.appendChild(d,F)}function np(l,d,F,I,L){null!==I?tc(l,d,F,I,L):Ed(l,d,F)}function sf(l,d){return l.parentNode(d)}function qm(l,d,F){return Xm(l,d,F)}let Cd,Xm=function rp(l,d,F){return 40&l.type?gs(l,F):null};function zf(l,d,F,I){const L=Wm(l,I,d),Q=d[ho],Te=qm(I.parent||d[Ro],I,d);if(null!=L)if(Array.isArray(F))for(let Be=0;Be<F.length;Be++)np(Q,L,F[Be],Te,!1);else np(Q,L,F,Te,!1);void 0!==Cd&&Cd(Q,I,d,F,L)}function $f(l,d){if(null!==d){const F=d.type;if(3&F)return gs(d,l);if(4&F)return op(-1,l[d.index]);if(8&F){const I=d.child;if(null!==I)return $f(l,I);{const L=l[d.index];return _n(L)?op(-1,L):zi(L)}}if(32&F)return Hm(d,l)()||zi(l[d.index]);{const I=Wf(l,d);return null!==I?Array.isArray(I)?I[0]:$f(Ou(l[Cs]),I):$f(l,d.next)}}return null}function Wf(l,d){return null!==d?l[Cs][Ro].projection[d.projection]:null}function op(l,d){const F=Xt+l+1;if(F<d.length){const I=d[F],L=I[ri].firstChild;if(null!==L)return $f(I,L)}return d[Ve]}function Pl(l,d,F,I,L,Q,he){for(;null!=F;){const Te=I[F.index],Be=F.type;if(he&&0===d&&(Te&&fa(zi(Te),I),F.flags|=2),32&~F.flags)if(8&Be)Pl(l,d,F.child,I,L,Q,!1),yc(d,l,L,Te,Q);else if(32&Be){const ct=Hm(F,I);let Nt;for(;Nt=ct();)yc(d,l,L,Nt,Q);yc(d,l,L,Te,Q)}else 16&Be?Qm(l,d,I,F,L,Q):yc(d,l,L,Te,Q);F=he?F.projectionNext:F.next}}function Bc(l,d,F,I,L,Q){Pl(F,I,l.firstChild,d,L,Q,!1)}function Qm(l,d,F,I,L,Q){const he=F[Cs],Be=he[Ro].projection[I.projection];if(Array.isArray(Be))for(let ct=0;ct<Be.length;ct++)yc(d,l,L,Be[ct],Q);else{let ct=Be;const Nt=he[Ds];jd(I)&&(ct.flags|=128),Pl(l,d,ct,Nt,L,Q,!0)}}function ap(l,d,F){""===F?l.removeAttribute(d,"class"):l.setAttribute(d,"class",F)}function lp(l,d,F){const{mergedAttrs:I,classes:L,styles:Q}=F;null!==I&&qa(l,d,I),null!==L&&ap(l,d,L),null!==Q&&function sp(l,d,F){l.setAttribute(d,"style",F)}(l,d,Q)}const rs={};function up(l=1){Jg(vs(),zr(),Na()+l,!1)}function Jg(l,d,F,I){if(!I)if(3&~d[Vi]){const Q=l.preOrderHooks;null!==Q&&_l(d,Q,0,F)}else{const Q=l.preOrderCheckHooks;null!==Q&&Rd(d,Q,F)}sc(F)}function af(l,d=ji.Default){const F=zr();return null===F?vt(l,d):Pu(ls(),F,Rt(l),d)}function Jm(){throw new Error("invalid")}function Zg(l,d,F,I,L,Q){const he=s(null);try{let Te=null;L&Ls.SignalBased&&(Te=d[I][T]),null!==Te&&void 0!==Te.transformFn&&(Q=Te.transformFn(Q)),L&Ls.HasDecoratorInputTransform&&(Q=l.inputTransforms[I].call(d,Q)),null!==l.setInput?l.setInput(d,Te,Q,F,I):Lo(d,Te,I,Q)}finally{s(he)}}function Kf(l,d,F,I,L,Q,he,Te,Be,ct,Nt){const Yt=d.blueprint.slice();return Yt[bo]=L,Yt[Vi]=204|I,(null!==ct||l&&2048&l[Vi])&&(Yt[Vi]|=2048),$u(Yt),Yt[Ds]=Yt[hu]=l,Yt[Is]=F,Yt[za]=he||l&&l[za],Yt[ho]=Te||l&&l[ho],Yt[Ws]=Be||l&&l[Ws]||null,Yt[Ro]=Q,Yt[da]=function Dh(){return ud++}(),Yt[Bs]=Nt,Yt[Gu]=ct,Yt[Cs]=2==d.type?l[Cs]:Yt,Yt}function nc(l,d,F,I,L){let Q=l.data[d];if(null===Q)Q=function lf(l,d,F,I,L){const Q=Tc(),he=Xc(),Be=l.data[d]=function ov(l,d,F,I,L,Q){let he=d?d.injectorIndex:-1,Te=0;return pu()&&(Te|=128),{type:F,index:I,insertBeforeIndex:null,injectorIndex:he,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:Te,providerIndexes:0,value:L,attrs:Q,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:d,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,he?Q:Q&&Q.parent,F,d,I,L);return null===l.firstChild&&(l.firstChild=Be),null!==Q&&(he?null==Q.child&&null!==Be.parent&&(Q.child=Be):null===Q.next&&(Q.next=Be,Be.prev=Q)),Be}(l,d,F,I,L),function Ur(){return eo.lFrame.inI18n}()&&(Q.flags|=32);else if(64&Q.type){Q.type=F,Q.value=I,Q.attrs=L;const he=function qc(){const l=eo.lFrame,d=l.currentTNode;return l.isParent?d:d.parent}();Q.injectorIndex=null===he?-1:he.injectorIndex}return yl(Q,!0),Q}function uf(l,d,F,I){if(0===F)return-1;const L=d.length;for(let Q=0;Q<F;Q++)d.push(I),l.blueprint.push(I),l.data.push(null);return L}function ev(l,d,F,I,L){const Q=Na(),he=2&I;
1try{sc(-1),he&&d.length>se&&Jg(l,d,se,!1),Ra(he?2:0,L),F(I,L)}finally{sc(Q),Ra(he?3:1,L)}}function cp(l,d,F){if(cr(d)){const I=s(null);try{const Q=d.directiveEnd;for(let he=d.directiveStart;he<Q;he++){const Te=l.data[he];Te.contentQueries&&Te.contentQueries(1,F[he],he)}}finally{s(I)}}}function dp(l,d,F){qs()&&(function Hn(l,d,F,I){const L=F.directiveStart,Q=F.directiveEnd;Gn(F)&&function ys(l,d,F){const I=gs(d,l),L=hp(F);let he=16;F.signals?he=4096:F.onPush&&(he=64);const Te=Oa(l,Kf(l,L,null,he,I,d,null,l[za].rendererFactory.createRenderer(I,F),null,null,null));l[d.index]=Te}(d,F,l.data[L+F.componentOffset]),l.firstCreatePass||Nd(F,d),fa(I,d);const he=F.initialInputs;for(let Te=L;Te<Q;Te++){const Be=l.data[Te],ct=xu(d,l,Te,F);fa(ct,d),null!==he&&Ms(0,Te-L,ct,Be,0,he),wr(Be)&&(Ks(F.index,d)[Is]=xu(d,l,Te,F))}}(l,d,F,gs(F,d)),!(64&~F.flags)&&er(l,d,F))}function fp(l,d,F=gs){const I=d.localNames;if(null!==I){let L=d.index+1;for(let Q=0;Q<I.length;Q+=2){const he=I[Q+1],Te=-1===he?F(d,l):l[he];l[L++]=Te}}}function hp(l){const d=l.tView;return null===d||d.incompleteFirstPass?l.tView=qf(1,null,l.template,l.decls,l.vars,l.directiveDefs,l.pipeDefs,l.viewQuery,l.schemas,l.consts,l.id):d}function qf(l,d,F,I,L,Q,he,Te,Be,ct,Nt){const Yt=se+I,wn=Yt+L,Qn=function D1(l,d){const F=[];for(let I=0;I<d;I++)F.push(I<l?null:rs);return F}(Yt,wn),gr="function"==typeof ct?ct():ct;return Qn[ri]={type:l,blueprint:Qn,template:F,queries:null,viewQuery:Te,declTNode:d,data:Qn.slice().fill(null,Yt),bindingStartIndex:Yt,expandoStartIndex:wn,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 Q?Q():Q,pipeRegistry:"function"==typeof he?he():he,firstChild:null,schemas:Be,consts:gr,incompleteFirstPass:!1,ssrId:Nt}}let e0=()=>null;function t0(l,d,F,I,L){for(let he in d){var Q;if(!d.hasOwnProperty(he))continue;const Te=d[he];if(void 0===Te)continue;null!==(Q=I)&&void 0!==Q||(I={});let Be,ct=Ls.None;Array.isArray(Te)?(Be=Te[0],ct=Te[1]):Be=Te;let Nt=he;if(null!==L){if(!L.hasOwnProperty(he))continue;Nt=L[he]}0===l?n0(I,F,Nt,Be,ct):n0(I,F,Nt,Be)}return I}function n0(l,d,F,I,L){let Q;l.hasOwnProperty(F)?(Q=l[F]).push(d,I):Q=l[F]=[d,I],void 0!==L&&Q.push(L)}function au(l,d,F,I,L,Q,he,Te){const Be=gs(d,F);let Nt,ct=d.inputs;!Te&&null!=ct&&(Nt=ct[I])?(du(l,F,Nt,I,L),Gn(d)&&function lv(l,d){const F=Ks(d,l);16&F[Vi]||(F[Vi]|=64)}(F,d.index)):3&d.type&&(I=function av(l){return"class"===l?"className":"for"===l?"htmlFor":"formaction"===l?"formAction":"innerHtml"===l?"innerHTML":"readonly"===l?"readOnly":"tabindex"===l?"tabIndex":l}(I),L=null!=he?he(L,d.value||"",I):L,Q.setProperty(Be,I,L))}function ke(l,d,F,I){if(qs()){const L=null===I?null:{"":-1},Q=function si(l,d){const F=l.directiveRegistry;let I=null,L=null;if(F)for(let he=0;he<F.length;he++){const Te=F[he];if(Js(d,Te.selectors,!1))if(I||(I=[]),wr(Te))if(null!==Te.findHostDirectiveDefs){const Be=[];L=L||new Map,Te.findHostDirectiveDefs(Te,Be,L),I.unshift(...Be,Te),ii(l,d,Be.length)}else I.unshift(Te),ii(l,d,0);else{var Q;L=L||new Map,null===(Q=Te.findHostDirectiveDefs)||void 0===Q||Q.call(Te,Te,I,L),I.push(Te)}}return null===I?null:[I,L]}(l,F);let he,Te;null===Q?he=Te=null:[he,Te]=Q,null!==he&&dt(l,d,F,he,L,Te),L&&function hi(l,d,F){if(d){const I=l.localNames=[];for(let L=0;L<d.length;L+=2){const Q=F[d[L+1]];if(null==Q)throw new rt(-301,!1);I.push(d[L],Q)}}}(F,I,L)}F.mergedAttrs=Zt(F.mergedAttrs,F.attrs)}function dt(l,d,F,I,L,Q){for(let Yt=0;Yt<I.length;Yt++)uc(Nd(F,d),l,I[Yt].type);!function mo(l,d,F){l.flags|=1,l.directiveStart=d,l.directiveEnd=d+F,l.providerIndexes=d}(F,l.data.length,I.length);for(let Yt=0;Yt<I.length;Yt++){const wn=I[Yt];wn.providersResolver&&wn.providersResolver(wn)}let he=!1,Te=!1,Be=uf(l,d,I.length,null);for(let Yt=0;Yt<I.length;Yt++){const wn=I[Yt];F.mergedAttrs=Zt(F.mergedAttrs,wn.hostAttrs),Po(l,F,d,Be,wn),Hi(Be,wn,L),null!==wn.contentQueries&&(F.flags|=4),(null!==wn.hostBindings||null!==wn.hostAttrs||0!==wn.hostVars)&&(F.flags|=64);const Qn=wn.type.prototype;var ct,Nt;!he&&(Qn.ngOnChanges||Qn.ngOnInit||Qn.ngDoCheck)&&((null!==(ct=l.preOrderHooks)&&void 0!==ct?ct:l.preOrderHooks=[]).push(F.index),he=!0),Te||!Qn.ngOnChanges&&!Qn.ngDoCheck||((null!==(Nt=l.preOrderCheckHooks)&&void 0!==Nt?Nt:l.preOrderCheckHooks=[]).push(F.index),Te=!0),Be++}!function sv(l,d,F){const L=d.directiveEnd,Q=l.data,he=d.attrs,Te=[];let Be=null,ct=null;for(let Nt=d.directiveStart;Nt<L;Nt++){const Yt=Q[Nt],wn=F?F.get(Yt):null,gr=wn?wn.outputs:null;
1Be=t0(0,Yt.inputs,Nt,Be,wn?wn.inputs:null),ct=t0(1,Yt.outputs,Nt,ct,gr);const Vr=null===Be||null===he||wi(d)?null:lu(Be,Nt,he);Te.push(Vr)}null!==Be&&(Be.hasOwnProperty("class")&&(d.flags|=8),Be.hasOwnProperty("style")&&(d.flags|=16)),d.initialInputs=Te,d.inputs=Be,d.outputs=ct}(l,F,Q)}function er(l,d,F){const I=F.directiveStart,L=F.directiveEnd,Q=F.index,he=function qi(){return eo.lFrame.currentDirectiveIndex}();try{sc(Q);for(let Te=I;Te<L;Te++){const Be=l.data[Te],ct=d[Te];oo(Te),(null!==Be.hostBindings||0!==Be.hostVars||null!==Be.hostAttrs)&&yr(Be,ct)}}finally{sc(-1),oo(he)}}function yr(l,d){null!==l.hostBindings&&l.hostBindings(1,d)}function ii(l,d,F){var I;d.componentOffset=F,(null!==(I=l.components)&&void 0!==I?I:l.components=[]).push(d.index)}function Hi(l,d,F){if(F){if(d.exportAs)for(let I=0;I<d.exportAs.length;I++)F[d.exportAs[I]]=l;wr(d)&&(F[""]=l)}}function Po(l,d,F,I,L){l.data[I]=L;const Q=L.factory||(L.factory=yo(L.type)),he=new Zc(Q,wr(L),af);l.blueprint[I]=he,F[I]=he,function Gt(l,d,F,I,L){const Q=L.hostBindings;if(Q){let he=l.hostBindingOpCodes;null===he&&(he=l.hostBindingOpCodes=[]);const Te=~d.index;(function pn(l){let d=l.length;for(;d>0;){const F=l[--d];if("number"==typeof F&&F<0)return F}return 0})(he)!=Te&&he.push(Te),he.push(F,I,Q)}}(l,d,I,uf(l,F,L.hostVars,rs),L)}function go(l,d,F,I,L,Q){const he=gs(l,d);!function Ss(l,d,F,I,L,Q,he){if(null==Q)l.removeAttribute(d,L,F);else{const Te=null==he?Ar(Q):he(Q,I||"",L);l.setAttribute(d,L,Te,F)}}(d[ho],he,Q,l.value,F,I,L)}function Ms(l,d,F,I,L,Q){const he=Q[d];if(null!==he)for(let Te=0;Te<he.length;)Zg(I,F,he[Te++],he[Te++],he[Te++],he[Te++])}function lu(l,d,F){let I=null,L=0;for(;L<F.length;){const Q=F[L];if(0!==Q)if(5!==Q){if("number"==typeof Q)break;if(l.hasOwnProperty(Q)){null===I&&(I=[]);const he=l[Q];for(let Te=0;Te<he.length;Te+=3)if(he[Te]===d){I.push(Q,he[Te+1],he[Te+2],F[L+1]);break}}L+=2}else L+=2;else L+=4}return I}function xl(l,d,F,I){return[l,!0,0,d,null,I,null,F,null,null]}function uu(l,d){const F=l.contentQueries;if(null!==F){const I=s(null);try{for(let L=0;L<F.length;L+=2){const he=F[L+1];if(-1!==he){const Te=l.data[he];Fo(F[L]),Te.contentQueries(2,d[he],he)}}}finally{s(I)}}}function Oa(l,d){return l[ul]?l[ic][na]=d:l[ul]=d,l[ic]=d,d}function cu(l,d,F){Fo(0);const I=s(null);try{d(l,F)}finally{s(I)}}function Xf(l){return l[ll]||(l[ll]=[])}function r0(l){return l.cleanup||(l.cleanup=[])}function Yf(l,d){const F=l[Ws],I=F?F.get(Kl,null):null;I&&I.handleError(d)}function du(l,d,F,I,L){for(let Q=0;Q<F.length;){const he=F[Q++],Te=F[Q++],Be=F[Q++];Zg(l.data[he],d[he],I,Te,Be,L)}}function _c(l,d,F){const I=ja(d,l);!function Gm(l,d,F){l.setValue(d,F)}(l[ho],I,F)}function $y(l,d){const F=Ks(d,l),I=F[ri];!function uv(l,d){for(let F=d.length;F<l.blueprint.length;F++)d.push(l.blueprint[F])}(I,F);const L=F[bo];null!==L&&null===F[Bs]&&(F[Bs]=hm(L,F[Ws])),cv(I,F,F[Is])}function cv(l,d,F){cl(d);try{var I;const L=l.viewQuery;null!==L&&cu(1,L,F);const Q=l.template;null!==Q&&ev(l,d,Q,1,F),l.firstCreatePass&&(l.firstCreatePass=!1),null===(I=d[pl])||void 0===I||I.finishViewCreation(l),l.staticContentQueries&&uu(l,d),l.staticViewQueries&&cu(2,l.viewQuery,F);const he=l.components;null!==he&&function cf(l,d){for(let F=0;F<d.length;F++)$y(l,d[F])}(d,he)}catch(L){throw l.firstCreatePass&&(l.incompleteFirstPass=!0,l.firstCreatePass=!1),L}finally{d[Vi]&=-5,Yc()}}function Qf(l,d,F,I){const L=s(null);try{var Q,he,Te;const Be=d.tView,Yt=Kf(l,Be,F,4096&l[Vi]?4096:16,null,d,null,null,null!==(Q=null==I?void 0:I.injector)&&void 0!==Q?Q:null,null!==(he=null==I?void 0:I.embeddedViewInjector)&&void 0!==he?he:null,null!==(Te=null==I?void 0:I.dehydratedView)&&void 0!==Te?Te:null);Yt[_u]=l[d.index];const Qn=l[pl];return null!==Qn&&(Yt[pl]=Qn.createEmbeddedView(Be)),cv(Be,Yt,F),Yt}finally{s(L)}}function pp(l,d){return!d||null===d.firstChild||jd(l)}function mp(l,d,F,I=!0){const L=d[ri];if(function Wg(l,d,F,I){const L=Xt+I,Q=F.length;I>0&&(F[L-1][na]=d),I<Q-Xt?(d[na]=F[L],Ts(F,Xt+I,d)):(F.push(d),d[na]=null),d[Ds]=F;const he=d[_u];null!==he&&F!==he&&function ep(l,d){const F=l[Tt];d[Cs]!==d[Ds][Ds][Cs]&&(l[Vi]|=dn.HasTransplantedViews),null===F?l[Tt]=[d]:F.push(d)}(he,d);const Te=d[pl];null!==Te&&Te.insertView(l),bu(d),d[Vi]|=128}(L,d,l,F),I){const he=op(F,l),Te=d[ho],Be=sf(Te,l[Ve]);null!==Be&&function zm(l,d,F,I,L,Q){I[bo]=L,I[Ro]=d,Bc(l,I,F,1,L,Q)}(L,l[Ro],Te,d,Be,he)}const Q=d[Bs];null!==Q&&null!==Q.firstChild&&(Q.firstChild=null)}function Jf(l,d,F,I,L=!1){for(;null!==F;){const Q=d[F.index];null!==Q&&I.push(zi(Q)),_n(Q)&&Wy(Q,I);const he=F.type;if(8&he)Jf(l,d,F.child,I);else if(32&he){const Te=Hm(F,d);let Be;for(;Be=Te();)I.push(Be)}else if(16&he){const Te=Wf(d,F);if(Array.isArray(Te))I.push(...Te);else{const Be=Ou(d[Cs]);Jf(Be[ri],Be,Te,I,!0)}}F=L?F.projectionNext:F.next}return I}function Wy(l,d){for(let F=Xt;F<l.length;F++){const I=l[F],L=I[ri].firstChild;null!==L&&Jf(I[ri],I,L,d)}l[Ve]!==l[bo]&&d.push(l[Ve])}let a0=[];const qy={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:l=>{Eu(l.lView)},consumerOnSignalRead(){this.lView[ie]=this}},fv=100;function u0(l,d=!0,F=0){const I=l[za],L=I.rendererFactory;var he;null===(he=L.begin)||void 0===he||he.call(L);try{!function hv(l,d){Zf(l,d);let F=0;for(;eu(l);){if(F===fv)throw new rt(103,!1);F++,Zf(l,1)}}(l,F)}catch(ct){throw d&&Yf(l,ct),ct}finally{var Te,Be;null===(Te=L.end)||void 0===Te||Te.call(L),null===(Be=I.inlineEffectRunner)||void 0===Be||Be.flush()}}function c0(l,d,F,I){var L;const Q=d[Vi];if(!(256&~Q))return;null===(L=d[za].inlineEffectRunner)||void 0===L||L.flush(),cl(d);let Te=null,Be=null;(function d0(l){return 2!==l.type})(l)&&(Be=function l0(l){var d;return null!==(d=l[ie])&&void 0!==d?d:function dv(l){var d;const F=null!==(d=a0.pop())&&void 0!==d?d:Object.create(qy);return F.lView=l,F}(l)}(d),Te=function O(l){return l&&(l.nextProducerIndex=0),s(l)}(Be));try{$u(d),function Vn(l){return eo.lFrame.bindingIndex=l}(l.bindingStartIndex),null!==F&&ev(l,d,F,2,I);const ct=!(3&~Q);if(ct){const wn=l.preOrderCheckHooks;null!==wn&&Rd(d,wn,null)}else{const wn=l.preOrderHooks;null!==wn&&_l(d,wn,0,null),mu(d,0)}
1if(function gv(l){for(let d=Gd(l);null!==d;d=im(d)){if(!(d[Vi]&dn.HasTransplantedViews))continue;const F=d[Tt];for(let I=0;I<F.length;I++){ku(F[I])}}}(d),mv(d,0),null!==l.contentQueries&&uu(l,d),ct){const wn=l.contentCheckHooks;null!==wn&&Rd(d,wn)}else{const wn=l.contentHooks;null!==wn&&_l(d,wn,1),mu(d,1)}!function A1(l,d){const F=l.hostBindingOpCodes;if(null!==F)try{for(let I=0;I<F.length;I++){const L=F[I];if(L<0)sc(~L);else{const Q=L,he=F[++I],Te=F[++I];Oi(he,Q),Te(2,d[Q])}}}finally{sc(-1)}}(l,d);const Nt=l.components;null!==Nt&&R1(d,Nt,0);const Yt=l.viewQuery;if(null!==Yt&&cu(2,Yt,I),ct){const wn=l.viewCheckHooks;null!==wn&&Rd(d,wn)}else{const wn=l.viewHooks;null!==wn&&_l(d,wn,2),mu(d,2)}if(!0===l.firstUpdatePass&&(l.firstUpdatePass=!1),d[pe]){for(const wn of d[pe])wn();d[pe]=null}d[Vi]&=-73}catch(ct){throw Eu(d),ct}finally{null!==Be&&(function V(l,d){if(s(d),l&&void 0!==l.producerNode&&void 0!==l.producerIndexOfThis&&void 0!==l.producerLastReadVersion){if(q(l))for(let F=l.nextProducerIndex;F<l.producerNode.length;F++)x(l.producerNode[F],l.producerIndexOfThis[F]);for(;l.producerNode.length>l.nextProducerIndex;)l.producerNode.pop(),l.producerLastReadVersion.pop(),l.producerIndexOfThis.pop()}}(Be,Te),function Ky(l){l.lView[ie]!==l&&(l.lView=null,a0.push(l))}(Be)),Yc()}}function mv(l,d){for(let F=Gd(l);null!==F;F=im(F))for(let I=Xt;I<F.length;I++)f0(F[I],d)}function jc(l,d,F){f0(Ks(d,l),F)}function f0(l,d){zu(l)&&Zf(l,d)}function Zf(l,d){const I=l[ri],L=l[Vi],Q=l[ie];let he=!!(0===d&&16&L);if(he||(he=!!(64&L&&0===d)),he||(he=!!(1024&L)),he||(he=!(null==Q||!Q.dirty||!K(Q))),Q&&(Q.dirty=!1),l[Vi]&=-9217,he)c0(I,l,I.template,l[Is]);else if(8192&L){mv(l,1);const Te=I.components;null!==Te&&R1(l,Te,1)}}function R1(l,d,F){for(let I=0;I<d.length;I++)jc(l,d[I],F)}function gp(l){var d;for(null===(d=l[za].changeDetectionScheduler)||void 0===d||d.notify();l;){l[Vi]|=64;const F=Ou(l);if(ti(l)&&!F)return l;l=F}return null}class eh{get rootNodes(){const d=this._lView,F=d[ri];return Jf(F,d,F.firstChild,[])}constructor(d,F,I=!0){this._lView=d,this._cdRefInjectingView=F,this.notifyErrorHandler=I,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Is]}set context(d){this._lView[Is]=d}get destroyed(){return!(256&~this._lView[Vi])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const d=this._lView[Ds];if(_n(d)){const F=d[8],I=F?F.indexOf(this):-1;I>-1&&(Hf(d,I),As(F,I))}this._attachedToViewContainer=!1}Vf(this._lView[ri],this._lView)}onDestroy(d){Nu(this._lView,d)}markForCheck(){gp(this._cdRefInjectingView||this._lView)}detach(){this._lView[Vi]&=-129}reattach(){bu(this._lView),this._lView[Vi]|=128}detectChanges(){this._lView[Vi]|=1024,u0(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new rt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Zh(this._lView[ri],this._lView)}attachToAppRef(d){if(this._attachedToViewContainer)throw new rt(902,!1);this._appRef=d,bu(this._lView)}}let yu=(()=>{class d{}return d.__NG_ELEMENT_ID__=Xy,d})();const df=yu,vp=class extends df{constructor(d,F,I){super(),this._declarationLView=d,this._declarationTContainer=F,this.elementRef=I}get ssrId(){var d;return(null===(d=this._declarationTContainer.tView)||void 0===d?void 0:d.ssrId)||null}createEmbeddedView(d,F){return this.createEmbeddedViewImpl(d,F)}createEmbeddedViewImpl(d,F,I){const L=Qf(this._declarationLView,this._declarationTContainer,d,{embeddedViewInjector:F,dehydratedView:I});return new eh(L)}};function Xy(){return th(ls(),zr())}function th(l,d){return 4&l.type?new vp(d,l,Rc(l,d)):null}let H1=()=>null;function Uc(l,d){return H1(l,d)}class _0{}class V1{}class G1{}class zb{resolveComponentFactory(d){throw function z1(l){const d=Error(`No component factory found for ${_r(l)}.`);return d.ngComponent=l,d}(d)}}let E0=(()=>{class d{}return d.NULL=new zb,d})();class Sv{}let l_=(()=>{class d{constructor(){this.destroyNode=null}}return d.__NG_ELEMENT_ID__=()=>function u_(){const l=zr(),F=Ks(ls().index,l);return(Rn(F)?F:l)[ho]}(),d})(),c_=(()=>{var l;class d{}return(l=d).\u0275prov=Di({token:l,providedIn:"root",factory:()=>null}),d})();const wv={},$1=new Set;function Ec(l){var d,F;$1.has(l)||($1.add(l),null===(d=performance)||void 0===d||null===(F=d.mark)||void 0===F||F.call(d,"mark_feature_usage",{detail:{feature:l}}))}function Tv(...l){}class vl{constructor({enableLongStackTrace:d=!1,shouldCoalesceEventChangeDetection:F=!1,shouldCoalesceRunChangeDetection:I=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mu(!1),this.onMicrotaskEmpty=new Mu(!1),this.onStable=new Mu(!1),this.onError=ne
1w Mu(!1),typeof Zone>"u")throw new rt(908,!1);Zone.assertZonePatched();const L=this;L._nesting=0,L._outer=L._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(L._inner=L._inner.fork(new Zone.TaskTrackingZoneSpec)),d&&Zone.longStackTraceZoneSpec&&(L._inner=L._inner.fork(Zone.longStackTraceZoneSpec)),L.shouldCoalesceEventChangeDetection=!I&&F,L.shouldCoalesceRunChangeDetection=I,L.lastRequestAnimationFrameId=-1,L.nativeRequestAnimationFrame=function f_(){const l="function"==typeof tr.requestAnimationFrame;let d=tr[l?"requestAnimationFrame":"setTimeout"],F=tr[l?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&d&&F){const I=d[Zone.__symbol__("OriginalDelegate")];I&&(d=I);const L=F[Zone.__symbol__("OriginalDelegate")];L&&(F=L)}return{nativeRequestAnimationFrame:d,nativeCancelAnimationFrame:F}}().nativeRequestAnimationFrame,function K1(l){const d=()=>{!function p_(l){l.isCheckStableRunning||-1!==l.lastRequestAnimationFrameId||(l.lastRequestAnimationFrameId=l.nativeRequestAnimationFrame.call(tr,()=>{l.fakeTopEventTask||(l.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{l.lastRequestAnimationFrameId=-1,Dv(l),l.isCheckStableRunning=!0,Av(l),l.isCheckStableRunning=!1},void 0,()=>{},()=>{})),l.fakeTopEventTask.invoke()}),Dv(l))}(l)};l._inner=l._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(F,I,L,Q,he,Te)=>{if(function Iv(l){var d;return!(!Array.isArray(l)||1!==l.length)&&!0===(null===(d=l[0].data)||void 0===d?void 0:d.__ignore_ng_zone__)}(Te))return F.invokeTask(L,Q,he,Te);try{return Uu(l),F.invokeTask(L,Q,he,Te)}finally{(l.shouldCoalesceEventChangeDetection&&"eventTask"===Q.type||l.shouldCoalesceRunChangeDetection)&&d(),C0(l)}},onInvoke:(F,I,L,Q,he,Te,Be)=>{try{return Uu(l),F.invoke(L,Q,he,Te,Be)}finally{l.shouldCoalesceRunChangeDetection&&d(),C0(l)}},onHasTask:(F,I,L,Q)=>{F.hasTask(L,Q),I===L&&("microTask"==Q.change?(l._hasPendingMicrotasks=Q.microTask,Dv(l),Av(l)):"macroTask"==Q.change&&(l.hasPendingMacrotasks=Q.macroTask))},onHandleError:(F,I,L,Q)=>(F.handleError(L,Q),l.runOutsideAngular(()=>l.onError.emit(Q)),!1)})}(L)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!vl.isInAngularZone())throw new rt(909,!1)}static assertNotInAngularZone(){if(vl.isInAngularZone())throw new rt(909,!1)}run(d,F,I){return this._inner.run(d,F,I)}runTask(d,F,I,L){const Q=this._inner,he=Q.scheduleEventTask("NgZoneEvent: "+L,d,h_,Tv,Tv);try{return Q.runTask(he,F,I)}finally{Q.cancelTask(he)}}runGuarded(d,F,I){return this._inner.runGuarded(d,F,I)}runOutsideAngular(d){return this._outer.run(d)}}const h_={};function Av(l){if(0==l._nesting&&!l.hasPendingMicrotasks&&!l.isStable)try{l._nesting++,l.onMicrotaskEmpty.emit(null)}finally{if(l._nesting--,!l.hasPendingMicrotasks)try{l.runOutsideAngular(()=>l.onStable.emit(null))}finally{l.isStable=!0}}}function Dv(l){l.hasPendingMicrotasks=!!(l._hasPendingMicrotasks||(l.shouldCoalesceEventChangeDetection||l.shouldCoalesceRunChangeDetection)&&-1!==l.lastRequestAnimationFrameId)}function Uu(l){l._nesting++,l.isStable&&(l.isStable=!1,l.onUnstable.emit(null))}function C0(l){l._nesting--,Av(l)}class rh{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mu,this.onMicrotaskEmpty=new Mu,this.onStable=new Mu,this.onError=new Mu}run(d,F,I){return d.apply(F,I)}runGuarded(d,F,I){return d.apply(F,I)}runOutsideAngular(d){return d()}runTask(d,F,I,L){return d.apply(F,I)}}var ff=function(l){return l[l.EarlyRead=0]="EarlyRead",l[l.Write=1]="Write",l[l.MixedReadWrite=2]="MixedReadWrite",l[l.Read=3]="Read",l}(ff||{});const F0={destroy(){}};function Cp(l,d){var F,I,L;!d&&function _i(l){if(!Ti())throw new rt(-203,!1)}();const Q=null!==(F=null==d?void 0:d.injector)&&void 0!==F?F:cn(nu);if(!function ju(l){return"browser"===(null!=l?l:cn(nu)).get(Kd)}(Q))return F0;Ec("NgAfterNextRender");const he=Q.get(ih),Te=null!==(I=he.handler)&&void 0!==I?I:he.handler=new kv,Be=null!==(L=null==d?void 0:d.phase)&&void 0!==L?L:ff.MixedReadWrite,ct=()=>{Te.unregister(Yt),Nt()},Nt=Q.get(dc).onDestroy(ct),Yt=mi(Q,()=>new q1(Be,()=>{ct(),l()}));return Te.register(Yt),{destroy:ct}}class q1{constructor(d,F){var I;this.phase=d,this.callbackFn=F,this.zone=cn(vl),this.errorHandler=cn(Kl,{optional:!0}),null===(I=cn(_0,{optional:!0}))||void 0===I||I.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(F){var d;null===(d=this.errorHandler)||void 0===d||d.handleError(F)}}}class kv{constructor(){this.executingCallbacks=!1,this.buckets={[ff.EarlyRead]:new Set,[ff.Write]:new Set,[ff.MixedReadWrite]:new Set,[ff.Read]:new Set},this.deferredCallbacks=new Set}register(d){(this.executingCallbacks?this.deferredCallbacks:this.buckets[d.phase]).add(d)}
1unregister(d){this.buckets[d.phase].delete(d),this.deferredCallbacks.delete(d)}execute(){this.executingCallbacks=!0;for(const d of Object.values(this.buckets))for(const F of d)F.invoke();this.executingCallbacks=!1;for(const d of this.deferredCallbacks)this.buckets[d.phase].add(d);this.deferredCallbacks.clear()}destroy(){for(const d of Object.values(this.buckets))d.clear();this.deferredCallbacks.clear()}}let ih=(()=>{var l;class d{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){var I;this.executeInternalCallbacks(),null===(I=this.handler)||void 0===I||I.execute()}executeInternalCallbacks(){const I=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const L of I)L()}ngOnDestroy(){var I;null===(I=this.handler)||void 0===I||I.destroy(),this.handler=null,this.internalCallbacks.length=0}}return(l=d).\u0275prov=Di({token:l,providedIn:"root",factory:()=>new l}),d})();function Cl(l){return!!Go(l)}function T0(l,d,F){let I=F?l.styles:null,L=F?l.classes:null,Q=0;if(null!==d)for(let he=0;he<d.length;he++){const Te=d[he];"number"==typeof Te?Q=Te:1==Q?L=hr(L,Te):2==Q&&(I=hr(I,Te+": "+d[++he]+";"))}F?l.styles=I:l.stylesWithoutHost=I,F?l.classes=L:l.classesWithoutHost=L}class Nv extends E0{constructor(d){super(),this.ngModule=d}resolveComponentFactory(d){const F=_o(d);return new wd(F,this.ngModule)}}function Ov(l){const d=[];for(const F in l){if(!l.hasOwnProperty(F))continue;const I=l[F];void 0!==I&&d.push({propName:Array.isArray(I)?I[0]:I,templateName:F})}return d}class Pv{constructor(d,F){this.injector=d,this.parentInjector=F}get(d,F,I){I=Pn(I);const L=this.injector.get(d,wv,I);return L!==wv||F===wv?L:this.parentInjector.get(d,F,I)}}class wd extends G1{get inputs(){const d=this.componentDef,F=d.inputTransforms,I=Ov(d.inputs);if(null!==F)for(const L of I)F.hasOwnProperty(L.propName)&&(L.transform=F[L.propName]);return I}get outputs(){return Ov(this.componentDef.outputs)}constructor(d,F){super(),this.componentDef=d,this.ngModule=F,this.componentType=d.type,this.selector=function tl(l){return l.map(Rl).join(",")}(d.selectors),this.ngContentSelectors=d.ngContentSelectors?d.ngContentSelectors:[],this.isBoundToModule=!!F}create(d,F,I,L){const Q=s(null);try{var Te;let Be=(L=L||this.ngModule)instanceof Ye?L:null===(Te=L)||void 0===Te?void 0:Te.injector;Be&&null!==this.componentDef.getStandaloneInjector&&(Be=this.componentDef.getStandaloneInjector(Be)||Be);const ct=Be?new Pv(d,Be):d,Nt=ct.get(Sv,null);if(null===Nt)throw new rt(407,!1);const Yt=ct.get(c_,null),gr={rendererFactory:Nt,sanitizer:Yt,inlineEffectRunner:null,afterRenderEventManager:ct.get(ih,null),changeDetectionScheduler:ct.get(_0,null)},Vr=Nt.createRenderer(null,this.componentDef),ci=this.componentDef.selectors[0][0]||"div",gi=I?function Zm(l,d,F,I){const Q=I.get(Vh,!1)||F===sa.ShadowDom,he=l.selectRootElement(d,Q);return function tv(l){e0(l)}(he),he}(Vr,I,this.componentDef.encapsulation,ct):rf(Vr,ci,function $b(l){const d=l.toLowerCase();return"svg"===d?Ri:"math"===d?"math":null}(ci));let Qr=512;this.componentDef.signals?Qr|=4096:this.componentDef.onPush||(Qr|=16);let Vo=null;null!==gi&&(Vo=hm(gi,ct,!0));const ws=qf(0,null,null,1,0,null,null,null,null,null,null),Qs=Kf(null,ws,null,Qr,null,null,gr,Vr,ct,null,Vo);let fu,Sc;cl(Qs);try{const $c=this.componentDef;let Rp,jb=null;$c.findHostDirectiveDefs?(Rp=[],jb=new Map,$c.findHostDirectiveDefs($c,Rp,jb),Rp.push($c)):Rp=[$c];const MI=function Z1(l,d){const F=l[ri],I=se;return l[I]=d,nc(F,I,2,"#host",null)}(Qs,gi),LI=function y_(l,d,F,I,L,Q,he){const Te=L[ri];!function __(l,d,F,I){for(const L of l)d.mergedAttrs=Zt(d.mergedAttrs,L.hostAttrs);null!==d.mergedAttrs&&(T0(d,d.mergedAttrs,!0),null!==F&&lp(I,F,d))}(I,l,d,he);let Be=null;null!==d&&(Be=hm(d,L[Ws]));const ct=Q.rendererFactory.createRenderer(d,F);let Nt=16;F.signals?Nt=4096:F.onPush&&(Nt=64);const Yt=Kf(L,hp(F),null,Nt,L[l.index],l,Q,ct,null,null,Be);return Te.firstCreatePass&&ii(Te,l,I.length-1),Oa(L,Yt),L[l.index]=Yt}(MI,gi,$c,Rp,Qs,gr,Vr);Sc=ea(ws,se),gi&&function E_(l,d,F,I){if(I)qa(l,F,["ng-version","17.3.11"]);else{const{attrs:L,classes:Q}=function Ma(l){const d=[],F=[];let I=1,L=2;
vendor: 4,532 bytes, line 1
1for(;I<l.length;){let Q=l[I];if("string"==typeof Q)2===L?""!==Q&&d.push(Q,l[++I]):8===L&&F.push(Q);else{if(!Xo(L))break;L=Q}I++}return{attrs:d,classes:F}}(d.selectors[0]);L&&qa(l,F,L),Q&&Q.length>0&&ap(l,F,Q.join(" "))}}(Vr,$c,gi,I),void 0!==F&&function C_(l,d,F){const I=l.projection=[];for(let L=0;L<d.length;L++){const Q=F[L];I.push(null!=Q?Array.from(Q):null)}}(Sc,this.ngContentSelectors,F),fu=function b_(l,d,F,I,L,Q){const he=ls(),Te=L[ri],Be=gs(he,L);dt(Te,L,he,F,null,I);for(let Nt=0;Nt<F.length;Nt++)fa(xu(L,Te,he.directiveStart+Nt,he),L);er(Te,L,he),Be&&fa(Be,L);const ct=xu(L,Te,he.directiveStart+he.componentOffset,he);if(l[Is]=L[Is]=ct,null!==Q)for(const Nt of Q)Nt(ct,d);return cp(Te,he,L),ct}(LI,$c,Rp,jb,Qs,[F_]),cv(ws,Qs,null)}finally{Yc()}return new J1(this.componentType,fu,Rc(Sc,Qs),Qs,Sc)}finally{s(Q)}}}class J1 extends V1{constructor(d,F,I,L,Q){super(),this.location=I,this._rootLView=L,this._tNode=Q,this.previousInputValues=null,this.instance=F,this.hostView=this.changeDetectorRef=new eh(L,void 0,!1),this.componentType=d}setInput(d,F){const I=this._tNode.inputs;let L;if(null!==I&&(L=I[d])){var Q;if(null!==(Q=this.previousInputValues)&&void 0!==Q||(this.previousInputValues=new Map),this.previousInputValues.has(d)&&Object.is(this.previousInputValues.get(d),F))return;const he=this._rootLView;du(he[ri],he,L,d,F),this.previousInputValues.set(d,F),gp(Ks(this._tNode.index,he))}}get injector(){return new dl(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(d){this.hostView.onDestroy(d)}}function F_(){const l=ls();Id(zr()[ri],l)}let A0=(()=>{class d{}return d.__NG_ELEMENT_ID__=ey,d})();function ey(){return S_(ls(),zr())}const xv=A0,Mv=class extends xv{constructor(d,F,I){super(),this._lContainer=d,this._hostTNode=F,this._hostLView=I}get element(){return Rc(this._hostTNode,this._hostLView)}get injector(){return new dl(this._hostTNode,this._hostLView)}get parentInjector(){const d=Od(this._hostTNode,this._hostLView);if(gf(d)){const F=qu(d,this._hostLView),I=ac(d);return new dl(F[ri].data[I+8],F)}return new dl(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(d){const F=ty(this._lContainer);return null!==F&&F[d]||null}get length(){return this._lContainer.length-Xt}createEmbeddedView(d,F,I){let L,Q;"number"==typeof I?L=I:null!=I&&(L=I.index,Q=I.injector);const he=Uc(this._lContainer,d.ssrId),Te=d.createEmbeddedViewImpl(F||{},Q,he);return this.insertImpl(Te,L,pp(this._hostTNode,he)),Te}createComponent(d,F,I,L,Q){var he,Te,Be;const ct=d&&!function vr(l){return"function"==typeof l}(d);let Nt;if(ct)Nt=F;else{const gi=F||{};Nt=gi.index,I=gi.injector,L=gi.projectableNodes,Q=gi.environmentInjector||gi.ngModuleRef}const Yt=ct?d:new wd(_o(d)),wn=I||this.parentInjector;if(!Q&&null==Yt.ngModule){const Qr=(ct?wn:this.parentInjector).get(Ye,null);Qr&&(Q=Qr)}const Qn=_o(null!==(he=Yt.componentType)&&void 0!==he?he:{}),gr=Uc(this._lContainer,null!==(Te=null==Qn?void 0:Qn.id)&&void 0!==Te?Te:null),Vr=null!==(Be=null==gr?void 0:gr.firstChild)&&void 0!==Be?Be:null,ci=Yt.create(wn,L,Vr,Q);return this.insertImpl(ci.hostView,Nt,pp(this._hostTNode,gr)),ci}insert(d,F){return this.insertImpl(d,F,!0)}insertImpl(d,F,I){const L=d._lView;if(function oc(l){return _n(l[Ds])}(L)){const Te=this.indexOf(d);if(-1!==Te)this.detach(Te);else{const Be=L[Ds],ct=new Mv(Be,Be[Ro],Be[Ds]);ct.detach(ct.indexOf(d))}}const Q=this._adjustIndex(F),he=this._lContainer;return mp(he,L,Q,I),d.attachToViewContainerRef(),Ts(ny(he),Q,d),d}move(d,F){return this.insert(d,F)}indexOf(d){const F=ty(this._lContainer);return null!==F?F.indexOf(d):-1}remove(d){const F=this._adjustIndex(d,-1),I=Hf(this._lContainer,F);I&&(As(ny(this._lContainer),F),Vf(I[ri],I))}detach(d){const F=this._adjustIndex(d,-1),I=Hf(this._lContainer,F);return I&&null!=As(ny(this._lContainer),F)?new eh(I):null}_adjustIndex(d,F=0){return null==d?this.length+F:d}};function ty(l){return l[8]}function ny(l){return l[8]||(l[8]=[])}function S_(l,d){let F;const I=d[l.index];return _n(I)?F=I:(F=xl(I,d,null,l),d[l.index]=F,Oa(d,F)),ry(F,d,l,I),new Mv(F,l,d)}let ry=function oy(l,d,F,I){if(l[Ve])return;let L;L=8&F.type?zi(I):function Wb(l,d){const F=l[ho],I=F.createComment(""),L=gs(d,l);return tc(F,sf(F,L),I,function T1(l,d){return l.nextSibling(d)}(F,L),!1),I}(d,F),l[Ve]=L},Lv=()=>!1;class Bv{constructor(d){this.queryList=d,this.matches=null}clone(){return new Bv(this.queryList)}setDirty(){this.queryList.setDirty()}}class D0{constructor(d=[]){this.queries=d}createEmbeddedView(d){const F=d.queries;
vendor: 5,182 bytes, line 1
1if(null!==F){const I=null!==d.contentQueries?d.contentQueries[0]:F.length,L=[];for(let Q=0;Q<I;Q++){const he=F.getByIndex(Q);L.push(this.queries[he.indexInDeclarationView].clone())}return new D0(L)}return null}insertView(d){this.dirtyQueriesWithMatches(d)}detachView(d){this.dirtyQueriesWithMatches(d)}finishViewCreation(d){this.dirtyQueriesWithMatches(d)}dirtyQueriesWithMatches(d){for(let F=0;F<this.queries.length;F++)null!==Jn(d,F).matches&&this.queries[F].setDirty()}}class sy{constructor(d,F,I=null){this.flags=F,this.read=I,this.predicate="string"==typeof d?function yn(l){return l.split(",").map(d=>d.trim())}(d):d}}class ay{constructor(d=[]){this.queries=d}elementStart(d,F){for(let I=0;I<this.queries.length;I++)this.queries[I].elementStart(d,F)}elementEnd(d){for(let F=0;F<this.queries.length;F++)this.queries[F].elementEnd(d)}embeddedTView(d){let F=null;for(let I=0;I<this.length;I++){const L=null!==F?F.length:0,Q=this.getByIndex(I).embeddedTView(d,L);Q&&(Q.indexInDeclarationView=I,null!==F?F.push(Q):F=[Q])}return null!==F?new ay(F):null}template(d,F){for(let I=0;I<this.queries.length;I++)this.queries[I].template(d,F)}getByIndex(d){return this.queries[d]}get length(){return this.queries.length}track(d){this.queries.push(d)}}class j{constructor(d,F=-1){this.metadata=d,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=F}elementStart(d,F){this.isApplyingToNode(F)&&this.matchTNode(d,F)}elementEnd(d){this._declarationNodeIndex===d.index&&(this._appliesToNextNode=!1)}template(d,F){this.elementStart(d,F)}embeddedTView(d,F){return this.isApplyingToNode(d)?(this.crossesNgTemplate=!0,this.addMatch(-d.index,F),new j(this.metadata)):null}isApplyingToNode(d){if(this._appliesToNextNode&&1&~this.metadata.flags){const F=this._declarationNodeIndex;let I=d.parent;for(;null!==I&&8&I.type&&I.index!==F;)I=I.parent;return F===(null!==I?I.index:-1)}return this._appliesToNextNode}matchTNode(d,F){const I=this.metadata.predicate;if(Array.isArray(I))for(let L=0;L<I.length;L++){const Q=I[L];this.matchTNodeWithReadOption(d,F,S(F,Q)),this.matchTNodeWithReadOption(d,F,nd(F,d,Q,!1,!1))}else I===yu?4&F.type&&this.matchTNodeWithReadOption(d,F,-1):this.matchTNodeWithReadOption(d,F,nd(F,d,I,!1,!1))}matchTNodeWithReadOption(d,F,I){if(null!==I){const L=this.metadata.read;if(null!==L)if(L===Ld||L===A0||L===yu&&4&F.type)this.addMatch(F.index,-2);else{const Q=nd(F,d,L,!1,!1);null!==Q&&this.addMatch(F.index,Q)}else this.addMatch(F.index,I)}}addMatch(d,F){null===this.matches?this.matches=[d,F]:this.matches.push(d,F)}}function S(l,d){const F=l.localNames;if(null!==F)for(let I=0;I<F.length;I+=2)if(F[I]===d)return F[I+1];return null}function w(l,d,F,I){return-1===F?function D(l,d){return 11&l.type?Rc(l,d):4&l.type?th(l,d):null}(d,l):-2===F?function B(l,d,F){return F===Ld?Rc(d,l):F===yu?th(d,l):F===A0?S_(d,l):void 0}(l,d,I):xu(l,l[ri],F,d)}function te(l,d,F,I){const L=d[pl].queries[I];if(null===L.matches){const Q=l.data,he=F.matches,Te=[];for(let Be=0;null!==he&&Be<he.length;Be+=2){const ct=he[Be];Te.push(ct<0?null:w(d,Q[ct],he[Be+1],F.metadata.read))}L.matches=Te}return L.matches}function Ee(l,d,F,I){const L=l.queries.getByIndex(F),Q=L.matches;if(null!==Q){const he=te(l,d,L,F);for(let Te=0;Te<Q.length;Te+=2){const Be=Q[Te];if(Be>0)I.push(he[Te/2]);else{const ct=Q[Te+1],Nt=d[-Be];for(let Yt=Xt;Yt<Nt.length;Yt++){const wn=Nt[Yt];wn[_u]===wn[Ds]&&Ee(wn[ri],wn,ct,I)}if(null!==Nt[Tt]){const Yt=Nt[Tt];for(let wn=0;wn<Yt.length;wn++){const Qn=Yt[wn];Ee(Qn[ri],Qn,ct,I)}}}}}return I}function gt(l,d,F){var I;const L=new Ah(!(4&~F));return function iv(l,d,F,I){const L=Xf(d);L.push(F),l.firstCreatePass&&r0(l).push(I,L.length-1)}(l,d,L,L.destroy),(null!==(I=d[pl])&&void 0!==I?I:d[pl]=new D0).queries.push(new Bv(L))-1}function Bn(l,d,F){null===l.queries&&(l.queries=new ay),l.queries.track(new j(d,F))}function Jn(l,d){return l.queries.getByIndex(d)}function ir(l,d){const F=l[ri],I=Jn(F,d);return I.crossesNgTemplate?Ee(F,l,d,[]):te(F,l,I,d)}function Mi(l){return function Tr(l){return"function"==typeof l&&void 0!==l[T]}(l)&&"function"==typeof l.set}function D_(l){let d=function Qb(l){return Object.getPrototypeOf(l.prototype).constructor}(l.type),F=!0;const I=[l];for(;d;){let L;if(wr(l))L=d.\u0275cmp||d.\u0275dir;else{if(d.\u0275cmp)throw new rt(903,!1);L=d.\u0275dir}if(L){if(F){I.push(L);const he=l;he.inputs=uy(l.inputs),he.inputTransforms=uy(l.inputTransforms),he.declaredInputs=uy(l.declaredInputs),he.outputs=uy(l.outputs);const Te=L.hostBindings;Te&&sw(l,Te);const Be=L.viewQuery,ct=L.contentQueries;if(Be&&iw(l,Be),ct&&ow(l,ct),nw(l,L),qr(l.outputs,L.outputs),wr(L)&&L.data.animation){const Nt=l.data;Nt.animation=(Nt.animation||[]).concat(L.data.animation)}}const Q=L.features;if(Q)for(let he=0;he<Q.length;he++){const Te=Q[he];Te&&Te.ngInherit&&Te(l),Te===D_&&(F=!1)}}d=Object.getPrototypeOf(d)}!function rw(l){let d=0,F=null;for(let I=l.length-1;I>=0;I--){const L=l[I];L.hostVars=d+=L.hostVars,L.hostAttrs=Zt(L.hostAttrs,F=Zt(F,L.hostAttrs))}}(I)}function nw(l,d){for(const I in d.inputs){if(!d.inputs.hasOwnProperty(I)||l.inputs.hasOwnProperty(I))continue;const L=d.inputs[I];
1if(void 0!==L&&(l.inputs[I]=L,l.declaredInputs[I]=d.declaredInputs[I],null!==d.inputTransforms)){var F;const Q=Array.isArray(L)?L[0]:L;if(!d.inputTransforms.hasOwnProperty(Q))continue;null!==(F=l.inputTransforms)&&void 0!==F||(l.inputTransforms={}),l.inputTransforms[Q]=d.inputTransforms[Q]}}}function uy(l){return l===Us?{}:l===Ji?[]:l}function iw(l,d){const F=l.viewQuery;l.viewQuery=F?(I,L)=>{d(I,L),F(I,L)}:d}function ow(l,d){const F=l.contentQueries;l.contentQueries=F?(I,L,Q)=>{d(I,L,Q),F(I,L,Q)}:d}function sw(l,d){const F=l.hostBindings;l.hostBindings=F?(I,L)=>{d(I,L),F(I,L)}:d}function tE(l){const d=l.inputConfig,F={};for(const I in d)if(d.hasOwnProperty(I)){const L=d[I];Array.isArray(L)&&L[3]&&(F[I]=L[3])}l.inputTransforms=F}class Sp{}class nE{}function fw(l,d){return new I_(l,null!=d?d:null,[])}class I_ extends Sp{constructor(d,F,I){super(),this._parent=F,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Nv(this);const L=Go(d);this._bootstrapComponents=ou(L.bootstrap),this._r3Injector=Kp(d,F,[{provide:Sp,useValue:this},{provide:E0,useValue:this.componentFactoryResolver},...I],_r(d),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(d)}get injector(){return this._r3Injector}destroy(){const d=this._r3Injector;!d.destroyed&&d.destroy(),this.destroyCbs.forEach(F=>F()),this.destroyCbs=null}onDestroy(d){this.destroyCbs.push(d)}}class R_ extends nE{constructor(d){super(),this.moduleType=d}create(d){return new I_(this.moduleType,d,[])}}class rE extends Sp{constructor(d){super(),this.componentFactoryResolver=new Nv(this),this.instance=null;const F=new kt([...d.providers,{provide:Sp,useValue:this},{provide:E0,useValue:this.componentFactoryResolver}],d.parent||Ue(),d.debugName,new Set(["environment"]));this.injector=F,d.runEnvironmentInitializers&&F.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(d){this.injector.onDestroy(d)}}function k_(l,d,F=null){return new rE({providers:l,parent:d,debugName:F,runEnvironmentInitializers:!0}).injector}let I0=(()=>{var l;class d{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new St.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const I=this.taskId++;return this.pendingTasks.add(I),I}remove(I){this.pendingTasks.delete(I),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}}return(l=d).\u0275fac=function(I){return new(I||l)},l.\u0275prov=Di({token:l,factory:l.\u0275fac,providedIn:"root"}),d})();function dy(l){return!!N_(l)&&(Array.isArray(l)||!(l instanceof Map)&&Symbol.iterator in l)}function N_(l){return null!==l&&("function"==typeof l||"object"==typeof l)}function Td(l,d,F){return l[d]=F}function Uv(l,d){return l[d]}function Al(l,d,F){return!Object.is(l[d],F)&&(l[d]=F,!0)}function wp(l,d,F,I){const L=Al(l,d,F);return Al(l,d+1,I)||L}function R0(l,d,F,I,L,Q,he,Te){const Be=zr(),ct=vs(),Nt=l+se,Yt=ct.firstCreatePass?function _w(l,d,F,I,L,Q,he,Te,Be){const ct=d.consts,Nt=nc(d,l,4,he||null,Nl(ct,Te));ke(d,F,Nt,Nl(ct,Be)),Id(d,Nt);const Yt=Nt.tView=qf(2,Nt,I,L,Q,d.directiveRegistry,d.pipeRegistry,null,d.schemas,ct,null);return null!==d.queries&&(d.queries.template(d,Nt),Yt.queries=d.queries.embeddedTView(Nt)),Nt}(Nt,ct,Be,d,F,I,L,Q,he):ct.data[Nt];yl(Yt,!1);const wn=iE(ct,Be,Yt,l);Jc()&&zf(ct,Be,wn,Yt),fa(wn,Be);const Qn=xl(wn,Be,wn,Yt);return Be[Nt]=Qn,Oa(Be,Qn),function iy(l,d,F){return Lv(l,d,F)}(Qn,Yt,Be),Cr(Yt)&&dp(ct,Be,Yt),null!=he&&fp(Be,Yt,Te),R0}let iE=function oE(l,d,F,I){return Fu(!0),d[ho].createComment("")};function V_(l,d,F,I){const L=zr();return Al(L,rr(),d)&&(vs(),go(Hs(),L,l,d,F,I)),V_}function B0(l,d,F,I){return Al(l,rr(),F)?d+Ar(F)+I:rs}function U0(l,d,F,I,L,Q,he,Te){const ct=function fy(l,d,F,I,L){const Q=wp(l,d,F,I);return Al(l,d+2,L)||Q}(l,un(),F,L,he);return mr(3),ct?d+Ar(F)+I+Ar(L)+Q+Ar(he)+Te:rs}function yy(l,d){return l<<17|d<<2}function ah(l){return l>>17&32767}function G_(l){return 2|l}function Ap(l){return(131068&l)>>2}function z_(l,d){return-131069&l|d<<2}function $_(l){return 1|l}function ME(l,d,F,I){const L=l[F+1],Q=null===d;let he=I?ah(L):Ap(L),Te=!1;for(;0!==he&&(!1===Te||Q);){const ct=l[he+1];oT(l[he],d)&&(Te=!0,l[he+1]=I?$_(ct):G_(ct)),he=I?ah(ct):Ap(ct)}
vendor: 8,997 bytes, line 1
1Te&&(l[F+1]=I?G_(L):$_(L))}function oT(l,d){return null===l||null==d||(Array.isArray(l)?l[1]:l)===d||!(!Array.isArray(l)||"string"!=typeof d)&&ta(l,d)>=0}const Vl={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function LE(l){return l.substring(Vl.key,Vl.keyEnd)}function sT(l){return l.substring(Vl.value,Vl.valueEnd)}function BE(l,d){const F=Vl.textEnd;return F===d?-1:(d=Vl.keyEnd=function uT(l,d,F){for(;d<F&&l.charCodeAt(d)>32;)d++;return d}(l,Vl.key=d,F),W0(l,d,F))}function jE(l,d){const F=Vl.textEnd;let I=Vl.key=W0(l,d,F);return F===I?-1:(I=Vl.keyEnd=function cT(l,d,F){let I;for(;d<F&&(45===(I=l.charCodeAt(d))||95===I||(-33&I)>=65&&(-33&I)<=90||I>=48&&I<=57);)d++;return d}(l,I,F),I=HE(l,I,F),I=Vl.value=W0(l,I,F),I=Vl.valueEnd=function dT(l,d,F){let I=-1,L=-1,Q=-1,he=d,Te=he;for(;he<F;){const Be=l.charCodeAt(he++);if(59===Be)return Te;34===Be||39===Be?Te=he=VE(l,Be,he,F):d===he-4&&85===Q&&82===L&&76===I&&40===Be?Te=he=VE(l,41,he,F):Be>32&&(Te=he),Q=L,L=I,I=-33&Be}return Te}(l,I,F),HE(l,I,F))}function UE(l){Vl.key=0,Vl.keyEnd=0,Vl.value=0,Vl.valueEnd=0,Vl.textEnd=l.length}function W0(l,d,F){for(;d<F&&l.charCodeAt(d)<=32;)d++;return d}function HE(l,d,F,I){return(d=W0(l,d,F))<F&&d++,d}function VE(l,d,F,I){let L=-1,Q=F;for(;Q<I;){const he=l.charCodeAt(Q++);if(he==d&&92!==L)return Q;L=92==he&&92===L?0:he}throw new Error}function W_(l,d,F){const I=zr();return Al(I,rr(),d)&&au(vs(),Hs(),I,l,d,I[ho],F,!1),W_}function K_(l,d,F,I,L){const he=L?"class":"style";du(l,F,d.inputs[he],he,I)}function q_(l,d,F){return Gc(l,d,F,!1),q_}function X_(l,d){return Gc(l,d,null,!0),X_}function Vc(l){zc(WE,fT,l,!1)}function fT(l,d){for(let F=function lT(l){return UE(l),jE(l,W0(l,0,Vl.textEnd))}(d);F>=0;F=jE(d,F))WE(l,LE(d),sT(d))}function GE(l){zc(yT,Ad,l,!0)}function Ad(l,d){for(let F=function aT(l){return UE(l),BE(l,W0(l,0,Vl.textEnd))}(d);F>=0;F=BE(d,F))Uo(l,LE(d),!0)}function Gc(l,d,F,I){const L=zr(),Q=vs(),he=mr(2);Q.firstUpdatePass&&$E(Q,l,he,I),d!==rs&&Al(L,he,d)&&KE(Q,Q.data[Na()],L,L[ho],l,L[he+1]=function bT(l,d){return null==l||""===l||("string"==typeof d?l+=d:"object"==typeof l&&(l=_r(Xs(l)))),l}(d,F),I,he)}function zc(l,d,F,I){const L=vs(),Q=mr(2);L.firstUpdatePass&&$E(L,null,Q,I);const he=zr();if(F!==rs&&Al(he,Q,F)){const Te=L.data[Na()];if(XE(Te,I)&&!zE(L,Q)){let Be=I?Te.classesWithoutHost:Te.stylesWithoutHost;null!==Be&&(F=hr(Be,F||"")),K_(L,Te,he,F,I)}else!function _T(l,d,F,I,L,Q,he,Te){L===rs&&(L=Ji);let Be=0,ct=0,Nt=0<L.length?L[0]:null,Yt=0<Q.length?Q[0]:null;for(;null!==Nt||null!==Yt;){const wn=Be<L.length?L[Be+1]:void 0,Qn=ct<Q.length?Q[ct+1]:void 0;let Vr,gr=null;Nt===Yt?(Be+=2,ct+=2,wn!==Qn&&(gr=Yt,Vr=Qn)):null===Yt||null!==Nt&&Nt<Yt?(Be+=2,gr=Nt):(ct+=2,gr=Yt,Vr=Qn),null!==gr&&KE(l,d,F,I,gr,Vr,he,Te),Nt=Be<L.length?L[Be]:null,Yt=ct<Q.length?Q[ct]:null}}(L,Te,he,he[ho],he[Q+1],he[Q+1]=function vT(l,d,F){if(null==F||""===F)return Ji;const I=[],L=Xs(F);if(Array.isArray(L))for(let Q=0;Q<L.length;Q++)l(I,L[Q],!0);else if("object"==typeof L)for(const Q in L)L.hasOwnProperty(Q)&&l(I,Q,L[Q]);else"string"==typeof L&&d(I,L);return I}(l,d,F),I,Q)}}function zE(l,d){return d>=l.expandoStartIndex}function $E(l,d,F,I){const L=l.data;if(null===L[F+1]){const Q=L[Na()],he=zE(l,F);XE(Q,I)&&null===d&&!he&&(d=!1),d=function hT(l,d,F,I){const L=function po(l){const d=eo.lFrame.currentDirectiveIndex;return-1===d?null:l[d]}(l);let Q=I?d.residualClasses:d.residualStyles;if(null===L)0===(I?d.classBindings:d.styleBindings)&&(F=$v(F=Y_(null,l,d,F,I),d.attrs,I),Q=null);else{const he=d.directiveStylingLast;if(-1===he||l[he]!==L)if(F=Y_(L,l,d,F,I),null===Q){let Be=function pT(l,d,F){const I=F?d.classBindings:d.styleBindings;if(0!==Ap(I))return l[ah(I)]}(l,d,I);void 0!==Be&&Array.isArray(Be)&&(Be=Y_(null,l,d,Be[1],I),Be=$v(Be,d.attrs,I),function mT(l,d,F,I){l[ah(F?d.classBindings:d.styleBindings)]=I}(l,d,I,Be))}else Q=function gT(l,d,F){let I;const L=d.directiveEnd;for(let Q=1+d.directiveStylingLast;Q<L;Q++)I=$v(I,l[Q].hostAttrs,F);return $v(I,d.attrs,F)}(l,d,I)}return void 0!==Q&&(I?d.residualClasses=Q:d.residualStyles=Q),F}(L,Q,d,I),function rT(l,d,F,I,L,Q){let he=Q?d.classBindings:d.styleBindings,Te=ah(he),Be=Ap(he);l[I]=F;let Nt,ct=!1;if(Array.isArray(F)?(Nt=F[1],(null===Nt||ta(F,Nt)>0)&&(ct=!0)):Nt=F,L)if(0!==Be){const wn=ah(l[Te+1]);l[I+1]=yy(wn,Te),0!==wn&&(l[wn+1]=z_(l[wn+1],I)),l[Te+1]=function tT(l,d){return 131071&l|d<<17}(l[Te+1],I)}else l[I+1]=yy(Te,0),0!==Te&&(l[Te+1]=z_(l[Te+1],I)),Te=I;else l[I+1]=yy(Be,0),0===Te?Te=I:l[Be+1]=z_(l[Be+1],I),Be=I;ct&&(l[I+1]=G_(l[I+1])),ME(l,Nt,I,!0),ME(l,Nt,I,!1),function iT(l,d,F,I,L){const Q=L?l.residualClasses:l.residualStyles;null!=Q&&"string"==typeof d&&ta(Q,d)>=0&&(F[I+1]=$_(F[I+1]))}(d,Nt,l,I,Q),he=yy(Te,Be),Q?d.classBindings=he:d.styleBindings=he}(L,Q,d,F,he,I)}}function Y_(l,d,F,I,L){let Q=null;const he=F.directiveEnd;let Te=F.directiveStylingLast;for(-1===Te?Te=F.directiveStart:Te++;Te<he&&(Q=d[Te],I=$v(I,Q.hostAttrs,L),Q!==l);)Te++;return null!==l&&(F.directiveStylingLast=Te),I}function $v(l,d,F){const I=F?1:2;let L=-1;if(null!==d)for(let Q=0;Q<d.length;Q++){const he=d[Q];"number"==typeof he?L=he:L===I&&(Array.isArray(l)||(l=void 0===l?[]:["",l]),Uo(l,he,!!F||d[++Q]))}return void 0===l?null:l}function WE(l,d,F){Uo(l,d,Xs(F))}function yT(l,d,F){const I=String(d);""!==I&&!I.includes(" ")&&Uo(l,I,F)}function KE(l,d,F,I,L,Q,he,Te){if(!(3&d.type))return;const Be=l.data,ct=Be[Te+1],Nt=function nT(l){return!(1&~l)}(ct)?qE(Be,d,F,L,Ap(ct),he):void 0;_y(Nt)||(_y(Q)||function eT(l){return!(2&~l)}(ct)&&(Q=qE(Be,null,F,L,Te,he)),function Qg(l,d,F,I,L){if(d)L?l.addClass(F,I):l.removeClass(F,I);else{let Q=-1===I.indexOf("-")?void 0:Yh.DashCase;null==L?l.removeStyle(F,I,Q):("string"==typeof L&&L.endsWith("!important")&&(L=L.slice(0,-10),Q|=Yh.Important),l.setStyle(F,I,L,Q))}}(I,he,ja(Na(),F),L,Q))}function qE(l,d,F,I,L,Q){const he=null===d;let Te;for(;L>0;){const Be=l[L],ct=Array.isArray(Be),Nt=ct?Be[1]:Be,Yt=null===Nt;let wn=F[L+1];wn===rs&&(wn=Yt?Ji:void 0);let Qn=Yt?ua(wn,I):Nt===I?wn:void 0;if(ct&&!_y(Qn)&&(Qn=ua(Be,I)),_y(Qn)&&(Te=Qn,he))return Te;const gr=l[L+1];L=he?ah(gr):Ap(gr)}if(null!==d){let Be=Q?d.residualClasses:d.residualStyles;null!=Be&&(Te=ua(Be,I))}return Te}function _y(l){return void 0!==l}function XE(l,d){return!!(l.flags&(d?8:16))}function YE(l,d,F){zc(Uo,Ad,B0(zr(),l,d,F),!0)}function QE(l,d,F,I,L,Q,he){zc(Uo,Ad,U0(zr(),l,d,F,I,L,Q,he),!0)}function tC(l,d,F){Ec("NgControlFlow");const I=zr(),L=rr(),Q=function Z_(l,d){return l[d]}(I,se+l);if(Al(I,L,d)){const Te=s(null);try{if(function s0(l,d){const F=Hf(l,d);return void 0!==F&&Vf(F[ri],F),F}(Q,0),-1!==d){const Be=function eb(l,d){return ea(l,d)}(I[ri],se+d),ct=Uc(Q,Be.tView.ssrId);mp(Q,Qf(I,Be,F,{dehydratedView:ct}),0,pp(Be,ct))}}finally{s(Te)}}else{const Te=function I1(l,d){const F=Xt+d;if(F<l.length)return l[F]}(Q,0);void 0!==Te&&(Te[Is]=F)}}function by(l,d,F,I){const L=zr(),Q=vs(),he=se+l,Te=L[ho],Be=Q.firstCreatePass?function UT(l,d,F,I,L,Q){const he=d.consts,Be=nc(d,l,2,I,Nl(he,L));return ke(d,F,Be,Nl(he,Q)),null!==Be.attrs&&T0(Be,Be.attrs,!1),null!==Be.mergedAttrs&&T0(Be,Be.mergedAttrs,!0),null!==d.queries&&d.queries.elementStart(d,Be),Be}(he,Q,L,d,F,I):Q.data[he],ct=nC(Q,L,Be,Te,d,l);L[he]=ct;const Nt=Cr(Be);return yl(Be,!0),lp(Te,ct,Be),!function Hv(l){return!(32&~l.flags)}(Be)&&Jc()&&zf(Q,L,ct,Be),0===function sl(){return eo.lFrame.elementDepthCount}()&&fa(ct,L),function Ol(){eo.lFrame.elementDepthCount++}(),Nt&&(dp(Q,L,Be),cp(Q,Be,L)),null!==I&&fp(L,Be),by}function Ey(){let l=ls();Xc()?Se():(l=l.parent,yl(l,!1));const d=l;(function Wc(l){return eo.skipHydrationRootTNode===l})(d)&&function wc(){eo.skipHydrationRootTNode=null}(),function Bl(){eo.lFrame.elementDepthCount--}();const F=vs();return F.firstCreatePass&&(Id(F,l),cr(l)&&F.queries.elementEnd(l)),null!=d.classesWithoutHost&&function Ac(l){return!!(8&l.flags)}(d)&&K_(F,d,zr(),d.classesWithoutHost,!0),null!=d.stylesWithoutHost&&function ed(l){return!!(16&l.flags)}(d)&&K_(F,d,zr(),d.stylesWithoutHost,!1),Ey}function tb(l,d,F,I){return by(l,d,F,I),Ey(),tb}let nC=(l,d,F,I,L,Q)=>(Fu(!0),rf(I,L,function Op(){return eo.lFrame.currentNamespace}()));function Cy(l,d,F){const I=zr(),L=vs(),Q=l+se,he=L.firstCreatePass?function GT(l,d,F,I,L){const Q=d.consts,he=Nl(Q,I),Te=nc(d,l,8,"ng-container",he);return null!==he&&T0(Te,he,!0),ke(d,F,Te,Nl(Q,L)),null!==d.queries&&d.queries.elementStart(d,Te),Te}(Q,L,I,d,F):L.data[Q];yl(he,!0);const Te=rC(L,I,he,l);return I[Q]=Te,Jc()&&zf(L,I,Te,he),fa(Te,I),Cr(he)&&(dp(L,I,he),cp(L,he,I)),null!=F&&fp(I,he),Cy}function Fy(){let l=ls();const d=vs();return Xc()?Se():(l=l.parent,yl(l,!1)),d.firstCreatePass&&(Id(d,l),cr(l)&&d.queries.elementEnd(l)),Fy}function nb(l,d,F){return Cy(l,d,F),Fy(),nb}let rC=(l,d,F,I)=>(Fu(!0),Uf(d[ho],""));function iC(){return zr()}const Dp=void 0;var KT=["en",[["a","p"],["AM","PM"],Dp],[["AM","PM"],Dp,Dp],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Dp,[["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"]],Dp,[["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 a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Dp,"{1} 'at' {0}",Dp],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function WT(l){const F=Math.floor(Math.abs(l)),I=l.toString().replace(/^[^.]*\.?/,"").length;return 1===F&&0===I?1:5}];let K0={};function rb(l){const d=function qT(l){return l.toLowerCase().replace(/_/g,"-")}(l);let F=lC(d);if(F)return F;const I=d.split("-")[0];if(F=lC(I),F)return F;if("en"===I)return KT;throw new rt(701,!1)}function aC(l){return rb(l)[q0.PluralCase]}function lC(l){return l in K0||(K0[l]=tr.ng&&tr.ng.common&&tr.ng.common.locales&&tr.ng.common.locales[l]),K0[l]}var q0=function(l){return l[l.LocaleId=0]="LocaleId",l[l.DayPeriodsFormat=1]="DayPeriodsFormat",l[l.DayPeriodsStandalone=2]="DayPeriodsStandalone",l[l.DaysFormat=3]="DaysFormat",l[l.DaysStandalone=4]="DaysStandalone",l[l.MonthsFormat=5]="MonthsFormat",l[l.MonthsStandalone=6]="MonthsStandalone",l[l.Eras=7]="Eras",l[l.FirstDayOfWeek=8]="FirstDayOfWeek",l[l.WeekendRange=9]="WeekendRange",l[l.DateFormat=10]="DateFormat",l[l.TimeFormat=11]="TimeFormat",l[l.DateTimeFormat=12]="DateTimeFormat",l[l.NumberSymbols=13]="NumberSymbols",l[l.NumberFormats=14]="NumberFormats",l[l.CurrencyCode=15]="CurrencyCode",l[l.CurrencySymbol=16]="CurrencySymbol",l[l.CurrencyName=17]="CurrencyName",l[l.Currencies=18]="Currencies",l[l.Directionality=19]="Directionality",l[l.PluralCase=20]="PluralCase",l[l.ExtraData=21]="ExtraData",l}(q0||{});const X0="en-US";let uC=X0;function sb(l,d,F,I){const L=zr(),Q=vs(),he=ls();return ab(Q,L,L[ho],he,l,d,I),sb}function ab(l,d,F,I,L,Q,he){const Te=Cr(I),ct=l.firstCreatePass&&r0(l),Nt=d[Is],Yt=Xf(d);let wn=!0;if(3&I.type||he){const Vr=gs(I,d),ci=he?he(Vr):Vr,gi=Yt.length,Qr=he?ws=>he(zi(ws[I.index])):I.index;let Vo=null;if(!he&&Te&&(Vo=function z2(l,d,F,I){const L=l.cleanup;if(null!=L)for(let Q=0;Q<L.length-1;Q+=2){const he=L[Q];if(he===F&&L[Q+1]===I){const Te=d[ll],Be=L[Q+2];return Te.length>Be?Te[Be]:null}"string"==typeof he&&(Q+=2)}return null}(l,d,L,I.index)),null!==Vo)(Vo.__ngLastListenerFn__||Vo).__ngNextListenerFn__=Q,Vo.__ngLastListenerFn__=Q,wn=!1;else{Q=LC(I,d,Nt,Q,!1);const ws=F.listen(ci,L,Q);Yt.push(Q,ws),ct&&ct.push(L,Qr,gi,gi+1)}}else Q=LC(I,d,Nt,Q,!1);const Qn=I.outputs;let gr;if(wn&&null!==Qn&&(gr=Qn[L])){const Vr=gr.length;if(Vr)for(let ci=0;ci<Vr;ci+=2){const Qs=d[gr[ci]][gr[ci+1]].subscribe(Q),fu=Yt.length;Yt.push(Q,Qs),ct&&ct.push(L,I.index,fu,-(fu+1))}}}function MC(l,d,F,I){const L=s(null);try{return Ra(6,d,F),!1!==F(I)}catch(Q){return Yf(l,Q),!1}finally{Ra(7,d,F),s(L)}}function LC(l,d,F,I,L){return function Q(he){if(he===Function)return I;gp(l.componentOffset>-1?Ks(l.index,d):d);let Be=MC(d,F,I,he),ct=Q.__ngNextListenerFn__;for(;ct;)Be=MC(d,F,ct,he)&&Be,ct=ct.__ngNextListenerFn__;return L&&!1===Be&&he.preventDefault(),Be}}function BC(l=1){return function Qc(l){return(eo.lFrame.contextLView=function Wu(l,d){for(;l>0;)d=d[hu],l--;return d}(l,eo.lFrame.contextLView))[Is]}(l)}function $2(l,d){let F=null;const I=function Ps(l){const d=l.attrs;if(null!=d){const F=d.indexOf(5);if(!(1&F))return d[F+1]}return null}(l);for(let L=0;L<d.length;L++){const Q=d[L];if("*"!==Q){if(null===I?Js(l,Q,!0):fl(I,Q))return L}else F=L}return F}function jC(l){const d=zr()[Cs][Ro];if(!d.projection){const I=d.projection=function No(l,d){const F=[];for(let I=0;I<l;I++)F.push(d);return F}(l?l.length:1,null),L=I.slice();let Q=d.child;for(;null!==Q;){const he=l?$2(Q,l):0;null!==he&&(L[he]?L[he].projectionNext=Q:I[he]=Q,L[he]=Q),Q=Q.next}}}function UC(l,d=0,F){const I=zr(),L=vs(),Q=nc(L,se+l,16,null,F||null);null===Q.projection&&(Q.projection=d),Se(),(!I[Bs]||pu())&&32&~Q.flags&&function Xg(l,d,F){Qm(d[ho],0,d,F,Wm(l,F,d),qm(F.parent||d[Ro],F,d))}(L,I,Q)}function lb(l,d,F){return Dy(l,"",d,"",F),lb}function Dy(l,d,F,I,L){const Q=zr(),he=B0(Q,d,F,I);return he!==rs&&au(vs(),Hs(),Q,l,he,Q[ho],L,!1),Dy}function XC(l,d,F,I){!function Wt(l,d,F,I){const L=vs();
1if(L.firstCreatePass){const Q=ls();Bn(L,new sy(d,F,I),Q.index),function Ln(l,d){const F=l.contentQueries||(l.contentQueries=[]);d!==(F.length?F[F.length-1]:-1)&&F.push(l.queries.length-1,d)}(L,l),!(2&~F)&&(L.staticContentQueries=!0)}return gt(L,zr(),F)}(l,d,F,I)}function YC(l,d,F){!function Dt(l,d,F){const I=vs();return I.firstCreatePass&&(Bn(I,new sy(l,d,F),-1),!(2&~d)&&(I.staticViewQueries=!0)),gt(I,zr(),d)}(l,d,F)}function QC(l){const d=zr(),F=vs(),I=Wo();Fo(I+1);const L=Jn(F,I);if(l.dirty&&function il(l){return!(4&~l[Vi])}(d)===!(2&~L.metadata.flags)){if(null===L.matches)l.reset([]);else{const Q=ir(d,I);l.reset(Q,wh),l.notifyOnChanges()}return!0}return!1}function JC(){return function ze(l,d){return l[pl].queries[d].queryList}(zr(),Wo())}function ZC(l){return Ua(function Ie(){return eo.lFrame.contextLView}(),se+l)}function uF(l,d=""){const F=zr(),I=vs(),L=l+se,Q=I.firstCreatePass?nc(I,L,1,d,null):I.data[L],he=cF(I,F,Q,d,l);F[L]=he,Jc()&&zf(I,F,he,Q),yl(Q,!1)}let cF=(l,d,F,I,L)=>(Fu(!0),function nf(l,d){return l.createText(d)}(d[ho],I));function ub(l){return Iy("",l,""),ub}function Iy(l,d,F){const I=zr(),L=B0(I,l,d,F);return L!==rs&&_c(I,Na(),L),Iy}function cb(l,d,F,I,L){const Q=zr(),he=function j0(l,d,F,I,L,Q){const Te=wp(l,un(),F,L);return mr(2),Te?d+Ar(F)+I+Ar(L)+Q:rs}(Q,l,d,F,I,L);return he!==rs&&_c(Q,Na(),he),cb}function db(l,d,F,I,L,Q,he){const Te=zr(),Be=U0(Te,l,d,F,I,L,Q,he);return Be!==rs&&_c(Te,Na(),Be),db}function fb(l,d,F){Mi(d)&&(d=d());const I=zr();return Al(I,rr(),d)&&au(vs(),Hs(),I,l,d,I[ho],F,!1),fb}function vF(l,d){const F=Mi(l);return F&&l.set(d),F}function hb(l,d){const F=zr(),I=vs(),L=ls();return ab(I,F,F[ho],L,l,d),hb}function pb(l,d,F,I,L){if(l=Rt(l),Array.isArray(l))for(let Q=0;Q<l.length;Q++)pb(l[Q],d,F,I,L);else{const Q=vs(),he=zr(),Te=ls();let Be=tt(l)?l:Rt(l.provide);const ct=Rr(l),Nt=1048575&Te.providerIndexes,Yt=Te.directiveStart,wn=Te.providerIndexes>>20;if(tt(l)||!l.multi){const Qn=new Zc(ct,L,af),gr=gb(Be,d,L?Nt:Nt+wn,Yt);-1===gr?(uc(Nd(Te,he),Q,Be),mb(Q,l,d.length),d.push(Be),Te.directiveStart++,Te.directiveEnd++,L&&(Te.providerIndexes+=1048576),F.push(Qn),he.push(Qn)):(F[gr]=Qn,he[gr]=Qn)}else{const Qn=gb(Be,d,Nt+wn,Yt),gr=gb(Be,d,Nt,Nt+wn),ci=gr>=0&&F[gr];if(L&&!ci||!L&&!(Qn>=0&&F[Qn])){uc(Nd(Te,he),Q,Be);const gi=function cA(l,d,F,I,L){const Q=new Zc(l,F,af);return Q.multi=[],Q.index=d,Q.componentProviders=0,yF(Q,L,I&&!F),Q}(L?uA:lA,F.length,L,I,ct);!L&&ci&&(F[gr].providerFactory=gi),mb(Q,l,d.length,0),d.push(Be),Te.directiveStart++,Te.directiveEnd++,L&&(Te.providerIndexes+=1048576),F.push(gi),he.push(gi)}else mb(Q,l,Qn>-1?Qn:gr,yF(F[L?gr:Qn],ct,!L&&I));!L&&I&&ci&&F[gr].componentProviders++}}}function mb(l,d,F,I){const L=tt(d),Q=function Et(l){return!!l.useClass}(d);if(L||Q){const Be=(Q?Rt(d.useClass):d).prototype.ngOnDestroy;if(Be){const ct=l.destroyHooks||(l.destroyHooks=[]);if(!L&&d.multi){const Nt=ct.indexOf(F);-1===Nt?ct.push(F,[I,Be]):ct[Nt+1].push(I,Be)}else ct.push(F,Be)}}}function yF(l,d,F){return F&&l.componentProviders++,l.multi.push(d)-1}function gb(l,d,F,I){for(let L=F;L<I;L++)if(d[L]===l)return L;return-1}function lA(l,d,F,I){return vb(this.multi,[])}function uA(l,d,F,I){const L=this.multi;let Q;if(this.providerFactory){const he=this.providerFactory.componentProviders,Te=xu(F,F[ri],this.providerFactory.index,I);Q=Te.slice(0,he),vb(L,Q);for(let Be=he;Be<Te.length;Be++)Q.push(Te[Be])}else Q=[],vb(L,Q);return Q}function vb(l,d){for(let F=0;F<l.length;F++)d.push((0,l[F])());return d}function _F(l,d=[]){return F=>{F.providersResolver=(I,L)=>function aA(l,d,F){const I=vs();if(I.firstCreatePass){const L=wr(l);pb(F,I.data,I.blueprint,L,!0),pb(d,I.data,I.blueprint,L,!1)}}(I,L?L(l):l,d)}}let dA=(()=>{var l;class d{constructor(I){this._injector=I,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(I){if(!I.standalone)return null;if(!this.cachedInjectors.has(I)){const L=xr(0,I.type),Q=L.length>0?k_([L],this._injector,`Standalone[${I.type.name}]`):null;this.cachedInjectors.set(I,Q)}return this.cachedInjectors.get(I)}ngOnDestroy(){try{for(const I of this.cachedInjectors.values())null!==I&&I.destroy()}finally{this.cachedInjectors.clear()}}}return(l=d).\u0275prov=Di({token:l,providedIn:"environment",factory:()=>new l(vt(Ye))}),d})();function bF(l){Ec("NgStandalone"),l.getStandaloneInjector=d=>d.get(dA).getOrCreateStandaloneInjector(l)}function CF(l,d,F){const I=$t()+l,L=zr();return L[I]===rs?Td(L,I,F?d.call(F):d()):Uv(L,I)}function FF(l,d,F,I){return TF(zr(),$t(),l,d,F,I)}function SF(l,d,F,I,L){return AF(zr(),$t(),l,d,F,I,L)}function wF(l,d,F,I,L,Q,he,Te,Be){const ct=$t()+l,Nt=zr(),Yt=function Fc(l,d,F,I,L,Q){const he=wp(l,d,F,I);return wp(l,d+2,L,Q)||he}(Nt,ct,F,I,L,Q);return wp(Nt,ct+4,he,Te)||Yt?Td(Nt,ct+6,Be?d.call(Be,F,I,L,Q,he,Te):d(F,I,L,Q,he,Te)):Uv(Nt,ct+6)}function Jv(l,d){const F=l[d];return F===rs?void 0:F}function TF(l,d,F,I,L,Q){const he=d+F;return Al(l,he,L)?Td(l,he+1,Q?I.call(Q,L):I(L)):Jv(l,he+1)}function AF(l,d,F,I,L,Q,he){const Te=d+F;return wp(l,Te,L,Q)?Td(l,Te+2,he?I.call(he,L,Q):I(L,Q)):Jv(l,Te+2)}
1function kF(l,d){const F=vs();let I;const L=l+se;var Q;F.firstCreatePass?(I=function bA(l,d){if(d)for(let F=d.length-1;F>=0;F--){const I=d[F];if(l===I.name)return I}}(d,F.pipeRegistry),F.data[L]=I,I.onDestroy&&(null!==(Q=F.destroyHooks)&&void 0!==Q?Q:F.destroyHooks=[]).push(L,I.onDestroy)):I=F.data[L];const he=I.factory||(I.factory=yo(I.type)),Be=So(af);try{const ct=lc(!1),Nt=he();return lc(ct),function X2(l,d,F,I){F>=l.data.length&&(l.data[F]=null,l.blueprint[F]=null),d[F]=I}(F,zr(),L,Nt),Nt}finally{So(Be)}}function NF(l,d,F){const I=l+se,L=zr(),Q=Ua(L,I);return Zv(L,I)?TF(L,$t(),d,Q.transform,F,Q):Q.transform(F)}function OF(l,d,F,I){const L=l+se,Q=zr(),he=Ua(Q,L);return Zv(Q,L)?AF(Q,$t(),d,he.transform,F,I,he):he.transform(F,I)}function Zv(l,d){return l[ri].data[d].pure}function PF(l,d){return th(l,d)}class YF{constructor(d){this.full=d;const F=d.split(".");this.major=F[0],this.minor=F[1],this.patch=F.slice(2).join(".")}}let QF=(()=>{var l;class d{log(I){console.log(I)}warn(I){console.warn(I)}}return(l=d).\u0275fac=function(I){return new(I||l)},l.\u0275prov=Di({token:l,factory:l.\u0275fac,providedIn:"platform"}),d})();const tS=new wt(""),nS=new wt("");let Sb,gD=(()=>{var l;class d{constructor(I,L,Q){this._ngZone=I,this.registry=L,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Sb||(function vD(l){Sb=l}(Q),Q.addToWindow(L)),this._watchAngularEvents(),I.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{vl.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let I=this._callbacks.pop();clearTimeout(I.timeoutId),I.doneCb()}});else{let I=this.getPendingTasks();this._callbacks=this._callbacks.filter(L=>!L.updateCb||!L.updateCb(I)||(clearTimeout(L.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(I=>({source:I.source,creationLocation:I.creationLocation,data:I.data})):[]}addCallback(I,L,Q){let he=-1;L&&L>0&&(he=setTimeout(()=>{this._callbacks=this._callbacks.filter(Te=>Te.timeoutId!==he),I()},L)),this._callbacks.push({doneCb:I,timeoutId:he,updateCb:Q})}whenStable(I,L,Q){if(Q&&!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(I,L,Q),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(I){this.registry.registerApplication(I,this)}unregisterApplication(I){this.registry.unregisterApplication(I)}findProviders(I,L,Q){return[]}}return(l=d).\u0275fac=function(I){return new(I||l)(vt(vl),vt(rS),vt(nS))},l.\u0275prov=Di({token:l,factory:l.\u0275fac}),d})(),rS=(()=>{var l;class d{constructor(){this._applications=new Map}registerApplication(I,L){this._applications.set(I,L)}unregisterApplication(I){this._applications.delete(I)}unregisterAllApplications(){this._applications.clear()}getTestability(I){return this._applications.get(I)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(I,L=!0){var Q,he;return null!==(Q=null===(he=Sb)||void 0===he?void 0:he.findTestabilityInTree(this,I,L))&&void 0!==Q?Q:null}}return(l=d).\u0275fac=function(I){return new(I||l)},l.\u0275prov=Di({token:l,factory:l.\u0275fac,providedIn:"platform"}),d})();function wb(l){return!!l&&"function"==typeof l.then}function iS(l){return!!l&&"function"==typeof l.subscribe}const oS=new wt("");let Tb=(()=>{var l;class d{constructor(){var I;this.initialized=!1,this.done=!1,this.donePromise=new Promise((L,Q)=>{this.resolve=L,this.reject=Q}),this.appInits=null!==(I=cn(oS,{optional:!0}))&&void 0!==I?I:[]}
1runInitializers(){if(this.initialized)return;const I=[];for(const Q of this.appInits){const he=Q();if(wb(he))I.push(he);else if(iS(he)){const Te=new Promise((Be,ct)=>{he.subscribe({complete:Be,error:ct})});I.push(Te)}}const L=()=>{this.done=!0,this.resolve()};Promise.all(I).then(()=>{L()}).catch(Q=>{this.reject(Q)}),0===I.length&&L(),this.initialized=!0}}return(l=d).\u0275fac=function(I){return new(I||l)},l.\u0275prov=Di({token:l,factory:l.\u0275fac,providedIn:"root"}),d})();const Ab=new wt("");function lS(l,d){return Array.isArray(d)?d.reduce(lS,l):{...l,...d}}let lh=(()=>{var l;class d{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=cn(id),this.afterRenderEffectManager=cn(ih),this.externalTestViews=new Set,this.beforeRender=new It.B,this.afterTick=new It.B,this.componentTypes=[],this.components=[],this.isStable=cn(I0).hasPendingTasks.pipe((0,lt.T)(I=>!I)),this._injector=cn(Ye)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(I,L){const Q=I instanceof G1;if(!this._injector.get(Tb).done)throw!Q&&hs(I),new rt(405,!1);let Te;Te=Q?I:this._injector.get(E0).resolveComponentFactory(I),this.componentTypes.push(Te.componentType);const Be=function yD(l){return l.isBoundToModule}(Te)?void 0:this._injector.get(Sp),Nt=Te.create(nu.NULL,[],L||Te.selector,Be),Yt=Nt.location.nativeElement,wn=Nt.injector.get(tS,null);return null==wn||wn.registerApplication(Yt),Nt.onDestroy(()=>{this.detachView(Nt.hostView),Oy(this.components,Nt),null==wn||wn.unregisterApplication(Yt)}),this._loadComponent(Nt),Nt}tick(){this._tick(!0)}_tick(I){if(this._runningTick)throw new rt(101,!1);const L=s(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(I)}catch(Q){this.internalErrorHandler(Q)}finally{this.afterTick.next(),this._runningTick=!1,s(L)}}detectChangesInAttachedViews(I){let L=0;const Q=this.afterRenderEffectManager;for(;;){if(L===fv)throw new rt(103,!1);if(I){const he=0===L;this.beforeRender.next(he);for(let{_lView:Te,notifyErrorHandler:Be}of this._views)bD(Te,he,Be)}if(L++,Q.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:he})=>Db(he))&&(Q.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:he})=>Db(he))))break}}attachView(I){const L=I;this._views.push(L),L.attachToAppRef(this)}detachView(I){const L=I;Oy(this._views,L),L.detachFromAppRef()}_loadComponent(I){this.attachView(I.hostView),this.tick(),this.components.push(I);const L=this._injector.get(Ab,[]);[...this._bootstrapListeners,...L].forEach(Q=>Q(I))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(I=>I()),this._views.slice().forEach(I=>I.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(I){return this._destroyListeners.push(I),()=>Oy(this._destroyListeners,I)}destroy(){if(this._destroyed)throw new rt(406,!1);const I=this._injector;I.destroy&&!I.destroyed&&I.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(l=d).\u0275fac=function(I){return new(I||l)},l.\u0275prov=Di({token:l,factory:l.\u0275fac,providedIn:"root"}),d})();function Oy(l,d){const F=l.indexOf(d);F>-1&&l.splice(F,1)}function bD(l,d,F){!d&&!Db(l)||function ED(l,d,F){let I;F?(I=0,l[Vi]|=1024):I=64&l[Vi]?0:1,u0(l,d,I)}(l,F,d)}function Db(l){return eu(l)}class CD{constructor(d,F){this.ngModuleFactory=d,this.componentFactories=F}}let FD=(()=>{var l;class d{compileModuleSync(I){return new R_(I)}compileModuleAsync(I){return Promise.resolve(this.compileModuleSync(I))}compileModuleAndAllComponentsSync(I){const L=this.compileModuleSync(I),he=ou(Go(I).declarations).reduce((Te,Be)=>{const ct=_o(Be);return ct&&Te.push(new wd(ct)),Te},[]);return new CD(L,he)}compileModuleAndAllComponentsAsync(I){return Promise.resolve(this.compileModuleAndAllComponentsSync(I))}clearCache(){}clearCacheFor(I){}getModuleId(I){}}return(l=d).\u0275fac=function(I){return new(I||l)},l.\u0275prov=Di({token:l,factory:l.\u0275fac,providedIn:"root"}),d})(),TD=(()=>{var l;class d{constructor(){this.zone=cn(vl),this.applicationRef=cn(lh)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var I;null===(I=this._onMicrotaskEmptySubscription)||void 0===I||I.unsubscribe()}}return(l=d).\u0275fac=function(I){return new(I||l)},l.\u0275prov=Di({token:l,factory:l.\u0275fac,providedIn:"root"}),d})();function AD(){const l=cn(vl),d=cn(Kl);return F=>l.runOutsideAngular(()=>d.handleError(F))}let ID=(()=>{var l;class d{constructor(){this.subscription=new qt.yU,this.initialized=!1,this.zone=cn(vl),this.pendingTasks=cn(I0)}initialize(){if(this.initialized)return;this.initialized=!0;let I=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(I=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{vl.assertNotInAngularZone(),queueMicrotask(()=>
1{null!==I&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(I),I=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{var L;vl.assertInAngularZone(),null!==(L=I)&&void 0!==L||(I=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}}return(l=d).\u0275fac=function(I){return new(I||l)},l.\u0275prov=Di({token:l,factory:l.\u0275fac,providedIn:"root"}),d})();const Py=new wt("",{providedIn:"root",factory:()=>cn(Py,ji.Optional|ji.SkipSelf)||function RD(){return typeof $localize<"u"&&$localize.locale||X0}()}),kD=new wt("",{providedIn:"root",factory:()=>"USD"}),Ib=new wt("");let fS=(()=>{var l;class d{constructor(I){this._injector=I,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(I,L){const Q=function m_(l="zone.js",d){return"noop"===l?new rh:"zone.js"===l?new vl(d):l}(null==L?void 0:L.ngZone,function dS(l){var d,F;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:null!==(d=null==l?void 0:l.eventCoalescing)&&void 0!==d&&d,shouldCoalesceRunChangeDetection:null!==(F=null==l?void 0:l.runCoalescing)&&void 0!==F&&F}}({eventCoalescing:null==L?void 0:L.ngZoneEventCoalescing,runCoalescing:null==L?void 0:L.ngZoneRunCoalescing}));return Q.run(()=>{const he=function hw(l,d,F){return new I_(l,d,F)}(I.moduleType,this.injector,function cS(l){return[{provide:vl,useFactory:l},{provide:Pa,multi:!0,useFactory:()=>{const d=cn(TD,{optional:!0});return()=>d.initialize()}},{provide:Pa,multi:!0,useFactory:()=>{const d=cn(ID);return()=>{d.initialize()}}},{provide:id,useFactory:AD}]}(()=>Q)),Te=he.injector.get(Kl,null);return Q.runOutsideAngular(()=>{const Be=Q.onError.subscribe({next:ct=>{Te.handleError(ct)}});he.onDestroy(()=>{Oy(this._modules,he),Be.unsubscribe()})}),function aS(l,d,F){try{const I=F();return wb(I)?I.catch(L=>{throw d.runOutsideAngular(()=>l.handleError(L)),L}):I}catch(I){throw d.runOutsideAngular(()=>l.handleError(I)),I}}(Te,Q,()=>{const Be=he.injector.get(Tb);return Be.runInitializers(),Be.donePromise.then(()=>(function cC(l){"string"==typeof l&&(uC=l.toLowerCase().replace(/_/g,"-"))}(he.injector.get(Py,X0)||X0),this._moduleDoBootstrap(he),he))})})}bootstrapModule(I,L=[]){const Q=lS({},L);return function wD(l,d,F){const I=new R_(F);return Promise.resolve(I)}(0,0,I).then(he=>this.bootstrapModuleFactory(he,Q))}_moduleDoBootstrap(I){const L=I.injector.get(lh);if(I._bootstrapComponents.length>0)I._bootstrapComponents.forEach(Q=>L.bootstrap(Q));else{if(!I.instance.ngDoBootstrap)throw new rt(-403,!1);I.instance.ngDoBootstrap(L)}this._modules.push(I)}onDestroy(I){this._destroyListeners.push(I)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new rt(404,!1);this._modules.slice().forEach(L=>L.destroy()),this._destroyListeners.forEach(L=>L());const I=this._injector.get(Ib,null);I&&(I.forEach(L=>L()),I.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(l=d).\u0275fac=function(I){return new(I||l)(vt(nu))},l.\u0275prov=Di({token:l,factory:l.\u0275fac,providedIn:"platform"}),d})(),uh=null;const hS=new wt("");function pS(l,d,F=[]){const I=`Platform: ${d}`,L=new wt(I);return(Q=[])=>{let he=Rb();if(!he||he.injector.get(hS,!1)){const Te=[...F,...Q,{provide:L,useValue:!0}];l?l(Te):function OD(l){if(uh&&!uh.get(hS,!1))throw new rt(400,!1);(function sS(){!function $(l){me=l}(()=>{throw new rt(600,!1)})})(),uh=l;const d=l.get(fS);(function gS(l){const d=l.get(Wd,null);null==d||d.forEach(F=>F())})(l)}(function mS(l=[],d){return nu.create({name:d,providers:[{provide:A,useValue:"platform"},{provide:Ib,useValue:new Set([()=>uh=null])},...l]})}(Te,I))}return function PD(l){const d=Rb();if(!d)throw new rt(401,!1);return d}()}}function Rb(){var l,d;return null!==(l=null===(d=uh)||void 0===d?void 0:d.get(fS))&&void 0!==l?l:null}function MD(){}let yS=(()=>{class d{}return d.__NG_ELEMENT_ID__=LD,d})();function LD(l){return function BD(l,d,F){if(Gn(l)&&!F){const I=Ks(l.index,d);return new eh(I,I)}return 47&l.type?new eh(d[Cs],d):null}(ls(),zr(),!(16&~l))}class CS{constructor(){}supports(d){return dy(d)}create(d){return new GD(d)}}const VD=(l,d)=>d;class GD{constructor(d){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=d||VD}forEachItem(d){let F;for(F=this._itHead;null!==F;F=F._next)d(F)}forEachOperation(d){let F=this._itHead,I=this._removalsHead,L=0,Q=null;for(;F||I;){const he=!I||F&&F.currentIndex<SS(I,L,Q)?F:I,Te=SS(he,L,Q),Be=he.currentIndex;if(he===I)L--,I=I._nextRemoved;else if(F=F._next,null==he.previousIndex)L++;else{Q||(Q=[]);const ct=Te-L,Nt=Be-L;if(ct!=Nt){for(let wn=0;wn<ct;wn++){const Qn=wn<Q.length?Q[wn]:Q[wn]=0,gr=Qn+wn;Nt<=gr&&gr<ct&&(Q[wn]=Qn+1)}Q[he.previousIndex]=Nt-ct}}Te!==Be&&d(he,Te,Be)}}forEachPreviousItem(d){let F;for(F=this._previousItHead;null!==F;F=F._nextPrevious)d(F)}forEachAddedItem(d){let F;for(F=this._additionsHead;null!==F;F=F._nextAdded)d(F)}forEachMovedItem(d){let F;for(F=this._movesHead;null!==F;F=F._nextMoved)d(F)}forEachRemovedItem(d){let F;for(F=this._removalsHead;null!==F;F=F._nextRemoved)d(F)}forEachIdentityChange(d){let F;for(F=this._identityChangesHead;null!==F;F=F._nextIdentityChange)d(F)}diff(d){if(null==d&&(d=[]),!dy(d))throw new rt(900,!1);return this.check(d)?this:null}onDestroy(){}check(d){this._reset();let L,Q,he,F=this._itHead,I=!1;if(Array.isArray(d)){this.length=d.length;for(let Te=0;Te<this.length;Te++)Q=d[Te],he=this._trackByFn(Te,Q),null!==F&&Object.is(F.trackById,he)?(I&&(F=this._verifyReinsertion(F,Q,he,Te)),Object.is(F.item,Q)||this._addIdentityChange(F,Q)):(F=this._mismatch(F,Q,he,Te),I=!0),F=F._next}else L=0,function vw(l,d){if(Array.isArray(l))for(let F=0;F<l.length;F++)d(l[F]);else{const F=l[Symbol.iterator]();let I;for(;!(I=F.next()).done;)d(I.value)}}(d,Te=>{he=this._trackByFn(L,Te),null!==F&&Object.is(F.trackById,he)?(I&&(F=this._verifyReinsertion(F,Te,he,L)),Object.is(F.item,Te)||this._addIdentityChange(F,Te)):(F=this._mismatch(F,Te,he,L),I=!0),F=F._next,L++}),this.length=L;return this._truncate(F),this.collection=d,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let d;for(d=this._previousItHead=this._itHead;null!==d;d=d._next)d._nextPrevious=d._next;for(d=this._additionsHead;null!==d;d=d._nextAdded)d.previousIndex=d.currentIndex;for(this._additionsHead=this._additionsTail=null,d=this._movesHead;null!==d;d=d._nextMoved)d.previousIndex=d.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(d,F,I,L){let Q;return null===d?Q=this._itTail:(Q=d._prev,this._remove(d)),null!==(d=null===this._unlinkedRecords?null:this._unlinkedRecords.get(I,null))?(Object.is(d.item,F)||this._addIdentityChange(d,F),this._reinsertAfter(d,Q,L)):null!==(d=null===this._linkedRecords?null:this._linkedRecords.get(I,L))?(Object.is(d.item,F)||this._addIdentityChange(d,F),this._moveAfter(d,Q,L)):d=this._addAfter(new zD(F,I),Q,L),d}_verifyReinsertion(d,F,I,L){let Q=null===this._unlinkedRecords?null:this._unlinkedRecords.get(I,null);return null!==Q?d=this._reinsertAfter(Q,d._prev,L):d.currentIndex!=L&&(d.currentIndex=L,this._addToMoves(d,L)),d}_truncate(d){for(;null!==d;){const F=d._next;this._addToRemovals(this._unlink(d)),d=F}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(d,F,I){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(d);const L=d._prevRemoved,Q=d._nextRemoved;return null===L?this._removalsHead=Q:L._nextRemoved=Q,null===Q?this._removalsTail=L:Q._prevRemoved=L,this._insertAfter(d,F,I),this._addToMoves(d,I),d}_moveAfter(d,F,I){return this._unlink(d),this._insertAfter(d,F,I),this._addToMoves(d,I),d}_addAfter(d,F,I){return this._insertAfter(d,F,I),this._additionsTail=null===this._additionsTail?this._additionsHead=d:this._additionsTail._nextAdded=d,d}_insertAfter(d,F,I){const L=null===F?this._itHead:F._next;return d._next=L,d._prev=F,null===L?this._itTail=d:L._prev=d,null===F?this._itHead=d:F._next=d,null===this._linkedRecords&&(this._linkedRecords=new FS),this._linkedRecords.put(d),d.currentIndex=I,d}_remove(d){return this._addToRemovals(this._unlink(d))}_unlink(d){null!==this._linkedRecords&&this._linkedRecords.remove(d);const F=d._prev,I=d._next;return null===F?this._itHead=I:F._next=I,null===I?this._itTail=F:I._prev=F,d}_addToMoves(d,F){return d.previousIndex===F||(this._movesTail=null===this._movesTail?this._movesHead=d:this._movesTail._nextMoved=d),d}_addToRemovals(d){return null===this._unlinkedRecords&&(this._unlinkedRecords=new FS),this._unlinkedRecords.put(d),d.currentIndex=null,d._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=d,d._prevRemoved=null):(d._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=d),d}_addIdentityChange(d,F){return d.item=F,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=d:this._identityChangesTail._nextIdentityChange=d,d}}class zD{constructor(d,F){this.item=d,this.trackById=F,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class $D{constructor(){this._head=null,this._tail=null}add(d){null===this._head?(this._head=this._tail=d,d._nextDup=null,d._prevDup=null):(this._tail._nextDup=d,d._prevDup=this._tail,d._nextDup=null,this._tail=d)}get(d,F){let I;for(I=this._head;null!==I;I=I._nextDup)if((null===F||F<=I.currentIndex)&&Object.is(I.trackById,d))return I;return null}remove(d){const F=d._prevDup,I=d._nextDup;return null===F?this._head=I:F._nextDup=I,null===I?this._tail=F:I._prevDup=F,null===this._head}}class FS{constructor(){this.map=new Map}put(d){const F=d.trackById;let I=this.map.get(F);I||(I=new $D,this.map.set(F,I)),I.add(d)}get(d,F){const L=this.map.get(d);return L?L.get(d,F):null}remove(d){const F=d.trackById;return this.map.get(F).remove(d)&&this.map.delete(F),d}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function SS(l,d,F){const I=l.previousIndex;if(null===I)return I;let L=0;
1return F&&I<F.length&&(L=F[I]),I+d+L}class wS{constructor(){}supports(d){return d instanceof Map||N_(d)}create(){return new WD}}class WD{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(d){let F;for(F=this._mapHead;null!==F;F=F._next)d(F)}forEachPreviousItem(d){let F;for(F=this._previousMapHead;null!==F;F=F._nextPrevious)d(F)}forEachChangedItem(d){let F;for(F=this._changesHead;null!==F;F=F._nextChanged)d(F)}forEachAddedItem(d){let F;for(F=this._additionsHead;null!==F;F=F._nextAdded)d(F)}forEachRemovedItem(d){let F;for(F=this._removalsHead;null!==F;F=F._nextRemoved)d(F)}diff(d){if(d){if(!(d instanceof Map||N_(d)))throw new rt(900,!1)}else d=new Map;return this.check(d)?this:null}onDestroy(){}check(d){this._reset();let F=this._mapHead;if(this._appendAfter=null,this._forEach(d,(I,L)=>{if(F&&F.key===L)this._maybeAddToChanges(F,I),this._appendAfter=F,F=F._next;else{const Q=this._getOrCreateRecordForKey(L,I);F=this._insertBeforeOrAppend(F,Q)}}),F){F._prev&&(F._prev._next=null),this._removalsHead=F;for(let I=F;null!==I;I=I._nextRemoved)I===this._mapHead&&(this._mapHead=null),this._records.delete(I.key),I._nextRemoved=I._next,I.previousValue=I.currentValue,I.currentValue=null,I._prev=null,I._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(d,F){if(d){const I=d._prev;return F._next=d,F._prev=I,d._prev=F,I&&(I._next=F),d===this._mapHead&&(this._mapHead=F),this._appendAfter=d,d}return this._appendAfter?(this._appendAfter._next=F,F._prev=this._appendAfter):this._mapHead=F,this._appendAfter=F,null}_getOrCreateRecordForKey(d,F){if(this._records.has(d)){const L=this._records.get(d);this._maybeAddToChanges(L,F);const Q=L._prev,he=L._next;return Q&&(Q._next=he),he&&(he._prev=Q),L._next=null,L._prev=null,L}const I=new KD(d);return this._records.set(d,I),I.currentValue=F,this._addToAdditions(I),I}_reset(){if(this.isDirty){let d;for(this._previousMapHead=this._mapHead,d=this._previousMapHead;null!==d;d=d._next)d._nextPrevious=d._next;for(d=this._changesHead;null!==d;d=d._nextChanged)d.previousValue=d.currentValue;for(d=this._additionsHead;null!=d;d=d._nextAdded)d.previousValue=d.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(d,F){Object.is(F,d.currentValue)||(d.previousValue=d.currentValue,d.currentValue=F,this._addToChanges(d))}_addToAdditions(d){null===this._additionsHead?this._additionsHead=this._additionsTail=d:(this._additionsTail._nextAdded=d,this._additionsTail=d)}_addToChanges(d){null===this._changesHead?this._changesHead=this._changesTail=d:(this._changesTail._nextChanged=d,this._changesTail=d)}_forEach(d,F){d instanceof Map?d.forEach(F):Object.keys(d).forEach(I=>F(d[I],I))}}class KD{constructor(d){this.key=d,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function TS(){return new xb([new CS])}let xb=(()=>{var l;class d{constructor(I){this.factories=I}static create(I,L){if(null!=L){const Q=L.factories.slice();I=I.concat(Q)}return new d(I)}static extend(I){return{provide:d,useFactory:L=>d.create(I,L||TS()),deps:[[d,new pi,new ui]]}}find(I){const L=this.factories.find(Q=>Q.supports(I));if(null!=L)return L;throw new rt(901,!1)}}return(l=d).\u0275prov=Di({token:l,providedIn:"root",factory:TS}),d})();function AS(){return new Mb([new wS])}let Mb=(()=>{var l;class d{constructor(I){this.factories=I}static create(I,L){if(L){const Q=L.factories.slice();I=I.concat(Q)}return new d(I)}static extend(I){return{provide:d,useFactory:L=>d.create(I,L||AS()),deps:[[d,new pi,new ui]]}}find(I){const L=this.factories.find(Q=>Q.supports(I));if(L)return L;throw new rt(901,!1)}}return(l=d).\u0275prov=Di({token:l,providedIn:"root",factory:AS}),d})();const YD=pS(null,"core",[]);let QD=(()=>{var l;class d{constructor(I){}}return(l=d).\u0275fac=function(I){return new(I||l)(vt(lh))},l.\u0275mod=nl({type:l}),l.\u0275inj=to({}),d})();function TI(l){return"boolean"==typeof l?l:null!=l&&"false"!==l}function DI(l){const d=s(null);try{return l()}finally{s(d)}}function PI(l,d){const F=_o(l),I=d.elementInjector||Ue();return new wd(F).create(I,d.projectableNodes,d.hostElement,d.environmentInjector)}function xI(l){const d=_o(l);if(!d)return null;const F=new wd(d);return{get selector(){return F.selector},get type(){return F.componentType},get inputs(){return F.inputs},get outputs(){return F.outputs},get ngContentSelectors(){return F.ngContentSelectors},get isStandalone(){return d.standalone},get isSignal(){return d.signals}}}},89417:(ge,_,f)=>{"use strict";f.d(_,{BC:()=>Ft,Q0:()=>io,VZ:()=>yo,YN:()=>aa,Zm:()=>v,cz:()=>k,kq:()=>h,me:()=>b,tU:()=>oa,vO:()=>qt,vS:()=>li,wz:()=>vt,xH:()=>Kt,y7:()=>Wr,zX:()=>pi});var c=f(54438),o=f(60177),C=f(86648),a=f(27468),E=f(96354);let T=(()=>{var Ct;
1class ot{constructor(bt,sn){this._renderer=bt,this._elementRef=sn,this.onChange=ai=>{},this.onTouched=()=>{}}setProperty(bt,sn){this._renderer.setProperty(this._elementRef.nativeElement,bt,sn)}registerOnTouched(bt){this.onTouched=bt}registerOnChange(bt){this.onChange=bt}setDisabledState(bt){this.setProperty("disabled",bt)}}return(Ct=ot).\u0275fac=function(bt){return new(bt||Ct)(c.rXU(c.sFG),c.rXU(c.aKT))},Ct.\u0275dir=c.FsC({type:Ct}),ot})(),s=(()=>{var Ct;class ot extends T{}return(Ct=ot).\u0275fac=(()=>{let Zt;return function(sn){return(Zt||(Zt=c.xGo(Ct)))(sn||Ct)}})(),Ct.\u0275dir=c.FsC({type:Ct,features:[c.Vt3]}),ot})();const h=new c.nKC(""),u={provide:h,useExisting:(0,c.Rfq)(()=>v),multi:!0};let v=(()=>{var Ct;class ot extends s{writeValue(bt){this.setProperty("checked",bt)}}return(Ct=ot).\u0275fac=(()=>{let Zt;return function(sn){return(Zt||(Zt=c.xGo(Ct)))(sn||Ct)}})(),Ct.\u0275dir=c.FsC({type:Ct,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(bt,sn){1&bt&&c.bIt("change",function(wi){return sn.onChange(wi.target.checked)})("blur",function(){return sn.onTouched()})},features:[c.Jv_([u]),c.Vt3]}),ot})();const g={provide:h,useExisting:(0,c.Rfq)(()=>b),multi:!0},p=new c.nKC("");let b=(()=>{var Ct;class ot extends T{constructor(bt,sn,ai){super(bt,sn),this._compositionMode=ai,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function y(){const Ct=(0,o.QT)()?(0,o.QT)().getUserAgent():"";return/android (\d+)/.test(Ct.toLowerCase())}())}writeValue(bt){this.setProperty("value",null==bt?"":bt)}_handleInput(bt){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(bt)}_compositionStart(){this._composing=!0}_compositionEnd(bt){this._composing=!1,this._compositionMode&&this.onChange(bt)}}return(Ct=ot).\u0275fac=function(bt){return new(bt||Ct)(c.rXU(c.sFG),c.rXU(c.aKT),c.rXU(p,8))},Ct.\u0275dir=c.FsC({type:Ct,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(bt,sn){1&bt&&c.bIt("input",function(wi){return sn._handleInput(wi.target.value)})("blur",function(){return sn.onTouched()})("compositionstart",function(){return sn._compositionStart()})("compositionend",function(wi){return sn._compositionEnd(wi.target.value)})},features:[c.Jv_([g]),c.Vt3]}),ot})();function R(Ct){return null==Ct||("string"==typeof Ct||Array.isArray(Ct))&&0===Ct.length}const k=new c.nKC(""),O=new c.nKC("");function ae(Ct){return null}function fe(Ct){return null!=Ct}function ne(Ct){return(0,c.jNT)(Ct)?(0,C.H)(Ct):Ct}function ce(Ct){let ot={};return Ct.forEach(Zt=>{ot=null!=Zt?{...ot,...Zt}:ot}),0===Object.keys(ot).length?null:ot}function me(Ct,ot){return ot.map(Zt=>Zt(Ct))}function $(Ct){return Ct.map(ot=>function re(Ct){return!Ct.validate}(ot)?ot:Zt=>ot.validate(Zt))}function M(Ct){return null!=Ct?function X(Ct){if(!Ct)return null;const ot=Ct.filter(fe);return 0==ot.length?null:function(Zt){return ce(me(Zt,ot))}}($(Ct)):null}function G(Ct){return null!=Ct?function N(Ct){if(!Ct)return null;const ot=Ct.filter(fe);return 0==ot.length?null:function(Zt){const bt=me(Zt,ot).map(ne);return(0,a.p)(bt).pipe((0,E.T)(ce))}}($(Ct)):null}function ue(Ct,ot){return null===Ct?[ot]:Array.isArray(Ct)?[...Ct,ot]:[Ct,ot]}function Re(Ct){return Ct?Array.isArray(Ct)?Ct:[Ct]:[]}function et(Ct,ot){return Array.isArray(Ct)?Ct.includes(ot):Ct===ot}function at(Ct,ot){const Zt=Re(ot);return Re(Ct).forEach(sn=>{et(Zt,sn)||Zt.push(sn)}),Zt}function Pt(Ct,ot){return Re(ot).filter(Zt=>!et(Ct,Zt))}class At{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(ot){this._rawValidators=ot||[],this._composedValidatorFn=M(this._rawValidators)}_setAsyncValidators(ot){this._rawAsyncValidators=ot||[],this._composedAsyncValidatorFn=G(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ot){this._onDestroyCallbacks.push(ot)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ot=>ot()),this._onDestroyCallbacks=[]}reset(ot=void 0){this.control&&this.control.reset(ot)}hasError(ot,Zt){return!!this.control&&this.control.hasError(ot,Zt)}getError(ot,Zt){return this.control?this.control.getError(ot,Zt):null}}class It extends At{get formDirective(){return null}get path(){return null}}class qt extends At{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class St{constructor(ot){this._cd=ot}get isTouched(){var ot;return!(null===(ot=this._cd)||void 0===ot||null===(ot=ot.control)||void 0===ot||!ot.touched)}get isUntouched(){var ot;return!(null===(ot=this._cd)||void 0===ot||null===(ot=ot.control)||void 0===ot||!ot.untouched)}get isPristine(){var ot;return!(null===(ot=this._cd)||void 0===ot||null===(ot=ot.control)||void 0===ot||!ot.pristine)}get isDirty(){var ot;return!(null===(ot=this._cd)||void 0===ot||null===(ot=ot.control)||void 0===ot||!ot.dirty)}get isValid(){var ot;return!(null===(ot=this._cd)||void 0===ot||null===(ot=ot.control)||void 0===ot||!ot.valid)}get isInvalid(){var ot;return!(null===(ot=this._cd)||void 0===ot||null===(ot=ot.control)||void 0===ot||!ot.invali
1d)}get isPending(){var ot;return!(null===(ot=this._cd)||void 0===ot||null===(ot=ot.control)||void 0===ot||!ot.pending)}get isSubmitted(){var ot;return!(null===(ot=this._cd)||void 0===ot||!ot.submitted)}}let Ft=(()=>{var Ct;class ot extends St{constructor(bt){super(bt)}}return(Ct=ot).\u0275fac=function(bt){return new(bt||Ct)(c.rXU(qt,2))},Ct.\u0275dir=c.FsC({type:Ct,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(bt,sn){2&bt&&c.AVh("ng-untouched",sn.isUntouched)("ng-touched",sn.isTouched)("ng-pristine",sn.isPristine)("ng-dirty",sn.isDirty)("ng-valid",sn.isValid)("ng-invalid",sn.isInvalid)("ng-pending",sn.isPending)},features:[c.Vt3]}),ot})();const Gr="VALID",qr="INVALID",_r="PENDING",hr="DISABLED";function zt(Ct){return null!=Ct&&!Array.isArray(Ct)&&"object"==typeof Ct}class Sn{constructor(ot,Zt){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(ot),this._assignAsyncValidators(Zt)}get validator(){return this._composedValidatorFn}set validator(ot){this._rawValidators=this._composedValidatorFn=ot}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ot){this._rawAsyncValidators=this._composedAsyncValidatorFn=ot}get parent(){return this._parent}get valid(){return this.status===Gr}get invalid(){return this.status===qr}get pending(){return this.status==_r}get disabled(){return this.status===hr}get enabled(){return this.status!==hr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ot){this._assignValidators(ot)}setAsyncValidators(ot){this._assignAsyncValidators(ot)}addValidators(ot){this.setValidators(at(ot,this._rawValidators))}addAsyncValidators(ot){this.setAsyncValidators(at(ot,this._rawAsyncValidators))}removeValidators(ot){this.setValidators(Pt(ot,this._rawValidators))}removeAsyncValidators(ot){this.setAsyncValidators(Pt(ot,this._rawAsyncValidators))}hasValidator(ot){return et(this._rawValidators,ot)}hasAsyncValidator(ot){return et(this._rawAsyncValidators,ot)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ot={}){this.touched=!0,this._parent&&!ot.onlySelf&&this._parent.markAsTouched(ot)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ot=>ot.markAllAsTouched())}markAsUntouched(ot={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Zt=>{Zt.markAsUntouched({onlySelf:!0})}),this._parent&&!ot.onlySelf&&this._parent._updateTouched(ot)}markAsDirty(ot={}){this.pristine=!1,this._parent&&!ot.onlySelf&&this._parent.markAsDirty(ot)}markAsPristine(ot={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Zt=>{Zt.markAsPristine({onlySelf:!0})}),this._parent&&!ot.onlySelf&&this._parent._updatePristine(ot)}markAsPending(ot={}){this.status=_r,!1!==ot.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ot.onlySelf&&this._parent.markAsPending(ot)}disable(ot={}){const Zt=this._parentMarkedDirty(ot.onlySelf);this.status=hr,this.errors=null,this._forEachChild(bt=>{bt.disable({...ot,onlySelf:!0})}),this._updateValue(),!1!==ot.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ot,skipPristineCheck:Zt}),this._onDisabledChange.forEach(bt=>bt(!0))}enable(ot={}){const Zt=this._parentMarkedDirty(ot.onlySelf);this.status=Gr,this._forEachChild(bt=>{bt.enable({...ot,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ot.emitEvent}),this._updateAncestors({...ot,skipPristineCheck:Zt}),this._onDisabledChange.forEach(bt=>bt(!1))}_updateAncestors(ot){this._parent&&!ot.onlySelf&&(this._parent.updateValueAndValidity(ot),ot.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ot){this._parent=ot}getRawValue(){return this.value}updateValueAndValidity(ot={}
vendor: 5,303 bytes, line 1
1){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Gr||this.status===_r)&&this._runAsyncValidator(ot.emitEvent)),!1!==ot.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ot.onlySelf&&this._parent.updateValueAndValidity(ot)}_updateTreeValidity(ot={emitEvent:!0}){this._forEachChild(Zt=>Zt._updateTreeValidity(ot)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ot.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?hr:Gr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ot){if(this.asyncValidator){this.status=_r,this._hasOwnPendingAsyncValidator=!0;const Zt=ne(this.asyncValidator(this));this._asyncValidationSubscription=Zt.subscribe(bt=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(bt,{emitEvent:ot})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ot,Zt={}){this.errors=ot,this._updateControlsErrors(!1!==Zt.emitEvent)}get(ot){let Zt=ot;return null==Zt||(Array.isArray(Zt)||(Zt=Zt.split(".")),0===Zt.length)?null:Zt.reduce((bt,sn)=>bt&&bt._find(sn),this)}getError(ot,Zt){const bt=Zt?this.get(Zt):this;return bt&&bt.errors?bt.errors[ot]:null}hasError(ot,Zt){return!!this.getError(ot,Zt)}get root(){let ot=this;for(;ot._parent;)ot=ot._parent;return ot}_updateControlsErrors(ot){this.status=this._calculateStatus(),ot&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ot)}_initObservables(){this.valueChanges=new c.bkB,this.statusChanges=new c.bkB}_calculateStatus(){return this._allControlsDisabled()?hr:this.errors?qr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(_r)?_r:this._anyControlsHaveStatus(qr)?qr:Gr}_anyControlsHaveStatus(ot){return this._anyControls(Zt=>Zt.status===ot)}_anyControlsDirty(){return this._anyControls(ot=>ot.dirty)}_anyControlsTouched(){return this._anyControls(ot=>ot.touched)}_updatePristine(ot={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ot.onlySelf&&this._parent._updatePristine(ot)}_updateTouched(ot={}){this.touched=this._anyControlsTouched(),this._parent&&!ot.onlySelf&&this._parent._updateTouched(ot)}_registerOnCollectionChange(ot){this._onCollectionChange=ot}_setUpdateStrategy(ot){zt(ot)&&null!=ot.updateOn&&(this._updateOn=ot.updateOn)}_parentMarkedDirty(ot){return!ot&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ot){return null}_assignValidators(ot){this._rawValidators=Array.isArray(ot)?ot.slice():ot,this._composedValidatorFn=function $r(Ct){return Array.isArray(Ct)?M(Ct):Ct||null}(this._rawValidators)}_assignAsyncValidators(ot){this._rawAsyncValidators=Array.isArray(ot)?ot.slice():ot,this._composedAsyncValidatorFn=function Rt(Ct){return Array.isArray(Ct)?G(Ct):Ct||null}(this._rawAsyncValidators)}}const Xn=new c.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>nr}),nr="always";function fr(Ct,ot,Zt=nr){var bt,sn;(function vi(Ct,ot){const Zt=function ve(Ct){return Ct._rawValidators}(Ct);null!==ot.validator?Ct.setValidators(ue(Zt,ot.validator)):"function"==typeof Zt&&Ct.setValidators([Zt]);const bt=function we(Ct){return Ct._rawAsyncValidators}(Ct);null!==ot.asyncValidator?Ct.setAsyncValidators(ue(bt,ot.asyncValidator)):"function"==typeof bt&&Ct.setAsyncValidators([bt]);const sn=()=>Ct.updateValueAndValidity();ar(ot._rawValidators,sn),ar(ot._rawAsyncValidators,sn)})(Ct,ot),ot.valueAccessor.writeValue(Ct.value),(Ct.disabled||"always"===Zt)&&(null===(bt=(sn=ot.valueAccessor).setDisabledState)||void 0===bt||bt.call(sn,Ct.disabled)),function $i(Ct,ot){ot.valueAccessor.registerOnChange(Zt=>{Ct._pendingValue=Zt,Ct._pendingChange=!0,Ct._pendingDirty=!0,"change"===Ct.updateOn&&Di(Ct,ot)})}(Ct,ot),function lo(Ct,ot){const Zt=(bt,sn)=>{ot.valueAccessor.writeValue(bt),sn&&ot.viewToModelUpdate(bt)};Ct.registerOnChange(Zt),ot._registerOnDestroy(()=>{Ct._unregisterOnChange(Zt)})}(Ct,ot),function Xi(Ct,ot){ot.valueAccessor.registerOnTouched(()=>{Ct._pendingTouched=!0,"blur"===Ct.updateOn&&Ct._pendingChange&&Di(Ct,ot),"submit"!==Ct.updateOn&&Ct.markAsTouched()})}(Ct,ot),function ni(Ct,ot){if(ot.valueAccessor.setDisabledState){const Zt=bt=>{ot.valueAccessor.setDisabledState(bt)};Ct.registerOnDisabledChange(Zt),ot._registerOnDestroy(()=>{Ct._unregisterOnDisabledChange(Zt)})}}(Ct,ot)}function ar(Ct,ot){Ct.forEach(Zt=>{Zt.registerOnValidatorChange&&Zt.registerOnValidatorChange(ot)})}function Di(Ct,ot){Ct._pendingDirty&&Ct.markAsDirty(),Ct.setValue(Ct._pendingValue,{emitModelToViewChange:!1}),ot.viewToModelUpdate(Ct._pendingValue),Ct._pendingChange=!1}function He(Ct,ot){const Zt=Ct.indexOf(ot);Zt>-1&&Ct.splice(Zt,1)}function Pe(Ct){return"object"==typeof Ct&&null!==Ct&&2===Object.keys(Ct).length&&"value"in Ct&&"disabled"in Ct}Promise.resolve();const Fe=class extends Sn{constructor(ot=null,Zt,bt){super(function Nr(Ct){return(zt(Ct)?Ct.validators:Ct)||null}(Zt),function Xr(Ct,ot){return(zt(ot)?ot.asyncValidators:Ct)||null}(bt,Zt)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ot),this._setUpdateStrategy(Zt),this._initOb
1servables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),zt(Zt)&&(Zt.nonNullable||Zt.initialValueIsDefault)&&(this.defaultValue=Pe(ot)?ot.value:ot)}setValue(ot,Zt={}){this.value=this._pendingValue=ot,this._onChange.length&&!1!==Zt.emitModelToViewChange&&this._onChange.forEach(bt=>bt(this.value,!1!==Zt.emitViewToModelChange)),this.updateValueAndValidity(Zt)}patchValue(ot,Zt={}){this.setValue(ot,Zt)}reset(ot=this.defaultValue,Zt={}){this._applyFormState(ot),this.markAsPristine(Zt),this.markAsUntouched(Zt),this.setValue(this.value,Zt),this._pendingChange=!1}_updateValue(){}_anyControls(ot){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ot){this._onChange.push(ot)}_unregisterOnChange(ot){He(this._onChange,ot)}registerOnDisabledChange(ot){this._onDisabledChange.push(ot)}_unregisterOnDisabledChange(ot){He(this._onDisabledChange,ot)}_forEachChild(ot){}_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(ot){Pe(ot)?(this.value=this._pendingValue=ot.value,ot.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ot}},oi={provide:qt,useExisting:(0,c.Rfq)(()=>li)},Ar=Promise.resolve();let li=(()=>{var Ct;class ot extends qt{constructor(bt,sn,ai,wi,Ns,ca){super(),this._changeDetectorRef=Ns,this.callSetDisabledState=ca,this.control=new Fe,this._registered=!1,this.name="",this.update=new c.bkB,this._parent=bt,this._setValidators(sn),this._setAsyncValidators(ai),this.valueAccessor=function wt(Ct,ot){if(!ot)return null;let Zt,bt,sn;return Array.isArray(ot),ot.forEach(ai=>{ai.constructor===b?Zt=ai:function Ot(Ct){return Object.getPrototypeOf(Ct.constructor)===s}(ai)?bt=ai:sn=ai}),sn||bt||Zt||null}(0,wi)}ngOnChanges(bt){if(this._checkForErrors(),!this._registered||"name"in bt){if(this._registered&&(this._checkName(),this.formDirective)){const sn=bt.name.previousValue;this.formDirective.removeControl({name:sn,path:this._getPath(sn)})}this._setUpControl()}"isDisabled"in bt&&this._updateDisabled(bt),function Ze(Ct,ot){if(!Ct.hasOwnProperty("model"))return!1;const Zt=Ct.model;return!!Zt.isFirstChange()||!Object.is(ot,Zt.currentValue)}(bt,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(bt){this.viewModel=bt,this.update.emit(bt)}_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(){fr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(bt){Ar.then(()=>{var sn;this.control.setValue(bt,{emitViewToModelChange:!1}),null===(sn=this._changeDetectorRef)||void 0===sn||sn.markForCheck()})}_updateDisabled(bt){const sn=bt.isDisabled.currentValue,ai=0!==sn&&(0,c.L39)(sn);Ar.then(()=>{var wi;ai&&!this.control.disabled?this.control.disable():!ai&&this.control.disabled&&this.control.enable(),null===(wi=this._changeDetectorRef)||void 0===wi||wi.markForCheck()})}_getPath(bt){return this._parent?function fn(Ct,ot){return[...ot.path,Ct]}(bt,this._parent):[bt]}}return(Ct=ot).\u0275fac=function(bt){return new(bt||Ct)(c.rXU(It,9),c.rXU(k,10),c.rXU(O,10),c.rXU(h,10),c.rXU(c.gRc,8),c.rXU(Xn,8))},Ct.\u0275dir=c.FsC({type:Ct,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[c.Mj6.None,"disabled","isDisabled"],model:[c.Mj6.None,"ngModel","model"],options:[c.Mj6.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[c.Jv_([oi]),c.Vt3,c.OA$]}),ot})();const Pi={provide:h,useExisting:(0,c.Rfq)(()=>io),multi:!0};let io=(()=>{var Ct;class ot extends s{writeValue(bt){this.setProperty("value",null==bt?"":bt)}registerOnChange(bt){this.onChange=sn=>{bt(""==sn?null:parseFloat(sn))}}}return(Ct=ot).\u0275fac=(()=>{let Zt;return function(sn){return(Zt||(Zt=c.xGo(Ct)))(sn||Ct)}})(),Ct.\u0275dir=c.FsC({type:Ct,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(bt,sn){1&bt&&c.bIt("input",function(wi){return sn.onChange(wi.target.value)})("blur",function(){return sn.onTouched()})},features:[c.Jv_([Pi]),c.Vt3]}),ot})();const rn={provide:h,useExisting:(0,c.Rfq)(()=>vt),multi:!0};function Dn(Ct,ot){return null==Ct?`${ot}`:(ot&&"object"==typeof ot&&(ot="Object"),`${Ct}: ${ot}`.slice(0,50))}let vt=(()=>{var Ct;class ot extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(bt){this._compareWith=bt}writeValue(bt){this.value=bt;const ai=Dn(this._getOptionId(bt),bt);this.setProperty("value",ai)}registerOnChange(bt){this.onChange=sn=>{this.value=this._getOptionValue(sn),bt(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(bt){for(const sn of this._optionMap.keys())if(this._compareWith(this._optionMap.get(sn),bt))return sn;return null}_getOptionValue(bt){const sn=function Bi(Ct){return Ct.split(":")[0]}(bt);return this._optionMap.has(sn)?this._optionMap.get(sn):bt}}return(Ct=ot).\u0275fac=(()=>{let Zt;return function(sn){return(Zt||(Zt=c.xGo(Ct)))(sn||Ct)}})(),Ct.\u0275dir=c.FsC({type:Ct,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(bt,sn){1&bt&&c.bIt("change",function(wi){return sn.onChange(wi.target.value)})("blur",function(){return sn.onTouched()})},inputs:{compareWith:"compareWith"},features:[c.Jv_([rn]),c.Vt3]}),ot})(),Kt=(()=>{var Ct;
1class ot{constructor(bt,sn,ai){this._element=bt,this._renderer=sn,this._select=ai,this._select&&(this.id=this._select._registerOption())}set ngValue(bt){null!=this._select&&(this._select._optionMap.set(this.id,bt),this._setElementValue(Dn(this.id,bt)),this._select.writeValue(this._select.value))}set value(bt){this._setElementValue(bt),this._select&&this._select.writeValue(this._select.value)}_setElementValue(bt){this._renderer.setProperty(this._element.nativeElement,"value",bt)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(Ct=ot).\u0275fac=function(bt){return new(bt||Ct)(c.rXU(c.aKT),c.rXU(c.sFG),c.rXU(vt,9))},Ct.\u0275dir=c.FsC({type:Ct,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),ot})();const cn={provide:h,useExisting:(0,c.Rfq)(()=>Ir),multi:!0};function Pn(Ct,ot){return null==Ct?`${ot}`:("string"==typeof ot&&(ot=`'${ot}'`),ot&&"object"==typeof ot&&(ot="Object"),`${Ct}: ${ot}`.slice(0,50))}let Ir=(()=>{var Ct;class ot extends s{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(bt){this._compareWith=bt}writeValue(bt){let sn;if(this.value=bt,Array.isArray(bt)){const ai=bt.map(wi=>this._getOptionId(wi));sn=(wi,Ns)=>{wi._setSelected(ai.indexOf(Ns.toString())>-1)}}else sn=(ai,wi)=>{ai._setSelected(!1)};this._optionMap.forEach(sn)}registerOnChange(bt){this.onChange=sn=>{const ai=[],wi=sn.selectedOptions;if(void 0!==wi){const Ns=wi;for(let ca=0;ca<Ns.length;ca++){const ga=this._getOptionValue(Ns[ca].value);ai.push(ga)}}else{const Ns=sn.options;for(let ca=0;ca<Ns.length;ca++){const Xo=Ns[ca];if(Xo.selected){const ga=this._getOptionValue(Xo.value);ai.push(ga)}}}this.value=ai,bt(ai)}}_registerOption(bt){const sn=(this._idCounter++).toString();return this._optionMap.set(sn,bt),sn}_getOptionId(bt){for(const sn of this._optionMap.keys())if(this._compareWith(this._optionMap.get(sn)._value,bt))return sn;return null}_getOptionValue(bt){const sn=function Yn(Ct){return Ct.split(":")[0]}(bt);return this._optionMap.has(sn)?this._optionMap.get(sn)._value:bt}}return(Ct=ot).\u0275fac=(()=>{let Zt;return function(sn){return(Zt||(Zt=c.xGo(Ct)))(sn||Ct)}})(),Ct.\u0275dir=c.FsC({type:Ct,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(bt,sn){1&bt&&c.bIt("change",function(wi){return sn.onChange(wi.target)})("blur",function(){return sn.onTouched()})},inputs:{compareWith:"compareWith"},features:[c.Jv_([cn]),c.Vt3]}),ot})(),Wr=(()=>{var Ct;
1class ot{constructor(bt,sn,ai){this._element=bt,this._renderer=sn,this._select=ai,this._select&&(this.id=this._select._registerOption(this))}set ngValue(bt){null!=this._select&&(this._value=bt,this._setElementValue(Pn(this.id,bt)),this._select.writeValue(this._select.value))}set value(bt){this._select?(this._value=bt,this._setElementValue(Pn(this.id,bt)),this._select.writeValue(this._select.value)):this._setElementValue(bt)}_setElementValue(bt){this._renderer.setProperty(this._element.nativeElement,"value",bt)}_setSelected(bt){this._renderer.setProperty(this._element.nativeElement,"selected",bt)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(Ct=ot).\u0275fac=function(bt){return new(bt||Ct)(c.rXU(c.aKT),c.rXU(c.sFG),c.rXU(Ir,9))},Ct.\u0275dir=c.FsC({type:Ct,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),ot})();function Hr(Ct){return"number"==typeof Ct?Ct:parseFloat(Ct)}let ui=(()=>{var Ct;class ot{constructor(){this._validator=ae}ngOnChanges(bt){if(this.inputName in bt){const sn=this.normalizeInput(bt[this.inputName].currentValue);this._enabled=this.enabled(sn),this._validator=this._enabled?this.createValidator(sn):ae,this._onChange&&this._onChange()}}validate(bt){return this._validator(bt)}registerOnValidatorChange(bt){this._onChange=bt}enabled(bt){return null!=bt}}return(Ct=ot).\u0275fac=function(bt){return new(bt||Ct)},Ct.\u0275dir=c.FsC({type:Ct,features:[c.OA$]}),ot})();const Ci={provide:k,useExisting:(0,c.Rfq)(()=>pi),multi:!0};let pi=(()=>{var Ct;class ot extends ui{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=bt=>Hr(bt),this.createValidator=bt=>function H(Ct){return ot=>{if(R(ot.value)||R(Ct))return null;const Zt=parseFloat(ot.value);return!isNaN(Zt)&&Zt>Ct?{max:{max:Ct,actual:ot.value}}:null}}(bt)}}return(Ct=ot).\u0275fac=(()=>{let Zt;return function(sn){return(Zt||(Zt=c.xGo(Ct)))(sn||Ct)}})(),Ct.\u0275dir=c.FsC({type:Ct,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(bt,sn){2&bt&&c.BMQ("max",sn._enabled?sn.max:null)},inputs:{max:"max"},features:[c.Jv_([Ci]),c.Vt3]}),ot})();const Fi={provide:k,useExisting:(0,c.Rfq)(()=>yo),multi:!0};let yo=(()=>{var Ct;class ot extends ui{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=bt=>Hr(bt),this.createValidator=bt=>function z(Ct){return ot=>{if(R(ot.value)||R(Ct))return null;const Zt=parseFloat(ot.value);return!isNaN(Zt)&&Zt<Ct?{min:{min:Ct,actual:ot.value}}:null}}(bt)}}return(Ct=ot).\u0275fac=(()=>{let Zt;return function(sn){return(Zt||(Zt=c.xGo(Ct)))(sn||Ct)}})(),Ct.\u0275dir=c.FsC({type:Ct,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(bt,sn){2&bt&&c.BMQ("min",sn._enabled?sn.min:null)},inputs:{min:"min"},features:[c.Jv_([Fi]),c.Vt3]}),ot})();const ia={provide:k,useExisting:(0,c.Rfq)(()=>oa),multi:!0};let oa=(()=>{var Ct;class ot extends ui{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=bt=>
1function Or(Ct){return"number"==typeof Ct?Ct:parseInt(Ct,10)}(bt),this.createValidator=bt=>function ee(Ct){return ot=>function P(Ct){return null!=Ct&&"number"==typeof Ct.length}(ot.value)&&ot.value.length>Ct?{maxlength:{requiredLength:Ct,actualLength:ot.value.length}}:null}(bt)}}return(Ct=ot).\u0275fac=(()=>{let Zt;return function(sn){return(Zt||(Zt=c.xGo(Ct)))(sn||Ct)}})(),Ct.\u0275dir=c.FsC({type:Ct,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(bt,sn){2&bt&&c.BMQ("maxlength",sn._enabled?sn.maxlength:null)},inputs:{maxlength:"maxlength"},features:[c.Jv_([ia]),c.Vt3]}),ot})(),Us=(()=>{var Ct;class ot{}return(Ct=ot).\u0275fac=function(bt){return new(bt||Ct)},Ct.\u0275mod=c.$C({type:Ct}),Ct.\u0275inj=c.G2t({}),ot})(),aa=(()=>{var Ct;class ot{static withConfig(bt){var sn;return{ngModule:ot,providers:[{provide:Xn,useValue:null!==(sn=bt.callSetDisabledState)&&void 0!==sn?sn:nr}]}}}return(Ct=ot).\u0275fac=function(bt){return new(bt||Ct)},Ct.\u0275mod=c.$C({type:Ct}),Ct.\u0275inj=c.G2t({imports:[Us]}),ot})()},345:(ge,_,f)=>{"use strict";f.d(_,{B7:()=>Z,Bb:()=>St,EZ:()=>Fr,hE:()=>Ft,kQ:()=>or,sG:()=>Pt,up:()=>ur});var c=f(54438),o=f(60177);class C extends o.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class a extends C{static makeCurrent(){(0,o.ZD)(new a)}onAndCancel(zt,vn,ln){return zt.addEventListener(vn,ln),()=>{zt.removeEventListener(vn,ln)}}dispatchEvent(zt,vn){zt.dispatchEvent(vn)}remove(zt){zt.parentNode&&zt.parentNode.removeChild(zt)}createElement(zt,vn){return(vn=vn||this.getDefaultDocument()).createElement(zt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(zt){return zt.nodeType===Node.ELEMENT_NODE}isShadowRoot(zt){return zt instanceof DocumentFragment}getGlobalEventTarget(zt,vn){return"window"===vn?window:"document"===vn?zt:"body"===vn?zt.body:null}getBaseHref(zt){const vn=function T(){return E=E||document.querySelector("base"),E?E.getAttribute("href"):null}();return null==vn?null:function s(Rt){return new URL(Rt,document.baseURI).pathname}(vn)}resetBaseElement(){E=null}getUserAgent(){return window.navigator.userAgent}getCookie(zt){return(0,o._b)(document.cookie,zt)}}let E=null,u=(()=>{var Rt;class zt{build(){return new XMLHttpRequest}}return(Rt=zt).\u0275fac=function(ln){return new(ln||Rt)},Rt.\u0275prov=c.jDH({token:Rt,factory:Rt.\u0275fac}),zt})();const v=new c.nKC("");let g=(()=>{var Rt;class zt{constructor(ln,Sn){this._zone=Sn,this._eventNameToPlugin=new Map,ln.forEach(dr=>{dr.manager=this}),this._plugins=ln.slice().reverse()}addEventListener(ln,Sn,dr){return this._findPluginFor(Sn).addEventListener(ln,Sn,dr)}getZone(){return this._zone}_findPluginFor(ln){let Sn=this._eventNameToPlugin.get(ln);if(Sn)return Sn;if(Sn=this._plugins.find(En=>En.supports(ln)),!Sn)throw new c.wOt(5101,!1);return this._eventNameToPlugin.set(ln,Sn),Sn}}return(Rt=zt).\u0275fac=function(ln){return new(ln||Rt)(c.KVO(v),c.KVO(c.SKi))},Rt.\u0275prov=c.jDH({token:Rt,factory:Rt.\u0275fac}),zt})();class y{constructor(zt){this._doc=zt}}const p="ng-app-id";let b=(()=>{var Rt;class zt{constructor(ln,Sn,dr,En={}){this.doc=ln,this.appId=Sn,this.nonce=dr,this.platformId=En,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,o.Vy)(En),this.resetHostNodes()}addStyles(ln){for(const Sn of ln)1===this.changeUsageCount(Sn,1)&&this.onStyleAdded(Sn)}removeStyles(ln){for(const Sn of ln)this.changeUsageCount(Sn,-1)<=0&&this.onStyleRemoved(Sn)}ngOnDestroy(){const ln=this.styleNodesInDOM;ln&&(ln.forEach(Sn=>Sn.remove()),ln.clear());for(const Sn of this.getAllStyles())this.onStyleRemoved(Sn);this.resetHostNodes()}addHost(ln){this.hostNodes.add(ln);for(const Sn of this.getAllStyles())this.addStyleToHost(ln,Sn)}removeHost(ln){this.hostNodes.delete(ln)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(ln){for(const Sn of this.hostNodes)this.addStyleToHost(Sn,ln)}onStyleRemoved(ln){var Sn;const dr=this.styleRef;null===(Sn=dr.get(ln))||void 0===Sn||null===(Sn=Sn.elements)||void 0===Sn||Sn.forEach(En=>En.remove()),dr.delete(ln)}collectServerRenderedStyles(){var ln;const Sn=null===(ln=this.doc.head)||void 0===ln?void 0:ln.querySelectorAll(`style[${p}="${this.appId}"]`);if(null!=Sn&&Sn.length){const dr=new Map;return Sn.forEach(En=>{null!=En.textContent&&dr.set(En.textContent,En)}),dr}return null}
1changeUsageCount(ln,Sn){const dr=this.styleRef;if(dr.has(ln)){const En=dr.get(ln);return En.usage+=Sn,En.usage}return dr.set(ln,{usage:Sn,elements:[]}),Sn}getStyleElement(ln,Sn){const dr=this.styleNodesInDOM,En=null==dr?void 0:dr.get(Sn);if((null==En?void 0:En.parentNode)===ln)return dr.delete(Sn),En.removeAttribute(p),En;{const tn=this.doc.createElement("style");return this.nonce&&tn.setAttribute("nonce",this.nonce),tn.textContent=Sn,this.platformIsServer&&tn.setAttribute(p,this.appId),ln.appendChild(tn),tn}}addStyleToHost(ln,Sn){var dr;const En=this.getStyleElement(ln,Sn),tn=this.styleRef,bn=null===(dr=tn.get(Sn))||void 0===dr?void 0:dr.elements;bn?bn.push(En):tn.set(Sn,{elements:[En],usage:1})}resetHostNodes(){const ln=this.hostNodes;ln.clear(),ln.add(this.doc.head)}}return(Rt=zt).\u0275fac=function(ln){return new(ln||Rt)(c.KVO(o.qQ),c.KVO(c.sZ2),c.KVO(c.BIS,8),c.KVO(c.Agw))},Rt.\u0275prov=c.jDH({token:Rt,factory:Rt.\u0275fac}),zt})();const R={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/MathML/"},P=/%COMP%/g,k="%COMP%",O=`_nghost-${k}`,V=`_ngcontent-${k}`,z=new c.nKC("",{providedIn:"root",factory:()=>!0});function q(Rt,zt){return zt.map(vn=>vn.replace(P,Rt))}let Z=(()=>{var Rt;class zt{constructor(ln,Sn,dr,En,tn,bn,Cn,Kn=null){this.eventManager=ln,this.sharedStylesHost=Sn,this.appId=dr,this.removeStylesOnCompDestroy=En,this.doc=tn,this.platformId=bn,this.ngZone=Cn,this.nonce=Kn,this.rendererByCompId=new Map,this.platformIsServer=(0,o.Vy)(bn),this.defaultRenderer=new de(ln,tn,Cn,this.platformIsServer)}createRenderer(ln,Sn){if(!ln||!Sn)return this.defaultRenderer;this.platformIsServer&&Sn.encapsulation===c.gXe.ShadowDom&&(Sn={...Sn,encapsulation:c.gXe.Emulated});const dr=this.getOrCreateRenderer(ln,Sn);return dr instanceof ce?dr.applyToHost(ln):dr instanceof ne&&dr.applyStyles(),dr}getOrCreateRenderer(ln,Sn){const dr=this.rendererByCompId;let En=dr.get(Sn.id);if(!En){const tn=this.doc,bn=this.ngZone,Cn=this.eventManager,Kn=this.sharedStylesHost,Xn=this.removeStylesOnCompDestroy,nr=this.platformIsServer;switch(Sn.encapsulation){case c.gXe.Emulated:En=new ce(Cn,Kn,Sn,this.appId,Xn,tn,bn,nr);break;case c.gXe.ShadowDom:return new fe(Cn,Kn,ln,Sn,tn,bn,this.nonce,nr);default:En=new ne(Cn,Kn,Sn,Xn,tn,bn,nr)}dr.set(Sn.id,En)}return En}ngOnDestroy(){this.rendererByCompId.clear()}}return(Rt=zt).\u0275fac=function(ln){return new(ln||Rt)(c.KVO(g),c.KVO(b),c.KVO(c.sZ2),c.KVO(z),c.KVO(o.qQ),c.KVO(c.Agw),c.KVO(c.SKi),c.KVO(c.BIS))},Rt.\u0275prov=c.jDH({token:Rt,factory:Rt.\u0275fac}),zt})();class de{constructor(zt,vn,ln,Sn){this.eventManager=zt,this.doc=vn,this.ngZone=ln,this.platformIsServer=Sn,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(zt,vn){return vn?this.doc.createElementNS(R[vn]||vn,zt):this.doc.createElement(zt)}createComment(zt){return this.doc.createComment(zt)}createText(zt){return this.doc.createTextNode(zt)}appendChild(zt,vn){(ae(zt)?zt.content:zt).appendChild(vn)}insertBefore(zt,vn,ln){zt&&(ae(zt)?zt.content:zt).insertBefore(vn,ln)}removeChild(zt,vn){zt&&zt.removeChild(vn)}selectRootElement(zt,vn){let ln="string"==typeof zt?this.doc.querySelector(zt):zt;if(!ln)throw new c.wOt(-5104,!1);return vn||(ln.textContent=""),ln}parentNode(zt){return zt.parentNode}nextSibling(zt){return zt.nextSibling}setAttribute(zt,vn,ln,Sn){if(Sn){vn=Sn+":"+vn;const dr=R[Sn];dr?zt.setAttributeNS(dr,vn,ln):zt.setAttribute(vn,ln)}else zt.setAttribute(vn,ln)}removeAttribute(zt,vn,ln){if(ln){const Sn=R[ln];Sn?zt.removeAttributeNS(Sn,vn):zt.removeAttribute(`${ln}:${vn}`)}else zt.removeAttribute(vn)}addClass(zt,vn){zt.classList.add(vn)}removeClass(zt,vn){zt.classList.remove(vn)}setStyle(zt,vn,ln,Sn){Sn&(c.czy.DashCase|c.czy.Important)?zt.style.setProperty(vn,ln,Sn&c.czy.Important?"important":""):zt.style[vn]=ln}removeStyle(zt,vn,ln){ln&c.czy.DashCase?zt.style.removeProperty(vn):zt.style[vn]=""}setProperty(zt,vn,ln){null!=zt&&(zt[vn]=ln)}setValue(zt,vn){zt.nodeValue=vn}listen(zt,vn,ln){if("string"==typeof zt&&!(zt=(0,o.QT)().getGlobalEventTarget(this.doc,zt)))throw new Error(`Unsupported event target ${zt} for event ${vn}`);return this.eventManager.addEventListener(zt,vn,this.decoratePreventDefault(ln))}decoratePreventDefault(zt){return vn=>
1{if("__ngUnwrap__"===vn)return zt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>zt(vn)):zt(vn))&&vn.preventDefault()}}}function ae(Rt){return"TEMPLATE"===Rt.tagName&&void 0!==Rt.content}class fe extends de{constructor(zt,vn,ln,Sn,dr,En,tn,bn){super(zt,dr,En,bn),this.sharedStylesHost=vn,this.hostEl=ln,this.shadowRoot=ln.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Cn=q(Sn.id,Sn.styles);for(const Kn of Cn){const Xn=document.createElement("style");tn&&Xn.setAttribute("nonce",tn),Xn.textContent=Kn,this.shadowRoot.appendChild(Xn)}}nodeOrShadowRoot(zt){return zt===this.hostEl?this.shadowRoot:zt}appendChild(zt,vn){return super.appendChild(this.nodeOrShadowRoot(zt),vn)}insertBefore(zt,vn,ln){return super.insertBefore(this.nodeOrShadowRoot(zt),vn,ln)}removeChild(zt,vn){return super.removeChild(this.nodeOrShadowRoot(zt),vn)}parentNode(zt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(zt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ne extends de{constructor(zt,vn,ln,Sn,dr,En,tn,bn){super(zt,dr,En,tn),this.sharedStylesHost=vn,this.removeStylesOnCompDestroy=Sn,this.styles=bn?q(bn,ln.styles):ln.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ce extends ne{constructor(zt,vn,ln,Sn,dr,En,tn,bn){const Cn=Sn+"-"+ln.id;super(zt,vn,ln,dr,En,tn,bn,Cn),this.contentAttr=function H(Rt){return V.replace(P,Rt)}(Cn),this.hostAttr=function x(Rt){return O.replace(P,Rt)}(Cn)}applyToHost(zt){this.applyStyles(),this.setAttribute(zt,this.hostAttr,"")}createElement(zt,vn){const ln=super.createElement(zt,vn);return super.setAttribute(ln,this.contentAttr,""),ln}}let me=(()=>{var Rt;class zt extends y{constructor(ln){super(ln)}supports(ln){return!0}addEventListener(ln,Sn,dr){return ln.addEventListener(Sn,dr,!1),()=>this.removeEventListener(ln,Sn,dr)}removeEventListener(ln,Sn,dr){return ln.removeEventListener(Sn,dr)}}return(Rt=zt).\u0275fac=function(ln){return new(ln||Rt)(c.KVO(o.qQ))},Rt.\u0275prov=c.jDH({token:Rt,factory:Rt.\u0275fac}),zt})();const re=["alt","control","meta","shift"],$={"\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"},X={alt:Rt=>Rt.altKey,control:Rt=>Rt.ctrlKey,meta:Rt=>Rt.metaKey,shift:Rt=>Rt.shiftKey};let M=(()=>{var Rt;class zt extends y{constructor(ln){super(ln)}supports(ln){return null!=zt.parseEventName(ln)}addEventListener(ln,Sn,dr){const En=zt.parseEventName(Sn),tn=zt.eventCallback(En.fullKey,dr,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.QT)().onAndCancel(ln,En.domEventName,tn))}static parseEventName(ln){const Sn=ln.toLowerCase().split("."),dr=Sn.shift();if(0===Sn.length||"keydown"!==dr&&"keyup"!==dr)return null;const En=zt._normalizeKey(Sn.pop());let tn="",bn=Sn.indexOf("code");if(bn>-1&&(Sn.splice(bn,1),tn="code."),re.forEach(Kn=>{const Xn=Sn.indexOf(Kn);Xn>-1&&(Sn.splice(Xn,1),tn+=Kn+".")}),tn+=En,0!=Sn.length||0===En.length)return null;const Cn={};return Cn.domEventName=dr,Cn.fullKey=tn,Cn}static matchEventFullKeyCode(ln,Sn){let dr=$[ln.key]||ln.key,En="";return Sn.indexOf("code.")>-1&&(dr=ln.code,En="code."),!(null==dr||!dr)&&(dr=dr.toLowerCase()," "===dr?dr="space":"."===dr&&(dr="dot"),re.forEach(tn=>{tn!==dr&&(0,X[tn])(ln)&&(En+=tn+".")}),En+=dr,En===Sn)}static eventCallback(ln,Sn,dr){return En=>{zt.matchEventFullKeyCode(En,ln)&&dr.runGuarded(()=>Sn(En))}}static _normalizeKey(ln){return"esc"===ln?"escape":ln}}return(Rt=zt).\u0275fac=function(ln){return new(ln||Rt)(c.KVO(o.qQ))},Rt.\u0275prov=c.jDH({token:Rt,factory:Rt.\u0275fac}),zt})();const Pt=(0,c.oH4)(c.fpN,"browser",[{provide:c.Agw,useValue:o.AJ},{provide:c.PLl,useValue:function we(){a.makeCurrent()},multi:!0},{provide:o.qQ,useFactory:function et(){return(0,c.TL$)(document),document},deps:[]}]),At=new c.nKC(""),It=[{provide:c.e01,useClass:class h{addToWindow(zt){c.JZv.getAngularTestability=(ln,Sn=!0)=>{const dr=zt.findTestabilityInTree(ln,Sn);if(null==dr)throw new c.wOt(5103,!1);return dr},c.JZv.getAllAngularTestabilities=()=>zt.getAllTestabilities(),c.JZv.getAllAngularRootElements=()=>zt.getAllRootElements(),c.JZv.frameworkStabilizers||(c.JZv.frameworkStabilizers=[]),c.JZv.frameworkStabilizers.push(ln=>{const Sn=c.JZv.getAllAngularTestabilities();let dr=Sn.length;const En=function(){dr--,0==dr&&ln()};Sn.forEach(tn=>{tn.whenStable(En)})})}findTestabilityInTree(zt,vn,ln){if(null==vn)return null;const Sn=zt.getTestability(vn);return null!=Sn?Sn:ln?(0,o.QT)().isShadowRoot(vn)?this.findTestabilityInTree(zt,vn.host,!0):this.findTestabilityInTree(zt,vn.parentElement,!0):null}},deps:[]},{provide:c.WHO,useClass:c.NYb,deps:[c.SKi,c.giA,c.e01]},{provide:c.NYb,useClass:c.NYb,deps:[c.SKi,c.giA,c.e01]}],qt=[{provide:c.H8p,useValue:"root"},{provide:c.zcH,useFactory:function Re(){return new c.zcH},deps:[]},{provide:v,useClass:me,multi:!0,deps:[o.qQ,c.SKi,c.Agw]},{provide:v,useClass:M,multi:!0,deps:[o.qQ]},Z,b,g,{provide:c._9s,useExisting:Z},{provide:o.N0,useClass:u,deps:[]},[]];let St=(()=>{var Rt;class zt{constructor(ln){}static withServerTransition(ln){return{ngModule:zt,providers:[{provide:c.sZ2,useValue:ln.appId}]}}}return(Rt=zt).\u0275fac=function(ln){return new(ln||Rt)(c.KVO(At,12))},Rt.\u0275mod=c.$C({type:Rt}),Rt.\u0275inj=c.G2t({providers:[...qt,...It],imports:[o.MD,c.Hbi]}),zt})(),Ft=(()=>{var Rt;class zt{constructor(ln){this._doc=ln}getTitle(){return this._doc.title}setTitle(ln){this._doc.title=ln||""}}return(Rt=zt).\u0275fac=function(ln){return new(ln||Rt)(c.KVO(o.qQ))},Rt.\u0275prov=c.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"}),zt})();const or=new c.nKC("HammerGestureConfig");let Fr=(()=>{var Rt;class zt{constructor(){this.events=[],this.overrides={}}buildHammer(ln){const Sn=new Hammer(ln,this.options);Sn.get("pinch").set({enable:!0}),Sn.get("rotate").set({enable:!0});for(const dr in this.overrides)Sn.get(dr).set(this.overrides[dr]);return Sn}}return(Rt=zt).\u0275fac=function(ln){return new(ln||Rt)},Rt.\u0275prov=c.jDH({token:Rt,factory:Rt.\u0275fac}),zt})(),ur=(()=>{var Rt;class zt{}return(Rt=zt).\u0275fac=function(ln){return new(ln||Rt)},Rt.\u0275prov=c.jDH({token:Rt,factory:function(ln){let Sn=null;return Sn=ln?new(ln||Rt):c.KVO(tr),Sn},providedIn:"root"}),zt})(),tr=(()=>{var Rt;class zt extends ur{constructor(ln){super(),this._doc=ln}sanitize(ln,Sn){if(null==Sn)return null;switch(ln){case c.WPN.NONE:return Sn;case c.WPN.HTML:return(0,c.ZF7)(Sn,"HTML")?(0,c.rcV)(Sn):(0,c.h9k)(this._doc,String(Sn)).toString();case c.WPN.STYLE:return(0,c.ZF7)(Sn,"Style")?(0,c.rcV)(Sn):Sn;case c.WPN.SCRIPT:if((0,c.ZF7)(Sn,"Script"))return(0,c.rcV)(Sn);throw new c.wOt(5200,!1);case c.WPN.URL:return(0,c.ZF7)(Sn,"URL")?(0,c.rcV)(Sn):(0,c.$MX)(String(Sn));case c.WPN.RESOURCE_URL:if((0,c.ZF7)(Sn,"ResourceURL"))return(0,c.rcV)(Sn);throw new c.wOt(5201,!1);default:throw new c.wOt(5202,!1)}}
1bypassSecurityTrustHtml(ln){return(0,c.Kcf)(ln)}bypassSecurityTrustStyle(ln){return(0,c.cWb)(ln)}bypassSecurityTrustScript(ln){return(0,c.UyX)(ln)}bypassSecurityTrustUrl(ln){return(0,c.osQ)(ln)}bypassSecurityTrustResourceUrl(ln){return(0,c.e5t)(ln)}}return(Rt=zt).\u0275fac=function(ln){return new(ln||Rt)(c.KVO(o.qQ))},Rt.\u0275prov=c.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"}),zt})()},24042:(ge,_,f)=>{"use strict";f.d(_,{nX:()=>Ut,Zp:()=>$s,j5:()=>en,wF:()=>Oe,L6:()=>In,Z:()=>Fe,Xk:()=>at,Kp:()=>Is,gx:()=>Ar,b:()=>vr,Ix:()=>ri,Wk:()=>na,iI:()=>Cr,Sd:()=>Br});var c=f(10467),o=f(54438),C=f(74402),a=f(86648),E=f(7673),T=f(84412),s=f(84572),h=f(9350),u=f(28793),v=f(59030),g=f(71203),y=f(18810),p=f(983),b=f(30017),R=f(21413),P=f(18359),k=f(60177),O=f(96354),V=f(25558),K=f(96697),z=f(9326),H=f(39974),q=f(5964),Z=f(31397),de=f(54360);function ee(Ae){return(0,H.N)((je,Je)=>{let Me=!1;je.subscribe((0,de._)(Je,Qe=>{Me=!0,Je.next(Qe)},()=>{Me||Je.next(Ae),Je.complete()}))})}function Y(Ae=ae){return(0,H.N)((je,Je)=>{let Me=!1;je.subscribe((0,de._)(Je,Qe=>{Me=!0,Je.next(Qe)},()=>Me?Je.complete():Je.error(Ae())))})}function ae(){return new h.G}var fe=f(33669);function ne(Ae,je){const Je=arguments.length>=2;return Me=>Me.pipe(Ae?(0,q.p)((Qe,Ht)=>Ae(Qe,Ht,Me)):fe.D,(0,K.s)(1),Je?ee(je):Y(()=>new h.G))}var ce=f(70274),me=f(88141),re=f(99437);function M(Ae){return Ae<=0?()=>p.w:(0,H.N)((je,Je)=>{let Me=[];je.subscribe((0,de._)(Je,Qe=>{Me.push(Qe),Ae<Me.length&&Me.shift()},()=>{for(const Qe of Me)Je.next(Qe);Je.complete()},void 0,()=>{Me=null}))})}var G=f(73703),ue=f(70980),ve=f(99898),we=f(56977),Re=f(26365),et=f(345);const at="primary",Pt=Symbol("RouteTitle");class At{constructor(je){this.params=je||{}}has(je){return Object.prototype.hasOwnProperty.call(this.params,je)}get(je){if(this.has(je)){const Je=this.params[je];return Array.isArray(Je)?Je[0]:Je}return null}getAll(je){if(this.has(je)){const Je=this.params[je];return Array.isArray(Je)?Je:[Je]}return[]}get keys(){return Object.keys(this.params)}}function It(Ae){return new At(Ae)}function qt(Ae,je,Je){const Me=Je.path.split("/");if(Me.length>Ae.length||"full"===Je.pathMatch&&(je.hasChildren()||Me.length<Ae.length))return null;const Qe={};for(let Ht=0;Ht<Me.length;Ht++){const Bt=Me[Ht],Mn=Ae[Ht];if(Bt.startsWith(":"))Qe[Bt.substring(1)]=Mn;else if(Bt!==Mn.path)return null}return{consumed:Ae.slice(0,Me.length),posParams:Qe}}function lt(Ae,je){const Je=Ae?yt(Ae):void 0,Me=je?yt(je):void 0;if(!Je||!Me||Je.length!=Me.length)return!1;let Qe;for(let Ht=0;Ht<Je.length;Ht++)if(Qe=Je[Ht],!Ft(Ae[Qe],je[Qe]))return!1;return!0}function yt(Ae){return[...Object.keys(Ae),...Object.getOwnPropertySymbols(Ae)]}function Ft(Ae,je){if(Array.isArray(Ae)&&Array.isArray(je)){if(Ae.length!==je.length)return!1;const Je=[...Ae].sort(),Me=[...je].sort();return Je.every((Qe,Ht)=>Me[Ht]===Qe)}return Ae===je}function rt(Ae){return Ae.length>0?Ae[Ae.length-1]:null}function mt(Ae){return(0,C.A)(Ae)?Ae:(0,o.jNT)(Ae)?(0,a.H)(Promise.resolve(Ae)):(0,E.of)(Ae)}const Mt={exact:function Tn(Ae,je,Je){if(!tr(Ae.segments,je.segments)||!br(Ae.segments,je.segments,Je)||Ae.numberOfChildren!==je.numberOfChildren)return!1;for(const Me in je.children)if(!Ae.children[Me]||!Tn(Ae.children[Me],je.children[Me],Je))return!1;return!0},subset:jn},Vt={exact:function $n(Ae,je){return lt(Ae,je)},subset:function An(Ae,je){return Object.keys(je).length<=Object.keys(Ae).length&&Object.keys(je).every(Je=>Ft(Ae[Je],je[Je]))},ignored:()=>!0};function Lt(Ae,je,Je){return Mt[Je.paths](Ae.root,je.root,Je.matrixParams)&&Vt[Je.queryParams](Ae.queryParams,je.queryParams)&&!("exact"===Je.fragment&&Ae.fragment!==je.fragment)}function jn(Ae,je,Je){return or(Ae,je,je.segments,Je)}function or(Ae,je,Je,Me){if(Ae.segments.length>Je.length){const Qe=Ae.segments.slice(0,Je.length);return!(!tr(Qe,Je)||je.hasChildren()||!br(Qe,Je,Me))}if(Ae.segments.length===Je.length){if(!tr(Ae.segments,Je)||!br(Ae.segments,Je,Me))return!1;for(const Qe in je.children)if(!Ae.children[Qe]||!jn(Ae.children[Qe],je.children[Qe],Me))return!1;return!0}{const Qe=Je.slice(0,Ae.segments.length),Ht=Je.slice(Ae.segments.length);return!!(tr(Ae.segments,Qe)&&br(Ae.segments,Qe,Me)&&Ae.children[at])&&or(Ae.children[at],je,Ht,Me)}}function br(Ae,je,Je){return je.every((Me,Qe)=>Vt[Je](Ae[Qe].parameters,Me.parameters))}class Fr{constructor(je=new On([],{}),Je={},Me=null){this.root=je,this.queryParams=Je,this.fragment=Me}get queryParamMap(){var je;return null!==(je=this._queryParamMap)&&void 0!==je||(this._queryParamMap=It(this.queryParams)),this._queryParamMap}toString(){return qr.serialize(this)}}class On{constructor(je,Je){this.segments=je,this.children=Je,this.parent=null,Object.values(Je).forEach(Me=>Me.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return _r(this)}}class sr{constructor(je,Je){this.path=je,this.parameters=Je}get parameterMap(){var je;return null!==(je=this._parameterMap)&&void 0!==je||(this._parameterMap=It(this.parameters)),this._parameterMap}toString(){return ln(this)}}function tr(Ae,je){return Ae.length===je.length&&Ae.every((Je,Me)=>
1Je.path===je[Me].path)}let Br=(()=>{var Ae;class je{}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)},Ae.\u0275prov=o.jDH({token:Ae,factory:()=>new Gr,providedIn:"root"}),je})();class Gr{parse(je){const Je=new fr(je);return new Fr(Je.parseRootSegment(),Je.parseQueryParams(),Je.parseFragment())}serialize(je){const Je=`/${hr(je.root,!0)}`,Me=function dr(Ae){const je=Object.entries(Ae).map(([Je,Me])=>Array.isArray(Me)?Me.map(Qe=>`${$r(Je)}=${$r(Qe)}`).join("&"):`${$r(Je)}=${$r(Me)}`).filter(Je=>Je);return je.length?`?${je.join("&")}`:""}(je.queryParams);return`${Je}${Me}${"string"==typeof je.fragment?`#${function Xr(Ae){return encodeURI(Ae)}(je.fragment)}`:""}`}}const qr=new Gr;function _r(Ae){return Ae.segments.map(je=>ln(je)).join("/")}function hr(Ae,je){if(!Ae.hasChildren())return _r(Ae);if(je){const Je=Ae.children[at]?hr(Ae.children[at],!1):"",Me=[];return Object.entries(Ae.children).forEach(([Qe,Ht])=>{Qe!==at&&Me.push(`${Qe}:${hr(Ht,!1)}`)}),Me.length>0?`${Je}(${Me.join("//")})`:Je}{const Je=function Lr(Ae,je){let Je=[];return Object.entries(Ae.children).forEach(([Me,Qe])=>{Me===at&&(Je=Je.concat(je(Qe,Me)))}),Object.entries(Ae.children).forEach(([Me,Qe])=>{Me!==at&&(Je=Je.concat(je(Qe,Me)))}),Je}(Ae,(Me,Qe)=>Qe===at?[hr(Ae.children[at],!1)]:[`${Qe}:${hr(Me,!1)}`]);return 1===Object.keys(Ae.children).length&&null!=Ae.children[at]?`${_r(Ae)}/${Je[0]}`:`${_r(Ae)}/(${Je.join("//")})`}}function Nr(Ae){return encodeURIComponent(Ae).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $r(Ae){return Nr(Ae).replace(/%3B/gi,";")}function Rt(Ae){return Nr(Ae).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function zt(Ae){return decodeURIComponent(Ae)}function vn(Ae){return zt(Ae.replace(/\+/g,"%20"))}function ln(Ae){return`${Rt(Ae.path)}${function Sn(Ae){return Object.entries(Ae).map(([je,Je])=>`;${Rt(je)}=${Rt(Je)}`).join("")}(Ae.parameters)}`}const En=/^[^\/()?;#]+/;function tn(Ae){const je=Ae.match(En);return je?je[0]:""}const bn=/^[^\/()?;=#]+/,Kn=/^[^=?&#]+/,nr=/^[^&#]+/;class fr{constructor(je){this.url=je,this.remaining=je}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new On([],{}):new On([],this.parseChildren())}parseQueryParams(){const je={};if(this.consumeOptional("?"))do{this.parseQueryParam(je)}while(this.consumeOptional("&"));return je}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const je=[];for(this.peekStartsWith("(")||je.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),je.push(this.parseSegment());let Je={};this.peekStartsWith("/(")&&(this.capture("/"),Je=this.parseParens(!0));let Me={};return this.peekStartsWith("(")&&(Me=this.parseParens(!1)),(je.length>0||Object.keys(Je).length>0)&&(Me[at]=new On(je,Je)),Me}parseSegment(){const je=tn(this.remaining);if(""===je&&this.peekStartsWith(";"))throw new o.wOt(4009,!1);return this.capture(je),new sr(zt(je),this.parseMatrixParams())}parseMatrixParams(){const je={};for(;this.consumeOptional(";");)this.parseParam(je);return je}parseParam(je){const Je=function Cn(Ae){const je=Ae.match(bn);return je?je[0]:""}(this.remaining);if(!Je)return;this.capture(Je);let Me="";if(this.consumeOptional("=")){const Qe=tn(this.remaining);Qe&&(Me=Qe,this.capture(Me))}je[zt(Je)]=zt(Me)}parseQueryParam(je){const Je=function Xn(Ae){const je=Ae.match(Kn);return je?je[0]:""}(this.remaining);if(!Je)return;this.capture(Je);let Me="";if(this.consumeOptional("=")){const Bt=function fn(Ae){const je=Ae.match(nr);return je?je[0]:""}(this.remaining);Bt&&(Me=Bt,this.capture(Me))}const Qe=vn(Je),Ht=vn(Me);if(je.hasOwnProperty(Qe)){let Bt=je[Qe];Array.isArray(Bt)||(Bt=[Bt],je[Qe]=Bt),Bt.push(Ht)}else je[Qe]=Ht}parseParens(je){const Je={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Me=tn(this.remaining),Qe=this.remaining[Me.length];if("/"!==Qe&&")"!==Qe&&";"!==Qe)throw new o.wOt(4010,!1);let Ht;Me.indexOf(":")>-1?(Ht=Me.slice(0,Me.indexOf(":")),this.capture(Ht),this.capture(":")):je&&(Ht=at);const Bt=this.parseChildren();Je[Ht]=1===Object.keys(Bt).length?Bt[at]:new On([],Bt),this.consumeOptional("//")}return Je}peekStartsWith(je){return this.remaining.startsWith(je)}consumeOptional(je){return!!this.peekStartsWith(je)&&(this.remaining=this.remaining.substring(je.length),!0)}capture(je){if(!this.consumeOptional(je))throw new o.wOt(4011,!1)}}function lr(Ae){return Ae.segments.length>0?new On([],{[at]:Ae}):Ae}function ar(Ae){const je={};for(const[Me,Qe]of Object.entries(Ae.children)){const Ht=ar(Qe);if(Me===at&&0===Ht.segments.length&&Ht.hasChildren())for(const[Bt,Mn]of Object.entries(Ht.children))je[Bt]=Mn;else(Ht.segments.length>0||Ht.hasChildren())&&(je[Me]=Ht)}return function ni(Ae){if(1===Ae.numberOfChildren&&Ae.children[at]){const je=Ae.children[at];return new On(Ae.segments.concat(je.segments),je.children)}return Ae}(new On(Ae.segments,je))}function vi(Ae){return Ae instanceof Fr}function $i(Ae){var je;let Je;const Ht=lr(function Me(Bt){const Mn={};for(const zn of Bt.children){const Jr=Me(zn);Mn[zn.outlet]=Jr}const Dr=new On(Bt.url,Mn);return Bt===Ae&&(Je=Dr),Dr}(Ae.root));return null!==(je=Je)&&void 0!==je?je:Ht}function Xi(Ae,je,Je,Me){let Qe=Ae;for(;Qe.parent;)Qe=Qe.parent;if(0===je.length)return to(Qe,Qe,Qe,Je,Me);const Ht=function mn(Ae){if("string"==typeof Ae[0]&&1===Ae.length&&"/"===Ae[0])return new Co(!0,0,Ae);let je=0,Je=!1;const Me=Ae.reduce((Qe,Ht,Bt)=>{if("object"==typeof Ht&&null!=Ht){if(Ht.outlets){const Mn={};
1return Object.entries(Ht.outlets).forEach(([Dr,zn])=>{Mn[Dr]="string"==typeof zn?zn.split("/"):zn}),[...Qe,{outlets:Mn}]}if(Ht.segmentPath)return[...Qe,Ht.segmentPath]}return"string"!=typeof Ht?[...Qe,Ht]:0===Bt?(Ht.split("/").forEach((Mn,Dr)=>{0==Dr&&"."===Mn||(0==Dr&&""===Mn?Je=!0:".."===Mn?je++:""!=Mn&&Qe.push(Mn))}),Qe):[...Qe,Ht]},[]);return new Co(Je,je,Me)}(je);if(Ht.toRoot())return to(Qe,Qe,new On([],{}),Je,Me);const Bt=function kn(Ae,je,Je){if(Ae.isAbsolute)return new Jt(je,!0,0);if(!Je)return new Jt(je,!1,NaN);if(null===Je.parent)return new Jt(Je,!0,0);const Me=Di(Ae.commands[0])?0:1;return function Ke(Ae,je,Je){let Me=Ae,Qe=je,Ht=Je;for(;Ht>Qe;){if(Ht-=Qe,Me=Me.parent,!Me)throw new o.wOt(4005,!1);Qe=Me.segments.length}return new Jt(Me,!1,Qe-Ht)}(Je,Je.segments.length-1+Me,Ae.numberOfDoubleDots)}(Ht,Qe,Ae),Mn=Bt.processChildren?nn(Bt.segmentGroup,Bt.index,Ht.commands):Ot(Bt.segmentGroup,Bt.index,Ht.commands);return to(Qe,Bt.segmentGroup,Mn,Je,Me)}function Di(Ae){return"object"==typeof Ae&&null!=Ae&&!Ae.outlets&&!Ae.segmentPath}function lo(Ae){return"object"==typeof Ae&&null!=Ae&&Ae.outlets}function to(Ae,je,Je,Me,Qe){let Bt,Ht={};Me&&Object.entries(Me).forEach(([Dr,zn])=>{Ht[Dr]=Array.isArray(zn)?zn.map(Jr=>`${Jr}`):`${zn}`}),Bt=Ae===je?Je:vo(Ae,je,Je);const Mn=lr(ar(Bt));return new Fr(Mn,Ht,Qe)}function vo(Ae,je,Je){const Me={};return Object.entries(Ae.children).forEach(([Qe,Ht])=>{Me[Qe]=Ht===je?Je:vo(Ht,je,Je)}),new On(Ae.segments,Me)}class Co{constructor(je,Je,Me){if(this.isAbsolute=je,this.numberOfDoubleDots=Je,this.commands=Me,je&&Me.length>0&&Di(Me[0]))throw new o.wOt(4003,!1);const Qe=Me.find(lo);if(Qe&&Qe!==rt(Me))throw new o.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Jt{constructor(je,Je,Me){this.segmentGroup=je,this.processChildren=Je,this.index=Me}}function Ot(Ae,je,Je){var Me;if(null!==(Me=Ae)&&void 0!==Me||(Ae=new On([],{})),0===Ae.segments.length&&Ae.hasChildren())return nn(Ae,je,Je);const Qe=function wt(Ae,je,Je){let Me=0,Qe=je;const Ht={match:!1,pathIndex:0,commandIndex:0};for(;Qe<Ae.segments.length;){if(Me>=Je.length)return Ht;const Bt=Ae.segments[Qe],Mn=Je[Me];if(lo(Mn))break;const Dr=`${Mn}`,zn=Me<Je.length-1?Je[Me+1]:null;if(Qe>0&&void 0===Dr)break;if(Dr&&zn&&"object"==typeof zn&&void 0===zn.outlets){if(!hn(Dr,zn,Bt))return Ht;Me+=2}else{if(!hn(Dr,{},Bt))return Ht;Me++}Qe++}return{match:!0,pathIndex:Qe,commandIndex:Me}}(Ae,je,Je),Ht=Je.slice(Qe.commandIndex);if(Qe.match&&Qe.pathIndex<Ae.segments.length){const Bt=new On(Ae.segments.slice(0,Qe.pathIndex),{});return Bt.children[at]=new On(Ae.segments.slice(Qe.pathIndex),Ae.children),nn(Bt,0,Ht)}return Qe.match&&0===Ht.length?new On(Ae.segments,{}):Qe.match&&!Ae.hasChildren()?st(Ae,je,Je):Qe.match?nn(Ae,0,Ht):st(Ae,je,Je)}function nn(Ae,je,Je){if(0===Je.length)return new On(Ae.segments,{});{const Me=function Ze(Ae){return lo(Ae[0])?Ae[0].outlets:{[at]:Ae}}(Je),Qe={};if(Object.keys(Me).some(Ht=>Ht!==at)&&Ae.children[at]&&1===Ae.numberOfChildren&&0===Ae.children[at].segments.length){const Ht=nn(Ae.children[at],je,Je);return new On(Ae.segments,Ht.children)}return Object.entries(Me).forEach(([Ht,Bt])=>{"string"==typeof Bt&&(Bt=[Bt]),null!==Bt&&(Qe[Ht]=Ot(Ae.children[Ht],je,Bt))}),Object.entries(Ae.children).forEach(([Ht,Bt])=>{void 0===Me[Ht]&&(Qe[Ht]=Bt)}),new On(Ae.segments,Qe)}}function st(Ae,je,Je){const Me=Ae.segments.slice(0,je);let Qe=0;for(;Qe<Je.length;){const Ht=Je[Qe];if(lo(Ht)){const Dr=jt(Ht.outlets);return new On(Me,Dr)}if(0===Qe&&Di(Je[0])){Me.push(new sr(Ae.segments[je].path,xt(Je[0]))),Qe++;continue}const Bt=lo(Ht)?Ht.outlets[at]:`${Ht}`,Mn=Qe<Je.length-1?Je[Qe+1]:null;Bt&&Mn&&Di(Mn)?(Me.push(new sr(Bt,xt(Mn))),Qe+=2):(Me.push(new sr(Bt,{})),Qe++)}return new On(Me,{})}function jt(Ae){const je={};return Object.entries(Ae).forEach(([Je,Me])=>{"string"==typeof Me&&(Me=[Me]),null!==Me&&(je[Je]=st(new On([],{}),0,Me))}),je}function xt(Ae){const je={};return Object.entries(Ae).forEach(([Je,Me])=>je[Je]=`${Me}`),je}function hn(Ae,je,Je){return Ae==Je.path&<(je,Je.parameters)}const ft="imperative";var He=function(Ae){return Ae[Ae.NavigationStart=0]="NavigationStart",Ae[Ae.NavigationEnd=1]="NavigationEnd",Ae[Ae.NavigationCancel=2]="NavigationCancel",Ae[Ae.NavigationError=3]="NavigationError",Ae[Ae.RoutesRecognized=4]="RoutesRecognized",Ae[Ae.ResolveStart=5]="ResolveStart",Ae[Ae.ResolveEnd=6]="ResolveEnd",Ae[Ae.GuardsCheckStart=7]="GuardsCheckStart",Ae[Ae.GuardsCheckEnd=8]="GuardsCheckEnd",Ae[Ae.RouteConfigLoadStart=9]="RouteConfigLoadStart",Ae[Ae.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",Ae[Ae.ChildActivationStart=11]="ChildActivationStart",Ae[Ae.ChildActivationEnd=12]="ChildActivationEnd",Ae[Ae.ActivationStart=13]="ActivationStart",Ae[Ae.ActivationEnd=14]="ActivationEnd",Ae[Ae.Scroll=15]="Scroll",Ae[Ae.NavigationSkipped=16]="NavigationSkipped",Ae}(He||{});class Pe{constructor(je,Je){this.id=je,this.url=Je}}class Fe extends Pe{constructor(je,Je,Me="imperative",Qe=null){super(je,Je),this.type=He.NavigationStart,this.navigationTrigger=Me,this.restoredState=Qe}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Oe extends Pe{constructor(je,Je,Me){super(je,Je),this.urlAfterRedirects=Me,this.type=He.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var We=function(Ae){return Ae[Ae.Redirect=0]="Redirect",Ae[Ae.SupersededByNewNavigation=1]="SupersededByNewNavigation",Ae[Ae.NoDataFromRe
1solver=2]="NoDataFromResolver",Ae[Ae.GuardRejected=3]="GuardRejected",Ae}(We||{}),_t=function(Ae){return Ae[Ae.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",Ae[Ae.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",Ae}(_t||{});class en extends Pe{constructor(je,Je,Me,Qe){super(je,Je),this.reason=Me,this.code=Qe,this.type=He.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class gn extends Pe{constructor(je,Je,Me,Qe){super(je,Je),this.reason=Me,this.code=Qe,this.type=He.NavigationSkipped}}class In extends Pe{constructor(je,Je,Me,Qe){super(je,Je),this.error=Me,this.target=Qe,this.type=He.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Zn extends Pe{constructor(je,Je,Me,Qe){super(je,Je),this.urlAfterRedirects=Me,this.state=Qe,this.type=He.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Er extends Pe{constructor(je,Je,Me,Qe){super(je,Je),this.urlAfterRedirects=Me,this.state=Qe,this.type=He.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yr extends Pe{constructor(je,Je,Me,Qe,Ht){super(je,Je),this.urlAfterRedirects=Me,this.state=Qe,this.shouldActivate=Ht,this.type=He.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class oi extends Pe{constructor(je,Je,Me,Qe){super(je,Je),this.urlAfterRedirects=Me,this.state=Qe,this.type=He.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ar extends Pe{constructor(je,Je,Me,Qe){super(je,Je),this.urlAfterRedirects=Me,this.state=Qe,this.type=He.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class li{constructor(je){this.route=je,this.type=He.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ki{constructor(je){this.route=je,this.type=He.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Pi{constructor(je){this.snapshot=je,this.type=He.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class io{constructor(je){this.snapshot=je,this.type=He.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ki{constructor(je){this.snapshot=je,this.type=He.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ko{constructor(je){this.snapshot=je,this.type=He.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Eo{constructor(je,Je,Me){this.routerEvent=je,this.position=Je,this.anchor=Me,this.type=He.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ji{}class bs{constructor(je){this.url=je}}class So{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new $s,this.attachRef=null}}let $s=(()=>{var Ae;class je{constructor(){this.contexts=new Map}onChildOutletCreated(Me,Qe){const Ht=this.getOrCreateContext(Me);Ht.outlet=Qe,this.contexts.set(Me,Ht)}onChildOutletDestroyed(Me){const Qe=this.getContext(Me);Qe&&(Qe.outlet=null,Qe.attachRef=null)}onOutletDeactivated(){const Me=this.contexts;return this.contexts=new Map,Me}onOutletReAttached(Me){this.contexts=Me}getOrCreateContext(Me){let Qe=this.getContext(Me);return Qe||(Qe=new So,this.contexts.set(Me,Qe)),Qe}getContext(Me){return this.contexts.get(Me)||null}}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)},Ae.\u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),je})();class qo{constructor(je){this._root=je}get root(){return this._root.value}
1parent(je){const Je=this.pathFromRoot(je);return Je.length>1?Je[Je.length-2]:null}children(je){const Je=cs(je,this._root);return Je?Je.children.map(Me=>Me.value):[]}firstChild(je){const Je=cs(je,this._root);return Je&&Je.children.length>0?Je.children[0].value:null}siblings(je){const Je=ds(je,this._root);return Je.length<2?[]:Je[Je.length-2].children.map(Qe=>Qe.value).filter(Qe=>Qe!==je)}pathFromRoot(je){return ds(je,this._root).map(Je=>Je.value)}}function cs(Ae,je){if(Ae===je.value)return je;for(const Je of je.children){const Me=cs(Ae,Je);if(Me)return Me}return null}function ds(Ae,je){if(Ae===je.value)return[je];for(const Je of je.children){const Me=ds(Ae,Je);if(Me.length)return Me.unshift(je),Me}return[]}class Ne{constructor(je,Je){this.value=je,this.children=Je}toString(){return`TreeNode(${this.value})`}}function Ge(Ae){const je={};return Ae&&Ae.children.forEach(Je=>je[Je.value.outlet]=Je),je}class Un extends qo{constructor(je,Je){super(je),this.snapshot=Je,Bi(this,je)}toString(){return this.snapshot.toString()}}function xe(Ae){const je=function ht(Ae){const Ht=new rn([],{},{},"",{},at,Ae,null,{});return new Dn("",new Ne(Ht,[]))}(Ae),Je=new T.t([new sr("",{})]),Me=new T.t({}),Qe=new T.t({}),Ht=new T.t({}),Bt=new T.t(""),Mn=new Ut(Je,Me,Ht,Bt,Qe,at,Ae,je.root);return Mn.snapshot=je.root,new Un(new Ne(Mn,[]),je)}class Ut{constructor(je,Je,Me,Qe,Ht,Bt,Mn,Dr){var zn,Jr;this.urlSubject=je,this.paramsSubject=Je,this.queryParamsSubject=Me,this.fragmentSubject=Qe,this.dataSubject=Ht,this.outlet=Bt,this.component=Mn,this._futureSnapshot=Dr,this.title=null!==(zn=null===(Jr=this.dataSubject)||void 0===Jr?void 0:Jr.pipe((0,O.T)(Ni=>Ni[Pt])))&&void 0!==zn?zn:(0,E.of)(void 0),this.url=je,this.params=Je,this.queryParams=Me,this.fragment=Qe,this.data=Ht}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(){var je;return null!==(je=this._paramMap)&&void 0!==je||(this._paramMap=this.params.pipe((0,O.T)(Je=>It(Je)))),this._paramMap}get queryParamMap(){var je;return null!==(je=this._queryParamMap)&&void 0!==je||(this._queryParamMap=this.queryParams.pipe((0,O.T)(Je=>It(Je)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function qe(Ae,je,Je="emptyOnly"){var Me;let Qe;const{routeConfig:Ht}=Ae;var Bt;return Qe=null===je||"always"!==Je&&""!==(null==Ht?void 0:Ht.path)&&(je.component||null!==(Me=je.routeConfig)&&void 0!==Me&&Me.loadComponent)?{params:{...Ae.params},data:{...Ae.data},resolve:{...Ae.data,...null!==(Bt=Ae._resolvedData)&&void 0!==Bt?Bt:{}}}:{params:{...je.params,...Ae.params},data:{...je.data,...Ae.data},resolve:{...Ae.data,...je.data,...null==Ht?void 0:Ht.data,...Ae._resolvedData}},Ht&&Pn(Ht)&&(Qe.resolve[Pt]=Ht.title),Qe}class rn{get title(){var je;return null===(je=this.data)||void 0===je?void 0:je[Pt]}constructor(je,Je,Me,Qe,Ht,Bt,Mn,Dr,zn){this.url=je,this.params=Je,this.queryParams=Me,this.fragment=Qe,this.data=Ht,this.outlet=Bt,this.component=Mn,this.routeConfig=Dr,this._resolve=zn}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(){var je;return null!==(je=this._paramMap)&&void 0!==je||(this._paramMap=It(this.params)),this._paramMap}get queryParamMap(){var je;return null!==(je=this._queryParamMap)&&void 0!==je||(this._queryParamMap=It(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Me=>Me.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Dn extends qo{constructor(je,Je){super(Je),this.url=je,Bi(this,Je)}toString(){return vt(this._root)}}
1function Bi(Ae,je){je.value._routerState=Ae,je.children.forEach(Je=>Bi(Ae,Je))}function vt(Ae){const je=Ae.children.length>0?` { ${Ae.children.map(vt).join(", ")} } `:"";return`${Ae.value}${je}`}function Kt(Ae){if(Ae.snapshot){const je=Ae.snapshot,Je=Ae._futureSnapshot;Ae.snapshot=Je,lt(je.queryParams,Je.queryParams)||Ae.queryParamsSubject.next(Je.queryParams),je.fragment!==Je.fragment&&Ae.fragmentSubject.next(Je.fragment),lt(je.params,Je.params)||Ae.paramsSubject.next(Je.params),function St(Ae,je){if(Ae.length!==je.length)return!1;for(let Je=0;Je<Ae.length;++Je)if(!lt(Ae[Je],je[Je]))return!1;return!0}(je.url,Je.url)||Ae.urlSubject.next(Je.url),lt(je.data,Je.data)||Ae.dataSubject.next(Je.data)}else Ae.snapshot=Ae._futureSnapshot,Ae.dataSubject.next(Ae._futureSnapshot.data)}function cn(Ae,je){const Je=lt(Ae.params,je.params)&&function ur(Ae,je){return tr(Ae,je)&&Ae.every((Je,Me)=>lt(Je.parameters,je[Me].parameters))}(Ae.url,je.url);return Je&&!(!Ae.parent!=!je.parent)&&(!Ae.parent||cn(Ae.parent,je.parent))}function Pn(Ae){return"string"==typeof Ae.title||null===Ae.title}let Yn=(()=>{var Ae;class je{constructor(){this.activated=null,this._activatedRoute=null,this.name=at,this.activateEvents=new o.bkB,this.deactivateEvents=new o.bkB,this.attachEvents=new o.bkB,this.detachEvents=new o.bkB,this.parentContexts=(0,o.WQX)($s),this.location=(0,o.WQX)(o.c1b),this.changeDetector=(0,o.WQX)(o.gRc),this.environmentInjector=(0,o.WQX)(o.uvJ),this.inputBinder=(0,o.WQX)(Ir,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(Me){if(Me.name){const{firstChange:Qe,previousValue:Ht}=Me.name;if(Qe)return;this.isTrackedInParentContexts(Ht)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Ht)),this.initializeOutletWithName()}}ngOnDestroy(){var Me;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),null===(Me=this.inputBinder)||void 0===Me||Me.unsubscribeFromRouteData(this)}isTrackedInParentContexts(Me){var Qe;return(null===(Qe=this.parentContexts.getContext(Me))||void 0===Qe?void 0:Qe.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const Me=this.parentContexts.getContext(this.name);null!=Me&&Me.route&&(Me.attachRef?this.attach(Me.attachRef,Me.route):this.activateWith(Me.route,Me.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.wOt(4012,!1);this.location.detach();const Me=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Me.instance),Me}attach(Me,Qe){var Ht;this.activated=Me,this._activatedRoute=Qe,this.location.insert(Me.hostView),null===(Ht=this.inputBinder)||void 0===Ht||Ht.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(Me.instance)}deactivate(){if(this.activated){const Me=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Me)}}activateWith(Me,Qe){var Ht;if(this.isActivated)throw new o.wOt(4013,!1);this._activatedRoute=Me;const Bt=this.location,Dr=Me.snapshot.component,zn=this.parentContexts.getOrCreateContext(this.name).children,Jr=new Wn(Me,zn,Bt.injector);this.activated=Bt.createComponent(Dr,{index:Bt.length,injector:Jr,environmentInjector:null!=Qe?Qe:this.environmentInjector}),this.changeDetector.markForCheck(),null===(Ht=this.inputBinder)||void 0===Ht||Ht.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)},Ae.\u0275dir=o.FsC({type:Ae,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.OA$]}),je})();class Wn{__ngOutletInjector(je){return new Wn(this.route,this.childContexts,je)}constructor(je,Je,Me){this.route=je,this.childContexts=Je,this.parent=Me}get(je,Je){return je===Ut?this.route:je===$s?this.childContexts:this.parent.get(je,Je)}}const Ir=new o.nKC("");let Wr=(()=>{var Ae;class je{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Me){this.unsubscribeFromRouteData(Me),this.subscribeToRouteData(Me)}unsubscribeFromRouteData(Me){var Qe;null===(Qe=this.outletDataSubscriptions.get(Me))||void 0===Qe||Qe.unsubscribe(),this.outletDataSubscriptions.delete(Me)}subscribeToRouteData(Me){const{activatedRoute:Qe}=Me,Ht=(0,s.z)([Qe.queryParams,Qe.params,Qe.data]).pipe((0,V.n)(([Bt,Mn,Dr],zn)=>(Dr={...Bt,...Mn,...Dr},0===zn?(0,E.of)(Dr):Promise.resolve(Dr)))).subscribe(Bt=>{if(!Me.isActivated||!Me.activatedComponentRef||Me.activatedRoute!==Qe||null===Qe.component)return void this.unsubscribeFromRouteData(Me);const Mn=(0,o.HJs)(Qe.component);if(Mn)for(const{templateName:Dr}of Mn.inputs)Me.activatedComponentRef.setInput(Dr,Bt[Dr]);else this.unsubscribeFromRouteData(Me)});this.outletDataSubscriptions.set(Me,Ht)}}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)},Ae.\u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac}),je})();function Hr(Ae,je,Je){if(Je&&Ae.shouldReuseRoute(je.value,Je.value.snapshot)){const Me=Je.value;Me._futureSnapshot=je.value;const Qe=function ui(Ae,je,Je){return je.children.map(Me=>{for(const Qe of Je.children)if(Ae.shouldReuseRoute(Me.value,Qe.value.snapshot))return Hr(Ae,Me,Qe);return Hr(Ae,Me)})}(Ae,je,Je);return new Ne(Me,Qe)}{if(Ae.shouldAttach(je.value)){const Ht=Ae.retrieve(je.value);if(null!==Ht){const Bt=Ht.route;return Bt.value._futureSnapshot=je.value,Bt.children=je.children.map(Mn=>Hr(Ae,Mn)),Bt}}const Me=function Ci(Ae){return new Ut(new T.t(Ae.url),new T.t(Ae.params),new T.t(Ae.queryParams),new T.t(Ae.fragment),new T.t(Ae.data),Ae.outlet,Ae.component,Ae)}(je.value),Qe=je.children.map(Ht=>Hr(Ae,Ht));return new Ne(Me,Qe)}}const pi="ngNavigationCancelingError";function Fi(Ae,je){const{redirectTo:Je,navigationBehaviorOptions:Me}=vi(je)?{redirectTo:je,navigationBehaviorOptions:void 0}:je,Qe=yo(!1,We.Redirect);return Qe.url=Je,Qe.navigationBehaviorOptions=Me,Qe}function yo(Ae,je){const Je=new Error(`NavigationCancelingError: ${Ae||""}`);return Je[pi]=!0,Je.cancellationCode=je,Je}function xi(Ae){return!!Ae&&Ae[pi]}let as=(()=>{var Ae;class je{}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)},Ae.\u0275cmp=o.VBU({type:Ae,selectors:[["ng-component"]],standalone:!0,features:[o.aNF],decls:1,vars:0,template:function(Me,Qe){1&Me&&o.nrm(0,"router-outlet")},dependencies:[Yn],encapsulation:2}),je})();function ta(Ae){const je=Ae.children&&Ae.children.map(ta),Je=je?{...Ae,children:je}:{...Ae};return!Je.component&&!Je.loadComponent&&(je||Je.loadChildren)&&Je.outlet&&Je.outlet!==at&&(Je.component=as),Je}function wo(Ae){return Ae.outlet||at}function Us(Ae){var je;if(!Ae)return null;if(null!==(je=Ae.routeConfig)&&void 0!==je&&je._injector)return Ae.routeConfig._injector;for(let Je=Ae.parent;Je;Je=Je.parent){const Me=Je.routeConfig;if(null!=Me&&Me._loadedInjector)return Me._loadedInjector;if(null!=Me&&Me._injector)return Me._injector}return null}
1class el{constructor(je,Je,Me,Qe,Ht){this.routeReuseStrategy=je,this.futureState=Je,this.currState=Me,this.forwardEvent=Qe,this.inputBindingEnabled=Ht}activate(je){const Je=this.futureState._root,Me=this.currState?this.currState._root:null;this.deactivateChildRoutes(Je,Me,je),Kt(this.futureState.root),this.activateChildRoutes(Je,Me,je)}deactivateChildRoutes(je,Je,Me){const Qe=Ge(Je);je.children.forEach(Ht=>{const Bt=Ht.value.outlet;this.deactivateRoutes(Ht,Qe[Bt],Me),delete Qe[Bt]}),Object.values(Qe).forEach(Ht=>{this.deactivateRouteAndItsChildren(Ht,Me)})}deactivateRoutes(je,Je,Me){const Qe=je.value,Ht=Je?Je.value:null;if(Qe===Ht)if(Qe.component){const Bt=Me.getContext(Qe.outlet);Bt&&this.deactivateChildRoutes(je,Je,Bt.children)}else this.deactivateChildRoutes(je,Je,Me);else Ht&&this.deactivateRouteAndItsChildren(Je,Me)}deactivateRouteAndItsChildren(je,Je){je.value.component&&this.routeReuseStrategy.shouldDetach(je.value.snapshot)?this.detachAndStoreRouteSubtree(je,Je):this.deactivateRouteAndOutlet(je,Je)}detachAndStoreRouteSubtree(je,Je){const Me=Je.getContext(je.value.outlet),Qe=Me&&je.value.component?Me.children:Je,Ht=Ge(je);for(const Bt of Object.values(Ht))this.deactivateRouteAndItsChildren(Bt,Qe);if(Me&&Me.outlet){const Bt=Me.outlet.detach(),Mn=Me.children.onOutletDeactivated();this.routeReuseStrategy.store(je.value.snapshot,{componentRef:Bt,route:je,contexts:Mn})}}deactivateRouteAndOutlet(je,Je){const Me=Je.getContext(je.value.outlet),Qe=Me&&je.value.component?Me.children:Je,Ht=Ge(je);for(const Bt of Object.values(Ht))this.deactivateRouteAndItsChildren(Bt,Qe);Me&&(Me.outlet&&(Me.outlet.deactivate(),Me.children.onOutletDeactivated()),Me.attachRef=null,Me.route=null)}activateChildRoutes(je,Je,Me){const Qe=Ge(Je);je.children.forEach(Ht=>{this.activateRoutes(Ht,Qe[Ht.value.outlet],Me),this.forwardEvent(new ko(Ht.value.snapshot))}),je.children.length&&this.forwardEvent(new io(je.value.snapshot))}activateRoutes(je,Je,Me){const Qe=je.value,Ht=Je?Je.value:null;if(Kt(Qe),Qe===Ht)if(Qe.component){const Bt=Me.getOrCreateContext(Qe.outlet);this.activateChildRoutes(je,Je,Bt.children)}else this.activateChildRoutes(je,Je,Me);else if(Qe.component){const Bt=Me.getOrCreateContext(Qe.outlet);if(this.routeReuseStrategy.shouldAttach(Qe.snapshot)){const Mn=this.routeReuseStrategy.retrieve(Qe.snapshot);this.routeReuseStrategy.store(Qe.snapshot,null),Bt.children.onOutletReAttached(Mn.contexts),Bt.attachRef=Mn.componentRef,Bt.route=Mn.route.value,Bt.outlet&&Bt.outlet.attach(Mn.componentRef,Mn.route.value),Kt(Mn.route.value),this.activateChildRoutes(je,null,Bt.children)}else{const Mn=Us(Qe.snapshot);Bt.attachRef=null,Bt.route=Qe,Bt.injector=Mn,Bt.outlet&&Bt.outlet.activateWith(Qe,Bt.injector),this.activateChildRoutes(je,null,Bt.children)}}else this.activateChildRoutes(je,null,Me)}}class Ha{constructor(je){this.path=je,this.route=this.path[this.path.length-1]}}class xa{constructor(je,Je){this.component=je,this.route=Je}}function ya(Ae,je,Je){const Me=Ae._root;return aa(Me,je?je._root:null,Je,[Me.value])}function Ls(Ae,je){const Je=Symbol(),Me=je.get(Ae,Je);return Me===Je?"function"!=typeof Ae||(0,o.LfX)(Ae)?je.get(Ae):Ae:Me}function aa(Ae,je,Je,Me,Qe={canDeactivateChecks:[],canActivateChecks:[]}){const Ht=Ge(je);return Ae.children.forEach(Bt=>{(function qa(Ae,je,Je,Me,Qe={canDeactivateChecks:[],canActivateChecks:[]}){const Ht=Ae.value,Bt=je?je.value:null,Mn=Je?Je.getContext(Ae.value.outlet):null;if(Bt&&Ht.routeConfig===Bt.routeConfig){const Dr=function Ct(Ae,je,Je){if("function"==typeof Je)return Je(Ae,je);switch(Je){case"pathParamsChange":return!tr(Ae.url,je.url);case"pathParamsOrQueryParamsChange":return!tr(Ae.url,je.url)||!lt(Ae.queryParams,je.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!cn(Ae,je)||!lt(Ae.queryParams,je.queryParams);default:return!cn(Ae,je)}}(Bt,Ht,Ht.routeConfig.runGuardsAndResolvers);Dr?Qe.canActivateChecks.push(new Ha(Me)):(Ht.data=Bt.data,Ht._resolvedData=Bt._resolvedData),aa(Ae,je,Ht.component?Mn?Mn.children:null:Je,Me,Qe),Dr&&Mn&&Mn.outlet&&Mn.outlet.isActivated&&Qe.canDeactivateChecks.push(new xa(Mn.outlet.component,Bt))}else Bt&&ot(je,Mn,Qe),Qe.canActivateChecks.push(new Ha(Me)),aa(Ae,null,Ht.component?Mn?Mn.children:null:Je,Me,Qe)})(Bt,Ht[Bt.value.outlet],Je,Me.concat([Bt.value]),Qe),delete Ht[Bt.value.outlet]}),Object.entries(Ht).forEach(([Bt,Mn])=>ot(Mn,Je.getContext(Bt),Qe)),Qe}function ot(Ae,je,Je){const Me=Ge(Ae),Qe=Ae.value;Object.entries(Me).forEach(([Ht,Bt])=>{ot(Bt,Qe.component?je?je.children.getContext(Ht):null:je,Je)}),Je.canDeactivateChecks.push(new xa(Qe.component&&je&&je.outlet&&je.outlet.isActivated?je.outlet.component:null,Qe))}function Zt(Ae){return"function"==typeof Ae}function Xo(Ae){return Ae instanceof h.G||"EmptyError"===(null==Ae?void 0:Ae.name)}const ga=Symbol("INITIAL_VALUE");function Js(){return(0,V.n)(Ae=>(0,s.z)(Ae.map(je=>je.pipe((0,K.s)(1),function x(...Ae){const je=(0,z.lI)(Ae);return(0,H.N)((Je,Me)=>
1{(je?(0,u.x)(Ae,Je,je):(0,u.x)(Ae,Je)).subscribe(Me)})}(ga)))).pipe((0,O.T)(je=>{for(const Je of je)if(!0!==Je){if(Je===ga)return ga;if(!1===Je||Je instanceof Fr)return Je}return!0}),(0,q.p)(je=>je!==ga),(0,K.s)(1)))}function zl(Ae){return(0,g.F)((0,me.M)(je=>{if(vi(je))throw Fi(0,je)}),(0,O.T)(je=>!0===je))}class nl{constructor(je){this.segmentGroup=je||null}}class Zs extends Error{constructor(je){super(),this.urlTree=je}}function _a(Ae){return(0,y.$)(new nl(Ae))}class is{constructor(je,Je){this.urlSerializer=je,this.urlTree=Je}lineralizeSegments(je,Je){let Me=[],Qe=Je.root;for(;;){if(Me=Me.concat(Qe.segments),0===Qe.numberOfChildren)return(0,E.of)(Me);if(Qe.numberOfChildren>1||!Qe.children[at])return(0,y.$)(new o.wOt(4e3,!1));Qe=Qe.children[at]}}applyRedirectCommands(je,Je,Me){const Qe=this.applyRedirectCreateUrlTree(Je,this.urlSerializer.parse(Je),je,Me);if(Je.startsWith("/"))throw new Zs(Qe);return Qe}applyRedirectCreateUrlTree(je,Je,Me,Qe){const Ht=this.createSegmentGroup(je,Je.root,Me,Qe);return new Fr(Ht,this.createQueryParams(Je.queryParams,this.urlTree.queryParams),Je.fragment)}createQueryParams(je,Je){const Me={};return Object.entries(je).forEach(([Qe,Ht])=>{if("string"==typeof Ht&&Ht.startsWith(":")){const Mn=Ht.substring(1);Me[Qe]=Je[Mn]}else Me[Qe]=Ht}),Me}createSegmentGroup(je,Je,Me,Qe){const Ht=this.createSegments(je,Je.segments,Me,Qe);let Bt={};return Object.entries(Je.children).forEach(([Mn,Dr])=>{Bt[Mn]=this.createSegmentGroup(je,Dr,Me,Qe)}),new On(Ht,Bt)}createSegments(je,Je,Me,Qe){return Je.map(Ht=>Ht.path.startsWith(":")?this.findPosParam(je,Ht,Qe):this.findOrReturn(Ht,Me))}findPosParam(je,Je,Me){const Qe=Me[Je.path.substring(1)];if(!Qe)throw new o.wOt(4001,!1);return Qe}findOrReturn(je,Je){let Me=0;for(const Qe of Je){if(Qe.path===je.path)return Je.splice(Me),Qe;Me++}return je}}const hs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Go(Ae,je,Je,Me,Qe){const Ht=Ml(Ae,je,Je);return Ht.matched?(Me=function Ts(Ae,je){var Je;return Ae.providers&&!Ae._injector&&(Ae._injector=(0,o.Ol2)(Ae.providers,je,`Route: ${Ae.path}`)),null!==(Je=Ae._injector)&&void 0!==Je?Je:je}(je,Me),function kl(Ae,je,Je,Me){const Qe=je.canMatch;if(!Qe||0===Qe.length)return(0,E.of)(!0);const Ht=Qe.map(Bt=>{const Mn=Ls(Bt,Ae);return mt(function ca(Ae){return Ae&&Zt(Ae.canMatch)}(Mn)?Mn.canMatch(je,Je):(0,o.N4e)(Ae,()=>Mn(je,Je)))});return(0,E.of)(Ht).pipe(Js(),zl())}(Me,je,Je).pipe((0,O.T)(Bt=>!0===Bt?Ht:{...hs}))):(0,E.of)(Ht)}function Ml(Ae,je,Je){var Me,Qe;if("**"===je.path)return function Yo(Ae){return{matched:!0,parameters:Ae.length>0?rt(Ae).parameters:{},consumedSegments:Ae,remainingSegments:[],positionalParamSegments:{}}}(Je);if(""===je.path)return"full"===je.pathMatch&&(Ae.hasChildren()||Je.length>0)?{...hs}:{matched:!0,consumedSegments:[],remainingSegments:Je,parameters:{},positionalParamSegments:{}};const Bt=(je.matcher||qt)(Je,Ae,je);if(!Bt)return{...hs};const Mn={};Object.entries(null!==(Me=Bt.posParams)&&void 0!==Me?Me:{}).forEach(([zn,Jr])=>{Mn[zn]=Jr.path});const Dr=Bt.consumed.length>0?{...Mn,...Bt.consumed[Bt.consumed.length-1].parameters}:Mn;return{matched:!0,consumedSegments:Bt.consumed,remainingSegments:Je.slice(Bt.consumed.length),parameters:Dr,positionalParamSegments:null!==(Qe=Bt.posParams)&&void 0!==Qe?Qe:{}}}function ba(Ae,je,Je,Me){return Je.length>0&&function La(Ae,je,Je){return Je.some(Me=>xr(Ae,je,Me)&&wo(Me)!==at)}(Ae,Je,Me)?{segmentGroup:new On(je,$l(Me,new On(Je,Ae.children))),slicedSegments:[]}:0===Je.length&&function Nn(Ae,je,Je){return Je.some(Me=>xr(Ae,je,Me))}(Ae,Je,Me)?{segmentGroup:new On(Ae.segments,Ea(Ae,Je,Me,Ae.children)),slicedSegments:Je}:{segmentGroup:new On(Ae.segments,Ae.children),slicedSegments:Je}}function Ea(Ae,je,Je,Me){const Qe={};for(const Ht of Je)if(xr(Ae,je,Ht)&&!Me[wo(Ht)]){const Bt=new On([],{});Qe[wo(Ht)]=Bt}return{...Me,...Qe}}function $l(Ae,je){const Je={};Je[at]=je;for(const Me of Ae)if(""===Me.path&&wo(Me)!==at){const Qe=new On([],{});Je[wo(Me)]=Qe}return Je}function xr(Ae,je,Je){return(!(Ae.hasChildren()||je.length>0)||"full"!==Je.pathMatch)&&""===Je.path}class fo{}class Ce{constructor(je,Je,Me,Qe,Ht,Bt,Mn){this.injector=je,this.configLoader=Je,this.rootComponentType=Me,this.config=Qe,this.urlTree=Ht,this.paramsInheritanceStrategy=Bt,this.urlSerializer
1=Mn,this.applyRedirects=new is(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(je){return new o.wOt(4002,`'${je.segmentGroup}'`)}recognize(){const je=ba(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(je).pipe((0,O.T)(Je=>{const Me=new rn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},at,this.rootComponentType,null,{}),Qe=new Ne(Me,Je),Ht=new Dn("",Qe),Bt=function no(Ae,je,Je=null,Me=null){return Xi($i(Ae),je,Je,Me)}(Me,[],this.urlTree.queryParams,this.urlTree.fragment);return Bt.queryParams=this.urlTree.queryParams,Ht.url=this.urlSerializer.serialize(Bt),this.inheritParamsAndData(Ht._root,null),{state:Ht,tree:Bt}}))}match(je){return this.processSegmentGroup(this.injector,this.config,je,at).pipe((0,re.W)(Me=>{if(Me instanceof Zs)return this.urlTree=Me.urlTree,this.match(Me.urlTree.root);throw Me instanceof nl?this.noMatchError(Me):Me}))}inheritParamsAndData(je,Je){const Me=je.value,Qe=qe(Me,Je,this.paramsInheritanceStrategy);Me.params=Object.freeze(Qe.params),Me.data=Object.freeze(Qe.data),je.children.forEach(Ht=>this.inheritParamsAndData(Ht,Me))}processSegmentGroup(je,Je,Me,Qe){return 0===Me.segments.length&&Me.hasChildren()?this.processChildren(je,Je,Me):this.processSegment(je,Je,Me,Me.segments,Qe,!0).pipe((0,O.T)(Ht=>Ht instanceof Ne?[Ht]:[]))}processChildren(je,Je,Me){const Qe=[];for(const Ht of Object.keys(Me.children))"primary"===Ht?Qe.unshift(Ht):Qe.push(Ht);return(0,a.H)(Qe).pipe((0,ce.H)(Ht=>{const Bt=Me.children[Ht],Mn=function Ia(Ae,je){const Je=Ae.filter(Me=>wo(Me)===je);return Je.push(...Ae.filter(Me=>wo(Me)!==je)),Je}(Je,Ht);return this.processSegmentGroup(je,Mn,Bt,Ht)}),function X(Ae,je){return(0,H.N)(function $(Ae,je,Je,Me,Qe){return(Ht,Bt)=>{let Mn=Je,Dr=je,zn=0;Ht.subscribe((0,de._)(Bt,Jr=>{const Ni=zn++;Dr=Mn?Ae(Dr,Jr,Ni):(Mn=!0,Jr),Me&&Bt.next(Dr)},Qe&&(()=>{Mn&&Bt.next(Dr),Bt.complete()})))}}(Ae,je,arguments.length>=2,!0))}((Ht,Bt)=>(Ht.push(...Bt),Ht)),ee(null),function N(Ae,je){const Je=arguments.length>=2;return Me=>Me.pipe(Ae?(0,q.p)((Qe,Ht)=>Ae(Qe,Ht,Me)):fe.D,M(1),Je?ee(je):Y(()=>new h.G))}(),(0,Z.Z)(Ht=>{if(null===Ht)return _a(Me);const Bt=tt(Ht);return function ye(Ae){Ae.sort((je,Je)=>je.value.outlet===at?-1:Je.value.outlet===at?1:je.value.outlet.localeCompare(Je.value.outlet))}(Bt),(0,E.of)(Bt)}))}processSegment(je,Je,Me,Qe,Ht,Bt){return(0,a.H)(Je).pipe((0,ce.H)(Mn=>{var Dr;return this.processSegmentAgainstRoute(null!==(Dr=Mn._injector)&&void 0!==Dr?Dr:je,Je,Mn,Me,Qe,Ht,Bt).pipe((0,re.W)(zn=>{if(zn instanceof nl)return(0,E.of)(null);throw zn}))}),ne(Mn=>!!Mn),(0,re.W)(Mn=>{if(Xo(Mn))return function Ii(Ae,je,Je){return 0===je.length&&!Ae.children[Je]}(Me,Qe,Ht)?(0,E.of)(new fo):_a(Me);throw Mn}))}processSegmentAgainstRoute(je,Je,Me,Qe,Ht,Bt,Mn){return function kr(Ae,je,Je,Me){return!!(wo(Ae)===Me||Me!==at&&xr(je,Je,Ae))&&Ml(je,Ae,Je).matched}(Me,Qe,Ht,Bt)?void 0===Me.redirectTo?this.matchSegmentAgainstRoute(je,Qe,Me,Ht,Bt):this.allowRedirects&&Mn?this.expandSegmentAgainstRouteUsingRedirect(je,Qe,Je,Me,Ht,Bt):_a(Qe):_a(Qe)}expandSegmentAgainstRouteUsingRedirect(je,Je,Me,Qe,Ht,Bt){const{matched:Mn,consumedSegments:Dr,positionalParamSegments:zn,remainingSegments:Jr}=Ml(Je,Qe,Ht);if(!Mn)return _a(Je);Qe.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Ni=this.applyRedirects.applyRedirectCommands(Dr,Qe.redirectTo,zn);return this.applyRedirects.lineralizeSegments(Qe,Ni).pipe((0,Z.Z)(To=>this.processSegment(je,Me,Je,To.concat(Jr),Bt,!1)))}matchSegmentAgainstRoute(je,Je,Me,Qe,Ht){const Bt=Go(Je,Me,Qe,je);return"**"===Me.path&&(Je.children={}),Bt.pipe((0,V.n)(Mn=>{var Dr;return Mn.matched?(je=null!==(Dr=Me._injector)&&void 0!==Dr?Dr:je,this.getChildConfig(je,Me,Qe).pipe((0,V.n)(({routes:zn})=>{var Jr,Ni,To;const Ao=null!==(Jr=Me._loadedInjector)&&void 0!==Jr?Jr:je,{consumedSegments:Lo,remainingSegments:la,parameters:Rs}=Mn,Fa=new rn(Lo,Rs,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function A(Ae){return Ae.data||{}}(Me),wo(Me),null!==(Ni=null!==(To=Me.component)&&void 0!==To?To:Me._loadedComponent)&&void 0!==Ni?Ni:null,Me,function W(Ae){return Ae.resolve||{}}(Me)),{segmentGroup:ks,slicedSegments:xs}=ba(Je,Lo,la,zn);if(0===xs.length&&ks.hasChildren())return this.processChildren(Ao,zn,ks).pipe((0,O.T)(rl=>null===rl?null:new Ne(Fa,rl)));if(0===zn.length&&0===xs.length)return(0,E.of)(new Ne(Fa,[]));const Sa=wo(Me)===Ht;return this.processSegment(Ao,zn,ks,xs,Sa?at:Ht,!0).pipe((0,O.T)(rl=>new Ne(Fa,rl instanceof Ne?[rl]:[])))}))):_a(Je)}))}getChildConfig(je,Je,Me){return Je.children?(0,E.of)({routes:Je.children,injector:je}):Je.loadChildren?void 0!==Je._loadedRoutes?(0,E.of)({routes:Je._loadedRoutes,injector:Je._loadedInjector}):function Va(Ae,je,Je,Me){const Qe=je.canLoad;if(void 0===Qe||0===Qe.length)return(0,E.of)(!0);const Ht=Qe.map(Bt=>{const Mn=Ls(Bt,Ae);return mt(function sn(Ae){return Ae&&Zt(Ae.canLoad)}(Mn)?Mn.canLoad(je,Je):(0,o.N4e)(Ae,()=>Mn(je,Je)))});return(0,E.of)(Ht).pipe(Js(),zl())}(je,Je,Me).pipe((0,Z.Z)(Qe=>Qe?this.configLoader.loadChildren(je,Je).pipe((0,me.M)(Ht=>{Je._loadedRoutes=Ht.routes,Je._loadedInjector=Ht.injector})):function fs(Ae){return(0,y.$)(yo(!1,We.GuardRejected))}
1())):(0,E.of)({routes:[],injector:je})}}function $e(Ae){const je=Ae.value.routeConfig;return je&&""===je.path}function tt(Ae){const je=[],Je=new Set;for(const Me of Ae){if(!$e(Me)){je.push(Me);continue}const Qe=je.find(Ht=>Me.value.routeConfig===Ht.value.routeConfig);void 0!==Qe?(Qe.children.push(...Me.children),Je.add(Qe)):je.push(Me)}for(const Me of Je){const Qe=tt(Me.children);je.push(new Ne(Me.value,Qe))}return je.filter(Me=>!Je.has(Me))}function Ue(Ae){const je=Ae.children.map(Je=>Ue(Je)).flat();return[Ae,...je]}function xn(Ae){return(0,V.n)(je=>{const Je=Ae(je);return Je?(0,a.H)(Je).pipe((0,O.T)(()=>je)):(0,E.of)(je)})}let pr=(()=>{var Ae;class je{buildTitle(Me){let Qe,Ht=Me.root;for(;void 0!==Ht;){var Bt;Qe=null!==(Bt=this.getResolvedTitleForRoute(Ht))&&void 0!==Bt?Bt:Qe,Ht=Ht.children.find(Mn=>Mn.outlet===at)}return Qe}getResolvedTitleForRoute(Me){return Me.data[Pt]}}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)},Ae.\u0275prov=o.jDH({token:Ae,factory:()=>(0,o.WQX)(Rr),providedIn:"root"}),je})(),Rr=(()=>{var Ae;class je extends pr{constructor(Me){super(),this.title=Me}updateTitle(Me){const Qe=this.buildTitle(Me);void 0!==Qe&&this.title.setTitle(Qe)}}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)(o.KVO(et.hE))},Ae.\u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),je})();const Kr=new o.nKC("",{providedIn:"root",factory:()=>({})}),Pr=new o.nKC("");let jr=(()=>{var Ae;class je{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.WQX)(o.Ql9)}loadComponent(Me){if(this.componentLoaders.get(Me))return this.componentLoaders.get(Me);if(Me._loadedComponent)return(0,E.of)(Me._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(Me);const Qe=mt(Me.loadComponent()).pipe((0,O.T)(mi),(0,me.M)(Bt=>{this.onLoadEndListener&&this.onLoadEndListener(Me),Me._loadedComponent=Bt}),(0,ue.j)(()=>{this.componentLoaders.delete(Me)})),Ht=new b.G(Qe,()=>new R.B).pipe((0,ve.B)());return this.componentLoaders.set(Me,Ht),Ht}loadChildren(Me,Qe){if(this.childrenLoaders.get(Qe))return this.childrenLoaders.get(Qe);if(Qe._loadedRoutes)return(0,E.of)({routes:Qe._loadedRoutes,injector:Qe._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Qe);const Bt=function qn(Ae,je,Je,Me){return mt(Ae.loadChildren()).pipe((0,O.T)(mi),(0,Z.Z)(Qe=>Qe instanceof o.Co$||Array.isArray(Qe)?(0,E.of)(Qe):(0,a.H)(je.compileModuleAsync(Qe))),(0,O.T)(Qe=>{Me&&Me(Ae);let Ht,Bt,Mn=!1;return Array.isArray(Qe)?(Bt=Qe,!0):(Ht=Qe.create(Je).injector,Bt=Ht.get(Pr,[],{optional:!0,self:!0}).flat()),{routes:Bt.map(ta),injector:Ht}}))}(Qe,this.compiler,Me,this.onLoadEndListener).pipe((0,ue.j)(()=>{this.childrenLoaders.delete(Qe)})),Mn=new b.G(Bt,()=>new R.B).pipe((0,ve.B)());return this.childrenLoaders.set(Qe,Mn),Mn}}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)},Ae.\u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),je})();function mi(Ae){return function Mr(Ae){return Ae&&"object"==typeof Ae&&"default"in Ae}(Ae)?Ae.default:Ae}let Ti=(()=>{var Ae;class je{}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)},Ae.\u0275prov=o.jDH({token:Ae,factory:()=>(0,o.WQX)(_i),providedIn:"root"}),je})(),_i=(()=>{var Ae;class je{shouldProcessUrl(Me){return!0}extract(Me){return Me}merge(Me,Qe){return Me}}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)},Ae.\u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),je})();const Le=new o.nKC(""),it=new o.nKC("");function an(Ae,je,Je){const Me=Ae.get(it),Qe=Ae.get(k.qQ);return Ae.get(o.SKi).runOutsideAngular(()=>{if(!Qe.startViewTransition||Me.skipNextTransition)return Me.skipNextTransition=!1,new Promise(zn=>setTimeout(zn));let Ht;const Bt=new Promise(zn=>{Ht=zn}),Mn=Qe.startViewTransition(()=>(Ht(),function nt(Ae){return new Promise(je=>{(0,o.mal)(je,{injector:Ae})})}(Ae))),{onViewTransitionCreated:Dr}=Me;return Dr&&(0,o.N4e)(Ae,()=>Dr({transition:Mn,from:je,to:Je})),Bt})}let Qt=(()=>{var Ae;class je{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new R.B,this.transitionAbortSubject=ne
1w R.B,this.configLoader=(0,o.WQX)(jr),this.environmentInjector=(0,o.WQX)(o.uvJ),this.urlSerializer=(0,o.WQX)(Br),this.rootContexts=(0,o.WQX)($s),this.location=(0,o.WQX)(k.aZ),this.inputBindingEnabled=null!==(0,o.WQX)(Ir,{optional:!0}),this.titleStrategy=(0,o.WQX)(pr),this.options=(0,o.WQX)(Kr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,o.WQX)(Ti),this.createViewTransition=(0,o.WQX)(Le,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,E.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Ht=>this.events.next(new Ki(Ht)),this.configLoader.onLoadStartListener=Ht=>this.events.next(new li(Ht))}complete(){var Me;null===(Me=this.transitions)||void 0===Me||Me.complete()}handleNavigationRequest(Me){var Qe;const Ht=++this.navigationId;null===(Qe=this.transitions)||void 0===Qe||Qe.next({...this.transitions.value,...Me,id:Ht})}setupNavigations(Me,Qe,Ht){return this.transitions=new T.t({id:0,currentUrlTree:Qe,currentRawUrl:Qe,extractedUrl:this.urlHandlingStrategy.extract(Qe),urlAfterRedirects:this.urlHandlingStrategy.extract(Qe),rawUrl:Qe,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ft,restoredState:null,currentSnapshot:Ht.snapshot,targetSnapshot:null,currentRouterState:Ht,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,q.p)(Bt=>0!==Bt.id),(0,O.T)(Bt=>({...Bt,extractedUrl:this.urlHandlingStrategy.extract(Bt.rawUrl)})),(0,V.n)(Bt=>{let Mn=!1,Dr=!1;return(0,E.of)(Bt).pipe((0,V.n)(zn=>{var Jr;if(this.navigationId>Bt.id)return this.cancelNavigationTransition(Bt,"",We.SupersededByNewNavigation),p.w;this.currentTransition=Bt,this.currentNavigation={id:zn.id,initialUrl:zn.rawUrl,extractedUrl:zn.extractedUrl,trigger:zn.source,extras:zn.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const Ni=!Me.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),To=null!==(Jr=zn.extras.onSameUrlNavigation)&&void 0!==Jr?Jr:Me.onSameUrlNavigation;if(!Ni&&"reload"!==To){const Ao="";return this.events.next(new gn(zn.id,this.urlSerializer.serialize(zn.rawUrl),Ao,_t.IgnoredSameUrlNavigation)),zn.resolve(null),p.w}if(this.urlHandlingStrategy.shouldProcessUrl(zn.rawUrl))return(0,E.of)(zn).pipe((0,V.n)(Ao=>{var Lo,la;const Rs=null===(Lo=this.transitions)||void 0===Lo?void 0:Lo.getValue();return this.events.next(new Fe(Ao.id,this.urlSerializer.serialize(Ao.extractedUrl),Ao.source,Ao.restoredState)),Rs!==(null===(la=this.transitions)||void 0===la?void 0:la.getValue())?p.w:Promise.resolve(Ao)}),function oe(Ae,je,Je,Me,Qe,Ht){return(0,Z.Z)(Bt=>function zo(Ae,je,Je,Me,Qe,Ht,Bt="emptyOnly"){return new Ce(Ae,je,Je,Me,Qe,Bt,Ht).recognize()}(Ae,je,Je,Me,Bt.extractedUrl,Qe,Ht).pipe((0,O.T)(({state:Mn,tree:Dr})=>({...Bt,targetSnapshot:Mn,urlAfterRedirects:Dr}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Me.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,me.M)(Ao=>{Bt.targetSnapshot=Ao.targetSnapshot,Bt.urlAfterRedirects=Ao.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Ao.urlAfterRedirects};const Lo=new Zn(Ao.id,this.urlSerializer.serialize(Ao.extractedUrl),this.urlSerializer.serialize(Ao.urlAfterRedirects),Ao.targetSnapshot);this.events.next(Lo)}));if(Ni&&this.urlHandlingStrategy.shouldProcessUrl(zn.currentRawUrl)){const{id:Ao,extractedUrl:Lo,source:la,restoredState:Rs,extras:Fa}=zn,ks=new Fe(Ao,this.urlSerializer.serialize(Lo),la,Rs);this.events.next(ks);const xs=xe(this.rootComponentType).snapshot;return this.currentTransition=Bt={...zn,targetSnapshot:xs,urlAfterRedirects:Lo,extras:{...Fa,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Lo,(0,E.of)(Bt)}{const Ao="";return this.events.next(new gn(zn.id,this.urlSerializer.serialize(zn.extractedUrl),Ao,_t.IgnoredByUrlHandlingStrategy)),zn.resolve(null),p.w}}),(0,me.M)(zn=>{const Jr=new Er(zn.id,this.urlSerializer.serialize(zn.extractedUrl),this.urlSerializer.serialize(zn.urlAfterRedirects),zn.targetSnapshot);this.events.next(Jr)}),(0,O.T)(zn=>(this.currentTransition=Bt={...zn,guards:ya(zn.targetSnapshot,zn.currentSnapshot,this.rootContexts)},Bt)),function Ps(Ae,je){return(0,Z.Z)(Je=>{const{targetSnapshot:Me,currentSnapshot:Qe,guards:{canActivateChecks:Ht,canDeactivateChecks:Bt}}=Je;return 0===Bt.length&&0===Ht.length?(0,E.of)({...Je,guardsResult:!0}):function Xa(Ae,je,Je,Me){return(0,a.H)(Ae).pipe((0,Z.Z)(Qe=>function Ma(Ae,je,Je,Me,Qe){const Ht=je&&je.routeConfig?je.routeConfig.canDeactivate:null;if(!Ht||0===Ht.length)return(0,E.of)(!0);const Bt=Ht.map(Mn=>{var Dr;const zn=null!==(Dr=Us(je))&&void 0!==Dr?Dr:Qe,Jr=Ls(Mn,zn);return mt(function Ns(Ae){return Ae&&Zt(Ae.canDeactivate)}(Jr)?Jr.canDeactivate(Ae,je,Je,Me):(0,o.N4e)(zn,()=>Jr(Ae,je,Je,Me))).pipe(ne())});return(0,E.of)(Bt).pipe(Js())}(Qe.component,Qe.route,Je,je,Me)),ne(Qe=>!0!==Qe,!0))}(Bt,Me,Qe,Ae).pipe((0,Z.Z)(Mn=>Mn&&function bt(Ae){return"boolean"==typeof Ae}(Mn)?function Zo(Ae,je,Je,Me){return(0,a.H)(je).pipe((0,ce.H)(Qe=>(0,u.x)(function hl(Ae,je){return null!==Ae&&je&&je(new Pi(Ae)),(0,E.of)(!0)}(Qe.route.parent,Me),function fl(Ae,je){return null!==Ae&&je&&je(new ki(Ae)),(0,E.of)(!0)}(Qe.route,Me),function tl(Ae,je,Je){const Me=je[je.length-1],Ht=je.slice(0,je.length-1).reverse().map(Bt=>function sa(Ae){const je=Ae.routeConfig?Ae.routeConfig.canActivateChild:null;return je&&0!==je.length?{node:Ae,guards:je}:null}
1(Bt)).filter(Bt=>null!==Bt).map(Bt=>(0,v.v)(()=>{const Mn=Bt.guards.map(Dr=>{var zn;const Jr=null!==(zn=Us(Bt.node))&&void 0!==zn?zn:Je,Ni=Ls(Dr,Jr);return mt(function wi(Ae){return Ae&&Zt(Ae.canActivateChild)}(Ni)?Ni.canActivateChild(Me,Ae):(0,o.N4e)(Jr,()=>Ni(Me,Ae))).pipe(ne())});return(0,E.of)(Mn).pipe(Js())}));return(0,E.of)(Ht).pipe(Js())}(Ae,Qe.path,Je),function Rl(Ae,je,Je){const Me=je.routeConfig?je.routeConfig.canActivate:null;if(!Me||0===Me.length)return(0,E.of)(!0);const Qe=Me.map(Ht=>(0,v.v)(()=>{var Bt;const Mn=null!==(Bt=Us(je))&&void 0!==Bt?Bt:Je,Dr=Ls(Ht,Mn);return mt(function ai(Ae){return Ae&&Zt(Ae.canActivate)}(Dr)?Dr.canActivate(je,Ae):(0,o.N4e)(Mn,()=>Dr(je,Ae))).pipe(ne())}));return(0,E.of)(Qe).pipe(Js())}(Ae,Qe.route,Je))),ne(Qe=>!0!==Qe,!0))}(Me,Ht,Ae,je):(0,E.of)(Mn)),(0,O.T)(Mn=>({...Je,guardsResult:Mn})))})}(this.environmentInjector,zn=>this.events.next(zn)),(0,me.M)(zn=>{if(Bt.guardsResult=zn.guardsResult,vi(zn.guardsResult))throw Fi(0,zn.guardsResult);const Jr=new Yr(zn.id,this.urlSerializer.serialize(zn.extractedUrl),this.urlSerializer.serialize(zn.urlAfterRedirects),zn.targetSnapshot,!!zn.guardsResult);this.events.next(Jr)}),(0,q.p)(zn=>!!zn.guardsResult||(this.cancelNavigationTransition(zn,"",We.GuardRejected),!1)),xn(zn=>{if(zn.guards.canActivateChecks.length)return(0,E.of)(zn).pipe((0,me.M)(Jr=>{const Ni=new oi(Jr.id,this.urlSerializer.serialize(Jr.extractedUrl),this.urlSerializer.serialize(Jr.urlAfterRedirects),Jr.targetSnapshot);this.events.next(Ni)}),(0,V.n)(Jr=>{let Ni=!1;return(0,E.of)(Jr).pipe(function be(Ae,je){return(0,Z.Z)(Je=>{const{targetSnapshot:Me,guards:{canActivateChecks:Qe}}=Je;if(!Qe.length)return(0,E.of)(Je);const Ht=new Set(Qe.map(Dr=>Dr.route)),Bt=new Set;for(const Dr of Ht)if(!Bt.has(Dr))for(const zn of Ue(Dr))Bt.add(zn);let Mn=0;return(0,a.H)(Bt).pipe((0,ce.H)(Dr=>Ht.has(Dr)?function Ye(Ae,je,Je,Me){const Qe=Ae.routeConfig,Ht=Ae._resolve;return void 0!==(null==Qe?void 0:Qe.title)&&!Pn(Qe)&&(Ht[Pt]=Qe.title),function kt(Ae,je,Je,Me){const Qe=yt(Ae);if(0===Qe.length)return(0,E.of)({});const Ht={};return(0,a.H)(Qe).pipe((0,Z.Z)(Bt=>function on(Ae,je,Je,Me){var Qe;const Ht=null!==(Qe=Us(je))&&void 0!==Qe?Qe:Me,Bt=Ls(Ae,Ht);return mt(Bt.resolve?Bt.resolve(je,Je):(0,o.N4e)(Ht,()=>Bt(je,Je)))}(Ae[Bt],je,Je,Me).pipe(ne(),(0,me.M)(Mn=>{Ht[Bt]=Mn}))),M(1),(0,G.u)(Ht),(0,re.W)(Bt=>Xo(Bt)?p.w:(0,y.$)(Bt)))}(Ht,Ae,je,Me).pipe((0,O.T)(Bt=>(Ae._resolvedData=Bt,Ae.data=qe(Ae,Ae.parent,Je).resolve,null)))}(Dr,Me,Ae,je):(Dr.data=qe(Dr,Dr.parent,Ae).resolve,(0,E.of)(void 0))),(0,me.M)(()=>Mn++),M(1),(0,Z.Z)(Dr=>Mn===Bt.size?(0,E.of)(Je):p.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,me.M)({next:()=>Ni=!0,complete:()=>{Ni||this.cancelNavigationTransition(Jr,"",We.NoDataFromResolver)}}))}),(0,me.M)(Jr=>{const Ni=new Ar(Jr.id,this.urlSerializer.serialize(Jr.extractedUrl),this.urlSerializer.serialize(Jr.urlAfterRedirects),Jr.targetSnapshot);this.events.next(Ni)}))}),xn(zn=>{const Jr=Ni=>{var To;const Ao=[];null!==(To=Ni.routeConfig)&&void 0!==To&&To.loadComponent&&!Ni.routeConfig._loadedComponent&&Ao.push(this.configLoader.loadComponent(Ni.routeConfig).pipe((0,me.M)(Lo=>{Ni.component=Lo}),(0,O.T)(()=>{})));for(const Lo of Ni.children)Ao.push(...Jr(Lo));return Ao};return(0,s.z)(Jr(zn.targetSnapshot.root)).pipe(ee(null),(0,K.s)(1))}),xn(()=>this.afterPreactivation()),(0,V.n)(()=>{var zn;const{currentSnapshot:Jr,targetSnapshot:Ni}=Bt,To=null===(zn=this.createViewTransition)||void 0===zn?void 0:zn.call(this,this.environmentInjector,Jr.root,Ni.root);return To?(0,a.H)(To).pipe((0,O.T)(()=>Bt)):(0,E.of)(Bt)}),(0,O.T)(zn=>{const Jr=function Or(Ae,je,Je){const Me=Hr(Ae,je._root,Je?Je._root:void 0);return new Un(Me,je)}(Me.routeReuseStrategy,zn.targetSnapshot,zn.currentRouterState);return this.currentTransition=Bt={...zn,targetRouterState:Jr},this.currentNavigation.targetRouterState=Jr,Bt}),(0,me.M)(()=>{this.events.next(new ji)}),((Ae,je,Je,Me)=>(0,O.T)(Qe=>(new el(je,Qe.targetRouterState,Qe.currentRouterState,Je,Me).activate(Ae),Qe)))(this.rootContexts,Me.routeReuseStrategy,zn=>this.events.next(zn),this.inputBindingEnabled),(0,K.s)(1),(0,me.M)({next:zn=>{var Jr;Mn=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Oe(zn.id,this.urlSerializer.serialize(zn.extractedUrl),this.urlSerializer.serialize(zn.urlAfterRedirects))),null===(Jr=this.titleStrategy)||void 0===Jr||Jr.updateTitle(zn.targetRouterState.snapshot),zn.resolve(!0)},complete:()=>{Mn=!0}}),(0,we.Q)(this.transitionAbortSubject.pipe((0,me.M)(zn=>{throw zn}))),(0,ue.j)(()=>{var zn;!Mn&&!Dr&&this.cancelNavigationTransition(Bt,"",We.SupersededByNewNavigation),(null===(zn=this.currentTransition)||void 0===zn?void 0:zn.id)===Bt.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,re.W)(zn=>{if(Dr=!0,xi(zn))this.events.next(new en(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),zn.message,zn.cancellationCode)),function Jo(Ae){return xi(Ae)&&vi(Ae.url)}(zn)?this.events.next(new bs(zn.url)):Bt.resolve(!1);else{var Jr;
1this.events.next(new In(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),zn,null!==(Jr=Bt.targetSnapshot)&&void 0!==Jr?Jr:void 0));try{Bt.resolve(Me.errorHandler(zn))}catch(Ni){this.options.resolveNavigationPromiseOnError?Bt.resolve(!1):Bt.reject(Ni)}}return p.w}))}))}cancelNavigationTransition(Me,Qe,Ht){const Bt=new en(Me.id,this.urlSerializer.serialize(Me.extractedUrl),Qe,Ht);this.events.next(Bt),Me.resolve(!1)}isUpdatingInternalState(){var Me,Qe;return(null===(Me=this.currentTransition)||void 0===Me?void 0:Me.extractedUrl.toString())!==(null===(Qe=this.currentTransition)||void 0===Qe?void 0:Qe.currentUrlTree.toString())}isUpdatedBrowserUrl(){var Me,Qe;return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==(null===(Me=this.currentTransition)||void 0===Me?void 0:Me.extractedUrl.toString())&&!(null!==(Qe=this.currentTransition)&&void 0!==Qe&&Qe.extras.skipLocationChange)}}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)},Ae.\u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),je})();function Fn(Ae){return Ae!==ft}let vr=(()=>{var Ae;class je{}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)},Ae.\u0275prov=o.jDH({token:Ae,factory:()=>(0,o.WQX)(co),providedIn:"root"}),je})();class ei{shouldDetach(je){return!1}store(je,Je){}shouldAttach(je){return!1}retrieve(je){return null}shouldReuseRoute(je,Je){return je.routeConfig===Je.routeConfig}}let co=(()=>{var Ae;class je extends ei{}return(Ae=je).\u0275fac=(()=>{let Je;return function(Qe){return(Je||(Je=o.xGo(Ae)))(Qe||Ae)}})(),Ae.\u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),je})(),so=(()=>{var Ae;class je{}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)},Ae.\u0275prov=o.jDH({token:Ae,factory:()=>(0,o.WQX)(ro),providedIn:"root"}),je})(),ro=(()=>{var Ae;class je extends so{constructor(){super(...arguments),this.location=(0,o.WQX)(k.aZ),this.urlSerializer=(0,o.WQX)(Br),this.options=(0,o.WQX)(Kr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,o.WQX)(Ti),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Fr,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=xe(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var Me,Qe;return"computed"!==this.canceledNavigationResolution?this.currentPageId:null!==(Me=null===(Qe=this.restoredState())||void 0===Qe?void 0:Qe.\u0275routerPageId)&&void 0!==Me?Me:this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(Me){return this.location.subscribe(Qe=>{"popstate"===Qe.type&&Me(Qe.url,Qe.state)})}handleRouterEvent(Me,Qe){if(Me instanceof Fe)this.stateMemento=this.createStateMemento();else if(Me instanceof gn)this.rawUrlTree=Qe.initialUrl;else if(Me instanceof Zn){if("eager"===this.urlUpdateStrategy&&!Qe.extras.skipLocationChange){const Ht=this.urlHandlingStrategy.merge(Qe.finalUrl,Qe.initialUrl);this.setBrowserUrl(Ht,Qe)}}else Me instanceof ji?(this.currentUrlTree=Qe.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(Qe.finalUrl,Qe.initialUrl),this.routerState=Qe.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Qe.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Qe))):Me instanceof en&&(Me.code===We.GuardRejected||Me.code===We.NoDataFromResolver)?this.restoreHistory(Qe):Me instanceof In?this.restoreHistory(Qe,!0):Me instanceof Oe&&(this.lastSuccessfulId=Me.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Me,Qe){const Ht=this.urlSerializer.serialize(Me);if(this.location.isCurrentPathEqualTo(Ht)||Qe.extras.replaceUrl){const Mn={...Qe.extras.state,...this.generateNgRouterState(Qe.id,this.browserPageId)};this.location.replaceState(Ht,"",Mn)}else{const Bt={...Qe.extras.state,...this.generateNgRouterState(Qe.id,this.browserPageId+1)};this.location.go(Ht,"",Bt)}}restoreHistory(Me,Qe=!1){if("computed"===this.canceledNavigationResolution){const Bt=this.currentPageId-this.browserPageId;0!==Bt?this.location.historyGo(Bt):this.currentUrlTree===Me.finalUrl&&0===Bt&&(this.resetState(Me),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Qe&&this.resetState(Me),this.resetUrlToCurrentUrlTree())}resetState(Me){var Qe;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,null!==(Qe=Me.finalUrl)&&void 0!==Qe?Qe:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Me,Qe){return"computed"===this.canceledNavigationResolution?{navigationId:Me,\u0275routerPageId:Qe}:{navigationId:Me}}}return(Ae=je).\u0275fac=(()=>{let Je;return function(Qe){return(Je||(Je=o.xGo(Ae)))(Qe||Ae)}})(),Ae.\u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),je})();var ao=function(Ae){return Ae[Ae.COMPLETE=0]="COMPLETE",Ae[Ae.FAILED=1]="FAILED",Ae[Ae.REDIRECTING=2]="REDIRECTING",Ae}(ao||{});function Mo(Ae,je){Ae.events.pipe((0,q.p)(Je=>Je instanceof Oe||Je instanceof en||Je instanceof In||Je instanceof gn),(0,O.T)(Je=>Je instanceof Oe||Je instanceof gn?ao.COMPLETE:Je instanceof en&&(Je.code===We.Redirect||Je.code===We.SupersededByNewNavigation)?ao.REDIRECTING:ao.FAILED),(0,q.p)(Je=>Je!==ao.REDIRECTING),(0,K.s)(1)).subscribe(()=>{je()})}function ps(Ae){throw Ae}const Ho={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},bo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ri=(()=>{var Ae;class je{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){var Me,Qe;this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,o.WQX)(o.H3F),this.stateManager=(0,o.WQX)(so),this.options=(0,o.WQX)(Kr,{optional:!0})||{},this.pendingTasks=(0,o.WQX)(o.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,o.WQX)(Qt),this.urlSerializer
1=(0,o.WQX)(Br),this.location=(0,o.WQX)(k.aZ),this.urlHandlingStrategy=(0,o.WQX)(Ti),this._events=new R.B,this.errorHandler=this.options.errorHandler||ps,this.navigated=!1,this.routeReuseStrategy=(0,o.WQX)(vr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=null!==(Me=null===(Qe=(0,o.WQX)(Pr,{optional:!0}))||void 0===Qe?void 0:Qe.flat())&&void 0!==Me?Me:[],this.componentInputBindingEnabled=!!(0,o.WQX)(Ir,{optional:!0}),this.eventsSubscription=new P.yU,this.isNgZoneEnabled=(0,o.WQX)(o.SKi)instanceof o.SKi&&o.SKi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:Ht=>{this.console.warn(Ht)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const Me=this.navigationTransitions.events.subscribe(Qe=>{try{const Ht=this.navigationTransitions.currentTransition,Bt=this.navigationTransitions.currentNavigation;if(null!==Ht&&null!==Bt)if(this.stateManager.handleRouterEvent(Qe,Bt),Qe instanceof en&&Qe.code!==We.Redirect&&Qe.code!==We.SupersededByNewNavigation)this.navigated=!0;else if(Qe instanceof Oe)this.navigated=!0;else if(Qe instanceof bs){const Mn=this.urlHandlingStrategy.merge(Qe.url,Ht.currentRawUrl),Dr={info:Ht.extras.info,skipLocationChange:Ht.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Fn(Ht.source)};this.scheduleNavigation(Mn,ft,null,Dr,{resolve:Ht.resolve,reject:Ht.reject,promise:Ht.promise})}(function Ds(Ae){return!(Ae instanceof ji||Ae instanceof bs)})(Qe)&&this._events.next(Qe)}catch(Ht){this.navigationTransitions.transitionAbortSubject.next(Ht)}});this.eventsSubscription.add(Me)}resetRootComponentType(Me){this.routerState.root.component=Me,this.navigationTransitions.rootComponentType=Me}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ft,this.stateManager.restoredState())}setUpLocationChangeListener(){var Me;null!==(Me=this.nonRouterCurrentEntryChangeSubscription)&&void 0!==Me||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((Qe,Ht)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(Qe,"popstate",Ht)},0)}))}navigateToSyncWithBrowser(Me,Qe,Ht){const Bt={replaceUrl:!0},Mn=null!=Ht&&Ht.navigationId?Ht:null;if(Ht){const zn={...Ht};delete zn.navigationId,delete zn.\u0275routerPageId,0!==Object.keys(zn).length&&(Bt.state=zn)}const Dr=this.parseUrl(Me);this.scheduleNavigation(Dr,Qe,Mn,Bt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Me){this.config=Me.map(ta),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(Me,Qe={}){const{relativeTo:Ht,queryParams:Bt,fragment:Mn,queryParamsHandling:Dr,preserveFragment:zn}=Qe,Jr=zn?this.currentUrlTree.fragment:Mn;let To,Ni=null;switch(Dr){case"merge":Ni={...this.currentUrlTree.queryParams,...Bt};break;case"preserve":Ni=this.currentUrlTree.queryParams;break;default:Ni=Bt||null}null!==Ni&&(Ni=this.removeEmptyProps(Ni));try{To=$i(Ht?Ht.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Me[0]||!Me[0].startsWith("/"))&&(Me=[]),To=this.currentUrlTree.root}return Xi(To,Me,Ni,null!=Jr?Jr:null)}
1navigateByUrl(Me,Qe={skipLocationChange:!1}){const Ht=vi(Me)?Me:this.parseUrl(Me),Bt=this.urlHandlingStrategy.merge(Ht,this.rawUrlTree);return this.scheduleNavigation(Bt,ft,null,Qe)}navigate(Me,Qe={skipLocationChange:!1}){return function Vi(Ae){for(let je=0;je<Ae.length;je++)if(null==Ae[je])throw new o.wOt(4008,!1)}(Me),this.navigateByUrl(this.createUrlTree(Me,Qe),Qe)}serializeUrl(Me){return this.urlSerializer.serialize(Me)}parseUrl(Me){try{return this.urlSerializer.parse(Me)}catch{return this.urlSerializer.parse("/")}}isActive(Me,Qe){let Ht;if(Ht=!0===Qe?{...Ho}:!1===Qe?{...bo}:Qe,vi(Me))return Lt(this.currentUrlTree,Me,Ht);const Bt=this.parseUrl(Me);return Lt(this.currentUrlTree,Bt,Ht)}removeEmptyProps(Me){return Object.entries(Me).reduce((Qe,[Ht,Bt])=>(null!=Bt&&(Qe[Ht]=Bt),Qe),{})}scheduleNavigation(Me,Qe,Ht,Bt,Mn){if(this.disposed)return Promise.resolve(!1);let Dr,zn,Jr;Mn?(Dr=Mn.resolve,zn=Mn.reject,Jr=Mn.promise):Jr=new Promise((To,Ao)=>{Dr=To,zn=Ao});const Ni=this.pendingTasks.add();return Mo(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Ni))}),this.navigationTransitions.handleNavigationRequest({source:Qe,restoredState:Ht,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Me,extras:Bt,resolve:Dr,reject:zn,promise:Jr,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Jr.catch(To=>Promise.reject(To))}}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)},Ae.\u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),je})(),na=(()=>{var Ae;class je{constructor(Me,Qe,Ht,Bt,Mn,Dr){var zn;this.router=Me,this.route=Qe,this.tabIndexAttribute=Ht,this.renderer=Bt,this.el=Mn,this.locationStrategy=Dr,this.href=null,this.commands=null,this.onChanges=new R.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Jr=null===(zn=Mn.nativeElement.tagName)||void 0===zn?void 0:zn.toLowerCase();this.isAnchorElement="a"===Jr||"area"===Jr,this.isAnchorElement?this.subscription=Me.events.subscribe(Ni=>{Ni instanceof Oe&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(Me){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Me)}ngOnChanges(Me){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(Me){null!=Me?(this.commands=Array.isArray(Me)?Me:[Me],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(Me,Qe,Ht,Bt,Mn){const Dr=this.urlTree;return!!(null===Dr||this.isAnchorElement&&(0!==Me||Qe||Ht||Bt||Mn||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Dr,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){var Me;null===(Me=this.subscription)||void 0===Me||Me.unsubscribe()}updateHref(){var Me;const Qe=this.urlTree;this.href=null!==Qe&&this.locationStrategy?null===(Me=this.locationStrategy)||void 0===Me?void 0:Me.prepareExternalUrl(this.router.serializeUrl(Qe)):null;const Ht=null===this.href?null:(0,o.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Ht)}applyAttributeValue(Me,Qe){const Ht=this.renderer,Bt=this.el.nativeElement;null!==Qe?Ht.setAttribute(Bt,Me,Qe):Ht.removeAttribute(Bt,Me)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)(o.rXU(ri),o.rXU(Ut),o.kS0("tabindex"),o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(k.hb))},Ae.\u0275dir=o.FsC({type:Ae,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Me,Qe){1&Me&&o.bIt("click",function(Bt){return Qe.onClick(Bt.button,Bt.ctrlKey,Bt.shiftKey,Bt.altKey,Bt.metaKey)}),2&Me&&o.BMQ("target",Qe.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[o.Mj6.HasDecoratorInputTransform,"preserveFragment","preserveFragment",o.L39],skipLocationChange:[o.Mj6.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",o.L39],replaceUrl:[o.Mj6.HasDecoratorInputTransform,"replaceUrl","replaceUrl",o.L39],routerLink:"routerLink"},standalone:!0,features:[o.GFd,o.OA$]}),je})();class ll{}let Is=(()=>{var Ae;class je{preload(Me,Qe){return Qe().pipe((0,re.W)(()=>(0,E.of)(null)))}}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)},Ae.\u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),je})(),za=(()=>{var Ae;class je{constructor(Me,Qe,Ht,Bt,Mn){this.router=Me,this.injector=Ht,this.preloadingStrategy=Bt,this.loader=Mn}setUpPreloading(){this.subscription=this.router.events.pipe((0,q.p)(Me=>Me instanceof Oe),(0,ce.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Me,Qe){const Ht=[];for(const zn of Qe){var Bt,Mn;zn.providers&&!zn._injector&&(zn._injector=(0,o.Ol2)(zn.providers,Me,`Route: ${zn.path}`));const Jr=null!==(Bt=zn._injector)&&void 0!==Bt?Bt:Me,Ni=null!==(Mn=zn._loadedInjector)&&void 0!==Mn?Mn:Jr;var Dr;(zn.loadChildren&&!zn._loadedRoutes&&void 0===zn.canLoad||zn.loadComponent&&!zn._loadedComponent)&&Ht.push(this.preloadConfig(Jr,zn)),(zn.children||zn._loadedRoutes)&&Ht.push(this.processRoutes(Ni,null!==(Dr=zn.children)&&void 0!==Dr?Dr:zn._loadedRoutes))}return(0,a.H)(Ht).pipe((0,Re.U)())}preloadConfig(Me,Qe){return this.preloadingStrategy.preload(Qe,()=>{let Ht;Ht=Qe.loadChildren&&void 0===Qe.canLoad?this.loader.loadChildren(Me,Qe):(0,E.of)(null);const Bt=Ht.pipe((0,Z.Z)(Mn=>{var Dr;return null===Mn?(0,E.of)(void 0):(Qe._loadedRoutes=Mn.routes,Qe._loadedInjector=Mn.injector,this.processRoutes(null!==(Dr=Mn.injector)&&void 0!==Dr?Dr:Me,Mn.routes))}));if(Qe.loadComponent&&!Qe._loadedComponent){const Mn=this.loader.loadComponent(Qe);return(0,a.H)([Bt,Mn]).pipe((0,Re.U)())}return Bt})}}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)(o.KVO(ri),o.KVO(o.Ql9),o.KVO(o.uvJ),o.KVO(ll),o.KVO(jr))},Ae.\u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),je})();const ho=new o.nKC("");let ul=(()=>{var Ae;class je{constructor(Me,Qe,Ht,Bt,Mn={}
1){this.urlSerializer=Me,this.transitions=Qe,this.viewportScroller=Ht,this.zone=Bt,this.options=Mn,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=(0,o.WQX)(o.uvJ),Mn.scrollPositionRestoration||(Mn.scrollPositionRestoration="disabled"),Mn.anchorScrolling||(Mn.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(Me=>{Me instanceof Fe?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Me.navigationTrigger,this.restoredId=Me.restoredState?Me.restoredState.navigationId:0):Me instanceof Oe?(this.lastId=Me.id,this.scheduleScrollEvent(Me,this.urlSerializer.parse(Me.urlAfterRedirects).fragment)):Me instanceof gn&&Me.code===_t.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Me,this.urlSerializer.parse(Me.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Me=>{Me instanceof Eo&&(Me.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Me.position):Me.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Me.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(Me,Qe){var Ht=this;this.zone.runOutsideAngular((0,c.A)(function*(){yield new Promise(Bt=>{setTimeout(()=>{Bt()}),(0,o.mal)(()=>{Bt()},{injector:Ht.environmentInjector})}),Ht.zone.run(()=>{Ht.transitions.events.next(new Eo(Me,"popstate"===Ht.lastSource?Ht.store[Ht.restoredId]:null,Qe))})}))}ngOnDestroy(){var Me,Qe;null===(Me=this.routerEventsSubscription)||void 0===Me||Me.unsubscribe(),null===(Qe=this.scrollEventsSubscription)||void 0===Qe||Qe.unsubscribe()}}return(Ae=je).\u0275fac=function(Me){o.QTQ()},Ae.\u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac}),je})();function Cs(Ae,je){return{\u0275kind:Ae,\u0275providers:je}}function Gu(){const Ae=(0,o.WQX)(o.zZn);return je=>{var Je,Me;const Qe=Ae.get(o.o8S);if(je!==Qe.components[0])return;const Ht=Ae.get(ri),Bt=Ae.get(le);1===Ae.get(pe)&&Ht.initialNavigation(),null===(Je=Ae.get(De,null,o.$GK.Optional))||void 0===Je||Je.setUpPreloading(),null===(Me=Ae.get(ho,null,o.$GK.Optional))||void 0===Me||Me.init(),Ht.resetRootComponentType(Qe.componentTypes[0]),Bt.closed||(Bt.next(),Bt.complete(),Bt.unsubscribe())}}const le=new o.nKC("",{factory:()=>new R.B}),pe=new o.nKC("",{providedIn:"root",factory:()=>1}),De=new o.nKC("");function Ve(Ae){return Cs(0,[{provide:De,useExisting:za},{provide:ll,useExisting:Ae}])}function Rn(Ae){return Cs(9,[{provide:Le,useValue:an},{provide:it,useValue:{skipNextTransition:!(null==Ae||!Ae.skipInitialTransition),...Ae}}])}const cr=new o.nKC("ROUTER_FORROOT_GUARD"),Gn=[k.aZ,{provide:Br,useClass:Gr},ri,$s,{provide:Ut,useFactory:function hu(Ae){return Ae.routerState.root},deps:[ri]},jr,[]];let Cr=(()=>{var Ae;class je{constructor(Me){}static forRoot(Me,Qe){return{ngModule:je,providers:[Gn,[],{provide:Pr,multi:!0,useValue:Me},{provide:cr,useFactory:Si,deps:[[ri,new o.Xx1,new o.kdw]]},{provide:Kr,useValue:Qe||{}},null!=Qe&&Qe.useHash?{provide:k.hb,useClass:k.fw}:{provide:k.hb,useClass:k.Sm},{provide:ho,useFactory:()=>{const Ae=(0,o.WQX)(k.Xr),je=(0,o.WQX)(o.SKi),Je=(0,o.WQX)(Kr),Me=(0,o.WQX)(Qt),Qe=(0,o.WQX)(Br);return Je.scrollOffset&&Ae.setOffset(Je.scrollOffset),new ul(Qe,Me,Ae,je,Je)}},null!=Qe&&Qe.preloadingStrategy?Ve(Qe.preloadingStrategy).\u0275providers:[],null!=Qe&&Qe.initialNavigation?Gi(Qe):[],null!=Qe&&Qe.bindToComponentInputs?Cs(8,[Wr,{provide:Ir,useExisting:Wr}]).\u0275providers:[],null!=Qe&&Qe.enableViewTransitions?Rn().\u0275providers:[],[{provide:Ui,useFactory:Gu},{provide:o.iLQ,multi:!0,useExisting:Ui}]]}}static forChild(Me){return{ngModule:je,providers:[{provide:Pr,multi:!0,useValue:Me}]}}}return(Ae=je).\u0275fac=function(Me){return new(Me||Ae)(o.KVO(cr,8))},Ae.\u0275mod=o.$C({type:Ae}),Ae.\u0275inj=o.G2t({}),je})();function Si(Ae){return"guarded"}function Gi(Ae){return["disabled"===Ae.initialNavigation?Cs(3,[{provide:o.hnV,multi:!0,useFactory:()=>{const je=(0,o.WQX)(ri);return()=>{je.setUpLocationChangeListener()}}},{provide:pe,useValue:2}]).\u0275providers:[],"enabledBlocking"===Ae.initialNavigation?Cs(2,[{provide:pe,useValue:0},{provide:o.hnV,multi:!0,deps:[o.zZn],useFactory:je=>{const Je=je.get(k.hj,Promise.resolve());return()=>Je.then(()=>new Promise(Me=>{const Qe=je.get(ri),Ht=je.get(le);Mo(Qe,()=>{Me(!0)}),je.get(Qt).afterPreactivation=()=>(Me(!0),Ht.closed?(0,E.of)(void 0):Ht),Qe.initialNavigation()}))}}]).\u0275providers:[]]}const Ui=new o.nKC("")}
1,80214:(ge,_,f)=>{"use strict";f.d(_,{WJ:()=>yt,EI:()=>et});var c=f(54438),o=f(60177),C=f(59030),a=f(18810),E=f(33726),T=f(7673),s=f(28793),h=f(21413),u=f(71985),v=f(85343);const g=new u.c(v.l);var p=f(26365),b=f(58750),R=f(983),P=f(9326),k=f(86648);function O(...Ft){const rt=(0,P.lI)(Ft),mt=(0,P.R0)(Ft,1/0),Mt=Ft;return Mt.length?1===Mt.length?(0,b.Tg)(Mt[0]):(0,p.U)(mt)((0,k.H)(Mt,rt)):R.w}var V=f(96354),K=f(5964),z=f(25558),H=f(30017),x=f(98071),q=f(39974);const de={connector:()=>new h.B};function ee(Ft,rt=de){const{connector:mt}=rt;return(0,q.N)((Mt,Vt)=>{const Lt=mt();(0,b.Tg)(Ft(function Z(Ft){return new u.c(rt=>Ft.subscribe(rt))}(Lt))).subscribe(Vt),Vt.add(Mt.subscribe(Lt))})}var fe=f(96697),ne=f(88141),ce=f(88839),me=f(54360),$=f(73703),X=f(31397);function M(Ft,rt){return rt?mt=>(0,s.x)(rt.pipe((0,fe.s)(1),function re(){return(0,q.N)((Ft,rt)=>{Ft.subscribe((0,me._)(rt,v.l))})}()),mt.pipe(M(Ft))):(0,X.Z)((mt,Mt)=>(0,b.Tg)(Ft(mt,Mt)).pipe((0,fe.s)(1),(0,$.u)(mt)))}var N=f(1807);const ue="Service workers are disabled or not supported by this browser";class we{constructor(rt){if(this.serviceWorker=rt,rt){const Mt=(0,E.R)(rt,"controllerchange").pipe((0,V.T)(()=>rt.controller)),Vt=(0,C.v)(()=>(0,T.of)(rt.controller)),Lt=(0,s.x)(Vt,Mt);this.worker=Lt.pipe((0,K.p)(or=>!!or)),this.registration=this.worker.pipe((0,z.n)(()=>rt.getRegistration()));const jn=(0,E.R)(rt,"message").pipe((0,V.T)(or=>or.data)).pipe((0,K.p)(or=>or&&or.type)).pipe(function ae(Ft){return Ft?rt=>ee(Ft)(rt):rt=>function Y(Ft,rt){const mt=(0,x.T)(Ft)?Ft:()=>Ft;return(0,x.T)(rt)?ee(rt,{connector:mt}):Mt=>new H.G(Mt,mt)}(new h.B)(rt)}());jn.connect(),this.events=jn}else this.worker=this.events=this.registration=function ve(Ft){return(0,C.v)(()=>(0,a.$)(new Error(Ft)))}(ue)}postMessage(rt,mt){return this.worker.pipe((0,fe.s)(1),(0,ne.M)(Mt=>{Mt.postMessage({action:rt,...mt})})).toPromise().then(()=>{})}postMessageWithOperation(rt,mt,Mt){const Vt=this.waitForOperationCompleted(Mt),Lt=this.postMessage(rt,mt);return Promise.all([Lt,Vt]).then(([,$n])=>$n)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(rt){let mt;return mt="string"==typeof rt?Mt=>Mt.type===rt:Mt=>rt.includes(Mt.type),this.events.pipe((0,K.p)(mt))}nextEventOfType(rt){return this.eventsOfType(rt).pipe((0,fe.s)(1))}waitForOperationCompleted(rt){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,K.p)(mt=>mt.nonce===rt),(0,fe.s)(1),(0,V.T)(mt=>{if(void 0!==mt.result)return mt.result;throw new Error(mt.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Re=(()=>{var Ft;class rt{get isEnabled(){return this.sw.isEnabled}constructor(Mt){if(this.sw=Mt,this.pushManager=null,this.subscriptionChanges=new h.B,!Mt.isEnabled)return this.messages=g,this.notificationClicks=g,void(this.subscription=g);this.messages=this.sw.eventsOfType("PUSH").pipe((0,V.T)(Lt=>Lt.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,V.T)(Lt=>Lt.data)),this.pushManager=this.sw.registration.pipe((0,V.T)(Lt=>Lt.pushManager));const Vt=this.pushManager.pipe((0,z.n)(Lt=>Lt.getSubscription()));this.subscription=O(Vt,this.subscriptionChanges)}requestSubscription(Mt){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(ue));const Vt={userVisibleOnly:!0};let Lt=this.decodeBase64(Mt.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),$n=new Uint8Array(new ArrayBuffer(Lt.length));for(let Tn=0;Tn<Lt.length;Tn++)$n[Tn]=Lt.charCodeAt(Tn);return Vt.applicationServerKey=$n,this.pushManager.pipe((0,z.n)(Tn=>Tn.subscribe(Vt)),(0,fe.s)(1)).toPromise().then(Tn=>(this.subscriptionChanges.next(Tn),Tn))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,fe.s)(1),(0,z.n)(Vt=>{if(null===Vt)throw new Error("Not subscribed to push notifications.");return Vt.unsubscribe().then(Lt=>{if(!Lt)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(ue))}decodeBase64(Mt){return atob(Mt)}}return(Ft=rt).\u0275fac=function(Mt){return new(Mt||Ft)(c.KVO(we))},Ft.\u0275prov=c.jDH({token:Ft,factory:Ft.\u0275fac}),rt})(),et=(()=>{var Ft;class rt{get isEnabled(){return this.sw.isEnabled}constructor(Mt){if(this.sw=Mt,!Mt.isEnabled)return this.versionUpdates=g,void(this.unrecoverable=g);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(ue));const Mt=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:Mt},Mt)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(ue));const Mt=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:Mt},Mt)}}return(Ft=rt).\u0275fac=function(Mt){return new(Mt||Ft)(c.KVO(we))},Ft.\u0275prov=c.jDH({token:Ft,factory:Ft.\u0275fac}),rt})();const at=new c.nKC("");function Pt(Ft,rt,mt,Mt){return()=>
1{if(!(0,o.UE)(Mt)||!("serviceWorker"in navigator)||!1===mt.enabled)return;let Vt;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof mt.registrationStrategy)Vt=mt.registrationStrategy();else{const[$n,...Tn]=(mt.registrationStrategy||"registerWhenStable:30000").split(":");switch($n){case"registerImmediately":Vt=(0,T.of)(null);break;case"registerWithDelay":Vt=At(+Tn[0]||0);break;case"registerWhenStable":Vt=Tn[0]?O(It(Ft),At(+Tn[0])):It(Ft);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${mt.registrationStrategy}`)}}Ft.get(c.SKi).runOutsideAngular(()=>Vt.pipe((0,fe.s)(1)).subscribe(()=>navigator.serviceWorker.register(rt,{scope:mt.scope}).catch($n=>console.error("Service worker registration failed with:",$n))))}}function At(Ft){return(0,T.of)(null).pipe(function G(Ft,rt=ce.E){const mt=(0,N.O)(Ft,rt);return M(()=>mt)}(Ft))}function It(Ft){return Ft.get(c.o8S).isStable.pipe((0,K.p)(mt=>mt))}function qt(Ft,rt){return new we((0,o.UE)(rt)&&!1!==Ft.enabled?navigator.serviceWorker:void 0)}class St{}function lt(Ft,rt={}){return(0,c.EmA)([Re,et,{provide:at,useValue:Ft},{provide:St,useValue:rt},{provide:we,useFactory:qt,deps:[St,c.Agw]},{provide:c.hnV,useFactory:Pt,deps:[c.zZn,at,St,c.Agw],multi:!0}])}let yt=(()=>{var Ft;class rt{static register(Mt,Vt={}){return{ngModule:rt,providers:[lt(Mt,Vt)]}}}return(Ft=rt).\u0275fac=function(Mt){return new(Mt||Ft)},Ft.\u0275mod=c.$C({type:Ft}),Ft.\u0275inj=c.G2t({providers:[Re,et]}),rt})()},12872:(ge,_,f)=>{"use strict";f.d(_,{Yq:()=>rt,TS:()=>St,sR:()=>lt,el:()=>nr,Sb:()=>Br,QE:()=>ni,CF:()=>ur,Rg:()=>dr,p4:()=>vi,jM:()=>vo,_t:()=>ue,q9:()=>Pt,Kb:()=>Co,OD:()=>Re,CE:()=>fn,pF:()=>fr,fL:()=>$i,YV:()=>Cn,er:()=>no,z3:()=>Xi});var c=f(10467),o=f(99842),C=f(54438),a=f(24042),E=f(60177),T=f(45531),s=f(44442);var ae=f(21413),fe=f(33726),ne=f(84412),ce=f(84572),me=f(7673),re=f(31635),$=f(5964),X=f(25558),M=f(23294),N=f(89417);const G=["tabsInner"];class ue{constructor(Jt){(0,o.A)(this,"menuController",void 0),this.menuController=Jt}open(Jt){return this.menuController.open(Jt)}close(Jt){return this.menuController.close(Jt)}toggle(Jt){return this.menuController.toggle(Jt)}enable(Jt,kn){return this.menuController.enable(Jt,kn)}swipeGesture(Jt,kn){return this.menuController.swipeGesture(Jt,kn)}isOpen(Jt){return this.menuController.isOpen(Jt)}isEnabled(Jt){return this.menuController.isEnabled(Jt)}get(Jt){return this.menuController.get(Jt)}getOpen(){return this.menuController.getOpen()}getMenus(){return this.menuController.getMenus()}registerAnimation(Jt,kn){return this.menuController.registerAnimation(Jt,kn)}isAnimating(){return this.menuController.isAnimating()}_getOpenSync(){return this.menuController._getOpenSync()}_createAnimation(Jt,kn){return this.menuController._createAnimation(Jt,kn)}_register(Jt){return this.menuController._register(Jt)}_unregister(Jt){return this.menuController._unregister(Jt)}_setOpen(Jt,kn,Ke){return this.menuController._setOpen(Jt,kn,Ke)}}let Re=(()=>{var mn;class Jt{constructor(Ke,Ze){(0,o.A)(this,"doc",void 0),(0,o.A)(this,"_readyPromise",void 0),(0,o.A)(this,"win",void 0),(0,o.A)(this,"backButton",new ae.B),(0,o.A)(this,"keyboardDidShow",new ae.B),(0,o.A)(this,"keyboardDidHide",new ae.B),(0,o.A)(this,"pause",new ae.B),(0,o.A)(this,"resume",new ae.B),(0,o.A)(this,"resize",new ae.B),this.doc=Ke,Ze.run(()=>{var Ot;let nn;this.win=Ke.defaultView,this.backButton.subscribeWithPriority=function(wt,st){return this.subscribe(jt=>jt.register(wt,xt=>Ze.run(()=>st(xt))))},at(this.pause,Ke,"pause",Ze),at(this.resume,Ke,"resume",Ze),at(this.backButton,Ke,"ionBackButton",Ze),at(this.resize,this.win,"resize",Ze),at(this.keyboardDidShow,this.win,"ionKeyboardDidShow",Ze),at(this.keyboardDidHide,this.win,"ionKeyboardDidHide",Ze),this._readyPromise=new Promise(wt=>{nn=wt}),null!==(Ot=this.win)&&void 0!==Ot&&Ot.cordova?Ke.addEventListener("deviceready",()=>{nn("cordova")},{once:!0}):nn("dom")})}is(Ke){return(0,T.a)(this.win,Ke)}platforms(){return(0,T.g)(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(Ke){return et(this.win.location.href,Ke)}isLandscape(){return!this.isPortrait()}isPortrait(){var Ke,Ze;return null===(Ke=(Ze=this.win).matchMedia)||void 0===Ke?void 0:Ke.call(Ze,"(orientation: portrait)").matches}testUserAgent(Ke){const Ze=this.win.navigator;return!!(null!=Ze&&Ze.userAgent&&Ze.userAgent.indexOf(Ke)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return mn=Jt,(0,o.A)(Jt,"\u0275fac",function(Ke){return new(Ke||mn)(C.KVO(E.qQ),C.KVO(C.SKi))}
1),(0,o.A)(Jt,"\u0275prov",C.jDH({token:mn,factory:mn.\u0275fac,providedIn:"root"})),Jt})();const et=(mn,Jt)=>{Jt=Jt.replace(/[[\]\\]/g,"\\$&");const Ke=new RegExp("[\\?&]"+Jt+"=([^&#]*)").exec(mn);return Ke?decodeURIComponent(Ke[1].replace(/\+/g," ")):null},at=(mn,Jt,kn,Ke)=>{Jt&&Jt.addEventListener(kn,Ze=>{Ke.run(()=>{mn.next(null!=Ze?Ze.detail:void 0)})})};let Pt=(()=>{var mn;class Jt{constructor(Ke,Ze,Ot,nn){(0,o.A)(this,"location",void 0),(0,o.A)(this,"serializer",void 0),(0,o.A)(this,"router",void 0),(0,o.A)(this,"topOutlet",void 0),(0,o.A)(this,"direction",It),(0,o.A)(this,"animated",qt),(0,o.A)(this,"animationBuilder",void 0),(0,o.A)(this,"guessDirection","forward"),(0,o.A)(this,"guessAnimation",void 0),(0,o.A)(this,"lastNavId",-1),this.location=Ze,this.serializer=Ot,this.router=nn,nn&&nn.events.subscribe(wt=>{if(wt instanceof a.Z){const st=wt.restoredState?wt.restoredState.navigationId:wt.id;this.guessDirection=this.guessAnimation=st<this.lastNavId?"back":"forward",this.lastNavId="forward"===this.guessDirection?wt.id:st}}),Ke.backButton.subscribeWithPriority(0,wt=>{this.pop(),wt()})}navigateForward(Ke,Ze={}){return this.setDirection("forward",Ze.animated,Ze.animationDirection,Ze.animation),this.navigate(Ke,Ze)}navigateBack(Ke,Ze={}){return this.setDirection("back",Ze.animated,Ze.animationDirection,Ze.animation),this.navigate(Ke,Ze)}navigateRoot(Ke,Ze={}){return this.setDirection("root",Ze.animated,Ze.animationDirection,Ze.animation),this.navigate(Ke,Ze)}back(Ke={animated:!0,animationDirection:"back"}){return this.setDirection("back",Ke.animated,Ke.animationDirection,Ke.animation),this.location.back()}pop(){var Ke=this;return(0,c.A)(function*(){let Ze=Ke.topOutlet;for(;Ze;){if(yield Ze.pop())return!0;Ze=Ze.parentOutlet}return!1})()}setDirection(Ke,Ze,Ot,nn){this.direction=Ke,this.animated=At(Ke,Ze,Ot),this.animationBuilder=nn}setTopOutlet(Ke){this.topOutlet=Ke}consumeTransition(){let Ze,Ke="root";const Ot=this.animationBuilder;return"auto"===this.direction?(Ke=this.guessDirection,Ze=this.guessAnimation):(Ze=this.animated,Ke=this.direction),this.direction=It,this.animated=qt,this.animationBuilder=void 0,{direction:Ke,animation:Ze,animationBuilder:Ot}}navigate(Ke,Ze){if(Array.isArray(Ke))return this.router.navigate(Ke,Ze);{const Ot=this.serializer.parse(Ke.toString());return void 0!==Ze.queryParams&&(Ot.queryParams={...Ze.queryParams}),void 0!==Ze.fragment&&(Ot.fragment=Ze.fragment),this.router.navigateByUrl(Ot,Ze)}}}return mn=Jt,(0,o.A)(Jt,"\u0275fac",function(Ke){return new(Ke||mn)(C.KVO(Re),C.KVO(E.aZ),C.KVO(a.Sd),C.KVO(a.Ix,8))}),(0,o.A)(Jt,"\u0275prov",C.jDH({token:mn,factory:mn.\u0275fac,providedIn:"root"})),Jt})();const At=(mn,Jt,kn)=>{if(!1!==Jt){if(void 0!==kn)return kn;if("forward"===mn||"back"===mn)return mn;if("root"===mn&&!0===Jt)return"forward"}},It="auto",qt=void 0;let St=(()=>{var mn;class Jt{get(Ke,Ze){const Ot=yt();return Ot?Ot.get(Ke,Ze):null}getBoolean(Ke,Ze){const Ot=yt();return!!Ot&&Ot.getBoolean(Ke,Ze)}getNumber(Ke,Ze){const Ot=yt();return Ot?Ot.getNumber(Ke,Ze):0}}return mn=Jt,(0,o.A)(Jt,"\u0275fac",function(Ke){return new(Ke||mn)}),(0,o.A)(Jt,"\u0275prov",C.jDH({token:mn,factory:mn.\u0275fac,providedIn:"root"})),Jt})();const lt=new C.nKC("USERCONFIG"),yt=()=>{if(typeof window<"u"){const mn=window.Ionic;if(null!=mn&&mn.config)return mn.config}return null};class Ft{constructor(Jt={}){(0,o.A)(this,"data",void 0),this.data=Jt,console.warn("[Ionic Warning]: NavParams has been deprecated in favor of using Angular's input API. Developers should migrate to either the @Input decorator or the Signals-based input API.")}get(Jt){return this.data[Jt]}}let rt=(()=>{var mn;class Jt{constructor(){(0,o.A)(this,"zone",(0,C.WQX)(C.SKi)),(0,o.A)(this,"applicationRef",(0,C.WQX)(C.o8S)),(0,o.A)(this,"config",(0,C.WQX)(lt))}create(Ke,Ze,Ot){var nn;return new mt(Ke,Ze,this.applicationRef,this.zone,Ot,null!==(nn=this.config.useSetInputAPI)&&void 0!==nn&&nn)}}return mn=Jt,(0,o.A)(Jt,"\u0275fac",function(Ke){return new(Ke||mn)}),(0,o.A)(Jt,"\u0275prov",C.jDH({token:mn,factory:mn.\u0275fac})),Jt})();class mt{constructor(Jt,kn,Ke,Ze,Ot,nn){(0,o.A)(this,"environmentInjector",void 0),(0,o.A)(this,"injector",void 0),(0,o.A)(this,"applicationRef",void 0),(0,o.A)(this,"zone",void 0),(0,o.A)(this,"elementReferenceKey",void 0),(0,o.A)(this,"enableSignalsSupport",void 0),(0,o.A)(this,"elRefMap",new WeakMap),(0,o.A)(this,"elEventsMap",new WeakMap),this.environmentInjector=Jt,this.injector=kn,this.applicationRef=Ke,this.zone=Ze,this.elementReferenceKey=Ot,this.enableSignalsSupport=nn}attachViewToDom(Jt,kn,Ke,Ze){return this.zone.run(()=>new Promise(Ot=>{const nn={...Ke};void 0!==this.elementReferenceKey&&(nn[this.elementReferenceKey]=Jt),Ot(Mt(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,Jt,kn,nn,Ze,this.elementReferenceKey,this.enableSignalsSupport))}))}removeViewFromDom(Jt,kn){return this.zone.run(()=>new Promise(Ke=>{const Ze=this.elRefMap.get(kn);if(Ze){Ze.destroy(),this.elRefMap.delete(kn);const Ot=this.elEventsMap.get(kn);Ot&&(Ot(),this.elEventsMap.delete(kn))}Ke()}))}}const Mt=(mn,Jt,kn,Ke,Ze,Ot,nn,wt,st,jt,xt,hn)=>
1{const ft=C.zZn.create({providers:Tn(st),parent:kn}),He=(0,C.a0P)(wt,{environmentInjector:Jt,elementInjector:ft}),Pe=He.instance,Fe=He.location.nativeElement;if(st)if(xt&&void 0!==Pe[xt]&&console.error(`[Ionic Error]: ${xt} is a reserved property when using ${nn.tagName.toLowerCase()}. Rename or remove the "${xt}" property from ${wt.name}.`),!0===hn&&void 0!==He.setInput){const{modal:We,popover:_t,...en}=st;for(const gn in en)He.setInput(gn,en[gn]);void 0!==We&&Object.assign(Pe,{modal:We}),void 0!==_t&&Object.assign(Pe,{popover:_t})}else Object.assign(Pe,st);if(jt)for(const We of jt)Fe.classList.add(We);const Oe=Lt(mn,Pe,Fe);return nn.appendChild(Fe),Ke.attachView(He.hostView),Ze.set(Fe,He),Ot.set(Fe,Oe),Fe},Vt=[s.L,s.a,s.b,s.c,s.d],Lt=(mn,Jt,kn)=>mn.run(()=>{const Ke=Vt.filter(Ze=>"function"==typeof Jt[Ze]).map(Ze=>{const Ot=nn=>Jt[Ze](nn.detail);return kn.addEventListener(Ze,Ot),()=>kn.removeEventListener(Ze,Ot)});return()=>Ke.forEach(Ze=>Ze())}),$n=new C.nKC("NavParamsToken"),Tn=mn=>[{provide:$n,useValue:mn},{provide:Ft,useFactory:An,deps:[$n]}],An=mn=>new Ft(mn),jn=(mn,Jt)=>{const kn=mn.prototype;Jt.forEach(Ke=>{Object.defineProperty(kn,Ke,{get(){return this.el[Ke]},set(Ze){this.z.runOutsideAngular(()=>this.el[Ke]=Ze)}})})},or=(mn,Jt)=>{const kn=mn.prototype;Jt.forEach(Ke=>{kn[Ke]=function(){const Ze=arguments;return this.z.runOutsideAngular(()=>this.el[Ke].apply(this.el,Ze))}})},br=(mn,Jt,kn)=>{kn.forEach(Ke=>mn[Ke]=(0,fe.R)(Jt,Ke))};function Fr(mn){return function(kn){const{defineCustomElementFn:Ke,inputs:Ze,methods:Ot}=mn;return void 0!==Ke&&Ke(),Ze&&jn(kn,Ze),Ot&&or(kn,Ot),kn}}const On=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],sr=["present","dismiss","onDidDismiss","onWillDismiss"];let ur=(()=>{var mn;let Jt=((0,o.A)(mn=class{constructor(Ke,Ze,Ot){(0,o.A)(this,"z",void 0),(0,o.A)(this,"template",void 0),(0,o.A)(this,"isCmpOpen",!1),(0,o.A)(this,"el",void 0),this.z=Ot,this.el=Ze.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,Ke.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,Ke.detectChanges()}),br(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}},"\u0275fac",function(Ke){return new(Ke||mn)(C.rXU(C.gRc),C.rXU(C.aKT),C.rXU(C.SKi))}),(0,o.A)(mn,"\u0275dir",C.FsC({type:mn,selectors:[["ion-popover"]],contentQueries:function(Ke,Ze,Ot){if(1&Ke&&C.wni(Ot,C.C4Q,5),2&Ke){let nn;C.mGM(nn=C.lsd())&&(Ze.template=nn.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"}})),mn);return Jt=(0,re.Cg)([Fr({inputs:On,methods:sr})],Jt),Jt})();const tr=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],Lr=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let Br=(()=>{var mn;let Jt=((0,o.A)(mn=class{constructor(Ke,Ze,Ot){(0,o.A)(this,"z",void 0),(0,o.A)(this,"template",void 0),(0,o.A)(this,"isCmpOpen",!1),(0,o.A)(this,"el",void 0),this.z=Ot,this.el=Ze.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,Ke.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,Ke.detectChanges()}),br(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}},"\u0275fac",function(Ke){return new(Ke||mn)(C.rXU(C.gRc),C.rXU(C.aKT),C.rXU(C.SKi))}),(0,o.A)(mn,"\u0275dir",C.FsC({type:mn,selectors:[["ion-modal"]],contentQueries:function(Ke,Ze,Ot){if(1&Ke&&C.wni(Ot,C.C4Q,5),2&Ke){let nn;C.mGM(nn=C.lsd())&&(Ze.template=nn.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",handle:"handle",handleBehavior:"handleBehavior",initialBreakp
1oint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"}})),mn);return Jt=(0,re.Cg)([Fr({inputs:tr,methods:Lr})],Jt),Jt})();const qr=(mn,Jt)=>((mn=mn.filter(kn=>kn.stackId!==Jt.stackId)).push(Jt),mn),Nr=(mn,Jt)=>{const kn=mn.createUrlTree(["."],{relativeTo:Jt});return mn.serializeUrl(kn)},$r=(mn,Jt)=>!Jt||mn.stackId!==Jt.stackId,Xr=(mn,Jt)=>{if(!mn)return;const kn=Rt(Jt);for(let Ke=0;Ke<kn.length;Ke++){if(Ke>=mn.length)return kn[Ke];if(kn[Ke]!==mn[Ke])return}},Rt=mn=>mn.split("/").map(Jt=>Jt.trim()).filter(Jt=>""!==Jt),zt=mn=>{mn&&(mn.ref.destroy(),mn.unlistenEvents())};class vn{constructor(Jt,kn,Ke,Ze,Ot,nn){(0,o.A)(this,"containerEl",void 0),(0,o.A)(this,"router",void 0),(0,o.A)(this,"navCtrl",void 0),(0,o.A)(this,"zone",void 0),(0,o.A)(this,"location",void 0),(0,o.A)(this,"views",[]),(0,o.A)(this,"runningTask",void 0),(0,o.A)(this,"skipTransition",!1),(0,o.A)(this,"tabsPrefix",void 0),(0,o.A)(this,"activeView",void 0),(0,o.A)(this,"nextId",0),this.containerEl=kn,this.router=Ke,this.navCtrl=Ze,this.zone=Ot,this.location=nn,this.tabsPrefix=void 0!==Jt?Rt(Jt):void 0}createView(Jt,kn){var Ke;const Ze=Nr(this.router,kn),Ot=null==Jt||null===(Ke=Jt.location)||void 0===Ke?void 0:Ke.nativeElement,nn=Lt(this.zone,Jt.instance,Ot);return{id:this.nextId++,stackId:Xr(this.tabsPrefix,Ze),unlistenEvents:nn,element:Ot,ref:Jt,url:Ze}}getExistingView(Jt){const kn=Nr(this.router,Jt),Ke=this.views.find(Ze=>Ze.url===kn);return Ke&&Ke.ref.changeDetectorRef.reattach(),Ke}setActive(Jt){var kn,Ke;const Ze=this.navCtrl.consumeTransition();let{direction:Ot,animation:nn,animationBuilder:wt}=Ze;const st=this.activeView,jt=$r(Jt,st);jt&&(Ot="back",nn=void 0);const xt=this.views.slice();let hn;const ft=this.router;ft.getCurrentNavigation?hn=ft.getCurrentNavigation():null!==(kn=ft.navigations)&&void 0!==kn&&kn.value&&(hn=ft.navigations.value),null!==(Ke=hn)&&void 0!==Ke&&null!==(Ke=Ke.extras)&&void 0!==Ke&&Ke.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const He=this.views.includes(Jt),Pe=this.insertView(Jt,Ot);He||Jt.ref.changeDetectorRef.detectChanges();const Fe=Jt.animationBuilder;return void 0===wt&&"back"===Ot&&!jt&&void 0!==Fe&&(wt=Fe),st&&(st.animationBuilder=wt),this.zone.runOutsideAngular(()=>this.wait(()=>(st&&st.ref.changeDetectorRef.detach(),Jt.ref.changeDetectorRef.reattach(),this.transition(Jt,st,nn,this.canGoBack(1),!1,wt).then(()=>ln(Jt,Pe,xt,this.location,this.zone)).then(()=>({enteringView:Jt,direction:Ot,animation:nn,tabSwitch:jt})))))}canGoBack(Jt,kn=this.getActiveStackId()){return this.getStack(kn).length>Jt}pop(Jt,kn=this.getActiveStackId()){return this.zone.run(()=>{const Ke=this.getStack(kn);if(Ke.length<=Jt)return Promise.resolve(!1);const Ze=Ke[Ke.length-Jt-1];let Ot=Ze.url;const nn=Ze.savedData;if(nn){var wt;const jt=nn.get("primary");null!=jt&&null!==(wt=jt.route)&&void 0!==wt&&null!==(wt=wt._routerState)&&void 0!==wt&&wt.snapshot.url&&(Ot=jt.route._routerState.snapshot.url)}const{animationBuilder:st}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(Ot,{...Ze.savedExtras,animation:st}).then(()=>!0)})}startBackTransition(){const Jt=this.activeView;if(Jt){const kn=this.getStack(Jt.stackId),Ke=kn[kn.length-2],Ze=Ke.animationBuilder;return this.wait(()=>this.transition(Ke,Jt,"back",this.canGoBack(2),!0,Ze))}return Promise.resolve()}endBackTransition(Jt){Jt?(this.skipTransition=!0,this.pop(1)):this.activeView&&Sn(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(Jt){const kn=this.getStack(Jt);return kn.length>0?kn[kn.length-1]:void 0}getRootUrl(Jt){const kn=this.getStack(Jt);return kn.length>0?kn[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(zt),this.activeView=void 0,this.views=[]}getStack(Jt){return this.views.filter(kn=>kn.stackId===Jt)}insertView(Jt,kn){return this.activeView=Jt,this.views=((mn,Jt,kn)=>"root"===kn?qr(mn,Jt):"forward"===kn?((mn,Jt)=>(mn.indexOf(Jt)>=0?mn=mn.filter(Ke=>Ke.stackId!==Jt.stackId||Ke.id<=Jt.id):mn.push(Jt),mn))(mn,Jt):((mn,Jt)=>mn.indexOf(Jt)>=0?mn.filter(Ke=>Ke.stackId!==Jt.stackId||Ke.id<=Jt.id):qr(mn,Jt))(mn,Jt))(this.views,Jt,kn),this.views.slice()}transition(Jt,kn,Ke,Ze,Ot,nn){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(kn===Jt)return Promise.resolve(!1);const wt=Jt?Jt.element:void 0,st=kn?kn.element:void 0,jt=this.containerEl;return wt&&wt!==st&&(wt.classList.add("ion-page"),wt.classList.add("ion-page-invisible"),jt.commit)?jt.commit(wt,st,{duration:void 0===Ke?0:void 0,direction:Ke,showGoBack:Ze,progressAnimation:Ot,animationBuilder:nn}):Promise.resolve(!1)}wait(Jt){var kn=this;return(0,c.A)(function*(){void 0!==kn.runningTask&&(yield kn.runningTask,kn.runningTask=void 0);const Ke=kn.runningTask=Jt();return Ke.finally(()=>kn.runningTask=void 0),Ke})()}}const ln=(mn,Jt,kn,Ke,Ze)=>"function"==typeof requestAnimationFrame?new Promise(Ot=>{requestAnimationFrame(()=>{Sn(mn,Jt,kn,Ke,Ze),Ot()})}):Promise.resolve(),Sn=(mn,Jt,kn,Ke,Ze)=>{Ze.run(()=>kn.filter(Ot=>
1!Jt.includes(Ot)).forEach(zt)),Jt.forEach(Ot=>{const wt=Ke.path().split("?")[0].split("#")[0];if(Ot!==mn&&Ot.url!==wt){const st=Ot.element;st.setAttribute("aria-hidden","true"),st.classList.add("ion-page-hidden"),Ot.ref.changeDetectorRef.detach()}})};let dr=(()=>{var mn;class Jt{get activatedComponentRef(){return this.activated}set animation(Ke){this.nativeEl.animation=Ke}set animated(Ke){this.nativeEl.animated=Ke}set swipeGesture(Ke){this._swipeGesture=Ke,this.nativeEl.swipeHandler=Ke?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:Ze=>this.stackCtrl.endBackTransition(Ze)}:void 0}constructor(Ke,Ze,Ot,nn,wt,st,jt,xt){(0,o.A)(this,"parentOutlet",void 0),(0,o.A)(this,"nativeEl",void 0),(0,o.A)(this,"activatedView",null),(0,o.A)(this,"tabsPrefix",void 0),(0,o.A)(this,"_swipeGesture",void 0),(0,o.A)(this,"stackCtrl",void 0),(0,o.A)(this,"proxyMap",new WeakMap),(0,o.A)(this,"currentActivatedRoute$",new ne.t(null)),(0,o.A)(this,"activated",null),(0,o.A)(this,"_activatedRoute",null),(0,o.A)(this,"name",a.Xk),(0,o.A)(this,"stackWillChange",new C.bkB),(0,o.A)(this,"stackDidChange",new C.bkB),(0,o.A)(this,"activateEvents",new C.bkB),(0,o.A)(this,"deactivateEvents",new C.bkB),(0,o.A)(this,"parentContexts",(0,C.WQX)(a.Zp)),(0,o.A)(this,"location",(0,C.WQX)(C.c1b)),(0,o.A)(this,"environmentInjector",(0,C.WQX)(C.uvJ)),(0,o.A)(this,"inputBinder",(0,C.WQX)(tn,{optional:!0})),(0,o.A)(this,"supportsBindingToComponentInputs",!0),(0,o.A)(this,"config",(0,C.WQX)(St)),(0,o.A)(this,"navCtrl",(0,C.WQX)(Pt)),this.parentOutlet=xt,this.nativeEl=nn.nativeElement,this.name=Ke||a.Xk,this.tabsPrefix="true"===Ze?Nr(wt,jt):void 0,this.stackCtrl=new vn(this.tabsPrefix,this.nativeEl,wt,this.navCtrl,st,Ot),this.parentContexts.onChildOutletCreated(this.name,this)}ngOnDestroy(){var Ke;this.stackCtrl.destroy(),null===(Ke=this.inputBinder)||void 0===Ke||Ke.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const Ke=this.getContext();null!=Ke&&Ke.route&&this.activateWith(Ke.route,Ke.injector)}new Promise(Ke=>((mn,Jt)=>{mn.componentOnReady?mn.componentOnReady().then(kn=>Jt(kn)):(mn=>{"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(mn):"function"==typeof requestAnimationFrame?requestAnimationFrame(mn):setTimeout(mn)})(()=>Jt(mn))})(this.nativeEl,Ke)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(Ke,Ze){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const Ze=this.getContext();this.activatedView.savedData=new Map(Ze.children.contexts);const Ot=this.activatedView.savedData.get("primary");if(Ot&&Ze.route&&(Ot.route={...Ze.route}),this.activatedView.savedExtras={},Ze.route){const nn=Ze.route.snapshot;this.activatedView.savedExtras.queryParams=nn.queryParams,this.activatedView.savedExtras.fragment=nn.fragment}}const Ke=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Ke)}}activateWith(Ke,Ze){var Ot;if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=Ke;let nn,wt=this.stackCtrl.getExistingView(Ke);if(wt){nn=this.activated=wt.ref;const xt=wt.savedData;xt&&(this.getContext().children.contexts=xt),this.updateActivatedRouteProxy(nn.instance,Ke)}else{var st;const xt=Ke._futureSnapshot,hn=this.parentContexts.getOrCreateContext(this.name).children,ft=new ne.t(null),He=this.createActivatedRouteProxy(ft,Ke),Pe=new En(He,hn,this.location.injector),Fe=null!==(st=xt.routeConfig.component)&&void 0!==st?st:xt.component;nn=this.activated=this.outletContent.createComponent(Fe,{index:this.outletContent.length,injector:Pe,environmentInjector:null!=Ze?Ze:this.environmentInjector}),ft.next(nn.instance),wt=this.stackCtrl.createView(this.activated,Ke),this.proxyMap.set(nn.instance,He),this.currentActivatedRoute$.next({component:nn.instance,activatedRoute:Ke})}null===(Ot=this.inputBinder)||void 0===Ot||Ot.bindActivatedRouteToOutletComponent(this),this.activatedView=wt,this.navCtrl.setTopOutlet(this);const jt=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:wt,tabSwitch:$r(wt,jt)}),this.stackCtrl.setActive(wt).then(xt=>{this.activateEvents.emit(nn.instance),this.stackDidChange.emit(xt)})}canGoBack(Ke=1,Ze){return this.stackCtrl.canGoBack(Ke,Ze)}pop(Ke=1,Ze){return this.stackCtrl.pop(Ke,Ze)}getLastUrl(Ke){const Ze=this.stackCtrl.getLastUrl(Ke);return Ze?Ze.url:void 0}getLastRouteView(Ke){return this.stackCtrl.getLastUrl(Ke)}getRootView(Ke){return this.stackCtrl.getRootUrl(Ke)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(Ke,Ze){const Ot=new a.nX;return Ot._futureSnapshot=Ze._futureSnapshot,Ot._routerState=Ze._routerState,Ot.snapshot=Ze.snapshot,Ot.outlet=Ze.outlet,Ot.component=Ze.component,Ot._paramMap=this.proxyObservable(Ke,"paramMap"),Ot._queryParamMap=this.proxyObservable(Ke,"queryParamMap"),Ot.url=this.proxyObservable(Ke,"url"),Ot.params=this.proxyObservable(Ke,"params"),Ot.queryParams=this.proxyObservable(Ke,"queryParams"),Ot.fragment=this.proxyObservable(Ke,"fragment"),Ot.data=this.proxyObservable(Ke,"data"),Ot}proxyObservable(Ke,Ze){return Ke.pipe((0,$.p)(Ot=>!!Ot),(0,X.n)(Ot=>this.currentActivatedRoute$.pipe((0,$.p)(nn=>null!==nn&&nn.component===Ot),(0,X.n)(nn=>
1nn&&nn.activatedRoute[Ze]),(0,M.F)())))}updateActivatedRouteProxy(Ke,Ze){const Ot=this.proxyMap.get(Ke);if(!Ot)throw new Error("Could not find activated route proxy for view");Ot._futureSnapshot=Ze._futureSnapshot,Ot._routerState=Ze._routerState,Ot.snapshot=Ze.snapshot,Ot.outlet=Ze.outlet,Ot.component=Ze.component,this.currentActivatedRoute$.next({component:Ke,activatedRoute:Ze})}}return mn=Jt,(0,o.A)(Jt,"\u0275fac",function(Ke){return new(Ke||mn)(C.kS0("name"),C.kS0("tabs"),C.rXU(E.aZ),C.rXU(C.aKT),C.rXU(a.Ix),C.rXU(C.SKi),C.rXU(a.nX),C.rXU(mn,12))}),(0,o.A)(Jt,"\u0275dir",C.FsC({type:mn,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]})),Jt})();class En{constructor(Jt,kn,Ke){(0,o.A)(this,"route",void 0),(0,o.A)(this,"childContexts",void 0),(0,o.A)(this,"parent",void 0),this.route=Jt,this.childContexts=kn,this.parent=Ke}get(Jt,kn){return Jt===a.nX?this.route:Jt===a.Zp?this.childContexts:this.parent.get(Jt,kn)}}const tn=new C.nKC("");let bn=(()=>{var mn;class Jt{constructor(){(0,o.A)(this,"outletDataSubscriptions",new Map)}bindActivatedRouteToOutletComponent(Ke){this.unsubscribeFromRouteData(Ke),this.subscribeToRouteData(Ke)}unsubscribeFromRouteData(Ke){var Ze;null===(Ze=this.outletDataSubscriptions.get(Ke))||void 0===Ze||Ze.unsubscribe(),this.outletDataSubscriptions.delete(Ke)}subscribeToRouteData(Ke){const{activatedRoute:Ze}=Ke,Ot=(0,ce.z)([Ze.queryParams,Ze.params,Ze.data]).pipe((0,X.n)(([nn,wt,st],jt)=>(st={...nn,...wt,...st},0===jt?(0,me.of)(st):Promise.resolve(st)))).subscribe(nn=>{if(!Ke.isActivated||!Ke.activatedComponentRef||Ke.activatedRoute!==Ze||null===Ze.component)return void this.unsubscribeFromRouteData(Ke);const wt=(0,C.HJs)(Ze.component);if(wt)for(const{templateName:st}of wt.inputs)Ke.activatedComponentRef.setInput(st,nn[st]);else this.unsubscribeFromRouteData(Ke)});this.outletDataSubscriptions.set(Ke,Ot)}}return mn=Jt,(0,o.A)(Jt,"\u0275fac",function(Ke){return new(Ke||mn)}),(0,o.A)(Jt,"\u0275prov",C.jDH({token:mn,factory:mn.\u0275fac})),Jt})();const Cn=()=>({provide:tn,useFactory:Kn,deps:[a.Ix]});function Kn(mn){return null!=mn&&mn.componentInputBindingEnabled?new bn:null}const Xn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let nr=(()=>{var mn;let Jt=((0,o.A)(mn=class{constructor(Ke,Ze,Ot,nn,wt,st){(0,o.A)(this,"routerOutlet",void 0),(0,o.A)(this,"navCtrl",void 0),(0,o.A)(this,"config",void 0),(0,o.A)(this,"r",void 0),(0,o.A)(this,"z",void 0),(0,o.A)(this,"el",void 0),this.routerOutlet=Ke,this.navCtrl=Ze,this.config=Ot,this.r=nn,this.z=wt,st.detach(),this.el=this.r.nativeElement}onClick(Ke){var Ze;const Ot=this.defaultHref||this.config.get("backButtonDefaultHref");null!==(Ze=this.routerOutlet)&&void 0!==Ze&&Ze.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),Ke.preventDefault()):null!=Ot&&(this.navCtrl.navigateBack(Ot,{animation:this.routerAnimation}),Ke.preventDefault())}},"\u0275fac",function(Ke){return new(Ke||mn)(C.rXU(dr,8),C.rXU(Pt),C.rXU(St),C.rXU(C.aKT),C.rXU(C.SKi),C.rXU(C.gRc))}),(0,o.A)(mn,"\u0275dir",C.FsC({type:mn,hostBindings:function(Ke,Ze){1&Ke&&C.bIt("click",function(nn){return Ze.onClick(nn)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}})),mn);return Jt=(0,re.Cg)([Fr({inputs:Xn})],Jt),Jt})(),fn=(()=>{var mn;class Jt{constructor(Ke,Ze,Ot,nn,wt){(0,o.A)(this,"locationStrategy",void 0),(0,o.A)(this,"navCtrl",void 0),(0,o.A)(this,"elementRef",void 0),(0,o.A)(this,"router",void 0),(0,o.A)(this,"routerLink",void 0),(0,o.A)(this,"routerDirection","forward"),(0,o.A)(this,"routerAnimation",void 0),this.locationStrategy=Ke,this.navCtrl=Ze,this.elementRef=Ot,this.router=nn,this.routerLink=wt}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){var Ke;if(null!==(Ke=this.routerLink)&&void 0!==Ke&&Ke.urlTree){const Ze=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=Ze}}onClick(Ke){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),Ke.preventDefault()}}return mn=Jt,(0,o.A)(Jt,"\u0275fac",function(Ke){return new(Ke||mn)(C.rXU(E.hb),C.rXU(Pt),C.rXU(C.aKT),C.rXU(a.Ix),C.rXU(a.Wk,8))}),(0,o.A)(Jt,"\u0275dir",C.FsC({type:mn,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(Ke,Ze){1&Ke&&C.bIt("click",function(nn){return Ze.onClick(nn)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[C.OA$]})),Jt})(),fr=(()=>{var mn;class Jt{constructor(Ke,Ze,Ot,nn,wt){(0,o.A)(this,"locationStrategy",void 0),(0,o.A)(this,"navCtrl",void 0),(0,o.A)(this,"elementRef",void 0),(0,o.A)(this,"router",void 0),(0,o.A)(this,"routerLink",void 0),(0,o.A)(this,"routerDirection","forward"),(0,o.A)(this,"routerAnimation",void 0),this.locationStrategy=Ke,this.navCtrl=Ze,this.elementRef=Ot,this.router=nn,this.routerLink=wt}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){var Ke;if(null!==(Ke=this.routerLink)&&void 0!==Ke&&Ke.urlTree){const Ze=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=Ze}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}}return mn=Jt,(0,o.A)(Jt,"\u0275fac",function(Ke){return new(Ke||mn)(C.rXU(E.hb),C.rXU(Pt),C.rXU(C.aKT),C.rXU(a.Ix),C.rXU(a.Wk,8))}),(0,o.A)(Jt,"\u0275dir",C.FsC({type:mn,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(Ke,Ze){1&Ke&&C.bIt("click",function(){return Ze.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[C.OA$]})),Jt})();
1const lr=["animated","animation","root","rootParams","swipeGesture"],ar=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let ni=(()=>{var mn;let Jt=((0,o.A)(mn=class{constructor(Ke,Ze,Ot,nn,wt,st){(0,o.A)(this,"z",void 0),(0,o.A)(this,"el",void 0),this.z=wt,st.detach(),this.el=Ke.nativeElement,Ke.nativeElement.delegate=nn.create(Ze,Ot),br(this,this.el,["ionNavDidChange","ionNavWillChange"])}},"\u0275fac",function(Ke){return new(Ke||mn)(C.rXU(C.aKT),C.rXU(C.uvJ),C.rXU(C.zZn),C.rXU(rt),C.rXU(C.SKi),C.rXU(C.gRc))}),(0,o.A)(mn,"\u0275dir",C.FsC({type:mn,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}})),mn);return Jt=(0,re.Cg)([Fr({inputs:lr,methods:ar})],Jt),Jt})(),vi=(()=>{var mn;class Jt{constructor(Ke){(0,o.A)(this,"navCtrl",void 0),(0,o.A)(this,"tabsInner",void 0),(0,o.A)(this,"ionTabsWillChange",new C.bkB),(0,o.A)(this,"ionTabsDidChange",new C.bkB),(0,o.A)(this,"tabBarSlot","bottom"),this.navCtrl=Ke}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:Ke,tabSwitch:Ze}){const Ot=Ke.stackId;Ze&&void 0!==Ot&&this.ionTabsWillChange.emit({tab:Ot})}onStackDidChange({enteringView:Ke,tabSwitch:Ze}){const Ot=Ke.stackId;Ze&&void 0!==Ot&&(this.tabBar&&(this.tabBar.selectedTab=Ot),this.ionTabsDidChange.emit({tab:Ot}))}select(Ke){const Ze="string"==typeof Ke,Ot=Ze?Ke:Ke.detail.tab,nn=this.outlet.getActiveStackId()===Ot,wt=`${this.outlet.tabsPrefix}/${Ot}`;if(Ze||Ke.stopPropagation(),nn){const st=this.outlet.getActiveStackId(),jt=this.outlet.getLastRouteView(st);if((null==jt?void 0:jt.url)===wt)return;const xt=this.outlet.getRootView(Ot);return this.navCtrl.navigateRoot(wt,{...xt&&wt===xt.url&&xt.savedExtras,animated:!0,animationDirection:"back"})}{const st=this.outlet.getLastRouteView(Ot);return this.navCtrl.navigateRoot((null==st?void 0:st.url)||wt,{...null==st?void 0:st.savedExtras,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(Ke=>{const Ze=Ke.el.getAttribute("slot");Ze!==this.tabBarSlot&&(this.tabBarSlot=Ze,this.relocateTabBar())})}relocateTabBar(){const Ke=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(Ke):this.tabsInner.nativeElement.after(Ke)}}return mn=Jt,(0,o.A)(Jt,"\u0275fac",function(Ke){return new(Ke||mn)(C.rXU(Pt))}),(0,o.A)(Jt,"\u0275dir",C.FsC({type:mn,selectors:[["ion-tabs"]],viewQuery:function(Ke,Ze){if(1&Ke&&C.GBs(G,7,C.aKT),2&Ke){let Ot;C.mGM(Ot=C.lsd())&&(Ze.tabsInner=Ot.first)}},hostBindings:function(Ke,Ze){1&Ke&&C.bIt("ionTabButtonClick",function(nn){return Ze.select(nn)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}})),Jt})();const no=mn=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(mn):"function"==typeof requestAnimationFrame?requestAnimationFrame(mn):setTimeout(mn);let $i=(()=>{var mn;class Jt{constructor(Ke,Ze){(0,o.A)(this,"injector",void 0),(0,o.A)(this,"elementRef",void 0),(0,o.A)(this,"onChange",()=>{}),(0,o.A)(this,"onTouched",()=>{}),(0,o.A)(this,"lastValue",void 0),(0,o.A)(this,"statusChanges",void 0),this.injector=Ke,this.elementRef=Ze}writeValue(Ke){this.elementRef.nativeElement.value=this.lastValue=Ke,Xi(this.elementRef)}handleValueChange(Ke,Ze){Ke===this.elementRef.nativeElement&&(Ze!==this.lastValue&&(this.lastValue=Ze,this.onChange(Ze)),Xi(this.elementRef))}_handleBlurEvent(Ke){Ke===this.elementRef.nativeElement&&(this.onTouched(),Xi(this.elementRef))}registerOnChange(Ke){this.onChange=Ke}registerOnTouched(Ke){this.onTouched=Ke}setDisabledState(Ke){this.elementRef.nativeElement.disabled=Ke}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let Ke;try{Ke=this.injector.get(N.vO)}catch{}if(!Ke)return;Ke.statusChanges&&(this.statusChanges=Ke.statusChanges.subscribe(()=>Xi(this.elementRef)));const Ze=Ke.control;Ze&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(nn=>{if(typeof Ze[nn]<"u"){const wt=Ze[nn].bind(Ze);Ze[nn]=(...st)=>{wt(...st),Xi(this.elementRef)}}})}}return mn=Jt,(0,o.A)(Jt,"\u0275fac",function(Ke){return new(Ke||mn)(C.rXU(C.zZn),C.rXU(C.aKT))}),(0,o.A)(Jt,"\u0275dir",C.FsC({type:mn,hostBindings:function(Ke,Ze){1&Ke&&C.bIt("ionBlur",function(nn){return Ze._handleBlurEvent(nn.target)})}})),Jt})();const Xi=mn=>{no(()=>{const Jt=mn.nativeElement,kn=null!=Jt.value&&Jt.value.toString().length>0,Ke=Di(Jt);lo(Jt,Ke);const Ze=Jt.closest("ion-item");Ze&&lo(Ze,kn?[...Ke,"item-has-value"]:Ke)})},Di=mn=>{const Jt=mn.classList,kn=[];for(let Ke=0;Ke<Jt.length;Ke++){const Ze=Jt.item(Ke);null!==Ze&&to(Ze,"ng-")&&kn.push(`ion-${Ze.substring(3)}`)}return kn},lo=(mn,Jt)=>{const kn=mn.classList;kn.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),kn.add(...Jt)},to=(mn,Jt)=>mn.substring(0,Jt.length)===Jt;class vo{shouldDetach(Jt){return!1}shouldAttach(Jt){return!1}store(Jt,kn){}retrieve(Jt){return null}shouldReuseRoute(Jt,kn){if(Jt.routeConfig!==kn.routeConfig)return!1;const Ke=Jt.params,Ze=kn.params,Ot=Object.keys(Ke),nn=Object.keys(Ze);if(Ot.length!==nn.length)return!1;for(const wt of Ot)if(Ze[wt]!==Ke[wt])return!1;return!0}}class Co{constructor(Jt){(0,o.A)(this,"ctrl",void 0),this.ctrl=Jt}create(Jt){return this.ctrl.create(Jt||{})}dismiss(Jt,kn,Ke){return this.ctrl.dismiss(Jt,kn,Ke)}getTop(){return this.ctrl.getTop()}}},69465:(ge,_,f)=>{"use strict";f.d(_,{GD:()=>Eo,hG:()=>ki,Hx:()=>ko,hB:()=>$,wH:()=>ji,U1:()=>It,In:()=>lt,Jm:()=>rt,QW:()=>mt,b_:()=>Mt,I9:()=>Vt,ME:()=>Lt,HW:()=>$n,tN:()=>Tn,eY:()=>An,ZB:()=>jn,W9:()=>
1br,Q8:()=>sr,YW:()=>ur,M0:()=>Lr,eU:()=>Gr,iq:()=>qr,Ax:()=>hr,$w:()=>$r,uz:()=>Rt,LU:()=>ln,CE:()=>Sn,A7:()=>dr,he:()=>En,nf:()=>tn,AF:()=>bn,oS:()=>Kn,MC:()=>Xn,cA:()=>nr,Sb:()=>oi,JI:()=>fr,CF:()=>Ar,FH:()=>no,To:()=>lo,Ki:()=>to,S7:()=>mn,Rg:()=>en,S1:()=>kn,ds:()=>wt,w2:()=>st,Jq:()=>xt,qW:()=>hn,p4:()=>gn,nc:()=>He,Zx:()=>Pe,BC:()=>Fe,ai:()=>_t,bv:()=>Un,Xi:()=>bs,_t:()=>xo,W3:()=>So,He:()=>$s,Gw:()=>N,K_:()=>cs});var c=f(99842),o=f(54438),C=f(89417),a=f(12872),E=f(31635),T=f(33726),s=f(60177),h=f(24042),u=f(19986),p=(f(71331),f(99856),f(50361),f(63351)),b=f(28607),R=f(64921),P=f(90464),k=f(76073),O=f(21070),K=(f(28476),f(28393));f(11970),f(28669);var Z=f(10467);const de=R.i,ee=function(){var xe=(0,Z.A)(function*(ht,Ut){if(!(typeof window>"u"))return yield de(),(0,K.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]],{"type":["typeChanged"],"disabled":["disabledChanged"],"side":["sideChanged"],"swipeGesture":["swipeGestureChanged"]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-input-password-toggle",[[33,"ion-input-password-toggle",{"color":[513],"showIcon":[1,"show-icon"],"hideIcon":[1,"hide-icon"],"type":[1025]},null,{"type":["onTypeChange"]}]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]},null,{"activated":["activatedChanged"]}],[1,"ion-fab-list",{"activated":[4],"side":[1]},null,{"activated":["activatedChanged"]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"positionAnchor":[1,"position-anchor"],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"swipeGesture":[1,"swipe-gesture"],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"swipeGesture":["swipeGestureChanged"],"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]},null,{"value":["valueChanged"]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]}
1,[[0,"keydown","onKeydown"]],{"value":["valueChanged"],"disabled":["disabledChanged"],"readonly":["readonlyChanged"]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]},null,{"threshold":["thresholdChanged"],"disabled":["disabledChanged"]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[1028],"layout":[1],"type":[1],"value":[8],"checked":[32],"setFocus":[64]},null,{"value":["valueChanged"]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1032],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]],{"color":["colorChanged"],"swipeGesture":["swipeGestureChanged"],"value":["valueChanged"],"disabled":["disabledChanged"]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},null,{"selectedTab":["selectedTabChanged"]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-input",[[38,"ion-input",{"color":[513],"autocapitalize":[1],"autocomplete":[
11],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearInputIcon":[1,"clear-input-icon"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[516],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[516],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"type":["onTypeChange"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]},null,{"lang":["onLangChanged"],"dir":["onDirChanged"],"debounce":["debounceChanged"],"value":["valueChanged"],"showCancelButton":["showCancelButtonChanged"]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"activated":[32]},null,{"disabled":["disabledChanged"]}]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64],"getLength":[64]},null,{"swipeGesture":["swipeGestureChanged"],"root":["rootChanged"]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-textarea",[[38,"ion-textarea",{"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"fill":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[514],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"counter":[4],"counterFormatter":[16],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[513],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]}
1,[[0,"collapsedClick","onCollapsedClick"]],{"maxItems":["maxItemsChanged"],"itemsBeforeCollapse":["maxItemsChanged"],"itemsAfterCollapse":["maxItemsChanged"]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"focusTrap":[4,"focus-trap"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]},null,{"url":["onUpdate"],"component":["onUpdate"],"componentProps":["onComponentProps"]}],[0,"ion-route-redirect",{"from":[1],"to":[1]},null,{"from":["propDidChange"],"to":["propDidChange"]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]},null,{"active":["changeActive"]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]},null,{"src":["srcChanged"]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"label":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"labelPlacement":[1,"label-placement"],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]},null,{"debounce":["debounceChanged"],"min":["minChanged"],"max":["maxChanged"],"activeBarStart":["activeBarStartChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32],"isVisible":[64]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-select_3",[[33,"ion-select",{"cancelText":[1,"cancel-text"],"color":[513],"compareWith":[1,"compare-with"],"disabled":[4],"fill":[1],"interface":[1],"interfaceOptions":[8,"interface-options"],"justify":[1],"label":[1],"labelPlacement":[1,"label-placement"],"multiple":[4],"name":[1],"okText":[1,"ok-text"],"placeholder":[1],"selectedText":[1,"selected-text"],"toggleIcon":[1,"toggle-icon"],"expandedIcon":[1,"expanded-icon"],"shape":[1],"value":[1032],"isExpanded":[32],"open":[64]},null,{"disabled":["styleChanged"],"isExpanded":["styleChanged"],"placeholder":["styleChanged"],"value":["styleChanged"]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]}]]],["ion-picker",[[33,"ion-picker",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-picker-column",[[1,"ion-picker-column",{"disabled":[4],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"ariaLabel":[32],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64],"setFocus":[64]},null,{"aria-label":["ariaLabelChanged"],"value":["valueChange"]}]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"formatOptions":[16],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[
vendor: 4,122 bytes, line 1
11],"firstDayOfWeek":[2,"first-day-of-week"],"titleSelectedDatesFormatter":[16],"multiple":[4],"highlightedDates":[16],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isTimePopoverOpen":[32],"forceRenderDate":[32],"confirm":[64],"reset":[64],"cancel":[64]},null,{"formatOptions":["formatOptionsChanged"],"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"presentation":["presentationChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker-legacy",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}],[32,"ion-picker-legacy-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"compareWith":[1,"compare-with"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]],{"value":["valueChanged"]}]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1],"form":[1],"isCircle":[32]},null,{"disabled":["disabledChanged"]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"],"ios":["loadIcon"],"md":["loadIcon"]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]],{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"],"buttons":["buttonsChanged"],"inputs":["inputsChanged"]}]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"fixedSlotPlacement":[1,"f
1ixed-slot-placement"],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroundElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[9,"resize","onResize"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]},null,{"swipeHandler":["swipeHandlerChanged"]}],[33,"ion-title",{"color":[513],"size":[1]},null,{"size":["sizeChanged"]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[38,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-option",[[33,"ion-picker-column-option",{"disabled":[4],"value":[8],"color":[513],"ariaLabel":[32]},null,{"aria-label":["onAriaLabelChange"]}]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"focusTrap":[4,"focus-trap"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"isOpen":["onIsOpenChange"]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[33,"ion-note",{"color":[513]}],[1,"ion-skeleton-text",{"animated":[4]}],[33,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[516],"download":[1],"href":[1],"rel":[1],"lines":[1],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"multipleInputs":[32],"focusable":[32]},[[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"button":["buttonChanged"]}],[38,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}]]]]'),Ut)});return function(Ut,qe){return xe.apply(this,arguments)}}(),Y=["*"],ae=["outletContent"],fe=["outlet"],ne=[[["","slot","top"]],"*"],ce=["[slot=top]","*"];function me(xe,ht){if(1&xe&&(o.j41(0,"div",1),o.eu8(1,2),o.k0s()),2&xe){const Ut=o.XpG();o.R7$(),o.Y8G("ngTemplateOutlet",Ut.template)}}function re(xe,ht){if(1&xe&&o.eu8(0,1),2&xe){const Ut=o.XpG();o.Y8G("ngTemplateOutlet",Ut.template)}}let $=(()=>{var xe;class ht extends a.fL{constructor(qe,rn){super(qe,rn)}writeValue(qe){this.elementRef.nativeElement.checked=this.lastValue=qe,(0,a.z3)(this.elementRef)}_handleIonChange(qe){this.handleValueChange(qe,qe.checked)}}return xe=ht,(0,c.A)(ht,"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.zZn),o.rXU(o.aKT))}),(0,c.A)(ht,"\u0275dir",o.FsC({type:xe,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(qe,rn){1&qe&&o.bIt("ionChange",function(Bi){return rn._handleIonChange(Bi.target)})},features:[o.Jv_([{provide:C.kq,useExisting:xe,multi:!0}]),o.Vt3]})),ht})(),N=(()=>{var xe;class ht extends a.fL{constructor(qe,rn){super(qe,rn)}_handleInputEvent(qe){this.handleValueChange(qe,qe.value)}}return xe=ht,(0,c.A)(ht,"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.zZn),o.rXU(o.aKT))}),(0,c.A)(ht,"\u0275dir",o.FsC({type:xe,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"]],hostBindings:function(qe,rn){1&qe&&o.bIt("ionInput",function(Bi){return rn._handleInputEvent(Bi.target)})},features:[o.Jv_([{provide:C.kq,useExisting:xe,multi:!0}]),o.Vt3]})),ht})();const G=(xe,ht)=>{const Ut=xe.prototype;ht.forEach(qe=>{Object.defineProperty(Ut,qe,{get(){return this.el[qe]},set(rn){this.z.runOutsideAngular(()=>this.el[qe]=rn)},configurable:!0})})},ue=(xe,ht)=>{const Ut=xe.prototype;ht.forEach(qe=>{Ut[qe]=function(){const rn=arguments;return this.z.runOutsideAngular(()=>
1this.el[qe].apply(this.el,rn))}})},ve=(xe,ht,Ut)=>{Ut.forEach(qe=>xe[qe]=(0,T.R)(ht,qe))};function Re(xe){return function(Ut){const{defineCustomElementFn:qe,inputs:rn,methods:Dn}=xe;return void 0!==qe&&qe(),rn&&G(Ut,rn),Dn&&ue(Ut,Dn),Ut}}let It=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-app"]],ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({})],ht),ht})(),lt=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["color","mode"]})],ht),ht})(),rt=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement,ve(this,this.el,["ionFocus","ionBlur"])}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],ht),ht})(),mt=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["collapse"]})],ht),ht})(),Mt=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],ht),ht})(),Vt=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["mode"]})],ht),ht})(),Lt=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["color","mode","translucent"]})],ht),ht})(),$n=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["color","mode"]})],ht),ht})(),Tn=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["color","mode"]})],ht),ht})(),An=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement,ve(this,this.el,["ionChange","ionFocus","ionBlur"])}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",mode:"mode",name:"name",value:"value"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","mode","name","value"]})],ht),ht})(),jn=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["color","disabled","mode","outline"]})],ht),ht})(),br=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement,ve(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-content"]],inputs:{color:"color",fixedSlotPlacement:"fixedSlotPlacement",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["color","fixedSlotPlacement","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],ht),ht})(),sr=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],ht),ht})(),ur=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement,ve(this,this.el,["ionFocus","ionBlur"])}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],ht),ht})(),Lr=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["collapse","mode","translucent"]})],ht),ht})(),Gr=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["collapse","mode","translucent"]})],ht),ht})(),qr=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],ht),ht})(),hr=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement,ve(this,this.el,["ionInfinite"])}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["disabled","position","threshold"],methods:["complete"]})],ht),ht})(),$r=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement,ve(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-input"]],inputs:{autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearInputIcon:"clearInputIcon",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearInputIcon","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","spellcheck","step","type","value"],methods:["setFocus","getIn
1putElement"]})],ht),ht})(),Rt=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-item"]],inputs:{button:"button",color:"color",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerAnimation","routerDirection","target","type"]})],ht),ht})(),ln=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],ht),ht})(),Sn=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement,ve(this,this.el,["ionSwipe"])}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["side"]})],ht),ht})(),dr=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement,ve(this,this.el,["ionDrag"])}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],ht),ht})(),En=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["color","mode","position"]})],ht),ht})(),tn=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],ht),ht})(),bn=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["color","lines","mode"]})],ht),ht})(),Kn=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement,ve(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],ht),ht})(),Xn=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["autoHide","color","disabled","menu","mode","type"]})],ht),ht})(),nr=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["autoHide","menu"]}
1)],ht),ht})(),fr=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["color","mode"]})],ht),ht})(),no=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-progress-bar"]],inputs:{buffer:"buffer",color:"color",mode:"mode",reversed:"reversed",type:"type",value:"value"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["buffer","color","mode","reversed","type","value"]})],ht),ht})(),lo=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement,ve(this,this.el,["ionRefresh","ionPull","ionStart"])}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],ht),ht})(),to=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],ht),ht})(),mn=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-ripple-effect"]],inputs:{type:"type"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["type"],methods:["addRipple"]})],ht),ht})(),kn=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement,ve(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",maxlength:"maxlength",minlength:"minlength",mode:"mode",name:"name",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["animated","autocapitalize","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","maxlength","minlength","mode","name","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getIn
1putElement"]})],ht),ht})(),wt=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-skeleton-text"]],inputs:{animated:"animated"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["animated"]})],ht),ht})(),st=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["color","duration","name","paused"]})],ht),ht})(),xt=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["color","mode","selectedTab","translucent"]})],ht),ht})(),hn=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],ht),ht})(),He=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement,ve(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-textarea"]],inputs:{autoGrow:"autoGrow",autocapitalize:"autocapitalize",autofocus:"autofocus",clearOnEdit:"clearOnEdit",color:"color",cols:"cols",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",maxlength:"maxlength",minlength:"minlength",mode:"mode",name:"name",placeholder:"placeholder",readonly:"readonly",required:"required",rows:"rows",shape:"shape",spellcheck:"spellcheck",value:"value",wrap:"wrap"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","maxlength","minlength","mode","name","placeholder","readonly","required","rows","shape","spellcheck","value","wrap"],methods:["setFocus","getInputElement"]})],ht),ht})(),Pe=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-thumbnail"]],ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({})],ht),ht})(),Fe=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["color","size"]})],ht),ht})(),_t=(()=>{var xe;let ht=((0,c.A)(xe=class{constructor(qe,rn,Dn){(0,c.A)(this,"z",void 0),(0,c.A)(this,"el",void 0),this.z=Dn,qe.detach(),this.el=rn.nativeElement}},"\u0275fac",function(qe){return new(qe||xe)(o.rXU(o.gRc),o.rXU(o.aKT),o.rXU(o.SKi))}),(0,c.A)(xe,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Y,decls:1,vars:0,template:function(qe,rn){1&qe&&(o.NAR(),o.SdG(0))},encapsulation:2,changeDetection:0})),xe);return ht=(0,E.Cg)([Re({inputs:["color","mode"]})],ht),ht})(),en=(()=>{var xe;class ht extends a.Rg{constructor(qe,rn,Dn,Bi,vt,Kt,cn,Pn){super(qe,rn,Dn,Bi,vt,Kt,cn,Pn),(0,c.A)(this,"parentOutlet",void 0),(0,c.A)(this,"outletContent",void 0),this.parentOutlet=Pn}}return xe=ht,(0,c.A)(ht,"\u0275fac",function(qe){return new(qe||xe)(o.kS0("name"),o.kS0("tabs"),o.rXU(s.aZ),o.rXU(o.aKT),o.rXU(h.Ix),o.rXU(o.SKi),o.rXU(h.nX),o.rXU(xe,12))}),(0,c.A)(ht,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-router-outlet"]],viewQuery:function(qe,rn){if(1&qe&&o.GBs(ae,7,o.c1b),2&qe){let Dn;o.mGM(Dn=o.lsd())&&(rn.outletContent=Dn.first)}},features:[o.Vt3],ngContentSelectors:Y,decls:3,vars:0,consts:[["outletContent",""]],template:function(qe,rn){1&qe&&(o.NAR(),o.qex(0,null,0),o.SdG(2),o.bVm())},encapsulation:2})),ht})(),gn=(()=>{var xe;class ht extends a.p4{constructor(...qe){super(...qe),(0,c.A)(this,"outlet",void 0),(0,c.A)(this,"tabBar",void 0),(0,c.A)(this,"tabBars",void 0)}}return xe=ht,(0,c.A)(ht,"\u0275fac",(()=>{let Ut;return function(rn){return(Ut||(Ut=o.xGo(xe)))(rn||xe)}})()),(0,c.A)(ht,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-tabs"]],contentQueries:function(qe,rn,Dn){if(1&qe&&(o.wni(Dn,xt,5),o.wni(Dn,xt,4)),2&qe){let Bi;o.mGM(Bi=o.lsd())&&(rn.tabBar=Bi.first),o.mGM(Bi=o.lsd())&&(rn.tabBars=Bi)}},viewQuery:function(qe,rn){if(1&qe&&o.GBs(fe,5,en),2&qe){let Dn;o.mGM(Dn=o.lsd())&&(rn.outlet=Dn.first)}},features:[o.Vt3],ngContentSelectors:ce,decls:6,vars:0,consts:[["tabsInner",""],["outlet",""],[1,"tabs-inner"],["tabs","true",3,"stackWillChange","stackDidChange"]],template:function(qe,rn){if(1&qe){const Dn=o.RV6();o.NAR(ne),o.SdG(0),o.j41(1,"div",2,0)(3,"ion-router-outlet",3,1),o.bIt("stackWillChange",function(vt){return o.eBV(Dn),o.Njj(rn.onStackWillChange(vt))})("stackDidChange",function(vt){return o.eBV(Dn),o.Njj(rn.onStackDidChange(vt))}),o.k0s()(),o.SdG(5,1)}},dependencies:[en],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]})),ht})(),oi=(()=>{var xe;class ht extends a.Sb{}return xe=ht,(0,c.A)(ht,"\u0275fac",(()=>{let Ut;return function(rn){return(Ut||(Ut=o.xGo(xe)))(rn||xe)}})()),(0,c.A)(ht,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-modal"]],features:[o.Vt3],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(qe,rn){1&qe&&o.DNE(0,me,2,1,"div",0),2&qe&&o.Y8G("ngIf",rn.isCmpOpen||rn.keepContentsMounted)},dependencies:[s.bT,s.T3],encapsulation:2,changeDetection:0})),ht})(),Ar=(()=>{var xe;class ht extends a.CF{}return xe=ht,(0,c.A)(ht,"\u0275fac",(()=>{let Ut;return function(rn){return(Ut||(Ut=o.xGo(xe)))(rn||xe)}})()),(0,c.A)(ht,"\u0275cmp",o.VBU({type:xe,selectors:[["ion-popover"]],features:[o.Vt3],decls:1,vars:1,consts:[[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(qe,rn){1&qe&&o.DNE(0,re,1,1,"ng-container",0),2&qe&&o.Y8G("ngIf",rn.isCmpOpen||rn.keepContentsMounted)},dependencies:[s.bT,s.T3],encapsulation:2,changeDetection:0})),ht})();const li={provide:C.cz,useExisting:(0,o.Rfq)(()=>Ki),multi:!0};let Ki=(()=>{var xe;class ht extends C.zX{}return xe=ht,(0,c.A)(ht,"\u0275fac",(()=>{let Ut;return function(rn){return(Ut||(Ut=o.xGo(xe)))(rn||xe)}})()),(0,c.A)(ht,"\u0275dir",o.FsC({type:xe,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(qe,rn){2&qe&&o.BMQ("max",rn._enabled?rn.max:null)},features:[o.Jv_([li]),o.Vt3]})),ht})();const Pi={provide:C.cz,useExisting:(0,o.Rfq)(()=>io),multi:!0};let io=(()=>{var xe;class ht extends C.VZ{}return xe=ht,(0,c.A)(ht,"\u0275fac",(()=>{let Ut;return function(rn){return(Ut||(Ut=o.xGo(xe)))(rn||xe)}})()),(0,c.A)(ht,"\u0275dir",o.FsC({type:xe,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(qe,rn){2&qe&&o.BMQ("min",rn._enabled?rn.min:null)},features:[o.Jv_([Pi]),o.Vt3]})),ht})(),ki=(()=>{var xe;class ht extends a.Kb{constructor(){super(O.a)}}return xe=ht,(0,c.A)(ht,"\u0275fac",function(qe){return new(qe||xe)}),(0,c.A)(ht,"\u0275prov",o.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})),ht})(),ko=(()=>{var xe;class ht{create(qe){return(0,u.c)(qe)}
1easingTime(qe,rn,Dn,Bi,vt){return(0,p.g)(qe,rn,Dn,Bi,vt)}}return xe=ht,(0,c.A)(ht,"\u0275fac",function(qe){return new(qe||xe)}),(0,c.A)(ht,"\u0275prov",o.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})),ht})(),Eo=(()=>{var xe;class ht extends a.Kb{constructor(){super(O.b)}}return xe=ht,(0,c.A)(ht,"\u0275fac",function(qe){return new(qe||xe)}),(0,c.A)(ht,"\u0275prov",o.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})),ht})(),ji=(()=>{var xe;class ht{constructor(qe){(0,c.A)(this,"zone",void 0),this.zone=qe}create(qe,rn=!1){return rn&&Object.getOwnPropertyNames(qe).forEach(Dn=>{if("function"==typeof qe[Dn]){const Bi=qe[Dn];qe[Dn]=(...vt)=>this.zone.run(()=>Bi(...vt))}}),(0,b.createGesture)(qe)}}return xe=ht,(0,c.A)(ht,"\u0275fac",function(qe){return new(qe||xe)(o.KVO(o.SKi))}),(0,c.A)(ht,"\u0275prov",o.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})),ht})(),bs=(()=>{var xe;class ht extends a.Kb{constructor(){super(O.l)}}return xe=ht,(0,c.A)(ht,"\u0275fac",function(qe){return new(qe||xe)}),(0,c.A)(ht,"\u0275prov",o.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})),ht})(),xo=(()=>{var xe;class ht extends a._t{constructor(){super(k.m)}}return xe=ht,(0,c.A)(ht,"\u0275fac",function(qe){return new(qe||xe)}),(0,c.A)(ht,"\u0275prov",o.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})),ht})(),So=(()=>{var xe;class ht extends a.Kb{constructor(){super(O.m),(0,c.A)(this,"angularDelegate",(0,o.WQX)(a.Yq)),(0,c.A)(this,"injector",(0,o.WQX)(o.zZn)),(0,c.A)(this,"environmentInjector",(0,o.WQX)(o.uvJ))}create(qe){return super.create({...qe,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return xe=ht,(0,c.A)(ht,"\u0275fac",function(qe){return new(qe||xe)}),(0,c.A)(ht,"\u0275prov",o.jDH({token:xe,factory:xe.\u0275fac})),ht})(),$s=(()=>{var xe;class ht extends a.Kb{constructor(){super(O.p)}}return xe=ht,(0,c.A)(ht,"\u0275fac",function(qe){return new(qe||xe)}),(0,c.A)(ht,"\u0275prov",o.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})),ht})();class qo extends a.Kb{constructor(){super(O.c),(0,c.A)(this,"angularDelegate",(0,o.WQX)(a.Yq)),(0,c.A)(this,"injector",(0,o.WQX)(o.zZn)),(0,c.A)(this,"environmentInjector",(0,o.WQX)(o.uvJ))}create(ht){return super.create({...ht,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let cs=(()=>{var xe;class ht extends a.Kb{constructor(){super(O.t)}}return xe=ht,(0,c.A)(ht,"\u0275fac",function(qe){return new(qe||xe)}),(0,c.A)(ht,"\u0275prov",o.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})),ht})();const ds=(xe,ht,Ut)=>()=>{const qe=ht.defaultView;if(qe&&typeof window<"u"){(0,P.s)({...xe,_zoneGate:Dn=>Ut.run(Dn)});const rn="__zone_symbol__addEventListener"in ht.body?"__zone_symbol__addEventListener":"addEventListener";return function q(){var xe=[];if(typeof window<"u"){var ht=window;(!ht.customElements||ht.Element&&(!ht.Element.prototype.closest||!ht.Element.prototype.matches||!ht.Element.prototype.remove||!ht.Element.prototype.getRootNode))&&xe.push(f.e(7278).then(f.t.bind(f,82190,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||ht.NodeList&&!ht.NodeList.prototype.forEach||!ht.fetch||!function(){try{var qe=new URL("b","http://a");return qe.pathname="c%20d","http://a/c%20d"===qe.href&&qe.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&xe.push(f.e(9329).then(f.t.bind(f,67783,23)))}return Promise.all(xe)}().then(()=>ee(qe,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:a.er,jmp:Dn=>Ut.runOutsideAngular(Dn),ael(Dn,Bi,vt,Kt){Dn[rn](Bi,vt,Kt)},rel(Dn,Bi,vt,Kt){Dn.removeEventListener(Bi,vt,Kt)}}))}};let Un=(()=>{var xe;class ht{static forRoot(qe={}){return{ngModule:ht,providers:[{provide:a.sR,useValue:qe},{provide:o.hnV,useFactory:ds,multi:!0,deps:[a.sR,s.qQ,o.SKi]},a.Yq,(0,a.YV)()]}}}return xe=ht,(0,c.A)(ht,"\u0275fac",function(qe){return new(qe||xe)}),(0,c.A)(ht,"\u0275mod",o.$C({type:xe})),(0,c.A)(ht,"\u0275inj",o.G2t({providers:[So,qo],imports:[s.MD]})),ht})()},73955:(ge,_,f)=>{"use strict";f.d(_,{D9:()=>ce,Wr:()=>p,c$:()=>fe,h:()=>me});var c=f(99842),o=f(54438),C=f(7673),a=f(74402),E=f(27468),T=f(28793),s=f(59030),h=f(96697),u=f(76496),v=f(96354),g=f(70274),y=f(25558);class p{}let b=(()=>{var re;class $ extends p{getTranslation(M){return(0,C.of)({})}}return re=$,(0,c.A)($,"\u0275fac",(()=>{let X;return function(N){return(X||(X=o.xGo(re)))(N||re)}})()),(0,c.A)($,"\u0275prov",o.jDH({token:re,factory:re.\u0275fac})),$})();class R{}let P=(()=>{var re;class ${handle(M){return M.key}}return re=$,(0,c.A)($,"\u0275fac",function(M){return new(M||re)}),(0,c.A)($,"\u0275prov",o.jDH({token:re,factory:re.\u0275fac})),$})();function k(re,$){if(re===$)return!0;
1if(null===re||null===$)return!1;if(re!=re&&$!=$)return!0;let N,G,ue,X=typeof re;if(X==typeof $&&"object"==X){if(!Array.isArray(re)){if(Array.isArray($))return!1;for(G in ue=Object.create(null),re){if(!k(re[G],$[G]))return!1;ue[G]=!0}for(G in $)if(!(G in ue)&&typeof $[G]<"u")return!1;return!0}if(!Array.isArray($))return!1;if((N=re.length)==$.length){for(G=0;G<N;G++)if(!k(re[G],$[G]))return!1;return!0}}return!1}function O(re){return typeof re<"u"&&null!==re}function V(re){return re&&"object"==typeof re&&!Array.isArray(re)}function K(re,$){let X=Object.assign({},re);return V(re)&&V($)&&Object.keys($).forEach(M=>{V($[M])?M in re?X[M]=K(re[M],$[M]):Object.assign(X,{[M]:$[M]}):Object.assign(X,{[M]:$[M]})}),X}class z{}let H=(()=>{var re;class $ extends z{constructor(...M){super(...M),(0,c.A)(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(M,N){let G;return G="string"==typeof M?this.interpolateString(M,N):"function"==typeof M?this.interpolateFunction(M,N):M,G}getValue(M,N){let G="string"==typeof N?N.split("."):[N];N="";do{N+=G.shift(),!O(M)||!O(M[N])||"object"!=typeof M[N]&&G.length?G.length?N+=".":M=void 0:(M=M[N],N="")}while(G.length);return M}interpolateFunction(M,N){return M(N)}interpolateString(M,N){return N?M.replace(this.templateMatcher,(G,ue)=>{let ve=this.getValue(N,ue);return O(ve)?ve:G}):M}}return re=$,(0,c.A)($,"\u0275fac",(()=>{let X;return function(N){return(X||(X=o.xGo(re)))(N||re)}})()),(0,c.A)($,"\u0275prov",o.jDH({token:re,factory:re.\u0275fac})),$})();class x{}let q=(()=>{var re;class $ extends x{compile(M,N){return M}compileTranslations(M,N){return M}}return re=$,(0,c.A)($,"\u0275fac",(()=>{let X;return function(N){return(X||(X=o.xGo(re)))(N||re)}})()),(0,c.A)($,"\u0275prov",o.jDH({token:re,factory:re.\u0275fac})),$})();class Z{constructor(){(0,c.A)(this,"defaultLang",void 0),(0,c.A)(this,"currentLang",this.defaultLang),(0,c.A)(this,"translations",{}),(0,c.A)(this,"langs",[]),(0,c.A)(this,"onTranslationChange",new o.bkB),(0,c.A)(this,"onLangChange",new o.bkB),(0,c.A)(this,"onDefaultLangChange",new o.bkB)}}const de=new o.nKC("USE_STORE"),ee=new o.nKC("USE_DEFAULT_LANG"),Y=new o.nKC("DEFAULT_LANGUAGE"),ae=new o.nKC("USE_EXTEND");let fe=(()=>{var re;class ${get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(M){this.isolate?this._defaultLang=M:this.store.defaultLang=M}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(M){this.isolate?this._currentLang=M:this.store.currentLang=M}get langs(){return this.isolate?this._langs:this.store.langs}set langs(M){this.isolate?this._langs=M:this.store.langs=M}get translations(){return this.isolate?this._translations:this.store.translations}set translations(M){this.isolate?this._translations=M:this.store.translations=M}constructor(M,N,G,ue,ve,we=!0,Re=!1,et=!1,at){(0,c.A)(this,"store",void 0),(0,c.A)(this,"currentLoader",void 0),(0,c.A)(this,"compiler",void 0),(0,c.A)(this,"parser",void 0),(0,c.A)(this,"missingTranslationHandler",void 0),(0,c.A)(this,"useDefaultLang",void 0),(0,c.A)(this,"isolate",void 0),(0,c.A)(this,"extend",void 0),(0,c.A)(this,"loadingTranslations",void 0),(0,c.A)(this,"pending",!1),(0,c.A)(this,"_onTranslationChange",new o.bkB),(0,c.A)(this,"_onLangChange",new o.bkB),(0,c.A)(this,"_onDefaultLangChange",new o.bkB),(0,c.A)(this,"_defaultLang",void 0),(0,c.A)(this,"_currentLang",void 0),(0,c.A)(this,"_langs",[]),(0,c.A)(this,"_translations",{}),(0,c.A)(this,"_translationRequests",{}),this.store=M,this.currentLoader=N,this.compiler=G,this.parser=ue,this.missingTranslationHandler=ve,this.useDefaultLang=we,this.isolate=Re,this.extend=et,at&&this.setDefaultLang(at)}setDefaultLang(M){if(M===this.defaultLang)return;let N=this.retrieveTranslations(M);typeof N<"u"?(null==this.defaultLang&&(this.defaultLang=M),N.pipe((0,h.s)(1)).subscribe(G=>{this.changeDefaultLang(M)})):this.changeDefaultLang(M)}getDefaultLang(){return this.defaultLang}use(M){if(M===this.currentLang)return(0,C.of)(this.translations[M]);let N=this.retrieveTranslations(M);return typeof N<"u"?(this.currentLang||(this.currentLang=M),N.pipe((0,h.s)(1)).subscribe(G=>{this.changeLang(M)}),N):(this.changeLang(M),(0,C.of)(this.translations[M]))}retrieveTranslations(M){let N;return(typeof this.translations[M]>"u"||this.extend)&&(this._translationRequests[M]=this._translationRequests[M]||this.getTranslation(M),N=this._translationRequests[M]),N}getTranslation(M){this.pending=!0;const N=this.currentLoader.getTranslation(M).pipe((0,u.t)(1),(0,h.s)(1));return this.loadingTranslations=N.pipe((0,v.T)(G=>this.compiler.compileTranslations(G,M)),(0,u.t)(1),(0,h.s)(1)),this.loadingTranslations.subscribe({next:G=>{this.translations[M]=this.extend&&this.translations[M]?{...G,...this.translations[M]}:G,this.updateLangs(),this.pending=!1},error:G=>{this.pending=!1}}),N}setTranslation(M,N,G=!1){N=this.compiler.compileTranslations(N,M),this.translations[M]=(G||this.extend)&&this.translations[M]?K(this.translations[M],N):N,this.updateLangs(),this.onTranslationChange.emit({lang:M,translations:this.translations[M]})}getLangs(){return this.langs}addLangs(M){M.forEach(N=>{-1===this.langs.indexOf(N)&&this.langs.push(N)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(M,N,G){let ue;if(N instanceof Array){let ve={},we=!1;for(let Re of N)ve[Re]=this.getParsedResult(M,Re,G),(0,a.A)(ve[Re])&&(we=!0);if(we){const Re=N.map(et=>(0,a.A)(ve[et])?ve[et]:(0,C.of)(ve[et]));return(0,E.p)(Re).pipe((0,v.T)(et=>{let at={};return et.forEach((Pt,At)=>{at[N[At]]=Pt}),at}))}return ve}if(M&&(ue=this.parser.interpolate(this.parser.getValue(M,N),G)),typeof ue>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ue=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],N),G)),typeof ue>"u"){let ve={key:N,translateService:this};typeof G<"u"&&(ve.interpolateParams=G),ue=this.missingTranslationHandler.handle(ve)}return typeof ue<"u"?ue:N}get(M,N){if(!O(M)||!M.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,g.H)(G=>(G=this.getParsedResult(G,M,N),(0,a.A)(G)?G:(0,C.of)(G))));{let G=this.getParsedResult(this.translations[this.currentLang],M,N);return(0,a.A)(G)?G:(0,C.of)(G)}}getStreamOnTranslationChange(M,N){if(!O(M)||!M.length)throw new Error('Parameter "key" required');return(0,T.x)((0,s.v)(()=>this.get(M,N)),this.onTranslationChange.pipe((0,y.n)(G=>{const ue=this.getParsedResult(G.translations,M,N);return"function"==typeof ue.subscribe?ue:(0,C.of)(ue)})))}stream(M,N){if(!O(M)||!M.length)throw new Error('Parameter "key" required');return(0,T.x)((0,s.v)(()=>this.get(M,N)),this.onLangChange.pipe((0,y.n)(G=>{const ue=this.getParsedResult(G.translations,M,N);return(0,a.A)(ue)?ue:(0,C.of)(ue)})))}instant(M,N){if(!O(M)||!M.length)throw new Error('Parameter "key" required');let G=this.getParsedResult(this.translations[this.currentLang],M,N);if((0,a.A)(G)){if(M instanceof Array){let ue={};return M.forEach((ve,we)=>{ue[M[we]]=M[we]}),ue}return M}return G}
1set(M,N,G=this.currentLang){this.translations[G][M]=this.compiler.compile(N,G),this.updateLangs(),this.onTranslationChange.emit({lang:G,translations:this.translations[G]})}changeLang(M){this.currentLang=M,this.onLangChange.emit({lang:M,translations:this.translations[M]}),null==this.defaultLang&&this.changeDefaultLang(M)}changeDefaultLang(M){this.defaultLang=M,this.onDefaultLangChange.emit({lang:M,translations:this.translations[M]})}reloadLang(M){return this.resetLang(M),this.getTranslation(M)}resetLang(M){this._translationRequests[M]=void 0,this.translations[M]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let M=window.navigator.languages?window.navigator.languages[0]:null;return M=M||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof M>"u"?void 0:(-1!==M.indexOf("-")&&(M=M.split("-")[0]),-1!==M.indexOf("_")&&(M=M.split("_")[0]),M)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let M=window.navigator.languages?window.navigator.languages[0]:null;return M=M||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,M}}return re=$,(0,c.A)($,"\u0275fac",function(M){return new(M||re)(o.KVO(Z),o.KVO(p),o.KVO(x),o.KVO(z),o.KVO(R),o.KVO(ee),o.KVO(de),o.KVO(ae),o.KVO(Y))}),(0,c.A)($,"\u0275prov",o.jDH({token:re,factory:re.\u0275fac})),$})(),ce=(()=>{var re;class ${constructor(M,N){(0,c.A)(this,"translate",void 0),(0,c.A)(this,"_ref",void 0),(0,c.A)(this,"value",""),(0,c.A)(this,"lastKey",null),(0,c.A)(this,"lastParams",[]),(0,c.A)(this,"onTranslationChange",void 0),(0,c.A)(this,"onLangChange",void 0),(0,c.A)(this,"onDefaultLangChange",void 0),this.translate=M,this._ref=N}updateValue(M,N,G){let ue=ve=>{this.value=void 0!==ve?ve:M,this.lastKey=M,this._ref.markForCheck()};if(G){let ve=this.translate.getParsedResult(G,M,N);(0,a.A)(ve.subscribe)?ve.subscribe(ue):ue(ve)}this.translate.get(M,N).subscribe(ue)}transform(M,...N){if(!M||!M.length)return M;if(k(M,this.lastKey)&&k(N,this.lastParams))return this.value;let G;if(O(N[0])&&N.length)if("string"==typeof N[0]&&N[0].length){let ue=N[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{G=JSON.parse(ue)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${N[0]}`)}}else"object"==typeof N[0]&&!Array.isArray(N[0])&&(G=N[0]);return this.lastKey=M,this.lastParams=N,this.updateValue(M,G),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ue=>{this.lastKey&&ue.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(M,G,ue.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ue=>{this.lastKey&&(this.lastKey=null,this.updateValue(M,G,ue.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(M,G))})),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.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return re=$,(0,c.A)($,"\u0275fac",function(M){return new(M||re)(o.rXU(fe,16),o.rXU(o.gRc,16))}),(0,c.A)($,"\u0275pipe",o.EJ8({name:"translate",type:re,pure:!1})),(0,c.A)($,"\u0275prov",o.jDH({token:re,factory:re.\u0275fac})),$})(),me=(()=>{var re;class ${static forRoot(M={}){return{ngModule:$,providers:[M.loader||{provide:p,useClass:b},M.compiler||{provide:x,useClass:q},M.parser||{provide:z,useClass:H},M.missingTranslationHandler||{provide:R,useClass:P},Z,{provide:de,useValue:M.isolate},{provide:ee,useValue:M.useDefaultLang},{provide:ae,useValue:M.extend},{provide:Y,useValue:M.defaultLanguage},fe]}}static forChild(M={}){return{ngModule:$,providers:[M.loader||{provide:p,useClass:b},M.compiler||{provide:x,useClass:q},M.parser||{provide:z,useClass:H},M.missingTranslationHandler||{provide:R,useClass:P},{provide:de,useValue:M.isolate},{provide:ee,useValue:M.useDefaultLang},{provide:ae,useValue:M.extend},{provide:Y,useValue:M.defaultLanguage},fe]}}}return re=$,(0,c.A)($,"\u0275fac",function(M){return new(M||re)}),(0,c.A)($,"\u0275mod",o.$C({type:re})),(0,c.A)($,"\u0275inj",o.G2t({})),$})()},64062:(ge,_,f)=>{"use strict";f.d(_,{h:()=>b});var c=f(67707),o=f(4467),C=f(48412),a=f(28311);class s{constructor(P,k){let O,V;O=P||new a.H,V=k||new a.H,this._stack=[{scope:O}],this._isolationScope=V}withScope(P){const k=this._pushScope();let O;try{O=P(k)}catch(V){throw this._popScope(),V}return(0,o.Qg)(O)?O.then(V=>(this._popScope(),V),V=>{throw this._popScope(),V}):(this._popScope(),O)}
1getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const P=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:P}),P}_popScope(){return!(this._stack.length<=1||!this._stack.pop())}}function h(){const R=(0,c.E)(),P=(0,c.S)(R);return P.stack=P.stack||new s(function E(){return(0,C.B)("defaultCurrentScope",()=>new a.H)}(),function T(){return(0,C.B)("defaultIsolationScope",()=>new a.H)}())}function u(R){return h().withScope(R)}function v(R,P){const k=h();return k.withScope(()=>(k.getStackTop().scope=R,P(R)))}function g(R){return h().withScope(()=>R(h().getIsolationScope()))}function b(R){const P=(0,c.S)(R);return P.acs?P.acs:function y(){return{withIsolationScope:g,withScope:u,withSetScope:v,withSetIsolationScope:(R,P)=>g(P),getCurrentScope:()=>h().getScope(),getIsolationScope:()=>h().getIsolationScope()}}()}},67707:(ge,_,f)=>{"use strict";f.d(_,{E:()=>C,S:()=>a});var c=f(48412),o=f(90095);function C(){return a(c.O),c.O}function a(E){const T=E.__SENTRY__=E.__SENTRY__||{};return T.version=T.version||o.M,T[o.M]=T[o.M]||{}}},78567:(ge,_,f)=>{"use strict";f.d(_,{KU:()=>h,o5:()=>C,rm:()=>a,v4:()=>T});var c=f(64062),o=f(67707);function C(){const u=(0,o.E)();return(0,c.h)(u).getCurrentScope()}function a(){const u=(0,o.E)();return(0,c.h)(u).getIsolationScope()}function T(...u){const v=(0,o.E)(),g=(0,c.h)(v);if(2===u.length){const[y,p]=u;return y?g.withSetScope(y,p):g.withScope(p)}return g.withScope(u[0])}function h(){return C().getClient()}},67345:(ge,_,f)=>{"use strict";f.d(_,{Cp:()=>R,wd:()=>P,Q:()=>q});var c=f(78567),o=f(28311);const p=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function R(N,G){return(0,c.o5)().captureException(N,function g(N){if(N)return function y(N){return N instanceof o.H||"function"==typeof N}(N)||function b(N){return Object.keys(N).some(G=>p.includes(G))}(N)?{captureContext:N}:N}(G))}function P(N,G){const ue="string"==typeof G?G:void 0,ve="string"!=typeof G?{captureContext:G}:void 0;return(0,c.o5)().captureMessage(N,ue,ve)}function q(){return(0,c.rm)().lastEventId()}},28311:(ge,_,f)=>{"use strict";f.d(_,{H:()=>p});var c=f(92206),o=f(4467),C=f(7982),a=f(27043),E=f(7063);var v=f(29166);class y{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=(0,c.J)()}clone(){const R=new y;return R._breadcrumbs=[...this._breadcrumbs],R._tags={...this._tags},R._extra={...this._extra},R._contexts={...this._contexts},R._user=this._user,R._level=this._level,R._session=this._session,R._transactionName=this._transactionName,R._fingerprint=this._fingerprint,R._eventProcessors=[...this._eventProcessors],R._requestSession=this._requestSession,R._attachments=[...this._attachments],R._sdkProcessingMetadata={...this._sdkProcessingMetadata},R._propagationContext={...this._propagationContext},R._client=this._client,R._lastEventId=this._lastEventId,(0,v.r)(R,(0,v.f)(this)),R}setClient(R){this._client=R}setLastEventId(R){this._lastEventId=R}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(R){this._scopeListeners.push(R)}addEventProcessor(R){return this._eventProcessors.push(R),this}setUser(R){return this._user=R||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&function s(b,R={}){if(R.user&&(!b.ipAddress&&R.user.ip_address&&(b.ipAddress=R.user.ip_address),!b.did&&!R.did&&(b.did=R.user.id||R.user.email||R.user.username)),b.timestamp=R.timestamp||(0,C.zf)(),R.abnormal_mechanism&&(b.abnormal_mechanism=R.abnormal_mechanism),R.ignoreDuration&&(b.ignoreDuration=R.ignoreDuration),R.sid&&(b.sid=32===R.sid.length?R.sid:(0,a.eJ)()),void 0!==R.init&&(b.init=R.init),!b.did&&R.did&&(b.did=`${R.did}`),"number"==typeof R.started&&(b.started=R.started),b.ignoreDuration)b.duration=void 0;else if("number"==typeof R.duration)b.duration=R.duration;else{const P=b.timestamp-b.started;b.duration=P>=0?P:0}R.release&&(b.release=R.release),R.environment&&(b.environment=R.environment),!b.ipAddress&&R.ipAddress&&(b.ipAddress=R.ipAddress),!b.userAgent&&R.userAgent&&(b.userAgent=R.userAgent),"number"==typeof R.errors&&(b.errors=R.errors),R.status&&(b.status=R.status)}(this._session,{user:R}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(R){return this._requestSession=R,this}setTags(R){return this._tags={...this._tags,...R},this._notifyScopeListeners(),this}setTag(R,P){return this._tags={...this._tags,[R]:P},this._notifyScopeListeners(),this}setExtras(R){return this._extra={...this._extra,...R},this._notifyScopeListeners(),this}setExtra(R,P){return this._extra={...this._extra,[R]:P},this._notifyScopeListeners(),this}setFingerprint(R){return this._fingerprint=R,this._notifyScopeListeners(),this}setLevel(R){return this._level=R,this._notifyScopeListeners(),this}setTransactionName(R){return this._transactionName=R,this._notifyScopeListeners(),this}setContext(R,P){return null===P?delete this._contexts[R]:this._contexts[R]=P,this._notifyScopeListeners(),this}setSession(R){return R?this._session=R:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(R){if(!R)return this;const P="function"==typeof R?R(this):R,[k,O]=P instanceof p?[P.getScopeData(),P.getRequestSession()]:(0,o.Qd)(P)?[R,R.requestSession]:[],{tags:V,extra:K,user:z,contexts:H,level:x,fingerprint:q=[],propagationContext:Z}=k||{};return this._tags={...this._tags,...V},this._extra={...this._extra,...K},this._contexts={...this._contexts,...H},z&&Object.keys(z).length&&(this._user=z),x&&(this._level=x),q.length&&(this._fingerprint=q),Z&&(this._propagationContext=Z),O&&(this._requestSession=O),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,(0,v.r)(this,void 0),this._attachments=[],this._propagationContext=(0,c.J)(),this._notifyScopeListeners(),this}addBreadcrumb(R,P){const k="number"==typeof P?P:100;if(k<=0)return this;const O={timestamp:(0,C.lu)(),...R},V=this._breadcrumbs;return V.push(O),this._breadcrumbs=V.length>k?V.slice(-k):V,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(R){return this._attachments.push(R),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,v.f)(this)}}setSDKProcessingMetadata(R){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...R},this}setPropagationContext(R){return this._propagationContext=R,this}getPropagationContext(){return this._propagationContext}captureException(R,P){const k=P&&P.event_id?P.event_id:(0,a.eJ)();if(!this._client)return E.vF.warn("No client configured on scope - will not capture exception!"),k;const O=new Error("Sentry syntheticException");return this._client.captureException(R,{originalException:R,syntheticException:O,...P,event_id:k},this),k}captureMessage(R,P,k){const O=k&&k.event_id?k.event_id:(0,a.eJ)();if(!this._client)return E.vF.warn("No client configured on scope - will not capture message!"),O;const V=new Error(R);return this._client.captureMessage(R,P,{originalException:R,syntheticException:V,...k,event_id:O},this),O}captureEvent(R,P){const k=P&&P.event_id?P.event_id:(0,a.eJ)();return this._client?(this._client.captureEvent(R,{...P,event_id:k},this),k):(E.vF.warn("No client configured on scope - will not capture event!"),k)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
1h(R=>{R(this)}),this._notifyingListeners=!1)}}const p=y},29166:(ge,_,f)=>{"use strict";f.d(_,{f:()=>a,r:()=>C});var c=f(18288);const o="_sentrySpan";function C(E,T){T?(0,c.my)(E,o,T):delete E[o]}function a(E){return E[o]}},84429:(ge,_,f)=>{"use strict";f.d(_,{T:()=>c});const c=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__},4467:(ge,_,f)=>{"use strict";f.d(_,{Kg:()=>s,Qd:()=>v,Qg:()=>b});const c=Object.prototype.toString;function C(O,V){return c.call(O)===`[object ${V}]`}function s(O){return C(O,"String")}function v(O){return C(O,"Object")}function b(O){return!(!O||!O.then||"function"!=typeof O.then)}},7063:(ge,_,f)=>{"use strict";f.d(_,{pq:()=>T,vF:()=>h});var c=f(84429),o=f(48412);const a=["debug","info","warn","error","log","assert","trace"],E={};function T(u){if(!("console"in o.O))return u();const v=o.O.console,g={},y=Object.keys(E);y.forEach(p=>{const b=E[p];g[p]=v[p],v[p]=b});try{return u()}finally{y.forEach(p=>{v[p]=g[p]})}}const h=function s(){let u=!1;const v={enable:()=>{u=!0},disable:()=>{u=!1},isEnabled:()=>u};return a.forEach(c.T?g=>{v[g]=(...y)=>{u&&T(()=>{o.O.console[g](`Sentry Logger [${g}]:`,...y)})}}:g=>{v[g]=()=>{}}),v}()},27043:(ge,_,f)=>{"use strict";f.d(_,{eJ:()=>o});var c=f(48412);function o(){const p=c.O,b=p.crypto||p.msCrypto;let R=()=>16*Math.random();try{if(b&&b.randomUUID)return b.randomUUID().replace(/-/g,"");b&&b.getRandomValues&&(R=()=>{const P=new Uint8Array(1);return b.getRandomValues(P),P[0]})}catch{}return"10000000100040008000100000000000".replace(/[018]/g,P=>(P^(15&R())>>P/4).toString(16))}},18288:(ge,_,f)=>{"use strict";f.d(_,{Ce:()=>p,my:()=>E});var c=f(84429),o=f(4467),C=f(7063);function E(k,O,V){try{Object.defineProperty(k,O,{value:V,writable:!0,configurable:!0})}catch{c.T&&C.vF.log(`Failed to add non-enumerable property "${O}" to object`,k)}}function p(k){return b(k,new Map)}function b(k,O){if(function R(k){if(!(0,o.Qd)(k))return!1;try{const O=Object.getPrototypeOf(k).constructor.name;return!O||"Object"===O}catch{return!0}}(k)){const V=O.get(k);if(void 0!==V)return V;const K={};O.set(k,K);for(const z of Object.keys(k))typeof k[z]<"u"&&(K[z]=b(k[z],O));return K}if(Array.isArray(k)){const V=O.get(k);if(void 0!==V)return V;const K=[];return O.set(k,K),k.forEach(z=>{K.push(b(z,O))}),K}return k}},92206:(ge,_,f)=>{"use strict";f.d(_,{J:()=>o});var c=f(27043);function o(){return{traceId:(0,c.eJ)(),spanId:(0,c.eJ)().substring(16)}}},7982:(ge,_,f)=>{"use strict";f.d(_,{lu:()=>C,zf:()=>E});var c=f(48412);const o=1e3;function C(){return Date.now()/o}const E=function a(){const{performance:h}=c.O;if(!h||!h.now)return C;const u=Date.now()-h.now(),v=null==h.timeOrigin?u:h.timeOrigin;return()=>(v+h.now())/o}();let T;(()=>{const{performance:h}=c.O;if(!h||!h.now)return void(T="none");const u=36e5,v=h.now(),g=Date.now(),y=h.timeOrigin?Math.abs(h.timeOrigin+v-g):u,p=y<u,b=h.timing&&h.timing.navigationStart,P="number"==typeof b?Math.abs(b+v-g):u;T=p||P<u?y<=P?"timeOrigin":"navigationStart":"dateNow"})()},90095:(ge,_,f)=>{"use strict";f.d(_,{M:()=>c});const c="8.18.0"},48412:(ge,_,f)=>{"use strict";f.d(_,{B:()=>C,O:()=>o});var c=f(90095);const o=globalThis;function C(a,E,T){const s=T||o,h=s.__SENTRY__=s.__SENTRY__||{},u=h[c.M]=h[c.M]||{};return u[a]||(u[a]=E())}},26332:(ge,_,f)=>{"use strict";f.d(_,{GP:()=>ft});const c={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function C(Fe){return(Oe={})=>{const We=Oe.width?String(Oe.width):Fe.defaultWidth;return Fe.formats[We]||Fe.formats[Fe.defaultWidth]}}const s={date:C({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:C({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:C({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},h={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function v(Fe){return(Oe,We)=>{let en;if("formatting"===(null!=We&&We.context?String(We.context):"standalone")&&Fe.formattingValues){const In=Fe.defaultFormattingWidth||Fe.defaultWidth,Zn=null!=We&&We.width?String(We.width):In;en=Fe.formattingValues[Zn]||Fe.formattingValues[In]}else{const In=Fe.defaultWidth,Zn=null!=We&&We.width?String(We.width):Fe.defaultWidth;en=Fe.values[Zn]||Fe.values[In]}return en[Fe.argumentCallback?Fe.argumentCallback(Oe):Oe]}}function V(Fe){return(Oe,We={})=>{const _t=We.width,gn=Oe.match(_t&&Fe.matchPatterns[_t]||Fe.matchPatterns[Fe.defaultMatchWidth]);if(!gn)return null;const In=gn[0],Zn=_t&&Fe.parsePatterns[_t]||Fe.parsePatterns[Fe.defaultParseWidth],Er=Array.isArray(Zn)?function z(Fe,Oe){for(let We=0;We<Fe.length;We++)if(Oe(Fe[We]))return We}(Zn,Ar=>Ar.test(In)):function K(Fe,Oe){for(const We in Fe)if(Object.prototype.hasOwnProperty.call(Fe,We)&&Oe(Fe[We]))return We}(Zn,Ar=>Ar.test(In));let Yr;return Yr=Fe.valueCallback?Fe.valueCallback(Er):Er,Yr=We.valueCallback?We.valueCallback(Yr):Yr,{value:Yr,rest:Oe.slice(In.length)}}}const X={code:"en-US",formatDistance:(Fe,Oe,We)=>{let _t;const en=c[Fe];return _t="string"==typeof en?en:1===Oe?en.one:en.other.replace("{{count}}",Oe.toString()),null!=We&&We.addSuffix?We.comparison&&We.comparison>0?"in "+_t:_t+" ago":_t},formatLong:s,formatRelative:(Fe,Oe,We,_t)=>h[Fe],localize:{ordinalNumber:(Fe,Oe)=>{const We=Number(Fe),_t=We%100;if(_t>20||_t<10)switch(_t%10){case 1:return We+"st";case 2:return We+"nd";case 3:return We+"rd"}return We+"th"},era:v({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:v({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:Fe=>Fe-1}),month:v({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:v({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:v({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function H(Fe){return(Oe,We={})=>{const _t=Oe.match(Fe.matchPattern);if(!_t)return null;const en=_t[0],gn=Oe.match(Fe.parsePattern);if(!gn)return null;let In=Fe.valueCallback?Fe.valueCallback(gn[0]):gn[0];
vendor: 15,414 bytes, line 1
1return In=We.valueCallback?We.valueCallback(In):In,{value:In,rest:Oe.slice(en.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:Fe=>parseInt(Fe,10)}),era:V({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:V({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:Fe=>Fe+1}),month:V({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:V({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:V({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};let N={};function G(){return N}Math.pow(10,8);const at=6048e5;var br=f(93601),Fr=f(4273);function On(Fe){const Oe=(0,Fr.a)(Fe),We=new Date(Date.UTC(Oe.getFullYear(),Oe.getMonth(),Oe.getDate(),Oe.getHours(),Oe.getMinutes(),Oe.getSeconds(),Oe.getMilliseconds()));return We.setUTCFullYear(Oe.getFullYear()),+Fe-+We}function tr(Fe,Oe){return Fe instanceof Date?new Fe.constructor(Oe):new Date(Oe)}function hr(Fe,Oe){var We,_t,en,gn,In,Zn;const Er=G(),Yr=null!==(We=null!==(_t=null!==(en=null!==(gn=null==Oe?void 0:Oe.weekStartsOn)&&void 0!==gn?gn:null==Oe||null===(In=Oe.locale)||void 0===In||null===(In=In.options)||void 0===In?void 0:In.weekStartsOn)&&void 0!==en?en:Er.weekStartsOn)&&void 0!==_t?_t:null===(Zn=Er.locale)||void 0===Zn||null===(Zn=Zn.options)||void 0===Zn?void 0:Zn.weekStartsOn)&&void 0!==We?We:0,oi=(0,Fr.a)(Fe),Ar=oi.getDay(),li=(Ar<Yr?7:0)+Ar-Yr;return oi.setDate(oi.getDate()-li),oi.setHours(0,0,0,0),oi}function $r(Fe){return hr(Fe,{weekStartsOn:1})}function Rt(Fe){const Oe=(0,Fr.a)(Fe),We=Oe.getFullYear(),_t=tr(Fe,0);_t.setFullYear(We+1,0,4),_t.setHours(0,0,0,0);const en=$r(_t),gn=tr(Fe,0);gn.setFullYear(We,0,4),gn.setHours(0,0,0,0);const In=$r(gn);return Oe.getTime()>=en.getTime()?We+1:Oe.getTime()>=In.getTime()?We:We-1}function En(Fe,Oe){var We,_t,en,gn,In,Zn;const Er=(0,Fr.a)(Fe),Yr=Er.getFullYear(),oi=G(),Ar=null!==(We=null!==(_t=null!==(en=null!==(gn=null==Oe?void 0:Oe.firstWeekContainsDate)&&void 0!==gn?gn:null==Oe||null===(In=Oe.locale)||void 0===In||null===(In=In.options)||void 0===In?void 0:In.firstWeekContainsDate)&&void 0!==en?en:oi.firstWeekContainsDate)&&void 0!==_t?_t:null===(Zn=oi.locale)||void 0===Zn||null===(Zn=Zn.options)||void 0===Zn?void 0:Zn.firstWeekContainsDate)&&void 0!==We?We:1,li=tr(Fe,0);li.setFullYear(Yr+1,0,Ar),li.setHours(0,0,0,0);const Ki=hr(li,Oe),Pi=tr(Fe,0);Pi.setFullYear(Yr,0,Ar),Pi.setHours(0,0,0,0);const io=hr(Pi,Oe);return Er.getTime()>=Ki.getTime()?Yr+1:Er.getTime()>=io.getTime()?Yr:Yr-1}function nr(Fe,Oe){return(Fe<0?"-":"")+Math.abs(Fe).toString().padStart(Oe,"0")}const fn={y(Fe,Oe){const We=Fe.getFullYear(),_t=We>0?We:1-We;return nr("yy"===Oe?_t%100:_t,Oe.length)},M(Fe,Oe){const We=Fe.getMonth();return"M"===Oe?String(We+1):nr(We+1,2)},d:(Fe,Oe)=>nr(Fe.getDate(),Oe.length),a(Fe,Oe){const We=Fe.getHours()/12>=1?"pm":"am";switch(Oe){case"a":case"aa":return We.toUpperCase();case"aaa":return We;case"aaaaa":return We[0];default:return"am"===We?"a.m.":"p.m."}},h:(Fe,Oe)=>nr(Fe.getHours()%12||12,Oe.length),H:(Fe,Oe)=>nr(Fe.getHours(),Oe.length),m:(Fe,Oe)=>nr(Fe.getMinutes(),Oe.length),s:(Fe,Oe)=>nr(Fe.getSeconds(),Oe.length),S(Fe,Oe){const We=Oe.length,_t=Fe.getMilliseconds();return nr(Math.trunc(_t*Math.pow(10,We-3)),Oe.length)}},lr={G:function(Fe,Oe,We){const _t=Fe.getFullYear()>0?1:0;switch(Oe){case"G":case"GG":case"GGG":return We.era(_t,{width:"abbreviated"});case"GGGGG":return We.era(_t,{width:"narrow"});default:return We.era(_t,{width:"wide"})}},y:function(Fe,Oe,We){if("yo"===Oe){const _t=Fe.getFullYear();return We.ordinalNumber(_t>0?_t:1-_t,{unit:"year"})}return fn.y(Fe,Oe)},Y:function(Fe,Oe,We,_t){const en=En(Fe,_t),gn=en>0?en:1-en;return"YY"===Oe?nr(gn%100,2):"Yo"===Oe?We.ordinalNumber(gn,{unit:"year"}):nr(gn,Oe.length)},R:function(Fe,Oe){return nr(Rt(Fe),Oe.length)},u:function(Fe,Oe){return nr(Fe.getFullYear(),Oe.length)},Q:function(Fe,Oe,We){const _t=Math.ceil((Fe.getMonth()+1)/3);switch(Oe){case"Q":return String(_t);case"QQ":return nr(_t,2);case"Qo":return We.ordinalNumber(_t,{unit:"quarter"});case"QQQ":return We.quarter(_t,{width:"abbreviated",context:"formatting"});case"QQQQQ":return We.quarter(_t,{width:"narrow",context:"formatting"});default:return We.quarter(_t,{width:"wide",context:"formatting"})}},q:function(Fe,Oe,We){const _t=Math.ceil((Fe.getMonth()+1)/3);switch(Oe){case"q":return String(_t);case"qq":return nr(_t,2);case"qo":return We.ordinalNumber(_t,{unit:"quarter"});case"qqq":return We.quarter(_t,{width:"abbreviated",context:"standalone"});case"qqqqq":return We.quarter(_t,{width:"narrow",context:"standalone"});default:return We.quarter(_t,{width:"wide",context:"standalone"})}},M:function(Fe,Oe,We){const _t=Fe.getMonth();switch(Oe){case"M":case"MM":return fn.M(Fe,Oe);case"Mo":return We.ordinalNumber(_t+1,{unit:"month"});case"MMM":return We.month(_t,{width:"abbreviated",context:"formatting"});case"MMMMM":return We.month(_t,{width:"narrow",context:"formatting"});default:return We.month(_t,{width:"wide",context:"formatting"})}},L:function(Fe,Oe,We){const _t=Fe.getMonth();switch(Oe){case"L":return String(_t+1);case"LL":return nr(_t+1,2);case"Lo":return We.ordinalNumber(_t+1,{unit:"month"});case"LLL":return We.month(_t,{width:"abbreviated",context:"standalone"});case"LLLLL":return We.month(_t,{width:"narrow",context:"standalone"});default:return We.month(_t,{width:"wide",context:"standalone"})}},w:function(Fe,Oe,We,_t){const en=function Kn(Fe,Oe){const We=(0,Fr.a)(Fe),_t=+hr(We,Oe)-+function bn(Fe,Oe){var We,_t,en,gn,In,Zn;const Er=G(),Yr=null!==(We=null!==(_t=null!==(en=null!==(gn=null==Oe?void 0:Oe.firstWeekContainsDate)&&void 0!==gn?gn:null==Oe||null===(In=Oe.locale)||void 0===In||null===(In=In.options)||void 0===In?void 0:In.firstWeekContainsDate)&&void 0!==en?en:Er.firstWeekContainsDate)&&void 0!==_t?_t:null===(Zn=Er.locale)||void 0===Zn||null===(Zn=Zn.options)||void 0===Zn?void 0:Zn.firstWeekContainsDate)&&void 0!==We?We:1,oi=En(Fe,Oe),Ar=tr(Fe,0);return Ar.setFullYear(oi,0,Yr),Ar.setHours(0,0,0,0),hr(Ar,Oe)}(We,Oe);return Math.round(_t/at)+1}(Fe,_t);return"wo"===Oe?We.ordinalNumber(en,{unit:"week"}):nr(en,Oe.length)},I:function(Fe,Oe,We){const _t=function Sn(Fe){const Oe=(0,Fr.a)(Fe),We=+$r(Oe)-+function vn(Fe){const Oe=Rt(Fe),We=tr(Fe,0);return We.setFullYear(Oe,0,4),We.setHours(0,0,0,0),$r(We)}(Oe);return Math.round(We/at)+1}(Fe);return"Io"===Oe?We.ordinalNumber(_t,{unit:"week"}):nr(_t,Oe.length)},d:function(Fe,Oe,We){return"do"===Oe?We.ordinalNumber(Fe.getDate(),{unit:"date"}):fn.d(Fe,Oe)},D:function(Fe,Oe,We){const _t=function qr(Fe){const Oe=(0,Fr.a)(Fe);return function sr(Fe,Oe){const We=(0,br.o)(Fe),_t=(0,br.o)(Oe),en=+We-On(We),gn=+_t-On(_t);return Math.round((en-gn)/864e5)}(Oe,function Br(Fe){const Oe=(0,Fr.a)(Fe),We=tr(Fe,0);return We.setFullYear(Oe.getFullYear(),0,1),We.setHours(0,0,0,0),We}(Oe))+1}(Fe);return"Do"===Oe?We.ordinalNumber(_t,{unit:"dayOfYear"}):nr(_t,Oe.length)},E:function(Fe,Oe,We){const _t=Fe.getDay();switch(Oe){case"E":case"EE":case"EEE":return We.day(_t,{width:"abbreviated",context:"formatting"});case"EEEEE":return We.day(_t,{width:"narrow",context:"formatting"});case"EEEEEE":return We.day(_t,{width:"short",context:"formatting"});default:return We.day(_t,{width:"wide",context:"formatting"})}},e:function(Fe,Oe,We,_t){const en=Fe.getDay(),gn=(en-_t.weekStartsOn+8)%7||7;switch(Oe){case"e":return String(gn);case"ee":return nr(gn,2);case"eo":return We.ordinalNumber(gn,{unit:"day"});case"eee":return We.day(en,{width:"abbreviated",context:"formatting"});case"eeeee":return We.day(en,{width:"narrow",context:"formatting"});case"eeeeee":return We.day(en,{width:"short",context:"formatting"});default:return We.day(en,{width:"wide",context:"formatting"})}},c:function(Fe,Oe,We,_t){const en=Fe.getDay(),gn=(en-_t.weekStartsOn+8)%7||7;switch(Oe){case"c":return String(gn);case"cc":return nr(gn,Oe.length);case"co":return We.ordinalNumber(gn,{unit:"day"});case"ccc":return We.day(en,{width:"abbreviated",context:"standalone"});case"ccccc":return We.day(en,{width:"narrow",context:"standalone"});case"cccccc":return We.day(en,{width:"short",context:"standalone"});default:return We.day(en,{width:"wide",context:"standalone"})}},i:function(Fe,Oe,We){const _t=Fe.getDay(),en=0===_t?7:_t;switch(Oe){case"i":return String(en);case"ii":return nr(en,Oe.length);case"io":return We.ordinalNumber(en,{unit:"day"});case"iii":return We.day(_t,{width:"abbreviated",context:"formatting"});case"iiiii":return We.day(_t,{width:"narrow",context:"formatting"});case"iiiiii":return We.day(_t,{width:"short",context:"formatting"});default:return We.day(_t,{width:"wide",context:"formatting"})}},a:function(Fe,Oe,We){const en=Fe.getHours()/12>=1?"pm":"am";switch(Oe){case"a":case"aa":return We.dayPeriod(en,{width:"abbreviated",context:"formatting"});case"aaa":return We.dayPeriod(en,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return We.dayPeriod(en,{width:"narrow",context:"formatting"});default:return We.dayPeriod(en,{width:"wide",context:"formatting"})}},b:function(Fe,Oe,We){const _t=Fe.getHours();let en;switch(en=12===_t?"noon":0===_t?"midnight":_t/12>=1?"pm":"am",Oe){case"b":case"bb":return We.dayPeriod(en,{width:"abbreviated",context:"formatting"});case"bbb":return We.dayPeriod(en,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return We.dayPeriod(en,{width:"narrow",context:"formatting"});default:return We.dayPeriod(en,{width:"wide",context:"formatting"})}},B:function(Fe,Oe,We){const _t=Fe.getHours();let en;switch(en=_t>=17?"evening":_t>=12?"afternoon":_t>=4?"morning":"night",Oe){case"B":case"BB":case"BBB":return We.dayPeriod(en,{width:"abbreviated",context:"formatting"});case"BBBBB":return We.dayPeriod(en,{width:"narrow",context:"formatting"});default:return We.dayPeriod(en,{width:"wide",context:"formatting"})}},h:function(Fe,Oe,We){if("ho"===Oe){let _t=Fe.getHours()%12;return 0===_t&&(_t=12),We.ordinalNumber(_t,{unit:"hour"})}return fn.h(Fe,Oe)},H:function(Fe,Oe,We){return"Ho"===Oe?We.ordinalNumber(Fe.getHours(),{unit:"hour"}):fn.H(Fe,Oe)},K:function(Fe,Oe,We){const _t=Fe.getHours()%12;return"Ko"===Oe?We.ordinalNumber(_t,{unit:"hour"}):nr(_t,Oe.length)},k:function(Fe,Oe,We){let _t=Fe.getHours();return 0===_t&&(_t=24),"ko"===Oe?We.ordinalNumber(_t,{unit:"hour"}):nr(_t,Oe.length)},m:function(Fe,Oe,We){return"mo"===Oe?We.ordinalNumber(Fe.getMinutes(),{unit:"minute"}):fn.m(Fe,Oe)},s:function(Fe,Oe,We){return"so"===Oe?We.ordinalNumber(Fe.getSeconds(),{unit:"second"}):fn.s(Fe,Oe)},S:function(Fe,Oe){return fn.S(Fe,Oe)},X:function(Fe,Oe,We){const _t=Fe.getTimezoneOffset();if(0===_t)return"Z";switch(Oe){case"X":return ni(_t);case"XXXX":case"XX":return vi(_t);default:return vi(_t,":")}},x:function(Fe,Oe,We){const _t=Fe.getTimezoneOffset();switch(Oe){case"x":return ni(_t);case"xxxx":case"xx":return vi(_t);default:return vi(_t,":")}},O:function(Fe,Oe,We){const _t=Fe.getTimezoneOffset();switch(Oe){case"O":case"OO":case"OOO":return"GMT"+ar(_t,":");default:return"GMT"+vi(_t,":")}},z:function(Fe,Oe,We){const _t=Fe.getTimezoneOffset();switch(Oe){case"z":case"zz":case"zzz":return"GMT"+ar(_t,":");default:return"GMT"+vi(_t,":")}},t:function(Fe,Oe,We){return nr(Math.trunc(Fe.getTime()/1e3),Oe.length)},T:function(Fe,Oe,We){return nr(Fe.getTime(),Oe.length)}};function ar(Fe,Oe=""){const We=Fe>0?"-":"+",_t=Math.abs(Fe),en=Math.trunc(_t/60),gn=_t%60;return 0===gn?We+String(en):We+String(en)+Oe+nr(gn,2)}function ni(Fe,Oe){return Fe%60==0?(Fe>0?"-":"+")+nr(Math.abs(Fe)/60,2):vi(Fe,Oe)}function vi(Fe,Oe=""){const We=Fe>0?"-":"+",_t=Math.abs(Fe);return We+nr(Math.trunc(_t/60),2)+Oe+nr(_t%60,2)}const no=(Fe,Oe)=>{switch(Fe){case"P":return Oe.date({width:"short"});case"PP":return Oe.date({width:"medium"});case"PPP":return Oe.date({width:"long"});default:return Oe.date({width:"full"})}},$i=(Fe,Oe)=>{switch(Fe){case"p":return Oe.time({width:"short"});case"pp":return Oe.time({width:"medium"});case"ppp":return Oe.time({width:"long"});default:return Oe.time({width:"full"})}},Di={p:$i,P:(Fe,Oe)=>{const We=Fe.match(/(P+)(p+)?/)||[],_t=We[1],en=We[2];if(!en)return no(Fe,Oe);let gn;switch(_t){case"P":gn=Oe.dateTime({width:"short"});break;case"PP":gn=Oe.dateTime({width:"medium"});break;case"PPP":gn=Oe.dateTime({width:"long"});break;default:gn=Oe.dateTime({width:"full"})}return gn.replace("{{date}}",no(_t,Oe)).replace("{{time}}",$i(en,Oe))}},lo=/^D+$/,to=/^Y+$/,vo=["D","DD","YY","YYYY"];const wt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,st=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,jt=/^'([^]*?)'?$/,xt=/''/g,hn=/[a-zA-Z]/;function ft(Fe,Oe,We){var _t,en,gn,In,Zn,Er,Yr,oi,Ar,li,Ki,Pi,io,ki;const ko=G(),Eo=null!==(_t=null!==(en=null==We?void 0:We.locale)&&void 0!==en?en:ko.locale)&&void 0!==_t?_t:X,ji=null!==(gn=null!==(In=null!==(Zn=null!==(Er=null==We?void 0:We.firstWeekContainsDate)&&void 0!==Er?Er:null==We||null===(Yr=We.locale)||void 0===Yr||null===(Yr=Yr.options)||void 0===Yr?void 0:Yr.firstWeekContainsDate)&&void 0!==Zn?Zn:ko.firstWeekContainsDate)&&void 0!==In?In:null===(oi=ko.locale)||void 0===oi||null===(oi=oi.options)||void 0===oi?void 0:oi.firstWeekContainsDate)&&void 0!==gn?gn:1,bs=null!==(Ar=null!==(li=null!==(Ki=null!==(Pi=null==We?void 0:We.weekStartsOn)&&void 0!==Pi?Pi:null==We||null===(io=We.locale)||void 0===io||null===(io=io.options)||void 0===io?void 0:io.weekStartsOn)&&void 0!==Ki?Ki:ko.weekStartsOn)&&void 0!==li?li:null===(ki=ko.locale)||void 0===ki||null===(ki=ki.options)||void 0===ki?void 0:ki.weekStartsOn)&&void 0!==Ar?Ar:0,xo=(0,Fr.a)(Fe);if(!function Ot(Fe){if(!function Ke(Fe){return Fe instanceof Date||"object"==typeof Fe&&"[object Date]"===Object.prototype.toString.call(Fe)}(Fe)&&"number"!=typeof Fe)return!1;const Oe=(0,Fr.a)(Fe);return!isNaN(Number(Oe))}(xo))throw new RangeError("Invalid time value");let So=Oe.match(st).map(qo=>{const cs=qo[0];return"p"===cs||"P"===cs?(0,Di[cs])(qo,Eo.formatLong):qo}).join("").match(wt).map(qo=>{if("''"===qo)return{isToken:!1,value:"'"};const cs=qo[0];if("'"===cs)return{isToken:!1,value:He(qo)};if(lr[cs])return{isToken:!0,value:qo};
1if(cs.match(hn))throw new RangeError("Format string contains an unescaped latin alphabet character `"+cs+"`");return{isToken:!1,value:qo}});Eo.localize.preprocessor&&(So=Eo.localize.preprocessor(xo,So));const $s={firstWeekContainsDate:ji,weekStartsOn:bs,locale:Eo};return So.map(qo=>{if(!qo.isToken)return qo.value;const cs=qo.value;return((null==We||!We.useAdditionalWeekYearTokens)&&function mn(Fe){return to.test(Fe)}(cs)||(null==We||!We.useAdditionalDayOfYearTokens)&&function Co(Fe){return lo.test(Fe)}(cs))&&function Jt(Fe,Oe,We){const _t=function kn(Fe,Oe,We){const _t="Y"===Fe[0]?"years":"days of the month";return`Use \`${Fe.toLowerCase()}\` instead of \`${Fe}\` (in \`${Oe}\`) for formatting ${_t} to the input \`${We}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(Fe,Oe,We);if(console.warn(_t),vo.includes(Fe))throw new RangeError(_t)}(cs,Oe,String(Fe)),(0,lr[cs[0]])(xo,cs,Eo.localize,$s)}).join("")}function He(Fe){const Oe=Fe.match(jt);return Oe?Oe[1].replace(xt,"'"):Fe}},93601:(ge,_,f)=>{"use strict";f.d(_,{o:()=>o});var c=f(4273);function o(a){const E=(0,c.a)(a);return E.setHours(0,0,0,0),E}},4273:(ge,_,f)=>{"use strict";function c(C){const a=Object.prototype.toString.call(C);return C instanceof Date||"object"==typeof C&&"[object Date]"===a?new C.constructor(+C):"number"==typeof C||"[object Number]"===a||"string"==typeof C||"[object String]"===a?new Date(C):new Date(NaN)}f.d(_,{a:()=>c})},10467:(ge,_,f)=>{"use strict";function c(C,a,E,T,s,h,u){try{var v=C[h](u),g=v.value}catch(y){return void E(y)}v.done?a(g):Promise.resolve(g).then(T,s)}function o(C){return function(){var a=this,E=arguments;return new Promise(function(T,s){var h=C.apply(a,E);function u(g){c(h,T,s,u,v,"next",g)}function v(g){c(h,T,s,u,v,"throw",g)}u(void 0)})}}f.d(_,{A:()=>o})},99842:(ge,_,f)=>{"use strict";function c(E){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(T){return typeof T}:function(T){return T&&"function"==typeof Symbol&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T})(E)}function a(E,T,s){return(T=function C(E){var T=function o(E,T){if("object"!=c(E)||!E)return E;var s=E[Symbol.toPrimitive];if(void 0!==s){var h=s.call(E,T||"default");if("object"!=c(h))return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===T?String:Number)(E)}(E,"string");return"symbol"==c(T)?T:String(T)}(T))in E?Object.defineProperty(E,T,{value:s,enumerable:!0,configurable:!0,writable:!0}):E[T]=s,E}f.d(_,{A:()=>a})},31635:(ge,_,f)=>{"use strict";f.d(_,{AQ:()=>H,C6:()=>o,Cg:()=>E,Cl:()=>C,Ju:()=>P,N3:()=>z,YH:()=>p,fX:()=>K,sH:()=>y,ue:()=>Z,xN:()=>q,zs:()=>k});var c=function(X,M){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,G){N.__proto__=G}||function(N,G){for(var ue in G)Object.prototype.hasOwnProperty.call(G,ue)&&(N[ue]=G[ue])})(X,M)};function o(X,M){if("function"!=typeof M&&null!==M)throw new TypeError("Class extends value "+String(M)+" is not a constructor or null");function N(){this.constructor=X}c(X,M),X.prototype=null===M?Object.create(M):(N.prototype=M.prototype,new N)}var C=function(){return C=Object.assign||function(M){for(var N,G=1,ue=arguments.length;G<ue;G++)for(var ve in N=arguments[G])Object.prototype.hasOwnProperty.call(N,ve)&&(M[ve]=N[ve]);return M},C.apply(this,arguments)};function E(X,M,N,G){var we,ue=arguments.length,ve=ue<3?M:null===G?G=Object.getOwnPropertyDescriptor(M,N):G;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ve=Reflect.decorate(X,M,N,G);else for(var Re=X.length-1;Re>=0;Re--)(we=X[Re])&&(ve=(ue<3?we(ve):ue>3?we(M,N,ve):we(M,N))||ve);return ue>3&&ve&&Object.defineProperty(M,N,ve),ve}function y(X,M,N,G){return new(N||(N=Promise))(function(ve,we){function Re(Pt){try{at(G.next(Pt))}catch(At){we(At)}}function et(Pt){try{at(G.throw(Pt))}catch(At){we(At)}}function at(Pt){Pt.done?ve(Pt.value):function ue(ve){return ve instanceof N?ve:new N(function(we){we(ve)})}(Pt.value).then(Re,et)}at((G=G.apply(X,M||[])).next())})}function p(X,M){var G,ue,ve,we,N={label:0,sent:function(){if(1&ve[0])throw ve[1];return ve[1]},trys:[],ops:[]};return we={next:Re(0),throw:Re(1),return:Re(2)},"function"==typeof Symbol&&(we[Symbol.iterator]=function(){return this}),we;function Re(at){return function(Pt){return function et(at){if(G)throw new TypeError("Generator is already executing.");for(;we&&(we=0,at[0]&&(N=0)),N;)try{if(G=1,ue&&(ve=2&at[0]?ue.return:at[0]?ue.throw||((ve=ue.return)&&ve.call(ue),0):ue.next)&&!(ve=ve.call(ue,at[1])).done)return ve;switch(ue=0,ve&&(at=[2&at[0],ve.value]),at[0]){case 0:case 1:ve=at;break;case 4:return N.label++,{value:at[1],done:!1};case 5:N.label++,ue=at[1],at=[0];continue;case 7:at=N.ops.pop(),N.trys.pop();continue;default:if(!(ve=(ve=N.trys).length>0&&ve[ve.length-1])&&(6===at[0]||2===at[0])){N=0;continue}if(3===at[0]&&(!ve||at[1]>ve[0]&&at[1]<ve[3])){N.label=at[1];break}if(6===at[0]&&N.label<ve[1]){N.label=ve[1],ve=at;break}if(ve&&N.label<ve[2]){N.label=ve[2],N.ops.push(at);break}ve[2]&&N.ops.pop(),N.trys.pop();continue}at=M.call(X,N)}catch(Pt){at=[6,Pt],ue=0}finally{G=ve=0}if(5&at[0])throw at[1];return{value:at[0]?at[1]:void 0,done:!0}}([at,Pt])}}}function P(X){var M="function"==typeof Symbol&&Symbol.iterator,N=M&&X[M],G=0;if(N)return N.call(X);if(X&&"number"==typeof X.length)return{next:function(){return X&&G>=X.length&&(X=void 0),{value:X&&X[G++],done:!X}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")}function k(X,M){var N="function"==typeof Symbol&&X[Symbol.iterator];if(!N)return X;
1var ue,we,G=N.call(X),ve=[];try{for(;(void 0===M||M-- >0)&&!(ue=G.next()).done;)ve.push(ue.value)}catch(Re){we={error:Re}}finally{try{ue&&!ue.done&&(N=G.return)&&N.call(G)}finally{if(we)throw we.error}}return ve}function K(X,M,N){if(N||2===arguments.length)for(var ve,G=0,ue=M.length;G<ue;G++)(ve||!(G in M))&&(ve||(ve=Array.prototype.slice.call(M,0,G)),ve[G]=M[G]);return X.concat(ve||Array.prototype.slice.call(M))}function z(X){return this instanceof z?(this.v=X,this):new z(X)}function H(X,M,N){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ue,G=N.apply(X,M||[]),ve=[];return ue={},Re("next"),Re("throw"),Re("return",function we(qt){return function(St){return Promise.resolve(St).then(qt,At)}}),ue[Symbol.asyncIterator]=function(){return this},ue;function Re(qt,St){G[qt]&&(ue[qt]=function(lt){return new Promise(function(yt,Ft){ve.push([qt,lt,yt,Ft])>1||et(qt,lt)})},St&&(ue[qt]=St(ue[qt])))}function et(qt,St){try{!function at(qt){qt.value instanceof z?Promise.resolve(qt.value.v).then(Pt,At):It(ve[0][2],qt)}(G[qt](St))}catch(lt){It(ve[0][3],lt)}}function Pt(qt){et("next",qt)}function At(qt){et("throw",qt)}function It(qt,St){qt(St),ve.shift(),ve.length&&et(ve[0][0],ve[0][1])}}function q(X){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var N,M=X[Symbol.asyncIterator];return M?M.call(X):(X=P(X),N={},G("next"),G("throw"),G("return"),N[Symbol.asyncIterator]=function(){return this},N);function G(ve){N[ve]=X[ve]&&function(we){return new Promise(function(Re,et){!function ue(ve,we,Re,et){Promise.resolve(et).then(function(at){ve({value:at,done:Re})},we)}(Re,et,(we=X[ve](we)).done,we.value)})}}}function Z(X,M){return Object.defineProperty?Object.defineProperty(X,"raw",{value:M}):X.raw=M,X}"function"==typeof SuppressedError&&SuppressedError},20633:ge=>{"use strict";ge.exports=JSON.parse('{"name":"jssip","title":"JsSIP","description":"the Javascript SIP library","version":"3.10.1","homepage":"https://jssip.net","contributors":["Jos\xe9 Luis Mill\xe1n <[email protected]> (https://github.com/jmillan)","I\xf1aki Baz Castillo <[email protected]> (https://inakibaz.me)"],"types":"lib/JsSIP.d.ts","main":"lib-es5/JsSIP.js","keywords":["sip","websocket","webrtc","node","browser","library"],"license":"MIT","repository":{"type":"git","url":"https://github.com/versatica/JsSIP.git"},"bugs":{"url":"https://github.com/versatica/JsSIP/issues"},"dependencies":{"@types/events":"^3.0.0","@types/debug":"^4.1.7","debug":"^4.3.1","events":"^3.3.0","sdp-transform":"^2.14.1"},"devDependencies":{"@babel/core":"^7.19.6","@babel/preset-env":"^7.19.4","ansi-colors":"^3.2.4","browserify":"^16.5.1","eslint":"^5.16.0","fancy-log":"^1.3.3","gulp":"^4.0.2","gulp-babel":"^8.0.0","gulp-eslint":"^5.0.0","gulp-expect-file":"^1.0.2","gulp-header":"^2.0.9","gulp-nodeunit-runner":"^0.2.2","gulp-plumber":"^1.2.1","gulp-rename":"^1.4.0","gulp-uglify-es":"^1.0.4","pegjs":"^0.7.0","vinyl-buffer":"^1.0.1","vinyl-source-stream":"^2.0.0"},"scripts":{"lint":"node npm-scripts.js lint","test":"node npm-scripts.js test","prepublish":"node npm-scripts.js prepublish","release":"node npm-scripts.js release"}}')},8330:ge=>{"use strict";ge.exports=JSON.parse('{"rE":"4.0.1-9+20250418"}')}},ge=>{ge(ge.s=45732)}]);
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.