1var k_=(wt,Se)=>(Se=Symbol[wt])?Se:Symbol.for("Symbol."+wt),xR=wt=>{throw TypeError(wt)},RR=function(wt,Se){this[0]=wt,this[1]=Se},qn=wt=>{var a,Se=wt[k_("asyncIterator")],u=!1,s={};return null==Se?(Se=wt[k_("iterator")](),a=w=>s[w]=T=>Se[w](T)):(Se=Se.call(wt),a=w=>s[w]=T=>{if(u){if(u=!1,"throw"===w)throw T;return T}return u=!0,{done:!1,value:new RR(new Promise(x=>{var F=Se[w](T);F instanceof Object||xR("Object expected"),x(F)}),1)}}),s[k_("iterator")]=()=>s,a("next"),"throw"in Se?a("throw"):s.throw=w=>{throw w},"return"in Se&&a("return"),s};(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8792],{5083:(wt,Se,u)=>{"use strict";u.d(Se,{EA:()=>We,E_:()=>Ie,F3:()=>q,I9:()=>V,Ii:()=>W,pX:()=>k});var a=u(467);typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"&&global;var H=function(z){return z.Unimplemented="UNIMPLEMENTED",z.Unavailable="UNAVAILABLE",z}(H||{});class V extends Error{constructor(ce,pe,ve){super(ce),this.message=ce,this.code=pe,this.data=ve}}const U=z=>{var ce,pe,ve,ze,fe;const de=z.CapacitorCustomPlatform||null,ee=z.Capacitor||{},$=ee.Plugins=ee.Plugins||{},se=z.CapacitorPlatforms,at=(null===(ce=null==se?void 0:se.currentPlatform)||void 0===ce?void 0:ce.getPlatform)||(()=>null!==de?de.name:(z=>{var ce,pe;return null!=z&&z.androidBridge?"android":null!==(pe=null===(ce=null==z?void 0:z.webkit)||void 0===ce?void 0:ce.messageHandlers)&&void 0!==pe&&pe.bridge?"ios":"web"})(z)),ct=(null===(pe=null==se?void 0:se.currentPlatform)||void 0===pe?void 0:pe.isNativePlatform)||(()=>"web"!==at()),jn=(null===(ve=null==se?void 0:se.currentPlatform)||void 0===ve?void 0:ve.isPluginAvailable)||(Yn=>{const Qn=ur.get(Yn);return!!(null!=Qn&&Qn.platforms.has(at())||lr(Yn))}),lr=(null===(ze=null==se?void 0:se.currentPlatform)||void 0===ze?void 0:ze.getPluginHeader)||(Yn=>{var Qn;return null===(Qn=ee.PluginHeaders)||void 0===Qn?void 0:Qn.find(ht=>ht.name===Yn)}),ur=new Map,cr=(null===(fe=null==se?void 0:se.currentPlatform)||void 0===fe?void 0:fe.registerPlugin)||((Yn,Qn={})=>{const ht=ur.get(Yn);if(ht)return console.warn(`Capacitor plugin "${Yn}" already registered. Cannot register plugins twice.`),ht.proxy;const Ot=at(),It=lr(Yn);let Kt;const Zn=function(){var wr=(0,a.A)(function*(){return!Kt&&Ot in Qn?Kt=Kt="function"==typeof Qn[Ot]?yield Qn[Ot]():Qn[Ot]:null!==de&&!Kt&&"web"in Qn&&(Kt=Kt="function"==typeof Qn.web?yield Qn.web():Qn.web),Kt});return function(){return wr.apply(this,arguments)}}(),Er=wr=>{let Yr;const li=(...mi)=>{const Lt=Zn().then(rr=>{const Un=((wr,Yr)=>{var li,mi;if(!It){if(wr)return null===(mi=wr[Yr])||void 0===mi?void 0:mi.bind(wr);throw new V(`"${Yn}" plugin is not implemented on ${Ot}`,H.Unimplemented)}{const Lt=null==It?void 0:It.methods.find(rr=>Yr===rr.name);if(Lt)return"promise"===Lt.rtype?rr=>ee.nativePromise(Yn,Yr.toString(),rr):(rr,Un)=>ee.nativeCallback(Yn,Yr.toString(),rr,Un);if(wr)return null===(li=wr[Yr])||void 0===li?void 0:li.bind(wr)}})(rr,wr);if(Un){const nt=Un(...mi);return Yr=null==nt?void 0:nt.remove,nt}throw new V(`"${Yn}.${wr}()" is not implemented on ${Ot}`,H.Unimplemented)});return"addListener"===wr&&(Lt.remove=(0,a.A)(function*(){return Yr()})),Lt};return li.toString=()=>`${wr.toString()}() { [capacitor code] }`,Object.defineProperty(li,"name",{value:wr,writable:!1,configurable:!1}),li},$n=Er("addListener"),dn=Er("removeListener"),Ar=(wr,Yr)=>{const li=$n({eventName:wr},Yr),mi=function(){var rr=(0,a.A)(function*(){const Un=yield li;dn({eventName:wr,callbackId:Un},Yr)});return function(){return rr.apply(this,arguments)}}(),Lt=new Promise(rr=>li.then(()=>rr({remove:mi})));return Lt.remove=(0,a.A)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield mi()}),Lt},ei=new Proxy({},{get(wr,Yr){switch(Yr){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return It?Ar:$n;case"removeListener":return dn;default:return Er(Yr)}}});return $[Yn]=ei,ur.set(Yn,{name:Yn,proxy:ei,platforms:new Set([...Object.keys(Qn),...It?[Ot]:[]])}),ei});return ee.convertFileSrc||(ee.convertFileSrc=Yn=>Yn),ee.getPlatform=at,ee.handleError=Yn=>z.console.error(Yn),ee.isNativePlatform=ct,ee.isPluginAvailable=jn,ee.pluginMethodNoop=(Yn,Qn,ht)=>Promise.reject(`${ht} does not have an implementation of "${Qn}".`),ee.registerPlugin=cr,ee.Exception=V,ee.DEBUG=!!ee.DEBUG,ee.isLoggingEnabled=!!ee.isLoggingEnabled,ee.platform=ee.getPlatform(),ee.isNative=ee.isNativePlatform(),ee},W=(z=>z.Capacitor=U(z))(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),q=W.registerPlugin;class Ie{constructor(ce){this.listeners={},this.retainedEventArguments={},this.windowListeners={},ce&&(console.warn(`Capacitor WebPlugin "${ce.name}
1" config object was deprecated in v3 and will be removed in v4.`),this.config=ce)}addListener(ce,pe){var ve=this;let ze=!1;this.listeners[ce]||(this.listeners[ce]=[],ze=!0),this.listeners[ce].push(pe);const de=this.windowListeners[ce];de&&!de.registered&&this.addWindowListener(de),ze&&this.sendRetainedArgumentsForEvent(ce);const ee=function(){var se=(0,a.A)(function*(){return ve.removeListener(ce,pe)});return function(){return se.apply(this,arguments)}}();return Promise.resolve({remove:ee})}removeAllListeners(){var ce=this;return(0,a.A)(function*(){ce.listeners={};for(const pe in ce.windowListeners)ce.removeWindowListener(ce.windowListeners[pe]);ce.windowListeners={}})()}notifyListeners(ce,pe,ve){const ze=this.listeners[ce];if(ze)ze.forEach(fe=>fe(pe));else if(ve){let fe=this.retainedEventArguments[ce];fe||(fe=[]),fe.push(pe),this.retainedEventArguments[ce]=fe}}hasListeners(ce){return!!this.listeners[ce].length}registerWindowListener(ce,pe){this.windowListeners[pe]={registered:!1,windowEventName:ce,pluginEventName:pe,handler:ve=>{this.notifyListeners(pe,ve)}}}unimplemented(ce="not implemented"){return new W.Exception(ce,H.Unimplemented)}unavailable(ce="not available"){return new W.Exception(ce,H.Unavailable)}removeListener(ce,pe){var ve=this;return(0,a.A)(function*(){const ze=ve.listeners[ce];if(!ze)return;const fe=ze.indexOf(pe);ve.listeners[ce].splice(fe,1),ve.listeners[ce].length||ve.removeWindowListener(ve.windowListeners[ce])})()}addWindowListener(ce){window.addEventListener(ce.windowEventName,ce.handler),ce.registered=!0}removeWindowListener(ce){ce&&(window.removeEventListener(ce.windowEventName,ce.handler),ce.registered=!1)}sendRetainedArgumentsForEvent(ce){const pe=this.retainedEventArguments[ce];pe&&(delete this.retainedEventArguments[ce],pe.forEach(ve=>{this.notifyListeners(ce,ve)}))}}const he=z=>encodeURIComponent(z).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),Me=z=>z.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class $e extends Ie{getCookies(){return(0,a.A)(function*(){const ce=document.cookie,pe={};return ce.split(";").forEach(ve=>{if(ve.length<=0)return;let[ze,fe]=ve.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");ze=Me(ze).trim(),fe=Me(fe).trim(),pe[ze]=fe}),pe})()}setCookie(ce){return(0,a.A)(function*(){try{const pe=he(ce.key),ve=he(ce.value),ze=`; expires=${(ce.expires||"").replace("expires=","")}`,fe=(ce.path||"/").replace("path=",""),de=null!=ce.url&&ce.url.length>0?`domain=${ce.url}`:"";document.cookie=`${pe}=${ve||""}${ze}; path=${fe}; ${de};`}catch(pe){return Promise.reject(pe)}})()}deleteCookie(ce){return(0,a.A)(function*(){try{document.cookie=`${ce.key}=; Max-Age=0`}catch(pe){return Promise.reject(pe)}})()}clearCookies(){return(0,a.A)(function*(){try{const ce=document.cookie.split(";")||[];for(const pe of ce)document.cookie=pe.replace(/^ +/,"").replace(/=.*/,`=;expires=${(new Date).toUTCString()};path=/`)}catch(ce){return Promise.reject(ce)}})()}clearAllCookies(){var ce=this;return(0,a.A)(function*(){try{yield ce.clearCookies()}catch(pe){return Promise.reject(pe)}})()}}q("CapacitorCookies",{web:()=>new $e});const Re=function(){var z=(0,a.A)(function*(ce){return new Promise((pe,ve)=>{const ze=new FileReader;ze.onload=()=>{const fe=ze.result;pe(fe.indexOf(",")>=0?fe.split(",")[1]:fe)},ze.onerror=fe=>ve(fe),ze.readAsDataURL(ce)})});return function(pe){return z.apply(this,arguments)}}(),We=(z,ce={})=>{const pe=Object.assign({method:z.method||"GET",headers:z.headers},ce),ze=((z={})=>{const ce=Object.keys(z);return Object.keys(z).map(ze=>ze.toLocaleLowerCase()).reduce((ze,fe,de)=>(ze[fe]=z[ce[de]],ze),{})})(z.headers)["content-type"]||"";if("string"==typeof z.data)pe.body=z.data;else if(ze.includes("application/x-www-form-urlencoded")){const fe=new URLSearchParams;for(const[de,ee]of Object.entries(z.data||{}))fe.set(de,ee);pe.body=fe.toString()}else if(ze.includes("multipart/form-data")||z.data instanceof FormData){const fe=new FormData;if(z.data instanceof FormData)z.data.forEach((ee,$)=>{fe.append($,ee)});else for(const ee of Object.keys(z.data))fe.append(ee,z.data[ee]);pe.body=fe;const de=new Headers(pe.headers);de.delete("content-type"),pe.headers=de}else(ze.includes("application/json")||"object"==typeof z.data)&&(pe.body=JSON.stringify(z.data));return pe};class Ae extends Ie{request(ce){return(0,a.A)(function*(){const pe=We(ce,ce.webFetchExtra),ve=((z,ce=!0)=>z?Object.entries(z).reduce((ve,ze)=>{const[fe,de]=ze;let ee,$;return Array.isArray(de)?($="",de.forEach(se=>{ee=ce?encodeURIComponent(se):se,$+=`${fe}=${ee}&`}),$.slice(0,-1)):(ee=ce?encodeURIComponent(de):de,$=`${fe}=${ee}`),`${ve}&${$}`},"").substr(1):null)(ce.params,ce.shouldEncodeUrlParams),ze=ve?`${ce.url}?${ve}`:ce.url,fe=yield fetch(ze,pe),de=fe.headers.get("content-type")||"";let $,se,{responseType:ee="text"}=fe.ok?ce:{};switch(de.includes("application/json")&&(ee="json"),ee){case"arraybuffer":case"blob":se=yield fe.blob(),$=yield Re(se);break;case"json":$=yield fe.json();break;default:$=yield fe.text()}const Ce={};
1return fe.headers.forEach((at,pt)=>{Ce[pt]=at}),{data:$,headers:Ce,status:fe.status,url:fe.url}})()}get(ce){var pe=this;return(0,a.A)(function*(){return pe.request(Object.assign(Object.assign({},ce),{method:"GET"}))})()}post(ce){var pe=this;return(0,a.A)(function*(){return pe.request(Object.assign(Object.assign({},ce),{method:"POST"}))})()}put(ce){var pe=this;return(0,a.A)(function*(){return pe.request(Object.assign(Object.assign({},ce),{method:"PUT"}))})()}patch(ce){var pe=this;return(0,a.A)(function*(){return pe.request(Object.assign(Object.assign({},ce),{method:"PATCH"}))})()}delete(ce){var pe=this;return(0,a.A)(function*(){return pe.request(Object.assign(Object.assign({},ce),{method:"DELETE"}))})()}}const k=q("CapacitorHttp",{web:()=>new Ae})},1889:(wt,Se,u)=>{"use strict";u.d(Se,{Wi:()=>s,__:()=>a});var a=function(x){return x.Documents="DOCUMENTS",x.Data="DATA",x.Library="LIBRARY",x.Cache="CACHE",x.External="EXTERNAL",x.ExternalStorage="EXTERNAL_STORAGE",x}(a||{}),s=function(x){return x.UTF8="utf8",x.ASCII="ascii",x.UTF16="utf16",x}(s||{})},9182:(wt,Se,u)=>{"use strict";u.d(Se,{_n:()=>s,kn:()=>a});var a=function(x){return x.Heavy="HEAVY",x.Medium="MEDIUM",x.Light="LIGHT",x}(a||{}),s=function(x){return x.Success="SUCCESS",x.Warning="WARNING",x.Error="ERROR",x}(s||{})},4442:(wt,Se,u)=>{"use strict";u.d(Se,{L:()=>x,a:()=>F,b:()=>B,c:()=>H,d:()=>V,g:()=>fe}),u(5531);const x="ionViewWillEnter",F="ionViewDidEnter",B="ionViewWillLeave",H="ionViewDidLeave",V="ionViewWillUnload",fe=de=>de.classList.contains("ion-page")?de:de.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||de},5531:(wt,Se,u)=>{"use strict";u.d(Se,{a:()=>L,c:()=>s,g:()=>V});class a{constructor(){this.m=new Map}reset(de){this.m=new Map(Object.entries(de))}get(de,ee){const $=this.m.get(de);return void 0!==$?$:ee}getBoolean(de,ee=!1){const $=this.m.get(de);return void 0===$?ee:"string"==typeof $?"true"===$:!!$}getNumber(de,ee){const $=parseFloat(this.m.get(de));return isNaN($)?void 0!==ee?ee:NaN:$}set(de,ee){this.m.set(de,ee)}}const s=new a,V=fe=>U(fe),L=(fe,de)=>("string"==typeof fe&&(de=fe,fe=void 0),V(fe).includes(de)),U=(fe=window)=>{if(typeof fe>"u")return[];fe.Ionic=fe.Ionic||{};let de=fe.Ionic.platforms;return null==de&&(de=fe.Ionic.platforms=le(fe),de.forEach(ee=>fe.document.documentElement.classList.add(`plt-${ee}`))),de},le=fe=>{const de=s.get("platform");return Object.keys(ce).filter(ee=>{const $=null==de?void 0:de[ee];return"function"==typeof $?$(fe):ce[ee](fe)})},q=fe=>!!(k(fe,/iPad/i)||k(fe,/Macintosh/i)&&$e(fe)),Ie=fe=>k(fe,/android|sink/i),$e=fe=>z(fe,"(any-pointer:coarse)"),Re=fe=>it(fe)||Be(fe),it=fe=>!!(fe.cordova||fe.phonegap||fe.PhoneGap),Be=fe=>{const de=fe.Capacitor;return!(null==de||!de.isNative)},k=(fe,de)=>de.test(fe.navigator.userAgent),z=(fe,de)=>{var ee;return null===(ee=fe.matchMedia)||void 0===ee?void 0:ee.call(fe,de).matches},ce={ipad:q,iphone:fe=>k(fe,/iPhone/i),ios:fe=>k(fe,/iPhone|iPod/i)||q(fe),android:Ie,phablet:fe=>
1{const de=fe.innerWidth,ee=fe.innerHeight,$=Math.min(de,ee),se=Math.max(de,ee);return $>390&&$<520&&se>620&&se<800},tablet:fe=>{const de=fe.innerWidth,ee=fe.innerHeight,$=Math.min(de,ee),se=Math.max(de,ee);return q(fe)||(fe=>Ie(fe)&&!k(fe,/mobile/i))(fe)||$>460&&$<820&&se>780&&se<1400},cordova:it,capacitor:Be,electron:fe=>k(fe,/electron/i),pwa:fe=>{var de;return!!(null!==(de=fe.matchMedia)&&void 0!==de&&de.call(fe,"(display-mode: standalone)").matches||fe.navigator.standalone)},mobile:$e,mobileweb:fe=>$e(fe)&&!Re(fe),desktop:fe=>!$e(fe),hybrid:Re}},9986:(wt,Se,u)=>{"use strict";u.d(Se,{c:()=>F});var a=u(8476);let s;const T=(B,H,V)=>{const L=H.startsWith("animation")?(B=>(void 0===s&&(s=void 0===B.style.animationName&&void 0!==B.style.webkitAnimationName?"-webkit-":""),s))(B):"";B.style.setProperty(L+H,V)},x=(B=[],H)=>{if(void 0!==H){const V=Array.isArray(H)?H:[H];return[...B,...V]}return B},F=B=>{let H,V,L,U,le,W,ge,We,Ae,k,ve,q=[],we=[],ue=[],Ie=!1,he={},Me=[],$e=[],Pe={},Re=0,it=!1,Be=!1,z=!0,ce=!1,pe=!0,ze=!1;const fe=B,de=[],ee=[],$=[],se=[],Ce=[],at=[],pt=[],ct=[],jt=[],jn=[],mn=[],lr="function"==typeof AnimationEffect||void 0!==a.w&&"function"==typeof a.w.AnimationEffect,hr="function"==typeof Element&&"function"==typeof Element.prototype.animate&&lr,$r=()=>mn,Qn=(ke,Tt)=>{const Zt=Tt.findIndex(In=>In.c===ke);Zt>-1&&Tt.splice(Zt,1)},Ot=(ke,Tt)=>((null!=Tt&&Tt.oneTimeCallback?ee:de).push({c:ke,o:Tt}),ve),Kt=()=>{hr&&(mn.forEach(ke=>{ke.cancel()}),mn.length=0)},Zn=()=>{at.forEach(ke=>{null!=ke&&ke.parentNode&&ke.parentNode.removeChild(ke)}),at.length=0},Un=()=>void 0!==le?le:ge?ge.getFill():"both",nt=()=>void 0!==We?We:void 0!==W?W:ge?ge.getDirection():"normal",Bn=()=>it?"linear":void 0!==L?L:ge?ge.getEasing():"linear",_r=()=>Be?0:void 0!==Ae?Ae:void 0!==V?V:ge?ge.getDuration():0,Jr=()=>void 0!==U?U:ge?ge.getIterations():1,ti=()=>void 0!==k?k:void 0!==H?H:ge?ge.getDelay():0,Fi=()=>{0!==Re&&(Re--,0===Re&&((()=>{jt.forEach(or=>or()),jn.forEach(or=>or());const ke=z?1:0,Tt=Me,Zt=$e,In=Pe;se.forEach(or=>{const Fe=or.classList;Tt.forEach(et=>Fe.add(et)),Zt.forEach(et=>Fe.remove(et));for(const et in In)In.hasOwnProperty(et)&&T(or,et,In[et])}),Ae=void 0,We=void 0,k=void 0,de.forEach(or=>or.c(ke,ve)),ee.forEach(or=>or.c(ke,ve)),ee.length=0,pe=!0,z&&(ce=!0),z=!0})(),ge&&ge.animationFinish()))},Oo=()=>{(()=>{pt.forEach(In=>In()),ct.forEach(In=>In());const ke=we,Tt=ue,Zt=he;se.forEach(In=>{const or=In.classList;ke.forEach(Fe=>or.add(Fe)),Tt.forEach(Fe=>or.remove(Fe));for(const Fe in Zt)Zt.hasOwnProperty(Fe)&&T(In,Fe,Zt[Fe])})})(),q.length>0&&hr&&(se.forEach(ke=>{const Tt=ke.animate(q,{id:fe,delay:ti(),duration:_r(),easing:Bn(),iterations:Jr(),fill:Un(),direction:nt()});Tt.pause(),mn.push(Tt)}),mn.length>0&&(mn[0].onfinish=()=>{Fi()})),Ie=!0},to=ke=>{ke=Math.min(Math.max(ke,0),.9999),hr&&mn.forEach(Tt=>{Tt.currentTime=Tt.effect.getComputedTiming().delay+_r()*ke,Tt.pause()})},Fo=ke=>{mn.forEach(Tt=>{Tt.effect.updateTiming({delay:ti(),duration:_r(),easing:Bn(),iterations:Jr(),fill:Un(),direction:nt()})}),void 0!==ke&&to(ke)},Qr=(ke=!1,Tt=!0,Zt)=>(ke&&Ce.forEach(In=>{In.update(ke,Tt,Zt)}),hr&&Fo(Zt),ve),hi=()=>{Ie&&(hr?mn.forEach(ke=>{ke.pause()}):se.forEach(ke=>{T(ke,"animation-play-state","paused")}),ze=!0)},Po=ke=>new Promise(Tt=>{null!=ke&&ke.sync&&(Be=!0,Ot(()=>Be=!1,{oneTimeCallback:!0})),Ie||Oo(),ce&&(hr&&(to(0),Fo()),ce=!1),pe&&(Re=Ce.length+1,pe=!1);const Zt=()=>{Qn(In,ee),Tt()},In=()=>{Qn(Zt,$),Tt()};Ot(In,{oneTimeCallback:!0}),((ke,Tt)=>{$.push({c:ke,o:{oneTimeCallback:!0}})})(Zt),Ce.forEach(or=>{or.play()}),hr?(mn.forEach(ke=>{ke.play()}),(0===q.length||0===se.length)&&Fi()):Fi(),ze=!1}),Je=(ke,Tt)=>{const Zt=q[0];return void 0===Zt||void 0!==Zt.offset&&0!==Zt.offset?q=[{offset:0,[ke]:Tt},...q]:Zt[ke]=Tt,ve};return ve={parentAnimation:ge,elements:se,childAnimations:Ce,id:fe,animationFinish:Fi,from:Je,to:(ke,Tt)=>{const Zt=q[q.length-1];return void 0===Zt||void 0!==Zt.offset&&1!==Zt.offset?q=[...q,{offset:1,[ke]:Tt}]:Zt[ke]=Tt,ve},fromTo:(ke,Tt,Zt)=>Je(ke,Tt).to(ke,Zt),parent:ke=>(ge=ke,ve),play:Po,pause:()=>(Ce.forEach(ke=>{ke.pause()}),hi(),ve),stop:()=>{Ce.forEach(ke=>{ke.stop()}),Ie&&(Kt(),Ie=!1),it=!1,Be=!1,pe=!0,We=void 0,Ae=void 0,k=void 0,Re=0,ce=!1,z=!0,ze=!1,$.forEach(ke=>ke.c(0,ve)),$.length=0},destroy:ke=>(Ce.forEach(Tt=>{Tt.destroy(ke)}),(ke=>{Kt(),ke&&Zn()})(ke),se.length=0,Ce.length=0,q.length=0,de.length=0,ee.length=0,Ie=!1,pe=!0,ve),keyframes:ke=>{const Tt=q!==ke;return q=ke,Tt&&(ke=>
1{hr&&$r().forEach(Tt=>{const Zt=Tt.effect;if(Zt.setKeyframes)Zt.setKeyframes(ke);else{const In=new KeyframeEffect(Zt.target,ke,Zt.getTiming());Tt.effect=In}})})(q),ve},addAnimation:ke=>{if(null!=ke)if(Array.isArray(ke))for(const Tt of ke)Tt.parent(ve),Ce.push(Tt);else ke.parent(ve),Ce.push(ke);return ve},addElement:ke=>{if(null!=ke)if(1===ke.nodeType)se.push(ke);else if(ke.length>=0)for(let Tt=0;Tt<ke.length;Tt++)se.push(ke[Tt]);else console.error("Invalid addElement value");return ve},update:Qr,fill:ke=>(le=ke,Qr(!0),ve),direction:ke=>(W=ke,Qr(!0),ve),iterations:ke=>(U=ke,Qr(!0),ve),duration:ke=>(!hr&&0===ke&&(ke=1),V=ke,Qr(!0),ve),easing:ke=>(L=ke,Qr(!0),ve),delay:ke=>(H=ke,Qr(!0),ve),getWebAnimations:$r,getKeyframes:()=>q,getFill:Un,getDirection:nt,getDelay:ti,getIterations:Jr,getEasing:Bn,getDuration:_r,afterAddRead:ke=>(jt.push(ke),ve),afterAddWrite:ke=>(jn.push(ke),ve),afterClearStyles:(ke=[])=>{for(const Tt of ke)Pe[Tt]="";return ve},afterStyles:(ke={})=>(Pe=ke,ve),afterRemoveClass:ke=>($e=x($e,ke),ve),afterAddClass:ke=>(Me=x(Me,ke),ve),beforeAddRead:ke=>(pt.push(ke),ve),beforeAddWrite:ke=>(ct.push(ke),ve),beforeClearStyles:(ke=[])=>{for(const Tt of ke)he[Tt]="";return ve},beforeStyles:(ke={})=>(he=ke,ve),beforeRemoveClass:ke=>(ue=x(ue,ke),ve),beforeAddClass:ke=>(we=x(we,ke),ve),onFinish:Ot,isRunning:()=>0!==Re&&!ze,progressStart:(ke=!1,Tt)=>(Ce.forEach(Zt=>{Zt.progressStart(ke,Tt)}),hi(),it=ke,Ie||Oo(),Qr(!1,!0,Tt),ve),progressStep:ke=>(Ce.forEach(Tt=>{Tt.progressStep(ke)}),to(ke),ve),progressEnd:(ke,Tt,Zt)=>(it=!1,Ce.forEach(In=>{In.progressEnd(ke,Tt,Zt)}),void 0!==Zt&&(Ae=Zt),ce=!1,z=!0,0===ke?(We="reverse"===nt()?"normal":"reverse","reverse"===We&&(z=!1),hr?(Qr(),to(1-Tt)):(k=(1-Tt)*_r()*-1,Qr(!1,!1))):1===ke&&(hr?(Qr(),to(Tt)):(k=Tt*_r()*-1,Qr(!1,!1))),void 0!==ke&&!ge&&Po(),ve)}}},464:(wt,Se,u)=>{"use strict";u.d(Se,{E:()=>L,a:()=>a,s:()=>H});const a=U=>{try{if(U instanceof B)return U.value;if(!T()||"string"!=typeof U||""===U)return U;if(U.includes("onload="))return"";const le=document.createDocumentFragment(),W=document.createElement("div");le.appendChild(W),W.innerHTML=U,F.forEach(Ie=>{const ge=le.querySelectorAll(Ie);for(let he=ge.length-1;he>=0;he--){const Me=ge[he];Me.parentNode?Me.parentNode.removeChild(Me):le.removeChild(Me);const $e=w(Me);for(let Pe=0;Pe<$e.length;Pe++)s($e[Pe])}});const q=w(le);for(let Ie=0;Ie<q.length;Ie++)s(q[Ie]);const we=document.createElement("div");we.appendChild(le);const ue=we.querySelector("div");return null!==ue?ue.innerHTML:we.innerHTML}catch(le){return console.error(le),""}},s=U=>{if(U.nodeType&&1!==U.nodeType)return;if(typeof NamedNodeMap<"u"&&!(U.attributes instanceof NamedNodeMap))return void U.remove();for(let W=U.attributes.length-1;W>=0;W--){const q=U.attributes.item(W),we=q.name;if(!x.includes(we.toLowerCase())){U.removeAttribute(we);continue}const ue=q.value,Ie=U[we];(null!=ue&&ue.toLowerCase().includes("javascript:")||null!=Ie&&Ie.toLowerCase().includes("javascript:"))&&U.removeAttribute(we)}const le=w(U);for(let W=0;W<le.length;W++)s(le[W])},w=U=>null!=U.children?U.children:U.childNodes,T=()=>{var U;const le=window,W=null===(U=null==le?void 0:le.Ionic)||void 0===U?void 0:U.config;return!W||(W.get?W.get("sanitizerEnabled",!0):!0===W.sanitizerEnabled||void 0===W.sanitizerEnabled)},x=["class","id","href","src","name","slot"],F=["script","style","iframe","meta","link","object","embed"];class B{constructor(le){this.value=le}}const H=U=>{const le=window,W=le.Ionic;if(!W||!W.config||"Object"===W.config.constructor.name)return le.Ionic=le.Ionic||{},le.Ionic.config=Object.assign(Object.assign({},le.Ionic.config),U),le.Ionic.config},L=!1},8621:(wt,Se,u)=>{"use strict";u.d(Se,{C:()=>x,a:()=>w,d:()=>T});var a=u(467),s=u(4920);const w=function(){var F=(0,a.A)(function*(B,H,V,L,U,le){var W;if(B)return B.attachViewToDom(H,V,U,L);if(!(le||"string"==typeof V||V instanceof HTMLElement))throw new Error("framework delegate is missing");const q="string"==typeof V?null===(W=H.ownerDocument)||void 0===W?void 0:W.createElement(V):V;return L&&L.forEach(we=>q.classList.add(we)),U&&Object.assign(q,U),H.appendChild(q),yield new Promise(we=>(0,s.c)(q,we)),q});return function(H,V,L,U,le,W){return F.apply(this,arguments)}}(),T=(F,B)=>
1{if(B){if(F)return F.removeViewFromDom(B.parentElement,B);B.remove()}return Promise.resolve()},x=()=>{let F,B;return{attachViewToDom:function(){var L=(0,a.A)(function*(U,le,W={},q=[]){var we,ue;let Ie;if(F=U,le){const he="string"==typeof le?null===(we=F.ownerDocument)||void 0===we?void 0:we.createElement(le):le;q.forEach(Me=>he.classList.add(Me)),Object.assign(he,W),F.appendChild(he),Ie=he,yield new Promise(Me=>(0,s.c)(he,Me))}else if(F.children.length>0&&("ION-MODAL"===F.tagName||"ION-POPOVER"===F.tagName)&&!(Ie=F.children[0]).classList.contains("ion-delegate-host")){const Me=null===(ue=F.ownerDocument)||void 0===ue?void 0:ue.createElement("div");Me.classList.add("ion-delegate-host"),q.forEach($e=>Me.classList.add($e)),Me.append(...F.children),F.appendChild(Me),Ie=Me}const ge=document.querySelector("ion-app")||document.body;return B=document.createComment("ionic teleport"),F.parentNode.insertBefore(B,F),ge.appendChild(F),null!=Ie?Ie:F});return function(le,W){return L.apply(this,arguments)}}(),removeViewFromDom:()=>(F&&B&&(B.parentNode.insertBefore(F,B),B.remove()),Promise.resolve())}}},1970:(wt,Se,u)=>{"use strict";u.d(Se,{B:()=>T,G:()=>x});class s{constructor(B,H,V,L,U){this.id=H,this.name=V,this.disableScroll=U,this.priority=1e6*L+H,this.ctrl=B}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const B=this.ctrl.capture(this.name,this.id,this.priority);return B&&this.disableScroll&&this.ctrl.disableScroll(this.id),B}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class w{constructor(B,H,V,L){this.id=H,this.disable=V,this.disableScroll=L,this.ctrl=B}block(){if(this.ctrl){if(this.disable)for(const B of this.disable)this.ctrl.disableGesture(B,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const B of this.disable)this.ctrl.enableGesture(B,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const T="backdrop-no-scroll",x=new class a{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(B){var H;return new s(this,this.newID(),B.name,null!==(H=B.priority)&&void 0!==H?H:0,!!B.disableScroll)}createBlocker(B={}){return new w(this,this.newID(),B.disable,!!B.disableScroll)}start(B,H,V){return this.canStart(B)?(this.requestedStart.set(H,V),!0):(this.requestedStart.delete(H),!1)}capture(B,H,V){if(!this.start(B,H,V))return!1;const L=this.requestedStart;let U=-1e4;if(L.forEach(le=>{U=Math.max(U,le)}),U===V){this.capturedId=H,L.clear();const le=new CustomEvent("ionGestureCaptured",{detail:{gestureName:B}});return document.dispatchEvent(le),!0}return L.delete(H),!1}release(B){this.requestedStart.delete(B),this.capturedId===B&&(this.capturedId=void 0)}disableGesture(B,H){let V=this.disabledGestures.get(B);void 0===V&&(V=new Set,this.disabledGestures.set(B,V)),V.add(H)}enableGesture(B,H){const V=this.disabledGestures.get(B);void 0!==V&&V.delete(H)}disableScroll(B){this.disabledScroll.add(B),1===this.disabledScroll.size&&document.body.classList.add(T)}enableScroll(B){this.disabledScroll.delete(B),0===this.disabledScroll.size&&document.body.classList.remove(T)}canStart(B){return!(void 0!==this.capturedId||this.isDisabled(B))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(B){const H=this.disabledGestures.get(B);return!!(H&&H.size>0)}newID(){return this.gestureId++,this.gestureId}}},8669:(wt,Se,u)=>{"use strict";u.r(Se),u.d(Se,{MENU_BACK_BUTTON_PRIORITY:()=>V,OVERLAY_BACK_BUTTON_PRIORITY:()=>H,blockHardwareBackButton:()=>F,shouldUseCloseWatcher:()=>x,startHardwareBackButton:()=>B});var a=u(467),s=u(8476),w=u(4921);u(8393);const x=()=>w.c.get("experimentalCloseWatcher",!1)&&void 0!==s.w&&"CloseWatcher"in s.w,F=()=>{document.addEventListener("backbutton",()=>{})},B=()=>{const L=document;let U=!1;const le=()=>{if(U)return;let W=0,q=[];const we=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(ge,he){q.push({priority:ge,handler:he,id:W++})}}});L.dispatchEvent(we);const ue=function(){var ge=(0,a.A)(function*(he){try{if(null!=he&&he.handler){const Me=he.handler(Ie);null!=Me&&(yield Me)}}catch(Me){console.error(Me)}});return function(Me){return ge.apply(this,arguments)}}(),Ie=()=>{if(q.length>0){let ge={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};q.forEach(he=>{he.priority>=ge.priority&&(ge=he)}),U=!0,q=q.filter(he=>he.id!==ge.id),ue(ge).then(()=>U=!1)}};Ie()};if(x()){let W;const q=()=>{null==W||W.destroy(),W=new s.w.CloseWatcher,W.onclose=()=>{le(),q()}};q()}else L.addEventListener("backbutton",le)},H=100,V=99},4920:(wt,Se,u)=>{"use strict";u.d(Se,{a:()=>H,b:()=>V,c:()=>w,d:()=>q,e:()=>he,f:()=>W,g:()=>L,h:()=>x,i:()=>B,j:()=>we,k:()=>T,l:()=>le,m:()=>ue,n:()=>ge,o:()=>Me,p:()=>Ie,r:()=>U,s:()=>$e,t:()=>a});const a=(Pe,Re=0)=>new Promise(it=>{s(Pe,Re,it)}),s=(Pe,Re=0,it)=>{let Be,We;const Ae={passive:!0},z=()=>{Be&&Be()},ce=pe=>
1{(void 0===pe||Pe===pe.target)&&(z(),it(pe))};return Pe&&(Pe.addEventListener("webkitTransitionEnd",ce,Ae),Pe.addEventListener("transitionend",ce,Ae),We=setTimeout(ce,Re+500),Be=()=>{void 0!==We&&(clearTimeout(We),We=void 0),Pe.removeEventListener("webkitTransitionEnd",ce,Ae),Pe.removeEventListener("transitionend",ce,Ae)}),z},w=(Pe,Re)=>{Pe.componentOnReady?Pe.componentOnReady().then(it=>Re(it)):U(()=>Re(Pe))},T=Pe=>void 0!==Pe.componentOnReady,x=(Pe,Re=[])=>{const it={};return Re.forEach(Be=>{Pe.hasAttribute(Be)&&(null!==Pe.getAttribute(Be)&&(it[Be]=Pe.getAttribute(Be)),Pe.removeAttribute(Be))}),it},F=["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"],B=(Pe,Re)=>{let it=F;return Re&&Re.length>0&&(it=it.filter(Be=>!Re.includes(Be))),x(Pe,it)},H=(Pe,Re,it,Be)=>{var We;if(typeof window<"u"){const Ae=window,k=null===(We=null==Ae?void 0:Ae.Ionic)||void 0===We?void 0:We.config;if(k){const z=k.get("_ael");if(z)return z(Pe,Re,it,Be);if(k._ael)return k._ael(Pe,Re,it,Be)}}return Pe.addEventListener(Re,it,Be)},V=(Pe,Re,it,Be)=>{var We;if(typeof window<"u"){const Ae=window,k=null===(We=null==Ae?void 0:Ae.Ionic)||void 0===We?void 0:We.config;if(k){const z=k.get("_rel");if(z)return z(Pe,Re,it,Be);if(k._rel)return k._rel(Pe,Re,it,Be)}}return Pe.removeEventListener(Re,it,Be)},L=(Pe,Re=Pe)=>Pe.shadowRoot||Re,U=Pe=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(Pe):"function"==typeof requestAnimationFrame?requestAnimationFrame(Pe):setTimeout(Pe),le=Pe=>!!Pe.shadowRoot&&!!Pe.attachShadow,W=Pe=>{if(Pe.focus(),Pe.classList.contains("ion-focusable")){const Re=Pe.closest("ion-app");Re&&Re.setFocus([Pe])}},q=(Pe,Re,it,Be,We)=>{if(Pe||le(Re)){let Ae=Re.querySelector("input.aux-input");Ae||(Ae=Re.ownerDocument.createElement("input"),Ae.type="hidden",Ae.classList.add("aux-input"),Re.appendChild(Ae)),Ae.disabled=We,Ae.name=it,Ae.value=Be||""}},we=(Pe,Re,it)=>Math.max(Pe,Math.min(Re,it)),ue=(Pe,Re)=>{if(!Pe){const it="ASSERT: "+Re;throw console.error(it),new Error(it)}},Ie=Pe=>{if(Pe){const Re=Pe.changedTouches;if(Re&&Re.length>0){const it=Re[0];return{x:it.clientX,y:it.clientY}}if(void 0!==Pe.pageX)return{x:Pe.pageX,y:Pe.pageY}}return{x:0,y:0}},ge=Pe=>{const Re="rtl"===document.dir;switch(Pe){case"start":return Re;case"end":return!Re;default:throw new Error(`"${Pe}" is not a valid value for [side]. Use "start" or "end" instead.`)}},he=(Pe,Re)=>{const it=Pe._original||Pe;return{_original:Pe,emit:Me(it.emit.bind(it),Re)}},Me=(Pe,Re=0)=>{let it;return(...Be)=>{clearTimeout(it),it=setTimeout(Pe,Re,...Be)}},$e=(Pe,Re)=>{if(null!=Pe||(Pe={}),null!=Re||(Re={}),Pe===Re)return!0;const it=Object.keys(Pe);if(it.length!==Object.keys(Re).length)return!1;for(const Be of it)if(!(Be in Re)||Pe[Be]!==Re[Be])return!1;return!0}},8607:(wt,Se,u)=>{"use strict";u.r(Se),u.d(Se,{GESTURE_CONTROLLER:()=>a.G,createGesture:()=>V});var a=u(1970);const s=(W,q,we,ue)=>{const Ie=w(W)?{capture:!!ue.capture,passive:!!ue.passive}:!!ue.capture;let ge,he;return W.__zone_symbol__addEventListener?(ge="__zone_symbol__addEventListener",he="__zone_symbol__removeEventListener"):(ge="addEventListener",he="removeEventListener"),W[ge](q,we,Ie),()=>{W[he](q,we,Ie)}},w=W=>{if(void 0===T)try{const q=Object.defineProperty({},"passive",{get:()=>{T=!0}});W.addEventListener("optsTest",()=>{},q)}catch(q){T=!1}return!!T};let T;const B=W=>W instanceof Document?W:W.ownerDocument,V=W=>{let q=!1,we=!1,ue=!0,Ie=!1;const ge=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},W),he=ge.canStart,Me=ge.onWillStart,$e=ge.onStart,Pe=ge.onEnd,Re=ge.notCaptured,it=ge.onMove,Be=ge.threshold,We=ge.passive,Ae=ge.blurOnStart,k={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},z=((W,q,we)=>{const ue=we*(Math.PI/180),Ie="x"===W,ge=Math.cos(ue),he=q*q;let Me=0,$e=0,Pe=!1,Re=0;return{start(it,Be){Me=it,$e=Be,Re=0,Pe=!0},detect(it,Be){if(!Pe)return!1;const We=it-Me,Ae=Be-$e,k=We*We+Ae*Ae;if(k<he)return!1;const z=Math.sqrt(k),ce=(Ie?We:Ae)/z;return Re=ce>ge?1:ce<-ge?-1:0,Pe=!1,!0},isGesture:()=>0!==Re,getDirection:()=>Re}}
1)(ge.direction,ge.threshold,ge.maxAngle),ce=a.G.createGesture({name:W.gestureName,priority:W.gesturePriority,disableScroll:W.disableScroll}),ze=()=>{q&&(Ie=!1,it&&it(k))},fe=()=>!!ce.capture()&&(q=!0,ue=!1,k.startX=k.currentX,k.startY=k.currentY,k.startTime=k.currentTime,Me?Me(k).then(ee):ee(),!0),ee=()=>{Ae&&(()=>{if(typeof document<"u"){const pt=document.activeElement;null!=pt&&pt.blur&&pt.blur()}})(),$e&&$e(k),ue=!0},$=()=>{q=!1,we=!1,Ie=!1,ue=!0,ce.release()},se=pt=>{const ct=q,jt=ue;if($(),jt){if(L(k,pt),ct)return void(Pe&&Pe(k));Re&&Re(k)}},Ce=((W,q,we,ue,Ie)=>{let ge,he,Me,$e,Pe,Re,it,Be=0;const We=de=>{Be=Date.now()+2e3,q(de)&&(!he&&we&&(he=s(W,"touchmove",we,Ie)),Me||(Me=s(de.target,"touchend",k,Ie)),$e||($e=s(de.target,"touchcancel",k,Ie)))},Ae=de=>{Be>Date.now()||q(de)&&(!Re&&we&&(Re=s(B(W),"mousemove",we,Ie)),it||(it=s(B(W),"mouseup",z,Ie)))},k=de=>{ce(),ue&&ue(de)},z=de=>{pe(),ue&&ue(de)},ce=()=>{he&&he(),Me&&Me(),$e&&$e(),he=Me=$e=void 0},pe=()=>{Re&&Re(),it&&it(),Re=it=void 0},ve=()=>{ce(),pe()},ze=(de=!0)=>{de?(ge||(ge=s(W,"touchstart",We,Ie)),Pe||(Pe=s(W,"mousedown",Ae,Ie))):(ge&&ge(),Pe&&Pe(),ge=Pe=void 0,ve())};return{enable:ze,stop:ve,destroy:()=>{ze(!1),ue=we=q=void 0}}})(ge.el,pt=>{const ct=le(pt);return!(we||!ue||(U(pt,k),k.startX=k.currentX,k.startY=k.currentY,k.startTime=k.currentTime=ct,k.velocityX=k.velocityY=k.deltaX=k.deltaY=0,k.event=pt,he&&!1===he(k))||(ce.release(),!ce.start()))&&(we=!0,0===Be?fe():(z.start(k.startX,k.startY),!0))},pt=>{q?!Ie&&ue&&(Ie=!0,L(k,pt),requestAnimationFrame(ze)):(L(k,pt),z.detect(k.currentX,k.currentY)&&(!z.isGesture()||!fe())&&at())},se,{capture:!1,passive:We}),at=()=>{$(),Ce.stop(),Re&&Re(k)};return{enable(pt=!0){pt||(q&&se(void 0),$()),Ce.enable(pt)},destroy(){ce.destroy(),Ce.destroy()}}},L=(W,q)=>{if(!q)return;const we=W.currentX,ue=W.currentY,Ie=W.currentTime;U(q,W);const ge=W.currentX,he=W.currentY,$e=(W.currentTime=le(q))-Ie;if($e>0&&$e<100){const Re=(he-ue)/$e;W.velocityX=(ge-we)/$e*.7+.3*W.velocityX,W.velocityY=.7*Re+.3*W.velocityY}W.deltaX=ge-W.startX,W.deltaY=he-W.startY,W.event=q},U=(W,q)=>{let we=0,ue=0;if(W){const Ie=W.changedTouches;if(Ie&&Ie.length>0){const ge=Ie[0];we=ge.clientX,ue=ge.clientY}else void 0!==W.pageX&&(we=W.pageX,ue=W.pageY)}q.currentX=we,q.currentY=ue},le=W=>W.timeStamp||Date.now()},6073:(wt,Se,u)=>{"use strict";u.d(Se,{m:()=>W});var a=u(467),s=u(8476),w=u(8669),T=u(4929),x=u(4920),F=u(4921),B=u(9986);const H=q=>(0,B.c)().duration(q?400:300),V=q=>{let we,ue;const Ie=q.width+8,ge=(0,B.c)(),he=(0,B.c)();q.isEndSide?(we=Ie+"px",ue="0px"):(we=-Ie+"px",ue="0px"),ge.addElement(q.menuInnerEl).fromTo("transform",`translateX(${we})`,`translateX(${ue})`);const $e="ios"===(0,F.b)(q),Pe=$e?.2:.25;return he.addElement(q.backdropEl).fromTo("opacity",.01,Pe),H($e).addAnimation([ge,he])},L=q=>{let we,ue;const Ie=(0,F.b)(q),ge=q.width;q.isEndSide?(we=-ge+"px",ue=ge+"px"):(we=ge+"px",ue=-ge+"px");const he=(0,B.c)().addElement(q.menuInnerEl).fromTo("transform",`translateX(${ue})`,"translateX(0px)"),Me=(0,B.c)().addElement(q.contentEl).fromTo("transform","translateX(0px)",`translateX(${we})`),$e=(0,B.c)().addElement(q.backdropEl).fromTo("opacity",.01,.32);return H("ios"===Ie).addAnimation([he,Me,$e])},U=q=>{const we=(0,F.b)(q),ue=q.width*(q.isEndSide?-1:1)+"px",Ie=(0,B.c)().addElement(q.contentEl).fromTo("transform","translateX(0px)",`translateX(${ue})`);return H("ios"===we).addAnimation(Ie)},W=(()=>{const q=new Map,we=[],ue=function(){var $=(0,a.A)(function*(se){const Ce=yield Re(se,!0);return!!Ce&&Ce.open()});return function(Ce){return $.apply(this,arguments)}}(),Ie=function(){var $=(0,a.A)(function*(se){const Ce=yield void 0!==se?Re(se,!0):it();return void 0!==Ce&&Ce.close()});return function(Ce){return $.apply(this,arguments)}}(),ge=function(){var $=(0,a.A)(function*(se){const Ce=yield Re(se,!0);return!!Ce&&Ce.toggle()});return function(Ce){return $.apply(this,arguments)}}(),he=function(){var $=(0,a.A)(function*(se,Ce){const at=yield Re(Ce);return at&&(at.disabled=!se),at});return function(Ce,at){return $.apply(this,arguments)}}(),Me=function(){var $=(0,a.A)(function*(se,Ce){const at=yield Re(Ce);
1return at&&(at.swipeGesture=se),at});return function(Ce,at){return $.apply(this,arguments)}}(),$e=function(){var $=(0,a.A)(function*(se){if(null!=se){const Ce=yield Re(se);return void 0!==Ce&&Ce.isOpen()}return void 0!==(yield it())});return function(Ce){return $.apply(this,arguments)}}(),Pe=function(){var $=(0,a.A)(function*(se){const Ce=yield Re(se);return!!Ce&&!Ce.disabled});return function(Ce){return $.apply(this,arguments)}}(),Re=function(){var $=(0,a.A)(function*(se,Ce=!1){if(yield ee(),"start"===se||"end"===se){const pt=we.filter(jt=>jt.side===se&&!jt.disabled);if(pt.length>=1)return pt.length>1&&Ce&&(0,T.p)(`menuController queried for a menu on the "${se}" side, but ${pt.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.`,pt.map(jt=>jt.el)),pt[0].el;const ct=we.filter(jt=>jt.side===se);if(ct.length>=1)return ct.length>1&&Ce&&(0,T.p)(`menuController queried for a menu on the "${se}" side, but ${ct.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.`,ct.map(jt=>jt.el)),ct[0].el}else if(null!=se)return de(pt=>pt.menuId===se);return de(pt=>!pt.disabled)||(we.length>0?we[0].el:void 0)});return function(Ce){return $.apply(this,arguments)}}(),it=function(){var $=(0,a.A)(function*(){return yield ee(),ve()});return function(){return $.apply(this,arguments)}}(),Be=function(){var $=(0,a.A)(function*(){return yield ee(),ze()});return function(){return $.apply(this,arguments)}}(),We=function(){var $=(0,a.A)(function*(){return yield ee(),fe()});return function(){return $.apply(this,arguments)}}(),Ae=($,se)=>{q.set($,se)},ce=function(){var $=(0,a.A)(function*(se,Ce,at){if(fe())return!1;if(Ce){const pt=yield it();pt&&se.el!==pt&&(yield pt.setOpen(!1,!1))}return se._setOpen(Ce,at)});return function(Ce,at,pt){return $.apply(this,arguments)}}(),ve=()=>de($=>$._isOpen),ze=()=>we.map($=>$.el),fe=()=>we.some($=>$.isAnimating),de=$=>{const se=we.find($);if(void 0!==se)return se.el},ee=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map($=>new Promise(se=>(0,x.c)($,se))));return Ae("reveal",U),Ae("push",L),Ae("overlay",V),null==s.d||s.d.addEventListener("ionBackButton",$=>{const se=ve();se&&$.detail.register(w.MENU_BACK_BUTTON_PRIORITY,()=>se.close())}),{registerAnimation:Ae,get:Re,getMenus:Be,getOpen:it,isEnabled:Pe,swipeGesture:Me,isAnimating:We,isOpen:$e,enable:he,toggle:ge,close:Ie,open:ue,_getOpenSync:ve,_createAnimation:($,se)=>{const Ce=q.get($);if(!Ce)throw new Error("animation not registered");return Ce(se)},_register:$=>{we.indexOf($)<0&&we.push($)},_unregister:$=>{const se=we.indexOf($);se>-1&&we.splice(se,1)},_setOpen:ce}})()},8393:(wt,Se,u)=>{"use strict";u.d(Se,{B:()=>F,a:()=>pe,b:()=>Ea,c:()=>Un,d:()=>Jr,e:()=>jt,f:()=>dn,g:()=>nt,h:()=>Er,i:()=>_r,j:()=>Tr,k:()=>mn,r:()=>V,w:()=>jn});var a=u(467);var T=Object.defineProperty,F={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},B=new WeakMap,H=ye=>B.get(ye),V=(ye,Ve)=>B.set(Ve.$lazyInstance$=ye,Ve),U=(ye,Ve)=>Ve in ye,le=(ye,Ve)=>(0,console.error)(ye,Ve),W=new Map,we=new Map,ue=[],$e="s-id",Pe="sty-id",Be="slot-fb{display:contents}slot-fb[hidden]{display:none}",We="http://www.w3.org/1999/xlink",Ae=typeof window<"u"?window:{},k=Ae.document||{head:{}},ce={$flags$:0,$resourcesUrl$:"",jmp:ye=>ye(),raf:ye=>requestAnimationFrame(ye),ael:(ye,Ve,_t,Mt)=>ye.addEventListener(Ve,_t,Mt),rel:(ye,Ve,_t,Mt)=>ye.removeEventListener(Ve,_t,Mt),ce:(ye,Ve)=>new CustomEvent(ye,Ve)},pe=ye=>{Object.assign(ce,ye)},ze=(()=>{let ye=!1;try{k.addEventListener("e",null,Object.defineProperty({},"passive",{get(){ye=!0}}))}catch(Ve){}return ye})(),de=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(ye){}return!1})(),ee=!1,$=[],se=[],Ce=(ye,Ve)=>_t=>{ye.push(_t),ee||(ee=!0,Ve&&4&ce.$flags$?ct(pt):ce.raf(pt))},at=ye=>{for(let Ve=0;Ve<ye.length;Ve++)try{ye[Ve](performance.now())}catch(_t){le(_t)}ye.length=0},pt=()=>{at($),at(se),(ee=$.length>0)&&ce.raf(pt)},ct=ye=>Promise.resolve(void 0).then(ye),jt=Ce($,!1),jn=Ce(se,!0),mn=ye=>{const Ve=new URL(ye,ce.$resourcesUrl$);return Ve.origin!==Ae.location.origin?Ve.href:Ve.pathname},lr={},Fn=ye=>"object"==(ye=typeof ye)||"function"===ye;function cr(ye){var Ve,_t,Mt;return null!=(Mt=null==(_t=null==(Ve=ye.head)?void 0:Ve.querySelector('meta[name="csp-nonce"]'))?void 0:_t.getAttribute("content"))?Mt:void 0}((ye,Ve)=>{for(var _t in Ve)T(ye,_t,{get:Ve[_t],enumerable:!0})})({},{err:()=>ht,map:()=>Ot,ok:()=>Qn,unwrap:()=>It,unwrapErr:()=>Kt});var Qn=ye=>({isOk:!0,isErr:!1,value:ye}),ht=ye=>({isOk:!1,isErr:!0,value:ye});function Ot(ye,Ve){if(ye.isOk){const _t=Ve(ye.value);return _t instanceof Promise?_t.then(Mt=>Qn(Mt)):Qn(_t)}if(ye.isErr)return ht(ye.value);throw"should never get here"}var It=ye=>{if(ye.isOk)return ye.value;throw ye.value},Kt=ye=>{if(ye.isErr)return ye.value;throw ye.value},Er=(ye,Ve,..._t)=>{let Mt=null,Ft=null,$t=null,bn=!1,xn=!1;const ln=[],An=Cr=>{for(let Or=0;Or<Cr.length;Or++)Mt=Cr[Or],Array.isArray(Mt)?An(Mt):null!=Mt&&"boolean"!=typeof Mt&&((bn="function"!=typeof ye&&!Fn(Mt))&&(Mt=String(Mt)),bn&&xn?ln[ln.length-1].$text$+=Mt:ln.push(bn?$n(null,Mt):Mt),xn=bn)};if(An(_t),Ve){Ve.key&&(Ft=Ve.key),Ve.name&&($t=Ve.name);{const Cr=Ve.className||Ve.class;Cr&&(Ve.class="object"!=typeof Cr?Cr:Object.keys(Cr).filter(Or=>Cr[Or]).join(" "))}}if("function"==typeof ye)return ye(null===Ve?{}:Ve,ln,ei);const pr=$n(ye,null);return pr.$attrs$=Ve,ln.length>0&&(pr.$children$=ln),pr.$key$=Ft,pr.$name$=$t,pr},$n=(ye,Ve)=>({$flags$:0,$tag$:ye,$text$:Ve,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),dn={},ei={forEach:(ye,Ve)=>ye.map(wr).forEach(Ve),map:(ye,Ve)=>ye.map(wr).map(Ve).map(Yr)},wr=ye=>({vattrs:ye.$attrs$,vchildren:ye.$children$,vkey:ye.$key$,vname:ye.$name$,vtag:ye.$tag$,vtext:ye.$text$}),Yr=ye=>{if("function"==typeof ye.vtag){const _t={...ye.vattrs};return ye.vkey&&(_t.key=ye.vkey),ye.vname&&(_t.name=ye.vname),Er(ye.vtag,_t,...ye.vchildren||[])}const Ve=$n(ye.vtag,ye.vtext);return Ve.$attrs$=ye.vattrs,Ve.$children$=ye.vchildren,Ve.$key$=ye.vkey,Ve.$name$=ye.vname,Ve},mi=(ye,Ve,_t,Mt,Ft,$t,bn)=>{let xn,ln,An,pr;if(1===$t.nodeType){for(xn=$t.getAttribute("c-id"),xn&&(ln=xn.split("."),(ln[0]===bn||"0"===ln[0])&&(An={$flags$:0,$hostId$:ln[0],$nodeId$:ln[1],$depth$:ln[2],$index$:ln[3],$tag$:$t.tagName.toLowerCase(),$elm$:$t,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},Ve.push(An),$t.removeAttribute("c-id"),ye.$children$||(ye.$children$=[]),ye.$children$[An.$index$]=An,ye=An,Mt&&"0"===An.$depth$&&(Mt[An.$index$]=An.$elm$))),pr=$t.childNodes.length-1;pr>=0;pr--)mi(ye,Ve,_t,Mt,Ft,$t.childNodes[pr],bn);if($t.shadowRoot)for(pr=$t.shadowRoot.childNodes.length-1;pr>=0;pr--)mi(ye,Ve,_t,Mt,Ft,$t.shadowRoot.childNodes[pr],bn)}else if(8===$t.nodeType)ln=$t.nodeValue.split("."),(ln[1]===bn||"0"===ln[1])&&(xn=ln[0],An={$flags$:0,$hostId$:ln[1],$nodeId$:ln[2],$depth$:ln[3],$index$:ln[4],$elm$:$t,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===xn?(An.$elm$=$t.nextSibling,An.$elm$&&3===An.$elm$.nodeType&&(An.$text$=An.$elm$.textContent,Ve.push(An),$t.remove(),ye.$children$||(ye.$children$=[]),ye.$children$[An.$index$]=An,Mt&&"0"===An.$depth$&&(Mt[An.$index$]=An.$elm$))):An.$hostId$===bn&&("s"===xn?(An.$tag$="slot",$t["s-sn"]=ln[5]?An.$name$=ln[5]:"",$t["s-sr"]=!0,Mt&&(An.$elm$=k.createElement(An.$tag$),An.$name$&&An.$elm$.setAttribute("name",An.$name$),$t.parentNode.insertBefore(An.$elm$,$t),$t.remove(),"0"===An.$depth$&&(Mt[An.$index$]=An.$elm$)),_t.push(An),ye.$children$||(ye.$children$=[]),ye.$children$[An.$index$]=An):"r"===xn&&(Mt?$t.remove():(Ft["s-cr"]=$t,$t["s-cn"]=!0))));else if(ye&&"style"===ye.$tag$){const Cr=$n(null,$t.textContent);Cr.$elm$=$t,Cr.$index$="0",ye.$children$=[Cr]}},Lt=(ye,Ve)=>{if(1===ye.nodeType){let _t=0;for(;_t<ye.childNodes.length;_t++)Lt(ye.childNodes[_t],Ve);
1if(ye.shadowRoot)for(_t=0;_t<ye.shadowRoot.childNodes.length;_t++)Lt(ye.shadowRoot.childNodes[_t],Ve)}else if(8===ye.nodeType){const _t=ye.nodeValue.split(".");"o"===_t[0]&&(Ve.set(_t[1]+"."+_t[2],ye),ye.nodeValue="",ye["s-en"]=_t[3])}},Un=ye=>ue.push(ye),nt=ye=>H(ye).$modeName$,_r=ye=>H(ye).$hostElement$,Jr=(ye,Ve,_t)=>{const Mt=_r(ye);return{emit:Ft=>ti(Mt,Ve,{bubbles:!!(4&_t),composed:!!(2&_t),cancelable:!!(1&_t),detail:Ft})}},ti=(ye,Ve,_t)=>{const Mt=ce.ce(Ve,_t);return ye.dispatchEvent(Mt),Mt},ui=new WeakMap,_i=(ye,Ve,_t)=>{let Mt=we.get(ye);de&&_t?(Mt=Mt||new CSSStyleSheet,"string"==typeof Mt?Mt=Ve:Mt.replaceSync(Ve)):Mt=Ve,we.set(ye,Mt)},eo=(ye,Ve,_t)=>{var Mt;const Ft=Rt(Ve,_t),$t=we.get(Ft);if(ye=11===ye.nodeType?ye:k,$t)if("string"==typeof $t){let xn,bn=ui.get(ye=ye.head||ye);if(bn||ui.set(ye,bn=new Set),!bn.has(Ft)){if(ye.host&&(xn=ye.querySelector(`[${Pe}="${Ft}"]`)))xn.innerHTML=$t;else{xn=k.createElement("style"),xn.innerHTML=$t;const ln=null!=(Mt=ce.$nonce$)?Mt:cr(k);null!=ln&&xn.setAttribute("nonce",ln),ye.insertBefore(xn,ye.querySelector("link"))}4&Ve.$flags$&&(xn.innerHTML+=Be),bn&&bn.add(Ft)}}else ye.adoptedStyleSheets.includes($t)||(ye.adoptedStyleSheets=[...ye.adoptedStyleSheets,$t]);return Ft},Rt=(ye,Ve)=>"sc-"+(Ve&&32&ye.$flags$?ye.$tagName$+"-"+Ve:ye.$tagName$),tn=ye=>ye.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Pt=(ye,Ve,_t,Mt,Ft,$t)=>{if(_t!==Mt){let bn=U(ye,Ve),xn=Ve.toLowerCase();if("class"===Ve){const ln=ye.classList,An=Nn(_t),pr=Nn(Mt);ln.remove(...An.filter(Cr=>Cr&&!pr.includes(Cr))),ln.add(...pr.filter(Cr=>Cr&&!An.includes(Cr)))}else if("style"===Ve){for(const ln in _t)(!Mt||null==Mt[ln])&&(ln.includes("-")?ye.style.removeProperty(ln):ye.style[ln]="");for(const ln in Mt)(!_t||Mt[ln]!==_t[ln])&&(ln.includes("-")?ye.style.setProperty(ln,Mt[ln]):ye.style[ln]=Mt[ln])}else if("key"!==Ve)if("ref"===Ve)Mt&&Mt(ye);else if(bn||"o"!==Ve[0]||"n"!==Ve[1]){const ln=Fn(Mt);if((bn||ln&&null!==Mt)&&!Ft)try{if(ye.tagName.includes("-"))ye[Ve]=Mt;else{const pr=null==Mt?"":Mt;"list"===Ve?bn=!1:(null==_t||ye[Ve]!=pr)&&(ye[Ve]=pr)}}catch(pr){}let An=!1;xn!==(xn=xn.replace(/^xlink\:?/,""))&&(Ve=xn,An=!0),null==Mt||!1===Mt?(!1!==Mt||""===ye.getAttribute(Ve))&&(An?ye.removeAttributeNS(We,Ve):ye.removeAttribute(Ve)):(!bn||4&$t||Ft)&&!ln&&(Mt=!0===Mt?"":Mt,An?ye.setAttributeNS(We,Ve,Mt):ye.setAttribute(Ve,Mt))}else if(Ve="-"===Ve[2]?Ve.slice(3):U(Ae,xn)?xn.slice(2):xn[2]+Ve.slice(3),_t||Mt){const ln=Ve.endsWith(Sr);Ve=Ve.replace(Ur,""),_t&&ce.rel(ye,Ve,_t,ln),Mt&&ce.ael(ye,Ve,Mt,ln)}}},Gt=/\s/,Nn=ye=>ye?ye.split(Gt):[],Sr="Capture",Ur=new RegExp(Sr+"$"),ii=(ye,Ve,_t)=>{const Mt=11===Ve.$elm$.nodeType&&Ve.$elm$.host?Ve.$elm$.host:Ve.$elm$,Ft=ye&&ye.$attrs$||lr,$t=Ve.$attrs$||lr;for(const bn of Kr(Object.keys(Ft)))bn in $t||Pt(Mt,bn,Ft[bn],void 0,_t,Ve.$flags$);for(const bn of Kr(Object.keys($t)))Pt(Mt,bn,Ft[bn],$t[bn],_t,Ve.$flags$)};function Kr(ye){return ye.includes("ref")?[...ye.filter(Ve=>"ref"!==Ve),"ref"]:ye}var xi,Fi,ao,Oo=!1,to=!1,Fo=!1,Qr=!1,xo=(ye,Ve,_t,Mt)=>{var Ft;const $t=Ve.$children$[_t];let xn,ln,An,bn=0;if(Oo||(Fo=!0,"slot"===$t.$tag$&&(xi&&Mt.classList.add(xi+"-s"),$t.$flags$|=$t.$children$?2:1)),null!==$t.$text$)xn=$t.$elm$=k.createTextNode($t.$text$);else if(1&$t.$flags$)xn=$t.$elm$=k.createTextNode("");else{if(Qr||(Qr="svg"===$t.$tag$),xn=$t.$elm$=k.createElementNS(Qr?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Oo&&2&$t.$flags$?"slot-fb":$t.$tag$),Qr&&"foreignObject"===$t.$tag$&&(Qr=!1),ii(null,$t,Qr),(ye=>null!=ye)(xi)&&xn["s-si"]!==xi&&xn.classList.add(xn["s-si"]=xi),or(xn,Mt),$t.$children$)for(bn=0;bn<$t.$children$.length;++bn)ln=xo(ye,$t,bn,xn),ln&&xn.appendChild(ln);"svg"===$t.$tag$?Qr=!1:"foreignObject"===xn.tagName&&(Qr=!0)}return xn["s-hn"]=ao,3&$t.$flags$&&(xn["s-sr"]=!0,xn["s-cr"]=Fi,xn["s-sn"]=$t.$name$||"",xn["s-rf"]=null==(Ft=$t.$attrs$)?void 0:Ft.ref,An=ye&&ye.$children$&&ye.$children$[_t],An&&An.$tag$===$t.$tag$&&ye.$elm$&&Lo(ye.$elm$)),xn},Lo=ye=>{ce.$flags$|=1;const Ve=ye.closest(ao.toLowerCase());if(null!=Ve){const _t=Array.from(Ve.childNodes).find(Ft=>Ft["s-cr"]),Mt=Array.from(ye.childNodes);for(const Ft of _t?Mt.reverse():Mt)null!=Ft["s-sh"]&&(Zt(Ve,Ft,null!=_t?_t:null),Ft["s-sh"]=void 0,Fo=!0)}ce.$flags$&=-2},vo=(ye,Ve)=>{ce.$flags$|=1;const _t=Array.from(ye.childNodes);if(ye["s-sr"]){let Mt=ye;for(;Mt=Mt.nextSibling;)Mt&&Mt["s-sn"]===ye["s-sn"]&&Mt["s-sh"]===ao&&_t.push(Mt)}for(let Mt=_t.length-1;Mt>=0;Mt--){const Ft=_t[Mt];Ft["s-hn"]!==ao&&Ft["s-ol"]&&(Zt(Po(Ft),Ft,co(Ft)),Ft["s-ol"].remove(),Ft["s-ol"]=void 0,Ft["s-sh"]=void 0,Fo=!0),Ve&&vo(Ft,Ve)}ce.$flags$&=-2},hi=(ye,Ve,_t,Mt,Ft,$t)=>{let xn,bn=ye["s-cr"]&&ye["s-cr"].parentNode||ye;for(bn.shadowRoot&&bn.tagName===ao&&(bn=bn.shadowRoot);Ft<=$t;++Ft)Mt[Ft]&&(xn=xo(null,_t,Ft,ye),xn&&(Mt[Ft].$elm$=xn,Zt(bn,xn,co(Ve))))},no=(ye,Ve,_t)=>{for(let Mt=Ve;Mt<=_t;++Mt){const Ft=ye[Mt];if(Ft){const $t=Ft.$elm$;Tt(Ft),$t&&(to=!0,$t["s-ol"]?$t["s-ol"].remove():vo($t,!0),$t.remove())}}},lo=(ye,Ve,_t=!1)=>ye.$tag$===Ve.$tag$&&("slot"===ye.$tag$?ye.$name$===Ve.$name$:!!_t||ye.$key$===Ve.$key$),co=ye=>ye&&ye["s-ol"]||ye,Po=ye=>
1(ye["s-ol"]?ye["s-ol"]:ye).parentNode,yt=(ye,Ve,_t=!1)=>{const Mt=Ve.$elm$=ye.$elm$,Ft=ye.$children$,$t=Ve.$children$,bn=Ve.$tag$,xn=Ve.$text$;let ln;null===xn?(Qr="svg"===bn||"foreignObject"!==bn&&Qr,"slot"!==bn||Oo?ii(ye,Ve,Qr):ye.$name$!==Ve.$name$&&(Ve.$elm$["s-sn"]=Ve.$name$||"",Lo(Ve.$elm$.parentElement)),null!==Ft&&null!==$t?((ye,Ve,_t,Mt,Ft=!1)=>{let Wi,so,$t=0,bn=0,xn=0,ln=0,An=Ve.length-1,pr=Ve[0],Cr=Ve[An],Or=Mt.length-1,Rr=Mt[0],Gi=Mt[Or];for(;$t<=An&&bn<=Or;)if(null==pr)pr=Ve[++$t];else if(null==Cr)Cr=Ve[--An];else if(null==Rr)Rr=Mt[++bn];else if(null==Gi)Gi=Mt[--Or];else if(lo(pr,Rr,Ft))yt(pr,Rr,Ft),pr=Ve[++$t],Rr=Mt[++bn];else if(lo(Cr,Gi,Ft))yt(Cr,Gi,Ft),Cr=Ve[--An],Gi=Mt[--Or];else if(lo(pr,Gi,Ft))("slot"===pr.$tag$||"slot"===Gi.$tag$)&&vo(pr.$elm$.parentNode,!1),yt(pr,Gi,Ft),Zt(ye,pr.$elm$,Cr.$elm$.nextSibling),pr=Ve[++$t],Gi=Mt[--Or];else if(lo(Cr,Rr,Ft))("slot"===pr.$tag$||"slot"===Gi.$tag$)&&vo(Cr.$elm$.parentNode,!1),yt(Cr,Rr,Ft),Zt(ye,Cr.$elm$,pr.$elm$),Cr=Ve[--An],Rr=Mt[++bn];else{for(xn=-1,ln=$t;ln<=An;++ln)if(Ve[ln]&&null!==Ve[ln].$key$&&Ve[ln].$key$===Rr.$key$){xn=ln;break}xn>=0?(so=Ve[xn],so.$tag$!==Rr.$tag$?Wi=xo(Ve&&Ve[bn],_t,xn,ye):(yt(so,Rr,Ft),Ve[xn]=void 0,Wi=so.$elm$),Rr=Mt[++bn]):(Wi=xo(Ve&&Ve[bn],_t,bn,ye),Rr=Mt[++bn]),Wi&&Zt(Po(pr.$elm$),Wi,co(pr.$elm$))}$t>An?hi(ye,null==Mt[Or+1]?null:Mt[Or+1].$elm$,_t,Mt,bn,Or):bn>Or&&no(Ve,$t,An)})(Mt,Ft,Ve,$t,_t):null!==$t?(null!==ye.$text$&&(Mt.textContent=""),hi(Mt,null,Ve,$t,0,$t.length-1)):null!==Ft&&no(Ft,0,Ft.length-1),Qr&&"svg"===bn&&(Qr=!1)):(ln=Mt["s-cr"])?ln.parentNode.textContent=xn:ye.$text$!==xn&&(Mt.data=xn)},Je=ye=>{const Ve=ye.childNodes;for(const _t of Ve)if(1===_t.nodeType){if(_t["s-sr"]){const Mt=_t["s-sn"];_t.hidden=!1;for(const Ft of Ve)if(Ft!==_t)if(Ft["s-hn"]!==_t["s-hn"]||""!==Mt){if(1===Ft.nodeType&&(Mt===Ft.getAttribute("slot")||Mt===Ft["s-sn"])||3===Ft.nodeType&&Mt===Ft["s-sn"]){_t.hidden=!0;break}}else if(1===Ft.nodeType||3===Ft.nodeType&&""!==Ft.textContent.trim()){_t.hidden=!0;break}}Je(_t)}},Nt=[],je=ye=>{let Ve,_t,Mt;for(const Ft of ye.childNodes){if(Ft["s-sr"]&&(Ve=Ft["s-cr"])&&Ve.parentNode){_t=Ve.parentNode.childNodes;const $t=Ft["s-sn"];for(Mt=_t.length-1;Mt>=0;Mt--)if(Ve=_t[Mt],!(Ve["s-cn"]||Ve["s-nr"]||Ve["s-hn"]===Ft["s-hn"]||Ve["s-sh"]&&Ve["s-sh"]===Ft["s-hn"]))if(ke(Ve,$t)){let bn=Nt.find(xn=>xn.$nodeToRelocate$===Ve);to=!0,Ve["s-sn"]=Ve["s-sn"]||$t,bn?(bn.$nodeToRelocate$["s-sh"]=Ft["s-hn"],bn.$slotRefNode$=Ft):(Ve["s-sh"]=Ft["s-hn"],Nt.push({$slotRefNode$:Ft,$nodeToRelocate$:Ve})),Ve["s-sr"]&&Nt.map(xn=>{ke(xn.$nodeToRelocate$,Ve["s-sn"])&&(bn=Nt.find(ln=>ln.$nodeToRelocate$===Ve),bn&&!xn.$slotRefNode$&&(xn.$slotRefNode$=bn.$slotRefNode$))})}else Nt.some(bn=>bn.$nodeToRelocate$===Ve)||Nt.push({$nodeToRelocate$:Ve})}1===Ft.nodeType&&je(Ft)}},ke=(ye,Ve)=>1===ye.nodeType?null===ye.getAttribute("slot")&&""===Ve||ye.getAttribute("slot")===Ve:ye["s-sn"]===Ve||""===Ve,Tt=ye=>{ye.$attrs$&&ye.$attrs$.ref&&ye.$attrs$.ref(null),ye.$children$&&ye.$children$.map(Tt)},Zt=(ye,Ve,_t)=>{const Mt=null==ye?void 0:ye.insertBefore(Ve,_t);return or(Ve,ye),Mt},In=ye=>{const Ve=[];return ye&&Ve.push(...ye["s-scs"]||[],ye["s-si"],ye["s-sc"],...In(ye.parentElement)),Ve},or=(ye,Ve,_t=!1)=>{var Mt;if(ye&&Ve&&1===ye.nodeType){const Ft=new Set(In(Ve).filter(Boolean));if(Ft.size&&(null==(Mt=ye.classList)||Mt.add(...ye["s-scs"]=[...Ft]),ye["s-ol"]||_t))for(const $t of Array.from(ye.childNodes))or($t,ye,!0)}},et=(ye,Ve)=>{Ve&&!ye.$onRenderResolve$&&Ve["s-p"]&&Ve["s-p"].push(new Promise(_t=>ye.$onRenderResolve$=_t))},Ht=(ye,Ve)=>{if(ye.$flags$|=16,!(4&ye.$flags$))return et(ye,ye.$ancestorComponent$),jn(()=>Bt(ye,Ve));ye.$flags$|=512},Bt=(ye,Ve)=>{const Ft=ye.$lazyInstance$;if(!Ft)throw new Error(`Can't render component <${ye.$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 $t;return Ve&&(ye.$flags$|=256,ye.$queuedListeners$&&(ye.$queuedListeners$.map(([bn,xn])=>Pi(Ft,bn,xn)),ye.$queuedListeners$=void 0),$t=Pi(Ft,"componentWillLoad")),$t=fn($t,()=>Pi(Ft,"componentWillRender")),fn($t,()=>ir(ye,Ft,Ve))},fn=(ye,Ve)=>Dn(ye)?ye.then(Ve).catch(_t=>{console.error(_t),Ve()}):Ve(),Dn=ye=>ye instanceof Promise||ye&&ye.then&&"function"==typeof ye.then,ir=function(){var ye=(0,a.A)(function*(Ve,_t,Mt){var Ft;const $t=Ve.$hostElement$,xn=$t["s-rc"];Mt&&(ye=>{const Ve=ye.$cmpMeta$,_t=ye.$hostElement$,Mt=Ve.$flags$,$t=eo(_t.shadowRoot?_t.shadowRoot:_t.getRootNode(),Ve,ye.$modeName$);10&Mt&&(_t["s-sc"]=$t,_t.classList.add($t+"-h"),2&Mt&&_t.classList.add($t+"-s"))})(Ve);er(Ve,_t,$t,Mt),xn&&(xn.map(An=>An()),$t["s-rc"]=void 0);{const An=null!=(Ft=$t["s-p"])?Ft:[],pr=()=>Wr(Ve);0===An.length?pr():(Promise.all(An).then(pr),Ve.$flags$|=4,An.length=0)}});return function(_t,Mt,Ft){return ye.apply(this,arguments)}}(),er=(ye,Ve,_t,Mt)=>{try{Ve=Ve.render&&Ve.render(),ye.$flags$&=-17,ye.$flags$|=2,((ye,Ve,_t=!1)=>{var Mt,Ft,$t,bn,xn;const ln=ye.$hostElement$,An=ye.$cmpMeta$,pr=ye.$vnode$||$n(null,null),Cr=(ye=>ye&&ye.$tag$===dn)(Ve)?Ve:Er(null,null,Ve);if(ao=ln.tagName,An.$attrsToReflect$&&(Cr.$attrs$=Cr.$attrs$||{},An.$attrsToReflect$.map(([Or,Rr])=>Cr.$attrs$[Rr]=ln[Or])),_t&&Cr.$attrs$)for(const Or of Object.keys(Cr.$attrs$))ln.hasAttribute(Or)&&!["key","ref","style","class"].includes(Or)&&(Cr.$attrs$[Or]=ln[Or]);if(Cr.$tag$=null,Cr.$flags$|=4,ye.$vnode$=Cr,Cr.$elm$=pr.$elm$=ln.shadowRoot||ln,xi=ln["s-sc"],Oo=!!(1&An.$flags$),Fi=ln["s-cr"],to=!1,yt(pr,Cr,_t),ce.$flags$|=1,Fo){je(Cr.$elm$);for(const Or of Nt){const Rr=Or.$nodeToRelocate$;if(!Rr["s-ol"]){const Gi=k.createTextNode("");Gi["s-nr"]=Rr,Zt(Rr.parentNode,Rr["s-ol"]=Gi,Rr)}}for(const Or of Nt){const Rr=Or.$nodeToRelocate$,Gi=Or.$slotRefNode$;if(Gi){const Wi=Gi.parentNode;let so=Gi.nextSibling;if(so&&1===so.nodeType){let Eo=null==(Mt=Rr["s-ol"])?void 0:Mt.previousSibling;for(;Eo;){let Co=null!=(Ft=Eo["s-nr"])?Ft:null;if(Co&&Co["s-sn"]===Rr["s-sn"]&&Wi===Co.parentNode){for(Co=Co.nextSibling;Co===Rr||null!=Co&&Co["s-sr"];)Co=null==Co?void 0:Co.nextSibling;if(!Co||!Co["s-nr"]){so=Co;break}}Eo=Eo.previousSibling}}(!so&&Wi!==Rr.parentNode||Rr.nextSibling!==so)&&Rr!==so&&(Zt(Wi,Rr,so),1===Rr.nodeType&&(Rr.hidden=null!=($t=Rr["s-ih"])&&$t)),Rr&&"function"==typeof Gi["s-rf"]&&Gi["s-rf"](Rr)}else 1===Rr.nodeType&&(_t&&(Rr["s-ih"]=null!=(bn=Rr.hidden)&&bn),Rr.hidden=!0)}}if(to&&Je(Cr.$elm$),ce.$flags$&=-2,Nt.length=0,2&An.$flags$)for(const Or of Cr.$elm$.childNodes)Or["s-hn"]!==ao&&!Or["s-sh"]&&(_t&&null==Or["s-ih"]&&(Or["s-ih"]=null!=(xn=Or.hidden)&&xn),Or.hidden=!0);Fi=void 0})(ye,Ve,Mt)}catch(Ft){le(Ft,ye.$hostElement$)}return null},Wr=ye=>{const _t=ye.$hostElement$,Ft=ye.$lazyInstance$,$t=ye.$ancestorComponent$;Pi(Ft,"componentDidRender"),64&ye.$flags$?Pi(Ft,"componentDidUpdate"):(ye.$flags$|=64,Ui(_t),Pi(Ft,"componentDidLoad"),ye.$onReadyResolve$(_t),$t||Bi()),ye.$onInstanceResolve$(_t),ye.$onRenderResolve$&&(ye.$onRenderResolve$(),ye.$onRenderResolve$=void 0),512&ye.$flags$&&ct(()=>Ht(ye,!1)),ye.$flags$&=-517},Tr=ye=>{{const Ve=H(ye),_t=Ve.$hostElement$.isConnected;return _t&&2==(18&Ve.$flags$)&&Ht(Ve,!1),_t}},Bi=ye=>{Ui(k.documentElement),ct(()=>ti(Ae,"appload",{detail:{namespace:"ionic"}}))},Pi=(ye,Ve,_t)=>{if(ye&&ye[Ve])try{return ye[Ve](_t)}catch(Mt){le(Mt)}},Ui=ye=>ye.classList.add(("hydrated","hydrated")),Ni=(ye,Ve,_t)=>{var Mt,Ft;const $t=ye.prototype;if(Ve.$members$||Ve.$watchers$||ye.watchers){ye.watchers&&!Ve.$wat
1chers$&&(Ve.$watchers$=ye.watchers);const bn=Object.entries(null!=(Mt=Ve.$members$)?Mt:{});if(bn.map(([xn,[ln]])=>{31&ln||2&_t&&32&ln?Object.defineProperty($t,xn,{get(){return((ye,Ve)=>H(this).$instanceValues$.get(Ve))(0,xn)},set(An){((ye,Ve,_t,Mt)=>{const Ft=H(ye);if(!Ft)throw new Error(`Couldn't find host element for "${Mt.$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 $t=Ft.$hostElement$,bn=Ft.$instanceValues$.get(Ve),xn=Ft.$flags$,ln=Ft.$lazyInstance$;_t=((ye,Ve)=>null==ye||Fn(ye)?ye:4&Ve?"false"!==ye&&(""===ye||!!ye):2&Ve?parseFloat(ye):1&Ve?String(ye):ye)(_t,Mt.$members$[Ve][0]);const An=Number.isNaN(bn)&&Number.isNaN(_t);if((!(8&xn)||void 0===bn)&&_t!==bn&&!An&&(Ft.$instanceValues$.set(Ve,_t),ln)){if(Mt.$watchers$&&128&xn){const Cr=Mt.$watchers$[Ve];Cr&&Cr.map(Or=>{try{ln[Or](_t,bn,Ve)}catch(Rr){le(Rr,$t)}})}2==(18&xn)&&Ht(Ft,!1)}})(this,xn,An,Ve)},configurable:!0,enumerable:!0}):1&_t&&64&ln&&Object.defineProperty($t,xn,{value(...An){var pr;const Cr=H(this);return null==(pr=null==Cr?void 0:Cr.$onInstancePromise$)?void 0:pr.then(()=>{var Or;return null==(Or=Cr.$lazyInstance$)?void 0:Or[xn](...An)})}})}),1&_t){const xn=new Map;$t.attributeChangedCallback=function(ln,An,pr){ce.jmp(()=>{var Cr;const Or=xn.get(ln);if(this.hasOwnProperty(Or))pr=this[Or],delete this[Or];else{if($t.hasOwnProperty(Or)&&"number"==typeof this[Or]&&this[Or]==pr)return;if(null==Or){const Rr=H(this),Gi=null==Rr?void 0:Rr.$flags$;if(Gi&&!(8&Gi)&&128&Gi&&pr!==An){const Wi=Rr.$lazyInstance$,so=null==(Cr=Ve.$watchers$)?void 0:Cr[ln];null==so||so.forEach(Eo=>{null!=Wi[Eo]&&Wi[Eo].call(Wi,pr,An,ln)})}return}}this[Or]=(null!==pr||"boolean"!=typeof this[Or])&&pr})},ye.observedAttributes=Array.from(new Set([...Object.keys(null!=(Ft=Ve.$watchers$)?Ft:{}),...bn.filter(([ln,An])=>15&An[0]).map(([ln,An])=>{var pr;const Cr=An[1]||ln;return xn.set(Cr,ln),512&An[0]&&(null==(pr=Ve.$attrsToReflect$)||pr.push([ln,Cr])),Cr})]))}}return ye},di=function(){var ye=(0,a.A)(function*(Ve,_t,Mt,Ft){let $t;if(!(32&_t.$flags$)){if(_t.$flags$|=32,Mt.$lazyBundleId$){const An=((ye,Ve,_t)=>{const Mt=ye.$tagName$.replace(/-/g,"_"),Ft=ye.$lazyBundleId$;if(!Ft)return;const $t=W.get(Ft);return $t?$t[Mt]:u(8996)(`./${Ft}.entry.js`).then(bn=>(W.set(Ft,bn),bn[Mt]),le)})(Mt);if(An&&"then"in An){const Cr=()=>{};$t=yield An,Cr()}else $t=An;if(!$t)throw new Error(`Constructor for "${Mt.$tagName$}#${_t.$modeName$}" was not found`);$t.isProxied||(Mt.$watchers$=$t.watchers,Ni($t,Mt,2),$t.isProxied=!0);const pr=()=>{};_t.$flags$|=8;try{new $t(_t)}catch(Cr){le(Cr)}_t.$flags$&=-9,_t.$flags$|=128,pr(),dt(_t.$lazyInstance$)}else $t=Ve.constructor,customElements.whenDefined(Ve.localName).then(()=>_t.$flags$|=128);if($t&&$t.style){let An;"string"==typeof $t.style?An=$t.style:"string"!=typeof $t.style&&(_t.$modeName$=(ye=>ue.map(Ve=>Ve(ye)).find(Ve=>!!Ve))(Ve),_t.$modeName$&&(An=$t.style[_t.$modeName$]));const pr=Rt(Mt,_t.$modeName$);if(!we.has(pr)){const Cr=()=>{};_i(pr,An,!!(1&Mt.$flags$)),Cr()}}}const bn=_t.$ancestorComponent$,xn=()=>Ht(_t,!0);bn&&bn["s-rc"]?bn["s-rc"].push(xn):xn()});return function(_t,Mt,Ft,$t){return ye.apply(this,arguments)}}(),dt=ye=>{Pi(ye,"connectedCallback")},ft=ye=>{const Ve=ye["s-cr"]=k.createComment("");Ve["s-cn"]=!0,Zt(ye,Ve,ye.firstChild)},St=ye=>{Pi(ye,"disconnectedCallback")},zt=function(){var ye=(0,a.A)(function*(Ve){if(!(1&ce.$flags$)){const _t=H(Ve);_t.$rmListeners$&&(_t.$rmListeners$.map(Mt=>Mt()),_t.$rmListeners$=void 0),null!=_t&&_t.$lazyInstance$?St(_t.$lazyInstance$):null!=_t&&_t.$onReadyPromise$&&_t.$onReadyPromise$.then(()=>St(_t.$lazyInstance$))}});return function(_t){return ye.apply(this,arguments)}}(),kr=ye=>{const Ve=ye.cloneNode;ye.cloneNode=function(_t){const Mt=this,Ft=Mt.shadowRoot&&true,$t=Ve.call(Mt,!!Ft&&_t);
1if(!Ft&&_t){let xn,ln,bn=0;const An=["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(;bn<Mt.childNodes.length;bn++)xn=Mt.childNodes[bn]["s-nr"],ln=An.every(pr=>!Mt.childNodes[bn][pr]),xn&&($t.__appendChild?$t.__appendChild(xn.cloneNode(!0)):$t.appendChild(xn.cloneNode(!0))),ln&&$t.appendChild(Mt.childNodes[bn].cloneNode(!0))}return $t}},R=ye=>{ye.__appendChild=ye.appendChild,ye.appendChild=function(Ve){const _t=Ve["s-sn"]=$o(Ve),Mt=Ks(this.childNodes,_t,this.tagName);if(Mt){const Ft=as(Mt,_t),$t=Ft[Ft.length-1],bn=Zt($t.parentNode,Ve,$t.nextSibling);return Je(this),bn}return this.__appendChild(Ve)}},Ee=ye=>{ye.__removeChild=ye.removeChild,ye.removeChild=function(Ve){if(Ve&&typeof Ve["s-sn"]<"u"){const _t=Ks(this.childNodes,Ve["s-sn"],this.tagName);if(_t){const Ft=as(_t,Ve["s-sn"]).find($t=>$t===Ve);if(Ft)return Ft.remove(),void Je(this)}}return this.__removeChild(Ve)}},Ke=ye=>{const Ve=ye.prepend;ye.prepend=function(..._t){_t.forEach(Mt=>{"string"==typeof Mt&&(Mt=this.ownerDocument.createTextNode(Mt));const Ft=Mt["s-sn"]=$o(Mt),$t=Ks(this.childNodes,Ft,this.tagName);if($t){const bn=document.createTextNode("");bn["s-nr"]=Mt,$t["s-cr"].parentNode.__appendChild(bn),Mt["s-ol"]=bn;const ln=as($t,Ft)[0];return Zt(ln.parentNode,Mt,ln.nextSibling)}return 1===Mt.nodeType&&Mt.getAttribute("slot")&&(Mt.hidden=!0),Ve.call(this,Mt)})}},G=ye=>{ye.append=function(...Ve){Ve.forEach(_t=>{"string"==typeof _t&&(_t=this.ownerDocument.createTextNode(_t)),this.appendChild(_t)})}},qe=ye=>{const Ve=ye.insertAdjacentHTML;ye.insertAdjacentHTML=function(_t,Mt){if("afterbegin"!==_t&&"beforeend"!==_t)return Ve.call(this,_t,Mt);const Ft=this.ownerDocument.createElement("_");let $t;if(Ft.innerHTML=Mt,"afterbegin"===_t)for(;$t=Ft.firstChild;)this.prepend($t);else if("beforeend"===_t)for(;$t=Ft.firstChild;)this.append($t)}},kt=ye=>{ye.insertAdjacentText=function(Ve,_t){this.insertAdjacentHTML(Ve,_t)}},Mi=ye=>{const Ve=ye.insertAdjacentElement;ye.insertAdjacentElement=function(_t,Mt){return"afterbegin"!==_t&&"beforeend"!==_t?Ve.call(this,_t,Mt):"afterbegin"===_t?(this.prepend(Mt),Mt):("beforeend"===_t&&this.append(Mt),Mt)}},bo=ye=>{const Ve=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(ye,"__textContent",Ve),Object.defineProperty(ye,"textContent",{get(){return" "+ra(this.childNodes).map(Ft=>{var $t,bn;const xn=[];let ln=Ft.nextSibling;for(;ln&&ln["s-sn"]===Ft["s-sn"];)(3===ln.nodeType||1===ln.nodeType)&&xn.push(null!=(bn=null==($t=ln.textContent)?void 0:$t.trim())?bn:""),ln=ln.nextSibling;return xn.filter(An=>""!==An).join(" ")}).filter(Ft=>""!==Ft).join(" ")+" "},set(_t){ra(this.childNodes).forEach(Ft=>{let $t=Ft.nextSibling;for(;$t&&$t["s-sn"]===Ft["s-sn"];){const bn=$t;$t=$t.nextSibling,bn.remove()}if(""===Ft["s-sn"]){const bn=this.ownerDocument.createTextNode(_t);bn["s-sn"]="",Zt(Ft.parentElement,bn,Ft.nextSibling)}else Ft.remove()})}})},ns=(ye,Ve)=>{class _t extends Array{item(Ft){return this[Ft]}}if(8&Ve.$flags$){const Mt=ye.__lookupGetter__("childNodes");Object.defineProperty(ye,"children",{get(){return this.childNodes.map(Ft=>1===Ft.nodeType)}}),Object.defineProperty(ye,"childElementCount",{get:()=>ye.children.length}),Object.defineProperty(ye,"childNodes",{get(){const Ft=Mt.call(this);if(!(1&ce.$flags$)&&2&H(this).$flags$){const $t=new _t;for(let bn=0;bn<Ft.length;bn++){const xn=Ft[bn]["s-nr"];xn&&$t.push(xn)}return $t}return _t.from(Ft)}})}},ra=ye=>{const Ve=[];for(const _t of Array.from(ye))_t["s-sr"]&&Ve.push(_t),Ve.push(...ra(_t.childNodes));return Ve},$o=ye=>ye["s-sn"]||1===ye.nodeType&&ye.getAttribute("slot")||"",Ks=(ye,Ve,_t)=>{let Ft,Mt=0;for(;Mt<ye.length;Mt++)if(Ft=ye[Mt],Ft["s-sr"]&&Ft["s-sn"]===Ve&&Ft["s-hn"]===_t||(Ft=Ks(Ft.childNodes,Ve,_t),Ft))return Ft;return null},as=(ye,Ve)=>{const _t=[ye];for(;(ye=ye.nextSibling)&&ye["s-sn"]===Ve;)_t.push(ye);return _t},Ea=(ye,Ve={})=>{var _t;const Ft=[],$t=Ve.exclude||[],bn=Ae.customElements,xn=k.head,ln=xn.querySelector("meta[charset]"),An=k.createElement("style"),pr=[],Cr=k.querySelectorAll(`[${Pe}]`);let Or,Rr=!0,Gi=0;for(Object.assign(ce,Ve),ce.$resourcesUrl$=new URL(Ve.resourcesUrl||"./",k.baseURI).href,ce.$flags$|=2;Gi<Cr.length;
1Gi++)_i(Cr[Gi].getAttribute(Pe),tn(Cr[Gi].innerHTML),!0);let Wi=!1;if(ye.map(so=>{so[1].map(Eo=>{var Co;const Jn={$flags$:Eo[0],$tagName$:Eo[1],$members$:Eo[2],$listeners$:Eo[3]};4&Jn.$flags$&&(Wi=!0),Jn.$members$=Eo[2],Jn.$listeners$=Eo[3],Jn.$attrsToReflect$=[],Jn.$watchers$=null!=(Co=Eo[4])?Co:{};const Do=Jn.$tagName$,gs=class extends HTMLElement{constructor(Ai){if(super(Ai),this.hasRegisteredEventListeners=!1,((ye,Ve)=>{const _t={$flags$:0,$hostElement$:ye,$cmpMeta$:Ve,$instanceValues$:new Map};_t.$onInstancePromise$=new Promise(Mt=>_t.$onInstanceResolve$=Mt),_t.$onReadyPromise$=new Promise(Mt=>_t.$onReadyResolve$=Mt),ye["s-p"]=[],ye["s-rc"]=[],B.set(ye,_t)})(Ai=this,Jn),1&Jn.$flags$)if(Ai.shadowRoot){if("open"!==Ai.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${Jn.$tagName$}! Mode is set to ${Ai.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ai.attachShadow({mode:"open",delegatesFocus:!!(16&Jn.$flags$)})}connectedCallback(){const Ai=H(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ms(this,Ai,Jn.$listeners$)),Or&&(clearTimeout(Or),Or=null),Rr?pr.push(this):ce.jmp(()=>(ye=>{if(!(1&ce.$flags$)){const Ve=H(ye),_t=Ve.$cmpMeta$,Mt=()=>{};if(1&Ve.$flags$)Ms(ye,Ve,_t.$listeners$),null!=Ve&&Ve.$lazyInstance$?dt(Ve.$lazyInstance$):null!=Ve&&Ve.$onReadyPromise$&&Ve.$onReadyPromise$.then(()=>dt(Ve.$lazyInstance$));else{let Ft;if(Ve.$flags$|=1,Ft=ye.getAttribute($e),Ft){if(1&_t.$flags$){const $t=eo(ye.shadowRoot,_t,ye.getAttribute("s-mode"));ye.classList.remove($t+"-h",$t+"-s")}((ye,Ve,_t,Mt)=>{const $t=ye.shadowRoot,bn=[],ln=$t?[]:null,An=Mt.$vnode$=$n(Ve,null);ce.$orgLocNodes$||Lt(k.body,ce.$orgLocNodes$=new Map),ye[$e]=_t,ye.removeAttribute($e),mi(An,bn,[],ln,ye,ye,_t),bn.map(pr=>{const Cr=pr.$hostId$+"."+pr.$nodeId$,Or=ce.$orgLocNodes$.get(Cr),Rr=pr.$elm$;Or&&""===Or["s-en"]&&Or.parentNode.insertBefore(Rr,Or.nextSibling),$t||(Rr["s-hn"]=Ve,Or&&(Rr["s-ol"]=Or,Rr["s-ol"]["s-nr"]=Rr)),ce.$orgLocNodes$.delete(Cr)}),$t&&ln.map(pr=>{pr&&$t.appendChild(pr)})})(ye,_t.$tagName$,Ft,Ve)}Ft||12&_t.$flags$&&ft(ye);{let $t=ye;for(;$t=$t.parentNode||$t.host;)if(1===$t.nodeType&&$t.hasAttribute("s-id")&&$t["s-p"]||$t["s-p"]){et(Ve,Ve.$ancestorComponent$=$t);break}}_t.$members$&&Object.entries(_t.$members$).map(([$t,[bn]])=>{if(31&bn&&ye.hasOwnProperty($t)){const xn=ye[$t];delete ye[$t],ye[$t]=xn}}),di(ye,Ve,_t)}Mt()}})(this))}disconnectedCallback(){ce.jmp(()=>zt(this))}componentOnReady(){return H(this).$onReadyPromise$}};2&Jn.$flags$&&((ye,Ve)=>{kr(ye),R(ye),G(ye),Ke(ye),Mi(ye),qe(ye),kt(ye),bo(ye),ns(ye,Ve),Ee(ye)})(gs.prototype,Jn),Jn.$lazyBundleId$=so[0],!$t.includes(Do)&&!bn.get(Do)&&(Ft.push(Do),bn.define(Do,Ni(gs,Jn,1)))})}),Ft.length>0&&(Wi&&(An.textContent+=Be),An.textContent+=Ft.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",An.innerHTML.length)){An.setAttribute("data-styles","");const so=null!=(_t=ce.$nonce$)?_t:cr(k);null!=so&&An.setAttribute("nonce",so),xn.insertBefore(An,ln?ln.nextSibling:xn.firstChild)}Rr=!1,pr.length?pr.map(so=>so.connectedCallback()):ce.jmp(()=>Or=setTimeout(Bi,30))},Ms=(ye,Ve,_t,Mt)=>{_t&&_t.map(([Ft,$t,bn])=>{const xn=Ca(ye,Ft),ln=Xs(Ve,bn),An=Hi(Ft);ce.ael(xn,$t,ln,An),(Ve.$rmListeners$=Ve.$rmListeners$||[]).push(()=>ce.rel(xn,$t,ln,An))})},Xs=(ye,Ve)=>_t=>{var Mt;try{256&ye.$flags$?null==(Mt=ye.$lazyInstance$)||Mt[Ve](_t):(ye.$queuedListeners$=ye.$queuedListeners$||[]).push([Ve,_t])}catch(Ft){le(Ft)}},Ca=(ye,Ve)=>4&Ve?k:8&Ve?Ae:16&Ve?k.body:ye,Hi=ye=>ze?{passive:!!(1&ye),capture:!!(2&ye)}:!!(2&ye)},1331:(wt,Se,u)=>{"use strict";u.d(Se,{b:()=>H,c:()=>V,d:()=>L,e:()=>ve,g:()=>de,l:()=>ce,s:()=>ze,t:()=>ge,w:()=>pe});var a=u(467),s=u(4921),w=u(8393),T=u(4929),x=u(4920);const H="ionViewWillLeave",V="ionViewDidLeave",L="ionViewWillUnload",U=ee=>{ee.tabIndex=-1,ee.focus()},le=ee=>null!==ee.offsetParent,q="ion-last-focus",Ie_saveViewFocus=se=>{if(s.c.get("focusManagerPriority",!1)){const at=document.activeElement;null!==at&&null!=se&&se.contains(at)&&at.setAttribute(q,"true")}},Ie_setViewFocus=se=>{const Ce=s.c.get("focusManagerPriority",!1);if(Array.isArray(Ce)&&!se.contains(document.activeElement)){const at=se.querySelector(`[${q}]`);if(at&&le(at))return void U(at);for(const pt of Ce)switch(pt){case"content":const ct=se.querySelector('main, [role="main"]');if(ct&&le(ct))return void U(ct);break;case"heading":const jt=se.querySelector('h1, [role="heading"][aria-level="1"]');if(jt&&le(jt))return void U(jt);break;case"banner":const jn=se.querySelector('header, [role="banner"]');if(jn&&le(jn))return void U(jn);break;default:(0,T.p)(`Unrecognized focus manager priority value ${pt}`)}U(se)}},ge=ee=>new Promise(($,se)=>{(0,w.w)(()=>{he(ee),Me(ee).then(Ce=>{Ce.animation&&Ce.animation.destroy(),$e(ee),$(Ce)},Ce=>{$e(ee),se(Ce)})})}),he=ee=>{const $=ee.enteringEl,se=ee.leavingEl;Ie_saveViewFocus(se),fe($,se,ee.direction),ee.showGoBack?$.classList.add("can-go-back"):$.classList.remove("can-go-back"),ze($,!1),$.style.setProperty("pointer-events","none"),se&&(ze(se,!1),se.style.setProperty("pointer-events","none"))},Me=function(){var ee=(0,a.A)(function*($){const se=yield Pe($);return se&&w.B.isBrowser?Re(se,$):it($)});return function(se){return ee.apply(this,arguments)}}(),$e=ee=>{const $=ee.enteringEl,se=ee.leavingEl;$.classList.remove("ion-page-invisible"),$.style.removeProperty("pointer-events"),void 0!==se&&(se.classList.remove("ion-page-invisible"),se.style.removeProperty("pointer-events")),Ie_setViewFocus($)},Pe=function(){var ee=(0,a.A)(function*($){return $.leavingEl&&$.animated&&0!==$.duration?$.animationBuilder?$.animationBuilder:"ios"===$.mode?(yield Promise.resolve().then(u.bind(u,9856))).iosTransitionAnimation:(yield Promise.resolve().then(u.bind(u,361))).mdTransitionAnimation:void 0});return function(se){return ee.apply(this,arguments)}}(),Re=function(){var ee=(0,a.A)(function*($,se){yield Be(se,!0);const Ce=$(se.baseEl,se);k(se.enteringEl,se.leavingEl);const at=yield Ae(Ce,se);return se.progressCallback&&se.progressCallback(void 0),at&&z(se.enteringEl,se.leavingEl),{hasCompleted:at,animation:Ce}});return function(se,Ce){return ee.apply(this,arguments)}}(),it=function(){var ee=(0,a.A)(function*($){const se=$.enteringEl,Ce=$.leavingEl,at=s.c.get("focusManagerPriority",!1);return yield Be($,at),k(se,Ce),z(se,Ce),{hasCompleted:!0}});return function(se){return ee.apply(this,arguments)}}(),Be=function(){var ee=(0,a.A)(function*($,se){(void 0!==$.deepWait?$.deepWait:se)&&(yield Promise.all([ve($.enteringEl),ve($.leavingEl)])),yield We($.viewIsReady,$.enteringEl)});return function(se,Ce){return ee.apply(this,arguments)}}(),We=function(){var ee=(0,a.A)(function*($,se){$&&(yield $(se))});return function(se,Ce){return ee.apply(this,arguments)}}(),Ae=(ee,$)=>{const se=$.progressCallback,Ce=new Promise(at=>{ee.onFinish(pt=>at(1===pt))});return se?(ee.progressStart(!0),se(ee)):ee.play(),Ce},k=(ee,$)=>{ce($,H),ce(ee,"ionViewWillEnter")},z=(ee,$)=>{ce(ee,"ionViewDidEnter"),ce($,V)},ce=(ee,$)=>{if(ee){const se=new CustomEvent($,{bubbles:!1,cancelable:!1});ee.dispatchEvent(se)}},pe=()=>new Promise(ee=>(0,x.r)(()=>(0,x.r)(()=>ee()))),ve=function(){var ee=(0,a.A)(function*($){const se=$;if(se){if(null!=se.componentOnReady){if(null!=(yield se.componentOnReady()))return}else if(null!=se.__registerHost)return void(yield new Promise(at=>(0,x.r)(at)));yield Promise.all(Array.from(se.children).map(ve))}});return function(se){return ee.apply(this,arguments)}}(),ze=(ee,$)=>{$?(ee.setAttribute("aria-hidden","true"),ee.classList.add("ion-page-hidden")):(ee.hidden=!1,ee.removeAttribute("aria-hidden"),ee.classList.remove("ion-page-hidden"))},fe=(ee,$,se)=>{void 0!==ee&&(ee.style.zIndex="back"===se?"99":"101"),void 0!==$&&($.style.zIndex="100")},de=ee=>ee.classList.contains("ion-page")?ee:ee.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||ee},4929:(wt,Se,u)=>{"use strict";u.d(Se,{a:()=>s,b:()=>w,p:()=>a});const a=(T,...x)=>console.warn(`[Ionic Warning]: ${T}`,...x),s=(T,...x)=>console.error(`[Ionic Error]: ${T}`,...x),w=(T,...x)=>console.error(`<${T.tagName.toLowerCase()}> must be used inside ${x.join(" or ")}.`)},8476:(wt,Se,u)=>{"use strict";u.d(Se,{d:()=>s,w:()=>a});const a=typeof window<"u"?window:void 0,s=typeof document<"u"?document:void 0},617:(wt,Se,u)=>{"use strict";u.d(Se,{OZ:()=>V.m,QX:()=>B.s,TN:()=>V.a,aH:()=>F.a,eE:()=>V.t,k_:()=>V.b,mF:()=>V.c}),u(9986),u(1331),u(9856),u(361),u(8607);var F=u(4921),B=u(464),V=(u(6073),u(1070));u(8476),u(8393),u(1970),u(8669)},4921:(wt,Se,u)=>{"use strict";u.d(Se,{a:()=>U,b:()=>ze,c:()=>w,i:()=>fe});var a=u(8393);class s{constructor(){this.m=new Map}reset(ee){this.m=new Map(Object.entries(ee))}get(ee,$){const se=this.m.get(ee);return void 0!==se?se:$}getBoolean(ee,$=!1){const se=this.m.get(ee);return void 0===se?$:"string"==typeof se?"true"===se:!!se}getNumber(ee,$){const se=parseFloat(this.m.get(ee));return isNaN(se)?void 0!==$?$:NaN:se}set(ee,$){this.m.set(ee,$)}}const w=new s,H="ionic:",V="ionic-persist-config",U=(de,ee)=>("string"==typeof de&&(ee=de,de=void 0),(de=>le(de))(de).includes(ee)),le=(de=window)=>
1{if(typeof de>"u")return[];de.Ionic=de.Ionic||{};let ee=de.Ionic.platforms;return null==ee&&(ee=de.Ionic.platforms=W(de),ee.forEach($=>de.document.documentElement.classList.add(`plt-${$}`))),ee},W=de=>{const ee=w.get("platform");return Object.keys(pe).filter($=>{const se=null==ee?void 0:ee[$];return"function"==typeof se?se(de):pe[$](de)})},we=de=>!!(z(de,/iPad/i)||z(de,/Macintosh/i)&&Pe(de)),ge=de=>z(de,/android|sink/i),Pe=de=>ce(de,"(any-pointer:coarse)"),it=de=>Be(de)||We(de),Be=de=>!!(de.cordova||de.phonegap||de.PhoneGap),We=de=>{const ee=de.Capacitor;return!(null==ee||!ee.isNative)},z=(de,ee)=>ee.test(de.navigator.userAgent),ce=(de,ee)=>{var $;return null===($=de.matchMedia)||void 0===$?void 0:$.call(de,ee).matches},pe={ipad:we,iphone:de=>z(de,/iPhone/i),ios:de=>z(de,/iPhone|iPod/i)||we(de),android:ge,phablet:de=>{const ee=de.innerWidth,$=de.innerHeight,se=Math.min(ee,$),Ce=Math.max(ee,$);return se>390&&se<520&&Ce>620&&Ce<800},tablet:de=>{const ee=de.innerWidth,$=de.innerHeight,se=Math.min(ee,$),Ce=Math.max(ee,$);return we(de)||(de=>ge(de)&&!z(de,/mobile/i))(de)||se>460&&se<820&&Ce>780&&Ce<1400},cordova:Be,capacitor:We,electron:de=>z(de,/electron/i),pwa:de=>{var ee;return!!(null!==(ee=de.matchMedia)&&void 0!==ee&&ee.call(de,"(display-mode: standalone)").matches||de.navigator.standalone)},mobile:Pe,mobileweb:de=>Pe(de)&&!it(de),desktop:de=>!Pe(de),hybrid:it};let ve;const ze=de=>de&&(0,a.g)(de)||ve,fe=(de={})=>{if(typeof window>"u")return;const ee=window.document,$=window,se=$.Ionic=$.Ionic||{},Ce={};de._ael&&(Ce.ael=de._ael),de._rel&&(Ce.rel=de._rel),de._ce&&(Ce.ce=de._ce),(0,a.a)(Ce);const at=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(de=>{try{const ee=de.sessionStorage.getItem(V);return null!==ee?JSON.parse(ee):{}}catch(ee){return{}}})($)),{persistConfig:!1}),se.config),(de=>{const ee={};return de.location.search.slice(1).split("&").map($=>$.split("=")).map(([$,se])=>{try{return[decodeURIComponent($),decodeURIComponent(se)]}catch(Ce){return["",""]}}).filter(([$])=>((de,ee)=>de.substr(0,ee.length)===ee)($,H)).map(([$,se])=>[$.slice(6),se]).forEach(([$,se])=>{ee[$]=se}),ee})($)),de);w.reset(at),w.getBoolean("persistConfig")&&((de,ee)=>{try{de.sessionStorage.setItem(V,JSON.stringify(ee))}catch($){return}})($,at),le($),se.config=w,se.mode=ve=w.get("mode",ee.documentElement.getAttribute("mode")||(U($,"ios")?"ios":"md")),w.set("mode",ve),ee.documentElement.setAttribute("mode",ve),ee.documentElement.classList.add(ve),w.getBoolean("_testing")&&w.set("animated",!1);const pt=jt=>{var jn;return null===(jn=jt.tagName)||void 0===jn?void 0:jn.startsWith("ION-")},ct=jt=>["ios","md"].includes(jt);(0,a.c)(jt=>{for(;jt;){const jn=jt.mode||jt.getAttribute("mode");if(jn){if(ct(jn))return jn;pt(jt)&&console.warn('Invalid ionic mode: "'+jn+'", expected: "ios" or "md"')}jt=jt.parentElement}return ve})}},9856:(wt,Se,u)=>{"use strict";u.r(Se),u.d(Se,{iosTransitionAnimation:()=>q,shadow:()=>H});var a=u(9986),s=u(1331);u(8476),u(4921),u(8393);const B=ue=>document.querySelector(`${ue}.ion-cloned-element`),H=ue=>ue.shadowRoot||ue,V=ue=>{const Ie="ION-TABS"===ue.tagName?ue:ue.querySelector("ion-tabs"),ge="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=Ie){const he=Ie.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=he?he.querySelector(ge):null}return ue.querySelector(ge)},L=(ue,Ie)=>{const ge="ION-TABS"===ue.tagName?ue:ue.querySelector("ion-tabs");let he=[];if(null!=ge){const Me=ge.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=Me&&(he=Me.querySelectorAll("ion-buttons"))}else he=ue.querySelectorAll("ion-buttons");for(const Me of he){const $e=Me.closest("ion-header"),Pe=$e&&!$e.classList.contains("header-collapse-condense-inactive"),Re=Me.querySelector("ion-back-button"),it=Me.classList.contains("buttons-collapse");if(null!==Re&&("start"===Me.slot||""===Me.slot)&&(it&&Pe&&Ie||!it))return Re}return null},le=(ue,Ie,ge,he,Me,$e,Pe,Re,it)=>{var Be,We;const Ae=Ie?`calc(100% - ${Me.right+4}
1px)`:Me.left-4+"px",k=Ie?"right":"left",z=Ie?"left":"right",ce=Ie?"right":"left";let pe=1,ve=1,ze=`scale(${ve})`;const fe="scale(1)";if($e&&Pe){const It=(null===(Be=$e.textContent)||void 0===Be?void 0:Be.trim())===(null===(We=Re.textContent)||void 0===We?void 0:We.trim());pe=it.width/Pe.width,ve=(it.height-we)/Pe.height,ze=It?`scale(${pe}, ${ve})`:`scale(${ve})`}const ee=H(he).querySelector("ion-icon").getBoundingClientRect(),$=Ie?ee.width/2-(ee.right-Me.right)+"px":Me.left-ee.width/2+"px",se=Ie?`-${window.innerWidth-Me.right}px`:`${Me.left}px`,Ce=`${it.top}px`,at=`${Me.top}px`,jt=ge?[{offset:0,transform:`translate3d(${se}, ${at}, 0)`},{offset:1,transform:`translate3d(${$}, ${Ce}, 0)`}]:[{offset:0,transform:`translate3d(${$}, ${Ce}, 0)`},{offset:1,transform:`translate3d(${se}, ${at}, 0)`}],lr=ge?[{offset:0,opacity:1,transform:fe},{offset:1,opacity:0,transform:ze}]:[{offset:0,opacity:0,transform:ze},{offset:1,opacity:1,transform:fe}],ur=ge?[{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)"}],Fn=(0,a.c)(),cr=(0,a.c)(),Yn=(0,a.c)(),Qn=B("ion-back-button"),ht=H(Qn).querySelector(".button-text"),Ot=H(Qn).querySelector("ion-icon");Qn.text=he.text,Qn.mode=he.mode,Qn.icon=he.icon,Qn.color=he.color,Qn.disabled=he.disabled,Qn.style.setProperty("display","block"),Qn.style.setProperty("position","fixed"),cr.addElement(Ot),Fn.addElement(ht),Yn.addElement(Qn),Yn.beforeStyles({position:"absolute",top:"0px",[ce]:"0px"}).beforeAddWrite(()=>{he.style.setProperty("display","none"),Qn.style.setProperty(k,Ae)}).afterAddWrite(()=>{he.style.setProperty("display",""),Qn.style.setProperty("display","none"),Qn.style.removeProperty(k)}).keyframes(jt),Fn.beforeStyles({"transform-origin":`${k} top`}).keyframes(lr),cr.beforeStyles({"transform-origin":`${z} center`}).keyframes(ur),ue.addAnimation([Fn,cr,Yn])},W=(ue,Ie,ge,he,Me,$e,Pe,Re,it)=>{var Be,We;const Ae=Ie?"right":"left",k=Ie?`calc(100% - ${Me.right}px)`:`${Me.left}px`,ce=`${Me.top}px`;let ve=Ie?`-${window.innerWidth-Pe.right-8}px`:`${Pe.x+8}px`,ze=.5;const fe="scale(1)";let de=`scale(${ze})`;if(Re&&it){ve=Ie?`-${window.innerWidth-it.right-8}px`:it.x-8+"px";const jn=(null===(Be=Re.textContent)||void 0===Be?void 0:Be.trim())===(null===(We=he.textContent)||void 0===We?void 0:We.trim());ze=it.height/($e.height-we),de=jn?`scale(${it.width/$e.width}, ${ze})`:`scale(${ze})`}const se=Pe.top+Pe.height/2-Me.height*ze/2+"px",pt=ge?[{offset:0,opacity:0,transform:`translate3d(${ve}, ${se}, 0) ${de}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${ce}, 0) ${fe}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${ce}, 0) ${fe}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${ve}, ${se}, 0) ${de}`}],ct=B("ion-title"),jt=(0,a.c)();ct.innerText=he.innerText,ct.size=he.size,ct.color=he.color,jt.addElement(ct),jt.beforeStyles({"transform-origin":`${Ae} top`,height:`${Me.height}px`,display:"",position:"relative",[Ae]:k}).beforeAddWrite(()=>{he.style.setProperty("opacity","0")}).afterAddWrite(()=>{he.style.setProperty("opacity",""),ct.style.setProperty("display","none")}).keyframes(pt),ue.addAnimation(jt)},q=(ue,Ie)=>{var ge;try{const he="cubic-bezier(0.32,0.72,0,1)",Me="opacity",$e="transform",Pe="0%",it="rtl"===ue.ownerDocument.dir,Be=it?"-99.5%":"99.5%",We=it?"33%":"-33%",Ae=Ie.enteringEl,k=Ie.leavingEl,z="back"===Ie.direction,ce=Ae.querySelector(":scope > ion-content"),pe=Ae.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),ve=Ae.querySelectorAll(":scope > ion-header > ion-toolbar"),ze=(0,a.c)(),fe=(0,a.c)();if(ze.addElement(Ae).duration((null!==(ge=Ie.duration)&&void 0!==ge?ge:0)||540).easing(Ie.easing||he).fill("both").beforeRemoveClass("ion-page-invisible"),k&&null!=ue){const se=(0,a.c)();se.addElement(ue),ze.addAnimation(se)}if(ce||0!==ve.length||0!==pe.length?(fe.addElement(ce),fe.addElement(pe)):fe.addElement(Ae.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ze.addAnimation(fe),z?fe.beforeClearStyles([Me]).fromTo("transform",`translateX(${We})`,`translateX(${Pe})`).fromTo(Me,.8,1):fe.beforeClearStyles([Me]).fromTo("transform",`translateX(${Be})`,`translateX(${Pe})`),ce){const se=H(ce).querySelector(".transition-effect");if(se){const Ce=se.querySelector(".transition-cover"),at=se.querySelector(".transition-shadow"),pt=(0,a.c)(),ct=(0,a.c)(),jt=(0,a.c)();pt.addElement(se).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),ct.addElement(Ce).beforeClearStyles([Me]).fromTo(Me,0,.1),jt.addElement(at).beforeClearStyles([Me]).fromTo(Me,.03,.7),pt.addAnimation([ct,jt]),fe.addAnimation([pt])}}const de=Ae.querySelector("ion-header.header-collapse-condense"),{forward:ee,backward:$}=((ue,Ie,ge,he,Me)=>{const $e=L(he,ge),Pe=V(Me),Re=V(he),it=L(Me,ge),Be=null!==$e&&null!==Pe&&!ge,We=null!==Re&&null!==it&≥if(Be){const Ae=Pe.getBoundingClientRect(),k=$e.getBoundingClientRect(),z=H($e).querySelector(".button-text"),ce=null==z?void 0:z.getBoundingClientRect(),ve=H(Pe).querySelector(".toolbar-title").getBoundingClientRect();W(ue,Ie,ge,Pe,Ae,ve,k,z,ce),le(ue,Ie,ge,$e,k,z,ce,Pe,ve)}else if(We){const Ae=Re.getBoundingClientRect(),k=it.getBoundingClientRect(),z=H(it).querySelector(".button-text"),ce=null==z?void 0:z.getBoundingClientRect(),ve=H(Re).querySelector(".toolbar-title").getBoundingClientRect();W(ue,Ie,ge,Re,Ae,ve,k,z,ce),le(ue,Ie,ge,it,k,z,ce,Re,ve)}return{forward:Be,backward:We}})(ze,it,z,Ae,k);if(ve.forEach(se=>{const Ce=(0,a.c)();Ce.addElement(se),ze.addAnimation(Ce);const at=(0,a.c)();at.addElement(se.querySelector("ion-title"));const pt=(0,a.c)(),ct=Array.from(se.querySelectorAll("ion-buttons,[menuToggle]")),jt=se.closest("ion-header"),jn=null==jt?void 0:jt.classList.contains("header-collapse-condense-inactive");let mn;mn=ct.filter(z?Fn=>
1{const cr=Fn.classList.contains("buttons-collapse");return cr&&!jn||!cr}:Fn=>!Fn.classList.contains("buttons-collapse")),pt.addElement(mn);const lr=(0,a.c)();lr.addElement(se.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const hr=(0,a.c)();hr.addElement(H(se).querySelector(".toolbar-background"));const $r=(0,a.c)(),ur=se.querySelector("ion-back-button");if(ur&&$r.addElement(ur),Ce.addAnimation([at,pt,lr,hr,$r]),pt.fromTo(Me,.01,1),lr.fromTo(Me,.01,1),z)jn||at.fromTo("transform",`translateX(${We})`,`translateX(${Pe})`).fromTo(Me,.01,1),lr.fromTo("transform",`translateX(${We})`,`translateX(${Pe})`),$r.fromTo(Me,.01,1);else if(de||at.fromTo("transform",`translateX(${Be})`,`translateX(${Pe})`).fromTo(Me,.01,1),lr.fromTo("transform",`translateX(${Be})`,`translateX(${Pe})`),hr.beforeClearStyles([Me,"transform"]),(null==jt?void 0:jt.translucent)?hr.fromTo("transform",it?"translateX(-100%)":"translateX(100%)","translateX(0px)"):hr.fromTo(Me,.01,"var(--opacity)"),ee||$r.fromTo(Me,.01,1),ur&&!ee){const cr=(0,a.c)();cr.addElement(H(ur).querySelector(".button-text")).fromTo("transform",it?"translateX(-100px)":"translateX(100px)","translateX(0px)"),Ce.addAnimation(cr)}}),k){const se=(0,a.c)(),Ce=k.querySelector(":scope > ion-content"),at=k.querySelectorAll(":scope > ion-header > ion-toolbar"),pt=k.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(Ce||0!==at.length||0!==pt.length?(se.addElement(Ce),se.addElement(pt)):se.addElement(k.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ze.addAnimation(se),z){se.beforeClearStyles([Me]).fromTo("transform",`translateX(${Pe})`,it?"translateX(-100%)":"translateX(100%)");const ct=(0,s.g)(k);ze.afterAddWrite(()=>{"normal"===ze.getDirection()&&ct.style.setProperty("display","none")})}else se.fromTo("transform",`translateX(${Pe})`,`translateX(${We})`).fromTo(Me,1,.8);if(Ce){const ct=H(Ce).querySelector(".transition-effect");if(ct){const jt=ct.querySelector(".transition-cover"),jn=ct.querySelector(".transition-shadow"),mn=(0,a.c)(),lr=(0,a.c)(),hr=(0,a.c)();mn.addElement(ct).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),lr.addElement(jt).beforeClearStyles([Me]).fromTo(Me,.1,0),hr.addElement(jn).beforeClearStyles([Me]).fromTo(Me,.7,.03),mn.addAnimation([lr,hr]),se.addAnimation([mn])}}at.forEach(ct=>{const jt=(0,a.c)();jt.addElement(ct);const jn=(0,a.c)();jn.addElement(ct.querySelector("ion-title"));const mn=(0,a.c)(),lr=ct.querySelectorAll("ion-buttons,[menuToggle]"),hr=ct.closest("ion-header"),$r=null==hr?void 0:hr.classList.contains("header-collapse-condense-inactive"),ur=Array.from(lr).filter(Ot=>{const It=Ot.classList.contains("buttons-collapse");return It&&!$r||!It});mn.addElement(ur);const Fn=(0,a.c)(),cr=ct.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");cr.length>0&&Fn.addElement(cr);const Yn=(0,a.c)();Yn.addElement(H(ct).querySelector(".toolbar-background"));const Qn=(0,a.c)(),ht=ct.querySelector("ion-back-button");if(ht&&Qn.addElement(ht),jt.addAnimation([jn,mn,Fn,Qn,Yn]),ze.addAnimation(jt),Qn.fromTo(Me,.99,0),mn.fromTo(Me,.99,0),Fn.fromTo(Me,.99,0),z){if($r||jn.fromTo("transform",`translateX(${Pe})`,it?"translateX(-100%)":"translateX(100%)").fromTo(Me,.99,0),Fn.fromTo("transform",`translateX(${Pe})`,it?"translateX(-100%)":"translateX(100%)"),Yn.beforeClearStyles([Me,"transform"]),(null==hr?void 0:hr.translucent)?Yn.fromTo("transform","translateX(0px)",it?"translateX(-100%)":"translateX(100%)"):Yn.fromTo(Me,"var(--opacity)",0),ht&&!$){const It=(0,a.c)();It.addElement(H(ht).querySelector(".button-text")).fromTo("transform",`translateX(${Pe})`,`translateX(${(it?-124:124)+"px"})`),jt.addAnimation(It)}}else $r||jn.fromTo("transform",`translateX(${Pe})`,`translateX(${We})`).fromTo(Me,.99,0).afterClearStyles([$e,Me]),Fn.fromTo("transform",`translateX(${Pe})`,`translateX(${We})`).afterClearStyles([$e,Me]),Qn.afterClearStyles([Me]),jn.afterClearStyles([Me]),mn.afterClearStyles([Me])})}return ze}catch(he){throw he}},we=10},361:(wt,Se,u)=>{"use strict";u.r(Se),u.d(Se,{mdTransitionAnimation:()=>F});var a=u(9986),s=u(1331);u(8476),u(4921),u(8393);const F=(B,H)=>{var V,L,U;
1const q="back"===H.direction,ue=H.leavingEl,Ie=(0,s.g)(H.enteringEl),ge=Ie.querySelector("ion-toolbar"),he=(0,a.c)();if(he.addElement(Ie).fill("both").beforeRemoveClass("ion-page-invisible"),q?he.duration((null!==(V=H.duration)&&void 0!==V?V:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):he.duration((null!==(L=H.duration)&&void 0!==L?L:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(40px)","translateY(0px)").fromTo("opacity",.01,1),ge){const Me=(0,a.c)();Me.addElement(ge),he.addAnimation(Me)}if(ue&&q){he.duration((null!==(U=H.duration)&&void 0!==U?U:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const Me=(0,a.c)();Me.addElement((0,s.g)(ue)).onFinish($e=>{1===$e&&Me.elements.length>0&&Me.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)","translateY(40px)").fromTo("opacity",1,0),he.addAnimation(Me)}return he}},1070:(wt,Se,u)=>{"use strict";u.d(Se,{B:()=>lr,F:()=>Qn,G:()=>hr,O:()=>$r,a:()=>Ie,b:()=>ge,c:()=>Pe,d:()=>ur,e:()=>Fn,f:()=>ee,g:()=>se,h:()=>pt,i:()=>jt,j:()=>it,k:()=>Be,m:()=>Me,n:()=>L,o:()=>fe,q:()=>U,s:()=>mn,t:()=>Re});var a=u(467),s=u(8476),w=u(4920),T=u(8669),x=u(4921),F=u(8621),B=u(1970),H=u(4929);const V='[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])',L=(ht,Ot)=>{const It=ht.querySelector(V);le(It,null!=Ot?Ot:ht)},U=(ht,Ot)=>{const It=Array.from(ht.querySelectorAll(V));le(It.length>0?It[It.length-1]:null,null!=Ot?Ot:ht)},le=(ht,Ot)=>
1{let It=ht;const Kt=null==ht?void 0:ht.shadowRoot;Kt&&(It=Kt.querySelector(V)||ht),It?(0,w.f)(It):Ot.focus()};let W=0,q=0;const we=new WeakMap,ue=ht=>({create:Ot=>We(ht,Ot),dismiss:(Ot,It,Kt)=>pe(document,Ot,It,ht,Kt),getTop:()=>(0,a.A)(function*(){return fe(document,ht)})()}),Ie=ue("ion-alert"),ge=ue("ion-action-sheet"),Me=ue("ion-modal"),Pe=ue("ion-popover"),Re=ue("ion-toast"),it=ht=>{typeof document<"u"&&ce(document);const Ot=W++;ht.overlayIndex=Ot},Be=ht=>(ht.hasAttribute("id")||(ht.id="ion-overlay-"+ ++q),ht.id),We=(ht,Ot)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(ht).then(()=>{const It=document.createElement(ht);return It.classList.add("overlay-hidden"),Object.assign(It,Object.assign(Object.assign({},Ot),{hasController:!0})),Ce(document).appendChild(It),new Promise(Kt=>(0,w.c)(It,Kt))}):Promise.resolve(),k=(ht,Ot)=>{let It=ht;const Kt=null==ht?void 0:ht.shadowRoot;Kt&&(It=Kt.querySelector(V)||ht),It?(0,w.f)(It):Ot.focus()},ce=ht=>{0===W&&(W=1,ht.addEventListener("focus",Ot=>{((ht,Ot)=>{const It=fe(Ot,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),Kt=ht.target;It&&Kt&&!It.classList.contains(Qn)&&(It.shadowRoot?(()=>{if(It.contains(Kt))It.lastFocus=Kt;else if("ION-TOAST"===Kt.tagName)k(It.lastFocus,It);else{const Er=It.lastFocus;L(It),Er===Ot.activeElement&&U(It),It.lastFocus=Ot.activeElement}})():(()=>{if(It===Kt)It.lastFocus=void 0;else if("ION-TOAST"===Kt.tagName)k(It.lastFocus,It);else{const Er=(0,w.g)(It);if(!Er.contains(Kt))return;const $n=Er.querySelector(".ion-overlay-wrapper");if(!$n)return;if($n.contains(Kt)||Kt===Er.querySelector("ion-backdrop"))It.lastFocus=Kt;else{const dn=It.lastFocus;L($n,It),dn===Ot.activeElement&&U($n,It),It.lastFocus=Ot.activeElement}}})())})(Ot,ht)},!0),ht.addEventListener("ionBackButton",Ot=>{const It=fe(ht);null!=It&&It.backdropDismiss&&Ot.detail.register(T.OVERLAY_BACK_BUTTON_PRIORITY,()=>{It.dismiss(void 0,lr)})}),(0,T.shouldUseCloseWatcher)()||ht.addEventListener("keydown",Ot=>{if("Escape"===Ot.key){const It=fe(ht);null!=It&&It.backdropDismiss&&It.dismiss(void 0,lr)}}))},pe=(ht,Ot,It,Kt,Zn)=>{const Ir=fe(ht,Kt,Zn);return Ir?Ir.dismiss(Ot,It):Promise.reject("overlay does not exist")},ze=(ht,Ot)=>((ht,Ot)=>(void 0===Ot&&(Ot="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(ht.querySelectorAll(Ot)).filter(It=>It.overlayIndex>0)))(ht,Ot).filter(It=>!(ht=>ht.classList.contains("overlay-hidden"))(It)),fe=(ht,Ot,It)=>{const Kt=ze(ht,Ot);return void 0===It?Kt[Kt.length-1]:Kt.find(Zn=>Zn.id===It)},de=(ht=!1)=>{const It=Ce(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");It&&(ht?It.setAttribute("aria-hidden","true"):It.removeAttribute("aria-hidden"))},ee=function(){var ht=(0,a.A)(function*(Ot,It,Kt,Zn,Ir){var Er,$n;if(Ot.presented)return;de(!0),document.body.classList.add(B.B),cr(Ot.el),Ot.presented=!0,Ot.willPresent.emit(),null===(Er=Ot.willPresentShorthand)||void 0===Er||Er.emit();const dn=(0,x.b)(Ot),Ar=Ot.enterAnimation?Ot.enterAnimation:x.c.get(It,"ios"===dn?Kt:Zn);(yield at(Ot,Ar,Ot.el,Ir))&&(Ot.didPresent.emit(),null===($n=Ot.didPresentShorthand)||void 0===$n||$n.emit()),"ION-TOAST"!==Ot.el.tagName&&$(Ot.el),Ot.keyboardClose&&(null===document.activeElement||!Ot.el.contains(document.activeElement))&&Ot.el.focus(),Ot.el.removeAttribute("aria-hidden")});return function(It,Kt,Zn,Ir,Er){return ht.apply(this,arguments)}}(),$=function(){var ht=(0,a.A)(function*(Ot){let It=document.activeElement;if(!It)return;const Kt=null==It?void 0:It.shadowRoot;Kt&&(It=Kt.querySelector(V)||It),yield Ot.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&It.focus()});return function(It){return ht.apply(this,arguments)}}(),se=function(){var ht=(0,a.A)(function*(Ot,It,Kt,Zn,Ir,Er,$n){var dn,Ar;if(!Ot.presented)return!1;void 0!==s.d&&1===ze(s.d).length&&(de(!1),document.body.classList.remove(B.B)),Ot.presented=!1;try{Ot.el.style.setProperty("pointer-events","none"),Ot.willDismiss.emit({data:It,role:Kt}),null===(dn=Ot.willDismissShorthand)||void 0===dn||dn.emit({data:It,role:Kt});const wr=(0,x.b)(Ot),Yr=Ot.leaveAnimation?Ot.leaveAnimation:x.c.get(Zn,"i
1os"===wr?Ir:Er);Kt!==hr&&(yield at(Ot,Yr,Ot.el,$n)),Ot.didDismiss.emit({data:It,role:Kt}),null===(Ar=Ot.didDismissShorthand)||void 0===Ar||Ar.emit({data:It,role:Kt}),(we.get(Ot)||[]).forEach(mi=>mi.destroy()),we.delete(Ot),Ot.el.classList.add("overlay-hidden"),Ot.el.style.removeProperty("pointer-events"),void 0!==Ot.el.lastFocus&&(Ot.el.lastFocus=void 0)}catch(wr){console.error(wr)}return Ot.el.remove(),Yn(),!0});return function(It,Kt,Zn,Ir,Er,$n,dn){return ht.apply(this,arguments)}}(),Ce=ht=>ht.querySelector("ion-app")||ht.body,at=function(){var ht=(0,a.A)(function*(Ot,It,Kt,Zn){Kt.classList.remove("overlay-hidden");const Er=It(Ot.el,Zn);(!Ot.animated||!x.c.getBoolean("animated",!0))&&Er.duration(0),Ot.keyboardClose&&Er.beforeAddWrite(()=>{const dn=Kt.ownerDocument.activeElement;null!=dn&&dn.matches("input,ion-input, ion-textarea")&&dn.blur()});const $n=we.get(Ot)||[];return we.set(Ot,[...$n,Er]),yield Er.play(),!0});return function(It,Kt,Zn,Ir){return ht.apply(this,arguments)}}(),pt=(ht,Ot)=>{let It;const Kt=new Promise(Zn=>It=Zn);return ct(ht,Ot,Zn=>{It(Zn.detail)}),Kt},ct=(ht,Ot,It)=>{const Kt=Zn=>{(0,w.b)(ht,Ot,Kt),It(Zn)};(0,w.a)(ht,Ot,Kt)},jt=ht=>"cancel"===ht||ht===lr,jn=ht=>ht(),mn=(ht,Ot)=>{if("function"==typeof ht)return x.c.get("_zoneGate",jn)(()=>{try{return ht(Ot)}catch(Kt){throw Kt}})},lr="backdrop",hr="gesture",$r=39,ur=ht=>{let It,Ot=!1;const Kt=(0,F.C)(),Zn=($n=!1)=>{if(It&&!$n)return{delegate:It,inline:Ot};const{el:dn,hasController:Ar,delegate:ei}=ht;return Ot=null!==dn.parentNode&&!Ar,It=Ot?ei||Kt:ei,{inline:Ot,delegate:It}};return{attachViewToDom:function(){var $n=(0,a.A)(function*(dn){const{delegate:Ar}=Zn(!0);if(Ar)return yield Ar.attachViewToDom(ht.el,dn);const{hasController:ei}=ht;if(ei&&void 0!==dn)throw new Error("framework delegate is missing");return null});return function(Ar){return $n.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:$n}=Zn();$n&&void 0!==ht.el&&$n.removeViewFromDom(ht.el.parentElement,ht.el)}}},Fn=()=>{let ht;const Ot=()=>{ht&&(ht(),ht=void 0)};return{addClickListener:(Kt,Zn)=>{Ot();const Ir=void 0!==Zn?document.getElementById(Zn):null;Ir?ht=(($n,dn)=>{const Ar=()=>{dn.present()};return $n.addEventListener("click",Ar),()=>{$n.removeEventListener("click",Ar)}})(Ir,Kt):(0,H.p)(`A trigger element with the ID "${Zn}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,Kt)},removeClickListener:Ot}},cr=ht=>{var Ot;if(void 0===s.d)return;const It=ze(s.d);for(let Kt=It.length-1;Kt>=0;Kt--){const Zn=It[Kt],Ir=null!==(Ot=It[Kt+1])&&void 0!==Ot?Ot:ht;(Ir.hasAttribute("aria-hidden")||"ION-TOAST"!==Ir.tagName)&&Zn.setAttribute("aria-hidden","true")}},Yn=()=>{if(void 0===s.d)return;const ht=ze(s.d);for(let Ot=ht.length-1;Ot>=0;Ot--){const It=ht[Ot];if(It.removeAttribute("aria-hidden"),"ION-TOAST"!==It.tagName)break}},Qn="ion-disable-focus-trap"},8855:(wt,Se,u)=>{"use strict";u.d(Se,{n:()=>B});var a=u(7376),w=u(3953),T=u(177),x=u(5374);function F(H,V){if(1&H&&(w.j41(0,"ion-badge"),w.EFF(1),w.k0s()),2&H){const L=w.XpG();w.HbH(L.classes),w.AVh("only-dot",L.onlyDot)("small",L.small),w.R7$(),w.SpI(" ",!L.text||L.onlyDot?" ":L.text,"\n")}}let B=(()=>{var H;class V{constructor(){this.color="primary",this.switch=!1,this.invert=!1,this.isMinimal=!1,this.small=!1,this.hideNil=!1}get isZero(){return(0,a.isFinite)(this.text)?0===this.text:this.hideNil}get onlyDot(){return this.isMinimal||!this.text}get classes(){let U=`text-${this.color}`,le=`bg-${this.color}`;return this.invert?le+="-contrast":U+="-contrast",this.switch&&(U+="-switch",le+="-switch"),`${U} ${le}`}}return(H=V).\u0275fac=function(U){return new(U||H)},H.\u0275cmp=w.VBU({type:H,selectors:[["app-badge"]],inputs:{text:"text",color:"color",switch:"switch",invert:"invert",isMinimal:"isMinimal",small:"small",hideNil:"hideNil"},decls:1,vars:1,consts:[[3,"class","only-dot","small",4,"ngIf"]],template:function(U,le){1&U&&w.DNE(0,F,2,7,"ion-badge",0),2&U&&w.Y8G("ngIf",!le.isZero)},dependencies:[T.bT,x.In],styles:["[_nghost-%COMP%]{display:flex;place-items:center;place-content:center;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;overflow:hidden}ion-badge[_ngcontent-%COMP%]{display:block;height:auto;font-size:12px;line-height:1}ion-badge[_ngcontent-%COMP%]:not(.only-dot){contain:none}ion-badge.small[_ngcontent-%COMP%]{-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:2px;padding-bottom:2px}ion-badge.only-dot[_ngcontent-%COMP%]{font-size:0;line-height:0;width:8px;height:8px;padding:0;min-width:unset}ion-badge.only-dot.small[_ngcontent-%COMP%]{width:6px;height:6px}"]}),V})()},9155:(wt,Se,u)=>{"use strict";u.d(Se,{$:()=>x});var a=u(4412),s=u(546),w=u(3716),T=u(3953);let x=(()=>{var F;class B extends s.C{constructor(){super(...arguments),this.isLoading$=new a.t(!1),this.hasError$=new a.t(!1),this.isEmpty$=new a.t(!1),this.isDisabled=!1,this.routerLink="",this.textOnError=w.g.HasError}}return(F=B).\u0275fac=(()=>{let H;return function(L){return(H||(H=T.xGo(F)))(L||F)}})(),F.\u0275cmp=T.VBU({type:F,selectors:[["app-base"]],inputs:{isLoading$:"isLoading$",hasError$:"hasError$",isEmpty$:"isEmpty$",isDisabled:"isDisabled",routerLink:"routerLink",textOnError:"textOnError",errorMessage:"errorMessage"},features:[T.Vt3],decls:0,vars:0,template:function(V,L){},encapsulation:2}),B})()},8599:(wt,Se,u)=>{"use strict";u.d(Se,{V:()=>Ae});var a=u(3953),s=u(7376),w=u(1594),T=u(253),x=u(1985),F=u(8750),B=u(2326),H=u(4360);var U=u(1807),le=u(8141),W=u(5558),q=u(7673),we=u(6354),ue=u(980),Ie=u(9437),ge=u(8810),he=u(5964),Me=u(3028),$e=u(1897),Pe=u(9155),Re=u(7509),it=u(4284);let Ae=(()=>{var k;class z extends Pe.${constructor(pe,ve,ze){super(),this.changeDetectionRef=pe,this.modalService=ve,this.hapticsService=ze,this.disabled=!1,this.stopEventPropagation=!1,this.loadingDelay=100,this.minLoadingTime=500,this.onClick=new a.bkB,this.onLongPress=new a.bkB,this.isErrorModalOpen=!1,this.isClickFrozen=!1}hapticsOnNavigationClick(){this.routerLink&&(!Array.isArray(this.routerLink)||this.routerLink.length>0)&&this.hapticsService.navigationFeedback()}click(pe){if(this.disabled)return void pe.preventDefault();if(this.isClickFrozen)return;if(this.stopEventPropagation&&pe.stopPropagation(),(0,s.isNil)(this.click$)&&!this.onClick.observed)return void this.hapticsOnNavigationClick();if("none"!==this.hapticsStyle&&(this.hapticsStyle&&"function"==typeof this.hapticsService[this.hapticsStyle]?this.hapticsService[this.hapticsStyle]():this.hapticsService.interactionFeedback()),(0,s.isNil)(this.click$))return this.onClick.emit(pe),void setTimeout(()=>{this.isClickFrozen=!1},500);this.hasError$.next(!1),this.isClickFrozen=!0;const ve=performance.now(),ze=this.click$.pipe((0,w.$)(),(0,T.t)(1));(function V(...k){return 1===(k=(0,B.K)(k)).length?(0,F.Tg)(k[0]):new x.c(function L(k){return z=>{let ce=[];for(let pe=0;ce&&!z.closed&&pe<k.length;pe++)ce.push((0,F.Tg)(k[pe]).subscribe((0,H._)(z,ve=>{if(ce){for(let ze=0;ze<ce.length;ze++)ze!==pe&&ce[ze].unsubscribe();ce=null}z.next(ve)})))}}(k))})(ze,(0,U.O)(this.loadingDelay).pipe((0,le.M)(()=>{this.isLoading$.next(!0),this.changeDetectionRef.detectChanges()}),(0,W.n)(()=>ze))).pipe((0,W.n)(fe=>{const de=performance.now()-ve;if(de<this.loadingDelay)return(0,q.of)(fe);const $=Math.max(0,this.minLoadingTime-(de-this.loadingDelay));return(0,U.O)($).pipe((0,we.T)(()=>fe))}),(0,ue.j)(()=>{this.isClickFrozen=!1,this.isLoading$.next(!1),this.changeDetectionRef.detectChanges()}),(0,Ie.W)(fe=>(this.isClickFrozen=!1,this.isLoading$.next(!1),this.hasError$.next(!0),this.errorMessage="{}"===JSON.stringify(fe)?fe:JSON.stringify(fe),this.textOnError=fe.textOnError,this.changeDetectionRef.detectChanges(),"none"!==this.hapticsStyle&&this.hapticsService.error(),(0,ge.$)(()=>fe)))).subscribe()}onTouchStart(pe){this.startLongPress(pe)}onPressStart(pe){this.startLongPress(pe)}onTouchEnd(pe){this.endLongPress(pe)}onClickEnd(pe){this.endLongPress(pe)}startLongPress(pe){this.timer=setTimeout(()=>{this.onLongPress.emit(pe),this.hasError$.pipe((0,w.$)(),(0,he.p)(ve=>ve),(0,le.M)(()=>this.hapticsService.heavy()),(0,Me.Z)(()=>this.modalService.show$({component:$e.L,componentProps:{errorMessage:this.errorMessage},style:"sheet",breakpoints:[0,.25,.5,.75,1]}))).subscribe()},750)}endLongPress(pe){clearTimeout(this.timer)}clickEvent(pe){this.click(pe)}}
1return(k=z).\u0275fac=function(pe){return new(pe||k)(a.rXU(a.gRc),a.rXU(Re.B),a.rXU(it.o))},k.\u0275cmp=a.VBU({type:k,selectors:[["app-clickable-base"]],hostBindings:function(pe,ve){1&pe&&a.bIt("touchstart",function(fe){return ve.onTouchStart(fe)})("mousedown",function(fe){return ve.onPressStart(fe)})("touchend",function(fe){return ve.onTouchEnd(fe)})("mouseup",function(fe){return ve.onClickEnd(fe)})("click",function(fe){return ve.clickEvent(fe)})},inputs:{click$:"click$",disabled:"disabled",stopEventPropagation:"stopEventPropagation",hapticsStyle:"hapticsStyle",loadingDelay:"loadingDelay",minLoadingTime:"minLoadingTime"},outputs:{onClick:"onClick",onLongPress:"onLongPress"},features:[a.Vt3],decls:0,vars:0,template:function(pe,ve){},encapsulation:2}),z})()},2709:(wt,Se,u)=>{"use strict";u.d(Se,{Q:()=>ue});var a=u(7376),w=u(8599),T=u(3953),x=u(177),F=u(5374),B=u(999);function H(Ie,ge){if(1&Ie&&(T.j41(0,"span",7),T.nrm(1,"i"),T.k0s()),2&Ie){const he=T.XpG(2);T.R7$(),T.HbH(he.AppIcons.HasError)}}function V(Ie,ge){if(1&Ie&&(T.j41(0,"div",8),T.nrm(1,"app-spinner",9),T.k0s()),2&Ie){const he=T.XpG(2);T.R7$(),T.Y8G("size",he.size)}}function L(Ie,ge){if(1&Ie&&T.nrm(0,"i",10),2&Ie){const he=T.XpG(2);T.ZvI("icon icon-left ",he.icon,""),T.Y8G("ngStyle",he.iconOffsetStyle)}}function U(Ie,ge){if(1&Ie&&T.nrm(0,"i",10),2&Ie){const he=T.XpG(2);T.ZvI("icon icon-middle ",he.icon,""),T.Y8G("ngStyle",he.iconOffsetStyle)}}function le(Ie,ge){if(1&Ie&&(T.j41(0,"span",11),T.EFF(1),T.k0s()),2&Ie){const he=T.XpG(2);T.R7$(),T.SpI(" ",he.text," ")}}function W(Ie,ge){if(1&Ie&&T.nrm(0,"i",10),2&Ie){const he=T.XpG(2);T.ZvI("icon icon-right ",he.icon,""),T.Y8G("ngStyle",he.iconOffsetStyle)}}function q(Ie,ge){if(1&Ie&&(T.j41(0,"ion-button",2),T.DNE(1,H,2,3,"span",3),T.nI1(2,"async"),T.DNE(3,V,2,1,"div",4),T.nI1(4,"async"),T.nI1(5,"async"),T.DNE(6,L,1,4,"i",5)(7,U,1,4,"i",5),T.nI1(8,"async"),T.nI1(9,"async"),T.DNE(10,le,2,1,"span",6)(11,W,1,4,"i",5),T.k0s()),2&Ie){const he=T.XpG();T.AVh("square",he.isIconMiddle),T.Y8G("expand",he.expand)("size",he.ionSize)("shape",he.ionShape)("fill",he.ionFill)("disabled",he.disabled)("ngClass",he.classes)("href",he.href)("target",he.target)("tabindex",he.tabindex),T.R7$(),T.Y8G("ngIf",T.bMT(2,17,he.hasError$)),T.R7$(2),T.Y8G("ngIf",!1===T.bMT(4,19,he.hasError$)&&T.bMT(5,21,he.isLoading$)),T.R7$(3),T.Y8G("ngIf",he.isIconLeft),T.R7$(),T.Y8G("ngIf",he.isIconMiddle&&!T.bMT(8,23,he.hasError$)&&!T.bMT(9,25,he.isLoading$)),T.R7$(3),T.Y8G("ngIf",he.text),T.R7$(),T.Y8G("ngIf",he.isIconRight)}}function we(Ie,ge){if(1&Ie){const he=T.RV6();T.j41(0,"ion-back-button",12),T.bIt("click",function(){T.eBV(he);const $e=T.XpG();return T.Njj($e.hapticsService.navigationFeedback())}),T.k0s()}if(2&Ie){let he;const Me=T.XpG();T.Y8G("ngClass",Me.classes)("text",null!==(he=Me.text)&&void 0!==he?he:"")("defaultHref",Me.defaultHref)}}let ue=(()=>{var Ie;class ge extends w.V{constructor(){super(...arguments),this.iconPosition="left",this.iconOffset={},this.fill="filled",this.size="medium",this.role="neutral",this.color="secondary",this.gradient=!1,this.invert=!1,this.shape="round",this.isBackButton=!1,this.classes=[]}get hostExpandClass(){return!(0,a.isNil)(this.expand)}ngOnInit(){void 0===this.text&&void 0===this.icon&&(this.icon="fa-solid fa-chevron-right"),this.gradient&&"plain"==this.fill&&(this.icon+=" text-"+this.color+"-gradient")}ngOnChanges(){this.classes=[],this.ionSize=this.getIonSize(),this.ionFill=this.getIonFill(),this.ionShape=this.getIonShape(),this.isIconLeft=void 0!==this.icon&&"left"===this.iconPosition&&void 0!==this.text,this.isIconRight=void 0!==this.icon&&"right"===this.iconPosition&&void 0!==this.text,this.isIconMiddle=void 0!==this.icon&&void 0===this.text,this.setColors(),this.setRole()}get iconOffsetStyle(){return{position:"relative",...Object.entries(this.iconOffset).reduce((Me,[$e,Pe])=>({...Me,[$e]:`${Pe}px`}),{})}}setColors(){let Me=`${this.color}-contrast`,$e=`${this.color}`;if("destructive"===this.role&&(Me="danger-contrast",$e="danger"),this.invert){const Pe=$e;$e=Me,Me=Pe}switch(this.fill){case"filled":this.classes.push(`--text-${Me}-switch`),this.classes.push(`--bg-${$e}${this.gradient?"-gradient":"-switch"}`);break;case"plain":this.classes.push(`--text-${$e}${this.invert?"":"-switch"}`),this.classes.push("--bg-transparent");break;case"tinted":this.classes.push(`--text-${$e}-switch`),this.classes.push("--bg-primary-light");break;case"gray":this.classes.push(`--text-${$e}`),this.classes.push("--bg-light");break;case"outline":const Pe=$e+(this.invert?"":"-switch");this.classes.push(`--text-${Pe} --border-${Pe} --bg-activated-${Pe} --bg-focused-${Pe}`),this.classes.push("--bg-transparent");break;default:this.classes.push(`--text-${Me}-switch`),this.classes.push(`--bg-${$e}-switch`)}}setRole(){"primary"===this.role&&this.classes.push("primary"),"normal"===this.role&&this.classes.push("normal")}getIonSize(){return this.classes.push({xsmall:"small",small:"small",medium:"medium",large:"large",xlarge:"large",relative:"medium"}[this.size]),{xsmall:"small",small:"small",medium:"default",large:"large",xlarge:"large",relative:"default"}[this.size]}getIonFill(){return"plain"===this.fill&&this.classes.push("plain"),{filled:"clear",outline:"outline",gray:"clear",tinted:"clear",plain:"clear"}[this.fill]}
1getIonShape(){if("full"!==this.expand&&"round"===this.shape)return"round"}}return(Ie=ge).\u0275fac=(()=>{let he;return function($e){return(he||(he=T.xGo(Ie)))($e||Ie)}})(),Ie.\u0275cmp=T.VBU({type:Ie,selectors:[["app-button"]],hostVars:2,hostBindings:function(Me,$e){2&Me&&T.AVh("expand",$e.hostExpandClass)},inputs:{text:"text",icon:"icon",iconPosition:"iconPosition",iconOffset:"iconOffset",fill:"fill",size:"size",role:"role",color:"color",gradient:"gradient",invert:"invert",expand:"expand",shape:"shape",href:"href",target:"target",isBackButton:"isBackButton",defaultHref:"defaultHref",tabindex:"tabindex"},features:[T.Vt3,T.OA$],decls:2,vars:2,consts:[[3,"square","expand","size","shape","fill","disabled","ngClass","href","target","tabindex",4,"ngIf"],[3,"ngClass","text","defaultHref","click",4,"ngIf"],[3,"expand","size","shape","fill","disabled","ngClass","href","target","tabindex"],["class","error icon-left icon",4,"ngIf"],["class","loading",4,"ngIf"],[3,"class","ngStyle",4,"ngIf"],["class","text",4,"ngIf"],[1,"error","icon-left","icon"],[1,"loading"],[3,"size"],[3,"ngStyle"],[1,"text"],[3,"click","ngClass","text","defaultHref"]],template:function(Me,$e){1&Me&&T.DNE(0,q,12,27,"ion-button",0)(1,we,1,3,"ion-back-button",1),2&Me&&(T.Y8G("ngIf",!$e.isBackButton),T.R7$(),T.Y8G("ngIf",$e.isBackButton))},dependencies:[x.YU,x.bT,x.B3,F.Jm,F.el,B.t,x.Jj],styles:["[_nghost-%COMP%]{display:inline-block}.expand[_nghost-%COMP%]{display:block}.square[_ngcontent-%COMP%]{aspect-ratio:1}.small[_ngcontent-%COMP%]{--padding-start: 10px;--padding-end: 10px;--padding-top: 8px;--padding-bottom: 8px;min-height:33px}.small[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%]{margin-right:4px}.small[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]{margin-left:4px}.small[_ngcontent-%COMP%] .loading[_ngcontent-%COMP%]{margin-right:4px}.small.plain[_ngcontent-%COMP%]{--padding-start: 4px;--padding-end: 8px}.medium[_ngcontent-%COMP%]{--padding-start: 16px;--padding-end: 16px}.medium[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%]{margin-right:6px}.medium[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]{margin-left:6px}.medium[_ngcontent-%COMP%] .loading[_ngcontent-%COMP%]{margin-right:6px}.large[_ngcontent-%COMP%]{--padding-start: 20px;--padding-end: 20px}.large[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%]{margin-right:8px}.large[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]{margin-left:8px}.large[_ngcontent-%COMP%] .loading[_ngcontent-%COMP%]{margin-right:8px}.plain[_ngcontent-%COMP%]{--padding-start: 6px;--padding-end: 6px}.normal[_ngcontent-%COMP%]{font-weight:600}.primary[_ngcontent-%COMP%]{font-weight:600;text-transform:uppercase}.loading[_ngcontent-%COMP%]:only-child{margin-right:0!important}.loading[_ngcontent-%COMP%] app-spinner[_ngcontent-%COMP%]{display:block}"],changeDetection:0}),ge})()},2400:(wt,Se,u)=>{"use strict";u.d(Se,{E:()=>H});var a=u(8599),s=u(3953),w=u(177),T=u(999);const x=["*"];function F(V,L){if(1&V&&(s.j41(0,"span",4),s.nrm(1,"i"),s.k0s()),2&V){const U=s.XpG();s.R7$(),s.HbH(U.AppIcons.HasError)}}function B(V,L){1&V&&(s.j41(0,"div",5),s.nrm(1,"app-spinner",6),s.k0s())}let H=(()=>{var V;class L extends a.V{constructor(){super(...arguments),this.hideError=!1,this.arrange="vertical",this.hasHoverHighlight=!0}get hostClasses(){return this.arrange+(this.hasHoverHighlight&&!this.isDisabled?" hover-highlight":"")}}return(V=L).\u0275fac=(()=>{let U;return function(W){return(U||(U=s.xGo(V)))(W||V)}})(),V.\u0275cmp=s.VBU({type:V,selectors:[["app-clickable"]],hostVars:2,hostBindings:function(le,W){2&le&&s.HbH(W.hostClasses)},inputs:{hideError:"hideError",arrange:"arrange",hasHoverHighlight:"hasHoverHighlight"},features:[s.Vt3],ngContentSelectors:x,decls:8,vars:8,consts:[[1,"content"],[1,"loading-error"],["class","error",4,"ngIf"],["class","loading",4,"ngIf"],[1,"error"],[1,"loading"],["size","medium"]],template:function(le,W){1&le&&(s.NAR(),s.j41(0,"div",0),s.SdG(1),s.k0s(),s.j41(2,"div",1),s.DNE(3,F,2,3,"span",2),s.nI1(4,"async"),s.DNE(5,B,2,0,"div",3),s.nI1(6,"async"),s.nI1(7,"async"),s.k0s()),2&le&&(s.R7$(3),s.Y8G("ngIf",s.bMT(4,2,W.hasError$)&&!W.hideError),s.R7$(2),s.Y8G("ngIf",!1===s.bMT(6,4,W.hasError$)&&s.bMT(7,6,W.isLoading$)))},dependencies:[w.bT,T.t,w.Jj],styles:["[_nghost-%COMP%]{pointer-events:auto;transition:all .2s ease-in-out}@media (hover: hover){.hover-highlight[_nghost-%COMP%]:hover{opacity:.7;filter:contrast(.7)}}@media not all and (hover: none){.hover-highlight[_nghost-%COMP%]:active{opacity:.7;filter:contrast(.7)}}.vertical[_nghost-%COMP%]{display:block}.horizontal[_nghost-%COMP%]{display:flex;justify-content:space-between}.horizontal[_nghost-%COMP%] .content[_ngcontent-%COMP%]{flex:0 1 auto;overflow:hidden}.horizontal[_nghost-%COMP%] .loading-error[_ngcontent-%COMP%]{align-self:center;text-align:right;line-height:1}.content[_ngcontent-%COMP%]{cursor:pointer}"],changeDetection:0}),L})()},7077:(wt,Se,u)=>{"use strict";u.d(Se,{i:()=>F});var a=u(3953),s=u(177),w=u(5374);const T=["*"],x=B=>({card:!0,"margin-padding":B});let F=(()=>{var B;class H{constructor(){this.hasNoMarginAndPadding=!1}}return(B=H).\u0275fac=function(L){return new(L||B)},B.\u0275cmp=a.VBU({type:B,selectors:[["app-card"]],inputs:{hasNoMarginAndPadding:"hasNoMarginAndPadding"},ngContentSelectors:T,decls:3,vars:3,consts:[[3,"ngClass"],[1,"content"]],template:function(L,U){1&L&&(a.NAR(),a.j41(0,"div",0)(1,"ion-card-content",1),a.SdG(2),a.k0s()()),2&L&&a.Y8G("ngClass",a.eq3(1,x,!U.hasNoMarginAndPadding))},dependencies:[s.YU,w.I9],styles:["[_nghost-%COMP%]{display:block}
1.card[_ngcontent-%COMP%]{border-radius:var(--card-border-radius);padding:0;margin:0;--background: var(--card-background);background-color:var(--card-background);color:var(--text-color)}.content[_ngcontent-%COMP%]{padding:0}.margin-padding[_ngcontent-%COMP%]{margin:16px;padding:16px}"]}),H})()},3036:(wt,Se,u)=>{"use strict";u.d(Se,{w:()=>Pe});var a=u(3953),s=u(9417),w=u(7376),x=u(9155),F=u(6198),B=u(177),H=u(5374),V=u(675),L=u(1695),U=u(2400);const le=["select"],W=["*"];function q(Re,it){1&Re&&a.eu8(0)}function we(Re,it){if(1&Re){const Be=a.RV6();a.qex(0),a.j41(1,"app-clickable",6),a.bIt("onClick",function(){a.eBV(Be);const Ae=a.XpG();return a.Njj(Ae.click())}),a.DNE(2,q,1,0,"ng-container",7),a.k0s(),a.bVm()}if(2&Re){const Be=a.XpG(),We=a.sdS(8);a.R7$(),a.Y8G("disabled",Be.isDisabled),a.R7$(),a.Y8G("ngTemplateOutlet",We)}}function ue(Re,it){if(1&Re&&(a.j41(0,"option",8),a.EFF(1),a.k0s()),2&Re){let Be;const We=it.$implicit;a.Y8G("value",We.value),a.R7$(),a.SpI(" ",null!==(Be=We.extendedLabel)&&void 0!==Be?Be:We.label," ")}}function Ie(Re,it){1&Re&&a.eu8(0)}function ge(Re,it){if(1&Re){const Be=a.RV6();a.j41(0,"app-item",13),a.bIt("onClick",function(){const Ae=a.eBV(Be).$implicit,k=a.XpG(3);return a.Njj(k.onSelectPopoverChange(Ae.value))}),a.EFF(1),a.k0s()}if(2&Re){let Be;const We=it.$implicit,Ae=it.index,k=a.XpG(3);a.AVh("selected",k.isNil(k.value)&&k.isNil(We.value)||k.isEqual(We.value,k.value)),a.Y8G("line",k.options&&Ae!=k.options.length-1?"inset":"none"),a.R7$(),a.SpI(" ",null!==(Be=We.extendedLabel)&&void 0!==Be?Be:We.label," ")}}function he(Re,it){if(1&Re&&(a.j41(0,"ion-content",11),a.DNE(1,ge,2,4,"app-item",12),a.k0s()),2&Re){const Be=a.XpG(2);a.R7$(),a.Y8G("ngForOf",Be.options)}}function Me(Re,it){if(1&Re&&(a.qex(0),a.j41(1,"app-clickable",9),a.DNE(2,Ie,1,0,"ng-container",7),a.k0s(),a.j41(3,"ion-popover",10),a.DNE(4,he,2,1,"ng-template"),a.k0s(),a.bVm()),2&Re){const Be=a.XpG(),We=a.sdS(8);a.R7$(),a.Y8G("id","select-trigger-"+Be.randomString)("disabled",Be.isDisabled),a.R7$(),a.Y8G("ngTemplateOutlet",We),a.R7$(),a.Y8G("trigger","select-trigger-"+Be.randomString)("dismissOnSelect",!0)("arrow",!1)}}function $e(Re,it){1&Re&&a.SdG(0)}let Pe=(()=>{var Re;class it extends x.${constructor(We){super(),this.deviceService=We,this.selectionChange=new a.bkB,this.onChange=Ae=>{},this.onTouched=()=>{},this.randomString=Math.random().toString(36).slice(2,11),this.isEqual=w.isEqual,this.isNil=w.isNil}ngOnInit(){null!=this.standardValue&&(this.value=this.standardValue,this.selectedValue=this.value)}onSelectChange(We){var Ae;const k=null===(Ae=this.options)||void 0===Ae||null===(Ae=Ae.find(z=>z.value==We||!0===z.value&&"true"===We||!1===z.value&&"false"===We))||void 0===Ae?void 0:Ae.value;this.selectionChange.emit(k),this.writeValue(k),this.onTouched()}onSelectNativeChange(We){this.onSelectChange(this.selectedValue)}onSelectPopoverChange(We){this.onSelectChange(We)}click(){console.log(this.select.nativeElement),this.select.nativeElement.dispatchEvent(new MouseEvent("mousedown",{bubbles:!1,cancelable:!0,view:window}))}writeValue(We){var Ae;this.value=We,this.selectedLabel=null===(Ae=this.options)||void 0===Ae||null===(Ae=Ae.find(k=>k.value==this.value))||void 0===Ae?void 0:Ae.label,this.onChange(We),this.selectElement&&(this.selectElement.value=We)}registerOnChange(We){this.onChange=We}registerOnTouched(We){this.onTouched=We}setDisabledState(We){this.isDisabled=We}validate(We){return this.control=We,null}}return(Re=it).\u0275fac=function(We){return new(We||Re)(a.rXU(F.g))},Re.\u0275cmp=a.VBU({type:Re,selectors:[["app-select"]],viewQuery:function(We,Ae){if(1&We&&(a.GBs(le,7),a.GBs(le,7)),2&We){let k;a.mGM(k=a.lsd())&&(Ae.selectElement=k.first),a.mGM(k=a.lsd())&&(Ae.select=k.first)}},inputs:{standardValue:"standardValue",options:"options"},outputs:{selectionChange:"selectionChange"},features:[a.Jv_([{provide:s.kq,useExisting:(0,a.Rfq)(()=>Re),multi:!0},{provide:s.cz,useExisting:(0,a.Rfq)(()=>Re),multi:!0}]),a.Vt3],ngContentSelectors:W,decls:9,vars:8,consts:[["select",""],["content",""],[1,"custom-select-wrapper"],[4,"appPlatform"],[1,"hidden-select",3,"ngModelChange","change","ngModel"],[3,"value",4,"ngFor","ngForOf"],[1,"custom-select",3,"onClick","disabled"],[4,"ngTemplateOutlet"],[3,"value"],[1,"clickable",3,"id","disabled"],["triggerAction","click",3,"trigger","dismissOnSelect","arrow"],[1,"--bg-plain"],[3,"line","selected","onClick",4,"ngFor","ngForOf"],[3,"onClick","line"]],template:function(We,Ae){if(1&We){const k=a.RV6();a.NAR(),a.j41(0,"div",2),a.DNE(1,we,3,2,"ng-container",3),a.j41(2,"select",4,0),a.nI1(4,"async"),a.mxI("ngModelChange",function(ce){return a.eBV(k),a.DH7(Ae.selectedValue,ce)||(Ae.selectedValue=ce),a.Njj(ce)}),a.bIt("change",function(ce){return a.eBV(k),a.Njj(Ae.onSelectNativeChange(ce))}),a.DNE(5,ue,2,2,"option",5),a.k0s(),a.DNE(6,Me,5,6,"ng-container",3),a.k0s(),a.DNE(7,$e,1,0,"ng-template",null,1,a.C5r)}2&We&&(a.R7$(),a.Y8G("appPlatform","ios"),a.R7$(),a.AVh("is-used",a.bMT(4,6,Ae.deviceService.isIos$)),a.R50("ngModel",Ae.selectedValue),a.R7$(3),a.Y8G("ngForOf",Ae.options),a.R7$(),a.Y8G("appPlatform","not-ios"))},dependencies:[B.Sq,B.T3,H.W9,H.CF,s.xH,s.y7,s.wz,s.BC,s.vS,V.B,L.J,U.E,B.Jj],styles:["[_nghost-%COMP%]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.custom-select-wrapper[_ngcontent-%COMP%], .custom-select[_ngcontent-%COMP%]{position:relative}.hidden-select[_ngcontent-%COMP%]{position:absolute;opacity:0;top:0;right:0;bottom:0;left:0;z-index:1;width:100%}.hidden-select[_ngcontent-%COMP%]:not(.is-used){cursor:pointer;pointer-events:none}.selected[_ngcontent-%COMP%]{background-color:var(--app-color-primary-contrast);color:var(--app-color-primary)}select[_ngcontent-%COMP%]::-webkit-inner-spin-button, select[_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}select[_ngcontent-%COMP%]::-ms-expand{display:none}option[_ngcontent-%COMP%]:checked{background-color:#f8f8f8;background-image:none;color:#333}ion-popover[_ngcontent-%COMP%]{--offset-y: .5rem}"]}),it})()},1367:(wt,Se,u)=>{"use strict";u.d(Se,{R:()=>le});var a=u(9155),s=u(3953),w=u(177),T=u(999);const x=(W,q,we)=>[W,q,we];function F(W,q){if(1&W&&s.nrm(0,"i"),2&W){const we=s.XpG(2);s.ZWY("background ",we.size," fa fa-","round"===we.shape?"circle":"square"," fa-stack-1x color-",we.color,"")}}function B(W,q){if(1&W&&(s.qex(0),s.j41(1,"span",3),s.DNE(2,F,1,5,"i",4),s.nrm(3,"i",5),s.k0s(),s.bVm()),2&W){let we;const ue=s.XpG();s.R7$(2),s.Y8G("ngIf","filled"===ue.fill),s.R7$(),s.Y8G("ngClass",s.sMw(2,x,null!==(we=ue.name)&&void 0!==we?we:"",ue.size,"text-"+ue.color+(ue.gradient?"-gradient":"")))}}function H(W,q){if(1&W&&s.nrm(0,"i"),2&W){const we=s.XpG(2);s.STu("fa fa-","round"===we.shape?"circle":"square"," fa-stack-2x color-",we.color,"")}}function V(W,q){if(1&W&&(s.j41(0,"span",6)(1,"span"),s.DNE(2,H,1,4,"i",4),s.nrm(3,"app-spinner",7),s.k0s()()),2&W){const we=s.XpG();s.R7$(),s.ZvI("fa-stack fa-1x icon-container ",we.size," "),s.R7$(),s.Y8G("ngIf","filled"===we.fill),s.R7$(),s.Y8G("size",we.size)}}function L(W,q){if(1&W&&s.nrm(0,"i"),2&W){const we=s.XpG(2);s.ZvI("fa fa-","round"===we.shape?"circle":"square"," fa-stack-2x color-danger")}}function U(W,q){if(1&W&&(s.j41(0,"span",8)(1,"span"),s.DNE(2,L,1,3,"i",4),s.nrm(3,"i"),s.k0s()()),2&W){const we=s.XpG();s.R7$(),s.ZvI("fa-stack fa-1x icon-container ",we.size," "),s.R7$(),s.Y8G("ngIf","filled"===we.fill),s.R7$(),s.STu("icon ",we.AppIcons.HasError," fa-stack-1x color-","plain"===we.fill?"danger":"white","")}}let le=(()=>{var W;class q extends a.${constructor(){super(),this.size="medium",this.fill="plain",this.shape="square",this.color="secondary",this.gradient=!0}ngOnInit(){void 0===this.name&&this.hasError$.next(!0)}}return(W=q).\u0275fac=function(ue){return new(ue||W)},W.\u0275cmp=s.VBU({type:W,selectors:[["app-icon"]],inputs:{name:"name",size:"size",fill:"fill",shape:"shape",color:"color",gradient:"gradient"},features:[s.Vt3],decls:8,vars:13,consts:[[4,"ngIf"],["class","loading",4,"ngIf"],["class","error",4,"ngIf"],[1,"fa-stack","fa-1x","icon-container","fa-fw"],[3,"class",4,"ngIf"],[1,"icon","fa-stack-1x",3,"ngClass"],[1,"loading"],[1,"loading",3,"size"],[1,"error"]],template:function(ue,Ie){1&ue&&(s.DNE(0,B,4,6,"ng-container",0),s.nI1(1,"async"),s.nI1(2,"async"),s.DNE(3,V,4,5,"span",1),s.nI1(4,"async"),s.nI1(5,"async"),s.DNE(6,U,4,8,"span",2),s.nI1(7,"async")),2&ue&&(s.Y8G("ngIf",!1===s.bMT(1,3,Ie.isLoading$)&&!1===s.bMT(2,5,Ie.hasError$)),s.R7$(3),s.Y8G("ngIf",!1===s.bMT(4,7,Ie.hasError$)&&s.bMT(5,9,Ie.isLoading$)),s.R7$(3),s.Y8G("ngIf",s.bMT(7,11,Ie.hasError$)))},dependencies:[w.YU,w.bT,T.t,w.Jj],styles:["[_nghost-%COMP%]{display:inline-block}.icon-container[_ngcontent-%COMP%]{font-size:inherit;margin:-4px}.icon-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{text-align:center;font-size:inherit;transition:all .2s ease-in-out}.icon-container[_ngcontent-%COMP%] .icon.xsmall[_ngcontent-%COMP%]{font-size:.75rem}.icon-container[_ngcontent-%COMP%] .icon.small[_ngcontent-%COMP%]{font-size:1rem}
1.icon-container[_ngcontent-%COMP%] .icon.medium[_ngcontent-%COMP%]{font-size:1.2rem}.icon-container[_ngcontent-%COMP%] .icon.large[_ngcontent-%COMP%]{font-size:1.4rem}.icon-container[_ngcontent-%COMP%] .icon.xlarge[_ngcontent-%COMP%]{font-size:2rem}.icon-container[_ngcontent-%COMP%] .icon.relative[_ngcontent-%COMP%]{font-size:inherit;transform:translateY(-1px)}.icon-container[_ngcontent-%COMP%] .background.xsmall[_ngcontent-%COMP%]{font-size:.8rem}.icon-container[_ngcontent-%COMP%] .background.small[_ngcontent-%COMP%]{font-size:2rem}.icon-container[_ngcontent-%COMP%] .background.medium[_ngcontent-%COMP%]{font-size:2.4rem}.icon-container[_ngcontent-%COMP%] .background.large[_ngcontent-%COMP%]{font-size:2.8rem}.icon-container[_ngcontent-%COMP%] .background.xlarge[_ngcontent-%COMP%]{font-size:4rem}.icon-container[_ngcontent-%COMP%] .loading[_ngcontent-%COMP%]{position:relative;top:10%;left:25%}"],changeDetection:0}),q})()},7791:(wt,Se,u)=>{"use strict";u.d(Se,{_:()=>it});var a=u(1413),s=u(6977),w=u(1695),T=u(3953),x=u(177),F=u(5374),B=u(803),H=u(1367),V=u(7077),L=u(7454),U=u(1524);const le=["*"];function W(Be,We){if(1&Be&&T.nrm(0,"app-icon",10),2&Be){const Ae=T.XpG(2);T.Y8G("name",Ae.titleIcon)}}function q(Be,We){if(1&Be&&(T.j41(0,"div",7),T.DNE(1,W,1,1,"app-icon",8),T.j41(2,"div"),T.nrm(3,"ion-text",9),T.nI1(4,"stripHtml"),T.k0s()()),2&Be){const Ae=T.XpG();T.R7$(),T.Y8G("ngIf",Ae.titleIcon),T.R7$(2),T.Y8G("innerHtml",T.bMT(4,2,Ae.title),T.npT)}}function we(Be,We){if(1&Be&&(T.qex(0,17),T.nrm(1,"app-icon",18),T.nI1(2,"faVersionAdapter"),T.bVm()),2&Be){const Ae=T.XpG().$implicit,k=T.XpG(2);T.R7$(),T.FS9("name","fa fa-"+T.bMT(2,2,Ae.icon)),T.Y8G("size",k.compact?"small":"medium")}}function ue(Be,We){if(1&Be&&(T.j41(0,"time",20),T.EFF(1),T.nI1(2,"stripHtml"),T.k0s()),2&Be){const Ae=T.XpG(2).$implicit;T.Y8G("dateTime",Ae.rawDate),T.R7$(),T.SpI(" ",T.bMT(2,2,Ae.value)," ")}}function Ie(Be,We){if(1&Be&&(T.EFF(0),T.nI1(1,"stripHtml")),2&Be){const Ae=T.XpG(2).$implicit;T.SpI(" ",T.bMT(1,1,Ae.value)," ")}}function ge(Be,We){if(1&Be&&(T.qex(0),T.DNE(1,ue,3,4,"time",19)(2,Ie,2,3,"ng-template",null,1,T.C5r),T.bVm()),2&Be){const Ae=T.sdS(3),k=T.XpG().$implicit;T.R7$(),T.Y8G("ngIf",k.rawDate)("ngIfElse",Ae)}}function he(Be,We){1&Be&&T.EFF(0," --- ")}function Me(Be,We){if(1&Be&&(T.j41(0,"app-item",12),T.DNE(1,we,3,4,"ng-container",13),T.j41(2,"div",14),T.nrm(3,"ion-text",9),T.nI1(4,"stripHtml"),T.k0s(),T.j41(5,"div",15)(6,"ion-text"),T.DNE(7,ge,4,2,"ng-container",16)(8,he,1,0,"ng-template",null,0,T.C5r),T.k0s()()()),2&Be){const Ae=We.$implicit,k=We.last,z=T.sdS(9),ce=T.XpG(2);T.Y8G("wrapText",!0)("line",!ce.hasLastLine&&k?"none":ce.line)("compact",ce.compact)("hasDetail",!!Ae.to)("routerLink",Ae.to),T.R7$(),T.Y8G("ngIf",Ae.icon),T.R7$(),T.AVh("compact",ce.compact),T.R7$(),T.Y8G("innerHtml",T.bMT(4,13,Ae.label),T.npT),T.R7$(2),T.AVh("compact",ce.compact),T.R7$(2),T.Y8G("ngIf",Ae.value)("ngIfElse",z)}}function $e(Be,We){if(1&Be&&(T.qex(0),T.DNE(1,Me,10,15,"app-item",11),T.bVm()),2&Be){const Ae=T.XpG();T.R7$(),T.Y8G("ngForOf",Ae.filteredItems)}}function Pe(Be,We){if(1&Be&&T.nrm(0,"app-icon",10),2&Be){const Ae=T.XpG(2);T.Y8G("name",Ae.descriptionIcon)}}function Re(Be,We){if(1&Be&&(T.j41(0,"div",21),T.DNE(1,Pe,1,1,"app-icon",8),T.j41(2,"div"),T.nrm(3,"span",9),T.nI1(4,"stripHtml"),T.nrm(5,"div"),T.k0s()()),2&Be){const Ae=T.XpG();T.R7$(),T.Y8G("ngIf",Ae.descriptionIcon),T.R7$(2),T.Y8G("innerHtml",T.bMT(4,2,Ae.description),T.npT)}}let it=(()=>{var Be;class We{constructor(){this.hasLastLine=!1,this.destroy$=new a.B}get filteredItems(){var k;return null===(k=this.items)||void 0===k?void 0:k.filter(z=>!!z.value||!z.hideEmpty)}ngAfterContentInit(){const{contentItems:k}=this;if(k){const z=()=>{k.last&&!k.last.line&&(k.last.line="none",k.last.changeDetectionRef.markForCheck())};z(),k.changes.pipe((0,s.Q)(this.destroy$)).subscribe(z)}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return(Be=We).\u0275fac=function(k){return new(k||Be)},Be.\u0275cmp=T.VBU({type:Be,selectors:[["app-item-group"]],contentQueries:function(k,z,ce){if(1&k&&T.wni(ce,w.J,5),2&k){let pe;T.mGM(pe=T.lsd())&&(z.contentItems=pe)}},inputs:{title:"title",titleIcon:"titleIcon",description:"description",descriptionIcon:"descriptionIcon",items:"items",line:"line",hasLastLine:"hasLastLine",compact:"compact"},ngContentSelectors:le,decls:6,vars:4,consts:[["noValue",""],["textValue",""],["class","title",4,"ngIf"],[3,"hasNoMarginAndPadding"],[1,"item-wrapper"],[4,"ngIf"],["class","description",4,"ngIf"],[1,"title"],[3,"name",4,"ngIf"],[3,"innerHtml"],[3,"name"],[3,"wrapText","line","compact","hasDetail","routerLink",4,"ngFor","ngForOf"],[3,"wrapText","line","compact","hasDetail","routerLink"],["item-left","",4,"ngIf"],[1,"label","text-primary-switch"],[1,"value"],[4,"ngIf","ngIfElse"],["item-left",""],[3,"name","size"],[3,"dateTime",4,"ngIf","ngIfElse"],[3,"dateTime"],[1,"description"]],template:function(k,z){1&k&&(T.NAR(),T.DNE(0,q,5,4,"div",2),T.j41(1,"app-card",3)(2,"ion-list",4),T.DNE(3,$e,2,1,"ng-container",5),T.SdG(4),T.k0s()(),T.DNE(
15,Re,6,4,"div",6)),2&k&&(T.Y8G("ngIf",z.title),T.R7$(),T.Y8G("hasNoMarginAndPadding",!0),T.R7$(2),T.Y8G("ngIf",z.filteredItems),T.R7$(2),T.Y8G("ngIf",z.description))},dependencies:[x.Sq,x.bT,F.nf,F.IO,F.N7,B.Wk,w.J,H.R,V.i,L.d,U.u],styles:["[_nghost-%COMP%]{display:block;margin-bottom:2rem;color:var(--app-color-plain-contrast)}.item-wrapper[_ngcontent-%COMP%]{padding:0;border-radius:var(--card-border-radius);--background: inherit;background-color:inherit;color:var(--app-color-plain-contrast)}app-card[_ngcontent-%COMP%]{height:100%}.title[_ngcontent-%COMP%]{margin:5px 16px;font-size:.9rem;display:flex}.description[_ngcontent-%COMP%]{font-size:.9rem;margin:.5em 1rem;display:flex;justify-content:start;opacity:.5}.description[_ngcontent-%COMP%]:has( > app-icon)[_ngcontent-%COMP%]{align-items:center;gap:.25rem}.label[_ngcontent-%COMP%]{font-size:.8rem;margin-bottom:3px;font-weight:600}.label.compact[_ngcontent-%COMP%]{margin-bottom:0;font-size:.7rem}.value[_ngcontent-%COMP%]{font-size:1rem}.value.compact[_ngcontent-%COMP%]{font-size:.9rem}"]}),We})()},1695:(wt,Se,u)=>{"use strict";u.d(Se,{J:()=>We});var a=u(8599),s=u(3953),w=u(177),T=u(5374),x=u(803),F=u(999),B=u(8855);const H=[[["","item-left",""]],[["","input",""]],[["","item-right",""]],"*"],V=["[item-left]","[input]","[item-right]","*"],L=()=>({hoverable:!0}),U=Ae=>({hoverable:Ae}),le=Ae=>({"pointer-events":Ae}),W=Ae=>({"item-right-with-detail":Ae}),q=Ae=>[Ae],we=(Ae,k,z,ce,pe)=>({"main-label":!0,"main-content-with-detail":Ae,"ion-text-wrap":k,"more-height":z,"less-height":ce,compact:pe});function ue(Ae,k){1&Ae&&s.eu8(0)}function Ie(Ae,k){if(1&Ae&&(s.j41(0,"ion-item",3),s.DNE(1,ue,1,0,"ng-container",4),s.k0s()),2&Ae){let z;const ce=s.XpG(),pe=s.sdS(3);s.Y8G("ngClass",s.lJ4(5,L))("routerLink",ce.isClickFrozen?null:ce.routerLink)("queryParams",ce.queryParams)("lines",null!==(z=ce.line)&&void 0!==z?z:"inset"),s.R7$(),s.Y8G("ngTemplateOutlet",pe)}}function ge(Ae,k){1&Ae&&s.eu8(0)}function he(Ae,k){if(1&Ae){const z=s.RV6();s.j41(0,"ion-item",5),s.bIt("click",function(pe){s.eBV(z);const ve=s.XpG();return s.Njj(ve.click(pe))})("mousedown",function(pe){return s.eBV(z),s.Njj(pe.stopPropagation())}),s.DNE(1,ge,1,0,"ng-container",4),s.k0s()}if(2&Ae){let z;const ce=s.XpG(),pe=s.sdS(3);s.Y8G("ngClass",s.eq3(5,U,(!!ce.click$||ce.onClick.observed||ce.hasDetail||ce.hoverable)&&!ce.disabled))("button",(ce.hasDetail||ce.hoverable)&&!ce.disabled)("lines",null!==(z=ce.line)&&void 0!==z?z:"inset")("ngStyle",s.eq3(7,le,ce.stopEventPropagation?"none":"auto")),s.R7$(),s.Y8G("ngTemplateOutlet",pe)}}function Me(Ae,k){if(1&Ae&&s.nrm(0,"app-badge",15),2&Ae){const z=s.XpG(2);s.Y8G("color",z.unreadColor)("ngClass",s.eq3(4,q,"top"===z.unreadPosition?"read-icon-top":"read-icon-middle"))("small",!0)("text",z.unreadCount)}}function $e(Ae,k){if(1&Ae&&(s.j41(0,"ion-label",16)(1,"div",17),s.SdG(2,3),s.k0s()()),2&Ae){const z=s.XpG(2);s.Y8G("ngClass",s.s1E(2,we,z.hasDetail,z.wrapText,"stacked"!==z.labelPosition,"stacked"===z.labelPosition,z.compact))("position",z.labelPosition)}}function Pe(Ae,k){1&Ae&&(s.j41(0,"div",18),s.nrm(1,"app-spinner",19),s.k0s())}function Re(Ae,k){if(1&Ae&&(s.j41(0,"div",20),s.nrm(1,"i"),s.k0s()),2&Ae){const z=s.XpG(2);s.R7$(),s.HbH(z.AppIcons.HasError)}}function it(Ae,k){1&Ae&&s.nrm(0,"i",21)}function Be(Ae,k){if(1&Ae&&(s.DNE(0,Me,1,6,"app-badge",6),s.j41(1,"div",7),s.SdG(2),s.k0s(),s.DNE(3,$e,3,8,"ion-label",8),s.j41(4,"div",9),s.SdG(5,1),s.k0s(),s.j41(6,"div",10),s.SdG(7,2),s.k0s(),s.j41(8,"div",11),s.DNE(9,Pe,2,0,"div",12),s.nI1(10,"async"),s.nI1(11,"async"),s.DNE(12,Re,2,3,"div",13),s.nI1(13,"async"),s.DNE(14,it,1,0,"i",14),s.k0s()),2&Ae){const z=s.XpG();
1s.Y8G("ngIf",!0===z.isUnread),s.R7$(3),s.Y8G("ngIf","hidden"!==z.labelPosition),s.R7$(3),s.Y8G("ngClass",s.eq3(17,W,z.hasDetail)),s.R7$(2),s.ZvI("detail-icon ",z.detailPosition,""),s.AVh("compact",z.compact),s.R7$(),s.Y8G("ngIf",!1===s.bMT(10,11,z.hasError$)&&s.bMT(11,13,z.isLoading$)),s.R7$(3),s.Y8G("ngIf",s.bMT(13,15,z.hasError$)),s.R7$(2),s.Y8G("ngIf",z.hasDetail)}}let We=(()=>{var Ae;class k extends a.V{constructor(){super(...arguments),this.isUnread=!1,this.preventInstantUnread=!1,this.unreadPosition="top",this.hasDetail=!1,this.hoverable=!1,this.detailPosition="middle",this.wrapText=!1,this.labelPosition="default",this.compact=!1}clickEvent(){this.preventInstantUnread||(this.isUnread=!1),this.hapticsOnNavigationClick()}}return(Ae=k).\u0275fac=(()=>{let z;return function(pe){return(z||(z=s.xGo(Ae)))(pe||Ae)}})(),Ae.\u0275cmp=s.VBU({type:Ae,selectors:[["app-item"]],inputs:{isUnread:"isUnread",unreadCount:"unreadCount",unreadColor:"unreadColor",preventInstantUnread:"preventInstantUnread",unreadPosition:"unreadPosition",hasDetail:"hasDetail",hoverable:"hoverable",detailPosition:"detailPosition",icon:"icon",queryParams:"queryParams",line:"line",wrapText:"wrapText",labelPosition:"labelPosition",compact:"compact"},features:[s.Vt3],ngContentSelectors:V,decls:4,vars:2,consts:[["content",""],["detail","false",3,"ngClass","routerLink","queryParams","lines",4,"ngIf"],["detail","false",3,"ngClass","button","lines","ngStyle","click","mousedown",4,"ngIf"],["detail","false",3,"ngClass","routerLink","queryParams","lines"],[4,"ngTemplateOutlet"],["detail","false",3,"click","mousedown","ngClass","button","lines","ngStyle"],["slot","start","class","read-icon-container",3,"color","ngClass","small","text",4,"ngIf"],["slot","start",1,"item-left"],[3,"ngClass","position",4,"ngIf"],[1,"input"],[1,"item-right",3,"ngClass"],["slot","end"],["class","loading",4,"ngIf"],["class","error",4,"ngIf"],["class","fa fa-chevron-right text-primary-switch",4,"ngIf"],["slot","start",1,"read-icon-container",3,"color","ngClass","small","text"],[3,"ngClass","position"],[1,"content"],[1,"loading"],["size","medium"],[1,"error"],[1,"fa","fa-chevron-right","text-primary-switch"]],template:function(ce,pe){1&ce&&(s.NAR(H),s.DNE(0,Ie,2,6,"ion-item",1)(1,he,2,9,"ion-item",2)(2,Be,15,19,"ng-template",null,0,s.C5r)),2&ce&&(s.Y8G("ngIf",pe.routerLink),s.R7$(),s.Y8G("ngIf",!pe.routerLink))},dependencies:[w.YU,w.bT,w.T3,w.B3,T.uz,T.he,T.N7,x.Wk,F.t,B.n,w.Jj],styles:["[_nghost-%COMP%]{display:block;color:inherit}.rounded[_nghost-%COMP%] ion-item[_ngcontent-%COMP%]{--border-radius: 10px !important}ion-item[_ngcontent-%COMP%]{--padding-start: 2px;--background: inherit;--padding-bottom: .5px;color:inherit}ion-item[_ngcontent-%COMP%] ion-label[_ngcontent-%COMP%]{--margin: 0;color:inherit}ion-item[_ngcontent-%COMP%] .main-label[_ngcontent-%COMP%]:has( ~ .item-right[_ngcontent-%COMP%]:not(:empty)){max-width:83%;min-width:0}ion-item[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{margin:0}ion-item[_ngcontent-%COMP%]::part(native){padding-left:0}ion-item[_ngcontent-%COMP%] .compact[_ngcontent-%COMP%]{padding-block:0}ion-item[_ngcontent-%COMP%] .more-height[_ngcontent-%COMP%]{padding-block:6px}ion-item[_ngcontent-%COMP%] .more-height.compact[_ngcontent-%COMP%]{padding-block:3px}ion-item[_ngcontent-%COMP%] .less-height[_ngcontent-%COMP%]{padding:0}ion-item[_ngcontent-%COMP%] .read-icon-container[_ngcontent-%COMP%]{position:absolute;left:4px}ion-item[_ngcontent-%COMP%] .read-icon-container.read-icon-top[_ngcontent-%COMP%]{top:8px}ion-item[_ngcontent-%COMP%] .read-icon-container.read-icon-middle[_ngcontent-%COMP%]{top:50%;transform:translateY(-50%)}ion-item[_ngcontent-%COMP%] .item-left[_ngcontent-%COMP%]:not(:empty){margin-right:10px;margin-left:15px}ion-item[_ngcontent-%COMP%] .item-right[_ngcontent-%COMP%]:not(:empty){color:var(--ion-color-medium);margin-left:auto;line-height:1;display:inline-flex;gap:.25rem;place-content:end;place-items:center}ion-item[_ngcontent-%COMP%] .item-right[_ngcontent-%COMP%]:not(:empty):has( ~ .detail-icon[_ngcontent-%COMP%]:not(:empty)){margin-right:3px}ion-item[_ngcontent-%COMP%] .item-right[_ngcontent-%COMP%]:not(:empty).item-right-with-detail{margin-right:18px}ion-item[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]:not(:empty){width:100%}ion-item[_ngcontent-%COMP%] .main-content-with-detail[_ngcontent-%COMP%]{margin-right:var(--inner-padding-end)}ion-item[_ngcontent-%COMP%] .detail-icon[_ngcontent-%COMP%]{font-size:.7rem;color:var(--ion-color-primary);position:relative;margin:auto;display:inline-flex;place-items:center;flex-direction:row}ion-item[_ngcontent-%COMP%] .detail-icon.top[_ngcontent-%COMP%]{top:20px;position:absolute;right:.5rem}ion-item[_ngcontent-%COMP%] .detail-icon.top.compact[_ngcontent-%COMP%]{top:15px}.loading[_ngcontent-%COMP%]{color:var(--ion-color-primary);margin-top:3px}"],changeDetection:0}),k})()},1897:(wt,Se,u)=>{"use strict";u.d(Se,{L:()=>x});var a=u(467),s=u(3953),w=u(5374),T=u(7509);let x=(()=>{var F;class B{constructor(V,L){this.toastController=V,this.modalService=L}copyToClipboard(){var V=this;return(0,a.A)(function*(){var L;navigator.clipboard.writeText(null!==(L=V.errorMessage)&&void 0!==L?L:""),(yield V.toastController.create({message:"Kopiert",position:"bottom",duration:1500})).present()})()}}return(F=B).\u0275fac=function(V){return new(V||F)(s.rXU(w.K_),s.rXU(T.B))},F.\u0275cmp=s.VBU({type:F,selectors:[["app-error-modal"]],decls:9,vars:2,consts:[["icon","fa fa-circle-xmark","fill","plain","size","small","role","normal",1,"close-icon",3,"click$"],[1,"ion-text-center"],["icon","fa fa-clipboard","text","Fehlermeldung kopieren","size","small","color","medium",3,"onClick"],[1,"error","text"]],template:function(V,L){1&V&&(s.j41(0,"ion-content")(1,"app-page-container"),s.nrm(2,"app-button",0),s.j41(3,"div",1)(4,"app-button",2),s.bIt("onClick",function(){return L.copyToClipboard()}),s.k0s()(),s.j41(5,"div",3)(6,"small")(7,"code"),s.EFF(8),s.k0s()()()()()),2&V&&(s.R7$(2),s.Y8G("click$",L.modalService.dismiss$()),s.R7$(6),s.SpI(" ",L.errorMessage," "))},styles:[".text[_ngcontent-%COMP%]{overflow-y:scroll}.close-icon[_ngcontent-%COMP%]{position:absolute;top:4px;right:4px}"]}),B})()},119:(wt,Se,u)=>{"use strict";u.d(Se,{z:()=>q});var a=u(467),s=u(3953),w=u(5374),T=u(7509),x=u(6198),F=u(177);const B=["template"],H=["*"],V=we=>({"web-modal":we});function L(we,ue){if(1&we&&s.nrm(0,"ion-nav",5),2&we){const Ie=s.XpG(3);
1s.Y8G("root",Ie.rootPage)("rootParams",Ie.rootParams)}}function U(we,ue){1&we&&(s.j41(0,"ion-content"),s.SdG(1),s.k0s())}function le(we,ue){if(1&we&&s.DNE(0,L,1,2,"ion-nav",3)(1,U,2,0,"ion-content",4),2&we){const Ie=s.XpG(2);s.Y8G("ngIf",Ie.rootPage),s.R7$(),s.Y8G("ngIf",!Ie.rootPage)}}function W(we,ue){if(1&we){const Ie=s.RV6();s.j41(0,"ion-modal",2,1),s.nI1(2,"async"),s.nI1(3,"async"),s.bIt("willDismiss",function(he){s.eBV(Ie);const Me=s.XpG();return s.Njj(Me.onWillDismiss(he))})("didDismiss",function(he){s.eBV(Ie);const Me=s.XpG();return s.Njj(Me.onDidDismiss(he))})("willPresent",function(he){s.eBV(Ie);const Me=s.XpG();return s.Njj(Me.onWillPresent(he))}),s.DNE(4,le,2,2,"ng-template"),s.k0s()}if(2&we){const Ie=s.XpG();s.Y8G("ngClass",s.eq3(11,V,s.bMT(2,7,Ie.deviceService.isWeb$)))("isOpen",Ie.isOpen)("trigger",Ie.trigger)("presentingElement",Ie.initialBreakpoint||!s.bMT(3,9,Ie.deviceService.isIos$)?void 0:Ie.presentingElement)("canDismiss",!!Ie.canDismissBySwipe||Ie.canDismiss)("initialBreakpoint",Ie.initialBreakpoint)("breakpoints",Ie.breakpoints)}}let q=(()=>{var we;class ue{constructor(ge,he,Me){this.modalService=ge,this.viewContainerRef=he,this.deviceService=Me,this.template=null,this.breakpoints=[0,.25,.5,.75],this.canDismissBySwipe=!0,this.isOpen=!1,this.willPresent=new s.bkB,this.willDismiss=new s.bkB,this.didDismiss=new s.bkB}ngOnInit(){this.template&&this.viewContainerRef.createEmbeddedView(this.template),this.presentingElement=document.getElementById("base-modal-anchor")}onWillDismiss(ge){var he;this.willDismiss.emit(null==ge||null===(he=ge.detail)||void 0===he?void 0:he.data)}onDidDismiss(ge){var he;this.didDismiss.emit(null==ge||null===(he=ge.detail)||void 0===he?void 0:he.data),this.modalService.decreaseModalCounter()}onWillPresent(ge){var he;this.willPresent.emit(null==ge||null===(he=ge.detail)||void 0===he?void 0:he.data),this.modalService.increaseModalCounter()}setCurrentBreakpoint(ge){this.modal.setCurrentBreakpoint(ge)}canDismiss(ge,he){return(0,a.A)(function*(){return"gesture"!==he})()}}return(we=ue).\u0275fac=function(ge){return new(ge||we)(s.rXU(T.B),s.rXU(s.c1b),s.rXU(x.g))},we.\u0275cmp=s.VBU({type:we,selectors:[["app-modal"]],viewQuery:function(ge,he){if(1&ge&&(s.GBs(B,7),s.GBs(w.Sb,5)),2&ge){let Me;s.mGM(Me=s.lsd())&&(he.template=Me.first),s.mGM(Me=s.lsd())&&(he.modal=Me.first)}},inputs:{breakpoints:"breakpoints",canDismissBySwipe:"canDismissBySwipe",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",rootPage:"rootPage",rootParams:"rootParams",trigger:"trigger"},outputs:{willPresent:"willPresent",willDismiss:"willDismiss",didDismiss:"didDismiss"},ngContentSelectors:H,decls:2,vars:0,consts:[["template",""],["modal",""],[3,"willDismiss","didDismiss","willPresent","ngClass","isOpen","trigger","presentingElement","canDismiss","initialBreakpoint","breakpoints"],[3,"root","rootParams",4,"ngIf"],[4,"ngIf"],[3,"root","rootParams"]],template:function(ge,he){1&ge&&(s.NAR(),s.DNE(0,W,5,13,"ng-template",null,0,s.C5r))},dependencies:[F.YU,F.bT,w.W9,w.Sb,w.QE,F.Jj],styles:[".web-modal[_ngcontent-%COMP%]{--height: 80%;--width: 50%;--min-width: 100%;--min-height: 100%;--max-width: 100%;--max-height: 100%}@media only screen and (min-width: 768px) and (min-height: 600px){.web-modal[_ngcontent-%COMP%]{--height: 80%;--width: 50%;--min-width: 600px;--min-height: 500px;--max-width: 100%;--max-height: 100%}}"],changeDetection:0}),ue})()},1991:(wt,Se,u)=>{"use strict";u.d(Se,{i:()=>V});var a=u(9155),s=u(3953),w=u(177),T=u(999);const x=["*"],F=(L,U,le,W)=>({background:L,"full-height":U,"ion-margin":le,"ion-padding":W});function B(L,U){1&L&&(s.j41(0,"div",3),s.nrm(1,"app-spinner",4),s.k0s())}function H(L,U){if(1&L&&(s.j41(0,"div",5),s.nrm(1,"i"),s.j41(2,"div")(3,"small"),s.EFF(4),s.k0s()()()),2&L){const le=s.XpG();s.R7$(),s.HbH(le.AppIcons.HasError),s.R7$(3),s.JRh(le.textOnError)}}let V=(()=>{var L;class U extends a.${constructor(){super(),this.hasBackground=!1,this.fullHeight=!1}}return(L=U).\u0275fac=function(W){return new(W||L)},L.\u0275cmp=s.VBU({type:L,selectors:[["app-page-container"]],inputs:{hasBackground:"hasBackgroun
1d",fullHeight:"fullHeight"},features:[s.Vt3],ngContentSelectors:x,decls:7,vars:14,consts:[[1,"ion-margin","container",3,"ngClass"],["class","center-xy loading color-primary",4,"ngIf"],["class","error center-xy",4,"ngIf"],[1,"center-xy","loading","color-primary"],["size","large"],[1,"error","center-xy"]],template:function(W,q){1&W&&(s.NAR(),s.j41(0,"div",0),s.SdG(1),s.DNE(2,B,2,0,"div",1),s.nI1(3,"async"),s.nI1(4,"async"),s.DNE(5,H,5,4,"div",2),s.nI1(6,"async"),s.k0s()),2&W&&(s.Y8G("ngClass",s.ziG(9,F,q.hasBackground,q.fullHeight,!q.fullHeight,q.fullHeight)),s.R7$(2),s.Y8G("ngIf",!1===s.bMT(3,3,q.hasError$)&&s.bMT(4,5,q.isLoading$)),s.R7$(3),s.Y8G("ngIf",s.bMT(6,7,q.hasError$)))},dependencies:[w.YU,w.bT,T.t,w.Jj],styles:[".container[_ngcontent-%COMP%]{min-height:100%}.background[_ngcontent-%COMP%]{border-radius:0;padding:8px 0;margin:16px 0;min-height:100%;background-color:var(--ion-color-plain);--background: var(--ion-color-plain)}.full-height[_ngcontent-%COMP%]{min-height:100svh;display:flex;flex-direction:column}.loading[_ngcontent-%COMP%], .error[_ngcontent-%COMP%]{top:40%}"]}),U})()},6346:(wt,Se,u)=>{"use strict";u.d(Se,{H:()=>di});var a=u(3953),s=u(4412),w=u(9172),T=u(6354),x=u(5964),F=u(1594),B=u(3028),H=u(7673),V=u(8141),L=u(1986),U=u(6648),le=u(9437),W=u(576),q=u(3601),we=u(9155),ue=u(6198),Ie=u(3575),ge=u(5267),he=u(803),Me=u(177),$e=u(5374),Pe=u(675),Re=u(2709),it=u(999),Be=u(2087),We=u(5430),Ae=u(9822),k=u(4284);const z=["template"],ce=dt=>({"ion-hide":dt});function pe(dt,tr){if(1&dt&&(a.j41(0,"div",5),a.nrm(1,"i"),a.k0s()),2&dt){const ft=a.XpG(2);a.R7$(),a.HbH(ft.AppIcons.HasError)}}function ve(dt,tr){if(1&dt){const ft=a.RV6();a.j41(0,"ion-refresher",2,1),a.bIt("ionRefresh",function(zt){a.eBV(ft);const Ln=a.XpG();return a.Njj(Ln.onRefresh(zt))}),a.nrm(2,"ion-refresher-content",3),a.nI1(3,"async"),a.DNE(4,pe,2,3,"div",4),a.nI1(5,"async"),a.k0s()}if(2&dt){const ft=a.XpG();a.R7$(2),a.Y8G("ngClass",a.eq3(6,ce,a.bMT(3,2,ft.hasError$))),a.R7$(2),a.Y8G("ngIf",a.bMT(5,4,ft.hasError$))}}let ze=(()=>{var dt;class tr extends we.${constructor(St,zt,Ln,kr){super(),this.cacheService=St,this.reloadService=zt,this.hapticsService=Ln,this.viewContainerRef=kr,this.template=null}ngAfterViewInit(){setTimeout(()=>{this.template&&this.viewContainerRef.createEmbeddedView(this.template)})}onRefresh(St){this.cacheService.clear(),this.reloadService.reloadGlobalCounts(),this.hapticsService.light(),this.fullPullAction$?this.fullPullAction$.pipe((0,Be.w)(1e4),(0,F.$)(),(0,V.M)(()=>St.target.complete()),(0,le.W)(zt=>(console.error("Error during full pull action:",zt),St.target.cancel(),this.textOnError="{}"==JSON.stringify(zt)?zt:JSON.stringify(zt),this.hasError$.next(!0),this.hapticsService.error(),(0,H.of)(void 0).pipe((0,L.c)(2e3),(0,V.M)(()=>{this.hasError$.next(!1),St.target.complete()}))))).subscribe():St.target.cancel()}}return(dt=tr).\u0275fac=function(St){return new(St||dt)(a.rXU(We._),a.rXU(Ae.P),a.rXU(k.o),a.rXU(a.c1b))},dt.\u0275cmp=a.VBU({type:dt,selectors:[["app-refresher"]],viewQuery:function(St,zt){if(1&St&&a.GBs(z,7),2&St){let Ln;a.mGM(Ln=a.lsd())&&(zt.template=Ln.first)}},inputs:{fullPullAction$:"fullPullAction$"},features:[a.Vt3],decls:2,vars:0,consts:[["template",""],["refresher",""],["slot","fixed",1,"--text-primary-contrast","text-primary-contrast",3,"ionRefresh"],[3,"ngClass"],["class","error center-xy",4,"ngIf"],[1,"error","center-xy"]],template:function(St,zt){1&St&&a.DNE(0,ve,6,8,"ng-template",null,0,a.C5r)},dependencies:[Me.YU,Me.bT,$e.To,$e.Ki,Me.Jj],styles:[".text[_ngcontent-%COMP%]{opacity:.5}"],changeDetection:0}),tr})();const fe=["template"];function de(dt,tr){if(1&dt&&a.nrm(0,"app-button",5),2&dt){const ft=a.XpG(2);a.Y8G("click$",ft.infinitScrollAction$)}}function ee(dt,tr){1&dt&&(a.qex(0),a.nrm(1,"ion-infinite-scroll-content"),a.bVm())}function $(dt,tr){if(1&dt&&(a.j41(0,"div",6),a.nrm(1,"i"),a.j41(2,"div"),a.EFF(3),a.k0s(),a.j41(4,"small"),a.EFF(5,"(Infinit Scroll)"),a.k0s()()),2&dt){const ft=a.XpG(2);a.R7$(),a.HbH(ft.AppIcons.HasError),a.R7$(2),a.JRh(ft.textOnError)}}function se(dt,tr){if(1&dt){const ft=a.RV6();a.DNE(0,de,1,1,"app-button",2),a.j41(1,"ion-infinite-scroll",3),a.bIt("ionInfinite",function(zt){a.eBV(ft);const Ln=a.XpG();return a.Njj(Ln.onInfinite(zt))}),a.DNE(2,ee,2,0,"ng-container",4),a.nI1(3,"async"),a.DNE(4,$,6,4,"ng-template",null,1,a.C5r),a.k0s()}
1if(2&dt){const ft=a.sdS(5),St=a.XpG();a.Y8G("appPlatform","web"),a.R7$(),a.Y8G("position",St.position)("ngClass","top"===St.position?"position-top":"position-bottom"),a.R7$(),a.Y8G("ngIf",!1===a.bMT(3,5,St.hasError$))("ngIfElse",ft)}}let Ce=(()=>{var dt;class tr extends we.${constructor(St){super(),this.viewContainerRef=St,this.template=null,this.position="bottom",this.isCurrentlyReloading=!1}ngAfterViewInit(){setTimeout(()=>{this.template&&this.viewContainerRef.createEmbeddedView(this.template)})}onInfinite(St){var zt;this.isCurrentlyReloading?St.target.complete():(this.isCurrentlyReloading=!0,null===(zt=this.infinitScrollAction$)||void 0===zt||zt.pipe((0,F.$)(),(0,V.M)(()=>{St.target.complete(),this.debounceReloading()}),(0,le.W)(Ln=>(St.target.complete(),this.hasError$.next(!0),this.debounceReloading(),Ln))).subscribe())}debounceReloading(){setTimeout(()=>{this.isCurrentlyReloading=!1},1e3)}}return(dt=tr).\u0275fac=function(St){return new(St||dt)(a.rXU(a.c1b))},dt.\u0275cmp=a.VBU({type:dt,selectors:[["app-infinit-scroll"]],viewQuery:function(St,zt){if(1&St&&a.GBs(fe,7),2&St){let Ln;a.mGM(Ln=a.lsd())&&(zt.template=Ln.first)}},inputs:{infinitScrollAction$:"infinitScrollAction$",position:"position"},features:[a.Vt3],decls:2,vars:0,consts:[["template",""],["error",""],["text","Mehr laden","fill","plain","expand","block","class","button",3,"click$",4,"appPlatform"],[1,"ion-infinite-scroll",3,"ionInfinite","position","ngClass"],[4,"ngIf","ngIfElse"],["text","Mehr laden","fill","plain","expand","block",1,"button",3,"click$"],[1,"error","center-xy"]],template:function(St,zt){1&St&&a.DNE(0,se,6,7,"ng-template",null,0,a.C5r)},dependencies:[Me.YU,Me.bT,$e.Ax,$e.Hp,Pe.B,Re.Q,Me.Jj],styles:[".button[_ngcontent-%COMP%]{height:100px}ion-infinite-scroll.position-top[_ngcontent-%COMP%]{height:60px}ion-infinite-scroll.position-bottom[_ngcontent-%COMP%]{height:60px;margin-bottom:75px}"],changeDetection:0}),tr})();var at=u(980);const pt=["searchbar"];function ct(dt,tr){1&dt&&a.nrm(0,"app-spinner",7)}
1function jt(dt,tr){if(1&dt&&(a.j41(0,"div",9),a.nrm(1,"i"),a.k0s()),2&dt){const ft=a.XpG(2);a.R7$(),a.HbH(ft.AppIcons.HasError)}}function jn(dt,tr){if(1&dt&&(a.DNE(0,jt,2,3,"div",8),a.nI1(1,"async")),2&dt){const ft=a.XpG();a.Y8G("ngIf",a.bMT(1,1,ft.hasError$))}}let mn=(()=>{var dt;class tr extends we.${constructor(St,zt){super(),this.deviceService=St,this.hapticsService=zt,this.showCancelButton="never",this.placeholder="Suche",this.onFocus=new a.bkB,this.onBlur=new a.bkB,this.onCancel=new a.bkB,this.onChange=new a.bkB}ngOnInit(){this.searchbar&&(this.searchbar.showCancelButton=this.showCancelButton)}focus(St){this.hapticsService.interactionFeedback(),this.onFocus.emit(St)}blur(St){this.onBlur.emit(St)}cancel(St){this.hapticsService.interactionFeedback(),this.onCancel.emit(St)}change(St){var zt;this.onChange.next(St),St.detail.value&&(this.isLoading$.next(!0),null===(zt=this.searchAction$)||void 0===zt||zt.pipe((0,F.$)(),(0,at.j)(()=>{this.isLoading$.next(!1)}),(0,le.W)(Ln=>(this.isLoading$.next(!1),this.hasError$.next(!0),Ln))).subscribe())}setFocus(){var St;null===(St=this.searchbar)||void 0===St||St.setFocus()}}return(dt=tr).\u0275fac=function(St){return new(St||dt)(a.rXU(ue.g),a.rXU(k.o))},dt.\u0275cmp=a.VBU({type:dt,selectors:[["app-searchbar"]],viewQuery:function(St,zt){if(1&St&&a.GBs(pt,7),2&St){let Ln;a.mGM(Ln=a.lsd())&&(zt.searchbar=Ln.first)}},inputs:{showCancelButton:"showCancelButton",searchAction$:"searchAction$",placeholder:"placeholder",initialValue:"initialValue"},outputs:{onFocus:"onFocus",onBlur:"onBlur",onCancel:"onCancel",onChange:"onChange"},features:[a.Vt3],decls:9,vars:7,consts:[["searchbar",""],["error",""],[1,"container"],[1,"searchbar"],["cancel-button-text","Abbrechen","show-clear-button","always",3,"ionFocus","ionBlur","ionCancel","ionInput","value","placeholder","debounce"],[1,"search-overlay"],["size","medium",4,"ngIf","ngIfElse"],["size","medium"],["class","error",4,"ngIf"],[1,"error"]],template:function(St,zt){if(1&St){const Ln=a.RV6();a.j41(0,"div",2)(1,"div",3)(2,"ion-searchbar",4,0),a.bIt("ionFocus",function(R){return a.eBV(Ln),a.Njj(zt.focus(R))})("ionBlur",function(R){return a.eBV(Ln),a.Njj(zt.blur(R))})("ionCancel",function(R){return a.eBV(Ln),a.Njj(zt.cancel(R))})("ionInput",function(R){return a.eBV(Ln),a.Njj(zt.change(R))}),a.k0s(),a.j41(4,"div",5),a.DNE(5,ct,1,0,"app-spinner",6),a.nI1(6,"async"),a.DNE(7,jn,2,3,"ng-template",null,1,a.C5r),a.k0s()()()}if(2&St){const Ln=a.sdS(8);a.R7$(2),a.Y8G("value",zt.initialValue)("placeholder",zt.placeholder)("debounce",500),a.R7$(3),a.Y8G("ngIf",a.bMT(6,5,zt.isLoading$))("ngIfElse",Ln)}},dependencies:[Me.bT,$e.S1,$e.Gw,it.t,Me.Jj],styles:["[_nghost-%COMP%]{display:block}.container[_ngcontent-%COMP%]{display:flex;color:inherit}.container[_ngcontent-%COMP%] .searchbar[_ngcontent-%COMP%]{width:100%;color:inherit;position:relative}.container[_ngcontent-%COMP%] .searchbar[_ngcontent-%COMP%] .search-overlay[_ngcontent-%COMP%]{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;padding-inline:5px;top:1px;bottom:15px;left:12px;right:12px}.container[_ngcontent-%COMP%] .searchbar[_ngcontent-%COMP%] .search-overlay[_ngcontent-%COMP%] app-spinner[_ngcontent-%COMP%]{display:block;color:inherit}"]}),tr})();var lr=u(2400),hr=u(3955);let $r=(()=>{var dt;class tr{constructor(St,zt){this.nav=St,this.translate=zt,this.backText=this.translate.instant("COMMON.BACK"),this.invert=!1}}return(dt=tr).\u0275fac=function(St){return new(St||dt)(a.rXU($e.QE),a.rXU(hr.c$))},dt.\u0275cmp=a.VBU({type:dt,selectors:[["app-modal-back-button"]],inputs:{backText:"backText",invert:"invert"},decls:1,vars:2,consts:[["fill","plain","icon","fa fa-chevron-left",3,"onClick","text","invert"]],template:function(St,zt){1&St&&(a.j41(0,"app-button",0),a.bIt("onClick",function(){return zt.nav.pop()}),a.k0s()),2&St&&a.Y8G("text",zt.backText)("invert",zt.invert)},dependencies:[Re.Q]}),tr})();var ur=u(9417),Fn=u(7376),cr=u(1413),Yn=u(6977),Qn=u(6697),ht=u(941),Ot=u(119),It=u(3036);const Kt=dt=>["filter-button",dt],Zn=dt=>["filter-button","hoverable",dt],Ir=dt=>({defaultValue:dt});
1function Er(dt,tr){if(1&dt){const ft=a.RV6();a.j41(0,"app-select",3),a.bIt("selectionChange",function(zt){a.eBV(ft);const Ln=a.XpG();return a.Njj(Ln.optionSelectionChange(zt))}),a.j41(1,"div",4),a.EFF(2),a.nrm(3,"i",5),a.k0s()()}if(2&dt){let ft;const St=a.XpG();a.Y8G("standardValue",null!==(ft=St.value)&&void 0!==ft?ft:St.standardValue)("options",St.options),a.R7$(),a.Y8G("ngClass",a.eq3(4,Kt,null!=St.value||St.alwaysHasValue?"bg-primary-contrast":"outline")),a.R7$(),a.SpI(" ",St.buttonText," ")}}function $n(dt,tr){if(1&dt){const ft=a.RV6();a.j41(0,"div",6),a.bIt("click",function(){a.eBV(ft);const zt=a.XpG();return a.Njj(zt.clickBoolean())}),a.EFF(1),a.k0s()}if(2&dt){const ft=a.XpG();a.Y8G("ngClass",a.eq3(2,Zn,ft.isClicked?"bg-primary-contrast":"outline")),a.R7$(),a.SpI(" ",ft.buttonText,"\n")}}function dn(dt,tr){if(1&dt){const ft=a.RV6();a.qex(0),a.j41(1,"div",6),a.bIt("click",function(){a.eBV(ft);const zt=a.XpG();return a.Njj(zt.openModal())}),a.EFF(2),a.k0s(),a.j41(3,"app-modal",7),a.bIt("willDismiss",function(zt){a.eBV(ft);const Ln=a.XpG();return Ln.isModalOpen=!1,a.Njj(Ln.onModalSelect(zt))}),a.k0s(),a.bVm()}if(2&dt){const ft=a.XpG();a.R7$(),a.Y8G("ngClass",a.eq3(5,Zn,null!=ft.value?"bg-primary-contrast":"outline")),a.R7$(),a.SpI(" ",ft.buttonText," "),a.R7$(),a.Y8G("rootPage",ft.component)("rootParams",a.eq3(7,Ir,ft.value))("isOpen",ft.isModalOpen)}}let Ar=(()=>{var dt;class tr{constructor(St){this.hapticsService=St,this.alwaysHasValue=!1,this.isClicked=!1,this.isModalOpen=!1,this.onChange=zt=>{},this.onTouched=()=>{}}ngOnInit(){this.labelCallback&&this.standardValue&&this.computeButtonTextForValue(this.standardValue)}ngOnChanges(){(0,Fn.isNil)(this.standardValue)||this.setStandardValue(),this.options&&this.initializeOptions()}setStandardValue(){setTimeout(()=>{if((0,Fn.isNil)(this.value))return this.options||this.component?void(this.options?this.optionSelectionChange(this.standardValue,!0):this.change(this.standardValue)):(this.isClicked="reverse"===this.binaryType?!this.standardValue:this.standardValue,void this.change(this.standardValue));(0,Fn.isEqual)(this.value,this.standardValue)||console.warn("standardValue is set, but value is already set. Abort.",{label:this.label,value:this.value,standardValue:this.standardValue})},1)}initializeOptions(){var St;this._options=this.options,this.alwaysHasValue?setTimeout(()=>{(0,Fn.isNil)(this.standardValue)&&(0,Fn.isNil)(this.value)&&this.optionSelectionChange(this.options[0].value,!0)},1):null===(St=this._options)||void 0===St||St.unshift({label:"\u2014",value:null})}optionSelectionChange(St,zt=!1){zt||this.hapticChangeFeedback(),this.change(St)}hapticChangeFeedback(){this.hapticsService.interactionFeedback()}clickBoolean(){this.hapticChangeFeedback(),this.isClicked=!this.isClicked,"normal"==this.binaryType&&this.change(!!this.isClicked||null),"reverse"==this.binaryType&&this.change(!this.isClicked&&null)}openModal(){this.hapticChangeFeedback(),this.isModalOpen=!0}onModalSelect(St){this.hapticChangeFeedback(),St&&(this.setButtonText(St.label),this.buttonText||this.computeButtonTextForValue(St.value),this.change(St.value))}change(St){const zt="null"==St||(0,Fn.isNil)(St)?null:St;this.writeValue(zt),this.onTouched()}writeValue(St){if(this.value=St,this.isSet(St))return this.computeButtonTextForValue(St),this.onChange(St),void(this.isClicked="reverse"===this.binaryType?!this.value:this.value);this.onChange(St),this.computeButtonTextForValue(St),this.isClicked=!1}computeButtonTextForValue(St){let zt;var Ln,kr;this.labelCallback&&!(0,Fn.isNil)(St)&&(zt=this.labelCallback(St)),this.options&&!(0,Fn.isNil)(St)&&(zt=null===(Ln=this.options.find(R=>JSON.stringify(R.value)==JSON.stringify(St)))||void 0===Ln?void 0:Ln.label),this.binaryType||null!==(kr=zt)&&void 0!==kr||(zt=St),this.setButtonText(zt)}setButtonText(St){var zt;this.buttonText=St||(null!==(zt=this.label)&&void 0!==zt?zt:"-")}isSet(St){return null!=St}isOptionAndAlwaysHasValue(){return!!this.options&&!this.binaryType&&!this.component&&this.alwaysHasValue}registerOnChange(St){this.onChange=St}registerOnTouched(St){this.onTouched=St}}return(dt=tr).\u0275fac=function(St){return new(St||dt)(a.rXU(k.o))},dt.\u0275cmp=a.VBU({type:dt,selectors:[["app-filter"]],inputs:{label:"label",options:"options",alwaysHasValue:"alwaysHasValue",standardValue:"standardValue",binaryType:"binaryType",component:"
1component",labelCallback:"labelCallback"},features:[a.Jv_([{provide:ur.kq,useExisting:(0,a.Rfq)(()=>dt),multi:!0}]),a.OA$],decls:3,vars:3,consts:[[3,"standardValue","options","selectionChange",4,"ngIf"],[3,"ngClass","click",4,"ngIf"],[4,"ngIf"],[3,"selectionChange","standardValue","options"],[3,"ngClass"],[1,"fa","fa-chevron-down"],[3,"click","ngClass"],[3,"willDismiss","rootPage","rootParams","isOpen"]],template:function(St,zt){1&St&&a.DNE(0,Er,4,6,"app-select",0)(1,$n,2,4,"div",1)(2,dn,4,9,"ng-container",2),2&St&&(a.Y8G("ngIf",!!zt.options&&zt.options.length>0&&!zt.binaryType&&!zt.component),a.R7$(),a.Y8G("ngIf",zt.binaryType&&!zt.options&&!zt.component),a.R7$(),a.Y8G("ngIf",!!zt.component&&!zt.binaryType&&!zt.options))},dependencies:[Me.YU,Me.bT,Ot.z,It.w],styles:[".filter-button[_ngcontent-%COMP%]{border-radius:16px;padding:4px 8px;margin:4px;font-size:.9rem;font-weight:600;border:1px solid transparent;color:var(--app-color-primary);width:-webkit-max-content;width:-moz-max-content;width:max-content;-webkit-user-select:none;-moz-user-select:none;user-select:none}.filter-button.outline[_ngcontent-%COMP%]{background-color:transparent;border:1px solid var(--app-color-primary-contrast);color:var(--app-color-primary-contrast)}"]}),tr})();const ei=["template"],wr=dt=>({"reset-filter-button-animation":dt}),Yr=()=>["filter-button","bg-primary-contrast"];function li(dt,tr){if(1&dt){const ft=a.RV6();a.j41(0,"app-clickable",5),a.bIt("onClick",function(){a.eBV(ft);const zt=a.XpG(2);return a.Njj(zt.resetAllFilters())}),a.j41(1,"div",6),a.nrm(2,"i",7),a.EFF(3),a.k0s()()}if(2&dt){const ft=a.XpG(2);a.Y8G("ngClass",a.eq3(3,wr,!ft.didResetFilterButtonAnimate)),a.R7$(),a.Y8G("ngClass",a.lJ4(5,Yr)),a.R7$(2),a.SpI(" ",ft.numberOfActiveFilters," ")}}function mi(dt,tr){if(1&dt){const ft=a.RV6();a.j41(0,"app-filter",9),a.bIt("ngModelChange",function(){a.eBV(ft);const zt=a.XpG(3);return a.Njj(zt.onFilterChange())}),a.k0s()}if(2&dt){const ft=a.XpG().$implicit;a.Y8G("options",ft.options)("alwaysHasValue",ft.alwaysHasValue)("standardValue",ft.standardValue)("binaryType",ft.binaryType)("component",ft.component)("labelCallback",ft.labelCallback)("label",ft.label)("formControlName",ft.fieldName)}}function Lt(dt,tr){if(1&dt&&(a.qex(0),a.DNE(1,mi,1,8,"app-filter",8),a.nI1(2,"async"),a.bVm()),2&dt){const ft=tr.$implicit;a.R7$(),a.Y8G("ngIf",!ft.hide$||!1===a.bMT(2,1,ft.hide$))}}function rr(dt,tr){if(1&dt&&(a.j41(0,"form",null,0)(2,"div",2),a.DNE(3,li,4,6,"app-clickable",3)(4,Lt,3,3,"ng-container",4),a.k0s()()),2&dt){const ft=a.XpG();a.R7$(2),a.Y8G("formGroup",ft.formGroup),a.R7$(),a.Y8G("ngIf",ft.numberOfActiveFilters>0),a.R7$(),a.Y8G("ngForOf",ft.groupFields)}}let Un=(()=>{var dt;class tr{constructor(St,zt,Ln,kr){this.viewContainerRef=St,this.router=zt,this.route=Ln,this.routeParamService=kr,this.destroy$=new cr.B,this.template=null,this.onChange=new a.bkB,this.groupFields=[],this.numberOfActiveFilters=0,this.didResetFilterButtonAnimate=!1,this.didNgOnInitRun=!1}ngOnInit(){if(this.template&&this.viewContainerRef.createEmbeddedView(this.template),!this.filters)return;this.buildFormGroup(this.filters),this.currentFilterValue||(this.currentFilterValue={});const St={};for(const[zt,Ln]of Object.entries(this.filters))if(!Ln.preventQueryParamsSync)try{let kr="string";if(Ln.binaryType)kr="boolean";else if(Ln.options){let R=Ln.options[0].value;kr="",Array.isArray(R)&&(R=R[0],kr="[]"),kr=typeof R+kr}else Ln.component&&(kr="string");St[zt]=[kr,"undefined"]}catch(kr){console.error(`Error processing field ${zt}:`,kr);continue}this.routeParamService.getQueryParams(this.route,St).pipe((0,Yn.Q)(this.destroy$),(0,Qn.s)(1),(0,T.T)(zt=>{if(zt&&this.filters&&this.currentFilterValue)for(const[Ln,kr]of Object.entries(this.filters))try{if((0,Fn.isNil)(zt[Ln]))continue;let R;if(kr.options){const Ee=kr.options.find(Ke=>(0,Fn.isEqual)(Ke.value,zt[Ln]));if(!Ee){console.warn(`No option found for field ${Ln} with value ${zt[Ln]}`,St[Ln],kr.options);continue}R=Ee.value}else if(kr.binaryType)R=zt[Ln];else if(kr.component){let Ee="string"==typeof zt[Ln]?(0,Fn.parseInt)(zt[Ln]):zt[Ln];R=(0,Fn.isNumber)(Ee)?Ee:zt[Ln]}(0,Fn.isNil)(R)||(this.currentFilterValue[Ln]=R)}catch(R){console.error(`Error setting current filter value for field ${Ln}:`,R);continue}}),(0,V.M)(()=>{this.setFromCurrentFilterValue(),this.onFilterChange(),this.didNgOnInitRun=!0})).subscribe()}ngOnChanges(){this.didNgOnInitRun&&this.setFromCurrentFilterValue()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setFromCurrentFilterValue(){if(this.currentFilterValue&&this.filters){for(const St of Ob
1ject.entries(this.currentFilterValue)){if(!this.filters[St[0]]){console.warn(`No filter field found for query param ${St[0]}`);continue}const zt=this.getAbstractControl(St[0]);zt?(0,Fn.isEqual)(zt.value,St[1])||this.setValue({fieldName:St[0],value:St[1]}):console.warn(`No form control found for filter field ${St[0]}`)}this.calculateNumberOfFiltersSet()}}buildFormGroup(St){const zt=this.getFormControlsFields(St);this.formGroup=new ur.gE(zt)}getFormControlsFields(St){const zt={};this.groupFields=[];for(const Ln of Object.keys(St)){const kr=St[Ln];zt[Ln]=new ur.MJ(this.getDefaultValue(kr)),this.groupFields.push({...kr,fieldName:Ln})}return zt}getDefaultValue(St){return(0,Fn.isNil)(St.value)?(0,Fn.isNil)(St.standardValue)?St.alwaysHasValue&&Array.isArray(St.options)&&null!==(zt=null===(Ln=St.options[0])||void 0===Ln?void 0:Ln.value)&&void 0!==zt?zt:null:St.standardValue:St.value;var zt,Ln}setValue({fieldName:St,value:zt}){var Ln;null===(Ln=this.getAbstractControl(St))||void 0===Ln||Ln.setValue(zt)}getAbstractControl(St){var zt;return null===(zt=this.formGroup)||void 0===zt?void 0:zt.controls[St]}onFilterChange(){var St;if(this.calculateNumberOfFiltersSet(),this.onChange.emit(null===(St=this.formGroup)||void 0===St?void 0:St.value),!this.filters)return;const zt={};for(const[kr,R]of Object.entries(this.filters))if(!R.preventQueryParamsSync)try{var Ln;const Ee=null===(Ln=this.getAbstractControl(kr))||void 0===Ln?void 0:Ln.value;zt[kr]=null!=Ee?Ee:null}catch(Ee){console.error(`Error getting value for field ${kr}:`,Ee),zt[kr]=null;continue}this.router.navigate([],{relativeTo:this.route,queryParams:zt,replaceUrl:!0,queryParamsHandling:"merge"})}calculateNumberOfFiltersSet(){if(this.numberOfActiveFilters=0,this.filters&&this.formGroup){for(const[St,zt]of Object.entries(this.formGroup.value)){const Ln=this.getDefaultValue(this.filters[St]);(0,Fn.isEqual)(zt,Ln)||(this.numberOfActiveFilters+=1)}if(this.numberOfActiveFilters>0)return void setTimeout(()=>this.didResetFilterButtonAnimate=!0,300);this.didResetFilterButtonAnimate=!1}}resetAllFilters(){if(this.filters&&this.formGroup)for(const[St,zt]of Object.entries(this.formGroup.value))(0,Fn.isEqual)(zt,this.getDefaultValue(this.filters[St]))||this.setValue({fieldName:St,value:this.getDefaultValue(this.filters[St])})}}return(dt=tr).\u0275fac=function(St){return new(St||dt)(a.rXU(a.c1b),a.rXU(he.Ix),a.rXU(he.nX),a.rXU(ht.E))},dt.\u0275cmp=a.VBU({type:dt,selectors:[["app-filter-group"]],viewQuery:function(St,zt){if(1&St&&a.GBs(ei,7),2&St){let Ln;a.mGM(Ln=a.lsd())&&(zt.template=Ln.first)}},inputs:{filters:"filters",currentFilterValue:"currentFilterValue"},outputs:{onChange:"onChange"},features:[a.OA$],decls:1,vars:1,consts:[["form","ngForm"],[4,"ngIf"],[1,"filter-container",3,"formGroup"],[3,"ngClass","onClick",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"onClick","ngClass"],[3,"ngClass"],[1,"fa","fa-filter"],[3,"options","alwaysHasValue","standardValue","binaryType","component","labelCallback","label","formControlName","ngModelChange",4,"ngIf"],[3,"ngModelChange","options","alwaysHasValue","standardValue","binaryType","component","labelCallback","label","formControlName"]],template:function(St,zt){1&St&&a.DNE(0,rr,5,3,"form",1),2&St&&a.Y8G("ngIf",zt.formGroup)},dependencies:[Me.YU,Me.Sq,Me.bT,ur.qT,ur.BC,ur.cb,ur.cV,ur.j4,ur.JD,lr.E,Ar,Me.Jj],styles:[".filter-container[_ngcontent-%COMP%]{display:flex;overflow-y:scroll;padding:0 16px;max-width:100%;-ms-overflow-style:none;scrollbar-width:none}.filter-container[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.reset-filter-button-animation[_ngcontent-%COMP%]{left:-50px;animation:_ngcontent-%COMP%_slide-in .3s forwards}@keyframes _ngcontent-%COMP%_slide-in{to{left:0;transform:translate(0)}}.filter-button[_ngcontent-%COMP%]{width:-webkit-max-content;width:-moz-max-content;width:max-content;border-radius:16px;padding:4px 8px;margin:4px;font-size:.9rem;font-weight:600;border:1px solid transparent;color:var(--app-color-primary)}"]}),tr})();var nt=u(1524);const Bn=["content"],_r=["filter-group"],Jr=["search"],ti=["template"],ui=[[["","header-back",""]],[["","header-buttons",""]],[["","header-content",""]],"*",[["","custom-loading",""]],[["","footer",""]],[["","static-content",""]]],_i=["[header-back]","[header-buttons]","[header-content]","*","[custom-loading]","[footer]","[static-content]"],eo=dt=>["main-content",dt],Yt=dt=>({"--overflow":dt}),Rt=dt=>["header-toolbar",dt],tn=dt=>({"title-left":!0,"ion-margin-start":dt}),Pt=dt=>["title",dt],Gt=dt=>[dt],Nn=dt=>[dt,"title-toolbar"],Sr=(dt,tr)=>[dt,tr],Ur=dt=>[dt,"search-toolbar"];function ii(dt,tr){1&dt&&a.nrm(0,"ion-menu-button",24)}function Kr(dt,tr){if(1&dt&&a.nrm(0,"app-button",25),2&dt){const ft
1=a.XpG(5);a.Y8G("text",ft.backText)("invert",ft.invertButtons)("defaultHref",ft.backRouterLink)("isBackButton",!0)}}function xi(dt,tr){if(1&dt&&(a.qex(0),a.DNE(1,ii,1,0,"ion-menu-button",22)(2,Kr,1,4,"app-button",23),a.bVm()),2&dt){const ft=a.XpG(4);a.R7$(),a.Y8G("ngIf",!ft.hideMenuButton),a.R7$(),a.Y8G("ngIf",!(ft.hideBackButton||!ft.backRouterLink&&!ft.backText))}}function Fi(dt,tr){if(1&dt&&a.nrm(0,"app-modal-back-button",26),2&dt){const ft=a.XpG(4);a.Y8G("backText",ft.backText)("invert",ft.invertButtons)}}function ao(dt,tr){if(1&dt&&(a.qex(0),a.j41(1,"ion-title",18),a.SdG(2,2),a.k0s(),a.bVm()),2&dt){const ft=a.XpG(4);a.R7$(),a.Y8G("ngClass",a.eq3(1,tn,ft.backText||ft.backRouterLink))}}function Oo(dt,tr){if(1&dt&&(a.j41(0,"ion-title",18),a.EFF(1),a.nI1(2,"stripHtml"),a.k0s()),2&dt){const ft=a.XpG(5);a.Y8G("ngClass",a.eq3(4,Pt,void 0===ft.backRouterLink&&void 0===ft.backText?"title-left":"")),a.R7$(),a.SpI(" ",a.bMT(2,2,ft.title.length<24||void 0===ft.backRouterLink&&void 0===ft.backText?ft.title:ft.title.substring(0,15)+"...")," ")}}function to(dt,tr){if(1&dt&&(a.j41(0,"div",31),a.EFF(1),a.nI1(2,"stripHtml"),a.k0s()),2&dt){const ft=a.XpG(5);a.R7$(),a.SpI(" ",a.bMT(2,1,ft.title)," ")}}function Fo(dt,tr){if(1&dt&&(a.j41(0,"ion-content",33),a.EFF(1),a.nI1(2,"stripHtml"),a.k0s()),2&dt){const ft=a.XpG(6);a.R7$(),a.SpI(" ",a.bMT(2,1,ft.title)," ")}}function Qr(dt,tr){if(1&dt&&(a.j41(0,"ion-popover",32),a.DNE(1,Fo,3,3,"ng-template"),a.k0s()),2&dt){const ft=a.XpG(5);a.Y8G("trigger","title-click"+ft.title)}}function xo(dt,tr){if(1&dt&&(a.qex(0),a.j41(1,"div",27),a.DNE(2,Oo,3,6,"ion-title",28)(3,to,3,3,"div",29),a.k0s(),a.DNE(4,Qr,2,1,"ion-popover",30),a.bVm()),2&dt){const ft=a.XpG(4);a.R7$(),a.FS9("id","title-click"+ft.title),a.R7$(),a.Y8G("appPlatform","mobile"),a.R7$(),a.Y8G("appPlatform","web"),a.R7$(),a.Y8G("ngIf",ft.title.length>20)}}function Lo(dt,tr){if(1&dt&&(a.j41(0,"ion-toolbar",18),a.nI1(1,"async"),a.j41(2,"ion-buttons",19),a.DNE(3,xi,3,2,"ng-container",11)(4,Fi,1,2,"app-modal-back-button",20),a.SdG(5),a.k0s(),a.DNE(6,ao,3,3,"ng-container",11)(7,xo,5,4,"ng-container",11),a.j41(8,"ion-buttons",21),a.SdG(9,1),a.k0s()()),2&dt){const ft=a.XpG(3);a.Y8G("ngClass",a.eq3(7,Rt,a.bMT(1,5,ft.extendedHeader$))),a.R7$(3),a.Y8G("ngIf",!ft.isModal),a.R7$(),a.Y8G("ngIf",ft.isModal&&!!ft.backText),a.R7$(2),a.Y8G("ngIf",!ft.title),a.R7$(),a.Y8G("ngIf",!!ft.title)}}function vo(dt,tr){if(1&dt){const ft=a.RV6();a.j41(0,"app-searchbar",35,4),a.nI1(2,"async"),a.bIt("onCancel",function(){a.eBV(ft);const zt=a.XpG(4);return a.Njj(zt.cancelSearch())})("onBlur",function(){a.eBV(ft);const zt=a.XpG(4);return a.Njj(zt.handleSearchBlur())})("onChange",function(zt){a.eBV(ft);const Ln=a.XpG(4);return a.Njj(Ln.changedSearch(zt))}),a.k0s()}if(2&dt){let ft;const St=a.XpG(4);a.Y8G("ngClass",a.eq3(6,Gt,St.isModal?"modal-search":""))("initialValue",null!==(ft=a.bMT(2,4,St.search$))&&void 0!==ft?ft:void 0)("placeholder",St.searchbarPlaceholder)("searchAction$",St.searchAction$)}}function hi(dt,tr){if(1&dt){const ft=a.RV6();a.j41(0,"ion-toolbar",18)(1,"app-searchbar",36),a.bIt("onFocus",function(){a.eBV(ft);const zt=a.XpG(4);return a.Njj(zt.handleSearchFocus())}),a.k0s()()}if(2&dt){const ft=a.XpG(4);a.Y8G("ngClass",a.eq3(2,Gt,ft.doSearch?"search-active-move-hide":"search-deactive-move-unhide")),a.R7$(),a.Y8G("placeholder",ft.searchbarPlaceholder)}}function no(dt,tr){if(1&dt&&(a.qex(0),a.j41(1,"ion-toolbar",18),a.DNE(2,vo,3,8,"app-searchbar",34),a.k0s(),a.DNE(3,hi,2,4,"ion-toolbar",15),a.bVm()),2&dt){const ft=a.XpG(3);a.R7$(),a.Y8G("ngClass",a.eq3(3,Gt,ft.doSearch?"":"hidden")),a.R7$(),a.Y8G("ngIf",ft.hasSearchbar),a.R7$(),a.Y8G("ngIf",ft.hasSearchbar&&ft.onlyTopHeader)}}function ji(dt,tr){if(1&dt){const ft=a.RV6();a.j41(0,"ion-toolbar")(1,"app-searchbar",37,4),a.nI1(3,"async"),a.bIt("onCancel",function(){a.eBV(ft);const zt=a.XpG(4);return a.Njj(zt.cancelSearch())})("onFocus",function(){a.eBV(ft);const zt=a.XpG(4);return a.Njj(zt.handleSearchFocus())})("onBlur",function(){a.eBV(ft);const zt=a.XpG(4);return a.Njj(zt.handleSearchBlur())})("onChange",function(zt){a.eBV(ft);const Ln=a.XpG(4);return a.Njj(Ln.changedSearch(zt))}),a.k0s()()}if(2&dt){let ft;const St=a.XpG(4);a.R7$(),a.Y8G("ngClass",a.eq3(6,Gt,St.isModal?"modal-search":""))("initialValue",null!==(ft=a.bMT(3,4,St.search$))&&void 0!==ft?ft:void 0)("placeholder",St.searchbarPlaceholder)("searchAction$",St.searchAction$)}}function lo(dt,tr){if(1&dt&&(a.qex(0),a.DNE(1,ji,4,8,"ion-toolbar",11),a.bVm()),2&dt){const ft
1=a.XpG(3);a.R7$(),a.Y8G("ngIf",ft.hasSearchbar)}}function co(dt,tr){1&dt&&a.eu8(0)}function Po(dt,tr){if(1&dt&&(a.j41(0,"ion-toolbar",38),a.DNE(1,co,1,0,"ng-container",39),a.k0s()),2&dt){a.XpG(3);const ft=a.sdS(3);a.R7$(),a.Y8G("ngTemplateOutlet",ft)}}function yt(dt,tr){1&dt&&a.eu8(0)}function Je(dt,tr){if(1&dt&&(a.j41(0,"ion-toolbar",40),a.DNE(1,yt,1,0,"ng-container",39),a.k0s()),2&dt){a.XpG(3);const ft=a.sdS(5);a.R7$(),a.Y8G("ngTemplateOutlet",ft)}}function Nt(dt,tr){if(1&dt&&(a.j41(0,"ion-header",14),a.nI1(1,"async"),a.DNE(2,Lo,10,9,"ion-toolbar",15),a.nI1(3,"async"),a.DNE(4,no,4,5,"ng-container",9)(5,lo,2,1,"ng-container",9)(6,Po,2,1,"ion-toolbar",16)(7,Je,2,1,"ion-toolbar",17),a.k0s()),2&dt){const ft=a.XpG(2);a.Y8G("ngClass",ft.headerClasses)("translucent",!ft.onlyTopHeader&&a.bMT(1,7,ft.deviceService.isMobile$)),a.R7$(2),a.Y8G("ngIf",!ft.doSearch||a.bMT(3,9,ft.deviceService.isWeb$)),a.R7$(2),a.Y8G("appPlatform","mobile"),a.R7$(),a.Y8G("appPlatform","web"),a.R7$(),a.Y8G("ngIf",ft.onlyTopHeader&&!!ft.filters),a.R7$(),a.Y8G("ngIf",ft.onlyTopHeader&&ft.hasStaticContent)}}function je(dt,tr){if(1&dt&&a.nrm(0,"app-refresher",42),2&dt){const ft=a.XpG(3);a.Y8G("fullPullAction$",ft.reloadAction$)}}function ke(dt,tr){if(1&dt&&(a.qex(0),a.DNE(1,je,1,1,"app-refresher",41),a.bVm()),2&dt){const ft=a.XpG(2);a.R7$(),a.Y8G("ngIf",ft.isReloadable)}}function Tt(dt,tr){if(1&dt&&(a.j41(0,"ion-toolbar",46)(1,"ion-title",47),a.EFF(2),a.k0s()()),2&dt){const ft=a.XpG(3);a.Y8G("ngClass",a.eq3(3,Nn,(ft.doSearch?"search-active-move-hide":"search-deactive-move-unhide")+" "+ft.headerClasses)),a.R7$(),a.Y8G("ngClass",a.eq3(5,Gt,ft.title.length>16?"title-content-small ion-text-wrap":"")),a.R7$(),a.SpI(" ",ft.title," ")}}function Zt(dt,tr){if(1&dt&&a.nrm(0,"ion-toolbar",18),2&dt){const ft=a.XpG(3);a.Y8G("ngClass",a.l_i(1,Sr,ft.headerClasses,ft.doSearch?"toolbar-helper-on-search":"toolbar-helper"))}}function In(dt,tr){if(1&dt){const ft=a.RV6();a.j41(0,"ion-toolbar",18)(1,"app-searchbar",36),a.bIt("onFocus",function(){a.eBV(ft);const zt=a.XpG(3);return a.Njj(zt.handleSearchFocus())}),a.k0s()()}if(2&dt){const ft=a.XpG(3);a.Y8G("ngClass",a.eq3(2,Ur,ft.doSearch?"search-active-move-hide":"search-deactive-move-unhide")),a.R7$(),a.Y8G("placeholder",ft.searchbarPlaceholder)}}function or(dt,tr){1&dt&&a.eu8(0)}function Fe(dt,tr){if(1&dt&&(a.j41(0,"ion-toolbar",38),a.DNE(1,or,1,0,"ng-container",39),a.k0s()),2&dt){a.XpG(3);const ft=a.sdS(3);a.R7$(),a.Y8G("ngTemplateOutlet",ft)}}function et(dt,tr){1&dt&&a.eu8(0)}function Ht(dt,tr){if(1&dt&&(a.j41(0,"ion-toolbar",40),a.DNE(1,et,1,0,"ng-container",39),a.k0s()),2&dt){a.XpG(3);const ft=a.sdS(5);a.R7$(),a.Y8G("ngTemplateOutlet",ft)}}function Bt(dt,tr){1&dt&&a.nrm(0,"ion-toolbar",48)}function fn(dt,tr){if(1&dt&&(a.j41(0,"ion-header",43),a.DNE(1,Tt,3,7,"ion-toolbar",44)(2,Zt,1,4,"ion-toolbar",28)(3,In,2,4,"ion-toolbar",15)(4,Fe,2,1,"ion-toolbar",16)(5,Ht,2,1,"ion-toolbar",17)(6,Bt,1,0,"ion-toolbar",45),a.k0s()),2&dt){const ft=a.XpG(2);a.Y8G("ngClass",ft.headerClasses),a.R7$(),a.Y8G("ngIf",void 0!==ft.title),a.R7$(),a.Y8G("appPlatform","mobile"),a.R7$(),a.Y8G("ngIf",ft.hasSearchbar),a.R7$(),a.Y8G("ngIf",!!ft.filters),a.R7$(),a.Y8G("ngIf",ft.hasStaticContent),a.R7$(),a.Y8G("appPlatform","mobile")}}function Dn(dt,tr){if(1&dt&&(a.j41(0,"div"),a.nrm(1,"app-infinit-scroll",52),a.k0s()),2&dt){const ft=a.XpG(3);a.R7$(),a.Y8G("infinitScrollAction$",ft.infinitScrollAction$)}}function ir(dt,tr){if(1&dt&&(a.j41(0,"div",53),a.EFF(1),a.k0s()),2&dt){const ft=a.XpG(3);a.R7$(),a.JRh(ft.emptyStateText)}}function er(dt,tr){if(1&dt&&a.nrm(0,"app-infinit-scroll",54),2&dt){const ft=a.XpG(3);a.Y8G("infinitScrollAction$",ft.infinitScrollAction$)}}function Wr(dt,tr){if(1&dt){const ft=a.RV6();a.qex(0),a.DNE(1,Dn,2,1,"div",11),a.nI1(2,"async"),a.j41(3,"div",49),a.bIt("animationend",function(){a.eBV(ft);const zt=a.XpG(2);return a.Njj(zt.onAnimationEnd())}),a.SdG(4,3),a.k0s(),a.DNE(5,ir,2,1,"div",50),a.nI1(6,"async"),a.DNE(7,er,1,1,"app-infinit-scroll",51),a.nI1(8,"async"),a.bVm()}if(2&dt){const ft=a.XpG(2);a.R7$(),a.Y8G("ngIf",ft.enableInfinitScroll&&ft.isBottomUp&&a.bMT(2,4,ft.hasMoreItemsToLoad$)),a.R7$(2),a.Y8G("ngClass",a.l_i(10,Sr,ft.contentClasses,ft.shouldAnimate?"fade-in":"")),a.R7$(2),a.Y8G("ngIf",ft.emptyStateText&&a.bMT(6,6,ft.isEmpty$)),a.R7$(2),a.Y8G("ngIf",ft.enableInfinitScroll&&!ft.isBottomUp&&a.bMT(8,8,ft.hasMoreItemsToLoad$))}}function Tr(dt,tr){1&dt&&(a.qex(0),a.j41(1,"div",56),a.nrm(2,"app-spinner",57),a.k0s(),a.bVm())}function Bi(dt,tr){if(1&dt&&(a.qex(0),a.j41(1,"div",55,5),a.SdG(3,4),a.k0s(),a.DNE(4,Tr,3,0,"ng-container",11),a.bVm()),2&dt){const ft
1=a.sdS(2);a.R7$(4),a.Y8G("ngIf",!ft.children.length)}}function Pi(dt,tr){if(1&dt&&(a.j41(0,"div",58)(1,"app-clickable",59),a.nrm(2,"i"),a.j41(3,"div"),a.EFF(4),a.nI1(5,"translate"),a.nI1(6,"translate"),a.k0s()(),a.nrm(7,"app-button",60),a.k0s()),2&dt){const ft=a.XpG(2);a.R7$(),a.Y8G("hasHoverHighlight",!1)("hasError$",ft.hasError$)("hideError",!0)("errorMessage",ft.errorMessage),a.R7$(),a.HbH(ft.AppIcons.HasError),a.R7$(2),a.SpI(" ","COMMON.ERROR_OCCURED"===a.bMT(5,9,"COMMON.ERROR_OCCURED")?"Error":a.bMT(6,11,"COMMON.ERROR_OCCURED")," "),a.R7$(3),a.Y8G("click$",ft.reload$())}}function Ui(dt,tr){1&dt&&(a.j41(0,"ion-footer",61)(1,"ion-toolbar"),a.SdG(2,5),a.k0s()())}function yo(dt,tr){if(1&dt&&(a.DNE(0,Nt,8,11,"ion-header",7),a.j41(1,"ion-content",8,3),a.nI1(3,"async"),a.DNE(4,ke,2,1,"ng-container",9)(5,fn,7,7,"ion-header",10)(6,Wr,9,13,"ng-container",11),a.nI1(7,"async"),a.nI1(8,"async"),a.DNE(9,Bi,5,1,"ng-container",11),a.nI1(10,"async"),a.nI1(11,"async"),a.DNE(12,Pi,8,13,"div",12),a.nI1(13,"async"),a.k0s(),a.DNE(14,Ui,3,0,"ion-footer",13)),2&dt){const ft=a.XpG();a.Y8G("ngIf",!ft.hideHeader),a.R7$(),a.Y8G("fullscreen",a.bMT(3,10,ft.deviceService.isMobile$))("ngClass",a.eq3(22,eo,ft.backgroundClasses))("ngStyle",a.eq3(24,Yt,ft.disableScroll?"hidden":"scroll")),a.R7$(3),a.Y8G("appPlatform","mobile"),a.R7$(),a.Y8G("ngIf",!ft.onlyTopHeader&&!ft.hideHeader),a.R7$(),a.Y8G("ngIf",!1===a.bMT(7,12,ft.hasError$)&&!1===a.bMT(8,14,ft.isLoading$)),a.R7$(3),a.Y8G("ngIf",!1===a.bMT(10,16,ft.hasError$)&&a.bMT(11,18,ft.isLoading$)),a.R7$(3),a.Y8G("ngIf",a.bMT(13,20,ft.hasError$)),a.R7$(2),a.Y8G("ngIf",ft.hasFooter)}}function uo(dt,tr){if(1&dt){const ft=a.RV6();a.j41(0,"app-filter-group",62,6),a.bIt("onChange",function(zt){a.eBV(ft);const Ln=a.XpG();return a.Njj(Ln.onFilterChange(zt))}),a.k0s()}if(2&dt){const ft=a.XpG();a.Y8G("filters",ft.filters)("currentFilterValue",ft.currentFilterValue)}}function Ni(dt,tr){1&dt&&a.SdG(0,6)}let di=(()=>{var dt;class tr extends we.${constructor(St,zt,Ln,kr,R,Ee){super(),this.viewContainerRef=St,this.deviceService=zt,this.screensizeService=Ln,this.brandingService=kr,this.route=R,this.router=Ee,this.template=null,this._filters$=new s.t(void 0),this.backgroundStyle="plain",this.disableScroll=!1,this.enableInfinitScroll=!1,this.hasFooter=!1,this.hasSearchbar=!1,this.hasStaticContent=!1,this.hideHeader=!1,this.isBottomUp=!1,this.isModal=!1,this.isReloadable=!1,this.emptyStateText="Keine Daten vorhanden.",this.onlyTopHeader=!1,this.search$=new s.t(void 0),this.searchbarPlaceholder="Suche",this.searchQueryParamKey=null,this.searchEvent=new a.bkB,this.filterChangedEvent=new a.bkB,this.doSearch=!1,this.invertButtons=!1,this.showSearchFilter=!1,this.extendedHeader$=this.deviceService.isIos$.pipe((0,w.Z)(!0),(0,T.T)(Ke=>Ke?"":"extended-header"),(0,x.p)(Ke=>null!==Ke)),this.hasMoreItemsToLoad$=new s.t(!0),this.hideMenuButton=!1,this.hideBackButton=!1,this.shouldAnimate=!0}ngOnInit(){var St,zt;const Ln=null!==(St=null===(zt=this.route.routeConfig)||void 0===zt?void 0:zt.data)&&void 0!==St?St:{},kr=Ln[W.zK.IsDetailPage];"boolean"==typeof kr&&(this.hideMenuButton=kr);const R=Ln[W.zK.IsTopLevelDetailPage];"boolean"==typeof R&&(this.hideBackButton=R);const Ee=this.searchQueryParamKey;this.hasSearchbar&&null!==Ee&&this.route.queryParamMap.pipe((0,F.$)()).subscribe(Ke=>{const G=Ke.get(Ee);G&&(this.search$.next(G),this.doSearch=!0)}),this.deviceService.isMobile$.pipe((0,F.$)(),(0,B.Z)(Ke=>(this.template&&this.viewContainerRef.createEmbeddedView(this.template),Ke?(this.setStyleMobile(),(0,H.of)(void 0)):(this.setStyleWeb(),this.screensizeService.isMin(q.L.webSideMenu).pipe((0,V.M)(G=>{const qe=Ln[W.zK.IsMasterPage];"boolean"==typeof qe&&G&&(this.hideBackButton=qe)})))))).subscribe()}ngAfterViewInit(){this.isBottomUp&&this.scrollToBottom$().pipe((0,B.Z)(()=>this.isLoading$),(0,x.p)(St=>!St),(0,F.$)(),(0,B.Z)(()=>this.scrollToBottom$())).subscribe()}scrollToBottom$(){const{content:St}=this;return this.isBottomUp&&St?(0,H.of)(void 0).pipe((0,L.c)(500),(0,B.Z)(()=>(0,U.H)(St.scrollToBottom(0))),(0,L.c)(50),(0,B.Z)(()=>(0,U.H)(St.scrollByPoint(0,150,0)))):(0,H.of)(void 0)}setStyleMobile(){if("light"===this.backgroundStyle)return this.invertButtons=!this.isModal,this.headerClasses="text-primary-contrast --bg-primary",this.contentClasses="text-primary-dark --bg-primary-light",this.backgroundClasses="--bg-primary-light",void((this.isModal||this.hideHeader)&&(this.headerClasses="text-primary-dark --bg-primary-light"));this.invertButtons=!0,this.headerClasses=this.isModal?"bg-plain text-primary":"text-primary-contrast --bg-primary",this.contentClasses="text-primary-dark --text-primary-dark --bg-plain",this.backgroundClasses=this.isModal?"--bg-plain":"--bg-primary-main-bg-plain"}setStyleWeb(){if(this.onlyTopHeader=!0,"light"===this.backgroundStyle)return this.invertButtons=!0,this.headerClasses="text-primary-contrast --bg-primary",this.contentClasses="text-primary-dark --bg-primary-light",this.backgroundClasses="--bg-primary-light",void(this.isModal&&(this.invertButtons=!1,this.headerClasses="text-primary-dark --bg-primary-light"));this.invertButtons=!0,this.headerClasses=this.isModal?"bg-plain text-primary":"text-primary-contrast --bg-primary",this.contentClasses="text-primary-dark --bg-plain",this.backgroundClasses=this.isModal?"--bg-plain":"--bg-primary-plain"}handleSearchFocus(){var St;this.doSearch=!0,null===(St=this.searchbar)||void 0===St||St.setFocus()}handleSearchBlur(){this.search$.pipe((0,F.$)()).subscribe(St=>{St||(this.doSearch=!1)})}changedSearch(St){const{value:zt}=St.target;this.search$.next(zt&&this.doSearch?zt:void 0),this.syncSearchToUrl(zt)}cancelSearch(){this.search$.next(void 0),this.doSearch=!1,this.syncSearchToUrl(null)}
1syncSearchToUrl(St){const zt=this.searchQueryParamKey;null!==zt&&this.router.navigate([],{relativeTo:this.route,queryParams:{[zt]:St||null},queryParamsHandling:"merge",replaceUrl:!0})}onAnimationEnd(){this.shouldAnimate=!1}onFilterChange(St){this._filters$.next(St),this.filterChangedEvent.emit(St)}reload$(){var St;return null===(St=this.reloadAction$)||void 0===St?void 0:St.pipe((0,le.W)(zt=>(console.error("Error during soft reload:",zt),this.hardReload(),(0,H.of)(void 0))))}hardReload(){try{window.location.reload(!0)}catch(St){window.location.reload()}}}return(dt=tr).\u0275fac=function(St){return new(St||dt)(a.rXU(a.c1b),a.rXU(ue.g),a.rXU(Ie.P),a.rXU(ge.X),a.rXU(he.nX),a.rXU(he.Ix))},dt.\u0275cmp=a.VBU({type:dt,selectors:[["app-page"]],viewQuery:function(St,zt){if(1&St&&(a.GBs(Bn,5),a.GBs(_r,5),a.GBs(Jr,5),a.GBs(ti,7)),2&St){let Ln;a.mGM(Ln=a.lsd())&&(zt.content=Ln.first),a.mGM(Ln=a.lsd())&&(zt.filterGroup=Ln.first),a.mGM(Ln=a.lsd())&&(zt.searchbar=Ln.first),a.mGM(Ln=a.lsd())&&(zt.template=Ln.first)}},inputs:{_filters$:"_filters$",currentFilterValue:"currentFilterValue",backgroundStyle:"backgroundStyle",backRouterLink:"backRouterLink",backText:"backText",disableScroll:"disableScroll",enableInfinitScroll:"enableInfinitScroll",filters:"filters",hasFooter:"hasFooter",hasSearchbar:"hasSearchbar",hasStaticContent:"hasStaticContent",hideHeader:"hideHeader",infinitScrollAction$:"infinitScrollAction$",isBottomUp:"isBottomUp",isModal:"isModal",isReloadable:"isReloadable",emptyStateText:"emptyStateText",onlyTopHeader:"onlyTopHeader",reloadAction$:"reloadAction$",search$:"search$",searchAction$:"searchAction$",searchbarPlaceholder:"searchbarPlaceholder",title:"title",searchQueryParamKey:"searchQueryParamKey"},outputs:{searchEvent:"searchEvent",filterChangedEvent:"filterChangedEvent"},features:[a.Vt3],ngContentSelectors:_i,decls:6,vars:0,consts:[["template",""],["filterGroupTemplate",""],["staticContentTemplate",""],["content",""],["search",""],["customLoading",""],["filterGroup",""],[3,"ngClass","translucent",4,"ngIf"],[3,"fullscreen","ngClass","ngStyle"],[4,"appPlatform"],["collapse","condense",3,"ngClass",4,"ngIf"],[4,"ngIf"],["class","center-xy-absolute text-primary ion-text-center",4,"ngIf"],["style","--background: var(--card-background-translucent); background: var(--card-background-translucent)","translucent","true",4,"ngIf"],[3,"ngClass","translucent"],[3,"ngClass",4,"ngIf"],["class","filter",4,"ngIf"],["class","static-content-toolbar",4,"ngIf"],[3,"ngClass"],["slot","secondary"],[3,"backText","invert",4,"ngIf"],["slot","primary",1,"toolbar-buttons"],["class","text-primary-contrast",4,"ngIf"],["fill","plain",3,"text","invert","defaultHref","isBackButton",4,"ngIf"],[1,"text-primary-contrast"],["fill","plain",3,"text","invert","defaultHref","isBackButton"],[3,"backText","invert"],[1,"title-wrapper",3,"id"],[3,"ngClass",4,"appPlatform"],["class","web-title-container",4,"appPlatform"],["triggerAction","click",3,"trigger",4,"ngIf"],[1,"web-title-container"],["triggerAction","click",3,"trigger"],[1,"ion-padding"],["showCancelButton","always",3,"ngClass","initialValue","placeholder","searchAction$","onCancel","onBlur","onChange",4,"ngIf"],["showCancelButton","always",3,"onCancel","onBlur","onChange","ngClass","initialValue","placeholder","searchAction$"],[3,"onFocus","placeholder"],["showCancelButton","focus",3,"onCancel","onFocus","onBlur","onChange","ngClass","initialValue","placeholder","searchAction$"],[1,"filter"],[4,"ngTemplateOutlet"],[1,"static-content-toolbar"],[3,"fullPullAction$",4,"ngIf"],[3,"fullPullAction$"],["collapse","condense",3,"ngClass"],["class","header-collapse-toolbar",3,"ngClass",4,"ngIf"],["style","height: 1px",4,"appPlatform"],[1,"header-collapse-toolbar",3,"ngClass"],["size","large",3,"ngClass"],[2,"height","1px"],[1,"content",3,"animationend","ngClass"],["class","center-xy empty",4,"ngIf"],["position","bottom",3,"infinitScrollAction$",4,"ngIf"],["position","top",3,"infinitScrollAction$"],[1,"center-xy","empty"],["position","bottom",3,"infinitScrollAction$"],[1,"custom-loading-wrapper"],[1,"center-xy","loading"],["size","large",1,"text-primary-switch"],[1,"center-xy-absolute","text-primary","ion-text-center"],[3,"hasHoverHighlight","hasError$","hideError","errorMessage"],["text","Neu Laden","fill","outline","color","primary",1,"ion-margin-top",3,"click$"],["translucent","true",2,"--background","var(--card-background-translucent)","background","var(--card-background-translucent)"],[3,"onChange","filters","currentFilterValue"]],template:function(St,zt){1&St&&(a.NAR(ui),a.DNE(0,yo,15,26,"ng-template",null,0,a.C5r)(2,uo,2,2,"ng-template",null,1,a.C5r)(4,Ni,1,0,"ng-template",null,2,a.C5r))},dependencies:[Me.YU,Me.bT,Me.T3,Me.B3,$e.QW,$e.W9,$e.M0,$e.eU,$e.MC,$e.BC,$e.ai,$e.CF,Pe.B,Re.Q,it.t,ze,Ce,mn,lr.E,$r,Un,Me.Jj,hr.D9,nt.u],styles:["[_nghost-%COMP%]{display:none}ion-title[_ngcontent-%COMP%]{color:inherit}ion-toolbar[_ngcontent-%COMP%]{--background: inherit;background-color:inherit;color:inherit}ion-toolbar[_ngcontent-%COMP%] ion-buttons[_ngcontent-%COMP%]{min-width:min(20%,100px)}ion-toolbar[_ngcontent-%COMP%] ion-title[_ngcontent-%COMP%]{z-index:100}ion-toolbar[_ngcontent-%COMP%] ion-buttons[slot=primary][_ngcontent-%COMP%]{z-index:101}.filter[_ngcontent-%COMP%]{padding-top:0;padding-bottom:5px;--padding-start: 0;--padding-end: 0;margin-top:-6px}.filter[_ngcontent-%COMP%]:empty{display:none}.hidden[_ngcontent-%COMP%]{display:none}.modal-search[_ngcontent-%COMP%]{margin-top:16px}.search-active-move-hide[_ngcontent-%COMP%]{transition:transform .2s ease,opacity .3s ease,max-height .1s ease;transform:translateY(-80px);max-height:0px;opacity:0}
1.search-deactive-move-unhide[_ngcontent-%COMP%]{transition:transform .2s ease;transform:translateY(0);max-height:300px;opacity:1}.search-active-hide[_ngcontent-%COMP%]{transition:opacity .2s ease;opacity:0;display:none}.search-deactive-hide[_ngcontent-%COMP%]{transition:opacity .2s ease;opacity:1}.search-active-show[_ngcontent-%COMP%]{transition:visibility .2s ease;visibility:hidden}.header-toolbar[_ngcontent-%COMP%]{padding-bottom:8px}.header-toolbar.extended-header[_ngcontent-%COMP%]{padding-top:12px;height:70px}.header-toolbar[_ngcontent-%COMP%] .toolbar-buttons[_ngcontent-%COMP%]{justify-content:right;margin-bottom:0}.header-collapse-toolbar[_ngcontent-%COMP%]{padding-bottom:8px}.title-toolbar[_ngcontent-%COMP%]{padding:0;margin:0}.static-content-toolbar[_ngcontent-%COMP%]{padding-bottom:.25rem}.toolbar-helper[_ngcontent-%COMP%], .toolbar-helper-on-search[_ngcontent-%COMP%]{padding-top:500px;margin-top:-540px}.title-content-small[_ngcontent-%COMP%]{font-size:1.6rem}.title-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center}.web-title-container[_ngcontent-%COMP%]{text-align:center;font-size:1.5rem;font-weight:600;display:inline-block;text-overflow:ellipsis;width:100%;white-space:nowrap;overflow:hidden}.title[_ngcontent-%COMP%]{margin-top:.1rem;margin-bottom:.1rem;font-size:1.2rem}.title.web[_ngcontent-%COMP%]{font-size:1.3rem}.title-small[_ngcontent-%COMP%]{font-size:1.1rem}.title-large[_ngcontent-%COMP%]{font-weight:600}.title-left[_ngcontent-%COMP%]{text-align:left;padding-left:15px}.main-content[_ngcontent-%COMP%] .loading[_ngcontent-%COMP%]{color:var(--ion-color-primary);top:40%}.main-content[_ngcontent-%COMP%] .custom-loading-wrapper[_ngcontent-%COMP%]:empty{display:none}.main-content[_ngcontent-%COMP%] .error[_ngcontent-%COMP%]{top:40%}.main-content[_ngcontent-%COMP%] .empty[_ngcontent-%COMP%]{top:40%;color:var(--app-color-primary-dark);padding-inline:.5rem}--main-bg-primary-light[_ngcontent-%COMP%]{--background: var(--app-color-primary-light)}.fade-in[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeIn .15s ease-out}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}.infinit[_ngcontent-%COMP%]{border:3px solid red;padding:10px}.translucent[_ngcontent-%COMP%]{--background: var(--card-background-translucent);background:var(--card-background-translucent)}"]}),tr})()},999:(wt,Se,u)=>{"use strict";u.d(Se,{t:()=>B});var a=u(9155),s=u(3953),w=u(177),T=u(5374);function x(H,V){if(1&H&&s.nrm(0,"ion-spinner"),2&H){const L=s.XpG();s.HbH(L.size)}}function F(H,V){if(1&H&&(s.j41(0,"div",2),s.nrm(1,"i"),s.j41(2,"div"),s.EFF(3),s.k0s(),s.j41(4,"small"),s.EFF(5,"(Spinner)"),s.k0s()()),2&H){const L=s.XpG();s.R7$(),s.HbH(L.AppIcons.HasError),s.R7$(2),s.JRh(L.textOnError)}}let B=(()=>{var H;class V extends a.${constructor(){super(),this.size="medium"}}return(H=V).\u0275fac=function(U){return new(U||H)},H.\u0275cmp=s.VBU({type:H,selectors:[["app-spinner"]],inputs:{size:"size"},features:[s.Vt3],decls:4,vars:6,consts:[[3,"class",4,"ngIf"],["class","error center-xy",4,"ngIf"],[1,"error","center-xy"]],template:function(U,le){1&U&&(s.DNE(0,x,1,2,"ion-spinner",0),s.nI1(1,"async"),s.DNE(2,F,6,4,"div",1),s.nI1(3,"async")),2&U&&(s.Y8G("ngIf",!1===s.bMT(1,2,le.hasError$)),s.R7$(2),s.Y8G("ngIf",s.bMT(3,4,le.hasError$)))},dependencies:[w.bT,T.w2,w.Jj],styles:["[_nghost-%COMP%]{line-height:1;display:inline-block}ion-spinner[_ngcontent-%COMP%]{color:inherit;aspect-ratio:1/1;line-height:1;display:block;--spinner-dimension: 1rem;width:var(--spinner-dimension);height:var(--spinner-dimension);font-size:var(--spinner-dimension)}.xsmall[_ngcontent-%COMP%]{--spinner-dimension: 10px}.small[_ngcontent-%COMP%]{--spinner-dimension: 13px}.medium[_ngcontent-%COMP%]{--spinner-dimension: 17px}.large[_ngcontent-%COMP%], .xlarge[_ngcontent-%COMP%]{--spinner-dimension: 20px}"]}),V})()},4838:(wt,Se,u)=>{"use strict";u.d(Se,{$:()=>q});var a=u(1413),s=u(4412),w=u(6354),T=u(4572),x=u(6977),F=u(8141),B=u(3601),H=u(321),V=u(546),L=u(2321),U=u(3953),le=u(3575),W=u(2065);let q=(()=>{var we;class ue extends V.C{constructor(ge,he){super(),this.screensizeService=ge,this.notificationCounterService=he,this.size="medium",this.destroy$=new a.B,this.widgetSize="medium",this.isLoading$=new s.t(!1),this.hasError$=new s.t(!1),this.isEmpty$=new s.t(!1),this.maxColumElements=3}get resource$(){throw new Error("Please provide a data Observable")}ngOnInit(){this.mapVariables(),this.isLoading$.next(!0),this.getData(),this.widgetComponent&&this.navigationType&&(this.widgetComponent.unreadCount$||(this.widgetComponent.unreadCount$=this.notificationCounterService.state$.pipe((0,w.T)(ge=>{var he;return null!==(he=this.navigationType&&ge[this.navigationType])&&void 0!==he?he:0}))))}ngOnChanges(){this.mapVariables()}mapVariables(){if(this.widgetComponent){if(this.navigationType){const{title:ge,subtitle:he,icon:Me,path:$e,widgetPath:Pe,widgetQueryParams:Re}=H.j[this.navigationType];this.widgetComponent.title||(this.widgetComponent.title=ge),this.widgetComponent.subtitle||(this.widgetComponent.subtitle=he),this.widgetComponent.icon||(this.widgetComponent.icon=`fa-solid fa-${null!=Me?Me:"home"}`),this.widgetComponent.titleRouterLink||(this.widgetComponent.titleRouterLink=null!=Pe?Pe:$e),this.widgetComponent.titleRouterQueryParams||(this.widgetComponent.titleRouterQueryParams=Re)}this.widgetComponent.isLoading$=this.isLoading$,this.widgetComponent.hasError$=this.hasError$,this.widgetComponent.isEmpty$=this.isEmpty$}(0,T.z)([this.screensizeService.isMin(B.L.expandableWidgets),this.screensizeService.isMax("md")]).pipe((0,x.Q)(this.destroy$),(0,F.M)(([ge,he])=>{this.widgetSize=he?"small":ge&&"large"===this.size?"large":"medium"})).subscribe()}getData(){this.data$=this.resource$.pipe((0,F.M)(ge=>{(ge||0===ge)&&void 0===ge.length||ge&&void 0!==ge.length&&ge.length>0||this.isEmpty$.next(!0)}),(0,F.M)(()=>this.isLoading$.next(!1)))}getAppItemLine(ge,he){return(ge+1)%this.maxColumElements==0||ge===he.length-1?"none":"inset"}get isExpanded(){return"large"===this.size}sliceElements(ge){return ge.slice(0,this.isExpanded?2*this.maxColumElements:this.maxColumElements)}get maxElementsToRequest(){return 2*this.maxColumElements}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return(we=ue).\u0275fac=function(ge){return new(ge||we)(U.rXU(le.P),U.rXU(W.b))},we.\u0275cmp=U.VBU({type:we,selectors:[["app-app-widget"]],viewQuery:function(ge,he){if(1&ge&&U.GBs(L.W,7),2&ge){let Me;U.mGM(Me=U.lsd())&&(he.widgetComponent=Me.first)}},inputs:{size:"size"},features:[U.Vt3,U.OA$],decls:0,vars:0,template:function(ge,he){},encapsulation:2}),ue})()},6520:(wt,Se,u)=>{"use strict";u.d(Se,{X:()=>B});var a=u(7673),s=u(4838),w=u(3953),T=u(177),x=u(5374);const F=H=>["skeleton",H];let B=(()=>{var H;class V extends s.${constructor(){super(...arguments),this.forceSize=void 0}get resource$(){return(0,a.of)(1)}}return(H=V).\u0275fac=(()=>{let L;return function(le){return(L||(L=w.xGo(H)))(le||H)}})(),H.\u0275cmp=w.VBU({type:H,selectors:[["app-widget-skeleton"]],inputs:{forceSize:"forceSize"},features:[w.Vt3],decls:1,vars:4,consts:[[3,"animated","ngClass"]],template:function(U,le){if(1&U&&w.nrm(0,"ion-skeleton-text",0),2&U){let W;w.Y8G("animated",!0)("ngClass",w.eq3(2,F,null!==(W=le.forceSize)&&void 0!==W?W:le.widgetSize))}},dependencies:[T.YU,x.ds],styles:[".skeleton[_ngcontent-%COMP%]{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-radius:var(--card-border-radius);padding:0;margin:0;display:block;overflow:hidden;--base-width: 340px;--base-height: 370px;max-width:100%;width:var(--base-width)}.skeleton.small[_ngcontent-%COMP%]{width:95vw;min-height:200px}
1.skeleton.medium[_ngcontent-%COMP%]{height:var(--base-height)}.skeleton.large[_ngcontent-%COMP%]{height:var(--base-height);width:calc(var(--base-width) * 2)}"]}),V})()},2321:(wt,Se,u)=>{"use strict";u.d(Se,{W:()=>W});var a=u(9155),s=u(3953);const w=["*"],T=q=>["widget","translucent",q],x=(q,we)=>[q,we];function F(q,we){1&q&&s.nrm(0,"app-badge",16),2&q&&s.Y8G("text",we.ngIf)}function B(q,we){if(1&q&&s.nrm(0,"app-icon",17),2&q){const ue=s.XpG(3);s.Y8G("name",ue.endIcon)}}function H(q,we){if(1&q&&(s.j41(0,"div",6)(1,"app-item",7)(2,"div",8),s.nrm(3,"app-icon",9),s.DNE(4,F,1,1,"app-badge",10),s.nI1(5,"async"),s.k0s(),s.j41(6,"div",11)(7,"div",12),s.EFF(8),s.k0s(),s.j41(9,"div",13),s.EFF(10),s.k0s()(),s.qex(11,14),s.DNE(12,B,1,1,"app-icon",15),s.bVm(),s.k0s()()),2&q){const ue=s.XpG(2);s.R7$(),s.Y8G("routerLink",ue.titleRouterLink)("queryParams",ue.titleRouterQueryParams)("click$",ue.headerClick$),s.R7$(2),s.Y8G("name",ue.icon),s.R7$(),s.Y8G("ngIf",s.bMT(5,8,ue.unreadCount$)),s.R7$(4),s.SpI(" ",ue.title," "),s.R7$(2),s.SpI(" ",ue.subtitle," "),s.R7$(2),s.Y8G("ngIf",ue.titleRouterLink||ue.headerClick$)}}function V(q,we){1&q&&s.SdG(0,0,["*ngIf","(isEmpty$ | async) === false; else empty"])}function L(q,we){1&q&&(s.j41(0,"p",18),s.EFF(1,"Keine Eintr\xe4ge vorhanden ..."),s.k0s())}function U(q,we){if(1&q&&(s.qex(0),s.j41(1,"div",3),s.DNE(2,H,13,10,"div",4),s.j41(3,"div",5),s.DNE(4,V,1,0,"ng-content",2),s.nI1(5,"async"),s.DNE(6,L,2,0,"ng-template",null,1,s.C5r),s.k0s()(),s.bVm()),2&q){const ue=s.sdS(7),Ie=s.XpG();s.R7$(),s.Y8G("ngClass",s.eq3(7,T,Ie.size)),s.R7$(),s.Y8G("ngIf",Ie.title),s.R7$(),s.Y8G("ngClass",s.l_i(9,x,Ie.title?"content-container-title-height":"content-container-full-height","filled"===Ie.backgroundStyle?"filled":"")),s.R7$(),s.Y8G("ngIf",!1===s.bMT(5,5,Ie.isEmpty$))("ngIfElse",ue)}}function le(q,we){if(1&q&&s.nrm(0,"app-widget-skeleton",19),2&q){const ue=s.XpG();s.Y8G("forceSize",ue.size)}}let W=(()=>{var q;class we extends a.${constructor(){super(...arguments),this.endIcon="fa fa-ellipsis",this.size="medium",this.backgroundStyle="filled"}}return(q=we).\u0275fac=(()=>{let ue;return function(ge){return(ue||(ue=s.xGo(q)))(ge||q)}})(),q.\u0275cmp=s.VBU({type:q,selectors:[["app-widget"]],inputs:{title:"title",subtitle:"subtitle",info:"info",icon:"icon",endIcon:"endIcon",size:"size",backgroundStyle:"backgroundStyle",titleRouterLink:"titleRouterLink",titleRouterQueryParams:"titleRouterQueryParams",headerClick$:"headerClick$",unreadCount$:"unreadCount$"},features:[s.Vt3],ngContentSelectors:w,decls:4,vars:4,consts:[["loading",""],["empty",""],[4,"ngIf","ngIfElse"],[3,"ngClass"],["class","header",4,"ngIf"],[1,"content-container",3,"ngClass"],[1,"header"],["line","none",1,"rounded",3,"routerLink","queryParams","click$"],["item-left","",1,"icon-container"],["size","large",1,"widget-icon",3,"name"],["class","badge",3,"text",4,"ngIf"],[1,"header__content"],[1,"title","overflow-ellipsis"],[1,"subtitle","overflow-ellipsis"],["item-right",""],["class","detail-icon","size","large",3,"name",4,"ngIf"],[1,"badge",3,"text"],["size","large",1,"detail-icon",3,"name"],[1,"empty"],[1,"loading",3,"forceSize"]],template:function(Ie,ge){if(1&Ie&&(s.NAR(),s.DNE(0,U,8,12,"ng-container",2),s.nI1(1,"async"),s.DNE(2,le,1,1,"ng-template",null,0,s.C5r)),2&Ie){const he=s.sdS(3);s.Y8G("ngIf",!1===s.bMT(1,2,ge.isLoading$))("ngIfElse",he)}},styles:["[_nghost-%COMP%]{display:block;--background: #00000000;--base-width: 340px;--base-height: 370px}.widget[_ngcontent-%COMP%]{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-radius:var(--card-border-radius);box-shadow:0 0 12px rgba(0,0,0,.2);border:2px solid rgba(255,255,255,.2);color:var(--ion-color-plain-contrast);padding:0;display:flex;flex-direction:column;overflow:hidden;transition:all .2s ease-in-out;max-width:100%;width:var(--base-width)}.widget.small[_ngcontent-%COMP%]{width:95vw;min-height:200px}.widget.medium[_ngcontent-%COMP%]{height:var(--base-height)}.widget.large[_ngcontent-%COMP%]{height:var(--base-height);width:calc(var(--base-width) * 2 + 8px)}@media (hover: hover){.widget[_ngcontent-%COMP%]:hover{box-shadow:0 0 64px rgba(0,0,0,.2)}}@media not all and (hover: none){.widget[_ngcontent-%COMP%]:active{box-shadow:0 0 64px rgba(0,0,0,.2)}}.translucent[_ngcontent-%COMP%]{background-color:var(--card-background-translucent)}.filled[_ngcontent-%COMP%]{background-color:var(--app-color-plain)}.header[_ngcontent-%COMP%]{margin:4px}.header[_ngcontent-%COMP%] .icon-container[_ngcontent-%COMP%]{position:relative}.header[_ngcontent-%COMP%] .icon-container[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{position:absolute;right:-6px;top:-8px}.header__content[_ngcontent-%COMP%]{height:50px;display:flex;flex-direction:column;justify-content:center}.header__content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:600;font-size:1.3rem}.header__content[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{color:var(--app-color-medium)}.header[_ngcontent-%COMP%] .detail-icon[_ngcontent-%COMP%]{border-radius:50%;margin:4px;padding:6px 0}.content-container[_ngcontent-%COMP%]{flex:1;overflow:hidden;height:100%;max-height:100%;display:flex;flex-direction:column}.content-container[_ngcontent-%COMP%] .empty[_ngcontent-%COMP%]{padding-inline:1rem;padding-block:2rem;margin:auto;text-align:center;font-style:italic;opacity:.7;color:var(--ion-color-medium)}"]}
1),we})()},3601:(wt,Se,u)=>{"use strict";u.d(Se,{L:()=>s,z:()=>a});const a={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1315},s={qrLoginAutoStartCamera:"md",masterDetailSplit:"lg",expandableWidgets:"xxl",webSideMenu:"xl",qrCodeThreshold:"xxl"}},5538:(wt,Se,u)=>{"use strict";u.d(Se,{u:()=>a});const a="de-DE"},8934:(wt,Se,u)=>{"use strict";u.d(Se,{w:()=>a});const a={themeMode:"THEME_MODE",primaryColor:"PRIMARY_COLOR",secondaryColor:"SECONDARY_COLOR",tertiaryColor:"TERTIARY_COLOR",logo:"LOGO",splash:"SPLASH",propertyManagementCompanyId:"PROPERTY_MANAGEMENT_COMPANY_ID",isBiometricActive:"IS_BIOMETRIC_ACTIVE",lastDatetimeBiometricsDeclined:"LAST_DATETIME_BIOMETRICS_DECLINED",lastDatetimeMissingEmailHintShown:"LAST_DATETIME_MISSING_EMAIL_HINT_SHOWN",liveUpdateID:"LIVE_UPDATE_ID",liveUpdateChannel:"LIVE_UPDATE_CHANNEL",liveUpdateAlreadyLoaded:"LIVE_UPDATE_INITIAL_LOAD",refreshToken:"refreshToken"}},3716:(wt,Se,u)=>{"use strict";u.d(Se,{g:()=>a});const a={HasError:"Es ist ein Fehler aufgetreten.",IsLoading:"Wird geladen..."}},8423:(wt,Se,u)=>{"use strict";u.d(Se,{U:()=>ue});var a=u(177),s=u(9417),w=u(803),T=u(2872),x=u(5374),F=u(3955),B=u(8855),H=u(2709),V=u(1367),L=u(1695),U=u(1897),le=u(1991),W=u(6520),q=u(2321),we=u(3953);let ue=(()=>{var Ie;class ge{}return(Ie=ge).\u0275fac=function(Me){return new(Me||Ie)},Ie.\u0275mod=we.$C({type:Ie}),Ie.\u0275inj=we.G2t({providers:[{provide:w.b,useClass:T.jM},x.QE],imports:[a.MD,x.bv,w.iI,s.YN,s.X1,F.h.forChild()]}),ge})();we.wjB(q.W,function(){return[a.YU,a.bT,x.N7,w.Wk,L.J,V.R,W.X,B.n]},function(){return[a.Jj]}),we.wjB(U.L,function(){return[x.W9,H.Q,le.i]},[])},5514:(wt,Se,u)=>{"use strict";u.d(Se,{p:()=>w});var a=u(3953),s=u(345);let w=(()=>{var T;class x{constructor(B,H,V){this.elementRef=B,this.renderer=H,this.sanitizer=V,this.defaultImage="assets/img/placeholder.png",this.retryCount=0,this.maxRetries=4,this.retryDelay=1e3}ngOnInit(){this.setFinalImage(this.defaultImage),this.targetSource&&this.loadImageWithRetry(this.targetSource)}ngOnChanges(B){const H=B.targetSource;H&&this.loadImageWithRetry(H.currentValue)}loadImageWithRetry(B){const H=this.sanitizer.sanitize(a.WPN.URL,B);if(!H)return;const V=new Image;V.onload=()=>{this.setFinalImage(H)},V.onerror=()=>{this.retryCount<this.maxRetries&&(this.retryCount++,setTimeout(()=>{this.loadImageWithRetry(H)},this.retryDelay*this.retryCount))},V.src=H}setFinalImage(B){B?this.renderer.removeStyle(this.elementRef.nativeElement,"display"):this.renderer.setStyle(this.elementRef.nativeElement,"display","none"),"img"===this.elementRef.nativeElement.nodeName.toLowerCase()?this.renderer.setAttribute(this.elementRef.nativeElement,"src",B):this.renderer.setStyle(this.elementRef.nativeElement,"background",`url(${B}) center center / cover no-repeat`)}}return(T=x).\u0275fac=function(B){return new(B||T)(a.rXU(a.aKT),a.rXU(a.sFG),a.rXU(s.up))},T.\u0275dir=a.FsC({type:T,selectors:[["","appImgPreloader",""]],inputs:{targetSource:[0,"appImgPreloader","targetSource"],defaultImage:"defaultImage"},features:[a.OA$]}),x})()},675:(wt,Se,u)=>{"use strict";u.d(Se,{B:()=>T});var a=u(8141),s=u(3953),w=u(6198);let T=(()=>{var x;class F{constructor(H,V,L){this.deviceService=H,this.templateRef=V,this.viewContainer=L}set appPlatform(H){this.deviceService.device$.pipe((0,a.M)(V=>{"mobile"==H&&V.isMobile||"web"==H&&!V.isMobile||"ios"==H&&"ios"==V.platform||"not-ios"==H&&"ios"!=V.platform||"apple"==H&&("ios"==V.operatingSystem||"mac"==V.operatingSystem)||"not-apple"==H&&"ios"!=V.operatingSystem&&"mac"!=V.operatingSystem?this.viewContainer.createEmbeddedView(this.templateRef):this.viewContainer.clear()})).subscribe()}}return(x=F).\u0275fac=function(H){return new(H||x)(s.rXU(w.g),s.rXU(s.C4Q),s.rXU(s.c1b))},x.\u0275dir=s.FsC({type:x,selectors:[["","appPlatform",""]],inputs:{appPlatform:"appPlatform"}}),F})()},4061:(wt,Se,u)=>{"use strict";u.d(Se,{Q:()=>a,n:()=>s});var a=function(w){return w.Phone="phone",w.Email="email",w.Website="website",w.None="none",w}(a||{});const s={[a.Phone]:{name:"Telefon",icon:"fa fa-phone",hrefTransformer:w=>"tel:"+w},[a.Email]:{name:"E-Mail",icon:"fa fa-envelope",hrefTransformer:w=>"mailto:"+w},[a.Website]:{name:"Website",icon:"fa-solid fa-globe",hrefTransformer:w=>w.startsWith("http")?w:"https://"+w},[a.None]:{name:"E-Mail",icon:"fa fa-circle-info"}}},3876:(wt,Se,u)=>{"use strict";u.d(Se,{E:()=>s,y:()=>a});const a=1;var s=function(w){return w[w.Light=0]="Light",w[w.Dark=1]="Dark",w[w.System=2]="System",w}(s||{})},5919:(wt,Se,u)=>{"use strict";u.d(Se,{Q:()=>a});var a=function(s){return s[s.InPreparation=0]="InPreparation",s[s.InProgress=1]="InProgress",s[s.InReview=2]="InReview",s[s.Completed=3]="Completed",s[s.Errored=4]="Errored",s}(a||{})},6426:(wt,Se,u)=>{"use strict";u.d(Se,{U:()=>a});
1var a=function(s){return s[s.Admin=1]="Admin",s[s.PropertyManagementCompany=2]="PropertyManagementCompany",s[s.PoolManager=3]="PoolManager",s[s.Contractor=5]="Contractor",s[s.User=7]="User",s[s.Guest=11]="Guest",s[s.InsuranceBroker=13]="InsuranceBroker",s[s.Insurer=14]="Insurer",s}(a||{})},8203:(wt,Se,u)=>{"use strict";u.d(Se,{k:()=>a});var a=function(s){return s[s.Phone=1]="Phone",s[s.Fax=2]="Fax",s[s.Email=3]="Email",s[s.iPhone=4]="iPhone",s[s.Web=5]="Web",s[s.Sms=6]="Sms",s[s.Android=7]="Android",s[s.Epost=8]="Epost",s}(a||{})},7048:(wt,Se,u)=>{"use strict";u.d(Se,{g:()=>a});var a=function(s){return s[s.Unanswered=0]="Unanswered",s[s.Accepted=1]="Accepted",s[s.Declined=2]="Declined",s}(a||{})},6259:(wt,Se,u)=>{"use strict";u.d(Se,{$M:()=>s,Jx:()=>w,y:()=>T});var a=function(x){return x[x.Chairman=1]="Chairman",x[x.BoardMember=2]="BoardMember",x[x.Owner=3]="Owner",x[x.Tenant=4]="Tenant",x[x.Subtenant=5]="Subtenant",x[x.Resident=6]="Resident",x[x.SpecialPropertyOwner=7]="SpecialPropertyOwner",x[x.PropertyObjectOwner=8]="PropertyObjectOwner",x[x.AuthorizedOwnerRecipient=9]="AuthorizedOwnerRecipient",x[x.AuthorizedTenantRecipient=10]="AuthorizedTenantRecipient",x[x.AuthorizedPropertyObjectOwnerRecipient=11]="AuthorizedPropertyObjectOwnerRecipient",x}(a||{});const s=[a.Chairman,a.BoardMember,a.Owner,a.SpecialPropertyOwner,a.PropertyObjectOwner,a.AuthorizedOwnerRecipient,a.AuthorizedPropertyObjectOwnerRecipient],w=[a.Owner,a.SpecialPropertyOwner,a.AuthorizedOwnerRecipient],T=[a.Tenant,a.Subtenant,a.Resident,a.AuthorizedTenantRecipient]},9718:(wt,Se,u)=>{"use strict";u.d(Se,{b:()=>a});var a=function(s){return s.Dashboard="dashboard",s.Documents="documents",s.Settings="settings",s.Units="units",s.SmartLocks="smart-locks",s.Processes="processes",s.Notices="notices",s.Faq="faq",s.NearbyPlaces="nearby-places",s.Qrcode="qrcode",s.Consumptions="consumptions",s.WorkOrderAppointments="work-order-appointments",s.NextConsumptionReading="next-consumption-reading",s.Conferences="conferences",s.ResolutionCollection="resolution-collection",s.EmergencyContacts="emergency-contacts",s}(a||{})},7454:(wt,Se,u)=>{"use strict";u.d(Se,{d:()=>s});var a=u(3953);let s=(()=>{var w;class T{transform(F){return F?F.replace(/-o$/i,""):""}}return(w=T).\u0275fac=function(F){return new(F||w)},w.\u0275pipe=a.EJ8({name:"faVersionAdapter",type:w,pure:!0}),T})()},7161:(wt,Se,u)=>{"use strict";u.d(Se,{r:()=>w});var a=u(6843),s=u(3953);let w=(()=>{var T;class x{transform(B,H){var V;let L=(0,a.kV)(null==B?void 0:B.fullStreet,null==B?void 0:B.zipCode,null==B?void 0:B.city);if(!L)if(H){var U;L=null!==(U=(0,a.kV)(null==H?void 0:H.fullStreet,null==H?void 0:H.zipCode,null==H?void 0:H.city))&&void 0!==U?U:H.name}else L=null==B?void 0:B.name;return null!==(V=L)&&void 0!==V?V:a.kF}}return(T=x).\u0275fac=function(B){return new(B||T)},T.\u0275pipe=s.EJ8({name:"fullStreetOrName",type:T,pure:!0}),x})()},1056:(wt,Se,u)=>{"use strict";u.d(Se,{_:()=>w});var a=u(5538),s=u(3953);let w=(()=>{var T;class x{transform(B,H="showTime"){if(!B)return"";B=new Date(B);const V=new Date,L=new Date(V);L.setDate(V.getDate()-1);const U=new Date(V);U.setDate(V.getDate()+1);const le=new Date(V);le.setDate(V.getDate()-7);const W=Math.abs(Math.ceil((V.getTime()-B.getTime())/864e5));if(B.toDateString()===V.toDateString()){if("showTodayWord"===H)return"Heute";if("showTime"===H)return B.toLocaleTimeString(a.u,{hour:"2-digit",minute:"2-digit"})}if("justMonth"===H)return B.toLocaleDateString(a.u,{month:"2-digit",year:"numeric"});if("justDate"!==H){if(B.toDateString()===L.toDateString())return"Gestern";if(B.toDateString()===U.toDateString())return"Morgen";if(B>=le&&B<V&&W<7)return B.toLocaleDateString(a.u,{weekday:"long"})}return B.toLocaleDateString(a.u,{year:"2-digit",month:"2-digit",day:"2-digit"})}}return(T=x).\u0275fac=function(B){return new(B||T)},T.\u0275pipe=s.EJ8({name:"naturalDate",type:T,pure:!0}),T.\u0275prov=s.jDH({token:T,factory:T.\u0275fac,providedIn:"root"}),x})()},4792:(wt,Se,u)=>{"use strict";u.d(Se,{o:()=>s});var a=u(3953);let s=(()=>{var w;class T{transform(F){if(!F)return;let{primaryName:B,secondaryName:H,fullName:V,ternaryName:L,quaternaryName:U}=F;return V||(V=`${B} ${H}`),[V,L,U].filter(le=>!!le).join(", ")||void 0}}return(w=T).\u0275fac=function(F){return new(F||w)},w.\u0275pipe=a.EJ8({name:"partyName",type:w,pure:!0}),T})()},1524:(wt,Se,u)=>{"use strict";u.d(Se,{u:()=>w});var a=u(3953),s=u(345);let w=(()=>{var T;class x{constructor(B){this.sanitizer=B}transform(B){if("number"==typeof B&&(B=B.toString()),!B||"string"!=typeof B)return"";let H=B.replace(/(\r\n|\r|\n)/gi," ");return H=B.replace(/<br[^>]*>/gi," "),H=B.replace(/(<([^>]+)>)/gi,""),H=H.replace(/ /gi," "),H=H.trim(),H}}return(T=x).\u0275fac=function(B){return new(B||T)(a.rXU(s.up,16))},T.\u0275pipe=a.EJ8({name:"stripHtml",type:T,pure:!0}),x})()},5265:(wt,Se,u)=>{"use strict";u.d(Se,{Z:()=>w});var a=u(5127),s=u(3953);let w=(()=>{var T;class x{transform(B,H=!0,V,L){return H?(0,a.cA)(B,L,V):(0,a.z4)(B,L,V)}}return(T=x).\u0275fac=function(B){return new(B||T)},T.\u0275pipe=s.EJ8({name:"unitAddress",type:T,pure:!0}),x})()},5413:(wt,Se,u)=>{"use strict";u.d(Se,{u:()=>x});var a=u(1594),s=u(1372),w=u(3953),T=u(4592);let x=(()=>{var F;class B extends s.F{constructor(V){super(V),this.backendService=V}get errorMessages(){return{...super.errorMessages,400:"Ung\xfcltiger Benutzername oder Passwort"}}get resource(){return"auth"}loginByMail$({email:V,password:L}){return this.createSubResource$({email:V,password:L,skipMultiFactorAuthentication:!0}
1,{subResourceName:"login"})}loginByApiKey$(V){return this.createSubResource$({apikey:V},{subResourceName:"api-key-login"})}logout$(V,L){return this.createSubResource$({refreshToken:V,logoutEverywhere:L},{subResourceName:"logout"})}refreshTokens$(V){return this.createSubResource$({refreshToken:V},{subResourceName:"refresh"}).pipe((0,a.$)())}recoverPassword$(V){return this.createSubResource$({email:V},{subResourceName:"recover-password"})}changePasswordWithRecoveryCode$(V,L,U){return this.replaceSubResource$({email:V,recoveryCode:L.replaceAll(" ",""),password:U},{subResourceName:"change-password-with-recovery-code"})}}return(F=B).\u0275fac=function(V){return new(V||F)(w.KVO(T.m))},F.\u0275prov=w.jDH({token:F,factory:F.\u0275fac,providedIn:"root"}),B})()},1372:(wt,Se,u)=>{"use strict";u.d(Se,{F:()=>k});var a=u(7376),s=u(4412),w=u(983),T=u(7673),x=u(8810),F=u(4572),B=u(9974),H=u(2326),V=u(6450),L=u(1203),U=u(9326);function le(...z){const ce=(0,U.ms)(z);return ce?(0,L.F)(le(...z),(0,V.I)(ce)):(0,B.N)((pe,ve)=>{(0,F.P)([pe,...(0,H.K)(z)])(ve)})}function W(...z){return le(...z)}var q=u(3028),we=u(8141),ue=u(1943),Ie=u(6354),ge=u(1594),he=u(5412),$e=u(9852),Pe=u(9437),Re=u(644),it=u(610),Be=u(3953),We=u(4592);const Ae={items:[],pageNumber:1,totalPages:0,totalCount:0,hasNextPage:!1,hasPreviousPage:!1};let k=(()=>{var z;class ce{get resource(){throw new Error("Not Implemented")}get entityMapper(){return ve=>ve}get entitiesMapper(){return ve=>ve.map(ze=>this.entityMapper(ze))}get errorMessages(){return{400:"Bad request",401:"Unauthorized",403:"Forbidden",404:"Not found",500:"Internal server error"}}constructor(ve){this.backendService=ve,this.currentPageNumber$=new s.t(ce.firstPageNumber),this.currentPageSize$=new s.t(ce.defaultPageSize)}url({directory:ve,resourceId:ze,modifiedResourceName:fe,subResourceName:de}){let ee=Re.c.basePath;if("object"==typeof ve)for(const{path:$,id:se}of ve)ee+=`/${$}/${se}`;return ee+=fe?`/${fe}${ze?`/${ze}`:""}`:`/${this.resource}${ze?`/${ze}`:""}`,de&&(ee+=`/${de}`),(0,it._)(Re.c.baseUrl,ee)}listWithMetaData$({pageNumber:ve=ce.firstPageNumber,pageSize:ze=ce.defaultPageSize,directory:fe,headers:de,modifiedResourceName:ee}={},$=void 0){return this.currentPageNumber$.next(ve),this.currentPageSize$.next(ze),this.currentPageNumber$.pipe(W(this.currentPageSize$),(0,q.Z)(([se,Ce])=>this.createNormalRequestOrSearchRequest$({pageNumber:se,pageSize:Ce,directory:fe,headers:de,modifiedResourceName:ee},$)),(0,we.M)(se=>{this.currentHasNextPage=se.hasNextPage}),(0,ue.S)((se,Ce)=>(Ce.pageNumber===ce.firstPageNumber||(Ce.items=se.items.concat(Ce.items)),Ce),(0,a.clone)(Ae)))}list$({pageNumber:ve=ce.firstPageNumber,pageSize:ze=ce.defaultPageSize,directory:fe,headers:de,modifiedResourceName:ee}={},$=void 0){return this.listWithMetaData$({pageNumber:ve,pageSize:ze,directory:fe,headers:de,modifiedResourceName:ee},$).pipe((0,Ie.T)(se=>se.items))}listAll$({directory:ve,headers:ze,modifiedResourceName:fe}={},de=void 0){let ee=ce.firstPageNumber;const $=ce.maxPageSize;return this.createNormalRequestOrSearchRequest$({pageNumber:ee,pageSize:$,directory:ve,headers:ze,modifiedResourceName:fe},de).pipe((0,ge.$)(),function Me(z,ce=1/0,pe){return ce=(ce||0)<1?1/0:ce,(0,B.N)((ve,ze)=>(0,he.h)(ve,ze,z,ce,void 0,!0,pe))}(se=>se.hasNextPage&&ee<50?this.createNormalRequestOrSearchRequest$({pageNumber:++ee,pageSize:$,directory:ve,headers:ze,modifiedResourceName:fe},de):w.w),(0,$e.T)((se,Ce)=>se.concat(Ce.items),[]),(0,Ie.T)(se=>se.filter(Ce=>Ce)),(0,we.M)(()=>this.currentHasNextPage=!1),(0,ge.$)())}once$({pageNumber:ve=1,pageSize:ze=ce.defaultPageSize,directory:fe,headers:de,modifiedResourceName:ee}={},$=void 0){return this.createNormalRequestOrSearchRequest$({pageNumber:ve,pageSize:ze,directory:fe,headers:de,modifiedResourceName:ee},$).pipe((0,Ie.T)(se=>se.items),(0,ge.$)())}createNormalRequestOrSearchRequest$({pageNumber:ve=ce.firstPageNumber,pageSize:ze=ce.defaultPageSize,directory:fe,headers:de,modifiedResourceName:ee}={},$=void 0){let se=ze;return se<ce.minPageSize?(console.warn(`Page size ${se} is below the minimum of ${ce.minPageSize}. Adjusting to minimum.`),se=ce.minPageSize):se>ce.maxPageSize&&(console.warn(`Page size ${se} exceeds the maximum of ${ce.maxPageSize}. Adjusting to maximum.`),se=ce.maxPageSize),((0,a.isNil)($)?this.backendService.get(this.url({directory:fe,resourceId:void 0,modifiedResourceName:ee}),{params:{pageNumber:ve,pageSize:se},headers:de}):this.backendService.post(this.url({directory:fe,resourceId:void 0,modifiedResourceName:ee})+"/search",{...$},{params:{pageNumber:ve,pageSize:se},headers:de})).pipe(this.handleHttpError(),(0,ge.$)(),(0,Ie.T)(Ce=>({...Ce,items:this.entitiesMapper(Ce.items)})))}get hasNextPage(){return!!this.currentHasNextPage}goToListStart(){this.currentPageNumber$.next(ce.firstPageNumber)}loadMore(){return this.currentPageNumber$.next(this.currentPageNumber$.value+1),!this.hasNextPage}createSubResource$(ve,{resourceId:ze,directory:fe,subResourceName:de}){const ee=this.url({directory:fe,resourceId:ze,subResourceName:de});return this.backendService.post(ee,ve).pipe(this.handleHttpError())}showSubResource$({resourceId:ve,directory:ze,subResourceName:fe}){const de=this.url({directory:ze,resourceId:ve,subResourceName:fe});return this.backendService.get(de)}replaceSubResource$(ve,{resourceId:ze,directory:fe,subResourceName:de}){const ee=this.url({resourceId:ze,directory:fe,subResourceName:de});return this.backendService.put(ee,ve).pipe(this.handleHttpError())}replaceList$(ve,{directory:ze,modifiedResourceName:fe}){const de=this.url({directory:ze,modifiedResourceName:fe});return this.backendService.put(de,ve).pipe(this.handleHttpError(),(0,Ie.T)(ee=>this.entitiesMapper(ee)))}getTotalCount$({directory:ve,headers:ze,modifiedResourceName:fe}={},de=void 0){return this.createNormalRequestOrSearchRequest$({directory:ve,headers:ze,modifiedResourceName:fe,pageSize:ce.minPageSize},de).pipe((0,Ie.T)(ee=>ee.totalCount),(0,Pe.W)(ee=>(console.error("Error while getting total count for directory: ",ve,ee),(0,T.of)(0))))}handleHttpError(){return ve=>ve.pipe((0,Pe.W)(ze=>(console.error("BaseRepositoryService: Http Error",ze),(0,x.$)(()=>({status:ze.status,textOnError:this.errorMessages[ze.status],errorMessage:ze.message,serverResponse:ze.errorObject})))))}}return(z=ce).defaultPageSize=10,z.firstPageNumber=1,z.minPageSize=1,z.maxPageSize=100,z.\u0275fac=function(ve){return new(ve||z)(Be.KVO(We.m))},z.\u0275prov=Be.jDH({token:z,factory:z.\u0275fac}),ce})()},2172:(wt,Se,u)=>{"use strict";u.d(Se,{A:()=>T});var a=u(4638),s=u(3953),w=u(4592);let T=(()=>{var x;class F extends a.d{constructor(H){super(H),this.backendService=H}get resource(){return"conferences"}batchConferences$(H){return this.backendService.post(this.url({subResourceName:"batch"}),{ids:H})}}return(x=F).\u0275fac=function(H){return new(H||x)(s.KVO(w.m))},x.\u0275prov=s.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}),F})()},4760:(wt,Se,u)=>{"use strict";u.d(Se,{u:()=>V});var a=u(3028),s=u(7673),w=u(9437),T=u(644),x=u(4638),F=u(3953),B=u(4592),H=u(2010);let V=(()=>{var L;class U extends x.d{constructor(W,q){super(W),this.propertyRepositoryService=q}get resource(){return"resolutions"}listAll$(W,q){return super.listAll$(W,q)}getResolutionResults$(W){return this.backendService.get(this.url({resourceId:W,subResourceName:"voting-sessions"})).pipe((0,a.Z)(q=>Array.isArray(q.items)&&q.items.length>0?this.backendService.get(`${T.c.baseUrl}/api/voting-sessions/${q.items[0].id}/results`):(0,s.of)(null)),(0,w.W)(()=>(0,s.of)(null)))}}return(L=U).\u0275fac=function(W){return new(W||L)(F.KVO(B.m),F.KVO(H.x))},L.\u0275prov=F.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}),U})()},5682:(wt,Se,u)=>{"use strict";u.d(Se,{Q:()=>F});var a=u(8141),s=u(4638),w=u(3953),T=u(4592),x=u(9822);let F=(()=>{var B;class H extends s.d{constructor(L,U){super(L),this.reloadService=U,this.reloadService.consumptionNextReadingsTrigger$.pipe((0,a.M)(()=>this.goToListStart())).subscribe()}get resource(){return"consumption-meters"}}return(B=H).\u0275fac=function(L){return new(L||B)(w.KVO(T.m),w.KVO(x.P))},B.\u0275prov=w.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}),H})()},2176:(wt,Se,u)=>{"use strict";u.d(Se,{F:()=>T});var a=u(1372),s=u(3953),w=u(4592);let T=(()=>{var x;class F extends a.F{constructor(H){super(H)}get resource(){return"consumption-reading-dates"}}return(x=F).\u0275fac=function(H){return new(H||x)(s.KVO(w.m))},x.\u0275prov=s.jDH({token:x,factory:x.\u0275fac,providedIn:"any"}),F})()},5757:(wt,Se,u)=>{"use strict";u.d(Se,{T:()=>T});var a=u(4638),s=u(3953),w=u(4592);let T=(()=>{var x;class F extends a.d{constructor(H){super(H)}get resource(){return"consumption-types"}}return(x=F).\u0275fac=function(H){return new(H||x)(s.KVO(w.m))},x.\u0275prov=s.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}),F})()},8194:(wt,Se,u)=>{"use strict";u.d(Se,{N:()=>F});var a=u(3028),s=u(4638),w=u(3953),T=u(4592),x=u(9822);let F=(()=>{var B;class H extends s.d{constructor(L,U){super(L),this.backendService=L,this.reloadService=U}get resource(){return"documents"}getTotalCount$(L,U){return this.reloadService.documentUnreadCountTrigger$.pipe((0,a.Z)(()=>super.getTotalCount$(L,U)))}}return(B=H).\u0275fac=function(L){return new(L||B)(w.KVO(T.m),w.KVO(x.P))},B.\u0275prov=w.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}),H})()},9727:(wt,Se,u)=>{"use strict";u.d(Se,{E:()=>q});var a=u(5558),s=u(6354),w=u(7673),T=u(8793),x=u(9291),F=u(9437),B=u(2498),H=u(9030),V=u(3028),L=u(4638),U=u(3953),le=u(4592),W=u(6646);let q=(()=>{var we;class ue extends L.d{constructor(ge,he){super(ge),this.backendService=ge,this.fileTypeRepositoryService=he,this.fileTypes=[],setTimeout(()=>{try{this.fileTypeRepositoryService.listAll$().subscribe(Me=>{this.fileTypes=Me})}catch(Me){console.error("error pre-fetching file types",Me)}})}get resource(){return"files"}listAll$(ge={},he=void 0){return super.listAll$(ge,he).pipe((0,a.n)(Me=>this.addTypes$(Me)),(0,a.n)(Me=>this.addThumbnails$(Me)),(0,s.T)(Me=>this.addDownloadUrls(Me)))}show$(ge){return super.show$(ge).pipe((0,a.n)(he=>this.addType$(he)),(0,a.n)(he=>this.addThumbnail$(he)),(0,s.T)(he=>this.addDownloadUrl(he)))}fileTypes$(){return this.fileTypes.length>0?(0,w.of)(this.fileTypes):this.fileTypeRepositoryService.listAll$({})}
1addTypes$(ge){return 0===ge.length?(0,w.of)([]):this.fileTypes$().pipe((0,s.T)(he=>ge.map(Me=>(Me.type=he.find($e=>(null==$e?void 0:$e.id)===Me.typeId),Me))))}fileType$(ge){const he=this.fileTypes.find(Me=>Me.id===ge);return he?(0,w.of)(he):this.fileTypeRepositoryService.show$({resourceId:ge})}addType$(ge){return this.fileType$(ge.typeId).pipe((0,s.T)(he=>(ge.type=he,ge)))}addThumbnails$(ge){if(0===ge.length)return(0,w.of)(ge);const he=ge.map(Me=>this.addThumbnail$(Me));return(0,T.x)(he).pipe((0,x.x)())}addThumbnail$(ge){var he;return null!==(he=ge.type)&&void 0!==he&&he.isImage?this.showSubResource$({resourceId:ge.id,subResourceName:"thumbnail"}).pipe((0,s.T)(Me=>(ge.thumbnailUrl=Me.url,ge)),(0,F.W)(()=>(0,w.of)(ge))):(0,w.of)(ge)}addDownloadUrls(ge){return ge.map(he=>this.addDownloadUrl(he))}addDownloadUrl(ge){return{...ge,downloadUrl$:this.showSubResource$({resourceId:ge.id,subResourceName:"download"}).pipe((0,s.T)(he=>he.downloadUrl),(0,B.L)({count:5,delay:(he,Me)=>(0,w.of)(Me>3?5e3:1e3)}))}}addDownloadUrl$(ge){return(0,H.v)(()=>(0,w.of)(ge.downloadUrl$?ge:this.addDownloadUrl(ge))).pipe((0,V.Z)(he=>he.downloadUrl$.pipe((0,s.T)(Me=>({...he,downloadUrl:Me})))))}}return(we=ue).\u0275fac=function(ge){return new(ge||we)(U.KVO(le.m),U.KVO(W.k))},we.\u0275prov=U.jDH({token:we,factory:we.\u0275fac,providedIn:"root"}),ue})()},6646:(wt,Se,u)=>{"use strict";u.d(Se,{k:()=>T});var a=u(4638),s=u(3953),w=u(4592);let T=(()=>{var x;class F extends a.d{constructor(H){super(H),this.backendService=H}get resource(){return"file-types"}}return(x=F).\u0275fac=function(H){return new(H||x)(s.KVO(w.m))},x.\u0275prov=s.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}),F})()},4638:(wt,Se,u)=>{"use strict";u.d(Se,{W:()=>T,d:()=>x});var a=u(6354),s=u(1372),w=u(3953);const T={items:[],pageNumber:1,totalPages:0,totalCount:0,hasNextPage:!1,hasPreviousPage:!1};let x=(()=>{var F;class B extends s.F{listForIds$(V,{directory:L,modifiedResourceName:U}={}){const le=this.url({resourceId:void 0,directory:L,modifiedResourceName:U});return this.backendService.post(le+"/batch",{ids:V}).pipe(this.handleHttpError(),(0,a.T)(W=>this.entitiesMapper(W)))}show$({resourceId:V,directory:L,modifiedResourceName:U}){let le;return le=this.url(L&&U?{directory:L,resourceId:V,modifiedResourceName:U}:{resourceId:V,directory:L}),this.backendService.get(le).pipe(this.handleHttpError(),(0,a.T)(W=>this.entityMapper(W)))}create$(V,{directory:L,modifiedResourceName:U}={}){const le=this.url({directory:L,modifiedResourceName:U});return this.backendService.post(le,V).pipe(this.handleHttpError(),(0,a.T)(W=>this.entityMapper(W)))}update$(V,{resourceId:L,directory:U,modifiedResourceName:le}){const W=this.url({resourceId:L,directory:U,modifiedResourceName:le});return this.backendService.patch(W,V).pipe(this.handleHttpError(),(0,a.T)(q=>this.entityMapper(q)))}bulkUpdate$(V,{resourceIds:L,directory:U,modifiedResourceName:le}){const W=this.url({directory:U,modifiedResourceName:le})+"/batch";return this.backendService.patchBulk(W,L,V).pipe(this.handleHttpError())}updateSubResource$(V,{resourceId:L,directory:U,subResourceName:le}){const W=this.url({directory:U,resourceId:L,subResourceName:le});return this.backendService.patch(W,V).pipe(this.handleHttpError())}replace$(V,{resourceId:L,directory:U,modifiedResourceName:le}){const W=this.url({resourceId:L,directory:U,modifiedResourceName:le});return this.backendService.put(W,V).pipe(this.handleHttpError(),(0,a.T)(q=>this.entityMapper(q)))}replaceWithArray$(V,{resourceId:L,directory:U,modifiedResourceName:le}){const W=this.url({resourceId:L,directory:U,modifiedResourceName:le});return this.backendService.put(W,V).pipe(this.handleHttpError(),(0,a.T)(q=>this.entitiesMapper(q)))}delete$(V){const L=this.url({resourceId:V});return this.backendService.delete(L).pipe(this.handleHttpError())}}return(F=B).\u0275fac=(()=>{let H;return function(L){return(H||(H=w.xGo(F)))(L||F)}})(),F.\u0275prov=w.jDH({token:F,factory:F.\u0275fac}),B})()},7540:(wt,Se,u)=>{"use strict";u.d(Se,{z:()=>T});var a=u(4638),s=u(3953),w=u(4592);let T=(()=>{var x;class F extends a.d{constructor(H){super(H),this.backendService=H}get resource(){return"faq-groups"}}return(x=F).\u0275fac=function(H){return new(H||x)(s.KVO(w.m))},x.\u0275prov=s.jDH({token:x,factory:x.\u0275fac,providedIn:"any"}),F})()},8093:(wt,Se,u)=>{"use strict";u.d(Se,{m:()=>V});var a=u(2087),s=u(6354),w=u(9437),T=u(7673),x=u(1594),F=u(1372),B=u(3953),H=u(4592);let V=(()=>{var L;class U extends F.F{constructor(W){super(W),this.backendService=W}get resource(){return"health"}isHealthy$(){return this.showSubResource$({subResourceName:""}).pipe((0,a.w)({first:3e4}),(0,s.T)(()=>!0),(0,w.W)(W=>(console.error("HealthRepositoryService: Error fetching health status",W),(0,T.of)(!1))),(0,x.$)())}isLive$(){return this.showSubResource$({subResourceName:"live"}).pipe((0,s.T)(()=>!0),(0,w.W)(W=>(console.error("Error fetching health status (live)",W),(0,T.of)(!1))),(0,x.$)())}isReady$(){return this.showSubResource$({subResourceName:"ready"}).pipe((0,s.T)(()=>!0),(0,w.W)(W=>(console.error("Error fetching health status (ready)",W),(0,T.of)(!1))),(0,x.$)())}}return(L=U).\u0275fac=function(W){return new(W||L)(B.KVO(H.m))},L.\u0275prov=B.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}),U})()},1787:(wt,Se,u)=>{"use strict";u.d(Se,{Z:()=>T});var a=u(4638),s=u(3953),w=u(4592);let T=(()=>{var x;class F extends a.d{constructor(H){super(H),this.backendService=H}get resource(){return"account-contact-details"}}return(x=F).\u0275fac=function(H){return new(H||x)(s.KVO(w.m))},x.\u0275prov=s.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}),F})()},5385:(wt,Se,u)=>{"use strict";u.d(Se,{t:()=>B});var a=u(3028),s=u(8810),w=u(4638),T=u(3953),x=u(4592),F=u(9806);let B=(()=>{var H;class V extends w.d{constructor(U,le){super(U),this.backendService=U,this.identityService=le}get resource(){return"accounts"}get mySelf$(){return this.identityService.show$().pipe((0,a.Z)(U=>U?super.show$({resourceId:U.accountId}):(0,s.$)(()=>new Error("No identity found"))))}}return(H=V).\u0275fac=function(U){return new(U||H)(T.KVO(x.m),T.KVO(F.K))},H.\u0275prov=T.jDH({token:H,factory:H.\u0275fac}),V})()},8952:(wt,Se,u)=>{"use strict";u.d(Se,{o:()=>le});var a=u(3028),s=u(9030),w=u(8810),T=u(7673),x=u(6426),F=u(1372),B=u(4638),H=u(3953),V=u(4592),L=u(5385),U=u(2010);let le=(()=>{var W;class q extends B.d{constructor(ue,Ie,ge){super(ue),this.backendService=ue,this.accountRepositoryService=Ie,this.propertyRepositoryService=ge}get resource(){return"parties"}get mySelf$(){return this.accountRepositoryService.mySelf$.pipe((0,a.Z)(ue=>super.show$({resourceId:ue.partyId})))}getPropertyManagementCompanyByOwnProperties$(){return(0,s.v)(()=>{let ue=1;const Ie=()=>this.propertyRepositoryService.createNormalRequestOrSearchRequest$({pageSize:F.F.minPageSize,pageNumber:ue}).pipe((0,a.Z)(ge=>{const he=ge.items[0];return he?this.createNormalRequestOrSearchRequest$({pageSize:F.F.minPageSize},{ownerOfTenantId:he.tenantId,type:x.U.PropertyManagementCompany}).pipe((0,a.Z)(Me=>Me.items.length>0?(0,T.of)(Me.items[0]):ge.hasNextPage?(ue++,Ie()):(0,w.$)(()=>new Error("No Property Management Company found")))):(0,w.$)(()=>new Error("No properties found for current user"))}));return Ie()})}enablePushNotificationPreference$(){return this.mySelf$.pipe((0,a.Z)(ue=>this.update$({hasMobileAppCommunicationEnabled:!0}
1,{resourceId:ue.id})))}}return(W=q).\u0275fac=function(ue){return new(ue||W)(H.KVO(V.m),H.KVO(L.t),H.KVO(U.x))},W.\u0275prov=H.jDH({token:W,factory:W.\u0275fac}),q})()},7236:(wt,Se,u)=>{"use strict";u.d(Se,{q:()=>F});var a=u(3028),s=u(4638),w=u(3953),T=u(4592),x=u(9822);let F=(()=>{var B;class H extends s.d{constructor(L,U){super(L),this.backendService=L,this.reloadService=U}get resource(){return"notices"}getTotalCount$(L,U){return this.reloadService.noticeUnreadCountTrigger$.pipe((0,a.Z)(()=>super.getTotalCount$(L,U)))}}return(B=H).\u0275fac=function(L){return new(L||B)(w.KVO(T.m),w.KVO(x.P))},B.\u0275prov=w.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}),H})()},3248:(wt,Se,u)=>{"use strict";u.d(Se,{a:()=>F});var a=u(3028),s=u(4638),w=u(3953),T=u(4592),x=u(9822);let F=(()=>{var B;class H extends s.d{constructor(L,U){super(L),this.backendService=L,this.reloadService=U}get resource(){return"process-notifications"}getTotalCount$(L,U){return this.reloadService.processNotificationCountTrigger$.pipe((0,a.Z)(()=>super.getTotalCount$(L,U)))}}return(B=H).\u0275fac=function(L){return new(L||B)(w.KVO(T.m),w.KVO(x.P))},B.\u0275prov=w.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}),H})()},9008:(wt,Se,u)=>{"use strict";u.d(Se,{V:()=>F});var a=u(3028),s=u(4638),w=u(3953),T=u(4592),x=u(9822);let F=(()=>{var B;class H extends s.d{constructor(L,U){super(L),this.backendService=L,this.reloadService=U}get resource(){return"work-order-appointment-request-dates"}getTotalCount$(L,U){return this.reloadService.workOrderAppointmentNotificationCountTrigger$.pipe((0,a.Z)(()=>super.getTotalCount$(L,U)))}}return(B=H).\u0275fac=function(L){return new(L||B)(w.KVO(T.m),w.KVO(x.P))},B.\u0275prov=w.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}),H})()},7002:(wt,Se,u)=>{"use strict";u.d(Se,{x:()=>H});var a=u(5558),s=u(7673),w=u(6354),T=u(4638),x=u(3953),F=u(4592),B=u(9727);let H=(()=>{var V;class L extends T.d{constructor(le,W){super(le),this.fileRepositoryService=W}get resource(){return"nearby-places-categories"}list$(le={},W=void 0){return super.list$(le,W).pipe((0,a.n)(q=>this.addImages(q)))}addImages(le){return 0===le.length?(0,s.of)([]):this.fileRepositoryService.listAll$({},{ids:Array.from(new Set(le.map(W=>W.imageFileId))).filter(W=>!!W)}).pipe((0,w.T)(W=>le.map(q=>(q.image=W.find(we=>we.id===q.imageFileId),q))))}}return(V=L).\u0275fac=function(le){return new(le||V)(x.KVO(F.m),x.KVO(B.E))},V.\u0275prov=x.jDH({token:V,factory:V.\u0275fac,providedIn:"root"}),L})()},1139:(wt,Se,u)=>{"use strict";u.d(Se,{A:()=>V});var a=u(4638),s=u(3953),w=u(4592),T=u(4061);const x=/^[\d\-\/+\s]+$/,F=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,B=/^((https?|ftp|smtp):\/\/)?(www.)?[a-z0-9]+\.[a-z]+(\/[a-zA-Z0-9#]+\/?)*$/;let H=(()=>{var L;class U{detectType(W){return x.test(W)?T.Q.Phone:F.test(W)?T.Q.Email:B.test(W)?T.Q.Website:T.Q.None}}return(L=U).\u0275fac=function(W){return new(W||L)},L.\u0275prov=s.jDH({token:L,factory:L.\u0275fac,providedIn:"any"}),U})(),V=(()=>{var L;class U extends a.d{constructor(W,q){super(W),this.directContactTypeService=q}get resource(){return"property-emergency-contacts"}get entityMapper(){return W=>(W.type=this.directContactTypeService.detectType(W.contactInformation),W)}}return(L=U).\u0275fac=function(W){return new(W||L)(s.KVO(w.m),s.KVO(H))},L.\u0275prov=s.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}),U})()},2010:(wt,Se,u)=>{"use strict";u.d(Se,{x:()=>F});var a=u(1626),s=u(6843),w=u(4638),T=u(3953),x=u(4592);let F=(()=>{var B;class H extends w.d{constructor(L){super(L)}get resource(){return"properties"}get entityMapper(){return L=>{var U,le;L.name=null!==(U=L.name)&&void 0!==U?U:`Objekt ${null!==(le=L.number)&&void 0!==le?le:`(${L.id})`}`,L.fullAddress=(0,s._v)(L.fullStreet,L.zipCode,L.city);const W=[];return L.name&&W.push(L.name),L.fullAddress&&W.push(L.fullAddress),L.fullNameAndAddress=W.join(", "),L}}downloadResolutionCollectionFile$(L){return this.backendService.get(this.url({resourceId:L,subResourceName:"resolution-collection-document"}),{params:void 0,headers:new a.Lr({Accept:"application/pdf"}),responseType:"blob"})}}return(B=H).\u0275fac=function(L){return new(L||B)(T.KVO(x.m))},B.\u0275prov=T.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}),H})()},9822:(wt,Se,u)=>{"use strict";u.d(Se,{P:()=>T});var a=u(4412),s=u(3953),w=u(5430);let T=(()=>{var x;class F{constructor(H){this.cacheService=H,this.reloadUnreadCounts$=ne
1w a.t(void 0),this.reloadProcessInquiries$=new a.t(void 0),this.reloadProcessNotificationCount$=new a.t(void 0),this.reloadDocumentUnreadCount$=new a.t(void 0),this.reloadConsumptionNextReadings$=new a.t(void 0),this.reloadNoticeUnreadCount$=new a.t(void 0),this.reloadWorkOrderAppointmentNotificationCount$=new a.t(void 0)}get unreadCountTrigger$(){return this.reloadUnreadCounts$.asObservable()}get processInquiryTrigger$(){return this.reloadProcessInquiries$.asObservable()}get processNotificationCountTrigger$(){return this.reloadProcessNotificationCount$.asObservable()}get documentUnreadCountTrigger$(){return this.reloadDocumentUnreadCount$.asObservable()}get consumptionNextReadingsTrigger$(){return this.reloadConsumptionNextReadings$.asObservable()}get noticeUnreadCountTrigger$(){return this.reloadNoticeUnreadCount$.asObservable()}get workOrderAppointmentNotificationCountTrigger$(){return this.reloadWorkOrderAppointmentNotificationCount$.asObservable()}preHook(){this.cacheService.clear()}reloadProcessInquiries(){this.preHook(),this.reloadProcessInquiries$.next(),this.reloadProcessNotificationCount()}reloadProcessNotificationCount(){this.preHook(),this.reloadProcessNotificationCount$.next()}reloadDocumentUnreadCount(){this.preHook(),this.reloadDocumentUnreadCount$.next()}reloadConsumptionNextReadings(){this.preHook(),this.reloadConsumptionNextReadings$.next()}reloadNoticeUnreadCount(){this.preHook(),this.reloadNoticeUnreadCount$.next()}reloadWorkOrderAppointmentNotificationCount(){this.preHook(),this.reloadWorkOrderAppointmentNotificationCount$.next()}reloadGlobalCounts(){this.preHook(),this.reloadUnreadCounts$.next()}}return(x=F).\u0275fac=function(H){return new(H||x)(s.KVO(w._))},x.\u0275prov=s.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}),F})()},3266:(wt,Se,u)=>{"use strict";u.d(Se,{c:()=>T});var a=u(4638),s=u(3953),w=u(4592);let T=(()=>{var x;class F extends a.d{constructor(H){super(H)}get resource(){return"smart-locks"}}return(x=F).\u0275fac=function(H){return new(H||x)(s.KVO(w.m))},x.\u0275prov=s.jDH({token:x,factory:x.\u0275fac,providedIn:"any"}),F})()},8820:(wt,Se,u)=>{"use strict";u.d(Se,{i:()=>L});var a=u(467),s=u(5083);const w=(0,s.F3)("PushNotifications",{});var T=u(1985),x=u(9030),F=u(6648),B=u(9437),H=u(7673),V=u(3953);let L=(()=>{var U;class le{constructor(){this.onRegister$=new T.c(q=>{w.addListener("registration",we=>{console.info("Registration token: ",we.value),q.next(we.value)}),w.addListener("registrationError",we=>{console.error("Error on registration: ",we),q.error(we)})}),this.onNotificationReceived$=new T.c(q=>{w.addListener("pushNotificationReceived",we=>{console.info("Push received: ",we),q.next(we)})}),this.onNotificationActionPerformed$=new T.c(q=>{w.addListener("pushNotificationActionPerformed",we=>{console.info("Push action performed: ",we),q.next(we)})}),this.unregister$=(0,x.v)(()=>(0,F.H)(this.unregisterNotifications())).pipe((0,B.W)(q=>(console.error("Error unregistering push notification",q),(0,H.of)(!1))))}checkPermissions$(){return new T.c(q=>{w.checkPermissions().then(we=>{q.next(we.receive)}).catch(we=>{q.error(we)}).finally(()=>{q.complete()})})}register$(q){return(0,x.v)(()=>(0,F.H)(this.registerNotifications(q))).pipe((0,B.W)(we=>(console.error("Error registering push notification",we),(0,H.of)(!1))))}registerNotifications(q){var we=this;return(0,a.A)(function*(){if(console.info("PushNotificationAdapter:registerNotifications"),!we.isPushNotificationsAvailable)return!1;let ue=yield w.checkPermissions();if("prompt"===ue.receive&&(ue=yield w.requestPermissions(),"granted"===ue.receive&&(yield q())),"granted"!==ue.receive)throw new Error("User denied permissions!");return yield w.register(),!0})()}unregisterNotifications(){var q=this;return(0,a.A)(function*(){return console.info("PushNotificationAdapter:unregisterNotifications"),!!q.isPushNotificationsAvailable&&(yield w.unregister(),!0)})()}get isPushNotificationsAvailable(){return s.Ii.isPluginAvailable("PushNotifications")}}return(U=le).\u0275fac=function(q){return new(q||U)},U.\u0275prov=V.jDH({token:U,factory:U.\u0275fac,providedIn:"root"}),le})()},2886:(wt,Se,u)=>{"use strict";u.d(Se,{u:()=>L});const s=(0,u(5083).F3)("Share",{web:()=>u.e(1227).then(u.bind(u,1227)).then(U=>
1new U.ShareWeb)});var w=u(6648),T=u(6354),x=u(3028),F=u(9437),B=u(7673),H=u(8810),V=u(3953);let L=(()=>{var U;class le{canShare$(){return(0,w.H)(s.canShare()).pipe((0,T.T)(q=>q.value))}share$(q){return this.canShare$().pipe((0,x.Z)(we=>we?(0,w.H)(s.share({title:"Sehr geehrte Damen und Herren \n\nim Anhang finden Sie eine Datei, welche ich Ihnen weiterleiten m\xf6chte. \n\n",url:q,dialogTitle:"Datei teilen"})).pipe((0,F.W)(ue=>ue.toString().includes("canceled")?(0,B.of)(1):(0,H.$)(()=>new Error(ue)))):(alert("Leider wird diese Funktion auf Ihrem Ger\xe4t nicht unterst\xfctzt."),(0,H.$)(()=>new Error("Sharing files is not possible on this device.")))))}}return(U=le).\u0275fac=function(q){return new(q||U)},U.\u0275prov=V.jDH({token:U,factory:U.\u0275fac,providedIn:"root"}),le})()},8250:(wt,Se,u)=>{"use strict";u.d(Se,{u:()=>V});var a=u(3028),s=u(1985),w=u(8141),T=u(6354),x=u(3953),F=u(5374),B=u(6198),H=u(4284);let V=(()=>{var L;class U{constructor(W,q,we){this.alertController=W,this.deviceService=q,this.hapticsService=we}show$(W){return this.deviceService.isWeb$.pipe((0,a.Z)(q=>this.innerShow$(W,q)))}innerShow$(W,q=!1){return new s.c(we=>{this.alertController.create({...W,cssClass:q?"web-alert":"mobile-alert"}).then(ue=>{we.next(ue)}).catch(ue=>{we.error(ue)}).finally(()=>{we.complete()})}).pipe((0,w.M)(we=>we.present()))}willDismiss(W){return new s.c(q=>{W.onWillDismiss().then(we=>{q.next(we),this.hapticsService.ultraLight()}).catch(we=>{q.error(we),this.hapticsService.error()}).finally(()=>{q.complete()})})}confirm$({confirmText:W="Fortfahren",declineText:q="Abbrechen",...we}){return this.show$({...we,buttons:[{text:q,role:"cancel"},{text:W,role:"confirm"}]}).pipe((0,a.Z)(ue=>this.willDismiss(ue)),(0,T.T)(ue=>ue.role),(0,T.T)(ue=>"confirm"===ue))}info$({okayText:W="Okay",...q}){return this.show$({...q,buttons:[{text:W,role:"confirm"}]}).pipe((0,a.Z)(we=>this.willDismiss(we)),(0,T.T)(we=>we.role),(0,T.T)(we=>"confirm"===we))}}return(L=U).\u0275fac=function(W){return new(W||L)(x.KVO(F.hG),x.KVO(B.g),x.KVO(H.o))},L.\u0275prov=x.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}),U})()},3390:(wt,Se,u)=>{"use strict";u.d(Se,{d:()=>le});const s=(0,u(5083).F3)("App",{web:()=>u.e(9303).then(u.bind(u,9303)).then(W=>new W.AppWeb)});var w=u(1985),T=u(3294),x=u(5964),F=u(8141),B=u(6354),H=u(3028),V=u(7673),L=u(3953),U=u(6198);let le=(()=>{var W;class q{constructor(ue){this.deviceService=ue}isActive$(){return new w.c(ue=>{s.addListener("appStateChange",Ie=>{ue.next(Ie.isActive)})}).pipe((0,T.F)())}ngOnDestroy(){s.removeAllListeners()}isResumed$(){return this.isActive$().pipe((0,x.p)(ue=>ue),(0,F.M)(()=>console.info("App resumed")),(0,B.T)(()=>{}))}isPaused$(){return this.isActive$().pipe((0,x.p)(ue=>!ue),(0,F.M)(()=>console.info("App paused")),(0,B.T)(()=>{}))}getInfo$(){return this.deviceService.isMobile$.pipe((0,H.Z)(ue=>ue?this._getInfo$():(0,V.of)({name:"",id:"",version:"",build:""})))}_getInfo$(){return new w.c(ue=>{s.getInfo().then(Ie=>{ue.next({id:Ie.id,name:Ie.name,build:Ie.build,version:Ie.version})}).catch(Ie=>ue.error(Ie)).finally(()=>ue.complete())})}}return(W=q).\u0275fac=function(ue){return new(ue||W)(L.KVO(U.g))},W.\u0275prov=L.jDH({token:W,factory:W.\u0275fac,providedIn:"root"}),q})()},9990:(wt,Se,u)=>{"use strict";u.d(Se,{T:()=>w});var a=u(3953),s=u(4985);let w=(()=>{var T;class x{constructor(B){this.tokenService=B}get isLoggedIn$(){return this.tokenService.isRefreshTokenAvailable$}}return(T=x).\u0275fac=function(B){return new(B||T)(a.KVO(s.B))},T.\u0275prov=a.jDH({token:T,factory:T.\u0275fac,providedIn:"root"}),x})()},7788:(wt,Se,u)=>{"use strict";u.d(Se,{k:()=>de});var a=u(7376),w=u(3028),T=u(7673),x=u(8810),F=u(9437),B=u(1594),H=u(8141),V=u(6354),L=u(4572),U=u(1986),le=u(4873),W=u(6648),q=u(576),we=u(644),ue=u(1451),Ie=u(6426),ge=u(3953),he=u(5413),Me=u(3507),$e=u(9806),Pe=u(2813),Re=u(5430),it=u(5546),Be=u(2065),We=u(4985),Ae=u(9990),k=u(8250),z=u(6198),ce=u(803),pe=u(5033),ve=u(2439),ze=u(8952),fe=u(7542);let de=(()=>{var ee;class ${constructor(Ce,at,pt,ct,jt,jn,mn,lr,hr,$r,ur,Fn,cr,Yn,Qn,ht,Ot){this.authRepositoryService=Ce,this.identityInitializationService=at,this.identityService=pt,this.biometricsService=ct,this.cacheService=jt,this.pushNotificationService=jn,this.notificationCounterService=mn,this.tokenService=lr,this.authStateService=hr,this.alertService=$r,this.deviceService=ur,this.router=Fn,this.navigationService=cr,this.startupConfigurationService=Yn,this.partyRepositoryService=Qn,this.tracker=ht,this.themeModeService=Ot}login$(Ce){return console.info("Login with credentials ..."),this.authRepositoryService.loginByMail$(Ce).pipe((0,w.Z)(at=>this.handleLoginResponse$(at)))}loginWithApiKey$(Ce){return console.info("Login with api key ..."),this.authRepositoryService.loginByApiKey$(Ce).pipe((0,w.Z)(at=>this.handleLoginResponse$(at)))}loginWithRefreshToken$(Ce){return console.info("Login with refresh token ..."),this.authRepositoryService.refreshTokens$(Ce).pipe((0,w.Z)(at=>this.finishLogin$(at)))}handleLoginResponse$(Ce){return(0,T.of)(Ce).pipe((0,w.Z)(at=>this.checkIfUserIsUser$(at)),(0,w.Z)(at=>this.setTokens$(at,!1)),(0,w.Z)(at=>at.refreshToken.isPasswordChangeRequired?this.finishLogin$(at):this.checkIfUserIsCustomerOfPropertyManagementCompany$(at).pipe((0,w.Z)(pt=>this.finishLogin$(pt)))))}checkIfUserIsUser$(Ce){return Ce.party.type==Ie.U.User?(0,T.of)(Ce):this.alertService.show$({header:"Hinweis",message:"Diese App ist f\xfcr Mieter:innen, Eigent\xfcmer:innen usw. gedacht.\n Hausverwaltungen und Dienstleister:innen nutzen bitte die facilioo App.",buttons:[{text:"OK",role:"cancel"}]}).pipe((0,w.Z)(()=>(0,x.$)(()=>new Error("Invalid user type"))))}isUserAllowedFor$(Ce,at,pt=!1){return Ce?Ce.allowAllCustomers?(0,T.of)(!0):this.partyRepositoryService.getPropertyManagementCompanyByOwnProperties$().pipe((0,F.W)(ct=>pt?(0,x.$)(()=>new Error("error finding properties for account",{cause:ct})):this.alertService.show$({header:"Hinweis",message:"Der Account existiert, es sind aber keine aktiven Vertr\xe4ge verkn\xfcpft. Die App kann nur mit mindestens einem aktiven Vertrag genutzt werden. Bitte kontaktieren Sie Ihre Hausverwaltung.",buttons:[{text:"OK",role:"cancel"}]}).pipe((0,w.Z)(()=>(0,x.$)(()=>new Error("error finding properties for account",{cause:ct}))))),(0,w.Z)(ct=>ct.fullName===Ce.propertyManagementCompanyName?(0,T.of)(!0):at?at(Ce,ct):(0,T.of)(!1))):this.deviceService.isMobile$.pipe((0,w.Z)(ct=>pt?(0,T.of)(void 0):this.alertService.info$({header:"Problem",message:`Die Anwendung ist m\xf6glicherweise noch nicht korrekt konfiguriert. Bitte ${ct?"starten Sie die App komplett neu":"laden Sie die Seite neu"}. Sollte das Problem weiterhin bestehen, kontaktieren Sie bitte den Support.`})),(0,w.Z)(()=>(0,x.$)(()=>new Error("No Startup Configuration"))))}checkIfUserIsCustomerOfPropertyManagementCompany$(Ce){return this.startupConfigurationService.startupConfig$.pipe((0,B.$)(),(0,w.Z)(at=>this.isUserAllowedFor$(at,(pt,ct)=>{var jt;const jn=[{text:"OK",role:"confirm"}];return null!==(jt=we.c.featureFlags)&&void 0!==jt&&jt.allowBypassMixedLoginRestriction&&jn.unshift({text:"Trotzdem anmelden (nur in Test Umgebung m\xf6glich)",role:"ignore"}),this.alertService.show$({header:"Hinweis",message:`Diese App ist f\xfcr Kund:innen von "${pt.propertyManagementCompanyName}"\n gedacht. Bitte nutzen Sie die App Ihrer Hausverwaltung "${ct.fullName}"`,buttons:jn}).pipe((0,w.Z)(mn=>this.alertService.willDismiss(mn)),(0,w.Z)(mn=>{var lr;return null!==(lr=we.c.featureFlags)&&void 0!==lr&&lr.allowBypassMixedLoginRestriction&&"ignore"===mn.role?(0,T.of)(!0):this.logout$().pipe((0,w.Z)(()=>(0,x.$)(()=>new Error("Wrong Property Management Company"))))}))}).pipe((0,w.Z)(pt=>pt?(0,T.of)(Ce):(0,x.$)(()=>new Error("User not allowed for given startup config: "+(null==at?void 0:at.propertyManagementCompanyName)))))))}setTokens$(Ce,at){const{accessToken:pt,refreshToken:ct}=Ce;this.identityInitializationService.setIdentity(ct),this.tokenService.setAccessToken(pt);let jt=(0,T.of)(!0);return at&&(jt=this.tokenService.setRefreshToken$(ct.token)),jt.pipe((0,H.M)(()=>this.cacheService.clear()),(0,V.T)(()=>Ce))}finishLogin$(Ce){if(Ce.refreshToken.isPasswordChangeRequired)return(0,T.of)(Ce);
1const at=this.biometricsService.askWetherToAuthenticate$(),pt=this.partyRepositoryService.getPropertyManagementCompanyByOwnProperties$().pipe((0,w.Z)(jt=>this.startupConfigurationService.setPropertyManagementCompanyId$(jt.id))),ct=this.initLoggedInUser$(Ce.refreshToken);return this.setTokens$(Ce,!0).pipe((0,w.Z)(()=>(0,L.z)([at,pt,ct,this.themeModeService.setThemeModeByMyself$()])),(0,V.T)(()=>Ce),(0,F.W)(jt=>(console.error("Error while finishing login.",jt),this.tokenService.removeTokens$().pipe((0,w.Z)(()=>(0,x.$)(()=>jt))))))}initLoggedInUser$(Ce){return this.identityService.show$().pipe((0,w.Z)(at=>at?(this.pushNotificationService.register$().pipe((0,w.Z)(()=>this.notificationCounterService.register$()),(0,B.$)()).subscribe(),this.tracker.setUserId(Ce.accountId.toString()),this.navigationService.initialize$()):(0,x.$)(()=>new Error("Identity not found"))),(0,V.T)(()=>Ce),(0,B.$)())}validateLoggedInUser$(){return this.authStateService.isLoggedIn$.pipe((0,w.Z)(Ce=>Ce?this.tokenService.currentAuthSession$:(0,x.$)(()=>new Error("Not logged in"))),(0,w.Z)(Ce=>{var at;return Ce?null!==(at=we.c.featureFlags)&&void 0!==at&&at.allowBypassMixedLoginRestriction?(0,T.of)(Ce):this.startupConfigurationService.staticStartupConfig$.pipe((0,w.Z)(pt=>this.isUserAllowedFor$(pt,void 0,!0)),(0,w.Z)(pt=>pt?(0,T.of)(Ce):(0,x.$)(()=>new Error("User of different property management company")))):(0,x.$)(()=>new Error("No auth session found"))}))}logout$(Ce){let at=(0,a.defaults)(Ce,{preventRedirectToLogin:!1,automaticLogoutType:void 0,logoutEverywhere:!1,preventReturnUrl:!1});return console.info("Login out ...",at),this.authStateService.isLoggedIn$.pipe((0,w.Z)(pt=>(0,T.of)(1).pipe((0,w.Z)(()=>this.pushNotificationService.reset$()),(0,w.Z)(()=>this.tokenService.refreshToken$.pipe((0,B.$)(),(0,w.Z)(ct=>ct?this.authRepositoryService.logout$(ct,at.logoutEverywhere):(console.warn("No auth session found, skipping logout request"),(0,T.of)(void 0))),(0,F.W)(ct=>(console.error("Error while invalidating api refresh token at backend",ct),(0,T.of)(void 0))))),(0,w.Z)(()=>this.tokenService.removeTokens$()),(0,w.Z)(()=>this.startupConfigurationService.setPropertyManagementCompanyId$(void 0)),(0,w.Z)(()=>this.notificationCounterService.reset$()),(0,H.M)(()=>this.cacheService.clear()),(0,H.M)(()=>this.tracker.resetUserId()),(0,H.M)(()=>this.themeModeService.setThemeMode(ue.A.DEFAULT_THEME_MODE)),(0,w.Z)(()=>at.preventRedirectToLogin?(0,T.of)(!0):this.redirectToLogin$(at.preventReturnUrl)),(0,U.c)(500),(0,w.Z)(()=>this.biometricsService.reset$()),(0,w.Z)(()=>{if(!at.automaticLogoutType||!pt)return(0,T.of)(void 0);let ct="Sie wurden automatisch abgemeldet";return ct+="invalid-logged-in-user"===at.automaticLogoutType?", da Sie nicht mehr berechtigt sich. Bitte wenden Sie sich an uns, falls dies falsch ist.":"session-expired"===at.automaticLogoutType?", da Ihre Sitzung abgelaufen ist. Bitte melden Sie sich erneut an.":"change-password"===at.automaticLogoutType?", da Ihr Passwort ge\xe4ndert werden muss.":".",this.alertService.info$({header:"Hinweis",message:ct})}),(0,le.J)())),(0,F.W)(pt=>(console.error("Logout failed",pt),(0,x.$)(()=>new Error("Logout failed",{cause:pt})))))}redirectToLogin$(Ce){if(this.isOnPublicPage)return(0,T.of)(!0);console.info("Redirecting to login page ...");const at={};return!Ce&&"/"!==this.currentUrl&&(at[q.wh.ReturnUrl]=this.currentUrl),(0,W.H)(this.router.navigate([q.hx.Login],{queryParams:at,queryParamsHandling:"merge",replaceUrl:!0}))}get isOnPublicPage(){return this.currentUrl.startsWith(q.hx.Login)||this.currentUrl.startsWith(q.hx.ForgotPassword)}get currentUrl(){let Ce=this.router.url;return(!Ce||"/"===Ce)&&(Ce=window.location.pathname),Ce}getLoginReturnUrl(){return this.router.routerState.snapshot.root.queryParams[q.wh.ReturnUrl]}}return(ee=$).\u0275fac=function(Ce){return new(Ce||ee)(ge.KVO(he.u),ge.KVO(Me.w),ge.KVO($e.K),ge.KVO(Pe.Z),ge.KVO(Re._),ge.KVO(it.T),ge.KVO(Be.b),ge.KVO(We.B),ge.KVO(Ae.T),ge.KVO(k.u),ge.KVO(z.g),ge.KVO(ce.Ix),ge.KVO(pe.o),ge.KVO(ve.d),ge.KVO(ze.o),ge.KVO(fe.kA),ge.KVO(ue.A))},ee.\u0275prov=ge.jDH({token:ee,factory:ee.\u0275fac,providedIn:"root"}),$})()},4592:(wt,Se,u)=>{"use strict";u.d(Se,{m:()=>x});var a=u(253),s=u(980),w=u(3953),T=u(1626);let x=(()=>{var F;class B{buildKey(V,L,U,le){return`${V}:${L}:${JSON.stringify(null!=U?U:{})}:${JSON.stringify(null!=le?le:{})}`}isSearchPost(V){return V.endsWith("/search")}handleInFlightRequest(V,L){const U=this.inFlightRequests.get(V);if(U)return U;const le=L().pipe((0,a.t)({bufferSize:1,refCount:!0}),(0,s.j)(()=>this.inFlightRequests.delete(V)));return this.inFlightRequests.set(V,le),le}constructor(V){this.http=V,this.inFlightRequests=new Map}post(V,L,{params:U,headers:le}={params:void 0,headers:void 0}){if(!this.isSearchPost(V))return this.http.post(`${V}`,L,{params:U,headers:le});const W=this.buildKey("POST",V,U,L);return this.handleInFlightRequest(W,()=>this.http.post(`${V}`,L,{params:U,headers:le}))}patch(V,L){return this.http.patch(`${V}`,L)}patchBulk(V,L,U){return this.http.patch(`${V}`,{ids:L,body:U})}put(V,L){return this.http.put(`${V}`,L)}get(V,{params:L,headers:U,responseType:le}={}){const W=this.buildKey("GET",V,L);return this.handleInFlightRequest(W,()=>this.http.get(V,{params:L,headers:U,responseType:le}))}delete(V){return this.http.delete(`${V}`)}}return(F=B).\u0275fac=function(V){return new(V||F)(w.KVO(T.Qq))},F.\u0275prov=w.jDH({token:F,factory:F.\u0275fac,providedIn:"root"}),B})()},5267:(wt,Se,u)=>{"use strict";u.d(Se,{X:()=>W});var a=u(4412),s=u(3028),w=u(7673),T=u(9437),x=u(4572),F=u(8141),B=u(644),H=u(8934),V=u(3953),L=u(4311),U=u(7467);const le="1c6eb0";let W=(()=>{var q;class we{constructor(Ie,ge){this.colorService=Ie,this.storageService=ge,this._htmlTitle=document.querySelector("head > title"),this._favIcon=document.querySelector("head > link#favIcon"),this._primaryColor$=new a.t(le),this._secondaryColor$=new a.t(le),this._tertiaryColor$=new a.t(le),this._logo$=new a.t(void 0),this._splash$=new a.t(void 0),this._propertyManagementCompanyName$=new a.t(void 0),this.hasImage=!1,this.setPrimaryColor=this.setColorGenerator(this._primaryColor$,H.w.primaryColor,"primary"),this.primaryColor$=this._primaryColor$.asObservable(),this.setSecondaryColor=this.setColorGenerator(this._secondaryColor$,H.w.secondaryColor,"secondary"),this.secondaryColor$=this._secondaryColor$.asObservable(),this.setTertiaryColor=this.setColorGenerator(this._tertiaryColor$,H.w.tertiaryColor,"tertiary"),this.tertiaryColor$=this._tertiaryColor$.asObservable(),this.logo$=this._logo$.asObservable(),this.splash$=this.storageService.get$(H.w.splash).pipe((0,s.Z)(he=>he?(0,w.of)(he):this._splash$.asObservable()),(0,T.W)(()=>this._splash$.asObservable())),this.propertyManagementCompanyName$=this._propertyManagementCompanyName$.asObservable(),this.setHtmlTitle()}initialize$(){return(0,x.z)([this.storageService.get$(H.w.primaryColor).pipe((0,F.M)(Ie=>{Ie&&(this._primaryColor$.next(Ie),this.colorService.setThemeColor("primary",Ie))})),this.storageService.get$(H.w.secondaryColor).pipe((0,F.M)(Ie=>{Ie&&(this._secondaryColor$.next(Ie),this.colorService.setThemeColor("secondary",Ie))})),this.storageService.get$(H.w.tertiaryColor).pipe((0,F.M)(Ie=>{Ie&&(this._tertiaryColor$.next(Ie),this.colorService.setThemeColor("tertiary",Ie))}))])}setColorGenerator(Ie,ge,he){return Me=>{if(!Me)return Ie.next(le),this.storageService.remove$(ge).subscribe(),void this.colorService.setThemeColor(he,le);Ie.next(Me),this.storageService.set$(ge,Me).subscribe(),this.colorService.setThemeColor(he,Me)}}setLogo(Ie){this._logo$.next(Ie),Ie?(this.storageService.set$(H.w.logo,Ie).subscribe(),this._favIcon&&Ie.includes(".png")&&(this._favIcon.href=Ie)):this.storageService.remove$(H.w.logo).subscribe()}setSplash(Ie){this._splash$.next(Ie),Ie?this.storageService.set$(H.w.splash,Ie).subscribe():this.storageService.remove$(H.w.splash).subscribe()}setPropertyManagementCompanyName(Ie){this._propertyManagementCompanyName$.next(Ie),this.setHtmlTitle(Ie)}setHtmlTitle(Ie){if(this._htmlTitle){this._ogHtmlTitleContent||(this._ogHtmlTitleContent=this._htmlTitle.text);let ge=Ie?`${Ie} - ${this._ogHtmlTitleContent}`:this._ogHtmlTitleContent;B.c.affix&&(ge=`[${B.c.affix.toUpperCase()}] ${ge}`),this._htmlTitle.innerText=ge}}}return(q=we).\u0275fac=function(Ie){return new(Ie||q)(V.KVO(L.l),V.KVO(U.n))},q.\u0275prov=V.jDH({token:q,factory:q.\u0275fac,providedIn:"root"}),we})()},5430:(wt,Se,u)=>{"use strict";u.d(Se,{_:()=>s});var a=u(3953);let s=(()=>{var w;class T{constructor(){this._cache=new Map}set(F,B){let H=T.defaultExpiresInSeconds;try{var V;const L=null===(V=B.headers.get("Cache-Control"))||void 0===V?void 0:V.match(/max-age=(\d+)/),U=L?parseInt(L[1],10):-1;U&&U>0&&(H=U)}catch(L){console.warn("CacheService: Error parsing Cache-Control header:",L)}this._cache.set(F,{content:B,creationTimestamp:Date.now(),expiryTimestamp:H&&H>0?Date.now()+1e3*H:void 0})}get(F){const B=this._cache.get(F);if(B)return B.expiryTimestamp&&Date.now()>B.expiryTimestamp?void this._cache.delete(F):B.content}has(F){return this._cache.has(F)}remove(F){this._cache.delete(F)}keys(){return Array.from(this._cache.keys())}clear(){console.info("CacheService: Clearing cache"),this._cache.clear()}}return(w=T).defaultExpiresInSeconds=60,w.\u0275fac=function(F){return new(F||w)},w.\u0275prov=a.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}),T})()},4311:(wt,Se,u)=>{"use strict";u.d(Se,{l:()=>s});var a=u(3953);let s=(()=>{var w;class T{constructor(){this.mainBackGroundActive=!0}setThemeColor(F,B){"primary"==F&&(this.primary=B);const[H,V,L]=this.hexToHSL(B),U=document.querySelector("html");null==U||U.style.setProperty(`--hue-${F}`,H.toString()),null==U||U.style.setProperty(`--saturation-${F}
1`,V.toString()+"%"),null==U||U.style.setProperty(`--lightness-${F}`,L.toString()+"%")}hexToHSL(F){F.startsWith("#")&&(F=F.slice(1));const B=parseInt(F.slice(0,2),16)/255,H=parseInt(F.slice(2,4),16)/255,V=parseInt(F.slice(4,6),16)/255,L=Math.max(B,H,V),U=Math.min(B,H,V),le=(L+U)/2;if(L===U)return[0,0,100*le];const W=L-U;let we;return we=L===B?(H-V)/W+(H<V?6:0):L===H?(V-B)/W+2:(B-H)/W+4,we/=6,[360*we,100*(le>.5?W/(2-L-U):W/(L+U)),100*le]}}return(w=T).\u0275fac=function(F){return new(F||w)},w.\u0275prov=a.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}),T})()},6198:(wt,Se,u)=>{"use strict";u.d(Se,{g:()=>F});const s=(0,u(5083).F3)("Device",{web:()=>u.e(8622).then(u.bind(u,8622)).then(B=>new B.DeviceWeb)});var w=u(6648),T=u(6354),x=u(3953);let F=(()=>{var B;class H{constructor(){this.deviceData$=(0,w.H)(s.getInfo()),this.device$=this.deviceData$.pipe((0,T.T)(L=>({model:L.model,platform:L.platform,operatingSystem:L.operatingSystem,isMobile:"ios"===L.platform||"android"===L.platform}))),this.isMobile$=this.device$.pipe((0,T.T)(L=>null==L?void 0:L.isMobile)),this.isWeb$=this.device$.pipe((0,T.T)(L=>!(null!=L&&L.isMobile))),this.isIos$=this.device$.pipe((0,T.T)(L=>"ios"===(null==L?void 0:L.platform))),this.isAndroid$=this.device$.pipe((0,T.T)(L=>"android"===(null==L?void 0:L.platform))),this.isSafari$=this.isWeb$.pipe((0,T.T)(L=>L&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)))}}return(B=H).\u0275fac=function(L){return new(L||B)},B.\u0275prov=x.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}),H})()},821:(wt,Se,u)=>{"use strict";u.d(Se,{I:()=>w});var a=u(1594),s=u(6354);class w{get platformService$(){return this._platformService$.pipe((0,a.$)())}constructor(x,F){this._platformService$=x.isMobile$.pipe((0,s.T)(B=>B?F.native:F.web))}}},7333:(wt,Se,u)=>{"use strict";u.d(Se,{d:()=>Ae});var a=u(5083),s=u(3028),w=u(8810),T=u(6354),x=u(9030),F=u(7673),B=u(3953),H=u(7509),V=u(177),L=u(2709),U=u(6346),le=u(1991),W=u(345),q=u(2143);let we=(()=>{var k;class z{constructor(pe,ve){this.sanitizer=pe,this.htmlUtilsService=ve}transform(pe,ve){if(!pe||"string"!=typeof pe)return"";const ze=this.htmlUtilsService.transformToHtml(pe).trim();switch(ve){case"html":return this.sanitizer.bypassSecurityTrustHtml(ze);case"style":return this.sanitizer.bypassSecurityTrustStyle(ze);case"script":return this.sanitizer.bypassSecurityTrustScript(ze);case"url":return this.sanitizer.bypassSecurityTrustUrl(ze);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(ze);default:throw new Error(`Invalid safe type specified: ${ve}`)}}}return(k=z).\u0275fac=function(pe){return new(pe||k)(B.rXU(W.up,16),B.rXU(q.g,16))},k.\u0275pipe=B.EJ8({name:"safe",type:k,pure:!0}),z})();function ue(k,z){if(1&k&&(B.j41(0,"app-page-container")(1,"div",4)(2,"small"),B.EFF(3," Hinweis: Diese Funktion ist experimentell und kann Fehler beinhalten. Die originale E-Mail-Datei kann in der Web-Version ge\xf6ffnet werden. "),B.k0s()(),B.j41(4,"div"),B.nrm(5,"span",5),B.nI1(6,"safe"),B.k0s()()),2&k){const ce=B.XpG();B.R7$(5),B.Y8G("innerHtml",B.i5U(6,1,ce.text,"html"),B.npT)}}let Ie=(()=>{var k;class z{constructor(pe){this.modalService=pe}}return(k=z).\u0275fac=function(pe){return new(pe||k)(B.rXU(H.B))},k.\u0275cmp=B.VBU({type:k,selectors:[["app-mail-content"]],decls:4,vars:4,consts:[["backgroundStyle","light",3,"isModal","title"],["header-buttons",""],["icon","fa fa-circle-xmark","fill","plain","size","small","role","normal",3,"click$"],[4,"ngIf"],[1,"text-danger"],[3,"innerHtml"]],template:function(pe,ve){1&pe&&(B.j41(0,"app-page",0),B.qex(1,1),B.nrm(2,"app-button",2),B.bVm(),B.DNE(3,ue,7,4,"app-page-container",3),B.k0s()),2&pe&&(B.Y8G("isModal",!0)("title","E-Mail Inhalt"),B.R7$(2),B.Y8G("click$",ve.modalService.dismiss$()),B.R7$(),B.Y8G("ngIf",ve.text))},dependencies:[V.bT,L.Q,U.H,le.i,we]}),z})();var ge=u(1889);const he=(0,a.F3)("Filesystem",{web:()=>u.e(2937).then(u.bind(u,2937)).then(k=>new k.FilesystemWeb)});var Me=u(6648);let $e=(()=>{var k;class z{writeFile({path:pe,data:ve,persist:ze=!1}){return(0,Me.H)(he.writeFile({path:pe,data:ve,directory:ze?ge.__.Data:ge.__.Cache})).pipe((0,T.T)(fe=>fe.uri))}readFile(pe,ve){return(0,Me.H)(he.readFile({path:pe,directory:ve,encoding:ge.Wi.UTF8})).pipe((0,T.T)(ze=>ze.data))}deleteFile(pe,ve){return(0,Me.H)(he.deleteFile({path:pe,directory:ve}))}}
1return(k=z).\u0275fac=function(pe){return new(pe||k)},k.\u0275prov=B.jDH({token:k,factory:k.\u0275fac,providedIn:"root"}),z})();const Pe=(0,a.F3)("FileOpener",{web:()=>u.e(7102).then(u.bind(u,7102)).then(k=>new k.FileOpenerWeb)});var Re=u(1985);let it=(()=>{var k;class z{open$(pe,ve){return new Re.c(ze=>{Pe.openFile({path:pe,mimeType:ve}).then(()=>{ze.next()}).catch(fe=>{ze.error(fe)}).finally(()=>{ze.complete()})})}}return(k=z).\u0275fac=function(pe){return new(pe||k)},k.\u0275prov=B.jDH({token:k,factory:k.\u0275fac,providedIn:"root"}),z})();var Be=u(2886),We=u(263);let Ae=(()=>{var k;class z{constructor(pe,ve,ze,fe,de){this.filesystemAdapterService=pe,this.fileOpenerAdapterService=ve,this.shareAdapterService=ze,this.modalService=fe,this.fileUtilsService=de}open$(pe){var ve;return"application/mbox"===(null===(ve=pe.type)||void 0===ve?void 0:ve.mimeType)?this.openMailText$(pe.downloadUrl):this.getLocalFilePath$(this.fileUtilsService.constructFileName(pe)).pipe((0,s.Z)(ze=>{var fe;return ze?this.fileOpenerAdapterService.open$(ze,null===(fe=pe.type)||void 0===fe?void 0:fe.mimeType):(0,w.$)(()=>new Error("Error opening file: No Path or Type"))}))}openMailText$(pe){return this.downloadFile$(pe).pipe((0,T.T)(ve=>atob(ve)),(0,T.T)(ve=>{const fe=/<html[^>]*>([\s\S]*?)<\/html>/.exec(ve);return fe?fe[1]:null}),(0,s.Z)(ve=>this.modalService.show$({component:Ie,componentProps:{text:ve},style:"card"})))}downloadFile$(pe){return(0,x.v)(()=>a.pX.get({url:pe,responseType:"blob"})).pipe((0,s.Z)(ve=>ve.data?(0,F.of)(ve.data):(0,w.$)(()=>new Error(`Empty file downloaded (Status: ${ve.status}) from url: ${ve.url}`))))}getLocalFilePath$({downloadUrl:pe,fileName:ve,extension:ze,persist:fe=!1}){return this.downloadFile$(pe).pipe((0,s.Z)(de=>this.filesystemAdapterService.writeFile({path:this.fileUtilsService.buildFileName({fileName:ve,extension:ze}),data:de,persist:fe})))}share$(pe){return this.getLocalFilePath$(this.fileUtilsService.constructFileName(pe)).pipe((0,s.Z)(ve=>ve?this.shareAdapterService.share$(ve):(0,w.$)(()=>new Error("Error opening file: No Path or Type"))),(0,T.T)(()=>!0))}}return(k=z).\u0275fac=function(pe){return new(pe||k)(B.KVO($e),B.KVO(it),B.KVO(Be.u),B.KVO(H.B),B.KVO(We.J))},k.\u0275prov=B.jDH({token:k,factory:k.\u0275fac,providedIn:"root"}),z})()},7467:(wt,Se,u)=>{"use strict";u.d(Se,{n:()=>Me});var a=u(5083);const s=(0,a.F3)("Preferences",{web:()=>u.e(2924).then(u.bind(u,2924)).then($e=>new $e.PreferencesWeb)});var w=u(7376),T=u(6648),x=u(3028),F=u(7673),B=u(9437),H=u(1594),V=u(6354),L=u(821),U=u(8934),le=u(3953),W=u(6198),q=u(8141);let we=(()=>{var $e;class Pe{set$(it,Be){return this.remove$(it).pipe((0,q.M)(()=>document.cookie=`${it}=${encodeURIComponent(Be)}; path=/`))}get$(it){const Be=decodeURIComponent(document.cookie),We=new RegExp(`(?:^|; )${it}=([^;]+)`),Ae=Be.match(We);return(0,F.of)(Ae?Ae[1]:null)}remove$(it){return document.cookie=it+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",(0,F.of)(!0)}}return($e=Pe).\u0275fac=function(it){return new(it||$e)},$e.\u0275prov=le.jDH({token:$e,factory:$e.\u0275fac,providedIn:"root"}),Pe})();const ue=(0,a.F3)("SecureStoragePlugin",{web:()=>u.e(177).then(u.bind(u,2558)).then($e=>new $e.SecureStoragePluginWeb)});var Ie=u(1985),ge=u(9901);let he=(()=>{var $e;class Pe{constructor(){this._cache=new Map}set$(it,Be){return new Ie.c(We=>{ue.set({key:it,value:Be}).then(Ae=>{this._cache.set(it,Be),We.next(Ae)}).catch(Ae=>{We.error(Ae)}).finally(()=>{We.complete()})}).pipe((0,V.T)(We=>We.value),(0,ge.U)(!1),(0,H.$)())}get$(it){return new Ie.c(Be=>{const We=this._cache.get(it);if(!(0,w.isNil)(We))return Be.next({value:We}),void Be.complete();ue.get({key:it}).then(Ae=>{Be.next(Ae)}).catch(Ae=>{Be.error(Ae)}).finally(()=>{Be.complete()})}).pipe((0,V.T)(Be=>Be.value),(0,ge.U)(null),(0,H.$)(),(0,B.W)(()=>(0,F.of)(null)))}remove$(it){return new Ie.c(Be=>{this._cache.delete(it),ue.remove({key:it}).then(We=>{Be.next(We)}).catch(We=>{Be.error(We)}).finally(()=>{Be.complete()})}).pipe((0,V.T)(()=>!0),(0,ge.U)(!1),(0,H.$)(),(0,B.W)(()=>(0,F.of)(!1)))}}return($e=Pe).\u0275fac=function(it){return new(it||$e)},$e.\u0275prov=le.jDH({token:$e,factory:$e.\u0275fac,providedIn:"root"}),Pe})(),Me=(()=>{var $e;class Pe extends L.I{constructor(it,Be,We){super(it,{web:Be,native:We})}init$(){return this.makeTokensInvalidAfterCleanInstall()}makeTokensInvalidAfterCleanInstall(){return(0,T.H)(s.get({key:"already-installed"})).pipe((0,x.Z)(it=>"true"===it.value?(0,F.of)(null):this.clear$()),(0,B.W)(()=>this.clear$()),(0,H.$)())}clear$(){return(0,T.H)(s.set({key:"already-installed",value:"true"})).pipe((0,x.Z)(()=>this.remove$(U.w.liveUpdateAlreadyLoaded)),(0,x.Z)(()=>this.remove$(U.w.liveUpdateID)),(0,x.Z)(()=>this.remove$(U.w.refreshToken)))}set$(it,Be){return this.platformService$.pipe((0,x.Z)(We=>We.set$(it,Be)),(0,H.$)())}setBool$(it,Be){return this.set$(it,Be?"true":"false")}setInteger$(it,Be){return this.set$(it,Be.toString())}setDate$(it,Be){return this.set$(it,Be.toISOString())}get$(it){return this.platformService$.pipe((0,x.Z)(Be=>Be.get$(it)),(0,H.$)())}getBool$(it){return this.get$(it).pipe((0,B.W)(()=>(0,F.of)("false")),(0,V.T)(Be=>"true"===Be),(0,H.$)())}getInteger$(it){return this.get$(it).pipe((0,V.T)(Be=>parseInt(Be,10)),(0,B.W)(()=>(0,F.of)(null)),(0,H.$)())}getDate$(it){return this.get$(it).pipe((0,V.T)(Be=>Be?new Date(Be):null),(0,V.T)(Be=>(0,w.isDate)(Be)&&!(0,w.isNaN)(Be)?Be:null),(0,B.W)(()=>(0,F.of)(null)),(0,H.$)())}remove$(it){return this.platformService$.pipe((0,x.Z)(Be=>Be.remove$(it)),(0,H.$)())}personalizedStorageKey(it,Be){return`${Be}_${it}`}}return($e=Pe).\u0275fac=function(it){return new(it||$e)(le.KVO(W.g),le.KVO(we),le.KVO(he))},$e.\u0275prov=le.jDH({token:$e,factory:$e.\u0275fac,providedIn:"root"}),Pe})()},9806:(wt,Se,u)=>{"use strict";u.d(Se,{K:()=>w});var a=u(3953),s=u(3507);let w=(()=>{var T;class x{constructor(B){this.identityInitializationService=B}show$(){return this.identityInitializationService.identity$}}return(T=x).\u0275fac=function(B){return new(B||T)(a.KVO(s.w))},T.\u0275prov=a.jDH({token:T,factory:T.\u0275fac,providedIn:"root"}),x})()},3507:(wt,Se,u)=>{"use strict";u.d(Se,{w:()=>le});var a=u(4412),s=u(3028),w=u(8141),T=u(9437),x=u(6354),F=u(1594),B=u(5964),H=u(2087),V=u(7788),L=u(3953),U=u(2813);let le=(()=>{var W;class q{constructor(ue,Ie){this.injector=ue,this.biometricsService=Ie,this._identity$=new a.t(void 0)}initialize$(){const ue=this.injector.get(V.k);return this.biometricsService.setAppInvisibleIfAuthActive$().pipe((0,s.Z)(()=>
1this.biometricsService.authIfActivatedAndLoggedIn$()),(0,s.Z)(()=>ue.validateLoggedInUser$()),(0,w.M)(Ie=>{this.setIdentity(Ie)}),(0,s.Z)(Ie=>ue.initLoggedInUser$(Ie)),(0,T.W)(Ie=>(console.error("Identity Initialization failed",Ie),this.setIdentity(null),ue.logout$({automaticLogoutType:"invalid-logged-in-user"}).pipe((0,x.T)(()=>{})))),(0,F.$)())}get identity$(){return this._identity$.asObservable().pipe((0,B.p)(ue=>void 0!==ue),(0,H.w)({first:6e4}))}setIdentity(ue){this._identity$.next(ue)}}return(W=q).\u0275fac=function(ue){return new(ue||W)(L.KVO(L.zZn),L.KVO(U.Z))},W.\u0275prov=L.jDH({token:W,factory:W.\u0275fac,providedIn:"root"}),q})()},2813:(wt,Se,u)=>{"use strict";u.d(Se,{Z:()=>Pe});var a=u(4412),s=u(4572),w=u(6354),T=u(9437),x=u(7673),F=u(1594),B=u(3028),H=u(8141),V=u(8934),L=u(3953),U=u(8250),le=u(9990);const ue=(0,u(1200).F3)("NativeBiometric",{web:()=>u.e(5658).then(u.bind(u,5658)).then(Re=>new Re.NativeBiometricWeb)});var Ie=u(6648),ge=u(644);let he=(()=>{var Re;class it{constructor(){this._noAuthFreeze=!1}isBiometricAvailable$(){return(0,Ie.H)(ue.isAvailable()).pipe((0,w.T)(We=>We.isAvailable))}authenticateWithBiometric$(){var We;return null!==(We=ge.c.featureFlags)&&void 0!==We&&We.skipBiometricCheck||this._noAuthFreeze?(0,x.of)(!0):this.isBiometricAvailable$().pipe((0,B.Z)(Ae=>Ae?(0,Ie.H)(ue.verifyIdentity({useFallback:!0,reason:"Zum Schutz Ihrer Daten",title:"Zugriff auf die App absichern",subtitle:"Schnell und sicher",description:"Durch Authentifizierung mit dem Fingerabdruck oder Gesicht sind Ihre Daten sicher."}).then(()=>(this._noAuthFreeze=!0,setTimeout(()=>{this._noAuthFreeze=!1},1e4),!0)).catch(k=>(console.error("Biometric authentication failed",k),!1))):(0,x.of)(!0)),(0,F.$)())}setCredentials$(We){return(0,Ie.H)(ue.setCredentials(We))}getCredentials$(We){return(0,Ie.H)(ue.getCredentials(We))}deleteCredentials$(We){return(0,Ie.H)(ue.deleteCredentials(We))}}return(Re=it).\u0275fac=function(We){return new(We||Re)},Re.\u0275prov=L.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"}),it})();var Me=u(6198),$e=u(7467);let Pe=(()=>{var Re;class it{constructor(We,Ae,k,z,ce){this.alertService=We,this.authStateService=Ae,this.biometricAdapterService=k,this.deviceService=z,this.storageService=ce,this._shouldAppBeVisible$=new a.t(!0),this._biometricCheckFailed$=new a.t(!1),this.shouldAppBeVisible$=this._shouldAppBeVisible$.asObservable(),this.biometricCheckFailed$=this._biometricCheckFailed$.asObservable(),this._isCurrentlyAuthenticating=!1,this.isAvailable$=new a.t(!1),(0,s.z)([this.deviceService.isMobile$,this.biometricAdapterService.isBiometricAvailable$()]).pipe((0,w.T)(([pe,ve])=>pe&&ve),(0,T.W)(()=>(0,x.of)(!1)),(0,F.$)()).subscribe(pe=>this.isAvailable$.next(pe))}askWetherToAuthenticate$(){return(0,s.z)([this.isAvailable$,this.storageService.getDate$(V.w.lastDatetimeBiometricsDeclined)]).pipe((0,B.Z)(([We,Ae])=>We?Ae&&(new Date).getTime()-Ae.getTime()<6048e5?(0,x.of)(!1):this.alertService.confirm$({header:"Biometrische Authentifizierung",subHeader:"App Sperre",message:"M\xf6chten Sie sich k\xfcnftig beim \xd6ffnen der App per Fingerabdruck- oder Gesichtserkennung authentifizieren?",confirmText:"Ja, aktivieren",declineText:"Nein"}).pipe((0,B.Z)(z=>z?this.setAuth$(z,!0):this.storageService.setDate$(V.w.lastDatetimeBiometricsDeclined,new Date).pipe((0,w.T)(()=>!1)))):(0,x.of)(!1)))}setAuth$(We,Ae=!1){return(0,x.of)(1).pipe((0,B.Z)(()=>We?this.biometricAdapterService.authenticateWithBiometric$().pipe((0,B.Z)(k=>k?(0,x.of)(!0):this.alertService.show$({header:"Biometrische Authentifizierung fehlgeschlagen",subHeader:Ae?"App Sperre":"",message:Ae?"Bitte versuchen Sie es in den Einstellungen erneut.":"Bitte versuchen Sie es erneut.",buttons:[{text:"Schlie\xdfen"}]}).pipe((0,w.T)(()=>!1)))):(0,x.of)(!1)),(0,B.Z)(k=>this.storageService.setBool$(V.w.isBiometricActive,k)))}reset$(){return this._biometricCheckFailed$.next(!1),this._shouldAppBeVisible$.next(!0),this.storageService.remove$(V.w.isBiometricActive).pipe((0,T.W)(()=>(0,x.of)(null)))}authIfActivatedAndLoggedIn$(){return this._isCurrentlyAuthenticating?(0,x.of)(!1):(this._isCurrentlyAuthenticating=!0,(0,s.z)([this.isAuthActive(),this.authStateService.isLoggedIn$,this._biometricCheckFailed$]).pipe((0,F.$)(),(0,B.Z)(([We,Ae,k])=>k?this.onBiometricFail():We&&Ae?this.biometricAdapterService.authenticateWithBiometric$().pipe((0,B.Z)(z=>z?this.onBiometricSuccess():this.onBiometricFail())):this.onBiometricSuccess()),(0,T.W)(()=>this.onBiometricFail())))}retryBiometricCheck$(){return(0,x.of)(1).pipe((0,H.M)(()=>{console.info("Retrying biometric check ..."),this._biometricCheckFailed$.next(!1)}),(0,B.Z)(()=>this.authIfActivatedAndLoggedIn$()))}onBiometricFail(){return console.warn("Biometric check failed"),this._biometricCheckFailed$.next(!0),this._shouldAppBeVisible$.next(!1),this._isCurrentlyAuthenticating=!1,(0,x.of)(!1)}
1onBiometricSuccess(){return console.info("Biometric check successful"),this._biometricCheckFailed$.next(!1),this._shouldAppBeVisible$.next(!0),this._isCurrentlyAuthenticating=!1,(0,x.of)(!0)}isAuthActive(){return this.storageService.getBool$(V.w.isBiometricActive)}setAppInvisibleIfAuthActive$(){return this.isAuthActive().pipe((0,H.M)(We=>{We&&(this._shouldAppBeVisible$.next(!1),this._biometricCheckFailed$.next(!1))}))}}return(Re=it).\u0275fac=function(We){return new(We||Re)(L.KVO(U.u),L.KVO(le.T),L.KVO(he),L.KVO(Me.g),L.KVO($e.n))},Re.\u0275prov=L.jDH({token:Re,factory:Re.\u0275fac,providedIn:"root"}),it})()},4284:(wt,Se,u)=>{"use strict";u.d(Se,{o:()=>x});var a=u(5083),s=u(9182);const w=(0,a.F3)("Haptics",{web:()=>u.e(3558).then(u.bind(u,3558)).then(F=>new F.HapticsWeb)});var T=u(3953);let x=(()=>{var F;class B{constructor(){this.isHapticsAvailable=a.Ii.isPluginAvailable("Haptics")}navigationFeedback(){this.ultraLight()}interactionFeedback(){this.light()}ultraLight(){this.vibrate(10)}light(){this.isHapticsAvailable&&w.impact({style:s.kn.Light})}medium(){this.isHapticsAvailable&&w.impact({style:s.kn.Medium})}heavy(){this.isHapticsAvailable&&w.impact({style:s.kn.Heavy})}vibrate(V){this.isHapticsAvailable&&w.vibrate({duration:V})}success(){this.isHapticsAvailable&&w.notification({type:s._n.Success})}error(){this.isHapticsAvailable&&w.notification({type:s._n.Error})}warning(){this.isHapticsAvailable&&w.notification({type:s._n.Warning})}}return(F=B).\u0275fac=function(V){return new(V||F)},F.\u0275prov=T.jDH({token:F,factory:F.\u0275fac,providedIn:"root"}),B})()},2114:(wt,Se,u)=>{"use strict";u.d(Se,{r:()=>H});const T=(0,u(5083).F3)("Keyboard");var x=u(8141),F=u(3953),B=u(6198);let H=(()=>{var V;class L{constructor(le){this.deviceService=le}setAccessoryBarVisible(le){this.deviceService.isMobile$.pipe((0,x.M)(W=>{W&&T.setAccessoryBarVisible({isVisible:le})})).subscribe()}}return(V=L).\u0275fac=function(le){return new(le||V)(F.KVO(B.g))},V.\u0275prov=F.jDH({token:V,factory:V.\u0275fac,providedIn:"root"}),L})()},5954:(wt,Se,u)=>{"use strict";u.d(Se,{l:()=>it});var a=u(4412),s=u(4572),w=u(6354),T=u(1594),x=u(3028),F=u(7673),B=u(6697),H=u(8934),V=u(3953),L=u(6198),U=u(467),le=u(5083);const W=(0,le.F3)("LiveUpdates",{web:()=>new he}),q=function(){var Be=(0,U.A)(function*(We=void 0){return new Promise((Ae,k)=>{W.sync({},z=>{"progress"in z?We&&We(z.progress):"failStep"in z?k(z):Ae(z)})})});return function(){return Be.apply(this,arguments)}}(),ue=function(){var Be=(0,U.A)(function*(){return W.getConfig()});return function(){return Be.apply(this,arguments)}}(),ge=function(){var Be=(0,U.A)(function*(){return W.reload()});return function(){return Be.apply(this,arguments)}}();class he extends le.E_{sync(We,Ae){return(0,U.A)(function*(){return Ae({failStep:"CHECK",message:"Not implemented for web only"}),""})()}setConfig(We){return(0,U.A)(function*(){})()}getConfig(){return(0,U.A)(function*(){return{}})()}resetConfig(){return(0,U.A)(function*(){})()}reload(){return(0,U.A)(function*(){})()}}var Me=u(1985);let $e=(()=>{var Be;class We{getConfig$(){return new Me.c(k=>{ue().then(z=>{k.next(z)}).catch(z=>{console.error("LiveUpdateAdapterService: Error getting live update config",z),k.error(z)}).finally(()=>{k.complete()})})}sync$(k){return new Me.c(z=>{!function(){var pe=(0,U.A)(function*(){try{var ve;const ze=yield q(k);z.next({isUpdateLoaded:ze.activeApplicationPathChanged,id:null===(ve=ze.snapshot)||void 0===ve?void 0:ve.buildId,channel:ze.liveUpdate.channel})}catch(ze){console.error("LiveUpdateAdapterService: Error syncing live updates",ze),z.next({isUpdateLoaded:!1})}finally{z.complete()}});return function(){return pe.apply(this,arguments)}}()()})}reload$(){return new Me.c(k=>{ge().then(z=>{k.next(z)}).catch(z=>{console.error("LiveUpdateAdapterService: Error reloading live updates",z),k.error(z)}).finally(()=>{k.complete()})})}}return(Be=We).\u0275fac=function(k){return new(k||Be)},Be.\u0275prov=V.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"}),We})();var Pe=u(7467);let it=(()=>{var Be;class We{constructor(k,z,ce){this.deviceService=k,this.liveUpdateAdapterService=z,this.storageService=ce,this.progress$=new a.t(null),this.isUpdateModalDismissed$=new a.t(!0),this.config$=this.liveUpdateAdapterService.getConfig$(),this.isEnabled$=(0,s.z)([this.deviceService.isMobile$,this.config$]).pipe((0,w.T)(([pe,ve])=>pe&&!1!==ve.enabled))}logProgress(k){this.progress$.next(k)}
1checkAndLoadUpdate$(){return(0,s.z)([this.isEnabled$,this.progress$.pipe((0,T.$)())]).pipe((0,x.Z)(([k,z])=>k&&null===z?this.liveUpdateAdapterService.sync$(this.logProgress.bind(this)).pipe((0,x.Z)(ce=>null!=ce&&ce.id?this.storageService.set$(H.w.liveUpdateID,ce.id).pipe((0,w.T)(()=>ce)):(0,F.of)(ce)),(0,x.Z)(ce=>null!=ce&&ce.channel?this.storageService.set$(H.w.liveUpdateChannel,ce.channel).pipe((0,w.T)(()=>ce)):(0,F.of)(ce)),(0,x.Z)(ce=>(this.logProgress(null!=ce&&ce.isUpdateLoaded?1:null),this.storageService.setBool$(H.w.liveUpdateAlreadyLoaded,!0).pipe((0,w.T)(()=>!(null==ce||!ce.isUpdateLoaded))))),(0,B.s)(1)):(0,F.of)(!1)))}reload$(){return this.isEnabled$.pipe((0,x.Z)(k=>(this.logProgress(null),k?this.liveUpdateAdapterService.reload$():(0,F.of)(void 0))))}}return(Be=We).\u0275fac=function(k){return new(k||Be)(V.KVO(L.g),V.KVO($e),V.KVO(Pe.n))},Be.\u0275prov=V.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"}),We})()},5546:(wt,Se,u)=>{"use strict";u.d(Se,{T:()=>k});var a=u(1413),s=u(6354),w=u(3028),T=u(7673),x=u(4572),F=u(1986),B=u(9350),H=u(7707),L=u(8141),U=u(1594),le=u(9437),W=u(7786),q=u(6977),we=u(8203),ue=u(3953),Ie=u(1787),ge=u(8952),he=u(6198),Me=u(2439),$e=u(2872),Pe=u(8820),Re=u(321),it=u(803),Be=u(9822);let We=(()=>{var z;class ce{constructor(ve,ze){this.router=ve,this.reloadService=ze}handle(ve){switch(ve.type){case"news":return void this.router.navigate([Re.j[Re.b.Notices].path]);case"inbox":return this.router.navigate([Re.j[Re.b.Processes].path]),void this.reloadService.reloadProcessInquiries();case"ordercontractorrequest":return this.router.navigate([Re.j[Re.b.WorkOrderAppointments].path]),void this.reloadService.reloadProcessInquiries();case"timeline":return this.router.navigate([Re.j[Re.b.Processes].path,"process-feed",ve.id]),void this.reloadService.reloadProcessInquiries();case"documents":return void this.router.navigate([Re.j[Re.b.Documents].path]);case"flats":return void this.router.navigate([Re.j[Re.b.Units].path]);default:return this.router.navigate([Re.j[Re.b.Consumptions].path]),void this.reloadService.reloadConsumptionNextReadings()}}}return(z=ce).\u0275fac=function(ve){return new(ve||z)(ue.KVO(it.Ix),ue.KVO(Be.P))},z.\u0275prov=ue.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),ce})();var Ae=u(5430);let k=(()=>{var z;class ce{constructor(ve,ze,fe,de,ee,$,se,Ce,at){this.accountContactDetailsRepositoryService=ve,this.partyRepositoryService=ze,this.deviceService=fe,this.startupConfigurationService=de,this.platform=ee,this.pushNotificationAdapterService=$,this.pushNotificationHandlerService=se,this.cacheService=Ce,this.reloadService=at,this.unregister$=new a.B,this.destroy$=new a.B,this.isEnabled$=this.deviceService.isMobile$.pipe((0,s.T)(pt=>pt&&this.pushNotificationAdapterService.isPushNotificationsAvailable)),this.init$=this.isEnabled$.pipe((0,w.Z)(pt=>pt?(0,x.z)([this.pushNotificationAdapterService.onRegister$,(0,T.of)(1).pipe((0,F.c)(1e3),(0,w.Z)(()=>this.pushNotificationAdapterService.register$(()=>function V(z,ce){const pe="object"==typeof ce;return new Promise((ve,ze)=>{const fe=new H.Ms({next:de=>{ve(de),fe.unsubscribe()},error:ze,complete:()=>{pe?ve(ce.defaultValue):ze(new B.G)}});z.subscribe(fe)})}(this.partyRepositoryService.enablePushNotificationPreference$()))))]).pipe((0,L.M)(([ct,jt])=>console.info("PushNotificationService: Push notifications registered",{token:ct,wasRegisterSuccessful:jt})),(0,L.M)(([ct])=>this.deviceToken=ct),(0,U.$)(),(0,w.Z)(([ct])=>this.accountContactDetailsRepositoryService.listAll$().pipe((0,w.Z)(jt=>-1===jt.findIndex(jn=>jn.value==ct)?this.addDevice$(ct):(0,T.of)(!1)))),(0,U.$)()):(0,T.of)(!1)),(0,le.W)(pt=>(console.error("PushNotificationService: Error registering push notifications",pt),(0,T.of)(!1))))}register$(){return this.init$.pipe((0,L.M)(()=>{const ve=(0,W.h)(this.destroy$,this.unregister$);this.listenToNotificationEvents$().pipe((0,q.Q)(ve)).subscribe()}))}reset$(){return this.unregister$.next(),this.pushNotificationAdapterService.unregister$.pipe((0,w.Z)(()=>this.removeDevice$()),(0,U.$)())}listenToNotificationEvents$(){return this.isEnabled$.pipe((0,w.Z)(ve=>ve?(0,x.z)([this.listenToPushNotificationAction$(),this.listenToPushNotificationReceived$()]):(0,T.of)(1)))}listenToPushNotificationAction$(){return this.pushNotificationAdapterService.onNotificationActionPerformed$.pipe((0,L.M)(ve=>this.pushNotificationHandlerService.handle(ve.notification.data)))}listenToPushNotificationReceived$(){return this.pushNotificationAdapterService.onNotificationReceived$.pipe((0,L.M)(ve=>console.info("Push Notification received",ve)),(0,L.M)(()=>{this.reloadService.reloadGlobalCounts()}))}addDevice$(ve){return console.info("PushNotificationService:addDevice$",this.deviceToken),(0,x.z)([this.deviceService.deviceData$,this.startupConfigurationService.staticStartupConfig$]).pipe((0,s.T)(([ze,fe])=>{let de=we.k.Web;return"android"===ze.platform?de=we.k.Android:"ios"===ze.platform&&(de=we.k.iPhone),{contactTypeId:de,value:ve,customerAppId:null==fe?void 0:fe.id,deviceName:ze.model,deviceSystem:ze.platform,deviceVersion:ze.osVersion,deviceWidth:this.platform.width(),deviceHeight:this.platform.height()}}),(0,w.Z)(ze=>this.accountContactDetailsRepositoryService.create$(ze)),(0,L.M)(()=>this.cacheService.clear()),(0,s.T)(()=>!0),(0,le.W)(ze=>(console.error("PushNotificationService: Adding device failed",ze),(0,T.of)(!1))))}removeDevice$(){return console.info("PushNotificationService:removeDevice$",this.deviceToken),this.deviceToken?this.accountContactDetailsRepositoryService.listAll$().pipe((0,w.Z)(ve=>{const ze=ve.find(fe=>fe.value==this.deviceToken);return this.deviceToken=void 0,ze?this.accountContactDetailsRepositoryService.delete$(ze.id):(0,T.of)(!1)}),(0,s.T)(()=>!0),(0,le.W)(ve=>(console.error("PushNotificationService: Removing device failed",ve),(0,T.of)(!1)))):(0,T.of)(!1)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return(z=ce).\u0275fac=function(ve){return new(ve||z)(ue.KVO(Ie.Z),ue.KVO(ge.o),ue.KVO(he.g),ue.KVO(Me.d),ue.KVO($e.OD),ue.KVO(Pe.i),ue.KVO(We),ue.KVO(Ae._),ue.KVO(Be.P))},z.\u0275prov=ue.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),ce})()},7509:(wt,Se,u)=>{"use strict";u.d(Se,{B:()=>le});var a=u(803),s=u(3028),w=u(8141),T=u(1985),x=u(5964),F=u(7673),B=u(9437),H=u(3953),V=u(4311),L=u(5374),U=u(6198);let le=(()=>{var W;class q{constructor(ue,Ie,ge,he){this.colorService=ue,this.modalController=Ie,this.deviceService=ge,this.router=he,this.currentlyOpenModals=0,this.startAutomaticDismissOnRouteNavigate()}increaseModalCounter(){this.currentlyOpenModals+=1,this.setCorrectBackgroun
1d()}decreaseModalCounter(){this.currentlyOpenModals-=1,this.setCorrectBackground()}get modalCount(){return this.currentlyOpenModals}setCorrectBackground(){this.colorService.mainBackGroundActive=!(this.currentlyOpenModals>0)}show$({component:ue,componentProps:Ie,style:ge="card"}){return this.deviceService.isWeb$.pipe((0,s.Z)(he=>this.create$({component:ue,componentProps:Ie,style:he?"default":ge})),(0,w.M)(()=>this.increaseModalCounter()),(0,s.Z)(he=>this.present$(he)))}create$({component:ue,componentProps:Ie,style:ge="card",initialBreakpoint:he=.2,breakpoints:Me=[0,.25,.5,.75,1]}){return new T.c($e=>{this.modalController.create({component:ue,componentProps:Ie,presentingElement:"card"===ge?document.getElementById("base-modal-anchor"):void 0,initialBreakpoint:"sheet"===ge?he:void 0,breakpoints:"sheet"===ge?Me:void 0}).then(Pe=>{$e.next(Pe)}).catch(Pe=>{$e.error(Pe)}).finally(()=>{$e.complete()})})}present$(ue){return new T.c(Ie=>{ue.present().then(ge=>{Ie.next(ge)}).catch(ge=>{Ie.error(ge)}).finally(()=>{Ie.complete()})})}dismiss$(ue,Ie){return new T.c(ge=>{void 0===Ie?this.modalController.dismiss(ue).then(he=>{ge.next(he)}).catch(he=>{ge.error(he)}).finally(()=>{ge.complete()}):Ie.dismiss(ue).then(he=>{ge.next(he)}).catch(he=>{ge.error(he)}).finally(()=>{ge.complete()})})}goBack(){}startAutomaticDismissOnRouteNavigate(){return this.router.events.pipe((0,x.p)(ue=>ue instanceof a.Z),(0,s.Z)(ue=>0===this.modalCount?(0,F.of)(void 0):this.dismiss$()),(0,B.W)(ue=>(console.error("ModalService: Error handling router events",ue),(0,F.of)(void 0)))).subscribe()}}return(W=q).\u0275fac=function(ue){return new(ue||W)(H.KVO(V.l),H.KVO(L.W3),H.KVO(U.g),H.KVO(a.Ix))},W.\u0275prov=H.jDH({token:W,factory:W.\u0275fac,providedIn:"root"}),q})()},2065:(wt,Se,u)=>{"use strict";u.d(Se,{b:()=>Ae});var a=u(7376),s=u(4572),w=u(3028),T=u(7673),x=u(6354),F=u(9437),B=u(253),H=u(1985),V=u(321),L=u(6336),U=u(5919),le=u(7048),W=u(3953),q=u(9990);const ue=(0,u(5083).F3)("Badge",{web:()=>u.e(8221).then(u.bind(u,8221)).then(k=>new k.BadgeWeb)});let Ie=(()=>{var k;class z{set$(pe){return new H.c(ve=>{ue.set({count:pe}).then(()=>{ve.next(!0)}).catch(ze=>{ve.error(ze)}).finally(()=>{ve.complete()})})}get$(){return new H.c(pe=>{ue.get().then(ve=>{pe.next(ve.count)}).catch(ve=>{pe.error(ve)}).finally(()=>{pe.complete()})})}clear$(){return new H.c(pe=>{ue.clear().then(()=>{pe.next(!0)}).catch(ve=>{pe.error(ve)}).finally(()=>{pe.complete()})})}isSupported$(){return new H.c(pe=>{ue.isSupported().then(ve=>{pe.next(ve.isSupported)}).catch(ve=>{pe.error(ve)}).finally(()=>{pe.complete()})})}checkPermissions$(){return new H.c(pe=>{ue.checkPermissions().then(ve=>{pe.next(ve.display)}).catch(ve=>{pe.error(ve)}).finally(()=>{pe.complete()})})}requestPermissions$(){return new H.c(pe=>{ue.requestPermissions().then(ve=>{pe.next(ve.display)}).catch(ve=>{pe.error(ve)}).finally(()=>{pe.complete()})})}}return(k=z).\u0275fac=function(pe){return new(pe||k)},k.\u0275prov=W.jDH({token:k,factory:k.\u0275fac,providedIn:"root"}),z})();var ge=u(8952);let he=(()=>{var k;class z{constructor(pe,ve){this.badgeAdapterService=pe,this.partyRepositoryService=ve}set$(pe){return this.isAllowed$(!0).pipe((0,w.Z)(ve=>ve?this.badgeAdapterService.set$(pe):(0,T.of)(!0)))}clear$(){return this.isAllowed$().pipe((0,w.Z)(pe=>pe?this.badgeAdapterService.clear$():(0,T.of)(!0)))}isAllowed$(pe=!1){return(0,s.z)([this.badgeAdapterService.isSupported$(),this.badgeAdapterService.checkPermissions$()]).pipe((0,w.Z)(([ve,ze])=>ve?"prompt"===ze||"prompt-with-rationale"===ze?pe?this.badgeAdapterService.requestPermissions$().pipe((0,w.Z)(fe=>"granted"===fe?this.partyRepositoryService.enablePushNotificationPreference$().pipe((0,x.T)(()=>!0)):(0,T.of)(!1))):(0,T.of)(!1):(0,T.of)("denied"!==ze&&"granted"===ze):(0,T.of)(!1)))}}return(k=z).\u0275fac=function(pe){return new(pe||k)(W.KVO(Ie),W.KVO(ge.o))},k.\u0275prov=W.jDH({token:k,factory:k.\u0275fac,providedIn:"root"}),z})();var Me=u(9822),$e=u(3248),Pe=u(8194),Re=u(7236),it=u(9008),Be=u(2010),We=u(2172);let Ae=(()=>{var k;class z{constructor(pe,ve,ze,fe,de,ee,$,se,Ce,at){this.authStateService=pe,this.badgeService=ve,this.reloadService=ze,this.processNotificationRepositoryService=fe,this.documentRepositoryService=de,this.noticeRepositoryService=ee,this.workOrderAppointmentRequestDateRepositoryService=$,this.propertyRepositoryService=se,this.consumptionNextReadingService=Ce,this.conferenceRepositoryService=at,this.state$=(0,s.z)([this.authStateService.isLoggedIn$,this.reloadService.unreadCountTrigger$]).pipe((0,w.Z)(([pt])=>pt?(0,s.z)([this.processNotificationRepositoryService.getTotalCount$({},{hasBeenReadByMe:!1}),this.documentRepositoryService.getTotalCount$({},{wasRead:!1}),this.noticeRepositoryService.getTotalCount$({},{wasRead:!1}),this.workOrderAppointmentRequestDateRepositoryService.getTotalCount$({},{requestStatus:le.g.Unanswered,requestedAppointmentDateAfterDate:new Date}),this.reloadService.consumptionNextReadingsTrigger$.pipe((0,w.Z)(()=>this.propertyRepositoryService.listAll$().pipe((0,w.Z)(ct=>this.consumptionNextReadingService.transformListFunction$(ct)),(0,x.T)(ct=>ct.flatMap(({consumptionMeters:jt})=>null!=jt?jt:[]).map(L.q).filter(jt=>"overdue"===jt||"due"===jt).length)))),this.conferenceRepositoryService.listAll$({},{completed:!1}).pipe((0,x.T)(ct=>ct.filter(jt=>jt.state===U.Q.InProgress).length))].map(ct=>ct.pipe((0,F.W)(jt=>(console.error("Error while fetching notification count",jt),(0,T.of)(0)))))):(0,T.of)(new Array(Object.values(V.b).length).fill(0))),(0,x.T)(([pt,ct,jt,jn,mn,lr])=>({[V.b.Processes]:pt,[V.b.Documents]:ct,[V.b.Notices]:jt,[V.b.WorkOrderAppointments]:jn,[V.b.NextConsumptionReading]:mn,[V.b.Conferences]:lr})),(0,B.t)(1))}register$(){return new H.c(pe=>{this.initSubscription$=this.initialize$().subscribe(ve=>{ve?(pe.next(),pe.complete()):pe.error("Failed to initialize notification counter")})})}reset$(){var pe;return null===(pe=this.initSubscription$)||void 0===pe||pe.unsubscribe(),this.badgeService.clear$()}initialize$(){return this.reloadService.reloadGlobalCounts(),this.state$.pipe((0,x.T)(pe=>(0,a.sum)(Object.values(pe))),(0,w.Z)(pe=>this.badgeService.set$(pe)))}ngOnDestroy(){var pe;null===(pe=this.initSubscription$)||void 0===pe||pe.unsubscribe()}}
1return(k=z).\u0275fac=function(pe){return new(pe||k)(W.KVO(q.T),W.KVO(he),W.KVO(Me.P),W.KVO($e.a),W.KVO(Pe.N),W.KVO(Re.q),W.KVO(it.V),W.KVO(Be.x),W.KVO(L.K),W.KVO(We.A))},k.\u0275prov=W.jDH({token:k,factory:k.\u0275fac,providedIn:"root"}),z})()},941:(wt,Se,u)=>{"use strict";u.d(Se,{E:()=>x});var a=u(7376),w=u(6354),T=u(3953);let x=(()=>{var F;class B{getRouteParams(V,L){return this.getParamsInternal(V,L,!1)}getQueryParams(V,L){return this.getParamsInternal(V,L,!0)}getParamsInternal(V,L,U){return this.getParams(V,U).pipe((0,w.T)(le=>{const W={};for(const[q,we]of Object.entries(L)){const ue=le.getAll(q);if(0===ue.length){W[q]=void 0;continue}const Ie=this.parseValues(q,we.sort(),ue);W[q]=Ie}return W}))}getParams(V,L){return L?V.queryParamMap:V.paramMap}parseValues(V,L,U){if(!U||0===U.length)return;const[le]=U;for(const W of L)switch(W){case"number":const q=this.parseNumber(le);if(void 0!==q)return q;continue;case"number[]":const we=U.map(he=>this.parseNumber(he)).filter(he=>void 0!==he);if(we.length>0)return we;continue;case"boolean":const ue=this.parseBoolean(le);if(void 0!==ue)return ue;continue;case"boolean[]":const Ie=U.map(he=>this.parseBoolean(he)).filter(he=>void 0!==he);if(Ie.length>0)return Ie;continue;case"string":if("string"==typeof le)return le;continue;case"string[]":const ge=U.map(he=>"string"==typeof he?he:void 0).filter(he=>void 0!==he);if(ge.length>0)return ge;continue;case"undefined":if(null==le||null==le)return;continue}console.error(`Invalid type for parameter "${V}": expected one of [${L.join(", ")}], but got value "${le}" of type "${typeof le}"`)}parseNumber(V){const L=(0,a.toNumber)(V);if(isFinite(L))return L}parseBoolean(V){return"true"===V||"false"!==V&&void 0}}return(F=B).\u0275fac=function(V){return new(V||F)},F.\u0275prov=T.jDH({token:F,factory:F.\u0275fac,providedIn:"root"}),B})()},3696:(wt,Se,u)=>{"use strict";u.d(Se,{V:()=>B});var a=u(803),s=u(5964),w=u(6354),T=u(9437),x=u(7673),F=u(3953);let B=(()=>{var H;class V{constructor(U){this.router=U,this.history=[]}loadRouting(){this.router.events.pipe((0,s.p)(U=>U instanceof a.wF),(0,w.T)(({urlAfterRedirects:U})=>U),(0,T.W)(U=>(console.error("RouterHistoryService: Error accessing router events",U),(0,x.of)(void 0)))).subscribe(U=>{U&&(this.history=[...this.history,U])})}getHistory(){return this.history}getCurrentUrl(){return this.history[this.history.length-1]||"/"}
1getPreviousUrl(){return this.history[this.history.length-2]||"/"}}return(H=V).\u0275fac=function(U){return new(U||H)(F.KVO(a.Ix))},H.\u0275prov=F.jDH({token:H,factory:H.\u0275fac,providedIn:"root"}),V})()},3575:(wt,Se,u)=>{"use strict";u.d(Se,{P:()=>Qn});var a=u(6354),s=u(3601),w=u(3953),T=u(4412);function H(ht){return Array.isArray(ht)?ht:[ht]}var le=u(1413),W=u(4572),q=u(8793),we=u(1985),ue=u(6697),Ie=u(5964),he=u(152),Me=u(9172),$e=u(6977),Pe=u(177);let Re;try{Re=typeof Intl<"u"&&Intl.v8BreakIterator}catch(ht){Re=!1}let it=(()=>{var ht;class Ot{constructor(Kt){this._platformId=Kt,this.isBrowser=this._platformId?(0,Pe.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&&!Re)&&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(ht=Ot).\u0275fac=function(Kt){return new(Kt||ht)(w.KVO(w.Agw))},ht.\u0275prov=w.jDH({token:ht,factory:ht.\u0275fac,providedIn:"root"}),Ot})();const jn=new Set;let mn,lr=(()=>{var ht;class Ot{constructor(Kt,Zn){this._platform=Kt,this._nonce=Zn,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):$r}matchMedia(Kt){return(this._platform.WEBKIT||this._platform.BLINK)&&function hr(ht,Ot){if(!jn.has(ht))try{mn||(mn=document.createElement("style"),Ot&&mn.setAttribute("nonce",Ot),mn.setAttribute("type","text/css"),document.head.appendChild(mn)),mn.sheet&&(mn.sheet.insertRule(`@media ${ht} {body{ }}`,0),jn.add(ht))}catch(It){console.error(It)}}(Kt,this._nonce),this._matchMedia(Kt)}}return(ht=Ot).\u0275fac=function(Kt){return new(Kt||ht)(w.KVO(it),w.KVO(w.BIS,8))},ht.\u0275prov=w.jDH({token:ht,factory:ht.\u0275fac,providedIn:"root"}),Ot})();function $r(ht){return{matches:"all"===ht||""===ht,media:ht,addListener:()=>{},removeListener:()=>{}}}let ur=(()=>{var ht;class Ot{constructor(Kt,Zn){this._mediaMatcher=Kt,this._zone=Zn,this._queries=new Map,this._destroySubject=new le.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Kt){return Fn(H(Kt)).some(Ir=>this._registerQuery(Ir).mql.matches)}observe(Kt){const Ir=Fn(H(Kt)).map($n=>this._registerQuery($n).observable);let Er=(0,W.z)(Ir);return Er=(0,q.x)(Er.pipe((0,ue.s)(1)),Er.pipe(function ge(ht){return(0,Ie.p)((Ot,It)=>ht<=It)}(1),(0,he.B)(0))),Er.pipe((0,a.T)($n=>{const dn={matches:!1,breakpoints:{}};return $n.forEach(({matches:Ar,query:ei})=>{dn.matches=dn.matches||Ar,dn.breakpoints[ei]=Ar}),dn}))}_registerQuery(Kt){if(this._queries.has(Kt))return this._queries.get(Kt);const Zn=this._mediaMatcher.matchMedia(Kt),Er={observable:new we.c($n=>{const dn=Ar=>this._zone.run(()=>$n.next(Ar));return Zn.addListener(dn),()=>{Zn.removeListener(dn)}}).pipe((0,Me.Z)(Zn),(0,a.T)(({matches:$n})=>({query:Kt,matches:$n})),(0,$e.Q)(this._destroySubject)),mql:Zn};return this._queries.set(Kt,Er),Er}}return(ht=Ot).\u0275fac=function(Kt){return new(Kt||ht)(w.KVO(lr),w.KVO(w.SKi))},ht.\u0275prov=w.jDH({token:ht,factory:ht.\u0275fac,providedIn:"root"}),Ot})();function Fn(ht){return ht.map(Ot=>Ot.split(",")).reduce((Ot,It)=>Ot.concat(It)).map(Ot=>Ot.trim())}let Yn=(()=>{var ht;class Ot{constructor(Kt){this.breakpointObserver=Kt,this.xsBreakpoint=[`(max-width:${s.z.sm-.01}px)`],this.smBreakpoint=[`(min-width:${s.z.sm}px) and (max-width:${s.z.md-.01}px)`],this.mdBreakpoint=[`(min-width:${s.z.md}px) and (max-width:${s.z.lg-.01}px)`],this.lgBreakpoint=[`(min-width:${s.z.lg}px) and (max-width:${s.z.xl-.01}px)`],this.xlBreakpoint=[`(min-width:${s.z.xl}px) and (max-width:${s.z.xxl-.01}px)`],this.xxlBreakpoint=`(min-width:${s.z.xxl}px)`,this.screenSizeObserver=new T.t(["xs"]),this.initObservers()}initObservers(){this.breakpointObserver.observe(this.xsBreakpoint).subscribe(Kt=>{Kt.matches&&this.screenSizeObserver.next(["xs"])}
1),this.breakpointObserver.observe(this.smBreakpoint).subscribe(Kt=>{Kt.matches&&this.screenSizeObserver.next(["xs","sm"])}),this.breakpointObserver.observe(this.mdBreakpoint).subscribe(Kt=>{Kt.matches&&this.screenSizeObserver.next(["xs","sm","md"])}),this.breakpointObserver.observe(this.lgBreakpoint).subscribe(Kt=>{Kt.matches&&this.screenSizeObserver.next(["xs","sm","md","lg"])}),this.breakpointObserver.observe(this.xlBreakpoint).subscribe(Kt=>{Kt.matches&&this.screenSizeObserver.next(["xs","sm","md","lg","xl"])}),this.breakpointObserver.observe(this.xxlBreakpoint).subscribe(Kt=>{Kt.matches&&this.screenSizeObserver.next(["xs","sm","md","lg","xl","xxl"])})}}return(ht=Ot).\u0275fac=function(Kt){return new(Kt||ht)(w.KVO(ur))},ht.\u0275prov=w.jDH({token:ht,factory:ht.\u0275fac,providedIn:"root"}),Ot})(),Qn=(()=>{var ht;class Ot{constructor(Kt){this.breakpointObserverService=Kt,this.included1=!1,this.included2=!1}isMin(Kt){return this.breakpointObserverService.screenSizeObserver.pipe((0,a.T)(Zn=>Zn.includes(Kt)?(Kt===s.L.masterDetailSplit&&(this.included1=!0),!0):(Kt===s.L.masterDetailSplit&&(this.included1&&this.reloadApp(),this.included1=!1),!1)))}isMax(Kt){return this.breakpointObserverService.screenSizeObserver.pipe((0,a.T)(Zn=>Zn.includes(Kt)?(Kt===s.L.masterDetailSplit&&(this.included2&&this.reloadApp(),this.included2=!1),!1):(Kt===s.L.masterDetailSplit&&(this.included2=!0),!0)))}reloadApp(){}}return(ht=Ot).\u0275fac=function(Kt){return new(Kt||ht)(w.KVO(Yn))},ht.\u0275prov=w.jDH({token:ht,factory:ht.\u0275fac,providedIn:"root"}),Ot})()},2439:(wt,Se,u)=>{"use strict";u.d(Se,{t:()=>z,d:()=>ce});var a=u(5083),s=u(7376),w=u(3294),T=u(4412),x=u(4572),F=u(6354),B=u(9172),H=u(253),V=u(5964),L=u(8141),U=u(3028),le=u(7468),W=u(9437),q=u(8810),we=u(1594),ue=u(644),Ie=u(8934),ge=u(3953),he=u(5267),Me=u(8952),$e=u(4638),Pe=u(4592);let Re=(()=>{var pe;class ve extends $e.d{constructor(fe){super(fe),this.backendService=fe}get resource(){return"customer-app-startup-configuration"}}return(pe=ve).\u0275fac=function(fe){return new(fe||pe)(ge.KVO(Pe.m))},pe.\u0275prov=ge.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"}),ve})();var it=u(2114),Be=u(7333),We=u(7467),Ae=u(6198),k=u(3390);class z extends Error{constructor(){super(...arguments),this.name="StartupConfigNotFound",this.message="Startup configuration not found"}}let ce=(()=>{var pe;class ve{get staticStartupConfig$(){return this._staticStartupConfig$.asObservable().pipe((0,w.F)((fe,de)=>(0,s.isEqual)(fe,de)))}get dynamicStartupConfig$(){return this._dynamicStartupConfig$.asObservable().pipe((0,w.F)((fe,de)=>(0,s.isEqual)(fe,de)))}constructor(fe,de,ee,$,se,Ce,at,pt){this.brandingService=fe,this.partyRepositoryService=de,this.customerAppStartupConfigurationRepositoryService=ee,this.keyboardService=$,this.nativeFileService=se,this.storageService=Ce,this.deviceService=at,this.appService=pt,this._staticStartupConfig$=new T.t(null),this._dynamicStartupConfig$=new T.t(null),this.startupConfig$=(0,x.z)([this.staticStartupConfig$,this.dynamicStartupConfig$]).pipe((0,F.T)(([ct,jt])=>null!=jt?jt:ct),(0,w.F)((ct,jt)=>(0,s.isEqual)(ct,jt)),(0,B.Z)(null),(0,H.t)(1)),this.legalUrls$=this.startupConfig$.pipe((0,F.T)(ct=>[{label:"Impressum",href:null!=ct&&ct.imprintUrl?null==ct?void 0:ct.imprintUrl:ue.c.defaultImprintUrl},{label:"AGB",href:null!=ct&&ct.termsUrl?null==ct?void 0:ct.termsUrl:ue.c.defaultTermsUrl},{label:"Datenschutz",href:null!=ct&&ct.privacyUrl?null==ct?void 0:ct.privacyUrl:ue.c.defaultPrivacyUrl}]),(0,w.F)((ct,jt)=>(0,s.isEqual)(ct,jt))),this.listenToStartupConfigChanges()}listenToStartupConfigChanges(){this.startupConfig$.pipe((0,V.p)(fe=>!(0,s.isNil)(fe)),(0,L.M)(fe=>{this.setColors(fe),this.setSplash(fe),this.setLogo(fe),this.setPropertyManagementCompanyName(fe),this.keyboardService.setAccessoryBarVisible(!0)})).subscribe()}initialize$(){return(0,x.z)([this.storageService.getInteger$(Ie.w.propertyManagementCompanyId),this.appService.getInfo$()]).pipe((0,w.F)((fe,de)=>(0,s.isEqual)(fe,de)),(0,U.Z)(([fe,de])=>{var ee,$,se;const Ce=[];fe&&!isNaN(fe)&&Ce.push(this.initializeByPropertyManagementCompanyId$(fe));const at=null!==(ee=null===($=ue.c.customStartupConfiguration)||void 0===$?void 0:$.bundleId)&&void 0!==ee?ee:de.id;return"__BUNDLEID__"===at||""===at||null!==(se=ue.c.customStartupConfiguration)&&void 0!==se&&se.alwaysUseBaseUrl?Ce.push(this.initializeByDomain$()):Ce.push(this.initializeByBundleId$(at)),(0,le.p)(Ce)}),(0,W.W)(fe=>(console.error("Initializing Startup Configuration Service failed!",fe),(0,q.$)(()=>new z("Initializing Startup Configuration Service failed!",{cause:fe})))),(0,we.$)())}setPropertyManagementCompanyId$(fe){return void 0===fe?this.storageService.remove$(Ie.w.propertyManagementCompanyId).pipe((0,we.$)(),(0,L.M)(()=>this._dynamicStartupConfig$.next(null))):this.storageService.setInteger$(Ie.w.propertyManagementCompanyId,fe).pipe((0,we.$)(),(0,U.Z)(()=>this.initializeByPropertyManagementCompanyId$(fe)))}initializeByDomain$(){const fe=this.getBaseUrl();return this.partyRepositoryService.showSubResource$({subResourceName:`${fe}/customer-app-startup-configuration`}).pipe((0,W.W)(de=>{const ee=this.sanitizeEnvironmentId(fe,"prefix");return ee===fe?(0,q.$)(()=>de):this.partyRepositoryService.showSubResource$({subResourceName:`${ee}/customer-app-startup-configuration`})}),(0,L.M)(de=>this._staticStartupConfig$.next(de)))}initializeByBundleId$(fe){return this.customerAppStartupConfigurationRepositoryService.show$({directory:[{path:"customer-apps",id:fe}]}).pipe((0,W.W)(de=>{const ee=this.sanitizeEnvironmentId(fe,"postfix");return ee===fe?(0,q.$)(()=>de):this.customerAppStartupConfigurationRepositoryService.show$({directory:[{path:"customer-apps",id:ee}]})}),(0,L.M)(de=>this._staticStartupConfig$.next(de)))}initializeByPropertyManagementCompanyId$(fe){return this.partyRepositoryService.showSubResource$({subResourceName:`${fe}/customer-app-startup-configuration`}).pipe((0,L.M)(de=>this._dynamicStartupConfig$.next(de)))}setColors(fe){this.brandingService.setPrimaryColor(fe.primaryColor),this.brandingService.setSecondaryColor(fe.secondaryColor),this.brandingService.setTertiaryColor(fe.tertiaryColor)}setSplash({splashScreenDownloadUrl:fe}){fe?this.deviceService.isMobile$.pipe((0,V.p)(de=>de),(0,U.Z)(()=>this.nativeFileService.getLocalFilePath$({downloadUrl:fe,fileName:"splash",persist:!0,extension:"png"})),(0,V.p)(de=>!(0,s.isNil)(de)),(0,L.M)(de=>{de=a.Ii.convertFileSrc(de),this.brandingService.setSplash(de)})).subscribe():this.brandingService.setSplash(void 0)}setLogo(fe){this.brandingService.setLogo(fe.logoDownloadUrl)}setPropertyManagementCompanyName(fe){this.brandingService.setPropertyManagementCompanyName(fe.propertyManagementCompanyName)}getBaseUrl(){var fe,de;return(null!==(fe=null===(de=ue.c.customStartupConfiguration)||void 0===de?void 0:de.baseUrl)&&void 0!==fe?fe:location.origin).replace(/^https?:\/\//,"")}sanitizeEnvironmentId(fe,de){if(!ue.c.affix)return fe;const ee=ue.c.affix,$="(-|\\.)";let se;return se="postfix"===de?new RegExp(`${$}${ee}$`):new RegExp(`^${ee}${$}`),fe.replace(se,"")}}return(pe=ve).\u0275fac=function(fe){return new(fe||pe)(ge.KVO(he.X),ge.KVO(Me.o),ge.KVO(Re),ge.KVO(it.r),ge.KVO(Be.d),ge.KVO(We.n),ge.KVO(Ae.g),ge.KVO(k.d))},pe.\u0275prov=ge.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"}),ve})()},1451:(wt,Se,u)=>{"use strict";u.d(Se,{A:()=>Ie});var ue,a=u(7376),w=u(4412),T=u(4572),x=u(6354),F=u(8141),B=u(9437),H=u(7673),V=u(1594),L=u(6697),U=u(8934),le=u(3876),W=u(3953),q=u(7467),we=u(5385);class Ie{constructor(he,Me){this.storageService=he,this.accountRepositoryService=Me,this._themeMode$=new w.t(Ie.DEFAULT_THEME_MODE),this._systemPrefersDark$=new w.t(!1),this.themeMode$=this._themeMode$.asObservable(),this.changedMediaPreferredDarkListener=$e=>{this._systemPrefersDark$.next($e.matches)},this.liveCycle=(0,T.z)([this._themeMode$,this._systemPrefersDark$]).pipe((0,x.T)(([$e,Pe])=>$e===le.E.System?Pe:$e===le.E.Dark),(0,F.M)($e=>this.applyCssClass($e)),(0,B.W)($e=>(console.error("Error while initializing theme mode.",$e),(0,H.of)(void 0)))).subscribe(),"not all"!==window.matchMedia("(prefers-color-scheme)").media&&(window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",this.changedMediaPreferredDarkListener),this._systemPrefersDark$.next(window.matchMedia("(prefers-color-scheme: dark)").matches))}ngOnDestroy(){"not all"!==window.matchMedia("(prefers-color-scheme)").media&&window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",this.changedMediaPreferredDarkListener),this.liveCycle&&this.liveCycle.unsubscribe()}initialize$(){return this.storageService.getInteger$(U.w.themeMode).pi
1pe((0,F.M)(he=>{(0,a.isNil)(he)||this.setThemeMode(he)}),(0,V.$)())}setThemeModeByMyself$(){return this.accountRepositoryService.mySelf$.pipe((0,L.s)(1),(0,F.M)(he=>{he&&this.setThemeMode(he.themeMode)}),(0,B.W)(he=>(console.error("Error while setting theme mode by myself.",he),(0,H.of)(void 0))))}setThemeMode(he=Ie.DEFAULT_THEME_MODE){Object.values(le.E).includes(he)||(console.warn("Invalid theme mode value",he),he=Ie.DEFAULT_THEME_MODE),this._themeMode$.next(he),this.storageService.setInteger$(U.w.themeMode,he).subscribe()}applyCssClass(he){he?document.documentElement.classList.add("ion-palette-dark"):document.documentElement.classList.remove("ion-palette-dark")}}(ue=Ie).DEFAULT_THEME_MODE=le.E.System,ue.\u0275fac=function(he){return new(he||ue)(W.KVO(q.n),W.KVO(we.t))},ue.\u0275prov=W.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})},4985:(wt,Se,u)=>{"use strict";u.d(Se,{B:()=>it});class a extends Error{}a.prototype.name="InvalidTokenError";var x=u(7376),F=u(4412),B=u(1413),H=u(274),V=u(1594),L=u(3028),U=u(7673),le=u(6354),W=u(8141),q=u(9437),we=u(5964),ue=u(2498),Ie=u(8810),ge=u(8934),he=u(3953),Me=u(5413),$e=u(7467),Pe=u(8093);const Re=ge.w.refreshToken;let it=(()=>{var Be;class We{constructor(k,z,ce){this.authRepositoryService=k,this.storageService=z,this.healthRepositoryService=ce,this._accessToken$=new F.t(null),this._authSession$=new F.t(null),this._scope="",this.accessTokenQueue$=new B.B,this.initAccessTokenQueue()}initAccessTokenQueue(){this.accessTokenQueue$.pipe((0,H.H)(k=>this._accessToken$.pipe((0,V.$)(),(0,L.Z)(z=>{const ce=(new Date).getTime();return!z||(0,x.isDate)(z.expiration)&&z.expiration.getTime()<ce?this.refreshToken$.pipe((0,V.$)(),(0,H.H)(pe=>pe?this.refresh$(pe).pipe((0,le.T)(ve=>ve.accessToken)):(k.next(null),(0,U.of)(null)))):(0,U.of)(z.token)}),(0,W.M)(z=>k.next(z)),(0,q.W)(z=>(console.error("Error accessing token",z),k.next(null),(0,U.of)(null)))))).subscribe()}get accessToken$(){const k=new F.t(void 0);return this.accessTokenQueue$.next(k),k.pipe((0,we.p)(z=>void 0!==z),(0,V.$)(),(0,le.T)(z=>z))}setAccessToken(k){const z=function T(Be,We){if("string"!=typeof Be)throw new a("Invalid token specified: must be a string");We||(We={});const Ae=!0===We.header?0:1,k=Be.split(".")[Ae];if("string"!=typeof k)throw new a(`Invalid token specified: missing part #${Ae+1}`);let z;try{z=function w(Be){let We=Be.replace(/-/g,"+").replace(/_/g,"/");switch(We.length%4){case 0:break;case 2:We+="==";break;case 3:We+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function s(Be){return decodeURIComponent(atob(Be).replace(/(.)/g,(We,Ae)=>{let k=Ae.charCodeAt(0).toString(16).toUpperCase();return k.length<2&&(k="0"+k),"%"+k}))}(We)}catch(Ae){return atob(We)}}(k)}catch(ce){throw new a(`Invalid token specified: invalid base64 for part #${Ae+1} (${ce.message})`)}try{return JSON.parse(z)}catch(ce){throw new a(`Invalid token specified: invalid json for part #${Ae+1} (${ce.message})`)}}(k),ce=z.exp?new Date(1e3*z.exp):void 0;this._scope=z.scope,this._accessToken$.next({token:k,expiration:ce})}setRefreshToken$(k){return this.storageService.set$(Re,k)}get refreshToken$(){return this.storageService.get$(Re)}removeTokens$(){return this.storageService.remove$(Re).pipe((0,W.M)(()=>{this._accessToken$.next(null),this._authSession$.next(null),this._scope=""}))}refresh$(k){return this.authRepositoryService.refreshTokens$(k).pipe((0,L.Z)(z=>(this.setAccessToken(z.accessToken),this._authSession$.next(z.refreshToken),this.setRefreshToken$(z.refreshToken.token).pipe((0,le.T)(()=>z)))),(0,ue.L)(3),(0,q.W)(z=>this.healthRepositoryService.isHealthy$().pipe((0,L.Z)(ce=>ce?this.removeTokens$():(0,U.of)(void 0)),(0,L.Z)(()=>(0,Ie.$)(()=>z)))),(0,V.$)())}get currentAuthSession$(){return this.accessToken$.pipe((0,L.Z)(k=>k?this._authSession$:(0,U.of)(null)),(0,V.$)())}get isRefreshTokenAvailable$(){return this.refreshToken$.pipe((0,le.T)(k=>!!k),(0,V.$)())}get scope(){return this._scope}}return(Be=We).\u0275fac=function(k){return new(k||Be)(he.KVO(Me.u),he.KVO($e.n),he.KVO(Pe.m))},Be.\u0275prov=he.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"}),We})()},6843:(wt,Se,u)=>{"use strict";u.d(Se,{_v:()=>w,kF:()=>a,kV:()=>s});const a="Unbekannte Adresse";function s(x,F,B){const H=function T(x,F){let B=[];if(x&&B.push(x),F&&B.push(F),0!==B.length)return B.join(" ")}(F,B),V=[];
1if(x&&V.push(x),H&&V.push(H),0!==V.length)return V.join(", ")}function w(x,F,B,H=a){var V;return null!==(V=s(x,F,B))&&void 0!==V?V:H}},263:(wt,Se,u)=>{"use strict";u.d(Se,{J:()=>k});var a=u(467),s=u(1106);function x(){return(x=(0,a.A)(function*(z){return yield Promise.all(Array.from(z).map(ce=>function w(z){return new Promise((ce,pe)=>{const ve=new FileReader;ve.onload=ze=>ce(ze.target.result),ve.onerror=ze=>pe(ze),ve.readAsDataURL(z)})}(ce)))})).apply(this,arguments)}function F(z){const ce=new Image;return new Promise((pe,ve)=>{ce.onload=()=>pe(ce),ce.onerror=ze=>ve(ze),ce.src=z})}function V(){return V=(0,a.A)(function*(z){const ce=yield function T(z){return x.apply(this,arguments)}(z);return yield Promise.all(ce.map(pe=>F(pe)))}),V.apply(this,arguments)}function L(z,ce,pe=720){const ve=pe<z?pe:z,ze=pe<ce?pe:ce;return z>ce?{width:ve,height:ce*(ve/z)}:ce>z?{width:z*(ze/ce),height:ze}:{width:ve,height:ze}}function q(){return(q=(0,a.A)(function*(){const ce=yield F("data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAEAAgMBEQACEQEDEQH/xABKAAEAAAAAAAAAAAAAAAAAAAALEAEAAAAAAAAAAAAAAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwA/8H//2Q==");return 1===ce.width&&2===ce.height})).apply(this,arguments)}const we=function(){var z=(0,a.A)(function*(ce,{maxSize:pe=720,quality:ve,type:ze="image/jpeg"}={}){const fe=document.createElement("canvas"),de=fe.getContext("2d");if(!de)throw new Error("canvas can not created");const ee=yield function H(z){return V.apply(this,arguments)}(ce);return(yield function W(){return q.apply(this,arguments)}())?ee.map(at=>{const{width:pt,height:ct}=L(at.width,at.height,pe);return fe.setAttribute("width",`${pt}px`),fe.setAttribute("height",`${ct}px`),de.drawImage(at,0,0,pt,ct),fe.toDataURL(ze,ve)}):ee.map(Ce=>{const at=function U(z){let ce=1;return s.getData(z,()=>{ce=s.getTag(z,"Orientation")}),ce}(Ce),{width:pt,height:ct}=L(at>4?Ce.height:Ce.width,at>4?Ce.width:Ce.height,pe);fe.setAttribute("width",`${pt}px`),fe.setAttribute("height",`${ct}px`);const{translate:jt,scale:jn,rotate:mn}=function le(z,ce,pe){const ve={translate:{x:0,y:0},scale:{x:1,y:1},rotate:{angle:0}};switch(pe){case 2:return{...ve,translate:{...ve.translate,x:z},scale:{...ve.scale,x:-1}};case 3:return{...ve,translate:{x:z,y:ce},rotate:{angle:Math.PI}};case 4:return{...ve,translate:{...ve.translate,y:ce},scale:{...ve.scale,y:-1}};case 5:return{...ve,scale:{...ve.scale,x:-1},rotate:{angle:90*Math.PI/180}};case 6:return{...ve,translate:{...ve.translate,x:z},rotate:{angle:90*Math.PI/180}};case 7:return{...ve,translate:{x:z,y:ce},rotate:{angle:90*Math.PI/180},scale:{...ve.scale,y:-1}};case 8:return{...ve,translate:{...ve.translate,y:ce},rotate:{angle:-90*Math.PI/180}};default:return ve}}(pt,ct,at);return de.translate(jt.x,jt.y),de.scale(jn.x,jn.y),de.rotate(mn.angle),at>4?de.drawImage(Ce,0,0,ct,pt):de.drawImage(Ce,0,0,pt,ct),fe.toDataURL(ze,ve)})});return function(pe){return z.apply(this,arguments)}}();var ue=u(7376),Ie=u(9030),ge=u(3028),he=u(6648),Me=u(6354),$e=u(9437),Pe=u(1985),Re=u(7673),it=u(7468),Be=u(6697),We=u(9660),Ae=u(3953);let k=(()=>{var z;class ce{base64StringToFile$(ve,ze,fe){return(0,Ie.v)(()=>fetch(ve)).pipe((0,ge.Z)(de=>(0,he.H)(de.blob())),(0,Me.T)(de=>new File([de],ze,{type:fe})))}constructFileName(ve){var ze;let fe=ve.originalFilename;fe||(fe="file");let de=null===(ze=ve.type)||void 0===ze?void 0:ze.fileExtension;if(!de){const $=ve.downloadUrl.split(".");de=$[$.length-1]}return{fileName:fe,extension:de,downloadUrl:ve.downloadUrl}}buildFileName({fileName:ve,extension:ze}){const fe="."+(0,ue.toLower)(ze),de=(0,ue.toLower)(ve),ee=(0,ue.endsWith)(de,fe)?ve.slice(0,-fe.length):ve;return(0,We.sanitize)(ee+fe)}getLocalFile$(ve){return(0,he.H)(we([ve],{maxSize:2e3,quality:1,type:"image/jpeg"})).pipe((0,Me.T)(([ze])=>[ze,"image/jpeg"]),(0,$e.W)(ze=>(console.error("Error getting file with applied orientation. Fallback to file reader ...",ze),this.readWithFileReader$(ve).pipe((0,Me.T)(fe=>[fe,ve.type])))),(0,ge.Z)(([ze,fe])=>this.base64StringToFile$(ze,ve.name,fe).pipe((0,Me.T)(de=>({data:ze,file:de})))))}getAcceptedFiles(ve,ze){return ve.filter(de=>ze.some(ee=>ee===de.file.type||"*/*"===ee||(ee.startsWith(".")?de.file.name.endsWith(ee):!!ee.endsWith("/*")&&de.file.type.startsWith(ee.slice(0,-1)))))}readWithFileReader$(ve){const ze=this.getFileReader$();
1return ze.readAsDataURL(ve),new Pe.c(fe=>{ze.onload=de=>{fe.next(de.target.result)},ze.onerror=de=>{fe.error(de)},ze.onloadend=()=>{fe.complete()}})}getFileReader$(){return new FileReader}startFileDownloadFromUrl(ve,ze,fe){const de=document.createElement("a");de.href=ve,de.download=ze,fe&&(de.target=fe),document.body.appendChild(de),de.click(),document.body.removeChild(de)}onPaste$(ve){const ze=ve.clipboardData,fe=null==ze?void 0:ze.items;if(!fe)return(0,Re.of)([]);const de=Array.from(fe).filter(ee=>"file"===ee.kind);return de?(0,Re.of)(de).pipe((0,ge.Z)(ee=>(0,it.p)(ee.map($=>{const se=$.getAsFile();return se?this.getLocalFile$(se):(0,Re.of)(null)}))),(0,Me.T)(ee=>{const $=ee.filter(se=>null!==se);return 0===$.length?[]:$}),(0,Be.s)(1)):(0,Re.of)([])}}return(z=ce).\u0275fac=function(ve){return new(ve||z)},z.\u0275prov=Ae.jDH({token:z,factory:z.\u0275fac,providedIn:"any"}),ce})()},2143:(wt,Se,u)=>{"use strict";u.d(Se,{g:()=>s});var a=u(3953);let s=(()=>{var w;class T{transformToHtml(F){return F.split(/(<[^>]+>)/g).map(V=>V.startsWith("<")&&V.endsWith(">")?V:/\S/.test(V)?V.replace(/\r\n|\n|\r/g,"<br/>"):V).join("")}}return(w=T).\u0275fac=function(F){return new(F||w)},w.\u0275prov=a.jDH({token:w,factory:w.\u0275fac,providedIn:"any"}),T})()},610:(wt,Se,u)=>{"use strict";function a(w,T){return`${w}/${T}`.replaceAll(/([^:]\/)\/+/g,"/")}u.d(Se,{_:()=>a,y:()=>s});var s=function(w){return w.POST="POST",w.PUT="PUT",w.DELETE="DELETE",w.PATCH="PATCH",w.GET="GET",w}(s||{})},576:(wt,Se,u)=>{"use strict";u.d(Se,{aN:()=>T,hx:()=>x,vO:()=>s,wh:()=>w,zK:()=>a});var a=function(F){return F.Empty="empty",F.IsMasterPage="isMasterPage",F.IsDetailPage="isDetailPage",F.IsTopLevelDetailPage="isTopLevelDetailPage",F}(a||{}),s=function(F){return F.ID="id",F.PropertyID="propertyId",F.UnitID="unitId",F.ProcessID="processId",F.DocumentGroupID="documentGroupId",F.InquiryID="inquiryId",F.NoticeID="noticeId",F.ConsumptionMeterID="consumptionMeterId",F.ContractID="contractId",F.C
1onferenceID="conferenceId",F.ConferenceTopicID="conferenceTopicId",F.ResolutionId="resolutionId",F.FaqGroupID="faqGroupId",F.FaqID="faqId",F.NearbyPlacesCategoryId="nearbyPlacesCategoryId",F}(s||{}),w=function(F){return F.ReturnUrl="returnUrl",F.CategoryName="categoryName",F.CategoryExternalName="categoryExternalName",F.PropertyID="propertyId",F.EntranceID="entranceId",F.UnitID="unitId",F.PartyID="partyId",F.All="all",F.Email="email",F.RecoverCode="recoveryCode",F.PreaddContactTypeId="preaddContactTypeId",F}(w||{}),T=function(F){return F.Login="login",F.ForgotPassword="forgot-password",F.Settings="settings",F.Settings_ContactData="contact-data",F}(T||{}),x=function(F){return F.Login="/login",F.ForgotPassword="/forgot-password",F.Settings="/settings",F.Settings_ContactData="/settings/contact-data",F}(x||{})},5033:(wt,Se,u)=>{"use strict";u.d(Se,{o:()=>pe});var a=u(7376),w=u(4412),T=u(4572),x=u(9437),F=u(7673),B=u(6354),H=u(253),V=u(1594),L=u(8141),U=u(3028),le=u(3601),W=u(321),q=u(3953),we=u(2172),ue=u(4760),Ie=u(5682),ge=u(2176),he=u(2242),Me=u(3266),$e=u(9008),Pe=u(6198),Re=u(3575),it=u(2065),Be=u(7540),We=u(7002),Ae=u(7236),k=u(8194),z=u(1139),ce=u(5954);let pe=(()=>{var ve;class ze{constructor(de,ee,$,se,Ce,at,pt,ct,jt,jn,mn,lr,hr,$r,ur,Fn){this.conferenceRepositoryService=de,this.resolutionRepositoryService=ee,this.consumptionMeterRepositoryService=$,this.consumptionReadingDateRepositoryService=se,this.qrCodeService=Ce,this.smartLockRepositoryService=at,this.workOrderAppointmentRequestDateRepositoryService=pt,this.deviceService=ct,this.screensizeService=jt,this.notificationCounterService=jn,this.faqGroupRepositoryService=mn,this.nearbyPlacesCategoryRepositoryService=lr,this.noticeRepositoryService=hr,this.documentRepositoryService=$r,this.propertyEmergencyContactRepositoryService=ur,this.liveUpdateService=Fn,this.mainNavigationTypes=[W.b.Dashboard,W.b.Documents,W.b.Processes,W.b.Settings],this.navigationTypesWithoutWidget=[W.b.Settings],this.resetCounter$=new w.t(0),this.entitiesCounts$=(0,T.z)([this.smartLockRepositoryService.getTotalCount$().pipe((0,x.W)(()=>(0,F.of)(0))),this.consumptionReadingDateRepositoryService.getTotalCount$(void 0,{onlyForMeteredUnits:!0}).pipe((0,x.W)(()=>(0,F.of)(0))),this.consumptionMeterRepositoryService.listAll$().pipe((0,B.T)(cr=>cr.filter(Yn=>!!Yn.meteredPropertyId).length),(0,x.W)(()=>(0,F.of)(0))),this.workOrderAppointmentRequestDateRepositoryService.getTotalCount$(void 0,{requestedAppointmentDateAfterDate:new Date}).pipe((0,x.W)(()=>(0,F.of)(0))),this.conferenceRepositoryService.getTotalCount$().pipe((0,x.W)(()=>(0,F.of)(0))),this.resolutionRepositoryService.getTotalCount$(void 0,{inResolutionCollection:!0}
1).pipe((0,x.W)(()=>(0,F.of)(0))),this.faqGroupRepositoryService.getTotalCount$().pipe((0,x.W)(()=>(0,F.of)(0))),this.nearbyPlacesCategoryRepositoryService.getTotalCount$().pipe((0,x.W)(()=>(0,F.of)(0))),this.noticeRepositoryService.getTotalCount$().pipe((0,x.W)(()=>(0,F.of)(0))),this.propertyEmergencyContactRepositoryService.getTotalCount$().pipe((0,x.W)(()=>(0,F.of)(0))),this.documentRepositoryService.getTotalCount$().pipe((0,x.W)(()=>(0,F.of)(0))),this.resetCounter$]).pipe((0,B.T)(([cr,Yn,Qn,ht,Ot,It,Kt,Zn,Ir,Er,$n])=>({documentsCount:$n,smartLockTotalCount:cr,consumptionReadingDateTotalCount:Yn,consumptionMeterNextConsumptionReadingTotalCount:Qn,workOrderAppointmentTotalCount:ht,conferenceTotalCount:Ot,resolutionInCollectionTotalCount:It,faqGroupTotalCount:Kt,nearbyPlacesCategoryTotalCount:Zn,noticeTotalCount:Ir,propertyEmergencyContactTotalCount:Er})),(0,H.t)(1,3e4)),this.navigationItems$=(0,T.z)([this.deviceService.isMobile$,this.screensizeService.isMax(le.L.qrCodeThreshold),this.qrCodeService.getMyQrCode$(),this.entitiesCounts$]).pipe((0,B.T)(([cr,Yn,Qn,{documentsCount:ht,smartLockTotalCount:Ot,consumptionReadingDateTotalCount:It,consumptionMeterNextConsumptionReadingTotalCount:Kt,workOrderAppointmentTotalCount:Zn,conferenceTotalCount:Ir,resolutionInCollectionTotalCount:Er,faqGroupTotalCount:$n,nearbyPlacesCategoryTotalCount:dn,noticeTotalCount:Ar,propertyEmergencyContactTotalCount:ei}])=>{const wr=[W.b.Dashboard,W.b.Documents,W.b.Processes,W.b.Settings];return ht>0&&wr.push(W.b.Documents),Ar>0&&wr.push(W.b.Notices),Zn>0&&wr.push(W.b.WorkOrderAppointments),wr.push(W.b.Units),It>0&&wr.push(W.b.Consumptions),Kt>0&&wr.push(W.b.NextConsumptionReading),Ir>0&&wr.push(W.b.Conferences),Er>0&&wr.push(W.b.ResolutionCollection),(cr||Yn)&&Qn&&wr.push(W.b.Qrcode),Ot>0&&wr.push(W.b.SmartLocks),cr&&dn>0&&wr.push(W.b.NearbyPlaces),$n>0&&wr.push(W.b.Faq),ei>0&&wr.push(W.b.EmergencyContacts),wr.map(Yr=>{const li={type:Yr,...W.j[Yr],badgeCount$:this.notificationCounterService.state$.pipe((0,B.T)(mi=>{var Lt;return Yr!==W.b.Dashboard||mi[Yr]?null!==(Lt=mi[Yr])&&void 0!==Lt?Lt:0:(0,a.sum)(Object.entries(mi).filter(([rr])=>!this.navigationTypesWithoutWidget.includes(rr)).map(([rr,Un])=>Un))}))};return Yr===W.b.Settings&&(li.badgeCount$=(0,T.z)([this.liveUpdateService.isUpdateModalDismissed$,this.liveUpdateService.progress$]).pipe((0,B.T)(([mi,Lt])=>mi&&Lt?1:0))),li})})),this.mainNavigation$=this.navigationItems$.pipe((0,V.$)(),(0,B.T)(cr=>this.mainNavigationTypes.map(Qn=>{var ht;return null!==(ht=cr.find(Ot=>Ot.type===Qn))&&void 0!==ht?ht:W.j[Qn]}))),this.subNavigation$=(0,T.z)([this.navigationItems$,this.mainNavigation$]).pipe((0,V.$)(),(0,B.T)(([cr,Yn])=>{const Qn=[];for(const Ot of cr){var ht;if(!this.mainNavigationTypes.includes(Ot.type)){if(null!==(ht=Ot.visibility)&&void 0!==ht&&ht.hideMenuItem){Ot.visibility.requireMenuItem&&cr.every(It=>It.type!==Ot.visibility.requireMenuItem)&&Qn.push({type:Ot.visibility.requireMenuItem,...W.j[Ot.visibility.requireMenuItem]});continue}Yn.some(It=>It.path===Ot.path)||Qn.push(Ot)}}return Qn}))}initialize$(){return this.resetCounter$.pipe((0,V.$)(),(0,L.M)(de=>this.resetCounter$.next(de+1)),(0,U.Z)(()=>this.navigationItems$))}}return(ve=ze).\u0275fac=function(de){return new(de||ve)(q.KVO(we.A),q.KVO(ue.u),q.KVO(Ie.Q),q.KVO(ge.F),q.KVO(he.Q),q.KVO(Me.c),q.KVO($e.V),q.KVO(Pe.g),q.KVO(Re.P),q.KVO(it.b),q.KVO(Be.z),q.KVO(We.x),q.KVO(Ae.q),q.KVO(k.N),q.KVO(z.A),q.KVO(ce.l))},ve.\u0275prov=q.jDH({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ze})()},321:(wt,Se,u)=>{"use strict";u.d(Se,{b:()=>a.b,j:()=>w});var a=u(9718),s=u(576);const w={[a.b.Dashboard]:{title:"Dashboard",path:"/dashboard",icon:"house",visibility:{minimalBadge:!0}},[a.b.Documents]:{title:"Dokumente",subtitle:"Neuste Dokumente und Dateien f\xfcr Sie bereitgestellt",path:"/documents",widgetPath:"/documents/document-groups",widgetQueryParams:{entity:"document-nested",orderBy:"latest desc"},icon:"folder-closed",visibility:{hideMenuItem:!0},emptyStateContext:{singular:"Dokument",grammaticalGender:"neuter"}}
1,[a.b.Processes]:{title:"Vorg\xe4nge",subtitle:"Kommunikationsbereich f\xfcr alle Anliegen",path:"/processes",icon:"envelope",visibility:{hideMenuItem:!0},emptyStateContext:{singular:"Vorgang",grammaticalGender:"masculine"}},[a.b.Settings]:{title:"Einstellungen",path:s.hx.Settings,icon:"gear",emptyStateContext:{singular:"Bereich",grammaticalGender:"masculine",noSearch:!0,noFilter:!0},visibility:{minimalBadge:!0}},[a.b.Units]:{title:"Einheiten",subtitle:"Objektdaten, Vertragsdaten etc.",icon:"building",path:"/dashboard/units",emptyStateContext:{singular:"Einheit",grammaticalGender:"feminine",noFilter:!0}},[a.b.SmartLocks]:{title:"Smart Locks",icon:"lock",path:"/dashboard/smart-locks",visibility:{hideMenuItem:!0}},[a.b.Notices]:{title:"Neuigkeiten",subtitle:"Der digitale Hausaushang",icon:"bell",path:"/dashboard/notices",emptyStateContext:{singular:"Neuigkeit",grammaticalGender:"feminine"}},[a.b.WorkOrderAppointments]:{title:"Termine",subtitle:"Termine mit Dienstleistern",icon:"calendar-check",path:"/dashboard/work-order-appointments",emptyStateContext:{singular:"Termin",grammaticalGender:"masculine",noSearch:!0}},[a.b.Faq]:{title:"FAQ",subtitle:"H\xe4ufig gestellte Fragen",icon:"question-circle",path:"/dashboard/faq",emptyStateContext:{singular:"Fragebereich",grammaticalGender:"masculine",noFilter:!0}},[a.b.NearbyPlaces]:{title:"Umgebung",subtitle:"Orte in Ihrer Umgebung",icon:"map-marker-alt",path:"/dashboard/nearby-places",visibility:{hideMenuItem:!0},emptyStateContext:{singular:"Bereich",grammaticalGender:"masculine",noSearch:!0,noFilter:!0}},[a.b.Qrcode]:{title:"Mieterkarte",icon:"qrcode",visibility:{hideMenuItem:!0}},[a.b.Consumptions]:{title:"Verbr\xe4uche",icon:"chart-simple",path:"/dashboard/consumptions",emptyStateContext:{singular:"Einheitenz\xe4hler",grammaticalGender:"masculine",noSearch:!0}},[a.b.NextConsumptionReading]:{title:"Verbrauchserfassung",subtitle:"Objektz\xe4hlerst\xe4nde einsehen & ablesen",icon:"tachometer-alt",path:"/dashboard/consumptions/next-readings",visibility:{hideMenuItem:!0,requireMenuItem:a.b.Consumptions},emptyStateContext:{singular:"Objektz\xe4hler",grammaticalGender:"masculine",noSearch:!0,noFilter:!0}},[a.b.Conferences]:{title:"ETV",subtitle:"Eigent\xfcmerversammlungen und Beschlussbuch",icon:"user-group",path:"/dashboard/conferences",emptyStateContext:{singular:"Versammlung",grammaticalGender:"feminine"}},[a.b.ResolutionCollection]:{title:"Beschlussbuch",subtitle:"Alle Beschl\xfcsse auf einen Blick",icon:"user-group",path:"/dashboard/resolution-collections",emptyStateContext:{singular:"Beschluss",grammaticalGender:"neuter"},visibility:{hideMenuItem:!0,hideWidget:!0,requireMenuItem:a.b.Conferences}},[a.b.EmergencyContacts]:{title:"Notfallkontakte",icon:"fa-phone",visibility:{hideMenuItem:!0,hideWidget:!0}}}},6336:(wt,Se,u)=>{"use strict";u.d(Se,{K:()=>V,q:()=>H});var a=u(4572),s=u(7673),w=u(6354),T=u(3953),x=u(5682),F=u(5757);const B=864e5;function H({meteredPropertyId:L,nextReadingDate:U}){if(!L||!U)return"idle";const le=new Date(U).getTime();return le<Date.now()?"overdue":Math.abs(Date.now()-le)<7*B?"due":"planned"}let V=(()=>{var L;class U{constructor(W,q){this.consumptionMeterRepositoryService=W,this.consumptionTypeRepositoryService=q}transformListFunction$(W){return(0,a.z)([(0,s.of)(W),this.consumptionMeterRepositoryService.listAll$(),this.consumptionTypeRepositoryService.listAll$()]).pipe((0,w.T)(([q,we,ue])=>q.map(Ie=>(Ie.consumptionMeters=we.filter(ge=>ge.meteredPropertyId===Ie.id).map(ge=>(ge.type=ue.find(he=>he.id===ge.typeId),ge.meteredProperty=Ie,ge.nextReadingDate=ge.nextReadingDate?new Date(ge.nextReadingDate):void 0,ge.notificationDate=ge.notificationDate?new Date(ge.notificationDate):void 0,ge)).sort((ge,he)=>ge.nextReadingDate&&he.nextReadingDate?ge.nextReadingDate.getTime()-he.nextReadingDate.getTime():ge.nextReadingDate?-1:he.nextReadingDate?1:0),Ie)).filter(Ie=>Ie.consumptionMeters&&Ie.consumptionMeters.length>0)))}}return(L=U).\u0275fac=function(W){return new(W||L)(T.KVO(x.Q),T.KVO(F.T))},L.\u0275prov=T.jDH({token:L,factory:L.\u0275fac,providedIn:"root"}),U})()},2242:(wt,Se,u)=>{"use strict";u.d(Se,{Q:()=>H});var a=u(1594),s=u(3028),w=u(7673),T=u(6354),x=u(644),F=u(3953),B=u(8952);let H=(()=>{var V;class L{constructor(le){this.partyRepositoryService=le}getMyQrCode$(){return this.partyRepositoryService.mySelf$.pipe((0,a.$)(),(0,s.Z)(le=>this.getQrCode$(le)))}getQrCode$(le){return le.qrCode?(0,w.of)(le.qrCode):this.partyRepositoryService.getPropertyManagementCompanyByOwnProperties$().pipe((0,T.T)(W=>{var q;if(null!==(q=x.c.featureFlags)&&void 0!==q&&null!==(q=q.qrCodeInDescriptionParties)&&void 0!==q&&q.includes(W.id))return le.description}))}}return(V=L).\u0275fac=function(le){return new(le||V)(F.KVO(B.o))},V.\u0275prov=F.jDH({token:V,factory:V.\u0275fac,providedIn:"any"}),L})()},5127:(wt,Se,u)=>{"use strict";u.d(Se,{Pi:()=>L,cA:()=>U,cT:()=>V,pY:()=>H,ro:()=>T,u3:()=>B,xe:()=>F,z4:()=>le});var a=u(7376),w=u(6259);function T(ge){var he;const Me=null!==(he=ge.flatMap($e=>$e.contractType?[$e.contractType]:[]))&&void 0!==he?he:[];if(0!==Me.length)return(0,a.uniq)(Me.map($e=>$e.name)).join(", ")}function x(ge){return ge.reduce((he,Me)=>{if(!Me.contractType)return he;const $e=he.find(Pe=>Me.partyId===Pe.partyId&&Me.number===Pe.number&&Me.effectiveFrom===Pe.effectiveFrom&&Me.terminationAt===Pe.terminationAt);return $e?$e.sourceUnitContracts.push(Me):he.push({...Me,sourceUnitContracts:[Me]}),he},[]).map(he=>({...he,template_combinedTypes:T(he.sourceUnitContracts)}))}function F(ge){return Object.values((0,a.groupBy)(ge,he=>he.partyId)).flatMap(he=>{if(0===he.length)return[];const{partyId:Me,party:$e}=he[0];return[{partyId:Me,party:$e,combinedUnitContracts:x(he)}]})}function B(ge){return ge.filter(({template_isOwnContract:he})=>he)}function H(ge){return ge.filter(({template_isOwnContract:he})=>!he)}function V(ge){return ge.filter(he=>w.y.includes(he.type))}function L(ge){return ge.filter(he=>w.$M.includes(he.type))}function U(ge,he,Me){let $e=le(ge,he,Me);const Pe=q(null==ge?void 0:ge.fullNameWithType)||(null!=ge&&ge.number?`Einheit ${q(ge.number)}`:"");return Pe&&($e=we(Pe,$e)),$e}function le(ge,he,Me){return ge&&!he&&ge.entrance&&(he=ge.entrance),he&&!Me&&he.property&&(Me=he.property),function Ie(ge,he){var Me,$e;const Pe=q(null==he?void 0:he.fullStreet),Re=q(null==ge?void 0:ge.fullStreet);let it;if(Re)it=Re;else{const pe=W(null==ge?void 0:ge.name);pe.full&&(it=pe.full)}if(!it)if(Pe)it=Pe;else{const pe=W(null==he?void 0:he.name);pe.full&&(it=pe.full)}const Be=q(null==ge||null===(Me=ge.zipCode)||void 0===Me?void 0:Me.toString())||q
1(null==he||null===($e=he.zipCode)||void 0===$e?void 0:$e.toString()),We=q(null==ge?void 0:ge.city)||q(null==he?void 0:he.city);let Ae="";it?(Be&&!Ae.toLowerCase().includes(Be.toLowerCase())&&(Ae=ue(Ae,Be)),We&&!Ae.toLowerCase().includes(We.toLowerCase())&&(Ae=ue(Ae,We)),Ae=we(it,Ae)):Ae=Be||We?ue(Be,We)||q(null==he?void 0:he.name):q(null==he?void 0:he.name)||"Unbekanntes Objekt";const k=[],z=q(null==ge?void 0:ge.name);return z&&Ae.toLowerCase().includes(z.toLowerCase()),k.length?we(Ae,k.join(" / ")):Ae}(he,Me)}function W(ge){if(!ge)return{};const he=ge.trim().replace(/\s+/g," "),Me=he.match(/([A-Za-z\xc4\xd6\xdc\xe4\xf6\xfc\xdf\.\- ]+?\b(?:stra\xdfe|strasse|str\.|weg|allee|platz|ring|gasse|ufer|chaussee|promenade|markt|stra\xdfe)\b)[\s,]*([0-9]{1,4}(?:[A-Za-z]?)(?:\s*[-/]\s*[0-9]{1,4})?)/i);if(Me){const Re=Me[1].trim(),it=Me[2].replace(/\s+/g,"");return{street:Re,number:it,full:`${Re} ${it}`.trim()}}const $e=he.match(/([A-Za-z\xc4\xd6\xdc\xe4\xf6\xfc\xdf\.\- ]+?\b(?:stra\xdfe|strasse|str\.|weg|allee|platz|ring|gasse|ufer|chaussee|promenade|markt|stra\xdfe)\b)/i);if($e){const Re=$e[1].trim();return{street:Re,full:Re}}const Pe=he.match(/([A-Za-z\xc4\xd6\xdc\xe4\xf6\xfc\xdf\.\- ]+?)\s+([0-9]{1,4}(?:[A-Za-z]?)(?:\s*[-/]\s*[0-9]{1,4})?)/);if(Pe){const Re=Pe[1].trim(),it=Pe[2].replace(/\s+/g,"");return{street:Re,number:it,full:`${Re} ${it}`.trim()}}return{}}function q(ge){return(null!=ge?ge:"").trim().replace(/\s+/g," ")}function we(...ge){return ge.filter(he=>!!he).map(q).join(", ")}function ue(...ge){return ge.filter(he=>!!he).map(q).join(" ")}},546:(wt,Se,u)=>{"use strict";u.d(Se,{C:()=>U});var a=u(3601),s=u(5538),w=function(le){return le.HasError="fa fa-circle-exclamation",le}(w||{}),T=u(3716),x=u(576),F=u(321);function B(le){return(W,q)=>q&&le in q&&q[le]?String(q[le]):W.toString()}function H(le,W){return B("id")(le,W)}function V(le){return(W,q)=>H(W,q[le])}function L(le,W){var q,we;return null!==(q=W.entity1)&&void 0!==q&&q.id?H(le,W.entity1):null!==(we=W.entity2)&&void 0!==we&&we.id?H(le,W.entity2):le.toString()}class U{constructor(){this.ImportantBreakpoints=a.L,this.BreakpointSize=a.z,this.NavigationType=F.b,this.navigationTypeMap=F.j,this.AppIcons=w,this.AppTexts=T.g,this.AppPath=x.hx,this.identifyBy=B,this.identifyByParent=V,this.identifyById=H,this.identifyByIdMerged=L,this.localeId=s.u}}},5104:(wt,Se,u)=>{"use strict";u.d(Se,{o:()=>L});var a=u(3953),s=u(177),w=u(2709),T=u(1367);const x=U=>({animate:U});function F(U,le){if(1&U&&a.nrm(0,"app-icon",9),2&U){const W=a.XpG();a.Y8G("name",W.icon)("color",W.color)}}let B=(()=>{var U;class le{constructor(){this.percentage=66,this.radius=16,this.color="warning",this.firstEnter=!0}ngOnInit(){this.diameter=2*this.radius,this.strokeWidth=this.radius/2,this.size=2*this.radius+this.strokeWidth,this.circleOffset=this.radius+this.strokeWidth/2,this.mainColor=`var(--app-color-${this.color}-switch)`,this.bgColor=`var(--app-color-${this.color}-light)`}}return(U=le).\u0275fac=function(q){return new(q||U)},U.\u0275cmp=a.VBU({type:U,selectors:[["app-progress-ring"]],inputs:{percentage:"percentage",radius:"radius",color:"color",icon:"icon"},decls:10,vars:20,consts:[[1,"progressCircle"],[1,"svgWrapper"],["version","1.1","xmlns","http://www.w3.org/2000/svg",1,"svg"],["x1","0%","y1","0%","x2","170%","y2","170%"],["offset","0%"],["offset","100%"],["id","bar-bg","fill","none","pathLength","100","stroke-dasharray","100","stroke-dashoffset","0"],["id","bar","fill","none","pathLength","100","stroke-dasharray","100","stroke-linecap","round",3,"ngClass"],["size","small","class","center-xy status-icon",3,"name","color",4,"ngIf"],["size","small",1,"center-xy","status-icon",3,"name","color"]],template:function(q,we){1&q&&(a.j41(0,"div",0)(1,"div",1),a.qSk(),a.j41(2,"svg",2)(3,"defs")(4,"linearGradient",3),a.nrm(5,"stop",4)(6,"stop",5),a.k0s()(),a.nrm(7,"circle",6)(8,"circle",7),a.k0s(),a.DNE(9,F,1,2,"app-icon",8),a.k0s()()),2&q&&(a.R7$(2),a.BMQ("width",we.size)("height",we.size),a.R7$(2),a.BMQ("id","gradient"+we.color),a.R7$(),a.BMQ("stop-color",we.mainColor),a.R7$(),a.BMQ("stop-color",we.bgColor),a.R7$(),a.BMQ("cx",we.circleOffset)("cy",we.circleOffset)("r",we.radiu
1s)("stroke-width",we.strokeWidth)("stroke",we.bgColor),a.R7$(),a.Y8G("ngClass",a.eq3(18,x,we.firstEnter)),a.BMQ("cx",we.circleOffset)("cy",we.circleOffset)("r",we.radius)("stroke-width",we.strokeWidth)("stroke","url(#gradient"+we.color+")")("stroke-dashoffset",100-we.percentage),a.R7$(),a.Y8G("ngIf",we.icon))},dependencies:[s.YU,s.bT,T.R],styles:[".progressCircle[_ngcontent-%COMP%] .svgWrapper[_ngcontent-%COMP%]{position:relative;line-height:1}.progressCircle[_ngcontent-%COMP%] .svgWrapper[_ngcontent-%COMP%] .svg[_ngcontent-%COMP%]{margin-bottom:auto;transform:rotate(-90deg)}@keyframes _ngcontent-%COMP%_move{0%{stroke-dashoffset:100}}.progressCircle[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{transform:rotate(90deg)}.status-icon[_ngcontent-%COMP%]{position:absolute}"],changeDetection:0}),le})();function H(U,le){if(1&U){const W=a.RV6();a.j41(0,"div",10)(1,"app-button",11),a.bIt("onClick",function(){a.eBV(W);const we=a.XpG(2);return a.Njj(we.onDecline.emit())}),a.k0s()()}}function V(U,le){if(1&U&&(a.j41(0,"div",6),a.DNE(1,H,2,0,"div",7),a.j41(2,"div",8),a.nrm(3,"app-button",9),a.k0s()()),2&U){const W=a.XpG();a.R7$(),a.Y8G("ngIf",W.allowDecline),a.R7$(2),a.Y8G("click$",W.onAccept$)("disabled",!W.isDone)}}let L=(()=>{var U;class le{constructor(){this.progress=0,this.allowDecline=!1,this.onDecline=new a.bkB}get computedProgress(){return null===this.progress?0:this.progress}get isDone(){return 1===this.computedProgress}get titleText(){return"Update verf\xfcgbar"}get descriptionText(){if(!this.isDone)return"Das Update wird gerade heruntergeladen ...";let q="Das Update wird beim n\xe4chsten Neustarten der App automatisch angewandt. Alternativ k\xf6nnen Sie es aber auch jetzt direkt anwenden.";return this.allowDecline&&(q+=" Diese Option finden Sie sp\xe4ter auch in den Einstellung, falls ein Update verf\xfcgbar ist."),q}}return(U=le).\u0275fac=function(q){return new(q||U)},U.\u0275cmp=a.VBU({type:U,selectors:[["app-live-update-indicator-inner"]],inputs:{progress:"progress",onAccept$:"onAccept$",allowDecline:"allowDecline"},outputs:{onDecline:"onDecline"},decls:8,vars:6,consts:[[1,"top-wrapper"],[1,"text"],[1,"title"],[1,"description"],["color","primary",3,"percentage","icon","radius"],["class","button-container",4,"ngIf"],[1,"button-container"],["class","button-wrapper button-wrapper-left",4,"ngIf"],[1,"button-wrapper"],["fill","plain","role","normal","text","Update Anwenden",3,"click$","disabled"],[1,"button-wrapper","button-wrapper-left"],["fill","plain","text","Nicht Jetzt",3,"onClick"]],template:function(q,we){1&q&&(a.j41(0,"div",0)(1,"header",1)(2,"div",2),a.EFF(3),a.k0s(),a.j41(4,"div",3),a.EFF(5),a.k0s()(),a.nrm(6,"app-progress-ring",4),a.k0s(),a.DNE(7,V,4,3,"div",5)),2&q&&(a.R7$(3),a.JRh(we.titleText),a.R7$(2),a.JRh(we.descriptionText),a.R7$(),a.Y8G("percentage",100*we.computedProgress)("icon",we.isDone?"fa fa-check":"")("radius",20),a.R7$(),a.Y8G("ngIf",we.isDone))},dependencies:[s.bT,w.Q,B],styles:[".top-wrapper[_ngcontent-%COMP%]{margin:1rem;display:flex;place-items:center;place-content:space-between;gap:1rem}.top-wrapper[_ngcontent-%COMP%] ion-progress-bar[_ngcontent-%COMP%]{margin:.75rem 0;--progress-background: var(--app-color-primary)}.top-wrapper[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:600;font-size:1rem;margin-bottom:.25rem}.top-wrapper[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-weight:300;font-size:.8rem;opacity:.8}.button-container[_ngcontent-%COMP%]{display:flex;justify-content:space-around}.button-wrapper[_ngcontent-%COMP%]{width:100%;border-top:.5px solid gray;text-align:center}.button-wrapper-left[_ngcontent-%COMP%]{border-right:.5px solid gray}.button-wrapper[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin:-6px 0}"]}),le})()},3412:(wt,Se,u)=>{"use strict";u.d(Se,{M:()=>Zi});var a=u(7376),s=u(1413),w=u(4572),T=u(6977),x=u(3294),F=u(5964),B=u(1594),H=u(7673),V=u(6354),L=u(3028),U=u(6648),le=u(9437),W=u(8141);const q=Symbol.for("yaml.alias"),we=Symbol.for("yaml.document"),ue=Symbol.for("yaml.map"),Ie=Symbol.for("yaml.pair"),ge=Symbol.for("yaml.scalar"),he=Symbol.for("yaml.seq"),Me=Symbol.for("yaml.node.type"),$e=E=>!!E&&"object"==typeof E&&E[Me]===q,Pe=E=>!!E&&"object"==typeof E&&E[Me]===we,Re=E=>!!E&&"object"==typeof E&&E[Me]===ue,it=E=>!!E&&"object"==typeof E&&E[Me]===Ie,Be=E=>!!E&&"object"==typeof E&&E[Me]===ge,We=E=>!!E&&"object"==typeof E&&E[Me]===he;function Ae(E){if(E&&"object"==typeof E)switch(E[Me]){case ue:case he:return!0}return!1}function k(E){if(E&&"object"==typeof E)switch(E[Me]){case q:case ue:case ge:case he:return!0}return!1}const z=E=>(Be(E)||Ae(E))&&!!E.anchor;var ce=u(467);const pe=Symbol("break visit"),ve=Symbol("skip children"),ze=Symbol("remove node");function fe(E,y){const v=at(y);
1Pe(E)?de(null,E.contents,v,Object.freeze([E]))===ze&&(E.contents=null):de(null,E,v,Object.freeze([]))}function de(E,y,v,b){const N=pt(E,y,v,b);if(k(N)||it(N))return ct(E,b,N),de(E,N,v,b);if("symbol"!=typeof N)if(Ae(y)){b=Object.freeze(b.concat(y));for(let ie=0;ie<y.items.length;++ie){const be=de(ie,y.items[ie],v,b);if("number"==typeof be)ie=be-1;else{if(be===pe)return pe;be===ze&&(y.items.splice(ie,1),ie-=1)}}}else if(it(y)){b=Object.freeze(b.concat(y));const ie=de("key",y.key,v,b);if(ie===pe)return pe;ie===ze&&(y.key=null);const be=de("value",y.value,v,b);if(be===pe)return pe;be===ze&&(y.value=null)}return N}function ee(E,y){return $.apply(this,arguments)}function $(){return($=(0,ce.A)(function*(E,y){const v=at(y);Pe(E)?(yield se(null,E.contents,v,Object.freeze([E])))===ze&&(E.contents=null):yield se(null,E,v,Object.freeze([]))})).apply(this,arguments)}function se(E,y,v,b){return Ce.apply(this,arguments)}function Ce(){return(Ce=(0,ce.A)(function*(E,y,v,b){const N=yield pt(E,y,v,b);if(k(N)||it(N))return ct(E,b,N),se(E,N,v,b);if("symbol"!=typeof N)if(Ae(y)){b=Object.freeze(b.concat(y));for(let ie=0;ie<y.items.length;++ie){const be=yield se(ie,y.items[ie],v,b);if("number"==typeof be)ie=be-1;else{if(be===pe)return pe;be===ze&&(y.items.splice(ie,1),ie-=1)}}}else if(it(y)){b=Object.freeze(b.concat(y));const ie=yield se("key",y.key,v,b);if(ie===pe)return pe;ie===ze&&(y.key=null);const be=yield se("value",y.value,v,b);if(be===pe)return pe;be===ze&&(y.value=null)}return N})).apply(this,arguments)}function at(E){return"object"==typeof E&&(E.Collection||E.Node||E.Value)?Object.assign({Alias:E.Node,Map:E.Node,Scalar:E.Node,Seq:E.Node},E.Value&&{Map:E.Value,Scalar:E.Value,Seq:E.Value},E.Collection&&{Map:E.Collection,Seq:E.Collection},E):E}function pt(E,y,v,b){var N,ie,be,rt,ut;return"function"==typeof v?v(E,y,b):Re(y)?null===(N=v.Map)||void 0===N?void 0:N.call(v,E,y,b):We(y)?null===(ie=v.Seq)||void 0===ie?void 0:ie.call(v,E,y,b):it(y)?null===(be=v.Pair)||void 0===be?void 0:be.call(v,E,y,b):Be(y)?null===(rt=v.Scalar)||void 0===rt?void 0:rt.call(v,E,y,b):$e(y)?null===(ut=v.Alias)||void 0===ut?void 0:ut.call(v,E,y,b):void 0}function ct(E,y,v){const b=y[y.length-1];if(Ae(b))b.items[E]=v;else if(it(b))"key"===E?b.key=v:b.value=v;else{if(!Pe(b)){const N=$e(b)?"alias":"scalar";throw new Error(`Cannot replace node with ${N} parent`)}b.contents=v}}fe.BREAK=pe,fe.SKIP=ve,fe.REMOVE=ze,ee.BREAK=pe,ee.SKIP=ve,ee.REMOVE=ze;const jt={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},jn=E=>E.replace(/[!,[\]{}]/g,y=>jt[y]);let mn=(()=>{class E{constructor(v,b){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},E.defaultYaml,v),this.tags=Object.assign({},E.defaultTags,b)}clone(){const v=new E(this.yaml,this.tags);return v.docStart=this.docStart,v}atDocument(){const v=new E(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:E.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},E.defaultTags)}return v}add(v,b){this.atNextDocument&&(this.yaml={explicit:E.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},E.defaultTags),this.atNextDocument=!1);const N=v.trim().split(/[ \t]+/),ie=N.shift();switch(ie){case"%TAG":{if(2!==N.length&&(b(0,"%TAG directive should contain exactly two parts"),N.length<2))return!1;const[be,rt]=N;return this.tags[be]=rt,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==N.length)return b(0,"%YAML directive should contain exactly one part"),!1;const[be]=N;return"1.1"===be||"1.2"===be?(this.yaml.version=be,!0):(b(6,`Unsupported YAML version ${be}`,/^\d+\.\d+$/.test(be)),!1)}default:return b(0,`Unknown directive ${ie}`,!0),!1}}tagName(v,b){if("!"===v)return"!";if("!"!==v[0])return b(`Not a valid tag: ${v}`),null;if("<"===v[1]){const rt=v.slice(2,-1);return"!"===rt||"!!"===rt?(b(`Verbatim tags aren't resolved, so ${v} is invalid.`),null):(">"!==v[v.length-1]&&b("Verbatim tags must end with a >"),rt)}const[,N,ie]=v.match(/^([\s\S]*!)([^!]*)$/);ie||b(`The ${v} tag has no suffix`);const be=this.tags[N];if(be)try{return be+decodeURIComponent(ie)}catch(rt){return b(String(rt)),null}return"!"===N?v:(b(`Could not resolve tag: ${v}`),null)}tagString(v){for(const[b,N]of Object.entries(this.tags))if(v.startsWith(N))return b+jn(v.substring(N.length));return"!"===v[0]?v:`!<${v}>`}toString(v){const b=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],N=Object.entries(this.tags);let ie;if(v&&N.length>0&&k(v.contents)){const be={};fe(v.contents,(rt,ut)=>{k(ut)&&ut.tag&&(be[ut.tag]=!0)}),ie=Object.keys(be)}else ie=[];for(const[be,rt]of N)"!!"===be&&"tag:yaml.org,2002:"===rt||(!v||ie.some(ut=>ut.startsWith(rt)))&&b.push(`%TAG ${be} ${rt}`);return b.join("\n")}}return E.defaultYaml={explicit:!1,version:"1.2"},E.defaultTags={"!!":"tag:yaml.org,2002:"},E})();
1function lr(E){if(/[\x00-\x19\s,[\]{}]/.test(E)){const v=`Anchor must not contain whitespace or control characters: ${JSON.stringify(E)}`;throw new Error(v)}return!0}function hr(E){const y=new Set;return fe(E,{Value(v,b){b.anchor&&y.add(b.anchor)}}),y}function $r(E,y){for(let v=1;;++v){const b=`${E}${v}`;if(!y.has(b))return b}}function Fn(E,y,v,b){if(b&&"object"==typeof b)if(Array.isArray(b))for(let N=0,ie=b.length;N<ie;++N){const be=b[N],rt=Fn(E,b,String(N),be);void 0===rt?delete b[N]:rt!==be&&(b[N]=rt)}else if(b instanceof Map)for(const N of Array.from(b.keys())){const ie=b.get(N),be=Fn(E,b,N,ie);void 0===be?b.delete(N):be!==ie&&b.set(N,be)}else if(b instanceof Set)for(const N of Array.from(b)){const ie=Fn(E,b,N,N);void 0===ie?b.delete(N):ie!==N&&(b.delete(N),b.add(ie))}else for(const[N,ie]of Object.entries(b)){const be=Fn(E,b,N,ie);void 0===be?delete b[N]:be!==ie&&(b[N]=be)}return E.call(y,v,b)}function cr(E,y,v){if(Array.isArray(E))return E.map((b,N)=>cr(b,String(N),v));if(E&&"function"==typeof E.toJSON){if(!v||!z(E))return E.toJSON(y,v);const b={aliasCount:0,count:1,res:void 0};v.anchors.set(E,b),v.onCreate=ie=>{b.res=ie,delete v.onCreate};const N=E.toJSON(y,v);return v.onCreate&&v.onCreate(N),N}return"bigint"!=typeof E||null!=v&&v.keep?E:Number(E)}class Yn{constructor(y){Object.defineProperty(this,Me,{value:y})}clone(){const y=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(y.range=this.range.slice()),y}toJS(y,{mapAsMap:v,maxAliasCount:b,onAnchor:N,reviver:ie}={}){if(!Pe(y))throw new TypeError("A document argument is required");const be={anchors:new Map,doc:y,keep:!0,mapAsMap:!0===v,mapKeyWarned:!1,maxAliasCount:"number"==typeof b?b:100},rt=cr(this,"",be);if("function"==typeof N)for(const{count:ut,res:At}of be.anchors.values())N(At,ut);return"function"==typeof ie?Fn(ie,{"":rt},"",rt):rt}}class Qn extends Yn{constructor(y){super(q),this.source=y,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(y){let v;return fe(y,{Node:(b,N)=>{if(N===this)return fe.BREAK;N.anchor===this.source&&(v=N)}}),v}toJSON(y,v){if(!v)return{source:this.source};const{anchors:b,doc:N,maxAliasCount:ie}=v,be=this.resolve(N);if(!be)throw new ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);let rt=b.get(be);if(rt||(cr(be,null,v),rt=b.get(be)),!rt||void 0===rt.res)throw new ReferenceError("This should not happen: Alias anchor was not resolved?");if(ie>=0&&(rt.count+=1,0===rt.aliasCount&&(rt.aliasCount=ht(N,be,b)),rt.count*rt.aliasCount>ie))throw new ReferenceError("Excessive alias count indicates a resource exh
1austion attack");return rt.res}toString(y,v,b){const N=`*${this.source}`;if(y){if(lr(this.source),y.options.verifyAliasOrder&&!y.anchors.has(this.source))throw new Error(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);if(y.implicitKey)return`${N} `}return N}}function ht(E,y,v){if($e(y)){const b=y.resolve(E),N=v&&b&&v.get(b);return N?N.count*N.aliasCount:0}if(Ae(y)){let b=0;for(const N of y.items){const ie=ht(E,N,v);ie>b&&(b=ie)}return b}if(it(y)){const b=ht(E,y.key,v),N=ht(E,y.value,v);return Math.max(b,N)}return 1}const Ot=E=>!E||"function"!=typeof E&&"object"!=typeof E;let It=(()=>{class E extends Yn{constructor(v){super(ge),this.value=v}toJSON(v,b){return null!=b&&b.keep?this.value:cr(this.value,v,b)}toString(){return String(this.value)}}return E.BLOCK_FOLDED="BLOCK_FOLDED",E.BLOCK_LITERAL="BLOCK_LITERAL",E.PLAIN="PLAIN",E.QUOTE_DOUBLE="QUOTE_DOUBLE",E.QUOTE_SINGLE="QUOTE_SINGLE",E})();const Kt="tag:yaml.org,2002:";function Ir(E,y,v){var b,N,ie;if(Pe(E)&&(E=E.contents),k(E))return E;if(it(E)){var be,rt;const yn=null===(be=(rt=v.schema[ue]).createNode)||void 0===be?void 0:be.call(rt,v.schema,null,v);return yn.items.push(E),yn}(E instanceof String||E instanceof Number||E instanceof Boolean||typeof BigInt<"u"&&E instanceof BigInt)&&(E=E.valueOf());const{aliasDuplicateObjects:ut,onAnchor:At,onTagObj:qt,schema:hn,sourceObjects:Cn}=v;let kn;if(ut&&E&&"object"==typeof E){if(kn=Cn.get(E),kn)return kn.anchor||(kn.anchor=At(E)),new Qn(kn.anchor);kn={anchor:null,node:null},Cn.set(E,kn)}null!==(b=y)&&void 0!==b&&b.startsWith("!!")&&(y=Kt+y.slice(2));let fr=function Zn(E,y,v){if(y){var b;const N=v.filter(be=>be.tag===y),ie=null!==(b=N.find(be=>!be.format))&&void 0!==b?b:N[0];if(!ie)throw new Error(`Tag ${y} not found`);return ie}return v.find(N=>{var ie;return(null===(ie=N.identify)||void 0===ie?void 0:ie.call(N,E))&&!N.format})}(E,y,hn.tags);if(!fr){if(E&&"function"==typeof E.toJSON&&(E=E.toJSON()),!E||"object"!=typeof E){const yn=new It(E);return kn&&(kn.node=yn),yn}fr=E instanceof Map?hn[ue]:Symbol.iterator in Object(E)?hn[he]:hn[ue]}qt&&(qt(fr),delete v.onTagObj);const pn=null!==(N=fr)&&void 0!==N&&N.createNode?fr.createNode(v.schema,E,v):"function"==typeof(null===(ie=fr)||void 0===ie||null===(ie=ie.nodeClass)||void 0===ie?void 0:ie.from)?fr.nodeClass.from(v.schema,E,v):new It(E);return y?pn.tag=y:fr.default||(pn.tag=fr.tag),kn&&(kn.node=pn),pn}function Er(E,y,v){let b=v;for(let N=y.length-1;N>=0;--N){const ie=y[N];if("number"==typeof ie&&Number.isInteger(ie)&&ie>=0){const be=[];be[ie]=b,b=be}else b=new Map([[ie,b]])}return Ir(b,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:E,sourceObjects:new Map})}const $n=E=>null==E||"object"==typeof E&&!!E[Symbol.iterator]().next().done;class dn extends Yn{constructor(y,v){super(y),Object.defineProperty(this,"schema",{value:v,configurable:!0,enumerable:!1,writable:!0})}clone(y){const v=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return y&&(v.schema=y),v.items=v.items.map(b=>k(b)||it(b)?b.clone(y):b),this.range&&(v.range=this.range.slice()),v}addIn(y,v){if($n(y))this.add(v);else{const[b,...N]=y,ie=this.get(b,!0);if(Ae(ie))ie.addIn(N,v);else{if(void 0!==ie||!this.schema)throw new Error(`Expected YAML collection at ${b}. Remaining path: ${N}`);this.set(b,Er(this.schema,N,v))}}}deleteIn(y){const[v,...b]=y;if(0===b.length)return this.delete(v);const N=this.get(v,!0);if(Ae(N))return N.deleteIn(b);throw new Error(`Expected YAML collection at ${v}. Remaining path: ${b}`)}getIn(y,v){const[b,...N]=y,ie=this.get(b,!0);return 0===N.length?!v&&Be(ie)?ie.value:ie:Ae(ie)?ie.getIn(N,v):void 0}hasAllNullValues(y){return this.items.every(v=>{if(!it(v))return!1;const b=v.value;return null==b||y&&Be(b)&&null==b.value&&!b.commentBefore&&!b.comment&&!b.tag})}hasIn(y){const[v,...b]=y;if(0===b.length)return this.has(v);const N=this.get(v,!0);return!!Ae(N)&&N.hasIn(b)}setIn(y,v){const[b,...N]=y;if(0===N.length)this.set(b,v);else{const ie=this.get(b,!0);if(Ae(ie))ie.setIn(N,v);else{if(void 0!==ie||!this.schema)throw new Error(`Expected YAML collection at ${b}. Remaining path: ${N}`);this.set(b,Er(this.schema,N,v))}}}}const Ar=E=>E.replace(/^(?!$)(?: $)?/gm,"#");function ei(E,y){return/^\n+$/.test(E)?E.substring(1):y?E.replace(/^(?! *$)/gm,y):E}const wr=(E,y,v)=>E.endsWith("\n")?ei(v,y):v.includes("\n")?"\n"+ei(v,y):(E.endsWith(" ")?""
1:" ")+v,Yr="flow",li="block",mi="quoted";function Lt(E,y,v="flow",{indentAtStart:b,lineWidth:N=80,minContentWidth:ie=20,onFold:be,onOverflow:rt}={}){if(!N||N<0)return E;N<ie&&(ie=0);const ut=Math.max(1+ie,1+N-y.length);if(E.length<=ut)return E;const At=[],qt={};let hn=N-y.length;"number"==typeof b&&(b>N-Math.max(2,ie)?At.push(0):hn=N-b);let Cn,kn,fr=!1,pn=-1,yn=-1,mr=-1;v===li&&(pn=rr(E,pn,y.length),-1!==pn&&(hn=pn+ut));for(let Si;Si=E[pn+=1];){if(v===mi&&"\\"===Si){switch(yn=pn,E[pn+1]){case"x":pn+=3;break;case"u":pn+=5;break;case"U":pn+=9;break;default:pn+=1}mr=pn}if("\n"===Si)v===li&&(pn=rr(E,pn,y.length)),hn=pn+y.length+ut,Cn=void 0;else{if(" "===Si&&kn&&" "!==kn&&"\n"!==kn&&"\t"!==kn){const Ei=E[pn+1];Ei&&" "!==Ei&&"\n"!==Ei&&"\t"!==Ei&&(Cn=pn)}if(pn>=hn)if(Cn)At.push(Cn),hn=Cn+ut,Cn=void 0;else if(v===mi){for(;" "===kn||"\t"===kn;)kn=Si,Si=E[pn+=1],fr=!0;const Ei=pn>mr+1?pn-2:yn-1;if(qt[Ei])return E;At.push(Ei),qt[Ei]=!0,hn=Ei+ut,Cn=void 0}else fr=!0}kn=Si}if(fr&&rt&&rt(),0===At.length)return E;be&&be();let Dr=E.slice(0,At[0]);for(let Si=0;Si<At.length;++Si){const Ei=At[Si],Fr=At[Si+1]||E.length;0===Ei?Dr=`\n${y}${E.slice(0,Fr)}`:(v===mi&&qt[Ei]&&(Dr+=`${E[Ei]}\\`),Dr+=`\n${y}${E.slice(Ei+1,Fr)}`)}return Dr}function rr(E,y,v){let b=y,N=y+1,ie=E[N];for(;" "===ie||"\t"===ie;)if(y<N+v)ie=E[++y];else{do{ie=E[++y]}while(ie&&"\n"!==ie);b=y,N=y+1,ie=E[N]}return b}const Un=(E,y)=>({indentAtStart:y?E.indent.length:E.indentAtStart,lineWidth:E.options.lineWidth,minContentWidth:E.options.minContentWidth}),nt=E=>/^(%|---|\.\.\.)/m.test(E);function _r(E,y){const v=JSON.stringify(E);if(y.options.doubleQuotedAsJSON)return v;const{implicitKey:b}=y,N=y.options.doubleQuotedMinMultiLineLength,ie=y.indent||(nt(E)?" ":"");let be="",rt=0;for(let ut=0,At=v[ut];At;At=v[++ut])if(" "===At&&"\\"===v[ut+1]&&"n"===v[ut+2]&&(be+=v.slice(rt,ut)+"\\ ",ut+=1,rt=ut,At="\\"),"\\"===At)switch(v[ut+1]){case"u":{be+=v.slice(rt,ut);const qt=v.substr(ut+2,4);switch(qt){case"0000":be+="\\0";break;case"0007":be+="\\a";break;case"000b":be+="\\v";break;case"001b":be+="\\e";break;case"0085":be+="\\N";break;case"00a0":be+="\\_";break;case"2028":be+="\\L";break;case"2029":be+="\\P";break;default:"00"===qt.substr(0,2)?be+="\\x"+qt.substr(2):be+=v.substr(ut,6)}ut+=5,rt=ut+1}break;case"n":if(b||'"'===v[ut+2]||v.length<N)ut+=1;else{for(be+=v.slice(rt,ut)+"\n\n";"\\"===v[ut+2]&&"n"===v[ut+3]&&'"'!==v[ut+4];)be+="\n",ut+=2;be+=ie," "===v[ut+2]&&(be+="\\"),ut+=1,rt=ut+1}break;default:ut+=1}return be=rt?be+v.slice(rt):v,b?be:Lt(be,ie,mi,Un(y,!1))}function Jr(E,y){if(!1===y.options.singleQuote||y.implicitKey&&E.includes("\n")||/[ \t]\n|\n[ \t]/.test(E))return _r(E,y);const v=y.indent||(nt(E)?" ":""),b="'"+E.replace(/'/g,"''").replace(/\n+/g,`$&\n${v}`)+"'";return y.implicitKey?b:Lt(b,v,Yr,Un(y,!1))}function ti(E,y){const{singleQuote:v}=y.options;let b;if(!1===v)b=_r;else{const N=E.includes('"'),ie=E.includes("'");b=N&&!ie?Jr:ie&&!N?_r:v?Jr:_r}return b(E,y)}let ui;try{ui=new RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch(E){ui=/\n+(?!\n|$)/g}function _i({comment:E,type:y,value:v},b,N,ie){const{blockQuote:be,commentString:rt,lineWidth:ut}=b.options;if(!be||/\n[\t ]+$/.test(v)||/^\s*$/.test(v))return ti(v,b);const At=b.indent||(b.forceBlockIndent||nt(v)?" ":""),qt="literal"===be||"folded"!==be&&y!==It.BLOCK_FOLDED&&(y===It.BLOCK_LITERAL||!function Bn(E,y,v){if(!y||y<0)return!1;const b=y-v,N=E.length;if(N<=b)return!1;for(let ie=0,be=0;ie<N;++ie)if("\n"===E[ie]){if(ie-be>b)return!0;if(be=ie+1,N-be<=b)return!1}return!0}(v,ut,At.length));if(!v)return qt?"|\n":">\n";let hn,Cn;for(Cn=v.length;Cn>0;--Cn){const Fr=v[Cn-1];if("\n"!==Fr&&"\t"!==Fr&&" "!==Fr)break}let kn=v.substring(Cn);const fr=kn.indexOf("\n");-1===fr?hn="-":v===kn||fr!==kn.length-1?(hn="+",ie&&ie()):hn="",kn&&(v=v.slice(0,-kn.length),"\n"===kn[kn.length-1]&&(kn=kn.slice(0,-1)),kn=kn.replace(ui,`$&${At}`));let yn,pn=!1,mr=-1;for(yn=0;yn<v.length;++yn){const Fr=v[yn];if(" "===Fr)pn=!0;else{if("\n"!==Fr)break;mr=yn}}let Dr=v.substring(0,mr<yn?mr+1:yn);Dr&&(v=v.substring(Dr.length),Dr=Dr.replace(/\n+/g,`$&${At}`));let Ei=(pn?At?"2":"1":"")+hn;if(E&&(Ei+=" "+rt(E.replace(/ ?[\r\n]+/g," ")),N&&N()),!qt){const Fr=v.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${At}`);let Ri=!1;const He=Un(b,!0);"folded"!==be&&y!==It.BLOCK_FOLDED&&(He.onOverflow=()=>{Ri=!0});const Zr=Lt(`${Dr}${Fr}${kn}`,At,li,He);if(!Ri)return`>${Ei}\n${At}${Zr}`}return`|${Ei}\n${At}${Dr}${v=v.replace(/\n+/g,`$&${At}`)}${kn}`}function Yt(E,y,v,b){const{implicitKey:N,inFlow:ie}=y,be="string"==typeof E.value?E:Object.assign({},E,{value:String(E.value)});let{type:rt}=E;rt!==It.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(be.value)&&(rt=It.QUOTE_DOUBLE);const ut=qt=>{switch(qt){case It.BLOCK_FOLDED:case It.BLOCK_LITERAL:return N||ie?ti(be.value,y):_i(be,y,v,b);case It.QUOTE_DOUBLE:return _r(be.value,y);case It.QUOTE_SINGLE:return Jr(be.value,y);case It.PLAIN:return function eo(E,y,v,b){const{type:N,value:ie}=E,{actualString:be,implicitKey:rt,indent:ut,indentStep:At,inFlow:qt}=y;
1if(rt&&ie.includes("\n")||qt&&/[[\]{},]/.test(ie))return ti(ie,y);if(!ie||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(ie))return rt||qt||!ie.includes("\n")?ti(ie,y):_i(E,y,v,b);if(!rt&&!qt&&N!==It.PLAIN&&ie.includes("\n"))return _i(E,y,v,b);if(nt(ie)){if(""===ut)return y.forceBlockIndent=!0,_i(E,y,v,b);if(rt&&ut===At)return ti(ie,y)}const hn=ie.replace(/\n+/g,`$&\n${ut}`);if(be){const Cn=pn=>{var yn;return pn.default&&"tag:yaml.org,2002:str"!==pn.tag&&(null===(yn=pn.test)||void 0===yn?void 0:yn.test(hn))},{compat:kn,tags:fr}=y.doc.schema;if(fr.some(Cn)||null!=kn&&kn.some(Cn))return ti(ie,y)}return rt?hn:Lt(hn,ut,Yr,Un(y,!1))}(be,y,v,b);default:return null}};let At=ut(rt);if(null===At){const{defaultKeyType:qt,defaultStringType:hn}=y.options,Cn=N&&qt||hn;if(At=ut(Cn),null===At)throw new Error(`Unsupported default string type ${Cn}`)}return At}function Rt(E,y){const v=Object.assign({blockQuote:!0,commentString:Ar,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},E.schema.toStringOptions,y);let b;switch(v.collectionStyle){case"block":b=!1;break;case"flow":b=!0;break;default:b=null}return{anchors:new Set,doc:E,flowCollectionPadding:v.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof v.indent?" ".repeat(v.indent):" ",inFlow:b,options:v}}function Gt(E,y,v,b){var N;if(it(E))return E.toString(y,v,b);if($e(E)){var ie;if(y.doc.directives)return E.toString(y);if(null!==(ie=y.resolvedAliases)&&void 0!==ie&&ie.has(E))throw new TypeError("Cannot stringify circular structure without alias nodes");y.resolvedAliases?y.resolvedAliases.add(E):y.resolvedAliases=new Set([E]),E=E.resolve(y.doc)}let be;const rt=k(E)?E:y.doc.createNode(E,{onTagObj:qt=>be=qt});be||(be=function tn(E,y){if(y.tag){var v;const ut=E.filter(At=>At.tag===y.tag);if(ut.length>0)return null!==(v=ut.find(At=>At.format===y.format))&&void 0!==v?v:ut[0]}let b,N;if(Be(y)){var ie;N=y.value;let ut=E.filter(At=>{var qt;return null===(qt=At.identify)||void 0===qt?void 0:qt.call(At,N)});if(ut.length>1){const At=ut.filter(qt=>qt.test);At.length>0&&(ut=At)}b=null!==(ie=ut.find(At=>At.format===y.format))&&void 0!==ie?ie:ut.find(At=>!At.format)}else N=y,b=E.find(ut=>ut.nodeClass&&N instanceof ut.nodeClass);if(!b){var be,rt;const ut=null!==(be=null===(rt=N)||void 0===rt||null===(rt=rt.constructor)||void 0===rt?void 0:rt.name)&&void 0!==be?be:typeof N;throw new Error(`Tag not resolved for ${ut} value`)}return b}(y.doc.schema.tags,rt));const ut=function Pt(E,y,{anchors:v,doc:b}){if(!b.directives)return"";const N=[],ie=(Be(E)||Ae(E))&&E.anchor;ie&&lr(ie)&&(v.add(ie),N.push(`&${ie}`));const be=E.tag?E.tag:y.default?null:y.tag;return be&&N.push(b.directives.tagString(be)),N.join(" ")}(rt,be,y);ut.length>0&&(y.indentAtStart=(null!==(N=y.indentAtStart)&&void 0!==N?N:0)+ut.length+1);const At="function"==typeof be.stringify?be.stringify(rt,y,v,b):Be(rt)?Yt(rt,y,v,b):rt.toString(y,v,b);return ut?Be(rt)||"{"===At[0]||"["===At[0]?`${ut} ${At}`:`${ut}\n${y.indent}${At}`:At}const Kr={identify:E=>"<<"===E||"symbol"==typeof E&&"<<"===E.description,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new It(Symbol("<<")),{addToJSMap:Fi}),stringify:()=>"<<"};function Fi(E,y,v){if(v=E&&$e(v)?v.resolve(E.doc):v,We(v))for(const b of v.items)ao(E,y,b);else if(Array.isArray(v))for(const b of v)ao(E,y,b);else ao(E,y,v)}function ao(E,y,v){const b=E&&$e(v)?v.resolve(E.doc):v;if(!Re(b))throw new Error("Merge sources must be maps or map aliases");const N=b.toJSON(null,E,Map);for(const[ie,be]of N)y instanceof Map?y.has(ie)||y.set(ie,be):y instanceof Set?y.add(ie):Object.prototype.hasOwnProperty.call(y,ie)||Object.defineProperty(y,ie,{value:be,writable:!0,enumerable:!0,configurable:!0});return y}function Oo(E,y,{key:v,value:b}){if(k(v)&&v.addToJSMap)v.addToJSMap(E,y,b);else if(((E,y)=>(Kr.identify(y)||Be(y)&&(!y.type||y.type===It.PLAIN)&&Kr.identify(y.value))&&(null==E?void 0:E.doc.schema.tags.some(v=>v.tag===Kr.tag&&v.default)))(E,v))Fi(E,y,b);else{const N=cr(v,"",E);if(y instanceof Map)y.set(N,cr(b,N,E));else if(y instanceof Set)y.add(N);else{const ie=function to(E,y,v){if(null===y)return"";if("object"!=typeof y)return String(y);if(k(E)&&null!=v&&v.doc){const b=Rt(v.doc,{});b.anchors=new Set;for(const ie of v.anchors.keys())b.anchors.add(ie.anchor);b.inFlow=!0,b.inStringifyKey=!0;const N=E.toString(b);if(!v.mapKeyWarned){let ie=JSON.stringify(N);ie.length>40&&(ie=ie.substring(0,36)+'..."'),function Ur(E,y){("debug"===E||"warn"===E)&&console.warn(y)}(v.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${ie}. Set mapAsMap: true to use object keys.`),v.mapKeyWarned=!0}return N}return JSON.stringify(y)}(v,N,E),be=cr(b,ie,E);ie in y?Object.defineProperty(y,ie,{value:be,writable:!0,enumerable:!0,configurable:!0}):y[ie]=be}}return y}function Fo(E,y,v){const b=Ir(E,void 0,v),N=Ir(y,void 0,v);return new Qr(b,N)}class Qr{constructor(y,v=null){Object.defineProperty(this,Me,{value:Ie}),this.key=y,this.value=v}clone(y){let{key:v,value:b}=this;return k(v)&&(v=v.clone(y)),k(b)&&(b=b.clone(y)),new Qr(v,b)}toJSON(y,v){return Oo(v,null!=v&&v.mapAsMap?new Map:{},this)}toString(y,v,b){return null!=y&&y.doc?function Nn({key:E,value:y},v,b,N){const{allNullValues:ie,doc:be,indent:rt,indentStep:ut,options:{commentString:At,indentSeq:qt,simpleKeys:hn}}=v;
1let Cn=k(E)&&E.comment||null;if(hn){if(Cn)throw new Error("With simple keys, key nodes cannot have comments");if(Ae(E)||!k(E)&&"object"==typeof E)throw new Error("With simple keys, collection cannot be used as a key value")}let kn=!hn&&(!E||Cn&&null==y&&!v.inFlow||Ae(E)||(Be(E)?E.type===It.BLOCK_FOLDED||E.type===It.BLOCK_LITERAL:"object"==typeof E));v=Object.assign({},v,{allNullValues:!1,implicitKey:!kn&&(hn||!ie),indent:rt+ut});let mr,Dr,Si,fr=!1,pn=!1,yn=Gt(E,v,()=>fr=!0,()=>pn=!0);if(!kn&&!v.inFlow&&yn.length>1024){if(hn)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");kn=!0}if(v.inFlow){if(ie||null==y)return fr&&b&&b(),""===yn?"?":kn?`? ${yn}`:yn}else if(ie&&!hn||null==y&&kn)return yn=`? ${yn}`,Cn&&!fr?yn+=wr(yn,v.indent,At(Cn)):pn&&N&&N(),yn;fr&&(Cn=null),kn?(Cn&&(yn+=wr(yn,v.indent,At(Cn))),yn=`? ${yn}\n${rt}:`):(yn=`${yn}:`,Cn&&(yn+=wr(yn,v.indent,At(Cn)))),k(y)?(mr=!!y.spaceBefore,Dr=y.commentBefore,Si=y.comment):(mr=!1,Dr=null,Si=null,y&&"object"==typeof y&&(y=be.createNode(y))),v.implicitKey=!1,!kn&&!Cn&&Be(y)&&(v.indentAtStart=yn.length+1),pn=!1,!qt&&ut.length>=2&&!v.inFlow&&!kn&&We(y)&&!y.flow&&!y.tag&&!y.anchor&&(v.indent=v.indent.substring(2));let Ei=!1;const Fr=Gt(y,v,()=>Ei=!0,()=>pn=!0);let Ri=" ";if(Cn||mr||Dr)Ri=mr?"\n":"",Dr&&(Ri+=`\n${ei(At(Dr),v.indent)}`),""!==Fr||v.inFlow?Ri+=`\n${v.indent}`:"\n"===Ri&&(Ri="\n\n");else if(!kn&&Ae(y)){var He,Zr;const Pr=Fr[0],$i=Fr.indexOf("\n"),qr=-1!==$i,ds=null!==(He=null!==(Zr=v.inFlow)&&void 0!==Zr?Zr:y.flow)&&void 0!==He?He:0===y.items.length;if(qr||!ds){let aa=!1;if(qr&&("&"===Pr||"!"===Pr)){let po=Fr.indexOf(" ");"&"===Pr&&-1!==po&&po<$i&&"!"===Fr[po+1]&&(po=Fr.indexOf(" ",po+1)),(-1===po||$i<po)&&(aa=!0)}aa||(Ri=`\n${v.indent}`)}}else(""===Fr||"\n"===Fr[0])&&(Ri="");return yn+=Ri+Fr,v.inFlow?Ei&&b&&b():Si&&!Ei?yn+=wr(yn,v.indent,At(Si)):pn&&N&&N(),yn}(this,y,v,b):JSON.stringify(this)}}function xo(E,y,v){var b;return((null!==(b=y.inFlow)&&void 0!==b?b:E.flow)?vo:Lo)(E,y,v)}function Lo({comment:E,items:y},v,{blockItemPrefix:b,flowChars:N,itemIndent:ie,onChompKeep:be,onComment:rt}){const{indent:ut,options:{commentString:At}}=v,qt=Object.assign({},v,{indent:ie,type:null});let hn=!1;const Cn=[];for(let fr=0;fr<y.length;++fr){const pn=y[fr];let yn=null;if(k(pn))!hn&&pn.spaceBefore&&Cn.push(""),hi(v,Cn,pn.commentBefore,hn),pn.comment&&(yn=pn.comment);else if(it(pn)){const Dr=k(pn.key)?pn.key:null;Dr&&(!hn&&Dr.spaceBefore&&Cn.push(""),hi(v,Cn,Dr.commentBefore,hn))}hn=!1;let mr=Gt(pn,qt,()=>yn=null,()=>hn=!0);yn&&(mr+=wr(mr,ie,At(yn))),hn&&yn&&(hn=!1),Cn.push(b+mr)}let kn;if(0===Cn.length)kn=N.start+N.end;else{kn=Cn[0];for(let fr=1;fr<Cn.length;++fr){const pn=Cn[fr];kn+=pn?`\n${ut}${pn}`:"\n"}}return E?(kn+="\n"+ei(At(E),ut),rt&&rt()):hn&&be&&be(),kn}function vo({items:E},y,{flowChars:v,itemIndent:b}){const{indent:N,indentStep:ie,flowCollectionPadding:be,options:{commentString:rt}}=y;b+=ie;const ut=Object.assign({},y,{indent:b,inFlow:!0,type:null});let At=!1,qt=0;const hn=[];for(let fr=0;fr<E.length;++fr){const pn=E[fr];let yn=null;if(k(pn))pn.spaceBefore&&hn.push(""),hi(y,hn,pn.commentBefore,!1),pn.comment&&(yn=pn.comment);else if(it(pn)){const Dr=k(pn.key)?pn.key:null;Dr&&(Dr.spaceBefore&&hn.push(""),hi(y,hn,Dr.commentBefore,!1),Dr.comment&&(At=!0));const Si=k(pn.value)?pn.value:null;Si?(Si.comment&&(yn=Si.comment),Si.commentBefore&&(At=!0)):null==pn.value&&null!=Dr&&Dr.comment&&(yn=Dr.comment)}yn&&(At=!0);let mr=Gt(pn,ut,()=>yn=null);
1fr<E.length-1&&(mr+=","),yn&&(mr+=wr(mr,b,rt(yn))),!At&&(hn.length>qt||mr.includes("\n"))&&(At=!0),hn.push(mr),qt=hn.length}const{start:Cn,end:kn}=v;if(0===hn.length)return Cn+kn;if(!At){const fr=hn.reduce((pn,yn)=>pn+yn.length+2,2);At=y.options.lineWidth>0&&fr>y.options.lineWidth}if(At){let fr=Cn;for(const pn of hn)fr+=pn?`\n${ie}${N}${pn}`:"\n";return`${fr}\n${N}${kn}`}return`${Cn}${be}${hn.join(" ")}${be}${kn}`}function hi({indent:E,options:{commentString:y}},v,b,N){if(b&&N&&(b=b.replace(/^\n+/,"")),b){const ie=ei(y(b),E);v.push(ie.trimStart())}}function no(E,y){const v=Be(y)?y.value:y;for(const b of E)if(it(b)&&(b.key===y||b.key===v||Be(b.key)&&b.key.value===v))return b}class ji extends dn{static get tagName(){return"tag:yaml.org,2002:map"}constructor(y){super(ue,y),this.items=[]}static from(y,v,b){const{keepUndefined:N,replacer:ie}=b,be=new this(y),rt=(ut,At)=>{if("function"==typeof ie)At=ie.call(v,ut,At);else if(Array.isArray(ie)&&!ie.includes(ut))return;(void 0!==At||N)&&be.items.push(Fo(ut,At,b))};if(v instanceof Map)for(const[ut,At]of v)rt(ut,At);else if(v&&"object"==typeof v)for(const ut of Object.keys(v))rt(ut,v[ut]);return"function"==typeof y.sortMapEntries&&be.items.sort(y.sortMapEntries),be}add(y,v){var b;let N;N=it(y)?y:y&&"object"==typeof y&&"key"in y?new Qr(y.key,y.value):new Qr(y,null==y?void 0:y.value);const ie=no(this.items,N.key),be=null===(b=this.schema)||void 0===b?void 0:b.sortMapEntries;if(ie){if(!v)throw new Error(`Key ${N.key} already set`);Be(ie.value)&&Ot(N.value)?ie.value.value=N.value:ie.value=N.value}else if(be){const rt=this.items.findIndex(ut=>be(N,ut)<0);-1===rt?this.items.push(N):this.items.splice(rt,0,N)}else this.items.push(N)}delete(y){const v=no(this.items,y);return!!v&&this.items.splice(this.items.indexOf(v),1).length>0}get(y,v){var b;const N=no(this.items,y),ie=null==N?void 0:N.value;return null!==(b=!v&&Be(ie)?ie.value:ie)&&void 0!==b?b:void 0}has(y){return!!no(this.items,y)}set(y,v){this.add(new Qr(y,v),!0)}toJSON(y,v,b){const N=b?new b:null!=v&&v.mapAsMap?new Map:{};null!=v&&v.onCreate&&v.onCreate(N);for(const ie of this.items)Oo(v,N,ie);return N}toString(y,v,b){if(!y)return JSON.stringify(this);for(const N of this.items)if(!it(N))throw new Error(`Map items must all be pairs; found ${JSON.stringify(N)} instead`);return!y.allNullValues&&this.hasAllNullValues(!1)&&(y=Object.assign({},y,{allNullValues:!0})),xo(this,y,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:y.indent||"",onChompKeep:b,onComment:v})}}const lo={collection:"map",default:!0,nodeClass:ji,tag:"tag:yaml.org,2002:map",resolve:(E,y)=>(Re(E)||y("Expected a mapping for this tag"),E),createNode:(E,y,v)=>ji.from(E,y,v)};class co extends dn{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(y){super(he,y),this.items=[]}add(y){this.items.push(y)}delete(y){const v=Po(y);return"number"==typeof v&&this.items.splice(v,1).length>0}get(y,v){const b=Po(y);if("number"!=typeof b)return;const N=this.items[b];return!v&&Be(N)?N.value:N}has(y){const v=Po(y);return"number"==typeof v&&v<this.items.length}set(y,v){const b=Po(y);if("number"!=typeof b)throw new Error(`Expected a valid index, not ${y}.`);const N=this.items[b];Be(N)&&Ot(v)?N.value=v:this.items[b]=v}toJSON(y,v){const b=[];null!=v&&v.onCreate&&v.onCreate(b);let N=0;for(const ie of this.items)b.push(cr(ie,String(N++),v));return b}toString(y,v,b){return y?xo(this,y,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(y.indent||"")+" ",onChompKeep:b,onComment:v}):JSON.stringify(this)}static from(y,v,b){const{replacer:N}=b,ie=new this(y);if(v&&Symbol.iterator in Object(v)){let be=0;for(let rt of v){if("function"==typeof N){const ut=v instanceof Set?rt:String(be++);rt=N.call(v,ut,rt)}ie.items.push(Ir(rt,void 0,b))}}return ie}}function Po(E){let y=Be(E)?E.value:E;return y&&"string"==typeof y&&(y=Number(y)),"number"==typeof y&&Number.isInteger(y)&&y>=0?y:null}const yt={collection:"seq",default:!0,nodeClass:co,tag:"tag:yaml.org,2002:seq",resolve:(E,y)=>(We(E)||y("Expected a sequence for this tag"),E),createNode:(E,y,v)=>co.from(E,y,v)},Je={identify:E=>"string"==typeof E,default:!0,tag:"tag:yaml.org,2002:str",resolve:E=>E,stringify:(E,y,v,b)=>Yt(E,y=Object.assign({actualString:!0},y),v,b)},Nt={identify:E=>null==E,createNode:()=>new It(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new It(null),stringify:({source:E},y)=>"string"==typeof E&&Nt.test.test(E)?E:y.options.nullStr},je={identify:E=>"boolean"==typeof E,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:E=>new It("t"===E[0]||"T"===E[0]),stringify:({source:E,value:y},v)=>E&&je.test.test(E)&&y===("t"===E[0]||"T"===E[0])?E:y?v.options.trueStr:v.options.falseStr};function ke({format:E,minFractionDigits:y,tag:v,value:b}){if("bigint"==typeof b)return String(b);const N="number"==typeof b?b:Number(b);if(!isFinite(N))return isNaN(N)?".nan":N<0?"-.inf":".inf";let ie=JSON.stringify(b);if(!E&&y&&(!v||"tag:yaml.org,2002:float"===v)&&/^\d/.test(ie)){let be=ie.indexOf(".");be<0&&(be=ie.length,ie+=".");let rt=y-(ie.length-be-1);for(;rt-- >0;)ie+="0"}return ie}const Tt={identify:E=>"number"==typeof E,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:E=>"nan"===E.slice(-3).toLowerCase()?NaN:"-"===E[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:ke},Zt={identify:E=>"number"==typeof E,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:E=>
1parseFloat(E),stringify(E){const y=Number(E.value);return isFinite(y)?y.toExponential():ke(E)}},In={identify:E=>"number"==typeof E,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(E){const y=new It(parseFloat(E)),v=E.indexOf(".");return-1!==v&&"0"===E[E.length-1]&&(y.minFractionDigits=E.length-v-1),y},stringify:ke},or=E=>"bigint"==typeof E||Number.isInteger(E),Fe=(E,y,v,{intAsBigInt:b})=>b?BigInt(E):parseInt(E.substring(y),v);function et(E,y,v){const{value:b}=E;return or(b)&&b>=0?v+b.toString(y):ke(E)}const Ht={identify:E=>or(E)&&E>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(E,y,v)=>Fe(E,2,8,v),stringify:E=>et(E,8,"0o")},Bt={identify:or,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(E,y,v)=>Fe(E,0,10,v),stringify:ke},fn={identify:E=>or(E)&&E>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(E,y,v)=>Fe(E,2,16,v),stringify:E=>et(E,16,"0x")},Dn=[lo,yt,Je,Nt,je,Ht,Bt,fn,Tt,Zt,In];function ir(E){return"bigint"==typeof E||Number.isInteger(E)}const er=({value:E})=>JSON.stringify(E),Bi=[lo,yt].concat([{identify:E=>"string"==typeof E,default:!0,tag:"tag:yaml.org,2002:str",resolve:E=>E,stringify:er},{identify:E=>null==E,createNode:()=>new It(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:er},{identify:E=>"boolean"==typeof E,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:E=>"true"===E,stringify:er},{identify:ir,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(E,y,{intAsBigInt:v})=>v?BigInt(E):parseInt(E,10),stringify:({value:E})=>ir(E)?E.toString():JSON.stringify(E)},{identify:E=>"number"==typeof E,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:E=>parseFloat(E),stringify:er}],{default:!0,tag:"",test:/^/,resolve:(E,y)=>(y(`Unresolved plain scalar ${JSON.stringify(E)}`),E)}),Pi={identify:E=>E instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(E,y){if("function"==typeof atob){const v=atob(E.replace(/[\n\r]/g,"")),b=new Uint8Array(v.length);for(let N=0;N<v.length;++N)b[N]=v.charCodeAt(N);return b}return y("This environment does not support reading binary tags; either Buffer or atob is required"),E},stringify({comment:E,type:y,value:v},b,N,ie){const be=v;let rt;if("function"!=typeof btoa)throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");{let ut="";for(let At=0;At<be.length;++At)ut+=String.fromCharCode(be[At]);rt=btoa(ut)}if(y||(y=It.BLOCK_LITERAL),y!==It.QUOTE_DOUBLE){const ut=Math.max(b.options.lineWidth-b.indent.length,b.options.minContentWidth),At=Math.ceil(rt.length/ut),qt=new Array(At);for(let hn=0,Cn=0;hn<At;++hn,Cn+=ut)qt[hn]=rt.substr(Cn,ut);rt=qt.join(y===It.BLOCK_LITERAL?"\n":" ")}return Yt({comment:E,type:y,value:rt},b,N,ie)}};function Ui(E,y){if(We(E))for(let b=0;b<E.items.length;++b){let N=E.items[b];if(!it(N)){if(Re(N)){N.items.length>1&&y("Each pair must have its own sequence indicator");const ie=N.items[0]||new Qr(new It(null));if(N.commentBefore&&(ie.key.commentBefore=ie.key.commentBefore?`${N.commentBefore}\n${ie.key.commentBefore}`:N.commentBefore),N.comment){var v;const be=null!==(v=ie.value)&&void 0!==v?v:ie.key;be.comment=be.comment?`${N.comment}\n${be.comment}`:N.comment}N=ie}E.items[b]=it(N)?N:new Qr(N)}}else y("Expected a sequence for this tag");return E}function yo(E,y,v){const{replacer:b}=v,N=new co(E);N.tag="tag:yaml.org,2002:pairs";let ie=0;if(y&&Symbol.iterator in Object(y))for(let be of y){let rt,ut;if("function"==typeof b&&(be=b.call(y,String(ie++),be)),Array.isArray(be)){if(2!==be.length)throw new TypeError(`Expected [key, value] tuple: ${be}`);rt=be[0],ut=be[1]}else if(be&&be instanceof Object){const At=Object.keys(be);if(1!==At.length)throw new TypeError(`Expected tuple with one key, not ${At.length} keys`);rt=At[0],ut=be[rt]}else rt=be;N.items.push(Fo(rt,ut,v))}return N}const uo={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Ui,createNode:yo};let Ni=(()=>{class E extends co{constructor(){super(),this.add=ji.prototype.add.bind(this),this.delete=ji.prototype.delete.bind(this),this.get=ji.prototype.get.bind(this),this.has=ji.prototype.has.bind(this),this.set=ji.prototype.set.bind(this),this.tag=E.tag}toJSON(v,b){if(!b)return super.toJSON(v);const N=new Map;null!=b&&b.onCreate&&b.onCreate(N);for(const ie of this.items){let be,rt;if(it(ie)?(be=cr(ie.key,"",b),rt=cr(ie.value,be,b)):be=cr(ie,"",b),N.has(be))throw new Error("Ordered maps must not include duplicate keys");N.set(be,rt)}return N}static from(v,b,N){const ie=yo(v,b,N),be=new this;return be.items=ie.items,be}}return E.tag="tag:yaml.org,2002:omap",E})();const di={collection:"seq",identify:E=>E instanceof Map,nodeClass:Ni,default:!1,tag:"tag:yaml.org,2002:omap",resolve(E,y){const v=Ui(E,y),b=[];for(const{key:N}of v.items)Be(N)&&(b.includes(N.value)?y(`Ordered maps must not include duplicate keys: ${N.value}`):b.push(N.value));return Object.assign(new Ni,v)},createNode:(E,y,v)=>Ni.from(E,y,v)};function dt({value:E,source:y},v){return y&&(E?tr:ft).test.test(y)?y:E?v.options.trueStr:v.options.falseStr}const tr={identify:E=>!0===E,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new It(!0),stringify:dt},ft={identify:E=>!1===E,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new It(!1),stringify:dt},St={identify:E=>"number"==typeof E,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:E=>"nan"===E.slice(-3).toLowerCase()?NaN:"-"===E[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:ke}
1,zt={identify:E=>"number"==typeof E,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:E=>parseFloat(E.replace(/_/g,"")),stringify(E){const y=Number(E.value);return isFinite(y)?y.toExponential():ke(E)}},Ln={identify:E=>"number"==typeof E,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(E){const y=new It(parseFloat(E.replace(/_/g,""))),v=E.indexOf(".");if(-1!==v){const b=E.substring(v+1).replace(/_/g,"");"0"===b[b.length-1]&&(y.minFractionDigits=b.length)}return y},stringify:ke},kr=E=>"bigint"==typeof E||Number.isInteger(E);function R(E,y,v,{intAsBigInt:b}){const N=E[0];if(("-"===N||"+"===N)&&(y+=1),E=E.substring(y).replace(/_/g,""),b){switch(v){case 2:E=`0b${E}`;break;case 8:E=`0o${E}`;break;case 16:E=`0x${E}`}const be=BigInt(E);return"-"===N?BigInt(-1)*be:be}const ie=parseInt(E,v);return"-"===N?-1*ie:ie}function Ee(E,y,v){const{value:b}=E;if(kr(b)){const N=b.toString(y);return b<0?"-"+v+N.substr(1):v+N}return ke(E)}const Ke={identify:kr,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(E,y,v)=>R(E,2,2,v),stringify:E=>Ee(E,2,"0b")},G={identify:kr,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(E,y,v)=>R(E,1,8,v),stringify:E=>Ee(E,8,"0")},qe={identify:kr,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(E,y,v)=>R(E,0,10,v),stringify:ke},kt={identify:kr,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(E,y,v)=>R(E,2,16,v),stringify:E=>Ee(E,16,"0x")};let Mi=(()=>{class E extends ji{constructor(v){super(v),this.tag=E.tag}add(v){let b;b=it(v)?v:new Qr(v&&"object"==typeof v&&"key"in v&&"value"in v&&null===v.value?v.key:v,null),no(this.items,b.key)||this.items.push(b)}get(v,b){const N=no(this.items,v);return!b&&it(N)?Be(N.key)?N.key.value:N.key:N}set(v,b){if("boolean"!=typeof b)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof b);const N=no(this.items,v);N&&!b?this.items.splice(this.items.indexOf(N),1):!N&&b&&this.items.push(new Qr(v))}toJSON(v,b){return super.toJSON(v,b,Set)}toString(v,b,N){if(!v)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},v,{allNullValues:!0}),b,N);throw new Error("Set items must all have null values")}static from(v,b,N){const{replacer:ie}=N,be=new this(v);if(b&&Symbol.iterator in Object(b))for(let rt of b)"function"==typeof ie&&(rt=ie.call(b,rt,rt)),be.items.push(Fo(rt,null,N));return be}}return E.tag="tag:yaml.org,2002:set",E})();const bo={collection:"map",identify:E=>E instanceof Set,nodeClass:Mi,default:!1,tag:"tag:yaml.org,2002:set",createNode:(E,y,v)=>Mi.from(E,y,v),resolve(E,y){if(Re(E)){if(E.hasAllNullValues(!0))return Object.assign(new Mi,E);y("Set items must all have null values")}else y("Expected a mapping for this tag");return E}};function ns(E,y){const v=E[0],b="-"===v||"+"===v?E.substring(1):E,N=be=>y?BigInt(be):Number(be),ie=b.replace(/_/g,"").split(":").reduce((be,rt)=>be*N(60)+N(rt),N(0));return"-"===v?N(-1)*ie:ie}function ra(E){let{value:y}=E,v=be=>be;if("bigint"==typeof y)v=be=>BigInt(be);else if(isNaN(y)||!isFinite(y))return ke(E);let b="";y<0&&(b="-",y*=v(-1));const N=v(60),ie=[y%N];return y<60?ie.unshift(0):(y=(y-ie[0])/N,ie.unshift(y%N),y>=60&&(y=(y-ie[0])/N,ie.unshift(y))),b+ie.map(be=>String(be).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const $o={identify:E=>"bigint"==typeof E||Number.isInteger(E),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(E,y,{intAsBigInt:v})=>ns(E,v),stringify:ra},Ks={identify:E=>"number"==typeof E,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:E=>ns(E,!1),stringify:ra},as={identify:E=>E instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(E){const y=E.match(as.test);if(!y)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,v,b,N,ie,be,rt]=y.map(Number),ut=y[7]?Number((y[7]+"00").substr(1,3)):0;let At=Date.UTC(v,b-1,N,ie||0,be||0,rt||0,ut);const qt=y[8];if(qt&&"Z"!==qt){let hn=ns(qt,!1);Math.abs(hn)<30&&(hn*=60),At-=6e4*hn}return new Date(At)},stringify:({value:E})=>E.toISOString().replace(/(T00:00:00)?\.000Z$/,"")},Ea=[lo,yt,Je,Nt,tr,ft,Ke,G,qe,kt,St,zt,Ln,Pi,Kr,di,uo,bo,$o,Ks,as],Ms=new Map([["core",Dn],["failsafe",[lo,yt,Je]],["json",Bi],["yaml11",Ea],["yaml-1.1",Ea]]),Xs={binary:Pi,bool:je,float:In,floatExp:Zt,floatNaN:Tt,floatTime:Ks,int:Bt,intHex:fn,intOct:Ht,intTime:$o,map:lo,merge:Kr,null:Nt,omap:di,pairs:uo,seq:yt,set:bo,timestamp:as},Ca={"tag:yaml.org,2002:binary":Pi,"tag:yaml.org,2002:merge":Kr,"tag:yaml.org,2002:omap":di,"tag:yaml.org,2002:pairs":uo,"tag:yaml.org,2002:set":bo,"tag:yaml.org,2002:timestamp":as};function Hi(E,y,v){const b=Ms.get(y);if(b&&!E)return v&&!b.includes(Kr)?b.concat(Kr):b.slice();let N=b;if(!N){if(!Array.isArray(E)){const ie=Array.from(Ms.keys()).filter(be=>"yaml11"!==be).map(be=>JSON.stringify(be)).join(", ");throw new Error(`Unknown schema "${y}"; use one of ${ie} or define customTags array`)}N=[]}if(Array.isArray(E))for(const ie of E)N=N.concat(ie);else"function"==typeof E&&(N=E(N.slice()));return v&&(N=N.concat(Kr)),N.reduce((ie,be)=>{const rt="string"==typeof be?Xs[be]:be;if(!rt){const ut=JSON.stringify(be),At=Object.keys(Xs).map(qt=>JSON.stringify(qt)).join(", ");throw new Error(`Unknown custom tag ${ut}; use one of ${At}`)}
1return ie.includes(rt)||ie.push(rt),ie},[])}const fi=(E,y)=>E.key<y.key?-1:E.key>y.key?1:0;class ye{constructor({compat:y,customTags:v,merge:b,resolveKnownTags:N,schema:ie,sortMapEntries:be,toStringDefaults:rt}){this.compat=Array.isArray(y)?Hi(y,"compat"):y?Hi(null,y):null,this.name="string"==typeof ie&&ie||"core",this.knownTags=N?Ca:{},this.tags=Hi(v,this.name,b),this.toStringOptions=null!=rt?rt:null,Object.defineProperty(this,ue,{value:lo}),Object.defineProperty(this,ge,{value:Je}),Object.defineProperty(this,he,{value:yt}),this.sortMapEntries="function"==typeof be?be:!0===be?fi:null}clone(){const y=Object.create(ye.prototype,Object.getOwnPropertyDescriptors(this));return y.tags=this.tags.slice(),y}}class _t{constructor(y,v,b){var N;this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Me,{value:we});let ie=null;"function"==typeof v||Array.isArray(v)?ie=v:void 0===b&&v&&(b=v,v=void 0);const be=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},b);this.options=be;let{version:rt}=be;null!==(N=b)&&void 0!==N&&N._directives?(this.directives=b._directives.atDocument(),this.directives.yaml.explicit&&(rt=this.directives.yaml.version)):this.directives=new mn({version:rt}),this.setSchema(rt,b),this.contents=void 0===y?null:this.createNode(y,ie,b)}clone(){const y=Object.create(_t.prototype,{[Me]:{value:we}});return y.commentBefore=this.commentBefore,y.comment=this.comment,y.errors=this.errors.slice(),y.warnings=this.warnings.slice(),y.options=Object.assign({},this.options),this.directives&&(y.directives=this.directives.clone()),y.schema=this.schema.clone(),y.contents=k(this.contents)?this.contents.clone(y.schema):this.contents,this.range&&(y.range=this.range.slice()),y}add(y){Mt(this.contents)&&this.contents.add(y)}addIn(y,v){Mt(this.contents)&&this.contents.addIn(y,v)}createAlias(y,v){if(!y.anchor){const b=hr(this);y.anchor=!v||b.has(v)?$r(v||"a",b):v}return new Qn(y.anchor)}createNode(y,v,b){var N;let ie;if("function"==typeof v)y=v.call({"":y},"",y),ie=v;else if(Array.isArray(v)){const Dr=v.filter(Si=>"number"==typeof Si||Si instanceof String||Si instanceof Number).map(String);Dr.length>0&&(v=v.concat(Dr)),ie=v}else void 0===b&&v&&(b=v,v=void 0);const{aliasDuplicateObjects:be,anchorPrefix:rt,flow:ut,keepUndefined:At,onTagObj:qt,tag:hn}=null!==(N=b)&&void 0!==N?N:{},{onAnchor:Cn,setAnchors:kn,sourceObjects:fr}=function ur(E,y){const v=[],b=new Map;let N=null;return{onAnchor:ie=>{v.push(ie),N||(N=hr(E));const be=$r(y,N);return N.add(be),be},setAnchors:()=>{for(const ie of v){const be=b.get(ie);if("object"!=typeof be||!be.anchor||!Be(be.node)&&!Ae(be.node)){const rt=new Error("Failed to resolve repeated object (this should not happen)");throw rt.source=ie,rt}be.node.anchor=be.anchor}},sourceObjects:b}}(this,rt||"a"),yn=Ir(y,hn,{aliasDuplicateObjects:null==be||be,keepUndefined:null!=At&&At,onAnchor:Cn,onTagObj:qt,replacer:ie,schema:this.schema,sourceObjects:fr});return ut&&Ae(yn)&&(yn.flow=!0),kn(),yn}createPair(y,v,b={}){const N=this.createNode(y,null,b),ie=this.createNode(v,null,b);return new Qr(N,ie)}delete(y){return!!Mt(this.contents)&&this.contents.delete(y)}deleteIn(y){return $n(y)?null!=this.contents&&(this.contents=null,!0):!!Mt(this.contents)&&this.contents.deleteIn(y)}get(y,v){return Ae(this.contents)?this.contents.get(y,v):void 0}getIn(y,v){return $n(y)?!v&&Be(this.contents)?this.contents.value:this.contents:Ae(this.contents)?this.contents.getIn(y,v):void 0}has(y){return!!Ae(this.contents)&&this.contents.has(y)}hasIn(y){return $n(y)?void 0!==this.contents:!!Ae(this.contents)&&this.contents.hasIn(y)}set(y,v){null==this.contents?this.contents=Er(this.schema,[y],v):Mt(this.contents)&&this.contents.set(y,v)}setIn(y,v){$n(y)?this.contents=v:null==this.contents?this.contents=Er(this.schema,Array.from(y),v):Mt(this.contents)&&this.contents.setIn(y,v)}setSchema(y,v={}){let b;switch("number"==typeof y&&(y=String(y)),y){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new mn({version:"1.1"}),b={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=y:this.directives=new mn({version:y}),b={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,b=null;break;default:{const N=JSON.stringify(y);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${N}`)}}if(v.schema instanceof Object)this.schema=v.schema;else{if(!b)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new ye(Object.assign(b,v))}}toJS({json:y,jsonArg:v,mapAsMap:b,maxAliasCount:N,onAnchor:ie,reviver:be}={}){const rt={anchors:new Map,doc:this,keep:!y,mapAsMap:!0===b,mapKeyWarned:!1,maxAliasCount:"number"==typeof N?N:100},ut=cr(this.contents,null!=v?v:"",rt);if("function"==typeof ie)for(const{count:At,res:qt}of rt.anchors.values())ie(qt,At);return"function"==typeof be?Fn(be,{"":ut},"",ut):ut}toJSON(y,v){return this.toJS({json:!0,jsonArg:y,mapAsMap:!1,onAnchor:v})}toString(y={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in y&&(!Number.isInteger(y.indent)||Number(y.indent)<=0)){const v=JSON.stringify(y.indent);throw new Error(`"indent" option must be a positive integer, not ${v}`)}return function Ve(E,y){var v;const b=[];let N=!0===y.directives;if(!1!==y.directives&&E.directives){const At=E.directives.toString(E);At?(b.push(At),N=!0):E.directives.docStart&&(N=!0)}N&&b.push("---");const ie=Rt(E,y),{commentString:be}=ie.options;if(E.commentBefore){1!==b.length&&b.unshift("");const At=be(E.commentBefore);b.unshift(ei(At,""))}let rt=!1,ut=null;if(E.contents){if(k(E.contents)){if(E.contents.spaceBefore&&N&&b.push(""),E.contents.commentBefore){const hn=be(E.contents.commentBefore);b.push(ei(hn,""))}ie.forceBlockIndent=!!E.comment,ut=E.contents.comment}let qt=Gt(E.contents,ie,()=>
1ut=null,ut?void 0:()=>rt=!0);ut&&(qt+=wr(qt,"",be(ut))),"|"!==qt[0]&&">"!==qt[0]||"---"!==b[b.length-1]?b.push(qt):b[b.length-1]=`--- ${qt}`}else b.push(Gt(E.contents,ie));if(null!==(v=E.directives)&&void 0!==v&&v.docEnd)if(E.comment){const At=be(E.comment);At.includes("\n")?(b.push("..."),b.push(ei(At,""))):b.push(`... ${At}`)}else b.push("...");else{let At=E.comment;At&&rt&&(At=At.replace(/^\n+/,"")),At&&((!rt||ut)&&""!==b[b.length-1]&&b.push(""),b.push(ei(be(At),"")))}return b.join("\n")+"\n"}(this,y)}}function Mt(E){if(Ae(E))return!0;throw new Error("Expected a YAML collection as document contents")}Error;const oe=Symbol("break visit"),j=Symbol("skip children"),Ne=Symbol("remove item");function re(E,y){"type"in E&&"document"===E.type&&(E={start:E.start,value:E.value}),Qe(Object.freeze([]),E,y)}function Qe(E,y,v){let b=v(y,E);if("symbol"==typeof b)return b;for(const N of["key","value"]){const ie=y[N];if(ie&&"items"in ie){for(let be=0;be<ie.items.length;++be){const rt=Qe(Object.freeze(E.concat([[N,be]])),ie.items[be],v);if("number"==typeof rt)be=rt-1;else{if(rt===oe)return oe;rt===Ne&&(ie.items.splice(be,1),be-=1)}}"function"==typeof b&&"key"===N&&(b=b(y,E))}}return"function"==typeof b?b(y,E):b}re.BREAK=oe,re.SKIP=j,re.REMOVE=Ne,re.itemAtPath=(E,y)=>{let v=E;for(const[N,ie]of y){var b;const be=null===(b=v)||void 0===b?void 0:b[N];if(!be||!("items"in be))return;v=be.items[ie]}return v},re.parentCollection=(E,y)=>{const v=re.itemAtPath(E,y.slice(0,-1)),N=null==v?void 0:v[y[y.length-1][0]];if(N&&"items"in N)return N;throw new Error("Parent collection not found")},new Set("0123456789ABCDEFabcdef"),new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),new Set(",[]{}"),new Set(" ,[]{}\n\r\t");var vi=u(3653),ro=u(8934),Ko=u(644),Tn=u(3953),ac=u(5374),lc=u(7467),cs=u(5954),ga=u(2439),Wl=u(3390),ia=u(6198),El=u(4284),xs=u(177),io=u(2709),$l=u(675),pi=u(7791),Qi=u(1056);const Cl=["popover"],zl=E=>({label:"Version",value:E}),Gl=E=>({label:"Version Hash",value:E}),ma=E=>({label:"Build Time",value:E,hideEmpty:!0}),oa=E=>({label:"Environment",value:E}),il=E=>({label:"Statische Konfigurations-ID",value:E}),Vi=E=>({label:"Dynamische Konfigurations-ID",value:E}),ol=(E,y,v,b,N,ie)=>[E,y,v,b,N,ie],ka=E=>({label:"Name",value:E}),Ds=E=>({label:"Bundle ID",value:E}),sa=E=>({label:"Build",value:E}),us=(E,y,v,b)=>[E,y,v,b],Us=E=>({label:"Aktiviert",value:E}),A=E=>({label:"Channel",value:E}),ae=(E,y,v)=>[E,y,v];function lt(E,y){if(1&E&&(Tn.qex(0),Tn.j41(1,"small"),Tn.EFF(2),Tn.k0s(),Tn.bVm()),2&E){const v=Tn.XpG();Tn.R7$(2),Tn.JRh(v.general.versionHash)}}function ne(E,y){if(1&E&&(Tn.qex(0),Tn.nrm(1,"app-button",9),Tn.bVm()),2&E){const v=Tn.XpG(2);Tn.R7$(),Tn.Y8G("click$",v.copyInfo$())}}function Ge(E,y){if(1&E&&(Tn.qex(0),Tn.nrm(1,"app-button",10),Tn.bVm()),2&E){const v=Tn.XpG(2);Tn.R7$(),Tn.Y8G("click$",v.shareInfo$())}}function vt(E,y){if(1&E&&Tn.nrm(0,"app-item-group",13),2&E){const v=Tn.XpG(3);Tn.Y8G("title","Native App")("description",v.usedBundleId&&v.usedBundleId!==v.appInfo.id?"Die Bundle ID der nativen App stimmt nicht mit der geladenen Bundle ID der statischen Konfiguration \xfcberein ("+v.usedBundleId+"). Dadurch k\xf6nnen unter Umst\xe4nden Push Nachrichten nicht korrekt zugestellt werden.":void 0)("compact",!0)("items",Tn.ziG(12,us,Tn.eq3(4,ka,v.appInfo.name),Tn.eq3(6,Ds,v.appInfo.id),Tn.eq3(8,zl,v.appInfo.version),Tn.eq3(10,sa,v.appInfo.build)))}}function on(E,y){if(1&E&&Tn.nrm(0,"app-item-group",7),2&E){const v=Tn.XpG(3);Tn.Y8G("title","Live-Updates")("compact",!0)("items",Tn.sMw(9,ae,Tn.eq3(3,Us,v.liveUpdate.isEnabled?"Ja":"Nein"),Tn.eq3(5,A,v.liveUpdate.channel),Tn.eq3(7,sa,v.liveUpdate.id)))}}function Hn(E,y){if(1&E&&(Tn.qex(0),Tn.DNE(1,vt,1,17,"app-item-group",11)(2,on,1,13,"app-item-group",12),Tn.bVm()),2&E){const v=Tn.XpG(2);Tn.R7$(),Tn.Y8G("ngIf",v.appInfo),Tn.R7$(),Tn.Y8G("ngIf",v.liveUpdate)}}function yi(E,y){if(1&E&&(Tn.j41(0,"div",4)(1,"h6",5),Tn.EFF(2,"Versions-Information"),Tn.k0s(),Tn.j41(3,"div",6),Tn.DNE(4,ne,2,1,"ng-container",2)(5,Ge,2,1,"ng-container",2),Tn.k0s(),Tn.nrm(6,"app-item-group",7),Tn.nI1(7,"naturalDate"),Tn.DNE(8,Hn,3,2,"ng-container",8),Tn.k0s()),2&E){const v=Tn.XpG();Tn.R7$(4),Tn.Y8G("ngIf",v.couldCopy),Tn.R7$(),Tn.Y8G("ngIf",v.couldShare),Tn.R7$(),Tn.Y8G("title","Allgemein")("compact",!0)("items",Tn.l4e(20,ol,Tn.eq3(8,zl,v.general.version),Tn.eq3(10,Gl,v.general.versionHash),Tn.eq3(12,ma,v.reducedData?void 0:Tn.bMT(7,6,v.general.buildDate)),Tn.eq3(14,oa,v.general.environment.name),Tn.eq3(16,il,null==v.startupConfigs||null==v.startupConfigs.static?null:v.startupConfigs.static.id),Tn.eq3(18,Vi,null==v.startupConfigs||null==v.startupConfigs.dynamic?null:v.startupConfigs.dynamic.id))),Tn.R7$(2),Tn.Y8G("appPlatform","mobile")}}const Hr={animated:!0,duration:2e3,id:"debug-info",position:"top"};let Zi=(()=>{var E;class y{constructor(b,N,ie,be,rt,ut,At){this.toastController=b,this.storageService=N,this.liveUpdateService=ie,this.startupConfigurationService=be,this.appService=rt,this.deviceService=ut,this.hapticsService=At,this.destroy$=new s.B,this.reducedData=!!Ko.c.production,this.general={version:vi.rE,versionHash:vi.ui,buildDate:new Date(vi.$y),environment:Ko.c},this.isPopoverVisible=!1}ngOnInit(){(0,w.z)([this.startupConfigurationService.staticStartupConfig$,this.startupConfigurationService.dynamicStartupConfig$]).pipe((0,T.Q)(this.destroy$),(0,x.F)((b,N)=>(0,a.isEqual)(b,N))).subscribe(([b,N])=>{this.startupConfigs={static:b,dynamic:N}}),this.deviceService.deviceData$.pipe((0,T.Q)(this.destroy$),(0,F.p)(b=>!(0,a.isNil)(b)),(0,B.$)()).subscribe(b=>{this.deviceData=b}),this.appService.getInfo$().pipe((0,T.Q)(this.destroy$),(0,F.p)(b=>!(0,a.isNil)(b)),(0,B.$)()).subscribe(b=>{this.appInfo=b}),(0,w.z)([this.liveUpdateService.isEnabled$,this.liveUpdateService.config$,this.storageService.get$(ro.w.liveUpdate
1Channel),this.storageService.get$(ro.w.liveUpdateID)]).pipe((0,T.Q)(this.destroy$),(0,x.F)((b,N)=>(0,a.isEqual)(b,N))).subscribe(([b,N,ie,be])=>{this.liveUpdate={isEnabled:b,channel:null!=ie?ie:N.channel,id:null!=be?be:void 0,config:N}})}ngOnDestroy(){var b;null===(b=this.popover)||void 0===b||b.dismiss(),this.destroy$.next(),this.destroy$.complete()}get usedBundleId(){const{deviceData:b,startupConfigs:N}=this;if(null!=N&&N.static&&b){if("ios"===b.platform)return N.static.iosBundleId;if("android"===b.platform)return N.static.androidBundleId}}presentPopover(b){this.hapticsService.interactionFeedback(),this.popover.event=b,this.isPopoverVisible=!0}get debugInfo$(){return(0,H.of)({...this.general,startupConfigs:this.startupConfigs,deviceData:this.deviceData,appInfo:this.appInfo,liveUpdate:this.liveUpdate}).pipe((0,V.T)(b=>{var N,ie;return this.reducedData?{...b,buildDate:void 0,startupConfigs:{static:null===(N=b.startupConfigs)||void 0===N||null===(N=N.static)||void 0===N?void 0:N.id,dynamic:null===(ie=b.startupConfigs)||void 0===ie||null===(ie=ie.dynamic)||void 0===ie?void 0:ie.id},environment:b.environment.name}:b}))}get debugInfoString$(){return this.debugInfo$.pipe((0,V.T)(b=>{try{return function vn(E,y,v){let b=null;if("function"==typeof y||Array.isArray(y)?b=y:void 0===v&&y&&(v=y),"string"==typeof v&&(v=v.length),"number"==typeof v){const be=Math.round(v);v=be<1?void 0:be>8?{indent:8}:{indent:be}}if(void 0===E){var N,ie;const{keepUndefined:be}=null!==(N=null!==(ie=v)&&void 0!==ie?ie:y)&&void 0!==N?N:{};if(!be)return}return Pe(E)&&!b?E.toString(v):new _t(E,b,v).toString(v)}(b)}catch(N){return JSON.stringify(b)}}))}get debugInfoFile$(){return this.debugInfoString$.pipe((0,V.T)(b=>new File([b],"Versions-Information.txt",{type:"text/plain"})))}get couldCopy(){try{return!!navigator.clipboard}catch(b){return!1}}copyInfo$(){return this.debugInfoString$.pipe((0,L.Z)(b=>(0,U.H)(navigator.clipboard.writeText(b))),(0,L.Z)(()=>(0,U.H)(this.toastController.create({...Hr,color:"success",header:"Erfolgreich kopiert!"}))),(0,le.W)(b=>(console.error(b),(0,U.H)(this.toastController.create({...Hr,color:"danger",header:"Fehler beim Kopieren ..."})))),(0,L.Z)(b=>(0,U.H)(b.present())),(0,W.M)(()=>this.isPopoverVisible=!1))}get shareableData$(){return(0,w.z)([this.debugInfoString$,this.debugInfoFile$,this.deviceService.isMobile$]).pipe((0,V.T)(([b,N])=>({title:"Versions-Information",text:b,files:[N]})))}get couldShare(){try{return navigator.canShare({title:"Debug-Informationen",text:""})}catch(b){return!1}}shareInfo$(){return this.shareableData$.pipe((0,L.Z)(b=>(0,U.H)(navigator.share(b)).pipe((0,le.W)(N=>{if(console.error(N),"AbortError"===(null==N?void 0:N.name))return(0,U.H)(this.toastController.create({...Hr,color:"warning",header:"Teilen abgebrochen ..."}).then(rt=>rt.present()));const{files:ie,...be}=b;return(0,U.H)(navigator.share(be))}))),(0,le.W)(b=>(console.error(b),(0,U.H)(this.toastController.create({...Hr,color:"danger",header:"Fehler beim Teilen ..."}).then(N=>N.present())))),(0,W.M)(()=>this.isPopoverVisible=!1))}}return(E=y).\u0275fac=function(b){return new(b||E)(Tn.rXU(ac.K_),Tn.rXU(lc.n),Tn.rXU(cs.l),Tn.rXU(ga.d),Tn.rXU(Wl.d),Tn.rXU(ia.g),Tn.rXU(El.o))},E.\u0275cmp=Tn.VBU({type:E,selectors:[["app-version-tag"]],viewQuery:function(b,N){if(1&b&&Tn.GBs(Cl,5),2&b){let ie;Tn.mGM(ie=Tn.lsd())&&(N.popover=ie.first)}},decls:8,vars:4,consts:[["popover",""],["id","version-text",3,"click"],[4,"ngIf"],["size","cover",3,"didDismiss","arrow","isOpen"],[1,"version-item-groups-container"],[1,"debug-title"],[1,"button-container"],["line","full",3,"title","compact","items"],[4,"appPlatform"],["icon","fa-solid fa-copy","fill","plain","size","small","expand","block","text","Kopieren",1,"copy-button",3,"click$"],["icon","fa-solid fa-arrow-up-from-bracket","fill","plain","size","small","expand","block","text","Teilen",3,"click$"],["line","full",3,"title","description","compact","items",4,"ngIf"],["line","full",3,"title","compact","items",4,"ngIf"],["line","full",3,"title","description","compact","items"]],template:function(b,N){if(1&b){const ie=Tn.RV6();Tn.j41(0,"div")(1,"div",1),Tn.bIt("click",function(rt){return Tn.eBV(ie),Tn.Njj(N.presentPopover(rt))}),Tn.j41(2,"p"),Tn.EFF(3),Tn.k0s(),Tn.DNE(4,lt,3,1,"ng-container",2),Tn.k0s(),Tn.j41(5,"ion-popover",3,0),Tn.bIt("didDismiss",function(){return Tn.eBV(ie),Tn.Njj(N.isPopoverVisible=!1)}),Tn.DNE(7,yi,9,27,"ng-template"),Tn.k0s()()}2&b&&(Tn.R7$(3),Tn.SpI("v",N.general.version,""),Tn.R7$(),Tn.Y8G("ngIf",N.general.versionHash),Tn.R7$(),Tn.Y8G("arrow",!1)("isOpen",N.isPopoverVisible))},dependencies:[xs.bT,ac.CF,io.Q,$l.B,pi._,Qi._],styles:["[_nghost-%COMP%]{display:block;align-self:center;max-width:100%;width:20rem;opacity:.5}#version-text[_ngcontent-%COMP%]{margin-block:.5rem;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:stretch}#version-text[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:0;padding:0}.debug-title[_ngcontent-%COMP%]{text-align:center}.button-container[_ngcontent-%COMP%]{margin-top:1rem;margin-bottom:2rem;display:flex;flex-direction:row;gap:1rem;place-items:center;place-content:center}.version-item-groups-container[_ngcontent-%COMP%]{background-color:var(--app-color-primary-light);max-height:70svh;overflow-y:auto}.version-item-groups-container[_ngcontent-%COMP%] app-item-group[_ngcontent-%COMP%]{--card-border-radius: 0}.version-item-groups-container[_ngcontent-%COMP%] app-item-group[_ngcontent-%COMP%] .main-label{margin-block:.25rem}.version-item-groups-container[_ngcontent-%COMP%] app-item-group[_ngcontent-%COMP%]:last-child{margin-bottom:0}"]}),y})()},3887:(wt,Se,u)=>{"use strict";u.d(Se,{G:()=>B});var a=u(177),s=u(803),w=u(5374),T=u(3955),x=u(8423),F=u(3953);let B=(()=>{var H;class V{}return(H=V).\u0275fac=function(U){return new(U||H)},H.\u0275mod=F.$C({type:H}),H.\u0275inj=F.G2t({imports:[a.MD,w.bv,s.iI,x.U,T.h]}),V})()},644:(wt,Se,u)=>{"use strict";u.d(Se,{c:()=>s});const s={basePath:"api",legacyRefreshTokenPath:"auth/refresh-facilioo",refreshTokenPath:"auth/refresh",ssoTokenPath:"auth/sso",defaultTermsUrl:"https://app.facilioo.de/gbt-customerapp.html",defaultImprintUrl:"https://app.facilioo.de/imprint.html",defaultPrivacyUrl:"https://app.facilioo.de/privacy.html",name:"production",production:!0,baseUrl:"https://api.facilioo.de",mediaURL:"https://app.versammlung.facilioo.de",featureFlags:{qrCodeInDescriptionParties:[9214,2532773]}}},3653:(wt,Se,u)=>{"use strict";u.d(Se,{$y:()=>s,rE:()=>a,ui:()=>w});const a="5.2.7",s="2026-08-21T07:37:06.947Z",w="71d88bf"},7627:(wt,Se,u)=>{"use strict";var a=u(345),s=u(3953),w=u(177),T=u(1626);const x=void 0,B=["de",[["AM","PM"],x,x],x,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xe4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],x,x],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}
1, {0}",x,"{1} 'um' {0}",x],[",",".",";","%","+","-","E","\xb7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","Euro",{ATS:["\xf6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[x,"\u0440."],CUC:[x,"Cub$"],DEM:["DM"],FKP:[x,"Fl\xa3"],GHS:[x,"\u20b5"],GNF:[x,"F.G."],KMF:[x,"FC"],PHP:[x,"\u20b1"],RON:[x,"L"],RUR:[x,"\u0440."],RWF:[x,"F.Rw"],SYP:[],THB:["\u0e3f"],TWD:["NT$"],XXX:[],ZMW:[x,"K"]},"ltr",function F(g){const f=Math.floor(Math.abs(g)),p=g.toString().replace(/^[^.]*\.?/,"").length;return 1===f&&0===p?1:5}],H=void 0,V=[[["Mitternacht","morgens","vorm.","mittags","nachm.","abends","nachts"],H,["Mitternacht","morgens","vormittags","mittags","nachmittags","abends","nachts"]],[["Mitternacht","Morgen","Vorm.","Mittag","Nachm.","Abend","Nacht"],H,["Mitternacht","Morgen","Vormittag","Mittag","Nachmittag","Abend","Nacht"]],["00:00",["05:00","10:00"],["10:00","12:00"],["12:00","13:00"],["13:00","18:00"],["18:00","24:00"],["00:00","05:00"]]];var L=u(9969);function q(g){return new s.wOt(3e3,!1)}function cr(g){switch(g.length){case 0:return new L.sf;case 1:return g[0];default:return new L.ui(g)}}function Yn(g,o,f=new Map,p=new Map){const _=[],I=[];let Y=-1,Q=null;if(o.forEach(X=>{const Te=X.get("offset"),_e=Te==Y,De=_e&&Q||new Map;X.forEach((xe,Ze)=>{let tt=Ze,ot=xe;if("offset"!==Ze)switch(tt=g.normalizePropertyName(tt,_),ot){case L.FX:ot=f.get(Ze);break;case L.kp:ot=p.get(Ze);break;default:ot=g.normalizeStyleValue(Ze,tt,ot,_)}De.set(tt,ot)}),_e||I.push(De),Q=De,Y=Te}),_.length)throw function se(g){return new s.wOt(3502,!1)}();return I}function Qn(g,o,f,p){switch(o){case"start":g.onStart(()=>p(f&&ht(f,"start",g)));break;case"done":g.onDone(()=>p(f&&ht(f,"done",g)));break;case"destroy":g.onDestroy(()=>p(f&&ht(f,"destroy",g)))}}function ht(g,o,f){const p=f.totalTime,I=Ot(g.element,g.triggerName,g.fromState,g.toState,o||g.phaseName,null==p?g.totalTime:p,!!f.disabled),Y=g._data;return null!=Y&&(I._data=Y),I}function Ot(g,o,f,p,_="",I=0,Y){return{element:g,triggerName:o,fromState:f,toState:p,phaseName:_,totalTime:I,disabled:!!Y}}function It(g,o,f){let p=g.get(o);return p||g.set(o,p=f),p}function Kt(g){const o=g.indexOf(":");return[g.substring(1,o),g.slice(o+1)]}const Zn=typeof document>"u"?null:document.documentElement;function Ir(g){const o=g.parentNode||g.host||null;return o===Zn?null:o}let $n=null,dn=!1;function Yr(g,o){for(;o;){if(o===g)return!0;o=Ir(o)}return!1}function li(g,o,f){if(f)return Array.from(g.querySelectorAll(o));const p=g.querySelector(o);return p?[p]:[]}let Lt=(()=>{var g;class o{validateStyleProperty(p){return function Ar(g){$n||($n=function wr(){return typeof document<"u"?document.body:null}()||{},dn=!!$n.style&&"WebkitAppearance"in $n.style);let o=!0;return $n.style&&!function Er(g){return"ebkit"==g.substring(1,6)}(g)&&(o=g in $n.style,!o&&dn&&(o="Webkit"+g.charAt(0).toUpperCase()+g.slice(1)in $n.style)),o}(p)}containsElement(p,_){return Yr(p,_)}getParentElement(p){return Ir(p)}query(p,_,I){return li(p,_,I)}computeStyle(p,_,I){return I||""}animate(p,_,I,Y,Q,X=[],Te){return new L.sf(I,Y)}}return(g=o).\u0275fac=function(p){return new(p||g)},g.\u0275prov=s.jDH({token:g,factory:g.\u0275fac}),o})();class rr{}rr.NOOP=new Lt;class Un{}const Bn=1e3,ti="ng-enter",ui="ng-leave",_i="ng-trigger",eo=".ng-trigger",Yt="ng-animating",Rt=".ng-animating";function tn(g){if("number"==typeof g)return g;const o=g.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:Pt(parseFloat(o[1]),o[2])}function Pt(g,o){return"s"===o?g*Bn:g}function Gt(g,o,f){return g.hasOwnProperty("duration")?g:function Nn(g,o,f){let _,I=0,Y="";if("string"==typeof g){const Q=g.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Q)return o.push(q()),{duration:0,delay:0,easing:""};_=Pt(parseFloat(Q[1]),Q[2]);const X=Q[3];null!=X&&(I=Pt(parseFloat(X),Q[4]));const Te=Q[5];Te&&(Y=Te)}else _=g;if(!f){let Q=!1,X=o.length;_<0&&(o.push(function we(){return new s.wOt(3100,!1)}()),Q=!0),I<0&&(o.push(function ue(){return new s.wOt(3101,!1)}()),Q=!0),Q&&o.splice(X,0,q())}return{duration:_,delay:I,easing:Y}}(g,o,f)}function ii(g,o,f){o.forEach((p,_)=>{const I=Qr(_);f&&!f.has(_)&&f.set(_,g.style[I]),g.style[I]=p})}function Kr(g,o){o.forEach((f,p)=>{const _=Qr(p);g.style[_]=""})}function xi(g){return Array.isArray(g)?1==g.length?g[0]:(0,L.K2)(g):g}const ao=new RegExp("{{\\s*(.+?)\\s*}}","g");function Oo(g){let o=[];if("string"==typeof g){let f;for(;f=ao.exec(g);)o.push(f[1]);ao.lastIndex=0}return o}function to(g,o,f){const p=`${g}`,_=p.replace(ao,(I,Y)=>{let Q=o[Y];return null==Q&&(f.push(function ge(g){return new s.wOt(3003,!1)}()),Q=""),Q.toString()});return _==p?g:_}const Fo=/-+([a-z0-9])/g;function Qr(g){return g.replace(Fo,(...o)=>o[1].toUpperCase())}function hi(g,o,f){switch(o.type){case L.If.Trigger:return g.visitTrigger(o,f);case L.If.State:return g.visitState(o,f);case L.If.Transition:return g.visitTransition(o,f);case L.If.Sequence:return g.visitSequence(o,f);case L.If.Group:return g.visitGroup(o,f);case L.If.Animate:return g.visitAnimate(o,f);case L.If.Keyframes:return g.visitKeyframes(o,f);case L.If.Style:return g.visitStyle(o,f);case L.If.Reference:return g.visitReference(o,f);case L.If.AnimateChild:return g.visitAnimateChild(o,f);case L.If.AnimateRef:return g.visitAnimateRef(o,f);case L.If.Query:return g.visitQuery(o,f);case L.If.Stagger:return g.visitStagger(o,f);default:throw function he(g){return new s.wOt(3004,!1)}()}}function no(g,o){return window.getComputedStyle(g)[o]}const ji=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 lo extends Un{normalizePropertyName(o,f){return Qr(o)}normalizeStyleValue(o,f,p,_){let I="";const Y=p.toString().trim();if(ji.has(f)&&0!==p&&"0"!==p)if("number"==typeof p)I="px";else{const Q=p.match(/^[+-]?[\d\.]+([a-z]*)$/);Q&&0==Q[1].length&&_.push(function Me(g,o){return new s.wOt(3005,!1)}())}return Y+I}}const ke="*";const or=new Set(["true","1"]),Fe=new Set(["false","0"]);function et(g,o){const f=or.has(g)||Fe.has(g),p=or.has(o)||Fe.has(o);return(_,I)=>{let Y=g==ke||g==_,Q=o==ke||o==I;return!Y&&f&&"boolean"==typeof _&&(Y=_?or.has(g):Fe.has(g)),!Q&&p&&"boolean"==typeof I&&(Q=I?or.has(o):Fe.has(o)),Y&&Q}}const Bt=new RegExp("s*:selfs*,?","g");function fn(g,o,f,p){return new ir(g).build(o,f,p)}class ir{constructor(o){this._driver=o}build(o,f,p){const _=new Tr(f);return this._resetContextStyleTimingState(_),hi(this,xi(o),_)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles=new Map,o.collectedStyles.set("",new Map),o.currentTime=0}visitTrigger(o,f){let p=f.queryCount=0,_=f.depCount=0;const I=[],Y=[];return"@"==o.name.charAt(0)&&f.errors.push(function $e(){return new s.wOt(3006,!1)}()),o.definitions.forEach(Q=>{if(this._resetContextStyleTimingState(f),Q.type==L.If.State){const X=Q,Te=X.name;
1Te.toString().split(/\s*,\s*/).forEach(_e=>{X.name=_e,I.push(this.visitState(X,f))}),X.name=Te}else if(Q.type==L.If.Transition){const X=this.visitTransition(Q,f);p+=X.queryCount,_+=X.depCount,Y.push(X)}else f.errors.push(function Pe(){return new s.wOt(3007,!1)}())}),{type:L.If.Trigger,name:o.name,states:I,transitions:Y,queryCount:p,depCount:_,options:null}}visitState(o,f){const p=this.visitStyle(o.styles,f),_=o.options&&o.options.params||null;if(p.containsDynamicStyles){const I=new Set,Y=_||{};p.styles.forEach(Q=>{Q instanceof Map&&Q.forEach(X=>{Oo(X).forEach(Te=>{Y.hasOwnProperty(Te)||I.add(Te)})})}),I.size&&f.errors.push(function Re(g,o){return new s.wOt(3008,!1)}(0,I.values()))}return{type:L.If.State,name:o.name,style:p,options:_?{params:_}:null}}visitTransition(o,f){f.queryCount=0,f.depCount=0;const p=hi(this,xi(o.animation),f),_=function Tt(g,o){const f=[];return"string"==typeof g?g.split(/\s*,\s*/).forEach(p=>function Zt(g,o,f){if(":"==g[0]){const X=function In(g,o){switch(g){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(f,p)=>parseFloat(p)>parseFloat(f);case":decrement":return(f,p)=>parseFloat(p)<parseFloat(f);default:return o.push(function fe(g){return new s.wOt(3016,!1)}()),"* => *"}}(g,f);if("function"==typeof X)return void o.push(X);g=X}const p=g.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==p||p.length<4)return f.push(function ze(g){return new s.wOt(3015,!1)}()),o;const _=p[1],I=p[2],Y=p[3];o.push(et(_,Y)),"<"==I[0]&&(_!=ke||Y!=ke)&&o.push(et(Y,_))}(p,f,o)):f.push(g),f}(o.expr,f.errors);return{type:L.If.Transition,matchers:_,animation:p,queryCount:f.queryCount,depCount:f.depCount,options:Ui(o.options)}}visitSequence(o,f){return{type:L.If.Sequence,steps:o.steps.map(p=>hi(this,p,f)),options:Ui(o.options)}}visitGroup(o,f){const p=f.currentTime;let _=0;const I=o.steps.map(Y=>{f.currentTime=p;const Q=hi(this,Y,f);return _=Math.max(_,f.currentTime),Q});return f.currentTime=_,{type:L.If.Group,steps:I,options:Ui(o.options)}}visitAnimate(o,f){const p=function Pi(g,o){if(g.hasOwnProperty("duration"))return g;if("number"==typeof g)return yo(Gt(g,o).duration,0,"");const f=g;if(f.split(/\s+/).some(I=>"{"==I.charAt(0)&&"{"==I.charAt(1))){const I=yo(0,0,"");return I.dynamic=!0,I.strValue=f,I}const _=Gt(f,o);return yo(_.duration,_.delay,_.easing)}(o.timings,f.errors);f.currentAnimateTimings=p;let _,I=o.styles?o.styles:(0,L.iF)({});if(I.type==L.If.Keyframes)_=this.visitKeyframes(I,f);else{let Y=o.styles,Q=!1;if(!Y){Q=!0;const Te={};p.easing&&(Te.easing=p.easing),Y=(0,L.iF)(Te)}f.currentTime+=p.duration+p.delay;const X=this.visitStyle(Y,f);X.isEmptyStep=Q,_=X}return f.currentAnimateTimings=null,{type:L.If.Animate,timings:p,style:_,options:null}}visitStyle(o,f){const p=this._makeStyleAst(o,f);return this._validateStyleAst(p,f),p}_makeStyleAst(o,f){const p=[],_=Array.isArray(o.styles)?o.styles:[o.styles];for(let Q of _)"string"==typeof Q?Q===L.kp?p.push(Q):f.errors.push(new s.wOt(3002,!1)):p.push(new Map(Object.entries(Q)));let I=!1,Y=null;return p.forEach(Q=>{if(Q instanceof Map&&(Q.has("easing")&&(Y=Q.get("easing"),Q.delete("easing")),!I))for(let X of Q.values())if(X.toString().indexOf("{{")>=0){I=!0;break}}),{type:L.If.Style,styles:p,easing:Y,offset:o.offset,containsDynamicStyles:I,options:null}}_validateStyleAst(o,f){const p=f.currentAnimateTimings;let _=f.currentTime,I=f.currentTime;p&&I>0&&(I-=p.duration+p.delay),o.styles.forEach(Y=>{"string"!=typeof Y&&Y.forEach((Q,X)=>{const Te=f.collectedStyles.get(f.currentQuerySelector),_e=Te.get(X);let De=!0;_e&&(I!=_&&I>=_e.startTime&&_<=_e.endTime&&(f.errors.push(function We(g,o,f,p,_){return new s.wOt(3010,!1)}()),De=!1),I=_e.startTime),De&&Te.set(X,{startTime:I,endTime:_}),f.options&&function Fi(g,o,f){const p=o.params||{},_=Oo(g);_.length&&_.forEach(I=>{p.hasOwnProperty(I)||f.push(function Ie(g){return new s.wOt(3001,!1)}())})}(Q,f.options,f.errors)})})}visitKeyframes(o,f){const p={type:L.If.Keyframes,styles:[],options:null};if(!f.currentAnimateTimings)return f.errors.push(function Ae(){return new s.wOt(3011,!1)}()),p;let I=0;const Y=[];let Q=!1,X=!1,Te=0;const _e=o.steps.map(Xe=>{const Ct=this._makeStyleAst(Xe,f);let gt=null!=Ct.offset?Ct.offset:function Bi(g){if("string"==typeof g)return null;let o=null;if(Array.isArray(g))g.forEach(f=>{if(f instanceof Map&&f.has("offset")){const p=f;o=parseFloat(p.get("offset")),p.delete("offset")}});else if(g instanceof Map&&g.has("offset")){const f=g;o=parseFloat(f.get("offset")),f.delete("offset")}return o}(Ct.styles),Ut=0;return null!=gt&&(I++,Ut=Ct.offset=gt),X=X||Ut<0||Ut>1,Q=Q||Ut<Te,Te=Ut,Y.push(Ut),Ct});X&&f.errors.push(function k(){return new s.wOt(3012,!1)}()),Q&&f.errors.push(function z(){return new s.wOt(3200,!1)}());const De=o.steps.length;let xe=0;I>0&&I<De?f.errors.push(function ce(){return new s.wOt(3202,!1)}()):0==I&&(xe=1/(De-1));const Ze=De-1,tt=f.currentTime,ot=f.currentAnimateTimings,Et=ot.duration;return _e.forEach((Xe,Ct)=>{const gt=xe>0?Ct==Ze?1:xe*Ct:Y[Ct],Ut=gt*Et;
1f.currentTime=tt+ot.delay+Ut,ot.duration=Ut,this._validateStyleAst(Xe,f),Xe.offset=gt,p.styles.push(Xe)}),p}visitReference(o,f){return{type:L.If.Reference,animation:hi(this,xi(o.animation),f),options:Ui(o.options)}}visitAnimateChild(o,f){return f.depCount++,{type:L.If.AnimateChild,options:Ui(o.options)}}visitAnimateRef(o,f){return{type:L.If.AnimateRef,animation:this.visitReference(o.animation,f),options:Ui(o.options)}}visitQuery(o,f){const p=f.currentQuerySelector,_=o.options||{};f.queryCount++,f.currentQuery=o;const[I,Y]=function er(g){const o=!!g.split(/\s*,\s*/).find(f=>":self"==f);return o&&(g=g.replace(Bt,"")),g=g.replace(/@\*/g,eo).replace(/@\w+/g,f=>eo+"-"+f.slice(1)).replace(/:animating/g,Rt),[g,o]}(o.selector);f.currentQuerySelector=p.length?p+" "+I:I,It(f.collectedStyles,f.currentQuerySelector,new Map);const Q=hi(this,xi(o.animation),f);return f.currentQuery=null,f.currentQuerySelector=p,{type:L.If.Query,selector:I,limit:_.limit||0,optional:!!_.optional,includeSelf:Y,animation:Q,originalSelector:o.selector,options:Ui(o.options)}}visitStagger(o,f){f.currentQuery||f.errors.push(function pe(){return new s.wOt(3013,!1)}());const p="full"===o.timings?{duration:0,delay:0,easing:"full"}:Gt(o.timings,f.errors,!0);return{type:L.If.Stagger,animation:hi(this,xi(o.animation),f),timings:p,options:null}}}class Tr{constructor(o){this.errors=o,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 Ui(g){return g?(g={...g}).params&&(g.params=function Wr(g){return g?{...g}:null}(g.params)):g={},g}function yo(g,o,f){return{duration:g,delay:o,easing:f}}function uo(g,o,f,p,_,I,Y=null,Q=!1){return{type:1,element:g,keyframes:o,preStyleProps:f,postStyleProps:p,duration:_,delay:I,totalTime:_+I,easing:Y,subTimeline:Q}}class Ni{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,f){let p=this._map.get(o);p||this._map.set(o,p=[]),p.push(...f)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const tr=new RegExp(":enter","g"),St=new RegExp(":leave","g");function zt(g,o,f,p,_,I=new Map,Y=new Map,Q,X,Te=[]){return(new Ln).buildKeyframes(g,o,f,p,_,I,Y,Q,X,Te)}class Ln{buildKeyframes(o,f,p,_,I,Y,Q,X,Te,_e=[]){Te=Te||new Ni;const De=new R(o,f,Te,_,I,_e,[]);De.options=X;const xe=X.delay?tn(X.delay):0;De.currentTimeline.delayNextStep(xe),De.currentTimeline.setStyles([Y],null,De.errors,X),hi(this,p,De);const Ze=De.timelines.filter(tt=>tt.containsAnimation());if(Ze.length&&Q.size){let tt;for(let ot=Ze.length-1;ot>=0;ot--){const Et=Ze[ot];if(Et.element===f){tt=Et;break}}tt&&!tt.allowOnlyTimelineStyles()&&tt.setStyles([Q],null,De.errors,X)}return Ze.length?Ze.map(tt=>tt.buildKeyframes()):[uo(f,[],[],[],0,xe,"",!1)]}visitTrigger(o,f){}visitState(o,f){}visitTransition(o,f){}visitAnimateChild(o,f){const p=f.subInstructions.get(f.element);if(p){const _=f.createSubContext(o.options),I=f.currentTimeline.currentTime,Y=this._visitSubInstructions(p,_,_.options);I!=Y&&f.transformIntoNewTimeline(Y)}f.previousNode=o}visitAnimateRef(o,f){const p=f.createSubContext(o.options);p.transformIntoNewTimeline(),this._applyAnimationRefDelays([o.options,o.animation.options],f,p),this.visitReference(o.animation,p),f.transformIntoNewTimeline(p.currentTimeline.currentTime),f.previousNode=o}_applyAnimationRefDelays(o,f,p){for(const I of o){const Y=null==I?void 0:I.delay;if(Y){var _;const Q="number"==typeof Y?Y:tn(to(Y,null!==(_=null==I?void 0:I.params)&&void 0!==_?_:{},f.errors));p.delayNextStep(Q)}}}_visitSubInstructions(o,f,p){let I=f.currentTimeline.currentTime;const Y=null!=p.duration?tn(p.duration):null,Q=null!=p.delay?tn(p.delay):null;return 0!==Y&&o.forEach(X=>{const Te=f.appendInstructionToTimeline(X,Y,Q);I=Math.max(I,Te.duration+Te.delay)}),I}visitReference(o,f){f.updateOptions(o.options,!0),hi(this,o.animation,f),f.previousNode=o}visitSequence(o,f){const p=f.subContextCount;let _=f;const I=o.options;if(I&&(I.params||I.delay)&&(_=f.createSubContext(I),_.transformIntoNewTimeline(),null!=I.delay)){_.previousNode.type==L.If.Style&&(_.currentTimeline.snapshotCurrentStyles(),_.previousNode=kr);const Y=tn(I.delay);_.delayNextStep(Y)}o.steps.length&&(o.steps.forEach(Y=>hi(this,Y,_)),_.currentTimeline.applyStylesToKeyframe(),_.subContextCount>p&&_.transformIntoNewTimeline()),f.previousNode=o}visitGroup(o,f){const p=[];let _=f.currentTimeline.currentTime;const I=o.options&&o.options.delay?tn(o.options.delay):0;o.steps.forEach(Y=>{const Q=f.createSubContext(o.options);I&&Q.delayNextStep(I),hi(this,Y,Q),_=Math.max(_,Q.currentTimeline.currentTime),p.push(Q.currentTimeline)}),p.forEach(Y=>f.currentTimeline.mergeTimelineCollectedStyles(Y)),f.transformIntoNewTimeline(_),f.previousNode=o}_visitTiming(o,f){if(o.dynamic){const p=o.strValue;return Gt(f.params?to(p,f.params,f.errors):p,f.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,f){const p=f.currentAnimateTimings=this._visitTiming(o.timings,f),_=f.currentTimeline;p.delay&&(f.incrementTime(p.delay),_.snapshotCurrentStyles());const I=o.style;I.type==L.If.Keyframes?this.visitKeyframes(I,f):(f.incrementTime(p.duration),this.visitStyle(I,f),_.applyStylesToKeyframe()),f.currentAnimateTimings=null,f.previousNode=o}visitStyle(o,f){const p=f.currentTimeline,_=f.currentAnimateTimings;!_&&p.hasCurrentStyleProperties()&&p.forwardFrame();const I=_&&_.easing||o.easing;o.isEmptyStep?p.applyEmptyStep(I):p.setStyles(o.styles,I,f.errors,f.options),f.previousNode=o}visitKeyframes(o,f){const p=f.currentAnimateTimings,_=f.currentTimeline.duration,I=p.duration,Q=f.createSubContext().currentTimeline;
1Q.easing=p.easing,o.styles.forEach(X=>{Q.forwardTime((X.offset||0)*I),Q.setStyles(X.styles,X.easing,f.errors,f.options),Q.applyStylesToKeyframe()}),f.currentTimeline.mergeTimelineCollectedStyles(Q),f.transformIntoNewTimeline(_+I),f.previousNode=o}visitQuery(o,f){const p=f.currentTimeline.currentTime,_=o.options||{},I=_.delay?tn(_.delay):0;I&&(f.previousNode.type===L.If.Style||0==p&&f.currentTimeline.hasCurrentStyleProperties())&&(f.currentTimeline.snapshotCurrentStyles(),f.previousNode=kr);let Y=p;const Q=f.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!_.optional,f.errors);f.currentQueryTotal=Q.length;let X=null;Q.forEach((Te,_e)=>{f.currentQueryIndex=_e;const De=f.createSubContext(o.options,Te);I&&De.delayNextStep(I),Te===f.element&&(X=De.currentTimeline),hi(this,o.animation,De),De.currentTimeline.applyStylesToKeyframe(),Y=Math.max(Y,De.currentTimeline.currentTime)}),f.currentQueryIndex=0,f.currentQueryTotal=0,f.transformIntoNewTimeline(Y),X&&(f.currentTimeline.mergeTimelineCollectedStyles(X),f.currentTimeline.snapshotCurrentStyles()),f.previousNode=o}visitStagger(o,f){const p=f.parentContext,_=f.currentTimeline,I=o.timings,Y=Math.abs(I.duration),Q=Y*(f.currentQueryTotal-1);let X=Y*f.currentQueryIndex;switch(I.duration<0?"reverse":I.easing){case"reverse":X=Q-X;break;case"full":X=p.currentStaggerTime}const _e=f.currentTimeline;X&&_e.delayNextStep(X);const De=_e.currentTime;hi(this,o.animation,f),f.previousNode=o,p.currentStaggerTime=_.currentTime-De+(_.startTime-p.currentTimeline.startTime)}}const kr={};class R{constructor(o,f,p,_,I,Y,Q,X){this._driver=o,this.element=f,this.subInstructions=p,this._enterClassName=_,this._leaveClassName=I,this.errors=Y,this.timelines=Q,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=kr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=X||new Ee(this._driver,f,0),Q.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,f){if(!o)return;const p=o;let _=this.options;null!=p.duration&&(_.duration=tn(p.duration)),null!=p.delay&&(_.delay=tn(p.delay));const I=p.params;if(I){let Y=_.params;Y||(Y=this.options.params={}),Object.keys(I).forEach(Q=>{(!f||!Y.hasOwnProperty(Q))&&(Y[Q]=to(I[Q],Y,this.errors))})}}_copyOptions(){const o={};if(this.options){const f=this.options.params;if(f){const p=o.params={};Object.keys(f).forEach(_=>{p[_]=f[_]})}}return o}createSubContext(o=null,f,p){const _=f||this.element,I=new R(this._driver,_,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(_,p||0));return I.previousNode=this.previousNode,I.currentAnimateTimings=this.currentAnimateTimings,I.options=this._copyOptions(),I.updateOptions(o),I.currentQueryIndex=this.currentQueryIndex,I.currentQueryTotal=this.currentQueryTotal,I.parentContext=this,this.subContextCount++,I}transformIntoNewTimeline(o){return this.previousNode=kr,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,f,p){const _={duration:null!=f?f:o.duration,delay:this.currentTimeline.currentTime+(null!=p?p:0)+o.delay,easing:""},I=new Ke(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,_,o.stretchStartingKeyframe);return this.timelines.push(I),_}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,f,p,_,I,Y){let Q=[];if(_&&Q.push(this.element),o.length>0){o=(o=o.replace(tr,"."+this._enterClassName)).replace(St,"."+this._leaveClassName);let Te=this._driver.query(this.element,o,1!=p);0!==p&&(Te=p<0?Te.slice(Te.length+p,Te.length):Te.slice(0,p)),Q.push(...Te)}return!I&&0==Q.length&&Y.push(function ve(g){return new s.wOt(3014,!1)}()),Q}}class Ee{constructor(o,f,p,_){this._driver=o,this.element=f,this.startTime=p,this._elementTimelineStylesLookup=_,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=ne
1w Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(f),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(f,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(o){const f=1===this._keyframes.size&&this._pendingStyles.size;this.duration||f?(this.forwardTime(this.currentTime+o),f&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,f){return this.applyStylesToKeyframe(),new Ee(this._driver,o,f||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(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,f){this._localTimelineStyles.set(o,f),this._globalTimelineStyles.set(o,f),this._styleSummary.set(o,{time:this.currentTime,value:f})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&this._previousKeyframe.set("easing",o);for(let[f,p]of this._globalTimelineStyles)this._backFill.set(f,p||L.kp),this._currentKeyframe.set(f,L.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,f,p,_){f&&this._previousKeyframe.set("easing",f);const I=_&&_.params||{},Y=function qe(g,o){const f=new Map;let p;return g.forEach(_=>{if("*"===_){var I;null!==(I=p)&&void 0!==I||(p=o.keys());for(let Y of p)f.set(Y,L.kp)}else for(let[Y,Q]of _)f.set(Y,Q)}),f}(o,this._globalTimelineStyles);for(let[X,Te]of Y){const _e=to(Te,I,p);var Q;this._pendingStyles.set(X,_e),this._localTimelineStyles.has(X)||this._backFill.set(X,null!==(Q=this._globalTimelineStyles.get(X))&&void 0!==Q?Q:L.kp),this._updateStyle(X,_e)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((o,f)=>{this._currentKeyframe.set(f,o)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((o,f)=>{this._currentKeyframe.has(f)||this._currentKeyframe.set(f,o)}))}snapshotCurrentStyles(){for(let[o,f]of this._localTimelineStyles)this._pendingStyles.set(o,f),this._updateStyle(o,f)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let f in this._currentKeyframe)o.push(f);return o}
1mergeTimelineCollectedStyles(o){o._styleSummary.forEach((f,p)=>{const _=this._styleSummary.get(p);(!_||f.time>_.time)&&this._updateStyle(p,f.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,f=new Set,p=1===this._keyframes.size&&0===this.duration;let _=[];this._keyframes.forEach((Q,X)=>{const Te=new Map([...this._backFill,...Q]);Te.forEach((_e,De)=>{_e===L.FX?o.add(De):_e===L.kp&&f.add(De)}),p||Te.set("offset",X/this.duration),_.push(Te)});const I=[...o.values()],Y=[...f.values()];if(p){const Q=_[0],X=new Map(Q);Q.set("offset",0),X.set("offset",1),_=[Q,X]}return uo(this.element,_,I,Y,this.duration,this.startTime,this.easing,!1)}}class Ke extends Ee{constructor(o,f,p,_,I,Y,Q=!1){super(o,f,Y.delay),this.keyframes=p,this.preStyleProps=_,this.postStyleProps=I,this._stretchStartingKeyframe=Q,this.timings={duration:Y.duration,delay:Y.delay,easing:Y.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:f,duration:p,easing:_}=this.timings;if(this._stretchStartingKeyframe&&f){const I=[],Y=p+f,Q=f/Y,X=new Map(o[0]);X.set("offset",0),I.push(X);const Te=new Map(o[0]);Te.set("offset",G(Q)),I.push(Te);const _e=o.length-1;for(let De=1;De<=_e;De++){let xe=new Map(o[De]);const Ze=xe.get("offset");xe.set("offset",G((f+Ze*p)/Y)),I.push(xe)}p=Y,f=0,_="",o=I}return uo(this.element,o,this.preStyleProps,this.postStyleProps,p,f,_,!0)}}function G(g,o=3){const f=Math.pow(10,o-1);return Math.round(g*f)/f}function kt(g,o,f,p,_,I,Y,Q,X,Te,_e,De,xe){return{type:0,element:g,triggerName:o,isRemovalTransition:_,fromState:f,fromStyles:I,toState:p,toStyles:Y,timelines:Q,queriedElements:X,preStyleProps:Te,postStyleProps:_e,totalTime:De,errors:xe}}const Mi={};class bo{constructor(o,f,p){this._triggerName=o,this.ast=f,this._stateStyles=p}match(o,f,p,_){return function ra(g,o,f,p,_){return g.some(I=>I(o,f,p,_))}(this.ast.matchers,o,f,p,_)}buildStyles(o,f,p){let _=this._stateStyles.get("*");return void 0!==o&&(_=this._stateStyles.get(null==o?void 0:o.toString())||_),_?_.buildStyles(f,p):new Map}build(o,f,p,_,I,Y,Q,X,Te,_e){var De;const xe=[],Ze=this.ast.options&&this.ast.options.params||Mi,ot=this.buildStyles(p,Q&&Q.params||Mi,xe),Et=X&&X.params||Mi,Xe=this.buildStyles(_,Et,xe),Ct=new Set,gt=new Map,Ut=new Map,_n="void"===_,nr={params:$o(Et,Ze),delay:null===(De=this.ast.options)||void 0===De?void 0:De.delay},zn=_e?[]:zt(o,f,this.ast.animation,I,Y,ot,Xe,nr,Te,xe);let gn=0;return zn.forEach(sn=>{gn=Math.max(sn.duration+sn.delay,gn)}),xe.length?kt(f,this._triggerName,p,_,_n,ot,Xe,[],[],gt,Ut,gn,xe):(zn.forEach(sn=>{const an=sn.element,Gn=It(gt,an,new Set);sn.preStyleProps.forEach(cn=>Gn.add(cn));const rn=It(Ut,an,new Set);sn.postStyleProps.forEach(cn=>rn.add(cn)),an!==f&&Ct.add(an)}),kt(f,this._triggerName,p,_,_n,ot,Xe,zn,[...Ct.values()],gt,Ut,gn))}}function $o(g,o){const f={...o};return Object.entries(g).forEach(([p,_])=>{null!=_&&(f[p]=_)}),f}class Ks{constructor(o,f,p){this.styles=o,this.defaultParams=f,this.normalizer=p}buildStyles(o,f){const p=new Map,_=$o(o,this.defaultParams);return this.styles.styles.forEach(I=>{"string"!=typeof I&&I.forEach((Y,Q)=>{Y&&(Y=to(Y,_,f));const X=this.normalizer.normalizePropertyName(Q,f);Y=this.normalizer.normalizeStyleValue(Q,X,Y,f),p.set(Q,Y)})}),p}}class Ea{constructor(o,f,p){this.name=o,this.ast=f,this._normalizer=p,this.transitionFactories=[],this.states=new Map,f.states.forEach(_=>{this.states.set(_.name,new Ks(_.style,_.options&&_.options.params||{},p))}),Xs(this.states,"true","1"),Xs(this.states,"false","0"),f.transitions.forEach(_=>{this.transitionFactories.push(new bo(o,_,this.states))}),this.fallbackTransition=function Ms(g,o,f){return new bo(g,{type:L.If.Transition,animation:{type:L.If.Sequence,steps:[],options:null},matchers:[(Y,Q)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,f,p,_){return this.transitionFactories.find(Y=>Y.match(o,f,p,_))||null}matchStyles(o,f,p){return this.fallbackTransition.buildStyles(o,f,p)}}function Xs(g,o,f){g.has(o)?g.has(f)||g.set(f,g.get(o)):g.has(f)&&g.set(o,g.get(f))}const Ca=new Ni;class Hi{constructor(o,f,p){this.bodyNode=o,this._driver=f,this._normalizer=p,this._animations=new Map,this._playersById=new Map,this.players=[]}register(o,f){const p=[],I=fn(this._driver,f,p,[]);if(p.length)throw function Ce(g){return new s.wOt(3503,!1)}();this._animations.set(o,I)}_buildPlayer(o,f,p){const _=o.element,I=Yn(this._normalizer,o.keyframes,f,p);return this._driver.animate(_,I,o.duration,o.delay,o.easing,[],!0)}create(o,f,p={}){const _=[],I=this._animations.get(o);let Y;const Q=new Map;if(I?(Y=zt(this._driver,f,I,ti,ui,new Map,new Map,p,Ca,_),Y.forEach(_e=>{const De=It(Q,_e.element,new Map);_e.postStyleProps.forEach(xe=>De.set(xe,null))})):(_.push(function at(){return new s.wOt(3300,!1)}()),Y=[]),_.length)throw function pt(g){return new s.wOt(3504,!1)}();Q.forEach((_e,De)=>{_e.forEach((xe,Ze)=>{_e.set(Ze,this._driver.computeStyle(De,Ze,L.kp))})});const Te=cr(Y.map(_e=>{const De=Q.get(_e.element);return this._buildPlayer(_e,new Map,De)}));return this._playersById.set(o,Te),Te.onDestroy(()=>this.destroy(o)),this.players.push(Te),Te}destroy(o){const f=this._getPlayer(o);f.destroy(),this._playersById.delete(o);const p=this.players.indexOf(f);p>=0&&this.players.splice(p,1)}_getPlayer(o){const f=this._playersById.get(o);if(!f)throw function ct(g){return new s.wOt(3301,!1)}();return f}listen(o,f,p,_){const I=Ot(f,"","","");return Qn(this._getPlayer(o),p,I,_),()=>{}}command(o,f,p,_){if("register"==p)return void this.register(o,_[0]);if("create"==p)return void this.create(o,f,_[0]||{});const I=this._getPlayer(o);switch(p){case"play":I.play();break;case"pause":I.pause();break;case"reset":I.reset();break;case"restart":I.restart();break;case"finish":I.finish();break;case"init":I.init();break;case"setPosition":I.setPosition(parseFloat(_[0]));break;
1case"destroy":this.destroy(o)}}}const fi="ng-animate-queued",Ve="ng-animate-disabled",$t=[],bn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ln="__ng_removed";class An{get params(){return this.options.params}constructor(o,f=""){this.namespaceId=f;const p=o&&o.hasOwnProperty("value");if(this.value=function so(g){return null!=g?g:null}(p?o.value:o),p){const{value:I,...Y}=o;this.options=Y}else this.options={};this.options.params||(this.options.params={})}absorbOptions(o){const f=o.params;if(f){const p=this.options.params;Object.keys(f).forEach(_=>{null==p[_]&&(p[_]=f[_])})}}}const pr="void",Cr=new An(pr);class Or{constructor(o,f,p){this.id=o,this.hostElement=f,this._engine=p,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,Ai(f,this._hostClassName)}listen(o,f,p,_){if(!this._triggers.has(f))throw function jt(g,o){return new s.wOt(3302,!1)}();if(null==p||0==p.length)throw function jn(g){return new s.wOt(3303,!1)}();if(!function Co(g){return"start"==g||"done"==g}(p))throw function mn(g,o){return new s.wOt(3400,!1)}();const I=It(this._elementListeners,o,[]),Y={name:f,phase:p,callback:_};I.push(Y);const Q=It(this._engine.statesByElement,o,new Map);return Q.has(f)||(Ai(o,_i),Ai(o,_i+"-"+f),Q.set(f,Cr)),()=>{this._engine.afterFlush(()=>{const X=I.indexOf(Y);X>=0&&I.splice(X,1),this._triggers.has(f)||Q.delete(f)})}}register(o,f){return!this._triggers.has(o)&&(this._triggers.set(o,f),!0)}_getTrigger(o){const f=this._triggers.get(o);if(!f)throw function lr(g){return new s.wOt(3401,!1)}();return f}trigger(o,f,p,_=!0){const I=this._getTrigger(f),Y=new Gi(this.id,f,o);let Q=this._engine.statesByElement.get(o);Q||(Ai(o,_i),Ai(o,_i+"-"+f),this._engine.statesByElement.set(o,Q=new Map));let X=Q.get(f);const Te=new An(p,this.id);if(!(p&&p.hasOwnProperty("value"))&&X&&Te.absorbOptions(X.options),Q.set(f,Te),X||(X=Cr),Te.value!==pr&&X.value===Te.value){if(!function Ys(g,o){const f=Object.keys(g),p=Object.keys(o);if(f.length!=p.length)return!1;for(let _=0;_<f.length;_++){const I=f[_];if(!o.hasOwnProperty(I)||g[I]!==o[I])return!1}return!0}(X.params,Te.params)){const ot=[],Et=I.matchStyles(X.value,X.params,ot),Xe=I.matchStyles(Te.value,Te.params,ot);ot.length?this._engine.reportError(ot):this._engine.afterFlush(()=>{Kr(o,Et),ii(o,Xe)})}return}const xe=It(this._engine.playersByElement,o,[]);xe.forEach(ot=>{ot.namespaceId==this.id&&ot.triggerName==f&&ot.queued&&ot.destroy()});let Ze=I.matchTransition(X.value,Te.value,o,Te.params),tt=!1;if(!Ze){if(!_)return;Ze=I.fallbackTransition,tt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:f,transition:Ze,fromState:X,toState:Te,player:Y,isFallbackTransition:tt}),tt||(Ai(o,fi),Y.onStart(()=>{bs(o,fi)})),Y.onDone(()=>{let ot=this.players.indexOf(Y);ot>=0&&this.players.splice(ot,1);const Et=this._engine.playersByElement.get(o);if(Et){let Xe=Et.indexOf(Y);Xe>=0&&Et.splice(Xe,1)}}),this.players.push(Y),xe.push(Y),Y}deregister(o){this._triggers.delete(o),this._engine.statesByElement.forEach(f=>f.delete(o)),this._elementListeners.forEach((f,p)=>{this._elementListeners.set(p,f.filter(_=>_.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const f=this._engine.playersByElement.get(o);f&&(f.forEach(p=>p.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,f){const p=this._engine.driver.query(o,eo,!0);p.forEach(_=>{if(_[ln])return;const I=this._engine.fetchNamespacesByElement(_);I.size?I.forEach(Y=>Y.triggerLeaveAnimation(_,f,!1,!0)):this.clearElementCache(_)}),this._engine.afterFlushAnimationsDone(()=>p.forEach(_=>this.clearElementCache(_)))}triggerLeaveAnimation(o,f,p,_){const I=this._engine.statesByElement.get(o),Y=new Map;if(I){const Q=[];if(I.forEach((X,Te)=>{if(Y.set(Te,X.value),this._triggers.has(Te)){const _e=this.trigger(o,Te,pr,_);_e&&Q.push(_e)}}),Q.length)return this._engine.markElementAsRemoved(this.id,o,!0,f,Y),p&&cr(Q).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const f=this._elementListeners.get(o),p=this._engine.statesByElement.get(o);if(f&&p){const _=new Set;f.forEach(I=>{const Y=I.name;if(_.has(Y))return;_.add(Y);const X=this._triggers.get(Y).fallbackTransition,Te=p.get(Y)||Cr,_e=new An(pr),De=new Gi(this.id,Y,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:Y,transition:X,fromState:Te,toState:_e,player:De,isFallbackTransition:!0})})}}removeNode(o,f){const p=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,f),this.triggerLeaveAnimation(o,f,!0))return;let _=!1;if(p.totalAnimations){const I=p.players.length?p.playersByQueriedElement.get(o):[];if(I&&I.length)_=!0;else{let Y=o;for(;Y=Y.parentNode;)if(p.statesByElement.get(Y)){_=!0;break}}}if(this.prepareLeaveAnimationListeners(o),_)p.markElementAsRemoved(this.id,o,!1,f);else{const I=o[ln];(!I||I===bn)&&(p.afterFlush(()=>this.clearElementCache(o)),p.destroyInnerAnimations(o),p._onRemovalComplete(o,f))}}insertNode(o,f){Ai(o,this._hostClassName)}drainQueuedTransitions(o){const f=[];return this._queue.forEach(p=>{const _=p.player;if(_.destroyed)return;const I=p.element,Y=this._elementListeners.get(I);Y&&Y.forEach(Q=>{if(Q.name==p.triggerName){const X=Ot(I,p.triggerName,p.fromState.value,p.toState.value);X._data=o,Qn(p.player,Q.phase,X,Q.callback)}}),_.markedForDestroy?this._engine.afterFlush(()=>{_.destroy()}):f.push(p)}),this._queue=[],f.sort((p,_)=>{const I=p.transition.ast.depCount,Y=_.transition.ast.depCount;return 0==I||0==Y?I-Y:this._engine.driver.containsElement(p.element,_.element)?1:-1})}
1destroy(o){this.players.forEach(f=>f.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}}class Rr{_onRemovalComplete(o,f){this.onRemovalComplete(o,f)}constructor(o,f,p){this.bodyNode=o,this.driver=f,this._normalizer=p,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=(_,I)=>{}}get queuedPlayers(){const o=[];return this._namespaceList.forEach(f=>{f.players.forEach(p=>{p.queued&&o.push(p)})}),o}createNamespace(o,f){const p=new Or(o,f,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,f)?this._balanceNamespaceList(p,f):(this.newHostElements.set(f,p),this.collectEnterElement(f)),this._namespaceLookup[o]=p}_balanceNamespaceList(o,f){const p=this._namespaceList,_=this.namespacesByHostElement;if(p.length-1>=0){let Y=!1,Q=this.driver.getParentElement(f);for(;Q;){const X=_.get(Q);if(X){const Te=p.indexOf(X);p.splice(Te+1,0,o),Y=!0;break}Q=this.driver.getParentElement(Q)}Y||p.unshift(o)}else p.push(o);return _.set(f,o),o}register(o,f){let p=this._namespaceLookup[o];return p||(p=this.createNamespace(o,f)),p}registerTrigger(o,f,p){let _=this._namespaceLookup[o];_&&_.register(f,p)&&this.totalAnimations++}destroy(o,f){o&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const p=this._fetchNamespace(o);this.namespacesByHostElement.delete(p.hostElement);const _=this._namespaceList.indexOf(p);_>=0&&this._namespaceList.splice(_,1),p.destroy(f),delete this._namespaceLookup[o]}))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const f=new Set,p=this.statesByElement.get(o);if(p)for(let _ of p.values())if(_.namespaceId){const I=this._fetchNamespace(_.namespaceId);I&&f.add(I)}return f}trigger(o,f,p,_){if(Eo(f)){const I=this._fetchNamespace(o);if(I)return I.trigger(f,p,_),!0}return!1}insertNode(o,f,p,_){if(!Eo(f))return;const I=f[ln];if(I&&I.setForRemoval){I.setForRemoval=!1,I.setForMove=!0;const Y=this.collectedLeaveElements.indexOf(f);Y>=0&&this.collectedLeaveElements.splice(Y,1)}if(o){const Y=this._fetchNamespace(o);Y&&Y.insertNode(f,p)}_&&this.collectEnterElement(f)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,f){f?this.disabledNodes.has(o)||(this.disabledNodes.add(o),Ai(o,Ve)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),bs(o,Ve))}removeNode(o,f,p){if(Eo(f)){const _=o?this._fetchNamespace(o):null;_?_.removeNode(f,p):this.markElementAsRemoved(o,f,!1,p);const I=this.namespacesByHostElement.get(f);I&&I.id!==o&&I.removeNode(f,p)}else this._onRemovalComplete(f,p)}markElementAsRemoved(o,f,p,_,I){this.collectedLeaveElements.push(f),f[ln]={namespaceId:o,setForRemoval:_,hasAnimation:p,removedBeforeQueried:!1,previousTriggersValues:I}}listen(o,f,p,_,I){return Eo(f)?this._fetchNamespace(o).listen(f,p,_,I):()=>{}}_buildInstruction(o,f,p,_,I){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,p,_,o.fromState.options,o.toState.options,f,I)}destroyInnerAnimations(o){let f=this.driver.query(o,eo,!0);f.forEach(p=>this.destroyActiveAnimationsForElement(p)),0!=this.playersByQueriedElement.size&&(f=this.driver.query(o,Rt,!0),f.forEach(p=>this.finishActiveQueriedAnimationOnElement(p)))}destroyActiveAnimationsForElement(o){const f=this.playersByElement.get(o);f&&f.forEach(p=>{p.queued?p.markedForDestroy=!0:p.destroy()})}finishActiveQueriedAnimationOnElement(o){const f=this.playersByQueriedElement.get(o);f&&f.forEach(p=>p.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return cr(this.players).onDone(()=>o());o()})}processLeaveNode(o){var f;const p=o[ln];if(p&&p.setForRemoval){if(o[ln]=bn,p.namespaceId){this.destroyInnerAnimations(o);const _=this._fetchNamespace(p.namespaceId);_&&_.clearElementCache(o)}this._onRemovalComplete(o,p.setForRemoval)}null!==(f=o.classList)&&void 0!==f&&f.contains(Ve)&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEac
1h(_=>{this.markElementAsDisabled(_,!1)})}flush(o=-1){let f=[];if(this.newHostElements.size&&(this.newHostElements.forEach((p,_)=>this._balanceNamespaceList(p,_)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let p=0;p<this.collectedEnterElements.length;p++)Ai(this.collectedEnterElements[p],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const p=[];try{f=this._flushAnimations(p,o)}finally{for(let _=0;_<p.length;_++)p[_]()}}else for(let p=0;p<this.collectedLeaveElements.length;p++)this.processLeaveNode(this.collectedLeaveElements[p]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(p=>p()),this._flushFns=[],this._whenQuietFns.length){const p=this._whenQuietFns;this._whenQuietFns=[],f.length?cr(f).onDone(()=>{p.forEach(_=>_())}):p.forEach(_=>_())}}reportError(o){throw function hr(g){return new s.wOt(3402,!1)}()}_flushAnimations(o,f){const p=new Ni,_=[],I=new Map,Y=[],Q=new Map,X=new Map,Te=new Map,_e=new Set;this.disabledNodes.forEach(Rn=>{_e.add(Rn);const Xt=this.driver.query(Rn,".ng-animate-queued",!0);for(let Jt=0;Jt<Xt.length;Jt++)_e.add(Xt[Jt])});const De=this.bodyNode,xe=Array.from(this.statesByElement.keys()),Ze=gs(xe,this.collectedEnterElements),tt=new Map;let ot=0;Ze.forEach((Rn,Xt)=>{const Jt=ti+ot++;tt.set(Xt,Jt),Rn.forEach(Kn=>Ai(Kn,Jt))});const Et=[],Xe=new Set,Ct=new Set;for(let Rn=0;Rn<this.collectedLeaveElements.length;Rn++){const Xt=this.collectedLeaveElements[Rn],Jt=Xt[ln];Jt&&Jt.setForRemoval&&(Et.push(Xt),Xe.add(Xt),Jt.hasAnimation?this.driver.query(Xt,".ng-star-inserted",!0).forEach(Kn=>Xe.add(Kn)):Ct.add(Xt))}const gt=new Map,Ut=gs(xe,Array.from(Xe));Ut.forEach((Rn,Xt)=>{const Jt=ui+ot++;gt.set(Xt,Jt),Rn.forEach(Kn=>Ai(Kn,Jt))}),o.push(()=>{Ze.forEach((Rn,Xt)=>{const Jt=tt.get(Xt);Rn.forEach(Kn=>bs(Kn,Jt))}),Ut.forEach((Rn,Xt)=>{const Jt=gt.get(Xt);Rn.forEach(Kn=>bs(Kn,Jt))}),Et.forEach(Rn=>{this.processLeaveNode(Rn)})});const _n=[],nr=[];for(let Rn=this._namespaceList.length-1;Rn>=0;Rn--)this._namespaceList[Rn].drainQueuedTransitions(f).forEach(Jt=>{const Kn=Jt.player,xr=Jt.element;if(_n.push(Kn),this.collectedEnterElements.length){const Io=xr[ln];if(Io&&Io.setForMove){if(Io.previousTriggersValues&&Io.previousTriggersValues.has(Jt.triggerName)){const _a=Io.previousTriggersValues.get(Jt.triggerName),os=this.statesByElement.get(Jt.element);if(os&&os.has(Jt.triggerName)){const $s=os.get(Jt.triggerName);$s.value=_a,os.set(Jt.triggerName,$s)}}return void Kn.destroy()}}const ar=!De||!this.driver.containsElement(De,xr),yr=gt.get(xr),Mr=tt.get(xr),gi=this._buildInstruction(Jt,p,Mr,yr,ar);if(gi.errors&&gi.errors.length)return void nr.push(gi);if(ar)return Kn.onStart(()=>Kr(xr,gi.fromStyles)),Kn.onDestroy(()=>ii(xr,gi.toStyles)),void _.push(Kn);if(Jt.isFallbackTransition)return Kn.onStart(()=>Kr(xr,gi.fromStyles)),Kn.onDestroy(()=>ii(xr,gi.toStyles)),void _.push(Kn);const Gr=[];gi.timelines.forEach(Io=>{Io.stretchStartingKeyframe=!0,this.disabledNodes.has(Io.element)||Gr.push(Io)}),gi.timelines=Gr,p.append(xr,gi.timelines),Y.push({instruction:gi,player:Kn,element:xr}),gi.queriedElements.forEach(Io=>It(Q,Io,[]).push(Kn)),gi.preStyleProps.forEach((Io,_a)=>{if(Io.size){let os=X.get(_a);os||X.set(_a,os=new Set),Io.forEach(($s,dl)=>os.add(dl))}}),gi.postStyleProps.forEach((Io,_a)=>{let os=Te.get(_a);os||Te.set(_a,os=new Set),Io.forEach(($s,dl)=>os.add(dl))})});if(nr.length){const Rn=[];nr.forEach(Xt=>{Rn.push(function ur(g,o){return new s.wOt(3505,!1)}())}
1),_n.forEach(Xt=>Xt.destroy()),this.reportError(Rn)}const zn=new Map,gn=new Map;Y.forEach(Rn=>{const Xt=Rn.element;p.has(Xt)&&(gn.set(Xt,Xt),this._beforeAnimationBuild(Rn.player.namespaceId,Rn.instruction,zn))}),_.forEach(Rn=>{const Xt=Rn.element;this._getPreviousPlayers(Xt,!1,Rn.namespaceId,Rn.triggerName,null).forEach(Kn=>{It(zn,Xt,[]).push(Kn),Kn.destroy()})});const sn=Et.filter(Rn=>fo(Rn,X,Te)),an=new Map;Do(an,this.driver,Ct,Te,L.kp).forEach(Rn=>{fo(Rn,X,Te)&&sn.push(Rn)});const rn=new Map;Ze.forEach((Rn,Xt)=>{Do(rn,this.driver,new Set(Rn),X,L.FX)}),sn.forEach(Rn=>{var Xt,Jt;const Kn=an.get(Rn),xr=rn.get(Rn);an.set(Rn,new Map([...null!==(Xt=null==Kn?void 0:Kn.entries())&&void 0!==Xt?Xt:[],...null!==(Jt=null==xr?void 0:xr.entries())&&void 0!==Jt?Jt:[]]))});const cn=[],wn=[],gr={};Y.forEach(Rn=>{const{element:Xt,player:Jt,instruction:Kn}=Rn;if(p.has(Xt)){if(_e.has(Xt))return Jt.onDestroy(()=>ii(Xt,Kn.toStyles)),Jt.disabled=!0,Jt.overrideTotalTime(Kn.totalTime),void _.push(Jt);let xr=gr;if(gn.size>1){let yr=Xt;const Mr=[];for(;yr=yr.parentNode;){const gi=gn.get(yr);if(gi){xr=gi;break}Mr.push(yr)}Mr.forEach(gi=>gn.set(gi,xr))}const ar=this._buildAnimation(Jt.namespaceId,Kn,zn,I,rn,an);if(Jt.setRealPlayer(ar),xr===gr)cn.push(Jt);else{const yr=this.playersByElement.get(xr);yr&&yr.length&&(Jt.parentPlayer=cr(yr)),_.push(Jt)}}else Kr(Xt,Kn.fromStyles),Jt.onDestroy(()=>ii(Xt,Kn.toStyles)),wn.push(Jt),_e.has(Xt)&&_.push(Jt)}),wn.forEach(Rn=>{const Xt=I.get(Rn.element);if(Xt&&Xt.length){const Jt=cr(Xt);Rn.setRealPlayer(Jt)}}),_.forEach(Rn=>{Rn.parentPlayer?Rn.syncPlayerEvents(Rn.parentPlayer):Rn.destroy()});for(let Rn=0;Rn<Et.length;Rn++){const Xt=Et[Rn],Jt=Xt[ln];if(bs(Xt,ui),Jt&&Jt.hasAnimation)continue;let Kn=[];if(Q.size){let ar=Q.get(Xt);ar&&ar.length&&Kn.push(...ar);let yr=this.driver.query(Xt,Rt,!0);for(let Mr=0;Mr<yr.length;Mr++){let gi=Q.get(yr[Mr]);gi&&gi.length&&Kn.push(...gi)}}const xr=Kn.filter(ar=>!ar.destroyed);xr.length?xl(this,Xt,xr):this.processLeaveNode(Xt)}return Et.length=0,cn.forEach(Rn=>{this.players.push(Rn),Rn.onDone(()=>{Rn.destroy();const Xt=this.players.indexOf(Rn);this.players.splice(Xt,1)}),Rn.play()}),cn}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,f,p,_,I){let Y=[];if(f){const Q=this.playersByQueriedElement.get(o);Q&&(Y=Q)}else{const Q=this.playersByElement.get(o);if(Q){const X=!I||I==pr;Q.forEach(Te=>{Te.queued||!X&&Te.triggerName!=_||Y.push(Te)})}}return(p||_)&&(Y=Y.filter(Q=>!(p&&p!=Q.namespaceId||_&&_!=Q.triggerName))),Y}_beforeAnimationBuild(o,f,p){const I=f.element,Y=f.isRemovalTransition?void 0:o,Q=f.isRemovalTransition?void 0:f.triggerName;for(const X of f.timelines){const Te=X.element,_e=Te!==I,De=It(p,Te,[]);this._getPreviousPlayers(Te,_e,Y,Q,f.toState).forEach(Ze=>{const tt=Ze.getRealPlayer();tt.beforeDestroy&&tt.beforeDestroy(),Ze.destroy(),De.push(Ze)})}Kr(I,f.fromStyles)}_buildAnimation(o,f,p,_,I,Y){const Q=f.triggerName,X=f.element,Te=[],_e=new Set,De=new Set,xe=f.timelines.map(tt=>{const ot=tt.element;_e.add(ot);const Et=ot[ln];if(Et&&Et.removedBeforeQueried)return new L.sf(tt.duration,tt.delay);const Xe=ot!==X,Ct=function ks(g){const o=[];return Qo(g,o),o}((p.get(ot)||$t).map(zn=>zn.getRealPlayer())).filter(zn=>!!zn.element&&zn.element===ot),gt=I.get(ot),Ut=Y.get(ot),_n=Yn(this._normalizer,tt.keyframes,gt,Ut),nr=this._buildPlayer(tt,_n,Ct);if(tt.subTimeline&&_&&De.add(ot),Xe){const zn=new Gi(o,Q,ot);zn.setRealPlayer(nr),Te.push(zn)}return nr});Te.forEach(tt=>{It(this.playersByQueriedElement,tt.element,[]).push(tt),tt.onDone(()=>function Wi(g,o,f){let p=g.get(o);if(p){if(p.length){const _=p.indexOf(f);p.splice(_,1)}0==p.length&&g.delete(o)}return p}(this.playersByQueriedElement,tt.element,tt))}),_e.forEach(tt=>Ai(tt,Yt));const Ze=cr(xe);return Ze.onDestroy(()=>{_e.forEach(tt=>bs(tt,Yt)),ii(X,f.toStyles)}),De.forEach(tt=>{It(_,tt,[]).push(Ze)}),Ze}_buildPlayer(o,f,p){return f.length>0?this.driver.animate(o.element,f,o.duration,o.delay,o.easing,p):new L.sf(o.duration,o.delay)}}class Gi{constructor(o,f,p){this.namespaceId=o,this.triggerName=f,this.element=p,this._player=new L.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(o){this._containsRealPlayer||(this._player=o,this._queuedCallbacks.forEach((f,p)=>{f.forEach(_=>Qn(o,p,void 0,_))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const f=this._player;f.triggerCallback&&o.onStart(()=>f.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,f){It(this._queuedCallbacks,o,[]).push(f)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}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(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const f=this._player;f.triggerCallback&&f.triggerCallback(o)}}function Eo(g){return g&&1===g.nodeType}
1function Jn(g,o){const f=g.style.display;return g.style.display=null!=o?o:"none",f}function Do(g,o,f,p,_){const I=[];f.forEach(X=>I.push(Jn(X)));const Y=[];p.forEach((X,Te)=>{const _e=new Map;X.forEach(De=>{const xe=o.computeStyle(Te,De,_);_e.set(De,xe),(!xe||0==xe.length)&&(Te[ln]=xn,Y.push(Te))}),g.set(Te,_e)});let Q=0;return f.forEach(X=>Jn(X,I[Q++])),Y}function gs(g,o){const f=new Map;if(g.forEach(Q=>f.set(Q,[])),0==o.length)return f;const _=new Set(o),I=new Map;function Y(Q){if(!Q)return 1;let X=I.get(Q);if(X)return X;const Te=Q.parentNode;return X=f.has(Te)?Te:_.has(Te)?1:Y(Te),I.set(Q,X),X}return o.forEach(Q=>{const X=Y(Q);1!==X&&f.get(X).push(Q)}),f}function Ai(g,o){var f;null===(f=g.classList)||void 0===f||f.add(o)}function bs(g,o){var f;null===(f=g.classList)||void 0===f||f.remove(o)}function xl(g,o,f){cr(f).onDone(()=>g.processLeaveNode(o))}function Qo(g,o){for(let f=0;f<g.length;f++){const p=g[f];p instanceof L.ui?Qo(p.players,o):o.push(p)}}function fo(g,o,f){const p=f.get(g);if(!p)return!1;let _=o.get(g);return _?p.forEach(I=>_.add(I)):o.set(g,p),f.delete(g),!0}class Uo{constructor(o,f,p){this._driver=f,this._normalizer=p,this._triggerCache={},this.onRemovalComplete=(_,I)=>{},this._transitionEngine=new Rr(o.body,f,p),this._timelineEngine=new Hi(o.body,f,p),this._transitionEngine.onRemovalComplete=(_,I)=>this.onRemovalComplete(_,I)}registerTrigger(o,f,p,_,I){const Y=o+"-"+_;let Q=this._triggerCache[Y];if(!Q){const X=[],_e=fn(this._driver,I,X,[]);if(X.length)throw function $(g,o){return new s.wOt(3404,!1)}();Q=function as(g,o,f){return new Ea(g,o,f)}(_,_e,this._normalizer),this._triggerCache[Y]=Q}this._transitionEngine.registerTrigger(f,_,Q)}register(o,f){this._transitionEngine.register(o,f)}destroy(o,f){this._transitionEngine.destroy(o,f)}onInsert(o,f,p,_){this._transitionEngine.insertNode(o,f,p,_)}onRemove(o,f,p){this._transitionEngine.removeNode(o,f,p)}disableAnimations(o,f){this._transitionEngine.markElementAsDisabled(o,f)}process(o,f,p,_){if("@"==p.charAt(0)){const[I,Y]=Kt(p);this._timelineEngine.command(I,f,Y,_)}else this._transitionEngine.trigger(o,f,p,_)}listen(o,f,p,_,I){if("@"==p.charAt(0)){const[Y,Q]=Kt(p);return this._timelineEngine.listen(Y,f,Q,I)}return this._transitionEngine.listen(o,f,p,_,I)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(o){this._transitionEngine.afterFlushAnimationsDone(o)}}class ms{constructor(o,f,p){this._element=o,this._startStyles=f,this._endStyles=p,this._state=0;let _=ms.initialStylesByElement.get(o);_||ms.initialStylesByElement.set(o,_=new Map),this._initialStyles=_}start(){this._state<1&&(this._startStyles&&ii(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ii(this._element,this._initialStyles),this._endStyles&&(ii(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ms.initialStylesByElement.delete(this._element),this._startStyles&&(Kr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Kr(this._element,this._endStyles),this._endStyles=null),ii(this._element,this._initialStyles),this._state=3)}}function As(g){let o=null;return g.forEach((f,p)=>{(function Hl(g){return"display"===g||"position"===g})(p)&&(o=o||new Map,o.set(p,f))}),o}ms.initialStylesByElement=new WeakMap;class So{constructor(o,f,p,_){this.element=o,this.keyframes=f,this.options=p,this._specialStyles=_,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=p.duration,this._delay=p.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:new Map;const f=()=>this._onFinish();this.domPlayer.addEventListener("finish",f),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",f)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(o){const f=[];return o.forEach(p=>{f.push(Object.fromEntries(p))}),f}_triggerWebAnimation(o,f,p){return o.animate(this._convertKeyframesToObject(f),p)}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),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(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){var o;return+(null!==(o=this.domPlayer.currentTime)&&void 0!==o?o:0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o=new Map;this.hasStarted()&&this._finalKeyframe.forEach((p,_)=>{"offset"!==_&&o.set(_,this._finished?p:no(this.element,_))}),this.currentSnapshot=o}triggerCallback(o){const f="start"===o?this._onStartFns:this._onDoneFns;f.forEach(p=>p()),f.length=0}}class fa{validateStyleProperty(o){return!0}validateAnimatableStyleProperty(o){return!0}containsElement(o,f){return Yr(o,f)}getParentElement(o){return Ir(o)}query(o,f,p){return li(o,f,p)}computeStyle(o,f,p){return no(o,f)}animate(o,f,p,_,I,Y=[]){const X={duration:p,delay:_,fill:0==_?"both":"forwards"};I&&(X.easing=I);const Te=new Map,_e=Y.filter(Ze=>Ze instanceof So);(function Lo(g,o){return 0===g||0===o})(p,_)&&_e.forEach(Ze=>{Ze.currentSnapshot.forEach((tt,ot)=>Te.set(ot,tt))});let De=function Sr(g){return g.length?g[0]instanceof Map?g:g.map(o=>new Map(Object.entries(o))):[]}(f).map(Ze=>new Map(Ze));De=function vo(g,o,f){if(f.size&&o.length){let p=o[0],_=[];
1if(f.forEach((I,Y)=>{p.has(Y)||_.push(Y),p.set(Y,I)}),_.length)for(let I=1;I<o.length;I++){let Y=o[I];_.forEach(Q=>Y.set(Q,no(g,Q)))}}return o}(o,De,Te);const xe=function ba(g,o){let f=null,p=null;return Array.isArray(o)&&o.length?(f=As(o[0]),o.length>1&&(p=As(o[o.length-1]))):o instanceof Map&&(f=As(o)),f||p?new ms(g,f,p):null}(o,De);return new So(o,De,X,xe)}}const wo="@.disabled";class Da{constructor(o,f,p,_){this.namespaceId=o,this.delegate=f,this.engine=p,this._onDestroy=_,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(o){var f,p;null===(f=(p=this.delegate).destroyNode)||void 0===f||f.call(p,o)}destroy(){var o;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),null===(o=this._onDestroy)||void 0===o||o.call(this)}createElement(o,f){return this.delegate.createElement(o,f)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,f){this.delegate.appendChild(o,f),this.engine.onInsert(this.namespaceId,f,o,!1)}insertBefore(o,f,p,_=!0){this.delegate.insertBefore(o,f,p),this.engine.onInsert(this.namespaceId,f,o,_)}removeChild(o,f,p){this.engine.onRemove(this.namespaceId,f,this.delegate)}selectRootElement(o,f){return this.delegate.selectRootElement(o,f)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,f,p,_){this.delegate.setAttribute(o,f,p,_)}removeAttribute(o,f,p){this.delegate.removeAttribute(o,f,p)}addClass(o,f){this.delegate.addClass(o,f)}removeClass(o,f){this.delegate.removeClass(o,f)}setStyle(o,f,p,_){this.delegate.setStyle(o,f,p,_)}removeStyle(o,f,p){this.delegate.removeStyle(o,f,p)}setProperty(o,f,p){"@"==f.charAt(0)&&f==wo?this.disableAnimations(o,!!p):this.delegate.setProperty(o,f,p)}setValue(o,f){this.delegate.setValue(o,f)}listen(o,f,p){return this.delegate.listen(o,f,p)}disableAnimations(o,f){this.engine.disableAnimations(o,f)}}class $a extends Da{constructor(o,f,p,_,I){super(f,p,_,I),this.factory=o,this.namespaceId=f}setProperty(o,f,p){"@"==f.charAt(0)?"."==f.charAt(1)&&f==wo?this.disableAnimations(o,p=void 0===p||!!p):this.engine.process(this.namespaceId,o,f.slice(1),p):this.delegate.setProperty(o,f,p)}listen(o,f,p){if("@"==f.charAt(0)){const _=function vl(g){switch(g){case"body":return document.body;case"document":return document;case"window":return window;default:return g}}(o);let I=f.slice(1),Y="";return"@"!=I.charAt(0)&&([I,Y]=function Sa(g){const o=g.indexOf(".");return[g.substring(0,o),g.slice(o+1)]}(I)),this.engine.listen(this.namespaceId,_,I,Y,Q=>{this.factory.scheduleListenerCallback(Q._data||-1,p,Q)})}return this.delegate.listen(o,f,p)}}class oi{constructor(o,f,p){this.delegate=o,this.engine=f,this._zone=p,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,f.onRemovalComplete=(_,I)=>{const Y=null==I?void 0:I.parentNode(_);Y&&I.removeChild(Y,_)}}createRenderer(o,f){var p;const I=this.delegate.createRenderer(o,f);if(!o||null==f||null===(p=f.data)||void 0===p||!p.animation){const _e=this._rendererCache;let De=_e.get(I);return De||(De=new Da("",I,this.engine,()=>_e.delete(I)),_e.set(I,De)),De}const Y=f.id,Q=f.id+"-"+this._currentId;this._currentId++,this.engine.register(Q,o);const X=_e=>{Array.isArray(_e)?_e.forEach(X):this.engine.registerTrigger(Y,Q,o,_e.name,_e)};return f.data.animation.forEach(X),new $a(this,Q,I,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(o,f,p){if(o>=0&&o<this._microtaskId)return void this._zone.run(()=>f(p));const _=this._animationCallbacksBuffer;0==_.length&&queueMicrotask(()=>{this._zone.run(()=>{_.forEach(I=>{const[Y,Q]=I;Y(Q)}),this._animationCallbacksBuffer=[]})}),_.push([f,p])}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 Fs=[{provide:Un,useFactory:function rs(){return new lo}},{provide:Uo,useClass:(()=>{var g;class o extends Uo{constructor(p,_,I){super(p,_,I)}ngOnDestroy(){this.flush()}}return(g=o).\u0275fac=function(p){return new(p||g)(s.KVO(w.qQ),s.KVO(rr),s.KVO(Un))},g.\u0275prov=s.jDH({token:g,factory:g.\u0275fac}),o})()},{provide:s._9s,useFactory:function tl(g,o,f){return new oi(g,o,f)},deps:[a.B7,Uo,s.SKi]}],wa=[{provide:rr,useFactory:()=>new fa},{provide:s.bc$,useValue:"BrowserAnimations"},...Fs],oe=[{provide:rr,useClass:Lt},{provide:s.bc$,useValue:"NoopAnimations"},...Fs];let j=(()=>{var g;class o{static withConfig(p){return{ngModule:o,providers:p.disableAnimations?oe:wa}}}return(g=o).\u0275fac=function(p){return new(p||g)},g.\u0275mod=s.$C({type:g}),g.\u0275inj=s.G2t({providers:wa,imports:[a.Bb]}),o})();var On=u(803),Vr=u(2872),Ao=u(5374),Bs=u(617),Go=u(3955),Br=u(7542),Vo=u(7673),Rl=u(3669),es=u(7468),Ta=u(6648),ls=u(4572),Li=u(1986),Nl=u(5964),ha=u(3294),_l=u(5558),jo=u(6354),Os=u(274),ys=u(8141),pa=u(6697),Ps=u(9901),nl=u(3703);const Ll=new s.nKC("MATOMO_ROUTER_CONFIGURATION"),rl={prependBaseHref:!0,trackPageTitle:!0,delay:0,exclude:[],navigationEndComparator:"fullUrl"},ci=new s.nKC("INTERNAL_ROUTER_CONFIGURATION",{factory:()=>{const{disabled:g,enableLinkTracking:o}=(0,s.WQX)(Br.Gc),f=(0,s.WQX)(Ll,{optional:!0})||{};return{...rl,...f,enableLinkTracking:o,disabled:g}}}),Wt=new s.nKC("MATOMO_ROUTER_INTERCEPTORS");new s.nKC("MATOMO_ROUTE_DATA_KEY",{providedIn:"root",factory:()=>"matomo"});const ia=new s.nKC("MATOMO_PAGE_TITLE_PROVIDER",{factory:()=>new El((0,s.WQX)(a.hE))});class El{constructor(o){this.title=o}getCurrentPageTitle(o){return(0,Vo.of)(this.title.getTitle())}}const xs=new s.nKC("MATOMO_PAGE_URL_PROVIDER",{factory:()=>new $l((0,s.WQX)(ci),(0,s.WQX)(w.kB,{optional:!0}),(0,s.WQX)(w.hb))});class $l{constructor(o,f,p){this.config=o,this.baseHref=f,this.locationStrategy=p}
1getCurrentPageUrl(o){const f=this.config.prependBaseHref?this.getBaseHrefWithoutTrailingSlash()+o.urlAfterRedirects:o.urlAfterRedirects;return(0,Vo.of)(f)}getBaseHrefWithoutTrailingSlash(){var o,f;return function io(g){return g.endsWith("/")?g.slice(0,-1):g}(null!==(o=null!==(f=this.baseHref)&&void 0!==f?f:this.locationStrategy.getBaseHref())&&void 0!==o?o:"")}}function pi(g){return g instanceof On.wF}function Qi(g){return"string"==typeof g?new RegExp(g):g}function ma(g){return(o,f)=>g(o)===g(f)}let il=(()=>{var g;class o{constructor(p,_,I,Y,Q,X,Te){if(this.router=p,this.platformId=_,this.config=I,this.pageTitleProvider=Y,this.pageUrlProvider=Q,this.tracker=X,this.interceptors=Te,this.initialize=(0,Br.MH)(()=>{if(this.config.disabled||!(0,w.UE)(this.platformId))return;const _e=-1===this.config.delay?Rl.D:(0,Li.c)(this.config.delay),De=function oa(g){switch(g.navigationEndComparator){case"fullUrl":return ma(o=>o.urlAfterRedirects);case"ignoreQueryParams":return ma(o=>function Gl(g){return g.split("?")[0]}(o.urlAfterRedirects));default:return g.navigationEndComparator}}(this.config);this.router.events.pipe((0,Nl.p)(pi),(0,Nl.p)(function zl(g){const o=function Cl(g){return g?Array.isArray(g)?g.map(Qi):[Qi(g)]:[]}(g);return f=>!o.some(p=>f.urlAfterRedirects.match(p))}(this.config.exclude)),(0,ha.F)(De),_e,(0,_l.n)(xe=>this.presetPageTitleAndUrl(xe).pipe((0,jo.T)(({pageUrl:Ze})=>({pageUrl:Ze,event:xe})))),(0,Os.H)(({event:xe,pageUrl:Ze})=>this.callInterceptors(xe).pipe((0,ys.M)(()=>this.trackPageView(Ze))))).subscribe()},"MatomoRouter has already been initialized"),Te&&!Array.isArray(Te))throw function Wl(){return new Error('An invalid MATOMO_ROUTER_INTERCEPTORS provider was configured. Did you forget to set "multi: true" ?')}()}init(){this.initialize()}callInterceptors(p){return this.interceptors?(0,es.p)(this.interceptors.map(_=>{const I=_.beforePageTrack(p);return(null==I?(0,Vo.of)(void 0):(0,Ta.H)(I)).pipe((0,pa.s)(1),(0,Ps.U)(void 0))})).pipe((0,nl.u)(void 0),(0,Ps.U)(void 0)):(0,Vo.of)(void 0)}presetPageTitleAndUrl(p){const _=this.config.trackPageTitle?this.pageTitleProvider.getCurrentPageTitle(p).pipe((0,ys.M)(Y=>this.tracker.setDocumentTitle(Y))):(0,Vo.of)(void 0),I=this.pageUrlProvider.getCurrentPageUrl(p).pipe((0,ys.M)(Y=>this.tracker.setCustomUrl(Y)));return(0,ls.z)([_,I]).pipe((0,jo.T)(([Y,Q])=>({pageUrl:Q})))}trackPageView(p){this.tracker.trackPageView(),this.config.enableLinkTracking&&this.tracker.enableLinkTracking("enable-pseudo"===this.config.enableLinkTracking),this.tracker.setReferrerUrl(p)}}return(g=o).\u0275fac=function(p){return new(p||g)(s.KVO(On.Ix),s.KVO(s.Agw),s.KVO(ci),s.KVO(ia),s.KVO(xs),s.KVO(Br.kA),s.KVO(Wt,8))},g.\u0275prov=s.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}),o})();function Vi(g){return(0,Br.rm)("Router",[{provide:Br.HU,useValue:!0},{provide:Ll,useValue:g},{provide:s.Z63,multi:!0,useValue(){(0,s.WQX)(il).initialize()}}])}var us=u(9437),Us=u(644),A=u(9990);const lt=[{path:"login",loadChildren:()=>Promise.all([u.e(7520),u.e(2076),u.e(2)]).then(u.bind(u,2)).then(g=>g.LoginPageModule)},{path:"terms",loadChildren:()=>Promise.all([u.e(2076),u.e(2026)]).then(u.bind(u,2026)).then(g=>g.TermsPageModule)},{path:"forgot-password",loadChildren:()=>Promise.all([u.e(7520),u.e(5942)]).then(u.bind(u,5942)).then(g=>g.ForgotPasswordPageModule)},{path:".well-known",children:[{path:"change-password",pathMatch:"full",redirectTo:"/settings/credentials/password"}]},{path:"",canActivate:[(()=>{var g;class o{constructor(p){this.authStateService=p}canActivate(){return this.authStateService.isLoggedIn$}}return(g=o).\u0275fac=function(p){return new(p||g)(s.KVO(A.T))},g.\u0275prov=s.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}),o})()],loadChildren:()=>Promise.all([u.e(7520),u.e(2076),u.e(4221)]).then(u.bind(u,4221)).then(g=>g.MainNavigationPageModule)},{path:"**",redirectTo:""}];let ne=(()=>{var g;class o{}return(g=o).\u0275fac=function(p){return new(p||g)},g.\u0275mod=s.$C({type:g}),g.\u0275inj=s.G2t({imports:[On.iI.forRoot(lt,{preloadingStrategy:On.Kp}),On.iI]}),o})();var Ge=u(5083);const vt=(0,Ge.F3)("SplashScreen",{web:()=>u.e(4292).then(u.bind(u,4292)).then(g=>new g.SplashScreenWeb)});var on=u(3028),Hn=u(2087),yi=u(2498),Hr=u(8810),Zi=u(1807),E=u(1594),y=u(4873),v=u(152);function b(g){return null!==g&&"object"==typeof g&&"constructor"in g&&g.constructor===Object}function N(g,o){void 0===g&&(g={}),void 0===o&&(o={}
1),Object.keys(o).forEach(f=>{typeof g[f]>"u"?g[f]=o[f]:b(o[f])&&b(g[f])&&Object.keys(o[f]).length>0&&N(g[f],o[f])})}const ie={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function be(){const g=typeof document<"u"?document:{};return N(g,ie),g}const rt={document:ie,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:g=>typeof setTimeout>"u"?(g(),null):setTimeout(g,0),cancelAnimationFrame(g){typeof setTimeout>"u"||clearTimeout(g)}};function ut(){const g=typeof window<"u"?window:{};return N(g,rt),g}function At(g){return void 0===g&&(g=""),g.trim().split(" ").filter(o=>!!o.trim())}function hn(g,o){return void 0===o&&(o=0),setTimeout(g,o)}function Cn(){return Date.now()}function fr(g,o){void 0===o&&(o="x");const f=ut();let p,_,I;const Y=function kn(g){const o=ut();let f;return o.getComputedStyle&&(f=o.getComputedStyle(g,null)),!f&&g.currentStyle&&(f=g.currentStyle),f||(f=g.style),f}(g);return f.WebKitCSSMatrix?(_=Y.transform||Y.webkitTransform,_.split(",").length>6&&(_=_.split(", ").map(Q=>Q.replace(",",".")).join(", ")),I=new f.WebKitCSSMatrix("none"===_?"":_)):(I=Y.MozTransform||Y.OTransform||Y.MsTransform||Y.msTransform||Y.transform||Y.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),p=I.toString().split(",")),"x"===o&&(_=f.WebKitCSSMatrix?I.m41:16===p.length?parseFloat(p[12]):parseFloat(p[4])),"y"===o&&(_=f.WebKitCSSMatrix?I.m42:16===p.length?parseFloat(p[13]):parseFloat(p[5])),_||0}function pn(g){return"object"==typeof g&&null!==g&&g.constructor&&"Object"===Object.prototype.toString.call(g).slice(8,-1)}function yn(g){return typeof window<"u"&&typeof window.HTMLElement<"u"?g instanceof HTMLElement:g&&(1===g.nodeType||11===g.nodeType)}function mr(){const g=Object(arguments.length<=0?void 0:arguments[0]),o=["__proto__","constructor","prototype"];for(let f=1;f<arguments.length;f+=1){const p=f<0||arguments.length<=f?void 0:arguments[f];if(null!=p&&!yn(p)){const _=Object.keys(Object(p)).filter(I=>o.indexOf(I)<0);for(let I=0,Y=_.length;I<Y;I+=1){const Q=_[I],X=Object.getOwnPropertyDescriptor(p,Q);void 0!==X&&X.enumerable&&(pn(g[Q])&&pn(p[Q])?p[Q].__swiper__?g[Q]=p[Q]:mr(g[Q],p[Q]):!pn(g[Q])&&pn(p[Q])?(g[Q]={},p[Q].__swiper__?g[Q]=p[Q]:mr(g[Q],p[Q])):g[Q]=p[Q])}}}return g}function Dr(g,o,f){g.style.setProperty(o,f)}function Si(g){let{swiper:o,targetPosition:f,side:p}=g;const _=ut(),I=-o.translate;let Q,Y=null;const X=o.params.speed;o.wrapperEl.style.scrollSnapType="none",_.cancelAnimationFrame(o.cssModeFrameID);const Te=f>I?"next":"prev",_e=(xe,Ze)=>"next"===Te&&xe>=Ze||"prev"===Te&&xe<=Ze,De=()=>{Q=(new Date).getTime(),null===Y&&(Y=Q);const xe=Math.max(Math.min((Q-Y)/X,1),0),Ze=.5-Math.cos(xe*Math.PI)/2;let tt=I+Ze*(f-I);if(_e(tt,f)&&(tt=f),o.wrapperEl.scrollTo({[p]:tt}),_e(tt,f))return o.wrapperEl.style.overflow="hidden",o.wrapperEl.style.scrollSnapType="",setTimeout(()=>{o.wrapperEl.style.overflow="",o.wrapperEl.scrollTo({[p]:tt})}),void _.cancelAnimationFrame(o.cssModeFrameID);o.cssModeFrameID=_.requestAnimationFrame(De)};De()}function Ei(g){return g.querySelector(".swiper-slide-transform")||g.shadowRoot&&g.shadowRoot.querySelector(".swiper-slide-transform")||g}function Fr(g,o){void 0===o&&(o="");const f=[...g.children];return g instanceof HTMLSlotElement&&f.push(...g.assignedElements()),o?f.filter(p=>p.matches(o)):f}function He(g){try{return void console.warn(g)}catch(o){}}function Zr(g,o){void 0===o&&(o=[]);const f=document.createElement(g);return f.classList.add(...Array.isArray(o)?o:At(o)),f}function Pr(g){const o=ut(),f=be(),p=g.getBoundingClientRect(),_=f.body;return{top:p.top+(g===o?o.scrollY:g.scrollTop)-(g.clientTop||_.clientTop||0),left
1:p.left+(g===o?o.scrollX:g.scrollLeft)-(g.clientLeft||_.clientLeft||0)}}function ds(g,o){return ut().getComputedStyle(g,null).getPropertyValue(o)}function aa(g){let f,o=g;if(o){for(f=0;null!==(o=o.previousSibling);)1===o.nodeType&&(f+=1);return f}}function po(g,o){const f=[];let p=g.parentElement;for(;p;)o?p.matches(o)&&f.push(p):f.push(p),p=p.parentElement;return f}function Oi(g,o){o&&g.addEventListener("transitionend",function f(p){p.target===g&&(o.call(g,p),g.removeEventListener("transitionend",f))})}function va(g,o,f){const p=ut();return f?g["width"===o?"offsetWidth":"offsetHeight"]+parseFloat(p.getComputedStyle(g,null).getPropertyValue("width"===o?"margin-right":"margin-top"))+parseFloat(p.getComputedStyle(g,null).getPropertyValue("width"===o?"margin-left":"margin-bottom")):g.offsetWidth}function Ki(g){return(Array.isArray(g)?g:[g]).filter(o=>!!o)}function Kl(g){return o=>Math.abs(o)>0&&g.browser&&g.browser.need3dFix&&Math.abs(o)%90==0?o+.001:o}let cc,Fa,Oc;function Ss(){return cc||(cc=function uc(){const g=ut(),o=be();return{smoothScroll:o.documentElement&&o.documentElement.style&&"scrollBehavior"in o.documentElement.style,touch:!!("ontouchstart"in g||g.DocumentTouch&&o instanceof g.DocumentTouch)}}()),cc}function Ac(g){return void 0===g&&(g={}),Fa||(Fa=function td(g){let{userAgent:o}=void 0===g?{}:g;const f=Ss(),p=ut(),_=p.navigator.platform,I=o||p.navigator.userAgent,Y={ios:!1,android:!1},Q=p.screen.width,X=p.screen.height,Te=I.match(/(Android);?[\s\/]+([\d.]+)?/);let _e=I.match(/(iPad).*OS\s([\d_]+)/);const De=I.match(/(iPod)(.*OS\s([\d_]+))?/),xe=!_e&&I.match(/(iPhone\sOS|iOS)\s([\d_]+)/),Ze="Win32"===_;let tt="MacIntel"===_;return!_e&&tt&&f.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${Q}x${X}`)>=0&&(_e=I.match(/(Version)\/([\d.]+)/),_e||(_e=[0,1,"13_0_0"]),tt=!1),Te&&!Ze&&(Y.os="android",Y.android=!0),(_e||xe||De)&&(Y.os="ios",Y.ios=!0),Y}(g)),Fa}const nd=(g,o,f)=>{o&&!g.classList.contains(f)?g.classList.add(f):!o&&g.classList.contains(f)&&g.classList.remove(f)},K=(g,o,f)=>{o&&!g.classList.contains(f)?g.classList.add(f):!o&&g.classList.contains(f)&&g.classList.remove(f)},J=(g,o)=>{if(!g||g.destroyed||!g.params)return;const p=o.closest(g.isElement?"swiper-slide":`.${g.params.slideClass}`);if(p){let _=p.querySelector(`.${g.params.lazyPreloaderClass}`);!_&&g.isElement&&(p.shadowRoot?_=p.shadowRoot.querySelector(`.${g.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{p.shadowRoot&&(_=p.shadowRoot.querySelector(`.${g.params.lazyPreloaderClass}`),_&&_.remove())})),_&&_.remove()}},Ue=(g,o)=>{if(!g.slides[o])return;const f=g.slides[o].querySelector('[loading="lazy"]');f&&f.removeAttribute("loading")},Ye=g=>{if(!g||g.destroyed||!g.params)return;let o=g.params.lazyPreloadPrevNext;const f=g.slides.length;if(!f||!o||o<0)return;o=Math.min(o,f);const p="auto"===g.params.slidesPerView?g.slidesPerViewDynamic():Math.ceil(g.params.slidesPerView),_=g.activeIndex;if(g.params.grid&&g.params.grid.rows>1){const Y=_,Q=[Y-o];return Q.push(...Array.from({length:o}).map((X,Te)=>Y+p+Te)),void g.slides.forEach((X,Te)=>{Q.includes(X.column)&&Ue(g,Te)})}const I=_+p-1;if(g.params.rewind||g.params.loop)for(let Y=_-o;Y<=I+o;Y+=1){const Q=(Y%f+f)%f;(Q<_||Q>I)&&Ue(g,Q)}else for(let Y=Math.max(_-o,0);Y<=Math.min(I+o,f-1);Y+=1)Y!==_&&(Y>I||Y<_)&&Ue(g,Y)};function go(g){let{swiper:o,runCallbacks:f,direction:p,step:_}=g;const{activeIndex:I,previousIndex:Y}=o;let Q=p;if(Q||(Q=I>Y?"next":I<Y?"prev":"reset"),o.emit(`transition${_}`),f&&I!==Y){if("reset"===Q)return void o.emit(`slideResetTransition${_}`);o.emit(`slideChangeTransition${_}`),o.emit("next"===Q?`slideNextTransition${_}`:`slidePrevTransition${_}`)}}function Qs(g,o,f){const p=ut(),{params:_}=g,I=_.edgeSwipeDetection,Y=_.edgeSwipeThreshold;return!I||!(f<=Y||f>=p.innerWidth-Y)||"prevent"===I&&(o.preventDefault(),!0)}function ru(g){const o=this,f=be();let p=g;p.originalEvent&&(p=p.originalEvent);const _=o.touchEventsData;if("pointerdown"===p.type){if(null!==_.pointerId&&_.pointerId!==p.pointerId)return;_.pointerId=p.pointerId}else"touchstart"===p.type&&1===p.targetTouches.length&&(_.touchId=p.targetTouches[0].identifier);if("touchstart"===p.type)return void Qs(o,p,p.targetTouches[0].pageX);const{params:I,touches:Y,enabled:Q}=o;if(!Q||!I.simulateTouch&&"mouse"===p.pointerType||o.animating&&I.preventInteractionOnTransition)return;!o.animating&&I.cssMode&&I.loop&&o.loopFix();let X=p.target;if("wrapper"===I.touchEventsTarget&&!function Ri(g,o){const f=o.contains(g);return!f&&o instanceof HTMLSlotElement?[...o.assignedElements()].includes(g):f}(X,o.wrapperEl)||"which"in p&&3===p.which||"button"in p&&p.button>0||_.isTouched&&_.isMoved)return;const Te=!!I.noSwipingClass&&""!==I.noSwipingClass,_e=p.composedPath?p.composedPath():p.path;Te&&p.target&&p.target.shadowRoot&&_e&&(X=_e[0]);const De=I.noSwipingSelector?I.noSwipingSelector:`.${I.noSwipingClass}`;if(I.noSwiping&&(p.target&&p.target.shadowRoot?function Zl(g,o){return void 0===o&&(o=this),function f(p){if(!p||p===be()||p===ut())return null;p.assignedSlot&&(p=p.assignedSlot);const _=p.closest(g);return _||p.getRootNode?_||f(p.getRootNode().host):null}(o)}(De,X):X.closest(De)))return void(o.allowClick=!0);if(I.swipeHandler&&!X.closest(I.swipeHandler))return;Y.currentX=p.pageX,Y.currentY=p.pageY;const Ze=Y.currentX,tt=Y.currentY;if(!Qs(o,p,Ze))return;Object.assign(_,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),Y.startX=Ze,Y.startY=tt,_.touchStartTime=Cn(),o.allowClick=!0,o.updateSize(),o.swipeDirection=void 0,I.threshold>0&&(_.allowThresholdMove=!1);let ot=!0;X.matches(_.focusableElements)&&(ot=!1,"SELECT"===X.nodeName&&(_.isTouched=!1)),f.activeElement&&f.activeElement.matches(_.focusableElements)&&f.activeElement!==X&&f.activeElement.blur(),(I.touchStartForcePreventDefault||ot&&o.allowTouchMove&&I.touchStartPreventDefault)&&!X.isContentEditable&&p.preventDefault(),I.freeMode&&I.freeMode.enabled&&o.freeMode&&o.animating&&!I.cssMode&&o.freeMode.onTouchStart(),o.emit("touchStart",p)}function Tu(g){const o=be(),f=this,p=f.touchEventsData,{params:_,touches:I,rtlTranslate:Y,enabled:Q}=f;if(!Q||!_.simulateTouch&&"mouse"===g.pointerType)return;let Te,X=g;if(X.originalEvent&&(X=X.originalEvent),"pointermove"===X.type&&(null!==p.touchId||X.pointerId!==p.pointerId))return;if("touchmove"===X.type){if(Te=[...X.changedTouches].filter(nr=>nr.identifier===p.touchId)[0],!Te||Te.identifier!==p.touchId)return}else Te=X;if(!p.isTouched)return void(p.startMoving&&p.isScrolling&&f.emit("touchMoveOpposite",X));const _e=Te.pageX,De=Te.pageY;if(X.preventedByNestedSwiper)return I.startX=_e,void(I.startY=De);
vendor: 11,084 bytes, line 1
1if(!f.allowTouchMove)return X.target.matches(p.focusableElements)||(f.allowClick=!1),void(p.isTouched&&(Object.assign(I,{startX:_e,startY:De,currentX:_e,currentY:De}),p.touchStartTime=Cn()));if(_.touchReleaseOnEdges&&!_.loop)if(f.isVertical()){if(De<I.startY&&f.translate<=f.maxTranslate()||De>I.startY&&f.translate>=f.minTranslate())return p.isTouched=!1,void(p.isMoved=!1)}else if(_e<I.startX&&f.translate<=f.maxTranslate()||_e>I.startX&&f.translate>=f.minTranslate())return;if(o.activeElement&&X.target===o.activeElement&&X.target.matches(p.focusableElements))return p.isMoved=!0,void(f.allowClick=!1);p.allowTouchCallbacks&&f.emit("touchMove",X),I.previousX=I.currentX,I.previousY=I.currentY,I.currentX=_e,I.currentY=De;const xe=I.currentX-I.startX,Ze=I.currentY-I.startY;if(f.params.threshold&&Math.sqrt(xe**2+Ze**2)<f.params.threshold)return;if(typeof p.isScrolling>"u"){let nr;f.isHorizontal()&&I.currentY===I.startY||f.isVertical()&&I.currentX===I.startX?p.isScrolling=!1:xe*xe+Ze*Ze>=25&&(nr=180*Math.atan2(Math.abs(Ze),Math.abs(xe))/Math.PI,p.isScrolling=f.isHorizontal()?nr>_.touchAngle:90-nr>_.touchAngle)}if(p.isScrolling&&f.emit("touchMoveOpposite",X),typeof p.startMoving>"u"&&(I.currentX!==I.startX||I.currentY!==I.startY)&&(p.startMoving=!0),p.isScrolling||"touchmove"===X.type&&p.preventTouchMoveFromPointerMove)return void(p.isTouched=!1);if(!p.startMoving)return;f.allowClick=!1,!_.cssMode&&X.cancelable&&X.preventDefault(),_.touchMoveStopPropagation&&!_.nested&&X.stopPropagation();let tt=f.isHorizontal()?xe:Ze,ot=f.isHorizontal()?I.currentX-I.previousX:I.currentY-I.previousY;_.oneWayMovement&&(tt=Math.abs(tt)*(Y?1:-1),ot=Math.abs(ot)*(Y?1:-1)),I.diff=tt,tt*=_.touchRatio,Y&&(tt=-tt,ot=-ot);const Et=f.touchesDirection;f.swipeDirection=tt>0?"prev":"next",f.touchesDirection=ot>0?"prev":"next";const Xe=f.params.loop&&!_.cssMode,Ct="next"===f.touchesDirection&&f.allowSlideNext||"prev"===f.touchesDirection&&f.allowSlidePrev;if(!p.isMoved){if(Xe&&Ct&&f.loopFix({direction:f.swipeDirection}),p.startTranslate=f.getTranslate(),f.setTransition(0),f.animating){const nr=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});f.wrapperEl.dispatchEvent(nr)}p.allowMomentumBounce=!1,_.grabCursor&&(!0===f.allowSlideNext||!0===f.allowSlidePrev)&&f.setGrabCursor(!0),f.emit("sliderFirstMove",X)}if((new Date).getTime(),p.isMoved&&p.allowThresholdMove&&Et!==f.touchesDirection&&Xe&&Ct&&Math.abs(tt)>=1)return Object.assign(I,{startX:_e,startY:De,currentX:_e,currentY:De,startTranslate:p.currentTranslate}),p.loopSwapReset=!0,void(p.startTranslate=p.currentTranslate);f.emit("sliderMove",X),p.isMoved=!0,p.currentTranslate=tt+p.startTranslate;let Ut=!0,_n=_.resistanceRatio;if(_.touchReleaseOnEdges&&(_n=0),tt>0?(Xe&&Ct&&p.allowThresholdMove&&p.currentTranslate>(_.centeredSlides?f.minTranslate()-f.slidesSizesGrid[f.activeIndex+1]-("auto"!==_.slidesPerView&&f.slides.length-_.slidesPerView>=2?f.slidesSizesGrid[f.activeIndex+1]+f.params.spaceBetween:0)-f.params.spaceBetween:f.minTranslate())&&f.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),p.currentTranslate>f.minTranslate()&&(Ut=!1,_.resistance&&(p.currentTranslate=f.minTranslate()-1+(-f.minTranslate()+p.startTranslate+tt)**_n))):tt<0&&(Xe&&Ct&&p.allowThresholdMove&&p.currentTranslate<(_.centeredSlides?f.maxTranslate()+f.slidesSizesGrid[f.slidesSizesGrid.length-1]+f.params.spaceBetween+("auto"!==_.slidesPerView&&f.slides.length-_.slidesPerView>=2?f.slidesSizesGrid[f.slidesSizesGrid.length-1]+f.params.spaceBetween:0):f.maxTranslate())&&f.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:f.slides.length-("auto"===_.slidesPerView?f.slidesPerViewDynamic():Math.ceil(parseFloat(_.slidesPerView,10)))}),p.currentTranslate<f.maxTranslate()&&(Ut=!1,_.resistance&&(p.currentTranslate=f.maxTranslate()+1-(f.maxTranslate()-p.startTranslate-tt)**_n))),Ut&&(X.preventedByNestedSwiper=!0),!f.allowSlideNext&&"next"===f.swipeDirection&&p.currentTranslate<p.startTranslate&&(p.currentTranslate=p.startTranslate),!f.allowSlidePrev&&"prev"===f.swipeDirection&&p.currentTranslate>p.startTranslate&&(p.currentTranslate=p.startTranslate),!f.allowSlidePrev&&!f.allowSlideNext&&(p.currentTranslate=p.startTranslate),_.threshold>0){if(!(Math.abs(tt)>_.threshold||p.allowThresholdMove))return void(p.currentTranslate=p.startTranslate);if(!p.allowThresholdMove)return p.allowThresholdMove=!0,I.startX=I.currentX,I.startY=I.currentY,p.currentTranslate=p.startTranslate,void(I.diff=f.isHorizontal()?I.currentX-I.startX:I.currentY-I.startY)}!_.followFinger||_.cssMode||((_.freeMode&&_.freeMode.enabled&&f.freeMode||_.watchSlidesProgress)&&(f.updateActiveIndex(),f.updateSlidesClasses()),_.freeMode&&_.freeMode.enabled&&f.freeMode&&f.freeMode.onTouchMove(),f.updateProgress(p.currentTranslate),f.setTranslate(p.currentTranslate))}function xh(g){const o=this,f=o.touchEventsData;let _,p=g;if(p.originalEvent&&(p=p.originalEvent),"touchend"===p.type||"touchcancel"===p.type){if(_=[...p.changedTouches].filter(_n=>_n.identifier===f.touchId)[0],!_||_.identifier!==f.touchId)return}else{if(null!==f.touchId||p.pointerId!==f.pointerId)return;_=p}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(p.type)&&(!["pointercancel","contextmenu"].includes(p.type)||!o.browser.isSafari&&!o.browser.isWebView))return;f.pointerId=null,f.touchId=null;const{params:Y,touches:Q,rtlTranslate:X,slidesGrid:Te,enabled:_e}=o;if(!_e||!Y.simulateTouch&&"mouse"===p.pointerType)return;if(f.allowTouchCallbacks&&o.emit("touchEnd",p),f.allowTouchCallbacks=!1,!f.isTouched)return f.isMoved&&Y.grabCursor&&o.setGrabCursor(!1),f.isMoved=!1,void(f.startMoving=!1);Y.grabCursor&&f.isMoved&&f.isTouched&&(!0===o.allowSlideNext||!0===o.allowSlidePrev)&&o.setGrabCursor(!1);const De=Cn(),xe=De-f.touchStartTime;if(o.allowClick){const _n=p.path||p.composedPath&&p.composedPath();o.updateClickedSlide(_n&&_n[0]||p.target,_n),o.emit("tap click",p),xe<300&&De-f.lastClickTime<300&&o.emit("doubleTap doubleClick",p)}if(f.lastClickTime=Cn(),hn(()=>{o.destroyed||(o.allowClick=!0)}),!f.isTouched||!f.isMoved||!o.swipeDirection||0===Q.diff&&!f.loopSwapReset||f.currentTranslate===f.startTranslate&&!f.loopSwapReset)return f.isTouched=!1,f.isMoved=!1,void(f.startMoving=!1);let Ze;if(f.isTouched=!1,f.isMoved=!1,f.startMoving=!1,Ze=Y.followFinger?X?o.translate:-o.translate:-f.currentTranslate,Y.cssMode)return;if(Y.freeMode&&Y.freeMode.enabled)return void o.freeMode.onTouchEnd({currentPos:Ze});const tt=Ze>=-o.maxTranslate()&&!o.params.loop;let ot=0,Et=o.slidesSizesGrid[0];for(let _n=0;_n<Te.length;_n+=_n<Y.slidesPerGroupSkip?1:Y.slidesPerGroup){const nr=_n<Y.slidesPerGroupSkip-1?1:Y.slidesPerGroup;typeof Te[_n+nr]<"u"?(tt||Ze>=Te[_n]&&Ze<Te[_n+nr])&&(ot=_n,Et=Te[_n+nr]-Te[_n]):(tt||Ze>=Te[_n])&&(ot=_n,Et=Te[Te.length-1]-Te[Te.length-2])}let Xe=null,Ct=null;Y.rewind&&(o.isBeginning?Ct=Y.virtual&&Y.virtual.enabled&&o.virtual?o.virtual.slides.length-1:o.slides.length-1:o.isEnd&&(Xe=0));const gt=(Ze-Te[ot])/Et,Ut=ot<Y.slidesPerGroupSkip-1?1:Y.slidesPerGroup;if(xe>Y.longSwipesMs){if(!Y.longSwipes)return void o.slideTo(o.activeIndex);"next"===o.swipeDirection&&o.slideTo(gt>=Y.longSwipesRatio?Y.rewind&&o.isEnd?Xe:ot+Ut:ot),"prev"===o.swipeDirection&&(gt>1-Y.longSwipesRatio?o.slideTo(ot+Ut):null!==Ct&><0&&Math.abs(gt)>Y.longSwipesRatio?o.slideTo(Ct):o.slideTo(ot))}else{if(!Y.shortSwipes)return void o.slideTo(o.activeIndex);!o.navigation||p.target!==o.navigation.nextEl&&p.target!==o.navigation.prevEl?("next"===o.swipeDirection&&o.slideTo(null!==Xe?Xe:ot+Ut),"prev"===o.swipeDirection&&o.slideTo(null!==Ct?Ct:ot)):o.slideTo(p.target===o.navigation.nextEl?ot+Ut:ot)}}function Iu(){const g=this,{params:o,el:f}=g;if(f&&0===f.offsetWidth)return;o.breakpoints&&g.setBreakpoint();const{allowSlideNext:p,allowSlidePrev:_,snapGrid:I}=g,Y=g.virtual&&g.params.virtual.enabled;g.allowSlideNext=!0,g.allowSlidePrev=!0,g.updateSize(),g.updateSlides(),g.updateSlidesClasses(),!("auto"===o.slidesPerView||o.slidesPerView>1)||!g.isEnd||g.isBeginning||g.params.centeredSlides||Y&&o.loop?g.params.loop&&!Y?g.slideToLoop(g.realIndex,0,!1,!0):g.slideTo(g.activeIndex,0,!1,!0):g.slideTo(g.slides.length-1,0,!1,!0),g.autoplay&&g.autoplay.running&&g.autoplay.paused&&(clearTimeout(g.autoplay.resizeTimeout),g.autoplay.resizeTimeout=setTimeout(()=>{g.autoplay&&g.autoplay.running&&g.autoplay.paused&&g.autoplay.resume()},500)),g.allowSlidePrev=_,g.allowSlideNext=p,g.params.watchOverflow&&I!==g.snapGrid&&g.checkOverflow()}function Pc(g){const o=this;o.enabled&&(o.allowClick||(o.params.preventClicks&&g.preventDefault(),o.params.preventClicksPropagation&&o.animating&&(g.stopPropagation(),g.stopImmediatePropagation())))}function Ua(){const g=this,{wrapperEl:o,rtlTranslate:f,enabled:p}=g;if(!p)return;let _;g.previousTranslate=g.translate,g.translate=g.isHorizontal()?-o.scrollLeft:-o.scrollTop,0===g.translate&&(g.translate=0),g.updateActiveIndex(),g.updateSlidesClasses();const I=g.maxTranslate()-g.minTranslate();_=0===I?0:(g.translate-g.minTranslate())/I,_!==g.progress&&g.updateProgress(f?-g.translate:g.translate),g.emit("setTranslate",g.translate,!1)}function Dl(g){const o=this;J(o,g.target),!o.params.cssMode&&("auto"===o.params.slidesPerView||o.params.autoHeight)&&o.update()}function Mu(){const g=this;g.documentTouchHandlerProceeded||(g.documentTouchHandlerProceeded=!0,g.params.touchReleaseOnEdges&&(g.el.style.touchAction="auto"))}const rf=(g,o)=>{const f=be(),{params:p,el:_,wrapperEl:I,device:Y}=g,Q=!!p.nested,X="on"===o?"addEventListener":"removeEventListener",Te=o;!_||"string"==typeof _||(f[X]("touchstart",g.onDocumentTouchStart,{passive:!1,capture:Q}),_[X]("touchstart",g.onTouchStart,{passive:!1}),_[X]("pointerdown",g.onTouchStart,{passive:!1}),f[X]("touchmove",g.onTouchMove,{passive:!1,capture:Q}),f[X]("pointermove",g.onTouchMove,{passive:!1,capture:Q}),f[X]("touchend",g.onTouchEnd,{passive:!0}),f[X]("pointerup",g.onTouchEnd,{passive:!0}),f[X]("pointercancel",g.onTouchEnd,{passive:!0}),f[X]("touchcancel",g.onTouchEnd,{passive:!0}),f[X]("pointerout",g.onTouchEnd,{passive:!0}),f[X]("pointerleave",g.onTouchEnd,{passive:!0}),f[X]("contextmenu",g.onTouchEnd,{passive:!0}),(p.preventClicks||p.preventClicksPropagation)&&_[X]("click",g.onClick,!0),p.cssMode&&I[X]("scroll",g.onScroll),g[Te](p.updateOnWindowResize?Y.ios||Y.android?"resize orientationchange observerUpdate":"resize observerUpdate":"observerUpdate",Iu,!0),_[X]("load",g.onLoad,{capture:!0}))},sf=(g,o)=>g.grid&&o.grid&&o.grid.rows>1;var is={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",
1spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function ld(g,o){return function(p){void 0===p&&(p={});const _=Object.keys(p)[0],I=p[_];"object"==typeof I&&null!==I?(!0===g[_]&&(g[_]={enabled:!0}),"navigation"===_&&g[_]&&g[_].enabled&&!g[_].prevEl&&!g[_].nextEl&&(g[_].auto=!0),["pagination","scrollbar"].indexOf(_)>=0&&g[_]&&g[_].enabled&&!g[_].el&&(g[_].auto=!0),_ in g&&"enabled"in I?("object"==typeof g[_]&&!("enabled"in g[_])&&(g[_].enabled=!0),g[_]||(g[_]={enabled:!1}),mr(o,p)):mr(o,p)):mr(o,p)}}const Au={eventsEmitter:{on(g,o,f){const p=this;if(!p.eventsListeners||p.destroyed||"function"!=typeof o)return p;const _=f?"unshift":"push";return g.split(" ").forEach(I=>{p.eventsListeners[I]||(p.eventsListeners[I]=[]),p.eventsListeners[I][_](o)}),p},once(g,o,f){const p=this;if(!p.eventsListeners||p.destroyed||"function"!=typeof o)return p;function _(){p.off(g,_),_.__emitterProxy&&delete _.__emitterProxy;for(var I=arguments.length,Y=new Array(I),Q=0;Q<I;Q++)Y[Q]=arguments[Q];o.apply(p,Y)}return _.__emitterProxy=o,p.on(g,_,f)},onAny(g,o){const f=this;if(!f.eventsListeners||f.destroyed||"function"!=typeof g)return f;const p=o?"unshift":"push";return f.eventsAnyListeners.indexOf(g)<0&&f.eventsAnyListeners[p](g),f},offAny(g){const o=this;if(!o.eventsListeners||o.destroyed||!o.eventsAnyListeners)return o;const f=o.eventsAnyListeners.indexOf(g);return f>=0&&o.eventsAnyListeners.splice(f,1),o},off(g,o){const f=this;return!f.eventsListeners||f.destroyed||!f.eventsListeners||g.split(" ").forEach(p=>{typeof o>"u"?f.eventsListeners[p]=[]:f.eventsListeners[p]&&f.eventsListeners[p].forEach((_,I)=>{(_===o||_.__emitterProxy&&_.__emitterProxy===o)&&f.eventsListeners[p].splice(I,1)})}),f}
1,emit(){const g=this;if(!g.eventsListeners||g.destroyed||!g.eventsListeners)return g;let o,f,p;for(var _=arguments.length,I=new Array(_),Y=0;Y<_;Y++)I[Y]=arguments[Y];return"string"==typeof I[0]||Array.isArray(I[0])?(o=I[0],f=I.slice(1,I.length),p=g):(o=I[0].events,f=I[0].data,p=I[0].context||g),f.unshift(p),(Array.isArray(o)?o:o.split(" ")).forEach(X=>{g.eventsAnyListeners&&g.eventsAnyListeners.length&&g.eventsAnyListeners.forEach(Te=>{Te.apply(p,[X,...f])}),g.eventsListeners&&g.eventsListeners[X]&&g.eventsListeners[X].forEach(Te=>{Te.apply(p,f)})}),g}},update:{updateSize:function Du(){const g=this;let o,f;const p=g.el;o=typeof g.params.width<"u"&&null!==g.params.width?g.params.width:p.clientWidth,f=typeof g.params.height<"u"&&null!==g.params.height?g.params.height:p.clientHeight,!(0===o&&g.isHorizontal()||0===f&&g.isVertical())&&(o=o-parseInt(ds(p,"padding-left")||0,10)-parseInt(ds(p,"padding-right")||0,10),f=f-parseInt(ds(p,"padding-top")||0,10)-parseInt(ds(p,"padding-bottom")||0,10),Number.isNaN(o)&&(o=0),Number.isNaN(f)&&(f=0),Object.assign(g,{width:o,height:f,size:g.isHorizontal()?o:f}))},updateSlides:function ef(){const g=this;function o(an,Gn){return parseFloat(an.getPropertyValue(g.getDirectionLabel(Gn))||0)}const f=g.params,{wrapperEl:p,slidesEl:_,size:I,rtlTranslate:Y,wrongRTL:Q}=g,X=g.virtual&&f.virtual.enabled,Te=X?g.virtual.slides.length:g.slides.length,_e=Fr(_,`.${g.params.slideClass}, swiper-slide`),De=X?g.virtual.slides.length:_e.length;let xe=[];const Ze=[],tt=[];let ot=f.slidesOffsetBefore;"function"==typeof ot&&(ot=f.slidesOffsetBefore.call(g));let Et=f.slidesOffsetAfter;"function"==typeof Et&&(Et=f.slidesOffsetAfter.call(g));const Xe=g.snapGrid.length,Ct=g.slidesGrid.length;let gt=f.spaceBetween,Ut=-ot,_n=0,nr=0;if(typeof I>"u")return;"string"==typeof gt&>.indexOf("%")>=0?gt=parseFloat(gt.replace("%",""))/100*I:"string"==typeof gt&&(gt=parseFloat(gt)),g.virtualSize=-gt,_e.forEach(an=>{Y?an.style.marginLeft="":an.style.marginRight="",an.style.marginBottom="",an.style.marginTop=""}),f.centeredSlides&&f.cssMode&&(Dr(p,"--swiper-centered-offset-before",""),Dr(p,"--swiper-centered-offset-after",""));const zn=f.grid&&f.grid.rows>1&&g.grid;let gn;zn?g.grid.initSlides(_e):g.grid&&g.grid.unsetSlides();const sn="auto"===f.slidesPerView&&f.breakpoints&&Object.keys(f.breakpoints).filter(an=>typeof f.breakpoints[an].slidesPerView<"u").length>0;for(let an=0;an<De;an+=1){let Gn;if(gn=0,_e[an]&&(Gn=_e[an]),zn&&g.grid.updateSlide(an,Gn,_e),!_e[an]||"none"!==ds(Gn,"display")){if("auto"===f.slidesPerView){sn&&(_e[an].style[g.getDirectionLabel("width")]="");const rn=getComputedStyle(Gn),cn=Gn.style.transform,wn=Gn.style.webkitTransform;if(cn&&(Gn.style.transform="none"),wn&&(Gn.style.webkitTransform="none"),f.roundLengths)gn=g.isHorizontal()?va(Gn,"width",!0):va(Gn,"height",!0);else{const gr=o(rn,"width"),Rn=o(rn,"padding-left"),Xt=o(rn,"padding-right"),Jt=o(rn,"margin-left"),Kn=o(rn,"margin-right"),xr=rn.getPropertyValue("box-sizing");if(xr&&"border-box"===xr)gn=gr+Jt+Kn;else{const{clientWidth:ar,offsetWidth:yr}=Gn;gn=gr+Rn+Xt+Jt+Kn+(yr-ar)}}cn&&(Gn.style.transform=cn),wn&&(Gn.style.webkitTransform=wn),f.roundLengths&&(gn=Math.floor(gn))}else gn=(I-(f.slidesPerView-1)*gt)/f.slidesPerView,f.roundLengths&&(gn=Math.floor(gn)),_e[an]&&(_e[an].style[g.getDirectionLabel("width")]=`${gn}px`);_e[an]&&(_e[an].swiperSlideSize=gn),tt.push(gn),f.centeredSlides?(Ut=Ut+gn/2+_n/2+gt,0===_n&&0!==an&&(Ut=Ut-I/2-gt),0===an&&(Ut=Ut-I/2-gt),Math.abs(Ut)<.001&&(Ut=0),f.roundLengths&&(Ut=Math.floor(Ut)),nr%f.slidesPerGroup==0&&xe.push(Ut),Ze.push(Ut)):(f.roundLengths&&(Ut=Math.floor(Ut)),(nr-Math.min(g.params.slidesPerGroupSkip,nr))%g.params.slidesPerGroup==0&&xe.push(Ut),Ze.push(Ut),Ut=Ut+gn+gt),g.virtualSize+=gn+gt,_n=gn,nr+=1}}if(g.virtualSize=Math.max(g.virtualSize,I)+Et,Y&&Q&&("slide"===f.effect||"coverflow"===f.effect)&&(p.style.width=`${g.virtualSize+gt}px`),f.setWrapperSize&&(p.style[g.getDirectionLabel("width")]=`${g.virtualSize+gt}px`),zn&&g.grid.updateWrapperSize(gn,xe),!f.centeredSlides){const an=[];for(let Gn=0;Gn<xe.length;Gn+=1){let rn=xe[Gn];f.roundLengths&&(rn=Math.floor(rn)),xe[Gn]<=g.virtualSize-I&&an.push(rn)}xe=an,Math.floor(g.virtualSize-I)-Math.floor(xe[xe.length-1])>1&&xe.push(g.virtualSize-I)}if(X&&f.loop){const an=tt[0]+gt;if(f.slidesPerGroup>1){const Gn=Math.ceil((g.virtual.slidesBefore+g.virtual.slidesAfter)/f.slidesPerGroup),rn=an*f.slidesPerGroup;for(let cn=0;cn<Gn;cn+=1)xe.push(xe[xe.length-1]+rn)}for(let Gn=0;Gn<g.virtual.slidesBefore+g.virtual.slidesAfter;Gn+=1)1===f.slidesPerGroup&&xe.push(xe[xe.length-1]+an),Ze.push(Ze[Ze.length-1]+an),g.virtualSize+=an}if(0===xe.length&&(xe=[0]),0!==gt){const an=g.isHorizontal()&&Y?"marginLeft":g.getDirectionLabel("marginRight");_e.filter((Gn,rn)=>
1!(f.cssMode&&!f.loop)||rn!==_e.length-1).forEach(Gn=>{Gn.style[an]=`${gt}px`})}if(f.centeredSlides&&f.centeredSlidesBounds){let an=0;tt.forEach(rn=>{an+=rn+(gt||0)}),an-=gt;const Gn=an-I;xe=xe.map(rn=>rn<=0?-ot:rn>Gn?Gn+Et:rn)}if(f.centerInsufficientSlides){let an=0;tt.forEach(rn=>{an+=rn+(gt||0)}),an-=gt;const Gn=(f.slidesOffsetBefore||0)+(f.slidesOffsetAfter||0);if(an+Gn<I){const rn=(I-an-Gn)/2;xe.forEach((cn,wn)=>{xe[wn]=cn-rn}),Ze.forEach((cn,wn)=>{Ze[wn]=cn+rn})}}if(Object.assign(g,{slides:_e,snapGrid:xe,slidesGrid:Ze,slidesSizesGrid:tt}),f.centeredSlides&&f.cssMode&&!f.centeredSlidesBounds){Dr(p,"--swiper-centered-offset-before",-xe[0]+"px"),Dr(p,"--swiper-centered-offset-after",g.size/2-tt[tt.length-1]/2+"px");const an=-g.snapGrid[0],Gn=-g.slidesGrid[0];g.snapGrid=g.snapGrid.map(rn=>rn+an),g.slidesGrid=g.slidesGrid.map(rn=>rn+Gn)}if(De!==Te&&g.emit("slidesLengthChange"),xe.length!==Xe&&(g.params.watchOverflow&&g.checkOverflow(),g.emit("snapGridLengthChange")),Ze.length!==Ct&&g.emit("slidesGridLengthChange"),f.watchSlidesProgress&&g.updateSlidesOffset(),g.emit("slidesUpdated"),!(X||f.cssMode||"slide"!==f.effect&&"fade"!==f.effect)){const an=`${f.containerModifierClass}backface-hidden`,Gn=g.el.classList.contains(an);De<=f.maxBackfaceHiddenSlides?Gn||g.el.classList.add(an):Gn&&g.el.classList.remove(an)}},updateAutoHeight:function Xl(g){const o=this,f=[],p=o.virtual&&o.params.virtual.enabled;let I,_=0;"number"==typeof g?o.setTransition(g):!0===g&&o.setTransition(o.params.speed);const Y=Q=>p?o.slides[o.getSlideIndexByData(Q)]:o.slides[Q];if("auto"!==o.params.slidesPerView&&o.params.slidesPerView>1)if(o.params.centeredSlides)(o.visibleSlides||[]).forEach(Q=>{f.push(Q)});else for(I=0;I<Math.ceil(o.params.slidesPerView);I+=1){const Q=o.activeIndex+I;if(Q>o.slides.length&&!p)break;f.push(Y(Q))}else f.push(Y(o.activeIndex));for(I=0;I<f.length;I+=1)if(typeof f[I]<"u"){const Q=f[I].offsetHeight;_=Q>_?Q:_}(_||0===_)&&(o.wrapperEl.style.height=`${_}px`)},updateSlidesOffset:function Ba(){const g=this,o=g.slides,f=g.isElement?g.isHorizontal()?g.wrapperEl.offsetLeft:g.wrapperEl.offsetTop:0;for(let p=0;p<o.length;p+=1)o[p].swiperSlideOffset=(g.isHorizontal()?o[p].offsetLeft:o[p].offsetTop)-f-g.cssOverflowAdjustment()},updateSlidesProgress:function S(g){void 0===g&&(g=this&&this.translate||0);const o=this,f=o.params,{slides:p,rtlTranslate:_,snapGrid:I}=o;if(0===p.length)return;typeof p[0].swiperSlideOffset>"u"&&o.updateSlidesOffset();let Y=-g;_&&(Y=g),o.visibleSlidesIndexes=[],o.visibleSlides=[];let Q=f.spaceBetween;"string"==typeof Q&&Q.indexOf("%")>=0?Q=parseFloat(Q.replace("%",""))/100*o.size:"string"==typeof Q&&(Q=parseFloat(Q));for(let X=0;X<p.length;X+=1){const Te=p[X];let _e=Te.swiperSlideOffset;f.cssMode&&f.centeredSlides&&(_e-=p[0].swiperSlideOffset);const De=(Y+(f.centeredSlides?o.minTranslate():0)-_e)/(Te.swiperSlideSize+Q),xe=(Y-I[0]+(f.centeredSlides?o.minTranslate():0)-_e)/(Te.swiperSlideSize+Q),Ze=-(Y-_e),tt=Ze+o.slidesSizesGrid[X],ot=Ze>=0&&Ze<=o.size-o.slidesSizesGrid[X],Et=Ze>=0&&Ze<o.size-1||tt>1&&tt<=o.size||Ze<=0&&tt>=o.size;Et&&(o.visibleSlides.push(Te),o.visibleSlidesIndexes.push(X)),nd(Te,Et,f.slideVisibleClass),nd(Te,ot,f.slideFullyVisibleClass),Te.progress=_?-De:De,Te.originalProgress=_?-xe:xe}},updateProgress:function P(g){const o=this;typeof g>"u"&&(g=o&&o.translate&&o.translate*(o.rtlTranslate?-1:1)||0);const f=o.params,p=o.maxTranslate()-o.minTranslate();let{progress:_,isBeginning:I,isEnd:Y,progressLoop:Q}=o;const X=I,Te=Y;if(0===p)_=0,I=!0,Y=!0;else{_=(g-o.minTranslate())/p;const _e=Math.abs(g-o.minTranslate())<1,De=Math.abs(g-o.maxTranslate())<1;I=_e||_<=0,Y=De||_>=1,_e&&(_=0),De&&(_=1)}if(f.loop){const _e=o.getSlideIndexByData(0),De=o.getSlideIndexByData(o.slides.length-1),xe=o.slidesGrid[_e],Ze=o.slidesGrid[De],tt=o.slidesGrid[o.slidesGrid.length-1],ot=Math.abs(g);Q=ot>=xe?(ot-xe)/tt:(ot+tt-Ze)/tt,Q>1&&(Q-=1)}Object.assign(o,{progress:_,progressLoop:Q,isBeginning:I,isEnd:Y}),(f.watchSlidesProgress||f.centeredSlides&&f.autoHeight)&&o.updateSlidesProgress(g),I&&!X&&o.emit("reachBeginning toEdge"),Y&&!Te&&o.emit("reachEnd toEdge"),(X&&!I||Te&&!Y)&&o.emit("fromEdge"),o.emit("progress",_)},updateSlidesClasses:function O(){const g=this,{slides:o,params:f,slidesEl:p,activeIndex:_}=g,Y=g.grid&&f.grid&&f.grid.rows>1,Q=De=>Fr(p,`.${f.slideClass}${De}, swiper-slide${De}`)[0];let X,Te,_e;if(g.virtual&&f.virtual.enabled)if(f.loop){let De=_-g.virtual.slidesBefore;De<0&&(De=g.virtual.slides.length+De),De>=g.virtual.slides.length&&(De-=g.virtual.slides.length),X=Q(`[data-swiper-slide-index="${De}"]`)}else X=Q(`[data-swiper-slide-index="${_}"]`);else Y?(X=o.filter(De=>De.column===_)[0],_e=o.filter(De=>De.column===_+1)[0],Te=o.filter(De=>De.column===_-1)[0]):X=o[_];X&&(Y||(_e=function qr(g,o){const f=[];for(;g.nextElementSibling;){const p=g.nextElementSibling;o?p.matches(o)&&f.push(p):f.push(p),g=p}return f}(X,`.${f.slideClass}, swiper-slide`)[0],f.loop&&!_e&&(_e=o[0]),Te=function $i(g,o){const f=[];for(;g.previousElementSibling;){const p=g.previousElementSibling;o?p.matches(o)&&f.push(p):f.push(p),g=p}return f}(X,`.${f.slideClass}, swiper-slide`)[0],f.loop&&0===!Te&&(Te=o[o.length-1]))),o.forEach(De=>{K(De,De===X,f.slideActiveClass),K(De,De===_e,f.slideNextClass),K(De,De===Te,f.slidePrevClass)}),g.emitSlidesClasses()},updateActiveIndex:function Pn(g){const o=this,f=o.rtlTranslate?o.translate:-o.translate,{snapGrid:p,params:_,activeIndex:I,realIndex:Y,snapIndex:Q}=o;let Te,X=g;const _e=Ze=>{let tt=Ze-o.virtual.slidesBefore;return tt<0&&(tt=o.virtual.slides.length+tt),tt>=o.virtual.slides.length&&(tt-=o.virtual.slides.length),tt};if(typeof X>"u"&&(X=function Qt(g){const{slidesGrid:o,params:f}=g,p=g.rtlTranslate?g.translate:-g.translate;let _;for(let I=0;I<o.length;I+=1)typeof o[I+1]<"u"?p>=o[I]&&p<o[I+1]-(o[I+1]-o[I])/2?_=I:p>=o[I]&&p<o[I+1]&&(_=I+1):p>=o[I]&&(_=I);return f.normalizeSlideIndex&&(_<0||typeof _>"u")&&(_=0),_}(o)),p.indexOf(f)>=0)Te=p.indexOf(f);else{const Ze=Math.min(_.slidesPerGroupSkip,X);Te=Ze+Math.floor((X-Ze)/_.slidesPerGroup)}if(Te>=p.length&&(Te=p.length-1),X===I&&!o.params.loop)return void(Te!==Q&&(o.snapIndex=Te,o.emit
1("snapIndexChange")));if(X===I&&o.params.loop&&o.virtual&&o.params.virtual.enabled)return void(o.realIndex=_e(X));const De=o.grid&&_.grid&&_.grid.rows>1;let xe;if(o.virtual&&_.virtual.enabled&&_.loop)xe=_e(X);else if(De){const Ze=o.slides.filter(ot=>ot.column===X)[0];let tt=parseInt(Ze.getAttribute("data-swiper-slide-index"),10);Number.isNaN(tt)&&(tt=Math.max(o.slides.indexOf(Ze),0)),xe=Math.floor(tt/_.grid.rows)}else if(o.slides[X]){const Ze=o.slides[X].getAttribute("data-swiper-slide-index");xe=Ze?parseInt(Ze,10):X}else xe=X;Object.assign(o,{previousSnapIndex:Q,snapIndex:Te,previousRealIndex:Y,realIndex:xe,previousIndex:I,activeIndex:X}),o.initialized&&Ye(o),o.emit("activeIndexChange"),o.emit("snapIndexChange"),(o.initialized||o.params.runCallbacksOnInit)&&(Y!==xe&&o.emit("realIndexChange"),o.emit("slideChange"))},updateClickedSlide:function en(g,o){const f=this,p=f.params;let _=g.closest(`.${p.slideClass}, swiper-slide`);!_&&f.isElement&&o&&o.length>1&&o.includes(g)&&[...o.slice(o.indexOf(g)+1,o.length)].forEach(Q=>{!_&&Q.matches&&Q.matches(`.${p.slideClass}, swiper-slide`)&&(_=Q)});let Y,I=!1;if(_)for(let Q=0;Q<f.slides.length;Q+=1)if(f.slides[Q]===_){I=!0,Y=Q;break}if(!_||!I)return f.clickedSlide=void 0,void(f.clickedIndex=void 0);f.clickedSlide=_,f.clickedIndex=f.virtual&&f.params.virtual.enabled?parseInt(_.getAttribute("data-swiper-slide-index"),10):Y,p.slideToClickedSlide&&void 0!==f.clickedIndex&&f.clickedIndex!==f.activeIndex&&f.slideToClickedSlide()}},translate:{getTranslate:function ai(g){void 0===g&&(g=this.isHorizontal()?"x":"y");const{params:f,rtlTranslate:p,translate:_,wrapperEl:I}=this;if(f.virtualTranslate)return p?-_:_;if(f.cssMode)return _;let Y=fr(I,g);return Y+=this.cssOverflowAdjustment(),p&&(Y=-Y),Y||0},setTranslate:function Ji(g,o){const f=this,{rtlTranslate:p,params:_,wrapperEl:I,progress:Y}=f;let _e,Q=0,X=0;f.isHorizontal()?Q=p?-g:g:X=g,_.roundLengths&&(Q=Math.floor(Q),X=Math.floor(X)),f.previousTranslate=f.translate,f.translate=f.isHorizontal()?Q:X,_.cssMode?I[f.isHorizontal()?"scrollLeft":"scrollTop"]=f.isHorizontal()?-Q:-X:_.virtualTranslate||(f.isHorizontal()?Q-=f.cssOverflowAdjustment():X-=f.cssOverflowAdjustment(),I.style.transform=`translate3d(${Q}px, ${X}px, 0px)`);const De=f.maxTranslate()-f.minTranslate();_e=0===De?0:(g-f.minTranslate())/De,_e!==Y&&f.updateProgress(g),f.emit("setTranslate",f.translate,o)},minTranslate:function wi(){return-this.snapGrid[0]},maxTranslate:function Ho(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function Vs(g,o,f,p,_){void 0===g&&(g=0),void 0===o&&(o=this.params.speed),void 0===f&&(f=!0),void 0===p&&(p=!0);const I=this,{params:Y,wrapperEl:Q}=I;if(I.animating&&Y.preventInteractionOnTransition)return!1;const X=I.minTranslate(),Te=I.maxTranslate();let _e;if(_e=p&&g>X?X:p&&g<Te?Te:g,I.updateProgress(_e),Y.cssMode){const De=I.isHorizontal();if(0===o)Q[De?"scrollLeft":"scrollTop"]=-_e;else{if(!I.support.smoothScroll)return Si({swiper:I,targetPosition:-_e,side:De?"left":"top"}),!0;Q.scrollTo({[De?"left":"top"]:-_e,behavior:"smooth"})}return!0}return 0===o?(I.setTransition(0),I.setTranslate(_e),f&&(I.emit("beforeTransitionStart",o,_),I.emit("transitionEnd"))):(I.setTransition(o),I.setTranslate(_e),f&&(I.emit("beforeTransitionStart",o,_),I.emit("transitionStart")),I.animating||(I.animating=!0,I.onTranslateToWrapperTransitionEnd||(I.onTranslateToWrapperTransitionEnd=function(xe){!I||I.destroyed||xe.target===this&&(I.wrapperEl.removeEventListener("transitionend",I.onTranslateToWrapperTransitionEnd),I.onTranslateToWrapperTransitionEnd=null,delete I.onTranslateToWrapperTransitionEnd,I.animating=!1,f&&I.emit("transitionEnd"))}),I.wrapperEl.addEventListener("transitionend",I.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function Bo(g,o){const f=this;f.params.cssMode||(f.wrapperEl.style.transitionDuration=`${g}ms`,f.wrapperEl.style.transitionDelay=0===g?"0ms":""),f.emit("setTransition",g,o)},transitionStart:function Zo(g,o){void 0===g&&(g=!0);const f=this,{params:p}=f;p.cssMode||(p.autoHeight&&f.updateAutoHeight(),go({swiper:f,runCallbacks:g,direction:o,step:"Start"}))},transitionEnd:function _s(g,o){void 0===g&&(g=!0);const f=this,{params:p}=f;f.animating=!1,!p.cssMode&&(f.setTransition(0),go({swiper:f,runCallbacks:g,direction:o,step:"End"}))}},slide:{slideTo:function qc(g,o,f,p,_){void 0===g&&(g=0),void 0===f&&(f=!0),"string"==typeof g&&(g=parseInt(g,10));const I=this;let Y=g;Y<0&&(Y=0);const{params:Q,snapGrid:X,slidesGrid:Te,previousIndex:_e,activeIndex:De,rtlTranslate:xe,wrapperEl:Ze,enabled:tt}=I;
1if(!tt&&!p&&!_||I.destroyed||I.animating&&Q.preventInteractionOnTransition)return!1;typeof o>"u"&&(o=I.params.speed);const ot=Math.min(I.params.slidesPerGroupSkip,Y);let Et=ot+Math.floor((Y-ot)/I.params.slidesPerGroup);Et>=X.length&&(Et=X.length-1);const Xe=-X[Et];if(Q.normalizeSlideIndex)for(let gt=0;gt<Te.length;gt+=1){const Ut=-Math.floor(100*Xe),_n=Math.floor(100*Te[gt]),nr=Math.floor(100*Te[gt+1]);typeof Te[gt+1]<"u"?Ut>=_n&&Ut<nr-(nr-_n)/2?Y=gt:Ut>=_n&&Ut<nr&&(Y=gt+1):Ut>=_n&&(Y=gt)}if(I.initialized&&Y!==De&&(!I.allowSlideNext&&(xe?Xe>I.translate&&Xe>I.minTranslate():Xe<I.translate&&Xe<I.minTranslate())||!I.allowSlidePrev&&Xe>I.translate&&Xe>I.maxTranslate()&&(De||0)!==Y))return!1;let Ct;if(Y!==(_e||0)&&f&&I.emit("beforeSlideChangeStart"),I.updateProgress(Xe),Ct=Y>De?"next":Y<De?"prev":"reset",xe&&-Xe===I.translate||!xe&&Xe===I.translate)return I.updateActiveIndex(Y),Q.autoHeight&&I.updateAutoHeight(),I.updateSlidesClasses(),"slide"!==Q.effect&&I.setTranslate(Xe),"reset"!==Ct&&(I.transitionStart(f,Ct),I.transitionEnd(f,Ct)),!1;if(Q.cssMode){const gt=I.isHorizontal(),Ut=xe?Xe:-Xe;if(0===o){const _n=I.virtual&&I.params.virtual.enabled;_n&&(I.wrapperEl.style.scrollSnapType="none",I._immediateVirtual=!0),_n&&!I._cssModeVirtualInitialSet&&I.params.initialSlide>0?(I._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{Ze[gt?"scrollLeft":"scrollTop"]=Ut})):Ze[gt?"scrollLeft":"scrollTop"]=Ut,_n&&requestAnimationFrame(()=>{I.wrapperEl.style.scrollSnapType="",I._immediateVirtual=!1})}else{if(!I.support.smoothScroll)return Si({swiper:I,targetPosition:Ut,side:gt?"left":"top"}),!0;Ze.scrollTo({[gt?"left":"top"]:Ut,behavior:"smooth"})}return!0}return I.setTransition(o),I.setTranslate(Xe),I.updateActiveIndex(Y),I.updateSlidesClasses(),I.emit("beforeTransitionStart",o,p),I.transitionStart(f,Ct),0===o?I.transitionEnd(f,Ct):I.animating||(I.animating=!0,I.onSlideToWrapperTransitionEnd||(I.onSlideToWrapperTransitionEnd=function(Ut){!I||I.destroyed||Ut.target===this&&(I.wrapperEl.removeEventListener("transitionend",I.onSlideToWrapperTransitionEnd),I.onSlideToWrapperTransitionEnd=null,delete I.onSlideToWrapperTransitionEnd,I.transitionEnd(f,Ct))}),I.wrapperEl.addEventListener("transitionend",I.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function Ia(g,o,f,p){void 0===g&&(g=0),void 0===f&&(f=!0),"string"==typeof g&&(g=parseInt(g,10));const _=this;if(_.destroyed)return;typeof o>"u"&&(o=_.params.speed);const I=_.grid&&_.params.grid&&_.params.grid.rows>1;let Y=g;if(_.params.loop)if(_.virtual&&_.params.virtual.enabled)Y+=_.virtual.slidesBefore;else{let Q;if(I){const xe=Y*_.params.grid.rows;Q=_.slides.filter(Ze=>1*Ze.getAttribute("data-swiper-slide-index")===xe)[0].column}else Q=_.getSlideIndexByData(Y);const X=I?Math.ceil(_.slides.length/_.params.grid.rows):_.slides.length,{centeredSlides:Te}=_.params;let _e=_.params.slidesPerView;"auto"===_e?_e=_.slidesPerViewDynamic():(_e=Math.ceil(parseFloat(_.params.slidesPerView,10)),Te&&_e%2==0&&(_e+=1));let De=X-Q<_e;if(Te&&(De=De||Q<Math.ceil(_e/2)),p&&Te&&"auto"!==_.params.slidesPerView&&!I&&(De=!1),De){const xe=Te?Q<_.activeIndex?"prev":"next":Q-_.activeIndex-1<_.params.slidesPerView?"next":"prev";_.loopFix({direction:xe,slideTo:!0,activeSlideIndex:"next"===xe?Q+1:Q-X+1,slideRealIndex:"next"===xe?_.realIndex:void 0})}if(I){const xe=Y*_.params.grid.rows;Y=_.slides.filter(Ze=>1*Ze.getAttribute("data-swiper-slide-index")===xe)[0].column}else Y=_.getSlideIndexByData(Y)}return requestAnimationFrame(()=>{_.slideTo(Y,o,f,p)}),_},slideNext:function Yl(g,o,f){void 0===o&&(o=!0);const p=this,{enabled:_,params:I,animating:Y}=p;if(!_||p.destroyed)return p;typeof g>"u"&&(g=p.params.speed);let Q=I.slidesPerGroup;"auto"===I.slidesPerView&&1===I.slidesPerGroup&&I.slidesPerGroupAuto&&(Q=Math.max(p.slidesPerViewDynamic("current",!0),1));const X=p.activeIndex<I.slidesPerGroupSkip?1:Q;if(I.loop){if(Y&&(!p.virtual||!I.virtual.enabled)&&I.loopPreventsSliding)return!1;if(p.loopFix({direction:"next"}),p._clientLeft=p.wrapperEl.clientLeft,p.activeIndex===p.slides.length-1&&I.cssMode)return requestAnimationFrame(()=>{p.slideTo(p.activeIndex+X,g,o,f)}),!0}return p.slideTo(I.rewind&&p.isEnd?0:p.activeIndex+X,g,o,f)},slidePrev:function tf(g,o,f){void 0===o&&(o=!0);const p=this,{params:_,snapGrid:I,slidesGrid:Y,rtlTranslate:Q,enabled:X,animating:Te}=p;if(!X||p.destroyed)return p;if(typeof g>"u"&&(g=p.params.speed),_.loop){if(Te&&(!p.virtual||!_.virtual.enabled)&&_.loopPreventsSliding)return!1;p.loopFix({direction:"prev"}),p._clientLeft=p.wrapperEl.clientLeft}function xe(Xe){return Xe<0?-Math.floor(Math.abs(Xe)):Math.floor(Xe)}const Ze=xe(Q?p.translate:-p.translate),tt=I.map(Xe=>xe(Xe));let ot=I[tt.indexOf(Ze)-1];if(typeof ot>"u"&&_.cssMode){let Xe;I.forEach((Ct,gt)=>{Ze>=Ct&&(Xe=gt)}),typeof Xe<"u"&&(ot=I[Xe>0?Xe-1:Xe])}let Et=0;return typeof ot<"u"&&(Et=Y.indexOf(ot),Et<0&&(Et=p.activeIndex-1),"auto"===_.slidesPerView&&1===_.slidesPerGroup&&_.slidesPerGroupAuto&&(Et=Et-p.slidesPerViewDynamic("previous",!0)+1,Et=Math.max(Et,0))),_.rewind&&p.isBeg
1inning?p.slideTo(p.params.virtual&&p.params.virtual.enabled&&p.virtual?p.virtual.slides.length-1:p.slides.length-1,g,o,f):_.loop&&0===p.activeIndex&&_.cssMode?(requestAnimationFrame(()=>{p.slideTo(Et,g,o,f)}),!0):p.slideTo(Et,g,o,f)},slideReset:function eu(g,o,f){void 0===o&&(o=!0);const p=this;if(!p.destroyed)return typeof g>"u"&&(g=p.params.speed),p.slideTo(p.activeIndex,g,o,f)},slideToClosest:function Su(g,o,f,p){void 0===o&&(o=!0),void 0===p&&(p=.5);const _=this;if(_.destroyed)return;typeof g>"u"&&(g=_.params.speed);let I=_.activeIndex;const Y=Math.min(_.params.slidesPerGroupSkip,I),Q=Y+Math.floor((I-Y)/_.params.slidesPerGroup),X=_.rtlTranslate?_.translate:-_.translate;if(X>=_.snapGrid[Q]){const Te=_.snapGrid[Q];X-Te>(_.snapGrid[Q+1]-Te)*p&&(I+=_.params.slidesPerGroup)}else{const Te=_.snapGrid[Q-1];X-Te<=(_.snapGrid[Q]-Te)*p&&(I-=_.params.slidesPerGroup)}return I=Math.max(I,0),I=Math.min(I,_.slidesGrid.length-1),_.slideTo(I,g,o,f)},slideToClickedSlide:function rd(){const g=this;if(g.destroyed)return;const{params:o,slidesEl:f}=g,p="auto"===o.slidesPerView?g.slidesPerViewDynamic():o.slidesPerView;let I,_=g.clickedIndex;const Y=g.isElement?"swiper-slide":`.${o.slideClass}`;if(o.loop){if(g.animating)return;I=parseInt(g.clickedSlide.getAttribute("data-swiper-slide-index"),10),o.centeredSlides?_<g.loopedSlides-p/2||_>g.slides.length-g.loopedSlides+p/2?(g.loopFix(),_=g.getSlideIndex(Fr(f,`${Y}[data-swiper-slide-index="${I}"]`)[0]),hn(()=>{g.slideTo(_)})):g.slideTo(_):_>g.slides.length-p?(g.loopFix(),_=g.getSlideIndex(Fr(f,`${Y}[data-swiper-slide-index="${I}"]`)[0]),hn(()=>{g.slideTo(_)})):g.slideTo(_)}else g.slideTo(_)}},loop:{loopCreate:function Es(g){const o=this,{params:f,slidesEl:p}=o;if(!f.loop||o.virtual&&o.params.virtual.enabled)return;const _=()=>{Fr(p,`.${f.slideClass}, swiper-slide`).forEach((De,xe)=>{De.setAttribute("data-swiper-slide-index",xe)})},I=o.grid&&f.grid&&f.grid.rows>1,Y=f.slidesPerGroup*(I?f.grid.rows:1),X=I&&o.slides.length%f.grid.rows!=0,Te=_e=>{for(let De=0;De<_e;De+=1){const xe=o.isElement?Zr("swiper-slide",[f.slideBlankClass]):Zr("div",[f.slideClass,f.slideBlankClass]);o.slidesEl.append(xe)}};o.slides.length%Y!=0?(f.loopAddBlankSlides?(Te(Y-o.slides.length%Y),o.recalcSlides(),o.updateSlides()):He("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),_()):X?(f.loopAddBlankSlides?(Te(f.grid.rows-o.slides.length%f.grid.rows),o.recalcSlides(),o.updateSlides()):He("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),_()):_(),o.loopFix({slideRealIndex:g,direction:f.centeredSlides?void 0:"next"})},loopFix:function nf(g){let{slideRealIndex:o,slideTo:f=!0,direction:p,setTranslate:_,activeSlideIndex:I,byController:Y,byMousewheel:Q}=void 0===g?{}:g;const X=this;if(!X.params.loop)return;X.emit("beforeLoopFix");const{slides:Te,allowSlidePrev:_e,allowSlideNext:De,slidesEl:xe,params:Ze}=X,{centeredSlides:tt}=Ze;if(X.allowSlidePrev=!0,X.allowSlideNext=!0,X.virtual&&Ze.virtual.enabled)return f&&(Ze.centeredSlides||0!==X.snapIndex?Ze.centeredSlides&&X.snapIndex<Ze.slidesPerView?X.slideTo(X.virtual.slides.length+X.snapIndex,0,!1,!0):X.snapIndex===X.snapGrid.length-1&&X.slideTo(X.virtual.slidesBefore,0,!1,!0):X.slideTo(X.virtual.slides.length,0,!1,!0)),X.allowSlidePrev=_e,X.allowSlideNext=De,void X.emit("loopFix");let ot=Ze.slidesPerView;"auto"===ot?ot=X.slidesPerViewDynamic():(ot=Math.ceil(parseFloat(Ze.slidesPerView,10)),tt&&ot%2==0&&(ot+=1));const Et=Ze.slidesPerGroupAuto?ot:Ze.slidesPerGroup;let Xe=Et;Xe%Et!=0&&(Xe+=Et-Xe%Et),Xe+=Ze.loopAdditionalSlides,X.loopedSlides=Xe;const Ct=X.grid&&Ze.grid&&Ze.grid.rows>1;Te.length<ot+Xe?He("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):Ct&&"row"===Ze.grid.fill&&He("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const gt=[],Ut=[];let _n=X.activeIndex;typeof I>"u"?I=X.getSlideIndex(Te.filter(cn=>cn.classList.contains(Ze.slideActiveClass))[0]):_n=I;const nr="next"===p||!p,zn="prev"===p||!p;let gn=0,sn=0;const an=Ct?Math.ceil(Te.length/Ze.grid.rows):Te.length,rn=(Ct?Te[I].column:I)+(tt&&typeof _>"u"?-ot/2+.5:0);if(rn<Xe){gn=Math.max(Xe-rn,Et);for(let cn=0;cn<Xe-rn;cn+=1){const wn=cn-Math.floor(cn/an)*an;if(Ct){const gr=an-wn-1;for(let Rn=Te.length-1;Rn>=0;Rn-=1)Te[Rn].column===gr&>.push(Rn)}else gt.push(an-wn-1)}}else if(rn+ot>an-Xe){sn=Math.max(rn-(an-2*Xe),Et);for(let cn=0;cn<sn;cn+=1){const wn=cn-Math.floor(cn/an)*an;Ct?Te.forEach((gr,Rn)=>{gr.column===wn&&Ut.push(Rn)}):Ut.push(wn)}}if(X.__preventObserver__=!0,requestAnimationFrame(()=>{X.__preventObserver__=!1}),zn&>.forEach(cn=>{Te[cn].swiperLoopMoveDOM=!0,xe.prepend(Te[cn]),Te[cn].swiperLoopMoveDOM=!1}),nr&&Ut.forEach(cn=>{Te[cn].swiperLoopMoveDOM=!0,xe.append(Te[cn]),Te[cn].swiperLoopMoveDOM=!1}),X.recalcSlides(),"auto"===Ze.slidesPerView?X.updateSlides():Ct&&(gt.length>0&&zn||Ut.length>
10&&nr)&&X.slides.forEach((cn,wn)=>{X.grid.updateSlide(wn,cn,X.slides)}),Ze.watchSlidesProgress&&X.updateSlidesOffset(),f)if(gt.length>0&&zn)if(typeof o>"u"){const gr=X.slidesGrid[_n+gn]-X.slidesGrid[_n];Q?X.setTranslate(X.translate-gr):(X.slideTo(_n+Math.ceil(gn),0,!1,!0),_&&(X.touchEventsData.startTranslate=X.touchEventsData.startTranslate-gr,X.touchEventsData.currentTranslate=X.touchEventsData.currentTranslate-gr))}else _&&(X.slideTo(X.activeIndex+(Ct?gt.length/Ze.grid.rows:gt.length),0,!1,!0),X.touchEventsData.currentTranslate=X.translate);else if(Ut.length>0&&nr)if(typeof o>"u"){const gr=X.slidesGrid[_n-sn]-X.slidesGrid[_n];Q?X.setTranslate(X.translate-gr):(X.slideTo(_n-sn,0,!1,!0),_&&(X.touchEventsData.startTranslate=X.touchEventsData.startTranslate-gr,X.touchEventsData.currentTranslate=X.touchEventsData.currentTranslate-gr))}else X.slideTo(X.activeIndex-(Ct?Ut.length/Ze.grid.rows:Ut.length),0,!1,!0);if(X.allowSlidePrev=_e,X.allowSlideNext=De,X.controller&&X.controller.control&&!Y){const cn={slideRealIndex:o,direction:p,setTranslate:_,activeSlideIndex:I,byController:!0};Array.isArray(X.controller.control)?X.controller.control.forEach(wn=>{!wn.destroyed&&wn.params.loop&&wn.loopFix({...cn,slideTo:wn.params.slidesPerView===Ze.slidesPerView&&f})}):X.controller.control instanceof X.constructor&&X.controller.control.params.loop&&X.controller.control.loopFix({...cn,slideTo:X.controller.control.params.slidesPerView===Ze.slidesPerView&&f})}X.emit("loopFix")},loopDestroy:function wu(){const g=this,{params:o,slidesEl:f}=g;if(!o.loop||g.virtual&&g.params.virtual.enabled)return;g.recalcSlides();const p=[];g.slides.forEach(_=>{const I=typeof _.swiperSlideIndex>"u"?1*_.getAttribute("data-swiper-slide-index"):_.swiperSlideIndex;p[I]=_}),g.slides.forEach(_=>{_.removeAttribute("data-swiper-slide-index")}),p.forEach(_=>{f.append(_)}),g.recalcSlides(),g.slideTo(g.realIndex,0)}},grabCursor:{setGrabCursor:function tu(g){const o=this;if(!o.params.simulateTouch||o.params.watchOverflow&&o.isLocked||o.params.cssMode)return;const f="container"===o.params.touchEventsTarget?o.el:o.wrapperEl;o.isElement&&(o.__preventObserver__=!0),f.style.cursor="move",f.style.cursor=g?"grabbing":"grab",o.isElement&&requestAnimationFrame(()=>{o.__preventObserver__=!1})},unsetGrabCursor:function nu(){const g=this;g.params.watchOverflow&&g.isLocked||g.params.cssMode||(g.isElement&&(g.__preventObserver__=!0),g["container"===g.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",g.isElement&&requestAnimationFrame(()=>{g.__preventObserver__=!1}))}},events:{attachEvents:function Rh(){const g=this,{params:o}=g;g.onTouchStart=ru.bind(g),g.onTouchMove=Tu.bind(g),g.onTouchEnd=xh.bind(g),g.onDocumentTouchStart=Mu.bind(g),o.cssMode&&(g.onScroll=Ua.bind(g)),g.onClick=Pc.bind(g),g.onLoad=Dl.bind(g),rf(g,"on")},detachEvents:function xc(){rf(this,"off")}},breakpoints:{setBreakpoint:function od(){const g=this,{realIndex:o,initialized:f,params:p,el:_}=g,I=p.breakpoints;if(!I||I&&0===Object.keys(I).length)return;
1const Y=g.getBreakpoint(I,g.params.breakpointsBase,g.el);if(!Y||g.currentBreakpoint===Y)return;const X=(Y in I?I[Y]:void 0)||g.originalParams,Te=sf(g,p),_e=sf(g,X),De=g.params.grabCursor,xe=X.grabCursor,Ze=p.enabled;Te&&!_e?(_.classList.remove(`${p.containerModifierClass}grid`,`${p.containerModifierClass}grid-column`),g.emitContainerClasses()):!Te&&_e&&(_.classList.add(`${p.containerModifierClass}grid`),(X.grid.fill&&"column"===X.grid.fill||!X.grid.fill&&"column"===p.grid.fill)&&_.classList.add(`${p.containerModifierClass}grid-column`),g.emitContainerClasses()),De&&!xe?g.unsetGrabCursor():!De&&xe&&g.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(gt=>{if(typeof X[gt]>"u")return;const Ut=p[gt]&&p[gt].enabled,_n=X[gt]&&X[gt].enabled;Ut&&!_n&&g[gt].disable(),!Ut&&_n&&g[gt].enable()});const tt=X.direction&&X.direction!==p.direction,ot=p.loop&&(X.slidesPerView!==p.slidesPerView||tt),Et=p.loop;tt&&f&&g.changeDirection(),mr(g.params,X);const Xe=g.params.enabled,Ct=g.params.loop;Object.assign(g,{allowTouchMove:g.params.allowTouchMove,allowSlideNext:g.params.allowSlideNext,allowSlidePrev:g.params.allowSlidePrev}),Ze&&!Xe?g.disable():!Ze&&Xe&&g.enable(),g.currentBreakpoint=Y,g.emit("_beforeBreakpoint",X),f&&(ot?(g.loopDestroy(),g.loopCreate(o),g.updateSlides()):!Et&&Ct?(g.loopCreate(o),g.updateSlides()):Et&&!Ct&&g.loopDestroy()),g.emit("breakpoint",X)},getBreakpoint:function af(g,o,f){if(void 0===o&&(o="window"),!g||"container"===o&&!f)return;let p=!1;const _=ut(),I="window"===o?_.innerHeight:f.clientHeight,Y=Object.keys(g).map(Q=>{if("string"==typeof Q&&0===Q.indexOf("@")){const X=parseFloat(Q.substr(1));return{value:I*X,point:Q}}return{value:Q,point:Q}});Y.sort((Q,X)=>
1parseInt(Q.value,10)-parseInt(X.value,10));for(let Q=0;Q<Y.length;Q+=1){const{point:X,value:Te}=Y[Q];"window"===o?_.matchMedia(`(min-width: ${Te}px)`).matches&&(p=X):Te<=f.clientWidth&&(p=X)}return p||"max"}},checkOverflow:{checkOverflow:function Nh(){const g=this,{isLocked:o,params:f}=g,{slidesOffsetBefore:p}=f;if(p){const _=g.slides.length-1;g.isLocked=g.size>g.slidesGrid[_]+g.slidesSizesGrid[_]+2*p}else g.isLocked=1===g.snapGrid.length;!0===f.allowSlideNext&&(g.allowSlideNext=!g.isLocked),!0===f.allowSlidePrev&&(g.allowSlidePrev=!g.isLocked),o&&o!==g.isLocked&&(g.isEnd=!1),o!==g.isLocked&&g.emit(g.isLocked?"lock":"unlock")}},classes:{addClasses:function cf(){const g=this,{classNames:o,params:f,rtl:p,el:_,device:I}=g,Y=function lf(g,o){const f=[];return g.forEach(p=>{"object"==typeof p?Object.keys(p).forEach(_=>{p[_]&&f.push(o+_)}):"string"==typeof p&&f.push(o+p)}),f}(["initialized",f.direction,{"free-mode":g.params.freeMode&&f.freeMode.enabled},{autoheight:f.autoHeight},{rtl:p},{grid:f.grid&&f.grid.rows>1},{"grid-column":f.grid&&f.grid.rows>1&&"column"===f.grid.fill},{android:I.android},{ios:I.ios},{"css-mode":f.cssMode},{centered:f.cssMode&&f.centeredSlides},{"watch-progress":f.watchSlidesProgress}],f.containerModifierClass);o.push(...Y),_.classList.add(...o),g.emitContainerClasses()},removeClasses:function iu(){const{el:o,classNames:f}=this;!o||"string"==typeof o||(o.classList.remove(...f),this.emitContainerClasses())}}},Sl={};class Ma{constructor(){let o,f;for(var p=arguments.length,_=new Array(p),I=0;I<p;I++)_[I]=arguments[I];1===_.length&&_[0].constructor&&"Object"===Object.prototype.toString.call(_[0]).slice(8,-1)?f=_[0]:[o,f]=_,f||(f={}),f=mr({},f),o&&!f.el&&(f.el=o);const Y=be();if(f.el&&"string"==typeof f.el&&Y.querySelectorAll(f.el).length>1){const _e=[];return Y.querySelectorAll(f.el).forEach(De=>{const xe=mr({},f,{el:De});_e.push(new Ma(xe))}),_e}const Q=this;Q.__swiper__=!0,Q.support=Ss(),Q.device=Ac({userAgent:f.userAgent}),Q.browser=function la(){return Oc||(Oc=function Cu(){const g=ut(),o=Ac();let f=!1;function p(){const Q=g.navigator.userAgent.toLowerCase();return Q.indexOf("safari")>=0&&Q.indexOf("chrome")<0&&Q.indexOf("android")<0}if(p()){const Q=String(g.navigator.userAgent);if(Q.includes("Version/")){const[X,Te]=Q.split("Version/")[1].split(" ")[0].split(".").map(_e=>Number(_e));f=X<16||16===X&&Te<2}}const _=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(g.navigator.userAgent),I=p();return{isSafari:f||I,needPerspectiveFix:f,need3dFix:I||_&&o.ios,isWebView:_}}()),Oc}(),Q.eventsListeners={},Q.eventsAnyListeners=[],Q.modules=[...Q.__modules__],f.modules&&Array.isArray(f.modules)&&Q.modules.push(...f.modules);const X={};Q.modules.forEach(_e=>{_e({params:f,swiper:Q,extendParams:ld(f,X),on:Q.on.bind(Q),once:Q.once.bind(Q),off:Q.off.bind(Q),emit:Q.emit.bind(Q)})});const Te=mr({},is,X);return Q.params=mr({},Te,Sl,f),Q.originalParams=mr({},Q.params),Q.passedParams=mr({}
vendor: 4,599 bytes, line 1
1,f),Q.params&&Q.params.on&&Object.keys(Q.params.on).forEach(_e=>{Q.on(_e,Q.params.on[_e])}),Q.params&&Q.params.onAny&&Q.onAny(Q.params.onAny),Object.assign(Q,{enabled:Q.params.enabled,el:o,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===Q.params.direction,isVertical:()=>"vertical"===Q.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:Q.params.allowSlideNext,allowSlidePrev:Q.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:Q.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:Q.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),Q.emit("_swiper"),Q.params.init&&Q.init(),Q}getDirectionLabel(o){return this.isHorizontal()?o:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[o]}getSlideIndex(o){const{slidesEl:f,params:p}=this,I=aa(Fr(f,`.${p.slideClass}, swiper-slide`)[0]);return aa(o)-I}getSlideIndexByData(o){return this.getSlideIndex(this.slides.filter(f=>1*f.getAttribute("data-swiper-slide-index")===o)[0])}recalcSlides(){const{slidesEl:f,params:p}=this;this.slides=Fr(f,`.${p.slideClass}, swiper-slide`)}enable(){const o=this;o.enabled||(o.enabled=!0,o.params.grabCursor&&o.setGrabCursor(),o.emit("enable"))}disable(){const o=this;o.enabled&&(o.enabled=!1,o.params.grabCursor&&o.unsetGrabCursor(),o.emit("disable"))}setProgress(o,f){const p=this;o=Math.min(Math.max(o,0),1);const _=p.minTranslate(),Y=(p.maxTranslate()-_)*o+_;p.translateTo(Y,typeof f>"u"?0:f),p.updateActiveIndex(),p.updateSlidesClasses()}emitContainerClasses(){const o=this;if(!o.params._emitClasses||!o.el)return;const f=o.el.className.split(" ").filter(p=>0===p.indexOf("swiper")||0===p.indexOf(o.params.containerModifierClass));o.emit("_containerClasses",f.join(" "))}getSlideClasses(o){const f=this;return f.destroyed?"":o.className.split(" ").filter(p=>0===p.indexOf("swiper-slide")||0===p.indexOf(f.params.slideClass)).join(" ")}emitSlidesClasses(){const o=this;if(!o.params._emitClasses||!o.el)return;const f=[];o.slides.forEach(p=>{const _=o.getSlideClasses(p);f.push({slideEl:p,classNames:_}),o.emit("_slideClass",p,_)}),o.emit("_slideClasses",f)}slidesPerViewDynamic(o,f){void 0===o&&(o="current"),void 0===f&&(f=!1);const{params:_,slides:I,slidesGrid:Y,slidesSizesGrid:Q,size:X,activeIndex:Te}=this;let _e=1;if("number"==typeof _.slidesPerView)return _.slidesPerView;if(_.centeredSlides){let xe,De=I[Te]?Math.ceil(I[Te].swiperSlideSize):0;for(let Ze=Te+1;Ze<I.length;Ze+=1)I[Ze]&&!xe&&(De+=Math.ceil(I[Ze].swiperSlideSize),_e+=1,De>X&&(xe=!0));for(let Ze=Te-1;Ze>=0;Ze-=1)I[Ze]&&!xe&&(De+=I[Ze].swiperSlideSize,_e+=1,De>X&&(xe=!0))}else if("current"===o)for(let De=Te+1;De<I.length;De+=1)(f?Y[De]+Q[De]-Y[Te]<X:Y[De]-Y[Te]<X)&&(_e+=1);else for(let De=Te-1;De>=0;De-=1)Y[Te]-Y[De]<X&&(_e+=1);return _e}update(){const o=this;if(!o||o.destroyed)return;const{snapGrid:f,params:p}=o;function _(){const Q=Math.min(Math.max(o.rtlTranslate?-1*o.translate:o.translate,o.maxTranslate()),o.minTranslate());o.setTranslate(Q),o.updateActiveIndex(),o.updateSlidesClasses()}let I;p.breakpoints&&o.setBreakpoint(),[...o.el.querySelectorAll('[loading="lazy"]')].forEach(Y=>{Y.complete&&J(o,Y)}),o.updateSize(),o.updateSlides(),o.updateProgress(),o.updateSlidesClasses(),p.freeMode&&p.freeMode.enabled&&!p.cssMode?(_(),p.autoHeight&&o.updateAutoHeight()):(I=o.slideTo(("auto"===p.slidesPerView||p.slidesPerView>1)&&o.isEnd&&!p.centeredSlides?(o.virtual&&p.virtual.enabled?o.virtual.slides:o.slides).length-1:o.activeIndex,0,!1,!0),I||_()),p.watchOverflow&&f!==o.snapGrid&&o.checkOverflow(),o.emit("update")}changeDirection(o,f){void 0===f&&(f=!0);const p=this,_=p.params.direction;return o||(o="horizontal"===_?"vertical":"horizontal"),o===_||"horizontal"!==o&&"vertical"!==o||(p.el.classList.remove(`${p.params.containerModifierClass}${_}`),p.el.classList.add(`${p.params.containerModifierClass}${o}`),p.emitContainerClasses(),p.params.direction=o,p.slides.forEac
1h(I=>{"vertical"===o?I.style.width="":I.style.height=""}),p.emit("changeDirection"),f&&p.update()),p}changeLanguageDirection(o){const f=this;f.rtl&&"rtl"===o||!f.rtl&&"ltr"===o||(f.rtl="rtl"===o,f.rtlTranslate="horizontal"===f.params.direction&&f.rtl,f.rtl?(f.el.classList.add(`${f.params.containerModifierClass}rtl`),f.el.dir="rtl"):(f.el.classList.remove(`${f.params.containerModifierClass}rtl`),f.el.dir="ltr"),f.update())}mount(o){const f=this;if(f.mounted)return!0;let p=o||f.params.el;if("string"==typeof p&&(p=document.querySelector(p)),!p)return!1;p.swiper=f,p.parentNode&&p.parentNode.host&&p.parentNode.host.nodeName===f.params.swiperElementNodeName.toUpperCase()&&(f.isElement=!0);const _=()=>`.${(f.params.wrapperClass||"").trim().split(" ").join(".")}`;let Y=p&&p.shadowRoot&&p.shadowRoot.querySelector?p.shadowRoot.querySelector(_()):Fr(p,_())[0];return!Y&&f.params.createElements&&(Y=Zr("div",f.params.wrapperClass),p.append(Y),Fr(p,`.${f.params.slideClass}`).forEach(Q=>{Y.append(Q)})),Object.assign(f,{el:p,wrapperEl:Y,slidesEl:f.isElement&&!p.parentNode.host.slideSlots?p.parentNode.host:Y,hostEl:f.isElement?p.parentNode.host:p,mounted:!0,rtl:"rtl"===p.dir.toLowerCase()||"rtl"===ds(p,"direction"),rtlTranslate:"horizontal"===f.params.direction&&("rtl"===p.dir.toLowerCase()||"rtl"===ds(p,"direction")),wrongRTL:"-webkit-box"===ds(Y,"display")}),!0}init(o){const f=this;if(f.initialized||!1===f.mount(o))return f;f.emit("beforeInit"),f.params.breakpoints&&f.setBreakpoint(),f.addClasses(),f.updateSize(),f.updateSlides(),f.params.watchOverflow&&f.checkOverflow(),f.params.grabCursor&&f.enabled&&f.setGrabCursor(),f.slideTo(f.params.loop&&f.virtual&&f.params.virtual.enabled?f.params.initialSlide+f.virtual.slidesBefore:f.params.initialSlide,0,f.params.runCallbacksOnInit,!1,!0),f.params.loop&&f.loopCreate(),f.attachEvents();const _=[...f.el.querySelectorAll('[loading="lazy"]')];return f.isElement&&_.push(...f.hostEl.querySelectorAll('[loading="lazy"]')),_.forEach(I=>{I.complete?J(f,I):I.addEventListener("load",Y=>{J(f,Y.target)})}),Ye(f),f.initialized=!0,Ye(f),f.emit("init"),f.emit("afterInit"),f}destroy(o,f){void 0===o&&(o=!0),void 0===f&&(f=!0);const p=this,{params:_,el:I,wrapperEl:Y,slides:Q}=p;return typeof p.params>"u"||p.destroyed||(p.emit("beforeDestroy"),p.initialized=!1,p.detachEvents(),_.loop&&p.loopDestroy(),f&&(p.removeClasses(),I&&"string"!=typeof I&&I.removeAttribute("style"),Y&&Y.removeAttribute("style"),Q&&Q.length&&Q.forEach(X=>{X.classList.remove(_.slideVisibleClass,_.slideFullyVisibleClass,_.slideActiveClass,_.slideNextClass,_.slidePrevClass),X.removeAttribute("style"),X.removeAttribute("data-swiper-slide-index")})),p.emit("destroy"),Object.keys(p.eventsListeners).forEach(X=>{p.off(X)}),!1!==o&&(p.el&&"string"!=typeof p.el&&(p.el.swiper=null),function qt(g){const o=g;Object.keys(o).forEach(f=>{try{o[f]=null}catch(p){}try{delete o[f]}catch(p){}})}(p)),p.destroyed=!0),null}static extendDefaults(o){mr(Sl,o)}static get extendedDefaults(){return Sl}static get defaults(){return is}static installModule(o){Ma.prototype.__modules__||(Ma.prototype.__modules__=[]);const f=Ma.prototype.__modules__;"function"==typeof o&&f.indexOf(o)<0&&f.push(o)}static use(o){return Array.isArray(o)?(o.forEach(f=>Ma.installModule(f)),Ma):(Ma.installModule(o),Ma)}}function Ou(g,o,f,p){return g.params.createElements&&Object.keys(p).forEach(_=>{if(!f[_]&&!0===f.auto){let I=Fr(g.el,`.${p[_]}`)[0];I||(I=Zr("div",p[_]),I.className=p[_],g.el.append(I)),f[_]=I,o[_]=I}}),f}function Aa(g){return void 0===g&&(g=""),`.${g.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Ti(g){const o=this,{params:f,slidesEl:p}=o;f.loop&&o.loopDestroy();const _=I=>{if("string"==typeof I){const Y=document.createElement("div");Y.innerHTML=I,p.append(Y.children[0]),Y.innerHTML=""}else p.append(I)};if("object"==typeof g&&"length"in g)for(let I=0;I<g.length;I+=1)g[I]&&_(g[I]);else _(g);o.recalcSlides(),f.loop&&o.loopCreate(),(!f.observer||o.isElement)&&o.update()}function ec(g){const o=this,{params:f,activeIndex:p,slidesEl:_}=o;f.loop&&o.loopDestroy();let I=p+1;const Y=Q=>
1{if("string"==typeof Q){const X=document.createElement("div");X.innerHTML=Q,_.prepend(X.children[0]),X.innerHTML=""}else _.prepend(Q)};if("object"==typeof g&&"length"in g){for(let Q=0;Q<g.length;Q+=1)g[Q]&&Y(g[Q]);I=p+g.length}else Y(g);o.recalcSlides(),f.loop&&o.loopCreate(),(!f.observer||o.isElement)&&o.update(),o.slideTo(I,0,!1)}function Pu(g,o){const f=this,{params:p,activeIndex:_,slidesEl:I}=f;let Y=_;p.loop&&(Y-=f.loopedSlides,f.loopDestroy(),f.recalcSlides());const Q=f.slides.length;if(g<=0)return void f.prependSlide(o);if(g>=Q)return void f.appendSlide(o);let X=Y>g?Y+1:Y;const Te=[];for(let _e=Q-1;_e>=g;_e-=1){const De=f.slides[_e];De.remove(),Te.unshift(De)}if("object"==typeof o&&"length"in o){for(let _e=0;_e<o.length;_e+=1)o[_e]&&I.append(o[_e]);X=Y>g?Y+o.length:Y}else I.append(o);for(let _e=0;_e<Te.length;_e+=1)I.append(Te[_e]);f.recalcSlides(),p.loop&&f.loopCreate(),(!p.observer||f.isElement)&&f.update(),f.slideTo(p.loop?X+f.loopedSlides:X,0,!1)}function fc(g){const o=this,{params:f,activeIndex:p}=o;let _=p;f.loop&&(_-=o.loopedSlides,o.loopDestroy());let Y,I=_;if("object"==typeof g&&"length"in g){for(let Q=0;Q<g.length;Q+=1)Y=g[Q],o.slides[Y]&&o.slides[Y].remove(),Y<I&&(I-=1);I=Math.max(I,0)}else Y=g,o.slides[Y]&&o.slides[Y].remove(),Y<I&&(I-=1),I=Math.max(I,0);o.recalcSlides(),f.loop&&o.loopCreate(),(!f.observer||o.isElement)&&o.update(),o.slideTo(f.loop?I+o.loopedSlides:I,0,!1)}function Xo(){const g=this,o=[];for(let f=0;f<g.slides.length;f+=1)o.push(f);g.removeSlide(o)}function Rs(g){const{effect:o,swiper:f,on:p,setTranslate:_,setTransition:I,overwriteParams:Y,perspective:Q,recreateShadows:X,getEffectParams:Te}=g;let _e;p("beforeInit",()=>{if(f.params.effect!==o)return;f.classNames.push(`${f.params.containerModifierClass}${o}`),Q&&Q()&&f.classNames.push(`${f.params.containerModifierClass}3d`);const De=Y?Y():{};Object.assign(f.params,De),Object.assign(f.originalParams,De)}),p("setTranslate",()=>{f.params.effect===o&&_()}),p("setTransition",(De,xe)=>{f.params.effect===o&&I(xe)}),p("transitionEnd",()=>{if(f.params.effect===o&&X){if(!Te||!Te().slideShadows)return;f.slides.forEach(De=>{De.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(xe=>xe.remove())}),X()}}),p("virtualUpdate",()=>{f.params.effect===o&&(f.slides.length||(_e=!0),requestAnimationFrame(()=>{_e&&f.slides&&f.slides.length&&(_(),_e=!1)}))})}function Zs(g,o){const f=Ei(o);return f!==o&&(f.style.backfaceVisibility="hidden",f.style["-webkit-backface-visibility"]="hidden"),f}function wl(g){let{swiper:o,duration:f,transformElements:p,allSlides:_}=g;const{activeIndex:I}=o;if(o.params.virtualTranslate&&0!==f){let X,Q=!1;X=_?p:p.filter(Te=>{const _e=Te.classList.contains("swiper-slide-transform")?(Q=>Q.parentElement?Q.parentElement:o.slides.filter(Te=>Te.shadowRoot&&Te.shadowRoot===Q.parentNode)[0])(Te):Te;return o.getSlideIndex(_e)===I}),X.forEach(Te=>{Oi(Te,()=>{if(Q||!o||o.destroyed)return;Q=!0,o.animating=!1;const _e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});o.wrapperEl.dispatchEvent(_e)})})}}function Va(g,o,f){const p=`swiper-slide-shadow${f?`-${f}`:""}${g?` swiper-slide-shadow-${g}`:""}`,_=Ei(o);let I=_.querySelector(`.${p.split(" ").join(".")}`);return I||(I=Zr("div",p.split(" ")),_.append(I)),I}Object.keys(Au).forEach(g=>{Object.keys(Au[g]).forEach(o=>{Ma.prototype[o]=Au[g][o]})}),Ma.use([function Jc(g){let{swiper:o,on:f,emit:p}=g;const _=ut();let I=null,Y=null;const Q=()=>{!o||o.destroyed||!o.initialized||(p("beforeResize"),p("resize"))},_e=()=>{!o||o.destroyed||!o.initialized||p("orientationchange")};f("init",()=>{o.params.resizeObserver&&typeof _.ResizeObserver<"u"?!o||o.destroyed||!o.initialized||(I=new ResizeObserver(De=>{Y=_.requestAnimationFrame(()=>{const{width:xe,height:Ze}=o;let tt=xe,ot=Ze;De.forEach(Et=>{let{contentBoxSize:Xe,contentRect:Ct,target:gt}=Et;gt&>!==o.el||(tt=Ct?Ct.width:(Xe[0]||Xe).inlineSize,ot=Ct?Ct.height:(Xe[0]||Xe).blockSize)}),(tt!==xe||ot!==Ze)&&Q()})}),I.observe(o.el)):(_.addEventListener("resize",Q),_.addEventListener("orientationchange",_e))}),f("destroy",()=>{Y&&_.cancelAnimationFrame(Y),I&&I.unobserve&&o.el&&(I.unobserve(o.el),I=null),_.removeEventListener("resize",Q),_.removeEventListener("orientationchange",_e)})},function bu(g){let{swiper:o,extendParams:f,on:p,emit:_}=g;const I=[],Y=ut(),Q=function(_e,De){void 0===De&&(De={});const Ze=new(Y.MutationObserver||Y.WebkitMutationObserver)(tt=>{if(o.__preventObserver__)return;if(1===tt.length)return void _("observerUpdate",tt[0]);const ot=function(){_("observerUpdate",tt[0])};Y.requestAnimationFrame?Y.requestAnimationFrame(ot):Y.setTimeout(ot,0)});Ze.observe(_e,{attributes:typeof De.attributes>"u"||De.attributes,childList:o.isElement||(typeof De.childList>"u"||De).childList,characterData:typeof De.characterData>"u"||De.characterData}),I.push(Ze)};f({observer:!1,observeParents:!1,observeSlideChildren:!1}),p("init",()=>{if(o.params.observer){if(o.params.observeParents){const _e=po(o.hostEl);for(let De=0;De<_e.length;De+=1)Q(_e[De])}Q(o.hostEl,{childList:o.params.observeSlideChildren}),Q(o.wrapperEl,{attributes:!1})}}),p("destroy",()=>{I.forEach(_e=>{_e.disconnect()}),I.splice(0,I.length)})}]),Ma.use([function uf(g){let I,{swiper:o,extendParams:f,on:p,emit:_}=g;f({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const Y=be();o.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const Q=Y.createElement("div");function X(tt,ot){const Et=o.params.virtual;if(Et.cache&&o.virtual.cache[ot])return o.virtual.cache[ot];let Xe;
1return Et.renderSlide?(Xe=Et.renderSlide.call(o,tt,ot),"string"==typeof Xe&&(Q.innerHTML=Xe,Xe=Q.children[0])):Xe=o.isElement?Zr("swiper-slide"):Zr("div",o.params.slideClass),Xe.setAttribute("data-swiper-slide-index",ot),Et.renderSlide||(Xe.innerHTML=tt),Et.cache&&(o.virtual.cache[ot]=Xe),Xe}function Te(tt,ot){const{slidesPerView:Et,slidesPerGroup:Xe,centeredSlides:Ct,loop:gt,initialSlide:Ut}=o.params;if(ot&&!gt&&Ut>0)return;const{addSlidesBefore:_n,addSlidesAfter:nr}=o.params.virtual,{from:zn,to:gn,slides:sn,slidesGrid:an,offset:Gn}=o.virtual;o.params.cssMode||o.updateActiveIndex();const rn=o.activeIndex||0;let cn,wn,gr;cn=o.rtlTranslate?"right":o.isHorizontal()?"left":"top",Ct?(wn=Math.floor(Et/2)+Xe+nr,gr=Math.floor(Et/2)+Xe+_n):(wn=Et+(Xe-1)+nr,gr=(gt?Et:Xe)+_n);let Rn=rn-gr,Xt=rn+wn;gt||(Rn=Math.max(Rn,0),Xt=Math.min(Xt,sn.length-1));let Jt=(o.slidesGrid[Rn]||0)-(o.slidesGrid[0]||0);function Kn(){o.updateSlides(),o.updateProgress(),o.updateSlidesClasses(),_("virtualUpdate")}if(gt&&rn>=gr?(Rn-=gr,Ct||(Jt+=o.slidesGrid[0])):gt&&rn<gr&&(Rn=-gr,Ct&&(Jt+=o.slidesGrid[0])),Object.assign(o.virtual,{from:Rn,to:Xt,offset:Jt,slidesGrid:o.slidesGrid,slidesBefore:gr,slidesAfter:wn}),zn===Rn&&gn===Xt&&!tt)return o.slidesGrid!==an&&Jt!==Gn&&o.slides.forEach(Gr=>{Gr.style[cn]=Jt-Math.abs(o.cssOverflowAdjustment())+"px"}),o.updateProgress(),void _("virtualUpdate");if(o.params.virtual.renderExternal)return o.params.virtual.renderExternal.call(o,{offset:Jt,from:Rn,to:Xt,slides:function(){const To=[];for(let Io=Rn;Io<=Xt;Io+=1)To.push(sn[Io]);return To}()}),void(o.params.virtual.renderExternalUpdate?Kn():_("virtualUpdate"));const xr=[],ar=[],yr=Gr=>{let To=Gr;return Gr<0?To=sn.length+Gr:To>=sn.length&&(To-=sn.length),To};if(tt)o.slides.filter(Gr=>Gr.matches(`.${o.params.slideClass}, swiper-slide`)).forEach(Gr=>{Gr.remove()});else for(let Gr=zn;Gr<=gn;Gr+=1)if(Gr<Rn||Gr>Xt){const To=yr(Gr);o.slides.filter(Io=>Io.matches(`.${o.params.slideClass}[data-swiper-slide-index="${To}"], swiper-slide[data-swiper-slide-index="${To}"]`)).forEach(Io=>{Io.remove()})}const gi=gt?2*sn.length:sn.length;for(let Gr=gt?-sn.length:0;Gr<gi;Gr+=1)if(Gr>=Rn&&Gr<=Xt){const To=yr(Gr);typeof gn>"u"||tt?ar.push(To):(Gr>gn&&ar.push(To),Gr<zn&&xr.push(To))}if(ar.forEach(Gr=>{o.slidesEl.append(X(sn[Gr],Gr))}),gt)for(let Gr=xr.length-1;Gr>=0;Gr-=1){const To=xr[Gr];o.slidesEl.prepend(X(sn[To],To))}else xr.sort((Gr,To)=>To-Gr),xr.forEach(Gr=>{o.slidesEl.prepend(X(sn[Gr],Gr))});Fr(o.slidesEl,".swiper-slide, swiper-slide").forEach(Gr=>{Gr.style[cn]=Jt-Math.abs(o.cssOverflowAdjustment())+"px"}),Kn()}p("beforeInit",()=>{if(!o.params.virtual.enabled)return;let tt;if(typeof o.passedParams.virtual.slides>"u"){const ot=[...o.slidesEl.children].filter(Et=>Et.matches(`.${o.params.slideClass}, swiper-slide`));ot&&ot.length&&(o.virtual.slides=[...ot],tt=!0,ot.forEach((Et,Xe)=>{Et.setAttribute("data-swiper-slide-index",Xe),o.virtual.cache[Xe]=Et,Et.remove()}))}tt||(o.virtual.slides=o.params.virtual.slides),o.classNames.push(`${o.params.containerModifierClass}virtual`),o.params.watchSlidesProgress=!0,o.originalParams.watchSlidesProgress=!0,Te(!1,!0)}),p("setTranslate",()=>{o.params.virtual.enabled&&(o.params.cssMode&&!o._immediateVirtual?(clearTimeout(I),I=setTimeout(()=>{Te()},100)):Te())}),p("init update resize",()=>{o.params.virtual.enabled&&o.params.cssMode&&Dr(o.wrapperEl,"--swiper-virtual-size",`${o.virtualSize}px`)}),Object.assign(o.virtual,{appendSlide:function _e(tt){if("object"==typeof tt&&"length"in tt)for(let ot=0;ot<tt.length;ot+=1)tt[ot]&&o.virtual.slides.push(tt[ot]);else o.virtual.slides.push(tt);Te(!0)},prependSlide:function De(tt){const ot=o.activeIndex;let Et=ot+1,Xe=1;if(Array.isArray(tt)){for(let Ct=0;Ct<tt.length;Ct+=1)tt[Ct]&&o.virtual.slides.unshift(tt[Ct]);Et=ot+tt.length,Xe=tt.length}else o.virtual.slides.unshift(tt);if(o.params.virtual.cache){const Ct=o.virtual.cache,gt={};Object.keys(Ct).forEach(Ut=>{const _n=Ct[Ut],nr=_n.getAttribute("data-swiper-slide-index");nr&&_n.setAttribute("data-swiper-slide-index",parseInt(nr,10)+Xe),gt[parseInt(Ut,10)+Xe]=_n}),o.virtual.cache=gt}Te(!0),o.slideTo(Et,0)},removeSlide:function xe(tt){if(typeof tt>"u"||null===tt)return;let ot=o.activeIndex;if(Array.isArray(tt))for(let Et=tt.length-1;Et>=0;Et-=1)o.params.virtual.cache&&(delete o.virtual.cache[tt[Et]],Object.keys(o.virtual.cache).forEach(Xe=>{Xe>tt&&(o.virtual.cache[Xe-1]=o.virtual.cache[Xe],o.virtual.cache[Xe-1].setAttribute("data-swiper-slide-index",Xe-1),delete o.virtual.cache[Xe])})),o.virtual.slides.splice(tt[Et],1),tt[Et]<ot&&(ot-=1),ot=Math.max(ot,0);else o.params.virtual.cache&&(delete o.virtual.cache[tt],Object.keys(o.virtual.cache).forEach(Et=>{Et>tt&&(o.virtual.cache[Et-1]=o.virtual.cache[Et],o.virtual.cache[Et-1].setAttribute("data-swiper-slide-index",Et-1),delete o.virtual.cache[Et])})),o.virtual.slides.splice(tt,1),tt<ot&&(ot-=1),ot=Math.max(ot,0);Te(!0),o.slideTo(ot,0)},removeAllSlides:function Ze(){o.virtual.slides=[],o.params.virtual.cache&&(o.virtual.cache={}),Te(!0),o.slideTo(0,0)},update:Te})},function df(g){let{swiper:o,extendParams:f,on:p,emit:_}=g;const I=be(),Y=ut();function Q(_e){if(!o.enabled)return;const{rtlTranslate:De}=o;let xe=_e;xe.originalEvent&&(xe=xe.originalEvent);const Ze=xe.keyCode||xe.charCode,tt=o.params.keyboard.pageUpDown,ot=tt&&33===Ze,Et=tt&&34===Ze,Xe=37===Ze,Ct=39===Ze,gt=38===Ze,Ut=40===Ze;if(!o.allowSlideNext&&(o.isHorizontal()&&Ct||o.isVertical()&&Ut||Et)||!o.allowSlidePrev&&(o.isHorizontal()&&Xe||o.isVertical()&>||ot))return!1;if(!(xe.shiftKey||xe.altKey||xe.ctrlKey||xe.metaKey||I.activeElement&&I.activeElement.nodeName&&("input"===I.activeElement.nodeName.toLowerCase()||"textarea"===I.activeElement.nodeName.toLowerCase()))){if(o.params.keyboard.onlyInViewport&&(ot||Et||Xe||Ct||gt||Ut)){let _n=!1;if(po(o.el,`.${o.params.slideClass}, swiper-slide`).length>0&&0===po(o.el,`.${o.params.slideActiveClass}`).length)return;const nr=o.el,zn=nr.clientWidth,gn=nr.clientHeight,sn=Y.innerWidth,an=Y.innerHe
1ight,Gn=Pr(nr);De&&(Gn.left-=nr.scrollLeft);const rn=[[Gn.left,Gn.top],[Gn.left+zn,Gn.top],[Gn.left,Gn.top+gn],[Gn.left+zn,Gn.top+gn]];for(let cn=0;cn<rn.length;cn+=1){const wn=rn[cn];if(wn[0]>=0&&wn[0]<=sn&&wn[1]>=0&&wn[1]<=an){if(0===wn[0]&&0===wn[1])continue;_n=!0}}if(!_n)return}o.isHorizontal()?((ot||Et||Xe||Ct)&&(xe.preventDefault?xe.preventDefault():xe.returnValue=!1),((Et||Ct)&&!De||(ot||Xe)&&De)&&o.slideNext(),((ot||Xe)&&!De||(Et||Ct)&&De)&&o.slidePrev()):((ot||Et||gt||Ut)&&(xe.preventDefault?xe.preventDefault():xe.returnValue=!1),(Et||Ut)&&o.slideNext(),(ot||gt)&&o.slidePrev()),_("keyPress",Ze)}}function X(){o.keyboard.enabled||(I.addEventListener("keydown",Q),o.keyboard.enabled=!0)}function Te(){o.keyboard.enabled&&(I.removeEventListener("keydown",Q),o.keyboard.enabled=!1)}o.keyboard={enabled:!1},f({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),p("init",()=>{o.params.keyboard.enabled&&X()}),p("destroy",()=>{o.keyboard.enabled&&Te()}),Object.assign(o.keyboard,{enable:X,disable:Te})},function Lh(g){let{swiper:o,extendParams:f,on:p,emit:_}=g;const I=ut();f({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),o.mousewheel={enabled:!1};let Y,X,Q=Cn();const Te=[];function De(){o.enabled&&(o.mouseEntered=!0)}function xe(){o.enabled&&(o.mouseEntered=!1)}function Ze(gt){return!(o.params.mousewheel.thresholdDelta&>.delta<o.params.mousewheel.thresholdDelta||o.params.mousewheel.thresholdTime&&Cn()-Q<o.params.mousewheel.thresholdTime)&&(gt.delta>=6&&Cn()-Q<60||(gt.direction<0?(!o.isEnd||o.params.loop)&&!o.animating&&(o.slideNext(),_("scroll",gt.raw)):(!o.isBeginning||o.params.loop)&&!o.animating&&(o.slidePrev(),_("scroll",gt.raw)),Q=(new I.Date).getTime(),!1))}function ot(gt){let Ut=gt,_n=!0;if(!o.enabled||gt.target.closest(`.${o.params.mousewheel.noMousewheelClass}`))return;const nr=o.params.mousewheel;o.params.cssMode&&Ut.preventDefault();let zn=o.el;"container"!==o.params.mousewheel.eventsTarget&&(zn=document.querySelector(o.params.mousewheel.eventsTarget));const gn=zn&&zn.contains(Ut.target);if(!o.mouseEntered&&!gn&&!nr.releaseOnEdges)return!0;Ut.originalEvent&&(Ut=Ut.originalEvent);let sn=0;const an=o.rtlTranslate?-1:1,Gn=function _e(gt){let zn=0,gn=0,sn=0,an=0;return"detail"in gt&&(gn=gt.detail),"wheelDelta"in gt&&(gn=-gt.wheelDelta/120),"wheelDeltaY"in gt&&(gn=-gt.wheelDeltaY/120),"wheelDeltaX"in gt&&(zn=-gt.wheelDeltaX/120),"axis"in gt&>.axis===gt.HORIZONTAL_AXIS&&(zn=gn,gn=0),sn=10*zn,an=10*gn,"deltaY"in gt&&(an=gt.deltaY),"deltaX"in gt&&(sn=gt.deltaX),gt.shiftKey&&!sn&&(sn=an,an=0),(sn||an)&>.deltaMode&&(1===gt.deltaMode?(sn*=40,an*=40):(sn*=800,an*=800)),sn&&!zn&&(zn=sn<1?-1:1),an&&!gn&&(gn=an<1?-1:1),{spinX:zn,spinY:gn,pixelX:sn,pixelY:an}}(Ut);if(nr.forceToAxis)if(o.isHorizontal()){if(!(Math.abs(Gn.pixelX)>Math.abs(Gn.pixelY)))return!0;sn=-Gn.pixelX*an}else{if(!(Math.abs(Gn.pixelY)>Math.abs(Gn.pixelX)))return!0;sn=-Gn.pixelY}else sn=Math.abs(Gn.pixelX)>Math.abs(Gn.pixelY)?-Gn.pixelX*an:-Gn.pixelY;if(0===sn)return!0;nr.invert&&(sn=-sn);let rn=o.getTranslate()+sn*nr.sensitivity;if(rn>=o.minTranslate()&&(rn=o.minTranslate()),rn<=o.maxTranslate()&&(rn=o.maxTranslate()),_n=!!o.params.loop||!(rn===o.minTranslate()||rn===o.maxTranslate()),_n&&o.params.nested&&Ut.stopPropagation(),o.params.freeMode&&o.params.freeMode.enabled){const cn={time:Cn(),delta:Math.abs(sn),direction:Math.sign(sn)},wn=X&&cn.time<X.time+500&&cn.delta<=X.delta&&cn.direction===X.direction;if(!wn){X=void 0;let gr=o.getTranslate()+sn*nr.sensitivity;const Rn=o.isBeginning,Xt=o.isEnd;if(gr>=o.minTranslate()&&(gr=o.minTranslate()),gr<=o.maxTranslate()&&(gr=o.maxTranslate()),o.setTransition(0),o.setTranslate(gr),o.updateProgress(),o.updateActiveIndex(),o.updateSlidesClasses(),(!Rn&&o.isBeginning||!Xt&&o.isEnd)&&o.updateSlidesClasses(),o.params.loop&&o.loopFix({direction:cn.direction<0?"next":"prev",byMousewheel:!0}),o.params.freeMode.sticky){clearTimeout(Y),Y=void 0,Te.length>=15&&Te.shift();const Jt=Te.length?Te[Te.length-1]:void 0,Kn=Te[0];if(Te.push(cn),Jt&&(cn.delta>Jt.delta||cn.direction!==Jt.direction))Te.splice(0);else if(Te.length>=15&&cn.time-Kn.time<500&&Kn.delta-cn.delta>=1&&cn.delta<=6){const xr=sn>0?.8:.2;X=cn,Te.splice(0),Y=hn(()=>{o.destroyed||!o.params||o.slideToClosest(o.params.speed,!0,void 0,xr)},0)}Y||(Y=hn(()=>{!o.destroyed&&o.params&&(X=cn,Te.splice(0),o.slideToClosest(o.params.speed,!0,void 0,.5))},500))}if(wn||_("scroll",Ut),o.params.autoplay&&o.params.autoplayDisableOnInteraction&&o.autoplay.stop(),nr.releaseOnEdges&&(gr===o.minTranslate()||gr===o.maxTranslate()))return!0}}else{const cn={time:Cn(),delta:Math.abs(sn),direction:Math.sign(sn),raw:gt};Te.length>=2&&Te.shift();const wn=Te.length?Te[Te.length-1]:void 0;
1if(Te.push(cn),wn?(cn.direction!==wn.direction||cn.delta>wn.delta||cn.time>wn.time+150)&&Ze(cn):Ze(cn),function tt(gt){const Ut=o.params.mousewheel;if(gt.direction<0){if(o.isEnd&&!o.params.loop&&Ut.releaseOnEdges)return!0}else if(o.isBeginning&&!o.params.loop&&Ut.releaseOnEdges)return!0;return!1}(cn))return!0}return Ut.preventDefault?Ut.preventDefault():Ut.returnValue=!1,!1}function Et(gt){let Ut=o.el;"container"!==o.params.mousewheel.eventsTarget&&(Ut=document.querySelector(o.params.mousewheel.eventsTarget)),Ut[gt]("mouseenter",De),Ut[gt]("mouseleave",xe),Ut[gt]("wheel",ot)}function Xe(){return o.params.cssMode?(o.wrapperEl.removeEventListener("wheel",ot),!0):!o.mousewheel.enabled&&(Et("addEventListener"),o.mousewheel.enabled=!0,!0)}function Ct(){return o.params.cssMode?(o.wrapperEl.addEventListener(event,ot),!0):!!o.mousewheel.enabled&&(Et("removeEventListener"),o.mousewheel.enabled=!1,!0)}p("init",()=>{!o.params.mousewheel.enabled&&o.params.cssMode&&Ct(),o.params.mousewheel.enabled&&Xe()}),p("destroy",()=>{o.params.cssMode&&Xe(),o.mousewheel.enabled&&Ct()}),Object.assign(o.mousewheel,{enable:Xe,disable:Ct})},function $h(g){let{swiper:o,extendParams:f,on:p,emit:_}=g;function I(tt){let ot;return tt&&"string"==typeof tt&&o.isElement&&(ot=o.el.querySelector(tt),ot)?ot:(tt&&("string"==typeof tt&&(ot=[...document.querySelectorAll(tt)]),o.params.uniqueNavElements&&"string"==typeof tt&&ot&&ot.length>1&&1===o.el.querySelectorAll(tt).length?ot=o.el.querySelector(tt):ot&&1===ot.length&&(ot=ot[0])),tt&&!ot?tt:ot)}function Y(tt,ot){const Et=o.params.navigation;
1(tt=Ki(tt)).forEach(Xe=>{Xe&&(Xe.classList[ot?"add":"remove"](...Et.disabledClass.split(" ")),"BUTTON"===Xe.tagName&&(Xe.disabled=ot),o.params.watchOverflow&&o.enabled&&Xe.classList[o.isLocked?"add":"remove"](Et.lockClass))})}function Q(){const{nextEl:tt,prevEl:ot}=o.navigation;if(o.params.loop)return Y(ot,!1),void Y(tt,!1);Y(ot,o.isBeginning&&!o.params.rewind),Y(tt,o.isEnd&&!o.params.rewind)}function X(tt){tt.preventDefault(),(!o.isBeginning||o.params.loop||o.params.rewind)&&(o.slidePrev(),_("navigationPrev"))}function Te(tt){tt.preventDefault(),(!o.isEnd||o.params.loop||o.params.rewind)&&(o.slideNext(),_("navigationNext"))}function _e(){const tt=o.params.navigation;if(o.params.navigation=Ou(o,o.originalParams.navigation,o.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!tt.nextEl&&!tt.prevEl)return;let ot=I(tt.nextEl),Et=I(tt.prevEl);Object.assign(o.navigation,{nextEl:ot,prevEl:Et}),ot=Ki(ot),Et=Ki(Et);const Xe=(Ct,gt)=>{Ct&&Ct.addEventListener("click","next"===gt?Te:X),!o.enabled&&Ct&&Ct.classList.add(...tt.lockClass.split(" "))};ot.forEach(Ct=>Xe(Ct,"next")),Et.forEach(Ct=>Xe(Ct,"prev"))}function De(){let{nextEl:tt,prevEl:ot}=o.navigation;tt=Ki(tt),ot=Ki(ot);const Et=(Xe,Ct)=>{Xe.removeEventListener("click","next"===Ct?Te:X),Xe.classList.remove(...o.params.navigation.disabledClass.split(" "))};tt.forEach(Xe=>Et(Xe,"next")),ot.forEach(Xe=>Et(Xe,"prev"))}f({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),o.navigation={nextEl:null,prevEl:null},p("init",()=>{!1===o.params.navigation.enabled?Ze():(_e(),Q())}),p("toEdge fromEdge lock unlock",()=>{Q()}),p("destroy",()=>{De()}),p("enable disable",()=>{let{nextEl:tt,prevEl:ot}=o.navigation;tt=Ki(tt),ot=Ki(ot),o.enabled?Q():[...tt,...ot].filter(Et=>!!Et).forEach(Et=>Et.classList.add(o.params.navigation.lockClass))}),p("click",(tt,ot)=>{let{nextEl:Et,prevEl:Xe}=o.navigation;Et=Ki(Et),Xe=Ki(Xe);const Ct=ot.target;let gt=Xe.includes(Ct)||Et.includes(Ct);if(o.isElement&&!gt){const Ut=ot.path||ot.composedPath&&ot.composedPath();Ut&&(gt=Ut.find(_n=>Et.includes(_n)||Xe.includes(_n)))}if(o.params.navigation.hideOnClick&&!gt){if(o.pagination&&o.params.pagination&&o.params.pagination.clickable&&(o.pagination.el===Ct||o.pagination.el.contains(Ct)))return;let Ut;Et.length?Ut=Et[0].classList.contains(o.params.navigation.hiddenClass):Xe.length&&(Ut=Xe[0].classList.contains(o.params.navigation.hiddenClass)),_(!0===Ut?"navigationShow":"navigationHide"),[...Et,...Xe].filter(_n=>!!_n).forEach(_n=>_n.classList.toggle(o.params.navigation.hiddenClass))}});const Ze=()=>{o.el.classList.add(...o.params.navigation.navigationDisabledClass.split(" ")),De()};Object.assign(o.navigation,{enable:()=>{o.el.classList.remove(...o.params.navigation.navigationDisabledClass.split(" ")),_e(),Q()},disable:Ze,update:Q,init:_e,destroy:De})},function ou(g){let{swiper:o,extendParams:f,on:p,emit:_}=g;const I="swiper-pagination";f({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:Xe=>Xe,formatFractionTotal:Xe=>Xe,bulletClass:`${I}-bullet`,bulletActiveClass:`${I}-bullet-active`,modifierClass:`${I}-`,currentClass:`${I}-current`,totalClass:`${I}-total`,hiddenClass:`${I}-hidden`,progressbarFillClass:`${I}-progressbar-fill`,progressbarOppositeClass:`${I}-progressbar-opposite`,clickableClass:`${I}-clickable`,lockClass:`${I}-lock`,horizontalClass:`${I}-horizontal`,verticalClass:`${I}-vertical`,paginationDisabledClass:`${I}-disabled`}}),o.pagination={el:null,bullets:[]};let Y,Q=0;function X(){return!o.params.pagination.el||!o.pagination.el||Array.isArray(o.pagination.el)&&0===o.pagination.el.length}function Te(Xe,Ct){const{bulletActiveClass:gt}=o.params.pagination;Xe&&(Xe=Xe[("prev"===Ct?"previous":"next")+"ElementSibling"])&&(Xe.classList.add(`${gt}-${Ct}`),(Xe=Xe[("prev"===Ct?"previous":"next")+"ElementSibling"])&&Xe.classList.add(`${gt}-${Ct}-${Ct}`))}function _e(Xe){const Ct=Xe.target.closest(Aa(o.params.pagination.bulletClass));if(!Ct)return;Xe.preventDefault();const gt=aa(Ct)*o.params.slidesPerGroup;if(o.params.loop){if(o.realIndex===gt)return;o.slideToLoop(gt)}else o.slideTo(gt)}function De(){const Xe=o.rtl,Ct=o.params.pagination;if(X())return;let Ut,_n,gt=o.pagination.el;gt=Ki(gt);
1const zn=o.params.loop?Math.ceil((o.virtual&&o.params.virtual.enabled?o.virtual.slides.length:o.slides.length)/o.params.slidesPerGroup):o.snapGrid.length;if(o.params.loop?(_n=o.previousRealIndex||0,Ut=o.params.slidesPerGroup>1?Math.floor(o.realIndex/o.params.slidesPerGroup):o.realIndex):typeof o.snapIndex<"u"?(Ut=o.snapIndex,_n=o.previousSnapIndex):(_n=o.previousIndex||0,Ut=o.activeIndex||0),"bullets"===Ct.type&&o.pagination.bullets&&o.pagination.bullets.length>0){const gn=o.pagination.bullets;let sn,an,Gn;if(Ct.dynamicBullets&&(Y=va(gn[0],o.isHorizontal()?"width":"height",!0),gt.forEach(rn=>{rn.style[o.isHorizontal()?"width":"height"]=Y*(Ct.dynamicMainBullets+4)+"px"}),Ct.dynamicMainBullets>1&&void 0!==_n&&(Q+=Ut-(_n||0),Q>Ct.dynamicMainBullets-1?Q=Ct.dynamicMainBullets-1:Q<0&&(Q=0)),sn=Math.max(Ut-Q,0),an=sn+(Math.min(gn.length,Ct.dynamicMainBullets)-1),Gn=(an+sn)/2),gn.forEach(rn=>{const cn=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(wn=>`${Ct.bulletActiveClass}${wn}`)].map(wn=>"string"==typeof wn&&wn.includes(" ")?wn.split(" "):wn).flat();rn.classList.remove(...cn)}),gt.length>1)gn.forEach(rn=>{const cn=aa(rn);cn===Ut?rn.classList.add(...Ct.bulletActiveClass.split(" ")):o.isElement&&rn.setAttribute("part","bullet"),Ct.dynamicBullets&&(cn>=sn&&cn<=an&&rn.classList.add(...`${Ct.bulletActiveClass}-main`.split(" ")),cn===sn&&Te(rn,"prev"),cn===an&&Te(rn,"next"))});else{const rn=gn[Ut];if(rn&&rn.classList.add(...Ct.bulletActiveClass.split(" ")),o.isElement&&gn.forEach((cn,wn)=>{cn.setAttribute("part",wn===Ut?"bullet-active":"bullet")}),Ct.dynamicBullets){const cn=gn[sn],wn=gn[an];for(let gr=sn;gr<=an;gr+=1)gn[gr]&&gn[gr].classList.add(...`${Ct.bulletActiveClass}-main`.split(" "));Te(cn,"prev"),Te(wn,"next")}}if(Ct.dynamicBullets){const rn=Math.min(gn.length,Ct.dynamicMainBullets+4),cn=(Y*rn-Y)/2-Gn*Y,wn=Xe?"right":"left";gn.forEach(gr=>{gr.style[o.isHorizontal()?wn:"top"]=`${cn}px`})}}gt.forEach((gn,sn)=>{if("fraction"===Ct.type&&(gn.querySelectorAll(Aa(Ct.currentClass)).forEach(an=>{an.textContent=Ct.formatFractionCurrent(Ut+1)}),gn.querySelectorAll(Aa(Ct.totalClass)).forEach(an=>{an.textContent=Ct.formatFractionTotal(zn)})),"progressbar"===Ct.type){let an;an=Ct.progressbarOpposite?o.isHorizontal()?"vertical":"horizontal":o.isHorizontal()?"horizontal":"vertical";const Gn=(Ut+1)/zn;let rn=1,cn=1;"horizontal"===an?rn=Gn:cn=Gn,gn.querySelectorAll(Aa(Ct.progressbarFillClass)).forEach(wn=>{wn.style.transform=`translate3d(0,0,0) scaleX(${rn}) scaleY(${cn})`,wn.style.transitionDuration=`${o.params.speed}ms`})}"custom"===Ct.type&&Ct.renderCustom?(gn.innerHTML=Ct.renderCustom(o,Ut+1,zn),0===sn&&_("paginationRender",gn)):(0===sn&&_("paginationRender",gn),_("paginationUpdate",gn)),o.params.watchOverflow&&o.enabled&&gn.classList[o.isLocked?"add":"remove"](Ct.lockClass)})}function xe(){const Xe=o.params.pagination;if(X())return;const Ct=o.virtual&&o.params.virtual.enabled?o.virtual.slides.length:o.grid&&o.params.grid.rows>1?o.slides.length/Math.ceil(o.params.grid.rows):o.slides.length;let gt=o.pagination.el;gt=Ki(gt);let Ut="";if("bullets"===Xe.type){let _n=o.params.loop?Math.ceil(Ct/o.params.slidesPerGroup):o.snapGrid.length;o.params.freeMode&&o.params.freeMode.enabled&&_n>Ct&&(_n=Ct);for(let nr=0;nr<_n;nr+=1)Ut+=Xe.renderBullet?Xe.renderBullet.call(o,nr,Xe.bulletClass):`<${Xe.bulletElement} ${o.isElement?'part="bullet"':""} class="${Xe.bulletClass}"></${Xe.bulletElement}>`}"fraction"===Xe.type&&(Ut=Xe.renderFraction?Xe.renderFraction.call(o,Xe.currentClass,Xe.totalClass):`<span class="${Xe.currentClass}"></span> / <span class="${Xe.totalClass}"></span>`),"progressbar"===Xe.type&&(Ut=Xe.renderProgressbar?Xe.renderProgressbar.call(o,Xe.progressbarFillClass):`<span class="${Xe.progressbarFillClass}"></span>`),o.pagination.bullets=[],gt.forEach(_n=>{"custom"!==Xe.type&&(_n.innerHTML=Ut||""),"bullets"===Xe.type&&o.pagination.bullets.push(..._n.querySelectorAll(Aa(Xe.bulletClass)))}),"custom"!==Xe.type&&_("paginationRender",gt[0])}function Ze(){o.params.pagination=Ou(o,o.originalParams.pagination,o.params.pagination,{el:"swiper-pagination"});const Xe=o.params.pagination;if(!Xe.el)return;let Ct;"string"==typeof Xe.el&&o.isElement&&(Ct=o.el.querySelector(Xe.el)),!Ct&&"string"==typeof Xe.el&&(Ct=[...document.querySelectorAll(Xe.el)]),Ct||(Ct=Xe.el),Ct&&0!==Ct.length&&(o.params.uniqueNavElements&&"string"==typeof Xe.el&&Array.isArray(Ct)&&Ct.length>1&&(Ct=[...o.el.querySelectorAll(Xe.el)],Ct.length>1&&(Ct=Ct.filter(gt=>po(gt,".swiper")[0]===o.el)[0])),Array.isArray(Ct)&&1===Ct.length&&(Ct=Ct[0]),Object.assign(o.pagination,{el:Ct}),Ct=Ki(Ct),Ct.forEach(gt=>{"bullets"===Xe.type&&Xe.clickable&>.classList.add(...(Xe.clickableClass||"").split(" ")),gt.classList.add(Xe.modifierClass+Xe.type),gt.classList.add(o.isHorizontal()?Xe.horizontalClass:Xe.verticalClass),"bullets"===Xe.type&&Xe.dynamicBullets&&(gt.classList.add(`${Xe.modifierClass}${Xe.type}-dynamic`),Q=0,Xe.dynamicMainBullets<1&&(Xe.dynamicMainBullets=1)),"progressbar"===Xe.type&&Xe.progressbarOpposite&>.classList.add(Xe.progressbarOppositeClass),Xe.clickable&>.addEventListener("click",_e),o.enabled||gt.classList.add(Xe.lockClass)}))}function tt(){const Xe=o.params.pagination;if(X())return;let Ct=o.pagination.el;Ct&&(Ct=Ki(Ct),Ct.forEach(gt=>{gt.classList.remove(Xe.hiddenClass),gt.classList.remove(Xe.modifierClass+Xe.type),gt.classList.remove(o.isHorizontal()?Xe.horizontalClass:Xe.verticalClass),Xe.clickable&&(gt.classList.remove(...(Xe.clickableClass||"").split(" ")),gt.removeEventListener("click",_e))}
1)),o.pagination.bullets&&o.pagination.bullets.forEach(gt=>gt.classList.remove(...Xe.bulletActiveClass.split(" ")))}p("changeDirection",()=>{if(!o.pagination||!o.pagination.el)return;const Xe=o.params.pagination;let{el:Ct}=o.pagination;Ct=Ki(Ct),Ct.forEach(gt=>{gt.classList.remove(Xe.horizontalClass,Xe.verticalClass),gt.classList.add(o.isHorizontal()?Xe.horizontalClass:Xe.verticalClass)})}),p("init",()=>{!1===o.params.pagination.enabled?Et():(Ze(),xe(),De())}),p("activeIndexChange",()=>{typeof o.snapIndex>"u"&&De()}),p("snapIndexChange",()=>{De()}),p("snapGridLengthChange",()=>{xe(),De()}),p("destroy",()=>{tt()}),p("enable disable",()=>{let{el:Xe}=o.pagination;Xe&&(Xe=Ki(Xe),Xe.forEach(Ct=>Ct.classList[o.enabled?"remove":"add"](o.params.pagination.lockClass)))}),p("lock unlock",()=>{De()}),p("click",(Xe,Ct)=>{const gt=Ct.target,Ut=Ki(o.pagination.el);if(o.params.pagination.el&&o.params.pagination.hideOnClick&&Ut&&Ut.length>0&&!gt.classList.contains(o.params.pagination.bulletClass)){if(o.navigation&&(o.navigation.nextEl&>===o.navigation.nextEl||o.navigation.prevEl&>===o.navigation.prevEl))return;const _n=Ut[0].classList.contains(o.params.pagination.hiddenClass);_(!0===_n?"paginationShow":"paginationHide"),Ut.forEach(nr=>nr.classList.toggle(o.params.pagination.hiddenClass))}});const Et=()=>{o.el.classList.add(o.params.pagination.paginationDisabledClass);let{el:Xe}=o.pagination;Xe&&(Xe=Ki(Xe),Xe.forEach(Ct=>Ct.classList.add(o.params.pagination.paginationDisabledClass))),tt()};Object.assign(o.pagination,{enable:()=>{o.el.classList.remove(o.params.pagination.paginationDisabledClass);let{el:Xe}=o.pagination;Xe&&(Xe=Ki(Xe),Xe.forEach(Ct=>Ct.classList.remove(o.params.pagination.paginationDisabledClass))),Ze(),xe(),De()},disable:Et,render:xe,update:De,init:Ze,destroy:tt})},function Wo(g){let{swiper:o,extendParams:f,on:p,emit:_}=g;const I=be();let Te,_e,De,xe,Y=!1,Q=null,X=null;function Ze(){if(!o.params.scrollbar.el||!o.scrollbar.el)return;const{scrollbar:rn,rtlTranslate:cn}=o,{dragEl:wn,el:gr}=rn,Rn=o.params.scrollbar;let Jt=_e,Kn=(De-_e)*(o.params.loop?o.progressLoop:o.progress);cn?(Kn=-Kn,Kn>0?(Jt=_e-Kn,Kn=0):-Kn+_e>De&&(Jt=De+Kn)):Kn<0?(Jt=_e+Kn,Kn=0):Kn+_e>De&&(Jt=De-Kn),o.isHorizontal()?(wn.style.transform=`translate3d(${Kn}px, 0, 0)`,wn.style.width=`${Jt}px`):(wn.style.transform=`translate3d(0px, ${Kn}px, 0)`,wn.style.height=`${Jt}px`),Rn.hide&&(clearTimeout(Q),gr.style.opacity=1,Q=setTimeout(()=>{gr.style.opacity=0,gr.style.transitionDuration="400ms"},1e3))}function ot(){if(!o.params.scrollbar.el||!o.scrollbar.el)return;const{scrollbar:rn}=o,{dragEl:cn,el:wn}=rn;cn.style.width="",cn.style.height="",De=o.isHorizontal()?wn.offsetWidth:wn.offsetHeight,xe=o.size/(o.virtualSize+o.params.slidesOffsetBefore-(o.params.centeredSlides?o.snapGrid[0]:0)),_e="auto"===o.params.scrollbar.dragSize?De*xe:parseInt(o.params.scrollbar.dragSize,10),o.isHorizontal()?cn.style.width=`${_e}px`:cn.style.height=`${_e}px`,wn.style.display=xe>=1?"none":"",o.params.scrollbar.hide&&(wn.style.opacity=0),o.params.watchOverflow&&o.enabled&&rn.el.classList[o.isLocked?"add":"remove"](o.params.scrollbar.lockClass)}function Et(rn){return o.isHorizontal()?rn.clientX:rn.clientY}function Xe(rn){const{scrollbar:cn,rtlTranslate:wn}=o,{el:gr}=cn;let Rn;Rn=(Et(rn)-Pr(gr)[o.isHorizontal()?"left":"top"]-(null!==Te?Te:_e/2))/(De-_e),Rn=Math.max(Math.min(Rn,1),0),wn&&(Rn=1-Rn);const Xt=o.minTranslate()+(o.maxTranslate()-o.minTranslate())*Rn;o.updateProgress(Xt),o.setTranslate(Xt),o.updateActiveIndex(),o.updateSlidesClasses()}function Ct(rn){const cn=o.params.scrollbar,{scrollbar:wn,wrapperEl:gr}=o,{el:Rn,dragEl:Xt}=wn;Y=!0,Te=rn.target===Xt?Et(rn)-rn.target.getBoundingClientRect()[o.isHorizontal()?"left":"top"]:null,rn.preventDefault(),rn.stopPropagation(),gr.style.transitionDuration="100ms",Xt.style.transitionDuration="100ms",Xe(rn),clearTimeout(X),Rn.style.transitionDuration="0ms",cn.hide&&(Rn.style.opacity=1),o.params.cssMode&&(o.wrapperEl.style["scroll-snap-type"]="none"),_("scrollbarDragStart",rn)}function gt(rn){const{scrollbar:cn,wrapperEl:wn}=o,{el:gr,dragEl:Rn}=cn;Y&&(rn.preventDefault&&rn.cancelable?rn.preventDefault():rn.returnValue=!1,Xe(rn),wn.style.transitionDuration="0ms",gr.style.transitionDuration="0ms",Rn.style.transitionDuration="0ms",_("scrollbarDragMove",rn))}function Ut(rn){const cn=o.params.scrollbar,{scrollbar:wn,wrapperEl:gr}=o,{el:Rn}=wn;Y&&(Y=!1,o.params.cssMode&&(o.wrapperEl.style["scroll-snap-type"]="",gr.style.transitionDuration=""),cn.hide&&(clearTimeout(X),X=hn(()=>{Rn.style.opacity=0,Rn.style.transitionDuration="400ms"},1e3)),_("scrollbarDragEnd",rn),cn.snapOnRelease&&o.slideToClosest())}function _n(rn){const{scrollbar:cn,params:wn}=o,gr=cn.el;if(!gr)return;const Xt=!!wn.passiveListeners&&{passive:!1,capture:!1},Jt=!!wn.passiveListeners&&{passive:!0,capture:!1};if(!gr)return;const Kn="on"===rn?"addEventListener":"removeEventListener";gr[Kn]("pointerdown",Ct,Xt),I[Kn]("pointermove",gt,Xt),I[Kn]("pointerup",Ut,Jt)}function gn(){const{scrollbar:rn,el:cn}=o;o.params.scrollbar=Ou(o,o.originalParams.scrollbar,o.params.scrollbar,{el:"swiper-scrollbar"});const wn=o.params.scrollbar;if(!wn.el)return;let gr,Rn;if("string"==typeof wn.el&&o.isElement&&(gr=o.el.querySelector(wn.el)),gr||"string"!=typeof wn.el)gr||(gr=wn.el);else if(gr=I.querySelectorAll(wn.el),!gr.length)return;o.params.uniqueNavElements&&"string"==typeof wn.el&&gr.length>1&&1===cn.querySelectorAll(wn.el).length&&(gr=cn.querySelector(wn.el)),gr.length>0&&(gr=gr[0]),gr.classList.add(o.isHorizontal()?wn.horizontalClass:wn.verticalClass),gr&&(Rn=gr.querySelector(Aa(o.params.scrollbar.dragClass)),Rn||(Rn=Zr("div",o.params.scrollbar.dragClass),gr.append(Rn))),Object.assign(rn,{el:gr,dragEl:Rn}),wn.draggable&&function nr(){!o.params.scrollbar.el||!o.scrollbar.el||_n("on")}(),gr&&gr.classList[o.enabled?"remove":"add"](...At(o.params.scrollbar.lockClass))}function sn(){const rn=o.params.scrollbar,cn=o.scrollbar.el;cn&&cn.classList.remove(...At(o.isHorizontal()?rn.horizontalClass:rn.verticalClass)),function zn(){!o.params.scrollbar.el||!o.scrollbar.el||_n("off")}()}f({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),o.scrollbar={el:null,dragEl:null},p("changeDirection",()=>{if(!o.scrollbar||!o.scrollbar.el)return;const rn=o.params.scrollbar;let{el:cn}=o.scrollbar;cn=Ki(cn),cn.forEach(wn=>{wn.classList.remove(rn.horizontalClass,rn.verticalClass),wn.classList.add(o.isHorizontal()?rn.horizontalClass:rn.verticalClass)})}),p("init",()=>{!1===o.params.scrollbar.enabled?Gn():(gn(),ot(),Ze())}),p("update resize observerUpdate lock unlock changeDirection",()=>{ot()}),p("setTranslate",()=>{Ze()}),p("setTransition",(rn,cn)=>{!function tt(rn){!o.params.scrollbar.el||!o.scrollbar.el||(o.scrollbar.dragEl.style.transitionDuration=`${rn}ms`)}(cn)}),p("enable disable",()=>{const{el:rn}=o.scrollbar;rn&&rn.classList[o.enabled?"remove":"add"](...At(o.params.scrollbar.lockClass))}),p("destroy",()=>{sn()});const Gn=()=>{o.el.classList.add(...At(o.params.scrollbar.scrollbarDisabledClass)),o.scrollbar.el&&o.scrollbar.el.classList.add(...At(o.params.scrollbar.scrollbarDisabledClass)),sn()};Object.assign(o.scrollbar,{enable:()=>{o.el.classList.remove(...At(o.params.scrollbar.scrollbarDisabledClass)),o.scrollbar.el&&o.scrollbar.el.classList.remove(...At(o.params.scrollbar.scrollbarDisabledClass)),gn(),ot(),Ze()},disable:Gn,updateSize:ot,setTranslate:Ze,init:gn,destroy:sn})},function vr(g){let{swiper:o,extendParams:f,on:p}=g;f({parallax:{enabled:!1}});const _="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",I=(X,Te)=>{const{rtl:_e}=o,De=_e?-1:1,xe=X.getAttribute("data-swiper-parallax")||"0";
1let Ze=X.getAttribute("data-swiper-parallax-x"),tt=X.getAttribute("data-swiper-parallax-y");const ot=X.getAttribute("data-swiper-parallax-scale"),Et=X.getAttribute("data-swiper-parallax-opacity"),Xe=X.getAttribute("data-swiper-parallax-rotate");if(Ze||tt?(Ze=Ze||"0",tt=tt||"0"):o.isHorizontal()?(Ze=xe,tt="0"):(tt=xe,Ze="0"),Ze=Ze.indexOf("%")>=0?parseInt(Ze,10)*Te*De+"%":Ze*Te*De+"px",tt=tt.indexOf("%")>=0?parseInt(tt,10)*Te+"%":tt*Te+"px",typeof Et<"u"&&null!==Et){const gt=Et-(Et-1)*(1-Math.abs(Te));X.style.opacity=gt}let Ct=`translate3d(${Ze}, ${tt}, 0px)`;typeof ot<"u"&&null!==ot&&(Ct+=` scale(${ot-(ot-1)*(1-Math.abs(Te))})`),Xe&&typeof Xe<"u"&&null!==Xe&&(Ct+=` rotate(${Xe*Te*-1}deg)`),X.style.transform=Ct},Y=()=>{const{el:X,slides:Te,progress:_e,snapGrid:De}=o,Ze=Fr(X,_);o.isElement&&Ze.push(...Fr(o.hostEl,_)),Ze.forEach(tt=>{I(tt,_e)}),Te.forEach((tt,ot)=>{let Et=tt.progress;o.params.slidesPerGroup>1&&"auto"!==o.params.slidesPerView&&(Et+=Math.ceil(ot/2)-_e*(De.length-1)),Et=Math.min(Math.max(Et,-1),1),tt.querySelectorAll(`${_}, [data-swiper-parallax-rotate]`).forEach(Xe=>{I(Xe,Et)})})};p("beforeInit",()=>{o.params.parallax.enabled&&(o.params.watchSlidesProgress=!0,o.originalParams.watchSlidesProgress=!0)}),p("init",()=>{o.params.parallax.enabled&&Y()}),p("setTranslate",()=>{o.params.parallax.enabled&&Y()}),p("setTransition",(X,Te)=>{o.params.parallax.enabled&&function(X){void 0===X&&(X=o.params.speed);const{el:Te,hostEl:_e}=o,De=[...Te.querySelectorAll(_)];o.isElement&&De.push(..._e.querySelectorAll(_)),De.forEach(xe=>{let Ze=parseInt(xe.getAttribute("data-swiper-parallax-duration"),10)||X;0===X&&(Ze=0),xe.style.transitionDuration=`${Ze}ms`})}(Te)})},function si(g){let{swiper:o,extendParams:f,on:p,emit:_}=g;const I=ut();f({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),o.zoom={enabled:!1};let X,Te,Y=1,Q=!1;const _e=[],De={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},xe={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},Ze={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let gn,tt=1;function ot(){return _e.length<2?1:Math.sqrt((_e[1].pageX-_e[0].pageX)**2+(_e[1].pageY-_e[0].pageY)**2)}function Et(){const ar=o.params.zoom,yr=De.imageWrapEl.getAttribute("data-swiper-zoom")||ar.maxRatio;return ar.limitToOriginalSize&&De.imageEl&&De.imageEl.naturalWidth?Math.min(De.imageEl.naturalWidth/De.imageEl.offsetWidth,yr):yr}function gt(ar){const yr=function Ct(){return o.isElement?"swiper-slide":`.${o.params.slideClass}`}();return!!(ar.target.matches(yr)||o.slides.filter(Mr=>Mr.contains(ar.target)).length>0)}function _n(ar){if("mouse"===ar.pointerType&&_e.splice(0,_e.length),!gt(ar))return;const yr=o.params.zoom;if(X=!1,Te=!1,_e.push(ar),!(_e.length<2)){if(X=!0,De.scaleStart=ot(),!De.slideEl){De.slideEl=ar.target.closest(`.${o.params.slideClass}, swiper-slide`),De.slideEl||(De.slideEl=o.slides[o.activeIndex]);let Mr=De.slideEl.querySelector(`.${yr.containerClass}`);if(Mr&&(Mr=Mr.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),De.imageEl=Mr,De.imageWrapEl=Mr?po(De.imageEl,`.${yr.containerClass}`)[0]:void 0,!De.imageWrapEl)return void(De.imageEl=void 0);De.maxRatio=Et()}
1if(De.imageEl){const[Mr,gi]=function Xe(){if(_e.length<2)return{x:null,y:null};const ar=De.imageEl.getBoundingClientRect();return[(_e[0].pageX+(_e[1].pageX-_e[0].pageX)/2-ar.x-I.scrollX)/Y,(_e[0].pageY+(_e[1].pageY-_e[0].pageY)/2-ar.y-I.scrollY)/Y]}();De.originX=Mr,De.originY=gi,De.imageEl.style.transitionDuration="0ms"}Q=!0}}function nr(ar){if(!gt(ar))return;const yr=o.params.zoom,Mr=o.zoom,gi=_e.findIndex(Gr=>Gr.pointerId===ar.pointerId);gi>=0&&(_e[gi]=ar),!(_e.length<2)&&(Te=!0,De.scaleMove=ot(),De.imageEl&&(Mr.scale=De.scaleMove/De.scaleStart*Y,Mr.scale>De.maxRatio&&(Mr.scale=De.maxRatio-1+(Mr.scale-De.maxRatio+1)**.5),Mr.scale<yr.minRatio&&(Mr.scale=yr.minRatio+1-(yr.minRatio-Mr.scale+1)**.5),De.imageEl.style.transform=`translate3d(0,0,0) scale(${Mr.scale})`))}function zn(ar){if(!gt(ar)||"mouse"===ar.pointerType&&"pointerout"===ar.type)return;const yr=o.params.zoom,Mr=o.zoom,gi=_e.findIndex(Gr=>Gr.pointerId===ar.pointerId);gi>=0&&_e.splice(gi,1),X&&Te&&(X=!1,Te=!1,De.imageEl&&(Mr.scale=Math.max(Math.min(Mr.scale,De.maxRatio),yr.minRatio),De.imageEl.style.transitionDuration=`${o.params.speed}ms`,De.imageEl.style.transform=`translate3d(0,0,0) scale(${Mr.scale})`,Y=Mr.scale,Q=!1,Mr.scale>1&&De.slideEl?De.slideEl.classList.add(`${yr.zoomedSlideClass}`):Mr.scale<=1&&De.slideEl&&De.slideEl.classList.remove(`${yr.zoomedSlideClass}`),1===Mr.scale&&(De.originX=0,De.originY=0,De.slideEl=void 0)))}function sn(){o.touchEventsData.preventTouchMoveFromPointerMove=!1}function rn(ar){if(!gt(ar)||!function Ut(ar){const yr=`.${o.params.zoom.containerClass}`;return!!(ar.target.matches(yr)||[...o.hostEl.querySelectorAll(yr)].filter(Mr=>Mr.contains(ar.target)).length>0)}(ar))return;const yr=o.zoom;if(!De.imageEl||!xe.isTouched||!De.slideEl)return;xe.isMoved||(xe.width=De.imageEl.offsetWidth||De.imageEl.clientWidth,xe.height=De.imageEl.offsetHeight||De.imageEl.clientHeight,xe.startX=fr(De.imageWrapEl,"x")||0,xe.startY=fr(De.imageWrapEl,"y")||0,De.slideWidth=De.slideEl.offsetWidth,De.slideHeight=De.slideEl.offsetHeight,De.imageWrapEl.style.transitionDuration="0ms");const gi=xe.height*yr.scale;if(xe.minX=Math.min(De.slideWidth/2-xe.width*yr.scale/2,0),xe.maxX=-xe.minX,xe.minY=Math.min(De.slideHeight/2-gi/2,0),xe.maxY=-xe.minY,xe.touchesCurrent.x=_e.length>0?_e[0].pageX:ar.pageX,xe.touchesCurrent.y=_e.length>0?_e[0].pageY:ar.pageY,Math.max(Math.abs(xe.touchesCurrent.x-xe.touchesStart.x),Math.abs(xe.touchesCurrent.y-xe.touchesStart.y))>5&&(o.allowClick=!1),!xe.isMoved&&!Q){if(o.isHorizontal()&&(Math.floor(xe.minX)===Math.floor(xe.startX)&&xe.touchesCurrent.x<xe.touchesStart.x||Math.floor(xe.maxX)===Math.floor(xe.startX)&&xe.touchesCurrent.x>xe.touchesStart.x))return xe.isTouched=!1,void sn();if(!o.isHorizontal()&&(Math.floor(xe.minY)===Math.floor(xe.startY)&&xe.touchesCurrent.y<xe.touchesStart.y||Math.floor(xe.maxY)===Math.floor(xe.startY)&&xe.touchesCurrent.y>xe.touchesStart.y))return xe.isTouched=!1,void sn()}ar.cancelable&&ar.preventDefault(),ar.stopPropagation(),function an(){clearTimeout(gn),o.touchEventsData.preventTouchMoveFromPointerMove=!0,gn=setTimeout(()=>{sn()})}(),xe.isMoved=!0;const To=(yr.scale-Y)/(De.maxRatio-o.params.zoom.minRatio),{originX:Io,originY:_a}=De;xe.currentX=xe.touchesCurrent.x-xe.touchesStart.x+xe.startX+To*(xe.width-2*Io),xe.currentY=xe.touchesCurrent.y-xe.touchesStart.y+xe.startY+To*(xe.height-2*_a),xe.currentX<xe.minX&&(xe.currentX=xe.minX+1-(xe.minX-xe.currentX+1)**.8),xe.currentX>xe.maxX&&(xe.currentX=xe.maxX-1+(xe.currentX-xe.maxX+1)**.8),xe.currentY<xe.minY&&(xe.currentY=xe.minY+1-(xe.minY-xe.currentY+1)**.8),xe.currentY>xe.maxY&&(xe.currentY=xe.maxY-1+(xe.currentY-xe.maxY+1)**.8),Ze.prevPositionX||(Ze.prevPositionX=xe.touchesCurrent.x),Ze.prevPositionY||(Ze.prevPositionY=xe.touchesCurrent.y),Ze.prevTime||(Ze.prevTime=Date.now()),Ze.x=(xe.touchesCurrent.x-Ze.prevPositionX)/(Date.now()-Ze.prevTime)/2,Ze.y=(xe.touchesCurrent.y-Ze.prevPositionY)/(Date.now()-Ze.prevTime)/2,Math.abs(xe.touchesCurrent.x-Ze.prevPositionX)<2&&(Ze.x=0),Math.abs(xe.touchesCurrent.y-Ze.prevPositionY)<2&&(Ze.y=0),Ze.prevPositionX=xe.touchesCurrent.x,Ze.prevPositionY=xe.touchesCurrent.y,Ze.prevTime=Date.now(),De.imageWrapEl.style.transform=`translate3d(${xe.currentX}px, ${xe.currentY}px,0)`}function wn(){const ar=o.zoom;De.slideEl&&o.activeIndex!==o.slides.indexOf(De.slideEl)&&(De.imageEl&&(De.imageEl.style.transform="translate3d(0,
10,0) scale(1)"),De.imageWrapEl&&(De.imageWrapEl.style.transform="translate3d(0,0,0)"),De.slideEl.classList.remove(`${o.params.zoom.zoomedSlideClass}`),ar.scale=1,Y=1,De.slideEl=void 0,De.imageEl=void 0,De.imageWrapEl=void 0,De.originX=0,De.originY=0)}function gr(ar){const yr=o.zoom,Mr=o.params.zoom;if(!De.slideEl){ar&&ar.target&&(De.slideEl=ar.target.closest(`.${o.params.slideClass}, swiper-slide`)),De.slideEl||(De.slideEl=o.params.virtual&&o.params.virtual.enabled&&o.virtual?Fr(o.slidesEl,`.${o.params.slideActiveClass}`)[0]:o.slides[o.activeIndex]);let gu=De.slideEl.querySelector(`.${Mr.containerClass}`);gu&&(gu=gu.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),De.imageEl=gu,De.imageWrapEl=gu?po(De.imageEl,`.${Mr.containerClass}`)[0]:void 0}if(!De.imageEl||!De.imageWrapEl)return;let gi,Gr,To,Io,_a,os,$s,dl,Uu,bd,Of,Pf,Dd,Sd,yc,Ml,hu,_c;o.params.cssMode&&(o.wrapperEl.style.overflow="hidden",o.wrapperEl.style.touchAction="none"),De.slideEl.classList.add(`${Mr.zoomedSlideClass}`),typeof xe.touchesStart.x>"u"&&ar?(gi=ar.pageX,Gr=ar.pageY):(gi=xe.touchesStart.x,Gr=xe.touchesStart.y);const pu="number"==typeof ar?ar:null;1===Y&&pu&&(gi=void 0,Gr=void 0);const Vc=Et();yr.scale=pu||Vc,Y=pu||Vc,!ar||1===Y&&pu?($s=0,dl=0):(hu=De.slideEl.offsetWidth,_c=De.slideEl.offsetHeight,To=Pr(De.slideEl).left+I.scrollX,Io=Pr(De.slideEl).top+I.scrollY,_a=To+hu/2-gi,os=Io+_c/2-Gr,Uu=De.imageEl.offsetWidth||De.imageEl.clientWidth,bd=De.imageEl.offsetHeight||De.imageEl.clientHeight,Of=Uu*yr.scale,Pf=bd*yr.scale,Dd=Math.min(hu/2-Of/2,0),Sd=Math.min(_c/2-Pf/2,0),yc=-Dd,Ml=-Sd,$s=_a*yr.scale,dl=os*yr.scale,$s<Dd&&($s=Dd),$s>yc&&($s=yc),dl<Sd&&(dl=Sd),dl>Ml&&(dl=Ml)),pu&&1===yr.scale&&(De.originX=0,De.originY=0),De.imageWrapEl.style.transitionDuration="300ms",De.imageWrapEl.style.transform=`translate3d(${$s}px, ${dl}px,0)`,De.imageEl.style.transitionDuration="300ms",De.imageEl.style.transform=`translate3d(0,0,0) scale(${yr.scale})`}function Rn(){const ar=o.zoom,yr=o.params.zoom;if(!De.slideEl){De.slideEl=o.params.virtual&&o.params.virtual.enabled&&o.virtual?Fr(o.slidesEl,`.${o.params.slideActiveClass}`)[0]:o.slides[o.activeIndex];let Mr=De.slideEl.querySelector(`.${yr.containerClass}`);Mr&&(Mr=Mr.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),De.imageEl=Mr,De.imageWrapEl=Mr?po(De.imageEl,`.${yr.containerClass}`)[0]:void 0}!De.imageEl||!De.imageWrapEl||(o.params.cssMode&&(o.wrapperEl.style.overflow="",o.wrapperEl.style.touchAction=""),ar.scale=1,Y=1,De.imageWrapEl.style.transitionDuration="300ms",De.imageWrapEl.style.transform="translate3d(0,0,0)",De.imageEl.style.transitionDuration="300ms",De.imageEl.style.transform="translate3d(0,0,0) scale(1)",De.slideEl.classList.remove(`${yr.zoomedSlideClass}`),De.slideEl=void 0,De.originX=0,De.originY=0)}function Xt(ar){const yr=o.zoom;yr.scale&&1!==yr.scale?Rn():gr(ar)}function Jt(){return{passiveListener:!!o.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!o.params.passiveListeners||{passive:!1,capture:!0}}}function Kn(){const ar=o.zoom;if(ar.enabled)return;ar.enabled=!0;const{passiveListener:yr,activeListenerWithCapture:Mr}=Jt();o.wrapperEl.addEventListener("pointerdown",_n,yr),o.wrapperEl.addEventListener("pointermove",nr,Mr),["pointerup","pointercancel","pointerout"].forEach(gi=>{o.wrapperEl.addEventListener(gi,zn,yr)}),o.wrapperEl.addEventListener("pointermove",rn,Mr)}function xr(){const ar=o.zoom;if(!ar.enabled)return;ar.enabled=!1;const{passiveListener:yr,activeListenerWithCapture:Mr}=Jt();o.wrapperEl.removeEventListener("pointerdown",_n,yr),o.wrapperEl.removeEventListener("pointermove",nr,Mr),["pointerup","pointercancel","pointerout"].forEach(gi=>{o.wrapperEl.removeEventListener(gi,zn,yr)}),o.wrapperEl.removeEventListener("pointermove",rn,Mr)}Object.defineProperty(o.zoom,"scale",{get:()=>tt,set(ar){tt!==ar&&_("zoomChange",ar,De.imageEl,De.slideEl),tt=ar}}),p("init",()=>{o.params.zoom.enabled&&Kn()}),p("destroy",()=>{xr()}),p("touchStart",(ar,yr)=>{o.zoom.enabled&&function Gn(ar){if(!De.imageEl||xe.isTouched)return;o.device.android&&ar.cancelable&&ar.preventDefault(),xe.isTouched=!0;const Mr=_e.length>0?_e[0]:ar;xe.touchesStart.x=Mr.pageX,xe.touchesStart.y=Mr.pageY}(yr)}),p("touchEnd",(ar,yr)=>{o.zoom.enabled&&function cn(){const ar=o.zoom;if(!De.imageEl)return;if(!xe.isTouched||!xe.isMoved)return xe.isTouched=!1,void(xe.isMoved=!1);xe.isTouched=!1,xe.isMoved=!1;let yr=300,Mr=300;const Gr=xe.currentX+Ze.x*yr,Io=xe.currentY+Ze.y*Mr;0!==Ze.x&&(yr=Math.abs((Gr-xe.currentX)/Ze.x)),0!==Ze.y&&(Mr=Math.abs((Io-xe.currentY)/Ze.y));const _a=Math.max(yr,Mr);xe.currentX=Gr,xe.currentY=Io;const $s=xe.height*ar.scale;xe.minX=Math.min(De.slideWidth/2-xe.width*ar.scale/2,0),xe.maxX=-xe.minX,xe.minY=Math.min(De.slideHeight/2-$s/2,0),xe.maxY=-xe.minY,xe.currentX=Math.max(Math.min(xe.currentX,xe.maxX),xe.minX),xe.currentY=Math.max(Math.min(xe.currentY,xe.maxY),xe.minY),De.imageWrapEl.style.transitionDuration=`${_a}ms`,De.imageWrapEl.style.transform=`translate3d(${xe.currentX}px, ${xe.currentY}px,0)`}()}),p("doubleTap",(ar,yr)=>{!o.animating&&o.params.zoom.enabled&&o.zoom.enabled&&o.params.zoom.toggle&&Xt(yr)}),p("transitionEnd",()=>{o.zoom.enabled&&o.params.zoom.enabled&&wn()}),p("slideChange",()=>{o.zoom.enabled&&o.params.zoom.enabled&&o.params.cssMode&&wn()}),Object.assign(o.zoom,{enable:Kn,disable:xr,in:gr,out:Rn,toggle:Xt})},function ni(g){let{swiper:o,extendParams:f,on:p}=g;function _(Te,_e){const De=function(){let ot,Et,Xe;return(Ct,gt)=>{for(Et=-1,ot=Ct.length;ot-Et>1;)Xe=ot+Et>>1,Ct[Xe]<=gt?Et=Xe:ot=Xe;return ot}}();let xe,Ze;return this.x=Te,this.y=_e,this.lastIndex=Te.length-1,this.interpolate=function(ot){return ot?(Ze=De(this.x,ot),xe=Ze-1,(ot-this.x[xe])*(this.y[Ze]-this.y[xe])/(this.x[Ze]-this.x[xe])+this.y[xe]):0},this}function X(){o.controller.control&&o.controller.spline&&(o.controller.spline=void 0,delete o.controller.spline)}f({controller:{control:void 0,inverse:!1,by:"slide"}}),o.controller={control:void 0},p("beforeInit",()=>{typeof window<"u"&&("string"==typeof o.params.controller.control||o.params.controller.control instanceof HTMLElement)?("string"==typeof o.params.controller.control?[...document.querySelectorAll(
1o.params.controller.control)]:[o.params.controller.control]).forEach(_e=>{if(o.controller.control||(o.controller.control=[]),_e&&_e.swiper)o.controller.control.push(_e.swiper);else if(_e){const De=`${o.params.eventsPrefix}init`,xe=Ze=>{o.controller.control.push(Ze.detail[0]),o.update(),_e.removeEventListener(De,xe)};_e.addEventListener(De,xe)}}):o.controller.control=o.params.controller.control}),p("update",()=>{X()}),p("resize",()=>{X()}),p("observerUpdate",()=>{X()}),p("setTranslate",(Te,_e,De)=>{!o.controller.control||o.controller.control.destroyed||o.controller.setTranslate(_e,De)}),p("setTransition",(Te,_e,De)=>{!o.controller.control||o.controller.control.destroyed||o.controller.setTransition(_e,De)}),Object.assign(o.controller,{setTranslate:function Y(Te,_e){const De=o.controller.control;let xe,Ze;const tt=o.constructor;function ot(Et){if(Et.destroyed)return;const Xe=o.rtlTranslate?-o.translate:o.translate;"slide"===o.params.controller.by&&(function I(Te){o.controller.spline=o.params.loop?new _(o.slidesGrid,Te.slidesGrid):new _(o.snapGrid,Te.snapGrid)}(Et),Ze=-o.controller.spline.interpolate(-Xe)),(!Ze||"container"===o.params.controller.by)&&(xe=(Et.maxTranslate()-Et.minTranslate())/(o.maxTranslate()-o.minTranslate()),(Number.isNaN(xe)||!Number.isFinite(xe))&&(xe=1),Ze=(Xe-o.minTranslate())*xe+Et.minTranslate()),o.params.controller.inverse&&(Ze=Et.maxTranslate()-Ze),Et.updateProgress(Ze),Et.setTranslate(Ze,o),Et.updateActiveIndex(),Et.updateSlidesClasses()}if(Array.isArray(De))for(let Et=0;Et<De.length;Et+=1)De[Et]!==_e&&De[Et]instanceof tt&&ot(De[Et]);else De instanceof tt&&_e!==De&&ot(De)},setTransition:function Q(Te,_e){const De=o.constructor,xe=o.controller.control;let Ze;function tt(ot){ot.destroyed||(ot.setTransition(Te,o),0!==Te&&(ot.transitionStart(),ot.params.autoHeight&&hn(()=>{ot.updateAutoHeight()}),Oi(ot.wrapperEl,()=>{xe&&ot.transitionEnd()})))}if(Array.isArray(xe))for(Ze=0;Ze<xe.length;Ze+=1)xe[Ze]!==_e&&xe[Ze]instanceof De&&tt(xe[Ze]);else xe instanceof De&&_e!==xe&&tt(xe)}})},function sl(g){let{swiper:o,extendParams:f,on:p}=g;f({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),o.a11y={clicked:!1};let I,Y,_=null,Q=(new Date).getTime();function X(Xt){const Jt=_;0!==Jt.length&&(Jt.innerHTML="",Jt.innerHTML=Xt)}function _e(Xt){(Xt=Ki(Xt)).forEach(Jt=>{Jt.setAttribute("tabIndex","0")})}function De(Xt){(Xt=Ki(Xt)).forEach(Jt=>{Jt.setAttribute("tabIndex","-1")})}function xe(Xt,Jt){(Xt=Ki(Xt)).forEach(Kn=>{Kn.setAttribute("role",Jt)})}function Ze(Xt,Jt){(Xt=Ki(Xt)).forEach(Kn=>{Kn.setAttribute("aria-roledescription",Jt)})}function ot(Xt,Jt){(Xt=Ki(Xt)).forEach(Kn=>{Kn.setAttribute("aria-label",Jt)})}function Ct(Xt){(Xt=Ki(Xt)).forEach(Jt=>{Jt.setAttribute("aria-disabled",!0)})}function gt(Xt){(Xt=Ki(Xt)).forEach(Jt=>{Jt.setAttribute("aria-disabled",!1)})}function Ut(Xt){if(13!==Xt.keyCode&&32!==Xt.keyCode)return;const Jt=o.params.a11y,Kn=Xt.target;if(!o.pagination||!o.pagination.el||Kn!==o.pagination.el&&!o.pagination.el.contains(Xt.target)||Xt.target.matches(Aa(o.params.pagination.bulletClass))){if(o.navigation&&o.navigation.prevEl&&o.navigation.nextEl){const xr=Ki(o.navigation.prevEl);Ki(o.navigation.nextEl).includes(Kn)&&(o.isEnd&&!o.params.loop||o.slideNext(),X(o.isEnd?Jt.lastSlideMessage:Jt.nextSlideMessage)),xr.includes(Kn)&&(o.isBeginning&&!o.params.loop||o.slidePrev(),X(o.isBeginning?Jt.firstSlideMessage:Jt.prevSlideMessage))}o.pagination&&Kn.matches(Aa(o.params.pagination.bulletClass))&&Kn.click()}}function nr(){return o.pagination&&o.pagination.bullets&&o.pagination.bullets.length}function zn(){return nr()&&o.params.pagination.clickable}const sn=(Xt,Jt,Kn)=>{_e(Xt),"BUTTON"!==Xt.tagName&&(xe(Xt,"button"),Xt.addEventListener("keydown",Ut)),ot(Xt,Kn),function tt(Xt,Jt){(Xt=Ki(Xt)).forEac
1h(Kn=>{Kn.setAttribute("aria-controls",Jt)})}(Xt,Jt)},an=Xt=>{Y&&Y!==Xt.target&&!Y.contains(Xt.target)&&(I=!0),o.a11y.clicked=!0},Gn=()=>{I=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{o.destroyed||(o.a11y.clicked=!1)})})},rn=Xt=>{Q=(new Date).getTime()},cn=Xt=>{if(o.a11y.clicked||!o.params.a11y.scrollOnFocus||(new Date).getTime()-Q<100)return;const Jt=Xt.target.closest(`.${o.params.slideClass}, swiper-slide`);if(!Jt||!o.slides.includes(Jt))return;Y=Jt;const Kn=o.slides.indexOf(Jt)===o.activeIndex,xr=o.params.watchSlidesProgress&&o.visibleSlides&&o.visibleSlides.includes(Jt);Kn||xr||Xt.sourceCapabilities&&Xt.sourceCapabilities.firesTouchEvents||(o.isHorizontal()?o.el.scrollLeft=0:o.el.scrollTop=0,requestAnimationFrame(()=>{I||(o.params.loop?o.slideToLoop(parseInt(Jt.getAttribute("data-swiper-slide-index")),0):o.slideTo(o.slides.indexOf(Jt),0),I=!1)}))},wn=()=>{const Xt=o.params.a11y;Xt.itemRoleDescriptionMessage&&Ze(o.slides,Xt.itemRoleDescriptionMessage),Xt.slideRole&&xe(o.slides,Xt.slideRole);const Jt=o.slides.length;Xt.slideLabelMessage&&o.slides.forEach((Kn,xr)=>{const ar=o.params.loop?parseInt(Kn.getAttribute("data-swiper-slide-index"),10):xr;ot(Kn,Xt.slideLabelMessage.replace(/\{\{index\}\}/,ar+1).replace(/\{\{slidesLength\}\}/,Jt))})};p("beforeInit",()=>{_=Zr("span",o.params.a11y.notificationClass),_.setAttribute("aria-live","assertive"),_.setAttribute("aria-atomic","true")}),p("afterInit",()=>{o.params.a11y.enabled&&(()=>{const Xt=o.params.a11y;o.el.append(_);const Jt=o.el;Xt.containerRoleDescriptionMessage&&Ze(Jt,Xt.containerRoleDescriptionMessage),Xt.containerMessage&&ot(Jt,Xt.containerMessage);const Kn=o.wrapperEl,xr=Xt.id||Kn.getAttribute("id")||`swiper-wrapper-${function Te(Xt){return void 0===Xt&&(Xt=16),"x".repeat(Xt).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16)}`,ar=o.params.autoplay&&o.params.autoplay.enabled?"off":"polite";(function Et(Xt,Jt){(Xt=Ki(Xt)).forEach(Kn=>{Kn.setAttribute("id",Jt)})})(Kn,xr),function Xe(Xt,Jt){(Xt=Ki(Xt)).forEach(Kn=>{Kn.setAttribute("aria-live",Jt)})}(Kn,ar),wn();let{nextEl:yr,prevEl:Mr}=o.navigation?o.navigation:{};yr=Ki(yr),Mr=Ki(Mr),yr&&yr.forEach(Gr=>sn(Gr,xr,Xt.nextSlideMessage)),Mr&&Mr.forEach(Gr=>sn(Gr,xr,Xt.prevSlideMessage)),zn()&&Ki(o.pagination.el).forEach(To=>{To.addEventListener("keydown",Ut)}),be().addEventListener("visibilitychange",rn),o.el.addEventListener("focus",cn,!0),o.el.addEventListener("focus",cn,!0),o.el.addEventListener("pointerdown",an,!0),o.el.addEventListener("pointerup",Gn,!0)})()}),p("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{o.params.a11y.enabled&&wn()}),p("fromEdge toEdge afterInit lock unlock",()=>{o.params.a11y.enabled&&function _n(){if(o.params.loop||o.params.rewind||!o.navigation)return;const{nextEl:Xt,prevEl:Jt}=o.navigation;Jt&&(o.isBeginning?(Ct(Jt),De(Jt)):(gt(Jt),_e(Jt))),Xt&&(o.isEnd?(Ct(Xt),De(Xt)):(gt(Xt),_e(Xt)))}()}),p("paginationUpdate",()=>{o.params.a11y.enabled&&function gn(){const Xt=o.params.a11y;nr()&&o.pagination.bullets.forEach(Jt=>{o.params.pagination.clickable&&(_e(Jt),o.params.pagination.renderBullet||(xe(Jt,"button"),ot(Jt,Xt.paginationBulletMessage.replace(/\{\{index\}\}/,aa(Jt)+1)))),Jt.matches(Aa(o.params.pagination.bulletActiveClass))?Jt.setAttribute("aria-current","true"):Jt.removeAttribute("aria-current")})}()}),p("destroy",()=>{o.params.a11y.enabled&&function Rn(){_&&_.remove();let{nextEl:Xt,prevEl:Jt}=o.navigation?o.navigation:{};Xt=Ki(Xt),Jt=Ki(Jt),Xt&&Xt.forEach(xr=>xr.removeEventListener("keydown",Ut)),Jt&&Jt.forEach(xr=>xr.removeEventListener("keydown",Ut)),zn()&&Ki(o.pagination.el).forEach(ar=>{ar.removeEventListener("keydown",Ut)}),be().removeEventListener("visibilitychange",rn),o.el&&"string"!=typeof o.el&&(o.el.removeEventListener("focus",cn,!0),o.el.removeEventListener("pointerdown",an,!0),o.el.removeEventListener("pointerup",Gn,!0))}()})},function js(g){let{swiper:o,extendParams:f,on:p}=g;f({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let _=!1,I={};const Y=Ze=>Ze.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),Q=Ze=>{const tt=ut();let ot;ot=Ze?new URL(Ze):tt.location;const Et=ot.pathname.slice(1).split("/").filter(Ut=>""!==Ut),Xe=Et.length;return{key:Et[Xe-2],value:Et[Xe-1]}},X=(Ze,tt)=>{const ot=ut();if(!_||!o.params.history.enabled)return;let Et;Et=o.params.url?new URL(o.params.url):ot.location;const Xe=o.virtual&&o.params.virtual.enabled?o.slidesEl.querySelector(`[data-swiper-slide-index="${tt}"]`):o.slides[tt];let Ct=Y(Xe.getAttribute("data-history"));if(o.params.history.root.length>0){let Ut=o.params.history.root;
1"/"===Ut[Ut.length-1]&&(Ut=Ut.slice(0,Ut.length-1)),Ct=`${Ut}/${Ze?`${Ze}/`:""}${Ct}`}else Et.pathname.includes(Ze)||(Ct=`${Ze?`${Ze}/`:""}${Ct}`);o.params.history.keepQuery&&(Ct+=Et.search);const gt=ot.history.state;gt&>.value===Ct||(o.params.history.replaceState?ot.history.replaceState({value:Ct},null,Ct):ot.history.pushState({value:Ct},null,Ct))},Te=(Ze,tt,ot)=>{if(tt)for(let Et=0,Xe=o.slides.length;Et<Xe;Et+=1){const Ct=o.slides[Et];if(Y(Ct.getAttribute("data-history"))===tt){const Ut=o.getSlideIndex(Ct);o.slideTo(Ut,Ze,ot)}}else o.slideTo(0,Ze,ot)},_e=()=>{I=Q(o.params.url),Te(o.params.speed,I.value,!1)};p("init",()=>{o.params.history.enabled&&(()=>{const Ze=ut();if(o.params.history){if(!Ze.history||!Ze.history.pushState)return o.params.history.enabled=!1,void(o.params.hashNavigation.enabled=!0);if(_=!0,I=Q(o.params.url),!I.key&&!I.value)return void(o.params.history.replaceState||Ze.addEventListener("popstate",_e));Te(0,I.value,o.params.runCallbacksOnInit),o.params.history.replaceState||Ze.addEventListener("popstate",_e)}})()}),p("destroy",()=>{o.params.history.enabled&&(()=>{const Ze=ut();o.params.history.replaceState||Ze.removeEventListener("popstate",_e)})()}),p("transitionEnd _freeModeNoMomentumRelease",()=>{_&&X(o.params.history.key,o.activeIndex)}),p("slideChange",()=>{_&&o.params.cssMode&&X(o.params.history.key,o.activeIndex)})},function ws(g){let{swiper:o,extendParams:f,emit:p,on:_}=g,I=!1;const Y=be(),Q=ut();f({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(xe,Ze){if(o.virtual&&o.params.virtual.enabled){const tt=o.slides.filter(Et=>Et.getAttribute("data-hash")===Ze)[0];return tt?parseInt(tt.getAttribute("data-swiper-slide-index"),10):0}return o.getSlideIndex(Fr(o.slidesEl,`.${o.params.slideClass}[data-hash="${Ze}"], swiper-slide[data-hash="${Ze}"]`)[0])}}});const X=()=>{p("hashChange");const xe=Y.location.hash.replace("#",""),Ze=o.virtual&&o.params.virtual.enabled?o.slidesEl.querySelector(`[data-swiper-slide-index="${o.activeIndex}"]`):o.slides[o.activeIndex];if(xe!==(Ze?Ze.getAttribute("data-hash"):"")){const ot=o.params.hashNavigation.getSlideIndex(o,xe);if(typeof ot>"u"||Number.isNaN(ot))return;o.slideTo(ot)}},Te=()=>{if(!I||!o.params.hashNavigation.enabled)return;const xe=o.virtual&&o.params.virtual.enabled?o.slidesEl.querySelector(`[data-swiper-slide-index="${o.activeIndex}"]`):o.slides[o.activeIndex],Ze=xe?xe.getAttribute("data-hash")||xe.getAttribute("data-history"):"";o.params.hashNavigation.replaceState&&Q.history&&Q.history.replaceState?(Q.history.replaceState(null,null,`#${Ze}`||""),p("hashSet")):(Y.location.hash=Ze||"",p("hashSet"))};_("init",()=>{o.params.hashNavigation.enabled&&(()=>{if(!o.params.hashNavigation.enabled||o.params.history&&o.params.history.enabled)return;I=!0;const xe=Y.location.hash.replace("#","");if(xe){const tt=o.params.hashNavigation.getSlideIndex(o,xe);o.slideTo(tt||0,0,o.params.runCallbacksOnInit,!0)}o.params.hashNavigation.watchState&&Q.addEventListener("hashchange",X)})()}),_("destroy",()=>{o.params.hashNavigation.enabled&&o.params.hashNavigation.watchState&&Q.removeEventListener("hashchange",X)}),_("transitionEnd _freeModeNoMomentumRelease",()=>{I&&Te()}),_("slideChange",()=>{I&&o.params.cssMode&&Te()})},function ql(g){let{swiper:o,extendParams:f,on:p,emit:_,params:I}=g;o.autoplay={running:!1,paused:!1,timeLeft:0},f({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let Y,Q,_e,xe,Ze,tt,ot,Et,Xe,Ct,X=I&&I.autoplay?I.autoplay.delay:3e3,Te=I&&I.autoplay?I.autoplay.delay:3e3,De=(new Date).getTime();function gt(Jt){!o||o.destroyed||!o.wrapperEl||Jt.target===o.wrapperEl&&(o.wrapperEl.removeEventListener("transitionend",gt),!(Ct||Jt.detail&&Jt.detail.bySwiperTouchMove)&&an())}const Ut=()=>{if(o.destroyed||!o.autoplay.running)return;o.autoplay.paused?xe=!0:xe&&(Te=_e,xe=!1);const Jt=o.autoplay.paused?_e:De+Te-(new Date).getTime();o.autoplay.timeLeft=Jt,_("autoplayTimeLeft",Jt,Jt/X),Q=requestAnimationFrame(()=>{Ut()})},nr=Jt=>{if(o.destroyed||!o.autoplay.running)return;cancelAnimationFrame(Q),Ut();let Kn=typeof Jt>"u"?o.params.autoplay.delay:Jt;X=o.params.autoplay.delay,Te=o.params.autoplay.delay;const xr=(()=>{let Jt;return Jt=o.virtual&&o.params.virtual.enabled?o.slides.filter(xr=>xr.classList.contains("swiper-slide-active"))[0]:o.slides[o.activeIndex],Jt?parseInt(Jt.getAttribute("data-swiper-autoplay"),
110):void 0})();!Number.isNaN(xr)&&xr>0&&typeof Jt>"u"&&(Kn=xr,X=xr,Te=xr),_e=Kn;const ar=o.params.speed,yr=()=>{!o||o.destroyed||(o.params.autoplay.reverseDirection?!o.isBeginning||o.params.loop||o.params.rewind?(o.slidePrev(ar,!0,!0),_("autoplay")):o.params.autoplay.stopOnLastSlide||(o.slideTo(o.slides.length-1,ar,!0,!0),_("autoplay")):!o.isEnd||o.params.loop||o.params.rewind?(o.slideNext(ar,!0,!0),_("autoplay")):o.params.autoplay.stopOnLastSlide||(o.slideTo(0,ar,!0,!0),_("autoplay")),o.params.cssMode&&(De=(new Date).getTime(),requestAnimationFrame(()=>{nr()})))};return Kn>0?(clearTimeout(Y),Y=setTimeout(()=>{yr()},Kn)):requestAnimationFrame(()=>{yr()}),Kn},zn=()=>{De=(new Date).getTime(),o.autoplay.running=!0,nr(),_("autoplayStart")},gn=()=>{o.autoplay.running=!1,clearTimeout(Y),cancelAnimationFrame(Q),_("autoplayStop")},sn=(Jt,Kn)=>{if(o.destroyed||!o.autoplay.running)return;clearTimeout(Y),Jt||(Xe=!0);const xr=()=>{_("autoplayPause"),o.params.autoplay.waitForTransition?o.wrapperEl.addEventListener("transitionend",gt):an()};if(o.autoplay.paused=!0,Kn)return Et&&(_e=o.params.autoplay.delay),Et=!1,void xr();_e=(_e||o.params.autoplay.delay)-((new Date).getTime()-De),(!(o.isEnd&&_e<0)||o.params.loop)&&(_e<0&&(_e=0),xr())},an=()=>{o.isEnd&&_e<0&&!o.params.loop||o.destroyed||!o.autoplay.running||(De=(new Date).getTime(),Xe?(Xe=!1,nr(_e)):nr(),o.autoplay.paused=!1,_("autoplayResume"))},Gn=()=>{if(o.destroyed||!o.autoplay.running)return;const Jt=be();"hidden"===Jt.visibilityState&&(Xe=!0,sn(!0)),"visible"===Jt.visibilityState&&an()},rn=Jt=>
1{"mouse"===Jt.pointerType&&(Xe=!0,Ct=!0,!o.animating&&!o.autoplay.paused&&sn(!0))},cn=Jt=>{"mouse"===Jt.pointerType&&(Ct=!1,o.autoplay.paused&&an())};p("init",()=>{o.params.autoplay.enabled&&(o.params.autoplay.pauseOnMouseEnter&&(o.el.addEventListener("pointerenter",rn),o.el.addEventListener("pointerleave",cn)),be().addEventListener("visibilitychange",Gn),zn())}),p("destroy",()=>{o.el&&"string"!=typeof o.el&&(o.el.removeEventListener("pointerenter",rn),o.el.removeEventListener("pointerleave",cn)),be().removeEventListener("visibilitychange",Gn),o.autoplay.running&&gn()}),p("_freeModeStaticRelease",()=>{(tt||Xe)&&an()}),p("_freeModeNoMomentumRelease",()=>{o.params.autoplay.disableOnInteraction?gn():sn(!0,!0)}),p("beforeTransitionStart",(Jt,Kn,xr)=>{o.destroyed||!o.autoplay.running||(xr||!o.params.autoplay.disableOnInteraction?sn(!0,!0):gn())}),p("sliderFirstMove",()=>{if(!o.destroyed&&o.autoplay.running){if(o.params.autoplay.disableOnInteraction)return void gn();Ze=!0,tt=!1,Xe=!1,ot=setTimeout(()=>{Xe=!0,tt=!0,sn(!0)},200)}}),p("touchEnd",()=>{if(!o.destroyed&&o.autoplay.running&&Ze){if(clearTimeout(ot),clearTimeout(Y),o.params.autoplay.disableOnInteraction)return tt=!1,void(Ze=!1);tt&&o.params.cssMode&&an(),tt=!1,Ze=!1}}),p("slideChange",()=>{o.destroyed||!o.autoplay.running||(Et=!0)}),Object.assign(o.autoplay,{start:zn,stop:gn,pause:sn,resume:an})},function zo(g){let{swiper:o,extendParams:f,on:p}=g;f({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let _=!1,I=!1;function Y(){const Te=o.thumbs.swiper;if(!Te||Te.destroyed)return;const _e=Te.clickedIndex,De=Te.clickedSlide;if(De&&De.classList.contains(o.params.thumbs.slideThumbActiveClass)||typeof _e>"u"||null===_e)return;let xe;xe=Te.params.loop?parseInt(Te.clickedSlide.getAttribute("data-swiper-slide-index"),10):_e,o.params.loop?o.slideToLoop(xe):o.slideTo(xe)}function Q(){const{thumbs:Te}=o.params;if(_)return!1;_=!0;const _e=o.constructor;if(Te.swiper instanceof _e)o.thumbs.swiper=Te.swiper,Object.assign(o.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(o.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),o.thumbs.swiper.update();else if(pn(Te.swiper)){const De=Object.assign({},Te.swiper);Object.assign(De,{watchSlidesProgress:!0,slideToClickedSlide:!1}),o.thumbs.swiper=new _e(De),I=!0}return o.thumbs.swiper.el.classList.add(o.params.thumbs.thumbsContainerClass),o.thumbs.swiper.on("tap",Y),!0}function X(Te){const _e=o.thumbs.swiper;if(!_e||_e.destroyed)return;const De="auto"===_e.params.slidesPerView?_e.slidesPerViewDynamic():_e.params.slidesPerView;let xe=1;const Ze=o.params.thumbs.slideThumbActiveClass;if(o.params.slidesPerView>1&&!o.params.centeredSlides&&(xe=o.params.slidesPerView),o.params.thumbs.multipleActiveThumbs||(xe=1),xe=Math.floor(xe),_e.slides.forEach(Et=>Et.classList.remove(Ze)),_e.params.loop||_e.params.virtual&&_e.params.virtual.enabled)for(let Et=0;Et<xe;Et+=1)Fr(_e.slidesEl,`[data-swiper-slide-index="${o.realIndex+Et}"]`).forEach(Xe=>{Xe.classList.add(Ze)});else for(let Et=0;Et<xe;Et+=1)_e.slides[o.realIndex+Et]&&_e.slides[o.realIndex+Et].classList.add(Ze);const tt=o.params.thumbs.autoScrollOffset,ot=tt&&!_e.params.loop;if(o.realIndex!==_e.realIndex||ot){const Et=_e.activeIndex;let Xe,Ct;if(_e.params.loop){const gt=_e.slides.filter(Ut=>Ut.getAttribute("data-swiper-slide-index")===`${o.realIndex}`)[0];Xe=_e.slides.indexOf(gt),Ct=o.activeIndex>o.previousIndex?"next":"prev"}else Xe=o.realIndex,Ct=Xe>o.previousIndex?"next":"prev";ot&&(Xe+="next"===Ct?tt:-1*tt),_e.visibleSlidesIndexes&&_e.visibleSlidesIndexes.indexOf(Xe)<0&&(_e.params.centeredSlides&&(Xe=Xe>Et?Xe-Math.floor(De/2)+1:Xe+Math.floor(De/2)-1),_e.slideTo(Xe,Te?0:void 0))}}o.thumbs={swiper:null},p("beforeInit",()=>{const{thumbs:Te}=o.params;if(Te&&Te.swiper)if("string"==typeof Te.swiper||Te.swiper instanceof HTMLElement){const _e=be(),De=()=>{const Ze="string"==typeof Te.swiper?_e.querySelector(Te.swiper):Te.swiper;if(Ze&&Ze.swiper)Te.swiper=Ze.swiper,Q(),X(!0);else if(Ze){const tt=`${o.params.eventsPrefix}init`,ot=Et=>{Te.swiper=Et.detail[0],Ze.removeEventListener(tt,ot),Q(),X(!0),Te.swiper.update(
1),o.update()};Ze.addEventListener(tt,ot)}return Ze},xe=()=>{o.destroyed||De()||requestAnimationFrame(xe)};requestAnimationFrame(xe)}else Q(),X(!0)}),p("slideChange update resize observerUpdate",()=>{X()}),p("setTransition",(Te,_e)=>{const De=o.thumbs.swiper;!De||De.destroyed||De.setTransition(_e)}),p("beforeDestroy",()=>{const Te=o.thumbs.swiper;!Te||Te.destroyed||I&&Te.destroy()}),Object.assign(o.thumbs,{init:Q,update:X})},function Cs(g){let{swiper:o,extendParams:f,emit:p,once:_}=g;f({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(o,{freeMode:{onTouchStart:function I(){if(o.params.cssMode)return;const X=o.getTranslate();o.setTranslate(X),o.setTransition(0),o.touchEventsData.velocities.length=0,o.freeMode.onTouchEnd({currentPos:o.rtl?o.translate:-o.translate})},onTouchMove:function Y(){if(o.params.cssMode)return;const{touchEventsData:X,touches:Te}=o;0===X.velocities.length&&X.velocities.push({position:Te[o.isHorizontal()?"startX":"startY"],time:X.touchStartTime}),X.velocities.push({position:Te[o.isHorizontal()?"currentX":"currentY"],time:Cn()})},onTouchEnd:function Q(X){let{currentPos:Te}=X;if(o.params.cssMode)return;const{params:_e,wrapperEl:De,rtlTranslate:xe,snapGrid:Ze,touchEventsData:tt}=o,Et=Cn()-tt.touchStartTime;if(Te<-o.minTranslate())o.slideTo(o.activeIndex);else if(Te>-o.maxTranslate())o.slideTo(o.slides.length<Ze.length?Ze.length-1:o.slides.length-1);else{if(_e.freeMode.momentum){if(tt.velocities.length>1){const gn=tt.velocities.pop(),sn=tt.velocities.pop(),Gn=gn.time-sn.time;o.velocity=(gn.position-sn.position)/Gn,o.velocity/=2,Math.abs(o.velocity)<_e.freeMode.minimumVelocity&&(o.velocity=0),(Gn>150||Cn()-gn.time>300)&&(o.velocity=0)}else o.velocity=0;o.velocity*=_e.freeMode.momentumVelocityRatio,tt.velocities.length=0;let Xe=1e3*_e.freeMode.momentumRatio,gt=o.translate+o.velocity*Xe;xe&&(gt=-gt);let _n,Ut=!1;const nr=20*Math.abs(o.velocity)*_e.freeMode.momentumBounceRatio;let zn;if(gt<o.maxTranslate())_e.freeMode.momentumBounce?(gt+o.maxTranslate()<-nr&&(gt=o.maxTranslate()-nr),_n=o.maxTranslate(),Ut=!0,tt.allowMomentumBounce=!0):gt=o.maxTranslate(),_e.loop&&_e.centeredSlides&&(zn=!0);else if(gt>o.minTranslate())_e.freeMode.momentumBounce?(gt-o.minTranslate()>nr&&(gt=o.minTranslate()+nr),_n=o.minTranslate(),Ut=!0,tt.allowMomentumBounce=!0):gt=o.minTranslate(),_e.loop&&_e.centeredSlides&&(zn=!0);else if(_e.freeMode.sticky){let gn;for(let sn=0;sn<Ze.length;sn+=1)if(Ze[sn]>-gt){gn=sn;break}gt=Math.abs(Ze[gn]-gt)<Math.abs(Ze[gn-1]-gt)||"next"===o.swipeDirection?Ze[gn]:Ze[gn-1],gt=-gt}if(zn&&_("transitionEnd",()=>{o.loopFix()}),0!==o.velocity){if(Xe=xe?Math.abs((-gt-o.translate)/o.velocity):Math.abs((gt-o.translate)/o.velocity),_e.freeMode.sticky){const gn=Math.abs((xe?-gt:gt)-o.translate),sn=o.slidesSizesGrid[o.activeIndex];Xe=gn<sn?_e.speed:gn<2*sn?1.5*_e.speed:2.5*_e.speed}}else if(_e.freeMode.sticky)return void o.slideToClosest();_e.freeMode.momentumBounce&&Ut?(o.updateProgress(_n),o.setTransition(Xe),o.setTranslate(gt),o.transitionStart(!0,o.swipeDirection),o.animating=!0,Oi(De,()=>{!o||o.destroyed||!tt.allowMomentumBounce||(p("momentumBounce"),o.setTransition(_e.speed),setTimeout(()=>{o.setTranslate(_n),Oi(De,()=>{!o||o.destroyed||o.transitionEnd()})},0))})):o.velocity?(p("_freeModeNoMomentumRelease"),o.updateProgress(gt),o.setTransition(Xe),o.setTranslate(gt),o.transitionStart(!0,o.swipeDirection),o.animating||(o.animating=!0,Oi(De,()=>{!o||o.destroyed||o.transitionEnd()}))):o.updateProgress(gt),o.updateActiveIndex(),o.updateSlidesClasses()}else{if(_e.freeMode.sticky)return void o.slideToClosest();_e.freeMode&&p("_freeModeNoMomentumRelease")}(!_e.freeMode.momentum||Et>=_e.longSwipesMs)&&(p("_freeModeStaticRelease"),o.updateProgress(),o.updateActiveIndex(),o.updateSlidesClasses())}}}})},function fs(g){let _,I,Y,Q,{swiper:o,extendParams:f,on:p}=g;f({grid:{rows:1,fill:"column"}});const X=()=>{let ot=o.params.spaceBetween;return"string"==typeof ot&&ot.indexOf("%")>=0?ot=parseFloat(ot.replace("%",""))/100*o.size:"string"==typeof ot&&(ot=parseFloat(ot)),ot};p("init",()=>{Q=o.params.grid&&o.params.grid.rows>1}),p("update",()=>{const{params:ot,el:Et}=o,Xe=ot.grid&&ot.grid.rows>1;Q&&!Xe?(Et.classList.remove(`${ot.containerModifierClass}grid`,`${ot.containerModifierClass}grid-column`),Y=1,o.emitContainerClasses()):!Q&&Xe&&(Et.classList.add(`${ot.containerModifierClass}grid`),"column"===ot.grid.fill&&Et.classList.add(`${ot.containerModifierClass}grid-column`),o.emitContainerClasses()),Q=Xe}),o.grid={initSlides:ot=>{const{slidesPerView:Et}=o.params,{rows:Xe,fill:Ct}=o.params.grid,gt=o.virtual&&o.params.virtual.enabled?o.virtual.slides.length:ot.length;Y=Math.floor(gt/Xe),_=Math.floor(gt/Xe)===gt/Xe?gt:Math.ceil(gt/Xe)*Xe,"auto"!==Et&&"row"===Ct&&(_=Math.max(_,Et*Xe)),I=_/Xe},unsetSlides:()=>
1{o.slides&&o.slides.forEach(ot=>{ot.swiperSlideGridSet&&(ot.style.height="",ot.style[o.getDirectionLabel("margin-top")]="")})},updateSlide:(ot,Et,Xe)=>{const{slidesPerGroup:Ct}=o.params,gt=X(),{rows:Ut,fill:_n}=o.params.grid,nr=o.virtual&&o.params.virtual.enabled?o.virtual.slides.length:Xe.length;let zn,gn,sn;if("row"===_n&&Ct>1){const an=Math.floor(ot/(Ct*Ut)),Gn=ot-Ut*Ct*an,rn=0===an?Ct:Math.min(Math.ceil((nr-an*Ut*Ct)/Ut),Ct);sn=Math.floor(Gn/rn),gn=Gn-sn*rn+an*Ct,zn=gn+sn*_/Ut,Et.style.order=zn}else"column"===_n?(gn=Math.floor(ot/Ut),sn=ot-gn*Ut,(gn>Y||gn===Y&&sn===Ut-1)&&(sn+=1,sn>=Ut&&(sn=0,gn+=1))):(sn=Math.floor(ot/I),gn=ot-sn*I);Et.row=sn,Et.column=gn,Et.style.height=`calc((100% - ${(Ut-1)*gt}px) / ${Ut})`,Et.style[o.getDirectionLabel("margin-top")]=0!==sn?gt&&`${gt}px`:"",Et.swiperSlideGridSet=!0},updateWrapperSize:(ot,Et)=>{const{centeredSlides:Xe,roundLengths:Ct}=o.params,gt=X(),{rows:Ut}=o.params.grid;if(o.virtualSize=(ot+gt)*_,o.virtualSize=Math.ceil(o.virtualSize/Ut)-gt,o.params.cssMode||(o.wrapperEl.style[o.getDirectionLabel("width")]=`${o.virtualSize+gt}px`),Xe){const _n=[];for(let nr=0;nr<Et.length;nr+=1){let zn=Et[nr];Ct&&(zn=Math.floor(zn)),Et[nr]<o.virtualSize+Et[0]&&_n.push(zn)}Et.splice(0,Et.length),Et.push(..._n)}}}},function Ts(g){let{swiper:o}=g;Object.assign(o,{appendSlide:Ti.bind(o),prependSlide:ec.bind(o),addSlide:Pu.bind(o),removeSlide:fc.bind(o),removeAllSlides:Xo.bind(o)})},function su(g){let{swiper:o,extendParams:f,on:p}=g;f({fadeEffect:{crossFade:!1}}),Rs({effect:"fade",swiper:o,on:p,setTranslate:()=>{const{slides:Y}=o;for(let X=0;X<Y.length;X+=1){const Te=o.slides[X];let De=-Te.swiperSlideOffset;o.params.virtualTranslate||(De-=o.translate);let xe=0;o.isHorizontal()||(xe=De,De=0);const Ze=o.params.fadeEffect.crossFade?Math.max(1-Math.abs(Te.progress),0):1+Math.min(Math.max(Te.progress,-1),0),tt=Zs(0,Te);tt.style.opacity=Ze,tt.style.transform=`translate3d(${De}px, ${xe}px, 0px)`}},setTransition:Y=>{const Q=o.slides.map(X=>Ei(X));Q.forEach(X=>{X.style.transitionDuration=`${Y}ms`}),wl({swiper:o,duration:Y,transformElements:Q,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!o.params.cssMode})})},function kl(g){let{swiper:o,extendParams:f,on:p}=g;f({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const _=(X,Te,_e)=>{let De=X.querySelector(_e?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),xe=X.querySelector(_e?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");De||(De=Zr("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(_e?"left":"top")).split(" ")),X.append(De)),xe||(xe=Zr("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(_e?"right":"bottom")).split(" ")),X.append(xe)),De&&(De.style.opacity=Math.max(-Te,0)),xe&&(xe.style.opacity=Math.max(Te,0))};Rs({effect:"cube",swiper:o,on:p,setTranslate:()=>{const{el:X,wrapperEl:Te,slides:_e,width:De,height:xe,rtlTranslate:Ze,size:tt,browser:ot}=o,Et=Kl(o),Xe=o.params.cubeEffect,Ct=o.isHorizontal(),gt=o.virtual&&o.params.virtual.enabled;let _n,Ut=0;Xe.shadow&&(Ct?(_n=o.wrapperEl.querySelector(".swiper-cube-shadow"),_n||(_n=Zr("div","swiper-cube-shadow"),o.wrapperEl.append(_n)),_n.style.height=`${De}px`):(_n=X.querySelector(".swiper-cube-shadow"),_n||(_n=Zr("div","swiper-cube-shadow"),X.append(_n))));for(let zn=0;zn<_e.length;zn+=1){const gn=_e[zn];let sn=zn;gt&&(sn=parseInt(gn.getAttribute("data-swiper-slide-index"),10));let an=90*sn,Gn=Math.floor(an/360);Ze&&(an=-an,Gn=Math.floor(-an/360));const rn=Math.max(Math.min(gn.progress,1),-1);let cn=0,wn=0,gr=0;sn%4==0?(cn=4*-Gn*tt,gr=0):(sn-1)%4==0?(cn=0,gr=4*-Gn*tt):(sn-2)%4==0?(cn=tt+4*Gn*tt,gr=tt):(sn-3)%4==0&&(cn=-tt,gr=3*tt+4*tt*Gn),Ze&&(cn=-cn),Ct||(wn=cn,cn=0);const Rn=`rotateX(${Et(Ct?0:-an)}deg) rotateY(${Et(Ct?an:0)}deg) translate3d(${cn}px, ${wn}px, ${gr}px)`;rn<=1&&rn>-1&&(Ut=90*sn+90*rn,Ze&&(Ut=90*-sn-90*rn)),gn.style.transform=Rn,Xe.slideShadows&&_(gn,rn,Ct)}if(Te.style.transformOrigin=`50% 50% -${tt/2}px`,Te.style["-webkit-transform-origin"]=`50% 50% -${tt/2}px`,Xe.shadow)if(Ct)_n.style.transform=`translate3d(0px, ${De/2+Xe.shadowOffset}px, ${-De/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${Xe.shadowScale})`;else{const zn=Math.abs(Ut)-90*Math.floor(Math.abs(Ut)/90),gn=1.5-(Math.sin(2*zn*Math.PI/360)/2+Math.cos(2*zn*Math.PI/360)/2),an=Xe.shadowScale/gn;_n.style.transform=`scale3d(${Xe.shadowScale}, 1, ${an}) translate3d(0px, ${xe/2+Xe.shadowOffset}px, ${-xe/2/an}px) rotateX(-89.99deg)`}const nr=(ot.isSafari||ot.isWebView)&&ot.needPerspectiveFix?-tt/2:0;Te.style.transform=`translate3d(0px,0,${nr}px) rotateX(${Et(o.isHorizontal()?0:Ut)}deg) rotateY(${Et(o.isHorizontal()?-Ut:0)}deg)`,Te.style.setProperty("--swiper-cube-translate-z",`${nr}px`)},setTransition:X=>{const{el:Te,slides:_e}=o;if(_e.forEach(De=>{De.style.transitionDuration=`${X}ms`,De.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(xe=>{xe.style.transitionDuration=`${X}ms`})}),o.params.cubeEffect.shadow&&!o.isHorizontal()){const De=Te.querySelector(".swiper-cube-shadow");De&&(De.style.transitionDuration=`${X}ms`)}},recreateShadows:()=>{const X=o.isHorizontal();
1o.slides.forEach(Te=>{const _e=Math.max(Math.min(Te.progress,1),-1);_(Te,_e,X)})},getEffectParams:()=>o.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function Oa(g){let{swiper:o,extendParams:f,on:p}=g;f({flipEffect:{slideShadows:!0,limitRotation:!0}});const _=(X,Te)=>{let _e=o.isHorizontal()?X.querySelector(".swiper-slide-shadow-left"):X.querySelector(".swiper-slide-shadow-top"),De=o.isHorizontal()?X.querySelector(".swiper-slide-shadow-right"):X.querySelector(".swiper-slide-shadow-bottom");_e||(_e=Va("flip",X,o.isHorizontal()?"left":"top")),De||(De=Va("flip",X,o.isHorizontal()?"right":"bottom")),_e&&(_e.style.opacity=Math.max(-Te,0)),De&&(De.style.opacity=Math.max(Te,0))};Rs({effect:"flip",swiper:o,on:p,setTranslate:()=>{const{slides:X,rtlTranslate:Te}=o,_e=o.params.flipEffect,De=Kl(o);for(let xe=0;xe<X.length;xe+=1){const Ze=X[xe];let tt=Ze.progress;o.params.flipEffect.limitRotation&&(tt=Math.max(Math.min(Ze.progress,
11),-1));const ot=Ze.swiperSlideOffset;let Xe=-180*tt,Ct=0,gt=o.params.cssMode?-ot-o.translate:-ot,Ut=0;o.isHorizontal()?Te&&(Xe=-Xe):(Ut=gt,gt=0,Ct=-Xe,Xe=0),Ze.style.zIndex=-Math.abs(Math.round(tt))+X.length,_e.slideShadows&&_(Ze,tt);const _n=`translate3d(${gt}px, ${Ut}px, 0px) rotateX(${De(Ct)}deg) rotateY(${De(Xe)}deg)`;Zs(0,Ze).style.transform=_n}},setTransition:X=>{const Te=o.slides.map(_e=>Ei(_e));Te.forEach(_e=>{_e.style.transitionDuration=`${X}ms`,_e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(De=>{De.style.transitionDuration=`${X}ms`})}),wl({swiper:o,duration:X,transformElements:Te})},recreateShadows:()=>{o.slides.forEach(X=>{let Te=X.progress;o.params.flipEffect.limitRotation&&(Te=Math.max(Math.min(X.progress,1),-1)),_(X,Te)})},getEffectParams:()=>o.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!o.params.cssMode})})},function zr(g){let{swiper:o,extendParams:f,on:p}=g;f({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),Rs({effect:"coverflow",swiper:o,on:p,setTranslate:()=>{const{width:Y,height:Q,slides:X,slidesSizesGrid:Te}=o,_e=o.params.coverflowEffect,De=o.isHorizontal(),xe=o.translate,Ze=De?Y/2-xe:Q/2-xe,tt=De?_e.rotate:-_e.rotate,ot=_e.depth,Et=Kl(o);for(let Xe=0,Ct=X.length;Xe<Ct;Xe+=1){const gt=X[Xe],Ut=Te[Xe],nr=(Ze-gt.swiperSlideOffset-Ut/2)/Ut,zn="function"==typeof _e.modifier?_e.modifier(nr):nr*_e.modifier;let gn=De?tt*zn:0,sn=De?0:tt*zn,an=-ot*Math.abs(zn),Gn=_e.stretch;"string"==typeof Gn&&-1!==Gn.indexOf("%")&&(Gn=parseFloat(_e.stretch)/100*Ut);let rn=De?0:Gn*zn,cn=De?Gn*zn:0,wn=1-(1-_e.scale)*Math.abs(zn);Math.abs(cn)<.001&&(cn=0),Math.abs(rn)<.001&&(rn=0),Math.abs(an)<.001&&(an=0),Math.abs(gn)<.001&&(gn=0),Math.abs(sn)<.001&&(sn=0),Math.abs(wn)<.001&&(wn=0);const gr=`translate3d(${cn}px,${rn}px,${an}px) rotateX(${Et(sn)}deg) rotateY(${Et(gn)}deg) scale(${wn})`;if(Zs(0,gt).style.transform=gr,gt.style.zIndex=1-Math.abs(Math.round(zn)),_e.slideShadows){let Xt=gt.querySelector(De?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),Jt=gt.querySelector(De?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");Xt||(Xt=Va("coverflow",gt,De?"left":"top")),Jt||(Jt=Va("coverflow",gt,De?"right":"bottom")),Xt&&(Xt.style.opacity=zn>0?zn:0),Jt&&(Jt.style.opacity=-zn>0?-zn:0)}}},setTransition:Y=>{o.slides.map(X=>Ei(X)).forEach(X=>{X.style.transitionDuration=`${Y}ms`,X.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(Te=>{Te.style.transitionDuration=`${Y}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function au(g){let{swiper:o,extendParams:f,on:p}=g;f({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const _=Q=>"string"==typeof Q?Q:`${Q}px`;Rs({effect:"creative",swiper:o,on:p,setTranslate:()=>{const{slides:Q,wrapperEl:X,slidesSizesGrid:Te}=o,_e=o.params.creativeEffect,{progressMultiplier:De}=_e,xe=o.params.centeredSlides,Ze=Kl(o);xe&&(X.style.transform=`translateX(calc(50% - ${Te[0]/2-o.params.slidesOffsetBefore||0}px))`);for(let tt=0;tt<Q.length;tt+=1){const ot=Q[tt],Et=ot.progress,Xe=Math.min(Math.max(ot.progress,-_e.limitProgress),_e.limitProgress);let Ct=Xe;xe||(Ct=Math.min(Math.max(ot.originalProgress,-_e.limitProgress),_e.limitProgress));const gt=ot.swiperSlideOffset,Ut=[o.params.cssMode?-gt-o.translate:-gt,0,0],_n=[0,0,0];let nr=!1;o.isHorizontal()||(Ut[1]=Ut[0],Ut[0]=0);let zn={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};Xe<0?(zn=_e.next,nr=!0):Xe>0&&(zn=_e.prev,nr=!0),Ut.forEach((wn,gr)=>{Ut[gr]=`calc(${wn}px + (${_(zn.translate[gr])} * ${Math.abs(Xe*De)}))`}),_n.forEach((wn,gr)=>{let Rn=zn.rotate[gr]*Math.abs(Xe*De);_n[gr]=Rn}),ot.style.zIndex=-Math.abs(Math.round(Et))+Q.length;const gn=Ut.join(", "),sn=`rotateX(${Ze(_n[0])}deg) rotateY(${Ze(_n[1])}deg) rotateZ(${Ze(_n[2])}deg)`,Gn=Ct<0?1+(1-zn.opacity)*Ct*De:1-(1-zn.opacity)*Ct*De,rn=`translate3d(${gn}) ${sn} ${Ct<0?`scale(${1+(1-zn.scale)*Ct*De})`:`scale(${1-(1-zn.scale)*Ct*De})`}`;if(nr&&zn.shadow||!nr){let wn=ot.querySelector(".swiper-slide-shadow");!wn&&zn.shadow&&(wn=Va("creative",ot)),wn&&(wn.style.opacity=Math.min(Math.max(Math.abs(_e.shadowPerProgress?Xe*(1/_e.limitProgress):Xe),0),1))}const cn=Zs(0,ot);cn.style.transform=rn,cn.style.opacity=Gn,zn.origin&&(cn.style.transformOrigin=zn.origin)}},setTransition:Q=>{const X=o.slides.map(Te=>Ei(Te));
1X.forEach(Te=>{Te.style.transitionDuration=`${Q}ms`,Te.querySelectorAll(".swiper-slide-shadow").forEach(_e=>{_e.style.transitionDuration=`${Q}ms`})}),wl({swiper:o,duration:Q,transformElements:X,allSlides:!0})},perspective:()=>o.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!o.params.cssMode})})},function ja(g){let{swiper:o,extendParams:f,on:p}=g;f({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),Rs({effect:"cards",swiper:o,on:p,setTranslate:()=>{const{slides:Y,activeIndex:Q,rtlTranslate:X}=o,Te=o.params.cardsEffect,{startTranslate:_e,isTouched:De}=o.touchEventsData,xe=X?-o.translate:o.translate;for(let Ze=0;Ze<Y.length;Ze+=1){const tt=Y[Ze],ot=tt.progress,Et=Math.min(Math.max(ot,-4),4);let Xe=tt.swiperSlideOffset;o.params.centeredSlides&&!o.params.cssMode&&(o.wrapperEl.style.transform=`translateX(${o.minTranslate()}px)`),o.params.centeredSlides&&o.params.cssMode&&(Xe-=Y[0].swiperSlideOffset);let Ct=o.params.cssMode?-Xe-o.translate:-Xe,gt=0;const Ut=-100*Math.abs(Et);let _n=1,nr=-Te.perSlideRotate*Et,zn=Te.perSlideOffset-.75*Math.abs(Et);const gn=o.virtual&&o.params.virtual.enabled?o.virtual.from+Ze:Ze;if((gn===Q||gn===Q-1)&&Et>0&&Et<1&&(De||o.params.cssMode)&&xe<_e||(gn===Q||gn===Q+1)&&Et<0&&Et>-1&&(De||o.params.cssMode)&&xe>_e){const wn=(1-Math.abs((Math.abs(Et)-.5)/.5))**.5;nr+=-28*Et*wn,_n+=-.5*wn,zn+=96*wn,gt=-25*wn*Math.abs(Et)+"%"}if(Ct=Et<0?`calc(${Ct}px ${X?"-":"+"} (${zn*Math.abs(Et)}%))`:Et>0?`calc(${Ct}px ${X?"-":"+"} (-${zn*Math.abs(Et)}%))`:`${Ct}px`,!o.isHorizontal()){const wn=gt;gt=Ct,Ct=wn}const rn=`\n translate3d(${Ct}, ${gt}, ${Ut}px)\n rotateZ(${Te.rotate?X?-nr:nr:0}deg)\n scale(${Et<0?""+(1+(1-_n)*Et):""+(1-(1-_n)*Et)})\n `;if(Te.slideShadows){let wn=tt.querySelector(".swiper-slide-shadow");wn||(wn=Va("cards",tt)),wn&&(wn.style.opacity=Math.min(Math.max((Math.abs(Et)-.5)/.5,0),1))}tt.style.zIndex=-Math.abs(Math.round(ot))+Y.length,Zs(0,tt).style.transform=rn}},setTransition:Y=>{const Q=o.slides.map(X=>Ei(X));Q.forEach(X=>{X.style.transitionDuration=`${Y}ms`,X.querySelectorAll(".swiper-slide-shadow").forEach(Te=>{Te.style.transitionDuration=`${Y}ms`})}),wl({swiper:o,duration:Y,transformElements:Q})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!o.params.cssMode})})}]);const ya=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Ha(g){return"object"==typeof g&&null!==g&&g.constructor&&"Object"===Object.prototype.toString.call(g).slice(8,-1)&&!g.__swiper__}function Jo(g,o){const f=["__proto__","constructor","prototype"];Object.keys(o).filter(p=>
1f.indexOf(p)<0).forEach(p=>{typeof g[p]>"u"?g[p]=o[p]:Ha(o[p])&&Ha(g[p])&&Object.keys(o[p]).length>0?o[p].__swiper__?g[p]=o[p]:Jo(g[p],o[p]):g[p]=o[p]})}function al(g){return void 0===g&&(g=""),g.replace(/-[a-z]/g,o=>o.toUpperCase().replace("-",""))}const hc=g=>{if(parseFloat(g)===Number(g))return Number(g);if("true"===g||""===g)return!0;if("false"===g)return!1;if("null"===g)return null;if("undefined"!==g){if("string"==typeof g&&g.includes("{")&&g.includes("}")&&g.includes('"')){let o;try{o=JSON.parse(g)}catch(f){o=g}return o}return g}},cd=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function ca(g,o,f){const p={},_={};Jo(p,is);const I=[...ya,"on"],Y=I.map(X=>X.replace(/_/,""));I.forEach(X=>{X=X.replace("_",""),typeof g[X]<"u"&&(_[X]=g[X])});const Q=[...g.attributes];return"string"==typeof o&&typeof f<"u"&&Q.push({name:o,value:Ha(f)?{...f}:f}),Q.forEach(X=>{const Te=cd.filter(_e=>0===X.name.indexOf(`${_e}-`))[0];if(Te){const _e=al(Te),De=al(X.name.split(`${Te}-`)[1]);typeof _[_e]>"u"&&(_[_e]={}),!0===_[_e]&&(_[_e]={enabled:!0}),_[_e][De]=hc(X.value)}else{const _e=al(X.name);if(!Y.includes(_e))return;const De=hc(X.value);_[_e]&&cd.includes(X.name)&&!Ha(De)?(_[_e].constructor!==Object&&(_[_e]={}),_[_e].enabled=!!De):_[_e]=De}}),Jo(p,_),p.navigation?p.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...!0!==p.navigation?p.navigation:{}}:!1===p.navigation&&delete p.navigation,p.scrollbar?p.scrollbar={el:".swiper-scrollbar",...!0!==p.scrollbar?p.scrollbar:{}}:!1===p.scrollbar&&delete p.scrollbar,p.pagination?p.pagination={el:".swiper-pagination",...!0!==p.pagination?p.pagination:{}}:!1===p.pagination&&delete p.pagination,{params:p,passedParams:_}}const Wa=":host{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{width:100%;height:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;
1left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}
1.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;
1left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}",pc=typeof window>"u"||typeof HTMLElement>"u"?class kh{}:HTMLElement,Lc='<svg width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>\n ',pf=(g,o)=>{if(typeof CSSStyleSheet<"u"&&g.adoptedStyleSheets){const f=new CSSStyleSheet;f.replaceSync(o),g.adoptedStyleSheets=[f]}else{const f=document.createElement("style");f.rel="stylesheet",f.textContent=o,g.appendChild(f)}};class gf extends pc{constructor(){super(),this.attachShadow({mode:"open"})}static get nextButtonSvg(){return Lc}static get prevButtonSvg(){return Lc.replace("/></svg>",' transform-origin="center" transform="rotate(180)"/></svg>')}cssStyles(){return[Wa,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join("\n")}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){const o=this.slideSlots||0,f=[...this.querySelectorAll("[slot^=slide-]")].map(p=>parseInt(p.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=f.length?Math.max(...f)+1:0,this.rendered)if(this.slideSlots>o)for(let p=o;p<this.slideSlots;p+=1){const _=document.createElement("swiper-slide");_.setAttribute("part",`slide slide-${p+1}`);const I=document.createElement("slot");I.setAttribute("name",`slide-${p+1}`),_.appendChild(I),this.shadowRoot.querySelector(".swiper-wrapper").appendChild(_)}else if(this.slideSlots<o){const p=this.swiper.slides;for(let _=p.length-1;_>=0;_-=1)_>this.slideSlots&&p[_].remove()}}
1render(){if(this.rendered)return;this.calcSlideSlots();let o=this.cssStyles();this.slideSlots>0&&(o=o.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),o.length&&pf(this.shadowRoot,o),this.cssLinks().forEach(p=>{if(this.shadowRoot.querySelector(`link[href="${p}"]`))return;const I=document.createElement("link");I.rel="stylesheet",I.href=p,this.shadowRoot.appendChild(I)});const f=document.createElement("div");f.classList.add("swiper"),f.part="container",f.innerHTML=`\n <slot name="container-start"></slot>\n <div class="swiper-wrapper" part="wrapper">\n <slot></slot>\n ${Array.from({length:this.slideSlots}).map((p,_)=>`\n <swiper-slide part="slide slide-${_}">\n <slot name="slide-${_}"></slot>\n </swiper-slide>\n `).join("")}\n </div>\n <slot name="container-end"></slot>\n ${function Nc(g){return void 0===g&&(g={}),g.navigation&&typeof g.navigation.nextEl>"u"&&typeof g.navigation.prevEl>"u"}(this.passedParams)?`\n <div part="button-prev" class="swiper-button-prev">${this.constructor.prevButtonSvg}</div>\n <div part="button-next" class="swiper-button-next">${this.constructor.nextButtonSvg}</div>\n `:""}\n ${function Ns(g){return void 0===g&&(g={}),g.pagination&&typeof g.pagination.el>"u"}(this.passedParams)?'\n <div part="pagination" class="swiper-pagination"></div>\n ':""}\n ${function Js(g){return void 0===g&&(g={}),g.scrollbar&&typeof g.scrollbar.el>"u"}(this.passedParams)?'\n <div part="scrollbar" class="swiper-scrollbar"></div>\n ':""}\n `,this.shadowRoot.appendChild(f),this.rendered=!0}initialize(){var o=this;if(this.initialized)return;this.initialized=!0;const{params:f,passedParams:p}=ca(this);this.swiperParams=f,this.passedParams=p,delete this.swiperParams.init,this.render(),this.swiper=new Ma(this.shadowRoot.querySelector(".swiper"),{...f.virtual?{}:{observer:!0},...f,touchEventsTarget:"container",onAny:function(_){"observerUpdate"===_&&o.calcSlideSlots();const I=f.eventsPrefix?`${f.eventsPrefix}${_.toLowerCase()}`:_.toLowerCase();for(var Y=arguments.length,Q=new Array(Y>1?Y-1:0),X=1;X<Y;X++)Q[X-1]=arguments[X];const Te=new CustomEvent(I,{detail:Q,bubbles:"hashChange"!==_,cancelable:!0});o.dispatchEvent(Te)}})}connectedCallback(){this.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||!1===this.init||"false"===this.getAttribute("init")||this.initialize()}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||(this.swiper&&this.swiper.destroy&&this.swiper.destroy(),this.initialized=!1)}updateSwiperOnPropChange(o,f){const{params:p,passedParams:_}=ca(this,o,f);this.passedParams=_,this.swiperParams=p,(!this.swiper||this.swiper.params[o]!==f)&&function ll(g){let{swiper:o,slides:f,passedParams:p,changedParams:_,nextEl:I,prevEl:Y,scrollbarEl:Q,paginationEl:X}=g;const Te=_.filter(sn=>"children"!==sn&&"direction"!==sn&&"wrapperClass"!==sn),{params:_e,pagination:De,navigation:xe,scrollbar:Ze,virtual:tt,thumbs:ot}=o;let Et,Xe,Ct,gt,Ut,_n,nr,zn;_.includes("thumbs")&&p.thumbs&&p.thumbs.swiper&&_e.thumbs&&!_e.thumbs.swiper&&(Et=!0),_.includes("controller")&&p.controller&&p.controller.control&&_e.controller&&!_e.controller.control&&(Xe=!0),_.includes("pagination")&&p.pagination&&(p.pagination.el||X)&&(_e.pagination||!1===_e.pagination)&&De&&!De.el&&(Ct=!0),_.includes("scrollbar")&&p.scrollbar&&(p.scrollbar.el||Q)&&(_e.scrollbar||!1===_e.scrollbar)&&Ze&&!Ze.el&&(gt=!0),_.includes("navigation")&&p.navigation&&(p.navigation.prevEl||Y)&&(p.navigation.nextEl||I)&&(_e.navigation||!1===_e.navigation)&&xe&&!xe.prevEl&&!xe.nextEl&&(Ut=!0);const gn=sn=>{o[sn]&&(o[sn].destroy(),"navigation"===sn?(o.isElement&&(o[sn].prevEl.remove(),o[sn].nextEl.remove()),_e[sn].prevEl=void 0,_e[sn].nextEl=void 0,o[sn].prevEl=void 0,o[sn].nextEl=void 0):(o.isElement&&o[sn].el.remove(),_e[sn].el=void 0,o[sn].el=void 0))};_.includes("loop")&&o.isElement&&(_e.loop&&!p.loop?_n=!0:!_e.loop&&p.loop?nr=!0:zn=!0),Te.forEach(sn=>
1{if(Ha(_e[sn])&&Ha(p[sn]))Object.assign(_e[sn],p[sn]),("navigation"===sn||"pagination"===sn||"scrollbar"===sn)&&"enabled"in p[sn]&&!p[sn].enabled&&gn(sn);else{const an=p[sn];!0!==an&&!1!==an||"navigation"!==sn&&"pagination"!==sn&&"scrollbar"!==sn?_e[sn]=p[sn]:!1===an&&gn(sn)}}),Te.includes("controller")&&!Xe&&o.controller&&o.controller.control&&_e.controller&&_e.controller.control&&(o.controller.control=_e.controller.control),_.includes("children")&&f&&tt&&_e.virtual.enabled?(tt.slides=f,tt.update(!0)):_.includes("virtual")&&tt&&_e.virtual.enabled&&(f&&(tt.slides=f),tt.update(!0)),_.includes("children")&&f&&_e.loop&&(zn=!0),Et&&ot.init()&&ot.update(!0),Xe&&(o.controller.control=_e.controller.control),Ct&&(o.isElement&&(!X||"string"==typeof X)&&(X=document.createElement("div"),X.classList.add("swiper-pagination"),X.part.add("pagination"),o.el.appendChild(X)),X&&(_e.pagination.el=X),De.init(),De.render(),De.update()),gt&&(o.isElement&&(!Q||"string"==typeof Q)&&(Q=document.createElement("div"),Q.classList.add("swiper-scrollbar"),Q.part.add("scrollbar"),o.el.appendChild(Q)),Q&&(_e.scrollbar.el=Q),Ze.init(),Ze.updateSize(),Ze.setTranslate()),Ut&&(o.isElement&&((!I||"string"==typeof I)&&(I=document.createElement("div"),I.classList.add("swiper-button-next"),I.innerHTML=o.hostEl.constructor.nextButtonSvg,I.part.add("button-next"),o.el.appendChild(I)
1),(!Y||"string"==typeof Y)&&(Y=document.createElement("div"),Y.classList.add("swiper-button-prev"),Y.innerHTML=o.hostEl.constructor.prevButtonSvg,Y.part.add("button-prev"),o.el.appendChild(Y))),I&&(_e.navigation.nextEl=I),Y&&(_e.navigation.prevEl=Y),xe.init(),xe.update()),_.includes("allowSlideNext")&&(o.allowSlideNext=p.allowSlideNext),_.includes("allowSlidePrev")&&(o.allowSlidePrev=p.allowSlidePrev),_.includes("direction")&&o.changeDirection(p.direction,!1),(_n||zn)&&o.loopDestroy(),(nr||zn)&&o.loopCreate(),o.update()}({swiper:this.swiper,passedParams:this.passedParams,changedParams:[al(o)],..."navigation"===o&&_[o]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},..."pagination"===o&&_[o]?{paginationEl:".swiper-pagination"}:{},..."scrollbar"===o&&_[o]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(o,f,p){this.initialized&&("true"===f&&null===p&&(p=!1),this.updateSwiperOnPropChange(o,p))}static get observedAttributes(){return ya.filter(f=>f.includes("_")).map(f=>f.replace(/[A-Z]/g,p=>`-${p}`).replace("_","").toLowerCase())}}ya.forEach(g=>{"init"!==g&&(g=g.replace("_",""),Object.defineProperty(gf.prototype,g,{configurable:!0,get(){return(this.passedParams||{})[g]},set(o){this.passedParams||(this.passedParams={}),this.passedParams[g]=o,this.initialized&&this.updateSwiperOnPropChange(g,o)}}))});typeof window<"u"&&(window.SwiperElementRegisterParams=g=>{ya.push(...g)});var $c=u(8934),lu=u(2439),gg=u(3696),mf=u(2813),Bh=u(3507),ud=u(8250),vf=u(7467);let kc=(()=>{var g;class o{constructor(){}initialize$(){return this.setTextZoom$()}setTextZoom$(){return(0,Vo.of)(1)}}return(g=o).\u0275fac=function(p){return new(p||g)},g.\u0275prov=s.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}),o})();var cu=u(5267),dd=u(4311);const Uh=(0,Ge.F3)("ScreenOrientation",{web:()=>u.e(9061).then(u.bind(u,9061)).then(g=>new g.ScreenOrientationWeb)});var Vh=u(3575),fd=u(6198);let hd=(()=>{var g;class o{constructor(p,_){this.screensizeService=p,this.deviceService=_,this.shouldBeLocked$=(0,ls.z)([this.deviceService.isMobile$,this.screensizeService.isMax("sm")]).pipe((0,jo.T)(([I,Y])=>I&&Y))}lock$(){return this.shouldBeLocked$.pipe((0,on.Z)(p=>p?(0,Ta.H)(Uh.lock({orientation:"portrait"}).then(()=>!0)):this.unlock$()),(0,us.W)(p=>(console.error("Error locking the screen orientation",p),(0,Vo.of)(!1))))}unlock$(){return(0,Ta.H)(Uh.unlock().then(()=>!0)).pipe((0,us.W)(p=>(console.error("Error unlocking the screen orientation",p),(0,Vo.of)(!1))))}}return(g=o).\u0275fac=function(p){return new(p||g)(s.KVO(Vh.P),s.KVO(fd.g))},g.\u0275prov=s.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}),o})();var uu=u(4985),Ru=u(7788),pd=u(8093),cl=u(5954),gd=u(1451),md=u(5104);let yf=(()=>{var g;class o{constructor(p){this.liveUpdateService=p}close(){this.liveUpdateService.isUpdateModalDismissed$.next(!0)}}return(g=o).\u0275fac=function(p){return new(p||g)(s.rXU(cl.l))},g.\u0275cmp=s.VBU({type:g,selectors:[["app-live-update-indicator"]],decls:5,vars:10,consts:[[1,"container"],[3,"onDecline","progress","onAccept$","allowDecline"]],template:function(p,_){1&p&&(s.j41(0,"div",0),s.nI1(1,"async"),s.nI1(2,"async"),s.j41(3,"app-live-update-indicator-inner",1),s.nI1(4,"async"),s.bIt("onDecline",function(){return _.close()}),s.k0s()()),2&p&&(s.Y8G("@openClose",!s.bMT(1,4,_.liveUpdateService.isUpdateModalDismissed$)&&s.bMT(2,6,_.liveUpdateService.progress$)?"open":"closed"),s.R7$(3),s.Y8G("progress",s.bMT(4,8,_.liveUpdateService.progress$))("onAccept$",_.liveUpdateService.reload$())("allowDecline",!0))},dependencies:[md.o,w.Jj],styles:[".container[_ngcontent-%COMP%]{background-color:var(--app-color-little-transparent);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-radius:var(--card-border-radius);min-width:300px;width:calc(100% - 32px);max-width:500px;position:fixed;margin-top:64px;top:0;left:50%;transform:translate(-50%);box-shadow:rgba(100,100,111,.2) 0 7px 29px}"],data:{animation:[(0,L.hZ)("openClose",[(0,L.wk)("open",(0,L.iF)({transform:"translate(-50%, 0)"})),(0,L.wk)("closed",(0,L.iF)({transform:"translate(-50%, -200%)"})),(0,L.kY)("open =>
1 closed",[(0,L.i0)("0.6s cubic-bezier(0,.89,.49,1.09)")]),(0,L.kY)("* => open",[(0,L.i0)("0.6s cubic-bezier(0,.89,.49,1.04)")])])]}}),o})();var _f=u(3412),vd=u(2709),jh=u(675),Ls=u(1367),Nu=u(5514),Fc=u(7786),mo=u(3726);let gc=(()=>{var g;class o{constructor(){this.isConnected$=(0,Fc.h)((0,Vo.of)(null),(0,mo.R)(window,"online"),(0,mo.R)(window,"offline")).pipe((0,jo.T)(()=>navigator.onLine))}}return(g=o).\u0275fac=function(p){return new(p||g)},g.\u0275prov=s.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}),o})();const Il=["template"];function jr(g,o){1&g&&(s.j41(0,"ion-fab",2,0)(2,"ion-fab-button",3),s.nrm(3,"i",4),s.k0s(),s.nrm(4,"ion-toast",5),s.k0s()),2&g&&(s.R7$(4),s.Y8G("duration",3e3))}let Lu=(()=>{var g;class o{constructor(p,_){this.networkStatusService=p,this.viewContainerRef=_,this.template=null,this.isConnected$=this.networkStatusService.isConnected$}ngAfterViewInit(){setTimeout(()=>{this.template&&this.viewContainerRef.createEmbeddedView(this.template)})}}return(g=o).\u0275fac=function(p){return new(p||g)(s.rXU(gc),s.rXU(s.c1b))},g.\u0275cmp=s.VBU({type:g,selectors:[["app-network-status-button"]],viewQuery:function(p,_){if(1&p&&s.GBs(Il,7),2&p){let I;s.mGM(I=s.lsd())&&(_.template=I.first)}},decls:2,vars:3,consts:[["template",""],["slot","fixed","horizontal","start","vertical","top","class","fab",4,"ngIf"],["slot","fixed","horizontal","start","vertical","top",1,"fab"],["color","danger","size","small","id","open-toast"],[1,"fa","fa-wifi","text-white","fa-lg"],["trigger","open-toast","color","danger","message","Keine Internetverbindung","position","top","positionAnchor","header",3,"duration"]],template:function(p,_){1&p&&(s.DNE(0,jr,5,1,"ion-fab",1),s.nI1(1,"async")),2&p&&s.Y8G("ngIf",!1===s.bMT(1,1,_.isConnected$))},dependencies:[w.bT,Ao.Q8,Ao.YW,Ao.op,w.Jj],styles:["ion-fab[_ngcontent-%COMP%]{margin-top:var(--ion-safe-area-bottom, 0)}ion-toast[_ngcontent-%COMP%]{text-align:center}"]}),o})();function mc(g,o){1&g&&s.nrm(0,"ion-router-outlet",9)}function Pa(g,o){if(1&g&&(s.j41(0,"div",11),s.nrm(1,"app-icon",12),s.j41(2,"h6"),s.EFF(3,"Biometrische Authentifikation fehlgeschlagen"),s.k0s(),s.nrm(4,"app-button",13)(5,"app-button",14),s.k0s()),2&g){const f=s.XpG(3);s.R7$(4),s.Y8G("click$",f.biometricsService.retryBiometricCheck$()),s.R7$(),s.Y8G("click$",f.authenticationService.logout$())}}function xa(g,o){if(1&g&&(s.qex(0),s.DNE(1,Pa,6,2,"div",10),s.nI1(2,"async"),s.bVm()),2&g){const f=s.XpG(2);s.R7$(),s.Y8G("ngIf",s.bMT(2,1,f.biometricsService.biometricCheckFailed$))}}function yd(g,o){1&g&&s.nrm(0,"app-live-update-indicator")}function $u(g,o){if(1&g&&s.nrm(0,"img",16),2&g){const f=s.XpG().ngIf,p=s.XpG(2);s.AVh("hide",!p.isInitializing||p.hideCustomSplash),s.FS9("src",f,s.B4B)}}function qs(g,o){if(1&g&&(s.qex(0),s.DNE(1,$u,1,3,"img",15),s.bVm()),2&g){const f=o.ngIf;s.R7$(),s.Y8G("ngIf",f)}}function za(g,o){if(1&g&&(s.qex(0),s.j41(1,"ion-app",3),s.nI1(2,"async"),s.DNE(3,mc,1,0,"ion-router-outlet",4),s.eu8(4,5),s.k0s(),s.DNE(5,xa,3,3,"ng-container",6),s.nI1(6,"async"),s.nrm(7,"app-network-status-button"),s.DNE(8,yd,1,0,"app-live-update-indicator",6),s.j41(9,"div",7)(10,"div",8),s.DNE(11,qs,2,1,"ng-container",6),s.nI1(12,"async"),s.k0s()(),s.bVm()),2&g){const f=s.XpG(),p=s.sdS(3);s.R7$(),s.AVh("bg-primary",f.colorService.mainBackGroundActive)("--bg-primary",f.colorService.mainBackGroundActive)("blurred",s.bMT(2,15,f.isAppBlurred$)),s.R7$(2),s.Y8G("ngIf",f.isInitialized),s.R7$(),s.Y8G("ngTemplateOutlet",p),s.R7$(),s.Y8G("ngIf",s.bMT(6,17,f.isAppBlurred$)),s.R7$(3),s.Y8G("ngIf",f.showLiveUpdateIndicator$),s.R7$(),s.AVh("hide",!f.isInitializing||f.hideCustomSplash),s.R7$(),s.AVh("hide",!f.isInitializing||f.hideCustomSplash),s.R7$(),s.Y8G("ngIf",s.bMT(12,19,f.brandingService.splash$))}}function Ef(g,o){1&g&&s.nrm(0,"ion-router-outlet",9)}function _d(g,o){if(1&g&&(s.j41(0,"ion-app",3),s.DNE(1,Ef,1,0,"ion-router-outlet",4),s.eu8(2,5),s.k0s()),2&g){const f=s.XpG(),p=s.sdS(3);s.R7$(),s.Y8G("ngIf",f.isInitialized),s.R7$(),s.Y8G("ngTemplateOutlet",p)}}function Cf(g,o){if(1&g&&(s.j41(0,"p",24),s.EFF(1),s.k0s()),2&g){const f=s.XpG(3);
1s.R7$(),s.SpI("Grund: ",f.initFailedCause,"")}}function Bc(g,o){if(1&g){const f=s.RV6();s.j41(0,"div",23)(1,"div",19)(2,"div")(3,"h1"),s.EFF(4,"Fehler"),s.k0s(),s.j41(5,"p",24),s.EFF(6," Die App konnte nicht gestartet werden. Bitte versuchen Sie die App neu zu laden oder versuchen Sie es sp\xe4ter erneut. "),s.k0s(),s.DNE(7,Cf,2,1,"p",25),s.k0s(),s.j41(8,"app-button",26),s.bIt("onClick",function(){s.eBV(f);const _=s.XpG(2);return s.Njj(_.reload())}),s.k0s()(),s.j41(9,"div",27)(10,"small",28),s.EFF(11," Hinweis: Wenn Sie uns diesen Fehler melden m\xf6chten, \xfcbermitteln Sie uns gerne ebenfalls die Versions-Information, die Sie finden, wenn Sie auf die Versionsnummer klicken. "),s.k0s(),s.nrm(12,"app-version-tag"),s.k0s()()}if(2&g){const f=s.XpG(2);s.R7$(7),s.Y8G("ngIf",f.initFailedCause)}}function Ed(g,o){if(1&g&&s.nrm(0,"img",30),2&g){const f=s.XpG().ngIf;s.Y8G("appImgPreloader",f)}}function ku(g,o){if(1&g&&(s.qex(0),s.DNE(1,Ed,1,1,"img",29),s.bVm()),2&g){const f=o.ngIf;s.R7$(),s.Y8G("ngIf",f)}}function Fu(g,o){if(1&g&&(s.j41(0,"p",31),s.EFF(1),s.k0s()),2&g){const f=s.XpG(2);s.R7$(),s.SpI("",f.loadingText,"\xa0\u2026")}}function ul(g,o){if(1&g&&(s.j41(0,"div",7),s.DNE(1,Bc,13,1,"div",17),s.j41(2,"div",18)(3,"div",19)(4,"div",20),s.DNE(5,ku,2,1,"ng-container",6),s.nI1(6,"async"),s.nrm(7,"span",21),s.k0s(),s.DNE(8,Fu,2,1,"p",22),s.k0s()()()),2&g){const f=s.XpG();s.AVh("hide",!f.initFailed&&!f.isInitializing),s.R7$(),s.Y8G("ngIf",f.initFailed),s.R7$(),s.AVh("hide",!f.isInitializing),s.R7$(3),s.Y8G("ngIf",s.bMT(6,7,f.brandingService.logo$)),s.R7$(3),s.Y8G("ngIf",f.loadingText)}}typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",gf),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",class pg extends pc{constructor(){super(),this.attachShadow({mode:"open"})}render(){const o=this.lazy||""===this.getAttribute("lazy")||"true"===this.getAttribute("lazy");if(pf(this.shadowRoot,"::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}::slotted(.swiper-slide-shadow){background:rgba(0,0,0,.15)}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear;width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-zoom-container){width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-width:100%;max-height:100%;object-fit:contain}"),this.shadowRoot.appendChild(document.createElement("slot")),o){const f=document.createElement("div");f.classList.add("swiper-lazy-preloader"),f.part.add("preloader"),this.shadowRoot.appendChild(f)}}initialize(){this.render()}connectedCallback(){this.initialize()}}));
1class qo extends Error{constructor(){super(...arguments),this.name="UnhealthyApiError"}}let Ci=(()=>{var g;class o{get initFailed(){return!this.isInitializing&&!this.isInitialized}constructor(p,_,I,Y,Q,X,Te,_e,De,xe,Ze,tt,ot,Et,Xe,Ct,gt,Ut,_n,nr){this.router=p,this.routerHistoryService=_,this.navController=I,this.authStateService=Y,this.biometricsService=Q,this.identityInitializationService=X,this.alertService=Te,this.platform=_e,this.startupConfigurationService=De,this.storageService=xe,this.textZoomService=Ze,this.translate=tt,this.brandingService=ot,this.colorService=Et,this.screenOrientationService=Xe,this.tokenService=Ct,this.authenticationService=gt,this.healthRepositoryService=Ut,this.liveUpdateService=_n,this.themeModeService=nr,this.isInitializing=!0,this.hideCustomSplash=!1,this.isInitialized=!1,this.showLiveUpdateIndicator$=(0,ls.z)([this.liveUpdateService.isEnabled$,this.authStateService.isLoggedIn$]).pipe((0,jo.T)(([zn,gn])=>zn&&!gn)),this.isAppBlurred$=this.biometricsService.shouldAppBeVisible$.pipe((0,ha.F)(),(0,jo.T)(zn=>!zn)),console.info("AppComponent: Created!")}ngOnInit(){console.info("AppComponent: Initializing ..."),this.translate.setDefaultLang("de"),this.routerHistoryService.loadRouting(),this.checkLoginPerUrlRefreshToken(),this.checkLoginPerUrlApiKey(),(0,Ta.H)(this.platform.ready()).pipe((0,ys.M)(p=>{console.info("AppComponent: Platform ready:",p),setTimeout(()=>{this.loadingText||(this.loadingText="Einen Moment Geduld bitte"),this.hideCustomSplash=!0,vt.hide()},5e3)}),(0,on.Z)(()=>(0,ls.z)([this.liveUpdateService.isEnabled$,this.storageService.getBool$($c.w.liveUpdateAlreadyLoaded),this.storageService.get$($c.w.liveUpdateID)]).pipe((0,pa.s)(1),(0,on.Z)(([p,_,I])=>{let Y=!_;return I&&(Y=!1),p&&Y?(this.liveUpdateService.progress$.subscribe(Q=>{this.loadingText=null===Q?"Einen Moment Geduld bitte, es wird nach Updates gesucht":1===Q?"App erfolgreich aktualisiert, bitte warten bis die App neu geladen wird":`App wird aktualisiert (${Math.round(100*Q)}%)`}),this.hideCustomSplash=!0,vt.hide(),this.liveUpdateService.checkAndLoadUpdate$().pipe((0,Hn.w)(3e4),(0,us.W)(()=>(0,Vo.of)(!1)),(0,on.Z)(Q=>Q?this.liveUpdateService.reload$():(0,Vo.of)(void 0)))):(this.liveUpdateService.checkAndLoadUpdate$().pipe((0,pa.s)(1)).subscribe(),(0,Vo.of)(void 0))}))),(0,ys.M)(()=>{setTimeout(()=>{this.loadingText="Entschuldigen Sie, das dauert sonst nicht so lange"},15e3),setTimeout(()=>{this.loadingText="Hier liegt wahrscheinlich ein Problem vor"},3e4),setTimeout(()=>{if(this.isInitializing)throw new Error("Initialization Timeout")},6e4)}),(0,on.Z)(()=>this.startupConfigurationService.initialize$().pipe((0,yi.L)({delay:(p,_)=>(console.error("AppComponent: Initializing Startup Configuration Service failed!",p),this.healthRepositoryService.isHealthy$().pipe((0,on.Z)(I=>I?_<5?(0,Zi.O)(1e3):_<6?(0,Zi.O)(5e3):(console.error("AppComponent: Aborting configuration fetching as the retry count limit is exceeded"),(0,Hr.$)(()=>p)):(0,Hr.$)(()=>new qo)))),resetOnSuccess:!0}))),(0,ys.M)(()=>{this.startBackgroundLogout(),setTimeout(()=>{vt.hide()},300)}),(0,on.Z)(()=>this.identityInitializationService.initialize$()),(0,on.Z)(()=>(0,ls.z)([this.authStateService.isLoggedIn$,this.textZoomService.initialize$(),this.screenOrientationService.lock$(),this.themeModeService.setThemeModeByMyself$()])),(0,E.$)(),(0,on.Z)(p=>p?this.authenticationService.isOnPublicPage?(0,Ta.H)(this.router.navigate(["/"],{replaceUrl:!0})):(0,Vo.of)(!0):this.authenticationService.redirectToLogin$()),(0,ys.M)(()=>{this.isInitialized=!0}),(0,Li.c)(500),(0,y.J)(),(0,us.W)(p=>{this.isInitialized=!1,console.error("AppComponent: Init failed",p);const _="Server nicht erreichbar";return p instanceof qo?(this.initFailedCause=_,(0,Vo.of)(void 0)):this.healthRepositoryService.isHealthy$().pipe((0,ys.M)(I=>{I?p instanceof lu.t&&(this.initFailedCause="Konfiguration konnte nicht geladen werden"):this.initFailedCause=_}))}),(0,ys.M)(()=>{this.isInitializing=!1,vt.hide()})).subscribe()}startBackgroundLogout(){return this.router.events.pipe((0,Nl.p)(p=>p instanceof On.Z),(0,on.Z)(()=>(0,ls.z)([this.tokenService.accessToken$,this.tokenService.isRefreshTokenAvailable$])),(0,on.Z)(([p,_])=>!p||_?(0,Vo.of)(void 0):this.authenticationService.logout$({automaticLogoutType:"session-expired"})),(0,us.W)(p=>(console.error("AppComponent: Error handling router events",p),(0,Vo.of)(void 0)))).subscribe()}reload(){try{window.location.reload(!0)}catch(p){window.location.reload()}}checkLoginPerUrlRefreshToken(){this.checkLoginPerAnchor("refreshToken",p=>this.authenticationService.loginWithRefreshToken$(p)).subscribe()}checkLoginPerUrlApiKey(){var p;null!==(p=Us.c.featureFlags)&&void 0!==p&&p.allowApiKeyLogin&&this.checkLoginPerAnchor("apiKey",_=>this.authenticationService.loginWithApiKey$(_)).subscribe()}checkLoginPerAnchor(p,_){return this.router.events.pipe((0,Nl.p)(I=>I.url&&I.url.includes("#"+p)),(0,v.B)(1e3),(0,on.Z)(I=>{const Y=new RegExp(`#${p}=([^&]+)`),Q=I.url.match(Y);
1if(!Q)return(0,Vo.of)(1);const X=Q[1];return this.authenticationService.logout$({preventRedirectToLogin:!0,preventReturnUrl:!0}).pipe((0,on.Z)(()=>_(X)),(0,on.Z)(Te=>Te.refreshToken.isPasswordChangeRequired?this.alertService.info$({header:"Anmelden nicht m\xf6glich",message:"Eine Passwort\xe4nderung ist notwendig. Diese kann \xfcber diesen Weg der Anmeldung nicht durchgef\xfchrt werden. Bitte nutzen sie E-Mail und Passwort oder den QR-Code."}):(0,Ta.H)(this.navController.navigateRoot("/",{replaceUrl:!0,preserveFragment:!1})).pipe((0,ys.M)(()=>window.location.reload()))),(0,us.W)(Te=>(console.error("AppComponent: Login via anchor "+p+" failed:",Te),this.authenticationService.logout$())))}),(0,us.W)(I=>(console.error("AppComponent: Initiating login via anchor "+p+" failed:",I),(0,Vo.of)(1))))}}return(g=o).\u0275fac=function(p){return new(p||g)(s.rXU(On.Ix),s.rXU(gg.V),s.rXU(Vr.q9),s.rXU(A.T),s.rXU(mf.Z),s.rXU(Bh.w),s.rXU(ud.u),s.rXU(Vr.OD),s.rXU(lu.d),s.rXU(vf.n),s.rXU(kc),s.rXU(Go.c$),s.rXU(cu.X),s.rXU(dd.l),s.rXU(hd),s.rXU(uu.B),s.rXU(Ru.k),s.rXU(pd.m),s.rXU(cl.l),s.rXU(gd.A))},g.\u0275cmp=s.VBU({type:g,selectors:[["app-root"]],decls:4,vars:2,consts:[["loadingAndErrorWrapper",""],[4,"appPlatform"],["id","ion-app",4,"appPlatform"],["id","ion-app"],["id","base-modal-anchor",4,"ngIf"],[3,"ngTemplateOutlet"],[4,"ngIf"],[1,"wrapper"],[1,"splash-container"],["id","base-modal-anchor"],["class","failed-biometric-container",4,"ngIf"],[1,"failed-biometric-container"],["name","fa fa-fingerprint","size","large"],["color","primary","text","Erneut versuchen",3,"click$"],["color","plain","text","Abmelden",3,"click$"],["alt","","class","logo-big","draggable","false",3,"src","hide",4,"ngIf"],["alt","","draggable","false",1,"logo-big",3,"src"],["class","error-container",4,"ngIf"],[1,"loading-container"],[1,"content-container"],[1,"spinner-container"],[1,"spinner"],["class","loading-text muted-text",4,"ngIf"],[1,"error-container"],[1,"muted-text"],["class","muted-text",4,"ngIf"],["text","Neu Laden","fill","outline","color","primary",1,"ion-margin-top",3,"onClick"],[1,"version-tag-container"],[1,"debug-hint","muted-text"],["defaultImage","","alt","","class","logo","draggable","false",3,"appImgPreloader",4,"ngIf"],["defaultImage","","alt","","draggable","false",1,"logo",3,"appImgPreloader"],[1,"loading-text","muted-text"]],template:function(p,_){1&p&&s.DNE(0,za,13,21,"ng-container",1)(1,_d,3,2,"ion-app",2)(2,ul,9,9,"ng-template",null,0,s.C5r),2&p&&(s.Y8G("appPlatform","mobile"),s.R7$(),s.Y8G("appPlatform","web"))},dependencies:[w.bT,w.T3,Ao.U1,Ao.Rg,yf,_f.M,vd.Q,jh.B,Ls.R,Nu.p,Lu,w.Jj],styles:[".wrapper[_ngcontent-%COMP%]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1000;-webkit-user-select:none;-moz-user-select:none;user-select:none}.wrapper.hide[_ngcontent-%COMP%]{pointer-events:none}.loading-container[_ngcontent-%COMP%], .splash-container[_ngcontent-%COMP%], .error-container[_ngcontent-%COMP%]{height:100%;width:100%;position:absolute;top:0;right:0;bottom:0;left:0}.loading-container[_ngcontent-%COMP%], .splash-container[_ngcontent-%COMP%]{pointer-events:none}.error-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{margin-top:auto}.error-container[_ngcontent-%COMP%] .version-tag-container[_ngcontent-%COMP%]{margin-top:auto;display:flex;flex-direction:column;align-items:center;align-content:center}.error-container[_ngcontent-%COMP%] .version-tag-container[_ngcontent-%COMP%] .debug-hint[_ngcontent-%COMP%]{display:block;text-align:center;max-width:50ch}.error-container[_ngcontent-%COMP%] .version-tag-container[_ngcontent-%COMP%] app-version-tag[_ngcontent-%COMP%]{opacity:.25}.loading-container[_ngcontent-%COMP%], .error-container[_ngcontent-%COMP%]{background-color:var(--card-background);display:flex;flex-direction:column;place-content:center;place-items:center;padding:1rem}.loading-container.hide[_ngcontent-%COMP%], .error-container.hide[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_bg-animation-fade .1s forwards}@keyframes _ngcontent-%COMP%_bg-animation-fade{0%{opacity:100%}to{opacity:0%}}.loading-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%], .error-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;place-content:center;place-items:center;text-align:center;width:100%;position:relative}.loading-container[_ngcontent-%COMP%] .spinner-container[_ngcontent-%COMP%], .error-container[_ngcontent-%COMP%] .spinner-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;place-content:center;place-items:center;gap:2rem;max-width:100%;
1width:clamp(100px,30vw,200px);height:auto;aspect-ratio:1;overflow:hidden;line-height:1;position:relative;border-radius:50%}.loading-container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .loading-container[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%], .error-container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .error-container[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%]{border-radius:50%;width:100%;height:100%;display:inline-block;box-sizing:border-box}.loading-container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .error-container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{object-fit:cover;object-position:center;padding:calc(clamp(1px,1vw,3px)*4);overflow:hidden}.loading-container[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%], .error-container[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%]{position:absolute;border:clamp(1px,1vw,3px) solid var(--app-color-medium);border-bottom-color:transparent;animation:_ngcontent-%COMP%_spinner-rotation .75s linear infinite}@keyframes _ngcontent-%COMP%_spinner-rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-container[_ngcontent-%COMP%] .muted-text[_ngcontent-%COMP%], .error-container[_ngcontent-%COMP%] .muted-text[_ngcontent-%COMP%]{opacity:.5}.loading-container[_ngcontent-%COMP%] .loading-text[_ngcontent-%COMP%], .error-container[_ngcontent-%COMP%] .loading-text[_ngcontent-%COMP%]{position:absolute;top:100%;margin-top:2em;max-width:50ch;line-height:1.1}.splash-container[_ngcontent-%COMP%]{background-color:#000;animation:_ngcontent-%COMP%_bg-animation-show .5s forwards}.splash-container.hide[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_bg-animation-slide-up 1.8s forwards;background-color:var(--app-color-primary)}@keyframes _ngcontent-%COMP%_bg-animation-show{0%{background-color:#000}to{background-color:var(--app-color-primary)}}@keyframes _ngcontent-%COMP%_bg-animation-slide-up{0%{transform:translate(0)}40%{transform:translate(0)}75%{transform:translateY(-250%)}to{transform:translateY(-250%)}}.splash-container[_ngcontent-%COMP%] .logo-big[_ngcontent-%COMP%]{opacity:100%;height:calc(100% + 100px);width:100%;transform:translateY(-50px);object-fit:cover;animation:_ngcontent-%COMP%_logo-animation-show .5s forwards}@keyframes _ngcontent-%COMP%_logo-animation-show{0%{opacity:0%}to{opacity:100%}}.splash-container[_ngcontent-%COMP%] .logo-big.hide[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_logo-animation-hide 1.5s forwards;opacity:100%}@keyframes _ngcontent-%COMP%_logo-animation-hide{0%{transform:translateY(-50px)}50%{transform:translate(0)}75%{transform:translateY(-300%)}to{transform:translateY(-300%)}}.blurred[_ngcontent-%COMP%]{filter:blur(20px);pointer-events:none}.failed-biometric-container[_ngcontent-%COMP%]{top:0;right:0;bottom:0;left:0;position:fixed;display:flex;flex-direction:column;place-content:center;place-items:center;gap:1rem}"]}),o})();var du=u(5538),fu=u(8423),bf=u(3653);const mg=JSON.parse('{"UU":"customer-app"}');var Ga=u(610);let Df=(()=>{var g;class o{constructor(p,_){this.authenticationService=p,this.tokenService=_}intercept(p,_){if(!p.url.includes(Us.c.baseUrl))return _.handle(p).pipe((0,us.W)(Q=>this.handleError$(Q)));const I=(0,Ga._)(Us.c.baseUrl,Us.c.basePath);return p.url.includes(`${I}/auth`)&&!p.url.includes("sso")||p.url.includes(`${I}/terms`)||p.url.includes(`${I}/health`)||p.url.includes("customer-app-startup-configuration")&&!p.url.match(/.+\/\d+\/customer-app-startup-configuration$/)?_.handle(this.createUnauthenticatedRequest(p)).pipe((0,us.W)(Q=>this.handleError$(Q))):this.tokenService.accessToken$.pipe((0,on.Z)(Q=>{if(null===Q){const X=new Error("Could not obtain valid token for: "+p.url);return console.error("AuthInterceptor: Error while accessing token",X),p.url.includes("account-contact-details")?(0,Hr.$)(()=>X):this.authenticationService.logout$({automaticLogoutType:"session-expired"}).pipe((0,on.Z)(()=>(0,Hr.$)(()=>X)))}return _.handle(this.createAuthenticatedRequest(p,Q))}),(0,us.W)(Q=>this.handleError$(Q,p,_)))}createUnauthenticatedRequest(p){const _={"X-Client-Version":bf.rE,"X-Client-Name":mg.UU};return Us.c.production&&(_["X-Api-Version"]="2"),p.clone({setHeaders:_})}createAuthenticatedRequest(p,_){return this.createUnauthenticatedRequest(p).clone({setHeaders:{Authorization:`Bearer ${_}`}})}handleError$(p,_,I){return 0===p.status&&this.tokenService.scope.includes("change_password")?this.authenticationService.logout$({automaticLogoutType:"change-password"}).pipe((0,on.Z)(()=>this.logGenericError$(p))):this.logGenericError$(p)}logGenericError$(p){let _;var I;return console.error("AuthInterceptor: Error in http request",p),_=p.error instanceof ErrorEvent?{status:p.status,message:`client-side Error: ${p.error.message}`,errorObject:null!==(I=null==p?void 0:p.error)&&void 0!==I?I:p}:{status:p.status,message:`server-side Error Code: ${p.status}\nMessage: ${p.message}`,errorObject:p.error},(0,Hr.$)(()=>_)}}return(g=o).\u0275fac=function(p){return new(p||g)(s.KVO(Ru.k),s.KVO(uu.B))},g.\u0275prov=s.jDH({token:g,factory:g.\u0275fac}),o})();var Sf=u(7376),wf=u(5430);const vc=[Ga.y.POST,Ga.y.PUT,Ga.y.PATCH,Ga.y.DELETE],Tf_method=Ga.y.POST,Hh=[/.*assets\/i18n.*/,/.*files\/.*\/thumbn
1ail(\/|$).*/,/.*files\/.*\/download(\/|$).*/,/.*health.*/];let If=(()=>{var g;class o{constructor(p){this.cacheService=p}intercept(p,_){const I=p.method===Tf_method&&p.url.endsWith("/search");if(vc.includes(p.method)&&!I){const Y=(0,Ga._)(Us.c.baseUrl,Us.c.basePath),Q=new RegExp(`^${Y.replace(/\./g,"\\.")}/([^/]+)/.*$`);for(const X of this.cacheService.keys()){const Te=X.match(Q);Te&&p.url.includes(Te[1])&&this.cacheService.remove(X)}}return p.method!==Ga.y.GET||Hh.some(Y=>Y.test(p.url))?I?this.handleCachedRoute(p.urlWithParams+JSON.stringify(p.body),p,_):_.handle(p):this.handleCachedRoute(p.urlWithParams,p,_)}handleCachedRoute(p,_,I){try{const Y=Sf.cloneDeep(this.cacheService.get(p));if(Y&&Y instanceof T.cS)return(0,Vo.of)(new T.cS({body:Y.body}))}catch(Y){console.error("Error while trying to get cached response",Y)}return I.handle(_).pipe((0,ys.M)(Y=>{if(Y instanceof T.cS){const Q=Y.headers.get("Cache-Control");Y.ok&&(!Q||!Q.includes("no-store")&&!Q.includes("no-cache"))&&this.cacheService.set(p,Y)}}))}}return(g=o).\u0275fac=function(p){return new(p||g)(s.KVO(wf._))},g.\u0275prov=s.jDH({token:g,factory:g.\u0275fac}),o})(),Mf=(()=>{var g;class o{constructor(p){this.networkStatusService=p}intercept(p,_){return navigator.onLine?_.handle(p):this.networkStatusService.isConnected$.pipe((0,Nl.p)(I=>I),(0,on.Z)(()=>_.handle(p)))}}return(g=o).\u0275fac=function(p){return new(p||g)(s.KVO(gc))},g.\u0275prov=s.jDH({token:g,factory:g.\u0275fac}),o})();var Wh=u(7161),Sn=u(4792),Xi=u(5265),Uc=u(5385),Bu=u(8952),Ro=u(2010),Cd=u(1413),tc=u(3390);let Ka=(()=>{var g;class o{constructor(p,_,I,Y,Q,X,Te,_e){this.appService=p,this.brandingService=_,this.themeModeService=I,this.biometricsService=Y,this.screenOrientationService=Q,this.textZoomService=X,this.storageService=Te,this.liveUpdateService=_e,this.teardown=new Cd.B,this.addListeners()}initialize$(){return console.info("InitializationService: Initializing ..."),this.storageService.init$().pipe((0,on.Z)(()=>(0,ls.z)([this.brandingService.initialize$(),this.themeModeService.initialize$()])),(0,E.$)(),(0,ys.M)(()=>{console.info("InitializationService: Initialized!")}),(0,us.W)(p=>(console.error("InitializationService: Error while initializing!",p),(0,Hr.$)(()=>p))))}addListeners(){this.appService.isResumed$().pipe((0,on.Z)(()=>(0,Fc.h)(this.screenOrientationService.lock$(),this.textZoomService.setTextZoom$(),this.biometricsService.authIfActivatedAndLoggedIn$(),this.liveUpdateService.checkAndLoadUpdate$())),(0,us.W)(p=>(console.error("Error resuming the app",p),(0,Vo.of)(null)))).subscribe().add(this.teardown),this.appService.isPaused$().pipe((0,on.Z)(()=>(0,Fc.h)(this.screenOrientationService.unlock$(),this.biometricsService.setAppInvisibleIfAuthActive$())),(0,us.W)(p=>(console.error("Error pausing the app",p),(0,Vo.of)(null)))).subscribe().add(this.teardown)}ngOnDestroy(){this.teardown.complete()}}return(g=o).\u0275fac=function(p){return new(p||g)(s.KVO(tc.d),s.KVO(cu.X),s.KVO(gd.A),s.KVO(mf.Z),s.KVO(hd),s.KVO(kc),s.KVO(vf.n),s.KVO(cl.l))},g.\u0275prov=s.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}),o})();var Xa=u(3887);(0,w.EO)(B,du.u,V);let Fl=(()=>{var g;class o{constructor(p){this.http=p}getTranslation(p=""){return(0,Ta.H)(u(7995)(`./${p}.json`)).pipe((0,us.W)(_=>(console.error("Error while loading translation file",_),this.http.get(`./assets/i18n/${p}.json?cb=${Date.now()}`))))}}return(g=o).\u0275fac=function(p){return new(p||g)(s.KVO(T.Qq))},g.\u0275prov=s.jDH({token:g,factory:g.\u0275fac}),o})(),Af=(()=>{var g;class o{}return(g=o).\u0275fac=function(p){return new(p||g)},g.\u0275mod=s.$C({type:g,bootstrap:[Ci]}),g.\u0275inj=s.G2t({providers:[{provide:On.b,useClass:Vr.jM},{provide:s.hnV,useFactory:zh,deps:[Ka],multi:!0},{provide:T.a7,useClass:Mf,multi:!0},{provide:T.a7,useClass:Df,multi:!0},{provide:T.a7,useClass:If,multi:!0},Sn.o,Wh.r,Xi.Z,Bu.o,Uc.t,Ro.x,{provide:s.Ocv,useValue:"EUR"},{provide:s.xe9,useValue:du.u},(0,Br.$z)({trackerUrl:"https://analytics.facilioo.de/",siteId:"7",acceptDoNotTrack:!0,disabled:!Us.c.production,enableLinkTracking:"enable-pseudo",runOutsideAngularZone:!0},Vi())],imports:[a.Bb,T.q1,ne,Ao.bv.forRoot({rippleEffect:!1,mode:"ios",animated:(0,Bs.aH)("ios")}),Go.h.forRoot({loader:{provide:Go.Wr,useClass:Fl},defaultLanguage:"de",useDefaultLang:!0}),j,Xa.G,fu.U]}),o})();function zh(g){return()=>g.initialize$()}Us.c.production&&(0,s.SmG)(),a.sG().bootstrapModule(Af).catch(g=>{console.error("Error bootstrapping AppModule",g)})},1200:(wt,Se,u)=>{"use strict";u.d(Se,{E_:()=>Ie,F3:()=>q});var a=u(467);typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"&&global;
1var H=function(he){return he.Unimplemented="UNIMPLEMENTED",he.Unavailable="UNAVAILABLE",he}(H||{});class V extends Error{constructor(Me,$e){super(Me),this.message=Me,this.code=$e}}const U=he=>{var Me,$e,Pe,Re,it;const Be=he.CapacitorCustomPlatform||null,We=he.Capacitor||{},Ae=We.Plugins=We.Plugins||{},k=he.CapacitorPlatforms,ce=(null===(Me=null==k?void 0:k.currentPlatform)||void 0===Me?void 0:Me.getPlatform)||(()=>null!==Be?Be.name:(he=>{var Me,$e;return null!=he&&he.androidBridge?"android":null!==($e=null===(Me=null==he?void 0:he.webkit)||void 0===Me?void 0:Me.messageHandlers)&&void 0!==$e&&$e.bridge?"ios":"web"})(he)),ve=(null===($e=null==k?void 0:k.currentPlatform)||void 0===$e?void 0:$e.isNativePlatform)||(()=>"web"!==ce()),fe=(null===(Pe=null==k?void 0:k.currentPlatform)||void 0===Pe?void 0:Pe.isPluginAvailable)||(ct=>{const jt=Ce.get(ct);return!!(null!=jt&&jt.platforms.has(ce())||ee(ct))}),ee=(null===(Re=null==k?void 0:k.currentPlatform)||void 0===Re?void 0:Re.getPluginHeader)||(ct=>{var jt;return null===(jt=We.PluginHeaders)||void 0===jt?void 0:jt.find(jn=>jn.name===ct)}),Ce=new Map,pt=(null===(it=null==k?void 0:k.currentPlatform)||void 0===it?void 0:it.registerPlugin)||((ct,jt={})=>{const jn=Ce.get(ct);if(jn)return console.warn(`Capacitor plugin "${ct}" already registered. Cannot register plugins twice.`),jn.proxy;const mn=ce(),lr=ee(ct);let hr;const $r=function(){var Ot=(0,a.A)(function*(){return!hr&&mn in jt?hr=hr="function"==typeof jt[mn]?yield jt[mn]():jt[mn]:null!==Be&&!hr&&"web"in jt&&(hr=hr="function"==typeof jt.web?yield jt.web():jt.web),hr});return function(){return Ot.apply(this,arguments)}}(),Fn=Ot=>{let It;const Kt=(...Zn)=>{const Ir=$r().then(Er=>{const $n=((Ot,It)=>{var Kt,Zn;if(!lr){if(Ot)return null===(Zn=Ot[It])||void 0===Zn?void 0:Zn.bind(Ot);throw new V(`"${ct}" plugin is not implemented on ${mn}`,H.Unimplemented)}{const Ir=null==lr?void 0:lr.methods.find(Er=>It===Er.name);if(Ir)return"promise"===Ir.rtype?Er=>We.nativePromise(ct,It.toString(),Er):(Er,$n)=>We.nativeCallback(ct,It.toString(),Er,$n);if(Ot)return null===(Kt=Ot[It])||void 0===Kt?void 0:Kt.bind(Ot)}})(Er,Ot);if($n){const dn=$n(...Zn);return It=null==dn?void 0:dn.remove,dn}throw new V(`"${ct}.${Ot}()" is not implemented on ${mn}`,H.Unimplemented)});return"addListener"===Ot&&(Ir.remove=(0,a.A)(function*(){return It()})),Ir};return Kt.toString=()=>`${Ot.toString()}() { [capacitor code] }`,Object.defineProperty(Kt,"name",{value:Ot,writable:!1,configurable:!1}),Kt},cr=Fn("addListener"),Yn=Fn("removeListener"),Qn=(Ot,It)=>{const Kt=cr({eventName:Ot},It),Zn=function(){var Er=(0,a.A)(function*(){const $n=yield Kt;Yn({eventName:Ot,callbackId:$n},It)});return function(){return Er.apply(this,arguments)}}(),Ir=new Promise(Er=>Kt.then(()=>Er({remove:Zn})));return Ir.remove=(0,a.A)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield Zn()}),Ir},ht=new Proxy({},{get(Ot,It){switch(It){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return lr?Qn:cr;case"removeListener":return Yn;default:return Fn(It)}}});return Ae[ct]=ht,Ce.set(ct,{name:ct,proxy:ht,platforms:new Set([...Object.keys(jt),...lr?[mn]:[]])}),ht});return We.convertFileSrc||(We.convertFileSrc=ct=>ct),We.getPlatform=ce,We.handleError=ct=>he.console.error(ct),We.isNativePlatform=ve,We.isPluginAvailable=fe,We.pluginMethodNoop=(ct,jt,jn)=>Promise.reject(`${jn} does not have an implementation of "${jt}".`),We.registerPlugin=pt,We.Exception=V,We.DEBUG=!!We.DEBUG,We.isLoggingEnabled=!!We.isLoggingEnabled,We.platform=We.getPlatform(),We.isNative=We.isNativePlatform(),We},W=(he=>he.Capacitor=U(he))(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),q=W.registerPlugin;class Ie{constructor(Me){this.listeners={},this.windowListeners={},Me&&(console.warn(`Capacitor WebPlugin "${Me.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=Me)}addListener(Me,$e){var Pe=this;this.listeners[Me]||(this.listeners[Me]=[]),this.listeners[Me].push($e);const it=this.windowListeners[Me];it&&!it.registered&&this.addWindowListener(it);const Be=function(){var Ae=(0,a.A)(function*(){return Pe.removeListener(Me,$e)});return function(){return Ae.apply(this,arguments)}}(),We=Promise.resolve({remove:Be});return Object.defineProperty(We,"remove",{value:(Ae=(0,a.A)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield Be()}),function(){return Ae.apply(this,arguments)})}),We;var Ae}removeAllListeners(){var Me=this;return(0,a.A)(function*(){Me.listeners={};for(const $e in Me.windowListeners)Me.removeWindowListener(Me.windowListeners[$e]);Me.windowListeners={}})()}notifyListeners(Me,$e){const Pe=this.listeners[Me];Pe&&Pe.forEach(Re=>Re($e))}hasListeners(Me){return!!this.listeners[Me].length}registerWindowListener(Me,$e){this.windowListeners[$e]={registered:!1,windowEventName:Me,pluginEventName:$e,handler:Pe=>{this.notifyListeners($e,Pe)}}}unimplemented(Me="not implemented"){return new W.Exception(Me,H.Unimplemented)}unavailable(Me="not available"){return new W.Exception(Me,H.Unavailable)}removeListener(Me,$e){var Pe=this;return(0,a.A)(function*(){const Re=Pe.listeners[Me];if(!Re)return;const it=Re.indexOf($e);Pe.listeners[Me].splice(it,1),Pe.listeners[Me].length||Pe.removeWindowListener(Pe.windowListeners[Me])})()}addWindowListener(Me){window.addEventListener(Me.windowEventName,Me.handler),Me.registered=!0}removeWindowListener(Me){Me&&(window.removeEventListener(Me.windowEventName,Me.handler),Me.registered=!1)}}},1106:function(wt,Se){var a;(function(){var s=!1,T=function(k){return k instanceof T?k:this instanceof T?void(this.EXIFwrapped=k):new T(k)};wt.exports&&(Se=wt.exports=T),Se.EXIF=T;var x=T.Tags={36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37500:"MakerNote",37510:"UserComment",40964:"RelatedSoundFile",36867:"DateTimeOriginal",36868:"DateTimeDigitized",37520:"SubsecTime",37521:"SubsecTimeOriginal",37522:"SubsecTimeDigitized",33434:"ExposureTime",33437:"FNumber",34850:"ExposureProgram",34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:"OECF",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",3738
10:"ExposureBias",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37396:"SubjectArea",37386:"FocalLength",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41492:"SubjectLocation",41493:"ExposureIndex",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRation",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",40965:"InteroperabilityIFDPointer",42016:"ImageUniqueID"},F=T.TiffTags={256:"ImageWidth",257:"ImageHeight",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer",40965:"InteroperabilityIFDPointer",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",274:"Orientation",277:"SamplesPerPixel",284:"PlanarConfiguration",530:"YCbCrSubSampling",531:"YCbCrPositioning",282:"XResolution",283:"YResolution",296:"ResolutionUnit",273:"StripOffsets",278:"RowsPerStrip",279:"StripByteCounts",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",301:"TransferFunction",318:"WhitePoint",319:"PrimaryChromaticities",529:"YCbCrCoefficients",532:"ReferenceBlackWhite",306:"DateTime",270:"ImageDescription",271:"Make",272:"Model",305:"Software",315:"Artist",33432:"Copyright"},B=T.GPSTags={0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential"},H=T.IFD1Tags={256:"ImageWidth",257:"ImageHeight",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",273:"StripOffsets",274:"Orientation",277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",296:"ResolutionUnit",513:"JpegIFOffset",514:"JpegIFByteCount",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:"YCbCrPositioning",532:"ReferenceBlackWhite"},V=T.StringValues={ExposureProgram:{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},SensingMethod:{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},SceneType:{1:"Directly photographed"},CustomRendered:{0:"Normal process",1:"Custom process"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},GainControl:{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},SubjectDistanceRange:{0:"Unknown",1:"Macro",2:"Close view",3:"Distant view"},FileSource:{3:"DSC"},Components:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}};function U(k){return!!k.exifdata}function we(k){var z=new DataView(k);if(s&&console.log("Got file of length "+k.byteLength),255!=z.getUint8(0)||216!=z.getUint8(1))return s&&console.log("Not a valid JPEG"),!1;for(var ve,ce=2,pe=k.byteLength;ce<pe;){if(255!=z.getUint8(ce))return s&&console.log("Not a valid marker at offset "+ce+", found: "+z.getUint8(ce)),!1;if(ve=z.getUint8(ce+1),s&&console.log(ve),225==ve)return s&&console.log("Found 0xFFE1 marker"),it(z,ce+4,z.getUint16(ce+2));ce+=2+z.getUint16(ce+2)}}var Ie={120:"caption",110:"credit",25:"keywords",55:"dateCreated",80:"byline",85:"bylineTitle",122:"captionWriter",105:"headline",116:"copyright",15:"category"};function ge(k,z,ce){for(var ze,fe,de,ee,pe=new DataView(k),ve={},se=z;se<z+ce;)28===pe.getUint8(se)&&2===pe.getUint8(se+1)&&(ee=pe.getUint8(se+2))in Ie&&(de=pe.getInt16(se+3),fe=Ie[ee],ze=Re(pe,se+5,de),ve.hasOwnProperty(fe)?ve[fe]instanceof Array?ve[fe].push(ze):ve[fe]=[ve[fe],ze]:ve[fe]=ze),se++;return ve}function he(k,z,ce,pe,ve){var de,ee,$,ze=k.getUint16(ce,!ve),fe={};for($=0;$<ze;$++)!(ee=pe[k.getUint16(de=ce+12*$+2,!ve)])&&s&&console.log("Unknown tag: "+k.getUint16(de,!ve)),fe[ee]=Me(k,de,z,0,ve);return fe}function Me(k,z,ce,pe,ve){var ee,$,se,Ce,at,pt,ze=k.getUint16(z+2,!ve),fe=k.getUint32(z+4,!ve),de=k.getUint32(z+8,!ve)+ce;switch(ze){case 1:case 7:if(1==fe)return k.getUint8(z+8,!ve);for(ee=fe>4?de:z+8,$=[],Ce=0;Ce<fe;Ce++)$[Ce]=k.getUint8(ee+Ce);return $;case 2:return Re(k,ee=fe>4?de:z+8,fe-1);case 3:if(1==fe)return k.getUint16(z+8,!ve);for(ee=fe>2?de:z+8,$=[],Ce=0;Ce<fe;Ce++)$[Ce]=k.getUint16(ee+2*Ce,!ve);return $;case 4:if(1==fe)return k.getUint32(z+8,!ve);for($=[],Ce=0;Ce<fe;Ce++)$[Ce]=k.getUint32(de+4*Ce,!ve);return $;case 5:if(1==fe)return at=k.getUint32(de,!ve),pt=k.getUint32(de+4,!ve),(se=new Number(at/pt)).numerator=at,se.denominator=pt,se;for($=[],Ce=0;Ce<fe;Ce++)at=k.getUint32(de+8*Ce,!ve),pt=k.getUint32(de+4+8*Ce,!ve),$[Ce]=new Number(at/pt),$[Ce].numerator=at,$[Ce].denominator=pt;return $;case 9:if(1==fe)return k.getInt32(z+8,!ve);for($=[],Ce=0;Ce<fe;Ce++)$[Ce]=k.getInt32(de+4*Ce,!ve);return $;case 10:if(1==fe)return k.getInt32(de,!ve)/k.getInt32(de+4,!ve);for($=[],Ce=0;Ce<fe;Ce++)$[Ce]=k.getInt32(de+8*Ce,!ve)/k.getInt32(de+4+8*Ce,!ve);return $}}function Re(k,z,ce){var pe="";for(n=z;n<z+ce;n++)pe+=String.fromCharCode(k.getUint8(n));return pe}function it(k,z){if("Exif"!=Re(k,z,4))return s&&console.log("Not valid EXIF data! "+Re(k,z,4)),!1;var ce,pe,ve,ze,fe,de=z+6;if(18761==k.getUint16(de))ce=!1;else{if(19789!=k.getUint16(de))return s&&console.log("Not valid TIFF data! (no 0x4949 or 0x4D4D)"),!1;ce=!0}if(42!=k.getUint16(de+2,!ce))return s&&console.log("Not valid TIFF data! (no 0x002A)"),!1;var ee=k.getUint32(de+4,!ce);if(ee<8)return s&&console.log("Not valid TIFF data! (First offset less than 8)",k.getUint32(de+4,!ce)),!1;if((pe=he(k,de,de+ee,F,ce)).ExifIFDPointer)for(ve in ze=he(k,de,de+pe.ExifIFDPointer,x,ce)){switch(ve){case"LightSource":case"Flash":case"MeteringMode":case"ExposureProgram":case"SensingMethod":case"SceneCaptureType":case"SceneType":case"CustomRendered":case"WhiteBalance":case"GainControl":case"Contrast":case"Saturation":case"Sharpness":case"SubjectDistanceRange":case"FileSource":ze[ve]=V[ve][ze[ve]];break;case"ExifVersion":case"FlashpixVersion":ze[ve]=String.fromCharCode(ze[ve][0],ze[ve][1],ze[ve][2],ze[ve][3]);break;case"ComponentsConfiguration":ze[ve]=V.Components[ze[ve][0]]+V.Components[ze[ve][1]]+V.Components[ze[ve][2]]+V.Components[ze[ve][3]]}pe[ve]=ze[ve]}if(pe.GPSInfoIFDPointer)for(ve in fe=he(k,de,de+pe.GPSInfoIFDPointer,B,ce))"GPSVersionID"===ve&&(fe[ve]=fe[ve][0]+"."+fe[ve][1]+"."+fe[ve][2]+"."+fe[ve][3]),pe[ve]=fe[ve];return pe.thumbnail=function Pe(k,z,ce,pe){var ve=function $e(k,z,ce){var pe=k.getUint16(z,!ce);return k.getUint32(z+2+12*pe,!ce)}(k,z+ce,pe);if(!ve)return{};if(ve>k.byteLength)return{};var ze=he(k,z,z+ve,H,pe);if(ze.Compression)switch(ze.Compression){case 6:ze.JpegIFOffset&&ze.JpegIFByteCount&&(ze.blob=new Blob([new Uint8Array(k.buffer,z+ze.JpegIFOffset,ze.JpegIFByteCount)],{type:"image/jpeg"}));break;
1case 1:console.log("Thumbnail image format is TIFF, which is not implemented.");break;default:console.log("Unknown thumbnail image format '%s'",ze.Compression)}else 2==ze.PhotometricInterpretation&&console.log("Thumbnail image format is RGB, which is not implemented.");return ze}(k,de,ee,ce),pe}function We(k){var z={};if(1==k.nodeType){if(k.attributes.length>0){z["@attributes"]={};for(var ce=0;ce<k.attributes.length;ce++){var pe=k.attributes.item(ce);z["@attributes"][pe.nodeName]=pe.nodeValue}}}else if(3==k.nodeType)return k.nodeValue;if(k.hasChildNodes())for(var ve=0;ve<k.childNodes.length;ve++){var ze=k.childNodes.item(ve),fe=ze.nodeName;if(null==z[fe])z[fe]=We(ze);else{if(null==z[fe].push){var de=z[fe];z[fe]=[],z[fe].push(de)}z[fe].push(We(ze))}}return z}function Ae(k){try{var z={};if(k.children.length>0)for(var ce=0;ce<k.children.length;ce++){var pe=k.children.item(ce),ve=pe.attributes;for(var ze in ve){var fe=ve[ze],de=fe.nodeName;void 0!==de&&(z[de]=fe.nodeValue)}var $=pe.nodeName;if(typeof z[$]>"u")z[$]=We(pe);else{if(typeof z[$].push>"u"){var se=z[$];z[$]=[],z[$].push(se)}z[$].push(We(pe))}}else z=k.textContent;return z}catch(Ce){console.log(Ce.message)}}T.enableXmp=function(){T.isXmpEnabled=!0},T.disableXmp=function(){T.isXmpEnabled=!1},T.getData=function(k,z){return!((self.Image&&k instanceof self.Image||self.HTMLImageElement&&k instanceof self.HTMLImageElement)&&!k.complete||(U(k)?z&&z.call(k):function q(k,z){function ce(fe){var de=we(fe);k.exifdata=de||{};var ee=function ue(k){var z=new DataView(k);if(s&&console.log("Got file of length "+k.byteLength),255!=z.getUint8(0)||216!=z.getUint8(1))return s&&console.log("Not a valid JPEG"),!1;for(var ce=2,pe=k.byteLength,ve=function(ee,$){return 56===ee.getUint8($)&&66===ee.getUint8($+1)&&73===ee.getUint8($+2)&&77===ee.getUint8($+3)&&4===ee.getUint8($+4)&&4===ee.getUint8($+5)};ce<pe;){if(ve(z,ce)){var ze=z.getUint8(ce+7);return ze%2!=0&&(ze+=1),0===ze&&(ze=4),ge(k,ce+8+ze,z.getUint16(ce+6+ze))}ce++}}(fe);if(k.iptcdata=ee||{},T.isXmpEnabled){var $=function Be(k){if("DOMParser"in self){var z=new DataView(k);if(s&&console.log("Got file of length "+k.byteLength),255!=z.getUint8(0)||216!=z.getUint8(1))return s&&console.log("Not a valid JPEG"),!1;for(var ce=2,pe=k.byteLength,ve=new DOMParser;ce<pe-4;){if("http"==Re(z,ce,4)){var ze=ce-1,fe=z.getUint16(ce-2)-1,de=Re(z,ze,fe),ee=de.indexOf("xmpmeta>")+8,$=(de=de.substring(de.indexOf("<x:xmpmeta"),ee)).indexOf("x:xmpmeta")+10;return de=de.slice(0,$)+'xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:plus="http://schemas.android.com/apk/lib/com.google.android.gms.plus" xmlns:ext="http://www.gettyimages.com/xsltExtension/1.0" xmlns:exif="http://ns.adobe.com/exif/1.0/" xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/" xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/" xmlns:Iptc4xmpExt="http://iptc.org/std/Iptc4xmpExt/2008-02-29/" '+de.slice($),Ae(ve.parseFromString(de,"text/xml"))}ce++}}}(fe);k.xmpdata=$||{}}z&&z.call(k)}if(k.src)if(/^data\:/i.test(k.src)){var pe=function le(k,z){z=z||k.match(/^data\:([^\;]+)\;base64,/im)[1]||"",k=k.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var ce=atob(k),pe=ce.length,ve=new ArrayBuffer(pe),ze=new Uint8Array(ve),fe=0;fe<pe;fe++)ze[fe]=ce.charCodeAt(fe);return ve}(k.src);ce(pe)}else if(/^blob\:/i.test(k.src))(ve=new FileReader).onload=function(fe){ce(fe.target.result)},function W(k,z){var ce=new XMLHttpRequest;ce.open("GET",k,!0),ce.responseType="blob",ce.onload=function(pe){(200==this.status||0===this.status)&&z(this.response)},ce.send()}(k.src,function(fe){ve.readAsArrayBuffer(fe)});else{var ze=new XMLHttpRequest;ze.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";ce(ze.response),ze=null},ze.open("GET",k.src,!0),ze.responseType="arraybuffer",ze.send(null)}else if(self.FileReader&&(k instanceof self.Blob||k instanceof self.File)){var ve;(ve=new FileReader).onload=function(de){s&&console.log("Got file of length "+de.target.result.byteLength),ce(de.target.result)},ve.readAsArrayBuffer(k)}}(k,z),0))},T.getTag=function(k,z){if(U(k))return k.exifdata[z]}
1,T.getIptcTag=function(k,z){if(U(k))return k.iptcdata[z]},T.getAllTags=function(k){if(!U(k))return{};var z,ce=k.exifdata,pe={};for(z in ce)ce.hasOwnProperty(z)&&(pe[z]=ce[z]);return pe},T.getAllIptcTags=function(k){if(!U(k))return{};var z,ce=k.iptcdata,pe={};for(z in ce)ce.hasOwnProperty(z)&&(pe[z]=ce[z]);return pe},T.pretty=function(k){if(!U(k))return"";var z,ce=k.exifdata,pe="";for(z in ce)ce.hasOwnProperty(z)&&(pe+="object"==typeof ce[z]?ce[z]instanceof Number?z+" : "+ce[z]+" ["+ce[z].numerator+"/"+ce[z].denominator+"]\r\n":z+" : ["+ce[z].length+" values]\r\n":z+" : "+ce[z]+"\r\n");return pe},T.readFromBinaryFile=function(k){return we(k)},void 0!==(a=function(){return T}.apply(Se,[]))&&(wt.exports=a)}).call(this)},7376:function(wt,Se,u){var a;wt=u.nmd(wt),function(){var s,F="Expected a function",H="__lodash_hash_undefined__",L="__lodash_placeholder__",ze=1/0,fe=9007199254740991,$=4294967295,se=$-1,at=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],pt="[object Arguments]",ct="[object Array]",jn="[object Boolean]",mn="[object Date]",hr="[object Error]",$r="[object Function]",ur="[object GeneratorFunction]",Fn="[object Map]",cr="[object Number]",Qn="[object Object]",ht="[object Promise]",It="[object RegExp]",Kt="[object Set]",Zn="[object String]",Ir="[object Symbol]",$n="[object WeakMap]",Ar="[object ArrayBuffer]",ei="[object DataView]",wr="[object Float32Array]",Yr="[object Float64Array]",li="[object Int8Array]",mi="[object Int16Array]",Lt="[object Int32Array]",rr="[object Uint8Array]",Un="[object Uint8ClampedArray]",nt="[object Uint16Array]",Bn="[object Uint32Array]",_r=/\b__p \+= '';/g,Jr=/\b(__p \+=) '' \+/g,ti=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ui=/&(?:amp|lt|gt|quot|#39);/g,_i=/[&<>"']/g,eo=RegExp(ui.source),Yt=RegExp(_i.source),Rt=/<%-([\s\S]+?)%>/g,tn=/<%([\s\S]+?)%>/g,Pt=/<%=([\s\S]+?)%>/g,Gt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nn=/^\w*$/,Sr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ur=/[\\^$.*+?()[\]{}|]/g,ii=RegExp(Ur.source),Kr=/^\s+/,xi=/\s/,Fi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ao=/\{\n\/\* \[wrapped with (.+)\] \*/,Oo=/,? & /,to=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Fo=/[()=,{}\[\]\/\s]/,Qr=/\\(\\)?/g,xo=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Lo=/\w*$/,vo=/^[-+]0x[0-9a-f]+$/i,hi=/^0b[01]+$/i,no=/^\[object .+?Constructor\]$/,ji=/^0o[0-7]+$/i,lo=/^(?:0|[1-9]\d*)$/,co=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 7,252 bytes, line 1
17f]/g,Po=/($^)/,yt=/['\n\r\u2028\u2029\\]/g,Je="\\ud800-\\udfff",Tt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Zt="\\u2700-\\u27bf",In="a-z\\xdf-\\xf6\\xf8-\\xff",Bt="A-Z\\xc0-\\xd6\\xd8-\\xde",fn="\\ufe0e\\ufe0f",Dn="\\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",er="["+Je+"]",Wr="["+Dn+"]",Tr="["+Tt+"]",Bi="\\d+",Pi="["+Zt+"]",Ui="["+In+"]",yo="[^"+Je+Dn+Bi+Zt+In+Bt+"]",uo="\\ud83c[\\udffb-\\udfff]",di="[^"+Je+"]",dt="(?:\\ud83c[\\udde6-\\uddff]){2}",tr="[\\ud800-\\udbff][\\udc00-\\udfff]",ft="["+Bt+"]",zt="(?:"+Ui+"|"+yo+")",Ln="(?:"+ft+"|"+yo+")",kr="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",R="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Ee="(?:"+Tr+"|"+uo+")?",Ke="["+fn+"]?",Mi=Ke+Ee+"(?:\\u200d(?:"+[di,dt,tr].join("|")+")"+Ke+Ee+")*",bo="(?:"+[Pi,dt,tr].join("|")+")"+Mi,ns="(?:"+[di+Tr+"?",Tr,dt,tr,er].join("|")+")",ra=RegExp("['\u2019]","g"),$o=RegExp(Tr,"g"),Ks=RegExp(uo+"(?="+uo+")|"+ns+Mi,"g"),as=RegExp([ft+"?"+Ui+"+"+kr+"(?="+[Wr,ft,"$"].join("|")+")",Ln+"+"+R+"(?="+[Wr,ft+zt,"$"].join("|")+")",ft+"?"+zt+"+"+kr,ft+"+"+R,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Bi,bo].join("|"),"g"),Ea=RegExp("[\\u200d"+Je+Tt+fn+"]"),Ms=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Xs=["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"],Ca=-1,Hi={};Hi[wr]=Hi[Yr]=Hi[li]=Hi[mi]=Hi[Lt]=Hi[rr]=Hi[Un]=Hi[nt]=Hi[Bn]=!0,Hi[pt]=Hi[ct]=Hi[Ar]=Hi[jn]=Hi[ei]=Hi[mn]=Hi[hr]=Hi[$r]=Hi[Fn]=Hi[cr]=Hi[Qn]=Hi[It]=Hi[Kt]=Hi[Zn]=Hi[$n]=!1;var fi={};fi[pt]=fi[ct]=fi[Ar]=fi[ei]=fi[jn]=fi[mn]=fi[wr]=fi[Yr]=fi[li]=fi[mi]=fi[Lt]=fi[Fn]=fi[cr]=fi[Qn]=fi[It]=fi[Kt]=fi[Zn]=fi[Ir]=fi[rr]=fi[Un]=fi[nt]=fi[Bn]=!0,fi[hr]=fi[$r]=fi[$n]=!1;var Mt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ft=parseFloat,$t=parseInt,bn="object"==typeof global&&global&&global.Object===Object&&global,xn="object"==typeof self&&self&&self.Object===Object&&self,ln=bn||xn||Function("return this")(),An=Se&&!Se.nodeType&&Se,pr=An&&wt&&!wt.nodeType&&wt,Cr=pr&&pr.exports===An,Or=Cr&&bn.process,Rr=function(){try{return pr&&pr.require&&pr.require("util").types||Or&&Or.binding&&Or.binding("util")}catch(Mn){}}(),Gi=Rr&&Rr.isArrayBuffer,Wi=Rr&&Rr.isDate,so=Rr&&Rr.isMap,Eo=Rr&&Rr.isRegExp,Co=Rr&&Rr.isSet,Jn=Rr&&Rr.isTypedArray;function Do(Wt,Mn,vn){switch(vn.length){case 0:return Wt.call(Mn);case 1:return Wt.call(Mn,vn[0]);case 2:return Wt.call(Mn,vn[0],vn[1]);case 3:return Wt.call(Mn,vn[0],vn[1],vn[2])}return Wt.apply(Mn,vn)}function gs(Wt,Mn,vn,Nr){for(var vi=-1,ro=null==Wt?0:Wt.length;++vi<ro;){var Ko=Wt[vi];Mn(Nr,Ko,vn(Ko),Wt)}return Nr}function Ai(Wt,Mn){for(var vn=-1,Nr=null==Wt?0:Wt.length;++vn<Nr&&!1!==Mn(Wt[vn],vn,Wt););return Wt}function bs(Wt,Mn){for(var vn=null==Wt?0:Wt.length;vn--&&!1!==Mn(Wt[vn],vn,Wt););return Wt}function xl(Wt,Mn){for(var vn=-1,Nr=null==Wt?0:Wt.length;++vn<Nr;)if(!Mn(Wt[vn],vn,Wt))return!1;return!0}function ks(Wt,Mn){for(var vn=-1,Nr=null==Wt?0:Wt.length,vi=0,ro=[];++vn<Nr;){var Ko=Wt[vn];Mn(Ko,vn,Wt)&&(ro[vi++]=Ko)}return ro}function Qo(Wt,Mn){return!(null==Wt||!Wt.length)&&vs(Wt,Mn,0)>-1}function Ys(Wt,Mn,vn){for(var Nr=-1,vi=null==Wt?0:Wt.length;++Nr<vi;)if(vn(Mn,Wt[Nr]))return!0;return!1}function fo(Wt,Mn){for(var vn=-1,Nr=null==Wt?0:Wt.length,vi=Array(Nr);++vn<Nr;)vi[vn]=Mn(Wt[vn],vn,Wt);return vi}function Uo(Wt,Mn){for(var vn=-1,Nr=Mn.length,vi=Wt.length;++vn<Nr;)Wt[vi+vn]=Mn[vn];return Wt}function ba(Wt,Mn,vn,Nr){var vi=-1,ro=null==Wt?0:Wt.length;for(Nr&&ro&&(vn=Wt[++vi]);++vi<ro;)vn=Mn(vn,Wt[vi],vi,Wt);return vn}function ms(Wt,Mn,vn,Nr){var vi=null==Wt?0:Wt.length;for(Nr&&vi&&(vn=Wt[--vi]);vi--;)vn=Mn(vn,Wt[vi],vi,Wt);return vn}function As(Wt,Mn){for(var vn=-1,Nr=null==Wt?0:Wt.length;++vn<Nr;)if(Mn(Wt[vn],vn,Wt))return!0;return!1}var Hl=vl("length");function sc(Wt,Mn,vn){var Nr;return vn(Wt,function(vi,ro,Ko){if(Mn(vi,ro,Ko))return Nr=ro,!1}),Nr}function ho(Wt,Mn,vn,Nr){for(var vi=Wt.length,ro=vn+(Nr?1:-1);Nr?ro--:++ro<vi;)if(Mn(Wt[ro],ro,Wt))return ro;return-1}function vs(Wt,Mn,vn){return Mn==Mn?function ha(Wt,Mn,vn){for(var Nr=vn-1,vi=Wt.length;++Nr<vi;)if(Wt[Nr]===Mn)return Nr;return-1}(Wt,Mn,vn):ho(Wt,Da,vn)}function wo(Wt,Mn,vn,Nr){for(var vi=vn-1,ro=Wt.length;++vi<ro;)if(Nr(Wt[vi],Mn))return vi;return-1}function Da(Wt){return Wt!=Wt}function $a(Wt,Mn){var vn=null==Wt?0:Wt.length;return vn?rs(Wt,Mn)/vn:NaN}function vl(Wt){return function(Mn){return null==Mn?s:Mn[Wt]}}function Sa(Wt){return function(Mn){return null==Wt?s:Wt[Mn]}}function oi(Wt,Mn,vn,Nr,vi){return vi(Wt,function(ro,Ko,Tn){vn=Nr?(Nr=!1,ro):Mn(vn,ro,Ko,Tn)}),vn}function rs(Wt,Mn){for(var vn,Nr=-1,vi=Wt.length;++Nr<vi;){var ro=Mn(Wt[Nr]);ro!==s&&(vn=vn===s?ro:vn+ro)}return vn}function tl(Wt,Mn){for(var vn=-1,Nr=Array(Wt);++vn<Wt;)Nr[vn]=Mn(vn);return Nr}function wa(Wt){return Wt&&Wt.slice(0,ys(Wt)+1).replace(Kr,"")}function oe(Wt){return function(Mn){return Wt(Mn)}}function j(Wt,Mn){return fo(Mn,function(vn){return Wt[vn]})}function Ne(Wt,Mn){return Wt.has(Mn)}function re(Wt,Mn){for(var vn=-1,Nr=Wt.length;++vn<Nr&&vs(Mn,Wt[vn],0)>-1;);return vn}function Qe(Wt,Mn){for(var vn=Wt.length;vn--&&vs(Mn,Wt[vn],0)>-1;);return vn}var Vr=Sa({\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",\u015
vendor: 9,995 bytes, line 1
1a:"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"}),Ao=Sa({"&":"&","<":"<",">":">",'"':""","'":"'"});function Bs(Wt){return"\\"+Mt[Wt]}function Br(Wt){return Ea.test(Wt)}function es(Wt){var Mn=-1,vn=Array(Wt.size);return Wt.forEach(function(Nr,vi){vn[++Mn]=[vi,Nr]}),vn}function Ta(Wt,Mn){return function(vn){return Wt(Mn(vn))}}function ls(Wt,Mn){for(var vn=-1,Nr=Wt.length,vi=0,ro=[];++vn<Nr;){var Ko=Wt[vn];(Ko===Mn||Ko===L)&&(Wt[vn]=L,ro[vi++]=vn)}return ro}function Li(Wt){var Mn=-1,vn=Array(Wt.size);return Wt.forEach(function(Nr){vn[++Mn]=Nr}),vn}function jo(Wt){return Br(Wt)?function Ps(Wt){for(var Mn=Ks.lastIndex=0;Ks.test(Wt);)++Mn;return Mn}(Wt):Hl(Wt)}function Os(Wt){return Br(Wt)?function nl(Wt){return Wt.match(Ks)||[]}(Wt):function So(Wt){return Wt.split("")}(Wt)}function ys(Wt){for(var Mn=Wt.length;Mn--&&xi.test(Wt.charAt(Mn)););return Mn}var pa=Sa({"&":"&","<":"<",">":">",""":'"',"'":"'"}),ci=function Wt(Mn){var c,vn=(Mn=null==Mn?ln:ci.defaults(ln.Object(),Mn,ci.pick(ln,Xs))).Array,Nr=Mn.Date,vi=Mn.Error,ro=Mn.Function,Ko=Mn.Math,Tn=Mn.Object,ac=Mn.RegExp,lc=Mn.String,cs=Mn.TypeError,ga=vn.prototype,ia=Tn.prototype,El=Mn["__core-js_shared__"],xs=ro.prototype.toString,io=ia.hasOwnProperty,$l=0,pi=(c=/[^.]+$/.exec(El&&El.keys&&El.keys.IE_PROTO||""))?"Symbol(src)_1."+c:"",Qi=ia.toString,Cl=xs.call(Tn),zl=ln._,Gl=ac("^"+xs.call(io).replace(Ur,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ma=Cr?Mn.Buffer:s,oa=Mn.Symbol,il=Mn.Uint8Array,Vi=ma?ma.allocUnsafe:s,ol=Ta(Tn.getPrototypeOf,Tn),ka=Tn.create,Ds=ia.propertyIsEnumerable,sa=ga.splice,us=oa?oa.isConcatSpreadable:s,Us=oa?oa.iterator:s,A=oa?oa.toStringTag:s,ae=function(){try{var c=Pa(Tn,"defineProperty");return c({},"",{}),c}catch(h){}}(),lt=Mn.clearTimeout!==ln.clearTimeout&&Mn.clearTimeout,ne=Nr&&Nr.now!==ln.Date.now&&Nr.now,Ge=Mn.setTimeout!==ln.setTimeout&&Mn.setTimeout,vt=Ko.ceil,on=Ko.floor,Hn=Tn.getOwnPropertySymbols,yi=ma?ma.isBuffer:s,Hr=Mn.isFinite,Zi=ga.join,E=Ta(Tn.keys,Tn),y=Ko.max,v=Ko.min,b=Nr.now,N=Mn.parseInt,ie=Ko.random,be=ga.reverse,rt=Pa(Mn,"DataView"),ut=Pa(Mn,"Map"),At=Pa(Mn,"Promise"),qt=Pa(Mn,"Set"),hn=Pa(Mn,"WeakMap"),Cn=Pa(Tn,"create"),kn=hn&&new hn,fr={},pn=Fl(rt),yn=Fl(ut),mr=Fl(At),Dr=Fl(qt),Si=Fl(hn),Ei=oa?oa.prototype:s,Fr=Ei?Ei.valueOf:s,Ri=Ei?Ei.toString:s;function He(c){if(hs(c)&&!zi(c)&&!(c instanceof qr)){if(c instanceof $i)return c;if(io.call(c,"__wrapped__"))return zh(c)}return new $i(c)}var Zr=function(){function c(){}return function(h){if(!Yo(h))return{};if(ka)return ka(h);c.prototype=h;var D=new c;return c.prototype=s,D}}();function Pr(){}function $i(c,h){this.__wrapped__=c,this.__actions__=[],this.__chain__=!!h,this.__index__=0,this.__values__=s}function qr(c){this.__wrapped__=c,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=$,this.__views__=[]}function Oi(c){var h=-1,D=null==c?0:c.length;for(this.clear();++h<D;){var te=c[h];this.set(te[0],te[1])}}function Ss(c){var h=-1,D=null==c?0:c.length;for(this.clear();++h<D;){var te=c[h];this.set(te[0],te[1])}}function la(c){var h=-1,D=null==c?0:c.length;for(this.clear();++h<D;){var te=c[h];this.set(te[0],te[1])}}function Xl(c){var h=-1,D=null==c?0:c.length;for(this.__data__=new la;++h<D;)this.add(c[h])}function S(c){var h=this.__data__=new Ss(c);this.size=h.size}function Ye(c,h){var D=zi(c),te=!D&&Hc(c),Le=!D&&!te&&Wc(c),st=!D&&!te&&!Le&&Hu(c),xt=D||te||Le||st,Vt=xt?tl(c.length,lc):[],nn=Vt.length;for(var Wn in c)(h||io.call(c,Wn))&&(!xt||!("length"==Wn||Le&&("offset"==Wn||"parent"==Wn)||st&&("buffer"==Wn||"byteLength"==Wn||"byteOffset"==Wn)||ul(Wn,nn)))&&Vt.push(Wn);return Vt}function Qt(c){var h=c.length;return h?c[Wo(0,h-1)]:s}function Pn(c,h){return tc(ca(c),go(h,0,c.length))}function en(c){return tc(ca(c))}function br(c,h,D){(D!==s&&!Bl(c[h],D)||D===s&&!(h in c))&&Xr(c,h,D)}function ai(c,h,D){var te=c[h];(!io.call(c,h)||!Bl(te,D)||D===s&&!(h in c))&&Xr(c,h,D)}function Ji(c,h){for(var D=c.length;D--;)if(Bl(c[D][0],h))return D;return-1}function wi(c,h,D,te){return Yl(c,function(Le,st,xt){h(te,Le,D(Le),xt)}),te}function Ho(c,h){return c&&Wa(h,ta(h),c)}function Xr(c,h,D){"__proto__"==h&&ae?ae(c,h,{configurable:!0,enumerable:!0,value:D,writable:!0}):c[h]=D}function Bo(c,h){for(var D=-1,te=h.length,Le=vn(te),st=null==c;++D<te;)Le[D]=st?s:hp(c,h[D]);return Le}function go(c,h,D){return c==c&&(D!==s&&(c=c<=D?c:D),h!==s&&(c=c>=h?c:h)),c}function Zo(c,h,D,te,Le,st){var xt,Vt=1&h,nn=2&h,Wn=4&h;if(D&&(xt=Le?D(c,te,Le,st):D(c)),xt!==s)return xt;if(!Yo(c))return c;var Xn=zi(c);if(Xn){if(xt=function Cf(c){var h=c.length,D=new c.constructor(h);return h&&"string"==typeof c[0]&&io.call(c,"index")&&(D.index=c.index,D.input=c.input),D}(c),!Vt)return ca(c,xt)}else{var dr=qs(c),Lr=dr==$r||dr==ur;if(Wc(c))return Jo(c,Vt);if(dr==Qn||dr==pt||Lr&&!Le){if(xt=nn||Lr?{}:Bc(c),!Vt)return nn?function kh(c,h){return Wa(c,$u(c),h)}(c,function Vs(c,h){return c&&Wa(h,Za(h),c)}(xt,c)):function hf(c,h){return Wa(c,yd(c),h)}(c,Ho(xt,c))}else{if(!fi[dr])return Le?c:{};xt=function Ed(c,h,D){var te=c.constructor;switch(h){case Ar:return Nc(c);case jn:case mn:return new te(+c);case ei:return function Ns(c,h){var D=h?Nc(c.buffer):c.buffer;return new c.constructor(D,c.byteOffset,c.byteLength)}(c,D);case wr:case Yr:case li:case mi:case Lt:case rr:case Un:case nt:case Bn:return al(c,D);case Fn:return new te;case cr:case Zn:return new te(c);case It:return function Js(c){var h=new c.constructor(c.source,Lo.exec(c));return h.lastIndex=c.lastIndex,h}(c);case Kt:return new te;case Ir:return function ff(c){return Fr?Tn(Fr.call(c)):{}}(c)}}(c,dr,Vt)}}st||(st=new S);var ri=st.get(c);if(ri)return ri;st.set(c,xt),Bg(c)?c.forEach(function(bi){xt.add(Zo(bi,h,D,bi,c,st))}):$g(c)&&c.forEach(function(bi,_o){xt.set(_o,Zo(bi,h,D,_o,c,st))});var oo=Xn?s:(Wn?nn?Fc:Nu:nn?Za:ta)(c);return Ai(oo||c,function(bi,_o){oo&&(bi=c[_o=bi]),ai(xt,_o,Zo(bi,h,D,_o,c,st))}),xt}function dc(c,h,D){var te=D.length;if(null==c)return!te;for(c=Tn(c);te--;){var Le=D[te],xt=c[Le];if(xt===s&&!(Le in c)||!(0,h[Le])(xt))return!1}return!0}function qc(c,h,D){if("function"!=typeof c)throw new cs(F);return Uc(function(){c.apply(s,D)},h)}function Ia(c,h,D,te){var Le=-1,st=Qo,xt=!0,Vt=c.length,nn=[],Wn=h.length;if(!Vt)return nn;D&&(h=fo(h,oe(D))),te?(st=Ys,xt=!1):h.length>=200&&(st=Ne,xt=!1,h=new Xl(h));e:for(;++Le<Vt;){var Xn=c[Le],dr=null==D?Xn:D(Xn);if(Xn=te||0!==Xn?Xn:0,xt&&dr==dr){for(var Lr=Wn;Lr--;)if(h[Lr]===dr)continue e;nn.push(Xn)}else st(h,dr,te)||nn.push(Xn)}return nn}He.templateSettings={escape:Rt,evaluate:tn,interpolate:Pt,variable:"",imports:{_:He}},(He.prototype=Pr.prototype).constructor=He,($i.prototype=Zr(Pr.prototype)).constructor=$i,(qr.prototype=Zr(Pr.prototype)).constructor=qr,Oi.prototype.clear=function va(){this.__data__=Cn?Cn(null):{},this.size=0},Oi.prototype.delete=function Ki(c){var h=this.has(c)&&delete this.__data__[c];return this.size-=h?1:0,h},Oi.prototype.get=function Kl(c){var h=this.__data__;if(Cn){var D=h[c];return D===H?s:D}return io.call(h,c)?h[c]:s},Oi.prototype.has=function cc(c){var h=this.__data__;return Cn?h[c]!==s:io.call(h,c)},Oi.prototype.set=function uc(c,h){var D=this.__data__;return this.size+=this.has(c)?0:1,D[c]=Cn&&h===s?H:h,this},Ss.prototype.clear=function Fa(){this.__data__=[],this.size=0},Ss.prototype.delete=function td(c){var h=this.__data__,D=Ji(h,c);return!(D<0||(D==h.length-1?h.pop():sa.call(h,D,1),--this.size,0))},Ss.prototype.get=function Ac(c){var h=this.__data__,D=Ji(h,c);return D<0?s:h[D][1]},Ss.prototype.has=function Oc(c){return Ji(this.__data__,c)>-1},Ss.prototype.set=function Cu(c,h){var D=this.__data__,te=Ji(D,c);return te<0?(++this.size,D.push([c,h])):D[te][1]=h,this},la.prototype.clear=function Jc(){this.size=0,this.__data__={hash:new Oi,map:new(ut||Ss),string:new Oi}},la.prototype.delete=function bu(c){var h=Lu(this,c).delete(c);return this.size-=h?1:0,h},la.prototype.get=function qd(c){return Lu(this,c).get(c)},la.prototype.has=function Du(c){return Lu(this,c).has(c)},la.prototype.set=function ef(c,h){var D=Lu(this,c),te=D.size;return D.set(c,h),this.size+=D.size==te?0:1,this},Xl.prototype.add=Xl.prototype.push=function Ba(c){return this.__data__.set(c,H),this},Xl.prototype.has=function nd(c){return this.__data__.has(c)},S.prototype.clear=function P(){this.__data__=new Ss,this.size=0},S.prototype.delete=function K(c){var h=this.__data__,D=h.delete(c);return this.size=h.size,D},S.prototype.get=function O(c){return this.__data__.get(c)},S.prototype.has=function J(c){return this.__data__.has(c)},S.prototype.set=function Ue(c,h){var D=this.__data__;if(D instanceof Ss){var te=D.__data__;if(!ut||te.length<199)return te.push([c,h]),this.size=++D.size,this;D=this.__data__=new la(te)}return D.set(c,h),this.size=D.size,this};var Yl=pf(bl),tf=pf(tu,!0);function eu(c,h){var D=!0;return Yl(c,function(te,Le,st){return D=!!h(te,Le,st)}),D}function Su(c,h,D){for(var te=-1,Le=c.length;++te<Le;){var st=c[te],xt=h(st);if(null!=xt&&(Vt===s?xt==xt&&!fl(xt):D(xt,Vt)))var Vt=xt,nn=st}return nn}function id(c,h){var D=[];return Yl(c,function(te,Le,st){h(te,Le,st)&&D.push(te)}),D}function Es(c,h,D,te,Le){var st=-1,xt=c.length;for(D||(D=Fu),Le||(Le=[]);++st<xt;){var Vt=c[st];h>0&&D(Vt)?h>1?Es(Vt,h-1,D,te,Le):Uo(Le,Vt):te||(Le[Le.length]=Vt)}return Le}var nf=gf(),wu=gf(!0);function bl(c,h){return c&&nf(c,h,ta)}function tu(c,h){return c&&wu(c,h,ta)}function nu(c,h){return ks(h,function(D){return zc(c[D])})}function Ql(c,h){for(var D=0,te=(h=ja(h,c)).length;null!=c&&D<te;
vendor: 2,072 bytes, line 1
1)c=c[Xa(h[D++])];return D&&D==te?c:s}function Zl(c,h,D){var te=h(c);return zi(c)?te:Uo(te,D(c))}function Qs(c){return null==c?c===s?"[object Undefined]":"[object Null]":A&&A in Tn(c)?function xa(c){var h=io.call(c,A),D=c[A];try{c[A]=s;var te=!0}catch(st){}var Le=Qi.call(c);return te&&(h?c[A]=D:delete c[A]),Le}(c):function Hh(c){return Qi.call(c)}(c)}function ru(c,h){return c>h}function Tu(c,h){return null!=c&&io.call(c,h)}function xh(c,h){return null!=c&&h in Tn(c)}function Pc(c,h,D){for(var te=D?Ys:Qo,Le=c[0].length,st=c.length,xt=st,Vt=vn(st),nn=1/0,Wn=[];xt--;){var Xn=c[xt];xt&&h&&(Xn=fo(Xn,oe(h))),nn=v(Xn.length,nn),Vt[xt]=!D&&(h||Le>=120&&Xn.length>=120)?new Xl(xt&&Xn):s}Xn=c[0];var dr=-1,Lr=Vt[0];e:for(;++dr<Le&&Wn.length<nn;){var ri=Xn[dr],Ii=h?h(ri):ri;if(ri=D||0!==ri?ri:0,!(Lr?Ne(Lr,Ii):te(Wn,Ii,D))){for(xt=st;--xt;){var oo=Vt[xt];if(!(oo?Ne(oo,Ii):te(c[xt],Ii,D)))continue e}Lr&&Lr.push(Ii),Wn.push(ri)}}return Wn}function Dl(c,h,D){var te=null==(c=Mf(c,h=ja(h,c)))?c:c[Xa(gn(h))];return null==te?s:Do(te,c,D)}function Mu(c){return hs(c)&&Qs(c)==pt}function xc(c,h,D,te,Le){return c===h||(null==c||null==h||!hs(c)&&!hs(h)?c!=c&&h!=h:function Rc(c,h,D,te,Le,st){var xt=zi(c),Vt=zi(h),nn=xt?ct:qs(c),Wn=Vt?ct:qs(h),Xn=(nn=nn==pt?Qn:nn)==Qn,dr=(Wn=Wn==pt?Qn:Wn)==Qn,Lr=nn==Wn;if(Lr&&Wc(c)){if(!Wc(h))return!1;xt=!0,Xn=!1}if(Lr&&!Xn)return st||(st=new S),xt||Hu(c)?_f(c,h,D,te,Le,st):function vd(c,h,D,te,Le,st,xt){switch(D){case ei:if(c.byteLength!=h.byteLength||c.byteOffset!=h.byteOffset)return!1;c=c.buffer,h=h.buffer;case Ar:return!(c.byteLength!=h.byteLength||!st(new il(c),new il(h)));case jn:case mn:case cr:return Bl(+c,+h);case hr:return c.name==h.name&&c.message==h.message;case It:case Zn:return c==h+"";case Fn:var Vt=es;case Kt:if(Vt||(Vt=Li),c.size!=h.size&&!(1&te))return!1;var Wn=xt.get(c);if(Wn)return Wn==h;te|=2,xt.set(c,h);var Xn=_f(Vt(c),Vt(h),te,Le,st,xt);return xt.delete(c),Xn;case Ir:if(Fr)return Fr.call(c)==Fr.call(h)}return!1}(c,h,nn,D,te,Le,st);if(!(1&D)){var ri=Xn&&io.call(c,"__wrapped__"),Ii=dr&&io.call(h,"__wrapped__");
vendor: 5,172 bytes, line 1
1if(ri||Ii){var oo=ri?c.value():c,bi=Ii?h.value():h;return st||(st=new S),Le(oo,bi,D,te,st)}}return!!Lr&&(st||(st=new S),function jh(c,h,D,te,Le,st){var xt=1&D,Vt=Nu(c),nn=Vt.length;if(nn!=Nu(h).length&&!xt)return!1;for(var dr=nn;dr--;){var Lr=Vt[dr];if(!(xt?Lr in h:io.call(h,Lr)))return!1}var ri=st.get(c),Ii=st.get(h);if(ri&&Ii)return ri==h&&Ii==c;var oo=!0;st.set(c,h),st.set(h,c);for(var bi=xt;++dr<nn;){var _o=c[Lr=Vt[dr]],Mo=h[Lr];if(te)var Ja=xt?te(Mo,_o,Lr,h,c,st):te(_o,Mo,Lr,c,h,st);if(!(Ja===s?_o===Mo||Le(_o,Mo,D,te,st):Ja)){oo=!1;break}bi||(bi="constructor"==Lr)}if(oo&&!bi){var na=c.constructor,qa=h.constructor;na!=qa&&"constructor"in c&&"constructor"in h&&!("function"==typeof na&&na instanceof na&&"function"==typeof qa&&qa instanceof qa)&&(oo=!1)}return st.delete(c),st.delete(h),oo}(c,h,D,te,Le,st))}(c,h,D,te,xc,Le))}function od(c,h,D,te){var Le=D.length,st=Le,xt=!te;if(null==c)return!st;for(c=Tn(c);Le--;){var Vt=D[Le];if(xt&&Vt[2]?Vt[1]!==c[Vt[0]]:!(Vt[0]in c))return!1}for(;++Le<st;){var nn=(Vt=D[Le])[0],Wn=c[nn],Xn=Vt[1];if(xt&&Vt[2]){if(Wn===s&&!(nn in c))return!1}else{var dr=new S;if(te)var Lr=te(Wn,Xn,nn,c,h,dr);if(!(Lr===s?xc(Xn,Wn,3,te,dr):Lr))return!1}}return!0}function af(c){return!(!Yo(c)||function bf(c){return!!pi&&pi in c}(c))&&(zc(c)?Gl:no).test(Fl(c))}function iu(c){return"function"==typeof c?c:null==c?Ra:"object"==typeof c?zi(c)?Au(c[0],c[1]):ld(c):qf(c)}function Jl(c){if(!Ga(c))return E(c);var h=[];for(var D in Tn(c))io.call(c,D)&&"constructor"!=D&&h.push(D);return h}function ad(c,h){return c<h}function is(c,h){var D=-1,te=Ya(c)?vn(c.length):[];return Yl(c,function(Le,st,xt){te[++D]=h(Le,st,xt)}),te}function ld(c){var h=mc(c);return 1==h.length&&h[0][2]?Sf(h[0][0],h[0][1]):function(D){return D===c||od(D,c,h)}}function Au(c,h){return Ci(c)&&Df(h)?Sf(Xa(c),h):function(D){var te=hp(D,c);return te===s&&te===h?pp(D,c):xc(h,te,3)}}function Sl(c,h,D,te,Le){c!==h&&nf(h,function(st,xt){if(Le||(Le=new S),Yo(st))!function Ma(c,h,D,te,Le,st,xt){var Vt=Sn(c,D),nn=Sn(h,D),Wn=xt.get(nn);if(Wn)br(c,D,Wn);else{var Xn=st?st(Vt,nn,D+"",c,h,xt):s,dr=Xn===s;if(dr){var Lr=zi(nn),ri=!Lr&&Wc(nn),Ii=!Lr&&!ri&&Hu(nn);Xn=nn,Lr||ri||Ii?zi(Vt)?Xn=Vt:Is(Vt)?Xn=ca(Vt):ri?(dr=!1,Xn=Jo(nn,!0)):Ii?(dr=!1,Xn=al(nn,!0)):Xn=[]:yu(nn)||Hc(nn)?(Xn=Vt,Hc(Vt)?Xn=Vg(Vt):(!Yo(Vt)||zc(Vt))&&(Xn=Bc(nn))):dr=!1}dr&&(xt.set(nn,Xn),Le(Xn,nn,te,st,xt),xt.delete(nn)),br(c,D,Xn)}}(c,h,xt,D,Sl,te,Le);else{var Vt=te?te(Sn(c,xt),st,xt+"",c,h,Le):s;Vt===s&&(Vt=st),br(c,xt,Vt)}},Za)}function uf(c,h){var D=c.length;if(D)return ul(h+=h<0?D:0,D)?c[h]:s}function df(c,h,D){h=h.length?fo(h,function(st){return zi(st)?function(xt){return Ql(xt,1===st.length?st[0]:st)}:st}):[Ra];var te=-1;return h=fo(h,oe(jr())),function yl(Wt,Mn){var vn=Wt.length;for(Wt.sort(Mn);vn--;)Wt[vn]=Wt[vn].value;return Wt}(is(c,function(st,xt,Vt){return{criteria:fo(h,function(Wn){return Wn(st)}),index:++te,value:st}}),function(st,xt){return function ll(c,h,D){for(var te=-1,Le=c.criteria,st=h.criteria,xt=Le.length,Vt=D.length;++te<xt;){var nn=xu(Le[te],st[te]);if(nn)return te>=Vt?nn:nn*("desc"==D[te]?-1:1)}return c.index-h.index}(st,xt,D)})}function Ou(c,h,D){for(var te=-1,Le=h.length,st={};++te<Le;){var xt=h[te],Vt=Ql(c,xt);D(Vt,xt)&&ws(st,ja(xt,c),Vt)}return st}function Aa(c,h,D,te){var Le=te?wo:vs,st=-1,xt=h.length,Vt=c;for(c===h&&(h=ca(h)),D&&(Vt=fo(c,oe(D)));++st<xt;)for(var nn=0,Wn=h[st],Xn=D?D(Wn):Wn;(nn=Le(Vt,Xn,nn,te))>-1;)Vt!==c&&sa.call(Vt,nn,1),sa.call(c,nn,1);return c}function ou(c,h){for(var D=c?h.length:0,te=D-1;D--;){var Le=h[D];if(D==te||Le!==st){var st=Le;ul(Le)?sa.call(c,Le,1):Zs(c,Le)}}return c}function Wo(c,h){return c+on(ie()*(h-c+1))}function si(c,h){var D="";if(!c||h<1||h>fe)return D;do{h%2&&(D+=c),(h=on(h/2))&&(c+=c)}while(h);return D}function ni(c,h){return Bu(If(c,h,Ra),c+"")}function sl(c){return Qt(Cc(c))}function js(c,h){var D=Cc(c);return tc(D,go(h,0,D.length))}function ws(c,h,D,te){if(!Yo(c))return c;for(var Le=-1,st=(h=ja(h,c)).length,xt=st-1,Vt=c;null!=Vt&&++Le<st;){var nn=Xa(h[Le]),Wn=D;if("__proto__"===nn||"constructor"===nn||"prototype"===nn)return c;if(Le!=xt){var Xn=Vt[nn];(Wn=te?te(Xn,nn,Vt):s)===s&&(Wn=Yo(Xn)?Xn:ul(h[Le+1])?[]:{})}ai(Vt,nn,Wn),Vt=Vt[nn]}return c}var ql=kn?function(c,h){return kn.set(c,h),c}:Ra,zo=ae?function(c,h){return ae(c,"toString",{configurable:!0,enumerable:!1,value:Xf(h),writable:!0})}:Ra;function Cs(c){return tc(Cc(c))}function fs(c,h,D){var te=-1,Le=c.length;h<0&&(h=-h>Le?0:Le+h),(D=D>Le?Le:D)<0&&(D+=Le),Le=h>D?0:D-h>>>0,h>>>=0;for(var st=vn(Le);++te<Le;)st[te]=c[te+h];return st}function Ti(c,h){var D;return Yl(c,function(te,Le,st){return!(D=h(te,Le,st))}),!!D}function ec(c,h,D){var te=0,Le=null==c?te:c.length;if("number"==typeof h&&h==h&&Le<=2147483647){for(;te<Le;){var st=te+Le>>>1,xt=c[st];null!==xt&&!fl(xt)&&(D?xt<=h:xt<h)?te=st+1:Le=st}return Le}return Pu(c,h,Ra,D)}function Pu(c,h,D,te){var Le=0,st=null==c?0:c.length;if(0===st)return 0;for(var xt=(h=D(h))!=h,Vt=null===h,nn=fl(h),Wn=h===s;Le<st;){var Xn=on((Le+st)/2),dr=D(c[Xn]),Lr=dr!==s,ri=null===dr,Ii=dr==dr,oo=fl(dr);if(xt)var bi=te||Ii;else bi=Wn?Ii&&(te||Lr):Vt?Ii&&Lr&&(te||!ri):nn?Ii&&Lr&&!ri&&(te||!oo):!ri&&!oo&&
vendor: 4,087 bytes, line 1
1(te?dr<=h:dr<h);bi?Le=Xn+1:st=Xn}return v(st,se)}function fc(c,h){for(var D=-1,te=c.length,Le=0,st=[];++D<te;){var xt=c[D],Vt=h?h(xt):xt;if(!D||!Bl(Vt,nn)){var nn=Vt;st[Le++]=0===xt?0:xt}}return st}function Xo(c){return"number"==typeof c?c:fl(c)?NaN:+c}function Ts(c){if("string"==typeof c)return c;if(zi(c))return fo(c,Ts)+"";if(fl(c))return Ri?Ri.call(c):"";var h=c+"";return"0"==h&&1/c==-ze?"-0":h}function Rs(c,h,D){var te=-1,Le=Qo,st=c.length,xt=!0,Vt=[],nn=Vt;if(D)xt=!1,Le=Ys;else if(st>=200){var Wn=h?null:Ru(c);if(Wn)return Li(Wn);xt=!1,Le=Ne,nn=new Xl}else nn=h?[]:Vt;e:for(;++te<st;){var Xn=c[te],dr=h?h(Xn):Xn;if(Xn=D||0!==Xn?Xn:0,xt&&dr==dr){for(var Lr=nn.length;Lr--;)if(nn[Lr]===dr)continue e;h&&nn.push(dr),Vt.push(Xn)}else Le(nn,dr,D)||(nn!==Vt&&nn.push(dr),Vt.push(Xn))}return Vt}function Zs(c,h){return null==(c=Mf(c,h=ja(h,c)))||delete c[Xa(gn(h))]}function wl(c,h,D,te){return ws(c,h,D(Ql(c,h)),te)}function su(c,h,D,te){for(var Le=c.length,st=te?Le:-1;(te?st--:++st<Le)&&h(c[st],st,c););return D?fs(c,te?0:st,te?st+1:Le):fs(c,te?st+1:0,te?Le:st)}function kl(c,h){var D=c;return D instanceof qr&&(D=D.value()),ba(h,function(te,Le){return Le.func.apply(Le.thisArg,Uo([te],Le.args))},D)}function Va(c,h,D){var te=c.length;if(te<2)return te?Rs(c[0]):[];for(var Le=-1,st=vn(te);++Le<te;)for(var xt=c[Le],Vt=-1;++Vt<te;)Vt!=Le&&(st[Le]=Ia(st[Le]||xt,c[Vt],h,D));return Rs(Es(st,1),h,D)}function Oa(c,h,D){for(var te=-1,Le=c.length,st=h.length,xt={};++te<Le;)D(xt,c[te],te<st?h[te]:s);return xt}function zr(c){return Is(c)?c:[]}function au(c){return"function"==typeof c?c:Ra}function ja(c,h){return zi(c)?c:Ci(c,h)?[c]:Ka(ko(c))}var Tl=ni;function ya(c,h,D){var te=c.length;return D=D===s?te:D,!h&&D>=te?c:fs(c,h,D)}var Ha=lt||function(c){return ln.clearTimeout(c)};function Jo(c,h){if(h)return c.slice();var D=c.length,te=Vi?Vi(D):new c.constructor(D);return c.copy(te),te}function Nc(c){var h=new c.constructor(c.byteLength);return new il(h).set(new il(c)),h}function al(c,h){var D=h?Nc(c.buffer):c.buffer;return new c.constructor(D,c.byteOffset,c.length)}function xu(c,h){if(c!==h){var D=c!==s,te=null===c,Le=c==c,st=fl(c),xt=h!==s,Vt=null===h,nn=h==h,Wn=fl(h);if(!Vt&&!Wn&&!st&&c>h||st&&xt&&nn&&!Vt&&!Wn||te&&xt&&nn||!D&&nn||!Le)return 1;if(!te&&!st&&!Wn&&c<h||Wn&&D&&Le&&!te&&!st||Vt&&D&&Le||!xt&&Le||!nn)return-1}return 0}function hc(c,h,D,te){for(var Le=-1,st=c.length,xt=D.length,Vt=-1,nn=h.length,Wn=y(st-xt,0),Xn=vn(nn+Wn),dr=!te;++Vt<nn;)Xn[Vt]=h[Vt];for(;++Le<xt;)(dr||Le<st)&&(Xn[D[Le]]=c[Le]);for(;Wn--;)Xn[Vt++]=c[Le++];return Xn}function cd(c,h,D,te){for(var Le=-1,st=c.length,xt=-1,Vt=D.length,nn=-1,Wn=h.length,Xn=y(st-Vt,0),dr=vn(Xn+Wn),Lr=!te;++Le<Xn;)dr[Le]=c[Le];for(var ri=Le;++nn<Wn;)dr[ri+nn]=h[nn];for(;++xt<Vt;)(Lr||Le<st)&&(dr[ri+D[xt]]=c[Le++]);return dr}function ca(c,h){var D=-1,te=c.length;for(h||(h=vn(te));++D<te;)h[D]=c[D];return h}function Wa(c,h,D,te){var Le=!D;D||(D={});for(var st=-1,xt=h.length;++st<xt;){var Vt=h[st],nn=te?te(D[Vt],c[Vt],Vt,D,c):s;nn===s&&(nn=c[Vt]),Le?Xr(D,Vt,nn):ai(D,Vt,nn)}return D}function pc(c,h){return function(D,te){var Le=zi(D)?gs:wi,st=h?h():{};return Le(D,c,jr(te,2),st)}}function Lc(c){return ni(function(h,D){var te=-1,Le=D.length,st=Le>1?D[Le-1]:s,xt=Le>2?D[2]:s;for(st=c.length>3&&"function"==typeof st?(Le--,st):s,xt&&qo(D[0],D[1],xt)&&(st=Le<3?s:st,Le=1),h=Tn(h);++te<Le;){var Vt=D[te];Vt&&c(h,Vt,te,st)}return h})}function pf(c,h){return function(D,te){if(null==D)return D;if(!Ya(D))return c(D,te);for(var Le=D.length,st=h?Le:-1,xt=Tn(D);(h?st--:++st<Le)&&!1!==te(xt[st],st,xt););return D}}function gf(c){return function(h,D,te){for(var Le=-1,st=Tn(h),xt=te(h),Vt=xt.length;Vt--;){var nn=xt[c?Vt:++Le];if(!1===D(st[nn],nn,st))break}return h}}function Fh(c){return function(h){var D=Br(h=ko(h))?Os(h):s,te=D?D[0]:h.charAt(0),Le=D?ya(D,1).join(""):h.slice(1);return te[c]()+Le}}function $c(c){return function(h){return ba(Kf(_u(h).replace(ra,"")),c,"")}}function lu(c){return function(){var h=arguments;switch(h.length){case 0:return new c;case 1:return new c(h[0]);case 2:return new c(h[0],h[1]);
vendor: 31,732 bytes, line 1
1case 3:return new c(h[0],h[1],h[2]);case 4:return new c(h[0],h[1],h[2],h[3]);case 5:return new c(h[0],h[1],h[2],h[3],h[4]);case 6:return new c(h[0],h[1],h[2],h[3],h[4],h[5]);case 7:return new c(h[0],h[1],h[2],h[3],h[4],h[5],h[6])}var D=Zr(c.prototype),te=c.apply(D,h);return Yo(te)?te:D}}function mf(c){return function(h,D,te){var Le=Tn(h);if(!Ya(h)){var st=jr(D,3);h=ta(h),D=function(Vt){return st(Le[Vt],Vt,Le)}}var xt=c(h,D,te);return xt>-1?Le[st?h[xt]:xt]:s}}function Bh(c){return Ls(function(h){var D=h.length,te=D,Le=$i.prototype.thru;for(c&&h.reverse();te--;){var st=h[te];if("function"!=typeof st)throw new cs(F);if(Le&&!xt&&"wrapper"==gc(st))var xt=new $i([],!0)}for(te=xt?te:D;++te<D;){var Vt=gc(st=h[te]),nn="wrapper"==Vt?mo(st):s;xt=nn&&fu(nn[0])&&424==nn[1]&&!nn[4].length&&1==nn[9]?xt[gc(nn[0])].apply(xt,nn[3]):1==st.length&&fu(st)?xt[Vt]():xt.thru(st)}return function(){var Wn=arguments,Xn=Wn[0];if(xt&&1==Wn.length&&zi(Xn))return xt.plant(Xn).value();for(var dr=0,Lr=D?h[dr].apply(this,Wn):Xn;++dr<D;)Lr=h[dr].call(this,Lr);return Lr}})}function ud(c,h,D,te,Le,st,xt,Vt,nn,Wn){var Xn=128&h,dr=1&h,Lr=2&h,ri=24&h,Ii=512&h,oo=Lr?s:lu(c);return function bi(){for(var _o=arguments.length,Mo=vn(_o),Ja=_o;Ja--;)Mo[Ja]=arguments[Ja];if(ri)var na=Il(bi),qa=function On(Wt,Mn){for(var vn=Wt.length,Nr=0;vn--;)Wt[vn]===Mn&&++Nr;return Nr}(Mo,na);if(te&&(Mo=hc(Mo,te,Le,ri)),st&&(Mo=cd(Mo,st,xt,ri)),_o-=qa,ri&&_o<Wn){var ps=ls(Mo,na);return hd(c,h,ud,bi.placeholder,D,Mo,ps,Vt,nn,Wn-_o)}var Ul=dr?D:this,Na=Lr?Ul[c]:c;return _o=Mo.length,Vt?Mo=function Wh(c,h){for(var D=c.length,te=v(h.length,D),Le=ca(c);te--;){var st=h[te];c[te]=ul(st,D)?Le[st]:s}return c}(Mo,Vt):Ii&&_o>1&&Mo.reverse(),Xn&&nn<_o&&(Mo.length=nn),this&&this!==ln&&this instanceof bi&&(Na=oo||lu(Na)),Na.apply(Ul,Mo)}}function vf(c,h){return function(D,te){return function Ua(c,h,D,te){return bl(c,function(Le,st,xt){h(te,D(Le),st,xt)}),te}(D,c,h(te),{})}}function kc(c,h){return function(D,te){var Le;if(D===s&&te===s)return h;if(D!==s&&(Le=D),te!==s){if(Le===s)return te;"string"==typeof D||"string"==typeof te?(D=Ts(D),te=Ts(te)):(D=Xo(D),te=Xo(te)),Le=c(D,te)}return Le}}function cu(c){return Ls(function(h){return h=fo(h,oe(jr())),ni(function(D){var te=this;return c(h,function(Le){return Do(Le,te,D)})})})}function dd(c,h){var D=(h=h===s?" ":Ts(h)).length;if(D<2)return D?si(h,c):h;var te=si(h,vt(c/jo(h)));return Br(h)?ya(Os(te),0,c).join(""):te.slice(0,c)}function Vh(c){return function(h,D,te){return te&&"number"!=typeof te&&qo(h,D,te)&&(D=te=s),h=ss(h),D===s?(D=h,h=0):D=ss(D),function vr(c,h,D,te){for(var Le=-1,st=y(vt((h-c)/(D||1)),0),xt=vn(st);st--;)xt[te?st:++Le]=c,c+=D;return xt}(h,D,te=te===s?h<D?1:-1:ss(te),c)}}function fd(c){return function(h,D){return"string"==typeof h&&"string"==typeof D||(h=hl(h),D=hl(D)),c(h,D)}}function hd(c,h,D,te,Le,st,xt,Vt,nn,Wn){var Xn=8&h;h|=Xn?32:64,4&(h&=~(Xn?64:32))||(h&=-4);var oo=[c,h,Le,Xn?st:s,Xn?xt:s,Xn?s:st,Xn?s:xt,Vt,nn,Wn],bi=D.apply(s,oo);return fu(c)&&Xi(bi,oo),bi.placeholder=te,Ro(bi,c,h)}function uu(c){var h=Ko[c];return function(D,te){if(D=hl(D),(te=null==te?0:v(ki(te),292))&&Hr(D)){var Le=(ko(D)+"e").split("e");return+((Le=(ko(h(Le[0]+"e"+(+Le[1]+te)))+"e").split("e"))[0]+"e"+(+Le[1]-te))}return h(D)}}var Ru=qt&&1/Li(new qt([,-0]))[1]==ze?function(c){return new qt(c)}:Kc;function pd(c){return function(h){var D=qs(h);return D==Fn?es(h):D==Kt?function Nl(Wt){var Mn=-1,vn=Array(Wt.size);return Wt.forEach(function(Nr){vn[++Mn]=[Nr,Nr]}),vn}(h):function Fs(Wt,Mn){return fo(Mn,function(vn){return[vn,Wt[vn]]})}(h,c(h))}}function cl(c,h,D,te,Le,st,xt,Vt){var nn=2&h;if(!nn&&"function"!=typeof c)throw new cs(F);var Wn=te?te.length:0;if(Wn||(h&=-97,te=Le=s),xt=xt===s?xt:y(ki(xt),0),Vt=Vt===s?Vt:ki(Vt),Wn-=Le?Le.length:0,64&h){var Xn=te,dr=Le;te=Le=s}var Lr=nn?s:mo(c),ri=[c,h,D,te,Le,Xn,dr,st,xt,Vt];if(Lr&&function vc(c,h){var D=c[1],te=h[1],Le=D|te;if(!(Le<131)&&!(128==te&&8==D||128==te&&256==D&&c[7].length<=h[8]||384==te&&h[7].length<=h[8]&&8==D))return c;1&te&&(c[2]=h[2],Le|=1&D?0:4);var Vt=h[3];if(Vt){var nn=c[3];c[3]=nn?hc(nn,Vt,h[4]):Vt,c[4]=nn?ls(c[3],L):h[4]}(Vt=h[5])&&(c[5]=(nn=c[5])?cd(nn,Vt,h[6]):Vt,c[6]=nn?ls(c[5],L):h[6]),(Vt=h[7])&&(c[7]=Vt),128&te&&(c[8]=null==c[8]?h[8]:v(c[8],h[8])),null==c[9]&&(c[9]=h[9]),c[0]=h[0],c[1]=Le}(ri,Lr),c=ri[0],h=ri[1],D=ri[2],te=ri[3],Le=ri[4],!(Vt=ri[9]=ri[9]===s?nn?0:c.length:y(ri[9]-Wn,0))&&24&h&&(h&=-25),h&&1!=h)Ii=8==h||16==h?function gg(c,h,D){var te=lu(c);return function Le(){for(var st=arguments.length,xt=vn(st),Vt=st,nn=Il(Le);Vt--;)xt[Vt]=arguments[Vt];var Wn=st<3&&xt[0]!==nn&&xt[st-1]!==nn?[]:ls(xt,nn);return(st-=Wn.length)<D?hd(c,h,ud,Le.placeholder,s,xt,Wn,s,s,D-st):Do(this&&this!==ln&&this instanceof Le?te:c,this,xt)}}(c,h,Vt):32!=h&&33!=h||Le.length?ud.apply(s,ri):function Uh(c,h,D,te){var Le=1&h,st=lu(c);return function xt(){for(var Vt=-1,nn=arguments.length,Wn=-1,Xn=te.length,dr=vn(Xn+nn),Lr=this&&this!==ln&&this instanceof xt?st:c;++Wn<Xn;)dr[Wn]=te[Wn];for(;nn--;)dr[Wn++]=arguments[++Vt];return Do(Lr,Le?D:this,dr)}}(c,h,D,te);else var Ii=function pg(c,h,D){var te=1&h,Le=lu(c);return function st(){return(this&&this!==ln&&this instanceof st?Le:c).apply(te?D:this,arguments)}}(c,h,D);return Ro((Lr?ql:Xi)(Ii,ri),c,h)}function gd(c,h,D,te){return c===s||Bl(c,ia[D])&&!io.call(te,D)?h:c}function md(c,h,D,te,Le,st){return Yo(c)&&Yo(h)&&(st.set(h,c),Sl(c,h,s,md,st),st.delete(h)),c}function yf(c){return yu(c)?s:c}function _f(c,h,D,te,Le,st){var xt=1&D,Vt=c.length,nn=h.length;if(Vt!=nn&&!(xt&&nn>Vt))return!1;var Wn=st.get(c),Xn=st.get(h);if(Wn&&Xn)return Wn==h&&Xn==c;var dr=-1,Lr=!0,ri=2&D?new Xl:s;for(st.set(c,h),st.set(h,c);++dr<Vt;){var Ii=c[dr],oo=h[dr];if(te)var bi=xt?te(oo,Ii,dr,h,c,st):te(Ii,oo,dr,c,h,st);if(bi!==s){if(bi)continue;Lr=!1;break}if(ri){if(!As(h,function(_o,Mo){if(!Ne(ri,Mo)&&(Ii===_o||Le(Ii,_o,D,te,st)))return ri.push(Mo)})){Lr=!1;break}}else if(Ii!==oo&&!Le(Ii,oo,D,te,st)){Lr=!1;break}}return st.delete(c),st.delete(h),Lr}function Ls(c){return Bu(If(c,s,Ze),c+"")}function Nu(c){return Zl(c,ta,yd)}function Fc(c){return Zl(c,Za,$u)}var mo=kn?function(c){return kn.get(c)}:Kc;function gc(c){for(var h=c.name+"",D=fr[h],te=io.call(fr,h)?D.length:0;te--;){var Le=D[te],st=Le.func;if(null==st||st==c)return Le.name}return h}function Il(c){return(io.call(He,"placeholder")?He:c).placeholder}function jr(){var c=He.iteratee||Qf;return c=c===Qf?iu:c,arguments.length?c(arguments[0],arguments[1]):c}function Lu(c,h){var D=c.__data__;return function du(c){var h=typeof c;return"string"==h||"number"==h||"symbol"==h||"boolean"==h?"__proto__"!==c:null===c}(h)?D["string"==typeof h?"string":"hash"]:D.map}function mc(c){for(var h=ta(c),D=h.length;D--;){var te=h[D],Le=c[te];h[D]=[te,Le,Df(Le)]}return h}function Pa(c,h){var D=function Go(Wt,Mn){return null==Wt?s:Wt[Mn]}(c,h);return af(D)?D:s}var yd=Hn?function(c){return null==c?[]:(c=Tn(c),ks(Hn(c),function(h){return Ds.call(c,h)}))}:bc,$u=Hn?function(c){for(var h=[];c;)Uo(h,yd(c)),c=ol(c);return h}:bc,qs=Qs;function _d(c,h,D){for(var te=-1,Le=(h=ja(h,c)).length,st=!1;++te<Le;){var xt=Xa(h[te]);if(!(st=null!=c&&D(c,xt)))break;c=c[xt]}return st||++te!=Le?st:!!(Le=null==c?0:c.length)&&Ec(Le)&&ul(xt,Le)&&(zi(c)||Hc(c))}function Bc(c){return"function"!=typeof c.constructor||Ga(c)?{}:Zr(ol(c))}function Fu(c){return zi(c)||Hc(c)||!!(us&&c&&c[us])}function ul(c,h){var D=typeof c;return!!(h=null==h?fe:h)&&("number"==D||"symbol"!=D&&lo.test(c))&&c>-1&&c%1==0&&c<h}function qo(c,h,D){if(!Yo(D))return!1;var te=typeof h;return!!("number"==te?Ya(D)&&ul(h,D.length):"string"==te&&h in D)&&Bl(D[h],c)}function Ci(c,h){if(zi(c))return!1;var D=typeof c;return!("number"!=D&&"symbol"!=D&&"boolean"!=D&&null!=c&&!fl(c))||Nn.test(c)||!Gt.test(c)||null!=h&&c in Tn(h)}function fu(c){var h=gc(c),D=He[h];if("function"!=typeof D||!(h in qr.prototype))return!1;if(c===D)return!0;var te=mo(D);return!!te&&c===te[0]}(rt&&qs(new rt(new ArrayBuffer(1)))!=ei||ut&&qs(new ut)!=Fn||At&&qs(At.resolve())!=ht||qt&&qs(new qt)!=Kt||hn&&qs(new hn)!=$n)&&(qs=function(c){var h=Qs(c),D=h==Qn?c.constructor:s,te=D?Fl(D):"";if(te)switch(te){case pn:return ei;case yn:return Fn;case mr:return ht;case Dr:return Kt;case Si:return $n}return h});var mg=El?zc:Tp;function Ga(c){var h=c&&c.constructor;return c===("function"==typeof h&&h.prototype||ia)}function Df(c){return c==c&&!Yo(c)}function Sf(c,h){return function(D){return null!=D&&D[c]===h&&(h!==s||c in Tn(D))}}function If(c,h,D){return h=y(h===s?c.length-1:h,0),function(){for(var te=arguments,Le=-1,st=y(te.length-h,0),xt=vn(st);++Le<st;)xt[Le]=te[h+Le];Le=-1;for(var Vt=vn(h+1);++Le<h;)Vt[Le]=te[Le];return Vt[h]=D(xt),Do(c,this,Vt)}}function Mf(c,h){return h.length<2?c:Ql(c,fs(h,0,-1))}function Sn(c,h){if(("constructor"!==h||"function"!=typeof c[h])&&"__proto__"!=h)return c[h]}var Xi=Cd(ql),Uc=Ge||function(c,h){return ln.setTimeout(c,h)},Bu=Cd(zo);function Ro(c,h,D){var te=h+"";return Bu(c,function ku(c,h){var D=h.length;if(!D)return c;var te=D-1;return h[te]=(D>1?"& ":"")+h[te],h=h.join(D>2?", ":" "),c.replace(Fi,"{\n/* [wrapped with "+h+"] */\n")}(te,function Af(c,h){return Ai(at,function(D){var te="_."+D[0];h&D[1]&&!Qo(c,te)&&c.push(te)}),c.sort()}(function Ef(c){var h=c.match(ao);return h?h[1].split(Oo):[]}(te),D)))}function Cd(c){var h=0,D=0;return function(){var te=b(),Le=16-(te-D);if(D=te,Le>0){if(++h>=800)return arguments[0]}else h=0;return c.apply(s,arguments)}}function tc(c,h){var D=-1,te=c.length,Le=te-1;for(h=h===s?te:h;++D<h;){var st=Wo(D,Le),xt=c[st];c[st]=c[D],c[D]=xt}return c.length=h,c}var Ka=function wf(c){var h=ip(c,function(te){return 500===D.size&&D.clear(),te}),D=h.cache;return h}(function(c){var h=[];return 46===c.charCodeAt(0)&&h.push(""),c.replace(Sr,function(D,te,Le,st){h.push(Le?st.replace(Qr,"$1"):te||D)}),h});function Xa(c){if("string"==typeof c||fl(c))return c;var h=c+"";return"0"==h&&1/c==-ze?"-0":h}function Fl(c){if(null!=c){try{return xs.call(c)}catch(h){}try{return c+""}catch(h){}}return""}function zh(c){if(c instanceof qr)return c.clone();var h=new $i(c.__wrapped__,c.__chain__);return h.__actions__=ca(c.__actions__),h.__index__=c.__index__,h.__values__=c.__values__,h}var p=ni(function(c,h){return Is(c)?Ia(c,Es(h,1,Is,!0)):[]}),_=ni(function(c,h){var D=gn(h);return Is(D)&&(D=s),Is(c)?Ia(c,Es(h,1,Is,!0),jr(D,2)):[]}),I=ni(function(c,h){var D=gn(h);return Is(D)&&(D=s),Is(c)?Ia(c,Es(h,1,Is,!0),s,D):[]});function De(c,h,D){var te=null==c?0:c.length;if(!te)return-1;var Le=null==D?0:ki(D);return Le<0&&(Le=y(te+Le,0)),ho(c,jr(h,3),Le)}function xe(c,h,D){var te=null==c?0:c.length;if(!te)return-1;var Le=te-1;return D!==s&&(Le=ki(D),Le=D<0?y(te+Le,0):v(Le,te-1)),ho(c,jr(h,3),Le,!0)}function Ze(c){return null!=c&&c.length?Es(c,1):[]}function Xe(c){return c&&c.length?c[0]:s}var Ut=ni(function(c){var h=fo(c,zr);return h.length&&h[0]===c[0]?Pc(h):[]}),_n=ni(function(c){var h=gn(c),D=fo(c,zr);return h===gn(D)?h=s:D.pop(),D.length&&D[0]===c[0]?Pc(D,jr(h,2)):[]}),nr=ni(function(c){var h=gn(c),D=fo(c,zr);return(h="function"==typeof h?h:s)&&D.pop(),D.length&&D[0]===c[0]?Pc(D,s,h):[]});function gn(c){var h=null==c?0:c.length;return h?c[h-1]:s}var Gn=ni(rn);function rn(c,h){return c&&c.length&&h&&h.length?Aa(c,h):c}var gr=Ls(function(c,h){var D=null==c?0:c.length,te=Bo(c,h);return ou(c,fo(h,function(Le){return ul(Le,D)?+Le:Le}).sort(xu)),te});function Xt(c){return null==c?c:be.call(c)}var Uu=ni(function(c){return Rs(Es(c,1,Is,!0))}),bd=ni(function(c){var h=gn(c);return Is(h)&&(h=s),Rs(Es(c,1,Is,!0),jr(h,2))}),Of=ni(function(c){var h=gn(c);return h="function"==typeof h?h:s,Rs(Es(c,1,Is,!0),s,h)});function yc(c){if(!c||!c.length)return[];var h=0;return c=ks(c,function(D){if(Is(D))return h=y(D.length,h),!0}),tl(h,function(D){return fo(c,vl(D))})}function Ml(c,h){if(!c||!c.length)return[];var D=yc(c);return null==h?D:fo(D,function(te){return Do(h,s,te)})}var hu=ni(function(c,h){return Is(c)?Ia(c,h):[]}),_c=ni(function(c){return Va(ks(c,Is))}),pu=ni(function(c){var h=gn(c);return Is(h)&&(h=s),Va(ks(c,Is),jr(h,2))}),Vc=ni(function(c){var h=gn(c);return h="function"==typeof h?h:s,Va(ks(c,Is),s,h)}),gu=ni(yc),F_=ni(function(c){var h=c.length,D=h>1?c[h-1]:s;return D="function"==typeof D?(c.pop(),D):s,Ml(c,D)});function Kh(c){var h=He(c);return h.__chain__=!0,h}function Rf(c,h){return h(c)}var nc=Ls(function(c){var h=c.length,D=h?c[0]:0,te=this.__wrapped__,Le=function(st){return Bo(st,c)};return!(h>1||this.__actions__.length)&&te instanceof qr&&ul(D)?((te=te.slice(D,+D+(h?1:0))).__actions__.push({func:Rf,args:[Le],thisArg:s}),new $i(te,this.__chain__).thru(function(st){return h&&!st.length&&st.push(s),st})):this.thru(Le)}),_g=pc(function(c,h,D){io.call(c,D)?++c[D]:Xr(c,D,1)}),bg=mf(De),Dv=mf(xe);function Qh(c,h){return(zi(c)?Ai:Yl)(c,jr(h,3))}function Zh(c,h){return(zi(c)?bs:tf)(c,jr(h,3))}var Vu=pc(function(c,h,D){io.call(c,D)?c[D].push(h):Xr(c,D,[h])}),Hs=ni(function(c,h,D){var te=-1,Le="function"==typeof h,st=Ya(c)?vn(c.length):[];return Yl(c,function(xt){st[++te]=Le?Do(h,xt,D):Dl(xt,h,D)}),st}),wv=pc(function(c,h,D){Xr(c,D,h)});function wd(c,h){return(zi(c)?fo:is)(c,jr(h,3))}var Tv=pc(function(c,h,D){c[D?0:1].push(h)},function(){return[[],[]]}),Av=ni(function(c,h){if(null==c)return[];var D=h.length;return D>1&&qo(c,h[0],h[1])?h=[]:D>2&&qo(h[0],h[1],h[2])&&(h=[h[0]]),df(c,Es(h,1),[])}),Bf=ne||function(){return ln.Date.now()};function Ig(c,h,D){return h=D?s:h,cl(c,128,s,s,s,s,h=c&&null==h?c.length:h)}function ep(c,h){var D;if("function"!=typeof h)throw new cs(F);return c=ki(c),function(){return--c>0&&(D=h.apply(this,arguments)),c<=1&&(h=s),D}}var tp=ni(function(c,h,D){var te=1;if(D.length){var Le=ls(D,Il(tp));te|=32}return cl(c,te,h,D,Le)}),Mg=ni(function(c,h,D){var te=3;if(D.length){var Le=ls(D,Il(Mg));te|=32}return cl(h,te,c,D,Le)});function rp(c,h,D){var te,Le,st,xt,Vt,nn,Wn=0,Xn=!1,dr=!1,Lr=!0;if("function"!=typeof c)throw new cs(F);function ri(ps){var Ul=te,Na=Le;return te=Le=s,Wn=ps,xt=c.apply(Na,Ul)}function bi(ps){var Ul=ps-nn;return nn===s||Ul>=h||Ul<0||dr&&ps-Wn>=st}function _o(){var ps=Bf();if(bi(ps))return Mo(ps);Vt=Uc(_o,function oo(ps){var Ip=h-(ps-nn);return dr?v(Ip,st-(ps-Wn)):Ip}(ps))}function Mo(ps){return Vt=s,Lr&&te?ri(ps):(te=Le=s,xt)}function qa(){var ps=Bf(),Ul=bi(ps);if(te=arguments,Le=this,nn=ps,Ul){if(Vt===s)return function Ii(ps){return Wn=ps,Vt=Uc(_o,h),Xn?ri(ps):xt}(nn);if(dr)return Ha(Vt),Vt=Uc(_o,h),ri(nn)}return Vt===s&&(Vt=Uc(_o,h)),xt}return h=hl(h)||0,Yo(D)&&(Xn=!!D.leading,st=(dr="maxWait"in D)?y(hl(D.maxWait)||0,h):st,Lr="trailing"in D?!!D.trailing:Lr),qa.cancel=function Ja(){Vt!==s&&Ha(Vt),Wn=0,te=nn=Le=Vt=s},qa.flush=function na(){return Vt===s?xt:Mo(Bf())},qa}var ea=ni(function(c,h){return qc(c,1,h)}),B_=ni(function(c,h,D){return qc(c,hl(h)||0,D)});function ip(c,h){if("function"!=typeof c||null!=h&&"function"!=typeof h)throw new cs(F);var D=function(){var te=arguments,Le=h?h.apply(this,te):te[0],st=D.cache;if(st.has(Le))return st.get(Le);var xt=c.apply(this,te);return D.cache=st.set(Le,xt)||st,xt};return D.cache=new(ip.Cache||la),D}function Td(c){if("function"!=typeof c)throw new cs(F);return function(){var h=arguments;switch(h.length){case 0:return!c.call(this);case 1:return!c.call(this,h[0]);case 2:return!c.call(this,h[0],h[1]);case 3:return!c.call(this,h[0],h[1],h[2])}return!c.apply(this,h)}}ip.Cache=la;var op=Tl(function(c,h){var D=(h=1==h.length&&zi(h[0])?fo(h[0],oe(jr())):fo(Es(h,1),oe(jr()))).length;return ni(function(te){for(var Le=-1,st=v(te.length,D);++Le<st;)te[Le]=h[Le].call(this,te[Le]);return Do(c,this,te)})}),jc=ni(function(c,h){var D=ls(h,Il(jc));return cl(c,32,s,h,D)}),Ag=ni(function(c,h){var D=ls(h,Il(Ag));return cl(c,64,s,h,D)}),xv=Ls(function(c,h){return cl(c,256,s,s,s,h)});function Bl(c,h){return c===h||c!=c&&h!=h}var Lv=fd(ru),ap=fd(function(c,h){return c>=h}),Hc=Mu(function(){return arguments}())?Mu:function(c){return hs(c)&&io.call(c,"callee")&&!Ds.call(c,"callee")},zi=vn.isArray,lp=Gi?oe(Gi):function rf(c){return hs(c)&&Qs(c)==Ar};function Ya(c){return null!=c&&Ec(c.length)&&!zc(c)}function Is(c){return hs(c)&&Ya(c)}var Wc=yi||Tp,ic=Wi?oe(Wi):function Rh(c){return hs(c)&&Qs(c)==mn};function Ng(c){if(!hs(c))return!1;var h=Qs(c);return h==hr||"[object DOMException]"==h||"string"==typeof c.message&&"string"==typeof c.name&&!yu(c)}function zc(c){if(!Yo(c))return!1;var h=Qs(c);return h==$r||h==ur||"[object AsyncFunction]"==h||"[object Proxy]"==h}function Lg(c){return"number"==typeof c&&c==ki(c)}function Ec(c){return"number"==typeof c&&c>-1&&c%1==0&&c<=fe}function Yo(c){var h=typeof c;return null!=c&&("object"==h||"function"==h)}function hs(c){return null!=c&&"object"==typeof c}var $g=so?oe(so):function sf(c){return hs(c)&&qs(c)==Fn};function Md(c){return"number"==typeof c||hs(c)&&Qs(c)==cr}function yu(c){if(!hs(c)||Qs(c)!=Qn)return!1;var h=ol(c);if(null===h)return!0;var D=io.call(h,"constructor")&&h.constructor;return"function"==typeof D&&D instanceof D&&xs.call(D)==Cl}var up=Eo?oe(Eo):function sd(c){return hs(c)&&Qs(c)==It},Bg=Co?oe(Co):function lf(c){return hs(c)&&qs(c)==Kt};function Ad(c){return"string"==typeof c||!zi(c)&&hs(c)&&Qs(c)==Zn}function fl(c){return"symbol"==typeof c||hs(c)&&Qs(c)==Ir}var Hu=Jn?oe(Jn):function cf(c){return hs(c)&&Ec(c.length)&&!!Hi[Qs(c)]},jf=fd(ad),G_=fd(function(c,h){return c<=h});function Bv(c){if(!c)return[];if(Ya(c))return Ad(c)?Os(c):ca(c);if(Us&&c[Us])return function Rl(Wt){for(var Mn,vn=[];!(Mn=Wt.next()).done;)vn.push(Mn.value);return vn}(c[Us]());var h=qs(c);return(h==Fn?es:h==Kt?Li:Cc)(c)}function ss(c){return c?(c=hl(c))===ze||c===-ze?17976931348623157e292*(c<0?-1:1):c==c?c:0:0===c?c:0}function ki(c){var h=ss(c),D=h%1;return h==h?D?h-D:h:0}function fp(c){return c?go(ki(c),0,$):0}function hl(c){if("number"==typeof c)return c;if(fl(c))return NaN;if(Yo(c)){var h="function"==typeof c.valueOf?c.valueOf():c;c=Yo(h)?h+"":h}if("string"!=typeof c)return 0===c?c:+c;c=wa(c);var D=hi.test(c);return D||ji.test(c)?$t(c.slice(2),D?2:8):vo.test(c)?NaN:+c}function Vg(c){return Wa(c,Za(c))}function ko(c){return null==c?"":Ts(c)}var Hg=Lc(function(c,h){if(Ga(h)||Ya(h))Wa(h,ta(h),c);else for(var D in h)io.call(h,D)&&ai(c,D,h[D])}),Wg=Lc(function(c,h){Wa(h,Za(h),c)}),Od=Lc(function(c,h,D,te){Wa(h,Za(h),c,te)}),Uv=Lc(function(c,h,D,te){Wa(h,ta(h),c,te)}),Vv=Ls(Bo),Hv=ni(function(c,h){c=Tn(c);var D=-1,te=h.length,Le=te>2?h[2]:s;for(Le&&qo(h[0],h[1],Le)&&(te=1);++D<te;)for(var st=h[D],xt=Za(st),Vt=-1,nn=xt.length;++Vt<nn;){var Wn=xt[Vt],Xn=c[Wn];(Xn===s||Bl(Xn,ia[Wn])&&!io.call(c,Wn))&&(c[Wn]=st[Wn])}return c}),zg=ni(function(c){return c.push(s,md),Do(Wf,s,c)});function hp(c,h,D){var te=null==c?s:Ql(c,h);return te===s?D:te}function pp(c,h){return null!=c&&_d(c,h,xh)}var Jg=vf(function(c,h,D){null!=h&&"function"!=typeof h.toString&&(h=Qi.call(h)),c[h]=D},Xf(Ra)),K_=vf(function(c,h,D){null!=h&&"function"!=typeof h.toString&&(h=Qi.call(h)),io.call(c,h)?c[h].push(D):c[h]=[D]},jr),qg=ni(Dl);function ta(c){return Ya(c)?Ye(c):Jl(c)}function Za(c){return Ya(c)?Ye(c,!0):function Nh(c){if(!Yo(c))return function Tf(c){var h=[];if(null!=c)for(var D in Tn(c))h.push(D);return h}(c);var h=Ga(c),D=[];for(var te in c)"constructor"==te&&(h||!io.call(c,te))||D.push(te);return D}(c)}var em=Lc(function(c,h,D){Sl(c,h,D)}),Wf=Lc(function(c,h,D,te){Sl(c,h,D,te)}),Kv=Ls(function(c,h){var D={};if(null==c)return D;var te=!1;h=fo(h,function(st){return st=ja(st,c),te||(te=st.length>1),st}),Wa(c,Fc(c),D),te&&(D=Zo(D,7,yf));for(var Le=h.length;Le--;)Zs(D,h[Le]);return D}),zf=Ls(function(c,h){return null==c?{}:function Lh(c,h){return Ou(c,h,function(D,te){return pp(c,te)})}(c,h)});function tm(c,h){if(null==c)return{};var D=fo(Fc(c),function(te){return[te]});return h=jr(h),Ou(c,D,function(te,Le){return h(te,Le[0])})}var rm=pd(ta),im=pd(Za);function Cc(c){return null==c?[]:j(c,ta(c))}var Pd=$c(function(c,h,D){return h=h.toLowerCase(),c+(D?xd(h):h)});function xd(c){return Ku(ko(c).toLowerCase())}function _u(c){return(c=ko(c))&&c.replace(co,Vr).replace($o,"")}var Nd=$c(function(c,h,D){return c+(D?"-":"")+h.toLowerCase()}),Gu=$c(function(c,h,D){return c+(D?" ":"")+h.toLowerCase()}),Gf=Fh("toLowerCase"),qv=$c(function(c,h,D){return c+(D?"_":"")+h.toLowerCase()}),sm=$c(function(c,h,D){return c+(D?" ":"")+Ku(h)}),r0=$c(function(c,h,D){return c+(D?" ":"")+h.toUpperCase()}),Ku=Fh("toUpperCase");function Kf(c,h,D){return c=ko(c),(h=D?s:h)===s?function Vo(Wt){return Ms.test(Wt)}(c)?function Ll(Wt){return Wt.match(as)||[]}(c):function fa(Wt){return Wt.match(to)||[]}(c):c.match(h)||[]}var bp=ni(function(c,h){try{return Do(c,s,h)}catch(D){return Ng(D)?D:new vi(D)}}),o0=Ls(function(c,h){return Ai(h,function(D){D=Xa(D),Xr(c,D,tp(c[D],c))}),c});function Xf(c){return function(){return c}}var cm=Bh(),Yf=Bh(!0);function Ra(c){return c}function Qf(c){return iu("function"==typeof c?c:Zo(c,1))}var Sp=ni(function(c,h){return function(D){return Dl(D,c,h)}}),dm=ni(function(c,h){return function(D){return Dl(c,D,h)}});function Xu(c,h,D){var te=ta(h),Le=nu(h,te);null==D&&(!Yo(h)||!Le.length&&te.length)&&(D=h,h=c,c=this,Le=nu(h,ta(h)));var st=!(Yo(D)&&"chain"in D&&!D.chain),xt=zc(c);return Ai(Le,function(Vt){var nn=h[Vt];c[Vt]=nn,xt&&(c.prototype[Vt]=function(){var Wn=this.__chain__;if(st||Wn){var Xn=c(this.__wrapped__);return(Xn.__actions__=ca(this.__actions__)).push({func:nn,args:arguments,thisArg:c}),Xn.__chain__=Wn,Xn}return nn.apply(c,Uo([this.value()],arguments))})}),c}function Kc(){}var a0=cu(fo),tE=cu(xl),Jf=cu(As);function qf(c){return Ci(c)?vl(Xa(c)):function $h(c){return function(h){return Ql(h,c)}}(c)}var hm=Vh(),pm=Vh(!0);function bc(){return[]}function Tp(){return!1}var f0=kc(function(c,h){return c+h},0),h0=uu("ceil"),p0=kc(function(c,h){return c/h},1),g0=uu("floor"),C0=kc(function(c,h){return c*h},1),eh=uu("round"),Sc=kc(function(c,h){return c-h},0);return He.after=function Tg(c,h){if("function"!=typeof h)throw new cs(F);return c=ki(c),function(){if(--c<1)return h.apply(this,arguments)}},He.ary=Ig,He.assign=Hg,He.assignIn=Wg,He.assignInWith=Od,He.assignWith=Uv,He.at=Vv,He.before=ep,He.bind=tp,He.bindAll=o0,He.bindKey=Mg,He.castArray=function Og(){if(!arguments.length)return[];var c=arguments[0];return zi(c)?c:[c]},He.chain=Kh,He.chunk=function g(c,h,D){h=(D?qo(c,h,D):h===s)?1:y(ki(h),0);var te=null==c?0:c.length;if(!te||h<1)return[];for(var Le=0,st=0,xt=vn(vt(te/h));Le<te;)xt[st++]=fs(c,Le,Le+=h);return xt},He.compact=function o(c){for(var h=-1,D=null==c?0:c.length,te=0,Le=[];++h<D;){var st=c[h];st&&(Le[te++]=st)}return Le},He.concat=function f(){var c=arguments.length;if(!c)return[];for(var h=vn(c-1),D=arguments[0],te=c;te--;)h[te-1]=arguments[te];return Uo(zi(D)?ca(D):[D],Es(h,1))},He.cond=function lm(c){var h=null==c?0:c.length,D=jr();return c=h?fo(c,function(te){if("function"!=typeof te[1])throw new cs(F);return[D(te[0]),te[1]]}):[],ni(function(te){for(var Le=-1;++Le<h;){var st=c[Le];if(Do(st[0],this,te))return Do(st[1],this,te)}})},He.conforms=function Dp(c){return function _s(c){var h=ta(c);return function(D){return dc(D,c,h)}}(Zo(c,1))},He.constant=Xf,He.countBy=_g,He.create=function jv(c,h){var D=Zr(c);return null==h?D:Ho(D,h)},He.curry=function Ov(c,h,D){var te=cl(c,8,s,s,s,s,s,h=D?s:h);return te.placeholder=Ov.placeholder,te},He.curryRight=function np(c,h,D){var te=cl(c,16,s,s,s,s,s,h=D?s:h);return te.placeholder=np.placeholder,te},He.debounce=rp,He.defaults=Hv,He.defaultsDeep=zg,He.defer=ea,He.delay=B_,He.difference=p,He.differenceBy=_,He.differenceWith=I,He.drop=function Y(c,h,D){var te=null==c?0:c.length;return te?fs(c,(h=D||h===s?1:ki(h))<0?0:h,te):[]},He.dropRight=function Q(c,h,D){var te=null==c?0:c.length;return te?fs(c,0,(h=te-(h=D||h===s?1:ki(h)))<0?0:h):[]},He.dropRightWhile=function X(c,h){return c&&c.length?su(c,jr(h,3),!0,!0):[]},He.dropWhile=function Te(c,h){return c&&c.length?su(c,jr(h,3),!0):[]},He.fill=function _e(c,h,D,te){var Le=null==c?0:c.length;return Le?(D&&"number"!=typeof D&&qo(c,h,D)&&(D=0,te=Le),function rd(c,h,D,te){var Le=c.length;for((D=ki(D))<0&&(D=-D>Le?0:Le+D),(te=te===s||te>Le?Le:ki(te))<0&&(te+=Le),te=D>te?0:fp(te);D<te;)c[D++]=h;return c}(c,h,D,te)):[]},He.filter=function Cg(c,h){return(zi(c)?ks:id)(c,jr(h,3))},He.flatMap=function $f(c,h){return Es(wd(c,h),1)},He.flatMapDeep=function mu(c,h){return Es(wd(c,h),ze)},He.flatMapDepth=function Sv(c,h,D){return D=D===s?1:ki(D),Es(wd(c,h),D)},He.flatten=Ze,He.flattenDeep=function tt(c){return null!=c&&c.length?Es(c,ze):[]},He.flattenDepth=function ot(c,h){return null!=c&&c.length?Es(c,h=h===s?1:ki(h)):[]},He.flip=function Pv(c){return cl(c,512)},He.flow=cm,He.flowRight=Yf,He.fromPairs=function Et(c){for(var h=-1,D=null==c?0:c.length,te={};++h<D;){var Le=c[h];te[Le[0]]=Le[1]}return te},He.functions=function Zg(c){return null==c?[]:nu(c,ta(c))},He.functionsIn=function Wv(c){return null==c?[]:nu(c,Za(c))},He.groupBy=Vu,He.initial=function gt(c){return null!=c&&c.length?fs(c,0,-1):[]},He.intersection=Ut,He.intersectionBy=_n,He.intersectionWith=nr,He.invert=Jg,He.invertBy=K_,He.invokeMap=Hs,He.iteratee=Qf,He.keyBy=wv,He.keys=ta,He.keysIn=Za,He.map=wd,He.mapKeys=function X_(c,h){var D={};return h=jr(h,3),bl(c,function(te,Le,st){Xr(D,h(te,Le,st),te)}),D},He.mapValues=function Gv(c,h){var D={};return h=jr(h,3),bl(c,function(te,Le,st){Xr(D,Le,h(te,Le,st))}),D},He.matches=function um(c){return ld(Zo(c,1))},He.matchesProperty=function Zf(c,h){return Au(c,Zo(h,1))},He.memoize=ip,He.merge=em,He.mergeWith=Wf,He.method=Sp,He.methodOf=dm,He.mixin=Xu,He.negate=Td,He.nthArg=function s0(c){return c=ki(c),ni(function(h){return uf(h,c)})},He.omit=Kv,He.omitBy=function Gc(c,h){return tm(c,Td(jr(h)))},He.once=function U_(c){return ep(2,c)},He.orderBy=function Jh(c,h,D,te){return null==c?[]:(zi(h)||(h=null==h?[]:[h]),zi(D=te?s:D)||(D=null==D?[]:[D]),df(c,h,D))},He.over=a0,He.overArgs=op,He.overEvery=tE,He.overSome=Jf,He.partial=jc,He.partialRight=Ag,He.partition=Tv,He.pick=zf,He.pickBy=tm,He.property=qf,He.propertyOf=function fm(c){return function(h){return null==c?s:Ql(c,h)}},He.pull=Gn,He.pullAll=rn,He.pullAllBy=function cn(c,h,D){return c&&c.length&&h&&h.length?Aa(c,h,jr(D,2)):c},He.pullAllWith=function wn(c,h,D){return c&&c.length&&h&&h.length?Aa(c,h,s,D):c},He.pullAt=gr,He.range=hm,He.rangeRight=pm,He.rearg=xv,He.reject=function Iv(c,h){return(zi(c)?ks:id)(c,Td(jr(h,3)))},He.remove=function Rn(c,h){var D=[];if(!c||!c.length)return D;var te=-1,Le=[],st=c.length;for(h=jr(h,3);++te<st;){var xt=c[te];h(xt,te,c)&&(D.push(xt),Le.push(te))}return ou(c,Le),D},He.rest=function vu(c,h){if("function"!=typeof c)throw new cs(F);return ni(c,h=h===s?h:ki(h))},He.reverse=Xt,He.sampleSize=function qh(c,h,D){return h=(D?qo(c,h,D):h===s)?1:ki(h),(zi(c)?Pn:js)(c,h)},He.set=function gp(c,h,D){return null==c?c:ws(c,h,D)},He.setWith=function Y_(c,h,D,te){return te="function"==typeof te?te:s,null==c?c:ws(c,h,D,te)},He.shuffle=function Ff(c){return(zi(c)?en:Cs)(c)},He.slice=function Jt(c,h,D){var te=null==c?0:c.length;return te?(D&&"number"!=typeof D&&qo(c,h,D)?(h=0,D=te):(h=null==h?0:ki(h),D=D===s?te:ki(D)),fs(c,h,D)):[]},He.sortBy=Av,He.sortedUniq=function Gr(c){return c&&c.length?fc(c):[]},He.sortedUniqBy=function To(c,h){return c&&c.length?fc(c,jr(h,2)):[]},He.split=function Ep(c,h,D){return D&&"number"!=typeof D&&qo(c,h,D)&&(h=D=s),(D=D===s?$:D>>>0)?(c=ko(c))&&("string"==typeof h||null!=h&&!up(h))&&!(h=Ts(h))&&Br(c)?ya(Os(c),0,D):c.split(h,D):[]},He.spread=function V_(c,h){if("function"!=typeof c)throw new cs(F);return h=null==h?0:y(ki(h),0),ni(function(D){var te=D[h],Le=ya(D,0,h);return te&&Uo(Le,te),Do(c,this,Le)})},He.tail=function Io(c){var h=null==c?0:c.length;return h?fs(c,1,h):[]},He.take=function _a(c,h,D){return c&&c.length?fs(c,0,(h=D||h===s?1:ki(h))<0?0:h):[]},He.takeRight=function os(c,h,D){var te=null==c?0:c.length;return te?fs(c,(h=te-(h=D||h===s?1:ki(h)))<0?0:h,te):[]},He.takeRightWhile=function $s(c,h){return c&&c.length?su(c,jr(h,3),!1,!0):[]},He.takeWhile=function dl(c,h){return c&&c.length?su(c,jr(h,3)):[]},He.tap=function vg(c,h){return h(c),c},He.throttle=function Rv(c,h,D){var te=!0,Le=!0;if("function"!=typeof c)throw new cs(F);return Yo(D)&&(te="leading"in D?!!D.leading:te,Le="trailing"in D?!!D.trailing:Le),rp(c,h,{leading:te,maxWait:h,trailing:Le})},He.thru=Rf,He.toArray=Bv,He.toPairs=rm,He.toPairsIn=im,He.toPath=function Dc(c){return zi(c)?fo(c,Xa):fl(c)?[c]:ca(Ka(ko(c)))},He.toPlainObject=Vg,He.transform=function Xv(c,h,D){var te=zi(c),Le=te||Wc(c)||Hu(c);if(h=jr(h,4),null==D){var st=c&&c.constructor;D=Le?te?new st:[]:Yo(c)&&zc(st)?Zr(ol(c)):{}}return(Le?Ai:bl)(c,function(xt,Vt,nn){return h(D,xt,Vt,nn)}),D},He.unary=function rc(c){return Ig(c,1)},He.union=Uu,He.unionBy=bd,He.unionWith=Of,He.uniq=function Pf(c){return c&&c.length?Rs(c):[]},He.uniqBy=function Dd(c,h){return c&&c.length?Rs(c,jr(h,2)):[]},He.uniqWith=function Sd(c,h){return h="function"==typeof h?h:s,c&&c.length?Rs(c,s,h):[]},He.unset=function Yv(c,h){return null==c||Zs(c,h)},He.unzip=yc,He.unzipWith=Ml,He.update=function Q_(c,h,D){return null==c?c:wl(c,h,au(D))},He.updateWith=function Z_(c,h,D,te){return te="function"==typeof te?te:s,null==c?c:wl(c,h,au(D),te)},He.values=Cc,He.valuesIn=function Qv(c){return null==c?[]:j(c,Za(c))},He.without=hu,He.words=Kf,He.wrap=function Uf(c,h){return jc(au(h),c)},He.xor=_c,He.xorBy=pu,He.xorWith=Vc,He.zip=gu,He.zipObject=function Gh(c,h){return Oa(c||[],h||[],ai)},He.zipObjectDeep=function xf(c,h){return Oa(c||[],h||[],ws)},He.zipWith=F_,He.entries=rm,He.entriesIn=im,He.extend=Wg,He.extendWith=Od,Xu(He,He),He.add=f0,He.attempt=bp,He.camelCase=Pd,He.capitalize=xd,He.ceil=h0,He.clamp=function mp(c,h,D){return D===s&&(D=h,h=s),D!==s&&(D=(D=hl(D))==D?D:0),h!==s&&(h=(h=hl(h))==h?h:0),go(hl(c),h,D)},He.clone=function Pg(c){return Zo(c,4)},He.cloneDeep=function ts(c){return Zo(c,5)},He.cloneDeepWith=function Nv(c,h){return Zo(c,5,h="function"==typeof h?h:s)},He.cloneWith=function j_(c,h){return Zo(c,4,h="function"==typeof h?h:s)},He.conformsTo=function sp(c,h){return null==h||dc(c,h,ta(h))},He.deburr=_u,He.defaultTo=function Fd(c,h){return null==c||c!=c?h:c},He.divide=p0,He.endsWith=function Rd(c,h,D){c=ko(c),h=Ts(h);var te=c.length,Le=D=D===s?te:go(ki(D),0,te);return(D-=h.length)>=0&&c.slice(D,Le)==h},He.eq=Bl,He.escape=function zu(c){return(c=ko(c))&&Yt.test(c)?c.replace(_i,Ao):c},He.escapeRegExp=function yp(c){return(c=ko(c))&&ii.test(c)?c.replace(Ur,"\\$&"):c},He.every=function Eg(c,h,D){var te=zi(c)?xl:eu;return D&&qo(c,h,D)&&(h=s),te(c,jr(h,3))},He.find=bg,He.findIndex=De,He.findKey=function Gg(c,h){return sc(c,jr(h,3),bl)},He.findLast=Dv,He.findLastIndex=xe,He.findLastKey=function Kg(c,h){return sc(c,jr(h,3),tu)},He.floor=g0,He.forEach=Qh,He.forEachRight=Zh,He.forIn=function Hf(c,h){return null==c?c:nf(c,jr(h,3),Za)},He.forInRight=function Xg(c,h){return null==c?c:wu(c,jr(h,3),Za)},He.forOwn=function Yg(c,h){return c&&bl(c,jr(h,3))},He.forOwnRight=function Qg(c,h){return c&&tu(c,jr(h,3))},He.get=hp,He.gt=Lv,He.gte=ap,He.has=function zv(c,h){return null!=c&&_d(c,h,Tu)},He.hasIn=pp,He.head=Xe,He.identity=Ra,He.includes=function ju(c,h,D,te){c=Ya(c)?c:Cc(c),D=D&&!te?ki(D):0;var Le=c.length;return D<0&&(D=y(Le+D,0)),Ad(c)?D<=Le&&c.indexOf(h,D)>-1:!!Le&&vs(c,h,D)>-1},He.indexOf=function Ct(c,h,D){var te=null==c?0:c.length;if(!te)return-1;var Le=null==D?0:ki(D);return Le<0&&(Le=y(te+Le,0)),vs(c,h,Le)},He.inRange=function vp(c,h,D){return h=ss(h),D===s?(D=h,h=0):D=ss(D),function Iu(c,h,D){return c>=v(h,D)&&c<y(h,D)}(c=hl(c),h,D)},He.invoke=qg,He.isArguments=Hc,He.isArray=zi,He.isArrayBuffer=lp,He.isArrayLike=Ya,He.isArrayLikeObject=Is,He.isBoolean=function xg(c){return!0===c||!1===c||hs(c)&&Qs(c)==jn},He.isBuffer=Wc,He.isDate=ic,He.isElement=function $v(c){return hs(c)&&1===c.nodeType&&!yu(c)},He.isEmpty=function Rg(c){if(null==c)return!0;
vendor: 5,774 bytes, line 1
1if(Ya(c)&&(zi(c)||"string"==typeof c||"function"==typeof c.splice||Wc(c)||Hu(c)||Hc(c)))return!c.length;var h=qs(c);if(h==Fn||h==Kt)return!c.size;if(Ga(c))return!Jl(c).length;for(var D in c)if(io.call(c,D))return!1;return!0},He.isEqual=function H_(c,h){return xc(c,h)},He.isEqualWith=function W_(c,h,D){var te=(D="function"==typeof D?D:s)?D(c,h):s;return te===s?xc(c,h,s,D):!!te},He.isError=Ng,He.isFinite=function z_(c){return"number"==typeof c&&Hr(c)},He.isFunction=zc,He.isInteger=Lg,He.isLength=Ec,He.isMap=$g,He.isMatch=function cp(c,h){return c===h||od(c,h,mc(h))},He.isMatchWith=function Id(c,h,D){return D="function"==typeof D?D:s,od(c,h,mc(h),D)},He.isNaN=function kv(c){return Md(c)&&c!=+c},He.isNative=function kg(c){if(mg(c))throw new vi("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return af(c)},He.isNil=function Vf(c){return null==c},He.isNull=function Fg(c){return null===c},He.isNumber=Md,He.isObject=Yo,He.isObjectLike=hs,He.isPlainObject=yu,He.isRegExp=up,He.isSafeInteger=function Fv(c){return Lg(c)&&c>=-fe&&c<=fe},He.isSet=Bg,He.isString=Ad,He.isSymbol=fl,He.isTypedArray=Hu,He.isUndefined=function Qa(c){return c===s},He.isWeakMap=function dp(c){return hs(c)&&qs(c)==$n},He.isWeakSet=function Ug(c){return hs(c)&&"[object WeakSet]"==Qs(c)},He.join=function zn(c,h){return null==c?"":Zi.call(c,h)},He.kebabCase=Nd,He.last=gn,He.lastIndexOf=function sn(c,h,D){var te=null==c?0:c.length;if(!te)return-1;var Le=te;return D!==s&&(Le=(Le=ki(D))<0?y(te+Le,0):v(Le,te-1)),h==h?function _l(Wt,Mn,vn){for(var Nr=vn+1;Nr--;)if(Wt[Nr]===Mn)return Nr;return Nr}(c,h,Le):ho(c,Da,Le,!0)},He.lowerCase=Gu,He.lowerFirst=Gf,He.lt=jf,He.lte=G_,He.max=function m0(c){return c&&c.length?Su(c,Ra,ru):s},He.maxBy=function v0(c,h){return c&&c.length?Su(c,jr(h,2),ru):s},He.mean=function gm(c){return $a(c,Ra)},He.meanBy=function y0(c,h){return $a(c,jr(h,2))},He.min=function _0(c){return c&&c.length?Su(c,Ra,ad):s},He.minBy=function E0(c,h){return c&&c.length?Su(c,jr(h,2),ad):s},He.stubArray=bc,He.stubFalse=Tp,He.stubObject=function l0(){return{}},He.stubString=function c0(){return""},He.stubTrue=function u0(){return!0},He.multiply=C0,He.nth=function an(c,h){return c&&c.length?uf(c,ki(h)):s},He.noConflict=function wp(){return ln._===this&&(ln._=zl),this},He.noop=Kc,He.now=Bf,He.pad=function J_(c,h,D){c=ko(c);var te=(h=ki(h))?jo(c):0;if(!h||te>=h)return c;var Le=(h-te)/2;return dd(on(Le),D)+c+dd(vt(Le),D)},He.padEnd=function _p(c,h,D){c=ko(c);var te=(h=ki(h))?jo(c):0;return h&&te<h?c+dd(h-te,D):c},He.padStart=function Ld(c,h,D){c=ko(c);var te=(h=ki(h))?jo(c):0;return h&&te<h?dd(h-te,D)+c:c},He.parseInt=function Zv(c,h,D){return D||null==h?h=0:h&&(h=+h),N(ko(c).replace(Kr,""),h||0)},He.random=function Wu(c,h,D){if(D&&"boolean"!=typeof D&&qo(c,h,D)&&(h=D=s),D===s&&("boolean"==typeof h?(D=h,h=s):"boolean"==typeof c&&(D=c,c=s)),c===s&&h===s?(c=0,h=1):(c=ss(c),h===s?(h=c,c=0):h=ss(h)),c>h){var te=c;c=h,h=te}if(D||c%1||h%1){var Le=ie();return v(c+Le*(h-c+Ft("1e-"+((Le+"").length-1))),h)}return Wo(c,h)},He.reduce=function Dg(c,h,D){var te=zi(c)?ba:oi,Le=arguments.length<3;return te(c,jr(h,4),D,Le,Yl)},He.reduceRight=function kf(c,h,D){var te=zi(c)?ms:oi,Le=arguments.length<3;return te(c,jr(h,4),D,Le,tf)},He.repeat=function om(c,h,D){return h=(D?qo(c,h,D):h===s)?1:ki(h),si(ko(c),h)},He.replace=function Jv(){var c=arguments,h=ko(c[0]);return c.length<3?h:h.replace(c[1],c[2])},He.result=function nm(c,h,D){var te=-1,Le=(h=ja(h,c)).length;for(Le||(Le=1,c=s);++te<Le;){var st=null==c?s:c[Xa(h[te])];st===s&&(te=Le,st=D),c=zc(st)?st.call(c):st}return c},He.round=eh,He.runInContext=Wt,He.sample=function Sg(c){return(zi(c)?Qt:sl)(c)},He.size=function wg(c){if(null==c)return 0;if(Ya(c))return Ad(c)?jo(c):c.length;var h=qs(c);return h==Fn||h==Kt?c.size:Jl(c).length},He.snakeCase=qv,He.some=function Mv(c,h,D){var te=zi(c)?As:Ti;return D&&qo(c,h,D)&&(h=s),te(c,jr(h,3))},He.sortedIndex=function Kn(c,h){return ec(c,h)},He.sortedIndexBy=function xr(c,h,D){return Pu(c,h,jr(D,2))},He.sortedIndexOf=function ar(c,h){var D=null==c?0:c.length;if(D){var te=ec(c,h);if(te<D&&Bl(c[te],h))return te}return-1},He.sortedLastIndex=function yr(c,h){return ec(c,h,!0)},He.sortedLastIndexBy=function Mr(c,h,D){return Pu(c,h,jr(D,2),!0)},He.sortedLastIndexOf=function gi(c,h){if(null!=c&&c.length){var te=ec(c,h,!0)-1;if(Bl(c[te],h))return te}return-1},He.startCase=sm,He.startsWith=function e0(c,h,D){return c=ko(c),D=null==D?0:go(ki(D),0,c.length),h=Ts(h),c.slice(D,D+h.length)==h},He.subtract=Sc,He.sum=function Bd(c){return c&&c.length?rs(c,Ra):0},He.sumBy=function mm(c,h){return c&&c.length?rs(c,jr(h,2)):0},He.template=function t0(c,h,D){var te=He.templateSettings;D&&qo(c,h,D)&&(h=s),c=ko(c),h=Od({},h,te,gd);var Vt,nn,Le=Od({},h.imports,te.imports,gd),st=ta(Le),xt=j(Le,st),Wn=0,Xn=h.interpolate||Po,dr="__p += '",Lr=ac((h.escape||Po).source+"|"+Xn.source+"|"+(Xn===Pt?xo:Po).source+"|"+(h.evaluate||Po).source+"|$","g"),ri="//# sourceURL="+(io.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ca+"]")+"\n";c.replace(Lr,function(bi,_o,Mo,Ja,na,qa){return Mo||(Mo=Ja),dr+=c.slice(Wn,qa).replace(yt,Bs),_o&&(Vt=!0,dr+="' +\n__e("+_o+") +\n'"),na&&(nn=!0,dr+="';\n"+na+";\n__p += '"),Mo&&(dr+="' +\n((__t = ("+Mo+")) == null ? '' : __t) +\n'"),Wn=qa+bi.length,bi}),dr+="';\n";var Ii=io.call(h,"variable")&&h.variable;if(Ii){if(Fo.test(Ii))throw new vi("Invalid `variable` option passed into `_.template`")}else dr="with (obj) {\n"+dr+"\n}\n";dr=(nn?dr.replace(_r,""):dr).replace(Jr,"$1").replace(ti,"$1;"),dr="function("+(Ii||"obj")+") {\n"+(Ii?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Vt?", __e = _.escape":"")+(nn?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";
1\n")+dr+"return __p\n}";var oo=bp(function(){return ro(st,ri+"return "+dr).apply(s,xt)});if(oo.source=dr,Ng(oo))throw oo;return oo},He.times=function d0(c,h){if((c=ki(c))<1||c>fe)return[];var D=$,te=v(c,$);h=jr(h),c-=$;for(var Le=tl(te,h);++D<c;)h(D);return Le},He.toFinite=ss,He.toInteger=ki,He.toLength=fp,He.toLower=function $d(c){return ko(c).toLowerCase()},He.toNumber=hl,He.toSafeInteger=function jg(c){return c?go(ki(c),-fe,fe):0===c?c:0},He.toString=ko,He.toUpper=function am(c){return ko(c).toUpperCase()},He.trim=function Cp(c,h,D){if((c=ko(c))&&(D||h===s))return wa(c);if(!c||!(h=Ts(h)))return c;var te=Os(c),Le=Os(h);return ya(te,re(te,Le),Qe(te,Le)+1).join("")},He.trimEnd=function n0(c,h,D){if((c=ko(c))&&(D||h===s))return c.slice(0,ys(c)+1);if(!c||!(h=Ts(h)))return c;var te=Os(c);return ya(te,0,Qe(te,Os(h))+1).join("")},He.trimStart=function q_(c,h,D){if((c=ko(c))&&(D||h===s))return c.replace(Kr,"");if(!c||!(h=Ts(h)))return c;var te=Os(c);return ya(te,re(te,Os(h))).join("")},He.truncate=function eE(c,h){var D=30,te="...";if(Yo(h)){var Le="separator"in h?h.separator:Le;D="length"in h?ki(h.length):D,te="omission"in h?Ts(h.omission):te}var st=(c=ko(c)).length;if(Br(c)){var xt=Os(c);st=xt.length}if(D>=st)return c;var Vt=D-jo(te);if(Vt<1)return te;var nn=xt?ya(xt,0,Vt).join(""):c.slice(0,Vt);if(Le===s)return nn+te;if(xt&&(Vt+=nn.length-Vt),up(Le)){if(c.slice(Vt).search(Le)){var Wn,Xn=nn;for(Le.global||(Le=ac(Le.source,ko(Lo.exec(Le))+"g")),Le.lastIndex=0;Wn=Le.exec(Xn);)var dr=Wn.index;nn=nn.slice(0,dr===s?Vt:dr)}}else if(c.indexOf(Ts(Le),Vt)!=Vt){var Lr=nn.lastIndexOf(Le);Lr>-1&&(nn=nn.slice(0,Lr))}return nn+te},He.unescape=function kd(c){return(c=ko(c))&&eo.test(c)?c.replace(ui,pa):c},He.uniqueId=function Yu(c){var h=++$l;return ko(c)+h},He.upperCase=r0,He.upperFirst=Ku,He.each=Qh,He.eachRight=Zh,He.first=Xe,Xu(He,function(){var c={};return bl(He,function(h,D){io.call(He.prototype,D)||(c[D]=h)}),c}(),{chain:!1}),He.VERSION="4.17.21",Ai(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){He[c].placeholder=He}),Ai(["drop","take"],function(c,h){qr.prototype[c]=function(D){D=D===s?1:y(ki(D),0);var te=this.__filtered__&&!h?new qr(this):this.clone();return te.__filtered__?te.__takeCount__=v(D,te.__takeCount__):te.__views__.push({size:v(D,$),type:c+(te.__dir__<0?"Right":"")}),te},qr.prototype[c+"Right"]=function(D){return this.reverse()[c](D).reverse()}}),Ai(["filter","map","takeWhile"],function(c,h){var D=h+1,te=1==D||3==D;qr.prototype[c]=function(Le){var st=this.clone();return st.__iteratees__.push({iteratee:jr(Le,3),type:D}),st.__filtered__=st.__filtered__||te,st}}),Ai(["head","last"],function(c,h){var D="take"+(h?"Right":"");qr.prototype[c]=function(){return this[D](1).value()[0]}}),Ai(["initial","tail"],function(c,h){var D="drop"+(h?"":"Right");qr.prototype[c]=function(){return this.__filtered__?new qr(this):this[D](1)}}),qr.prototype.compact=function(){return this.filter(Ra)},qr.prototype.find=function(c){return this.filter(c).head()},qr.prototype.findLast=function(c){return this.reverse().find(c)},qr.prototype.invokeMap=ni(function(c,h){return"function"==typeof c?new qr(this):this.map(function(D){return Dl(D,c,h)})}),qr.prototype.reject=function(c){return this.filter(Td(jr(c)))},qr.prototype.slice=function(c,h){c=ki(c);var D=this;return D.__filtered__&&(c>0||h<0)?new qr(D):(c<0?D=D.takeRight(-c):c&&(D=D.drop(c)),h!==s&&(D=(h=ki(h))<0?D.dropRight(-h):D.take(h-c)),D)},qr.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},qr.prototype.toArray=function(){return this.take($)},bl(qr.prototype,function(c,h){var D=/^(?:filter|find|map|reject)|While$/.test(h),te=/^(?:head|last)$/.test(h),Le=He[te?"take"+("last"==h?"Right":""):h],st=te||/^find/.test(h);Le&&(He.prototype[h]=function(){var xt=this.__wrapped__,Vt=te?[1]:arguments,nn=xt instanceof qr,Wn=Vt[0],Xn=nn||zi(xt),dr=function(_o){var Mo=Le.apply(He,Uo([_o],Vt));return te&&Lr?Mo[0]:Mo};Xn&&D&&"function"==typeof Wn&&1!=Wn.length&&(nn=Xn=!1);var Lr=this.__chain__,Ii=st&&!Lr,oo=nn&&!this.__actions__.length;if(!st&&Xn){xt=oo?xt:new qr(this);var bi=c.apply(xt,Vt);return bi.__actions__.push({func:Rf,args:[dr],thisArg:s}),new $i(bi,Lr)}return Ii&&oo?c.apply(this,Vt):(bi=this.thru(dr),Ii?te?bi.value(
1)[0]:bi.value():bi)})}),Ai(["pop","push","shift","sort","splice","unshift"],function(c){var h=ga[c],D=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",te=/^(?:pop|shift)$/.test(c);He.prototype[c]=function(){var Le=arguments;if(te&&!this.__chain__){var st=this.value();return h.apply(zi(st)?st:[],Le)}return this[D](function(xt){return h.apply(zi(xt)?xt:[],Le)})}}),bl(qr.prototype,function(c,h){var D=He[h];if(D){var te=D.name+"";io.call(fr,te)||(fr[te]=[]),fr[te].push({name:h,func:D})}}),fr[ud(s,2).name]=[{name:"wrapper",func:s}],qr.prototype.clone=function ds(){var c=new qr(this.__wrapped__);return c.__actions__=ca(this.__actions__),c.__dir__=this.__dir__,c.__filtered__=this.__filtered__,c.__iteratees__=ca(this.__iteratees__),c.__takeCount__=this.__takeCount__,c.__views__=ca(this.__views__),c},qr.prototype.reverse=function aa(){if(this.__filtered__){var c=new qr(this);c.__dir__=-1,c.__filtered__=!0}else(c=this.clone()).__dir__*=-1;return c},qr.prototype.value=function po(){var c=this.__wrapped__.value(),h=this.__dir__,D=zi(c),te=h<0,Le=D?c.length:0,st=function za(c,h,D){for(var te=-1,Le=D.length;++te<Le;){var st=D[te],xt=st.size;switch(st.type){case"drop":c+=xt;break;case"dropRight":h-=xt;break;case"take":h=v(h,c+xt);break;case"takeRight":c=y(c,h-xt)}}return{start:c,end:h}}(0,Le,this.__views__),xt=st.start,Vt=st.end,nn=Vt-xt,Wn=te?Vt:xt-1,Xn=this.__iteratees__,dr=Xn.length,Lr=0,ri=v(nn,this.__takeCount__);if(!D||!te&&Le==nn&&ri==nn)return kl(c,this.__actions__);var Ii=[];e:for(;nn--&&Lr<ri;){for(var oo=-1,bi=c[Wn+=h];++oo<dr;){var _o=Xn[oo],Ja=_o.type,na=(0,_o.iteratee)(bi);if(2==Ja)bi=na;else if(!na){if(1==Ja)continue e;break e}}Ii[Lr++]=bi}return Ii},He.prototype.at=nc,He.prototype.chain=function Cv(){return Kh(this)},He.prototype.commit=function Nf(){return new $i(this.value(),this.__chain__)},He.prototype.next=function Xh(){this.__values__===s&&(this.__values__=Bv(this.value()));var c=this.__index__>=this.__values__.length;return{done:c,value:c?s:this.__values__[this.__index__++]}},He.prototype.plant=function Lf(c){for(var h,D=this;D instanceof Pr;){var te=zh(D);te.__index__=0,te.__values__=s,h?Le.__wrapped__=te:h=te;var Le=te;D=D.__wrapped__}return Le.__wrapped__=c,h},He.prototype.reverse=function Yh(){var c=this.__wrapped__;if(c instanceof qr){var h=c;return this.__actions__.length&&(h=new qr(this)),(h=h.reverse()).__actions__.push({func:Rf,args:[Xt],thisArg:s}),new $i(h,this.__chain__)}return this.thru(Xt)},He.prototype.toJSON=He.prototype.valueOf=He.prototype.value=function bv(){return kl(this.__wrapped__,this.__actions__)},He.prototype.first=He.prototype.head,Us&&(He.prototype[Us]=function yg(){return this}),He}();ln._=ci,(a=function(){return ci}.call(Se,u,Se,wt))!==s&&(wt.exports=a)}.call(this)},4412:(wt,Se,u)=>{"use strict";u.d(Se,{t:()=>s});var a=u(1413);class s extends a.B{constructor(T){super(),this._value=T}get value(){return this.getValue()}_subscribe(T){const x=super._subscribe(T);return!x.closed&&T.next(this._value),x}getValue(){const{hasError:T,thrownError:x,_value:F}=this;if(T)throw x;return this._throwIfClosed(),F}next(T){super.next(this._value=T)}}},1985:(wt,Se,u)=>{"use strict";u.d(Se,{c:()=>H});var a=u(7707),s=u(8359),w=u(3494),T=u(1203),x=u(1026),F=u(8071),B=u(9786);let H=(()=>{class le{constructor(q){q&&(this._subscribe=q)}lift(q){const we=new le;return we.source=this,we.operator=q,we}subscribe(q,we,ue){const Ie=function U(le){return le&&le instanceof a.vU||function L(le){return le&&(0,F.T)(le.next)&&(0,F.T)(le.error)&&(0,F.T)(le.complete)}(le)&&(0,s.Uv)(le)}(q)?q:new a.Ms(q,we,ue);return(0,B.Y)(()=>{const{operator:ge,source:he}=this;Ie.add(ge?ge.call(Ie,he):he?this._subscribe(Ie):this._trySubscribe(Ie))}),Ie}_trySubscribe(q){try{return this._subscribe(q)}catch(we){q.error(we)}}forEach(q,we){return new(we=V(we))((ue,Ie)=>{const ge=new a.Ms({next:he=>{try{q(he)}catch(Me){Ie(Me),ge.unsubscribe()}},error:Ie,complete:ue});this.subscribe(ge)})}_subscribe(q){var we;return null===(we=this.source)||void 0===we?void 0:we.subscribe(q)}[w.s](){return this}pipe(...q){return(0,T.m)(q)(this)}toPromise(q){return new(q=V(q))((we,ue)=>{let Ie;this.subscribe(ge=>Ie=ge,ge=>ue(ge),()=>we(Ie))})}}return le.create=W=>new le(W),le})();function V(le){var W;return null!==(W=null!=le?le:x.$.Promise)&&void 0!==W?W:Promise}},1413:(wt,Se,u)=>{"use strict";u.d(Se,{B:()=>B});var a=u(1985),s=u(8359);const T=(0,u(1853).L)(V=>function(){V(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var x=u(7908),F=u(9786);let B=(()=>{class V extends a.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(U){const le=new H(this,this);return le.operator=U,le}_throwIfClosed(){if(this.closed)throw new T}next(U){(0,F.Y)(()=>
1{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const le of this.currentObservers)le.next(U)}})}error(U){(0,F.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=U;const{observers:le}=this;for(;le.length;)le.shift().error(U)}})}complete(){(0,F.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:U}=this;for(;U.length;)U.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var U;return(null===(U=this.observers)||void 0===U?void 0:U.length)>0}_trySubscribe(U){return this._throwIfClosed(),super._trySubscribe(U)}_subscribe(U){return this._throwIfClosed(),this._checkFinalizedStatuses(U),this._innerSubscribe(U)}_innerSubscribe(U){const{hasError:le,isStopped:W,observers:q}=this;return le||W?s.Kn:(this.currentObservers=null,q.push(U),new s.yU(()=>{this.currentObservers=null,(0,x.o)(q,U)}))}_checkFinalizedStatuses(U){const{hasError:le,thrownError:W,isStopped:q}=this;le?U.error(W):q&&U.complete()}asObservable(){const U=new a.c;return U.source=this,U}}return V.create=(L,U)=>new H(L,U),V})();class H extends B{constructor(L,U){super(),this.destination=L,this.source=U}next(L){var U,le;null===(le=null===(U=this.destination)||void 0===U?void 0:U.next)||void 0===le||le.call(U,L)}error(L){var U,le;null===(le=null===(U=this.destination)||void 0===U?void 0:U.error)||void 0===le||le.call(U,L)}complete(){var L,U;null===(U=null===(L=this.destination)||void 0===L?void 0:L.complete)||void 0===U||U.call(L)}_subscribe(L){var U,le;return null!==(le=null===(U=this.source)||void 0===U?void 0:U.subscribe(L))&&void 0!==le?le:s.Kn}}},7707:(wt,Se,u)=>{"use strict";u.d(Se,{Ms:()=>ue,vU:()=>le});var a=u(8071),s=u(8359),w=u(1026),T=u(5334),x=u(5343);const F=V("C",void 0,void 0);function V($e,Pe,Re){return{kind:$e,value:Pe,error:Re}}var L=u(9270),U=u(9786);class le extends s.yU{constructor(Pe){super(),this.isStopped=!1,Pe?(this.destination=Pe,(0,s.Uv)(Pe)&&Pe.add(this)):this.destination=Me}static create(Pe,Re,it){return new ue(Pe,Re,it)}next(Pe){this.isStopped?he(function H($e){return V("N",$e,void 0)}(Pe),this):this._next(Pe)}error(Pe){this.isStopped?he(function B($e){return V("E",void 0,$e)}(Pe),this):(this.isStopped=!0,this._error(Pe))}complete(){this.isStopped?he(F,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Pe){this.destination.next(Pe)}_error(Pe){try{this.destination.error(Pe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const W=Function.prototype.bind;function q($e,Pe){return W.call($e,Pe)}class we{constructor(Pe){this.partialObserver=Pe}next(Pe){const{partialObserver:Re}=this;if(Re.next)try{Re.next(Pe)}catch(it){Ie(it)}}error(Pe){const{partialObserver:Re}=this;if(Re.error)try{Re.error(Pe)}catch(it){Ie(it)}else Ie(Pe)}complete(){const{partialObserver:Pe}=this;if(Pe.complete)try{Pe.complete()}catch(Re){Ie(Re)}}}class ue extends le{constructor(Pe,Re,it){let Be;if(super(),(0,a.T)(Pe)||!Pe)Be={next:null!=Pe?Pe:void 0,error:null!=Re?Re:void 0,complete:null!=it?it:void 0};else{let We;this&&w.$.useDeprecatedNextContext?(We=Object.create(Pe),We.unsubscribe=()=>this.unsubscribe(),Be={next:Pe.next&&q(Pe.next,We),error:Pe.error&&q(Pe.error,We),complete:Pe.complete&&q(Pe.complete,We)}):Be=Pe}this.destination=new we(Be)}}function Ie($e){w.$.useDeprecatedSynchronousErrorHandling?(0,U.l)($e):(0,T.m)($e)}function he($e,Pe){const{onStoppedNotification:Re}=w.$;Re&&L.f.setTimeout(()=>Re($e,Pe))}const Me={closed:!0,next:x.l,error:function ge($e){throw $e},complete:x.l}},8359:(wt,Se,u)=>{"use strict";u.d(Se,{Kn:()=>F,yU:()=>x,Uv:()=>B});var a=u(8071);const w=(0,u(1853).L)(V=>function(U){V(this),this.message=U?`${U.length} errors occurred during unsubscription:\n${U.map((le,W)=>`${W+1}) ${le.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=U});var T=u(7908);class x{constructor(L){this.initialTeardown=L,this.closed=!1,this._parentage=null,this._finalizers=null}
1unsubscribe(){let L;if(!this.closed){this.closed=!0;const{_parentage:U}=this;if(U)if(this._parentage=null,Array.isArray(U))for(const q of U)q.remove(this);else U.remove(this);const{initialTeardown:le}=this;if((0,a.T)(le))try{le()}catch(q){L=q instanceof w?q.errors:[q]}const{_finalizers:W}=this;if(W){this._finalizers=null;for(const q of W)try{H(q)}catch(we){L=null!=L?L:[],we instanceof w?L=[...L,...we.errors]:L.push(we)}}if(L)throw new w(L)}}add(L){var U;if(L&&L!==this)if(this.closed)H(L);else{if(L instanceof x){if(L.closed||L._hasParent(this))return;L._addParent(this)}(this._finalizers=null!==(U=this._finalizers)&&void 0!==U?U:[]).push(L)}}_hasParent(L){const{_parentage:U}=this;return U===L||Array.isArray(U)&&U.includes(L)}_addParent(L){const{_parentage:U}=this;this._parentage=Array.isArray(U)?(U.push(L),U):U?[U,L]:L}_removeParent(L){const{_parentage:U}=this;U===L?this._parentage=null:Array.isArray(U)&&(0,T.o)(U,L)}remove(L){const{_finalizers:U}=this;U&&(0,T.o)(U,L),L instanceof x&&L._removeParent(this)}}x.EMPTY=(()=>{const V=new x;return V.closed=!0,V})();const F=x.EMPTY;function B(V){return V instanceof x||V&&"closed"in V&&(0,a.T)(V.remove)&&(0,a.T)(V.add)&&(0,a.T)(V.unsubscribe)}function H(V){(0,a.T)(V)?V():V.unsubscribe()}},1026:(wt,Se,u)=>{"use strict";u.d(Se,{$:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4572:(wt,Se,u)=>{"use strict";u.d(Se,{P:()=>U,z:()=>L});var a=u(1985),s=u(3073),w=u(6648),T=u(3669),x=u(6450),F=u(9326),B=u(8496),H=u(4360),V=u(5225);function L(...W){const q=(0,F.lI)(W),we=(0,F.ms)(W),{args:ue,keys:Ie}=(0,s.D)(W);if(0===ue.length)return(0,w.H)([],q);const ge=new a.c(U(ue,q,Ie?he=>(0,B.e)(Ie,he):T.D));return we?ge.pipe((0,x.I)(we)):ge}function U(W,q,we=T.D){return ue=>{le(q,()=>{const{length:Ie}=W,ge=new Array(Ie);let he=Ie,Me=Ie;for(let $e=0;$e<Ie;$e++)le(q,()=>{const Pe=(0,w.H)(W[$e],q);let Re=!1;Pe.subscribe((0,H._)(ue,it=>{ge[$e]=it,Re||(Re=!0,Me--),Me||ue.next(we(ge.slice()))},()=>{--he||ue.complete()}))},ue)},ue)}}function le(W,q,we){W?(0,V.N)(we,W,q):q()}},8793:(wt,Se,u)=>{"use strict";u.d(Se,{x:()=>x});var a=u(6365),w=u(9326),T=u(6648);function x(...F){return function s(){return(0,a.U)(1)}()((0,T.H)(F,(0,w.lI)(F)))}},9030:(wt,Se,u)=>{"use strict";u.d(Se,{v:()=>w});var a=u(1985),s=u(8750);function w(T){return new a.c(x=>{(0,s.Tg)(T()).subscribe(x)})}},983:(wt,Se,u)=>{"use strict";u.d(Se,{w:()=>s});const s=new(u(1985).c)(x=>x.complete())},7468:(wt,Se,u)=>{"use strict";u.d(Se,{p:()=>H});var a=u(1985),s=u(3073),w=u(8750),T=u(9326),x=u(4360),F=u(6450),B=u(8496);function H(...V){const L=(0,T.ms)(V),{args:U,keys:le}=(0,s.D)(V),W=new a.c(q=>{const{length:we}=U;if(!we)return void q.complete();const ue=new Array(we);let Ie=we,ge=we;for(let he=0;he<we;he++){let Me=!1;(0,w.Tg)(U[he]).subscribe((0,x._)(q,$e=>{Me||(Me=!0,ge--),ue[he]=$e},()=>Ie--,void 0,()=>{(!Ie||!Me)&&(ge||q.next(le?(0,B.e)(le,ue):ue),q.complete())}))}});return L?W.pipe((0,F.I)(L)):W}},6648:(wt,Se,u)=>{"use strict";u.d(Se,{H:()=>it});var a=u(8750),s=u(5225),w=u(9974),T=u(4360);function x(Be,We=0){return(0,w.N)((Ae,k)=>{Ae.subscribe((0,T._)(k,z=>(0,s.N)(k,Be,()=>k.next(z),We),()=>(0,s.N)(k,Be,()=>k.complete(),We),z=>(0,s.N)(k,Be,()=>k.error(z),We)))})}function F(Be,We=0){return(0,w.N)((Ae,k)=>{k.add(Be.schedule(()=>Ae.subscribe(k),We))})}var V=u(1985),U=u(4761),le=u(8071);function q(Be,We){if(!Be)throw new Error("Iterable cannot be null");return new V.c(Ae=>{(0,s.N)(Ae,We,()=>{const k=Be[Symbol.asyncIterator]();(0,s.N)(Ae,We,()=>{k.next().then(z=>{z.done?Ae.complete():Ae.next(z.value)})},0,!0)})})}var we=u(5055),ue=u(9858),Ie=u(7441),ge=u(5397),he=u(7953),Me=u(591),$e=u(5196);function it(Be,We){return We?function Re(Be,We){if(null!=Be){if((0,we.l)(Be))return function B(Be,We){return(0,a.Tg)(Be).pipe(F(We),x(We))}(Be,We);if((0,Ie.X)(Be))return function L(Be,We){return new V.c(Ae=>{let k=0;return We.schedule(function(){k===Be.length?Ae.complete():(Ae.next(Be[k++]),Ae.closed||this.schedule())})})}(Be,We);if((0,ue.y)(Be))return function H(Be,We){return(0,a.Tg)(Be).pipe(F(We),x(We))}(Be,We);if((0,he.T)(Be))return q(Be,We);if((0,ge.x)(Be))return function W(Be,We){return new V.c(Ae=>{let k;return(0,s.N)(Ae,We,()=>{k=Be[U.l](),(0,s.N)(Ae,We,()=>{let z,ce;try{({value:z,done:ce}=k.next())}catch(pe){return void Ae.error(pe)}ce?Ae.complete():Ae.next(z)},0,!0)}),()=>(0,le.T)(null==k?void 0:k.return)&&k.return()})}(Be,We);if((0,$e.U)(Be))return function Pe(Be,We){return q((0,$e.C)(Be),We)}(Be,We)}throw(0,Me.L)(Be)}(Be,We):(0,a.Tg)(Be)}},3726:(wt,Se,u)=>{"use strict";u.d(Se,{R:()=>L});var a=u(8750),s=u(1985),w=u(3028),T=u(7441),x=u(8071),F=u(6450);const B=["addListener","removeListener"],H=["addEventListener","removeEventListener"],V=["on","off"];function L(we,ue,Ie,ge){if((0,x.T)(Ie)&&(ge=Ie,Ie=void 0),ge)return L(we,ue,Ie).pipe((0,F.I)(ge));const[he,Me]=function q(we){return(0,x.T)(we.addEventListener)&&(0,x.T)(we.removeEventListener)}(we)?H.map($e=>Pe=>we[$e](ue,Pe,Ie)):function le(we){return(0,x.T)(we.addListener)&&(0,x.T)(we.removeListener)}(we)?B.map(U(we,ue)):function W(we){return(0,x.T)(we.on)&&(0,x.T)(we.off)}(we)?V.map(U(we,ue)):[];if(!he&&(0,T.X)(we))return(0,w.Z)($e=>L($e,ue,Ie))((0,a.Tg)(we));if(!he)throw new TypeError("Invalid event target");return new s.c($e=>{const Pe=(...Re)=>
1$e.next(1<Re.length?Re:Re[0]);return he(Pe),()=>Me(Pe)})}function U(we,ue){return Ie=>ge=>we[Ie](ue,ge)}},8750:(wt,Se,u)=>{"use strict";u.d(Se,{Tg:()=>W});var a=u(1635),s=u(7441),w=u(9858),T=u(1985),x=u(5055),F=u(7953),B=u(591),H=u(5397),V=u(5196),L=u(8071),U=u(5334),le=u(3494);function W($e){if($e instanceof T.c)return $e;if(null!=$e){if((0,x.l)($e))return function q($e){return new T.c(Pe=>{const Re=$e[le.s]();if((0,L.T)(Re.subscribe))return Re.subscribe(Pe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}($e);if((0,s.X)($e))return function we($e){return new T.c(Pe=>{for(let Re=0;Re<$e.length&&!Pe.closed;Re++)Pe.next($e[Re]);Pe.complete()})}($e);if((0,w.y)($e))return function ue($e){return new T.c(Pe=>{$e.then(Re=>{Pe.closed||(Pe.next(Re),Pe.complete())},Re=>Pe.error(Re)).then(null,U.m)})}($e);if((0,F.T)($e))return ge($e);if((0,H.x)($e))return function Ie($e){return new T.c(Pe=>{for(const Re of $e)if(Pe.next(Re),Pe.closed)return;Pe.complete()})}($e);if((0,V.U)($e))return function he($e){return ge((0,V.C)($e))}($e)}throw(0,B.L)($e)}function ge($e){return new T.c(Pe=>{(function Me($e,Pe){var Re,it,Be,We;return(0,a.sH)(this,void 0,void 0,function*(){try{for(Re=(0,a.xN)($e);!(it=yield Re.next()).done;)if(Pe.next(it.value),Pe.closed)return}catch(Ae){Be={error:Ae}}finally{try{it&&!it.done&&(We=Re.return)&&(yield We.call(Re))}finally{if(Be)throw Be.error}}Pe.complete()})})($e,Pe).catch(Re=>Pe.error(Re))})}},7786:(wt,Se,u)=>{"use strict";u.d(Se,{h:()=>F});var a=u(6365),s=u(8750),w=u(983),T=u(9326),x=u(6648);function F(...B){const H=(0,T.lI)(B),V=(0,T.R0)(B,1/0),L=B;return L.length?1===L.length?(0,s.Tg)(L[0]):(0,a.U)(V)((0,x.H)(L,H)):w.w}},7673:(wt,Se,u)=>{"use strict";u.d(Se,{of:()=>w});var a=u(9326),s=u(6648);function w(...T){const x=(0,a.lI)(T);return(0,s.H)(T,x)}},8810:(wt,Se,u)=>{"use strict";u.d(Se,{$:()=>w});var a=u(1985),s=u(8071);function w(T,x){const F=(0,s.T)(T)?T:()=>T,B=H=>H.error(F());return new a.c(x?H=>x.schedule(B,0,H):B)}},1807:(wt,Se,u)=>{"use strict";u.d(Se,{O:()=>x});var a=u(1985),s=u(8839),w=u(9470),T=u(8211);function x(F=0,B,H=s.b){let V=-1;return null!=B&&((0,w.m)(B)?H=B:V=B),new a.c(L=>{let U=(0,T.v)(F)?+F-H.now():F;U<0&&(U=0);let le=0;return H.schedule(function(){L.closed||(L.next(le++),0<=V?this.schedule(void 0,V):L.complete())},U)})}},4437:(wt,Se,u)=>{"use strict";u.d(Se,{y:()=>B});var a=u(1985),s=u(8750),w=u(2326),T=u(983),x=u(4360),F=u(9326);function B(...H){const V=(0,F.ms)(H),L=(0,w.K)(H);return L.length?new a.c(U=>{let le=L.map(()=>[]),W=L.map(()=>!1);U.add(()=>{le=W=null});for(let q=0;!U.closed&&q<L.length;q++)(0,s.Tg)(L[q]).subscribe((0,x._)(U,we=>{if(le[q].push(we),le.every(ue=>ue.length)){const ue=le.map(Ie=>Ie.shift());U.next(V?V(...ue):ue),le.some((Ie,ge)=>!Ie.length&&W[ge])&&U.complete()}},()=>{W[q]=!0,!le[q].length&&U.complete()}));return()=>{le=W=null}}):T.w}},4360:(wt,Se,u)=>{"use strict";u.d(Se,{_:()=>s});var a=u(7707);function s(T,x,F,B,H){return new w(T,x,F,B,H)}class w extends a.vU{constructor(x,F,B,H,V,L){super(x),this.onFinalize=V,this.shouldUnsubscribe=L,this._next=F?function(U){try{F(U)}catch(le){x.error(le)}}:super._next,this._error=H?function(U){try{H(U)}catch(le){x.error(le)}finally{this.unsubscribe()}}:super._error,this._complete=B?function(){try{B()}catch(U){x.error(U)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var x;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:F}=this;super.unsubscribe(),!F&&(null===(x=this.onFinalize)||void 0===x||x.call(this))}}}},9437:(wt,Se,u)=>{"use strict";u.d(Se,{W:()=>T});var a=u(8750),s=u(4360),w=u(9974);function T(x){return(0,w.N)((F,B)=>{let L,H=null,V=!1;H=F.subscribe((0,s._)(B,void 0,void 0,U=>{L=(0,a.Tg)(x(U,T(x)(F))),H?(H.unsubscribe(),H=null,L.subscribe(B)):V=!0})),V&&(H.unsubscribe(),H=null,L.subscribe(B))})}},274:(wt,Se,u)=>{"use strict";u.d(Se,{H:()=>w});var a=u(3028),s=u(8071);function w(T,x){return(0,s.T)(x)?(0,a.Z)(T,x,1):(0,a.Z)(T,1)}},152:(wt,Se,u)=>{"use strict";u.d(Se,{B:()=>T});var a=u(8839),s=u(9974),w=u(4360);function T(x,F=a.E){return(0,s.N)((B,H)=>{let V=null,L=null,U=null;const le=()=>{if(V){V.unsubscribe(),V=null;const q=L;L=null,H.next(q)}};function W(){const q=U+x,we=F.now();if(we<q)return V=this.schedule(void 0,q-we),void H.add(V);le()}B.subscribe((0,w._)(H,q=>{L=q,U=F.now(),V||(V=F.schedule(W,x),H.add(V))},()=>{le(),H.complete()},void 0,()=>{L=V=null}))})}},9901:(wt,Se,u)=>{"use strict";u.d(Se,{U:()=>w});var a=u(9974),s=u(4360);function w(T){return(0,a.N)((x,F)=>{let B=!1;x.subscribe((0,s._)(F,H=>{B=!0,F.next(H)},()=>{B||F.next(T),F.complete()}
1))})}},1986:(wt,Se,u)=>{"use strict";u.d(Se,{c:()=>W});var a=u(8839),s=u(8793),w=u(6697),T=u(9974),x=u(4360),F=u(5343),H=u(3703),V=u(3028),L=u(8750);function U(q,we){return we?ue=>(0,s.x)(we.pipe((0,w.s)(1),function B(){return(0,T.N)((q,we)=>{q.subscribe((0,x._)(we,F.l))})}()),ue.pipe(U(q))):(0,V.Z)((ue,Ie)=>(0,L.Tg)(q(ue,Ie)).pipe((0,w.s)(1),(0,H.u)(ue)))}var le=u(1807);function W(q,we=a.E){const ue=(0,le.O)(q,we);return U(()=>ue)}},3294:(wt,Se,u)=>{"use strict";u.d(Se,{F:()=>T});var a=u(3669),s=u(9974),w=u(4360);function T(F,B=a.D){return F=null!=F?F:x,(0,s.N)((H,V)=>{let L,U=!0;H.subscribe((0,w._)(V,le=>{const W=B(le);(U||!F(L,W))&&(U=!1,L=W,V.next(le))}))})}function x(F,B){return F===B}},5964:(wt,Se,u)=>{"use strict";u.d(Se,{p:()=>w});var a=u(9974),s=u(4360);function w(T,x){return(0,a.N)((F,B)=>{let H=0;F.subscribe((0,s._)(B,V=>T.call(x,V,H++)&&B.next(V)))})}},980:(wt,Se,u)=>{"use strict";u.d(Se,{j:()=>s});var a=u(9974);function s(w){return(0,a.N)((T,x)=>{try{T.subscribe(x)}finally{x.add(w)}})}},1594:(wt,Se,u)=>{"use strict";u.d(Se,{$:()=>B});var a=u(9350),s=u(5964),w=u(6697),T=u(9901),x=u(3774),F=u(3669);function B(H,V){const L=arguments.length>=2;return U=>U.pipe(H?(0,s.p)((le,W)=>H(le,W,U)):F.D,(0,w.s)(1),L?(0,T.U)(V):(0,x.v)(()=>new a.G))}},6354:(wt,Se,u)=>{"use strict";u.d(Se,{T:()=>w});var a=u(9974),s=u(4360);function w(T,x){return(0,a.N)((F,B)=>{let H=0;F.subscribe((0,s._)(B,V=>{B.next(T.call(x,V,H++))}))})}},3703:(wt,Se,u)=>{"use strict";u.d(Se,{u:()=>s});var a=u(6354);function s(w){return(0,a.T)(()=>w)}},6365:(wt,Se,u)=>{"use strict";u.d(Se,{U:()=>w});var a=u(3028),s=u(3669);function w(T=1/0){return(0,a.Z)(s.D,T)}},5412:(wt,Se,u)=>{"use strict";u.d(Se,{h:()=>T});var a=u(8750),s=u(5225),w=u(4360);function T(x,F,B,H,V,L,U,le){const W=[];let q=0,we=0,ue=!1;const Ie=()=>{ue&&!W.length&&!q&&F.complete()},ge=Me=>q<H?he(Me):W.push(Me),he=Me=>{L&&F.next(Me),q++;let $e=!1;(0,a.Tg)(B(Me,we++)).subscribe((0,w._)(F,Pe=>{null==V||V(Pe),L?ge(Pe):F.next(Pe)},()=>{$e=!0},void 0,()=>{if($e)try{for(q--;W.length&&q<H;){const Pe=W.shift();U?(0,s.N)(F,U,()=>he(Pe)):he(Pe)}Ie()}catch(Pe){F.error(Pe)}}))};return x.subscribe((0,w._)(F,ge,()=>{ue=!0,Ie()})),()=>{null==le||le()}}},3028:(wt,Se,u)=>{"use strict";u.d(Se,{Z:()=>F});var a=u(6354),s=u(8750),w=u(9974),T=u(5412),x=u(8071);function F(B,H,V=1/0){return(0,x.T)(H)?F((L,U)=>(0,a.T)((le,W)=>H(L,le,U,W))((0,s.Tg)(B(L,U))),V):("number"==typeof H&&(V=H),(0,w.N)((L,U)=>(0,T.h)(L,U,B,V)))}},9852:(wt,Se,u)=>{"use strict";u.d(Se,{T:()=>w});var a=u(6649),s=u(9974);function w(T,x){return(0,s.N)((0,a.S)(T,x,arguments.length>=2,!1,!0))}},2498:(wt,Se,u)=>{"use strict";u.d(Se,{L:()=>F});var a=u(9974),s=u(4360),w=u(3669),T=u(1807),x=u(8750);function F(B=1/0){let H;H=B&&"object"==typeof B?B:{count:B};const{count:V=1/0,delay:L,resetOnSuccess:U=!1}=H;return V<=0?w.D:(0,a.N)((le,W)=>{let we,q=0;const ue=()=>{let Ie=!1;we=le.subscribe((0,s._)(W,ge=>{U&&(q=0),W.next(ge)},void 0,ge=>{if(q++<V){const he=()=>{we?(we.unsubscribe(),we=null,ue()):Ie=!0};if(null!=L){const Me="number"==typeof L?(0,T.O)(L):(0,x.Tg)(L(ge,q)),$e=(0,s._)(W,()=>{$e.unsubscribe(),he()},()=>{W.complete()});Me.subscribe($e)}else he()}else W.error(ge)})),Ie&&(we.unsubscribe(),we=null,ue())};ue()})}},1943:(wt,Se,u)=>{"use strict";u.d(Se,{S:()=>w});var a=u(9974),s=u(6649);function w(T,x){return(0,a.N)((0,s.S)(T,x,arguments.length>=2,!0))}},6649:(wt,Se,u)=>{"use strict";u.d(Se,{S:()=>s});var a=u(4360);function s(w,T,x,F,B){return(H,V)=>{let L=x,U=T,le=0;H.subscribe((0,a._)(V,W=>{const q=le++;U=L?w(U,W,q):(L=!0,W),F&&V.next(U)},B&&(()=>{L&&V.next(U),V.complete()})))}}},253:(wt,Se,u)=>{"use strict";u.d(Se,{t:()=>V});var a=u(1413),s=u(6129);class w extends a.B{constructor(U=1/0,le=1/0,W=s.U){super(),this._bufferSize=U,this._windowTime=le,this._timestampProvider=W,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=le===1/0,this._bufferSize=Math.max(1,U),this._windowTime=Math.max(1,le)}next(U){const{isStopped:le,_buffer:W,_infiniteTimeWindow:q,_timestampProvider:we,_windowTime:ue}=this;le||(W.push(U),!q&&W.push(we.now()+ue)),this._trimBuffer(),super.next(U)}_subscribe(U){this._throwIfClosed(),this._trimBuffer();const le=this._innerSubscribe(U),{_infiniteTimeWindow:W,_buffer:q}=this,we=q.slice();for(let ue=0;ue<we.length&&!U.closed;ue+=W?1:2)U.next(we[ue]);return this._checkFinalizedStatuses(U),le}_trimBuffer(){const{_bufferSize:U,_timestampProvider:le,_buffer:W,_infiniteTimeWindow:q}=this,we=(q?1:2)*U;if(U<1/0&&we<W.length&&W.splice(0,W.length-we),!q){const ue=le.now();let Ie=0;for(let ge=1;ge<W.length&&W[ge]<=ue;ge+=2)Ie=ge;Ie&&W.splice(0,Ie+1)}}}var T=u(8750),x=u(7707),F=u(9974);function H(L,U,...le){if(!0===U)return void L();if(!1===U)return;const W=new x.Ms({next:()=>{W.unsubscribe(),L()}});return(0,T.Tg)(U(...le)).subscribe(W)}function V(L,U,le){let W,q=!1;return L&&"object"==typeof L?({bufferSize:W=1/0,windowTime:U=1/0,refCount:q=!1,scheduler:le}=L):W=null!=L?L:1/0,function B(L={}){const{connector:U=(()=>new a.B),resetOnError:le=!0,resetOnComplete:W=!0,resetOnRefCountZero:q=!0}=L;return we=>{let ue,Ie,ge,he=0,Me=!1,$e=!1;const Pe=()=>{null==Ie||Ie.unsubscribe(),Ie=void 0},Re=()=>{Pe(),ue=ge=void 0,Me=$e=!1},it=()=>{const Be=ue;Re(),null==Be||Be.unsubscribe()};return(0,F.N)((Be,We)=>{he++,!$e&&!Me&&Pe();const Ae=ge=null!=ge?ge:U();We.add(()=>{he--,0===he&&!$e&&!Me&&(Ie=H(it,q))}),Ae.subscribe(We),!ue&&he>0&&(ue=new x.Ms({next:k=>Ae.next(k),error:k=>{$e=!0,Pe(),Ie=H(Re,le,k),Ae.error(k)},complete:()=>{Me=!0,Pe(),Ie=H(Re,W),Ae.complete()}}),(0,T.Tg)(Be).subscribe(ue))})(we)}}({connector:()=>new w(W,U,le),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:q})}},4873:(wt,Se,u)=>{"use strict";u.d(Se,{J:()=>B});var a=u(9350),s=u(1853);const w=(0,s.L)(H=>function(L){H(this),this.name="SequenceError",this.message=L}),T=(0,s.L)(H=>function(L){H(this),this.name="NotFoundError",this.message=L});var x=u(9974),F=u(4360);function B(H){return(0,x.N)((V,L)=>{let le,U=!1,W=!1,q=0;V.subscribe((0,F._)(L,we=>{W=!0,(!H||H(we,q++,V))&&(U&&L.error(new w("Too many matching values")),U=!0,le=we)},()=>{U?(L.next(le),L.complete()):L.error(W?new T("No matching values"):new a.G)}))})}},9172:(wt,Se,u)=>{"use strict";u.d(Se,{Z:()=>T});var a=u(8793),s=u(9326),w=u(9974);function T(...x){const F=(0,s.lI)(x);return(0,w.N)((B,H)=>{(F?(0,a.x)(x,B,F):(0,a.x)(x,B)).subscribe(H)})}},5558:(wt,Se,u)=>{"use strict";u.d(Se,{n:()=>T});var a=u(8750),s=u(9974),w=u(4360);function T(x,F){return(0,s.N)((B,H)=>{let V=null,L=0,U=!1;const le=()=>U&&!V&&H.complete();B.subscribe((0,w._)(H,W=>{null==V||V.unsubscribe();let q=0;const we=L++;(0,a.Tg)(x(W,we)).subscribe(V=(0,w._)(H,ue=>H.next(F?F(W,ue,we,q++):ue),()=>{V=null,le()}))},()=>{U=!0,le()}))})}},6697:(wt,Se,u)=>{"use strict";u.d(Se,{s:()=>T});var a=u(983),s=u(9974),w=u(4360);function T(x){return x<=0?()=>a.w:(0,s.N)((F,B)=>{let H=0;F.subscribe((0,w._)(B,V=>{++H<=x&&(B.next(V),x<=H&&B.complete())}))})}},6977:(wt,Se,u)=>{"use strict";u.d(Se,{Q:()=>x});var a=u(9974),s=u(4360),w=u(8750),T=u(5343);function x(F){return(0,a.N)((B,H)=>{(0,w.Tg)(F).subscribe((0,s._)(H,()=>H.complete(),T.l)),!H.closed&&B.subscribe(H)})}},8141:(wt,Se,u)=>{"use strict";u.d(Se,{M:()=>x});var a=u(8071),s=u(9974),w=u(4360),T=u(3669);function x(F,B,H){const V=(0,a.T)(F)||B||H?{next:F,error:B,complete:H}:F;return V?(0,s.N)((L,U)=>{var le;null===(le=V.subscribe)||void 0===le||le.call(V);let W=!0;L.subscribe((0,w._)(U,q=>{var we;null===(we=V.next)||void 0===we||we.call(V,q),U.next(q)},()=>{var q;
1W=!1,null===(q=V.complete)||void 0===q||q.call(V),U.complete()},q=>{var we;W=!1,null===(we=V.error)||void 0===we||we.call(V,q),U.error(q)},()=>{var q,we;W&&(null===(q=V.unsubscribe)||void 0===q||q.call(V)),null===(we=V.finalize)||void 0===we||we.call(V)}))}):T.D}},3774:(wt,Se,u)=>{"use strict";u.d(Se,{v:()=>T});var a=u(9350),s=u(9974),w=u(4360);function T(F=x){return(0,s.N)((B,H)=>{let V=!1;B.subscribe((0,w._)(H,L=>{V=!0,H.next(L)},()=>V?H.complete():H.error(F())))})}function x(){return new a.G}},2087:(wt,Se,u)=>{"use strict";u.d(Se,{w:()=>V});var a=u(8839),s=u(8211),w=u(9974),T=u(8750),x=u(1853),F=u(4360),B=u(5225);const H=(0,x.L)(U=>function(W=null){U(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=W});function V(U,le){const{first:W,each:q,with:we=L,scheduler:ue=(null!=le?le:a.E),meta:Ie=null}=(0,s.v)(U)?{first:U}:"number"==typeof U?{each:U}:U;if(null==W&&null==q)throw new TypeError("No timeout provided.");return(0,w.N)((ge,he)=>{let Me,$e,Pe=null,Re=0;const it=Be=>{$e=(0,B.N)(he,ue,()=>{try{Me.unsubscribe(),(0,T.Tg)(we({meta:Ie,lastValue:Pe,seen:Re})).subscribe(he)}catch(We){he.error(We)}},Be)};Me=ge.subscribe((0,F._)(he,Be=>{null==$e||$e.unsubscribe(),Re++,he.next(Pe=Be),q>0&&it(q)},void 0,void 0,()=>{null!=$e&&$e.closed||null==$e||$e.unsubscribe(),Pe=null})),!Re&&it(null!=W?"number"==typeof W?W:+W-ue.now():q)})}function L(U){throw new H(U)}},6594:(wt,Se,u)=>{"use strict";u.d(Se,{$:()=>T});var a=u(9852),s=u(9974);const w=(x,F)=>(x.push(F),x);function T(){return(0,s.N)((x,F)=>{(0,a.T)(w,[])(x).subscribe(F)})}},9291:(wt,Se,u)=>{"use strict";u.d(Se,{x:()=>H});var a=u(4437),s=u(3669),w=u(6450),T=u(1203),x=u(3028),F=u(6594);function H(V){return function B(V,L){return(0,T.F)((0,F.$)(),(0,x.Z)(U=>V(U)),L?(0,w.I)(L):s.D)}(a.y,V)}},8839:(wt,Se,u)=>{"use strict";u.d(Se,{b:()=>L,E:()=>V});var a=u(8359);class s extends a.yU{constructor(le,W){super()}schedule(le,W=0){return this}}const w={setInterval(U,le,...W){const{delegate:q}=w;return null!=q&&q.setInterval?q.setInterval(U,le,...W):setInterval(U,le,...W)},clearInterval(U){const{delegate:le}=w;return((null==le?void 0:le.clearInterval)||clearInterval)(U)},delegate:void 0};var T=u(7908),F=u(6129);class B{constructor(le,W=B.now){this.schedulerActionCtor=le,this.now=W}schedule(le,W=0,q){return new this.schedulerActionCtor(this,le).schedule(q,W)}}B.now=F.U.now;const V=new class H extends B{constructor(le,W=B.now){super(le,W),this.actions=[],this._active=!1}flush(le){const{actions:W}=this;if(this._active)return void W.push(le);let q;this._active=!0;do{if(q=le.execute(le.state,le.delay))break}while(le=W.shift());if(this._active=!1,q){for(;le=W.shift();)le.unsubscribe();throw q}}}(class x extends s{constructor(le,W){super(le,W),this.scheduler=le,this.work=W,this.pending=!1}schedule(le,W=0){var q;if(this.closed)return this;this.state=le;const we=this.id,ue=this.scheduler;return null!=we&&(this.id=this.recycleAsyncId(ue,we,W)),this.pending=!0,this.delay=W,this.id=null!==(q=this.id)&&void 0!==q?q:this.requestAsyncId(ue,this.id,W),this}requestAsyncId(le,W,q=0){return w.setInterval(le.flush.bind(le,this),q)}recycleAsyncId(le,W,q=0){if(null!=q&&this.delay===q&&!1===this.pending)return W;null!=W&&w.clearInterval(W)}execute(le,W){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const q=this._execute(le,W);if(q)return q;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(le,W){let we,q=!1;try{this.work(le)}catch(ue){q=!0,we=ue||new Error("Scheduled action threw falsy error")}if(q)return this.unsubscribe(),we}unsubscribe(){if(!this.closed){const{id:le,scheduler:W}=this,{actions:q}=W;this.work=this.state=this.scheduler=null,this.pending=!1,(0,T.o)(q,this),null!=le&&(this.id=this.recycleAsyncId(W,le,null)),this.delay=null,super.unsubscribe()}}}),L=V},6129:(wt,Se,u)=>{"use strict";u.d(Se,{U:()=>a});const a={now:()=>(a.delegate||Date).now(),delegate:void 0}},9270:(wt,Se,u)=>{"use strict";u.d(Se,{f:()=>a});const a={setTimeout(s,w,...T){const{delegate:x}=a;return null!=x&&x.setTimeout?x.setTimeout(s,w,...T):setTimeout(s,w,...T)},clearTimeout(s){const{delegate:w}=a;return((null==w?void 0:w.clearTimeout)||clearTimeout)(s)},delegate:void 0}},4761:(wt,Se,u)=>{"use strict";u.d(Se,{l:()=>s});const s=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(wt,Se,u)=>{"use strict";u.d(Se,{s:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(wt,Se,u)=>{"use strict";u.d(Se,{G:()=>s});const s=(0,u(1853).L)(w=>function(){w(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(wt,Se,u)=>{"use strict";u.d(Se,{R0:()=>F,lI:()=>x,ms:()=>T});var a=u(8071),s=u(9470);function w(B){return B[B.length-1]}function T(B){return(0,a.T)(w(B))?B.pop():void 0}function x(B){return(0,s.m)(w(B))?B.pop():void 0}function F(B,H){return"number"==typeof w(B)?B.pop():H}},3073:(wt,Se,u)=>{"use strict";u.d(Se,{D:()=>x});const{isArray:a}=Array,{getPrototypeOf:s,prototype:w,keys:T}=Object;function x(B){if(1===B.length){const H=B[0];if(a(H))return{args:H,keys:null};if(function F(B){return B&&"object"==typeof B&&s(B)===w}(H)){const V=T(H);return{args:V.map(L=>H[L]),keys:V}}}return{args:B,keys:null}}},2326:(wt,Se,u)=>{"use strict";u.d(Se,{K:()=>s});const{isArray:a}=Array;function s(w){return 1===w.length&&a(w[0])?w[0]:w}},7908:(wt,Se,u)=>{"use strict";
1function a(s,w){if(s){const T=s.indexOf(w);0<=T&&s.splice(T,1)}}u.d(Se,{o:()=>a})},1853:(wt,Se,u)=>{"use strict";function a(s){const T=s(x=>{Error.call(x),x.stack=(new Error).stack});return T.prototype=Object.create(Error.prototype),T.prototype.constructor=T,T}u.d(Se,{L:()=>a})},8496:(wt,Se,u)=>{"use strict";function a(s,w){return s.reduce((T,x,F)=>(T[x]=w[F],T),{})}u.d(Se,{e:()=>a})},9786:(wt,Se,u)=>{"use strict";u.d(Se,{Y:()=>w,l:()=>T});var a=u(1026);let s=null;function w(x){if(a.$.useDeprecatedSynchronousErrorHandling){const F=!s;if(F&&(s={errorThrown:!1,error:null}),x(),F){const{errorThrown:B,error:H}=s;if(s=null,B)throw H}}else x()}function T(x){a.$.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=x)}},5225:(wt,Se,u)=>{"use strict";function a(s,w,T,x=0,F=!1){const B=w.schedule(function(){T(),F?s.add(this.schedule(null,x)):this.unsubscribe()},x);if(s.add(B),!F)return B}u.d(Se,{N:()=>a})},3669:(wt,Se,u)=>{"use strict";function a(s){return s}u.d(Se,{D:()=>a})},7441:(wt,Se,u)=>{"use strict";u.d(Se,{X:()=>a});const a=s=>s&&"number"==typeof s.length&&"function"!=typeof s},7953:(wt,Se,u)=>{"use strict";u.d(Se,{T:()=>s});var a=u(8071);function s(w){return Symbol.asyncIterator&&(0,a.T)(null==w?void 0:w[Symbol.asyncIterator])}},8211:(wt,Se,u)=>{"use strict";function a(s){return s instanceof Date&&!isNaN(s)}u.d(Se,{v:()=>a})},8071:(wt,Se,u)=>{"use strict";function a(s){return"function"==typeof s}u.d(Se,{T:()=>a})},5055:(wt,Se,u)=>{"use strict";u.d(Se,{l:()=>w});var a=u(3494),s=u(8071);function w(T){return(0,s.T)(T[a.s])}},5397:(wt,Se,u)=>{"use strict";u.d(Se,{x:()=>w});var a=u(4761),s=u(8071);function w(T){return(0,s.T)(null==T?void 0:T[a.l])}},4402:(wt,Se,u)=>{"use strict";u.d(Se,{A:()=>w});var a=u(1985),s=u(8071);function w(T){return!!T&&(T instanceof a.c||(0,s.T)(T.lift)&&(0,s.T)(T.subscribe))}},9858:(wt,Se,u)=>{"use strict";u.d(Se,{y:()=>s});var a=u(8071);function s(w){return(0,a.T)(null==w?void 0:w.then)}},5196:(wt,Se,u)=>{"use strict";u.d(Se,{C:()=>w,U:()=>T});var a=u(1635),s=u(8071);function w(x){return(0,a.AQ)(this,arguments,function*(){const B=x.getReader();try{for(;;){const{value:H,done:V}=yield(0,a.N3)(B.read());if(V)return yield(0,a.N3)(void 0);yield yield(0,a.N3)(H)}}finally{B.releaseLock()}})}function T(x){return(0,s.T)(null==x?void 0:x.getReader)}},9470:(wt,Se,u)=>{"use strict";u.d(Se,{m:()=>s});var a=u(8071);function s(w){return w&&(0,a.T)(w.schedule)}},9974:(wt,Se,u)=>{"use strict";u.d(Se,{N:()=>w,S:()=>s});var a=u(8071);function s(T){return(0,a.T)(null==T?void 0:T.lift)}function w(T){return x=>{if(s(x))return x.lift(function(F){try{return T(F,this)}catch(B){this.error(B)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(wt,Se,u)=>{"use strict";u.d(Se,{I:()=>T});var a=u(6354);const{isArray:s}=Array;function T(x){return(0,a.T)(F=>function w(x,F){return s(F)?x(...F):x(F)}(x,F))}},5343:(wt,Se,u)=>{"use strict";function a(){}u.d(Se,{l:()=>a})},1203:(wt,Se,u)=>{"use strict";u.d(Se,{F:()=>s,m:()=>w});var a=u(3669);function s(...T){return w(T)}function w(T){return 0===T.length?a.D:1===T.length?T[0]:function(F){return T.reduce((B,H)=>H(B),F)}}},5334:(wt,Se,u)=>{"use strict";u.d(Se,{m:()=>w});var a=u(1026),s=u(9270);function w(T){s.f.setTimeout(()=>{const{onUnhandledError:x}=a.$;if(!x)throw T;x(T)})}},591:(wt,Se,u)=>{"use strict";function a(s){return new TypeError(`You provided ${null!==s&&"object"==typeof s?"an invalid object":`'${s}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}u.d(Se,{L:()=>a})},9660:function(wt,Se,u){"use strict";var a=this&&this.__importDefault||function(L){return L&&L.__esModule?L:{default:L}};Object.defineProperty(Se,"__esModule",{value:!0});const s=a(u(5848)),w=/[\/\?<>\\:\*\|":]/g,T=/[\x00-\x1f\x80-\x9f]/g,x=/^\.+$/,F=/^(con|prn|aux|nul|com[0-9]|lpt[0-9])(\..*)?$/i,B=/[\. ]+$/;function H(L,U){const le=L.replace(w,U).replace(T,U).replace(x,U).replace(F,U).replace(B,U);return s.default(le,255)}Se.sanitize=function V(L,U){const le=U&&U.replacement||"",W=H(L,le);return""===le?W:H(W,"")}},5848:(wt,Se,u)=>{"use strict";var a=u(2356),s=u(123);wt.exports=a.bind(null,s)},2356:wt=>{"use strict";function u(a){return a>=56320&&a<=57343}wt.exports=function(s,w,T){if("string"!=typeof w)throw new Error("Input must be string");for(var B,H,x=w.length,F=0,V=0;V<x;V+=1){if(B=w.charCodeAt(V),H=w[V],(a=B)>=55296&&a<=56319&&u(w.charCodeAt(V+1))&&(H+=w[V+=1]),(F+=s(H))===T)return w.slice(0,V+1);if(F>T)return w.slice(0,V-H.length+1)}var a;return w}},123:wt=>{"use strict";function Se(a){return a>=55296&&a<=56319}wt.exports=function(s){if("string"!=typeof s)throw new Error("Input must be string");for(var w=s.length,T=0,x=null,F=null,B=0;B<w;B++)(a=x=s.charCodeAt(B))>=56320&&a<=57343?null!=F&&Se(F)?T+=1:T+=3:x<=127?T+=1:x>=128&&x<=2047?T+=2:x>=2048&&x<=65535&&(T+=3),F=x;var a;return T}},8996:(wt,Se,u)=>{var a={"./ion-accordion_2.entry.js":[2375,2076,2375],"./ion-action-sheet.entry.js":[8814,2076,8814],"./ion-alert.entry.js":[5222,2076,5222],"./ion-app_8.entry.js":[7720,2076,7720],"./ion-avatar_3.entry.js":[1049,1049],"./ion-back-button.entry.js":[3162,2076,3162],"./ion-backdrop.entry.js":[7240,7240],"./ion-breadcrumb_2.entry.js":[8314,2076,8314],"./ion-button_2.entry.js":[4591,4591],"./ion-card_5.entry.js":[8584,8584],"./ion-checkbox.entry.js":[3511,3511],"./ion-chip.entry.js":[6024,6024],"./ion-col_3.entry.js":[5100,5100],"./ion-datetime-button.entry.js":[7428,1293,7428],"./ion-datetime_3.entry.js":[2885,1293,2076,2885],"./ion-fab_3.entry.js":[4463,2076,4463],"./ion-img.entry.js":[4183,4183],"./ion-infinite-scroll_2.entry.js":[4171,2076,4171],"./ion-input-password-toggle.entry.js":[6521,2076,6521],"./ion-input.entry.js":[9344,2076,9344],"./ion-item-option_3.entry.js":[5949,2076,5949],"./ion-item_8.entry.js":[3506,2076,3506],"./ion-loading.entry.js":[7372,2076,7372],"./ion-menu_3.entry.js":[2075,2076,2075],"./ion-modal.entry.js":[441,2076,441],"./ion-nav_2.entry.js":[5712,2076,5712],"./ion-picker-column-option.entry.js":[9013,9013],"./ion-picker-column.entry.js":[1459,2076,1459],"./ion-picker.entry.js":[6840,6840],"./ion-popover.entry.js":[6433,2076,6433],"./ion-progress-bar.entry.js":[9977,9977],"./ion-radio_2.entry.js":[8066,2076,8066],"./ion-range.entry.js":[8477,2076,8477],"./ion-refresher_2.entry.js":[5197,2076,5197],"./ion-reorder_2.entry.js":[7030,2076,7030],"./ion-ripple-effect.entry.js":[964,964],"./ion-route_4.entry.js":[8970,8970],"./ion-searchbar.entry.js":[8193,2076,8193],"./ion-segment_2.entry.js":[2560,2076,2560],"./ion-select_3.entry.js":[7076,2076,7076],"./ion-spinner.entry.js":[8805,2076,8805],"./ion-split-pane.entry.js":[5887,5887],"./ion-tab-bar_2.entry.js":[4406,2076,4406],"./ion-tab_2.entry.js":[1102,1102],"./ion-text.entry.js":[1577,1577],"./ion-textarea.entry.js":[2348,2076,2348],"./ion-toast.entry.js":[2415,2076,2415],"./ion-toggle.entry.js":[3814,2076,3814]};function s(w){if(!u.o(a,w))return Promise.resolve().then(()=>{var F=new Error("Cannot find module '"+w+"'");throw F.code="MODULE_NOT_FOUND",F});var T=a[w],x=T[0];return Promise.all(T.slice(1).map(u.e)).then(()=>u(x))}s.keys=()=>Object.keys(a),s.id=8996,wt.exports=s},7995:(wt,Se,u)=>{var a={"./de.json":[1229,1229]};function s(w){if(!u.o(a,w))return Promise.resolve().then(()=>{var F=new Error("Cannot find module '"+w+"'");throw F.code="MODULE_NOT_FOUND",F});var T=a[w],x=T[0];return u.e(T[1]).then(()=>u.t(x,19))}s.keys=()=>Object.keys(a),s.id=7995,wt.exports=s},9969:(wt,Se,u)=>{"use strict";u.d(Se,{FX:()=>We,If:()=>a,K2:()=>F,hZ:()=>w,i0:()=>T,iF:()=>B,kY:()=>L,kp:()=>s,sf:()=>it,ui:()=>Be,wk:()=>H});var a=function(Ae){return Ae[Ae.State=0]="State",Ae[Ae.Transition=1]="Transition",Ae[Ae.Sequence=2]="Sequence",Ae[Ae.Group=3]="Group",Ae[Ae.Animate=4]="Animate",Ae[Ae.Keyframes=5]="Keyframes",Ae[Ae.Style=6]="Style",Ae[Ae.Trigger=7]="Trigger",Ae[Ae.Reference=8]="Reference",Ae[Ae.AnimateChild=9]="AnimateChild",Ae[Ae.AnimateRef=10]="AnimateRef",Ae[Ae.Query=11]="Query",Ae[Ae.Stagger=12]="Stagger",Ae}(a||{});const s="*";function w(Ae,k){return{type:a.Trigger,name:Ae,definitions:k,options:{}}}function T(Ae,k=null){return{type:a.Animate,styles:k,timings:Ae}}function F(Ae,k=null){return{type:a.Sequence,steps:Ae,options:k}}function B(Ae){return{type:a.Style,styles:Ae,offset:null}}function H(Ae,k,z){return{type:a.State,name:Ae,styles:k,options:z}}function L(Ae,k,z=null){return{type:a.Transition,expr:Ae,animation:k,options:z}}class it{constructor(k=0,z=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=k+z}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(k=>k()),this._onDoneFns=[])}onStart(k){this._originalOnStartFns.push(k),this._onStartFns.push(k)}onDone(k){this._originalOnDoneFns.push(k),this._onDoneFns.push(k)}onDestroy(k){this._onDestroyFns.push(k)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(k=>k()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(k=>k()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(k){this._position=this.totalTime?k*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(k){const z="start"==k?this._onStartFns:this._onDoneFns;z.forEach(ce=>ce()),z.length=0}}class Be{constructor(k){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=k;let z=0,ce=0,pe=0;const ve=this.players.length;0==ve?queueMicrotask(()=>
1this._onFinish()):this.players.forEach(ze=>{ze.onDone(()=>{++z==ve&&this._onFinish()}),ze.onDestroy(()=>{++ce==ve&&this._onDestroy()}),ze.onStart(()=>{++pe==ve&&this._onStart()})}),this.totalTime=this.players.reduce((ze,fe)=>Math.max(ze,fe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(k=>k()),this._onDoneFns=[])}init(){this.players.forEach(k=>k.init())}onStart(k){this._onStartFns.push(k)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(k=>k()),this._onStartFns=[])}onDone(k){this._onDoneFns.push(k)}onDestroy(k){this._onDestroyFns.push(k)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(k=>k.play())}pause(){this.players.forEach(k=>k.pause())}restart(){this.players.forEach(k=>k.restart())}finish(){this._onFinish(),this.players.forEach(k=>k.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(k=>k.destroy()),this._onDestroyFns.forEach(k=>k()),this._onDestroyFns=[])}reset(){this.players.forEach(k=>k.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(k){const z=k*this.totalTime;this.players.forEach(ce=>{const pe=ce.totalTime?Math.min(1,z/ce.totalTime):1;ce.setPosition(pe)})}getPosition(){const k=this.players.reduce((z,ce)=>null===z||ce.totalTime>z.totalTime?ce:z,null);return null!=k?k.getPosition():0}beforeDestroy(){this.players.forEach(k=>{k.beforeDestroy&&k.beforeDestroy()})}triggerCallback(k){const z="start"==k?this._onStartFns:this._onDoneFns;z.forEach(ce=>ce()),z.length=0}}const We="!"},177:(wt,Se,u)=>{"use strict";u.d(Se,{AJ:()=>$t,B3:()=>di,EO:()=>je,Jj:()=>R,MD:()=>Ft,N0:()=>Gi,QT:()=>w,Sm:()=>ue,Sq:()=>Ht,T3:()=>dt,UE:()=>xn,VF:()=>x,Vy:()=>ln,Xr:()=>pr,YU:()=>In,ZD:()=>T,ZV:()=>hi,_b:()=>ke,aZ:()=>ge,bT:()=>Dn,e1:()=>Bi,fw:()=>Ie,hb:()=>q,hj:()=>V,kB:()=>we,oe:()=>fi,qQ:()=>B,ux:()=>Tr,vh:()=>ns});var a=u(3953);let s=null;function w(){return s}function T(A){var ae;null!==(ae=s)&&void 0!==ae||(s=A)}class x{}const B=new a.nKC("");let H=(()=>{var A;class ae{historyGo(ne){throw new Error("")}}return(A=ae).\u0275fac=function(ne){return new(ne||A)},A.\u0275prov=a.jDH({token:A,factory:()=>(0,a.WQX)(L),providedIn:"platform"}),ae})();const V=new a.nKC("");let L=(()=>{var A;class ae extends H{constructor(){super(),this._doc=(0,a.WQX)(B),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return w().getBaseHref(this._doc)}onPopState(ne){const Ge=w().getGlobalEventTarget(this._doc,"window");return Ge.addEventListener("popstate",ne,!1),()=>Ge.removeEventListener("popstate",ne)}onHashChange(ne){const Ge=w().getGlobalEventTarget(this._doc,"window");return Ge.addEventListener("hashchange",ne,!1),()=>Ge.removeEventListener("hashchange",ne)}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(ne){this._location.pathname=ne}pushState(ne,Ge,vt){this._history.pushState(ne,Ge,vt)}replaceState(ne,Ge,vt){this._history.replaceState(ne,Ge,vt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(ne=0){this._history.go(ne)}getState(){return this._history.state}}return(A=ae).\u0275fac=function(ne){return new(ne||A)},A.\u0275prov=a.jDH({token:A,factory:()=>new A,providedIn:"platform"}),ae})();function U(A,ae){if(0==A.length)return ae;if(0==ae.length)return A;let lt=0;return A.endsWith("/")&<++,ae.startsWith("/")&<++,2==lt?A+ae.substring(1):1==lt?A+ae:A+"/"+ae}function le(A){const ae=A.match(/#|\?|$/),lt=ae&&ae.index||A.length;return A.slice(0,lt-("/"===A[lt-1]?1:0))+A.slice(lt)}function W(A){return A&&"?"!==A[0]?"?"+A:A}let q=(()=>{var A;class ae{historyGo(ne){throw new Error("")}}return(A=ae).\u0275fac=function(ne){return new(ne||A)},A.\u0275prov=a.jDH({token:A,factory:()=>(0,a.WQX)(ue),providedIn:"root"}),ae})();const we=new a.nKC("");let ue=(()=>{var A;class ae extends q{constructor(ne,Ge){var vt,on,Hn;
1super(),this._platformLocation=ne,this._removeListenerFns=[],this._baseHref=null!==(vt=null!==(on=null!=Ge?Ge:this._platformLocation.getBaseHrefFromDOM())&&void 0!==on?on:null===(Hn=(0,a.WQX)(B).location)||void 0===Hn?void 0:Hn.origin)&&void 0!==vt?vt:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ne){this._removeListenerFns.push(this._platformLocation.onPopState(ne),this._platformLocation.onHashChange(ne))}getBaseHref(){return this._baseHref}prepareExternalUrl(ne){return U(this._baseHref,ne)}path(ne=!1){const Ge=this._platformLocation.pathname+W(this._platformLocation.search),vt=this._platformLocation.hash;return vt&&ne?`${Ge}${vt}`:Ge}pushState(ne,Ge,vt,on){const Hn=this.prepareExternalUrl(vt+W(on));this._platformLocation.pushState(ne,Ge,Hn)}replaceState(ne,Ge,vt,on){const Hn=this.prepareExternalUrl(vt+W(on));this._platformLocation.replaceState(ne,Ge,Hn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ne=0){var Ge,vt;null===(Ge=(vt=this._platformLocation).historyGo)||void 0===Ge||Ge.call(vt,ne)}}return(A=ae).\u0275fac=function(ne){return new(ne||A)(a.KVO(H),a.KVO(we,8))},A.\u0275prov=a.jDH({token:A,factory:A.\u0275fac,providedIn:"root"}),ae})(),Ie=(()=>{var A;class ae extends q{constructor(ne,Ge){super(),this._platformLocation=ne,this._baseHref="",this._removeListenerFns=[],null!=Ge&&(this._baseHref=Ge)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ne){this._removeListenerFns.push(this._platformLocation.onPopState(ne),this._platformLocation.onHashChange(ne))}getBaseHref(){return this._baseHref}path(ne=!1){var Ge;const vt=null!==(Ge=this._platformLocation.hash)&&void 0!==Ge?Ge:"#";return vt.length>0?vt.substring(1):vt}prepareExternalUrl(ne){const Ge=U(this._baseHref,ne);return Ge.length>0?"#"+Ge:Ge}pushState(ne,Ge,vt,on){let Hn=this.prepareExternalUrl(vt+W(on));0==Hn.length&&(Hn=this._platformLocation.pathname),this._platformLocation.pushState(ne,Ge,Hn)}replaceState(ne,Ge,vt,on){let Hn=this.prepareExternalUrl(vt+W(on));0==Hn.length&&(Hn=this._platformLocation.pathname),this._platformLocation.replaceState(ne,Ge,Hn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ne=0){var Ge,vt;null===(Ge=(vt=this._platformLocation).historyGo)||void 0===Ge||Ge.call(vt,ne)}}return(A=ae).\u0275fac=function(ne){return new(ne||A)(a.KVO(H),a.KVO(we,8))},A.\u0275prov=a.jDH({token:A,factory:A.\u0275fac}),ae})(),ge=(()=>{var A;class ae{constructor(ne){this._subject=new a.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=ne;const Ge=this._locationStrategy.getBaseHref();this._basePath=function Pe(A){if(new RegExp("^(https?:)?//").test(A)){const[,lt]=A.split(/\/\/[^\/]+/);return lt}return A}(le($e(Ge))),this._locationStrategy.onPopState(vt=>{this._subject.emit({url:this.path(!0),pop:!0,state:vt.state,type:vt.type})})}ngOnDestroy(){var ne;null===(ne=this._urlChangeSubscription)||void 0===ne||ne.unsubscribe(),this._urlChangeListeners=[]}path(ne=!1){return this.normalize(this._locationStrategy.path(ne))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(ne,Ge=""){return this.path()==this.normalize(ne+W(Ge))}normalize(ne){return ae.stripTrailingSlash(function Me(A,ae){if(!A||!ae.startsWith(A))return ae;const lt=ae.substring(A.length);return""===lt||["/",";","?","#"].includes(lt[0])?lt:ae}(this._basePath,$e(ne)))}prepareExternalUrl(ne){return ne&&"/"!==ne[0]&&(ne="/"+ne),this._locationStrategy.prepareExternalUrl(ne)}go(ne,Ge="",vt=null){this._locationStrategy.pushState(vt,"",ne,Ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(ne+W(Ge)),vt)}replaceState(ne,Ge="",vt=null){this._locationStrategy.replaceState(vt,"",ne,Ge),this._notifyUrlChangeListeners(this.prepareExternalUrl(ne+W(Ge)),vt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(ne=0){var Ge,vt;null===(Ge=(vt=this._locationStrategy).historyGo)||void 0===Ge||Ge.call(vt,ne)}onUrlChange(ne){var Ge;return this._urlChangeListeners.push(ne),null!==(Ge=this._urlChangeSubscription)&&void 0!==Ge||(this._urlChangeSubscription=this.subscribe(vt=>{this._notifyUrlChangeListeners(vt.url,vt.state)})),()=>{const vt=this._urlChangeListeners.indexOf(ne);var on;this._urlChangeListeners.splice(vt,1),0===this._urlChangeListeners.length&&(null===(on=this._urlChangeSubscription)||void 0===on||on.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(ne="",Ge){this._urlChangeListeners.forEac
1h(vt=>vt(ne,Ge))}subscribe(ne,Ge,vt){return this._subject.subscribe({next:ne,error:Ge,complete:vt})}}return(A=ae).normalizeQueryParams=W,A.joinWithSlash=U,A.stripTrailingSlash=le,A.\u0275fac=function(ne){return new(ne||A)(a.KVO(q))},A.\u0275prov=a.jDH({token:A,factory:()=>function he(){return new ge((0,a.KVO)(q))}(),providedIn:"root"}),ae})();function $e(A){return A.replace(/\/index.html$/,"")}const Re={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var it=function(A){return A[A.Decimal=0]="Decimal",A[A.Percent=1]="Percent",A[A.Currency=2]="Currency",A[A.Scientific=3]="Scientific",A}(it||{}),We=function(A){return A[A.Format=0]="Format",A[A.Standalone=1]="Standalone",A}(We||{}),Ae=function(A){return A[A.Narrow=0]="Narrow",A[A.Abbreviated=1]="Abbreviated",A[A.Wide=2]="Wide",A[A.Short=3]="Short",A}(Ae||{}),k=function(A){return A[A.Short=0]="Short",A[A.Medium=1]="Medium",A[A.Long=2]="Long",A[A.Full=3]="Full",A}(k||{});const z={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 se(A,ae){return Yn((0,a.H5H)(A)[a.KH2.DateFormat],ae)}function Ce(A,ae){return Yn((0,a.H5H)(A)[a.KH2.TimeFormat],ae)}function at(A,ae){return Yn((0,a.H5H)(A)[a.KH2.DateTimeFormat],ae)}function pt(A,ae){const lt=(0,a.H5H)(A),ne=lt[a.KH2.NumberSymbols][ae];if(typeof ne>"u"){if(ae===z.CurrencyDecimal)return lt[a.KH2.NumberSymbols][z.Decimal];if(ae===z.CurrencyGroup)return lt[a.KH2.NumberSymbols][z.Group]}return ne}function ct(A,ae){return(0,a.H5H)(A)[a.KH2.NumberFormats][ae]}function $r(A){if(!A[a.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${A[a.KH2.
1LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Yn(A,ae){for(let lt=ae;lt>-1;lt--)if(typeof A[lt]<"u")return A[lt];throw new Error("Locale data API: locale data undefined")}function Qn(A){const[ae,lt]=A.split(":");return{hours:+ae,minutes:+lt}}const Kt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Zn={},Ir=/((?:[^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 Er=function(A){return A[A.Short=0]="Short",A[A.ShortGMT=1]="ShortGMT",A[A.Long=2]="Long",A[A.Extended=3]="Extended",A}(Er||{}),$n=function(A){return A[A.FullYear=0]="FullYear",A[A.Month=1]="Month",A[A.Date=2]="Date",A[A.Hours=3]="Hours",A[A.Minutes=4]="Minutes",A[A.Seconds=5]="Seconds",A[A.FractionalSeconds=6]="FractionalSeconds",A[A.Day=7]="Day",A}($n||{}),dn=function(A){return A[A.DayPeriods=0]="DayPeriods",A[A.Days=1]="Days",A[A.Months=2]="Months",A[A.Eras=3]="Eras",A}(dn||{});function Ar(A,ae,lt,ne){let Ge=function Nn(A){if(Ur(A))return A;if("number"==typeof A&&!isNaN(A))return new Date(A);if("string"==typeof A){if(A=A.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(A)){const[Ge,vt=1,on=1]=A.split("-").map(Hn=>+Hn);return ei(Ge,vt-1,on)}const lt=parseFloat(A);if(!isNaN(A-lt))return new Date(lt);let ne;if(ne=A.match(Kt))return function Sr(A){const ae=new Date(0);let lt=0,ne=0;const Ge=A[8]?ae.setUTCFullYear:ae.setFullYear,vt=A[8]?ae.setUTCHours:ae.setHours;A[9]&&(lt=Number(A[9]+A[10]),ne=Number(A[9]+A[11])),Ge.call(ae,Number(A[1]),Number(A[2])-1,Number(A[3]));const on=Number(A[4]||0)-lt,Hn=Number(A[5]||0)-ne,yi=Number(A[6]||0),Hr=Math.floor(1e3*parseFloat("0."+(A[7]||0)));return vt.call(ae,on,Hn,yi,Hr),ae}(ne)}const ae=new Date(A);if(!Ur(ae))throw new Error(`Unable to convert "${A}" into a date`);return ae}(A);ae=wr(lt,ae)||ae;let Hn,on=[];for(;ae;){if(Hn=Ir.exec(ae),!Hn){on.push(ae);break}{on=on.concat(Hn.slice(1));const Zi=on.pop();if(!Zi)break;ae=Zi}}let yi=Ge.getTimezoneOffset();ne&&(yi=tn(ne,yi),Ge=function Gt(A,ae,lt){const ne=lt?-1:1,Ge=A.getTimezoneOffset();return function Pt(A,ae){return(A=new Date(A.getTime())).setMinutes(A.getMinutes()+ae),A}(A,ne*(tn(ae,Ge)-Ge))}(Ge,ne,!0));let Hr="";return on.forEach(Zi=>{const E=function Rt(A){if(Yt[A])return Yt[A];let ae;switch(A){case"G":case"GG":case"GGG":ae=Un(dn.Eras,Ae.Abbreviated);break;case"GGGG":ae=Un(dn.Eras,Ae.Wide);break;case"GGGGG":ae=Un(dn.Eras,Ae.Narrow);break;case"y":ae=Lt($n.FullYear,1,0,!1,!0);break;case"yy":ae=Lt($n.FullYear,2,0,!0,!0);break;case"yyy":ae=Lt($n.FullYear,3,0,!1,!0);break;case"yyyy":ae=Lt($n.FullYear,4,0,!1,!0);break;case"Y":ae=eo(1);break;case"YY":ae=eo(2,!0);break;case"YYY":ae=eo(3);break;case"YYYY":ae=eo(4);break;case"M":case"L":ae=Lt($n.Month,1,1);break;case"MM":case"LL":ae=Lt($n.Month,2,1);break;case"MMM":ae=Un(dn.Months,Ae.Abbreviated);break;case"MMMM":ae=Un(dn.Months,Ae.Wide);break;case"MMMMM":ae=Un(dn.Months,Ae.Narrow);break;case"LLL":ae=Un(dn.Months,Ae.Abbreviated,We.Standalone);break;case"LLLL":ae=Un(dn.Months,Ae.Wide,We.Standalone);break;case"LLLLL":ae=Un(dn.Months,Ae.Narrow,We.Standalone);break;case"w":ae=_i(1);break;case"ww":ae=_i(2);break;case"W":ae=_i(1,!0);break;case"d":ae=Lt($n.Date,1);break;case"dd":ae=Lt($n.Date,2);break;case"c":case"cc":ae=Lt($n.Day,1);break;case"ccc":ae=Un(dn.Days,Ae.Abbreviated,We.Standalone);break;case"cccc":ae=Un(dn.Days,Ae.Wide,We.Standalone);break;case"ccccc":ae=Un(dn.Days,Ae.Narrow,We.Standalone);break;case"cccccc":ae=Un(dn.Days,Ae.Short,We.Standalone);break;case"E":case"EE":case"EEE":ae=Un(dn.Days,Ae.Abbreviated);break;case"EEEE":ae=Un(dn.Days,Ae.Wide);break;case"EEEEE":ae=Un(dn.Days,Ae.Narrow);break;case"EEEEEE":ae=Un(dn.Days,Ae.Short);break;case"a":case"aa":case"aaa":ae=Un(dn.DayPeriods,Ae.Abbreviated);break;case"aaaa":ae=Un(dn.DayPeriods,Ae.Wide);break;case"aaaaa":ae=Un(dn.DayPeriods,Ae.Narrow);break;case"b":case"bb":case"bbb":ae=Un(dn.DayPeriods,Ae.Abbreviated,We.Standalone,!0);break;case"bbbb":ae=Un(dn.DayPeriods,Ae.Wide,We.Standalone,!0);break;case"bbbbb":ae=Un(dn.DayPeriods,Ae.Narrow,We.Standalone,!0);break;case"B":case"BB":case"BBB":ae=Un(dn.DayPeriods,Ae.Abbreviated,We.Format,!0);break;case"BBBB":ae=Un(dn.DayPeriods,Ae.Wide,We.Format,!0);break;case"BBBBB":ae=Un(dn.DayPeriods,Ae.Narrow,We.Format,!0);break;case"h":ae=Lt($n.Hours,1,-12);break;case"hh":ae=Lt($n.Hours,2,-12);break;case"H":ae=Lt($n.Hours,1);break;case"HH":ae=Lt($n.Hours,2);break;case"m":ae=Lt($n.Minutes,1);break;case"mm":ae=Lt($n.Minutes,2);break;case"s":ae=Lt($n.Seconds,1);break;case"ss":ae=Lt($n.Seconds,2);break;case"S":ae=Lt($n.FractionalSeconds,1);break;case"SS":ae=Lt($n.FractionalSeconds,2);break;case"SSS":ae=Lt($n.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":ae=Bn(Er.Short);break;case"ZZZZZ":ae=Bn(Er.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":ae=Bn(Er.ShortGMT);break;
1case"OOOO":case"ZZZZ":case"zzzz":ae=Bn(Er.Long);break;default:return null}return Yt[A]=ae,ae}(Zi);Hr+=E?E(Ge,lt,yi):"''"===Zi?"'":Zi.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Hr}function ei(A,ae,lt){const ne=new Date(0);return ne.setFullYear(A,ae,lt),ne.setHours(0,0,0),ne}function wr(A,ae){var lt;const ne=function pe(A){return(0,a.H5H)(A)[a.KH2.LocaleId]}(A);if(null!==(lt=Zn[ne])&&void 0!==lt||(Zn[ne]={}),Zn[ne][ae])return Zn[ne][ae];let Ge="";switch(ae){case"shortDate":Ge=se(A,k.Short);break;case"mediumDate":Ge=se(A,k.Medium);break;case"longDate":Ge=se(A,k.Long);break;case"fullDate":Ge=se(A,k.Full);break;case"shortTime":Ge=Ce(A,k.Short);break;case"mediumTime":Ge=Ce(A,k.Medium);break;case"longTime":Ge=Ce(A,k.Long);break;case"fullTime":Ge=Ce(A,k.Full);break;case"short":const vt=wr(A,"shortTime"),on=wr(A,"shortDate");Ge=Yr(at(A,k.Short),[vt,on]);break;case"medium":const Hn=wr(A,"mediumTime"),yi=wr(A,"mediumDate");Ge=Yr(at(A,k.Medium),[Hn,yi]);break;case"long":const Hr=wr(A,"longTime"),Zi=wr(A,"longDate");Ge=Yr(at(A,k.Long),[Hr,Zi]);break;case"full":const E=wr(A,"fullTime"),y=wr(A,"fullDate");Ge=Yr(at(A,k.Full),[E,y])}return Ge&&(Zn[ne][ae]=Ge),Ge}function Yr(A,ae){return ae&&(A=A.replace(/\{([^}]+)}/g,function(lt,ne){return null!=ae&&ne in ae?ae[ne]:lt})),A}function li(A,ae,lt="-",ne,Ge){let vt="";(A<0||Ge&&A<=0)&&(Ge?A=1-A:(A=-A,vt=lt));let on=String(A);for(;on.length<ae;)on="0"+on;return ne&&(on=on.slice(on.length-ae)),vt+on}function Lt(A,ae,lt=0,ne=!1,Ge=!1){return function(vt,on){let Hn=function rr(A,ae){switch(A){case $n.FullYear:return ae.getFullYear();case $n.Month:return ae.getMonth();case $n.Date:return ae.getDate();case $n.Hours:return ae.getHours();case $n.Minutes:return ae.getMinutes();case $n.Seconds:return ae.getSeconds();case $n.FractionalSeconds:return ae.getMilliseconds();case $n.Day:return ae.getDay();default:throw new Error(`Unknown DateType value "${A}".`)}}(A,vt);if((lt>0||Hn>-lt)&&(Hn+=lt),A===$n.Hours)0===Hn&&-12===lt&&(Hn=12);else if(A===$n.FractionalSeconds)return function mi(A,ae){return li(A,3).substring(0,ae)}(Hn,ae);const yi=pt(on,z.MinusSign);return li(Hn,ae,yi,ne,Ge)}}function Un(A,ae,lt=We.Format,ne=!1){return function(Ge,vt){return function nt(A,ae,lt,ne,Ge,vt){switch(lt){case dn.Months:return function fe(A,ae,lt){const ne=(0,a.H5H)(A),vt=Yn([ne[a.KH2.MonthsFormat],ne[a.KH2.MonthsStandalone]],ae);return Yn(vt,lt)}(ae,Ge,ne)[A.getMonth()];case dn.Days:return function ze(A,ae,lt){const ne=(0,a.H5H)(A),vt=Yn([ne[a.KH2.DaysFormat],ne[a.KH2.DaysStandalone]],ae);return Yn(vt,lt)}(ae,Ge,ne)[A.getDay()];case dn.DayPeriods:const on=A.getHours(),Hn=A.getMinutes();if(vt){const Hr=function ur(A){const ae=(0,a.H5H)(A);return $r(ae),(ae[a.KH2.ExtraData][2]||[]).map(ne=>"string"==typeof ne?Qn(ne):[Qn(ne[0]),Qn(ne[1])])}(ae),Zi=function Fn(A,ae,lt){const ne=(0,a.H5H)(A);$r(ne);const vt=Yn([ne[a.KH2.ExtraData][0],ne[a.KH2.ExtraData][1]],ae)||[];return Yn(vt,lt)||[]}(ae,Ge,ne),E=Hr.findIndex(y=>{if(Array.isArray(y)){const[v,b]=y,N=on>=v.hours&&Hn>=v.minutes,ie=on<b.hours||on===b.hours&&Hn<b.minutes;if(v.hours<b.hours){if(N&&ie)return!0}else if(N||ie)return!0}else if(y.hours===on&&y.minutes===Hn)return!0;return!1});if(-1!==E)return Zi[E]}return function ve(A,ae,lt){const ne=(0,a.H5H)(A),vt=Yn([ne[a.KH2.DayPeriodsFormat],ne[a.KH2.DayPeriodsStandalone]],ae);return Yn(vt,lt)}(ae,Ge,ne)[on<12?0:1];case dn.Eras:return function de(A,ae){return Yn((0,a.H5H)(A)[a.KH2.Eras
1],ae)}(ae,ne)[A.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${lt}`)}}(Ge,vt,A,ae,lt,ne)}}function Bn(A){return function(ae,lt,ne){const Ge=-1*ne,vt=pt(lt,z.MinusSign),on=Ge>0?Math.floor(Ge/60):Math.ceil(Ge/60);switch(A){case Er.Short:return(Ge>=0?"+":"")+li(on,2,vt)+li(Math.abs(Ge%60),2,vt);case Er.ShortGMT:return"GMT"+(Ge>=0?"+":"")+li(on,1,vt);case Er.Long:return"GMT"+(Ge>=0?"+":"")+li(on,2,vt)+":"+li(Math.abs(Ge%60),2,vt);case Er.Extended:return 0===ne?"Z":(Ge>=0?"+":"")+li(on,2,vt)+":"+li(Math.abs(Ge%60),2,vt);default:throw new Error(`Unknown zone width "${A}"`)}}}const _r=0,Jr=4;function ui(A){const ae=A.getDay(),lt=0===ae?-3:Jr-ae;return ei(A.getFullYear(),A.getMonth(),A.getDate()+lt)}function _i(A,ae=!1){return function(lt,ne){let Ge;if(ae){const vt=new Date(lt.getFullYear(),lt.getMonth(),1).getDay()-1,on=lt.getDate();Ge=1+Math.floor((on+vt)/7)}else{const vt=ui(lt),on=function ti(A){const ae=ei(A,_r,1).getDay();return ei(A,0,1+(ae<=Jr?Jr:Jr+7)-ae)}(vt.getFullYear()),Hn=vt.getTime()-on.getTime();Ge=1+Math.round(Hn/6048e5)}return li(Ge,A,pt(ne,z.MinusSign))}}function eo(A,ae=!1){return function(lt,ne){return li(ui(lt).getFullYear(),A,pt(ne,z.MinusSign),ae)}}const Yt={};function tn(A,ae){A=A.replace(/:/g,"");const lt=Date.parse("Jan 01, 1970 00:00:00 "+A)/6e4;return isNaN(lt)?ae:lt}function Ur(A){return A instanceof Date&&!isNaN(A.valueOf())}const ii=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Kr=22,xi=".",Fi="0",ao=";",Oo=",",to="#";function xo(A,ae,lt,ne,Ge,vt,on=!1){let Hn="",yi=!1;if(isFinite(A)){let Hr=function lo(A){let ne,Ge,vt,on,Hn,ae=Math.abs(A)+"",lt=0;for((Ge=ae.indexOf(xi))>-1&&(ae=ae.replace(xi,"")),(vt=ae.search(/e/i))>0?(Ge<0&&(Ge=vt),Ge+=+ae.slice(vt+1),ae=ae.substring(0,vt)):Ge<0&&(Ge=ae.length),vt=0;ae.charAt(vt)===Fi;vt++);if(vt===(Hn=ae.length))ne=[0],Ge=1;else{for(Hn--;ae.charAt(Hn)===Fi;)Hn--;for(Ge-=vt,ne=[],on=0;vt<=Hn;vt++,on++)ne[on]=Number(ae.charAt(vt))}return Ge>Kr&&(ne=ne.splice(0,Kr-1),lt=Ge-1,Ge=1),{digits:ne,exponent:lt,integerLen:Ge}}(A);on&&(Hr=function ji(A){if(0===A.digits[0])return A;const ae=A.digits.length-A.integerLen;return A.exponent?A.exponent+=2:(0===ae?A.digits.push(0,0):1===ae&&A.digits.push(0),A.integerLen+=2),A}(Hr));let Zi=ae.minInt,E=ae.minFrac,y=ae.maxFrac;if(vt){const rt=vt.match(ii);if(null===rt)throw new Error(`${vt} is not a valid digit info`);const ut=rt[1],At=rt[3],qt=rt[5];null!=ut&&(Zi=Po(ut)),null!=At&&(E=Po(At)),null!=qt?y=Po(qt):null!=At&&E>y&&(y=E)}!function co(A,ae,lt){if(ae>lt)throw new Error(`The minimum number of digits after fraction (${ae}) is higher than the maximum (${lt}).`);let ne=A.digits,Ge=ne.length-A.integerLen;const vt=Math.min(Math.max(ae,Ge),lt);let on=vt+A.integerLen,Hn=ne[on];if(on>0){ne.splice(Math.max(A.integerLen,on));for(let E=on;E<ne.length;E++)ne[E]=0}else{Ge=Math.max(0,Ge),A.integerLen=1,ne.length=Math.max(1,on=vt+1),ne[0]=0;for(let E=1;E<on;E++)ne[E]=0}if(Hn>=5)if(on-1<0){for(let E=0;E>on;E--)ne.unshift(0),A.integerLen++;ne.unshift(1),A.integerLen++}else ne[on-1]++;for(;Ge<Math.max(0,vt);Ge++)ne.push(0);let yi=0!==vt;const Hr=ae+A.integerLen,Zi=ne.reduceRight(function(E,y,v,b){return b[v]=(y+=E)<10?y:y-10,yi&&(0===b[v]&&v>=Hr?b.pop():yi=!1),y>=10?1:0},0);Zi&&(ne.unshift(Zi),A.integerLen++)}(Hr,E,y);let v=Hr.digits,b=Hr.integerLen;const N=Hr.exponent;let ie=[];for(yi=v.every(rt=>!rt);b<Zi;b++)v.unshift(0);for(;b<0;b++)v.unshift(0);b>0?ie=v.splice(b,v.length):(ie=v,v=[0]);const be=[];for(v.length>=ae.lgSize&&be.unshift(v.splice(-ae.lgSize,v.length).join(""));v.length>ae.gSize;)be.unshift(v.splice(-ae.gSize,v.length).join(""));v.length&&be.unshift(v.join("")),Hn=be.join(pt(lt,ne)),ie.length&&(Hn+=pt(lt,Ge)+ie.join("")),N&&(Hn+=pt(lt,z.Exponential)+"+"+N)}else Hn=pt(lt,z.Infinity);return Hn=A<0&&!yi?ae.negPre+Hn+ae.negSuf:ae.posPre+Hn+ae.posSuf,Hn}function hi(A,ae,lt){return xo(A,no(ct(ae,it.Decimal),pt(ae,z.MinusSign)),ae,z.Group,z.Decimal,lt)}function no(A,ae="-"){const lt={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ne=A.split(ao),Ge=ne[0],vt=ne[1],on=-1!==Ge.indexOf(xi)?Ge.split(xi):[Ge.substring(0,Ge.lastIndexOf(Fi)+1),Ge.substring(Ge.lastIndexOf(Fi)+1)],Hn=on[0],yi=on[1]||"";lt.posPre=Hn.substring(0,Hn.indexOf(to));for(let Zi=0;Zi<yi.length;Zi++){const E=yi.charAt(Zi);E===Fi?lt.minFrac=lt.maxFrac=Zi+1:E===to?lt.maxFrac=Zi+1:lt.posSuf+=E}const Hr=Hn.split(Oo);if(lt.gSize=Hr[1]?Hr[1].length:0,lt.lgSize=Hr[2]||Hr[1]?(Hr[2]||Hr[1]).length:0,vt){const Zi=Ge.length-lt.posPre.length-lt.posSuf.length,E=vt.indexOf(to);lt.negPre=vt.substring(0,E).replace(/'/g,""),lt.negSuf=vt.slice(E+Zi).replace(/'/g,"")}else lt.negPre=ae+lt.posPre,lt.negSuf=lt.posSuf;return lt}function Po(A){const ae=parseInt(A);if(isNaN(ae))throw new Error("Invalid integer literal when parsing "+A);return ae}function je(A,ae,lt){return(0,a.XSP)(A,ae,lt)}function ke(A,ae){ae=encodeURIComponent(ae);for(const lt of A.split(";")){const ne=lt.indexOf("="),[Ge,vt]=-1==ne?[lt,""]:[lt.slice(0,ne),lt.slice(ne+1)];if(Ge.trim()===ae)return decodeURIComponent(vt)}return null}const Tt=/\s+/,Zt=[];let In=(()=>{var A;class ae{constructor(ne,Ge){this._ngEl=ne,this._renderer=Ge,this.initialClasses=Zt,this.stateMap=new Map}
1set klass(ne){this.initialClasses=null!=ne?ne.trim().split(Tt):Zt}set ngClass(ne){this.rawClass="string"==typeof ne?ne.trim().split(Tt):ne}ngDoCheck(){for(const Ge of this.initialClasses)this._updateState(Ge,!0);const ne=this.rawClass;if(Array.isArray(ne)||ne instanceof Set)for(const Ge of ne)this._updateState(Ge,!0);else if(null!=ne)for(const Ge of Object.keys(ne))this._updateState(Ge,!!ne[Ge]);this._applyStateDiff()}_updateState(ne,Ge){const vt=this.stateMap.get(ne);void 0!==vt?(vt.enabled!==Ge&&(vt.changed=!0,vt.enabled=Ge),vt.touched=!0):this.stateMap.set(ne,{enabled:Ge,changed:!0,touched:!0})}_applyStateDiff(){for(const ne of this.stateMap){const Ge=ne[0],vt=ne[1];vt.changed?(this._toggleClass(Ge,vt.enabled),vt.changed=!1):vt.touched||(vt.enabled&&this._toggleClass(Ge,!1),this.stateMap.delete(Ge)),vt.touched=!1}}_toggleClass(ne,Ge){(ne=ne.trim()).length>0&&ne.split(Tt).forEach(vt=>{Ge?this._renderer.addClass(this._ngEl.nativeElement,vt):this._renderer.removeClass(this._ngEl.nativeElement,vt)})}}return(A=ae).\u0275fac=function(ne){return new(ne||A)(a.rXU(a.aKT),a.rXU(a.sFG))},A.\u0275dir=a.FsC({type:A,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0}),ae})();class et{constructor(ae,lt,ne,Ge){this.$implicit=ae,this.ngForOf=lt,this.index=ne,this.count=Ge}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 Ht=(()=>{var A;class ae{set ngForOf(ne){this._ngForOf=ne,this._ngForOfDirty=!0}set ngForTrackBy(ne){this._trackByFn=ne}get ngForTrackBy(){return this._trackByFn}constructor(ne,Ge,vt){this._viewContainer=ne,this._template=Ge,this._differs=vt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(ne){ne&&(this._template=ne)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const ne=this._ngForOf;!this._differ&&ne&&(this._differ=this._differs.find(ne).create(this.ngForTrackBy))}if(this._differ){const ne=this._differ.diff(this._ngForOf);ne&&this._applyChanges(ne)}}_applyChanges(ne){const Ge=this._viewContainer;ne.forEachOperation((vt,on,Hn)=>{if(null==vt.previousIndex)Ge.createEmbeddedView(this._template,new et(vt.item,this._ngForOf,-1,-1),null===Hn?void 0:Hn);else if(null==Hn)Ge.remove(null===on?void 0:on);else if(null!==on){const yi=Ge.get(on);Ge.move(yi,Hn),Bt(yi,vt)}});for(let vt=0,on=Ge.length;vt<on;vt++){const yi=Ge.get(vt).context;yi.index=vt,yi.count=on,yi.ngForOf=this._ngForOf}ne.forEachIdentityChange(vt=>{Bt(Ge.get(vt.currentIndex),vt)})}static ngTemplateContextGuard(ne,Ge){return!0}}return(A=ae).\u0275fac=function(ne){return new(ne||A)(a.rXU(a.c1b),a.rXU(a.C4Q),a.rXU(a._q3))},A.\u0275dir=a.FsC({type:A,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),ae})();function Bt(A,ae){A.context.$implicit=ae.item}let Dn=(()=>{var A;class ae{constructor(ne,Ge){this._viewContainer=ne,this._context=new ir,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Ge}set ngIf(ne){this._context.$implicit=this._context.ngIf=ne,this._updateView()}set ngIfThen(ne){er("ngIfThen",ne),this._thenTemplateRef=ne,this._thenViewRef=null,this._updateView()}set ngIfElse(ne){er("ngIfElse",ne),this._elseTemplateRef=ne,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(ne,Ge){return!0}}return(A=ae).\u0275fac=function(ne){return new(ne||A)(a.rXU(a.c1b),a.rXU(a.C4Q))},A.\u0275dir=a.FsC({type:A,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),ae})();class ir{constructor(){this.$implicit=null,this.ngIf=null}}function er(A,ae){if(ae&&!ae.createEmbeddedView)throw new Error(`${A} must be a TemplateRef, but received '${(0,a.Tbb)(ae)}'.`)}
1class Wr{constructor(ae,lt){this._viewContainerRef=ae,this._templateRef=lt,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(ae){ae&&!this._created?this.create():!ae&&this._created&&this.destroy()}}let Tr=(()=>{var A;class ae{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(ne){this._ngSwitch=ne,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(ne){this._defaultViews.push(ne)}_matchCase(ne){const Ge=ne===this._ngSwitch;return this._lastCasesMatched||(this._lastCasesMatched=Ge),this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Ge}_updateDefaultCases(ne){if(this._defaultViews.length>0&&ne!==this._defaultUsed){this._defaultUsed=ne;for(const Ge of this._defaultViews)Ge.enforceState(ne)}}}return(A=ae).\u0275fac=function(ne){return new(ne||A)},A.\u0275dir=a.FsC({type:A,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),ae})(),Bi=(()=>{var A;class ae{constructor(ne,Ge,vt){this.ngSwitch=vt,vt._addCase(),this._view=new Wr(ne,Ge)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return(A=ae).\u0275fac=function(ne){return new(ne||A)(a.rXU(a.c1b),a.rXU(a.C4Q),a.rXU(Tr,9))},A.\u0275dir=a.FsC({type:A,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),ae})(),di=(()=>{var A;class ae{constructor(ne,Ge,vt){this._ngEl=ne,this._differs=Ge,this._renderer=vt,this._ngStyle=null,this._differ=null}set ngStyle(ne){this._ngStyle=ne,!this._differ&&ne&&(this._differ=this._differs.find(ne).create())}ngDoCheck(){if(this._differ){const ne=this._differ.diff(this._ngStyle);ne&&this._applyChanges(ne)}}_setStyle(ne,Ge){const[vt,on]=ne.split("."),Hn=-1===vt.indexOf("-")?void 0:a.czy.DashCase;null!=Ge?this._renderer.setStyle(this._ngEl.nativeElement,vt,on?`${Ge}${on}`:Ge,Hn):this._renderer.removeStyle(this._ngEl.nativeElement,vt,Hn)}_applyChanges(ne){ne.forEachRemovedItem(Ge=>this._setStyle(Ge.key,null)),ne.forEachAddedItem(Ge=>this._setStyle(Ge.key,Ge.currentValue)),ne.forEachChangedItem(Ge=>this._setStyle(Ge.key,Ge.currentValue))}}return(A=ae).\u0275fac=function(ne){return new(ne||A)(a.rXU(a.aKT),a.rXU(a.MKu),a.rXU(a.sFG))},A.\u0275dir=a.FsC({type:A,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),ae})(),dt=(()=>{var A;class ae{constructor(ne){this._viewContainerRef=ne,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(ne){if(this._shouldRecreateView(ne)){var Ge;const vt=this._viewContainerRef;if(this._viewRef&&vt.remove(vt.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const on=this._createContextForwardProxy();this._viewRef=vt.createEmbeddedView(this.ngTemplateOutlet,on,{injector:null!==(Ge=this.ngTemplateOutletInjector)&&void 0!==Ge?Ge:void 0})}}_shouldRecreateView(ne){return!!ne.ngTemplateOutlet||!!ne.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(ne,Ge,vt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Ge,vt),get:(ne,Ge,vt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Ge,vt)}})}}return(A=ae).\u0275fac=function(ne){return new(ne||A)(a.rXU(a.c1b))},A.\u0275dir=a.FsC({type:A,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[a.OA$]}),ae})();function ft(A,ae){return new a.wOt(2100,!1)}class St{createSubscription(ae,lt){return(0,a.O8t)(()=>ae.subscribe({next:lt,error:ne=>{throw ne}}))}dispose(ae){(0,a.O8t)(()=>ae.unsubscribe())}}class zt{createSubscription(ae,lt){return ae.then(lt,ne=>{throw ne})}dispose(ae){}}const Ln=new zt,kr=new St;let R=(()=>{var A;class ae{constructor(ne){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=ne}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(ne){if(!this._obj){if(ne)try{this.markForCheckOnValueUpdate=!1,this._subscribe(ne)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return ne!==this._obj?(this._dispose(),this.transform(ne)):this._latestValue}_subscribe(ne){this._obj=ne,this._strategy=this._selectStrategy(ne),this._subscription=this._strategy.createSubscription(ne,Ge=>this._updateLatestValue(ne,Ge))}_selectStrategy(ne){if((0,a.jNT)(ne))return Ln;if((0,a.zjR)(ne))return kr;throw ft()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(ne,Ge){var vt;ne===this._obj&&(this._latestValue=Ge,this.markForCheckOnValueUpdate)&&(null===(vt=this._ref)||void 0===vt||vt.markForCheck())}}return(A=ae).\u0275fac=function(ne){return new(ne||A)(a.rXU(a.gRc,16))},A.\u0275pipe=a.EJ8({name:"async",type:A,pure:!1,standalone:!0}),ae})();const Mi=new a.nKC(""),bo=new a.nKC("");let ns=(()=>{var A;class ae{constructor(ne,Ge,vt){this.locale=ne,this.defaultTimezone=Ge,this.defaultOptions=vt}transform(ne,Ge,vt,on){if(null==ne||""===ne||ne!=ne)return null;try{var Hn,yi,Hr,Zi,E;const y=null!==(Hn=null!=Ge?Ge:null===(yi=this.defaultOptions)||void 0===yi?void 0:yi.dateFormat)&&void 0!==Hn?Hn:"mediumDate",v=null!==(Hr=null!==(Zi=null!=vt?vt:null===(E=this.defaultOptions)||void 0===E?void 0:E.timezone)&&void 0!==Zi?Zi:this.defaultTimezone)&&void 0!==Hr?Hr:void 0;return Ar(ne,y,on||this.locale,v)}catch(y){throw ft()}}}return(A=ae).\u0275fac=function(ne){return new(ne||A)(a.rXU(a.xe9,16),a.rXU(Mi,24),a.rXU(bo,24))},A.\u0275pipe=a.EJ8({name:"date",type:A,pure:!0,standalone:!0}),ae})(),fi=(()=>{var A;class ae{constructor(ne,Ge="USD"){this._locale=ne,this._defaultCurrencyCode=Ge}transform(ne,Ge=this._defaultCurrencyCode,vt="symbol",on,Hn){if(!function ye(A){return!(null==A||""===A||A!=A)}(ne))return null;Hn||(Hn=this._locale),"boolean"==typeof vt&&(vt=vt?"symbol":"code");let yi=Ge||this._defaultCurrencyCode;"code"!==vt&&(yi="symbol"===vt||"symbol-narrow"===vt?function ht(A,ae,lt="en"){const ne=function lr(A){return(0,a.H5H)(A)[a.KH2.Currencies]}(lt)[A]||Re[A]||[],Ge=ne[1];return"narrow"===ae&&"string"==typeof Ge?Ge:ne[0]||A}(yi,"symbol"===vt?"wide":"narrow",Hn):vt);try{return function Lo(A,ae,lt,ne,Ge){const on=no(ct(ae,it.Currency),pt(ae,z.MinusSign));return on.minFrac=function It(A){let ae;const lt=Re[A];return lt&&(ae=lt[2]),"number"==typeof ae?ae:2}(ne),on.maxFrac=on.minFrac,xo(A,on,ae,z.CurrencyGroup,z.CurrencyDecimal,Ge).replace("\xa4",lt).replace("\xa4","").trim()}(function Ve(A){if("string"==typeof A&&!isNaN(Number(A)-parseFloat(A)))return Number(A);
1if("number"!=typeof A)throw new Error(`${A} is not a number`);return A}(ne),Hn,yi,Ge,on)}catch(Hr){throw ft()}}}return(A=ae).\u0275fac=function(ne){return new(ne||A)(a.rXU(a.xe9,16),a.rXU(a.Ocv,16))},A.\u0275pipe=a.EJ8({name:"currency",type:A,pure:!0,standalone:!0}),ae})();let Ft=(()=>{var A;class ae{}return(A=ae).\u0275fac=function(ne){return new(ne||A)},A.\u0275mod=a.$C({type:A}),A.\u0275inj=a.G2t({}),ae})();const $t="browser",bn="server";function xn(A){return A===$t}function ln(A){return A===bn}let pr=(()=>{var A;class ae{}return(A=ae).\u0275prov=(0,a.jDH)({token:A,providedIn:"root",factory:()=>xn((0,a.WQX)(a.Agw))?new Cr((0,a.WQX)(B),window):new Rr}),ae})();class Cr{constructor(ae,lt){this.document=ae,this.window=lt,this.offset=()=>[0,0]}setOffset(ae){this.offset=Array.isArray(ae)?()=>ae:ae}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(ae){this.window.scrollTo(ae[0],ae[1])}scrollToAnchor(ae){const lt=function Or(A,ae){const lt=A.getElementById(ae)||A.getElementsByName(ae)[0];if(lt)return lt;if("function"==typeof A.createTreeWalker&&A.body&&"function"==typeof A.body.attachShadow){const ne=A.createTreeWalker(A.body,NodeFilter.SHOW_ELEMENT);let Ge=ne.currentNode;for(;Ge;){const vt=Ge.shadowRoot;if(vt){const on=vt.getElementById(ae)||vt.querySelector(`[name="${ae}"]`);if(on)return on}Ge=ne.nextNode()}}return null}(this.document,ae);lt&&(this.scrollToElement(lt),lt.focus())}setHistoryScrollRestoration(ae){this.window.history.scrollRestoration=ae}scrollToElement(ae){const lt=ae.getBoundingClientRect(),ne=lt.left+this.window.pageXOffset,Ge=lt.top+this.window.pageYOffset,vt=this.offset();this.window.scrollTo(ne-vt[0],Ge-vt[1])}}class Rr{setOffset(ae){}getScrollPosition(){return[0,0]}scrollToPosition(ae){}scrollToAnchor(ae){}setHistoryScrollRestoration(ae){}}class Gi{}},1626:(wt,Se,u)=>{"use strict";u.d(Se,{Lr:()=>q,Qq:()=>at,a7:()=>cr,cS:()=>fe,q1:()=>to});var a=u(467),s=u(3953),w=u(7673),T=u(1985),x=u(6648),F=u(274),B=u(5964),H=u(6354),V=u(980),L=u(5558),U=u(177);class le{}class W{}class q{constructor(et){this.normalizedNames=new Map,this.lazyUpdate=null,et?"string"==typeof et?this.lazyInit=()=>{this.headers=new Map,et.split("\n").forEach(Ht=>{const Bt=Ht.indexOf(":");if(Bt>0){const fn=Ht.slice(0,Bt),Dn=fn.toLowerCase(),ir=Ht.slice(Bt+1).trim();this.maybeSetNormalizedName(fn,Dn),this.headers.has(Dn)?this.headers.get(Dn).push(ir):this.headers.set(Dn,[ir])}})}:typeof Headers<"u"&&et instanceof Headers?(this.headers=new Map,et.forEach((Ht,Bt)=>{this.setHeaderEntries(Bt,Ht)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(et).forEach(([Ht,Bt])=>{this.setHeaderEntries(Ht,Bt)})}:this.headers=new Map}has(et){return this.init(),this.headers.has(et.toLowerCase())}get(et){this.init();const Ht=this.headers.get(et.toLowerCase());return Ht&&Ht.length>0?Ht[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(et){return this.init(),this.headers.get(et.toLowerCase())||null}append(et,Ht){return this.clone({name:et,value:Ht,op:"a"})}set(et,Ht){return this.clone({name:et,value:Ht,op:"s"})}delete(et,Ht){return this.clone({name:et,value:Ht,op:"d"})}maybeSetNormalizedName(et,Ht){this.normalizedNames.has(Ht)||this.normalizedNames.set(Ht,et)}init(){this.lazyInit&&(this.lazyInit instanceof q?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(et=>this.applyUpdate(et)),this.lazyUpdate=null))}copyFrom(et){et.init(),Array.from(et.headers.keys()).forEach(Ht=>{this.headers.set(Ht,et.headers.get(Ht)),this.normalizedNames.set(Ht,et.normalizedNames.get(Ht))})}clone(et){const Ht=new q;return Ht.lazyInit=this.lazyInit&&this.lazyInit instanceof q?this.lazyInit:this,Ht.lazyUpdate=(this.lazyUpdate||[]).concat([et]),Ht}applyUpdate(et){const Ht=et.name.toLowerCase();switch(et.op){case"a":case"s":let Bt=et.value;if("string"==typeof Bt&&(Bt=[Bt]),0===Bt.length)return;this.maybeSetNormalizedName(et.name,Ht);const fn=("a"===et.op?this.headers.get(Ht):void 0)||[];fn.push(...Bt),this.headers.set(Ht,fn);break;case"d":const Dn=et.value;if(Dn){let ir=this.headers.get(Ht);if(!ir)return;ir=ir.filter(er=>-1===Dn.indexOf(er)),0===ir.length?(this.headers.delete(Ht),this.normalizedNames.delete(Ht)):this.headers.set(Ht,ir)}else this.headers.delete(Ht),this.normalizedNames.delete(Ht)}}setHeaderEntries(et,Ht){const Bt=(Array.isArray(Ht)?Ht:[Ht]).map(Dn=>Dn.toString()),fn=et.toLowerCase();this.headers.set(fn,Bt),this.maybeSetNormalizedName(et,fn)}forEach(et){this.init(),Array.from(this.normalizedNames.keys()).forEac
1h(Ht=>et(this.normalizedNames.get(Ht),this.headers.get(Ht)))}}class ue{encodeKey(et){return Me(et)}encodeValue(et){return Me(et)}decodeKey(et){return decodeURIComponent(et)}decodeValue(et){return decodeURIComponent(et)}}const ge=/%(\d[a-f0-9])/gi,he={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Me(Fe){return encodeURIComponent(Fe).replace(ge,(et,Ht)=>{var Bt;return null!==(Bt=he[Ht])&&void 0!==Bt?Bt:et})}function $e(Fe){return`${Fe}`}class Pe{constructor(et={}){if(this.updates=null,this.cloneFrom=null,this.encoder=et.encoder||new ue,et.fromString){if(et.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ie(Fe,et){const Ht=new Map;return Fe.length>0&&Fe.replace(/^\?/,"").split("&").forEach(fn=>{const Dn=fn.indexOf("="),[ir,er]=-1==Dn?[et.decodeKey(fn),""]:[et.decodeKey(fn.slice(0,Dn)),et.decodeValue(fn.slice(Dn+1))],Wr=Ht.get(ir)||[];Wr.push(er),Ht.set(ir,Wr)}),Ht}(et.fromString,this.encoder)}else et.fromObject?(this.map=new Map,Object.keys(et.fromObject).forEach(Ht=>{const Bt=et.fromObject[Ht],fn=Array.isArray(Bt)?Bt.map($e):[$e(Bt)];this.map.set(Ht,fn)})):this.map=null}has(et){return this.init(),this.map.has(et)}get(et){this.init();const Ht=this.map.get(et);return Ht?Ht[0]:null}getAll(et){return this.init(),this.map.get(et)||null}keys(){return this.init(),Array.from(this.map.keys())}append(et,Ht){return this.clone({param:et,value:Ht,op:"a"})}appendAll(et){const Ht=[];return Object.keys(et).forEach(Bt=>{const fn=et[Bt];Array.isArray(fn)?fn.forEach(Dn=>{Ht.push({param:Bt,value:Dn,op:"a"})}):Ht.push({param:Bt,value:fn,op:"a"})}),this.clone(Ht)}set(et,Ht){return this.clone({param:et,value:Ht,op:"s"})}delete(et,Ht){return this.clone({param:et,value:Ht,op:"d"})}toString(){return this.init(),this.keys().map(et=>{const Ht=this.encoder.encodeKey(et);return this.map.get(et).map(Bt=>Ht+"="+this.encoder.encodeValue(Bt)).join("&")}).filter(et=>""!==et).join("&")}clone(et){const Ht=new Pe({encoder:this.encoder});return Ht.cloneFrom=this.cloneFrom||this,Ht.updates=(this.updates||[]).concat(et),Ht}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(et=>this.map.set(et,this.cloneFrom.map.get(et))),this.updates.forEach(et=>{switch(et.op){case"a":case"s":const Ht=("a"===et.op?this.map.get(et.param):void 0)||[];Ht.push($e(et.value)),this.map.set(et.param,Ht);break;case"d":if(void 0===et.value){this.map.delete(et.param);break}{let Bt=this.map.get(et.param)||[];const fn=Bt.indexOf($e(et.value));-1!==fn&&Bt.splice(fn,1),Bt.length>0?this.map.set(et.param,Bt):this.map.delete(et.param)}}}),this.cloneFrom=this.updates=null)}}class it{constructor(){this.map=new Map}set(et,Ht){return this.map.set(et,Ht),this}get(et){return this.map.has(et)||this.map.set(et,et.defaultValue()),this.map.get(et)}delete(et){return this.map.delete(et),this}has(et){return this.map.has(et)}keys(){return this.map.keys()}}function We(Fe){return typeof ArrayBuffer<"u"&&Fe instanceof ArrayBuffer}function Ae(Fe){return typeof Blob<"u"&&Fe instanceof Blob}function k(Fe){return typeof FormData<"u"&&Fe instanceof FormData}class ce{constructor(et,Ht,Bt,fn){var Dn,ir;let er;if(this.url=Ht,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=et.toUpperCase(),function Be(Fe){switch(Fe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||fn?(this.body=void 0!==Bt?Bt:null,er=fn):er=Bt,er&&(this.reportProgress=!!er.reportProgress,this.withCredentials=!!er.withCredentials,er.responseType&&(this.responseType=er.responseType),er.headers&&(this.headers=er.headers),er.context&&(this.context=er.context),er.params&&(this.params=er.params),this.transferCache=er.transferCache),null!==(Dn=this.headers)&&void 0!==Dn||(this.headers=new q),null!==(ir=this.context)&&void 0!==ir||(this.context=new it),this.params){const Wr=this.params.toString();if(0===Wr.length)this.urlWithParams=Ht;else{const Tr=Ht.indexOf("?");this.urlWithParams=Ht+(-1===Tr?"?":Tr<Ht.length-1?"&":"")+Wr}}else this.params=new Pe,this.urlWithParams=Ht}serializeBody(){return null===this.body?null:"string"==typeof this.body||We(this.body)||Ae(this.body)||k(this.body)||function z(Fe){return typeof URLSearchParams<"u"&&Fe instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Pe?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||k(this.body)?null:Ae(this.body)?this.body.type||null:We(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Pe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(et={}){var Ht,Bt,fn,Dn;const ir=et.method||this.method,er=et.url||this.url,Wr=et.responseType||this.responseType,Tr=null!==(Ht=et.transferCache)&&void 0!==Ht?Ht:this.transferCache,Bi=void 0!==et.body?et.body:this.body,Pi=null!==(Bt=et.withCredentials)&&void 0!==Bt?Bt:this.withCredentials,Ui=null!==(fn=et.reportProgress)&&void 0!==fn?fn:this.reportProgress;let yo=et.headers||this.headers,uo=et.params||this.params;const Ni=null!==(Dn=et.context)&&void 0!==Dn?Dn:this.context;return void 0!==et.setHeaders&&(yo=Object.keys(et.setHeaders).reduce((di,dt)=>di.set(dt,et.setHeaders[dt]),yo)),et.setParams&&(uo=Object.keys(et.setParams).reduce((di,dt)=>di.set(dt,et.setParams[dt]),uo)),new ce(ir,er,Bi,{params:uo,headers:yo,context:Ni,reportProgress:Ui,responseType:Wr,withCredentials:Pi,transferCache:Tr})}}var pe=function(Fe){return Fe[Fe.Sent=0]="Sent",Fe[Fe.UploadProgress=1]="UploadProgress",Fe[Fe.ResponseHeader=2]="ResponseHeader",Fe[Fe.DownloadProgress=3]="DownloadProgress",Fe[Fe.Response=4]="Response",Fe[Fe.User=5]="User",Fe}(pe||{});class ve{constructor(et,Ht=200,Bt="OK"){this.headers=et.headers||new q,this.status=void 0!==et.status?et.status:Ht,this.statusText=et.statusText||Bt,this.url=et.url||null,this.ok=this.status>=200&&this.status<300}}class ze extends ve{constructor(et={}){super(et),this.type=pe.ResponseHeader}clone(et={}){return new ze({headers:et.headers||this.headers,status:void 0!==et.status?et.status:this.status,statusText:et.statusText||this.statusText,url:et.url||this.url||void 0})}}class fe extends ve{constructor(et={}){super(et),this.type=pe.Response,this.body=void 0!==et.body?et.body:null}clone(et={}){return new fe({body:void 0!==et.body?et.body:this.body,headers:et.headers||this.headers,status:void 0!==et.status?et.status:this.status,statusText:et.statusText||this.statusText,url:et.url||this.url||void 0})}}class de extends ve{constructor(et){super(et,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${et.url||"(unknown url)"}`:`Http failure response for ${et.url||"(unknown url)"}: ${et.status} ${et.statusText}`,this.error=et.error||null}}function Ce(Fe,et){return{body:et,headers:Fe.headers,context:Fe.context,observe:Fe.observe,params:Fe.params,reportProgress:Fe.reportProgress,responseType:Fe.responseType,withCredentials:Fe.withCredentials,transferCache:Fe.transferCache}}let at=(()=>{var Fe;class et{constructor(Bt){this.handler=Bt}request(Bt,fn,Dn={}){let ir;if(Bt instanceof ce)ir=Bt;else{let Tr,Bi;Tr=Dn.headers instanceof q?Dn.headers:new q(Dn.headers),Dn.params&&(Bi=Dn.params instanceof Pe?Dn.params:new Pe({fromObject:Dn.params})),ir=new ce(Bt,fn,void 0!==Dn.body?Dn.body:null,{headers:Tr,context:Dn.context,params:Bi,reportProgress:Dn.reportProgress,responseType:Dn.responseType||"json",withCredentials:Dn.withCredentials,transferCache:Dn.transferCache})}const er=(0,w.of)(ir).pipe((0,F.H)(Tr=>this.handler.handle(Tr)));if(Bt instanceof ce||"events"===Dn.observe)return er;const Wr=er.pipe((0,B.p)(Tr=>Tr instanceof fe));switch(Dn.observe||"body"){case"body":switch(ir.responseType){case"arraybuffer":return Wr.pipe((0,H.T)(Tr=>{if(null!==Tr.body&&!(Tr.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Tr.body}));case"blob":return Wr.pipe((0,H.T)(Tr=>{if(null!==Tr.body&&!(Tr.body instanceof Blob))throw new Error("Response is not a Blob.");return Tr.body}));case"text":return Wr.pipe((0,H.T)(Tr=>{if(null!==Tr.body&&"string"!=typeof Tr.body)throw new Error("Response is not a string.");return Tr.body}));default:return Wr.pipe((0,H.T)(Tr=>Tr.body))}case"response":return Wr;default:throw new Error(`Unreachable: unhandled observe type ${Dn.observe}}`)}}delete(Bt,fn={}){return this.request("DELETE",Bt,fn)}get(Bt,fn={}){return this.request("GET",Bt,fn)}head(Bt,fn={}){return this.request("HEAD",Bt,fn)}jsonp(Bt,fn){return this.request("JSONP",Bt,{params:(new Pe).append(fn,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Bt,fn={}){return this.request("OPTIONS",Bt,fn)}patch(Bt,fn,Dn={}
1){return this.request("PATCH",Bt,Ce(Dn,fn))}post(Bt,fn,Dn={}){return this.request("POST",Bt,Ce(Dn,fn))}put(Bt,fn,Dn={}){return this.request("PUT",Bt,Ce(Dn,fn))}}return(Fe=et).\u0275fac=function(Bt){return new(Bt||Fe)(s.KVO(le))},Fe.\u0275prov=s.jDH({token:Fe,factory:Fe.\u0275fac}),et})();const pt=/^\)\]\}',?\n/;function jt(Fe){if(Fe.url)return Fe.url;const et="X-Request-URL".toLocaleLowerCase();return Fe.headers.get(et)}let jn=(()=>{var Fe;class et{constructor(){var Bt,fn;this.fetchImpl=null!==(Bt=null===(fn=(0,s.WQX)(mn,{optional:!0}))||void 0===fn?void 0:fn.fetch)&&void 0!==Bt?Bt:fetch.bind(globalThis),this.ngZone=(0,s.WQX)(s.SKi)}handle(Bt){return new T.c(fn=>{const Dn=new AbortController;return this.doRequest(Bt,Dn.signal,fn).then(lr,ir=>fn.error(new de({error:ir}))),()=>Dn.abort()})}doRequest(Bt,fn,Dn){var ir=this;return(0,a.A)(function*(){var er;const Wr=ir.createRequestInit(Bt);let Tr;try{const ft=ir.ngZone.runOutsideAngular(()=>ir.fetchImpl(Bt.urlWithParams,{signal:fn,...Wr}));(function hr(Fe){Fe.then(lr,lr)})(ft),Dn.next({type:pe.Sent}),Tr=yield ft}catch(ft){var Bi;return void Dn.error(new de({error:ft,status:null!==(Bi=ft.status)&&void 0!==Bi?Bi:0,statusText:ft.statusText,url:Bt.urlWithParams,headers:ft.headers}))}const Pi=new q(Tr.headers),Ui=Tr.statusText,yo=null!==(er=jt(Tr))&&void 0!==er?er:Bt.urlWithParams;let uo=Tr.status,Ni=null;if(Bt.reportProgress&&Dn.next(new ze({headers:Pi,status:uo,statusText:Ui,url:yo})),Tr.body){const ft=Tr.headers.get("content-length"),St=[],zt=Tr.body.getReader();let kr,R,Ln=0;const Ee=typeof Zone<"u"&&Zone.current;yield ir.ngZone.runOutsideAngular((0,a.A)(function*(){for(;;){const{done:kt,value:Mi}=yield zt.read();if(kt)break;if(St.push(Mi),Ln+=Mi.length,Bt.reportProgress){var G,qe;R="text"===Bt.responseType?(null!==(G=R)&&void 0!==G?G:"")+(null!==(qe=kr)&&void 0!==qe?qe:kr=new TextDecoder).decode(Mi,{stream:!0}):void 0;const bo=()=>Dn.next({type:pe.DownloadProgress,total:ft?+ft:void 0,loaded:Ln,partialText:R});Ee?Ee.run(bo):bo()}}}));const Ke=ir.concatChunks(St,Ln);try{var di;const G=null!==(di=Tr.headers.get("Content-Type"))&&void 0!==di?di:"";Ni=ir.parseBody(Bt,Ke,G)}catch(G){var dt;return void Dn.error(new de({error:G,headers:new q(Tr.headers),status:Tr.status,statusText:Tr.statusText,url:null!==(dt=jt(Tr))&&void 0!==dt?dt:Bt.urlWithParams}))}}0===uo&&(uo=Ni?200:0),uo>=200&&uo<300?(Dn.next(new fe({body:Ni,headers:Pi,status:uo,statusText:Ui,url:yo})),Dn.complete()):Dn.error(new de({error:Ni,headers:Pi,status:uo,statusText:Ui,url:yo}))})()}parseBody(Bt,fn,Dn){switch(Bt.responseType){case"json":const ir=(new TextDecoder).decode(fn).replace(pt,"");return""===ir?null:JSON.parse(ir);case"text":return(new TextDecoder).decode(fn);case"blob":return new Blob([fn],{type:Dn});case"arraybuffer":return fn.buffer}}createRequestInit(Bt){const fn={},Dn=Bt.withCredentials?"include":void 0;if(Bt.headers.forEach((ir,er)=>fn[ir]=er.join(",")),Bt.headers.has("Accept")||(fn.Accept="application/json, text/plain, */*"),!Bt.headers.has("Content-Type")){const ir=Bt.detectContentTypeHeader();null!==ir&&(fn["Content-Type"]=ir)}return{body:Bt.serializeBody(),method:Bt.method,headers:fn,credentials:Dn}}concatChunks(Bt,fn){const Dn=new Uint8Array(fn);let ir=0;for(const er of Bt)Dn.set(er,ir),ir+=er.length;return Dn}}return(Fe=et).\u0275fac=function(Bt){return new(Bt||Fe)},Fe.\u0275prov=s.jDH({token:Fe,factory:Fe.\u0275fac}),et})();class mn{}function lr(){}function $r(Fe,et){return et(Fe)}function ur(Fe,et){return(Ht,Bt)=>et.intercept(Ht,{handle:fn=>Fe(fn,Bt)})}const cr=new s.nKC(""),Yn=new s.nKC(""),Qn=new s.nKC(""),ht=new s.nKC("",{providedIn:"root",factory:()=>!0});function Ot(){let Fe=null;return(et,Ht)=>{var Bt;null===Fe&&(Fe=(null!==(Bt=(0,s.WQX)(cr,{optional:!0}))&&void 0!==Bt?Bt:[]).reduceRight(ur,$r));const fn=(0,s.WQX)(s.TgB);if((0,s.WQX)(ht)){const ir=fn.add();return Fe(et,Ht).pipe((0,V.j)(()=>fn.remove(ir)))}return Fe(et,Ht)}}let Zn=(()=>{var Fe;class et extends le{constructor(Bt,fn){super(),this.backend=Bt,this.injector=fn,this.chain=null,this.pendingTasks=(0,s.WQX)(s.TgB),this.contributeToStability=(0,s.WQX)(ht)}handle(Bt){if(null===this.chain){const fn=Array.from(new Set([...this.injector.get(Yn),...this.injector.get(Qn,[])]));this.chain=fn.reduceRight((Dn,ir)=>function Fn(Fe,et,Ht){return(Bt,fn)=>(0,s.N4e)(Ht,()=>et(Bt,Dn=>
1Fe(Dn,fn)))}(Dn,ir,this.injector),$r)}if(this.contributeToStability){const fn=this.pendingTasks.add();return this.chain(Bt,Dn=>this.backend.handle(Dn)).pipe((0,V.j)(()=>this.pendingTasks.remove(fn)))}return this.chain(Bt,fn=>this.backend.handle(fn))}}return(Fe=et).\u0275fac=function(Bt){return new(Bt||Fe)(s.KVO(W),s.KVO(s.uvJ))},Fe.\u0275prov=s.jDH({token:Fe,factory:Fe.\u0275fac}),et})();const rr=/^\)\]\}',?\n/;let nt=(()=>{var Fe;class et{constructor(Bt){this.xhrFactory=Bt}handle(Bt){if("JSONP"===Bt.method)throw new s.wOt(-2800,!1);const fn=this.xhrFactory;return(fn.\u0275loadImpl?(0,x.H)(fn.\u0275loadImpl()):(0,w.of)(null)).pipe((0,L.n)(()=>new T.c(ir=>{const er=fn.build();if(er.open(Bt.method,Bt.urlWithParams),Bt.withCredentials&&(er.withCredentials=!0),Bt.headers.forEach((di,dt)=>er.setRequestHeader(di,dt.join(","))),Bt.headers.has("Accept")||er.setRequestHeader("Accept","application/json, text/plain, */*"),!Bt.headers.has("Content-Type")){const di=Bt.detectContentTypeHeader();null!==di&&er.setRequestHeader("Content-Type",di)}if(Bt.responseType){const di=Bt.responseType.toLowerCase();er.responseType="json"!==di?di:"text"}const Wr=Bt.serializeBody();let Tr=null;const Bi=()=>{if(null!==Tr)return Tr;const di=er.statusText||"OK",dt=new q(er.getAllResponseHeaders()),tr=function Un(Fe){return"responseURL"in Fe&&Fe.responseURL?Fe.responseURL:/^X-Request-URL:/m.test(Fe.getAllResponseHeaders())?Fe.getResponseHeader("X-Request-URL"):null}(er)||Bt.url;return Tr=new ze({headers:dt,status:er.status,statusText:di,url:tr}),Tr},Pi=()=>{let{headers:di,status:dt,statusText:tr,url:ft}=Bi(),St=null;204!==dt&&(St=typeof er.response>"u"?er.responseText:er.response),0===dt&&(dt=St?200:0);let zt=dt>=200&&dt<300;if("json"===Bt.responseType&&"string"==typeof St){const Ln=St;St=St.replace(rr,"");try{St=""!==St?JSON.parse(St):null}catch(kr){St=Ln,zt&&(zt=!1,St={error:kr,text:St})}}zt?(ir.next(new fe({body:St,headers:di,status:dt,statusText:tr,url:ft||void 0})),ir.complete()):ir.error(new de({error:St,headers:di,status:dt,statusText:tr,url:ft||void 0}))},Ui=di=>{const{url:dt}=Bi(),tr=new de({error:di,status:er.status||0,statusText:er.statusText||"Unknown Error",url:dt||void 0});ir.error(tr)};let yo=!1;const uo=di=>{yo||(ir.next(Bi()),yo=!0);let dt={type:pe.DownloadProgress,loaded:di.loaded};di.lengthComputable&&(dt.total=di.total),"text"===Bt.responseType&&er.responseText&&(dt.partialText=er.responseText),ir.next(dt)},Ni=di=>{let dt={type:pe.UploadProgress,loaded:di.loaded};di.lengthComputable&&(dt.total=di.total),ir.next(dt)};return er.addEventListener("load",Pi),er.addEventListener("error",Ui),er.addEventListener("timeout",Ui),er.addEventListener("abort",Ui),Bt.reportProgress&&(er.addEventListener("progress",uo),null!==Wr&&er.upload&&er.upload.addEventListener("progress",Ni)),er.send(Wr),ir.next({type:pe.Sent}),()=>{er.removeEventListener("error",Ui),er.removeEventListener("abort",Ui),er.removeEventListener("load",Pi),er.removeEventListener("timeout",Ui),Bt.reportProgress&&(er.removeEventListener("progress",uo),null!==Wr&&er.upload&&er.upload.removeEventListener("progress",Ni)),er.readyState!==er.DONE&&er.abort()}})))}}return(Fe=et).\u0275fac=function(Bt){return new(Bt||Fe)(s.KVO(U.N0))},Fe.\u0275prov=s.jDH({token:Fe,factory:Fe.\u0275fac}),et})();const Bn=new s.nKC(""),Jr=new s.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),ui=new s.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class _i{}let eo=(()=>{var Fe;class et{constructor(Bt,fn,Dn){this.doc=Bt,this.platform=fn,this.cookieName=Dn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Bt=this.doc.cookie||"";return Bt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,U._b)(Bt,this.cookieName),this.lastCookieString=Bt),this.lastToken}}return(Fe=et).\u0275fac=function(Bt){return new(Bt||Fe)(s.KVO(U.qQ),s.KVO(s.Agw),s.KVO(Jr))},Fe.\u0275prov=s.jDH({token:Fe,factory:Fe.\u0275fac}),et})();function Yt(Fe,et){const Ht=Fe.url.toLowerCase();if(!(0,s.WQX)(Bn)||"GET"===Fe.method||"HEAD"===Fe.method||Ht.startsWith("http://")||Ht.startsWith("https://"))return et(Fe);const Bt=(0,s.WQX)(_i).getToken(),fn=(0,s.WQX)(ui);return null!=Bt&&!Fe.headers.has(fn)&&(Fe=Fe.clone({headers:Fe.headers.set(fn,Bt)})),et(Fe)}var tn=function(Fe){return Fe[Fe.Interceptors=0]="Interceptors",Fe[Fe.LegacyInterceptors=1]="LegacyInterceptors",Fe[Fe.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Fe[Fe.NoXsrfProtection=3]="NoXsrfProtection",Fe[Fe.JsonpSupport=4]="JsonpSupport",Fe[Fe.RequestsMadeViaParent=5]="RequestsMadeViaParent",Fe[Fe.Fetch=6]="Fetch",Fe}(tn||{});function Pt(Fe,et){return{\u0275kind:Fe,\u0275providers:et}}function Gt(...Fe){const et=[at,nt,Zn,{provide:le,useExisting:Zn},{provide:W,useFactory:()=>{var Ht;return null!==(Ht=(0,s.WQX)(jn,{optional:!0}))&&void 0!==Ht?Ht:(0,s.WQX)(nt)}},{provide:Yn,useValue:Yt,multi:!0},{provide:Bn,useValue:!0},{provide:_i,useClass:eo}];for(const Ht of Fe)et.push(...Ht.\u0275providers);return(0,s.EmA)(et)}const Sr=new s.nKC("");let to=(()=>{var Fe;class et{}return(Fe=et).\u0275fac=function(Bt){return new(Bt||Fe)},Fe.\u0275mod=s.$C({type:Fe}),Fe.\u0275inj=s.G2t({providers:[Gt(Pt(tn.LegacyInterceptors,[{provide:Sr,useFactory:Ot},{provide:Yn,useExisting:Sr,multi:!0}]))]}),et})()},3953:(wt,Se,u)=>{"use strict";function a(e,t){return Object.is(e,t)}u.d(Se,{bc$:()=>rm,iLQ:()=>uv,sZ2:()=>zf,hnV:()=>gw,Hbi:()=>Fx,o8S:()=>Ic,BIS:()=>im,gRc:()=>Aw,Ql9:()=>dx,OM3:()=>lh,Ocv:()=>yx,abz:()=>jc,Z63:()=>va,aKT:()=>Yo,uvJ:()=>Ua,zcH:()=>ic,bkB:()=>rc,duS:()=>Ki,$GK:()=>Vi,nKC:()=>ci,zZn:()=>ea,_q3:()=>P_,MKu:()=>x_,xe9:()=>fv,Co$:()=>ab,Vns:()=>Gd,SKi:()=>ts,Xx1:()=>qt,Agw:()=>gp,PLl:()=>nm,sFG:()=>bM,_9s:()=>oy,czy:()=>_m,WPN:()=>Na,kdw:()=>Cn,C4Q:()=>Lp,NYb:()=>ox,giA:()=>hw,RxE:()=>sw,c1b:()=>Fm,gXe:()=>Ss,mal:()=>DC,L39:()=>_R,EWP:()=>CR,a0P:()=>MR,Ol2:()=>by,w6W:()=>vA,oH4:()=>ww,SmG:()=>Dx,Rfq:()=>Sa,WQX:()=>v,QuC:()=>Zo,EmA:()=>eu,fpN:()=>kx,HJs:()=>AR,N4e:()=>lf,vPA:()=>HC,O8t:()=>bR,H3F:()=>aw,zAP:()=>tT,H8p:()=>ru,KH2:()=>Mh,TgB:()=>vu,wOt:()=>Jn,WHO:()=>dw,e01:()=>fw,lNU:()=>Co,h9k:()=>qa,$MX:()=>eh,ZF7:()=>Yu,Kcf:()=>h0,e5t:()=>v0,UyX:()=>g0,cWb:()=>p0,osQ:()=>m0,H5H:()=>Qy,Zy3:()=>Do,mq5:()=>pD,JZv:()=>So,LfX:()=>jo,plB:()=>
1Qu,jNT:()=>E_,zjR:()=>pw,XSP:()=>X1,TL$:()=>Kv,Tbb:()=>wo,rcV:()=>Dc,Vt3:()=>_y,GFd:()=>sb,OA$:()=>Ru,Jv_:()=>bS,aNF:()=>DS,R7$:()=>IE,BMQ:()=>Ly,x72:()=>$y,HbH:()=>Kb,ZvI:()=>eD,STu:()=>tD,ZWY:()=>nD,AVh:()=>Hy,wni:()=>QD,VBU:()=>en,FsC:()=>Ho,jDH:()=>Li,G2t:()=>ha,$C:()=>Ji,EJ8:()=>Vs,rXU:()=>rh,nrm:()=>Xy,eu8:()=>Yy,bVm:()=>ev,qex:()=>qm,k0s:()=>Jm,j41:()=>Zm,RV6:()=>dD,xGo:()=>wd,KVO:()=>E,kS0:()=>kf,QTQ:()=>AE,bIt:()=>qy,lsd:()=>qD,qSk:()=>cn,XpG:()=>UD,nI1:()=>BS,bMT:()=>US,i5U:()=>VS,brH:()=>jS,ii3:()=>HS,SdG:()=>jD,NAR:()=>VD,Y8G:()=>Uy,FS9:()=>t_,Mz_:()=>iv,FCK:()=>n_,lJ4:()=>IS,eq3:()=>MS,l_i:()=>AS,sMw:()=>OS,ziG:()=>PS,s1E:()=>xS,l4e:()=>RS,mGM:()=>JD,sdS:()=>eS,Dyx:()=>lD,Z7z:()=>aD,fX1:()=>sD,Njj:()=>Bu,tSv:()=>aE,eBV:()=>Uc,npT:()=>Ip,f$h:()=>D0,B4B:()=>b0,n$t:()=>nE,wjB:()=>SS,xc7:()=>jy,DNE:()=>Sy,C5r:()=>WS,EFF:()=>uS,JRh:()=>i_,SpI:()=>ov,Lme:()=>o_,E5c:()=>s_,DH7:()=>yS,mxI:()=>l_,R50:()=>a_,GBs:()=>ZD});let s=null,w=!1,T=1;const x=Symbol("SIGNAL");function F(e){const t=s;return s=e,t}const L={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:()=>{}};function U(e){if(w)throw new Error("");if(null===s)return;s.consumerOnSignalRead(e);const t=s.nextProducerIndex++;it(s),t<s.producerNode.length&&s.producerNode[t]!==e&&Re(s)&&Pe(s.producerNode[t],s.producerIndexOfThis[t]),s.producerNode[t]!==e&&(s.producerNode[t]=e,s.producerIndexOfThis[t]=Re(s)?$e(e,s,t):0),s.producerLastReadVersion[t]=e.version}function W(e){if((!Re(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==T)){if(!e.producerMustRecompute(e)&&!he(e))return e.dirty=!1,void(e.lastCleanEpoch=T);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=T}}function q(e){if(void 0===e.liveConsumerNode)return;const t=w;w=!0;try{for(const r of e.liveConsumerNode)r.dirty||ue(r)}finally{w=t}}function we(){var e;return!1!==(null===(e=s)||void 0===e?void 0:e.consumerAllowSignalWrites)}function ue(e){var t;e.dirty=!0,q(e),null===(t=e.consumerMarkedDirty)||void 0===t||t.call(e,e)}function Ie(e){return e&&(e.nextProducerIndex=0),F(e)}function ge(e,t){if(F(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Re(e))for(let r=e.nextProducerIndex;r<e.producerNode.length;r++)Pe(e.producerNode[r],e.producerIndexOfThis[r]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function he(e){it(e);for(let t=0;t<e.producerNode.length;t++){const r=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==r.version||(W(r),i!==r.version))return!0}return!1}function Me(e){if(it(e),Re(e))for(let t=0;t<e.producerNode.length;t++)Pe(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function $e(e,t,r){if(Be(e),0===e.liveConsumerNode.length&&We(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=$e(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(r),e.liveConsumerNode.push(t)-1}function Pe(e,t){if(Be(e),1===e.liveConsumerNode.length&&We(e))for(let i=0;i<e.producerNode.length;i++)Pe(e.producerNode[i],e.producerIndexOfThis[i]);const r=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[r],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[r],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[t],l=e.liveConsumerNode[t];it(l),l.producerIndexOfThis[i]=t}}function Re(e){var t,r;return e.consumerIsAlwaysLive||(null!==(t=null==e||null===(r=e.liveConsumerNode)||void 0===r?void 0:r.length)&&void 0!==t?t:0)>0}function it(e){var t,r,i;null!==(t=e.producerNode)&&void 0!==t||(e.producerNode=[]),null!==(r=e.producerIndexOfThis)&&void 0!==r||(e.producerIndexOfThis=[]),null!==(i=e.producerLastReadVersion)&&void 0!==i||(e.producerLastReadVersion=[])}function Be(e){var t,r;null!==(t=e.liveConsumerNode)&&void 0!==t||(e.liveConsumerNode=[]),null!==(r=e.liveConsumerIndexOfThis)&&void 0!==r||(e.liveConsumerIndexOfThis=[])}function We(e){return void 0!==e.producerNode}const k=Symbol("UNSET"),z=Symbol("COMPUTING"),ce=Symbol("ERRORED"),pe={...L,value:k,dirty:!0,error:null,equal:a,producerMustRecompute:e=>e.value===k||e.value===z,producerRecomputeValue(e){if(e.value===z)throw new Error("Detected cycle in computations.");const t=e.value;e.value=z;const r=Ie(e);let i;try{i=e.computation()}catch(l){i=ce,e.error=l}finally{ge(e,r)}t!==k&&t!==ce&&i!==ce&&e.equal(t,i)?e.value=t:(e.value=i,e.version++)}};let ze=function ve(){throw new Error};function fe(){ze()}let ee=null;function at(e,t){we()||fe(),e.equal(e.value,t)||(e.value=t,function jn(e){var t;e.version++,function le(){T++}(),q(e),null===(t=ee)||void 0===t||t()}(e))}const jt={...L,equal:a,value:void 0};var Wi,ur=u(4412),Fn=u(1413),cr=u(8359),Yn=u(6354);typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const Co="https://g.co/ng/security#xss";
1class Jn extends Error{constructor(t,r){super(Do(t,r)),this.code=t}}function Do(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}function Qo(e){return{toString:e}.toString()}const fo="__parameters__";function As(e,t,r){return Qo(()=>{const i=function ms(e){return function(...r){if(e){const i=e(...r);for(const l in i)this[l]=i[l]}}}(t);function l(...d){if(this instanceof l)return i.apply(this,d),this;const m=new l(...d);return C.annotation=m,C;function C(M,Z,me){const Oe=M.hasOwnProperty(fo)?M[fo]:Object.defineProperty(M,fo,{value:[]})[fo];for(;Oe.length<=me;)Oe.push(null);return(Oe[me]=Oe[me]||[]).push(m),M}}return r&&(l.prototype=Object.create(r.prototype)),l.prototype.ngMetadataName=e,l.annotationCls=l,l})}const So=globalThis;function ho(e){for(let t in e)if(e[t]===ho)return t;throw Error("Could not find renamed property on target object.")}function vs(e,t){for(const r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function wo(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(wo).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function Da(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const vl=ho({__forward_ref__:ho});function Sa(e){return e.__forward_ref__=Sa,e.toString=function(){return wo(this())},e}function oi(e){return yl(e)?e():e}function yl(e){return"function"==typeof e&&e.hasOwnProperty(vl)&&e.__forward_ref__===Sa}function Li(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ha(e){return{providers:e.providers||[],imports:e.imports||[]}}function _l(e){return Os(e,Ps)||Os(e,Ll)}function jo(e){return null!==_l(e)}function Os(e,t){return e.hasOwnProperty(t)?e[t]:null}function pa(e){return e&&(e.hasOwnProperty(nl)||e.hasOwnProperty(rl))?e[nl]:null}const Ps=ho({\u0275prov:ho}),nl=ho({\u0275inj:ho}),Ll=ho({ngInjectableDef:ho}),rl=ho({ngInjectorDef:ho});class ci{constructor(t,r){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=Li({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function cs(e){return e&&!!e.\u0275providers}const ga=ho({\u0275cmp:ho}),Wl=ho({\u0275dir:ho}),ia=ho({\u0275pipe:ho}),El=ho({\u0275mod:ho}),xs=ho({\u0275fac:ho}),io=ho({__NG_ELEMENT_ID__:ho}),$l=ho({__NG_ENV_ID__:ho});function pi(e){return"string"==typeof e?e:null==e?"":String(e)}function il(e,t){throw new Jn(-201,!1)}var Vi=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Vi||{});let ol;function ka(){return ol}function Ds(e){const t=ol;return ol=e,t}function sa(e,t,r){const i=_l(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:r&Vi.Optional?null:void 0!==t?t:void il()}const A={},ae="__NG_DI_FLAG__",lt="ngTempTokenPath",Ge=/\n/gm,on="__source";let Hn;function Hr(e){const t=Hn;return Hn=e,t}function Zi(e,t=Vi.Default){if(void 0===Hn)throw new Jn(-203,!1);return null===Hn?sa(e,void 0,t):Hn.get(e,t&Vi.Optional?null:void 0,t)}function E(e,t=Vi.Default){return(ka()||Zi)(oi(e),t)}function v(e,t=Vi.Default){return E(e,b(t))}function b(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function N(e){const t=[];for(let r=0;r<e.length;r++){const i=oi(e[r]);if(Array.isArray(i)){if(0===i.length)throw new Jn(900,!1);let l,d=Vi.Default;for(let m=0;m<i.length;m++){const C=i[m],M=be(C);"number"==typeof M?-1===M?l=C.token:d|=M:l=C}t.push(E(l,d))}else t.push(E(i))}return t}function ie(e,t){return e[ae]=t,e.prototype[ae]=t,e}function be(e){return e[ae]}const qt=ie(As("Optional"),8),Cn=ie(As("SkipSelf"),4);function fr(e,t){return e.hasOwnProperty(xs)?e[xs]:null}function mr(e,t){e.forEach(r=>Array.isArray(r)?mr(r,t):t(r))}function Dr(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function Si(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Pr(e,t,r){let i=qr(e,t);return i>
1=0?e[1|i]=r:(i=~i,function He(e,t,r,i){let l=e.length;if(l==t)e.push(r,i);else if(1===l)e.push(i,e[0]),e[0]=r;else{for(l--,e.push(e[l-1],e[l]);l>t;)e[l]=e[l-2],l--;e[t]=r,e[t+1]=i}}(e,i,t,r)),i}function $i(e,t){const r=qr(e,t);if(r>=0)return e[1|r]}function qr(e,t){return function aa(e,t,r){let i=0,l=e.length>>r;for(;l!==i;){const d=i+(l-i>>1),m=e[d<<r];if(t===m)return d<<r;m>t?l=d:i=d+1}return~(l<<r)}(e,t,1)}const po={},Oi=[],va=new ci(""),Ki=new ci("",-1),Kl=new ci("");class cc{get(t,r=A){if(r===A){const i=new Error(`NullInjectorError: No provider for ${wo(t)}!`);throw i.name="NullInjectorError",i}return r}}var uc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(uc||{}),Ss=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ss||{}),Fa=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Fa||{});function td(e,t,r){let i=e.length;for(;;){const l=e.indexOf(t,r);if(-1===l)return l;if(0===l||e.charCodeAt(l-1)<=32){const d=t.length;if(l+d===i||e.charCodeAt(l+d)<=32)return l}r=l+1}}function Ac(e,t,r){let i=0;for(;i<r.length;){const l=r[i];if("number"==typeof l){if(0!==l)break;i++;const d=r[i++],m=r[i++],C=r[i++];e.setAttribute(t,m,C,d)}else{const d=l,m=r[++i];Cu(d)?e.setProperty(t,d,m):e.setAttribute(t,d,m),i++}}return i}function Oc(e){return 3===e||4===e||6===e}function Cu(e){return 64===e.charCodeAt(0)}function la(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let r=-1;for(let i=0;i<t.length;i++){const l=t[i];"number"==typeof l?r=l:0===r||Jc(e,r,l,null,-1===r||2===r?t[++i]:null)}}return e}function Jc(e,t,r,i,l){let d=0,m=e.length;if(-1===t)m=-1;else for(;d<e.length;){const C=e[d++];if("number"==typeof C){if(C===t){m=-1;break}if(C>t){m=d-1;break}}}for(;d<e.length;){const C=e[d];if("number"==typeof C)break;if(C===r){if(null===i)return void(null!==l&&(e[d+1]=l));if(i===e[d+1])return void(e[d+2]=l)}d++,null!==i&&d++,null!==l&&d++}-1!==m&&(e.splice(m,0,t),d=m+1),e.splice(d++,0,r),null!==i&&e.splice(d++,0,i),null!==l&&e.splice(d++,0,l)}const bu="ng-template";function qd(e,t,r,i){let l=0;if(i){for(;l<t.length&&"string"==typeof t[l];l+=2)if("class"===t[l]&&-1!==td(t[l+1].toLowerCase(),r,0))return!0}else if(Du(e))return!1;if(l=t.indexOf(1,l),l>-1){let d;for(;++l<t.length&&"string"==typeof(d=t[l]);)if(d.toLowerCase()===r)return!0}return!1}function Du(e){return 4===e.type&&e.value!==bu}function ef(e,t,r){return t===(4!==e.type||r?e.value:bu)}function Xl(e,t,r){let i=4;const l=e.attrs,d=null!==l?function K(e){for(let t=0;t<e.length;t++)if(Oc(e[t]))return t;return e.length}(l):0;let m=!1;for(let C=0;C<t.length;C++){const M=t[C];if("number"!=typeof M){if(!m)if(4&i){if(i=2|1&i,""!==M&&!ef(e,M,r)||""===M&&1===t.length){if(Ba(i))return!1;m=!0}}else if(8&i){if(null===l||!qd(e,l,M,r)){if(Ba(i))return!1;m=!0}}else{const Z=t[++C],me=nd(M,l,Du(e),r);if(-1===me){if(Ba(i))return!1;m=!0;continue}if(""!==Z){let Oe;if(Oe=me>d?"":l[me+1].toLowerCase(),2&i&&Z!==Oe){if(Ba(i))return!1;m=!0}}}}else{if(!m&&!Ba(i)&&!Ba(M))return!1;if(m&&Ba(M))continue;m=!1,i=M|1&i}}return Ba(i)||m}function Ba(e){return!(1&e)}function nd(e,t,r,i){if(null===t)return-1;let l=0;if(i||!r){let d=!1;for(;l<t.length;){const m=t[l];if(m===e)return l;if(3===m||6===m)d=!0;else{if(1===m||2===m){let C=t[++l];for(;"string"==typeof C;)C=t[++l];continue}if(4===m)break;if(0===m){l+=4;continue}}l+=d?1:2}return-1}return function O(e,t){let r=e.indexOf(4);if(r>-1)for(r++;r<e.length;){const i=e[r];if("number"==typeof i)return-1;if(i===t)return r;r++}return-1}(t,e)}function S(e,t,r=!1){for(let i=0;i<t.length;i++)if(Xl(e,t[i],r))return!0;return!1}function J(e,t){e:for(let r=0;r<t.length;r++){const i=t[r];if(e.length===i.length){for(let l=0;l<e.length;l++)if(e[l]!==i[l])continue e;return!0}}return!1}function Ue(e,t){return e?":not("+t.trim()+")":t}function Ye(e){let t=e[0],r=1,i=2,l="",d=!1;for(;r<e.length;){let m=e[r];if("string"==typeof m)if(2&i){const C=e[++r];l+="["+m+(C.length>0?'="'+C+'"':"")+"]"}else 8&i?l+="."+m:4&i&&(l+=" "+m);else""!==l&&!Ba(m)&&(t+=Ue(d,l),l=""),i=m,d=d||!Ba(i);r++}return""!==l&&(t+=Ue(d,l)),t}function en(e){return Qo(()=>{var t;const r=dc(e),i={...r,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===uc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:null!==(t=e.signals)&&void 0!==t&&t,data:e.data||{},encapsulation:e.encapsulation||Ss.Emulated,styles:e.styles||Oi,_:null,schemas:e.schemas||null,tView:null,id:""};qc(i);
1const l=e.dependencies;return i.directiveDefs=Ia(l,!1),i.pipeDefs=Ia(l,!0),i.id=function tf(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const l of r)t=Math.imul(31,t)+l.charCodeAt(0)|0;return t+=2147483648,"c"+t}(i),i})}function br(e){return Xr(e)||Bo(e)}function ai(e){return null!==e}function Ji(e){return Qo(()=>({type:e.type,bootstrap:e.bootstrap||Oi,declarations:e.declarations||Oi,imports:e.imports||Oi,exports:e.exports||Oi,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function wi(e,t){if(null==e)return po;const r={};for(const l in e)if(e.hasOwnProperty(l)){const d=e[l];let m,C,M=Fa.None;var i;Array.isArray(d)?(M=d[0],m=d[1],C=null!==(i=d[2])&&void 0!==i?i:m):(m=d,C=d),t?(r[m]=M!==Fa.None?[l,M]:l,t[m]=C):r[m]=l}return r}function Ho(e){return Qo(()=>{const t=dc(e);return qc(t),t})}function Vs(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Xr(e){return e[ga]||null}function Bo(e){return e[Wl]||null}
1function go(e){return e[ia]||null}function Zo(e){const t=Xr(e)||Bo(e)||go(e);return null!==t&&t.standalone}function _s(e,t){const r=e[El]||null;if(!r&&!0===t)throw new Error(`Type ${wo(e)} does not have '\u0275mod' property.`);return r}function dc(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||po,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Oi,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:wi(e.inputs,t),outputs:wi(e.outputs),debugInfo:null}}function qc(e){var t;null===(t=e.features)||void 0===t||t.forEach(r=>r(e))}function Ia(e,t){if(!e)return null;const r=t?go:br;return()=>("function"==typeof e?e():e).map(i=>r(i)).filter(ai)}function eu(e){return{\u0275providers:e}}function Su(...e){return{\u0275providers:rd(0,e),\u0275fromNgModule:!0}}function rd(e,...t){const r=[],i=new Set;let l;const d=m=>{r.push(m)};return mr(t,m=>{const C=m;Es(C,d,[],i)&&(l||(l=[]),l.push(C))}),void 0!==l&&id(l,d),r}function id(e,t){for(let r=0;r<e.length;r++){const{ngModule:i,providers:l}=e[r];wu(l,d=>{t(d,i)})}}function Es(e,t,r,i){if(!(e=oi(e)))return!1;let l=null,d=pa(e);const m=!d&&Xr(e);if(d||m){if(m&&!m.standalone)return!1;l=e}else{const M=e.ngModule;if(d=pa(M),!d)return!1;l=M}const C=i.has(l);if(m){if(C)return!1;if(i.add(l),m.dependencies){const M="function"==typeof m.dependencies?m.dependencies():m.dependencies;for(const Z of M)Es(Z,t,r,i)}}else{if(!d)return!1;{if(null!=d.imports&&!C){let Z;i.add(l);try{mr(d.imports,me=>{Es(me,t,r,i)&&(Z||(Z=[]),Z.push(me))})}finally{}void 0!==Z&&id(Z,t)}if(!C){const Z=fr(l)||(()=>new l);t({provide:l,useFactory:Z,deps:Oi},l),t({provide:Kl,useValue:l,multi:!0},l),t({provide:va,useValue:()=>E(l),multi:!0},l)}const M=d.providers;if(null!=M&&!C){const Z=e;wu(M,me=>{t(me,Z)})}}}return l!==e&&void 0!==e.providers}function wu(e,t){for(let r of e)cs(r)&&(r=r.\u0275providers),Array.isArray(r)?wu(r,t):t(r)}const bl=ho({provide:String,useValue:ho});function tu(e){return null!==e&&"object"==typeof e&&bl in e}function Zl(e){return"function"==typeof e}const ru=new ci(""),Tu={},xh={};let Iu;function Pc(){return void 0===Iu&&(Iu=new cc),Iu}class Ua{}class Dl extends Ua{get destroyed(){return this._destroyed}constructor(t,r,i,l){super(),this.parent=r,this.source=i,this.scopes=l,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,sd(t,m=>this.processProvider(m)),this.records.set(Ki,Rc(void 0,this)),l.has("environment")&&this.records.set(Ua,Rc(void 0,this));const d=this.records.get(ru);null!=d&&"string"==typeof d.value&&this.scopes.add(d.value),this.injectorDefTypes=new Set(this.get(Kl,Oi,Vi.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const t=F(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of r)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),F(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const r=Hr(this),i=Ds(void 0);try{return t()}finally{Hr(r),Ds(i)}}get(t,r=A,i=Vi.Default){if(this.assertNotDestroyed(),t.hasOwnProperty($l))return t[$l](this);i=b(i);const d=Hr(this),m=Ds(void 0);try{if(!(i&Vi.SkipSelf)){let M=this.records.get(t);if(void 0===M){const Z=function af(e){return"function"==typeof e||"object"==typeof e&&e instanceof ci}(t)&&_l(t);M=Z&&this.injectableDefInScope(Z)?Rc(Mu(t),Tu):null,this.records.set(t,M)}if(null!=M)return this.hydrate(t,M)}return(i&Vi.Self?Pc():this.parent).get(t,r=i&Vi.Optional&&r===A?null:r)}catch(C){if("NullInjectorError"===C.name){if((C[lt]=C[lt]||[]).unshift(wo(t)),d)throw C;return function rt(e,t,r,i){const l=e[lt];throw t[on]&&l.unshift(t[on]),e.message=function ut(e,t,r,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let l=wo(t);if(Array.isArray(t))l=t.map(wo).join(" -> ");else if("object"==typeof t){let d=[];for(let m in t)if(t.hasOwnProperty(m)){let C=t[m];
1d.push(m+":"+("string"==typeof C?JSON.stringify(C):wo(C)))}l=`{${d.join(", ")}}`}return`${r}${i?"("+i+")":""}[${l}]: ${e.replace(Ge,"\n ")}`}("\n"+e.message,l,r,i),e.ngTokenPath=l,e[lt]=null,e}(C,t,"R3InjectorError",this.source)}throw C}finally{Ds(m),Hr(d)}}resolveInjectorInitializers(){const t=F(null),r=Hr(this),i=Ds(void 0);try{const d=this.get(va,Oi,Vi.Self);for(const m of d)m()}finally{Hr(r),Ds(i),F(t)}}toString(){const t=[],r=this.records;for(const i of r.keys())t.push(wo(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Jn(205,!1)}processProvider(t){let r=Zl(t=oi(t))?t:oi(t&&t.provide);const i=function Rh(e){return tu(e)?Rc(void 0,e.useValue):Rc(xc(e),Tu)}(t);if(!Zl(t)&&!0===t.multi){let l=this.records.get(r);l||(l=Rc(void 0,Tu,!0),l.factory=()=>N(l.multi),this.records.set(r,l)),r=t,l.multi.push(t)}this.records.set(r,i)}hydrate(t,r){const i=F(null);try{return r.value===Tu&&(r.value=xh,r.value=r.factory()),"object"==typeof r.value&&r.value&&function od(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{F(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;const r=oi(t.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){const r=this._onDestroyHooks.indexOf(t);-1!==r&&this._onDestroyHooks.splice(r,1)}}function Mu(e){const t=_l(e),r=null!==t?t.factory:fr(e);if(null!==r)return r;if(e instanceof ci)throw new Jn(204,!1);if(e instanceof Function)return function rf(e){if(e.length>0)throw new Jn(204,!1);const r=function ys(e){return e&&(e[Ps]||e[Ll])||null}(e);return null!==r?()=>r.factory(e):()=>new e}(e);throw new Jn(204,!1)}function xc(e,t,r){let i;if(Zl(e)){const l=oi(e);return fr(l)||Mu(l)}if(tu(e))i=()=>oi(e.useValue);else if(function Ql(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...N(e.deps||[]));else if(function nu(e){return!(!e||!e.useExisting)}(e))i=()=>E(oi(e.useExisting));else{const l=oi(e&&(e.useClass||e.provide));if(!function sf(e){return!!e.deps}(e))return fr(l)||Mu(l);i=()=>new l(...N(e.deps))}return i}function Rc(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function sd(e,t){for(const r of e)Array.isArray(r)?sd(r,t):r&&cs(r)?sd(r.\u0275providers,t):t(r)}function lf(e,t){e instanceof Dl&&e.assertNotDestroyed();const i=Hr(e),l=Ds(void 0);try{return t()}finally{Hr(i),Ds(l)}}function cf(){return void 0!==ka()||null!=function yi(){return Hn}()}const Wo=0,vr=1,si=2,ni=3,sl=4,js=5,ws=6,ql=7,zo=8,Cs=9,fs=10,Ti=11,ec=12,Pu=13,fc=14,Xo=15,Ts=16,Rs=17,Zs=18,wl=19,su=20,kl=21,Va=22,Oa=23,zr=25,au=1,Tl=7,Ha=9,Jo=10;var Nc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Nc||{});function Ns(e){return Array.isArray(e)&&"object"==typeof e[au]}function Js(e){return Array.isArray(e)&&!0===e[au]}function ff(e){return!!(4&e.flags)}function al(e){return e.componentOffset>-1}function xu(e){return!(1&~e.flags)}function ll(e){return!!e.template}function hc(e){return!!(512&e[si])}class hd{constructor(t,r,i){this.previousValue=t,this.currentValue=r,this.firstChange=i}isFirstChange(){return this.firstChange}}function uu(e,t,r,i){null!==t?t.applyValueToInputSignal(t,i):e[r]=i}function Ru(){return pd}function pd(e){return e.type.prototype.ngOnChanges&&(e.setInput=gd),cl}function cl(){const e=yf(this),t=null==e?void 0:e.current;if(t){const r=e.previous;if(r===po)e.previous=t;else for(let i in t)r[i]=t[i];e.current=null,this.ngOnChanges(t)}}function gd(e,t,r,i,l){const d=this.declaredInputs[i],m=yf(e)||function _f(e,t){return e[md]=t}(e,{previous:po,current:null}),C=m.current||(m.current={}),M=m.previous,Z=M[d];C[d]=new hd(Z&&Z.currentValue,r,M===po),uu(e,t,l,r)}Ru.ngInherit=!0;const md="__ngSimpleChanges__";function yf(e){return e[md]||null}const Ls=function(e,t,r){},Nu="svg";function mo(e){for(;Array.isArray(e);)e=e[Wo];return e}function Il(e,t){return mo(t[e])}function jr(e,t){return mo(t[e.index])}function mc(e,t){return e.data[t]}function Pa(e,t){return e[t]}function xa(e,t){const r=t[e];return Ns(r)?r:r[Wo]}function $u(e){return!(128&~e[si])}function za(e,t){return null==t?null:e[t]}function Ef(e){e[Rs]=0}function _d(e){1024&e[si]||(e[si]|=1024,$u(e)&&ku(e))}function Bc(e){var t;return!!(9216&e[si]||null!==(t=e[Oa])&&void 0!==t&&t.dirty)}function Ed(e){var t;null===(t=e[fs].changeDetectionScheduler)||void 0===t||t.notify(7),64&e[si]&&(e[si]|=1024),Bc(e)&&ku(e)}function ku(e){var t;null===(t=e[fs].changeDetectionScheduler)||void 0===t||t.notify(0);let r=qo(e);for(;null!==r&&!(8192&r[si])&&(r[si]|=8192,$u(r));)r=qo(r)}function Fu(e,t){if(!(256&~e[si]))throw new Jn(911,!1);null===e[kl]&&(e[kl]=[]),e[kl].push(t)}
1function qo(e){const t=e[ni];return Js(t)?t[ni]:t}const Ci={lFrame:_n(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let bf=!1;function wf(){return Ci.bindingsEnabled}function vc(){return null!==Ci.skipHydrationRootTNode}function Sn(){return Ci.lFrame.lView}function Xi(){return Ci.lFrame.tView}function Uc(e){return Ci.lFrame.contextLView=e,e[zo]}function Bu(e){return Ci.lFrame.contextLView=null,e}function Ro(){let e=Cd();for(;null!==e&&64===e.type;)e=e.parent;return e}function Cd(){return Ci.lFrame.currentTNode}function Ka(e,t){const r=Ci.lFrame;r.currentTNode=e,r.isParent=t}function Xa(){return Ci.lFrame.isParent}function Fl(){Ci.lFrame.isParent=!1}function f(){return bf}function p(e){bf=e}function _(){const e=Ci.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function I(){return Ci.lFrame.bindingIndex}function Q(){return Ci.lFrame.bindingIndex++}function X(e){const t=Ci.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function De(e,t){const r=Ci.lFrame;r.bindingIndex=r.bindingRootIndex=e,Ze(t)}function Ze(e){Ci.lFrame.currentDirectiveIndex=e}function ot(){return Ci.lFrame.currentQueryIndex}function Et(e){Ci.lFrame.currentQueryIndex=e}function Xe(e){const t=e[vr];return 2===t.type?t.declTNode:1===t.type?e[js]:null}function Ct(e,t,r){if(r&Vi.SkipSelf){let l=t,d=e;for(;!(l=l.parent,null!==l||r&Vi.Host||(l=Xe(d),null===l||(d=d[fc],10&l.type))););if(null===l)return!1;t=l,e=d}const i=Ci.lFrame=Ut();return i.currentTNode=t,i.lView=e,!0}function gt(e){const t=Ut(),r=e[vr];Ci.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function Ut(){const e=Ci.lFrame,t=null===e?null:e.child;return null===t?_n(e):t}function _n(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function nr(){const e=Ci.lFrame;return Ci.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const zn=nr;function gn(){const e=nr();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function an(){return Ci.lFrame.selectedIndex}function Gn(e){Ci.lFrame.selectedIndex=e}function rn(){const e=Ci.lFrame;return mc(e.tView,e.selectedIndex)}function cn(){Ci.lFrame.currentNamespace=Nu}let Jt=!0;function Kn(){return Jt}function xr(e){Jt=e}function yr(e,t){for(let Z=t.directiveStart,me=t.directiveEnd;Z<me;Z++){const mt=e.data[Z].type.prototype,{ngAfterContentInit:Dt,ngAfterContentChecked:bt,ngAfterViewInit:un,ngAfterViewChecked:Vn,ngOnDestroy:sr}=mt;var r,i,l,d,m,C,M;Dt&&(null!==(r=e.contentHooks)&&void 0!==r?r:e.contentHooks=[]).push(-Z,Dt),bt&&((null!==(i=e.contentHooks)&&void 0!==i?i:e.contentHooks=[]).push(Z,bt),(null!==(l=e.contentCheckHooks)&&void 0!==l?l:e.contentCheckHooks=[]).push(Z,bt)),un&&(null!==(d=e.viewHooks)&&void 0!==d?d:e.viewHooks=[]).push(-Z,un),Vn&&((null!==(m=e.viewHooks)&&void 0!==m?m:e.viewHooks=[]).push(Z,Vn),(null!==(C=e.viewCheckHooks)&&void 0!==C?C:e.viewCheckHooks=[]).push(Z,Vn)),null!=sr&&(null!==(M=e.destroyHooks)&&void 0!==M?M:e.destroyHooks=[]).push(Z,sr)}}function Mr(e,t,r){To(e,t,3,r)}function gi(e,t,r,i){(3&e[si])===r&&To(e,t,r,i)}
1function Gr(e,t){let r=e[si];(3&r)===t&&(r&=16383,r+=1,e[si]=r)}function To(e,t,r,i){const d=null!=i?i:-1,m=t.length-1;let C=0;for(let M=void 0!==i?65535&e[Rs]:0;M<m;M++)if("number"==typeof t[M+1]){if(C=t[M],null!=i&&C>=i)break}else t[M]<0&&(e[Rs]+=65536),(C<d||-1==d)&&(_a(e,r,t,M),e[Rs]=(4294901760&e[Rs])+M+2),M++}function Io(e,t){Ls(4,e,t);const r=F(null);try{t.call(e)}finally{F(r),Ls(5,e,t)}}function _a(e,t,r,i){const l=r[i]<0,d=r[i+1],C=e[l?-r[i]:r[i]];l?e[si]>>14<e[Rs]>>16&&(3&e[si])===t&&(e[si]+=16384,Io(C,d)):Io(C,d)}const os=-1;class $s{constructor(t,r,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=i}}const yc={};class Ml{constructor(t,r){this.injector=t,this.parentInjector=r}get(t,r,i){i=b(i);const l=this.injector.get(t,yc,i);return l!==yc||r===yc?l:this.parentInjector.get(t,r,i)}}function hu(e){return e!==os}function _c(e){return 32767&e}function Vc(e,t){let r=function pu(e){return e>>16}(e),i=t;for(;r>0;)i=i[fc],r--;return i}let Gh=!0;function xf(e){const t=Gh;return Gh=e,t}const Kh=255,vg=5;let Rf=0;const nc={};function Nf(e,t){const r=yg(e,t);if(-1!==r)return r;const i=t[vr];i.firstCreatePass&&(e.injectorIndex=t.length,Xh(i.data,e),Xh(t,null),Xh(i.blueprint,null));const l=Lf(e,t),d=e.injectorIndex;if(hu(l)){const m=_c(l),C=Vc(l,t),M=C[vr].data;for(let Z=0;Z<8;Z++)t[d+Z]=C[m+Z]|M[m+Z]}return t[d+8]=l,d}function Xh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function yg(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Lf(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let r=0,i=null,l=t;for(;null!==l;){if(i=Dg(l),null===i)return os;if(r++,l=l[fc],-1!==i.injectorIndex)return i.injectorIndex|r<<16}return os}function Yh(e,t,r){!function Cv(e,t,r){let i;"string"==typeof r?i=r.charCodeAt(0)||0:r.hasOwnProperty(io)&&(i=r[io]),null==i&&(i=r[io]=Rf++);const l=i&Kh;t.data[e+(l>>vg)]|=1<<l}(e,t,r)}function _g(e,t,r){if(r&Vi.Optional||void 0!==e)return e;il()}function Eg(e,t,r,i){if(r&Vi.Optional&&void 0===i&&(i=null),!(r&(Vi.Self|Vi.Host))){const l=e[Cs],d=Ds(void 0);try{return l?l.get(t,i,r&Vi.Optional):sa(t,i,r&Vi.Optional)}finally{Ds(d)}}return _g(i,0,r)}function Cg(e,t,r,i=Vi.Default,l){if(null!==e){if(2048&t[si]&&!(i&Vi.Self)){const m=function Tv(e,t,r,i,l){let d=e,m=t;for(;null!==d&&null!==m&&2048&m[si]&&!(512&m[si]);){const C=bg(d,m,r,i|Vi.Self,nc);if(C!==nc)return C;let M=d.parent;if(!M){const Z=m[su];if(Z){const me=Z.get(r,nc,i);if(me!==nc)return me}M=Dg(m),m=m[fc]}d=M}return l}(e,t,r,i,nc);if(m!==nc)return m}const d=bg(e,t,r,i,nc);if(d!==nc)return d}return Eg(t,r,i,l)}function bg(e,t,r,i,l){const d=function Sv(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(io)?e[io]:void 0;return"number"==typeof t?t>=0?t&Kh:wv:t}(r);if("function"==typeof d){if(!Ct(t,e,i))return i&Vi.Host?_g(l,0,i):Eg(t,r,i,l);try{let m;if(m=d(i),null!=m||i&Vi.Optional)return m;il()}finally{zn()}}else if("number"==typeof d){let m=null,C=yg(e,t),M=os,Z=i&Vi.Host?t[Xo][js]:null;for((-1===C||i&Vi.SkipSelf)&&(M=-1===C?Lf(e,t):t[C+8],M!==os&&Zh(i,!1)?(m=t[vr],C=_c(M),t=Vc(M,t)):C=-1);-1!==C;){const me=t[vr];if(Qh(d,C,me.data)){const Oe=Dv(C,t,r,m,i,Z);if(Oe!==nc)return Oe}M=t[C+8],M!==os&&Zh(i,t[vr].data[C+8]===Z)&&Qh(d,C,t)?(m=me,C=_c(M),t=Vc(M,t)):C=-1}}return l}function Dv(e,t,r,i,l,d){const m=t[vr],C=m.data[e+8],me=$f(C,m,r,null==i?al(C)&&Gh:i!=m&&!!(3&C.type),l&Vi.Host&&d===C);return null!==me?mu(t,m,me,C):nc}function $f(e,t,r,i,l){const d=e.providerIndexes,m=t.data,C=1048575&d,M=e.directiveStart,me=d>>20,mt=l?C+me:e.directiveEnd;for(let Dt=i?C:C+me;Dt<mt;Dt++){const bt=m[Dt];if(Dt<M&&r===bt||Dt>=M&&bt.type===r)return Dt}if(l){const Dt=m[M];if(Dt&&ll(Dt)&&Dt.type===r)return M}return null}function mu(e,t,r,i){let l=e[r];const d=t.data;if(function dl(e){return e instanceof $s}(l)){const m=l;m.resolving&&function Gl(e,t){throw t&&t.join(" > "),new Jn(-200,e)}(function Qi(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():pi(e)}(d[r]));const C=xf(m.canSeeViewProviders);m.resolving=!0;const Z=m.injectImpl?Ds(m.injectImpl):null;Ct(e,i,Vi.Default);try{l=e[r]=m.factory(void 0,d,e,i),t.firstCreatePass&&r>=i.directiveStart&&function ar(e,t,r){const{ngOnChanges:i,ngOnInit:l,ngDoCheck:d}=t.type.prototype;if(i){var m,C;const Oe=pd(t);(null!==(m=r.preOrderHooks)&&void 0!==m?m:r.preOrderHooks=[]).push(e,Oe),(null!==(C=r.preOrderCheckHooks)&&void 0!==C?C:r.preOrderCheckHooks=[]).push(e,Oe)}var M,Z,me;l&&(null!==(M=r.preOrderHooks)&&void 0!==M?M:r.preOrderHooks=[]).push(0-e,l),d&&((null!==(Z=r.preOrderHooks)&&void 0!==Z?Z:r.preOrderHooks=[]).push(e,d),(null!==(me=r.preOrderCheckHooks)&&void 0!==me?me:r.preOrderCheckHooks=[]).push(e,d))}(r,d[r],t)}finally{null!==Z&&Ds(Z),xf(C),m.resolving=!1,zn()}}return l}function Qh(e,t,r){return!!(r[t+(e>>vg)]&1<<e)}function Zh(e,t){return!(e&Vi.Self||e&Vi.Host&&t)}class Hs{constructor(t,r){this._tNode=t,this._lView=r}get(t,r,i){return Cg(this._tNode,this._lView,t,b(i),r)}}function wv(){return new Hs(Ro(),Sn())}function wd(e){return Qo(()=>{const t=e.prototype.constructor,r=t[xs]||Jh(t),i=Object.prototype;let l=Object.getPrototypeOf(e.prototype).constructor;for(;l&&l!==i;){const d=l[xs]||Jh(l);if(d&&d!==r)return d;l=Object.getPrototypeOf(l)}return d=>new d})}function Jh(e){return yl(e)?()=>{const t=Jh(oi(e));return t&&t()}:fr(e)}function Dg(e){const t=e[vr],r=t.type;return 2===r?t.declTNode:1===r?e[js]:null}function kf(e){return function bv(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const r=e.attrs;if(r){const i=r.length;let l=0;for(;l<i;){const d=r[l];if(Oc(d))break;if(0===d)l+=2;else if("number"==typeof d)for(l++;l<i&&"string"==typeof r[l];)l++;else{if(d===t)return r[l+1];l+=2}}}return null}(Ro(),e)}function np(e,t=null,r=null,i){const l=rp(e,t,r,i);
1return l.resolveInjectorInitializers(),l}function rp(e,t=null,r=null,i,l=new Set){const d=[r||Oi,Su(e)];return i=i||("object"==typeof e?void 0:wo(e)),new Dl(d,t||Pc(),i||null,l)}class ea{static create(t,r){if(Array.isArray(t))return np({name:""},r,t,"");{var i;const l=null!==(i=t.name)&&void 0!==i?i:"";return np({name:l},t.parent,t.providers,l)}}}(Wi=ea).THROW_IF_NOT_FOUND=A,Wi.NULL=new cc,Wi.\u0275prov=Li({token:Wi,providedIn:"any",factory:()=>E(Ki)}),Wi.__NG_ELEMENT_ID__=-1,new ci("").__NG_ELEMENT_ID__=e=>{const t=Ro();if(null===t)throw new Jn(204,!1);if(2&t.type)return t.value;if(e&Vi.Optional)return null;throw new Jn(204,!1)};function op(e){return e.ngOriginalError}let jc=(()=>{var e;class t{}return(e=t).__NG_ELEMENT_ID__=xv,e.__NG_ENV_ID__=r=>r,t})();class Ag extends jc{constructor(t){super(),this._lView=t}onDestroy(t){return Fu(this._lView,t),()=>function ul(e,t){if(null===e[kl])return;const r=e[kl].indexOf(t);-1!==r&&e[kl].splice(r,1)}(this._lView,t)}}function xv(){return new Ag(Sn())}let vu=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ur.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(e=t).\u0275prov=Li({token:e,providedIn:"root",factory:()=>new e}),t})();const rc=class Rv extends Fn.B{constructor(t=!1){var r,i;super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,cf()&&(this.destroyRef=null!==(r=v(jc,{optional:!0}))&&void 0!==r?r:void 0,this.pendingTasks=null!==(i=v(vu,{optional:!0}))&&void 0!==i?i:void 0)}emit(t){const r=F(null);try{super.next(t)}finally{F(r)}}subscribe(t,r,i){let l=t,d=r||(()=>null),m=i;if(t&&"object"==typeof t){var C,M,Z;const Oe=t;l=null===(C=Oe.next)||void 0===C?void 0:C.bind(Oe),d=null===(M=Oe.error)||void 0===M?void 0:M.bind(Oe),m=null===(Z=Oe.complete)||void 0===Z?void 0:Z.bind(Oe)}this.__isAsync&&(d=this.wrapInTimeout(d),l&&(l=this.wrapInTimeout(l)),m&&(m=this.wrapInTimeout(m)));const me=super.subscribe({next:l,error:d,complete:m});return t instanceof cr.yU&&t.add(me),me}wrapInTimeout(t){return r=>{var i;const l=null===(i=this.pendingTasks)||void 0===i?void 0:i.add();setTimeout(()=>{var d;t(r),void 0!==l&&(null===(d=this.pendingTasks)||void 0===d||d.remove(l))})}}};function Uf(...e){}function Og(e){let t,r;function i(){e=Uf;try{void 0!==r&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(r),void 0!==t&&clearTimeout(t)}catch(l){}}return t=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(r=requestAnimationFrame(()=>{e(),i()})),()=>i()}function Pg(e){return queueMicrotask(()=>e()),()=>{e=Uf}}class ts{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new rc(!1),this.onMicrotaskEmpty=new rc(!1),this.onStable=new rc(!1),this.onError=new rc(!1),typeof Zone>"u")throw new Jn(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)),t&&Zone.longStackTraceZoneSpec&&(l._inner=l._inner.fork(Zone.longStackTraceZoneSpec)),l.shouldCoalesceEventChangeDetection=!i&&r,l.shouldCoalesceRunChangeDetection=i,l.callbackScheduled=!1,function Lv(e){const t=()=>{!function Bl(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{Og(()=>{e.callbackScheduled=!1,ap(e),e.isCheckStableRunning=!0,sp(e),e.isCheckStableRunning=!1})}),ap(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,i,l,d,m,C)=>{if(function Ya(e){return xg(e,"__ignore_ng_zone__")}(C))return r.invokeTask(l,d,m,C);try{return Hc(e),r.invokeTask(l,d,m,C)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===d.type||e.shouldCoalesceRunChangeDetection)&&t(),zi(e)}},onInvoke:(r,i,l,d,m,C,M)=>{try{return Hc(e),r.invoke(l,d,m,C,M)}
1finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function Is(e){return xg(e,"__scheduler_tick__")}(C)&&t(),zi(e)}},onHasTask:(r,i,l,d)=>{r.hasTask(l,d),i===l&&("microTask"==d.change?(e._hasPendingMicrotasks=d.microTask,ap(e),sp(e)):"macroTask"==d.change&&(e.hasPendingMacrotasks=d.macroTask))},onHandleError:(r,i,l,d)=>(r.handleError(l,d),e.runOutsideAngular(()=>e.onError.emit(d)),!1)})}(l)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ts.isInAngularZone())throw new Jn(909,!1)}static assertNotInAngularZone(){if(ts.isInAngularZone())throw new Jn(909,!1)}run(t,r,i){return this._inner.run(t,r,i)}runTask(t,r,i,l){const d=this._inner,m=d.scheduleEventTask("NgZoneEvent: "+l,t,Nv,Uf,Uf);try{return d.runTask(m,r,i)}finally{d.cancelTask(m)}}runGuarded(t,r,i){return this._inner.runGuarded(t,r,i)}runOutsideAngular(t){return this._outer.run(t)}}const Nv={};function sp(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function ap(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Hc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function zi(e){e._nesting--,sp(e)}class lp{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new rc,this.onMicrotaskEmpty=new rc,this.onStable=new rc,this.onError=new rc}run(t,r,i){return t.apply(r,i)}runGuarded(t,r,i){return t.apply(r,i)}runOutsideAngular(t){return t()}runTask(t,r,i,l){return t.apply(r,i)}}function xg(e,t){var r;return!(!Array.isArray(e)||1!==e.length)&&!0===(null===(r=e[0])||void 0===r||null===(r=r.data)||void 0===r?void 0:r[t])}class ic{constructor(){this._console=console}handleError(t){const r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(t){let r=t&&op(t);for(;r&&op(r);)r=op(r);return r||null}}const $v=new ci("",{providedIn:"root",factory:()=>{const e=v(ts),t=v(ic);return r=>e.runOutsideAngular(()=>t.handleError(r))}});function Lg(){return Ec(Ro(),Sn())}function Ec(e,t){return new Yo(jr(e,t))}let Yo=(()=>{class t{constructor(i){this.nativeElement=i}}return t.__NG_ELEMENT_ID__=Lg,t})();function hs(e){return e instanceof Yo?e.nativeElement:e}function $g(){return this._results[Symbol.iterator]()}class cp{get changes(){var t;return null!==(t=this._changes)&&void 0!==t?t:this._changes=new rc}constructor(t=!1){this._emitDistinctChangesOnly=t,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 r=cp.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=$g)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,r){return this._results.reduce(t,r)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,r){this.dirty=!1;const i=function yn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function pn(e,t,r){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let l=e[i],d=t[i];if(r&&(l=r(l),d=r(d)),d!==l)return!1}return!0}(this._results,i,r))&&(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(t){this._onDirty=t}setDirty(){var t;this.dirty=!0,null===(t=this._onDirty)||void 0===t||t.call(this)}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function Vf(e){return!(128&~e.flags)}const yu=new Map;let up=0;const jf="__ngContext__";function ss(e,t){Ns(t)?(e[jf]=t[wl],function Bg(e){yu.set(e[wl],e)}(t)):e[jf]=t}function zg(e){return Kg(e[ec])}function Gg(e){return Kg(e[sl])}function Kg(e){for(;null!==e&&!Js(e);)e=e[sl];return e}let Wf;function Kv(e){Wf=e}function Gc(){if(void 0!==Wf)return Wf;if(typeof document<"u")return document;throw new Jn(210,!1)}const zf=new ci("",{providedIn:"root",factory:()=>tm}),tm="ng",nm=new ci(""),gp=new ci("",{providedIn:"platform",factory:()=>"unknown"}),rm=new ci(""),im=new ci("",{providedIn:"root",factory:()=>{var e;return(null===(e=Gc().body)||void 0===e||null===(e=e.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}});let om=()=>null;function Ep(e,t,r=!1){return om(e,t,r)}const Qf=new ci("",{providedIn:"root",factory:()=>!1});let Xu,Jf;function Kc(e){var t;return(null===(t=function wp(){if(void 0===Xu&&(Xu=null,So.trustedTypes))try{Xu=So.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Xu}())||void 0===t?void 0:t.createHTML(e))||e}
1function qf(){if(void 0===Jf&&(Jf=null,So.trustedTypes))try{Jf=So.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Jf}function fm(e){var t;return(null===(t=qf())||void 0===t?void 0:t.createHTML(e))||e}function pm(e){var t;return(null===(t=qf())||void 0===t?void 0:t.createScriptURL(e))||e}class bc{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Co})`}}class Tp extends bc{getTypeName(){return"HTML"}}class l0 extends bc{getTypeName(){return"Style"}}class c0 extends bc{getTypeName(){return"Script"}}class u0 extends bc{getTypeName(){return"URL"}}class d0 extends bc{getTypeName(){return"ResourceURL"}}function Dc(e){return e instanceof bc?e.changingThisBreaksApplicationSecurity:e}function Yu(e,t){const r=function f0(e){return e instanceof bc&&e.getTypeName()||null}(e);if(null!=r&&r!==t){if("ResourceURL"===r&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${Co})`)}return r===t}function h0(e){return new Tp(e)}function p0(e){return new l0(e)}function g0(e){return new c0(e)}function m0(e){return new u0(e)}function v0(e){return new d0(e)}class y0{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const r=(new window.DOMParser).parseFromString(Kc(t),"text/html").body;return null===r?this.inertDocumentHelper.getInertBodyElement(t):(r.removeChild(r.firstChild),r)}catch(r){return null}}}class _0{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const r=this.inertDocument.createElement("template");return r.innerHTML=Kc(t),r}}const C0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function eh(e){return(e=String(e)).match(C0)?e:"unsafe:"+e}function Sc(e){const t={};for(const r of e.split(","))t[r]=!0;return t}function Bd(...e){const t={};for(const r of e)for(const i in r)r.hasOwnProperty(i)&&(t[i]=!0);return t}const mm=Sc("area,br,col,hr,img,wbr"),c=Sc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),h=Sc("rp,rt"),st=Bd(mm,Bd(c,Sc("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")),Bd(h,Sc("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")),Bd(h,c)),xt=Sc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Wn=Bd(xt,Sc("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"),Sc("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")),Xn=Sc("script,style,template");class dr{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let r=t.firstChild,i=!0,l=[];for(;r;)if(r.nodeType===Node.ELEMENT_NODE?i=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,i&&r.firstChild)l.push(r),r=Ii(r);else for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let d=ri(r);if(d){r=d;break}r=l.pop()}return this.buf.join("")}startElement(t){const r=oo(t).toLowerCase();if(!st.hasOwnProperty(r))return this.sanitizedSomething=!0,!Xn.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);const i=t.attributes;for(let l=0;l<i.length;l++){const d=i.item(l),m=d.name,C=m.toLowerCase();if(!Wn.hasOwnProperty(C)){this.sanitizedSomething=!0;continue}let M=d.value;xt[C]&&(M=eh(M)),this.buf.push(" ",m,'="',Ja(M),'"')}return this.buf.push(">"),!0}endElement(t){const r=oo(t).toLowerCase();st.hasOwnProperty(r)&&!mm.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(t){this.buf.push(Ja(t))}}function ri(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw bi(t);return t}function Ii(e){const t=e.firstChild;if(t&&function Lr(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw bi(t);return t}function oo(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function bi(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const _o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Mo=/([^\#-~ |!])/g;function Ja(e){return e.replace(/&/g,"&").replace(_o,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Mo,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let na;function qa(e,t){let r=null;try{na=na||function gm(e){const t=new _0(e);return function E0(){try{return!!(new window.DOMParser).parseFromString(Kc(""),"text/html")}catch(e){return!1}}()?new y0(t):t}(e);let i=t?String(t):"";r=na.getInertBodyElement(i);let l=5,d=i;do{if(0===l)throw new Error("Failed to sanitize html because the input is unstable");l--,i=d,d=r.innerHTML,r=na.getInertBodyElement(i)}while(i!==d);return Kc((new dr).sanitizeChildren(ps(r)||r))}finally{if(r){const i=ps(r)||r;for(;i.firstChild;)i.removeChild(i.firstChild)}}}
1function ps(e){return"content"in e&&function Ul(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Na=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Na||{});function Ip(e){const t=Mp();return t?fm(t.sanitize(Na.HTML,e)||""):Yu(e,"HTML")?fm(Dc(e)):qa(Gc(),pi(e))}function b0(e){const t=Mp();return t?t.sanitize(Na.URL,e)||"":Yu(e,"URL")?Dc(e):eh(pi(e))}function D0(e){const t=Mp();if(t)return pm(t.sanitize(Na.RESOURCE_URL,e)||"");if(Yu(e,"ResourceURL"))return pm(Dc(e));throw new Jn(904,!1)}function nE(e,t,r){return function gT(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?D0:b0}(t,r)(e)}function Mp(){const e=Sn();return e&&e[fs].sanitizer}const mT=/^>|^->|<!--|-->|--!>|<!-$/g,vT=/(<|>)/g,yT="\u200b$1\u200b";function aE(e){return e.ownerDocument.defaultView}function Vl(e){return e instanceof Function?e():e}var _m=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(_m||{});let T0;function I0(e,t){return T0(e,t)}function nh(e,t,r,i,l){if(null!=i){let d,m=!1;Js(i)?d=i:Ns(i)&&(m=!0,i=i[Wo]);const C=mo(i);0===e&&null!==r?null==l?mE(t,r,C):Ud(t,r,C,l||null,!0):1===e&&null!==r?Ud(t,r,C,l||null,!0):2===e?function Op(e,t,r){const i=bm(e,t);i&&function LT(e,t,r,i){e.removeChild(t,r,i)}(e,i,t,r)}(t,C,m):3===e&&t.destroyNode(C),null!=d&&function FT(e,t,r,i,l){const d=r[Tl];d!==mo(r)&&nh(t,e,i,d,l);for(let C=Jo;C<r.length;C++){const M=r[C];Sm(M[vr],M,e,t,i,d)}}(t,e,d,r,l)}}function A0(e,t){return e.createComment(function rE(e){return e.replace(mT,t=>t.replace(vT,yT))}(t))}function Em(e,t,r){return e.createElement(t,r)}function hE(e,t){var r;null===(r=t[fs].changeDetectionScheduler)||void 0===r||r.notify(8),Sm(e,t,t[Ti],2,null,null)}function pE(e,t){const r=e[Ha],i=t[ni];(Ns(i)||t[Xo]!==i[ni][Xo])&&(e[si]|=Nc.HasTransplantedViews),null===r?e[Ha]=[t]:r.push(t)}function O0(e,t){const r=e[Ha],i=r.indexOf(t);r.splice(i,1)}function Ap(e,t){if(e.length<=Jo)return;const r=Jo+t,i=e[r];if(i){const l=i[Ts];null!==l&&l!==e&&O0(l,i),t>0&&(e[r-1][sl]=i[sl]);const d=Si(e,Jo+t);!function AT(e,t){hE(e,t),t[Wo]=null,t[js]=null}(i[vr],i);const m=d[Zs];null!==m&&m.detachView(d[vr]),i[ni]=null,i[sl]=null,i[si]&=-129}return i}function Cm(e,t){if(!(256&t[si])){const r=t[Ti];r.destroyNode&&Sm(e,t,r,3,null,null),function PT(e){let t=e[ec];if(!t)return P0(e[vr],e);for(;t;){let r=null;if(Ns(t))r=t[ec];else{const i=t[Jo];i&&(r=i)}if(!r){for(;t&&!t[sl]&&t!==e;)Ns(t)&&P0(t[vr],t),t=t[ni];null===t&&(t=e),Ns(t)&&P0(t[vr],t),r=t&&t[sl]}t=r}}(t)}}function P0(e,t){if(256&t[si])return;const r=F(null);try{t[si]&=-129,t[si]|=256,t[Oa]&&Me(t[Oa]),function NT(e,t){let r;if(null!=e&&null!=(r=e.destroyHooks))for(let i=0;i<r.length;i+=2){const l=t[r[i]];if(!(l instanceof $s)){const d=r[i+1];if(Array.isArray(d))for(let m=0;m<d.length;m+=2){const C=l[d[m]],M=d[m+1];Ls(4,C,M);try{M.call(C)}finally{Ls(5,C,M)}}else{Ls(4,l,d);try{d.call(l)}finally{Ls(5,l,d)}}}}}(e,t),function RT(e,t){const r=e.cleanup,i=t[ql];if(null!==r)for(let d=0;d<r.length-1;d+=2)if("string"==typeof r[d]){const m=r[d+3];m>=0?i[m]():i[-m].unsubscribe(),d+=2}else r[d].call(i[r[d+1]]);null!==i&&(t[ql]=null);const l=t[kl];if(null!==l){t[kl]=null;for(let d=0;d<l.length;d++)(0,l[d])()}}(e,t),1===t[vr].type&&t[Ti].destroy();const i=t[Ts];if(null!==i&&Js(t[ni])){i!==t[ni]&&O0(i,t);const l=t[Zs];null!==l&&l.detachView(e)}!function fl(e){yu.delete(e[wl])}(t)}finally{F(r)}}function x0(e,t,r){return function gE(e,t,r){let i=t;for(;null!==i&&168&i.type;)i=(t=i).parent;if(null===i)return r[Wo];{const{componentOffset:l}=i;if(l>-1){const{encapsulation:d}=e.data[i.directiveStart+l];if(d===Ss.None||d===Ss.Emulated)return null}return jr(i,r)}}(e,t.parent,r)}function Ud(e,t,r,i,l){e.insertBefore(t,r,i,l)}function mE(e,t,r){e.appendChild(t,r)}function vE(e,t,r,i,l){null!==i?Ud(e,t,r,i,l):mE(e,t,r)}function bm(e,t){return e.parentNode(t)}function yE(e,t,r){return EE(e,t,r)}let R0,EE=function _E(e,t,r){return 40&e.type?jr(e,r):null};
1function Dm(e,t,r,i){const l=x0(e,i,t),d=t[Ti],C=yE(i.parent||t[js],i,t);if(null!=l)if(Array.isArray(r))for(let M=0;M<r.length;M++)vE(d,l,r[M],C,!1);else vE(d,l,r,C,!1);void 0!==R0&&R0(d,i,t,r,l)}function Vd(e,t){if(null!==t){const r=t.type;if(3&r)return jr(t,e);if(4&r)return N0(-1,e[t.index]);if(8&r){const i=t.child;if(null!==i)return Vd(e,i);{const l=e[t.index];return Js(l)?N0(-1,l):mo(l)}}if(128&r)return Vd(e,t.next);if(32&r)return I0(t,e)()||mo(e[t.index]);{const i=bE(e,t);return null!==i?Array.isArray(i)?i[0]:Vd(qo(e[Xo]),i):Vd(e,t.next)}}return null}function bE(e,t){return null!==t?e[Xo][js].projection[t.projection]:null}function N0(e,t){const r=Jo+e+1;if(r<t.length){const i=t[r],l=i[vr].firstChild;if(null!==l)return Vd(i,l)}return t[Tl]}function L0(e,t,r,i,l,d,m){for(;null!=r;){if(128===r.type){r=r.next;continue}const C=i[r.index],M=r.type;if(m&&0===t&&(C&&ss(mo(C),i),r.flags|=2),32&~r.flags)if(8&M)L0(e,t,r.child,i,l,d,!1),nh(t,e,l,C,d);else if(32&M){const Z=I0(r,i);let me;for(;me=Z();)nh(t,e,l,me,d);nh(t,e,l,C,d)}else 16&M?SE(e,t,i,r,l,d):nh(t,e,l,C,d);r=m?r.projectionNext:r.next}}function Sm(e,t,r,i,l,d){L0(r,i,e.firstChild,t,l,d,!1)}function SE(e,t,r,i,l,d){const m=r[Xo],M=m[js].projection[i.projection];if(Array.isArray(M))for(let Z=0;Z<M.length;Z++)nh(t,e,l,M[Z],d);else{let Z=M;const me=m[ni];Vf(i)&&(Z.flags|=128),L0(e,t,Z,me,l,d,!0)}}function wE(e,t,r){""===r?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}function TE(e,t,r){const{mergedAttrs:i,classes:l,styles:d}=r;null!==i&&Ac(e,t,i),null!==l&&wE(e,t,l),null!==d&&function UT(e,t,r){e.setAttribute(t,"style",r)}(e,t,d)}const Yi={};function IE(e=1){ME(Xi(),Sn(),an()+e,!1)}function ME(e,t,r,i){if(!i)if(3&~t[si]){const d=e.preOrderHooks;null!==d&&gi(t,d,0,r)}else{const d=e.preOrderCheckHooks;null!==d&&Mr(t,d,r)}Gn(r)}function rh(e,t=Vi.Default){const r=Sn();return null===r?E(e,t):Cg(Ro(),r,oi(e),t)}function AE(){throw new Error("invalid")}function OE(e,t,r,i,l,d){const m=F(null);try{let C=null;l&Fa.SignalBased&&(C=t[i][x]),null!==C&&void 0!==C.transformFn&&(d=C.transformFn(d)),l&Fa.HasDecoratorInputTransform&&(d=e.inputTransforms[i].call(t,d)),null!==e.setInput?e.setInput(t,C,d,r,i):uu(t,C,i,d)}finally{F(m)}}function wm(e,t,r,i,l,d,m,C,M,Z,me){const Oe=t.blueprint.slice();return Oe[Wo]=l,Oe[si]=204|i,(null!==Z||e&&2048&e[si])&&(Oe[si]|=2048),Ef(Oe),Oe[ni]=Oe[fc]=e,Oe[zo]=r,Oe[fs]=m||e&&e[fs],Oe[Ti]=C||e&&e[Ti],Oe[Cs]=M||e&&e[Cs]||null,Oe[js]=d,Oe[wl]=function Fv(){return up++}(),Oe[ws]=me,Oe[su]=Z,Oe[Xo]=2==t.type?e[Xo]:Oe,Oe}function jd(e,t,r,i,l){let d=e.data[t];if(null===d)d=function $0(e,t,r,i,l){const d=Cd(),m=Xa(),M=e.data[t]=function XT(e,t,r,i,l,d){let m=t?t.injectorIndex:-1,C=0;return vc()&&(C|=128),{type:r,index:i,insertBeforeIndex:null,injectorIndex:m,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:C,providerIndexes:0,value:l,attrs:d,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,m?d:d&&d.parent,r,t,i,l);return null===e.firstChild&&(e.firstChild=M),null!==d&&(m?null==d.child&&null!==M.parent&&(d.child=M):null===d.next&&(d.next=M,M.prev=d)),M}(e,t,r,i,l),function Te(){return Ci.lFrame.inI18n}()&&(d.flags|=32);else if(64&d.type){d.type=r,d.value=i,d.attrs=l;const m=function tc(){const e=Ci.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();d.injectorIndex=null===m?-1:m.injectorIndex}return Ka(d,!0),d}function Pp(e,t,r,i){if(0===r)return-1;const l=t.length;for(let d=0;d<r;d++)t.push(i),e.blueprint.push(i),e.data.push(null);return l}function PE(e,t,r,i,l){const d=an(),m=2&i;try{Gn(-1),m&&t.length>zr&&ME(e,t,zr,!1),Ls(m?2:0,l),r(i,l)}finally{Gn(d),Ls(m?3:1,l)}}function k0(e,t,r){if(ff(t)){const i=F(null);try{const d=t.directiveEnd;for(let m=t.directiveStart;m<d;m++){const C=e.data[m];C.contentQueries&&C.contentQueries(1,r[m],m)}}finally{F(i)}}}function F0(e,t,r){wf()&&(function tI(e,t,r,i){const l=r.directiveStart,d=r.directiveEnd;al(r)&&function lI(e,t,r){const i=jr(t,e),l=xE(r);let m=16;r.signals?m=4096:r.onPush&&(m=64);const C=Tm(e,wm(e,l,null,m,i,t,null,e[fs].rendererFactory.createRenderer(i,r),null,null,null));e[t.index]=C}
1(t,r,e.data[l+r.componentOffset]),e.firstCreatePass||Nf(r,t),ss(i,t);const m=r.initialInputs;for(let C=l;C<d;C++){const M=e.data[C],Z=mu(t,e,C,r);ss(Z,t),null!==m&&cI(0,C-l,Z,M,0,m),ll(M)&&(xa(r.index,t)[zo]=mu(t,e,C,r))}}(e,t,r,jr(r,t)),!(64&~r.flags)&&kE(e,t,r))}function B0(e,t,r=jr){const i=t.localNames;if(null!==i){let l=t.index+1;for(let d=0;d<i.length;d+=2){const m=i[d+1],C=-1===m?r(t,e):e[m];e[l++]=C}}}function xE(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=U0(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function U0(e,t,r,i,l,d,m,C,M,Z,me){const Oe=zr+i,mt=Oe+l,Dt=function jT(e,t){const r=[];for(let i=0;i<t;i++)r.push(i<e?null:Yi);return r}(Oe,mt),bt="function"==typeof Z?Z():Z;return Dt[vr]={type:e,blueprint:Dt,template:r,queries:null,viewQuery:C,declTNode:t,data:Dt.slice().fill(null,Oe),bindingStartIndex:Oe,expandoStartIndex:mt,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 d?d():d,pipeRegistry:"function"==typeof m?m():m,firstChild:null,schemas:M,consts:bt,incompleteFirstPass:!1,ssrId:me}}let RE=()=>null;function NE(e,t,r,i,l){for(let m in t){var d;if(!t.hasOwnProperty(m))continue;const C=t[m];if(void 0===C)continue;null!==(d=i)&&void 0!==d||(i={});let M,Z=Fa.None;Array.isArray(C)?(M=C[0],Z=C[1]):M=C;let me=m;if(null!==l){if(!l.hasOwnProperty(m))continue;me=l[m]}0===e?LE(i,r,me,M,Z):LE(i,r,me,M)}return i}function LE(e,t,r,i,l){let d;e.hasOwnProperty(r)?(d=e[r]).push(t,i):d=e[r]=[t,i],void 0!==l&&d.push(l)}function Ol(e,t,r,i,l,d,m,C){const M=jr(t,r);let me,Z=t.inputs;!C&&null!=Z&&(me=Z[i])?(z0(e,r,me,i,l),al(t)&&function ZT(e,t){const r=xa(t,e);16&r[si]||(r[si]|=64)}(r,t.index)):3&t.type&&(i=function QT(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),l=null!=m?m(l,t.value||"",i):l,d.setProperty(M,i,l))}function V0(e,t,r,i){if(wf()){const l=null===i?null:{"":-1},d=function rI(e,t){const r=e.directiveRegistry;let i=null,l=null;if(r)for(let m=0;m<r.length;m++){const C=r[m];if(S(t,C.selectors,!1))if(i||(i=[]),ll(C))if(null!==C.findHostDirectiveDefs){const M=[];l=l||new Map,C.findHostDirectiveDefs(C,M,l),i.unshift(...M,C),j0(e,t,M.length)}else i.unshift(C),j0(e,t,0);else{var d;l=l||new Map,null===(d=C.findHostDirectiveDefs)||void 0===d||d.call(C,C,i,l),i.push(C)}}return null===i?null:[i,l]}(e,r);let m,C;null===d?m=C=null:[m,C]=d,null!==m&&$E(e,t,r,m,l,C),l&&function iI(e,t,r){if(t){const i=e.localNames=[];for(let l=0;l<t.length;l+=2){const d=r[t[l+1]];if(null==d)throw new Jn(-301,!1);i.push(t[l],d)}}}(r,i,l)}r.mergedAttrs=la(r.mergedAttrs,r.attrs)}function $E(e,t,r,i,l,d){for(let Oe=0;Oe<i.length;Oe++)Yh(Nf(r,t),e,i[Oe].type);!function sI(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}(r,e.data.length,i.length);for(let Oe=0;Oe<i.length;Oe++){const mt=i[Oe];mt.providersResolver&&mt.providersResolver(mt)}let m=!1,C=!1,M=Pp(e,t,i.length,null);for(let Oe=0;Oe<i.length;Oe++){const mt=i[Oe];r.mergedAttrs=la(r.mergedAttrs,mt.hostAttrs),aI(e,r,t,M,mt),oI(M,mt,l),null!==mt.contentQueries&&(r.flags|=4),(null!==mt.hostBindings||null!==mt.hostAttrs||0!==mt.hostVars)&&(r.flags|=64);const Dt=mt.type.prototype;var Z,me;!m&&(Dt.ngOnChanges||Dt.ngOnInit||Dt.ngDoCheck)&&((null!==(Z=e.preOrderHooks)&&void 0!==Z?Z:e.preOrderHooks=[]).push(r.index),m=!0),C||!Dt.ngOnChanges&&!Dt.ngDoCheck||((null!==(me=e.preOrderCheckHooks)&&void 0!==me?me:e.preOrderCheckHooks=[]).push(r.index),C=!0),M++}!function YT(e,t,r){const l=t.directiveEnd,d=e.data,m=t.attrs,C=[];let M=null,Z=null;for(let me=t.directiveStart;me<l;me++){const Oe=d[me],mt=r?r.get(Oe):null,bt=mt?mt.outputs:null;M=NE(0,Oe.inputs,me,M,mt?mt.inputs:null),Z=NE(1,Oe.outputs,me,Z,bt);const un=null===M||null===m||Du(t)?null:uI(M,me,m);C.push(un)}null!==M&&(M.hasOwnProperty("class")&&(t.flags|=8),M.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=C,t.input
1s=M,t.outputs=Z}(e,r,d)}function kE(e,t,r){const i=r.directiveStart,l=r.directiveEnd,d=r.index,m=function xe(){return Ci.lFrame.currentDirectiveIndex}();try{Gn(d);for(let C=i;C<l;C++){const M=e.data[C],Z=t[C];Ze(C),(null!==M.hostBindings||0!==M.hostVars||null!==M.hostAttrs)&&nI(M,Z)}}finally{Gn(-1),Ze(m)}}function nI(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function j0(e,t,r){var i;t.componentOffset=r,(null!==(i=e.components)&&void 0!==i?i:e.components=[]).push(t.index)}function oI(e,t,r){if(r){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)r[t.exportAs[i]]=e;ll(t)&&(r[""]=e)}}function aI(e,t,r,i,l){e.data[i]=l;const d=l.factory||(l.factory=fr(l.type)),m=new $s(d,ll(l),rh);e.blueprint[i]=m,r[i]=m,function qT(e,t,r,i,l){const d=l.hostBindings;if(d){let m=e.hostBindingOpCodes;null===m&&(m=e.hostBindingOpCodes=[]);const C=~t.index;(function eI(e){let t=e.length;for(;t>0;){const r=e[--t];if("number"==typeof r&&r<0)return r}return 0})(m)!=C&&m.push(C),m.push(r,i,d)}}(e,t,i,Pp(e,r,l.hostVars,Yi),l)}function Xc(e,t,r,i,l,d){const m=jr(e,t);!function H0(e,t,r,i,l,d,m){if(null==d)e.removeAttribute(t,l,r);else{const C=null==m?pi(d):m(d,i||"",l);e.setAttribute(t,l,C,r)}}(t[Ti],m,d,e.value,r,i,l)}function cI(e,t,r,i,l,d){const m=d[t];if(null!==m)for(let C=0;C<m.length;)OE(i,r,m[C++],m[C++],m[C++],m[C++])}function uI(e,t,r){let i=null,l=0;for(;l<r.length;){const d=r[l];if(0!==d)if(5!==d){if("number"==typeof d)break;if(e.hasOwnProperty(d)){null===i&&(i=[]);const m=e[d];for(let C=0;C<m.length;C+=3)if(m[C]===t){i.push(d,m[C+1],m[C+2],r[l+1]);break}}l+=2}else l+=2;else l+=4}return i}function FE(e,t,r,i){return[e,!0,0,t,null,i,null,r,null,null]}function BE(e,t){const r=e.contentQueries;if(null!==r){const i=F(null);try{for(let l=0;l<r.length;l+=2){const m=r[l+1];if(-1!==m){const C=e.data[m];Et(r[l]),C.contentQueries(2,t[m],m)}}}finally{F(i)}}}function Tm(e,t){return e[ec]?e[Pu][sl]=t:e[ec]=t,e[Pu]=t,t}function W0(e,t,r){Et(0);const i=F(null);try{t(e,r)}finally{F(i)}}function UE(e){var t;return null!==(t=e[ql])&&void 0!==t?t:e[ql]=[]}function VE(e){var t;return null!==(t=e.cleanup)&&void 0!==t?t:e.cleanup=[]}function Im(e,t){const r=e[Cs],i=r?r.get(ic,null):null;i&&i.handleError(t)}function z0(e,t,r,i,l){for(let d=0;d<r.length;){const m=r[d++],C=r[d++],M=r[d++];OE(e.data[m],t[m],i,C,M,l)}}function Eu(e,t,r){const i=Il(t,e);!function fE(e,t,r){e.setValue(t,r)}(e[Ti],i,r)}function dI(e,t){const r=xa(t,e),i=r[vr];!function fI(e,t){for(let r=t.length;r<e.blueprint.length;r++)t.push(e.blueprint[r])}(i,r);const l=r[Wo];null!==l&&null===r[ws]&&(r[ws]=Ep(l,r[Cs])),G0(i,r,r[zo])}function G0(e,t,r){gt(t);try{var i;const l=e.viewQuery;null!==l&&W0(1,l,r);const d=e.template;null!==d&&PE(e,t,d,1,r),e.firstCreatePass&&(e.firstCreatePass=!1),null===(i=t[Zs])||void 0===i||i.finishViewCreation(e),e.staticContentQueries&&BE(e,t),e.staticViewQueries&&W0(2,e.viewQuery,r);const m=e.components;null!==m&&function hI(e,t){for(let r=0;r<t.length;r++)dI(e,t[r])}(t,m)}catch(l){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),l}finally{t[si]&=-5,gn()}}function ih(e,t,r,i){const l=F(null);try{var d,m,C;const M=t.tView,Oe=wm(e,M,r,4096&e[si]?4096:16,null,t,null,null,null!==(d=null==i?void 0:i.injector)&&void 0!==d?d:null,null!==(m=null==i?void 0:i.embeddedViewInjector)&&void 0!==m?m:null,null!==(C=null==i?void 0:i.dehydratedView)&&void 0!==C?C:null);Oe[Ts]=e[t.index];const Dt=e[Zs];return null!==Dt&&(Oe[Zs]=Dt.createEmbeddedView(M)),G0(M,Oe,r),Oe}finally{F(l)}}function Hd(e,t){return!t||null===t.firstChild||Vf(e)}function oh(e,t,r,i=!0){const l=t[vr];if(function xT(e,t,r,i){const l=Jo+i,d=r.length;i>0&&(r[l-1][sl]=t),i<d-Jo?(t[sl]=r[l],Dr(r,Jo+i,t)):(r.push(t),t[sl]=null),t[ni]=r;const m=t[Ts];null!==m&&r!==m&&pE(m,t);const C=t[Zs];null!==C&&C.insertView(e),Ed(t),t[si]|=128}(l,t,e,r),i){const m=N0(r,e),C=t[Ti],M=bm(C,e[Tl]);null!==M&&function OT(e,t,r,i,l,d){i[Wo]=l,i[js]=t,Sm(e,i,r,1,l,d)}(l,e[js],C,t,M,m)}const d=t[ws];null!==d&&null!==d.firstChild&&(d.firstChild=null)}function xp(e,t,r,i,l=!1){for(;null!==r;){if(128===r.type){r=l?r.projectionNext:r.next;continue}const d=t[r.index];null!==d&&i.push(mo(d)),Js(d)&&WE(d,i);const m=r.type;if(8&m)xp(e,t,r.child,i);else if(32&m){const C=I0(r,t);let M;for(;M=C();)i.push(M)}else if(16&m){const C=bE(t,r);if(Array.isArray(C))i.push(...C);else{const M=qo(t[Xo]);xp(M[vr],M,C,i,!0)}}r=l?r.projectionNext:r.next}return i}function WE(e,t){for(let r=Jo;r<e.length;r++){const i=e[r],l=i[vr].firstChild;null!==l&&xp(i[vr],i,l,t)}
1e[Tl]!==e[Wo]&&t.push(e[Tl])}let zE=[];const vI={...L,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ku(e.lView)},consumerOnSignalRead(){this.lView[Oa]=this}},_I={...L,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=qo(e.lView);for(;t&&!GE(t[vr]);)t=qo(t);t&&_d(t)},consumerOnSignalRead(){this.lView[Oa]=this}};function GE(e){return 2!==e.type}const EI=100;function Mm(e,t=!0,r=0){const i=e[fs],l=i.rendererFactory;var m;null===(m=l.begin)||void 0===m||m.call(l);try{!function CI(e,t){const r=f();try{p(!0),X0(e,t);let i=0;for(;Bc(e);){if(i===EI)throw new Jn(103,!1);i++,X0(e,1)}}finally{p(r)}}(e,r)}catch(Z){throw t&&Im(e,Z),Z}finally{var C,M;null===(C=l.end)||void 0===C||C.call(l),null===(M=i.inlineEffectRunner)||void 0===M||M.flush()}}function bI(e,t,r,i){var l;const d=t[si];if(!(256&~d))return;null===(l=t[fs].inlineEffectRunner)||void 0===l||l.flush(),gt(t);let M=!0,Z=null,me=null;GE(e)?(me=function pI(e){var t;return null!==(t=e[Oa])&&void 0!==t?t:function gI(e){var t;const r=null!==(t=zE.pop())&&void 0!==t?t:Object.create(vI);return r.lView=e,r}(e)}(t),Z=Ie(me)):null===function B(){return s}()?(M=!1,me=function yI(e){var t;const r=null!==(t=e[Oa])&&void 0!==t?t:Object.create(_I);return r.lView=e,r}(t),Z=Ie(me)):t[Oa]&&(Me(t[Oa]),t[Oa]=null);try{Ef(t),function Y(e){return Ci.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==r&&PE(e,t,r,2,i);const Oe=!(3&~d);if(Oe){const bt=e.preOrderCheckHooks;null!==bt&&Mr(t,bt,null)}else{const bt=e.preOrderHooks;null!==bt&&gi(t,bt,0,null),Gr(t,0)}if(function DI(e){for(let t=zg(e);null!==t;t=Gg(t)){if(!(t[si]&Nc.HasTransplantedViews))continue;const r=t[Ha];for(let i=0;i<r.length;i++)_d(r[i])}}(t),XE(t,0),null!==e.contentQueries&&BE(e,t),Oe){const bt=e.contentCheckHooks;null!==bt&&Mr(t,bt)}else{const bt=e.contentHooks;null!==bt&&gi(t,bt,1),Gr(t,1)}!function VT(e,t){const r=e.hostBindingOpCodes;if(null!==r)try{for(let i=0;i<r.length;i++){const l=r[i];if(l<0)Gn(~l);else{const d=l,m=r[++i],C=r[++i];De(m,d),C(2,t[d])}}}finally{Gn(-1)}}(e,t);const mt=e.components;null!==mt&&QE(t,mt,0);const Dt=e.viewQuery;if(null!==Dt&&W0(2,Dt,i),Oe){const bt=e.viewCheckHooks;null!==bt&&Mr(t,bt)}else{const bt=e.viewHooks;null!==bt&&gi(t,bt,2),Gr(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Va]){for(const bt of t[Va])bt();t[Va]=null}t[si]&=-73}catch(Oe){throw ku(t),Oe}finally{null!==me&&(ge(me,Z),M&&function mI(e){e.lView[Oa]!==e&&(e.lView=null,zE.push(e))}(me)),gn()}}function XE(e,t){for(let r=zg(e);null!==r;r=Gg(r))for(let i=Jo;i<r.length;i++)YE(r[i],t)}function SI(e,t,r){YE(xa(t,e),r)}function YE(e,t){$u(e)&&X0(e,t)}function X0(e,t){const i=e[vr],l=e[si],d=e[Oa];let m=!!(0===t&&16&l);if(m||(m=!!(64&l&&0===t)),m||(m=!!(1024&l)),m||(m=!(null==d||!d.dirty||!he(d))),m||(m=!1),d&&(d.dirty=!1),e[si]&=-9217,m)bI(i,e,i.template,e[zo]);else if(8192&l){XE(e,1);const C=i.components;null!==C&&QE(e,C,1)}}function QE(e,t,r){for(let i=0;i<t.length;i++)SI(e,t[i],r)}function Rp(e,t){var r;const i=f()?64:1088;for(null===(r=e[fs].changeDetectionScheduler)||void 0===r||r.notify(t);e;){e[si]|=i;const l=qo(e);if(hc(e)&&!l)return e;e=l}return null}class Np{get rootNodes(){const t=this._lView,r=t[vr];return xp(r,t,r.firstChild,[])}constructor(t,r,i=!0){this._lView=t,this._cdRefInjectingView=r,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[zo]}set context(t){this._lView[zo]=t}get destroyed(){return!(256&~this._lView[si])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[ni];if(Js(t)){const r=t[8],i=r?r.indexOf(this):-1;i>-1&&(Ap(t,i),Si(r,i))}this._attachedToViewContainer=!1}Cm(this._lView[vr],this._lView)}onDestroy(t){Fu(this._lView,t)}markForCheck(){Rp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[si]&=-129}reattach(){Ed(this._lView),this._lView[si]|=128}detectChanges(){this._lView[si]|=1024,Mm(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Jn(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=hc(this._lView),r=this._lView[Ts];null!==r&&!t&&O0(r,this._lView),hE(this._lView[vr],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Jn(902,!1);this._appRef=t;const r=hc(this._lView),i=this._lView[Ts];null!==i&&!r&&pE(i,this._lView),Ed(this._lView)}}let Lp=(()=>{class t{}return t.__NG_ELEMENT_ID__=II,t})();const wI=Lp,TI=class extends wI{constructor(t,r,i){super(),this._declarationLView=t,this._declarationTContainer=r,this.elementRef=i}get ssrId(){var t;return(null===(t=this._declarationTContainer.tView)||void 0===t?void 0:t.ssrId)||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,i){const l=ih(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:i});return new Np(l)}};function II(){return Am(Ro(),Sn())}function Am(e,t){return 4&e.type?new TI(t,e,Ec(e,t)):null}let vC=()=>null;function zd(e,t){return vC(e,t)}class ah{}const Hp=new ci("",{providedIn:"root",factory:()=>!1}),yC=new ci("");class _M{}class _C{}
1class CM{resolveComponentFactory(t){throw function EM(e){const t=Error(`No component factory found for ${wo(e)}.`);return t.ngComponent=e,t}(t)}}class lh{}lh.NULL=new CM;class oy{}let bM=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function DM(){const e=Sn(),r=xa(Ro().index,e);return(Ns(r)?r:e)[Ti]}(),t})(),SM=(()=>{var e;class t{}return(e=t).\u0275prov=Li({token:e,providedIn:"root",factory:()=>null}),t})();const CC=new Set;function pl(e){var t,r;CC.has(e)||(CC.add(e),null===(t=performance)||void 0===t||null===(r=t.mark)||void 0===r||r.call(t,"mark_feature_usage",{detail:{feature:e}}))}var gl=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(gl||{});const bC={destroy(){}};function DC(e,t){var r,i;!t&&function iu(e){if(!cf())throw new Jn(-203,!1)}();const l=null!==(r=null==t?void 0:t.injector)&&void 0!==r?r:v(ea);return function Al(e){return"browser"===(null!=e?e:v(ea)).get(gp)}(l)?(pl("NgAfterNextRender"),function SC(e,t,r,i){var l;const d=function TM(e,t){if(e instanceof Function)switch(t){case gl.EarlyRead:return{earlyRead:e};case gl.Write:return{write:e};case gl.MixedReadWrite:return{mixedReadWrite:e};case gl.Read:return{read:e}}return e}(e,i),m=t.get(Lm),C=null!==(l=m.handler)&&void 0!==l?l:m.handler=new MM,M=[],Z=[],me=()=>{for(const bt of Z)C.unregister(bt);Oe()},Oe=t.get(jc).onDestroy(me);let mt=0;const Dt=(bt,un)=>{if(!un)return;const Vn=r?(...En)=>(mt--,mt<1&&me(),un(...En)):un,sr=lf(t,()=>new IM(bt,M,Vn));C.register(sr),Z.push(sr),mt++};return Dt(gl.EarlyRead,d.earlyRead),Dt(gl.Write,d.write),Dt(gl.MixedReadWrite,d.mixedReadWrite),Dt(gl.Read,d.read),{destroy:me}}(e,l,!0,null!==(i=null==t?void 0:t.phase)&&void 0!==i?i:gl.MixedReadWrite)):bC}class IM{constructor(t,r,i){var l;this.phase=t,this.pipelinedArgs=r,this.callbackFn=i,this.zone=v(ts),this.errorHandler=v(ic,{optional:!0}),null===(l=v(ah,{optional:!0}))||void 0===l||l.notify(6)}invoke(){try{const r=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,r)}catch(r){var t;null===(t=this.errorHandler)||void 0===t||t.handleError(r)}}}class MM{constructor(){this.executingCallbacks=!1,this.buckets={[gl.EarlyRead]:new Set,[gl.Write]:new Set,[gl.MixedReadWrite]:new Set,[gl.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const r of t)r.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Lm=(()=>{var e;class t{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(e=t).\u0275prov=Li({token:e,providedIn:"root",factory:()=>new e}),t})();function Qu(e){return!!_s(e)}function km(e,t,r){let i=r?e.styles:null,l=r?e.classes:null,d=0;if(null!==t)for(let m=0;m<t.length;m++){const C=t[m];"number"==typeof C?d=C:1==d?l=Da(l,C):2==d&&(i=Da(i,C+": "+t[++m]+";"))}r?e.styles=i:e.stylesWithoutHost=i,r?e.classes=l:e.classesWithoutHost=l}class IC extends lh{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const r=Xr(t);return new Gp(r,this.ngModule)}}function MC(e,t){const r=[];for(const i in e){if(!e.hasOwnProperty(i))continue;const l=e[i];if(void 0===l)continue;const d=Array.isArray(l),m=d?l[0]:l;r.push(t?{propName:m,templateName:i,isSignal:!!((d?l[1]:Fa.None)&Fa.SignalBased)}:{propName:m,templateName:i})}return r}class Gp extends _C{get inputs(){const t=this.componentDef,r=t.inputTransforms,i=MC(t.inputs,!0);if(null!==r)for(const l of i)r.hasOwnProperty(l.propName)&&(l.transform=r[l.propName]);return i}get outputs(){return MC(this.componentDef.outputs,!1)}constructor(t,r){super(),this.componentDef=t,this.ngModule=r,this.componentType=t.type,this.selector=function Qt(e){return e.map(Ye).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!r}create(t,r,i,l){const d=F(null);try{var C;let M=(l=l||this.ngModule)instanceof Ua?l:null===(C=l)||void 0===C?void 0:C.injector;M&&null!==this.componentDef.getStandaloneInjector&&(M=this.componentDef.getStandaloneInjector(M)||M);const Z=M?new Ml(t,M):t,me=Z.get(oy,null);if(null===me)throw new Jn(407,!1);const Oe=Z.get(SM,null),bt={rendererFactory:me,sanitizer:Oe,inline
1EffectRunner:null,afterRenderEventManager:Z.get(Lm,null),changeDetectionScheduler:Z.get(ah,null)},un=me.createRenderer(null,this.componentDef),Vn=this.componentDef.selectors[0][0]||"div",sr=i?function HT(e,t,r,i){const d=i.get(Qf,!1)||r===Ss.ShadowDom,m=e.selectRootElement(t,d);return function WT(e){RE(e)}(m),m}(un,i,this.componentDef.encapsulation,Z):Em(un,Vn,function PM(e){const t=e.toLowerCase();return"svg"===t?Nu:"math"===t?"math":null}(Vn));let En=512;this.componentDef.signals?En|=4096:this.componentDef.onPush||(En|=16);let Di=null;null!==sr&&(Di=Ep(sr,Z,!0));const qi=U0(0,null,null,1,0,null,null,null,null,null,null),No=wm(null,qi,null,En,null,null,bt,un,Z,null,Di);let La,el;gt(No);try{const Mc=this.componentDef;let Jd,$_=null;Mc.findHostDirectiveDefs?(Jd=[],$_=new Map,Mc.findHostDirectiveDefs(Mc,Jd,$_),Jd.push(Mc)):Jd=[Mc];const OR=function RM(e,t){const r=e[vr],i=zr;return e[i]=t,jd(r,i,2,"#host",null)}(No,sr),PR=function NM(e,t,r,i,l,d,m){const C=l[vr];!function LM(e,t,r,i){for(const l of e)t.mergedAttrs=la(t.mergedAttrs,l.hostAttrs);null!==t.mergedAttrs&&(km(t,t.mergedAttrs,!0),null!==r&&TE(i,r,t))}(i,e,t,m);let M=null;null!==t&&(M=Ep(t,l[Cs]));const Z=d.rendererFactory.createRenderer(t,r);let me=16;r.signals?me=4096:r.onPush&&(me=64);const Oe=wm(l,xE(r),null,me,l[e.index],e,d,Z,null,null,M);return C.firstCreatePass&&j0(C,e,i.length-1),Tm(l,Oe),l[e.index]=Oe}(OR,sr,Mc,Jd,No,bt,un);el=mc(qi,zr),sr&&function kM(e,t,r,i){if(i)Ac(e,r,["ng-version","18.1.3"]);else{const{attrs:l,classes:d}=function Pn(e){const t=[],r=[];let i=1,l=2;for(;i<e.length;){let d=e[i];if("string"==typeof d)2===l?""!==d&&t.push(d,e[++i]):8===l&&r.push(d);else{if(!Ba(l))break;l=d}i++}return{attrs:t,classes:r}}(t.selectors[0]);l&&Ac(e,r,l),d&&d.length>0&&wE(e,r,d.join(" "))}}(un,Mc,sr,i),void 0!==r&&function FM(e,t,r){const i=e.projection=[];for(let l=0;l<t.length;l++){const d=r[l];i.push(null!=d?Array.from(d):null)}}(el,this.ngContentSelectors,r),La=function $M(e,t,r,i,l,d){const m=Ro(),C=l[vr],M=jr(m,l);$E(C,l,m,r,null,i);for(let me=0;me<r.length;me++)ss(mu(l,C,m.directiveStart+me,m),l);kE(C,l,m),M&&ss(M,l);const Z=mu(l,C,m.directiveStart+m.componentOffset,m);if(e[zo]=l[zo]=Z,null!==d)for(const me of d)me(Z,t);return k0(C,m,l),Z}(PR,Mc,Jd,$_,No,[BM]),G0(qi,No,null)}finally{gn()}return new xM(this.componentType,La,Ec(el,No),No,el)}finally{F(d)}}}class xM extends _M{constructor(t,r,i,l,d){super(),this.location=i,this._rootLView=l,this._tNode=d,this.previousInputValues=null,this.instance=r,this.hostView=this.changeDetectorRef=new Np(l,void 0,!1),this.componentType=t}setInput(t,r){const i=this._tNode.inputs;let l;if(null!==i&&(l=i[t])){var d;if(null!==(d=this.previousInputValues)&&void 0!==d||(this.previousInputValues=new Map),this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),r))return;const m=this._rootLView;z0(m[vr],m,l,t,r),this.previousInputValues.set(t,r),Rp(xa(this._tNode.index,m),1)}}get injector(){return new Hs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function BM(){const e=Ro();yr(Sn()[vr],e)}let Fm=(()=>{class t{}return t.__NG_ELEMENT_ID__=UM,t})();function UM(){return PC(Ro(),Sn())}const VM=Fm,AC=class extends VM{constructor(t,r,i){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=i}get element(){return Ec(this._hostTNode,this._hostLView)}get injector(){return new Hs(this._hostTNode,this._hostLView)}get parentInjector(){const t=Lf(this._hostTNode,this._hostLView);if(hu(t)){const r=Vc(t,this._hostLView),i=_c(t);return new Hs(r[vr].data[i+8],r)}return new Hs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const r=OC(this._lContainer);return null!==r&&r[t]||null}get length(){return this._lContainer.length-Jo}createEmbeddedView(t,r,i){let l,d;"number"==typeof i?l=i:null!=i&&(l=i.index,d=i.injector);const m=zd(this._lContainer,t.ssrId),C=t.createEmbeddedViewImpl(r||{},d,m);return this.insertImpl(C,l,Hd(this._hostTNode,m)),C}createComponent(t,r,i,l,d){var m,C,M;const Z=t&&!function Sl(e){return"function"==typeof e}(t);let me;if(Z)me=r;else{const sr=r||{};me=sr.index,i=sr.injector,l=sr.projectableNodes,d=sr.environmentInjector||sr.ngModuleRef}const Oe=Z?t:new Gp(Xr(t)),mt=i||this.parentInjector;if(!d&&null==Oe.ngModule){const En=(Z?mt:this.parentInjector).get(Ua,null);En&&(d=En)}const Dt=Xr(null!==(m=Oe.componentType)&&void 0!==m?m:{}),bt=zd(this._lContainer,null!==(C=null==Dt?void 0:Dt.id)&&void 0!==C?C:null),un=null!==(M=null==bt?void 0:bt.firstChild)&&void 0!==M?M:null,Vn=Oe.create(mt,l,un,d);return this.insertImpl(Vn.hostView,me,Hd(this._hostTNode,bt)),Vn}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,i){const l=t._lView;if(function qs(e){return Js(e[ni])}(l)){const C=this.indexOf(t);if(-1!==C)this.detach(C);else{const M=l[ni],Z=new AC(M,M[js],M[ni]);Z.detach(Z.indexOf(t))}}const d=this._adjustIndex(r),m=this._lContainer;return oh(m,l,d,i),t.attachToViewContainerRef(),Dr(cy(m),d,t),t}move(t,r){return this.insert(t,r)}indexOf(t){const r=OC(this._lContainer);return null!==r?r.indexOf(t):-1}remove(t){const r=this._adjustIndex(t,-1),i=Ap(this._lContainer,r);i&&(Si(cy(this._lContainer),r),Cm(i[vr],i))}detach(t){const r=this._adjustIndex(t,-1),i=Ap(this._lContainer,r);return i&&null!=Si(cy(this._lContainer),r)?new Np(i):null}_adjustIndex(t,r=0){return null==t?this.length+r:t}};function OC(e){return e[8]}function cy(e){return e[8]||(e[8]=[])}function PC(e,t){let r;const i=t[e.index];return Js(i)?r=i:(r=FE(i,t,null,e),t[e.index]=r,Tm(t,r)),xC(r,t,e,i),new AC(r,e,t)}let xC=function NC(e,t,r,i){if(e[Tl])return;let l;l=8&r.type?mo(i):function jM(e,t){const r=e[Ti],i=r.createComment(""),l=jr(t,e);return Ud(r,bm(r,l),i,function $T(e,t){return e.nextSibling(t)}(r,l),!1),i}(t,r),e[Tl]=l},uy=()=>!1;class dy{constructor(t){this.queryList=t,this.matches=null}clone(){return new dy(this.queryList)}setDirty(){this.queryList.setDirty()}}class fy{constructor(t=[]){this.queries=t}createEmbeddedView(t){const r=t.queries;if(null!==r){const i=null!==t.contentQueries?t.contentQueries[0]:r.length,l=[];for(let d=0;d<i;d++){const m=r.getByIndex(d);l.push(this.queries[m.indexInDeclarationView].clone())}return new fy(l)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let r=0;r<this.queries.length;r++)null!==vy(t,r).matches&&this.queries[r].setDirty()}}class LC{constructor(t,r,i=null){this.flags=r,this.read=i,this.predicate="string"==typeof t?function QM(e){return e.split(",").map(t=>t.trim())}(t):t}}class hy{constructor(t=[]){this.queries=t}elementStart(t,r){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,r)}elementEnd(t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(t)}embeddedTView(t){let r=null;for(let i=0;i<this.length;i++){const l=null!==r?r.length:0,d=this.getByIndex(i).embeddedTView(t,l);d&&(d.indexInDeclarationView=i,null!==r?r.push(d):r=[d])}return null!==r?new hy(r):null}template(t,r){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,r)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class py{constructor(t,r=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=r}elementStart(t,r){this.isApplyingToNode(r)&&this.matchTNode(t,r)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,r){this.elementStart(t,r)}embeddedTView(t,r){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,r),new py(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const r=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==r;)i=i.parent;return r===(null!==i?i.index:-1)}return this._appliesToNextNode}
1matchTNode(t,r){const i=this.metadata.predicate;if(Array.isArray(i))for(let l=0;l<i.length;l++){const d=i[l];this.matchTNodeWithReadOption(t,r,GM(r,d)),this.matchTNodeWithReadOption(t,r,$f(r,t,d,!1,!1))}else i===Lp?4&r.type&&this.matchTNodeWithReadOption(t,r,-1):this.matchTNodeWithReadOption(t,r,$f(r,t,i,!1,!1))}matchTNodeWithReadOption(t,r,i){if(null!==i){const l=this.metadata.read;if(null!==l)if(l===Yo||l===Fm||l===Lp&&4&r.type)this.addMatch(r.index,-2);else{const d=$f(r,t,l,!1,!1);null!==d&&this.addMatch(r.index,d)}else this.addMatch(r.index,i)}}addMatch(t,r){null===this.matches?this.matches=[t,r]:this.matches.push(t,r)}}function GM(e,t){const r=e.localNames;if(null!==r)for(let i=0;i<r.length;i+=2)if(r[i]===t)return r[i+1];return null}function XM(e,t,r,i){return-1===r?function KM(e,t){return 11&e.type?Ec(e,t):4&e.type?Am(e,t):null}(t,e):-2===r?function YM(e,t,r){return r===Yo?Ec(t,e):r===Lp?Am(t,e):r===Fm?PC(t,e):void 0}(e,t,i):mu(e,e[vr],r,t)}function $C(e,t,r,i){const l=t[Zs].queries[i];if(null===l.matches){const d=e.data,m=r.matches,C=[];for(let M=0;null!==m&&M<m.length;M+=2){const Z=m[M];C.push(Z<0?null:XM(t,d[Z],m[M+1],r.metadata.read))}l.matches=C}return l.matches}function gy(e,t,r,i){const l=e.queries.getByIndex(r),d=l.matches;if(null!==d){const m=$C(e,t,l,r);for(let C=0;C<d.length;C+=2){const M=d[C];if(M>0)i.push(m[C/2]);else{const Z=d[C+1],me=t[-M];for(let Oe=Jo;Oe<me.length;Oe++){const mt=me[Oe];mt[Ts]===mt[ni]&&gy(mt[vr],mt,Z,i)}if(null!==me[Ha]){const Oe=me[Ha];for(let mt=0;mt<Oe.length;mt++){const Dt=Oe[mt];gy(Dt[vr],Dt,Z,i)}}}}}return i}function kC(e,t,r){var i;const l=new cp(!(4&~r));return function KT(e,t,r,i){const l=UE(t);l.push(r),e.firstCreatePass&&VE(e).push(i,l.length-1)}(e,t,l,l.destroy),(null!==(i=t[Zs])&&void 0!==i?i:t[Zs]=new fy).queries.push(new dy(l))-1}function UC(e,t,r){null===e.queries&&(e.queries=new hy),e.queries.track(new py(t,r))}function vy(e,t){return e.queries.getByIndex(t)}function VC(e,t){const r=e[vr],i=vy(r,t);return i.crossesNgTemplate?gy(r,e,t,[]):$C(r,e,i,t)}function HC(e,t){pl("NgSignals");const r=function $(e){const t=Object.create(jt);t.value=e;const r=()=>(U(t),t.value);return r[x]=t,r}(e),i=r[x];return null!=t&&t.equal&&(i.equal=t.equal),r.set=l=>at(i,l),r.update=l=>function pt(e,t){we()||fe(),at(e,t(e.value))}(i,l),r.asReadonly=WC.bind(r),r}function WC(){const e=this[x];if(void 0===e.readonlyFn){const t=()=>this();t[x]=e,e.readonlyFn=t}return e.readonlyFn}function zC(e){return function jC(e){return"function"==typeof e&&void 0!==e[x]}(e)&&"function"==typeof e.set}function _y(e){let t=function nb(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),r=!0;const i=[e];for(;t;){let l;if(ll(e))l=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Jn(903,!1);l=t.\u0275dir}if(l){if(r){i.push(l);const m=e;
1m.inputs=Um(e.inputs),m.inputTransforms=Um(e.inputTransforms),m.declaredInputs=Um(e.declaredInputs),m.outputs=Um(e.outputs);const C=l.hostBindings;C&&dA(e,C);const M=l.viewQuery,Z=l.contentQueries;if(M&&cA(e,M),Z&&uA(e,Z),aA(e,l),vs(e.outputs,l.outputs),ll(l)&&l.data.animation){const me=e.data;me.animation=(me.animation||[]).concat(l.data.animation)}}const d=l.features;if(d)for(let m=0;m<d.length;m++){const C=d[m];C&&C.ngInherit&&C(e),C===_y&&(r=!1)}}t=Object.getPrototypeOf(t)}!function lA(e){let t=0,r=null;for(let i=e.length-1;i>=0;i--){const l=e[i];l.hostVars=t+=l.hostVars,l.hostAttrs=la(l.hostAttrs,r=la(r,l.hostAttrs))}}(i)}function aA(e,t){for(const i in t.inputs){if(!t.inputs.hasOwnProperty(i)||e.inputs.hasOwnProperty(i))continue;const l=t.inputs[i];if(void 0!==l&&(e.inputs[i]=l,e.declaredInputs[i]=t.declaredInputs[i],null!==t.inputTransforms)){var r;const d=Array.isArray(l)?l[0]:l;if(!t.inputTransforms.hasOwnProperty(d))continue;null!==(r=e.inputTransforms)&&void 0!==r||(e.inputTransforms={}),e.inputTransforms[d]=t.inputTransforms[d]}}}function Um(e){return e===po?{}:e===Oi?[]:e}function cA(e,t){const r=e.viewQuery;e.viewQuery=r?(i,l)=>{t(i,l),r(i,l)}:t}function uA(e,t){const r=e.contentQueries;e.contentQueries=r?(i,l,d)=>{t(i,l,d),r(i,l,d)}:t}function dA(e,t){const r=e.hostBindings;e.hostBindings=r?(i,l)=>{t(i,l),r(i,l)}:t}function sb(e){const t=e.inputConfig,r={};for(const i in t)if(t.hasOwnProperty(i)){const l=t[i];Array.isArray(l)&&l[3]&&(r[i]=l[3])}e.inputTransforms=r}class Gd{}class ab{}function vA(e,t){return new Ey(e,null!=t?t:null,[])}class Ey extends Gd{constructor(t,r,i){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new IC(this);const l=_s(t);this._bootstrapComponents=Vl(l.bootstrap),this._r3Injector=rp(t,r,[{provide:Gd,useValue:this},{provide:lh,useValue:this.componentFactoryResolver},...i],wo(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Cy extends ab{constructor(t){super(),this.moduleType=t}create(t){return new Ey(this.moduleType,t,[])}}class lb extends Gd{constructor(t){super(),this.componentFactoryResolver=new IC(this),this.instance=null;const r=new Dl([...t.providers,{provide:Gd,useValue:this},{provide:lh,useValue:this.componentFactoryResolver}],t.parent||Pc(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function by(e,t,r=null){return new lb({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}function Vm(e){return!!Dy(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Dy(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Yc(e,t,r){return e[t]=r}function Xp(e,t){return e[t]}function Ws(e,t,r){return!Object.is(e[t],r)&&(e[t]=r,!0)}function Kd(e,t,r,i){const l=Ws(e,t,r);return Ws(e,t+1,i)||l}function jm(e,t,r,i,l){const d=Kd(e,t,r,i);return Ws(e,t+2,l)||d}function oc(e,t,r,i,l,d){const m=Kd(e,t,r,i);return Kd(e,t+2,l,d)||m}function Yp(e,t,r,i,l,d,m,C,M,Z){const me=r+zr,Oe=t.firstCreatePass?function DA(e,t,r,i,l,d,m,C,M){const Z=t.consts,me=jd(t,e,4,m||null,C||null);V0(t,r,me,za(Z,M)),yr(t,me);const Oe=me.tView=U0(2,me,i,l,d,t.directiveRegistry,t.pipeRegistry,null,t.schemas,Z,null);return null!==t.queries&&(t.queries.template(t,me),Oe.queries=t.queries.embeddedTView(me)),me}(me,t,e,i,l,d,m,C,M):t.data[me];Ka(Oe,!1);const mt=cb(t,e,Oe,r);Kn()&&Dm(t,e,mt,Oe),ss(mt,e);const Dt=FE(mt,e,mt,Oe);return e[me]=Dt,Tm(e,Dt),function RC(e,t,r){return uy(e,t,r)}(Dt,Oe,e),xu(Oe)&&F0(t,e,Oe),null!=M&&B0(e,Oe,Z),Oe}function Sy(e,t,r,i,l,d,m,C){const M=Sn(),Z=Xi();return Yp(M,Z,e,t,r,i,l,za(Z.consts,d),m,C),Sy}let cb=function ub(e,t,r,i){return xr(!0),t[Ti].createComment("")};function Ly(e,t,r,i){const l=Sn();return Ws(l,Q(),t)&&(Xi(),Xc(rn(),l,e,t,r,i)),Ly}function yh(e,t,r,i){return Ws(e,Q(),r)?t+pi(r)+i:Yi}function _h(e,t,r,i,l,d){const C=Kd(e,I(),r,l);return X(2),C?t+pi(r)+i+pi(l)+d:Yi}function Eh(e,t,r,i,l,d,m,C){const Z=jm(e,I(),r,l,m);return X(3),Z?t+pi(r)+i+pi(l)+d+pi(m)+C:Yi}function $y(e,t,r,i,l,d){const m=Sn(),C=yh(m,t,r,i);return C!==Yi&&Xc(rn(),m,e,C,l,d),$y}function Xm(e,t){return e<<17|t<<2}function qu(e){return e>>17&32767}function ky(e){return 2|e}function Yd(e){return(131068&e)>>2}function Fy(e,t){return-131069&e|t<<2}function By(e){return 1|e}
1function Ub(e,t,r,i){const l=e[r+1],d=null===t;let m=i?qu(l):Yd(l),C=!1;for(;0!==m&&(!1===C||d);){const Z=e[m+1];l1(e[m],t)&&(C=!0,e[m+1]=i?By(Z):ky(Z)),m=i?qu(Z):Yd(Z)}C&&(e[r+1]=i?ky(l):By(l))}function l1(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&qr(e,t)>=0}const ua={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Vb(e){return e.substring(ua.key,ua.keyEnd)}function jb(e,t){const r=ua.textEnd;return r===t?-1:(t=ua.keyEnd=function f1(e,t,r){for(;t<r&&e.charCodeAt(t)>32;)t++;return t}(e,ua.key=t,r),Th(e,t,r))}function Th(e,t,r){for(;t<r&&e.charCodeAt(t)<=32;)t++;return t}function Uy(e,t,r){const i=Sn();return Ws(i,Q(),t)&&Ol(Xi(),rn(),i,e,t,i[Ti],r,!1),Uy}function Vy(e,t,r,i,l){const m=l?"class":"style";z0(e,r,t.inputs[m],m,i)}function jy(e,t,r){return wc(e,t,r,!1),jy}function Hy(e,t){return wc(e,t,null,!0),Hy}function Kb(e){Tc(C1,Zc,e,!0)}function Zc(e,t){for(let r=function u1(e){return function Wb(e){ua.key=0,ua.keyEnd=0,ua.value=0,ua.valueEnd=0,ua.textEnd=e.length}(e),jb(e,Th(e,0,ua.textEnd))}(t);r>=0;r=jb(t,r))Pr(e,Vb(t),!0)}function wc(e,t,r,i){const l=Sn(),d=Xi(),m=X(2);d.firstUpdatePass&&Yb(d,e,m,i),t!==Yi&&Ws(l,m,t)&&Zb(d,d.data[an()],l,l[Ti],e,l[m+1]=function D1(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=wo(Dc(e)))),e}(t,r),i,m)}function Tc(e,t,r,i){const l=Xi(),d=X(2);l.firstUpdatePass&&Yb(l,null,d,i);const m=Sn();if(r!==Yi&&Ws(m,d,r)){const C=l.data[an()];if(qb(C,i)&&!Xb(l,d)){let M=i?C.classesWithoutHost:C.stylesWithoutHost;null!==M&&(r=Da(M,r||"")),Vy(l,C,m,r,i)}else!function b1(e,t,r,i,l,d,m,C){l===Yi&&(l=Oi);let M=0,Z=0,me=0<l.length?l[0]:null,Oe=0<d.length?d[0]:null;for(;null!==me||null!==Oe;){const mt=M<l.length?l[M+1]:void 0,Dt=Z<d.length?d[Z+1]:void 0;let un,bt=null;me===Oe?(M+=2,Z+=2,mt!==Dt&&(bt=Oe,un=Dt)):null===Oe||null!==me&&me<Oe?(M+=2,bt=me):(Z+=2,bt=Oe,un=Dt),null!==bt&&Zb(e,t,r,i,bt,un,m,C),me=M<l.length?l[M]:null,Oe=Z<d.length?d[Z]:null}}(l,C,m,m[Ti],m[d+1],m[d+1]=function E1(e,t,r){if(null==r||""===r)return Oi;const i=[],l=Dc(r);if(Array.isArray(l))for(let d=0;d<l.length;d++)e(i,l[d],!0);else if("object"==typeof l)for(const d in l)l.hasOwnProperty(d)&&e(i,d,l[d]);else"string"==typeof l&&t(i,l);return i}(e,t,r),i,d)}}function Xb(e,t){return t>=e.expandoStartIndex}function Yb(e,t,r,i){const l=e.data;if(null===l[r+1]){const d=l[an()],m=Xb(e,r);qb(d,i)&&null===t&&!m&&(t=!1),t=function m1(e,t,r,i){const l=function tt(e){const t=Ci.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let d=i?t.residualClasses:t.residualStyles;if(null===l)0===(i?t.classBindings:t.styleBindings)&&(r=qp(r=Wy(null,e,t,r,i),t.attrs,i),d=null);else{const m=t.directiveStylingLast;if(-1===m||e[m]!==l)if(r=Wy(l,e,t,r,i),null===d){let M=function v1(e,t,r){const i=r?t.classBindings:t.styleBindings;if(0!==Yd(i))return e[qu(i)]}(e,t,i);void 0!==M&&Array.isArray(M)&&(M=Wy(null,e,t,M[1],i),M=qp(M,t.attrs,i),function y1(e,t,r,i){e[qu(r?t.classBindings:t.styleBindings)]=i}(e,t,i,M))}else d=function _1(e,t,r){let i;const l=t.directiveEnd;for(let d=1+t.directiveStylingLast;d<l;d++)i=qp(i,e[d].hostAttrs,r);return qp(i,t.attrs,r)}(e,t,i)}return void 0!==d&&(i?t.residualClasses=d:t.residualStyles=d),r}(l,d,t,i),function s1(e,t,r,i,l,d){let m=d?t.classBindings:t.styleBindings,C=qu(m),M=Yd(m);e[i]=r;let me,Z=!1;if(Array.isArray(r)?(me=r[1],(null===me||qr(r,me)>0)&&(Z=!0)):me=r,l)if(0!==M){const mt=qu(e[C+1]);e[i+1]=Xm(mt,C),0!==mt&&(e[mt+1]=Fy(e[mt+1],i)),e[C+1]=function i1(e,t){return 131071&e|t<<17}(e[C+1],i)}else e[i+1]=Xm(C,0),0!==C&&(e[C+1]=Fy(e[C+1],i)),C=i;else e[i+1]=Xm(M,0),0===C?C=i:e[M+1]=Fy(e[M+1],i),M=i;Z&&(e[i+1]=ky(e[i+1])),Ub(e,me,i,!0),Ub(e,me,i,!1),function a1(e,t,r,i,l){const d=l?e.residualClasses:e.residualStyles;null!=d&&"string"==typeof t&&qr(d,t)>=0&&(r[i+1]=By(r[i+1]))}(t,me,e,i,d),m=Xm(C,M),d?t.classBindings=m:t.styleBindings=m}(l,d,t,r,m,i)}}function Wy(e,t,r,i,l){let d=null;const m=r.directiveEnd;let C=r.directiveStylingLast;for(-1===C?C=r.directiveStart:C++;C<m&&(d=t[C],i=qp(i,d.hostAttrs,l),d!==e);)C++;return null!==e&&(r.directiveStylingLast=C),i}function qp(e,t,r){const i=r?1:2;let l=-1;if(null!==t)for(let d=0;d<t.length;d++){const m=t[d];"number"==typeof m?l=m:l===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Pr(e,m,!!r||t[++d]))}return void 0===e?null:e}function C1(e,t,r){const i=String(t);""!==i&&!i.includes(" ")&&Pr(e,i,r)}
1function Zb(e,t,r,i,l,d,m,C){if(!(3&t.type))return;const M=e.data,Z=M[C+1],me=function o1(e){return!(1&~e)}(Z)?Jb(M,t,r,l,Yd(Z),m):void 0;Ym(me)||(Ym(d)||function r1(e){return!(2&~e)}(Z)&&(d=Jb(M,null,r,l,C,m)),function BT(e,t,r,i,l){if(t)l?e.addClass(r,i):e.removeClass(r,i);else{let d=-1===i.indexOf("-")?void 0:_m.DashCase;null==l?e.removeStyle(r,i,d):("string"==typeof l&&l.endsWith("!important")&&(l=l.slice(0,-10),d|=_m.Important),e.setStyle(r,i,l,d))}}(i,m,Il(an(),r),l,d))}function Jb(e,t,r,i,l,d){const m=null===t;let C;for(;l>0;){const M=e[l],Z=Array.isArray(M),me=Z?M[1]:M,Oe=null===me;let mt=r[l+1];mt===Yi&&(mt=Oe?Oi:void 0);let Dt=Oe?$i(mt,i):me===i?mt:void 0;if(Z&&!Ym(Dt)&&(Dt=$i(M,i)),Ym(Dt)&&(C=Dt,m))return C;const bt=e[l+1];l=m?qu(bt):Yd(bt)}if(null!==t){let M=d?t.residualClasses:t.residualStyles;null!=M&&(C=$i(M,i))}return C}function Ym(e){return void 0!==e}function qb(e,t){return!!(e.flags&(t?8:16))}function eD(e,t,r){Tc(Pr,Zc,yh(Sn(),e,t,r),!0)}function tD(e,t,r,i,l){Tc(Pr,Zc,_h(Sn(),e,t,r,i,l),!0)}function nD(e,t,r,i,l,d,m){Tc(Pr,Zc,Eh(Sn(),e,t,r,i,l,d,m),!0)}class P1{destroy(t){}updateValue(t,r){}swap(t,r){const i=Math.min(t,r),l=Math.max(t,r),d=this.detach(l);if(l-i>1){const m=this.detach(i);this.attach(i,d),this.attach(l,m)}else this.attach(i,d)}move(t,r){this.attach(r,this.detach(t))}}function zy(e,t,r,i,l){return e===r&&Object.is(t,i)?1:Object.is(l(e,t),l(r,i))?-1:0}function Gy(e,t,r,i){return!(void 0===t||!t.has(i)||(e.attach(r,t.get(i)),t.delete(i),0))}function rD(e,t,r,i,l){if(Gy(e,t,i,r(i,l)))e.updateValue(i,l);else{const d=e.create(i,l);e.attach(i,d)}}function iD(e,t,r,i){const l=new Set;for(let d=t;d<=r;d++)l.add(i(d,e.at(d)));return l}class oD{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const r=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(r)?(this.kvMap.set(t,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,r){if(this.kvMap.has(t)){let i=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const l=this._vMap;for(;l.has(i);)i=l.get(i);l.set(i,r)}else this.kvMap.set(t,r)}forEach(t){for(let[r,i]of this.kvMap)if(t(i,r),void 0!==this._vMap){const l=this._vMap;for(;l.has(i);)i=l.get(i),t(i,r)}}}class N1{constructor(t,r,i){this.lContainer=t,this.$implicit=r,this.$index=i}get $count(){return this.lContainer.length-Jo}}function sD(e,t){return t}class $1{constructor(t,r,i){this.hasEmptyBlock=t,this.trackByFn=r,this.liveCollection=i}}function aD(e,t,r,i,l,d,m,C,M,Z,me,Oe,mt){pl("NgControlFlow");const Dt=Sn(),bt=Xi(),un=void 0!==M,Vn=Sn(),sr=C?m.bind(Vn[Xo][zo]):m,En=new $1(un,sr);Vn[zr+e]=En,Yp(Dt,bt,e+1,t,r,i,l,za(bt.consts,d)),un&&Yp(Dt,bt,e+2,M,Z,me,Oe,za(bt.consts,mt))}class k1 extends P1{constructor(t,r,i){super(),this.lContainer=t,this.hostLView=r,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Jo}at(t){return this.getLView(t)[zo].$implicit}attach(t,r){const i=r[ws];this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length),oh(this.lContainer,r,t,Hd(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||(this.needsIndexUpdate=t!==this.length-1),function F1(e,t){return Ap(e,t)}(this.lContainer,t)}create(t,r){var i;const l=zd(this.lContainer,this.templateTNode.tView.ssrId),d=ih(this.hostLView,this.templateTNode,new N1(this.lContainer,r,t),{dehydratedView:l});return null===(i=this.operationsCounter)||void 0===i||i.recordCreate(),d}destroy(t){var r;Cm(t[vr],t),null===(r=this.operationsCounter)||void 0===r||r.recordDestroy()}updateValue(t,r){this.getLView(t)[zo].$implicit=r}reset(){var t;this.needsIndexUpdate=!1,null===(t=this.operationsCounter)||void 0===t||t.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[zo].$index=t}getLView(t){return function B1(e,t){return function HE(e,t){const r=Jo+t;if(r<e.length)return e[r]}(e,t)}(this.lContainer,t)}}function lD(e){const t=F(null),r=an();try{const l=Sn(),d=l[vr],m=l[r],C=r+1,M=Qm(l,C);if(void 0===m.liveCollection){const me=Ky(d,C);m.liveCollection=new k1(M,l,me)}else m.liveCollection.reset();const Z=m.liveCollection;if(function x1(e,t,r){var i;let l,d,m=0,C=e.length-1;if(Array.isArray(t)){let Dt=t.length-1;for(;m<=C&&m<=Dt;){var Z,me;
1const bt=e.at(m),un=t[m],Vn=zy(m,bt,m,un,r);if(0!==Vn){Vn<0&&e.updateValue(m,un),m++;continue}const sr=e.at(C),En=t[Dt],Di=zy(C,sr,Dt,En,r);if(0!==Di){Di<0&&e.updateValue(C,En),C--,Dt--;continue}const qi=r(m,bt),No=r(C,sr),La=r(m,un);if(Object.is(La,No)){const el=r(Dt,En);Object.is(el,qi)?(e.swap(m,C),e.updateValue(C,En),Dt--,C--):e.move(C,m),e.updateValue(m,un),m++}else if(null!==(Z=l)&&void 0!==Z||(l=new oD),null!==(me=d)&&void 0!==me||(d=iD(e,m,C,r)),Gy(e,l,m,La))e.updateValue(m,un),m++,C++;else if(d.has(La))l.set(qi,e.detach(m)),C--;else{const el=e.create(m,t[m]);e.attach(m,el),m++,C++}}for(;m<=Dt;)rD(e,l,r,m,t[m]),m++}else if(null!=t){const Dt=t[Symbol.iterator]();let bt=Dt.next();for(;!bt.done&&m<=C;){const un=e.at(m),Vn=bt.value,sr=zy(m,un,m,Vn,r);if(0!==sr)sr<0&&e.updateValue(m,Vn),m++,bt=Dt.next();else{var Oe,mt;null!==(Oe=l)&&void 0!==Oe||(l=new oD),null!==(mt=d)&&void 0!==mt||(d=iD(e,m,C,r));const En=r(m,Vn);if(Gy(e,l,m,En))e.updateValue(m,Vn),m++,C++,bt=Dt.next();else if(d.has(En)){const Di=r(m,un);l.set(Di,e.detach(m)),C--}else e.attach(m,e.create(m,Vn)),m++,C++,bt=Dt.next()}}for(;!bt.done;)rD(e,l,r,e.length,bt.value),bt=Dt.next()}for(;m<=C;)e.destroy(e.detach(C--));null===(i=l)||void 0===i||i.forEach(Dt=>{e.destroy(Dt)})}(Z,e,m.trackByFn),Z.updateIndexes(),m.hasEmptyBlock){const me=Q(),Oe=0===Z.length;if(Ws(l,me,Oe)){const mt=r+2,Dt=Qm(l,mt);if(Oe){const bt=Ky(d,mt),un=zd(Dt,bt.tView.ssrId);oh(Dt,ih(l,bt,void 0,{dehydratedView:un}),0,Hd(bt,un))}else!function K0(e,t){const r=Ap(e,t);return void 0!==r&&Cm(r[vr],r),r}(Dt,0)}}}finally{F(t)}}function Qm(e,t){return e[t]}function Ky(e,t){return mc(e,t)}function Zm(e,t,r,i){const l=Sn(),d=Xi(),m=zr+e,C=l[Ti],M=d.firstCreatePass?function U1(e,t,r,i,l,d){const m=t.consts,M=jd(t,e,2,i,za(m,l));return V0(t,r,M,za(m,d)),null!==M.attrs&&km(M,M.attrs,!1),null!==M.mergedAttrs&&km(M,M.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,M),M}(m,d,l,t,r,i):d.data[m],Z=cD(d,l,M,C,t,e);l[m]=Z;const me=xu(M);return Ka(M,!0),TE(C,Z,M),!function uh(e){return!(32&~e.flags)}(M)&&Kn()&&Dm(d,l,Z,M),0===function Ga(){return Ci.lFrame.elementDepthCount}()&&ss(Z,l),function Df(){Ci.lFrame.elementDepthCount++}(),me&&(F0(d,l,M),k0(d,M,l)),null!==i&&B0(l,M),Zm}function Jm(){let e=Ro();Xa()?Fl():(e=e.parent,Ka(e,!1));const t=e;(function Tf(e){return Ci.skipHydrationRootTNode===e})(t)&&function Wh(){Ci.skipHydrationRootTNode=null}(),function Sf(){Ci.lFrame.elementDepthCount--}();const r=Xi();return r.firstCreatePass&&(yr(r,e),ff(e)&&r.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Of(e){return!!(8&e.flags)}(t)&&Vy(r,t,Sn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Pf(e){return!!(16&e.flags)}(t)&&Vy(r,t,Sn(),t.stylesWithoutHost,!1),Jm}function Xy(e,t,r,i){return Zm(e,t,r,i),Jm(),Xy}let cD=(e,t,r,i,l,d)=>(xr(!0),Em(i,l,function Xt(){return Ci.lFrame.currentNamespace}()));function qm(e,t,r){const i=Sn(),l=Xi(),d=e+zr,m=l.firstCreatePass?function H1(e,t,r,i,l){const d=t.consts,m=za(d,i),C=jd(t,e,8,"ng-container",m);return null!==m&&km(C,m,!0),V0(t,r,C,za(d,l)),null!==t.queries&&t.queries.elementStart(t,C),C}(d,l,i,t,r):l.data[d];Ka(m,!0);const C=uD(l,i,m,e);return i[d]=C,Kn()&&Dm(l,i,C,m),ss(C,i),xu(m)&&(F0(l,i,m),k0(l,m,i)),null!=r&&B0(i,m),qm}function ev(){let e=Ro();const t=Xi();return Xa()?Fl():(e=e.parent,Ka(e,!1)),t.firstCreatePass&&(yr(t,e),ff(e)&&t.queries.elementEnd(e)),ev}function Yy(e,t,r){return qm(e,t,r),ev(),Yy}let uD=(e,t,r,i)=>(xr(!0),A0(t[Ti],""));function dD(){return Sn()}const Qd=void 0;var K1=["en",[["a","p"],["AM","PM"],Qd],[["AM","PM"],Qd,Qd],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Qd,[["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"]],Qd,[["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}
1, {0}",Qd,"{1} 'at' {0}",Qd],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function G1(e){const r=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===r&&0===i?1:5}];let Ih={};function X1(e,t,r){"string"!=typeof t&&(r=t,t=e[Mh.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Ih[t]=e,r&&(Ih[t][Mh.ExtraData]=r)}function Qy(e){const t=function Y1(e){return e.toLowerCase().replace(/_/g,"-")}(e);let r=gD(t);if(r)return r;const i=t.split("-")[0];if(r=gD(i),r)return r;if("en"===i)return K1;throw new Jn(701,!1)}function pD(e){return Qy(e)[Mh.PluralCase]}function gD(e){return e in Ih||(Ih[e]=So.ng&&So.ng.common&&So.ng.common.locales&&So.ng.common.locales[e]),Ih[e]}var Mh=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Mh||{});const Ah="en-US";let mD=Ah;let LD=(e,t,r)=>{};function qy(e,t,r,i){const l=Sn(),d=Xi(),m=Ro();return e_(d,l,l[Ti],m,e,t,i),qy}function e_(e,t,r,i,l,d,m){const C=xu(i),Z=e.firstCreatePass&&VE(e),me=t[zo],Oe=UE(t);let mt=!0;if(3&i.type||m){const un=jr(i,t),Vn=m?m(un):un,sr=Oe.length,En=m?qi=>m(mo(qi[i.index])):i.index;let Di=null;if(!m&&C&&(Di=function $O(e,t,r,i){const l=e.cleanup;if(null!=l)for(let d=0;d<l.length-1;d+=2){const m=l[d];if(m===r&&l[d+1]===i){const C=t[ql],M=l[d+2];return C.length>M?C[M]:null}"string"==typeof m&&(d+=2)}return null}(e,t,l,i.index)),null!==Di)(Di.__ngLastListenerFn__||Di).__ngNextListenerFn__=d,Di.__ngLastListenerFn__=d,mt=!1;else{d=BD(i,t,me,d),LD(un,l,d);const qi=r.listen(Vn,l,d);Oe.push(d,qi),Z&&Z.push(l,En,sr,sr+1)}}else d=BD(i,t,me,d);const Dt=i.outputs;let bt;if(mt&&null!==Dt&&(bt=Dt[l])){const un=bt.length;if(un)for(let Vn=0;Vn<un;Vn+=2){const No=t[bt[Vn]][bt[Vn+1]].subscribe(d),La=Oe.length;Oe.push(d,No),Z&&Z.push(l,i.index,La,-(La+1))}}}function FD(e,t,r,i){const l=F(null);try{return Ls(6,t,r),!1!==r(i)}catch(d){return Im(e,d),!1}finally{Ls(7,t,r),F(l)}}function BD(e,t,r,i){return function l(d){if(d===Function)return i;Rp(e.componentOffset>-1?xa(e.index,t):t,5);let C=FD(t,r,i,d),M=l.__ngNextListenerFn__;for(;M;)C=FD(t,r,M,d)&&C,M=M.__ngNextListenerFn__;return C}}function UD(e=1){return function sn(e){return(Ci.lFrame.contextLView=function Cf(e,t){for(;e>0;)t=t[fc],e--;return t}(e,Ci.lFrame.contextLView))[zo]}(e)}function kO(e,t){let r=null;const i=function P(e){const t=e.attrs;if(null!=t){const r=t.indexOf(5);if(!(1&r))return t[r+1]}return null}(e);for(let l=0;l<t.length;l++){const d=t[l];if("*"!==d){if(null===i?S(e,d,!0):J(i,d))return l}else r=l}return r}function VD(e){const t=Sn()[Xo][js];if(!t.projection){const i=t.projection=function Ei(e,t){const r=[];for(let i=0;i<e;i++)r.push(t);return r}(e?e.length:1,null),l=i.slice();let d=t.child;for(;null!==d;){if(128!==d.type){const m=e?kO(d,e):0;null!==m&&(l[m]?l[m].projectionNext=d:i[m]=d,l[m]=d)}d=d.next}}}function jD(e,t=0,r,i,l,d){const m=Sn(),C=Xi(),M=i?e+1:null;null!==M&&Yp(m,C,M,i,l,d,null,r);const Z=jd(C,zr+e,16,null,r||null);null===Z.projection&&(Z.projection=t),Fl();const Oe=!m[ws]||vc();null===m[Xo][js].projection[Z.projection]&&null!==M?function FO(e,t,r){const i=zr+r,l=t.data[i],d=e[i],m=zd(d,l.tView.ssrId);oh(d,ih(e,l,void 0,{dehydratedView:m}),0,Hd(l,m))}(m,C,M):Oe&&32&~Z.flags&&function kT(e,t,r){SE(t[Ti],0,t,r,x0(e,r,t),yE(r.parent||t[js],r,t))}(C,m,Z)}function t_(e,t,r){return iv(e,"",t,"",r),t_}function iv(e,t,r,i,l){const d=Sn(),m=yh(d,t,r,i);return m!==Yi&&Ol(Xi(),rn(),d,e,m,d[Ti],l,!1),iv}function n_(e,t,r,i,l,d,m){const C=Sn(),M=_h(C,t,r,i,l,d);return M!==Yi&&Ol(Xi(),rn(),C,e,M,C[Ti],m,!1),n_}function QD(e,t,r,i){!function BC(e,t,r,i){const l=Xi();if(l.firstCreatePass){const d=Ro();UC(l,new LC(t,r,i),d.index),function ZM(e,t){const r=e.contentQueries||(e.contentQueries=[]);t!==(r.length?r[r.length-1]:-1)&&r.push(e.queries.length-1,t)}(l,e),!(2&~r)&&(l.staticContentQueries=!0)}return kC(l,Sn(),r)}(e,t,r,i)}function ZD(e,t,r){!function FC(e,t,r){const i=Xi();return i.firstCreatePass&&(UC(i,new LC(e,t,r),-1),!(2&~t)&&(i.staticViewQueries=!0)),kC(i,Sn(),t)}(e,t,r)}function JD(e){const t=Sn(),r=Xi(),i=ot();Et(i+1);const l=vy(r,i);if(e.dirty&&function yd(e){return!(4&~e[si])}(t)===!(2&~l.metadata.flags)){if(null===l.matches)e.reset([]);else{const d=VC(t,i);e.reset(d,hs),e.notifyOnChanges()}return!0}return!1}
1function qD(){return function my(e,t){return e[Zs].queries[t].queryList}(Sn(),ot())}function eS(e){return Pa(function Af(){return Ci.lFrame.contextLView}(),zr+e)}function uS(e,t=""){const r=Sn(),i=Xi(),l=e+zr,d=i.firstCreatePass?jd(i,l,1,t,null):i.data[l],m=dS(i,r,d,t,e);r[l]=m,Kn()&&Dm(i,r,m,d),Ka(d,!1)}let dS=(e,t,r,i,l)=>(xr(!0),function M0(e,t){return e.createText(t)}(t[Ti],i));function i_(e){return ov("",e,""),i_}function ov(e,t,r){const i=Sn(),l=yh(i,e,t,r);return l!==Yi&&Eu(i,an(),l),ov}function o_(e,t,r,i,l){const d=Sn(),m=_h(d,e,t,r,i,l);return m!==Yi&&Eu(d,an(),m),o_}function s_(e,t,r,i,l,d,m){const C=Sn(),M=Eh(C,e,t,r,i,l,d,m);return M!==Yi&&Eu(C,an(),M),s_}function a_(e,t,r){zC(t)&&(t=t());const i=Sn();return Ws(i,Q(),t)&&Ol(Xi(),rn(),i,e,t,i[Ti],r,!1),a_}function yS(e,t){const r=zC(e);return r&&e.set(t),r}function l_(e,t){const r=Sn(),i=Xi(),l=Ro();return e_(i,r,r[Ti],l,e,t),l_}function c_(e,t,r,i,l){if(e=oi(e),Array.isArray(e))for(let d=0;d<e.length;d++)c_(e[d],t,r,i,l);else{const d=Xi(),m=Sn(),C=Ro();let M=Zl(e)?e:oi(e.provide);const Z=xc(e),me=1048575&C.providerIndexes,Oe=C.directiveStart,mt=C.providerIndexes>>20;if(Zl(e)||!e.multi){const Dt=new $s(Z,l,rh),bt=d_(M,t,l?me:me+mt,Oe);-1===bt?(Yh(Nf(C,m),d,M),u_(d,e,t.length),t.push(M),C.directiveStart++,C.directiveEnd++,l&&(C.providerIndexes+=1048576),r.push(Dt),m.push(Dt)):(r[bt]=Dt,m[bt]=Dt)}else{const Dt=d_(M,t,me+mt,Oe),bt=d_(M,t,me,me+mt),Vn=bt>=0&&r[bt];if(l&&!Vn||!l&&!(Dt>=0&&r[Dt])){Yh(Nf(C,m),d,M);const sr=function iP(e,t,r,i,l){const d=new $s(e,r,rh);return d.multi=[],d.index=t,d.componentProviders=0,CS(d,l,i&&!r),d}(l?rP:nP,r.length,l,i,Z);!l&&Vn&&(r[bt].providerFactory=sr),u_(d,e,t.length,0),t.push(M),C.directiveStart++,C.directiveEnd++,l&&(C.providerIndexes+=1048576),r.push(sr),m.push(sr)}else u_(d,e,Dt>-1?Dt:bt,CS(r[l?bt:Dt],Z,!l&&i));!l&&i&&Vn&&r[bt].componentProviders++}}}function u_(e,t,r,i){const l=Zl(t),d=function Qs(e){return!!e.useClass}(t);if(l||d){const M=(d?oi(t.useClass):t).prototype.ngOnDestroy;if(M){const Z=e.destroyHooks||(e.destroyHooks=[]);if(!l&&t.multi){const me=Z.indexOf(r);-1===me?Z.push(r,[i,M]):Z[me+1].push(i,M)}else Z.push(r,M)}}}function CS(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function d_(e,t,r,i){for(let l=r;l<i;l++)if(t[l]===e)return l;return-1}
1function nP(e,t,r,i){return f_(this.multi,[])}function rP(e,t,r,i){const l=this.multi;let d;if(this.providerFactory){const m=this.providerFactory.componentProviders,C=mu(r,r[vr],this.providerFactory.index,i);d=C.slice(0,m),f_(l,d);for(let M=m;M<C.length;M++)d.push(C[M])}else d=[],f_(l,d);return d}function f_(e,t){for(let r=0;r<e.length;r++)t.push((0,e[r])());return t}function bS(e,t=[]){return r=>{r.providersResolver=(i,l)=>function tP(e,t,r){const i=Xi();if(i.firstCreatePass){const l=ll(e);c_(r,i.data,i.blueprint,l,!0),c_(t,i.data,i.blueprint,l,!1)}}(i,l?l(e):e,t)}}let oP=(()=>{var e;class t{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const l=rd(0,i.type),d=l.length>0?by([l],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,d)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=Li({token:e,providedIn:"environment",factory:()=>new e(E(Ua))}),t})();function DS(e){pl("NgStandalone"),e.getStandaloneInjector=t=>t.get(oP).getOrCreateStandaloneInjector(e)}function SS(e,t,r){const i=e.\u0275cmp;i.directiveDefs=Ia(t,!1),i.pipeDefs=Ia(r,!0)}function IS(e,t,r){const i=_()+e,l=Sn();return l[i]===Yi?Yc(l,i,r?t.call(r):t()):Xp(l,i)}function MS(e,t,r,i){return NS(Sn(),_(),e,t,r,i)}function AS(e,t,r,i,l){return LS(Sn(),_(),e,t,r,i,l)}function OS(e,t,r,i,l,d){return $S(Sn(),_(),e,t,r,i,l,d)}function PS(e,t,r,i,l,d,m){return kS(Sn(),_(),e,t,r,i,l,d,m)}function xS(e,t,r,i,l,d,m,C){const M=_()+e,Z=Sn(),me=oc(Z,M,r,i,l,d);return Ws(Z,M+4,m)||me?Yc(Z,M+5,C?t.call(C,r,i,l,d,m):t(r,i,l,d,m)):Xp(Z,M+5)}function RS(e,t,r,i,l,d,m,C,M){const Z=_()+e,me=Sn(),Oe=oc(me,Z,r,i,l,d);return Kd(me,Z+4,m,C)||Oe?Yc(me,Z+6,M?t.call(M,r,i,l,d,m,C):t(r,i,l,d,m,C)):Xp(me,Z+6)}function og(e,t){const r=e[t];return r===Yi?void 0:r}function NS(e,t,r,i,l,d){const m=t+r;return Ws(e,m,l)?Yc(e,m+1,d?i.call(d,l):i(l)):og(e,m+1)}function LS(e,t,r,i,l,d,m){const C=t+r;return Kd(e,C,l,d)?Yc(e,C+2,m?i.call(m,l,d):i(l,d)):og(e,C+2)}function $S(e,t,r,i,l,d,m,C){const M=t+r;return jm(e,M,l,d,m)?Yc(e,M+3,C?i.call(C,l,d,m):i(l,d,m)):og(e,M+3)}function kS(e,t,r,i,l,d,m,C,M){const Z=t+r;return oc(e,Z,l,d,m,C)?Yc(e,Z+4,M?i.call(M,l,d,m,C):i(l,d,m,C)):og(e,Z+4)}function BS(e,t){const r=Xi();let i;const l=e+zr;var d;r.firstCreatePass?(i=function dP(e,t){if(t)for(let r=t.length-1;r>=0;r--){const i=t[r];if(e===i.name)return i}}(t,r.pipeRegistry),r.data[l]=i,i.onDestroy&&(null!==(d=r.destroyHooks)&&void 0!==d?d:r.destroyHooks=[]).push(l,i.onDestroy)):i=r.data[l];const m=i.factory||(i.factory=fr(i.type)),M=Ds(rh);try{const Z=xf(!1),me=m();return xf(Z),function r_(e,t,r,i){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=i}(r,Sn(),l,me),me}finally{Ds(M)}}function US(e,t,r){const i=e+zr,l=Sn(),d=Pa(l,i);return sg(l,i)?NS(l,_(),t,d.transform,r,d):d.transform(r)}function VS(e,t,r,i){const l=e+zr,d=Sn(),m=Pa(d,l);return sg(d,l)?LS(d,_(),t,m.transform,r,i,m):m.transform(r,i)}function jS(e,t,r,i,l){const d=e+zr,m=Sn(),C=Pa(m,d);return sg(m,d)?$S(m,_(),t,C.transform,r,i,l,C):C.transform(r,i,l)}function HS(e,t,r,i,l,d){const m=e+zr,C=Sn(),M=Pa(C,m);return sg(C,m)?kS(C,_(),t,M.transform,r,i,l,d,M):M.transform(r,i,l,d)}function sg(e,t){return e[vr].data[t].pure}function WS(e,t){return Am(e,t)}class sw{constructor(t){this.full=t;const r=t.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}}let aw=(()=>{var e;class t{log(i){console.log(i)}warn(i){console.warn(i)}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Li({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const dw=new ci(""),fw=new ci("");let __,ox=(()=>{var e;class t{constructor(i,l,d){this._ngZone=i,this.registry=l,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,__||(function sx(e){__=e}(d),d.addToWindow(l)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>
1{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ts.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!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,d){let m=-1;l&&l>0&&(m=setTimeout(()=>{this._callbacks=this._callbacks.filter(C=>C.timeoutId!==m),i()},l)),this._callbacks.push({doneCb:i,timeoutId:m,updateCb:d})}whenStable(i,l,d){if(d&&!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,d),this._runCallbacksIfReady()}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,l,d){return[]}}return(e=t).\u0275fac=function(i){return new(i||e)(E(ts),E(hw),E(fw))},e.\u0275prov=Li({token:e,factory:e.\u0275fac}),t})(),hw=(()=>{var e;class t{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 d,m;return null!==(d=null===(m=__)||void 0===m?void 0:m.findTestabilityInTree(this,i,l))&&void 0!==d?d:null}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Li({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function E_(e){return!!e&&"function"==typeof e.then}function pw(e){return!!e&&"function"==typeof e.subscribe}const gw=new ci("");let C_=(()=>{var e;class t{constructor(){var i;this.initialized=!1,this.done=!1,this.donePromise=new Promise((l,d)=>{this.resolve=l,this.reject=d}),this.appInits=null!==(i=v(gw,{optional:!0}))&&void 0!==i?i:[]}runInitializers(){if(this.initialized)return;const i=[];for(const d of this.appInits){const m=d();if(E_(m))i.push(m);else if(pw(m)){const C=new Promise((M,Z)=>{m.subscribe({complete:M,error:Z})});i.push(C)}}const l=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{l()}).catch(d=>{this.reject(d)}),0===i.length&&l(),this.initialized=!0}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Li({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const uv=new ci("");function yw(e,t){return Array.isArray(t)?t.reduce(yw,e):{...e,...t}}let Ic=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=v($v),this.afterRenderEffectManager=v(Lm),this.zonelessEnabled=v(Hp),this.externalTestViews=new Set,this.beforeRender=new Fn.B,this.afterTick=new Fn.B,this.componentTypes=[],this.components=[],this.isStable=v(vu).hasPendingTasks.pipe((0,Yn.T)(i=>!i)),this._injector=v(Ua)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,l){const d=i instanceof _C;if(!this._injector.get(C_).done)throw!d&&Zo(i),new Jn(405,!1);let C;C=d?i:this._injector.get(lh).resolveComponentFactory(i),this.componentTypes.push(C.componentType);const M=function ax(e){return e.isBoundToModule}(C)?void 0:this._injector.get(Gd),me=C.create(ea.NULL,[],l||C.selector,M),Oe=me.location.nativeElement,mt=me.injector.get(dw,null);return null==mt||mt.registerApplication(Oe),me.onDestroy(()=>{this.detachView(me.hostView),dv(this.components,me),null==mt||mt.unregisterApplication(Oe)}),this._loadComponent(me),me}tick(){this._tick(!0)}_tick(i){if(this._runningTick)throw new Jn(101,!1);const l=F(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(i)}catch(d){this.internalErrorHandler(d)}finally{this._runningTick=!1,F(l),this.afterTick.next()}}detectChangesInAttachedViews(i){let l=null;
1this._injector.destroyed||(l=this._injector.get(oy,null,{optional:!0}));let d=0;const m=this.afterRenderEffectManager;for(;d<10;){const Dt=0===d;if(i||!Dt){this.beforeRender.next(Dt);for(let{_lView:bt,notifyErrorHandler:un}of this._views)cx(bt,un,Dt,this.zonelessEnabled)}else{var C,M,Z,me,Oe,mt;null===(C=l)||void 0===C||null===(M=(Z=C).begin)||void 0===M||M.call(Z),null===(me=l)||void 0===me||null===(Oe=(mt=me).end)||void 0===Oe||Oe.call(mt)}if(d++,m.executeInternalCallbacks(),!this.allViews.some(({_lView:bt})=>Bc(bt))&&(m.execute(),!this.allViews.some(({_lView:bt})=>Bc(bt))))break}}attachView(i){const l=i;this._views.push(l),l.attachToAppRef(this)}detachView(i){const l=i;dv(this._views,l),l.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const l=this._injector.get(uv,[]);[...this._bootstrapListeners,...l].forEach(d=>d(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),()=>dv(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new Jn(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Li({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function dv(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}function cx(e,t,r,i){(r||Bc(e))&&Mm(e,t,r&&!i?0:1)}class ux{constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}}let dx=(()=>{var e;class t{compileModuleSync(i){return new Cy(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const l=this.compileModuleSync(i),m=Vl(_s(i).declarations).reduce((C,M)=>{const Z=Xr(M);return Z&&C.push(new Gp(Z)),C},[]);return new ux(l,m)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Li({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),px=(()=>{var e;class t{constructor(){this.zone=v(ts),this.changeDetectionScheduler=v(ah),this.applicationRef=v(Ic)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var i;null===(i=this._onMicrotaskEmptySubscription)||void 0===i||i.unsubscribe()}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Li({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function b_({ngZoneFactory:e,ignoreChangesOutsideZone:t}){var r;return null!==(r=e)&&void 0!==r||(e=()=>new ts(D_())),[{provide:ts,useFactory:e},{provide:va,multi:!0,useFactory:()=>{const i=v(px,{optional:!0});return()=>i.initialize()}},{provide:va,multi:!0,useFactory:()=>{const i=v(mx);return()=>{i.initialize()}}},!0===t?{provide:yC,useValue:!0}:[]]}function D_(e){var t,r;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:null!==(t=null==e?void 0:e.eventCoalescing)&&void 0!==t&&t,shouldCoalesceRunChangeDetection:null!==(r=null==e?void 0:e.runCoalescing)&&void 0!==r&&r}}let mx=(()=>{var e;class t{constructor(){this.subscription=new cr.yU,this.initialized=!1,this.zone=v(ts),this.pendingTasks=v(vu)}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(()=>{ts.assertNotInAngularZone(),queueMicrotask(()=>{null!==i&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(i),i=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{var l;ts.assertInAngularZone(),null!==(l=i)&&void 0!==l||(i=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Li({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),ug=(()=>{var e;class t{constructor(){var i;this.appRef=v(Ic),this.taskService=v(vu),this.ngZone=v(ts),this.zonelessEnabled=v(Hp),this.disableScheduling=null!==(i=v(yC,{optional:!0}
1))&&void 0!==i&&i,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new cr.yU,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof lp||!this.zoneIsDefined))}notify(i){if(!this.zonelessEnabled&&5===i)return;switch(i){case 3:case 2:case 0:case 4:case 5:case 1:this.shouldRefreshViews=!0}if(!this.shouldScheduleTick())return;const l=this.useMicrotaskScheduler?Pg:Og;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=l(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=l(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&ts.isInAngularZone())}tick(i){if(this.runningTick||this.appRef.destroyed)return;const l=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(i)},void 0,this.schedulerTickApplyArgs)}catch(d){throw this.taskService.remove(l),d}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Pg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(l)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var i;if(this.shouldRefreshViews=!1,this.runningTick=!1,null===(i=this.cancelScheduledCallback)||void 0===i||i.call(this),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const l=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(l)}}}return(e=t).\u0275fac=function(i){return new(i||e)},e.\u0275prov=Li({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const fv=new ci("",{providedIn:"root",factory:()=>v(fv,Vi.Optional|Vi.SkipSelf)||function vx(){return typeof $localize<"u"&&$localize.locale||Ah}()}),yx=new ci("",{providedIn:"root",factory:()=>"USD"}),w_=new ci("");let Dw=(()=>{var e;class t{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,l){const d=function Wc(e="zone.js",t){return"noop"===e?new lp:"zone.js"===e?new ts(t):e}(null==l?void 0:l.ngZone,D_({eventCoalescing:null==l?void 0:l.ngZoneEventCoalescing,runCoalescing:null==l?void 0:l.ngZoneRunCoalescing}));return d.run(()=>{const C=function yA(e,t,r){return new Ey(e,t,r)}(i.moduleType,this.injector,[...b_({ngZoneFactory:()=>d,ignoreChangesOutsideZone:null==l?void 0:l.ignoreChangesOutsideZone}),{provide:ah,useExisting:ug}]),M=C.injector.get(ic,null);return d.runOutsideAngular(()=>{const Z=d.onError.subscribe({next:me=>{M.handleError(me)}});C.onDestroy(()=>{dv(this._modules,C),Z.unsubscribe()})}),function vw(e,t,r){try{const i=r();return E_(i)?i.catch(l=>{throw t.runOutsideAngular(()=>e.handleError(l)),l}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(M,d,()=>{const Z=C.injector.get(C_);return Z.runInitializers(),Z.donePromise.then(()=>(function vD(e){"string"==typeof e&&(mD=e.toLowerCase().replace(/_/g,"-"))}(C.injector.get(fv,Ah)||Ah),this._moduleDoBootstrap(C),C))})})}bootstrapModule(i,l=[]){const d=yw({},l);return function hx(e,t,r){const i=new Cy(r);return Promise.resolve(i)}(0,0,i).then(m=>this.bootstrapModuleFactory(m,d))}_moduleDoBootstrap(i){const l=i.injector.get(Ic);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(d=>l.bootstrap(d));else{if(!i.instance.ngDoBootstrap)throw new Jn(-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 Jn(404,!1);this._modules.slice().forEach(l=>l.destroy()),this._destroyListeners.forEach(l=>l());const i=this._injector.get(w_,null);i&&(i.forEach(l=>l()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(i){return new(i||e)(E(ea))},e.\u0275prov=Li({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),ed=null;const Sw=new ci("");function ww(e,t,r=[]){const i=`Platform: ${t}`,l=new ci(i);return(d=[])=>{let m=T_();if(!m||m.injector.get(Sw,!1)){const C=[...r,...d,{provide:l,useValue:!0}];e?e(C):function Ex(e){if(ed&&!ed.get(Sw,!1))throw new Jn(400,!1);(function mw(){!function de(e){ze=e}(()=>{throw new Jn(600,!1)})})(),ed=e;
vendor: 7,973 bytes, line 1
1const t=e.get(Dw);(function Iw(e){const t=e.get(nm,null);null==t||t.forEach(r=>r())})(e)}(function Tw(e=[],t){return ea.create({name:t,providers:[{provide:ru,useValue:"platform"},{provide:w_,useValue:new Set([()=>ed=null])},...e]})}(C,i))}return function Cx(e){const t=T_();if(!t)throw new Jn(401,!1);return t}()}}function T_(){var e,t;return null!==(e=null===(t=ed)||void 0===t?void 0:t.get(Dw))&&void 0!==e?e:null}function Dx(){}let Aw=(()=>{class t{}return t.__NG_ELEMENT_ID__=Sx,t})();function Sx(e){return function wx(e,t,r){if(al(e)&&!r){const i=xa(e.index,t);return new Np(i,i)}return 175&e.type?new Np(t[Xo],t):null}(Ro(),Sn(),!(16&~e))}class Rw{constructor(){}supports(t){return Vm(t)}create(t){return new Ox(t)}}const Ax=(e,t)=>t;class Ox{constructor(t){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=t||Ax}forEachItem(t){let r;for(r=this._itHead;null!==r;r=r._next)t(r)}forEachOperation(t){let r=this._itHead,i=this._removalsHead,l=0,d=null;for(;r||i;){const m=!i||r&&r.currentIndex<Lw(i,l,d)?r:i,C=Lw(m,l,d),M=m.currentIndex;if(m===i)l--,i=i._nextRemoved;else if(r=r._next,null==m.previousIndex)l++;else{d||(d=[]);const Z=C-l,me=M-l;if(Z!=me){for(let mt=0;mt<Z;mt++){const Dt=mt<d.length?d[mt]:d[mt]=0,bt=Dt+mt;me<=bt&&bt<Z&&(d[mt]=Dt+1)}d[m.previousIndex]=me-Z}}C!==M&&t(m,C,M)}}forEachPreviousItem(t){let r;for(r=this._previousItHead;null!==r;r=r._nextPrevious)t(r)}forEachAddedItem(t){let r;for(r=this._additionsHead;null!==r;r=r._nextAdded)t(r)}forEachMovedItem(t){let r;for(r=this._movesHead;null!==r;r=r._nextMoved)t(r)}forEachRemovedItem(t){let r;for(r=this._removalsHead;null!==r;r=r._nextRemoved)t(r)}forEachIdentityChange(t){let r;for(r=this._identityChangesHead;null!==r;r=r._nextIdentityChange)t(r)}diff(t){if(null==t&&(t=[]),!Vm(t))throw new Jn(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let l,d,m,r=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let C=0;C<this.length;C++)d=t[C],m=this._trackByFn(C,d),null!==r&&Object.is(r.trackById,m)?(i&&(r=this._verifyReinsertion(r,d,m,C)),Object.is(r.item,d)||this._addIdentityChange(r,d)):(r=this._mismatch(r,d,m,C),i=!0),r=r._next}else l=0,function CA(e,t){if(Array.isArray(e))for(let r=0;r<e.length;r++)t(e[r]);else{const r=e[Symbol.iterator]();let i;for(;!(i=r.next()).done;)t(i.value)}}(t,C=>{m=this._trackByFn(l,C),null!==r&&Object.is(r.trackById,m)?(i&&(r=this._verifyReinsertion(r,C,m,l)),Object.is(r.item,C)||this._addIdentityChange(r,C)):(r=this._mismatch(r,C,m,l),i=!0),r=r._next,l++}),this.length=l;return this._truncate(r),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,r,i,l){let d;return null===t?d=this._itTail:(d=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._reinsertAfter(t,d,l)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,l))?(Object.is(t.item,r)||this._addIdentityChange(t,r),this._moveAfter(t,d,l)):t=this._addAfter(new Px(r,i),d,l),t}_verifyReinsertion(t,r,i,l){let d=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==d?t=this._reinsertAfter(d,t._prev,l):t.currentIndex!=l&&(t.currentIndex=l,this._addToMoves(t,l)),t}_truncate(t){for(;null!==t;){const r=t._next;this._addToRemovals(this._unlink(t)),t=r}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(t,r,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const l=t._prevRemoved,d=t._nextRemoved;return null===l?this._removalsHead=d:l._nextRemoved=d,null===d?this._removalsTail=l:d._prevRemoved=l,this._insertAfter(t,r,i),this._addToMoves(t,i),t}_moveAfter(t,r,i){return this._unlink(t),this._insertAfter(t,r,i),this._addToMoves(t,i),t}_addAfter(t,r,i){return this._insertAfter(t,r,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,r,i){const l=null===r?this._itHead:r._next;return t._next=l,t._prev=r,null===l?this._itTail=t:l._prev=t,null===r?this._itHead=t:r._next=t,null===this._linkedRecords&&(this._linkedRecords=new Nw),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const r=t._prev,i=t._next;return null===r?this._itHead=i:r._next=i,null===i?this._itTail=r:i._prev=r,t}_addToMoves(t,r){return t.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Nw),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,r){return t.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Px{constructor(t,r){this.item=t,this.trackById=r,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 xx{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,r){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===r||r<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const r=t._prevDup,i=t._nextDup;return null===r?this._head=i:r._nextDup=i,null===i?this._tail=r:i._prevDup=r,null===this._head}}class Nw{constructor(){this.map=new Map}put(t){const r=t.trackById;let i=this.map.get(r);i||(i=new xx,this.map.set(r,i)),i.add(t)}get(t,r){const l=this.map.get(t);return l?l.get(t,r):null}remove(t){const r=t.trackById;return this.map.get(r).remove(t)&&this.map.delete(r),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Lw(e,t,r){const i=e.previousIndex;if(null===i)return i;let l=0;return r&&i<r.length&&(l=r[i]),i+t+l}class $w{constructor(){}supports(t){return t instanceof Map||Dy(t)}create(){return new Rx}}class Rx{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(t){let r;for(r=this._mapHead;null!==r;
1r=r._next)t(r)}forEachPreviousItem(t){let r;for(r=this._previousMapHead;null!==r;r=r._nextPrevious)t(r)}forEachChangedItem(t){let r;for(r=this._changesHead;null!==r;r=r._nextChanged)t(r)}forEachAddedItem(t){let r;for(r=this._additionsHead;null!==r;r=r._nextAdded)t(r)}forEachRemovedItem(t){let r;for(r=this._removalsHead;null!==r;r=r._nextRemoved)t(r)}diff(t){if(t){if(!(t instanceof Map||Dy(t)))throw new Jn(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,l)=>{if(r&&r.key===l)this._maybeAddToChanges(r,i),this._appendAfter=r,r=r._next;else{const d=this._getOrCreateRecordForKey(l,i);r=this._insertBeforeOrAppend(r,d)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let i=r;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(t,r){if(t){const i=t._prev;return r._next=t,r._prev=i,t._prev=r,i&&(i._next=r),t===this._mapHead&&(this._mapHead=r),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(t,r){if(this._records.has(t)){const l=this._records.get(t);this._maybeAddToChanges(l,r);const d=l._prev,m=l._next;return d&&(d._next=m),m&&(m._prev=d),l._next=null,l._prev=null,l}const i=new Nx(t);return this._records.set(t,i),i.currentValue=r,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,r){Object.is(r,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=r,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,r){t instanceof Map?t.forEach(r):Object.keys(t).forEach(i=>r(t[i],i))}}class Nx{constructor(t){this.key=t,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 kw(){return new P_([new Rw])}let P_=(()=>{var e;class t{constructor(i){this.factories=i}static create(i,l){if(null!=l){const d=l.factories.slice();i=i.concat(d)}return new t(i)}static extend(i){return{provide:t,useFactory:l=>t.create(i,l||kw()),deps:[[t,new Cn,new qt]]}}find(i){const l=this.factories.find(d=>d.supports(i));if(null!=l)return l;throw new Jn(901,!1)}}return(e=t).\u0275prov=Li({token:e,providedIn:"root",factory:kw}),t})();function Fw(){return new x_([new $w])}let x_=(()=>{var e;class t{constructor(i){this.factories=i}static create(i,l){if(l){const d=l.factories.slice();i=i.concat(d)}return new t(i)}static extend(i){return{provide:t,useFactory:l=>t.create(i,l||Fw()),deps:[[t,new Cn,new qt]]}}find(i){const l=this.factories.find(d=>d.supports(i));if(l)return l;throw new Jn(901,!1)}}return(e=t).\u0275prov=Li({token:e,providedIn:"root",factory:Fw}),t})();const kx=ww(null,"core",[]);let Fx=(()=>{var e;class t{constructor(i){}}return(e=t).\u0275fac=function(i){return new(i||e)(E(Ic))},e.\u0275mod=Ji({type:e}),e.\u0275inj=ha({}),t})();const tT=new ci("");function _R(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function CR(e,t){pl("NgSignals");const r=function Ae(e){const t=Object.create(pe);t.computation=e;const r=()=>{if(W(t),U(t),t.value===ce)throw t.error;return t.value};return r[x]=t,r}(e);return null!=t&&t.equal&&(r[x].equal=t.equal),r}function bR(e){const t=F(null);try{return e()}finally{F(t)}}function MR(e,t){const r=Xr(e),i=t.elementInjector||Pc();return new Gp(r).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}function AR(e){const t=Xr(e);
1if(!t)return null;const r=new Gp(t);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},9417:(wt,Se,u)=>{"use strict";u.d(Se,{BC:()=>ht,JD:()=>$t,MJ:()=>Ni,VZ:()=>bs,X1:()=>wa,YN:()=>Fs,cV:()=>Ui,cb:()=>Ot,cz:()=>ge,gE:()=>Oo,j4:()=>Hi,k0:()=>$e,kq:()=>V,ok:()=>oi,qT:()=>qe,vO:()=>Fn,vS:()=>G,wz:()=>An,xH:()=>pr,y7:()=>so,zX:()=>gs});var a=u(3953),s=u(177),w=u(6648),T=u(7468),x=u(1413),F=u(6354);let B=(()=>{var oe;class j{constructor(re,Qe){this._renderer=re,this._elementRef=Qe,this.onChange=On=>{},this.onTouched=()=>{}}setProperty(re,Qe){this._renderer.setProperty(this._elementRef.nativeElement,re,Qe)}registerOnTouched(re){this.onTouched=re}registerOnChange(re){this.onChange=re}setDisabledState(re){this.setProperty("disabled",re)}}return(oe=j).\u0275fac=function(re){return new(re||oe)(a.rXU(a.sFG),a.rXU(a.aKT))},oe.\u0275dir=a.FsC({type:oe}),j})(),H=(()=>{var oe;class j extends B{}return(oe=j).\u0275fac=(()=>{let Ne;return function(Qe){return(Ne||(Ne=a.xGo(oe)))(Qe||oe)}})(),oe.\u0275dir=a.FsC({type:oe,features:[a.Vt3]}),j})();const V=new a.nKC(""),le={provide:V,useExisting:(0,a.Rfq)(()=>we),multi:!0},q=new a.nKC("");let we=(()=>{var oe;class j extends B{constructor(re,Qe,On){super(re,Qe),this._compositionMode=On,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function W(){const oe=(0,s.QT)()?(0,s.QT)().getUserAgent():"";return/android (\d+)/.test(oe.toLowerCase())}())}writeValue(re){this.setProperty("value",null==re?"":re)}_handleInput(re){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(re)}_compositionStart(){this._composing=!0}_compositionEnd(re){this._composing=!1,this._compositionMode&&this.onChange(re)}}return(oe=j).\u0275fac=function(re){return new(re||oe)(a.rXU(a.sFG),a.rXU(a.aKT),a.rXU(q,8))},oe.\u0275dir=a.FsC({type:oe,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(re,Qe){1&re&&a.bIt("input",function(Vr){return Qe._handleInput(Vr.target.value)})("blur",function(){return Qe.onTouched()})("compositionstart",function(){return Qe._compositionStart()})("compositionend",function(Vr){return Qe._compositionEnd(Vr.target.value)})},features:[a.Jv_([le]),a.Vt3]}),j})();function ue(oe){return null==oe||("string"==typeof oe||Array.isArray(oe))&&0===oe.length}function Ie(oe){return null!=oe&&"number"==typeof oe.length}const ge=new a.nKC(""),he=new a.nKC(""),Me=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class $e{static min(j){return Pe(j)}static max(j){return Re(j)}static required(j){return function it(oe){return ue(oe.value)?{required:!0}:null}(j)}static requiredTrue(j){return function Be(oe){return!0===oe.value?null:{required:!0}}(j)}static email(j){return function We(oe){return ue(oe.value)||Me.test(oe.value)?null:{email:!0}}(j)}static minLength(j){return function Ae(oe){return j=>ue(j.value)||!Ie(j.value)?null:j.value.length<oe?{minlength:{requiredLength:oe,actualLength:j.value.length}}:null}(j)}static maxLength(j){return function k(oe){return j=>Ie(j.value)&&j.value.length>oe?{maxlength:{requiredLength:oe,actualLength:j.value.length}}:null}(j)}static pattern(j){return function z(oe){if(!oe)return ce;let j,Ne;return"string"==typeof oe?(Ne="","^"!==oe.charAt(0)&&(Ne+="^"),Ne+=oe,"$"!==oe.charAt(oe.length-1)&&(Ne+="$"),j=new RegExp(Ne)):(Ne=oe.toString(),j=oe),re=>{if(ue(re.value))return null;const Qe=re.value;return j.test(Qe)?null:{pattern:{requiredPattern:Ne,actualValue:Qe}}}}(j)}static nullValidator(j){return null}static compose(j){return $(j)}static composeAsync(j){return Ce(j)}}function Pe(oe){return j=>{if(ue(j.value)||ue(oe))return null;const Ne=parseFloat(j.value);return!isNaN(Ne)&&Ne<oe?{min:{min:oe,actual:j.value}}:null}}function Re(oe){return j=>{if(ue(j.value)||ue(oe))return null;const Ne=parseFloat(j.value);return!isNaN(Ne)&&Ne>oe?{max:{max:oe,actual:j.value}}:null}}function ce(oe){return null}function pe(oe){return null!=oe}function ve(oe){return(0,a.jNT)(oe)?(0,w.H)(oe):oe}function ze(oe){let j={};return oe.forEach(Ne=>{j=null!=Ne?{...j,...Ne}:j}),0===Object.keys(j).length?null:j}function fe(oe,j){return j.map(Ne=>Ne(oe))}function ee(oe){return oe.map(j=>function de(oe){return!oe.validate}(j)?j:Ne=>j.validate(Ne))}function $(oe){if(!oe)return null;const j=oe.filter(pe);return 0==j.length?null:function(Ne){return ze(fe(Ne,j))}}function se(oe){return null!=oe?$(ee(oe)):null}function Ce(oe){if(!oe)return null;const j=oe.filter(pe);return 0==j.length?null:function(Ne){const re=fe(Ne,j).map(ve);return(0,T.p)(re).pipe((0,F.T)(ze))}}function at(oe){return null!=oe?Ce(ee(oe)):null}function pt(oe,j){return null===oe?[j]:Array.isArray(oe)?[...oe,j]:[oe,j]}function ct(oe){return oe._rawValidators}function jt(oe){return oe._rawAsyncValidators}function jn(oe){return oe?Array.isArray(oe)?oe:[oe]:[]}function mn(oe,j){return Array.isArray(oe)?oe.includes(j):oe===j}function lr(oe,j){const Ne=jn(j);return jn(oe).forEach(Qe=>{mn(Ne,Qe)||Ne.push(Qe)}),Ne}function hr(oe,j){return jn(j).filter(Ne=>!mn(oe,Ne))}class $r{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(j){this._rawValidators=j||[],this._composedValidatorFn=se(this._rawValidators)}_setAsyncValidators(j){this._rawAsyncValidators=j||[],this._composedAsyncValidatorFn=at(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(j){this._onDestroyCallbacks.push(j)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(j=>j()),this._onDestroyCallbacks=[]}reset(j=void 0){this.control&&this.control.reset(j)}hasError(j,Ne){return!!this.control&&this.control.hasError(j,Ne)}getError(j,Ne){return this.control?this.control.getError(j,Ne):null}}class ur extends $r{get formDirective(){return null}get path(){return null}}class Fn extends $r{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class cr{constructor(j){this._cd=j}get isTouched(){var j,Ne,re;return null===(j=this._cd)||void 0===j||null===(j=j.control)||void 0===j||null===(Ne=j._touched)||void 0===Ne||Ne.call(j),!(null===(re=this._cd)||void 0===re||null===(re=re.control)||void 0===re||!re.touched)}get isUntouched(){var j;return!(null===(j=this._cd)||void 0===j||null===(j=j.control)||void 0===j||!j.untouched)}get isPristine(){var j,Ne,re;return null===(j=this._cd)||void 0===j||null===(j=j.control)||void 0===j||null===(Ne=j._pristine)||void 0===Ne||Ne.call(j),!(null===(re=this._cd)||void 0===re||null===(re=re.control)||void 0===re||!re.pristine)}get isDirty(){var j;return!(null===(j=this._cd)||void 0===j||null===(j=j.control)||void 0===j||!j.dirty)}get isValid(){var j,Ne,re;return null===(j=this._cd)||void 0===j||null===(j=j.control)||void 0===j||null===(Ne=j._status)||void 0===Ne||Ne.call(j),!(null===(re=this._cd)||void 0===re||null===(re=re.control)||void 0===re||!re.valid)}get isInvalid(){var j;return!(null===(j=this._cd)||void 0===j||null===(j=j.control)||void 0===j||!j.invalid)}get isPending(){var j;return!(null===(j=this._cd)||void 0===j||null===(j=j.control)||void 0===j||!j.pending)}get isSubmitted(){var j,Ne,re;return null===(j=this._cd)||void 0===j||null===(Ne=j._submitted)||void 0===Ne||Ne.call(j),!(null===(re=this._cd)||void 0===re||!re.submitted)}}let ht=(()=>{var oe;class j extends cr{constructor(re){super(re)}}return(oe=j).\u0275fac=function(re){return new(re||oe)(a.rXU(Fn,2))},oe.\u0275dir=a.FsC({type:oe,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(re,Qe){2&re&&a.AVh("ng-untouched",Qe.isUntouched)("ng-touched",Qe.isTouched)("ng-pristine",Qe.isPristine)("ng-dirty",Qe.isDirty)("ng-valid",Qe.isValid)("ng-invalid",Qe.isInvalid)("ng-pending",Qe.isPending)},features:[a.Vt3]}),j})(),Ot=(()=>{var oe;class j extends cr{constructor(re){super(re)}}return(oe=j).\u0275fac=function(re){return new(re||oe)(a.rXU(ur,10))},oe.\u0275dir=a.FsC({type:oe,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(re,Qe){2&re&&a.AVh("ng-untouched",Qe.isUntouched)("ng-touched",Qe.isTouched)("ng-pristine",Qe.isPristine)("ng-dirty",Qe.isDirty)("ng-valid",Qe.isValid)("ng-invalid",Qe.isInvalid)("ng-pending",Qe.isPending)("ng-submitted",Qe.isSubmitted)},features:[a.Vt3]}),j})();
1const _r="VALID",Jr="INVALID",ti="PENDING",ui="DISABLED";class _i{}class eo extends _i{constructor(j,Ne){super(),this.value=j,this.source=Ne}}class Yt extends _i{constructor(j,Ne){super(),this.pristine=j,this.source=Ne}}class Rt extends _i{constructor(j,Ne){super(),this.touched=j,this.source=Ne}}class tn extends _i{constructor(j,Ne){super(),this.status=j,this.source=Ne}}class Pt extends _i{constructor(j){super(),this.source=j}}class Gt extends _i{constructor(j){super(),this.source=j}}function Nn(oe){return(Kr(oe)?oe.validators:oe)||null}function Ur(oe,j){return(Kr(j)?j.asyncValidators:oe)||null}function Kr(oe){return null!=oe&&!Array.isArray(oe)&&"object"==typeof oe}function xi(oe,j,Ne){const re=oe.controls;if(!(j?Object.keys(re):re).length)throw new a.wOt(1e3,"");if(!re[Ne])throw new a.wOt(1001,"")}function Fi(oe,j,Ne){oe._forEachChild((re,Qe)=>{if(void 0===Ne[Qe])throw new a.wOt(1002,"")})}class ao{constructor(j,Ne){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,a.EWP)(()=>this.statusReactive()),this.statusReactive=(0,a.vPA)(void 0),this._pristine=(0,a.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,a.vPA)(!0),this._touched=(0,a.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,a.vPA)(!1),this._events=new x.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(j),this._assignAsyncValidators(Ne)}get validator(){return this._composedValidatorFn}set validator(j){this._rawValidators=this._composedValidatorFn=j}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(j){this._rawAsyncValidators=this._composedAsyncValidatorFn=j}get parent(){return this._parent}get status(){return(0,a.O8t)(this.statusReactive)}set status(j){(0,a.O8t)(()=>this.statusReactive.set(j))}get valid(){return this.status===_r}get invalid(){return this.status===Jr}get pending(){return this.status==ti}get disabled(){return this.status===ui}get enabled(){return this.status!==ui}get pristine(){return(0,a.O8t)(this.pristineReactive)}set pristine(j){(0,a.O8t)(()=>this.pristineReactive.set(j))}get dirty(){return!this.pristine}get touched(){return(0,a.O8t)(this.touchedReactive)}set touched(j){(0,a.O8t)(()=>this.touchedReactive.set(j))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(j){this._assignValidators(j)}setAsyncValidators(j){this._assignAsyncValidators(j)}addValidators(j){this.setValidators(lr(j,this._rawValidators))}addAsyncValidators(j){this.setAsyncValidators(lr(j,this._rawAsyncValidators))}removeValidators(j){this.setValidators(hr(j,this._rawValidators))}removeAsyncValidators(j){this.setAsyncValidators(hr(j,this._rawAsyncValidators))}hasValidator(j){return mn(this._rawValidators,j)}hasAsyncValidator(j){return mn(this._rawAsyncValidators,j)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(j={}){var Ne;const re=!1===this.touched;this.touched=!0;const Qe=null!==(Ne=j.sourceControl)&&void 0!==Ne?Ne:this;this._parent&&!j.onlySelf&&this._parent.markAsTouched({...j,sourceControl:Qe}),re&&!1!==j.emitEvent&&this._events.next(new Rt(!0,Qe))}markAllAsTouched(j={}){this.markAsTouched({onlySelf:!0,emitEvent:j.emitEvent,sourceControl:this}),this._forEachChild(Ne=>Ne.markAllAsTouched(j))}markAsUntouched(j={}){var Ne;const re=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const Qe=null!==(Ne=j.sourceControl)&&void 0!==Ne?Ne:this;this._forEachChild(On=>{On.markAsUntouched({onlySelf:!0,emitEvent:j.emitEvent,sourceControl:Qe})}),this._parent&&!j.onlySelf&&this._parent._updateTouched(j,Qe),re&&!1!==j.emitEvent&&this._events.next(new Rt(!1,Qe))}markAsDirty(j={}){var Ne;const re=!0===this.pristine;this.pristine=!1;const Qe=null!==(Ne=j.sourceControl)&&void 0!==Ne?Ne:this;this._parent&&!j.onlySelf&&this._parent.markAsDirty({...j,sourceControl:Qe}),re&&!1!==j.emitEvent&&this._events.next(new Yt(!1,Qe))}markAsPristine(j={}){var Ne;const re=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const Qe=null!==(Ne=j.sourceControl)&&void 0!==Ne?Ne:this;
1this._forEachChild(On=>{On.markAsPristine({onlySelf:!0,emitEvent:j.emitEvent})}),this._parent&&!j.onlySelf&&this._parent._updatePristine(j,Qe),re&&!1!==j.emitEvent&&this._events.next(new Yt(!0,Qe))}markAsPending(j={}){var Ne;this.status=ti;const re=null!==(Ne=j.sourceControl)&&void 0!==Ne?Ne:this;!1!==j.emitEvent&&(this._events.next(new tn(this.status,re)),this.statusChanges.emit(this.status)),this._parent&&!j.onlySelf&&this._parent.markAsPending({...j,sourceControl:re})}disable(j={}){var Ne;const re=this._parentMarkedDirty(j.onlySelf);this.status=ui,this.errors=null,this._forEachChild(On=>{On.disable({...j,onlySelf:!0})}),this._updateValue();const Qe=null!==(Ne=j.sourceControl)&&void 0!==Ne?Ne:this;!1!==j.emitEvent&&(this._events.next(new eo(this.value,Qe)),this._events.next(new tn(this.status,Qe)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...j,skipPristineCheck:re},this),this._onDisabledChange.forEach(On=>On(!0))}enable(j={}){const Ne=this._parentMarkedDirty(j.onlySelf);this.status=_r,this._forEachChild(re=>{re.enable({...j,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:j.emitEvent}),this._updateAncestors({...j,skipPristineCheck:Ne},this),this._onDisabledChange.forEach(re=>re(!1))}_updateAncestors(j,Ne){this._parent&&!j.onlySelf&&(this._parent.updateValueAndValidity(j),j.skipPristineCheck||this._parent._updatePristine({},Ne),this._parent._updateTouched({},Ne))}setParent(j){this._parent=j}getRawValue(){return this.value}updateValueAndValidity(j={}){var Ne;if(this._setInitialStatus(),this._updateValue(),this.enabled){const Qe=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===_r||this.status===ti)&&this._runAsyncValidator(Qe,j.emitEvent)}const re=null!==(Ne=j.sourceControl)&&void 0!==Ne?Ne:this;!1!==j.emitEvent&&(this._events.next(new eo(this.value,re)),this._events.next(new tn(this.status,re)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!j.onlySelf&&this._parent.updateValueAndValidity({...j,sourceControl:re})}_updateTreeValidity(j={emitEvent:!0}){this._forEachChild(Ne=>Ne._updateTreeValidity(j)),this.updateValueAndValidity({onlySelf:!0,emitEvent:j.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ui:_r}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(j,Ne){if(this.asyncValidator){this.status=ti,this._hasOwnPendingAsyncValidator={emitEvent:!1!==Ne};const re=ve(this.asyncValidator(this));this._asyncValidationSubscription=re.subscribe(Qe=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(Qe,{emitEvent:Ne,shouldHaveEmitted:j})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){var j,Ne;this._asyncValidationSubscription.unsubscribe();const re=null!==(j=null===(Ne=this._hasOwnPendingAsyncValidator)||void 0===Ne?void 0:Ne.emitEvent)&&void 0!==j&&j;return this._hasOwnPendingAsyncValidator=null,re}return!1}setErrors(j,Ne={}){this.errors=j,this._updateControlsErrors(!1!==Ne.emitEvent,this,Ne.shouldHaveEmitted)}get(j){let Ne=j;return null==Ne||(Array.isArray(Ne)||(Ne=Ne.split(".")),0===Ne.length)?null:Ne.reduce((re,Qe)=>re&&re._find(Qe),this)}getError(j,Ne){const re=Ne?this.get(Ne):this;return re&&re.errors?re.errors[j]:null}hasError(j,Ne){return!!this.getError(j,Ne)}get root(){let j=this;for(;j._parent;)j=j._parent;return j}_updateControlsErrors(j,Ne,re){this.status=this._calculateStatus(),j&&this.statusChanges.emit(this.status),(j||re)&&this._events.next(new tn(this.status,Ne)),this._parent&&this._parent._updateControlsErrors(j,Ne,re)}_initObservables(){this.valueChanges=new a.bkB,this.statusChanges=new a.bkB}_calculateStatus(){return this._allControlsDisabled()?ui:this.errors?Jr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ti)?ti:this._anyControlsHaveStatus(Jr)?Jr:_r}_anyControlsHaveStatus(j){return this._anyControls(Ne=>Ne.status===j)}_anyControlsDirty(){return this._anyControls(j=>j.dirty)}_anyControlsTouched(){return this._anyControls(j=>j.touched)}_updatePristine(j,Ne){const re=!this._anyControlsDirty(),Qe=this.pristine!==re;this.pristine=re,this._parent&&!j.onlySelf&&this._parent._updatePristine(j,Ne),Qe&&this._events.next(new Yt(this.pristine,Ne))}_updateTouched(j={},Ne){this.touched=this._anyControlsTouched(),this._events.next(new Rt(this.touched,Ne)),this._parent&&!j.onlySelf&&this._parent._updateTouched(j,Ne)}_registerOnCollectionChange(j){this._onCollectionChange=j}_setUpdateStrategy(j){Kr(j)&&null!=j.updateOn&&(this._updateOn=j.updateOn)}_parentMarkedDirty(j){return!j&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}
1_find(j){return null}_assignValidators(j){this._rawValidators=Array.isArray(j)?j.slice():j,this._composedValidatorFn=function Sr(oe){return Array.isArray(oe)?se(oe):oe||null}(this._rawValidators)}_assignAsyncValidators(j){this._rawAsyncValidators=Array.isArray(j)?j.slice():j,this._composedAsyncValidatorFn=function ii(oe){return Array.isArray(oe)?at(oe):oe||null}(this._rawAsyncValidators)}}class Oo extends ao{constructor(j,Ne,re){super(Nn(Ne),Ur(re,Ne)),this.controls=j,this._initObservables(),this._setUpdateStrategy(Ne),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(j,Ne){return this.controls[j]?this.controls[j]:(this.controls[j]=Ne,Ne.setParent(this),Ne._registerOnCollectionChange(this._onCollectionChange),Ne)}addControl(j,Ne,re={}){this.registerControl(j,Ne),this.updateValueAndValidity({emitEvent:re.emitEvent}),this._onCollectionChange()}removeControl(j,Ne={}){this.controls[j]&&this.controls[j]._registerOnCollectionChange(()=>{}),delete this.controls[j],this.updateValueAndValidity({emitEvent:Ne.emitEvent}),this._onCollectionChange()}setControl(j,Ne,re={}){this.controls[j]&&this.controls[j]._registerOnCollectionChange(()=>{}),delete this.controls[j],Ne&&this.registerControl(j,Ne),this.updateValueAndValidity({emitEvent:re.emitEvent}),this._onCollectionChange()}contains(j){return this.controls.hasOwnProperty(j)&&this.controls[j].enabled}setValue(j,Ne={}){Fi(this,0,j),Object.keys(j).forEach(re=>{xi(this,!0,re),this.controls[re].setValue(j[re],{onlySelf:!0,emitEvent:Ne.emitEvent})}),this.updateValueAndValidity(Ne)}patchValue(j,Ne={}){null!=j&&(Object.keys(j).forEach(re=>{const Qe=this.controls[re];Qe&&Qe.patchValue(j[re],{onlySelf:!0,emitEvent:Ne.emitEvent})}),this.updateValueAndValidity(Ne))}reset(j={},Ne={}){this._forEachChild((re,Qe)=>{re.reset(j?j[Qe]:null,{onlySelf:!0,emitEvent:Ne.emitEvent})}),this._updatePristine(Ne,this),this._updateTouched(Ne,this),this.updateValueAndValidity(Ne)}getRawValue(){return this._reduceChildren({},(j,Ne,re)=>(j[re]=Ne.getRawValue(),j))}_syncPendingControls(){let j=this._reduceChildren(!1,(Ne,re)=>!!re._syncPendingControls()||Ne);return j&&this.updateValueAndValidity({onlySelf:!0}),j}_forEachChild(j){Object.keys(this.controls).forEach(Ne=>{const re=this.controls[Ne];re&&j(re,Ne)}
1)}_setUpControls(){this._forEachChild(j=>{j.setParent(this),j._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(j){for(const[Ne,re]of Object.entries(this.controls))if(this.contains(Ne)&&j(re))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Ne,re,Qe)=>((re.enabled||this.disabled)&&(Ne[Qe]=re.value),Ne))}_reduceChildren(j,Ne){let re=j;return this._forEachChild((Qe,On)=>{re=Ne(re,Qe,On)}),re}_allControlsDisabled(){for(const j of Object.keys(this.controls))if(this.controls[j].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(j){return this.controls.hasOwnProperty(j)?this.controls[j]:null}}class xo extends Oo{}const vo=new a.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>hi}),hi="always";function no(oe,j){return[...j.path,oe]}function ji(oe,j,Ne=hi){var re,Qe;yt(oe,j),j.valueAccessor.writeValue(oe.value),(oe.disabled||"always"===Ne)&&(null===(re=(Qe=j.valueAccessor).setDisabledState)||void 0===re||re.call(Qe,oe.disabled)),function Nt(oe,j){j.valueAccessor.registerOnChange(Ne=>{oe._pendingValue=Ne,oe._pendingChange=!0,oe._pendingDirty=!0,"change"===oe.updateOn&&ke(oe,j)})}(oe,j),function Tt(oe,j){const Ne=(re,Qe)=>{j.valueAccessor.writeValue(re),Qe&&j.viewToModelUpdate(re)};oe.registerOnChange(Ne),j._registerOnDestroy(()=>{oe._unregisterOnChange(Ne)})}(oe,j),function je(oe,j){j.valueAccessor.registerOnTouched(()=>{oe._pendingTouched=!0,"blur"===oe.updateOn&&oe._pendingChange&&ke(oe,j),"submit"!==oe.updateOn&&oe.markAsTouched()})}(oe,j),function Po(oe,j){if(j.valueAccessor.setDisabledState){const Ne=re=>{j.valueAccessor.setDisabledState(re)};oe.registerOnDisabledChange(Ne),j._registerOnDestroy(()=>{oe._unregisterOnDisabledChange(Ne)})}}(oe,j)}function lo(oe,j,Ne=!0){const re=()=>{};j.valueAccessor&&(j.valueAccessor.registerOnChange(re),j.valueAccessor.registerOnTouched(re)),Je(oe,j),oe&&(j._invokeOnDestroyCallbacks(),oe._registerOnCollectionChange(()=>{}))}function co(oe,j){oe.forEach(Ne=>{Ne.registerOnValidatorChange&&Ne.registerOnValidatorChange(j)})}function yt(oe,j){const Ne=ct(oe);null!==j.validator?oe.setValidators(pt(Ne,j.validator)):"function"==typeof Ne&&oe.setValidators([Ne]);const re=jt(oe);null!==j.asyncValidator?oe.setAsyncValidators(pt(re,j.asyncValidator)):"function"==typeof re&&oe.setAsyncValidators([re]);const Qe=()=>oe.updateValueAndValidity();co(j._rawValidators,Qe),co(j._rawAsyncValidators,Qe)}function Je(oe,j){let Ne=!1;if(null!==oe){if(null!==j.validator){const Qe=ct(oe);
1if(Array.isArray(Qe)&&Qe.length>0){const On=Qe.filter(Vr=>Vr!==j.validator);On.length!==Qe.length&&(Ne=!0,oe.setValidators(On))}}if(null!==j.asyncValidator){const Qe=jt(oe);if(Array.isArray(Qe)&&Qe.length>0){const On=Qe.filter(Vr=>Vr!==j.asyncValidator);On.length!==Qe.length&&(Ne=!0,oe.setAsyncValidators(On))}}}const re=()=>{};return co(j._rawValidators,re),co(j._rawAsyncValidators,re),Ne}function ke(oe,j){oe._pendingDirty&&oe.markAsDirty(),oe.setValue(oe._pendingValue,{emitModelToViewChange:!1}),j.viewToModelUpdate(oe._pendingValue),oe._pendingChange=!1}function Zt(oe,j){yt(oe,j)}function fn(oe,j){if(!oe.hasOwnProperty("model"))return!1;const Ne=oe.model;return!!Ne.isFirstChange()||!Object.is(j,Ne.currentValue)}function ir(oe,j){oe._syncPendingControls(),j.forEach(Ne=>{const re=Ne.control;"submit"===re.updateOn&&re._pendingChange&&(Ne.viewToModelUpdate(re._pendingValue),re._pendingChange=!1)})}function er(oe,j){if(!j)return null;let Ne,re,Qe;return Array.isArray(j),j.forEach(On=>{On.constructor===we?Ne=On:function Dn(oe){return Object.getPrototypeOf(oe.constructor)===H}(On)?re=On:Qe=On}),Qe||re||Ne||null}const Bi={provide:ur,useExisting:(0,a.Rfq)(()=>Ui)},Pi=Promise.resolve();let Ui=(()=>{var oe;class j extends ur{get submitted(){return(0,a.O8t)(this.submittedReactive)}constructor(re,Qe,On){super(),this.callSetDisabledState=On,this._submitted=(0,a.EWP)(()=>this.submittedReactive()),this.submittedReactive=(0,a.vPA)(!1),this._directives=new Set,this.ngSubmit=new a.bkB,this.form=new Oo({},se(re),at(Qe))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(re){Pi.then(()=>{const Qe=this._findContainer(re.path);re.control=Qe.registerControl(re.name,re.control),ji(re.control,re,this.callSetDisabledState),re.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(re)})}getControl(re){return this.form.get(re.path)}
1removeControl(re){Pi.then(()=>{const Qe=this._findContainer(re.path);Qe&&Qe.removeControl(re.name),this._directives.delete(re)})}addFormGroup(re){Pi.then(()=>{const Qe=this._findContainer(re.path),On=new Oo({});Zt(On,re),Qe.registerControl(re.name,On),On.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(re){Pi.then(()=>{const Qe=this._findContainer(re.path);Qe&&Qe.removeControl(re.name)})}getFormGroup(re){return this.form.get(re.path)}updateModel(re,Qe){Pi.then(()=>{this.form.get(re.path).setValue(Qe)})}setValue(re){this.control.setValue(re)}onSubmit(re){var Qe;return this.submittedReactive.set(!0),ir(this.form,this._directives),this.ngSubmit.emit(re),"dialog"===(null==re||null===(Qe=re.target)||void 0===Qe?void 0:Qe.method)}onReset(){this.resetForm()}resetForm(re=void 0){this.form.reset(re),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(re){return re.pop(),re.length?this.form.get(re):this.form}}return(oe=j).\u0275fac=function(re){return new(re||oe)(a.rXU(ge,10),a.rXU(he,10),a.rXU(vo,8))},oe.\u0275dir=a.FsC({type:oe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(re,Qe){1&re&&a.bIt("submit",function(Vr){return Qe.onSubmit(Vr)})("reset",function(){return Qe.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a.Jv_([Bi]),a.Vt3]}),j})();function yo(oe,j){const Ne=oe.indexOf(j);Ne>-1&&oe.splice(Ne,1)}function uo(oe){return"object"==typeof oe&&null!==oe&&2===Object.keys(oe).length&&"value"in oe&&"disabled"in oe}const Ni=class extends ao{constructor(j=null,Ne,re){super(Nn(Ne),Ur(re,Ne)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(j),this._setUpdateStrategy(Ne),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Kr(Ne)&&(Ne.nonNullable||Ne.initialValueIsDefault)&&(this.defaultValue=uo(j)?j.value:j)}setValue(j,Ne={}){this.value=this._pendingValue=j,this._onChange.length&&!1!==Ne.emitModelToViewChange&&this._onChange.forEach(re=>re(this.value,!1!==Ne.emitViewToModelChange)),this.updateValueAndValidity(Ne)}patchValue(j,Ne={}){this.setValue(j,Ne)}reset(j=this.defaultValue,Ne={}){this._applyFormState(j),this.markAsPristine(Ne),this.markAsUntouched(Ne),this.setValue(this.value,Ne),this._pendingChange=!1}_updateValue(){}_anyControls(j){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(j){this._onChange.push(j)}_unregisterOnChange(j){yo(this._onChange,j)}registerOnDisabledChange(j){this._onDisabledChange.push(j)}_unregisterOnDisabledChange(j){yo(this._onDisabledChange,j)}_forEachChild(j){}_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(j){uo(j)?(this.value=this._pendingValue=j.value,j.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=j}},Ee={provide:Fn,useExisting:(0,a.Rfq)(()=>G)},Ke=Promise.resolve();let G=(()=>{var oe;class j extends Fn{constructor(re,Qe,On,Vr,Ao,Bs){super(),this._changeDetectorRef=Ao,this.callSetDisabledState=Bs,this.control=new Ni,this._registered=!1,this.name="",this.update=new a.bkB,this._parent=re,this._setValidators(Qe),this._setAsyncValidators(On),this.valueAccessor=er(0,Vr)}ngOnChanges(re){if(this._checkForErrors(),!this._registered||"name"in re){if(this._registered&&(this._checkName(),this.formDirective)){const Qe=re.name.previousValue;this.formDirective.removeControl({name:Qe,path:this._getPath(Qe)})}this._setUpControl()}"isDisabled"in re&&this._updateDisabled(re),fn(re,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(re){this.viewModel=re,this.update.emit(re)}_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(){ji(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()}
1_updateValue(re){Ke.then(()=>{var Qe;this.control.setValue(re,{emitViewToModelChange:!1}),null===(Qe=this._changeDetectorRef)||void 0===Qe||Qe.markForCheck()})}_updateDisabled(re){const Qe=re.isDisabled.currentValue,On=0!==Qe&&(0,a.L39)(Qe);Ke.then(()=>{var Vr;On&&!this.control.disabled?this.control.disable():!On&&this.control.disabled&&this.control.enable(),null===(Vr=this._changeDetectorRef)||void 0===Vr||Vr.markForCheck()})}_getPath(re){return this._parent?no(re,this._parent):[re]}}return(oe=j).\u0275fac=function(re){return new(re||oe)(a.rXU(ur,9),a.rXU(ge,10),a.rXU(he,10),a.rXU(V,10),a.rXU(a.gRc,8),a.rXU(vo,8))},oe.\u0275dir=a.FsC({type:oe,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a.Jv_([Ee]),a.Vt3,a.OA$]}),j})(),qe=(()=>{var oe;class j{}return(oe=j).\u0275fac=function(re){return new(re||oe)},oe.\u0275dir=a.FsC({type:oe,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),j})();const Ea=new a.nKC(""),Ca={provide:ur,useExisting:(0,a.Rfq)(()=>Hi)};let Hi=(()=>{var oe;class j extends ur{get submitted(){return(0,a.O8t)(this._submittedReactive)}set submitted(re){this._submittedReactive.set(re)}constructor(re,Qe,On){super(),this.callSetDisabledState=On,this._submitted=(0,a.EWP)(()=>this._submittedReactive()),this._submittedReactive=(0,a.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new a.bkB,this._setValidators(re),this._setAsyncValidators(Qe)}ngOnChanges(re){this._checkFormPresent(),re.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Je(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(re){const Qe=this.form.get(re.path);return ji(Qe,re,this.callSetDisabledState),Qe.updateValueAndValidity({emitEvent:!1}),this.directives.push(re),Qe}getControl(re){return this.form.get(re.path)}
1removeControl(re){lo(re.control||null,re,!1),function Wr(oe,j){const Ne=oe.indexOf(j);Ne>-1&&oe.splice(Ne,1)}(this.directives,re)}addFormGroup(re){this._setUpFormContainer(re)}removeFormGroup(re){this._cleanUpFormContainer(re)}getFormGroup(re){return this.form.get(re.path)}addFormArray(re){this._setUpFormContainer(re)}removeFormArray(re){this._cleanUpFormContainer(re)}getFormArray(re){return this.form.get(re.path)}updateModel(re,Qe){this.form.get(re.path).setValue(Qe)}onSubmit(re){var Qe;return this._submittedReactive.set(!0),ir(this.form,this.directives),this.ngSubmit.emit(re),this.form._events.next(new Pt(this.control)),"dialog"===(null==re||null===(Qe=re.target)||void 0===Qe?void 0:Qe.method)}onReset(){this.resetForm()}resetForm(re=void 0){this.form.reset(re),this._submittedReactive.set(!1),this.form._events.next(new Gt(this.form))}_updateDomValue(){this.directives.forEach(re=>{const Qe=re.control,On=this.form.get(re.path);Qe!==On&&(lo(Qe||null,re),(oe=>oe instanceof Ni)(On)&&(ji(On,re,this.callSetDisabledState),re.control=On))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(re){const Qe=this.form.get(re.path);Zt(Qe,re),Qe.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(re){if(this.form){const Qe=this.form.get(re.path);Qe&&function In(oe,j){return Je(oe,j)}(Qe,re)&&Qe.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){yt(this.form,this),this._oldForm&&Je(this._oldForm,this)}_checkFormPresent(){}}return(oe=j).\u0275fac=function(re){return new(re||oe)(a.rXU(ge,10),a.rXU(he,10),a.rXU(vo,8))},oe.\u0275dir=a.FsC({type:oe,selectors:[["","formGroup",""]],hostBindings:function(re,Qe){1&re&&a.bIt("submit",function(Vr){return Qe.onSubmit(Vr)})("reset",function(){return Qe.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a.Jv_([Ca]),a.Vt3,a.OA$]}),j})();const Ft={provide:Fn,useExisting:(0,a.Rfq)(()=>$t)};let $t=(()=>{var oe;class j extends Fn{set isDisabled(re){}constructor(re,Qe,On,Vr,Ao){super(),this._ngModelWarningConfig=Ao,this._added=!1,this.name=null,this.update=new a.bkB,this._ngModelWarningSent=!1,this._parent=re,this._setValidators(Qe),this._setAsyncValidators(On),this.valueAccessor=er(0,Vr)}ngOnChanges(re){this._added||this._setUpControl(),fn(re,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(re){this.viewModel=re,this.update.emit(re)}get path(){return no(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return(oe=j)._ngModelWarningSentOnce=!1,oe.\u0275fac=function(re){return new(re||oe)(a.rXU(ur,13),a.rXU(ge,10),a.rXU(he,10),a.rXU(V,10),a.rXU(Ea,8))},oe.\u0275dir=a.FsC({type:oe,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[a.Jv_([Ft]),a.Vt3,a.OA$]}),j})();const bn={provide:V,useExisting:(0,a.Rfq)(()=>An),multi:!0};function xn(oe,j){return null==oe?`${j}`:(j&&"object"==typeof j&&(j="Object"),`${oe}: ${j}`.slice(0,50))}let An=(()=>{var oe;class j extends H{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(re){this._compareWith=re}writeValue(re){this.value=re;const On=xn(this._getOptionId(re),re);this.setProperty("value",On)}registerOnChange(re){this.onChange=Qe=>{this.value=this._getOptionValue(Qe),re(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(re){for(const Qe of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Qe),re))return Qe;return null}_getOptionValue(re){const Qe=function ln(oe){return oe.split(":")[0]}(re);return this._optionMap.has(Qe)?this._optionMap.get(Qe):re}}return(oe=j).\u0275fac=(()=>{let Ne;return function(Qe){return(Ne||(Ne=a.xGo(oe)))(Qe||oe)}})(),oe.\u0275dir=a.FsC({type:oe,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(re,Qe){1&re&&a.bIt("change",function(Vr){return Qe.onCh
1ange(Vr.target.value)})("blur",function(){return Qe.onTouched()})},inputs:{compareWith:"compareWith"},features:[a.Jv_([bn]),a.Vt3]}),j})(),pr=(()=>{var oe;class j{constructor(re,Qe,On){this._element=re,this._renderer=Qe,this._select=On,this._select&&(this.id=this._select._registerOption())}set ngValue(re){null!=this._select&&(this._select._optionMap.set(this.id,re),this._setElementValue(xn(this.id,re)),this._select.writeValue(this._select.value))}set value(re){this._setElementValue(re),this._select&&this._select.writeValue(this._select.value)}_setElementValue(re){this._renderer.setProperty(this._element.nativeElement,"value",re)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(oe=j).\u0275fac=function(re){return new(re||oe)(a.rXU(a.aKT),a.rXU(a.sFG),a.rXU(An,9))},oe.\u0275dir=a.FsC({type:oe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),j})();const Cr={provide:V,useExisting:(0,a.Rfq)(()=>Wi),multi:!0};function Or(oe,j){return null==oe?`${j}`:("string"==typeof j&&(j=`'${j}'`),j&&"object"==typeof j&&(j="Object"),`${oe}: ${j}`.slice(0,50))}let Wi=(()=>{var oe;class j extends H{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(re){this._compareWith=re}writeValue(re){let Qe;if(this.value=re,Array.isArray(re)){const On=re.map(Vr=>this._getOptionId(Vr));Qe=(Vr,Ao)=>{Vr._setSelected(On.indexOf(Ao.toString())>-1)}}else Qe=(On,Vr)=>{On._setSelected(!1)};this._optionMap.forEach(Qe)}registerOnChange(re){this.onChange=Qe=>{const On=[],Vr=Qe.selectedOptions;if(void 0!==Vr){const Ao=Vr;for(let Bs=0;Bs<Ao.length;Bs++){const Br=this._getOptionValue(Ao[Bs].value);On.push(Br)}}else{const Ao=Qe.options;for(let Bs=0;Bs<Ao.length;Bs++){const Go=Ao[Bs];if(Go.selected){const Br=this._getOptionValue(Go.value);On.push(Br)}}}this.value=On,re(On)}}_registerOption(re){const Qe=(this._idCounter++).toString();return this._optionMap.set(Qe,re),Qe}_getOptionId(re){for(const Qe of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Qe)._value,re))return Qe;return null}_getOptionValue(re){const Qe=function Rr(oe){return oe.split(":")[0]}(re);return this._optionMap.has(Qe)?this._optionMap.get(Qe)._value:re}}return(oe=j).\u0275fac=(()=>{let Ne;return function(Qe){return(Ne||(Ne=a.xGo(oe)))(Qe||oe)}})(),oe.\u0275dir=a.FsC({type:oe,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(re,Qe){1&re&&a.bIt("change",function(Vr){return Qe.onChange(Vr.target)})("blur",function(){return Qe.onTouched()})},inputs:{compareWith:"compareWith"},features:[a.Jv_([Cr]),a.Vt3]}),j})(),so=(()=>{var oe;class j{constructor(re,Qe,On){this._element=re,this._renderer=Qe,this._select=On,this._select&&(this.id=this._select._registerOption(this))}set ngValue(re){null!=this._select&&(this._value=re,this._setElementValue(Or(this.id,re)),this._select.writeValue(this._select.value))}set value(re){this._select?(this._value=re,this._setElementValue(Or(this.id,re)),this._select.writeValue(this._select.value)):this._setElementValue(re)}_setElementValue(re){this._renderer.setProperty(this._element.nativeElement,"value",re)}_setSelected(re){this._renderer.setProperty(this._element.nativeElement,"selected",re)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return(oe=j).\u0275fac=function(re){return new(re||oe)(a.rXU(a.aKT),a.rXU(a.sFG),a.rXU(Wi,9))},oe.\u0275dir=a.FsC({type:oe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),j})();function Co(oe){return"number"==typeof oe?oe:parseFloat(oe)}let Jn=(()=>{var oe;class j{constructor(){this._validator=ce}ngOnChanges(re){if(this.inputName in re){const Qe=this.normalizeInput(re[this.inputName].currentValue);this._enabled=this.enabled(Qe),this._validator=this._enabled?this.createValidator(Qe):ce,this._onChange&&this._onChange()}}validate(re){return this._validator(re)}registerOnValidatorChange(re){this._onChange=re}enabled(re){return null!=re}}return(oe=j).\u0275fac=function(re){return new(re||oe)},oe.\u0275dir=a.FsC({type:oe,features:[a.OA$]}),j})();const Do={provide:ge,useExisting:(0,a.Rfq)(()=>gs),multi:!0};let gs=(()=>{var oe;class j extends Jn{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=re=>Co(re),this.createValidator=re=>Re(re)}}return(oe=j).\u0275fac=(()=>{let Ne;return function(Qe){return(Ne||(Ne=a.xGo(oe)))(Qe||oe)}})(),oe.\u0275dir=a.FsC({type:oe,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(re,Qe){2&re&&a.BMQ("max",Qe._enabled?Qe.max:null)},inputs:{max:"max"},features:[a.Jv_([Do]),a.Vt3]}),j})();const Ai={provide:ge,useExisting:(0,a.Rfq)(()=>bs),multi:!0};let bs=(()=>{var oe;class j extends Jn{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=re=>Co(re),this.createValidator=re=>Pe(re)}}return(oe=j).\u0275fac=(()=>{let Ne;return function(Qe){return(Ne||(Ne=a.xGo(oe)))(Qe||oe)}})(),oe.\u0275dir=a.FsC({type:oe,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(re,Qe){2&re&&a.BMQ("min",Qe._enabled?Qe.min:null)},inputs:{min:"min"},features:[a.Jv_([Ai]),a.Vt3]}),j})(),wo=(()=>{var oe;class j{}return(oe=j).\u0275fac=function(re){return new(re||oe)},oe.\u0275mod=a.$C({type:oe}),oe.\u0275inj=a.G2t({}),j})();class Da extends ao{constructor(j,Ne,re){super(Nn(Ne),Ur(re,Ne)),this.controls=j,this._initOb
1servables(),this._setUpdateStrategy(Ne),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(j){return this.controls[this._adjustIndex(j)]}push(j,Ne={}){this.controls.push(j),this._registerControl(j),this.updateValueAndValidity({emitEvent:Ne.emitEvent}),this._onCollectionChange()}insert(j,Ne,re={}){this.controls.splice(j,0,Ne),this._registerControl(Ne),this.updateValueAndValidity({emitEvent:re.emitEvent})}removeAt(j,Ne={}){let re=this._adjustIndex(j);re<0&&(re=0),this.controls[re]&&this.controls[re]._registerOnCollectionChange(()=>{}),this.controls.splice(re,1),this.updateValueAndValidity({emitEvent:Ne.emitEvent})}setControl(j,Ne,re={}){let Qe=this._adjustIndex(j);Qe<0&&(Qe=0),this.controls[Qe]&&this.controls[Qe]._registerOnCollectionChange(()=>{}),this.controls.splice(Qe,1),Ne&&(this.controls.splice(Qe,0,Ne),this._registerControl(Ne)),this.updateValueAndValidity({emitEvent:re.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(j,Ne={}){Fi(this,0,j),j.forEach((re,Qe)=>{xi(this,!1,Qe),this.at(Qe).setValue(re,{onlySelf:!0,emitEvent:Ne.emitEvent})}),this.updateValueAndValidity(Ne)}patchValue(j,Ne={}){null!=j&&(j.forEach((re,Qe)=>{this.at(Qe)&&this.at(Qe).patchValue(re,{onlySelf:!0,emitEvent:Ne.emitEvent})}),this.updateValueAndValidity(Ne))}reset(j=[],Ne={}){this._forEachChild((re,Qe)=>{re.reset(j[Qe],{onlySelf:!0,emitEvent:Ne.emitEvent})}),this._updatePristine(Ne,this),this._updateTouched(Ne,this),this.updateValueAndValidity(Ne)}getRawValue(){return this.controls.map(j=>j.getRawValue())}clear(j={}){this.controls.length<1||(this._forEachChild(Ne=>Ne._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:j.emitEvent}))}_adjustIndex(j){return j<0?j+this.length:j}_syncPendingControls(){let j=this.controls.reduce((Ne,re)=>!!re._syncPendingControls()||Ne,!1);return j&&this.updateValueAndValidity({onlySelf:!0}),j}_forEachChild(j){this.controls.forEach((Ne,re)=>{j(Ne,re)})}_updateValue(){this.value=this.controls.filter(j=>j.enabled||this.disabled).map(j=>j.value)}_anyControls(j){return this.controls.some(Ne=>Ne.enabled&&j(Ne))}_setUpControls(){this._forEachChild(j=>this._registerControl(j))}_allControlsDisabled(){for(const j of this.controls)if(j.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(j){j.setParent(this),j._registerOnCollectionChange(this._onCollectionChange)}_find(j){var Ne;return null!==(Ne=this.at(j))&&void 0!==Ne?Ne:null}}function Sa(oe){return!!oe&&(void 0!==oe.asyncValidators||void 0!==oe.validators||void 0!==oe.updateOn)}let oi=(()=>{var oe;class j{constructor(){this.useNonNullable=!1}get nonNullable(){const re=new j;return re.useNonNullable=!0,re}group(re,Qe=null){const On=this._reduceControls(re);let Vr={};return Sa(Qe)?Vr=Qe:null!==Qe&&(Vr.validators=Qe.validator,Vr.asyncValidators=Qe.asyncValidator),new Oo(On,Vr)}record(re,Qe=null){const On=this._reduceControls(re);return new xo(On,Qe)}control(re,Qe,On){let Vr={};return this.useNonNullable?(Sa(Qe)?Vr=Qe:(Vr.validators=Qe,Vr.asyncValidators=On),new Ni(re,{...Vr,nonNullable:!0})):new Ni(re,Qe,On)}array(re,Qe,On){const Vr=re.map(Ao=>this._createControl(Ao));return new Da(Vr,Qe,On)}_reduceControls(re){const Qe={};return Object.keys(re).forEach(On=>{Qe[On]=this._createControl(re[On])}),Qe}_createControl(re){return re instanceof Ni||re instanceof ao?re:Array.isArray(re)?this.control(re[0],re.length>1?re[1]:null,re.length>2?re[2]:null):this.control(re)}}return(oe=j).\u0275fac=function(re){return new(re||oe)},oe.\u0275prov=a.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"}),j})(),Fs=(()=>{var oe;class j{static withConfig(re){var Qe;return{ngModule:j,providers:[{provide:vo,useValue:null!==(Qe=re.callSetDisabledState)&&void 0!==Qe?Qe:hi}]}}}return(oe=j).\u0275fac=function(re){return new(re||oe)},oe.\u0275mod=a.$C({type:oe}),oe.\u0275inj=a.G2t({imports:[wo]}),j})(),wa=(()=>{var oe;class j{static withConfig(re){var Qe,On;return{ngModule:j,providers:[{provide:Ea,useValue:null!==(Qe=re.warnOnNgModelWithFormControl)&&void 0!==Qe?Qe:"always"},{provide:vo,useValue:null!==(On=re.callSetDisabledState)&&void 0!==On?On:hi}]}}}return(oe=j).\u0275fac=function(re){return new(re||oe)},oe.\u0275mod=a.$C({type:oe}),oe.\u0275inj=a.G2t({imports:[wo]}),j})()},345:(wt,Se,u)=>{"use strict";u.d(Se,{B7:()=>Be,Bb:()=>cr,hE:()=>ht,sG:()=>hr,up:()=>Lt});var a=u(177),s=u(3953);class w extends a.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class T extends w{static makeCurrent(){(0,a.ZD)(new T)}onAndCancel(Rt,tn,Pt){return Rt.addEventListener(tn,Pt),()=>{Rt.removeEventListener(tn,Pt)}}dispatchEvent(Rt,tn){Rt.dispatchEvent(tn)}remove(Rt){Rt.parentNode&&Rt.parentNode.removeChild(Rt)}createElement(Rt,tn){return(tn=tn||this.getDefaultDocument()).createElement(Rt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Rt){return Rt.nodeType===Node.ELEMENT_NODE}isShadowRoot(Rt){return Rt instanceof DocumentFragment}getGlobalEventTarget(Rt,tn){return"window"===tn?window:"document"===tn?Rt:"body"===tn?Rt.body:null}getBaseHref(Rt){const tn=function F(){return x=x||document.querySelector("base"),x?x.getAttribute("href"):null}();return null==tn?null:function B(Yt){return new URL(Yt,document.baseURI).pathname}(tn)}resetBaseElement(){x=null}getUserAgent(){return window.navigator.userAgent}getCookie(Rt){return(0,a._b)(document.cookie,Rt)}}let x=null,V=(()=>{var Yt;class Rt{build(){return new XMLHttpRequest}}return(Yt=Rt).\u0275fac=function(Pt){return new(Pt||Yt)},Yt.\u0275prov=s.jDH({token:Yt,factory:Yt.\u0275fac}),Rt})();const L=new s.nKC("");let U=(()=>{var Yt;class Rt{constructor(Pt,Gt){this._zone=Gt,this._eventNameToPlugin=new Map,Pt.forEach(Nn=>{Nn.manager=this}),this._plugins=Pt.slice().reverse()}addEventListener(Pt,Gt,Nn){return this._findPluginFor(Gt).addEventListener(Pt,Gt,Nn)}getZone(){return this._zone}_findPluginFor(Pt){let Gt=this._eventNameToPlugin.get(Pt);if(Gt)return Gt;if(Gt=this._plugins.find(Sr=>
1Sr.supports(Pt)),!Gt)throw new s.wOt(5101,!1);return this._eventNameToPlugin.set(Pt,Gt),Gt}}return(Yt=Rt).\u0275fac=function(Pt){return new(Pt||Yt)(s.KVO(L),s.KVO(s.SKi))},Yt.\u0275prov=s.jDH({token:Yt,factory:Yt.\u0275fac}),Rt})();class le{constructor(Rt){this._doc=Rt}}const W="ng-app-id";let q=(()=>{var Yt;class Rt{constructor(Pt,Gt,Nn,Sr={}){this.doc=Pt,this.appId=Gt,this.nonce=Nn,this.platformId=Sr,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,a.Vy)(Sr),this.resetHostNodes()}addStyles(Pt){for(const Gt of Pt)1===this.changeUsageCount(Gt,1)&&this.onStyleAdded(Gt)}removeStyles(Pt){for(const Gt of Pt)this.changeUsageCount(Gt,-1)<=0&&this.onStyleRemoved(Gt)}ngOnDestroy(){const Pt=this.styleNodesInDOM;Pt&&(Pt.forEach(Gt=>Gt.remove()),Pt.clear());for(const Gt of this.getAllStyles())this.onStyleRemoved(Gt);this.resetHostNodes()}addHost(Pt){this.hostNodes.add(Pt);for(const Gt of this.getAllStyles())this.addStyleToHost(Pt,Gt)}removeHost(Pt){this.hostNodes.delete(Pt)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Pt){for(const Gt of this.hostNodes)this.addStyleToHost(Gt,Pt)}onStyleRemoved(Pt){var Gt;const Nn=this.styleRef;null===(Gt=Nn.get(Pt))||void 0===Gt||null===(Gt=Gt.elements)||void 0===Gt||Gt.forEach(Sr=>Sr.remove()),Nn.delete(Pt)}collectServerRenderedStyles(){var Pt;const Gt=null===(Pt=this.doc.head)||void 0===Pt?void 0:Pt.querySelectorAll(`style[${W}="${this.appId}"]`);if(null!=Gt&&Gt.length){const Nn=new Map;return Gt.forEach(Sr=>{null!=Sr.textContent&&Nn.set(Sr.textContent,Sr)}),Nn}return null}changeUsageCount(Pt,Gt){const Nn=this.styleRef;if(Nn.has(Pt)){const Sr=Nn.get(Pt);return Sr.usage+=Gt,Sr.usage}return Nn.set(Pt,{usage:Gt,elements:[]}),Gt}getStyleElement(Pt,Gt){const Nn=this.styleNodesInDOM,Sr=null==Nn?void 0:Nn.get(Gt);if((null==Sr?void 0:Sr.parentNode)===Pt)return Nn.delete(Gt),Sr.removeAttribute(W),Sr;{const Ur=this.doc.createElement("style");return this.nonce&&Ur.setAttribute("nonce",this.nonce),Ur.textContent=Gt,this.platformIsServer&&Ur.setAttribute(W,this.appId),Pt.appendChild(Ur),Ur}}addStyleToHost(Pt,Gt){var Nn;const Sr=this.getStyleElement(Pt,Gt),Ur=this.styleRef,ii=null===(Nn=Ur.get(Gt))||void 0===Nn?void 0:Nn.elements;ii?ii.push(Sr):Ur.set(Gt,{elements:[Sr],usage:1})}resetHostNodes(){const Pt=this.hostNodes;Pt.clear(),Pt.add(this.doc.head)}}return(Yt=Rt).\u0275fac=function(Pt){return new(Pt||Yt)(s.KVO(a.qQ),s.KVO(s.sZ2),s.KVO(s.BIS,8),s.KVO(s.Agw))},Yt.\u0275prov=s.jDH({token:Yt,factory:Yt.\u0275fac}),Rt})();const we={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},ue=/%COMP%/g,$e=new s.nKC("",{providedIn:"root",factory:()=>!0});function it(Yt,Rt){return Rt.map(tn=>tn.replace(ue,Yt))}let Be=(()=>{var Yt;class Rt{constructor(Pt,Gt,Nn,Sr,Ur,ii,Kr,xi=null){this.eventManager=Pt,this.sharedStylesHost=Gt,this.appId=Nn,this.removeStylesOnCompDestroy=Sr,this.doc=Ur,this.platformId=ii,this.ngZone=Kr,this.nonce=xi,this.rendererByCompId=new Map,this.platformIsServer=(0,a.Vy)(ii),this.defaultRenderer=new We(Pt,Ur,Kr,this.platformIsServer)}createRenderer(Pt,Gt){if(!Pt||!Gt)return this.defaultRenderer;this.platformIsServer&&Gt.encapsulation===s.gXe.ShadowDom&&(Gt={...Gt,encapsulation:s.gXe.Emulated});const Nn=this.getOrCreateRenderer(Pt,Gt);return Nn instanceof ve?Nn.applyToHost(Pt):Nn instanceof pe&&Nn.applyStyles(),Nn}getOrCreateRenderer(Pt,Gt){const Nn=this.rendererByCompId;let Sr=Nn.get(Gt.id);if(!Sr){const Ur=this.doc,ii=this.ngZone,Kr=this.eventManager,xi=this.sharedStylesHost,Fi=this.removeStylesOnCompDestroy,ao=this.platformIsServer;switch(Gt.encapsulation){case s.gXe.Emulated:Sr=new ve(Kr,xi,Gt,this.appId,Fi,Ur,ii,ao);break;case s.gXe.ShadowDom:return new ce(Kr,xi,Pt,Gt,Ur,ii,this.nonce,ao);default:Sr=new pe(Kr,xi,Gt,Fi,Ur,ii,ao)}Nn.set(Gt.id,Sr)}return Sr}ngOnDestroy(){this.rendererByCompId.clear()}}return(Yt=Rt).\u0275fac=function(Pt){return new(Pt||Yt)(s.KVO(U),s.KVO(q),s.KVO(s.sZ2),s.KVO($e),s.KVO(a.qQ),s.KVO(s.Agw),s.KVO(s.SKi),s.KVO(s.BIS))},Yt.\u0275prov=s.jDH({token:Yt,factory:Yt.\u0275fac}),Rt})();class We{constructor(Rt,tn,Pt,Gt){this.eventManager=Rt,this.doc=tn,this.ngZone=Pt,this.platformIsServer=Gt,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(Rt,tn){return tn?this.doc.createElementNS(we[tn]||tn,Rt):this.doc.createElement(Rt)}createComment(Rt){return this.doc.createComment(Rt)}createText(Rt){return this.doc.createTextNode(Rt)}appendChild(Rt,tn){(z(Rt)?Rt.content:Rt).appendChild(tn)}insertBefore(Rt,tn,Pt){Rt&&(z(Rt)?Rt.content:Rt).insertBefore(tn,Pt)}removeChild(Rt,tn){Rt&&Rt.removeChild(tn)}selectRootElement(Rt,tn){let Pt="string"==typeof Rt?this.doc.querySelector(Rt):Rt;if(!Pt)throw new s.wOt(-5104,!1);return tn||(Pt.textContent=""),Pt}parentNode(Rt){return Rt.parentNode}nextSibling(Rt){return Rt.nextSibling}setAttribute(Rt,tn,Pt,Gt){if(Gt){tn=Gt+":"+tn;const Nn=we[Gt];Nn?Rt.setAttributeNS(Nn,tn,Pt):Rt.setAttribute(tn,Pt)}else Rt.setAttribute(tn,Pt)}removeAttribute(Rt,tn,Pt){if(Pt){const Gt=we[Pt];Gt?Rt.removeAttributeNS(Gt,tn):Rt.removeAttribute(`${Pt}:${tn}`)}else Rt.removeAttribute(tn)}addClass(Rt,tn){Rt.classList.add(tn)}removeClass(Rt,tn){Rt.classList.remove(tn)}setStyle(Rt,tn,Pt,Gt){Gt&(s.czy.DashCase|s.czy.Important)?Rt.style.setProperty(tn,Pt,Gt&s.czy.Important?"important":""):Rt.style[tn]=Pt}removeStyle(Rt,tn,Pt){Pt&s.czy.DashCase?Rt.style.removeProperty(tn):Rt.style[tn]=""}setProperty(Rt,tn,Pt){null!=Rt&&(Rt[tn]=Pt)}setValue(Rt,tn){Rt.nodeValue=tn}listen(Rt,tn,Pt){if("string"==typeof Rt&&!(Rt=(0,a.QT)().getGlobalEventTarget(this.doc,Rt)))throw new Error(`Unsupported event target ${Rt} for event ${tn}`);return this.eventManager.addEventListener(Rt,tn,this.decoratePreventDefault(Pt))}decoratePreventDefault(Rt){return tn=>{if("__ngUnwrap__"===tn)return Rt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Rt(tn)):Rt(tn))&&tn.preventDefault()}}}function z(Yt){return"TEMPLATE"===Yt.tagName&&void 0!==Yt.content}class ce extends We{constructor(Rt,tn,Pt,Gt,Nn,Sr,Ur,ii){super(Rt,Nn,Sr,ii),this.sharedStylesHost=tn,this.hostEl=Pt,this.shadowRoot=Pt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Kr=it(Gt.id,Gt.styles);for(const xi of Kr){const Fi=document.createElement("style");Ur&&Fi.setAttribute("nonce",Ur),Fi.textContent=xi,this.shadowRoot.appendChild(Fi)}}nodeOrShadowRoot(Rt){return Rt===this.hostEl?this.shadowRoot:Rt}appendChild(Rt,tn){return super.appendChild(this.nodeOrShadowRoot(Rt),tn)}insertBefore(Rt,tn,Pt){return super.insertBefore(this.nodeOrShadowRoot(Rt),tn,Pt)}removeChild(Rt,tn){return super.removeChild(this.nodeOrShadowRoot(Rt),tn)}parentNode(Rt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Rt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class pe extends We{constructor(Rt,tn,Pt,Gt,Nn,Sr,Ur,ii){super(Rt,Nn,Sr,Ur),this.sharedStylesHost=tn,this.removeStylesOnCompDestroy=Gt,this.styles=ii?it(ii,Pt.styles):Pt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ve extends pe{constructor(Rt,tn,Pt,Gt,Nn,Sr,Ur,ii){const Kr=Gt+"-"+Pt.id;super(Rt,tn,Pt,Nn,Sr,Ur,ii,Kr),this.contentAttr=function Pe(Yt){return"_ngcontent-%COMP%".replace(ue,Yt)}(Kr),this.hostAttr=function Re(Yt){return"_nghost-%COMP%".replace(ue,Yt)}(Kr)}applyToHost(Rt){this.applyStyles(),this.setAttribute(Rt,this.hostAttr,"")}createElement(Rt,tn){const Pt=super.createElement(Rt,tn);return super.setAttribute(Pt,this.contentAttr,""),Pt}}let ze=(()=>{var Yt;class Rt extends le{constructor(Pt){super(Pt)}supports(Pt){return!0}addEventListener(Pt,Gt,Nn){return Pt.addEventListener(Gt,Nn,!1),()=>this.removeEventListener(Pt,Gt,Nn)}removeEventListener(Pt,Gt,Nn){return Pt.removeEventListener(Gt,Nn)}}return(Yt=Rt).\u0275fac=function(Pt){return new(Pt||Yt)(s.KVO(a.qQ))},Yt.\u0275prov=s.jDH({token:Yt,factory:Yt.\u0275fac}),Rt})(),fe=(()=>{var Yt;class Rt extends le{constructor(Pt){super(Pt),this.delegate=(0,s.WQX)(s.zAP,{optional:!0})}supports(Pt){return!!this.delegate&&this.delegate.supports(Pt)}addEventListener(Pt,Gt,Nn){return this.delegate.addEventListener(Pt,Gt,Nn)}removeEventListener(Pt,Gt,Nn){return this.delegate.removeEventListener(Pt,Gt,Nn)}}return(Yt=Rt).\u0275fac=function(Pt){return new(Pt||Yt)(s.KVO(a.qQ))},Yt.\u0275prov=s.jDH({token:Yt,factory:Yt.\u0275fac}),Rt})();const de=["alt","control","meta","shift"],ee={"\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"},$={alt:Yt=>Yt.altKey,control:Yt=>Yt.ctrlKey,meta:Yt=>Yt.metaKey,shift:Yt=>Yt.shiftKey};let se=(()=>{var Yt;class Rt extends le{constructor(Pt){super(Pt)}supports(Pt){return null!=Rt.parseEventName(Pt)}addEventListener(Pt,Gt,Nn){const Sr=Rt.parseEventName(Gt),Ur=Rt.eventCallback(Sr.fullKey,Nn,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,a.QT)().onAndCancel(Pt,Sr.domEventName,Ur))}static parseEventName(Pt){const Gt=Pt.toLowerCase().split("."),Nn=Gt.shift();if(0===Gt.length||"keydown"!==Nn&&"keyup"!==Nn)return null;const Sr=Rt._normalizeKey(Gt.pop());let Ur="",ii=Gt.indexOf("code");if(ii>
1-1&&(Gt.splice(ii,1),Ur="code."),de.forEach(xi=>{const Fi=Gt.indexOf(xi);Fi>-1&&(Gt.splice(Fi,1),Ur+=xi+".")}),Ur+=Sr,0!=Gt.length||0===Sr.length)return null;const Kr={};return Kr.domEventName=Nn,Kr.fullKey=Ur,Kr}static matchEventFullKeyCode(Pt,Gt){let Nn=ee[Pt.key]||Pt.key,Sr="";return Gt.indexOf("code.")>-1&&(Nn=Pt.code,Sr="code."),!(null==Nn||!Nn)&&(Nn=Nn.toLowerCase()," "===Nn?Nn="space":"."===Nn&&(Nn="dot"),de.forEach(Ur=>{Ur!==Nn&&(0,$[Ur])(Pt)&&(Sr+=Ur+".")}),Sr+=Nn,Sr===Gt)}static eventCallback(Pt,Gt,Nn){return Sr=>{Rt.matchEventFullKeyCode(Sr,Pt)&&Nn.runGuarded(()=>Gt(Sr))}}static _normalizeKey(Pt){return"esc"===Pt?"escape":Pt}}return(Yt=Rt).\u0275fac=function(Pt){return new(Pt||Yt)(s.KVO(a.qQ))},Yt.\u0275prov=s.jDH({token:Yt,factory:Yt.\u0275fac}),Rt})();const hr=(0,s.oH4)(s.fpN,"browser",[{provide:s.Agw,useValue:a.AJ},{provide:s.PLl,useValue:function jt(){T.makeCurrent()},multi:!0},{provide:a.qQ,useFactory:function mn(){return(0,s.TL$)(document),document},deps:[]}]),$r=new s.nKC(""),ur=[{provide:s.e01,useClass:class H{addToWindow(Rt){s.JZv.getAngularTestability=(Pt,Gt=!0)=>{const Nn=Rt.findTestabilityInTree(Pt,Gt);if(null==Nn)throw new s.wOt(5103,!1);return Nn},s.JZv.getAllAngularTestabilities=()=>Rt.getAllTestabilities(),s.JZv.getAllAngularRootElements=()=>Rt.getAllRootElements(),s.JZv.frameworkStabilizers||(s.JZv.frameworkStabilizers=[]),s.JZv.frameworkStabilizers.push(Pt=>{const Gt=s.JZv.getAllAngularTestabilities();let Nn=Gt.length;const Sr=function(){Nn--,0==Nn&&Pt()};Gt.forEach(Ur=>{Ur.whenStable(Sr)})})}findTestabilityInTree(Rt,tn,Pt){if(null==tn)return null;const Gt=Rt.getTestability(tn);return null!=Gt?Gt:Pt?(0,a.QT)().isShadowRoot(tn)?this.findTestabilityInTree(Rt,tn.host,!0):this.findTestabilityInTree(Rt,tn.parentElement,!0):null}},deps:[]},{provide:s.WHO,useClass:s.NYb,deps:[s.SKi,s.giA,s.e01]},{provide:s.NYb,useClass:s.NYb,deps:[s.SKi,s.giA,s.e01]}],Fn=[{provide:s.H8p,useValue:"root"},{provide:s.zcH,useFactory:function jn(){return new s.zcH},deps:[]},{provide:L,useClass:ze,multi:!0,deps:[a.qQ,s.SKi,s.Agw]},{provide:L,useClass:se,multi:!0,deps:[a.qQ]},{provide:L,useClass:fe,multi:!0},Be,q,U,{provide:s._9s,useExisting:Be},{provide:a.N0,useClass:V,deps:[]},[]];let cr=(()=>{var Yt;class Rt{constructor(Pt){}static withServerTransition(Pt){return{ngModule:Rt,providers:[{provide:s.sZ2,useValue:Pt.appId}]}}}return(Yt=Rt).\u0275fac=function(Pt){return new(Pt||Yt)(s.KVO($r,12))},Yt.\u0275mod=s.$C({type:Yt}),Yt.\u0275inj=s.G2t({providers:[...Fn,...ur],imports:[a.MD,s.Hbi]}),Rt})(),ht=(()=>{var Yt;class Rt{constructor(Pt){this._doc=Pt}getTitle(){return this._doc.title}setTitle(Pt){this._doc.title=Pt||""}}return(Yt=Rt).\u0275fac=function(Pt){return new(Pt||Yt)(s.KVO(a.qQ))},Yt.\u0275prov=s.jDH({token:Yt,factory:Yt.\u0275fac,providedIn:"root"}),Rt})(),Lt=(()=>{var Yt;class Rt{}return(Yt=Rt).\u0275fac=function(Pt){return new(Pt||Yt)},Yt.\u0275prov=s.jDH({token:Yt,factory:function(Pt){let Gt=null;return Gt=Pt?new(Pt||Yt):s.KVO(rr),Gt},providedIn:"root"}),Rt})(),rr=(()=>{var Yt;class Rt extends Lt{constructor(Pt){super(),this._doc=Pt}sanitize(Pt,Gt){if(null==Gt)return null;switch(Pt){case s.WPN.NONE:return Gt;case s.WPN.HTML:return(0,s.ZF7)(Gt,"HTML")?(0,s.rcV)(Gt):(0,s.h9k)(this._doc,String(Gt)).toString();case s.WPN.STYLE:return(0,s.ZF7)(Gt,"Style")?(0,s.rcV)(Gt):Gt;case s.WPN.SCRIPT:if((0,s.ZF7)(Gt,"Script"))return(0,s.rcV)(Gt);throw new s.wOt(5200,!1);case s.WPN.URL:return(0,s.ZF7)(Gt,"URL")?(0,s.rcV)(Gt):(0,s.$MX)(String(Gt));case s.WPN.RESOURCE_URL:if((0,s.ZF7)(Gt,"ResourceURL"))return(0,s.rcV)(Gt);throw new s.wOt(5201,!1);default:throw new s.wOt(5202,!1)}}bypassSecurityTrustHtml(Pt){return(0,s.Kcf)(Pt)}bypassSecurityTrustStyle(Pt){return(0,s.cWb)(Pt)}bypassSecurityTrustScript(Pt){return(0,s.UyX)(Pt)}bypassSecurityTrustUrl(Pt){return(0,s.osQ)(Pt)}bypassSecurityTrustResourceUrl(Pt){return(0,s.e5t)(Pt)}}return(Yt=Rt).\u0275fac=function(Pt){return new(Pt||Yt)(s.KVO(a.qQ))},Yt.\u0275prov=s.jDH({token:Yt,factory:Yt.\u0275fac,providedIn:"root"}),Rt})()},803:(wt,Se,u)=>{"use strict";u.d(Se,{nX:()=>Ft,Zp:()=>Ms,wF:()=>fn,Z:()=>Bt,Xk:()=>ct,Kp:()=>qt,b:()=>Ge,Ix:()=>b,Wk:()=>be,wQ:()=>rt,iI:()=>Fa,Sd:()=>mi});var a=u(3953),s=u(4402),w=u(6648),T=u(7673),x=u(4412),F=u(4572),B=u(9350),H=u(8793),V=u(9030),L=u(1203),U=u(8810),le=u(983),W=u(1985),q=u(8359),we=u(9974),ue=u(4360);function Ie(){return(0,we.N)((S,P)=>{let K=null;S._refCount++;const O=(0,ue._)(P,void 0,void 0,void 0,()=>{if(!S||S._refCount<=0||0<--S._refCount)return void(K=null);const J=S._connection,Ue=K;K=null,J&&(!Ue||J===Ue)&&J.unsubscribe(),P.unsubscribe()});S.subscribe(O),O.closed||(K=S.connect())})}class ge extends W.c{constructor(P,K){super(),this.source=P,this.subjectFactory=K,this._subject=null,this._refCount=0,this._connection=null,(0,we.S)(P)&&(this.lift=P.lift)}
1_subscribe(P){return this.getSubject().subscribe(P)}getSubject(){const P=this._subject;return(!P||P.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:P}=this;this._subject=this._connection=null,null==P||P.unsubscribe()}connect(){let P=this._connection;if(!P){P=this._connection=new q.yU;const K=this.getSubject();P.add(this.source.subscribe((0,ue._)(K,void 0,()=>{this._teardown(),K.complete()},O=>{this._teardown(),K.error(O)},()=>this._teardown()))),P.closed&&(this._connection=null,P=q.yU.EMPTY)}return P}refCount(){return Ie()(this)}}var he=u(1413),Me=u(177),$e=u(6354),Pe=u(5558),Re=u(6697),it=u(9172),Be=u(5964),We=u(3028),Ae=u(1594),k=u(274),z=u(8141),ce=u(9437),pe=u(1943),ve=u(9901);function ze(S){return S<=0?()=>le.w:(0,we.N)((P,K)=>{let O=[];P.subscribe((0,ue._)(K,J=>{O.push(J),S<O.length&&O.shift()},()=>{for(const J of O)K.next(J);K.complete()},void 0,()=>{O=null}))})}var fe=u(3774),de=u(3669),$=u(3703),se=u(980),Ce=u(6977),at=u(6365),pt=u(345);const ct="primary",jt=Symbol("RouteTitle");class jn{constructor(P){this.params=P||{}}has(P){return Object.prototype.hasOwnProperty.call(this.params,P)}get(P){if(this.has(P)){const K=this.params[P];return Array.isArray(K)?K[0]:K}return null}getAll(P){if(this.has(P)){const K=this.params[P];return Array.isArray(K)?K:[K]}return[]}get keys(){return Object.keys(this.params)}}function mn(S){return new jn(S)}function lr(S,P,K){const O=K.path.split("/");if(O.length>S.length||"full"===K.pathMatch&&(P.hasChildren()||O.length<S.length))return null;const J={};for(let Ue=0;Ue<O.length;Ue++){const Ye=O[Ue],Qt=S[Ue];if(":"===Ye[0])J[Ye.substring(1)]=Qt;else if(Ye!==Qt.path)return null}return{consumed:S.slice(0,O.length),posParams:J}}function $r(S,P){const K=S?ur(S):void 0,O=P?ur(P):void 0;if(!K||!O||K.length!=O.length)return!1;let J;for(let Ue=0;Ue<K.length;Ue++)if(J=K[Ue],!Fn(S[J],P[J]))return!1;return!0}function ur(S){return[...Object.keys(S),...Object.getOwnPropertySymbols(S)]}function Fn(S,P){if(Array.isArray(S)&&Array.isArray(P)){if(S.length!==P.length)return!1;const K=[...S].sort(),O=[...P].sort();return K.every((J,Ue)=>O[Ue]===J)}return S===P}function cr(S){return S.length>0?S[S.length-1]:null}function Yn(S){return(0,s.A)(S)?S:(0,a.jNT)(S)?(0,w.H)(Promise.resolve(S)):(0,T.of)(S)}const Qn={exact:function Kt(S,P,K){if(!Yr(S.segments,P.segments)||!$n(S.segments,P.segments,K)||S.numberOfChildren!==P.numberOfChildren)return!1;for(const O in P.children)if(!S.children[O]||!Kt(S.children[O],P.children[O],K))return!1;return!0},subset:Ir},ht={exact:function It(S,P){return $r(S,P)},subset:function Zn(S,P){return Object.keys(P).length<=Object.keys(S).length&&Object.keys(P).every(K=>Fn(S[K],P[K]))},ignored:()=>!0};function Ot(S,P,K){return Qn[K.paths](S.root,P.root,K.matrixParams)&&ht[K.queryParams](S.queryParams,P.queryParams)&&!("exact"===K.fragment&&S.fragment!==P.fragment)}function Ir(S,P,K){return Er(S,P,P.segments,K)}function Er(S,P,K,O){if(S.segments.length>K.length){const J=S.segments.slice(0,K.length);return!(!Yr(J,K)||P.hasChildren()||!$n(J,K,O))}if(S.segments.length===K.length){if(!Yr(S.segments,K)||!$n(S.segments,K,O))return!1;for(const J in P.children)if(!S.children[J]||!Ir(S.children[J],P.children[J],O))return!1;return!0}{const J=K.slice(0,S.segments.length),Ue=K.slice(S.segments.length);return!!(Yr(S.segments,J)&&$n(S.segments,J,O)&&S.children[ct])&&Er(S.children[ct],P,Ue,O)}}function $n(S,P,K){return P.every((O,J)=>ht[K](S[J].parameters,O.parameters))}class dn{constructor(P=new Ar([],{}),K={},O=null){this.root=P,this.queryParams=K,this.fragment=O}get queryParamMap(){var P;return null!==(P=this._queryParamMap)&&void 0!==P||(this._queryParamMap=mn(this.queryParams)),this._queryParamMap}toString(){return rr.serialize(this)}}class Ar{constructor(P,K){this.segments=P,this.children=K,this.parent=null,Object.values(K).forEach(O=>O.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Un(this)}}class ei{constructor(P,K){this.path=P,this.parameters=K}get parameterMap(){var P;return null!==(P=this._parameterMap)&&void 0!==P||(this._parameterMap=mn(this.parameters)),this._parameterMap}toString(){return eo(this)}}function Yr(S,P){return S.length===P.length&&S.every((K,O)=>K.path===P[O].path)}let mi=(()=>{var S;class P{}return(S=P).\u0275fac=function(O){return new(O||S)},S.\u0275prov=a.jDH({token:S,factory:()=>new Lt,providedIn:"root"}),P})();class Lt{parse(P){const K=new xi(P);return new dn(K.parseRootSegment(),K.parseQueryParams(),K.parseFragment())}serialize(P){const K=`/${nt(P.root,!0)}`,O=function Rt(S){const P=Object.entries(S).map(([K,O])=>Array.isArray(O)?O.map(J=>`${_r(K)}=${_r(J)}`).join("&"):`${_r(K)}=${_r(O)}`).filter(K=>K);return P.length?`?${P.join("&")}`:""}(P.queryParams);return`${K}${O}${"string"==typeof P.fragment?`#${function Jr(S){return encodeURI(S)}(P.fragment)}`:""}`}}const rr=new Lt;function Un(S){return S.segments.map(P=>eo(P)).join("/")}function nt(S,P){if(!S.hasChildren())return Un(S);if(P){const K=S.children[ct]?nt(S.children[ct],!1):"",O=[];
1return Object.entries(S.children).forEach(([J,Ue])=>{J!==ct&&O.push(`${J}:${nt(Ue,!1)}`)}),O.length>0?`${K}(${O.join("//")})`:K}{const K=function li(S,P){let K=[];return Object.entries(S.children).forEach(([O,J])=>{O===ct&&(K=K.concat(P(J,O)))}),Object.entries(S.children).forEach(([O,J])=>{O!==ct&&(K=K.concat(P(J,O)))}),K}(S,(O,J)=>J===ct?[nt(S.children[ct],!1)]:[`${J}:${nt(O,!1)}`]);return 1===Object.keys(S.children).length&&null!=S.children[ct]?`${Un(S)}/${K[0]}`:`${Un(S)}/(${K.join("//")})`}}function Bn(S){return encodeURIComponent(S).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function _r(S){return Bn(S).replace(/%3B/gi,";")}function ti(S){return Bn(S).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ui(S){return decodeURIComponent(S)}function _i(S){return ui(S.replace(/\+/g,"%20"))}function eo(S){return`${ti(S.path)}${function Yt(S){return Object.entries(S).map(([P,K])=>`;${ti(P)}=${ti(K)}`).join("")}(S.parameters)}`}const tn=/^[^\/()?;#]+/;function Pt(S){const P=S.match(tn);return P?P[0]:""}const Gt=/^[^\/()?;=#]+/,Sr=/^[^=?&#]+/,ii=/^[^&#]+/;class xi{constructor(P){this.url=P,this.remaining=P}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ar([],{}):new Ar([],this.parseChildren())}parseQueryParams(){const P={};if(this.consumeOptional("?"))do{this.parseQueryParam(P)}while(this.consumeOptional("&"));return P}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const P=[];for(this.peekStartsWith("(")||P.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),P.push(this.parseSegment());let K={};this.peekStartsWith("/(")&&(this.capture("/"),K=this.parseParens(!0));let O={};return this.peekStartsWith("(")&&(O=this.parseParens(!1)),(P.length>0||Object.keys(K).length>0)&&(O[ct]=new Ar(P,K)),O}parseSegment(){const P=Pt(this.remaining);if(""===P&&this.peekStartsWith(";"))throw new a.wOt(4009,!1);return this.capture(P),new ei(ui(P),this.parseMatrixParams())}parseMatrixParams(){const P={};for(;this.consumeOptional(";");)this.parseParam(P);return P}parseParam(P){const K=function Nn(S){const P=S.match(Gt);return P?P[0]:""}(this.remaining);if(!K)return;this.capture(K);let O="";if(this.consumeOptional("=")){const J=Pt(this.remaining);J&&(O=J,this.capture(O))}P[ui(K)]=ui(O)}parseQueryParam(P){const K=function Ur(S){const P=S.match(Sr);return P?P[0]:""}(this.remaining);if(!K)return;this.capture(K);let O="";if(this.consumeOptional("=")){const Ye=function Kr(S){const P=S.match(ii);return P?P[0]:""}(this.remaining);Ye&&(O=Ye,this.capture(O))}const J=_i(K),Ue=_i(O);if(P.hasOwnProperty(J)){let Ye=P[J];Array.isArray(Ye)||(Ye=[Ye],P[J]=Ye),Ye.push(Ue)}else P[J]=Ue}parseParens(P){const K={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const O=Pt(this.remaining),J=this.remaining[O.length];if("/"!==J&&")"!==J&&";"!==J)throw new a.wOt(4010,!1);let Ue;O.indexOf(":")>-1?(Ue=O.slice(0,O.indexOf(":")),this.capture(Ue),this.capture(":")):P&&(Ue=ct);const Ye=this.parseChildren();K[Ue]=1===Object.keys(Ye).length?Ye[ct]:new Ar([],Ye),this.consumeOptional("//")}return K}peekStartsWith(P){return this.remaining.startsWith(P)}consumeOptional(P){return!!this.peekStartsWith(P)&&(this.remaining=this.remaining.substring(P.length),!0)}capture(P){if(!this.consumeOptional(P))throw new a.wOt(4011,!1)}}function Fi(S){return S.segments.length>0?new Ar([],{[ct]:S}):S}function ao(S){const P={};for(const[O,J]of Object.entries(S.children)){const Ue=ao(J);if(O===ct&&0===Ue.segments.length&&Ue.hasChildren())for(const[Ye,Qt]of Object.entries(Ue.children))P[Ye]=Qt;else(Ue.segments.length>0||Ue.hasChildren())&&(P[O]=Ue)}return function Oo(S){if(1===S.numberOfChildren&&S.children[ct]){const P=S.children[ct];return new Ar(S.segments.concat(P.segments),P.children)}return S}(new Ar(S.segments,P))}function to(S){return S instanceof dn}function Qr(S){var P;let K;const Ue=Fi(function O(Ye){const Qt={};
1for(const en of Ye.children){const br=O(en);Qt[en.outlet]=br}const Pn=new Ar(Ye.url,Qt);return Ye===S&&(K=Pn),Pn}(S.root));return null!==(P=K)&&void 0!==P?P:Ue}function xo(S,P,K,O){let J=S;for(;J.parent;)J=J.parent;if(0===P.length)return hi(J,J,J,K,O);const Ue=function lo(S){if("string"==typeof S[0]&&1===S.length&&"/"===S[0])return new ji(!0,0,S);let P=0,K=!1;const O=S.reduce((J,Ue,Ye)=>{if("object"==typeof Ue&&null!=Ue){if(Ue.outlets){const Qt={};return Object.entries(Ue.outlets).forEach(([Pn,en])=>{Qt[Pn]="string"==typeof en?en.split("/"):en}),[...J,{outlets:Qt}]}if(Ue.segmentPath)return[...J,Ue.segmentPath]}return"string"!=typeof Ue?[...J,Ue]:0===Ye?(Ue.split("/").forEach((Qt,Pn)=>{0==Pn&&"."===Qt||(0==Pn&&""===Qt?K=!0:".."===Qt?P++:""!=Qt&&J.push(Qt))}),J):[...J,Ue]},[]);return new ji(K,P,O)}(P);if(Ue.toRoot())return hi(J,J,new Ar([],{}),K,O);const Ye=function Po(S,P,K){if(S.isAbsolute)return new co(P,!0,0);if(!K)return new co(P,!1,NaN);if(null===K.parent)return new co(K,!0,0);const O=Lo(S.commands[0])?0:1;return function yt(S,P,K){let O=S,J=P,Ue=K;for(;Ue>J;){if(Ue-=J,O=O.parent,!O)throw new a.wOt(4005,!1);J=O.segments.length}return new co(O,!1,J-Ue)}(K,K.segments.length-1+O,S.numberOfDoubleDots)}(Ue,J,S),Qt=Ye.processChildren?je(Ye.segmentGroup,Ye.index,Ue.commands):Nt(Ye.segmentGroup,Ye.index,Ue.commands);return hi(J,Ye.segmentGroup,Qt,K,O)}function Lo(S){return"object"==typeof S&&null!=S&&!S.outlets&&!S.segmentPath}function vo(S){return"object"==typeof S&&null!=S&&S.outlets}function hi(S,P,K,O,J){let Ye,Ue={};O&&Object.entries(O).forEach(([Pn,en])=>{Ue[Pn]=Array.isArray(en)?en.map(br=>`${br}`):`${en}`}),Ye=S===P?K:no(S,P,K);const Qt=Fi(ao(Ye));return new dn(Qt,Ue,J)}function no(S,P,K){const O={};return Object.entries(S.children).forEach(([J,Ue])=>{O[J]=Ue===P?K:no(Ue,P,K)}),new Ar(S.segments,O)}class ji{constructor(P,K,O){if(this.isAbsolute=P,this.numberOfDoubleDots=K,this.commands=O,P&&O.length>0&&Lo(O[0]))throw new a.wOt(4003,!1);const J=O.find(vo);if(J&&J!==cr(O))throw new a.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class co{constructor(P,K,O){this.segmentGroup=P,this.processChildren=K,this.index=O}}function Nt(S,P,K){var O;if(null!==(O=S)&&void 0!==O||(S=new Ar([],{})),0===S.segments.length&&S.hasChildren())return je(S,P,K);const J=function ke(S,P,K){let O=0,J=P;const Ue={match:!1,pathIndex:0,commandIndex:0};for(;J<S.segments.length;){if(O>=K.length)return Ue;const Ye=S.segments[J],Qt=K[O];if(vo(Qt))break;const Pn=`${Qt}`,en=O<K.length-1?K[O+1]:null;if(J>0&&void 0===Pn)break;if(Pn&&en&&"object"==typeof en&&void 0===en.outlets){if(!or(Pn,en,Ye))return Ue;O+=2}else{if(!or(Pn,{},Ye))return Ue;O++}J++}return{match:!0,pathIndex:J,commandIndex:O}}(S,P,K),Ue=K.slice(J.commandIndex);if(J.match&&J.pathIndex<S.segments.length){const Ye=new Ar(S.segments.slice(0,J.pathIndex),{});return Ye.children[ct]=new Ar(S.segments.slice(J.pathIndex),S.children),je(Ye,0,Ue)}return J.match&&0===Ue.length?new Ar(S.segments,{}):J.match&&!S.hasChildren()?Tt(S,P,K):J.match?je(S,0,Ue):Tt(S,P,K)}function je(S,P,K){if(0===K.length)return new Ar(S.segments,{});{const O=function Je(S){return vo(S[0])?S[0].outlets:{[ct]:S}}(K),J={};if(Object.keys(O).some(Ue=>Ue!==ct)&&S.children[ct]&&1===S.numberOfChildren&&0===S.children[ct].segments.length){const Ue=je(S.children[ct],P,K);return new Ar(S.segments,Ue.children)}return Object.entries(O).forEach(([Ue,Ye])=>{"string"==typeof Ye&&(Ye=[Ye]),null!==Ye&&(J[Ue]=Nt(S.children[Ue],P,Ye))}),Object.entries(S.children).forEach(([Ue,Ye])=>{void 0===O[Ue]&&(J[Ue]=Ye)}),new Ar(S.segments,J)}}function Tt(S,P,K){const O=S.segments.slice(0,P);let J=0;for(;J<K.length;){const Ue=K[J];if(vo(Ue)){const Pn=Zt(Ue.outlets);return new Ar(O,Pn)}if(0===J&&Lo(K[0])){O.push(new ei(S.segments[P].path,In(K[0]))),J++;continue}const Ye=vo(Ue)?Ue.outlets[ct]:`${Ue}`,Qt=J<K.length-1?K[J+1]:null;Ye&&Qt&&Lo(Qt)?(O.push(new ei(Ye,In(Qt))),J+=2):(O.push(new ei(Ye,{})),J++)}return new Ar(O,{})}function Zt(S){const P={};return Object.entries(S).forEach(([K,O])=>{"string"==typeof O&&(O=[O]),null!==O&&(P[K]=Tt(new Ar([],{}),0,O))}),P}function In(S){const P={};
1return Object.entries(S).forEach(([K,O])=>P[K]=`${O}`),P}function or(S,P,K){return S==K.path&&$r(P,K.parameters)}const Fe="imperative";var et=function(S){return S[S.NavigationStart=0]="NavigationStart",S[S.NavigationEnd=1]="NavigationEnd",S[S.NavigationCancel=2]="NavigationCancel",S[S.NavigationError=3]="NavigationError",S[S.RoutesRecognized=4]="RoutesRecognized",S[S.ResolveStart=5]="ResolveStart",S[S.ResolveEnd=6]="ResolveEnd",S[S.GuardsCheckStart=7]="GuardsCheckStart",S[S.GuardsCheckEnd=8]="GuardsCheckEnd",S[S.RouteConfigLoadStart=9]="RouteConfigLoadStart",S[S.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",S[S.ChildActivationStart=11]="ChildActivationStart",S[S.ChildActivationEnd=12]="ChildActivationEnd",S[S.ActivationStart=13]="ActivationStart",S[S.ActivationEnd=14]="ActivationEnd",S[S.Scroll=15]="Scroll",S[S.NavigationSkipped=16]="NavigationSkipped",S}(et||{});class Ht{constructor(P,K){this.id=P,this.url=K}}class Bt extends Ht{constructor(P,K,O="imperative",J=null){super(P,K),this.type=et.NavigationStart,this.navigationTrigger=O,this.restoredState=J}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class fn extends Ht{constructor(P,K,O){super(P,K),this.urlAfterRedirects=O,this.type=et.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Dn=function(S){return S[S.Redirect=0]="Redirect",S[S.SupersededByNewNavigation=1]="SupersededByNewNavigation",S[S.NoDataFromResolver=2]="NoDataFromResolver",S[S.GuardRejected=3]="GuardRejected",S}(Dn||{}),ir=function(S){return S[S.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",S[S.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",S}(ir||{});class er extends Ht{constructor(P,K,O,J){super(P,K),this.reason=O,this.code=J,this.type=et.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Wr extends Ht{constructor(P,K,O,J){super(P,K),this.reason=O,this.code=J,this.type=et.NavigationSkipped}}class Tr extends Ht{constructor(P,K,O,J){super(P,K),this.error=O,this.target=J,this.type=et.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Bi extends Ht{constructor(P,K,O,J){super(P,K),this.urlAfterRedirects=O,this.state=J,this.type=et.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pi extends Ht{constructor(P,K,O,J){super(P,K),this.urlAfterRedirects=O,this.state=J,this.type=et.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ui extends Ht{constructor(P,K,O,J,Ue){super(P,K),this.urlAfterRedirects=O,this.state=J,this.shouldActivate=Ue,this.type=et.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class yo extends Ht{constructor(P,K,O,J){super(P,K),this.urlAfterRedirects=O,this.state=J,this.type=et.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uo extends Ht{constructor(P,K,O,J){super(P,K),this.urlAfterRedirects=O,this.state=J,this.type=et.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ni{constructor(P){this.route=P,this.type=et.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class di{constructor(P){this.route=P,this.type=et.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class dt{constructor(P){this.snapshot=P,this.type=et.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tr{constructor(P){this.snapshot=P,this.type=et.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ft{constructor(P){this.snapshot=P,this.type=et.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class St{constructor(P){this.snapshot=P,this.type=et.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zt{constructor(P,K,O){this.routerEvent=P,this.position=K,this.anchor=O,this.type=et.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ln{}class kr{constructor(P,K){this.url=P,this.navigationBehaviorOptions=K}}function $o(S){return S.outlet||ct}function as(S){var P;if(!S)return null;if(null!==(P=S.routeConfig)&&void 0!==P&&P._injector)return S.routeC
1onfig._injector;for(let K=S.parent;K;K=K.parent){const O=K.routeConfig;if(null!=O&&O._loadedInjector)return O._loadedInjector;if(null!=O&&O._injector)return O._injector}return null}class Ea{get injector(){var P,K;return null!==(P=as(null===(K=this.route)||void 0===K?void 0:K.snapshot))&&void 0!==P?P:this.rootInjector}set injector(P){}constructor(P){this.rootInjector=P,this.outlet=null,this.route=null,this.children=new Ms(this.rootInjector),this.attachRef=null}}let Ms=(()=>{var S;class P{constructor(O){this.rootInjector=O,this.contexts=new Map}onChildOutletCreated(O,J){const Ue=this.getOrCreateContext(O);Ue.outlet=J,this.contexts.set(O,Ue)}onChildOutletDestroyed(O){const J=this.getContext(O);J&&(J.outlet=null,J.attachRef=null)}onOutletDeactivated(){const O=this.contexts;return this.contexts=new Map,O}onOutletReAttached(O){this.contexts=O}getOrCreateContext(O){let J=this.getContext(O);return J||(J=new Ea(this.rootInjector),this.contexts.set(O,J)),J}getContext(O){return this.contexts.get(O)||null}}return(S=P).\u0275fac=function(O){return new(O||S)(a.KVO(a.uvJ))},S.\u0275prov=a.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}),P})();class Xs{constructor(P){this._root=P}get root(){return this._root.value}parent(P){const K=this.pathFromRoot(P);return K.length>1?K[K.length-2]:null}children(P){const K=Ca(P,this._root);return K?K.children.map(O=>O.value):[]}firstChild(P){const K=Ca(P,this._root);return K&&K.children.length>0?K.children[0].value:null}siblings(P){const K=Hi(P,this._root);return K.length<2?[]:K[K.length-2].children.map(J=>J.value).filter(J=>J!==P)}pathFromRoot(P){return Hi(P,this._root).map(K=>K.value)}}function Ca(S,P){if(S===P.value)return P;for(const K of P.children){const O=Ca(S,K);if(O)return O}return null}function Hi(S,P){if(S===P.value)return[P];for(const K of P.children){const O=Hi(S,K);if(O.length)return O.unshift(P),O}return[]}class fi{constructor(P,K){this.value=P,this.children=K}toString(){return`TreeNode(${this.value})`}}function ye(S){const P={};return S&&S.children.forEach(K=>P[K.value.outlet]=K),P}class Ve extends Xs{constructor(P,K){super(P),this.snapshot=K,ln(this,P)}toString(){return this.snapshot.toString()}}function _t(S){const P=function Mt(S){const Ue=new bn([],{},{},"",{},ct,S,null,{});return new xn("",new fi(Ue,[]))}(S),K=new x.t([new ei("",{})]),O=new x.t({}),J=new x.t({}),Ue=new x.t({}),Ye=new x.t(""),Qt=new Ft(K,O,Ue,Ye,J,ct,S,P.root);return Qt.snapshot=P.root,new Ve(new fi(Qt,[]),P)}class Ft{constructor(P,K,O,J,Ue,Ye,Qt,Pn){var en,br;this.urlSubject=P,this.paramsSubject=K,this.queryParamsSubject=O,this.fragmentSubject=J,this.dataSubject=Ue,this.outlet=Ye,this.component=Qt,this._futureSnapshot=Pn,this.title=null!==(en=null===(br=this.dataSubject)||void 0===br?void 0:br.pipe((0,$e.T)(ai=>ai[jt])))&&void 0!==en?en:(0,T.of)(void 0),this.url=P,this.params=K,this.queryParams=O,this.fragment=J,this.data=Ue}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 P;return null!==(P=this._paramMap)&&void 0!==P||(this._paramMap=this.params.pipe((0,$e.T)(K=>mn(K)))),this._paramMap}get queryParamMap(){var P;return null!==(P=this._queryParamMap)&&void 0!==P||(this._queryParamMap=this.queryParams.pipe((0,$e.T)(K=>mn(K)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $t(S,P,K="emptyOnly"){var O;let J;const{routeConfig:Ue}=S;var Ye;return J=null===P||"always"!==K&&""!==(null==Ue?void 0:Ue.path)&&(P.component||null!==(O=P.routeConfig)&&void 0!==O&&O.loadComponent)?{params:{...S.params},data:{...S.data},resolve:{...S.data,...null!==(Ye=S._resolvedData)&&void 0!==Ye?Ye:{}}}:{params:{...P.params,...S.params},data:{...P.data,...S.data},resolve:{...S.data,...P.data,...null==Ue?void 0:Ue.data,...S._resolvedData}},Ue&&Or(Ue)&&(J.resolve[jt]=Ue.title),J}class bn{get title(){var P;return null===(P=this.data)||void 0===P?void 0:P[jt]}constructor(P,K,O,J,Ue,Ye,Qt,Pn,en){this.url=P,this.params=K,this.queryParams=O,this.fragment=J,this.data=Ue,this.outlet=Ye,this.component=Qt,this.routeConfig=Pn,this._resolve=en}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 P;return null!==(P=this._paramMap)&&void 0!==P||(this._paramMap=mn(this.params)),this._paramMap}get queryParamMap(){var P;return null!==(P=this._queryParamMap)&&void 0!==P||(this._queryParamMap=mn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(O=>O.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class xn extends Xs{constructor(P,K){super(K),this.url=P,ln(this,K)}toString(){return An(this._root)}}
1function ln(S,P){P.value._routerState=S,P.children.forEach(K=>ln(S,K))}function An(S){const P=S.children.length>0?` { ${S.children.map(An).join(", ")} } `:"";return`${S.value}${P}`}function pr(S){if(S.snapshot){const P=S.snapshot,K=S._futureSnapshot;S.snapshot=K,$r(P.queryParams,K.queryParams)||S.queryParamsSubject.next(K.queryParams),P.fragment!==K.fragment&&S.fragmentSubject.next(K.fragment),$r(P.params,K.params)||S.paramsSubject.next(K.params),function hr(S,P){if(S.length!==P.length)return!1;for(let K=0;K<S.length;++K)if(!$r(S[K],P[K]))return!1;return!0}(P.url,K.url)||S.urlSubject.next(K.url),$r(P.data,K.data)||S.dataSubject.next(K.data)}else S.snapshot=S._futureSnapshot,S.dataSubject.next(S._futureSnapshot.data)}function Cr(S,P){const K=$r(S.params,P.params)&&function wr(S,P){return Yr(S,P)&&S.every((K,O)=>$r(K.parameters,P[O].parameters))}(S.url,P.url);return K&&!(!S.parent!=!P.parent)&&(!S.parent||Cr(S.parent,P.parent))}function Or(S){return"string"==typeof S.title||null===S.title}let Rr=(()=>{var S;class P{constructor(){this.activated=null,this._activatedRoute=null,this.name=ct,this.activateEvents=new a.bkB,this.deactivateEvents=new a.bkB,this.attachEvents=new a.bkB,this.detachEvents=new a.bkB,this.parentContexts=(0,a.WQX)(Ms),this.location=(0,a.WQX)(a.c1b),this.changeDetector=(0,a.WQX)(a.gRc),this.inputBinder=(0,a.WQX)(Wi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(O){if(O.name){const{firstChange:J,previousValue:Ue}=O.name;if(J)return;this.isTrackedInParentContexts(Ue)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Ue)),this.initializeOutletWithName()}}ngOnDestroy(){var O;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),null===(O=this.inputBinder)||void 0===O||O.unsubscribeFromRouteData(this)}isTrackedInParentContexts(O){var J;return(null===(J=this.parentContexts.getContext(O))||void 0===J?void 0:J.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const O=this.parentContexts.getContext(this.name);null!=O&&O.route&&(O.attachRef?this.attach(O.attachRef,O.route):this.activateWith(O.route,O.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new a.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new a.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new a.wOt(4012,!1);this.location.detach();const O=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(O.instance),O}attach(O,J){var Ue;this.activated=O,this._activatedRoute=J,this.location.insert(O.hostView),null===(Ue=this.inputBinder)||void 0===Ue||Ue.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(O.instance)}deactivate(){if(this.activated){const O=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(O)}}activateWith(O,J){var Ue;if(this.isActivated)throw new a.wOt(4013,!1);this._activatedRoute=O;const Ye=this.location,Pn=O.snapshot.component,en=this.parentContexts.getOrCreateContext(this.name).children,br=new Gi(O,en,Ye.injector);this.activated=Ye.createComponent(Pn,{index:Ye.length,injector:br,environmentInjector:J}),this.changeDetector.markForCheck(),null===(Ue=this.inputBinder)||void 0===Ue||Ue.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(S=P).\u0275fac=function(O){return new(O||S)},S.\u0275dir=a.FsC({type:S,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[a.OA$]}),P})();class Gi{__ngOutletInjector(P){return new Gi(this.route,this.childContexts,P)}constructor(P,K,O){this.route=P,this.childContexts=K,this.parent=O}get(P,K){return P===Ft?this.route:P===Ms?this.childContexts:this.parent.get(P,K)}}const Wi=new a.nKC("");let so=(()=>{var S;class P{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(O){this.unsubscribeFromRouteData(O),this.subscribeToRouteData(O)}unsubscribeFromRouteData(O){var J;null===(J=this.outletDataSubscriptions.get(O))||void 0===J||J.unsubscribe(),this.outletDataSubscriptions.delete(O)}
1subscribeToRouteData(O){const{activatedRoute:J}=O,Ue=(0,F.z)([J.queryParams,J.params,J.data]).pipe((0,Pe.n)(([Ye,Qt,Pn],en)=>(Pn={...Ye,...Qt,...Pn},0===en?(0,T.of)(Pn):Promise.resolve(Pn)))).subscribe(Ye=>{if(!O.isActivated||!O.activatedComponentRef||O.activatedRoute!==J||null===J.component)return void this.unsubscribeFromRouteData(O);const Qt=(0,a.HJs)(J.component);if(Qt)for(const{templateName:Pn}of Qt.inputs)O.activatedComponentRef.setInput(Pn,Ye[Pn]);else this.unsubscribeFromRouteData(O)});this.outletDataSubscriptions.set(O,Ue)}}return(S=P).\u0275fac=function(O){return new(O||S)},S.\u0275prov=a.jDH({token:S,factory:S.\u0275fac}),P})();function Co(S,P,K){if(K&&S.shouldReuseRoute(P.value,K.value.snapshot)){const O=K.value;O._futureSnapshot=P.value;const J=function Jn(S,P,K){return P.children.map(O=>{for(const J of K.children)if(S.shouldReuseRoute(O.value,J.value.snapshot))return Co(S,O,J);return Co(S,O)})}(S,P,K);return new fi(O,J)}{if(S.shouldAttach(P.value)){const Ue=S.retrieve(P.value);if(null!==Ue){const Ye=Ue.route;return Ye.value._futureSnapshot=P.value,Ye.children=P.children.map(Qt=>Co(S,Qt)),Ye}}const O=function Do(S){return new Ft(new x.t(S.url),new x.t(S.params),new x.t(S.queryParams),new x.t(S.fragment),new x.t(S.data),S.outlet,S.component,S)}(P.value),J=P.children.map(Ue=>Co(S,Ue));return new fi(O,J)}}class gs{constructor(P,K){this.redirectTo=P,this.navigationBehaviorOptions=K}}const Ai="ngNavigationCancelingError";function bs(S,P){const{redirectTo:K,navigationBehaviorOptions:O}=to(P)?{redirectTo:P,navigationBehaviorOptions:void 0}:P,J=xl(!1,Dn.Redirect);return J.url=K,J.navigationBehaviorOptions=O,J}function xl(S,P){const K=new Error(`NavigationCancelingError: ${S||""}`);return K[Ai]=!0,K.cancellationCode=P,K}function Qo(S){return!!S&&S[Ai]}class Uo{constructor(P,K,O,J,Ue){this.routeReuseStrategy=P,this.futureState=K,this.currState=O,this.forwardEvent=J,this.inputBindingEnabled=Ue}activate(P){const K=this.futureState._root,O=this.currState?this.currState._root:null;this.deactivateChildRoutes(K,O,P),pr(this.futureState.root),this.activateChildRoutes(K,O,P)}deactivateChildRoutes(P,K,O){const J=ye(K);P.children.forEach(Ue=>{const Ye=Ue.value.outlet;this.deactivateRoutes(Ue,J[Ye],O),delete J[Ye]}),Object.values(J).forEach(Ue=>{this.deactivateRouteAndItsChildren(Ue,O)})}deactivateRoutes(P,K,O){const J=P.value,Ue=K?K.value:null;if(J===Ue)if(J.component){const Ye=O.getContext(J.outlet);Ye&&this.deactivateChildRoutes(P,K,Ye.children)}else this.deactivateChildRoutes(P,K,O);else Ue&&this.deactivateRouteAndItsChildren(K,O)}deactivateRouteAndItsChildren(P,K){P.value.component&&this.routeReuseStrategy.shouldDetach(P.value.snapshot)?this.detachAndStoreRouteSubtree(P,K):this.deactivateRouteAndOutlet(P,K)}detachAndStoreRouteSubtree(P,K){const O=K.getContext(P.value.outlet),J=O&&P.value.component?O.children:K,Ue=ye(P);for(const Ye of Object.values(Ue))this.deactivateRouteAndItsChildren(Ye,J);if(O&&O.outlet){const Ye=O.outlet.detach(),Qt=O.children.onOutletDeactivated();this.routeReuseStrategy.store(P.value.snapshot,{componentRef:Ye,route:P,contexts:Qt})}}deactivateRouteAndOutlet(P,K){const O=K.getContext(P.value.outlet),J=O&&P.value.component?O.children:K,Ue=ye(P);for(const Ye of Object.values(Ue))this.deactivateRouteAndItsChildren(Ye,J);O&&(O.outlet&&(O.outlet.deactivate(),O.children.onOutletDeactivated()),O.attachRef=null,O.route=null)}activateChildRoutes(P,K,O){const J=ye(K);P.children.forEach(Ue=>{this.activateRoutes(Ue,J[Ue.value.outlet],O),this.forwardEvent(new St(Ue.value.snapshot))}),P.children.length&&this.forwardEvent(new tr(P.value.snapshot))}activateRoutes(P,K,O){const J=P.value,Ue=K?K.value:null;if(pr(J),J===Ue)if(J.component){const Ye=O.getOrCreateContext(J.outlet);this.activateChildRoutes(P,K,Ye.children)}else this.activateChildRoutes(P,K,O);else if(J.component){const Ye=O.getOrCreateContext(J.outlet);if(this.routeReuseStrategy.shouldAttach(J.snapshot)){const Qt=this.routeReuseStrategy.retrieve(J.snapshot);this.routeReuseStrategy.store(J.snapshot,null),Ye.children.onOutletReAttached(Qt.contexts),Ye.attachRef=Qt.componentRef,Ye.route=Qt.route.value,Ye.outlet&&Ye.outlet.attach(Qt.componentRef,Qt.route.value),pr(Qt.route.value),this.activateChildRoutes(P,null,Ye.children)}else Ye.attachRef=null,Ye.route=J,Ye.outlet&&Ye.outlet.activateWith(J,Ye.injector),this.activateChildRoutes(P,null,Ye.children)}else this.activateChildRoutes(P,null,O)}}class ba{constructor(P){this.path=P,this.route=this.path[this.path.length-1]}}class ms{constructor(P,K){this.component=P,this.route=K}}function As(S,P,K){const O=S._root;return fa(O,P?P._root:null,K,[O.value])}function So(S,P){const K=Symbol(),O=P.get(S,K);return O===K?"function"!=typeof S||(0,a.LfX)(S)?P.get(S):S:O}function fa(S,P,K,O,J={canDeactivateChecks:[],canActivateChecks:[]}){const Ue=ye(P);
1return S.children.forEach(Ye=>{(function sc(S,P,K,O,J={canDeactivateChecks:[],canActivateChecks:[]}){const Ue=S.value,Ye=P?P.value:null,Qt=K?K.getContext(S.value.outlet):null;if(Ye&&Ue.routeConfig===Ye.routeConfig){const Pn=function ho(S,P,K){if("function"==typeof K)return K(S,P);switch(K){case"pathParamsChange":return!Yr(S.url,P.url);case"pathParamsOrQueryParamsChange":return!Yr(S.url,P.url)||!$r(S.queryParams,P.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Cr(S,P)||!$r(S.queryParams,P.queryParams);default:return!Cr(S,P)}}(Ye,Ue,Ue.routeConfig.runGuardsAndResolvers);Pn?J.canActivateChecks.push(new ba(O)):(Ue.data=Ye.data,Ue._resolvedData=Ye._resolvedData),fa(S,P,Ue.component?Qt?Qt.children:null:K,O,J),Pn&&Qt&&Qt.outlet&&Qt.outlet.isActivated&&J.canDeactivateChecks.push(new ms(Qt.outlet.component,Ye))}else Ye&&vs(P,Qt,J),J.canActivateChecks.push(new ba(O)),fa(S,null,Ue.component?Qt?Qt.children:null:K,O,J)})(Ye,Ue[Ye.value.outlet],K,O.concat([Ye.value]),J),delete Ue[Ye.value.outlet]}),Object.entries(Ue).forEach(([Ye,Qt])=>vs(Qt,K.getContext(Ye),J)),J}function vs(S,P,K){const O=ye(S),J=S.value;Object.entries(O).forEach(([Ue,Ye])=>{vs(Ye,J.component?P?P.children.getContext(Ue):null:P,K)}),K.canDeactivateChecks.push(new ms(J.component&&P&&P.outlet&&P.outlet.isActivated?P.outlet.component:null,J))}function wo(S){return"function"==typeof S}function rs(S){return S instanceof B.G||"EmptyError"===(null==S?void 0:S.name)}const tl=Symbol("INITIAL_VALUE");function Fs(){return(0,Pe.n)(S=>(0,F.z)(S.map(P=>P.pipe((0,Re.s)(1),(0,it.Z)(tl)))).pipe((0,$e.T)(P=>{for(const K of P)if(!0!==K){if(K===tl)return tl;if(!1===K||wa(K))return K}return!0}),(0,Be.p)(P=>P!==tl),(0,Re.s)(1)))}function wa(S){return to(S)||S instanceof gs}function Go(S){return(0,L.F)((0,z.M)(P=>{if("boolean"!=typeof P)throw bs(0,P)}),(0,$e.T)(P=>!0===P))}class Vo{constructor(P){this.segmentGroup=P||null}}class Rl extends Error{constructor(P){super(),this.urlTree=P}}function es(S){return(0,U.$)(new Vo(S))}class Nl{constructor(P,K){this.urlSerializer=P,this.urlTree=K}lineralizeSegments(P,K){let O=[],J=K.root;for(;;){if(O=O.concat(J.segments),0===J.numberOfChildren)return(0,T.of)(O);if(J.numberOfChildren>1||!J.children[ct])return(0,U.$)(new a.wOt(4e3,!1));J=J.children[ct]}}applyRedirectCommands(P,K,O,J,Ue){if("string"!=typeof K){const Qt=K,{queryParams:Pn,fragment:en,routeConfig:br,url:ai,outlet:Ji,params:wi,data:Ho,title:Vs}=J,Xr=(0,a.N4e)(Ue,()=>Qt({params:wi,data:Ho,queryParams:Pn,fragment:en,routeConfig:br,url:ai,outlet:Ji,title:Vs}));if(Xr instanceof dn)throw new Rl(Xr);K=Xr}const Ye=this.applyRedirectCreateUrlTree(K,this.urlSerializer.parse(K),P,O);if("/"===K[0])throw new Rl(Ye);return Ye}applyRedirectCreateUrlTree(P,K,O,J){const Ue=this.createSegmentGroup(P,K.root,O,J);return new dn(Ue,this.createQueryParams(K.queryParams,this.urlTree.queryParams),K.fragment)}createQueryParams(P,K){const O={};return Object.entries(P).forEach(([J,Ue])=>{if("string"==typeof Ue&&":"===Ue[0]){const Qt=Ue.substring(1);O[J]=K[Qt]}else O[J]=Ue}),O}createSegmentGroup(P,K,O,J){const Ue=this.createSegments(P,K.segments,O,J);let Ye={};return Object.entries(K.children).forEach(([Qt,Pn])=>{Ye[Qt]=this.createSegmentGroup(P,Pn,O,J)}),new Ar(Ue,Ye)}createSegments(P,K,O,J){return K.map(Ue=>":"===Ue.path[0]?this.findPosParam(P,Ue,J):this.findOrReturn(Ue,O))}findPosParam(P,K,O){const J=O[K.path.substring(1)];if(!J)throw new a.wOt(4001,!1);return J}findOrReturn(P,K){let O=0;for(const J of K){if(J.path===P.path)return K.splice(O),J;O++}return P}}const ha={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function _l(S,P,K,O,J){const Ue=jo(S,P,K);return Ue.matched?(O=function Ee(S,P){var K;return S.providers&&!S._injector&&(S._injector=(0,a.Ol2)(S.providers,P,`Route: ${S.path}`)),null!==(K=S._injector)&&void 0!==K?K:P}(P,O),function Br(S,P,K,O){const J=P.canMatch;if(!J||0===J.length)return(0,T.of)(!0);const Ue=J.map(Ye=>{const Qt=So(Ye,S);return Yn(function yl(S){return S&&wo(S.canMatch)}(Qt)?Qt.canMatch(P,K):(0,a.N4e)(S,()=>Qt(P,K)))});return(0,T.of)(Ue).pipe(Fs(),Go())}(O,P,K).pipe((0,$e.T)(Ye=>!0===Ye?Ue:{...ha}))):(0,T.of)(Ue)}function jo(S,P,K){var O,J;if("**"===P.path)return function Os(S){return{matched:!0,parameters:S.length>0?cr(S).parameters:{},consumedSegments:S,remainingSegments:[],positionalParamSegments:{}}}(K);if(""===P.path)return"full"===P.pathMatch&&(S.hasChildren()||K.length>0)?{...ha}:{matched:!0,consumedSegments:[],remainingSegments:K,parameters:{},positionalParamSegments:{}};const Ye=(P.matcher||lr)(K,S,P);if(!Ye)return{...ha};const Qt={};Object.entries(null!==(O=Ye.posParams)&&void 0!==O?O:{}
1).forEach(([en,br])=>{Qt[en]=br.path});const Pn=Ye.consumed.length>0?{...Qt,...Ye.consumed[Ye.consumed.length-1].parameters}:Qt;return{matched:!0,consumedSegments:Ye.consumed,remainingSegments:K.slice(Ye.consumed.length),parameters:Pn,positionalParamSegments:null!==(J=Ye.posParams)&&void 0!==J?J:{}}}function ys(S,P,K,O){return K.length>0&&function nl(S,P,K){return K.some(O=>rl(S,P,O)&&$o(O)!==ct)}(S,K,O)?{segmentGroup:new Ar(P,Ps(O,new Ar(K,S.children))),slicedSegments:[]}:0===K.length&&function Ll(S,P,K){return K.some(O=>rl(S,P,O))}(S,K,O)?{segmentGroup:new Ar(S.segments,pa(S,K,O,S.children)),slicedSegments:K}:{segmentGroup:new Ar(S.segments,S.children),slicedSegments:K}}function pa(S,P,K,O){const J={};for(const Ue of K)if(rl(S,P,Ue)&&!O[$o(Ue)]){const Ye=new Ar([],{});J[$o(Ue)]=Ye}return{...O,...J}}function Ps(S,P){const K={};K[ct]=P;for(const O of S)if(""===O.path&&$o(O)!==ct){const J=new Ar([],{});K[$o(O)]=J}return K}function rl(S,P,K){return(!(S.hasChildren()||P.length>0)||"full"!==K.pathMatch)&&""===K.path}class Mn{}class vi{constructor(P,K,O,J,Ue,Ye,Qt){this.injector=P,this.configLoader=K,this.rootComponentType=O,this.config=J,this.urlTree=Ue,this.paramsInheritanceStrategy=Ye,this.urlSerializer=Qt,this.applyRedirects=new Nl(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(P){return new a.wOt(4002,`'${P.segmentGroup}'`)}recognize(){const P=ys(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(P).pipe((0,$e.T)(({children:K,rootSnapshot:O})=>{const J=new fi(O,K),Ue=new xn("",J),Ye=function Fo(S,P,K=null,O=null){return xo(Qr(S),P,K,O)}(O,[],this.urlTree.queryParams,this.urlTree.fragment);return Ye.queryParams=this.urlTree.queryParams,Ue.url=this.urlSerializer.serialize(Ye),{state:Ue,tree:Ye}}))}match(P){const K=new bn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),ct,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,P,ct,K).pipe((0,$e.T)(O=>({children:O,rootSnapshot:K})),(0,ce.W)(O=>{if(O instanceof Rl)return this.urlTree=O.urlTree,this.match(O.urlTree.root);throw O instanceof Vo?this.noMatchError(O):O}))}processSegmentGroup(P,K,O,J,Ue){return 0===O.segments.length&&O.hasChildren()?this.processChildren(P,K,O,Ue):this.processSegment(P,K,O,O.segments,J,!0,Ue).pipe((0,$e.T)(Ye=>Ye instanceof fi?[Ye]:[]))}processChildren(P,K,O,J){const Ue=[];for(const Ye of Object.keys(O.children))"primary"===Ye?Ue.unshift(Ye):Ue.push(Ye);return(0,w.H)(Ue).pipe((0,k.H)(Ye=>{const Qt=O.children[Ye],Pn=function Ks(S,P){const K=S.filter(O=>$o(O)===P);return K.push(...S.filter(O=>$o(O)!==P)),K}(K,Ye);return this.processSegmentGroup(P,Pn,Qt,Ye,J)}),(0,pe.S)((Ye,Qt)=>(Ye.push(...Qt),Ye)),(0,ve.U)(null),function ee(S,P){const K=arguments.length>=2;return O=>O.pipe(S?(0,Be.p)((J,Ue)=>S(J,Ue,O)):de.D,ze(1),K?(0,ve.U)(P):(0,fe.v)(()=>new B.G))}(),(0,We.Z)(Ye=>{if(null===Ye)return es(O);const Qt=Tn(Ye);return function ro(S){S.sort((P,K)=>P.value.outlet===ct?-1:K.value.outlet===ct?1:P.value.outlet.localeCompare(K.value.outlet))}
1(Qt),(0,T.of)(Qt)}))}processSegment(P,K,O,J,Ue,Ye,Qt){return(0,w.H)(K).pipe((0,k.H)(Pn=>{var en;return this.processSegmentAgainstRoute(null!==(en=Pn._injector)&&void 0!==en?en:P,K,Pn,O,J,Ue,Ye,Qt).pipe((0,ce.W)(br=>{if(br instanceof Vo)return(0,T.of)(null);throw br}))}),(0,Ae.$)(Pn=>!!Pn),(0,ce.W)(Pn=>{if(rs(Pn))return function Wt(S,P,K){return 0===P.length&&!S.children[K]}(O,J,Ue)?(0,T.of)(new Mn):es(O);throw Pn}))}processSegmentAgainstRoute(P,K,O,J,Ue,Ye,Qt,Pn){return function ci(S,P,K,O){return!!($o(S)===O||O!==ct&&rl(P,K,S))&&jo(P,S,K).matched}(O,J,Ue,Ye)?void 0===O.redirectTo?this.matchSegmentAgainstRoute(P,J,O,Ue,Ye,Pn):this.allowRedirects&&Qt?this.expandSegmentAgainstRouteUsingRedirect(P,J,K,O,Ue,Ye,Pn):es(J):es(J)}expandSegmentAgainstRouteUsingRedirect(P,K,O,J,Ue,Ye,Qt){var Pn,en;const{matched:br,parameters:ai,consumedSegments:Ji,positionalParamSegments:wi,remainingSegments:Ho}=jo(K,J,Ue);if(!br)return es(K);"string"==typeof J.redirectTo&&"/"===J.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Vs=new bn(Ue,ai,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,lc(J),$o(J),null!==(Pn=null!==(en=J.component)&&void 0!==en?en:J._loadedComponent)&&void 0!==Pn?Pn:null,J,cs(J)),Xr=$t(Vs,Qt,this.paramsInheritanceStrategy);Vs.params=Object.freeze(Xr.params),Vs.data=Object.freeze(Xr.data);const Bo=this.applyRedirects.applyRedirectCommands(Ji,J.redirectTo,wi,Vs,P);return this.applyRedirects.lineralizeSegments(J,Bo).pipe((0,We.Z)(go=>this.processSegment(P,O,K,go.concat(Ho),Ye,!1,Qt)))}matchSegmentAgainstRoute(P,K,O,J,Ue,Ye){const Qt=_l(K,O,J,P);return"**"===O.path&&(K.children={}),Qt.pipe((0,Pe.n)(Pn=>{var en;return Pn.matched?(P=null!==(en=O._injector)&&void 0!==en?en:P,this.getChildConfig(P,O,J).pipe((0,Pe.n)(({routes:br})=>{var ai,Ji,wi;const Ho=null!==(ai=O._loadedInjector)&&void 0!==ai?ai:P,{parameters:Vs,consumedSegments:Xr,remainingSegments:Bo}=Pn,go=new bn(Xr,Vs,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,lc(O),$o(O),null!==(Ji=null!==(wi=O.component)&&void 0!==wi?wi:O._loadedComponent)&&void 0!==Ji?Ji:null,O,cs(O)),Zo=$t(go,Ye,this.paramsInheritanceStrategy);go.params=Object.freeze(Zo.params),go.data=Object.freeze(Zo.data);const{segmentGroup:_s,slicedSegments:dc}=ys(K,Xr,Bo,br);if(0===dc.length&&_s.hasChildren())return this.processChildren(Ho,br,_s,go).pipe((0,$e.T)(Ia=>new fi(go,Ia)));if(0===br.length&&0===dc.length)return(0,T.of)(new fi(go,[]));const qc=$o(O)===Ue;return this.processSegment(Ho,br,_s,dc,qc?ct:Ue,!0,go).pipe((0,$e.T)(Ia=>new fi(go,Ia instanceof fi?[Ia]:[])))}))):es(K)}))}getChildConfig(P,K,O){return K.children?(0,T.of)({routes:K.children,injector:P}):K.loadChildren?void 0!==K._loadedRoutes?(0,T.of)({routes:K._loadedRoutes,injector:K._loadedInjector}):function Bs(S,P,K,O){const J=P.canLoad;if(void 0===J||0===J.length)return(0,T.of)(!0);const Ue=J.map(Ye=>{const Qt=So(Ye,S);return Yn(function $a(S){return S&&wo(S.canLoad)}(Qt)?Qt.canLoad(P,K):(0,a.N4e)(S,()=>Qt(P,K)))});return(0,T.of)(Ue).pipe(Fs(),Go())}(P,K,O).pipe((0,We.Z)(J=>J?this.configLoader.loadChildren(P,K).pipe((0,z.M)(Ue=>{K._loadedRoutes=Ue.routes,K._loadedInjector=Ue.injector})):function Li(S){return(0,U.$)(xl(!1,Dn.GuardRejected))}())):(0,T.of)({routes:[],injector:P})}}function Ko(S){const P=S.value.routeConfig;return P&&""===P.path}function Tn(S){const P=[],K=new Set;for(const O of S){if(!Ko(O)){P.push(O);continue}const J=P.find(Ue=>O.value.routeConfig===Ue.value.routeConfig);void 0!==J?(J.children.push(...O.children),K.add(J)):P.push(O)}for(const O of K){const J=Tn(O.children);P.push(new fi(O.value,J))}return P.filter(O=>!K.has(O))}function lc(S){return S.data||{}}function cs(S){return S.resolve||{}}function ia(S){const P=S.children.map(K=>ia(K)).flat();return[S,...P]}function $l(S){return(0,Pe.n)(P=>{const K=S(P);return K?(0,w.H)(K).pipe((0,$e.T)(()=>P)):(0,T.of)(P)})}let pi=(()=>{var S;class P{buildTitle(O){let J,Ue=O.root;for(;void 0!==Ue;){var Ye;J=null!==(Ye=this.getResolvedTitleForRoute(Ue))&&void 0!==Ye?Ye:J,Ue=Ue.children.find(Qt=>Qt.outlet===ct)}return J}getResolvedTitleForRoute(O){return O.data[jt]}}return(S=P).\u0275fac=function(O){return new(O||S)},S.\u0275prov=a.jDH({token:S,factory:()=>(0,a.WQX)(Qi),providedIn:"root"}),P})(),Qi=(()=>{var S;class P extends pi{constructor(O){super(),this.title=O}updateTitle(O){const J=this.buildTitle(O);void 0!==J&&this.title.setTitle(J)}}return(S=P).\u0275fac=function(O){return new(O||S)(a.KVO(pt.hE))},S.\u0275prov=a.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}),P})();const Cl=new a.nKC("",{providedIn:"root",factory:()=>({})});let zl=(()=>{var S;class P{}return(S=P).\u0275fac=function(O){return new(O||S)},S.\u0275cmp=a.VBU({type:S,selectors:[["ng-component"]],standalone:!0,features:[a.aNF],decls:1,vars:0,template:function(O,J){1&O&&a.nrm(0,"router-outlet")},dependencies:[Rr],encapsulation:2}),P})();function Gl(S){const P=S.children&&S.children.map(Gl),K=P?{...S,children:P}:{...S};return!K.component&&!K.loadComponent&&(P||K.loadChildren)&&K.outlet&&K.outlet!==ct&&(K.component=zl),K}const ma=new a.nKC("");let oa=(()=>{var S;class P{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,a.WQX)(a.Ql9)}loadComponent(O){if(this.componentLoaders.get(O))return this.componentLoaders.get(O);if(O._loadedComponent)return(0,T.of)(O._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(O);const J=Yn(O.loadComponent()).pipe((0,$e.T)(ol),(0,z.M)(Ye=>{this.onLoadEndListener&&this.onLoadEndListener(O),O._loadedComponent=Ye}),(0,se.j)(()=>{this.componentLoaders.delete(O)})),Ue=new ge(J,()=>new he.B).pipe(Ie());return this.componentLoaders.set(O,Ue),Ue}loadChildren(O,J){if(this.childrenLoaders.get(J))return this.childrenLoaders.get(J);
1if(J._loadedRoutes)return(0,T.of)({routes:J._loadedRoutes,injector:J._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(J);const Ye=function il(S,P,K,O){return Yn(S.loadChildren()).pipe((0,$e.T)(ol),(0,We.Z)(J=>J instanceof a.Co$||Array.isArray(J)?(0,T.of)(J):(0,w.H)(P.compileModuleAsync(J))),(0,$e.T)(J=>{O&&O(S);let Ue,Ye,Qt=!1;return Array.isArray(J)?(Ye=J,!0):(Ue=J.create(K).injector,Ye=Ue.get(ma,[],{optional:!0,self:!0}).flat()),{routes:Ye.map(Gl),injector:Ue}}))}(J,this.compiler,O,this.onLoadEndListener).pipe((0,se.j)(()=>{this.childrenLoaders.delete(J)})),Qt=new ge(Ye,()=>new he.B).pipe(Ie());return this.childrenLoaders.set(J,Qt),Qt}}return(S=P).\u0275fac=function(O){return new(O||S)},S.\u0275prov=a.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}),P})();function ol(S){return function Vi(S){return S&&"object"==typeof S&&"default"in S}(S)?S.default:S}let ka=(()=>{var S;class P{}return(S=P).\u0275fac=function(O){return new(O||S)},S.\u0275prov=a.jDH({token:S,factory:()=>(0,a.WQX)(Ds),providedIn:"root"}),P})(),Ds=(()=>{var S;class P{shouldProcessUrl(O){return!0}extract(O){return O}merge(O,J){return O}}return(S=P).\u0275fac=function(O){return new(O||S)},S.\u0275prov=a.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}),P})();const sa=new a.nKC(""),us=new a.nKC("");function Us(S,P,K){const O=S.get(us),J=S.get(Me.qQ);return S.get(a.SKi).runOutsideAngular(()=>{if(!J.startViewTransition||O.skipNextTransition)return O.skipNextTransition=!1,new Promise(en=>setTimeout(en));let Ue;const Ye=new Promise(en=>{Ue=en}),Qt=J.startViewTransition(()=>(Ue(),function A(S){return new Promise(P=>{(0,a.mal)({read:()=>setTimeout(P)},{injector:S})})}(S))),{onViewTransitionCreated:Pn}=O;return Pn&&(0,a.N4e)(S,()=>Pn({transition:Qt,from:P,to:K})),Ye})}const ae=new a.nKC("");let lt=(()=>{var S;class P{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new he.B,this.transitionAbortSubject=new he.B,this.configLoader=(0,a.WQX)(oa),this.environmentInjector=(0,a.WQX)(a.uvJ),this.urlSerializer=(0,a.WQX)(mi),this.rootContexts=(0,a.WQX)(Ms),this.location=(0,a.WQX)(Me.aZ),this.inputBindingEnabled=null!==(0,a.WQX)(Wi,{optional:!0}),this.titleStrategy=(0,a.WQX)(pi),this.options=(0,a.WQX)(Cl,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,a.WQX)(ka),this.createViewTransition=(0,a.WQX)(sa,{optional:!0}),this.navigationErrorHandler=(0,a.WQX)(ae,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,T.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Ue=>this.events.next(new di(Ue)),this.configLoader.onLoadStartListener=Ue=>this.events.next(new Ni(Ue))}complete(){var O;null===(O=this.transitions)||void 0===O||O.complete()}handleNavigationRequest(O){var J;const Ue=++this.navigationId;null===(J=this.transitions)||void 0===J||J.next({...this.transitions.value,...O,id:Ue})}setupNavigations(O,J,Ue){return this.transitions=new x.t({id:0,currentUrlTree:J,currentRawUrl:J,extractedUrl:this.urlHandlingStrategy.extract(J),urlAfterRedirects:this.urlHandlingStrategy.extract(J),rawUrl:J,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Fe,restoredState:null,currentSnapshot:Ue.snapshot,targetSnapshot:null,currentRouterState:Ue,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Be.p)(Ye=>0!==Ye.id),(0,$e.T)(Ye=>({...Ye,extractedUrl:this.urlHandlingStrategy.extract(Ye.rawUrl)})),(0,Pe.n)(Ye=>{let Qt=!1,Pn=!1;return(0,T.of)(Ye).pipe((0,Pe.n)(en=>{var br;if(this.navigationId>Ye.id)return this.cancelNavigationTransition(Ye,"",Dn.SupersededByNewNavigation),le.w;this.currentTransition=Ye,this.currentNavigation={id:en.id,initialUrl:en.rawUrl,extractedUrl:en.extractedUrl,targetBrowserUrl:"string"==typeof en.extras.browserUrl?this.urlSerializer.parse(en.extras.browserUrl):en.extras.browserUrl,trigger:en.source,extras:en.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const ai=!O.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),Ji=null!==(br=en.extras.onSameUrlNavigation)&&void 0!==br?br:O.onSameUrlNavigation;if(!ai&&"reload"!==Ji){const wi="";return this.events.next(new Wr(en.id,this.urlSerializer.serialize(en.rawUrl),wi,ir.IgnoredSameUrlNavigation)),en.resolve(!1),le.w}if(this.urlHandlingStrategy.shouldProcessUrl(en.rawUrl))return(0,T.of)(en).pipe((0,Pe.n)(wi=>{var Ho,Vs;const Xr=null===(Ho=this.transitions)||void 0===Ho?void 0:Ho.getValue();return this.events.next(new Bt(wi.id,this.urlSerializer.serialize(wi.extractedUrl),wi.source,wi.restoredState)),Xr!==(null===(Vs=this.transitions)||void 0===Vs?void 0:Vs.getValue())?le.w:Promise.resolve(wi)}),function ga(S,P,K,O,J,Ue){return(0,We.Z)(Ye=>function vn(S,P,K,O,J,Ue,Ye="emptyOnly"){return new vi(S,P,K,O,J,Ye,Ue).recognize()}
1(S,P,K,O,Ye.extractedUrl,J,Ue).pipe((0,$e.T)(({state:Qt,tree:Pn})=>({...Ye,targetSnapshot:Qt,urlAfterRedirects:Pn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,O.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,z.M)(wi=>{Ye.targetSnapshot=wi.targetSnapshot,Ye.urlAfterRedirects=wi.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:wi.urlAfterRedirects};const Ho=new Bi(wi.id,this.urlSerializer.serialize(wi.extractedUrl),this.urlSerializer.serialize(wi.urlAfterRedirects),wi.targetSnapshot);this.events.next(Ho)}));if(ai&&this.urlHandlingStrategy.shouldProcessUrl(en.currentRawUrl)){const{id:wi,extractedUrl:Ho,source:Vs,restoredState:Xr,extras:Bo}=en,go=new Bt(wi,this.urlSerializer.serialize(Ho),Vs,Xr);this.events.next(go);const Zo=_t(this.rootComponentType).snapshot;return this.currentTransition=Ye={...en,targetSnapshot:Zo,urlAfterRedirects:Ho,extras:{...Bo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Ho,(0,T.of)(Ye)}{const wi="";return this.events.next(new Wr(en.id,this.urlSerializer.serialize(en.extractedUrl),wi,ir.IgnoredByUrlHandlingStrategy)),en.resolve(!1),le.w}}),(0,z.M)(en=>{const br=new Pi(en.id,this.urlSerializer.serialize(en.extractedUrl),this.urlSerializer.serialize(en.urlAfterRedirects),en.targetSnapshot);this.events.next(br)}),(0,$e.T)(en=>(this.currentTransition=Ye={...en,guards:As(en.targetSnapshot,en.currentSnapshot,this.rootContexts)},Ye)),function oe(S,P){return(0,We.Z)(K=>{const{targetSnapshot:O,currentSnapshot:J,guards:{canActivateChecks:Ue,canDeactivateChecks:Ye}}=K;return 0===Ye.length&&0===Ue.length?(0,T.of)({...K,guardsResult:!0}):function j(S,P,K,O){return(0,w.H)(S).pipe((0,We.Z)(J=>function Ao(S,P,K,O,J){const Ue=P&&P.routeConfig?P.routeConfig.canDeactivate:null;if(!Ue||0===Ue.length)return(0,T.of)(!0);const Ye=Ue.map(Qt=>{var Pn;const en=null!==(Pn=as(P))&&void 0!==Pn?Pn:J,br=So(Qt,en);return Yn(function oi(S){return S&&wo(S.canDeactivate)}(br)?br.canDeactivate(S,P,K,O):(0,a.N4e)(en,()=>br(S,P,K,O))).pipe((0,Ae.$)())});return(0,T.of)(Ye).pipe(Fs())}(J.component,J.route,K,P,O)),(0,Ae.$)(J=>!0!==J,!0))}(Ye,O,J,S).pipe((0,We.Z)(Qt=>Qt&&function Da(S){return"boolean"==typeof S}(Qt)?function Ne(S,P,K,O){return(0,w.H)(P).pipe((0,k.H)(J=>(0,H.x)(function Qe(S,P){return null!==S&&P&&P(new dt(S)),(0,T.of)(!0)}(J.route.parent,O),function re(S,P){return null!==S&&P&&P(new ft(S)),(0,T.of)(!0)}(J.route,O),function Vr(S,P,K){const O=P[P.length-1],Ue=P.slice(0,P.length-1).reverse().map(Ye=>function Hl(S){const P=S.routeConfig?S.routeConfig.canActivateChild:null;return P&&0!==P.length?{node:S,guards:P}:null}(Ye)).filter(Ye=>null!==Ye).map(Ye=>(0,V.v)(()=>{const Qt=Ye.guards.map(Pn=>{var en;const br=null!==(en=as(Ye.node))&&void 0!==en?en:K,ai=So(Pn,br);return Yn(function Sa(S){return S&&wo(S.canActivateChild)}(ai)?ai.canActivateChild(O,S):(0,a.N4e)(br,()=>ai(O,S))).pipe((0,Ae.$)())});return(0,T.of)(Qt).pipe(Fs())}));return(0,T.of)(Ue).pipe(Fs())}(S,J.path,K),function On(S,P,K){const O=P.routeConfig?P.routeConfig.canActivate:null;if(!O||0===O.length)return(0,T.of)(!0);const J=O.map(Ue=>(0,V.v)(()=>{var Ye;const Qt=null!==(Ye=as(P))&&void 0!==Ye?Ye:K,Pn=So(Ue,Qt);return Yn(function vl(S){return S&&wo(S.canActivate)}(Pn)?Pn.canActivate(P,S):(0,a.N4e)(Qt,()=>Pn(P,S))).pipe((0,Ae.$)())}));return(0,T.of)(J).pipe(Fs())}(S,J.route,K))),(0,Ae.$)(J=>!0!==J,!0))}(O,Ue,S,P):(0,T.of)(Qt)),(0,$e.T)(Qt=>({...K,guardsResult:Qt})))})}(this.environmentInjector,en=>this.events.next(en)),(0,z.M)(en=>{if(Ye.guardsResult=en.guardsResult,en.guardsResult&&"boolean"!=typeof en.guardsResult)throw bs(0,en.guardsResult);const br=new Ui(en.id,this.urlSerializer.serialize(en.extractedUrl),this.urlSerializer.serialize(en.urlAfterRedirects),en.targetSnapshot,!!en.guardsResult);this.events.next(br)}),(0,Be.p)(en=>!!en.guardsResult||(this.cancelNavigationTransition(en,"",Dn.GuardRejected),!1)),$l(en=>{if(en.guards.canActivateChecks.length)return(0,T.of)(en).pipe((0,z.M)(br=>{const ai=new yo(br.id,this.urlSerializer.serialize(br.extractedUrl),this.urlSerializer.serialize(br.urlAfterRedirects),br.targetSnapshot);this.events.next(ai)}),(0,Pe.n)(br=>{let ai=!1;return(0,T.of)(br).pipe(function Wl(S,P){return(0,We.Z)(K=>{const{targetSnapshot:O,guards:{canActivateChecks:J}}=K;if(!J.length)return(0,T.of)(K);const Ue=new Set(J.map(Pn=>Pn.route)),Ye=new Set;for(const Pn of Ue)if(!Ye.has(Pn))for(const en of ia(Pn))Ye.add(en);let Qt=0;return(0,w.H)(Ye).pipe((0,k.H)(Pn=>Ue.has(Pn)?function El(S,P,K,O){const J=S.routeConfig,Ue=S._resolve;return void 0!==(null==J?void 0:J.title)&&!Or(J)&&(Ue[jt]=J.title),function xs(S,P,K,O){const J=ur(S);if(0===J.length)return(0,T.of)({});const Ue={};return(0,w.H)(J).pipe((0,We.Z)(Ye=>function io(S,P,K,O){var J;const Ue=null!==(J=as(P))&&void 0!==J?J:O,Ye=So(S,Ue);return Yn(Ye.resolve?Ye.resolve(P,K):(0,a.N4e)(Ue,()=>Ye(P,K)))}(S[Ye],P,K,O).pipe((0,Ae.$)(),(0,z.M)(Qt=>
1{if(Qt instanceof gs)throw bs(new Lt,Qt);Ue[Ye]=Qt}))),ze(1),(0,$.u)(Ue),(0,ce.W)(Ye=>rs(Ye)?le.w:(0,U.$)(Ye)))}(Ue,S,P,O).pipe((0,$e.T)(Ye=>(S._resolvedData=Ye,S.data=$t(S,S.parent,K).resolve,null)))}(Pn,O,S,P):(Pn.data=$t(Pn,Pn.parent,S).resolve,(0,T.of)(void 0))),(0,z.M)(()=>Qt++),ze(1),(0,We.Z)(Pn=>Qt===Ye.size?(0,T.of)(K):le.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,z.M)({next:()=>ai=!0,complete:()=>{ai||this.cancelNavigationTransition(br,"",Dn.NoDataFromResolver)}}))}),(0,z.M)(br=>{const ai=new uo(br.id,this.urlSerializer.serialize(br.extractedUrl),this.urlSerializer.serialize(br.urlAfterRedirects),br.targetSnapshot);this.events.next(ai)}))}),$l(en=>{const br=ai=>{var Ji;const wi=[];null!==(Ji=ai.routeConfig)&&void 0!==Ji&&Ji.loadComponent&&!ai.routeConfig._loadedComponent&&wi.push(this.configLoader.loadComponent(ai.routeConfig).pipe((0,z.M)(Ho=>{ai.component=Ho}),(0,$e.T)(()=>{})));for(const Ho of ai.children)wi.push(...br(Ho));return wi};return(0,F.z)(br(en.targetSnapshot.root)).pipe((0,ve.U)(null),(0,Re.s)(1))}),$l(()=>this.afterPreactivation()),(0,Pe.n)(()=>{var en;const{currentSnapshot:br,targetSnapshot:ai}=Ye,Ji=null===(en=this.createViewTransition)||void 0===en?void 0:en.call(this,this.environmentInjector,br.root,ai.root);return Ji?(0,w.H)(Ji).pipe((0,$e.T)(()=>Ye)):(0,T.of)(Ye)}),(0,$e.T)(en=>{const br=function Eo(S,P,K){const O=Co(S,P._root,K?K._root:void 0);return new Ve(O,P)}(O.routeReuseStrategy,en.targetSnapshot,en.currentRouterState);return this.currentTransition=Ye={...en,targetRouterState:br},this.currentNavigation.targetRouterState=br,Ye}),(0,z.M)(()=>{this.events.next(new Ln)}),((S,P,K,O)=>(0,$e.T)(J=>(new Uo(P,J.targetRouterState,J.currentRouterState,K,O).activate(S),J)))(this.rootContexts,O.routeReuseStrategy,en=>this.events.next(en),this.inputBindingEnabled),(0,Re.s)(1),(0,z.M)({next:en=>{var br;Qt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new fn(en.id,this.urlSerializer.serialize(en.extractedUrl),this.urlSerializer.serialize(en.urlAfterRedirects))),null===(br=this.titleStrategy)||void 0===br||br.updateTitle(en.targetRouterState.snapshot),en.resolve(!0)},complete:()=>{Qt=!0}}),(0,Ce.Q)(this.transitionAbortSubject.pipe((0,z.M)(en=>{throw en}))),(0,se.j)(()=>{var en;!Qt&&!Pn&&this.cancelNavigationTransition(Ye,"",Dn.SupersededByNewNavigation),(null===(en=this.currentTransition)||void 0===en?void 0:en.id)===Ye.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,ce.W)(en=>{if(Pn=!0,Qo(en))this.events.next(new er(Ye.id,this.urlSerializer.serialize(Ye.extractedUrl),en.message,en.cancellationCode)),function ks(S){return Qo(S)&&to(S.url)}(en)?this.events.next(new kr(en.url,en.navigationBehaviorOptions)):Ye.resolve(!1);else{var br;const ai=new Tr(Ye.id,this.urlSerializer.serialize(Ye.extractedUrl),en,null!==(br=Ye.targetSnapshot)&&void 0!==br?br:void 0);try{const Ji=(0,a.N4e)(this.environmentInjector,()=>{var wi;return null===(wi=this.navigationErrorHandler)||void 0===wi?void 0:wi.call(this,ai)});if(Ji instanceof gs){const{message:wi,cancellationCode:Ho}=bs(0,Ji);this.events.next(new er(Ye.id,this.urlSerializer.serialize(Ye.extractedUrl),wi,Ho)),this.events.next(new kr(Ji.redirectTo,Ji.navigationBehaviorOptions))}else{this.events.next(ai);const wi=O.errorHandler(en);Ye.resolve(!!wi)}}catch(Ji){this.options.resolveNavigationPromiseOnError?Ye.resolve(!1):Ye.reject(Ji)}}return le.w}))}))}cancelNavigationTransition(O,J,Ue){const Ye=new er(O.id,this.urlSerializer.serialize(O.extractedUrl),J,Ue);this.events.next(Ye),O.resolve(!1)}isUpdatingInternalState(){var O,J;return(null===(O=this.currentTransition)||void 0===O?void 0:O.extractedUrl.toString())!==(null===(J=this.currentTransition)||void 0===J?void 0:J.currentUrlTree.toString())}isUpdatedBrowserUrl(){var O,J,Ue,Ye;const Qt=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),Pn=null!==(O=null===(J=this.currentNavigation)||void 0===J?void 0:J.targetBrowserUrl)&&void 0!==O?O:null===(Ue=this.currentNavigation)||void 0===Ue?void 0:Ue.extractedUrl;return Qt.toString()!==(null==Pn?void 0:Pn.toString())&&!(null!==(Ye=this.currentNavigation)&&void 0!==Ye&&Ye.extras.skipLocationChange)}}return(S=P).\u0275fac=function(O){return new(O||S)},S.\u0275prov=a.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}),P})();function ne(S){return S!==Fe}let Ge=(()=>{var S;class P{}return(S=P).\u0275fac=function(O){return new(O||S)},S.\u0275prov=a.jDH({token:S,factory:()=>(0,a.WQX)(on),providedIn:"root"}),P})();class vt{shouldDetach(P){return!1}store(P,K){}shouldAttach(P){return!1}retrieve(P){return null}shouldReuseRoute(P,K){return P.routeConfig===K.routeConfig}}let on=(()=>{var S;class P extends vt{}return(S=P).\u0275fac=(()=>{let K;return function(J){return(K||(K=a.xGo(S)))(J||S)}})(),S.\u0275prov=a.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}),P})(),Hn=(()=>{var S;class P{}return(S=P).\u0275fac=function(O){return new(O||S)},S.\u0275prov=a.jDH({token:S,factory:()=>(0,a.WQX)(yi),providedIn:"root"}),P})(),yi=(()=>{var S;class P extends Hn{constructor(){super(...arguments),this.location=(0,a.WQX)(Me.aZ),this.urlSerializer
1=(0,a.WQX)(mi),this.options=(0,a.WQX)(Cl,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,a.WQX)(ka),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new dn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=_t(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var O,J;return"computed"!==this.canceledNavigationResolution?this.currentPageId:null!==(O=null===(J=this.restoredState())||void 0===J?void 0:J.\u0275routerPageId)&&void 0!==O?O:this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(O){return this.location.subscribe(J=>{"popstate"===J.type&&O(J.url,J.state)})}handleRouterEvent(O,J){if(O instanceof Bt)this.stateMemento=this.createStateMemento();else if(O instanceof Wr)this.rawUrlTree=J.initialUrl;else if(O instanceof Bi){if("eager"===this.urlUpdateStrategy&&!J.extras.skipLocationChange){var Ue;const Qt=this.urlHandlingStrategy.merge(J.finalUrl,J.initialUrl);this.setBrowserUrl(null!==(Ue=J.targetBrowserUrl)&&void 0!==Ue?Ue:Qt,J)}}else if(O instanceof Ln){var Ye;this.currentUrlTree=J.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(J.finalUrl,J.initialUrl),this.routerState=J.targetRouterState,"deferred"!==this.urlUpdateStrategy||J.extras.skipLocationChange||this.setBrowserUrl(null!==(Ye=J.targetBrowserUrl)&&void 0!==Ye?Ye:this.rawUrlTree,J)}else O instanceof er&&(O.code===Dn.GuardRejected||O.code===Dn.NoDataFromResolver)?this.restoreHistory(J):O instanceof Tr?this.restoreHistory(J,!0):O instanceof fn&&(this.lastSuccessfulId=O.id,this.currentPageId=this.browserPageId)}setBrowserUrl(O,J){const Ue=O instanceof dn?this.urlSerializer.serialize(O):O;if(this.location.isCurrentPathEqualTo(Ue)||J.extras.replaceUrl){const Qt={...J.extras.state,...this.generateNgRouterState(J.id,this.browserPageId)};this.location.replaceState(Ue,"",Qt)}else{const Ye={...J.extras.state,...this.generateNgRouterState(J.id,this.browserPageId+1)};this.location.go(Ue,"",Ye)}}restoreHistory(O,J=!1){if("computed"===this.canceledNavigationResolution){const Ye=this.currentPageId-this.browserPageId;0!==Ye?this.location.historyGo(Ye):this.currentUrlTree===O.finalUrl&&0===Ye&&(this.resetState(O),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(J&&this.resetState(O),this.resetUrlToCurrentUrlTree())}resetState(O){var J;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,null!==(J=O.finalUrl)&&void 0!==J?J:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(O,J){return"computed"===this.canceledNavigationResolution?{navigationId:O,\u0275routerPageId:J}:{navigationId:O}}}return(S=P).\u0275fac=(()=>{let K;return function(J){return(K||(K=a.xGo(S)))(J||S)}})(),S.\u0275prov=a.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}),P})();var Hr=function(S){return S[S.COMPLETE=0]="COMPLETE",S[S.FAILED=1]="FAILED",S[S.REDIRECTING=2]="REDIRECTING",S}(Hr||{});function Zi(S,P){S.events.pipe((0,Be.p)(K=>K instanceof fn||K instanceof er||K instanceof Tr||K instanceof Wr),(0,$e.T)(K=>K instanceof fn||K instanceof Wr?Hr.COMPLETE:K instanceof er&&(K.code===Dn.Redirect||K.code===Dn.SupersededByNewNavigation)?Hr.REDIRECTING:Hr.FAILED),(0,Be.p)(K=>K!==Hr.REDIRECTING),(0,Re.s)(1)).subscribe(()=>{P()})}function E(S){throw S}const y={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},v={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let b=(()=>{var S;class P{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 O,J;this.disposed=!1,this.console=(0,a.WQX)(a.H3F),this.stateManager=(0,a.WQX)(Hn),this.options=(0,a.WQX)(Cl,{optional:!0})||{},this.pendingTasks=(0,a.WQX)(a.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,a.WQX)(lt),this.urlSerializer
1=(0,a.WQX)(mi),this.location=(0,a.WQX)(Me.aZ),this.urlHandlingStrategy=(0,a.WQX)(ka),this._events=new he.B,this.errorHandler=this.options.errorHandler||E,this.navigated=!1,this.routeReuseStrategy=(0,a.WQX)(Ge),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=null!==(O=null===(J=(0,a.WQX)(ma,{optional:!0}))||void 0===J?void 0:J.flat())&&void 0!==O?O:[],this.componentInputBindingEnabled=!!(0,a.WQX)(Wi,{optional:!0}),this.eventsSubscription=new q.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:Ue=>{this.console.warn(Ue)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const O=this.navigationTransitions.events.subscribe(J=>{try{const Ue=this.navigationTransitions.currentTransition,Ye=this.navigationTransitions.currentNavigation;if(null!==Ue&&null!==Ye)if(this.stateManager.handleRouterEvent(J,Ye),J instanceof er&&J.code!==Dn.Redirect&&J.code!==Dn.SupersededByNewNavigation)this.navigated=!0;else if(J instanceof fn)this.navigated=!0;else if(J instanceof kr){const Qt=J.navigationBehaviorOptions,Pn=this.urlHandlingStrategy.merge(J.url,Ue.currentRawUrl),en={browserUrl:Ue.extras.browserUrl,info:Ue.extras.info,skipLocationChange:Ue.extras.skipLocationChange,replaceUrl:Ue.extras.replaceUrl||"eager"===this.urlUpdateStrategy||ne(Ue.source),...Qt};this.scheduleNavigation(Pn,Fe,null,en,{resolve:Ue.resolve,reject:Ue.reject,promise:Ue.promise})}(function ie(S){return!(S instanceof Ln||S instanceof kr)})(J)&&this._events.next(J)}catch(Ue){this.navigationTransitions.transitionAbortSubject.next(Ue)}});this.eventsSubscription.add(O)}resetRootComponentType(O){this.routerState.root.component=O,this.navigationTransitions.rootComponentType=O}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Fe,this.stateManager.restoredState())}setUpLocationChangeListener(){var O;null!==(O=this.nonRouterCurrentEntryChangeSubscription)&&void 0!==O||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((J,Ue)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(J,"popstate",Ue)},0)}))}navigateToSyncWithBrowser(O,J,Ue){const Ye={replaceUrl:!0},Qt=null!=Ue&&Ue.navigationId?Ue:null;if(Ue){const en={...Ue};delete en.navigationId,delete en.\u0275routerPageId,0!==Object.keys(en).length&&(Ye.state=en)}const Pn=this.parseUrl(O);this.scheduleNavigation(Pn,J,Qt,Ye)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(O){this.config=O.map(Gl),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(O,J={}){const{relativeTo:Ue,queryParams:Ye,fragment:Qt,queryParamsHandling:Pn,preserveFragment:en}=J,br=en?this.currentUrlTree.fragment:Qt;let Ji,ai=null;switch(Pn){case"merge":ai={...this.currentUrlTree.queryParams,...Ye};break;case"preserve":ai=this.currentUrlTree.queryParams;break;default:ai=Ye||null}null!==ai&&(ai=this.removeEmptyProps(ai));try{Ji=Qr(Ue?Ue.snapshot:this.routerState.snapshot.root)}catch(wi){("string"!=typeof O[0]||"/"!==O[0][0])&&(O=[]),Ji=this.currentUrlTree.root}return xo(Ji,O,ai,null!=br?br:null)}navigateByUrl(O,J={skipLocationChange:!1}){const Ue=to(O)?O:this.parseUrl(O),Ye=this.urlHandlingStrategy.merge(Ue,this.rawUrlTree);return this.scheduleNavigation(Ye,Fe,null,J)}navigate(O,J={skipLocationChange:!1}){return function N(S){for(let P=0;P<S.length;P++)if(null==S[P])throw new a.wOt(4008,!1)}(O),this.navigateByUrl(this.createUrlTree(O,J),J)}serializeUrl(O){return this.urlSerializer.serialize(O)}parseUrl(O){try{return this.urlSerializer.parse(O)}catch(J){return this.urlSerializer.parse("/")}}isActive(O,J){let Ue;if(Ue=!0===J?{...y}:!1===J?{...v}:J,to(O))return Ot(this.currentUrlTree,O,Ue);const Ye=this.parseUrl(O);return Ot(this.currentUrlTree,Ye,Ue)}removeEmptyProps(O){return Object.entries(O).reduce((J,[Ue,Ye])=>(null!=Ye&&(J[Ue]=Ye),J),{})}scheduleNavigation(O,J,Ue,Ye,Qt){if(this.disposed)return Promise.resolve(!1);let Pn,en,br;Qt?(Pn=Qt.resolve,en=Qt.reject,br=Qt.promise):br=new Promise((Ji,wi)=>{Pn=Ji,en=wi});const ai=this.pendingTasks.add();return Zi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ai))}),this.navigationTransitions.handleNavigationRequest({source:J,restoredState:Ue,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:O,extras:Ye,resolve:Pn,reject:en,promise:br,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),br.catch(Ji=>Promise.reject(Ji))}}return(S=P).\u0275fac=function(O){return new(O||S)},S.\u0275prov=a.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}),P})(),be=(()=>{var S;class P{constructor(O,J,Ue,Ye,Qt,Pn){var en;this.router=O,this.route=J,this.tabIndexAttribute=Ue,this.renderer=Ye,this.el=Qt,this.locationStrategy=Pn,this.href=null,this.onChanges=new he.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const br=null===(en=Qt.nativeElement.tagName)||void 0===en?void 0:en.toLowerCase();this.isAnchorElement="a"===br||"area"===br,this.isAnchorElement?this.subscription=O.events.subscribe(ai=>{ai instanceof fn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(O){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",O)}ngOnChanges(O){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(O){null==O?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=to(O)||Array.isArray(O)?O:[O],this.setTabIndexIfNotOnNativeEl("0"))}onClick(O,J,Ue,Ye,Qt){const Pn=this.urlTree;return!!(null===Pn||this.isAnchorElement&&(0!==O||J||Ue||Ye||Qt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Pn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){var O;null===(O=this.subscription)||void 0===O||O.unsubscribe()}updateHref(){var O;const J=this.urlTree;this.href=null!==J&&this.locationStrategy?null===(O=this.locationStrategy)||void 0===O?void 0:O.prepareExternalUrl(this.router.serializeUrl(J)):null;const Ue=null===this.href?null:(0,a.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Ue)}
1applyAttributeValue(O,J){const Ue=this.renderer,Ye=this.el.nativeElement;null!==J?Ue.setAttribute(Ye,O,J):Ue.removeAttribute(Ye,O)}get urlTree(){return null===this.routerLinkInput?null:to(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(S=P).\u0275fac=function(O){return new(O||S)(a.rXU(b),a.rXU(Ft),a.kS0("tabindex"),a.rXU(a.sFG),a.rXU(a.aKT),a.rXU(Me.hb))},S.\u0275dir=a.FsC({type:S,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(O,J){1&O&&a.bIt("click",function(Ye){return J.onClick(Ye.button,Ye.ctrlKey,Ye.shiftKey,Ye.altKey,Ye.metaKey)}),2&O&&a.BMQ("target",J.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",a.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",a.L39],replaceUrl:[2,"replaceUrl","replaceUrl",a.L39],routerLink:"routerLink"},standalone:!0,features:[a.GFd,a.OA$]}),P})(),rt=(()=>{var S;class P{get isActive(){return this._isActive}constructor(O,J,Ue,Ye,Qt){this.router=O,this.element=J,this.renderer=Ue,this.cdr=Ye,this.link=Qt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new a.bkB,this.routerEventsSubscription=O.events.subscribe(Pn=>{Pn instanceof fn&&this.update()})}ngAfterContentInit(){(0,T.of)(this.links.changes,(0,T.of)(null)).pipe((0,at.U)()).subscribe(O=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var O;null===(O=this.linkInputChangesSubscription)||void 0===O||O.unsubscribe();const J=[...this.links.toArray(),this.link].filter(Ue=>!!Ue).map(Ue=>Ue.onChanges);this.linkInputChangesSubscription=(0,w.H)(J).pipe((0,at.U)()).subscribe(Ue=>{this._isActive!==this.isLinkActive(this.router)(Ue)&&this.update()})}set routerLinkActive(O){const J=Array.isArray(O)?O:O.split(" ");this.classes=J.filter(Ue=>!!Ue)}ngOnChanges(O){this.update()}ngOnDestroy(){var O;this.routerEventsSubscription.unsubscribe(),null===(O=this.linkInputChangesSubscription)||void 0===O||O.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const O=this.hasActiveLinks();this.classes.forEach(J=>{O?this.renderer.addClass(this.element.nativeElement,J):this.renderer.removeClass(this.element.nativeElement,J)}),O&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==O&&(this._isActive=O,this.cdr.markForCheck(),this.isActiveChange.emit(O))})}isLinkActive(O){const J=function ut(S){return!!S.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Ue=>{const Ye=Ue.urlTree;return!!Ye&&O.isActive(Ye,J)}}hasActiveLinks(){const O=this.isLinkActive(this.router);return this.link&&O(this.link)||this.links.some(O)}}return(S=P).\u0275fac=function(O){return new(O||S)(a.rXU(b),a.rXU(a.aKT),a.rXU(a.sFG),a.rXU(a.gRc),a.rXU(be,8))},S.\u0275dir=a.FsC({type:S,selectors:[["","routerLinkActive",""]],contentQueries:function(O,J,Ue){if(1&O&&a.wni(Ue,be,5),2&O){let Ye;a.mGM(Ye=a.lsd())&&(J.links=Ye)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[a.OA$]}),P})();class At{}let qt=(()=>{var S;class P{preload(O,J){return J().pipe((0,ce.W)(()=>(0,T.of)(null)))}}return(S=P).\u0275fac=function(O){return new(O||S)},S.\u0275prov=a.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}),P})(),Cn=(()=>{var S;class P{constructor(O,J,Ue,Ye,Qt){this.router=O,this.injector=Ue,this.preloadingStrategy=Ye,this.loader=Qt}setUpPreloading(){this.subscription=this.router.events.pipe((0,Be.p)(O=>O instanceof fn),(0,k.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(O,J){const Ue=[];for(const en of J){var Ye,Qt;en.providers&&!en._injector&&(en._injector=(0,a.Ol2)(en.providers,O,`Route: ${en.path}`));const br=null!==(Ye=en._injector)&&void 0!==Ye?Ye:O,ai=null!==(Qt=en._loadedInjector)&&void 0!==Qt?Qt:br;var Pn;(en.loadChildren&&!en._loadedRoutes&&void 0===en.canLoad||en.loadComponent&&!en._loadedComponent)&&Ue.push(this.preloadConfig(br,en)),(en.children||en._loadedRoutes)&&Ue.push(this.processRoutes(ai,null!==(Pn=en.children)&&void 0!==Pn?Pn:en._loadedRoutes))}return(0,w.H)(Ue).pipe((0,at.U)())}preloadConfig(O,J){return this.preloadingStrategy.preload(J,()=>{let Ue;Ue=J.loadChildren&&void 0===J.canLoad?this.loader.loadChildren(O,J):(0,T.of)(null);const Ye=Ue.pipe((0,We.Z)(Qt=>{var Pn;return null===Qt?(0,T.of)(void 0):(J._loadedRoutes=Qt.routes,J._loadedInjector=Qt.injector,this.processRoutes(null!==(Pn=Qt.injector)&&void 0!==Pn?Pn:O,Qt.routes))}));if(J.loadComponent&&!J._loadedComponent){const Qt=this.loader.loadComponent(J);return(0,w.H)([Ye,Qt]).pipe((0,at.U)())}return Ye})}}return(S=P).\u0275fac=function(O){return new(O||S)(a.KVO(b),a.KVO(a.Ql9),a.KVO(a.uvJ),a.KVO(At),a.KVO(oa))},S.\u0275prov=a.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}),P})();const kn=new a.nKC("");let fr=(()=>{var S;class P{constructor(O,J,Ue,Ye,Qt={}
1){this.urlSerializer=O,this.transitions=J,this.viewportScroller=Ue,this.zone=Ye,this.options=Qt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Qt.scrollPositionRestoration||(Qt.scrollPositionRestoration="disabled"),Qt.anchorScrolling||(Qt.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(O=>{O instanceof Bt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=O.navigationTrigger,this.restoredId=O.restoredState?O.restoredState.navigationId:0):O instanceof fn?(this.lastId=O.id,this.scheduleScrollEvent(O,this.urlSerializer.parse(O.urlAfterRedirects).fragment)):O instanceof Wr&&O.code===ir.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(O,this.urlSerializer.parse(O.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(O=>{O instanceof zt&&(O.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(O.position):O.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(O.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(O,J){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new zt(O,"popstate"===this.lastSource?this.store[this.restoredId]:null,J))})},0)})}ngOnDestroy(){var O,J;null===(O=this.routerEventsSubscription)||void 0===O||O.unsubscribe(),null===(J=this.scrollEventsSubscription)||void 0===J||J.unsubscribe()}}return(S=P).\u0275fac=function(O){a.QTQ()},S.\u0275prov=a.jDH({token:S,factory:S.\u0275fac}),P})();function mr(S,P){return{\u0275kind:S,\u0275providers:P}}function Ri(){const S=(0,a.WQX)(a.zZn);return P=>{var K,O;const J=S.get(a.o8S);if(P!==J.components[0])return;const Ue=S.get(b),Ye=S.get(He);1===S.get(Zr)&&Ue.initialNavigation(),null===(K=S.get(ds,null,a.$GK.Optional))||void 0===K||K.setUpPreloading(),null===(O=S.get(kn,null,a.$GK.Optional))||void 0===O||O.init(),Ue.resetRootComponentType(J.componentTypes[0]),Ye.closed||(Ye.next(),Ye.complete(),Ye.unsubscribe())}}const He=new a.nKC("",{factory:()=>new he.B}),Zr=new a.nKC("",{providedIn:"root",factory:()=>1}),ds=new a.nKC("");function aa(S){return mr(0,[{provide:ds,useExisting:Cn},{provide:At,useExisting:S}])}function Kl(S){return mr(9,[{provide:sa,useValue:Us},{provide:us,useValue:{skipNextTransition:!(null==S||!S.skipInitialTransition),...S}}])}const uc=new a.nKC("ROUTER_FORROOT_GUARD"),Ss=[Me.aZ,{provide:mi,useClass:Lt},b,Ms,{provide:Ft,useFactory:function yn(S){return S.routerState.root},deps:[b]},oa,[]];let Fa=(()=>{var S;class P{constructor(O){}static forRoot(O,J){return{ngModule:P,providers:[Ss,[],{provide:ma,multi:!0,useValue:O},{provide:uc,useFactory:Cu,deps:[[b,new a.Xx1,new a.kdw]]},{provide:Cl,useValue:J||{}},null!=J&&J.useHash?{provide:Me.hb,useClass:Me.fw}:{provide:Me.hb,useClass:Me.Sm},{provide:kn,useFactory:()=>{const S=(0,a.WQX)(Me.Xr),P=(0,a.WQX)(a.SKi),K=(0,a.WQX)(Cl),O=(0,a.WQX)(lt),J=(0,a.WQX)(mi);return K.scrollOffset&&S.setOffset(K.scrollOffset),new fr(J,O,S,P,K)}},null!=J&&J.preloadingStrategy?aa(J.preloadingStrategy).\u0275providers:[],null!=J&&J.initialNavigation?la(J):[],null!=J&&J.bindToComponentInputs?mr(8,[so,{provide:Wi,useExisting:so}]).\u0275providers:[],null!=J&&J.enableViewTransitions?Kl().\u0275providers:[],[{provide:Jc,useFactory:Ri},{provide:a.iLQ,multi:!0,useExisting:Jc}]]}}static forChild(O){return{ngModule:P,providers:[{provide:ma,multi:!0,useValue:O}]}}}return(S=P).\u0275fac=function(O){return new(O||S)(a.KVO(uc,8))},S.\u0275mod=a.$C({type:S}),S.\u0275inj=a.G2t({}),P})();function Cu(S){return"guarded"}function la(S){return["disabled"===S.initialNavigation?mr(3,[{provide:a.hnV,multi:!0,useFactory:()=>{const P=(0,a.WQX)(b);return()=>{P.setUpLocationChangeListener()}}},{provide:Zr,useValue:2}]).\u0275providers:[],"enabledBlocking"===S.initialNavigation?mr(2,[{provide:Zr,useValue:0},{provide:a.hnV,multi:!0,deps:[a.zZn],useFactory:P=>{const K=P.get(Me.hj,Promise.resolve());return()=>K.then(()=>new Promise(O=>{const J=P.get(b),Ue=P.get(He);Zi(J,()=>{O(!0)}),P.get(lt).afterPreactivation=()=>(O(!0),Ue.closed?(0,T.of)(void 0):Ue),J.initialNavigation()}))}}]).\u0275providers:[]]}const Jc=new a.nKC("")},2872:(wt,Se,u)=>{"use strict";u.d(Se,{Yq:()=>ht,TS:()=>Fn,sR:()=>cr,el:()=>Fi,Sb:()=>Un,QE:()=>Qr,CF:()=>mi,Rg:()=>Gt,p4:()=>xo,jM:()=>co,q9:()=>lr,y8:()=>Qn,Kb:()=>Po,OD:()=>jt,CE:()=>ao,pF:()=>Oo,fL:()=>vo,YV:()=>ii,er:()=>Lo,z3:()=>hi});var a=u(467),s=u(9842),w=u(3953),T=u(803),x=u(177),F=u(5531),B=u(4442);var z=u(1413),ce=u(3726),pe=u(4412),ve=u(4572),ze=u(7673),fe=u(1635),de=u(5964),ee=u(5558),$=u(3294),se=u(9417);const Ce=["tabsInner"];let jt=(()=>{var yt;class Je{constructor(je,ke){(0,s.A)(this,"doc",void 0),(0,s.A)(this,"_readyPromise",void 0),(0,s.A)(this,"win",void 0),(0,s.A)(this,"backButton",new z.B),(0,s.A)(this,"keyboardDidShow",new z.B),(0,s.A)(this,"keyboardDidHide",new z.B),(0,s.A)(this,"pause",new z.B),(0,s.A)(this,"resume",new z.B),(0,s.A)(this,"resize",new z.B),this.doc=je,ke.run(()=>{var Tt;let Zt;this.win=je.defaultView,this.backButton.subscribeWithPriority=function(In,or){return this.subscribe(Fe=>Fe.register(In,et=>ke.run(()=>or(et))))},mn(this.pause,je,"pause",ke),mn(this.resume,je,"resume",ke),mn(this.backButton,je,"ionBackButton",ke),mn(this.resize,this.win,"resize",ke),mn(this.keyboardDidShow,this.win,"ionKeyboardDidShow",ke),mn(this.keyboardDidHide,this.win,"ionKeyboardDidHide",ke),this._readyPromise=new Promise(In=>{Zt=In}),null!==(Tt=this.win)&&void 0!==Tt&&Tt.cordova?je.addEventListener("deviceready",()=>{Zt("cordova")},{once:!0}):Zt("dom")})}is(je){return(0,F.a)(this.win,je)}platforms(){return(0,F.g)(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(je){return jn(this.win.location.href,je)}isLandscape(){return!this.isPortrait()}isPortrait(){var je,ke;return null===(je=(ke=this.win).matchMedia)||void 0===je?void 0:je.call(ke,"(orientation: portrait)").matches}testUserAgent(je){const ke=this.win.navigator;return!!(null!=ke&&ke.userAgent&&ke.userAgent.indexOf(je)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return yt=Je,(0,s.A)(Je,"\u0275fac",function(je){return new(je||yt)(w.KVO(x.qQ),w.KVO(w.SKi))}),(0,s.A)(Je,"\u0275prov",w.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})),Je})();const jn=(yt,Je)=>{Je=Je.replace(/[[\]\\]/g,"\\$&");const je=new RegExp("[\\?&]"+Je+"=([^&#]*)").exec(yt);return je?decodeURIComponent(je[1].replace(/\+/g," ")):null},mn=(yt,Je,Nt,je)=>{Je&&Je.addEventListener(Nt,ke=>{je.run(()=>{yt.next(null!=ke?ke.detail:void 0)})})};let lr=(()=>{var yt;class Je{constructor(je,ke,Tt,Zt){(0,s.A)(this,"location",void 0),(0,s.A)(this,"serializer",void 0),(0,s.A)(this,"router",void 0),(0,s.A)(this,"topOutlet",void 0),(0,s.A)(this,"direction",$r),(0,s.A)(this,"animated",ur),(0,s.A)(this,"animationBuilder",void 0),(0,s.A)(this,"guessDirection","forward"),(0,s.A)(this,"guessAnimation",void 0),(0,s.A)(this,"lastNavId",-1),this.location=ke,this.serializer
1=Tt,this.router=Zt,Zt&&Zt.events.subscribe(In=>{if(In instanceof T.Z){const or=In.restoredState?In.restoredState.navigationId:In.id;this.guessDirection=this.guessAnimation=or<this.lastNavId?"back":"forward",this.lastNavId="forward"===this.guessDirection?In.id:or}}),je.backButton.subscribeWithPriority(0,In=>{this.pop(),In()})}navigateForward(je,ke={}){return this.setDirection("forward",ke.animated,ke.animationDirection,ke.animation),this.navigate(je,ke)}navigateBack(je,ke={}){return this.setDirection("back",ke.animated,ke.animationDirection,ke.animation),this.navigate(je,ke)}navigateRoot(je,ke={}){return this.setDirection("root",ke.animated,ke.animationDirection,ke.animation),this.navigate(je,ke)}back(je={animated:!0,animationDirection:"back"}){return this.setDirection("back",je.animated,je.animationDirection,je.animation),this.location.back()}pop(){var je=this;return(0,a.A)(function*(){let ke=je.topOutlet;for(;ke;){if(yield ke.pop())return!0;ke=ke.parentOutlet}return!1})()}setDirection(je,ke,Tt,Zt){this.direction=je,this.animated=hr(je,ke,Tt),this.animationBuilder=Zt}setTopOutlet(je){this.topOutlet=je}consumeTransition(){let ke,je="root";const Tt=this.animationBuilder;return"auto"===this.direction?(je=this.guessDirection,ke=this.guessAnimation):(ke=this.animated,je=this.direction),this.direction=$r,this.animated=ur,this.animationBuilder=void 0,{direction:je,animation:ke,animationBuilder:Tt}}navigate(je,ke){if(Array.isArray(je))return this.router.navigate(je,ke);{const Tt=this.serializer.parse(je.toString());return void 0!==ke.queryParams&&(Tt.queryParams={...ke.queryParams}),void 0!==ke.fragment&&(Tt.fragment=ke.fragment),this.router.navigateByUrl(Tt,ke)}}}return yt=Je,(0,s.A)(Je,"\u0275fac",function(je){return new(je||yt)(w.KVO(jt),w.KVO(x.aZ),w.KVO(T.Sd),w.KVO(T.Ix,8))}),(0,s.A)(Je,"\u0275prov",w.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})),Je})();const hr=(yt,Je,Nt)=>{if(!1!==Je){if(void 0!==Nt)return Nt;if("forward"===yt||"back"===yt)return yt;if("root"===yt&&!0===Je)return"forward"}},$r="auto",ur=void 0;let Fn=(()=>{var yt;class Je{get(je,ke){const Tt=Yn();return Tt?Tt.get(je,ke):null}getBoolean(je,ke){const Tt=Yn();return!!Tt&&Tt.getBoolean(je,ke)}getNumber(je,ke){const Tt=Yn();return Tt?Tt.getNumber(je,ke):0}}return yt=Je,(0,s.A)(Je,"\u0275fac",function(je){return new(je||yt)}),(0,s.A)(Je,"\u0275prov",w.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})),Je})();const cr=new w.nKC("USERCONFIG"),Yn=()=>{if(typeof window<"u"){const yt=window.Ionic;if(null!=yt&&yt.config)return yt.config}return null};class Qn{constructor(Je={}){(0,s.A)(this,"data",void 0),this.data=Je,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(Je){return this.data[Je]}}let ht=(()=>{var yt;class Je{constructor(){(0,s.A)(this,"zone",(0,w.WQX)(w.SKi)),(0,s.A)(this,"applicationRef",(0,w.WQX)(w.o8S)),(0,s.A)(this,"config",(0,w.WQX)(cr))}create(je,ke,Tt){var Zt;return new Ot(je,ke,this.applicationRef,this.zone,Tt,null!==(Zt=this.config.useSetInputAPI)&&void 0!==Zt&&Zt)}}return yt=Je,(0,s.A)(Je,"\u0275fac",function(je){return new(je||yt)}),(0,s.A)(Je,"\u0275prov",w.jDH({token:yt,factory:yt.\u0275fac})),Je})();class Ot{constructor(Je,Nt,je,ke,Tt,Zt){(0,s.A)(this,"environmentInjector",void 0),(0,s.A)(this,"injector",void 0),(0,s.A)(this,"applicationRef",void 0),(0,s.A)(this,"zone",void 0),(0,s.A)(this,"elementReferenceKey",void 0),(0,s.A)(this,"enableSignalsSupport",void 0),(0,s.A)(this,"elRefMap",new WeakMap),(0,s.A)(this,"elEventsMap",new WeakMap),this.environmentInjector=Je,this.injector=Nt,this.applicationRef=je,this.zone=ke,this.elementReferenceKey=Tt,this.enableSignalsSupport=Zt}attachViewToDom(Je,Nt,je,ke){return this.zone.run(()=>new Promise(Tt=>{const Zt={...je};void 0!==this.elementReferenceKey&&(Zt[this.elementReferenceKey]=Je),Tt(It(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,Je,Nt,Zt,ke,this.elementReferenceKey,this.enableSignalsSupport))}))}removeViewFromDom(Je,Nt){return this.zone.run(()=>new Promise(je=>{const ke=this.elRefMap.get(Nt);if(ke){ke.destroy(),this.elRefMap.delete(Nt);const Tt=this.elEventsMap.get(Nt);Tt&&(Tt(),this.elEventsMap.delete(Nt))}je()}))}}const It=(yt,Je,Nt,je,ke,Tt,Zt,In,or,Fe,et,Ht)=>{const Bt=w.zZn.create({providers:Er(or),parent:Nt}),fn=(0,w.a0P)(In,{environmentInjector:Je,elementInjector:Bt}),Dn=fn.instance,ir=fn.location.nativeElement;if(or)if(et&&void 0!==Dn[et]&&console.error(`[Ionic Error]: ${et} is a reserved property when using ${Zt.tagName.toLowerCase()}. Rename or remove the "${et}" property from ${In.name}.`),!0===Ht&&void 0!==fn.setInput){const{modal:Wr,popover:Tr,...Bi}=or;for(const Pi in Bi)fn.setInput(Pi,Bi[Pi]);void 0!==Wr&&Object.assign(Dn,{modal:Wr}),void 0!==Tr&&Object.assign(Dn,{popover:Tr})}else Object.assign(Dn,or);if(Fe)for(const Wr of Fe)ir.classList.add(Wr);const er=Zn(yt,Dn,ir);return Zt.appendChild(ir),je.attachView(fn.hostView),ke.set(ir,fn),Tt.set(ir,er),ir},Kt=[B.L,B.a,B.b,B.c,B.d],Zn=(yt,Je,Nt)=>yt.run(()=>{const je=Kt.filter(ke=>"function"==typeof Je[ke]).map(ke=>{const Tt=Zt=>Je[ke](Zt.detail);return Nt.addEventListener(ke,Tt),()=>Nt.removeEventListener(ke,Tt)});return()=>je.forEach(ke=>ke())}),Ir=new w.nKC("NavParamsToken"),Er=yt=>[{provide:Ir,useValue:yt},{provide:Qn,useFactory:$n,deps:[Ir]}],$n=yt=>new Qn(yt),dn=(yt,Je)=>{const Nt=yt.prototype;Je.forEach(je=>{Object.defineProperty(Nt,je,{get(){return this.el[je]},set(ke){this.z.runOutsideAngular(()=>this.el[je]=ke)}})})},Ar=(yt,Je)=>{const Nt=yt.prototype;Je.forEach(je=>{Nt[je]=function(){const ke=arguments;return this.z.runOutsideAngular(()=>this.el[je].apply(this.el,ke))}})},ei=(yt,Je,Nt)=>{Nt.forEach(je=>yt[je]=(0,ce.R)(Je,je))};function wr(yt){return function(Nt){const{defineCustomElementFn:je,input
1s:ke,methods:Tt}=yt;return void 0!==je&&je(),ke&&dn(Nt,ke),Tt&&Ar(Nt,Tt),Nt}}const Yr=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","focusTrap","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],li=["present","dismiss","onDidDismiss","onWillDismiss"];let mi=(()=>{var yt;let Je=((0,s.A)(yt=class{constructor(je,ke,Tt){(0,s.A)(this,"z",void 0),(0,s.A)(this,"template",void 0),(0,s.A)(this,"isCmpOpen",!1),(0,s.A)(this,"el",void 0),this.z=Tt,this.el=ke.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,je.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,je.detectChanges()}),ei(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}},"\u0275fac",function(je){return new(je||yt)(w.rXU(w.gRc),w.rXU(w.aKT),w.rXU(w.SKi))}),(0,s.A)(yt,"\u0275dir",w.FsC({type:yt,selectors:[["ion-popover"]],contentQueries:function(je,ke,Tt){if(1&je&&w.wni(Tt,w.C4Q,5),2&je){let Zt;w.mGM(Zt=w.lsd())&&(ke.template=Zt.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",focusTrap:"focusTrap",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"}})),yt);return Je=(0,fe.Cg)([wr({inputs:Yr,methods:li})],Je),Je})();const Lt=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","focusTrap","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],rr=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let Un=(()=>{var yt;let Je=((0,s.A)(yt=class{constructor(je,ke,Tt){(0,s.A)(this,"z",void 0),(0,s.A)(this,"template",void 0),(0,s.A)(this,"isCmpOpen",!1),(0,s.A)(this,"el",void 0),this.z=Tt,this.el=ke.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,je.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,je.detectChanges()}),ei(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}},"\u0275fac",function(je){return new(je||yt)(w.rXU(w.gRc),w.rXU(w.aKT),w.rXU(w.SKi))}),(0,s.A)(yt,"\u0275dir",w.FsC({type:yt,selectors:[["ion-modal"]],contentQueries:function(je,ke,Tt){if(1&je&&w.wni(Tt,w.C4Q,5),2&je){let Zt;w.mGM(Zt=w.lsd())&&(ke.template=Zt.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",focusTrap:"focusTrap",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"}})),yt);return Je=(0,fe.Cg)([wr({inputs:Lt,methods:rr})],Je),Je})();const Bn=(yt,Je)=>((yt=yt.filter(Nt=>Nt.stackId!==Je.stackId)).push(Je),yt),ti=(yt,Je)=>{const Nt=yt.createUrlTree(["."],{relativeTo:Je});return yt.serializeUrl(Nt)},ui=(yt,Je)=>!Je||yt.stackId!==Je.stackId,_i=(yt,Je)=>{if(!yt)return;const Nt=eo(Je);for(let je=0;je<Nt.length;je++){if(je>=yt.length)return Nt[je];if(Nt[je]!==yt[je])return}},eo=yt=>yt.split("/").map(Je=>Je.trim()).filter(Je=>""!==Je),Yt=yt=>{yt&&(yt.ref.destroy(),yt.unlistenEvents())};class Rt{constructor(Je,Nt,je,ke,Tt,Zt){(0,s.A)(this,"containerEl",void 0),(0,s.A)(this,"router",void 0),(0,s.A)(this,"navCtrl",void 0),(0,s.A)(this,"zone",void 0),(0,s.A)(this,"location",void 0),(0,s.A)(this,"views",[]),(0,s.A)(this,"runningTask",void 0),(0,s.A)(this,"skipTransition",!1),(0,s.A)(this,"tabsPrefix",void 0),(0,s.A)(this,"activeView",void 0),(0,s.A)(this,"nextId",0),this.containerEl=Nt,this.router=je,this.navCtrl=ke,this.zone=Tt,this.location=Zt,this.tabsPrefix=void 0!==Je?eo(Je):void 0}createView(Je,Nt){var je;const ke=ti(this.router,Nt),Tt=null==Je||null===(je=Je.location)||void 0===je?void 0:je.nativeElement,Zt=Zn(this.zone,Je.instance,Tt);return{id:this.nextId++,stackId:_i(this.tabsPrefix,ke),unlistenEvents:Zt,element:Tt,ref:Je,url:ke}}getExistingView(Je){const Nt=ti(this.router,Je),je=this.views.find(ke=>ke.url===Nt);return je&&je.ref.changeDetectorRef.reattach(),je}setActive(Je){var Nt,je;const ke=this.navCtrl.consumeTransition();let{direction:Tt,animation:Zt,animationBuilder:In}=ke;const or=this.activeView,Fe=ui(Je,or);Fe&&(Tt="back",Zt=void 0);const et=this.views.slice();let Ht;const Bt=this.router;Bt.getCurrentNavigation?Ht=Bt.getCurrentNavigation():null!==(Nt=Bt.navigations)&&void 0!==Nt&&Nt.value&&(Ht=Bt.navigations.value),null!==(je=Ht)&&void 0!==je&&null!==(je=je.extras)&&void 0!==je&&je.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const fn=this.views.includes(Je),Dn=this.insertView(Je,Tt);fn||Je.ref.changeDetectorRef.detectChanges();const ir=Je.animationBuilder;return void 0===In&&"back"===Tt&&!Fe&&void 0!==ir&&(In=ir),or&&(or.animationBuilder=In),this.zone.runOutsideAngular(()=>this.wait(()=>(or&&or.ref.changeDetectorRef.detach(),Je.ref.changeDetectorRef.reattach(),this.transition(Je,or,Zt,this.canGoBack(1),!1,In).then(()=>tn(Je,Dn,et,this.location,this.zone)).then(()=>({enteringView:Je,direction:Tt,animation:Zt,tabSwitch:Fe})))))}
1canGoBack(Je,Nt=this.getActiveStackId()){return this.getStack(Nt).length>Je}pop(Je,Nt=this.getActiveStackId()){return this.zone.run(()=>{const je=this.getStack(Nt);if(je.length<=Je)return Promise.resolve(!1);const ke=je[je.length-Je-1];let Tt=ke.url;const Zt=ke.savedData;if(Zt){var In;const Fe=Zt.get("primary");null!=Fe&&null!==(In=Fe.route)&&void 0!==In&&null!==(In=In._routerState)&&void 0!==In&&In.snapshot.url&&(Tt=Fe.route._routerState.snapshot.url)}const{animationBuilder:or}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(Tt,{...ke.savedExtras,animation:or}).then(()=>!0)})}startBackTransition(){const Je=this.activeView;if(Je){const Nt=this.getStack(Je.stackId),je=Nt[Nt.length-2],ke=je.animationBuilder;return this.wait(()=>this.transition(je,Je,"back",this.canGoBack(2),!0,ke))}return Promise.resolve()}endBackTransition(Je){Je?(this.skipTransition=!0,this.pop(1)):this.activeView&&Pt(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(Je){const Nt=this.getStack(Je);return Nt.length>0?Nt[Nt.length-1]:void 0}getRootUrl(Je){const Nt=this.getStack(Je);return Nt.length>0?Nt[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(Yt),this.activeView=void 0,this.views=[]}getStack(Je){return this.views.filter(Nt=>Nt.stackId===Je)}insertView(Je,Nt){return this.activeView=Je,this.views=((yt,Je,Nt)=>"root"===Nt?Bn(yt,Je):"forward"===Nt?((yt,Je)=>(yt.indexOf(Je)>=0?yt=yt.filter(je=>je.stackId!==Je.stackId||je.id<=Je.id):yt.push(Je),yt))(yt,Je):((yt,Je)=>yt.indexOf(Je)>=0?yt.filter(je=>je.stackId!==Je.stackId||je.id<=Je.id):Bn(yt,Je))(yt,Je))(this.views,Je,Nt),this.views.slice()}transition(Je,Nt,je,ke,Tt,Zt){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(Nt===Je)return Promise.resolve(!1);const In=Je?Je.element:void 0,or=Nt?Nt.element:void 0,Fe=this.containerEl;return In&&In!==or&&(In.classList.add("ion-page"),In.classList.add("ion-page-invisible"),Fe.commit)?Fe.commit(In,or,{duration:void 0===je?0:void 0,direction:je,showGoBack:ke,progressAnimation:Tt,animationBuilder:Zt}):Promise.resolve(!1)}wait(Je){var Nt=this;return(0,a.A)(function*(){void 0!==Nt.runningTask&&(yield Nt.runningTask,Nt.runningTask=void 0);const je=Nt.runningTask=Je();return je.finally(()=>Nt.runningTask=void 0),je})()}}const tn=(yt,Je,Nt,je,ke)=>"function"==typeof requestAnimationFrame?new Promise(Tt=>{requestAnimationFrame(()=>{Pt(yt,Je,Nt,je,ke),Tt()})}):Promise.resolve(),Pt=(yt,Je,Nt,je,ke)=>{ke.run(()=>Nt.filter(Tt=>!Je.includes(Tt)).forEach(Yt)),Je.forEach(Tt=>{const In=je.path().split("?")[0].split("#")[0];if(Tt!==yt&&Tt.url!==In){const or=Tt.element;or.setAttribute("aria-hidden","true"),or.classList.add("ion-page-hidden"),Tt.ref.changeDetectorRef.detach()}})};let Gt=(()=>{var yt;class Je{get activatedComponentRef(){return this.activated}set animation(je){this.nativeEl.animation=je}set animated(je){this.nativeEl.animated=je}set swipeGesture(je){this._swipeGesture=je,this.nativeEl.swipeHandler=je?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:ke=>this.stackCtrl.endBackTransition(ke)}:void 0}constructor(je,ke,Tt,Zt,In,or,Fe,et){(0,s.A)(this,"parentOutlet",void 0),(0,s.A)(this,"nativeEl",void 0),(0,s.A)(this,"activatedView",null),(0,s.A)(this,"tabsPrefix",void 0),(0,s.A)(this,"_swipeGesture",void 0),(0,s.A)(this,"stackCtrl",void 0),(0,s.A)(this,"proxyMap",new WeakMap),(0,s.A)(this,"currentActivatedRoute$",new pe.t(null)),(0,s.A)(this,"activated",null),(0,s.A)(this,"_activatedRoute",null),(0,s.A)(this,"name",T.Xk),(0,s.A)(this,"stackWillChange",new w.bkB),(0,s.A)(this,"stackDidChange",new w.bkB),(0,s.A)(this,"activateEvents",new w.bkB),(0,s.A)(this,"deactivateEvents",new w.bkB),(0,s.A)(this,"parentContexts",(0,w.WQX)(T.Zp)),(0,s.A)(this,"location",(0,w.WQX)(w.c1b)),(0,s.A)(this,"environmentInjector",(0,w.WQX)(w.uvJ)),(0,s.A)(this,"inputBinder",(0,w.WQX)(Sr,{optional:!0})),(0,s.A)(this,"supportsBindingToComponentInputs",!0),(0,s.A)(this,"config",(0,w.WQX)(Fn)),(0,s.A)(this,"navCtrl",(0,w.WQX)(lr)),this.parentOutlet=et,this.nativeEl=Zt.nativeElement,this.name=je||T.Xk,this.tabsPrefix="true"===ke?ti(In,Fe):void 0,this.stackCtrl=new Rt(this.tabsPrefix,this.nativeEl,In,this.navCtrl,or,Tt),this.parentContexts.onChildOutletCreated(this.name,this)}ngOnDestroy(){var je;this.stackCtrl.destroy(),null===(je=this.inputBinder)||void 0===je||je.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const je=this.getContext();null!=je&&je.route&&this.activateWith(je.route,je.injector)}new Promise(je=>((yt,Je)=>{yt.componentOnReady?yt.componentOnReady().then(Nt=>Je(Nt)):(yt=>{"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(yt):"function"==typeof requestAnimationFrame?requestAnimationFrame(yt):setTimeout(yt)})(()=>Je(yt))})(this.nativeEl,je)).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(je,ke){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const ke=this.getContext();this.activatedView.savedData=new Map(ke.children.contexts);const Tt=this.activatedView.savedData.get("primary");if(Tt&&ke.route&&(Tt.route={...ke.route}),this.activatedView.savedExtras={},ke.route){const Zt=ke.route.snapshot;this.activatedView.savedExtras.queryParams=Zt.queryParams,this.activatedView.savedExtras.fragment=Zt.fragment}}const je=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(je)}}activateWith(je,ke){var Tt;if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=je;let Zt,In=this.stackCtrl.getExistingView(je);if(In){Zt=this.activated=In.ref;
1const et=In.savedData;et&&(this.getContext().children.contexts=et),this.updateActivatedRouteProxy(Zt.instance,je)}else{var or;const et=je._futureSnapshot,Ht=this.parentContexts.getOrCreateContext(this.name).children,Bt=new pe.t(null),fn=this.createActivatedRouteProxy(Bt,je),Dn=new Nn(fn,Ht,this.location.injector),ir=null!==(or=et.routeConfig.component)&&void 0!==or?or:et.component;Zt=this.activated=this.outletContent.createComponent(ir,{index:this.outletContent.length,injector:Dn,environmentInjector:null!=ke?ke:this.environmentInjector}),Bt.next(Zt.instance),In=this.stackCtrl.createView(this.activated,je),this.proxyMap.set(Zt.instance,fn),this.currentActivatedRoute$.next({component:Zt.instance,activatedRoute:je})}null===(Tt=this.inputBinder)||void 0===Tt||Tt.bindActivatedRouteToOutletComponent(this),this.activatedView=In,this.navCtrl.setTopOutlet(this);const Fe=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:In,tabSwitch:ui(In,Fe)}),this.stackCtrl.setActive(In).then(et=>{this.activateEvents.emit(Zt.instance),this.stackDidChange.emit(et)})}canGoBack(je=1,ke){return this.stackCtrl.canGoBack(je,ke)}pop(je=1,ke){return this.stackCtrl.pop(je,ke)}getLastUrl(je){const ke=this.stackCtrl.getLastUrl(je);return ke?ke.url:void 0}getLastRouteView(je){return this.stackCtrl.getLastUrl(je)}getRootView(je){return this.stackCtrl.getRootUrl(je)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(je,ke){const Tt=new T.nX;return Tt._futureSnapshot=ke._futureSnapshot,Tt._routerState=ke._routerState,Tt.snapshot=ke.snapshot,Tt.outlet=ke.outlet,Tt.component=ke.component,Tt._paramMap=this.proxyObservable(je,"paramMap"),Tt._queryParamMap=this.proxyObservable(je,"queryParamMap"),Tt.url=this.proxyObservable(je,"url"),Tt.params=this.proxyObservable(je,"params"),Tt.queryParams=this.proxyObservable(je,"queryParams"),Tt.fragment=this.proxyObservable(je,"fragment"),Tt.data=this.proxyObservable(je,"data"),Tt}proxyObservable(je,ke){return je.pipe((0,de.p)(Tt=>!!Tt),(0,ee.n)(Tt=>this.currentActivatedRoute$.pipe((0,de.p)(Zt=>null!==Zt&&Zt.component===Tt),(0,ee.n)(Zt=>Zt&&Zt.activatedRoute[ke]),(0,$.F)())))}updateActivatedRouteProxy(je,ke){const Tt=this.proxyMap.get(je);if(!Tt)throw new Error("Could not find activated route proxy for view");Tt._futureSnapshot=ke._futureSnapshot,Tt._routerState=ke._routerState,Tt.snapshot=ke.snapshot,Tt.outlet=ke.outlet,Tt.component=ke.component,this.currentActivatedRoute$.next({component:je,activatedRoute:ke})}}return yt=Je,(0,s.A)(Je,"\u0275fac",function(je){return new(je||yt)(w.kS0("name"),w.kS0("tabs"),w.rXU(x.aZ),w.rXU(w.aKT),w.rXU(T.Ix),w.rXU(w.SKi),w.rXU(T.nX),w.rXU(yt,12))}),(0,s.A)(Je,"\u0275dir",w.FsC({type:yt,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"]})),Je})();class Nn{constructor(Je,Nt,je){(0,s.A)(this,"route",void 0),(0,s.A)(this,"childContexts",void 0),(0,s.A)(this,"parent",void 0),this.route=Je,this.childContexts=Nt,this.parent=je}get(Je,Nt){return Je===T.nX?this.route:Je===T.Zp?this.childContexts:this.parent.get(Je,Nt)}}const Sr=new w.nKC("");let Ur=(()=>{var yt;class Je{constructor(){(0,s.A)(this,"outletDataSubscriptions",new Map)}bindActivatedRouteToOutletComponent(je){this.unsubscribeFromRouteData(je),this.subscribeToRouteData(je)}unsubscribeFromRouteData(je){var ke;null===(ke=this.outletDataSubscriptions.get(je))||void 0===ke||ke.unsubscribe(),this.outletDataSubscriptions.delete(je)}subscribeToRouteData(je){const{activatedRoute:ke}=je,Tt=(0,ve.z)([ke.queryParams,ke.params,ke.data]).pipe((0,ee.n)(([Zt,In,or],Fe)=>(or={...Zt,...In,...or},0===Fe?(0,ze.of)(or):Promise.resolve(or)))).subscribe(Zt=>{if(!je.isActivated||!je.activatedComponentRef||je.activatedRoute!==ke||null===ke.component)return void this.unsubscribeFromRouteData(je);const In=(0,w.HJs)(ke.component);if(In)for(const{templateName:or}of In.inputs)je.activatedComponentRef.setInput(or,Zt[or]);else this.unsubscribeFromRouteData(je)});this.outletDataSubscriptions.set(je,Tt)}}return yt=Je,(0,s.A)(Je,"\u0275fac",function(je){return new(je||yt)}),(0,s.A)(Je,"\u0275prov",w.jDH({token:yt,factory:yt.\u0275fac})),Je})();const ii=()=>({provide:Sr,useFactory:Kr,deps:[T.Ix]});function Kr(yt){return null!=yt&&yt.componentInputBindingEnabled?new Ur:null}const xi=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let Fi=(()=>{var yt;let Je=((0,s.A)(yt=class{constructor(je,ke,Tt,Zt,In,or){(0,s.A)(this,"routerOutlet",void 0),(0,s.A)(this,"navCtrl",void 0),(0,s.A)(this,"config",void 0),(0,s.A)(this,"r",void 0),(0,s.A)(this,"z",void 0),(0,s.A)(this,"el",void 0),this.routerOutlet=je,this.navCtrl=ke,this.config=Tt,this.r=Zt,this.z=In,or.detach(),this.el=this.r.nativeElement}onClick(je){var ke;const Tt=this.defaultHref||this.config.get("backButtonDefaultHref");
1null!==(ke=this.routerOutlet)&&void 0!==ke&&ke.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),je.preventDefault()):null!=Tt&&(this.navCtrl.navigateBack(Tt,{animation:this.routerAnimation}),je.preventDefault())}},"\u0275fac",function(je){return new(je||yt)(w.rXU(Gt,8),w.rXU(lr),w.rXU(Fn),w.rXU(w.aKT),w.rXU(w.SKi),w.rXU(w.gRc))}),(0,s.A)(yt,"\u0275dir",w.FsC({type:yt,hostBindings:function(je,ke){1&je&&w.bIt("click",function(Zt){return ke.onClick(Zt)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}})),yt);return Je=(0,fe.Cg)([wr({inputs:xi})],Je),Je})(),ao=(()=>{var yt;class Je{constructor(je,ke,Tt,Zt,In){(0,s.A)(this,"locationStrategy",void 0),(0,s.A)(this,"navCtrl",void 0),(0,s.A)(this,"elementRef",void 0),(0,s.A)(this,"router",void 0),(0,s.A)(this,"routerLink",void 0),(0,s.A)(this,"routerDirection","forward"),(0,s.A)(this,"routerAnimation",void 0),this.locationStrategy=je,this.navCtrl=ke,this.elementRef=Tt,this.router=Zt,this.routerLink=In}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){var je;if(null!==(je=this.routerLink)&&void 0!==je&&je.urlTree){const ke=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=ke}}onClick(je){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),je.preventDefault()}}return yt=Je,(0,s.A)(Je,"\u0275fac",function(je){return new(je||yt)(w.rXU(x.hb),w.rXU(lr),w.rXU(w.aKT),w.rXU(T.Ix),w.rXU(T.Wk,8))}),(0,s.A)(Je,"\u0275dir",w.FsC({type:yt,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(je,ke){1&je&&w.bIt("click",function(Zt){return ke.onClick(Zt)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[w.OA$]})),Je})(),Oo=(()=>{var yt;class Je{constructor(je,ke,Tt,Zt,In){(0,s.A)(this,"locationStrategy",void 0),(0,s.A)(this,"navCtrl",void 0),(0,s.A)(this,"elementRef",void 0),(0,s.A)(this,"router",void 0),(0,s.A)(this,"routerLink",void 0),(0,s.A)(this,"routerDirection","forward"),(0,s.A)(this,"routerAnimation",void 0),this.locationStrategy=je,this.navCtrl=ke,this.elementRef=Tt,this.router=Zt,this.routerLink=In}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){var je;if(null!==(je=this.routerLink)&&void 0!==je&&je.urlTree){const ke=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=ke}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}}return yt=Je,(0,s.A)(Je,"\u0275fac",function(je){return new(je||yt)(w.rXU(x.hb),w.rXU(lr),w.rXU(w.aKT),w.rXU(T.Ix),w.rXU(T.Wk,8))}),(0,s.A)(Je,"\u0275dir",w.FsC({type:yt,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(je,ke){1&je&&w.bIt("click",function(){return ke.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[w.OA$]})),Je})();const to=["animated","animation","root","rootParams","swipeGesture"],Fo=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let Qr=(()=>{var yt;let Je=((0,s.A)(yt=class{constructor(je,ke,Tt,Zt,In,or){(0,s.A)(this,"z",void 0),(0,s.A)(this,"el",void 0),this.z=In,or.detach(),this.el=je.nativeElement,je.nativeElement.delegate=Zt.create(ke,Tt),ei(this,this.el,["ionNavDidChange","ionNavWillChange"])}},"\u0275fac",function(je){return new(je||yt)(w.rXU(w.aKT),w.rXU(w.uvJ),w.rXU(w.zZn),w.rXU(ht),w.rXU(w.SKi),w.rXU(w.gRc))}),(0,s.A)(yt,"\u0275dir",w.FsC({type:yt,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}})),yt);return Je=(0,fe.Cg)([wr({inputs:to,methods:Fo})],Je),Je})(),xo=(()=>{var yt;class Je{constructor(je){(0,s.A)(this,"navCtrl",void 0),(0,s.A)(this,"tabsInner",void 0),(0,s.A)(this,"ionTabsWillChange",new w.bkB),(0,s.A)(this,"ionTabsDidChange",new w.bkB),(0,s.A)(this,"tabBarSlot","bottom"),this.navCtrl=je}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:je,tabSwitch:ke}){const Tt=je.stackId;ke&&void 0!==Tt&&this.ionTabsWillChange.emit({tab:Tt})}onStackDidChange({enteringView:je,tabSwitch:ke}){const Tt=je.stackId;ke&&void 0!==Tt&&(this.tabBar&&(this.tabBar.selectedTab=Tt),this.ionTabsDidChange.emit({tab:Tt}))}select(je){const ke="string"==typeof je,Tt=ke?je:je.detail.tab,Zt=this.outlet.getActiveStackId()===Tt,In=`${this.outlet.tabsPrefix}/${Tt}`;if(ke||je.stopPropagation(),Zt){const or=this.outlet.getActiveStackId(),Fe=this.outlet.getLastRouteView(or);
1if((null==Fe?void 0:Fe.url)===In)return;const et=this.outlet.getRootView(Tt);return this.navCtrl.navigateRoot(In,{...et&&In===et.url&&et.savedExtras,animated:!0,animationDirection:"back"})}{const or=this.outlet.getLastRouteView(Tt);return this.navCtrl.navigateRoot((null==or?void 0:or.url)||In,{...null==or?void 0:or.savedExtras,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(je=>{const ke=je.el.getAttribute("slot");ke!==this.tabBarSlot&&(this.tabBarSlot=ke,this.relocateTabBar())})}relocateTabBar(){const je=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(je):this.tabsInner.nativeElement.after(je)}}return yt=Je,(0,s.A)(Je,"\u0275fac",function(je){return new(je||yt)(w.rXU(lr))}),(0,s.A)(Je,"\u0275dir",w.FsC({type:yt,selectors:[["ion-tabs"]],viewQuery:function(je,ke){if(1&je&&w.GBs(Ce,7,w.aKT),2&je){let Tt;w.mGM(Tt=w.lsd())&&(ke.tabsInner=Tt.first)}},hostBindings:function(je,ke){1&je&&w.bIt("ionTabButtonClick",function(Zt){return ke.select(Zt)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}})),Je})();const Lo=yt=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(yt):"function"==typeof requestAnimationFrame?requestAnimationFrame(yt):setTimeout(yt);let vo=(()=>{var yt;class Je{constructor(je,ke){(0,s.A)(this,"injector",void 0),(0,s.A)(this,"elementRef",void 0),(0,s.A)(this,"onChange",()=>{}),(0,s.A)(this,"onTouched",()=>{}),(0,s.A)(this,"lastValue",void 0),(0,s.A)(this,"statusChanges",void 0),this.injector=je,this.elementRef=ke}writeValue(je){this.elementRef.nativeElement.value=this.lastValue=je,hi(this.elementRef)}handleValueChange(je,ke){je===this.elementRef.nativeElement&&(ke!==this.lastValue&&(this.lastValue=ke,this.onChange(ke)),hi(this.elementRef))}_handleBlurEvent(je){je===this.elementRef.nativeElement&&(this.onTouched(),hi(this.elementRef))}registerOnChange(je){this.onChange=je}registerOnTouched(je){this.onTouched=je}setDisabledState(je){this.elementRef.nativeElement.disabled=je}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let je;try{je=this.injector.get(se.vO)}catch(Tt){}if(!je)return;je.statusChanges&&(this.statusChanges=je.statusChanges.subscribe(()=>hi(this.elementRef)));const ke=je.control;ke&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(Zt=>{if(typeof ke[Zt]<"u"){const In=ke[Zt].bind(ke);ke[Zt]=(...or)=>{In(...or),hi(this.elementRef)}}})}}return yt=Je,(0,s.A)(Je,"\u0275fac",function(je){return new(je||yt)(w.rXU(w.zZn),w.rXU(w.aKT))}),(0,s.A)(Je,"\u0275dir",w.FsC({type:yt,hostBindings:function(je,ke){1&je&&w.bIt("ionBlur",function(Zt){return ke._handleBlurEvent(Zt.target)})}})),Je})();const hi=yt=>{Lo(()=>{const Je=yt.nativeElement,Nt=null!=Je.value&&Je.value.toString().length>0,je=no(Je);ji(Je,je);const ke=Je.closest("ion-item");ke&&ji(ke,Nt?[...je,"item-has-value"]:je)})},no=yt=>{const Je=yt.classList,Nt=[];for(let je=0;je<Je.length;je++){const ke=Je.item(je);null!==ke&&lo(ke,"ng-")&&Nt.push(`ion-${ke.substring(3)}`)}return Nt},ji=(yt,Je)=>{const Nt=yt.classList;Nt.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),Nt.add(...Je)},lo=(yt,Je)=>yt.substring(0,Je.length)===Je;class co{shouldDetach(Je){return!1}shouldAttach(Je){return!1}store(Je,Nt){}retrieve(Je){return null}shouldReuseRoute(Je,Nt){if(Je.routeConfig!==Nt.routeConfig)return!1;const je=Je.params,ke=Nt.params,Tt=Object.keys(je),Zt=Object.keys(ke);if(Tt.length!==Zt.length)return!1;for(const In of Tt)if(ke[In]!==je[In])return!1;return!0}}class Po{constructor(Je){(0,s.A)(this,"ctrl",void 0),this.ctrl=Je}create(Je){return this.ctrl.create(Je||{})}dismiss(Je,Nt,je){return this.ctrl.dismiss(Je,Nt,je)}getTop(){return this.ctrl.getTop()}}},5374:(wt,Se,u)=>{"use strict";u.d(Se,{GD:()=>Ui,hG:()=>Bi,hB:()=>Re,xk:()=>ve,YH:()=>ze,wC:()=>fe,U1:()=>ee,el:()=>Fe,In:()=>Ce,a6:()=>at,dQ:()=>pt,Jm:()=>ct,QW:()=>jt,b_:()=>jn,I9:()=>mn,ZB:()=>Fn,hU:()=>cr,W9:()=>Yn,A9:()=>Qn,Q8:()=>Ot,YW:()=>It,M0:()=>Zn,lO:()=>Ir,eU:()=>Er,iq:()=>$n,Ax:()=>Ar,Hp:()=>ei,$w:()=>wr,uz:()=>li,LU:()=>rr,CE:()=>Un,A7:()=>nt,he:()=>Bn,nf:()=>_r,oS:()=>ui,MC:()=>_i,cA:()=>eo,Sb:()=>fn,QE:()=>et,JI:()=>Rt,CF:()=>Dn,Ob:()=>Kr,To:()=>xi,Ki:()=>Fi,Rg:()=>In,ln:()=>Fo,S1:()=>Qr,Gp:()=>xo,eP:()=>Lo,ds:()=>no,w2:()=>ji,HP:()=>lo,Jq:()=>co,qW:()=>Po,p4:()=>or,IO:()=>yt,nc:()=>Je,Zx:()=>Nt,BC:()=>je,op:()=>ke,BY:()=>Tt,ai:()=>Zt,bv:()=>kr,W3:()=>di,su:()=>it,N7:()=>Ht,Je:()=>Be,Gw:()=>We,K_:()=>ft});var a=u(9842),s=u(3953),w=u(9417),T=u(2872),x=u(1635),F=u(3726),B=u(177),H=u(803),V=u(617),U=u(467),le=u(8393);const q=u(4921).i,we=function(){var R=(0,U.A)(function*(Ee,Ke){if(!(typeof window>"u"))return yield q(),(0,le.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":[
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]}]]]]'),Ke)});return function(Ke,G){return R.apply(this,arguments)}}(),ue=["*"],Ie=["outletContent"],ge=["outlet"],he=[[["","slot","top"]],"*"],Me=["[slot=top]","*"];function $e(R,Ee){if(1&R&&(s.j41(0,"div",1),s.eu8(1,2),s.k0s()),2&R){const Ke=s.XpG();s.R7$(),s.Y8G("ngTemplateOutlet",Ke.template)}}function Pe(R,Ee){if(1&R&&s.eu8(0,1),2&R){const Ke=s.XpG();s.Y8G("ngTemplateOutlet",Ke.template)}}let Re=(()=>{var R;class Ee extends T.fL{constructor(G,qe){super(G,qe)}writeValue(G){this.elementRef.nativeElement.checked=this.lastValue=G,(0,T.z3)(this.elementRef)}_handleIonChange(G){this.handleValueChange(G,G.checked)}}return R=Ee,(0,a.A)(Ee,"\u0275fac",function(G){return new(G||R)(s.rXU(s.zZn),s.rXU(s.aKT))}),(0,a.A)(Ee,"\u0275dir",s.FsC({type:R,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(G,qe){1&G&&s.bIt("ionChange",function(Mi){return qe._handleIonChange(Mi.target)})},features:[s.Jv_([{provide:w.kq,useExisting:R,multi:!0}]),s.Vt3]})),Ee})(),it=(()=>{var R;class Ee extends T.fL{constructor(G,qe){super(G,qe),(0,a.A)(this,"el",void 0),this.el=qe}handleInputEvent(G){this.handleValueChange(G,G.value)}registerOnChange(G){super.registerOnChange("ION-INPUT"===this.el.nativeElement.tagName?qe=>{G(""===qe?null:parseFloat(qe))}:G)}}return R=Ee,(0,a.A)(Ee,"\u0275fac",function(G){return new(G||R)(s.rXU(s.zZn),s.rXU(s.aKT))}),(0,a.A)(Ee,"\u0275dir",s.FsC({type:R,selectors:[["ion-input","type","number"],["ion-range"]],hostBindings:function(G,qe){1&G&&s.bIt("ionInput",function(Mi){return qe.handleInputEvent(Mi.target)})},features:[s.Jv_([{provide:w.kq,useExisting:R,multi:!0}]),s.Vt3]})),Ee})(),Be=(()=>{var R;class Ee extends T.fL{constructor(G,qe){super(G,qe)}_handleChangeEvent(G){this.handleValueChange(G,G.value)}}return R=Ee,(0,a.A)(Ee,"\u0275fac",function(G){return new(G||R)(s.rXU(s.zZn),s.rXU(s.aKT))}),(0,a.A)(Ee,"\u0275dir",s.FsC({type:R,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(G,qe){1&G&&s.bIt("ionChange",function(Mi){return qe._handleChangeEvent(Mi.target)})},features:[s.Jv_([{provide:w.kq,useExisting:R,multi:!0}]),s.Vt3]})),Ee})(),We=(()=>{var R;class Ee extends T.fL{constructor(G,qe){super(G,qe)}_handleInputEvent(G){this.handleValueChange(G,G.value)}}return R=Ee,(0,a.A)(Ee,"\u0275fac",function(G){return new(G||R)(s.rXU(s.zZn),s.rXU(s.aKT))}),(0,a.A)(Ee,"\u0275dir",s.FsC({type:R,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"]],hostBindings:function(G,qe){1&G&&s.bIt("ionInput",function(Mi){return qe._handleInputEvent(Mi.target)})},features:[s.Jv_([{provide:w.kq,useExisting:R,multi:!0}]),s.Vt3]})),Ee})();const Ae=(R,Ee)=>{const Ke=R.prototype;Ee.forEach(G=>{Object.defineProperty(Ke,G,{get(){return this.el[G]},set(qe){this.z.runOutsideAngular(()=>this.el[G]=qe)},configurable:!0})})},k=(R,Ee)=>{const Ke=R.prototype;Ee.forEach(G=>{Ke[G]=function(){const qe=arguments;return this.z.runOutsideAngular(()=>this.el[G].apply(this.el,qe))}})},z=(R,Ee,Ke)=>{Ke.forEach(G=>R[G]=(0,F.R)(Ee,G))};function pe(R){return function(Ke){const{defineCustomElementFn:G,inputs:qe,methods:kt}=R;return void 0!==G&&G(),qe&&Ae(Ke,qe),kt&&k(Ke,kt),Ke}}let ve=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-accordion"]],inputs:{disabled:"disabled",mode:"mode",readonly:"readonly",toggleIcon:"toggleIcon",toggleIconSlot:"toggleIconSlot",value:"value"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["disabled","mode","readonly","toggleIcon","toggleIconSlot","value"]})],Ee),Ee})(),ze=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionChange"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-accordion-group"]],inputs:{animated:"animated",disabled:"disabled",expand:"expand",mode:"mode",multiple:"multiple",readonly:"readonly",value:"value"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["animated","disabled","expand","mode","multiple","readonly","value"]})],Ee),Ee})(),fe=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionActionSheetDidPresent","ionActionSheetWillPresent","ionActionSheetWillDismiss","ionActionSheetDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-action-sheet"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDid
1Dismiss","onWillDismiss"]})],Ee),Ee})(),ee=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-app"]],ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({})],Ee),Ee})(),Ce=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["color","mode"]})],Ee),Ee})(),at=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionFocus","ionBlur"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-breadcrumb"]],inputs:{active:"active",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",separator:"separator",target:"target"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["active","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","separator","target"]})],Ee),Ee})(),pt=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionCollapsedClick"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-breadcrumbs"]],inputs:{color:"color",itemsAfterCollapse:"itemsAfterCollapse",itemsBeforeCollapse:"itemsBeforeCollapse",maxItems:"maxItems",mode:"mode"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["color","itemsAfterCollapse","itemsBeforeCollapse","maxItems","mode"]})],Ee),Ee})(),ct=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionFocus","ionBlur"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,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:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],Ee),Ee})(),jt=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["collapse"]})],Ee),Ee})(),jn=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,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:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],Ee),Ee})(),mn=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["mode"]})],Ee),Ee})(),Fn=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["color","disabled","mode","outline"]})],Ee),Ee})(),cr=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pu
1shXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],Ee),Ee})(),Yn=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-content"]],inputs:{color:"color",fixedSlotPlacement:"fixedSlotPlacement",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["color","fixedSlotPlacement","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],Ee),Ee})(),Qn=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-datetime"]],inputs:{cancelText:"cancelText",clearText:"clearText",color:"color",dayValues:"dayValues",disabled:"disabled",doneText:"doneText",firstDayOfWeek:"firstDayOfWeek",formatOptions:"formatOptions",highlightedDates:"highlightedDates",hourCycle:"hourCycle",hourValues:"hourValues",isDateEnabled:"isDateEnabled",locale:"locale",max:"max",min:"min",minuteValues:"minuteValues",mode:"mode",monthValues:"monthValues",multiple:"multiple",name:"name",preferWheel:"preferWheel",presentation:"presentation",readonly:"readonly",showClearButton:"showClearButton",showDefaultButtons:"showDefaultButtons",showDefaultTimeLabel:"showDefaultTimeLabel",showDefaultTitle:"showDefaultTitle",size:"size",titleSelectedDatesFormatter:"titleSelectedDatesFormatter",value:"value",yearValues:"yearValues"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["cancelText","clearText","color","dayValues","disabled","doneText","firstDayOfWeek","formatOptions","highlightedDates","hourCycle","hourValues","isDateEnabled","locale","max","min","minuteValues","mode","monthValues","multiple","name","preferWheel","presentation","readonly","showClearButton","showDefaultButtons","showDefaultTimeLabel","showDefaultTitle","size","titleSelectedDatesFormatter","value","yearValues"],methods:["confirm","reset","cancel"]})],Ee),Ee})(),Ot=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],Ee),Ee})(),It=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionFocus","ionBlur"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,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:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],Ee),Ee})(),Zn=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["collapse","mode","translucent"]})],Ee),Ee})(),Ir=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["fixed"]})],Ee),Ee})(),Er=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["collapse","mode","translucent"]})],Ee),Ee})(),$n=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,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:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],Ee),Ee})(),Ar=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionInfinite"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["disabled","position","threshold"],methods:["complete"]})],Ee),Ee})(),ei=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["loadingSpinner","loadingText"]})],Ee),Ee})(),wr=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,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:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({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"]})],Ee),Ee})(),li=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,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:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerAnimation","routerDirection","target","type"]})],Ee),Ee})(),rr=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],Ee),Ee})(),Un=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionSwipe"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["side"]})],Ee),Ee})(),nt=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionDrag"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],Ee),Ee})(),Bn=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["color","mode","position"]})],Ee),Ee})(),_r=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],Ee),Ee})(),ui=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],Ee),Ee})(),_i=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["autoHide","color","disabled","menu","mode","type"]})],Ee),Ee})(),eo=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["autoHide","menu"]}
1)],Ee),Ee})(),Rt=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["color","mode"]})],Ee),Ee})(),Kr=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-range"]],inputs:{activeBarStart:"activeBarStart",color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",label:"label",labelPlacement:"labelPlacement",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",pinFormatter:"pinFormatter",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"]})],Ee),Ee})(),xi=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionRefresh","ionPull","ionStart"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],Ee),Ee})(),Fi=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],Ee),Ee})(),Fo=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-row"]],ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({})],Ee),Ee})(),Qr=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,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:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({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"]})],Ee),Ee})(),xo=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionChange"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"]})],Ee),Ee})(),Lo=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["disabled","layout","mode","type","value"]})],Ee),Ee})(),no=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-skeleton-text"]],inputs:{animated:"animated"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["animated"]})],Ee),Ee})(),ji=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["color","duration","name","paused"]})],Ee),Ee})(),lo=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionSplitPaneVisible"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["contentId","disabled","when"]})],Ee),Ee})(),co=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["color","mode","selectedTab","translucent"]})],Ee),Ee})(),Po=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],Ee),Ee})(),yt=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["color","mode"]})],Ee),Ee})(),Je=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,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:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({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","getIn
1putElement"]})],Ee),Ee})(),Nt=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-thumbnail"]],ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({})],Ee),Ee})(),je=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["color","size"]})],Ee),Ee})(),ke=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionToastDidPresent","ionToastWillPresent","ionToastWillDismiss","ionToastDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-toast"]],inputs:{animated:"animated",buttons:"buttons",color:"color",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",icon:"icon",isOpen:"isOpen",keyboardClose:"keyboardClose",layout:"layout",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",position:"position",positionAnchor:"positionAnchor",swipeGesture:"swipeGesture",translucent:"translucent",trigger:"trigger"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["animated","buttons","color","cssClass","duration","enterAnimation","header","htmlAttributes","icon","isOpen","keyboardClose","layout","leaveAnimation","message","mode","position","positionAnchor","swipeGesture","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],Ee),Ee})(),Tt=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement,z(this,this.el,["ionChange","ionFocus","ionBlur"])}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-toggle"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",enableOnOffLabels:"enableOnOffLabels",justify:"justify",labelPlacement:"labelPlacement",mode:"mode",name:"name",value:"value"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["alignment","checked","color","disabled","enableOnOffLabels","justify","labelPlacement","mode","name","value"]})],Ee),Ee})(),Zt=(()=>{var R;let Ee=((0,a.A)(R=class{constructor(G,qe,kt){(0,a.A)(this,"z",void 0),(0,a.A)(this,"el",void 0),this.z=kt,G.detach(),this.el=qe.nativeElement}},"\u0275fac",function(G){return new(G||R)(s.rXU(s.gRc),s.rXU(s.aKT),s.rXU(s.SKi))}),(0,a.A)(R,"\u0275cmp",s.VBU({type:R,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),R);return Ee=(0,x.Cg)([pe({inputs:["color","mode"]})],Ee),Ee})(),In=(()=>{var R;class Ee extends T.Rg{constructor(G,qe,kt,Mi,bo,ns,ra,$o){super(G,qe,kt,Mi,bo,ns,ra,$o),(0,a.A)(this,"parentOutlet",void 0),(0,a.A)(this,"outletContent",void 0),this.parentOutlet=$o}}return R=Ee,(0,a.A)(Ee,"\u0275fac",function(G){return new(G||R)(s.kS0("name"),s.kS0("tabs"),s.rXU(B.aZ),s.rXU(s.aKT),s.rXU(H.Ix),s.rXU(s.SKi),s.rXU(H.nX),s.rXU(R,12))}),(0,a.A)(Ee,"\u0275cmp",s.VBU({type:R,selectors:[["ion-router-outlet"]],viewQuery:function(G,qe){if(1&G&&s.GBs(Ie,7,s.c1b),2&G){let kt;s.mGM(kt=s.lsd())&&(qe.outletContent=kt.first)}},features:[s.Vt3],ngContentSelectors:ue,decls:3,vars:0,consts:[["outletContent",""]],template:function(G,qe){1&G&&(s.NAR(),s.qex(0,null,0),s.SdG(2),s.bVm())},encapsulation:2})),Ee})(),or=(()=>{var R;class Ee extends T.p4{constructor(...G){super(...G),(0,a.A)(this,"outlet",void 0),(0,a.A)(this,"tabBar",void 0),(0,a.A)(this,"tabBars",void 0)}}return R=Ee,(0,a.A)(Ee,"\u0275fac",(()=>{let Ke;return function(qe){return(Ke||(Ke=s.xGo(R)))(qe||R)}})()),(0,a.A)(Ee,"\u0275cmp",s.VBU({type:R,selectors:[["ion-tabs"]],contentQueries:function(G,qe,kt){if(1&G&&(s.wni(kt,co,5),s.wni(kt,co,4)),2&G){let Mi;s.mGM(Mi=s.lsd())&&(qe.tabBar=Mi.first),s.mGM(Mi=s.lsd())&&(qe.tabBars=Mi)}},viewQuery:function(G,qe){if(1&G&&s.GBs(ge,5,In),2&G){let kt;s.mGM(kt=s.lsd())&&(qe.outlet=kt.first)}},features:[s.Vt3],ngContentSelectors:Me,decls:6,vars:0,consts:[["tabsInner",""],["outlet",""],[1,"tabs-inner"],["tabs","true",3,"stackWillChange","stackDidChange"]],template:function(G,qe){if(1&G){const kt=s.RV6();s.NAR(he),s.SdG(0),s.j41(1,"div",2,0)(3,"ion-router-outlet",3,1),s.bIt("stackWillChange",function(bo){return s.eBV(kt),s.Njj(qe.onStackWillChange(bo))})("stackDidChange",function(bo){return s.eBV(kt),s.Njj(qe.onStackDidChange(bo))}),s.k0s()(),s.SdG(5,1)}},dependencies:[In],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}"]})),Ee})(),Fe=(()=>{var R;class Ee extends T.el{constructor(G,qe,kt,Mi,bo,ns){super(G,qe,kt,Mi,bo,ns)}}return R=Ee,(0,a.A)(Ee,"\u0275fac",function(G){return new(G||R)(s.rXU(In,8),s.rXU(T.q9),s.rXU(T.TS),s.rXU(s.aKT),s.rXU(s.SKi),s.rXU(s.gRc))}),(0,a.A)(Ee,"\u0275cmp",s.VBU({type:R,selectors:[["ion-back-button"]],features:[s.Vt3],ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),Ee})(),et=(()=>{var R;class Ee extends T.QE{constructor(G,qe,kt,Mi,bo,ns){super(G,qe,kt,Mi,bo,ns)}}return R=Ee,(0,a.A)(Ee,"\u0275fac",function(G){return new(G||R)(s.rXU(s.aKT),s.rXU(s.uvJ),s.rXU(s.zZn),s.rXU(T.Yq),s.rXU(s.SKi),s.rXU(s.gRc))}),(0,a.A)(Ee,"\u0275cmp",s.VBU({type:R,selectors:[["ion-nav"]],features:[s.Vt3],ngContentSelectors:ue,decls:1,vars:0,template:function(G,qe){1&G&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})),Ee})(),Ht=(()=>{var R;class Ee extends T.CE{}return R=Ee,(0,a.A)(Ee,"\u0275fac",(()=>{let Ke;return function(qe){return(Ke||(Ke=s.xGo(R)))(qe||R)}})()),(0,a.A)(Ee,"\u0275dir",s.FsC({type:R,selectors:[["","routerLink","",5,"a",5,"area"]],features:[s.Vt3]})),Ee})(),fn=(()=>{var R;class Ee extends T.Sb{}return R=Ee,(0,a.A)(Ee,"\u0275fac",(()=>{let Ke;return function(qe){return(Ke||(Ke=s.xGo(R)))(qe||R)}})()),(0,a.A)(Ee,"\u0275cmp",s.VBU({type:R,selectors:[["ion-modal"]],features:[s.Vt3],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(G,qe){1&G&&s.DNE(0,$e,2,1,"div",0),2&G&&s.Y8G("ngIf",qe.isCmpOpen||qe.keepContentsMounted)},dependencies:[B.bT,B.T3],encapsulation:2,changeDetection:0})),Ee})(),Dn=(()=>{var R;class Ee extends T.CF{}return R=Ee,(0,a.A)(Ee,"\u0275fac",(()=>{let Ke;return function(qe){return(Ke||(Ke=s.xGo(R)))(qe||R)}})()),(0,a.A)(Ee,"\u0275cmp",s.VBU({type:R,selectors:[["ion-popover"]],features:[s.Vt3],decls:1,vars:1,consts:[[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(G,qe){1&G&&s.DNE(0,Pe,1,1,"ng-container",0),2&G&&s.Y8G("ngIf",qe.isCmpOpen||qe.keepContentsMounted)},dependencies:[B.bT,B.T3],encapsulation:2,changeDetection:0})),Ee})();const ir={provide:w.cz,useExisting:(0,s.Rfq)(()=>er),multi:!0};let er=(()=>{var R;class Ee extends w.zX{}return R=Ee,(0,a.A)(Ee,"\u0275fac",(()=>{let Ke;return function(qe){return(Ke||(Ke=s.xGo(R)))(qe||R)}})()),(0,a.A)(Ee,"\u0275dir",s.FsC({type:R,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(G,qe){2&G&&s.BMQ("max",qe._enabled?qe.max:null)},features:[s.Jv_([ir]),s.Vt3]})),Ee})();const Wr={provide:w.cz,useExisting:(0,s.Rfq)(()=>Tr),multi:!0};let Tr=(()=>{var R;class Ee extends w.VZ{}return R=Ee,(0,a.A)(Ee,"\u0275fac",(()=>{let Ke;return function(qe){return(Ke||(Ke=s.xGo(R)))(qe||R)}})()),(0,a.A)(Ee,"\u0275dir",s.FsC({type:R,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(G,qe){2&G&&s.BMQ("min",qe._enabled?qe.min:null)},features:[s.Jv_([Wr]),s.Vt3]})),Ee})(),Bi=(()=>{var R;class Ee extends T.Kb{constructor(){super(V.TN)}}return R=Ee,(0,a.A)(Ee,"\u0275fac",function(G){return new(G||R)}),(0,a.A)(Ee,"\u0275prov",s.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})),Ee})(),Ui=(()=>{var R;class Ee extends T.Kb{constructor(){super(V.k_)}}return R=Ee,(0,a.A)(Ee,"\u0275fac",function(G){return new(G||R)}),(0,a.A)(Ee,"\u0275prov",s.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})),Ee})(),di=(()=>{var R;class Ee extends T.Kb{constructor(){super(V.OZ),(0,a.A)(this,"angularDelegate",(0,s.WQX)(T.Yq)),(0,a.A)(this,"injector",(0,s.WQX)(s.zZn)),(0,a.A)(this,"environmentInjector",(0,s.WQX)(s.uvJ))}create(G){return super.create({...G,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return R=Ee,(0,a.A)(Ee,"\u0275fac",function(G){return new(G||R)}),(0,a.A)(Ee,"\u0275prov",s.jDH({token:R,factory:R.\u0275fac})),Ee})();class tr extends T.Kb{constructor(){super(V.mF),(0,a.A)(this,"angularDelegate",(0,s.WQX)(T.Yq)),(0,a.A)(this,"injector",(0,s.WQX)(s.zZn)),(0,a.A)(this,"environmentInjector",(0,s.WQX)(s.uvJ))}create(Ee){return super.create({...Ee,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let ft=(()=>{var R;class Ee extends T.Kb{constructor(){super(V.eE)}}return R=Ee,(0,a.A)(Ee,"\u0275fac",function(G){return new(G||R)}),(0,a.A)(Ee,"\u0275prov",s.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})),Ee})();const St=(R,Ee,Ke)=>()=>{const G=Ee.defaultView;if(G&&typeof window<"u"){(0,V.QX)({...R,_zoneGate:kt=>Ke.run(kt)});const qe="__zone_symbol__addEventListener"in Ee.body?"__zone_symbol__addEventListener":"addEventListener";return function L(){var R=[];if(typeof window<"u"){var Ee=window;(!Ee.customElements||Ee.Element&&(!Ee.Element.prototype.closest||!Ee.Element.prototype.matches||!Ee.Element.prototype.remove||!Ee.Element.prototype.getRootNode))&&R.push(u.e(7278).then(u.t.bind(u,2190,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||Ee.NodeList&&!Ee.NodeList.prototype.forEach||!Ee.fetch||!function(){try{var G=new URL("b","http://a");return G.pathname="c%20d","http://a/c%20d"===G.href&&G.searchParams}catch(qe){return!1}}()||typeof WeakMap>"u")&&R.push(u.e(9329).then(u.t.bind(u,7783,23)))}return Promise.all(R)}().then(()=>we(G,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:T.er,jmp:kt=>Ke.runOutsideAngular(kt),ael(kt,Mi,bo,ns){kt[qe](Mi,bo,ns)},rel(kt,Mi,bo,ns){kt.removeEventListener(Mi,bo,ns)}}))}};let kr=(()=>{var R;class Ee{static forRoot(G={}){return{ngModule:Ee,providers:[{provide:T.sR,useValue:G},{provide:s.hnV,useFactory:St,multi:!0,deps:[T.sR,B.qQ,s.SKi]},T.Yq,(0,T.YV)()]}}}return R=Ee,(0,a.A)(Ee,"\u0275fac",function(G){return new(G||R)}),(0,a.A)(Ee,"\u0275mod",s.$C({type:R}
1)),(0,a.A)(Ee,"\u0275inj",s.G2t({providers:[di,tr],imports:[B.MD]})),Ee})()},3955:(wt,Se,u)=>{"use strict";u.d(Se,{D9:()=>ve,Wr:()=>W,c$:()=>ce,h:()=>ze});var a=u(9842),s=u(3953),w=u(7673),T=u(4402),x=u(7468),F=u(8793),B=u(9030),H=u(6697),V=u(253),L=u(6354),U=u(274),le=u(5558);class W{}let q=(()=>{var fe;class de extends W{getTranslation($){return(0,w.of)({})}}return fe=de,(0,a.A)(de,"\u0275fac",(()=>{let ee;return function(se){return(ee||(ee=s.xGo(fe)))(se||fe)}})()),(0,a.A)(de,"\u0275prov",s.jDH({token:fe,factory:fe.\u0275fac})),de})();class we{}let ue=(()=>{var fe;class de{handle($){return $.key}}return fe=de,(0,a.A)(de,"\u0275fac",function($){return new($||fe)}),(0,a.A)(de,"\u0275prov",s.jDH({token:fe,factory:fe.\u0275fac})),de})();function Ie(fe,de){if(fe===de)return!0;if(null===fe||null===de)return!1;if(fe!=fe&&de!=de)return!0;let se,Ce,at,ee=typeof fe;if(ee==typeof de&&"object"==ee){if(!Array.isArray(fe)){if(Array.isArray(de))return!1;for(Ce in at=Object.create(null),fe){if(!Ie(fe[Ce],de[Ce]))return!1;at[Ce]=!0}for(Ce in de)if(!(Ce in at)&&typeof de[Ce]<"u")return!1;return!0}if(!Array.isArray(de))return!1;if((se=fe.length)==de.length){for(Ce=0;Ce<se;Ce++)if(!Ie(fe[Ce],de[Ce]))return!1;return!0}}return!1}function ge(fe){return typeof fe<"u"&&null!==fe}function he(fe){return fe&&"object"==typeof fe&&!Array.isArray(fe)}function Me(fe,de){let ee=Object.assign({},fe);return he(fe)&&he(de)&&Object.keys(de).forEach($=>{he(de[$])?$ in fe?ee[$]=Me(fe[$],de[$]):Object.assign(ee,{[$]:de[$]}):Object.assign(ee,{[$]:de[$]})}),ee}class $e{}let Pe=(()=>{var fe;class de extends $e{constructor(...$){super(...$),(0,a.A)(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate($,se){let Ce;return Ce="string"==typeof $?this.interpolateString($,se):"function"==typeof $?this.interpolateFunction($,se):$,Ce}getValue($,se){let Ce="string"==typeof se?se.split("."):[se];se="";do{se+=Ce.shift(),!ge($)||!ge($[se])||"object"!=typeof $[se]&&Ce.length?Ce.length?se+=".":$=void 0:($=$[se],se="")}while(Ce.length);return $}interpolateFunction($,se){return $(se)}interpolateString($,se){return se?$.replace(this.templateMatcher,(Ce,at)=>{let pt=this.getValue(se,at);return ge(pt)?pt:Ce}):$}}return fe=de,(0,a.A)(de,"\u0275fac",(()=>{let ee;return function(se){return(ee||(ee=s.xGo(fe)))(se||fe)}
1})()),(0,a.A)(de,"\u0275prov",s.jDH({token:fe,factory:fe.\u0275fac})),de})();class Re{}let it=(()=>{var fe;class de extends Re{compile($,se){return $}compileTranslations($,se){return $}}return fe=de,(0,a.A)(de,"\u0275fac",(()=>{let ee;return function(se){return(ee||(ee=s.xGo(fe)))(se||fe)}})()),(0,a.A)(de,"\u0275prov",s.jDH({token:fe,factory:fe.\u0275fac})),de})();class Be{constructor(){(0,a.A)(this,"defaultLang",void 0),(0,a.A)(this,"currentLang",this.defaultLang),(0,a.A)(this,"translations",{}),(0,a.A)(this,"langs",[]),(0,a.A)(this,"onTranslationChange",new s.bkB),(0,a.A)(this,"onLangChange",new s.bkB),(0,a.A)(this,"onDefaultLangChange",new s.bkB)}}const We=new s.nKC("USE_STORE"),Ae=new s.nKC("USE_DEFAULT_LANG"),k=new s.nKC("DEFAULT_LANGUAGE"),z=new s.nKC("USE_EXTEND");let ce=(()=>{var fe;class de{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($){this.isolate?this._defaultLang=$:this.store.defaultLang=$}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang($){this.isolate?this._currentLang=$:this.store.currentLang=$}get langs(){return this.isolate?this._langs:this.store.langs}set langs($){this.isolate?this._langs=$:this.store.langs=$}get translations(){return this.isolate?this._translations:this.store.translations}set translations($){this.isolate?this._translations=$:this.store.translations=$}constructor($,se,Ce,at,pt,ct=!0,jt=!1,jn=!1,mn){(0,a.A)(this,"store",void 0),(0,a.A)(this,"currentLoader",void 0),(0,a.A)(this,"compiler",void 0),(0,a.A)(this,"parser",void 0),(0,a.A)(this,"missingTranslationHandler",void 0),(0,a.A)(this,"useDefaultLang",void 0),(0,a.A)(this,"isolate",void 0),(0,a.A)(this,"extend",void 0),(0,a.A)(this,"loadingTranslations",void 0),(0,a.A)(this,"pending",!1),(0,a.A)(this,"_onTranslationChange",new s.bkB),(0,a.A)(this,"_onLangChange",new s.bkB),(0,a.A)(this,"_onDefaultLangChange",new s.bkB),(0,a.A)(this,"_defaultLang",void 0),(0,a.A)(this,"_currentLang",void 0),(0,a.A)(this,"_langs",[]),(0,a.A)(this,"_translations",{}),(0,a.A)(this,"_translationRequests",{}),this.store=$,this.currentLoader=se,this.compiler=Ce,this.parser=at,this.missingTranslationHandler=pt,this.useDefaultLang=ct,this.isolate=jt,this.extend=jn,mn&&this.setDefaultLang(mn)}setDefaultLang($){if($===this.defaultLang)return;let se=this.retrieveTranslations($);typeof se<"u"?(null==this.defaultLang&&(this.defaultLang=$),se.pipe((0,H.s)(1)).subscribe(Ce=>{this.changeDefaultLang($)})):this.changeDefaultLang($)}getDefaultLang(){return this.defaultLang}use($){if($===this.currentLang)return(0,w.of)(this.translations[$]);let se=this.retrieveTranslations($);return typeof se<"u"?(this.currentLang||(this.currentLang=$),se.pipe((0,H.s)(1)).subscribe(Ce=>{this.changeLang($)}),se):(this.changeLang($),(0,w.of)(this.translations[$]))}retrieveTranslations($){let se;return(typeof this.translations[$]>"u"||this.extend)&&(this._translationRequests[$]=this._translationRequests[$]||this.getTranslation($),se=this._translationRequests[$]),se}getTranslation($){this.pending=!0;const se=this.currentLoader.getTranslation($).pipe((0,V.t)(1),(0,H.s)(1));return this.loadingTranslations=se.pipe((0,L.T)(Ce=>this.compiler.compileTranslations(Ce,$)),(0,V.t)(1),(0,H.s)(1)),this.loadingTranslations.subscribe({next:Ce=>{this.translations[$]=this.extend&&this.translations[$]?{...Ce,...this.translations[$]}:Ce,this.updateLangs(),this.pending=!1},error:Ce=>{this.pending=!1}}),se}setTranslation($,se,Ce=!1){se=this.compiler.compileTranslations(se,$),this.translations[$]=(Ce||this.extend)&&this.translations[$]?Me(this.translations[$],se):se,this.updateLangs(),this.onTranslationChange.emit({lang:$,translations:this.translations[$]})}getLangs(){return this.langs}addLangs($){$.forEach(se=>{-1===this.langs.indexOf(se)&&this.langs.push(se)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult($,se,Ce){let at;if(se instanceof Array){let pt={},ct=!1;for(let jt of se)pt[jt]=this.getParsedResult($,jt,Ce),(0,T.A)(pt[jt])&&(ct=!0);if(ct){const jt=se.map(jn=>(0,T.A)(pt[jn])?pt[jn]:(0,w.of)(pt[jn]));return(0,x.p)(jt).pipe((0,L.T)(jn=>
1{let mn={};return jn.forEach((lr,hr)=>{mn[se[hr]]=lr}),mn}))}return pt}if($&&(at=this.parser.interpolate(this.parser.getValue($,se),Ce)),typeof at>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(at=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],se),Ce)),typeof at>"u"){let pt={key:se,translateService:this};typeof Ce<"u"&&(pt.interpolateParams=Ce),at=this.missingTranslationHandler.handle(pt)}return typeof at<"u"?at:se}get($,se){if(!ge($)||!$.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,U.H)(Ce=>(Ce=this.getParsedResult(Ce,$,se),(0,T.A)(Ce)?Ce:(0,w.of)(Ce))));{let Ce=this.getParsedResult(this.translations[this.currentLang],$,se);return(0,T.A)(Ce)?Ce:(0,w.of)(Ce)}}getStreamOnTranslationChange($,se){if(!ge($)||!$.length)throw new Error('Parameter "key" required');return(0,F.x)((0,B.v)(()=>this.get($,se)),this.onTranslationChange.pipe((0,le.n)(Ce=>{const at=this.getParsedResult(Ce.translations,$,se);return"function"==typeof at.subscribe?at:(0,w.of)(at)})))}stream($,se){if(!ge($)||!$.length)throw new Error('Parameter "key" required');return(0,F.x)((0,B.v)(()=>this.get($,se)),this.onLangChange.pipe((0,le.n)(Ce=>{const at=this.getParsedResult(Ce.translations,$,se);return(0,T.A)(at)?at:(0,w.of)(at)})))}instant($,se){if(!ge($)||!$.length)throw new Error('Parameter "key" required');let Ce=this.getParsedResult(this.translations[this.currentLang],$,se);if((0,T.A)(Ce)){if($ instanceof Array){let at={};return $.forEach((pt,ct)=>{at[$[ct]]=$[ct]}),at}return $}return Ce}set($,se,Ce=this.currentLang){this.translations[Ce][$]=this.compiler.compile(se,Ce),this.updateLangs(),this.onTranslationChange.emit({lang:Ce,translations:this.translations[Ce]})}changeLang($){this.currentLang=$,this.onLangChange.emit({lang:$,translations:this.translations[$]}),null==this.defaultLang&&this.changeDefaultLang($)}changeDefaultLang($){this.defaultLang=$,this.onDefaultLangChange.emit({lang:$,translations:this.translations[$]})}reloadLang($){return this.resetLang($),this.getTranslation($)}resetLang($){this._translationRequests[$]=void 0,this.translations[$]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let $=window.navigator.languages?window.navigator.languages[0]:null;return $=$||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof $>"u"?void 0:(-1!==$.indexOf("-")&&($=$.split("-")[0]),-1!==$.indexOf("_")&&($=$.split("_")[0]),$)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let $=window.navigator.languages?window.navigator.languages[0]:null;return $=$||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,$}}return fe=de,(0,a.A)(de,"\u0275fac",function($){return new($||fe)(s.KVO(Be),s.KVO(W),s.KVO(Re),s.KVO($e),s.KVO(we),s.KVO(Ae),s.KVO(We),s.KVO(z),s.KVO(k))}),(0,a.A)(de,"\u0275prov",s.jDH({token:fe,factory:fe.\u0275fac})),de})(),ve=(()=>{var fe;class de{constructor($,se){(0,a.A)(this,"translate",void 0),(0,a.A)(this,"_ref",void 0),(0,a.A)(this,"value",""),(0,a.A)(this,"lastKey",null),(0,a.A)(this,"lastParams",[]),(0,a.A)(this,"onTranslationChange",void 0),(0,a.A)(this,"onLangChange",void 0),(0,a.A)(this,"onDefaultLangChange",void 0),this.translate=$,this._ref=se}updateValue($,se,Ce){let at=pt=>{this.value=void 0!==pt?pt:$,this.lastKey=$,this._ref.markForCheck()};if(Ce){let pt=this.translate.getParsedResult(Ce,$,se);(0,T.A)(pt.subscribe)?pt.subscribe(at):at(pt)}this.translate.get($,se).subscribe(at)}transform($,...se){if(!$||!$.length)return $;if(Ie($,this.lastKey)&&Ie(se,this.lastParams))return this.value;let Ce;if(ge(se[0])&&se.length)if("string"==typeof se[0]&&se[0].length){let at=se[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Ce=JSON.parse(at)}
1catch(pt){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${se[0]}`)}}else"object"==typeof se[0]&&!Array.isArray(se[0])&&(Ce=se[0]);return this.lastKey=$,this.lastParams=se,this.updateValue($,Ce),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(at=>{this.lastKey&&at.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue($,Ce,at.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(at=>{this.lastKey&&(this.lastKey=null,this.updateValue($,Ce,at.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue($,Ce))})),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 fe=de,(0,a.A)(de,"\u0275fac",function($){return new($||fe)(s.rXU(ce,16),s.rXU(s.gRc,16))}),(0,a.A)(de,"\u0275pipe",s.EJ8({name:"translate",type:fe,pure:!1})),(0,a.A)(de,"\u0275prov",s.jDH({token:fe,factory:fe.\u0275fac})),de})(),ze=(()=>{var fe;class de{static forRoot($={}){return{ngModule:de,providers:[$.loader||{provide:W,useClass:q},$.compiler||{provide:Re,useClass:it},$.parser||{provide:$e,useClass:Pe},$.missingTranslationHandler||{provide:we,useClass:ue},Be,{provide:We,useValue:$.isolate},{provide:Ae,useValue:$.useDefaultLang},{provide:z,useValue:$.extend},{provide:k,useValue:$.defaultLanguage},ce]}}static forChild($={}){return{ngModule:de,providers:[$.loader||{provide:W,useClass:q},$.compiler||{provide:Re,useClass:it},$.parser||{provide:$e,useClass:Pe},$.missingTranslationHandler||{provide:we,useClass:ue},{provide:We,useValue:$.isolate},{provide:Ae,useValue:$.useDefaultLang},{provide:z,useValue:$.extend},{provide:k,useValue:$.defaultLanguage},ce]}}}return fe=de,(0,a.A)(de,"\u0275fac",function($){return new($||fe)}),(0,a.A)(de,"\u0275mod",s.$C({type:fe})),(0,a.A)(de,"\u0275inj",s.G2t({})),de})()},7542:(wt,Se,u)=>{"use strict";u.d(Se,{$z:()=>Yn,Gc:()=>he,HU:()=>Ie,MH:()=>V,kA:()=>pt,rm:()=>cr});var a=u(467),s=u(177),w=u(3953),T=u(1413);function V(Lt,rr){const Un=rr?function H(Lt){return"string"==typeof Lt?()=>{throw new Error(Lt)}:Lt}(rr):()=>{};let nt=!1;return(...Bn)=>nt?Un(...Bn):(nt=!0,Lt(...Bn))}function L(Lt){return Lt.endsWith("/")?Lt:`${Lt}/`}u(3726),u(7786),u(345);const U=(Lt,rr)=>{const Un=rr.createElement("script");return Un.type="text/javascript",Un.defer=!0,Un.async=!0,Un.src=Lt,Un},le=new w.nKC("MATOMO_SCRIPT_FACTORY",{providedIn:"root",factory:()=>U});function W(Lt,rr){if(null==Lt)throw new Error("Unexpected "+Lt+" value: "+rr);return Lt}let we=(()=>{var Lt;class rr{constructor(){this.scriptFactory=(0,w.WQX)(le),this.injector=(0,w.WQX)(w.duS),this.document=(0,w.WQX)(s.qQ)}injectDOMScript(nt){const Bn=(0,w.N4e)(this.injector,()=>this.scriptFactory(nt,this.document)),_r=W(this.document.getElementsByTagName("script")[0],"no existing script found");W(_r.parentNode,"no script's parent node found").insertBefore(Bn,_r)}}return(Lt=rr).\u0275fac=function(nt){return new(nt||Lt)},Lt.\u0275prov=w.jDH({token:Lt,factory:Lt.\u0275fac,providedIn:"root"}),rr})();const Ie=new w.nKC("MATOMO_ROUTER_ENABLED",{factory:()=>!1}),ge=new w.nKC("MATOMO_CONFIGURATION"),he=new w.nKC("INTERNAL_MATOMO_CONFIGURATION",{factory(){const{mode:Lt,requireConsent:rr,...Un}=W((0,w.WQX)(ge,{optional:!0}),"No Matomo configuration found! Have you included Matomo module using MatomoModule.forRoot() or provideMatomo()?");return{mode:Lt?Re(Lt):void 0,disabled:!1,enableLinkTracking:!0,trackAppInitialLoad:!(0,w.WQX)(Ie),requireConsent:rr?Be(rr):"none",enableJSErrorTracking:!1,runOutsideAngularZone:!1,disableCampaignParameters:!1,acceptDoNotTrack:!1,...Un}}}),Me=new w.nKC("DEFERRED_INTERNAL_MATOMO_CONFIGURATION",{factory:()=>{const Lt=(0,w.WQX)(he);let rr;return{configuration:new Promise(nt=>rr=nt),markReady(nt){W(rr,"resolveFn")({...Lt,...nt})}}}});new w.nKC("ASYNC_INTERNAL_MATOMO_CONFIGURATION",{factory:()=>
1(0,w.WQX)(Me).configuration});var Pe=function(Lt){return Lt[Lt.AUTO=0]="AUTO",Lt[Lt.MANUAL=1]="MANUAL",Lt[Lt.AUTO_DEFERRED=2]="AUTO_DEFERRED",Lt}(Pe||{});function Re(Lt){switch(Lt){case Pe.AUTO:return"auto";case Pe.MANUAL:return"manual";case Pe.AUTO_DEFERRED:return"deferred";default:return Lt}}var it=function(Lt){return Lt[Lt.NONE=0]="NONE",Lt[Lt.COOKIE=1]="COOKIE",Lt[Lt.TRACKING=2]="TRACKING",Lt}(it||{});function Be(Lt){switch(Lt){case it.NONE:return"none";case it.COOKIE:return"cookie";case it.TRACKING:return"tracking";default:return Lt}}function Ae(Lt){return null!=Lt.siteId&&null!=Lt.trackerUrl}function ce(Lt){return Array.isArray(Lt.trackers)}function ve(){window._paq=window._paq||[]}function ze(Lt){const rr=[...Lt];for(;rr.length>0&&void 0===rr[rr.length-1];)rr.pop();return rr}let de=(()=>{var Lt;class rr{constructor(){this.ngZone=(0,w.WQX)(w.SKi),this.config=(0,w.WQX)(he),ve()}get(nt){return this.pushFn(Bn=>Bn[nt]())}pushFn(nt){return new Promise(Bn=>{this.push([function(){Bn(nt(this))}])})}push(nt){this.config.runOutsideAngularZone?this.ngZone.runOutsideAngular(()=>{window._paq.push(ze(nt))}):window._paq.push(ze(nt))}}return(Lt=rr).\u0275fac=function(nt){return new(nt||Lt)},Lt.\u0275prov=w.jDH({token:Lt,factory:()=>function fe(){const Lt=(0,w.WQX)(he).disabled,rr=(0,s.UE)((0,w.WQX)(w.Agw));return Lt||!rr?new ee:new de}(),providedIn:"root"}),rr})();class ee{get(rr){return(0,a.A)(function*(){return Promise.reject("MatomoTracker is disabled")})()}push(rr){}pushFn(rr){return(0,a.A)(function*(){return Promise.reject("MatomoTracker is disabled")})()}}let pt=(()=>{var Lt;class rr{constructor(){this.delegate=(0,w.WQX)(de),this._pageViewTracked=new T.B,this.pageViewTracked=this._pageViewTracked.asObservable(),(0,w.WQX)(w.abz).onDestroy(()=>this._pageViewTracked.complete())}trackPageView(nt){this.delegate.push(["trackPageView",nt]),this._pageViewTracked.next()}trackEvent(nt,Bn,_r,Jr){this.delegate.push(["trackEvent",nt,Bn,_r,Jr])}trackSiteSearch(nt,Bn,_r){this.delegate.push(["trackSiteSearch",nt,Bn,_r])}trackGoal(nt,Bn){this.delegate.push(["trackGoal",nt,Bn])}trackLink(nt,Bn){this.delegate.push(["trackLink",nt,Bn])}trackAllContentImpressions(){this.delegate.push(["trackAllContentImpressions"])}trackVisibleContentImpressions(nt,Bn){this.delegate.push(["trackVisibleContentImpressions",nt,Bn])}trackContentImpressionsWithinNode(nt){this.delegate.push(["trackContentImpressionsWithinNode",nt])}trackContentInteractionNode(nt,Bn){this.delegate.push(["trackContentInteractionNode",nt,Bn])}trackContentImpression(nt,Bn,_r){this.delegate.push(["trackContentImpression",nt,Bn,_r])}trackContentInteraction(nt,Bn,_r,Jr){this.delegate.push(["trackContentInteraction",nt,Bn,_r,Jr])}logAllContentBlocksOnPage(){this.delegate.push(["logAllContentBlocksOnPage"])}ping(){this.delegate.push(["ping"])}enableHeartBeatTimer(nt){this.delegate.push(["enableHeartBeatTimer",nt])}enableLinkTracking(nt=!1){this.delegate.push(["enableLinkTracking",nt])}disablePerformanceTracking(){this.delegate.push(["disablePerformanceTracking"])}enableCrossDomainLinking(){this.delegate.push(["enableCrossDomainLinking"])}setCrossDomainLinkingTimeout(nt){this.delegate.push(["setCrossDomainLinkingTimeout",nt])}getCrossDomainLinkingUrlParameter(){return this.delegate.get("getCrossDomainLinkingUrlParameter")}setDocumentTitle(nt){this.delegate.push(["setDocumentTitle",nt])}setDomains(nt){this.delegate.push(["setDomains",nt])}setCustomUrl(nt){this.delegate.push(["setCustomUrl",nt])}setReferrerUrl(nt){this.delegate.push(["setReferrerUrl",nt])}setSiteId(nt){this.delegate.push(["setSiteId",nt])}setApiUrl(nt){this.delegate.push(["setApiUrl",nt])}setTrackerUrl(nt){this.delegate.push(["setTrackerUrl",nt])}addTracker(nt,Bn){this.delegate.push(["addTracker",nt,Bn])}getMatomoUrl(){return this.delegate.get("getMatomoUrl")}getPiwikUrl(){return this.delegate.get("getPiwikUrl")}getCurrentUrl(){return this.delegate.get("getCurrentUrl")}setDownloadClasses(nt){this.delegate.push(["setDownloadClasses",nt])}setDownloadExtensions(nt){this.delegate.push(["setDownloadExtensions",nt])}addDownloadExtensions(nt){this.delegate.push(["addDownloadExtensions",nt])}removeDownloadExtensions(nt){this.delegate.push(["removeDownloadExtensions",nt])}setIgnoreClasses(nt){this.delegate.push(["setIgnoreClasses",nt])}setLinkClasses(nt){this.delegate.push(["setLinkClasses",nt])}setLinkTrackingTimer(nt){this.delegate.push(["setLinkTrackingTimer",nt])}getLinkTrackingTimer(){return this.delegate.get("getLinkTrackingTimer")}discardHashTag(nt){this.delegate.push(["discardHashTag",nt])}setGenerationTimeMs(nt){this.delegate.push(["setGenerationTimeMs",nt])}setPagePerformanceTiming(nt,Bn,_r,Jr,ti,ui){let _i;"object"==typeof nt&&nt?(_i=nt.networkTimeInMs,Bn=nt.serverTimeInMs,_r=nt.transferTimeInMs,Jr=nt.domProcessingTimeInMs,ti=nt.domCompletionTimeInMs,ui=nt.onloadTimeInMs):_i=nt,this.delegate.push(["setPagePerformanceTiming",_i,Bn,_r,Jr,ti,ui])}getCustomPagePerformanceTiming(){return this.delegate.get("getCustomPagePerformanceTiming")}appendToTrackingUrl(nt){this.delegate.push(["appendToTrackingUrl",nt])}setDoNotTrack(nt){this.delegate.push(["setDoNotTrack",nt])}killFrame(){this.delegate.push(["killFrame"])}redirectFile(nt){this.delegate.push(["redirectFile",nt])}setHeartBeatTimer(nt,Bn){this.delegate.push(["setHeartBeatTimer",nt,Bn])}getVisitorId(){return this.delegate.get("getVisitorId")}setVisitorId(nt){this.delegate.push(["setVisitorId",nt])}getVisitorInfo(){return this.delegate.get("getVisitorInfo")}getAttributionInfo(){return this.delegate.get("getAttributionInfo")}getAttributionCampaignName(){return this.delegate.get("getAttributionCampaignName")}getAttributionCampaignKeyword(){return this.delegate.get("getAttributionCampaignKeyword")}getAttributionReferrerTimestamp(){return this.delegate.get("getAttributionReferrerTimestamp")}getAttributionReferrerUrl(){return this.delegate.get("getAttributionReferrerUrl")}getUserId(){return this.delegate.get("getUserId")}setUserId(nt){this.delegate.push(["setUserId",nt])}resetUserId(){this.delegate.push(["resetUserId"])}setPageViewId(nt){this.delegate.push(["setPageViewId",nt])}getPageViewId(){return this.delegate.get("getPageViewId")}setCustomVariable(nt,Bn,_r,Jr){this.delegate.push(["setCustomVariable",nt,Bn,_r,Jr])}deleteCustomVariable(nt,Bn){this.delegate.push(["deleteCustomVariable",nt,Bn])}deleteCustomVariables(nt){this.delegate.push(["deleteCustomVariables",nt])}getCustomVariable(nt,Bn){return this.delegate.pushFn(_r=>_r.getCustomVariable(nt,Bn))}
1storeCustomVariablesInCookie(){this.delegate.push(["storeCustomVariablesInCookie"])}setCustomDimension(nt,Bn){this.delegate.push(["setCustomDimension",nt,Bn])}deleteCustomDimension(nt){this.delegate.push(["deleteCustomDimension",nt])}getCustomDimension(nt){return this.delegate.pushFn(Bn=>Bn.getCustomDimension(nt))}setCampaignNameKey(nt){this.delegate.push(["setCampaignNameKey",nt])}setCampaignKeywordKey(nt){this.delegate.push(["setCampaignKeywordKey",nt])}setConversionAttributionFirstReferrer(nt){this.delegate.push(["setConversionAttributionFirstReferrer",nt])}setEcommerceView(nt,Bn,_r,Jr){!function Ce(Lt){return"object"==typeof Lt&&1===Object.keys(Lt).length&&null!=Lt.productCategory}(nt)?function at(Lt){return"object"==typeof Lt&&"productSKU"in Lt}(nt)?this.delegate.push(["setEcommerceView",nt.productSKU,nt.productName,nt.productCategory,nt.price]):this.delegate.push(["setEcommerceView",nt,Bn,_r,Jr]):this.delegate.push(["setEcommerceView",!1,!1,nt.productCategory])}addEcommerceItem(nt,Bn,_r,Jr,ti){this.delegate.push("string"==typeof nt?["addEcommerceItem",nt,Bn,_r,Jr,ti]:["addEcommerceItem",nt.productSKU,nt.productName,nt.productCategory,nt.price,nt.quantity])}removeEcommerceItem(nt){this.delegate.push(["removeEcommerceItem",nt])}clearEcommerceCart(){this.delegate.push(["clearEcommerceCart"])}getEcommerceItems(){return this.delegate.get("getEcommerceItems")}trackEcommerceCartUpdate(nt){this.delegate.push(["trackEcommerceCartUpdate",nt])}trackEcommerceOrder(nt,Bn,_r,Jr,ti,ui){this.delegate.push(["trackEcommerceOrder",nt,Bn,_r,Jr,ti,ui])}requireConsent(){this.delegate.push(["requireConsent"])}setConsentGiven(){this.delegate.push(["setConsentGiven"])}rememberConsentGiven(nt){this.delegate.push(["rememberConsentGiven",nt])}forgetConsentGiven(){this.delegate.push(["forgetConsentGiven"])}hasRememberedConsent(){return this.delegate.get("hasRememberedConsent")}getRememberedConsent(){return this.delegate.get("getRememberedConsent")}isConsentRequired(){return this.delegate.get("isConsentRequired")}requireCookieConsent(){this.delegate.push(["requireCookieConsent"])}setCookieConsentGiven(){this.delegate.push(["setCookieConsentGiven"])}rememberCookieConsentGiven(nt){this.delegate.push(["rememberCookieConsentGiven",nt])}forgetCookieConsentGiven(){this.delegate.push(["forgetCookieConsentGiven"])}getRememberedCookieConsent(){return this.delegate.get("getRememberedCookieConsent")}areCookiesEnabled(){return this.delegate.get("areCookiesEnabled")}optUserOut(){this.delegate.push(["optUserOut"])}forgetUserOptOut(){this.delegate.push(["forgetUserOptOut"])}isUserOptedOut(){return this.delegate.get("isUserOptedOut")}disableCookies(){this.delegate.push(["disableCookies"])}deleteCookies(){this.delegate.push(["deleteCookies"])}hasCookies(){return this.delegate.get("hasCookies")}setCookieNamePrefix(nt){this.delegate.push(["setCookieNamePrefix",nt])}setCookieDomain(nt){this.delegate.push(["setCookieDomain",nt])}setCookiePath(nt){this.delegate.push(["setCookiePath",nt])}setSecureCookie(nt){this.delegate.push(["setSecureCookie",nt])}setCookieSameSite(nt){this.delegate.push(["setCookieSameSite",nt])}setVisitorCookieTimeout(nt){this.delegate.push(["setVisitorCookieTimeout",nt])}setReferralCookieTimeout(nt){this.delegate.push(["setReferralCookieTimeout",nt])}setSessionCookieTimeout(nt){this.delegate.push(["setSessionCookieTimeout",nt])}addListener(nt){this.delegate.push(["addListener",nt])}setRequestMethod(nt){this.delegate.push(["setRequestMethod",nt])}setCustomRequestProcessing(nt){this.delegate.push(["setCustomRequestProcessing",nt])}setRequestContentType(nt){this.delegate.push(["setRequestContentType",nt])}disableQueueRequest(){this.delegate.push(["disableQueueRequest"])}setRequestQueueInterval(nt){this.delegate.push(["setRequestQueueInterval",nt])}disableAlwaysUseSendBeacon(){this.delegate.push(["disableAlwaysUseSendBeacon"])}alwaysUseSendBeacon(){this.delegate.push(["alwaysUseSendBeacon"])}enableJSErrorTracking(){this.delegate.push(["enableJSErrorTracking"])}enableFileTracking(){this.delegate.push(["enableFileTracking"])}setExcludedReferrers(...nt){const Bn=nt.flat();this.delegate.push(["setExcludedReferrers",Bn])}getExcludedReferrers(){return this.delegate.get("getExcludedReferrers")}disableBrowserFeatureDetection(){this.delegate.push(["disableBrowserFeatureDetection"])}enableBrowserFeatureDetection(){this.delegate.push(["enableBrowserFeatureDetection"])}disableCampaignParameters(){this.delegate.push(["disableCampaignParameters"])}}return(Lt=rr).\u0275fac=function(nt){return new(nt||Lt)},Lt.\u0275prov=w.jDH({token:Lt,factory:Lt.\u0275fac,providedIn:"root"}),rr})();function ct(Lt){return`${Lt}`}function jt(Lt,rr){return null==rr?L(Lt)+jn:Lt+rr}const jn="matomo.php";class hr{initialize(){}init(){}initializeTracker(rr){}}let $r=(()=>{var Lt;class rr{constructor(){this.config=(0,w.WQX)(he),this.deferredConfig=(0,w.WQX)(Me),this.tracker=(0,w.WQX)(pt),this.scriptInjector=(0,w.WQX)(we),this.initialize=V(()=>{this.runPreInitTasks(),function We(Lt){return null==Lt.mode||"auto"===Lt.mode||Lt.mode===Pe.AUTO}(this.config)&&this.injectMatomoScript(this.config)},"Matomo has already been initialized"),this.injectMatomoScript=V(nt=>{if(function z(Lt){return Ae(Lt)||ce(Lt)}(nt)){const{scriptUrl:Bn}=nt,[_r,...Jr]=function pe(Lt){return ce(Lt)?Lt.trackers:[{trackerUrl:Lt.trackerUrl,siteId:Lt.siteId,trackerUrlSuffix:Lt.trackerUrlSuffix}]}(nt),ti=null!=Bn?Bn:L(_r.trackerUrl)+"matomo.js";this.registerMainTracker(_r),this.registerAdditionalTrackers(Jr),this.scriptInjector.injectDOMScript(ti)}else if(function k(Lt){return null!=Lt.scriptUrl&&!Ae(Lt)}(nt)){const{scriptUrl:Bn,trackers:_r}={trackers:[],...nt};this.registerAdditionalTrackers(_r),this.scriptInjector.injectDOMScript(Bn)}this.deferredConfig.markReady(nt)},"Matomo trackers have already been initialized"),ve()}init(){this.initialize()}initializeTracker(nt){this.injectMatomoScript(nt)}registerMainTracker(nt){const Bn=jt(nt.trackerUrl,nt.trackerUrlSuffix
1),_r=ct(nt.siteId);this.tracker.setTrackerUrl(Bn),this.tracker.setSiteId(_r)}registerAdditionalTrackers(nt){nt.forEach(({trackerUrl:Bn,siteId:_r,trackerUrlSuffix:Jr})=>{const ti=jt(Bn,Jr),ui=ct(_r);this.tracker.addTracker(ti,ui)})}runPreInitTasks(){this.config.acceptDoNotTrack&&this.tracker.setDoNotTrack(!0),"cookie"===this.config.requireConsent?this.tracker.requireCookieConsent():"tracking"===this.config.requireConsent&&this.tracker.requireConsent(),this.config.enableJSErrorTracking&&this.tracker.enableJSErrorTracking(),this.config.disableCampaignParameters&&this.tracker.disableCampaignParameters(),this.config.trackAppInitialLoad&&this.tracker.trackPageView(),this.config.enableLinkTracking&&this.tracker.enableLinkTracking("enable-pseudo"===this.config.enableLinkTracking)}}return(Lt=rr).\u0275fac=function(nt){return new(nt||Lt)},Lt.\u0275prov=w.jDH({token:Lt,factory:()=>function lr(){const Lt=(0,w.WQX)(he).disabled,rr=(0,s.UE)((0,w.WQX)(w.Agw));return Lt||!rr?new hr:new $r}(),providedIn:"root"}),rr})();const ur=Symbol("MATOMO_PROVIDERS"),Fn=Symbol("MATOMO_CHECKS");function cr(Lt,rr,Un){return{kind:Lt,[ur]:rr,[Fn]:Un}}function Yn(Lt,...rr){const Un=[{provide:w.Z63,multi:!0,useValue(){(0,w.WQX)($r).initialize()}}],nt=[];Un.push("function"==typeof Lt?{provide:ge,useFactory:Lt}:{provide:ge,useValue:Lt});for(const _r of rr)Un.push(..._r[ur]),nt.push(_r.kind);for(const _r of rr){var Bn;null===(Bn=_r[Fn])||void 0===Bn||Bn.call(_r,nt)}return(0,w.EmA)(Un)}},467:(wt,Se,u)=>{"use strict";function a(w,T,x,F,B,H,V){try{var L=w[H](V),U=L.value}catch(le){return void x(le)}L.done?T(U):Promise.resolve(U).then(F,B)}function s(w){return function(){var T=this,x=arguments;return new Promise(function(F,B){var H=w.apply(T,x);function V(U){a(H,F,B,V,L,"next",U)}function L(U){a(H,F,B,V,L,"throw",U)}V(void 0)})}}u.d(Se,{A:()=>s})},9842:(wt,Se,u)=>{"use strict";function a(x){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(F){return typeof F}:function(F){return F&&"function"==typeof Symbol&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F})(x)}function T(x,F,B){return(F=function w(x){var F=function s(x,F){if("object"!=a(x)||!x)return x;var B=x[Symbol.toPrimitive];if(void 0!==B){var H=B.call(x,F||"default");if("object"!=a(H))return H;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===F?String:Number)(x)}(x,"string");return"symbol"==a(F)?F:F+""}(F))in x?Object.defineProperty(x,F,{value:B,enumerable:!0,configurable:!0,writable:!0}):x[F]=B,x}u.d(Se,{A:()=>T})},1635:(wt,Se,u)=>{"use strict";function x(ee,$,se,Ce){var ct,at=arguments.length,pt=at<3?$:null===Ce?Ce=Object.getOwnPropertyDescriptor($,se):Ce;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)pt=Reflect.decorate(ee,$,se,Ce);else for(var jt=ee.length-1;jt>=0;jt--)(ct=ee[jt])&&(pt=(at<3?ct(pt):at>3?ct($,se,pt):ct($,se))||pt);return at>3&&pt&&Object.defineProperty($,se,pt),pt}function le(ee,$,se,Ce){return new(se||(se=Promise))(function(pt,ct){function jt(lr){try{mn(Ce.next(lr))}catch(hr){ct(hr)}}function jn(lr){try{mn(Ce.throw(lr))}catch(hr){ct(hr)}}function mn(lr){lr.done?pt(lr.value):function at(pt){return pt instanceof se?pt:new se(function(ct){ct(pt)})}(lr.value).then(jt,jn)}mn((Ce=Ce.apply(ee,$||[])).next())})}function $e(ee){return this instanceof $e?(this.v=ee,this):new $e(ee)}function Pe(ee,$,se){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var at,Ce=se.apply(ee,$||[]),pt=[];return at={},jt("next"),jt("throw"),jt("return",function ct(ur){return function(Fn){return Promise.resolve(Fn).then(ur,hr)}}),at[Symbol.asyncIterator]=function(){return this},at;function jt(ur,Fn){Ce[ur]&&(at[ur]=function(cr){return new Promise(function(Yn,Qn){pt.push([ur,cr,Yn,Qn])>1||jn(ur,cr)})},Fn&&(at[ur]=Fn(at[ur])))}function jn(ur,Fn){try{!function mn(ur){ur.value instanceof $e?Promise.resolve(ur.value.v).then(lr,hr):$r(pt[0][2],ur)}(Ce[ur](Fn))}catch(cr){$r(pt[0][3],cr)}}function lr(ur){jn("next",ur)}function hr(ur){jn("throw",ur)}function $r(ur,Fn){ur(Fn),pt.shift(),pt.length&&jn(pt[0][0],pt[0][1])}}function it(ee){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var se,$=ee[Symbol.asyncIterator];return $?$.call(ee):(ee=function ue(ee){var $="function"==typeof Symbol&&Symbol.iterator,se=$&&ee[$],Ce=0;if(se)return se.call(ee);if(ee&&"number"==typeof ee.length)return{next:function(){return ee&&Ce>=ee.length&&(ee=void 0),{value:ee&&ee[Ce++],done:!ee}}};throw new TypeError($?"Object is not iterable.":"Symbol.iterator is not defined.")}(ee),se={},Ce("next"),Ce("throw"),Ce("return"),se[Symbol.asyncIterator]=function(){return this},se);function Ce(pt){se[pt]=ee[pt]&&function(ct){return new Promise(function(jt,jn){!function at(pt,ct,jt,jn){Promise.resolve(jn).then(function(m
1n){pt({value:mn,done:jt})},ct)}(jt,jn,(ct=ee[pt](ct)).done,ct.value)})}}}u.d(Se,{AQ:()=>Pe,Cg:()=>x,N3:()=>$e,sH:()=>le,xN:()=>it}),"function"==typeof SuppressedError&&SuppressedError}},wt=>{wt(wt.s=7627)}]);
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.