From ab5276247fc3548105ee918cdf2d43e24e5088c6 Mon Sep 17 00:00:00 2001 From: Roland Seidel Date: Sat, 30 Mar 2024 17:55:34 +0100 Subject: [PATCH] optimize performance of registration teams route --- .../src/app/services/backend.service.ts | 2 +- src/main/resources/app/index.html | 2 +- .../resources/app/main.3ecdff4a68093fe9.js | 1 + .../resources/app/main.90253aff127136dc.js | 1 - .../ch/seidel/kutu/domain/TeamRegel.scala | 33 ++++++++------ .../scala/ch/seidel/kutu/domain/package.scala | 4 +- .../seidel/kutu/http/RegistrationRoutes.scala | 43 +++++++++++-------- 7 files changed, 51 insertions(+), 35 deletions(-) create mode 100644 src/main/resources/app/main.3ecdff4a68093fe9.js delete mode 100644 src/main/resources/app/main.90253aff127136dc.js diff --git a/newclient/resultcatcher/src/app/services/backend.service.ts b/newclient/resultcatcher/src/app/services/backend.service.ts index 23c45f84..27b21b25 100644 --- a/newclient/resultcatcher/src/app/services/backend.service.ts +++ b/newclient/resultcatcher/src/app/services/backend.service.ts @@ -733,7 +733,7 @@ export class BackendService extends WebsocketService { error: this.standardErrorHandler }); - return this.clubRegistrations; + return loader; } loadRegistrationSyncActions(): Observable { diff --git a/src/main/resources/app/index.html b/src/main/resources/app/index.html index ccfe0b50..267ddbdf 100644 --- a/src/main/resources/app/index.html +++ b/src/main/resources/app/index.html @@ -23,6 +23,6 @@ - + diff --git a/src/main/resources/app/main.3ecdff4a68093fe9.js b/src/main/resources/app/main.3ecdff4a68093fe9.js new file mode 100644 index 00000000..64b21ef9 --- /dev/null +++ b/src/main/resources/app/main.3ecdff4a68093fe9.js @@ -0,0 +1 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{2726:(ct,je,b)=>{"use strict";b.d(je,{Uw:()=>P,dV:()=>S,fo:()=>z});var o=b(5861);typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"&&global;var q=function(de){return de.Unimplemented="UNIMPLEMENTED",de.Unavailable="UNAVAILABLE",de}(q||{});class I extends Error{constructor(H,he,De){super(H),this.message=H,this.code=he,this.data=De}}const V=de=>{var H,he,De,Fe,qe;const Le=de.CapacitorCustomPlatform||null,Z=de.Capacitor||{},Y=Z.Plugins=Z.Plugins||{},fe=de.CapacitorPlatforms,Ve=(null===(H=fe?.currentPlatform)||void 0===H?void 0:H.getPlatform)||(()=>null!==Le?Le.name:(de=>{var H,he;return de?.androidBridge?"android":null!==(he=null===(H=de?.webkit)||void 0===H?void 0:H.messageHandlers)&&void 0!==he&&he.bridge?"ios":"web"})(de)),at=(null===(he=fe?.currentPlatform)||void 0===he?void 0:he.isNativePlatform)||(()=>"web"!==Ve()),ft=(null===(De=fe?.currentPlatform)||void 0===De?void 0:De.isPluginAvailable)||(pt=>{const mt=Xe.get(pt);return!(!mt?.platforms.has(Ve())&&!Ot(pt))}),Ot=(null===(Fe=fe?.currentPlatform)||void 0===Fe?void 0:Fe.getPluginHeader)||(pt=>{var mt;return null===(mt=Z.PluginHeaders)||void 0===mt?void 0:mt.find(Vt=>Vt.name===pt)}),Xe=new Map,ut=(null===(qe=fe?.currentPlatform)||void 0===qe?void 0:qe.registerPlugin)||((pt,mt={})=>{const Vt=Xe.get(pt);if(Vt)return console.warn(`Capacitor plugin "${pt}" already registered. Cannot register plugins twice.`),Vt.proxy;const At=Ve(),Lt=Ot(pt);let $t;const wn=function(){var Zt=(0,o.Z)(function*(){return!$t&&At in mt?$t=$t="function"==typeof mt[At]?yield mt[At]():mt[At]:null!==Le&&!$t&&"web"in mt&&($t=$t="function"==typeof mt.web?yield mt.web():mt.web),$t});return function(){return Zt.apply(this,arguments)}}(),Nt=Zt=>{let Xt;const Wt=(...Gt)=>{const Pn=wn().then(dt=>{const Cn=((Zt,Xt)=>{var Wt,Gt;if(!Lt){if(Zt)return null===(Gt=Zt[Xt])||void 0===Gt?void 0:Gt.bind(Zt);throw new I(`"${pt}" plugin is not implemented on ${At}`,q.Unimplemented)}{const Pn=Lt?.methods.find(dt=>Xt===dt.name);if(Pn)return"promise"===Pn.rtype?dt=>Z.nativePromise(pt,Xt.toString(),dt):(dt,Cn)=>Z.nativeCallback(pt,Xt.toString(),dt,Cn);if(Zt)return null===(Wt=Zt[Xt])||void 0===Wt?void 0:Wt.bind(Zt)}})(dt,Zt);if(Cn){const or=Cn(...Gt);return Xt=or?.remove,or}throw new I(`"${pt}.${Zt}()" is not implemented on ${At}`,q.Unimplemented)});return"addListener"===Zt&&(Pn.remove=(0,o.Z)(function*(){return Xt()})),Pn};return Wt.toString=()=>`${Zt.toString()}() { [capacitor code] }`,Object.defineProperty(Wt,"name",{value:Zt,writable:!1,configurable:!1}),Wt},jt=Nt("addListener"),Vn=Nt("removeListener"),Yn=(Zt,Xt)=>{const Wt=jt({eventName:Zt},Xt),Gt=function(){var dt=(0,o.Z)(function*(){const Cn=yield Wt;Vn({eventName:Zt,callbackId:Cn},Xt)});return function(){return dt.apply(this,arguments)}}(),Pn=new Promise(dt=>Wt.then(()=>dt({remove:Gt})));return Pn.remove=(0,o.Z)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield Gt()}),Pn},Rt=new Proxy({},{get(Zt,Xt){switch(Xt){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return Lt?Yn:jt;case"removeListener":return Vn;default:return Nt(Xt)}}});return Y[pt]=Rt,Xe.set(pt,{name:pt,proxy:Rt,platforms:new Set([...Object.keys(mt),...Lt?[At]:[]])}),Rt});return Z.convertFileSrc||(Z.convertFileSrc=pt=>pt),Z.getPlatform=Ve,Z.handleError=pt=>de.console.error(pt),Z.isNativePlatform=at,Z.isPluginAvailable=ft,Z.pluginMethodNoop=(pt,mt,Vt)=>Promise.reject(`${Vt} does not have an implementation of "${mt}".`),Z.registerPlugin=ut,Z.Exception=I,Z.DEBUG=!!Z.DEBUG,Z.isLoggingEnabled=!!Z.isLoggingEnabled,Z.platform=Z.getPlatform(),Z.isNative=Z.isNativePlatform(),Z},S=(de=>de.Capacitor=V(de))(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),z=S.registerPlugin;class P{constructor(H){this.listeners={},this.windowListeners={},H&&(console.warn(`Capacitor WebPlugin "${H.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=H)}addListener(H,he){var De=this;this.listeners[H]||(this.listeners[H]=[]),this.listeners[H].push(he);const qe=this.windowListeners[H];qe&&!qe.registered&&this.addWindowListener(qe);const Le=function(){var Y=(0,o.Z)(function*(){return De.removeListener(H,he)});return function(){return Y.apply(this,arguments)}}(),Z=Promise.resolve({remove:Le});return Object.defineProperty(Z,"remove",{value:(Y=(0,o.Z)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield Le()}),function(){return Y.apply(this,arguments)})}),Z;var Y}removeAllListeners(){var H=this;return(0,o.Z)(function*(){H.listeners={};for(const he in H.windowListeners)H.removeWindowListener(H.windowListeners[he]);H.windowListeners={}})()}notifyListeners(H,he){const De=this.listeners[H];De&&De.forEach(Fe=>Fe(he))}hasListeners(H){return!!this.listeners[H].length}registerWindowListener(H,he){this.windowListeners[he]={registered:!1,windowEventName:H,pluginEventName:he,handler:De=>{this.notifyListeners(he,De)}}}unimplemented(H="not implemented"){return new S.Exception(H,q.Unimplemented)}unavailable(H="not available"){return new S.Exception(H,q.Unavailable)}removeListener(H,he){var De=this;return(0,o.Z)(function*(){const Fe=De.listeners[H];if(!Fe)return;const qe=Fe.indexOf(he);De.listeners[H].splice(qe,1),De.listeners[H].length||De.removeWindowListener(De.windowListeners[H])})()}addWindowListener(H){window.addEventListener(H.windowEventName,H.handler),H.registered=!0}removeWindowListener(H){H&&(window.removeEventListener(H.windowEventName,H.handler),H.registered=!1)}}const ce=de=>encodeURIComponent(de).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),Ne=de=>de.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class ue extends P{getCookies(){return(0,o.Z)(function*(){const H=document.cookie,he={};return H.split(";").forEach(De=>{if(De.length<=0)return;let[Fe,qe]=De.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");Fe=Ne(Fe).trim(),qe=Ne(qe).trim(),he[Fe]=qe}),he})()}setCookie(H){return(0,o.Z)(function*(){try{const he=ce(H.key),De=ce(H.value),Fe=`; expires=${(H.expires||"").replace("expires=","")}`,qe=(H.path||"/").replace("path=",""),Le=null!=H.url&&H.url.length>0?`domain=${H.url}`:"";document.cookie=`${he}=${De||""}${Fe}; path=${qe}; ${Le};`}catch(he){return Promise.reject(he)}})()}deleteCookie(H){return(0,o.Z)(function*(){try{document.cookie=`${H.key}=; Max-Age=0`}catch(he){return Promise.reject(he)}})()}clearCookies(){return(0,o.Z)(function*(){try{const H=document.cookie.split(";")||[];for(const he of H)document.cookie=he.replace(/^ +/,"").replace(/=.*/,`=;expires=${(new Date).toUTCString()};path=/`)}catch(H){return Promise.reject(H)}})()}clearAllCookies(){var H=this;return(0,o.Z)(function*(){try{yield H.clearCookies()}catch(he){return Promise.reject(he)}})()}}z("CapacitorCookies",{web:()=>new ue});const Be=function(){var de=(0,o.Z)(function*(H){return new Promise((he,De)=>{const Fe=new FileReader;Fe.onload=()=>{const qe=Fe.result;he(qe.indexOf(",")>=0?qe.split(",")[1]:qe)},Fe.onerror=qe=>De(qe),Fe.readAsDataURL(H)})});return function(he){return de.apply(this,arguments)}}();class ge extends P{request(H){return(0,o.Z)(function*(){const he=((de,H={})=>{const he=Object.assign({method:de.method||"GET",headers:de.headers},H),Fe=((de={})=>{const H=Object.keys(de);return Object.keys(de).map(Fe=>Fe.toLocaleLowerCase()).reduce((Fe,qe,Le)=>(Fe[qe]=de[H[Le]],Fe),{})})(de.headers)["content-type"]||"";if("string"==typeof de.data)he.body=de.data;else if(Fe.includes("application/x-www-form-urlencoded")){const qe=new URLSearchParams;for(const[Le,Z]of Object.entries(de.data||{}))qe.set(Le,Z);he.body=qe.toString()}else if(Fe.includes("multipart/form-data")){const qe=new FormData;if(de.data instanceof FormData)de.data.forEach((Z,Y)=>{qe.append(Y,Z)});else for(const Z of Object.keys(de.data))qe.append(Z,de.data[Z]);he.body=qe;const Le=new Headers(he.headers);Le.delete("content-type"),he.headers=Le}else(Fe.includes("application/json")||"object"==typeof de.data)&&(he.body=JSON.stringify(de.data));return he})(H,H.webFetchExtra),De=((de,H=!0)=>de?Object.entries(de).reduce((De,Fe)=>{const[qe,Le]=Fe;let Z,Y;return Array.isArray(Le)?(Y="",Le.forEach(fe=>{Z=H?encodeURIComponent(fe):fe,Y+=`${qe}=${Z}&`}),Y.slice(0,-1)):(Z=H?encodeURIComponent(Le):Le,Y=`${qe}=${Z}`),`${De}&${Y}`},"").substr(1):null)(H.params,H.shouldEncodeUrlParams),Fe=De?`${H.url}?${De}`:H.url,qe=yield fetch(Fe,he),Le=qe.headers.get("content-type")||"";let Y,fe,{responseType:Z="text"}=qe.ok?H:{};switch(Le.includes("application/json")&&(Z="json"),Z){case"arraybuffer":case"blob":fe=yield qe.blob(),Y=yield Be(fe);break;case"json":Y=yield qe.json();break;default:Y=yield qe.text()}const ie={};return qe.headers.forEach((Ve,ke)=>{ie[ke]=Ve}),{data:Y,headers:ie,status:qe.status,url:qe.url}})()}get(H){var he=this;return(0,o.Z)(function*(){return he.request(Object.assign(Object.assign({},H),{method:"GET"}))})()}post(H){var he=this;return(0,o.Z)(function*(){return he.request(Object.assign(Object.assign({},H),{method:"POST"}))})()}put(H){var he=this;return(0,o.Z)(function*(){return he.request(Object.assign(Object.assign({},H),{method:"PUT"}))})()}patch(H){var he=this;return(0,o.Z)(function*(){return he.request(Object.assign(Object.assign({},H),{method:"PATCH"}))})()}delete(H){var he=this;return(0,o.Z)(function*(){return he.request(Object.assign(Object.assign({},H),{method:"DELETE"}))})()}}z("CapacitorHttp",{web:()=>new ge})},3630:(ct,je,b)=>{"use strict";b.d(je,{c:()=>ee,r:()=>V});const ee=(re,U)=>{re.componentOnReady?re.componentOnReady().then(ge=>U(ge)):V(()=>U(re))},V=re=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(re):"function"==typeof requestAnimationFrame?requestAnimationFrame(re):setTimeout(re)},191:(ct,je,b)=>{"use strict";b.d(je,{L:()=>o,a:()=>w,b:()=>ee,c:()=>ae,d:()=>R,g:()=>re});const o="ionViewWillEnter",w="ionViewDidEnter",ee="ionViewWillLeave",ae="ionViewDidLeave",R="ionViewWillUnload",re=U=>U.classList.contains("ion-page")?U:U.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||U},6410:(ct,je,b)=>{"use strict";b.d(je,{c:()=>k});var o=b(9938),w=b(839);let ee;const R=P=>P.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),O=P=>(void 0===ee&&(ee=void 0===P.style.animationName&&void 0!==P.style.webkitAnimationName?"-webkit-":""),ee),_=(P,ne,ce)=>{const Ne=ne.startsWith("animation")?O(P):"";P.style.setProperty(Ne+ne,ce)},q=(P,ne)=>{const ce=ne.startsWith("animation")?O(P):"";P.style.removeProperty(ce+ne)},V=[],D=(P=[],ne)=>{if(void 0!==ne){const ce=Array.isArray(ne)?ne:[ne];return[...P,...ce]}return P},k=P=>{let ne,ce,Ne,ue,_e,Be,se,Z,Y,fe,ie,yt,ft,we=[],re=[],U=[],ge=!1,de={},H=[],he=[],De={},Fe=0,qe=!1,Le=!1,Ve=!0,ke=!1,at=!0,bt=!1;const Ot=P,Ze=[],Oe=[],Xe=[],Ue=[],ut=[],pt=[],mt=[],Vt=[],At=[],Lt=[],$t=[],wn="function"==typeof AnimationEffect||void 0!==o.w&&"function"==typeof o.w.AnimationEffect,Kt="function"==typeof Element&&"function"==typeof Element.prototype.animate&&wn,jt=()=>$t,Xt=(oe,Ee)=>{const Pe=Ee.findIndex(et=>et.c===oe);Pe>-1&&Ee.splice(Pe,1)},Gt=(oe,Ee)=>((Ee?.oneTimeCallback?Oe:Ze).push({c:oe,o:Ee}),ft),dt=()=>{if(Kt)$t.forEach(oe=>{oe.cancel()}),$t.length=0;else{const oe=Ue.slice();(0,w.r)(()=>{oe.forEach(Ee=>{q(Ee,"animation-name"),q(Ee,"animation-duration"),q(Ee,"animation-timing-function"),q(Ee,"animation-iteration-count"),q(Ee,"animation-delay"),q(Ee,"animation-play-state"),q(Ee,"animation-fill-mode"),q(Ee,"animation-direction")})})}},Cn=()=>{pt.forEach(oe=>{oe?.parentNode&&oe.parentNode.removeChild(oe)}),pt.length=0},Ke=()=>void 0!==_e?_e:se?se.getFill():"both",$e=()=>void 0!==Y?Y:void 0!==Be?Be:se?se.getDirection():"normal",me=()=>qe?"linear":void 0!==Ne?Ne:se?se.getEasing():"linear",Me=()=>Le?0:void 0!==fe?fe:void 0!==ce?ce:se?se.getDuration():0,Je=()=>void 0!==ue?ue:se?se.getIterations():1,Et=()=>void 0!==ie?ie:void 0!==ne?ne:se?se.getDelay():0,xt=()=>{0!==Fe&&(Fe--,0===Fe&&((()=>{Qn(),At.forEach(Ge=>Ge()),Lt.forEach(Ge=>Ge());const oe=Ve?1:0,Ee=H,Pe=he,et=De;Ue.forEach(Ge=>{const nt=Ge.classList;Ee.forEach(u=>nt.add(u)),Pe.forEach(u=>nt.remove(u));for(const u in et)et.hasOwnProperty(u)&&_(Ge,u,et[u])}),Ze.forEach(Ge=>Ge.c(oe,ft)),Oe.forEach(Ge=>Ge.c(oe,ft)),Oe.length=0,at=!0,Ve&&(ke=!0),Ve=!0})(),se&&se.animationFinish()))},an=(oe=!0)=>{Cn();const Ee=(P=>(P.forEach(ne=>{for(const ce in ne)if(ne.hasOwnProperty(ce)){const Ne=ne[ce];if("easing"===ce)ne["animation-timing-function"]=Ne,delete ne[ce];else{const ue=R(ce);ue!==ce&&(ne[ue]=Ne,delete ne[ce])}}}),P))(we);Ue.forEach(Pe=>{if(Ee.length>0){const et=((P=[])=>P.map(ne=>{const ce=ne.offset,Ne=[];for(const ue in ne)ne.hasOwnProperty(ue)&&"offset"!==ue&&Ne.push(`${ue}: ${ne[ue]};`);return`${100*ce}% { ${Ne.join(" ")} }`}).join(" "))(Ee);yt=void 0!==P?P:(P=>{let ne=V.indexOf(P);return ne<0&&(ne=V.push(P)-1),`ion-animation-${ne}`})(et);const Ge=((P,ne,ce)=>{var Ne;const ue=(P=>{const ne=void 0!==P.getRootNode?P.getRootNode():P;return ne.head||ne})(ce),_e=O(ce),Be=ue.querySelector("#"+P);if(Be)return Be;const we=(null!==(Ne=ce.ownerDocument)&&void 0!==Ne?Ne:document).createElement("style");return we.id=P,we.textContent=`@${_e}keyframes ${P} { ${ne} } @${_e}keyframes ${P}-alt { ${ne} }`,ue.appendChild(we),we})(yt,et,Pe);pt.push(Ge),_(Pe,"animation-duration",`${Me()}ms`),_(Pe,"animation-timing-function",me()),_(Pe,"animation-delay",`${Et()}ms`),_(Pe,"animation-fill-mode",Ke()),_(Pe,"animation-direction",$e());const nt=Je()===1/0?"infinite":Je().toString();_(Pe,"animation-iteration-count",nt),_(Pe,"animation-play-state","paused"),oe&&_(Pe,"animation-name",`${Ge.id}-alt`),(0,w.r)(()=>{_(Pe,"animation-name",Ge.id||null)})}})},ln=(oe=!0)=>{(()=>{mt.forEach(et=>et()),Vt.forEach(et=>et());const oe=re,Ee=U,Pe=de;Ue.forEach(et=>{const Ge=et.classList;oe.forEach(nt=>Ge.add(nt)),Ee.forEach(nt=>Ge.remove(nt));for(const nt in Pe)Pe.hasOwnProperty(nt)&&_(et,nt,Pe[nt])})})(),we.length>0&&(Kt?(Ue.forEach(oe=>{const Ee=oe.animate(we,{id:Ot,delay:Et(),duration:Me(),easing:me(),iterations:Je(),fill:Ke(),direction:$e()});Ee.pause(),$t.push(Ee)}),$t.length>0&&($t[0].onfinish=()=>{xt()})):an(oe)),ge=!0},cn=oe=>{if(oe=Math.min(Math.max(oe,0),.9999),Kt)$t.forEach(Ee=>{Ee.currentTime=Ee.effect.getComputedTiming().delay+Me()*oe,Ee.pause()});else{const Ee=`-${Me()*oe}ms`;Ue.forEach(Pe=>{we.length>0&&(_(Pe,"animation-delay",Ee),_(Pe,"animation-play-state","paused"))})}},Ut=oe=>{$t.forEach(Ee=>{Ee.effect.updateTiming({delay:Et(),duration:Me(),easing:me(),iterations:Je(),fill:Ke(),direction:$e()})}),void 0!==oe&&cn(oe)},un=(oe=!0,Ee)=>{(0,w.r)(()=>{Ue.forEach(Pe=>{_(Pe,"animation-name",yt||null),_(Pe,"animation-duration",`${Me()}ms`),_(Pe,"animation-timing-function",me()),_(Pe,"animation-delay",void 0!==Ee?`-${Ee*Me()}ms`:`${Et()}ms`),_(Pe,"animation-fill-mode",Ke()||null),_(Pe,"animation-direction",$e()||null);const et=Je()===1/0?"infinite":Je().toString();_(Pe,"animation-iteration-count",et),oe&&_(Pe,"animation-name",`${yt}-alt`),(0,w.r)(()=>{_(Pe,"animation-name",yt||null)})})})},_t=(oe=!1,Ee=!0,Pe)=>(oe&&ut.forEach(et=>{et.update(oe,Ee,Pe)}),Kt?Ut(Pe):un(Ee,Pe),ft),pn=()=>{ge&&(Kt?$t.forEach(oe=>{oe.pause()}):Ue.forEach(oe=>{_(oe,"animation-play-state","paused")}),bt=!0)},nr=()=>{Z=void 0,xt()},Qn=()=>{Z&&clearTimeout(Z)},Mn=oe=>new Promise(Ee=>{oe?.sync&&(Le=!0,Gt(()=>Le=!1,{oneTimeCallback:!0})),ge||ln(),ke&&(Kt?(cn(0),Ut()):un(),ke=!1),at&&(Fe=ut.length+1,at=!1);const Pe=()=>{Xt(et,Oe),Ee()},et=()=>{Xt(Pe,Xe),Ee()};Gt(et,{oneTimeCallback:!0}),((oe,Ee)=>{Xe.push({c:oe,o:{oneTimeCallback:!0}})})(Pe),ut.forEach(Ge=>{Ge.play()}),Kt?($t.forEach(oe=>{oe.play()}),(0===we.length||0===Ue.length)&&xt()):(()=>{if(Qn(),(0,w.r)(()=>{Ue.forEach(oe=>{we.length>0&&_(oe,"animation-play-state","running")})}),0===we.length||0===Ue.length)xt();else{const oe=Et()||0,Ee=Me()||0,Pe=Je()||1;isFinite(Pe)&&(Z=setTimeout(nr,oe+Ee*Pe+100)),((P,ne)=>{let ce;const Ne={passive:!0},_e=Be=>{P===Be.target&&(ce&&ce(),Qn(),(0,w.r)(()=>{Ue.forEach(oe=>{q(oe,"animation-duration"),q(oe,"animation-delay"),q(oe,"animation-play-state")}),(0,w.r)(xt)}))};P&&(P.addEventListener("webkitAnimationEnd",_e,Ne),P.addEventListener("animationend",_e,Ne),ce=()=>{P.removeEventListener("webkitAnimationEnd",_e,Ne),P.removeEventListener("animationend",_e,Ne)})})(Ue[0])}})(),bt=!1}),te=(oe,Ee)=>{const Pe=we[0];return void 0===Pe||void 0!==Pe.offset&&0!==Pe.offset?we=[{offset:0,[oe]:Ee},...we]:Pe[oe]=Ee,ft};return ft={parentAnimation:se,elements:Ue,childAnimations:ut,id:Ot,animationFinish:xt,from:te,to:(oe,Ee)=>{const Pe=we[we.length-1];return void 0===Pe||void 0!==Pe.offset&&1!==Pe.offset?we=[...we,{offset:1,[oe]:Ee}]:Pe[oe]=Ee,ft},fromTo:(oe,Ee,Pe)=>te(oe,Ee).to(oe,Pe),parent:oe=>(se=oe,ft),play:Mn,pause:()=>(ut.forEach(oe=>{oe.pause()}),pn(),ft),stop:()=>{ut.forEach(oe=>{oe.stop()}),ge&&(dt(),ge=!1),qe=!1,Le=!1,at=!0,Y=void 0,fe=void 0,ie=void 0,Fe=0,ke=!1,Ve=!0,bt=!1,Xe.forEach(oe=>oe.c(0,ft)),Xe.length=0},destroy:oe=>(ut.forEach(Ee=>{Ee.destroy(oe)}),(oe=>{dt(),oe&&Cn()})(oe),Ue.length=0,ut.length=0,we.length=0,Ze.length=0,Oe.length=0,ge=!1,at=!0,ft),keyframes:oe=>{const Ee=we!==oe;return we=oe,Ee&&(oe=>{Kt?jt().forEach(Ee=>{const Pe=Ee.effect;if(Pe.setKeyframes)Pe.setKeyframes(oe);else{const et=new KeyframeEffect(Pe.target,oe,Pe.getTiming());Ee.effect=et}}):an()})(we),ft},addAnimation:oe=>{if(null!=oe)if(Array.isArray(oe))for(const Ee of oe)Ee.parent(ft),ut.push(Ee);else oe.parent(ft),ut.push(oe);return ft},addElement:oe=>{if(null!=oe)if(1===oe.nodeType)Ue.push(oe);else if(oe.length>=0)for(let Ee=0;Ee(_e=oe,_t(!0),ft),direction:oe=>(Be=oe,_t(!0),ft),iterations:oe=>(ue=oe,_t(!0),ft),duration:oe=>(!Kt&&0===oe&&(oe=1),ce=oe,_t(!0),ft),easing:oe=>(Ne=oe,_t(!0),ft),delay:oe=>(ne=oe,_t(!0),ft),getWebAnimations:jt,getKeyframes:()=>we,getFill:Ke,getDirection:$e,getDelay:Et,getIterations:Je,getEasing:me,getDuration:Me,afterAddRead:oe=>(At.push(oe),ft),afterAddWrite:oe=>(Lt.push(oe),ft),afterClearStyles:(oe=[])=>{for(const Ee of oe)De[Ee]="";return ft},afterStyles:(oe={})=>(De=oe,ft),afterRemoveClass:oe=>(he=D(he,oe),ft),afterAddClass:oe=>(H=D(H,oe),ft),beforeAddRead:oe=>(mt.push(oe),ft),beforeAddWrite:oe=>(Vt.push(oe),ft),beforeClearStyles:(oe=[])=>{for(const Ee of oe)de[Ee]="";return ft},beforeStyles:(oe={})=>(de=oe,ft),beforeRemoveClass:oe=>(U=D(U,oe),ft),beforeAddClass:oe=>(re=D(re,oe),ft),onFinish:Gt,isRunning:()=>0!==Fe&&!bt,progressStart:(oe=!1,Ee)=>(ut.forEach(Pe=>{Pe.progressStart(oe,Ee)}),pn(),qe=oe,ge||ln(),_t(!1,!0,Ee),ft),progressStep:oe=>(ut.forEach(Ee=>{Ee.progressStep(oe)}),cn(oe),ft),progressEnd:(oe,Ee,Pe)=>(qe=!1,ut.forEach(et=>{et.progressEnd(oe,Ee,Pe)}),void 0!==Pe&&(fe=Pe),ke=!1,Ve=!0,0===oe?(Y="reverse"===$e()?"normal":"reverse","reverse"===Y&&(Ve=!1),Kt?(_t(),cn(1-Ee)):(ie=(1-Ee)*Me()*-1,_t(!1,!1))):1===oe&&(Kt?(_t(),cn(Ee)):(ie=Ee*Me()*-1,_t(!1,!1))),void 0!==oe&&(Gt(()=>{fe=void 0,Y=void 0,ie=void 0},{oneTimeCallback:!0}),se||Mn()),ft)}}},3365:(ct,je,b)=>{"use strict";b.d(je,{E:()=>B,a:()=>o,s:()=>q});const o=V=>{try{if(V instanceof _)return V.value;if(!ae()||"string"!=typeof V||""===V)return V;if(V.includes("onload="))return"";const Q=document.createDocumentFragment(),S=document.createElement("div");Q.appendChild(S),S.innerHTML=V,O.forEach(P=>{const ne=Q.querySelectorAll(P);for(let ce=ne.length-1;ce>=0;ce--){const Ne=ne[ce];Ne.parentNode?Ne.parentNode.removeChild(Ne):Q.removeChild(Ne);const ue=ee(Ne);for(let _e=0;_e{if(V.nodeType&&1!==V.nodeType)return;if(typeof NamedNodeMap<"u"&&!(V.attributes instanceof NamedNodeMap))return void V.remove();for(let S=V.attributes.length-1;S>=0;S--){const z=V.attributes.item(S),D=z.name;if(!R.includes(D.toLowerCase())){V.removeAttribute(D);continue}const k=z.value,P=V[D];(null!=k&&k.toLowerCase().includes("javascript:")||null!=P&&P.toLowerCase().includes("javascript:"))&&V.removeAttribute(D)}const Q=ee(V);for(let S=0;Snull!=V.children?V.children:V.childNodes,ae=()=>{var V;const Q=window,S=null===(V=Q?.Ionic)||void 0===V?void 0:V.config;return!S||(S.get?S.get("sanitizerEnabled",!0):!0===S.sanitizerEnabled||void 0===S.sanitizerEnabled)},R=["class","id","href","src","name","slot"],O=["script","style","iframe","meta","link","object","embed"];class _{constructor(Q){this.value=Q}}const q=V=>{const Q=window,S=Q.Ionic;if(!S||!S.config||"Object"===S.config.constructor.name)return Q.Ionic=Q.Ionic||{},Q.Ionic.config=Object.assign(Object.assign({},Q.Ionic.config),V),Q.Ionic.config},B=!1},6559:(ct,je,b)=>{"use strict";b.d(je,{C:()=>R,a:()=>ee,d:()=>ae});var o=b(5861),w=b(839);const ee=function(){var O=(0,o.Z)(function*(_,q,I,B,V,Q){var S;if(_)return _.attachViewToDom(q,I,V,B);if(!(Q||"string"==typeof I||I instanceof HTMLElement))throw new Error("framework delegate is missing");const z="string"==typeof I?null===(S=q.ownerDocument)||void 0===S?void 0:S.createElement(I):I;return B&&B.forEach(D=>z.classList.add(D)),V&&Object.assign(z,V),q.appendChild(z),yield new Promise(D=>(0,w.c)(z,D)),z});return function(q,I,B,V,Q,S){return O.apply(this,arguments)}}(),ae=(O,_)=>{if(_){if(O)return O.removeViewFromDom(_.parentElement,_);_.remove()}return Promise.resolve()},R=()=>{let O,_;return{attachViewToDom:function(){var B=(0,o.Z)(function*(V,Q,S={},z=[]){var D,k;let P;if(O=V,Q){const ce="string"==typeof Q?null===(D=O.ownerDocument)||void 0===D?void 0:D.createElement(Q):Q;z.forEach(Ne=>ce.classList.add(Ne)),Object.assign(ce,S),O.appendChild(ce),P=ce,yield new Promise(Ne=>(0,w.c)(ce,Ne))}else if(O.children.length>0&&("ION-MODAL"===O.tagName||"ION-POPOVER"===O.tagName)&&!(P=O.children[0]).classList.contains("ion-delegate-host")){const Ne=null===(k=O.ownerDocument)||void 0===k?void 0:k.createElement("div");Ne.classList.add("ion-delegate-host"),z.forEach(ue=>Ne.classList.add(ue)),Ne.append(...O.children),O.appendChild(Ne),P=Ne}const ne=document.querySelector("ion-app")||document.body;return _=document.createComment("ionic teleport"),O.parentNode.insertBefore(_,O),ne.appendChild(O),P??O});return function(Q,S){return B.apply(this,arguments)}}(),removeViewFromDom:()=>(O&&_&&(_.parentNode.insertBefore(O,_),_.remove()),Promise.resolve())}}},619:(ct,je,b)=>{"use strict";b.d(je,{G:()=>R});class w{constructor(_,q,I,B,V){this.id=q,this.name=I,this.disableScroll=V,this.priority=1e6*B+q,this.ctrl=_}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 _=this.ctrl.capture(this.name,this.id,this.priority);return _&&this.disableScroll&&this.ctrl.disableScroll(this.id),_}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class ee{constructor(_,q,I,B){this.id=q,this.disable=I,this.disableScroll=B,this.ctrl=_}block(){if(this.ctrl){if(this.disable)for(const _ of this.disable)this.ctrl.disableGesture(_,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const _ of this.disable)this.ctrl.enableGesture(_,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const ae="backdrop-no-scroll",R=new class o{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(_){var q;return new w(this,this.newID(),_.name,null!==(q=_.priority)&&void 0!==q?q:0,!!_.disableScroll)}createBlocker(_={}){return new ee(this,this.newID(),_.disable,!!_.disableScroll)}start(_,q,I){return this.canStart(_)?(this.requestedStart.set(q,I),!0):(this.requestedStart.delete(q),!1)}capture(_,q,I){if(!this.start(_,q,I))return!1;const B=this.requestedStart;let V=-1e4;if(B.forEach(Q=>{V=Math.max(V,Q)}),V===I){this.capturedId=q,B.clear();const Q=new CustomEvent("ionGestureCaptured",{detail:{gestureName:_}});return document.dispatchEvent(Q),!0}return B.delete(q),!1}release(_){this.requestedStart.delete(_),this.capturedId===_&&(this.capturedId=void 0)}disableGesture(_,q){let I=this.disabledGestures.get(_);void 0===I&&(I=new Set,this.disabledGestures.set(_,I)),I.add(q)}enableGesture(_,q){const I=this.disabledGestures.get(_);void 0!==I&&I.delete(q)}disableScroll(_){this.disabledScroll.add(_),1===this.disabledScroll.size&&document.body.classList.add(ae)}enableScroll(_){this.disabledScroll.delete(_),0===this.disabledScroll.size&&document.body.classList.remove(ae)}canStart(_){return!(void 0!==this.capturedId||this.isDisabled(_))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(_){const q=this.disabledGestures.get(_);return!!(q&&q.size>0)}newID(){return this.gestureId++,this.gestureId}}},2124:(ct,je,b)=>{"use strict";b.r(je),b.d(je,{MENU_BACK_BUTTON_PRIORITY:()=>R,OVERLAY_BACK_BUTTON_PRIORITY:()=>ae,blockHardwareBackButton:()=>w,startHardwareBackButton:()=>ee});var o=b(5861);const w=()=>{document.addEventListener("backbutton",()=>{})},ee=()=>{const O=document;let _=!1;O.addEventListener("backbutton",()=>{if(_)return;let q=0,I=[];const B=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(S,z){I.push({priority:S,handler:z,id:q++})}}});O.dispatchEvent(B);const V=function(){var S=(0,o.Z)(function*(z){try{if(z?.handler){const D=z.handler(Q);null!=D&&(yield D)}}catch(D){console.error(D)}});return function(D){return S.apply(this,arguments)}}(),Q=()=>{if(I.length>0){let S={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};I.forEach(z=>{z.priority>=S.priority&&(S=z)}),_=!0,I=I.filter(z=>z.id!==S.id),V(S).then(()=>_=!1)}};Q()})},ae=100,R=99},839:(ct,je,b)=>{"use strict";b.d(je,{a:()=>q,b:()=>I,c:()=>ee,d:()=>k,e:()=>D,f:()=>z,g:()=>B,h:()=>S,i:()=>_,j:()=>_e,k:()=>R,l:()=>P,m:()=>ae,n:()=>Q,o:()=>ne,p:()=>ue,q:()=>Be,r:()=>V,s:()=>we,t:()=>o,u:()=>ce,v:()=>Ne});const o=(re,U=0)=>new Promise(ge=>{w(re,U,ge)}),w=(re,U=0,ge)=>{let se,de;const H={passive:!0},De=()=>{se&&se()},Fe=qe=>{(void 0===qe||re===qe.target)&&(De(),ge(qe))};return re&&(re.addEventListener("webkitTransitionEnd",Fe,H),re.addEventListener("transitionend",Fe,H),de=setTimeout(Fe,U+500),se=()=>{de&&(clearTimeout(de),de=void 0),re.removeEventListener("webkitTransitionEnd",Fe,H),re.removeEventListener("transitionend",Fe,H)}),De},ee=(re,U)=>{re.componentOnReady?re.componentOnReady().then(ge=>U(ge)):V(()=>U(re))},ae=re=>void 0!==re.componentOnReady,R=(re,U=[])=>{const ge={};return U.forEach(se=>{re.hasAttribute(se)&&(null!==re.getAttribute(se)&&(ge[se]=re.getAttribute(se)),re.removeAttribute(se))}),ge},O=["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"],_=(re,U)=>{let ge=O;return U&&U.length>0&&(ge=ge.filter(se=>!U.includes(se))),R(re,ge)},q=(re,U,ge,se)=>{var de;if(typeof window<"u"){const H=window,he=null===(de=H?.Ionic)||void 0===de?void 0:de.config;if(he){const De=he.get("_ael");if(De)return De(re,U,ge,se);if(he._ael)return he._ael(re,U,ge,se)}}return re.addEventListener(U,ge,se)},I=(re,U,ge,se)=>{var de;if(typeof window<"u"){const H=window,he=null===(de=H?.Ionic)||void 0===de?void 0:de.config;if(he){const De=he.get("_rel");if(De)return De(re,U,ge,se);if(he._rel)return he._rel(re,U,ge,se)}}return re.removeEventListener(U,ge,se)},B=(re,U=re)=>re.shadowRoot||U,V=re=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(re):"function"==typeof requestAnimationFrame?requestAnimationFrame(re):setTimeout(re),Q=re=>!!re.shadowRoot&&!!re.attachShadow,S=re=>{const U=re.closest("ion-item");return U?U.querySelector("ion-label"):null},z=re=>{if(re.focus(),re.classList.contains("ion-focusable")){const U=re.closest("ion-app");U&&U.setFocus([re])}},D=(re,U)=>{let ge;const se=re.getAttribute("aria-labelledby"),de=re.id;let H=null!==se&&""!==se.trim()?se:U+"-lbl",he=null!==se&&""!==se.trim()?document.getElementById(se):S(re);return he?(null===se&&(he.id=H),ge=he.textContent,he.setAttribute("aria-hidden","true")):""!==de.trim()&&(he=document.querySelector(`label[for="${de}"]`),he&&(""!==he.id?H=he.id:he.id=H=`${de}-lbl`,ge=he.textContent)),{label:he,labelId:H,labelText:ge}},k=(re,U,ge,se,de)=>{if(re||Q(U)){let H=U.querySelector("input.aux-input");H||(H=U.ownerDocument.createElement("input"),H.type="hidden",H.classList.add("aux-input"),U.appendChild(H)),H.disabled=de,H.name=ge,H.value=se||""}},P=(re,U,ge)=>Math.max(re,Math.min(U,ge)),ne=(re,U)=>{if(!re){const ge="ASSERT: "+U;throw console.error(ge),new Error(ge)}},ce=re=>re.timeStamp||Date.now(),Ne=re=>{if(re){const U=re.changedTouches;if(U&&U.length>0){const ge=U[0];return{x:ge.clientX,y:ge.clientY}}if(void 0!==re.pageX)return{x:re.pageX,y:re.pageY}}return{x:0,y:0}},ue=re=>{const U="rtl"===document.dir;switch(re){case"start":return U;case"end":return!U;default:throw new Error(`"${re}" is not a valid value for [side]. Use "start" or "end" instead.`)}},_e=(re,U)=>{const ge=re._original||re;return{_original:re,emit:Be(ge.emit.bind(ge),U)}},Be=(re,U=0)=>{let ge;return(...se)=>{clearTimeout(ge),ge=setTimeout(re,U,...se)}},we=(re,U)=>{if(re??(re={}),U??(U={}),re===U)return!0;const ge=Object.keys(re);if(ge.length!==Object.keys(U).length)return!1;for(const se of ge)if(!(se in U)||re[se]!==U[se])return!1;return!0}},6710:(ct,je,b)=>{"use strict";b.d(je,{a:()=>w,b:()=>ee,p:()=>o});const o=(ae,...R)=>console.warn(`[Ionic Warning]: ${ae}`,...R),w=(ae,...R)=>console.error(`[Ionic Error]: ${ae}`,...R),ee=(ae,...R)=>console.error(`<${ae.tagName.toLowerCase()}> must be used inside ${R.join(" or ")}.`)},9938:(ct,je,b)=>{"use strict";b.d(je,{d:()=>w,w:()=>o});const o=typeof window<"u"?window:void 0,w=typeof document<"u"?document:void 0},837:(ct,je,b)=>{"use strict";b.d(je,{m:()=>Q});var o=b(5861),w=b(6710),ee=b(2124),ae=b(839),R=b(3395),O=b(6410);const _=S=>(0,O.c)().duration(S?400:300),q=S=>{let z,D;const k=S.width+8,P=(0,O.c)(),ne=(0,O.c)();S.isEndSide?(z=k+"px",D="0px"):(z=-k+"px",D="0px"),P.addElement(S.menuInnerEl).fromTo("transform",`translateX(${z})`,`translateX(${D})`);const Ne="ios"===(0,R.b)(S),ue=Ne?.2:.25;return ne.addElement(S.backdropEl).fromTo("opacity",.01,ue),_(Ne).addAnimation([P,ne])},I=S=>{let z,D;const k=(0,R.b)(S),P=S.width;S.isEndSide?(z=-P+"px",D=P+"px"):(z=P+"px",D=-P+"px");const ne=(0,O.c)().addElement(S.menuInnerEl).fromTo("transform",`translateX(${D})`,"translateX(0px)"),ce=(0,O.c)().addElement(S.contentEl).fromTo("transform","translateX(0px)",`translateX(${z})`),Ne=(0,O.c)().addElement(S.backdropEl).fromTo("opacity",.01,.32);return _("ios"===k).addAnimation([ne,ce,Ne])},B=S=>{const z=(0,R.b)(S),D=S.width*(S.isEndSide?-1:1)+"px",k=(0,O.c)().addElement(S.contentEl).fromTo("transform","translateX(0px)",`translateX(${D})`);return _("ios"===z).addAnimation(k)},Q=(()=>{const S=new Map,z=[],D=function(){var Z=(0,o.Z)(function*(Y){const fe=yield _e(Y,!0);return!!fe&&fe.open()});return function(fe){return Z.apply(this,arguments)}}(),k=function(){var Z=(0,o.Z)(function*(Y){const fe=yield void 0!==Y?_e(Y,!0):Be();return void 0!==fe&&fe.close()});return function(fe){return Z.apply(this,arguments)}}(),P=function(){var Z=(0,o.Z)(function*(Y){const fe=yield _e(Y,!0);return!!fe&&fe.toggle()});return function(fe){return Z.apply(this,arguments)}}(),ne=function(){var Z=(0,o.Z)(function*(Y,fe){const ie=yield _e(fe);return ie&&(ie.disabled=!Y),ie});return function(fe,ie){return Z.apply(this,arguments)}}(),ce=function(){var Z=(0,o.Z)(function*(Y,fe){const ie=yield _e(fe);return ie&&(ie.swipeGesture=Y),ie});return function(fe,ie){return Z.apply(this,arguments)}}(),Ne=function(){var Z=(0,o.Z)(function*(Y){if(null!=Y){const fe=yield _e(Y);return void 0!==fe&&fe.isOpen()}return void 0!==(yield Be())});return function(fe){return Z.apply(this,arguments)}}(),ue=function(){var Z=(0,o.Z)(function*(Y){const fe=yield _e(Y);return!!fe&&!fe.disabled});return function(fe){return Z.apply(this,arguments)}}(),_e=function(){var Z=(0,o.Z)(function*(Y,fe=!1){if(yield Le(),"start"===Y||"end"===Y){const Ve=z.filter(at=>at.side===Y&&!at.disabled);if(Ve.length>=1)return Ve.length>1&&fe&&(0,w.p)(`menuController queried for a menu on the "${Y}" side, but ${Ve.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,Ve.map(at=>at.el)),Ve[0].el;const ke=z.filter(at=>at.side===Y);if(ke.length>=1)return ke.length>1&&fe&&(0,w.p)(`menuController queried for a menu on the "${Y}" side, but ${ke.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.`,ke.map(at=>at.el)),ke[0].el}else if(null!=Y)return qe(Ve=>Ve.menuId===Y);return qe(Ve=>!Ve.disabled)||(z.length>0?z[0].el:void 0)});return function(fe){return Z.apply(this,arguments)}}(),Be=function(){var Z=(0,o.Z)(function*(){return yield Le(),he()});return function(){return Z.apply(this,arguments)}}(),we=function(){var Z=(0,o.Z)(function*(){return yield Le(),De()});return function(){return Z.apply(this,arguments)}}(),re=function(){var Z=(0,o.Z)(function*(){return yield Le(),Fe()});return function(){return Z.apply(this,arguments)}}(),U=(Z,Y)=>{S.set(Z,Y)},de=function(){var Z=(0,o.Z)(function*(Y,fe,ie){if(Fe())return!1;if(fe){const Ve=yield Be();Ve&&Y.el!==Ve&&(yield Ve.setOpen(!1,!1))}return Y._setOpen(fe,ie)});return function(fe,ie,Ve){return Z.apply(this,arguments)}}(),he=()=>qe(Z=>Z._isOpen),De=()=>z.map(Z=>Z.el),Fe=()=>z.some(Z=>Z.isAnimating),qe=Z=>{const Y=z.find(Z);if(void 0!==Y)return Y.el},Le=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(Z=>new Promise(Y=>(0,ae.c)(Z,Y))));return U("reveal",B),U("push",I),U("overlay",q),typeof document<"u"&&document.addEventListener("ionBackButton",Z=>{const Y=he();Y&&Z.detail.register(ee.MENU_BACK_BUTTON_PRIORITY,()=>Y.close())}),{registerAnimation:U,get:_e,getMenus:we,getOpen:Be,isEnabled:ue,swipeGesture:ce,isAnimating:re,isOpen:Ne,enable:ne,toggle:P,close:k,open:D,_getOpenSync:he,_createAnimation:(Z,Y)=>{const fe=S.get(Z);if(!fe)throw new Error("animation not registered");return fe(Y)},_register:Z=>{z.indexOf(Z)<0&&z.push(Z)},_unregister:Z=>{const Y=z.indexOf(Z);Y>-1&&z.splice(Y,1)},_setOpen:de}})()},8411:(ct,je,b)=>{"use strict";b.d(je,{B:()=>V,H:()=>De,a:()=>hn,b:()=>Tn,c:()=>ke,d:()=>bt,e:()=>mr,f:()=>ft,g:()=>at,h:()=>H,i:()=>gr,j:()=>Q,r:()=>gt,w:()=>Mn});var o=b(5861);let ee,ae,R,O=!1,_=!1,q=!1,I=!1,B=!1;const V={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},Q=L=>{const te=new URL(L,_t.$resourcesUrl$);return te.origin!==Ut.location.origin?te.href:te.pathname},ce="s-id",Ne="sty-id",Be="http://www.w3.org/1999/xlink",we={},se=L=>"object"==(L=typeof L)||"function"===L;function de(L){var te,Se,Te;return null!==(Te=null===(Se=null===(te=L.head)||void 0===te?void 0:te.querySelector('meta[name="csp-nonce"]'))||void 0===Se?void 0:Se.getAttribute("content"))&&void 0!==Te?Te:void 0}const H=(L,te,...Se)=>{let Te=null,oe=null,Ee=null,Pe=!1,et=!1;const Ge=[],nt=j=>{for(let m=0;mj[m]).join(" "))}}if("function"==typeof L)return L(null===te?{}:te,Ge,qe);const u=he(L,null);return u.$attrs$=te,Ge.length>0&&(u.$children$=Ge),u.$key$=oe,u.$name$=Ee,u},he=(L,te)=>({$flags$:0,$tag$:L,$text$:te,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),De={},qe={forEach:(L,te)=>L.map(Le).forEach(te),map:(L,te)=>L.map(Le).map(te).map(Z)},Le=L=>({vattrs:L.$attrs$,vchildren:L.$children$,vkey:L.$key$,vname:L.$name$,vtag:L.$tag$,vtext:L.$text$}),Z=L=>{if("function"==typeof L.vtag){const Se=Object.assign({},L.vattrs);return L.vkey&&(Se.key=L.vkey),L.vname&&(Se.name=L.vname),H(L.vtag,Se,...L.vchildren||[])}const te=he(L.vtag,L.vtext);return te.$attrs$=L.vattrs,te.$children$=L.vchildren,te.$key$=L.vkey,te.$name$=L.vname,te},fe=(L,te,Se,Te,oe,Ee,Pe)=>{let et,Ge,nt,u;if(1===Ee.nodeType){for(et=Ee.getAttribute("c-id"),et&&(Ge=et.split("."),(Ge[0]===Pe||"0"===Ge[0])&&(nt={$flags$:0,$hostId$:Ge[0],$nodeId$:Ge[1],$depth$:Ge[2],$index$:Ge[3],$tag$:Ee.tagName.toLowerCase(),$elm$:Ee,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},te.push(nt),Ee.removeAttribute("c-id"),L.$children$||(L.$children$=[]),L.$children$[nt.$index$]=nt,L=nt,Te&&"0"===nt.$depth$&&(Te[nt.$index$]=nt.$elm$))),u=Ee.childNodes.length-1;u>=0;u--)fe(L,te,Se,Te,oe,Ee.childNodes[u],Pe);if(Ee.shadowRoot)for(u=Ee.shadowRoot.childNodes.length-1;u>=0;u--)fe(L,te,Se,Te,oe,Ee.shadowRoot.childNodes[u],Pe)}else if(8===Ee.nodeType)Ge=Ee.nodeValue.split("."),(Ge[1]===Pe||"0"===Ge[1])&&(et=Ge[0],nt={$flags$:0,$hostId$:Ge[1],$nodeId$:Ge[2],$depth$:Ge[3],$index$:Ge[4],$elm$:Ee,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===et?(nt.$elm$=Ee.nextSibling,nt.$elm$&&3===nt.$elm$.nodeType&&(nt.$text$=nt.$elm$.textContent,te.push(nt),Ee.remove(),L.$children$||(L.$children$=[]),L.$children$[nt.$index$]=nt,Te&&"0"===nt.$depth$&&(Te[nt.$index$]=nt.$elm$))):nt.$hostId$===Pe&&("s"===et?(nt.$tag$="slot",Ee["s-sn"]=Ge[5]?nt.$name$=Ge[5]:"",Ee["s-sr"]=!0,Te&&(nt.$elm$=un.createElement(nt.$tag$),nt.$name$&&nt.$elm$.setAttribute("name",nt.$name$),Ee.parentNode.insertBefore(nt.$elm$,Ee),Ee.remove(),"0"===nt.$depth$&&(Te[nt.$index$]=nt.$elm$)),Se.push(nt),L.$children$||(L.$children$=[]),L.$children$[nt.$index$]=nt):"r"===et&&(Te?Ee.remove():(oe["s-cr"]=Ee,Ee["s-cn"]=!0))));else if(L&&"style"===L.$tag$){const j=he(null,Ee.textContent);j.$elm$=Ee,j.$index$="0",L.$children$=[j]}},ie=(L,te)=>{if(1===L.nodeType){let Se=0;for(;Secn.push(L),at=L=>it(L).$modeName$,ft=L=>it(L).$hostElement$,bt=(L,te,Se)=>{const Te=ft(L);return{emit:oe=>Ot(Te,te,{bubbles:!!(4&Se),composed:!!(2&Se),cancelable:!!(1&Se),detail:oe})}},Ot=(L,te,Se)=>{const Te=_t.ce(te,Se);return L.dispatchEvent(Te),Te},Ze=new WeakMap,Oe=(L,te,Se)=>{let Te=ln.get(L);pn&&Se?(Te=Te||new CSSStyleSheet,"string"==typeof Te?Te=te:Te.replaceSync(te)):Te=te,ln.set(L,Te)},Xe=(L,te,Se)=>{var Te;const oe=ut(te,Se),Ee=ln.get(oe);if(L=11===L.nodeType?L:un,Ee)if("string"==typeof Ee){let et,Pe=Ze.get(L=L.head||L);if(Pe||Ze.set(L,Pe=new Set),!Pe.has(oe)){if(L.host&&(et=L.querySelector(`[${Ne}="${oe}"]`)))et.innerHTML=Ee;else{et=un.createElement("style"),et.innerHTML=Ee;const Ge=null!==(Te=_t.$nonce$)&&void 0!==Te?Te:de(un);null!=Ge&&et.setAttribute("nonce",Ge),L.insertBefore(et,L.querySelector("link"))}Pe&&Pe.add(oe)}}else L.adoptedStyleSheets.includes(Ee)||(L.adoptedStyleSheets=[...L.adoptedStyleSheets,Ee]);return oe},ut=(L,te)=>"sc-"+(te&&32&L.$flags$?L.$tagName$+"-"+te:L.$tagName$),pt=L=>L.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),mt=(L,te,Se,Te,oe,Ee)=>{if(Se!==Te){let Pe=sn(L,te),et=te.toLowerCase();if("class"===te){const Ge=L.classList,nt=At(Se),u=At(Te);Ge.remove(...nt.filter(j=>j&&!u.includes(j))),Ge.add(...u.filter(j=>j&&!nt.includes(j)))}else if("style"===te){for(const Ge in Se)(!Te||null==Te[Ge])&&(Ge.includes("-")?L.style.removeProperty(Ge):L.style[Ge]="");for(const Ge in Te)(!Se||Te[Ge]!==Se[Ge])&&(Ge.includes("-")?L.style.setProperty(Ge,Te[Ge]):L.style[Ge]=Te[Ge])}else if("key"!==te)if("ref"===te)Te&&Te(L);else if(Pe||"o"!==te[0]||"n"!==te[1]){const Ge=se(Te);if((Pe||Ge&&null!==Te)&&!oe)try{if(L.tagName.includes("-"))L[te]=Te;else{const u=Te??"";"list"===te?Pe=!1:(null==Se||L[te]!=u)&&(L[te]=u)}}catch{}let nt=!1;et!==(et=et.replace(/^xlink\:?/,""))&&(te=et,nt=!0),null==Te||!1===Te?(!1!==Te||""===L.getAttribute(te))&&(nt?L.removeAttributeNS(Be,te):L.removeAttribute(te)):(!Pe||4&Ee||oe)&&!Ge&&(Te=!0===Te?"":Te,nt?L.setAttributeNS(Be,te,Te):L.setAttribute(te,Te))}else te="-"===te[2]?te.slice(3):sn(Ut,et)?et.slice(2):et[2]+te.slice(3),Se&&_t.rel(L,te,Se,!1),Te&&_t.ael(L,te,Te,!1)}},Vt=/\s/,At=L=>L?L.split(Vt):[],Lt=(L,te,Se,Te)=>{const oe=11===te.$elm$.nodeType&&te.$elm$.host?te.$elm$.host:te.$elm$,Ee=L&&L.$attrs$||we,Pe=te.$attrs$||we;for(Te in Ee)Te in Pe||mt(oe,Te,Ee[Te],void 0,Se,te.$flags$);for(Te in Pe)mt(oe,Te,Ee[Te],Pe[Te],Se,te.$flags$)},$t=(L,te,Se,Te)=>{const oe=te.$children$[Se];let Pe,et,Ge,Ee=0;if(O||(q=!0,"slot"===oe.$tag$&&(ee&&Te.classList.add(ee+"-s"),oe.$flags$|=oe.$children$?2:1)),null!==oe.$text$)Pe=oe.$elm$=un.createTextNode(oe.$text$);else if(1&oe.$flags$)Pe=oe.$elm$=un.createTextNode("");else{if(I||(I="svg"===oe.$tag$),Pe=oe.$elm$=un.createElementNS(I?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&oe.$flags$?"slot-fb":oe.$tag$),I&&"foreignObject"===oe.$tag$&&(I=!1),Lt(null,oe,I),(L=>null!=L)(ee)&&Pe["s-si"]!==ee&&Pe.classList.add(Pe["s-si"]=ee),oe.$children$)for(Ee=0;Ee{_t.$flags$|=1;const Se=L.childNodes;for(let Te=Se.length-1;Te>=0;Te--){const oe=Se[Te];oe["s-hn"]!==R&&oe["s-ol"]&&(Rt(oe).insertBefore(oe,Yn(oe)),oe["s-ol"].remove(),oe["s-ol"]=void 0,q=!0),te&&wn(oe,te)}_t.$flags$&=-2},Kt=(L,te,Se,Te,oe,Ee)=>{let et,Pe=L["s-cr"]&&L["s-cr"].parentNode||L;for(Pe.shadowRoot&&Pe.tagName===R&&(Pe=Pe.shadowRoot);oe<=Ee;++oe)Te[oe]&&(et=$t(null,Se,oe,L),et&&(Te[oe].$elm$=et,Pe.insertBefore(et,Yn(te))))},Nt=(L,te,Se)=>{for(let Te=te;Te<=Se;++Te){const oe=L[Te];if(oe){const Ee=oe.$elm$;dt(oe),Ee&&(_=!0,Ee["s-ol"]?Ee["s-ol"].remove():wn(Ee,!0),Ee.remove())}}},Vn=(L,te)=>L.$tag$===te.$tag$&&("slot"===L.$tag$?L.$name$===te.$name$:L.$key$===te.$key$),Yn=L=>L&&L["s-ol"]||L,Rt=L=>(L["s-ol"]?L["s-ol"]:L).parentNode,Zt=(L,te)=>{const Se=te.$elm$=L.$elm$,Te=L.$children$,oe=te.$children$,Ee=te.$tag$,Pe=te.$text$;let et;null===Pe?(I="svg"===Ee||"foreignObject"!==Ee&&I,"slot"===Ee||Lt(L,te,I),null!==Te&&null!==oe?((L,te,Se,Te)=>{let Ae,Ft,oe=0,Ee=0,Pe=0,et=0,Ge=te.length-1,nt=te[0],u=te[Ge],j=Te.length-1,m=Te[0],X=Te[j];for(;oe<=Ge&&Ee<=j;)if(null==nt)nt=te[++oe];else if(null==u)u=te[--Ge];else if(null==m)m=Te[++Ee];else if(null==X)X=Te[--j];else if(Vn(nt,m))Zt(nt,m),nt=te[++oe],m=Te[++Ee];else if(Vn(u,X))Zt(u,X),u=te[--Ge],X=Te[--j];else if(Vn(nt,X))("slot"===nt.$tag$||"slot"===X.$tag$)&&wn(nt.$elm$.parentNode,!1),Zt(nt,X),L.insertBefore(nt.$elm$,u.$elm$.nextSibling),nt=te[++oe],X=Te[--j];else if(Vn(u,m))("slot"===nt.$tag$||"slot"===X.$tag$)&&wn(u.$elm$.parentNode,!1),Zt(u,m),L.insertBefore(u.$elm$,nt.$elm$),u=te[--Ge],m=Te[++Ee];else{for(Pe=-1,et=oe;et<=Ge;++et)if(te[et]&&null!==te[et].$key$&&te[et].$key$===m.$key$){Pe=et;break}Pe>=0?(Ft=te[Pe],Ft.$tag$!==m.$tag$?Ae=$t(te&&te[Ee],Se,Pe,L):(Zt(Ft,m),te[Pe]=void 0,Ae=Ft.$elm$),m=Te[++Ee]):(Ae=$t(te&&te[Ee],Se,Ee,L),m=Te[++Ee]),Ae&&Rt(nt.$elm$).insertBefore(Ae,Yn(nt.$elm$))}oe>Ge?Kt(L,null==Te[j+1]?null:Te[j+1].$elm$,Se,Te,Ee,j):Ee>j&&Nt(te,oe,Ge)})(Se,Te,te,oe):null!==oe?(null!==L.$text$&&(Se.textContent=""),Kt(Se,null,te,oe,0,oe.length-1)):null!==Te&&Nt(Te,0,Te.length-1),I&&"svg"===Ee&&(I=!1)):(et=Se["s-cr"])?et.parentNode.textContent=Pe:L.$text$!==Pe&&(Se.data=Pe)},Xt=L=>{const te=L.childNodes;for(const Se of te)if(1===Se.nodeType){if(Se["s-sr"]){const Te=Se["s-sn"];Se.hidden=!1;for(const oe of te)if(oe["s-hn"]!==Se["s-hn"]||""!==Te){if(1===oe.nodeType&&Te===oe.getAttribute("slot")){Se.hidden=!0;break}}else if(1===oe.nodeType||3===oe.nodeType&&""!==oe.textContent.trim()){Se.hidden=!0;break}}Xt(Se)}},Wt=[],Gt=L=>{let te,Se,Te;for(const oe of L.childNodes){if(oe["s-sr"]&&(te=oe["s-cr"])&&te.parentNode){Se=te.parentNode.childNodes;const Ee=oe["s-sn"];for(Te=Se.length-1;Te>=0;Te--)if(te=Se[Te],!te["s-cn"]&&!te["s-nr"]&&te["s-hn"]!==oe["s-hn"])if(Pn(te,Ee)){let Pe=Wt.find(et=>et.$nodeToRelocate$===te);_=!0,te["s-sn"]=te["s-sn"]||Ee,Pe?Pe.$slotRefNode$=oe:Wt.push({$slotRefNode$:oe,$nodeToRelocate$:te}),te["s-sr"]&&Wt.map(et=>{Pn(et.$nodeToRelocate$,te["s-sn"])&&(Pe=Wt.find(Ge=>Ge.$nodeToRelocate$===te),Pe&&!et.$slotRefNode$&&(et.$slotRefNode$=Pe.$slotRefNode$))})}else Wt.some(Pe=>Pe.$nodeToRelocate$===te)||Wt.push({$nodeToRelocate$:te})}1===oe.nodeType&&Gt(oe)}},Pn=(L,te)=>1===L.nodeType?null===L.getAttribute("slot")&&""===te||L.getAttribute("slot")===te:L["s-sn"]===te||""===te,dt=L=>{L.$attrs$&&L.$attrs$.ref&&L.$attrs$.ref(null),L.$children$&&L.$children$.map(dt)},or=(L,te)=>{te&&!L.$onRenderResolve$&&te["s-p"]&&te["s-p"].push(new Promise(Se=>L.$onRenderResolve$=Se))},Bt=(L,te)=>{if(L.$flags$|=16,!(4&L.$flags$))return or(L,L.$ancestorComponent$),Mn(()=>Wn(L,te));L.$flags$|=512},Wn=(L,te)=>{const Te=L.$lazyInstance$;let oe;return te&&(L.$flags$|=256,L.$queuedListeners$&&(L.$queuedListeners$.map(([Ee,Pe])=>Zn(Te,Ee,Pe)),L.$queuedListeners$=void 0),oe=Zn(Te,"componentWillLoad")),oe=In(oe,()=>Zn(Te,"componentWillRender")),In(oe,()=>yn(L,Te,te))},In=(L,te)=>Xn(L)?L.then(te):te(),Xn=L=>L instanceof Promise||L&&L.then&&"function"==typeof L.then,yn=function(){var L=(0,o.Z)(function*(te,Se,Te){var oe;const Ee=te.$hostElement$,et=Ee["s-rc"];Te&&(L=>{const te=L.$cmpMeta$,Se=L.$hostElement$,Te=te.$flags$,Ee=Xe(Se.shadowRoot?Se.shadowRoot:Se.getRootNode(),te,L.$modeName$);10&Te&&(Se["s-sc"]=Ee,Se.classList.add(Ee+"-h"),2&Te&&Se.classList.add(Ee+"-s"))})(te);Kn(te,Se,Ee,Te),et&&(et.map(nt=>nt()),Ee["s-rc"]=void 0);{const nt=null!==(oe=Ee["s-p"])&&void 0!==oe?oe:[],u=()=>bn(te);0===nt.length?u():(Promise.all(nt).then(u),te.$flags$|=4,nt.length=0)}});return function(Se,Te,oe){return L.apply(this,arguments)}}(),Kn=(L,te,Se,Te)=>{try{te=te.render&&te.render(),L.$flags$&=-17,L.$flags$|=2,((L,te,Se=!1)=>{const Te=L.$hostElement$,oe=L.$cmpMeta$,Ee=L.$vnode$||he(null,null),Pe=(L=>L&&L.$tag$===De)(te)?te:H(null,null,te);if(R=Te.tagName,oe.$attrsToReflect$&&(Pe.$attrs$=Pe.$attrs$||{},oe.$attrsToReflect$.map(([et,Ge])=>Pe.$attrs$[Ge]=Te[et])),Se&&Pe.$attrs$)for(const et of Object.keys(Pe.$attrs$))Te.hasAttribute(et)&&!["key","ref","style","class"].includes(et)&&(Pe.$attrs$[et]=Te[et]);if(Pe.$tag$=null,Pe.$flags$|=4,L.$vnode$=Pe,Pe.$elm$=Ee.$elm$=Te.shadowRoot||Te,ee=Te["s-sc"],ae=Te["s-cr"],O=0!=(1&oe.$flags$),_=!1,Zt(Ee,Pe),_t.$flags$|=1,q){Gt(Pe.$elm$);let et,Ge,nt,u,j,m,X=0;for(;X{const Se=L.$hostElement$,oe=L.$lazyInstance$,Ee=L.$ancestorComponent$;Zn(oe,"componentDidRender"),64&L.$flags$?Zn(oe,"componentDidUpdate"):(L.$flags$|=64,Er(Se),Zn(oe,"componentDidLoad"),L.$onReadyResolve$(Se),Ee||qn()),L.$onInstanceResolve$(Se),L.$onRenderResolve$&&(L.$onRenderResolve$(),L.$onRenderResolve$=void 0),512&L.$flags$&&lr(()=>Bt(L,!1)),L.$flags$&=-517},gr=L=>{{const te=it(L),Se=te.$hostElement$.isConnected;return Se&&2==(18&te.$flags$)&&Bt(te,!1),Se}},qn=L=>{Er(un.documentElement),lr(()=>Ot(Ut,"appload",{detail:{namespace:"ionic"}}))},Zn=(L,te,Se)=>{if(L&&L[te])try{return L[te](Se)}catch(Te){xt(Te)}},Er=L=>L.classList.add("hydrated"),me=(L,te,Se)=>{var Te;if(te.$members$){L.watchers&&(te.$watchers$=L.watchers);const oe=Object.entries(te.$members$),Ee=L.prototype;if(oe.map(([Pe,[et]])=>{31&et||2&Se&&32&et?Object.defineProperty(Ee,Pe,{get(){return((L,te)=>it(this).$instanceValues$.get(te))(0,Pe)},set(Ge){((L,te,Se,Te)=>{const oe=it(L),Ee=oe.$hostElement$,Pe=oe.$instanceValues$.get(te),et=oe.$flags$,Ge=oe.$lazyInstance$;Se=((L,te)=>null==L||se(L)?L:4&te?"false"!==L&&(""===L||!!L):2&te?parseFloat(L):1&te?String(L):L)(Se,Te.$members$[te][0]);const nt=Number.isNaN(Pe)&&Number.isNaN(Se);if((!(8&et)||void 0===Pe)&&Se!==Pe&&!nt&&(oe.$instanceValues$.set(te,Se),Ge)){if(Te.$watchers$&&128&et){const j=Te.$watchers$[te];j&&j.map(m=>{try{Ge[m](Se,Pe,te)}catch(X){xt(X,Ee)}})}2==(18&et)&&Bt(oe,!1)}})(this,Pe,Ge,te)},configurable:!0,enumerable:!0}):1&Se&&64&et&&Object.defineProperty(Ee,Pe,{value(...Ge){const nt=it(this);return nt.$onInstancePromise$.then(()=>nt.$lazyInstance$[Pe](...Ge))}})}),1&Se){const Pe=new Map;Ee.attributeChangedCallback=function(et,Ge,nt){_t.jmp(()=>{const u=Pe.get(et);if(this.hasOwnProperty(u))nt=this[u],delete this[u];else{if(Ee.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==nt)return;if(null==u){const j=it(this),m=j?.$flags$;if(!(8&m)&&128&m&&nt!==Ge){const X=j.$lazyInstance$,Ae=te.$watchers$[et];Ae?.forEach(Ft=>{null!=X[Ft]&&X[Ft].call(X,nt,Ge,et)})}return}}this[u]=(null!==nt||"boolean"!=typeof this[u])&&nt})},L.observedAttributes=Array.from(new Set([...Object.keys(null!==(Te=te.$watchers$)&&void 0!==Te?Te:{}),...oe.filter(([et,Ge])=>15&Ge[0]).map(([et,Ge])=>{const nt=Ge[1]||et;return Pe.set(nt,et),512&Ge[0]&&te.$attrsToReflect$.push([et,nt]),nt})]))}}return L},Me=function(){var L=(0,o.Z)(function*(te,Se,Te,oe){let Ee;if(!(32&Se.$flags$)){Se.$flags$|=32;{if(Ee=kn(Te),Ee.then){const nt=()=>{};Ee=yield Ee,nt()}Ee.isProxied||(Te.$watchers$=Ee.watchers,me(Ee,Te,2),Ee.isProxied=!0);const Ge=()=>{};Se.$flags$|=8;try{new Ee(Se)}catch(nt){xt(nt)}Se.$flags$&=-9,Se.$flags$|=128,Ge(),Je(Se.$lazyInstance$)}if(Ee.style){let Ge=Ee.style;"string"!=typeof Ge&&(Ge=Ge[Se.$modeName$=(L=>cn.map(te=>te(L)).find(te=>!!te))(te)]);const nt=ut(Te,Se.$modeName$);if(!ln.has(nt)){const u=()=>{};Oe(nt,Ge,!!(1&Te.$flags$)),u()}}}const Pe=Se.$ancestorComponent$,et=()=>Bt(Se,!0);Pe&&Pe["s-rc"]?Pe["s-rc"].push(et):et()});return function(Se,Te,oe,Ee){return L.apply(this,arguments)}}(),Je=L=>{Zn(L,"connectedCallback")},Tt=L=>{const te=L["s-cr"]=un.createComment("");te["s-cn"]=!0,L.insertBefore(te,L.firstChild)},en=L=>{Zn(L,"disconnectedCallback")},Jt=function(){var L=(0,o.Z)(function*(te){if(!(1&_t.$flags$)){const Se=it(te);Se.$rmListeners$&&(Se.$rmListeners$.map(Te=>Te()),Se.$rmListeners$=void 0),Se?.$lazyInstance$?en(Se.$lazyInstance$):Se?.$onReadyPromise$&&Se.$onReadyPromise$.then(()=>en(Se.$lazyInstance$))}});return function(Se){return L.apply(this,arguments)}}(),Tn=(L,te={})=>{var Se;const oe=[],Ee=te.exclude||[],Pe=Ut.customElements,et=un.head,Ge=et.querySelector("meta[charset]"),nt=un.createElement("style"),u=[],j=un.querySelectorAll(`[${Ne}]`);let m,X=!0,Ae=0;for(Object.assign(_t,te),_t.$resourcesUrl$=new URL(te.resourcesUrl||"./",un.baseURI).href,_t.$flags$|=2;Ae{Ft[1].map(Bn=>{var ir;const jn={$flags$:Bn[0],$tagName$:Bn[1],$members$:Bn[2],$listeners$:Bn[3]};jn.$members$=Bn[2],jn.$listeners$=Bn[3],jn.$attrsToReflect$=[],jn.$watchers$=null!==(ir=Bn[4])&&void 0!==ir?ir:{};const Sr=jn.$tagName$,wo=class extends HTMLElement{constructor(vr){super(vr),Dt(vr=this,jn),1&jn.$flags$&&vr.attachShadow({mode:"open",delegatesFocus:!!(16&jn.$flags$)})}connectedCallback(){m&&(clearTimeout(m),m=null),X?u.push(this):_t.jmp(()=>(L=>{if(!(1&_t.$flags$)){const te=it(L),Se=te.$cmpMeta$,Te=()=>{};if(1&te.$flags$)xn(L,te,Se.$listeners$),te?.$lazyInstance$?Je(te.$lazyInstance$):te?.$onReadyPromise$&&te.$onReadyPromise$.then(()=>Je(te.$lazyInstance$));else{let oe;if(te.$flags$|=1,oe=L.getAttribute(ce),oe){if(1&Se.$flags$){const Ee=Xe(L.shadowRoot,Se,L.getAttribute("s-mode"));L.classList.remove(Ee+"-h",Ee+"-s")}((L,te,Se,Te)=>{const Ee=L.shadowRoot,Pe=[],Ge=Ee?[]:null,nt=Te.$vnode$=he(te,null);_t.$orgLocNodes$||ie(un.body,_t.$orgLocNodes$=new Map),L[ce]=Se,L.removeAttribute(ce),fe(nt,Pe,[],Ge,L,L,Se),Pe.map(u=>{const j=u.$hostId$+"."+u.$nodeId$,m=_t.$orgLocNodes$.get(j),X=u.$elm$;m&&Jn&&""===m["s-en"]&&m.parentNode.insertBefore(X,m.nextSibling),Ee||(X["s-hn"]=te,m&&(X["s-ol"]=m,X["s-ol"]["s-nr"]=X)),_t.$orgLocNodes$.delete(j)}),Ee&&Ge.map(u=>{u&&Ee.appendChild(u)})})(L,Se.$tagName$,oe,te)}oe||12&Se.$flags$&&Tt(L);{let Ee=L;for(;Ee=Ee.parentNode||Ee.host;)if(1===Ee.nodeType&&Ee.hasAttribute("s-id")&&Ee["s-p"]||Ee["s-p"]){or(te,te.$ancestorComponent$=Ee);break}}Se.$members$&&Object.entries(Se.$members$).map(([Ee,[Pe]])=>{if(31&Pe&&L.hasOwnProperty(Ee)){const et=L[Ee];delete L[Ee],L[Ee]=et}}),Me(L,te,Se)}Te()}})(this))}disconnectedCallback(){_t.jmp(()=>Jt(this))}componentOnReady(){return it(this).$onReadyPromise$}};jn.$lazyBundleId$=Ft[0],!Ee.includes(Sr)&&!Pe.get(Sr)&&(oe.push(Sr),Pe.define(Sr,me(wo,jn,1)))})});{nt.innerHTML=oe+"{visibility:hidden}.hydrated{visibility:inherit}",nt.setAttribute("data-styles","");const Ft=null!==(Se=_t.$nonce$)&&void 0!==Se?Se:de(un);null!=Ft&&nt.setAttribute("nonce",Ft),et.insertBefore(nt,Ge?Ge.nextSibling:et.firstChild)}X=!1,u.length?u.map(Ft=>Ft.connectedCallback()):_t.jmp(()=>m=setTimeout(qn,30))},xn=(L,te,Se,Te)=>{Se&&Se.map(([oe,Ee,Pe])=>{const et=Re(L,oe),Ge=sr(te,Pe),nt=Ce(oe);_t.ael(et,Ee,Ge,nt),(te.$rmListeners$=te.$rmListeners$||[]).push(()=>_t.rel(et,Ee,Ge,nt))})},sr=(L,te)=>Se=>{try{256&L.$flags$?L.$lazyInstance$[te](Se):(L.$queuedListeners$=L.$queuedListeners$||[]).push([te,Se])}catch(Te){xt(Te)}},Re=(L,te)=>4&te?un:8&te?Ut:16&te?un.body:L,Ce=L=>0!=(2&L),Qe=new WeakMap,it=L=>Qe.get(L),gt=(L,te)=>Qe.set(te.$lazyInstance$=L,te),Dt=(L,te)=>{const Se={$flags$:0,$hostElement$:L,$cmpMeta$:te,$instanceValues$:new Map};return Se.$onInstancePromise$=new Promise(Te=>Se.$onInstanceResolve$=Te),Se.$onReadyPromise$=new Promise(Te=>Se.$onReadyResolve$=Te),L["s-p"]=[],L["s-rc"]=[],xn(L,Se,te.$listeners$),Qe.set(L,Se)},sn=(L,te)=>te in L,xt=(L,te)=>(0,console.error)(L,te),an=new Map,kn=(L,te,Se)=>{const Te=L.$tagName$.replace(/-/g,"_"),oe=L.$lazyBundleId$,Ee=an.get(oe);return Ee?Ee[Te]:b(863)(`./${oe}.entry.js`).then(Pe=>(an.set(oe,Pe),Pe[Te]),xt)},ln=new Map,cn=[],Ut=typeof window<"u"?window:{},un=Ut.document||{head:{}},_t={$flags$:0,$resourcesUrl$:"",jmp:L=>L(),raf:L=>requestAnimationFrame(L),ael:(L,te,Se,Te)=>L.addEventListener(te,Se,Te),rel:(L,te,Se,Te)=>L.removeEventListener(te,Se,Te),ce:(L,te)=>new CustomEvent(L,te)},hn=L=>{Object.assign(_t,L)},Jn=!0,pn=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Nn=[],nr=[],Qn=(L,te)=>Se=>{L.push(Se),B||(B=!0,te&&4&_t.$flags$?lr(wr):_t.raf(wr))},ar=L=>{for(let te=0;te{ar(Nn),ar(nr),(B=Nn.length>0)&&_t.raf(wr)},lr=L=>Promise.resolve(void 0).then(L),mr=Qn(Nn,!1),Mn=Qn(nr,!0)},2036:(ct,je,b)=>{"use strict";b.d(je,{b:()=>O,c:()=>_,d:()=>q,e:()=>re,g:()=>se,l:()=>Be,s:()=>U,t:()=>V,w:()=>we});var o=b(5861),w=b(8411),ee=b(839);const O="ionViewWillLeave",_="ionViewDidLeave",q="ionViewWillUnload",V=de=>new Promise((H,he)=>{(0,w.w)(()=>{Q(de),S(de).then(De=>{De.animation&&De.animation.destroy(),z(de),H(De)},De=>{z(de),he(De)})})}),Q=de=>{const H=de.enteringEl,he=de.leavingEl;ge(H,he,de.direction),de.showGoBack?H.classList.add("can-go-back"):H.classList.remove("can-go-back"),U(H,!1),H.style.setProperty("pointer-events","none"),he&&(U(he,!1),he.style.setProperty("pointer-events","none"))},S=function(){var de=(0,o.Z)(function*(H){const he=yield D(H);return he&&w.B.isBrowser?k(he,H):P(H)});return function(he){return de.apply(this,arguments)}}(),z=de=>{const H=de.enteringEl,he=de.leavingEl;H.classList.remove("ion-page-invisible"),H.style.removeProperty("pointer-events"),void 0!==he&&(he.classList.remove("ion-page-invisible"),he.style.removeProperty("pointer-events"))},D=function(){var de=(0,o.Z)(function*(H){return H.leavingEl&&H.animated&&0!==H.duration?H.animationBuilder?H.animationBuilder:"ios"===H.mode?(yield Promise.resolve().then(b.bind(b,5944))).iosTransitionAnimation:(yield Promise.resolve().then(b.bind(b,7561))).mdTransitionAnimation:void 0});return function(he){return de.apply(this,arguments)}}(),k=function(){var de=(0,o.Z)(function*(H,he){yield ne(he,!0);const De=H(he.baseEl,he);ue(he.enteringEl,he.leavingEl);const Fe=yield Ne(De,he);return he.progressCallback&&he.progressCallback(void 0),Fe&&_e(he.enteringEl,he.leavingEl),{hasCompleted:Fe,animation:De}});return function(he,De){return de.apply(this,arguments)}}(),P=function(){var de=(0,o.Z)(function*(H){const he=H.enteringEl,De=H.leavingEl;return yield ne(H,!1),ue(he,De),_e(he,De),{hasCompleted:!0}});return function(he){return de.apply(this,arguments)}}(),ne=function(){var de=(0,o.Z)(function*(H,he){(void 0!==H.deepWait?H.deepWait:he)&&(yield Promise.all([re(H.enteringEl),re(H.leavingEl)])),yield ce(H.viewIsReady,H.enteringEl)});return function(he,De){return de.apply(this,arguments)}}(),ce=function(){var de=(0,o.Z)(function*(H,he){H&&(yield H(he))});return function(he,De){return de.apply(this,arguments)}}(),Ne=(de,H)=>{const he=H.progressCallback,De=new Promise(Fe=>{de.onFinish(qe=>Fe(1===qe))});return he?(de.progressStart(!0),he(de)):de.play(),De},ue=(de,H)=>{Be(H,O),Be(de,"ionViewWillEnter")},_e=(de,H)=>{Be(de,"ionViewDidEnter"),Be(H,_)},Be=(de,H)=>{if(de){const he=new CustomEvent(H,{bubbles:!1,cancelable:!1});de.dispatchEvent(he)}},we=()=>new Promise(de=>(0,ee.r)(()=>(0,ee.r)(()=>de()))),re=function(){var de=(0,o.Z)(function*(H){const he=H;if(he){if(null!=he.componentOnReady){if(null!=(yield he.componentOnReady()))return}else if(null!=he.__registerHost)return void(yield new Promise(Fe=>(0,ee.r)(Fe)));yield Promise.all(Array.from(he.children).map(re))}});return function(he){return de.apply(this,arguments)}}(),U=(de,H)=>{H?(de.setAttribute("aria-hidden","true"),de.classList.add("ion-page-hidden")):(de.hidden=!1,de.removeAttribute("aria-hidden"),de.classList.remove("ion-page-hidden"))},ge=(de,H,he)=>{void 0!==de&&(de.style.zIndex="back"===he?"99":"101"),void 0!==H&&(H.style.zIndex="100")},se=de=>de.classList.contains("ion-page")?de:de.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||de},9203:(ct,je,b)=>{"use strict";b.r(je),b.d(je,{GESTURE_CONTROLLER:()=>o.G,createGesture:()=>I});var o=b(619);const w=(S,z,D,k)=>{const P=ee(S)?{capture:!!k.capture,passive:!!k.passive}:!!k.capture;let ne,ce;return S.__zone_symbol__addEventListener?(ne="__zone_symbol__addEventListener",ce="__zone_symbol__removeEventListener"):(ne="addEventListener",ce="removeEventListener"),S[ne](z,D,P),()=>{S[ce](z,D,P)}},ee=S=>{if(void 0===ae)try{const z=Object.defineProperty({},"passive",{get:()=>{ae=!0}});S.addEventListener("optsTest",()=>{},z)}catch{ae=!1}return!!ae};let ae;const _=S=>S instanceof Document?S:S.ownerDocument,I=S=>{let z=!1,D=!1,k=!0,P=!1;const ne=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},S),ce=ne.canStart,Ne=ne.onWillStart,ue=ne.onStart,_e=ne.onEnd,Be=ne.notCaptured,we=ne.onMove,re=ne.threshold,U=ne.passive,ge=ne.blurOnStart,se={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},de=((S,z,D)=>{const k=D*(Math.PI/180),P="x"===S,ne=Math.cos(k),ce=z*z;let Ne=0,ue=0,_e=!1,Be=0;return{start(we,re){Ne=we,ue=re,Be=0,_e=!0},detect(we,re){if(!_e)return!1;const U=we-Ne,ge=re-ue,se=U*U+ge*ge;if(sene?1:H<-ne?-1:0,_e=!1,!0},isGesture:()=>0!==Be,getDirection:()=>Be}})(ne.direction,ne.threshold,ne.maxAngle),H=o.G.createGesture({name:S.gestureName,priority:S.gesturePriority,disableScroll:S.disableScroll}),Fe=()=>{z&&(P=!1,we&&we(se))},qe=()=>!!H.capture()&&(z=!0,k=!1,se.startX=se.currentX,se.startY=se.currentY,se.startTime=se.currentTime,Ne?Ne(se).then(Z):Z(),!0),Z=()=>{ge&&(()=>{if(typeof document<"u"){const ke=document.activeElement;ke?.blur&&ke.blur()}})(),ue&&ue(se),k=!0},Y=()=>{z=!1,D=!1,P=!1,k=!0,H.release()},fe=ke=>{const at=z,yt=k;if(Y(),yt){if(B(se,ke),at)return void(_e&&_e(se));Be&&Be(se)}},ie=((S,z,D,k,P)=>{let ne,ce,Ne,ue,_e,Be,we,re=0;const U=Le=>{re=Date.now()+2e3,z(Le)&&(!ce&&D&&(ce=w(S,"touchmove",D,P)),Ne||(Ne=w(Le.target,"touchend",se,P)),ue||(ue=w(Le.target,"touchcancel",se,P)))},ge=Le=>{re>Date.now()||z(Le)&&(!Be&&D&&(Be=w(_(S),"mousemove",D,P)),we||(we=w(_(S),"mouseup",de,P)))},se=Le=>{H(),k&&k(Le)},de=Le=>{he(),k&&k(Le)},H=()=>{ce&&ce(),Ne&&Ne(),ue&&ue(),ce=Ne=ue=void 0},he=()=>{Be&&Be(),we&&we(),Be=we=void 0},De=()=>{H(),he()},Fe=(Le=!0)=>{Le?(ne||(ne=w(S,"touchstart",U,P)),_e||(_e=w(S,"mousedown",ge,P))):(ne&&ne(),_e&&_e(),ne=_e=void 0,De())};return{enable:Fe,stop:De,destroy:()=>{Fe(!1),k=D=z=void 0}}})(ne.el,ke=>{const at=Q(ke);return!(D||!k||(V(ke,se),se.startX=se.currentX,se.startY=se.currentY,se.startTime=se.currentTime=at,se.velocityX=se.velocityY=se.deltaX=se.deltaY=0,se.event=ke,ce&&!1===ce(se))||(H.release(),!H.start()))&&(D=!0,0===re?qe():(de.start(se.startX,se.startY),!0))},ke=>{z?!P&&k&&(P=!0,B(se,ke),requestAnimationFrame(Fe)):(B(se,ke),de.detect(se.currentX,se.currentY)&&(!de.isGesture()||!qe())&&Ve())},fe,{capture:!1,passive:U}),Ve=()=>{Y(),ie.stop(),Be&&Be(se)};return{enable(ke=!0){ke||(z&&fe(void 0),Y()),ie.enable(ke)},destroy(){H.destroy(),ie.destroy()}}},B=(S,z)=>{if(!z)return;const D=S.currentX,k=S.currentY,P=S.currentTime;V(z,S);const ne=S.currentX,ce=S.currentY,ue=(S.currentTime=Q(z))-P;if(ue>0&&ue<100){const Be=(ce-k)/ue;S.velocityX=(ne-D)/ue*.7+.3*S.velocityX,S.velocityY=.7*Be+.3*S.velocityY}S.deltaX=ne-S.startX,S.deltaY=ce-S.startY,S.event=z},V=(S,z)=>{let D=0,k=0;if(S){const P=S.changedTouches;if(P&&P.length>0){const ne=P[0];D=ne.clientX,k=ne.clientY}else void 0!==S.pageX&&(D=S.pageX,k=S.pageY)}z.currentX=D,z.currentY=k},Q=S=>S.timeStamp||Date.now()},3395:(ct,je,b)=>{"use strict";b.d(je,{a:()=>V,b:()=>Fe,c:()=>ee,i:()=>qe});var o=b(8411);class w{constructor(){this.m=new Map}reset(Z){this.m=new Map(Object.entries(Z))}get(Z,Y){const fe=this.m.get(Z);return void 0!==fe?fe:Y}getBoolean(Z,Y=!1){const fe=this.m.get(Z);return void 0===fe?Y:"string"==typeof fe?"true"===fe:!!fe}getNumber(Z,Y){const fe=parseFloat(this.m.get(Z));return isNaN(fe)?void 0!==Y?Y:NaN:fe}set(Z,Y){this.m.set(Z,Y)}}const ee=new w,q="ionic:",I="ionic-persist-config",V=(Le,Z)=>("string"==typeof Le&&(Z=Le,Le=void 0),(Le=>Q(Le))(Le).includes(Z)),Q=(Le=window)=>{if(typeof Le>"u")return[];Le.Ionic=Le.Ionic||{};let Z=Le.Ionic.platforms;return null==Z&&(Z=Le.Ionic.platforms=S(Le),Z.forEach(Y=>Le.document.documentElement.classList.add(`plt-${Y}`))),Z},S=Le=>{const Z=ee.get("platform");return Object.keys(he).filter(Y=>{const fe=Z?.[Y];return"function"==typeof fe?fe(Le):he[Y](Le)})},D=Le=>!!(de(Le,/iPad/i)||de(Le,/Macintosh/i)&&_e(Le)),ne=Le=>de(Le,/android|sink/i),_e=Le=>H(Le,"(any-pointer:coarse)"),we=Le=>re(Le)||U(Le),re=Le=>!!(Le.cordova||Le.phonegap||Le.PhoneGap),U=Le=>{const Z=Le.Capacitor;return!!Z?.isNative},de=(Le,Z)=>Z.test(Le.navigator.userAgent),H=(Le,Z)=>{var Y;return null===(Y=Le.matchMedia)||void 0===Y?void 0:Y.call(Le,Z).matches},he={ipad:D,iphone:Le=>de(Le,/iPhone/i),ios:Le=>de(Le,/iPhone|iPod/i)||D(Le),android:ne,phablet:Le=>{const Z=Le.innerWidth,Y=Le.innerHeight,fe=Math.min(Z,Y),ie=Math.max(Z,Y);return fe>390&&fe<520&&ie>620&&ie<800},tablet:Le=>{const Z=Le.innerWidth,Y=Le.innerHeight,fe=Math.min(Z,Y),ie=Math.max(Z,Y);return D(Le)||(Le=>ne(Le)&&!de(Le,/mobile/i))(Le)||fe>460&&fe<820&&ie>780&&ie<1400},cordova:re,capacitor:U,electron:Le=>de(Le,/electron/i),pwa:Le=>{var Z;return!!(null!==(Z=Le.matchMedia)&&void 0!==Z&&Z.call(Le,"(display-mode: standalone)").matches||Le.navigator.standalone)},mobile:_e,mobileweb:Le=>_e(Le)&&!we(Le),desktop:Le=>!_e(Le),hybrid:we};let De;const Fe=Le=>Le&&(0,o.g)(Le)||De,qe=(Le={})=>{if(typeof window>"u")return;const Z=window.document,Y=window,fe=Y.Ionic=Y.Ionic||{},ie={};Le._ael&&(ie.ael=Le._ael),Le._rel&&(ie.rel=Le._rel),Le._ce&&(ie.ce=Le._ce),(0,o.a)(ie);const Ve=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(Le=>{try{const Z=Le.sessionStorage.getItem(I);return null!==Z?JSON.parse(Z):{}}catch{return{}}})(Y)),{persistConfig:!1}),fe.config),(Le=>{const Z={};return Le.location.search.slice(1).split("&").map(Y=>Y.split("=")).map(([Y,fe])=>[decodeURIComponent(Y),decodeURIComponent(fe)]).filter(([Y])=>((Le,Z)=>Le.substr(0,Z.length)===Z)(Y,q)).map(([Y,fe])=>[Y.slice(6),fe]).forEach(([Y,fe])=>{Z[Y]=fe}),Z})(Y)),Le);ee.reset(Ve),ee.getBoolean("persistConfig")&&((Le,Z)=>{try{Le.sessionStorage.setItem(I,JSON.stringify(Z))}catch{return}})(Y,Ve),Q(Y),fe.config=ee,fe.mode=De=ee.get("mode",Z.documentElement.getAttribute("mode")||(V(Y,"ios")?"ios":"md")),ee.set("mode",De),Z.documentElement.setAttribute("mode",De),Z.documentElement.classList.add(De),ee.getBoolean("_testing")&&ee.set("animated",!1);const ke=yt=>{var ft;return null===(ft=yt.tagName)||void 0===ft?void 0:ft.startsWith("ION-")},at=yt=>["ios","md"].includes(yt);(0,o.c)(yt=>{for(;yt;){const ft=yt.mode||yt.getAttribute("mode");if(ft){if(at(ft))return ft;ke(yt)&&console.warn('Invalid ionic mode: "'+ft+'", expected: "ios" or "md"')}yt=yt.parentElement}return De})}},5944:(ct,je,b)=>{"use strict";b.r(je),b.d(je,{iosTransitionAnimation:()=>S,shadow:()=>_});var o=b(6410),w=b(2036);b(9938),b(8411);const O=D=>document.querySelector(`${D}.ion-cloned-element`),_=D=>D.shadowRoot||D,q=D=>{const k="ION-TABS"===D.tagName?D:D.querySelector("ion-tabs"),P="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=k){const ne=k.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=ne?ne.querySelector(P):null}return D.querySelector(P)},I=(D,k)=>{const P="ION-TABS"===D.tagName?D:D.querySelector("ion-tabs");let ne=[];if(null!=P){const ce=P.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=ce&&(ne=ce.querySelectorAll("ion-buttons"))}else ne=D.querySelectorAll("ion-buttons");for(const ce of ne){const Ne=ce.closest("ion-header"),ue=Ne&&!Ne.classList.contains("header-collapse-condense-inactive"),_e=ce.querySelector("ion-back-button"),Be=ce.classList.contains("buttons-collapse");if(null!==_e&&("start"===ce.slot||""===ce.slot)&&(Be&&ue&&k||!Be))return _e}return null},V=(D,k,P,ne,ce,Ne,ue,_e,Be)=>{var we,re;const U=k?`calc(100% - ${ce.right+4}px)`:ce.left-4+"px",ge=k?"right":"left",se=k?"left":"right",de=k?"right":"left",H=(null===(we=Ne.textContent)||void 0===we?void 0:we.trim())===(null===(re=_e.textContent)||void 0===re?void 0:re.trim()),De=(Be.height-z)/ue.height,Fe=H?`scale(${Be.width/ue.width}, ${De})`:`scale(${De})`,qe="scale(1)",Z=_(ne).querySelector("ion-icon").getBoundingClientRect(),Y=k?Z.width/2-(Z.right-ce.right)+"px":ce.left-Z.width/2+"px",fe=k?`-${window.innerWidth-ce.right}px`:`${ce.left}px`,ie=`${Be.top}px`,Ve=`${ce.top}px`,yt=P?[{offset:0,transform:`translate3d(${fe}, ${Ve}, 0)`},{offset:1,transform:`translate3d(${Y}, ${ie}, 0)`}]:[{offset:0,transform:`translate3d(${Y}, ${ie}, 0)`},{offset:1,transform:`translate3d(${fe}, ${Ve}, 0)`}],Ot=P?[{offset:0,opacity:1,transform:qe},{offset:1,opacity:0,transform:Fe}]:[{offset:0,opacity:0,transform:Fe},{offset:1,opacity:1,transform:qe}],Xe=P?[{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)"}],Ue=(0,o.c)(),ut=(0,o.c)(),pt=(0,o.c)(),mt=O("ion-back-button"),Vt=_(mt).querySelector(".button-text"),At=_(mt).querySelector("ion-icon");mt.text=ne.text,mt.mode=ne.mode,mt.icon=ne.icon,mt.color=ne.color,mt.disabled=ne.disabled,mt.style.setProperty("display","block"),mt.style.setProperty("position","fixed"),ut.addElement(At),Ue.addElement(Vt),pt.addElement(mt),pt.beforeStyles({position:"absolute",top:"0px",[de]:"0px"}).keyframes(yt),Ue.beforeStyles({"transform-origin":`${ge} top`}).beforeAddWrite(()=>{ne.style.setProperty("display","none"),mt.style.setProperty(ge,U)}).afterAddWrite(()=>{ne.style.setProperty("display",""),mt.style.setProperty("display","none"),mt.style.removeProperty(ge)}).keyframes(Ot),ut.beforeStyles({"transform-origin":`${se} center`}).keyframes(Xe),D.addAnimation([Ue,ut,pt])},Q=(D,k,P,ne,ce,Ne,ue,_e)=>{var Be,we;const re=k?"right":"left",U=k?`calc(100% - ${ce.right}px)`:`${ce.left}px`,se=`${ce.top}px`,H=k?`-${window.innerWidth-_e.right-8}px`:_e.x-8+"px",De=_e.y-2+"px",Fe=(null===(Be=ue.textContent)||void 0===Be?void 0:Be.trim())===(null===(we=ne.textContent)||void 0===we?void 0:we.trim()),Le=_e.height/(Ne.height-z),Z="scale(1)",Y=Fe?`scale(${_e.width/Ne.width}, ${Le})`:`scale(${Le})`,Ve=P?[{offset:0,opacity:0,transform:`translate3d(${H}, ${De}, 0) ${Y}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${se}, 0) ${Z}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${se}, 0) ${Z}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${H}, ${De}, 0) ${Y}`}],ke=O("ion-title"),at=(0,o.c)();ke.innerText=ne.innerText,ke.size=ne.size,ke.color=ne.color,at.addElement(ke),at.beforeStyles({"transform-origin":`${re} top`,height:`${ce.height}px`,display:"",position:"relative",[re]:U}).beforeAddWrite(()=>{ne.style.setProperty("opacity","0")}).afterAddWrite(()=>{ne.style.setProperty("opacity",""),ke.style.setProperty("display","none")}).keyframes(Ve),D.addAnimation(at)},S=(D,k)=>{var P;try{const ne="cubic-bezier(0.32,0.72,0,1)",ce="opacity",Ne="transform",ue="0%",Be="rtl"===D.ownerDocument.dir,we=Be?"-99.5%":"99.5%",re=Be?"33%":"-33%",U=k.enteringEl,ge=k.leavingEl,se="back"===k.direction,de=U.querySelector(":scope > ion-content"),H=U.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),he=U.querySelectorAll(":scope > ion-header > ion-toolbar"),De=(0,o.c)(),Fe=(0,o.c)();if(De.addElement(U).duration((null!==(P=k.duration)&&void 0!==P?P:0)||540).easing(k.easing||ne).fill("both").beforeRemoveClass("ion-page-invisible"),ge&&null!=D){const Y=(0,o.c)();Y.addElement(D),De.addAnimation(Y)}if(de||0!==he.length||0!==H.length?(Fe.addElement(de),Fe.addElement(H)):Fe.addElement(U.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),De.addAnimation(Fe),se?Fe.beforeClearStyles([ce]).fromTo("transform",`translateX(${re})`,`translateX(${ue})`).fromTo(ce,.8,1):Fe.beforeClearStyles([ce]).fromTo("transform",`translateX(${we})`,`translateX(${ue})`),de){const Y=_(de).querySelector(".transition-effect");if(Y){const fe=Y.querySelector(".transition-cover"),ie=Y.querySelector(".transition-shadow"),Ve=(0,o.c)(),ke=(0,o.c)(),at=(0,o.c)();Ve.addElement(Y).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),ke.addElement(fe).beforeClearStyles([ce]).fromTo(ce,0,.1),at.addElement(ie).beforeClearStyles([ce]).fromTo(ce,.03,.7),Ve.addAnimation([ke,at]),Fe.addAnimation([Ve])}}const qe=U.querySelector("ion-header.header-collapse-condense"),{forward:Le,backward:Z}=((D,k,P,ne,ce)=>{const Ne=I(ne,P),ue=q(ce),_e=q(ne),Be=I(ce,P),we=null!==Ne&&null!==ue&&!P,re=null!==_e&&null!==Be&&P;if(we){const U=ue.getBoundingClientRect(),ge=Ne.getBoundingClientRect(),se=_(Ne).querySelector(".button-text"),de=se.getBoundingClientRect(),he=_(ue).querySelector(".toolbar-title").getBoundingClientRect();Q(D,k,P,ue,U,he,se,de),V(D,k,P,Ne,ge,se,de,ue,he)}else if(re){const U=_e.getBoundingClientRect(),ge=Be.getBoundingClientRect(),se=_(Be).querySelector(".button-text"),de=se.getBoundingClientRect(),he=_(_e).querySelector(".toolbar-title").getBoundingClientRect();Q(D,k,P,_e,U,he,se,de),V(D,k,P,Be,ge,se,de,_e,he)}return{forward:we,backward:re}})(De,Be,se,U,ge);if(he.forEach(Y=>{const fe=(0,o.c)();fe.addElement(Y),De.addAnimation(fe);const ie=(0,o.c)();ie.addElement(Y.querySelector("ion-title"));const Ve=(0,o.c)(),ke=Array.from(Y.querySelectorAll("ion-buttons,[menuToggle]")),at=Y.closest("ion-header"),yt=at?.classList.contains("header-collapse-condense-inactive");let ft;ft=ke.filter(se?Xe=>{const Ue=Xe.classList.contains("buttons-collapse");return Ue&&!yt||!Ue}:Xe=>!Xe.classList.contains("buttons-collapse")),Ve.addElement(ft);const bt=(0,o.c)();bt.addElement(Y.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const Ot=(0,o.c)();Ot.addElement(_(Y).querySelector(".toolbar-background"));const Ze=(0,o.c)(),Oe=Y.querySelector("ion-back-button");if(Oe&&Ze.addElement(Oe),fe.addAnimation([ie,Ve,bt,Ot,Ze]),Ve.fromTo(ce,.01,1),bt.fromTo(ce,.01,1),se)yt||ie.fromTo("transform",`translateX(${re})`,`translateX(${ue})`).fromTo(ce,.01,1),bt.fromTo("transform",`translateX(${re})`,`translateX(${ue})`),Ze.fromTo(ce,.01,1);else if(qe||ie.fromTo("transform",`translateX(${we})`,`translateX(${ue})`).fromTo(ce,.01,1),bt.fromTo("transform",`translateX(${we})`,`translateX(${ue})`),Ot.beforeClearStyles([ce,"transform"]),at?.translucent?Ot.fromTo("transform",Be?"translateX(-100%)":"translateX(100%)","translateX(0px)"):Ot.fromTo(ce,.01,"var(--opacity)"),Le||Ze.fromTo(ce,.01,1),Oe&&!Le){const Ue=(0,o.c)();Ue.addElement(_(Oe).querySelector(".button-text")).fromTo("transform",Be?"translateX(-100px)":"translateX(100px)","translateX(0px)"),fe.addAnimation(Ue)}}),ge){const Y=(0,o.c)(),fe=ge.querySelector(":scope > ion-content"),ie=ge.querySelectorAll(":scope > ion-header > ion-toolbar"),Ve=ge.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(fe||0!==ie.length||0!==Ve.length?(Y.addElement(fe),Y.addElement(Ve)):Y.addElement(ge.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),De.addAnimation(Y),se){Y.beforeClearStyles([ce]).fromTo("transform",`translateX(${ue})`,Be?"translateX(-100%)":"translateX(100%)");const ke=(0,w.g)(ge);De.afterAddWrite(()=>{"normal"===De.getDirection()&&ke.style.setProperty("display","none")})}else Y.fromTo("transform",`translateX(${ue})`,`translateX(${re})`).fromTo(ce,1,.8);if(fe){const ke=_(fe).querySelector(".transition-effect");if(ke){const at=ke.querySelector(".transition-cover"),yt=ke.querySelector(".transition-shadow"),ft=(0,o.c)(),bt=(0,o.c)(),Ot=(0,o.c)();ft.addElement(ke).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),bt.addElement(at).beforeClearStyles([ce]).fromTo(ce,.1,0),Ot.addElement(yt).beforeClearStyles([ce]).fromTo(ce,.7,.03),ft.addAnimation([bt,Ot]),Y.addAnimation([ft])}}ie.forEach(ke=>{const at=(0,o.c)();at.addElement(ke);const yt=(0,o.c)();yt.addElement(ke.querySelector("ion-title"));const ft=(0,o.c)(),bt=ke.querySelectorAll("ion-buttons,[menuToggle]"),Ot=ke.closest("ion-header"),Ze=Ot?.classList.contains("header-collapse-condense-inactive"),Oe=Array.from(bt).filter(Vt=>{const At=Vt.classList.contains("buttons-collapse");return At&&!Ze||!At});ft.addElement(Oe);const Xe=(0,o.c)(),Ue=ke.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");Ue.length>0&&Xe.addElement(Ue);const ut=(0,o.c)();ut.addElement(_(ke).querySelector(".toolbar-background"));const pt=(0,o.c)(),mt=ke.querySelector("ion-back-button");if(mt&&pt.addElement(mt),at.addAnimation([yt,ft,Xe,pt,ut]),De.addAnimation(at),pt.fromTo(ce,.99,0),ft.fromTo(ce,.99,0),Xe.fromTo(ce,.99,0),se){if(Ze||yt.fromTo("transform",`translateX(${ue})`,Be?"translateX(-100%)":"translateX(100%)").fromTo(ce,.99,0),Xe.fromTo("transform",`translateX(${ue})`,Be?"translateX(-100%)":"translateX(100%)"),ut.beforeClearStyles([ce,"transform"]),Ot?.translucent?ut.fromTo("transform","translateX(0px)",Be?"translateX(-100%)":"translateX(100%)"):ut.fromTo(ce,"var(--opacity)",0),mt&&!Z){const At=(0,o.c)();At.addElement(_(mt).querySelector(".button-text")).fromTo("transform",`translateX(${ue})`,`translateX(${(Be?-124:124)+"px"})`),at.addAnimation(At)}}else Ze||yt.fromTo("transform",`translateX(${ue})`,`translateX(${re})`).fromTo(ce,.99,0).afterClearStyles([Ne,ce]),Xe.fromTo("transform",`translateX(${ue})`,`translateX(${re})`).afterClearStyles([Ne,ce]),pt.afterClearStyles([ce]),yt.afterClearStyles([ce]),ft.afterClearStyles([ce])})}return De}catch(ne){throw ne}},z=10},7561:(ct,je,b)=>{"use strict";b.r(je),b.d(je,{mdTransitionAnimation:()=>R});var o=b(6410),w=b(2036);b(9938),b(8411);const R=(O,_)=>{var q,I,B;const V="40px",S="back"===_.direction,D=_.leavingEl,k=(0,w.g)(_.enteringEl),P=k.querySelector("ion-toolbar"),ne=(0,o.c)();if(ne.addElement(k).fill("both").beforeRemoveClass("ion-page-invisible"),S?ne.duration((null!==(q=_.duration)&&void 0!==q?q:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):ne.duration((null!==(I=_.duration)&&void 0!==I?I:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${V})`,"translateY(0px)").fromTo("opacity",.01,1),P){const ce=(0,o.c)();ce.addElement(P),ne.addAnimation(ce)}if(D&&S){ne.duration((null!==(B=_.duration)&&void 0!==B?B:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const ce=(0,o.c)();ce.addElement((0,w.g)(D)).onFinish(Ne=>{1===Ne&&ce.elements.length>0&&ce.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${V})`).fromTo("opacity",1,0),ne.addAnimation(ce)}return ne}},3645:(ct,je,b)=>{"use strict";b.d(je,{B:()=>yt,G:()=>ft,a:()=>Q,b:()=>S,c:()=>P,d:()=>bt,e:()=>Ot,f:()=>Fe,g:()=>Le,h:()=>fe,i:()=>Ve,j:()=>ce,k:()=>Ne,n:()=>B,o:()=>Be,q:()=>he,s:()=>at});var o=b(5861),w=b(9938),ee=b(3395),ae=b(6559),R=b(2124),O=b(839),_=b(6710);let q=0,I=0;const B=new WeakMap,V=Ze=>({create:Oe=>ue(Ze,Oe),dismiss:(Oe,Xe,Ue)=>se(document,Oe,Xe,Ze,Ue),getTop:()=>(0,o.Z)(function*(){return he(document,Ze)})()}),Q=V("ion-alert"),S=V("ion-action-sheet"),P=V("ion-popover"),ce=Ze=>{typeof document<"u"&&ge(document);const Oe=q++;Ze.overlayIndex=Oe},Ne=Ze=>(Ze.hasAttribute("id")||(Ze.id="ion-overlay-"+ ++I),Ze.id),ue=(Ze,Oe)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(Ze).then(()=>{const Xe=document.createElement(Ze);return Xe.classList.add("overlay-hidden"),Object.assign(Xe,Object.assign(Object.assign({},Oe),{hasController:!0})),Z(document).appendChild(Xe),new Promise(Ue=>(0,O.c)(Xe,Ue))}):Promise.resolve(),_e='[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])',Be=(Ze,Oe)=>{let Xe=Ze.querySelector(_e);const Ue=Xe?.shadowRoot;Ue&&(Xe=Ue.querySelector(_e)||Xe),Xe?(0,O.f)(Xe):Oe.focus()},re=(Ze,Oe)=>{const Xe=Array.from(Ze.querySelectorAll(_e));let Ue=Xe.length>0?Xe[Xe.length-1]:null;const ut=Ue?.shadowRoot;ut&&(Ue=ut.querySelector(_e)||Ue),Ue?Ue.focus():Oe.focus()},ge=Ze=>{0===q&&(q=1,Ze.addEventListener("focus",Oe=>{((Ze,Oe)=>{const Xe=he(Oe,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),Ue=Ze.target;Xe&&Ue&&!Xe.classList.contains("ion-disable-focus-trap")&&(Xe.shadowRoot?(()=>{if(Xe.contains(Ue))Xe.lastFocus=Ue;else{const mt=Xe.lastFocus;Be(Xe,Xe),mt===Oe.activeElement&&re(Xe,Xe),Xe.lastFocus=Oe.activeElement}})():(()=>{if(Xe===Ue)Xe.lastFocus=void 0;else{const mt=(0,O.g)(Xe);if(!mt.contains(Ue))return;const Vt=mt.querySelector(".ion-overlay-wrapper");if(!Vt)return;if(Vt.contains(Ue)||Ue===mt.querySelector("ion-backdrop"))Xe.lastFocus=Ue;else{const At=Xe.lastFocus;Be(Vt,Xe),At===Oe.activeElement&&re(Vt,Xe),Xe.lastFocus=Oe.activeElement}}})())})(Oe,Ze)},!0),Ze.addEventListener("ionBackButton",Oe=>{const Xe=he(Ze);Xe?.backdropDismiss&&Oe.detail.register(R.OVERLAY_BACK_BUTTON_PRIORITY,()=>Xe.dismiss(void 0,yt))}),Ze.addEventListener("keydown",Oe=>{if("Escape"===Oe.key){const Xe=he(Ze);Xe?.backdropDismiss&&Xe.dismiss(void 0,yt)}}))},se=(Ze,Oe,Xe,Ue,ut)=>{const pt=he(Ze,Ue,ut);return pt?pt.dismiss(Oe,Xe):Promise.reject("overlay does not exist")},H=(Ze,Oe)=>((Ze,Oe)=>(void 0===Oe&&(Oe="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(Ze.querySelectorAll(Oe)).filter(Xe=>Xe.overlayIndex>0)))(Ze,Oe).filter(Xe=>!(Ze=>Ze.classList.contains("overlay-hidden"))(Xe)),he=(Ze,Oe,Xe)=>{const Ue=H(Ze,Oe);return void 0===Xe?Ue[Ue.length-1]:Ue.find(ut=>ut.id===Xe)},De=(Ze=!1)=>{const Xe=Z(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");Xe&&(Ze?Xe.setAttribute("aria-hidden","true"):Xe.removeAttribute("aria-hidden"))},Fe=function(){var Ze=(0,o.Z)(function*(Oe,Xe,Ue,ut,pt){var mt,Vt;if(Oe.presented)return;De(!0),Oe.presented=!0,Oe.willPresent.emit(),null===(mt=Oe.willPresentShorthand)||void 0===mt||mt.emit();const At=(0,ee.b)(Oe),Lt=Oe.enterAnimation?Oe.enterAnimation:ee.c.get(Xe,"ios"===At?Ue:ut);(yield Y(Oe,Lt,Oe.el,pt))&&(Oe.didPresent.emit(),null===(Vt=Oe.didPresentShorthand)||void 0===Vt||Vt.emit()),"ION-TOAST"!==Oe.el.tagName&&qe(Oe.el),Oe.keyboardClose&&(null===document.activeElement||!Oe.el.contains(document.activeElement))&&Oe.el.focus()});return function(Xe,Ue,ut,pt,mt){return Ze.apply(this,arguments)}}(),qe=function(){var Ze=(0,o.Z)(function*(Oe){let Xe=document.activeElement;if(!Xe)return;const Ue=Xe?.shadowRoot;Ue&&(Xe=Ue.querySelector(_e)||Xe),yield Oe.onDidDismiss(),Xe.focus()});return function(Xe){return Ze.apply(this,arguments)}}(),Le=function(){var Ze=(0,o.Z)(function*(Oe,Xe,Ue,ut,pt,mt,Vt){var At,Lt;if(!Oe.presented)return!1;void 0!==w.d&&1===H(w.d).length&&De(!1),Oe.presented=!1;try{Oe.el.style.setProperty("pointer-events","none"),Oe.willDismiss.emit({data:Xe,role:Ue}),null===(At=Oe.willDismissShorthand)||void 0===At||At.emit({data:Xe,role:Ue});const $t=(0,ee.b)(Oe),wn=Oe.leaveAnimation?Oe.leaveAnimation:ee.c.get(ut,"ios"===$t?pt:mt);Ue!==ft&&(yield Y(Oe,wn,Oe.el,Vt)),Oe.didDismiss.emit({data:Xe,role:Ue}),null===(Lt=Oe.didDismissShorthand)||void 0===Lt||Lt.emit({data:Xe,role:Ue}),B.delete(Oe),Oe.el.classList.add("overlay-hidden"),Oe.el.style.removeProperty("pointer-events"),void 0!==Oe.el.lastFocus&&(Oe.el.lastFocus=void 0)}catch($t){console.error($t)}return Oe.el.remove(),!0});return function(Xe,Ue,ut,pt,mt,Vt,At){return Ze.apply(this,arguments)}}(),Z=Ze=>Ze.querySelector("ion-app")||Ze.body,Y=function(){var Ze=(0,o.Z)(function*(Oe,Xe,Ue,ut){Ue.classList.remove("overlay-hidden");const mt=Xe(Oe.el,ut);(!Oe.animated||!ee.c.getBoolean("animated",!0))&&mt.duration(0),Oe.keyboardClose&&mt.beforeAddWrite(()=>{const At=Ue.ownerDocument.activeElement;At?.matches("input,ion-input, ion-textarea")&&At.blur()});const Vt=B.get(Oe)||[];return B.set(Oe,[...Vt,mt]),yield mt.play(),!0});return function(Xe,Ue,ut,pt){return Ze.apply(this,arguments)}}(),fe=(Ze,Oe)=>{let Xe;const Ue=new Promise(ut=>Xe=ut);return ie(Ze,Oe,ut=>{Xe(ut.detail)}),Ue},ie=(Ze,Oe,Xe)=>{const Ue=ut=>{(0,O.b)(Ze,Oe,Ue),Xe(ut)};(0,O.a)(Ze,Oe,Ue)},Ve=Ze=>"cancel"===Ze||Ze===yt,ke=Ze=>Ze(),at=(Ze,Oe)=>{if("function"==typeof Ze)return ee.c.get("_zoneGate",ke)(()=>{try{return Ze(Oe)}catch(Ue){throw Ue}})},yt="backdrop",ft="gesture",bt=Ze=>{let Xe,Oe=!1;const Ue=(0,ae.C)(),ut=(Vt=!1)=>{if(Xe&&!Vt)return{delegate:Xe,inline:Oe};const{el:At,hasController:Lt,delegate:$t}=Ze;return Oe=null!==At.parentNode&&!Lt,Xe=Oe?$t||Ue:$t,{inline:Oe,delegate:Xe}};return{attachViewToDom:function(){var Vt=(0,o.Z)(function*(At){const{delegate:Lt}=ut(!0);if(Lt)return yield Lt.attachViewToDom(Ze.el,At);const{hasController:$t}=Ze;if($t&&void 0!==At)throw new Error("framework delegate is missing");return null});return function(Lt){return Vt.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:Vt}=ut();Vt&&void 0!==Ze.el&&Vt.removeViewFromDom(Ze.el.parentElement,Ze.el)}}},Ot=()=>{let Ze;const Oe=()=>{Ze&&(Ze(),Ze=void 0)};return{addClickListener:(Ue,ut)=>{Oe();const pt=void 0!==ut?document.getElementById(ut):null;pt?Ze=((Vt,At)=>{const Lt=()=>{At.present()};return Vt.addEventListener("click",Lt),()=>{Vt.removeEventListener("click",Lt)}})(pt,Ue):(0,_.p)(`A trigger element with the ID "${ut}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,Ue)},removeClickListener:Oe}}},9253:(ct,je,b)=>{"use strict";b.d(je,{v:()=>Q});var o=b(5612),w=b(9862),ee=b(5619),ae=b(8645),R=b(2096),O=b(4664),_=b(3020),q=b(7398),I=b(76),B=b(2029),V=b(4414);let Q=(()=>{class S extends o.iw{http;loadingCtrl;get competition(){return this._competition}get durchgang(){return this._durchgang}get geraet(){return this._geraet}get step(){return this._step}set currentUserName(D){localStorage.setItem("current_username",D)}get currentUserName(){return localStorage.getItem("current_username")}constructor(D,k){super(),this.http=D,this.loadingCtrl=k,this.showMessage.subscribe(P=>{this.resetLoading(),this.lastMessageAck=P}),this.resetLoading()}get activeDurchgangList(){return this._activeDurchgangList}get authenticatedClubId(){return localStorage.getItem("auth_clubid")}extractCompetitionLabel(D){return void 0!==D?D.titel+", am "+(D.datum+"T").split("T")[0].split("-").reverse().join("-"):""}get competitionName(){return this.extractCompetitionLabel(this.currentCompetition())}currentCompetition(){if(!this.competition)return;const D=this.competitions?.filter(k=>k.uuid===this.competition);return 1===D?.length?D[0]:void 0}externalLoaderSubscription;loggedIn=!1;stationFreezed=!1;captionmode=!1;loadingInstance;competitions;competitionSubject=new ee.X([]);durchgaenge;geraete;geraeteSubject=new ee.X([]);steps;wertungen;wertungenSubject=new ee.X([]);newLastResults=new ee.X(void 0);_clubregistrations=[];clubRegistrations=new ee.X([]);clubTeams={};askForUsername=new ae.x;lastMessageAck;_competition=void 0;_durchgang=void 0;_geraet=void 0;_step=void 0;lastJWTChecked=0;wertungenLoading=!1;isInitializing=!1;_activeDurchgangList=[];durchgangStarted=new ee.X([]);wertungUpdated=new ae.x;getCurrentStation(){return localStorage.getItem("current_station")||this.competition+"/"+this.durchgang+"/"+this.geraet+"/"+this.step}resetLoading(){this.loadingInstance&&(this.loadingInstance.then(D=>D.dismiss()),this.loadingInstance=void 0)}startLoading(D,k){return this.resetLoading(),this.loadingInstance=this.loadingCtrl.create({message:D}),this.loadingInstance.then(P=>P.present()),k&&k.subscribe({next:()=>this.resetLoading(),error:P=>this.resetLoading()}),k}initWithQuery(D){this.isInitializing=!0;const k=new ee.X(!1);return D&&D.startsWith("c=")?(this._step=1,D.split("&").forEach(P=>{const[ne,ce]=P.split("=");switch(ne){case"s":this.currentUserName||this.askForUsername.next(this),localStorage.setItem("auth_token",ce),localStorage.removeItem("auth_clubid"),this.checkJWT(ce);const Ne=localStorage.getItem("current_station");Ne&&this.initWithQuery(Ne);break;case"c":this._competition=ce;break;case"ca":this._competition=void 0;break;case"d":this._durchgang=ce;break;case"st":this._step=parseInt(ce);break;case"g":this._geraet=parseInt(ce),localStorage.setItem("current_station",D),this.checkJWT(),this.stationFreezed=!0;break;case"rs":localStorage.setItem("auth_token",ce),this.unlock(),this.loggedIn=!0,console.log("club auth-token initialized");break;case"rid":localStorage.setItem("auth_clubid",ce),console.log("club id initialized",ce)}}),localStorage.removeItem("external_load"),this.startLoading("Bitte warten ..."),this._geraet?this.getCompetitions().pipe((0,O.w)(()=>this.loadDurchgaenge()),(0,O.w)(()=>this.loadGeraete()),(0,O.w)(()=>this.loadSteps()),(0,O.w)(()=>this.loadWertungen())).subscribe(P=>k.next(!0)):!this._competition||"undefined"===this._competition&&!localStorage.getItem("auth_clubid")?(console.log("initializing clubreg ..."),this.getClubRegistrations(this._competition).subscribe(P=>k.next(!0))):this._competition&&this.getCompetitions().pipe((0,O.w)(()=>this.loadDurchgaenge())).subscribe(P=>k.next(!0))):k.next(!0),k.subscribe(P=>{P&&(this.isInitializing=!1,this.resetLoading())}),k}standardErrorHandler=D=>{if(console.log(D),this.resetLoading(),this.wertungenLoading=!1,this.isInitializing=!1,401===D.status)localStorage.removeItem("auth_token"),this.loggedIn=!1,this.showMessage.next({msg:"Die Berechtigung zum erfassen von Wertungen ist abgelaufen.",type:"Berechtigung"});else if(404===D.status)this.loggedIn=!1,this.stationFreezed=!1,this.captionmode=!1,this._competition=void 0,this._durchgang=void 0,this._geraet=void 0,this._step=void 0,localStorage.removeItem("auth_token"),localStorage.removeItem("current_competition"),localStorage.removeItem("current_station"),localStorage.removeItem("auth_clubid"),this.showMessage.next({msg:"Die aktuele Einstellung ist nicht mehr g\xfcltig und wird zur\xfcckgesetzt.",type:"Einstellung"});else{const k={msg:""+D.statusText+"
"+D.message,type:D.name};(!this.lastMessageAck||this.lastMessageAck.msg!==k.msg)&&this.showMessage.next(k)}};checkJWT(D){if(D||(D=localStorage.getItem("auth_token")),!D)return void(this.loggedIn=!1);const P=(new Date).getTime()-36e5;(!D||D===localStorage.getItem("auth_token"))&&P{localStorage.setItem("auth_token",ne.headers.get("x-access-token")),this.loggedIn=!0,this.competitions&&0!==this.competitions.length?this._competition&&this.getDurchgaenge(this._competition):this.getCompetitions().subscribe(ce=>{this._competition&&this.getDurchgaenge(this._competition)})},error:ne=>{console.log(ne),401===ne.status?(localStorage.removeItem("auth_token"),this.loggedIn=!1,this.showMessage.next({msg:"Die Berechtigung ist abgelaufen. Bitte neu anmelden",type:"Berechtigung"})):this.standardErrorHandler(ne)}}),this.lastJWTChecked=(new Date).getTime())}saveClubRegistration(D,k){const P=this.startLoading("Vereins-Anmeldung wird gespeichert. Bitte warten ...",this.http.put(I.AC+"api/registrations/"+D+"/"+k.id,k).pipe((0,_.B)()));return P.subscribe({next:ne=>{this._clubregistrations=[...this._clubregistrations.filter(ce=>ce.id!=k.id),ne],this.clubRegistrations.next(this._clubregistrations)},error:this.standardErrorHandler}),P}saveClubRegistrationPW(D,k){const P=this.startLoading("Neues Password wird gespeichert. Bitte warten ...",this.http.put(I.AC+"api/registrations/"+D+"/"+k.id+"/pwchange",k).pipe((0,_.B)()));return P.subscribe({next:ne=>{this._clubregistrations=[...this._clubregistrations.filter(ce=>ce.id!=k.id),ne],this.clubRegistrations.next(this._clubregistrations)},error:this.standardErrorHandler}),P}createClubRegistration(D,k){const P=this.startLoading("Vereins-Anmeldung wird registriert. Bitte warten ...",this.http.post(I.AC+"api/registrations/"+D,k,{observe:"response"}).pipe((0,q.U)(ne=>(console.log(ne),localStorage.setItem("auth_token",ne.headers.get("x-access-token")),localStorage.setItem("auth_clubid",ne.body.id+""),this.loggedIn=!0,ne.body)),(0,_.B)()));return P.subscribe({next:ne=>{this._clubregistrations=[...this._clubregistrations,ne],this.clubRegistrations.next(this._clubregistrations)},error:this.standardErrorHandler}),P}deleteClubRegistration(D,k){const P=this.startLoading("Vereins-Anmeldung wird gel\xf6scht. Bitte warten ...",this.http.delete(I.AC+"api/registrations/"+D+"/"+k,{responseType:"text"}).pipe((0,_.B)()));return P.subscribe({next:ne=>{this.clublogout(),this._clubregistrations=this._clubregistrations.filter(ce=>ce.id!=k),this.clubRegistrations.next(this._clubregistrations)},error:this.standardErrorHandler}),P}loadWKPrograms(){const D=this.startLoading("Programmliste wird geladen. Bitte warten ...",this.http.get(I.AC+"api/competition/programmlist").pipe((0,_.B)()));return D.subscribe({error:this.standardErrorHandler}),D}loadProgramsForCompetition(D){const k=this.startLoading("Programmliste zum Wettkampf wird geladen. Bitte warten ...",this.http.get(I.AC+"api/registrations/"+D+"/programmlist").pipe((0,_.B)()));return k.subscribe({error:this.standardErrorHandler}),k}loadTeamsListForClub(D,k){const P="api/registrations/"+D+"/"+k+"/teams";if(this.clubTeams.path===P)return(0,R.of)(this.clubTeams.teams);const ne=this.startLoading("Teamliste zum Club wird geladen. Bitte warten ...",this.http.get(I.AC+P).pipe((0,_.B)()));return ne.subscribe({next:ce=>{this.clubTeams={path:P,teams:ce}},error:this.standardErrorHandler}),ne}loadAthletListForClub(D,k){const P=this.startLoading("Athletliste zum Club wird geladen. Bitte warten ...",this.http.get(I.AC+"api/registrations/"+D+"/"+k+"/athletlist").pipe((0,_.B)()));return P.subscribe({next:ne=>{},error:this.standardErrorHandler}),P}loadAthletRegistrations(D,k){const P=this.startLoading("Athletliste zum Club wird geladen. Bitte warten ...",this.http.get(I.AC+"api/registrations/"+D+"/"+k+"/athletes").pipe((0,_.B)()));return P.subscribe({error:this.standardErrorHandler}),P}createAthletRegistration(D,k,P){const ne=this.startLoading("Anmeldung wird gespeichert. Bitte warten ...",this.http.post(I.AC+"api/registrations/"+D+"/"+k+"/athletes",P).pipe((0,_.B)()));return ne.subscribe({error:this.standardErrorHandler}),ne}saveAthletRegistration(D,k,P){const ne=this.startLoading("Anmeldung wird gespeichert. Bitte warten ...",this.http.put(I.AC+"api/registrations/"+D+"/"+k+"/athletes/"+P.id,P).pipe((0,_.B)()));return ne.subscribe({error:this.standardErrorHandler}),ne}deleteAthletRegistration(D,k,P){const ne=this.startLoading("Anmeldung wird gespeichert. Bitte warten ...",this.http.delete(I.AC+"api/registrations/"+D+"/"+k+"/athletes/"+P.id,{responseType:"text"}).pipe((0,_.B)()));return ne.subscribe({error:this.standardErrorHandler}),ne}findCompetitionsByVerein(D){const k=this.startLoading("Es werden fr\xfchere Anmeldungen gesucht. Bitte warten ...",this.http.get(I.AC+"api/competition/byVerein/"+D).pipe((0,_.B)()));return k.subscribe({error:this.standardErrorHandler}),k}copyClubRegsFromCompetition(D,k,P){const ne=this.startLoading("Anmeldung wird gespeichert. Bitte warten ...",this.http.put(I.AC+"api/registrations/"+k+"/"+P+"/copyfrom",D,{responseType:"text"}).pipe((0,_.B)()));return ne.subscribe({error:this.standardErrorHandler}),ne}loadJudgeProgramDisziplinList(D){const k=this.startLoading("Athletliste zum Club wird geladen. Bitte warten ...",this.http.get(I.AC+"api/registrations/"+D+"/programmdisziplinlist").pipe((0,_.B)()));return k.subscribe({error:this.standardErrorHandler}),k}loadJudgeRegistrations(D,k){const P=this.startLoading("Wertungsrichter-Liste zum Club wird geladen. Bitte warten ...",this.http.get(I.AC+"api/registrations/"+D+"/"+k+"/judges").pipe((0,_.B)()));return P.subscribe({error:this.standardErrorHandler}),P}createJudgeRegistration(D,k,P){const ne=this.startLoading("Anmeldung wird gespeichert. Bitte warten ...",this.http.post(I.AC+"api/registrations/"+D+"/"+k+"/judges",P).pipe((0,_.B)()));return ne.subscribe({error:this.standardErrorHandler}),ne}saveJudgeRegistration(D,k,P){const ne=this.startLoading("Anmeldung wird gespeichert. Bitte warten ...",this.http.put(I.AC+"api/registrations/"+D+"/"+k+"/judges/"+P.id,P).pipe((0,_.B)()));return ne.subscribe({error:this.standardErrorHandler}),ne}deleteJudgeRegistration(D,k,P){const ne=this.startLoading("Anmeldung wird gespeichert. Bitte warten ...",this.http.delete(I.AC+"api/registrations/"+D+"/"+k+"/judges/"+P.id,{responseType:"text"}).pipe((0,_.B)()));return ne.subscribe({error:this.standardErrorHandler}),ne}clublogout(){this.logout()}utf8_to_b64(D){return window.btoa(unescape(encodeURIComponent(D)))}b64_to_utf8(D){return decodeURIComponent(escape(window.atob(D)))}clublist=[];getClubList(){if(this.clublist&&this.clublist.length>0)return(0,R.of)(this.clublist);const D=this.startLoading("Clubliste wird geladen. Bitte warten ...",this.http.get(I.AC+"api/registrations/clubnames").pipe((0,_.B)()));return D.subscribe({next:k=>{this.clublist=k},error:this.standardErrorHandler}),D}resetRegistration(D){const k=new w.WM,P=this.http.options(I.AC+"api/registrations/"+this._competition+"/"+D+"/loginreset",{observe:"response",headers:k.set("Host",I.AC),responseType:"text"}).pipe((0,_.B)());return this.startLoading("Mail f\xfcr Login-Reset wird versendet. Bitte warten ...",P)}clublogin(D,k){this.clublogout();const P=new w.WM,ne=this.startLoading("Login wird verarbeitet. Bitte warten ...",this.http.options(I.AC+"api/login",{observe:"response",headers:P.set("Authorization","Basic "+this.utf8_to_b64(`${D}:${k}`)),withCredentials:!0,responseType:"text"}).pipe((0,_.B)()));return ne.subscribe({next:ce=>{console.log(ce),localStorage.setItem("auth_token",ce.headers.get("x-access-token")),localStorage.setItem("auth_clubid",D),this.loggedIn=!0},error:ce=>{console.log(ce),this.clublogout(),this.resetLoading(),401===ce.status?(localStorage.setItem("auth_token",ce.headers.get("x-access-token")),this.loggedIn=!1):this.standardErrorHandler(ce)}}),ne}unlock(){localStorage.removeItem("current_station"),this.checkJWT(),this.stationFreezed=!1}logout(){localStorage.removeItem("auth_token"),localStorage.removeItem("auth_clubid"),this.loggedIn=!1,this.unlock()}getCompetitions(){const D=this.startLoading("Wettkampfliste wird geladen. Bitte warten ...",this.http.get(I.AC+"api/competition").pipe((0,_.B)()));return D.subscribe({next:k=>{this.competitions=k,this.competitionSubject.next(k)},error:this.standardErrorHandler}),D}getClubRegistrations(D){return this.checkJWT(),void 0!==this._clubregistrations&&this._competition===D||this.isInitializing||(this.durchgaenge=[],this.clubTeams={},this._clubregistrations=[],this.geraete=void 0,this.steps=void 0,this.wertungen=void 0,this._competition=D,this._durchgang=void 0,this._geraet=void 0,this._step=void 0),this.loadClubRegistrations()}loadClubRegistrations(){if(!this._competition||"undefined"===this._competition)return(0,R.of)([]);const D=this.startLoading("Clubanmeldungen werden geladen. Bitte warten ...",this.http.get(I.AC+"api/registrations/"+this._competition).pipe((0,_.B)()));return D.subscribe({next:k=>{localStorage.setItem("current_competition",this._competition),this._clubregistrations=k,this.clubRegistrations.next(k)},error:this.standardErrorHandler}),D}loadRegistrationSyncActions(){if(!this._competition||"undefined"===this._competition)return(0,R.of)([]);const D=this.startLoading("Pendente An-/Abmeldungen werden geladen. Bitte warten ...",this.http.get(I.AC+"api/registrations/"+this._competition+"/syncactions").pipe((0,_.B)()));return D.subscribe({error:this.standardErrorHandler}),D}resetCompetition(D){console.log("reset data"),this.durchgaenge=[],this.clubTeams={},this._clubregistrations=[],this.clubRegistrations.next([]),this.geraete=void 0,this.geraeteSubject.next([]),this.steps=void 0,this.wertungen=void 0,this.wertungenSubject.next([]),this._competition=D,this._durchgang=void 0,this._geraet=void 0,this._step=void 0}getDurchgaenge(D){return this.checkJWT(),void 0!==this.durchgaenge&&this._competition===D||this.isInitializing?(0,R.of)(this.durchgaenge||[]):(this.resetCompetition(D),this.loadDurchgaenge())}loadDurchgaenge(){if(!this._competition||"undefined"===this._competition)return(0,R.of)([]);const D=this.startLoading("Durchgangliste wird geladen. Bitte warten ...",this.http.get(I.AC+"api/durchgang/"+this._competition).pipe((0,_.B)())),k=this._durchgang;return D.subscribe({next:P=>{if(localStorage.setItem("current_competition",this._competition),this.durchgaenge=P,k){const ne=this.durchgaenge.filter(ce=>{const Ne=(0,o._5)(ce);return k===ce||k===Ne});1===ne.length&&(this._durchgang=ne[0])}},error:this.standardErrorHandler}),D}getGeraete(D,k){return void 0!==this.geraete&&this._competition===D&&this._durchgang===k||this.isInitializing?(0,R.of)(this.geraete||[]):(this.geraete=[],this.steps=void 0,this.wertungen=void 0,this._competition=D,this._durchgang=k,this._geraet=void 0,this._step=void 0,this.captionmode=!0,this.loadGeraete())}loadGeraete(){if(this.geraete=[],!this._competition||"undefined"===this._competition)return console.log("reusing geraetelist"),(0,R.of)([]);console.log("renewing geraetelist");let D="";D=this.captionmode&&this._durchgang&&"undefined"!==this._durchgang?I.AC+"api/durchgang/"+this._competition+"/"+(0,o.gT)(this._durchgang):I.AC+"api/durchgang/"+this._competition+"/geraete";const k=this.startLoading("Ger\xe4te zum Durchgang werden geladen. Bitte warten ...",this.http.get(D).pipe((0,_.B)()));return k.subscribe({next:P=>{this.geraete=P,this.geraeteSubject.next(this.geraete)},error:this.standardErrorHandler}),k}getSteps(D,k,P){if(void 0!==this.steps&&this._competition===D&&this._durchgang===k&&this._geraet===P||this.isInitializing)return(0,R.of)(this.steps||[]);this.steps=[],this.wertungen=void 0,this._competition=D,this._durchgang=k,this._geraet=P,this._step=void 0;const ne=this.loadSteps();return ne.subscribe({next:ce=>{this.steps=ce.map(Ne=>parseInt(Ne)),(void 0===this._step||this.steps.indexOf(this._step)<0)&&(this._step=this.steps[0],this.loadWertungen())},error:this.standardErrorHandler}),ne}loadSteps(){if(this.steps=[],!this._competition||"undefined"===this._competition||!this._durchgang||"undefined"===this._durchgang||void 0===this._geraet)return(0,R.of)([]);const D=this.startLoading("Stationen zum Ger\xe4t werden geladen. Bitte warten ...",this.http.get(I.AC+"api/durchgang/"+this._competition+"/"+(0,o.gT)(this._durchgang)+"/"+this._geraet).pipe((0,_.B)()));return D.subscribe({next:k=>{this.steps=k,this._step{this.wertungenLoading=!1,this._step!==D?this.loadWertungen():(this.wertungen=P,this.wertungenSubject.next(this.wertungen))},error:this.standardErrorHandler}),k}loadAthletWertungen(D,k){return this.activateNonCaptionMode(D),this.startLoading("Wertungen werden geladen. Bitte warten ...",this.http.get(I.AC+`api/athlet/${this._competition}/${k}`).pipe((0,_.B)()))}activateNonCaptionMode(D){return this._competition!==D||this.captionmode||!this.geraete||0===this.geraete.length||D&&!this.isWebsocketConnected()?(this.captionmode=!1,this._competition=D,this.disconnectWS(!0),this.initWebsocket(),this.loadGeraete()):(0,R.of)(this.geraete)}loadStartlist(D){return this._competition?this.startLoading("Teilnehmerliste wird geladen. Bitte warten ...",D?this.http.get(I.AC+"api/report/"+this._competition+"/startlist?q="+D).pipe((0,_.B)()):this.http.get(I.AC+"api/report/"+this._competition+"/startlist").pipe((0,_.B)())):(0,R.of)()}isMessageAck(D){return"MessageAck"===D.type}updateWertung(D,k,P,ne){const ce=ne.wettkampfUUID,Ne=new ae.x;return this.shouldConnectAgain()&&this.reconnect(),this.startLoading("Wertung wird gespeichert. Bitte warten ...",this.http.put(I.AC+"api/durchgang/"+ce+"/"+(0,o.gT)(D)+"/"+P+"/"+k,ne).pipe((0,_.B)())).subscribe({next:ue=>{if(!this.isMessageAck(ue)&&ue.wertung){let _e=!1;this.wertungen=this.wertungen.map(Be=>Be.wertung.id===ue.wertung.id?(_e=!0,ue):Be),this.wertungenSubject.next(this.wertungen),Ne.next(ue),_e&&Ne.complete()}else{const _e=ue;this.showMessage.next(_e),Ne.error(_e.msg),Ne.complete()}},error:this.standardErrorHandler}),Ne}finishStation(D,k,P,ne){const ce=new ae.x;return this.startLoading("Station wird abgeschlossen. Bitte warten ...",this.http.post(I.AC+"api/durchgang/"+D+"/finish",{type:"FinishDurchgangStation",wettkampfUUID:D,durchgang:k,geraet:P,step:ne}).pipe((0,_.B)())).subscribe({next:Ne=>{const ue=this.steps.filter(_e=>_e>ne);ue.length>0?this._step=ue[0]:(localStorage.removeItem("current_station"),this.checkJWT(),this.stationFreezed=!1,this._step=this.steps[0]),this.loadWertungen().subscribe(_e=>{ce.next(ue)})},error:this.standardErrorHandler}),ce.asObservable()}nextStep(){if(null==this.steps)return this._step;const D=this.steps.filter(k=>k>this._step);return D.length>0?D[0]:this.steps[0]}prevStep(){if(null==this.steps)return this._step;const D=this.steps.filter(k=>k0?D[D.length-1]:this.steps[this.steps.length-1]}getPrevGeraet(){if(null==this.geraete)return this._geraet;let D=this.geraete.indexOf(this.geraete.find(k=>k.id===this._geraet))-1;return D<0&&(D=this.geraete.length-1),this.geraete[D].id}getNextGeraet(){if(null==this.geraete)return this._geraet;let D=this.geraete.indexOf(this.geraete.find(k=>k.id===this._geraet))+1;return D>=this.geraete.length&&(D=0),this.geraete[D].id}nextGeraet(){if(this.loggedIn){const D=this.steps.filter(k=>k>this._step);return(0,R.of)(D.length>0?D[0]:this.steps[0])}{const D=this._step;return this._geraet=this.getNextGeraet(),this.loadSteps().pipe((0,q.U)(k=>{const P=k.filter(ne=>ne>D);return P.length>0?P[0]:this.steps[0]}))}}prevGeraet(){if(this.loggedIn){const D=this.steps.filter(k=>k0?D[D.length-1]:this.steps[this.steps.length-1])}{const D=this._step;return this._geraet=this.getPrevGeraet(),this.loadSteps().pipe((0,q.U)(k=>{const P=this.steps.filter(ne=>ne0?P[P.length-1]:this.steps[this.steps.length-1]}))}}getScoreList(D){return this._competition?this.startLoading("Rangliste wird geladen. Bitte warten ...",this.http.get(`${I.AC}${D}`).pipe((0,_.B)())):(0,R.of)({})}getScoreLists(){return this._competition?this.startLoading("Ranglisten werden geladen. Bitte warten ...",this.http.get(`${I.AC}api/scores/${this._competition}`).pipe((0,_.B)())):(0,R.of)(Object.assign({}))}getWebsocketBackendUrl(){let D=location.host;const P="https:"===location.protocol?"wss:":"ws:";let ne="api/";return ne=this._durchgang&&this.captionmode?ne+"durchgang/"+this._competition+"/"+(0,o.gT)(this._durchgang)+"/ws":ne+"durchgang/"+this._competition+"/all/ws",D=D&&""!==D?(P+"//"+D+"/").replace("index.html",""):"wss://kutuapp.sharevic.net/",D+ne}handleWebsocketMessage(D){switch(D.type){case"BulkEvent":return D.events.map(ce=>this.handleWebsocketMessage(ce)).reduce((ce,Ne)=>ce&&Ne);case"DurchgangStarted":return this._activeDurchgangList=[...this.activeDurchgangList,D],this.durchgangStarted.next(this.activeDurchgangList),!0;case"DurchgangFinished":const P=D;return this._activeDurchgangList=this.activeDurchgangList.filter(ce=>ce.durchgang!==P.durchgang||ce.wettkampfUUID!==P.wettkampfUUID),this.durchgangStarted.next(this.activeDurchgangList),!0;case"AthletWertungUpdatedSequenced":case"AthletWertungUpdated":const ne=D;return this.wertungen=this.wertungen.map(ce=>ce.id===ne.wertung.athletId&&ce.wertung.wettkampfdisziplinId===ne.wertung.wettkampfdisziplinId?Object.assign({},ce,{wertung:ne.wertung}):ce),this.wertungenSubject.next(this.wertungen),this.wertungUpdated.next(ne),!0;case"AthletMovedInWettkampf":case"AthletRemovedFromWettkampf":return this.loadWertungen(),!0;case"NewLastResults":return this.newLastResults.next(D),!0;case"MessageAck":return console.log(D.msg),this.showMessage.next(D),!0;default:return!1}}static \u0275fac=function(k){return new(k||S)(B.LFG(w.eN),B.LFG(V.HT))};static \u0275prov=B.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})()},5612:(ct,je,b)=>{"use strict";b.d(je,{iw:()=>k,_5:()=>z,gT:()=>D});var o=b(5619),w=b(8645),ee=b(4352),ae=b(5592),R=b(671);var I=b(76),B=b(9360),V=b(8251),S=b(2029);function z(P){return P?P.replace(/[,&.*+?/^${}()|[\]\\]/g,"_"):""}function D(P){return P?encodeURIComponent(z(P)):""}let k=(()=>{class P{identifiedState=!1;connectedState=!1;websocket;backendUrl;reconnectionObservable;explicitClosed=!0;reconnectInterval=3e4;reconnectAttempts=480;lstKeepAliveReceived=0;connected=new o.X(!1);identified=new o.X(!1);logMessages=new o.X("");showMessage=new w.x;lastMessages=[];get stopped(){return this.explicitClosed}startKeepAliveObservation(){setTimeout(()=>{const Ne=(new Date).getTime()-this.lstKeepAliveReceived;!this.explicitClosed&&!this.reconnectionObservable&&Ne>this.reconnectInterval?(this.logMessages.next("connection verified since "+Ne+"ms. It seems to be dead and need to be reconnected!"),this.disconnectWS(!1),this.reconnect()):this.logMessages.next("connection verified since "+Ne+"ms"),this.startKeepAliveObservation()},this.reconnectInterval)}sendMessage(ce){this.websocket?this.connectedState&&this.websocket.send(ce):this.connect(ce)}disconnectWS(ce=!0){this.explicitClosed=ce,this.lstKeepAliveReceived=0,this.websocket?(this.websocket.close(),ce&&this.close()):this.close()}close(){this.websocket&&(this.websocket.onerror=void 0,this.websocket.onclose=void 0,this.websocket.onopen=void 0,this.websocket.onmessage=void 0,this.websocket.close()),this.websocket=void 0,this.identifiedState=!1,this.lstKeepAliveReceived=0,this.identified.next(this.identifiedState),this.connectedState=!1,this.connected.next(this.connectedState)}isWebsocketConnected(){return this.websocket&&this.websocket.readyState===this.websocket.OPEN}isWebsocketConnecting(){return this.websocket&&this.websocket.readyState===this.websocket.CONNECTING}shouldConnectAgain(){return!(this.isWebsocketConnected()||this.isWebsocketConnecting())}reconnect(){if(!this.reconnectionObservable){this.logMessages.next("start try reconnection ..."),this.reconnectionObservable=function q(P=0,ne=ee.z){return P<0&&(P=0),function _(P=0,ne,ce=ee.P){let Ne=-1;return null!=ne&&((0,R.K)(ne)?ce=ne:Ne=ne),new ae.y(ue=>{let _e=function O(P){return P instanceof Date&&!isNaN(P)}(P)?+P-ce.now():P;_e<0&&(_e=0);let Be=0;return ce.schedule(function(){ue.closed||(ue.next(Be++),0<=Ne?this.schedule(void 0,Ne):ue.complete())},_e)})}(P,P,ne)}(this.reconnectInterval).pipe(function Q(P,ne=!1){return(0,B.e)((ce,Ne)=>{let ue=0;ce.subscribe((0,V.x)(Ne,_e=>{const Be=P(_e,ue++);(Be||ne)&&Ne.next(_e),!Be&&Ne.complete()}))})}((Ne,ue)=>ue{this.shouldConnectAgain()&&(this.logMessages.next("continue with reconnection ..."),this.connect(void 0))},null,()=>{this.reconnectionObservable=null,ce.unsubscribe(),this.isWebsocketConnected()?this.logMessages.next("finish with reconnection (successfull)"):this.isWebsocketConnecting()?this.logMessages.next("continue with reconnection (CONNECTING)"):(!this.websocket||this.websocket.CLOSING||this.websocket.CLOSED)&&(this.disconnectWS(),this.logMessages.next("finish with reconnection (unsuccessfull)"))})}}initWebsocket(){this.logMessages.subscribe(ce=>{this.lastMessages.push((0,I.sZ)(!0)+` - ${ce}`),this.lastMessages=this.lastMessages.slice(Math.max(this.lastMessages.length-50,0))}),this.logMessages.next("init"),this.backendUrl=this.getWebsocketBackendUrl()+`?clientid=${(0,I.ix)()}`,this.logMessages.next("init with "+this.backendUrl),this.connect(void 0),this.startKeepAliveObservation()}connect(ce){this.disconnectWS(),this.explicitClosed=!1,this.websocket=new WebSocket(this.backendUrl),this.websocket.onopen=()=>{this.connectedState=!0,this.connected.next(this.connectedState),ce&&this.sendMessage(ce)},this.websocket.onclose=ue=>{switch(this.close(),ue.code){case 1001:this.logMessages.next("Going Away"),this.explicitClosed||this.reconnect();break;case 1002:this.logMessages.next("Protocol error"),this.explicitClosed||this.reconnect();break;case 1003:this.logMessages.next("Unsupported Data"),this.explicitClosed||this.reconnect();break;case 1005:this.logMessages.next("No Status Rcvd"),this.explicitClosed||this.reconnect();break;case 1006:this.logMessages.next("Abnormal Closure"),this.explicitClosed||this.reconnect();break;case 1007:this.logMessages.next("Invalid frame payload data"),this.explicitClosed||this.reconnect();break;case 1008:this.logMessages.next("Policy Violation"),this.explicitClosed||this.reconnect();break;case 1009:this.logMessages.next("Message Too Big"),this.explicitClosed||this.reconnect();break;case 1010:this.logMessages.next("Mandatory Ext."),this.explicitClosed||this.reconnect();break;case 1011:this.logMessages.next("Internal Server Error"),this.explicitClosed||this.reconnect();break;case 1015:this.logMessages.next("TLS handshake")}},this.websocket.onmessage=ue=>{if(this.lstKeepAliveReceived=(new Date).getTime(),!ue.data.startsWith("Connection established.")&&"keepAlive"!==ue.data)try{const _e=JSON.parse(ue.data);"MessageAck"===_e.type?(console.log(_e.msg),this.showMessage.next(_e)):this.handleWebsocketMessage(_e)||(console.log(_e),this.logMessages.next("unknown message: "+ue.data))}catch(_e){this.logMessages.next(_e+": "+ue.data)}},this.websocket.onerror=ue=>{this.logMessages.next(ue.message+", "+ue.type)}}static \u0275fac=function(Ne){return new(Ne||P)};static \u0275prov=S.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})()},76:(ct,je,b)=>{"use strict";b.d(je,{AC:()=>_,TA:()=>D,WZ:()=>z,ix:()=>S,sZ:()=>B,tC:()=>I});const ae=location.host,_=(location.protocol+"//"+ae+"/").replace("index.html","");function I(k){let P=new Date;return P=function q(k){return null!=k&&""!==k&&!isNaN(Number(k.toString()))}(k)?new Date(parseInt(k)):new Date(Date.parse(k)),`${P.getFullYear().toString()}-${("0"+(P.getMonth()+1)).slice(-2)}-${("0"+P.getDate()).slice(-2)}`}function B(k=!1){return function V(k,P=!1){const ne=("0"+k.getDate()).slice(-2)+"-"+("0"+(k.getMonth()+1)).slice(-2)+"-"+k.getFullYear()+" "+("0"+k.getHours()).slice(-2)+":"+("0"+k.getMinutes()).slice(-2);return P?ne+":"+("0"+k.getSeconds()).slice(-2):ne}(new Date,k)}function S(){let k=localStorage.getItem("clientid");return k||(k=function Q(){function k(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return k()+k()+"-"+k()+"-"+k()+"-"+k()+"-"+k()+k()+k()}(),localStorage.setItem("clientid",k)),localStorage.getItem("current_username")+":"+k}const z={1:"boden.svg",2:"pferdpauschen.svg",3:"ringe.svg",4:"sprung.svg",5:"barren.svg",6:"reck.svg",26:"ringe.svg",27:"stufenbarren.svg",28:"schwebebalken.svg",29:"minitramp.svg",30:"minitramp.svg",31:"ringe.svg"},D=["BS","OS"]},7154:(ct,je,b)=>{"use strict";var o=b(6593),w=b(2029),ee=b(335),ae=b(9862),R=b(4414),O=b(3582);const q=(0,b(2726).fo)("SplashScreen",{web:()=>b.e(4485).then(b.bind(b,4485)).then(H=>new H.SplashScreenWeb)});var I=b(6814),B=b(3760);let V=(()=>{class H{document;constructor(De){this.document=De;const Fe=localStorage.getItem("theme");Fe?this.setGlobalCSS(Fe):this.setTheme({})}setTheme(De){const Fe=function z(H){H={...Q,...H};const{primary:he,secondary:De,tertiary:Fe,success:qe,warning:Le,danger:Z,dark:Y,medium:fe,light:ie}=H,Ve=.2,ke=.2;return`\n --ion-color-base: ${ie};\n --ion-color-contrast: ${Y};\n --ion-background-color: ${ie};\n --ion-card-background-color: ${k(ie,.4)};\n --ion-card-shadow-color1: ${k(Y,2).alpha(.2)};\n --ion-card-shadow-color2: ${k(Y,2).alpha(.14)};\n --ion-card-shadow-color3: ${k(Y,2).alpha(.12)};\n --ion-card-color: ${k(Y,2)};\n --ion-text-color: ${Y};\n --ion-toolbar-background-color: ${B(ie).lighten(ke)};\n --ion-toolbar-text-color: ${D(Y,.2)};\n --ion-item-background-color: ${D(ie,.1)};\n --ion-item-background-activated: ${D(ie,.3)};\n --ion-item-text-color: ${D(Y,.1)};\n --ion-item-border-color: ${B(fe).lighten(ke)};\n --ion-overlay-background-color: ${k(ie,.1)};\n --ion-color-primary: ${he};\n --ion-color-primary-rgb: ${P(he)};\n --ion-color-primary-contrast: ${D(he)};\n --ion-color-primary-contrast-rgb: ${P(D(he))};\n --ion-color-primary-shade: ${B(he).darken(Ve)};\n --ion-color-primary-tint: ${B(he).lighten(ke)};\n --ion-color-secondary: ${De};\n --ion-color-secondary-rgb: ${P(De)};\n --ion-color-secondary-contrast: ${D(De)};\n --ion-color-secondary-contrast-rgb: ${P(D(De))};\n --ion-color-secondary-shade: ${B(De).darken(Ve)};\n --ion-color-secondary-tint: ${B(De).lighten(ke)};\n --ion-color-tertiary: ${Fe};\n --ion-color-tertiary-rgb: ${P(Fe)};\n --ion-color-tertiary-contrast: ${D(Fe)};\n --ion-color-tertiary-contrast-rgb: ${P(D(Fe))};\n --ion-color-tertiary-shade: ${B(Fe).darken(Ve)};\n --ion-color-tertiary-tint: ${B(Fe).lighten(ke)};\n --ion-color-success: ${qe};\n --ion-color-success-rgb: ${P(qe)};\n --ion-color-success-contrast: ${D(qe)};\n --ion-color-success-contrast-rgb: ${P(D(qe))};\n --ion-color-success-shade: ${B(qe).darken(Ve)};\n --ion-color-success-tint: ${B(qe).lighten(ke)};\n --ion-color-warning: ${Le};\n --ion-color-warning-rgb: ${P(Le)};\n --ion-color-warning-contrast: ${D(Le)};\n --ion-color-warning-contrast-rgb: ${P(D(Le))};\n --ion-color-warning-shade: ${B(Le).darken(Ve)};\n --ion-color-warning-tint: ${B(Le).lighten(ke)};\n --ion-color-danger: ${Z};\n --ion-color-danger-rgb: ${P(Z)};\n --ion-color-danger-contrast: ${D(Z)};\n --ion-color-danger-contrast-rgb: ${P(D(Z))};\n --ion-color-danger-shade: ${B(Z).darken(Ve)};\n --ion-color-danger-tint: ${B(Z).lighten(ke)};\n --ion-color-dark: ${Y};\n --ion-color-dark-rgb: ${P(Y)};\n --ion-color-dark-contrast: ${D(Y)};\n --ion-color-dark-contrast-rgb: ${P(D(Y))};\n --ion-color-dark-shade: ${B(Y).darken(Ve)};\n --ion-color-dark-tint: ${B(Y).lighten(ke)};\n --ion-color-medium: ${fe};\n --ion-color-medium-rgb: ${P(fe)};\n --ion-color-medium-contrast: ${D(fe)};\n --ion-color-medium-contrast-rgb: ${P(D(fe))};\n --ion-color-medium-shade: ${B(fe).darken(Ve)};\n --ion-color-medium-tint: ${B(fe).lighten(ke)};\n --ion-color-light: ${ie};\n --ion-color-light-rgb: ${P(ie)};\n --ion-color-light-contrast: ${D(ie)};\n --ion-color-light-contrast-rgb: ${P(D(ie))};\n --ion-color-light-shade: ${B(ie).darken(Ve)};\n --ion-color-light-tint: ${B(ie).lighten(ke)};`+function S(H,he){void 0===H&&(H="#ffffff"),void 0===he&&(he="#000000");const De=new B(H);let Fe="";for(let qe=5;qe<100;qe+=5){const Z=qe/100;Fe+=` --ion-color-step-${qe+"0"}: ${De.mix(B(he),Z).hex()};`,qe<95&&(Fe+="\n")}return Fe}(Y,ie)}(De);this.setGlobalCSS(Fe),localStorage.setItem("theme",Fe)}setVariable(De,Fe){this.document.documentElement.style.setProperty(De,Fe)}setGlobalCSS(De){this.document.documentElement.style.cssText=De}get storedTheme(){return localStorage.getItem("theme")}static \u0275fac=function(Fe){return new(Fe||H)(w.LFG(I.K0))};static \u0275prov=w.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();const Q={primary:"#3880ff",secondary:"#0cd1e8",tertiary:"#7044ff",success:"#10dc60",warning:"#ff7b00",danger:"#f04141",dark:"#222428",medium:"#989aa2",light:"#fcfdff"};function D(H,he=.8){const De=B(H);return De.isDark()?De.lighten(he):De.darken(he)}function k(H,he=.8){const De=B(H);return De.isDark()?De.darken(he):De.lighten(he)}function P(H){const he=B(H);return`${he.red()}, ${he.green()}, ${he.blue()}`}var ne=b(9253);function ce(H,he){if(1&H){const De=w.EpF();w.TgZ(0,"ion-item",4),w.NdJ("click",function(){const Le=w.CHM(De).$implicit,Z=w.oxw();return w.KtG(Z.openPage(Le.url))}),w._UZ(1,"ion-icon",9),w.TgZ(2,"ion-label"),w._uU(3),w.qZA()()}if(2&H){const De=he.$implicit;w.xp6(1),w.Q6J("name",De.icon),w.xp6(2),w.hij(" ",De.title," ")}}function Ne(H,he){if(1&H){const De=w.EpF();w.TgZ(0,"ion-item",4),w.NdJ("click",function(){const Le=w.CHM(De).$implicit,Z=w.oxw();return w.KtG(Z.changeTheme(Le))}),w._UZ(1,"ion-icon",6),w.TgZ(2,"ion-label"),w._uU(3),w.qZA()()}if(2&H){const De=he.$implicit,Fe=w.oxw();w.Udp("background-color",Fe.themes[De].light)("color",Fe.themes[De].dark),w.xp6(2),w.Udp("background-color",Fe.themes[De].light)("color",Fe.themes[De].dark),w.xp6(1),w.hij(" ",De," ")}}let ue=(()=>{class H{platform;navController;route;router;themeSwitcher;backendService;alertCtrl;constructor(De,Fe,qe,Le,Z,Y,fe){this.platform=De,this.navController=Fe,this.route=qe,this.router=Le,this.themeSwitcher=Z,this.backendService=Y,this.alertCtrl=fe,this.appPages=[{title:"Home",url:"/home",icon:"home"},{title:"Wettk\xe4mpfe",url:"/competitions",icon:"folder-open-outline"},{title:"Resultate",url:"/station",icon:"list"},{title:"Letzte Resultate",url:"last-results",icon:"radio"},{title:"Top Resultate",url:"top-results",icon:"medal"},{title:"Athlet/-In suchen",url:"search-athlet",icon:"search"},{title:"Wettkampfanmeldungen",url:"/registration",icon:"people-outline"}],this.backendService.askForUsername.subscribe(ie=>{this.alertCtrl.create({header:"Settings",message:ie.currentUserName?"Dein Benutzername":"Du bist das erste Mal hier. Bitte gib einen Benutzernamen an",inputs:[{name:"username",placeholder:"Benutzername",value:ie.currentUserName}],buttons:[{text:"Abbrechen",role:"cancel",handler:()=>{console.log("Cancel clicked")}},{text:"Speichern",handler:ke=>{if(!(ke.username&&ke.username.trim().length>1))return!1;ie.currentUserName=ke.username.trim()}}]}).then(ke=>ke.present())}),this.backendService.showMessage.subscribe(ie=>{let Ve=ie.msg;(!Ve||0===Ve.trim().length)&&(Ve="Die gew\xfcnschte Aktion ist aktuell nicht m\xf6glich."),this.alertCtrl.create({header:"Achtung",message:Ve,buttons:["OK"]}).then(at=>at.present())}),this.initializeApp()}appPages;themes={Blau:{primary:"#ffa238",secondary:"#a19137",tertiary:"#421804",success:"#0eb651",warning:"#ff7b00",danger:"#f04141",dark:"#fffdf5",medium:"#454259",light:"#03163d"},Sport:{primary:"#ffa238",secondary:"#7dc0ff",tertiary:"#421804",success:"#0eb651",warning:"#ff7b00",danger:"#f04141",dark:"#03163d",medium:"#8092dd",light:"#fffdf5"},Dunkel:{primary:"#8DBB82",secondary:"#FCFF6C",tertiary:"#FE5F55",warning:"#ffce00",medium:"#BCC2C7",dark:"#DADFE1",light:"#363232"},Neon:{primary:"#23ff00",secondary:"#4CE0B3",tertiary:"#FF5E79",warning:"#ff7b00",light:"#F4EDF2",medium:"#B682A5",dark:"#34162A"}};get themeKeys(){return Object.keys(this.themes)}clearPosParam(){this.router.navigate(["."],{relativeTo:this.route,queryParams:{}})}initializeApp(){this.platform.ready().then(()=>{if(q.show(),window.location.href.indexOf("?")>0)try{const De=window.location.href.split("?")[1],Fe=atob(De);De.startsWith("all")?(this.appPages=[{title:"Alle Resultate",url:"/all-results",icon:"radio"},{title:"Athlet/-In suchen",url:"search-athlet",icon:"search"}],this.navController.navigateRoot("/last-results")):De.startsWith("top")?(this.appPages=[{title:"Top Resultate",url:"/top-results",icon:"medal"},{title:"Athlet/-In suchen",url:"search-athlet",icon:"search"}],this.navController.navigateRoot("/top-results")):Fe.startsWith("last")?(this.appPages=[{title:"Aktuelle Resultate",url:"/last-results",icon:"radio"},{title:"Athlet/-In suchen",url:"search-athlet",icon:"search"}],this.navController.navigateRoot("/last-results"),this.backendService.initWithQuery(Fe.substring(5))):Fe.startsWith("top")?(this.appPages=[{title:"Top Resultate",url:"/top-results",icon:"medal"},{title:"Athlet/-In suchen",url:"search-athlet",icon:"search"}],this.navController.navigateRoot("/top-results"),this.backendService.initWithQuery(Fe.substring(4))):Fe.startsWith("registration")?(window.history.replaceState({},document.title,window.location.href.split("?")[0]),this.clearPosParam(),console.log("initializing with "+Fe),localStorage.setItem("external_load",Fe),this.backendService.initWithQuery(Fe.substring(13)).subscribe(qe=>{console.log("clubreg initialzed. navigate to clubreg-editor"),this.navController.navigateRoot("/registration/"+this.backendService.competition+"/"+localStorage.getItem("auth_clubid"))})):(window.history.replaceState({},document.title,window.location.href.split("?")[0]),this.clearPosParam(),console.log("initializing with "+Fe),localStorage.setItem("external_load",Fe),this.backendService.initWithQuery(Fe).subscribe(qe=>{Fe.startsWith("c=")&&Fe.indexOf("&st=")>-1&&Fe.indexOf("&g=")>-1&&(this.appPages=[{title:"Home",url:"/home",icon:"home"},{title:"Resultate",url:"/station",icon:"list"}],this.navController.navigateRoot("/station"))}))}catch(De){console.log(De)}else if(localStorage.getItem("current_station")){const De=localStorage.getItem("current_station");this.backendService.initWithQuery(De).subscribe(Fe=>{De.startsWith("c=")&&De.indexOf("&st=")&&De.indexOf("&g=")&&(this.appPages=[{title:"Home",url:"/home",icon:"home"},{title:"Resultate",url:"/station",icon:"list"}],this.navController.navigateRoot("/station"))})}else if(localStorage.getItem("current_competition")){const De=localStorage.getItem("current_competition");this.backendService.getDurchgaenge(De)}else this.backendService.competition||this.openPage("/competitions");q.hide()})}askUserName(){this.backendService.askForUsername.next(this.backendService)}changeTheme(De){this.themeSwitcher.setTheme(this.themes[De])}openPage(De){this.navController.navigateRoot(De)}static \u0275fac=function(Fe){return new(Fe||H)(w.Y36(R.t4),w.Y36(R.SH),w.Y36(ee.gz),w.Y36(ee.F0),w.Y36(V),w.Y36(ne.v),w.Y36(R.Br))};static \u0275cmp=w.Xpm({type:H,selectors:[["app-root"]],decls:25,vars:2,consts:[["contentId","main","disabled","true"],["contentId","main"],["auto-hide","false"],["menuClose","",3,"click",4,"ngFor","ngForOf"],["menuClose","",3,"click"],["slot","start","name","settings"],["slot","start","name","color-palette"],["menuClose","",3,"background-color","color","click",4,"ngFor","ngForOf"],["id","main"],["slot","start",3,"name"]],template:function(Fe,qe){1&Fe&&(w.TgZ(0,"ion-app")(1,"ion-split-pane",0)(2,"ion-menu",1)(3,"ion-header")(4,"ion-toolbar")(5,"ion-title"),w._uU(6,"Menu"),w.qZA()()(),w.TgZ(7,"ion-content")(8,"ion-list")(9,"ion-menu-toggle",2),w.YNc(10,ce,4,2,"ion-item",3),w.TgZ(11,"ion-item",4),w.NdJ("click",function(){return qe.askUserName()}),w._UZ(12,"ion-icon",5),w.TgZ(13,"ion-label"),w._uU(14," Settings "),w.qZA()(),w.TgZ(15,"ion-item-divider"),w._uU(16,"\xa0"),w._UZ(17,"br"),w._uU(18," Farbschema"),w.qZA(),w.TgZ(19,"ion-item",4),w.NdJ("click",function(){return qe.changeTheme("")}),w._UZ(20,"ion-icon",6),w.TgZ(21,"ion-label"),w._uU(22," Standardfarben "),w.qZA()(),w.YNc(23,Ne,4,9,"ion-item",7),w.qZA()()()(),w._UZ(24,"ion-router-outlet",8),w.qZA()()),2&Fe&&(w.xp6(10),w.Q6J("ngForOf",qe.appPages),w.xp6(13),w.Q6J("ngForOf",qe.themeKeys))},dependencies:[I.sg,O.dr,O.W2,O.Gu,O.gu,O.Ie,O.rH,O.Q$,O.q_,O.z0,O.zc,O.jI,O.wd,O.sr,O.jP],encapsulation:2})}return H})(),_e=(()=>{class H{router;backendService;constructor(De,Fe){this.router=De,this.backendService=Fe}canActivate(De){return!(!this.backendService.geraet||!this.backendService.step)||(this.router.navigate(["home"]),!1)}static \u0275fac=function(Fe){return new(Fe||H)(w.LFG(ee.F0),w.LFG(ne.v))};static \u0275prov=w.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})(),Be=(()=>{class H{router;backendService;constructor(De,Fe){this.router=De,this.backendService=Fe}canActivate(De){const Fe=De.paramMap.get("wkId"),qe=De.paramMap.get("regId");return!!("0"===qe||this.backendService.loggedIn&&this.backendService.authenticatedClubId===qe)||(this.router.navigate(["registration/"+Fe]),!1)}static \u0275fac=function(Fe){return new(Fe||H)(w.LFG(ee.F0),w.LFG(ne.v))};static \u0275prov=w.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();const we=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"competitions",loadChildren:()=>Promise.all([b.e(8592),b.e(3285)]).then(b.bind(b,3285)).then(H=>H.CompetitionsPageModule)},{path:"home",loadChildren:()=>b.e(5476).then(b.bind(b,5476)).then(H=>H.HomePageModule)},{path:"station",canActivate:[_e],loadChildren:()=>Promise.all([b.e(8592),b.e(8476)]).then(b.bind(b,8476)).then(H=>H.StationPageModule)},{path:"wertung-editor/:itemId",canActivate:[_e],loadChildren:()=>Promise.all([b.e(8592),b.e(3547)]).then(b.bind(b,3547)).then(H=>H.WertungEditorPageModule)},{path:"last-results",loadChildren:()=>Promise.all([b.e(8592),b.e(8378)]).then(b.bind(b,8378)).then(H=>H.LastResultsPageModule)},{path:"top-results",loadChildren:()=>Promise.all([b.e(8592),b.e(4154)]).then(b.bind(b,4154)).then(H=>H.LastTopResultsPageModule)},{path:"search-athlet",loadChildren:()=>Promise.all([b.e(8592),b.e(8910)]).then(b.bind(b,8910)).then(H=>H.SearchAthletPageModule)},{path:"search-athlet/:wkId",loadChildren:()=>Promise.all([b.e(8592),b.e(8910)]).then(b.bind(b,8910)).then(H=>H.SearchAthletPageModule)},{path:"athlet-view/:wkId/:athletId",loadChildren:()=>Promise.all([b.e(8592),b.e(6547)]).then(b.bind(b,6547)).then(H=>H.AthletViewPageModule)},{path:"registration",loadChildren:()=>Promise.all([b.e(8592),b.e(4144)]).then(b.bind(b,4144)).then(H=>H.RegistrationPageModule)},{path:"registration/:wkId",loadChildren:()=>Promise.all([b.e(8592),b.e(4144)]).then(b.bind(b,4144)).then(H=>H.RegistrationPageModule)},{path:"registration/:wkId/:regId",canActivate:[Be],loadChildren:()=>Promise.all([b.e(8592),b.e(5969)]).then(b.bind(b,5969)).then(H=>H.ClubregEditorPageModule)},{path:"reg-athletlist/:wkId/:regId",canActivate:[Be],loadChildren:()=>Promise.all([b.e(8592),b.e(5146)]).then(b.bind(b,5146)).then(H=>H.RegAthletlistPageModule)},{path:"reg-athletlist/:wkId/:regId/:athletId",canActivate:[Be],loadChildren:()=>b.e(6908).then(b.bind(b,6908)).then(H=>H.RegAthletEditorPageModule)},{path:"reg-judgelist/:wkId/:regId",canActivate:[Be],loadChildren:()=>Promise.all([b.e(8592),b.e(2715)]).then(b.bind(b,2715)).then(H=>H.RegJudgelistPageModule)},{path:"reg-judgelist/:wkId/:regId/:judgeId",canActivate:[Be],loadChildren:()=>b.e(4247).then(b.bind(b,4247)).then(H=>H.RegJudgeEditorPageModule)}];let re=(()=>{class H{static \u0275fac=function(Fe){return new(Fe||H)};static \u0275mod=w.oAB({type:H});static \u0275inj=w.cJS({imports:[ee.Bz.forRoot(we,{preloadingStrategy:ee.wm}),ee.Bz]})}return H})();var U=b(76);let ge=(()=>{class H{constructor(){}intercept(De,Fe){const qe=De.headers.get("x-access-token")||localStorage.getItem("auth_token");return De=De.clone({setHeaders:{clientid:`${(0,U.ix)()}`,"x-access-token":`${qe}`}}),Fe.handle(De)}static \u0275fac=function(Fe){return new(Fe||H)};static \u0275prov=w.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})(),se=(()=>{class H{static \u0275fac=function(Fe){return new(Fe||H)};static \u0275mod=w.oAB({type:H,bootstrap:[ue]});static \u0275inj=w.cJS({providers:[_e,{provide:ee.wN,useClass:R.r4},ne.v,V,ge,{provide:ae.TP,useClass:ge,multi:!0}],imports:[ae.JF,o.b2,O.Pc.forRoot(),re]})}return H})();(0,w.G48)(),o.q6().bootstrapModule(se).catch(H=>console.log(H))},929:ct=>{"use strict";ct.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},927:(ct,je,b)=>{var o=b(929),w=b(5956),ee=Object.hasOwnProperty,ae=Object.create(null);for(var R in o)ee.call(o,R)&&(ae[o[R]]=R);var O=ct.exports={to:{},get:{}};function _(I,B,V){return Math.min(Math.max(B,I),V)}function q(I){var B=Math.round(I).toString(16).toUpperCase();return B.length<2?"0"+B:B}O.get=function(I){var V,Q;switch(I.substring(0,3).toLowerCase()){case"hsl":V=O.get.hsl(I),Q="hsl";break;case"hwb":V=O.get.hwb(I),Q="hwb";break;default:V=O.get.rgb(I),Q="rgb"}return V?{model:Q,value:V}:null},O.get.rgb=function(I){if(!I)return null;var k,P,ne,D=[0,0,0,1];if(k=I.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(ne=k[2],k=k[1],P=0;P<3;P++){var ce=2*P;D[P]=parseInt(k.slice(ce,ce+2),16)}ne&&(D[3]=parseInt(ne,16)/255)}else if(k=I.match(/^#([a-f0-9]{3,4})$/i)){for(ne=(k=k[1])[3],P=0;P<3;P++)D[P]=parseInt(k[P]+k[P],16);ne&&(D[3]=parseInt(ne+ne,16)/255)}else if(k=I.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(P=0;P<3;P++)D[P]=parseInt(k[P+1],0);k[4]&&(D[3]=k[5]?.01*parseFloat(k[4]):parseFloat(k[4]))}else{if(!(k=I.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(k=I.match(/^(\w+)$/))?"transparent"===k[1]?[0,0,0,0]:ee.call(o,k[1])?((D=o[k[1]])[3]=1,D):null:null;for(P=0;P<3;P++)D[P]=Math.round(2.55*parseFloat(k[P+1]));k[4]&&(D[3]=k[5]?.01*parseFloat(k[4]):parseFloat(k[4]))}for(P=0;P<3;P++)D[P]=_(D[P],0,255);return D[3]=_(D[3],0,1),D},O.get.hsl=function(I){if(!I)return null;var V=I.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(V){var Q=parseFloat(V[4]);return[(parseFloat(V[1])%360+360)%360,_(parseFloat(V[2]),0,100),_(parseFloat(V[3]),0,100),_(isNaN(Q)?1:Q,0,1)]}return null},O.get.hwb=function(I){if(!I)return null;var V=I.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(V){var Q=parseFloat(V[4]);return[(parseFloat(V[1])%360+360)%360,_(parseFloat(V[2]),0,100),_(parseFloat(V[3]),0,100),_(isNaN(Q)?1:Q,0,1)]}return null},O.to.hex=function(){var I=w(arguments);return"#"+q(I[0])+q(I[1])+q(I[2])+(I[3]<1?q(Math.round(255*I[3])):"")},O.to.rgb=function(){var I=w(arguments);return I.length<4||1===I[3]?"rgb("+Math.round(I[0])+", "+Math.round(I[1])+", "+Math.round(I[2])+")":"rgba("+Math.round(I[0])+", "+Math.round(I[1])+", "+Math.round(I[2])+", "+I[3]+")"},O.to.rgb.percent=function(){var I=w(arguments),B=Math.round(I[0]/255*100),V=Math.round(I[1]/255*100),Q=Math.round(I[2]/255*100);return I.length<4||1===I[3]?"rgb("+B+"%, "+V+"%, "+Q+"%)":"rgba("+B+"%, "+V+"%, "+Q+"%, "+I[3]+")"},O.to.hsl=function(){var I=w(arguments);return I.length<4||1===I[3]?"hsl("+I[0]+", "+I[1]+"%, "+I[2]+"%)":"hsla("+I[0]+", "+I[1]+"%, "+I[2]+"%, "+I[3]+")"},O.to.hwb=function(){var I=w(arguments),B="";return I.length>=4&&1!==I[3]&&(B=", "+I[3]),"hwb("+I[0]+", "+I[1]+"%, "+I[2]+"%"+B+")"},O.to.keyword=function(I){return ae[I.slice(0,3)]}},3760:(ct,je,b)=>{const o=b(927),w=b(1824),ee=["keyword","gray","hex"],ae={};for(const S of Object.keys(w))ae[[...w[S].labels].sort().join("")]=S;const R={};function O(S,z){if(!(this instanceof O))return new O(S,z);if(z&&z in ee&&(z=null),z&&!(z in w))throw new Error("Unknown model: "+z);let D,k;if(null==S)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(S instanceof O)this.model=S.model,this.color=[...S.color],this.valpha=S.valpha;else if("string"==typeof S){const P=o.get(S);if(null===P)throw new Error("Unable to parse color from string: "+S);this.model=P.model,k=w[this.model].channels,this.color=P.value.slice(0,k),this.valpha="number"==typeof P.value[k]?P.value[k]:1}else if(S.length>0){this.model=z||"rgb",k=w[this.model].channels;const P=Array.prototype.slice.call(S,0,k);this.color=Q(P,k),this.valpha="number"==typeof S[k]?S[k]:1}else if("number"==typeof S)this.model="rgb",this.color=[S>>16&255,S>>8&255,255&S],this.valpha=1;else{this.valpha=1;const P=Object.keys(S);"alpha"in S&&(P.splice(P.indexOf("alpha"),1),this.valpha="number"==typeof S.alpha?S.alpha:0);const ne=P.sort().join("");if(!(ne in ae))throw new Error("Unable to parse color from object: "+JSON.stringify(S));this.model=ae[ne];const{labels:ce}=w[this.model],Ne=[];for(D=0;D(S%360+360)%360),saturationl:I("hsl",1,B(100)),lightness:I("hsl",2,B(100)),saturationv:I("hsv",1,B(100)),value:I("hsv",2,B(100)),chroma:I("hcg",1,B(100)),gray:I("hcg",2,B(100)),white:I("hwb",1,B(100)),wblack:I("hwb",2,B(100)),cyan:I("cmyk",0,B(100)),magenta:I("cmyk",1,B(100)),yellow:I("cmyk",2,B(100)),black:I("cmyk",3,B(100)),x:I("xyz",0,B(95.047)),y:I("xyz",1,B(100)),z:I("xyz",2,B(108.833)),l:I("lab",0,B(100)),a:I("lab",1),b:I("lab",2),keyword(S){return void 0!==S?new O(S):w[this.model].keyword(this.color)},hex(S){return void 0!==S?new O(S):o.to.hex(this.rgb().round().color)},hexa(S){if(void 0!==S)return new O(S);const z=this.rgb().round().color;let D=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===D.length&&(D="0"+D),o.to.hex(z)+D},rgbNumber(){const S=this.rgb().color;return(255&S[0])<<16|(255&S[1])<<8|255&S[2]},luminosity(){const S=this.rgb().color,z=[];for(const[D,k]of S.entries()){const P=k/255;z[D]=P<=.04045?P/12.92:((P+.055)/1.055)**2.4}return.2126*z[0]+.7152*z[1]+.0722*z[2]},contrast(S){const z=this.luminosity(),D=S.luminosity();return z>D?(z+.05)/(D+.05):(D+.05)/(z+.05)},level(S){const z=this.contrast(S);return z>=7?"AAA":z>=4.5?"AA":""},isDark(){const S=this.rgb().color;return(2126*S[0]+7152*S[1]+722*S[2])/1e4<128},isLight(){return!this.isDark()},negate(){const S=this.rgb();for(let z=0;z<3;z++)S.color[z]=255-S.color[z];return S},lighten(S){const z=this.hsl();return z.color[2]+=z.color[2]*S,z},darken(S){const z=this.hsl();return z.color[2]-=z.color[2]*S,z},saturate(S){const z=this.hsl();return z.color[1]+=z.color[1]*S,z},desaturate(S){const z=this.hsl();return z.color[1]-=z.color[1]*S,z},whiten(S){const z=this.hwb();return z.color[1]+=z.color[1]*S,z},blacken(S){const z=this.hwb();return z.color[2]+=z.color[2]*S,z},grayscale(){const S=this.rgb().color,z=.3*S[0]+.59*S[1]+.11*S[2];return O.rgb(z,z,z)},fade(S){return this.alpha(this.valpha-this.valpha*S)},opaquer(S){return this.alpha(this.valpha+this.valpha*S)},rotate(S){const z=this.hsl();let D=z.color[0];return D=(D+S)%360,D=D<0?360+D:D,z.color[0]=D,z},mix(S,z){if(!S||!S.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof S);const D=S.rgb(),k=this.rgb(),P=void 0===z?.5:z,ne=2*P-1,ce=D.alpha()-k.alpha(),Ne=((ne*ce==-1?ne:(ne+ce)/(1+ne*ce))+1)/2,ue=1-Ne;return O.rgb(Ne*D.red()+ue*k.red(),Ne*D.green()+ue*k.green(),Ne*D.blue()+ue*k.blue(),D.alpha()*P+k.alpha()*(1-P))}};for(const S of Object.keys(w)){if(ee.includes(S))continue;const{channels:z}=w[S];O.prototype[S]=function(...D){return this.model===S?new O(this):new O(D.length>0?D:[...V(w[this.model][S].raw(this.color)),this.valpha],S)},O[S]=function(...D){let k=D[0];return"number"==typeof k&&(k=Q(D,z)),new O(k,S)}}function q(S){return function(z){return function _(S,z){return Number(S.toFixed(z))}(z,S)}}function I(S,z,D){S=Array.isArray(S)?S:[S];for(const k of S)(R[k]||(R[k]=[]))[z]=D;return S=S[0],function(k){let P;return void 0!==k?(D&&(k=D(k)),P=this[S](),P.color[z]=k,P):(P=this[S]().color[z],D&&(P=D(P)),P)}}function B(S){return function(z){return Math.max(0,Math.min(S,z))}}function V(S){return Array.isArray(S)?S:[S]}function Q(S,z){for(let D=0;D{const o=b(6225),w={};for(const R of Object.keys(o))w[o[R]]=R;const ee={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};ct.exports=ee;for(const R of Object.keys(ee)){if(!("channels"in ee[R]))throw new Error("missing channels property: "+R);if(!("labels"in ee[R]))throw new Error("missing channel labels property: "+R);if(ee[R].labels.length!==ee[R].channels)throw new Error("channel and label counts mismatch: "+R);const{channels:O,labels:_}=ee[R];delete ee[R].channels,delete ee[R].labels,Object.defineProperty(ee[R],"channels",{value:O}),Object.defineProperty(ee[R],"labels",{value:_})}function ae(R,O){return(R[0]-O[0])**2+(R[1]-O[1])**2+(R[2]-O[2])**2}ee.rgb.hsl=function(R){const O=R[0]/255,_=R[1]/255,q=R[2]/255,I=Math.min(O,_,q),B=Math.max(O,_,q),V=B-I;let Q,S;B===I?Q=0:O===B?Q=(_-q)/V:_===B?Q=2+(q-O)/V:q===B&&(Q=4+(O-_)/V),Q=Math.min(60*Q,360),Q<0&&(Q+=360);const z=(I+B)/2;return S=B===I?0:z<=.5?V/(B+I):V/(2-B-I),[Q,100*S,100*z]},ee.rgb.hsv=function(R){let O,_,q,I,B;const V=R[0]/255,Q=R[1]/255,S=R[2]/255,z=Math.max(V,Q,S),D=z-Math.min(V,Q,S),k=function(P){return(z-P)/6/D+.5};return 0===D?(I=0,B=0):(B=D/z,O=k(V),_=k(Q),q=k(S),V===z?I=q-_:Q===z?I=1/3+O-q:S===z&&(I=2/3+_-O),I<0?I+=1:I>1&&(I-=1)),[360*I,100*B,100*z]},ee.rgb.hwb=function(R){const O=R[0],_=R[1];let q=R[2];const I=ee.rgb.hsl(R)[0],B=1/255*Math.min(O,Math.min(_,q));return q=1-1/255*Math.max(O,Math.max(_,q)),[I,100*B,100*q]},ee.rgb.cmyk=function(R){const O=R[0]/255,_=R[1]/255,q=R[2]/255,I=Math.min(1-O,1-_,1-q);return[100*((1-O-I)/(1-I)||0),100*((1-_-I)/(1-I)||0),100*((1-q-I)/(1-I)||0),100*I]},ee.rgb.keyword=function(R){const O=w[R];if(O)return O;let q,_=1/0;for(const I of Object.keys(o)){const V=ae(R,o[I]);V<_&&(_=V,q=I)}return q},ee.keyword.rgb=function(R){return o[R]},ee.rgb.xyz=function(R){let O=R[0]/255,_=R[1]/255,q=R[2]/255;return O=O>.04045?((O+.055)/1.055)**2.4:O/12.92,_=_>.04045?((_+.055)/1.055)**2.4:_/12.92,q=q>.04045?((q+.055)/1.055)**2.4:q/12.92,[100*(.4124*O+.3576*_+.1805*q),100*(.2126*O+.7152*_+.0722*q),100*(.0193*O+.1192*_+.9505*q)]},ee.rgb.lab=function(R){const O=ee.rgb.xyz(R);let _=O[0],q=O[1],I=O[2];return _/=95.047,q/=100,I/=108.883,_=_>.008856?_**(1/3):7.787*_+16/116,q=q>.008856?q**(1/3):7.787*q+16/116,I=I>.008856?I**(1/3):7.787*I+16/116,[116*q-16,500*(_-q),200*(q-I)]},ee.hsl.rgb=function(R){const O=R[0]/360,_=R[1]/100,q=R[2]/100;let I,B,V;if(0===_)return V=255*q,[V,V,V];I=q<.5?q*(1+_):q+_-q*_;const Q=2*q-I,S=[0,0,0];for(let z=0;z<3;z++)B=O+1/3*-(z-1),B<0&&B++,B>1&&B--,V=6*B<1?Q+6*(I-Q)*B:2*B<1?I:3*B<2?Q+(I-Q)*(2/3-B)*6:Q,S[z]=255*V;return S},ee.hsl.hsv=function(R){const O=R[0];let _=R[1]/100,q=R[2]/100,I=_;const B=Math.max(q,.01);return q*=2,_*=q<=1?q:2-q,I*=B<=1?B:2-B,[O,100*(0===q?2*I/(B+I):2*_/(q+_)),(q+_)/2*100]},ee.hsv.rgb=function(R){const O=R[0]/60,_=R[1]/100;let q=R[2]/100;const I=Math.floor(O)%6,B=O-Math.floor(O),V=255*q*(1-_),Q=255*q*(1-_*B),S=255*q*(1-_*(1-B));switch(q*=255,I){case 0:return[q,S,V];case 1:return[Q,q,V];case 2:return[V,q,S];case 3:return[V,Q,q];case 4:return[S,V,q];case 5:return[q,V,Q]}},ee.hsv.hsl=function(R){const O=R[0],_=R[1]/100,q=R[2]/100,I=Math.max(q,.01);let B,V;V=(2-_)*q;const Q=(2-_)*I;return B=_*I,B/=Q<=1?Q:2-Q,B=B||0,V/=2,[O,100*B,100*V]},ee.hwb.rgb=function(R){const O=R[0]/360;let _=R[1]/100,q=R[2]/100;const I=_+q;let B;I>1&&(_/=I,q/=I);const V=Math.floor(6*O),Q=1-q;B=6*O-V,1&V&&(B=1-B);const S=_+B*(Q-_);let z,D,k;switch(V){default:case 6:case 0:z=Q,D=S,k=_;break;case 1:z=S,D=Q,k=_;break;case 2:z=_,D=Q,k=S;break;case 3:z=_,D=S,k=Q;break;case 4:z=S,D=_,k=Q;break;case 5:z=Q,D=_,k=S}return[255*z,255*D,255*k]},ee.cmyk.rgb=function(R){const _=R[1]/100,q=R[2]/100,I=R[3]/100;return[255*(1-Math.min(1,R[0]/100*(1-I)+I)),255*(1-Math.min(1,_*(1-I)+I)),255*(1-Math.min(1,q*(1-I)+I))]},ee.xyz.rgb=function(R){const O=R[0]/100,_=R[1]/100,q=R[2]/100;let I,B,V;return I=3.2406*O+-1.5372*_+-.4986*q,B=-.9689*O+1.8758*_+.0415*q,V=.0557*O+-.204*_+1.057*q,I=I>.0031308?1.055*I**(1/2.4)-.055:12.92*I,B=B>.0031308?1.055*B**(1/2.4)-.055:12.92*B,V=V>.0031308?1.055*V**(1/2.4)-.055:12.92*V,I=Math.min(Math.max(0,I),1),B=Math.min(Math.max(0,B),1),V=Math.min(Math.max(0,V),1),[255*I,255*B,255*V]},ee.xyz.lab=function(R){let O=R[0],_=R[1],q=R[2];return O/=95.047,_/=100,q/=108.883,O=O>.008856?O**(1/3):7.787*O+16/116,_=_>.008856?_**(1/3):7.787*_+16/116,q=q>.008856?q**(1/3):7.787*q+16/116,[116*_-16,500*(O-_),200*(_-q)]},ee.lab.xyz=function(R){let I,B,V;B=(R[0]+16)/116,I=R[1]/500+B,V=B-R[2]/200;const Q=B**3,S=I**3,z=V**3;return B=Q>.008856?Q:(B-16/116)/7.787,I=S>.008856?S:(I-16/116)/7.787,V=z>.008856?z:(V-16/116)/7.787,I*=95.047,B*=100,V*=108.883,[I,B,V]},ee.lab.lch=function(R){const O=R[0],_=R[1],q=R[2];let I;return I=360*Math.atan2(q,_)/2/Math.PI,I<0&&(I+=360),[O,Math.sqrt(_*_+q*q),I]},ee.lch.lab=function(R){const _=R[1],I=R[2]/360*2*Math.PI;return[R[0],_*Math.cos(I),_*Math.sin(I)]},ee.rgb.ansi16=function(R,O=null){const[_,q,I]=R;let B=null===O?ee.rgb.hsv(R)[2]:O;if(B=Math.round(B/50),0===B)return 30;let V=30+(Math.round(I/255)<<2|Math.round(q/255)<<1|Math.round(_/255));return 2===B&&(V+=60),V},ee.hsv.ansi16=function(R){return ee.rgb.ansi16(ee.hsv.rgb(R),R[2])},ee.rgb.ansi256=function(R){const O=R[0],_=R[1],q=R[2];return O===_&&_===q?O<8?16:O>248?231:Math.round((O-8)/247*24)+232:16+36*Math.round(O/255*5)+6*Math.round(_/255*5)+Math.round(q/255*5)},ee.ansi16.rgb=function(R){let O=R%10;if(0===O||7===O)return R>50&&(O+=3.5),O=O/10.5*255,[O,O,O];const _=.5*(1+~~(R>50));return[(1&O)*_*255,(O>>1&1)*_*255,(O>>2&1)*_*255]},ee.ansi256.rgb=function(R){if(R>=232){const B=10*(R-232)+8;return[B,B,B]}let O;return R-=16,[Math.floor(R/36)/5*255,Math.floor((O=R%36)/6)/5*255,O%6/5*255]},ee.rgb.hex=function(R){const _=(((255&Math.round(R[0]))<<16)+((255&Math.round(R[1]))<<8)+(255&Math.round(R[2]))).toString(16).toUpperCase();return"000000".substring(_.length)+_},ee.hex.rgb=function(R){const O=R.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!O)return[0,0,0];let _=O[0];3===O[0].length&&(_=_.split("").map(Q=>Q+Q).join(""));const q=parseInt(_,16);return[q>>16&255,q>>8&255,255&q]},ee.rgb.hcg=function(R){const O=R[0]/255,_=R[1]/255,q=R[2]/255,I=Math.max(Math.max(O,_),q),B=Math.min(Math.min(O,_),q),V=I-B;let Q,S;return Q=V<1?B/(1-V):0,S=V<=0?0:I===O?(_-q)/V%6:I===_?2+(q-O)/V:4+(O-_)/V,S/=6,S%=1,[360*S,100*V,100*Q]},ee.hsl.hcg=function(R){const O=R[1]/100,_=R[2]/100,q=_<.5?2*O*_:2*O*(1-_);let I=0;return q<1&&(I=(_-.5*q)/(1-q)),[R[0],100*q,100*I]},ee.hsv.hcg=function(R){const _=R[2]/100,q=R[1]/100*_;let I=0;return q<1&&(I=(_-q)/(1-q)),[R[0],100*q,100*I]},ee.hcg.rgb=function(R){const _=R[1]/100,q=R[2]/100;if(0===_)return[255*q,255*q,255*q];const I=[0,0,0],B=R[0]/360%1*6,V=B%1,Q=1-V;let S=0;switch(Math.floor(B)){case 0:I[0]=1,I[1]=V,I[2]=0;break;case 1:I[0]=Q,I[1]=1,I[2]=0;break;case 2:I[0]=0,I[1]=1,I[2]=V;break;case 3:I[0]=0,I[1]=Q,I[2]=1;break;case 4:I[0]=V,I[1]=0,I[2]=1;break;default:I[0]=1,I[1]=0,I[2]=Q}return S=(1-_)*q,[255*(_*I[0]+S),255*(_*I[1]+S),255*(_*I[2]+S)]},ee.hcg.hsv=function(R){const O=R[1]/100,q=O+R[2]/100*(1-O);let I=0;return q>0&&(I=O/q),[R[0],100*I,100*q]},ee.hcg.hsl=function(R){const O=R[1]/100,q=R[2]/100*(1-O)+.5*O;let I=0;return q>0&&q<.5?I=O/(2*q):q>=.5&&q<1&&(I=O/(2*(1-q))),[R[0],100*I,100*q]},ee.hcg.hwb=function(R){const O=R[1]/100,q=O+R[2]/100*(1-O);return[R[0],100*(q-O),100*(1-q)]},ee.hwb.hcg=function(R){const q=1-R[2]/100,I=q-R[1]/100;let B=0;return I<1&&(B=(q-I)/(1-I)),[R[0],100*I,100*B]},ee.apple.rgb=function(R){return[R[0]/65535*255,R[1]/65535*255,R[2]/65535*255]},ee.rgb.apple=function(R){return[R[0]/255*65535,R[1]/255*65535,R[2]/255*65535]},ee.gray.rgb=function(R){return[R[0]/100*255,R[0]/100*255,R[0]/100*255]},ee.gray.hsl=function(R){return[0,0,R[0]]},ee.gray.hsv=ee.gray.hsl,ee.gray.hwb=function(R){return[0,100,R[0]]},ee.gray.cmyk=function(R){return[0,0,0,R[0]]},ee.gray.lab=function(R){return[R[0],0,0]},ee.gray.hex=function(R){const O=255&Math.round(R[0]/100*255),q=((O<<16)+(O<<8)+O).toString(16).toUpperCase();return"000000".substring(q.length)+q},ee.rgb.gray=function(R){return[(R[0]+R[1]+R[2])/3/255*100]}},1824:(ct,je,b)=>{const o=b(4070),w=b(5934),ee={};Object.keys(o).forEach(_=>{ee[_]={},Object.defineProperty(ee[_],"channels",{value:o[_].channels}),Object.defineProperty(ee[_],"labels",{value:o[_].labels});const q=w(_);Object.keys(q).forEach(B=>{const V=q[B];ee[_][B]=function O(_){const q=function(...I){const B=I[0];if(null==B)return B;B.length>1&&(I=B);const V=_(I);if("object"==typeof V)for(let Q=V.length,S=0;S1&&(I=B),_(I))};return"conversion"in _&&(q.conversion=_.conversion),q}(V)})}),ct.exports=ee},5934:(ct,je,b)=>{const o=b(4070);function ae(O,_){return function(q){return _(O(q))}}function R(O,_){const q=[_[O].parent,O];let I=o[_[O].parent][O],B=_[O].parent;for(;_[B].parent;)q.unshift(_[B].parent),I=ae(o[_[B].parent][B],I),B=_[B].parent;return I.conversion=q,I}ct.exports=function(O){const _=function ee(O){const _=function w(){const O={},_=Object.keys(o);for(let q=_.length,I=0;I{"use strict";ct.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},5619:(ct,je,b)=>{"use strict";b.d(je,{X:()=>w});var o=b(8645);class w extends o.x{constructor(ae){super(),this._value=ae}get value(){return this.getValue()}_subscribe(ae){const R=super._subscribe(ae);return!R.closed&&ae.next(this._value),R}getValue(){const{hasError:ae,thrownError:R,_value:O}=this;if(ae)throw R;return this._throwIfClosed(),O}next(ae){super.next(this._value=ae)}}},5592:(ct,je,b)=>{"use strict";b.d(je,{y:()=>q});var o=b(305),w=b(7394),ee=b(4850),ae=b(8407),R=b(2653),O=b(4674),_=b(1441);let q=(()=>{class Q{constructor(z){z&&(this._subscribe=z)}lift(z){const D=new Q;return D.source=this,D.operator=z,D}subscribe(z,D,k){const P=function V(Q){return Q&&Q instanceof o.Lv||function B(Q){return Q&&(0,O.m)(Q.next)&&(0,O.m)(Q.error)&&(0,O.m)(Q.complete)}(Q)&&(0,w.Nn)(Q)}(z)?z:new o.Hp(z,D,k);return(0,_.x)(()=>{const{operator:ne,source:ce}=this;P.add(ne?ne.call(P,ce):ce?this._subscribe(P):this._trySubscribe(P))}),P}_trySubscribe(z){try{return this._subscribe(z)}catch(D){z.error(D)}}forEach(z,D){return new(D=I(D))((k,P)=>{const ne=new o.Hp({next:ce=>{try{z(ce)}catch(Ne){P(Ne),ne.unsubscribe()}},error:P,complete:k});this.subscribe(ne)})}_subscribe(z){var D;return null===(D=this.source)||void 0===D?void 0:D.subscribe(z)}[ee.L](){return this}pipe(...z){return(0,ae.U)(z)(this)}toPromise(z){return new(z=I(z))((D,k)=>{let P;this.subscribe(ne=>P=ne,ne=>k(ne),()=>D(P))})}}return Q.create=S=>new Q(S),Q})();function I(Q){var S;return null!==(S=Q??R.config.Promise)&&void 0!==S?S:Promise}},8645:(ct,je,b)=>{"use strict";b.d(je,{x:()=>_});var o=b(5592),w=b(7394);const ae=(0,b(2306).d)(I=>function(){I(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var R=b(9039),O=b(1441);let _=(()=>{class I extends o.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(V){const Q=new q(this,this);return Q.operator=V,Q}_throwIfClosed(){if(this.closed)throw new ae}next(V){(0,O.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const Q of this.currentObservers)Q.next(V)}})}error(V){(0,O.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=V;const{observers:Q}=this;for(;Q.length;)Q.shift().error(V)}})}complete(){(0,O.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:V}=this;for(;V.length;)V.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var V;return(null===(V=this.observers)||void 0===V?void 0:V.length)>0}_trySubscribe(V){return this._throwIfClosed(),super._trySubscribe(V)}_subscribe(V){return this._throwIfClosed(),this._checkFinalizedStatuses(V),this._innerSubscribe(V)}_innerSubscribe(V){const{hasError:Q,isStopped:S,observers:z}=this;return Q||S?w.Lc:(this.currentObservers=null,z.push(V),new w.w0(()=>{this.currentObservers=null,(0,R.P)(z,V)}))}_checkFinalizedStatuses(V){const{hasError:Q,thrownError:S,isStopped:z}=this;Q?V.error(S):z&&V.complete()}asObservable(){const V=new o.y;return V.source=this,V}}return I.create=(B,V)=>new q(B,V),I})();class q extends _{constructor(B,V){super(),this.destination=B,this.source=V}next(B){var V,Q;null===(Q=null===(V=this.destination)||void 0===V?void 0:V.next)||void 0===Q||Q.call(V,B)}error(B){var V,Q;null===(Q=null===(V=this.destination)||void 0===V?void 0:V.error)||void 0===Q||Q.call(V,B)}complete(){var B,V;null===(V=null===(B=this.destination)||void 0===B?void 0:B.complete)||void 0===V||V.call(B)}_subscribe(B){var V,Q;return null!==(Q=null===(V=this.source)||void 0===V?void 0:V.subscribe(B))&&void 0!==Q?Q:w.Lc}}},305:(ct,je,b)=>{"use strict";b.d(je,{Hp:()=>k,Lv:()=>Q});var o=b(4674),w=b(7394),ee=b(2653),ae=b(3894),R=b(2420);const O=I("C",void 0,void 0);function I(ue,_e,Be){return{kind:ue,value:_e,error:Be}}var B=b(7599),V=b(1441);class Q extends w.w0{constructor(_e){super(),this.isStopped=!1,_e?(this.destination=_e,(0,w.Nn)(_e)&&_e.add(this)):this.destination=Ne}static create(_e,Be,we){return new k(_e,Be,we)}next(_e){this.isStopped?ce(function q(ue){return I("N",ue,void 0)}(_e),this):this._next(_e)}error(_e){this.isStopped?ce(function _(ue){return I("E",void 0,ue)}(_e),this):(this.isStopped=!0,this._error(_e))}complete(){this.isStopped?ce(O,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(_e){this.destination.next(_e)}_error(_e){try{this.destination.error(_e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const S=Function.prototype.bind;function z(ue,_e){return S.call(ue,_e)}class D{constructor(_e){this.partialObserver=_e}next(_e){const{partialObserver:Be}=this;if(Be.next)try{Be.next(_e)}catch(we){P(we)}}error(_e){const{partialObserver:Be}=this;if(Be.error)try{Be.error(_e)}catch(we){P(we)}else P(_e)}complete(){const{partialObserver:_e}=this;if(_e.complete)try{_e.complete()}catch(Be){P(Be)}}}class k extends Q{constructor(_e,Be,we){let re;if(super(),(0,o.m)(_e)||!_e)re={next:_e??void 0,error:Be??void 0,complete:we??void 0};else{let U;this&&ee.config.useDeprecatedNextContext?(U=Object.create(_e),U.unsubscribe=()=>this.unsubscribe(),re={next:_e.next&&z(_e.next,U),error:_e.error&&z(_e.error,U),complete:_e.complete&&z(_e.complete,U)}):re=_e}this.destination=new D(re)}}function P(ue){ee.config.useDeprecatedSynchronousErrorHandling?(0,V.O)(ue):(0,ae.h)(ue)}function ce(ue,_e){const{onStoppedNotification:Be}=ee.config;Be&&B.z.setTimeout(()=>Be(ue,_e))}const Ne={closed:!0,next:R.Z,error:function ne(ue){throw ue},complete:R.Z}},7394:(ct,je,b)=>{"use strict";b.d(je,{Lc:()=>O,w0:()=>R,Nn:()=>_});var o=b(4674);const ee=(0,b(2306).d)(I=>function(V){I(this),this.message=V?`${V.length} errors occurred during unsubscription:\n${V.map((Q,S)=>`${S+1}) ${Q.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=V});var ae=b(9039);class R{constructor(B){this.initialTeardown=B,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let B;if(!this.closed){this.closed=!0;const{_parentage:V}=this;if(V)if(this._parentage=null,Array.isArray(V))for(const z of V)z.remove(this);else V.remove(this);const{initialTeardown:Q}=this;if((0,o.m)(Q))try{Q()}catch(z){B=z instanceof ee?z.errors:[z]}const{_finalizers:S}=this;if(S){this._finalizers=null;for(const z of S)try{q(z)}catch(D){B=B??[],D instanceof ee?B=[...B,...D.errors]:B.push(D)}}if(B)throw new ee(B)}}add(B){var V;if(B&&B!==this)if(this.closed)q(B);else{if(B instanceof R){if(B.closed||B._hasParent(this))return;B._addParent(this)}(this._finalizers=null!==(V=this._finalizers)&&void 0!==V?V:[]).push(B)}}_hasParent(B){const{_parentage:V}=this;return V===B||Array.isArray(V)&&V.includes(B)}_addParent(B){const{_parentage:V}=this;this._parentage=Array.isArray(V)?(V.push(B),V):V?[V,B]:B}_removeParent(B){const{_parentage:V}=this;V===B?this._parentage=null:Array.isArray(V)&&(0,ae.P)(V,B)}remove(B){const{_finalizers:V}=this;V&&(0,ae.P)(V,B),B instanceof R&&B._removeParent(this)}}R.EMPTY=(()=>{const I=new R;return I.closed=!0,I})();const O=R.EMPTY;function _(I){return I instanceof R||I&&"closed"in I&&(0,o.m)(I.remove)&&(0,o.m)(I.add)&&(0,o.m)(I.unsubscribe)}function q(I){(0,o.m)(I)?I():I.unsubscribe()}},2653:(ct,je,b)=>{"use strict";b.d(je,{config:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(ct,je,b)=>{"use strict";b.d(je,{a:()=>B});var o=b(5592),w=b(7453),ee=b(7715),ae=b(2737),R=b(7400),O=b(9940),_=b(2714),q=b(8251),I=b(7103);function B(...S){const z=(0,O.yG)(S),D=(0,O.jO)(S),{args:k,keys:P}=(0,w.D)(S);if(0===k.length)return(0,ee.D)([],z);const ne=new o.y(function V(S,z,D=ae.y){return k=>{Q(z,()=>{const{length:P}=S,ne=new Array(P);let ce=P,Ne=P;for(let ue=0;ue{const _e=(0,ee.D)(S[ue],z);let Be=!1;_e.subscribe((0,q.x)(k,we=>{ne[ue]=we,Be||(Be=!0,Ne--),Ne||k.next(D(ne.slice()))},()=>{--ce||k.complete()}))},k)},k)}}(k,z,P?ce=>(0,_.n)(P,ce):ae.y));return D?ne.pipe((0,R.Z)(D)):ne}function Q(S,z,D){S?(0,I.f)(D,S,z):z()}},6232:(ct,je,b)=>{"use strict";b.d(je,{E:()=>w});const w=new(b(5592).y)(R=>R.complete())},7715:(ct,je,b)=>{"use strict";b.d(je,{D:()=>we});var o=b(4829),w=b(7103),ee=b(9360),ae=b(8251);function R(re,U=0){return(0,ee.e)((ge,se)=>{ge.subscribe((0,ae.x)(se,de=>(0,w.f)(se,re,()=>se.next(de),U),()=>(0,w.f)(se,re,()=>se.complete(),U),de=>(0,w.f)(se,re,()=>se.error(de),U)))})}function O(re,U=0){return(0,ee.e)((ge,se)=>{se.add(re.schedule(()=>ge.subscribe(se),U))})}var I=b(5592),V=b(4971),Q=b(4674);function z(re,U){if(!re)throw new Error("Iterable cannot be null");return new I.y(ge=>{(0,w.f)(ge,U,()=>{const se=re[Symbol.asyncIterator]();(0,w.f)(ge,U,()=>{se.next().then(de=>{de.done?ge.complete():ge.next(de.value)})},0,!0)})})}var D=b(8382),k=b(4026),P=b(4266),ne=b(3664),ce=b(5726),Ne=b(9853),ue=b(541);function we(re,U){return U?function Be(re,U){if(null!=re){if((0,D.c)(re))return function _(re,U){return(0,o.Xf)(re).pipe(O(U),R(U))}(re,U);if((0,P.z)(re))return function B(re,U){return new I.y(ge=>{let se=0;return U.schedule(function(){se===re.length?ge.complete():(ge.next(re[se++]),ge.closed||this.schedule())})})}(re,U);if((0,k.t)(re))return function q(re,U){return(0,o.Xf)(re).pipe(O(U),R(U))}(re,U);if((0,ce.D)(re))return z(re,U);if((0,ne.T)(re))return function S(re,U){return new I.y(ge=>{let se;return(0,w.f)(ge,U,()=>{se=re[V.h](),(0,w.f)(ge,U,()=>{let de,H;try{({value:de,done:H}=se.next())}catch(he){return void ge.error(he)}H?ge.complete():ge.next(de)},0,!0)}),()=>(0,Q.m)(se?.return)&&se.return()})}(re,U);if((0,ue.L)(re))return function _e(re,U){return z((0,ue.Q)(re),U)}(re,U)}throw(0,Ne.z)(re)}(re,U):(0,o.Xf)(re)}},2438:(ct,je,b)=>{"use strict";b.d(je,{R:()=>B});var o=b(4829),w=b(5592),ee=b(1631),ae=b(4266),R=b(4674),O=b(7400);const _=["addListener","removeListener"],q=["addEventListener","removeEventListener"],I=["on","off"];function B(D,k,P,ne){if((0,R.m)(P)&&(ne=P,P=void 0),ne)return B(D,k,P).pipe((0,O.Z)(ne));const[ce,Ne]=function z(D){return(0,R.m)(D.addEventListener)&&(0,R.m)(D.removeEventListener)}(D)?q.map(ue=>_e=>D[ue](k,_e,P)):function Q(D){return(0,R.m)(D.addListener)&&(0,R.m)(D.removeListener)}(D)?_.map(V(D,k)):function S(D){return(0,R.m)(D.on)&&(0,R.m)(D.off)}(D)?I.map(V(D,k)):[];if(!ce&&(0,ae.z)(D))return(0,ee.z)(ue=>B(ue,k,P))((0,o.Xf)(D));if(!ce)throw new TypeError("Invalid event target");return new w.y(ue=>{const _e=(...Be)=>ue.next(1Ne(_e)})}function V(D,k){return P=>ne=>D[P](k,ne)}},4829:(ct,je,b)=>{"use strict";b.d(je,{Xf:()=>S});var o=b(7582),w=b(4266),ee=b(4026),ae=b(5592),R=b(8382),O=b(5726),_=b(9853),q=b(3664),I=b(541),B=b(4674),V=b(3894),Q=b(4850);function S(ue){if(ue instanceof ae.y)return ue;if(null!=ue){if((0,R.c)(ue))return function z(ue){return new ae.y(_e=>{const Be=ue[Q.L]();if((0,B.m)(Be.subscribe))return Be.subscribe(_e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ue);if((0,w.z)(ue))return function D(ue){return new ae.y(_e=>{for(let Be=0;Be{ue.then(Be=>{_e.closed||(_e.next(Be),_e.complete())},Be=>_e.error(Be)).then(null,V.h)})}(ue);if((0,O.D)(ue))return ne(ue);if((0,q.T)(ue))return function P(ue){return new ae.y(_e=>{for(const Be of ue)if(_e.next(Be),_e.closed)return;_e.complete()})}(ue);if((0,I.L)(ue))return function ce(ue){return ne((0,I.Q)(ue))}(ue)}throw(0,_.z)(ue)}function ne(ue){return new ae.y(_e=>{(function Ne(ue,_e){var Be,we,re,U;return(0,o.mG)(this,void 0,void 0,function*(){try{for(Be=(0,o.KL)(ue);!(we=yield Be.next()).done;)if(_e.next(we.value),_e.closed)return}catch(ge){re={error:ge}}finally{try{we&&!we.done&&(U=Be.return)&&(yield U.call(Be))}finally{if(re)throw re.error}}_e.complete()})})(ue,_e).catch(Be=>_e.error(Be))})}},2096:(ct,je,b)=>{"use strict";b.d(je,{of:()=>ee});var o=b(9940),w=b(7715);function ee(...ae){const R=(0,o.yG)(ae);return(0,w.D)(ae,R)}},8251:(ct,je,b)=>{"use strict";b.d(je,{x:()=>w});var o=b(305);function w(ae,R,O,_,q){return new ee(ae,R,O,_,q)}class ee extends o.Lv{constructor(R,O,_,q,I,B){super(R),this.onFinalize=I,this.shouldUnsubscribe=B,this._next=O?function(V){try{O(V)}catch(Q){R.error(Q)}}:super._next,this._error=q?function(V){try{q(V)}catch(Q){R.error(Q)}finally{this.unsubscribe()}}:super._error,this._complete=_?function(){try{_()}catch(V){R.error(V)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var R;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:O}=this;super.unsubscribe(),!O&&(null===(R=this.onFinalize)||void 0===R||R.call(this))}}}},6328:(ct,je,b)=>{"use strict";b.d(je,{b:()=>ee});var o=b(1631),w=b(4674);function ee(ae,R){return(0,w.m)(R)?(0,o.z)(ae,R,1):(0,o.z)(ae,1)}},3997:(ct,je,b)=>{"use strict";b.d(je,{x:()=>ae});var o=b(2737),w=b(9360),ee=b(8251);function ae(O,_=o.y){return O=O??R,(0,w.e)((q,I)=>{let B,V=!0;q.subscribe((0,ee.x)(I,Q=>{const S=_(Q);(V||!O(B,S))&&(V=!1,B=S,I.next(Q))}))})}function R(O,_){return O===_}},2181:(ct,je,b)=>{"use strict";b.d(je,{h:()=>ee});var o=b(9360),w=b(8251);function ee(ae,R){return(0,o.e)((O,_)=>{let q=0;O.subscribe((0,w.x)(_,I=>ae.call(R,I,q++)&&_.next(I)))})}},4716:(ct,je,b)=>{"use strict";b.d(je,{x:()=>w});var o=b(9360);function w(ee){return(0,o.e)((ae,R)=>{try{ae.subscribe(R)}finally{R.add(ee)}})}},7398:(ct,je,b)=>{"use strict";b.d(je,{U:()=>ee});var o=b(9360),w=b(8251);function ee(ae,R){return(0,o.e)((O,_)=>{let q=0;O.subscribe((0,w.x)(_,I=>{_.next(ae.call(R,I,q++))}))})}},7537:(ct,je,b)=>{"use strict";b.d(je,{J:()=>ee});var o=b(1631),w=b(2737);function ee(ae=1/0){return(0,o.z)(w.y,ae)}},1631:(ct,je,b)=>{"use strict";b.d(je,{z:()=>q});var o=b(7398),w=b(4829),ee=b(9360),ae=b(7103),R=b(8251),_=b(4674);function q(I,B,V=1/0){return(0,_.m)(B)?q((Q,S)=>(0,o.U)((z,D)=>B(Q,z,S,D))((0,w.Xf)(I(Q,S))),V):("number"==typeof B&&(V=B),(0,ee.e)((Q,S)=>function O(I,B,V,Q,S,z,D,k){const P=[];let ne=0,ce=0,Ne=!1;const ue=()=>{Ne&&!P.length&&!ne&&B.complete()},_e=we=>ne{z&&B.next(we),ne++;let re=!1;(0,w.Xf)(V(we,ce++)).subscribe((0,R.x)(B,U=>{S?.(U),z?_e(U):B.next(U)},()=>{re=!0},void 0,()=>{if(re)try{for(ne--;P.length&&neBe(U)):Be(U)}ue()}catch(U){B.error(U)}}))};return I.subscribe((0,R.x)(B,_e,()=>{Ne=!0,ue()})),()=>{k?.()}}(Q,S,I,V)))}},3020:(ct,je,b)=>{"use strict";b.d(je,{B:()=>R});var o=b(4829),w=b(8645),ee=b(305),ae=b(9360);function R(_={}){const{connector:q=(()=>new w.x),resetOnError:I=!0,resetOnComplete:B=!0,resetOnRefCountZero:V=!0}=_;return Q=>{let S,z,D,k=0,P=!1,ne=!1;const ce=()=>{z?.unsubscribe(),z=void 0},Ne=()=>{ce(),S=D=void 0,P=ne=!1},ue=()=>{const _e=S;Ne(),_e?.unsubscribe()};return(0,ae.e)((_e,Be)=>{k++,!ne&&!P&&ce();const we=D=D??q();Be.add(()=>{k--,0===k&&!ne&&!P&&(z=O(ue,V))}),we.subscribe(Be),!S&&k>0&&(S=new ee.Hp({next:re=>we.next(re),error:re=>{ne=!0,ce(),z=O(Ne,I,re),we.error(re)},complete:()=>{P=!0,ce(),z=O(Ne,B),we.complete()}}),(0,o.Xf)(_e).subscribe(S))})(Q)}}function O(_,q,...I){if(!0===q)return void _();if(!1===q)return;const B=new ee.Hp({next:()=>{B.unsubscribe(),_()}});return(0,o.Xf)(q(...I)).subscribe(B)}},4664:(ct,je,b)=>{"use strict";b.d(je,{w:()=>ae});var o=b(4829),w=b(9360),ee=b(8251);function ae(R,O){return(0,w.e)((_,q)=>{let I=null,B=0,V=!1;const Q=()=>V&&!I&&q.complete();_.subscribe((0,ee.x)(q,S=>{I?.unsubscribe();let z=0;const D=B++;(0,o.Xf)(R(S,D)).subscribe(I=(0,ee.x)(q,k=>q.next(O?O(S,k,D,z++):k),()=>{I=null,Q()}))},()=>{V=!0,Q()}))})}},8180:(ct,je,b)=>{"use strict";b.d(je,{q:()=>ae});var o=b(6232),w=b(9360),ee=b(8251);function ae(R){return R<=0?()=>o.E:(0,w.e)((O,_)=>{let q=0;O.subscribe((0,ee.x)(_,I=>{++q<=R&&(_.next(I),R<=q&&_.complete())}))})}},9397:(ct,je,b)=>{"use strict";b.d(je,{b:()=>R});var o=b(4674),w=b(9360),ee=b(8251),ae=b(2737);function R(O,_,q){const I=(0,o.m)(O)||_||q?{next:O,error:_,complete:q}:O;return I?(0,w.e)((B,V)=>{var Q;null===(Q=I.subscribe)||void 0===Q||Q.call(I);let S=!0;B.subscribe((0,ee.x)(V,z=>{var D;null===(D=I.next)||void 0===D||D.call(I,z),V.next(z)},()=>{var z;S=!1,null===(z=I.complete)||void 0===z||z.call(I),V.complete()},z=>{var D;S=!1,null===(D=I.error)||void 0===D||D.call(I,z),V.error(z)},()=>{var z,D;S&&(null===(z=I.unsubscribe)||void 0===z||z.call(I)),null===(D=I.finalize)||void 0===D||D.call(I)}))}):ae.y}},4352:(ct,je,b)=>{"use strict";b.d(je,{P:()=>B,z:()=>I});var o=b(7394);class w extends o.w0{constructor(Q,S){super()}schedule(Q,S=0){return this}}const ee={setInterval(V,Q,...S){const{delegate:z}=ee;return z?.setInterval?z.setInterval(V,Q,...S):setInterval(V,Q,...S)},clearInterval(V){const{delegate:Q}=ee;return(Q?.clearInterval||clearInterval)(V)},delegate:void 0};var ae=b(9039);const O={now:()=>(O.delegate||Date).now(),delegate:void 0};class _{constructor(Q,S=_.now){this.schedulerActionCtor=Q,this.now=S}schedule(Q,S=0,z){return new this.schedulerActionCtor(this,Q).schedule(z,S)}}_.now=O.now;const I=new class q extends _{constructor(Q,S=_.now){super(Q,S),this.actions=[],this._active=!1}flush(Q){const{actions:S}=this;if(this._active)return void S.push(Q);let z;this._active=!0;do{if(z=Q.execute(Q.state,Q.delay))break}while(Q=S.shift());if(this._active=!1,z){for(;Q=S.shift();)Q.unsubscribe();throw z}}}(class R extends w{constructor(Q,S){super(Q,S),this.scheduler=Q,this.work=S,this.pending=!1}schedule(Q,S=0){var z;if(this.closed)return this;this.state=Q;const D=this.id,k=this.scheduler;return null!=D&&(this.id=this.recycleAsyncId(k,D,S)),this.pending=!0,this.delay=S,this.id=null!==(z=this.id)&&void 0!==z?z:this.requestAsyncId(k,this.id,S),this}requestAsyncId(Q,S,z=0){return ee.setInterval(Q.flush.bind(Q,this),z)}recycleAsyncId(Q,S,z=0){if(null!=z&&this.delay===z&&!1===this.pending)return S;null!=S&&ee.clearInterval(S)}execute(Q,S){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const z=this._execute(Q,S);if(z)return z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Q,S){let D,z=!1;try{this.work(Q)}catch(k){z=!0,D=k||new Error("Scheduled action threw falsy error")}if(z)return this.unsubscribe(),D}unsubscribe(){if(!this.closed){const{id:Q,scheduler:S}=this,{actions:z}=S;this.work=this.state=this.scheduler=null,this.pending=!1,(0,ae.P)(z,this),null!=Q&&(this.id=this.recycleAsyncId(S,Q,null)),this.delay=null,super.unsubscribe()}}}),B=I},7599:(ct,je,b)=>{"use strict";b.d(je,{z:()=>o});const o={setTimeout(w,ee,...ae){const{delegate:R}=o;return R?.setTimeout?R.setTimeout(w,ee,...ae):setTimeout(w,ee,...ae)},clearTimeout(w){const{delegate:ee}=o;return(ee?.clearTimeout||clearTimeout)(w)},delegate:void 0}},4971:(ct,je,b)=>{"use strict";b.d(je,{h:()=>w});const w=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(ct,je,b)=>{"use strict";b.d(je,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(ct,je,b)=>{"use strict";b.d(je,{_6:()=>O,jO:()=>ae,yG:()=>R});var o=b(4674),w=b(671);function ee(_){return _[_.length-1]}function ae(_){return(0,o.m)(ee(_))?_.pop():void 0}function R(_){return(0,w.K)(ee(_))?_.pop():void 0}function O(_,q){return"number"==typeof ee(_)?_.pop():q}},7453:(ct,je,b)=>{"use strict";b.d(je,{D:()=>R});const{isArray:o}=Array,{getPrototypeOf:w,prototype:ee,keys:ae}=Object;function R(_){if(1===_.length){const q=_[0];if(o(q))return{args:q,keys:null};if(function O(_){return _&&"object"==typeof _&&w(_)===ee}(q)){const I=ae(q);return{args:I.map(B=>q[B]),keys:I}}}return{args:_,keys:null}}},9039:(ct,je,b)=>{"use strict";function o(w,ee){if(w){const ae=w.indexOf(ee);0<=ae&&w.splice(ae,1)}}b.d(je,{P:()=>o})},2306:(ct,je,b)=>{"use strict";function o(w){const ae=w(R=>{Error.call(R),R.stack=(new Error).stack});return ae.prototype=Object.create(Error.prototype),ae.prototype.constructor=ae,ae}b.d(je,{d:()=>o})},2714:(ct,je,b)=>{"use strict";function o(w,ee){return w.reduce((ae,R,O)=>(ae[R]=ee[O],ae),{})}b.d(je,{n:()=>o})},1441:(ct,je,b)=>{"use strict";b.d(je,{O:()=>ae,x:()=>ee});var o=b(2653);let w=null;function ee(R){if(o.config.useDeprecatedSynchronousErrorHandling){const O=!w;if(O&&(w={errorThrown:!1,error:null}),R(),O){const{errorThrown:_,error:q}=w;if(w=null,_)throw q}}else R()}function ae(R){o.config.useDeprecatedSynchronousErrorHandling&&w&&(w.errorThrown=!0,w.error=R)}},7103:(ct,je,b)=>{"use strict";function o(w,ee,ae,R=0,O=!1){const _=ee.schedule(function(){ae(),O?w.add(this.schedule(null,R)):this.unsubscribe()},R);if(w.add(_),!O)return _}b.d(je,{f:()=>o})},2737:(ct,je,b)=>{"use strict";function o(w){return w}b.d(je,{y:()=>o})},4266:(ct,je,b)=>{"use strict";b.d(je,{z:()=>o});const o=w=>w&&"number"==typeof w.length&&"function"!=typeof w},5726:(ct,je,b)=>{"use strict";b.d(je,{D:()=>w});var o=b(4674);function w(ee){return Symbol.asyncIterator&&(0,o.m)(ee?.[Symbol.asyncIterator])}},4674:(ct,je,b)=>{"use strict";function o(w){return"function"==typeof w}b.d(je,{m:()=>o})},8382:(ct,je,b)=>{"use strict";b.d(je,{c:()=>ee});var o=b(4850),w=b(4674);function ee(ae){return(0,w.m)(ae[o.L])}},3664:(ct,je,b)=>{"use strict";b.d(je,{T:()=>ee});var o=b(4971),w=b(4674);function ee(ae){return(0,w.m)(ae?.[o.h])}},4026:(ct,je,b)=>{"use strict";b.d(je,{t:()=>w});var o=b(4674);function w(ee){return(0,o.m)(ee?.then)}},541:(ct,je,b)=>{"use strict";b.d(je,{L:()=>ae,Q:()=>ee});var o=b(7582),w=b(4674);function ee(R){return(0,o.FC)(this,arguments,function*(){const _=R.getReader();try{for(;;){const{value:q,done:I}=yield(0,o.qq)(_.read());if(I)return yield(0,o.qq)(void 0);yield yield(0,o.qq)(q)}}finally{_.releaseLock()}})}function ae(R){return(0,w.m)(R?.getReader)}},671:(ct,je,b)=>{"use strict";b.d(je,{K:()=>w});var o=b(4674);function w(ee){return ee&&(0,o.m)(ee.schedule)}},9360:(ct,je,b)=>{"use strict";b.d(je,{A:()=>w,e:()=>ee});var o=b(4674);function w(ae){return(0,o.m)(ae?.lift)}function ee(ae){return R=>{if(w(R))return R.lift(function(O){try{return ae(O,this)}catch(_){this.error(_)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(ct,je,b)=>{"use strict";b.d(je,{Z:()=>ae});var o=b(7398);const{isArray:w}=Array;function ae(R){return(0,o.U)(O=>function ee(R,O){return w(O)?R(...O):R(O)}(R,O))}},2420:(ct,je,b)=>{"use strict";function o(){}b.d(je,{Z:()=>o})},8407:(ct,je,b)=>{"use strict";b.d(je,{U:()=>ee,z:()=>w});var o=b(2737);function w(...ae){return ee(ae)}function ee(ae){return 0===ae.length?o.y:1===ae.length?ae[0]:function(O){return ae.reduce((_,q)=>q(_),O)}}},3894:(ct,je,b)=>{"use strict";b.d(je,{h:()=>ee});var o=b(2653),w=b(7599);function ee(ae){w.z.setTimeout(()=>{const{onUnhandledError:R}=o.config;if(!R)throw ae;R(ae)})}},9853:(ct,je,b)=>{"use strict";function o(w){return new TypeError(`You provided ${null!==w&&"object"==typeof w?"an invalid object":`'${w}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}b.d(je,{z:()=>o})},5956:(ct,je,b)=>{"use strict";var o=b(9909),w=Array.prototype.concat,ee=Array.prototype.slice,ae=ct.exports=function(O){for(var _=[],q=0,I=O.length;q{ct.exports=function(b){return!(!b||"string"==typeof b)&&(b instanceof Array||Array.isArray(b)||b.length>=0&&(b.splice instanceof Function||Object.getOwnPropertyDescriptor(b,b.length-1)&&"String"!==b.constructor.name))}},863:(ct,je,b)=>{var o={"./ion-accordion_2.entry.js":[8484,8592,8484],"./ion-action-sheet.entry.js":[9882,8592,9882],"./ion-alert.entry.js":[6304,8592,6304],"./ion-app_8.entry.js":[5860,8592,5860],"./ion-avatar_3.entry.js":[3544,3544],"./ion-back-button.entry.js":[505,8592,505],"./ion-backdrop.entry.js":[469,469],"./ion-breadcrumb_2.entry.js":[9857,8592,9857],"./ion-button_2.entry.js":[1372,1372],"./ion-card_5.entry.js":[3150,3150],"./ion-checkbox.entry.js":[7635,8592,7635],"./ion-chip.entry.js":[6673,6673],"./ion-col_3.entry.js":[1315,1315],"./ion-datetime-button.entry.js":[433,9302,433],"./ion-datetime_3.entry.js":[7059,9302,8592,7059],"./ion-fab_3.entry.js":[4087,8592,4087],"./ion-img.entry.js":[1745,1745],"./ion-infinite-scroll_2.entry.js":[9352,8592,9352],"./ion-input.entry.js":[4530,8592,4530],"./ion-item-option_3.entry.js":[8633,8592,8633],"./ion-item_8.entry.js":[5962,8592,5962],"./ion-loading.entry.js":[3483,8592,3483],"./ion-menu_3.entry.js":[2939,8592,8382],"./ion-modal.entry.js":[8577,8592,8577],"./ion-nav_2.entry.js":[5675,8592,5675],"./ion-picker-column-internal.entry.js":[9992,8592,9992],"./ion-picker-internal.entry.js":[9820,9820],"./ion-popover.entry.js":[185,8592,185],"./ion-progress-bar.entry.js":[5454,5454],"./ion-radio_2.entry.js":[4458,8592,4458],"./ion-range.entry.js":[7666,8592,7666],"./ion-refresher_2.entry.js":[7219,8592,7219],"./ion-reorder_2.entry.js":[2975,8592,2975],"./ion-ripple-effect.entry.js":[7465,7465],"./ion-route_4.entry.js":[4764,4764],"./ion-searchbar.entry.js":[3998,8592,3998],"./ion-segment_2.entry.js":[3672,8592,3672],"./ion-select_3.entry.js":[6754,8592,6754],"./ion-spinner.entry.js":[9588,8592,9588],"./ion-split-pane.entry.js":[9793,9793],"./ion-tab-bar_2.entry.js":[4090,8592,4090],"./ion-tab_2.entry.js":[2841,2841],"./ion-text.entry.js":[8811,8811],"./ion-textarea.entry.js":[3734,8592,3734],"./ion-toast.entry.js":[6642,8592,6642],"./ion-toggle.entry.js":[8866,8592,8866]};function w(ee){if(!b.o(o,ee))return Promise.resolve().then(()=>{var O=new Error("Cannot find module '"+ee+"'");throw O.code="MODULE_NOT_FOUND",O});var ae=o[ee],R=ae[0];return Promise.all(ae.slice(1).map(b.e)).then(()=>b(R))}w.keys=()=>Object.keys(o),w.id=863,ct.exports=w},6814:(ct,je,b)=>{"use strict";b.d(je,{Do:()=>k,EM:()=>tt,HT:()=>ae,JF:()=>Yt,JJ:()=>Io,K0:()=>O,Mx:()=>Ut,O5:()=>ar,Ov:()=>X,PM:()=>W,S$:()=>S,V_:()=>q,Ye:()=>P,b0:()=>D,bD:()=>En,ez:()=>zt,mk:()=>hn,q:()=>ee,sg:()=>Nn,tP:()=>Pe,uU:()=>vr,w_:()=>R});var o=b(2029);let w=null;function ee(){return w}function ae(f){w||(w=f)}class R{}const O=new o.OlP("DocumentToken");let _=(()=>{class f{historyGo(y){throw new Error("Not implemented")}static#e=this.\u0275fac=function(T){return new(T||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:function(){return(0,o.f3M)(I)},providedIn:"platform"})}return f})();const q=new o.OlP("Location Initialized");let I=(()=>{class f extends _{constructor(){super(),this._doc=(0,o.f3M)(O),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ee().getBaseHref(this._doc)}onPopState(y){const T=ee().getGlobalEventTarget(this._doc,"window");return T.addEventListener("popstate",y,!1),()=>T.removeEventListener("popstate",y)}onHashChange(y){const T=ee().getGlobalEventTarget(this._doc,"window");return T.addEventListener("hashchange",y,!1),()=>T.removeEventListener("hashchange",y)}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(y){this._location.pathname=y}pushState(y,T,ve){this._history.pushState(y,T,ve)}replaceState(y,T,ve){this._history.replaceState(y,T,ve)}forward(){this._history.forward()}back(){this._history.back()}historyGo(y=0){this._history.go(y)}getState(){return this._history.state}static#e=this.\u0275fac=function(T){return new(T||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:function(){return new f},providedIn:"platform"})}return f})();function B(f,N){if(0==f.length)return N;if(0==N.length)return f;let y=0;return f.endsWith("/")&&y++,N.startsWith("/")&&y++,2==y?f+N.substring(1):1==y?f+N:f+"/"+N}function V(f){const N=f.match(/#|\?|$/),y=N&&N.index||f.length;return f.slice(0,y-("/"===f[y-1]?1:0))+f.slice(y)}function Q(f){return f&&"?"!==f[0]?"?"+f:f}let S=(()=>{class f{historyGo(y){throw new Error("Not implemented")}static#e=this.\u0275fac=function(T){return new(T||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:function(){return(0,o.f3M)(D)},providedIn:"root"})}return f})();const z=new o.OlP("appBaseHref");let D=(()=>{class f extends S{constructor(y,T){super(),this._platformLocation=y,this._removeListenerFns=[],this._baseHref=T??this._platformLocation.getBaseHrefFromDOM()??(0,o.f3M)(O).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(y){this._removeListenerFns.push(this._platformLocation.onPopState(y),this._platformLocation.onHashChange(y))}getBaseHref(){return this._baseHref}prepareExternalUrl(y){return B(this._baseHref,y)}path(y=!1){const T=this._platformLocation.pathname+Q(this._platformLocation.search),ve=this._platformLocation.hash;return ve&&y?`${T}${ve}`:T}pushState(y,T,ve,We){const ot=this.prepareExternalUrl(ve+Q(We));this._platformLocation.pushState(y,T,ot)}replaceState(y,T,ve,We){const ot=this.prepareExternalUrl(ve+Q(We));this._platformLocation.replaceState(y,T,ot)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(y=0){this._platformLocation.historyGo?.(y)}static#e=this.\u0275fac=function(T){return new(T||f)(o.LFG(_),o.LFG(z,8))};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),k=(()=>{class f extends S{constructor(y,T){super(),this._platformLocation=y,this._baseHref="",this._removeListenerFns=[],null!=T&&(this._baseHref=T)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(y){this._removeListenerFns.push(this._platformLocation.onPopState(y),this._platformLocation.onHashChange(y))}getBaseHref(){return this._baseHref}path(y=!1){let T=this._platformLocation.hash;return null==T&&(T="#"),T.length>0?T.substring(1):T}prepareExternalUrl(y){const T=B(this._baseHref,y);return T.length>0?"#"+T:T}pushState(y,T,ve,We){let ot=this.prepareExternalUrl(ve+Q(We));0==ot.length&&(ot=this._platformLocation.pathname),this._platformLocation.pushState(y,T,ot)}replaceState(y,T,ve,We){let ot=this.prepareExternalUrl(ve+Q(We));0==ot.length&&(ot=this._platformLocation.pathname),this._platformLocation.replaceState(y,T,ot)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(y=0){this._platformLocation.historyGo?.(y)}static#e=this.\u0275fac=function(T){return new(T||f)(o.LFG(_),o.LFG(z,8))};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac})}return f})(),P=(()=>{class f{constructor(y){this._subject=new o.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=y;const T=this._locationStrategy.getBaseHref();this._basePath=function ue(f){if(new RegExp("^(https?:)?//").test(f)){const[,y]=f.split(/\/\/[^\/]+/);return y}return f}(V(Ne(T))),this._locationStrategy.onPopState(ve=>{this._subject.emit({url:this.path(!0),pop:!0,state:ve.state,type:ve.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(y=!1){return this.normalize(this._locationStrategy.path(y))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(y,T=""){return this.path()==this.normalize(y+Q(T))}normalize(y){return f.stripTrailingSlash(function ce(f,N){if(!f||!N.startsWith(f))return N;const y=N.substring(f.length);return""===y||["/",";","?","#"].includes(y[0])?y:N}(this._basePath,Ne(y)))}prepareExternalUrl(y){return y&&"/"!==y[0]&&(y="/"+y),this._locationStrategy.prepareExternalUrl(y)}go(y,T="",ve=null){this._locationStrategy.pushState(ve,"",y,T),this._notifyUrlChangeListeners(this.prepareExternalUrl(y+Q(T)),ve)}replaceState(y,T="",ve=null){this._locationStrategy.replaceState(ve,"",y,T),this._notifyUrlChangeListeners(this.prepareExternalUrl(y+Q(T)),ve)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(y=0){this._locationStrategy.historyGo?.(y)}onUrlChange(y){return this._urlChangeListeners.push(y),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(T=>{this._notifyUrlChangeListeners(T.url,T.state)})),()=>{const T=this._urlChangeListeners.indexOf(y);this._urlChangeListeners.splice(T,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(y="",T){this._urlChangeListeners.forEach(ve=>ve(y,T))}subscribe(y,T,ve){return this._subject.subscribe({next:y,error:T,complete:ve})}static#e=this.normalizeQueryParams=Q;static#t=this.joinWithSlash=B;static#n=this.stripTrailingSlash=V;static#r=this.\u0275fac=function(T){return new(T||f)(o.LFG(S))};static#o=this.\u0275prov=o.Yz7({token:f,factory:function(){return function ne(){return new P((0,o.LFG)(S))}()},providedIn:"root"})}return f})();function Ne(f){return f.replace(/\/index.html$/,"")}var Be=function(f){return f[f.Decimal=0]="Decimal",f[f.Percent=1]="Percent",f[f.Currency=2]="Currency",f[f.Scientific=3]="Scientific",f}(Be||{}),re=function(f){return f[f.Format=0]="Format",f[f.Standalone=1]="Standalone",f}(re||{}),U=function(f){return f[f.Narrow=0]="Narrow",f[f.Abbreviated=1]="Abbreviated",f[f.Wide=2]="Wide",f[f.Short=3]="Short",f}(U||{}),ge=function(f){return f[f.Short=0]="Short",f[f.Medium=1]="Medium",f[f.Long=2]="Long",f[f.Full=3]="Full",f}(ge||{}),se=function(f){return f[f.Decimal=0]="Decimal",f[f.Group=1]="Group",f[f.List=2]="List",f[f.PercentSign=3]="PercentSign",f[f.PlusSign=4]="PlusSign",f[f.MinusSign=5]="MinusSign",f[f.Exponential=6]="Exponential",f[f.SuperscriptingExponent=7]="SuperscriptingExponent",f[f.PerMille=8]="PerMille",f[f.Infinity=9]="Infinity",f[f.NaN=10]="NaN",f[f.TimeSeparator=11]="TimeSeparator",f[f.CurrencyDecimal=12]="CurrencyDecimal",f[f.CurrencyGroup=13]="CurrencyGroup",f}(se||{});function Y(f,N){return ut((0,o.cg1)(f)[o.wAp.DateFormat],N)}function fe(f,N){return ut((0,o.cg1)(f)[o.wAp.TimeFormat],N)}function ie(f,N){return ut((0,o.cg1)(f)[o.wAp.DateTimeFormat],N)}function Ve(f,N){const y=(0,o.cg1)(f),T=y[o.wAp.NumberSymbols][N];if(typeof T>"u"){if(N===se.CurrencyDecimal)return y[o.wAp.NumberSymbols][se.Decimal];if(N===se.CurrencyGroup)return y[o.wAp.NumberSymbols][se.Group]}return T}function Ze(f){if(!f[o.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${f[o.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ut(f,N){for(let y=N;y>-1;y--)if(typeof f[y]<"u")return f[y];throw new Error("Locale data API: locale data undefined")}function pt(f){const[N,y]=f.split(":");return{hours:+N,minutes:+y}}const Lt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,$t={},wn=/((?:[^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 Kt=function(f){return f[f.Short=0]="Short",f[f.ShortGMT=1]="ShortGMT",f[f.Long=2]="Long",f[f.Extended=3]="Extended",f}(Kt||{}),Nt=function(f){return f[f.FullYear=0]="FullYear",f[f.Month=1]="Month",f[f.Date=2]="Date",f[f.Hours=3]="Hours",f[f.Minutes=4]="Minutes",f[f.Seconds=5]="Seconds",f[f.FractionalSeconds=6]="FractionalSeconds",f[f.Day=7]="Day",f}(Nt||{}),jt=function(f){return f[f.DayPeriods=0]="DayPeriods",f[f.Days=1]="Days",f[f.Months=2]="Months",f[f.Eras=3]="Eras",f}(jt||{});function Vn(f,N,y,T){let ve=function Ke(f){if(me(f))return f;if("number"==typeof f&&!isNaN(f))return new Date(f);if("string"==typeof f){if(f=f.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(f)){const[ve,We=1,ot=1]=f.split("-").map(Pt=>+Pt);return Yn(ve,We-1,ot)}const y=parseFloat(f);if(!isNaN(f-y))return new Date(y);let T;if(T=f.match(Lt))return function $e(f){const N=new Date(0);let y=0,T=0;const ve=f[8]?N.setUTCFullYear:N.setFullYear,We=f[8]?N.setUTCHours:N.setHours;f[9]&&(y=Number(f[9]+f[10]),T=Number(f[9]+f[11])),ve.call(N,Number(f[1]),Number(f[2])-1,Number(f[3]));const ot=Number(f[4]||0)-y,Pt=Number(f[5]||0)-T,Rn=Number(f[6]||0),Ln=Math.floor(1e3*parseFloat("0."+(f[7]||0)));return We.call(N,ot,Pt,Rn,Ln),N}(T)}const N=new Date(f);if(!me(N))throw new Error(`Unable to convert "${f}" into a date`);return N}(f);N=Rt(y,N)||N;let Pt,ot=[];for(;N;){if(Pt=wn.exec(N),!Pt){ot.push(N);break}{ot=ot.concat(Pt.slice(1));const An=ot.pop();if(!An)break;N=An}}let Rn=ve.getTimezoneOffset();T&&(Rn=qn(T,Rn),ve=function Er(f,N,y){const T=y?-1:1,ve=f.getTimezoneOffset();return function Zn(f,N){return(f=new Date(f.getTime())).setMinutes(f.getMinutes()+N),f}(f,T*(qn(N,ve)-ve))}(ve,T,!0));let Ln="";return ot.forEach(An=>{const dn=function gr(f){if(bn[f])return bn[f];let N;switch(f){case"G":case"GG":case"GGG":N=dt(jt.Eras,U.Abbreviated);break;case"GGGG":N=dt(jt.Eras,U.Wide);break;case"GGGGG":N=dt(jt.Eras,U.Narrow);break;case"y":N=Gt(Nt.FullYear,1,0,!1,!0);break;case"yy":N=Gt(Nt.FullYear,2,0,!0,!0);break;case"yyy":N=Gt(Nt.FullYear,3,0,!1,!0);break;case"yyyy":N=Gt(Nt.FullYear,4,0,!1,!0);break;case"Y":N=Kn(1);break;case"YY":N=Kn(2,!0);break;case"YYY":N=Kn(3);break;case"YYYY":N=Kn(4);break;case"M":case"L":N=Gt(Nt.Month,1,1);break;case"MM":case"LL":N=Gt(Nt.Month,2,1);break;case"MMM":N=dt(jt.Months,U.Abbreviated);break;case"MMMM":N=dt(jt.Months,U.Wide);break;case"MMMMM":N=dt(jt.Months,U.Narrow);break;case"LLL":N=dt(jt.Months,U.Abbreviated,re.Standalone);break;case"LLLL":N=dt(jt.Months,U.Wide,re.Standalone);break;case"LLLLL":N=dt(jt.Months,U.Narrow,re.Standalone);break;case"w":N=yn(1);break;case"ww":N=yn(2);break;case"W":N=yn(1,!0);break;case"d":N=Gt(Nt.Date,1);break;case"dd":N=Gt(Nt.Date,2);break;case"c":case"cc":N=Gt(Nt.Day,1);break;case"ccc":N=dt(jt.Days,U.Abbreviated,re.Standalone);break;case"cccc":N=dt(jt.Days,U.Wide,re.Standalone);break;case"ccccc":N=dt(jt.Days,U.Narrow,re.Standalone);break;case"cccccc":N=dt(jt.Days,U.Short,re.Standalone);break;case"E":case"EE":case"EEE":N=dt(jt.Days,U.Abbreviated);break;case"EEEE":N=dt(jt.Days,U.Wide);break;case"EEEEE":N=dt(jt.Days,U.Narrow);break;case"EEEEEE":N=dt(jt.Days,U.Short);break;case"a":case"aa":case"aaa":N=dt(jt.DayPeriods,U.Abbreviated);break;case"aaaa":N=dt(jt.DayPeriods,U.Wide);break;case"aaaaa":N=dt(jt.DayPeriods,U.Narrow);break;case"b":case"bb":case"bbb":N=dt(jt.DayPeriods,U.Abbreviated,re.Standalone,!0);break;case"bbbb":N=dt(jt.DayPeriods,U.Wide,re.Standalone,!0);break;case"bbbbb":N=dt(jt.DayPeriods,U.Narrow,re.Standalone,!0);break;case"B":case"BB":case"BBB":N=dt(jt.DayPeriods,U.Abbreviated,re.Format,!0);break;case"BBBB":N=dt(jt.DayPeriods,U.Wide,re.Format,!0);break;case"BBBBB":N=dt(jt.DayPeriods,U.Narrow,re.Format,!0);break;case"h":N=Gt(Nt.Hours,1,-12);break;case"hh":N=Gt(Nt.Hours,2,-12);break;case"H":N=Gt(Nt.Hours,1);break;case"HH":N=Gt(Nt.Hours,2);break;case"m":N=Gt(Nt.Minutes,1);break;case"mm":N=Gt(Nt.Minutes,2);break;case"s":N=Gt(Nt.Seconds,1);break;case"ss":N=Gt(Nt.Seconds,2);break;case"S":N=Gt(Nt.FractionalSeconds,1);break;case"SS":N=Gt(Nt.FractionalSeconds,2);break;case"SSS":N=Gt(Nt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":N=or(Kt.Short);break;case"ZZZZZ":N=or(Kt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":N=or(Kt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":N=or(Kt.Long);break;default:return null}return bn[f]=N,N}(An);Ln+=dn?dn(ve,y,Rn):"''"===An?"'":An.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Ln}function Yn(f,N,y){const T=new Date(0);return T.setFullYear(f,N,y),T.setHours(0,0,0),T}function Rt(f,N){const y=function H(f){return(0,o.cg1)(f)[o.wAp.LocaleId]}(f);if($t[y]=$t[y]||{},$t[y][N])return $t[y][N];let T="";switch(N){case"shortDate":T=Y(f,ge.Short);break;case"mediumDate":T=Y(f,ge.Medium);break;case"longDate":T=Y(f,ge.Long);break;case"fullDate":T=Y(f,ge.Full);break;case"shortTime":T=fe(f,ge.Short);break;case"mediumTime":T=fe(f,ge.Medium);break;case"longTime":T=fe(f,ge.Long);break;case"fullTime":T=fe(f,ge.Full);break;case"short":const ve=Rt(f,"shortTime"),We=Rt(f,"shortDate");T=Zt(ie(f,ge.Short),[ve,We]);break;case"medium":const ot=Rt(f,"mediumTime"),Pt=Rt(f,"mediumDate");T=Zt(ie(f,ge.Medium),[ot,Pt]);break;case"long":const Rn=Rt(f,"longTime"),Ln=Rt(f,"longDate");T=Zt(ie(f,ge.Long),[Rn,Ln]);break;case"full":const An=Rt(f,"fullTime"),dn=Rt(f,"fullDate");T=Zt(ie(f,ge.Full),[An,dn])}return T&&($t[y][N]=T),T}function Zt(f,N){return N&&(f=f.replace(/\{([^}]+)}/g,function(y,T){return null!=N&&T in N?N[T]:y})),f}function Xt(f,N,y="-",T,ve){let We="";(f<0||ve&&f<=0)&&(ve?f=1-f:(f=-f,We=y));let ot=String(f);for(;ot.length0||Pt>-y)&&(Pt+=y),f===Nt.Hours)0===Pt&&-12===y&&(Pt=12);else if(f===Nt.FractionalSeconds)return function Wt(f,N){return Xt(f,3).substring(0,N)}(Pt,N);const Rn=Ve(ot,se.MinusSign);return Xt(Pt,N,Rn,T,ve)}}function dt(f,N,y=re.Format,T=!1){return function(ve,We){return function Cn(f,N,y,T,ve,We){switch(y){case jt.Months:return function Fe(f,N,y){const T=(0,o.cg1)(f),We=ut([T[o.wAp.MonthsFormat],T[o.wAp.MonthsStandalone]],N);return ut(We,y)}(N,ve,T)[f.getMonth()];case jt.Days:return function De(f,N,y){const T=(0,o.cg1)(f),We=ut([T[o.wAp.DaysFormat],T[o.wAp.DaysStandalone]],N);return ut(We,y)}(N,ve,T)[f.getDay()];case jt.DayPeriods:const ot=f.getHours(),Pt=f.getMinutes();if(We){const Ln=function Oe(f){const N=(0,o.cg1)(f);return Ze(N),(N[o.wAp.ExtraData][2]||[]).map(T=>"string"==typeof T?pt(T):[pt(T[0]),pt(T[1])])}(N),An=function Xe(f,N,y){const T=(0,o.cg1)(f);Ze(T);const We=ut([T[o.wAp.ExtraData][0],T[o.wAp.ExtraData][1]],N)||[];return ut(We,y)||[]}(N,ve,T),dn=Ln.findIndex(Un=>{if(Array.isArray(Un)){const[$n,Cr]=Un,mo=ot>=$n.hours&&Pt>=$n.minutes,$r=ot0?Math.floor(ve/60):Math.ceil(ve/60);switch(f){case Kt.Short:return(ve>=0?"+":"")+Xt(ot,2,We)+Xt(Math.abs(ve%60),2,We);case Kt.ShortGMT:return"GMT"+(ve>=0?"+":"")+Xt(ot,1,We);case Kt.Long:return"GMT"+(ve>=0?"+":"")+Xt(ot,2,We)+":"+Xt(Math.abs(ve%60),2,We);case Kt.Extended:return 0===T?"Z":(ve>=0?"+":"")+Xt(ot,2,We)+":"+Xt(Math.abs(ve%60),2,We);default:throw new Error(`Unknown zone width "${f}"`)}}}const Bt=0,Wn=4;function Xn(f){return Yn(f.getFullYear(),f.getMonth(),f.getDate()+(Wn-f.getDay()))}function yn(f,N=!1){return function(y,T){let ve;if(N){const We=new Date(y.getFullYear(),y.getMonth(),1).getDay()-1,ot=y.getDate();ve=1+Math.floor((ot+We)/7)}else{const We=Xn(y),ot=function In(f){const N=Yn(f,Bt,1).getDay();return Yn(f,0,1+(N<=Wn?Wn:Wn+7)-N)}(We.getFullYear()),Pt=We.getTime()-ot.getTime();ve=1+Math.round(Pt/6048e5)}return Xt(ve,f,Ve(T,se.MinusSign))}}function Kn(f,N=!1){return function(y,T){return Xt(Xn(y).getFullYear(),f,Ve(T,se.MinusSign),N)}}const bn={};function qn(f,N){f=f.replace(/:/g,"");const y=Date.parse("Jan 01, 1970 00:00:00 "+f)/6e4;return isNaN(y)?N:y}function me(f){return f instanceof Date&&!isNaN(f.valueOf())}const Me=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function xt(f){const N=parseInt(f);if(isNaN(N))throw new Error("Invalid integer literal when parsing "+f);return N}function Ut(f,N){N=encodeURIComponent(N);for(const y of f.split(";")){const T=y.indexOf("="),[ve,We]=-1==T?[y,""]:[y.slice(0,T),y.slice(T+1)];if(ve.trim()===N)return decodeURIComponent(We)}return null}const un=/\s+/,_t=[];let hn=(()=>{class f{constructor(y,T,ve,We){this._iterableDiffers=y,this._keyValueDiffers=T,this._ngEl=ve,this._renderer=We,this.initialClasses=_t,this.stateMap=new Map}set klass(y){this.initialClasses=null!=y?y.trim().split(un):_t}set ngClass(y){this.rawClass="string"==typeof y?y.trim().split(un):y}ngDoCheck(){for(const T of this.initialClasses)this._updateState(T,!0);const y=this.rawClass;if(Array.isArray(y)||y instanceof Set)for(const T of y)this._updateState(T,!0);else if(null!=y)for(const T of Object.keys(y))this._updateState(T,!!y[T]);this._applyStateDiff()}_updateState(y,T){const ve=this.stateMap.get(y);void 0!==ve?(ve.enabled!==T&&(ve.changed=!0,ve.enabled=T),ve.touched=!0):this.stateMap.set(y,{enabled:T,changed:!0,touched:!0})}_applyStateDiff(){for(const y of this.stateMap){const T=y[0],ve=y[1];ve.changed?(this._toggleClass(T,ve.enabled),ve.changed=!1):ve.touched||(ve.enabled&&this._toggleClass(T,!1),this.stateMap.delete(T)),ve.touched=!1}}_toggleClass(y,T){(y=y.trim()).length>0&&y.split(un).forEach(ve=>{T?this._renderer.addClass(this._ngEl.nativeElement,ve):this._renderer.removeClass(this._ngEl.nativeElement,ve)})}static#e=this.\u0275fac=function(T){return new(T||f)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))};static#t=this.\u0275dir=o.lG2({type:f,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return f})();class pn{constructor(N,y,T,ve){this.$implicit=N,this.ngForOf=y,this.index=T,this.count=ve}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 Nn=(()=>{class f{set ngForOf(y){this._ngForOf=y,this._ngForOfDirty=!0}set ngForTrackBy(y){this._trackByFn=y}get ngForTrackBy(){return this._trackByFn}constructor(y,T,ve){this._viewContainer=y,this._template=T,this._differs=ve,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(y){y&&(this._template=y)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const y=this._ngForOf;!this._differ&&y&&(this._differ=this._differs.find(y).create(this.ngForTrackBy))}if(this._differ){const y=this._differ.diff(this._ngForOf);y&&this._applyChanges(y)}}_applyChanges(y){const T=this._viewContainer;y.forEachOperation((ve,We,ot)=>{if(null==ve.previousIndex)T.createEmbeddedView(this._template,new pn(ve.item,this._ngForOf,-1,-1),null===ot?void 0:ot);else if(null==ot)T.remove(null===We?void 0:We);else if(null!==We){const Pt=T.get(We);T.move(Pt,ot),nr(Pt,ve)}});for(let ve=0,We=T.length;ve{nr(T.get(ve.currentIndex),ve)})}static ngTemplateContextGuard(y,T){return!0}static#e=this.\u0275fac=function(T){return new(T||f)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))};static#t=this.\u0275dir=o.lG2({type:f,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return f})();function nr(f,N){f.context.$implicit=N.item}let ar=(()=>{class f{constructor(y,T){this._viewContainer=y,this._context=new wr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=T}set ngIf(y){this._context.$implicit=this._context.ngIf=y,this._updateView()}set ngIfThen(y){lr("ngIfThen",y),this._thenTemplateRef=y,this._thenViewRef=null,this._updateView()}set ngIfElse(y){lr("ngIfElse",y),this._elseTemplateRef=y,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(y,T){return!0}static#e=this.\u0275fac=function(T){return new(T||f)(o.Y36(o.s_b),o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:f,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return f})();class wr{constructor(){this.$implicit=null,this.ngIf=null}}function lr(f,N){if(N&&!N.createEmbeddedView)throw new Error(`${f} must be a TemplateRef, but received '${(0,o.AaK)(N)}'.`)}let Pe=(()=>{class f{constructor(y){this._viewContainerRef=y,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(y){if(y.ngTemplateOutlet||y.ngTemplateOutletInjector){const T=this._viewContainerRef;if(this._viewRef&&T.remove(T.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ve,ngTemplateOutletContext:We,ngTemplateOutletInjector:ot}=this;this._viewRef=T.createEmbeddedView(ve,We,ot?{injector:ot}:void 0)}else this._viewRef=null}else this._viewRef&&y.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(T){return new(T||f)(o.Y36(o.s_b))};static#t=this.\u0275dir=o.lG2({type:f,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.TTD]})}return f})();function Ge(f,N){return new o.vHH(2100,!1)}class nt{createSubscription(N,y){return(0,o.rg0)(()=>N.subscribe({next:y,error:T=>{throw T}}))}dispose(N){(0,o.rg0)(()=>N.unsubscribe())}}class u{createSubscription(N,y){return N.then(y,T=>{throw T})}dispose(N){}}const j=new u,m=new nt;let X=(()=>{class f{constructor(y){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=y}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(y){return this._obj?y!==this._obj?(this._dispose(),this.transform(y)):this._latestValue:(y&&this._subscribe(y),this._latestValue)}_subscribe(y){this._obj=y,this._strategy=this._selectStrategy(y),this._subscription=this._strategy.createSubscription(y,T=>this._updateLatestValue(y,T))}_selectStrategy(y){if((0,o.QGY)(y))return j;if((0,o.F4k)(y))return m;throw Ge()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(y,T){y===this._obj&&(this._latestValue=T,this._ref.markForCheck())}static#e=this.\u0275fac=function(T){return new(T||f)(o.Y36(o.sBO,16))};static#t=this.\u0275pipe=o.Yjl({name:"async",type:f,pure:!1,standalone:!0})}return f})();const Sr=new o.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),wo=new o.OlP("DATE_PIPE_DEFAULT_OPTIONS");let vr=(()=>{class f{constructor(y,T,ve){this.locale=y,this.defaultTimezone=T,this.defaultOptions=ve}transform(y,T,ve,We){if(null==y||""===y||y!=y)return null;try{return Vn(y,T??this.defaultOptions?.dateFormat??"mediumDate",We||this.locale,ve??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ot){throw Ge()}}static#e=this.\u0275fac=function(T){return new(T||f)(o.Y36(o.soG,16),o.Y36(Sr,24),o.Y36(wo,24))};static#t=this.\u0275pipe=o.Yjl({name:"date",type:f,pure:!0,standalone:!0})}return f})(),Io=(()=>{class f{constructor(y){this._locale=y}transform(y,T,ve){if(!function ao(f){return!(null==f||""===f||f!=f)}(y))return null;ve=ve||this._locale;try{return function Qe(f,N,y){return function Re(f,N,y,T,ve,We,ot=!1){let Pt="",Rn=!1;if(isFinite(f)){let Ln=function Dt(f){let T,ve,We,ot,Pt,N=Math.abs(f)+"",y=0;for((ve=N.indexOf("."))>-1&&(N=N.replace(".","")),(We=N.search(/e/i))>0?(ve<0&&(ve=We),ve+=+N.slice(We+1),N=N.substring(0,We)):ve<0&&(ve=N.length),We=0;"0"===N.charAt(We);We++);if(We===(Pt=N.length))T=[0],ve=1;else{for(Pt--;"0"===N.charAt(Pt);)Pt--;for(ve-=We,T=[],ot=0;We<=Pt;We++,ot++)T[ot]=Number(N.charAt(We))}return ve>22&&(T=T.splice(0,21),y=ve-1,ve=1),{digits:T,exponent:y,integerLen:ve}}(f);ot&&(Ln=function gt(f){if(0===f.digits[0])return f;const N=f.digits.length-f.integerLen;return f.exponent?f.exponent+=2:(0===N?f.digits.push(0,0):1===N&&f.digits.push(0),f.integerLen+=2),f}(Ln));let An=N.minInt,dn=N.minFrac,Un=N.maxFrac;if(We){const Gr=We.match(Me);if(null===Gr)throw new Error(`${We} is not a valid digit info`);const eo=Gr[1],vo=Gr[3],Ao=Gr[5];null!=eo&&(An=xt(eo)),null!=vo&&(dn=xt(vo)),null!=Ao?Un=xt(Ao):null!=vo&&dn>Un&&(Un=dn)}!function sn(f,N,y){if(N>y)throw new Error(`The minimum number of digits after fraction (${N}) is higher than the maximum (${y}).`);let T=f.digits,ve=T.length-f.integerLen;const We=Math.min(Math.max(N,ve),y);let ot=We+f.integerLen,Pt=T[ot];if(ot>0){T.splice(Math.max(f.integerLen,ot));for(let dn=ot;dn=5)if(ot-1<0){for(let dn=0;dn>ot;dn--)T.unshift(0),f.integerLen++;T.unshift(1),f.integerLen++}else T[ot-1]++;for(;ve=Ln?Cr.pop():Rn=!1),Un>=10?1:0},0);An&&(T.unshift(An),f.integerLen++)}(Ln,dn,Un);let $n=Ln.digits,Cr=Ln.integerLen;const mo=Ln.exponent;let $r=[];for(Rn=$n.every(Gr=>!Gr);Cr0?$r=$n.splice(Cr,$n.length):($r=$n,$n=[0]);const So=[];for($n.length>=N.lgSize&&So.unshift($n.splice(-N.lgSize,$n.length).join(""));$n.length>N.gSize;)So.unshift($n.splice(-N.gSize,$n.length).join(""));$n.length&&So.unshift($n.join("")),Pt=So.join(Ve(y,T)),$r.length&&(Pt+=Ve(y,ve)+$r.join("")),mo&&(Pt+=Ve(y,se.Exponential)+"+"+mo)}else Pt=Ve(y,se.Infinity);return Pt=f<0&&!Rn?N.negPre+Pt+N.negSuf:N.posPre+Pt+N.posSuf,Pt}(f,function it(f,N="-"){const y={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},T=f.split(";"),ve=T[0],We=T[1],ot=-1!==ve.indexOf(".")?ve.split("."):[ve.substring(0,ve.lastIndexOf("0")+1),ve.substring(ve.lastIndexOf("0")+1)],Pt=ot[0],Rn=ot[1]||"";y.posPre=Pt.substring(0,Pt.indexOf("#"));for(let An=0;An{class f{static#e=this.\u0275fac=function(T){return new(T||f)};static#t=this.\u0275mod=o.oAB({type:f});static#n=this.\u0275inj=o.cJS({})}return f})();const En="browser",fr="server";function W(f){return f===fr}let tt=(()=>{class f{static#e=this.\u0275prov=(0,o.Yz7)({token:f,providedIn:"root",factory:()=>new Ct((0,o.LFG)(O),window)})}return f})();class Ct{constructor(N,y){this.document=N,this.window=y,this.offset=()=>[0,0]}setOffset(N){this.offset=Array.isArray(N)?()=>N:N}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(N){this.supportsScrolling()&&this.window.scrollTo(N[0],N[1])}scrollToAnchor(N){if(!this.supportsScrolling())return;const y=function vt(f,N){const y=f.getElementById(N)||f.getElementsByName(N)[0];if(y)return y;if("function"==typeof f.createTreeWalker&&f.body&&"function"==typeof f.body.attachShadow){const T=f.createTreeWalker(f.body,NodeFilter.SHOW_ELEMENT);let ve=T.currentNode;for(;ve;){const We=ve.shadowRoot;if(We){const ot=We.getElementById(N)||We.querySelector(`[name="${N}"]`);if(ot)return ot}ve=T.nextNode()}}return null}(this.document,N);y&&(this.scrollToElement(y),y.focus())}setHistoryScrollRestoration(N){this.supportsScrolling()&&(this.window.history.scrollRestoration=N)}scrollToElement(N){const y=N.getBoundingClientRect(),T=y.left+this.window.pageXOffset,ve=y.top+this.window.pageYOffset,We=this.offset();this.window.scrollTo(T-We[0],ve-We[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Yt{}},9862:(ct,je,b)=>{"use strict";b.d(je,{JF:()=>Me,TP:()=>Ze,WM:()=>S,eN:()=>Z});var o=b(2029),w=b(2096),ee=b(7715),ae=b(5592),R=b(6328),O=b(2181),_=b(7398),q=b(4716),I=b(4664),B=b(6814);class V{}class Q{}class S{constructor(Ce){this.normalizedNames=new Map,this.lazyUpdate=null,Ce?"string"==typeof Ce?this.lazyInit=()=>{this.headers=new Map,Ce.split("\n").forEach(be=>{const Qe=be.indexOf(":");if(Qe>0){const it=be.slice(0,Qe),gt=it.toLowerCase(),Dt=be.slice(Qe+1).trim();this.maybeSetNormalizedName(it,gt),this.headers.has(gt)?this.headers.get(gt).push(Dt):this.headers.set(gt,[Dt])}})}:typeof Headers<"u"&&Ce instanceof Headers?(this.headers=new Map,Ce.forEach((be,Qe)=>{this.setHeaderEntries(Qe,be)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Ce).forEach(([be,Qe])=>{this.setHeaderEntries(be,Qe)})}:this.headers=new Map}has(Ce){return this.init(),this.headers.has(Ce.toLowerCase())}get(Ce){this.init();const be=this.headers.get(Ce.toLowerCase());return be&&be.length>0?be[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ce){return this.init(),this.headers.get(Ce.toLowerCase())||null}append(Ce,be){return this.clone({name:Ce,value:be,op:"a"})}set(Ce,be){return this.clone({name:Ce,value:be,op:"s"})}delete(Ce,be){return this.clone({name:Ce,value:be,op:"d"})}maybeSetNormalizedName(Ce,be){this.normalizedNames.has(be)||this.normalizedNames.set(be,Ce)}init(){this.lazyInit&&(this.lazyInit instanceof S?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ce=>this.applyUpdate(Ce)),this.lazyUpdate=null))}copyFrom(Ce){Ce.init(),Array.from(Ce.headers.keys()).forEach(be=>{this.headers.set(be,Ce.headers.get(be)),this.normalizedNames.set(be,Ce.normalizedNames.get(be))})}clone(Ce){const be=new S;return be.lazyInit=this.lazyInit&&this.lazyInit instanceof S?this.lazyInit:this,be.lazyUpdate=(this.lazyUpdate||[]).concat([Ce]),be}applyUpdate(Ce){const be=Ce.name.toLowerCase();switch(Ce.op){case"a":case"s":let Qe=Ce.value;if("string"==typeof Qe&&(Qe=[Qe]),0===Qe.length)return;this.maybeSetNormalizedName(Ce.name,be);const it=("a"===Ce.op?this.headers.get(be):void 0)||[];it.push(...Qe),this.headers.set(be,it);break;case"d":const gt=Ce.value;if(gt){let Dt=this.headers.get(be);if(!Dt)return;Dt=Dt.filter(sn=>-1===gt.indexOf(sn)),0===Dt.length?(this.headers.delete(be),this.normalizedNames.delete(be)):this.headers.set(be,Dt)}else this.headers.delete(be),this.normalizedNames.delete(be)}}setHeaderEntries(Ce,be){const Qe=(Array.isArray(be)?be:[be]).map(gt=>gt.toString()),it=Ce.toLowerCase();this.headers.set(it,Qe),this.maybeSetNormalizedName(Ce,it)}forEach(Ce){this.init(),Array.from(this.normalizedNames.keys()).forEach(be=>Ce(this.normalizedNames.get(be),this.headers.get(be)))}}class D{encodeKey(Ce){return ce(Ce)}encodeValue(Ce){return ce(Ce)}decodeKey(Ce){return decodeURIComponent(Ce)}decodeValue(Ce){return decodeURIComponent(Ce)}}const P=/%(\d[a-f0-9])/gi,ne={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ce(Re){return encodeURIComponent(Re).replace(P,(Ce,be)=>ne[be]??Ce)}function Ne(Re){return`${Re}`}class ue{constructor(Ce={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ce.encoder||new D,Ce.fromString){if(Ce.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function k(Re,Ce){const be=new Map;return Re.length>0&&Re.replace(/^\?/,"").split("&").forEach(it=>{const gt=it.indexOf("="),[Dt,sn]=-1==gt?[Ce.decodeKey(it),""]:[Ce.decodeKey(it.slice(0,gt)),Ce.decodeValue(it.slice(gt+1))],xt=be.get(Dt)||[];xt.push(sn),be.set(Dt,xt)}),be}(Ce.fromString,this.encoder)}else Ce.fromObject?(this.map=new Map,Object.keys(Ce.fromObject).forEach(be=>{const Qe=Ce.fromObject[be],it=Array.isArray(Qe)?Qe.map(Ne):[Ne(Qe)];this.map.set(be,it)})):this.map=null}has(Ce){return this.init(),this.map.has(Ce)}get(Ce){this.init();const be=this.map.get(Ce);return be?be[0]:null}getAll(Ce){return this.init(),this.map.get(Ce)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ce,be){return this.clone({param:Ce,value:be,op:"a"})}appendAll(Ce){const be=[];return Object.keys(Ce).forEach(Qe=>{const it=Ce[Qe];Array.isArray(it)?it.forEach(gt=>{be.push({param:Qe,value:gt,op:"a"})}):be.push({param:Qe,value:it,op:"a"})}),this.clone(be)}set(Ce,be){return this.clone({param:Ce,value:be,op:"s"})}delete(Ce,be){return this.clone({param:Ce,value:be,op:"d"})}toString(){return this.init(),this.keys().map(Ce=>{const be=this.encoder.encodeKey(Ce);return this.map.get(Ce).map(Qe=>be+"="+this.encoder.encodeValue(Qe)).join("&")}).filter(Ce=>""!==Ce).join("&")}clone(Ce){const be=new ue({encoder:this.encoder});return be.cloneFrom=this.cloneFrom||this,be.updates=(this.updates||[]).concat(Ce),be}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ce=>this.map.set(Ce,this.cloneFrom.map.get(Ce))),this.updates.forEach(Ce=>{switch(Ce.op){case"a":case"s":const be=("a"===Ce.op?this.map.get(Ce.param):void 0)||[];be.push(Ne(Ce.value)),this.map.set(Ce.param,be);break;case"d":if(void 0===Ce.value){this.map.delete(Ce.param);break}{let Qe=this.map.get(Ce.param)||[];const it=Qe.indexOf(Ne(Ce.value));-1!==it&&Qe.splice(it,1),Qe.length>0?this.map.set(Ce.param,Qe):this.map.delete(Ce.param)}}}),this.cloneFrom=this.updates=null)}}class Be{constructor(){this.map=new Map}set(Ce,be){return this.map.set(Ce,be),this}get(Ce){return this.map.has(Ce)||this.map.set(Ce,Ce.defaultValue()),this.map.get(Ce)}delete(Ce){return this.map.delete(Ce),this}has(Ce){return this.map.has(Ce)}keys(){return this.map.keys()}}function re(Re){return typeof ArrayBuffer<"u"&&Re instanceof ArrayBuffer}function U(Re){return typeof Blob<"u"&&Re instanceof Blob}function ge(Re){return typeof FormData<"u"&&Re instanceof FormData}class de{constructor(Ce,be,Qe,it){let gt;if(this.url=be,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ce.toUpperCase(),function we(Re){switch(Re){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||it?(this.body=void 0!==Qe?Qe:null,gt=it):gt=Qe,gt&&(this.reportProgress=!!gt.reportProgress,this.withCredentials=!!gt.withCredentials,gt.responseType&&(this.responseType=gt.responseType),gt.headers&&(this.headers=gt.headers),gt.context&&(this.context=gt.context),gt.params&&(this.params=gt.params)),this.headers||(this.headers=new S),this.context||(this.context=new Be),this.params){const Dt=this.params.toString();if(0===Dt.length)this.urlWithParams=be;else{const sn=be.indexOf("?");this.urlWithParams=be+(-1===sn?"?":snln.set(cn,Ce.setHeaders[cn]),xt)),Ce.setParams&&(an=Object.keys(Ce.setParams).reduce((ln,cn)=>ln.set(cn,Ce.setParams[cn]),an)),new de(be,Qe,gt,{params:an,headers:xt,context:kn,reportProgress:sn,responseType:it,withCredentials:Dt})}}var H=function(Re){return Re[Re.Sent=0]="Sent",Re[Re.UploadProgress=1]="UploadProgress",Re[Re.ResponseHeader=2]="ResponseHeader",Re[Re.DownloadProgress=3]="DownloadProgress",Re[Re.Response=4]="Response",Re[Re.User=5]="User",Re}(H||{});class he{constructor(Ce,be=200,Qe="OK"){this.headers=Ce.headers||new S,this.status=void 0!==Ce.status?Ce.status:be,this.statusText=Ce.statusText||Qe,this.url=Ce.url||null,this.ok=this.status>=200&&this.status<300}}class De extends he{constructor(Ce={}){super(Ce),this.type=H.ResponseHeader}clone(Ce={}){return new De({headers:Ce.headers||this.headers,status:void 0!==Ce.status?Ce.status:this.status,statusText:Ce.statusText||this.statusText,url:Ce.url||this.url||void 0})}}class Fe extends he{constructor(Ce={}){super(Ce),this.type=H.Response,this.body=void 0!==Ce.body?Ce.body:null}clone(Ce={}){return new Fe({body:void 0!==Ce.body?Ce.body:this.body,headers:Ce.headers||this.headers,status:void 0!==Ce.status?Ce.status:this.status,statusText:Ce.statusText||this.statusText,url:Ce.url||this.url||void 0})}}class qe extends he{constructor(Ce){super(Ce,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ce.url||"(unknown url)"}`:`Http failure response for ${Ce.url||"(unknown url)"}: ${Ce.status} ${Ce.statusText}`,this.error=Ce.error||null}}function Le(Re,Ce){return{body:Ce,headers:Re.headers,context:Re.context,observe:Re.observe,params:Re.params,reportProgress:Re.reportProgress,responseType:Re.responseType,withCredentials:Re.withCredentials}}let Z=(()=>{class Re{constructor(be){this.handler=be}request(be,Qe,it={}){let gt;if(be instanceof de)gt=be;else{let xt,an;xt=it.headers instanceof S?it.headers:new S(it.headers),it.params&&(an=it.params instanceof ue?it.params:new ue({fromObject:it.params})),gt=new de(be,Qe,void 0!==it.body?it.body:null,{headers:xt,context:it.context,params:an,reportProgress:it.reportProgress,responseType:it.responseType||"json",withCredentials:it.withCredentials})}const Dt=(0,w.of)(gt).pipe((0,R.b)(xt=>this.handler.handle(xt)));if(be instanceof de||"events"===it.observe)return Dt;const sn=Dt.pipe((0,O.h)(xt=>xt instanceof Fe));switch(it.observe||"body"){case"body":switch(gt.responseType){case"arraybuffer":return sn.pipe((0,_.U)(xt=>{if(null!==xt.body&&!(xt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return xt.body}));case"blob":return sn.pipe((0,_.U)(xt=>{if(null!==xt.body&&!(xt.body instanceof Blob))throw new Error("Response is not a Blob.");return xt.body}));case"text":return sn.pipe((0,_.U)(xt=>{if(null!==xt.body&&"string"!=typeof xt.body)throw new Error("Response is not a string.");return xt.body}));default:return sn.pipe((0,_.U)(xt=>xt.body))}case"response":return sn;default:throw new Error(`Unreachable: unhandled observe type ${it.observe}}`)}}delete(be,Qe={}){return this.request("DELETE",be,Qe)}get(be,Qe={}){return this.request("GET",be,Qe)}head(be,Qe={}){return this.request("HEAD",be,Qe)}jsonp(be,Qe){return this.request("JSONP",be,{params:(new ue).append(Qe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(be,Qe={}){return this.request("OPTIONS",be,Qe)}patch(be,Qe,it={}){return this.request("PATCH",be,Le(it,Qe))}post(be,Qe,it={}){return this.request("POST",be,Le(it,Qe))}put(be,Qe,it={}){return this.request("PUT",be,Le(it,Qe))}static#e=this.\u0275fac=function(Qe){return new(Qe||Re)(o.LFG(V))};static#t=this.\u0275prov=o.Yz7({token:Re,factory:Re.\u0275fac})}return Re})();function ft(Re,Ce){return Ce(Re)}function bt(Re,Ce){return(be,Qe)=>Ce.intercept(be,{handle:it=>Re(it,Qe)})}const Ze=new o.OlP(""),Oe=new o.OlP(""),Xe=new o.OlP("");function Ue(){let Re=null;return(Ce,be)=>{null===Re&&(Re=((0,o.f3M)(Ze,{optional:!0})??[]).reduceRight(bt,ft));const Qe=(0,o.f3M)(o.HDt),it=Qe.add();return Re(Ce,be).pipe((0,q.x)(()=>Qe.remove(it)))}}let ut=(()=>{class Re extends V{constructor(be,Qe){super(),this.backend=be,this.injector=Qe,this.chain=null,this.pendingTasks=(0,o.f3M)(o.HDt)}handle(be){if(null===this.chain){const it=Array.from(new Set([...this.injector.get(Oe),...this.injector.get(Xe,[])]));this.chain=it.reduceRight((gt,Dt)=>function Ot(Re,Ce,be){return(Qe,it)=>be.runInContext(()=>Ce(Qe,gt=>Re(gt,it)))}(gt,Dt,this.injector),ft)}const Qe=this.pendingTasks.add();return this.chain(be,it=>this.backend.handle(it)).pipe((0,q.x)(()=>this.pendingTasks.remove(Qe)))}static#e=this.\u0275fac=function(Qe){return new(Qe||Re)(o.LFG(Q),o.LFG(o.lqb))};static#t=this.\u0275prov=o.Yz7({token:Re,factory:Re.\u0275fac})}return Re})();const Yn=/^\)\]\}',?\n/;let Zt=(()=>{class Re{constructor(be){this.xhrFactory=be}handle(be){if("JSONP"===be.method)throw new o.vHH(-2800,!1);const Qe=this.xhrFactory;return(Qe.\u0275loadImpl?(0,ee.D)(Qe.\u0275loadImpl()):(0,w.of)(null)).pipe((0,I.w)(()=>new ae.y(gt=>{const Dt=Qe.build();if(Dt.open(be.method,be.urlWithParams),be.withCredentials&&(Dt.withCredentials=!0),be.headers.forEach((_t,hn)=>Dt.setRequestHeader(_t,hn.join(","))),be.headers.has("Accept")||Dt.setRequestHeader("Accept","application/json, text/plain, */*"),!be.headers.has("Content-Type")){const _t=be.detectContentTypeHeader();null!==_t&&Dt.setRequestHeader("Content-Type",_t)}if(be.responseType){const _t=be.responseType.toLowerCase();Dt.responseType="json"!==_t?_t:"text"}const sn=be.serializeBody();let xt=null;const an=()=>{if(null!==xt)return xt;const _t=Dt.statusText||"OK",hn=new S(Dt.getAllResponseHeaders()),Jn=function Rt(Re){return"responseURL"in Re&&Re.responseURL?Re.responseURL:/^X-Request-URL:/m.test(Re.getAllResponseHeaders())?Re.getResponseHeader("X-Request-URL"):null}(Dt)||be.url;return xt=new De({headers:hn,status:Dt.status,statusText:_t,url:Jn}),xt},kn=()=>{let{headers:_t,status:hn,statusText:Jn,url:Fn}=an(),pn=null;204!==hn&&(pn=typeof Dt.response>"u"?Dt.responseText:Dt.response),0===hn&&(hn=pn?200:0);let Nn=hn>=200&&hn<300;if("json"===be.responseType&&"string"==typeof pn){const nr=pn;pn=pn.replace(Yn,"");try{pn=""!==pn?JSON.parse(pn):null}catch(Qn){pn=nr,Nn&&(Nn=!1,pn={error:Qn,text:pn})}}Nn?(gt.next(new Fe({body:pn,headers:_t,status:hn,statusText:Jn,url:Fn||void 0})),gt.complete()):gt.error(new qe({error:pn,headers:_t,status:hn,statusText:Jn,url:Fn||void 0}))},ln=_t=>{const{url:hn}=an(),Jn=new qe({error:_t,status:Dt.status||0,statusText:Dt.statusText||"Unknown Error",url:hn||void 0});gt.error(Jn)};let cn=!1;const Ut=_t=>{cn||(gt.next(an()),cn=!0);let hn={type:H.DownloadProgress,loaded:_t.loaded};_t.lengthComputable&&(hn.total=_t.total),"text"===be.responseType&&Dt.responseText&&(hn.partialText=Dt.responseText),gt.next(hn)},un=_t=>{let hn={type:H.UploadProgress,loaded:_t.loaded};_t.lengthComputable&&(hn.total=_t.total),gt.next(hn)};return Dt.addEventListener("load",kn),Dt.addEventListener("error",ln),Dt.addEventListener("timeout",ln),Dt.addEventListener("abort",ln),be.reportProgress&&(Dt.addEventListener("progress",Ut),null!==sn&&Dt.upload&&Dt.upload.addEventListener("progress",un)),Dt.send(sn),gt.next({type:H.Sent}),()=>{Dt.removeEventListener("error",ln),Dt.removeEventListener("abort",ln),Dt.removeEventListener("load",kn),Dt.removeEventListener("timeout",ln),be.reportProgress&&(Dt.removeEventListener("progress",Ut),null!==sn&&Dt.upload&&Dt.upload.removeEventListener("progress",un)),Dt.readyState!==Dt.DONE&&Dt.abort()}})))}static#e=this.\u0275fac=function(Qe){return new(Qe||Re)(o.LFG(B.JF))};static#t=this.\u0275prov=o.Yz7({token:Re,factory:Re.\u0275fac})}return Re})();const Xt=new o.OlP("XSRF_ENABLED"),Gt=new o.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),dt=new o.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Cn{}let or=(()=>{class Re{constructor(be,Qe,it){this.doc=be,this.platform=Qe,this.cookieName=it,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const be=this.doc.cookie||"";return be!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,B.Mx)(be,this.cookieName),this.lastCookieString=be),this.lastToken}static#e=this.\u0275fac=function(Qe){return new(Qe||Re)(o.LFG(B.K0),o.LFG(o.Lbi),o.LFG(Gt))};static#t=this.\u0275prov=o.Yz7({token:Re,factory:Re.\u0275fac})}return Re})();function Bt(Re,Ce){const be=Re.url.toLowerCase();if(!(0,o.f3M)(Xt)||"GET"===Re.method||"HEAD"===Re.method||be.startsWith("http://")||be.startsWith("https://"))return Ce(Re);const Qe=(0,o.f3M)(Cn).getToken(),it=(0,o.f3M)(dt);return null!=Qe&&!Re.headers.has(it)&&(Re=Re.clone({headers:Re.headers.set(it,Qe)})),Ce(Re)}var In=function(Re){return Re[Re.Interceptors=0]="Interceptors",Re[Re.LegacyInterceptors=1]="LegacyInterceptors",Re[Re.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Re[Re.NoXsrfProtection=3]="NoXsrfProtection",Re[Re.JsonpSupport=4]="JsonpSupport",Re[Re.RequestsMadeViaParent=5]="RequestsMadeViaParent",Re[Re.Fetch=6]="Fetch",Re}(In||{});function yn(...Re){const Ce=[Z,Zt,ut,{provide:V,useExisting:ut},{provide:Q,useExisting:Zt},{provide:Oe,useValue:Bt,multi:!0},{provide:Xt,useValue:!0},{provide:Cn,useClass:or}];for(const be of Re)Ce.push(...be.\u0275providers);return(0,o.MR2)(Ce)}const bn=new o.OlP("LEGACY_INTERCEPTOR_FN");function gr(){return function Xn(Re,Ce){return{\u0275kind:Re,\u0275providers:Ce}}(In.LegacyInterceptors,[{provide:bn,useFactory:Ue},{provide:Oe,useExisting:bn,multi:!0}])}let Me=(()=>{class Re{static#e=this.\u0275fac=function(Qe){return new(Qe||Re)};static#t=this.\u0275mod=o.oAB({type:Re});static#n=this.\u0275inj=o.cJS({providers:[yn(gr())]})}return Re})()},2029:(ct,je,b)=>{"use strict";b.d(je,{tb:()=>Ld,AFp:()=>Eh,ip1:()=>mv,hGG:()=>EI,z2F:()=>As,Ojb:()=>rb,sBO:()=>sI,Sil:()=>Iw,EJc:()=>Ew,Xts:()=>ra,SBq:()=>sa,lqb:()=>Uo,qLn:()=>gi,vpe:()=>zo,XFs:()=>Rt,OlP:()=>Bt,zs3:()=>xo,ZZ4:()=>Ud,aQg:()=>zd,soG:()=>Xl,YKP:()=>vm,h0i:()=>Pi,PXZ:()=>Zw,R0b:()=>Pr,FiY:()=>qa,Lbi:()=>au,g9A:()=>_h,Qsj:()=>yb,FYo:()=>Th,JOm:()=>rl,tp0:()=>Ka,Rgc:()=>wa,dDg:()=>Ww,eoX:()=>wv,GfV:()=>xh,s_b:()=>Yl,ifc:()=>ln,VuI:()=>PI,LMc:()=>kI,MMx:()=>bm,Lck:()=>l_,eFA:()=>Av,G48:()=>iI,Gpc:()=>Ne,f3M:()=>be,$WT:()=>Hr,MR2:()=>eu,_c5:()=>CI,qFp:()=>NI,rg0:()=>An,c2e:()=>vv,zSh:()=>ru,HDt:()=>yv,wAp:()=>ws,vHH:()=>U,lri:()=>Ev,rWj:()=>_v,cg1:()=>ud,kL8:()=>Hg,dqk:()=>dt,Z0I:()=>Lt,eJc:()=>Sd,QGY:()=>Zu,F4k:()=>qp,RDi:()=>I0,AaK:()=>P,qOj:()=>Lu,Xq5:()=>Tp,TTD:()=>$r,_Bn:()=>mm,jDz:()=>Dm,xp6:()=>ep,uIk:()=>Bu,ekj:()=>od,Suo:()=>qm,Xpm:()=>Ft,lG2:()=>fo,Yz7:()=>pt,cJS:()=>Vt,oAB:()=>Sr,Yjl:()=>io,Y36:()=>ds,_UZ:()=>Wu,GkF:()=>Ku,qZA:()=>kl,TgZ:()=>Fl,EpF:()=>Xp,n5z:()=>pf,Ikx:()=>cd,LFG:()=>Re,$8M:()=>Sc,$Z:()=>np,NdJ:()=>Ju,CRH:()=>Km,oxw:()=>eg,ALo:()=>Pm,lcZ:()=>Fm,xi3:()=>km,Hsn:()=>ng,F$t:()=>tg,Q6J:()=>Gu,MGl:()=>Nl,hYB:()=>Qu,VKq:()=>Sm,iGM:()=>Wm,MAs:()=>Gp,KtG:()=>Na,CHM:()=>ka,oJD:()=>dh,P3R:()=>ph,Udp:()=>rd,YNc:()=>Hp,_uU:()=>wg,Oqu:()=>sd,hij:()=>Bl,AsE:()=>ad,lnq:()=>ld,Gf:()=>Xm});var o=b(8645),w=b(7394),ee=b(5592),ae=b(7537),R=b(4829),O=b(6232),_=b(9940),q=b(7715),B=b(5619),V=b(2096),Q=b(3020),S=b(4664),z=b(3997);function D(e){for(let t in e)if(e[t]===D)return t;throw Error("Could not find renamed property on target object.")}function k(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function P(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(P).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 n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ne(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ce=D({__forward_ref__:D});function Ne(e){return e.__forward_ref__=Ne,e.toString=function(){return P(this())},e}function ue(e){return _e(e)?e():e}function _e(e){return"function"==typeof e&&e.hasOwnProperty(ce)&&e.__forward_ref__===Ne}function Be(e){return e&&!!e.\u0275providers}const re="https://g.co/ng/security#xss";class U extends Error{constructor(t,n){super(function ge(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function se(e){return"string"==typeof e?e:null==e?"":String(e)}function Fe(e,t){throw new U(-201,!1)}function Ze(e,t){null==e&&function Oe(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function pt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Vt(e){return{providers:e.providers||[],imports:e.imports||[]}}function At(e){return $t(e,Nt)||$t(e,Vn)}function Lt(e){return null!==At(e)}function $t(e,t){return e.hasOwnProperty(t)?e[t]:null}function Kt(e){return e&&(e.hasOwnProperty(jt)||e.hasOwnProperty(Yn))?e[jt]:null}const Nt=D({\u0275prov:D}),jt=D({\u0275inj:D}),Vn=D({ngInjectableDef:D}),Yn=D({ngInjectorDef:D});var Rt=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}(Rt||{});let Zt;function Wt(e){const t=Zt;return Zt=e,t}function Gt(e,t,n){const r=At(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Rt.Optional?null:void 0!==t?t:void Fe(P(e))}const dt=globalThis;class Bt{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=pt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const $e={},me="__NG_DI_FLAG__",Me="ngTempTokenPath",Et=/\n/gm,en="__source";let Jt;function xn(e){const t=Jt;return Jt=e,t}function sr(e,t=Rt.Default){if(void 0===Jt)throw new U(-203,!1);return null===Jt?Gt(e,void 0,t):Jt.get(e,t&Rt.Optional?null:void 0,t)}function Re(e,t=Rt.Default){return(function Xt(){return Zt}()||sr)(ue(e),t)}function be(e,t=Rt.Default){return Re(e,Qe(t))}function Qe(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function it(e){const t=[];for(let n=0;nt){a=s-1;break}}}for(;ss?"":i[le+1].toLowerCase();const He=8&r?xe:null;if(He&&-1!==nr(He,E,0)||2&r&&E!==xe){if(oe(r))return!1;a=!0}}}}else{if(!a&&!oe(r)&&!oe(h))return!1;if(a&&oe(h))continue;a=!1,r=h|1&r}}return oe(r)||a}function oe(e){return 0==(1&e)}function Ee(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i-1)for(n++;n0?'="'+d+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""!==i&&!oe(a)&&(t+=j(s,i),i=""),r=a,s=s||!oe(r);n++}return""!==i&&(t+=j(s,i)),t}function Ft(e){return an(()=>{const t=Io(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===kn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ln.Emulated,styles:e.styles||Ut,_:null,schemas:e.schemas||null,tView:null,id:""};Rr(n);const r=e.dependencies;return n.directiveDefs=so(r,!1),n.pipeDefs=so(r,!0),n.id=function qr(e){let t=0;const n=[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 i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function ir(e){return rn(e)||Sn(e)}function jn(e){return null!==e}function Sr(e){return an(()=>({type:e.type,bootstrap:e.bootstrap||Ut,declarations:e.declarations||Ut,imports:e.imports||Ut,exports:e.exports||Ut,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function vr(e,t){if(null==e)return cn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}function fo(e){return an(()=>{const t=Io(e);return Rr(t),t})}function io(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 rn(e){return e[un]||null}function Sn(e){return e[_t]||null}function Hn(e){return e[hn]||null}function Hr(e){const t=rn(e)||Sn(e)||Hn(e);return null!==t&&t.standalone}function cr(e,t){const n=e[Jn]||null;if(!n&&!0===t)throw new Error(`Type ${P(e)} does not have '\u0275mod' property.`);return n}function Io(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||cn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Ut,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:vr(e.inputs,t),outputs:vr(e.outputs)}}function Rr(e){e.features?.forEach(t=>t(e))}function so(e,t){if(!e)return null;const n=t?Hn:ir;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(jn)}const On=0,wt=1,zt=2,En=3,fr=4,Ur=5,ur=6,F=7,W=8,M=9,J=10,ye=11,tt=12,Ct=13,vt=14,It=15,Yt=16,gn=17,er=18,_r=19,Kr=20,yr=21,Nr=22,zr=23,Zr=24,fn=25,Po=1,qo=2,rr=7,Fr=9,dr=11;function Ir(e){return Array.isArray(e)&&"object"==typeof e[Po]}function hr(e){return Array.isArray(e)&&!0===e[Po]}function Ko(e){return 0!=(4&e.flags)}function ho(e){return e.componentOffset>-1}function lo(e){return 1==(1&e.flags)}function Mr(e){return!!e.template}function ai(e){return 0!=(512&e[zt])}function go(e,t){return e.hasOwnProperty(Fn)?e[Fn]:null}let Dr=null,Qr=!1;function Lr(e){const t=Dr;return Dr=e,t}const xs={version: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:()=>{}};function Rs(e){if(!ui(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Ps(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function bi(e){e.dirty=!0,function yi(e){if(void 0===e.liveConsumerNode)return;const t=Qr;Qr=!0;try{for(const n of e.liveConsumerNode)n.dirty||bi(n)}finally{Qr=t}}(e),e.consumerMarkedDirty?.(e)}function Di(e){return e&&(e.nextProducerIndex=0),Lr(e)}function Ci(e,t){if(Lr(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(ui(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ps(e){Qo(e);for(let t=0;t0}function Qo(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Bo=null;function An(e){const t=Lr(null);try{return e()}finally{Lr(t)}}const Un=()=>{},$n=(()=>({...xs,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Un}))();class mo{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function $r(){return So}function So(e){return e.type.prototype.ngOnChanges&&(e.setInput=eo),Gr}function Gr(){const e=Ao(this),t=e?.current;if(t){const n=e.previous;if(n===cn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function eo(e,t,n,r){const i=this.declaredInputs[n],s=Ao(e)||function Ei(e,t){return e[vo]=t}(e,{previous:cn,current:null}),a=s.current||(s.current={}),d=s.previous,h=d[i];a[i]=new mo(h&&h.currentValue,t,d===cn),e[r]=t}$r.ngInherit=!0;const vo="__ngSimpleChanges__";function Ao(e){return e[vo]||null}const yo=function(e,t,n){};function mn(e){for(;Array.isArray(e);)e=e[On];return e}function _i(e,t){return mn(t[e])}function Ar(e,t){return mn(t[e.index])}function Ra(e,t){return e.data[t]}function ei(e,t){return e[t]}function Yr(e,t){const n=t[e];return Ir(n)?n:n[On]}function To(e,t){return null==t?null:e[t]}function uc(e){e[gn]=0}function Pa(e){1024&e[zt]||(e[zt]|=1024,Fa(e,1))}function bo(e){1024&e[zt]&&(e[zt]&=-1025,Fa(e,-1))}function Fa(e,t){let n=e[En];if(null===n)return;n[Ur]+=t;let r=n;for(n=n[En];null!==n&&(1===t&&1===r[Ur]||-1===t&&0===r[Ur]);)n[Ur]+=t,r=n,n=n[En]}const Qt={lFrame:_n(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function gc(){return Qt.bindingsEnabled}function ti(){return null!==Qt.skipHydrationRootTNode}function lt(){return Qt.lFrame.lView}function Dn(){return Qt.lFrame.tView}function ka(e){return Qt.lFrame.contextLView=e,e[W]}function Na(e){return Qt.lFrame.contextLView=null,e}function Tr(){let e=La();for(;null!==e&&64===e.type;)e=e.parent;return e}function La(){return Qt.lFrame.currentTNode}function Do(e,t){const n=Qt.lFrame;n.currentTNode=e,n.isParent=t}function Vs(){return Qt.lFrame.isParent}function js(){Qt.lFrame.isParent=!1}function Br(){const e=Qt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Vo(){return Qt.lFrame.bindingIndex}function Ii(){return Qt.lFrame.bindingIndex++}function jo(e){const t=Qt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function l(e,t){const n=Qt.lFrame;n.bindingIndex=n.bindingRootIndex=e,C(t)}function C(e){Qt.lFrame.currentDirectiveIndex=e}function pe(){return Qt.lFrame.currentQueryIndex}function Ye(e){Qt.lFrame.currentQueryIndex=e}function ze(e){const t=e[wt];return 2===t.type?t.declTNode:1===t.type?e[ur]:null}function Mt(e,t,n){if(n&Rt.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&Rt.Host||(i=ze(s),null===i||(s=s[vt],10&i.type))););if(null===i)return!1;t=i,e=s}const r=Qt.lFrame=zn();return r.currentTNode=t,r.lView=e,!0}function tn(e){const t=zn(),n=e[wt];Qt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zn(){const e=Qt.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 Co(){const e=Qt.lFrame;return Qt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const di=Co;function ni(){const e=Co();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 kr(){return Qt.lFrame.selectedIndex}function Mi(e){Qt.lFrame.selectedIndex=e}function pr(){const e=Qt.lFrame;return Ra(e.tView,e.selectedIndex)}let ef=!0;function Ba(){return ef}function hi(e){ef=e}function Va(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[h]<0&&(e[gn]+=65536),(d>13>16&&(3&e[zt])===t&&(e[zt]+=8192,nf(d,s)):nf(d,s)}const zi=-1;class Us{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Ec(e){return e!==zi}function zs(e){return 32767&e}function Gs(e,t){let n=function cy(e){return e>>16}(e),r=t;for(;n>0;)r=r[vt],n--;return r}let _c=!0;function Ua(e){const t=_c;return _c=e,t}const rf=255,sf=5;let uy=0;const Ho={};function za(e,t){const n=af(e,t);if(-1!==n)return n;const r=t[wt];r.firstCreatePass&&(e.injectorIndex=t.length,wc(r.data,e),wc(t,null),wc(r.blueprint,null));const i=Ga(e,t),s=e.injectorIndex;if(Ec(i)){const a=zs(i),d=Gs(i,t),h=d[wt].data;for(let E=0;E<8;E++)t[s+E]=d[a+E]|h[a+E]}return t[s+8]=i,s}function wc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function af(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ga(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=gf(i),null===r)return zi;if(n++,i=i[vt],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return zi}function Ic(e,t,n){!function dy(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(pn)&&(r=n[pn]),null==r&&(r=n[pn]=uy++);const i=r&rf;t.data[e+(i>>sf)]|=1<=0?t&rf:my:t}(n);if("function"==typeof s){if(!Mt(t,e,r))return r&Rt.Host?lf(i,0,r):cf(t,n,r,i);try{let a;if(a=s(r),null!=a||r&Rt.Optional)return a;Fe()}finally{di()}}else if("number"==typeof s){let a=null,d=af(e,t),h=zi,E=r&Rt.Host?t[It][ur]:null;for((-1===d||r&Rt.SkipSelf)&&(h=-1===d?Ga(e,t):t[d+8],h!==zi&&hf(r,!1)?(a=t[wt],d=zs(h),t=Gs(h,t)):d=-1);-1!==d;){const $=t[wt];if(ff(s,d,$.data)){const le=hy(d,t,n,a,r,E);if(le!==Ho)return le}h=t[d+8],h!==zi&&hf(r,t[wt].data[d+8]===E)&&ff(s,d,t)?(a=$,d=zs(h),t=Gs(h,t)):d=-1}}return i}function hy(e,t,n,r,i,s){const a=t[wt],d=a.data[e+8],$=Ya(d,a,n,null==r?ho(d)&&_c:r!=a&&0!=(3&d.type),i&Rt.Host&&s===d);return null!==$?Si(t,a,$,d):Ho}function Ya(e,t,n,r,i){const s=e.providerIndexes,a=t.data,d=1048575&s,h=e.directiveStart,$=s>>20,xe=i?d+$:e.directiveEnd;for(let He=r?d:d+$;He=h&&rt.type===n)return He}if(i){const He=a[h];if(He&&Mr(He)&&He.type===n)return h}return null}function Si(e,t,n,r){let i=e[n];const s=t.data;if(function sy(e){return e instanceof Us}(i)){const a=i;a.resolving&&function H(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new U(-200,`Circular dependency in DI detected for ${e}${n}`)}(function de(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():se(e)}(s[n]));const d=Ua(a.canSeeViewProviders);a.resolving=!0;const E=a.injectImpl?Wt(a.injectImpl):null;Mt(e,r,Rt.Default);try{i=e[n]=a.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function oy(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const a=So(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}i&&(n.preOrderHooks??=[]).push(0-e,i),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==E&&Wt(E),Ua(d),a.resolving=!1,di()}}return i}function ff(e,t,n){return!!(n[t+(e>>sf)]&1<{const t=e.prototype.constructor,n=t[Fn]||Mc(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[Fn]||Mc(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Mc(e){return _e(e)?()=>{const t=Mc(ue(e));return t&&t()}:go(e)}function gf(e){const t=e[wt],n=t.type;return 2===n?t.declTNode:1===n?e[ur]:null}function Sc(e){return function fy(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i{const r=function Ac(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const a=new i(...s);return d.annotation=a,d;function d(h,E,$){const le=h.hasOwnProperty(Yi)?h[Yi]:Object.defineProperty(h,Yi,{value:[]})[Yi];for(;le.length<=$;)le.push(null);return(le[$]=le[$]||[]).push(a),h}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Ki(e,t){e.forEach(n=>Array.isArray(n)?Ki(n,t):t(n))}function vf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Xs(e,t){const n=[];for(let r=0;r=0?e[1|r]=n:(r=~r,function wy(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Tc(e,t){const n=Zi(e,t);if(n>=0)return e[1|n]}function Zi(e,t){return function yf(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),a=e[s<t?i=s:r=s+1}return~(i<|^->||--!>|)/g,Wy="\u200b$1\u200b";const Fc=new Map;let Xy=0;const Nc="__ngContext__";function Vr(e,t){Ir(t)?(e[Nc]=t[_r],function Ky(e){Fc.set(e[_r],e)}(t)):e[Nc]=t}let Lc;function $c(e,t){return Lc(e,t)}function Zs(e){const t=e[En];return hr(t)?t[En]:t}function $f(e){return Vf(e[tt])}function Bf(e){return Vf(e[fr])}function Vf(e){for(;null!==e&&!hr(e);)e=e[fr];return e}function es(e,t,n,r,i){if(null!=r){let s,a=!1;hr(r)?s=r:Ir(r)&&(a=!0,r=r[On]);const d=mn(r);0===e&&null!==n?null==i?zf(t,n,d):Ai(t,n,d,i||null,!0):1===e&&null!==n?Ai(t,n,d,i||null,!0):2===e?function cl(e,t,n){const r=al(e,t);r&&function m0(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,d,a):3===e&&t.destroyNode(d),null!=s&&function b0(e,t,n,r,i){const s=n[rr];s!==mn(n)&&es(t,e,r,s,i);for(let d=dr;dt.replace(Yy,Wy))}(t))}function il(e,t,n){return e.createElement(t,n)}function Hf(e,t){const n=e[Fr],r=n.indexOf(t);bo(t),n.splice(r,1)}function sl(e,t){if(e.length<=dr)return;const n=dr+t,r=e[n];if(r){const i=r[Yt];null!==i&&i!==e&&Hf(i,r),t>0&&(e[n-1][fr]=r[fr]);const s=Wa(e,dr+t);!function l0(e,t){Qs(e,t,t[ye],2,null,null),t[On]=null,t[ur]=null}(r[wt],r);const a=s[er];null!==a&&a.detachView(s[wt]),r[En]=null,r[fr]=null,r[zt]&=-129}return r}function Vc(e,t){if(!(256&t[zt])){const n=t[ye];t[zr]&&Vi(t[zr]),t[Zr]&&Vi(t[Zr]),n.destroyNode&&Qs(e,t,n,3,null,null),function d0(e){let t=e[tt];if(!t)return jc(e[wt],e);for(;t;){let n=null;if(Ir(t))n=t[tt];else{const r=t[dr];r&&(n=r)}if(!n){for(;t&&!t[fr]&&t!==e;)Ir(t)&&jc(t[wt],t),t=t[En];null===t&&(t=e),Ir(t)&&jc(t[wt],t),n=t&&t[fr]}t=n}}(t)}}function jc(e,t){if(!(256&t[zt])){t[zt]&=-129,t[zt]|=256,function g0(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[a]():r[-a].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[F]=null);const i=t[yr];if(null!==i){t[yr]=null;for(let s=0;s-1){const{encapsulation:s}=e.data[r.directiveStart+i];if(s===ln.None||s===ln.Emulated)return null}return Ar(r,n)}}(e,t.parent,n)}function Ai(e,t,n,r,i){e.insertBefore(t,n,r,i)}function zf(e,t,n){e.appendChild(t,n)}function Gf(e,t,n,r,i){null!==r?Ai(e,t,n,r,i):zf(e,t,n)}function al(e,t){return e.parentNode(t)}function Yf(e,t,n){return Xf(e,t,n)}let Uc,ul,Wc,dl,Xf=function Wf(e,t,n){return 40&e.type?Ar(e,n):null};function ll(e,t,n,r){const i=Hc(e,r,t),s=t[ye],d=Yf(r.parent||t[ur],r,t);if(null!=i)if(Array.isArray(n))for(let h=0;he,createScript:e=>e,createScriptURL:e=>e})}catch{}return ul}()?.createHTML(e)||e}function I0(e){Wc=e}function ns(){if(void 0!==Wc)return Wc;if(typeof document<"u")return document;throw new U(210,!1)}function Xc(){if(void 0===dl&&(dl=null,dt.trustedTypes))try{dl=dt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return dl}function th(e){return Xc()?.createHTML(e)||e}function rh(e){return Xc()?.createScriptURL(e)||e}class oh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${re})`}}function pi(e){return e instanceof oh?e.changingThisBreaksApplicationSecurity:e}function ea(e,t){const n=function O0(e){return e instanceof oh&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${re})`)}return n===t}class R0{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(ts(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class P0{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=ts(t),n}}const k0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function qc(e){return(e=String(e)).match(k0)?e:"unsafe:"+e}function ri(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ta(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const sh=ri("area,br,col,hr,img,wbr"),ah=ri("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),lh=ri("rp,rt"),Kc=ta(sh,ta(ah,ri("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")),ta(lh,ri("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")),ta(lh,ah)),Zc=ri("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ch=ta(Zc,ri("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"),ri("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")),N0=ri("script,style,template");class L0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Kc.hasOwnProperty(n))return this.sanitizedSomething=!0,!N0.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i"),!0}endElement(t){const n=t.nodeName.toLowerCase();Kc.hasOwnProperty(n)&&!sh.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(uh(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const $0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,B0=/([^\#-~ |!])/g;function uh(e){return e.replace(/&/g,"&").replace($0,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(B0,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let fl;function Jc(e){return"content"in e&&function j0(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var rs=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}(rs||{});function dh(e){const t=na();return t?th(t.sanitize(rs.HTML,e)||""):ea(e,"HTML")?th(pi(e)):function V0(e,t){let n=null;try{fl=fl||function ih(e){const t=new P0(e);return function F0(){try{return!!(new window.DOMParser).parseFromString(ts(""),"text/html")}catch{return!1}}()?new R0(t):t}(e);let r=t?String(t):"";n=fl.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=fl.getInertBodyElement(r)}while(r!==s);return ts((new L0).sanitizeChildren(Jc(n)||n))}finally{if(n){const r=Jc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(ns(),se(e))}function fh(e){const t=na();return t?t.sanitize(rs.URL,e)||"":ea(e,"URL")?pi(e):qc(se(e))}function hh(e){const t=na();if(t)return rh(t.sanitize(rs.RESOURCE_URL,e)||"");if(ea(e,"ResourceURL"))return rh(pi(e));throw new U(904,!1)}function ph(e,t,n){return function Y0(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?hh:fh}(t,n)(e)}function na(){const e=lt();return e&&e[J].sanitizer}const ra=new Bt("ENVIRONMENT_INITIALIZER"),gh=new Bt("INJECTOR",-1),mh=new Bt("INJECTOR_DEF_TYPES");class Qc{get(t,n=$e){if(n===$e){const r=new Error(`NullInjectorError: No provider for ${P(t)}!`);throw r.name="NullInjectorError",r}return n}}function eu(e){return{\u0275providers:e}}function W0(...e){return{\u0275providers:vh(0,e),\u0275fromNgModule:!0}}function vh(e,...t){const n=[],r=new Set;let i;const s=a=>{n.push(a)};return Ki(t,a=>{const d=a;hl(d,s,[],r)&&(i||=[],i.push(d))}),void 0!==i&&yh(i,s),n}function yh(e,t){for(let n=0;n{t(s,r)})}}function hl(e,t,n,r){if(!(e=ue(e)))return!1;let i=null,s=Kt(e);const a=!s&&rn(e);if(s||a){if(a&&!a.standalone)return!1;i=e}else{const h=e.ngModule;if(s=Kt(h),!s)return!1;i=h}const d=r.has(i);if(a){if(d)return!1;if(r.add(i),a.dependencies){const h="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const E of h)hl(E,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!d){let E;r.add(i);try{Ki(s.imports,$=>{hl($,t,n,r)&&(E||=[],E.push($))})}finally{}void 0!==E&&yh(E,t)}if(!d){const E=go(i)||(()=>new i);t({provide:i,useFactory:E,deps:Ut},i),t({provide:mh,useValue:i,multi:!0},i),t({provide:ra,useValue:()=>Re(i),multi:!0},i)}const h=s.providers;if(null!=h&&!d){const E=e;tu(h,$=>{t($,E)})}}}return i!==e&&void 0!==e.providers}function tu(e,t){for(let n of e)Be(n)&&(n=n.\u0275providers),Array.isArray(n)?tu(n,t):t(n)}const X0=D({provide:String,useValue:D});function nu(e){return null!==e&&"object"==typeof e&&X0 in e}function Ti(e){return"function"==typeof e}const ru=new Bt("Set Injector scope."),pl={},K0={};let ou;function gl(){return void 0===ou&&(ou=new Qc),ou}class Uo{}class os extends Uo{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,su(t,a=>this.processProvider(a)),this.records.set(gh,is(void 0,this)),i.has("environment")&&this.records.set(Uo,is(void 0,this));const s=this.records.get(ru);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(mh.multi,Ut,Rt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=xn(this),r=Wt(void 0);try{return t()}finally{xn(n),Wt(r)}}get(t,n=$e,r=Rt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Nn))return t[Nn](this);r=Qe(r);const s=xn(this),a=Wt(void 0);try{if(!(r&Rt.SkipSelf)){let h=this.records.get(t);if(void 0===h){const E=function tb(e){return"function"==typeof e||"object"==typeof e&&e instanceof Bt}(t)&&At(t);h=E&&this.injectableDefInScope(E)?is(iu(t),pl):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&Rt.Self?gl():this.parent).get(t,n=r&Rt.Optional&&n===$e?null:n)}catch(d){if("NullInjectorError"===d.name){if((d[Me]=d[Me]||[]).unshift(P(t)),s)throw d;return function sn(e,t,n,r){const i=e[Me];throw t[en]&&i.unshift(t[en]),e.message=function xt(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=P(t);if(Array.isArray(t))i=t.map(P).join(" -> ");else if("object"==typeof t){let s=[];for(let a in t)if(t.hasOwnProperty(a)){let d=t[a];s.push(a+":"+("string"==typeof d?JSON.stringify(d):P(d)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Et,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Me]=null,e}(d,t,"R3InjectorError",this.source)}throw d}finally{Wt(a),xn(s)}}resolveInjectorInitializers(){const t=xn(this),n=Wt(void 0);try{const i=this.get(ra.multi,Ut,Rt.Self);for(const s of i)s()}finally{xn(t),Wt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(P(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new U(205,!1)}processProvider(t){let n=Ti(t=ue(t))?t:ue(t&&t.provide);const r=function J0(e){return nu(e)?is(void 0,e.useValue):is(Ch(e),pl)}(t);if(Ti(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=is(void 0,pl,!0),i.factory=()=>it(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===pl&&(n.value=K0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function eb(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ue(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function iu(e){const t=At(e),n=null!==t?t.factory:go(e);if(null!==n)return n;if(e instanceof Bt)throw new U(204,!1);if(e instanceof Function)return function Z0(e){const t=e.length;if(t>0)throw Xs(t,"?"),new U(204,!1);const n=function wn(e){return e&&(e[Nt]||e[Vn])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new U(204,!1)}function Ch(e,t,n){let r;if(Ti(e)){const i=ue(e);return go(i)||iu(i)}if(nu(e))r=()=>ue(e.useValue);else if(function Dh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...it(e.deps||[]));else if(function bh(e){return!(!e||!e.useExisting)}(e))r=()=>Re(ue(e.useExisting));else{const i=ue(e&&(e.useClass||e.provide));if(!function Q0(e){return!!e.deps}(e))return go(i)||iu(i);r=()=>new i(...it(e.deps))}return r}function is(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function su(e,t){for(const n of e)Array.isArray(n)?su(n,t):n&&Be(n)?su(n.\u0275providers,t):t(n)}const Eh=new Bt("AppId",{providedIn:"root",factory:()=>nb}),nb="ng",_h=new Bt("Platform Initializer"),au=new Bt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),rb=new Bt("CSP nonce",{providedIn:"root",factory:()=>ns().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let wh=(e,t,n)=>null;function gu(e,t,n=!1){return wh(e,t,n)}class hb{}class Sh{}class gb{resolveComponentFactory(t){throw function pb(e){const t=Error(`No component factory found for ${P(e)}.`);return t.ngComponent=e,t}(t)}}let Cl=(()=>{class e{static#e=this.NULL=new gb}return e})();function mb(){return ls(Tr(),lt())}function ls(e,t){return new sa(Ar(e,t))}let sa=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=mb}return e})();function vb(e){return e instanceof sa?e.nativeElement:e}class Th{}let yb=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function bb(){const e=lt(),n=Yr(Tr().index,e);return(Ir(n)?n:e)[ye]}()}return e})(),Db=(()=>{class e{static#e=this.\u0275prov=pt({token:e,providedIn:"root",factory:()=>null})}return e})();class xh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Cb=new xh("16.2.12"),yu={};function Fh(e,t=null,n=null,r){const i=kh(e,t,n,r);return i.resolveInjectorInitializers(),i}function kh(e,t=null,n=null,r,i=new Set){const s=[n||Ut,W0(e)];return r=r||("object"==typeof e?void 0:P(e)),new os(s,t||gl(),r||null,i)}let xo=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=$e;static#t=this.NULL=new Qc;static create(n,r){if(Array.isArray(n))return Fh({name:""},r,n,"");{const i=n.name??"";return Fh({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=pt({token:e,providedIn:"any",factory:()=>Re(gh)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Du(e){return e.ngOriginalError}class gi{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Du(t);for(;n&&Du(n);)n=Du(n);return n||null}}function Eu(e){return t=>{setTimeout(e,void 0,t)}}const zo=class Ab extends o.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,s=n||(()=>null),a=r;if(t&&"object"==typeof t){const h=t;i=h.next?.bind(h),s=h.error?.bind(h),a=h.complete?.bind(h)}this.__isAsync&&(s=Eu(s),i&&(i=Eu(i)),a&&(a=Eu(a)));const d=super.subscribe({next:i,error:s,complete:a});return t instanceof w.w0&&t.add(d),d}};function Lh(...e){}class Pr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new zo(!1),this.onMicrotaskEmpty=new zo(!1),this.onStable=new zo(!1),this.onError=new zo(!1),typeof Zone>"u")throw new U(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function Tb(){const e="function"==typeof dt.requestAnimationFrame;let t=dt[e?"requestAnimationFrame":"setTimeout"],n=dt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Rb(e){const t=()=>{!function Ob(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(dt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,wu(e),e.isCheckStableRunning=!0,_u(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),wu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,a,d)=>{if(function Fb(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(d))return n.invokeTask(i,s,a,d);try{return $h(e),n.invokeTask(i,s,a,d)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Bh(e)}},onInvoke:(n,r,i,s,a,d,h)=>{try{return $h(e),n.invoke(i,s,a,d,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),Bh(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,wu(e),_u(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Pr.isInAngularZone())throw new U(909,!1)}static assertNotInAngularZone(){if(Pr.isInAngularZone())throw new U(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+i,t,xb,Lh,Lh);try{return s.runTask(a,n,r)}finally{s.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const xb={};function _u(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 wu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function $h(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Bh(e){e._nesting--,_u(e)}class Pb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new zo,this.onMicrotaskEmpty=new zo,this.onStable=new zo,this.onError=new zo}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}const Vh=new Bt("",{providedIn:"root",factory:jh});function jh(){const e=be(Pr);let t=!0;return function I(...e){const t=(0,_.yG)(e),n=(0,_._6)(e,1/0),r=e;return r.length?1===r.length?(0,R.Xf)(r[0]):(0,ae.J)(n)((0,q.D)(r,t)):O.E}(new ee.y(i=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(t),i.complete()})}),new ee.y(i=>{let s;e.runOutsideAngular(()=>{s=e.onStable.subscribe(()=>{Pr.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,i.next(!0))})})});const a=e.onUnstable.subscribe(()=>{Pr.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{s.unsubscribe(),a.unsubscribe()}}).pipe((0,Q.B)()))}function oi(e){return e instanceof Function?e():e}let Iu=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=pt({token:e,providedIn:"root",factory:()=>new e})}return e})();function aa(e){for(;e;){e[zt]|=64;const t=Zs(e);if(ai(e)&&!t)return e;e=t}return null}const Yh=new Bt("",{providedIn:"root",factory:()=>!1});let _l=null;function Kh(e,t){return e[t]??Qh()}function Zh(e,t){const n=Qh();n.producerNode?.length&&(e[t]=_l,n.lView=e,_l=Jh())}const zb={...xs,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{aa(e.lView)},lView:null};function Jh(){return Object.create(zb)}function Qh(){return _l??=Jh(),_l}const on={};function ep(e){tp(Dn(),lt(),kr()+e,!1)}function tp(e,t,n,r){if(!r)if(3==(3&t[zt])){const s=e.preOrderCheckHooks;null!==s&&ja(t,s,n)}else{const s=e.preOrderHooks;null!==s&&Ha(t,s,0,n)}Mi(n)}function ds(e,t=Rt.Default){const n=lt();return null===n?Re(e,t):uf(Tr(),n,ue(e),t)}function np(){throw new Error("invalid")}function wl(e,t,n,r,i,s,a,d,h,E,$){const le=t.blueprint.slice();return le[On]=i,le[zt]=140|r,(null!==E||e&&2048&e[zt])&&(le[zt]|=2048),uc(le),le[En]=le[vt]=e,le[W]=n,le[J]=a||e&&e[J],le[ye]=d||e&&e[ye],le[M]=h||e&&e[M]||null,le[ur]=s,le[_r]=function qy(){return Xy++}(),le[Nr]=$,le[Kr]=E,le[It]=2==t.type?e[It]:le,le}function fs(e,t,n,r,i){let s=e.data[t];if(null===s)s=function Mu(e,t,n,r,i){const s=La(),a=Vs(),h=e.data[t]=function Jb(e,t,n,r,i,s){let a=t?t.injectorIndex:-1,d=0;return ti()&&(d|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:d,providerIndexes:0,value:i,attrs:s,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,a?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=h),null!==s&&(a?null==s.child&&null!==h.parent&&(s.child=h):null===s.next&&(s.next=h,h.prev=s)),h}(e,t,n,r,i),function c(){return Qt.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const a=function wi(){const e=Qt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===a?-1:a.injectorIndex}return Do(s,!0),s}function la(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;sfn&&tp(e,t,fn,!1),yo(d?2:0,i);const E=d?s:null,$=Di(E);try{null!==E&&(E.dirty=!1),n(r,i)}finally{Ci(E,$)}}finally{d&&null===t[zr]&&Zh(t,zr),Mi(a),yo(d?3:1,i)}}function Su(e,t,n){if(Ko(t)){const r=Lr(null);try{const s=t.directiveEnd;for(let a=t.directiveStart;anull;function sp(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const s=e[i];null===r?ap(n,t,i,s):r.hasOwnProperty(i)&&ap(n,t,r[i],s)}return n}function ap(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function uo(e,t,n,r,i,s,a,d){const h=Ar(t,n);let $,E=t.inputs;!d&&null!=E&&($=E[r])?(ku(e,n,$,r,i),ho(t)&&function tD(e,t){const n=Yr(t,e);16&n[zt]||(n[zt]|=64)}(n,t.index)):3&t.type&&(r=function eD(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=a?a(i,t.value||"",r):i,s.setProperty(h,r,i))}function Ou(e,t,n,r){if(gc()){const i=null===r?null:{"":-1},s=function aD(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let s=0;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=d&&a.push(d),a.push(n,r,s)}}(e,t,r,la(e,n,i.hostVars,on),i)}function Go(e,t,n,r,i,s){const a=Ar(e,t);!function Pu(e,t,n,r,i,s,a){if(null==s)e.removeAttribute(t,i,n);else{const d=null==a?se(s):a(s,r||"",i);e.setAttribute(t,i,d,n)}}(t[ye],a,s,e.value,n,r,i)}function hD(e,t,n,r,i,s){const a=s[t];if(null!==a)for(let d=0;d{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,i){const s=typeof Zone>"u"?null:Zone.current,a=function dn(e,t,n){const r=Object.create($n);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=a=>{r.cleanupFn=a};return r.ref={notify:()=>bi(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Ps(r))return;r.hasRun=!0;const a=Di(r);try{r.cleanupFn(),r.cleanupFn=Un,r.fn(i)}finally{Ci(r,a)}},cleanup:()=>r.cleanupFn()},r.ref}(n,E=>{this.all.has(E)&&this.queue.set(E,s)},i);let d;this.all.add(a),a.notify();const h=()=>{a.cleanup(),d?.(),this.all.delete(a),this.queue.delete(a)};return d=r?.onDestroy(h),{destroy:h}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=pt({token:e,providedIn:"root",factory:()=>new e})}return e})();function Ml(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let a=0;a0){Dp(e,1);const i=n.components;null!==i&&Ep(e,i,1)}}function Ep(e,t,n){for(let r=0;r-1&&(sl(t,r),Wa(n,r))}this._attachedToViewContainer=!1}Vc(this._lView[wt],this._lView)}onDestroy(t){!function dc(e,t){if(256==(256&e[zt]))throw new U(911,!1);null===e[yr]&&(e[yr]=[]),e[yr].push(t)}(this._lView,t)}markForCheck(){aa(this._cdRefInjectingView||this._lView)}detach(){this._lView[zt]&=-129}reattach(){this._lView[zt]|=128}detectChanges(){Sl(this._lView[wt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new U(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function u0(e,t){Qs(e,t,t[ye],2,null,null)}(this._lView[wt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new U(902,!1);this._appRef=t}}class ED extends ua{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Sl(t[wt],t,t[W],!1)}checkNoChanges(){}get context(){return null}}class _p extends Cl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=rn(t);return new da(n,this.ngModule)}}function wp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class wD{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Qe(r);const i=this.injector.get(t,yu,r);return i!==yu||n===yu?i:this.parentInjector.get(t,n,r)}}class da extends Sh{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=wp(t.inputs);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return wp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function X(e){return e.map(m).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){let s=(i=i||this.ngModule)instanceof Uo?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new wD(t,s):t,d=a.get(Th,null);if(null===d)throw new U(407,!1);const le={rendererFactory:d,sanitizer:a.get(Db,null),effectManager:a.get(vp,null),afterRenderEventManager:a.get(Iu,null)},xe=d.createRenderer(null,this.componentDef),He=this.componentDef.selectors[0][0]||"div",rt=r?function Wb(e,t,n,r){const s=r.get(Yh,!1)||n===ln.ShadowDom,a=e.selectRootElement(t,s);return function Xb(e){ip(e)}(a),a}(xe,r,this.componentDef.encapsulation,a):il(xe,He,function _D(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(He)),Ht=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let st=null;null!==rt&&(st=gu(rt,a,!0));const nn=xu(0,null,null,1,0,null,null,null,null,null,null),vn=wl(null,nn,null,Ht,null,null,le,xe,a,null,st);let Gn,oo;tn(vn);try{const si=this.componentDef;let Ts,Yd=null;si.findHostDirectiveDefs?(Ts=[],Yd=new Map,si.findHostDirectiveDefs(si,Ts,Yd),Ts.push(si)):Ts=[si];const LI=function MD(e,t){const n=e[wt],r=fn;return e[r]=t,fs(n,r,2,"#host",null)}(vn,rt),$I=function SD(e,t,n,r,i,s,a){const d=i[wt];!function AD(e,t,n,r){for(const i of e)t.mergedAttrs=lr(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Ml(t,t.mergedAttrs,!0),null!==n&&eh(r,n,t))}(r,e,t,a);let h=null;null!==t&&(h=gu(t,i[M]));const E=s.rendererFactory.createRenderer(t,n);let $=16;n.signals?$=4096:n.onPush&&($=64);const le=wl(i,op(n),null,$,i[e.index],e,s,E,null,null,h);return d.firstCreatePass&&Ru(d,e,r.length-1),Il(i,le),i[e.index]=le}(LI,rt,si,Ts,vn,le,xe);oo=Ra(nn,fn),rt&&function xD(e,t,n,r){if(r)Qn(e,n,["ng-version",Cb.full]);else{const{attrs:i,classes:s}=function Ae(e){const t=[],n=[];let r=1,i=2;for(;r0&&Qf(e,n,s.join(" "))}}(xe,si,rt,r),void 0!==n&&function OD(e,t,n){const r=e.projection=[];for(let i=0;i=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=lr(i.hostAttrs,n=lr(n,i.hostAttrs))}}(r)}function Al(e){return e===cn?{}:e===Ut?[]:e}function FD(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function kD(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function ND(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Tp(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[2]&&(n[r]=i[2])}e.inputTransforms=n}function Tl(e){return!!$u(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function $u(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Yo(e,t,n){return e[t]=n}function jr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function xi(e,t,n,r){const i=jr(e,t,n);return jr(e,t+1,r)||i}function Bu(e,t,n,r){const i=lt();return jr(i,Ii(),t)&&(Dn(),Go(pr(),i,e,t,n,r)),Bu}function ps(e,t,n,r){return jr(e,Ii(),n)?t+se(n)+r:on}function gs(e,t,n,r,i,s){const d=xi(e,Vo(),n,i);return jo(2),d?t+se(n)+r+se(i)+s:on}function ms(e,t,n,r,i,s,a,d){const E=function xl(e,t,n,r,i){const s=xi(e,t,n,r);return jr(e,t+2,i)||s}(e,Vo(),n,i,a);return jo(3),E?t+se(n)+r+se(i)+s+se(a)+d:on}function Hp(e,t,n,r,i,s,a,d){const h=lt(),E=Dn(),$=e+fn,le=E.firstCreatePass?function aC(e,t,n,r,i,s,a,d,h){const E=t.consts,$=fs(t,e,4,a||null,To(E,d));Ou(t,n,$,To(E,h)),Va(t,$);const le=$.tView=xu(2,$,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,E,null);return null!==t.queries&&(t.queries.template(t,$),le.queries=t.queries.embeddedTView($)),$}($,E,h,t,n,r,i,s,a):E.data[$];Do(le,!1);const xe=Up(E,h,le,e);Ba()&&ll(E,h,xe,le),Vr(xe,h),Il(h,h[$]=dp(xe,h,xe,le)),lo(le)&&Au(E,h,le),null!=a&&Tu(h,le,d)}let Up=function zp(e,t,n,r){return hi(!0),t[ye].createComment("")};function Gp(e){return ei(function $a(){return Qt.lFrame.contextLView}(),fn+e)}function Gu(e,t,n){const r=lt();return jr(r,Ii(),t)&&uo(Dn(),pr(),r,e,t,r[ye],n,!1),Gu}function Yu(e,t,n,r,i){const a=i?"class":"style";ku(e,n,t.inputs[a],a,r)}function Fl(e,t,n,r){const i=lt(),s=Dn(),a=fn+e,d=i[ye],h=s.firstCreatePass?function dC(e,t,n,r,i,s){const a=t.consts,h=fs(t,e,2,r,To(a,i));return Ou(t,n,h,To(a,s)),null!==h.attrs&&Ml(h,h.attrs,!1),null!==h.mergedAttrs&&Ml(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(a,s,i,t,n,r):s.data[a],E=Yp(s,i,h,d,t,e);i[a]=E;const $=lo(h);return Do(h,!0),eh(d,E,h),32!=(32&h.flags)&&Ba()&&ll(s,i,E,h),0===function Bs(){return Qt.lFrame.elementDepthCount}()&&Vr(E,i),function hc(){Qt.lFrame.elementDepthCount++}(),$&&(Au(s,i,h),Su(s,h,i)),null!==r&&Tu(i,h),Fl}function kl(){let e=Tr();Vs()?js():(e=e.parent,Do(e,!1));const t=e;(function mc(e){return Qt.skipHydrationRootTNode===e})(t)&&function vc(){Qt.skipHydrationRootTNode=null}(),function pc(){Qt.lFrame.elementDepthCount--}();const n=Dn();return n.firstCreatePass&&(Va(n,e),Ko(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ay(e){return 0!=(8&e.flags)}(t)&&Yu(n,t,lt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function ly(e){return 0!=(16&e.flags)}(t)&&Yu(n,t,lt(),t.stylesWithoutHost,!1),kl}function Wu(e,t,n,r){return Fl(e,t,n,r),kl(),Wu}let Yp=(e,t,n,r,i,s)=>(hi(!0),il(r,i,function Qd(){return Qt.lFrame.currentNamespace}()));function Xu(e,t,n){const r=lt(),i=Dn(),s=e+fn,a=i.firstCreatePass?function pC(e,t,n,r,i){const s=t.consts,a=To(s,r),d=fs(t,e,8,"ng-container",a);return null!==a&&Ml(d,a,!0),Ou(t,n,d,To(s,i)),null!==t.queries&&t.queries.elementStart(t,d),d}(s,i,r,t,n):i.data[s];Do(a,!0);const d=Wp(i,r,a,e);return r[s]=d,Ba()&&ll(i,r,d,a),Vr(d,r),lo(a)&&(Au(i,r,a),Su(i,a,r)),null!=n&&Tu(r,a),Xu}function qu(){let e=Tr();const t=Dn();return Vs()?js():(e=e.parent,Do(e,!1)),t.firstCreatePass&&(Va(t,e),Ko(e)&&t.queries.elementEnd(e)),qu}function Ku(e,t,n){return Xu(e,t,n),qu(),Ku}let Wp=(e,t,n,r)=>(hi(!0),Bc(t[ye],""));function Xp(){return lt()}function Zu(e){return!!e&&"function"==typeof e.then}function qp(e){return!!e&&"function"==typeof e.subscribe}function Ju(e,t,n,r){const i=lt(),s=Dn(),a=Tr();return function Zp(e,t,n,r,i,s,a){const d=lo(r),E=e.firstCreatePass&&pp(e),$=t[W],le=hp(t);let xe=!0;if(3&r.type||a){const ht=Ar(r,t),St=a?a(ht):ht,Ht=le.length,st=a?vn=>a(mn(vn[r.index])):r.index;let nn=null;if(!a&&d&&(nn=function vC(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;sh?d[h]:null}"string"==typeof a&&(s+=2)}return null}(e,t,i,r.index)),null!==nn)(nn.__ngLastListenerFn__||nn).__ngNextListenerFn__=s,nn.__ngLastListenerFn__=s,xe=!1;else{s=Qp(r,t,$,s,!1);const vn=n.listen(St,i,s);le.push(s,vn),E&&E.push(i,st,Ht,Ht+1)}}else s=Qp(r,t,$,s,!1);const He=r.outputs;let rt;if(xe&&null!==He&&(rt=He[i])){const ht=rt.length;if(ht)for(let St=0;St-1?Yr(e.index,t):t);let h=Jp(t,n,r,a),E=s.__ngNextListenerFn__;for(;E;)h=Jp(t,n,E,a)&&h,E=E.__ngNextListenerFn__;return i&&!1===h&&a.preventDefault(),h}}function eg(e=1){return function Hs(e){return(Qt.lFrame.contextLView=function fi(e,t){for(;e>0;)t=t[vt],e--;return t}(e,Qt.lFrame.contextLView))[W]}(e)}function yC(e,t){let n=null;const r=function et(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i>17&32767}function ed(e){return 2|e}function Oi(e){return(131068&e)>>2}function td(e,t){return-131069&e|t<<2}function nd(e){return 1|e}function dg(e,t,n,r,i){const s=e[n+1],a=null===t;let d=r?mi(s):Oi(s),h=!1;for(;0!==d&&(!1===h||a);){const $=e[d+1];wC(e[d],t)&&(h=!0,e[d+1]=r?nd($):ed($)),d=r?mi($):Oi($)}h&&(e[n+1]=r?ed(s):nd(s))}function wC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Zi(e,t)>=0}function rd(e,t,n){return Oo(e,t,n,!1),rd}function od(e,t){return Oo(e,t,null,!0),od}function Oo(e,t,n,r){const i=lt(),s=Dn(),a=jo(2);s.firstUpdatePass&&function bg(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[kr()],a=function yg(e,t){return t>=e.expandoStartIndex}(e,n);(function _g(e,t){return 0!=(e.flags&(t?8:16))})(s,r)&&null===t&&!a&&(t=!1),t=function PC(e,t,n,r){const i=function G(e){const t=Qt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=ma(n=id(null,e,t,n,r),t.attrs,r),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=id(i,e,t,n,r),null===s){let h=function FC(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Oi(r))return e[mi(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=id(null,e,t,h[1],r),h=ma(h,t.attrs,r),function kC(e,t,n,r){e[mi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else s=function NC(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(E=!0)):$=n,i)if(0!==h){const xe=mi(e[d+1]);e[r+1]=Ll(xe,d),0!==xe&&(e[xe+1]=td(e[xe+1],r)),e[d+1]=function DC(e,t){return 131071&e|t<<17}(e[d+1],r)}else e[r+1]=Ll(d,0),0!==d&&(e[d+1]=td(e[d+1],r)),d=r;else e[r+1]=Ll(h,0),0===d?d=r:e[h+1]=td(e[h+1],r),h=r;E&&(e[r+1]=ed(e[r+1])),dg(e,$,r,!0),dg(e,$,r,!1),function _C(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Zi(s,t)>=0&&(n[r+1]=nd(n[r+1]))}(t,$,e,r,s),a=Ll(d,h),s?t.classBindings=a:t.styleBindings=a}(i,s,t,n,a,r)}}(s,e,a,r),t!==on&&jr(i,a,t)&&function Cg(e,t,n,r,i,s,a,d){if(!(3&t.type))return;const h=e.data,E=h[d+1],$=function CC(e){return 1==(1&e)}(E)?Eg(h,t,n,i,Oi(E),a):void 0;$l($)||($l(s)||function bC(e){return 2==(2&e)}(E)&&(s=Eg(h,null,n,i,d,a)),function D0(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:rl.DashCase;null==i?e.removeStyle(n,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=rl.Important),e.setStyle(n,r,i,s))}}(r,a,_i(kr(),n),i,s))}(s,s.data[kr()],i,i[ye],e,i[a+1]=function VC(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=P(pi(e)))),e}(t,n),r,a)}function id(e,t,n,r,i){let s=null;const a=n.directiveEnd;let d=n.directiveStylingLast;for(-1===d?d=n.directiveStart:d++;d0;){const h=e[i],E=Array.isArray(h),$=E?h[1]:h,le=null===$;let xe=n[i+1];xe===on&&(xe=le?Ut:void 0);let He=le?Tc(xe,r):$===r?xe:void 0;if(E&&!$l(He)&&(He=Tc(h,r)),$l(He)&&(d=He,a))return d;const rt=e[i+1];i=a?mi(rt):Oi(rt)}if(null!==t){let h=s?t.residualClasses:t.residualStyles;null!=h&&(d=Tc(h,r))}return d}function $l(e){return void 0!==e}function wg(e,t=""){const n=lt(),r=Dn(),i=e+fn,s=r.firstCreatePass?fs(r,i,1,t,null):r.data[i],a=Ig(r,n,s,t,e);n[i]=a,Ba()&&ll(r,n,a,s),Do(s,!1)}let Ig=(e,t,n,r,i)=>(hi(!0),function ol(e,t){return e.createText(t)}(t[ye],r));function sd(e){return Bl("",e,""),sd}function Bl(e,t,n){const r=lt(),i=ps(r,e,t,n);return i!==on&&ii(r,kr(),i),Bl}function ad(e,t,n,r,i){const s=lt(),a=gs(s,e,t,n,r,i);return a!==on&&ii(s,kr(),a),ad}function ld(e,t,n,r,i,s,a){const d=lt(),h=ms(d,e,t,n,r,i,s,a);return h!==on&&ii(d,kr(),h),ld}function cd(e,t,n){const r=lt();return jr(r,Ii(),t)&&uo(Dn(),pr(),r,e,t,r[ye],n,!0),cd}const Ri=void 0;var lE=["en",[["a","p"],["AM","PM"],Ri],[["AM","PM"],Ri,Ri],[["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"]],Ri,[["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"]],Ri,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ri,"{1} 'at' {0}",Ri],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function aE(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let _s={};function ud(e){const t=function cE(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ug(t);if(n)return n;const r=t.split("-")[0];if(n=Ug(r),n)return n;if("en"===r)return lE;throw new U(701,!1)}function Hg(e){return ud(e)[ws.PluralCase]}function Ug(e){return e in _s||(_s[e]=dt.ng&&dt.ng.common&&dt.ng.common.locales&&dt.ng.common.locales[e]),_s[e]}var ws=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}(ws||{});const Is="en-US";let zg=Is;function hd(e,t,n,r,i){if(e=ue(e),Array.isArray(e))for(let s=0;s>20;if(Ti(e)||!e.multi){const He=new Us(E,i,ds),rt=gd(h,t,i?$:$+xe,le);-1===rt?(Ic(za(d,a),s,h),pd(s,e,t.length),t.push(h),d.directiveStart++,d.directiveEnd++,i&&(d.providerIndexes+=1048576),n.push(He),a.push(He)):(n[rt]=He,a[rt]=He)}else{const He=gd(h,t,$+xe,le),rt=gd(h,t,$,$+xe),St=rt>=0&&n[rt];if(i&&!St||!i&&!(He>=0&&n[He])){Ic(za(d,a),s,h);const Ht=function a_(e,t,n,r,i){const s=new Us(e,n,ds);return s.multi=[],s.index=t,s.componentProviders=0,gm(s,i,r&&!n),s}(i?s_:i_,n.length,i,r,E);!i&&St&&(n[rt].providerFactory=Ht),pd(s,e,t.length,0),t.push(h),d.directiveStart++,d.directiveEnd++,i&&(d.providerIndexes+=1048576),n.push(Ht),a.push(Ht)}else pd(s,e,He>-1?He:rt,gm(n[i?rt:He],E,!i&&r));!i&&r&&St&&n[rt].componentProviders++}}}function pd(e,t,n,r){const i=Ti(t),s=function q0(e){return!!e.useClass}(t);if(i||s){const h=(s?ue(t.useClass):t).prototype.ngOnDestroy;if(h){const E=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const $=E.indexOf(n);-1===$?E.push(n,[r,h]):E[$+1].push(r,h)}else E.push(n,h)}}}function gm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function gd(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function o_(e,t,n){const r=Dn();if(r.firstCreatePass){const i=Mr(e);hd(n,r.data,r.blueprint,i,!0),hd(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Pi{}class vm{}function l_(e,t){return new vd(e,t??null,[])}class vd extends Pi{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new _p(this);const i=cr(t);this._bootstrapComponents=oi(i.bootstrap),this._r3Injector=kh(t,n,[{provide:Pi,useValue:this},{provide:Cl,useValue:this.componentFactoryResolver},...r],P(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(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class yd extends vm{constructor(t){super(),this.moduleType=t}create(t){return new vd(this.moduleType,t,[])}}class ym extends Pi{constructor(t){super(),this.componentFactoryResolver=new _p(this),this.instance=null;const n=new os([...t.providers,{provide:Pi,useValue:this},{provide:Cl,useValue:this.componentFactoryResolver}],t.parent||gl(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function bm(e,t,n=null){return new ym({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let u_=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=vh(0,n.type),i=r.length>0?bm([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=pt({token:e,providedIn:"environment",factory:()=>new e(Re(Uo))})}return e})();function Dm(e){e.getStandaloneInjector=t=>t.get(u_).getOrCreateStandaloneInjector(e)}function Sm(e,t,n,r){return Am(lt(),Br(),e,t,n,r)}function Ea(e,t){const n=e[t];return n===on?void 0:n}function Am(e,t,n,r,i,s){const a=t+n;return jr(e,a,i)?Yo(e,a+1,s?r.call(s,i):r(i)):Ea(e,a+1)}function Pm(e,t){const n=Dn();let r;const i=e+fn;n.firstCreatePass?(r=function A_(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=go(r.type)),d=Wt(ds);try{const h=Ua(!1),E=s();return Ua(h),function uC(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,lt(),i,E),E}finally{Wt(d)}}function Fm(e,t,n){const r=e+fn,i=lt(),s=ei(i,r);return _a(i,r)?Am(i,Br(),t,s.transform,n,s):s.transform(n)}function km(e,t,n,r){const i=e+fn,s=lt(),a=ei(s,i);return _a(s,i)?function Tm(e,t,n,r,i,s,a){const d=t+n;return xi(e,d,i,s)?Yo(e,d+2,a?r.call(a,i,s):r(i,s)):Ea(e,d+2)}(s,Br(),t,a.transform,n,r,a):a.transform(n,r)}function _a(e,t){return e[wt].data[t].pure}function R_(){return this._results[Symbol.iterator]()}class Dd{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new zo)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Dd.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=R_)}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,n){return this._results.reduce(t,n)}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,n){const r=this;r.dirty=!1;const i=function Eo(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ey(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r0&&(n[i-1][fr]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=L_}return e})();const k_=wa,N_=class extends k_{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=function P_(e,t,n,r){const i=t.tView,d=wl(e,i,n,4096&e[zt]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);d[Yt]=e[t.index];const E=e[er];return null!==E&&(d[er]=E.createEmbeddedView(i)),Nu(i,d,n),d}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new ua(i)}};function L_(){return zl(Tr(),lt())}function zl(e,t){return 4&e.type?new N_(t,e,ls(e,t)):null}let Yl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=U_}return e})();function U_(){return Hm(Tr(),lt())}const z_=Yl,Vm=class extends z_{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ls(this._hostTNode,this._hostLView)}get injector(){return new Wr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ga(this._hostTNode,this._hostLView);if(Ec(t)){const n=Gs(t,this._hostLView),r=zs(t);return new Wr(n[wt].data[r+8],n)}return new Wr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=jm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-dr}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const d=t.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(d,i,false),d}createComponent(t,n,r,i,s){const a=t&&!function Ws(e){return"function"==typeof e}(t);let d;if(a)d=n;else{const ht=n||{};d=ht.index,r=ht.injector,i=ht.projectableNodes,s=ht.environmentInjector||ht.ngModuleRef}const h=a?t:new da(rn(t)),E=r||this.parentInjector;if(!s&&null==h.ngModule){const St=(a?E:this.parentInjector).get(Uo,null);St&&(s=St)}rn(h.componentType??{});const He=h.create(E,i,null,s);return this.insertImpl(He.hostView,d,false),He}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const i=t._lView;if(function Ls(e){return hr(e[En])}(i)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const E=i[En],$=new Vm(E,E[ur],E[En]);$.detach($.indexOf(t))}}const a=this._adjustIndex(n),d=this._lContainer;return F_(d,i,a,!r),t.attachToViewContainerRef(),vf(Cd(d),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=jm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=sl(this._lContainer,n);r&&(Wa(Cd(this._lContainer),n),Vc(r[wt],r))}detach(t){const n=this._adjustIndex(t,-1),r=sl(this._lContainer,n);return r&&null!=Wa(Cd(this._lContainer),n)?new ua(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function jm(e){return e[8]}function Cd(e){return e[8]||(e[8]=[])}function Hm(e,t){let n;const r=t[e.index];return hr(r)?n=r:(n=dp(r,t,null,e),t[e.index]=n,Il(t,n)),Um(n,t,e,r),new Vm(n,e,t)}let Um=function zm(e,t,n,r){if(e[rr])return;let i;i=8&n.type?mn(r):function G_(e,t){const n=e[ye],r=n.createComment(""),i=Ar(t,e);return Ai(n,al(n,i),r,function v0(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[rr]=i};class Ed{constructor(t){this.queryList=t,this.matches=null}clone(){return new Ed(this.queryList)}setDirty(){this.queryList.setDirty()}}class _d{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s0)r.push(a[d/2]);else{const E=s[d+1],$=t[-h];for(let le=dr;le<$.length;le++){const xe=$[le];xe[Yt]===xe[En]&&Md(xe[wt],xe,E,r)}if(null!==$[Fr]){const le=$[Fr];for(let xe=0;xe{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=be(mv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=i();if(Zu(s))n.push(s);else if(qp(s)){const a=new Promise((d,h)=>{s.subscribe({complete:d,error:h})});n.push(a)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Xl=new Bt("LocaleId",{providedIn:"root",factory:()=>be(Xl,Rt.Optional|Rt.SkipSelf)||function Cw(){return typeof $localize<"u"&&$localize.locale||Is}()}),Ew=new Bt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let yv=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new B.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class ww{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Iw=(()=>{class e{compileModuleSync(n){return new yd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=oi(cr(n).declarations).reduce((a,d)=>{const h=rn(d);return h&&a.push(new da(h)),a},[]);return new ww(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ev=new Bt(""),_v=new Bt("");let kd,Ww=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,kd||(function Xw(e){kd=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Pr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!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(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(Re(Pr),Re(wv),Re(_v))};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac})}return e})(),wv=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return kd?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),vi=null;const Iv=new Bt("AllowMultipleToken"),Nd=new Bt("PlatformDestroyListeners"),Ld=new Bt("appBootstrapListener");class Zw{constructor(t,n){this.name=t,this.token=n}}function Av(e,t,n=[]){const r=`Platform: ${t}`,i=new Bt(r);return(s=[])=>{let a=$d();if(!a||a.injector.get(Iv,!1)){const d=[...n,...s,{provide:i,useValue:!0}];e?e(d):function Jw(e){if(vi&&!vi.get(Iv,!1))throw new U(400,!1);(function Mv(){!function f(e){Bo=e}(()=>{throw new U(600,!1)})})(),vi=e;const t=e.get(xv);(function Sv(e){e.get(_h,null)?.forEach(n=>n())})(e)}(function Tv(e=[],t){return xo.create({name:t,providers:[{provide:ru,useValue:"platform"},{provide:Nd,useValue:new Set([()=>vi=null])},...e]})}(d,r))}return function eI(e){const t=$d();if(!t)throw new U(401,!1);return t}()}}function $d(){return vi?.get(xv)??null}let xv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function tI(e="zone.js",t){return"noop"===e?new Pb:"zone.js"===e?new Pr(t):e}(r?.ngZone,function Ov(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const s=function c_(e,t,n){return new vd(e,t,n)}(n.moduleType,this.injector,function Nv(e){return[{provide:Pr,useFactory:e},{provide:ra,multi:!0,useFactory:()=>{const t=be(rI,{optional:!0});return()=>t.initialize()}},{provide:kv,useFactory:nI},{provide:Vh,useFactory:jh}]}(()=>i)),a=s.injector.get(gi,null);return i.runOutsideAngular(()=>{const d=i.onError.subscribe({next:h=>{a.handleError(h)}});s.onDestroy(()=>{Kl(this._modules,s),d.unsubscribe()})}),function Rv(e,t,n){try{const r=n();return Zu(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(a,i,()=>{const d=s.injector.get(Rd);return d.runInitializers(),d.donePromise.then(()=>(function Gg(e){Ze(e,"Expected localeId to be defined"),"string"==typeof e&&(zg=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(Xl,Is)||Is),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,r=[]){const i=Pv({},r);return function qw(e,t,n){const r=new yd(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(As);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new U(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new U(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Nd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(Re(xo))};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Pv(e,t){return Array.isArray(t)?t.reduce(Pv,e):{...e,...t}}let As=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=be(kv),this.zoneIsStable=be(Vh),this.componentTypes=[],this.components=[],this.isStable=be(yv).hasPendingTasks.pipe((0,S.w)(n=>n?(0,V.of)(!1):this.zoneIsStable),(0,z.x)(),(0,Q.B)()),this._injector=be(Uo)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Sh;if(!this._injector.get(Rd).done)throw!i&&Hr(n),new U(405,!1);let a;a=i?n:this._injector.get(Cl).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const d=function Kw(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Pi),E=a.create(xo.NULL,[],r||a.selector,d),$=E.location.nativeElement,le=E.injector.get(Ev,null);return le?.registerApplication($),E.onDestroy(()=>{this.detachView(E.hostView),Kl(this.components,E),le?.unregisterApplication($)}),this._loadComponent(E),E}tick(){if(this._runningTick)throw new U(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Kl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Ld,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Kl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new U(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Kl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const kv=new Bt("",{providedIn:"root",factory:()=>be(gi).handleError.bind(void 0)});function nI(){const e=be(Pr),t=be(gi);return n=>e.runOutsideAngular(()=>t.handleError(n))}let rI=(()=>{class e{constructor(){this.zone=be(Pr),this.applicationRef=be(As)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function iI(){}let sI=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=aI}return e})();function aI(e){return function lI(e,t,n){if(ho(e)&&!n){const r=Yr(e.index,t);return new ua(r,r)}return 47&e.type?new ua(t[It],t):null}(Tr(),lt(),16==(16&e))}class Vv{constructor(){}supports(t){return Tl(t)}create(t){return new pI(t)}}const hI=(e,t)=>t;class pI{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||hI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const a=!r||n&&n.currentIndex{a=this._trackByFn(i,d),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,d,a,i)),Object.is(n.item,d)||this._addIdentityChange(n,d)):(n=this._mismatch(n,d,a,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),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,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new gI(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new jv),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new jv),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,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class gI{constructor(t,n){this.item=t,this.trackById=n,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 mI{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,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class jv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new mI,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Hv(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,a=i._next;return s&&(s._next=a),a&&(a._prev=s),i._next=null,i._prev=null,i}const r=new yI(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_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,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,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,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class yI{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 zv(){return new Ud([new Vv])}let Ud=(()=>{class e{static#e=this.\u0275prov=pt({token:e,providedIn:"root",factory:zv});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||zv()),deps:[[e,new Ka,new qa]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new U(901,!1)}}return e})();function Gv(){return new zd([new Uv])}let zd=(()=>{class e{static#e=this.\u0275prov=pt({token:e,providedIn:"root",factory:Gv});constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Gv()),deps:[[e,new Ka,new qa]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new U(901,!1)}}return e})();const CI=Av(null,"core",[]);let EI=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(Re(As))};static#t=this.\u0275mod=Sr({type:e});static#n=this.\u0275inj=Vt({})}return e})();function PI(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function kI(e,t){const n=rn(e),r=t.elementInjector||gl();return new da(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function NI(e){const t=rn(e);if(!t)return null;const n=new da(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},95:(ct,je,b)=>{"use strict";b.d(je,{u5:()=>Li,Fd:()=>_r,qQ:()=>yr,Cf:()=>we,JU:()=>D,a5:()=>Lt,JJ:()=>Nt,JL:()=>jt,F:()=>L,On:()=>Ft,c5:()=>dr,Q7:()=>Zr,_Y:()=>Bn});var o=b(2029),w=b(6814),ee=b(7715),ae=b(5592),R=b(7453),O=b(4829),_=b(9940),q=b(8251),I=b(7400),B=b(2714),Q=b(7398);let S=(()=>{class A{constructor(v,K){this._renderer=v,this._elementRef=K,this.onChange=Ie=>{},this.onTouched=()=>{}}setProperty(v,K){this._renderer.setProperty(this._elementRef.nativeElement,v,K)}registerOnTouched(v){this.onTouched=v}registerOnChange(v){this.onChange=v}setDisabledState(v){this.setProperty("disabled",v)}static#e=this.\u0275fac=function(K){return new(K||A)(o.Y36(o.Qsj),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:A})}return A})(),z=(()=>{class A extends S{static#e=this.\u0275fac=function(){let v;return function(Ie){return(v||(v=o.n5z(A)))(Ie||A)}}();static#t=this.\u0275dir=o.lG2({type:A,features:[o.qOj]})}return A})();const D=new o.OlP("NgValueAccessor"),ne={provide:D,useExisting:(0,o.Gpc)(()=>ue),multi:!0},Ne=new o.OlP("CompositionEventMode");let ue=(()=>{class A extends S{constructor(v,K,Ie){super(v,K),this._compositionMode=Ie,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ce(){const A=(0,w.q)()?(0,w.q)().getUserAgent():"";return/android (\d+)/.test(A.toLowerCase())}())}writeValue(v){this.setProperty("value",v??"")}_handleInput(v){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(v)}_compositionStart(){this._composing=!0}_compositionEnd(v){this._composing=!1,this._compositionMode&&this.onChange(v)}static#e=this.\u0275fac=function(K){return new(K||A)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(Ne,8))};static#t=this.\u0275dir=o.lG2({type:A,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(K,Ie){1&K&&o.NdJ("input",function(qt){return Ie._handleInput(qt.target.value)})("blur",function(){return Ie.onTouched()})("compositionstart",function(){return Ie._compositionStart()})("compositionend",function(qt){return Ie._compositionEnd(qt.target.value)})},features:[o._Bn([ne]),o.qOj]})}return A})();function _e(A){return null==A||("string"==typeof A||Array.isArray(A))&&0===A.length}const we=new o.OlP("NgValidators"),re=new o.OlP("NgAsyncValidators");function H(A){return _e(A.value)?{required:!0}:null}function Z(A){return null}function Y(A){return null!=A}function fe(A){return(0,o.QGY)(A)?(0,ee.D)(A):A}function ie(A){let x={};return A.forEach(v=>{x=null!=v?{...x,...v}:x}),0===Object.keys(x).length?null:x}function Ve(A,x){return x.map(v=>v(A))}function at(A){return A.map(x=>function ke(A){return!A.validate}(x)?x:v=>x.validate(v))}function ft(A){return null!=A?function yt(A){if(!A)return null;const x=A.filter(Y);return 0==x.length?null:function(v){return ie(Ve(v,x))}}(at(A)):null}function Ot(A){return null!=A?function bt(A){if(!A)return null;const x=A.filter(Y);return 0==x.length?null:function(v){return function V(...A){const x=(0,_.jO)(A),{args:v,keys:K}=(0,R.D)(A),Ie=new ae.y(kt=>{const{length:qt}=v;if(!qt)return void kt.complete();const br=new Array(qt);let Mo=qt,po=qt;for(let Jo=0;Jo{No||(No=!0,po--),br[Jo]=Lo},()=>Mo--,void 0,()=>{(!Mo||!No)&&(po||kt.next(K?(0,B.n)(K,br):br),kt.complete())}))}});return x?Ie.pipe((0,I.Z)(x)):Ie}(Ve(v,x).map(fe)).pipe((0,Q.U)(ie))}}(at(A)):null}function Ze(A,x){return null===A?[x]:Array.isArray(A)?[...A,x]:[A,x]}function Ue(A){return A?Array.isArray(A)?A:[A]:[]}function ut(A,x){return Array.isArray(A)?A.includes(x):A===x}function pt(A,x){const v=Ue(x);return Ue(A).forEach(Ie=>{ut(v,Ie)||v.push(Ie)}),v}function mt(A,x){return Ue(x).filter(v=>!ut(A,v))}class Vt{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(x){this._rawValidators=x||[],this._composedValidatorFn=ft(this._rawValidators)}_setAsyncValidators(x){this._rawAsyncValidators=x||[],this._composedAsyncValidatorFn=Ot(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(x){this._onDestroyCallbacks.push(x)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(x=>x()),this._onDestroyCallbacks=[]}reset(x=void 0){this.control&&this.control.reset(x)}hasError(x,v){return!!this.control&&this.control.hasError(x,v)}getError(x,v){return this.control?this.control.getError(x,v):null}}class At extends Vt{get formDirective(){return null}get path(){return null}}class Lt extends Vt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class $t{constructor(x){this._cd=x}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Nt=(()=>{class A extends $t{constructor(v){super(v)}static#e=this.\u0275fac=function(K){return new(K||A)(o.Y36(Lt,2))};static#t=this.\u0275dir=o.lG2({type:A,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(K,Ie){2&K&&o.ekj("ng-untouched",Ie.isUntouched)("ng-touched",Ie.isTouched)("ng-pristine",Ie.isPristine)("ng-dirty",Ie.isDirty)("ng-valid",Ie.isValid)("ng-invalid",Ie.isInvalid)("ng-pending",Ie.isPending)},features:[o.qOj]})}return A})(),jt=(()=>{class A extends $t{constructor(v){super(v)}static#e=this.\u0275fac=function(K){return new(K||A)(o.Y36(At,10))};static#t=this.\u0275dir=o.lG2({type:A,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(K,Ie){2&K&&o.ekj("ng-untouched",Ie.isUntouched)("ng-touched",Ie.isTouched)("ng-pristine",Ie.isPristine)("ng-dirty",Ie.isDirty)("ng-valid",Ie.isValid)("ng-invalid",Ie.isInvalid)("ng-pending",Ie.isPending)("ng-submitted",Ie.isSubmitted)},features:[o.qOj]})}return A})();const bn="VALID",gr="INVALID",qn="PENDING",Zn="DISABLED";function Er(A){return(Me(A)?A.validators:A)||null}function $e(A,x){return(Me(x)?x.asyncValidators:A)||null}function Me(A){return null!=A&&!Array.isArray(A)&&"object"==typeof A}class Tt{constructor(x,v){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(x),this._assignAsyncValidators(v)}get validator(){return this._composedValidatorFn}set validator(x){this._rawValidators=this._composedValidatorFn=x}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(x){this._rawAsyncValidators=this._composedAsyncValidatorFn=x}get parent(){return this._parent}get valid(){return this.status===bn}get invalid(){return this.status===gr}get pending(){return this.status==qn}get disabled(){return this.status===Zn}get enabled(){return this.status!==Zn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(x){this._assignValidators(x)}setAsyncValidators(x){this._assignAsyncValidators(x)}addValidators(x){this.setValidators(pt(x,this._rawValidators))}addAsyncValidators(x){this.setAsyncValidators(pt(x,this._rawAsyncValidators))}removeValidators(x){this.setValidators(mt(x,this._rawValidators))}removeAsyncValidators(x){this.setAsyncValidators(mt(x,this._rawAsyncValidators))}hasValidator(x){return ut(this._rawValidators,x)}hasAsyncValidator(x){return ut(this._rawAsyncValidators,x)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(x={}){this.touched=!0,this._parent&&!x.onlySelf&&this._parent.markAsTouched(x)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(x=>x.markAllAsTouched())}markAsUntouched(x={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(v=>{v.markAsUntouched({onlySelf:!0})}),this._parent&&!x.onlySelf&&this._parent._updateTouched(x)}markAsDirty(x={}){this.pristine=!1,this._parent&&!x.onlySelf&&this._parent.markAsDirty(x)}markAsPristine(x={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(v=>{v.markAsPristine({onlySelf:!0})}),this._parent&&!x.onlySelf&&this._parent._updatePristine(x)}markAsPending(x={}){this.status=qn,!1!==x.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!x.onlySelf&&this._parent.markAsPending(x)}disable(x={}){const v=this._parentMarkedDirty(x.onlySelf);this.status=Zn,this.errors=null,this._forEachChild(K=>{K.disable({...x,onlySelf:!0})}),this._updateValue(),!1!==x.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...x,skipPristineCheck:v}),this._onDisabledChange.forEach(K=>K(!0))}enable(x={}){const v=this._parentMarkedDirty(x.onlySelf);this.status=bn,this._forEachChild(K=>{K.enable({...x,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:x.emitEvent}),this._updateAncestors({...x,skipPristineCheck:v}),this._onDisabledChange.forEach(K=>K(!1))}_updateAncestors(x){this._parent&&!x.onlySelf&&(this._parent.updateValueAndValidity(x),x.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(x){this._parent=x}getRawValue(){return this.value}updateValueAndValidity(x={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===bn||this.status===qn)&&this._runAsyncValidator(x.emitEvent)),!1!==x.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!x.onlySelf&&this._parent.updateValueAndValidity(x)}_updateTreeValidity(x={emitEvent:!0}){this._forEachChild(v=>v._updateTreeValidity(x)),this.updateValueAndValidity({onlySelf:!0,emitEvent:x.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zn:bn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(x){if(this.asyncValidator){this.status=qn,this._hasOwnPendingAsyncValidator=!0;const v=fe(this.asyncValidator(this));this._asyncValidationSubscription=v.subscribe(K=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(K,{emitEvent:x})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(x,v={}){this.errors=x,this._updateControlsErrors(!1!==v.emitEvent)}get(x){let v=x;return null==v||(Array.isArray(v)||(v=v.split(".")),0===v.length)?null:v.reduce((K,Ie)=>K&&K._find(Ie),this)}getError(x,v){const K=v?this.get(v):this;return K&&K.errors?K.errors[x]:null}hasError(x,v){return!!this.getError(x,v)}get root(){let x=this;for(;x._parent;)x=x._parent;return x}_updateControlsErrors(x){this.status=this._calculateStatus(),x&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(x)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?Zn:this.errors?gr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(qn)?qn:this._anyControlsHaveStatus(gr)?gr:bn}_anyControlsHaveStatus(x){return this._anyControls(v=>v.status===x)}_anyControlsDirty(){return this._anyControls(x=>x.dirty)}_anyControlsTouched(){return this._anyControls(x=>x.touched)}_updatePristine(x={}){this.pristine=!this._anyControlsDirty(),this._parent&&!x.onlySelf&&this._parent._updatePristine(x)}_updateTouched(x={}){this.touched=this._anyControlsTouched(),this._parent&&!x.onlySelf&&this._parent._updateTouched(x)}_registerOnCollectionChange(x){this._onCollectionChange=x}_setUpdateStrategy(x){Me(x)&&null!=x.updateOn&&(this._updateOn=x.updateOn)}_parentMarkedDirty(x){return!x&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(x){return null}_assignValidators(x){this._rawValidators=Array.isArray(x)?x.slice():x,this._composedValidatorFn=function Ke(A){return Array.isArray(A)?ft(A):A||null}(this._rawValidators)}_assignAsyncValidators(x){this._rawAsyncValidators=Array.isArray(x)?x.slice():x,this._composedAsyncValidatorFn=function me(A){return Array.isArray(A)?Ot(A):A||null}(this._rawAsyncValidators)}}class en extends Tt{constructor(x,v,K){super(Er(v),$e(K,v)),this.controls=x,this._initObservables(),this._setUpdateStrategy(v),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(x,v){return this.controls[x]?this.controls[x]:(this.controls[x]=v,v.setParent(this),v._registerOnCollectionChange(this._onCollectionChange),v)}addControl(x,v,K={}){this.registerControl(x,v),this.updateValueAndValidity({emitEvent:K.emitEvent}),this._onCollectionChange()}removeControl(x,v={}){this.controls[x]&&this.controls[x]._registerOnCollectionChange(()=>{}),delete this.controls[x],this.updateValueAndValidity({emitEvent:v.emitEvent}),this._onCollectionChange()}setControl(x,v,K={}){this.controls[x]&&this.controls[x]._registerOnCollectionChange(()=>{}),delete this.controls[x],v&&this.registerControl(x,v),this.updateValueAndValidity({emitEvent:K.emitEvent}),this._onCollectionChange()}contains(x){return this.controls.hasOwnProperty(x)&&this.controls[x].enabled}setValue(x,v={}){(function Et(A,x,v){A._forEachChild((K,Ie)=>{if(void 0===v[Ie])throw new o.vHH(1002,"")})})(this,0,x),Object.keys(x).forEach(K=>{(function Je(A,x,v){const K=A.controls;if(!(x?Object.keys(K):K).length)throw new o.vHH(1e3,"");if(!K[v])throw new o.vHH(1001,"")})(this,!0,K),this.controls[K].setValue(x[K],{onlySelf:!0,emitEvent:v.emitEvent})}),this.updateValueAndValidity(v)}patchValue(x,v={}){null!=x&&(Object.keys(x).forEach(K=>{const Ie=this.controls[K];Ie&&Ie.patchValue(x[K],{onlySelf:!0,emitEvent:v.emitEvent})}),this.updateValueAndValidity(v))}reset(x={},v={}){this._forEachChild((K,Ie)=>{K.reset(x?x[Ie]:null,{onlySelf:!0,emitEvent:v.emitEvent})}),this._updatePristine(v),this._updateTouched(v),this.updateValueAndValidity(v)}getRawValue(){return this._reduceChildren({},(x,v,K)=>(x[K]=v.getRawValue(),x))}_syncPendingControls(){let x=this._reduceChildren(!1,(v,K)=>!!K._syncPendingControls()||v);return x&&this.updateValueAndValidity({onlySelf:!0}),x}_forEachChild(x){Object.keys(this.controls).forEach(v=>{const K=this.controls[v];K&&x(K,v)})}_setUpControls(){this._forEachChild(x=>{x.setParent(this),x._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(x){for(const[v,K]of Object.entries(this.controls))if(this.contains(v)&&x(K))return!0;return!1}_reduceValue(){return this._reduceChildren({},(v,K,Ie)=>((K.enabled||this.disabled)&&(v[Ie]=K.value),v))}_reduceChildren(x,v){let K=x;return this._forEachChild((Ie,kt)=>{K=v(K,Ie,kt)}),K}_allControlsDisabled(){for(const x of Object.keys(this.controls))if(this.controls[x].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(x){return this.controls.hasOwnProperty(x)?this.controls[x]:null}}const Re=new o.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Ce}),Ce="always";function Qe(A,x,v=Ce){sn(A,x),x.valueAccessor.writeValue(A.value),(A.disabled||"always"===v)&&x.valueAccessor.setDisabledState?.(A.disabled),function an(A,x){x.valueAccessor.registerOnChange(v=>{A._pendingValue=v,A._pendingChange=!0,A._pendingDirty=!0,"change"===A.updateOn&&ln(A,x)})}(A,x),function cn(A,x){const v=(K,Ie)=>{x.valueAccessor.writeValue(K),Ie&&x.viewToModelUpdate(K)};A.registerOnChange(v),x._registerOnDestroy(()=>{A._unregisterOnChange(v)})}(A,x),function kn(A,x){x.valueAccessor.registerOnTouched(()=>{A._pendingTouched=!0,"blur"===A.updateOn&&A._pendingChange&&ln(A,x),"submit"!==A.updateOn&&A.markAsTouched()})}(A,x),function Dt(A,x){if(x.valueAccessor.setDisabledState){const v=K=>{x.valueAccessor.setDisabledState(K)};A.registerOnDisabledChange(v),x._registerOnDestroy(()=>{A._unregisterOnDisabledChange(v)})}}(A,x)}function gt(A,x){A.forEach(v=>{v.registerOnValidatorChange&&v.registerOnValidatorChange(x)})}function sn(A,x){const v=function Oe(A){return A._rawValidators}(A);null!==x.validator?A.setValidators(Ze(v,x.validator)):"function"==typeof v&&A.setValidators([v]);const K=function Xe(A){return A._rawAsyncValidators}(A);null!==x.asyncValidator?A.setAsyncValidators(Ze(K,x.asyncValidator)):"function"==typeof K&&A.setAsyncValidators([K]);const Ie=()=>A.updateValueAndValidity();gt(x._rawValidators,Ie),gt(x._rawAsyncValidators,Ie)}function ln(A,x){A._pendingDirty&&A.markAsDirty(),A.setValue(A._pendingValue,{emitModelToViewChange:!1}),x.viewToModelUpdate(A._pendingValue),A._pendingChange=!1}const mr={provide:At,useExisting:(0,o.Gpc)(()=>L)},Mn=(()=>Promise.resolve())();let L=(()=>{class A extends At{constructor(v,K,Ie){super(),this.callSetDisabledState=Ie,this.submitted=!1,this._directives=new Set,this.ngSubmit=new o.vpe,this.form=new en({},ft(v),Ot(K))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(v){Mn.then(()=>{const K=this._findContainer(v.path);v.control=K.registerControl(v.name,v.control),Qe(v.control,v,this.callSetDisabledState),v.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(v)})}getControl(v){return this.form.get(v.path)}removeControl(v){Mn.then(()=>{const K=this._findContainer(v.path);K&&K.removeControl(v.name),this._directives.delete(v)})}addFormGroup(v){Mn.then(()=>{const K=this._findContainer(v.path),Ie=new en({});(function Ut(A,x){sn(A,x)})(Ie,v),K.registerControl(v.name,Ie),Ie.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(v){Mn.then(()=>{const K=this._findContainer(v.path);K&&K.removeControl(v.name)})}getFormGroup(v){return this.form.get(v.path)}updateModel(v,K){Mn.then(()=>{this.form.get(v.path).setValue(K)})}setValue(v){this.control.setValue(v)}onSubmit(v){return this.submitted=!0,function Qn(A,x){A._syncPendingControls(),x.forEach(v=>{const K=v.control;"submit"===K.updateOn&&K._pendingChange&&(v.viewToModelUpdate(K._pendingValue),K._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(v),"dialog"===v?.target?.method}onReset(){this.resetForm()}resetForm(v=void 0){this.form.reset(v),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(v){return v.pop(),v.length?this.form.get(v):this.form}static#e=this.\u0275fac=function(K){return new(K||A)(o.Y36(we,10),o.Y36(re,10),o.Y36(Re,8))};static#t=this.\u0275dir=o.lG2({type:A,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(K,Ie){1&K&&o.NdJ("submit",function(qt){return Ie.onSubmit(qt)})("reset",function(){return Ie.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([mr]),o.qOj]})}return A})();function te(A,x){const v=A.indexOf(x);v>-1&&A.splice(v,1)}function Se(A){return"object"==typeof A&&null!==A&&2===Object.keys(A).length&&"value"in A&&"disabled"in A}const Te=class extends Tt{constructor(x=null,v,K){super(Er(v),$e(K,v)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(x),this._setUpdateStrategy(v),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Me(v)&&(v.nonNullable||v.initialValueIsDefault)&&(this.defaultValue=Se(x)?x.value:x)}setValue(x,v={}){this.value=this._pendingValue=x,this._onChange.length&&!1!==v.emitModelToViewChange&&this._onChange.forEach(K=>K(this.value,!1!==v.emitViewToModelChange)),this.updateValueAndValidity(v)}patchValue(x,v={}){this.setValue(x,v)}reset(x=this.defaultValue,v={}){this._applyFormState(x),this.markAsPristine(v),this.markAsUntouched(v),this.setValue(this.value,v),this._pendingChange=!1}_updateValue(){}_anyControls(x){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(x){this._onChange.push(x)}_unregisterOnChange(x){te(this._onChange,x)}registerOnDisabledChange(x){this._onDisabledChange.push(x)}_unregisterOnDisabledChange(x){te(this._onDisabledChange,x)}_forEachChild(x){}_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(x){Se(x)?(this.value=this._pendingValue=x.value,x.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=x}},X={provide:Lt,useExisting:(0,o.Gpc)(()=>Ft)},Ae=(()=>Promise.resolve())();let Ft=(()=>{class A extends Lt{constructor(v,K,Ie,kt,qt,br){super(),this._changeDetectorRef=qt,this.callSetDisabledState=br,this.control=new Te,this._registered=!1,this.name="",this.update=new o.vpe,this._parent=v,this._setValidators(K),this._setAsyncValidators(Ie),this.valueAccessor=function ar(A,x){if(!x)return null;let v,K,Ie;return Array.isArray(x),x.forEach(kt=>{kt.constructor===ue?v=kt:function nr(A){return Object.getPrototypeOf(A.constructor)===z}(kt)?K=kt:Ie=kt}),Ie||K||v||null}(0,kt)}ngOnChanges(v){if(this._checkForErrors(),!this._registered||"name"in v){if(this._registered&&(this._checkName(),this.formDirective)){const K=v.name.previousValue;this.formDirective.removeControl({name:K,path:this._getPath(K)})}this._setUpControl()}"isDisabled"in v&&this._updateDisabled(v),function Nn(A,x){if(!A.hasOwnProperty("model"))return!1;const v=A.model;return!!v.isFirstChange()||!Object.is(x,v.currentValue)}(v,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(v){this.viewModel=v,this.update.emit(v)}_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(){Qe(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(v){Ae.then(()=>{this.control.setValue(v,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(v){const K=v.isDisabled.currentValue,Ie=0!==K&&(0,o.VuI)(K);Ae.then(()=>{Ie&&!this.control.disabled?this.control.disable():!Ie&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(v){return this._parent?function be(A,x){return[...x.path,A]}(v,this._parent):[v]}static#e=this.\u0275fac=function(K){return new(K||A)(o.Y36(At,9),o.Y36(we,10),o.Y36(re,10),o.Y36(D,10),o.Y36(o.sBO,8),o.Y36(Re,8))};static#t=this.\u0275dir=o.lG2({type:A,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o._Bn([X]),o.qOj,o.TTD]})}return A})(),Bn=(()=>{class A{static#e=this.\u0275fac=function(K){return new(K||A)};static#t=this.\u0275dir=o.lG2({type:A,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return A})(),vr=(()=>{class A{static#e=this.\u0275fac=function(K){return new(K||A)};static#t=this.\u0275mod=o.oAB({type:A});static#n=this.\u0275inj=o.cJS({})}return A})();function Yt(A){return"number"==typeof A?A:parseFloat(A)}let gn=(()=>{class A{constructor(){this._validator=Z}ngOnChanges(v){if(this.inputName in v){const K=this.normalizeInput(v[this.inputName].currentValue);this._enabled=this.enabled(K),this._validator=this._enabled?this.createValidator(K):Z,this._onChange&&this._onChange()}}validate(v){return this._validator(v)}registerOnValidatorChange(v){this._onChange=v}enabled(v){return null!=v}static#e=this.\u0275fac=function(K){return new(K||A)};static#t=this.\u0275dir=o.lG2({type:A,features:[o.TTD]})}return A})();const er={provide:we,useExisting:(0,o.Gpc)(()=>_r),multi:!0};let _r=(()=>{class A extends gn{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=v=>Yt(v),this.createValidator=v=>function de(A){return x=>{if(_e(x.value)||_e(A))return null;const v=parseFloat(x.value);return!isNaN(v)&&v>A?{max:{max:A,actual:x.value}}:null}}(v)}static#e=this.\u0275fac=function(){let v;return function(Ie){return(v||(v=o.n5z(A)))(Ie||A)}}();static#t=this.\u0275dir=o.lG2({type:A,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(K,Ie){2&K&&o.uIk("max",Ie._enabled?Ie.max:null)},inputs:{max:"max"},features:[o._Bn([er]),o.qOj]})}return A})();const Kr={provide:we,useExisting:(0,o.Gpc)(()=>yr),multi:!0};let yr=(()=>{class A extends gn{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=v=>Yt(v),this.createValidator=v=>function se(A){return x=>{if(_e(x.value)||_e(A))return null;const v=parseFloat(x.value);return!isNaN(v)&&vZr),multi:!0};let Zr=(()=>{class A extends gn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.VuI,this.createValidator=v=>H}enabled(v){return v}static#e=this.\u0275fac=function(){let v;return function(Ie){return(v||(v=o.n5z(A)))(Ie||A)}}();static#t=this.\u0275dir=o.lG2({type:A,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(K,Ie){2&K&&o.uIk("required",Ie._enabled?"":null)},inputs:{required:"required"},features:[o._Bn([Nr]),o.qOj]})}return A})();const ko={provide:we,useExisting:(0,o.Gpc)(()=>dr),multi:!0};let dr=(()=>{class A extends gn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=v=>v,this.createValidator=v=>function Le(A){if(!A)return Z;let x,v;return"string"==typeof A?(v="","^"!==A.charAt(0)&&(v+="^"),v+=A,"$"!==A.charAt(A.length-1)&&(v+="$"),x=new RegExp(v)):(v=A.toString(),x=A),K=>{if(_e(K.value))return null;const Ie=K.value;return x.test(Ie)?null:{pattern:{requiredPattern:v,actualValue:Ie}}}}(v)}static#e=this.\u0275fac=function(){let v;return function(Ie){return(v||(v=o.n5z(A)))(Ie||A)}}();static#t=this.\u0275dir=o.lG2({type:A,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(K,Ie){2&K&&o.uIk("pattern",Ie._enabled?Ie.pattern:null)},inputs:{pattern:"pattern"},features:[o._Bn([ko]),o.qOj]})}return A})(),Ko=(()=>{class A{static#e=this.\u0275fac=function(K){return new(K||A)};static#t=this.\u0275mod=o.oAB({type:A});static#n=this.\u0275inj=o.cJS({imports:[vr]})}return A})(),Li=(()=>{class A{static withConfig(v){return{ngModule:A,providers:[{provide:Re,useValue:v.callSetDisabledState??Ce}]}}static#e=this.\u0275fac=function(K){return new(K||A)};static#t=this.\u0275mod=o.oAB({type:A});static#n=this.\u0275inj=o.cJS({imports:[Ko]})}return A})()},6593:(ct,je,b)=>{"use strict";b.d(je,{Dx:()=>Lt,b2:()=>ut,q6:()=>Ze});var o=b(2029),w=b(6814);class ee extends w.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ae extends ee{static makeCurrent(){(0,w.HT)(new ae)}onAndCancel($e,me,Me){return $e.addEventListener(me,Me),()=>{$e.removeEventListener(me,Me)}}dispatchEvent($e,me){$e.dispatchEvent(me)}remove($e){$e.parentNode&&$e.parentNode.removeChild($e)}createElement($e,me){return(me=me||this.getDefaultDocument()).createElement($e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode($e){return $e.nodeType===Node.ELEMENT_NODE}isShadowRoot($e){return $e instanceof DocumentFragment}getGlobalEventTarget($e,me){return"window"===me?window:"document"===me?$e:"body"===me?$e.body:null}getBaseHref($e){const me=function O(){return R=R||document.querySelector("base"),R?R.getAttribute("href"):null}();return null==me?null:function q(Ke){_=_||document.createElement("a"),_.setAttribute("href",Ke);const $e=_.pathname;return"/"===$e.charAt(0)?$e:`/${$e}`}(me)}resetBaseElement(){R=null}getUserAgent(){return window.navigator.userAgent}getCookie($e){return(0,w.Mx)(document.cookie,$e)}}let _,R=null,B=(()=>{class Ke{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Me){return new(Me||Ke)};static#t=this.\u0275prov=o.Yz7({token:Ke,factory:Ke.\u0275fac})}return Ke})();const V=new o.OlP("EventManagerPlugins");let Q=(()=>{class Ke{constructor(me,Me){this._zone=Me,this._eventNameToPlugin=new Map,me.forEach(Je=>{Je.manager=this}),this._plugins=me.slice().reverse()}addEventListener(me,Me,Je){return this._findPluginFor(Me).addEventListener(me,Me,Je)}getZone(){return this._zone}_findPluginFor(me){let Me=this._eventNameToPlugin.get(me);if(Me)return Me;if(Me=this._plugins.find(Et=>Et.supports(me)),!Me)throw new o.vHH(5101,!1);return this._eventNameToPlugin.set(me,Me),Me}static#e=this.\u0275fac=function(Me){return new(Me||Ke)(o.LFG(V),o.LFG(o.R0b))};static#t=this.\u0275prov=o.Yz7({token:Ke,factory:Ke.\u0275fac})}return Ke})();class S{constructor($e){this._doc=$e}}const z="ng-app-id";let D=(()=>{class Ke{constructor(me,Me,Je,Et={}){this.doc=me,this.appId=Me,this.nonce=Je,this.platformId=Et,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,w.PM)(Et),this.resetHostNodes()}addStyles(me){for(const Me of me)1===this.changeUsageCount(Me,1)&&this.onStyleAdded(Me)}removeStyles(me){for(const Me of me)this.changeUsageCount(Me,-1)<=0&&this.onStyleRemoved(Me)}ngOnDestroy(){const me=this.styleNodesInDOM;me&&(me.forEach(Me=>Me.remove()),me.clear());for(const Me of this.getAllStyles())this.onStyleRemoved(Me);this.resetHostNodes()}addHost(me){this.hostNodes.add(me);for(const Me of this.getAllStyles())this.addStyleToHost(me,Me)}removeHost(me){this.hostNodes.delete(me)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(me){for(const Me of this.hostNodes)this.addStyleToHost(Me,me)}onStyleRemoved(me){const Me=this.styleRef;Me.get(me)?.elements?.forEach(Je=>Je.remove()),Me.delete(me)}collectServerRenderedStyles(){const me=this.doc.head?.querySelectorAll(`style[${z}="${this.appId}"]`);if(me?.length){const Me=new Map;return me.forEach(Je=>{null!=Je.textContent&&Me.set(Je.textContent,Je)}),Me}return null}changeUsageCount(me,Me){const Je=this.styleRef;if(Je.has(me)){const Et=Je.get(me);return Et.usage+=Me,Et.usage}return Je.set(me,{usage:Me,elements:[]}),Me}getStyleElement(me,Me){const Je=this.styleNodesInDOM,Et=Je?.get(Me);if(Et?.parentNode===me)return Je.delete(Me),Et.removeAttribute(z),Et;{const Tt=this.doc.createElement("style");return this.nonce&&Tt.setAttribute("nonce",this.nonce),Tt.textContent=Me,this.platformIsServer&&Tt.setAttribute(z,this.appId),Tt}}addStyleToHost(me,Me){const Je=this.getStyleElement(me,Me);me.appendChild(Je);const Et=this.styleRef,Tt=Et.get(Me)?.elements;Tt?Tt.push(Je):Et.set(Me,{elements:[Je],usage:1})}resetHostNodes(){const me=this.hostNodes;me.clear(),me.add(this.doc.head)}static#e=this.\u0275fac=function(Me){return new(Me||Ke)(o.LFG(w.K0),o.LFG(o.AFp),o.LFG(o.Ojb,8),o.LFG(o.Lbi))};static#t=this.\u0275prov=o.Yz7({token:Ke,factory:Ke.\u0275fac})}return Ke})();const k={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},P=/%COMP%/g,_e=new o.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function re(Ke,$e){return $e.map(me=>me.replace(P,Ke))}let U=(()=>{class Ke{constructor(me,Me,Je,Et,Tt,en,Jt,Tn=null){this.eventManager=me,this.sharedStylesHost=Me,this.appId=Je,this.removeStylesOnCompDestroy=Et,this.doc=Tt,this.platformId=en,this.ngZone=Jt,this.nonce=Tn,this.rendererByCompId=new Map,this.platformIsServer=(0,w.PM)(en),this.defaultRenderer=new ge(me,Tt,Jt,this.platformIsServer)}createRenderer(me,Me){if(!me||!Me)return this.defaultRenderer;this.platformIsServer&&Me.encapsulation===o.ifc.ShadowDom&&(Me={...Me,encapsulation:o.ifc.Emulated});const Je=this.getOrCreateRenderer(me,Me);return Je instanceof Fe?Je.applyToHost(me):Je instanceof De&&Je.applyStyles(),Je}getOrCreateRenderer(me,Me){const Je=this.rendererByCompId;let Et=Je.get(Me.id);if(!Et){const Tt=this.doc,en=this.ngZone,Jt=this.eventManager,Tn=this.sharedStylesHost,xn=this.removeStylesOnCompDestroy,sr=this.platformIsServer;switch(Me.encapsulation){case o.ifc.Emulated:Et=new Fe(Jt,Tn,Me,this.appId,xn,Tt,en,sr);break;case o.ifc.ShadowDom:return new he(Jt,Tn,me,Me,Tt,en,this.nonce,sr);default:Et=new De(Jt,Tn,Me,xn,Tt,en,sr)}Je.set(Me.id,Et)}return Et}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Me){return new(Me||Ke)(o.LFG(Q),o.LFG(D),o.LFG(o.AFp),o.LFG(_e),o.LFG(w.K0),o.LFG(o.Lbi),o.LFG(o.R0b),o.LFG(o.Ojb))};static#t=this.\u0275prov=o.Yz7({token:Ke,factory:Ke.\u0275fac})}return Ke})();class ge{constructor($e,me,Me,Je){this.eventManager=$e,this.doc=me,this.ngZone=Me,this.platformIsServer=Je,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement($e,me){return me?this.doc.createElementNS(k[me]||me,$e):this.doc.createElement($e)}createComment($e){return this.doc.createComment($e)}createText($e){return this.doc.createTextNode($e)}appendChild($e,me){(H($e)?$e.content:$e).appendChild(me)}insertBefore($e,me,Me){$e&&(H($e)?$e.content:$e).insertBefore(me,Me)}removeChild($e,me){$e&&$e.removeChild(me)}selectRootElement($e,me){let Me="string"==typeof $e?this.doc.querySelector($e):$e;if(!Me)throw new o.vHH(-5104,!1);return me||(Me.textContent=""),Me}parentNode($e){return $e.parentNode}nextSibling($e){return $e.nextSibling}setAttribute($e,me,Me,Je){if(Je){me=Je+":"+me;const Et=k[Je];Et?$e.setAttributeNS(Et,me,Me):$e.setAttribute(me,Me)}else $e.setAttribute(me,Me)}removeAttribute($e,me,Me){if(Me){const Je=k[Me];Je?$e.removeAttributeNS(Je,me):$e.removeAttribute(`${Me}:${me}`)}else $e.removeAttribute(me)}addClass($e,me){$e.classList.add(me)}removeClass($e,me){$e.classList.remove(me)}setStyle($e,me,Me,Je){Je&(o.JOm.DashCase|o.JOm.Important)?$e.style.setProperty(me,Me,Je&o.JOm.Important?"important":""):$e.style[me]=Me}removeStyle($e,me,Me){Me&o.JOm.DashCase?$e.style.removeProperty(me):$e.style[me]=""}setProperty($e,me,Me){$e[me]=Me}setValue($e,me){$e.nodeValue=me}listen($e,me,Me){if("string"==typeof $e&&!($e=(0,w.q)().getGlobalEventTarget(this.doc,$e)))throw new Error(`Unsupported event target ${$e} for event ${me}`);return this.eventManager.addEventListener($e,me,this.decoratePreventDefault(Me))}decoratePreventDefault($e){return me=>{if("__ngUnwrap__"===me)return $e;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>$e(me)):$e(me))&&me.preventDefault()}}}function H(Ke){return"TEMPLATE"===Ke.tagName&&void 0!==Ke.content}class he extends ge{constructor($e,me,Me,Je,Et,Tt,en,Jt){super($e,Et,Tt,Jt),this.sharedStylesHost=me,this.hostEl=Me,this.shadowRoot=Me.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Tn=re(Je.id,Je.styles);for(const xn of Tn){const sr=document.createElement("style");en&&sr.setAttribute("nonce",en),sr.textContent=xn,this.shadowRoot.appendChild(sr)}}nodeOrShadowRoot($e){return $e===this.hostEl?this.shadowRoot:$e}appendChild($e,me){return super.appendChild(this.nodeOrShadowRoot($e),me)}insertBefore($e,me,Me){return super.insertBefore(this.nodeOrShadowRoot($e),me,Me)}removeChild($e,me){return super.removeChild(this.nodeOrShadowRoot($e),me)}parentNode($e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot($e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class De extends ge{constructor($e,me,Me,Je,Et,Tt,en,Jt){super($e,Et,Tt,en),this.sharedStylesHost=me,this.removeStylesOnCompDestroy=Je,this.styles=Jt?re(Jt,Me.styles):Me.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Fe extends De{constructor($e,me,Me,Je,Et,Tt,en,Jt){const Tn=Je+"-"+Me.id;super($e,me,Me,Et,Tt,en,Jt,Tn),this.contentAttr=function Be(Ke){return"_ngcontent-%COMP%".replace(P,Ke)}(Tn),this.hostAttr=function we(Ke){return"_nghost-%COMP%".replace(P,Ke)}(Tn)}applyToHost($e){this.applyStyles(),this.setAttribute($e,this.hostAttr,"")}createElement($e,me){const Me=super.createElement($e,me);return super.setAttribute(Me,this.contentAttr,""),Me}}let qe=(()=>{class Ke extends S{constructor(me){super(me)}supports(me){return!0}addEventListener(me,Me,Je){return me.addEventListener(Me,Je,!1),()=>this.removeEventListener(me,Me,Je)}removeEventListener(me,Me,Je){return me.removeEventListener(Me,Je)}static#e=this.\u0275fac=function(Me){return new(Me||Ke)(o.LFG(w.K0))};static#t=this.\u0275prov=o.Yz7({token:Ke,factory:Ke.\u0275fac})}return Ke})();const Le=["alt","control","meta","shift"],Z={"\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"},Y={alt:Ke=>Ke.altKey,control:Ke=>Ke.ctrlKey,meta:Ke=>Ke.metaKey,shift:Ke=>Ke.shiftKey};let fe=(()=>{class Ke extends S{constructor(me){super(me)}supports(me){return null!=Ke.parseEventName(me)}addEventListener(me,Me,Je){const Et=Ke.parseEventName(Me),Tt=Ke.eventCallback(Et.fullKey,Je,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,w.q)().onAndCancel(me,Et.domEventName,Tt))}static parseEventName(me){const Me=me.toLowerCase().split("."),Je=Me.shift();if(0===Me.length||"keydown"!==Je&&"keyup"!==Je)return null;const Et=Ke._normalizeKey(Me.pop());let Tt="",en=Me.indexOf("code");if(en>-1&&(Me.splice(en,1),Tt="code."),Le.forEach(Tn=>{const xn=Me.indexOf(Tn);xn>-1&&(Me.splice(xn,1),Tt+=Tn+".")}),Tt+=Et,0!=Me.length||0===Et.length)return null;const Jt={};return Jt.domEventName=Je,Jt.fullKey=Tt,Jt}static matchEventFullKeyCode(me,Me){let Je=Z[me.key]||me.key,Et="";return Me.indexOf("code.")>-1&&(Je=me.code,Et="code."),!(null==Je||!Je)&&(Je=Je.toLowerCase()," "===Je?Je="space":"."===Je&&(Je="dot"),Le.forEach(Tt=>{Tt!==Je&&(0,Y[Tt])(me)&&(Et+=Tt+".")}),Et+=Je,Et===Me)}static eventCallback(me,Me,Je){return Et=>{Ke.matchEventFullKeyCode(Et,me)&&Je.runGuarded(()=>Me(Et))}}static _normalizeKey(me){return"esc"===me?"escape":me}static#e=this.\u0275fac=function(Me){return new(Me||Ke)(o.LFG(w.K0))};static#t=this.\u0275prov=o.Yz7({token:Ke,factory:Ke.\u0275fac})}return Ke})();const Ze=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:w.bD},{provide:o.g9A,useValue:function yt(){ae.makeCurrent()},multi:!0},{provide:w.K0,useFactory:function bt(){return(0,o.RDi)(document),document},deps:[]}]),Oe=new o.OlP(""),Xe=[{provide:o.rWj,useClass:class I{addToWindow($e){o.dqk.getAngularTestability=(Me,Je=!0)=>{const Et=$e.findTestabilityInTree(Me,Je);if(null==Et)throw new o.vHH(5103,!1);return Et},o.dqk.getAllAngularTestabilities=()=>$e.getAllTestabilities(),o.dqk.getAllAngularRootElements=()=>$e.getAllRootElements(),o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(Me=>{const Je=o.dqk.getAllAngularTestabilities();let Et=Je.length,Tt=!1;const en=function(Jt){Tt=Tt||Jt,Et--,0==Et&&Me(Tt)};Je.forEach(Jt=>{Jt.whenStable(en)})})}findTestabilityInTree($e,me,Me){return null==me?null:$e.getTestability(me)??(Me?(0,w.q)().isShadowRoot(me)?this.findTestabilityInTree($e,me.host,!0):this.findTestabilityInTree($e,me.parentElement,!0):null)}},deps:[]},{provide:o.lri,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]}],Ue=[{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function ft(){return new o.qLn},deps:[]},{provide:V,useClass:qe,multi:!0,deps:[w.K0,o.R0b,o.Lbi]},{provide:V,useClass:fe,multi:!0,deps:[w.K0]},U,D,Q,{provide:o.FYo,useExisting:U},{provide:w.JF,useClass:B,deps:[]},[]];let ut=(()=>{class Ke{constructor(me){}static withServerTransition(me){return{ngModule:Ke,providers:[{provide:o.AFp,useValue:me.appId}]}}static#e=this.\u0275fac=function(Me){return new(Me||Ke)(o.LFG(Oe,12))};static#t=this.\u0275mod=o.oAB({type:Ke});static#n=this.\u0275inj=o.cJS({providers:[...Ue,...Xe],imports:[w.ez,o.hGG]})}return Ke})(),Lt=(()=>{class Ke{constructor(me){this._doc=me}getTitle(){return this._doc.title}setTitle(me){this._doc.title=me||""}static#e=this.\u0275fac=function(Me){return new(Me||Ke)(o.LFG(w.K0))};static#t=this.\u0275prov=o.Yz7({token:Ke,factory:function(Me){let Je=null;return Je=Me?new Me:function At(){return new Lt((0,o.LFG)(w.K0))}(),Je},providedIn:"root"})}return Ke})();typeof window<"u"&&window},335:(ct,je,b)=>{"use strict";b.d(je,{gz:()=>Rr,y6:()=>vr,OD:()=>L,eC:()=>Ue,wm:()=>Yr,wN:()=>$r,F0:()=>mn,rH:()=>Ar,Bz:()=>Tr,Hx:()=>In});var o=b(2029),w=b(5592),ee=b(4674),R=b(7715),O=b(2096),_=b(5619),q=b(2572);const B=(0,b(2306).d)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"});var V=b(7537),S=b(9940);function z(...c){return function Q(){return(0,V.J)(1)}()((0,R.D)(c,(0,S.yG)(c)))}var D=b(4829);function k(c){return new w.y(p=>{(0,D.Xf)(c()).subscribe(p)})}var P=b(8407);function ne(c,p){const l=(0,ee.m)(c)?c:()=>c,g=C=>C.error(l());return new w.y(p?C=>p.schedule(g,0,C):g)}var ce=b(6232),Ne=b(7394),ue=b(9360),_e=b(8251);function Be(){return(0,ue.e)((c,p)=>{let l=null;c._refCount++;const g=(0,_e.x)(p,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(l=null);const C=c._connection,G=l;l=null,C&&(!G||C===G)&&C.unsubscribe(),p.unsubscribe()});c.subscribe(g),g.closed||(l=c.connect())})}class we extends w.y{constructor(p,l){super(),this.source=p,this.subjectFactory=l,this._subject=null,this._refCount=0,this._connection=null,(0,ue.A)(p)&&(this.lift=p.lift)}_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,p?.unsubscribe()}connect(){let p=this._connection;if(!p){p=this._connection=new Ne.w0;const l=this.getSubject();p.add(this.source.subscribe((0,_e.x)(l,void 0,()=>{this._teardown(),l.complete()},g=>{this._teardown(),l.error(g)},()=>this._teardown()))),p.closed&&(this._connection=null,p=Ne.w0.EMPTY)}return p}refCount(){return Be()(this)}}var re=b(8645),U=b(6814),ge=b(7398),se=b(4664),de=b(8180),he=b(2181),De=b(1631);function Fe(c){return(0,ue.e)((p,l)=>{let g=!1;p.subscribe((0,_e.x)(l,C=>{g=!0,l.next(C)},()=>{g||l.next(c),l.complete()}))})}function qe(c=Le){return(0,ue.e)((p,l)=>{let g=!1;p.subscribe((0,_e.x)(l,C=>{g=!0,l.next(C)},()=>g?l.complete():l.error(c())))})}function Le(){return new B}var Z=b(2737);function Y(c,p){const l=arguments.length>=2;return g=>g.pipe(c?(0,he.h)((C,G)=>c(C,G,g)):Z.y,(0,de.q)(1),l?Fe(p):qe(()=>new B))}var fe=b(6328),ie=b(9397);function Ve(c){return(0,ue.e)((p,l)=>{let G,g=null,C=!1;g=p.subscribe((0,_e.x)(l,void 0,void 0,pe=>{G=(0,D.Xf)(c(pe,Ve(c)(p))),g?(g.unsubscribe(),g=null,G.subscribe(l)):C=!0})),C&&(g.unsubscribe(),g=null,G.subscribe(l))})}function yt(c){return c<=0?()=>ce.E:(0,ue.e)((p,l)=>{let g=[];p.subscribe((0,_e.x)(l,C=>{g.push(C),c{for(const C of g)l.next(C);l.complete()},void 0,()=>{g=null}))})}var Ot=b(4716),Ze=b(2420),Xe=b(6593);const Ue="primary",ut=Symbol("RouteTitle");class pt{constructor(p){this.params=p||{}}has(p){return Object.prototype.hasOwnProperty.call(this.params,p)}get(p){if(this.has(p)){const l=this.params[p];return Array.isArray(l)?l[0]:l}return null}getAll(p){if(this.has(p)){const l=this.params[p];return Array.isArray(l)?l:[l]}return[]}get keys(){return Object.keys(this.params)}}function mt(c){return new pt(c)}function Vt(c,p,l){const g=l.path.split("/");if(g.length>c.length||"full"===l.pathMatch&&(p.hasChildren()||g.lengthg[G]===C)}return c===p}function wn(c){return c.length>0?c[c.length-1]:null}function Kt(c){return function ae(c){return!!c&&(c instanceof w.y||(0,ee.m)(c.lift)&&(0,ee.m)(c.subscribe))}(c)?c:(0,o.QGY)(c)?(0,R.D)(Promise.resolve(c)):(0,O.of)(c)}const Nt={exact:function Rt(c,p,l){if(!Bt(c.segments,p.segments)||!Gt(c.segments,p.segments,l)||c.numberOfChildren!==p.numberOfChildren)return!1;for(const g in p.children)if(!c.children[g]||!Rt(c.children[g],p.children[g],l))return!1;return!0},subset:Xt},jt={exact:function Yn(c,p){return Lt(c,p)},subset:function Zt(c,p){return Object.keys(p).length<=Object.keys(c).length&&Object.keys(p).every(l=>$t(c[l],p[l]))},ignored:()=>!0};function Vn(c,p,l){return Nt[l.paths](c.root,p.root,l.matrixParams)&&jt[l.queryParams](c.queryParams,p.queryParams)&&!("exact"===l.fragment&&c.fragment!==p.fragment)}function Xt(c,p,l){return Wt(c,p,p.segments,l)}function Wt(c,p,l,g){if(c.segments.length>l.length){const C=c.segments.slice(0,l.length);return!(!Bt(C,l)||p.hasChildren()||!Gt(C,l,g))}if(c.segments.length===l.length){if(!Bt(c.segments,l)||!Gt(c.segments,l,g))return!1;for(const C in p.children)if(!c.children[C]||!Xt(c.children[C],p.children[C],g))return!1;return!0}{const C=l.slice(0,c.segments.length),G=l.slice(c.segments.length);return!!(Bt(c.segments,C)&&Gt(c.segments,C,g)&&c.children[Ue])&&Wt(c.children[Ue],p,G,g)}}function Gt(c,p,l){return p.every((g,C)=>jt[l](c[C].parameters,g.parameters))}class Pn{constructor(p=new dt([],{}),l={},g=null){this.root=p,this.queryParams=l,this.fragment=g}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mt(this.queryParams)),this._queryParamMap}toString(){return yn.serialize(this)}}class dt{constructor(p,l){this.segments=p,this.children=l,this.parent=null,Object.values(l).forEach(g=>g.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Kn(this)}}class Cn{constructor(p,l){this.path=p,this.parameters=l}get parameterMap(){return this._parameterMap||(this._parameterMap=mt(this.parameters)),this._parameterMap}toString(){return me(this)}}function Bt(c,p){return c.length===p.length&&c.every((l,g)=>l.path===p[g].path)}let In=(()=>{class c{static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:function(){return new Xn},providedIn:"root"})}return c})();class Xn{parse(p){const l=new Ce(p);return new Pn(l.parseRootSegment(),l.parseQueryParams(),l.parseFragment())}serialize(p){const l=`/${bn(p.root,!0)}`,g=function Je(c){const p=Object.keys(c).map(l=>{const g=c[l];return Array.isArray(g)?g.map(C=>`${qn(l)}=${qn(C)}`).join("&"):`${qn(l)}=${qn(g)}`}).filter(l=>!!l);return p.length?`?${p.join("&")}`:""}(p.queryParams);return`${l}${g}${"string"==typeof p.fragment?`#${function Zn(c){return encodeURI(c)}(p.fragment)}`:""}`}}const yn=new Xn;function Kn(c){return c.segments.map(p=>me(p)).join("/")}function bn(c,p){if(!c.hasChildren())return Kn(c);if(p){const l=c.children[Ue]?bn(c.children[Ue],!1):"",g=[];return Object.entries(c.children).forEach(([C,G])=>{C!==Ue&&g.push(`${C}:${bn(G,!1)}`)}),g.length>0?`${l}(${g.join("//")})`:l}{const l=function Wn(c,p){let l=[];return Object.entries(c.children).forEach(([g,C])=>{g===Ue&&(l=l.concat(p(C,g)))}),Object.entries(c.children).forEach(([g,C])=>{g!==Ue&&(l=l.concat(p(C,g)))}),l}(c,(g,C)=>C===Ue?[bn(c.children[Ue],!1)]:[`${C}:${bn(g,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[Ue]?`${Kn(c)}/${l[0]}`:`${Kn(c)}/(${l.join("//")})`}}function gr(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function qn(c){return gr(c).replace(/%3B/gi,";")}function Er(c){return gr(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ke(c){return decodeURIComponent(c)}function $e(c){return Ke(c.replace(/\+/g,"%20"))}function me(c){return`${Er(c.path)}${function Me(c){return Object.keys(c).map(p=>`;${Er(p)}=${Er(c[p])}`).join("")}(c.parameters)}`}const Et=/^[^\/()?;#]+/;function Tt(c){const p=c.match(Et);return p?p[0]:""}const en=/^[^\/()?;=#]+/,Tn=/^[^=?&#]+/,sr=/^[^&#]+/;class Ce{constructor(p){this.url=p,this.remaining=p}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new dt([],{}):new dt([],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 l={};this.peekStartsWith("/(")&&(this.capture("/"),l=this.parseParens(!0));let g={};return this.peekStartsWith("(")&&(g=this.parseParens(!1)),(p.length>0||Object.keys(l).length>0)&&(g[Ue]=new dt(p,l)),g}parseSegment(){const p=Tt(this.remaining);if(""===p&&this.peekStartsWith(";"))throw new o.vHH(4009,!1);return this.capture(p),new Cn(Ke(p),this.parseMatrixParams())}parseMatrixParams(){const p={};for(;this.consumeOptional(";");)this.parseParam(p);return p}parseParam(p){const l=function Jt(c){const p=c.match(en);return p?p[0]:""}(this.remaining);if(!l)return;this.capture(l);let g="";if(this.consumeOptional("=")){const C=Tt(this.remaining);C&&(g=C,this.capture(g))}p[Ke(l)]=Ke(g)}parseQueryParam(p){const l=function xn(c){const p=c.match(Tn);return p?p[0]:""}(this.remaining);if(!l)return;this.capture(l);let g="";if(this.consumeOptional("=")){const pe=function Re(c){const p=c.match(sr);return p?p[0]:""}(this.remaining);pe&&(g=pe,this.capture(g))}const C=$e(l),G=$e(g);if(p.hasOwnProperty(C)){let pe=p[C];Array.isArray(pe)||(pe=[pe],p[C]=pe),pe.push(G)}else p[C]=G}parseParens(p){const l={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const g=Tt(this.remaining),C=this.remaining[g.length];if("/"!==C&&")"!==C&&";"!==C)throw new o.vHH(4010,!1);let G;g.indexOf(":")>-1?(G=g.slice(0,g.indexOf(":")),this.capture(G),this.capture(":")):p&&(G=Ue);const pe=this.parseChildren();l[G]=1===Object.keys(pe).length?pe[Ue]:new dt([],pe),this.consumeOptional("//")}return l}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 o.vHH(4011,!1)}}function be(c){return c.segments.length>0?new dt([],{[Ue]:c}):c}function Qe(c){const p={};for(const g of Object.keys(c.children)){const G=Qe(c.children[g]);if(g===Ue&&0===G.segments.length&&G.hasChildren())for(const[pe,Ye]of Object.entries(G.children))p[pe]=Ye;else(G.segments.length>0||G.hasChildren())&&(p[g]=G)}return function it(c){if(1===c.numberOfChildren&&c.children[Ue]){const p=c.children[Ue];return new dt(c.segments.concat(p.segments),p.children)}return c}(new dt(c.segments,p))}function gt(c){return c instanceof Pn}function sn(c){let p;const C=be(function l(G){const pe={};for(const ze of G.children){const Mt=l(ze);pe[ze.outlet]=Mt}const Ye=new dt(G.url,pe);return G===c&&(p=Ye),Ye}(c.root));return p??C}function xt(c,p,l,g){let C=c;for(;C.parent;)C=C.parent;if(0===p.length)return ln(C,C,C,l,g);const G=function un(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new Ut(!0,0,c);let p=0,l=!1;const g=c.reduce((C,G,pe)=>{if("object"==typeof G&&null!=G){if(G.outlets){const Ye={};return Object.entries(G.outlets).forEach(([ze,Mt])=>{Ye[ze]="string"==typeof Mt?Mt.split("/"):Mt}),[...C,{outlets:Ye}]}if(G.segmentPath)return[...C,G.segmentPath]}return"string"!=typeof G?[...C,G]:0===pe?(G.split("/").forEach((Ye,ze)=>{0==ze&&"."===Ye||(0==ze&&""===Ye?l=!0:".."===Ye?p++:""!=Ye&&C.push(Ye))}),C):[...C,G]},[]);return new Ut(l,p,g)}(p);if(G.toRoot())return ln(C,C,new dt([],{}),l,g);const pe=function hn(c,p,l){if(c.isAbsolute)return new _t(p,!0,0);if(!l)return new _t(p,!1,NaN);if(null===l.parent)return new _t(l,!0,0);const g=an(c.commands[0])?0:1;return function Jn(c,p,l){let g=c,C=p,G=l;for(;G>C;){if(G-=C,g=g.parent,!g)throw new o.vHH(4005,!1);C=g.segments.length}return new _t(g,!1,C-G)}(l,l.segments.length-1+g,c.numberOfDoubleDots)}(G,C,c),Ye=pe.processChildren?Nn(pe.segmentGroup,pe.index,G.commands):pn(pe.segmentGroup,pe.index,G.commands);return ln(C,pe.segmentGroup,Ye,l,g)}function an(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function kn(c){return"object"==typeof c&&null!=c&&c.outlets}function ln(c,p,l,g,C){let pe,G={};g&&Object.entries(g).forEach(([ze,Mt])=>{G[ze]=Array.isArray(Mt)?Mt.map(tn=>`${tn}`):`${Mt}`}),pe=c===p?l:cn(c,p,l);const Ye=be(Qe(pe));return new Pn(Ye,G,C)}function cn(c,p,l){const g={};return Object.entries(c.children).forEach(([C,G])=>{g[C]=G===p?l:cn(G,p,l)}),new dt(c.segments,g)}class Ut{constructor(p,l,g){if(this.isAbsolute=p,this.numberOfDoubleDots=l,this.commands=g,p&&g.length>0&&an(g[0]))throw new o.vHH(4003,!1);const C=g.find(kn);if(C&&C!==wn(g))throw new o.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class _t{constructor(p,l,g){this.segmentGroup=p,this.processChildren=l,this.index=g}}function pn(c,p,l){if(c||(c=new dt([],{})),0===c.segments.length&&c.hasChildren())return Nn(c,p,l);const g=function nr(c,p,l){let g=0,C=p;const G={match:!1,pathIndex:0,commandIndex:0};for(;C=l.length)return G;const pe=c.segments[C],Ye=l[g];if(kn(Ye))break;const ze=`${Ye}`,Mt=g0&&void 0===ze)break;if(ze&&Mt&&"object"==typeof Mt&&void 0===Mt.outlets){if(!lr(ze,Mt,pe))return G;g+=2}else{if(!lr(ze,{},pe))return G;g++}C++}return{match:!0,pathIndex:C,commandIndex:g}}(c,p,l),C=l.slice(g.commandIndex);if(g.match&&g.pathIndexG!==Ue)&&c.children[Ue]&&1===c.numberOfChildren&&0===c.children[Ue].segments.length){const G=Nn(c.children[Ue],p,l);return new dt(c.segments,G.children)}return Object.entries(g).forEach(([G,pe])=>{"string"==typeof pe&&(pe=[pe]),null!==pe&&(C[G]=pn(c.children[G],p,pe))}),Object.entries(c.children).forEach(([G,pe])=>{void 0===g[G]&&(C[G]=pe)}),new dt(c.segments,C)}}function Qn(c,p,l){const g=c.segments.slice(0,p);let C=0;for(;C{"string"==typeof g&&(g=[g]),null!==g&&(p[l]=Qn(new dt([],{}),0,g))}),p}function wr(c){const p={};return Object.entries(c).forEach(([l,g])=>p[l]=`${g}`),p}function lr(c,p,l){return c==l.path&&Lt(p,l.parameters)}const mr="imperative";class Mn{constructor(p,l){this.id=p,this.url=l}}class L extends Mn{constructor(p,l,g="imperative",C=null){super(p,l),this.type=0,this.navigationTrigger=g,this.restoredState=C}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class te extends Mn{constructor(p,l,g){super(p,l),this.urlAfterRedirects=g,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Se extends Mn{constructor(p,l,g,C){super(p,l),this.reason=g,this.code=C,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Te extends Mn{constructor(p,l,g,C){super(p,l),this.reason=g,this.code=C,this.type=16}}class oe extends Mn{constructor(p,l,g,C){super(p,l),this.error=g,this.target=C,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ee extends Mn{constructor(p,l,g,C){super(p,l),this.urlAfterRedirects=g,this.state=C,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pe extends Mn{constructor(p,l,g,C){super(p,l),this.urlAfterRedirects=g,this.state=C,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class et extends Mn{constructor(p,l,g,C,G){super(p,l),this.urlAfterRedirects=g,this.state=C,this.shouldActivate=G,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ge extends Mn{constructor(p,l,g,C){super(p,l),this.urlAfterRedirects=g,this.state=C,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nt extends Mn{constructor(p,l,g,C){super(p,l),this.urlAfterRedirects=g,this.state=C,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class u{constructor(p){this.route=p,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class j{constructor(p){this.route=p,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class m{constructor(p){this.snapshot=p,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class X{constructor(p){this.snapshot=p,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ae{constructor(p){this.snapshot=p,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ft{constructor(p){this.snapshot=p,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bn{constructor(p,l,g){this.routerEvent=p,this.position=l,this.anchor=g,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ir{}class jn{constructor(p){this.url=p}}class wo{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new vr,this.attachRef=null}}let vr=(()=>{class c{constructor(){this.contexts=new Map}onChildOutletCreated(l,g){const C=this.getOrCreateContext(l);C.outlet=g,this.contexts.set(l,C)}onChildOutletDestroyed(l){const g=this.getContext(l);g&&(g.outlet=null,g.attachRef=null)}onOutletDeactivated(){const l=this.contexts;return this.contexts=new Map,l}onOutletReAttached(l){this.contexts=l}getOrCreateContext(l){let g=this.getContext(l);return g||(g=new wo,this.contexts.set(l,g)),g}getContext(l){return this.contexts.get(l)||null}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class fo{constructor(p){this._root=p}get root(){return this._root.value}parent(p){const l=this.pathFromRoot(p);return l.length>1?l[l.length-2]:null}children(p){const l=io(p,this._root);return l?l.children.map(g=>g.value):[]}firstChild(p){const l=io(p,this._root);return l&&l.children.length>0?l.children[0].value:null}siblings(p){const l=rn(p,this._root);return l.length<2?[]:l[l.length-2].children.map(C=>C.value).filter(C=>C!==p)}pathFromRoot(p){return rn(p,this._root).map(l=>l.value)}}function io(c,p){if(c===p.value)return p;for(const l of p.children){const g=io(c,l);if(g)return g}return null}function rn(c,p){if(c===p.value)return[p];for(const l of p.children){const g=rn(c,l);if(g.length)return g.unshift(p),g}return[]}class Sn{constructor(p,l){this.value=p,this.children=l}toString(){return`TreeNode(${this.value})`}}function Hn(c){const p={};return c&&c.children.forEach(l=>p[l.value.outlet]=l),p}class Hr extends fo{constructor(p,l){super(p),this.snapshot=l,wt(this,p)}toString(){return this.snapshot.toString()}}function cr(c,p){const l=function Io(c,p){const pe=new qr([],{},{},"",{},Ue,p,null,{});return new On("",new Sn(pe,[]))}(0,p),g=new _.X([new Cn("",{})]),C=new _.X({}),G=new _.X({}),pe=new _.X({}),Ye=new _.X(""),ze=new Rr(g,C,pe,Ye,G,Ue,p,l.root);return ze.snapshot=l.root,new Hr(new Sn(ze,[]),l)}class Rr{constructor(p,l,g,C,G,pe,Ye,ze){this.urlSubject=p,this.paramsSubject=l,this.queryParamsSubject=g,this.fragmentSubject=C,this.dataSubject=G,this.outlet=pe,this.component=Ye,this._futureSnapshot=ze,this.title=this.dataSubject?.pipe((0,ge.U)(Mt=>Mt[ut]))??(0,O.of)(void 0),this.url=p,this.params=l,this.queryParams=g,this.fragment=C,this.data=G}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,ge.U)(p=>mt(p)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ge.U)(p=>mt(p)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function so(c,p="emptyOnly"){const l=c.pathFromRoot;let g=0;if("always"!==p)for(g=l.length-1;g>=1;){const C=l[g],G=l[g-1];if(C.routeConfig&&""===C.routeConfig.path)g--;else{if(G.component)break;g--}}return function ao(c){return c.reduce((p,l)=>({params:{...p.params,...l.params},data:{...p.data,...l.data},resolve:{...l.data,...p.resolve,...l.routeConfig?.data,...l._resolvedData}}),{params:{},data:{},resolve:{}})}(l.slice(g))}class qr{get title(){return this.data?.[ut]}constructor(p,l,g,C,G,pe,Ye,ze,Mt){this.url=p,this.params=l,this.queryParams=g,this.fragment=C,this.data=G,this.outlet=pe,this.component=Ye,this.routeConfig=ze,this._resolve=Mt}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=mt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(g=>g.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class On extends fo{constructor(p,l){super(l),this.url=p,wt(this,l)}toString(){return zt(this._root)}}function wt(c,p){p.value._routerState=c,p.children.forEach(l=>wt(c,l))}function zt(c){const p=c.children.length>0?` { ${c.children.map(zt).join(", ")} } `:"";return`${c.value}${p}`}function En(c){if(c.snapshot){const p=c.snapshot,l=c._futureSnapshot;c.snapshot=l,Lt(p.queryParams,l.queryParams)||c.queryParamsSubject.next(l.queryParams),p.fragment!==l.fragment&&c.fragmentSubject.next(l.fragment),Lt(p.params,l.params)||c.paramsSubject.next(l.params),function At(c,p){if(c.length!==p.length)return!1;for(let l=0;lLt(l.parameters,p[g].parameters))}(c.url,p.url);return l&&!(!c.parent!=!p.parent)&&(!c.parent||fr(c.parent,p.parent))}let Ur=(()=>{class c{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ue,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.attachEvents=new o.vpe,this.detachEvents=new o.vpe,this.parentContexts=(0,o.f3M)(vr),this.location=(0,o.f3M)(o.s_b),this.changeDetector=(0,o.f3M)(o.sBO),this.environmentInjector=(0,o.f3M)(o.lqb),this.inputBinder=(0,o.f3M)(F,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(l){if(l.name){const{firstChange:g,previousValue:C}=l.name;if(g)return;this.isTrackedInParentContexts(C)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(C)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(l){return this.parentContexts.getContext(l)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const l=this.parentContexts.getContext(this.name);l?.route&&(l.attachRef?this.attach(l.attachRef,l.route):this.activateWith(l.route,l.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.vHH(4012,!1);this.location.detach();const l=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(l.instance),l}attach(l,g){this.activated=l,this._activatedRoute=g,this.location.insert(l.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(l.instance)}deactivate(){if(this.activated){const l=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(l)}}activateWith(l,g){if(this.isActivated)throw new o.vHH(4013,!1);this._activatedRoute=l;const C=this.location,pe=l.snapshot.component,Ye=this.parentContexts.getOrCreateContext(this.name).children,ze=new ur(l,Ye,C.injector);this.activated=C.createComponent(pe,{index:C.length,injector:ze,environmentInjector:g??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275dir=o.lG2({type:c,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.TTD]})}return c})();class ur{constructor(p,l,g){this.route=p,this.childContexts=l,this.parent=g}get(p,l){return p===Rr?this.route:p===vr?this.childContexts:this.parent.get(p,l)}}const F=new o.OlP("");let W=(()=>{class c{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(l){this.unsubscribeFromRouteData(l),this.subscribeToRouteData(l)}unsubscribeFromRouteData(l){this.outletDataSubscriptions.get(l)?.unsubscribe(),this.outletDataSubscriptions.delete(l)}subscribeToRouteData(l){const{activatedRoute:g}=l,C=(0,q.a)([g.queryParams,g.params,g.data]).pipe((0,se.w)(([G,pe,Ye],ze)=>(Ye={...G,...pe,...Ye},0===ze?(0,O.of)(Ye):Promise.resolve(Ye)))).subscribe(G=>{if(!l.isActivated||!l.activatedComponentRef||l.activatedRoute!==g||null===g.component)return void this.unsubscribeFromRouteData(l);const pe=(0,o.qFp)(g.component);if(pe)for(const{templateName:Ye}of pe.inputs)l.activatedComponentRef.setInput(Ye,G[Ye]);else this.unsubscribeFromRouteData(l)});this.outletDataSubscriptions.set(l,C)}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac})}return c})();function J(c,p,l){if(l&&c.shouldReuseRoute(p.value,l.value.snapshot)){const g=l.value;g._futureSnapshot=p.value;const C=function ye(c,p,l){return p.children.map(g=>{for(const C of l.children)if(c.shouldReuseRoute(g.value,C.value.snapshot))return J(c,g,C);return J(c,g)})}(c,p,l);return new Sn(g,C)}{if(c.shouldAttach(p.value)){const G=c.retrieve(p.value);if(null!==G){const pe=G.route;return pe.value._futureSnapshot=p.value,pe.children=p.children.map(Ye=>J(c,Ye)),pe}}const g=function tt(c){return new Rr(new _.X(c.url),new _.X(c.params),new _.X(c.queryParams),new _.X(c.fragment),new _.X(c.data),c.outlet,c.component,c)}(p.value),C=p.children.map(G=>J(c,G));return new Sn(g,C)}}const Ct="ngNavigationCancelingError";function vt(c,p){const{redirectTo:l,navigationBehaviorOptions:g}=gt(p)?{redirectTo:p,navigationBehaviorOptions:void 0}:p,C=It(!1,0,p);return C.url=l,C.navigationBehaviorOptions=g,C}function It(c,p,l){const g=new Error("NavigationCancelingError: "+(c||""));return g[Ct]=!0,g.cancellationCode=p,l&&(g.url=l),g}function gn(c){return c&&c[Ct]}let er=(()=>{class c{static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275cmp=o.Xpm({type:c,selectors:[["ng-component"]],standalone:!0,features:[o.jDz],decls:1,vars:0,template:function(g,C){1&g&&o._UZ(0,"router-outlet")},dependencies:[Ur],encapsulation:2})}return c})();function qo(c){const p=c.children&&c.children.map(qo),l=p?{...c,children:p}:{...c};return!l.component&&!l.loadComponent&&(p||l.loadChildren)&&l.outlet&&l.outlet!==Ue&&(l.component=er),l}function rr(c){return c.outlet||Ue}function Fr(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let p=c.parent;p;p=p.parent){const l=p.routeConfig;if(l?._loadedInjector)return l._loadedInjector;if(l?._injector)return l._injector}return null}class Sa{constructor(p,l,g,C,G){this.routeReuseStrategy=p,this.futureState=l,this.currState=g,this.forwardEvent=C,this.inputBindingEnabled=G}activate(p){const l=this.futureState._root,g=this.currState?this.currState._root:null;this.deactivateChildRoutes(l,g,p),En(this.futureState.root),this.activateChildRoutes(l,g,p)}deactivateChildRoutes(p,l,g){const C=Hn(l);p.children.forEach(G=>{const pe=G.value.outlet;this.deactivateRoutes(G,C[pe],g),delete C[pe]}),Object.values(C).forEach(G=>{this.deactivateRouteAndItsChildren(G,g)})}deactivateRoutes(p,l,g){const C=p.value,G=l?l.value:null;if(C===G)if(C.component){const pe=g.getContext(C.outlet);pe&&this.deactivateChildRoutes(p,l,pe.children)}else this.deactivateChildRoutes(p,l,g);else G&&this.deactivateRouteAndItsChildren(l,g)}deactivateRouteAndItsChildren(p,l){p.value.component&&this.routeReuseStrategy.shouldDetach(p.value.snapshot)?this.detachAndStoreRouteSubtree(p,l):this.deactivateRouteAndOutlet(p,l)}detachAndStoreRouteSubtree(p,l){const g=l.getContext(p.value.outlet),C=g&&p.value.component?g.children:l,G=Hn(p);for(const pe of Object.keys(G))this.deactivateRouteAndItsChildren(G[pe],C);if(g&&g.outlet){const pe=g.outlet.detach(),Ye=g.children.onOutletDeactivated();this.routeReuseStrategy.store(p.value.snapshot,{componentRef:pe,route:p,contexts:Ye})}}deactivateRouteAndOutlet(p,l){const g=l.getContext(p.value.outlet),C=g&&p.value.component?g.children:l,G=Hn(p);for(const pe of Object.keys(G))this.deactivateRouteAndItsChildren(G[pe],C);g&&(g.outlet&&(g.outlet.deactivate(),g.children.onOutletDeactivated()),g.attachRef=null,g.route=null)}activateChildRoutes(p,l,g){const C=Hn(l);p.children.forEach(G=>{this.activateRoutes(G,C[G.value.outlet],g),this.forwardEvent(new Ft(G.value.snapshot))}),p.children.length&&this.forwardEvent(new X(p.value.snapshot))}activateRoutes(p,l,g){const C=p.value,G=l?l.value:null;if(En(C),C===G)if(C.component){const pe=g.getOrCreateContext(C.outlet);this.activateChildRoutes(p,l,pe.children)}else this.activateChildRoutes(p,l,g);else if(C.component){const pe=g.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const Ye=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),pe.children.onOutletReAttached(Ye.contexts),pe.attachRef=Ye.componentRef,pe.route=Ye.route.value,pe.outlet&&pe.outlet.attach(Ye.componentRef,Ye.route.value),En(Ye.route.value),this.activateChildRoutes(p,null,pe.children)}else{const Ye=Fr(C.snapshot);pe.attachRef=null,pe.route=C,pe.injector=Ye,pe.outlet&&pe.outlet.activateWith(C,pe.injector),this.activateChildRoutes(p,null,pe.children)}}else this.activateChildRoutes(p,null,g)}}class Ir{constructor(p){this.path=p,this.route=this.path[this.path.length-1]}}class hr{constructor(p,l){this.component=p,this.route=l}}function Ko(c,p,l){const g=c._root;return Mr(g,p?p._root:null,l,[g.value])}function lo(c,p){const l=Symbol(),g=p.get(c,l);return g===l?"function"!=typeof c||(0,o.Z0I)(c)?p.get(c):c:g}function Mr(c,p,l,g,C={canDeactivateChecks:[],canActivateChecks:[]}){const G=Hn(p);return c.children.forEach(pe=>{(function ai(c,p,l,g,C={canDeactivateChecks:[],canActivateChecks:[]}){const G=c.value,pe=p?p.value:null,Ye=l?l.getContext(c.value.outlet):null;if(pe&&G.routeConfig===pe.routeConfig){const ze=function Ni(c,p,l){if("function"==typeof l)return l(c,p);switch(l){case"pathParamsChange":return!Bt(c.url,p.url);case"pathParamsOrQueryParamsChange":return!Bt(c.url,p.url)||!Lt(c.queryParams,p.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fr(c,p)||!Lt(c.queryParams,p.queryParams);default:return!fr(c,p)}}(pe,G,G.routeConfig.runGuardsAndResolvers);ze?C.canActivateChecks.push(new Ir(g)):(G.data=pe.data,G._resolvedData=pe._resolvedData),Mr(c,p,G.component?Ye?Ye.children:null:l,g,C),ze&&Ye&&Ye.outlet&&Ye.outlet.isActivated&&C.canDeactivateChecks.push(new hr(Ye.outlet.component,pe))}else pe&&Zo(p,Ye,C),C.canActivateChecks.push(new Ir(g)),Mr(c,null,G.component?Ye?Ye.children:null:l,g,C)})(pe,G[pe.value.outlet],l,g.concat([pe.value]),C),delete G[pe.value.outlet]}),Object.entries(G).forEach(([pe,Ye])=>Zo(Ye,l.getContext(pe),C)),C}function Zo(c,p,l){const g=Hn(c),C=c.value;Object.entries(g).forEach(([G,pe])=>{Zo(pe,C.component?p?p.children.getContext(G):null:p,l)}),l.canDeactivateChecks.push(new hr(C.component&&p&&p.outlet&&p.outlet.isActivated?p.outlet.component:null,C))}function li(c){return"function"==typeof c}function kt(c){return c instanceof B||"EmptyError"===c?.name}const qt=Symbol("INITIAL_VALUE");function br(){return(0,se.w)(c=>(0,q.a)(c.map(p=>p.pipe((0,de.q)(1),function H(...c){const p=(0,S.yG)(c);return(0,ue.e)((l,g)=>{(p?z(c,l,p):z(c,l)).subscribe(g)})}(qt)))).pipe((0,ge.U)(p=>{for(const l of p)if(!0!==l){if(l===qt)return qt;if(!1===l||l instanceof Pn)return l}return!0}),(0,he.h)(p=>p!==qt),(0,de.q)(1)))}function Jr(c){return(0,P.z)((0,ie.b)(p=>{if(gt(p))throw vt(0,p)}),(0,ge.U)(p=>!0===p))}class $i{constructor(p){this.segmentGroup=p||null}}class Dr{constructor(p){this.urlTree=p}}function Qr(c){return ne(new $i(c))}function Lr(c){return ne(new Dr(c))}class Rs{constructor(p,l){this.urlSerializer=p,this.urlTree=l}noMatchError(p){return new o.vHH(4002,!1)}lineralizeSegments(p,l){let g=[],C=l.root;for(;;){if(g=g.concat(C.segments),0===C.numberOfChildren)return(0,O.of)(g);if(C.numberOfChildren>1||!C.children[Ue])return ne(new o.vHH(4e3,!1));C=C.children[Ue]}}applyRedirectCommands(p,l,g){return this.applyRedirectCreateUrlTree(l,this.urlSerializer.parse(l),p,g)}applyRedirectCreateUrlTree(p,l,g,C){const G=this.createSegmentGroup(p,l.root,g,C);return new Pn(G,this.createQueryParams(l.queryParams,this.urlTree.queryParams),l.fragment)}createQueryParams(p,l){const g={};return Object.entries(p).forEach(([C,G])=>{if("string"==typeof G&&G.startsWith(":")){const Ye=G.substring(1);g[C]=l[Ye]}else g[C]=G}),g}createSegmentGroup(p,l,g,C){const G=this.createSegments(p,l.segments,g,C);let pe={};return Object.entries(l.children).forEach(([Ye,ze])=>{pe[Ye]=this.createSegmentGroup(p,ze,g,C)}),new dt(G,pe)}createSegments(p,l,g,C){return l.map(G=>G.path.startsWith(":")?this.findPosParam(p,G,C):this.findOrReturn(G,g))}findPosParam(p,l,g){const C=g[l.path.substring(1)];if(!C)throw new o.vHH(4001,!1);return C}findOrReturn(p,l){let g=0;for(const C of l){if(C.path===p.path)return l.splice(g),C;g++}return p}}const yi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Bi(c,p,l,g,C){const G=bi(c,p,l);return G.matched?(g=function _r(c,p){return c.providers&&!c._injector&&(c._injector=(0,o.MMx)(c.providers,p,`Route: ${c.path}`)),c._injector??p}(p,g),function nc(c,p,l,g){const C=p.canMatch;if(!C||0===C.length)return(0,O.of)(!0);const G=C.map(pe=>{const Ye=lo(pe,c);return Kt(function v(c){return c&&li(c.canMatch)}(Ye)?Ye.canMatch(p,l):c.runInContext(()=>Ye(p,l)))});return(0,O.of)(G).pipe(br(),Jr())}(g,p,l).pipe((0,ge.U)(pe=>!0===pe?G:{...yi}))):(0,O.of)(G)}function bi(c,p,l){if(""===p.path)return"full"===p.pathMatch&&(c.hasChildren()||l.length>0)?{...yi}:{matched:!0,consumedSegments:[],remainingSegments:l,parameters:{},positionalParamSegments:{}};const C=(p.matcher||Vt)(l,c,p);if(!C)return{...yi};const G={};Object.entries(C.posParams??{}).forEach(([Ye,ze])=>{G[Ye]=ze.path});const pe=C.consumed.length>0?{...G,...C.consumed[C.consumed.length-1].parameters}:G;return{matched:!0,consumedSegments:C.consumed,remainingSegments:l.slice(C.consumed.length),parameters:pe,positionalParamSegments:C.posParams??{}}}function Di(c,p,l,g){return l.length>0&&function Vi(c,p,l){return l.some(g=>$o(c,p,g)&&rr(g)!==Ue)}(c,l,g)?{segmentGroup:new dt(p,Ps(g,new dt(l,c.children))),slicedSegments:[]}:0===l.length&&function ji(c,p,l){return l.some(g=>$o(c,p,g))}(c,l,g)?{segmentGroup:new dt(c.segments,Ci(c,0,l,g,c.children)),slicedSegments:l}:{segmentGroup:new dt(c.segments,c.children),slicedSegments:l}}function Ci(c,p,l,g,C){const G={};for(const pe of g)if($o(c,l,pe)&&!C[rr(pe)]){const Ye=new dt([],{});G[rr(pe)]=Ye}return{...C,...G}}function Ps(c,p){const l={};l[Ue]=p;for(const g of c)if(""===g.path&&rr(g)!==Ue){const C=new dt([],{});l[rr(g)]=C}return l}function $o(c,p,l){return(!(c.hasChildren()||p.length>0)||"full"!==l.pathMatch)&&""===l.path}class rc{constructor(p,l,g,C,G,pe,Ye){this.injector=p,this.configLoader=l,this.rootComponentType=g,this.config=C,this.urlTree=G,this.paramsInheritanceStrategy=pe,this.urlSerializer=Ye,this.allowRedirects=!0,this.applyRedirects=new Rs(this.urlSerializer,this.urlTree)}noMatchError(p){return new o.vHH(4002,!1)}recognize(){const p=Di(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,p,Ue).pipe(Ve(l=>{if(l instanceof Dr)return this.allowRedirects=!1,this.urlTree=l.urlTree,this.match(l.urlTree);throw l instanceof $i?this.noMatchError(l):l}),(0,ge.U)(l=>{const g=new qr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ue,this.rootComponentType,null,{}),C=new Sn(g,l),G=new On("",C),pe=function Dt(c,p,l=null,g=null){return xt(sn(c),p,l,g)}(g,[],this.urlTree.queryParams,this.urlTree.fragment);return pe.queryParams=this.urlTree.queryParams,G.url=this.urlSerializer.serialize(pe),this.inheritParamsAndData(G._root),{state:G,tree:pe}}))}match(p){return this.processSegmentGroup(this.injector,this.config,p.root,Ue).pipe(Ve(g=>{throw g instanceof $i?this.noMatchError(g):g}))}inheritParamsAndData(p){const l=p.value,g=so(l,this.paramsInheritanceStrategy);l.params=Object.freeze(g.params),l.data=Object.freeze(g.data),p.children.forEach(C=>this.inheritParamsAndData(C))}processSegmentGroup(p,l,g,C){return 0===g.segments.length&&g.hasChildren()?this.processChildren(p,l,g):this.processSegment(p,l,g,g.segments,C,!0)}processChildren(p,l,g){const C=[];for(const G of Object.keys(g.children))"primary"===G?C.unshift(G):C.push(G);return(0,R.D)(C).pipe((0,fe.b)(G=>{const pe=g.children[G],Ye=function Fo(c,p){const l=c.filter(g=>rr(g)===p);return l.push(...c.filter(g=>rr(g)!==p)),l}(l,G);return this.processSegmentGroup(p,Ye,pe,G)}),function at(c,p){return(0,ue.e)(function ke(c,p,l,g,C){return(G,pe)=>{let Ye=l,ze=p,Mt=0;G.subscribe((0,_e.x)(pe,tn=>{const zn=Mt++;ze=Ye?c(ze,tn,zn):(Ye=!0,tn),g&&pe.next(ze)},C&&(()=>{Ye&&pe.next(ze),pe.complete()})))}}(c,p,arguments.length>=2,!0))}((G,pe)=>(G.push(...pe),G)),Fe(null),function ft(c,p){const l=arguments.length>=2;return g=>g.pipe(c?(0,he.h)((C,G)=>c(C,G,g)):Z.y,yt(1),l?Fe(p):qe(()=>new B))}(),(0,De.z)(G=>{if(null===G)return Qr(g);const pe=ks(G);return function oc(c){c.sort((p,l)=>p.value.outlet===Ue?-1:l.value.outlet===Ue?1:p.value.outlet.localeCompare(l.value.outlet))}(pe),(0,O.of)(pe)}))}processSegment(p,l,g,C,G,pe){return(0,R.D)(l).pipe((0,fe.b)(Ye=>this.processSegmentAgainstRoute(Ye._injector??p,l,Ye,g,C,G,pe).pipe(Ve(ze=>{if(ze instanceof $i)return(0,O.of)(null);throw ze}))),Y(Ye=>!!Ye),Ve(Ye=>{if(kt(Ye))return function Qo(c,p,l){return 0===p.length&&!c.children[l]}(g,C,G)?(0,O.of)([]):Qr(g);throw Ye}))}processSegmentAgainstRoute(p,l,g,C,G,pe,Ye){return function ui(c,p,l,g){return!!(rr(c)===g||g!==Ue&&$o(p,l,c))&&("**"===c.path||bi(p,c,l).matched)}(g,C,G,pe)?void 0===g.redirectTo?this.matchSegmentAgainstRoute(p,C,g,G,pe,Ye):Ye&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(p,C,l,g,G,pe):Qr(C):Qr(C)}expandSegmentAgainstRouteUsingRedirect(p,l,g,C,G,pe){return"**"===C.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(p,g,C,pe):this.expandRegularSegmentAgainstRouteUsingRedirect(p,l,g,C,G,pe)}expandWildCardWithParamsAgainstRouteUsingRedirect(p,l,g,C){const G=this.applyRedirects.applyRedirectCommands([],g.redirectTo,{});return g.redirectTo.startsWith("/")?Lr(G):this.applyRedirects.lineralizeSegments(g,G).pipe((0,De.z)(pe=>{const Ye=new dt(pe,{});return this.processSegment(p,l,Ye,pe,C,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(p,l,g,C,G,pe){const{matched:Ye,consumedSegments:ze,remainingSegments:Mt,positionalParamSegments:tn}=bi(l,C,G);if(!Ye)return Qr(l);const zn=this.applyRedirects.applyRedirectCommands(ze,C.redirectTo,tn);return C.redirectTo.startsWith("/")?Lr(zn):this.applyRedirects.lineralizeSegments(C,zn).pipe((0,De.z)(_n=>this.processSegment(p,g,l,_n.concat(Mt),pe,!1)))}matchSegmentAgainstRoute(p,l,g,C,G,pe){let Ye;if("**"===g.path){const ze=C.length>0?wn(C).parameters:{},Mt=new qr(C,ze,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ta(g),rr(g),g.component??g._loadedComponent??null,g,Bo(g));Ye=(0,O.of)({snapshot:Mt,consumedSegments:[],remainingSegments:[]}),l.children={}}else Ye=Bi(l,g,C,p).pipe((0,ge.U)(({matched:ze,consumedSegments:Mt,remainingSegments:tn,parameters:zn})=>ze?{snapshot:new qr(Mt,zn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ta(g),rr(g),g.component??g._loadedComponent??null,g,Bo(g)),consumedSegments:Mt,remainingSegments:tn}:null));return Ye.pipe((0,se.w)(ze=>null===ze?Qr(l):this.getChildConfig(p=g._injector??p,g,C).pipe((0,se.w)(({routes:Mt})=>{const tn=g._loadedInjector??p,{snapshot:zn,consumedSegments:_n,remainingSegments:Co}=ze,{segmentGroup:di,slicedSegments:ni}=Di(l,_n,Co,Mt);if(0===ni.length&&di.hasChildren())return this.processChildren(tn,Mt,di).pipe((0,ge.U)(fi=>null===fi?null:[new Sn(zn,fi)]));if(0===Mt.length&&0===ni.length)return(0,O.of)([new Sn(zn,[])]);const Hs=rr(g)===G;return this.processSegment(tn,Mt,di,ni,Hs?Ue:G,!0).pipe((0,ge.U)(fi=>[new Sn(zn,fi)]))}))))}getChildConfig(p,l,g){return l.children?(0,O.of)({routes:l.children,injector:p}):l.loadChildren?void 0!==l._loadedRoutes?(0,O.of)({routes:l._loadedRoutes,injector:l._loadedInjector}):function go(c,p,l,g){const C=p.canLoad;if(void 0===C||0===C.length)return(0,O.of)(!0);const G=C.map(pe=>{const Ye=lo(pe,c);return Kt(function Li(c){return c&&li(c.canLoad)}(Ye)?Ye.canLoad(p,l):c.runInContext(()=>Ye(p,l)))});return(0,O.of)(G).pipe(br(),Jr())}(p,l,g).pipe((0,De.z)(C=>C?this.configLoader.loadChildren(p,l).pipe((0,ie.b)(G=>{l._loadedRoutes=G.routes,l._loadedInjector=G.injector})):function Os(c){return ne(It(!1,3))}())):(0,O.of)({routes:[],injector:p})}}function ic(c){const p=c.value.routeConfig;return p&&""===p.path}function ks(c){const p=[],l=new Set;for(const g of c){if(!ic(g)){p.push(g);continue}const C=p.find(G=>g.value.routeConfig===G.value.routeConfig);void 0!==C?(C.children.push(...g.children),l.add(C)):p.push(g)}for(const g of l){const C=ks(g.children);p.push(new Sn(g.value,C))}return p.filter(g=>!l.has(g))}function Ta(c){return c.data||{}}function Bo(c){return c.resolve||{}}function We(c){return"string"==typeof c.title||null===c.title}function ot(c){return(0,se.w)(p=>{const l=c(p);return l?(0,R.D)(l).pipe((0,ge.U)(()=>p)):(0,O.of)(p)})}const Pt=new o.OlP("ROUTES");let Rn=(()=>{class c{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.f3M)(o.Sil)}loadComponent(l){if(this.componentLoaders.get(l))return this.componentLoaders.get(l);if(l._loadedComponent)return(0,O.of)(l._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(l);const g=Kt(l.loadComponent()).pipe((0,ge.U)(dn),(0,ie.b)(G=>{this.onLoadEndListener&&this.onLoadEndListener(l),l._loadedComponent=G}),(0,Ot.x)(()=>{this.componentLoaders.delete(l)})),C=new we(g,()=>new re.x).pipe(Be());return this.componentLoaders.set(l,C),C}loadChildren(l,g){if(this.childrenLoaders.get(g))return this.childrenLoaders.get(g);if(g._loadedRoutes)return(0,O.of)({routes:g._loadedRoutes,injector:g._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(g);const G=function Ln(c,p,l,g){return Kt(c.loadChildren()).pipe((0,ge.U)(dn),(0,De.z)(C=>C instanceof o.YKP||Array.isArray(C)?(0,O.of)(C):(0,R.D)(p.compileModuleAsync(C))),(0,ge.U)(C=>{g&&g(c);let G,pe,Ye=!1;return Array.isArray(C)?(pe=C,!0):(G=C.create(l).injector,pe=G.get(Pt,[],{optional:!0,self:!0}).flat()),{routes:pe.map(qo),injector:G}}))}(g,this.compiler,l,this.onLoadEndListener).pipe((0,Ot.x)(()=>{this.childrenLoaders.delete(g)})),pe=new we(G,()=>new re.x).pipe(Be());return this.childrenLoaders.set(g,pe),pe}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function dn(c){return function An(c){return c&&"object"==typeof c&&"default"in c}(c)?c.default:c}let Un=(()=>{class c{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new re.x,this.transitionAbortSubject=new re.x,this.configLoader=(0,o.f3M)(Rn),this.environmentInjector=(0,o.f3M)(o.lqb),this.urlSerializer=(0,o.f3M)(In),this.rootContexts=(0,o.f3M)(vr),this.inputBindingEnabled=null!==(0,o.f3M)(F,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,O.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=C=>this.events.next(new j(C)),this.configLoader.onLoadStartListener=C=>this.events.next(new u(C))}complete(){this.transitions?.complete()}handleNavigationRequest(l){const g=++this.navigationId;this.transitions?.next({...this.transitions.value,...l,id:g})}setupNavigations(l,g,C){return this.transitions=new _.X({id:0,currentUrlTree:g,currentRawUrl:g,currentBrowserUrl:g,extractedUrl:l.urlHandlingStrategy.extract(g),urlAfterRedirects:l.urlHandlingStrategy.extract(g),rawUrl:g,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:mr,restoredState:null,currentSnapshot:C.snapshot,targetSnapshot:null,currentRouterState:C,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,he.h)(G=>0!==G.id),(0,ge.U)(G=>({...G,extractedUrl:l.urlHandlingStrategy.extract(G.rawUrl)})),(0,se.w)(G=>{this.currentTransition=G;let pe=!1,Ye=!1;return(0,O.of)(G).pipe((0,ie.b)(ze=>{this.currentNavigation={id:ze.id,initialUrl:ze.rawUrl,extractedUrl:ze.extractedUrl,trigger:ze.source,extras:ze.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,se.w)(ze=>{const Mt=ze.currentBrowserUrl.toString(),tn=!l.navigated||ze.extractedUrl.toString()!==Mt||Mt!==ze.currentUrlTree.toString();if(!tn&&"reload"!==(ze.extras.onSameUrlNavigation??l.onSameUrlNavigation)){const _n="";return this.events.next(new Te(ze.id,this.urlSerializer.serialize(ze.rawUrl),_n,0)),ze.resolve(null),ce.E}if(l.urlHandlingStrategy.shouldProcessUrl(ze.rawUrl))return(0,O.of)(ze).pipe((0,se.w)(_n=>{const Co=this.transitions?.getValue();return this.events.next(new L(_n.id,this.urlSerializer.serialize(_n.extractedUrl),_n.source,_n.restoredState)),Co!==this.transitions?.getValue()?ce.E:Promise.resolve(_n)}),function Hi(c,p,l,g,C,G){return(0,De.z)(pe=>function Fs(c,p,l,g,C,G,pe="emptyOnly"){return new rc(c,p,l,g,C,pe,G).recognize()}(c,p,l,g,pe.extractedUrl,C,G).pipe((0,ge.U)(({state:Ye,tree:ze})=>({...pe,targetSnapshot:Ye,urlAfterRedirects:ze}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,l.config,this.urlSerializer,l.paramsInheritanceStrategy),(0,ie.b)(_n=>{G.targetSnapshot=_n.targetSnapshot,G.urlAfterRedirects=_n.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:_n.urlAfterRedirects};const Co=new Ee(_n.id,this.urlSerializer.serialize(_n.extractedUrl),this.urlSerializer.serialize(_n.urlAfterRedirects),_n.targetSnapshot);this.events.next(Co)}));if(tn&&l.urlHandlingStrategy.shouldProcessUrl(ze.currentRawUrl)){const{id:_n,extractedUrl:Co,source:di,restoredState:ni,extras:Hs}=ze,fi=new L(_n,this.urlSerializer.serialize(Co),di,ni);this.events.next(fi);const kr=cr(0,this.rootComponentType).snapshot;return this.currentTransition=G={...ze,targetSnapshot:kr,urlAfterRedirects:Co,extras:{...Hs,skipLocationChange:!1,replaceUrl:!1}},(0,O.of)(G)}{const _n="";return this.events.next(new Te(ze.id,this.urlSerializer.serialize(ze.extractedUrl),_n,1)),ze.resolve(null),ce.E}}),(0,ie.b)(ze=>{const Mt=new Pe(ze.id,this.urlSerializer.serialize(ze.extractedUrl),this.urlSerializer.serialize(ze.urlAfterRedirects),ze.targetSnapshot);this.events.next(Mt)}),(0,ge.U)(ze=>(this.currentTransition=G={...ze,guards:Ko(ze.targetSnapshot,ze.currentSnapshot,this.rootContexts)},G)),function Mo(c,p){return(0,De.z)(l=>{const{targetSnapshot:g,currentSnapshot:C,guards:{canActivateChecks:G,canDeactivateChecks:pe}}=l;return 0===pe.length&&0===G.length?(0,O.of)({...l,guardsResult:!0}):function po(c,p,l,g){return(0,R.D)(c).pipe((0,De.z)(C=>function tc(c,p,l,g,C){const G=p&&p.routeConfig?p.routeConfig.canDeactivate:null;if(!G||0===G.length)return(0,O.of)(!0);const pe=G.map(Ye=>{const ze=Fr(p)??C,Mt=lo(Ye,ze);return Kt(function x(c){return c&&li(c.canDeactivate)}(Mt)?Mt.canDeactivate(c,p,l,g):ze.runInContext(()=>Mt(c,p,l,g))).pipe(Y())});return(0,O.of)(pe).pipe(br())}(C.component,C.route,l,p,g)),Y(C=>!0!==C,!0))}(pe,g,C,c).pipe((0,De.z)(Ye=>Ye&&function tr(c){return"boolean"==typeof c}(Ye)?function Jo(c,p,l,g){return(0,R.D)(p).pipe((0,fe.b)(C=>z(function Lo(c,p){return null!==c&&p&&p(new m(c)),(0,O.of)(!0)}(C.route.parent,g),function No(c,p){return null!==c&&p&&p(new Ae(c)),(0,O.of)(!0)}(C.route,g),function ec(c,p,l){const g=p[p.length-1],G=p.slice(0,p.length-1).reverse().map(pe=>function ho(c){const p=c.routeConfig?c.routeConfig.canActivateChild:null;return p&&0!==p.length?{node:c,guards:p}:null}(pe)).filter(pe=>null!==pe).map(pe=>k(()=>{const Ye=pe.guards.map(ze=>{const Mt=Fr(pe.node)??l,tn=lo(ze,Mt);return Kt(function A(c){return c&&li(c.canActivateChild)}(tn)?tn.canActivateChild(g,c):Mt.runInContext(()=>tn(g,c))).pipe(Y())});return(0,O.of)(Ye).pipe(br())}));return(0,O.of)(G).pipe(br())}(c,C.path,l),function ci(c,p,l){const g=p.routeConfig?p.routeConfig.canActivate:null;if(!g||0===g.length)return(0,O.of)(!0);const C=g.map(G=>k(()=>{const pe=Fr(p)??l,Ye=lo(G,pe);return Kt(function Aa(c){return c&&li(c.canActivate)}(Ye)?Ye.canActivate(p,c):pe.runInContext(()=>Ye(p,c))).pipe(Y())}));return(0,O.of)(C).pipe(br())}(c,C.route,l))),Y(C=>!0!==C,!0))}(g,G,c,p):(0,O.of)(Ye)),(0,ge.U)(Ye=>({...l,guardsResult:Ye})))})}(this.environmentInjector,ze=>this.events.next(ze)),(0,ie.b)(ze=>{if(G.guardsResult=ze.guardsResult,gt(ze.guardsResult))throw vt(0,ze.guardsResult);const Mt=new et(ze.id,this.urlSerializer.serialize(ze.extractedUrl),this.urlSerializer.serialize(ze.urlAfterRedirects),ze.targetSnapshot,!!ze.guardsResult);this.events.next(Mt)}),(0,he.h)(ze=>!!ze.guardsResult||(this.cancelNavigationTransition(ze,"",3),!1)),ot(ze=>{if(ze.guards.canActivateChecks.length)return(0,O.of)(ze).pipe((0,ie.b)(Mt=>{const tn=new Ge(Mt.id,this.urlSerializer.serialize(Mt.extractedUrl),this.urlSerializer.serialize(Mt.urlAfterRedirects),Mt.targetSnapshot);this.events.next(tn)}),(0,se.w)(Mt=>{let tn=!1;return(0,O.of)(Mt).pipe(function f(c,p){return(0,De.z)(l=>{const{targetSnapshot:g,guards:{canActivateChecks:C}}=l;if(!C.length)return(0,O.of)(l);let G=0;return(0,R.D)(C).pipe((0,fe.b)(pe=>function N(c,p,l,g){const C=c.routeConfig,G=c._resolve;return void 0!==C?.title&&!We(C)&&(G[ut]=C.title),function y(c,p,l,g){const C=function T(c){return[...Object.keys(c),...Object.getOwnPropertySymbols(c)]}(c);if(0===C.length)return(0,O.of)({});const G={};return(0,R.D)(C).pipe((0,De.z)(pe=>function ve(c,p,l,g){const C=Fr(p)??g,G=lo(c,C);return Kt(G.resolve?G.resolve(p,l):C.runInContext(()=>G(p,l)))}(c[pe],p,l,g).pipe(Y(),(0,ie.b)(Ye=>{G[pe]=Ye}))),yt(1),function bt(c){return(0,ge.U)(()=>c)}(G),Ve(pe=>kt(pe)?ce.E:ne(pe)))}(G,c,p,g).pipe((0,ge.U)(pe=>(c._resolvedData=pe,c.data=so(c,l).resolve,C&&We(C)&&(c.data[ut]=C.title),null)))}(pe.route,g,c,p)),(0,ie.b)(()=>G++),yt(1),(0,De.z)(pe=>G===C.length?(0,O.of)(l):ce.E))})}(l.paramsInheritanceStrategy,this.environmentInjector),(0,ie.b)({next:()=>tn=!0,complete:()=>{tn||this.cancelNavigationTransition(Mt,"",2)}}))}),(0,ie.b)(Mt=>{const tn=new nt(Mt.id,this.urlSerializer.serialize(Mt.extractedUrl),this.urlSerializer.serialize(Mt.urlAfterRedirects),Mt.targetSnapshot);this.events.next(tn)}))}),ot(ze=>{const Mt=tn=>{const zn=[];tn.routeConfig?.loadComponent&&!tn.routeConfig._loadedComponent&&zn.push(this.configLoader.loadComponent(tn.routeConfig).pipe((0,ie.b)(_n=>{tn.component=_n}),(0,ge.U)(()=>{})));for(const _n of tn.children)zn.push(...Mt(_n));return zn};return(0,q.a)(Mt(ze.targetSnapshot.root)).pipe(Fe(),(0,de.q)(1))}),ot(()=>this.afterPreactivation()),(0,ge.U)(ze=>{const Mt=function M(c,p,l){const g=J(c,p._root,l?l._root:void 0);return new Hr(g,p)}(l.routeReuseStrategy,ze.targetSnapshot,ze.currentRouterState);return this.currentTransition=G={...ze,targetRouterState:Mt},G}),(0,ie.b)(()=>{this.events.next(new ir)}),((c,p,l,g)=>(0,ge.U)(C=>(new Sa(p,C.targetRouterState,C.currentRouterState,l,g).activate(c),C)))(this.rootContexts,l.routeReuseStrategy,ze=>this.events.next(ze),this.inputBindingEnabled),(0,de.q)(1),(0,ie.b)({next:ze=>{pe=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new te(ze.id,this.urlSerializer.serialize(ze.extractedUrl),this.urlSerializer.serialize(ze.urlAfterRedirects))),l.titleStrategy?.updateTitle(ze.targetRouterState.snapshot),ze.resolve(!0)},complete:()=>{pe=!0}}),function Oe(c){return(0,ue.e)((p,l)=>{(0,D.Xf)(c).subscribe((0,_e.x)(l,()=>l.complete(),Ze.Z)),!l.closed&&p.subscribe(l)})}(this.transitionAbortSubject.pipe((0,ie.b)(ze=>{throw ze}))),(0,Ot.x)(()=>{pe||Ye||this.cancelNavigationTransition(G,"",1),this.currentNavigation?.id===G.id&&(this.currentNavigation=null)}),Ve(ze=>{if(Ye=!0,gn(ze))this.events.next(new Se(G.id,this.urlSerializer.serialize(G.extractedUrl),ze.message,ze.cancellationCode)),function Yt(c){return gn(c)&>(c.url)}(ze)?this.events.next(new jn(ze.url)):G.resolve(!1);else{this.events.next(new oe(G.id,this.urlSerializer.serialize(G.extractedUrl),ze,G.targetSnapshot??void 0));try{G.resolve(l.errorHandler(ze))}catch(Mt){G.reject(Mt)}}return ce.E}))}))}cancelNavigationTransition(l,g,C){const G=new Se(l.id,this.urlSerializer.serialize(l.extractedUrl),g,C);this.events.next(G),l.resolve(!1)}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function $n(c){return c!==mr}let Cr=(()=>{class c{buildTitle(l){let g,C=l.root;for(;void 0!==C;)g=this.getResolvedTitleForRoute(C)??g,C=C.children.find(G=>G.outlet===Ue);return g}getResolvedTitleForRoute(l){return l.data[ut]}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:function(){return(0,o.f3M)(mo)},providedIn:"root"})}return c})(),mo=(()=>{class c extends Cr{constructor(l){super(),this.title=l}updateTitle(l){const g=this.buildTitle(l);void 0!==g&&this.title.setTitle(g)}static#e=this.\u0275fac=function(g){return new(g||c)(o.LFG(Xe.Dx))};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),$r=(()=>{class c{static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:function(){return(0,o.f3M)(Gr)},providedIn:"root"})}return c})();class So{shouldDetach(p){return!1}store(p,l){}shouldAttach(p){return!1}retrieve(p){return null}shouldReuseRoute(p,l){return p.routeConfig===l.routeConfig}}let Gr=(()=>{class c extends So{static#e=this.\u0275fac=function(){let l;return function(C){return(l||(l=o.n5z(c)))(C||c)}}();static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const eo=new o.OlP("",{providedIn:"root",factory:()=>({})});let vo=(()=>{class c{static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:function(){return(0,o.f3M)(Ao)},providedIn:"root"})}return c})(),Ao=(()=>{class c{shouldProcessUrl(l){return!0}extract(l){return l}merge(l,g){return l}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var Ei=function(c){return c[c.COMPLETE=0]="COMPLETE",c[c.FAILED=1]="FAILED",c[c.REDIRECTING=2]="REDIRECTING",c}(Ei||{});function Ui(c,p){c.events.pipe((0,he.h)(l=>l instanceof te||l instanceof Se||l instanceof oe||l instanceof Te),(0,ge.U)(l=>l instanceof te||l instanceof Te?Ei.COMPLETE:l instanceof Se&&(0===l.code||1===l.code)?Ei.REDIRECTING:Ei.FAILED),(0,he.h)(l=>l!==Ei.REDIRECTING),(0,de.q)(1)).subscribe(()=>{p()})}function ac(c){throw c}function yo(c,p,l){return p.parse("/")}const xa={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Oa={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let mn=(()=>{class c{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,o.f3M)(o.c2e),this.isNgZoneEnabled=!1,this._events=new re.x,this.options=(0,o.f3M)(eo,{optional:!0})||{},this.pendingTasks=(0,o.f3M)(o.HDt),this.errorHandler=this.options.errorHandler||ac,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||yo,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,o.f3M)(vo),this.routeReuseStrategy=(0,o.f3M)($r),this.titleStrategy=(0,o.f3M)(Cr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,o.f3M)(Pt,{optional:!0})?.flat()??[],this.navigationTransitions=(0,o.f3M)(Un),this.urlSerializer=(0,o.f3M)(In),this.location=(0,o.f3M)(U.Ye),this.componentInputBindingEnabled=!!(0,o.f3M)(F,{optional:!0}),this.eventsSubscription=new Ne.w0,this.isNgZoneEnabled=(0,o.f3M)(o.R0b)instanceof o.R0b&&o.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Pn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=cr(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(l=>{this.lastSuccessfulId=l.id,this.currentPageId=this.browserPageId},l=>{this.console.warn(`Unhandled Navigation Error: ${l}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const l=this.navigationTransitions.events.subscribe(g=>{try{const{currentTransition:C}=this.navigationTransitions;if(null===C)return void(_i(g)&&this._events.next(g));if(g instanceof L)$n(C.source)&&(this.browserUrlTree=C.extractedUrl);else if(g instanceof Te)this.rawUrlTree=C.rawUrl;else if(g instanceof Ee){if("eager"===this.urlUpdateStrategy){if(!C.extras.skipLocationChange){const G=this.urlHandlingStrategy.merge(C.urlAfterRedirects,C.rawUrl);this.setBrowserUrl(G,C)}this.browserUrlTree=C.urlAfterRedirects}}else if(g instanceof ir)this.currentUrlTree=C.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(C.urlAfterRedirects,C.rawUrl),this.routerState=C.targetRouterState,"deferred"===this.urlUpdateStrategy&&(C.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,C),this.browserUrlTree=C.urlAfterRedirects);else if(g instanceof Se)0!==g.code&&1!==g.code&&(this.navigated=!0),(3===g.code||2===g.code)&&this.restoreHistory(C);else if(g instanceof jn){const G=this.urlHandlingStrategy.merge(g.url,C.currentRawUrl),pe={skipLocationChange:C.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||$n(C.source)};this.scheduleNavigation(G,mr,null,pe,{resolve:C.resolve,reject:C.reject,promise:C.promise})}g instanceof oe&&this.restoreHistory(C,!0),g instanceof te&&(this.navigated=!0),_i(g)&&this._events.next(g)}catch(C){this.navigationTransitions.transitionAbortSubject.next(C)}});this.eventsSubscription.add(l)}resetRootComponentType(l){this.routerState.root.component=l,this.navigationTransitions.rootComponentType=l}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const l=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),mr,l)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(l=>{const g="popstate"===l.type?"popstate":"hashchange";"popstate"===g&&setTimeout(()=>{this.navigateToSyncWithBrowser(l.url,g,l.state)},0)}))}navigateToSyncWithBrowser(l,g,C){const G={replaceUrl:!0},pe=C?.navigationId?C:null;if(C){const ze={...C};delete ze.navigationId,delete ze.\u0275routerPageId,0!==Object.keys(ze).length&&(G.state=ze)}const Ye=this.parseUrl(l);this.scheduleNavigation(Ye,g,pe,G)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(l){this.config=l.map(qo),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(l,g={}){const{relativeTo:C,queryParams:G,fragment:pe,queryParamsHandling:Ye,preserveFragment:ze}=g,Mt=ze?this.currentUrlTree.fragment:pe;let zn,tn=null;switch(Ye){case"merge":tn={...this.currentUrlTree.queryParams,...G};break;case"preserve":tn=this.currentUrlTree.queryParams;break;default:tn=G||null}null!==tn&&(tn=this.removeEmptyProps(tn));try{zn=sn(C?C.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof l[0]||!l[0].startsWith("/"))&&(l=[]),zn=this.currentUrlTree.root}return xt(zn,l,tn,Mt??null)}navigateByUrl(l,g={skipLocationChange:!1}){const C=gt(l)?l:this.parseUrl(l),G=this.urlHandlingStrategy.merge(C,this.rawUrlTree);return this.scheduleNavigation(G,mr,null,g)}navigate(l,g={skipLocationChange:!1}){return function Ns(c){for(let p=0;p{const G=l[C];return null!=G&&(g[C]=G),g},{})}scheduleNavigation(l,g,C,G,pe){if(this.disposed)return Promise.resolve(!1);let Ye,ze,Mt;pe?(Ye=pe.resolve,ze=pe.reject,Mt=pe.promise):Mt=new Promise((zn,_n)=>{Ye=zn,ze=_n});const tn=this.pendingTasks.add();return Ui(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(tn))}),this.navigationTransitions.handleNavigationRequest({source:g,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:l,extras:G,resolve:Ye,reject:ze,promise:Mt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Mt.catch(zn=>Promise.reject(zn))}setBrowserUrl(l,g){const C=this.urlSerializer.serialize(l);if(this.location.isCurrentPathEqualTo(C)||g.extras.replaceUrl){const pe={...g.extras.state,...this.generateNgRouterState(g.id,this.browserPageId)};this.location.replaceState(C,"",pe)}else{const G={...g.extras.state,...this.generateNgRouterState(g.id,this.browserPageId+1)};this.location.go(C,"",G)}}restoreHistory(l,g=!1){if("computed"===this.canceledNavigationResolution){const G=this.currentPageId-this.browserPageId;0!==G?this.location.historyGo(G):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===G&&(this.resetState(l),this.browserUrlTree=l.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(g&&this.resetState(l),this.resetUrlToCurrentUrlTree())}resetState(l){this.routerState=l.currentRouterState,this.currentUrlTree=l.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,l.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(l,g){return"computed"===this.canceledNavigationResolution?{navigationId:l,\u0275routerPageId:g}:{navigationId:l}}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function _i(c){return!(c instanceof ir||c instanceof jn)}let Ar=(()=>{class c{constructor(l,g,C,G,pe,Ye){this.router=l,this.route=g,this.tabIndexAttribute=C,this.renderer=G,this.el=pe,this.locationStrategy=Ye,this.href=null,this.commands=null,this.onChanges=new re.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const ze=pe.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ze||"area"===ze,this.isAnchorElement?this.subscription=l.events.subscribe(Mt=>{Mt instanceof te&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(l){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",l)}ngOnChanges(l){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(l){null!=l?(this.commands=Array.isArray(l)?l:[l],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(l,g,C,G,pe){return!!(null===this.urlTree||this.isAnchorElement&&(0!==l||g||C||G||pe||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const l=null===this.href?null:(0,o.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",l)}applyAttributeValue(l,g){const C=this.renderer,G=this.el.nativeElement;null!==g?C.setAttribute(G,l,g):C.removeAttribute(G,l)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(g){return new(g||c)(o.Y36(mn),o.Y36(Rr),o.$8M("tabindex"),o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(U.S$))};static#t=this.\u0275dir=o.lG2({type:c,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(g,C){1&g&&o.NdJ("click",function(pe){return C.onClick(pe.button,pe.ctrlKey,pe.shiftKey,pe.altKey,pe.metaKey)}),2&g&&o.uIk("target",C.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",o.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",o.VuI],replaceUrl:["replaceUrl","replaceUrl",o.VuI],routerLink:"routerLink"},standalone:!0,features:[o.Xq5,o.TTD]})}return c})();class ei{}let Yr=(()=>{class c{preload(l,g){return g().pipe(Ve(()=>(0,O.of)(null)))}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),cc=(()=>{class c{constructor(l,g,C,G,pe){this.router=l,this.injector=C,this.preloadingStrategy=G,this.loader=pe}setUpPreloading(){this.subscription=this.router.events.pipe((0,he.h)(l=>l instanceof te),(0,fe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(l,g){const C=[];for(const G of g){G.providers&&!G._injector&&(G._injector=(0,o.MMx)(G.providers,l,`Route: ${G.path}`));const pe=G._injector??l,Ye=G._loadedInjector??pe;(G.loadChildren&&!G._loadedRoutes&&void 0===G.canLoad||G.loadComponent&&!G._loadedComponent)&&C.push(this.preloadConfig(pe,G)),(G.children||G._loadedRoutes)&&C.push(this.processRoutes(Ye,G.children??G._loadedRoutes))}return(0,R.D)(C).pipe((0,V.J)())}preloadConfig(l,g){return this.preloadingStrategy.preload(g,()=>{let C;C=g.loadChildren&&void 0===g.canLoad?this.loader.loadChildren(l,g):(0,O.of)(null);const G=C.pipe((0,De.z)(pe=>null===pe?(0,O.of)(void 0):(g._loadedRoutes=pe.routes,g._loadedInjector=pe.injector,this.processRoutes(pe.injector??l,pe.routes))));if(g.loadComponent&&!g._loadedComponent){const pe=this.loader.loadComponent(g);return(0,R.D)([G,pe]).pipe((0,V.J)())}return G})}static#e=this.\u0275fac=function(g){return new(g||c)(o.LFG(mn),o.LFG(o.Sil),o.LFG(o.lqb),o.LFG(ei),o.LFG(Rn))};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Ls=new o.OlP("");let To=(()=>{class c{constructor(l,g,C,G,pe={}){this.urlSerializer=l,this.transitions=g,this.viewportScroller=C,this.zone=G,this.options=pe,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},pe.scrollPositionRestoration=pe.scrollPositionRestoration||"disabled",pe.anchorScrolling=pe.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(l=>{l instanceof L?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=l.navigationTrigger,this.restoredId=l.restoredState?l.restoredState.navigationId:0):l instanceof te?(this.lastId=l.id,this.scheduleScrollEvent(l,this.urlSerializer.parse(l.urlAfterRedirects).fragment)):l instanceof Te&&0===l.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(l,this.urlSerializer.parse(l.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(l=>{l instanceof Bn&&(l.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(l.position):l.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(l.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(l,g){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Bn(l,"popstate"===this.lastSource?this.store[this.restoredId]:null,g))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(g){o.$Z()};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac})}return c})();function bo(c,p){return{\u0275kind:c,\u0275providers:p}}function $s(){const c=(0,o.f3M)(o.zs3);return p=>{const l=c.get(o.z2F);if(p!==l.components[0])return;const g=c.get(mn),C=c.get(fc);1===c.get(Bs)&&g.initialNavigation(),c.get(ti,null,o.XFs.Optional)?.setUpPreloading(),c.get(Ls,null,o.XFs.Optional)?.init(),g.resetRootComponentType(l.componentTypes[0]),C.closed||(C.next(),C.complete(),C.unsubscribe())}}const fc=new o.OlP("",{factory:()=>new re.x}),Bs=new o.OlP("",{providedIn:"root",factory:()=>1}),ti=new o.OlP("");function mc(c){return bo(0,[{provide:ti,useExisting:cc},{provide:ei,useExisting:c}])}const Dn=new o.OlP("ROUTER_FORROOT_GUARD"),ka=[U.Ye,{provide:In,useClass:Xn},mn,vr,{provide:Rr,useFactory:function Pa(c){return c.routerState.root},deps:[mn]},Rn,[]];function Na(){return new o.PXZ("Router",mn)}let Tr=(()=>{class c{constructor(l){}static forRoot(l,g){return{ngModule:c,providers:[ka,[],{provide:Pt,multi:!0,useValue:l},{provide:Dn,useFactory:Vs,deps:[[mn,new o.FiY,new o.tp0]]},{provide:eo,useValue:g||{}},g?.useHash?{provide:U.S$,useClass:U.Do}:{provide:U.S$,useClass:U.b0},{provide:Ls,useFactory:()=>{const c=(0,o.f3M)(U.EM),p=(0,o.f3M)(o.R0b),l=(0,o.f3M)(eo),g=(0,o.f3M)(Un),C=(0,o.f3M)(In);return l.scrollOffset&&c.setOffset(l.scrollOffset),new To(C,g,c,p,l)}},g?.preloadingStrategy?mc(g.preloadingStrategy).\u0275providers:[],{provide:o.PXZ,multi:!0,useFactory:Na},g?.initialNavigation?js(g):[],g?.bindToComponentInputs?bo(8,[W,{provide:F,useExisting:W}]).\u0275providers:[],[{provide:$a,useFactory:$s},{provide:o.tb,multi:!0,useExisting:$a}]]}}static forChild(l){return{ngModule:c,providers:[{provide:Pt,multi:!0,useValue:l}]}}static#e=this.\u0275fac=function(g){return new(g||c)(o.LFG(Dn,8))};static#t=this.\u0275mod=o.oAB({type:c});static#n=this.\u0275inj=o.cJS({})}return c})();function Vs(c){return"guarded"}function js(c){return["disabled"===c.initialNavigation?bo(3,[{provide:o.ip1,multi:!0,useFactory:()=>{const p=(0,o.f3M)(mn);return()=>{p.setUpLocationChangeListener()}}},{provide:Bs,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?bo(2,[{provide:Bs,useValue:0},{provide:o.ip1,multi:!0,deps:[o.zs3],useFactory:p=>{const l=p.get(U.V_,Promise.resolve());return()=>l.then(()=>new Promise(g=>{const C=p.get(mn),G=p.get(fc);Ui(C,()=>{g(!0)}),p.get(Un).afterPreactivation=()=>(g(!0),G.closed?(0,O.of)(void 0):G),C.initialNavigation()}))}}]).\u0275providers:[]]}const $a=new o.OlP("")},4414:(ct,je,b)=>{"use strict";b.d(je,{BX:()=>en,Br:()=>Jt,y4:()=>Re,De:()=>ar,dy:()=>wr,oU:()=>Hr,ki:()=>et,O1:()=>ao,d8:()=>oe,jP:()=>wo,UN:()=>qr,r4:()=>ur,HT:()=>Tn,IN:()=>xt,SH:()=>pn,t4:()=>hn,Dh:()=>kn,j:()=>cr,H:()=>Io,yF:()=>ln,bk:()=>wt,DN:()=>rn,Wn:()=>On,vk:()=>zt});var o=b(5861),w=b(2029),ee=b(3630);const _=F=>({create:W=>P(F,W),dismiss:(W,M,J)=>we(document,W,M,F,J),getTop:()=>(0,o.Z)(function*(){return ge(document,F)})()}),q=_("ion-alert"),I=_("ion-action-sheet"),B=_("ion-loading"),V=_("ion-modal"),S=_("ion-popover"),z=_("ion-toast"),P=(F,W)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(F).then(()=>{const M=document.createElement(F);return M.classList.add("overlay-hidden"),Object.assign(M,Object.assign(Object.assign({},W),{hasController:!0})),De(document).appendChild(M),new Promise(J=>(0,ee.c)(M,J))}):Promise.resolve(),we=(F,W,M,J,ye)=>{const tt=ge(F,J,ye);return tt?tt.dismiss(W,M):Promise.reject("overlay does not exist")},ge=(F,W,M)=>{const J=((F,W)=>((F,W)=>(void 0===W&&(W="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(F.querySelectorAll(W)).filter(M=>M.overlayIndex>0)))(F,W).filter(M=>!(F=>F.classList.contains("overlay-hidden"))(M)))(F,W);return void 0===M?J[J.length-1]:J.find(ye=>ye.id===M)},De=F=>F.querySelector("ion-app")||F.body;var yt=b(191);class ft{constructor(){this.m=new Map}reset(W){this.m=new Map(Object.entries(W))}get(W,M){const J=this.m.get(W);return void 0!==J?J:M}getBoolean(W,M=!1){const J=this.m.get(W);return void 0===J?M:"string"==typeof J?"true"===J:!!J}getNumber(W,M){const J=parseFloat(this.m.get(W));return isNaN(J)?void 0!==M?M:NaN:J}set(W,M){this.m.set(W,M)}}const bt=new ft,pt=F=>Vt(F),Vt=(F=window)=>{if(typeof F>"u")return[];F.Ionic=F.Ionic||{};let W=F.Ionic.platforms;return null==W&&(W=F.Ionic.platforms=At(F),W.forEach(M=>F.document.documentElement.classList.add(`plt-${M}`))),W},At=F=>{const W=bt.get("platform");return Object.keys(Bt).filter(M=>{const J=W?.[M];return"function"==typeof J?J(F):Bt[M](F)})},$t=F=>!!(Cn(F,/iPad/i)||Cn(F,/Macintosh/i)&&Rt(F)),Nt=F=>Cn(F,/android|sink/i),Rt=F=>or(F,"(any-pointer:coarse)"),Xt=F=>Wt(F)||Gt(F),Wt=F=>!!(F.cordova||F.phonegap||F.PhoneGap),Gt=F=>{const W=F.Capacitor;return!!W?.isNative},Cn=(F,W)=>W.test(F.navigator.userAgent),or=(F,W)=>{var M;return null===(M=F.matchMedia)||void 0===M?void 0:M.call(F,W).matches},Bt={ipad:$t,iphone:F=>Cn(F,/iPhone/i),ios:F=>Cn(F,/iPhone|iPod/i)||$t(F),android:Nt,phablet:F=>{const W=F.innerWidth,M=F.innerHeight,J=Math.min(W,M),ye=Math.max(W,M);return J>390&&J<520&&ye>620&&ye<800},tablet:F=>{const W=F.innerWidth,M=F.innerHeight,J=Math.min(W,M),ye=Math.max(W,M);return $t(F)||(F=>Nt(F)&&!Cn(F,/mobile/i))(F)||J>460&&J<820&&ye>780&&ye<1400},cordova:Wt,capacitor:Gt,electron:F=>Cn(F,/electron/i),pwa:F=>{var W;return!!(null!==(W=F.matchMedia)&&void 0!==W&&W.call(F,"(display-mode: standalone)").matches||F.navigator.standalone)},mobile:Rt,mobileweb:F=>Rt(F)&&!Xt(F),desktop:F=>!Rt(F),hybrid:Xt};var yn=b(335),Kn=b(6814),bn=b(8645),gr=b(2438),qn=b(5619),Zn=b(2572),Er=b(2096),Ke=b(7582),$e=b(2181),me=b(4664),Me=b(3997),Je=b(95);const Et=["tabsInner"];class Tt{constructor(W){this.ctrl=W}create(W){return this.ctrl.create(W||{})}dismiss(W,M,J){return this.ctrl.dismiss(W,M,J)}getTop(){return this.ctrl.getTop()}}let en=(()=>{class F extends Tt{constructor(){super(I)}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),Jt=(()=>{class F extends Tt{constructor(){super(q)}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),Tn=(()=>{class F extends Tt{constructor(){super(B)}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();class sr{constructor(W={}){this.data=W}get(W){return this.data[W]}}let Re=(()=>{class F{constructor(){this.zone=(0,w.f3M)(w.R0b),this.applicationRef=(0,w.f3M)(w.z2F)}create(M,J,ye){return new Ce(M,J,this.applicationRef,this.zone,ye)}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac}),F})();class Ce{constructor(W,M,J,ye,tt){this.environmentInjector=W,this.injector=M,this.applicationRef=J,this.zone=ye,this.elementReferenceKey=tt,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(W,M,J,ye){return this.zone.run(()=>new Promise(tt=>{const Ct={...J};void 0!==this.elementReferenceKey&&(Ct[this.elementReferenceKey]=W),tt(be(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,W,M,Ct,ye,this.elementReferenceKey))}))}removeViewFromDom(W,M){return this.zone.run(()=>new Promise(J=>{const ye=this.elRefMap.get(M);if(ye){ye.destroy(),this.elRefMap.delete(M);const tt=this.elEventsMap.get(M);tt&&(tt(),this.elEventsMap.delete(M))}J()}))}}const be=(F,W,M,J,ye,tt,Ct,vt,It,Yt,gn)=>{const er=w.zs3.create({providers:Dt(It),parent:M}),_r=(0,w.LMc)(vt,{environmentInjector:W,elementInjector:er}),Kr=_r.instance,yr=_r.location.nativeElement;if(It&&(gn&&void 0!==Kr[gn]&&console.error(`[Ionic Error]: ${gn} is a reserved property when using ${Ct.tagName.toLowerCase()}. Rename or remove the "${gn}" property from ${vt.name}.`),Object.assign(Kr,It)),Yt)for(const zr of Yt)yr.classList.add(zr);const Nr=it(F,Kr,yr);return Ct.appendChild(yr),J.attachView(_r.hostView),ye.set(yr,_r),tt.set(yr,Nr),yr},Qe=[yt.L,yt.a,yt.b,yt.c,yt.d],it=(F,W,M)=>F.run(()=>{const J=Qe.filter(ye=>"function"==typeof W[ye]).map(ye=>{const tt=Ct=>W[ye](Ct.detail);return M.addEventListener(ye,tt),()=>M.removeEventListener(ye,tt)});return()=>J.forEach(ye=>ye())}),gt=new w.OlP("NavParamsToken"),Dt=F=>[{provide:gt,useValue:F},{provide:sr,useFactory:sn,deps:[gt]}],sn=F=>new sr(F);let xt=(()=>{class F extends Tt{constructor(){super(V),this.angularDelegate=(0,w.f3M)(Re),this.injector=(0,w.f3M)(w.zs3),this.environmentInjector=(0,w.f3M)(w.lqb)}create(M){return super.create({...M,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac}),F})(),kn=(()=>{class F extends Tt{constructor(){super(S),this.angularDelegate=(0,w.f3M)(Re),this.injector=(0,w.f3M)(w.zs3),this.environmentInjector=(0,w.f3M)(w.lqb)}create(M){return super.create({...M,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac}),F})(),ln=(()=>{class F extends Tt{constructor(){super(z)}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),hn=(()=>{class F{constructor(M,J){this.doc=M,this.backButton=new bn.x,this.keyboardDidShow=new bn.x,this.keyboardDidHide=new bn.x,this.pause=new bn.x,this.resume=new bn.x,this.resize=new bn.x,J.run(()=>{let ye;this.win=M.defaultView,this.backButton.subscribeWithPriority=function(tt,Ct){return this.subscribe(vt=>vt.register(tt,It=>J.run(()=>Ct(It))))},Fn(this.pause,M,"pause",J),Fn(this.resume,M,"resume",J),Fn(this.backButton,M,"ionBackButton",J),Fn(this.resize,this.win,"resize",J),Fn(this.keyboardDidShow,this.win,"ionKeyboardDidShow",J),Fn(this.keyboardDidHide,this.win,"ionKeyboardDidHide",J),this._readyPromise=new Promise(tt=>{ye=tt}),this.win?.cordova?M.addEventListener("deviceready",()=>{ye("cordova")},{once:!0}):ye("dom")})}is(M){return((F,W)=>("string"==typeof F&&(W=F,F=void 0),pt(F).includes(W)))(this.win,M)}platforms(){return pt(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(M){return Jn(this.win.location.href,M)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(M){const J=this.win.navigator;return!!(J?.userAgent&&J.userAgent.indexOf(M)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return F.\u0275fac=function(M){return new(M||F)(w.LFG(Kn.K0),w.LFG(w.R0b))},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();const Jn=(F,W)=>{W=W.replace(/[[\]\\]/g,"\\$&");const J=new RegExp("[\\?&]"+W+"=([^&#]*)").exec(F);return J?decodeURIComponent(J[1].replace(/\+/g," ")):null},Fn=(F,W,M,J)=>{W&&W.addEventListener(M,ye=>{J.run(()=>{const tt=ye?.detail;F.next(tt)})})};let pn=(()=>{class F{constructor(M,J,ye,tt){this.location=J,this.serializer=ye,this.router=tt,this.direction=nr,this.animated=Qn,this.guessDirection="forward",this.lastNavId=-1,tt&&tt.events.subscribe(Ct=>{if(Ct instanceof yn.OD){const vt=Ct.restoredState?Ct.restoredState.navigationId:Ct.id;this.guessDirection=vt{this.pop(),Ct()})}navigateForward(M,J={}){return this.setDirection("forward",J.animated,J.animationDirection,J.animation),this.navigate(M,J)}navigateBack(M,J={}){return this.setDirection("back",J.animated,J.animationDirection,J.animation),this.navigate(M,J)}navigateRoot(M,J={}){return this.setDirection("root",J.animated,J.animationDirection,J.animation),this.navigate(M,J)}back(M={animated:!0,animationDirection:"back"}){return this.setDirection("back",M.animated,M.animationDirection,M.animation),this.location.back()}pop(){var M=this;return(0,o.Z)(function*(){let J=M.topOutlet;for(;J;){if(yield J.pop())return!0;J=J.parentOutlet}return!1})()}setDirection(M,J,ye,tt){this.direction=M,this.animated=Nn(M,J,ye),this.animationBuilder=tt}setTopOutlet(M){this.topOutlet=M}consumeTransition(){let J,M="root";const ye=this.animationBuilder;return"auto"===this.direction?(M=this.guessDirection,J=this.guessAnimation):(J=this.animated,M=this.direction),this.direction=nr,this.animated=Qn,this.animationBuilder=void 0,{direction:M,animation:J,animationBuilder:ye}}navigate(M,J){if(Array.isArray(M))return this.router.navigate(M,J);{const ye=this.serializer.parse(M.toString());return void 0!==J.queryParams&&(ye.queryParams={...J.queryParams}),void 0!==J.fragment&&(ye.fragment=J.fragment),this.router.navigateByUrl(ye,J)}}}return F.\u0275fac=function(M){return new(M||F)(w.LFG(hn),w.LFG(Kn.Ye),w.LFG(yn.Hx),w.LFG(yn.F0,8))},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();const Nn=(F,W,M)=>{if(!1!==W){if(void 0!==M)return M;if("forward"===F||"back"===F)return F;if("root"===F&&!0===W)return"forward"}},nr="auto",Qn=void 0;let ar=(()=>{class F{get(M,J){const ye=lr();return ye?ye.get(M,J):null}getBoolean(M,J){const ye=lr();return!!ye&&ye.getBoolean(M,J)}getNumber(M,J){const ye=lr();return ye?ye.getNumber(M,J):0}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();const wr=new w.OlP("USERCONFIG"),lr=()=>{if(typeof window<"u"){const F=window.Ionic;if(F?.config)return F.config}return null},mr=(F,W)=>{const M=F.prototype;W.forEach(J=>{Object.defineProperty(M,J,{get(){return this.el[J]},set(ye){this.z.runOutsideAngular(()=>this.el[J]=ye)}})})},Mn=(F,W)=>{const M=F.prototype;W.forEach(J=>{M[J]=function(){const ye=arguments;return this.z.runOutsideAngular(()=>this.el[J].apply(this.el,ye))}})},L=(F,W,M)=>{M.forEach(J=>F[J]=(0,gr.R)(W,J))};function te(F){return function(M){const{defineCustomElementFn:J,inputs:ye,methods:tt}=F;return void 0!==J&&J(),ye&&mr(M,ye),tt&&Mn(M,tt),M}}const Se=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],Te=["present","dismiss","onDidDismiss","onWillDismiss"];let oe=(()=>{let F=class{constructor(M,J,ye){this.z=ye,this.isCmpOpen=!1,this.el=J.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,M.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,M.detectChanges()}),L(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return F.\u0275fac=function(M){return new(M||F)(w.Y36(w.sBO),w.Y36(w.SBq),w.Y36(w.R0b))},F.\u0275dir=w.lG2({type:F,selectors:[["ion-popover"]],contentQueries:function(M,J,ye){if(1&M&&w.Suo(ye,w.Rgc,5),2&M){let tt;w.iGM(tt=w.CRH())&&(J.template=tt.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"}}),F=(0,Ke.gn)([te({inputs:Se,methods:Te})],F),F})();const Ee=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],Pe=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let et=(()=>{let F=class{constructor(M,J,ye){this.z=ye,this.isCmpOpen=!1,this.el=J.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,M.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,M.detectChanges()}),L(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return F.\u0275fac=function(M){return new(M||F)(w.Y36(w.sBO),w.Y36(w.SBq),w.Y36(w.R0b))},F.\u0275dir=w.lG2({type:F,selectors:[["ion-modal"]],contentQueries:function(M,J,ye){if(1&M&&w.Suo(ye,w.Rgc,5),2&M){let tt;w.iGM(tt=w.CRH())&&(J.template=tt.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"}}),F=(0,Ke.gn)([te({inputs:Ee,methods:Pe})],F),F})();const nt=(F,W)=>((F=F.filter(M=>M.stackId!==W.stackId)).push(W),F),m=(F,W)=>{const M=F.createUrlTree(["."],{relativeTo:W});return F.serializeUrl(M)},X=(F,W)=>!W||F.stackId!==W.stackId,Ae=(F,W)=>{if(!F)return;const M=Ft(W);for(let J=0;J=F.length)return M[J];if(M[J]!==F[J])return}},Ft=F=>F.split("/").map(W=>W.trim()).filter(W=>""!==W),Bn=F=>{F&&(F.ref.destroy(),F.unlistenEvents())};class ir{constructor(W,M,J,ye,tt,Ct){this.containerEl=M,this.router=J,this.navCtrl=ye,this.zone=tt,this.location=Ct,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==W?Ft(W):void 0}createView(W,M){const J=m(this.router,M),ye=W?.location?.nativeElement,tt=it(this.zone,W.instance,ye);return{id:this.nextId++,stackId:Ae(this.tabsPrefix,J),unlistenEvents:tt,element:ye,ref:W,url:J}}getExistingView(W){const M=m(this.router,W),J=this.views.find(ye=>ye.url===M);return J&&J.ref.changeDetectorRef.reattach(),J}setActive(W){const M=this.navCtrl.consumeTransition();let{direction:J,animation:ye,animationBuilder:tt}=M;const Ct=this.activeView,vt=X(W,Ct);vt&&(J="back",ye=void 0);const It=this.views.slice();let Yt;const gn=this.router;gn.getCurrentNavigation?Yt=gn.getCurrentNavigation():gn.navigations?.value&&(Yt=gn.navigations.value),Yt?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const er=this.views.includes(W),_r=this.insertView(W,J);er||W.ref.changeDetectorRef.detectChanges();const Kr=W.animationBuilder;return void 0===tt&&"back"===J&&!vt&&void 0!==Kr&&(tt=Kr),Ct&&(Ct.animationBuilder=tt),this.zone.runOutsideAngular(()=>this.wait(()=>(Ct&&Ct.ref.changeDetectorRef.detach(),W.ref.changeDetectorRef.reattach(),this.transition(W,Ct,ye,this.canGoBack(1),!1,tt).then(()=>jn(W,_r,It,this.location,this.zone)).then(()=>({enteringView:W,direction:J,animation:ye,tabSwitch:vt})))))}canGoBack(W,M=this.getActiveStackId()){return this.getStack(M).length>W}pop(W,M=this.getActiveStackId()){return this.zone.run(()=>{const J=this.getStack(M);if(J.length<=W)return Promise.resolve(!1);const ye=J[J.length-W-1];let tt=ye.url;const Ct=ye.savedData;if(Ct){const It=Ct.get("primary");It?.route?._routerState?.snapshot.url&&(tt=It.route._routerState.snapshot.url)}const{animationBuilder:vt}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(tt,{...ye.savedExtras,animation:vt}).then(()=>!0)})}startBackTransition(){const W=this.activeView;if(W){const M=this.getStack(W.stackId),J=M[M.length-2],ye=J.animationBuilder;return this.wait(()=>this.transition(J,W,"back",this.canGoBack(2),!0,ye))}return Promise.resolve()}endBackTransition(W){W?(this.skipTransition=!0,this.pop(1)):this.activeView&&Sr(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(W){const M=this.getStack(W);return M.length>0?M[M.length-1]:void 0}getRootUrl(W){const M=this.getStack(W);return M.length>0?M[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(Bn),this.activeView=void 0,this.views=[]}getStack(W){return this.views.filter(M=>M.stackId===W)}insertView(W,M){return this.activeView=W,this.views=((F,W,M)=>"root"===M?nt(F,W):"forward"===M?((F,W)=>(F.indexOf(W)>=0?F=F.filter(J=>J.stackId!==W.stackId||J.id<=W.id):F.push(W),F))(F,W):((F,W)=>F.indexOf(W)>=0?F.filter(J=>J.stackId!==W.stackId||J.id<=W.id):nt(F,W))(F,W))(this.views,W,M),this.views.slice()}transition(W,M,J,ye,tt,Ct){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(M===W)return Promise.resolve(!1);const vt=W?W.element:void 0,It=M?M.element:void 0,Yt=this.containerEl;return vt&&vt!==It&&(vt.classList.add("ion-page"),vt.classList.add("ion-page-invisible"),vt.parentElement!==Yt&&Yt.appendChild(vt),Yt.commit)?Yt.commit(vt,It,{duration:void 0===J?0:void 0,direction:J,showGoBack:ye,progressAnimation:tt,animationBuilder:Ct}):Promise.resolve(!1)}wait(W){var M=this;return(0,o.Z)(function*(){void 0!==M.runningTask&&(yield M.runningTask,M.runningTask=void 0);const J=M.runningTask=W();return J.finally(()=>M.runningTask=void 0),J})()}}const jn=(F,W,M,J,ye)=>"function"==typeof requestAnimationFrame?new Promise(tt=>{requestAnimationFrame(()=>{Sr(F,W,M,J,ye),tt()})}):Promise.resolve(),Sr=(F,W,M,J,ye)=>{ye.run(()=>M.filter(tt=>!W.includes(tt)).forEach(Bn)),W.forEach(tt=>{const vt=J.path().split("?")[0].split("#")[0];if(tt!==F&&tt.url!==vt){const It=tt.element;It.setAttribute("aria-hidden","true"),It.classList.add("ion-page-hidden"),tt.ref.changeDetectorRef.detach()}})};let wo=(()=>{class F{constructor(M,J,ye,tt,Ct,vt,It,Yt){this.parentOutlet=Yt,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new qn.X(null),this.activated=null,this._activatedRoute=null,this.name=yn.eC,this.stackWillChange=new w.vpe,this.stackDidChange=new w.vpe,this.activateEvents=new w.vpe,this.deactivateEvents=new w.vpe,this.parentContexts=(0,w.f3M)(yn.y6),this.location=(0,w.f3M)(w.s_b),this.environmentInjector=(0,w.f3M)(w.lqb),this.inputBinder=(0,w.f3M)(fo,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,w.f3M)(ar),this.navCtrl=(0,w.f3M)(pn),this.nativeEl=tt.nativeElement,this.name=M||yn.eC,this.tabsPrefix="true"===J?m(Ct,It):void 0,this.stackCtrl=new ir(this.tabsPrefix,this.nativeEl,Ct,this.navCtrl,vt,ye),this.parentContexts.onChildOutletCreated(this.name,this)}get activatedComponentRef(){return this.activated}set animation(M){this.nativeEl.animation=M}set animated(M){this.nativeEl.animated=M}set swipeGesture(M){this._swipeGesture=M,this.nativeEl.swipeHandler=M?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:J=>this.stackCtrl.endBackTransition(J)}:void 0}ngOnDestroy(){this.stackCtrl.destroy(),this.inputBinder?.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const M=this.getContext();M?.route&&this.activateWith(M.route,M.injector)}new Promise(M=>(0,ee.c)(this.nativeEl,M)).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(M,J){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const J=this.getContext();this.activatedView.savedData=new Map(J.children.contexts);const ye=this.activatedView.savedData.get("primary");if(ye&&J.route&&(ye.route={...J.route}),this.activatedView.savedExtras={},J.route){const tt=J.route.snapshot;this.activatedView.savedExtras.queryParams=tt.queryParams,this.activatedView.savedExtras.fragment=tt.fragment}}const M=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(M)}}activateWith(M,J){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=M;let ye,tt=this.stackCtrl.getExistingView(M);if(tt){ye=this.activated=tt.ref;const vt=tt.savedData;vt&&(this.getContext().children.contexts=vt),this.updateActivatedRouteProxy(ye.instance,M)}else{const vt=M._futureSnapshot,It=this.parentContexts.getOrCreateContext(this.name).children,Yt=new qn.X(null),gn=this.createActivatedRouteProxy(Yt,M),er=new vr(gn,It,this.location.injector);ye=this.activated=this.location.createComponent(vt.routeConfig.component??vt.component,{index:this.location.length,injector:er,environmentInjector:J??this.environmentInjector}),Yt.next(ye.instance),tt=this.stackCtrl.createView(this.activated,M),this.proxyMap.set(ye.instance,gn),this.currentActivatedRoute$.next({component:ye.instance,activatedRoute:M})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=tt,this.navCtrl.setTopOutlet(this);const Ct=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:tt,tabSwitch:X(tt,Ct)}),this.stackCtrl.setActive(tt).then(vt=>{this.activateEvents.emit(ye.instance),this.stackDidChange.emit(vt)})}canGoBack(M=1,J){return this.stackCtrl.canGoBack(M,J)}pop(M=1,J){return this.stackCtrl.pop(M,J)}getLastUrl(M){const J=this.stackCtrl.getLastUrl(M);return J?J.url:void 0}getLastRouteView(M){return this.stackCtrl.getLastUrl(M)}getRootView(M){return this.stackCtrl.getRootUrl(M)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(M,J){const ye=new yn.gz;return ye._futureSnapshot=J._futureSnapshot,ye._routerState=J._routerState,ye.snapshot=J.snapshot,ye.outlet=J.outlet,ye.component=J.component,ye._paramMap=this.proxyObservable(M,"paramMap"),ye._queryParamMap=this.proxyObservable(M,"queryParamMap"),ye.url=this.proxyObservable(M,"url"),ye.params=this.proxyObservable(M,"params"),ye.queryParams=this.proxyObservable(M,"queryParams"),ye.fragment=this.proxyObservable(M,"fragment"),ye.data=this.proxyObservable(M,"data"),ye}proxyObservable(M,J){return M.pipe((0,$e.h)(ye=>!!ye),(0,me.w)(ye=>this.currentActivatedRoute$.pipe((0,$e.h)(tt=>null!==tt&&tt.component===ye),(0,me.w)(tt=>tt&&tt.activatedRoute[J]),(0,Me.x)())))}updateActivatedRouteProxy(M,J){const ye=this.proxyMap.get(M);if(!ye)throw new Error("Could not find activated route proxy for view");ye._futureSnapshot=J._futureSnapshot,ye._routerState=J._routerState,ye.snapshot=J.snapshot,ye.outlet=J.outlet,ye.component=J.component,this.currentActivatedRoute$.next({component:M,activatedRoute:J})}}return F.\u0275fac=function(M){return new(M||F)(w.$8M("name"),w.$8M("tabs"),w.Y36(Kn.Ye),w.Y36(w.SBq),w.Y36(yn.F0),w.Y36(w.R0b),w.Y36(yn.gz),w.Y36(F,12))},F.\u0275dir=w.lG2({type:F,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"]}),F})();class vr{constructor(W,M,J){this.route=W,this.childContexts=M,this.parent=J}get(W,M){return W===yn.gz?this.route:W===yn.y6?this.childContexts:this.parent.get(W,M)}}const fo=new w.OlP("");let io=(()=>{class F{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(M){this.unsubscribeFromRouteData(M),this.subscribeToRouteData(M)}unsubscribeFromRouteData(M){this.outletDataSubscriptions.get(M)?.unsubscribe(),this.outletDataSubscriptions.delete(M)}subscribeToRouteData(M){const{activatedRoute:J}=M,ye=(0,Zn.a)([J.queryParams,J.params,J.data]).pipe((0,me.w)(([tt,Ct,vt],It)=>(vt={...tt,...Ct,...vt},0===It?(0,Er.of)(vt):Promise.resolve(vt)))).subscribe(tt=>{if(!M.isActivated||!M.activatedComponentRef||M.activatedRoute!==J||null===J.component)return void this.unsubscribeFromRouteData(M);const Ct=(0,w.qFp)(J.component);if(Ct)for(const{templateName:vt}of Ct.inputs)M.activatedComponentRef.setInput(vt,tt[vt]);else this.unsubscribeFromRouteData(M)});this.outletDataSubscriptions.set(M,ye)}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac}),F})();const rn=()=>({provide:fo,useFactory:Sn,deps:[yn.F0]});function Sn(F){return F?.componentInputBindingEnabled?new io:null}const Hn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let Hr=(()=>{let F=class{constructor(M,J,ye,tt,Ct,vt){this.routerOutlet=M,this.navCtrl=J,this.config=ye,this.r=tt,this.z=Ct,vt.detach(),this.el=this.r.nativeElement}onClick(M){const J=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet?.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),M.preventDefault()):null!=J&&(this.navCtrl.navigateBack(J,{animation:this.routerAnimation}),M.preventDefault())}};return F.\u0275fac=function(M){return new(M||F)(w.Y36(wo,8),w.Y36(pn),w.Y36(ar),w.Y36(w.SBq),w.Y36(w.R0b),w.Y36(w.sBO))},F.\u0275dir=w.lG2({type:F,hostBindings:function(M,J){1&M&&w.NdJ("click",function(tt){return J.onClick(tt)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),F=(0,Ke.gn)([te({inputs:Hn})],F),F})(),cr=(()=>{class F{constructor(M,J,ye,tt,Ct){this.locationStrategy=M,this.navCtrl=J,this.elementRef=ye,this.router=tt,this.routerLink=Ct,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const M=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=M}}onClick(M){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),M.preventDefault()}}return F.\u0275fac=function(M){return new(M||F)(w.Y36(Kn.S$),w.Y36(pn),w.Y36(w.SBq),w.Y36(yn.F0),w.Y36(yn.rH,8))},F.\u0275dir=w.lG2({type:F,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(M,J){1&M&&w.NdJ("click",function(tt){return J.onClick(tt)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[w.TTD]}),F})(),Io=(()=>{class F{constructor(M,J,ye,tt,Ct){this.locationStrategy=M,this.navCtrl=J,this.elementRef=ye,this.router=tt,this.routerLink=Ct,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const M=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=M}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}}return F.\u0275fac=function(M){return new(M||F)(w.Y36(Kn.S$),w.Y36(pn),w.Y36(w.SBq),w.Y36(yn.F0),w.Y36(yn.rH,8))},F.\u0275dir=w.lG2({type:F,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(M,J){1&M&&w.NdJ("click",function(){return J.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[w.TTD]}),F})();const Rr=["animated","animation","root","rootParams","swipeGesture"],so=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let ao=(()=>{let F=class{constructor(M,J,ye,tt,Ct,vt){this.z=Ct,vt.detach(),this.el=M.nativeElement,M.nativeElement.delegate=tt.create(J,ye),L(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return F.\u0275fac=function(M){return new(M||F)(w.Y36(w.SBq),w.Y36(w.lqb),w.Y36(w.zs3),w.Y36(Re),w.Y36(w.R0b),w.Y36(w.sBO))},F.\u0275dir=w.lG2({type:F,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),F=(0,Ke.gn)([te({inputs:Rr,methods:so})],F),F})(),qr=(()=>{class F{constructor(M){this.navCtrl=M,this.ionTabsWillChange=new w.vpe,this.ionTabsDidChange=new w.vpe,this.tabBarSlot="bottom"}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:M,tabSwitch:J}){const ye=M.stackId;J&&void 0!==ye&&this.ionTabsWillChange.emit({tab:ye})}onStackDidChange({enteringView:M,tabSwitch:J}){const ye=M.stackId;J&&void 0!==ye&&(this.tabBar&&(this.tabBar.selectedTab=ye),this.ionTabsDidChange.emit({tab:ye}))}select(M){const J="string"==typeof M,ye=J?M:M.detail.tab,tt=this.outlet.getActiveStackId()===ye,Ct=`${this.outlet.tabsPrefix}/${ye}`;if(J||M.stopPropagation(),tt){const vt=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(vt)?.url===Ct)return;const Yt=this.outlet.getRootView(ye);return this.navCtrl.navigateRoot(Ct,{...Yt&&Ct===Yt.url&&Yt.savedExtras,animated:!0,animationDirection:"back"})}{const vt=this.outlet.getLastRouteView(ye),It=vt?.url||Ct,Yt=vt?.savedExtras;return this.navCtrl.navigateRoot(It,{...Yt,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(M=>{const J=M.el.getAttribute("slot");J!==this.tabBarSlot&&(this.tabBarSlot=J,this.relocateTabBar())})}relocateTabBar(){const M=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(M):this.tabsInner.nativeElement.after(M)}}return F.\u0275fac=function(M){return new(M||F)(w.Y36(pn))},F.\u0275dir=w.lG2({type:F,selectors:[["ion-tabs"]],viewQuery:function(M,J){if(1&M&&w.Gf(Et,7,w.SBq),2&M){let ye;w.iGM(ye=w.CRH())&&(J.tabsInner=ye.first)}},hostBindings:function(M,J){1&M&&w.NdJ("ionTabButtonClick",function(tt){return J.select(tt)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),F})();const On=F=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(F):"function"==typeof requestAnimationFrame?requestAnimationFrame(F):setTimeout(F);let wt=(()=>{class F{constructor(M,J){this.injector=M,this.elementRef=J,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(M){this.elementRef.nativeElement.value=this.lastValue=M,zt(this.elementRef)}handleValueChange(M,J){M===this.elementRef.nativeElement&&(J!==this.lastValue&&(this.lastValue=J,this.onChange(J)),zt(this.elementRef))}_handleBlurEvent(M){M===this.elementRef.nativeElement&&(this.onTouched(),zt(this.elementRef))}registerOnChange(M){this.onChange=M}registerOnTouched(M){this.onTouched=M}setDisabledState(M){this.elementRef.nativeElement.disabled=M}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let M;try{M=this.injector.get(Je.a5)}catch{}if(!M)return;M.statusChanges&&(this.statusChanges=M.statusChanges.subscribe(()=>zt(this.elementRef)));const J=M.control;J&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(tt=>{if(typeof J[tt]<"u"){const Ct=J[tt].bind(J);J[tt]=(...vt)=>{Ct(...vt),zt(this.elementRef)}}})}}return F.\u0275fac=function(M){return new(M||F)(w.Y36(w.zs3),w.Y36(w.SBq))},F.\u0275dir=w.lG2({type:F,hostBindings:function(M,J){1&M&&w.NdJ("ionBlur",function(tt){return J._handleBlurEvent(tt.target)})}}),F})();const zt=F=>{On(()=>{const W=F.nativeElement,M=null!=W.value&&W.value.toString().length>0,J=En(W);fr(W,J);const ye=W.closest("ion-item");ye&&fr(ye,M?[...J,"item-has-value"]:J)})},En=F=>{const W=F.classList,M=[];for(let J=0;J{const M=F.classList;M.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),M.add(...W)},Ur=(F,W)=>F.substring(0,W.length)===W;class ur{shouldDetach(W){return!1}shouldAttach(W){return!1}store(W,M){}retrieve(W){return null}shouldReuseRoute(W,M){if(W.routeConfig!==M.routeConfig)return!1;const J=W.params,ye=M.params,tt=Object.keys(J),Ct=Object.keys(ye);if(tt.length!==Ct.length)return!1;for(const vt of tt)if(ye[vt]!==J[vt])return!1;return!0}}},3582:(ct,je,b)=>{"use strict";b.d(je,{dr:()=>ft,BJ:()=>bt,oU:()=>ar,yp:()=>Ze,YG:()=>Ue,Sm:()=>ut,PM:()=>pt,wI:()=>Kt,W2:()=>Nt,fr:()=>Xt,jY:()=>Wt,Gu:()=>Gt,gu:()=>Pn,pK:()=>Bt,Ie:()=>Wn,rH:()=>In,u8:()=>yn,IK:()=>Kn,td:()=>bn,Q$:()=>gr,q_:()=>qn,Uj:()=>Se,z0:()=>Ke,zc:()=>me,yf:()=>oe,ki:()=>Mn,uN:()=>Je,B7:()=>en,se:()=>Jt,jP:()=>nr,Nd:()=>Qe,VI:()=>it,t9:()=>sn,n0:()=>xt,PQ:()=>kn,jI:()=>ln,g2:()=>_t,wd:()=>Jn,sr:()=>Nn,Pc:()=>nt,as:()=>he,U5:()=>De,QI:()=>Fe,j9:()=>qe});var o=b(2029),w=b(95),ee=b(4414),ae=b(7582),R=b(2438),O=b(6814),_=b(335),S=(b(6410),b(2036),b(5944),b(7561),b(9203),b(3395)),z=b(3365),ne=(b(837),b(3645),b(9938),b(8411));b(619);const _e=S.i,we=["*"];function se(u,j){if(1&u&&(o.TgZ(0,"div",1),o.GkF(1,2),o.qZA()),2&u){const m=o.oxw();o.xp6(1),o.Q6J("ngTemplateOutlet",m.template)}}let he=(()=>{class u extends ee.bk{constructor(m,X){super(m,X)}handleInputEvent(m){this.handleValueChange(m,m.value)}registerOnChange(m){super.registerOnChange(X=>{m(""===X?null:parseFloat(X))})}}return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.zs3),o.Y36(o.SBq))},u.\u0275dir=o.lG2({type:u,selectors:[["ion-input","type","number"]],hostBindings:function(m,X){1&m&&o.NdJ("ionInput",function(Ft){return X.handleInputEvent(Ft.target)})},features:[o._Bn([{provide:w.JU,useExisting:u,multi:!0}]),o.qOj]}),u})(),De=(()=>{class u extends ee.bk{constructor(m,X){super(m,X)}_handleIonSelect(m){this.handleValueChange(m,m.checked)}}return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.zs3),o.Y36(o.SBq))},u.\u0275dir=o.lG2({type:u,selectors:[["ion-radio"]],hostBindings:function(m,X){1&m&&o.NdJ("ionSelect",function(Ft){return X._handleIonSelect(Ft.target)})},features:[o._Bn([{provide:w.JU,useExisting:u,multi:!0}]),o.qOj]}),u})(),Fe=(()=>{class u extends ee.bk{constructor(m,X){super(m,X)}_handleChangeEvent(m){this.handleValueChange(m,m.value)}}return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.zs3),o.Y36(o.SBq))},u.\u0275dir=o.lG2({type:u,selectors:[["ion-range"],["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(m,X){1&m&&o.NdJ("ionChange",function(Ft){return X._handleChangeEvent(Ft.target)})},features:[o._Bn([{provide:w.JU,useExisting:u,multi:!0}]),o.qOj]}),u})(),qe=(()=>{class u extends ee.bk{constructor(m,X){super(m,X)}_handleInputEvent(m){this.handleValueChange(m,m.value)}}return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.zs3),o.Y36(o.SBq))},u.\u0275dir=o.lG2({type:u,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"]],hostBindings:function(m,X){1&m&&o.NdJ("ionInput",function(Ft){return X._handleInputEvent(Ft.target)})},features:[o._Bn([{provide:w.JU,useExisting:u,multi:!0}]),o.qOj]}),u})();const Le=(u,j)=>{const m=u.prototype;j.forEach(X=>{Object.defineProperty(m,X,{get(){return this.el[X]},set(Ae){this.z.runOutsideAngular(()=>this.el[X]=Ae)},configurable:!0})})},Z=(u,j)=>{const m=u.prototype;j.forEach(X=>{m[X]=function(){const Ae=arguments;return this.z.runOutsideAngular(()=>this.el[X].apply(this.el,Ae))}})},Y=(u,j,m)=>{m.forEach(X=>u[X]=(0,R.R)(j,X))};function ie(u){return function(m){const{defineCustomElementFn:X,inputs:Ae,methods:Ft}=u;return void 0!==X&&X(),Ae&&Le(m,Ae),Ft&&Z(m,Ft),m}}let ft=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-app"]],ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({})],u),u})(),bt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-avatar"]],ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({})],u),u})(),Ze=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","mode"]})],u),u})(),Ue=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionFocus","ionBlur"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,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:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],u),u})(),ut=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["collapse"]})],u),u})(),pt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,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:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],u),u})(),Kt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,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",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({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"]})],u),u})(),Nt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],u),u})(),Xt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["collapse","mode","translucent"]})],u),u})(),Wt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["fixed"]})],u),u})(),Gt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["collapse","mode","translucent"]})],u),u})(),Pn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,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:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],u),u})(),Bt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",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",legacy:"legacy",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],u),u})(),Wn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],u),u})(),In=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","mode","sticky"]})],u),u})(),yn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],u),u})(),Kn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionSwipe"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["side"]})],u),u})(),bn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionDrag"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],u),u})(),gr=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","mode","position"]})],u),u})(),qn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],u),u})(),Ke=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],u),u})(),me=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["autoHide","menu"]})],u),u})(),Je=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","mode"]})],u),u})(),en=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionFocus","ionBlur"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["alignment","color","disabled","justify","labelPlacement","legacy","mode","name","value"]})],u),u})(),Jt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionChange"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",name:"name",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["allowEmptySelection","name","value"]})],u),u})(),Qe=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-row"]],ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({})],u),u})(),it=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",mode:"mode",name:"name",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","mode","name","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],u),u})(),sn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",color:"color",compareWith:"compareWith",disabled:"disabled",expandedIcon:"expandedIcon",fill:"fill",interface:"interface",interfaceOptions:"interfaceOptions",justify:"justify",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",shape:"shape",toggleIcon:"toggleIcon",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["cancelText","color","compareWith","disabled","expandedIcon","fill","interface","interfaceOptions","justify","label","labelPlacement","legacy","mode","multiple","name","okText","placeholder","selectedText","shape","toggleIcon","value"],methods:["open"]})],u),u})(),xt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["disabled","value"]})],u),u})(),kn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","duration","name","paused"]})],u),u})(),ln=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionSplitPaneVisible"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["contentId","disabled","when"]})],u),u})(),_t=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,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",legacy:"legacy",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:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","maxlength","minlength","mode","name","placeholder","readonly","required","rows","shape","spellcheck","value","wrap"],methods:["setFocus","getInputElement"]})],u),u})(),Jn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","size"]})],u),u})(),Nn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","mode"]})],u),u})(),nr=(()=>{class u extends ee.jP{constructor(m,X,Ae,Ft,Bn,ir,jn,Sr){super(m,X,Ae,Ft,Bn,ir,jn,Sr),this.parentOutlet=Sr}}return u.\u0275fac=function(m){return new(m||u)(o.$8M("name"),o.$8M("tabs"),o.Y36(O.Ye),o.Y36(o.SBq),o.Y36(_.F0),o.Y36(o.R0b),o.Y36(_.gz),o.Y36(u,12))},u.\u0275dir=o.lG2({type:u,selectors:[["ion-router-outlet"]],features:[o.qOj]}),u})(),ar=(()=>{class u extends ee.oU{constructor(m,X,Ae,Ft,Bn,ir){super(m,X,Ae,Ft,Bn,ir)}}return u.\u0275fac=function(m){return new(m||u)(o.Y36(nr,8),o.Y36(ee.SH),o.Y36(ee.De),o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(o.sBO))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-back-button"]],features:[o.qOj],ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u})(),Mn=(()=>{class u extends ee.ki{}return u.\u0275fac=function(){let j;return function(X){return(j||(j=o.n5z(u)))(X||u)}}(),u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-modal"]],features:[o.qOj],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(m,X){1&m&&o.YNc(0,se,2,1,"div",0),2&m&&o.Q6J("ngIf",X.isCmpOpen||X.keepContentsMounted)},dependencies:[O.O5,O.tP],encapsulation:2,changeDetection:0}),u})();const te={provide:w.Cf,useExisting:(0,o.Gpc)(()=>Se),multi:!0};let Se=(()=>{class u extends w.Fd{}return u.\u0275fac=function(){let j;return function(X){return(j||(j=o.n5z(u)))(X||u)}}(),u.\u0275dir=o.lG2({type:u,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(m,X){2&m&&o.uIk("max",X._enabled?X.max:null)},features:[o._Bn([te]),o.qOj]}),u})();const Te={provide:w.Cf,useExisting:(0,o.Gpc)(()=>oe),multi:!0};let oe=(()=>{class u extends w.qQ{}return u.\u0275fac=function(){let j;return function(X){return(j||(j=o.n5z(u)))(X||u)}}(),u.\u0275dir=o.lG2({type:u,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(m,X){2&m&&o.uIk("min",X._enabled?X.min:null)},features:[o._Bn([Te]),o.qOj]}),u})();const Pe=(u,j,m)=>()=>{if(j.defaultView&&typeof window<"u"){(0,z.s)({...u,_zoneGate:Ft=>m.run(Ft)});const Ae="__zone_symbol__addEventListener"in j.body?"__zone_symbol__addEventListener":"addEventListener";return function ue(){var u=[];if(typeof window<"u"){var j=window;(!j.customElements||j.Element&&(!j.Element.prototype.closest||!j.Element.prototype.matches||!j.Element.prototype.remove||!j.Element.prototype.getRootNode))&&u.push(b.e(6748).then(b.t.bind(b,3342,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||j.NodeList&&!j.NodeList.prototype.forEach||!j.fetch||!function(){try{var X=new URL("b","http://a");return X.pathname="c%20d","http://a/c%20d"===X.href&&X.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&u.push(b.e(2214).then(b.t.bind(b,2668,23)))}return Promise.all(u)}().then(()=>((u,j)=>{if(!(typeof window>"u"))return _e(),(0,ne.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"],[0,"keydown","onKeydown"]],{"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-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],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"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]},[[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],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"placeholder":["placeholderChanged"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"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],"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,{"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"],"legacy":[4],"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]},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"],"legacy":[4],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"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]},[[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"],"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"],"legacy":[4],"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]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionInput","handleIonInput"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"counterFormatter":["counterFormatterChanged"]}],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[33,"ion-note",{"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"],"legacy":[4],"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-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"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":[1],"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,{"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker",{"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-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"],"checked":["styleChanged"],"color":["styleChanged"],"disabled":["styleChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"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]},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],"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"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]},null,{"value":["valueChange"]}]]],["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"],"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],"legacy":[4]},null,{"checked":["styleChanged"],"disabled":["styleChanged"]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]]]'),j)})(0,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:ee.Wn,jmp:Ft=>m.runOutsideAngular(Ft),ael(Ft,Bn,ir,jn){Ft[Ae](Bn,ir,jn)},rel(Ft,Bn,ir,jn){Ft.removeEventListener(Bn,ir,jn)}}))}};let nt=(()=>{class u{static forRoot(m){return{ngModule:u,providers:[{provide:ee.dy,useValue:m},{provide:o.ip1,useFactory:Pe,multi:!0,deps:[ee.dy,O.K0,o.R0b]},(0,ee.DN)()]}}}return u.\u0275fac=function(m){return new(m||u)},u.\u0275mod=o.oAB({type:u}),u.\u0275inj=o.cJS({providers:[ee.y4,ee.IN,ee.Dh],imports:[O.ez]}),u})()},5861:(ct,je,b)=>{"use strict";function o(ee,ae,R,O,_,q,I){try{var B=ee[q](I),V=B.value}catch(Q){return void R(Q)}B.done?ae(V):Promise.resolve(V).then(O,_)}function w(ee){return function(){var ae=this,R=arguments;return new Promise(function(O,_){var q=ee.apply(ae,R);function I(V){o(q,O,_,I,B,"next",V)}function B(V){o(q,O,_,I,B,"throw",V)}I(void 0)})}}b.d(je,{Z:()=>w})},7582:(ct,je,b)=>{"use strict";function R(Z,Y,fe,ie){var at,Ve=arguments.length,ke=Ve<3?Y:null===ie?ie=Object.getOwnPropertyDescriptor(Y,fe):ie;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ke=Reflect.decorate(Z,Y,fe,ie);else for(var yt=Z.length-1;yt>=0;yt--)(at=Z[yt])&&(ke=(Ve<3?at(ke):Ve>3?at(Y,fe,ke):at(Y,fe))||ke);return Ve>3&&ke&&Object.defineProperty(Y,fe,ke),ke}function Q(Z,Y,fe,ie){return new(fe||(fe=Promise))(function(ke,at){function yt(Ot){try{bt(ie.next(Ot))}catch(Ze){at(Ze)}}function ft(Ot){try{bt(ie.throw(Ot))}catch(Ze){at(Ze)}}function bt(Ot){Ot.done?ke(Ot.value):function Ve(ke){return ke instanceof fe?ke:new fe(function(at){at(ke)})}(Ot.value).then(yt,ft)}bt((ie=ie.apply(Z,Y||[])).next())})}function ue(Z){return this instanceof ue?(this.v=Z,this):new ue(Z)}function _e(Z,Y,fe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ve,ie=fe.apply(Z,Y||[]),ke=[];return Ve={},at("next"),at("throw"),at("return"),Ve[Symbol.asyncIterator]=function(){return this},Ve;function at(Oe){ie[Oe]&&(Ve[Oe]=function(Xe){return new Promise(function(Ue,ut){ke.push([Oe,Xe,Ue,ut])>1||yt(Oe,Xe)})})}function yt(Oe,Xe){try{!function ft(Oe){Oe.value instanceof ue?Promise.resolve(Oe.value.v).then(bt,Ot):Ze(ke[0][2],Oe)}(ie[Oe](Xe))}catch(Ue){Ze(ke[0][3],Ue)}}function bt(Oe){yt("next",Oe)}function Ot(Oe){yt("throw",Oe)}function Ze(Oe,Xe){Oe(Xe),ke.shift(),ke.length&&yt(ke[0][0],ke[0][1])}}function we(Z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var fe,Y=Z[Symbol.asyncIterator];return Y?Y.call(Z):(Z=function k(Z){var Y="function"==typeof Symbol&&Symbol.iterator,fe=Y&&Z[Y],ie=0;if(fe)return fe.call(Z);if(Z&&"number"==typeof Z.length)return{next:function(){return Z&&ie>=Z.length&&(Z=void 0),{value:Z&&Z[ie++],done:!Z}}};throw new TypeError(Y?"Object is not iterable.":"Symbol.iterator is not defined.")}(Z),fe={},ie("next"),ie("throw"),ie("return"),fe[Symbol.asyncIterator]=function(){return this},fe);function ie(ke){fe[ke]=Z[ke]&&function(at){return new Promise(function(yt,ft){!function Ve(ke,at,yt,ft){Promise.resolve(ft).then(function(bt){ke({value:bt,done:yt})},at)}(yt,ft,(at=Z[ke](at)).done,at.value)})}}}b.d(je,{FC:()=>_e,KL:()=>we,gn:()=>R,mG:()=>Q,qq:()=>ue}),"function"==typeof SuppressedError&&SuppressedError}},ct=>{ct(ct.s=7154)}]); \ No newline at end of file diff --git a/src/main/resources/app/main.90253aff127136dc.js b/src/main/resources/app/main.90253aff127136dc.js deleted file mode 100644 index f9bb0c8b..00000000 --- a/src/main/resources/app/main.90253aff127136dc.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{2726:(ct,je,b)=>{"use strict";b.d(je,{Uw:()=>P,dV:()=>S,fo:()=>z});var o=b(5861);typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"&&global;var q=function(de){return de.Unimplemented="UNIMPLEMENTED",de.Unavailable="UNAVAILABLE",de}(q||{});class I extends Error{constructor(H,he,De){super(H),this.message=H,this.code=he,this.data=De}}const V=de=>{var H,he,De,Fe,qe;const Le=de.CapacitorCustomPlatform||null,Z=de.Capacitor||{},Y=Z.Plugins=Z.Plugins||{},fe=de.CapacitorPlatforms,Ve=(null===(H=fe?.currentPlatform)||void 0===H?void 0:H.getPlatform)||(()=>null!==Le?Le.name:(de=>{var H,he;return de?.androidBridge?"android":null!==(he=null===(H=de?.webkit)||void 0===H?void 0:H.messageHandlers)&&void 0!==he&&he.bridge?"ios":"web"})(de)),at=(null===(he=fe?.currentPlatform)||void 0===he?void 0:he.isNativePlatform)||(()=>"web"!==Ve()),ft=(null===(De=fe?.currentPlatform)||void 0===De?void 0:De.isPluginAvailable)||(pt=>{const mt=Xe.get(pt);return!(!mt?.platforms.has(Ve())&&!Ot(pt))}),Ot=(null===(Fe=fe?.currentPlatform)||void 0===Fe?void 0:Fe.getPluginHeader)||(pt=>{var mt;return null===(mt=Z.PluginHeaders)||void 0===mt?void 0:mt.find(Vt=>Vt.name===pt)}),Xe=new Map,ut=(null===(qe=fe?.currentPlatform)||void 0===qe?void 0:qe.registerPlugin)||((pt,mt={})=>{const Vt=Xe.get(pt);if(Vt)return console.warn(`Capacitor plugin "${pt}" already registered. Cannot register plugins twice.`),Vt.proxy;const At=Ve(),Lt=Ot(pt);let $t;const wn=function(){var Zt=(0,o.Z)(function*(){return!$t&&At in mt?$t=$t="function"==typeof mt[At]?yield mt[At]():mt[At]:null!==Le&&!$t&&"web"in mt&&($t=$t="function"==typeof mt.web?yield mt.web():mt.web),$t});return function(){return Zt.apply(this,arguments)}}(),Nt=Zt=>{let Xt;const Wt=(...Gt)=>{const Pn=wn().then(dt=>{const Cn=((Zt,Xt)=>{var Wt,Gt;if(!Lt){if(Zt)return null===(Gt=Zt[Xt])||void 0===Gt?void 0:Gt.bind(Zt);throw new I(`"${pt}" plugin is not implemented on ${At}`,q.Unimplemented)}{const Pn=Lt?.methods.find(dt=>Xt===dt.name);if(Pn)return"promise"===Pn.rtype?dt=>Z.nativePromise(pt,Xt.toString(),dt):(dt,Cn)=>Z.nativeCallback(pt,Xt.toString(),dt,Cn);if(Zt)return null===(Wt=Zt[Xt])||void 0===Wt?void 0:Wt.bind(Zt)}})(dt,Zt);if(Cn){const or=Cn(...Gt);return Xt=or?.remove,or}throw new I(`"${pt}.${Zt}()" is not implemented on ${At}`,q.Unimplemented)});return"addListener"===Zt&&(Pn.remove=(0,o.Z)(function*(){return Xt()})),Pn};return Wt.toString=()=>`${Zt.toString()}() { [capacitor code] }`,Object.defineProperty(Wt,"name",{value:Zt,writable:!1,configurable:!1}),Wt},jt=Nt("addListener"),Vn=Nt("removeListener"),Yn=(Zt,Xt)=>{const Wt=jt({eventName:Zt},Xt),Gt=function(){var dt=(0,o.Z)(function*(){const Cn=yield Wt;Vn({eventName:Zt,callbackId:Cn},Xt)});return function(){return dt.apply(this,arguments)}}(),Pn=new Promise(dt=>Wt.then(()=>dt({remove:Gt})));return Pn.remove=(0,o.Z)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield Gt()}),Pn},Rt=new Proxy({},{get(Zt,Xt){switch(Xt){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return Lt?Yn:jt;case"removeListener":return Vn;default:return Nt(Xt)}}});return Y[pt]=Rt,Xe.set(pt,{name:pt,proxy:Rt,platforms:new Set([...Object.keys(mt),...Lt?[At]:[]])}),Rt});return Z.convertFileSrc||(Z.convertFileSrc=pt=>pt),Z.getPlatform=Ve,Z.handleError=pt=>de.console.error(pt),Z.isNativePlatform=at,Z.isPluginAvailable=ft,Z.pluginMethodNoop=(pt,mt,Vt)=>Promise.reject(`${Vt} does not have an implementation of "${mt}".`),Z.registerPlugin=ut,Z.Exception=I,Z.DEBUG=!!Z.DEBUG,Z.isLoggingEnabled=!!Z.isLoggingEnabled,Z.platform=Z.getPlatform(),Z.isNative=Z.isNativePlatform(),Z},S=(de=>de.Capacitor=V(de))(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),z=S.registerPlugin;class P{constructor(H){this.listeners={},this.windowListeners={},H&&(console.warn(`Capacitor WebPlugin "${H.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=H)}addListener(H,he){var De=this;this.listeners[H]||(this.listeners[H]=[]),this.listeners[H].push(he);const qe=this.windowListeners[H];qe&&!qe.registered&&this.addWindowListener(qe);const Le=function(){var Y=(0,o.Z)(function*(){return De.removeListener(H,he)});return function(){return Y.apply(this,arguments)}}(),Z=Promise.resolve({remove:Le});return Object.defineProperty(Z,"remove",{value:(Y=(0,o.Z)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield Le()}),function(){return Y.apply(this,arguments)})}),Z;var Y}removeAllListeners(){var H=this;return(0,o.Z)(function*(){H.listeners={};for(const he in H.windowListeners)H.removeWindowListener(H.windowListeners[he]);H.windowListeners={}})()}notifyListeners(H,he){const De=this.listeners[H];De&&De.forEach(Fe=>Fe(he))}hasListeners(H){return!!this.listeners[H].length}registerWindowListener(H,he){this.windowListeners[he]={registered:!1,windowEventName:H,pluginEventName:he,handler:De=>{this.notifyListeners(he,De)}}}unimplemented(H="not implemented"){return new S.Exception(H,q.Unimplemented)}unavailable(H="not available"){return new S.Exception(H,q.Unavailable)}removeListener(H,he){var De=this;return(0,o.Z)(function*(){const Fe=De.listeners[H];if(!Fe)return;const qe=Fe.indexOf(he);De.listeners[H].splice(qe,1),De.listeners[H].length||De.removeWindowListener(De.windowListeners[H])})()}addWindowListener(H){window.addEventListener(H.windowEventName,H.handler),H.registered=!0}removeWindowListener(H){H&&(window.removeEventListener(H.windowEventName,H.handler),H.registered=!1)}}const ce=de=>encodeURIComponent(de).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),Ne=de=>de.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class ue extends P{getCookies(){return(0,o.Z)(function*(){const H=document.cookie,he={};return H.split(";").forEach(De=>{if(De.length<=0)return;let[Fe,qe]=De.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");Fe=Ne(Fe).trim(),qe=Ne(qe).trim(),he[Fe]=qe}),he})()}setCookie(H){return(0,o.Z)(function*(){try{const he=ce(H.key),De=ce(H.value),Fe=`; expires=${(H.expires||"").replace("expires=","")}`,qe=(H.path||"/").replace("path=",""),Le=null!=H.url&&H.url.length>0?`domain=${H.url}`:"";document.cookie=`${he}=${De||""}${Fe}; path=${qe}; ${Le};`}catch(he){return Promise.reject(he)}})()}deleteCookie(H){return(0,o.Z)(function*(){try{document.cookie=`${H.key}=; Max-Age=0`}catch(he){return Promise.reject(he)}})()}clearCookies(){return(0,o.Z)(function*(){try{const H=document.cookie.split(";")||[];for(const he of H)document.cookie=he.replace(/^ +/,"").replace(/=.*/,`=;expires=${(new Date).toUTCString()};path=/`)}catch(H){return Promise.reject(H)}})()}clearAllCookies(){var H=this;return(0,o.Z)(function*(){try{yield H.clearCookies()}catch(he){return Promise.reject(he)}})()}}z("CapacitorCookies",{web:()=>new ue});const Be=function(){var de=(0,o.Z)(function*(H){return new Promise((he,De)=>{const Fe=new FileReader;Fe.onload=()=>{const qe=Fe.result;he(qe.indexOf(",")>=0?qe.split(",")[1]:qe)},Fe.onerror=qe=>De(qe),Fe.readAsDataURL(H)})});return function(he){return de.apply(this,arguments)}}();class ge extends P{request(H){return(0,o.Z)(function*(){const he=((de,H={})=>{const he=Object.assign({method:de.method||"GET",headers:de.headers},H),Fe=((de={})=>{const H=Object.keys(de);return Object.keys(de).map(Fe=>Fe.toLocaleLowerCase()).reduce((Fe,qe,Le)=>(Fe[qe]=de[H[Le]],Fe),{})})(de.headers)["content-type"]||"";if("string"==typeof de.data)he.body=de.data;else if(Fe.includes("application/x-www-form-urlencoded")){const qe=new URLSearchParams;for(const[Le,Z]of Object.entries(de.data||{}))qe.set(Le,Z);he.body=qe.toString()}else if(Fe.includes("multipart/form-data")){const qe=new FormData;if(de.data instanceof FormData)de.data.forEach((Z,Y)=>{qe.append(Y,Z)});else for(const Z of Object.keys(de.data))qe.append(Z,de.data[Z]);he.body=qe;const Le=new Headers(he.headers);Le.delete("content-type"),he.headers=Le}else(Fe.includes("application/json")||"object"==typeof de.data)&&(he.body=JSON.stringify(de.data));return he})(H,H.webFetchExtra),De=((de,H=!0)=>de?Object.entries(de).reduce((De,Fe)=>{const[qe,Le]=Fe;let Z,Y;return Array.isArray(Le)?(Y="",Le.forEach(fe=>{Z=H?encodeURIComponent(fe):fe,Y+=`${qe}=${Z}&`}),Y.slice(0,-1)):(Z=H?encodeURIComponent(Le):Le,Y=`${qe}=${Z}`),`${De}&${Y}`},"").substr(1):null)(H.params,H.shouldEncodeUrlParams),Fe=De?`${H.url}?${De}`:H.url,qe=yield fetch(Fe,he),Le=qe.headers.get("content-type")||"";let Y,fe,{responseType:Z="text"}=qe.ok?H:{};switch(Le.includes("application/json")&&(Z="json"),Z){case"arraybuffer":case"blob":fe=yield qe.blob(),Y=yield Be(fe);break;case"json":Y=yield qe.json();break;default:Y=yield qe.text()}const ie={};return qe.headers.forEach((Ve,ke)=>{ie[ke]=Ve}),{data:Y,headers:ie,status:qe.status,url:qe.url}})()}get(H){var he=this;return(0,o.Z)(function*(){return he.request(Object.assign(Object.assign({},H),{method:"GET"}))})()}post(H){var he=this;return(0,o.Z)(function*(){return he.request(Object.assign(Object.assign({},H),{method:"POST"}))})()}put(H){var he=this;return(0,o.Z)(function*(){return he.request(Object.assign(Object.assign({},H),{method:"PUT"}))})()}patch(H){var he=this;return(0,o.Z)(function*(){return he.request(Object.assign(Object.assign({},H),{method:"PATCH"}))})()}delete(H){var he=this;return(0,o.Z)(function*(){return he.request(Object.assign(Object.assign({},H),{method:"DELETE"}))})()}}z("CapacitorHttp",{web:()=>new ge})},3630:(ct,je,b)=>{"use strict";b.d(je,{c:()=>ee,r:()=>V});const ee=(re,U)=>{re.componentOnReady?re.componentOnReady().then(ge=>U(ge)):V(()=>U(re))},V=re=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(re):"function"==typeof requestAnimationFrame?requestAnimationFrame(re):setTimeout(re)},191:(ct,je,b)=>{"use strict";b.d(je,{L:()=>o,a:()=>w,b:()=>ee,c:()=>ae,d:()=>R,g:()=>re});const o="ionViewWillEnter",w="ionViewDidEnter",ee="ionViewWillLeave",ae="ionViewDidLeave",R="ionViewWillUnload",re=U=>U.classList.contains("ion-page")?U:U.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||U},6410:(ct,je,b)=>{"use strict";b.d(je,{c:()=>k});var o=b(9938),w=b(839);let ee;const R=P=>P.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),O=P=>(void 0===ee&&(ee=void 0===P.style.animationName&&void 0!==P.style.webkitAnimationName?"-webkit-":""),ee),_=(P,ne,ce)=>{const Ne=ne.startsWith("animation")?O(P):"";P.style.setProperty(Ne+ne,ce)},q=(P,ne)=>{const ce=ne.startsWith("animation")?O(P):"";P.style.removeProperty(ce+ne)},V=[],D=(P=[],ne)=>{if(void 0!==ne){const ce=Array.isArray(ne)?ne:[ne];return[...P,...ce]}return P},k=P=>{let ne,ce,Ne,ue,_e,Be,se,Z,Y,fe,ie,yt,ft,we=[],re=[],U=[],ge=!1,de={},H=[],he=[],De={},Fe=0,qe=!1,Le=!1,Ve=!0,ke=!1,at=!0,bt=!1;const Ot=P,Ze=[],Oe=[],Xe=[],Ue=[],ut=[],pt=[],mt=[],Vt=[],At=[],Lt=[],$t=[],wn="function"==typeof AnimationEffect||void 0!==o.w&&"function"==typeof o.w.AnimationEffect,Kt="function"==typeof Element&&"function"==typeof Element.prototype.animate&&wn,jt=()=>$t,Xt=(oe,Ee)=>{const Pe=Ee.findIndex(et=>et.c===oe);Pe>-1&&Ee.splice(Pe,1)},Gt=(oe,Ee)=>((Ee?.oneTimeCallback?Oe:Ze).push({c:oe,o:Ee}),ft),dt=()=>{if(Kt)$t.forEach(oe=>{oe.cancel()}),$t.length=0;else{const oe=Ue.slice();(0,w.r)(()=>{oe.forEach(Ee=>{q(Ee,"animation-name"),q(Ee,"animation-duration"),q(Ee,"animation-timing-function"),q(Ee,"animation-iteration-count"),q(Ee,"animation-delay"),q(Ee,"animation-play-state"),q(Ee,"animation-fill-mode"),q(Ee,"animation-direction")})})}},Cn=()=>{pt.forEach(oe=>{oe?.parentNode&&oe.parentNode.removeChild(oe)}),pt.length=0},Ke=()=>void 0!==_e?_e:se?se.getFill():"both",$e=()=>void 0!==Y?Y:void 0!==Be?Be:se?se.getDirection():"normal",me=()=>qe?"linear":void 0!==Ne?Ne:se?se.getEasing():"linear",Me=()=>Le?0:void 0!==fe?fe:void 0!==ce?ce:se?se.getDuration():0,Je=()=>void 0!==ue?ue:se?se.getIterations():1,Et=()=>void 0!==ie?ie:void 0!==ne?ne:se?se.getDelay():0,xt=()=>{0!==Fe&&(Fe--,0===Fe&&((()=>{Qn(),At.forEach(Ge=>Ge()),Lt.forEach(Ge=>Ge());const oe=Ve?1:0,Ee=H,Pe=he,et=De;Ue.forEach(Ge=>{const nt=Ge.classList;Ee.forEach(u=>nt.add(u)),Pe.forEach(u=>nt.remove(u));for(const u in et)et.hasOwnProperty(u)&&_(Ge,u,et[u])}),Ze.forEach(Ge=>Ge.c(oe,ft)),Oe.forEach(Ge=>Ge.c(oe,ft)),Oe.length=0,at=!0,Ve&&(ke=!0),Ve=!0})(),se&&se.animationFinish()))},an=(oe=!0)=>{Cn();const Ee=(P=>(P.forEach(ne=>{for(const ce in ne)if(ne.hasOwnProperty(ce)){const Ne=ne[ce];if("easing"===ce)ne["animation-timing-function"]=Ne,delete ne[ce];else{const ue=R(ce);ue!==ce&&(ne[ue]=Ne,delete ne[ce])}}}),P))(we);Ue.forEach(Pe=>{if(Ee.length>0){const et=((P=[])=>P.map(ne=>{const ce=ne.offset,Ne=[];for(const ue in ne)ne.hasOwnProperty(ue)&&"offset"!==ue&&Ne.push(`${ue}: ${ne[ue]};`);return`${100*ce}% { ${Ne.join(" ")} }`}).join(" "))(Ee);yt=void 0!==P?P:(P=>{let ne=V.indexOf(P);return ne<0&&(ne=V.push(P)-1),`ion-animation-${ne}`})(et);const Ge=((P,ne,ce)=>{var Ne;const ue=(P=>{const ne=void 0!==P.getRootNode?P.getRootNode():P;return ne.head||ne})(ce),_e=O(ce),Be=ue.querySelector("#"+P);if(Be)return Be;const we=(null!==(Ne=ce.ownerDocument)&&void 0!==Ne?Ne:document).createElement("style");return we.id=P,we.textContent=`@${_e}keyframes ${P} { ${ne} } @${_e}keyframes ${P}-alt { ${ne} }`,ue.appendChild(we),we})(yt,et,Pe);pt.push(Ge),_(Pe,"animation-duration",`${Me()}ms`),_(Pe,"animation-timing-function",me()),_(Pe,"animation-delay",`${Et()}ms`),_(Pe,"animation-fill-mode",Ke()),_(Pe,"animation-direction",$e());const nt=Je()===1/0?"infinite":Je().toString();_(Pe,"animation-iteration-count",nt),_(Pe,"animation-play-state","paused"),oe&&_(Pe,"animation-name",`${Ge.id}-alt`),(0,w.r)(()=>{_(Pe,"animation-name",Ge.id||null)})}})},ln=(oe=!0)=>{(()=>{mt.forEach(et=>et()),Vt.forEach(et=>et());const oe=re,Ee=U,Pe=de;Ue.forEach(et=>{const Ge=et.classList;oe.forEach(nt=>Ge.add(nt)),Ee.forEach(nt=>Ge.remove(nt));for(const nt in Pe)Pe.hasOwnProperty(nt)&&_(et,nt,Pe[nt])})})(),we.length>0&&(Kt?(Ue.forEach(oe=>{const Ee=oe.animate(we,{id:Ot,delay:Et(),duration:Me(),easing:me(),iterations:Je(),fill:Ke(),direction:$e()});Ee.pause(),$t.push(Ee)}),$t.length>0&&($t[0].onfinish=()=>{xt()})):an(oe)),ge=!0},cn=oe=>{if(oe=Math.min(Math.max(oe,0),.9999),Kt)$t.forEach(Ee=>{Ee.currentTime=Ee.effect.getComputedTiming().delay+Me()*oe,Ee.pause()});else{const Ee=`-${Me()*oe}ms`;Ue.forEach(Pe=>{we.length>0&&(_(Pe,"animation-delay",Ee),_(Pe,"animation-play-state","paused"))})}},Ut=oe=>{$t.forEach(Ee=>{Ee.effect.updateTiming({delay:Et(),duration:Me(),easing:me(),iterations:Je(),fill:Ke(),direction:$e()})}),void 0!==oe&&cn(oe)},un=(oe=!0,Ee)=>{(0,w.r)(()=>{Ue.forEach(Pe=>{_(Pe,"animation-name",yt||null),_(Pe,"animation-duration",`${Me()}ms`),_(Pe,"animation-timing-function",me()),_(Pe,"animation-delay",void 0!==Ee?`-${Ee*Me()}ms`:`${Et()}ms`),_(Pe,"animation-fill-mode",Ke()||null),_(Pe,"animation-direction",$e()||null);const et=Je()===1/0?"infinite":Je().toString();_(Pe,"animation-iteration-count",et),oe&&_(Pe,"animation-name",`${yt}-alt`),(0,w.r)(()=>{_(Pe,"animation-name",yt||null)})})})},_t=(oe=!1,Ee=!0,Pe)=>(oe&&ut.forEach(et=>{et.update(oe,Ee,Pe)}),Kt?Ut(Pe):un(Ee,Pe),ft),pn=()=>{ge&&(Kt?$t.forEach(oe=>{oe.pause()}):Ue.forEach(oe=>{_(oe,"animation-play-state","paused")}),bt=!0)},nr=()=>{Z=void 0,xt()},Qn=()=>{Z&&clearTimeout(Z)},Mn=oe=>new Promise(Ee=>{oe?.sync&&(Le=!0,Gt(()=>Le=!1,{oneTimeCallback:!0})),ge||ln(),ke&&(Kt?(cn(0),Ut()):un(),ke=!1),at&&(Fe=ut.length+1,at=!1);const Pe=()=>{Xt(et,Oe),Ee()},et=()=>{Xt(Pe,Xe),Ee()};Gt(et,{oneTimeCallback:!0}),((oe,Ee)=>{Xe.push({c:oe,o:{oneTimeCallback:!0}})})(Pe),ut.forEach(Ge=>{Ge.play()}),Kt?($t.forEach(oe=>{oe.play()}),(0===we.length||0===Ue.length)&&xt()):(()=>{if(Qn(),(0,w.r)(()=>{Ue.forEach(oe=>{we.length>0&&_(oe,"animation-play-state","running")})}),0===we.length||0===Ue.length)xt();else{const oe=Et()||0,Ee=Me()||0,Pe=Je()||1;isFinite(Pe)&&(Z=setTimeout(nr,oe+Ee*Pe+100)),((P,ne)=>{let ce;const Ne={passive:!0},_e=Be=>{P===Be.target&&(ce&&ce(),Qn(),(0,w.r)(()=>{Ue.forEach(oe=>{q(oe,"animation-duration"),q(oe,"animation-delay"),q(oe,"animation-play-state")}),(0,w.r)(xt)}))};P&&(P.addEventListener("webkitAnimationEnd",_e,Ne),P.addEventListener("animationend",_e,Ne),ce=()=>{P.removeEventListener("webkitAnimationEnd",_e,Ne),P.removeEventListener("animationend",_e,Ne)})})(Ue[0])}})(),bt=!1}),te=(oe,Ee)=>{const Pe=we[0];return void 0===Pe||void 0!==Pe.offset&&0!==Pe.offset?we=[{offset:0,[oe]:Ee},...we]:Pe[oe]=Ee,ft};return ft={parentAnimation:se,elements:Ue,childAnimations:ut,id:Ot,animationFinish:xt,from:te,to:(oe,Ee)=>{const Pe=we[we.length-1];return void 0===Pe||void 0!==Pe.offset&&1!==Pe.offset?we=[...we,{offset:1,[oe]:Ee}]:Pe[oe]=Ee,ft},fromTo:(oe,Ee,Pe)=>te(oe,Ee).to(oe,Pe),parent:oe=>(se=oe,ft),play:Mn,pause:()=>(ut.forEach(oe=>{oe.pause()}),pn(),ft),stop:()=>{ut.forEach(oe=>{oe.stop()}),ge&&(dt(),ge=!1),qe=!1,Le=!1,at=!0,Y=void 0,fe=void 0,ie=void 0,Fe=0,ke=!1,Ve=!0,bt=!1,Xe.forEach(oe=>oe.c(0,ft)),Xe.length=0},destroy:oe=>(ut.forEach(Ee=>{Ee.destroy(oe)}),(oe=>{dt(),oe&&Cn()})(oe),Ue.length=0,ut.length=0,we.length=0,Ze.length=0,Oe.length=0,ge=!1,at=!0,ft),keyframes:oe=>{const Ee=we!==oe;return we=oe,Ee&&(oe=>{Kt?jt().forEach(Ee=>{const Pe=Ee.effect;if(Pe.setKeyframes)Pe.setKeyframes(oe);else{const et=new KeyframeEffect(Pe.target,oe,Pe.getTiming());Ee.effect=et}}):an()})(we),ft},addAnimation:oe=>{if(null!=oe)if(Array.isArray(oe))for(const Ee of oe)Ee.parent(ft),ut.push(Ee);else oe.parent(ft),ut.push(oe);return ft},addElement:oe=>{if(null!=oe)if(1===oe.nodeType)Ue.push(oe);else if(oe.length>=0)for(let Ee=0;Ee(_e=oe,_t(!0),ft),direction:oe=>(Be=oe,_t(!0),ft),iterations:oe=>(ue=oe,_t(!0),ft),duration:oe=>(!Kt&&0===oe&&(oe=1),ce=oe,_t(!0),ft),easing:oe=>(Ne=oe,_t(!0),ft),delay:oe=>(ne=oe,_t(!0),ft),getWebAnimations:jt,getKeyframes:()=>we,getFill:Ke,getDirection:$e,getDelay:Et,getIterations:Je,getEasing:me,getDuration:Me,afterAddRead:oe=>(At.push(oe),ft),afterAddWrite:oe=>(Lt.push(oe),ft),afterClearStyles:(oe=[])=>{for(const Ee of oe)De[Ee]="";return ft},afterStyles:(oe={})=>(De=oe,ft),afterRemoveClass:oe=>(he=D(he,oe),ft),afterAddClass:oe=>(H=D(H,oe),ft),beforeAddRead:oe=>(mt.push(oe),ft),beforeAddWrite:oe=>(Vt.push(oe),ft),beforeClearStyles:(oe=[])=>{for(const Ee of oe)de[Ee]="";return ft},beforeStyles:(oe={})=>(de=oe,ft),beforeRemoveClass:oe=>(U=D(U,oe),ft),beforeAddClass:oe=>(re=D(re,oe),ft),onFinish:Gt,isRunning:()=>0!==Fe&&!bt,progressStart:(oe=!1,Ee)=>(ut.forEach(Pe=>{Pe.progressStart(oe,Ee)}),pn(),qe=oe,ge||ln(),_t(!1,!0,Ee),ft),progressStep:oe=>(ut.forEach(Ee=>{Ee.progressStep(oe)}),cn(oe),ft),progressEnd:(oe,Ee,Pe)=>(qe=!1,ut.forEach(et=>{et.progressEnd(oe,Ee,Pe)}),void 0!==Pe&&(fe=Pe),ke=!1,Ve=!0,0===oe?(Y="reverse"===$e()?"normal":"reverse","reverse"===Y&&(Ve=!1),Kt?(_t(),cn(1-Ee)):(ie=(1-Ee)*Me()*-1,_t(!1,!1))):1===oe&&(Kt?(_t(),cn(Ee)):(ie=Ee*Me()*-1,_t(!1,!1))),void 0!==oe&&(Gt(()=>{fe=void 0,Y=void 0,ie=void 0},{oneTimeCallback:!0}),se||Mn()),ft)}}},3365:(ct,je,b)=>{"use strict";b.d(je,{E:()=>B,a:()=>o,s:()=>q});const o=V=>{try{if(V instanceof _)return V.value;if(!ae()||"string"!=typeof V||""===V)return V;if(V.includes("onload="))return"";const Q=document.createDocumentFragment(),S=document.createElement("div");Q.appendChild(S),S.innerHTML=V,O.forEach(P=>{const ne=Q.querySelectorAll(P);for(let ce=ne.length-1;ce>=0;ce--){const Ne=ne[ce];Ne.parentNode?Ne.parentNode.removeChild(Ne):Q.removeChild(Ne);const ue=ee(Ne);for(let _e=0;_e{if(V.nodeType&&1!==V.nodeType)return;if(typeof NamedNodeMap<"u"&&!(V.attributes instanceof NamedNodeMap))return void V.remove();for(let S=V.attributes.length-1;S>=0;S--){const z=V.attributes.item(S),D=z.name;if(!R.includes(D.toLowerCase())){V.removeAttribute(D);continue}const k=z.value,P=V[D];(null!=k&&k.toLowerCase().includes("javascript:")||null!=P&&P.toLowerCase().includes("javascript:"))&&V.removeAttribute(D)}const Q=ee(V);for(let S=0;Snull!=V.children?V.children:V.childNodes,ae=()=>{var V;const Q=window,S=null===(V=Q?.Ionic)||void 0===V?void 0:V.config;return!S||(S.get?S.get("sanitizerEnabled",!0):!0===S.sanitizerEnabled||void 0===S.sanitizerEnabled)},R=["class","id","href","src","name","slot"],O=["script","style","iframe","meta","link","object","embed"];class _{constructor(Q){this.value=Q}}const q=V=>{const Q=window,S=Q.Ionic;if(!S||!S.config||"Object"===S.config.constructor.name)return Q.Ionic=Q.Ionic||{},Q.Ionic.config=Object.assign(Object.assign({},Q.Ionic.config),V),Q.Ionic.config},B=!1},6559:(ct,je,b)=>{"use strict";b.d(je,{C:()=>R,a:()=>ee,d:()=>ae});var o=b(5861),w=b(839);const ee=function(){var O=(0,o.Z)(function*(_,q,I,B,V,Q){var S;if(_)return _.attachViewToDom(q,I,V,B);if(!(Q||"string"==typeof I||I instanceof HTMLElement))throw new Error("framework delegate is missing");const z="string"==typeof I?null===(S=q.ownerDocument)||void 0===S?void 0:S.createElement(I):I;return B&&B.forEach(D=>z.classList.add(D)),V&&Object.assign(z,V),q.appendChild(z),yield new Promise(D=>(0,w.c)(z,D)),z});return function(q,I,B,V,Q,S){return O.apply(this,arguments)}}(),ae=(O,_)=>{if(_){if(O)return O.removeViewFromDom(_.parentElement,_);_.remove()}return Promise.resolve()},R=()=>{let O,_;return{attachViewToDom:function(){var B=(0,o.Z)(function*(V,Q,S={},z=[]){var D,k;let P;if(O=V,Q){const ce="string"==typeof Q?null===(D=O.ownerDocument)||void 0===D?void 0:D.createElement(Q):Q;z.forEach(Ne=>ce.classList.add(Ne)),Object.assign(ce,S),O.appendChild(ce),P=ce,yield new Promise(Ne=>(0,w.c)(ce,Ne))}else if(O.children.length>0&&("ION-MODAL"===O.tagName||"ION-POPOVER"===O.tagName)&&!(P=O.children[0]).classList.contains("ion-delegate-host")){const Ne=null===(k=O.ownerDocument)||void 0===k?void 0:k.createElement("div");Ne.classList.add("ion-delegate-host"),z.forEach(ue=>Ne.classList.add(ue)),Ne.append(...O.children),O.appendChild(Ne),P=Ne}const ne=document.querySelector("ion-app")||document.body;return _=document.createComment("ionic teleport"),O.parentNode.insertBefore(_,O),ne.appendChild(O),P??O});return function(Q,S){return B.apply(this,arguments)}}(),removeViewFromDom:()=>(O&&_&&(_.parentNode.insertBefore(O,_),_.remove()),Promise.resolve())}}},619:(ct,je,b)=>{"use strict";b.d(je,{G:()=>R});class w{constructor(_,q,I,B,V){this.id=q,this.name=I,this.disableScroll=V,this.priority=1e6*B+q,this.ctrl=_}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 _=this.ctrl.capture(this.name,this.id,this.priority);return _&&this.disableScroll&&this.ctrl.disableScroll(this.id),_}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class ee{constructor(_,q,I,B){this.id=q,this.disable=I,this.disableScroll=B,this.ctrl=_}block(){if(this.ctrl){if(this.disable)for(const _ of this.disable)this.ctrl.disableGesture(_,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const _ of this.disable)this.ctrl.enableGesture(_,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const ae="backdrop-no-scroll",R=new class o{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(_){var q;return new w(this,this.newID(),_.name,null!==(q=_.priority)&&void 0!==q?q:0,!!_.disableScroll)}createBlocker(_={}){return new ee(this,this.newID(),_.disable,!!_.disableScroll)}start(_,q,I){return this.canStart(_)?(this.requestedStart.set(q,I),!0):(this.requestedStart.delete(q),!1)}capture(_,q,I){if(!this.start(_,q,I))return!1;const B=this.requestedStart;let V=-1e4;if(B.forEach(Q=>{V=Math.max(V,Q)}),V===I){this.capturedId=q,B.clear();const Q=new CustomEvent("ionGestureCaptured",{detail:{gestureName:_}});return document.dispatchEvent(Q),!0}return B.delete(q),!1}release(_){this.requestedStart.delete(_),this.capturedId===_&&(this.capturedId=void 0)}disableGesture(_,q){let I=this.disabledGestures.get(_);void 0===I&&(I=new Set,this.disabledGestures.set(_,I)),I.add(q)}enableGesture(_,q){const I=this.disabledGestures.get(_);void 0!==I&&I.delete(q)}disableScroll(_){this.disabledScroll.add(_),1===this.disabledScroll.size&&document.body.classList.add(ae)}enableScroll(_){this.disabledScroll.delete(_),0===this.disabledScroll.size&&document.body.classList.remove(ae)}canStart(_){return!(void 0!==this.capturedId||this.isDisabled(_))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(_){const q=this.disabledGestures.get(_);return!!(q&&q.size>0)}newID(){return this.gestureId++,this.gestureId}}},2124:(ct,je,b)=>{"use strict";b.r(je),b.d(je,{MENU_BACK_BUTTON_PRIORITY:()=>R,OVERLAY_BACK_BUTTON_PRIORITY:()=>ae,blockHardwareBackButton:()=>w,startHardwareBackButton:()=>ee});var o=b(5861);const w=()=>{document.addEventListener("backbutton",()=>{})},ee=()=>{const O=document;let _=!1;O.addEventListener("backbutton",()=>{if(_)return;let q=0,I=[];const B=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(S,z){I.push({priority:S,handler:z,id:q++})}}});O.dispatchEvent(B);const V=function(){var S=(0,o.Z)(function*(z){try{if(z?.handler){const D=z.handler(Q);null!=D&&(yield D)}}catch(D){console.error(D)}});return function(D){return S.apply(this,arguments)}}(),Q=()=>{if(I.length>0){let S={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};I.forEach(z=>{z.priority>=S.priority&&(S=z)}),_=!0,I=I.filter(z=>z.id!==S.id),V(S).then(()=>_=!1)}};Q()})},ae=100,R=99},839:(ct,je,b)=>{"use strict";b.d(je,{a:()=>q,b:()=>I,c:()=>ee,d:()=>k,e:()=>D,f:()=>z,g:()=>B,h:()=>S,i:()=>_,j:()=>_e,k:()=>R,l:()=>P,m:()=>ae,n:()=>Q,o:()=>ne,p:()=>ue,q:()=>Be,r:()=>V,s:()=>we,t:()=>o,u:()=>ce,v:()=>Ne});const o=(re,U=0)=>new Promise(ge=>{w(re,U,ge)}),w=(re,U=0,ge)=>{let se,de;const H={passive:!0},De=()=>{se&&se()},Fe=qe=>{(void 0===qe||re===qe.target)&&(De(),ge(qe))};return re&&(re.addEventListener("webkitTransitionEnd",Fe,H),re.addEventListener("transitionend",Fe,H),de=setTimeout(Fe,U+500),se=()=>{de&&(clearTimeout(de),de=void 0),re.removeEventListener("webkitTransitionEnd",Fe,H),re.removeEventListener("transitionend",Fe,H)}),De},ee=(re,U)=>{re.componentOnReady?re.componentOnReady().then(ge=>U(ge)):V(()=>U(re))},ae=re=>void 0!==re.componentOnReady,R=(re,U=[])=>{const ge={};return U.forEach(se=>{re.hasAttribute(se)&&(null!==re.getAttribute(se)&&(ge[se]=re.getAttribute(se)),re.removeAttribute(se))}),ge},O=["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"],_=(re,U)=>{let ge=O;return U&&U.length>0&&(ge=ge.filter(se=>!U.includes(se))),R(re,ge)},q=(re,U,ge,se)=>{var de;if(typeof window<"u"){const H=window,he=null===(de=H?.Ionic)||void 0===de?void 0:de.config;if(he){const De=he.get("_ael");if(De)return De(re,U,ge,se);if(he._ael)return he._ael(re,U,ge,se)}}return re.addEventListener(U,ge,se)},I=(re,U,ge,se)=>{var de;if(typeof window<"u"){const H=window,he=null===(de=H?.Ionic)||void 0===de?void 0:de.config;if(he){const De=he.get("_rel");if(De)return De(re,U,ge,se);if(he._rel)return he._rel(re,U,ge,se)}}return re.removeEventListener(U,ge,se)},B=(re,U=re)=>re.shadowRoot||U,V=re=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(re):"function"==typeof requestAnimationFrame?requestAnimationFrame(re):setTimeout(re),Q=re=>!!re.shadowRoot&&!!re.attachShadow,S=re=>{const U=re.closest("ion-item");return U?U.querySelector("ion-label"):null},z=re=>{if(re.focus(),re.classList.contains("ion-focusable")){const U=re.closest("ion-app");U&&U.setFocus([re])}},D=(re,U)=>{let ge;const se=re.getAttribute("aria-labelledby"),de=re.id;let H=null!==se&&""!==se.trim()?se:U+"-lbl",he=null!==se&&""!==se.trim()?document.getElementById(se):S(re);return he?(null===se&&(he.id=H),ge=he.textContent,he.setAttribute("aria-hidden","true")):""!==de.trim()&&(he=document.querySelector(`label[for="${de}"]`),he&&(""!==he.id?H=he.id:he.id=H=`${de}-lbl`,ge=he.textContent)),{label:he,labelId:H,labelText:ge}},k=(re,U,ge,se,de)=>{if(re||Q(U)){let H=U.querySelector("input.aux-input");H||(H=U.ownerDocument.createElement("input"),H.type="hidden",H.classList.add("aux-input"),U.appendChild(H)),H.disabled=de,H.name=ge,H.value=se||""}},P=(re,U,ge)=>Math.max(re,Math.min(U,ge)),ne=(re,U)=>{if(!re){const ge="ASSERT: "+U;throw console.error(ge),new Error(ge)}},ce=re=>re.timeStamp||Date.now(),Ne=re=>{if(re){const U=re.changedTouches;if(U&&U.length>0){const ge=U[0];return{x:ge.clientX,y:ge.clientY}}if(void 0!==re.pageX)return{x:re.pageX,y:re.pageY}}return{x:0,y:0}},ue=re=>{const U="rtl"===document.dir;switch(re){case"start":return U;case"end":return!U;default:throw new Error(`"${re}" is not a valid value for [side]. Use "start" or "end" instead.`)}},_e=(re,U)=>{const ge=re._original||re;return{_original:re,emit:Be(ge.emit.bind(ge),U)}},Be=(re,U=0)=>{let ge;return(...se)=>{clearTimeout(ge),ge=setTimeout(re,U,...se)}},we=(re,U)=>{if(re??(re={}),U??(U={}),re===U)return!0;const ge=Object.keys(re);if(ge.length!==Object.keys(U).length)return!1;for(const se of ge)if(!(se in U)||re[se]!==U[se])return!1;return!0}},6710:(ct,je,b)=>{"use strict";b.d(je,{a:()=>w,b:()=>ee,p:()=>o});const o=(ae,...R)=>console.warn(`[Ionic Warning]: ${ae}`,...R),w=(ae,...R)=>console.error(`[Ionic Error]: ${ae}`,...R),ee=(ae,...R)=>console.error(`<${ae.tagName.toLowerCase()}> must be used inside ${R.join(" or ")}.`)},9938:(ct,je,b)=>{"use strict";b.d(je,{d:()=>w,w:()=>o});const o=typeof window<"u"?window:void 0,w=typeof document<"u"?document:void 0},837:(ct,je,b)=>{"use strict";b.d(je,{m:()=>Q});var o=b(5861),w=b(6710),ee=b(2124),ae=b(839),R=b(3395),O=b(6410);const _=S=>(0,O.c)().duration(S?400:300),q=S=>{let z,D;const k=S.width+8,P=(0,O.c)(),ne=(0,O.c)();S.isEndSide?(z=k+"px",D="0px"):(z=-k+"px",D="0px"),P.addElement(S.menuInnerEl).fromTo("transform",`translateX(${z})`,`translateX(${D})`);const Ne="ios"===(0,R.b)(S),ue=Ne?.2:.25;return ne.addElement(S.backdropEl).fromTo("opacity",.01,ue),_(Ne).addAnimation([P,ne])},I=S=>{let z,D;const k=(0,R.b)(S),P=S.width;S.isEndSide?(z=-P+"px",D=P+"px"):(z=P+"px",D=-P+"px");const ne=(0,O.c)().addElement(S.menuInnerEl).fromTo("transform",`translateX(${D})`,"translateX(0px)"),ce=(0,O.c)().addElement(S.contentEl).fromTo("transform","translateX(0px)",`translateX(${z})`),Ne=(0,O.c)().addElement(S.backdropEl).fromTo("opacity",.01,.32);return _("ios"===k).addAnimation([ne,ce,Ne])},B=S=>{const z=(0,R.b)(S),D=S.width*(S.isEndSide?-1:1)+"px",k=(0,O.c)().addElement(S.contentEl).fromTo("transform","translateX(0px)",`translateX(${D})`);return _("ios"===z).addAnimation(k)},Q=(()=>{const S=new Map,z=[],D=function(){var Z=(0,o.Z)(function*(Y){const fe=yield _e(Y,!0);return!!fe&&fe.open()});return function(fe){return Z.apply(this,arguments)}}(),k=function(){var Z=(0,o.Z)(function*(Y){const fe=yield void 0!==Y?_e(Y,!0):Be();return void 0!==fe&&fe.close()});return function(fe){return Z.apply(this,arguments)}}(),P=function(){var Z=(0,o.Z)(function*(Y){const fe=yield _e(Y,!0);return!!fe&&fe.toggle()});return function(fe){return Z.apply(this,arguments)}}(),ne=function(){var Z=(0,o.Z)(function*(Y,fe){const ie=yield _e(fe);return ie&&(ie.disabled=!Y),ie});return function(fe,ie){return Z.apply(this,arguments)}}(),ce=function(){var Z=(0,o.Z)(function*(Y,fe){const ie=yield _e(fe);return ie&&(ie.swipeGesture=Y),ie});return function(fe,ie){return Z.apply(this,arguments)}}(),Ne=function(){var Z=(0,o.Z)(function*(Y){if(null!=Y){const fe=yield _e(Y);return void 0!==fe&&fe.isOpen()}return void 0!==(yield Be())});return function(fe){return Z.apply(this,arguments)}}(),ue=function(){var Z=(0,o.Z)(function*(Y){const fe=yield _e(Y);return!!fe&&!fe.disabled});return function(fe){return Z.apply(this,arguments)}}(),_e=function(){var Z=(0,o.Z)(function*(Y,fe=!1){if(yield Le(),"start"===Y||"end"===Y){const Ve=z.filter(at=>at.side===Y&&!at.disabled);if(Ve.length>=1)return Ve.length>1&&fe&&(0,w.p)(`menuController queried for a menu on the "${Y}" side, but ${Ve.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,Ve.map(at=>at.el)),Ve[0].el;const ke=z.filter(at=>at.side===Y);if(ke.length>=1)return ke.length>1&&fe&&(0,w.p)(`menuController queried for a menu on the "${Y}" side, but ${ke.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.`,ke.map(at=>at.el)),ke[0].el}else if(null!=Y)return qe(Ve=>Ve.menuId===Y);return qe(Ve=>!Ve.disabled)||(z.length>0?z[0].el:void 0)});return function(fe){return Z.apply(this,arguments)}}(),Be=function(){var Z=(0,o.Z)(function*(){return yield Le(),he()});return function(){return Z.apply(this,arguments)}}(),we=function(){var Z=(0,o.Z)(function*(){return yield Le(),De()});return function(){return Z.apply(this,arguments)}}(),re=function(){var Z=(0,o.Z)(function*(){return yield Le(),Fe()});return function(){return Z.apply(this,arguments)}}(),U=(Z,Y)=>{S.set(Z,Y)},de=function(){var Z=(0,o.Z)(function*(Y,fe,ie){if(Fe())return!1;if(fe){const Ve=yield Be();Ve&&Y.el!==Ve&&(yield Ve.setOpen(!1,!1))}return Y._setOpen(fe,ie)});return function(fe,ie,Ve){return Z.apply(this,arguments)}}(),he=()=>qe(Z=>Z._isOpen),De=()=>z.map(Z=>Z.el),Fe=()=>z.some(Z=>Z.isAnimating),qe=Z=>{const Y=z.find(Z);if(void 0!==Y)return Y.el},Le=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(Z=>new Promise(Y=>(0,ae.c)(Z,Y))));return U("reveal",B),U("push",I),U("overlay",q),typeof document<"u"&&document.addEventListener("ionBackButton",Z=>{const Y=he();Y&&Z.detail.register(ee.MENU_BACK_BUTTON_PRIORITY,()=>Y.close())}),{registerAnimation:U,get:_e,getMenus:we,getOpen:Be,isEnabled:ue,swipeGesture:ce,isAnimating:re,isOpen:Ne,enable:ne,toggle:P,close:k,open:D,_getOpenSync:he,_createAnimation:(Z,Y)=>{const fe=S.get(Z);if(!fe)throw new Error("animation not registered");return fe(Y)},_register:Z=>{z.indexOf(Z)<0&&z.push(Z)},_unregister:Z=>{const Y=z.indexOf(Z);Y>-1&&z.splice(Y,1)},_setOpen:de}})()},8411:(ct,je,b)=>{"use strict";b.d(je,{B:()=>V,H:()=>De,a:()=>hn,b:()=>Tn,c:()=>ke,d:()=>bt,e:()=>mr,f:()=>ft,g:()=>at,h:()=>H,i:()=>gr,j:()=>Q,r:()=>gt,w:()=>Mn});var o=b(5861);let ee,ae,R,O=!1,_=!1,q=!1,I=!1,B=!1;const V={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},Q=L=>{const te=new URL(L,_t.$resourcesUrl$);return te.origin!==Ut.location.origin?te.href:te.pathname},ce="s-id",Ne="sty-id",Be="http://www.w3.org/1999/xlink",we={},se=L=>"object"==(L=typeof L)||"function"===L;function de(L){var te,Se,Te;return null!==(Te=null===(Se=null===(te=L.head)||void 0===te?void 0:te.querySelector('meta[name="csp-nonce"]'))||void 0===Se?void 0:Se.getAttribute("content"))&&void 0!==Te?Te:void 0}const H=(L,te,...Se)=>{let Te=null,oe=null,Ee=null,Pe=!1,et=!1;const Ge=[],nt=j=>{for(let m=0;mj[m]).join(" "))}}if("function"==typeof L)return L(null===te?{}:te,Ge,qe);const u=he(L,null);return u.$attrs$=te,Ge.length>0&&(u.$children$=Ge),u.$key$=oe,u.$name$=Ee,u},he=(L,te)=>({$flags$:0,$tag$:L,$text$:te,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),De={},qe={forEach:(L,te)=>L.map(Le).forEach(te),map:(L,te)=>L.map(Le).map(te).map(Z)},Le=L=>({vattrs:L.$attrs$,vchildren:L.$children$,vkey:L.$key$,vname:L.$name$,vtag:L.$tag$,vtext:L.$text$}),Z=L=>{if("function"==typeof L.vtag){const Se=Object.assign({},L.vattrs);return L.vkey&&(Se.key=L.vkey),L.vname&&(Se.name=L.vname),H(L.vtag,Se,...L.vchildren||[])}const te=he(L.vtag,L.vtext);return te.$attrs$=L.vattrs,te.$children$=L.vchildren,te.$key$=L.vkey,te.$name$=L.vname,te},fe=(L,te,Se,Te,oe,Ee,Pe)=>{let et,Ge,nt,u;if(1===Ee.nodeType){for(et=Ee.getAttribute("c-id"),et&&(Ge=et.split("."),(Ge[0]===Pe||"0"===Ge[0])&&(nt={$flags$:0,$hostId$:Ge[0],$nodeId$:Ge[1],$depth$:Ge[2],$index$:Ge[3],$tag$:Ee.tagName.toLowerCase(),$elm$:Ee,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},te.push(nt),Ee.removeAttribute("c-id"),L.$children$||(L.$children$=[]),L.$children$[nt.$index$]=nt,L=nt,Te&&"0"===nt.$depth$&&(Te[nt.$index$]=nt.$elm$))),u=Ee.childNodes.length-1;u>=0;u--)fe(L,te,Se,Te,oe,Ee.childNodes[u],Pe);if(Ee.shadowRoot)for(u=Ee.shadowRoot.childNodes.length-1;u>=0;u--)fe(L,te,Se,Te,oe,Ee.shadowRoot.childNodes[u],Pe)}else if(8===Ee.nodeType)Ge=Ee.nodeValue.split("."),(Ge[1]===Pe||"0"===Ge[1])&&(et=Ge[0],nt={$flags$:0,$hostId$:Ge[1],$nodeId$:Ge[2],$depth$:Ge[3],$index$:Ge[4],$elm$:Ee,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===et?(nt.$elm$=Ee.nextSibling,nt.$elm$&&3===nt.$elm$.nodeType&&(nt.$text$=nt.$elm$.textContent,te.push(nt),Ee.remove(),L.$children$||(L.$children$=[]),L.$children$[nt.$index$]=nt,Te&&"0"===nt.$depth$&&(Te[nt.$index$]=nt.$elm$))):nt.$hostId$===Pe&&("s"===et?(nt.$tag$="slot",Ee["s-sn"]=Ge[5]?nt.$name$=Ge[5]:"",Ee["s-sr"]=!0,Te&&(nt.$elm$=un.createElement(nt.$tag$),nt.$name$&&nt.$elm$.setAttribute("name",nt.$name$),Ee.parentNode.insertBefore(nt.$elm$,Ee),Ee.remove(),"0"===nt.$depth$&&(Te[nt.$index$]=nt.$elm$)),Se.push(nt),L.$children$||(L.$children$=[]),L.$children$[nt.$index$]=nt):"r"===et&&(Te?Ee.remove():(oe["s-cr"]=Ee,Ee["s-cn"]=!0))));else if(L&&"style"===L.$tag$){const j=he(null,Ee.textContent);j.$elm$=Ee,j.$index$="0",L.$children$=[j]}},ie=(L,te)=>{if(1===L.nodeType){let Se=0;for(;Secn.push(L),at=L=>it(L).$modeName$,ft=L=>it(L).$hostElement$,bt=(L,te,Se)=>{const Te=ft(L);return{emit:oe=>Ot(Te,te,{bubbles:!!(4&Se),composed:!!(2&Se),cancelable:!!(1&Se),detail:oe})}},Ot=(L,te,Se)=>{const Te=_t.ce(te,Se);return L.dispatchEvent(Te),Te},Ze=new WeakMap,Oe=(L,te,Se)=>{let Te=ln.get(L);pn&&Se?(Te=Te||new CSSStyleSheet,"string"==typeof Te?Te=te:Te.replaceSync(te)):Te=te,ln.set(L,Te)},Xe=(L,te,Se)=>{var Te;const oe=ut(te,Se),Ee=ln.get(oe);if(L=11===L.nodeType?L:un,Ee)if("string"==typeof Ee){let et,Pe=Ze.get(L=L.head||L);if(Pe||Ze.set(L,Pe=new Set),!Pe.has(oe)){if(L.host&&(et=L.querySelector(`[${Ne}="${oe}"]`)))et.innerHTML=Ee;else{et=un.createElement("style"),et.innerHTML=Ee;const Ge=null!==(Te=_t.$nonce$)&&void 0!==Te?Te:de(un);null!=Ge&&et.setAttribute("nonce",Ge),L.insertBefore(et,L.querySelector("link"))}Pe&&Pe.add(oe)}}else L.adoptedStyleSheets.includes(Ee)||(L.adoptedStyleSheets=[...L.adoptedStyleSheets,Ee]);return oe},ut=(L,te)=>"sc-"+(te&&32&L.$flags$?L.$tagName$+"-"+te:L.$tagName$),pt=L=>L.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),mt=(L,te,Se,Te,oe,Ee)=>{if(Se!==Te){let Pe=sn(L,te),et=te.toLowerCase();if("class"===te){const Ge=L.classList,nt=At(Se),u=At(Te);Ge.remove(...nt.filter(j=>j&&!u.includes(j))),Ge.add(...u.filter(j=>j&&!nt.includes(j)))}else if("style"===te){for(const Ge in Se)(!Te||null==Te[Ge])&&(Ge.includes("-")?L.style.removeProperty(Ge):L.style[Ge]="");for(const Ge in Te)(!Se||Te[Ge]!==Se[Ge])&&(Ge.includes("-")?L.style.setProperty(Ge,Te[Ge]):L.style[Ge]=Te[Ge])}else if("key"!==te)if("ref"===te)Te&&Te(L);else if(Pe||"o"!==te[0]||"n"!==te[1]){const Ge=se(Te);if((Pe||Ge&&null!==Te)&&!oe)try{if(L.tagName.includes("-"))L[te]=Te;else{const u=Te??"";"list"===te?Pe=!1:(null==Se||L[te]!=u)&&(L[te]=u)}}catch{}let nt=!1;et!==(et=et.replace(/^xlink\:?/,""))&&(te=et,nt=!0),null==Te||!1===Te?(!1!==Te||""===L.getAttribute(te))&&(nt?L.removeAttributeNS(Be,te):L.removeAttribute(te)):(!Pe||4&Ee||oe)&&!Ge&&(Te=!0===Te?"":Te,nt?L.setAttributeNS(Be,te,Te):L.setAttribute(te,Te))}else te="-"===te[2]?te.slice(3):sn(Ut,et)?et.slice(2):et[2]+te.slice(3),Se&&_t.rel(L,te,Se,!1),Te&&_t.ael(L,te,Te,!1)}},Vt=/\s/,At=L=>L?L.split(Vt):[],Lt=(L,te,Se,Te)=>{const oe=11===te.$elm$.nodeType&&te.$elm$.host?te.$elm$.host:te.$elm$,Ee=L&&L.$attrs$||we,Pe=te.$attrs$||we;for(Te in Ee)Te in Pe||mt(oe,Te,Ee[Te],void 0,Se,te.$flags$);for(Te in Pe)mt(oe,Te,Ee[Te],Pe[Te],Se,te.$flags$)},$t=(L,te,Se,Te)=>{const oe=te.$children$[Se];let Pe,et,Ge,Ee=0;if(O||(q=!0,"slot"===oe.$tag$&&(ee&&Te.classList.add(ee+"-s"),oe.$flags$|=oe.$children$?2:1)),null!==oe.$text$)Pe=oe.$elm$=un.createTextNode(oe.$text$);else if(1&oe.$flags$)Pe=oe.$elm$=un.createTextNode("");else{if(I||(I="svg"===oe.$tag$),Pe=oe.$elm$=un.createElementNS(I?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&oe.$flags$?"slot-fb":oe.$tag$),I&&"foreignObject"===oe.$tag$&&(I=!1),Lt(null,oe,I),(L=>null!=L)(ee)&&Pe["s-si"]!==ee&&Pe.classList.add(Pe["s-si"]=ee),oe.$children$)for(Ee=0;Ee{_t.$flags$|=1;const Se=L.childNodes;for(let Te=Se.length-1;Te>=0;Te--){const oe=Se[Te];oe["s-hn"]!==R&&oe["s-ol"]&&(Rt(oe).insertBefore(oe,Yn(oe)),oe["s-ol"].remove(),oe["s-ol"]=void 0,q=!0),te&&wn(oe,te)}_t.$flags$&=-2},Kt=(L,te,Se,Te,oe,Ee)=>{let et,Pe=L["s-cr"]&&L["s-cr"].parentNode||L;for(Pe.shadowRoot&&Pe.tagName===R&&(Pe=Pe.shadowRoot);oe<=Ee;++oe)Te[oe]&&(et=$t(null,Se,oe,L),et&&(Te[oe].$elm$=et,Pe.insertBefore(et,Yn(te))))},Nt=(L,te,Se)=>{for(let Te=te;Te<=Se;++Te){const oe=L[Te];if(oe){const Ee=oe.$elm$;dt(oe),Ee&&(_=!0,Ee["s-ol"]?Ee["s-ol"].remove():wn(Ee,!0),Ee.remove())}}},Vn=(L,te)=>L.$tag$===te.$tag$&&("slot"===L.$tag$?L.$name$===te.$name$:L.$key$===te.$key$),Yn=L=>L&&L["s-ol"]||L,Rt=L=>(L["s-ol"]?L["s-ol"]:L).parentNode,Zt=(L,te)=>{const Se=te.$elm$=L.$elm$,Te=L.$children$,oe=te.$children$,Ee=te.$tag$,Pe=te.$text$;let et;null===Pe?(I="svg"===Ee||"foreignObject"!==Ee&&I,"slot"===Ee||Lt(L,te,I),null!==Te&&null!==oe?((L,te,Se,Te)=>{let Ae,Ft,oe=0,Ee=0,Pe=0,et=0,Ge=te.length-1,nt=te[0],u=te[Ge],j=Te.length-1,m=Te[0],X=Te[j];for(;oe<=Ge&&Ee<=j;)if(null==nt)nt=te[++oe];else if(null==u)u=te[--Ge];else if(null==m)m=Te[++Ee];else if(null==X)X=Te[--j];else if(Vn(nt,m))Zt(nt,m),nt=te[++oe],m=Te[++Ee];else if(Vn(u,X))Zt(u,X),u=te[--Ge],X=Te[--j];else if(Vn(nt,X))("slot"===nt.$tag$||"slot"===X.$tag$)&&wn(nt.$elm$.parentNode,!1),Zt(nt,X),L.insertBefore(nt.$elm$,u.$elm$.nextSibling),nt=te[++oe],X=Te[--j];else if(Vn(u,m))("slot"===nt.$tag$||"slot"===X.$tag$)&&wn(u.$elm$.parentNode,!1),Zt(u,m),L.insertBefore(u.$elm$,nt.$elm$),u=te[--Ge],m=Te[++Ee];else{for(Pe=-1,et=oe;et<=Ge;++et)if(te[et]&&null!==te[et].$key$&&te[et].$key$===m.$key$){Pe=et;break}Pe>=0?(Ft=te[Pe],Ft.$tag$!==m.$tag$?Ae=$t(te&&te[Ee],Se,Pe,L):(Zt(Ft,m),te[Pe]=void 0,Ae=Ft.$elm$),m=Te[++Ee]):(Ae=$t(te&&te[Ee],Se,Ee,L),m=Te[++Ee]),Ae&&Rt(nt.$elm$).insertBefore(Ae,Yn(nt.$elm$))}oe>Ge?Kt(L,null==Te[j+1]?null:Te[j+1].$elm$,Se,Te,Ee,j):Ee>j&&Nt(te,oe,Ge)})(Se,Te,te,oe):null!==oe?(null!==L.$text$&&(Se.textContent=""),Kt(Se,null,te,oe,0,oe.length-1)):null!==Te&&Nt(Te,0,Te.length-1),I&&"svg"===Ee&&(I=!1)):(et=Se["s-cr"])?et.parentNode.textContent=Pe:L.$text$!==Pe&&(Se.data=Pe)},Xt=L=>{const te=L.childNodes;for(const Se of te)if(1===Se.nodeType){if(Se["s-sr"]){const Te=Se["s-sn"];Se.hidden=!1;for(const oe of te)if(oe["s-hn"]!==Se["s-hn"]||""!==Te){if(1===oe.nodeType&&Te===oe.getAttribute("slot")){Se.hidden=!0;break}}else if(1===oe.nodeType||3===oe.nodeType&&""!==oe.textContent.trim()){Se.hidden=!0;break}}Xt(Se)}},Wt=[],Gt=L=>{let te,Se,Te;for(const oe of L.childNodes){if(oe["s-sr"]&&(te=oe["s-cr"])&&te.parentNode){Se=te.parentNode.childNodes;const Ee=oe["s-sn"];for(Te=Se.length-1;Te>=0;Te--)if(te=Se[Te],!te["s-cn"]&&!te["s-nr"]&&te["s-hn"]!==oe["s-hn"])if(Pn(te,Ee)){let Pe=Wt.find(et=>et.$nodeToRelocate$===te);_=!0,te["s-sn"]=te["s-sn"]||Ee,Pe?Pe.$slotRefNode$=oe:Wt.push({$slotRefNode$:oe,$nodeToRelocate$:te}),te["s-sr"]&&Wt.map(et=>{Pn(et.$nodeToRelocate$,te["s-sn"])&&(Pe=Wt.find(Ge=>Ge.$nodeToRelocate$===te),Pe&&!et.$slotRefNode$&&(et.$slotRefNode$=Pe.$slotRefNode$))})}else Wt.some(Pe=>Pe.$nodeToRelocate$===te)||Wt.push({$nodeToRelocate$:te})}1===oe.nodeType&&Gt(oe)}},Pn=(L,te)=>1===L.nodeType?null===L.getAttribute("slot")&&""===te||L.getAttribute("slot")===te:L["s-sn"]===te||""===te,dt=L=>{L.$attrs$&&L.$attrs$.ref&&L.$attrs$.ref(null),L.$children$&&L.$children$.map(dt)},or=(L,te)=>{te&&!L.$onRenderResolve$&&te["s-p"]&&te["s-p"].push(new Promise(Se=>L.$onRenderResolve$=Se))},Bt=(L,te)=>{if(L.$flags$|=16,!(4&L.$flags$))return or(L,L.$ancestorComponent$),Mn(()=>Wn(L,te));L.$flags$|=512},Wn=(L,te)=>{const Te=L.$lazyInstance$;let oe;return te&&(L.$flags$|=256,L.$queuedListeners$&&(L.$queuedListeners$.map(([Ee,Pe])=>Zn(Te,Ee,Pe)),L.$queuedListeners$=void 0),oe=Zn(Te,"componentWillLoad")),oe=In(oe,()=>Zn(Te,"componentWillRender")),In(oe,()=>yn(L,Te,te))},In=(L,te)=>Xn(L)?L.then(te):te(),Xn=L=>L instanceof Promise||L&&L.then&&"function"==typeof L.then,yn=function(){var L=(0,o.Z)(function*(te,Se,Te){var oe;const Ee=te.$hostElement$,et=Ee["s-rc"];Te&&(L=>{const te=L.$cmpMeta$,Se=L.$hostElement$,Te=te.$flags$,Ee=Xe(Se.shadowRoot?Se.shadowRoot:Se.getRootNode(),te,L.$modeName$);10&Te&&(Se["s-sc"]=Ee,Se.classList.add(Ee+"-h"),2&Te&&Se.classList.add(Ee+"-s"))})(te);Kn(te,Se,Ee,Te),et&&(et.map(nt=>nt()),Ee["s-rc"]=void 0);{const nt=null!==(oe=Ee["s-p"])&&void 0!==oe?oe:[],u=()=>bn(te);0===nt.length?u():(Promise.all(nt).then(u),te.$flags$|=4,nt.length=0)}});return function(Se,Te,oe){return L.apply(this,arguments)}}(),Kn=(L,te,Se,Te)=>{try{te=te.render&&te.render(),L.$flags$&=-17,L.$flags$|=2,((L,te,Se=!1)=>{const Te=L.$hostElement$,oe=L.$cmpMeta$,Ee=L.$vnode$||he(null,null),Pe=(L=>L&&L.$tag$===De)(te)?te:H(null,null,te);if(R=Te.tagName,oe.$attrsToReflect$&&(Pe.$attrs$=Pe.$attrs$||{},oe.$attrsToReflect$.map(([et,Ge])=>Pe.$attrs$[Ge]=Te[et])),Se&&Pe.$attrs$)for(const et of Object.keys(Pe.$attrs$))Te.hasAttribute(et)&&!["key","ref","style","class"].includes(et)&&(Pe.$attrs$[et]=Te[et]);if(Pe.$tag$=null,Pe.$flags$|=4,L.$vnode$=Pe,Pe.$elm$=Ee.$elm$=Te.shadowRoot||Te,ee=Te["s-sc"],ae=Te["s-cr"],O=0!=(1&oe.$flags$),_=!1,Zt(Ee,Pe),_t.$flags$|=1,q){Gt(Pe.$elm$);let et,Ge,nt,u,j,m,X=0;for(;X{const Se=L.$hostElement$,oe=L.$lazyInstance$,Ee=L.$ancestorComponent$;Zn(oe,"componentDidRender"),64&L.$flags$?Zn(oe,"componentDidUpdate"):(L.$flags$|=64,Er(Se),Zn(oe,"componentDidLoad"),L.$onReadyResolve$(Se),Ee||qn()),L.$onInstanceResolve$(Se),L.$onRenderResolve$&&(L.$onRenderResolve$(),L.$onRenderResolve$=void 0),512&L.$flags$&&lr(()=>Bt(L,!1)),L.$flags$&=-517},gr=L=>{{const te=it(L),Se=te.$hostElement$.isConnected;return Se&&2==(18&te.$flags$)&&Bt(te,!1),Se}},qn=L=>{Er(un.documentElement),lr(()=>Ot(Ut,"appload",{detail:{namespace:"ionic"}}))},Zn=(L,te,Se)=>{if(L&&L[te])try{return L[te](Se)}catch(Te){xt(Te)}},Er=L=>L.classList.add("hydrated"),me=(L,te,Se)=>{var Te;if(te.$members$){L.watchers&&(te.$watchers$=L.watchers);const oe=Object.entries(te.$members$),Ee=L.prototype;if(oe.map(([Pe,[et]])=>{31&et||2&Se&&32&et?Object.defineProperty(Ee,Pe,{get(){return((L,te)=>it(this).$instanceValues$.get(te))(0,Pe)},set(Ge){((L,te,Se,Te)=>{const oe=it(L),Ee=oe.$hostElement$,Pe=oe.$instanceValues$.get(te),et=oe.$flags$,Ge=oe.$lazyInstance$;Se=((L,te)=>null==L||se(L)?L:4&te?"false"!==L&&(""===L||!!L):2&te?parseFloat(L):1&te?String(L):L)(Se,Te.$members$[te][0]);const nt=Number.isNaN(Pe)&&Number.isNaN(Se);if((!(8&et)||void 0===Pe)&&Se!==Pe&&!nt&&(oe.$instanceValues$.set(te,Se),Ge)){if(Te.$watchers$&&128&et){const j=Te.$watchers$[te];j&&j.map(m=>{try{Ge[m](Se,Pe,te)}catch(X){xt(X,Ee)}})}2==(18&et)&&Bt(oe,!1)}})(this,Pe,Ge,te)},configurable:!0,enumerable:!0}):1&Se&&64&et&&Object.defineProperty(Ee,Pe,{value(...Ge){const nt=it(this);return nt.$onInstancePromise$.then(()=>nt.$lazyInstance$[Pe](...Ge))}})}),1&Se){const Pe=new Map;Ee.attributeChangedCallback=function(et,Ge,nt){_t.jmp(()=>{const u=Pe.get(et);if(this.hasOwnProperty(u))nt=this[u],delete this[u];else{if(Ee.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==nt)return;if(null==u){const j=it(this),m=j?.$flags$;if(!(8&m)&&128&m&&nt!==Ge){const X=j.$lazyInstance$,Ae=te.$watchers$[et];Ae?.forEach(Ft=>{null!=X[Ft]&&X[Ft].call(X,nt,Ge,et)})}return}}this[u]=(null!==nt||"boolean"!=typeof this[u])&&nt})},L.observedAttributes=Array.from(new Set([...Object.keys(null!==(Te=te.$watchers$)&&void 0!==Te?Te:{}),...oe.filter(([et,Ge])=>15&Ge[0]).map(([et,Ge])=>{const nt=Ge[1]||et;return Pe.set(nt,et),512&Ge[0]&&te.$attrsToReflect$.push([et,nt]),nt})]))}}return L},Me=function(){var L=(0,o.Z)(function*(te,Se,Te,oe){let Ee;if(!(32&Se.$flags$)){Se.$flags$|=32;{if(Ee=kn(Te),Ee.then){const nt=()=>{};Ee=yield Ee,nt()}Ee.isProxied||(Te.$watchers$=Ee.watchers,me(Ee,Te,2),Ee.isProxied=!0);const Ge=()=>{};Se.$flags$|=8;try{new Ee(Se)}catch(nt){xt(nt)}Se.$flags$&=-9,Se.$flags$|=128,Ge(),Je(Se.$lazyInstance$)}if(Ee.style){let Ge=Ee.style;"string"!=typeof Ge&&(Ge=Ge[Se.$modeName$=(L=>cn.map(te=>te(L)).find(te=>!!te))(te)]);const nt=ut(Te,Se.$modeName$);if(!ln.has(nt)){const u=()=>{};Oe(nt,Ge,!!(1&Te.$flags$)),u()}}}const Pe=Se.$ancestorComponent$,et=()=>Bt(Se,!0);Pe&&Pe["s-rc"]?Pe["s-rc"].push(et):et()});return function(Se,Te,oe,Ee){return L.apply(this,arguments)}}(),Je=L=>{Zn(L,"connectedCallback")},Tt=L=>{const te=L["s-cr"]=un.createComment("");te["s-cn"]=!0,L.insertBefore(te,L.firstChild)},en=L=>{Zn(L,"disconnectedCallback")},Jt=function(){var L=(0,o.Z)(function*(te){if(!(1&_t.$flags$)){const Se=it(te);Se.$rmListeners$&&(Se.$rmListeners$.map(Te=>Te()),Se.$rmListeners$=void 0),Se?.$lazyInstance$?en(Se.$lazyInstance$):Se?.$onReadyPromise$&&Se.$onReadyPromise$.then(()=>en(Se.$lazyInstance$))}});return function(Se){return L.apply(this,arguments)}}(),Tn=(L,te={})=>{var Se;const oe=[],Ee=te.exclude||[],Pe=Ut.customElements,et=un.head,Ge=et.querySelector("meta[charset]"),nt=un.createElement("style"),u=[],j=un.querySelectorAll(`[${Ne}]`);let m,X=!0,Ae=0;for(Object.assign(_t,te),_t.$resourcesUrl$=new URL(te.resourcesUrl||"./",un.baseURI).href,_t.$flags$|=2;Ae{Ft[1].map(Bn=>{var ir;const jn={$flags$:Bn[0],$tagName$:Bn[1],$members$:Bn[2],$listeners$:Bn[3]};jn.$members$=Bn[2],jn.$listeners$=Bn[3],jn.$attrsToReflect$=[],jn.$watchers$=null!==(ir=Bn[4])&&void 0!==ir?ir:{};const Sr=jn.$tagName$,wo=class extends HTMLElement{constructor(vr){super(vr),Dt(vr=this,jn),1&jn.$flags$&&vr.attachShadow({mode:"open",delegatesFocus:!!(16&jn.$flags$)})}connectedCallback(){m&&(clearTimeout(m),m=null),X?u.push(this):_t.jmp(()=>(L=>{if(!(1&_t.$flags$)){const te=it(L),Se=te.$cmpMeta$,Te=()=>{};if(1&te.$flags$)xn(L,te,Se.$listeners$),te?.$lazyInstance$?Je(te.$lazyInstance$):te?.$onReadyPromise$&&te.$onReadyPromise$.then(()=>Je(te.$lazyInstance$));else{let oe;if(te.$flags$|=1,oe=L.getAttribute(ce),oe){if(1&Se.$flags$){const Ee=Xe(L.shadowRoot,Se,L.getAttribute("s-mode"));L.classList.remove(Ee+"-h",Ee+"-s")}((L,te,Se,Te)=>{const Ee=L.shadowRoot,Pe=[],Ge=Ee?[]:null,nt=Te.$vnode$=he(te,null);_t.$orgLocNodes$||ie(un.body,_t.$orgLocNodes$=new Map),L[ce]=Se,L.removeAttribute(ce),fe(nt,Pe,[],Ge,L,L,Se),Pe.map(u=>{const j=u.$hostId$+"."+u.$nodeId$,m=_t.$orgLocNodes$.get(j),X=u.$elm$;m&&Jn&&""===m["s-en"]&&m.parentNode.insertBefore(X,m.nextSibling),Ee||(X["s-hn"]=te,m&&(X["s-ol"]=m,X["s-ol"]["s-nr"]=X)),_t.$orgLocNodes$.delete(j)}),Ee&&Ge.map(u=>{u&&Ee.appendChild(u)})})(L,Se.$tagName$,oe,te)}oe||12&Se.$flags$&&Tt(L);{let Ee=L;for(;Ee=Ee.parentNode||Ee.host;)if(1===Ee.nodeType&&Ee.hasAttribute("s-id")&&Ee["s-p"]||Ee["s-p"]){or(te,te.$ancestorComponent$=Ee);break}}Se.$members$&&Object.entries(Se.$members$).map(([Ee,[Pe]])=>{if(31&Pe&&L.hasOwnProperty(Ee)){const et=L[Ee];delete L[Ee],L[Ee]=et}}),Me(L,te,Se)}Te()}})(this))}disconnectedCallback(){_t.jmp(()=>Jt(this))}componentOnReady(){return it(this).$onReadyPromise$}};jn.$lazyBundleId$=Ft[0],!Ee.includes(Sr)&&!Pe.get(Sr)&&(oe.push(Sr),Pe.define(Sr,me(wo,jn,1)))})});{nt.innerHTML=oe+"{visibility:hidden}.hydrated{visibility:inherit}",nt.setAttribute("data-styles","");const Ft=null!==(Se=_t.$nonce$)&&void 0!==Se?Se:de(un);null!=Ft&&nt.setAttribute("nonce",Ft),et.insertBefore(nt,Ge?Ge.nextSibling:et.firstChild)}X=!1,u.length?u.map(Ft=>Ft.connectedCallback()):_t.jmp(()=>m=setTimeout(qn,30))},xn=(L,te,Se,Te)=>{Se&&Se.map(([oe,Ee,Pe])=>{const et=Re(L,oe),Ge=sr(te,Pe),nt=Ce(oe);_t.ael(et,Ee,Ge,nt),(te.$rmListeners$=te.$rmListeners$||[]).push(()=>_t.rel(et,Ee,Ge,nt))})},sr=(L,te)=>Se=>{try{256&L.$flags$?L.$lazyInstance$[te](Se):(L.$queuedListeners$=L.$queuedListeners$||[]).push([te,Se])}catch(Te){xt(Te)}},Re=(L,te)=>4&te?un:8&te?Ut:16&te?un.body:L,Ce=L=>0!=(2&L),Qe=new WeakMap,it=L=>Qe.get(L),gt=(L,te)=>Qe.set(te.$lazyInstance$=L,te),Dt=(L,te)=>{const Se={$flags$:0,$hostElement$:L,$cmpMeta$:te,$instanceValues$:new Map};return Se.$onInstancePromise$=new Promise(Te=>Se.$onInstanceResolve$=Te),Se.$onReadyPromise$=new Promise(Te=>Se.$onReadyResolve$=Te),L["s-p"]=[],L["s-rc"]=[],xn(L,Se,te.$listeners$),Qe.set(L,Se)},sn=(L,te)=>te in L,xt=(L,te)=>(0,console.error)(L,te),an=new Map,kn=(L,te,Se)=>{const Te=L.$tagName$.replace(/-/g,"_"),oe=L.$lazyBundleId$,Ee=an.get(oe);return Ee?Ee[Te]:b(863)(`./${oe}.entry.js`).then(Pe=>(an.set(oe,Pe),Pe[Te]),xt)},ln=new Map,cn=[],Ut=typeof window<"u"?window:{},un=Ut.document||{head:{}},_t={$flags$:0,$resourcesUrl$:"",jmp:L=>L(),raf:L=>requestAnimationFrame(L),ael:(L,te,Se,Te)=>L.addEventListener(te,Se,Te),rel:(L,te,Se,Te)=>L.removeEventListener(te,Se,Te),ce:(L,te)=>new CustomEvent(L,te)},hn=L=>{Object.assign(_t,L)},Jn=!0,pn=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Nn=[],nr=[],Qn=(L,te)=>Se=>{L.push(Se),B||(B=!0,te&&4&_t.$flags$?lr(wr):_t.raf(wr))},ar=L=>{for(let te=0;te{ar(Nn),ar(nr),(B=Nn.length>0)&&_t.raf(wr)},lr=L=>Promise.resolve(void 0).then(L),mr=Qn(Nn,!1),Mn=Qn(nr,!0)},2036:(ct,je,b)=>{"use strict";b.d(je,{b:()=>O,c:()=>_,d:()=>q,e:()=>re,g:()=>se,l:()=>Be,s:()=>U,t:()=>V,w:()=>we});var o=b(5861),w=b(8411),ee=b(839);const O="ionViewWillLeave",_="ionViewDidLeave",q="ionViewWillUnload",V=de=>new Promise((H,he)=>{(0,w.w)(()=>{Q(de),S(de).then(De=>{De.animation&&De.animation.destroy(),z(de),H(De)},De=>{z(de),he(De)})})}),Q=de=>{const H=de.enteringEl,he=de.leavingEl;ge(H,he,de.direction),de.showGoBack?H.classList.add("can-go-back"):H.classList.remove("can-go-back"),U(H,!1),H.style.setProperty("pointer-events","none"),he&&(U(he,!1),he.style.setProperty("pointer-events","none"))},S=function(){var de=(0,o.Z)(function*(H){const he=yield D(H);return he&&w.B.isBrowser?k(he,H):P(H)});return function(he){return de.apply(this,arguments)}}(),z=de=>{const H=de.enteringEl,he=de.leavingEl;H.classList.remove("ion-page-invisible"),H.style.removeProperty("pointer-events"),void 0!==he&&(he.classList.remove("ion-page-invisible"),he.style.removeProperty("pointer-events"))},D=function(){var de=(0,o.Z)(function*(H){return H.leavingEl&&H.animated&&0!==H.duration?H.animationBuilder?H.animationBuilder:"ios"===H.mode?(yield Promise.resolve().then(b.bind(b,5944))).iosTransitionAnimation:(yield Promise.resolve().then(b.bind(b,7561))).mdTransitionAnimation:void 0});return function(he){return de.apply(this,arguments)}}(),k=function(){var de=(0,o.Z)(function*(H,he){yield ne(he,!0);const De=H(he.baseEl,he);ue(he.enteringEl,he.leavingEl);const Fe=yield Ne(De,he);return he.progressCallback&&he.progressCallback(void 0),Fe&&_e(he.enteringEl,he.leavingEl),{hasCompleted:Fe,animation:De}});return function(he,De){return de.apply(this,arguments)}}(),P=function(){var de=(0,o.Z)(function*(H){const he=H.enteringEl,De=H.leavingEl;return yield ne(H,!1),ue(he,De),_e(he,De),{hasCompleted:!0}});return function(he){return de.apply(this,arguments)}}(),ne=function(){var de=(0,o.Z)(function*(H,he){(void 0!==H.deepWait?H.deepWait:he)&&(yield Promise.all([re(H.enteringEl),re(H.leavingEl)])),yield ce(H.viewIsReady,H.enteringEl)});return function(he,De){return de.apply(this,arguments)}}(),ce=function(){var de=(0,o.Z)(function*(H,he){H&&(yield H(he))});return function(he,De){return de.apply(this,arguments)}}(),Ne=(de,H)=>{const he=H.progressCallback,De=new Promise(Fe=>{de.onFinish(qe=>Fe(1===qe))});return he?(de.progressStart(!0),he(de)):de.play(),De},ue=(de,H)=>{Be(H,O),Be(de,"ionViewWillEnter")},_e=(de,H)=>{Be(de,"ionViewDidEnter"),Be(H,_)},Be=(de,H)=>{if(de){const he=new CustomEvent(H,{bubbles:!1,cancelable:!1});de.dispatchEvent(he)}},we=()=>new Promise(de=>(0,ee.r)(()=>(0,ee.r)(()=>de()))),re=function(){var de=(0,o.Z)(function*(H){const he=H;if(he){if(null!=he.componentOnReady){if(null!=(yield he.componentOnReady()))return}else if(null!=he.__registerHost)return void(yield new Promise(Fe=>(0,ee.r)(Fe)));yield Promise.all(Array.from(he.children).map(re))}});return function(he){return de.apply(this,arguments)}}(),U=(de,H)=>{H?(de.setAttribute("aria-hidden","true"),de.classList.add("ion-page-hidden")):(de.hidden=!1,de.removeAttribute("aria-hidden"),de.classList.remove("ion-page-hidden"))},ge=(de,H,he)=>{void 0!==de&&(de.style.zIndex="back"===he?"99":"101"),void 0!==H&&(H.style.zIndex="100")},se=de=>de.classList.contains("ion-page")?de:de.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||de},9203:(ct,je,b)=>{"use strict";b.r(je),b.d(je,{GESTURE_CONTROLLER:()=>o.G,createGesture:()=>I});var o=b(619);const w=(S,z,D,k)=>{const P=ee(S)?{capture:!!k.capture,passive:!!k.passive}:!!k.capture;let ne,ce;return S.__zone_symbol__addEventListener?(ne="__zone_symbol__addEventListener",ce="__zone_symbol__removeEventListener"):(ne="addEventListener",ce="removeEventListener"),S[ne](z,D,P),()=>{S[ce](z,D,P)}},ee=S=>{if(void 0===ae)try{const z=Object.defineProperty({},"passive",{get:()=>{ae=!0}});S.addEventListener("optsTest",()=>{},z)}catch{ae=!1}return!!ae};let ae;const _=S=>S instanceof Document?S:S.ownerDocument,I=S=>{let z=!1,D=!1,k=!0,P=!1;const ne=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},S),ce=ne.canStart,Ne=ne.onWillStart,ue=ne.onStart,_e=ne.onEnd,Be=ne.notCaptured,we=ne.onMove,re=ne.threshold,U=ne.passive,ge=ne.blurOnStart,se={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},de=((S,z,D)=>{const k=D*(Math.PI/180),P="x"===S,ne=Math.cos(k),ce=z*z;let Ne=0,ue=0,_e=!1,Be=0;return{start(we,re){Ne=we,ue=re,Be=0,_e=!0},detect(we,re){if(!_e)return!1;const U=we-Ne,ge=re-ue,se=U*U+ge*ge;if(sene?1:H<-ne?-1:0,_e=!1,!0},isGesture:()=>0!==Be,getDirection:()=>Be}})(ne.direction,ne.threshold,ne.maxAngle),H=o.G.createGesture({name:S.gestureName,priority:S.gesturePriority,disableScroll:S.disableScroll}),Fe=()=>{z&&(P=!1,we&&we(se))},qe=()=>!!H.capture()&&(z=!0,k=!1,se.startX=se.currentX,se.startY=se.currentY,se.startTime=se.currentTime,Ne?Ne(se).then(Z):Z(),!0),Z=()=>{ge&&(()=>{if(typeof document<"u"){const ke=document.activeElement;ke?.blur&&ke.blur()}})(),ue&&ue(se),k=!0},Y=()=>{z=!1,D=!1,P=!1,k=!0,H.release()},fe=ke=>{const at=z,yt=k;if(Y(),yt){if(B(se,ke),at)return void(_e&&_e(se));Be&&Be(se)}},ie=((S,z,D,k,P)=>{let ne,ce,Ne,ue,_e,Be,we,re=0;const U=Le=>{re=Date.now()+2e3,z(Le)&&(!ce&&D&&(ce=w(S,"touchmove",D,P)),Ne||(Ne=w(Le.target,"touchend",se,P)),ue||(ue=w(Le.target,"touchcancel",se,P)))},ge=Le=>{re>Date.now()||z(Le)&&(!Be&&D&&(Be=w(_(S),"mousemove",D,P)),we||(we=w(_(S),"mouseup",de,P)))},se=Le=>{H(),k&&k(Le)},de=Le=>{he(),k&&k(Le)},H=()=>{ce&&ce(),Ne&&Ne(),ue&&ue(),ce=Ne=ue=void 0},he=()=>{Be&&Be(),we&&we(),Be=we=void 0},De=()=>{H(),he()},Fe=(Le=!0)=>{Le?(ne||(ne=w(S,"touchstart",U,P)),_e||(_e=w(S,"mousedown",ge,P))):(ne&&ne(),_e&&_e(),ne=_e=void 0,De())};return{enable:Fe,stop:De,destroy:()=>{Fe(!1),k=D=z=void 0}}})(ne.el,ke=>{const at=Q(ke);return!(D||!k||(V(ke,se),se.startX=se.currentX,se.startY=se.currentY,se.startTime=se.currentTime=at,se.velocityX=se.velocityY=se.deltaX=se.deltaY=0,se.event=ke,ce&&!1===ce(se))||(H.release(),!H.start()))&&(D=!0,0===re?qe():(de.start(se.startX,se.startY),!0))},ke=>{z?!P&&k&&(P=!0,B(se,ke),requestAnimationFrame(Fe)):(B(se,ke),de.detect(se.currentX,se.currentY)&&(!de.isGesture()||!qe())&&Ve())},fe,{capture:!1,passive:U}),Ve=()=>{Y(),ie.stop(),Be&&Be(se)};return{enable(ke=!0){ke||(z&&fe(void 0),Y()),ie.enable(ke)},destroy(){H.destroy(),ie.destroy()}}},B=(S,z)=>{if(!z)return;const D=S.currentX,k=S.currentY,P=S.currentTime;V(z,S);const ne=S.currentX,ce=S.currentY,ue=(S.currentTime=Q(z))-P;if(ue>0&&ue<100){const Be=(ce-k)/ue;S.velocityX=(ne-D)/ue*.7+.3*S.velocityX,S.velocityY=.7*Be+.3*S.velocityY}S.deltaX=ne-S.startX,S.deltaY=ce-S.startY,S.event=z},V=(S,z)=>{let D=0,k=0;if(S){const P=S.changedTouches;if(P&&P.length>0){const ne=P[0];D=ne.clientX,k=ne.clientY}else void 0!==S.pageX&&(D=S.pageX,k=S.pageY)}z.currentX=D,z.currentY=k},Q=S=>S.timeStamp||Date.now()},3395:(ct,je,b)=>{"use strict";b.d(je,{a:()=>V,b:()=>Fe,c:()=>ee,i:()=>qe});var o=b(8411);class w{constructor(){this.m=new Map}reset(Z){this.m=new Map(Object.entries(Z))}get(Z,Y){const fe=this.m.get(Z);return void 0!==fe?fe:Y}getBoolean(Z,Y=!1){const fe=this.m.get(Z);return void 0===fe?Y:"string"==typeof fe?"true"===fe:!!fe}getNumber(Z,Y){const fe=parseFloat(this.m.get(Z));return isNaN(fe)?void 0!==Y?Y:NaN:fe}set(Z,Y){this.m.set(Z,Y)}}const ee=new w,q="ionic:",I="ionic-persist-config",V=(Le,Z)=>("string"==typeof Le&&(Z=Le,Le=void 0),(Le=>Q(Le))(Le).includes(Z)),Q=(Le=window)=>{if(typeof Le>"u")return[];Le.Ionic=Le.Ionic||{};let Z=Le.Ionic.platforms;return null==Z&&(Z=Le.Ionic.platforms=S(Le),Z.forEach(Y=>Le.document.documentElement.classList.add(`plt-${Y}`))),Z},S=Le=>{const Z=ee.get("platform");return Object.keys(he).filter(Y=>{const fe=Z?.[Y];return"function"==typeof fe?fe(Le):he[Y](Le)})},D=Le=>!!(de(Le,/iPad/i)||de(Le,/Macintosh/i)&&_e(Le)),ne=Le=>de(Le,/android|sink/i),_e=Le=>H(Le,"(any-pointer:coarse)"),we=Le=>re(Le)||U(Le),re=Le=>!!(Le.cordova||Le.phonegap||Le.PhoneGap),U=Le=>{const Z=Le.Capacitor;return!!Z?.isNative},de=(Le,Z)=>Z.test(Le.navigator.userAgent),H=(Le,Z)=>{var Y;return null===(Y=Le.matchMedia)||void 0===Y?void 0:Y.call(Le,Z).matches},he={ipad:D,iphone:Le=>de(Le,/iPhone/i),ios:Le=>de(Le,/iPhone|iPod/i)||D(Le),android:ne,phablet:Le=>{const Z=Le.innerWidth,Y=Le.innerHeight,fe=Math.min(Z,Y),ie=Math.max(Z,Y);return fe>390&&fe<520&&ie>620&&ie<800},tablet:Le=>{const Z=Le.innerWidth,Y=Le.innerHeight,fe=Math.min(Z,Y),ie=Math.max(Z,Y);return D(Le)||(Le=>ne(Le)&&!de(Le,/mobile/i))(Le)||fe>460&&fe<820&&ie>780&&ie<1400},cordova:re,capacitor:U,electron:Le=>de(Le,/electron/i),pwa:Le=>{var Z;return!!(null!==(Z=Le.matchMedia)&&void 0!==Z&&Z.call(Le,"(display-mode: standalone)").matches||Le.navigator.standalone)},mobile:_e,mobileweb:Le=>_e(Le)&&!we(Le),desktop:Le=>!_e(Le),hybrid:we};let De;const Fe=Le=>Le&&(0,o.g)(Le)||De,qe=(Le={})=>{if(typeof window>"u")return;const Z=window.document,Y=window,fe=Y.Ionic=Y.Ionic||{},ie={};Le._ael&&(ie.ael=Le._ael),Le._rel&&(ie.rel=Le._rel),Le._ce&&(ie.ce=Le._ce),(0,o.a)(ie);const Ve=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(Le=>{try{const Z=Le.sessionStorage.getItem(I);return null!==Z?JSON.parse(Z):{}}catch{return{}}})(Y)),{persistConfig:!1}),fe.config),(Le=>{const Z={};return Le.location.search.slice(1).split("&").map(Y=>Y.split("=")).map(([Y,fe])=>[decodeURIComponent(Y),decodeURIComponent(fe)]).filter(([Y])=>((Le,Z)=>Le.substr(0,Z.length)===Z)(Y,q)).map(([Y,fe])=>[Y.slice(6),fe]).forEach(([Y,fe])=>{Z[Y]=fe}),Z})(Y)),Le);ee.reset(Ve),ee.getBoolean("persistConfig")&&((Le,Z)=>{try{Le.sessionStorage.setItem(I,JSON.stringify(Z))}catch{return}})(Y,Ve),Q(Y),fe.config=ee,fe.mode=De=ee.get("mode",Z.documentElement.getAttribute("mode")||(V(Y,"ios")?"ios":"md")),ee.set("mode",De),Z.documentElement.setAttribute("mode",De),Z.documentElement.classList.add(De),ee.getBoolean("_testing")&&ee.set("animated",!1);const ke=yt=>{var ft;return null===(ft=yt.tagName)||void 0===ft?void 0:ft.startsWith("ION-")},at=yt=>["ios","md"].includes(yt);(0,o.c)(yt=>{for(;yt;){const ft=yt.mode||yt.getAttribute("mode");if(ft){if(at(ft))return ft;ke(yt)&&console.warn('Invalid ionic mode: "'+ft+'", expected: "ios" or "md"')}yt=yt.parentElement}return De})}},5944:(ct,je,b)=>{"use strict";b.r(je),b.d(je,{iosTransitionAnimation:()=>S,shadow:()=>_});var o=b(6410),w=b(2036);b(9938),b(8411);const O=D=>document.querySelector(`${D}.ion-cloned-element`),_=D=>D.shadowRoot||D,q=D=>{const k="ION-TABS"===D.tagName?D:D.querySelector("ion-tabs"),P="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=k){const ne=k.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=ne?ne.querySelector(P):null}return D.querySelector(P)},I=(D,k)=>{const P="ION-TABS"===D.tagName?D:D.querySelector("ion-tabs");let ne=[];if(null!=P){const ce=P.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=ce&&(ne=ce.querySelectorAll("ion-buttons"))}else ne=D.querySelectorAll("ion-buttons");for(const ce of ne){const Ne=ce.closest("ion-header"),ue=Ne&&!Ne.classList.contains("header-collapse-condense-inactive"),_e=ce.querySelector("ion-back-button"),Be=ce.classList.contains("buttons-collapse");if(null!==_e&&("start"===ce.slot||""===ce.slot)&&(Be&&ue&&k||!Be))return _e}return null},V=(D,k,P,ne,ce,Ne,ue,_e,Be)=>{var we,re;const U=k?`calc(100% - ${ce.right+4}px)`:ce.left-4+"px",ge=k?"right":"left",se=k?"left":"right",de=k?"right":"left",H=(null===(we=Ne.textContent)||void 0===we?void 0:we.trim())===(null===(re=_e.textContent)||void 0===re?void 0:re.trim()),De=(Be.height-z)/ue.height,Fe=H?`scale(${Be.width/ue.width}, ${De})`:`scale(${De})`,qe="scale(1)",Z=_(ne).querySelector("ion-icon").getBoundingClientRect(),Y=k?Z.width/2-(Z.right-ce.right)+"px":ce.left-Z.width/2+"px",fe=k?`-${window.innerWidth-ce.right}px`:`${ce.left}px`,ie=`${Be.top}px`,Ve=`${ce.top}px`,yt=P?[{offset:0,transform:`translate3d(${fe}, ${Ve}, 0)`},{offset:1,transform:`translate3d(${Y}, ${ie}, 0)`}]:[{offset:0,transform:`translate3d(${Y}, ${ie}, 0)`},{offset:1,transform:`translate3d(${fe}, ${Ve}, 0)`}],Ot=P?[{offset:0,opacity:1,transform:qe},{offset:1,opacity:0,transform:Fe}]:[{offset:0,opacity:0,transform:Fe},{offset:1,opacity:1,transform:qe}],Xe=P?[{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)"}],Ue=(0,o.c)(),ut=(0,o.c)(),pt=(0,o.c)(),mt=O("ion-back-button"),Vt=_(mt).querySelector(".button-text"),At=_(mt).querySelector("ion-icon");mt.text=ne.text,mt.mode=ne.mode,mt.icon=ne.icon,mt.color=ne.color,mt.disabled=ne.disabled,mt.style.setProperty("display","block"),mt.style.setProperty("position","fixed"),ut.addElement(At),Ue.addElement(Vt),pt.addElement(mt),pt.beforeStyles({position:"absolute",top:"0px",[de]:"0px"}).keyframes(yt),Ue.beforeStyles({"transform-origin":`${ge} top`}).beforeAddWrite(()=>{ne.style.setProperty("display","none"),mt.style.setProperty(ge,U)}).afterAddWrite(()=>{ne.style.setProperty("display",""),mt.style.setProperty("display","none"),mt.style.removeProperty(ge)}).keyframes(Ot),ut.beforeStyles({"transform-origin":`${se} center`}).keyframes(Xe),D.addAnimation([Ue,ut,pt])},Q=(D,k,P,ne,ce,Ne,ue,_e)=>{var Be,we;const re=k?"right":"left",U=k?`calc(100% - ${ce.right}px)`:`${ce.left}px`,se=`${ce.top}px`,H=k?`-${window.innerWidth-_e.right-8}px`:_e.x-8+"px",De=_e.y-2+"px",Fe=(null===(Be=ue.textContent)||void 0===Be?void 0:Be.trim())===(null===(we=ne.textContent)||void 0===we?void 0:we.trim()),Le=_e.height/(Ne.height-z),Z="scale(1)",Y=Fe?`scale(${_e.width/Ne.width}, ${Le})`:`scale(${Le})`,Ve=P?[{offset:0,opacity:0,transform:`translate3d(${H}, ${De}, 0) ${Y}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${se}, 0) ${Z}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${se}, 0) ${Z}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${H}, ${De}, 0) ${Y}`}],ke=O("ion-title"),at=(0,o.c)();ke.innerText=ne.innerText,ke.size=ne.size,ke.color=ne.color,at.addElement(ke),at.beforeStyles({"transform-origin":`${re} top`,height:`${ce.height}px`,display:"",position:"relative",[re]:U}).beforeAddWrite(()=>{ne.style.setProperty("opacity","0")}).afterAddWrite(()=>{ne.style.setProperty("opacity",""),ke.style.setProperty("display","none")}).keyframes(Ve),D.addAnimation(at)},S=(D,k)=>{var P;try{const ne="cubic-bezier(0.32,0.72,0,1)",ce="opacity",Ne="transform",ue="0%",Be="rtl"===D.ownerDocument.dir,we=Be?"-99.5%":"99.5%",re=Be?"33%":"-33%",U=k.enteringEl,ge=k.leavingEl,se="back"===k.direction,de=U.querySelector(":scope > ion-content"),H=U.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),he=U.querySelectorAll(":scope > ion-header > ion-toolbar"),De=(0,o.c)(),Fe=(0,o.c)();if(De.addElement(U).duration((null!==(P=k.duration)&&void 0!==P?P:0)||540).easing(k.easing||ne).fill("both").beforeRemoveClass("ion-page-invisible"),ge&&null!=D){const Y=(0,o.c)();Y.addElement(D),De.addAnimation(Y)}if(de||0!==he.length||0!==H.length?(Fe.addElement(de),Fe.addElement(H)):Fe.addElement(U.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),De.addAnimation(Fe),se?Fe.beforeClearStyles([ce]).fromTo("transform",`translateX(${re})`,`translateX(${ue})`).fromTo(ce,.8,1):Fe.beforeClearStyles([ce]).fromTo("transform",`translateX(${we})`,`translateX(${ue})`),de){const Y=_(de).querySelector(".transition-effect");if(Y){const fe=Y.querySelector(".transition-cover"),ie=Y.querySelector(".transition-shadow"),Ve=(0,o.c)(),ke=(0,o.c)(),at=(0,o.c)();Ve.addElement(Y).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),ke.addElement(fe).beforeClearStyles([ce]).fromTo(ce,0,.1),at.addElement(ie).beforeClearStyles([ce]).fromTo(ce,.03,.7),Ve.addAnimation([ke,at]),Fe.addAnimation([Ve])}}const qe=U.querySelector("ion-header.header-collapse-condense"),{forward:Le,backward:Z}=((D,k,P,ne,ce)=>{const Ne=I(ne,P),ue=q(ce),_e=q(ne),Be=I(ce,P),we=null!==Ne&&null!==ue&&!P,re=null!==_e&&null!==Be&&P;if(we){const U=ue.getBoundingClientRect(),ge=Ne.getBoundingClientRect(),se=_(Ne).querySelector(".button-text"),de=se.getBoundingClientRect(),he=_(ue).querySelector(".toolbar-title").getBoundingClientRect();Q(D,k,P,ue,U,he,se,de),V(D,k,P,Ne,ge,se,de,ue,he)}else if(re){const U=_e.getBoundingClientRect(),ge=Be.getBoundingClientRect(),se=_(Be).querySelector(".button-text"),de=se.getBoundingClientRect(),he=_(_e).querySelector(".toolbar-title").getBoundingClientRect();Q(D,k,P,_e,U,he,se,de),V(D,k,P,Be,ge,se,de,_e,he)}return{forward:we,backward:re}})(De,Be,se,U,ge);if(he.forEach(Y=>{const fe=(0,o.c)();fe.addElement(Y),De.addAnimation(fe);const ie=(0,o.c)();ie.addElement(Y.querySelector("ion-title"));const Ve=(0,o.c)(),ke=Array.from(Y.querySelectorAll("ion-buttons,[menuToggle]")),at=Y.closest("ion-header"),yt=at?.classList.contains("header-collapse-condense-inactive");let ft;ft=ke.filter(se?Xe=>{const Ue=Xe.classList.contains("buttons-collapse");return Ue&&!yt||!Ue}:Xe=>!Xe.classList.contains("buttons-collapse")),Ve.addElement(ft);const bt=(0,o.c)();bt.addElement(Y.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const Ot=(0,o.c)();Ot.addElement(_(Y).querySelector(".toolbar-background"));const Ze=(0,o.c)(),Oe=Y.querySelector("ion-back-button");if(Oe&&Ze.addElement(Oe),fe.addAnimation([ie,Ve,bt,Ot,Ze]),Ve.fromTo(ce,.01,1),bt.fromTo(ce,.01,1),se)yt||ie.fromTo("transform",`translateX(${re})`,`translateX(${ue})`).fromTo(ce,.01,1),bt.fromTo("transform",`translateX(${re})`,`translateX(${ue})`),Ze.fromTo(ce,.01,1);else if(qe||ie.fromTo("transform",`translateX(${we})`,`translateX(${ue})`).fromTo(ce,.01,1),bt.fromTo("transform",`translateX(${we})`,`translateX(${ue})`),Ot.beforeClearStyles([ce,"transform"]),at?.translucent?Ot.fromTo("transform",Be?"translateX(-100%)":"translateX(100%)","translateX(0px)"):Ot.fromTo(ce,.01,"var(--opacity)"),Le||Ze.fromTo(ce,.01,1),Oe&&!Le){const Ue=(0,o.c)();Ue.addElement(_(Oe).querySelector(".button-text")).fromTo("transform",Be?"translateX(-100px)":"translateX(100px)","translateX(0px)"),fe.addAnimation(Ue)}}),ge){const Y=(0,o.c)(),fe=ge.querySelector(":scope > ion-content"),ie=ge.querySelectorAll(":scope > ion-header > ion-toolbar"),Ve=ge.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(fe||0!==ie.length||0!==Ve.length?(Y.addElement(fe),Y.addElement(Ve)):Y.addElement(ge.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),De.addAnimation(Y),se){Y.beforeClearStyles([ce]).fromTo("transform",`translateX(${ue})`,Be?"translateX(-100%)":"translateX(100%)");const ke=(0,w.g)(ge);De.afterAddWrite(()=>{"normal"===De.getDirection()&&ke.style.setProperty("display","none")})}else Y.fromTo("transform",`translateX(${ue})`,`translateX(${re})`).fromTo(ce,1,.8);if(fe){const ke=_(fe).querySelector(".transition-effect");if(ke){const at=ke.querySelector(".transition-cover"),yt=ke.querySelector(".transition-shadow"),ft=(0,o.c)(),bt=(0,o.c)(),Ot=(0,o.c)();ft.addElement(ke).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),bt.addElement(at).beforeClearStyles([ce]).fromTo(ce,.1,0),Ot.addElement(yt).beforeClearStyles([ce]).fromTo(ce,.7,.03),ft.addAnimation([bt,Ot]),Y.addAnimation([ft])}}ie.forEach(ke=>{const at=(0,o.c)();at.addElement(ke);const yt=(0,o.c)();yt.addElement(ke.querySelector("ion-title"));const ft=(0,o.c)(),bt=ke.querySelectorAll("ion-buttons,[menuToggle]"),Ot=ke.closest("ion-header"),Ze=Ot?.classList.contains("header-collapse-condense-inactive"),Oe=Array.from(bt).filter(Vt=>{const At=Vt.classList.contains("buttons-collapse");return At&&!Ze||!At});ft.addElement(Oe);const Xe=(0,o.c)(),Ue=ke.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");Ue.length>0&&Xe.addElement(Ue);const ut=(0,o.c)();ut.addElement(_(ke).querySelector(".toolbar-background"));const pt=(0,o.c)(),mt=ke.querySelector("ion-back-button");if(mt&&pt.addElement(mt),at.addAnimation([yt,ft,Xe,pt,ut]),De.addAnimation(at),pt.fromTo(ce,.99,0),ft.fromTo(ce,.99,0),Xe.fromTo(ce,.99,0),se){if(Ze||yt.fromTo("transform",`translateX(${ue})`,Be?"translateX(-100%)":"translateX(100%)").fromTo(ce,.99,0),Xe.fromTo("transform",`translateX(${ue})`,Be?"translateX(-100%)":"translateX(100%)"),ut.beforeClearStyles([ce,"transform"]),Ot?.translucent?ut.fromTo("transform","translateX(0px)",Be?"translateX(-100%)":"translateX(100%)"):ut.fromTo(ce,"var(--opacity)",0),mt&&!Z){const At=(0,o.c)();At.addElement(_(mt).querySelector(".button-text")).fromTo("transform",`translateX(${ue})`,`translateX(${(Be?-124:124)+"px"})`),at.addAnimation(At)}}else Ze||yt.fromTo("transform",`translateX(${ue})`,`translateX(${re})`).fromTo(ce,.99,0).afterClearStyles([Ne,ce]),Xe.fromTo("transform",`translateX(${ue})`,`translateX(${re})`).afterClearStyles([Ne,ce]),pt.afterClearStyles([ce]),yt.afterClearStyles([ce]),ft.afterClearStyles([ce])})}return De}catch(ne){throw ne}},z=10},7561:(ct,je,b)=>{"use strict";b.r(je),b.d(je,{mdTransitionAnimation:()=>R});var o=b(6410),w=b(2036);b(9938),b(8411);const R=(O,_)=>{var q,I,B;const V="40px",S="back"===_.direction,D=_.leavingEl,k=(0,w.g)(_.enteringEl),P=k.querySelector("ion-toolbar"),ne=(0,o.c)();if(ne.addElement(k).fill("both").beforeRemoveClass("ion-page-invisible"),S?ne.duration((null!==(q=_.duration)&&void 0!==q?q:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):ne.duration((null!==(I=_.duration)&&void 0!==I?I:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${V})`,"translateY(0px)").fromTo("opacity",.01,1),P){const ce=(0,o.c)();ce.addElement(P),ne.addAnimation(ce)}if(D&&S){ne.duration((null!==(B=_.duration)&&void 0!==B?B:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const ce=(0,o.c)();ce.addElement((0,w.g)(D)).onFinish(Ne=>{1===Ne&&ce.elements.length>0&&ce.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${V})`).fromTo("opacity",1,0),ne.addAnimation(ce)}return ne}},3645:(ct,je,b)=>{"use strict";b.d(je,{B:()=>yt,G:()=>ft,a:()=>Q,b:()=>S,c:()=>P,d:()=>bt,e:()=>Ot,f:()=>Fe,g:()=>Le,h:()=>fe,i:()=>Ve,j:()=>ce,k:()=>Ne,n:()=>B,o:()=>Be,q:()=>he,s:()=>at});var o=b(5861),w=b(9938),ee=b(3395),ae=b(6559),R=b(2124),O=b(839),_=b(6710);let q=0,I=0;const B=new WeakMap,V=Ze=>({create:Oe=>ue(Ze,Oe),dismiss:(Oe,Xe,Ue)=>se(document,Oe,Xe,Ze,Ue),getTop:()=>(0,o.Z)(function*(){return he(document,Ze)})()}),Q=V("ion-alert"),S=V("ion-action-sheet"),P=V("ion-popover"),ce=Ze=>{typeof document<"u"&&ge(document);const Oe=q++;Ze.overlayIndex=Oe},Ne=Ze=>(Ze.hasAttribute("id")||(Ze.id="ion-overlay-"+ ++I),Ze.id),ue=(Ze,Oe)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(Ze).then(()=>{const Xe=document.createElement(Ze);return Xe.classList.add("overlay-hidden"),Object.assign(Xe,Object.assign(Object.assign({},Oe),{hasController:!0})),Z(document).appendChild(Xe),new Promise(Ue=>(0,O.c)(Xe,Ue))}):Promise.resolve(),_e='[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])',Be=(Ze,Oe)=>{let Xe=Ze.querySelector(_e);const Ue=Xe?.shadowRoot;Ue&&(Xe=Ue.querySelector(_e)||Xe),Xe?(0,O.f)(Xe):Oe.focus()},re=(Ze,Oe)=>{const Xe=Array.from(Ze.querySelectorAll(_e));let Ue=Xe.length>0?Xe[Xe.length-1]:null;const ut=Ue?.shadowRoot;ut&&(Ue=ut.querySelector(_e)||Ue),Ue?Ue.focus():Oe.focus()},ge=Ze=>{0===q&&(q=1,Ze.addEventListener("focus",Oe=>{((Ze,Oe)=>{const Xe=he(Oe,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),Ue=Ze.target;Xe&&Ue&&!Xe.classList.contains("ion-disable-focus-trap")&&(Xe.shadowRoot?(()=>{if(Xe.contains(Ue))Xe.lastFocus=Ue;else{const mt=Xe.lastFocus;Be(Xe,Xe),mt===Oe.activeElement&&re(Xe,Xe),Xe.lastFocus=Oe.activeElement}})():(()=>{if(Xe===Ue)Xe.lastFocus=void 0;else{const mt=(0,O.g)(Xe);if(!mt.contains(Ue))return;const Vt=mt.querySelector(".ion-overlay-wrapper");if(!Vt)return;if(Vt.contains(Ue)||Ue===mt.querySelector("ion-backdrop"))Xe.lastFocus=Ue;else{const At=Xe.lastFocus;Be(Vt,Xe),At===Oe.activeElement&&re(Vt,Xe),Xe.lastFocus=Oe.activeElement}}})())})(Oe,Ze)},!0),Ze.addEventListener("ionBackButton",Oe=>{const Xe=he(Ze);Xe?.backdropDismiss&&Oe.detail.register(R.OVERLAY_BACK_BUTTON_PRIORITY,()=>Xe.dismiss(void 0,yt))}),Ze.addEventListener("keydown",Oe=>{if("Escape"===Oe.key){const Xe=he(Ze);Xe?.backdropDismiss&&Xe.dismiss(void 0,yt)}}))},se=(Ze,Oe,Xe,Ue,ut)=>{const pt=he(Ze,Ue,ut);return pt?pt.dismiss(Oe,Xe):Promise.reject("overlay does not exist")},H=(Ze,Oe)=>((Ze,Oe)=>(void 0===Oe&&(Oe="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(Ze.querySelectorAll(Oe)).filter(Xe=>Xe.overlayIndex>0)))(Ze,Oe).filter(Xe=>!(Ze=>Ze.classList.contains("overlay-hidden"))(Xe)),he=(Ze,Oe,Xe)=>{const Ue=H(Ze,Oe);return void 0===Xe?Ue[Ue.length-1]:Ue.find(ut=>ut.id===Xe)},De=(Ze=!1)=>{const Xe=Z(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");Xe&&(Ze?Xe.setAttribute("aria-hidden","true"):Xe.removeAttribute("aria-hidden"))},Fe=function(){var Ze=(0,o.Z)(function*(Oe,Xe,Ue,ut,pt){var mt,Vt;if(Oe.presented)return;De(!0),Oe.presented=!0,Oe.willPresent.emit(),null===(mt=Oe.willPresentShorthand)||void 0===mt||mt.emit();const At=(0,ee.b)(Oe),Lt=Oe.enterAnimation?Oe.enterAnimation:ee.c.get(Xe,"ios"===At?Ue:ut);(yield Y(Oe,Lt,Oe.el,pt))&&(Oe.didPresent.emit(),null===(Vt=Oe.didPresentShorthand)||void 0===Vt||Vt.emit()),"ION-TOAST"!==Oe.el.tagName&&qe(Oe.el),Oe.keyboardClose&&(null===document.activeElement||!Oe.el.contains(document.activeElement))&&Oe.el.focus()});return function(Xe,Ue,ut,pt,mt){return Ze.apply(this,arguments)}}(),qe=function(){var Ze=(0,o.Z)(function*(Oe){let Xe=document.activeElement;if(!Xe)return;const Ue=Xe?.shadowRoot;Ue&&(Xe=Ue.querySelector(_e)||Xe),yield Oe.onDidDismiss(),Xe.focus()});return function(Xe){return Ze.apply(this,arguments)}}(),Le=function(){var Ze=(0,o.Z)(function*(Oe,Xe,Ue,ut,pt,mt,Vt){var At,Lt;if(!Oe.presented)return!1;void 0!==w.d&&1===H(w.d).length&&De(!1),Oe.presented=!1;try{Oe.el.style.setProperty("pointer-events","none"),Oe.willDismiss.emit({data:Xe,role:Ue}),null===(At=Oe.willDismissShorthand)||void 0===At||At.emit({data:Xe,role:Ue});const $t=(0,ee.b)(Oe),wn=Oe.leaveAnimation?Oe.leaveAnimation:ee.c.get(ut,"ios"===$t?pt:mt);Ue!==ft&&(yield Y(Oe,wn,Oe.el,Vt)),Oe.didDismiss.emit({data:Xe,role:Ue}),null===(Lt=Oe.didDismissShorthand)||void 0===Lt||Lt.emit({data:Xe,role:Ue}),B.delete(Oe),Oe.el.classList.add("overlay-hidden"),Oe.el.style.removeProperty("pointer-events"),void 0!==Oe.el.lastFocus&&(Oe.el.lastFocus=void 0)}catch($t){console.error($t)}return Oe.el.remove(),!0});return function(Xe,Ue,ut,pt,mt,Vt,At){return Ze.apply(this,arguments)}}(),Z=Ze=>Ze.querySelector("ion-app")||Ze.body,Y=function(){var Ze=(0,o.Z)(function*(Oe,Xe,Ue,ut){Ue.classList.remove("overlay-hidden");const mt=Xe(Oe.el,ut);(!Oe.animated||!ee.c.getBoolean("animated",!0))&&mt.duration(0),Oe.keyboardClose&&mt.beforeAddWrite(()=>{const At=Ue.ownerDocument.activeElement;At?.matches("input,ion-input, ion-textarea")&&At.blur()});const Vt=B.get(Oe)||[];return B.set(Oe,[...Vt,mt]),yield mt.play(),!0});return function(Xe,Ue,ut,pt){return Ze.apply(this,arguments)}}(),fe=(Ze,Oe)=>{let Xe;const Ue=new Promise(ut=>Xe=ut);return ie(Ze,Oe,ut=>{Xe(ut.detail)}),Ue},ie=(Ze,Oe,Xe)=>{const Ue=ut=>{(0,O.b)(Ze,Oe,Ue),Xe(ut)};(0,O.a)(Ze,Oe,Ue)},Ve=Ze=>"cancel"===Ze||Ze===yt,ke=Ze=>Ze(),at=(Ze,Oe)=>{if("function"==typeof Ze)return ee.c.get("_zoneGate",ke)(()=>{try{return Ze(Oe)}catch(Ue){throw Ue}})},yt="backdrop",ft="gesture",bt=Ze=>{let Xe,Oe=!1;const Ue=(0,ae.C)(),ut=(Vt=!1)=>{if(Xe&&!Vt)return{delegate:Xe,inline:Oe};const{el:At,hasController:Lt,delegate:$t}=Ze;return Oe=null!==At.parentNode&&!Lt,Xe=Oe?$t||Ue:$t,{inline:Oe,delegate:Xe}};return{attachViewToDom:function(){var Vt=(0,o.Z)(function*(At){const{delegate:Lt}=ut(!0);if(Lt)return yield Lt.attachViewToDom(Ze.el,At);const{hasController:$t}=Ze;if($t&&void 0!==At)throw new Error("framework delegate is missing");return null});return function(Lt){return Vt.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:Vt}=ut();Vt&&void 0!==Ze.el&&Vt.removeViewFromDom(Ze.el.parentElement,Ze.el)}}},Ot=()=>{let Ze;const Oe=()=>{Ze&&(Ze(),Ze=void 0)};return{addClickListener:(Ue,ut)=>{Oe();const pt=void 0!==ut?document.getElementById(ut):null;pt?Ze=((Vt,At)=>{const Lt=()=>{At.present()};return Vt.addEventListener("click",Lt),()=>{Vt.removeEventListener("click",Lt)}})(pt,Ue):(0,_.p)(`A trigger element with the ID "${ut}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,Ue)},removeClickListener:Oe}}},9253:(ct,je,b)=>{"use strict";b.d(je,{v:()=>Q});var o=b(5612),w=b(9862),ee=b(5619),ae=b(8645),R=b(2096),O=b(4664),_=b(3020),q=b(7398),I=b(76),B=b(2029),V=b(4414);let Q=(()=>{class S extends o.iw{http;loadingCtrl;get competition(){return this._competition}get durchgang(){return this._durchgang}get geraet(){return this._geraet}get step(){return this._step}set currentUserName(D){localStorage.setItem("current_username",D)}get currentUserName(){return localStorage.getItem("current_username")}constructor(D,k){super(),this.http=D,this.loadingCtrl=k,this.showMessage.subscribe(P=>{this.resetLoading(),this.lastMessageAck=P}),this.resetLoading()}get activeDurchgangList(){return this._activeDurchgangList}get authenticatedClubId(){return localStorage.getItem("auth_clubid")}extractCompetitionLabel(D){return void 0!==D?D.titel+", am "+(D.datum+"T").split("T")[0].split("-").reverse().join("-"):""}get competitionName(){return this.extractCompetitionLabel(this.currentCompetition())}currentCompetition(){if(!this.competition)return;const D=this.competitions?.filter(k=>k.uuid===this.competition);return 1===D?.length?D[0]:void 0}externalLoaderSubscription;loggedIn=!1;stationFreezed=!1;captionmode=!1;loadingInstance;competitions;competitionSubject=new ee.X([]);durchgaenge;geraete;geraeteSubject=new ee.X([]);steps;wertungen;wertungenSubject=new ee.X([]);newLastResults=new ee.X(void 0);_clubregistrations=[];clubRegistrations=new ee.X([]);clubTeams={};askForUsername=new ae.x;lastMessageAck;_competition=void 0;_durchgang=void 0;_geraet=void 0;_step=void 0;lastJWTChecked=0;wertungenLoading=!1;isInitializing=!1;_activeDurchgangList=[];durchgangStarted=new ee.X([]);wertungUpdated=new ae.x;getCurrentStation(){return localStorage.getItem("current_station")||this.competition+"/"+this.durchgang+"/"+this.geraet+"/"+this.step}resetLoading(){this.loadingInstance&&(this.loadingInstance.then(D=>D.dismiss()),this.loadingInstance=void 0)}startLoading(D,k){return this.resetLoading(),this.loadingInstance=this.loadingCtrl.create({message:D}),this.loadingInstance.then(P=>P.present()),k&&k.subscribe({next:()=>this.resetLoading(),error:P=>this.resetLoading()}),k}initWithQuery(D){this.isInitializing=!0;const k=new ee.X(!1);return D&&D.startsWith("c=")?(this._step=1,D.split("&").forEach(P=>{const[ne,ce]=P.split("=");switch(ne){case"s":this.currentUserName||this.askForUsername.next(this),localStorage.setItem("auth_token",ce),localStorage.removeItem("auth_clubid"),this.checkJWT(ce);const Ne=localStorage.getItem("current_station");Ne&&this.initWithQuery(Ne);break;case"c":this._competition=ce;break;case"ca":this._competition=void 0;break;case"d":this._durchgang=ce;break;case"st":this._step=parseInt(ce);break;case"g":this._geraet=parseInt(ce),localStorage.setItem("current_station",D),this.checkJWT(),this.stationFreezed=!0;break;case"rs":localStorage.setItem("auth_token",ce),this.unlock(),this.loggedIn=!0,console.log("club auth-token initialized");break;case"rid":localStorage.setItem("auth_clubid",ce),console.log("club id initialized",ce)}}),localStorage.removeItem("external_load"),this.startLoading("Bitte warten ..."),this._geraet?this.getCompetitions().pipe((0,O.w)(()=>this.loadDurchgaenge()),(0,O.w)(()=>this.loadGeraete()),(0,O.w)(()=>this.loadSteps()),(0,O.w)(()=>this.loadWertungen())).subscribe(P=>k.next(!0)):!this._competition||"undefined"===this._competition&&!localStorage.getItem("auth_clubid")?(console.log("initializing clubreg ..."),this.getClubRegistrations(this._competition).subscribe(P=>k.next(!0))):this._competition&&this.getCompetitions().pipe((0,O.w)(()=>this.loadDurchgaenge())).subscribe(P=>k.next(!0))):k.next(!0),k.subscribe(P=>{P&&(this.isInitializing=!1,this.resetLoading())}),k}standardErrorHandler=D=>{if(console.log(D),this.resetLoading(),this.wertungenLoading=!1,this.isInitializing=!1,401===D.status)localStorage.removeItem("auth_token"),this.loggedIn=!1,this.showMessage.next({msg:"Die Berechtigung zum erfassen von Wertungen ist abgelaufen.",type:"Berechtigung"});else if(404===D.status)this.loggedIn=!1,this.stationFreezed=!1,this.captionmode=!1,this._competition=void 0,this._durchgang=void 0,this._geraet=void 0,this._step=void 0,localStorage.removeItem("auth_token"),localStorage.removeItem("current_competition"),localStorage.removeItem("current_station"),localStorage.removeItem("auth_clubid"),this.showMessage.next({msg:"Die aktuele Einstellung ist nicht mehr g\xfcltig und wird zur\xfcckgesetzt.",type:"Einstellung"});else{const k={msg:""+D.statusText+"
"+D.message,type:D.name};(!this.lastMessageAck||this.lastMessageAck.msg!==k.msg)&&this.showMessage.next(k)}};checkJWT(D){if(D||(D=localStorage.getItem("auth_token")),!D)return void(this.loggedIn=!1);const P=(new Date).getTime()-36e5;(!D||D===localStorage.getItem("auth_token"))&&P{localStorage.setItem("auth_token",ne.headers.get("x-access-token")),this.loggedIn=!0,this.competitions&&0!==this.competitions.length?this._competition&&this.getDurchgaenge(this._competition):this.getCompetitions().subscribe(ce=>{this._competition&&this.getDurchgaenge(this._competition)})},error:ne=>{console.log(ne),401===ne.status?(localStorage.removeItem("auth_token"),this.loggedIn=!1,this.showMessage.next({msg:"Die Berechtigung ist abgelaufen. Bitte neu anmelden",type:"Berechtigung"})):this.standardErrorHandler(ne)}}),this.lastJWTChecked=(new Date).getTime())}saveClubRegistration(D,k){const P=this.startLoading("Vereins-Anmeldung wird gespeichert. Bitte warten ...",this.http.put(I.AC+"api/registrations/"+D+"/"+k.id,k).pipe((0,_.B)()));return P.subscribe({next:ne=>{this._clubregistrations=[...this._clubregistrations.filter(ce=>ce.id!=k.id),ne],this.clubRegistrations.next(this._clubregistrations)},error:this.standardErrorHandler}),P}saveClubRegistrationPW(D,k){const P=this.startLoading("Neues Password wird gespeichert. Bitte warten ...",this.http.put(I.AC+"api/registrations/"+D+"/"+k.id+"/pwchange",k).pipe((0,_.B)()));return P.subscribe({next:ne=>{this._clubregistrations=[...this._clubregistrations.filter(ce=>ce.id!=k.id),ne],this.clubRegistrations.next(this._clubregistrations)},error:this.standardErrorHandler}),P}createClubRegistration(D,k){const P=this.startLoading("Vereins-Anmeldung wird registriert. Bitte warten ...",this.http.post(I.AC+"api/registrations/"+D,k,{observe:"response"}).pipe((0,q.U)(ne=>(console.log(ne),localStorage.setItem("auth_token",ne.headers.get("x-access-token")),localStorage.setItem("auth_clubid",ne.body.id+""),this.loggedIn=!0,ne.body)),(0,_.B)()));return P.subscribe({next:ne=>{this._clubregistrations=[...this._clubregistrations,ne],this.clubRegistrations.next(this._clubregistrations)},error:this.standardErrorHandler}),P}deleteClubRegistration(D,k){const P=this.startLoading("Vereins-Anmeldung wird gel\xf6scht. Bitte warten ...",this.http.delete(I.AC+"api/registrations/"+D+"/"+k,{responseType:"text"}).pipe((0,_.B)()));return P.subscribe({next:ne=>{this.clublogout(),this._clubregistrations=this._clubregistrations.filter(ce=>ce.id!=k),this.clubRegistrations.next(this._clubregistrations)},error:this.standardErrorHandler}),P}loadWKPrograms(){const D=this.startLoading("Programmliste wird geladen. Bitte warten ...",this.http.get(I.AC+"api/competition/programmlist").pipe((0,_.B)()));return D.subscribe({error:this.standardErrorHandler}),D}loadProgramsForCompetition(D){const k=this.startLoading("Programmliste zum Wettkampf wird geladen. Bitte warten ...",this.http.get(I.AC+"api/registrations/"+D+"/programmlist").pipe((0,_.B)()));return k.subscribe({error:this.standardErrorHandler}),k}loadTeamsListForClub(D,k){const P="api/registrations/"+D+"/"+k+"/teams";if(this.clubTeams.path===P)return(0,R.of)(this.clubTeams.teams);const ne=this.startLoading("Teamliste zum Club wird geladen. Bitte warten ...",this.http.get(I.AC+P).pipe((0,_.B)()));return ne.subscribe({next:ce=>{this.clubTeams={path:P,teams:ce}},error:this.standardErrorHandler}),ne}loadAthletListForClub(D,k){const P=this.startLoading("Athletliste zum Club wird geladen. Bitte warten ...",this.http.get(I.AC+"api/registrations/"+D+"/"+k+"/athletlist").pipe((0,_.B)()));return P.subscribe({next:ne=>{},error:this.standardErrorHandler}),P}loadAthletRegistrations(D,k){const P=this.startLoading("Athletliste zum Club wird geladen. Bitte warten ...",this.http.get(I.AC+"api/registrations/"+D+"/"+k+"/athletes").pipe((0,_.B)()));return P.subscribe({error:this.standardErrorHandler}),P}createAthletRegistration(D,k,P){const ne=this.startLoading("Anmeldung wird gespeichert. Bitte warten ...",this.http.post(I.AC+"api/registrations/"+D+"/"+k+"/athletes",P).pipe((0,_.B)()));return ne.subscribe({error:this.standardErrorHandler}),ne}saveAthletRegistration(D,k,P){const ne=this.startLoading("Anmeldung wird gespeichert. Bitte warten ...",this.http.put(I.AC+"api/registrations/"+D+"/"+k+"/athletes/"+P.id,P).pipe((0,_.B)()));return ne.subscribe({error:this.standardErrorHandler}),ne}deleteAthletRegistration(D,k,P){const ne=this.startLoading("Anmeldung wird gespeichert. Bitte warten ...",this.http.delete(I.AC+"api/registrations/"+D+"/"+k+"/athletes/"+P.id,{responseType:"text"}).pipe((0,_.B)()));return ne.subscribe({error:this.standardErrorHandler}),ne}findCompetitionsByVerein(D){const k=this.startLoading("Es werden fr\xfchere Anmeldungen gesucht. Bitte warten ...",this.http.get(I.AC+"api/competition/byVerein/"+D).pipe((0,_.B)()));return k.subscribe({error:this.standardErrorHandler}),k}copyClubRegsFromCompetition(D,k,P){const ne=this.startLoading("Anmeldung wird gespeichert. Bitte warten ...",this.http.put(I.AC+"api/registrations/"+k+"/"+P+"/copyfrom",D,{responseType:"text"}).pipe((0,_.B)()));return ne.subscribe({error:this.standardErrorHandler}),ne}loadJudgeProgramDisziplinList(D){const k=this.startLoading("Athletliste zum Club wird geladen. Bitte warten ...",this.http.get(I.AC+"api/registrations/"+D+"/programmdisziplinlist").pipe((0,_.B)()));return k.subscribe({error:this.standardErrorHandler}),k}loadJudgeRegistrations(D,k){const P=this.startLoading("Wertungsrichter-Liste zum Club wird geladen. Bitte warten ...",this.http.get(I.AC+"api/registrations/"+D+"/"+k+"/judges").pipe((0,_.B)()));return P.subscribe({error:this.standardErrorHandler}),P}createJudgeRegistration(D,k,P){const ne=this.startLoading("Anmeldung wird gespeichert. Bitte warten ...",this.http.post(I.AC+"api/registrations/"+D+"/"+k+"/judges",P).pipe((0,_.B)()));return ne.subscribe({error:this.standardErrorHandler}),ne}saveJudgeRegistration(D,k,P){const ne=this.startLoading("Anmeldung wird gespeichert. Bitte warten ...",this.http.put(I.AC+"api/registrations/"+D+"/"+k+"/judges/"+P.id,P).pipe((0,_.B)()));return ne.subscribe({error:this.standardErrorHandler}),ne}deleteJudgeRegistration(D,k,P){const ne=this.startLoading("Anmeldung wird gespeichert. Bitte warten ...",this.http.delete(I.AC+"api/registrations/"+D+"/"+k+"/judges/"+P.id,{responseType:"text"}).pipe((0,_.B)()));return ne.subscribe({error:this.standardErrorHandler}),ne}clublogout(){this.logout()}utf8_to_b64(D){return window.btoa(unescape(encodeURIComponent(D)))}b64_to_utf8(D){return decodeURIComponent(escape(window.atob(D)))}clublist=[];getClubList(){if(this.clublist&&this.clublist.length>0)return(0,R.of)(this.clublist);const D=this.startLoading("Clubliste wird geladen. Bitte warten ...",this.http.get(I.AC+"api/registrations/clubnames").pipe((0,_.B)()));return D.subscribe({next:k=>{this.clublist=k},error:this.standardErrorHandler}),D}resetRegistration(D){const k=new w.WM,P=this.http.options(I.AC+"api/registrations/"+this._competition+"/"+D+"/loginreset",{observe:"response",headers:k.set("Host",I.AC),responseType:"text"}).pipe((0,_.B)());return this.startLoading("Mail f\xfcr Login-Reset wird versendet. Bitte warten ...",P)}clublogin(D,k){this.clublogout();const P=new w.WM,ne=this.startLoading("Login wird verarbeitet. Bitte warten ...",this.http.options(I.AC+"api/login",{observe:"response",headers:P.set("Authorization","Basic "+this.utf8_to_b64(`${D}:${k}`)),withCredentials:!0,responseType:"text"}).pipe((0,_.B)()));return ne.subscribe({next:ce=>{console.log(ce),localStorage.setItem("auth_token",ce.headers.get("x-access-token")),localStorage.setItem("auth_clubid",D),this.loggedIn=!0},error:ce=>{console.log(ce),this.clublogout(),this.resetLoading(),401===ce.status?(localStorage.setItem("auth_token",ce.headers.get("x-access-token")),this.loggedIn=!1):this.standardErrorHandler(ce)}}),ne}unlock(){localStorage.removeItem("current_station"),this.checkJWT(),this.stationFreezed=!1}logout(){localStorage.removeItem("auth_token"),localStorage.removeItem("auth_clubid"),this.loggedIn=!1,this.unlock()}getCompetitions(){const D=this.startLoading("Wettkampfliste wird geladen. Bitte warten ...",this.http.get(I.AC+"api/competition").pipe((0,_.B)()));return D.subscribe({next:k=>{this.competitions=k,this.competitionSubject.next(k)},error:this.standardErrorHandler}),D}getClubRegistrations(D){return this.checkJWT(),void 0!==this._clubregistrations&&this._competition===D||this.isInitializing||(this.durchgaenge=[],this.clubTeams={},this._clubregistrations=[],this.geraete=void 0,this.steps=void 0,this.wertungen=void 0,this._competition=D,this._durchgang=void 0,this._geraet=void 0,this._step=void 0),this.loadClubRegistrations()}loadClubRegistrations(){return this._competition&&"undefined"!==this._competition?(this.startLoading("Clubanmeldungen werden geladen. Bitte warten ...",this.http.get(I.AC+"api/registrations/"+this._competition).pipe((0,_.B)())).subscribe({next:k=>{localStorage.setItem("current_competition",this._competition),this._clubregistrations=k,this.clubRegistrations.next(k)},error:this.standardErrorHandler}),this.clubRegistrations):(0,R.of)([])}loadRegistrationSyncActions(){if(!this._competition||"undefined"===this._competition)return(0,R.of)([]);const D=this.startLoading("Pendente An-/Abmeldungen werden geladen. Bitte warten ...",this.http.get(I.AC+"api/registrations/"+this._competition+"/syncactions").pipe((0,_.B)()));return D.subscribe({error:this.standardErrorHandler}),D}resetCompetition(D){console.log("reset data"),this.durchgaenge=[],this.clubTeams={},this._clubregistrations=[],this.clubRegistrations.next([]),this.geraete=void 0,this.geraeteSubject.next([]),this.steps=void 0,this.wertungen=void 0,this.wertungenSubject.next([]),this._competition=D,this._durchgang=void 0,this._geraet=void 0,this._step=void 0}getDurchgaenge(D){return this.checkJWT(),void 0!==this.durchgaenge&&this._competition===D||this.isInitializing?(0,R.of)(this.durchgaenge||[]):(this.resetCompetition(D),this.loadDurchgaenge())}loadDurchgaenge(){if(!this._competition||"undefined"===this._competition)return(0,R.of)([]);const D=this.startLoading("Durchgangliste wird geladen. Bitte warten ...",this.http.get(I.AC+"api/durchgang/"+this._competition).pipe((0,_.B)())),k=this._durchgang;return D.subscribe({next:P=>{if(localStorage.setItem("current_competition",this._competition),this.durchgaenge=P,k){const ne=this.durchgaenge.filter(ce=>{const Ne=(0,o._5)(ce);return k===ce||k===Ne});1===ne.length&&(this._durchgang=ne[0])}},error:this.standardErrorHandler}),D}getGeraete(D,k){return void 0!==this.geraete&&this._competition===D&&this._durchgang===k||this.isInitializing?(0,R.of)(this.geraete||[]):(this.geraete=[],this.steps=void 0,this.wertungen=void 0,this._competition=D,this._durchgang=k,this._geraet=void 0,this._step=void 0,this.captionmode=!0,this.loadGeraete())}loadGeraete(){if(this.geraete=[],!this._competition||"undefined"===this._competition)return console.log("reusing geraetelist"),(0,R.of)([]);console.log("renewing geraetelist");let D="";D=this.captionmode&&this._durchgang&&"undefined"!==this._durchgang?I.AC+"api/durchgang/"+this._competition+"/"+(0,o.gT)(this._durchgang):I.AC+"api/durchgang/"+this._competition+"/geraete";const k=this.startLoading("Ger\xe4te zum Durchgang werden geladen. Bitte warten ...",this.http.get(D).pipe((0,_.B)()));return k.subscribe({next:P=>{this.geraete=P,this.geraeteSubject.next(this.geraete)},error:this.standardErrorHandler}),k}getSteps(D,k,P){if(void 0!==this.steps&&this._competition===D&&this._durchgang===k&&this._geraet===P||this.isInitializing)return(0,R.of)(this.steps||[]);this.steps=[],this.wertungen=void 0,this._competition=D,this._durchgang=k,this._geraet=P,this._step=void 0;const ne=this.loadSteps();return ne.subscribe({next:ce=>{this.steps=ce.map(Ne=>parseInt(Ne)),(void 0===this._step||this.steps.indexOf(this._step)<0)&&(this._step=this.steps[0],this.loadWertungen())},error:this.standardErrorHandler}),ne}loadSteps(){if(this.steps=[],!this._competition||"undefined"===this._competition||!this._durchgang||"undefined"===this._durchgang||void 0===this._geraet)return(0,R.of)([]);const D=this.startLoading("Stationen zum Ger\xe4t werden geladen. Bitte warten ...",this.http.get(I.AC+"api/durchgang/"+this._competition+"/"+(0,o.gT)(this._durchgang)+"/"+this._geraet).pipe((0,_.B)()));return D.subscribe({next:k=>{this.steps=k,this._step{this.wertungenLoading=!1,this._step!==D?this.loadWertungen():(this.wertungen=P,this.wertungenSubject.next(this.wertungen))},error:this.standardErrorHandler}),k}loadAthletWertungen(D,k){return this.activateNonCaptionMode(D),this.startLoading("Wertungen werden geladen. Bitte warten ...",this.http.get(I.AC+`api/athlet/${this._competition}/${k}`).pipe((0,_.B)()))}activateNonCaptionMode(D){return this._competition!==D||this.captionmode||!this.geraete||0===this.geraete.length||D&&!this.isWebsocketConnected()?(this.captionmode=!1,this._competition=D,this.disconnectWS(!0),this.initWebsocket(),this.loadGeraete()):(0,R.of)(this.geraete)}loadStartlist(D){return this._competition?this.startLoading("Teilnehmerliste wird geladen. Bitte warten ...",D?this.http.get(I.AC+"api/report/"+this._competition+"/startlist?q="+D).pipe((0,_.B)()):this.http.get(I.AC+"api/report/"+this._competition+"/startlist").pipe((0,_.B)())):(0,R.of)()}isMessageAck(D){return"MessageAck"===D.type}updateWertung(D,k,P,ne){const ce=ne.wettkampfUUID,Ne=new ae.x;return this.shouldConnectAgain()&&this.reconnect(),this.startLoading("Wertung wird gespeichert. Bitte warten ...",this.http.put(I.AC+"api/durchgang/"+ce+"/"+(0,o.gT)(D)+"/"+P+"/"+k,ne).pipe((0,_.B)())).subscribe({next:ue=>{if(!this.isMessageAck(ue)&&ue.wertung){let _e=!1;this.wertungen=this.wertungen.map(Be=>Be.wertung.id===ue.wertung.id?(_e=!0,ue):Be),this.wertungenSubject.next(this.wertungen),Ne.next(ue),_e&&Ne.complete()}else{const _e=ue;this.showMessage.next(_e),Ne.error(_e.msg),Ne.complete()}},error:this.standardErrorHandler}),Ne}finishStation(D,k,P,ne){const ce=new ae.x;return this.startLoading("Station wird abgeschlossen. Bitte warten ...",this.http.post(I.AC+"api/durchgang/"+D+"/finish",{type:"FinishDurchgangStation",wettkampfUUID:D,durchgang:k,geraet:P,step:ne}).pipe((0,_.B)())).subscribe({next:Ne=>{const ue=this.steps.filter(_e=>_e>ne);ue.length>0?this._step=ue[0]:(localStorage.removeItem("current_station"),this.checkJWT(),this.stationFreezed=!1,this._step=this.steps[0]),this.loadWertungen().subscribe(_e=>{ce.next(ue)})},error:this.standardErrorHandler}),ce.asObservable()}nextStep(){if(null==this.steps)return this._step;const D=this.steps.filter(k=>k>this._step);return D.length>0?D[0]:this.steps[0]}prevStep(){if(null==this.steps)return this._step;const D=this.steps.filter(k=>k0?D[D.length-1]:this.steps[this.steps.length-1]}getPrevGeraet(){if(null==this.geraete)return this._geraet;let D=this.geraete.indexOf(this.geraete.find(k=>k.id===this._geraet))-1;return D<0&&(D=this.geraete.length-1),this.geraete[D].id}getNextGeraet(){if(null==this.geraete)return this._geraet;let D=this.geraete.indexOf(this.geraete.find(k=>k.id===this._geraet))+1;return D>=this.geraete.length&&(D=0),this.geraete[D].id}nextGeraet(){if(this.loggedIn){const D=this.steps.filter(k=>k>this._step);return(0,R.of)(D.length>0?D[0]:this.steps[0])}{const D=this._step;return this._geraet=this.getNextGeraet(),this.loadSteps().pipe((0,q.U)(k=>{const P=k.filter(ne=>ne>D);return P.length>0?P[0]:this.steps[0]}))}}prevGeraet(){if(this.loggedIn){const D=this.steps.filter(k=>k0?D[D.length-1]:this.steps[this.steps.length-1])}{const D=this._step;return this._geraet=this.getPrevGeraet(),this.loadSteps().pipe((0,q.U)(k=>{const P=this.steps.filter(ne=>ne0?P[P.length-1]:this.steps[this.steps.length-1]}))}}getScoreList(D){return this._competition?this.startLoading("Rangliste wird geladen. Bitte warten ...",this.http.get(`${I.AC}${D}`).pipe((0,_.B)())):(0,R.of)({})}getScoreLists(){return this._competition?this.startLoading("Ranglisten werden geladen. Bitte warten ...",this.http.get(`${I.AC}api/scores/${this._competition}`).pipe((0,_.B)())):(0,R.of)(Object.assign({}))}getWebsocketBackendUrl(){let D=location.host;const P="https:"===location.protocol?"wss:":"ws:";let ne="api/";return ne=this._durchgang&&this.captionmode?ne+"durchgang/"+this._competition+"/"+(0,o.gT)(this._durchgang)+"/ws":ne+"durchgang/"+this._competition+"/all/ws",D=D&&""!==D?(P+"//"+D+"/").replace("index.html",""):"wss://kutuapp.sharevic.net/",D+ne}handleWebsocketMessage(D){switch(D.type){case"BulkEvent":return D.events.map(ce=>this.handleWebsocketMessage(ce)).reduce((ce,Ne)=>ce&&Ne);case"DurchgangStarted":return this._activeDurchgangList=[...this.activeDurchgangList,D],this.durchgangStarted.next(this.activeDurchgangList),!0;case"DurchgangFinished":const P=D;return this._activeDurchgangList=this.activeDurchgangList.filter(ce=>ce.durchgang!==P.durchgang||ce.wettkampfUUID!==P.wettkampfUUID),this.durchgangStarted.next(this.activeDurchgangList),!0;case"AthletWertungUpdatedSequenced":case"AthletWertungUpdated":const ne=D;return this.wertungen=this.wertungen.map(ce=>ce.id===ne.wertung.athletId&&ce.wertung.wettkampfdisziplinId===ne.wertung.wettkampfdisziplinId?Object.assign({},ce,{wertung:ne.wertung}):ce),this.wertungenSubject.next(this.wertungen),this.wertungUpdated.next(ne),!0;case"AthletMovedInWettkampf":case"AthletRemovedFromWettkampf":return this.loadWertungen(),!0;case"NewLastResults":return this.newLastResults.next(D),!0;case"MessageAck":return console.log(D.msg),this.showMessage.next(D),!0;default:return!1}}static \u0275fac=function(k){return new(k||S)(B.LFG(w.eN),B.LFG(V.HT))};static \u0275prov=B.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})()},5612:(ct,je,b)=>{"use strict";b.d(je,{iw:()=>k,_5:()=>z,gT:()=>D});var o=b(5619),w=b(8645),ee=b(4352),ae=b(5592),R=b(671);var I=b(76),B=b(9360),V=b(8251),S=b(2029);function z(P){return P?P.replace(/[,&.*+?/^${}()|[\]\\]/g,"_"):""}function D(P){return P?encodeURIComponent(z(P)):""}let k=(()=>{class P{identifiedState=!1;connectedState=!1;websocket;backendUrl;reconnectionObservable;explicitClosed=!0;reconnectInterval=3e4;reconnectAttempts=480;lstKeepAliveReceived=0;connected=new o.X(!1);identified=new o.X(!1);logMessages=new o.X("");showMessage=new w.x;lastMessages=[];get stopped(){return this.explicitClosed}startKeepAliveObservation(){setTimeout(()=>{const Ne=(new Date).getTime()-this.lstKeepAliveReceived;!this.explicitClosed&&!this.reconnectionObservable&&Ne>this.reconnectInterval?(this.logMessages.next("connection verified since "+Ne+"ms. It seems to be dead and need to be reconnected!"),this.disconnectWS(!1),this.reconnect()):this.logMessages.next("connection verified since "+Ne+"ms"),this.startKeepAliveObservation()},this.reconnectInterval)}sendMessage(ce){this.websocket?this.connectedState&&this.websocket.send(ce):this.connect(ce)}disconnectWS(ce=!0){this.explicitClosed=ce,this.lstKeepAliveReceived=0,this.websocket?(this.websocket.close(),ce&&this.close()):this.close()}close(){this.websocket&&(this.websocket.onerror=void 0,this.websocket.onclose=void 0,this.websocket.onopen=void 0,this.websocket.onmessage=void 0,this.websocket.close()),this.websocket=void 0,this.identifiedState=!1,this.lstKeepAliveReceived=0,this.identified.next(this.identifiedState),this.connectedState=!1,this.connected.next(this.connectedState)}isWebsocketConnected(){return this.websocket&&this.websocket.readyState===this.websocket.OPEN}isWebsocketConnecting(){return this.websocket&&this.websocket.readyState===this.websocket.CONNECTING}shouldConnectAgain(){return!(this.isWebsocketConnected()||this.isWebsocketConnecting())}reconnect(){if(!this.reconnectionObservable){this.logMessages.next("start try reconnection ..."),this.reconnectionObservable=function q(P=0,ne=ee.z){return P<0&&(P=0),function _(P=0,ne,ce=ee.P){let Ne=-1;return null!=ne&&((0,R.K)(ne)?ce=ne:Ne=ne),new ae.y(ue=>{let _e=function O(P){return P instanceof Date&&!isNaN(P)}(P)?+P-ce.now():P;_e<0&&(_e=0);let Be=0;return ce.schedule(function(){ue.closed||(ue.next(Be++),0<=Ne?this.schedule(void 0,Ne):ue.complete())},_e)})}(P,P,ne)}(this.reconnectInterval).pipe(function Q(P,ne=!1){return(0,B.e)((ce,Ne)=>{let ue=0;ce.subscribe((0,V.x)(Ne,_e=>{const Be=P(_e,ue++);(Be||ne)&&Ne.next(_e),!Be&&Ne.complete()}))})}((Ne,ue)=>ue{this.shouldConnectAgain()&&(this.logMessages.next("continue with reconnection ..."),this.connect(void 0))},null,()=>{this.reconnectionObservable=null,ce.unsubscribe(),this.isWebsocketConnected()?this.logMessages.next("finish with reconnection (successfull)"):this.isWebsocketConnecting()?this.logMessages.next("continue with reconnection (CONNECTING)"):(!this.websocket||this.websocket.CLOSING||this.websocket.CLOSED)&&(this.disconnectWS(),this.logMessages.next("finish with reconnection (unsuccessfull)"))})}}initWebsocket(){this.logMessages.subscribe(ce=>{this.lastMessages.push((0,I.sZ)(!0)+` - ${ce}`),this.lastMessages=this.lastMessages.slice(Math.max(this.lastMessages.length-50,0))}),this.logMessages.next("init"),this.backendUrl=this.getWebsocketBackendUrl()+`?clientid=${(0,I.ix)()}`,this.logMessages.next("init with "+this.backendUrl),this.connect(void 0),this.startKeepAliveObservation()}connect(ce){this.disconnectWS(),this.explicitClosed=!1,this.websocket=new WebSocket(this.backendUrl),this.websocket.onopen=()=>{this.connectedState=!0,this.connected.next(this.connectedState),ce&&this.sendMessage(ce)},this.websocket.onclose=ue=>{switch(this.close(),ue.code){case 1001:this.logMessages.next("Going Away"),this.explicitClosed||this.reconnect();break;case 1002:this.logMessages.next("Protocol error"),this.explicitClosed||this.reconnect();break;case 1003:this.logMessages.next("Unsupported Data"),this.explicitClosed||this.reconnect();break;case 1005:this.logMessages.next("No Status Rcvd"),this.explicitClosed||this.reconnect();break;case 1006:this.logMessages.next("Abnormal Closure"),this.explicitClosed||this.reconnect();break;case 1007:this.logMessages.next("Invalid frame payload data"),this.explicitClosed||this.reconnect();break;case 1008:this.logMessages.next("Policy Violation"),this.explicitClosed||this.reconnect();break;case 1009:this.logMessages.next("Message Too Big"),this.explicitClosed||this.reconnect();break;case 1010:this.logMessages.next("Mandatory Ext."),this.explicitClosed||this.reconnect();break;case 1011:this.logMessages.next("Internal Server Error"),this.explicitClosed||this.reconnect();break;case 1015:this.logMessages.next("TLS handshake")}},this.websocket.onmessage=ue=>{if(this.lstKeepAliveReceived=(new Date).getTime(),!ue.data.startsWith("Connection established.")&&"keepAlive"!==ue.data)try{const _e=JSON.parse(ue.data);"MessageAck"===_e.type?(console.log(_e.msg),this.showMessage.next(_e)):this.handleWebsocketMessage(_e)||(console.log(_e),this.logMessages.next("unknown message: "+ue.data))}catch(_e){this.logMessages.next(_e+": "+ue.data)}},this.websocket.onerror=ue=>{this.logMessages.next(ue.message+", "+ue.type)}}static \u0275fac=function(Ne){return new(Ne||P)};static \u0275prov=S.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})()},76:(ct,je,b)=>{"use strict";b.d(je,{AC:()=>_,TA:()=>D,WZ:()=>z,ix:()=>S,sZ:()=>B,tC:()=>I});const ae=location.host,_=(location.protocol+"//"+ae+"/").replace("index.html","");function I(k){let P=new Date;return P=function q(k){return null!=k&&""!==k&&!isNaN(Number(k.toString()))}(k)?new Date(parseInt(k)):new Date(Date.parse(k)),`${P.getFullYear().toString()}-${("0"+(P.getMonth()+1)).slice(-2)}-${("0"+P.getDate()).slice(-2)}`}function B(k=!1){return function V(k,P=!1){const ne=("0"+k.getDate()).slice(-2)+"-"+("0"+(k.getMonth()+1)).slice(-2)+"-"+k.getFullYear()+" "+("0"+k.getHours()).slice(-2)+":"+("0"+k.getMinutes()).slice(-2);return P?ne+":"+("0"+k.getSeconds()).slice(-2):ne}(new Date,k)}function S(){let k=localStorage.getItem("clientid");return k||(k=function Q(){function k(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return k()+k()+"-"+k()+"-"+k()+"-"+k()+"-"+k()+k()+k()}(),localStorage.setItem("clientid",k)),localStorage.getItem("current_username")+":"+k}const z={1:"boden.svg",2:"pferdpauschen.svg",3:"ringe.svg",4:"sprung.svg",5:"barren.svg",6:"reck.svg",26:"ringe.svg",27:"stufenbarren.svg",28:"schwebebalken.svg",29:"minitramp.svg",30:"minitramp.svg",31:"ringe.svg"},D=["BS","OS"]},7154:(ct,je,b)=>{"use strict";var o=b(6593),w=b(2029),ee=b(335),ae=b(9862),R=b(4414),O=b(3582);const q=(0,b(2726).fo)("SplashScreen",{web:()=>b.e(4485).then(b.bind(b,4485)).then(H=>new H.SplashScreenWeb)});var I=b(6814),B=b(3760);let V=(()=>{class H{document;constructor(De){this.document=De;const Fe=localStorage.getItem("theme");Fe?this.setGlobalCSS(Fe):this.setTheme({})}setTheme(De){const Fe=function z(H){H={...Q,...H};const{primary:he,secondary:De,tertiary:Fe,success:qe,warning:Le,danger:Z,dark:Y,medium:fe,light:ie}=H,Ve=.2,ke=.2;return`\n --ion-color-base: ${ie};\n --ion-color-contrast: ${Y};\n --ion-background-color: ${ie};\n --ion-card-background-color: ${k(ie,.4)};\n --ion-card-shadow-color1: ${k(Y,2).alpha(.2)};\n --ion-card-shadow-color2: ${k(Y,2).alpha(.14)};\n --ion-card-shadow-color3: ${k(Y,2).alpha(.12)};\n --ion-card-color: ${k(Y,2)};\n --ion-text-color: ${Y};\n --ion-toolbar-background-color: ${B(ie).lighten(ke)};\n --ion-toolbar-text-color: ${D(Y,.2)};\n --ion-item-background-color: ${D(ie,.1)};\n --ion-item-background-activated: ${D(ie,.3)};\n --ion-item-text-color: ${D(Y,.1)};\n --ion-item-border-color: ${B(fe).lighten(ke)};\n --ion-overlay-background-color: ${k(ie,.1)};\n --ion-color-primary: ${he};\n --ion-color-primary-rgb: ${P(he)};\n --ion-color-primary-contrast: ${D(he)};\n --ion-color-primary-contrast-rgb: ${P(D(he))};\n --ion-color-primary-shade: ${B(he).darken(Ve)};\n --ion-color-primary-tint: ${B(he).lighten(ke)};\n --ion-color-secondary: ${De};\n --ion-color-secondary-rgb: ${P(De)};\n --ion-color-secondary-contrast: ${D(De)};\n --ion-color-secondary-contrast-rgb: ${P(D(De))};\n --ion-color-secondary-shade: ${B(De).darken(Ve)};\n --ion-color-secondary-tint: ${B(De).lighten(ke)};\n --ion-color-tertiary: ${Fe};\n --ion-color-tertiary-rgb: ${P(Fe)};\n --ion-color-tertiary-contrast: ${D(Fe)};\n --ion-color-tertiary-contrast-rgb: ${P(D(Fe))};\n --ion-color-tertiary-shade: ${B(Fe).darken(Ve)};\n --ion-color-tertiary-tint: ${B(Fe).lighten(ke)};\n --ion-color-success: ${qe};\n --ion-color-success-rgb: ${P(qe)};\n --ion-color-success-contrast: ${D(qe)};\n --ion-color-success-contrast-rgb: ${P(D(qe))};\n --ion-color-success-shade: ${B(qe).darken(Ve)};\n --ion-color-success-tint: ${B(qe).lighten(ke)};\n --ion-color-warning: ${Le};\n --ion-color-warning-rgb: ${P(Le)};\n --ion-color-warning-contrast: ${D(Le)};\n --ion-color-warning-contrast-rgb: ${P(D(Le))};\n --ion-color-warning-shade: ${B(Le).darken(Ve)};\n --ion-color-warning-tint: ${B(Le).lighten(ke)};\n --ion-color-danger: ${Z};\n --ion-color-danger-rgb: ${P(Z)};\n --ion-color-danger-contrast: ${D(Z)};\n --ion-color-danger-contrast-rgb: ${P(D(Z))};\n --ion-color-danger-shade: ${B(Z).darken(Ve)};\n --ion-color-danger-tint: ${B(Z).lighten(ke)};\n --ion-color-dark: ${Y};\n --ion-color-dark-rgb: ${P(Y)};\n --ion-color-dark-contrast: ${D(Y)};\n --ion-color-dark-contrast-rgb: ${P(D(Y))};\n --ion-color-dark-shade: ${B(Y).darken(Ve)};\n --ion-color-dark-tint: ${B(Y).lighten(ke)};\n --ion-color-medium: ${fe};\n --ion-color-medium-rgb: ${P(fe)};\n --ion-color-medium-contrast: ${D(fe)};\n --ion-color-medium-contrast-rgb: ${P(D(fe))};\n --ion-color-medium-shade: ${B(fe).darken(Ve)};\n --ion-color-medium-tint: ${B(fe).lighten(ke)};\n --ion-color-light: ${ie};\n --ion-color-light-rgb: ${P(ie)};\n --ion-color-light-contrast: ${D(ie)};\n --ion-color-light-contrast-rgb: ${P(D(ie))};\n --ion-color-light-shade: ${B(ie).darken(Ve)};\n --ion-color-light-tint: ${B(ie).lighten(ke)};`+function S(H,he){void 0===H&&(H="#ffffff"),void 0===he&&(he="#000000");const De=new B(H);let Fe="";for(let qe=5;qe<100;qe+=5){const Z=qe/100;Fe+=` --ion-color-step-${qe+"0"}: ${De.mix(B(he),Z).hex()};`,qe<95&&(Fe+="\n")}return Fe}(Y,ie)}(De);this.setGlobalCSS(Fe),localStorage.setItem("theme",Fe)}setVariable(De,Fe){this.document.documentElement.style.setProperty(De,Fe)}setGlobalCSS(De){this.document.documentElement.style.cssText=De}get storedTheme(){return localStorage.getItem("theme")}static \u0275fac=function(Fe){return new(Fe||H)(w.LFG(I.K0))};static \u0275prov=w.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();const Q={primary:"#3880ff",secondary:"#0cd1e8",tertiary:"#7044ff",success:"#10dc60",warning:"#ff7b00",danger:"#f04141",dark:"#222428",medium:"#989aa2",light:"#fcfdff"};function D(H,he=.8){const De=B(H);return De.isDark()?De.lighten(he):De.darken(he)}function k(H,he=.8){const De=B(H);return De.isDark()?De.darken(he):De.lighten(he)}function P(H){const he=B(H);return`${he.red()}, ${he.green()}, ${he.blue()}`}var ne=b(9253);function ce(H,he){if(1&H){const De=w.EpF();w.TgZ(0,"ion-item",4),w.NdJ("click",function(){const Le=w.CHM(De).$implicit,Z=w.oxw();return w.KtG(Z.openPage(Le.url))}),w._UZ(1,"ion-icon",9),w.TgZ(2,"ion-label"),w._uU(3),w.qZA()()}if(2&H){const De=he.$implicit;w.xp6(1),w.Q6J("name",De.icon),w.xp6(2),w.hij(" ",De.title," ")}}function Ne(H,he){if(1&H){const De=w.EpF();w.TgZ(0,"ion-item",4),w.NdJ("click",function(){const Le=w.CHM(De).$implicit,Z=w.oxw();return w.KtG(Z.changeTheme(Le))}),w._UZ(1,"ion-icon",6),w.TgZ(2,"ion-label"),w._uU(3),w.qZA()()}if(2&H){const De=he.$implicit,Fe=w.oxw();w.Udp("background-color",Fe.themes[De].light)("color",Fe.themes[De].dark),w.xp6(2),w.Udp("background-color",Fe.themes[De].light)("color",Fe.themes[De].dark),w.xp6(1),w.hij(" ",De," ")}}let ue=(()=>{class H{platform;navController;route;router;themeSwitcher;backendService;alertCtrl;constructor(De,Fe,qe,Le,Z,Y,fe){this.platform=De,this.navController=Fe,this.route=qe,this.router=Le,this.themeSwitcher=Z,this.backendService=Y,this.alertCtrl=fe,this.appPages=[{title:"Home",url:"/home",icon:"home"},{title:"Wettk\xe4mpfe",url:"/competitions",icon:"folder-open-outline"},{title:"Resultate",url:"/station",icon:"list"},{title:"Letzte Resultate",url:"last-results",icon:"radio"},{title:"Top Resultate",url:"top-results",icon:"medal"},{title:"Athlet/-In suchen",url:"search-athlet",icon:"search"},{title:"Wettkampfanmeldungen",url:"/registration",icon:"people-outline"}],this.backendService.askForUsername.subscribe(ie=>{this.alertCtrl.create({header:"Settings",message:ie.currentUserName?"Dein Benutzername":"Du bist das erste Mal hier. Bitte gib einen Benutzernamen an",inputs:[{name:"username",placeholder:"Benutzername",value:ie.currentUserName}],buttons:[{text:"Abbrechen",role:"cancel",handler:()=>{console.log("Cancel clicked")}},{text:"Speichern",handler:ke=>{if(!(ke.username&&ke.username.trim().length>1))return!1;ie.currentUserName=ke.username.trim()}}]}).then(ke=>ke.present())}),this.backendService.showMessage.subscribe(ie=>{let Ve=ie.msg;(!Ve||0===Ve.trim().length)&&(Ve="Die gew\xfcnschte Aktion ist aktuell nicht m\xf6glich."),this.alertCtrl.create({header:"Achtung",message:Ve,buttons:["OK"]}).then(at=>at.present())}),this.initializeApp()}appPages;themes={Blau:{primary:"#ffa238",secondary:"#a19137",tertiary:"#421804",success:"#0eb651",warning:"#ff7b00",danger:"#f04141",dark:"#fffdf5",medium:"#454259",light:"#03163d"},Sport:{primary:"#ffa238",secondary:"#7dc0ff",tertiary:"#421804",success:"#0eb651",warning:"#ff7b00",danger:"#f04141",dark:"#03163d",medium:"#8092dd",light:"#fffdf5"},Dunkel:{primary:"#8DBB82",secondary:"#FCFF6C",tertiary:"#FE5F55",warning:"#ffce00",medium:"#BCC2C7",dark:"#DADFE1",light:"#363232"},Neon:{primary:"#23ff00",secondary:"#4CE0B3",tertiary:"#FF5E79",warning:"#ff7b00",light:"#F4EDF2",medium:"#B682A5",dark:"#34162A"}};get themeKeys(){return Object.keys(this.themes)}clearPosParam(){this.router.navigate(["."],{relativeTo:this.route,queryParams:{}})}initializeApp(){this.platform.ready().then(()=>{if(q.show(),window.location.href.indexOf("?")>0)try{const De=window.location.href.split("?")[1],Fe=atob(De);De.startsWith("all")?(this.appPages=[{title:"Alle Resultate",url:"/all-results",icon:"radio"},{title:"Athlet/-In suchen",url:"search-athlet",icon:"search"}],this.navController.navigateRoot("/last-results")):De.startsWith("top")?(this.appPages=[{title:"Top Resultate",url:"/top-results",icon:"medal"},{title:"Athlet/-In suchen",url:"search-athlet",icon:"search"}],this.navController.navigateRoot("/top-results")):Fe.startsWith("last")?(this.appPages=[{title:"Aktuelle Resultate",url:"/last-results",icon:"radio"},{title:"Athlet/-In suchen",url:"search-athlet",icon:"search"}],this.navController.navigateRoot("/last-results"),this.backendService.initWithQuery(Fe.substring(5))):Fe.startsWith("top")?(this.appPages=[{title:"Top Resultate",url:"/top-results",icon:"medal"},{title:"Athlet/-In suchen",url:"search-athlet",icon:"search"}],this.navController.navigateRoot("/top-results"),this.backendService.initWithQuery(Fe.substring(4))):Fe.startsWith("registration")?(window.history.replaceState({},document.title,window.location.href.split("?")[0]),this.clearPosParam(),console.log("initializing with "+Fe),localStorage.setItem("external_load",Fe),this.backendService.initWithQuery(Fe.substring(13)).subscribe(qe=>{console.log("clubreg initialzed. navigate to clubreg-editor"),this.navController.navigateRoot("/registration/"+this.backendService.competition+"/"+localStorage.getItem("auth_clubid"))})):(window.history.replaceState({},document.title,window.location.href.split("?")[0]),this.clearPosParam(),console.log("initializing with "+Fe),localStorage.setItem("external_load",Fe),this.backendService.initWithQuery(Fe).subscribe(qe=>{Fe.startsWith("c=")&&Fe.indexOf("&st=")>-1&&Fe.indexOf("&g=")>-1&&(this.appPages=[{title:"Home",url:"/home",icon:"home"},{title:"Resultate",url:"/station",icon:"list"}],this.navController.navigateRoot("/station"))}))}catch(De){console.log(De)}else if(localStorage.getItem("current_station")){const De=localStorage.getItem("current_station");this.backendService.initWithQuery(De).subscribe(Fe=>{De.startsWith("c=")&&De.indexOf("&st=")&&De.indexOf("&g=")&&(this.appPages=[{title:"Home",url:"/home",icon:"home"},{title:"Resultate",url:"/station",icon:"list"}],this.navController.navigateRoot("/station"))})}else if(localStorage.getItem("current_competition")){const De=localStorage.getItem("current_competition");this.backendService.getDurchgaenge(De)}else this.backendService.competition||this.openPage("/competitions");q.hide()})}askUserName(){this.backendService.askForUsername.next(this.backendService)}changeTheme(De){this.themeSwitcher.setTheme(this.themes[De])}openPage(De){this.navController.navigateRoot(De)}static \u0275fac=function(Fe){return new(Fe||H)(w.Y36(R.t4),w.Y36(R.SH),w.Y36(ee.gz),w.Y36(ee.F0),w.Y36(V),w.Y36(ne.v),w.Y36(R.Br))};static \u0275cmp=w.Xpm({type:H,selectors:[["app-root"]],decls:25,vars:2,consts:[["contentId","main","disabled","true"],["contentId","main"],["auto-hide","false"],["menuClose","",3,"click",4,"ngFor","ngForOf"],["menuClose","",3,"click"],["slot","start","name","settings"],["slot","start","name","color-palette"],["menuClose","",3,"background-color","color","click",4,"ngFor","ngForOf"],["id","main"],["slot","start",3,"name"]],template:function(Fe,qe){1&Fe&&(w.TgZ(0,"ion-app")(1,"ion-split-pane",0)(2,"ion-menu",1)(3,"ion-header")(4,"ion-toolbar")(5,"ion-title"),w._uU(6,"Menu"),w.qZA()()(),w.TgZ(7,"ion-content")(8,"ion-list")(9,"ion-menu-toggle",2),w.YNc(10,ce,4,2,"ion-item",3),w.TgZ(11,"ion-item",4),w.NdJ("click",function(){return qe.askUserName()}),w._UZ(12,"ion-icon",5),w.TgZ(13,"ion-label"),w._uU(14," Settings "),w.qZA()(),w.TgZ(15,"ion-item-divider"),w._uU(16,"\xa0"),w._UZ(17,"br"),w._uU(18," Farbschema"),w.qZA(),w.TgZ(19,"ion-item",4),w.NdJ("click",function(){return qe.changeTheme("")}),w._UZ(20,"ion-icon",6),w.TgZ(21,"ion-label"),w._uU(22," Standardfarben "),w.qZA()(),w.YNc(23,Ne,4,9,"ion-item",7),w.qZA()()()(),w._UZ(24,"ion-router-outlet",8),w.qZA()()),2&Fe&&(w.xp6(10),w.Q6J("ngForOf",qe.appPages),w.xp6(13),w.Q6J("ngForOf",qe.themeKeys))},dependencies:[I.sg,O.dr,O.W2,O.Gu,O.gu,O.Ie,O.rH,O.Q$,O.q_,O.z0,O.zc,O.jI,O.wd,O.sr,O.jP],encapsulation:2})}return H})(),_e=(()=>{class H{router;backendService;constructor(De,Fe){this.router=De,this.backendService=Fe}canActivate(De){return!(!this.backendService.geraet||!this.backendService.step)||(this.router.navigate(["home"]),!1)}static \u0275fac=function(Fe){return new(Fe||H)(w.LFG(ee.F0),w.LFG(ne.v))};static \u0275prov=w.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})(),Be=(()=>{class H{router;backendService;constructor(De,Fe){this.router=De,this.backendService=Fe}canActivate(De){const Fe=De.paramMap.get("wkId"),qe=De.paramMap.get("regId");return!!("0"===qe||this.backendService.loggedIn&&this.backendService.authenticatedClubId===qe)||(this.router.navigate(["registration/"+Fe]),!1)}static \u0275fac=function(Fe){return new(Fe||H)(w.LFG(ee.F0),w.LFG(ne.v))};static \u0275prov=w.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();const we=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"competitions",loadChildren:()=>Promise.all([b.e(8592),b.e(3285)]).then(b.bind(b,3285)).then(H=>H.CompetitionsPageModule)},{path:"home",loadChildren:()=>b.e(5476).then(b.bind(b,5476)).then(H=>H.HomePageModule)},{path:"station",canActivate:[_e],loadChildren:()=>Promise.all([b.e(8592),b.e(8476)]).then(b.bind(b,8476)).then(H=>H.StationPageModule)},{path:"wertung-editor/:itemId",canActivate:[_e],loadChildren:()=>Promise.all([b.e(8592),b.e(3547)]).then(b.bind(b,3547)).then(H=>H.WertungEditorPageModule)},{path:"last-results",loadChildren:()=>Promise.all([b.e(8592),b.e(8378)]).then(b.bind(b,8378)).then(H=>H.LastResultsPageModule)},{path:"top-results",loadChildren:()=>Promise.all([b.e(8592),b.e(4154)]).then(b.bind(b,4154)).then(H=>H.LastTopResultsPageModule)},{path:"search-athlet",loadChildren:()=>Promise.all([b.e(8592),b.e(8910)]).then(b.bind(b,8910)).then(H=>H.SearchAthletPageModule)},{path:"search-athlet/:wkId",loadChildren:()=>Promise.all([b.e(8592),b.e(8910)]).then(b.bind(b,8910)).then(H=>H.SearchAthletPageModule)},{path:"athlet-view/:wkId/:athletId",loadChildren:()=>Promise.all([b.e(8592),b.e(6547)]).then(b.bind(b,6547)).then(H=>H.AthletViewPageModule)},{path:"registration",loadChildren:()=>Promise.all([b.e(8592),b.e(4144)]).then(b.bind(b,4144)).then(H=>H.RegistrationPageModule)},{path:"registration/:wkId",loadChildren:()=>Promise.all([b.e(8592),b.e(4144)]).then(b.bind(b,4144)).then(H=>H.RegistrationPageModule)},{path:"registration/:wkId/:regId",canActivate:[Be],loadChildren:()=>Promise.all([b.e(8592),b.e(5969)]).then(b.bind(b,5969)).then(H=>H.ClubregEditorPageModule)},{path:"reg-athletlist/:wkId/:regId",canActivate:[Be],loadChildren:()=>Promise.all([b.e(8592),b.e(5146)]).then(b.bind(b,5146)).then(H=>H.RegAthletlistPageModule)},{path:"reg-athletlist/:wkId/:regId/:athletId",canActivate:[Be],loadChildren:()=>b.e(6908).then(b.bind(b,6908)).then(H=>H.RegAthletEditorPageModule)},{path:"reg-judgelist/:wkId/:regId",canActivate:[Be],loadChildren:()=>Promise.all([b.e(8592),b.e(2715)]).then(b.bind(b,2715)).then(H=>H.RegJudgelistPageModule)},{path:"reg-judgelist/:wkId/:regId/:judgeId",canActivate:[Be],loadChildren:()=>b.e(4247).then(b.bind(b,4247)).then(H=>H.RegJudgeEditorPageModule)}];let re=(()=>{class H{static \u0275fac=function(Fe){return new(Fe||H)};static \u0275mod=w.oAB({type:H});static \u0275inj=w.cJS({imports:[ee.Bz.forRoot(we,{preloadingStrategy:ee.wm}),ee.Bz]})}return H})();var U=b(76);let ge=(()=>{class H{constructor(){}intercept(De,Fe){const qe=De.headers.get("x-access-token")||localStorage.getItem("auth_token");return De=De.clone({setHeaders:{clientid:`${(0,U.ix)()}`,"x-access-token":`${qe}`}}),Fe.handle(De)}static \u0275fac=function(Fe){return new(Fe||H)};static \u0275prov=w.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})(),se=(()=>{class H{static \u0275fac=function(Fe){return new(Fe||H)};static \u0275mod=w.oAB({type:H,bootstrap:[ue]});static \u0275inj=w.cJS({providers:[_e,{provide:ee.wN,useClass:R.r4},ne.v,V,ge,{provide:ae.TP,useClass:ge,multi:!0}],imports:[ae.JF,o.b2,O.Pc.forRoot(),re]})}return H})();(0,w.G48)(),o.q6().bootstrapModule(se).catch(H=>console.log(H))},929:ct=>{"use strict";ct.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},927:(ct,je,b)=>{var o=b(929),w=b(5956),ee=Object.hasOwnProperty,ae=Object.create(null);for(var R in o)ee.call(o,R)&&(ae[o[R]]=R);var O=ct.exports={to:{},get:{}};function _(I,B,V){return Math.min(Math.max(B,I),V)}function q(I){var B=Math.round(I).toString(16).toUpperCase();return B.length<2?"0"+B:B}O.get=function(I){var V,Q;switch(I.substring(0,3).toLowerCase()){case"hsl":V=O.get.hsl(I),Q="hsl";break;case"hwb":V=O.get.hwb(I),Q="hwb";break;default:V=O.get.rgb(I),Q="rgb"}return V?{model:Q,value:V}:null},O.get.rgb=function(I){if(!I)return null;var k,P,ne,D=[0,0,0,1];if(k=I.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(ne=k[2],k=k[1],P=0;P<3;P++){var ce=2*P;D[P]=parseInt(k.slice(ce,ce+2),16)}ne&&(D[3]=parseInt(ne,16)/255)}else if(k=I.match(/^#([a-f0-9]{3,4})$/i)){for(ne=(k=k[1])[3],P=0;P<3;P++)D[P]=parseInt(k[P]+k[P],16);ne&&(D[3]=parseInt(ne+ne,16)/255)}else if(k=I.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(P=0;P<3;P++)D[P]=parseInt(k[P+1],0);k[4]&&(D[3]=k[5]?.01*parseFloat(k[4]):parseFloat(k[4]))}else{if(!(k=I.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(k=I.match(/^(\w+)$/))?"transparent"===k[1]?[0,0,0,0]:ee.call(o,k[1])?((D=o[k[1]])[3]=1,D):null:null;for(P=0;P<3;P++)D[P]=Math.round(2.55*parseFloat(k[P+1]));k[4]&&(D[3]=k[5]?.01*parseFloat(k[4]):parseFloat(k[4]))}for(P=0;P<3;P++)D[P]=_(D[P],0,255);return D[3]=_(D[3],0,1),D},O.get.hsl=function(I){if(!I)return null;var V=I.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(V){var Q=parseFloat(V[4]);return[(parseFloat(V[1])%360+360)%360,_(parseFloat(V[2]),0,100),_(parseFloat(V[3]),0,100),_(isNaN(Q)?1:Q,0,1)]}return null},O.get.hwb=function(I){if(!I)return null;var V=I.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(V){var Q=parseFloat(V[4]);return[(parseFloat(V[1])%360+360)%360,_(parseFloat(V[2]),0,100),_(parseFloat(V[3]),0,100),_(isNaN(Q)?1:Q,0,1)]}return null},O.to.hex=function(){var I=w(arguments);return"#"+q(I[0])+q(I[1])+q(I[2])+(I[3]<1?q(Math.round(255*I[3])):"")},O.to.rgb=function(){var I=w(arguments);return I.length<4||1===I[3]?"rgb("+Math.round(I[0])+", "+Math.round(I[1])+", "+Math.round(I[2])+")":"rgba("+Math.round(I[0])+", "+Math.round(I[1])+", "+Math.round(I[2])+", "+I[3]+")"},O.to.rgb.percent=function(){var I=w(arguments),B=Math.round(I[0]/255*100),V=Math.round(I[1]/255*100),Q=Math.round(I[2]/255*100);return I.length<4||1===I[3]?"rgb("+B+"%, "+V+"%, "+Q+"%)":"rgba("+B+"%, "+V+"%, "+Q+"%, "+I[3]+")"},O.to.hsl=function(){var I=w(arguments);return I.length<4||1===I[3]?"hsl("+I[0]+", "+I[1]+"%, "+I[2]+"%)":"hsla("+I[0]+", "+I[1]+"%, "+I[2]+"%, "+I[3]+")"},O.to.hwb=function(){var I=w(arguments),B="";return I.length>=4&&1!==I[3]&&(B=", "+I[3]),"hwb("+I[0]+", "+I[1]+"%, "+I[2]+"%"+B+")"},O.to.keyword=function(I){return ae[I.slice(0,3)]}},3760:(ct,je,b)=>{const o=b(927),w=b(1824),ee=["keyword","gray","hex"],ae={};for(const S of Object.keys(w))ae[[...w[S].labels].sort().join("")]=S;const R={};function O(S,z){if(!(this instanceof O))return new O(S,z);if(z&&z in ee&&(z=null),z&&!(z in w))throw new Error("Unknown model: "+z);let D,k;if(null==S)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(S instanceof O)this.model=S.model,this.color=[...S.color],this.valpha=S.valpha;else if("string"==typeof S){const P=o.get(S);if(null===P)throw new Error("Unable to parse color from string: "+S);this.model=P.model,k=w[this.model].channels,this.color=P.value.slice(0,k),this.valpha="number"==typeof P.value[k]?P.value[k]:1}else if(S.length>0){this.model=z||"rgb",k=w[this.model].channels;const P=Array.prototype.slice.call(S,0,k);this.color=Q(P,k),this.valpha="number"==typeof S[k]?S[k]:1}else if("number"==typeof S)this.model="rgb",this.color=[S>>16&255,S>>8&255,255&S],this.valpha=1;else{this.valpha=1;const P=Object.keys(S);"alpha"in S&&(P.splice(P.indexOf("alpha"),1),this.valpha="number"==typeof S.alpha?S.alpha:0);const ne=P.sort().join("");if(!(ne in ae))throw new Error("Unable to parse color from object: "+JSON.stringify(S));this.model=ae[ne];const{labels:ce}=w[this.model],Ne=[];for(D=0;D(S%360+360)%360),saturationl:I("hsl",1,B(100)),lightness:I("hsl",2,B(100)),saturationv:I("hsv",1,B(100)),value:I("hsv",2,B(100)),chroma:I("hcg",1,B(100)),gray:I("hcg",2,B(100)),white:I("hwb",1,B(100)),wblack:I("hwb",2,B(100)),cyan:I("cmyk",0,B(100)),magenta:I("cmyk",1,B(100)),yellow:I("cmyk",2,B(100)),black:I("cmyk",3,B(100)),x:I("xyz",0,B(95.047)),y:I("xyz",1,B(100)),z:I("xyz",2,B(108.833)),l:I("lab",0,B(100)),a:I("lab",1),b:I("lab",2),keyword(S){return void 0!==S?new O(S):w[this.model].keyword(this.color)},hex(S){return void 0!==S?new O(S):o.to.hex(this.rgb().round().color)},hexa(S){if(void 0!==S)return new O(S);const z=this.rgb().round().color;let D=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===D.length&&(D="0"+D),o.to.hex(z)+D},rgbNumber(){const S=this.rgb().color;return(255&S[0])<<16|(255&S[1])<<8|255&S[2]},luminosity(){const S=this.rgb().color,z=[];for(const[D,k]of S.entries()){const P=k/255;z[D]=P<=.04045?P/12.92:((P+.055)/1.055)**2.4}return.2126*z[0]+.7152*z[1]+.0722*z[2]},contrast(S){const z=this.luminosity(),D=S.luminosity();return z>D?(z+.05)/(D+.05):(D+.05)/(z+.05)},level(S){const z=this.contrast(S);return z>=7?"AAA":z>=4.5?"AA":""},isDark(){const S=this.rgb().color;return(2126*S[0]+7152*S[1]+722*S[2])/1e4<128},isLight(){return!this.isDark()},negate(){const S=this.rgb();for(let z=0;z<3;z++)S.color[z]=255-S.color[z];return S},lighten(S){const z=this.hsl();return z.color[2]+=z.color[2]*S,z},darken(S){const z=this.hsl();return z.color[2]-=z.color[2]*S,z},saturate(S){const z=this.hsl();return z.color[1]+=z.color[1]*S,z},desaturate(S){const z=this.hsl();return z.color[1]-=z.color[1]*S,z},whiten(S){const z=this.hwb();return z.color[1]+=z.color[1]*S,z},blacken(S){const z=this.hwb();return z.color[2]+=z.color[2]*S,z},grayscale(){const S=this.rgb().color,z=.3*S[0]+.59*S[1]+.11*S[2];return O.rgb(z,z,z)},fade(S){return this.alpha(this.valpha-this.valpha*S)},opaquer(S){return this.alpha(this.valpha+this.valpha*S)},rotate(S){const z=this.hsl();let D=z.color[0];return D=(D+S)%360,D=D<0?360+D:D,z.color[0]=D,z},mix(S,z){if(!S||!S.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof S);const D=S.rgb(),k=this.rgb(),P=void 0===z?.5:z,ne=2*P-1,ce=D.alpha()-k.alpha(),Ne=((ne*ce==-1?ne:(ne+ce)/(1+ne*ce))+1)/2,ue=1-Ne;return O.rgb(Ne*D.red()+ue*k.red(),Ne*D.green()+ue*k.green(),Ne*D.blue()+ue*k.blue(),D.alpha()*P+k.alpha()*(1-P))}};for(const S of Object.keys(w)){if(ee.includes(S))continue;const{channels:z}=w[S];O.prototype[S]=function(...D){return this.model===S?new O(this):new O(D.length>0?D:[...V(w[this.model][S].raw(this.color)),this.valpha],S)},O[S]=function(...D){let k=D[0];return"number"==typeof k&&(k=Q(D,z)),new O(k,S)}}function q(S){return function(z){return function _(S,z){return Number(S.toFixed(z))}(z,S)}}function I(S,z,D){S=Array.isArray(S)?S:[S];for(const k of S)(R[k]||(R[k]=[]))[z]=D;return S=S[0],function(k){let P;return void 0!==k?(D&&(k=D(k)),P=this[S](),P.color[z]=k,P):(P=this[S]().color[z],D&&(P=D(P)),P)}}function B(S){return function(z){return Math.max(0,Math.min(S,z))}}function V(S){return Array.isArray(S)?S:[S]}function Q(S,z){for(let D=0;D{const o=b(6225),w={};for(const R of Object.keys(o))w[o[R]]=R;const ee={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};ct.exports=ee;for(const R of Object.keys(ee)){if(!("channels"in ee[R]))throw new Error("missing channels property: "+R);if(!("labels"in ee[R]))throw new Error("missing channel labels property: "+R);if(ee[R].labels.length!==ee[R].channels)throw new Error("channel and label counts mismatch: "+R);const{channels:O,labels:_}=ee[R];delete ee[R].channels,delete ee[R].labels,Object.defineProperty(ee[R],"channels",{value:O}),Object.defineProperty(ee[R],"labels",{value:_})}function ae(R,O){return(R[0]-O[0])**2+(R[1]-O[1])**2+(R[2]-O[2])**2}ee.rgb.hsl=function(R){const O=R[0]/255,_=R[1]/255,q=R[2]/255,I=Math.min(O,_,q),B=Math.max(O,_,q),V=B-I;let Q,S;B===I?Q=0:O===B?Q=(_-q)/V:_===B?Q=2+(q-O)/V:q===B&&(Q=4+(O-_)/V),Q=Math.min(60*Q,360),Q<0&&(Q+=360);const z=(I+B)/2;return S=B===I?0:z<=.5?V/(B+I):V/(2-B-I),[Q,100*S,100*z]},ee.rgb.hsv=function(R){let O,_,q,I,B;const V=R[0]/255,Q=R[1]/255,S=R[2]/255,z=Math.max(V,Q,S),D=z-Math.min(V,Q,S),k=function(P){return(z-P)/6/D+.5};return 0===D?(I=0,B=0):(B=D/z,O=k(V),_=k(Q),q=k(S),V===z?I=q-_:Q===z?I=1/3+O-q:S===z&&(I=2/3+_-O),I<0?I+=1:I>1&&(I-=1)),[360*I,100*B,100*z]},ee.rgb.hwb=function(R){const O=R[0],_=R[1];let q=R[2];const I=ee.rgb.hsl(R)[0],B=1/255*Math.min(O,Math.min(_,q));return q=1-1/255*Math.max(O,Math.max(_,q)),[I,100*B,100*q]},ee.rgb.cmyk=function(R){const O=R[0]/255,_=R[1]/255,q=R[2]/255,I=Math.min(1-O,1-_,1-q);return[100*((1-O-I)/(1-I)||0),100*((1-_-I)/(1-I)||0),100*((1-q-I)/(1-I)||0),100*I]},ee.rgb.keyword=function(R){const O=w[R];if(O)return O;let q,_=1/0;for(const I of Object.keys(o)){const V=ae(R,o[I]);V<_&&(_=V,q=I)}return q},ee.keyword.rgb=function(R){return o[R]},ee.rgb.xyz=function(R){let O=R[0]/255,_=R[1]/255,q=R[2]/255;return O=O>.04045?((O+.055)/1.055)**2.4:O/12.92,_=_>.04045?((_+.055)/1.055)**2.4:_/12.92,q=q>.04045?((q+.055)/1.055)**2.4:q/12.92,[100*(.4124*O+.3576*_+.1805*q),100*(.2126*O+.7152*_+.0722*q),100*(.0193*O+.1192*_+.9505*q)]},ee.rgb.lab=function(R){const O=ee.rgb.xyz(R);let _=O[0],q=O[1],I=O[2];return _/=95.047,q/=100,I/=108.883,_=_>.008856?_**(1/3):7.787*_+16/116,q=q>.008856?q**(1/3):7.787*q+16/116,I=I>.008856?I**(1/3):7.787*I+16/116,[116*q-16,500*(_-q),200*(q-I)]},ee.hsl.rgb=function(R){const O=R[0]/360,_=R[1]/100,q=R[2]/100;let I,B,V;if(0===_)return V=255*q,[V,V,V];I=q<.5?q*(1+_):q+_-q*_;const Q=2*q-I,S=[0,0,0];for(let z=0;z<3;z++)B=O+1/3*-(z-1),B<0&&B++,B>1&&B--,V=6*B<1?Q+6*(I-Q)*B:2*B<1?I:3*B<2?Q+(I-Q)*(2/3-B)*6:Q,S[z]=255*V;return S},ee.hsl.hsv=function(R){const O=R[0];let _=R[1]/100,q=R[2]/100,I=_;const B=Math.max(q,.01);return q*=2,_*=q<=1?q:2-q,I*=B<=1?B:2-B,[O,100*(0===q?2*I/(B+I):2*_/(q+_)),(q+_)/2*100]},ee.hsv.rgb=function(R){const O=R[0]/60,_=R[1]/100;let q=R[2]/100;const I=Math.floor(O)%6,B=O-Math.floor(O),V=255*q*(1-_),Q=255*q*(1-_*B),S=255*q*(1-_*(1-B));switch(q*=255,I){case 0:return[q,S,V];case 1:return[Q,q,V];case 2:return[V,q,S];case 3:return[V,Q,q];case 4:return[S,V,q];case 5:return[q,V,Q]}},ee.hsv.hsl=function(R){const O=R[0],_=R[1]/100,q=R[2]/100,I=Math.max(q,.01);let B,V;V=(2-_)*q;const Q=(2-_)*I;return B=_*I,B/=Q<=1?Q:2-Q,B=B||0,V/=2,[O,100*B,100*V]},ee.hwb.rgb=function(R){const O=R[0]/360;let _=R[1]/100,q=R[2]/100;const I=_+q;let B;I>1&&(_/=I,q/=I);const V=Math.floor(6*O),Q=1-q;B=6*O-V,1&V&&(B=1-B);const S=_+B*(Q-_);let z,D,k;switch(V){default:case 6:case 0:z=Q,D=S,k=_;break;case 1:z=S,D=Q,k=_;break;case 2:z=_,D=Q,k=S;break;case 3:z=_,D=S,k=Q;break;case 4:z=S,D=_,k=Q;break;case 5:z=Q,D=_,k=S}return[255*z,255*D,255*k]},ee.cmyk.rgb=function(R){const _=R[1]/100,q=R[2]/100,I=R[3]/100;return[255*(1-Math.min(1,R[0]/100*(1-I)+I)),255*(1-Math.min(1,_*(1-I)+I)),255*(1-Math.min(1,q*(1-I)+I))]},ee.xyz.rgb=function(R){const O=R[0]/100,_=R[1]/100,q=R[2]/100;let I,B,V;return I=3.2406*O+-1.5372*_+-.4986*q,B=-.9689*O+1.8758*_+.0415*q,V=.0557*O+-.204*_+1.057*q,I=I>.0031308?1.055*I**(1/2.4)-.055:12.92*I,B=B>.0031308?1.055*B**(1/2.4)-.055:12.92*B,V=V>.0031308?1.055*V**(1/2.4)-.055:12.92*V,I=Math.min(Math.max(0,I),1),B=Math.min(Math.max(0,B),1),V=Math.min(Math.max(0,V),1),[255*I,255*B,255*V]},ee.xyz.lab=function(R){let O=R[0],_=R[1],q=R[2];return O/=95.047,_/=100,q/=108.883,O=O>.008856?O**(1/3):7.787*O+16/116,_=_>.008856?_**(1/3):7.787*_+16/116,q=q>.008856?q**(1/3):7.787*q+16/116,[116*_-16,500*(O-_),200*(_-q)]},ee.lab.xyz=function(R){let I,B,V;B=(R[0]+16)/116,I=R[1]/500+B,V=B-R[2]/200;const Q=B**3,S=I**3,z=V**3;return B=Q>.008856?Q:(B-16/116)/7.787,I=S>.008856?S:(I-16/116)/7.787,V=z>.008856?z:(V-16/116)/7.787,I*=95.047,B*=100,V*=108.883,[I,B,V]},ee.lab.lch=function(R){const O=R[0],_=R[1],q=R[2];let I;return I=360*Math.atan2(q,_)/2/Math.PI,I<0&&(I+=360),[O,Math.sqrt(_*_+q*q),I]},ee.lch.lab=function(R){const _=R[1],I=R[2]/360*2*Math.PI;return[R[0],_*Math.cos(I),_*Math.sin(I)]},ee.rgb.ansi16=function(R,O=null){const[_,q,I]=R;let B=null===O?ee.rgb.hsv(R)[2]:O;if(B=Math.round(B/50),0===B)return 30;let V=30+(Math.round(I/255)<<2|Math.round(q/255)<<1|Math.round(_/255));return 2===B&&(V+=60),V},ee.hsv.ansi16=function(R){return ee.rgb.ansi16(ee.hsv.rgb(R),R[2])},ee.rgb.ansi256=function(R){const O=R[0],_=R[1],q=R[2];return O===_&&_===q?O<8?16:O>248?231:Math.round((O-8)/247*24)+232:16+36*Math.round(O/255*5)+6*Math.round(_/255*5)+Math.round(q/255*5)},ee.ansi16.rgb=function(R){let O=R%10;if(0===O||7===O)return R>50&&(O+=3.5),O=O/10.5*255,[O,O,O];const _=.5*(1+~~(R>50));return[(1&O)*_*255,(O>>1&1)*_*255,(O>>2&1)*_*255]},ee.ansi256.rgb=function(R){if(R>=232){const B=10*(R-232)+8;return[B,B,B]}let O;return R-=16,[Math.floor(R/36)/5*255,Math.floor((O=R%36)/6)/5*255,O%6/5*255]},ee.rgb.hex=function(R){const _=(((255&Math.round(R[0]))<<16)+((255&Math.round(R[1]))<<8)+(255&Math.round(R[2]))).toString(16).toUpperCase();return"000000".substring(_.length)+_},ee.hex.rgb=function(R){const O=R.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!O)return[0,0,0];let _=O[0];3===O[0].length&&(_=_.split("").map(Q=>Q+Q).join(""));const q=parseInt(_,16);return[q>>16&255,q>>8&255,255&q]},ee.rgb.hcg=function(R){const O=R[0]/255,_=R[1]/255,q=R[2]/255,I=Math.max(Math.max(O,_),q),B=Math.min(Math.min(O,_),q),V=I-B;let Q,S;return Q=V<1?B/(1-V):0,S=V<=0?0:I===O?(_-q)/V%6:I===_?2+(q-O)/V:4+(O-_)/V,S/=6,S%=1,[360*S,100*V,100*Q]},ee.hsl.hcg=function(R){const O=R[1]/100,_=R[2]/100,q=_<.5?2*O*_:2*O*(1-_);let I=0;return q<1&&(I=(_-.5*q)/(1-q)),[R[0],100*q,100*I]},ee.hsv.hcg=function(R){const _=R[2]/100,q=R[1]/100*_;let I=0;return q<1&&(I=(_-q)/(1-q)),[R[0],100*q,100*I]},ee.hcg.rgb=function(R){const _=R[1]/100,q=R[2]/100;if(0===_)return[255*q,255*q,255*q];const I=[0,0,0],B=R[0]/360%1*6,V=B%1,Q=1-V;let S=0;switch(Math.floor(B)){case 0:I[0]=1,I[1]=V,I[2]=0;break;case 1:I[0]=Q,I[1]=1,I[2]=0;break;case 2:I[0]=0,I[1]=1,I[2]=V;break;case 3:I[0]=0,I[1]=Q,I[2]=1;break;case 4:I[0]=V,I[1]=0,I[2]=1;break;default:I[0]=1,I[1]=0,I[2]=Q}return S=(1-_)*q,[255*(_*I[0]+S),255*(_*I[1]+S),255*(_*I[2]+S)]},ee.hcg.hsv=function(R){const O=R[1]/100,q=O+R[2]/100*(1-O);let I=0;return q>0&&(I=O/q),[R[0],100*I,100*q]},ee.hcg.hsl=function(R){const O=R[1]/100,q=R[2]/100*(1-O)+.5*O;let I=0;return q>0&&q<.5?I=O/(2*q):q>=.5&&q<1&&(I=O/(2*(1-q))),[R[0],100*I,100*q]},ee.hcg.hwb=function(R){const O=R[1]/100,q=O+R[2]/100*(1-O);return[R[0],100*(q-O),100*(1-q)]},ee.hwb.hcg=function(R){const q=1-R[2]/100,I=q-R[1]/100;let B=0;return I<1&&(B=(q-I)/(1-I)),[R[0],100*I,100*B]},ee.apple.rgb=function(R){return[R[0]/65535*255,R[1]/65535*255,R[2]/65535*255]},ee.rgb.apple=function(R){return[R[0]/255*65535,R[1]/255*65535,R[2]/255*65535]},ee.gray.rgb=function(R){return[R[0]/100*255,R[0]/100*255,R[0]/100*255]},ee.gray.hsl=function(R){return[0,0,R[0]]},ee.gray.hsv=ee.gray.hsl,ee.gray.hwb=function(R){return[0,100,R[0]]},ee.gray.cmyk=function(R){return[0,0,0,R[0]]},ee.gray.lab=function(R){return[R[0],0,0]},ee.gray.hex=function(R){const O=255&Math.round(R[0]/100*255),q=((O<<16)+(O<<8)+O).toString(16).toUpperCase();return"000000".substring(q.length)+q},ee.rgb.gray=function(R){return[(R[0]+R[1]+R[2])/3/255*100]}},1824:(ct,je,b)=>{const o=b(4070),w=b(5934),ee={};Object.keys(o).forEach(_=>{ee[_]={},Object.defineProperty(ee[_],"channels",{value:o[_].channels}),Object.defineProperty(ee[_],"labels",{value:o[_].labels});const q=w(_);Object.keys(q).forEach(B=>{const V=q[B];ee[_][B]=function O(_){const q=function(...I){const B=I[0];if(null==B)return B;B.length>1&&(I=B);const V=_(I);if("object"==typeof V)for(let Q=V.length,S=0;S1&&(I=B),_(I))};return"conversion"in _&&(q.conversion=_.conversion),q}(V)})}),ct.exports=ee},5934:(ct,je,b)=>{const o=b(4070);function ae(O,_){return function(q){return _(O(q))}}function R(O,_){const q=[_[O].parent,O];let I=o[_[O].parent][O],B=_[O].parent;for(;_[B].parent;)q.unshift(_[B].parent),I=ae(o[_[B].parent][B],I),B=_[B].parent;return I.conversion=q,I}ct.exports=function(O){const _=function ee(O){const _=function w(){const O={},_=Object.keys(o);for(let q=_.length,I=0;I{"use strict";ct.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},5619:(ct,je,b)=>{"use strict";b.d(je,{X:()=>w});var o=b(8645);class w extends o.x{constructor(ae){super(),this._value=ae}get value(){return this.getValue()}_subscribe(ae){const R=super._subscribe(ae);return!R.closed&&ae.next(this._value),R}getValue(){const{hasError:ae,thrownError:R,_value:O}=this;if(ae)throw R;return this._throwIfClosed(),O}next(ae){super.next(this._value=ae)}}},5592:(ct,je,b)=>{"use strict";b.d(je,{y:()=>q});var o=b(305),w=b(7394),ee=b(4850),ae=b(8407),R=b(2653),O=b(4674),_=b(1441);let q=(()=>{class Q{constructor(z){z&&(this._subscribe=z)}lift(z){const D=new Q;return D.source=this,D.operator=z,D}subscribe(z,D,k){const P=function V(Q){return Q&&Q instanceof o.Lv||function B(Q){return Q&&(0,O.m)(Q.next)&&(0,O.m)(Q.error)&&(0,O.m)(Q.complete)}(Q)&&(0,w.Nn)(Q)}(z)?z:new o.Hp(z,D,k);return(0,_.x)(()=>{const{operator:ne,source:ce}=this;P.add(ne?ne.call(P,ce):ce?this._subscribe(P):this._trySubscribe(P))}),P}_trySubscribe(z){try{return this._subscribe(z)}catch(D){z.error(D)}}forEach(z,D){return new(D=I(D))((k,P)=>{const ne=new o.Hp({next:ce=>{try{z(ce)}catch(Ne){P(Ne),ne.unsubscribe()}},error:P,complete:k});this.subscribe(ne)})}_subscribe(z){var D;return null===(D=this.source)||void 0===D?void 0:D.subscribe(z)}[ee.L](){return this}pipe(...z){return(0,ae.U)(z)(this)}toPromise(z){return new(z=I(z))((D,k)=>{let P;this.subscribe(ne=>P=ne,ne=>k(ne),()=>D(P))})}}return Q.create=S=>new Q(S),Q})();function I(Q){var S;return null!==(S=Q??R.config.Promise)&&void 0!==S?S:Promise}},8645:(ct,je,b)=>{"use strict";b.d(je,{x:()=>_});var o=b(5592),w=b(7394);const ae=(0,b(2306).d)(I=>function(){I(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var R=b(9039),O=b(1441);let _=(()=>{class I extends o.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(V){const Q=new q(this,this);return Q.operator=V,Q}_throwIfClosed(){if(this.closed)throw new ae}next(V){(0,O.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const Q of this.currentObservers)Q.next(V)}})}error(V){(0,O.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=V;const{observers:Q}=this;for(;Q.length;)Q.shift().error(V)}})}complete(){(0,O.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:V}=this;for(;V.length;)V.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var V;return(null===(V=this.observers)||void 0===V?void 0:V.length)>0}_trySubscribe(V){return this._throwIfClosed(),super._trySubscribe(V)}_subscribe(V){return this._throwIfClosed(),this._checkFinalizedStatuses(V),this._innerSubscribe(V)}_innerSubscribe(V){const{hasError:Q,isStopped:S,observers:z}=this;return Q||S?w.Lc:(this.currentObservers=null,z.push(V),new w.w0(()=>{this.currentObservers=null,(0,R.P)(z,V)}))}_checkFinalizedStatuses(V){const{hasError:Q,thrownError:S,isStopped:z}=this;Q?V.error(S):z&&V.complete()}asObservable(){const V=new o.y;return V.source=this,V}}return I.create=(B,V)=>new q(B,V),I})();class q extends _{constructor(B,V){super(),this.destination=B,this.source=V}next(B){var V,Q;null===(Q=null===(V=this.destination)||void 0===V?void 0:V.next)||void 0===Q||Q.call(V,B)}error(B){var V,Q;null===(Q=null===(V=this.destination)||void 0===V?void 0:V.error)||void 0===Q||Q.call(V,B)}complete(){var B,V;null===(V=null===(B=this.destination)||void 0===B?void 0:B.complete)||void 0===V||V.call(B)}_subscribe(B){var V,Q;return null!==(Q=null===(V=this.source)||void 0===V?void 0:V.subscribe(B))&&void 0!==Q?Q:w.Lc}}},305:(ct,je,b)=>{"use strict";b.d(je,{Hp:()=>k,Lv:()=>Q});var o=b(4674),w=b(7394),ee=b(2653),ae=b(3894),R=b(2420);const O=I("C",void 0,void 0);function I(ue,_e,Be){return{kind:ue,value:_e,error:Be}}var B=b(7599),V=b(1441);class Q extends w.w0{constructor(_e){super(),this.isStopped=!1,_e?(this.destination=_e,(0,w.Nn)(_e)&&_e.add(this)):this.destination=Ne}static create(_e,Be,we){return new k(_e,Be,we)}next(_e){this.isStopped?ce(function q(ue){return I("N",ue,void 0)}(_e),this):this._next(_e)}error(_e){this.isStopped?ce(function _(ue){return I("E",void 0,ue)}(_e),this):(this.isStopped=!0,this._error(_e))}complete(){this.isStopped?ce(O,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(_e){this.destination.next(_e)}_error(_e){try{this.destination.error(_e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const S=Function.prototype.bind;function z(ue,_e){return S.call(ue,_e)}class D{constructor(_e){this.partialObserver=_e}next(_e){const{partialObserver:Be}=this;if(Be.next)try{Be.next(_e)}catch(we){P(we)}}error(_e){const{partialObserver:Be}=this;if(Be.error)try{Be.error(_e)}catch(we){P(we)}else P(_e)}complete(){const{partialObserver:_e}=this;if(_e.complete)try{_e.complete()}catch(Be){P(Be)}}}class k extends Q{constructor(_e,Be,we){let re;if(super(),(0,o.m)(_e)||!_e)re={next:_e??void 0,error:Be??void 0,complete:we??void 0};else{let U;this&&ee.config.useDeprecatedNextContext?(U=Object.create(_e),U.unsubscribe=()=>this.unsubscribe(),re={next:_e.next&&z(_e.next,U),error:_e.error&&z(_e.error,U),complete:_e.complete&&z(_e.complete,U)}):re=_e}this.destination=new D(re)}}function P(ue){ee.config.useDeprecatedSynchronousErrorHandling?(0,V.O)(ue):(0,ae.h)(ue)}function ce(ue,_e){const{onStoppedNotification:Be}=ee.config;Be&&B.z.setTimeout(()=>Be(ue,_e))}const Ne={closed:!0,next:R.Z,error:function ne(ue){throw ue},complete:R.Z}},7394:(ct,je,b)=>{"use strict";b.d(je,{Lc:()=>O,w0:()=>R,Nn:()=>_});var o=b(4674);const ee=(0,b(2306).d)(I=>function(V){I(this),this.message=V?`${V.length} errors occurred during unsubscription:\n${V.map((Q,S)=>`${S+1}) ${Q.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=V});var ae=b(9039);class R{constructor(B){this.initialTeardown=B,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let B;if(!this.closed){this.closed=!0;const{_parentage:V}=this;if(V)if(this._parentage=null,Array.isArray(V))for(const z of V)z.remove(this);else V.remove(this);const{initialTeardown:Q}=this;if((0,o.m)(Q))try{Q()}catch(z){B=z instanceof ee?z.errors:[z]}const{_finalizers:S}=this;if(S){this._finalizers=null;for(const z of S)try{q(z)}catch(D){B=B??[],D instanceof ee?B=[...B,...D.errors]:B.push(D)}}if(B)throw new ee(B)}}add(B){var V;if(B&&B!==this)if(this.closed)q(B);else{if(B instanceof R){if(B.closed||B._hasParent(this))return;B._addParent(this)}(this._finalizers=null!==(V=this._finalizers)&&void 0!==V?V:[]).push(B)}}_hasParent(B){const{_parentage:V}=this;return V===B||Array.isArray(V)&&V.includes(B)}_addParent(B){const{_parentage:V}=this;this._parentage=Array.isArray(V)?(V.push(B),V):V?[V,B]:B}_removeParent(B){const{_parentage:V}=this;V===B?this._parentage=null:Array.isArray(V)&&(0,ae.P)(V,B)}remove(B){const{_finalizers:V}=this;V&&(0,ae.P)(V,B),B instanceof R&&B._removeParent(this)}}R.EMPTY=(()=>{const I=new R;return I.closed=!0,I})();const O=R.EMPTY;function _(I){return I instanceof R||I&&"closed"in I&&(0,o.m)(I.remove)&&(0,o.m)(I.add)&&(0,o.m)(I.unsubscribe)}function q(I){(0,o.m)(I)?I():I.unsubscribe()}},2653:(ct,je,b)=>{"use strict";b.d(je,{config:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2572:(ct,je,b)=>{"use strict";b.d(je,{a:()=>B});var o=b(5592),w=b(7453),ee=b(7715),ae=b(2737),R=b(7400),O=b(9940),_=b(2714),q=b(8251),I=b(7103);function B(...S){const z=(0,O.yG)(S),D=(0,O.jO)(S),{args:k,keys:P}=(0,w.D)(S);if(0===k.length)return(0,ee.D)([],z);const ne=new o.y(function V(S,z,D=ae.y){return k=>{Q(z,()=>{const{length:P}=S,ne=new Array(P);let ce=P,Ne=P;for(let ue=0;ue{const _e=(0,ee.D)(S[ue],z);let Be=!1;_e.subscribe((0,q.x)(k,we=>{ne[ue]=we,Be||(Be=!0,Ne--),Ne||k.next(D(ne.slice()))},()=>{--ce||k.complete()}))},k)},k)}}(k,z,P?ce=>(0,_.n)(P,ce):ae.y));return D?ne.pipe((0,R.Z)(D)):ne}function Q(S,z,D){S?(0,I.f)(D,S,z):z()}},6232:(ct,je,b)=>{"use strict";b.d(je,{E:()=>w});const w=new(b(5592).y)(R=>R.complete())},7715:(ct,je,b)=>{"use strict";b.d(je,{D:()=>we});var o=b(4829),w=b(7103),ee=b(9360),ae=b(8251);function R(re,U=0){return(0,ee.e)((ge,se)=>{ge.subscribe((0,ae.x)(se,de=>(0,w.f)(se,re,()=>se.next(de),U),()=>(0,w.f)(se,re,()=>se.complete(),U),de=>(0,w.f)(se,re,()=>se.error(de),U)))})}function O(re,U=0){return(0,ee.e)((ge,se)=>{se.add(re.schedule(()=>ge.subscribe(se),U))})}var I=b(5592),V=b(4971),Q=b(4674);function z(re,U){if(!re)throw new Error("Iterable cannot be null");return new I.y(ge=>{(0,w.f)(ge,U,()=>{const se=re[Symbol.asyncIterator]();(0,w.f)(ge,U,()=>{se.next().then(de=>{de.done?ge.complete():ge.next(de.value)})},0,!0)})})}var D=b(8382),k=b(4026),P=b(4266),ne=b(3664),ce=b(5726),Ne=b(9853),ue=b(541);function we(re,U){return U?function Be(re,U){if(null!=re){if((0,D.c)(re))return function _(re,U){return(0,o.Xf)(re).pipe(O(U),R(U))}(re,U);if((0,P.z)(re))return function B(re,U){return new I.y(ge=>{let se=0;return U.schedule(function(){se===re.length?ge.complete():(ge.next(re[se++]),ge.closed||this.schedule())})})}(re,U);if((0,k.t)(re))return function q(re,U){return(0,o.Xf)(re).pipe(O(U),R(U))}(re,U);if((0,ce.D)(re))return z(re,U);if((0,ne.T)(re))return function S(re,U){return new I.y(ge=>{let se;return(0,w.f)(ge,U,()=>{se=re[V.h](),(0,w.f)(ge,U,()=>{let de,H;try{({value:de,done:H}=se.next())}catch(he){return void ge.error(he)}H?ge.complete():ge.next(de)},0,!0)}),()=>(0,Q.m)(se?.return)&&se.return()})}(re,U);if((0,ue.L)(re))return function _e(re,U){return z((0,ue.Q)(re),U)}(re,U)}throw(0,Ne.z)(re)}(re,U):(0,o.Xf)(re)}},2438:(ct,je,b)=>{"use strict";b.d(je,{R:()=>B});var o=b(4829),w=b(5592),ee=b(1631),ae=b(4266),R=b(4674),O=b(7400);const _=["addListener","removeListener"],q=["addEventListener","removeEventListener"],I=["on","off"];function B(D,k,P,ne){if((0,R.m)(P)&&(ne=P,P=void 0),ne)return B(D,k,P).pipe((0,O.Z)(ne));const[ce,Ne]=function z(D){return(0,R.m)(D.addEventListener)&&(0,R.m)(D.removeEventListener)}(D)?q.map(ue=>_e=>D[ue](k,_e,P)):function Q(D){return(0,R.m)(D.addListener)&&(0,R.m)(D.removeListener)}(D)?_.map(V(D,k)):function S(D){return(0,R.m)(D.on)&&(0,R.m)(D.off)}(D)?I.map(V(D,k)):[];if(!ce&&(0,ae.z)(D))return(0,ee.z)(ue=>B(ue,k,P))((0,o.Xf)(D));if(!ce)throw new TypeError("Invalid event target");return new w.y(ue=>{const _e=(...Be)=>ue.next(1Ne(_e)})}function V(D,k){return P=>ne=>D[P](k,ne)}},4829:(ct,je,b)=>{"use strict";b.d(je,{Xf:()=>S});var o=b(7582),w=b(4266),ee=b(4026),ae=b(5592),R=b(8382),O=b(5726),_=b(9853),q=b(3664),I=b(541),B=b(4674),V=b(3894),Q=b(4850);function S(ue){if(ue instanceof ae.y)return ue;if(null!=ue){if((0,R.c)(ue))return function z(ue){return new ae.y(_e=>{const Be=ue[Q.L]();if((0,B.m)(Be.subscribe))return Be.subscribe(_e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ue);if((0,w.z)(ue))return function D(ue){return new ae.y(_e=>{for(let Be=0;Be{ue.then(Be=>{_e.closed||(_e.next(Be),_e.complete())},Be=>_e.error(Be)).then(null,V.h)})}(ue);if((0,O.D)(ue))return ne(ue);if((0,q.T)(ue))return function P(ue){return new ae.y(_e=>{for(const Be of ue)if(_e.next(Be),_e.closed)return;_e.complete()})}(ue);if((0,I.L)(ue))return function ce(ue){return ne((0,I.Q)(ue))}(ue)}throw(0,_.z)(ue)}function ne(ue){return new ae.y(_e=>{(function Ne(ue,_e){var Be,we,re,U;return(0,o.mG)(this,void 0,void 0,function*(){try{for(Be=(0,o.KL)(ue);!(we=yield Be.next()).done;)if(_e.next(we.value),_e.closed)return}catch(ge){re={error:ge}}finally{try{we&&!we.done&&(U=Be.return)&&(yield U.call(Be))}finally{if(re)throw re.error}}_e.complete()})})(ue,_e).catch(Be=>_e.error(Be))})}},2096:(ct,je,b)=>{"use strict";b.d(je,{of:()=>ee});var o=b(9940),w=b(7715);function ee(...ae){const R=(0,o.yG)(ae);return(0,w.D)(ae,R)}},8251:(ct,je,b)=>{"use strict";b.d(je,{x:()=>w});var o=b(305);function w(ae,R,O,_,q){return new ee(ae,R,O,_,q)}class ee extends o.Lv{constructor(R,O,_,q,I,B){super(R),this.onFinalize=I,this.shouldUnsubscribe=B,this._next=O?function(V){try{O(V)}catch(Q){R.error(Q)}}:super._next,this._error=q?function(V){try{q(V)}catch(Q){R.error(Q)}finally{this.unsubscribe()}}:super._error,this._complete=_?function(){try{_()}catch(V){R.error(V)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var R;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:O}=this;super.unsubscribe(),!O&&(null===(R=this.onFinalize)||void 0===R||R.call(this))}}}},6328:(ct,je,b)=>{"use strict";b.d(je,{b:()=>ee});var o=b(1631),w=b(4674);function ee(ae,R){return(0,w.m)(R)?(0,o.z)(ae,R,1):(0,o.z)(ae,1)}},3997:(ct,je,b)=>{"use strict";b.d(je,{x:()=>ae});var o=b(2737),w=b(9360),ee=b(8251);function ae(O,_=o.y){return O=O??R,(0,w.e)((q,I)=>{let B,V=!0;q.subscribe((0,ee.x)(I,Q=>{const S=_(Q);(V||!O(B,S))&&(V=!1,B=S,I.next(Q))}))})}function R(O,_){return O===_}},2181:(ct,je,b)=>{"use strict";b.d(je,{h:()=>ee});var o=b(9360),w=b(8251);function ee(ae,R){return(0,o.e)((O,_)=>{let q=0;O.subscribe((0,w.x)(_,I=>ae.call(R,I,q++)&&_.next(I)))})}},4716:(ct,je,b)=>{"use strict";b.d(je,{x:()=>w});var o=b(9360);function w(ee){return(0,o.e)((ae,R)=>{try{ae.subscribe(R)}finally{R.add(ee)}})}},7398:(ct,je,b)=>{"use strict";b.d(je,{U:()=>ee});var o=b(9360),w=b(8251);function ee(ae,R){return(0,o.e)((O,_)=>{let q=0;O.subscribe((0,w.x)(_,I=>{_.next(ae.call(R,I,q++))}))})}},7537:(ct,je,b)=>{"use strict";b.d(je,{J:()=>ee});var o=b(1631),w=b(2737);function ee(ae=1/0){return(0,o.z)(w.y,ae)}},1631:(ct,je,b)=>{"use strict";b.d(je,{z:()=>q});var o=b(7398),w=b(4829),ee=b(9360),ae=b(7103),R=b(8251),_=b(4674);function q(I,B,V=1/0){return(0,_.m)(B)?q((Q,S)=>(0,o.U)((z,D)=>B(Q,z,S,D))((0,w.Xf)(I(Q,S))),V):("number"==typeof B&&(V=B),(0,ee.e)((Q,S)=>function O(I,B,V,Q,S,z,D,k){const P=[];let ne=0,ce=0,Ne=!1;const ue=()=>{Ne&&!P.length&&!ne&&B.complete()},_e=we=>ne{z&&B.next(we),ne++;let re=!1;(0,w.Xf)(V(we,ce++)).subscribe((0,R.x)(B,U=>{S?.(U),z?_e(U):B.next(U)},()=>{re=!0},void 0,()=>{if(re)try{for(ne--;P.length&&neBe(U)):Be(U)}ue()}catch(U){B.error(U)}}))};return I.subscribe((0,R.x)(B,_e,()=>{Ne=!0,ue()})),()=>{k?.()}}(Q,S,I,V)))}},3020:(ct,je,b)=>{"use strict";b.d(je,{B:()=>R});var o=b(4829),w=b(8645),ee=b(305),ae=b(9360);function R(_={}){const{connector:q=(()=>new w.x),resetOnError:I=!0,resetOnComplete:B=!0,resetOnRefCountZero:V=!0}=_;return Q=>{let S,z,D,k=0,P=!1,ne=!1;const ce=()=>{z?.unsubscribe(),z=void 0},Ne=()=>{ce(),S=D=void 0,P=ne=!1},ue=()=>{const _e=S;Ne(),_e?.unsubscribe()};return(0,ae.e)((_e,Be)=>{k++,!ne&&!P&&ce();const we=D=D??q();Be.add(()=>{k--,0===k&&!ne&&!P&&(z=O(ue,V))}),we.subscribe(Be),!S&&k>0&&(S=new ee.Hp({next:re=>we.next(re),error:re=>{ne=!0,ce(),z=O(Ne,I,re),we.error(re)},complete:()=>{P=!0,ce(),z=O(Ne,B),we.complete()}}),(0,o.Xf)(_e).subscribe(S))})(Q)}}function O(_,q,...I){if(!0===q)return void _();if(!1===q)return;const B=new ee.Hp({next:()=>{B.unsubscribe(),_()}});return(0,o.Xf)(q(...I)).subscribe(B)}},4664:(ct,je,b)=>{"use strict";b.d(je,{w:()=>ae});var o=b(4829),w=b(9360),ee=b(8251);function ae(R,O){return(0,w.e)((_,q)=>{let I=null,B=0,V=!1;const Q=()=>V&&!I&&q.complete();_.subscribe((0,ee.x)(q,S=>{I?.unsubscribe();let z=0;const D=B++;(0,o.Xf)(R(S,D)).subscribe(I=(0,ee.x)(q,k=>q.next(O?O(S,k,D,z++):k),()=>{I=null,Q()}))},()=>{V=!0,Q()}))})}},8180:(ct,je,b)=>{"use strict";b.d(je,{q:()=>ae});var o=b(6232),w=b(9360),ee=b(8251);function ae(R){return R<=0?()=>o.E:(0,w.e)((O,_)=>{let q=0;O.subscribe((0,ee.x)(_,I=>{++q<=R&&(_.next(I),R<=q&&_.complete())}))})}},9397:(ct,je,b)=>{"use strict";b.d(je,{b:()=>R});var o=b(4674),w=b(9360),ee=b(8251),ae=b(2737);function R(O,_,q){const I=(0,o.m)(O)||_||q?{next:O,error:_,complete:q}:O;return I?(0,w.e)((B,V)=>{var Q;null===(Q=I.subscribe)||void 0===Q||Q.call(I);let S=!0;B.subscribe((0,ee.x)(V,z=>{var D;null===(D=I.next)||void 0===D||D.call(I,z),V.next(z)},()=>{var z;S=!1,null===(z=I.complete)||void 0===z||z.call(I),V.complete()},z=>{var D;S=!1,null===(D=I.error)||void 0===D||D.call(I,z),V.error(z)},()=>{var z,D;S&&(null===(z=I.unsubscribe)||void 0===z||z.call(I)),null===(D=I.finalize)||void 0===D||D.call(I)}))}):ae.y}},4352:(ct,je,b)=>{"use strict";b.d(je,{P:()=>B,z:()=>I});var o=b(7394);class w extends o.w0{constructor(Q,S){super()}schedule(Q,S=0){return this}}const ee={setInterval(V,Q,...S){const{delegate:z}=ee;return z?.setInterval?z.setInterval(V,Q,...S):setInterval(V,Q,...S)},clearInterval(V){const{delegate:Q}=ee;return(Q?.clearInterval||clearInterval)(V)},delegate:void 0};var ae=b(9039);const O={now:()=>(O.delegate||Date).now(),delegate:void 0};class _{constructor(Q,S=_.now){this.schedulerActionCtor=Q,this.now=S}schedule(Q,S=0,z){return new this.schedulerActionCtor(this,Q).schedule(z,S)}}_.now=O.now;const I=new class q extends _{constructor(Q,S=_.now){super(Q,S),this.actions=[],this._active=!1}flush(Q){const{actions:S}=this;if(this._active)return void S.push(Q);let z;this._active=!0;do{if(z=Q.execute(Q.state,Q.delay))break}while(Q=S.shift());if(this._active=!1,z){for(;Q=S.shift();)Q.unsubscribe();throw z}}}(class R extends w{constructor(Q,S){super(Q,S),this.scheduler=Q,this.work=S,this.pending=!1}schedule(Q,S=0){var z;if(this.closed)return this;this.state=Q;const D=this.id,k=this.scheduler;return null!=D&&(this.id=this.recycleAsyncId(k,D,S)),this.pending=!0,this.delay=S,this.id=null!==(z=this.id)&&void 0!==z?z:this.requestAsyncId(k,this.id,S),this}requestAsyncId(Q,S,z=0){return ee.setInterval(Q.flush.bind(Q,this),z)}recycleAsyncId(Q,S,z=0){if(null!=z&&this.delay===z&&!1===this.pending)return S;null!=S&&ee.clearInterval(S)}execute(Q,S){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const z=this._execute(Q,S);if(z)return z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Q,S){let D,z=!1;try{this.work(Q)}catch(k){z=!0,D=k||new Error("Scheduled action threw falsy error")}if(z)return this.unsubscribe(),D}unsubscribe(){if(!this.closed){const{id:Q,scheduler:S}=this,{actions:z}=S;this.work=this.state=this.scheduler=null,this.pending=!1,(0,ae.P)(z,this),null!=Q&&(this.id=this.recycleAsyncId(S,Q,null)),this.delay=null,super.unsubscribe()}}}),B=I},7599:(ct,je,b)=>{"use strict";b.d(je,{z:()=>o});const o={setTimeout(w,ee,...ae){const{delegate:R}=o;return R?.setTimeout?R.setTimeout(w,ee,...ae):setTimeout(w,ee,...ae)},clearTimeout(w){const{delegate:ee}=o;return(ee?.clearTimeout||clearTimeout)(w)},delegate:void 0}},4971:(ct,je,b)=>{"use strict";b.d(je,{h:()=>w});const w=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(ct,je,b)=>{"use strict";b.d(je,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(ct,je,b)=>{"use strict";b.d(je,{_6:()=>O,jO:()=>ae,yG:()=>R});var o=b(4674),w=b(671);function ee(_){return _[_.length-1]}function ae(_){return(0,o.m)(ee(_))?_.pop():void 0}function R(_){return(0,w.K)(ee(_))?_.pop():void 0}function O(_,q){return"number"==typeof ee(_)?_.pop():q}},7453:(ct,je,b)=>{"use strict";b.d(je,{D:()=>R});const{isArray:o}=Array,{getPrototypeOf:w,prototype:ee,keys:ae}=Object;function R(_){if(1===_.length){const q=_[0];if(o(q))return{args:q,keys:null};if(function O(_){return _&&"object"==typeof _&&w(_)===ee}(q)){const I=ae(q);return{args:I.map(B=>q[B]),keys:I}}}return{args:_,keys:null}}},9039:(ct,je,b)=>{"use strict";function o(w,ee){if(w){const ae=w.indexOf(ee);0<=ae&&w.splice(ae,1)}}b.d(je,{P:()=>o})},2306:(ct,je,b)=>{"use strict";function o(w){const ae=w(R=>{Error.call(R),R.stack=(new Error).stack});return ae.prototype=Object.create(Error.prototype),ae.prototype.constructor=ae,ae}b.d(je,{d:()=>o})},2714:(ct,je,b)=>{"use strict";function o(w,ee){return w.reduce((ae,R,O)=>(ae[R]=ee[O],ae),{})}b.d(je,{n:()=>o})},1441:(ct,je,b)=>{"use strict";b.d(je,{O:()=>ae,x:()=>ee});var o=b(2653);let w=null;function ee(R){if(o.config.useDeprecatedSynchronousErrorHandling){const O=!w;if(O&&(w={errorThrown:!1,error:null}),R(),O){const{errorThrown:_,error:q}=w;if(w=null,_)throw q}}else R()}function ae(R){o.config.useDeprecatedSynchronousErrorHandling&&w&&(w.errorThrown=!0,w.error=R)}},7103:(ct,je,b)=>{"use strict";function o(w,ee,ae,R=0,O=!1){const _=ee.schedule(function(){ae(),O?w.add(this.schedule(null,R)):this.unsubscribe()},R);if(w.add(_),!O)return _}b.d(je,{f:()=>o})},2737:(ct,je,b)=>{"use strict";function o(w){return w}b.d(je,{y:()=>o})},4266:(ct,je,b)=>{"use strict";b.d(je,{z:()=>o});const o=w=>w&&"number"==typeof w.length&&"function"!=typeof w},5726:(ct,je,b)=>{"use strict";b.d(je,{D:()=>w});var o=b(4674);function w(ee){return Symbol.asyncIterator&&(0,o.m)(ee?.[Symbol.asyncIterator])}},4674:(ct,je,b)=>{"use strict";function o(w){return"function"==typeof w}b.d(je,{m:()=>o})},8382:(ct,je,b)=>{"use strict";b.d(je,{c:()=>ee});var o=b(4850),w=b(4674);function ee(ae){return(0,w.m)(ae[o.L])}},3664:(ct,je,b)=>{"use strict";b.d(je,{T:()=>ee});var o=b(4971),w=b(4674);function ee(ae){return(0,w.m)(ae?.[o.h])}},4026:(ct,je,b)=>{"use strict";b.d(je,{t:()=>w});var o=b(4674);function w(ee){return(0,o.m)(ee?.then)}},541:(ct,je,b)=>{"use strict";b.d(je,{L:()=>ae,Q:()=>ee});var o=b(7582),w=b(4674);function ee(R){return(0,o.FC)(this,arguments,function*(){const _=R.getReader();try{for(;;){const{value:q,done:I}=yield(0,o.qq)(_.read());if(I)return yield(0,o.qq)(void 0);yield yield(0,o.qq)(q)}}finally{_.releaseLock()}})}function ae(R){return(0,w.m)(R?.getReader)}},671:(ct,je,b)=>{"use strict";b.d(je,{K:()=>w});var o=b(4674);function w(ee){return ee&&(0,o.m)(ee.schedule)}},9360:(ct,je,b)=>{"use strict";b.d(je,{A:()=>w,e:()=>ee});var o=b(4674);function w(ae){return(0,o.m)(ae?.lift)}function ee(ae){return R=>{if(w(R))return R.lift(function(O){try{return ae(O,this)}catch(_){this.error(_)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(ct,je,b)=>{"use strict";b.d(je,{Z:()=>ae});var o=b(7398);const{isArray:w}=Array;function ae(R){return(0,o.U)(O=>function ee(R,O){return w(O)?R(...O):R(O)}(R,O))}},2420:(ct,je,b)=>{"use strict";function o(){}b.d(je,{Z:()=>o})},8407:(ct,je,b)=>{"use strict";b.d(je,{U:()=>ee,z:()=>w});var o=b(2737);function w(...ae){return ee(ae)}function ee(ae){return 0===ae.length?o.y:1===ae.length?ae[0]:function(O){return ae.reduce((_,q)=>q(_),O)}}},3894:(ct,je,b)=>{"use strict";b.d(je,{h:()=>ee});var o=b(2653),w=b(7599);function ee(ae){w.z.setTimeout(()=>{const{onUnhandledError:R}=o.config;if(!R)throw ae;R(ae)})}},9853:(ct,je,b)=>{"use strict";function o(w){return new TypeError(`You provided ${null!==w&&"object"==typeof w?"an invalid object":`'${w}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}b.d(je,{z:()=>o})},5956:(ct,je,b)=>{"use strict";var o=b(9909),w=Array.prototype.concat,ee=Array.prototype.slice,ae=ct.exports=function(O){for(var _=[],q=0,I=O.length;q{ct.exports=function(b){return!(!b||"string"==typeof b)&&(b instanceof Array||Array.isArray(b)||b.length>=0&&(b.splice instanceof Function||Object.getOwnPropertyDescriptor(b,b.length-1)&&"String"!==b.constructor.name))}},863:(ct,je,b)=>{var o={"./ion-accordion_2.entry.js":[8484,8592,8484],"./ion-action-sheet.entry.js":[9882,8592,9882],"./ion-alert.entry.js":[6304,8592,6304],"./ion-app_8.entry.js":[5860,8592,5860],"./ion-avatar_3.entry.js":[3544,3544],"./ion-back-button.entry.js":[505,8592,505],"./ion-backdrop.entry.js":[469,469],"./ion-breadcrumb_2.entry.js":[9857,8592,9857],"./ion-button_2.entry.js":[1372,1372],"./ion-card_5.entry.js":[3150,3150],"./ion-checkbox.entry.js":[7635,8592,7635],"./ion-chip.entry.js":[6673,6673],"./ion-col_3.entry.js":[1315,1315],"./ion-datetime-button.entry.js":[433,9302,433],"./ion-datetime_3.entry.js":[7059,9302,8592,7059],"./ion-fab_3.entry.js":[4087,8592,4087],"./ion-img.entry.js":[1745,1745],"./ion-infinite-scroll_2.entry.js":[9352,8592,9352],"./ion-input.entry.js":[4530,8592,4530],"./ion-item-option_3.entry.js":[8633,8592,8633],"./ion-item_8.entry.js":[5962,8592,5962],"./ion-loading.entry.js":[3483,8592,3483],"./ion-menu_3.entry.js":[2939,8592,8382],"./ion-modal.entry.js":[8577,8592,8577],"./ion-nav_2.entry.js":[5675,8592,5675],"./ion-picker-column-internal.entry.js":[9992,8592,9992],"./ion-picker-internal.entry.js":[9820,9820],"./ion-popover.entry.js":[185,8592,185],"./ion-progress-bar.entry.js":[5454,5454],"./ion-radio_2.entry.js":[4458,8592,4458],"./ion-range.entry.js":[7666,8592,7666],"./ion-refresher_2.entry.js":[7219,8592,7219],"./ion-reorder_2.entry.js":[2975,8592,2975],"./ion-ripple-effect.entry.js":[7465,7465],"./ion-route_4.entry.js":[4764,4764],"./ion-searchbar.entry.js":[3998,8592,3998],"./ion-segment_2.entry.js":[3672,8592,3672],"./ion-select_3.entry.js":[6754,8592,6754],"./ion-spinner.entry.js":[9588,8592,9588],"./ion-split-pane.entry.js":[9793,9793],"./ion-tab-bar_2.entry.js":[4090,8592,4090],"./ion-tab_2.entry.js":[2841,2841],"./ion-text.entry.js":[8811,8811],"./ion-textarea.entry.js":[3734,8592,3734],"./ion-toast.entry.js":[6642,8592,6642],"./ion-toggle.entry.js":[8866,8592,8866]};function w(ee){if(!b.o(o,ee))return Promise.resolve().then(()=>{var O=new Error("Cannot find module '"+ee+"'");throw O.code="MODULE_NOT_FOUND",O});var ae=o[ee],R=ae[0];return Promise.all(ae.slice(1).map(b.e)).then(()=>b(R))}w.keys=()=>Object.keys(o),w.id=863,ct.exports=w},6814:(ct,je,b)=>{"use strict";b.d(je,{Do:()=>k,EM:()=>tt,HT:()=>ae,JF:()=>Yt,JJ:()=>Io,K0:()=>O,Mx:()=>Ut,O5:()=>ar,Ov:()=>X,PM:()=>W,S$:()=>S,V_:()=>q,Ye:()=>P,b0:()=>D,bD:()=>En,ez:()=>zt,mk:()=>hn,q:()=>ee,sg:()=>Nn,tP:()=>Pe,uU:()=>vr,w_:()=>R});var o=b(2029);let w=null;function ee(){return w}function ae(f){w||(w=f)}class R{}const O=new o.OlP("DocumentToken");let _=(()=>{class f{historyGo(y){throw new Error("Not implemented")}static#e=this.\u0275fac=function(T){return new(T||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:function(){return(0,o.f3M)(I)},providedIn:"platform"})}return f})();const q=new o.OlP("Location Initialized");let I=(()=>{class f extends _{constructor(){super(),this._doc=(0,o.f3M)(O),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ee().getBaseHref(this._doc)}onPopState(y){const T=ee().getGlobalEventTarget(this._doc,"window");return T.addEventListener("popstate",y,!1),()=>T.removeEventListener("popstate",y)}onHashChange(y){const T=ee().getGlobalEventTarget(this._doc,"window");return T.addEventListener("hashchange",y,!1),()=>T.removeEventListener("hashchange",y)}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(y){this._location.pathname=y}pushState(y,T,ve){this._history.pushState(y,T,ve)}replaceState(y,T,ve){this._history.replaceState(y,T,ve)}forward(){this._history.forward()}back(){this._history.back()}historyGo(y=0){this._history.go(y)}getState(){return this._history.state}static#e=this.\u0275fac=function(T){return new(T||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:function(){return new f},providedIn:"platform"})}return f})();function B(f,N){if(0==f.length)return N;if(0==N.length)return f;let y=0;return f.endsWith("/")&&y++,N.startsWith("/")&&y++,2==y?f+N.substring(1):1==y?f+N:f+"/"+N}function V(f){const N=f.match(/#|\?|$/),y=N&&N.index||f.length;return f.slice(0,y-("/"===f[y-1]?1:0))+f.slice(y)}function Q(f){return f&&"?"!==f[0]?"?"+f:f}let S=(()=>{class f{historyGo(y){throw new Error("Not implemented")}static#e=this.\u0275fac=function(T){return new(T||f)};static#t=this.\u0275prov=o.Yz7({token:f,factory:function(){return(0,o.f3M)(D)},providedIn:"root"})}return f})();const z=new o.OlP("appBaseHref");let D=(()=>{class f extends S{constructor(y,T){super(),this._platformLocation=y,this._removeListenerFns=[],this._baseHref=T??this._platformLocation.getBaseHrefFromDOM()??(0,o.f3M)(O).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(y){this._removeListenerFns.push(this._platformLocation.onPopState(y),this._platformLocation.onHashChange(y))}getBaseHref(){return this._baseHref}prepareExternalUrl(y){return B(this._baseHref,y)}path(y=!1){const T=this._platformLocation.pathname+Q(this._platformLocation.search),ve=this._platformLocation.hash;return ve&&y?`${T}${ve}`:T}pushState(y,T,ve,We){const ot=this.prepareExternalUrl(ve+Q(We));this._platformLocation.pushState(y,T,ot)}replaceState(y,T,ve,We){const ot=this.prepareExternalUrl(ve+Q(We));this._platformLocation.replaceState(y,T,ot)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(y=0){this._platformLocation.historyGo?.(y)}static#e=this.\u0275fac=function(T){return new(T||f)(o.LFG(_),o.LFG(z,8))};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),k=(()=>{class f extends S{constructor(y,T){super(),this._platformLocation=y,this._baseHref="",this._removeListenerFns=[],null!=T&&(this._baseHref=T)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(y){this._removeListenerFns.push(this._platformLocation.onPopState(y),this._platformLocation.onHashChange(y))}getBaseHref(){return this._baseHref}path(y=!1){let T=this._platformLocation.hash;return null==T&&(T="#"),T.length>0?T.substring(1):T}prepareExternalUrl(y){const T=B(this._baseHref,y);return T.length>0?"#"+T:T}pushState(y,T,ve,We){let ot=this.prepareExternalUrl(ve+Q(We));0==ot.length&&(ot=this._platformLocation.pathname),this._platformLocation.pushState(y,T,ot)}replaceState(y,T,ve,We){let ot=this.prepareExternalUrl(ve+Q(We));0==ot.length&&(ot=this._platformLocation.pathname),this._platformLocation.replaceState(y,T,ot)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(y=0){this._platformLocation.historyGo?.(y)}static#e=this.\u0275fac=function(T){return new(T||f)(o.LFG(_),o.LFG(z,8))};static#t=this.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac})}return f})(),P=(()=>{class f{constructor(y){this._subject=new o.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=y;const T=this._locationStrategy.getBaseHref();this._basePath=function ue(f){if(new RegExp("^(https?:)?//").test(f)){const[,y]=f.split(/\/\/[^\/]+/);return y}return f}(V(Ne(T))),this._locationStrategy.onPopState(ve=>{this._subject.emit({url:this.path(!0),pop:!0,state:ve.state,type:ve.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(y=!1){return this.normalize(this._locationStrategy.path(y))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(y,T=""){return this.path()==this.normalize(y+Q(T))}normalize(y){return f.stripTrailingSlash(function ce(f,N){if(!f||!N.startsWith(f))return N;const y=N.substring(f.length);return""===y||["/",";","?","#"].includes(y[0])?y:N}(this._basePath,Ne(y)))}prepareExternalUrl(y){return y&&"/"!==y[0]&&(y="/"+y),this._locationStrategy.prepareExternalUrl(y)}go(y,T="",ve=null){this._locationStrategy.pushState(ve,"",y,T),this._notifyUrlChangeListeners(this.prepareExternalUrl(y+Q(T)),ve)}replaceState(y,T="",ve=null){this._locationStrategy.replaceState(ve,"",y,T),this._notifyUrlChangeListeners(this.prepareExternalUrl(y+Q(T)),ve)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(y=0){this._locationStrategy.historyGo?.(y)}onUrlChange(y){return this._urlChangeListeners.push(y),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(T=>{this._notifyUrlChangeListeners(T.url,T.state)})),()=>{const T=this._urlChangeListeners.indexOf(y);this._urlChangeListeners.splice(T,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(y="",T){this._urlChangeListeners.forEach(ve=>ve(y,T))}subscribe(y,T,ve){return this._subject.subscribe({next:y,error:T,complete:ve})}static#e=this.normalizeQueryParams=Q;static#t=this.joinWithSlash=B;static#n=this.stripTrailingSlash=V;static#r=this.\u0275fac=function(T){return new(T||f)(o.LFG(S))};static#o=this.\u0275prov=o.Yz7({token:f,factory:function(){return function ne(){return new P((0,o.LFG)(S))}()},providedIn:"root"})}return f})();function Ne(f){return f.replace(/\/index.html$/,"")}var Be=function(f){return f[f.Decimal=0]="Decimal",f[f.Percent=1]="Percent",f[f.Currency=2]="Currency",f[f.Scientific=3]="Scientific",f}(Be||{}),re=function(f){return f[f.Format=0]="Format",f[f.Standalone=1]="Standalone",f}(re||{}),U=function(f){return f[f.Narrow=0]="Narrow",f[f.Abbreviated=1]="Abbreviated",f[f.Wide=2]="Wide",f[f.Short=3]="Short",f}(U||{}),ge=function(f){return f[f.Short=0]="Short",f[f.Medium=1]="Medium",f[f.Long=2]="Long",f[f.Full=3]="Full",f}(ge||{}),se=function(f){return f[f.Decimal=0]="Decimal",f[f.Group=1]="Group",f[f.List=2]="List",f[f.PercentSign=3]="PercentSign",f[f.PlusSign=4]="PlusSign",f[f.MinusSign=5]="MinusSign",f[f.Exponential=6]="Exponential",f[f.SuperscriptingExponent=7]="SuperscriptingExponent",f[f.PerMille=8]="PerMille",f[f.Infinity=9]="Infinity",f[f.NaN=10]="NaN",f[f.TimeSeparator=11]="TimeSeparator",f[f.CurrencyDecimal=12]="CurrencyDecimal",f[f.CurrencyGroup=13]="CurrencyGroup",f}(se||{});function Y(f,N){return ut((0,o.cg1)(f)[o.wAp.DateFormat],N)}function fe(f,N){return ut((0,o.cg1)(f)[o.wAp.TimeFormat],N)}function ie(f,N){return ut((0,o.cg1)(f)[o.wAp.DateTimeFormat],N)}function Ve(f,N){const y=(0,o.cg1)(f),T=y[o.wAp.NumberSymbols][N];if(typeof T>"u"){if(N===se.CurrencyDecimal)return y[o.wAp.NumberSymbols][se.Decimal];if(N===se.CurrencyGroup)return y[o.wAp.NumberSymbols][se.Group]}return T}function Ze(f){if(!f[o.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${f[o.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ut(f,N){for(let y=N;y>-1;y--)if(typeof f[y]<"u")return f[y];throw new Error("Locale data API: locale data undefined")}function pt(f){const[N,y]=f.split(":");return{hours:+N,minutes:+y}}const Lt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,$t={},wn=/((?:[^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 Kt=function(f){return f[f.Short=0]="Short",f[f.ShortGMT=1]="ShortGMT",f[f.Long=2]="Long",f[f.Extended=3]="Extended",f}(Kt||{}),Nt=function(f){return f[f.FullYear=0]="FullYear",f[f.Month=1]="Month",f[f.Date=2]="Date",f[f.Hours=3]="Hours",f[f.Minutes=4]="Minutes",f[f.Seconds=5]="Seconds",f[f.FractionalSeconds=6]="FractionalSeconds",f[f.Day=7]="Day",f}(Nt||{}),jt=function(f){return f[f.DayPeriods=0]="DayPeriods",f[f.Days=1]="Days",f[f.Months=2]="Months",f[f.Eras=3]="Eras",f}(jt||{});function Vn(f,N,y,T){let ve=function Ke(f){if(me(f))return f;if("number"==typeof f&&!isNaN(f))return new Date(f);if("string"==typeof f){if(f=f.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(f)){const[ve,We=1,ot=1]=f.split("-").map(Pt=>+Pt);return Yn(ve,We-1,ot)}const y=parseFloat(f);if(!isNaN(f-y))return new Date(y);let T;if(T=f.match(Lt))return function $e(f){const N=new Date(0);let y=0,T=0;const ve=f[8]?N.setUTCFullYear:N.setFullYear,We=f[8]?N.setUTCHours:N.setHours;f[9]&&(y=Number(f[9]+f[10]),T=Number(f[9]+f[11])),ve.call(N,Number(f[1]),Number(f[2])-1,Number(f[3]));const ot=Number(f[4]||0)-y,Pt=Number(f[5]||0)-T,Rn=Number(f[6]||0),Ln=Math.floor(1e3*parseFloat("0."+(f[7]||0)));return We.call(N,ot,Pt,Rn,Ln),N}(T)}const N=new Date(f);if(!me(N))throw new Error(`Unable to convert "${f}" into a date`);return N}(f);N=Rt(y,N)||N;let Pt,ot=[];for(;N;){if(Pt=wn.exec(N),!Pt){ot.push(N);break}{ot=ot.concat(Pt.slice(1));const An=ot.pop();if(!An)break;N=An}}let Rn=ve.getTimezoneOffset();T&&(Rn=qn(T,Rn),ve=function Er(f,N,y){const T=y?-1:1,ve=f.getTimezoneOffset();return function Zn(f,N){return(f=new Date(f.getTime())).setMinutes(f.getMinutes()+N),f}(f,T*(qn(N,ve)-ve))}(ve,T,!0));let Ln="";return ot.forEach(An=>{const dn=function gr(f){if(bn[f])return bn[f];let N;switch(f){case"G":case"GG":case"GGG":N=dt(jt.Eras,U.Abbreviated);break;case"GGGG":N=dt(jt.Eras,U.Wide);break;case"GGGGG":N=dt(jt.Eras,U.Narrow);break;case"y":N=Gt(Nt.FullYear,1,0,!1,!0);break;case"yy":N=Gt(Nt.FullYear,2,0,!0,!0);break;case"yyy":N=Gt(Nt.FullYear,3,0,!1,!0);break;case"yyyy":N=Gt(Nt.FullYear,4,0,!1,!0);break;case"Y":N=Kn(1);break;case"YY":N=Kn(2,!0);break;case"YYY":N=Kn(3);break;case"YYYY":N=Kn(4);break;case"M":case"L":N=Gt(Nt.Month,1,1);break;case"MM":case"LL":N=Gt(Nt.Month,2,1);break;case"MMM":N=dt(jt.Months,U.Abbreviated);break;case"MMMM":N=dt(jt.Months,U.Wide);break;case"MMMMM":N=dt(jt.Months,U.Narrow);break;case"LLL":N=dt(jt.Months,U.Abbreviated,re.Standalone);break;case"LLLL":N=dt(jt.Months,U.Wide,re.Standalone);break;case"LLLLL":N=dt(jt.Months,U.Narrow,re.Standalone);break;case"w":N=yn(1);break;case"ww":N=yn(2);break;case"W":N=yn(1,!0);break;case"d":N=Gt(Nt.Date,1);break;case"dd":N=Gt(Nt.Date,2);break;case"c":case"cc":N=Gt(Nt.Day,1);break;case"ccc":N=dt(jt.Days,U.Abbreviated,re.Standalone);break;case"cccc":N=dt(jt.Days,U.Wide,re.Standalone);break;case"ccccc":N=dt(jt.Days,U.Narrow,re.Standalone);break;case"cccccc":N=dt(jt.Days,U.Short,re.Standalone);break;case"E":case"EE":case"EEE":N=dt(jt.Days,U.Abbreviated);break;case"EEEE":N=dt(jt.Days,U.Wide);break;case"EEEEE":N=dt(jt.Days,U.Narrow);break;case"EEEEEE":N=dt(jt.Days,U.Short);break;case"a":case"aa":case"aaa":N=dt(jt.DayPeriods,U.Abbreviated);break;case"aaaa":N=dt(jt.DayPeriods,U.Wide);break;case"aaaaa":N=dt(jt.DayPeriods,U.Narrow);break;case"b":case"bb":case"bbb":N=dt(jt.DayPeriods,U.Abbreviated,re.Standalone,!0);break;case"bbbb":N=dt(jt.DayPeriods,U.Wide,re.Standalone,!0);break;case"bbbbb":N=dt(jt.DayPeriods,U.Narrow,re.Standalone,!0);break;case"B":case"BB":case"BBB":N=dt(jt.DayPeriods,U.Abbreviated,re.Format,!0);break;case"BBBB":N=dt(jt.DayPeriods,U.Wide,re.Format,!0);break;case"BBBBB":N=dt(jt.DayPeriods,U.Narrow,re.Format,!0);break;case"h":N=Gt(Nt.Hours,1,-12);break;case"hh":N=Gt(Nt.Hours,2,-12);break;case"H":N=Gt(Nt.Hours,1);break;case"HH":N=Gt(Nt.Hours,2);break;case"m":N=Gt(Nt.Minutes,1);break;case"mm":N=Gt(Nt.Minutes,2);break;case"s":N=Gt(Nt.Seconds,1);break;case"ss":N=Gt(Nt.Seconds,2);break;case"S":N=Gt(Nt.FractionalSeconds,1);break;case"SS":N=Gt(Nt.FractionalSeconds,2);break;case"SSS":N=Gt(Nt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":N=or(Kt.Short);break;case"ZZZZZ":N=or(Kt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":N=or(Kt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":N=or(Kt.Long);break;default:return null}return bn[f]=N,N}(An);Ln+=dn?dn(ve,y,Rn):"''"===An?"'":An.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Ln}function Yn(f,N,y){const T=new Date(0);return T.setFullYear(f,N,y),T.setHours(0,0,0),T}function Rt(f,N){const y=function H(f){return(0,o.cg1)(f)[o.wAp.LocaleId]}(f);if($t[y]=$t[y]||{},$t[y][N])return $t[y][N];let T="";switch(N){case"shortDate":T=Y(f,ge.Short);break;case"mediumDate":T=Y(f,ge.Medium);break;case"longDate":T=Y(f,ge.Long);break;case"fullDate":T=Y(f,ge.Full);break;case"shortTime":T=fe(f,ge.Short);break;case"mediumTime":T=fe(f,ge.Medium);break;case"longTime":T=fe(f,ge.Long);break;case"fullTime":T=fe(f,ge.Full);break;case"short":const ve=Rt(f,"shortTime"),We=Rt(f,"shortDate");T=Zt(ie(f,ge.Short),[ve,We]);break;case"medium":const ot=Rt(f,"mediumTime"),Pt=Rt(f,"mediumDate");T=Zt(ie(f,ge.Medium),[ot,Pt]);break;case"long":const Rn=Rt(f,"longTime"),Ln=Rt(f,"longDate");T=Zt(ie(f,ge.Long),[Rn,Ln]);break;case"full":const An=Rt(f,"fullTime"),dn=Rt(f,"fullDate");T=Zt(ie(f,ge.Full),[An,dn])}return T&&($t[y][N]=T),T}function Zt(f,N){return N&&(f=f.replace(/\{([^}]+)}/g,function(y,T){return null!=N&&T in N?N[T]:y})),f}function Xt(f,N,y="-",T,ve){let We="";(f<0||ve&&f<=0)&&(ve?f=1-f:(f=-f,We=y));let ot=String(f);for(;ot.length0||Pt>-y)&&(Pt+=y),f===Nt.Hours)0===Pt&&-12===y&&(Pt=12);else if(f===Nt.FractionalSeconds)return function Wt(f,N){return Xt(f,3).substring(0,N)}(Pt,N);const Rn=Ve(ot,se.MinusSign);return Xt(Pt,N,Rn,T,ve)}}function dt(f,N,y=re.Format,T=!1){return function(ve,We){return function Cn(f,N,y,T,ve,We){switch(y){case jt.Months:return function Fe(f,N,y){const T=(0,o.cg1)(f),We=ut([T[o.wAp.MonthsFormat],T[o.wAp.MonthsStandalone]],N);return ut(We,y)}(N,ve,T)[f.getMonth()];case jt.Days:return function De(f,N,y){const T=(0,o.cg1)(f),We=ut([T[o.wAp.DaysFormat],T[o.wAp.DaysStandalone]],N);return ut(We,y)}(N,ve,T)[f.getDay()];case jt.DayPeriods:const ot=f.getHours(),Pt=f.getMinutes();if(We){const Ln=function Oe(f){const N=(0,o.cg1)(f);return Ze(N),(N[o.wAp.ExtraData][2]||[]).map(T=>"string"==typeof T?pt(T):[pt(T[0]),pt(T[1])])}(N),An=function Xe(f,N,y){const T=(0,o.cg1)(f);Ze(T);const We=ut([T[o.wAp.ExtraData][0],T[o.wAp.ExtraData][1]],N)||[];return ut(We,y)||[]}(N,ve,T),dn=Ln.findIndex(Un=>{if(Array.isArray(Un)){const[$n,Cr]=Un,mo=ot>=$n.hours&&Pt>=$n.minutes,$r=ot0?Math.floor(ve/60):Math.ceil(ve/60);switch(f){case Kt.Short:return(ve>=0?"+":"")+Xt(ot,2,We)+Xt(Math.abs(ve%60),2,We);case Kt.ShortGMT:return"GMT"+(ve>=0?"+":"")+Xt(ot,1,We);case Kt.Long:return"GMT"+(ve>=0?"+":"")+Xt(ot,2,We)+":"+Xt(Math.abs(ve%60),2,We);case Kt.Extended:return 0===T?"Z":(ve>=0?"+":"")+Xt(ot,2,We)+":"+Xt(Math.abs(ve%60),2,We);default:throw new Error(`Unknown zone width "${f}"`)}}}const Bt=0,Wn=4;function Xn(f){return Yn(f.getFullYear(),f.getMonth(),f.getDate()+(Wn-f.getDay()))}function yn(f,N=!1){return function(y,T){let ve;if(N){const We=new Date(y.getFullYear(),y.getMonth(),1).getDay()-1,ot=y.getDate();ve=1+Math.floor((ot+We)/7)}else{const We=Xn(y),ot=function In(f){const N=Yn(f,Bt,1).getDay();return Yn(f,0,1+(N<=Wn?Wn:Wn+7)-N)}(We.getFullYear()),Pt=We.getTime()-ot.getTime();ve=1+Math.round(Pt/6048e5)}return Xt(ve,f,Ve(T,se.MinusSign))}}function Kn(f,N=!1){return function(y,T){return Xt(Xn(y).getFullYear(),f,Ve(T,se.MinusSign),N)}}const bn={};function qn(f,N){f=f.replace(/:/g,"");const y=Date.parse("Jan 01, 1970 00:00:00 "+f)/6e4;return isNaN(y)?N:y}function me(f){return f instanceof Date&&!isNaN(f.valueOf())}const Me=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function xt(f){const N=parseInt(f);if(isNaN(N))throw new Error("Invalid integer literal when parsing "+f);return N}function Ut(f,N){N=encodeURIComponent(N);for(const y of f.split(";")){const T=y.indexOf("="),[ve,We]=-1==T?[y,""]:[y.slice(0,T),y.slice(T+1)];if(ve.trim()===N)return decodeURIComponent(We)}return null}const un=/\s+/,_t=[];let hn=(()=>{class f{constructor(y,T,ve,We){this._iterableDiffers=y,this._keyValueDiffers=T,this._ngEl=ve,this._renderer=We,this.initialClasses=_t,this.stateMap=new Map}set klass(y){this.initialClasses=null!=y?y.trim().split(un):_t}set ngClass(y){this.rawClass="string"==typeof y?y.trim().split(un):y}ngDoCheck(){for(const T of this.initialClasses)this._updateState(T,!0);const y=this.rawClass;if(Array.isArray(y)||y instanceof Set)for(const T of y)this._updateState(T,!0);else if(null!=y)for(const T of Object.keys(y))this._updateState(T,!!y[T]);this._applyStateDiff()}_updateState(y,T){const ve=this.stateMap.get(y);void 0!==ve?(ve.enabled!==T&&(ve.changed=!0,ve.enabled=T),ve.touched=!0):this.stateMap.set(y,{enabled:T,changed:!0,touched:!0})}_applyStateDiff(){for(const y of this.stateMap){const T=y[0],ve=y[1];ve.changed?(this._toggleClass(T,ve.enabled),ve.changed=!1):ve.touched||(ve.enabled&&this._toggleClass(T,!1),this.stateMap.delete(T)),ve.touched=!1}}_toggleClass(y,T){(y=y.trim()).length>0&&y.split(un).forEach(ve=>{T?this._renderer.addClass(this._ngEl.nativeElement,ve):this._renderer.removeClass(this._ngEl.nativeElement,ve)})}static#e=this.\u0275fac=function(T){return new(T||f)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))};static#t=this.\u0275dir=o.lG2({type:f,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return f})();class pn{constructor(N,y,T,ve){this.$implicit=N,this.ngForOf=y,this.index=T,this.count=ve}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 Nn=(()=>{class f{set ngForOf(y){this._ngForOf=y,this._ngForOfDirty=!0}set ngForTrackBy(y){this._trackByFn=y}get ngForTrackBy(){return this._trackByFn}constructor(y,T,ve){this._viewContainer=y,this._template=T,this._differs=ve,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(y){y&&(this._template=y)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const y=this._ngForOf;!this._differ&&y&&(this._differ=this._differs.find(y).create(this.ngForTrackBy))}if(this._differ){const y=this._differ.diff(this._ngForOf);y&&this._applyChanges(y)}}_applyChanges(y){const T=this._viewContainer;y.forEachOperation((ve,We,ot)=>{if(null==ve.previousIndex)T.createEmbeddedView(this._template,new pn(ve.item,this._ngForOf,-1,-1),null===ot?void 0:ot);else if(null==ot)T.remove(null===We?void 0:We);else if(null!==We){const Pt=T.get(We);T.move(Pt,ot),nr(Pt,ve)}});for(let ve=0,We=T.length;ve{nr(T.get(ve.currentIndex),ve)})}static ngTemplateContextGuard(y,T){return!0}static#e=this.\u0275fac=function(T){return new(T||f)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))};static#t=this.\u0275dir=o.lG2({type:f,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return f})();function nr(f,N){f.context.$implicit=N.item}let ar=(()=>{class f{constructor(y,T){this._viewContainer=y,this._context=new wr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=T}set ngIf(y){this._context.$implicit=this._context.ngIf=y,this._updateView()}set ngIfThen(y){lr("ngIfThen",y),this._thenTemplateRef=y,this._thenViewRef=null,this._updateView()}set ngIfElse(y){lr("ngIfElse",y),this._elseTemplateRef=y,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(y,T){return!0}static#e=this.\u0275fac=function(T){return new(T||f)(o.Y36(o.s_b),o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:f,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return f})();class wr{constructor(){this.$implicit=null,this.ngIf=null}}function lr(f,N){if(N&&!N.createEmbeddedView)throw new Error(`${f} must be a TemplateRef, but received '${(0,o.AaK)(N)}'.`)}let Pe=(()=>{class f{constructor(y){this._viewContainerRef=y,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(y){if(y.ngTemplateOutlet||y.ngTemplateOutletInjector){const T=this._viewContainerRef;if(this._viewRef&&T.remove(T.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ve,ngTemplateOutletContext:We,ngTemplateOutletInjector:ot}=this;this._viewRef=T.createEmbeddedView(ve,We,ot?{injector:ot}:void 0)}else this._viewRef=null}else this._viewRef&&y.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(T){return new(T||f)(o.Y36(o.s_b))};static#t=this.\u0275dir=o.lG2({type:f,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.TTD]})}return f})();function Ge(f,N){return new o.vHH(2100,!1)}class nt{createSubscription(N,y){return(0,o.rg0)(()=>N.subscribe({next:y,error:T=>{throw T}}))}dispose(N){(0,o.rg0)(()=>N.unsubscribe())}}class u{createSubscription(N,y){return N.then(y,T=>{throw T})}dispose(N){}}const j=new u,m=new nt;let X=(()=>{class f{constructor(y){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=y}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(y){return this._obj?y!==this._obj?(this._dispose(),this.transform(y)):this._latestValue:(y&&this._subscribe(y),this._latestValue)}_subscribe(y){this._obj=y,this._strategy=this._selectStrategy(y),this._subscription=this._strategy.createSubscription(y,T=>this._updateLatestValue(y,T))}_selectStrategy(y){if((0,o.QGY)(y))return j;if((0,o.F4k)(y))return m;throw Ge()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(y,T){y===this._obj&&(this._latestValue=T,this._ref.markForCheck())}static#e=this.\u0275fac=function(T){return new(T||f)(o.Y36(o.sBO,16))};static#t=this.\u0275pipe=o.Yjl({name:"async",type:f,pure:!1,standalone:!0})}return f})();const Sr=new o.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),wo=new o.OlP("DATE_PIPE_DEFAULT_OPTIONS");let vr=(()=>{class f{constructor(y,T,ve){this.locale=y,this.defaultTimezone=T,this.defaultOptions=ve}transform(y,T,ve,We){if(null==y||""===y||y!=y)return null;try{return Vn(y,T??this.defaultOptions?.dateFormat??"mediumDate",We||this.locale,ve??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ot){throw Ge()}}static#e=this.\u0275fac=function(T){return new(T||f)(o.Y36(o.soG,16),o.Y36(Sr,24),o.Y36(wo,24))};static#t=this.\u0275pipe=o.Yjl({name:"date",type:f,pure:!0,standalone:!0})}return f})(),Io=(()=>{class f{constructor(y){this._locale=y}transform(y,T,ve){if(!function ao(f){return!(null==f||""===f||f!=f)}(y))return null;ve=ve||this._locale;try{return function Qe(f,N,y){return function Re(f,N,y,T,ve,We,ot=!1){let Pt="",Rn=!1;if(isFinite(f)){let Ln=function Dt(f){let T,ve,We,ot,Pt,N=Math.abs(f)+"",y=0;for((ve=N.indexOf("."))>-1&&(N=N.replace(".","")),(We=N.search(/e/i))>0?(ve<0&&(ve=We),ve+=+N.slice(We+1),N=N.substring(0,We)):ve<0&&(ve=N.length),We=0;"0"===N.charAt(We);We++);if(We===(Pt=N.length))T=[0],ve=1;else{for(Pt--;"0"===N.charAt(Pt);)Pt--;for(ve-=We,T=[],ot=0;We<=Pt;We++,ot++)T[ot]=Number(N.charAt(We))}return ve>22&&(T=T.splice(0,21),y=ve-1,ve=1),{digits:T,exponent:y,integerLen:ve}}(f);ot&&(Ln=function gt(f){if(0===f.digits[0])return f;const N=f.digits.length-f.integerLen;return f.exponent?f.exponent+=2:(0===N?f.digits.push(0,0):1===N&&f.digits.push(0),f.integerLen+=2),f}(Ln));let An=N.minInt,dn=N.minFrac,Un=N.maxFrac;if(We){const Gr=We.match(Me);if(null===Gr)throw new Error(`${We} is not a valid digit info`);const eo=Gr[1],vo=Gr[3],Ao=Gr[5];null!=eo&&(An=xt(eo)),null!=vo&&(dn=xt(vo)),null!=Ao?Un=xt(Ao):null!=vo&&dn>Un&&(Un=dn)}!function sn(f,N,y){if(N>y)throw new Error(`The minimum number of digits after fraction (${N}) is higher than the maximum (${y}).`);let T=f.digits,ve=T.length-f.integerLen;const We=Math.min(Math.max(N,ve),y);let ot=We+f.integerLen,Pt=T[ot];if(ot>0){T.splice(Math.max(f.integerLen,ot));for(let dn=ot;dn=5)if(ot-1<0){for(let dn=0;dn>ot;dn--)T.unshift(0),f.integerLen++;T.unshift(1),f.integerLen++}else T[ot-1]++;for(;ve=Ln?Cr.pop():Rn=!1),Un>=10?1:0},0);An&&(T.unshift(An),f.integerLen++)}(Ln,dn,Un);let $n=Ln.digits,Cr=Ln.integerLen;const mo=Ln.exponent;let $r=[];for(Rn=$n.every(Gr=>!Gr);Cr0?$r=$n.splice(Cr,$n.length):($r=$n,$n=[0]);const So=[];for($n.length>=N.lgSize&&So.unshift($n.splice(-N.lgSize,$n.length).join(""));$n.length>N.gSize;)So.unshift($n.splice(-N.gSize,$n.length).join(""));$n.length&&So.unshift($n.join("")),Pt=So.join(Ve(y,T)),$r.length&&(Pt+=Ve(y,ve)+$r.join("")),mo&&(Pt+=Ve(y,se.Exponential)+"+"+mo)}else Pt=Ve(y,se.Infinity);return Pt=f<0&&!Rn?N.negPre+Pt+N.negSuf:N.posPre+Pt+N.posSuf,Pt}(f,function it(f,N="-"){const y={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},T=f.split(";"),ve=T[0],We=T[1],ot=-1!==ve.indexOf(".")?ve.split("."):[ve.substring(0,ve.lastIndexOf("0")+1),ve.substring(ve.lastIndexOf("0")+1)],Pt=ot[0],Rn=ot[1]||"";y.posPre=Pt.substring(0,Pt.indexOf("#"));for(let An=0;An{class f{static#e=this.\u0275fac=function(T){return new(T||f)};static#t=this.\u0275mod=o.oAB({type:f});static#n=this.\u0275inj=o.cJS({})}return f})();const En="browser",fr="server";function W(f){return f===fr}let tt=(()=>{class f{static#e=this.\u0275prov=(0,o.Yz7)({token:f,providedIn:"root",factory:()=>new Ct((0,o.LFG)(O),window)})}return f})();class Ct{constructor(N,y){this.document=N,this.window=y,this.offset=()=>[0,0]}setOffset(N){this.offset=Array.isArray(N)?()=>N:N}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(N){this.supportsScrolling()&&this.window.scrollTo(N[0],N[1])}scrollToAnchor(N){if(!this.supportsScrolling())return;const y=function vt(f,N){const y=f.getElementById(N)||f.getElementsByName(N)[0];if(y)return y;if("function"==typeof f.createTreeWalker&&f.body&&"function"==typeof f.body.attachShadow){const T=f.createTreeWalker(f.body,NodeFilter.SHOW_ELEMENT);let ve=T.currentNode;for(;ve;){const We=ve.shadowRoot;if(We){const ot=We.getElementById(N)||We.querySelector(`[name="${N}"]`);if(ot)return ot}ve=T.nextNode()}}return null}(this.document,N);y&&(this.scrollToElement(y),y.focus())}setHistoryScrollRestoration(N){this.supportsScrolling()&&(this.window.history.scrollRestoration=N)}scrollToElement(N){const y=N.getBoundingClientRect(),T=y.left+this.window.pageXOffset,ve=y.top+this.window.pageYOffset,We=this.offset();this.window.scrollTo(T-We[0],ve-We[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Yt{}},9862:(ct,je,b)=>{"use strict";b.d(je,{JF:()=>Me,TP:()=>Ze,WM:()=>S,eN:()=>Z});var o=b(2029),w=b(2096),ee=b(7715),ae=b(5592),R=b(6328),O=b(2181),_=b(7398),q=b(4716),I=b(4664),B=b(6814);class V{}class Q{}class S{constructor(Ce){this.normalizedNames=new Map,this.lazyUpdate=null,Ce?"string"==typeof Ce?this.lazyInit=()=>{this.headers=new Map,Ce.split("\n").forEach(be=>{const Qe=be.indexOf(":");if(Qe>0){const it=be.slice(0,Qe),gt=it.toLowerCase(),Dt=be.slice(Qe+1).trim();this.maybeSetNormalizedName(it,gt),this.headers.has(gt)?this.headers.get(gt).push(Dt):this.headers.set(gt,[Dt])}})}:typeof Headers<"u"&&Ce instanceof Headers?(this.headers=new Map,Ce.forEach((be,Qe)=>{this.setHeaderEntries(Qe,be)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Ce).forEach(([be,Qe])=>{this.setHeaderEntries(be,Qe)})}:this.headers=new Map}has(Ce){return this.init(),this.headers.has(Ce.toLowerCase())}get(Ce){this.init();const be=this.headers.get(Ce.toLowerCase());return be&&be.length>0?be[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ce){return this.init(),this.headers.get(Ce.toLowerCase())||null}append(Ce,be){return this.clone({name:Ce,value:be,op:"a"})}set(Ce,be){return this.clone({name:Ce,value:be,op:"s"})}delete(Ce,be){return this.clone({name:Ce,value:be,op:"d"})}maybeSetNormalizedName(Ce,be){this.normalizedNames.has(be)||this.normalizedNames.set(be,Ce)}init(){this.lazyInit&&(this.lazyInit instanceof S?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ce=>this.applyUpdate(Ce)),this.lazyUpdate=null))}copyFrom(Ce){Ce.init(),Array.from(Ce.headers.keys()).forEach(be=>{this.headers.set(be,Ce.headers.get(be)),this.normalizedNames.set(be,Ce.normalizedNames.get(be))})}clone(Ce){const be=new S;return be.lazyInit=this.lazyInit&&this.lazyInit instanceof S?this.lazyInit:this,be.lazyUpdate=(this.lazyUpdate||[]).concat([Ce]),be}applyUpdate(Ce){const be=Ce.name.toLowerCase();switch(Ce.op){case"a":case"s":let Qe=Ce.value;if("string"==typeof Qe&&(Qe=[Qe]),0===Qe.length)return;this.maybeSetNormalizedName(Ce.name,be);const it=("a"===Ce.op?this.headers.get(be):void 0)||[];it.push(...Qe),this.headers.set(be,it);break;case"d":const gt=Ce.value;if(gt){let Dt=this.headers.get(be);if(!Dt)return;Dt=Dt.filter(sn=>-1===gt.indexOf(sn)),0===Dt.length?(this.headers.delete(be),this.normalizedNames.delete(be)):this.headers.set(be,Dt)}else this.headers.delete(be),this.normalizedNames.delete(be)}}setHeaderEntries(Ce,be){const Qe=(Array.isArray(be)?be:[be]).map(gt=>gt.toString()),it=Ce.toLowerCase();this.headers.set(it,Qe),this.maybeSetNormalizedName(Ce,it)}forEach(Ce){this.init(),Array.from(this.normalizedNames.keys()).forEach(be=>Ce(this.normalizedNames.get(be),this.headers.get(be)))}}class D{encodeKey(Ce){return ce(Ce)}encodeValue(Ce){return ce(Ce)}decodeKey(Ce){return decodeURIComponent(Ce)}decodeValue(Ce){return decodeURIComponent(Ce)}}const P=/%(\d[a-f0-9])/gi,ne={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ce(Re){return encodeURIComponent(Re).replace(P,(Ce,be)=>ne[be]??Ce)}function Ne(Re){return`${Re}`}class ue{constructor(Ce={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ce.encoder||new D,Ce.fromString){if(Ce.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function k(Re,Ce){const be=new Map;return Re.length>0&&Re.replace(/^\?/,"").split("&").forEach(it=>{const gt=it.indexOf("="),[Dt,sn]=-1==gt?[Ce.decodeKey(it),""]:[Ce.decodeKey(it.slice(0,gt)),Ce.decodeValue(it.slice(gt+1))],xt=be.get(Dt)||[];xt.push(sn),be.set(Dt,xt)}),be}(Ce.fromString,this.encoder)}else Ce.fromObject?(this.map=new Map,Object.keys(Ce.fromObject).forEach(be=>{const Qe=Ce.fromObject[be],it=Array.isArray(Qe)?Qe.map(Ne):[Ne(Qe)];this.map.set(be,it)})):this.map=null}has(Ce){return this.init(),this.map.has(Ce)}get(Ce){this.init();const be=this.map.get(Ce);return be?be[0]:null}getAll(Ce){return this.init(),this.map.get(Ce)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ce,be){return this.clone({param:Ce,value:be,op:"a"})}appendAll(Ce){const be=[];return Object.keys(Ce).forEach(Qe=>{const it=Ce[Qe];Array.isArray(it)?it.forEach(gt=>{be.push({param:Qe,value:gt,op:"a"})}):be.push({param:Qe,value:it,op:"a"})}),this.clone(be)}set(Ce,be){return this.clone({param:Ce,value:be,op:"s"})}delete(Ce,be){return this.clone({param:Ce,value:be,op:"d"})}toString(){return this.init(),this.keys().map(Ce=>{const be=this.encoder.encodeKey(Ce);return this.map.get(Ce).map(Qe=>be+"="+this.encoder.encodeValue(Qe)).join("&")}).filter(Ce=>""!==Ce).join("&")}clone(Ce){const be=new ue({encoder:this.encoder});return be.cloneFrom=this.cloneFrom||this,be.updates=(this.updates||[]).concat(Ce),be}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ce=>this.map.set(Ce,this.cloneFrom.map.get(Ce))),this.updates.forEach(Ce=>{switch(Ce.op){case"a":case"s":const be=("a"===Ce.op?this.map.get(Ce.param):void 0)||[];be.push(Ne(Ce.value)),this.map.set(Ce.param,be);break;case"d":if(void 0===Ce.value){this.map.delete(Ce.param);break}{let Qe=this.map.get(Ce.param)||[];const it=Qe.indexOf(Ne(Ce.value));-1!==it&&Qe.splice(it,1),Qe.length>0?this.map.set(Ce.param,Qe):this.map.delete(Ce.param)}}}),this.cloneFrom=this.updates=null)}}class Be{constructor(){this.map=new Map}set(Ce,be){return this.map.set(Ce,be),this}get(Ce){return this.map.has(Ce)||this.map.set(Ce,Ce.defaultValue()),this.map.get(Ce)}delete(Ce){return this.map.delete(Ce),this}has(Ce){return this.map.has(Ce)}keys(){return this.map.keys()}}function re(Re){return typeof ArrayBuffer<"u"&&Re instanceof ArrayBuffer}function U(Re){return typeof Blob<"u"&&Re instanceof Blob}function ge(Re){return typeof FormData<"u"&&Re instanceof FormData}class de{constructor(Ce,be,Qe,it){let gt;if(this.url=be,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ce.toUpperCase(),function we(Re){switch(Re){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||it?(this.body=void 0!==Qe?Qe:null,gt=it):gt=Qe,gt&&(this.reportProgress=!!gt.reportProgress,this.withCredentials=!!gt.withCredentials,gt.responseType&&(this.responseType=gt.responseType),gt.headers&&(this.headers=gt.headers),gt.context&&(this.context=gt.context),gt.params&&(this.params=gt.params)),this.headers||(this.headers=new S),this.context||(this.context=new Be),this.params){const Dt=this.params.toString();if(0===Dt.length)this.urlWithParams=be;else{const sn=be.indexOf("?");this.urlWithParams=be+(-1===sn?"?":snln.set(cn,Ce.setHeaders[cn]),xt)),Ce.setParams&&(an=Object.keys(Ce.setParams).reduce((ln,cn)=>ln.set(cn,Ce.setParams[cn]),an)),new de(be,Qe,gt,{params:an,headers:xt,context:kn,reportProgress:sn,responseType:it,withCredentials:Dt})}}var H=function(Re){return Re[Re.Sent=0]="Sent",Re[Re.UploadProgress=1]="UploadProgress",Re[Re.ResponseHeader=2]="ResponseHeader",Re[Re.DownloadProgress=3]="DownloadProgress",Re[Re.Response=4]="Response",Re[Re.User=5]="User",Re}(H||{});class he{constructor(Ce,be=200,Qe="OK"){this.headers=Ce.headers||new S,this.status=void 0!==Ce.status?Ce.status:be,this.statusText=Ce.statusText||Qe,this.url=Ce.url||null,this.ok=this.status>=200&&this.status<300}}class De extends he{constructor(Ce={}){super(Ce),this.type=H.ResponseHeader}clone(Ce={}){return new De({headers:Ce.headers||this.headers,status:void 0!==Ce.status?Ce.status:this.status,statusText:Ce.statusText||this.statusText,url:Ce.url||this.url||void 0})}}class Fe extends he{constructor(Ce={}){super(Ce),this.type=H.Response,this.body=void 0!==Ce.body?Ce.body:null}clone(Ce={}){return new Fe({body:void 0!==Ce.body?Ce.body:this.body,headers:Ce.headers||this.headers,status:void 0!==Ce.status?Ce.status:this.status,statusText:Ce.statusText||this.statusText,url:Ce.url||this.url||void 0})}}class qe extends he{constructor(Ce){super(Ce,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ce.url||"(unknown url)"}`:`Http failure response for ${Ce.url||"(unknown url)"}: ${Ce.status} ${Ce.statusText}`,this.error=Ce.error||null}}function Le(Re,Ce){return{body:Ce,headers:Re.headers,context:Re.context,observe:Re.observe,params:Re.params,reportProgress:Re.reportProgress,responseType:Re.responseType,withCredentials:Re.withCredentials}}let Z=(()=>{class Re{constructor(be){this.handler=be}request(be,Qe,it={}){let gt;if(be instanceof de)gt=be;else{let xt,an;xt=it.headers instanceof S?it.headers:new S(it.headers),it.params&&(an=it.params instanceof ue?it.params:new ue({fromObject:it.params})),gt=new de(be,Qe,void 0!==it.body?it.body:null,{headers:xt,context:it.context,params:an,reportProgress:it.reportProgress,responseType:it.responseType||"json",withCredentials:it.withCredentials})}const Dt=(0,w.of)(gt).pipe((0,R.b)(xt=>this.handler.handle(xt)));if(be instanceof de||"events"===it.observe)return Dt;const sn=Dt.pipe((0,O.h)(xt=>xt instanceof Fe));switch(it.observe||"body"){case"body":switch(gt.responseType){case"arraybuffer":return sn.pipe((0,_.U)(xt=>{if(null!==xt.body&&!(xt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return xt.body}));case"blob":return sn.pipe((0,_.U)(xt=>{if(null!==xt.body&&!(xt.body instanceof Blob))throw new Error("Response is not a Blob.");return xt.body}));case"text":return sn.pipe((0,_.U)(xt=>{if(null!==xt.body&&"string"!=typeof xt.body)throw new Error("Response is not a string.");return xt.body}));default:return sn.pipe((0,_.U)(xt=>xt.body))}case"response":return sn;default:throw new Error(`Unreachable: unhandled observe type ${it.observe}}`)}}delete(be,Qe={}){return this.request("DELETE",be,Qe)}get(be,Qe={}){return this.request("GET",be,Qe)}head(be,Qe={}){return this.request("HEAD",be,Qe)}jsonp(be,Qe){return this.request("JSONP",be,{params:(new ue).append(Qe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(be,Qe={}){return this.request("OPTIONS",be,Qe)}patch(be,Qe,it={}){return this.request("PATCH",be,Le(it,Qe))}post(be,Qe,it={}){return this.request("POST",be,Le(it,Qe))}put(be,Qe,it={}){return this.request("PUT",be,Le(it,Qe))}static#e=this.\u0275fac=function(Qe){return new(Qe||Re)(o.LFG(V))};static#t=this.\u0275prov=o.Yz7({token:Re,factory:Re.\u0275fac})}return Re})();function ft(Re,Ce){return Ce(Re)}function bt(Re,Ce){return(be,Qe)=>Ce.intercept(be,{handle:it=>Re(it,Qe)})}const Ze=new o.OlP(""),Oe=new o.OlP(""),Xe=new o.OlP("");function Ue(){let Re=null;return(Ce,be)=>{null===Re&&(Re=((0,o.f3M)(Ze,{optional:!0})??[]).reduceRight(bt,ft));const Qe=(0,o.f3M)(o.HDt),it=Qe.add();return Re(Ce,be).pipe((0,q.x)(()=>Qe.remove(it)))}}let ut=(()=>{class Re extends V{constructor(be,Qe){super(),this.backend=be,this.injector=Qe,this.chain=null,this.pendingTasks=(0,o.f3M)(o.HDt)}handle(be){if(null===this.chain){const it=Array.from(new Set([...this.injector.get(Oe),...this.injector.get(Xe,[])]));this.chain=it.reduceRight((gt,Dt)=>function Ot(Re,Ce,be){return(Qe,it)=>be.runInContext(()=>Ce(Qe,gt=>Re(gt,it)))}(gt,Dt,this.injector),ft)}const Qe=this.pendingTasks.add();return this.chain(be,it=>this.backend.handle(it)).pipe((0,q.x)(()=>this.pendingTasks.remove(Qe)))}static#e=this.\u0275fac=function(Qe){return new(Qe||Re)(o.LFG(Q),o.LFG(o.lqb))};static#t=this.\u0275prov=o.Yz7({token:Re,factory:Re.\u0275fac})}return Re})();const Yn=/^\)\]\}',?\n/;let Zt=(()=>{class Re{constructor(be){this.xhrFactory=be}handle(be){if("JSONP"===be.method)throw new o.vHH(-2800,!1);const Qe=this.xhrFactory;return(Qe.\u0275loadImpl?(0,ee.D)(Qe.\u0275loadImpl()):(0,w.of)(null)).pipe((0,I.w)(()=>new ae.y(gt=>{const Dt=Qe.build();if(Dt.open(be.method,be.urlWithParams),be.withCredentials&&(Dt.withCredentials=!0),be.headers.forEach((_t,hn)=>Dt.setRequestHeader(_t,hn.join(","))),be.headers.has("Accept")||Dt.setRequestHeader("Accept","application/json, text/plain, */*"),!be.headers.has("Content-Type")){const _t=be.detectContentTypeHeader();null!==_t&&Dt.setRequestHeader("Content-Type",_t)}if(be.responseType){const _t=be.responseType.toLowerCase();Dt.responseType="json"!==_t?_t:"text"}const sn=be.serializeBody();let xt=null;const an=()=>{if(null!==xt)return xt;const _t=Dt.statusText||"OK",hn=new S(Dt.getAllResponseHeaders()),Jn=function Rt(Re){return"responseURL"in Re&&Re.responseURL?Re.responseURL:/^X-Request-URL:/m.test(Re.getAllResponseHeaders())?Re.getResponseHeader("X-Request-URL"):null}(Dt)||be.url;return xt=new De({headers:hn,status:Dt.status,statusText:_t,url:Jn}),xt},kn=()=>{let{headers:_t,status:hn,statusText:Jn,url:Fn}=an(),pn=null;204!==hn&&(pn=typeof Dt.response>"u"?Dt.responseText:Dt.response),0===hn&&(hn=pn?200:0);let Nn=hn>=200&&hn<300;if("json"===be.responseType&&"string"==typeof pn){const nr=pn;pn=pn.replace(Yn,"");try{pn=""!==pn?JSON.parse(pn):null}catch(Qn){pn=nr,Nn&&(Nn=!1,pn={error:Qn,text:pn})}}Nn?(gt.next(new Fe({body:pn,headers:_t,status:hn,statusText:Jn,url:Fn||void 0})),gt.complete()):gt.error(new qe({error:pn,headers:_t,status:hn,statusText:Jn,url:Fn||void 0}))},ln=_t=>{const{url:hn}=an(),Jn=new qe({error:_t,status:Dt.status||0,statusText:Dt.statusText||"Unknown Error",url:hn||void 0});gt.error(Jn)};let cn=!1;const Ut=_t=>{cn||(gt.next(an()),cn=!0);let hn={type:H.DownloadProgress,loaded:_t.loaded};_t.lengthComputable&&(hn.total=_t.total),"text"===be.responseType&&Dt.responseText&&(hn.partialText=Dt.responseText),gt.next(hn)},un=_t=>{let hn={type:H.UploadProgress,loaded:_t.loaded};_t.lengthComputable&&(hn.total=_t.total),gt.next(hn)};return Dt.addEventListener("load",kn),Dt.addEventListener("error",ln),Dt.addEventListener("timeout",ln),Dt.addEventListener("abort",ln),be.reportProgress&&(Dt.addEventListener("progress",Ut),null!==sn&&Dt.upload&&Dt.upload.addEventListener("progress",un)),Dt.send(sn),gt.next({type:H.Sent}),()=>{Dt.removeEventListener("error",ln),Dt.removeEventListener("abort",ln),Dt.removeEventListener("load",kn),Dt.removeEventListener("timeout",ln),be.reportProgress&&(Dt.removeEventListener("progress",Ut),null!==sn&&Dt.upload&&Dt.upload.removeEventListener("progress",un)),Dt.readyState!==Dt.DONE&&Dt.abort()}})))}static#e=this.\u0275fac=function(Qe){return new(Qe||Re)(o.LFG(B.JF))};static#t=this.\u0275prov=o.Yz7({token:Re,factory:Re.\u0275fac})}return Re})();const Xt=new o.OlP("XSRF_ENABLED"),Gt=new o.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),dt=new o.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Cn{}let or=(()=>{class Re{constructor(be,Qe,it){this.doc=be,this.platform=Qe,this.cookieName=it,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const be=this.doc.cookie||"";return be!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,B.Mx)(be,this.cookieName),this.lastCookieString=be),this.lastToken}static#e=this.\u0275fac=function(Qe){return new(Qe||Re)(o.LFG(B.K0),o.LFG(o.Lbi),o.LFG(Gt))};static#t=this.\u0275prov=o.Yz7({token:Re,factory:Re.\u0275fac})}return Re})();function Bt(Re,Ce){const be=Re.url.toLowerCase();if(!(0,o.f3M)(Xt)||"GET"===Re.method||"HEAD"===Re.method||be.startsWith("http://")||be.startsWith("https://"))return Ce(Re);const Qe=(0,o.f3M)(Cn).getToken(),it=(0,o.f3M)(dt);return null!=Qe&&!Re.headers.has(it)&&(Re=Re.clone({headers:Re.headers.set(it,Qe)})),Ce(Re)}var In=function(Re){return Re[Re.Interceptors=0]="Interceptors",Re[Re.LegacyInterceptors=1]="LegacyInterceptors",Re[Re.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Re[Re.NoXsrfProtection=3]="NoXsrfProtection",Re[Re.JsonpSupport=4]="JsonpSupport",Re[Re.RequestsMadeViaParent=5]="RequestsMadeViaParent",Re[Re.Fetch=6]="Fetch",Re}(In||{});function yn(...Re){const Ce=[Z,Zt,ut,{provide:V,useExisting:ut},{provide:Q,useExisting:Zt},{provide:Oe,useValue:Bt,multi:!0},{provide:Xt,useValue:!0},{provide:Cn,useClass:or}];for(const be of Re)Ce.push(...be.\u0275providers);return(0,o.MR2)(Ce)}const bn=new o.OlP("LEGACY_INTERCEPTOR_FN");function gr(){return function Xn(Re,Ce){return{\u0275kind:Re,\u0275providers:Ce}}(In.LegacyInterceptors,[{provide:bn,useFactory:Ue},{provide:Oe,useExisting:bn,multi:!0}])}let Me=(()=>{class Re{static#e=this.\u0275fac=function(Qe){return new(Qe||Re)};static#t=this.\u0275mod=o.oAB({type:Re});static#n=this.\u0275inj=o.cJS({providers:[yn(gr())]})}return Re})()},2029:(ct,je,b)=>{"use strict";b.d(je,{tb:()=>Ld,AFp:()=>Eh,ip1:()=>mv,hGG:()=>EI,z2F:()=>As,Ojb:()=>rb,sBO:()=>sI,Sil:()=>Iw,EJc:()=>Ew,Xts:()=>ra,SBq:()=>sa,lqb:()=>Uo,qLn:()=>gi,vpe:()=>zo,XFs:()=>Rt,OlP:()=>Bt,zs3:()=>xo,ZZ4:()=>Ud,aQg:()=>zd,soG:()=>Xl,YKP:()=>vm,h0i:()=>Pi,PXZ:()=>Zw,R0b:()=>Pr,FiY:()=>qa,Lbi:()=>au,g9A:()=>_h,Qsj:()=>yb,FYo:()=>Th,JOm:()=>rl,tp0:()=>Ka,Rgc:()=>wa,dDg:()=>Ww,eoX:()=>wv,GfV:()=>xh,s_b:()=>Yl,ifc:()=>ln,VuI:()=>PI,LMc:()=>kI,MMx:()=>bm,Lck:()=>l_,eFA:()=>Av,G48:()=>iI,Gpc:()=>Ne,f3M:()=>be,$WT:()=>Hr,MR2:()=>eu,_c5:()=>CI,qFp:()=>NI,rg0:()=>An,c2e:()=>vv,zSh:()=>ru,HDt:()=>yv,wAp:()=>ws,vHH:()=>U,lri:()=>Ev,rWj:()=>_v,cg1:()=>ud,kL8:()=>Hg,dqk:()=>dt,Z0I:()=>Lt,eJc:()=>Sd,QGY:()=>Zu,F4k:()=>qp,RDi:()=>I0,AaK:()=>P,qOj:()=>Lu,Xq5:()=>Tp,TTD:()=>$r,_Bn:()=>mm,jDz:()=>Dm,xp6:()=>ep,uIk:()=>Bu,ekj:()=>od,Suo:()=>qm,Xpm:()=>Ft,lG2:()=>fo,Yz7:()=>pt,cJS:()=>Vt,oAB:()=>Sr,Yjl:()=>io,Y36:()=>ds,_UZ:()=>Wu,GkF:()=>Ku,qZA:()=>kl,TgZ:()=>Fl,EpF:()=>Xp,n5z:()=>pf,Ikx:()=>cd,LFG:()=>Re,$8M:()=>Sc,$Z:()=>np,NdJ:()=>Ju,CRH:()=>Km,oxw:()=>eg,ALo:()=>Pm,lcZ:()=>Fm,xi3:()=>km,Hsn:()=>ng,F$t:()=>tg,Q6J:()=>Gu,MGl:()=>Nl,hYB:()=>Qu,VKq:()=>Sm,iGM:()=>Wm,MAs:()=>Gp,KtG:()=>Na,CHM:()=>ka,oJD:()=>dh,P3R:()=>ph,Udp:()=>rd,YNc:()=>Hp,_uU:()=>wg,Oqu:()=>sd,hij:()=>Bl,AsE:()=>ad,lnq:()=>ld,Gf:()=>Xm});var o=b(8645),w=b(7394),ee=b(5592),ae=b(7537),R=b(4829),O=b(6232),_=b(9940),q=b(7715),B=b(5619),V=b(2096),Q=b(3020),S=b(4664),z=b(3997);function D(e){for(let t in e)if(e[t]===D)return t;throw Error("Could not find renamed property on target object.")}function k(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function P(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(P).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 n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ne(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ce=D({__forward_ref__:D});function Ne(e){return e.__forward_ref__=Ne,e.toString=function(){return P(this())},e}function ue(e){return _e(e)?e():e}function _e(e){return"function"==typeof e&&e.hasOwnProperty(ce)&&e.__forward_ref__===Ne}function Be(e){return e&&!!e.\u0275providers}const re="https://g.co/ng/security#xss";class U extends Error{constructor(t,n){super(function ge(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function se(e){return"string"==typeof e?e:null==e?"":String(e)}function Fe(e,t){throw new U(-201,!1)}function Ze(e,t){null==e&&function Oe(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function pt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Vt(e){return{providers:e.providers||[],imports:e.imports||[]}}function At(e){return $t(e,Nt)||$t(e,Vn)}function Lt(e){return null!==At(e)}function $t(e,t){return e.hasOwnProperty(t)?e[t]:null}function Kt(e){return e&&(e.hasOwnProperty(jt)||e.hasOwnProperty(Yn))?e[jt]:null}const Nt=D({\u0275prov:D}),jt=D({\u0275inj:D}),Vn=D({ngInjectableDef:D}),Yn=D({ngInjectorDef:D});var Rt=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}(Rt||{});let Zt;function Wt(e){const t=Zt;return Zt=e,t}function Gt(e,t,n){const r=At(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Rt.Optional?null:void 0!==t?t:void Fe(P(e))}const dt=globalThis;class Bt{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=pt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const $e={},me="__NG_DI_FLAG__",Me="ngTempTokenPath",Et=/\n/gm,en="__source";let Jt;function xn(e){const t=Jt;return Jt=e,t}function sr(e,t=Rt.Default){if(void 0===Jt)throw new U(-203,!1);return null===Jt?Gt(e,void 0,t):Jt.get(e,t&Rt.Optional?null:void 0,t)}function Re(e,t=Rt.Default){return(function Xt(){return Zt}()||sr)(ue(e),t)}function be(e,t=Rt.Default){return Re(e,Qe(t))}function Qe(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function it(e){const t=[];for(let n=0;nt){a=s-1;break}}}for(;ss?"":i[le+1].toLowerCase();const He=8&r?xe:null;if(He&&-1!==nr(He,E,0)||2&r&&E!==xe){if(oe(r))return!1;a=!0}}}}else{if(!a&&!oe(r)&&!oe(h))return!1;if(a&&oe(h))continue;a=!1,r=h|1&r}}return oe(r)||a}function oe(e){return 0==(1&e)}function Ee(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i-1)for(n++;n0?'="'+d+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""!==i&&!oe(a)&&(t+=j(s,i),i=""),r=a,s=s||!oe(r);n++}return""!==i&&(t+=j(s,i)),t}function Ft(e){return an(()=>{const t=Io(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===kn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ln.Emulated,styles:e.styles||Ut,_:null,schemas:e.schemas||null,tView:null,id:""};Rr(n);const r=e.dependencies;return n.directiveDefs=so(r,!1),n.pipeDefs=so(r,!0),n.id=function qr(e){let t=0;const n=[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 i of n)t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function ir(e){return rn(e)||Sn(e)}function jn(e){return null!==e}function Sr(e){return an(()=>({type:e.type,bootstrap:e.bootstrap||Ut,declarations:e.declarations||Ut,imports:e.imports||Ut,exports:e.exports||Ut,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function vr(e,t){if(null==e)return cn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}function fo(e){return an(()=>{const t=Io(e);return Rr(t),t})}function io(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 rn(e){return e[un]||null}function Sn(e){return e[_t]||null}function Hn(e){return e[hn]||null}function Hr(e){const t=rn(e)||Sn(e)||Hn(e);return null!==t&&t.standalone}function cr(e,t){const n=e[Jn]||null;if(!n&&!0===t)throw new Error(`Type ${P(e)} does not have '\u0275mod' property.`);return n}function Io(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||cn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Ut,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:vr(e.inputs,t),outputs:vr(e.outputs)}}function Rr(e){e.features?.forEach(t=>t(e))}function so(e,t){if(!e)return null;const n=t?Hn:ir;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(jn)}const On=0,wt=1,zt=2,En=3,fr=4,Ur=5,ur=6,F=7,W=8,M=9,J=10,ye=11,tt=12,Ct=13,vt=14,It=15,Yt=16,gn=17,er=18,_r=19,Kr=20,yr=21,Nr=22,zr=23,Zr=24,fn=25,Po=1,qo=2,rr=7,Fr=9,dr=11;function Ir(e){return Array.isArray(e)&&"object"==typeof e[Po]}function hr(e){return Array.isArray(e)&&!0===e[Po]}function Ko(e){return 0!=(4&e.flags)}function ho(e){return e.componentOffset>-1}function lo(e){return 1==(1&e.flags)}function Mr(e){return!!e.template}function ai(e){return 0!=(512&e[zt])}function go(e,t){return e.hasOwnProperty(Fn)?e[Fn]:null}let Dr=null,Qr=!1;function Lr(e){const t=Dr;return Dr=e,t}const xs={version: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:()=>{}};function Rs(e){if(!ui(e)||e.dirty){if(!e.producerMustRecompute(e)&&!Ps(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function bi(e){e.dirty=!0,function yi(e){if(void 0===e.liveConsumerNode)return;const t=Qr;Qr=!0;try{for(const n of e.liveConsumerNode)n.dirty||bi(n)}finally{Qr=t}}(e),e.consumerMarkedDirty?.(e)}function Di(e){return e&&(e.nextProducerIndex=0),Lr(e)}function Ci(e,t){if(Lr(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(ui(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ps(e){Qo(e);for(let t=0;t0}function Qo(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Bo=null;function An(e){const t=Lr(null);try{return e()}finally{Lr(t)}}const Un=()=>{},$n=(()=>({...xs,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:Un}))();class mo{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function $r(){return So}function So(e){return e.type.prototype.ngOnChanges&&(e.setInput=eo),Gr}function Gr(){const e=Ao(this),t=e?.current;if(t){const n=e.previous;if(n===cn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function eo(e,t,n,r){const i=this.declaredInputs[n],s=Ao(e)||function Ei(e,t){return e[vo]=t}(e,{previous:cn,current:null}),a=s.current||(s.current={}),d=s.previous,h=d[i];a[i]=new mo(h&&h.currentValue,t,d===cn),e[r]=t}$r.ngInherit=!0;const vo="__ngSimpleChanges__";function Ao(e){return e[vo]||null}const yo=function(e,t,n){};function mn(e){for(;Array.isArray(e);)e=e[On];return e}function _i(e,t){return mn(t[e])}function Ar(e,t){return mn(t[e.index])}function Ra(e,t){return e.data[t]}function ei(e,t){return e[t]}function Yr(e,t){const n=t[e];return Ir(n)?n:n[On]}function To(e,t){return null==t?null:e[t]}function uc(e){e[gn]=0}function Pa(e){1024&e[zt]||(e[zt]|=1024,Fa(e,1))}function bo(e){1024&e[zt]&&(e[zt]&=-1025,Fa(e,-1))}function Fa(e,t){let n=e[En];if(null===n)return;n[Ur]+=t;let r=n;for(n=n[En];null!==n&&(1===t&&1===r[Ur]||-1===t&&0===r[Ur]);)n[Ur]+=t,r=n,n=n[En]}const Qt={lFrame:_n(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function gc(){return Qt.bindingsEnabled}function ti(){return null!==Qt.skipHydrationRootTNode}function lt(){return Qt.lFrame.lView}function Dn(){return Qt.lFrame.tView}function ka(e){return Qt.lFrame.contextLView=e,e[W]}function Na(e){return Qt.lFrame.contextLView=null,e}function Tr(){let e=La();for(;null!==e&&64===e.type;)e=e.parent;return e}function La(){return Qt.lFrame.currentTNode}function Do(e,t){const n=Qt.lFrame;n.currentTNode=e,n.isParent=t}function Vs(){return Qt.lFrame.isParent}function js(){Qt.lFrame.isParent=!1}function Br(){const e=Qt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Vo(){return Qt.lFrame.bindingIndex}function Ii(){return Qt.lFrame.bindingIndex++}function jo(e){const t=Qt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function l(e,t){const n=Qt.lFrame;n.bindingIndex=n.bindingRootIndex=e,C(t)}function C(e){Qt.lFrame.currentDirectiveIndex=e}function pe(){return Qt.lFrame.currentQueryIndex}function Ye(e){Qt.lFrame.currentQueryIndex=e}function ze(e){const t=e[wt];return 2===t.type?t.declTNode:1===t.type?e[ur]:null}function Mt(e,t,n){if(n&Rt.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&Rt.Host||(i=ze(s),null===i||(s=s[vt],10&i.type))););if(null===i)return!1;t=i,e=s}const r=Qt.lFrame=zn();return r.currentTNode=t,r.lView=e,!0}function tn(e){const t=zn(),n=e[wt];Qt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zn(){const e=Qt.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 Co(){const e=Qt.lFrame;return Qt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const di=Co;function ni(){const e=Co();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 kr(){return Qt.lFrame.selectedIndex}function Mi(e){Qt.lFrame.selectedIndex=e}function pr(){const e=Qt.lFrame;return Ra(e.tView,e.selectedIndex)}let ef=!0;function Ba(){return ef}function hi(e){ef=e}function Va(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[h]<0&&(e[gn]+=65536),(d>13>16&&(3&e[zt])===t&&(e[zt]+=8192,nf(d,s)):nf(d,s)}const zi=-1;class Us{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Ec(e){return e!==zi}function zs(e){return 32767&e}function Gs(e,t){let n=function cy(e){return e>>16}(e),r=t;for(;n>0;)r=r[vt],n--;return r}let _c=!0;function Ua(e){const t=_c;return _c=e,t}const rf=255,sf=5;let uy=0;const Ho={};function za(e,t){const n=af(e,t);if(-1!==n)return n;const r=t[wt];r.firstCreatePass&&(e.injectorIndex=t.length,wc(r.data,e),wc(t,null),wc(r.blueprint,null));const i=Ga(e,t),s=e.injectorIndex;if(Ec(i)){const a=zs(i),d=Gs(i,t),h=d[wt].data;for(let E=0;E<8;E++)t[s+E]=d[a+E]|h[a+E]}return t[s+8]=i,s}function wc(e,t){e.push(0,0,0,0,0,0,0,0,t)}function af(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ga(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=gf(i),null===r)return zi;if(n++,i=i[vt],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return zi}function Ic(e,t,n){!function dy(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(pn)&&(r=n[pn]),null==r&&(r=n[pn]=uy++);const i=r&rf;t.data[e+(i>>sf)]|=1<=0?t&rf:my:t}(n);if("function"==typeof s){if(!Mt(t,e,r))return r&Rt.Host?lf(i,0,r):cf(t,n,r,i);try{let a;if(a=s(r),null!=a||r&Rt.Optional)return a;Fe()}finally{di()}}else if("number"==typeof s){let a=null,d=af(e,t),h=zi,E=r&Rt.Host?t[It][ur]:null;for((-1===d||r&Rt.SkipSelf)&&(h=-1===d?Ga(e,t):t[d+8],h!==zi&&hf(r,!1)?(a=t[wt],d=zs(h),t=Gs(h,t)):d=-1);-1!==d;){const $=t[wt];if(ff(s,d,$.data)){const le=hy(d,t,n,a,r,E);if(le!==Ho)return le}h=t[d+8],h!==zi&&hf(r,t[wt].data[d+8]===E)&&ff(s,d,t)?(a=$,d=zs(h),t=Gs(h,t)):d=-1}}return i}function hy(e,t,n,r,i,s){const a=t[wt],d=a.data[e+8],$=Ya(d,a,n,null==r?ho(d)&&_c:r!=a&&0!=(3&d.type),i&Rt.Host&&s===d);return null!==$?Si(t,a,$,d):Ho}function Ya(e,t,n,r,i){const s=e.providerIndexes,a=t.data,d=1048575&s,h=e.directiveStart,$=s>>20,xe=i?d+$:e.directiveEnd;for(let He=r?d:d+$;He=h&&rt.type===n)return He}if(i){const He=a[h];if(He&&Mr(He)&&He.type===n)return h}return null}function Si(e,t,n,r){let i=e[n];const s=t.data;if(function sy(e){return e instanceof Us}(i)){const a=i;a.resolving&&function H(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new U(-200,`Circular dependency in DI detected for ${e}${n}`)}(function de(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():se(e)}(s[n]));const d=Ua(a.canSeeViewProviders);a.resolving=!0;const E=a.injectImpl?Wt(a.injectImpl):null;Mt(e,r,Rt.Default);try{i=e[n]=a.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function oy(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const a=So(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}i&&(n.preOrderHooks??=[]).push(0-e,i),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==E&&Wt(E),Ua(d),a.resolving=!1,di()}}return i}function ff(e,t,n){return!!(n[t+(e>>sf)]&1<{const t=e.prototype.constructor,n=t[Fn]||Mc(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[Fn]||Mc(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Mc(e){return _e(e)?()=>{const t=Mc(ue(e));return t&&t()}:go(e)}function gf(e){const t=e[wt],n=t.type;return 2===n?t.declTNode:1===n?e[ur]:null}function Sc(e){return function fy(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i{const r=function Ac(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const a=new i(...s);return d.annotation=a,d;function d(h,E,$){const le=h.hasOwnProperty(Yi)?h[Yi]:Object.defineProperty(h,Yi,{value:[]})[Yi];for(;le.length<=$;)le.push(null);return(le[$]=le[$]||[]).push(a),h}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Ki(e,t){e.forEach(n=>Array.isArray(n)?Ki(n,t):t(n))}function vf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Wa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Xs(e,t){const n=[];for(let r=0;r=0?e[1|r]=n:(r=~r,function wy(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Tc(e,t){const n=Zi(e,t);if(n>=0)return e[1|n]}function Zi(e,t){return function yf(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),a=e[s<t?i=s:r=s+1}return~(i<|^->||--!>|)/g,Wy="\u200b$1\u200b";const Fc=new Map;let Xy=0;const Nc="__ngContext__";function Vr(e,t){Ir(t)?(e[Nc]=t[_r],function Ky(e){Fc.set(e[_r],e)}(t)):e[Nc]=t}let Lc;function $c(e,t){return Lc(e,t)}function Zs(e){const t=e[En];return hr(t)?t[En]:t}function $f(e){return Vf(e[tt])}function Bf(e){return Vf(e[fr])}function Vf(e){for(;null!==e&&!hr(e);)e=e[fr];return e}function es(e,t,n,r,i){if(null!=r){let s,a=!1;hr(r)?s=r:Ir(r)&&(a=!0,r=r[On]);const d=mn(r);0===e&&null!==n?null==i?zf(t,n,d):Ai(t,n,d,i||null,!0):1===e&&null!==n?Ai(t,n,d,i||null,!0):2===e?function cl(e,t,n){const r=al(e,t);r&&function m0(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,d,a):3===e&&t.destroyNode(d),null!=s&&function b0(e,t,n,r,i){const s=n[rr];s!==mn(n)&&es(t,e,r,s,i);for(let d=dr;dt.replace(Yy,Wy))}(t))}function il(e,t,n){return e.createElement(t,n)}function Hf(e,t){const n=e[Fr],r=n.indexOf(t);bo(t),n.splice(r,1)}function sl(e,t){if(e.length<=dr)return;const n=dr+t,r=e[n];if(r){const i=r[Yt];null!==i&&i!==e&&Hf(i,r),t>0&&(e[n-1][fr]=r[fr]);const s=Wa(e,dr+t);!function l0(e,t){Qs(e,t,t[ye],2,null,null),t[On]=null,t[ur]=null}(r[wt],r);const a=s[er];null!==a&&a.detachView(s[wt]),r[En]=null,r[fr]=null,r[zt]&=-129}return r}function Vc(e,t){if(!(256&t[zt])){const n=t[ye];t[zr]&&Vi(t[zr]),t[Zr]&&Vi(t[Zr]),n.destroyNode&&Qs(e,t,n,3,null,null),function d0(e){let t=e[tt];if(!t)return jc(e[wt],e);for(;t;){let n=null;if(Ir(t))n=t[tt];else{const r=t[dr];r&&(n=r)}if(!n){for(;t&&!t[fr]&&t!==e;)Ir(t)&&jc(t[wt],t),t=t[En];null===t&&(t=e),Ir(t)&&jc(t[wt],t),n=t&&t[fr]}t=n}}(t)}}function jc(e,t){if(!(256&t[zt])){t[zt]&=-129,t[zt]|=256,function g0(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[a]():r[-a].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[F]=null);const i=t[yr];if(null!==i){t[yr]=null;for(let s=0;s-1){const{encapsulation:s}=e.data[r.directiveStart+i];if(s===ln.None||s===ln.Emulated)return null}return Ar(r,n)}}(e,t.parent,n)}function Ai(e,t,n,r,i){e.insertBefore(t,n,r,i)}function zf(e,t,n){e.appendChild(t,n)}function Gf(e,t,n,r,i){null!==r?Ai(e,t,n,r,i):zf(e,t,n)}function al(e,t){return e.parentNode(t)}function Yf(e,t,n){return Xf(e,t,n)}let Uc,ul,Wc,dl,Xf=function Wf(e,t,n){return 40&e.type?Ar(e,n):null};function ll(e,t,n,r){const i=Hc(e,r,t),s=t[ye],d=Yf(r.parent||t[ur],r,t);if(null!=i)if(Array.isArray(n))for(let h=0;he,createScript:e=>e,createScriptURL:e=>e})}catch{}return ul}()?.createHTML(e)||e}function I0(e){Wc=e}function ns(){if(void 0!==Wc)return Wc;if(typeof document<"u")return document;throw new U(210,!1)}function Xc(){if(void 0===dl&&(dl=null,dt.trustedTypes))try{dl=dt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return dl}function th(e){return Xc()?.createHTML(e)||e}function rh(e){return Xc()?.createScriptURL(e)||e}class oh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${re})`}}function pi(e){return e instanceof oh?e.changingThisBreaksApplicationSecurity:e}function ea(e,t){const n=function O0(e){return e instanceof oh&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${re})`)}return n===t}class R0{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(ts(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class P0{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=ts(t),n}}const k0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function qc(e){return(e=String(e)).match(k0)?e:"unsafe:"+e}function ri(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ta(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const sh=ri("area,br,col,hr,img,wbr"),ah=ri("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),lh=ri("rp,rt"),Kc=ta(sh,ta(ah,ri("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")),ta(lh,ri("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")),ta(lh,ah)),Zc=ri("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ch=ta(Zc,ri("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"),ri("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")),N0=ri("script,style,template");class L0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Kc.hasOwnProperty(n))return this.sanitizedSomething=!0,!N0.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i"),!0}endElement(t){const n=t.nodeName.toLowerCase();Kc.hasOwnProperty(n)&&!sh.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(uh(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const $0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,B0=/([^\#-~ |!])/g;function uh(e){return e.replace(/&/g,"&").replace($0,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(B0,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let fl;function Jc(e){return"content"in e&&function j0(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var rs=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}(rs||{});function dh(e){const t=na();return t?th(t.sanitize(rs.HTML,e)||""):ea(e,"HTML")?th(pi(e)):function V0(e,t){let n=null;try{fl=fl||function ih(e){const t=new P0(e);return function F0(){try{return!!(new window.DOMParser).parseFromString(ts(""),"text/html")}catch{return!1}}()?new R0(t):t}(e);let r=t?String(t):"";n=fl.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=fl.getInertBodyElement(r)}while(r!==s);return ts((new L0).sanitizeChildren(Jc(n)||n))}finally{if(n){const r=Jc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(ns(),se(e))}function fh(e){const t=na();return t?t.sanitize(rs.URL,e)||"":ea(e,"URL")?pi(e):qc(se(e))}function hh(e){const t=na();if(t)return rh(t.sanitize(rs.RESOURCE_URL,e)||"");if(ea(e,"ResourceURL"))return rh(pi(e));throw new U(904,!1)}function ph(e,t,n){return function Y0(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?hh:fh}(t,n)(e)}function na(){const e=lt();return e&&e[J].sanitizer}const ra=new Bt("ENVIRONMENT_INITIALIZER"),gh=new Bt("INJECTOR",-1),mh=new Bt("INJECTOR_DEF_TYPES");class Qc{get(t,n=$e){if(n===$e){const r=new Error(`NullInjectorError: No provider for ${P(t)}!`);throw r.name="NullInjectorError",r}return n}}function eu(e){return{\u0275providers:e}}function W0(...e){return{\u0275providers:vh(0,e),\u0275fromNgModule:!0}}function vh(e,...t){const n=[],r=new Set;let i;const s=a=>{n.push(a)};return Ki(t,a=>{const d=a;hl(d,s,[],r)&&(i||=[],i.push(d))}),void 0!==i&&yh(i,s),n}function yh(e,t){for(let n=0;n{t(s,r)})}}function hl(e,t,n,r){if(!(e=ue(e)))return!1;let i=null,s=Kt(e);const a=!s&&rn(e);if(s||a){if(a&&!a.standalone)return!1;i=e}else{const h=e.ngModule;if(s=Kt(h),!s)return!1;i=h}const d=r.has(i);if(a){if(d)return!1;if(r.add(i),a.dependencies){const h="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const E of h)hl(E,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!d){let E;r.add(i);try{Ki(s.imports,$=>{hl($,t,n,r)&&(E||=[],E.push($))})}finally{}void 0!==E&&yh(E,t)}if(!d){const E=go(i)||(()=>new i);t({provide:i,useFactory:E,deps:Ut},i),t({provide:mh,useValue:i,multi:!0},i),t({provide:ra,useValue:()=>Re(i),multi:!0},i)}const h=s.providers;if(null!=h&&!d){const E=e;tu(h,$=>{t($,E)})}}}return i!==e&&void 0!==e.providers}function tu(e,t){for(let n of e)Be(n)&&(n=n.\u0275providers),Array.isArray(n)?tu(n,t):t(n)}const X0=D({provide:String,useValue:D});function nu(e){return null!==e&&"object"==typeof e&&X0 in e}function Ti(e){return"function"==typeof e}const ru=new Bt("Set Injector scope."),pl={},K0={};let ou;function gl(){return void 0===ou&&(ou=new Qc),ou}class Uo{}class os extends Uo{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,su(t,a=>this.processProvider(a)),this.records.set(gh,is(void 0,this)),i.has("environment")&&this.records.set(Uo,is(void 0,this));const s=this.records.get(ru);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(mh.multi,Ut,Rt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=xn(this),r=Wt(void 0);try{return t()}finally{xn(n),Wt(r)}}get(t,n=$e,r=Rt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Nn))return t[Nn](this);r=Qe(r);const s=xn(this),a=Wt(void 0);try{if(!(r&Rt.SkipSelf)){let h=this.records.get(t);if(void 0===h){const E=function tb(e){return"function"==typeof e||"object"==typeof e&&e instanceof Bt}(t)&&At(t);h=E&&this.injectableDefInScope(E)?is(iu(t),pl):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&Rt.Self?gl():this.parent).get(t,n=r&Rt.Optional&&n===$e?null:n)}catch(d){if("NullInjectorError"===d.name){if((d[Me]=d[Me]||[]).unshift(P(t)),s)throw d;return function sn(e,t,n,r){const i=e[Me];throw t[en]&&i.unshift(t[en]),e.message=function xt(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=P(t);if(Array.isArray(t))i=t.map(P).join(" -> ");else if("object"==typeof t){let s=[];for(let a in t)if(t.hasOwnProperty(a)){let d=t[a];s.push(a+":"+("string"==typeof d?JSON.stringify(d):P(d)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Et,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Me]=null,e}(d,t,"R3InjectorError",this.source)}throw d}finally{Wt(a),xn(s)}}resolveInjectorInitializers(){const t=xn(this),n=Wt(void 0);try{const i=this.get(ra.multi,Ut,Rt.Self);for(const s of i)s()}finally{xn(t),Wt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(P(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new U(205,!1)}processProvider(t){let n=Ti(t=ue(t))?t:ue(t&&t.provide);const r=function J0(e){return nu(e)?is(void 0,e.useValue):is(Ch(e),pl)}(t);if(Ti(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=is(void 0,pl,!0),i.factory=()=>it(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===pl&&(n.value=K0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function eb(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=ue(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function iu(e){const t=At(e),n=null!==t?t.factory:go(e);if(null!==n)return n;if(e instanceof Bt)throw new U(204,!1);if(e instanceof Function)return function Z0(e){const t=e.length;if(t>0)throw Xs(t,"?"),new U(204,!1);const n=function wn(e){return e&&(e[Nt]||e[Vn])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new U(204,!1)}function Ch(e,t,n){let r;if(Ti(e)){const i=ue(e);return go(i)||iu(i)}if(nu(e))r=()=>ue(e.useValue);else if(function Dh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...it(e.deps||[]));else if(function bh(e){return!(!e||!e.useExisting)}(e))r=()=>Re(ue(e.useExisting));else{const i=ue(e&&(e.useClass||e.provide));if(!function Q0(e){return!!e.deps}(e))return go(i)||iu(i);r=()=>new i(...it(e.deps))}return r}function is(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function su(e,t){for(const n of e)Array.isArray(n)?su(n,t):n&&Be(n)?su(n.\u0275providers,t):t(n)}const Eh=new Bt("AppId",{providedIn:"root",factory:()=>nb}),nb="ng",_h=new Bt("Platform Initializer"),au=new Bt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),rb=new Bt("CSP nonce",{providedIn:"root",factory:()=>ns().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let wh=(e,t,n)=>null;function gu(e,t,n=!1){return wh(e,t,n)}class hb{}class Sh{}class gb{resolveComponentFactory(t){throw function pb(e){const t=Error(`No component factory found for ${P(e)}.`);return t.ngComponent=e,t}(t)}}let Cl=(()=>{class e{static#e=this.NULL=new gb}return e})();function mb(){return ls(Tr(),lt())}function ls(e,t){return new sa(Ar(e,t))}let sa=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=mb}return e})();function vb(e){return e instanceof sa?e.nativeElement:e}class Th{}let yb=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function bb(){const e=lt(),n=Yr(Tr().index,e);return(Ir(n)?n:e)[ye]}()}return e})(),Db=(()=>{class e{static#e=this.\u0275prov=pt({token:e,providedIn:"root",factory:()=>null})}return e})();class xh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Cb=new xh("16.2.12"),yu={};function Fh(e,t=null,n=null,r){const i=kh(e,t,n,r);return i.resolveInjectorInitializers(),i}function kh(e,t=null,n=null,r,i=new Set){const s=[n||Ut,W0(e)];return r=r||("object"==typeof e?void 0:P(e)),new os(s,t||gl(),r||null,i)}let xo=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=$e;static#t=this.NULL=new Qc;static create(n,r){if(Array.isArray(n))return Fh({name:""},r,n,"");{const i=n.name??"";return Fh({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=pt({token:e,providedIn:"any",factory:()=>Re(gh)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Du(e){return e.ngOriginalError}class gi{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Du(t);for(;n&&Du(n);)n=Du(n);return n||null}}function Eu(e){return t=>{setTimeout(e,void 0,t)}}const zo=class Ab extends o.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,s=n||(()=>null),a=r;if(t&&"object"==typeof t){const h=t;i=h.next?.bind(h),s=h.error?.bind(h),a=h.complete?.bind(h)}this.__isAsync&&(s=Eu(s),i&&(i=Eu(i)),a&&(a=Eu(a)));const d=super.subscribe({next:i,error:s,complete:a});return t instanceof w.w0&&t.add(d),d}};function Lh(...e){}class Pr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new zo(!1),this.onMicrotaskEmpty=new zo(!1),this.onStable=new zo(!1),this.onError=new zo(!1),typeof Zone>"u")throw new U(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function Tb(){const e="function"==typeof dt.requestAnimationFrame;let t=dt[e?"requestAnimationFrame":"setTimeout"],n=dt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Rb(e){const t=()=>{!function Ob(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(dt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,wu(e),e.isCheckStableRunning=!0,_u(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),wu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,a,d)=>{if(function Fb(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(d))return n.invokeTask(i,s,a,d);try{return $h(e),n.invokeTask(i,s,a,d)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Bh(e)}},onInvoke:(n,r,i,s,a,d,h)=>{try{return $h(e),n.invoke(i,s,a,d,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),Bh(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,wu(e),_u(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Pr.isInAngularZone())throw new U(909,!1)}static assertNotInAngularZone(){if(Pr.isInAngularZone())throw new U(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+i,t,xb,Lh,Lh);try{return s.runTask(a,n,r)}finally{s.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const xb={};function _u(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 wu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function $h(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Bh(e){e._nesting--,_u(e)}class Pb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new zo,this.onMicrotaskEmpty=new zo,this.onStable=new zo,this.onError=new zo}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}const Vh=new Bt("",{providedIn:"root",factory:jh});function jh(){const e=be(Pr);let t=!0;return function I(...e){const t=(0,_.yG)(e),n=(0,_._6)(e,1/0),r=e;return r.length?1===r.length?(0,R.Xf)(r[0]):(0,ae.J)(n)((0,q.D)(r,t)):O.E}(new ee.y(i=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(t),i.complete()})}),new ee.y(i=>{let s;e.runOutsideAngular(()=>{s=e.onStable.subscribe(()=>{Pr.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,i.next(!0))})})});const a=e.onUnstable.subscribe(()=>{Pr.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{s.unsubscribe(),a.unsubscribe()}}).pipe((0,Q.B)()))}function oi(e){return e instanceof Function?e():e}let Iu=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=pt({token:e,providedIn:"root",factory:()=>new e})}return e})();function aa(e){for(;e;){e[zt]|=64;const t=Zs(e);if(ai(e)&&!t)return e;e=t}return null}const Yh=new Bt("",{providedIn:"root",factory:()=>!1});let _l=null;function Kh(e,t){return e[t]??Qh()}function Zh(e,t){const n=Qh();n.producerNode?.length&&(e[t]=_l,n.lView=e,_l=Jh())}const zb={...xs,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{aa(e.lView)},lView:null};function Jh(){return Object.create(zb)}function Qh(){return _l??=Jh(),_l}const on={};function ep(e){tp(Dn(),lt(),kr()+e,!1)}function tp(e,t,n,r){if(!r)if(3==(3&t[zt])){const s=e.preOrderCheckHooks;null!==s&&ja(t,s,n)}else{const s=e.preOrderHooks;null!==s&&Ha(t,s,0,n)}Mi(n)}function ds(e,t=Rt.Default){const n=lt();return null===n?Re(e,t):uf(Tr(),n,ue(e),t)}function np(){throw new Error("invalid")}function wl(e,t,n,r,i,s,a,d,h,E,$){const le=t.blueprint.slice();return le[On]=i,le[zt]=140|r,(null!==E||e&&2048&e[zt])&&(le[zt]|=2048),uc(le),le[En]=le[vt]=e,le[W]=n,le[J]=a||e&&e[J],le[ye]=d||e&&e[ye],le[M]=h||e&&e[M]||null,le[ur]=s,le[_r]=function qy(){return Xy++}(),le[Nr]=$,le[Kr]=E,le[It]=2==t.type?e[It]:le,le}function fs(e,t,n,r,i){let s=e.data[t];if(null===s)s=function Mu(e,t,n,r,i){const s=La(),a=Vs(),h=e.data[t]=function Jb(e,t,n,r,i,s){let a=t?t.injectorIndex:-1,d=0;return ti()&&(d|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:d,providerIndexes:0,value:i,attrs:s,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,a?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=h),null!==s&&(a?null==s.child&&null!==h.parent&&(s.child=h):null===s.next&&(s.next=h,h.prev=s)),h}(e,t,n,r,i),function c(){return Qt.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const a=function wi(){const e=Qt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===a?-1:a.injectorIndex}return Do(s,!0),s}function la(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;sfn&&tp(e,t,fn,!1),yo(d?2:0,i);const E=d?s:null,$=Di(E);try{null!==E&&(E.dirty=!1),n(r,i)}finally{Ci(E,$)}}finally{d&&null===t[zr]&&Zh(t,zr),Mi(a),yo(d?3:1,i)}}function Su(e,t,n){if(Ko(t)){const r=Lr(null);try{const s=t.directiveEnd;for(let a=t.directiveStart;anull;function sp(e,t,n,r){for(let i in e)if(e.hasOwnProperty(i)){n=null===n?{}:n;const s=e[i];null===r?ap(n,t,i,s):r.hasOwnProperty(i)&&ap(n,t,r[i],s)}return n}function ap(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function uo(e,t,n,r,i,s,a,d){const h=Ar(t,n);let $,E=t.inputs;!d&&null!=E&&($=E[r])?(ku(e,n,$,r,i),ho(t)&&function tD(e,t){const n=Yr(t,e);16&n[zt]||(n[zt]|=64)}(n,t.index)):3&t.type&&(r=function eD(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=a?a(i,t.value||"",r):i,s.setProperty(h,r,i))}function Ou(e,t,n,r){if(gc()){const i=null===r?null:{"":-1},s=function aD(e,t){const n=e.directiveRegistry;let r=null,i=null;if(n)for(let s=0;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=d&&a.push(d),a.push(n,r,s)}}(e,t,r,la(e,n,i.hostVars,on),i)}function Go(e,t,n,r,i,s){const a=Ar(e,t);!function Pu(e,t,n,r,i,s,a){if(null==s)e.removeAttribute(t,i,n);else{const d=null==a?se(s):a(s,r||"",i);e.setAttribute(t,i,d,n)}}(t[ye],a,s,e.value,n,r,i)}function hD(e,t,n,r,i,s){const a=s[t];if(null!==a)for(let d=0;d{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,i){const s=typeof Zone>"u"?null:Zone.current,a=function dn(e,t,n){const r=Object.create($n);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const i=a=>{r.cleanupFn=a};return r.ref={notify:()=>bi(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Ps(r))return;r.hasRun=!0;const a=Di(r);try{r.cleanupFn(),r.cleanupFn=Un,r.fn(i)}finally{Ci(r,a)}},cleanup:()=>r.cleanupFn()},r.ref}(n,E=>{this.all.has(E)&&this.queue.set(E,s)},i);let d;this.all.add(a),a.notify();const h=()=>{a.cleanup(),d?.(),this.all.delete(a),this.queue.delete(a)};return d=r?.onDestroy(h),{destroy:h}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=pt({token:e,providedIn:"root",factory:()=>new e})}return e})();function Ml(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let a=0;a0){Dp(e,1);const i=n.components;null!==i&&Ep(e,i,1)}}function Ep(e,t,n){for(let r=0;r-1&&(sl(t,r),Wa(n,r))}this._attachedToViewContainer=!1}Vc(this._lView[wt],this._lView)}onDestroy(t){!function dc(e,t){if(256==(256&e[zt]))throw new U(911,!1);null===e[yr]&&(e[yr]=[]),e[yr].push(t)}(this._lView,t)}markForCheck(){aa(this._cdRefInjectingView||this._lView)}detach(){this._lView[zt]&=-129}reattach(){this._lView[zt]|=128}detectChanges(){Sl(this._lView[wt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new U(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function u0(e,t){Qs(e,t,t[ye],2,null,null)}(this._lView[wt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new U(902,!1);this._appRef=t}}class ED extends ua{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Sl(t[wt],t,t[W],!1)}checkNoChanges(){}get context(){return null}}class _p extends Cl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=rn(t);return new da(n,this.ngModule)}}function wp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class wD{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Qe(r);const i=this.injector.get(t,yu,r);return i!==yu||n===yu?i:this.parentInjector.get(t,n,r)}}class da extends Sh{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=wp(t.inputs);if(null!==n)for(const i of r)n.hasOwnProperty(i.propName)&&(i.transform=n[i.propName]);return r}get outputs(){return wp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function X(e){return e.map(m).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,i){let s=(i=i||this.ngModule)instanceof Uo?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new wD(t,s):t,d=a.get(Th,null);if(null===d)throw new U(407,!1);const le={rendererFactory:d,sanitizer:a.get(Db,null),effectManager:a.get(vp,null),afterRenderEventManager:a.get(Iu,null)},xe=d.createRenderer(null,this.componentDef),He=this.componentDef.selectors[0][0]||"div",rt=r?function Wb(e,t,n,r){const s=r.get(Yh,!1)||n===ln.ShadowDom,a=e.selectRootElement(t,s);return function Xb(e){ip(e)}(a),a}(xe,r,this.componentDef.encapsulation,a):il(xe,He,function _D(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(He)),Ht=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let st=null;null!==rt&&(st=gu(rt,a,!0));const nn=xu(0,null,null,1,0,null,null,null,null,null,null),vn=wl(null,nn,null,Ht,null,null,le,xe,a,null,st);let Gn,oo;tn(vn);try{const si=this.componentDef;let Ts,Yd=null;si.findHostDirectiveDefs?(Ts=[],Yd=new Map,si.findHostDirectiveDefs(si,Ts,Yd),Ts.push(si)):Ts=[si];const LI=function MD(e,t){const n=e[wt],r=fn;return e[r]=t,fs(n,r,2,"#host",null)}(vn,rt),$I=function SD(e,t,n,r,i,s,a){const d=i[wt];!function AD(e,t,n,r){for(const i of e)t.mergedAttrs=lr(t.mergedAttrs,i.hostAttrs);null!==t.mergedAttrs&&(Ml(t,t.mergedAttrs,!0),null!==n&&eh(r,n,t))}(r,e,t,a);let h=null;null!==t&&(h=gu(t,i[M]));const E=s.rendererFactory.createRenderer(t,n);let $=16;n.signals?$=4096:n.onPush&&($=64);const le=wl(i,op(n),null,$,i[e.index],e,s,E,null,null,h);return d.firstCreatePass&&Ru(d,e,r.length-1),Il(i,le),i[e.index]=le}(LI,rt,si,Ts,vn,le,xe);oo=Ra(nn,fn),rt&&function xD(e,t,n,r){if(r)Qn(e,n,["ng-version",Cb.full]);else{const{attrs:i,classes:s}=function Ae(e){const t=[],n=[];let r=1,i=2;for(;r0&&Qf(e,n,s.join(" "))}}(xe,si,rt,r),void 0!==n&&function OD(e,t,n){const r=e.projection=[];for(let i=0;i=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=lr(i.hostAttrs,n=lr(n,i.hostAttrs))}}(r)}function Al(e){return e===cn?{}:e===Ut?[]:e}function FD(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function kD(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function ND(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Tp(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];Array.isArray(i)&&i[2]&&(n[r]=i[2])}e.inputTransforms=n}function Tl(e){return!!$u(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function $u(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Yo(e,t,n){return e[t]=n}function jr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function xi(e,t,n,r){const i=jr(e,t,n);return jr(e,t+1,r)||i}function Bu(e,t,n,r){const i=lt();return jr(i,Ii(),t)&&(Dn(),Go(pr(),i,e,t,n,r)),Bu}function ps(e,t,n,r){return jr(e,Ii(),n)?t+se(n)+r:on}function gs(e,t,n,r,i,s){const d=xi(e,Vo(),n,i);return jo(2),d?t+se(n)+r+se(i)+s:on}function ms(e,t,n,r,i,s,a,d){const E=function xl(e,t,n,r,i){const s=xi(e,t,n,r);return jr(e,t+2,i)||s}(e,Vo(),n,i,a);return jo(3),E?t+se(n)+r+se(i)+s+se(a)+d:on}function Hp(e,t,n,r,i,s,a,d){const h=lt(),E=Dn(),$=e+fn,le=E.firstCreatePass?function aC(e,t,n,r,i,s,a,d,h){const E=t.consts,$=fs(t,e,4,a||null,To(E,d));Ou(t,n,$,To(E,h)),Va(t,$);const le=$.tView=xu(2,$,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,E,null);return null!==t.queries&&(t.queries.template(t,$),le.queries=t.queries.embeddedTView($)),$}($,E,h,t,n,r,i,s,a):E.data[$];Do(le,!1);const xe=Up(E,h,le,e);Ba()&&ll(E,h,xe,le),Vr(xe,h),Il(h,h[$]=dp(xe,h,xe,le)),lo(le)&&Au(E,h,le),null!=a&&Tu(h,le,d)}let Up=function zp(e,t,n,r){return hi(!0),t[ye].createComment("")};function Gp(e){return ei(function $a(){return Qt.lFrame.contextLView}(),fn+e)}function Gu(e,t,n){const r=lt();return jr(r,Ii(),t)&&uo(Dn(),pr(),r,e,t,r[ye],n,!1),Gu}function Yu(e,t,n,r,i){const a=i?"class":"style";ku(e,n,t.inputs[a],a,r)}function Fl(e,t,n,r){const i=lt(),s=Dn(),a=fn+e,d=i[ye],h=s.firstCreatePass?function dC(e,t,n,r,i,s){const a=t.consts,h=fs(t,e,2,r,To(a,i));return Ou(t,n,h,To(a,s)),null!==h.attrs&&Ml(h,h.attrs,!1),null!==h.mergedAttrs&&Ml(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(a,s,i,t,n,r):s.data[a],E=Yp(s,i,h,d,t,e);i[a]=E;const $=lo(h);return Do(h,!0),eh(d,E,h),32!=(32&h.flags)&&Ba()&&ll(s,i,E,h),0===function Bs(){return Qt.lFrame.elementDepthCount}()&&Vr(E,i),function hc(){Qt.lFrame.elementDepthCount++}(),$&&(Au(s,i,h),Su(s,h,i)),null!==r&&Tu(i,h),Fl}function kl(){let e=Tr();Vs()?js():(e=e.parent,Do(e,!1));const t=e;(function mc(e){return Qt.skipHydrationRootTNode===e})(t)&&function vc(){Qt.skipHydrationRootTNode=null}(),function pc(){Qt.lFrame.elementDepthCount--}();const n=Dn();return n.firstCreatePass&&(Va(n,e),Ko(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ay(e){return 0!=(8&e.flags)}(t)&&Yu(n,t,lt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function ly(e){return 0!=(16&e.flags)}(t)&&Yu(n,t,lt(),t.stylesWithoutHost,!1),kl}function Wu(e,t,n,r){return Fl(e,t,n,r),kl(),Wu}let Yp=(e,t,n,r,i,s)=>(hi(!0),il(r,i,function Qd(){return Qt.lFrame.currentNamespace}()));function Xu(e,t,n){const r=lt(),i=Dn(),s=e+fn,a=i.firstCreatePass?function pC(e,t,n,r,i){const s=t.consts,a=To(s,r),d=fs(t,e,8,"ng-container",a);return null!==a&&Ml(d,a,!0),Ou(t,n,d,To(s,i)),null!==t.queries&&t.queries.elementStart(t,d),d}(s,i,r,t,n):i.data[s];Do(a,!0);const d=Wp(i,r,a,e);return r[s]=d,Ba()&&ll(i,r,d,a),Vr(d,r),lo(a)&&(Au(i,r,a),Su(i,a,r)),null!=n&&Tu(r,a),Xu}function qu(){let e=Tr();const t=Dn();return Vs()?js():(e=e.parent,Do(e,!1)),t.firstCreatePass&&(Va(t,e),Ko(e)&&t.queries.elementEnd(e)),qu}function Ku(e,t,n){return Xu(e,t,n),qu(),Ku}let Wp=(e,t,n,r)=>(hi(!0),Bc(t[ye],""));function Xp(){return lt()}function Zu(e){return!!e&&"function"==typeof e.then}function qp(e){return!!e&&"function"==typeof e.subscribe}function Ju(e,t,n,r){const i=lt(),s=Dn(),a=Tr();return function Zp(e,t,n,r,i,s,a){const d=lo(r),E=e.firstCreatePass&&pp(e),$=t[W],le=hp(t);let xe=!0;if(3&r.type||a){const ht=Ar(r,t),St=a?a(ht):ht,Ht=le.length,st=a?vn=>a(mn(vn[r.index])):r.index;let nn=null;if(!a&&d&&(nn=function vC(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;sh?d[h]:null}"string"==typeof a&&(s+=2)}return null}(e,t,i,r.index)),null!==nn)(nn.__ngLastListenerFn__||nn).__ngNextListenerFn__=s,nn.__ngLastListenerFn__=s,xe=!1;else{s=Qp(r,t,$,s,!1);const vn=n.listen(St,i,s);le.push(s,vn),E&&E.push(i,st,Ht,Ht+1)}}else s=Qp(r,t,$,s,!1);const He=r.outputs;let rt;if(xe&&null!==He&&(rt=He[i])){const ht=rt.length;if(ht)for(let St=0;St-1?Yr(e.index,t):t);let h=Jp(t,n,r,a),E=s.__ngNextListenerFn__;for(;E;)h=Jp(t,n,E,a)&&h,E=E.__ngNextListenerFn__;return i&&!1===h&&a.preventDefault(),h}}function eg(e=1){return function Hs(e){return(Qt.lFrame.contextLView=function fi(e,t){for(;e>0;)t=t[vt],e--;return t}(e,Qt.lFrame.contextLView))[W]}(e)}function yC(e,t){let n=null;const r=function et(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i>17&32767}function ed(e){return 2|e}function Oi(e){return(131068&e)>>2}function td(e,t){return-131069&e|t<<2}function nd(e){return 1|e}function dg(e,t,n,r,i){const s=e[n+1],a=null===t;let d=r?mi(s):Oi(s),h=!1;for(;0!==d&&(!1===h||a);){const $=e[d+1];wC(e[d],t)&&(h=!0,e[d+1]=r?nd($):ed($)),d=r?mi($):Oi($)}h&&(e[n+1]=r?ed(s):nd(s))}function wC(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Zi(e,t)>=0}function rd(e,t,n){return Oo(e,t,n,!1),rd}function od(e,t){return Oo(e,t,null,!0),od}function Oo(e,t,n,r){const i=lt(),s=Dn(),a=jo(2);s.firstUpdatePass&&function bg(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[kr()],a=function yg(e,t){return t>=e.expandoStartIndex}(e,n);(function _g(e,t){return 0!=(e.flags&(t?8:16))})(s,r)&&null===t&&!a&&(t=!1),t=function PC(e,t,n,r){const i=function G(e){const t=Qt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=ma(n=id(null,e,t,n,r),t.attrs,r),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=id(i,e,t,n,r),null===s){let h=function FC(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Oi(r))return e[mi(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=id(null,e,t,h[1],r),h=ma(h,t.attrs,r),function kC(e,t,n,r){e[mi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else s=function NC(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(E=!0)):$=n,i)if(0!==h){const xe=mi(e[d+1]);e[r+1]=Ll(xe,d),0!==xe&&(e[xe+1]=td(e[xe+1],r)),e[d+1]=function DC(e,t){return 131071&e|t<<17}(e[d+1],r)}else e[r+1]=Ll(d,0),0!==d&&(e[d+1]=td(e[d+1],r)),d=r;else e[r+1]=Ll(h,0),0===d?d=r:e[h+1]=td(e[h+1],r),h=r;E&&(e[r+1]=ed(e[r+1])),dg(e,$,r,!0),dg(e,$,r,!1),function _C(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Zi(s,t)>=0&&(n[r+1]=nd(n[r+1]))}(t,$,e,r,s),a=Ll(d,h),s?t.classBindings=a:t.styleBindings=a}(i,s,t,n,a,r)}}(s,e,a,r),t!==on&&jr(i,a,t)&&function Cg(e,t,n,r,i,s,a,d){if(!(3&t.type))return;const h=e.data,E=h[d+1],$=function CC(e){return 1==(1&e)}(E)?Eg(h,t,n,i,Oi(E),a):void 0;$l($)||($l(s)||function bC(e){return 2==(2&e)}(E)&&(s=Eg(h,null,n,i,d,a)),function D0(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:rl.DashCase;null==i?e.removeStyle(n,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=rl.Important),e.setStyle(n,r,i,s))}}(r,a,_i(kr(),n),i,s))}(s,s.data[kr()],i,i[ye],e,i[a+1]=function VC(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=P(pi(e)))),e}(t,n),r,a)}function id(e,t,n,r,i){let s=null;const a=n.directiveEnd;let d=n.directiveStylingLast;for(-1===d?d=n.directiveStart:d++;d0;){const h=e[i],E=Array.isArray(h),$=E?h[1]:h,le=null===$;let xe=n[i+1];xe===on&&(xe=le?Ut:void 0);let He=le?Tc(xe,r):$===r?xe:void 0;if(E&&!$l(He)&&(He=Tc(h,r)),$l(He)&&(d=He,a))return d;const rt=e[i+1];i=a?mi(rt):Oi(rt)}if(null!==t){let h=s?t.residualClasses:t.residualStyles;null!=h&&(d=Tc(h,r))}return d}function $l(e){return void 0!==e}function wg(e,t=""){const n=lt(),r=Dn(),i=e+fn,s=r.firstCreatePass?fs(r,i,1,t,null):r.data[i],a=Ig(r,n,s,t,e);n[i]=a,Ba()&&ll(r,n,a,s),Do(s,!1)}let Ig=(e,t,n,r,i)=>(hi(!0),function ol(e,t){return e.createText(t)}(t[ye],r));function sd(e){return Bl("",e,""),sd}function Bl(e,t,n){const r=lt(),i=ps(r,e,t,n);return i!==on&&ii(r,kr(),i),Bl}function ad(e,t,n,r,i){const s=lt(),a=gs(s,e,t,n,r,i);return a!==on&&ii(s,kr(),a),ad}function ld(e,t,n,r,i,s,a){const d=lt(),h=ms(d,e,t,n,r,i,s,a);return h!==on&&ii(d,kr(),h),ld}function cd(e,t,n){const r=lt();return jr(r,Ii(),t)&&uo(Dn(),pr(),r,e,t,r[ye],n,!0),cd}const Ri=void 0;var lE=["en",[["a","p"],["AM","PM"],Ri],[["AM","PM"],Ri,Ri],[["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"]],Ri,[["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"]],Ri,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ri,"{1} 'at' {0}",Ri],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function aE(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let _s={};function ud(e){const t=function cE(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ug(t);if(n)return n;const r=t.split("-")[0];if(n=Ug(r),n)return n;if("en"===r)return lE;throw new U(701,!1)}function Hg(e){return ud(e)[ws.PluralCase]}function Ug(e){return e in _s||(_s[e]=dt.ng&&dt.ng.common&&dt.ng.common.locales&&dt.ng.common.locales[e]),_s[e]}var ws=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}(ws||{});const Is="en-US";let zg=Is;function hd(e,t,n,r,i){if(e=ue(e),Array.isArray(e))for(let s=0;s>20;if(Ti(e)||!e.multi){const He=new Us(E,i,ds),rt=gd(h,t,i?$:$+xe,le);-1===rt?(Ic(za(d,a),s,h),pd(s,e,t.length),t.push(h),d.directiveStart++,d.directiveEnd++,i&&(d.providerIndexes+=1048576),n.push(He),a.push(He)):(n[rt]=He,a[rt]=He)}else{const He=gd(h,t,$+xe,le),rt=gd(h,t,$,$+xe),St=rt>=0&&n[rt];if(i&&!St||!i&&!(He>=0&&n[He])){Ic(za(d,a),s,h);const Ht=function a_(e,t,n,r,i){const s=new Us(e,n,ds);return s.multi=[],s.index=t,s.componentProviders=0,gm(s,i,r&&!n),s}(i?s_:i_,n.length,i,r,E);!i&&St&&(n[rt].providerFactory=Ht),pd(s,e,t.length,0),t.push(h),d.directiveStart++,d.directiveEnd++,i&&(d.providerIndexes+=1048576),n.push(Ht),a.push(Ht)}else pd(s,e,He>-1?He:rt,gm(n[i?rt:He],E,!i&&r));!i&&r&&St&&n[rt].componentProviders++}}}function pd(e,t,n,r){const i=Ti(t),s=function q0(e){return!!e.useClass}(t);if(i||s){const h=(s?ue(t.useClass):t).prototype.ngOnDestroy;if(h){const E=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const $=E.indexOf(n);-1===$?E.push(n,[r,h]):E[$+1].push(r,h)}else E.push(n,h)}}}function gm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function gd(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function o_(e,t,n){const r=Dn();if(r.firstCreatePass){const i=Mr(e);hd(n,r.data,r.blueprint,i,!0),hd(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Pi{}class vm{}function l_(e,t){return new vd(e,t??null,[])}class vd extends Pi{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new _p(this);const i=cr(t);this._bootstrapComponents=oi(i.bootstrap),this._r3Injector=kh(t,n,[{provide:Pi,useValue:this},{provide:Cl,useValue:this.componentFactoryResolver},...r],P(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(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class yd extends vm{constructor(t){super(),this.moduleType=t}create(t){return new vd(this.moduleType,t,[])}}class ym extends Pi{constructor(t){super(),this.componentFactoryResolver=new _p(this),this.instance=null;const n=new os([...t.providers,{provide:Pi,useValue:this},{provide:Cl,useValue:this.componentFactoryResolver}],t.parent||gl(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function bm(e,t,n=null){return new ym({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let u_=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=vh(0,n.type),i=r.length>0?bm([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=pt({token:e,providedIn:"environment",factory:()=>new e(Re(Uo))})}return e})();function Dm(e){e.getStandaloneInjector=t=>t.get(u_).getOrCreateStandaloneInjector(e)}function Sm(e,t,n,r){return Am(lt(),Br(),e,t,n,r)}function Ea(e,t){const n=e[t];return n===on?void 0:n}function Am(e,t,n,r,i,s){const a=t+n;return jr(e,a,i)?Yo(e,a+1,s?r.call(s,i):r(i)):Ea(e,a+1)}function Pm(e,t){const n=Dn();let r;const i=e+fn;n.firstCreatePass?(r=function A_(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=go(r.type)),d=Wt(ds);try{const h=Ua(!1),E=s();return Ua(h),function uC(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,lt(),i,E),E}finally{Wt(d)}}function Fm(e,t,n){const r=e+fn,i=lt(),s=ei(i,r);return _a(i,r)?Am(i,Br(),t,s.transform,n,s):s.transform(n)}function km(e,t,n,r){const i=e+fn,s=lt(),a=ei(s,i);return _a(s,i)?function Tm(e,t,n,r,i,s,a){const d=t+n;return xi(e,d,i,s)?Yo(e,d+2,a?r.call(a,i,s):r(i,s)):Ea(e,d+2)}(s,Br(),t,a.transform,n,r,a):a.transform(n,r)}function _a(e,t){return e[wt].data[t].pure}function R_(){return this._results[Symbol.iterator]()}class Dd{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new zo)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Dd.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=R_)}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,n){return this._results.reduce(t,n)}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,n){const r=this;r.dirty=!1;const i=function Eo(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ey(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r0&&(n[i-1][fr]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=L_}return e})();const k_=wa,N_=class extends k_{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=function P_(e,t,n,r){const i=t.tView,d=wl(e,i,n,4096&e[zt]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);d[Yt]=e[t.index];const E=e[er];return null!==E&&(d[er]=E.createEmbeddedView(i)),Nu(i,d,n),d}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new ua(i)}};function L_(){return zl(Tr(),lt())}function zl(e,t){return 4&e.type?new N_(t,e,ls(e,t)):null}let Yl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=U_}return e})();function U_(){return Hm(Tr(),lt())}const z_=Yl,Vm=class extends z_{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ls(this._hostTNode,this._hostLView)}get injector(){return new Wr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ga(this._hostTNode,this._hostLView);if(Ec(t)){const n=Gs(t,this._hostLView),r=zs(t);return new Wr(n[wt].data[r+8],n)}return new Wr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=jm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-dr}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const d=t.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(d,i,false),d}createComponent(t,n,r,i,s){const a=t&&!function Ws(e){return"function"==typeof e}(t);let d;if(a)d=n;else{const ht=n||{};d=ht.index,r=ht.injector,i=ht.projectableNodes,s=ht.environmentInjector||ht.ngModuleRef}const h=a?t:new da(rn(t)),E=r||this.parentInjector;if(!s&&null==h.ngModule){const St=(a?E:this.parentInjector).get(Uo,null);St&&(s=St)}rn(h.componentType??{});const He=h.create(E,i,null,s);return this.insertImpl(He.hostView,d,false),He}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const i=t._lView;if(function Ls(e){return hr(e[En])}(i)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const E=i[En],$=new Vm(E,E[ur],E[En]);$.detach($.indexOf(t))}}const a=this._adjustIndex(n),d=this._lContainer;return F_(d,i,a,!r),t.attachToViewContainerRef(),vf(Cd(d),a,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=jm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=sl(this._lContainer,n);r&&(Wa(Cd(this._lContainer),n),Vc(r[wt],r))}detach(t){const n=this._adjustIndex(t,-1),r=sl(this._lContainer,n);return r&&null!=Wa(Cd(this._lContainer),n)?new ua(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function jm(e){return e[8]}function Cd(e){return e[8]||(e[8]=[])}function Hm(e,t){let n;const r=t[e.index];return hr(r)?n=r:(n=dp(r,t,null,e),t[e.index]=n,Il(t,n)),Um(n,t,e,r),new Vm(n,e,t)}let Um=function zm(e,t,n,r){if(e[rr])return;let i;i=8&n.type?mn(r):function G_(e,t){const n=e[ye],r=n.createComment(""),i=Ar(t,e);return Ai(n,al(n,i),r,function v0(e,t){return e.nextSibling(t)}(n,i),!1),r}(t,n),e[rr]=i};class Ed{constructor(t){this.queryList=t,this.matches=null}clone(){return new Ed(this.queryList)}setDirty(){this.queryList.setDirty()}}class _d{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s0)r.push(a[d/2]);else{const E=s[d+1],$=t[-h];for(let le=dr;le<$.length;le++){const xe=$[le];xe[Yt]===xe[En]&&Md(xe[wt],xe,E,r)}if(null!==$[Fr]){const le=$[Fr];for(let xe=0;xe{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=be(mv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=i();if(Zu(s))n.push(s);else if(qp(s)){const a=new Promise((d,h)=>{s.subscribe({complete:d,error:h})});n.push(a)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Xl=new Bt("LocaleId",{providedIn:"root",factory:()=>be(Xl,Rt.Optional|Rt.SkipSelf)||function Cw(){return typeof $localize<"u"&&$localize.locale||Is}()}),Ew=new Bt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let yv=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new B.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class ww{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Iw=(()=>{class e{compileModuleSync(n){return new yd(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=oi(cr(n).declarations).reduce((a,d)=>{const h=rn(d);return h&&a.push(new da(h)),a},[]);return new ww(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ev=new Bt(""),_v=new Bt("");let kd,Ww=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,kd||(function Xw(e){kd=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Pr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!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(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(Re(Pr),Re(wv),Re(_v))};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac})}return e})(),wv=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return kd?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),vi=null;const Iv=new Bt("AllowMultipleToken"),Nd=new Bt("PlatformDestroyListeners"),Ld=new Bt("appBootstrapListener");class Zw{constructor(t,n){this.name=t,this.token=n}}function Av(e,t,n=[]){const r=`Platform: ${t}`,i=new Bt(r);return(s=[])=>{let a=$d();if(!a||a.injector.get(Iv,!1)){const d=[...n,...s,{provide:i,useValue:!0}];e?e(d):function Jw(e){if(vi&&!vi.get(Iv,!1))throw new U(400,!1);(function Mv(){!function f(e){Bo=e}(()=>{throw new U(600,!1)})})(),vi=e;const t=e.get(xv);(function Sv(e){e.get(_h,null)?.forEach(n=>n())})(e)}(function Tv(e=[],t){return xo.create({name:t,providers:[{provide:ru,useValue:"platform"},{provide:Nd,useValue:new Set([()=>vi=null])},...e]})}(d,r))}return function eI(e){const t=$d();if(!t)throw new U(401,!1);return t}()}}function $d(){return vi?.get(xv)??null}let xv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function tI(e="zone.js",t){return"noop"===e?new Pb:"zone.js"===e?new Pr(t):e}(r?.ngZone,function Ov(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const s=function c_(e,t,n){return new vd(e,t,n)}(n.moduleType,this.injector,function Nv(e){return[{provide:Pr,useFactory:e},{provide:ra,multi:!0,useFactory:()=>{const t=be(rI,{optional:!0});return()=>t.initialize()}},{provide:kv,useFactory:nI},{provide:Vh,useFactory:jh}]}(()=>i)),a=s.injector.get(gi,null);return i.runOutsideAngular(()=>{const d=i.onError.subscribe({next:h=>{a.handleError(h)}});s.onDestroy(()=>{Kl(this._modules,s),d.unsubscribe()})}),function Rv(e,t,n){try{const r=n();return Zu(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(a,i,()=>{const d=s.injector.get(Rd);return d.runInitializers(),d.donePromise.then(()=>(function Gg(e){Ze(e,"Expected localeId to be defined"),"string"==typeof e&&(zg=e.toLowerCase().replace(/_/g,"-"))}(s.injector.get(Xl,Is)||Is),this._moduleDoBootstrap(s),s))})})}bootstrapModule(n,r=[]){const i=Pv({},r);return function qw(e,t,n){const r=new yd(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(As);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new U(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new U(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Nd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(Re(xo))};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Pv(e,t){return Array.isArray(t)?t.reduce(Pv,e):{...e,...t}}let As=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=be(kv),this.zoneIsStable=be(Vh),this.componentTypes=[],this.components=[],this.isStable=be(yv).hasPendingTasks.pipe((0,S.w)(n=>n?(0,V.of)(!1):this.zoneIsStable),(0,z.x)(),(0,Q.B)()),this._injector=be(Uo)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Sh;if(!this._injector.get(Rd).done)throw!i&&Hr(n),new U(405,!1);let a;a=i?n:this._injector.get(Cl).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const d=function Kw(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Pi),E=a.create(xo.NULL,[],r||a.selector,d),$=E.location.nativeElement,le=E.injector.get(Ev,null);return le?.registerApplication($),E.onDestroy(()=>{this.detachView(E.hostView),Kl(this.components,E),le?.unregisterApplication($)}),this._loadComponent(E),E}tick(){if(this._runningTick)throw new U(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Kl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Ld,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Kl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new U(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Kl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const kv=new Bt("",{providedIn:"root",factory:()=>be(gi).handleError.bind(void 0)});function nI(){const e=be(Pr),t=be(gi);return n=>e.runOutsideAngular(()=>t.handleError(n))}let rI=(()=>{class e{constructor(){this.zone=be(Pr),this.applicationRef=be(As)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=pt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function iI(){}let sI=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=aI}return e})();function aI(e){return function lI(e,t,n){if(ho(e)&&!n){const r=Yr(e.index,t);return new ua(r,r)}return 47&e.type?new ua(t[It],t):null}(Tr(),lt(),16==(16&e))}class Vv{constructor(){}supports(t){return Tl(t)}create(t){return new pI(t)}}const hI=(e,t)=>t;class pI{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||hI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const a=!r||n&&n.currentIndex{a=this._trackByFn(i,d),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,d,a,i)),Object.is(n.item,d)||this._addIdentityChange(n,d)):(n=this._mismatch(n,d,a,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),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,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new gI(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new jv),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new jv),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,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class gI{constructor(t,n){this.item=t,this.trackById=n,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 mI{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,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class jv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new mI,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Hv(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,a=i._next;return s&&(s._next=a),a&&(a._prev=s),i._next=null,i._prev=null,i}const r=new yI(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_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,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,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,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class yI{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 zv(){return new Ud([new Vv])}let Ud=(()=>{class e{static#e=this.\u0275prov=pt({token:e,providedIn:"root",factory:zv});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||zv()),deps:[[e,new Ka,new qa]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new U(901,!1)}}return e})();function Gv(){return new zd([new Uv])}let zd=(()=>{class e{static#e=this.\u0275prov=pt({token:e,providedIn:"root",factory:Gv});constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Gv()),deps:[[e,new Ka,new qa]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new U(901,!1)}}return e})();const CI=Av(null,"core",[]);let EI=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(Re(As))};static#t=this.\u0275mod=Sr({type:e});static#n=this.\u0275inj=Vt({})}return e})();function PI(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function kI(e,t){const n=rn(e),r=t.elementInjector||gl();return new da(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function NI(e){const t=rn(e);if(!t)return null;const n=new da(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},95:(ct,je,b)=>{"use strict";b.d(je,{u5:()=>Li,Fd:()=>_r,qQ:()=>yr,Cf:()=>we,JU:()=>D,a5:()=>Lt,JJ:()=>Nt,JL:()=>jt,F:()=>L,On:()=>Ft,c5:()=>dr,Q7:()=>Zr,_Y:()=>Bn});var o=b(2029),w=b(6814),ee=b(7715),ae=b(5592),R=b(7453),O=b(4829),_=b(9940),q=b(8251),I=b(7400),B=b(2714),Q=b(7398);let S=(()=>{class A{constructor(v,K){this._renderer=v,this._elementRef=K,this.onChange=Ie=>{},this.onTouched=()=>{}}setProperty(v,K){this._renderer.setProperty(this._elementRef.nativeElement,v,K)}registerOnTouched(v){this.onTouched=v}registerOnChange(v){this.onChange=v}setDisabledState(v){this.setProperty("disabled",v)}static#e=this.\u0275fac=function(K){return new(K||A)(o.Y36(o.Qsj),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:A})}return A})(),z=(()=>{class A extends S{static#e=this.\u0275fac=function(){let v;return function(Ie){return(v||(v=o.n5z(A)))(Ie||A)}}();static#t=this.\u0275dir=o.lG2({type:A,features:[o.qOj]})}return A})();const D=new o.OlP("NgValueAccessor"),ne={provide:D,useExisting:(0,o.Gpc)(()=>ue),multi:!0},Ne=new o.OlP("CompositionEventMode");let ue=(()=>{class A extends S{constructor(v,K,Ie){super(v,K),this._compositionMode=Ie,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function ce(){const A=(0,w.q)()?(0,w.q)().getUserAgent():"";return/android (\d+)/.test(A.toLowerCase())}())}writeValue(v){this.setProperty("value",v??"")}_handleInput(v){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(v)}_compositionStart(){this._composing=!0}_compositionEnd(v){this._composing=!1,this._compositionMode&&this.onChange(v)}static#e=this.\u0275fac=function(K){return new(K||A)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(Ne,8))};static#t=this.\u0275dir=o.lG2({type:A,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(K,Ie){1&K&&o.NdJ("input",function(qt){return Ie._handleInput(qt.target.value)})("blur",function(){return Ie.onTouched()})("compositionstart",function(){return Ie._compositionStart()})("compositionend",function(qt){return Ie._compositionEnd(qt.target.value)})},features:[o._Bn([ne]),o.qOj]})}return A})();function _e(A){return null==A||("string"==typeof A||Array.isArray(A))&&0===A.length}const we=new o.OlP("NgValidators"),re=new o.OlP("NgAsyncValidators");function H(A){return _e(A.value)?{required:!0}:null}function Z(A){return null}function Y(A){return null!=A}function fe(A){return(0,o.QGY)(A)?(0,ee.D)(A):A}function ie(A){let x={};return A.forEach(v=>{x=null!=v?{...x,...v}:x}),0===Object.keys(x).length?null:x}function Ve(A,x){return x.map(v=>v(A))}function at(A){return A.map(x=>function ke(A){return!A.validate}(x)?x:v=>x.validate(v))}function ft(A){return null!=A?function yt(A){if(!A)return null;const x=A.filter(Y);return 0==x.length?null:function(v){return ie(Ve(v,x))}}(at(A)):null}function Ot(A){return null!=A?function bt(A){if(!A)return null;const x=A.filter(Y);return 0==x.length?null:function(v){return function V(...A){const x=(0,_.jO)(A),{args:v,keys:K}=(0,R.D)(A),Ie=new ae.y(kt=>{const{length:qt}=v;if(!qt)return void kt.complete();const br=new Array(qt);let Mo=qt,po=qt;for(let Jo=0;Jo{No||(No=!0,po--),br[Jo]=Lo},()=>Mo--,void 0,()=>{(!Mo||!No)&&(po||kt.next(K?(0,B.n)(K,br):br),kt.complete())}))}});return x?Ie.pipe((0,I.Z)(x)):Ie}(Ve(v,x).map(fe)).pipe((0,Q.U)(ie))}}(at(A)):null}function Ze(A,x){return null===A?[x]:Array.isArray(A)?[...A,x]:[A,x]}function Ue(A){return A?Array.isArray(A)?A:[A]:[]}function ut(A,x){return Array.isArray(A)?A.includes(x):A===x}function pt(A,x){const v=Ue(x);return Ue(A).forEach(Ie=>{ut(v,Ie)||v.push(Ie)}),v}function mt(A,x){return Ue(x).filter(v=>!ut(A,v))}class Vt{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(x){this._rawValidators=x||[],this._composedValidatorFn=ft(this._rawValidators)}_setAsyncValidators(x){this._rawAsyncValidators=x||[],this._composedAsyncValidatorFn=Ot(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(x){this._onDestroyCallbacks.push(x)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(x=>x()),this._onDestroyCallbacks=[]}reset(x=void 0){this.control&&this.control.reset(x)}hasError(x,v){return!!this.control&&this.control.hasError(x,v)}getError(x,v){return this.control?this.control.getError(x,v):null}}class At extends Vt{get formDirective(){return null}get path(){return null}}class Lt extends Vt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class $t{constructor(x){this._cd=x}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Nt=(()=>{class A extends $t{constructor(v){super(v)}static#e=this.\u0275fac=function(K){return new(K||A)(o.Y36(Lt,2))};static#t=this.\u0275dir=o.lG2({type:A,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(K,Ie){2&K&&o.ekj("ng-untouched",Ie.isUntouched)("ng-touched",Ie.isTouched)("ng-pristine",Ie.isPristine)("ng-dirty",Ie.isDirty)("ng-valid",Ie.isValid)("ng-invalid",Ie.isInvalid)("ng-pending",Ie.isPending)},features:[o.qOj]})}return A})(),jt=(()=>{class A extends $t{constructor(v){super(v)}static#e=this.\u0275fac=function(K){return new(K||A)(o.Y36(At,10))};static#t=this.\u0275dir=o.lG2({type:A,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(K,Ie){2&K&&o.ekj("ng-untouched",Ie.isUntouched)("ng-touched",Ie.isTouched)("ng-pristine",Ie.isPristine)("ng-dirty",Ie.isDirty)("ng-valid",Ie.isValid)("ng-invalid",Ie.isInvalid)("ng-pending",Ie.isPending)("ng-submitted",Ie.isSubmitted)},features:[o.qOj]})}return A})();const bn="VALID",gr="INVALID",qn="PENDING",Zn="DISABLED";function Er(A){return(Me(A)?A.validators:A)||null}function $e(A,x){return(Me(x)?x.asyncValidators:A)||null}function Me(A){return null!=A&&!Array.isArray(A)&&"object"==typeof A}class Tt{constructor(x,v){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(x),this._assignAsyncValidators(v)}get validator(){return this._composedValidatorFn}set validator(x){this._rawValidators=this._composedValidatorFn=x}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(x){this._rawAsyncValidators=this._composedAsyncValidatorFn=x}get parent(){return this._parent}get valid(){return this.status===bn}get invalid(){return this.status===gr}get pending(){return this.status==qn}get disabled(){return this.status===Zn}get enabled(){return this.status!==Zn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(x){this._assignValidators(x)}setAsyncValidators(x){this._assignAsyncValidators(x)}addValidators(x){this.setValidators(pt(x,this._rawValidators))}addAsyncValidators(x){this.setAsyncValidators(pt(x,this._rawAsyncValidators))}removeValidators(x){this.setValidators(mt(x,this._rawValidators))}removeAsyncValidators(x){this.setAsyncValidators(mt(x,this._rawAsyncValidators))}hasValidator(x){return ut(this._rawValidators,x)}hasAsyncValidator(x){return ut(this._rawAsyncValidators,x)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(x={}){this.touched=!0,this._parent&&!x.onlySelf&&this._parent.markAsTouched(x)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(x=>x.markAllAsTouched())}markAsUntouched(x={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(v=>{v.markAsUntouched({onlySelf:!0})}),this._parent&&!x.onlySelf&&this._parent._updateTouched(x)}markAsDirty(x={}){this.pristine=!1,this._parent&&!x.onlySelf&&this._parent.markAsDirty(x)}markAsPristine(x={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(v=>{v.markAsPristine({onlySelf:!0})}),this._parent&&!x.onlySelf&&this._parent._updatePristine(x)}markAsPending(x={}){this.status=qn,!1!==x.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!x.onlySelf&&this._parent.markAsPending(x)}disable(x={}){const v=this._parentMarkedDirty(x.onlySelf);this.status=Zn,this.errors=null,this._forEachChild(K=>{K.disable({...x,onlySelf:!0})}),this._updateValue(),!1!==x.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...x,skipPristineCheck:v}),this._onDisabledChange.forEach(K=>K(!0))}enable(x={}){const v=this._parentMarkedDirty(x.onlySelf);this.status=bn,this._forEachChild(K=>{K.enable({...x,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:x.emitEvent}),this._updateAncestors({...x,skipPristineCheck:v}),this._onDisabledChange.forEach(K=>K(!1))}_updateAncestors(x){this._parent&&!x.onlySelf&&(this._parent.updateValueAndValidity(x),x.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(x){this._parent=x}getRawValue(){return this.value}updateValueAndValidity(x={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===bn||this.status===qn)&&this._runAsyncValidator(x.emitEvent)),!1!==x.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!x.onlySelf&&this._parent.updateValueAndValidity(x)}_updateTreeValidity(x={emitEvent:!0}){this._forEachChild(v=>v._updateTreeValidity(x)),this.updateValueAndValidity({onlySelf:!0,emitEvent:x.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zn:bn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(x){if(this.asyncValidator){this.status=qn,this._hasOwnPendingAsyncValidator=!0;const v=fe(this.asyncValidator(this));this._asyncValidationSubscription=v.subscribe(K=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(K,{emitEvent:x})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(x,v={}){this.errors=x,this._updateControlsErrors(!1!==v.emitEvent)}get(x){let v=x;return null==v||(Array.isArray(v)||(v=v.split(".")),0===v.length)?null:v.reduce((K,Ie)=>K&&K._find(Ie),this)}getError(x,v){const K=v?this.get(v):this;return K&&K.errors?K.errors[x]:null}hasError(x,v){return!!this.getError(x,v)}get root(){let x=this;for(;x._parent;)x=x._parent;return x}_updateControlsErrors(x){this.status=this._calculateStatus(),x&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(x)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?Zn:this.errors?gr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(qn)?qn:this._anyControlsHaveStatus(gr)?gr:bn}_anyControlsHaveStatus(x){return this._anyControls(v=>v.status===x)}_anyControlsDirty(){return this._anyControls(x=>x.dirty)}_anyControlsTouched(){return this._anyControls(x=>x.touched)}_updatePristine(x={}){this.pristine=!this._anyControlsDirty(),this._parent&&!x.onlySelf&&this._parent._updatePristine(x)}_updateTouched(x={}){this.touched=this._anyControlsTouched(),this._parent&&!x.onlySelf&&this._parent._updateTouched(x)}_registerOnCollectionChange(x){this._onCollectionChange=x}_setUpdateStrategy(x){Me(x)&&null!=x.updateOn&&(this._updateOn=x.updateOn)}_parentMarkedDirty(x){return!x&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(x){return null}_assignValidators(x){this._rawValidators=Array.isArray(x)?x.slice():x,this._composedValidatorFn=function Ke(A){return Array.isArray(A)?ft(A):A||null}(this._rawValidators)}_assignAsyncValidators(x){this._rawAsyncValidators=Array.isArray(x)?x.slice():x,this._composedAsyncValidatorFn=function me(A){return Array.isArray(A)?Ot(A):A||null}(this._rawAsyncValidators)}}class en extends Tt{constructor(x,v,K){super(Er(v),$e(K,v)),this.controls=x,this._initObservables(),this._setUpdateStrategy(v),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(x,v){return this.controls[x]?this.controls[x]:(this.controls[x]=v,v.setParent(this),v._registerOnCollectionChange(this._onCollectionChange),v)}addControl(x,v,K={}){this.registerControl(x,v),this.updateValueAndValidity({emitEvent:K.emitEvent}),this._onCollectionChange()}removeControl(x,v={}){this.controls[x]&&this.controls[x]._registerOnCollectionChange(()=>{}),delete this.controls[x],this.updateValueAndValidity({emitEvent:v.emitEvent}),this._onCollectionChange()}setControl(x,v,K={}){this.controls[x]&&this.controls[x]._registerOnCollectionChange(()=>{}),delete this.controls[x],v&&this.registerControl(x,v),this.updateValueAndValidity({emitEvent:K.emitEvent}),this._onCollectionChange()}contains(x){return this.controls.hasOwnProperty(x)&&this.controls[x].enabled}setValue(x,v={}){(function Et(A,x,v){A._forEachChild((K,Ie)=>{if(void 0===v[Ie])throw new o.vHH(1002,"")})})(this,0,x),Object.keys(x).forEach(K=>{(function Je(A,x,v){const K=A.controls;if(!(x?Object.keys(K):K).length)throw new o.vHH(1e3,"");if(!K[v])throw new o.vHH(1001,"")})(this,!0,K),this.controls[K].setValue(x[K],{onlySelf:!0,emitEvent:v.emitEvent})}),this.updateValueAndValidity(v)}patchValue(x,v={}){null!=x&&(Object.keys(x).forEach(K=>{const Ie=this.controls[K];Ie&&Ie.patchValue(x[K],{onlySelf:!0,emitEvent:v.emitEvent})}),this.updateValueAndValidity(v))}reset(x={},v={}){this._forEachChild((K,Ie)=>{K.reset(x?x[Ie]:null,{onlySelf:!0,emitEvent:v.emitEvent})}),this._updatePristine(v),this._updateTouched(v),this.updateValueAndValidity(v)}getRawValue(){return this._reduceChildren({},(x,v,K)=>(x[K]=v.getRawValue(),x))}_syncPendingControls(){let x=this._reduceChildren(!1,(v,K)=>!!K._syncPendingControls()||v);return x&&this.updateValueAndValidity({onlySelf:!0}),x}_forEachChild(x){Object.keys(this.controls).forEach(v=>{const K=this.controls[v];K&&x(K,v)})}_setUpControls(){this._forEachChild(x=>{x.setParent(this),x._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(x){for(const[v,K]of Object.entries(this.controls))if(this.contains(v)&&x(K))return!0;return!1}_reduceValue(){return this._reduceChildren({},(v,K,Ie)=>((K.enabled||this.disabled)&&(v[Ie]=K.value),v))}_reduceChildren(x,v){let K=x;return this._forEachChild((Ie,kt)=>{K=v(K,Ie,kt)}),K}_allControlsDisabled(){for(const x of Object.keys(this.controls))if(this.controls[x].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(x){return this.controls.hasOwnProperty(x)?this.controls[x]:null}}const Re=new o.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Ce}),Ce="always";function Qe(A,x,v=Ce){sn(A,x),x.valueAccessor.writeValue(A.value),(A.disabled||"always"===v)&&x.valueAccessor.setDisabledState?.(A.disabled),function an(A,x){x.valueAccessor.registerOnChange(v=>{A._pendingValue=v,A._pendingChange=!0,A._pendingDirty=!0,"change"===A.updateOn&&ln(A,x)})}(A,x),function cn(A,x){const v=(K,Ie)=>{x.valueAccessor.writeValue(K),Ie&&x.viewToModelUpdate(K)};A.registerOnChange(v),x._registerOnDestroy(()=>{A._unregisterOnChange(v)})}(A,x),function kn(A,x){x.valueAccessor.registerOnTouched(()=>{A._pendingTouched=!0,"blur"===A.updateOn&&A._pendingChange&&ln(A,x),"submit"!==A.updateOn&&A.markAsTouched()})}(A,x),function Dt(A,x){if(x.valueAccessor.setDisabledState){const v=K=>{x.valueAccessor.setDisabledState(K)};A.registerOnDisabledChange(v),x._registerOnDestroy(()=>{A._unregisterOnDisabledChange(v)})}}(A,x)}function gt(A,x){A.forEach(v=>{v.registerOnValidatorChange&&v.registerOnValidatorChange(x)})}function sn(A,x){const v=function Oe(A){return A._rawValidators}(A);null!==x.validator?A.setValidators(Ze(v,x.validator)):"function"==typeof v&&A.setValidators([v]);const K=function Xe(A){return A._rawAsyncValidators}(A);null!==x.asyncValidator?A.setAsyncValidators(Ze(K,x.asyncValidator)):"function"==typeof K&&A.setAsyncValidators([K]);const Ie=()=>A.updateValueAndValidity();gt(x._rawValidators,Ie),gt(x._rawAsyncValidators,Ie)}function ln(A,x){A._pendingDirty&&A.markAsDirty(),A.setValue(A._pendingValue,{emitModelToViewChange:!1}),x.viewToModelUpdate(A._pendingValue),A._pendingChange=!1}const mr={provide:At,useExisting:(0,o.Gpc)(()=>L)},Mn=(()=>Promise.resolve())();let L=(()=>{class A extends At{constructor(v,K,Ie){super(),this.callSetDisabledState=Ie,this.submitted=!1,this._directives=new Set,this.ngSubmit=new o.vpe,this.form=new en({},ft(v),Ot(K))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(v){Mn.then(()=>{const K=this._findContainer(v.path);v.control=K.registerControl(v.name,v.control),Qe(v.control,v,this.callSetDisabledState),v.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(v)})}getControl(v){return this.form.get(v.path)}removeControl(v){Mn.then(()=>{const K=this._findContainer(v.path);K&&K.removeControl(v.name),this._directives.delete(v)})}addFormGroup(v){Mn.then(()=>{const K=this._findContainer(v.path),Ie=new en({});(function Ut(A,x){sn(A,x)})(Ie,v),K.registerControl(v.name,Ie),Ie.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(v){Mn.then(()=>{const K=this._findContainer(v.path);K&&K.removeControl(v.name)})}getFormGroup(v){return this.form.get(v.path)}updateModel(v,K){Mn.then(()=>{this.form.get(v.path).setValue(K)})}setValue(v){this.control.setValue(v)}onSubmit(v){return this.submitted=!0,function Qn(A,x){A._syncPendingControls(),x.forEach(v=>{const K=v.control;"submit"===K.updateOn&&K._pendingChange&&(v.viewToModelUpdate(K._pendingValue),K._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(v),"dialog"===v?.target?.method}onReset(){this.resetForm()}resetForm(v=void 0){this.form.reset(v),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(v){return v.pop(),v.length?this.form.get(v):this.form}static#e=this.\u0275fac=function(K){return new(K||A)(o.Y36(we,10),o.Y36(re,10),o.Y36(Re,8))};static#t=this.\u0275dir=o.lG2({type:A,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(K,Ie){1&K&&o.NdJ("submit",function(qt){return Ie.onSubmit(qt)})("reset",function(){return Ie.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([mr]),o.qOj]})}return A})();function te(A,x){const v=A.indexOf(x);v>-1&&A.splice(v,1)}function Se(A){return"object"==typeof A&&null!==A&&2===Object.keys(A).length&&"value"in A&&"disabled"in A}const Te=class extends Tt{constructor(x=null,v,K){super(Er(v),$e(K,v)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(x),this._setUpdateStrategy(v),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Me(v)&&(v.nonNullable||v.initialValueIsDefault)&&(this.defaultValue=Se(x)?x.value:x)}setValue(x,v={}){this.value=this._pendingValue=x,this._onChange.length&&!1!==v.emitModelToViewChange&&this._onChange.forEach(K=>K(this.value,!1!==v.emitViewToModelChange)),this.updateValueAndValidity(v)}patchValue(x,v={}){this.setValue(x,v)}reset(x=this.defaultValue,v={}){this._applyFormState(x),this.markAsPristine(v),this.markAsUntouched(v),this.setValue(this.value,v),this._pendingChange=!1}_updateValue(){}_anyControls(x){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(x){this._onChange.push(x)}_unregisterOnChange(x){te(this._onChange,x)}registerOnDisabledChange(x){this._onDisabledChange.push(x)}_unregisterOnDisabledChange(x){te(this._onDisabledChange,x)}_forEachChild(x){}_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(x){Se(x)?(this.value=this._pendingValue=x.value,x.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=x}},X={provide:Lt,useExisting:(0,o.Gpc)(()=>Ft)},Ae=(()=>Promise.resolve())();let Ft=(()=>{class A extends Lt{constructor(v,K,Ie,kt,qt,br){super(),this._changeDetectorRef=qt,this.callSetDisabledState=br,this.control=new Te,this._registered=!1,this.name="",this.update=new o.vpe,this._parent=v,this._setValidators(K),this._setAsyncValidators(Ie),this.valueAccessor=function ar(A,x){if(!x)return null;let v,K,Ie;return Array.isArray(x),x.forEach(kt=>{kt.constructor===ue?v=kt:function nr(A){return Object.getPrototypeOf(A.constructor)===z}(kt)?K=kt:Ie=kt}),Ie||K||v||null}(0,kt)}ngOnChanges(v){if(this._checkForErrors(),!this._registered||"name"in v){if(this._registered&&(this._checkName(),this.formDirective)){const K=v.name.previousValue;this.formDirective.removeControl({name:K,path:this._getPath(K)})}this._setUpControl()}"isDisabled"in v&&this._updateDisabled(v),function Nn(A,x){if(!A.hasOwnProperty("model"))return!1;const v=A.model;return!!v.isFirstChange()||!Object.is(x,v.currentValue)}(v,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(v){this.viewModel=v,this.update.emit(v)}_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(){Qe(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(v){Ae.then(()=>{this.control.setValue(v,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(v){const K=v.isDisabled.currentValue,Ie=0!==K&&(0,o.VuI)(K);Ae.then(()=>{Ie&&!this.control.disabled?this.control.disable():!Ie&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(v){return this._parent?function be(A,x){return[...x.path,A]}(v,this._parent):[v]}static#e=this.\u0275fac=function(K){return new(K||A)(o.Y36(At,9),o.Y36(we,10),o.Y36(re,10),o.Y36(D,10),o.Y36(o.sBO,8),o.Y36(Re,8))};static#t=this.\u0275dir=o.lG2({type:A,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o._Bn([X]),o.qOj,o.TTD]})}return A})(),Bn=(()=>{class A{static#e=this.\u0275fac=function(K){return new(K||A)};static#t=this.\u0275dir=o.lG2({type:A,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return A})(),vr=(()=>{class A{static#e=this.\u0275fac=function(K){return new(K||A)};static#t=this.\u0275mod=o.oAB({type:A});static#n=this.\u0275inj=o.cJS({})}return A})();function Yt(A){return"number"==typeof A?A:parseFloat(A)}let gn=(()=>{class A{constructor(){this._validator=Z}ngOnChanges(v){if(this.inputName in v){const K=this.normalizeInput(v[this.inputName].currentValue);this._enabled=this.enabled(K),this._validator=this._enabled?this.createValidator(K):Z,this._onChange&&this._onChange()}}validate(v){return this._validator(v)}registerOnValidatorChange(v){this._onChange=v}enabled(v){return null!=v}static#e=this.\u0275fac=function(K){return new(K||A)};static#t=this.\u0275dir=o.lG2({type:A,features:[o.TTD]})}return A})();const er={provide:we,useExisting:(0,o.Gpc)(()=>_r),multi:!0};let _r=(()=>{class A extends gn{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=v=>Yt(v),this.createValidator=v=>function de(A){return x=>{if(_e(x.value)||_e(A))return null;const v=parseFloat(x.value);return!isNaN(v)&&v>A?{max:{max:A,actual:x.value}}:null}}(v)}static#e=this.\u0275fac=function(){let v;return function(Ie){return(v||(v=o.n5z(A)))(Ie||A)}}();static#t=this.\u0275dir=o.lG2({type:A,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(K,Ie){2&K&&o.uIk("max",Ie._enabled?Ie.max:null)},inputs:{max:"max"},features:[o._Bn([er]),o.qOj]})}return A})();const Kr={provide:we,useExisting:(0,o.Gpc)(()=>yr),multi:!0};let yr=(()=>{class A extends gn{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=v=>Yt(v),this.createValidator=v=>function se(A){return x=>{if(_e(x.value)||_e(A))return null;const v=parseFloat(x.value);return!isNaN(v)&&vZr),multi:!0};let Zr=(()=>{class A extends gn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.VuI,this.createValidator=v=>H}enabled(v){return v}static#e=this.\u0275fac=function(){let v;return function(Ie){return(v||(v=o.n5z(A)))(Ie||A)}}();static#t=this.\u0275dir=o.lG2({type:A,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(K,Ie){2&K&&o.uIk("required",Ie._enabled?"":null)},inputs:{required:"required"},features:[o._Bn([Nr]),o.qOj]})}return A})();const ko={provide:we,useExisting:(0,o.Gpc)(()=>dr),multi:!0};let dr=(()=>{class A extends gn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=v=>v,this.createValidator=v=>function Le(A){if(!A)return Z;let x,v;return"string"==typeof A?(v="","^"!==A.charAt(0)&&(v+="^"),v+=A,"$"!==A.charAt(A.length-1)&&(v+="$"),x=new RegExp(v)):(v=A.toString(),x=A),K=>{if(_e(K.value))return null;const Ie=K.value;return x.test(Ie)?null:{pattern:{requiredPattern:v,actualValue:Ie}}}}(v)}static#e=this.\u0275fac=function(){let v;return function(Ie){return(v||(v=o.n5z(A)))(Ie||A)}}();static#t=this.\u0275dir=o.lG2({type:A,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(K,Ie){2&K&&o.uIk("pattern",Ie._enabled?Ie.pattern:null)},inputs:{pattern:"pattern"},features:[o._Bn([ko]),o.qOj]})}return A})(),Ko=(()=>{class A{static#e=this.\u0275fac=function(K){return new(K||A)};static#t=this.\u0275mod=o.oAB({type:A});static#n=this.\u0275inj=o.cJS({imports:[vr]})}return A})(),Li=(()=>{class A{static withConfig(v){return{ngModule:A,providers:[{provide:Re,useValue:v.callSetDisabledState??Ce}]}}static#e=this.\u0275fac=function(K){return new(K||A)};static#t=this.\u0275mod=o.oAB({type:A});static#n=this.\u0275inj=o.cJS({imports:[Ko]})}return A})()},6593:(ct,je,b)=>{"use strict";b.d(je,{Dx:()=>Lt,b2:()=>ut,q6:()=>Ze});var o=b(2029),w=b(6814);class ee extends w.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ae extends ee{static makeCurrent(){(0,w.HT)(new ae)}onAndCancel($e,me,Me){return $e.addEventListener(me,Me),()=>{$e.removeEventListener(me,Me)}}dispatchEvent($e,me){$e.dispatchEvent(me)}remove($e){$e.parentNode&&$e.parentNode.removeChild($e)}createElement($e,me){return(me=me||this.getDefaultDocument()).createElement($e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode($e){return $e.nodeType===Node.ELEMENT_NODE}isShadowRoot($e){return $e instanceof DocumentFragment}getGlobalEventTarget($e,me){return"window"===me?window:"document"===me?$e:"body"===me?$e.body:null}getBaseHref($e){const me=function O(){return R=R||document.querySelector("base"),R?R.getAttribute("href"):null}();return null==me?null:function q(Ke){_=_||document.createElement("a"),_.setAttribute("href",Ke);const $e=_.pathname;return"/"===$e.charAt(0)?$e:`/${$e}`}(me)}resetBaseElement(){R=null}getUserAgent(){return window.navigator.userAgent}getCookie($e){return(0,w.Mx)(document.cookie,$e)}}let _,R=null,B=(()=>{class Ke{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Me){return new(Me||Ke)};static#t=this.\u0275prov=o.Yz7({token:Ke,factory:Ke.\u0275fac})}return Ke})();const V=new o.OlP("EventManagerPlugins");let Q=(()=>{class Ke{constructor(me,Me){this._zone=Me,this._eventNameToPlugin=new Map,me.forEach(Je=>{Je.manager=this}),this._plugins=me.slice().reverse()}addEventListener(me,Me,Je){return this._findPluginFor(Me).addEventListener(me,Me,Je)}getZone(){return this._zone}_findPluginFor(me){let Me=this._eventNameToPlugin.get(me);if(Me)return Me;if(Me=this._plugins.find(Et=>Et.supports(me)),!Me)throw new o.vHH(5101,!1);return this._eventNameToPlugin.set(me,Me),Me}static#e=this.\u0275fac=function(Me){return new(Me||Ke)(o.LFG(V),o.LFG(o.R0b))};static#t=this.\u0275prov=o.Yz7({token:Ke,factory:Ke.\u0275fac})}return Ke})();class S{constructor($e){this._doc=$e}}const z="ng-app-id";let D=(()=>{class Ke{constructor(me,Me,Je,Et={}){this.doc=me,this.appId=Me,this.nonce=Je,this.platformId=Et,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,w.PM)(Et),this.resetHostNodes()}addStyles(me){for(const Me of me)1===this.changeUsageCount(Me,1)&&this.onStyleAdded(Me)}removeStyles(me){for(const Me of me)this.changeUsageCount(Me,-1)<=0&&this.onStyleRemoved(Me)}ngOnDestroy(){const me=this.styleNodesInDOM;me&&(me.forEach(Me=>Me.remove()),me.clear());for(const Me of this.getAllStyles())this.onStyleRemoved(Me);this.resetHostNodes()}addHost(me){this.hostNodes.add(me);for(const Me of this.getAllStyles())this.addStyleToHost(me,Me)}removeHost(me){this.hostNodes.delete(me)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(me){for(const Me of this.hostNodes)this.addStyleToHost(Me,me)}onStyleRemoved(me){const Me=this.styleRef;Me.get(me)?.elements?.forEach(Je=>Je.remove()),Me.delete(me)}collectServerRenderedStyles(){const me=this.doc.head?.querySelectorAll(`style[${z}="${this.appId}"]`);if(me?.length){const Me=new Map;return me.forEach(Je=>{null!=Je.textContent&&Me.set(Je.textContent,Je)}),Me}return null}changeUsageCount(me,Me){const Je=this.styleRef;if(Je.has(me)){const Et=Je.get(me);return Et.usage+=Me,Et.usage}return Je.set(me,{usage:Me,elements:[]}),Me}getStyleElement(me,Me){const Je=this.styleNodesInDOM,Et=Je?.get(Me);if(Et?.parentNode===me)return Je.delete(Me),Et.removeAttribute(z),Et;{const Tt=this.doc.createElement("style");return this.nonce&&Tt.setAttribute("nonce",this.nonce),Tt.textContent=Me,this.platformIsServer&&Tt.setAttribute(z,this.appId),Tt}}addStyleToHost(me,Me){const Je=this.getStyleElement(me,Me);me.appendChild(Je);const Et=this.styleRef,Tt=Et.get(Me)?.elements;Tt?Tt.push(Je):Et.set(Me,{elements:[Je],usage:1})}resetHostNodes(){const me=this.hostNodes;me.clear(),me.add(this.doc.head)}static#e=this.\u0275fac=function(Me){return new(Me||Ke)(o.LFG(w.K0),o.LFG(o.AFp),o.LFG(o.Ojb,8),o.LFG(o.Lbi))};static#t=this.\u0275prov=o.Yz7({token:Ke,factory:Ke.\u0275fac})}return Ke})();const k={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},P=/%COMP%/g,_e=new o.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function re(Ke,$e){return $e.map(me=>me.replace(P,Ke))}let U=(()=>{class Ke{constructor(me,Me,Je,Et,Tt,en,Jt,Tn=null){this.eventManager=me,this.sharedStylesHost=Me,this.appId=Je,this.removeStylesOnCompDestroy=Et,this.doc=Tt,this.platformId=en,this.ngZone=Jt,this.nonce=Tn,this.rendererByCompId=new Map,this.platformIsServer=(0,w.PM)(en),this.defaultRenderer=new ge(me,Tt,Jt,this.platformIsServer)}createRenderer(me,Me){if(!me||!Me)return this.defaultRenderer;this.platformIsServer&&Me.encapsulation===o.ifc.ShadowDom&&(Me={...Me,encapsulation:o.ifc.Emulated});const Je=this.getOrCreateRenderer(me,Me);return Je instanceof Fe?Je.applyToHost(me):Je instanceof De&&Je.applyStyles(),Je}getOrCreateRenderer(me,Me){const Je=this.rendererByCompId;let Et=Je.get(Me.id);if(!Et){const Tt=this.doc,en=this.ngZone,Jt=this.eventManager,Tn=this.sharedStylesHost,xn=this.removeStylesOnCompDestroy,sr=this.platformIsServer;switch(Me.encapsulation){case o.ifc.Emulated:Et=new Fe(Jt,Tn,Me,this.appId,xn,Tt,en,sr);break;case o.ifc.ShadowDom:return new he(Jt,Tn,me,Me,Tt,en,this.nonce,sr);default:Et=new De(Jt,Tn,Me,xn,Tt,en,sr)}Je.set(Me.id,Et)}return Et}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Me){return new(Me||Ke)(o.LFG(Q),o.LFG(D),o.LFG(o.AFp),o.LFG(_e),o.LFG(w.K0),o.LFG(o.Lbi),o.LFG(o.R0b),o.LFG(o.Ojb))};static#t=this.\u0275prov=o.Yz7({token:Ke,factory:Ke.\u0275fac})}return Ke})();class ge{constructor($e,me,Me,Je){this.eventManager=$e,this.doc=me,this.ngZone=Me,this.platformIsServer=Je,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement($e,me){return me?this.doc.createElementNS(k[me]||me,$e):this.doc.createElement($e)}createComment($e){return this.doc.createComment($e)}createText($e){return this.doc.createTextNode($e)}appendChild($e,me){(H($e)?$e.content:$e).appendChild(me)}insertBefore($e,me,Me){$e&&(H($e)?$e.content:$e).insertBefore(me,Me)}removeChild($e,me){$e&&$e.removeChild(me)}selectRootElement($e,me){let Me="string"==typeof $e?this.doc.querySelector($e):$e;if(!Me)throw new o.vHH(-5104,!1);return me||(Me.textContent=""),Me}parentNode($e){return $e.parentNode}nextSibling($e){return $e.nextSibling}setAttribute($e,me,Me,Je){if(Je){me=Je+":"+me;const Et=k[Je];Et?$e.setAttributeNS(Et,me,Me):$e.setAttribute(me,Me)}else $e.setAttribute(me,Me)}removeAttribute($e,me,Me){if(Me){const Je=k[Me];Je?$e.removeAttributeNS(Je,me):$e.removeAttribute(`${Me}:${me}`)}else $e.removeAttribute(me)}addClass($e,me){$e.classList.add(me)}removeClass($e,me){$e.classList.remove(me)}setStyle($e,me,Me,Je){Je&(o.JOm.DashCase|o.JOm.Important)?$e.style.setProperty(me,Me,Je&o.JOm.Important?"important":""):$e.style[me]=Me}removeStyle($e,me,Me){Me&o.JOm.DashCase?$e.style.removeProperty(me):$e.style[me]=""}setProperty($e,me,Me){$e[me]=Me}setValue($e,me){$e.nodeValue=me}listen($e,me,Me){if("string"==typeof $e&&!($e=(0,w.q)().getGlobalEventTarget(this.doc,$e)))throw new Error(`Unsupported event target ${$e} for event ${me}`);return this.eventManager.addEventListener($e,me,this.decoratePreventDefault(Me))}decoratePreventDefault($e){return me=>{if("__ngUnwrap__"===me)return $e;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>$e(me)):$e(me))&&me.preventDefault()}}}function H(Ke){return"TEMPLATE"===Ke.tagName&&void 0!==Ke.content}class he extends ge{constructor($e,me,Me,Je,Et,Tt,en,Jt){super($e,Et,Tt,Jt),this.sharedStylesHost=me,this.hostEl=Me,this.shadowRoot=Me.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Tn=re(Je.id,Je.styles);for(const xn of Tn){const sr=document.createElement("style");en&&sr.setAttribute("nonce",en),sr.textContent=xn,this.shadowRoot.appendChild(sr)}}nodeOrShadowRoot($e){return $e===this.hostEl?this.shadowRoot:$e}appendChild($e,me){return super.appendChild(this.nodeOrShadowRoot($e),me)}insertBefore($e,me,Me){return super.insertBefore(this.nodeOrShadowRoot($e),me,Me)}removeChild($e,me){return super.removeChild(this.nodeOrShadowRoot($e),me)}parentNode($e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot($e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class De extends ge{constructor($e,me,Me,Je,Et,Tt,en,Jt){super($e,Et,Tt,en),this.sharedStylesHost=me,this.removeStylesOnCompDestroy=Je,this.styles=Jt?re(Jt,Me.styles):Me.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Fe extends De{constructor($e,me,Me,Je,Et,Tt,en,Jt){const Tn=Je+"-"+Me.id;super($e,me,Me,Et,Tt,en,Jt,Tn),this.contentAttr=function Be(Ke){return"_ngcontent-%COMP%".replace(P,Ke)}(Tn),this.hostAttr=function we(Ke){return"_nghost-%COMP%".replace(P,Ke)}(Tn)}applyToHost($e){this.applyStyles(),this.setAttribute($e,this.hostAttr,"")}createElement($e,me){const Me=super.createElement($e,me);return super.setAttribute(Me,this.contentAttr,""),Me}}let qe=(()=>{class Ke extends S{constructor(me){super(me)}supports(me){return!0}addEventListener(me,Me,Je){return me.addEventListener(Me,Je,!1),()=>this.removeEventListener(me,Me,Je)}removeEventListener(me,Me,Je){return me.removeEventListener(Me,Je)}static#e=this.\u0275fac=function(Me){return new(Me||Ke)(o.LFG(w.K0))};static#t=this.\u0275prov=o.Yz7({token:Ke,factory:Ke.\u0275fac})}return Ke})();const Le=["alt","control","meta","shift"],Z={"\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"},Y={alt:Ke=>Ke.altKey,control:Ke=>Ke.ctrlKey,meta:Ke=>Ke.metaKey,shift:Ke=>Ke.shiftKey};let fe=(()=>{class Ke extends S{constructor(me){super(me)}supports(me){return null!=Ke.parseEventName(me)}addEventListener(me,Me,Je){const Et=Ke.parseEventName(Me),Tt=Ke.eventCallback(Et.fullKey,Je,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,w.q)().onAndCancel(me,Et.domEventName,Tt))}static parseEventName(me){const Me=me.toLowerCase().split("."),Je=Me.shift();if(0===Me.length||"keydown"!==Je&&"keyup"!==Je)return null;const Et=Ke._normalizeKey(Me.pop());let Tt="",en=Me.indexOf("code");if(en>-1&&(Me.splice(en,1),Tt="code."),Le.forEach(Tn=>{const xn=Me.indexOf(Tn);xn>-1&&(Me.splice(xn,1),Tt+=Tn+".")}),Tt+=Et,0!=Me.length||0===Et.length)return null;const Jt={};return Jt.domEventName=Je,Jt.fullKey=Tt,Jt}static matchEventFullKeyCode(me,Me){let Je=Z[me.key]||me.key,Et="";return Me.indexOf("code.")>-1&&(Je=me.code,Et="code."),!(null==Je||!Je)&&(Je=Je.toLowerCase()," "===Je?Je="space":"."===Je&&(Je="dot"),Le.forEach(Tt=>{Tt!==Je&&(0,Y[Tt])(me)&&(Et+=Tt+".")}),Et+=Je,Et===Me)}static eventCallback(me,Me,Je){return Et=>{Ke.matchEventFullKeyCode(Et,me)&&Je.runGuarded(()=>Me(Et))}}static _normalizeKey(me){return"esc"===me?"escape":me}static#e=this.\u0275fac=function(Me){return new(Me||Ke)(o.LFG(w.K0))};static#t=this.\u0275prov=o.Yz7({token:Ke,factory:Ke.\u0275fac})}return Ke})();const Ze=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:w.bD},{provide:o.g9A,useValue:function yt(){ae.makeCurrent()},multi:!0},{provide:w.K0,useFactory:function bt(){return(0,o.RDi)(document),document},deps:[]}]),Oe=new o.OlP(""),Xe=[{provide:o.rWj,useClass:class I{addToWindow($e){o.dqk.getAngularTestability=(Me,Je=!0)=>{const Et=$e.findTestabilityInTree(Me,Je);if(null==Et)throw new o.vHH(5103,!1);return Et},o.dqk.getAllAngularTestabilities=()=>$e.getAllTestabilities(),o.dqk.getAllAngularRootElements=()=>$e.getAllRootElements(),o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(Me=>{const Je=o.dqk.getAllAngularTestabilities();let Et=Je.length,Tt=!1;const en=function(Jt){Tt=Tt||Jt,Et--,0==Et&&Me(Tt)};Je.forEach(Jt=>{Jt.whenStable(en)})})}findTestabilityInTree($e,me,Me){return null==me?null:$e.getTestability(me)??(Me?(0,w.q)().isShadowRoot(me)?this.findTestabilityInTree($e,me.host,!0):this.findTestabilityInTree($e,me.parentElement,!0):null)}},deps:[]},{provide:o.lri,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]}],Ue=[{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function ft(){return new o.qLn},deps:[]},{provide:V,useClass:qe,multi:!0,deps:[w.K0,o.R0b,o.Lbi]},{provide:V,useClass:fe,multi:!0,deps:[w.K0]},U,D,Q,{provide:o.FYo,useExisting:U},{provide:w.JF,useClass:B,deps:[]},[]];let ut=(()=>{class Ke{constructor(me){}static withServerTransition(me){return{ngModule:Ke,providers:[{provide:o.AFp,useValue:me.appId}]}}static#e=this.\u0275fac=function(Me){return new(Me||Ke)(o.LFG(Oe,12))};static#t=this.\u0275mod=o.oAB({type:Ke});static#n=this.\u0275inj=o.cJS({providers:[...Ue,...Xe],imports:[w.ez,o.hGG]})}return Ke})(),Lt=(()=>{class Ke{constructor(me){this._doc=me}getTitle(){return this._doc.title}setTitle(me){this._doc.title=me||""}static#e=this.\u0275fac=function(Me){return new(Me||Ke)(o.LFG(w.K0))};static#t=this.\u0275prov=o.Yz7({token:Ke,factory:function(Me){let Je=null;return Je=Me?new Me:function At(){return new Lt((0,o.LFG)(w.K0))}(),Je},providedIn:"root"})}return Ke})();typeof window<"u"&&window},335:(ct,je,b)=>{"use strict";b.d(je,{gz:()=>Rr,y6:()=>vr,OD:()=>L,eC:()=>Ue,wm:()=>Yr,wN:()=>$r,F0:()=>mn,rH:()=>Ar,Bz:()=>Tr,Hx:()=>In});var o=b(2029),w=b(5592),ee=b(4674),R=b(7715),O=b(2096),_=b(5619),q=b(2572);const B=(0,b(2306).d)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"});var V=b(7537),S=b(9940);function z(...c){return function Q(){return(0,V.J)(1)}()((0,R.D)(c,(0,S.yG)(c)))}var D=b(4829);function k(c){return new w.y(p=>{(0,D.Xf)(c()).subscribe(p)})}var P=b(8407);function ne(c,p){const l=(0,ee.m)(c)?c:()=>c,g=C=>C.error(l());return new w.y(p?C=>p.schedule(g,0,C):g)}var ce=b(6232),Ne=b(7394),ue=b(9360),_e=b(8251);function Be(){return(0,ue.e)((c,p)=>{let l=null;c._refCount++;const g=(0,_e.x)(p,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(l=null);const C=c._connection,G=l;l=null,C&&(!G||C===G)&&C.unsubscribe(),p.unsubscribe()});c.subscribe(g),g.closed||(l=c.connect())})}class we extends w.y{constructor(p,l){super(),this.source=p,this.subjectFactory=l,this._subject=null,this._refCount=0,this._connection=null,(0,ue.A)(p)&&(this.lift=p.lift)}_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,p?.unsubscribe()}connect(){let p=this._connection;if(!p){p=this._connection=new Ne.w0;const l=this.getSubject();p.add(this.source.subscribe((0,_e.x)(l,void 0,()=>{this._teardown(),l.complete()},g=>{this._teardown(),l.error(g)},()=>this._teardown()))),p.closed&&(this._connection=null,p=Ne.w0.EMPTY)}return p}refCount(){return Be()(this)}}var re=b(8645),U=b(6814),ge=b(7398),se=b(4664),de=b(8180),he=b(2181),De=b(1631);function Fe(c){return(0,ue.e)((p,l)=>{let g=!1;p.subscribe((0,_e.x)(l,C=>{g=!0,l.next(C)},()=>{g||l.next(c),l.complete()}))})}function qe(c=Le){return(0,ue.e)((p,l)=>{let g=!1;p.subscribe((0,_e.x)(l,C=>{g=!0,l.next(C)},()=>g?l.complete():l.error(c())))})}function Le(){return new B}var Z=b(2737);function Y(c,p){const l=arguments.length>=2;return g=>g.pipe(c?(0,he.h)((C,G)=>c(C,G,g)):Z.y,(0,de.q)(1),l?Fe(p):qe(()=>new B))}var fe=b(6328),ie=b(9397);function Ve(c){return(0,ue.e)((p,l)=>{let G,g=null,C=!1;g=p.subscribe((0,_e.x)(l,void 0,void 0,pe=>{G=(0,D.Xf)(c(pe,Ve(c)(p))),g?(g.unsubscribe(),g=null,G.subscribe(l)):C=!0})),C&&(g.unsubscribe(),g=null,G.subscribe(l))})}function yt(c){return c<=0?()=>ce.E:(0,ue.e)((p,l)=>{let g=[];p.subscribe((0,_e.x)(l,C=>{g.push(C),c{for(const C of g)l.next(C);l.complete()},void 0,()=>{g=null}))})}var Ot=b(4716),Ze=b(2420),Xe=b(6593);const Ue="primary",ut=Symbol("RouteTitle");class pt{constructor(p){this.params=p||{}}has(p){return Object.prototype.hasOwnProperty.call(this.params,p)}get(p){if(this.has(p)){const l=this.params[p];return Array.isArray(l)?l[0]:l}return null}getAll(p){if(this.has(p)){const l=this.params[p];return Array.isArray(l)?l:[l]}return[]}get keys(){return Object.keys(this.params)}}function mt(c){return new pt(c)}function Vt(c,p,l){const g=l.path.split("/");if(g.length>c.length||"full"===l.pathMatch&&(p.hasChildren()||g.lengthg[G]===C)}return c===p}function wn(c){return c.length>0?c[c.length-1]:null}function Kt(c){return function ae(c){return!!c&&(c instanceof w.y||(0,ee.m)(c.lift)&&(0,ee.m)(c.subscribe))}(c)?c:(0,o.QGY)(c)?(0,R.D)(Promise.resolve(c)):(0,O.of)(c)}const Nt={exact:function Rt(c,p,l){if(!Bt(c.segments,p.segments)||!Gt(c.segments,p.segments,l)||c.numberOfChildren!==p.numberOfChildren)return!1;for(const g in p.children)if(!c.children[g]||!Rt(c.children[g],p.children[g],l))return!1;return!0},subset:Xt},jt={exact:function Yn(c,p){return Lt(c,p)},subset:function Zt(c,p){return Object.keys(p).length<=Object.keys(c).length&&Object.keys(p).every(l=>$t(c[l],p[l]))},ignored:()=>!0};function Vn(c,p,l){return Nt[l.paths](c.root,p.root,l.matrixParams)&&jt[l.queryParams](c.queryParams,p.queryParams)&&!("exact"===l.fragment&&c.fragment!==p.fragment)}function Xt(c,p,l){return Wt(c,p,p.segments,l)}function Wt(c,p,l,g){if(c.segments.length>l.length){const C=c.segments.slice(0,l.length);return!(!Bt(C,l)||p.hasChildren()||!Gt(C,l,g))}if(c.segments.length===l.length){if(!Bt(c.segments,l)||!Gt(c.segments,l,g))return!1;for(const C in p.children)if(!c.children[C]||!Xt(c.children[C],p.children[C],g))return!1;return!0}{const C=l.slice(0,c.segments.length),G=l.slice(c.segments.length);return!!(Bt(c.segments,C)&&Gt(c.segments,C,g)&&c.children[Ue])&&Wt(c.children[Ue],p,G,g)}}function Gt(c,p,l){return p.every((g,C)=>jt[l](c[C].parameters,g.parameters))}class Pn{constructor(p=new dt([],{}),l={},g=null){this.root=p,this.queryParams=l,this.fragment=g}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mt(this.queryParams)),this._queryParamMap}toString(){return yn.serialize(this)}}class dt{constructor(p,l){this.segments=p,this.children=l,this.parent=null,Object.values(l).forEach(g=>g.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Kn(this)}}class Cn{constructor(p,l){this.path=p,this.parameters=l}get parameterMap(){return this._parameterMap||(this._parameterMap=mt(this.parameters)),this._parameterMap}toString(){return me(this)}}function Bt(c,p){return c.length===p.length&&c.every((l,g)=>l.path===p[g].path)}let In=(()=>{class c{static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:function(){return new Xn},providedIn:"root"})}return c})();class Xn{parse(p){const l=new Ce(p);return new Pn(l.parseRootSegment(),l.parseQueryParams(),l.parseFragment())}serialize(p){const l=`/${bn(p.root,!0)}`,g=function Je(c){const p=Object.keys(c).map(l=>{const g=c[l];return Array.isArray(g)?g.map(C=>`${qn(l)}=${qn(C)}`).join("&"):`${qn(l)}=${qn(g)}`}).filter(l=>!!l);return p.length?`?${p.join("&")}`:""}(p.queryParams);return`${l}${g}${"string"==typeof p.fragment?`#${function Zn(c){return encodeURI(c)}(p.fragment)}`:""}`}}const yn=new Xn;function Kn(c){return c.segments.map(p=>me(p)).join("/")}function bn(c,p){if(!c.hasChildren())return Kn(c);if(p){const l=c.children[Ue]?bn(c.children[Ue],!1):"",g=[];return Object.entries(c.children).forEach(([C,G])=>{C!==Ue&&g.push(`${C}:${bn(G,!1)}`)}),g.length>0?`${l}(${g.join("//")})`:l}{const l=function Wn(c,p){let l=[];return Object.entries(c.children).forEach(([g,C])=>{g===Ue&&(l=l.concat(p(C,g)))}),Object.entries(c.children).forEach(([g,C])=>{g!==Ue&&(l=l.concat(p(C,g)))}),l}(c,(g,C)=>C===Ue?[bn(c.children[Ue],!1)]:[`${C}:${bn(g,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[Ue]?`${Kn(c)}/${l[0]}`:`${Kn(c)}/(${l.join("//")})`}}function gr(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function qn(c){return gr(c).replace(/%3B/gi,";")}function Er(c){return gr(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ke(c){return decodeURIComponent(c)}function $e(c){return Ke(c.replace(/\+/g,"%20"))}function me(c){return`${Er(c.path)}${function Me(c){return Object.keys(c).map(p=>`;${Er(p)}=${Er(c[p])}`).join("")}(c.parameters)}`}const Et=/^[^\/()?;#]+/;function Tt(c){const p=c.match(Et);return p?p[0]:""}const en=/^[^\/()?;=#]+/,Tn=/^[^=?&#]+/,sr=/^[^&#]+/;class Ce{constructor(p){this.url=p,this.remaining=p}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new dt([],{}):new dt([],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 l={};this.peekStartsWith("/(")&&(this.capture("/"),l=this.parseParens(!0));let g={};return this.peekStartsWith("(")&&(g=this.parseParens(!1)),(p.length>0||Object.keys(l).length>0)&&(g[Ue]=new dt(p,l)),g}parseSegment(){const p=Tt(this.remaining);if(""===p&&this.peekStartsWith(";"))throw new o.vHH(4009,!1);return this.capture(p),new Cn(Ke(p),this.parseMatrixParams())}parseMatrixParams(){const p={};for(;this.consumeOptional(";");)this.parseParam(p);return p}parseParam(p){const l=function Jt(c){const p=c.match(en);return p?p[0]:""}(this.remaining);if(!l)return;this.capture(l);let g="";if(this.consumeOptional("=")){const C=Tt(this.remaining);C&&(g=C,this.capture(g))}p[Ke(l)]=Ke(g)}parseQueryParam(p){const l=function xn(c){const p=c.match(Tn);return p?p[0]:""}(this.remaining);if(!l)return;this.capture(l);let g="";if(this.consumeOptional("=")){const pe=function Re(c){const p=c.match(sr);return p?p[0]:""}(this.remaining);pe&&(g=pe,this.capture(g))}const C=$e(l),G=$e(g);if(p.hasOwnProperty(C)){let pe=p[C];Array.isArray(pe)||(pe=[pe],p[C]=pe),pe.push(G)}else p[C]=G}parseParens(p){const l={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const g=Tt(this.remaining),C=this.remaining[g.length];if("/"!==C&&")"!==C&&";"!==C)throw new o.vHH(4010,!1);let G;g.indexOf(":")>-1?(G=g.slice(0,g.indexOf(":")),this.capture(G),this.capture(":")):p&&(G=Ue);const pe=this.parseChildren();l[G]=1===Object.keys(pe).length?pe[Ue]:new dt([],pe),this.consumeOptional("//")}return l}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 o.vHH(4011,!1)}}function be(c){return c.segments.length>0?new dt([],{[Ue]:c}):c}function Qe(c){const p={};for(const g of Object.keys(c.children)){const G=Qe(c.children[g]);if(g===Ue&&0===G.segments.length&&G.hasChildren())for(const[pe,Ye]of Object.entries(G.children))p[pe]=Ye;else(G.segments.length>0||G.hasChildren())&&(p[g]=G)}return function it(c){if(1===c.numberOfChildren&&c.children[Ue]){const p=c.children[Ue];return new dt(c.segments.concat(p.segments),p.children)}return c}(new dt(c.segments,p))}function gt(c){return c instanceof Pn}function sn(c){let p;const C=be(function l(G){const pe={};for(const ze of G.children){const Mt=l(ze);pe[ze.outlet]=Mt}const Ye=new dt(G.url,pe);return G===c&&(p=Ye),Ye}(c.root));return p??C}function xt(c,p,l,g){let C=c;for(;C.parent;)C=C.parent;if(0===p.length)return ln(C,C,C,l,g);const G=function un(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new Ut(!0,0,c);let p=0,l=!1;const g=c.reduce((C,G,pe)=>{if("object"==typeof G&&null!=G){if(G.outlets){const Ye={};return Object.entries(G.outlets).forEach(([ze,Mt])=>{Ye[ze]="string"==typeof Mt?Mt.split("/"):Mt}),[...C,{outlets:Ye}]}if(G.segmentPath)return[...C,G.segmentPath]}return"string"!=typeof G?[...C,G]:0===pe?(G.split("/").forEach((Ye,ze)=>{0==ze&&"."===Ye||(0==ze&&""===Ye?l=!0:".."===Ye?p++:""!=Ye&&C.push(Ye))}),C):[...C,G]},[]);return new Ut(l,p,g)}(p);if(G.toRoot())return ln(C,C,new dt([],{}),l,g);const pe=function hn(c,p,l){if(c.isAbsolute)return new _t(p,!0,0);if(!l)return new _t(p,!1,NaN);if(null===l.parent)return new _t(l,!0,0);const g=an(c.commands[0])?0:1;return function Jn(c,p,l){let g=c,C=p,G=l;for(;G>C;){if(G-=C,g=g.parent,!g)throw new o.vHH(4005,!1);C=g.segments.length}return new _t(g,!1,C-G)}(l,l.segments.length-1+g,c.numberOfDoubleDots)}(G,C,c),Ye=pe.processChildren?Nn(pe.segmentGroup,pe.index,G.commands):pn(pe.segmentGroup,pe.index,G.commands);return ln(C,pe.segmentGroup,Ye,l,g)}function an(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function kn(c){return"object"==typeof c&&null!=c&&c.outlets}function ln(c,p,l,g,C){let pe,G={};g&&Object.entries(g).forEach(([ze,Mt])=>{G[ze]=Array.isArray(Mt)?Mt.map(tn=>`${tn}`):`${Mt}`}),pe=c===p?l:cn(c,p,l);const Ye=be(Qe(pe));return new Pn(Ye,G,C)}function cn(c,p,l){const g={};return Object.entries(c.children).forEach(([C,G])=>{g[C]=G===p?l:cn(G,p,l)}),new dt(c.segments,g)}class Ut{constructor(p,l,g){if(this.isAbsolute=p,this.numberOfDoubleDots=l,this.commands=g,p&&g.length>0&&an(g[0]))throw new o.vHH(4003,!1);const C=g.find(kn);if(C&&C!==wn(g))throw new o.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class _t{constructor(p,l,g){this.segmentGroup=p,this.processChildren=l,this.index=g}}function pn(c,p,l){if(c||(c=new dt([],{})),0===c.segments.length&&c.hasChildren())return Nn(c,p,l);const g=function nr(c,p,l){let g=0,C=p;const G={match:!1,pathIndex:0,commandIndex:0};for(;C=l.length)return G;const pe=c.segments[C],Ye=l[g];if(kn(Ye))break;const ze=`${Ye}`,Mt=g0&&void 0===ze)break;if(ze&&Mt&&"object"==typeof Mt&&void 0===Mt.outlets){if(!lr(ze,Mt,pe))return G;g+=2}else{if(!lr(ze,{},pe))return G;g++}C++}return{match:!0,pathIndex:C,commandIndex:g}}(c,p,l),C=l.slice(g.commandIndex);if(g.match&&g.pathIndexG!==Ue)&&c.children[Ue]&&1===c.numberOfChildren&&0===c.children[Ue].segments.length){const G=Nn(c.children[Ue],p,l);return new dt(c.segments,G.children)}return Object.entries(g).forEach(([G,pe])=>{"string"==typeof pe&&(pe=[pe]),null!==pe&&(C[G]=pn(c.children[G],p,pe))}),Object.entries(c.children).forEach(([G,pe])=>{void 0===g[G]&&(C[G]=pe)}),new dt(c.segments,C)}}function Qn(c,p,l){const g=c.segments.slice(0,p);let C=0;for(;C{"string"==typeof g&&(g=[g]),null!==g&&(p[l]=Qn(new dt([],{}),0,g))}),p}function wr(c){const p={};return Object.entries(c).forEach(([l,g])=>p[l]=`${g}`),p}function lr(c,p,l){return c==l.path&&Lt(p,l.parameters)}const mr="imperative";class Mn{constructor(p,l){this.id=p,this.url=l}}class L extends Mn{constructor(p,l,g="imperative",C=null){super(p,l),this.type=0,this.navigationTrigger=g,this.restoredState=C}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class te extends Mn{constructor(p,l,g){super(p,l),this.urlAfterRedirects=g,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Se extends Mn{constructor(p,l,g,C){super(p,l),this.reason=g,this.code=C,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Te extends Mn{constructor(p,l,g,C){super(p,l),this.reason=g,this.code=C,this.type=16}}class oe extends Mn{constructor(p,l,g,C){super(p,l),this.error=g,this.target=C,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ee extends Mn{constructor(p,l,g,C){super(p,l),this.urlAfterRedirects=g,this.state=C,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pe extends Mn{constructor(p,l,g,C){super(p,l),this.urlAfterRedirects=g,this.state=C,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class et extends Mn{constructor(p,l,g,C,G){super(p,l),this.urlAfterRedirects=g,this.state=C,this.shouldActivate=G,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ge extends Mn{constructor(p,l,g,C){super(p,l),this.urlAfterRedirects=g,this.state=C,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nt extends Mn{constructor(p,l,g,C){super(p,l),this.urlAfterRedirects=g,this.state=C,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class u{constructor(p){this.route=p,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class j{constructor(p){this.route=p,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class m{constructor(p){this.snapshot=p,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class X{constructor(p){this.snapshot=p,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ae{constructor(p){this.snapshot=p,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ft{constructor(p){this.snapshot=p,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bn{constructor(p,l,g){this.routerEvent=p,this.position=l,this.anchor=g,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ir{}class jn{constructor(p){this.url=p}}class wo{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new vr,this.attachRef=null}}let vr=(()=>{class c{constructor(){this.contexts=new Map}onChildOutletCreated(l,g){const C=this.getOrCreateContext(l);C.outlet=g,this.contexts.set(l,C)}onChildOutletDestroyed(l){const g=this.getContext(l);g&&(g.outlet=null,g.attachRef=null)}onOutletDeactivated(){const l=this.contexts;return this.contexts=new Map,l}onOutletReAttached(l){this.contexts=l}getOrCreateContext(l){let g=this.getContext(l);return g||(g=new wo,this.contexts.set(l,g)),g}getContext(l){return this.contexts.get(l)||null}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class fo{constructor(p){this._root=p}get root(){return this._root.value}parent(p){const l=this.pathFromRoot(p);return l.length>1?l[l.length-2]:null}children(p){const l=io(p,this._root);return l?l.children.map(g=>g.value):[]}firstChild(p){const l=io(p,this._root);return l&&l.children.length>0?l.children[0].value:null}siblings(p){const l=rn(p,this._root);return l.length<2?[]:l[l.length-2].children.map(C=>C.value).filter(C=>C!==p)}pathFromRoot(p){return rn(p,this._root).map(l=>l.value)}}function io(c,p){if(c===p.value)return p;for(const l of p.children){const g=io(c,l);if(g)return g}return null}function rn(c,p){if(c===p.value)return[p];for(const l of p.children){const g=rn(c,l);if(g.length)return g.unshift(p),g}return[]}class Sn{constructor(p,l){this.value=p,this.children=l}toString(){return`TreeNode(${this.value})`}}function Hn(c){const p={};return c&&c.children.forEach(l=>p[l.value.outlet]=l),p}class Hr extends fo{constructor(p,l){super(p),this.snapshot=l,wt(this,p)}toString(){return this.snapshot.toString()}}function cr(c,p){const l=function Io(c,p){const pe=new qr([],{},{},"",{},Ue,p,null,{});return new On("",new Sn(pe,[]))}(0,p),g=new _.X([new Cn("",{})]),C=new _.X({}),G=new _.X({}),pe=new _.X({}),Ye=new _.X(""),ze=new Rr(g,C,pe,Ye,G,Ue,p,l.root);return ze.snapshot=l.root,new Hr(new Sn(ze,[]),l)}class Rr{constructor(p,l,g,C,G,pe,Ye,ze){this.urlSubject=p,this.paramsSubject=l,this.queryParamsSubject=g,this.fragmentSubject=C,this.dataSubject=G,this.outlet=pe,this.component=Ye,this._futureSnapshot=ze,this.title=this.dataSubject?.pipe((0,ge.U)(Mt=>Mt[ut]))??(0,O.of)(void 0),this.url=p,this.params=l,this.queryParams=g,this.fragment=C,this.data=G}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,ge.U)(p=>mt(p)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ge.U)(p=>mt(p)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function so(c,p="emptyOnly"){const l=c.pathFromRoot;let g=0;if("always"!==p)for(g=l.length-1;g>=1;){const C=l[g],G=l[g-1];if(C.routeConfig&&""===C.routeConfig.path)g--;else{if(G.component)break;g--}}return function ao(c){return c.reduce((p,l)=>({params:{...p.params,...l.params},data:{...p.data,...l.data},resolve:{...l.data,...p.resolve,...l.routeConfig?.data,...l._resolvedData}}),{params:{},data:{},resolve:{}})}(l.slice(g))}class qr{get title(){return this.data?.[ut]}constructor(p,l,g,C,G,pe,Ye,ze,Mt){this.url=p,this.params=l,this.queryParams=g,this.fragment=C,this.data=G,this.outlet=pe,this.component=Ye,this.routeConfig=ze,this._resolve=Mt}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=mt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(g=>g.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class On extends fo{constructor(p,l){super(l),this.url=p,wt(this,l)}toString(){return zt(this._root)}}function wt(c,p){p.value._routerState=c,p.children.forEach(l=>wt(c,l))}function zt(c){const p=c.children.length>0?` { ${c.children.map(zt).join(", ")} } `:"";return`${c.value}${p}`}function En(c){if(c.snapshot){const p=c.snapshot,l=c._futureSnapshot;c.snapshot=l,Lt(p.queryParams,l.queryParams)||c.queryParamsSubject.next(l.queryParams),p.fragment!==l.fragment&&c.fragmentSubject.next(l.fragment),Lt(p.params,l.params)||c.paramsSubject.next(l.params),function At(c,p){if(c.length!==p.length)return!1;for(let l=0;lLt(l.parameters,p[g].parameters))}(c.url,p.url);return l&&!(!c.parent!=!p.parent)&&(!c.parent||fr(c.parent,p.parent))}let Ur=(()=>{class c{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ue,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.attachEvents=new o.vpe,this.detachEvents=new o.vpe,this.parentContexts=(0,o.f3M)(vr),this.location=(0,o.f3M)(o.s_b),this.changeDetector=(0,o.f3M)(o.sBO),this.environmentInjector=(0,o.f3M)(o.lqb),this.inputBinder=(0,o.f3M)(F,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(l){if(l.name){const{firstChange:g,previousValue:C}=l.name;if(g)return;this.isTrackedInParentContexts(C)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(C)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(l){return this.parentContexts.getContext(l)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const l=this.parentContexts.getContext(this.name);l?.route&&(l.attachRef?this.attach(l.attachRef,l.route):this.activateWith(l.route,l.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.vHH(4012,!1);this.location.detach();const l=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(l.instance),l}attach(l,g){this.activated=l,this._activatedRoute=g,this.location.insert(l.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(l.instance)}deactivate(){if(this.activated){const l=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(l)}}activateWith(l,g){if(this.isActivated)throw new o.vHH(4013,!1);this._activatedRoute=l;const C=this.location,pe=l.snapshot.component,Ye=this.parentContexts.getOrCreateContext(this.name).children,ze=new ur(l,Ye,C.injector);this.activated=C.createComponent(pe,{index:C.length,injector:ze,environmentInjector:g??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275dir=o.lG2({type:c,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.TTD]})}return c})();class ur{constructor(p,l,g){this.route=p,this.childContexts=l,this.parent=g}get(p,l){return p===Rr?this.route:p===vr?this.childContexts:this.parent.get(p,l)}}const F=new o.OlP("");let W=(()=>{class c{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(l){this.unsubscribeFromRouteData(l),this.subscribeToRouteData(l)}unsubscribeFromRouteData(l){this.outletDataSubscriptions.get(l)?.unsubscribe(),this.outletDataSubscriptions.delete(l)}subscribeToRouteData(l){const{activatedRoute:g}=l,C=(0,q.a)([g.queryParams,g.params,g.data]).pipe((0,se.w)(([G,pe,Ye],ze)=>(Ye={...G,...pe,...Ye},0===ze?(0,O.of)(Ye):Promise.resolve(Ye)))).subscribe(G=>{if(!l.isActivated||!l.activatedComponentRef||l.activatedRoute!==g||null===g.component)return void this.unsubscribeFromRouteData(l);const pe=(0,o.qFp)(g.component);if(pe)for(const{templateName:Ye}of pe.inputs)l.activatedComponentRef.setInput(Ye,G[Ye]);else this.unsubscribeFromRouteData(l)});this.outletDataSubscriptions.set(l,C)}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac})}return c})();function J(c,p,l){if(l&&c.shouldReuseRoute(p.value,l.value.snapshot)){const g=l.value;g._futureSnapshot=p.value;const C=function ye(c,p,l){return p.children.map(g=>{for(const C of l.children)if(c.shouldReuseRoute(g.value,C.value.snapshot))return J(c,g,C);return J(c,g)})}(c,p,l);return new Sn(g,C)}{if(c.shouldAttach(p.value)){const G=c.retrieve(p.value);if(null!==G){const pe=G.route;return pe.value._futureSnapshot=p.value,pe.children=p.children.map(Ye=>J(c,Ye)),pe}}const g=function tt(c){return new Rr(new _.X(c.url),new _.X(c.params),new _.X(c.queryParams),new _.X(c.fragment),new _.X(c.data),c.outlet,c.component,c)}(p.value),C=p.children.map(G=>J(c,G));return new Sn(g,C)}}const Ct="ngNavigationCancelingError";function vt(c,p){const{redirectTo:l,navigationBehaviorOptions:g}=gt(p)?{redirectTo:p,navigationBehaviorOptions:void 0}:p,C=It(!1,0,p);return C.url=l,C.navigationBehaviorOptions=g,C}function It(c,p,l){const g=new Error("NavigationCancelingError: "+(c||""));return g[Ct]=!0,g.cancellationCode=p,l&&(g.url=l),g}function gn(c){return c&&c[Ct]}let er=(()=>{class c{static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275cmp=o.Xpm({type:c,selectors:[["ng-component"]],standalone:!0,features:[o.jDz],decls:1,vars:0,template:function(g,C){1&g&&o._UZ(0,"router-outlet")},dependencies:[Ur],encapsulation:2})}return c})();function qo(c){const p=c.children&&c.children.map(qo),l=p?{...c,children:p}:{...c};return!l.component&&!l.loadComponent&&(p||l.loadChildren)&&l.outlet&&l.outlet!==Ue&&(l.component=er),l}function rr(c){return c.outlet||Ue}function Fr(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let p=c.parent;p;p=p.parent){const l=p.routeConfig;if(l?._loadedInjector)return l._loadedInjector;if(l?._injector)return l._injector}return null}class Sa{constructor(p,l,g,C,G){this.routeReuseStrategy=p,this.futureState=l,this.currState=g,this.forwardEvent=C,this.inputBindingEnabled=G}activate(p){const l=this.futureState._root,g=this.currState?this.currState._root:null;this.deactivateChildRoutes(l,g,p),En(this.futureState.root),this.activateChildRoutes(l,g,p)}deactivateChildRoutes(p,l,g){const C=Hn(l);p.children.forEach(G=>{const pe=G.value.outlet;this.deactivateRoutes(G,C[pe],g),delete C[pe]}),Object.values(C).forEach(G=>{this.deactivateRouteAndItsChildren(G,g)})}deactivateRoutes(p,l,g){const C=p.value,G=l?l.value:null;if(C===G)if(C.component){const pe=g.getContext(C.outlet);pe&&this.deactivateChildRoutes(p,l,pe.children)}else this.deactivateChildRoutes(p,l,g);else G&&this.deactivateRouteAndItsChildren(l,g)}deactivateRouteAndItsChildren(p,l){p.value.component&&this.routeReuseStrategy.shouldDetach(p.value.snapshot)?this.detachAndStoreRouteSubtree(p,l):this.deactivateRouteAndOutlet(p,l)}detachAndStoreRouteSubtree(p,l){const g=l.getContext(p.value.outlet),C=g&&p.value.component?g.children:l,G=Hn(p);for(const pe of Object.keys(G))this.deactivateRouteAndItsChildren(G[pe],C);if(g&&g.outlet){const pe=g.outlet.detach(),Ye=g.children.onOutletDeactivated();this.routeReuseStrategy.store(p.value.snapshot,{componentRef:pe,route:p,contexts:Ye})}}deactivateRouteAndOutlet(p,l){const g=l.getContext(p.value.outlet),C=g&&p.value.component?g.children:l,G=Hn(p);for(const pe of Object.keys(G))this.deactivateRouteAndItsChildren(G[pe],C);g&&(g.outlet&&(g.outlet.deactivate(),g.children.onOutletDeactivated()),g.attachRef=null,g.route=null)}activateChildRoutes(p,l,g){const C=Hn(l);p.children.forEach(G=>{this.activateRoutes(G,C[G.value.outlet],g),this.forwardEvent(new Ft(G.value.snapshot))}),p.children.length&&this.forwardEvent(new X(p.value.snapshot))}activateRoutes(p,l,g){const C=p.value,G=l?l.value:null;if(En(C),C===G)if(C.component){const pe=g.getOrCreateContext(C.outlet);this.activateChildRoutes(p,l,pe.children)}else this.activateChildRoutes(p,l,g);else if(C.component){const pe=g.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const Ye=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),pe.children.onOutletReAttached(Ye.contexts),pe.attachRef=Ye.componentRef,pe.route=Ye.route.value,pe.outlet&&pe.outlet.attach(Ye.componentRef,Ye.route.value),En(Ye.route.value),this.activateChildRoutes(p,null,pe.children)}else{const Ye=Fr(C.snapshot);pe.attachRef=null,pe.route=C,pe.injector=Ye,pe.outlet&&pe.outlet.activateWith(C,pe.injector),this.activateChildRoutes(p,null,pe.children)}}else this.activateChildRoutes(p,null,g)}}class Ir{constructor(p){this.path=p,this.route=this.path[this.path.length-1]}}class hr{constructor(p,l){this.component=p,this.route=l}}function Ko(c,p,l){const g=c._root;return Mr(g,p?p._root:null,l,[g.value])}function lo(c,p){const l=Symbol(),g=p.get(c,l);return g===l?"function"!=typeof c||(0,o.Z0I)(c)?p.get(c):c:g}function Mr(c,p,l,g,C={canDeactivateChecks:[],canActivateChecks:[]}){const G=Hn(p);return c.children.forEach(pe=>{(function ai(c,p,l,g,C={canDeactivateChecks:[],canActivateChecks:[]}){const G=c.value,pe=p?p.value:null,Ye=l?l.getContext(c.value.outlet):null;if(pe&&G.routeConfig===pe.routeConfig){const ze=function Ni(c,p,l){if("function"==typeof l)return l(c,p);switch(l){case"pathParamsChange":return!Bt(c.url,p.url);case"pathParamsOrQueryParamsChange":return!Bt(c.url,p.url)||!Lt(c.queryParams,p.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fr(c,p)||!Lt(c.queryParams,p.queryParams);default:return!fr(c,p)}}(pe,G,G.routeConfig.runGuardsAndResolvers);ze?C.canActivateChecks.push(new Ir(g)):(G.data=pe.data,G._resolvedData=pe._resolvedData),Mr(c,p,G.component?Ye?Ye.children:null:l,g,C),ze&&Ye&&Ye.outlet&&Ye.outlet.isActivated&&C.canDeactivateChecks.push(new hr(Ye.outlet.component,pe))}else pe&&Zo(p,Ye,C),C.canActivateChecks.push(new Ir(g)),Mr(c,null,G.component?Ye?Ye.children:null:l,g,C)})(pe,G[pe.value.outlet],l,g.concat([pe.value]),C),delete G[pe.value.outlet]}),Object.entries(G).forEach(([pe,Ye])=>Zo(Ye,l.getContext(pe),C)),C}function Zo(c,p,l){const g=Hn(c),C=c.value;Object.entries(g).forEach(([G,pe])=>{Zo(pe,C.component?p?p.children.getContext(G):null:p,l)}),l.canDeactivateChecks.push(new hr(C.component&&p&&p.outlet&&p.outlet.isActivated?p.outlet.component:null,C))}function li(c){return"function"==typeof c}function kt(c){return c instanceof B||"EmptyError"===c?.name}const qt=Symbol("INITIAL_VALUE");function br(){return(0,se.w)(c=>(0,q.a)(c.map(p=>p.pipe((0,de.q)(1),function H(...c){const p=(0,S.yG)(c);return(0,ue.e)((l,g)=>{(p?z(c,l,p):z(c,l)).subscribe(g)})}(qt)))).pipe((0,ge.U)(p=>{for(const l of p)if(!0!==l){if(l===qt)return qt;if(!1===l||l instanceof Pn)return l}return!0}),(0,he.h)(p=>p!==qt),(0,de.q)(1)))}function Jr(c){return(0,P.z)((0,ie.b)(p=>{if(gt(p))throw vt(0,p)}),(0,ge.U)(p=>!0===p))}class $i{constructor(p){this.segmentGroup=p||null}}class Dr{constructor(p){this.urlTree=p}}function Qr(c){return ne(new $i(c))}function Lr(c){return ne(new Dr(c))}class Rs{constructor(p,l){this.urlSerializer=p,this.urlTree=l}noMatchError(p){return new o.vHH(4002,!1)}lineralizeSegments(p,l){let g=[],C=l.root;for(;;){if(g=g.concat(C.segments),0===C.numberOfChildren)return(0,O.of)(g);if(C.numberOfChildren>1||!C.children[Ue])return ne(new o.vHH(4e3,!1));C=C.children[Ue]}}applyRedirectCommands(p,l,g){return this.applyRedirectCreateUrlTree(l,this.urlSerializer.parse(l),p,g)}applyRedirectCreateUrlTree(p,l,g,C){const G=this.createSegmentGroup(p,l.root,g,C);return new Pn(G,this.createQueryParams(l.queryParams,this.urlTree.queryParams),l.fragment)}createQueryParams(p,l){const g={};return Object.entries(p).forEach(([C,G])=>{if("string"==typeof G&&G.startsWith(":")){const Ye=G.substring(1);g[C]=l[Ye]}else g[C]=G}),g}createSegmentGroup(p,l,g,C){const G=this.createSegments(p,l.segments,g,C);let pe={};return Object.entries(l.children).forEach(([Ye,ze])=>{pe[Ye]=this.createSegmentGroup(p,ze,g,C)}),new dt(G,pe)}createSegments(p,l,g,C){return l.map(G=>G.path.startsWith(":")?this.findPosParam(p,G,C):this.findOrReturn(G,g))}findPosParam(p,l,g){const C=g[l.path.substring(1)];if(!C)throw new o.vHH(4001,!1);return C}findOrReturn(p,l){let g=0;for(const C of l){if(C.path===p.path)return l.splice(g),C;g++}return p}}const yi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Bi(c,p,l,g,C){const G=bi(c,p,l);return G.matched?(g=function _r(c,p){return c.providers&&!c._injector&&(c._injector=(0,o.MMx)(c.providers,p,`Route: ${c.path}`)),c._injector??p}(p,g),function nc(c,p,l,g){const C=p.canMatch;if(!C||0===C.length)return(0,O.of)(!0);const G=C.map(pe=>{const Ye=lo(pe,c);return Kt(function v(c){return c&&li(c.canMatch)}(Ye)?Ye.canMatch(p,l):c.runInContext(()=>Ye(p,l)))});return(0,O.of)(G).pipe(br(),Jr())}(g,p,l).pipe((0,ge.U)(pe=>!0===pe?G:{...yi}))):(0,O.of)(G)}function bi(c,p,l){if(""===p.path)return"full"===p.pathMatch&&(c.hasChildren()||l.length>0)?{...yi}:{matched:!0,consumedSegments:[],remainingSegments:l,parameters:{},positionalParamSegments:{}};const C=(p.matcher||Vt)(l,c,p);if(!C)return{...yi};const G={};Object.entries(C.posParams??{}).forEach(([Ye,ze])=>{G[Ye]=ze.path});const pe=C.consumed.length>0?{...G,...C.consumed[C.consumed.length-1].parameters}:G;return{matched:!0,consumedSegments:C.consumed,remainingSegments:l.slice(C.consumed.length),parameters:pe,positionalParamSegments:C.posParams??{}}}function Di(c,p,l,g){return l.length>0&&function Vi(c,p,l){return l.some(g=>$o(c,p,g)&&rr(g)!==Ue)}(c,l,g)?{segmentGroup:new dt(p,Ps(g,new dt(l,c.children))),slicedSegments:[]}:0===l.length&&function ji(c,p,l){return l.some(g=>$o(c,p,g))}(c,l,g)?{segmentGroup:new dt(c.segments,Ci(c,0,l,g,c.children)),slicedSegments:l}:{segmentGroup:new dt(c.segments,c.children),slicedSegments:l}}function Ci(c,p,l,g,C){const G={};for(const pe of g)if($o(c,l,pe)&&!C[rr(pe)]){const Ye=new dt([],{});G[rr(pe)]=Ye}return{...C,...G}}function Ps(c,p){const l={};l[Ue]=p;for(const g of c)if(""===g.path&&rr(g)!==Ue){const C=new dt([],{});l[rr(g)]=C}return l}function $o(c,p,l){return(!(c.hasChildren()||p.length>0)||"full"!==l.pathMatch)&&""===l.path}class rc{constructor(p,l,g,C,G,pe,Ye){this.injector=p,this.configLoader=l,this.rootComponentType=g,this.config=C,this.urlTree=G,this.paramsInheritanceStrategy=pe,this.urlSerializer=Ye,this.allowRedirects=!0,this.applyRedirects=new Rs(this.urlSerializer,this.urlTree)}noMatchError(p){return new o.vHH(4002,!1)}recognize(){const p=Di(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,p,Ue).pipe(Ve(l=>{if(l instanceof Dr)return this.allowRedirects=!1,this.urlTree=l.urlTree,this.match(l.urlTree);throw l instanceof $i?this.noMatchError(l):l}),(0,ge.U)(l=>{const g=new qr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ue,this.rootComponentType,null,{}),C=new Sn(g,l),G=new On("",C),pe=function Dt(c,p,l=null,g=null){return xt(sn(c),p,l,g)}(g,[],this.urlTree.queryParams,this.urlTree.fragment);return pe.queryParams=this.urlTree.queryParams,G.url=this.urlSerializer.serialize(pe),this.inheritParamsAndData(G._root),{state:G,tree:pe}}))}match(p){return this.processSegmentGroup(this.injector,this.config,p.root,Ue).pipe(Ve(g=>{throw g instanceof $i?this.noMatchError(g):g}))}inheritParamsAndData(p){const l=p.value,g=so(l,this.paramsInheritanceStrategy);l.params=Object.freeze(g.params),l.data=Object.freeze(g.data),p.children.forEach(C=>this.inheritParamsAndData(C))}processSegmentGroup(p,l,g,C){return 0===g.segments.length&&g.hasChildren()?this.processChildren(p,l,g):this.processSegment(p,l,g,g.segments,C,!0)}processChildren(p,l,g){const C=[];for(const G of Object.keys(g.children))"primary"===G?C.unshift(G):C.push(G);return(0,R.D)(C).pipe((0,fe.b)(G=>{const pe=g.children[G],Ye=function Fo(c,p){const l=c.filter(g=>rr(g)===p);return l.push(...c.filter(g=>rr(g)!==p)),l}(l,G);return this.processSegmentGroup(p,Ye,pe,G)}),function at(c,p){return(0,ue.e)(function ke(c,p,l,g,C){return(G,pe)=>{let Ye=l,ze=p,Mt=0;G.subscribe((0,_e.x)(pe,tn=>{const zn=Mt++;ze=Ye?c(ze,tn,zn):(Ye=!0,tn),g&&pe.next(ze)},C&&(()=>{Ye&&pe.next(ze),pe.complete()})))}}(c,p,arguments.length>=2,!0))}((G,pe)=>(G.push(...pe),G)),Fe(null),function ft(c,p){const l=arguments.length>=2;return g=>g.pipe(c?(0,he.h)((C,G)=>c(C,G,g)):Z.y,yt(1),l?Fe(p):qe(()=>new B))}(),(0,De.z)(G=>{if(null===G)return Qr(g);const pe=ks(G);return function oc(c){c.sort((p,l)=>p.value.outlet===Ue?-1:l.value.outlet===Ue?1:p.value.outlet.localeCompare(l.value.outlet))}(pe),(0,O.of)(pe)}))}processSegment(p,l,g,C,G,pe){return(0,R.D)(l).pipe((0,fe.b)(Ye=>this.processSegmentAgainstRoute(Ye._injector??p,l,Ye,g,C,G,pe).pipe(Ve(ze=>{if(ze instanceof $i)return(0,O.of)(null);throw ze}))),Y(Ye=>!!Ye),Ve(Ye=>{if(kt(Ye))return function Qo(c,p,l){return 0===p.length&&!c.children[l]}(g,C,G)?(0,O.of)([]):Qr(g);throw Ye}))}processSegmentAgainstRoute(p,l,g,C,G,pe,Ye){return function ui(c,p,l,g){return!!(rr(c)===g||g!==Ue&&$o(p,l,c))&&("**"===c.path||bi(p,c,l).matched)}(g,C,G,pe)?void 0===g.redirectTo?this.matchSegmentAgainstRoute(p,C,g,G,pe,Ye):Ye&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(p,C,l,g,G,pe):Qr(C):Qr(C)}expandSegmentAgainstRouteUsingRedirect(p,l,g,C,G,pe){return"**"===C.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(p,g,C,pe):this.expandRegularSegmentAgainstRouteUsingRedirect(p,l,g,C,G,pe)}expandWildCardWithParamsAgainstRouteUsingRedirect(p,l,g,C){const G=this.applyRedirects.applyRedirectCommands([],g.redirectTo,{});return g.redirectTo.startsWith("/")?Lr(G):this.applyRedirects.lineralizeSegments(g,G).pipe((0,De.z)(pe=>{const Ye=new dt(pe,{});return this.processSegment(p,l,Ye,pe,C,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(p,l,g,C,G,pe){const{matched:Ye,consumedSegments:ze,remainingSegments:Mt,positionalParamSegments:tn}=bi(l,C,G);if(!Ye)return Qr(l);const zn=this.applyRedirects.applyRedirectCommands(ze,C.redirectTo,tn);return C.redirectTo.startsWith("/")?Lr(zn):this.applyRedirects.lineralizeSegments(C,zn).pipe((0,De.z)(_n=>this.processSegment(p,g,l,_n.concat(Mt),pe,!1)))}matchSegmentAgainstRoute(p,l,g,C,G,pe){let Ye;if("**"===g.path){const ze=C.length>0?wn(C).parameters:{},Mt=new qr(C,ze,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ta(g),rr(g),g.component??g._loadedComponent??null,g,Bo(g));Ye=(0,O.of)({snapshot:Mt,consumedSegments:[],remainingSegments:[]}),l.children={}}else Ye=Bi(l,g,C,p).pipe((0,ge.U)(({matched:ze,consumedSegments:Mt,remainingSegments:tn,parameters:zn})=>ze?{snapshot:new qr(Mt,zn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ta(g),rr(g),g.component??g._loadedComponent??null,g,Bo(g)),consumedSegments:Mt,remainingSegments:tn}:null));return Ye.pipe((0,se.w)(ze=>null===ze?Qr(l):this.getChildConfig(p=g._injector??p,g,C).pipe((0,se.w)(({routes:Mt})=>{const tn=g._loadedInjector??p,{snapshot:zn,consumedSegments:_n,remainingSegments:Co}=ze,{segmentGroup:di,slicedSegments:ni}=Di(l,_n,Co,Mt);if(0===ni.length&&di.hasChildren())return this.processChildren(tn,Mt,di).pipe((0,ge.U)(fi=>null===fi?null:[new Sn(zn,fi)]));if(0===Mt.length&&0===ni.length)return(0,O.of)([new Sn(zn,[])]);const Hs=rr(g)===G;return this.processSegment(tn,Mt,di,ni,Hs?Ue:G,!0).pipe((0,ge.U)(fi=>[new Sn(zn,fi)]))}))))}getChildConfig(p,l,g){return l.children?(0,O.of)({routes:l.children,injector:p}):l.loadChildren?void 0!==l._loadedRoutes?(0,O.of)({routes:l._loadedRoutes,injector:l._loadedInjector}):function go(c,p,l,g){const C=p.canLoad;if(void 0===C||0===C.length)return(0,O.of)(!0);const G=C.map(pe=>{const Ye=lo(pe,c);return Kt(function Li(c){return c&&li(c.canLoad)}(Ye)?Ye.canLoad(p,l):c.runInContext(()=>Ye(p,l)))});return(0,O.of)(G).pipe(br(),Jr())}(p,l,g).pipe((0,De.z)(C=>C?this.configLoader.loadChildren(p,l).pipe((0,ie.b)(G=>{l._loadedRoutes=G.routes,l._loadedInjector=G.injector})):function Os(c){return ne(It(!1,3))}())):(0,O.of)({routes:[],injector:p})}}function ic(c){const p=c.value.routeConfig;return p&&""===p.path}function ks(c){const p=[],l=new Set;for(const g of c){if(!ic(g)){p.push(g);continue}const C=p.find(G=>g.value.routeConfig===G.value.routeConfig);void 0!==C?(C.children.push(...g.children),l.add(C)):p.push(g)}for(const g of l){const C=ks(g.children);p.push(new Sn(g.value,C))}return p.filter(g=>!l.has(g))}function Ta(c){return c.data||{}}function Bo(c){return c.resolve||{}}function We(c){return"string"==typeof c.title||null===c.title}function ot(c){return(0,se.w)(p=>{const l=c(p);return l?(0,R.D)(l).pipe((0,ge.U)(()=>p)):(0,O.of)(p)})}const Pt=new o.OlP("ROUTES");let Rn=(()=>{class c{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.f3M)(o.Sil)}loadComponent(l){if(this.componentLoaders.get(l))return this.componentLoaders.get(l);if(l._loadedComponent)return(0,O.of)(l._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(l);const g=Kt(l.loadComponent()).pipe((0,ge.U)(dn),(0,ie.b)(G=>{this.onLoadEndListener&&this.onLoadEndListener(l),l._loadedComponent=G}),(0,Ot.x)(()=>{this.componentLoaders.delete(l)})),C=new we(g,()=>new re.x).pipe(Be());return this.componentLoaders.set(l,C),C}loadChildren(l,g){if(this.childrenLoaders.get(g))return this.childrenLoaders.get(g);if(g._loadedRoutes)return(0,O.of)({routes:g._loadedRoutes,injector:g._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(g);const G=function Ln(c,p,l,g){return Kt(c.loadChildren()).pipe((0,ge.U)(dn),(0,De.z)(C=>C instanceof o.YKP||Array.isArray(C)?(0,O.of)(C):(0,R.D)(p.compileModuleAsync(C))),(0,ge.U)(C=>{g&&g(c);let G,pe,Ye=!1;return Array.isArray(C)?(pe=C,!0):(G=C.create(l).injector,pe=G.get(Pt,[],{optional:!0,self:!0}).flat()),{routes:pe.map(qo),injector:G}}))}(g,this.compiler,l,this.onLoadEndListener).pipe((0,Ot.x)(()=>{this.childrenLoaders.delete(g)})),pe=new we(G,()=>new re.x).pipe(Be());return this.childrenLoaders.set(g,pe),pe}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function dn(c){return function An(c){return c&&"object"==typeof c&&"default"in c}(c)?c.default:c}let Un=(()=>{class c{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new re.x,this.transitionAbortSubject=new re.x,this.configLoader=(0,o.f3M)(Rn),this.environmentInjector=(0,o.f3M)(o.lqb),this.urlSerializer=(0,o.f3M)(In),this.rootContexts=(0,o.f3M)(vr),this.inputBindingEnabled=null!==(0,o.f3M)(F,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,O.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=C=>this.events.next(new j(C)),this.configLoader.onLoadStartListener=C=>this.events.next(new u(C))}complete(){this.transitions?.complete()}handleNavigationRequest(l){const g=++this.navigationId;this.transitions?.next({...this.transitions.value,...l,id:g})}setupNavigations(l,g,C){return this.transitions=new _.X({id:0,currentUrlTree:g,currentRawUrl:g,currentBrowserUrl:g,extractedUrl:l.urlHandlingStrategy.extract(g),urlAfterRedirects:l.urlHandlingStrategy.extract(g),rawUrl:g,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:mr,restoredState:null,currentSnapshot:C.snapshot,targetSnapshot:null,currentRouterState:C,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,he.h)(G=>0!==G.id),(0,ge.U)(G=>({...G,extractedUrl:l.urlHandlingStrategy.extract(G.rawUrl)})),(0,se.w)(G=>{this.currentTransition=G;let pe=!1,Ye=!1;return(0,O.of)(G).pipe((0,ie.b)(ze=>{this.currentNavigation={id:ze.id,initialUrl:ze.rawUrl,extractedUrl:ze.extractedUrl,trigger:ze.source,extras:ze.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,se.w)(ze=>{const Mt=ze.currentBrowserUrl.toString(),tn=!l.navigated||ze.extractedUrl.toString()!==Mt||Mt!==ze.currentUrlTree.toString();if(!tn&&"reload"!==(ze.extras.onSameUrlNavigation??l.onSameUrlNavigation)){const _n="";return this.events.next(new Te(ze.id,this.urlSerializer.serialize(ze.rawUrl),_n,0)),ze.resolve(null),ce.E}if(l.urlHandlingStrategy.shouldProcessUrl(ze.rawUrl))return(0,O.of)(ze).pipe((0,se.w)(_n=>{const Co=this.transitions?.getValue();return this.events.next(new L(_n.id,this.urlSerializer.serialize(_n.extractedUrl),_n.source,_n.restoredState)),Co!==this.transitions?.getValue()?ce.E:Promise.resolve(_n)}),function Hi(c,p,l,g,C,G){return(0,De.z)(pe=>function Fs(c,p,l,g,C,G,pe="emptyOnly"){return new rc(c,p,l,g,C,pe,G).recognize()}(c,p,l,g,pe.extractedUrl,C,G).pipe((0,ge.U)(({state:Ye,tree:ze})=>({...pe,targetSnapshot:Ye,urlAfterRedirects:ze}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,l.config,this.urlSerializer,l.paramsInheritanceStrategy),(0,ie.b)(_n=>{G.targetSnapshot=_n.targetSnapshot,G.urlAfterRedirects=_n.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:_n.urlAfterRedirects};const Co=new Ee(_n.id,this.urlSerializer.serialize(_n.extractedUrl),this.urlSerializer.serialize(_n.urlAfterRedirects),_n.targetSnapshot);this.events.next(Co)}));if(tn&&l.urlHandlingStrategy.shouldProcessUrl(ze.currentRawUrl)){const{id:_n,extractedUrl:Co,source:di,restoredState:ni,extras:Hs}=ze,fi=new L(_n,this.urlSerializer.serialize(Co),di,ni);this.events.next(fi);const kr=cr(0,this.rootComponentType).snapshot;return this.currentTransition=G={...ze,targetSnapshot:kr,urlAfterRedirects:Co,extras:{...Hs,skipLocationChange:!1,replaceUrl:!1}},(0,O.of)(G)}{const _n="";return this.events.next(new Te(ze.id,this.urlSerializer.serialize(ze.extractedUrl),_n,1)),ze.resolve(null),ce.E}}),(0,ie.b)(ze=>{const Mt=new Pe(ze.id,this.urlSerializer.serialize(ze.extractedUrl),this.urlSerializer.serialize(ze.urlAfterRedirects),ze.targetSnapshot);this.events.next(Mt)}),(0,ge.U)(ze=>(this.currentTransition=G={...ze,guards:Ko(ze.targetSnapshot,ze.currentSnapshot,this.rootContexts)},G)),function Mo(c,p){return(0,De.z)(l=>{const{targetSnapshot:g,currentSnapshot:C,guards:{canActivateChecks:G,canDeactivateChecks:pe}}=l;return 0===pe.length&&0===G.length?(0,O.of)({...l,guardsResult:!0}):function po(c,p,l,g){return(0,R.D)(c).pipe((0,De.z)(C=>function tc(c,p,l,g,C){const G=p&&p.routeConfig?p.routeConfig.canDeactivate:null;if(!G||0===G.length)return(0,O.of)(!0);const pe=G.map(Ye=>{const ze=Fr(p)??C,Mt=lo(Ye,ze);return Kt(function x(c){return c&&li(c.canDeactivate)}(Mt)?Mt.canDeactivate(c,p,l,g):ze.runInContext(()=>Mt(c,p,l,g))).pipe(Y())});return(0,O.of)(pe).pipe(br())}(C.component,C.route,l,p,g)),Y(C=>!0!==C,!0))}(pe,g,C,c).pipe((0,De.z)(Ye=>Ye&&function tr(c){return"boolean"==typeof c}(Ye)?function Jo(c,p,l,g){return(0,R.D)(p).pipe((0,fe.b)(C=>z(function Lo(c,p){return null!==c&&p&&p(new m(c)),(0,O.of)(!0)}(C.route.parent,g),function No(c,p){return null!==c&&p&&p(new Ae(c)),(0,O.of)(!0)}(C.route,g),function ec(c,p,l){const g=p[p.length-1],G=p.slice(0,p.length-1).reverse().map(pe=>function ho(c){const p=c.routeConfig?c.routeConfig.canActivateChild:null;return p&&0!==p.length?{node:c,guards:p}:null}(pe)).filter(pe=>null!==pe).map(pe=>k(()=>{const Ye=pe.guards.map(ze=>{const Mt=Fr(pe.node)??l,tn=lo(ze,Mt);return Kt(function A(c){return c&&li(c.canActivateChild)}(tn)?tn.canActivateChild(g,c):Mt.runInContext(()=>tn(g,c))).pipe(Y())});return(0,O.of)(Ye).pipe(br())}));return(0,O.of)(G).pipe(br())}(c,C.path,l),function ci(c,p,l){const g=p.routeConfig?p.routeConfig.canActivate:null;if(!g||0===g.length)return(0,O.of)(!0);const C=g.map(G=>k(()=>{const pe=Fr(p)??l,Ye=lo(G,pe);return Kt(function Aa(c){return c&&li(c.canActivate)}(Ye)?Ye.canActivate(p,c):pe.runInContext(()=>Ye(p,c))).pipe(Y())}));return(0,O.of)(C).pipe(br())}(c,C.route,l))),Y(C=>!0!==C,!0))}(g,G,c,p):(0,O.of)(Ye)),(0,ge.U)(Ye=>({...l,guardsResult:Ye})))})}(this.environmentInjector,ze=>this.events.next(ze)),(0,ie.b)(ze=>{if(G.guardsResult=ze.guardsResult,gt(ze.guardsResult))throw vt(0,ze.guardsResult);const Mt=new et(ze.id,this.urlSerializer.serialize(ze.extractedUrl),this.urlSerializer.serialize(ze.urlAfterRedirects),ze.targetSnapshot,!!ze.guardsResult);this.events.next(Mt)}),(0,he.h)(ze=>!!ze.guardsResult||(this.cancelNavigationTransition(ze,"",3),!1)),ot(ze=>{if(ze.guards.canActivateChecks.length)return(0,O.of)(ze).pipe((0,ie.b)(Mt=>{const tn=new Ge(Mt.id,this.urlSerializer.serialize(Mt.extractedUrl),this.urlSerializer.serialize(Mt.urlAfterRedirects),Mt.targetSnapshot);this.events.next(tn)}),(0,se.w)(Mt=>{let tn=!1;return(0,O.of)(Mt).pipe(function f(c,p){return(0,De.z)(l=>{const{targetSnapshot:g,guards:{canActivateChecks:C}}=l;if(!C.length)return(0,O.of)(l);let G=0;return(0,R.D)(C).pipe((0,fe.b)(pe=>function N(c,p,l,g){const C=c.routeConfig,G=c._resolve;return void 0!==C?.title&&!We(C)&&(G[ut]=C.title),function y(c,p,l,g){const C=function T(c){return[...Object.keys(c),...Object.getOwnPropertySymbols(c)]}(c);if(0===C.length)return(0,O.of)({});const G={};return(0,R.D)(C).pipe((0,De.z)(pe=>function ve(c,p,l,g){const C=Fr(p)??g,G=lo(c,C);return Kt(G.resolve?G.resolve(p,l):C.runInContext(()=>G(p,l)))}(c[pe],p,l,g).pipe(Y(),(0,ie.b)(Ye=>{G[pe]=Ye}))),yt(1),function bt(c){return(0,ge.U)(()=>c)}(G),Ve(pe=>kt(pe)?ce.E:ne(pe)))}(G,c,p,g).pipe((0,ge.U)(pe=>(c._resolvedData=pe,c.data=so(c,l).resolve,C&&We(C)&&(c.data[ut]=C.title),null)))}(pe.route,g,c,p)),(0,ie.b)(()=>G++),yt(1),(0,De.z)(pe=>G===C.length?(0,O.of)(l):ce.E))})}(l.paramsInheritanceStrategy,this.environmentInjector),(0,ie.b)({next:()=>tn=!0,complete:()=>{tn||this.cancelNavigationTransition(Mt,"",2)}}))}),(0,ie.b)(Mt=>{const tn=new nt(Mt.id,this.urlSerializer.serialize(Mt.extractedUrl),this.urlSerializer.serialize(Mt.urlAfterRedirects),Mt.targetSnapshot);this.events.next(tn)}))}),ot(ze=>{const Mt=tn=>{const zn=[];tn.routeConfig?.loadComponent&&!tn.routeConfig._loadedComponent&&zn.push(this.configLoader.loadComponent(tn.routeConfig).pipe((0,ie.b)(_n=>{tn.component=_n}),(0,ge.U)(()=>{})));for(const _n of tn.children)zn.push(...Mt(_n));return zn};return(0,q.a)(Mt(ze.targetSnapshot.root)).pipe(Fe(),(0,de.q)(1))}),ot(()=>this.afterPreactivation()),(0,ge.U)(ze=>{const Mt=function M(c,p,l){const g=J(c,p._root,l?l._root:void 0);return new Hr(g,p)}(l.routeReuseStrategy,ze.targetSnapshot,ze.currentRouterState);return this.currentTransition=G={...ze,targetRouterState:Mt},G}),(0,ie.b)(()=>{this.events.next(new ir)}),((c,p,l,g)=>(0,ge.U)(C=>(new Sa(p,C.targetRouterState,C.currentRouterState,l,g).activate(c),C)))(this.rootContexts,l.routeReuseStrategy,ze=>this.events.next(ze),this.inputBindingEnabled),(0,de.q)(1),(0,ie.b)({next:ze=>{pe=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new te(ze.id,this.urlSerializer.serialize(ze.extractedUrl),this.urlSerializer.serialize(ze.urlAfterRedirects))),l.titleStrategy?.updateTitle(ze.targetRouterState.snapshot),ze.resolve(!0)},complete:()=>{pe=!0}}),function Oe(c){return(0,ue.e)((p,l)=>{(0,D.Xf)(c).subscribe((0,_e.x)(l,()=>l.complete(),Ze.Z)),!l.closed&&p.subscribe(l)})}(this.transitionAbortSubject.pipe((0,ie.b)(ze=>{throw ze}))),(0,Ot.x)(()=>{pe||Ye||this.cancelNavigationTransition(G,"",1),this.currentNavigation?.id===G.id&&(this.currentNavigation=null)}),Ve(ze=>{if(Ye=!0,gn(ze))this.events.next(new Se(G.id,this.urlSerializer.serialize(G.extractedUrl),ze.message,ze.cancellationCode)),function Yt(c){return gn(c)&>(c.url)}(ze)?this.events.next(new jn(ze.url)):G.resolve(!1);else{this.events.next(new oe(G.id,this.urlSerializer.serialize(G.extractedUrl),ze,G.targetSnapshot??void 0));try{G.resolve(l.errorHandler(ze))}catch(Mt){G.reject(Mt)}}return ce.E}))}))}cancelNavigationTransition(l,g,C){const G=new Se(l.id,this.urlSerializer.serialize(l.extractedUrl),g,C);this.events.next(G),l.resolve(!1)}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function $n(c){return c!==mr}let Cr=(()=>{class c{buildTitle(l){let g,C=l.root;for(;void 0!==C;)g=this.getResolvedTitleForRoute(C)??g,C=C.children.find(G=>G.outlet===Ue);return g}getResolvedTitleForRoute(l){return l.data[ut]}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:function(){return(0,o.f3M)(mo)},providedIn:"root"})}return c})(),mo=(()=>{class c extends Cr{constructor(l){super(),this.title=l}updateTitle(l){const g=this.buildTitle(l);void 0!==g&&this.title.setTitle(g)}static#e=this.\u0275fac=function(g){return new(g||c)(o.LFG(Xe.Dx))};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),$r=(()=>{class c{static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:function(){return(0,o.f3M)(Gr)},providedIn:"root"})}return c})();class So{shouldDetach(p){return!1}store(p,l){}shouldAttach(p){return!1}retrieve(p){return null}shouldReuseRoute(p,l){return p.routeConfig===l.routeConfig}}let Gr=(()=>{class c extends So{static#e=this.\u0275fac=function(){let l;return function(C){return(l||(l=o.n5z(c)))(C||c)}}();static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const eo=new o.OlP("",{providedIn:"root",factory:()=>({})});let vo=(()=>{class c{static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:function(){return(0,o.f3M)(Ao)},providedIn:"root"})}return c})(),Ao=(()=>{class c{shouldProcessUrl(l){return!0}extract(l){return l}merge(l,g){return l}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var Ei=function(c){return c[c.COMPLETE=0]="COMPLETE",c[c.FAILED=1]="FAILED",c[c.REDIRECTING=2]="REDIRECTING",c}(Ei||{});function Ui(c,p){c.events.pipe((0,he.h)(l=>l instanceof te||l instanceof Se||l instanceof oe||l instanceof Te),(0,ge.U)(l=>l instanceof te||l instanceof Te?Ei.COMPLETE:l instanceof Se&&(0===l.code||1===l.code)?Ei.REDIRECTING:Ei.FAILED),(0,he.h)(l=>l!==Ei.REDIRECTING),(0,de.q)(1)).subscribe(()=>{p()})}function ac(c){throw c}function yo(c,p,l){return p.parse("/")}const xa={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Oa={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let mn=(()=>{class c{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,o.f3M)(o.c2e),this.isNgZoneEnabled=!1,this._events=new re.x,this.options=(0,o.f3M)(eo,{optional:!0})||{},this.pendingTasks=(0,o.f3M)(o.HDt),this.errorHandler=this.options.errorHandler||ac,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||yo,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,o.f3M)(vo),this.routeReuseStrategy=(0,o.f3M)($r),this.titleStrategy=(0,o.f3M)(Cr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,o.f3M)(Pt,{optional:!0})?.flat()??[],this.navigationTransitions=(0,o.f3M)(Un),this.urlSerializer=(0,o.f3M)(In),this.location=(0,o.f3M)(U.Ye),this.componentInputBindingEnabled=!!(0,o.f3M)(F,{optional:!0}),this.eventsSubscription=new Ne.w0,this.isNgZoneEnabled=(0,o.f3M)(o.R0b)instanceof o.R0b&&o.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Pn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=cr(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(l=>{this.lastSuccessfulId=l.id,this.currentPageId=this.browserPageId},l=>{this.console.warn(`Unhandled Navigation Error: ${l}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const l=this.navigationTransitions.events.subscribe(g=>{try{const{currentTransition:C}=this.navigationTransitions;if(null===C)return void(_i(g)&&this._events.next(g));if(g instanceof L)$n(C.source)&&(this.browserUrlTree=C.extractedUrl);else if(g instanceof Te)this.rawUrlTree=C.rawUrl;else if(g instanceof Ee){if("eager"===this.urlUpdateStrategy){if(!C.extras.skipLocationChange){const G=this.urlHandlingStrategy.merge(C.urlAfterRedirects,C.rawUrl);this.setBrowserUrl(G,C)}this.browserUrlTree=C.urlAfterRedirects}}else if(g instanceof ir)this.currentUrlTree=C.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(C.urlAfterRedirects,C.rawUrl),this.routerState=C.targetRouterState,"deferred"===this.urlUpdateStrategy&&(C.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,C),this.browserUrlTree=C.urlAfterRedirects);else if(g instanceof Se)0!==g.code&&1!==g.code&&(this.navigated=!0),(3===g.code||2===g.code)&&this.restoreHistory(C);else if(g instanceof jn){const G=this.urlHandlingStrategy.merge(g.url,C.currentRawUrl),pe={skipLocationChange:C.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||$n(C.source)};this.scheduleNavigation(G,mr,null,pe,{resolve:C.resolve,reject:C.reject,promise:C.promise})}g instanceof oe&&this.restoreHistory(C,!0),g instanceof te&&(this.navigated=!0),_i(g)&&this._events.next(g)}catch(C){this.navigationTransitions.transitionAbortSubject.next(C)}});this.eventsSubscription.add(l)}resetRootComponentType(l){this.routerState.root.component=l,this.navigationTransitions.rootComponentType=l}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const l=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),mr,l)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(l=>{const g="popstate"===l.type?"popstate":"hashchange";"popstate"===g&&setTimeout(()=>{this.navigateToSyncWithBrowser(l.url,g,l.state)},0)}))}navigateToSyncWithBrowser(l,g,C){const G={replaceUrl:!0},pe=C?.navigationId?C:null;if(C){const ze={...C};delete ze.navigationId,delete ze.\u0275routerPageId,0!==Object.keys(ze).length&&(G.state=ze)}const Ye=this.parseUrl(l);this.scheduleNavigation(Ye,g,pe,G)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(l){this.config=l.map(qo),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(l,g={}){const{relativeTo:C,queryParams:G,fragment:pe,queryParamsHandling:Ye,preserveFragment:ze}=g,Mt=ze?this.currentUrlTree.fragment:pe;let zn,tn=null;switch(Ye){case"merge":tn={...this.currentUrlTree.queryParams,...G};break;case"preserve":tn=this.currentUrlTree.queryParams;break;default:tn=G||null}null!==tn&&(tn=this.removeEmptyProps(tn));try{zn=sn(C?C.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof l[0]||!l[0].startsWith("/"))&&(l=[]),zn=this.currentUrlTree.root}return xt(zn,l,tn,Mt??null)}navigateByUrl(l,g={skipLocationChange:!1}){const C=gt(l)?l:this.parseUrl(l),G=this.urlHandlingStrategy.merge(C,this.rawUrlTree);return this.scheduleNavigation(G,mr,null,g)}navigate(l,g={skipLocationChange:!1}){return function Ns(c){for(let p=0;p{const G=l[C];return null!=G&&(g[C]=G),g},{})}scheduleNavigation(l,g,C,G,pe){if(this.disposed)return Promise.resolve(!1);let Ye,ze,Mt;pe?(Ye=pe.resolve,ze=pe.reject,Mt=pe.promise):Mt=new Promise((zn,_n)=>{Ye=zn,ze=_n});const tn=this.pendingTasks.add();return Ui(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(tn))}),this.navigationTransitions.handleNavigationRequest({source:g,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:l,extras:G,resolve:Ye,reject:ze,promise:Mt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Mt.catch(zn=>Promise.reject(zn))}setBrowserUrl(l,g){const C=this.urlSerializer.serialize(l);if(this.location.isCurrentPathEqualTo(C)||g.extras.replaceUrl){const pe={...g.extras.state,...this.generateNgRouterState(g.id,this.browserPageId)};this.location.replaceState(C,"",pe)}else{const G={...g.extras.state,...this.generateNgRouterState(g.id,this.browserPageId+1)};this.location.go(C,"",G)}}restoreHistory(l,g=!1){if("computed"===this.canceledNavigationResolution){const G=this.currentPageId-this.browserPageId;0!==G?this.location.historyGo(G):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===G&&(this.resetState(l),this.browserUrlTree=l.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(g&&this.resetState(l),this.resetUrlToCurrentUrlTree())}resetState(l){this.routerState=l.currentRouterState,this.currentUrlTree=l.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,l.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(l,g){return"computed"===this.canceledNavigationResolution?{navigationId:l,\u0275routerPageId:g}:{navigationId:l}}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function _i(c){return!(c instanceof ir||c instanceof jn)}let Ar=(()=>{class c{constructor(l,g,C,G,pe,Ye){this.router=l,this.route=g,this.tabIndexAttribute=C,this.renderer=G,this.el=pe,this.locationStrategy=Ye,this.href=null,this.commands=null,this.onChanges=new re.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const ze=pe.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ze||"area"===ze,this.isAnchorElement?this.subscription=l.events.subscribe(Mt=>{Mt instanceof te&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(l){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",l)}ngOnChanges(l){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(l){null!=l?(this.commands=Array.isArray(l)?l:[l],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(l,g,C,G,pe){return!!(null===this.urlTree||this.isAnchorElement&&(0!==l||g||C||G||pe||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const l=null===this.href?null:(0,o.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",l)}applyAttributeValue(l,g){const C=this.renderer,G=this.el.nativeElement;null!==g?C.setAttribute(G,l,g):C.removeAttribute(G,l)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(g){return new(g||c)(o.Y36(mn),o.Y36(Rr),o.$8M("tabindex"),o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(U.S$))};static#t=this.\u0275dir=o.lG2({type:c,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(g,C){1&g&&o.NdJ("click",function(pe){return C.onClick(pe.button,pe.ctrlKey,pe.shiftKey,pe.altKey,pe.metaKey)}),2&g&&o.uIk("target",C.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",o.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",o.VuI],replaceUrl:["replaceUrl","replaceUrl",o.VuI],routerLink:"routerLink"},standalone:!0,features:[o.Xq5,o.TTD]})}return c})();class ei{}let Yr=(()=>{class c{preload(l,g){return g().pipe(Ve(()=>(0,O.of)(null)))}static#e=this.\u0275fac=function(g){return new(g||c)};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),cc=(()=>{class c{constructor(l,g,C,G,pe){this.router=l,this.injector=C,this.preloadingStrategy=G,this.loader=pe}setUpPreloading(){this.subscription=this.router.events.pipe((0,he.h)(l=>l instanceof te),(0,fe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(l,g){const C=[];for(const G of g){G.providers&&!G._injector&&(G._injector=(0,o.MMx)(G.providers,l,`Route: ${G.path}`));const pe=G._injector??l,Ye=G._loadedInjector??pe;(G.loadChildren&&!G._loadedRoutes&&void 0===G.canLoad||G.loadComponent&&!G._loadedComponent)&&C.push(this.preloadConfig(pe,G)),(G.children||G._loadedRoutes)&&C.push(this.processRoutes(Ye,G.children??G._loadedRoutes))}return(0,R.D)(C).pipe((0,V.J)())}preloadConfig(l,g){return this.preloadingStrategy.preload(g,()=>{let C;C=g.loadChildren&&void 0===g.canLoad?this.loader.loadChildren(l,g):(0,O.of)(null);const G=C.pipe((0,De.z)(pe=>null===pe?(0,O.of)(void 0):(g._loadedRoutes=pe.routes,g._loadedInjector=pe.injector,this.processRoutes(pe.injector??l,pe.routes))));if(g.loadComponent&&!g._loadedComponent){const pe=this.loader.loadComponent(g);return(0,R.D)([G,pe]).pipe((0,V.J)())}return G})}static#e=this.\u0275fac=function(g){return new(g||c)(o.LFG(mn),o.LFG(o.Sil),o.LFG(o.lqb),o.LFG(ei),o.LFG(Rn))};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Ls=new o.OlP("");let To=(()=>{class c{constructor(l,g,C,G,pe={}){this.urlSerializer=l,this.transitions=g,this.viewportScroller=C,this.zone=G,this.options=pe,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},pe.scrollPositionRestoration=pe.scrollPositionRestoration||"disabled",pe.anchorScrolling=pe.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(l=>{l instanceof L?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=l.navigationTrigger,this.restoredId=l.restoredState?l.restoredState.navigationId:0):l instanceof te?(this.lastId=l.id,this.scheduleScrollEvent(l,this.urlSerializer.parse(l.urlAfterRedirects).fragment)):l instanceof Te&&0===l.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(l,this.urlSerializer.parse(l.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(l=>{l instanceof Bn&&(l.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(l.position):l.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(l.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(l,g){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Bn(l,"popstate"===this.lastSource?this.store[this.restoredId]:null,g))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(g){o.$Z()};static#t=this.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac})}return c})();function bo(c,p){return{\u0275kind:c,\u0275providers:p}}function $s(){const c=(0,o.f3M)(o.zs3);return p=>{const l=c.get(o.z2F);if(p!==l.components[0])return;const g=c.get(mn),C=c.get(fc);1===c.get(Bs)&&g.initialNavigation(),c.get(ti,null,o.XFs.Optional)?.setUpPreloading(),c.get(Ls,null,o.XFs.Optional)?.init(),g.resetRootComponentType(l.componentTypes[0]),C.closed||(C.next(),C.complete(),C.unsubscribe())}}const fc=new o.OlP("",{factory:()=>new re.x}),Bs=new o.OlP("",{providedIn:"root",factory:()=>1}),ti=new o.OlP("");function mc(c){return bo(0,[{provide:ti,useExisting:cc},{provide:ei,useExisting:c}])}const Dn=new o.OlP("ROUTER_FORROOT_GUARD"),ka=[U.Ye,{provide:In,useClass:Xn},mn,vr,{provide:Rr,useFactory:function Pa(c){return c.routerState.root},deps:[mn]},Rn,[]];function Na(){return new o.PXZ("Router",mn)}let Tr=(()=>{class c{constructor(l){}static forRoot(l,g){return{ngModule:c,providers:[ka,[],{provide:Pt,multi:!0,useValue:l},{provide:Dn,useFactory:Vs,deps:[[mn,new o.FiY,new o.tp0]]},{provide:eo,useValue:g||{}},g?.useHash?{provide:U.S$,useClass:U.Do}:{provide:U.S$,useClass:U.b0},{provide:Ls,useFactory:()=>{const c=(0,o.f3M)(U.EM),p=(0,o.f3M)(o.R0b),l=(0,o.f3M)(eo),g=(0,o.f3M)(Un),C=(0,o.f3M)(In);return l.scrollOffset&&c.setOffset(l.scrollOffset),new To(C,g,c,p,l)}},g?.preloadingStrategy?mc(g.preloadingStrategy).\u0275providers:[],{provide:o.PXZ,multi:!0,useFactory:Na},g?.initialNavigation?js(g):[],g?.bindToComponentInputs?bo(8,[W,{provide:F,useExisting:W}]).\u0275providers:[],[{provide:$a,useFactory:$s},{provide:o.tb,multi:!0,useExisting:$a}]]}}static forChild(l){return{ngModule:c,providers:[{provide:Pt,multi:!0,useValue:l}]}}static#e=this.\u0275fac=function(g){return new(g||c)(o.LFG(Dn,8))};static#t=this.\u0275mod=o.oAB({type:c});static#n=this.\u0275inj=o.cJS({})}return c})();function Vs(c){return"guarded"}function js(c){return["disabled"===c.initialNavigation?bo(3,[{provide:o.ip1,multi:!0,useFactory:()=>{const p=(0,o.f3M)(mn);return()=>{p.setUpLocationChangeListener()}}},{provide:Bs,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?bo(2,[{provide:Bs,useValue:0},{provide:o.ip1,multi:!0,deps:[o.zs3],useFactory:p=>{const l=p.get(U.V_,Promise.resolve());return()=>l.then(()=>new Promise(g=>{const C=p.get(mn),G=p.get(fc);Ui(C,()=>{g(!0)}),p.get(Un).afterPreactivation=()=>(g(!0),G.closed?(0,O.of)(void 0):G),C.initialNavigation()}))}}]).\u0275providers:[]]}const $a=new o.OlP("")},4414:(ct,je,b)=>{"use strict";b.d(je,{BX:()=>en,Br:()=>Jt,y4:()=>Re,De:()=>ar,dy:()=>wr,oU:()=>Hr,ki:()=>et,O1:()=>ao,d8:()=>oe,jP:()=>wo,UN:()=>qr,r4:()=>ur,HT:()=>Tn,IN:()=>xt,SH:()=>pn,t4:()=>hn,Dh:()=>kn,j:()=>cr,H:()=>Io,yF:()=>ln,bk:()=>wt,DN:()=>rn,Wn:()=>On,vk:()=>zt});var o=b(5861),w=b(2029),ee=b(3630);const _=F=>({create:W=>P(F,W),dismiss:(W,M,J)=>we(document,W,M,F,J),getTop:()=>(0,o.Z)(function*(){return ge(document,F)})()}),q=_("ion-alert"),I=_("ion-action-sheet"),B=_("ion-loading"),V=_("ion-modal"),S=_("ion-popover"),z=_("ion-toast"),P=(F,W)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(F).then(()=>{const M=document.createElement(F);return M.classList.add("overlay-hidden"),Object.assign(M,Object.assign(Object.assign({},W),{hasController:!0})),De(document).appendChild(M),new Promise(J=>(0,ee.c)(M,J))}):Promise.resolve(),we=(F,W,M,J,ye)=>{const tt=ge(F,J,ye);return tt?tt.dismiss(W,M):Promise.reject("overlay does not exist")},ge=(F,W,M)=>{const J=((F,W)=>((F,W)=>(void 0===W&&(W="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(F.querySelectorAll(W)).filter(M=>M.overlayIndex>0)))(F,W).filter(M=>!(F=>F.classList.contains("overlay-hidden"))(M)))(F,W);return void 0===M?J[J.length-1]:J.find(ye=>ye.id===M)},De=F=>F.querySelector("ion-app")||F.body;var yt=b(191);class ft{constructor(){this.m=new Map}reset(W){this.m=new Map(Object.entries(W))}get(W,M){const J=this.m.get(W);return void 0!==J?J:M}getBoolean(W,M=!1){const J=this.m.get(W);return void 0===J?M:"string"==typeof J?"true"===J:!!J}getNumber(W,M){const J=parseFloat(this.m.get(W));return isNaN(J)?void 0!==M?M:NaN:J}set(W,M){this.m.set(W,M)}}const bt=new ft,pt=F=>Vt(F),Vt=(F=window)=>{if(typeof F>"u")return[];F.Ionic=F.Ionic||{};let W=F.Ionic.platforms;return null==W&&(W=F.Ionic.platforms=At(F),W.forEach(M=>F.document.documentElement.classList.add(`plt-${M}`))),W},At=F=>{const W=bt.get("platform");return Object.keys(Bt).filter(M=>{const J=W?.[M];return"function"==typeof J?J(F):Bt[M](F)})},$t=F=>!!(Cn(F,/iPad/i)||Cn(F,/Macintosh/i)&&Rt(F)),Nt=F=>Cn(F,/android|sink/i),Rt=F=>or(F,"(any-pointer:coarse)"),Xt=F=>Wt(F)||Gt(F),Wt=F=>!!(F.cordova||F.phonegap||F.PhoneGap),Gt=F=>{const W=F.Capacitor;return!!W?.isNative},Cn=(F,W)=>W.test(F.navigator.userAgent),or=(F,W)=>{var M;return null===(M=F.matchMedia)||void 0===M?void 0:M.call(F,W).matches},Bt={ipad:$t,iphone:F=>Cn(F,/iPhone/i),ios:F=>Cn(F,/iPhone|iPod/i)||$t(F),android:Nt,phablet:F=>{const W=F.innerWidth,M=F.innerHeight,J=Math.min(W,M),ye=Math.max(W,M);return J>390&&J<520&&ye>620&&ye<800},tablet:F=>{const W=F.innerWidth,M=F.innerHeight,J=Math.min(W,M),ye=Math.max(W,M);return $t(F)||(F=>Nt(F)&&!Cn(F,/mobile/i))(F)||J>460&&J<820&&ye>780&&ye<1400},cordova:Wt,capacitor:Gt,electron:F=>Cn(F,/electron/i),pwa:F=>{var W;return!!(null!==(W=F.matchMedia)&&void 0!==W&&W.call(F,"(display-mode: standalone)").matches||F.navigator.standalone)},mobile:Rt,mobileweb:F=>Rt(F)&&!Xt(F),desktop:F=>!Rt(F),hybrid:Xt};var yn=b(335),Kn=b(6814),bn=b(8645),gr=b(2438),qn=b(5619),Zn=b(2572),Er=b(2096),Ke=b(7582),$e=b(2181),me=b(4664),Me=b(3997),Je=b(95);const Et=["tabsInner"];class Tt{constructor(W){this.ctrl=W}create(W){return this.ctrl.create(W||{})}dismiss(W,M,J){return this.ctrl.dismiss(W,M,J)}getTop(){return this.ctrl.getTop()}}let en=(()=>{class F extends Tt{constructor(){super(I)}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),Jt=(()=>{class F extends Tt{constructor(){super(q)}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),Tn=(()=>{class F extends Tt{constructor(){super(B)}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();class sr{constructor(W={}){this.data=W}get(W){return this.data[W]}}let Re=(()=>{class F{constructor(){this.zone=(0,w.f3M)(w.R0b),this.applicationRef=(0,w.f3M)(w.z2F)}create(M,J,ye){return new Ce(M,J,this.applicationRef,this.zone,ye)}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac}),F})();class Ce{constructor(W,M,J,ye,tt){this.environmentInjector=W,this.injector=M,this.applicationRef=J,this.zone=ye,this.elementReferenceKey=tt,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(W,M,J,ye){return this.zone.run(()=>new Promise(tt=>{const Ct={...J};void 0!==this.elementReferenceKey&&(Ct[this.elementReferenceKey]=W),tt(be(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,W,M,Ct,ye,this.elementReferenceKey))}))}removeViewFromDom(W,M){return this.zone.run(()=>new Promise(J=>{const ye=this.elRefMap.get(M);if(ye){ye.destroy(),this.elRefMap.delete(M);const tt=this.elEventsMap.get(M);tt&&(tt(),this.elEventsMap.delete(M))}J()}))}}const be=(F,W,M,J,ye,tt,Ct,vt,It,Yt,gn)=>{const er=w.zs3.create({providers:Dt(It),parent:M}),_r=(0,w.LMc)(vt,{environmentInjector:W,elementInjector:er}),Kr=_r.instance,yr=_r.location.nativeElement;if(It&&(gn&&void 0!==Kr[gn]&&console.error(`[Ionic Error]: ${gn} is a reserved property when using ${Ct.tagName.toLowerCase()}. Rename or remove the "${gn}" property from ${vt.name}.`),Object.assign(Kr,It)),Yt)for(const zr of Yt)yr.classList.add(zr);const Nr=it(F,Kr,yr);return Ct.appendChild(yr),J.attachView(_r.hostView),ye.set(yr,_r),tt.set(yr,Nr),yr},Qe=[yt.L,yt.a,yt.b,yt.c,yt.d],it=(F,W,M)=>F.run(()=>{const J=Qe.filter(ye=>"function"==typeof W[ye]).map(ye=>{const tt=Ct=>W[ye](Ct.detail);return M.addEventListener(ye,tt),()=>M.removeEventListener(ye,tt)});return()=>J.forEach(ye=>ye())}),gt=new w.OlP("NavParamsToken"),Dt=F=>[{provide:gt,useValue:F},{provide:sr,useFactory:sn,deps:[gt]}],sn=F=>new sr(F);let xt=(()=>{class F extends Tt{constructor(){super(V),this.angularDelegate=(0,w.f3M)(Re),this.injector=(0,w.f3M)(w.zs3),this.environmentInjector=(0,w.f3M)(w.lqb)}create(M){return super.create({...M,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac}),F})(),kn=(()=>{class F extends Tt{constructor(){super(S),this.angularDelegate=(0,w.f3M)(Re),this.injector=(0,w.f3M)(w.zs3),this.environmentInjector=(0,w.f3M)(w.lqb)}create(M){return super.create({...M,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac}),F})(),ln=(()=>{class F extends Tt{constructor(){super(z)}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),hn=(()=>{class F{constructor(M,J){this.doc=M,this.backButton=new bn.x,this.keyboardDidShow=new bn.x,this.keyboardDidHide=new bn.x,this.pause=new bn.x,this.resume=new bn.x,this.resize=new bn.x,J.run(()=>{let ye;this.win=M.defaultView,this.backButton.subscribeWithPriority=function(tt,Ct){return this.subscribe(vt=>vt.register(tt,It=>J.run(()=>Ct(It))))},Fn(this.pause,M,"pause",J),Fn(this.resume,M,"resume",J),Fn(this.backButton,M,"ionBackButton",J),Fn(this.resize,this.win,"resize",J),Fn(this.keyboardDidShow,this.win,"ionKeyboardDidShow",J),Fn(this.keyboardDidHide,this.win,"ionKeyboardDidHide",J),this._readyPromise=new Promise(tt=>{ye=tt}),this.win?.cordova?M.addEventListener("deviceready",()=>{ye("cordova")},{once:!0}):ye("dom")})}is(M){return((F,W)=>("string"==typeof F&&(W=F,F=void 0),pt(F).includes(W)))(this.win,M)}platforms(){return pt(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(M){return Jn(this.win.location.href,M)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(M){const J=this.win.navigator;return!!(J?.userAgent&&J.userAgent.indexOf(M)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return F.\u0275fac=function(M){return new(M||F)(w.LFG(Kn.K0),w.LFG(w.R0b))},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();const Jn=(F,W)=>{W=W.replace(/[[\]\\]/g,"\\$&");const J=new RegExp("[\\?&]"+W+"=([^&#]*)").exec(F);return J?decodeURIComponent(J[1].replace(/\+/g," ")):null},Fn=(F,W,M,J)=>{W&&W.addEventListener(M,ye=>{J.run(()=>{const tt=ye?.detail;F.next(tt)})})};let pn=(()=>{class F{constructor(M,J,ye,tt){this.location=J,this.serializer=ye,this.router=tt,this.direction=nr,this.animated=Qn,this.guessDirection="forward",this.lastNavId=-1,tt&&tt.events.subscribe(Ct=>{if(Ct instanceof yn.OD){const vt=Ct.restoredState?Ct.restoredState.navigationId:Ct.id;this.guessDirection=vt{this.pop(),Ct()})}navigateForward(M,J={}){return this.setDirection("forward",J.animated,J.animationDirection,J.animation),this.navigate(M,J)}navigateBack(M,J={}){return this.setDirection("back",J.animated,J.animationDirection,J.animation),this.navigate(M,J)}navigateRoot(M,J={}){return this.setDirection("root",J.animated,J.animationDirection,J.animation),this.navigate(M,J)}back(M={animated:!0,animationDirection:"back"}){return this.setDirection("back",M.animated,M.animationDirection,M.animation),this.location.back()}pop(){var M=this;return(0,o.Z)(function*(){let J=M.topOutlet;for(;J;){if(yield J.pop())return!0;J=J.parentOutlet}return!1})()}setDirection(M,J,ye,tt){this.direction=M,this.animated=Nn(M,J,ye),this.animationBuilder=tt}setTopOutlet(M){this.topOutlet=M}consumeTransition(){let J,M="root";const ye=this.animationBuilder;return"auto"===this.direction?(M=this.guessDirection,J=this.guessAnimation):(J=this.animated,M=this.direction),this.direction=nr,this.animated=Qn,this.animationBuilder=void 0,{direction:M,animation:J,animationBuilder:ye}}navigate(M,J){if(Array.isArray(M))return this.router.navigate(M,J);{const ye=this.serializer.parse(M.toString());return void 0!==J.queryParams&&(ye.queryParams={...J.queryParams}),void 0!==J.fragment&&(ye.fragment=J.fragment),this.router.navigateByUrl(ye,J)}}}return F.\u0275fac=function(M){return new(M||F)(w.LFG(hn),w.LFG(Kn.Ye),w.LFG(yn.Hx),w.LFG(yn.F0,8))},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();const Nn=(F,W,M)=>{if(!1!==W){if(void 0!==M)return M;if("forward"===F||"back"===F)return F;if("root"===F&&!0===W)return"forward"}},nr="auto",Qn=void 0;let ar=(()=>{class F{get(M,J){const ye=lr();return ye?ye.get(M,J):null}getBoolean(M,J){const ye=lr();return!!ye&&ye.getBoolean(M,J)}getNumber(M,J){const ye=lr();return ye?ye.getNumber(M,J):0}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();const wr=new w.OlP("USERCONFIG"),lr=()=>{if(typeof window<"u"){const F=window.Ionic;if(F?.config)return F.config}return null},mr=(F,W)=>{const M=F.prototype;W.forEach(J=>{Object.defineProperty(M,J,{get(){return this.el[J]},set(ye){this.z.runOutsideAngular(()=>this.el[J]=ye)}})})},Mn=(F,W)=>{const M=F.prototype;W.forEach(J=>{M[J]=function(){const ye=arguments;return this.z.runOutsideAngular(()=>this.el[J].apply(this.el,ye))}})},L=(F,W,M)=>{M.forEach(J=>F[J]=(0,gr.R)(W,J))};function te(F){return function(M){const{defineCustomElementFn:J,inputs:ye,methods:tt}=F;return void 0!==J&&J(),ye&&mr(M,ye),tt&&Mn(M,tt),M}}const Se=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],Te=["present","dismiss","onDidDismiss","onWillDismiss"];let oe=(()=>{let F=class{constructor(M,J,ye){this.z=ye,this.isCmpOpen=!1,this.el=J.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,M.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,M.detectChanges()}),L(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return F.\u0275fac=function(M){return new(M||F)(w.Y36(w.sBO),w.Y36(w.SBq),w.Y36(w.R0b))},F.\u0275dir=w.lG2({type:F,selectors:[["ion-popover"]],contentQueries:function(M,J,ye){if(1&M&&w.Suo(ye,w.Rgc,5),2&M){let tt;w.iGM(tt=w.CRH())&&(J.template=tt.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"}}),F=(0,Ke.gn)([te({inputs:Se,methods:Te})],F),F})();const Ee=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],Pe=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let et=(()=>{let F=class{constructor(M,J,ye){this.z=ye,this.isCmpOpen=!1,this.el=J.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,M.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,M.detectChanges()}),L(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return F.\u0275fac=function(M){return new(M||F)(w.Y36(w.sBO),w.Y36(w.SBq),w.Y36(w.R0b))},F.\u0275dir=w.lG2({type:F,selectors:[["ion-modal"]],contentQueries:function(M,J,ye){if(1&M&&w.Suo(ye,w.Rgc,5),2&M){let tt;w.iGM(tt=w.CRH())&&(J.template=tt.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"}}),F=(0,Ke.gn)([te({inputs:Ee,methods:Pe})],F),F})();const nt=(F,W)=>((F=F.filter(M=>M.stackId!==W.stackId)).push(W),F),m=(F,W)=>{const M=F.createUrlTree(["."],{relativeTo:W});return F.serializeUrl(M)},X=(F,W)=>!W||F.stackId!==W.stackId,Ae=(F,W)=>{if(!F)return;const M=Ft(W);for(let J=0;J=F.length)return M[J];if(M[J]!==F[J])return}},Ft=F=>F.split("/").map(W=>W.trim()).filter(W=>""!==W),Bn=F=>{F&&(F.ref.destroy(),F.unlistenEvents())};class ir{constructor(W,M,J,ye,tt,Ct){this.containerEl=M,this.router=J,this.navCtrl=ye,this.zone=tt,this.location=Ct,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==W?Ft(W):void 0}createView(W,M){const J=m(this.router,M),ye=W?.location?.nativeElement,tt=it(this.zone,W.instance,ye);return{id:this.nextId++,stackId:Ae(this.tabsPrefix,J),unlistenEvents:tt,element:ye,ref:W,url:J}}getExistingView(W){const M=m(this.router,W),J=this.views.find(ye=>ye.url===M);return J&&J.ref.changeDetectorRef.reattach(),J}setActive(W){const M=this.navCtrl.consumeTransition();let{direction:J,animation:ye,animationBuilder:tt}=M;const Ct=this.activeView,vt=X(W,Ct);vt&&(J="back",ye=void 0);const It=this.views.slice();let Yt;const gn=this.router;gn.getCurrentNavigation?Yt=gn.getCurrentNavigation():gn.navigations?.value&&(Yt=gn.navigations.value),Yt?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const er=this.views.includes(W),_r=this.insertView(W,J);er||W.ref.changeDetectorRef.detectChanges();const Kr=W.animationBuilder;return void 0===tt&&"back"===J&&!vt&&void 0!==Kr&&(tt=Kr),Ct&&(Ct.animationBuilder=tt),this.zone.runOutsideAngular(()=>this.wait(()=>(Ct&&Ct.ref.changeDetectorRef.detach(),W.ref.changeDetectorRef.reattach(),this.transition(W,Ct,ye,this.canGoBack(1),!1,tt).then(()=>jn(W,_r,It,this.location,this.zone)).then(()=>({enteringView:W,direction:J,animation:ye,tabSwitch:vt})))))}canGoBack(W,M=this.getActiveStackId()){return this.getStack(M).length>W}pop(W,M=this.getActiveStackId()){return this.zone.run(()=>{const J=this.getStack(M);if(J.length<=W)return Promise.resolve(!1);const ye=J[J.length-W-1];let tt=ye.url;const Ct=ye.savedData;if(Ct){const It=Ct.get("primary");It?.route?._routerState?.snapshot.url&&(tt=It.route._routerState.snapshot.url)}const{animationBuilder:vt}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(tt,{...ye.savedExtras,animation:vt}).then(()=>!0)})}startBackTransition(){const W=this.activeView;if(W){const M=this.getStack(W.stackId),J=M[M.length-2],ye=J.animationBuilder;return this.wait(()=>this.transition(J,W,"back",this.canGoBack(2),!0,ye))}return Promise.resolve()}endBackTransition(W){W?(this.skipTransition=!0,this.pop(1)):this.activeView&&Sr(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(W){const M=this.getStack(W);return M.length>0?M[M.length-1]:void 0}getRootUrl(W){const M=this.getStack(W);return M.length>0?M[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(Bn),this.activeView=void 0,this.views=[]}getStack(W){return this.views.filter(M=>M.stackId===W)}insertView(W,M){return this.activeView=W,this.views=((F,W,M)=>"root"===M?nt(F,W):"forward"===M?((F,W)=>(F.indexOf(W)>=0?F=F.filter(J=>J.stackId!==W.stackId||J.id<=W.id):F.push(W),F))(F,W):((F,W)=>F.indexOf(W)>=0?F.filter(J=>J.stackId!==W.stackId||J.id<=W.id):nt(F,W))(F,W))(this.views,W,M),this.views.slice()}transition(W,M,J,ye,tt,Ct){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(M===W)return Promise.resolve(!1);const vt=W?W.element:void 0,It=M?M.element:void 0,Yt=this.containerEl;return vt&&vt!==It&&(vt.classList.add("ion-page"),vt.classList.add("ion-page-invisible"),vt.parentElement!==Yt&&Yt.appendChild(vt),Yt.commit)?Yt.commit(vt,It,{duration:void 0===J?0:void 0,direction:J,showGoBack:ye,progressAnimation:tt,animationBuilder:Ct}):Promise.resolve(!1)}wait(W){var M=this;return(0,o.Z)(function*(){void 0!==M.runningTask&&(yield M.runningTask,M.runningTask=void 0);const J=M.runningTask=W();return J.finally(()=>M.runningTask=void 0),J})()}}const jn=(F,W,M,J,ye)=>"function"==typeof requestAnimationFrame?new Promise(tt=>{requestAnimationFrame(()=>{Sr(F,W,M,J,ye),tt()})}):Promise.resolve(),Sr=(F,W,M,J,ye)=>{ye.run(()=>M.filter(tt=>!W.includes(tt)).forEach(Bn)),W.forEach(tt=>{const vt=J.path().split("?")[0].split("#")[0];if(tt!==F&&tt.url!==vt){const It=tt.element;It.setAttribute("aria-hidden","true"),It.classList.add("ion-page-hidden"),tt.ref.changeDetectorRef.detach()}})};let wo=(()=>{class F{constructor(M,J,ye,tt,Ct,vt,It,Yt){this.parentOutlet=Yt,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new qn.X(null),this.activated=null,this._activatedRoute=null,this.name=yn.eC,this.stackWillChange=new w.vpe,this.stackDidChange=new w.vpe,this.activateEvents=new w.vpe,this.deactivateEvents=new w.vpe,this.parentContexts=(0,w.f3M)(yn.y6),this.location=(0,w.f3M)(w.s_b),this.environmentInjector=(0,w.f3M)(w.lqb),this.inputBinder=(0,w.f3M)(fo,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,w.f3M)(ar),this.navCtrl=(0,w.f3M)(pn),this.nativeEl=tt.nativeElement,this.name=M||yn.eC,this.tabsPrefix="true"===J?m(Ct,It):void 0,this.stackCtrl=new ir(this.tabsPrefix,this.nativeEl,Ct,this.navCtrl,vt,ye),this.parentContexts.onChildOutletCreated(this.name,this)}get activatedComponentRef(){return this.activated}set animation(M){this.nativeEl.animation=M}set animated(M){this.nativeEl.animated=M}set swipeGesture(M){this._swipeGesture=M,this.nativeEl.swipeHandler=M?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:J=>this.stackCtrl.endBackTransition(J)}:void 0}ngOnDestroy(){this.stackCtrl.destroy(),this.inputBinder?.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const M=this.getContext();M?.route&&this.activateWith(M.route,M.injector)}new Promise(M=>(0,ee.c)(this.nativeEl,M)).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(M,J){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const J=this.getContext();this.activatedView.savedData=new Map(J.children.contexts);const ye=this.activatedView.savedData.get("primary");if(ye&&J.route&&(ye.route={...J.route}),this.activatedView.savedExtras={},J.route){const tt=J.route.snapshot;this.activatedView.savedExtras.queryParams=tt.queryParams,this.activatedView.savedExtras.fragment=tt.fragment}}const M=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(M)}}activateWith(M,J){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=M;let ye,tt=this.stackCtrl.getExistingView(M);if(tt){ye=this.activated=tt.ref;const vt=tt.savedData;vt&&(this.getContext().children.contexts=vt),this.updateActivatedRouteProxy(ye.instance,M)}else{const vt=M._futureSnapshot,It=this.parentContexts.getOrCreateContext(this.name).children,Yt=new qn.X(null),gn=this.createActivatedRouteProxy(Yt,M),er=new vr(gn,It,this.location.injector);ye=this.activated=this.location.createComponent(vt.routeConfig.component??vt.component,{index:this.location.length,injector:er,environmentInjector:J??this.environmentInjector}),Yt.next(ye.instance),tt=this.stackCtrl.createView(this.activated,M),this.proxyMap.set(ye.instance,gn),this.currentActivatedRoute$.next({component:ye.instance,activatedRoute:M})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=tt,this.navCtrl.setTopOutlet(this);const Ct=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:tt,tabSwitch:X(tt,Ct)}),this.stackCtrl.setActive(tt).then(vt=>{this.activateEvents.emit(ye.instance),this.stackDidChange.emit(vt)})}canGoBack(M=1,J){return this.stackCtrl.canGoBack(M,J)}pop(M=1,J){return this.stackCtrl.pop(M,J)}getLastUrl(M){const J=this.stackCtrl.getLastUrl(M);return J?J.url:void 0}getLastRouteView(M){return this.stackCtrl.getLastUrl(M)}getRootView(M){return this.stackCtrl.getRootUrl(M)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(M,J){const ye=new yn.gz;return ye._futureSnapshot=J._futureSnapshot,ye._routerState=J._routerState,ye.snapshot=J.snapshot,ye.outlet=J.outlet,ye.component=J.component,ye._paramMap=this.proxyObservable(M,"paramMap"),ye._queryParamMap=this.proxyObservable(M,"queryParamMap"),ye.url=this.proxyObservable(M,"url"),ye.params=this.proxyObservable(M,"params"),ye.queryParams=this.proxyObservable(M,"queryParams"),ye.fragment=this.proxyObservable(M,"fragment"),ye.data=this.proxyObservable(M,"data"),ye}proxyObservable(M,J){return M.pipe((0,$e.h)(ye=>!!ye),(0,me.w)(ye=>this.currentActivatedRoute$.pipe((0,$e.h)(tt=>null!==tt&&tt.component===ye),(0,me.w)(tt=>tt&&tt.activatedRoute[J]),(0,Me.x)())))}updateActivatedRouteProxy(M,J){const ye=this.proxyMap.get(M);if(!ye)throw new Error("Could not find activated route proxy for view");ye._futureSnapshot=J._futureSnapshot,ye._routerState=J._routerState,ye.snapshot=J.snapshot,ye.outlet=J.outlet,ye.component=J.component,this.currentActivatedRoute$.next({component:M,activatedRoute:J})}}return F.\u0275fac=function(M){return new(M||F)(w.$8M("name"),w.$8M("tabs"),w.Y36(Kn.Ye),w.Y36(w.SBq),w.Y36(yn.F0),w.Y36(w.R0b),w.Y36(yn.gz),w.Y36(F,12))},F.\u0275dir=w.lG2({type:F,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"]}),F})();class vr{constructor(W,M,J){this.route=W,this.childContexts=M,this.parent=J}get(W,M){return W===yn.gz?this.route:W===yn.y6?this.childContexts:this.parent.get(W,M)}}const fo=new w.OlP("");let io=(()=>{class F{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(M){this.unsubscribeFromRouteData(M),this.subscribeToRouteData(M)}unsubscribeFromRouteData(M){this.outletDataSubscriptions.get(M)?.unsubscribe(),this.outletDataSubscriptions.delete(M)}subscribeToRouteData(M){const{activatedRoute:J}=M,ye=(0,Zn.a)([J.queryParams,J.params,J.data]).pipe((0,me.w)(([tt,Ct,vt],It)=>(vt={...tt,...Ct,...vt},0===It?(0,Er.of)(vt):Promise.resolve(vt)))).subscribe(tt=>{if(!M.isActivated||!M.activatedComponentRef||M.activatedRoute!==J||null===J.component)return void this.unsubscribeFromRouteData(M);const Ct=(0,w.qFp)(J.component);if(Ct)for(const{templateName:vt}of Ct.inputs)M.activatedComponentRef.setInput(vt,tt[vt]);else this.unsubscribeFromRouteData(M)});this.outletDataSubscriptions.set(M,ye)}}return F.\u0275fac=function(M){return new(M||F)},F.\u0275prov=w.Yz7({token:F,factory:F.\u0275fac}),F})();const rn=()=>({provide:fo,useFactory:Sn,deps:[yn.F0]});function Sn(F){return F?.componentInputBindingEnabled?new io:null}const Hn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let Hr=(()=>{let F=class{constructor(M,J,ye,tt,Ct,vt){this.routerOutlet=M,this.navCtrl=J,this.config=ye,this.r=tt,this.z=Ct,vt.detach(),this.el=this.r.nativeElement}onClick(M){const J=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet?.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),M.preventDefault()):null!=J&&(this.navCtrl.navigateBack(J,{animation:this.routerAnimation}),M.preventDefault())}};return F.\u0275fac=function(M){return new(M||F)(w.Y36(wo,8),w.Y36(pn),w.Y36(ar),w.Y36(w.SBq),w.Y36(w.R0b),w.Y36(w.sBO))},F.\u0275dir=w.lG2({type:F,hostBindings:function(M,J){1&M&&w.NdJ("click",function(tt){return J.onClick(tt)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),F=(0,Ke.gn)([te({inputs:Hn})],F),F})(),cr=(()=>{class F{constructor(M,J,ye,tt,Ct){this.locationStrategy=M,this.navCtrl=J,this.elementRef=ye,this.router=tt,this.routerLink=Ct,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const M=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=M}}onClick(M){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),M.preventDefault()}}return F.\u0275fac=function(M){return new(M||F)(w.Y36(Kn.S$),w.Y36(pn),w.Y36(w.SBq),w.Y36(yn.F0),w.Y36(yn.rH,8))},F.\u0275dir=w.lG2({type:F,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(M,J){1&M&&w.NdJ("click",function(tt){return J.onClick(tt)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[w.TTD]}),F})(),Io=(()=>{class F{constructor(M,J,ye,tt,Ct){this.locationStrategy=M,this.navCtrl=J,this.elementRef=ye,this.router=tt,this.routerLink=Ct,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const M=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=M}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}}return F.\u0275fac=function(M){return new(M||F)(w.Y36(Kn.S$),w.Y36(pn),w.Y36(w.SBq),w.Y36(yn.F0),w.Y36(yn.rH,8))},F.\u0275dir=w.lG2({type:F,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(M,J){1&M&&w.NdJ("click",function(){return J.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[w.TTD]}),F})();const Rr=["animated","animation","root","rootParams","swipeGesture"],so=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let ao=(()=>{let F=class{constructor(M,J,ye,tt,Ct,vt){this.z=Ct,vt.detach(),this.el=M.nativeElement,M.nativeElement.delegate=tt.create(J,ye),L(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return F.\u0275fac=function(M){return new(M||F)(w.Y36(w.SBq),w.Y36(w.lqb),w.Y36(w.zs3),w.Y36(Re),w.Y36(w.R0b),w.Y36(w.sBO))},F.\u0275dir=w.lG2({type:F,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),F=(0,Ke.gn)([te({inputs:Rr,methods:so})],F),F})(),qr=(()=>{class F{constructor(M){this.navCtrl=M,this.ionTabsWillChange=new w.vpe,this.ionTabsDidChange=new w.vpe,this.tabBarSlot="bottom"}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:M,tabSwitch:J}){const ye=M.stackId;J&&void 0!==ye&&this.ionTabsWillChange.emit({tab:ye})}onStackDidChange({enteringView:M,tabSwitch:J}){const ye=M.stackId;J&&void 0!==ye&&(this.tabBar&&(this.tabBar.selectedTab=ye),this.ionTabsDidChange.emit({tab:ye}))}select(M){const J="string"==typeof M,ye=J?M:M.detail.tab,tt=this.outlet.getActiveStackId()===ye,Ct=`${this.outlet.tabsPrefix}/${ye}`;if(J||M.stopPropagation(),tt){const vt=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(vt)?.url===Ct)return;const Yt=this.outlet.getRootView(ye);return this.navCtrl.navigateRoot(Ct,{...Yt&&Ct===Yt.url&&Yt.savedExtras,animated:!0,animationDirection:"back"})}{const vt=this.outlet.getLastRouteView(ye),It=vt?.url||Ct,Yt=vt?.savedExtras;return this.navCtrl.navigateRoot(It,{...Yt,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(M=>{const J=M.el.getAttribute("slot");J!==this.tabBarSlot&&(this.tabBarSlot=J,this.relocateTabBar())})}relocateTabBar(){const M=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(M):this.tabsInner.nativeElement.after(M)}}return F.\u0275fac=function(M){return new(M||F)(w.Y36(pn))},F.\u0275dir=w.lG2({type:F,selectors:[["ion-tabs"]],viewQuery:function(M,J){if(1&M&&w.Gf(Et,7,w.SBq),2&M){let ye;w.iGM(ye=w.CRH())&&(J.tabsInner=ye.first)}},hostBindings:function(M,J){1&M&&w.NdJ("ionTabButtonClick",function(tt){return J.select(tt)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),F})();const On=F=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(F):"function"==typeof requestAnimationFrame?requestAnimationFrame(F):setTimeout(F);let wt=(()=>{class F{constructor(M,J){this.injector=M,this.elementRef=J,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(M){this.elementRef.nativeElement.value=this.lastValue=M,zt(this.elementRef)}handleValueChange(M,J){M===this.elementRef.nativeElement&&(J!==this.lastValue&&(this.lastValue=J,this.onChange(J)),zt(this.elementRef))}_handleBlurEvent(M){M===this.elementRef.nativeElement&&(this.onTouched(),zt(this.elementRef))}registerOnChange(M){this.onChange=M}registerOnTouched(M){this.onTouched=M}setDisabledState(M){this.elementRef.nativeElement.disabled=M}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let M;try{M=this.injector.get(Je.a5)}catch{}if(!M)return;M.statusChanges&&(this.statusChanges=M.statusChanges.subscribe(()=>zt(this.elementRef)));const J=M.control;J&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(tt=>{if(typeof J[tt]<"u"){const Ct=J[tt].bind(J);J[tt]=(...vt)=>{Ct(...vt),zt(this.elementRef)}}})}}return F.\u0275fac=function(M){return new(M||F)(w.Y36(w.zs3),w.Y36(w.SBq))},F.\u0275dir=w.lG2({type:F,hostBindings:function(M,J){1&M&&w.NdJ("ionBlur",function(tt){return J._handleBlurEvent(tt.target)})}}),F})();const zt=F=>{On(()=>{const W=F.nativeElement,M=null!=W.value&&W.value.toString().length>0,J=En(W);fr(W,J);const ye=W.closest("ion-item");ye&&fr(ye,M?[...J,"item-has-value"]:J)})},En=F=>{const W=F.classList,M=[];for(let J=0;J{const M=F.classList;M.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),M.add(...W)},Ur=(F,W)=>F.substring(0,W.length)===W;class ur{shouldDetach(W){return!1}shouldAttach(W){return!1}store(W,M){}retrieve(W){return null}shouldReuseRoute(W,M){if(W.routeConfig!==M.routeConfig)return!1;const J=W.params,ye=M.params,tt=Object.keys(J),Ct=Object.keys(ye);if(tt.length!==Ct.length)return!1;for(const vt of tt)if(ye[vt]!==J[vt])return!1;return!0}}},3582:(ct,je,b)=>{"use strict";b.d(je,{dr:()=>ft,BJ:()=>bt,oU:()=>ar,yp:()=>Ze,YG:()=>Ue,Sm:()=>ut,PM:()=>pt,wI:()=>Kt,W2:()=>Nt,fr:()=>Xt,jY:()=>Wt,Gu:()=>Gt,gu:()=>Pn,pK:()=>Bt,Ie:()=>Wn,rH:()=>In,u8:()=>yn,IK:()=>Kn,td:()=>bn,Q$:()=>gr,q_:()=>qn,Uj:()=>Se,z0:()=>Ke,zc:()=>me,yf:()=>oe,ki:()=>Mn,uN:()=>Je,B7:()=>en,se:()=>Jt,jP:()=>nr,Nd:()=>Qe,VI:()=>it,t9:()=>sn,n0:()=>xt,PQ:()=>kn,jI:()=>ln,g2:()=>_t,wd:()=>Jn,sr:()=>Nn,Pc:()=>nt,as:()=>he,U5:()=>De,QI:()=>Fe,j9:()=>qe});var o=b(2029),w=b(95),ee=b(4414),ae=b(7582),R=b(2438),O=b(6814),_=b(335),S=(b(6410),b(2036),b(5944),b(7561),b(9203),b(3395)),z=b(3365),ne=(b(837),b(3645),b(9938),b(8411));b(619);const _e=S.i,we=["*"];function se(u,j){if(1&u&&(o.TgZ(0,"div",1),o.GkF(1,2),o.qZA()),2&u){const m=o.oxw();o.xp6(1),o.Q6J("ngTemplateOutlet",m.template)}}let he=(()=>{class u extends ee.bk{constructor(m,X){super(m,X)}handleInputEvent(m){this.handleValueChange(m,m.value)}registerOnChange(m){super.registerOnChange(X=>{m(""===X?null:parseFloat(X))})}}return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.zs3),o.Y36(o.SBq))},u.\u0275dir=o.lG2({type:u,selectors:[["ion-input","type","number"]],hostBindings:function(m,X){1&m&&o.NdJ("ionInput",function(Ft){return X.handleInputEvent(Ft.target)})},features:[o._Bn([{provide:w.JU,useExisting:u,multi:!0}]),o.qOj]}),u})(),De=(()=>{class u extends ee.bk{constructor(m,X){super(m,X)}_handleIonSelect(m){this.handleValueChange(m,m.checked)}}return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.zs3),o.Y36(o.SBq))},u.\u0275dir=o.lG2({type:u,selectors:[["ion-radio"]],hostBindings:function(m,X){1&m&&o.NdJ("ionSelect",function(Ft){return X._handleIonSelect(Ft.target)})},features:[o._Bn([{provide:w.JU,useExisting:u,multi:!0}]),o.qOj]}),u})(),Fe=(()=>{class u extends ee.bk{constructor(m,X){super(m,X)}_handleChangeEvent(m){this.handleValueChange(m,m.value)}}return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.zs3),o.Y36(o.SBq))},u.\u0275dir=o.lG2({type:u,selectors:[["ion-range"],["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(m,X){1&m&&o.NdJ("ionChange",function(Ft){return X._handleChangeEvent(Ft.target)})},features:[o._Bn([{provide:w.JU,useExisting:u,multi:!0}]),o.qOj]}),u})(),qe=(()=>{class u extends ee.bk{constructor(m,X){super(m,X)}_handleInputEvent(m){this.handleValueChange(m,m.value)}}return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.zs3),o.Y36(o.SBq))},u.\u0275dir=o.lG2({type:u,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"]],hostBindings:function(m,X){1&m&&o.NdJ("ionInput",function(Ft){return X._handleInputEvent(Ft.target)})},features:[o._Bn([{provide:w.JU,useExisting:u,multi:!0}]),o.qOj]}),u})();const Le=(u,j)=>{const m=u.prototype;j.forEach(X=>{Object.defineProperty(m,X,{get(){return this.el[X]},set(Ae){this.z.runOutsideAngular(()=>this.el[X]=Ae)},configurable:!0})})},Z=(u,j)=>{const m=u.prototype;j.forEach(X=>{m[X]=function(){const Ae=arguments;return this.z.runOutsideAngular(()=>this.el[X].apply(this.el,Ae))}})},Y=(u,j,m)=>{m.forEach(X=>u[X]=(0,R.R)(j,X))};function ie(u){return function(m){const{defineCustomElementFn:X,inputs:Ae,methods:Ft}=u;return void 0!==X&&X(),Ae&&Le(m,Ae),Ft&&Z(m,Ft),m}}let ft=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-app"]],ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({})],u),u})(),bt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-avatar"]],ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({})],u),u})(),Ze=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","mode"]})],u),u})(),Ue=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionFocus","ionBlur"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,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:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],u),u})(),ut=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["collapse"]})],u),u})(),pt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,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:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],u),u})(),Kt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,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",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({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"]})],u),u})(),Nt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],u),u})(),Xt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["collapse","mode","translucent"]})],u),u})(),Wt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["fixed"]})],u),u})(),Gt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["collapse","mode","translucent"]})],u),u})(),Pn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,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:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],u),u})(),Bt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",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",legacy:"legacy",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],u),u})(),Wn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],u),u})(),In=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","mode","sticky"]})],u),u})(),yn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],u),u})(),Kn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionSwipe"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["side"]})],u),u})(),bn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionDrag"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],u),u})(),gr=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","mode","position"]})],u),u})(),qn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],u),u})(),Ke=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],u),u})(),me=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["autoHide","menu"]})],u),u})(),Je=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","mode"]})],u),u})(),en=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionFocus","ionBlur"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["alignment","color","disabled","justify","labelPlacement","legacy","mode","name","value"]})],u),u})(),Jt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionChange"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",name:"name",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["allowEmptySelection","name","value"]})],u),u})(),Qe=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-row"]],ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({})],u),u})(),it=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",mode:"mode",name:"name",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","mode","name","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],u),u})(),sn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",color:"color",compareWith:"compareWith",disabled:"disabled",expandedIcon:"expandedIcon",fill:"fill",interface:"interface",interfaceOptions:"interfaceOptions",justify:"justify",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",shape:"shape",toggleIcon:"toggleIcon",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["cancelText","color","compareWith","disabled","expandedIcon","fill","interface","interfaceOptions","justify","label","labelPlacement","legacy","mode","multiple","name","okText","placeholder","selectedText","shape","toggleIcon","value"],methods:["open"]})],u),u})(),xt=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["disabled","value"]})],u),u})(),kn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","duration","name","paused"]})],u),u})(),ln=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionSplitPaneVisible"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["contentId","disabled","when"]})],u),u})(),_t=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement,Y(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,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",legacy:"legacy",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:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","maxlength","minlength","mode","name","placeholder","readonly","required","rows","shape","spellcheck","value","wrap"],methods:["setFocus","getInputElement"]})],u),u})(),Jn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","size"]})],u),u})(),Nn=(()=>{let u=class{constructor(m,X,Ae){this.z=Ae,m.detach(),this.el=X.nativeElement}};return u.\u0275fac=function(m){return new(m||u)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u=(0,ae.gn)([ie({inputs:["color","mode"]})],u),u})(),nr=(()=>{class u extends ee.jP{constructor(m,X,Ae,Ft,Bn,ir,jn,Sr){super(m,X,Ae,Ft,Bn,ir,jn,Sr),this.parentOutlet=Sr}}return u.\u0275fac=function(m){return new(m||u)(o.$8M("name"),o.$8M("tabs"),o.Y36(O.Ye),o.Y36(o.SBq),o.Y36(_.F0),o.Y36(o.R0b),o.Y36(_.gz),o.Y36(u,12))},u.\u0275dir=o.lG2({type:u,selectors:[["ion-router-outlet"]],features:[o.qOj]}),u})(),ar=(()=>{class u extends ee.oU{constructor(m,X,Ae,Ft,Bn,ir){super(m,X,Ae,Ft,Bn,ir)}}return u.\u0275fac=function(m){return new(m||u)(o.Y36(nr,8),o.Y36(ee.SH),o.Y36(ee.De),o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(o.sBO))},u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-back-button"]],features:[o.qOj],ngContentSelectors:we,decls:1,vars:0,template:function(m,X){1&m&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),u})(),Mn=(()=>{class u extends ee.ki{}return u.\u0275fac=function(){let j;return function(X){return(j||(j=o.n5z(u)))(X||u)}}(),u.\u0275cmp=o.Xpm({type:u,selectors:[["ion-modal"]],features:[o.qOj],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(m,X){1&m&&o.YNc(0,se,2,1,"div",0),2&m&&o.Q6J("ngIf",X.isCmpOpen||X.keepContentsMounted)},dependencies:[O.O5,O.tP],encapsulation:2,changeDetection:0}),u})();const te={provide:w.Cf,useExisting:(0,o.Gpc)(()=>Se),multi:!0};let Se=(()=>{class u extends w.Fd{}return u.\u0275fac=function(){let j;return function(X){return(j||(j=o.n5z(u)))(X||u)}}(),u.\u0275dir=o.lG2({type:u,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(m,X){2&m&&o.uIk("max",X._enabled?X.max:null)},features:[o._Bn([te]),o.qOj]}),u})();const Te={provide:w.Cf,useExisting:(0,o.Gpc)(()=>oe),multi:!0};let oe=(()=>{class u extends w.qQ{}return u.\u0275fac=function(){let j;return function(X){return(j||(j=o.n5z(u)))(X||u)}}(),u.\u0275dir=o.lG2({type:u,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(m,X){2&m&&o.uIk("min",X._enabled?X.min:null)},features:[o._Bn([Te]),o.qOj]}),u})();const Pe=(u,j,m)=>()=>{if(j.defaultView&&typeof window<"u"){(0,z.s)({...u,_zoneGate:Ft=>m.run(Ft)});const Ae="__zone_symbol__addEventListener"in j.body?"__zone_symbol__addEventListener":"addEventListener";return function ue(){var u=[];if(typeof window<"u"){var j=window;(!j.customElements||j.Element&&(!j.Element.prototype.closest||!j.Element.prototype.matches||!j.Element.prototype.remove||!j.Element.prototype.getRootNode))&&u.push(b.e(6748).then(b.t.bind(b,3342,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||j.NodeList&&!j.NodeList.prototype.forEach||!j.fetch||!function(){try{var X=new URL("b","http://a");return X.pathname="c%20d","http://a/c%20d"===X.href&&X.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&u.push(b.e(2214).then(b.t.bind(b,2668,23)))}return Promise.all(u)}().then(()=>((u,j)=>{if(!(typeof window>"u"))return _e(),(0,ne.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"],[0,"keydown","onKeydown"]],{"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-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],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"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]},[[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],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"placeholder":["placeholderChanged"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"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],"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,{"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"],"legacy":[4],"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]},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"],"legacy":[4],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"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]},[[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"],"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"],"legacy":[4],"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]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionInput","handleIonInput"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"counterFormatter":["counterFormatterChanged"]}],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[33,"ion-note",{"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"],"legacy":[4],"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-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"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":[1],"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,{"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker",{"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-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"],"checked":["styleChanged"],"color":["styleChanged"],"disabled":["styleChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"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]},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],"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"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]},null,{"value":["valueChange"]}]]],["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"],"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],"legacy":[4]},null,{"checked":["styleChanged"],"disabled":["styleChanged"]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]]]'),j)})(0,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:ee.Wn,jmp:Ft=>m.runOutsideAngular(Ft),ael(Ft,Bn,ir,jn){Ft[Ae](Bn,ir,jn)},rel(Ft,Bn,ir,jn){Ft.removeEventListener(Bn,ir,jn)}}))}};let nt=(()=>{class u{static forRoot(m){return{ngModule:u,providers:[{provide:ee.dy,useValue:m},{provide:o.ip1,useFactory:Pe,multi:!0,deps:[ee.dy,O.K0,o.R0b]},(0,ee.DN)()]}}}return u.\u0275fac=function(m){return new(m||u)},u.\u0275mod=o.oAB({type:u}),u.\u0275inj=o.cJS({providers:[ee.y4,ee.IN,ee.Dh],imports:[O.ez]}),u})()},5861:(ct,je,b)=>{"use strict";function o(ee,ae,R,O,_,q,I){try{var B=ee[q](I),V=B.value}catch(Q){return void R(Q)}B.done?ae(V):Promise.resolve(V).then(O,_)}function w(ee){return function(){var ae=this,R=arguments;return new Promise(function(O,_){var q=ee.apply(ae,R);function I(V){o(q,O,_,I,B,"next",V)}function B(V){o(q,O,_,I,B,"throw",V)}I(void 0)})}}b.d(je,{Z:()=>w})},7582:(ct,je,b)=>{"use strict";function R(Z,Y,fe,ie){var at,Ve=arguments.length,ke=Ve<3?Y:null===ie?ie=Object.getOwnPropertyDescriptor(Y,fe):ie;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ke=Reflect.decorate(Z,Y,fe,ie);else for(var yt=Z.length-1;yt>=0;yt--)(at=Z[yt])&&(ke=(Ve<3?at(ke):Ve>3?at(Y,fe,ke):at(Y,fe))||ke);return Ve>3&&ke&&Object.defineProperty(Y,fe,ke),ke}function Q(Z,Y,fe,ie){return new(fe||(fe=Promise))(function(ke,at){function yt(Ot){try{bt(ie.next(Ot))}catch(Ze){at(Ze)}}function ft(Ot){try{bt(ie.throw(Ot))}catch(Ze){at(Ze)}}function bt(Ot){Ot.done?ke(Ot.value):function Ve(ke){return ke instanceof fe?ke:new fe(function(at){at(ke)})}(Ot.value).then(yt,ft)}bt((ie=ie.apply(Z,Y||[])).next())})}function ue(Z){return this instanceof ue?(this.v=Z,this):new ue(Z)}function _e(Z,Y,fe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ve,ie=fe.apply(Z,Y||[]),ke=[];return Ve={},at("next"),at("throw"),at("return"),Ve[Symbol.asyncIterator]=function(){return this},Ve;function at(Oe){ie[Oe]&&(Ve[Oe]=function(Xe){return new Promise(function(Ue,ut){ke.push([Oe,Xe,Ue,ut])>1||yt(Oe,Xe)})})}function yt(Oe,Xe){try{!function ft(Oe){Oe.value instanceof ue?Promise.resolve(Oe.value.v).then(bt,Ot):Ze(ke[0][2],Oe)}(ie[Oe](Xe))}catch(Ue){Ze(ke[0][3],Ue)}}function bt(Oe){yt("next",Oe)}function Ot(Oe){yt("throw",Oe)}function Ze(Oe,Xe){Oe(Xe),ke.shift(),ke.length&&yt(ke[0][0],ke[0][1])}}function we(Z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var fe,Y=Z[Symbol.asyncIterator];return Y?Y.call(Z):(Z=function k(Z){var Y="function"==typeof Symbol&&Symbol.iterator,fe=Y&&Z[Y],ie=0;if(fe)return fe.call(Z);if(Z&&"number"==typeof Z.length)return{next:function(){return Z&&ie>=Z.length&&(Z=void 0),{value:Z&&Z[ie++],done:!Z}}};throw new TypeError(Y?"Object is not iterable.":"Symbol.iterator is not defined.")}(Z),fe={},ie("next"),ie("throw"),ie("return"),fe[Symbol.asyncIterator]=function(){return this},fe);function ie(ke){fe[ke]=Z[ke]&&function(at){return new Promise(function(yt,ft){!function Ve(ke,at,yt,ft){Promise.resolve(ft).then(function(bt){ke({value:bt,done:yt})},at)}(yt,ft,(at=Z[ke](at)).done,at.value)})}}}b.d(je,{FC:()=>_e,KL:()=>we,gn:()=>R,mG:()=>Q,qq:()=>ue}),"function"==typeof SuppressedError&&SuppressedError}},ct=>{ct(ct.s=7154)}]); \ No newline at end of file diff --git a/src/main/scala/ch/seidel/kutu/domain/TeamRegel.scala b/src/main/scala/ch/seidel/kutu/domain/TeamRegel.scala index 22a3be0e..0e618aca 100644 --- a/src/main/scala/ch/seidel/kutu/domain/TeamRegel.scala +++ b/src/main/scala/ch/seidel/kutu/domain/TeamRegel.scala @@ -3,17 +3,24 @@ package ch.seidel.kutu.domain object TeamRegel { val defaultRegel = TeamRegelList(List(), Some("Keine Teams")) + val vereinGesamt = "VereinGesamt" + val vereinGeraet = "VereinGerät" + val verbandGesamt = "VerbandGesamt" + val verbandGeraet = "VerbandGerät" + val vereinRegeln = Set(vereinGesamt, vereinGeraet) + val verbandRegeln = Set(verbandGesamt, verbandGeraet) + val predefined = Map( ("Keine Teams" -> "") - , ("Aus Verein, drei Bestnoten pro Gerät, mit unbeschränkter Anzahl Mitglieder" -> "VereinGerät(3/*)") - , ("Aus Verein, drei Bestnoten pro Gerät, mit max vier Mitglieder" -> "VereinGerät(3/4)") - , ("Aus Verein, drei Gesamt-Bestnoten, mit unbeschränkter Anzahl Mitglieder" -> "VereinGesamt(3/*)") - , ("Aus Verein, drei Gesamt-Bestnoten, mit max vier Mitglieder" -> "VereinGesamt(3/4)") - , ("Aus Verband, drei Bestnoten pro Gerät, mit unbeschränkter Anzahl Mitglieder" -> "VerbandGerät(3/*)") - , ("Aus Verband, drei Bestnoten pro Gerät, mit max vier Mitglieder" -> "VerbandGerät(3/4)") - , ("Aus Verband, drei Gesamt-Bestnoten, mit unbeschränkter Anzahl Mitglieder" -> "VerbandGesamt(3/*)") - , ("Aus Verband, drei Gesamt-Bestnoten, mit max vier Mitglieder" -> "VerbandGesamt(3/4)") - , ("Individuell" -> "VereinGesamt(//+), VerbandGesamt(/), VereinGerät(/), VerbandGerät(/)") + , ("Aus Verein, drei Bestnoten pro Gerät, mit unbeschränkter Anzahl Mitglieder" -> s"$vereinGeraet(3/*)") + , ("Aus Verein, drei Bestnoten pro Gerät, mit max vier Mitglieder" -> s"$vereinGeraet(3/4)") + , ("Aus Verein, drei Gesamt-Bestnoten, mit unbeschränkter Anzahl Mitglieder" -> s"$vereinGesamt(3/*)") + , ("Aus Verein, drei Gesamt-Bestnoten, mit max vier Mitglieder" -> s"$vereinGesamt(3/4)") + , ("Aus Verband, drei Bestnoten pro Gerät, mit unbeschränkter Anzahl Mitglieder" -> s"$verbandGeraet(3/*)") + , ("Aus Verband, drei Bestnoten pro Gerät, mit max vier Mitglieder" -> s"$verbandGeraet(3/4)") + , ("Aus Verband, drei Gesamt-Bestnoten, mit unbeschränkter Anzahl Mitglieder" -> s"$verbandGesamt(3/*)") + , ("Aus Verband, drei Gesamt-Bestnoten, mit max vier Mitglieder" -> s"$verbandGesamt(3/4)") + , ("Individuell" -> s"$vereinGesamt(//+), $verbandGesamt(/), VereinGerät(/), $vereinGeraet(/)") ) private val rangePattern = "([\\S]+)\\(([0-9]+)\\/([0-9,\\*]*)(\\/[\\S\\s\\/0-9+]*)?\\)".r @@ -24,10 +31,10 @@ object TeamRegel { case rangePattern(rulename, min, max, extrateams) => val extraTeamsDef = if (extrateams == null) "" else extrateams rulename match { - case "VereinGesamt" => Some(TeamRegelVereinGesamt(min, defaultMax(max), extraTeamsDef)) - case "VerbandGesamt" => Some(TeamRegelVerbandGesamt(min, defaultMax(max), extraTeamsDef)) - case "VereinGerät" => Some(TeamRegelVereinGeraet(min, defaultMax(max), extraTeamsDef)) - case "VerbandGerät" => Some(TeamRegelVerbandGeraet(min, defaultMax(max), extraTeamsDef)) + case `vereinGesamt` => Some(TeamRegelVereinGesamt(min, defaultMax(max), extraTeamsDef)) + case `verbandGesamt` => Some(TeamRegelVerbandGesamt(min, defaultMax(max), extraTeamsDef)) + case `vereinGeraet` => Some(TeamRegelVereinGeraet(min, defaultMax(max), extraTeamsDef)) + case `verbandGeraet` => Some(TeamRegelVerbandGeraet(min, defaultMax(max), extraTeamsDef)) case _ => None } case "Keine Teams" =>None diff --git a/src/main/scala/ch/seidel/kutu/domain/package.scala b/src/main/scala/ch/seidel/kutu/domain/package.scala index 4fde9fca..362a7bf9 100644 --- a/src/main/scala/ch/seidel/kutu/domain/package.scala +++ b/src/main/scala/ch/seidel/kutu/domain/package.scala @@ -727,7 +727,9 @@ package object domain { override def easyprint = f"$titel am $datum%td.$datum%tm.$datum%tY" - lazy val extraTeams: List[String] = teamrule.map(TeamRegel(_).getExtrateams).toList.flatten + lazy val teamRegeln: Option[TeamRegel] = teamrule.map(TeamRegel(_)) + lazy val extraTeams: List[String] = teamRegeln.map(_.getExtrateams).toList.flatten + lazy val hasTeams: Boolean = teamRegeln.exists(_.teamsAllowed) def toView(programm: ProgrammView): WettkampfView = { WettkampfView(id, uuid, datum, titel, programm, auszeichnung, auszeichnungendnote, notificationEMail, altersklassen.getOrElse(""), jahrgangsklassen.getOrElse(""), punktegleichstandsregel.getOrElse(""), rotation.getOrElse(""), teamrule.getOrElse("")) diff --git a/src/main/scala/ch/seidel/kutu/http/RegistrationRoutes.scala b/src/main/scala/ch/seidel/kutu/http/RegistrationRoutes.scala index 58fe5067..360a5f8d 100644 --- a/src/main/scala/ch/seidel/kutu/http/RegistrationRoutes.scala +++ b/src/main/scala/ch/seidel/kutu/http/RegistrationRoutes.scala @@ -10,7 +10,7 @@ import ch.seidel.kutu.{Config, domain} import ch.seidel.kutu.Config.remoteAdminBaseUrl import ch.seidel.kutu.akka._ import ch.seidel.kutu.data.RegistrationAdmin.adjustWertungRiegen -import ch.seidel.kutu.domain.{AthletRegistration, AthletView, JudgeRegistration, KutuService, NewRegistration, ProgrammRaw, Registration, RegistrationResetPW, TeamItem, Verein, Wettkampf, dateToExportedStr, encodeFileName, str2SQLDate} +import ch.seidel.kutu.domain.{AthletRegistration, AthletView, JudgeRegistration, KutuService, NewRegistration, ProgrammRaw, Registration, RegistrationResetPW, TeamItem, TeamRegel, Verein, Wettkampf, dateToExportedStr, encodeFileName, str2SQLDate} import ch.seidel.kutu.http.AuthSupport.OPTION_LOGINRESET import ch.seidel.kutu.renderer.MailTemplates.createPasswordResetMail import ch.seidel.kutu.renderer.{CompetitionsClubsToHtmlRenderer, CompetitionsJudgeToHtmlRenderer, PrintUtil} @@ -169,11 +169,13 @@ trait RegistrationRoutes extends SprayJsonSupport with JwtSupport with JsonSuppo CompetitionRegistrationClientActor.publish(ApproveEMail(wettkampf.uuid.get, mail), clientId).map{ case EMailApproved(message, success) => s"${wettkampf.easyprint}: $message" + case _ => + "unable to approve - unexpected behavior" } } case _ => complete {Future { - "" + "unable to approve without mail" }} } } @@ -375,24 +377,29 @@ trait RegistrationRoutes extends SprayJsonSupport with JwtSupport with JsonSuppo pathEndOrSingleSlash { get { complete { - val registration = selectRegistration(registrationId) - val (teamname, teamNumbers) = if (wettkampf.teamrule.exists(r => r.contains("VereinGe"))) - (s"${registration.toVerein.extendedprint}", selectAthletRegistrations(registrationId) - .flatMap(_.team) - .filter(_ > 0).distinct.sorted) - else - (s"${registration.verband}", selectRegistrations() - .filter(_.verband.equalsIgnoreCase(registration.verband)) - .flatMap(vereinsReg => selectAthletRegistrations(vereinsReg.id)) - .flatMap(_.team) - .filter(_ > 0).distinct.sorted) + if (wettkampf.hasTeams) { + val registration = selectRegistration(registrationId) + val (teamname, teamNumbers) = if (wettkampf.teamrule.exists(r => TeamRegel.vereinRegeln.exists(p => r.contains(p)))) + (s"${registration.toVerein.extendedprint}", selectAthletRegistrations(registrationId) + .flatMap(_.team) + .filter(_ > 0).distinct.sorted) + else if (wettkampf.teamrule.exists(r => TeamRegel.verbandRegeln.exists(p => r.contains(p)))) + (s"${registration.verband}", selectRegistrations() + .filter(_.verband.equalsIgnoreCase(registration.verband)) + .flatMap(vereinsReg => selectAthletRegistrations(vereinsReg.id)) + .flatMap(_.team) + .filter(_ > 0).distinct.sorted) + else (s"${registration.toVerein.extendedprint}", List.empty) - val nextTeamNumber = if (teamNumbers.isEmpty) 1 else teamNumbers.max + 1 + val nextTeamNumber = if (teamNumbers.isEmpty) 1 else teamNumbers.max + 1 - (1 to nextTeamNumber).toList.map(idx => TeamItem(idx, teamname)) ::: - wettkampf.extraTeams - .filter(_.nonEmpty) - .zipWithIndex.map(item => TeamItem(item._2 * -1 - 1, item._1)) + (1 to nextTeamNumber).toList.map(idx => TeamItem(idx, teamname)) ::: + wettkampf.extraTeams + .filter(_.nonEmpty) + .zipWithIndex.map(item => TeamItem(item._2 * -1 - 1, item._1)) + } else { + List[TeamItem]() + } } } }