(self.webpackChunksnapp_front_app=self.webpackChunksnapp_front_app||[]).push([[179],{8255:Ze=>{function Ne(R){return Promise.resolve().then(()=>{var i=new Error("Cannot find module '"+R+"'");throw i.code="MODULE_NOT_FOUND",i})}Ne.keys=()=>[],Ne.resolve=Ne,Ne.id=8255,Ze.exports=Ne},8583:(Ze,Ne,R)=>{"use strict";R.d(Ne,{mr:()=>Fe,ez:()=>go,K0:()=>$,uU:()=>Nr,Do:()=>ge,V_:()=>j,Ye:()=>ze,S$:()=>ce,mk:()=>Fr,sg:()=>$r,O5:()=>C,tP:()=>dt,b0:()=>Oe,lw:()=>K,EM:()=>Ci,JF:()=>Di,PM:()=>Xr,qS:()=>zn,w_:()=>ie,bD:()=>Zr,q:()=>me,Mx:()=>bn,HT:()=>ae});var i=R(639);let A=null;function me(){return A}function ae(M){A||(A=M)}class ie{}const $=new i.OlP("DocumentToken");let K=(()=>{class M{historyGo(x){throw new Error("Not implemented")}}return M.\u0275fac=function(x){return new(x||M)},M.\u0275prov=(0,i.Yz7)({factory:Y,token:M,providedIn:"platform"}),M})();function Y(){return(0,i.LFG)(V)}const j=new i.OlP("Location Initialized");let V=(()=>{class M extends K{constructor(x){super(),this._doc=x,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return me().getBaseHref(this._doc)}onPopState(x){const J=me().getGlobalEventTarget(this._doc,"window");return J.addEventListener("popstate",x,!1),()=>J.removeEventListener("popstate",x)}onHashChange(x){const J=me().getGlobalEventTarget(this._doc,"window");return J.addEventListener("hashchange",x,!1),()=>J.removeEventListener("hashchange",x)}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(x){this.location.pathname=x}pushState(x,J,Ee){L()?this._history.pushState(x,J,Ee):this.location.hash=Ee}replaceState(x,J,Ee){L()?this._history.replaceState(x,J,Ee):this.location.hash=Ee}forward(){this._history.forward()}back(){this._history.back()}historyGo(x=0){this._history.go(x)}getState(){return this._history.state}}return M.\u0275fac=function(x){return new(x||M)(i.LFG($))},M.\u0275prov=(0,i.Yz7)({factory:q,token:M,providedIn:"platform"}),M})();function L(){return!!window.history.pushState}function q(){return new V((0,i.LFG)($))}function oe(M,G){if(0==M.length)return G;if(0==G.length)return M;let x=0;return M.endsWith("/")&&x++,G.startsWith("/")&&x++,2==x?M+G.substring(1):1==x?M+G:M+"/"+G}function he(M){const G=M.match(/#|\?|$/),x=G&&G.index||M.length;return M.slice(0,x-("/"===M[x-1]?1:0))+M.slice(x)}function te(M){return M&&"?"!==M[0]?"?"+M:M}let ce=(()=>{class M{historyGo(x){throw new Error("Not implemented")}}return M.\u0275fac=function(x){return new(x||M)},M.\u0275prov=(0,i.Yz7)({factory:re,token:M,providedIn:"root"}),M})();function re(M){const G=(0,i.LFG)($).location;return new Oe((0,i.LFG)(K),G&&G.origin||"")}const Fe=new i.OlP("appBaseHref");let Oe=(()=>{class M extends ce{constructor(x,J){if(super(),this._platformLocation=x,this._removeListenerFns=[],null==J&&(J=this._platformLocation.getBaseHrefFromDOM()),null==J)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=J}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}prepareExternalUrl(x){return oe(this._baseHref,x)}path(x=!1){const J=this._platformLocation.pathname+te(this._platformLocation.search),Ee=this._platformLocation.hash;return Ee&&x?`${J}${Ee}`:J}pushState(x,J,Ee,Qe){const st=this.prepareExternalUrl(Ee+te(Qe));this._platformLocation.pushState(x,J,st)}replaceState(x,J,Ee,Qe){const st=this.prepareExternalUrl(Ee+te(Qe));this._platformLocation.replaceState(x,J,st)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(x=0){var J,Ee;null===(Ee=(J=this._platformLocation).historyGo)||void 0===Ee||Ee.call(J,x)}}return M.\u0275fac=function(x){return new(x||M)(i.LFG(K),i.LFG(Fe,8))},M.\u0275prov=i.Yz7({token:M,factory:M.\u0275fac}),M})(),ge=(()=>{class M extends ce{constructor(x,J){super(),this._platformLocation=x,this._baseHref="",this._removeListenerFns=[],null!=J&&(this._baseHref=J)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}path(x=!1){let J=this._platformLocation.hash;return null==J&&(J="#"),J.length>0?J.substring(1):J}prepareExternalUrl(x){const J=oe(this._baseHref,x);return J.length>0?"#"+J:J}pushState(x,J,Ee,Qe){let st=this.prepareExternalUrl(Ee+te(Qe));0==st.length&&(st=this._platformLocation.pathname),this._platformLocation.pushState(x,J,st)}replaceState(x,J,Ee,Qe){let st=this.prepareExternalUrl(Ee+te(Qe));0==st.length&&(st=this._platformLocation.pathname),this._platformLocation.replaceState(x,J,st)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(x=0){var J,Ee;null===(Ee=(J=this._platformLocation).historyGo)||void 0===Ee||Ee.call(J,x)}}return M.\u0275fac=function(x){return new(x||M)(i.LFG(K),i.LFG(Fe,8))},M.\u0275prov=i.Yz7({token:M,factory:M.\u0275fac}),M})(),ze=(()=>{class M{constructor(x,J){this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=x;const Ee=this._platformStrategy.getBaseHref();this._platformLocation=J,this._baseHref=he(_e(Ee)),this._platformStrategy.onPopState(Qe=>{this._subject.emit({url:this.path(!0),pop:!0,state:Qe.state,type:Qe.type})})}path(x=!1){return this.normalize(this._platformStrategy.path(x))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(x,J=""){return this.path()==this.normalize(x+te(J))}normalize(x){return M.stripTrailingSlash(function(M,G){return M&&G.startsWith(M)?G.substring(M.length):G}(this._baseHref,_e(x)))}prepareExternalUrl(x){return x&&"/"!==x[0]&&(x="/"+x),this._platformStrategy.prepareExternalUrl(x)}go(x,J="",Ee=null){this._platformStrategy.pushState(Ee,"",x,J),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+te(J)),Ee)}replaceState(x,J="",Ee=null){this._platformStrategy.replaceState(Ee,"",x,J),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+te(J)),Ee)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(x=0){var J,Ee;null===(Ee=(J=this._platformStrategy).historyGo)||void 0===Ee||Ee.call(J,x)}onUrlChange(x){this._urlChangeListeners.push(x),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(J=>{this._notifyUrlChangeListeners(J.url,J.state)}))}_notifyUrlChangeListeners(x="",J){this._urlChangeListeners.forEach(Ee=>Ee(x,J))}subscribe(x,J,Ee){return this._subject.subscribe({next:x,error:J,complete:Ee})}}return M.\u0275fac=function(x){return new(x||M)(i.LFG(ce),i.LFG(K))},M.normalizeQueryParams=te,M.joinWithSlash=oe,M.stripTrailingSlash=he,M.\u0275prov=(0,i.Yz7)({factory:Je,token:M,providedIn:"root"}),M})();function Je(){return new ze((0,i.LFG)(ce),(0,i.LFG)(K))}function _e(M){return M.replace(/\/index.html$/,"")}var Ue=(()=>((Ue=Ue||{})[Ue.Zero=0]="Zero",Ue[Ue.One=1]="One",Ue[Ue.Two=2]="Two",Ue[Ue.Few=3]="Few",Ue[Ue.Many=4]="Many",Ue[Ue.Other=5]="Other",Ue))(),Ae=(()=>((Ae=Ae||{})[Ae.Format=0]="Format",Ae[Ae.Standalone=1]="Standalone",Ae))(),xe=(()=>((xe=xe||{})[xe.Narrow=0]="Narrow",xe[xe.Abbreviated=1]="Abbreviated",xe[xe.Wide=2]="Wide",xe[xe.Short=3]="Short",xe))(),je=(()=>((je=je||{})[je.Short=0]="Short",je[je.Medium=1]="Medium",je[je.Long=2]="Long",je[je.Full=3]="Full",je))(),Xe=(()=>((Xe=Xe||{})[Xe.Decimal=0]="Decimal",Xe[Xe.Group=1]="Group",Xe[Xe.List=2]="List",Xe[Xe.PercentSign=3]="PercentSign",Xe[Xe.PlusSign=4]="PlusSign",Xe[Xe.MinusSign=5]="MinusSign",Xe[Xe.Exponential=6]="Exponential",Xe[Xe.SuperscriptingExponent=7]="SuperscriptingExponent",Xe[Xe.PerMille=8]="PerMille",Xe[Xe.Infinity=9]="Infinity",Xe[Xe.NaN=10]="NaN",Xe[Xe.TimeSeparator=11]="TimeSeparator",Xe[Xe.CurrencyDecimal=12]="CurrencyDecimal",Xe[Xe.CurrencyGroup=13]="CurrencyGroup",Xe))();function Ye(M,G){return Un((0,i.cg1)(M)[i.wAp.DateFormat],G)}function Et(M,G){return Un((0,i.cg1)(M)[i.wAp.TimeFormat],G)}function Ct(M,G){return Un((0,i.cg1)(M)[i.wAp.DateTimeFormat],G)}function ht(M,G){const x=(0,i.cg1)(M),J=x[i.wAp.NumberSymbols][G];if(void 0===J){if(G===Xe.CurrencyDecimal)return x[i.wAp.NumberSymbols][Xe.Decimal];if(G===Xe.CurrencyGroup)return x[i.wAp.NumberSymbols][Xe.Group]}return J}const kt=i.kL8;function Fn(M){if(!M[i.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${M[i.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Un(M,G){for(let x=G;x>-1;x--)if(void 0!==M[x])return M[x];throw new Error("Locale data API: locale data undefined")}function Nn(M){const[G,x]=M.split(":");return{hours:+G,minutes:+x}}const we=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,rt={},ke=/((?:[^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 bt=(()=>((bt=bt||{})[bt.Short=0]="Short",bt[bt.ShortGMT=1]="ShortGMT",bt[bt.Long=2]="Long",bt[bt.Extended=3]="Extended",bt))(),ft=(()=>((ft=ft||{})[ft.FullYear=0]="FullYear",ft[ft.Month=1]="Month",ft[ft.Date=2]="Date",ft[ft.Hours=3]="Hours",ft[ft.Minutes=4]="Minutes",ft[ft.Seconds=5]="Seconds",ft[ft.FractionalSeconds=6]="FractionalSeconds",ft[ft.Day=7]="Day",ft))(),gt=(()=>((gt=gt||{})[gt.DayPeriods=0]="DayPeriods",gt[gt.Days=1]="Days",gt[gt.Months=2]="Months",gt[gt.Eras=3]="Eras",gt))();function zt(M,G,x,J){let Ee=function(M){if(Mr(M))return M;if("number"==typeof M&&!isNaN(M))return new Date(M);if("string"==typeof M){if(M=M.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(M)){const[Ee,Qe=1,st=1]=M.split("-").map(T=>+T);return Dn(Ee,Qe-1,st)}const x=parseFloat(M);if(!isNaN(M-x))return new Date(x);let J;if(J=M.match(we))return function(M){const G=new Date(0);let x=0,J=0;const Ee=M[8]?G.setUTCFullYear:G.setFullYear,Qe=M[8]?G.setUTCHours:G.setHours;M[9]&&(x=Number(M[9]+M[10]),J=Number(M[9]+M[11])),Ee.call(G,Number(M[1]),Number(M[2])-1,Number(M[3]));const st=Number(M[4]||0)-x,T=Number(M[5]||0)-J,D=Number(M[6]||0),E=Math.floor(1e3*parseFloat("0."+(M[7]||0)));return Qe.call(G,st,T,D,E),G}(J)}const G=new Date(M);if(!Mr(G))throw new Error(`Unable to convert "${M}" into a date`);return G}(M);G=Zt(x,G)||G;let T,st=[];for(;G;){if(T=ke.exec(G),!T){st.push(G);break}{st=st.concat(T.slice(1));const U=st.pop();if(!U)break;G=U}}let D=Ee.getTimezoneOffset();J&&(D=dr(J,D),Ee=function(M,G,x){const Ee=M.getTimezoneOffset();return function(M,G){return(M=new Date(M.getTime())).setMinutes(M.getMinutes()+G),M}(M,-1*(dr(G,Ee)-Ee))}(Ee,J));let E="";return st.forEach(U=>{const Pe=function(M){if(gr[M])return gr[M];let G;switch(M){case"G":case"GG":case"GGG":G=Qt(gt.Eras,xe.Abbreviated);break;case"GGGG":G=Qt(gt.Eras,xe.Wide);break;case"GGGGG":G=Qt(gt.Eras,xe.Narrow);break;case"y":G=St(ft.FullYear,1,0,!1,!0);break;case"yy":G=St(ft.FullYear,2,0,!0,!0);break;case"yyy":G=St(ft.FullYear,3,0,!1,!0);break;case"yyyy":G=St(ft.FullYear,4,0,!1,!0);break;case"Y":G=ir(1);break;case"YY":G=ir(2,!0);break;case"YYY":G=ir(3);break;case"YYYY":G=ir(4);break;case"M":case"L":G=St(ft.Month,1,1);break;case"MM":case"LL":G=St(ft.Month,2,1);break;case"MMM":G=Qt(gt.Months,xe.Abbreviated);break;case"MMMM":G=Qt(gt.Months,xe.Wide);break;case"MMMMM":G=Qt(gt.Months,xe.Narrow);break;case"LLL":G=Qt(gt.Months,xe.Abbreviated,Ae.Standalone);break;case"LLLL":G=Qt(gt.Months,xe.Wide,Ae.Standalone);break;case"LLLLL":G=Qt(gt.Months,xe.Narrow,Ae.Standalone);break;case"w":G=on(1);break;case"ww":G=on(2);break;case"W":G=on(1,!0);break;case"d":G=St(ft.Date,1);break;case"dd":G=St(ft.Date,2);break;case"c":case"cc":G=St(ft.Day,1);break;case"ccc":G=Qt(gt.Days,xe.Abbreviated,Ae.Standalone);break;case"cccc":G=Qt(gt.Days,xe.Wide,Ae.Standalone);break;case"ccccc":G=Qt(gt.Days,xe.Narrow,Ae.Standalone);break;case"cccccc":G=Qt(gt.Days,xe.Short,Ae.Standalone);break;case"E":case"EE":case"EEE":G=Qt(gt.Days,xe.Abbreviated);break;case"EEEE":G=Qt(gt.Days,xe.Wide);break;case"EEEEE":G=Qt(gt.Days,xe.Narrow);break;case"EEEEEE":G=Qt(gt.Days,xe.Short);break;case"a":case"aa":case"aaa":G=Qt(gt.DayPeriods,xe.Abbreviated);break;case"aaaa":G=Qt(gt.DayPeriods,xe.Wide);break;case"aaaaa":G=Qt(gt.DayPeriods,xe.Narrow);break;case"b":case"bb":case"bbb":G=Qt(gt.DayPeriods,xe.Abbreviated,Ae.Standalone,!0);break;case"bbbb":G=Qt(gt.DayPeriods,xe.Wide,Ae.Standalone,!0);break;case"bbbbb":G=Qt(gt.DayPeriods,xe.Narrow,Ae.Standalone,!0);break;case"B":case"BB":case"BBB":G=Qt(gt.DayPeriods,xe.Abbreviated,Ae.Format,!0);break;case"BBBB":G=Qt(gt.DayPeriods,xe.Wide,Ae.Format,!0);break;case"BBBBB":G=Qt(gt.DayPeriods,xe.Narrow,Ae.Format,!0);break;case"h":G=St(ft.Hours,1,-12);break;case"hh":G=St(ft.Hours,2,-12);break;case"H":G=St(ft.Hours,1);break;case"HH":G=St(ft.Hours,2);break;case"m":G=St(ft.Minutes,1);break;case"mm":G=St(ft.Minutes,2);break;case"s":G=St(ft.Seconds,1);break;case"ss":G=St(ft.Seconds,2);break;case"S":G=St(ft.FractionalSeconds,1);break;case"SS":G=St(ft.FractionalSeconds,2);break;case"SSS":G=St(ft.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":G=Bn(bt.Short);break;case"ZZZZZ":G=Bn(bt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":G=Bn(bt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":G=Bn(bt.Long);break;default:return null}return gr[M]=G,G}(U);E+=Pe?Pe(Ee,x,D):"''"===U?"'":U.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),E}function Dn(M,G,x){const J=new Date(0);return J.setFullYear(M,G,x),J.setHours(0,0,0),J}function Zt(M,G){const x=function(M){return(0,i.cg1)(M)[i.wAp.LocaleId]}(M);if(rt[x]=rt[x]||{},rt[x][G])return rt[x][G];let J="";switch(G){case"shortDate":J=Ye(M,je.Short);break;case"mediumDate":J=Ye(M,je.Medium);break;case"longDate":J=Ye(M,je.Long);break;case"fullDate":J=Ye(M,je.Full);break;case"shortTime":J=Et(M,je.Short);break;case"mediumTime":J=Et(M,je.Medium);break;case"longTime":J=Et(M,je.Long);break;case"fullTime":J=Et(M,je.Full);break;case"short":const Ee=Zt(M,"shortTime"),Qe=Zt(M,"shortDate");J=In(Ct(M,je.Short),[Ee,Qe]);break;case"medium":const st=Zt(M,"mediumTime"),T=Zt(M,"mediumDate");J=In(Ct(M,je.Medium),[st,T]);break;case"long":const D=Zt(M,"longTime"),E=Zt(M,"longDate");J=In(Ct(M,je.Long),[D,E]);break;case"full":const U=Zt(M,"fullTime"),Pe=Zt(M,"fullDate");J=In(Ct(M,je.Full),[U,Pe])}return J&&(rt[x][G]=J),J}function In(M,G){return G&&(M=M.replace(/\{([^}]+)}/g,function(x,J){return null!=G&&J in G?G[J]:x})),M}function Rn(M,G,x="-",J,Ee){let Qe="";(M<0||Ee&&M<=0)&&(Ee?M=1-M:(M=-M,Qe=x));let st=String(M);for(;st.length0||T>-x)&&(T+=x),M===ft.Hours)0===T&&-12===x&&(T=12);else if(M===ft.FractionalSeconds)return function(M,G){return Rn(M,3).substr(0,G)}(T,G);const D=ht(st,Xe.MinusSign);return Rn(T,G,D,J,Ee)}}function Qt(M,G,x=Ae.Format,J=!1){return function(Ee,Qe){return function(M,G,x,J,Ee,Qe){switch(x){case gt.Months:return function(M,G,x){const J=(0,i.cg1)(M),Qe=Un([J[i.wAp.MonthsFormat],J[i.wAp.MonthsStandalone]],G);return Un(Qe,x)}(G,Ee,J)[M.getMonth()];case gt.Days:return function(M,G,x){const J=(0,i.cg1)(M),Qe=Un([J[i.wAp.DaysFormat],J[i.wAp.DaysStandalone]],G);return Un(Qe,x)}(G,Ee,J)[M.getDay()];case gt.DayPeriods:const st=M.getHours(),T=M.getMinutes();if(Qe){const E=function(M){const G=(0,i.cg1)(M);return Fn(G),(G[i.wAp.ExtraData][2]||[]).map(J=>"string"==typeof J?Nn(J):[Nn(J[0]),Nn(J[1])])}(G),U=function(M,G,x){const J=(0,i.cg1)(M);Fn(J);const Qe=Un([J[i.wAp.ExtraData][0],J[i.wAp.ExtraData][1]],G)||[];return Un(Qe,x)||[]}(G,Ee,J),Pe=E.findIndex(ut=>{if(Array.isArray(ut)){const[Wt,un]=ut,Wn=st>=Wt.hours&&T>=Wt.minutes,kn=st0?Math.floor(Ee/60):Math.ceil(Ee/60);switch(M){case bt.Short:return(Ee>=0?"+":"")+Rn(st,2,Qe)+Rn(Math.abs(Ee%60),2,Qe);case bt.ShortGMT:return"GMT"+(Ee>=0?"+":"")+Rn(st,1,Qe);case bt.Long:return"GMT"+(Ee>=0?"+":"")+Rn(st,2,Qe)+":"+Rn(Math.abs(Ee%60),2,Qe);case bt.Extended:return 0===J?"Z":(Ee>=0?"+":"")+Rn(st,2,Qe)+":"+Rn(Math.abs(Ee%60),2,Qe);default:throw new Error(`Unknown zone width "${M}"`)}}}function yt(M){return Dn(M.getFullYear(),M.getMonth(),M.getDate()+(4-M.getDay()))}function on(M,G=!1){return function(x,J){let Ee;if(G){const Qe=new Date(x.getFullYear(),x.getMonth(),1).getDay()-1,st=x.getDate();Ee=1+Math.floor((st+Qe)/7)}else{const Qe=yt(x),st=function(M){const G=Dn(M,0,1).getDay();return Dn(M,0,1+(G<=4?4:11)-G)}(Qe.getFullYear()),T=Qe.getTime()-st.getTime();Ee=1+Math.round(T/6048e5)}return Rn(Ee,M,ht(J,Xe.MinusSign))}}function ir(M,G=!1){return function(x,J){return Rn(yt(x).getFullYear(),M,ht(J,Xe.MinusSign),G)}}const gr={};function dr(M,G){M=M.replace(/:/g,"");const x=Date.parse("Jan 01, 1970 00:00:00 "+M)/6e4;return isNaN(x)?G:x}function Mr(M){return M instanceof Date&&!isNaN(M.valueOf())}class Jt{}let Sn=(()=>{class M extends Jt{constructor(x){super(),this.locale=x}getPluralCategory(x,J){switch(kt(J||this.locale)(x)){case Ue.Zero:return"zero";case Ue.One:return"one";case Ue.Two:return"two";case Ue.Few:return"few";case Ue.Many:return"many";default:return"other"}}}return M.\u0275fac=function(x){return new(x||M)(i.LFG(i.soG))},M.\u0275prov=i.Yz7({token:M,factory:M.\u0275fac}),M})();function zn(M,G,x){return(0,i.dwT)(M,G,x)}function bn(M,G){G=encodeURIComponent(G);for(const x of M.split(";")){const J=x.indexOf("="),[Ee,Qe]=-1==J?[x,""]:[x.slice(0,J),x.slice(J+1)];if(Ee.trim()===G)return decodeURIComponent(Qe)}return null}let Fr=(()=>{class M{constructor(x,J,Ee,Qe){this._iterableDiffers=x,this._keyValueDiffers=J,this._ngEl=Ee,this._renderer=Qe,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(x){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof x?x.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(x){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof x?x.split(/\s+/):x,this._rawClass&&((0,i.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const x=this._iterableDiffer.diff(this._rawClass);x&&this._applyIterableChanges(x)}else if(this._keyValueDiffer){const x=this._keyValueDiffer.diff(this._rawClass);x&&this._applyKeyValueChanges(x)}}_applyKeyValueChanges(x){x.forEachAddedItem(J=>this._toggleClass(J.key,J.currentValue)),x.forEachChangedItem(J=>this._toggleClass(J.key,J.currentValue)),x.forEachRemovedItem(J=>{J.previousValue&&this._toggleClass(J.key,!1)})}_applyIterableChanges(x){x.forEachAddedItem(J=>{if("string"!=typeof J.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,i.AaK)(J.item)}`);this._toggleClass(J.item,!0)}),x.forEachRemovedItem(J=>this._toggleClass(J.item,!1))}_applyClasses(x){x&&(Array.isArray(x)||x instanceof Set?x.forEach(J=>this._toggleClass(J,!0)):Object.keys(x).forEach(J=>this._toggleClass(J,!!x[J])))}_removeClasses(x){x&&(Array.isArray(x)||x instanceof Set?x.forEach(J=>this._toggleClass(J,!1)):Object.keys(x).forEach(J=>this._toggleClass(J,!1)))}_toggleClass(x,J){(x=x.trim())&&x.split(/\s+/g).forEach(Ee=>{J?this._renderer.addClass(this._ngEl.nativeElement,Ee):this._renderer.removeClass(this._ngEl.nativeElement,Ee)})}}return M.\u0275fac=function(x){return new(x||M)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},M.\u0275dir=i.lG2({type:M,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),M})();class Bt{constructor(G,x,J,Ee){this.$implicit=G,this.ngForOf=x,this.index=J,this.count=Ee}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 $r=(()=>{class M{constructor(x,J,Ee){this._viewContainer=x,this._template=J,this._differs=Ee,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(x){this._ngForOf=x,this._ngForOfDirty=!0}set ngForTrackBy(x){this._trackByFn=x}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(x){x&&(this._template=x)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const x=this._ngForOf;if(!this._differ&&x)try{this._differ=this._differs.find(x).create(this.ngForTrackBy)}catch(J){throw new Error(`Cannot find a differ supporting object '${x}' of type '${function(M){return M.name||typeof M}(x)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const x=this._differ.diff(this._ngForOf);x&&this._applyChanges(x)}}_applyChanges(x){const J=[];x.forEachOperation((Ee,Qe,st)=>{if(null==Ee.previousIndex){const T=this._viewContainer.createEmbeddedView(this._template,new Bt(null,this._ngForOf,-1,-1),null===st?void 0:st),D=new X(Ee,T);J.push(D)}else if(null==st)this._viewContainer.remove(null===Qe?void 0:Qe);else if(null!==Qe){const T=this._viewContainer.get(Qe);this._viewContainer.move(T,st);const D=new X(Ee,T);J.push(D)}});for(let Ee=0;Ee{this._viewContainer.get(Ee.currentIndex).context.$implicit=Ee.item})}_perViewChange(x,J){x.context.$implicit=J.item}static ngTemplateContextGuard(x,J){return!0}}return M.\u0275fac=function(x){return new(x||M)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},M.\u0275dir=i.lG2({type:M,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),M})();class X{constructor(G,x){this.record=G,this.view=x}}let C=(()=>{class M{constructor(x,J){this._viewContainer=x,this._context=new P,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=J}set ngIf(x){this._context.$implicit=this._context.ngIf=x,this._updateView()}set ngIfThen(x){z("ngIfThen",x),this._thenTemplateRef=x,this._thenViewRef=null,this._updateView()}set ngIfElse(x){z("ngIfElse",x),this._elseTemplateRef=x,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(x,J){return!0}}return M.\u0275fac=function(x){return new(x||M)(i.Y36(i.s_b),i.Y36(i.Rgc))},M.\u0275dir=i.lG2({type:M,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),M})();class P{constructor(){this.$implicit=null,this.ngIf=null}}function z(M,G){if(G&&!G.createEmbeddedView)throw new Error(`${M} must be a TemplateRef, but received '${(0,i.AaK)(G)}'.`)}let dt=(()=>{class M{constructor(x){this._viewContainerRef=x,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(x){if(x.ngTemplateOutlet){const J=this._viewContainerRef;this._viewRef&&J.remove(J.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?J.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&x.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return M.\u0275fac=function(x){return new(x||M)(i.Y36(i.s_b))},M.\u0275dir=i.lG2({type:M,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.TTD]}),M})();let Nr=(()=>{class M{constructor(x){this.locale=x}transform(x,J="mediumDate",Ee,Qe){if(null==x||""===x||x!=x)return null;try{return zt(x,J,Qe||this.locale,Ee)}catch(st){throw function(M,G){return Error(`InvalidPipeArgument: '${G}' for pipe '${(0,i.AaK)(M)}'`)}(M,st.message)}}}return M.\u0275fac=function(x){return new(x||M)(i.Y36(i.soG,16))},M.\u0275pipe=i.Yjl({name:"date",type:M,pure:!0}),M})(),go=(()=>{class M{}return M.\u0275fac=function(x){return new(x||M)},M.\u0275mod=i.oAB({type:M}),M.\u0275inj=i.cJS({providers:[{provide:Jt,useClass:Sn}]}),M})();const Zr="browser";function Xr(M){return"server"===M}let Ci=(()=>{class M{}return M.\u0275prov=(0,i.Yz7)({token:M,providedIn:"root",factory:()=>new Vo((0,i.LFG)($),window)}),M})();class Vo{constructor(G,x){this.document=G,this.window=x,this.offset=()=>[0,0]}setOffset(G){this.offset=Array.isArray(G)?()=>G:G}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(G){this.supportsScrolling()&&this.window.scrollTo(G[0],G[1])}scrollToAnchor(G){if(!this.supportsScrolling())return;const x=function(M,G){const x=M.getElementById(G)||M.getElementsByName(G)[0];if(x)return x;if("function"==typeof M.createTreeWalker&&M.body&&(M.body.createShadowRoot||M.body.attachShadow)){const J=M.createTreeWalker(M.body,NodeFilter.SHOW_ELEMENT);let Ee=J.currentNode;for(;Ee;){const Qe=Ee.shadowRoot;if(Qe){const st=Qe.getElementById(G)||Qe.querySelector(`[name="${G}"]`);if(st)return st}Ee=J.nextNode()}}return null}(this.document,G);x&&(this.scrollToElement(x),this.attemptFocus(x))}setHistoryScrollRestoration(G){if(this.supportScrollRestoration()){const x=this.window.history;x&&x.scrollRestoration&&(x.scrollRestoration=G)}}scrollToElement(G){const x=G.getBoundingClientRect(),J=x.left+this.window.pageXOffset,Ee=x.top+this.window.pageYOffset,Qe=this.offset();this.window.scrollTo(J-Qe[0],Ee-Qe[1])}attemptFocus(G){return G.focus(),this.document.activeElement===G}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const G=mo(this.window.history)||mo(Object.getPrototypeOf(this.window.history));return!(!G||!G.writable&&!G.set)}catch(G){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(G){return!1}}}function mo(M){return Object.getOwnPropertyDescriptor(M,"scrollRestoration")}class Di{}},1841:(Ze,Ne,R)=>{"use strict";R.d(Ne,{TP:()=>jt,eN:()=>Xe,JF:()=>Un,UA:()=>xe,WM:()=>j,LE:()=>ce,Zn:()=>Ae});var i=R(8583),A=R(639),me=R(5917),de=R(7574),ae=R(4612),ie=R(5435),$=R(8002);class K{}class Y{}class j{constructor(Ce){this.normalizedNames=new Map,this.lazyUpdate=null,Ce?this.lazyInit="string"==typeof Ce?()=>{this.headers=new Map,Ce.split("\n").forEach(we=>{const rt=we.indexOf(":");if(rt>0){const ke=we.slice(0,rt),bt=ke.toLowerCase(),ft=we.slice(rt+1).trim();this.maybeSetNormalizedName(ke,bt),this.headers.has(bt)?this.headers.get(bt).push(ft):this.headers.set(bt,[ft])}})}:()=>{this.headers=new Map,Object.keys(Ce).forEach(we=>{let rt=Ce[we];const ke=we.toLowerCase();"string"==typeof rt&&(rt=[rt]),rt.length>0&&(this.headers.set(ke,rt),this.maybeSetNormalizedName(we,ke))})}:this.headers=new Map}has(Ce){return this.init(),this.headers.has(Ce.toLowerCase())}get(Ce){this.init();const we=this.headers.get(Ce.toLowerCase());return we&&we.length>0?we[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ce){return this.init(),this.headers.get(Ce.toLowerCase())||null}append(Ce,we){return this.clone({name:Ce,value:we,op:"a"})}set(Ce,we){return this.clone({name:Ce,value:we,op:"s"})}delete(Ce,we){return this.clone({name:Ce,value:we,op:"d"})}maybeSetNormalizedName(Ce,we){this.normalizedNames.has(we)||this.normalizedNames.set(we,Ce)}init(){this.lazyInit&&(this.lazyInit instanceof j?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(we=>{this.headers.set(we,Ce.headers.get(we)),this.normalizedNames.set(we,Ce.normalizedNames.get(we))})}clone(Ce){const we=new j;return we.lazyInit=this.lazyInit&&this.lazyInit instanceof j?this.lazyInit:this,we.lazyUpdate=(this.lazyUpdate||[]).concat([Ce]),we}applyUpdate(Ce){const we=Ce.name.toLowerCase();switch(Ce.op){case"a":case"s":let rt=Ce.value;if("string"==typeof rt&&(rt=[rt]),0===rt.length)return;this.maybeSetNormalizedName(Ce.name,we);const ke=("a"===Ce.op?this.headers.get(we):void 0)||[];ke.push(...rt),this.headers.set(we,ke);break;case"d":const bt=Ce.value;if(bt){let ft=this.headers.get(we);if(!ft)return;ft=ft.filter(gt=>-1===bt.indexOf(gt)),0===ft.length?(this.headers.delete(we),this.normalizedNames.delete(we)):this.headers.set(we,ft)}else this.headers.delete(we),this.normalizedNames.delete(we)}}forEach(Ce){this.init(),Array.from(this.normalizedNames.keys()).forEach(we=>Ce(this.normalizedNames.get(we),this.headers.get(we)))}}class V{encodeKey(Ce){return he(Ce)}encodeValue(Ce){return he(Ce)}decodeKey(Ce){return decodeURIComponent(Ce)}decodeValue(Ce){return decodeURIComponent(Ce)}}const q=/%(\d[a-f0-9])/gi,oe={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function he(Ke){return encodeURIComponent(Ke).replace(q,(Ce,we)=>{var rt;return null!==(rt=oe[we])&&void 0!==rt?rt:Ce})}function te(Ke){return`${Ke}`}class ce{constructor(Ce={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ce.encoder||new V,Ce.fromString){if(Ce.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(Ke,Ce){const we=new Map;return Ke.length>0&&Ke.replace(/^\?/,"").split("&").forEach(ke=>{const bt=ke.indexOf("="),[ft,gt]=-1==bt?[Ce.decodeKey(ke),""]:[Ce.decodeKey(ke.slice(0,bt)),Ce.decodeValue(ke.slice(bt+1))],zt=we.get(ft)||[];zt.push(gt),we.set(ft,zt)}),we}(Ce.fromString,this.encoder)}else Ce.fromObject?(this.map=new Map,Object.keys(Ce.fromObject).forEach(we=>{const rt=Ce.fromObject[we];this.map.set(we,Array.isArray(rt)?rt:[rt])})):this.map=null}has(Ce){return this.init(),this.map.has(Ce)}get(Ce){this.init();const we=this.map.get(Ce);return we?we[0]:null}getAll(Ce){return this.init(),this.map.get(Ce)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ce,we){return this.clone({param:Ce,value:we,op:"a"})}appendAll(Ce){const we=[];return Object.keys(Ce).forEach(rt=>{const ke=Ce[rt];Array.isArray(ke)?ke.forEach(bt=>{we.push({param:rt,value:bt,op:"a"})}):we.push({param:rt,value:ke,op:"a"})}),this.clone(we)}set(Ce,we){return this.clone({param:Ce,value:we,op:"s"})}delete(Ce,we){return this.clone({param:Ce,value:we,op:"d"})}toString(){return this.init(),this.keys().map(Ce=>{const we=this.encoder.encodeKey(Ce);return this.map.get(Ce).map(rt=>we+"="+this.encoder.encodeValue(rt)).join("&")}).filter(Ce=>""!==Ce).join("&")}clone(Ce){const we=new ce({encoder:this.encoder});return we.cloneFrom=this.cloneFrom||this,we.updates=(this.updates||[]).concat(Ce),we}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 we=("a"===Ce.op?this.map.get(Ce.param):void 0)||[];we.push(te(Ce.value)),this.map.set(Ce.param,we);break;case"d":if(void 0===Ce.value){this.map.delete(Ce.param);break}{let rt=this.map.get(Ce.param)||[];const ke=rt.indexOf(te(Ce.value));-1!==ke&&rt.splice(ke,1),rt.length>0?this.map.set(Ce.param,rt):this.map.delete(Ce.param)}}}),this.cloneFrom=this.updates=null)}}class Fe{constructor(){this.map=new Map}set(Ce,we){return this.map.set(Ce,we),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}keys(){return this.map.keys()}}function ge(Ke){return"undefined"!=typeof ArrayBuffer&&Ke instanceof ArrayBuffer}function ze(Ke){return"undefined"!=typeof Blob&&Ke instanceof Blob}function Je(Ke){return"undefined"!=typeof FormData&&Ke instanceof FormData}class _e{constructor(Ce,we,rt,ke){let bt;if(this.url=we,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ce.toUpperCase(),function(Ke){switch(Ke){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ke?(this.body=void 0!==rt?rt:null,bt=ke):bt=rt,bt&&(this.reportProgress=!!bt.reportProgress,this.withCredentials=!!bt.withCredentials,bt.responseType&&(this.responseType=bt.responseType),bt.headers&&(this.headers=bt.headers),bt.context&&(this.context=bt.context),bt.params&&(this.params=bt.params)),this.headers||(this.headers=new j),this.context||(this.context=new Fe),this.params){const ft=this.params.toString();if(0===ft.length)this.urlWithParams=we;else{const gt=we.indexOf("?");this.urlWithParams=we+(-1===gt?"?":gtRn.set(en,Ce.setHeaders[en]),Dn)),Ce.setParams&&(Zt=Object.keys(Ce.setParams).reduce((Rn,en)=>Rn.set(en,Ce.setParams[en]),Zt)),new _e(rt,ke,ft,{params:Zt,headers:Dn,context:In,reportProgress:zt,responseType:bt,withCredentials:gt})}}var Se=(()=>((Se=Se||{})[Se.Sent=0]="Sent",Se[Se.UploadProgress=1]="UploadProgress",Se[Se.ResponseHeader=2]="ResponseHeader",Se[Se.DownloadProgress=3]="DownloadProgress",Se[Se.Response=4]="Response",Se[Se.User=5]="User",Se))();class Ve{constructor(Ce,we=200,rt="OK"){this.headers=Ce.headers||new j,this.status=void 0!==Ce.status?Ce.status:we,this.statusText=Ce.statusText||rt,this.url=Ce.url||null,this.ok=this.status>=200&&this.status<300}}class Ue extends Ve{constructor(Ce={}){super(Ce),this.type=Se.ResponseHeader}clone(Ce={}){return new Ue({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 Ae extends Ve{constructor(Ce={}){super(Ce),this.type=Se.Response,this.body=void 0!==Ce.body?Ce.body:null}clone(Ce={}){return new Ae({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 xe extends Ve{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 je(Ke,Ce){return{body:Ce,headers:Ke.headers,context:Ke.context,observe:Ke.observe,params:Ke.params,reportProgress:Ke.reportProgress,responseType:Ke.responseType,withCredentials:Ke.withCredentials}}let Xe=(()=>{class Ke{constructor(we){this.handler=we}request(we,rt,ke={}){let bt;if(we instanceof _e)bt=we;else{let zt,Dn;zt=ke.headers instanceof j?ke.headers:new j(ke.headers),ke.params&&(Dn=ke.params instanceof ce?ke.params:new ce({fromObject:ke.params})),bt=new _e(we,rt,void 0!==ke.body?ke.body:null,{headers:zt,context:ke.context,params:Dn,reportProgress:ke.reportProgress,responseType:ke.responseType||"json",withCredentials:ke.withCredentials})}const ft=(0,me.of)(bt).pipe((0,ae.b)(zt=>this.handler.handle(zt)));if(we instanceof _e||"events"===ke.observe)return ft;const gt=ft.pipe((0,ie.h)(zt=>zt instanceof Ae));switch(ke.observe||"body"){case"body":switch(bt.responseType){case"arraybuffer":return gt.pipe((0,$.U)(zt=>{if(null!==zt.body&&!(zt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return zt.body}));case"blob":return gt.pipe((0,$.U)(zt=>{if(null!==zt.body&&!(zt.body instanceof Blob))throw new Error("Response is not a Blob.");return zt.body}));case"text":return gt.pipe((0,$.U)(zt=>{if(null!==zt.body&&"string"!=typeof zt.body)throw new Error("Response is not a string.");return zt.body}));default:return gt.pipe((0,$.U)(zt=>zt.body))}case"response":return gt;default:throw new Error(`Unreachable: unhandled observe type ${ke.observe}}`)}}delete(we,rt={}){return this.request("DELETE",we,rt)}get(we,rt={}){return this.request("GET",we,rt)}head(we,rt={}){return this.request("HEAD",we,rt)}jsonp(we,rt){return this.request("JSONP",we,{params:(new ce).append(rt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(we,rt={}){return this.request("OPTIONS",we,rt)}patch(we,rt,ke={}){return this.request("PATCH",we,je(ke,rt))}post(we,rt,ke={}){return this.request("POST",we,je(ke,rt))}put(we,rt,ke={}){return this.request("PUT",we,je(ke,rt))}}return Ke.\u0275fac=function(we){return new(we||Ke)(A.LFG(K))},Ke.\u0275prov=A.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();class Ot{constructor(Ce,we){this.next=Ce,this.interceptor=we}handle(Ce){return this.interceptor.intercept(Ce,this.next)}}const jt=new A.OlP("HTTP_INTERCEPTORS");let et=(()=>{class Ke{intercept(we,rt){return rt.handle(we)}}return Ke.\u0275fac=function(we){return new(we||Ke)},Ke.\u0275prov=A.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();const Ct=/^\)\]\}',?\n/;let xt=(()=>{class Ke{constructor(we){this.xhrFactory=we}handle(we){if("JSONP"===we.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new de.y(rt=>{const ke=this.xhrFactory.build();if(ke.open(we.method,we.urlWithParams),we.withCredentials&&(ke.withCredentials=!0),we.headers.forEach((en,St)=>ke.setRequestHeader(en,St.join(","))),we.headers.has("Accept")||ke.setRequestHeader("Accept","application/json, text/plain, */*"),!we.headers.has("Content-Type")){const en=we.detectContentTypeHeader();null!==en&&ke.setRequestHeader("Content-Type",en)}if(we.responseType){const en=we.responseType.toLowerCase();ke.responseType="json"!==en?en:"text"}const bt=we.serializeBody();let ft=null;const gt=()=>{if(null!==ft)return ft;const en=1223===ke.status?204:ke.status,St=ke.statusText||"OK",Zn=new j(ke.getAllResponseHeaders()),Qt=function(Ke){return"responseURL"in Ke&&Ke.responseURL?Ke.responseURL:/^X-Request-URL:/m.test(Ke.getAllResponseHeaders())?Ke.getResponseHeader("X-Request-URL"):null}(ke)||we.url;return ft=new Ue({headers:Zn,status:en,statusText:St,url:Qt}),ft},zt=()=>{let{headers:en,status:St,statusText:Zn,url:Qt}=gt(),wn=null;204!==St&&(wn=void 0===ke.response?ke.responseText:ke.response),0===St&&(St=wn?200:0);let Bn=St>=200&&St<300;if("json"===we.responseType&&"string"==typeof wn){const hn=wn;wn=wn.replace(Ct,"");try{wn=""!==wn?JSON.parse(wn):null}catch(Pr){wn=hn,Bn&&(Bn=!1,wn={error:Pr,text:wn})}}Bn?(rt.next(new Ae({body:wn,headers:en,status:St,statusText:Zn,url:Qt||void 0})),rt.complete()):rt.error(new xe({error:wn,headers:en,status:St,statusText:Zn,url:Qt||void 0}))},Dn=en=>{const{url:St}=gt(),Zn=new xe({error:en,status:ke.status||0,statusText:ke.statusText||"Unknown Error",url:St||void 0});rt.error(Zn)};let Zt=!1;const In=en=>{Zt||(rt.next(gt()),Zt=!0);let St={type:Se.DownloadProgress,loaded:en.loaded};en.lengthComputable&&(St.total=en.total),"text"===we.responseType&&!!ke.responseText&&(St.partialText=ke.responseText),rt.next(St)},Rn=en=>{let St={type:Se.UploadProgress,loaded:en.loaded};en.lengthComputable&&(St.total=en.total),rt.next(St)};return ke.addEventListener("load",zt),ke.addEventListener("error",Dn),ke.addEventListener("timeout",Dn),ke.addEventListener("abort",Dn),we.reportProgress&&(ke.addEventListener("progress",In),null!==bt&&ke.upload&&ke.upload.addEventListener("progress",Rn)),ke.send(bt),rt.next({type:Se.Sent}),()=>{ke.removeEventListener("error",Dn),ke.removeEventListener("abort",Dn),ke.removeEventListener("load",zt),ke.removeEventListener("timeout",Dn),we.reportProgress&&(ke.removeEventListener("progress",In),null!==bt&&ke.upload&&ke.upload.removeEventListener("progress",Rn)),ke.readyState!==ke.DONE&&ke.abort()}})}}return Ke.\u0275fac=function(we){return new(we||Ke)(A.LFG(i.JF))},Ke.\u0275prov=A.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})();const Tt=new A.OlP("XSRF_COOKIE_NAME"),an=new A.OlP("XSRF_HEADER_NAME");class gn{}let rn=(()=>{class Ke{constructor(we,rt,ke){this.doc=we,this.platform=rt,this.cookieName=ke,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const we=this.doc.cookie||"";return we!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i.Mx)(we,this.cookieName),this.lastCookieString=we),this.lastToken}}return Ke.\u0275fac=function(we){return new(we||Ke)(A.LFG(i.K0),A.LFG(A.Lbi),A.LFG(Tt))},Ke.\u0275prov=A.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})(),kt=(()=>{class Ke{constructor(we,rt){this.tokenService=we,this.headerName=rt}intercept(we,rt){const ke=we.url.toLowerCase();if("GET"===we.method||"HEAD"===we.method||ke.startsWith("http://")||ke.startsWith("https://"))return rt.handle(we);const bt=this.tokenService.getToken();return null!==bt&&!we.headers.has(this.headerName)&&(we=we.clone({headers:we.headers.set(this.headerName,bt)})),rt.handle(we)}}return Ke.\u0275fac=function(we){return new(we||Ke)(A.LFG(gn),A.LFG(an))},Ke.\u0275prov=A.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})(),Fn=(()=>{class Ke{constructor(we,rt){this.backend=we,this.injector=rt,this.chain=null}handle(we){if(null===this.chain){const rt=this.injector.get(jt,[]);this.chain=rt.reduceRight((ke,bt)=>new Ot(ke,bt),this.backend)}return this.chain.handle(we)}}return Ke.\u0275fac=function(we){return new(we||Ke)(A.LFG(Y),A.LFG(A.zs3))},Ke.\u0275prov=A.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})(),Jn=(()=>{class Ke{static disable(){return{ngModule:Ke,providers:[{provide:kt,useClass:et}]}}static withOptions(we={}){return{ngModule:Ke,providers:[we.cookieName?{provide:Tt,useValue:we.cookieName}:[],we.headerName?{provide:an,useValue:we.headerName}:[]]}}}return Ke.\u0275fac=function(we){return new(we||Ke)},Ke.\u0275mod=A.oAB({type:Ke}),Ke.\u0275inj=A.cJS({providers:[kt,{provide:jt,useExisting:kt,multi:!0},{provide:gn,useClass:rn},{provide:Tt,useValue:"XSRF-TOKEN"},{provide:an,useValue:"X-XSRF-TOKEN"}]}),Ke})(),Un=(()=>{class Ke{}return Ke.\u0275fac=function(we){return new(we||Ke)},Ke.\u0275mod=A.oAB({type:Ke}),Ke.\u0275inj=A.cJS({providers:[Xe,{provide:K,useClass:Fn},xt,{provide:Y,useExisting:xt}],imports:[[Jn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Ke})()},441:(Ze,Ne,R)=>{var i,A,me;!function(de){if("object"==typeof Ze.exports){var ae=de(0,Ne);void 0!==ae&&(Ze.exports=ae)}else A=[R,Ne],void 0!==(me="function"==typeof(i=de)?i.apply(Ne,A):i)&&(Ze.exports=me)}(function(de,ae){"use strict";Object.defineProperty(ae,"__esModule",{value:!0});var ie=void 0;ae.default=["es",[["a.\xa0m.","p.\xa0m."],ie,ie],ie,[["D","L","M","X","J","V","S"],["dom.","lun.","mar.","mi\xe9.","jue.","vie.","s\xe1b."],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],ie,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene.","feb.","mar.","abr.","may.","jun.","jul.","ago.","sept.","oct.","nov.","dic."],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],ie,[["a. C.","d. C."],ie,["antes de Cristo","despu\xe9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1} {0}",ie,"{1}, {0}",ie],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{AUD:[ie,"$"],BRL:[ie,"R$"],CNY:[ie,"\xa5"],EGP:[],ESP:["\u20a7"],GBP:[ie,"\xa3"],HKD:[ie,"$"],ILS:[ie,"\u20aa"],INR:[ie,"\u20b9"],JPY:[ie,"\xa5"],KRW:[ie,"\u20a9"],MXN:[ie,"$"],NZD:[ie,"$"],RON:[ie,"L"],THB:["\u0e3f"],TWD:[ie,"NT$"],USD:["US$","$"],XAF:[],XCD:[ie,"$"],XOF:[]},"ltr",function(K){return 1===K?1:5}]})},639:(Ze,Ne,R)=>{"use strict";R.d(Ne,{deG:()=>Yo,tb:()=>Iv,AFp:()=>Dv,ip1:()=>Of,CZH:()=>Ml,hGG:()=>NI,z2F:()=>Cc,sBO:()=>SD,Sil:()=>bc,_Vd:()=>bl,EJc:()=>Av,SBq:()=>Ds,qLn:()=>Za,vpe:()=>ws,gxx:()=>ol,tBr:()=>ra,XFs:()=>ke,OlP:()=>Qn,zs3:()=>Ar,ZZ4:()=>au,aQg:()=>lu,soG:()=>_u,YKP:()=>hy,v3s:()=>pI,h0i:()=>wa,PXZ:()=>lI,R0b:()=>ai,FiY:()=>Li,Lbi:()=>Sv,g9A:()=>wv,Qsj:()=>uD,FYo:()=>su,JOm:()=>ur,Tiy:()=>sf,q3G:()=>Lr,tp0:()=>m,EAV:()=>vI,Rgc:()=>cc,dDg:()=>Ov,DyG:()=>$a,GfV:()=>iy,s_b:()=>du,ifc:()=>St,eFA:()=>Bv,G48:()=>tI,Gpc:()=>Fe,_c5:()=>AI,VLi:()=>eI,c2e:()=>Tv,zSh:()=>Ql,wAp:()=>nn,vHH:()=>Je,EiD:()=>Wh,mCW:()=>Yl,qzn:()=>Ja,JVY:()=>$_,pB0:()=>H_,eBb:()=>j_,L6k:()=>V_,LAX:()=>U_,cg1:()=>Xd,Tjo:()=>II,kL8:()=>Tm,yhl:()=>$h,dqk:()=>hn,sIi:()=>ec,CqO:()=>jd,QGY:()=>Vd,F4k:()=>Pg,dwT:()=>s0,RDi:()=>Qe,AaK:()=>te,z3N:()=>Ps,qOj:()=>Id,TTD:()=>Zo,_Bn:()=>ey,xp6:()=>ap,uIk:()=>Md,ekj:()=>zd,Suo:()=>ev,Xpm:()=>Mr,lG2:()=>ar,Yz7:()=>kt,cJS:()=>Yt,oAB:()=>br,Yjl:()=>Wr,Y36:()=>nc,_UZ:()=>xg,GkF:()=>Rg,BQk:()=>$d,ynx:()=>Bd,qZA:()=>Ld,TgZ:()=>kd,EpF:()=>Og,n5z:()=>v,Ikx:()=>qd,LFG:()=>jr,$8M:()=>h,NdJ:()=>Ud,CRH:()=>tv,kcU:()=>mt,O4$:()=>pe,oxw:()=>Lg,ALo:()=>Ky,lcZ:()=>qy,Hsn:()=>$g,F$t:()=>Bg,Q6J:()=>Fd,DdM:()=>jy,VKq:()=>Uy,iGM:()=>Jy,MAs:()=>vg,CHM:()=>$s,LSH:()=>Ju,kYT:()=>Yr,YNc:()=>yg,W1O:()=>iv,_uU:()=>cm,Oqu:()=>Wd,hij:()=>Zc,AsE:()=>Kd,Gf:()=>Zy});var i=R(7574),A=R(4869),me=R(3282),de=R(6693),ie=R(7709),$=R(5319),K=R(2441);var V=R(1307);function L(){return new ie.xQ}function oe(e){for(let t in e)if(e[t]===oe)return t;throw Error("Could not find renamed property on target object.")}function he(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function te(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(te).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 ce(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const re=oe({__forward_ref__:oe});function Fe(e){return e.__forward_ref__=Fe,e.toString=function(){return te(this())},e}function Oe(e){return ge(e)?e():e}function ge(e){return"function"==typeof e&&e.hasOwnProperty(re)&&e.__forward_ref__===Fe}class Je extends Error{constructor(t,n){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function Se(e){return"string"==typeof e?e:null==e?"":String(e)}function Ve(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)}function je(e,t){const n=t?` in ${t}`:"";throw new Je("201",`No provider for ${Ve(e)} found${n}`)}function xt(e,t){null==e&&function(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function kt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Yt(e){return{providers:e.providers||[],imports:e.imports||[]}}function xn(e){return Jn(e,Ke)||Jn(e,we)}function Jn(e,t){return e.hasOwnProperty(t)?e[t]:null}function Er(e){return e&&(e.hasOwnProperty(Ce)||e.hasOwnProperty(rt))?e[Ce]:null}const Ke=oe({\u0275prov:oe}),Ce=oe({\u0275inj:oe}),we=oe({ngInjectableDef:oe}),rt=oe({ngInjectorDef:oe});var ke=(()=>((ke=ke||{})[ke.Default=0]="Default",ke[ke.Host=1]="Host",ke[ke.Self=2]="Self",ke[ke.SkipSelf=4]="SkipSelf",ke[ke.Optional=8]="Optional",ke))();let bt;function gt(e){const t=bt;return bt=e,t}function zt(e,t,n){const r=xn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ke.Optional?null:void 0!==t?t:void je(te(e),"Injector")}function Zt(e){return{toString:e}.toString()}var In=(()=>((In=In||{})[In.OnPush=0]="OnPush",In[In.Default=1]="Default",In))(),St=(()=>((St=St||{})[St.Emulated=0]="Emulated",St[St.None=2]="None",St[St.ShadowDom=3]="ShadowDom",St))();const Zn="undefined"!=typeof globalThis&&globalThis,Qt="undefined"!=typeof window&&window,wn="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,hn=Zn||"undefined"!=typeof global&&global||Qt||wn,yt={},on=[],ir=oe({\u0275cmp:oe}),gr=oe({\u0275dir:oe}),At=oe({\u0275pipe:oe}),dr=oe({\u0275mod:oe}),er=oe({\u0275loc:oe}),nr=oe({\u0275fac:oe}),rr=oe({__NG_ELEMENT_ID__:oe});let mr=0;function Mr(e){return Zt(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===In.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||on,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||St.Emulated,id:"c",styles:e.styles||on,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,s=e.features,c=e.pipes;return r.id+=mr++,r.inputs=Tn(e.inputs,n),r.outputs=Tn(e.outputs),s&&s.forEach(f=>f(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Kn):null,r.pipeDefs=c?()=>("function"==typeof c?c():c).map(Hn):null,r})}function Kn(e){return Lt(e)||function(e){return e[gr]||null}(e)}function Hn(e){return function(e){return e[At]||null}(e)}const sr={};function br(e){return Zt(()=>{const t={type:e.type,bootstrap:e.bootstrap||on,declarations:e.declarations||on,imports:e.imports||on,exports:e.exports||on,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(sr[e.id]=e.type),t})}function Yr(e,t){return Zt(()=>{const n=Vn(e,!0);n.declarations=t.declarations||on,n.imports=t.imports||on,n.exports=t.exports||on})}function Tn(e,t){if(null==e)return yt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),n[o]=r,t&&(t[o]=s)}return n}const ar=Mr;function Wr(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Lt(e){return e[ir]||null}function Vn(e,t){const n=e[dr]||null;if(!n&&!0===t)throw new Error(`Type ${te(e)} does not have '\u0275mod' property.`);return n}const P=16,H=18,B=20;function sn(e){return Array.isArray(e)&&"object"==typeof e[1]}function An(e){return Array.isArray(e)&&!0===e[1]}function yr(e){return 0!=(8&e.flags)}function Hr(e){return 2==(2&e.flags)}function Yn(e){return 1==(1&e.flags)}function fr(e){return null!==e.template}function Io(e){return 0!=(512&e[2])}function Xr(e,t){return e.hasOwnProperty(nr)?e[nr]:null}class Mo{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Zo(){return $o}function $o(e){return e.type.prototype.ngOnChanges&&(e.setInput=Vo),Ci}function Ci(){const e=yo(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===yt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Vo(e,t,n,r){const o=yo(e)||function(e,t){return e[mo]=t}(e,{previous:yt,current:null}),s=o.current||(o.current={}),c=o.previous,f=this.declaredInputs[n],y=c[f];s[f]=new Mo(y&&y.currentValue,t,c===yt),e[r]=t}Zo.ngInherit=!0;const mo="__ngSimpleChanges__";function yo(e){return e[mo]||null}const x="http://www.w3.org/2000/svg";let Ee;function Qe(e){Ee=e}function D(e){return!!e.listen}const U={createRenderer:(e,t)=>void 0!==Ee?Ee:"undefined"!=typeof document?document:void 0};function ut(e){for(;Array.isArray(e);)e=e[0];return e}function Wn(e,t){return ut(t[e])}function kn(e,t){return ut(t[e.index])}function kr(e,t){return e.data[t]}function eo(e,t){return e[t]}function lr(e,t){const n=t[e];return sn(n)?n:n[0]}function vr(e){return 4==(4&e[2])}function wi(e){return 128==(128&e[2])}function fo(e,t){return null==t?null:e[t]}function ei(e){e[H]=0}function Si(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Ft={lFrame:ls(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Uo(){return Ft.bindingsEnabled}function at(){return Ft.lFrame.lView}function yn(){return Ft.lFrame.tView}function $s(e){return Ft.lFrame.contextLView=e,e[8]}function hr(){let e=Is();for(;null!==e&&64===e.type;)e=e.parent;return e}function Is(){return Ft.lFrame.currentTNode}function vo(e,t){const n=Ft.lFrame;n.currentTNode=e,n.isParent=t}function Ti(){return Ft.lFrame.isParent}function ts(){Ft.lFrame.isParent=!1}function ns(){return Ft.isInCheckNoChangesMode}function _o(e){Ft.isInCheckNoChangesMode=e}function pr(){const e=Ft.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function to(){return Ft.lFrame.bindingIndex}function Ai(){return Ft.lFrame.bindingIndex++}function xo(e){const t=Ft.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ma(e,t){const n=Ft.lFrame;n.bindingIndex=n.bindingRootIndex=e,is(t)}function is(e){Ft.lFrame.currentDirectiveIndex=e}function ss(){return Ft.lFrame.currentQueryIndex}function Mi(e){Ft.lFrame.currentQueryIndex=e}function xa(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function js(e,t,n){if(n&ke.SkipSelf){let o=t,s=e;for(;!(o=o.parent,null!==o||n&ke.Host||(o=xa(s),null===o||(s=s[15],10&o.type))););if(null===o)return!1;t=o,e=s}const r=Ft.lFrame=Ra();return r.currentTNode=t,r.lView=e,!0}function as(e){const t=Ra(),n=e[1];Ft.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ra(){const e=Ft.lFrame,t=null===e?null:e.child;return null===t?ls(e):t}function ls(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 Oa(){const e=Ft.lFrame;return Ft.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const fa=Oa;function Ts(){const e=Oa();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 u(){return Ft.lFrame.selectedIndex}function _(e){Ft.lFrame.selectedIndex=e}function F(){const e=Ft.lFrame;return kr(e.tView,e.selectedIndex)}function pe(){Ft.lFrame.currentNamespace=x}function mt(){Ft.lFrame.currentNamespace=null}function tn(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[y]<0&&(e[H]+=65536),(f>11>16&&(3&e[2])===t){e[2]+=2048;try{s.call(f)}finally{}}}else try{s.call(f)}finally{}}class Ro{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Hs(e,t,n){const r=D(e);let o=0;for(;ot){c=s-1;break}}}for(;s>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Pi=!0;function zs(e){const t=Pi;return Pi=e,t}let Ac=0;function ds(e,t){const n=fs(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ws(r.data,e),Ws(t,null),Ws(r.blueprint,null));const o=xs(e,t),s=e.injectorIndex;if(Na(o)){const c=Ri(o),f=Oi(o,t),y=f[1].data;for(let S=0;S<8;S++)t[s+S]=f[c+S]|y[c+S]}return t[s+8]=o,s}function Ws(e,t){e.push(0,0,0,0,0,0,0,0,t)}function fs(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function xs(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){const s=o[1],c=s.type;if(r=2===c?s.declTNode:1===c?o[6]:null,null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Ks(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(rr)&&(r=n[rr]),null==r&&(r=n[rr]=Ac++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:kl:t}(n);if("function"==typeof s){if(!js(t,e,r))return r&ke.Host?ka(o,n,r):La(t,n,r,o);try{const c=s(r);if(null!=c||r&ke.Optional)return c;je(n)}finally{fa()}}else if("number"==typeof s){let c=null,f=fs(e,t),y=-1,S=r&ke.Host?t[P][6]:null;for((-1===f||r&ke.SkipSelf)&&(y=-1===f?xs(e,t):t[f+8],-1!==y&&Qs(r,!1)?(c=t[1],f=Ri(y),t=Oi(y,t)):f=-1);-1!==f;){const N=t[1];if(Xs(s,f,N.data)){const Q=Ll(f,t,n,c,r,S);if(Q!==pa)return Q}y=t[f+8],-1!==y&&Qs(r,t[1].data[f+8]===S)&&Xs(s,f,t)?(c=N,f=Ri(y),t=Oi(y,t)):f=-1}}}return La(t,n,r,o)}const pa={};function kl(){return new hs(hr(),at())}function Ll(e,t,n,r,o,s){const c=t[1],f=c.data[e+8],N=Fi(f,c,n,null==r?Hr(f)&&Pi:r!=c&&0!=(3&f.type),o&ke.Host&&s===f);return null!==N?Rs(t,c,N,f):pa}function Fi(e,t,n,r,o){const s=e.providerIndexes,c=t.data,f=1048575&s,y=e.directiveStart,N=s>>20,ee=o?f+N:e.directiveEnd;for(let ye=r?f:f+N;ye=y&&Ie.type===n)return ye}if(o){const ye=c[y];if(ye&&fr(ye)&&ye.type===n)return y}return null}function Rs(e,t,n,r){let o=e[n];const s=t.data;if(function(e){return e instanceof Ro}(o)){const c=o;c.resolving&&function(e,t){throw new Je("200",`Circular dependency in DI detected for ${e}`)}(Ve(s[n]));const f=zs(c.canSeeViewProviders);c.resolving=!0;const y=c.injectImpl?gt(c.injectImpl):null;js(e,r,ke.Default);try{o=e[n]=c.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:s}=t.type.prototype;if(r){const c=$o(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,c),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,c)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==y&>(y),zs(f),c.resolving=!1,fa()}}return o}function Xs(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[nr]||g(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const s=o[nr]||g(o);if(s&&s!==n)return s;o=Object.getPrototypeOf(o)}return s=>new s})}function g(e){return ge(e)?()=>{const t=g(Oe(e));return t&&t()}:Xr(e)}function h(e){return function(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 o=0;for(;o{const r=function(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...s){if(this instanceof o)return r.apply(this,s),this;const c=new o(...s);return f.annotation=c,f;function f(y,S,N){const Q=y.hasOwnProperty(O)?y[O]:Object.defineProperty(y,O,{value:[]})[O];for(;Q.length<=N;)Q.push(null);return(Q[N]=Q[N]||[]).push(c),y}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class Qn{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=kt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Yo=new Qn("AnalyzeForEntryComponents"),$a=Function;function Wo(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?ni(n,t):t(n))}function ga(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ps(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ki(e,t){const n=[];for(let r=0;r=0?e[1|r]=n:(r=~r,function(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Vl(e,t){const n=ea(e,t);if(n>=0)return e[1|n]}function ea(e,t){return function(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const s=r+(o-r>>1),c=e[s<t?o=s:r=s+1}return~(o< ");else if("object"==typeof t){let s=[];for(let c in t)if(t.hasOwnProperty(c)){let f=t[c];s.push(c+":"+("string"==typeof f?JSON.stringify(f):te(f)))}o=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(yh,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[ta]=null,e}const ra=na(tt("Inject",e=>({token:e})),-1),Li=na(tt("Optional"),8),m=na(tt("SkipSelf"),4);var ur=(()=>((ur=ur||{})[ur.Important=1]="Important",ur[ur.DashCase=2]="DashCase",ur))();const ia="__ngContext__";function Ir(e,t){e[ia]=t}function qa(e){const t=function(e){return e[ia]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function qo(e,t){return undefined(e,t)}function ii(e){const t=e[3];return An(t)?t[3]:t}function Nu(e){return bh(e[13])}function ku(e){return bh(e[4])}function bh(e){for(;null!==e&&!An(e);)e=e[4];return e}function Qa(e,t,n,r,o){if(null!=r){let s,c=!1;An(r)?s=r:sn(r)&&(c=!0,r=r[0]);const f=ut(r);0===e&&null!==n?null==o?Th(t,n,f):_a(t,n,f,o||null,!0):1===e&&null!==n?_a(t,n,f,o||null,!0):2===e?function(e,t,n){const r=kc(e,t);r&&function(e,t,n,r){D(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,f,c):3===e&&t.destroyNode(f),null!=s&&function(e,t,n,r,o){const s=n[7];s!==ut(n)&&Qa(t,e,r,s,o);for(let f=10;f0&&(e[n-1][4]=r[4]);const s=ps(e,10+t);!function(e,t){zl(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const c=s[19];null!==c&&c.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function wh(e,t){if(!(256&t[2])){const n=t[11];D(n)&&n.destroyNode&&zl(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Vu(e[1],e);for(;t;){let n=null;if(sn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)sn(t)&&Vu(t[1],t),t=t[3];null===t&&(t=e),sn(t)&&Vu(t[1],t),n=t&&t[4]}t=n}}(t)}}function Vu(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=S]():r[o=-S].unsubscribe(),s+=2}else{const c=r[o=n[s+1]];n[s].call(c)}if(null!==r){for(let s=o+1;se,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return $c}())||void 0===t?void 0:t.createHTML(e))||e}class ba{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class F_ extends ba{getTypeName(){return"HTML"}}class N_ extends ba{getTypeName(){return"Style"}}class k_ extends ba{getTypeName(){return"Script"}}class L_ extends ba{getTypeName(){return"URL"}}class B_ extends ba{getTypeName(){return"ResourceURL"}}function Ps(e){return e instanceof ba?e.changingThisBreaksApplicationSecurity:e}function Ja(e,t){const n=$h(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function $h(e){return e instanceof ba&&e.getTypeName()||null}function $_(e){return new F_(e)}function V_(e){return new N_(e)}function j_(e){return new k_(e)}function U_(e){return new L_(e)}function H_(e){return new B_(e)}class G_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Ea(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class z_{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Ea(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Ea(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let o=n.length-1;0Yl(t.trim())).join(", ")),this.buf.push(" ",c,'="',Yh(y),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Ku.hasOwnProperty(n)&&!Uh.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Yh(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 Q_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,J_=/([^\#-~ |!])/g;function Yh(e){return e.replace(/&/g,"&").replace(Q_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(J_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let jc;function Wh(e,t){let n=null;try{jc=jc||function(e){const t=new z_(e);return function(){try{return!!(new window.DOMParser).parseFromString(Ea(""),"text/html")}catch(e){return!1}}()?new G_(t):t}(e);let r=t?String(t):"";n=jc.getInertBodyElement(r);let o=5,s=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=s,s=n.innerHTML,n=jc.getInertBodyElement(r)}while(r!==s);return Ea((new X_).sanitizeChildren(Qu(n)||n))}finally{if(n){const r=Qu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Qu(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Lr=(()=>((Lr=Lr||{})[Lr.NONE=0]="NONE",Lr[Lr.HTML=1]="HTML",Lr[Lr.STYLE=2]="STYLE",Lr[Lr.SCRIPT=3]="SCRIPT",Lr[Lr.URL=4]="URL",Lr[Lr.RESOURCE_URL=5]="RESOURCE_URL",Lr))();function Ju(e){const t=function(){const e=at();return e&&e[12]}();return t?t.sanitize(Lr.URL,e)||"":Ja(e,"URL")?Ps(e):Yl(Se(e))}function Uc(e){return e.ngOriginalError}function uE(e,...t){e.error(...t)}class Za{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=this._findContext(t),o=(e=t)&&e.ngErrorLogger||uE;var e;o(this._console,"ERROR",t),n&&o(this._console,"ORIGINAL ERROR",n),r&&o(this._console,"ERROR CONTEXT",r)}_findContext(t){return t?t.ngDebugContext||this._findContext(Uc(t)):null}_findOriginalError(t){let n=t&&Uc(t);for(;n&&Uc(n);)n=Uc(n);return n||null}}const ep=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(hn))();function vs(e){return e instanceof Function?e():e}function np(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const s=t.length;if(o+s===r||e.charCodeAt(o+s)<=32)return o}n=o+1}}const rp="ng-template";function vE(e,t,n){let r=0;for(;rs?"":o[Q+1].toLowerCase();const ye=8&r?ee:null;if(ye&&-1!==np(ye,S,0)||2&r&&S!==ee){if(Bi(r))return!1;c=!0}}}}else{if(!c&&!Bi(r)&&!Bi(y))return!1;if(c&&Bi(y))continue;c=!1,r=y|1&r}}return Bi(r)||c}function Bi(e){return 0==(1&e)}function bE(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let s=!1;for(;o-1)for(n++;n0?'="'+f+'"':"")+"]"}else 8&r?o+="."+c:4&r&&(o+=" "+c);else""!==o&&!Bi(c)&&(t+=sp(s,o),o=""),r=c,s=s||!Bi(r);n++}return""!==o&&(t+=sp(s,o)),t}const _n={};function ap(e){lp(yn(),at(),u()+e,ns())}function lp(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&cr(t,s,n)}else{const s=e.preOrderHooks;null!==s&&vn(t,s,0,n)}_(n)}function Hc(e,t){return e<<17|t<<2}function $i(e){return e>>17&32767}function ed(e){return 2|e}function Fs(e){return(131068&e)>>2}function td(e,t){return-131069&e|t<<2}function nd(e){return 1|e}function vp(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;rB&&lp(e,t,B,ns()),n(r,o)}finally{_(s)}}function Ep(e,t,n){if(yr(t)){const o=t.directiveEnd;for(let s=t.directiveStart;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(f)!=y&&f.push(y),f.push(r,o,c)}}function Ap(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Mp(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function JE(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&pd(n)}}function pd(e){for(let r=Nu(e);null!==r;r=ku(r))for(let o=10;o0&&pd(s)}const n=e[1].components;if(null!==n)for(let r=0;r0&&pd(o)}}function ib(e,t){const n=lr(t,e),r=n[1];(function(e,t){for(let n=t.length;nPromise.resolve(null))();function Fp(e){return e[7]||(e[7]=[])}function Np(e){return e.cleanup||(e.cleanup=[])}function Lp(e,t){const n=e[9],r=n?n.get(Za,null):null;r&&r.handleError(t)}function Bp(e,t,n,r,o){for(let s=0;sthis.processProvider(f,t,n)),ni([t],f=>this.processInjectorType(f,[],s)),this.records.set(ol,il(void 0,this));const c=this.records.get(Ql);this.scope=null!=c?c.value:null,this.source=o||("object"==typeof t?null:te(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=za,r=ke.Default){this.assertNotDestroyed();const o=ma(this),s=gt(void 0);try{if(!(r&ke.SkipSelf)){let f=this.records.get(t);if(void 0===f){const y=("function"==typeof(e=t)||"object"==typeof e&&e instanceof Qn)&&xn(t);f=y&&this.injectableDefInScope(y)?il(Ed(t),Jl):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(r&ke.Self?Vp():this.parent).get(t,n=r&ke.Optional&&n===za?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[ta]=c[ta]||[]).unshift(te(t)),o)throw c;return Nc(c,t,"R3InjectorError",this.source)}throw c}finally{gt(s),ma(o)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,o)=>t.push(te(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,n,r){if(!(t=Oe(t)))return!1;let o=Er(t);const s=null==o&&t.ngModule||void 0,c=void 0===s?t:s,f=-1!==r.indexOf(c);if(void 0!==s&&(o=Er(s)),null==o)return!1;if(null!=o.imports&&!f){let N;r.push(c);try{ni(o.imports,Q=>{this.processInjectorType(Q,n,r)&&(void 0===N&&(N=[]),N.push(Q))})}finally{}if(void 0!==N)for(let Q=0;Qthis.processProvider(Ie,ee,ye||on))}}this.injectorDefTypes.add(c);const y=Xr(c)||(()=>new c);this.records.set(c,il(y,Jl));const S=o.providers;if(null!=S&&!f){const N=t;ni(S,Q=>this.processProvider(Q,N,S))}return void 0!==s&&void 0!==t.providers}processProvider(t,n,r){let o=sl(t=Oe(t))?t:Oe(t&&t.provide);const s=(e=t,Hp(e)?il(void 0,e.useValue):il(Up(e),Jl));var e;if(sl(t)||!0!==t.multi)this.records.get(o);else{let c=this.records.get(o);c||(c=il(void 0,Jl,!0),c.factory=()=>gs(c.multi),this.records.set(o,c)),o=t,c.multi.push(t)}this.records.set(o,s)}hydrate(t,n){return n.value===Jl&&(n.value=hb,n.value=n.factory()),"object"==typeof n.value&&n.value&&null!==(e=n.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(n.value),n.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Oe(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Ed(e){const t=xn(e),n=null!==t?t.factory:Xr(e);if(null!==n)return n;if(e instanceof Qn)throw new Error(`Token ${te(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const r=ki(t,"?");throw new Error(`Can't resolve all parameters for ${te(e)}: (${r.join(", ")}).`)}const n=function(e){const t=e&&(e[Ke]||e[we]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Up(e,t,n){let r;if(sl(e)){const o=Oe(e);return Xr(o)||Ed(o)}if(Hp(e))r=()=>Oe(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...gs(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>jr(Oe(e.useExisting));else{const o=Oe(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Xr(o)||Ed(o);r=()=>new o(...gs(e.deps))}return r}function il(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Hp(e){return null!==e&&"object"==typeof e&&Pc in e}function sl(e){return"function"==typeof e}const Gp=function(e,t,n){return function(e,t=null,n=null,r){const o=jp(e,t,n,r);return o._resolveInjectorDefTypes(),o}({name:n},t,e,n)};let Ar=(()=>{class e{static create(n,r){return Array.isArray(n)?Gp(n,r,""):Gp(n.providers,n.parent,n.name||"")}}return e.THROW_IF_NOT_FOUND=za,e.NULL=new $p,e.\u0275prov=kt({token:e,providedIn:"any",factory:()=>jr(ol)}),e.__NG_ELEMENT_ID__=-1,e})();function kb(e,t){tn(qa(e)[1],hr())}function Id(e){let t=function(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(fr(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");o=t.\u0275dir}if(o){if(n){r.push(o);const c=e;c.inputs=Td(e.inputs),c.declaredInputs=Td(e.declaredInputs),c.outputs=Td(e.outputs);const f=o.hostBindings;f&&Vb(e,f);const y=o.viewQuery,S=o.contentQueries;if(y&&Bb(e,y),S&&$b(e,S),he(e.inputs,o.inputs),he(e.declaredInputs,o.declaredInputs),he(e.outputs,o.outputs),fr(o)&&o.data.animation){const N=e.data;N.animation=(N.animation||[]).concat(o.data.animation)}}const s=o.features;if(s)for(let c=0;c=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=us(o.hostAttrs,n=us(n,o.hostAttrs))}}(r)}function Td(e){return e===yt?{}:e===on?[]:e}function Bb(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function $b(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,s)=>{t(r,o,s),n(r,o,s)}:t}function Vb(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let qc=null;function al(){if(!qc){const e=hn.Symbol;if(e&&e.iterator)qc=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;nf(ut(cn[r.index])):r.index;if(D(n)){let cn=null;if(!f&&y&&(cn=function(e,t,n,r){const o=e.cleanup;if(null!=o)for(let s=0;sy?f[y]:null}"string"==typeof c&&(s+=2)}return null}(e,t,o,r.index)),null!==cn)(cn.__ngLastListenerFn__||cn).__ngNextListenerFn__=s,cn.__ngLastListenerFn__=s,ye=!1;else{s=Hd(r,t,Q,s,!1);const Pn=n.listen(_t,o,s);ee.push(s,Pn),N&&N.push(o,Gt,it,it+1)}}else s=Hd(r,t,Q,s,!0),_t.addEventListener(o,s,c),ee.push(s),N&&N.push(o,Gt,it,c)}else s=Hd(r,t,Q,s,!1);const Ie=r.outputs;let qe;if(ye&&null!==Ie&&(qe=Ie[o])){const Be=qe.length;if(Be)for(let _t=0;_t0;)t=t[15],e--;return t}(e,Ft.lFrame.contextLView))[8]}(e)}function EC(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let o=0;o=0}function zd(e,t){return function(e,t,n,r){const o=at(),s=yn(),c=xo(2);s.firstUpdatePass&&function(e,t,n,r){const o=e.data;if(null===o[n+1]){const s=o[u()],c=function(e,t){return t>=e.expandoStartIndex}(e,n);(function(e,t){return 0!=(e.flags&(t?16:32))})(s,r)&&null===t&&!c&&(t=!1),t=function(e,t,n,r){const o=function(e){const t=Ft.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=rc(n=Yd(null,e,t,n,r),t.attrs,r),s=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==o)if(n=Yd(o,e,t,n,r),null===s){let y=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Fs(r))return e[$i(r)]}(e,t,r);void 0!==y&&Array.isArray(y)&&(y=Yd(null,e,t,y[1],r),y=rc(y,t.attrs,r),function(e,t,n,r){e[$i(n?t.classBindings:t.styleBindings)]=r}(e,t,r,y))}else s=function(e,t,n){let r;const o=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(S=!0)}else N=n;if(o)if(0!==y){const ee=$i(e[f+1]);e[r+1]=Hc(ee,f),0!==ee&&(e[ee+1]=td(e[ee+1],r)),e[f+1]=function(e,t){return 131071&e|t<<17}(e[f+1],r)}else e[r+1]=Hc(f,0),0!==f&&(e[f+1]=td(e[f+1],r)),f=r;else e[r+1]=Hc(y,0),0===f?f=r:e[y+1]=td(e[y+1],r),y=r;S&&(e[r+1]=ed(e[r+1])),qg(e,N,r,!0),qg(e,N,r,!1),function(e,t,n,r,o){const s=o?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&ea(s,t)>=0&&(n[r+1]=nd(n[r+1]))}(t,N,e,r,s),c=Hc(f,y),s?t.classBindings=c:t.styleBindings=c}(o,s,t,n,c,r)}}(s,e,c,r),t!==_n&&Do(o,c,t)&&function(e,t,n,r,o,s,c,f){if(!(3&t.type))return;const y=e.data,S=y[f+1];Jc(function(e){return 1==(1&e)}(S)?am(y,t,n,o,Fs(S),c):void 0)||(Jc(s)||function(e){return 2==(2&e)}(S)&&(s=am(y,null,n,o,f,c)),function(e,t,n,r,o){const s=D(e);if(t)o?s?e.addClass(n,r):n.classList.add(r):s?e.removeClass(n,r):n.classList.remove(r);else{let c=-1===r.indexOf("-")?void 0:ur.DashCase;if(null==o)s?e.removeStyle(n,r,c):n.style.removeProperty(r);else{const f="string"==typeof o&&o.endsWith("!important");f&&(o=o.slice(0,-10),c|=ur.Important),s?e.setStyle(n,r,o,c):n.style.setProperty(r,o,f?"important":"")}}}(r,c,Wn(u(),n),o,s))}(s,s.data[u()],o,o[11],e,o[c+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=te(Ps(e)))),e}(t,n),r,c)}(e,t,null,!0),zd}function Yd(e,t,n,r,o){let s=null;const c=n.directiveEnd;let f=n.directiveStylingLast;for(-1===f?f=n.directiveStart:f++;f0;){const y=e[o],S=Array.isArray(y),N=S?y[1]:y,Q=null===N;let ee=n[o+1];ee===_n&&(ee=Q?on:void 0);let ye=Q?Vl(ee,r):N===r?ee:void 0;if(S&&!Jc(ye)&&(ye=Vl(y,r)),Jc(ye)&&(f=ye,c))return f;const Ie=e[o+1];o=c?$i(Ie):Fs(Ie)}if(null!==t){let y=s?t.residualClasses:t.residualStyles;null!=y&&(f=Vl(y,r))}return f}function Jc(e){return void 0!==e}function cm(e,t=""){const n=at(),r=yn(),o=e+B,s=r.firstCreatePass?tl(r,o,1,t,null):r.data[o],c=n[o]=function(e,t){return D(e)?e.createText(t):e.createTextNode(t)}(n[11],t);Lc(r,n,c,s),vo(s,!1)}function Wd(e){return Zc("",e,""),Wd}function Zc(e,t,n){const r=at(),o=function(e,t,n,r){return Do(e,Ai(),n)?t+Se(n)+r:_n}(r,e,t,n);return o!==_n&&ks(r,u(),o),Zc}function Kd(e,t,n,r,o){const s=at(),c=ul(s,e,t,n,r,o);return c!==_n&&ks(s,u(),c),Kd}function qd(e,t,n){const r=at();return Do(r,Ai(),t)&&si(yn(),F(),r,e,t,r[11],n,!0),qd}const Da=void 0;var o0=["en",[["a","p"],["AM","PM"],Da],[["AM","PM"],Da,Da],[["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"]],Da,[["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"]],Da,[["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}",Da,"{1} 'at' {0}",Da],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let _l={};function s0(e,t,n){"string"!=typeof t&&(n=t,t=e[nn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),_l[t]=e,n&&(_l[t][nn.ExtraData]=n)}function Xd(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Am(t);if(n)return n;const r=t.split("-")[0];if(n=Am(r),n)return n;if("en"===r)return o0;throw new Error(`Missing locale data for the locale "${e}".`)}function Tm(e){return Xd(e)[nn.PluralCase]}function Am(e){return e in _l||(_l[e]=hn.ng&&hn.ng.common&&hn.ng.common.locales&&hn.ng.common.locales[e]),_l[e]}var nn=(()=>((nn=nn||{})[nn.LocaleId=0]="LocaleId",nn[nn.DayPeriodsFormat=1]="DayPeriodsFormat",nn[nn.DayPeriodsStandalone=2]="DayPeriodsStandalone",nn[nn.DaysFormat=3]="DaysFormat",nn[nn.DaysStandalone=4]="DaysStandalone",nn[nn.MonthsFormat=5]="MonthsFormat",nn[nn.MonthsStandalone=6]="MonthsStandalone",nn[nn.Eras=7]="Eras",nn[nn.FirstDayOfWeek=8]="FirstDayOfWeek",nn[nn.WeekendRange=9]="WeekendRange",nn[nn.DateFormat=10]="DateFormat",nn[nn.TimeFormat=11]="TimeFormat",nn[nn.DateTimeFormat=12]="DateTimeFormat",nn[nn.NumberSymbols=13]="NumberSymbols",nn[nn.NumberFormats=14]="NumberFormats",nn[nn.CurrencyCode=15]="CurrencyCode",nn[nn.CurrencySymbol=16]="CurrencySymbol",nn[nn.CurrencyName=17]="CurrencyName",nn[nn.Currencies=18]="Currencies",nn[nn.Directionality=19]="Directionality",nn[nn.PluralCase=20]="PluralCase",nn[nn.ExtraData=21]="ExtraData",nn))();const eu="en-US";let Mm=eu;function Qd(e){xt(e,"Expected localeId to be defined"),"string"==typeof e&&(Mm=e.toLowerCase().replace(/_/g,"-"))}function ef(e,t,n,r,o){if(e=Oe(e),Array.isArray(e))for(let s=0;s>20;if(sl(e)||!e.multi){const ye=new Ro(y,o,nc),Ie=nf(f,t,o?N:N+ee,Q);-1===Ie?(Ks(ds(S,c),s,f),tf(s,e,t.length),t.push(f),S.directiveStart++,S.directiveEnd++,o&&(S.providerIndexes+=1048576),n.push(ye),c.push(ye)):(n[Ie]=ye,c[Ie]=ye)}else{const ye=nf(f,t,N+ee,Q),Ie=nf(f,t,N,N+ee),qe=ye>=0&&n[ye],Be=Ie>=0&&n[Ie];if(o&&!Be||!o&&!qe){Ks(ds(S,c),s,f);const _t=function(e,t,n,r,o){const s=new Ro(e,n,nc);return s.multi=[],s.index=t,s.componentProviders=0,Zm(s,o,r&&!n),s}(o?rD:nD,n.length,o,r,y);!o&&Be&&(n[Ie].providerFactory=_t),tf(s,e,t.length,0),t.push(f),S.directiveStart++,S.directiveEnd++,o&&(S.providerIndexes+=1048576),n.push(_t),c.push(_t)}else tf(s,e,ye>-1?ye:Ie,Zm(n[o?Ie:ye],y,!o&&r));!o&&r&&Be&&n[Ie].componentProviders++}}}function tf(e,t,n,r){const o=sl(t);if(o||function(e){return!!e.useClass}(t)){const c=(t.useClass||t).prototype.ngOnDestroy;if(c){const f=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const y=f.indexOf(n);-1===y?f.push(n,[r,c]):f[y+1].push(r,c)}else f.push(n,c)}}}function Zm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function nf(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function(e,t,n){const r=yn();if(r.firstCreatePass){const o=fr(e);ef(n,r.data,r.blueprint,o,!0),ef(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class ty{}const ry="ngComponent";class sD{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${te(e)}. Did you add it to @NgModule.entryComponents?`);return t[ry]=e,t}(t)}}let bl=(()=>{class e{}return e.NULL=new sD,e})();function iu(...e){}function Cl(e,t){return new Ds(kn(e,t))}const cD=function(){return Cl(hr(),at())};let Ds=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=cD,e})();function oy(e){return e instanceof Ds?e.nativeElement:e}class su{}let uD=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>fD(),e})();const fD=function(){const e=at(),n=lr(hr().index,e);return function(e){return e[11]}(sn(n)?n:e)};let sf=(()=>{class e{}return e.\u0275prov=kt({token:e,providedIn:"root",factory:()=>null}),e})();class iy{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const sy=new iy("12.2.17");class ay{constructor(){}supports(t){return ec(t)}create(t){return new mD(t)}}const gD=(e,t)=>t;class mD{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||gD}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,s=null;for(;n||r;){const c=!r||n&&n.currentIndex{c=this._trackByFn(o,f),null!==n&&Object.is(n.trackById,c)?(r&&(n=this._verifyReinsertion(n,f,c,o)),Object.is(n.item,f)||this._addIdentityChange(n,f)):(n=this._mismatch(n,f,c,o),r=!0),n=n._next,o++}),this.length=o;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,o){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,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,o)):t=this._addAfter(new yD(n,r),s,o),t}_verifyReinsertion(t,n,r,o){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),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 o=t._prevRemoved,s=t._nextRemoved;return null===o?this._removalsHead=s:o._nextRemoved=s,null===s?this._removalsTail=o:s._prevRemoved=o,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 o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new ly),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 ly),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 yD{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 vD{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 ly{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new vD,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.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 cy(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(o,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 o=this._records.get(t);this._maybeAddToChanges(o,n);const s=o._prev,c=o._next;return s&&(s._next=c),c&&(c._prev=s),o._next=null,o._prev=null,o}const r=new ED(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 ED{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 dy(){return new au([new ay])}let au=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||dy()),deps:[[e,new m,new Li]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(e){return e.name||typeof e}(n)}'`)}}return e.\u0275prov=kt({token:e,providedIn:"root",factory:dy}),e})();function fy(){return new lu([new uy])}let lu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||fy()),deps:[[e,new m,new Li]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=kt({token:e,providedIn:"root",factory:fy}),e})();function cu(e,t,n,r,o=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(ut(s)),An(s))for(let f=10;f-1&&($u(t,r),ps(n,r))}this._attachedToViewContainer=!1}wh(this._lView[1],this._lView)}onDestroy(t){wp(this._lView[1],this._lView,null,t)}markForCheck(){gd(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){yd(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){_o(!0);try{yd(e,t,n)}finally{_o(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,zl(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class CD extends lc{constructor(t){super(t),this._view=t}detectChanges(){Pp(this._view)}checkNoChanges(){!function(e){_o(!0);try{Pp(e)}finally{_o(!1)}}(this._view)}get context(){return null}}const wD=function(e){return function(e,t,n){if(Hr(e)&&!n){const r=lr(e.index,t);return new lc(r,r)}return 47&e.type?new lc(t[P],t):null}(hr(),at(),16==(16&e))};let SD=(()=>{class e{}return e.__NG_ELEMENT_ID__=wD,e})();const AD=[new uy],xD=new au([new ay]),RD=new lu(AD),PD=function(){return uu(hr(),at())};let cc=(()=>{class e{}return e.__NG_ELEMENT_ID__=PD,e})();const FD=cc,ND=class extends FD{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=ql(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(n)),Xl(n,r,t),new lc(r)}};function uu(e,t){return 4&e.type?new ND(t,e,Cl(e,t)):null}class wa{}class hy{}const BD=function(){return my(hr(),at())};let du=(()=>{class e{}return e.__NG_ELEMENT_ID__=BD,e})();const VD=du,py=class extends VD{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Cl(this._hostTNode,this._hostLView)}get injector(){return new hs(this._hostTNode,this._hostLView)}get parentInjector(){const t=xs(this._hostTNode,this._hostLView);if(Na(t)){const n=Oi(t,this._hostLView),r=Ri(t);return new hs(n[1].data[r+8],n)}return new hs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=gy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const o=t.createEmbeddedView(n||{});return this.insert(o,r),o}createComponent(t,n,r,o,s){const c=r||this.parentInjector;if(!s&&null==t.ngModule&&c){const y=c.get(wa,null);y&&(s=y)}const f=t.create(c,o,void 0,s);return this.insert(f.hostView,n),f}insert(t,n){const r=t._lView,o=r[1];if(An(r[3])){const N=this.indexOf(t);if(-1!==N)this.detach(N);else{const Q=r[3],ee=new py(Q,Q[6],Q[3]);ee.detach(ee.indexOf(t))}}const s=this._adjustIndex(n),c=this._lContainer;!function(e,t,n,r){const o=10+r,s=n.length;r>0&&(n[o-1][4]=t),rep});class By extends ty{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=t.selectors.map(IE).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Ly(this.componentDef.inputs)}get outputs(){return Ly(this.componentDef.outputs)}create(t,n,r,o){const s=(o=o||this.ngModule)?function(e,t){return{get:(n,r,o)=>{const s=e.get(n,Il,o);return s!==Il||r===Il?s:t.get(n,r,o)}}}(t,o.injector):t,c=s.get(su,U),f=s.get(sf,null),y=c.createRenderer(null,this.componentDef),S=this.componentDef.selectors[0][0]||"div",N=r?function(e,t,n){if(D(e))return e.selectRootElement(t,n===St.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(y,r,this.componentDef.encapsulation):Bu(c.createRenderer(null,this.componentDef),S,function(e){const t=e.toLowerCase();return"svg"===t?x:"math"===t?"http://www.w3.org/1998/MathML/":null}(S)),Q=this.componentDef.onPush?576:528,ee=function(e,t){return{components:[],scheduler:e||ep,clean:ub,playerHandler:t||null,flags:0}}(),ye=Yc(0,null,null,1,0,null,null,null,null,null),Ie=ql(null,ye,ee,Q,null,null,c,y,f,s);let qe,Be;as(Ie);try{const _t=function(e,t,n,r,o,s){const c=n[1];n[20]=e;const y=tl(c,20,2,"#host",null),S=y.mergedAttrs=t.hostAttrs;null!==S&&(Kc(y,S,!0),null!==e&&(Hs(o,e,S),null!==y.classes&&zu(o,e,y.classes),null!==y.styles&&Nh(o,e,y.styles)));const N=r.createRenderer(e,t),Q=ql(n,bp(t),null,t.onPush?64:16,n[20],y,r,N,s||null,null);return c.firstCreatePass&&(Ks(ds(y,n),c,t.type),Mp(c,y),xp(y,n.length,1)),Wc(n,Q),n[20]=Q}(N,this.componentDef,Ie,c,y);if(N)if(r)Hs(y,N,["ng-version",sy.full]);else{const{attrs:it,classes:Gt}=function(e){const t=[],n=[];let r=1,o=2;for(;r0&&zu(y,N,Gt.join(" "))}if(Be=kr(ye,B),void 0!==n){const it=Be.projection=[];for(let Gt=0;Gty(c,t)),t.contentQueries){const y=hr();t.contentQueries(1,c,y.directiveStart)}const f=hr();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(_(f.index),Tp(n[1],f,0,f.directiveStart,f.directiveEnd,t),Ap(t,c)),c}(_t,this.componentDef,Ie,ee,[kb]),Xl(ye,Ie,null)}finally{Ts()}return new $w(this.componentType,qe,Cl(Be,Ie),Ie,Be)}}class $w extends class{}{constructor(t,n,r,o,s){super(),this.location=r,this._rootLView=o,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new CD(o),this.componentType=t}get injector(){return new hs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const Tl=new Map;class Uw extends wa{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ky(this);const r=Vn(t),o=t[er]||null;o&&Qd(o),this._bootstrapComponents=vs(r.bootstrap),this._r3Injector=jp(t,n,[{provide:wa,useValue:this},{provide:bl,useValue:this.componentFactoryResolver}],te(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Ar.THROW_IF_NOT_FOUND,r=ke.Default){return t===Ar||t===wa||t===ol?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ef extends hy{constructor(t){super(),this.moduleType=t,null!==Vn(t)&&function(e){const t=new Set;!function n(r){const o=Vn(r,!0),s=o.id;null!==s&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${te(t)} vs ${te(t.name)}`)}(s,Tl.get(s),r),Tl.set(s,r));const c=vs(o.imports);for(const f of c)t.has(f)||(t.add(f),n(f))}(e)}(t)}create(t){return new Uw(this.moduleType,t)}}function jy(e,t,n){const r=pr()+e,o=at();return o[r]===_n?Es(o,r,n?t.call(n):t()):function(e,t){return e[t]}(o,r)}function Uy(e,t,n,r){return Hy(at(),pr(),e,t,n,r)}function Hy(e,t,n,r,o,s){const c=t+n;return Do(e,c,o)?Es(e,c+1,s?r.call(s,o):r(o)):function(e,t){const n=e[t];return n===_n?void 0:n}(e,c+1)}function Ky(e,t){const n=yn();let r;const o=e+B;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}throw new Je("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const s=r.factory||(r.factory=Xr(r.type)),c=gt(nc);try{const f=zs(!1),y=s();return zs(f),function(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,at(),o,y),y}finally{gt(c)}}function qy(e,t,n){const r=e+B,o=at(),s=eo(o,r);return function(e,t){ji.isWrapped(t)&&(t=ji.unwrap(t),e[to()]=_n);return t}(o,function(e,t){return e[1].data[t].pure}(o,r)?Hy(o,pr(),t,s.transform,n,s):s.transform(n))}function bf(e){return t=>{setTimeout(e,void 0,t)}}const ws=class extends ie.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var o,s,c;let f=t,y=n||(()=>null),S=r;if(t&&"object"==typeof t){const Q=t;f=null===(o=Q.next)||void 0===o?void 0:o.bind(Q),y=null===(s=Q.error)||void 0===s?void 0:s.bind(Q),S=null===(c=Q.complete)||void 0===c?void 0:c.bind(Q)}this.__isAsync&&(y=bf(y),f&&(f=bf(f)),S&&(S=bf(S)));const N=super.subscribe({next:f,error:y,complete:S});return t instanceof $.w&&t.add(N),N}};function rS(){return this._results[al()]()}class mu{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=al(),r=mu.prototype;r[n]||(r[n]=rS)}get changes(){return this._changes||(this._changes=new ws)}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 o=Wo(t);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r0)r.push(c[f/2]);else{const S=s[f+1],N=t[-y];for(let Q=10;Q{class e{constructor(n){this.appInits=n,this.resolve=iu,this.reject=iu,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{s.subscribe({complete:f,error:y})});n.push(c)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(jr(Of,8))},e.\u0275prov=kt({token:e,factory:e.\u0275fac}),e})();const Dv=new Qn("AppId"),BS={provide:Dv,useFactory:function(){return`${Pf()}${Pf()}${Pf()}`},deps:[]};function Pf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const wv=new Qn("Platform Initializer"),Sv=new Qn("Platform ID"),Iv=new Qn("appBootstrapListener");let Tv=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=kt({token:e,factory:e.\u0275fac}),e})();const _u=new Qn("LocaleId"),Av=new Qn("DefaultCurrencyCode");class VS{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}const Ff=function(e){return new Ef(e)},jS=Ff,US=function(e){return Promise.resolve(Ff(e))},Mv=function(e){const t=Ff(e),r=vs(Vn(e).declarations).reduce((o,s)=>{const c=Lt(s);return c&&o.push(new By(c)),o},[]);return new VS(t,r)},HS=Mv,GS=function(e){return Promise.resolve(Mv(e))};let bc=(()=>{class e{constructor(){this.compileModuleSync=jS,this.compileModuleAsync=US,this.compileModuleAndAllComponentsSync=HS,this.compileModuleAndAllComponentsAsync=GS}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=kt({token:e,factory:e.\u0275fac}),e})();const WS=(()=>Promise.resolve(0))();function Nf(e){"undefined"==typeof Zone?WS.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ai{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ws(!1),this.onMicrotaskEmpty=new ws(!1),this.onStable=new ws(!1),this.onError=new ws(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function(){let e=hn.requestAnimationFrame,t=hn.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(hn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Lf(e),e.isCheckStableRunning=!0,kf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Lf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,s,c,f)=>{try{return xv(e),n.invokeTask(o,s,c,f)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Rv(e)}},onInvoke:(n,r,o,s,c,f,y)=>{try{return xv(e),n.invoke(o,s,c,f,y)}finally{e.shouldCoalesceRunChangeDetection&&t(),Rv(e)}},onHasTask:(n,r,o,s)=>{n.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Lf(e),kf(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,o,s)=>(n.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(o)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ai.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ai.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const s=this._inner,c=s.scheduleEventTask("NgZoneEvent: "+o,t,qS,iu,iu);try{return s.runTask(c,n,r)}finally{s.cancelTask(c)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const qS={};function kf(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 Lf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function xv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Rv(e){e._nesting--,kf(e)}class JS{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ws,this.onMicrotaskEmpty=new ws,this.onStable=new ws,this.onError=new ws}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,o){return t.apply(n,r)}}let Ov=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?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:()=>{ai.assertNotInAngularZone(),Nf(()=>{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())Nf(()=>{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,o){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(c=>c.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,r,o){if(o&&!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,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(jr(ai))},e.\u0275prov=kt({token:e,factory:e.\u0275fac}),e})(),Pv=(()=>{class e{constructor(){this._applications=new Map,Bf.addToWindow(this)}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 Bf.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=kt({token:e,factory:e.\u0275fac}),e})();class ZS{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function eI(e){Bf=e}let Bf=new ZS,Fv=!0,Nv=!1;function tI(){if(Nv)throw new Error("Cannot enable prod mode after platform setup.");Fv=!1}let Yi;const Lv=new Qn("AllowMultipleToken");class lI{constructor(t,n){this.name=t,this.token=n}}function Bv(e,t,n=[]){const r=`Platform: ${t}`,o=new Qn(r);return(s=[])=>{let c=$v();if(!c||c.injector.get(Lv,!1))if(e)e(n.concat(s).concat({provide:o,useValue:!0}));else{const f=n.concat(s).concat({provide:o,useValue:!0},{provide:Ql,useValue:"platform"});!function(e){if(Yi&&!Yi.destroyed&&!Yi.injector.get(Lv,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Yi=e.get(Vv);const t=e.get(wv,null);t&&t.forEach(n=>n())}(Ar.create({providers:f,name:r}))}return function(e){const t=$v();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(o)}}function $v(){return Yi&&!Yi.destroyed?Yi:null}let Vv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const f=function(e,t){let n;return n="noop"===e?new JS:("zone.js"===e?void 0:e)||new ai({enableLongStackTrace:(Nv=!0,Fv),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),y=[{provide:ai,useValue:f}];return f.run(()=>{const S=Ar.create({providers:y,parent:this.injector,name:n.moduleType.name}),N=n.create(S),Q=N.injector.get(Za,null);if(!Q)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return f.runOutsideAngular(()=>{const ee=f.onError.subscribe({next:ye=>{Q.handleError(ye)}});N.onDestroy(()=>{$f(this._modules,N),ee.unsubscribe()})}),function(e,t,n){try{const r=n();return Vd(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(Q,f,()=>{const ee=N.injector.get(Ml);return ee.runInitializers(),ee.donePromise.then(()=>(Qd(N.injector.get(_u,eu)||eu),this._moduleDoBootstrap(N),N))})})}bootstrapModule(n,r=[]){const o=jv({},r);return function(e,t,n){const r=new Ef(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){const r=n.injector.get(Cc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Error(`The module ${te(n.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);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 Error("The platform has already been destroyed!");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(jr(Ar))},e.\u0275prov=kt({token:e,factory:e.\u0275fac}),e})();function jv(e,t){return Array.isArray(t)?t.reduce(jv,e):Object.assign(Object.assign({},e),t)}let Cc=(()=>{class e{constructor(n,r,o,s,c){this._zone=n,this._injector=r,this._exceptionHandler=o,this._componentFactoryResolver=s,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const f=new i.y(S=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{S.next(this._stable),S.complete()})}),y=new i.y(S=>{let N;this._zone.runOutsideAngular(()=>{N=this._zone.onStable.subscribe(()=>{ai.assertNotInAngularZone(),Nf(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,S.next(!0))})})});const Q=this._zone.onUnstable.subscribe(()=>{ai.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{S.next(!1)}))});return()=>{N.unsubscribe(),Q.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return(0,A.K)(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof i.y?e[0]:(0,me.J)(t)((0,de.n)(e,n))}(f,y.pipe(e=>(0,V.x)()(function(e,t){return function(r){let o;o="function"==typeof e?e:function(){return e};const s=Object.create(r,K.N);return s.source=r,s.subjectFactory=o,s}}(L)(e))))}bootstrap(n,r){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let o;o=n instanceof ty?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(o.componentType);const s=function(e){return e.isBoundToModule}(o)?void 0:this._injector.get(wa),f=o.create(Ar.NULL,[],r||o.selector,s),y=f.location.nativeElement,S=f.injector.get(Ov,null),N=S&&f.injector.get(Pv);return S&&N&&N.registerApplication(y,S),f.onDestroy(()=>{this.detachView(f.hostView),$f(this.components,f),N&&N.unregisterApplication(y)}),this._loadComponent(f),f}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;$f(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Iv,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(jr(ai),jr(Ar),jr(Za),jr(bl),jr(Ml))},e.\u0275prov=kt({token:e,factory:e.\u0275fac}),e})();function $f(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class pI{}class mI{}const yI={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let vI=(()=>{class e{constructor(n,r){this._compiler=n,this._config=r||yI}load(n){return this.loadAndCompile(n)}loadAndCompile(n){let[r,o]=n.split("#");return void 0===o&&(o="default"),R(8255)(r).then(s=>s[o]).then(s=>zv(s,r,o)).then(s=>this._compiler.compileModuleAsync(s))}loadFactory(n){let[r,o]=n.split("#"),s="NgFactory";return void 0===o&&(o="default",s=""),R(8255)(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(c=>c[o+s]).then(c=>zv(c,r,o))}}return e.\u0275fac=function(n){return new(n||e)(jr(bc),jr(mI,8))},e.\u0275prov=kt({token:e,factory:e.\u0275fac}),e})();function zv(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const II=function(e){return null},AI=Bv(null,"core",[{provide:Sv,useValue:"unknown"},{provide:Vv,deps:[Ar]},{provide:Pv,deps:[]},{provide:Tv,deps:[]}]),PI=[{provide:Cc,useClass:Cc,deps:[ai,Ar,Za,bl,Ml]},{provide:kw,deps:[ai],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:Ml,useClass:Ml,deps:[[new Li,Of]]},{provide:bc,useClass:bc,deps:[]},BS,{provide:au,useFactory:function(){return xD},deps:[]},{provide:lu,useFactory:function(){return RD},deps:[]},{provide:_u,useFactory:function(e){return Qd(e=e||"undefined"!=typeof $localize&&$localize.locale||eu),e},deps:[[new ra(_u),new Li,new m]]},{provide:Av,useValue:"USD"}];let NI=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(jr(Cc))},e.\u0275mod=br({type:e}),e.\u0275inj=Yt({providers:PI}),e})()},665:(Ze,Ne,R)=>{"use strict";R.d(Ne,{gN:()=>Yt,Fj:()=>re,qu:()=>Qe,NI:()=>Vn,oH:()=>Dt,u:()=>co,sg:()=>sn,JU:()=>L,a5:()=>xn,JJ:()=>Er,JL:()=>Ke,UX:()=>J,kI:()=>Me,_Y:()=>P});var i=R(639),A=R(8583),me=R(7574),de=R(9796),ae=R(8002),ie=R(1555),$=R(4402);function Y(T,D){return new me.y(E=>{const U=T.length;if(0===U)return void E.complete();const Pe=new Array(U);let ut=0,Wt=0;for(let un=0;un{kn||(kn=!0,Wt++),Pe[un]=Gr},error:Gr=>E.error(Gr),complete:()=>{ut++,(ut===U||!kn)&&(Wt===U&&E.next(D?D.reduce((Gr,kr,eo)=>(Gr[kr]=Pe[eo],Gr),{}):Pe),E.complete())}}))}})}let j=(()=>{class T{constructor(E,U){this._renderer=E,this._elementRef=U,this.onChange=Pe=>{},this.onTouched=()=>{}}setProperty(E,U){this._renderer.setProperty(this._elementRef.nativeElement,E,U)}registerOnTouched(E){this.onTouched=E}registerOnChange(E){this.onChange=E}setDisabledState(E){this.setProperty("disabled",E)}}return T.\u0275fac=function(E){return new(E||T)(i.Y36(i.Qsj),i.Y36(i.SBq))},T.\u0275dir=i.lG2({type:T}),T})(),V=(()=>{class T extends j{}return T.\u0275fac=function(){let D;return function(U){return(D||(D=i.n5z(T)))(U||T)}}(),T.\u0275dir=i.lG2({type:T,features:[i.qOj]}),T})();const L=new i.OlP("NgValueAccessor"),he={provide:L,useExisting:(0,i.Gpc)(()=>re),multi:!0},ce=new i.OlP("CompositionEventMode");let re=(()=>{class T extends j{constructor(E,U,Pe){super(E,U),this._compositionMode=Pe,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const T=(0,A.q)()?(0,A.q)().getUserAgent():"";return/android (\d+)/.test(T.toLowerCase())}())}writeValue(E){this.setProperty("value",null==E?"":E)}_handleInput(E){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(E)}_compositionStart(){this._composing=!0}_compositionEnd(E){this._composing=!1,this._compositionMode&&this.onChange(E)}}return T.\u0275fac=function(E){return new(E||T)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(ce,8))},T.\u0275dir=i.lG2({type:T,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(E,U){1&E&&i.NdJ("input",function(ut){return U._handleInput(ut.target.value)})("blur",function(){return U.onTouched()})("compositionstart",function(){return U._compositionStart()})("compositionend",function(ut){return U._compositionEnd(ut.target.value)})},features:[i._Bn([he]),i.qOj]}),T})();function Fe(T){return null==T||0===T.length}function Oe(T){return null!=T&&"number"==typeof T.length}const ge=new i.OlP("NgValidators"),ze=new i.OlP("NgAsyncValidators"),Je=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Me{static min(D){return T=D,D=>{if(Fe(D.value)||Fe(T))return null;const E=parseFloat(D.value);return!isNaN(E)&&E{if(Fe(D.value)||Fe(T))return null;const E=parseFloat(D.value);return!isNaN(E)&&E>T?{max:{max:T,actual:D.value}}:null};var T}static required(D){return Fe(D.value)?{required:!0}:null}static requiredTrue(D){return!0===D.value?null:{required:!0}}static email(D){return Fe((T=D).value)||Je.test(T.value)?null:{email:!0};var T}static minLength(D){return T=D,D=>Fe(D.value)||!Oe(D.value)?null:D.value.lengthOe(D.value)&&D.value.length>T?{maxlength:{requiredLength:T,actualLength:D.value.length}}:null;var T}static pattern(D){return function(T){if(!T)return Ot;let D,E;return"string"==typeof T?(E="","^"!==T.charAt(0)&&(E+="^"),E+=T,"$"!==T.charAt(T.length-1)&&(E+="$"),D=new RegExp(E)):(E=T.toString(),D=T),U=>{if(Fe(U.value))return null;const Pe=U.value;return D.test(Pe)?null:{pattern:{requiredPattern:E,actualValue:Pe}}}}(D)}static nullValidator(D){return null}static compose(D){return He(D)}static composeAsync(D){return Et(D)}}function Ot(T){return null}function jt(T){return null!=T}function et(T){const D=(0,i.QGY)(T)?(0,$.D)(T):T;return(0,i.CqO)(D),D}function $e(T){let D={};return T.forEach(E=>{D=null!=E?Object.assign(Object.assign({},D),E):D}),0===Object.keys(D).length?null:D}function Ge(T,D){return D.map(E=>E(T))}function ot(T){return T.map(D=>function(T){return!T.validate}(D)?D:E=>D.validate(E))}function He(T){if(!T)return null;const D=T.filter(jt);return 0==D.length?null:function(E){return $e(Ge(E,D))}}function Ye(T){return null!=T?He(ot(T)):null}function Et(T){if(!T)return null;const D=T.filter(jt);return 0==D.length?null:function(E){return function(...T){if(1===T.length){const D=T[0];if((0,de.k)(D))return Y(D,null);if((0,ie.K)(D)&&Object.getPrototypeOf(D)===Object.prototype){const E=Object.keys(D);return Y(E.map(U=>D[U]),E)}}if("function"==typeof T[T.length-1]){const D=T.pop();return Y(T=1===T.length&&(0,de.k)(T[0])?T[0]:T,null).pipe((0,ae.U)(E=>D(...E)))}return Y(T,null)}(Ge(E,D).map(et)).pipe((0,ae.U)($e))}}function Ct(T){return null!=T?Et(ot(T)):null}function ht(T,D){return null===T?[D]:Array.isArray(T)?[...T,D]:[T,D]}function xt(T){return T._rawValidators}function Tt(T){return T._rawAsyncValidators}function an(T){return T?Array.isArray(T)?T:[T]:[]}function gn(T,D){return Array.isArray(T)?T.includes(D):T===D}function rn(T,D){const E=an(D);return an(T).forEach(Pe=>{gn(E,Pe)||E.push(Pe)}),E}function kt(T,D){return an(D).filter(E=>!gn(T,E))}let Fn=(()=>{class T{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(E){this._rawValidators=E||[],this._composedValidatorFn=Ye(this._rawValidators)}_setAsyncValidators(E){this._rawAsyncValidators=E||[],this._composedAsyncValidatorFn=Ct(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(E){this._onDestroyCallbacks.push(E)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(E=>E()),this._onDestroyCallbacks=[]}reset(E){this.control&&this.control.reset(E)}hasError(E,U){return!!this.control&&this.control.hasError(E,U)}getError(E,U){return this.control?this.control.getError(E,U):null}}return T.\u0275fac=function(E){return new(E||T)},T.\u0275dir=i.lG2({type:T}),T})(),Yt=(()=>{class T extends Fn{get formDirective(){return null}get path(){return null}}return T.\u0275fac=function(){let D;return function(U){return(D||(D=i.n5z(T)))(U||T)}}(),T.\u0275dir=i.lG2({type:T,features:[i.qOj]}),T})();class xn extends Fn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Jn{constructor(D){this._cd=D}is(D){var E,U,Pe;return"submitted"===D?!!(null===(E=this._cd)||void 0===E?void 0:E.submitted):!!(null===(Pe=null===(U=this._cd)||void 0===U?void 0:U.control)||void 0===Pe?void 0:Pe[D])}}let Er=(()=>{class T extends Jn{constructor(E){super(E)}}return T.\u0275fac=function(E){return new(E||T)(i.Y36(xn,2))},T.\u0275dir=i.lG2({type:T,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(E,U){2&E&&i.ekj("ng-untouched",U.is("untouched"))("ng-touched",U.is("touched"))("ng-pristine",U.is("pristine"))("ng-dirty",U.is("dirty"))("ng-valid",U.is("valid"))("ng-invalid",U.is("invalid"))("ng-pending",U.is("pending"))},features:[i.qOj]}),T})(),Ke=(()=>{class T extends Jn{constructor(E){super(E)}}return T.\u0275fac=function(E){return new(E||T)(i.Y36(Yt,10))},T.\u0275dir=i.lG2({type:T,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(E,U){2&E&&i.ekj("ng-untouched",U.is("untouched"))("ng-touched",U.is("touched"))("ng-pristine",U.is("pristine"))("ng-dirty",U.is("dirty"))("ng-valid",U.is("valid"))("ng-invalid",U.is("invalid"))("ng-pending",U.is("pending"))("ng-submitted",U.is("submitted"))},features:[i.qOj]}),T})();function St(T,D){Bn(T,D),D.valueAccessor.writeValue(T.value),function(T,D){D.valueAccessor.registerOnChange(E=>{T._pendingValue=E,T._pendingChange=!0,T._pendingDirty=!0,"change"===T.updateOn&&yt(T,D)})}(T,D),function(T,D){const E=(U,Pe)=>{D.valueAccessor.writeValue(U),Pe&&D.viewToModelUpdate(U)};T.registerOnChange(E),D._registerOnDestroy(()=>{T._unregisterOnChange(E)})}(T,D),function(T,D){D.valueAccessor.registerOnTouched(()=>{T._pendingTouched=!0,"blur"===T.updateOn&&T._pendingChange&&yt(T,D),"submit"!==T.updateOn&&T.markAsTouched()})}(T,D),function(T,D){if(D.valueAccessor.setDisabledState){const E=U=>{D.valueAccessor.setDisabledState(U)};T.registerOnDisabledChange(E),D._registerOnDestroy(()=>{T._unregisterOnDisabledChange(E)})}}(T,D)}function Zn(T,D,E=!0){const U=()=>{};D.valueAccessor&&(D.valueAccessor.registerOnChange(U),D.valueAccessor.registerOnTouched(U)),hn(T,D),T&&(D._invokeOnDestroyCallbacks(),T._registerOnCollectionChange(()=>{}))}function Qt(T,D){T.forEach(E=>{E.registerOnValidatorChange&&E.registerOnValidatorChange(D)})}function Bn(T,D){const E=xt(T);null!==D.validator?T.setValidators(ht(E,D.validator)):"function"==typeof E&&T.setValidators([E]);const U=Tt(T);null!==D.asyncValidator?T.setAsyncValidators(ht(U,D.asyncValidator)):"function"==typeof U&&T.setAsyncValidators([U]);const Pe=()=>T.updateValueAndValidity();Qt(D._rawValidators,Pe),Qt(D._rawAsyncValidators,Pe)}function hn(T,D){let E=!1;if(null!==T){if(null!==D.validator){const Pe=xt(T);if(Array.isArray(Pe)&&Pe.length>0){const ut=Pe.filter(Wt=>Wt!==D.validator);ut.length!==Pe.length&&(E=!0,T.setValidators(ut))}}if(null!==D.asyncValidator){const Pe=Tt(T);if(Array.isArray(Pe)&&Pe.length>0){const ut=Pe.filter(Wt=>Wt!==D.asyncValidator);ut.length!==Pe.length&&(E=!0,T.setAsyncValidators(ut))}}}const U=()=>{};return Qt(D._rawValidators,U),Qt(D._rawAsyncValidators,U),E}function yt(T,D){T._pendingDirty&&T.markAsDirty(),T.setValue(T._pendingValue,{emitModelToViewChange:!1}),D.viewToModelUpdate(T._pendingValue),T._pendingChange=!1}function er(T,D){if(!T.hasOwnProperty("model"))return!1;const E=T.model;return!!E.isFirstChange()||!Object.is(D,E.currentValue)}function mr(T,D){if(!D)return null;let E,U,Pe;return Array.isArray(D),D.forEach(ut=>{ut.constructor===re?E=ut:function(T){return Object.getPrototypeOf(T.constructor)===V}(ut)?U=ut:Pe=ut}),Pe||U||E||null}function Mr(T,D){const E=T.indexOf(D);E>-1&&T.splice(E,1)}const Kn="VALID",Hn="INVALID",sr="PENDING",br="DISABLED";function Tn(T){return(Gn(T)?T.validators:T)||null}function ar(T){return Array.isArray(T)?Ye(T):T||null}function Wr(T,D){return(Gn(D)?D.asyncValidators:T)||null}function Lt(T){return Array.isArray(T)?Ct(T):T||null}function Gn(T){return null!=T&&!Array.isArray(T)&&"object"==typeof T}class lt{constructor(D,E){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=D,this._rawAsyncValidators=E,this._composedValidatorFn=ar(this._rawValidators),this._composedAsyncValidatorFn=Lt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(D){this._rawValidators=this._composedValidatorFn=D}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(D){this._rawAsyncValidators=this._composedAsyncValidatorFn=D}get parent(){return this._parent}get valid(){return this.status===Kn}get invalid(){return this.status===Hn}get pending(){return this.status==sr}get disabled(){return this.status===br}get enabled(){return this.status!==br}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(D){this._rawValidators=D,this._composedValidatorFn=ar(D)}setAsyncValidators(D){this._rawAsyncValidators=D,this._composedAsyncValidatorFn=Lt(D)}addValidators(D){this.setValidators(rn(D,this._rawValidators))}addAsyncValidators(D){this.setAsyncValidators(rn(D,this._rawAsyncValidators))}removeValidators(D){this.setValidators(kt(D,this._rawValidators))}removeAsyncValidators(D){this.setAsyncValidators(kt(D,this._rawAsyncValidators))}hasValidator(D){return gn(this._rawValidators,D)}hasAsyncValidator(D){return gn(this._rawAsyncValidators,D)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(D={}){this.touched=!0,this._parent&&!D.onlySelf&&this._parent.markAsTouched(D)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(D=>D.markAllAsTouched())}markAsUntouched(D={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(E=>{E.markAsUntouched({onlySelf:!0})}),this._parent&&!D.onlySelf&&this._parent._updateTouched(D)}markAsDirty(D={}){this.pristine=!1,this._parent&&!D.onlySelf&&this._parent.markAsDirty(D)}markAsPristine(D={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(E=>{E.markAsPristine({onlySelf:!0})}),this._parent&&!D.onlySelf&&this._parent._updatePristine(D)}markAsPending(D={}){this.status=sr,!1!==D.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!D.onlySelf&&this._parent.markAsPending(D)}disable(D={}){const E=this._parentMarkedDirty(D.onlySelf);this.status=br,this.errors=null,this._forEachChild(U=>{U.disable(Object.assign(Object.assign({},D),{onlySelf:!0}))}),this._updateValue(),!1!==D.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},D),{skipPristineCheck:E})),this._onDisabledChange.forEach(U=>U(!0))}enable(D={}){const E=this._parentMarkedDirty(D.onlySelf);this.status=Kn,this._forEachChild(U=>{U.enable(Object.assign(Object.assign({},D),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:D.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},D),{skipPristineCheck:E})),this._onDisabledChange.forEach(U=>U(!1))}_updateAncestors(D){this._parent&&!D.onlySelf&&(this._parent.updateValueAndValidity(D),D.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(D){this._parent=D}updateValueAndValidity(D={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Kn||this.status===sr)&&this._runAsyncValidator(D.emitEvent)),!1!==D.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!D.onlySelf&&this._parent.updateValueAndValidity(D)}_updateTreeValidity(D={emitEvent:!0}){this._forEachChild(E=>E._updateTreeValidity(D)),this.updateValueAndValidity({onlySelf:!0,emitEvent:D.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?br:Kn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(D){if(this.asyncValidator){this.status=sr,this._hasOwnPendingAsyncValidator=!0;const E=et(this.asyncValidator(this));this._asyncValidationSubscription=E.subscribe(U=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(U,{emitEvent:D})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(D,E={}){this.errors=D,this._updateControlsErrors(!1!==E.emitEvent)}get(D){return function(T,D,E){if(null==D||(Array.isArray(D)||(D=D.split(".")),Array.isArray(D)&&0===D.length))return null;let U=T;return D.forEach(Pe=>{U=U instanceof Dr?U.controls.hasOwnProperty(Pe)?U.controls[Pe]:null:U instanceof jn&&U.at(Pe)||null}),U}(this,D)}getError(D,E){const U=E?this.get(E):this;return U&&U.errors?U.errors[D]:null}hasError(D,E){return!!this.getError(D,E)}get root(){let D=this;for(;D._parent;)D=D._parent;return D}_updateControlsErrors(D){this.status=this._calculateStatus(),D&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(D)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?br:this.errors?Hn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(sr)?sr:this._anyControlsHaveStatus(Hn)?Hn:Kn}_anyControlsHaveStatus(D){return this._anyControls(E=>E.status===D)}_anyControlsDirty(){return this._anyControls(D=>D.dirty)}_anyControlsTouched(){return this._anyControls(D=>D.touched)}_updatePristine(D={}){this.pristine=!this._anyControlsDirty(),this._parent&&!D.onlySelf&&this._parent._updatePristine(D)}_updateTouched(D={}){this.touched=this._anyControlsTouched(),this._parent&&!D.onlySelf&&this._parent._updateTouched(D)}_isBoxedValue(D){return"object"==typeof D&&null!==D&&2===Object.keys(D).length&&"value"in D&&"disabled"in D}_registerOnCollectionChange(D){this._onCollectionChange=D}_setUpdateStrategy(D){Gn(D)&&null!=D.updateOn&&(this._updateOn=D.updateOn)}_parentMarkedDirty(D){return!D&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Vn extends lt{constructor(D=null,E,U){super(Tn(E),Wr(U,E)),this._onChange=[],this._applyFormState(D),this._setUpdateStrategy(E),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(D,E={}){this.value=this._pendingValue=D,this._onChange.length&&!1!==E.emitModelToViewChange&&this._onChange.forEach(U=>U(this.value,!1!==E.emitViewToModelChange)),this.updateValueAndValidity(E)}patchValue(D,E={}){this.setValue(D,E)}reset(D=null,E={}){this._applyFormState(D),this.markAsPristine(E),this.markAsUntouched(E),this.setValue(this.value,E),this._pendingChange=!1}_updateValue(){}_anyControls(D){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(D){this._onChange.push(D)}_unregisterOnChange(D){Mr(this._onChange,D)}registerOnDisabledChange(D){this._onDisabledChange.push(D)}_unregisterOnDisabledChange(D){Mr(this._onDisabledChange,D)}_forEachChild(D){}_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(D){this._isBoxedValue(D)?(this.value=this._pendingValue=D.value,D.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=D}}class Dr extends lt{constructor(D,E,U){super(Tn(E),Wr(U,E)),this.controls=D,this._initObservables(),this._setUpdateStrategy(E),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(D,E){return this.controls[D]?this.controls[D]:(this.controls[D]=E,E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange),E)}addControl(D,E,U={}){this.registerControl(D,E),this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}removeControl(D,E={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange(()=>{}),delete this.controls[D],this.updateValueAndValidity({emitEvent:E.emitEvent}),this._onCollectionChange()}setControl(D,E,U={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange(()=>{}),delete this.controls[D],E&&this.registerControl(D,E),this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}contains(D){return this.controls.hasOwnProperty(D)&&this.controls[D].enabled}setValue(D,E={}){this._checkAllValuesPresent(D),Object.keys(D).forEach(U=>{this._throwIfControlMissing(U),this.controls[U].setValue(D[U],{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E)}patchValue(D,E={}){null!=D&&(Object.keys(D).forEach(U=>{this.controls[U]&&this.controls[U].patchValue(D[U],{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E))}reset(D={},E={}){this._forEachChild((U,Pe)=>{U.reset(D[Pe],{onlySelf:!0,emitEvent:E.emitEvent})}),this._updatePristine(E),this._updateTouched(E),this.updateValueAndValidity(E)}getRawValue(){return this._reduceChildren({},(D,E,U)=>(D[U]=E instanceof Vn?E.value:E.getRawValue(),D))}_syncPendingControls(){let D=this._reduceChildren(!1,(E,U)=>!!U._syncPendingControls()||E);return D&&this.updateValueAndValidity({onlySelf:!0}),D}_throwIfControlMissing(D){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[D])throw new Error(`Cannot find form control with name: ${D}.`)}_forEachChild(D){Object.keys(this.controls).forEach(E=>{const U=this.controls[E];U&&D(U,E)})}_setUpControls(){this._forEachChild(D=>{D.setParent(this),D._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(D){for(const E of Object.keys(this.controls)){const U=this.controls[E];if(this.contains(E)&&D(U))return!0}return!1}_reduceValue(){return this._reduceChildren({},(D,E,U)=>((E.enabled||this.disabled)&&(D[U]=E.value),D))}_reduceChildren(D,E){let U=D;return this._forEachChild((Pe,ut)=>{U=E(U,Pe,ut)}),U}_allControlsDisabled(){for(const D of Object.keys(this.controls))if(this.controls[D].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(D){this._forEachChild((E,U)=>{if(void 0===D[U])throw new Error(`Must supply a value for form control with name: '${U}'.`)})}}class jn extends lt{constructor(D,E,U){super(Tn(E),Wr(U,E)),this.controls=D,this._initObservables(),this._setUpdateStrategy(E),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(D){return this.controls[D]}push(D,E={}){this.controls.push(D),this._registerControl(D),this.updateValueAndValidity({emitEvent:E.emitEvent}),this._onCollectionChange()}insert(D,E,U={}){this.controls.splice(D,0,E),this._registerControl(E),this.updateValueAndValidity({emitEvent:U.emitEvent})}removeAt(D,E={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange(()=>{}),this.controls.splice(D,1),this.updateValueAndValidity({emitEvent:E.emitEvent})}setControl(D,E,U={}){this.controls[D]&&this.controls[D]._registerOnCollectionChange(()=>{}),this.controls.splice(D,1),E&&(this.controls.splice(D,0,E),this._registerControl(E)),this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(D,E={}){this._checkAllValuesPresent(D),D.forEach((U,Pe)=>{this._throwIfControlMissing(Pe),this.at(Pe).setValue(U,{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E)}patchValue(D,E={}){null!=D&&(D.forEach((U,Pe)=>{this.at(Pe)&&this.at(Pe).patchValue(U,{onlySelf:!0,emitEvent:E.emitEvent})}),this.updateValueAndValidity(E))}reset(D=[],E={}){this._forEachChild((U,Pe)=>{U.reset(D[Pe],{onlySelf:!0,emitEvent:E.emitEvent})}),this._updatePristine(E),this._updateTouched(E),this.updateValueAndValidity(E)}getRawValue(){return this.controls.map(D=>D instanceof Vn?D.value:D.getRawValue())}clear(D={}){this.controls.length<1||(this._forEachChild(E=>E._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:D.emitEvent}))}_syncPendingControls(){let D=this.controls.reduce((E,U)=>!!U._syncPendingControls()||E,!1);return D&&this.updateValueAndValidity({onlySelf:!0}),D}_throwIfControlMissing(D){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(D))throw new Error(`Cannot find form control at index ${D}`)}_forEachChild(D){this.controls.forEach((E,U)=>{D(E,U)})}_updateValue(){this.value=this.controls.filter(D=>D.enabled||this.disabled).map(D=>D.value)}_anyControls(D){return this.controls.some(E=>E.enabled&&D(E))}_setUpControls(){this._forEachChild(D=>this._registerControl(D))}_checkAllValuesPresent(D){this._forEachChild((E,U)=>{if(void 0===D[U])throw new Error(`Must supply a value for form control at index: ${U}.`)})}_allControlsDisabled(){for(const D of this.controls)if(D.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(D){D.setParent(this),D._registerOnCollectionChange(this._onCollectionChange)}}let P=(()=>{class T{}return T.\u0275fac=function(E){return new(E||T)},T.\u0275dir=i.lG2({type:T,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),T})(),ne=(()=>{class T{}return T.\u0275fac=function(E){return new(E||T)},T.\u0275mod=i.oAB({type:T}),T.\u0275inj=i.cJS({}),T})();const dt=new i.OlP("NgModelWithFormControlWarning"),wt={provide:xn,useExisting:(0,i.Gpc)(()=>Dt)};let Dt=(()=>{class T extends xn{constructor(E,U,Pe,ut){super(),this._ngModelWarningConfig=ut,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(E),this._setAsyncValidators(U),this.valueAccessor=mr(0,Pe)}set isDisabled(E){}ngOnChanges(E){if(this._isControlChanged(E)){const U=E.form.previousValue;U&&Zn(U,this,!1),St(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}er(E,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Zn(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(E){this.viewModel=E,this.update.emit(E)}_isControlChanged(E){return E.hasOwnProperty("form")}}return T.\u0275fac=function(E){return new(E||T)(i.Y36(ge,10),i.Y36(ze,10),i.Y36(L,10),i.Y36(dt,8))},T.\u0275dir=i.lG2({type:T,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([wt]),i.qOj,i.TTD]}),T._ngModelWarningSentOnce=!1,T})();const mn={provide:Yt,useExisting:(0,i.Gpc)(()=>sn)};let sn=(()=>{class T extends Yt{constructor(E,U){super(),this.validators=E,this.asyncValidators=U,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(E),this._setAsyncValidators(U)}ngOnChanges(E){this._checkFormPresent(),E.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(hn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(E){const U=this.form.get(E.path);return St(U,E),U.updateValueAndValidity({emitEvent:!1}),this.directives.push(E),U}getControl(E){return this.form.get(E.path)}removeControl(E){Zn(E.control||null,E,!1),Mr(this.directives,E)}addFormGroup(E){this._setUpFormContainer(E)}removeFormGroup(E){this._cleanUpFormContainer(E)}getFormGroup(E){return this.form.get(E.path)}addFormArray(E){this._setUpFormContainer(E)}removeFormArray(E){this._cleanUpFormContainer(E)}getFormArray(E){return this.form.get(E.path)}updateModel(E,U){this.form.get(E.path).setValue(U)}onSubmit(E){return this.submitted=!0,function(T,D){T._syncPendingControls(),D.forEach(E=>{const U=E.control;"submit"===U.updateOn&&U._pendingChange&&(E.viewToModelUpdate(U._pendingValue),U._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(E),!1}onReset(){this.resetForm()}resetForm(E){this.form.reset(E),this.submitted=!1}_updateDomValue(){this.directives.forEach(E=>{const U=E.control,Pe=this.form.get(E.path);U!==Pe&&(Zn(U||null,E),Pe instanceof Vn&&(St(Pe,E),E.control=Pe))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(E){const U=this.form.get(E.path);(function(T,D){Bn(T,D)})(U,E),U.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(E){if(this.form){const U=this.form.get(E.path);U&&function(T,D){return hn(T,D)}(U,E)&&U.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Bn(this.form,this),this._oldForm&&hn(this._oldForm,this)}_checkFormPresent(){}}return T.\u0275fac=function(E){return new(E||T)(i.Y36(ge,10),i.Y36(ze,10))},T.\u0275dir=i.lG2({type:T,selectors:[["","formGroup",""]],hostBindings:function(E,U){1&E&&i.NdJ("submit",function(ut){return U.onSubmit(ut)})("reset",function(){return U.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([mn]),i.qOj,i.TTD]}),T})();const Io={provide:xn,useExisting:(0,i.Gpc)(()=>co)};let co=(()=>{class T extends xn{constructor(E,U,Pe,ut,Wt){super(),this._ngModelWarningConfig=Wt,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=E,this._setValidators(U),this._setAsyncValidators(Pe),this.valueAccessor=mr(0,ut)}set isDisabled(E){}ngOnChanges(E){this._added||this._setUpControl(),er(E,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(E){this.viewModel=E,this.update.emit(E)}get path(){return function(T,D){return[...D.path,T]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return T.\u0275fac=function(E){return new(E||T)(i.Y36(Yt,13),i.Y36(ge,10),i.Y36(ze,10),i.Y36(L,10),i.Y36(dt,8))},T.\u0275dir=i.lG2({type:T,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([Io]),i.qOj,i.TTD]}),T._ngModelWarningSentOnce=!1,T})(),G=(()=>{class T{}return T.\u0275fac=function(E){return new(E||T)},T.\u0275mod=i.oAB({type:T}),T.\u0275inj=i.cJS({imports:[[ne]]}),T})(),J=(()=>{class T{static withConfig(E){return{ngModule:T,providers:[{provide:dt,useValue:E.warnOnNgModelWithFormControl}]}}}return T.\u0275fac=function(E){return new(E||T)},T.\u0275mod=i.oAB({type:T}),T.\u0275inj=i.cJS({imports:[G]}),T})(),Qe=(()=>{class T{group(E,U=null){const Pe=this._reduceControls(E);let un,ut=null,Wt=null;return null!=U&&(function(T){return void 0!==T.asyncValidators||void 0!==T.validators||void 0!==T.updateOn}(U)?(ut=null!=U.validators?U.validators:null,Wt=null!=U.asyncValidators?U.asyncValidators:null,un=null!=U.updateOn?U.updateOn:void 0):(ut=null!=U.validator?U.validator:null,Wt=null!=U.asyncValidator?U.asyncValidator:null)),new Dr(Pe,{asyncValidators:Wt,updateOn:un,validators:ut})}control(E,U,Pe){return new Vn(E,U,Pe)}array(E,U,Pe){const ut=E.map(Wt=>this._createControl(Wt));return new jn(ut,U,Pe)}_reduceControls(E){const U={};return Object.keys(E).forEach(Pe=>{U[Pe]=this._createControl(E[Pe])}),U}_createControl(E){return E instanceof Vn||E instanceof Dr||E instanceof jn?E:Array.isArray(E)?this.control(E[0],E.length>1?E[1]:null,E.length>2?E[2]:null):this.control(E)}}return T.\u0275fac=function(E){return new(E||T)},T.\u0275prov=(0,i.Yz7)({factory:function(){return new T},token:T,providedIn:J}),T})()},8739:(Ze,Ne,R)=>{"use strict";R.d(Ne,{gz:()=>Kr,y6:()=>Ro,OD:()=>Zt,eC:()=>At,wm:()=>zs,F0:()=>oo,rH:()=>cs,Bz:()=>Ks,lC:()=>Gs,Hx:()=>qn});var i=R(8583),A=R(639),me=R(4869),de=R(9796),ae=R(7393);class ie extends ae.L{notifyNext(g,h,w,O,W){this.destination.next(h)}notifyError(g,h){this.destination.error(g)}notifyComplete(g){this.destination.complete()}}class $ extends ae.L{constructor(g,h,w){super(),this.parent=g,this.outerValue=h,this.outerIndex=w,this.index=0}_next(g){this.parent.notifyNext(this.outerValue,g,this.outerIndex,this.index++,this)}_error(g){this.parent.notifyError(g,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var K=R(7444),Y=R(7574);function j(v,g,h,w,O=new $(v,h,w)){if(!O.closed)return g instanceof Y.y?g.subscribe(O):(0,K.s)(g)(O)}var V=R(6693);const L={};class oe{constructor(g){this.resultSelector=g}call(g,h){return h.subscribe(new he(g,this.resultSelector))}}class he extends ie{constructor(g,h){super(g),this.resultSelector=h,this.active=0,this.values=[],this.observables=[]}_next(g){this.values.push(L),this.observables.push(g)}_complete(){const g=this.observables,h=g.length;if(0===h)this.destination.complete();else{this.active=h,this.toRespond=h;for(let w=0;w{function v(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return v.prototype=Object.create(Error.prototype),v})();var re=R(5917),Fe=R(3282);function ge(...v){return(0,Fe.J)(1)((0,re.of)(...v))}var ze=R(4402);const Je=new Y.y(v=>v.complete());function Me(v){return v?function(v){return new Y.y(g=>v.schedule(()=>g.complete()))}(v):Je}function Se(v){return new Y.y(g=>{let h;try{h=v()}catch(O){return void g.error(O)}return(h?(0,ze.D)(h):Me()).subscribe(g)})}var Ve=R(6215),Ue=R(2441),Ae=R(7709);const je=(()=>{function v(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return v.prototype=Object.create(Error.prototype),v})();function Xe(v){return g=>0===v?Me():g.lift(new Ot(v))}class Ot{constructor(g){if(this.total=g,this.total<0)throw new je}call(g,h){return h.subscribe(new jt(g,this.total))}}class jt extends ae.L{constructor(g,h){super(g),this.total=h,this.count=0}_next(g){const h=this.total,w=++this.count;w<=h&&(this.destination.next(g),w===h&&(this.destination.complete(),this.unsubscribe()))}}function $e(v,g){let h=!1;return arguments.length>=2&&(h=!0),function(O){return O.lift(new Ge(v,g,h))}}class Ge{constructor(g,h,w=!1){this.accumulator=g,this.seed=h,this.hasSeed=w}call(g,h){return h.subscribe(new ct(g,this.accumulator,this.seed,this.hasSeed))}}class ct extends ae.L{constructor(g,h,w,O){super(g),this.accumulator=h,this._seed=w,this.hasSeed=O,this.index=0}get seed(){return this._seed}set seed(g){this.hasSeed=!0,this._seed=g}_next(g){if(this.hasSeed)return this._tryNext(g);this.seed=g,this.destination.next(g)}_tryNext(g){const h=this.index++;let w;try{w=this.accumulator(this.seed,g,h)}catch(O){this.destination.error(O)}this.seed=w,this.destination.next(w)}}var ot=R(5345);function He(v){return function(h){const w=new Ye(v),O=h.lift(w);return w.caught=O}}class Ye{constructor(g){this.selector=g}call(g,h){return h.subscribe(new Et(g,this.selector,this.caught))}}class Et extends ot.Ds{constructor(g,h,w){super(g),this.selector=h,this.caught=w}error(g){if(!this.isStopped){let h;try{h=this.selector(g,this.caught)}catch(W){return void super.error(W)}this._unsubscribeAndRecycle();const w=new ot.IY(this);this.add(w);const O=(0,ot.ft)(h,w);O!==w&&this.add(O)}}}var Ct=R(5435);function ht(v){return function(h){return 0===v?Me():h.lift(new xt(v))}}class xt{constructor(g){if(this.total=g,this.total<0)throw new je}call(g,h){return h.subscribe(new Tt(g,this.total))}}class Tt extends ae.L{constructor(g,h){super(g),this.total=h,this.ring=new Array,this.count=0}_next(g){const h=this.ring,w=this.total,O=this.count++;h.length0){const w=this.count>=this.total?this.total:this.count,O=this.ring;for(let W=0;Wg.lift(new gn(v))}class gn{constructor(g){this.errorFactory=g}call(g,h){return h.subscribe(new rn(g,this.errorFactory))}}class rn extends ae.L{constructor(g,h){super(g),this.errorFactory=h,this.hasValue=!1}_next(g){this.hasValue=!0,this.destination.next(g)}_complete(){if(this.hasValue)return this.destination.complete();{let g;try{g=this.errorFactory()}catch(h){g=h}this.destination.error(g)}}}function kt(){return new ce}function Fn(v=null){return g=>g.lift(new Yt(v))}class Yt{constructor(g){this.defaultValue=g}call(g,h){return h.subscribe(new xn(g,this.defaultValue))}}class xn extends ae.L{constructor(g,h){super(g),this.defaultValue=h,this.isEmpty=!0}_next(g){this.isEmpty=!1,this.destination.next(g)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var Jn=R(4487);function Nn(v,g){const h=arguments.length>=2;return w=>w.pipe(v?(0,Ct.h)((O,W)=>v(O,W,w)):Jn.y,Xe(1),h?Fn(g):an(()=>new ce))}var Er=R(5319);class Ce{constructor(g){this.callback=g}call(g,h){return h.subscribe(new we(g,this.callback))}}class we extends ae.L{constructor(g,h){super(g),this.add(new Er.w(h))}}var rt=R(8002),ke=R(3190),bt=R(4612),ft=R(9773),gt=R(3342),zt=R(1307);class Dn{constructor(g,h){this.id=g,this.url=h}}class Zt extends Dn{constructor(g,h,w="imperative",O=null){super(g,h),this.navigationTrigger=w,this.restoredState=O}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class In extends Dn{constructor(g,h,w){super(g,h),this.urlAfterRedirects=w}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Rn extends Dn{constructor(g,h,w){super(g,h),this.reason=w}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class en extends Dn{constructor(g,h,w){super(g,h),this.error=w}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class St extends Dn{constructor(g,h,w,O){super(g,h),this.urlAfterRedirects=w,this.state=O}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zn extends Dn{constructor(g,h,w,O){super(g,h),this.urlAfterRedirects=w,this.state=O}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qt extends Dn{constructor(g,h,w,O,W){super(g,h),this.urlAfterRedirects=w,this.state=O,this.shouldActivate=W}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class wn extends Dn{constructor(g,h,w,O){super(g,h),this.urlAfterRedirects=w,this.state=O}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Bn extends Dn{constructor(g,h,w,O){super(g,h),this.urlAfterRedirects=w,this.state=O}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hn{constructor(g){this.route=g}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Pr{constructor(g){this.route=g}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ao{constructor(g){this.snapshot=g}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yt{constructor(g){this.snapshot=g}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class on{constructor(g){this.snapshot=g}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ir{constructor(g){this.snapshot=g}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gr{constructor(g,h,w){this.routerEvent=g,this.position=h,this.anchor=w}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const At="primary";class dr{constructor(g){this.params=g||{}}has(g){return Object.prototype.hasOwnProperty.call(this.params,g)}get(g){if(this.has(g)){const h=this.params[g];return Array.isArray(h)?h[0]:h}return null}getAll(g){if(this.has(g)){const h=this.params[g];return Array.isArray(h)?h:[h]}return[]}get keys(){return Object.keys(this.params)}}function er(v){return new dr(v)}const nr="ngNavigationCancelingError";function rr(v){const g=Error("NavigationCancelingError: "+v);return g[nr]=!0,g}function Mr(v,g,h){const w=h.path.split("/");if(w.length>v.length||"full"===h.pathMatch&&(g.hasChildren()||w.lengthw[W]===O)}return v===g}function sr(v){return Array.prototype.concat.apply([],v)}function br(v){return v.length>0?v[v.length-1]:null}function Tn(v,g){for(const h in v)v.hasOwnProperty(h)&&g(v[h],h)}function ar(v){return(0,A.CqO)(v)?v:(0,A.QGY)(v)?(0,ze.D)(Promise.resolve(v)):(0,re.of)(v)}const Lt={exact:function Dr(v,g,h){if(!bn(v.segments,g.segments)||!Ht(v.segments,g.segments,h)||v.numberOfChildren!==g.numberOfChildren)return!1;for(const w in g.children)if(!v.children[w]||!Dr(v.children[w],g.children[w],h))return!1;return!0},subset:vt},Gn={exact:function(v,g){return Kn(v,g)},subset:function(v,g){return Object.keys(g).length<=Object.keys(v).length&&Object.keys(g).every(h=>Hn(v[h],g[h]))},ignored:()=>!0};function lt(v,g,h){return Lt[h.paths](v.root,g.root,h.matrixParams)&&Gn[h.queryParams](v.queryParams,g.queryParams)&&!("exact"===h.fragment&&v.fragment!==g.fragment)}function vt(v,g,h){return Ut(v,g,g.segments,h)}function Ut(v,g,h,w){if(v.segments.length>h.length){const O=v.segments.slice(0,h.length);return!(!bn(O,h)||g.hasChildren()||!Ht(O,h,w))}if(v.segments.length===h.length){if(!bn(v.segments,h)||!Ht(v.segments,h,w))return!1;for(const O in g.children)if(!v.children[O]||!vt(v.children[O],g.children[O],w))return!1;return!0}{const O=h.slice(0,v.segments.length),W=h.slice(v.segments.length);return!!(bn(v.segments,O)&&Ht(v.segments,O,w)&&v.children[At])&&Ut(v.children[At],g,W,w)}}function Ht(v,g,h){return g.every((w,O)=>Gn[h](v[O].parameters,w.parameters))}class Jt{constructor(g,h,w){this.root=g,this.queryParams=h,this.fragment=w}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=er(this.queryParams)),this._queryParamMap}toString(){return $r.serialize(this)}}class Vt{constructor(g,h){this.segments=g,this.children=h,this.parent=null,Tn(h,(w,O)=>w.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return X(this)}}class Sn{constructor(g,h){this.path=g,this.parameters=h}get parameterMap(){return this._parameterMap||(this._parameterMap=er(this.parameters)),this._parameterMap}toString(){return ne(this)}}function bn(v,g){return v.length===g.length&&v.every((h,w)=>h.path===g[w].path)}class qn{}class Bt{parse(g){const h=new sn(g);return new Jt(h.parseRootSegment(),h.parseQueryParams(),h.parseFragment())}serialize(g){const h=`/${ve(g.root,!0)}`,w=function(v){const g=Object.keys(v).map(h=>{const w=v[h];return Array.isArray(w)?w.map(O=>`${P(h)}=${P(O)}`).join("&"):`${P(h)}=${P(w)}`}).filter(h=>!!h);return g.length?`?${g.join("&")}`:""}(g.queryParams);var v;return`${h}${w}${"string"==typeof g.fragment?`#${v=g.fragment,encodeURI(v)}`:""}`}}const $r=new Bt;function X(v){return v.segments.map(g=>ne(g)).join("/")}function ve(v,g){if(!v.hasChildren())return X(v);if(g){const h=v.children[At]?ve(v.children[At],!1):"",w=[];return Tn(v.children,(O,W)=>{W!==At&&w.push(`${W}:${ve(O,!1)}`)}),w.length>0?`${h}(${w.join("//")})`:h}{const h=function(v,g){let h=[];return Tn(v.children,(w,O)=>{O===At&&(h=h.concat(g(w,O)))}),Tn(v.children,(w,O)=>{O!==At&&(h=h.concat(g(w,O)))}),h}(v,(w,O)=>O===At?[ve(v.children[At],!1)]:[`${O}:${ve(w,!1)}`]);return 1===Object.keys(v.children).length&&null!=v.children[At]?`${X(v)}/${h[0]}`:`${X(v)}/(${h.join("//")})`}}function C(v){return encodeURIComponent(v).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function P(v){return C(v).replace(/%3B/gi,";")}function H(v){return C(v).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function se(v){return decodeURIComponent(v)}function B(v){return se(v.replace(/\+/g,"%20"))}function ne(v){return`${H(v.path)}${function(v){return Object.keys(v).map(g=>`;${H(g)}=${H(v[g])}`).join("")}(v.parameters)}`}const Re=/^[^\/()?;=#]+/;function nt(v){const g=v.match(Re);return g?g[0]:""}const dt=/^[^=?&#]+/,Dt=/^[^?&#]+/;class sn{constructor(g){this.url=g,this.remaining=g}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Vt([],{}):new Vt([],this.parseChildren())}parseQueryParams(){const g={};if(this.consumeOptional("?"))do{this.parseQueryParam(g)}while(this.consumeOptional("&"));return g}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const g=[];for(this.peekStartsWith("(")||g.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),g.push(this.parseSegment());let h={};this.peekStartsWith("/(")&&(this.capture("/"),h=this.parseParens(!0));let w={};return this.peekStartsWith("(")&&(w=this.parseParens(!1)),(g.length>0||Object.keys(h).length>0)&&(w[At]=new Vt(g,h)),w}parseSegment(){const g=nt(this.remaining);if(""===g&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(g),new Sn(se(g),this.parseMatrixParams())}parseMatrixParams(){const g={};for(;this.consumeOptional(";");)this.parseParam(g);return g}parseParam(g){const h=nt(this.remaining);if(!h)return;this.capture(h);let w="";if(this.consumeOptional("=")){const O=nt(this.remaining);O&&(w=O,this.capture(w))}g[se(h)]=se(w)}parseQueryParam(g){const h=function(v){const g=v.match(dt);return g?g[0]:""}(this.remaining);if(!h)return;this.capture(h);let w="";if(this.consumeOptional("=")){const fe=function(v){const g=v.match(Dt);return g?g[0]:""}(this.remaining);fe&&(w=fe,this.capture(w))}const O=B(h),W=B(w);if(g.hasOwnProperty(O)){let fe=g[O];Array.isArray(fe)||(fe=[fe],g[O]=fe),fe.push(W)}else g[O]=W}parseParens(g){const h={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const w=nt(this.remaining),O=this.remaining[w.length];if("/"!==O&&")"!==O&&";"!==O)throw new Error(`Cannot parse url '${this.url}'`);let W;w.indexOf(":")>-1?(W=w.substr(0,w.indexOf(":")),this.capture(W),this.capture(":")):g&&(W=At);const fe=this.parseChildren();h[W]=1===Object.keys(fe).length?fe[At]:new Vt([],fe),this.consumeOptional("//")}return h}peekStartsWith(g){return this.remaining.startsWith(g)}consumeOptional(g){return!!this.peekStartsWith(g)&&(this.remaining=this.remaining.substring(g.length),!0)}capture(g){if(!this.consumeOptional(g))throw new Error(`Expected "${g}".`)}}class An{constructor(g){this._root=g}get root(){return this._root.value}parent(g){const h=this.pathFromRoot(g);return h.length>1?h[h.length-2]:null}children(g){const h=yr(g,this._root);return h?h.children.map(w=>w.value):[]}firstChild(g){const h=yr(g,this._root);return h&&h.children.length>0?h.children[0].value:null}siblings(g){const h=Hr(g,this._root);return h.length<2?[]:h[h.length-2].children.map(O=>O.value).filter(O=>O!==g)}pathFromRoot(g){return Hr(g,this._root).map(h=>h.value)}}function yr(v,g){if(v===g.value)return g;for(const h of g.children){const w=yr(v,h);if(w)return w}return null}function Hr(v,g){if(v===g.value)return[g];for(const h of g.children){const w=Hr(v,h);if(w.length)return w.unshift(g),w}return[]}class Yn{constructor(g,h){this.value=g,this.children=h}toString(){return`TreeNode(${this.value})`}}function fr(v){const g={};return v&&v.children.forEach(h=>g[h.value.outlet]=h),g}class Io extends An{constructor(g,h){super(g),this.snapshot=h,Lo(this,g)}toString(){return this.snapshot.toString()}}function co(v,g){const h=function(v,g){const fe=new To([],{},{},"",{},At,g,null,v.root,-1,{});return new xr("",new Yn(fe,[]))}(v,g),w=new Ve.X([new Sn("",{})]),O=new Ve.X({}),W=new Ve.X({}),fe=new Ve.X({}),De=new Ve.X(""),tt=new Kr(w,O,fe,De,W,At,g,h.root);return tt.snapshot=h.root,new Io(new Yn(tt,[]),h)}class Kr{constructor(g,h,w,O,W,fe,De,tt){this.url=g,this.params=h,this.queryParams=w,this.fragment=O,this.data=W,this.outlet=fe,this.component=De,this._futureSnapshot=tt}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,rt.U)(g=>er(g)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,rt.U)(g=>er(g)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Xo(v,g="emptyOnly"){const h=v.pathFromRoot;let w=0;if("always"!==g)for(w=h.length-1;w>=1;){const O=h[w],W=h[w-1];if(O.routeConfig&&""===O.routeConfig.path)w--;else{if(W.component)break;w--}}return function(v){return v.reduce((g,h)=>({params:Object.assign(Object.assign({},g.params),h.params),data:Object.assign(Object.assign({},g.data),h.data),resolve:Object.assign(Object.assign({},g.resolve),h._resolvedData)}),{params:{},data:{},resolve:{}})}(h.slice(w))}class To{constructor(g,h,w,O,W,fe,De,tt,Mt,Ln,qt){this.url=g,this.params=h,this.queryParams=w,this.fragment=O,this.data=W,this.outlet=fe,this.component=De,this.routeConfig=tt,this._urlSegment=Mt,this._lastPathIndex=Ln,this._resolve=qt}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=er(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=er(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(w=>w.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class xr extends An{constructor(g,h){super(h),this.url=g,Lo(this,h)}toString(){return Bo(this._root)}}function Lo(v,g){g.value._routerState=v,g.children.forEach(h=>Lo(v,h))}function Bo(v){const g=v.children.length>0?` { ${v.children.map(Bo).join(", ")} } `:"";return`${v.value}${g}`}function qi(v){if(v.snapshot){const g=v.snapshot,h=v._futureSnapshot;v.snapshot=h,Kn(g.queryParams,h.queryParams)||v.queryParams.next(h.queryParams),g.fragment!==h.fragment&&v.fragment.next(h.fragment),Kn(g.params,h.params)||v.params.next(h.params),function(v,g){if(v.length!==g.length)return!1;for(let h=0;hKn(h.parameters,g[w].parameters))}(v.url,g.url);return h&&!(!v.parent!=!g.parent)&&(!v.parent||po(v.parent,g.parent))}function uo(v,g,h){if(h&&v.shouldReuseRoute(g.value,h.value.snapshot)){const w=h.value;w._futureSnapshot=g.value;const O=function(v,g,h){return g.children.map(w=>{for(const O of h.children)if(v.shouldReuseRoute(w.value,O.value.snapshot))return uo(v,w,O);return uo(v,w)})}(v,g,h);return new Yn(w,O)}{if(v.shouldAttach(g.value)){const W=v.retrieve(g.value);if(null!==W){const fe=W.route;return Qo(g,fe),fe}}const w=function(v){return new Kr(new Ve.X(v.url),new Ve.X(v.params),new Ve.X(v.queryParams),new Ve.X(v.fragment),new Ve.X(v.data),v.outlet,v.component,v)}(g.value),O=g.children.map(W=>uo(v,W));return new Yn(w,O)}}function Qo(v,g){if(v.value.routeConfig!==g.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(v.children.length!==g.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");g.value._futureSnapshot=v.value;for(let h=0;h{W[De]=Array.isArray(fe)?fe.map(tt=>`${tt}`):`${fe}`}),new Jt(h.root===v?g:Ao(h.root,v,g),W,O)}function Ao(v,g,h){const w={};return Tn(v.children,(O,W)=>{w[W]=O===g?h:Ao(O,g,h)}),new Vt(v.segments,w)}class Jo{constructor(g,h,w){if(this.isAbsolute=g,this.numberOfDoubleDots=h,this.commands=w,g&&w.length>0&&Zr(w[0]))throw new Error("Root segment cannot have matrix parameters");const O=w.find(qr);if(O&&O!==br(w))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Mo{constructor(g,h,w){this.segmentGroup=g,this.processChildren=h,this.index=w}}function Vo(v,g,h){if(v||(v=new Vt([],{})),0===v.segments.length&&v.hasChildren())return mo(v,g,h);const w=function(v,g,h){let w=0,O=g;const W={match:!1,pathIndex:0,commandIndex:0};for(;O=h.length)return W;const fe=v.segments[O],De=h[w];if(qr(De))break;const tt=`${De}`,Mt=w0&&void 0===tt)break;if(tt&&Mt&&"object"==typeof Mt&&void 0===Mt.outlets){if(!G(tt,Mt,fe))return W;w+=2}else{if(!G(tt,{},fe))return W;w++}O++}return{match:!0,pathIndex:O,commandIndex:w}}(v,g,h),O=h.slice(w.commandIndex);if(w.match&&w.pathIndex{"string"==typeof W&&(W=[W]),null!==W&&(O[fe]=Vo(v.children[fe],g,W))}),Tn(v.children,(W,fe)=>{void 0===w[fe]&&(O[fe]=W)}),new Vt(v.segments,O)}}function jo(v,g,h){const w=v.segments.slice(0,g);let O=0;for(;O{"string"==typeof h&&(h=[h]),null!==h&&(g[w]=jo(new Vt([],{}),0,h))}),g}function M(v){const g={};return Tn(v,(h,w)=>g[w]=`${h}`),g}function G(v,g,h){return v==h.path&&Kn(g,h.parameters)}class J{constructor(g,h,w,O){this.routeReuseStrategy=g,this.futureState=h,this.currState=w,this.forwardEvent=O}activate(g){const h=this.futureState._root,w=this.currState?this.currState._root:null;this.deactivateChildRoutes(h,w,g),qi(this.futureState.root),this.activateChildRoutes(h,w,g)}deactivateChildRoutes(g,h,w){const O=fr(h);g.children.forEach(W=>{const fe=W.value.outlet;this.deactivateRoutes(W,O[fe],w),delete O[fe]}),Tn(O,(W,fe)=>{this.deactivateRouteAndItsChildren(W,w)})}deactivateRoutes(g,h,w){const O=g.value,W=h?h.value:null;if(O===W)if(O.component){const fe=w.getContext(O.outlet);fe&&this.deactivateChildRoutes(g,h,fe.children)}else this.deactivateChildRoutes(g,h,w);else W&&this.deactivateRouteAndItsChildren(h,w)}deactivateRouteAndItsChildren(g,h){this.routeReuseStrategy.shouldDetach(g.value.snapshot)?this.detachAndStoreRouteSubtree(g,h):this.deactivateRouteAndOutlet(g,h)}detachAndStoreRouteSubtree(g,h){const w=h.getContext(g.value.outlet);if(w&&w.outlet){const O=w.outlet.detach(),W=w.children.onOutletDeactivated();this.routeReuseStrategy.store(g.value.snapshot,{componentRef:O,route:g,contexts:W})}}deactivateRouteAndOutlet(g,h){const w=h.getContext(g.value.outlet),O=w&&g.value.component?w.children:h,W=fr(g);for(const fe of Object.keys(W))this.deactivateRouteAndItsChildren(W[fe],O);w&&w.outlet&&(w.outlet.deactivate(),w.children.onOutletDeactivated(),w.attachRef=null,w.resolver=null,w.route=null)}activateChildRoutes(g,h,w){const O=fr(h);g.children.forEach(W=>{this.activateRoutes(W,O[W.value.outlet],w),this.forwardEvent(new ir(W.value.snapshot))}),g.children.length&&this.forwardEvent(new yt(g.value.snapshot))}activateRoutes(g,h,w){const O=g.value,W=h?h.value:null;if(qi(O),O===W)if(O.component){const fe=w.getOrCreateContext(O.outlet);this.activateChildRoutes(g,h,fe.children)}else this.activateChildRoutes(g,h,w);else if(O.component){const fe=w.getOrCreateContext(O.outlet);if(this.routeReuseStrategy.shouldAttach(O.snapshot)){const De=this.routeReuseStrategy.retrieve(O.snapshot);this.routeReuseStrategy.store(O.snapshot,null),fe.children.onOutletReAttached(De.contexts),fe.attachRef=De.componentRef,fe.route=De.route.value,fe.outlet&&fe.outlet.attach(De.componentRef,De.route.value),Ee(De.route)}else{const De=function(v){for(let g=v.parent;g;g=g.parent){const h=g.routeConfig;if(h&&h._loadedConfig)return h._loadedConfig;if(h&&h.component)return null}return null}(O.snapshot),tt=De?De.module.componentFactoryResolver:null;fe.attachRef=null,fe.route=O,fe.resolver=tt,fe.outlet&&fe.outlet.activateWith(O,tt),this.activateChildRoutes(g,null,fe.children)}}else this.activateChildRoutes(g,null,w)}}function Ee(v){qi(v.value),v.children.forEach(Ee)}class st{constructor(g,h){this.routes=g,this.module=h}}function T(v){return"function"==typeof v}function E(v){return v instanceof Jt}const un=Symbol("INITIAL_VALUE");function Wn(){return(0,ke.w)(v=>function(...v){let g,h;return(0,me.K)(v[v.length-1])&&(h=v.pop()),"function"==typeof v[v.length-1]&&(g=v.pop()),1===v.length&&(0,de.k)(v[0])&&(v=v[0]),(0,V.n)(v,h).lift(new oe(g))}(v.map(g=>g.pipe(Xe(1),function(...v){const g=v[v.length-1];return(0,me.K)(g)?(v.pop(),h=>ge(v,h,g)):h=>ge(v,h)}(un)))).pipe($e((g,h)=>{let w=!1;return h.reduce((O,W,fe)=>O!==un?O:(W===un&&(w=!0),w||!1!==W&&fe!==h.length-1&&!E(W)?O:W),g)},un),(0,Ct.h)(g=>g!==un),(0,rt.U)(g=>E(g)?g:!0===g),Xe(1)))}let kn=(()=>{class v{}return v.\u0275fac=function(h){return new(h||v)},v.\u0275cmp=A.Xpm({type:v,selectors:[["ng-component"]],decls:1,vars:0,template:function(h,w){1&h&&A._UZ(0,"router-outlet")},directives:function(){return[Gs]},encapsulation:2}),v})();function Gr(v,g=""){for(let h=0;hvr(w)===g);return h.push(...v.filter(w=>vr(w)!==g)),h}const Qi={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function fo(v,g,h){var w;if(""===g.path)return"full"===g.pathMatch&&(v.hasChildren()||h.length>0)?Object.assign({},Qi):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const W=(g.matcher||Mr)(h,v,g);if(!W)return Object.assign({},Qi);const fe={};Tn(W.posParams,(tt,Mt)=>{fe[Mt]=tt.path});const De=W.consumed.length>0?Object.assign(Object.assign({},fe),W.consumed[W.consumed.length-1].parameters):fe;return{matched:!0,consumedSegments:W.consumed,lastChild:W.consumed.length,parameters:De,positionalParamSegments:null!==(w=W.posParams)&&void 0!==w?w:{}}}function ei(v,g,h,w,O="corrected"){if(h.length>0&&function(v,g,h){return h.some(w=>es(v,g,w)&&vr(w)!==At)}(v,h,w)){const fe=new Vt(g,function(v,g,h,w){const O={};O[At]=w,w._sourceSegment=v,w._segmentIndexShift=g.length;for(const W of h)if(""===W.path&&vr(W)!==At){const fe=new Vt([],{});fe._sourceSegment=v,fe._segmentIndexShift=g.length,O[vr(W)]=fe}return O}(v,g,w,new Vt(h,v.children)));return fe._sourceSegment=v,fe._segmentIndexShift=g.length,{segmentGroup:fe,slicedSegments:[]}}if(0===h.length&&function(v,g,h){return h.some(w=>es(v,g,w))}(v,h,w)){const fe=new Vt(v.segments,function(v,g,h,w,O,W){const fe={};for(const De of w)if(es(v,h,De)&&!O[vr(De)]){const tt=new Vt([],{});tt._sourceSegment=v,tt._segmentIndexShift="legacy"===W?v.segments.length:g.length,fe[vr(De)]=tt}return Object.assign(Object.assign({},O),fe)}(v,g,h,w,v.children,O));return fe._sourceSegment=v,fe._segmentIndexShift=g.length,{segmentGroup:fe,slicedSegments:h}}const W=new Vt(v.segments,v.children);return W._sourceSegment=v,W._segmentIndexShift=g.length,{segmentGroup:W,slicedSegments:h}}function es(v,g,h){return(!(v.hasChildren()||g.length>0)||"full"!==h.pathMatch)&&""===h.path}function ti(v,g,h,w){return!!(vr(v)===w||w!==At&&es(g,h,v))&&("**"===v.path||fo(g,v,h).matched)}function Uo(v,g,h){return 0===g.length&&!v.children[h]}class Ho{constructor(g){this.segmentGroup=g||null}}class ci{constructor(g){this.urlTree=g}}function at(v){return new Y.y(g=>g.error(new Ho(v)))}function yn(v){return new Y.y(g=>g.error(new ci(v)))}function $s(v){return new Y.y(g=>g.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${v}'`)))}class Ii{constructor(g,h,w,O,W){this.configLoader=h,this.urlSerializer=w,this.urlTree=O,this.config=W,this.allowRedirects=!0,this.ngModule=g.get(A.h0i)}apply(){const g=ei(this.urlTree.root,[],[],this.config).segmentGroup,h=new Vt(g.segments,g.children);return this.expandSegmentGroup(this.ngModule,this.config,h,At).pipe((0,rt.U)(W=>this.createUrlTree(Ti(W),this.urlTree.queryParams,this.urlTree.fragment))).pipe(He(W=>{if(W instanceof ci)return this.allowRedirects=!1,this.match(W.urlTree);throw W instanceof Ho?this.noMatchError(W):W}))}match(g){return this.expandSegmentGroup(this.ngModule,this.config,g.root,At).pipe((0,rt.U)(O=>this.createUrlTree(Ti(O),g.queryParams,g.fragment))).pipe(He(O=>{throw O instanceof Ho?this.noMatchError(O):O}))}noMatchError(g){return new Error(`Cannot match any routes. URL Segment: '${g.segmentGroup}'`)}createUrlTree(g,h,w){const O=g.segments.length>0?new Vt([],{[At]:g}):g;return new Jt(O,h,w)}expandSegmentGroup(g,h,w,O){return 0===w.segments.length&&w.hasChildren()?this.expandChildren(g,h,w).pipe((0,rt.U)(W=>new Vt([],W))):this.expandSegment(g,w,h,w.segments,O,!0)}expandChildren(g,h,w){const O=[];for(const W of Object.keys(w.children))"primary"===W?O.unshift(W):O.push(W);return(0,ze.D)(O).pipe((0,bt.b)(W=>{const fe=w.children[W],De=wi(h,W);return this.expandSegmentGroup(g,De,fe,W).pipe((0,rt.U)(tt=>({segment:tt,outlet:W})))}),$e((W,fe)=>(W[fe.outlet]=fe.segment,W),{}),function(v,g){const h=arguments.length>=2;return w=>w.pipe(v?(0,Ct.h)((O,W)=>v(O,W,w)):Jn.y,ht(1),h?Fn(g):an(()=>new ce))}())}expandSegment(g,h,w,O,W,fe){return(0,ze.D)(w).pipe((0,bt.b)(De=>this.expandSegmentAgainstRoute(g,h,w,De,O,W,fe).pipe(He(Mt=>{if(Mt instanceof Ho)return(0,re.of)(null);throw Mt}))),Nn(De=>!!De),He((De,tt)=>{if(De instanceof ce||"EmptyError"===De.name){if(Uo(h,O,W))return(0,re.of)(new Vt([],{}));throw new Ho(h)}throw De}))}expandSegmentAgainstRoute(g,h,w,O,W,fe,De){return ti(O,h,W,fe)?void 0===O.redirectTo?this.matchSegmentAgainstRoute(g,h,O,W,fe):De&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(g,h,w,O,W,fe):at(h):at(h)}expandSegmentAgainstRouteUsingRedirect(g,h,w,O,W,fe){return"**"===O.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(g,w,O,fe):this.expandRegularSegmentAgainstRouteUsingRedirect(g,h,w,O,W,fe)}expandWildCardWithParamsAgainstRouteUsingRedirect(g,h,w,O){const W=this.applyRedirectCommands([],w.redirectTo,{});return w.redirectTo.startsWith("/")?yn(W):this.lineralizeSegments(w,W).pipe((0,ft.zg)(fe=>{const De=new Vt(fe,{});return this.expandSegment(g,De,h,fe,O,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(g,h,w,O,W,fe){const{matched:De,consumedSegments:tt,lastChild:Mt,positionalParamSegments:Ln}=fo(h,O,W);if(!De)return at(h);const qt=this.applyRedirectCommands(tt,O.redirectTo,Ln);return O.redirectTo.startsWith("/")?yn(qt):this.lineralizeSegments(O,qt).pipe((0,ft.zg)(or=>this.expandSegment(g,h,w,or.concat(W.slice(Mt)),fe,!1)))}matchSegmentAgainstRoute(g,h,w,O,W){if("**"===w.path)return w.loadChildren?(w._loadedConfig?(0,re.of)(w._loadedConfig):this.configLoader.load(g.injector,w)).pipe((0,rt.U)(or=>(w._loadedConfig=or,new Vt(O,{})))):(0,re.of)(new Vt(O,{}));const{matched:fe,consumedSegments:De,lastChild:tt}=fo(h,w,O);if(!fe)return at(h);const Mt=O.slice(tt);return this.getChildConfig(g,w,O).pipe((0,ft.zg)(qt=>{const or=qt.module,Mn=qt.routes,{segmentGroup:Qn,slicedSegments:Yo}=ei(h,De,Mt,Mn),Oo=new Vt(Qn.segments,Qn.children);if(0===Yo.length&&Oo.hasChildren())return this.expandChildren(or,Mn,Oo).pipe((0,rt.U)(Ba=>new Vt(De,Ba)));if(0===Mn.length&&0===Yo.length)return(0,re.of)(new Vt(De,{}));const Js=vr(w)===W;return this.expandSegment(or,Oo,Mn,Yo,Js?At:W,!0).pipe((0,rt.U)(Ni=>new Vt(De.concat(Ni.segments),Ni.children)))}))}getChildConfig(g,h,w){return h.children?(0,re.of)(new st(h.children,g)):h.loadChildren?void 0!==h._loadedConfig?(0,re.of)(h._loadedConfig):this.runCanLoadGuards(g.injector,h,w).pipe((0,ft.zg)(O=>{return O?this.configLoader.load(g.injector,h).pipe((0,rt.U)(W=>(h._loadedConfig=W,W))):(v=h,new Y.y(g=>g.error(rr(`Cannot load children because the guard of the route "path: '${v.path}'" returned false`))));var v})):(0,re.of)(new st([],g))}runCanLoadGuards(g,h,w){const O=h.canLoad;if(!O||0===O.length)return(0,re.of)(!0);const W=O.map(fe=>{const De=g.get(fe);let tt;if((v=De)&&T(v.canLoad))tt=De.canLoad(h,w);else{if(!T(De))throw new Error("Invalid CanLoad guard");tt=De(h,w)}var v;return ar(tt)});return(0,re.of)(W).pipe(Wn(),(0,gt.b)(fe=>{if(!E(fe))return;const De=rr(`Redirecting to "${this.urlSerializer.serialize(fe)}"`);throw De.url=fe,De}),(0,rt.U)(fe=>!0===fe))}lineralizeSegments(g,h){let w=[],O=h.root;for(;;){if(w=w.concat(O.segments),0===O.numberOfChildren)return(0,re.of)(w);if(O.numberOfChildren>1||!O.children[At])return $s(g.redirectTo);O=O.children[At]}}applyRedirectCommands(g,h,w){return this.applyRedirectCreatreUrlTree(h,this.urlSerializer.parse(h),g,w)}applyRedirectCreatreUrlTree(g,h,w,O){const W=this.createSegmentGroup(g,h.root,w,O);return new Jt(W,this.createQueryParams(h.queryParams,this.urlTree.queryParams),h.fragment)}createQueryParams(g,h){const w={};return Tn(g,(O,W)=>{if("string"==typeof O&&O.startsWith(":")){const De=O.substring(1);w[W]=h[De]}else w[W]=O}),w}createSegmentGroup(g,h,w,O){const W=this.createSegments(g,h.segments,w,O);let fe={};return Tn(h.children,(De,tt)=>{fe[tt]=this.createSegmentGroup(g,De,w,O)}),new Vt(W,fe)}createSegments(g,h,w,O){return h.map(W=>W.path.startsWith(":")?this.findPosParam(g,W,O):this.findOrReturn(W,w))}findPosParam(g,h,w){const O=w[h.path.substring(1)];if(!O)throw new Error(`Cannot redirect to '${g}'. Cannot find '${h.path}'.`);return O}findOrReturn(g,h){let w=0;for(const O of h){if(O.path===g.path)return h.splice(w),O;w++}return g}}function Ti(v){const g={};for(const w of Object.keys(v.children)){const W=Ti(v.children[w]);(W.segments.length>0||W.hasChildren())&&(g[w]=W)}return function(v){if(1===v.numberOfChildren&&v.children[At]){const g=v.children[At];return new Vt(v.segments.concat(g.segments),g.children)}return v}(new Vt(v.segments,g))}class Vs{constructor(g){this.path=g,this.route=this.path[this.path.length-1]}}class Go{constructor(g,h){this.component=g,this.route=h}}function ns(v,g,h){const w=v._root;return no(w,g?g._root:null,h,[w.value])}function pr(v,g,h){const w=function(v){if(!v)return null;for(let g=v.parent;g;g=g.parent){const h=g.routeConfig;if(h&&h._loadedConfig)return h._loadedConfig}return null}(g);return(w?w.module.injector:h).get(v)}function no(v,g,h,w,O={canDeactivateChecks:[],canActivateChecks:[]}){const W=fr(g);return v.children.forEach(fe=>{(function(v,g,h,w,O={canDeactivateChecks:[],canActivateChecks:[]}){const W=v.value,fe=g?g.value:null,De=h?h.getContext(v.value.outlet):null;if(fe&&W.routeConfig===fe.routeConfig){const tt=function(v,g,h){if("function"==typeof h)return h(v,g);switch(h){case"pathParamsChange":return!bn(v.url,g.url);case"pathParamsOrQueryParamsChange":return!bn(v.url,g.url)||!Kn(v.queryParams,g.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!po(v,g)||!Kn(v.queryParams,g.queryParams);default:return!po(v,g)}}(fe,W,W.routeConfig.runGuardsAndResolvers);tt?O.canActivateChecks.push(new Vs(w)):(W.data=fe.data,W._resolvedData=fe._resolvedData),no(v,g,W.component?De?De.children:null:h,w,O),tt&&De&&De.outlet&&De.outlet.isActivated&&O.canDeactivateChecks.push(new Go(De.outlet.component,fe))}else fe&&rs(g,De,O),O.canActivateChecks.push(new Vs(w)),no(v,null,W.component?De?De.children:null:h,w,O)})(fe,W[fe.value.outlet],h,w.concat([fe.value]),O),delete W[fe.value.outlet]}),Tn(W,(fe,De)=>rs(fe,h.getContext(De),O)),O}function rs(v,g,h){const w=fr(v),O=v.value;Tn(w,(W,fe)=>{rs(W,O.component?g?g.children.getContext(fe):null:g,h)}),h.canDeactivateChecks.push(new Go(O.component&&g&&g.outlet&&g.outlet.isActivated?g.outlet.component:null,O))}class js{}function as(v){return new Y.y(g=>g.error(v))}class ls{constructor(g,h,w,O,W,fe){this.rootComponentType=g,this.config=h,this.urlTree=w,this.url=O,this.paramsInheritanceStrategy=W,this.relativeLinkResolution=fe}recognize(){const g=ei(this.urlTree.root,[],[],this.config.filter(fe=>void 0===fe.redirectTo),this.relativeLinkResolution).segmentGroup,h=this.processSegmentGroup(this.config,g,At);if(null===h)return null;const w=new To([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},At,this.rootComponentType,null,this.urlTree.root,-1,{}),O=new Yn(w,h),W=new xr(this.url,O);return this.inheritParamsAndData(W._root),W}inheritParamsAndData(g){const h=g.value,w=Xo(h,this.paramsInheritanceStrategy);h.params=Object.freeze(w.params),h.data=Object.freeze(w.data),g.children.forEach(O=>this.inheritParamsAndData(O))}processSegmentGroup(g,h,w){return 0===h.segments.length&&h.hasChildren()?this.processChildren(g,h):this.processSegment(g,h,h.segments,w)}processChildren(g,h){const w=[];for(const W of Object.keys(h.children)){const fe=h.children[W],De=wi(g,W),tt=this.processSegmentGroup(De,fe,W);if(null===tt)return null;w.push(...tt)}const O=d(w);return O.sort((g,h)=>g.value.outlet===At?-1:h.value.outlet===At?1:g.value.outlet.localeCompare(h.value.outlet)),O}processSegment(g,h,w,O){for(const W of g){const fe=this.processSegmentAgainstRoute(W,h,w,O);if(null!==fe)return fe}return Uo(h,w,O)?[]:null}processSegmentAgainstRoute(g,h,w,O){if(g.redirectTo||!ti(g,h,w,O))return null;let W,fe=[],De=[];if("**"===g.path){const Mn=w.length>0?br(w).parameters:{};W=new To(w,Mn,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,F(g),vr(g),g.component,g,u(h),_(h)+w.length,pe(g))}else{const Mn=fo(h,g,w);if(!Mn.matched)return null;fe=Mn.consumedSegments,De=w.slice(Mn.lastChild),W=new To(fe,Mn.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,F(g),vr(g),g.component,g,u(h),_(h)+fe.length,pe(g))}const tt=(v=g).children?v.children:v.loadChildren?v._loadedConfig.routes:[],{segmentGroup:Mt,slicedSegments:Ln}=ei(h,fe,De,tt.filter(Mn=>void 0===Mn.redirectTo),this.relativeLinkResolution);var v;if(0===Ln.length&&Mt.hasChildren()){const Mn=this.processChildren(tt,Mt);return null===Mn?null:[new Yn(W,Mn)]}if(0===tt.length&&0===Ln.length)return[new Yn(W,[])];const qt=vr(g)===O,or=this.processSegment(tt,Mt,Ln,qt?At:O);return null===or?null:[new Yn(W,or)]}}function Ts(v){const g=v.value.routeConfig;return g&&""===g.path&&void 0===g.redirectTo}function d(v){const g=[],h=new Set;for(const w of v){if(!Ts(w)){g.push(w);continue}const O=g.find(W=>w.value.routeConfig===W.value.routeConfig);void 0!==O?(O.children.push(...w.children),h.add(O)):g.push(w)}for(const w of h){const O=d(w.children);g.push(new Yn(w.value,O))}return g.filter(w=>!h.has(w))}function u(v){let g=v;for(;g._sourceSegment;)g=g._sourceSegment;return g}function _(v){let g=v,h=g._segmentIndexShift?g._segmentIndexShift:0;for(;g._sourceSegment;)g=g._sourceSegment,h+=g._segmentIndexShift?g._segmentIndexShift:0;return h-1}function F(v){return v.data||{}}function pe(v){return v.resolve||{}}function tn(v){return(0,ke.w)(g=>{const h=v(g);return h?(0,ze.D)(h).pipe((0,rt.U)(()=>g)):(0,re.of)(g)})}class Xn extends class{shouldDetach(g){return!1}store(g,h){}shouldAttach(g){return!1}retrieve(g){return null}shouldReuseRoute(g,h){return g.routeConfig===h.routeConfig}}{}const _r=new A.OlP("ROUTES");class wr{constructor(g,h,w,O){this.loader=g,this.compiler=h,this.onLoadStartListener=w,this.onLoadEndListener=O}load(g,h){if(h._loader$)return h._loader$;this.onLoadStartListener&&this.onLoadStartListener(h);const O=this.loadModuleFactory(h.loadChildren).pipe((0,rt.U)(W=>{this.onLoadEndListener&&this.onLoadEndListener(h);const fe=W.create(g);return new st(sr(fe.injector.get(_r,void 0,A.XFs.Self|A.XFs.Optional)).map(lr),fe)}),He(W=>{throw h._loader$=void 0,W}));return h._loader$=new Ue.c(O,()=>new Ae.xQ).pipe((0,zt.x)()),h._loader$}loadModuleFactory(g){return"string"==typeof g?(0,ze.D)(this.loader.load(g)):ar(g()).pipe((0,ft.zg)(h=>h instanceof A.YKP?(0,re.of)(h):(0,ze.D)(this.compiler.compileModuleAsync(h))))}}class zr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ro,this.attachRef=null}}class Ro{constructor(){this.contexts=new Map}onChildOutletCreated(g,h){const w=this.getOrCreateContext(g);w.outlet=h,this.contexts.set(g,w)}onChildOutletDestroyed(g){const h=this.getContext(g);h&&(h.outlet=null,h.attachRef=null)}onOutletDeactivated(){const g=this.contexts;return this.contexts=new Map,g}onOutletReAttached(g){this.contexts=g}getOrCreateContext(g){let h=this.getContext(g);return h||(h=new zr,this.contexts.set(g,h)),h}getContext(g){return this.contexts.get(g)||null}}class Pa{shouldProcessUrl(g){return!0}extract(g){return g}merge(g,h){return g}}function As(v){throw v}function ro(v,g,h){return g.parse("/")}function Us(v,g){return(0,re.of)(null)}const Ms={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Fa={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let oo=(()=>{class v{constructor(h,w,O,W,fe,De,tt,Mt){this.rootComponentType=h,this.urlSerializer=w,this.rootContexts=O,this.location=W,this.config=Mt,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ae.xQ,this.errorHandler=As,this.malformedUriErrorHandler=ro,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Us,afterPreactivation:Us},this.urlHandlingStrategy=new Pa,this.routeReuseStrategy=new Xn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=fe.get(A.h0i),this.console=fe.get(A.c2e);const or=fe.get(A.R0b);this.isNgZoneEnabled=or instanceof A.R0b&&A.R0b.isInAngularZone(),this.resetConfig(Mt),this.currentUrlTree=new Jt(new Vt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new wr(De,tt,Mn=>this.triggerEvent(new hn(Mn)),Mn=>this.triggerEvent(new Pr(Mn))),this.routerState=co(this.currentUrlTree,this.rootComponentType),this.transitions=new Ve.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var h;return null===(h=this.location.getState())||void 0===h?void 0:h.\u0275routerPageId}setupNavigations(h){const w=this.events;return h.pipe((0,Ct.h)(O=>0!==O.id),(0,rt.U)(O=>Object.assign(Object.assign({},O),{extractedUrl:this.urlHandlingStrategy.extract(O.rawUrl)})),(0,ke.w)(O=>{let W=!1,fe=!1;return(0,re.of)(O).pipe((0,gt.b)(De=>{this.currentNavigation={id:De.id,initialUrl:De.currentRawUrl,extractedUrl:De.extractedUrl,trigger:De.source,extras:De.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,ke.w)(De=>{const tt=this.browserUrlTree.toString(),Mt=!this.navigated||De.extractedUrl.toString()!==tt||tt!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Mt)&&this.urlHandlingStrategy.shouldProcessUrl(De.rawUrl))return xi(De.source)&&(this.browserUrlTree=De.extractedUrl),(0,re.of)(De).pipe((0,ke.w)(qt=>{const or=this.transitions.getValue();return w.next(new Zt(qt.id,this.serializeUrl(qt.extractedUrl),qt.source,qt.restoredState)),or!==this.transitions.getValue()?Je:Promise.resolve(qt)}),function(v,g,h,w){return(0,ke.w)(O=>function(v,g,h,w,O){return new Ii(v,g,h,w,O).apply()}(v,g,h,O.extractedUrl,w).pipe((0,rt.U)(W=>Object.assign(Object.assign({},O),{urlAfterRedirects:W}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,gt.b)(qt=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:qt.urlAfterRedirects})}),function(v,g,h,w,O){return(0,ft.zg)(W=>function(v,g,h,w,O="emptyOnly",W="legacy"){try{const fe=new ls(v,g,h,w,O,W).recognize();return null===fe?as(new js):(0,re.of)(fe)}catch(fe){return as(fe)}}(v,g,W.urlAfterRedirects,h(W.urlAfterRedirects),w,O).pipe((0,rt.U)(fe=>Object.assign(Object.assign({},W),{targetSnapshot:fe}))))}(this.rootComponentType,this.config,qt=>this.serializeUrl(qt),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,gt.b)(qt=>{"eager"===this.urlUpdateStrategy&&(qt.extras.skipLocationChange||this.setBrowserUrl(qt.urlAfterRedirects,qt),this.browserUrlTree=qt.urlAfterRedirects);const or=new St(qt.id,this.serializeUrl(qt.extractedUrl),this.serializeUrl(qt.urlAfterRedirects),qt.targetSnapshot);w.next(or)}));if(Mt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:or,extractedUrl:Mn,source:Qn,restoredState:Yo,extras:Oo}=De,Js=new Zt(or,this.serializeUrl(Mn),Qn,Yo);w.next(Js);const hi=co(Mn,this.rootComponentType).snapshot;return(0,re.of)(Object.assign(Object.assign({},De),{targetSnapshot:hi,urlAfterRedirects:Mn,extras:Object.assign(Object.assign({},Oo),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=De.rawUrl,this.browserUrlTree=De.urlAfterRedirects,De.resolve(null),Je}),tn(De=>{const{targetSnapshot:tt,id:Mt,extractedUrl:Ln,rawUrl:qt,extras:{skipLocationChange:or,replaceUrl:Mn}}=De;return this.hooks.beforePreactivation(tt,{navigationId:Mt,appliedUrlTree:Ln,rawUrlTree:qt,skipLocationChange:!!or,replaceUrl:!!Mn})}),(0,gt.b)(De=>{const tt=new Zn(De.id,this.serializeUrl(De.extractedUrl),this.serializeUrl(De.urlAfterRedirects),De.targetSnapshot);this.triggerEvent(tt)}),(0,rt.U)(De=>Object.assign(Object.assign({},De),{guards:ns(De.targetSnapshot,De.currentSnapshot,this.rootContexts)})),function(v,g){return(0,ft.zg)(h=>{const{targetSnapshot:w,currentSnapshot:O,guards:{canActivateChecks:W,canDeactivateChecks:fe}}=h;return 0===fe.length&&0===W.length?(0,re.of)(Object.assign(Object.assign({},h),{guardsResult:!0})):function(v,g,h,w){return(0,ze.D)(v).pipe((0,ft.zg)(O=>function(v,g,h,w,O){const W=g&&g.routeConfig?g.routeConfig.canDeactivate:null;if(!W||0===W.length)return(0,re.of)(!0);const fe=W.map(De=>{const tt=pr(De,g,O);let Mt;if(function(v){return v&&T(v.canDeactivate)}(tt))Mt=ar(tt.canDeactivate(v,g,h,w));else{if(!T(tt))throw new Error("Invalid CanDeactivate guard");Mt=ar(tt(v,g,h,w))}return Mt.pipe(Nn())});return(0,re.of)(fe).pipe(Wn())}(O.component,O.route,h,g,w)),Nn(O=>!0!==O,!0))}(fe,w,O,v).pipe((0,ft.zg)(De=>De&&function(v){return"boolean"==typeof v}(De)?function(v,g,h,w){return(0,ze.D)(g).pipe((0,bt.b)(O=>ge(function(v,g){return null!==v&&g&&g(new ao(v)),(0,re.of)(!0)}(O.route.parent,w),function(v,g){return null!==v&&g&&g(new on(v)),(0,re.of)(!0)}(O.route,w),function(v,g,h){const w=g[g.length-1],W=g.slice(0,g.length-1).reverse().map(fe=>function(v){const g=v.routeConfig?v.routeConfig.canActivateChild:null;return g&&0!==g.length?{node:v,guards:g}:null}(fe)).filter(fe=>null!==fe).map(fe=>Se(()=>{const De=fe.guards.map(tt=>{const Mt=pr(tt,fe.node,h);let Ln;if(function(v){return v&&T(v.canActivateChild)}(Mt))Ln=ar(Mt.canActivateChild(w,v));else{if(!T(Mt))throw new Error("Invalid CanActivateChild guard");Ln=ar(Mt(w,v))}return Ln.pipe(Nn())});return(0,re.of)(De).pipe(Wn())}));return(0,re.of)(W).pipe(Wn())}(v,O.path,h),function(v,g,h){const w=g.routeConfig?g.routeConfig.canActivate:null;if(!w||0===w.length)return(0,re.of)(!0);const O=w.map(W=>Se(()=>{const fe=pr(W,g,h);let De;if(function(v){return v&&T(v.canActivate)}(fe))De=ar(fe.canActivate(g,v));else{if(!T(fe))throw new Error("Invalid CanActivate guard");De=ar(fe(g,v))}return De.pipe(Nn())}));return(0,re.of)(O).pipe(Wn())}(v,O.route,h))),Nn(O=>!0!==O,!0))}(w,W,v,g):(0,re.of)(De)),(0,rt.U)(De=>Object.assign(Object.assign({},h),{guardsResult:De})))})}(this.ngModule.injector,De=>this.triggerEvent(De)),(0,gt.b)(De=>{if(E(De.guardsResult)){const Mt=rr(`Redirecting to "${this.serializeUrl(De.guardsResult)}"`);throw Mt.url=De.guardsResult,Mt}const tt=new Qt(De.id,this.serializeUrl(De.extractedUrl),this.serializeUrl(De.urlAfterRedirects),De.targetSnapshot,!!De.guardsResult);this.triggerEvent(tt)}),(0,Ct.h)(De=>!!De.guardsResult||(this.restoreHistory(De),this.cancelNavigationTransition(De,""),!1)),tn(De=>{if(De.guards.canActivateChecks.length)return(0,re.of)(De).pipe((0,gt.b)(tt=>{const Mt=new wn(tt.id,this.serializeUrl(tt.extractedUrl),this.serializeUrl(tt.urlAfterRedirects),tt.targetSnapshot);this.triggerEvent(Mt)}),(0,ke.w)(tt=>{let Mt=!1;return(0,re.of)(tt).pipe(function(v,g){return(0,ft.zg)(h=>{const{targetSnapshot:w,guards:{canActivateChecks:O}}=h;if(!O.length)return(0,re.of)(h);let W=0;return(0,ze.D)(O).pipe((0,bt.b)(fe=>function(v,g,h,w){return function(v,g,h,w){const O=Object.keys(v);if(0===O.length)return(0,re.of)({});const W={};return(0,ze.D)(O).pipe((0,ft.zg)(fe=>function(v,g,h,w){const O=pr(v,g,w);return ar(O.resolve?O.resolve(g,h):O(g,h))}(v[fe],g,h,w).pipe((0,gt.b)(De=>{W[fe]=De}))),ht(1),(0,ft.zg)(()=>Object.keys(W).length===O.length?(0,re.of)(W):Je))}(v._resolve,v,g,w).pipe((0,rt.U)(W=>(v._resolvedData=W,v.data=Object.assign(Object.assign({},v.data),Xo(v,h).resolve),null)))}(fe.route,w,v,g)),(0,gt.b)(()=>W++),ht(1),(0,ft.zg)(fe=>W===O.length?(0,re.of)(h):Je))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,gt.b)({next:()=>Mt=!0,complete:()=>{Mt||(this.restoreHistory(tt),this.cancelNavigationTransition(tt,"At least one route resolver didn't emit any value."))}}))}),(0,gt.b)(tt=>{const Mt=new Bn(tt.id,this.serializeUrl(tt.extractedUrl),this.serializeUrl(tt.urlAfterRedirects),tt.targetSnapshot);this.triggerEvent(Mt)}))}),tn(De=>{const{targetSnapshot:tt,id:Mt,extractedUrl:Ln,rawUrl:qt,extras:{skipLocationChange:or,replaceUrl:Mn}}=De;return this.hooks.afterPreactivation(tt,{navigationId:Mt,appliedUrlTree:Ln,rawUrlTree:qt,skipLocationChange:!!or,replaceUrl:!!Mn})}),(0,rt.U)(De=>{const tt=function(v,g,h){const w=uo(v,g._root,h?h._root:void 0);return new Io(w,g)}(this.routeReuseStrategy,De.targetSnapshot,De.currentRouterState);return Object.assign(Object.assign({},De),{targetRouterState:tt})}),(0,gt.b)(De=>{this.currentUrlTree=De.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(De.urlAfterRedirects,De.rawUrl),this.routerState=De.targetRouterState,"deferred"===this.urlUpdateStrategy&&(De.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,De),this.browserUrlTree=De.urlAfterRedirects)}),((v,g,h)=>(0,rt.U)(w=>(new J(g,w.targetRouterState,w.currentRouterState,h).activate(v),w)))(this.rootContexts,this.routeReuseStrategy,De=>this.triggerEvent(De)),(0,gt.b)({next(){W=!0},complete(){W=!0}}),function(v){return g=>g.lift(new Ce(v))}(()=>{var De;if(!W&&!fe){const tt=`Navigation ID ${O.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(O),this.cancelNavigationTransition(O,tt)):this.cancelNavigationTransition(O,tt)}(null===(De=this.currentNavigation)||void 0===De?void 0:De.id)===O.id&&(this.currentNavigation=null)}),He(De=>{if(fe=!0,function(v){return v&&v[nr]}(De)){const tt=E(De.url);tt||(this.navigated=!0,this.restoreHistory(O,!0));const Mt=new Rn(O.id,this.serializeUrl(O.extractedUrl),De.message);w.next(Mt),tt?setTimeout(()=>{const Ln=this.urlHandlingStrategy.merge(De.url,this.rawUrlTree),qt={skipLocationChange:O.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||xi(O.source)};this.scheduleNavigation(Ln,"imperative",null,qt,{resolve:O.resolve,reject:O.reject,promise:O.promise})},0):O.resolve(!1)}else{this.restoreHistory(O,!0);const tt=new en(O.id,this.serializeUrl(O.extractedUrl),De);w.next(tt);try{O.resolve(this.errorHandler(De))}catch(Mt){O.reject(Mt)}}return Je}))}))}resetRootComponentType(h){this.rootComponentType=h,this.routerState.root.component=this.rootComponentType}getTransition(){const h=this.transitions.value;return h.urlAfterRedirects=this.browserUrlTree,h}setTransition(h){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),h))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(h=>{const w=this.extractLocationChangeInfoFromEvent(h);this.shouldScheduleNavigation(this.lastLocationChangeInfo,w)&&setTimeout(()=>{const{source:O,state:W,urlTree:fe}=w,De={replaceUrl:!0};if(W){const tt=Object.assign({},W);delete tt.navigationId,delete tt.\u0275routerPageId,0!==Object.keys(tt).length&&(De.state=tt)}this.scheduleNavigation(fe,O,W,De)},0),this.lastLocationChangeInfo=w}))}extractLocationChangeInfoFromEvent(h){var w;return{source:"popstate"===h.type?"popstate":"hashchange",urlTree:this.parseUrl(h.url),state:(null===(w=h.state)||void 0===w?void 0:w.navigationId)?h.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(h,w){if(!h)return!0;const O=w.urlTree.toString()===h.urlTree.toString();return w.transitionId!==h.transitionId||!O||!("hashchange"===w.source&&"popstate"===h.source||"popstate"===w.source&&"hashchange"===h.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(h){this.events.next(h)}resetConfig(h){Gr(h),this.config=h.map(lr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(h,w={}){const{relativeTo:O,queryParams:W,fragment:fe,queryParamsHandling:De,preserveFragment:tt}=w,Mt=O||this.routerState.root,Ln=tt?this.currentUrlTree.fragment:fe;let qt=null;switch(De){case"merge":qt=Object.assign(Object.assign({},this.currentUrlTree.queryParams),W);break;case"preserve":qt=this.currentUrlTree.queryParams;break;default:qt=W||null}return null!==qt&&(qt=this.removeEmptyProps(qt)),function(v,g,h,w,O){if(0===h.length)return li(g.root,g.root,g,w,O);const W=function(v){if("string"==typeof v[0]&&1===v.length&&"/"===v[0])return new Jo(!0,0,v);let g=0,h=!1;const w=v.reduce((O,W,fe)=>{if("object"==typeof W&&null!=W){if(W.outlets){const De={};return Tn(W.outlets,(tt,Mt)=>{De[Mt]="string"==typeof tt?tt.split("/"):tt}),[...O,{outlets:De}]}if(W.segmentPath)return[...O,W.segmentPath]}return"string"!=typeof W?[...O,W]:0===fe?(W.split("/").forEach((De,tt)=>{0==tt&&"."===De||(0==tt&&""===De?h=!0:".."===De?g++:""!=De&&O.push(De))}),O):[...O,W]},[]);return new Jo(h,g,w)}(h);if(W.toRoot())return li(g.root,new Vt([],{}),g,w,O);const fe=function(v,g,h){if(v.isAbsolute)return new Mo(g.root,!0,0);if(-1===h.snapshot._lastPathIndex){const W=h.snapshot._urlSegment;return new Mo(W,W===g.root,0)}const w=Zr(v.commands[0])?0:1;return function(v,g,h){let w=v,O=g,W=h;for(;W>O;){if(W-=O,w=w.parent,!w)throw new Error("Invalid number of '../'");O=w.segments.length}return new Mo(w,!1,O-W)}(h.snapshot._urlSegment,h.snapshot._lastPathIndex+w,v.numberOfDoubleDots)}(W,g,v),De=fe.processChildren?mo(fe.segmentGroup,fe.index,W.commands):Vo(fe.segmentGroup,fe.index,W.commands);return li(fe.segmentGroup,De,g,w,O)}(Mt,this.currentUrlTree,h,qt,null!=Ln?Ln:null)}navigateByUrl(h,w={skipLocationChange:!1}){const O=E(h)?h:this.parseUrl(h),W=this.urlHandlingStrategy.merge(O,this.rawUrlTree);return this.scheduleNavigation(W,"imperative",null,w)}navigate(h,w={skipLocationChange:!1}){return function(v){for(let g=0;g{const W=h[O];return null!=W&&(w[O]=W),w},{})}processNavigations(){this.navigations.subscribe(h=>{this.navigated=!0,this.lastSuccessfulId=h.id,this.currentPageId=h.targetPageId,this.events.next(new In(h.id,this.serializeUrl(h.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,h.resolve(!0)},h=>{this.console.warn(`Unhandled Navigation Error: ${h}`)})}scheduleNavigation(h,w,O,W,fe){var De,tt;if(this.disposed)return Promise.resolve(!1);const Mt=this.getTransition(),Ln=xi(w)&&Mt&&!xi(Mt.source),Mn=(this.lastSuccessfulId===Mt.id||this.currentNavigation?Mt.rawUrl:Mt.urlAfterRedirects).toString()===h.toString();if(Ln&&Mn)return Promise.resolve(!0);let Qn,Yo,Oo;fe?(Qn=fe.resolve,Yo=fe.reject,Oo=fe.promise):Oo=new Promise((Ni,Ba)=>{Qn=Ni,Yo=Ba});const Js=++this.navigationId;let hi;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(O=this.location.getState()),hi=O&&O.\u0275routerPageId?O.\u0275routerPageId:W.replaceUrl||W.skipLocationChange?null!==(De=this.browserPageId)&&void 0!==De?De:0:(null!==(tt=this.browserPageId)&&void 0!==tt?tt:0)+1):hi=0,this.setTransition({id:Js,targetPageId:hi,source:w,restoredState:O,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:h,extras:W,resolve:Qn,reject:Yo,promise:Oo,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Oo.catch(Ni=>Promise.reject(Ni))}setBrowserUrl(h,w){const O=this.urlSerializer.serialize(h),W=Object.assign(Object.assign({},w.extras.state),this.generateNgRouterState(w.id,w.targetPageId));this.location.isCurrentPathEqualTo(O)||w.extras.replaceUrl?this.location.replaceState(O,"",W):this.location.go(O,"",W)}restoreHistory(h,w=!1){var O,W;if("computed"===this.canceledNavigationResolution){const fe=this.currentPageId-h.targetPageId;"popstate"!==h.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(O=this.currentNavigation)||void 0===O?void 0:O.finalUrl)||0===fe?this.currentUrlTree===(null===(W=this.currentNavigation)||void 0===W?void 0:W.finalUrl)&&0===fe&&(this.resetState(h),this.browserUrlTree=h.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(fe)}else"replace"===this.canceledNavigationResolution&&(w&&this.resetState(h),this.resetUrlToCurrentUrlTree())}resetState(h){this.routerState=h.currentRouterState,this.currentUrlTree=h.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,h.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(h,w){const O=new Rn(h.id,this.serializeUrl(h.extractedUrl),w);this.triggerEvent(O),h.resolve(!1)}generateNgRouterState(h,w){return"computed"===this.canceledNavigationResolution?{navigationId:h,\u0275routerPageId:w}:{navigationId:h}}}return v.\u0275fac=function(h){return new(h||v)(A.LFG(A.DyG),A.LFG(qn),A.LFG(Ro),A.LFG(i.Ye),A.LFG(A.zs3),A.LFG(A.v3s),A.LFG(A.Sil),A.LFG(void 0))},v.\u0275prov=A.Yz7({token:v,factory:v.\u0275fac}),v})();function xi(v){return"imperative"!==v}let cs=(()=>{class v{constructor(h,w,O,W,fe){this.router=h,this.route=w,this.commands=[],this.onChanges=new Ae.xQ,null==O&&W.setAttribute(fe.nativeElement,"tabindex","0")}ngOnChanges(h){this.onChanges.next(this)}set routerLink(h){this.commands=null!=h?Array.isArray(h)?h:[h]:[]}onClick(){const h={skipLocationChange:zo(this.skipLocationChange),replaceUrl:zo(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,h),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:zo(this.preserveFragment)})}}return v.\u0275fac=function(h){return new(h||v)(A.Y36(oo),A.Y36(Kr),A.$8M("tabindex"),A.Y36(A.Qsj),A.Y36(A.SBq))},v.\u0275dir=A.lG2({type:v,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(h,w){1&h&&A.NdJ("click",function(){return w.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[A.TTD]}),v})();function zo(v){return""===v||!!v}let Gs=(()=>{class v{constructor(h,w,O,W,fe){this.parentContexts=h,this.location=w,this.resolver=O,this.changeDetector=fe,this.activated=null,this._activatedRoute=null,this.activateEvents=new A.vpe,this.deactivateEvents=new A.vpe,this.name=W||At,h.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const h=this.parentContexts.getContext(this.name);h&&h.route&&(h.attachRef?this.attach(h.attachRef,h.route):this.activateWith(h.route,h.resolver||null))}}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(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const h=this.activated;return this.activated=null,this._activatedRoute=null,h}attach(h,w){this.activated=h,this._activatedRoute=w,this.location.insert(h.hostView)}deactivate(){if(this.activated){const h=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(h)}}activateWith(h,w){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=h;const fe=(w=w||this.resolver).resolveComponentFactory(h._futureSnapshot.routeConfig.component),De=this.parentContexts.getOrCreateContext(this.name).children,tt=new Oi(h,De,this.location.injector);this.activated=this.location.createComponent(fe,this.location.length,tt),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return v.\u0275fac=function(h){return new(h||v)(A.Y36(Ro),A.Y36(A.s_b),A.Y36(A._Vd),A.$8M("name"),A.Y36(A.sBO))},v.\u0275dir=A.lG2({type:v,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),v})();class Oi{constructor(g,h,w){this.route=g,this.childContexts=h,this.parent=w}get(g,h){return g===Kr?this.route:g===Ro?this.childContexts:this.parent.get(g,h)}}class Pi{}class zs{preload(g,h){return h().pipe(He(()=>(0,re.of)(null)))}}class Eo{preload(g,h){return(0,re.of)(null)}}let di=(()=>{class v{constructor(h,w,O,W,fe){this.router=h,this.injector=W,this.preloadingStrategy=fe,this.loader=new wr(w,O,Mt=>h.triggerEvent(new hn(Mt)),Mt=>h.triggerEvent(new Pr(Mt)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ct.h)(h=>h instanceof In),(0,bt.b)(()=>this.preload())).subscribe(()=>{})}preload(){const h=this.injector.get(A.h0i);return this.processRoutes(h,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(h,w){const O=[];for(const W of w)if(W.loadChildren&&!W.canLoad&&W._loadedConfig){const fe=W._loadedConfig;O.push(this.processRoutes(fe.module,fe.routes))}else W.loadChildren&&!W.canLoad?O.push(this.preloadConfig(h,W)):W.children&&O.push(this.processRoutes(h,W.children));return(0,ze.D)(O).pipe((0,Fe.J)(),(0,rt.U)(W=>{}))}preloadConfig(h,w){return this.preloadingStrategy.preload(w,()=>(w._loadedConfig?(0,re.of)(w._loadedConfig):this.loader.load(h.injector,w)).pipe((0,ft.zg)(W=>(w._loadedConfig=W,this.processRoutes(W.module,W.routes)))))}}return v.\u0275fac=function(h){return new(h||v)(A.LFG(oo),A.LFG(A.v3s),A.LFG(A.Sil),A.LFG(A.zs3),A.LFG(Pi))},v.\u0275prov=A.Yz7({token:v,factory:v.\u0275fac}),v})(),Ys=(()=>{class v{constructor(h,w,O={}){this.router=h,this.viewportScroller=w,this.options=O,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},O.scrollPositionRestoration=O.scrollPositionRestoration||"disabled",O.anchorScrolling=O.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(h=>{h instanceof Zt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=h.navigationTrigger,this.restoredId=h.restoredState?h.restoredState.navigationId:0):h instanceof In&&(this.lastId=h.id,this.scheduleScrollEvent(h,this.router.parseUrl(h.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(h=>{h instanceof gr&&(h.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(h.position):h.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(h.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(h,w){this.router.triggerEvent(new gr(h,"popstate"===this.lastSource?this.store[this.restoredId]:null,w))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return v.\u0275fac=function(h){return new(h||v)(A.LFG(oo),A.LFG(i.EM),A.LFG(void 0))},v.\u0275prov=A.Yz7({token:v,factory:v.\u0275fac}),v})();const fi=new A.OlP("ROUTER_CONFIGURATION"),ds=new A.OlP("ROUTER_FORROOT_GUARD"),fs=[i.Ye,{provide:qn,useClass:Bt},{provide:oo,useFactory:function(v,g,h,w,O,W,fe,De={},tt,Mt){const Ln=new oo(null,v,g,h,w,O,W,sr(fe));return tt&&(Ln.urlHandlingStrategy=tt),Mt&&(Ln.routeReuseStrategy=Mt),function(v,g){v.errorHandler&&(g.errorHandler=v.errorHandler),v.malformedUriErrorHandler&&(g.malformedUriErrorHandler=v.malformedUriErrorHandler),v.onSameUrlNavigation&&(g.onSameUrlNavigation=v.onSameUrlNavigation),v.paramsInheritanceStrategy&&(g.paramsInheritanceStrategy=v.paramsInheritanceStrategy),v.relativeLinkResolution&&(g.relativeLinkResolution=v.relativeLinkResolution),v.urlUpdateStrategy&&(g.urlUpdateStrategy=v.urlUpdateStrategy)}(De,Ln),De.enableTracing&&Ln.events.subscribe(qt=>{var or,Mn;null===(or=console.group)||void 0===or||or.call(console,`Router Event: ${qt.constructor.name}`),console.log(qt.toString()),console.log(qt),null===(Mn=console.groupEnd)||void 0===Mn||Mn.call(console)}),Ln},deps:[qn,Ro,i.Ye,A.zs3,A.v3s,A.Sil,_r,fi,[class{},new A.FiY],[class{},new A.FiY]]},Ro,{provide:Kr,useFactory:function(v){return v.routerState.root},deps:[oo]},{provide:A.v3s,useClass:A.EAV},di,Eo,zs,{provide:fi,useValue:{enableTracing:!1}}];function xs(){return new A.PXZ("Router",oo)}let Ks=(()=>{class v{constructor(h,w){}static forRoot(h,w){return{ngModule:v,providers:[fs,qs(h),{provide:ds,useFactory:La,deps:[[oo,new A.FiY,new A.tp0]]},{provide:fi,useValue:w||{}},{provide:i.S$,useFactory:ka,deps:[i.lw,[new A.tBr(i.mr),new A.FiY],fi]},{provide:Ys,useFactory:ha,deps:[oo,i.EM,fi]},{provide:Pi,useExisting:w&&w.preloadingStrategy?w.preloadingStrategy:Eo},{provide:A.PXZ,multi:!0,useFactory:xs},[Fi,{provide:A.ip1,multi:!0,useFactory:Rs,deps:[Fi]},{provide:Xs,useFactory:Bl,deps:[Fi]},{provide:A.tb,multi:!0,useExisting:Xs}]]}}static forChild(h){return{ngModule:v,providers:[qs(h)]}}}return v.\u0275fac=function(h){return new(h||v)(A.LFG(ds,8),A.LFG(oo,8))},v.\u0275mod=A.oAB({type:v}),v.\u0275inj=A.cJS({}),v})();function ha(v,g,h){return h.scrollOffset&&g.setOffset(h.scrollOffset),new Ys(v,g,h)}function ka(v,g,h={}){return h.useHash?new i.Do(v,g):new i.b0(v,g)}function La(v){return"guarded"}function qs(v){return[{provide:A.deG,multi:!0,useValue:v},{provide:_r,multi:!0,useValue:v}]}let Fi=(()=>{class v{constructor(h){this.injector=h,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ae.xQ}appInitializer(){return this.injector.get(i.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let w=null;const O=new Promise(De=>w=De),W=this.injector.get(oo),fe=this.injector.get(fi);return"disabled"===fe.initialNavigation?(W.setUpLocationChangeListener(),w(!0)):"enabled"===fe.initialNavigation||"enabledBlocking"===fe.initialNavigation?(W.hooks.afterPreactivation=()=>this.initNavigation?(0,re.of)(null):(this.initNavigation=!0,w(!0),this.resultOfPreactivationDone),W.initialNavigation()):w(!0),O})}bootstrapListener(h){const w=this.injector.get(fi),O=this.injector.get(di),W=this.injector.get(Ys),fe=this.injector.get(oo),De=this.injector.get(A.z2F);h===De.components[0]&&(("enabledNonBlocking"===w.initialNavigation||void 0===w.initialNavigation)&&fe.initialNavigation(),O.setUpPreloading(),W.init(),fe.resetRootComponentType(De.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return v.\u0275fac=function(h){return new(h||v)(A.LFG(A.zs3))},v.\u0275prov=A.Yz7({token:v,factory:v.\u0275fac}),v})();function Rs(v){return v.appInitializer.bind(v)}function Bl(v){return v.bootstrapListener.bind(v)}const Xs=new A.OlP("Router Initializer")},700:(Ze,Ne,R)=>{"use strict";R.d(Ne,{Br:()=>xo,W2:()=>z,ki:()=>pr,Pc:()=>Ts,IN:()=>is,SH:()=>Uo,yF:()=>ss});var i=R(639);function $(d,b,u,_){var We,F=arguments.length,pe=F<3?b:null===_?_=Object.getOwnPropertyDescriptor(b,u):_;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)pe=Reflect.decorate(d,b,u,_);else for(var mt=d.length-1;mt>=0;mt--)(We=d[mt])&&(pe=(F<3?We(pe):F>3?We(b,u,pe):We(b,u))||pe);return F>3&&pe&&Object.defineProperty(b,u,pe),pe}R(665),"function"==typeof SuppressedError&&SuppressedError;var He=R(7574),Ye=R(9796),Et=R(9105),Ct=R(8002);function xt(d,b,u,_){return(0,Et.m)(u)&&(_=u,u=void 0),_?xt(d,b,u).pipe((0,Ct.U)(F=>(0,Ye.k)(F)?_(...F):_(F))):new He.y(F=>{Tt(d,b,function(We){F.next(arguments.length>1?Array.prototype.slice.call(arguments):We)},F,u)})}function Tt(d,b,u,_,F){let pe;if(function(d){return d&&"function"==typeof d.addEventListener&&"function"==typeof d.removeEventListener}(d)){const We=d;d.addEventListener(b,u,F),pe=()=>We.removeEventListener(b,u,F)}else if(function(d){return d&&"function"==typeof d.on&&"function"==typeof d.off}(d)){const We=d;d.on(b,u),pe=()=>We.off(b,u)}else if(function(d){return d&&"function"==typeof d.addListener&&"function"==typeof d.removeListener}(d)){const We=d;d.addListener(b,u),pe=()=>We.removeListener(b,u)}else{if(!d||!d.length)throw new TypeError("Invalid event target");for(let We=0,mt=d.length;We"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(d):"function"==typeof requestAnimationFrame?requestAnimationFrame(d):setTimeout(d),ar=(d,b)=>{const u=d.prototype;b.forEach(_=>{Object.defineProperty(u,_,{get(){return this.el[_]},set(F){this.z.runOutsideAngular(()=>this.el[_]=F)}})})},Wr=(d,b)=>{const u=d.prototype;b.forEach(_=>{u[_]=function(){const F=arguments;return this.z.runOutsideAngular(()=>this.el[_].apply(this.el,F))}})},Lt=(d,b,u)=>{u.forEach(_=>d[_]=xt(b,_))};function lt(d){return function(u){const{defineCustomElementFn:_,inputs:F,methods:pe}=d;return void 0!==_&&_(),F&&ar(u,F),pe&&Wr(u,pe),u}}let z=(()=>{let d=class{constructor(u,_,F){this.z=F,u.detach(),this.el=_.nativeElement,Lt(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return d.\u0275fac=function(u){return new(u||d)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},d.\u0275cmp=i.Xpm({type:d,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:yt,decls:1,vars:0,template:function(u,_){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),d=$([lt({defineCustomElementFn:void 0,inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],d),d})();class Qe{constructor(b={}){this.data=b}get(b){return this.data[b]}}let st=(()=>{class d{constructor(u,_){this.zone=u,this.appRef=_}create(u,_,F,pe){return new T(u,_,F,this.appRef,this.zone,pe)}}return d.\u0275fac=function(u){return new(u||d)(i.LFG(i.R0b),i.LFG(i.z2F))},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac}),d})();class T{constructor(b,u,_,F,pe,We){this.resolverOrInjector=b,this.injector=u,this.location=_,this.appRef=F,this.zone=pe,this.elementReferenceKey=We,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(b,u,_,F){return this.zone.run(()=>new Promise(pe=>{const We=Object.assign({},_);void 0!==this.elementReferenceKey&&(We[this.elementReferenceKey]=b),pe(D(this.zone,this.resolverOrInjector,this.injector,this.location,this.appRef,this.elRefMap,this.elEventsMap,b,u,We,F))}))}removeViewFromDom(b,u){return this.zone.run(()=>new Promise(_=>{const F=this.elRefMap.get(u);if(F){F.destroy(),this.elRefMap.delete(u);const pe=this.elEventsMap.get(u);pe&&(pe(),this.elEventsMap.delete(u))}_()}))}}const D=(d,b,u,_,F,pe,We,mt,$t,It,ln)=>{let tn;const cr=i.zs3.create({providers:ut(It),parent:u});if(b&&(d=>!!d.resolveComponentFactory)(b)){const wr=b.resolveComponentFactory($t);tn=_?_.createComponent(wr,_.length,cr):wr.create(cr)}else{if(!_)return null;tn=_.createComponent($t,{index:_.indexOf,injector:cr,environmentInjector:b})}const vn=tn.instance,Xn=tn.location.nativeElement;if(It&&Object.assign(vn,It),ln)for(const wr of ln)Xn.classList.add(wr);const _r=U(d,vn,Xn);return mt.appendChild(Xn),_||F.attachView(tn.hostView),tn.changeDetectorRef.reattach(),pe.set(Xn,tn),We.set(Xn,_r),Xn},E=[we.L,we.a,we.b,we.c,we.d],U=(d,b,u)=>d.run(()=>{const _=E.filter(F=>"function"==typeof b[F]).map(F=>{const pe=We=>b[F](We.detail);return u.addEventListener(F,pe),()=>u.removeEventListener(F,pe)});return()=>_.forEach(F=>F())}),Pe=new i.OlP("NavParamsToken"),ut=d=>[{provide:Pe,useValue:d},{provide:Qe,useFactory:Wt,deps:[Pe]}],Wt=d=>new Qe(d),Ft=new i.OlP("USERCONFIG");let Zi=(()=>{class d{constructor(u,_){this.doc=u,this.backButton=new kt.xQ,this.keyboardDidShow=new kt.xQ,this.keyboardDidHide=new kt.xQ,this.pause=new kt.xQ,this.resume=new kt.xQ,this.resize=new kt.xQ,_.run(()=>{var F;let pe;this.win=u.defaultView,this.backButton.subscribeWithPriority=function(We,mt){return this.subscribe($t=>$t.register(We,It=>_.run(()=>mt(It))))},ti(this.pause,u,"pause"),ti(this.resume,u,"resume"),ti(this.backButton,u,"ionBackButton"),ti(this.resize,this.win,"resize"),ti(this.keyboardDidShow,this.win,"ionKeyboardDidShow"),ti(this.keyboardDidHide,this.win,"ionKeyboardDidHide"),this._readyPromise=new Promise(We=>{pe=We}),(null===(F=this.win)||void 0===F?void 0:F.cordova)?u.addEventListener("deviceready",()=>{pe("cordova")},{once:!0}):pe("dom")})}is(u){return(0,Er.a)(this.win,u)}platforms(){return(0,Er.g)(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(u){return es(this.win.location.href,u)}isLandscape(){return!this.isPortrait()}isPortrait(){var u,_;return null===(_=(u=this.win).matchMedia)||void 0===_?void 0:_.call(u,"(orientation: portrait)").matches}testUserAgent(u){const _=this.win.navigator;return!!((null==_?void 0:_.userAgent)&&_.userAgent.indexOf(u)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return d.\u0275fac=function(u){return new(u||d)(i.LFG(wn.K0),i.LFG(i.R0b))},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const es=(d,b)=>{b=b.replace(/[[\]\\]/g,"\\$&");const _=new RegExp("[\\?&]"+b+"=([^&#]*)").exec(d);return _?decodeURIComponent(_[1].replace(/\+/g," ")):null},ti=(d,b,u)=>{b&&b.addEventListener(u,_=>{d.next(null!=_?_.detail:void 0)})};let Uo=(()=>{class d{constructor(u,_,F,pe){this.location=_,this.serializer=F,this.router=pe,this.direction=ci,this.animated=at,this.guessDirection="forward",this.lastNavId=-1,pe&&pe.events.subscribe(We=>{if(We instanceof Yt.OD){const mt=We.restoredState?We.restoredState.navigationId:We.id;this.guessDirection=mt{this.pop(),We()})}navigateForward(u,_={}){return this.setDirection("forward",_.animated,_.animationDirection,_.animation),this.navigate(u,_)}navigateBack(u,_={}){return this.setDirection("back",_.animated,_.animationDirection,_.animation),this.navigate(u,_)}navigateRoot(u,_={}){return this.setDirection("root",_.animated,_.animationDirection,_.animation),this.navigate(u,_)}back(u={animated:!0,animationDirection:"back"}){return this.setDirection("back",u.animated,u.animationDirection,u.animation),this.location.back()}pop(){return function(d,b,u,_){return new(u||(u=Promise))(function(pe,We){function mt(ln){try{It(_.next(ln))}catch(tn){We(tn)}}function $t(ln){try{It(_.throw(ln))}catch(tn){We(tn)}}function It(ln){ln.done?pe(ln.value):function(pe){return pe instanceof u?pe:new u(function(We){We(pe)})}(ln.value).then(mt,$t)}It((_=_.apply(d,b||[])).next())})}(this,void 0,void 0,function*(){let u=this.topOutlet;for(;u&&!(yield u.pop());)u=u.parentOutlet})}setDirection(u,_,F,pe){this.direction=u,this.animated=Ho(u,_,F),this.animationBuilder=pe}setTopOutlet(u){this.topOutlet=u}consumeTransition(){let _,u="root";const F=this.animationBuilder;return"auto"===this.direction?(u=this.guessDirection,_=this.guessAnimation):(_=this.animated,u=this.direction),this.direction=ci,this.animated=at,this.animationBuilder=void 0,{direction:u,animation:_,animationBuilder:F}}navigate(u,_){if(Array.isArray(u))return this.router.navigate(u,_);{const F=this.serializer.parse(u.toString());return void 0!==_.queryParams&&(F.queryParams=Object.assign({},_.queryParams)),void 0!==_.fragment&&(F.fragment=_.fragment),this.router.navigateByUrl(F,_)}}}return d.\u0275fac=function(u){return new(u||d)(i.LFG(Zi),i.LFG(wn.Ye),i.LFG(Yt.Hx),i.LFG(Yt.F0,8))},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const Ho=(d,b,u)=>{if(!1!==b){if(void 0!==u)return u;if("forward"===d||"back"===d)return d;if("root"===d&&!0===b)return"forward"}},ci="auto",at=void 0;let pr=(()=>{let d=class{constructor(u,_,F){this.z=F,this.isCmpOpen=!1,this.el=_.nativeElement,this.el.addEventListener("willPresent",()=>{this.isCmpOpen=!0,u.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,u.detectChanges()}),Lt(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return d.\u0275fac=function(u){return new(u||d)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},d.\u0275cmp=i.Xpm({type:d,selectors:[["ion-modal"]],contentQueries:function(u,_,F){if(1&u&&i.Suo(F,i.Rgc,5),2&u){let pe;i.iGM(pe=i.CRH())&&(_.template=pe.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",swipeToClose:"swipeToClose",translucent:"translucent",trigger:"trigger"},decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(u,_){1&u&&i.YNc(0,At,2,1,"div",0),2&u&&i.Q6J("ngIf",_.isCmpOpen||_.keepContentsMounted)},directives:[wn.O5,wn.tP],encapsulation:2,changeDetection:0}),d=$([lt({inputs:["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","swipeToClose","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"]})],d),d})();class no{constructor(b){this.ctrl=b}create(b){return this.ctrl.create(b||{})}dismiss(b,u,_){return this.ctrl.dismiss(b,u,_)}getTop(){return this.ctrl.getTop()}}let xo=(()=>{class d extends no{constructor(){super(ke.a)}}return d.\u0275fac=function(u){return new(u||d)},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();class os{}let is=(()=>{class d extends no{constructor(u,_,F,pe){super(ke.m),this.angularDelegate=u,this.resolver=_,this.injector=F,this.environmentInjector=pe}create(u){var _;return super.create(Object.assign(Object.assign({},u),{delegate:this.angularDelegate.create(null!==(_=this.resolver)&&void 0!==_?_:this.environmentInjector,this.injector,void 0,"modal")}))}}return d.\u0275fac=function(u){return new(u||d)(i.LFG(st),i.LFG(i._Vd),i.LFG(i.zs3),i.LFG(os,8))},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac}),d})(),ui=(()=>{class d extends no{constructor(u,_,F,pe){super(ke.c),this.angularDelegate=u,this.resolver=_,this.injector=F,this.environmentInjector=pe}create(u){var _;return super.create(Object.assign(Object.assign({},u),{delegate:this.angularDelegate.create(null!==(_=this.resolver)&&void 0!==_?_:this.environmentInjector,this.injector,void 0,"popover")}))}}return d.\u0275fac=function(u){return new(u||d)(i.LFG(st),i.LFG(i._Vd),i.LFG(i.zs3),i.LFG(os,8))},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac}),d})(),ss=(()=>{class d extends no{constructor(){super(ke.t)}}return d.\u0275fac=function(u){return new(u||d)},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const ls=(d,b,u)=>()=>{if(b.defaultView&&"undefined"!=typeof window){(0,Ce.s)(Object.assign(Object.assign({},d),{_zoneGate:pe=>u.run(pe)}));const F="__zone_symbol__addEventListener"in b.body?"__zone_symbol__addEventListener":"addEventListener";return function(){var d=[];if("undefined"!=typeof window){var b=window;(!b.customElements||b.Element&&(!b.Element.prototype.closest||!b.Element.prototype.matches||!b.Element.prototype.remove||!b.Element.prototype.getRootNode))&&d.push(R.e(6748).then(R.t.bind(R,5141,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||b.NodeList&&!b.NodeList.prototype.forEach||!b.fetch||!function(){try{var _=new URL("b","http://a");return _.pathname="c%20d","http://a/c%20d"===_.href&&_.searchParams}catch(F){return!1}}()||"undefined"==typeof WeakMap)&&d.push(R.e(2214).then(R.t.bind(R,7656,23)))}return Promise.all(d)}().then(()=>((d,b)=>"undefined"==typeof window?Promise.resolve():(0,gt.p)().then(()=>(hn(),(0,gt.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"]]],[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]}],[1,"ion-fab-list",{"activated":[4],"side":[1]}]]],["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]}]]],["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"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["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]}]]],["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]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]]]]],["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":[1],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]]]]],["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]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[4],"layout":[1],"type":[1],"value":[1],"checked":[32],"setFocus":[64]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1025],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]]]]],["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]}]]],["ion-chip",[[1,"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",[[34,"ion-input",{"fireFocusEvents":[4,"fire-focus-events"],"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"inputmode":[1],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["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],"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]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"activated":[32]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-textarea",[[34,"ion-textarea",{"fireFocusEvents":[4,"fire-focus-events"],"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["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"],"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],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["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],"swipeToClose":[4,"swipe-to-close"],"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]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]}],[0,"ion-route-redirect",{"from":[1],"to":[1]}],[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-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-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]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-slide_2",[[0,"ion-slide"],[36,"ion-slides",{"options":[8],"pager":[4],"scrollbar":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]}],[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]}]]],["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],"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],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-virtual-scroll",[[0,"ion-virtual-scroll",{"approxItemHeight":[2,"approx-item-height"],"approxHeaderHeight":[2,"approx-header-height"],"approxFooterHeight":[2,"approx-footer-height"],"headerFn":[16],"footerFn":[16],"items":[16],"itemHeight":[16],"headerHeight":[16],"footerHeight":[16],"renderItem":[16],"renderHeader":[16],"renderFooter":[16],"nodeRender":[16],"domRender":[16],"totalHeight":[32],"positionForItem":[64],"checkRange":[64],"checkEnd":[64]},[[9,"resize","onResize"]]]]],["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]}]]],["ion-picker-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]]]]],["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]}],[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],"ariaLabel":[32]}]]],["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],"isPresented":[32],"isTimePopoverOpen":[32],"confirm":[64],"reset":[64],"cancel":[64]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"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],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]}],[32,"ion-picker-column",{"col":[16]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"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],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"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],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]]]]],["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]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8]}]]],["ion-select_3",[[33,"ion-select",{"disabled":[4],"cancelText":[1,"cancel-text"],"okText":[1,"ok-text"],"placeholder":[1],"name":[1],"selectedText":[1,"selected-text"],"multiple":[4],"interface":[1],"interfaceOptions":[8,"interface-options"],"compareWith":[1,"compare-with"],"value":[1032],"isExpanded":[32],"open":[64]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]},[[0,"ionChange","onSelect"]]]]],["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]},[[8,"appload","onAppLoad"],[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]}],[33,"ion-title",{"color":[513],"size":[1]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[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,"ionChange","handleIonChange"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]]],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]}],[33,"ion-note",{"color":[513]}]]]]'),b))))(0,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:er,jmp:pe=>u.runOutsideAngular(pe),ael(pe,We,mt,$t){pe[F](We,mt,$t)},rel(pe,We,mt,$t){pe.removeEventListener(We,mt,$t)}}))}};let Ts=(()=>{class d{static forRoot(u){return{ngModule:d,providers:[{provide:Ft,useValue:u},{provide:i.ip1,useFactory:ls,multi:!0,deps:[Ft,wn.K0,i.R0b]}]}}}return d.\u0275fac=function(u){return new(u||d)},d.\u0275mod=i.oAB({type:d}),d.\u0275inj=i.cJS({providers:[st,is,ui],imports:[[wn.ez]]}),d})()},1527:(Ze,Ne,R)=>{"use strict";R.d(Ne,{c:()=>te});var i=R(1572),A=R(7857);let me;const ae=ce=>ce.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ie=ce=>{if(void 0===me){const Fe=void 0!==ce.style.webkitAnimationName;me=void 0===ce.style.animationName&&Fe?"-webkit-":""}return me},$=(ce,re,Fe)=>{const Oe=re.startsWith("animation")?ie(ce):"";ce.style.setProperty(Oe+re,Fe)},K=(ce,re)=>{const Fe=re.startsWith("animation")?ie(ce):"";ce.style.removeProperty(Fe+re)},V=[],he=(ce=[],re)=>{if(void 0!==re){const Fe=Array.isArray(re)?re:[re];return[...ce,...Fe]}return ce},te=ce=>{let re,Fe,Oe,ge,ze,Je,Ue,$e,Ge,ct,ot,Ct,ht,Me=[],_e=[],Se=[],Ve=!1,Ae={},xe=[],je=[],Xe={},Ot=0,jt=!1,et=!1,He=!0,Ye=!1,Et=!0,xt=!1;const Tt=ce,an=[],gn=[],rn=[],kt=[],Fn=[],Yt=[],xn=[],Jn=[],Un=[],Nn=[],Er="function"==typeof AnimationEffect||void 0!==A.w&&"function"==typeof A.w.AnimationEffect,Ke="function"==typeof Element&&"function"==typeof Element.prototype.animate&&Er,we=()=>Nn,gt=(B,ne)=>(((null==ne?void 0:ne.oneTimeCallback)?gn:an).push({c:B,o:ne}),ht),Dn=()=>{if(Ke)Nn.forEach(B=>{B.cancel()}),Nn.length=0;else{const B=rn.slice();(0,i.r)(()=>{B.forEach(ne=>{K(ne,"animation-name"),K(ne,"animation-duration"),K(ne,"animation-timing-function"),K(ne,"animation-iteration-count"),K(ne,"animation-delay"),K(ne,"animation-play-state"),K(ne,"animation-fill-mode"),K(ne,"animation-direction")})})}},Zt=()=>{Fn.forEach(B=>{(null==B?void 0:B.parentNode)&&B.parentNode.removeChild(B)}),Fn.length=0},on=()=>void 0!==ze?ze:Ue?Ue.getFill():"both",ir=()=>void 0!==Ge?Ge:void 0!==Je?Je:Ue?Ue.getDirection():"normal",gr=()=>jt?"linear":void 0!==Oe?Oe:Ue?Ue.getEasing():"linear",At=()=>et?0:void 0!==ct?ct:void 0!==Fe?Fe:Ue?Ue.getDuration():0,dr=()=>void 0!==ge?ge:Ue?Ue.getIterations():1,er=()=>void 0!==ot?ot:void 0!==re?re:Ue?Ue.getDelay():0,Gn=()=>{0!==Ot&&(Ot--,0===Ot&&((()=>{qn(),Jn.forEach(Re=>Re()),Un.forEach(Re=>Re());const B=He?1:0,ne=xe,ue=je,be=Xe;rn.forEach(Re=>{const nt=Re.classList;ne.forEach(dt=>nt.add(dt)),ue.forEach(dt=>nt.remove(dt));for(const dt in be)be.hasOwnProperty(dt)&&$(Re,dt,be[dt])}),an.forEach(Re=>Re.c(B,ht)),gn.forEach(Re=>Re.c(B,ht)),gn.length=0,Et=!0,He&&(Ye=!0),He=!0})(),Ue&&Ue.animationFinish()))},lt=(B=!0)=>{Zt();const ne=(ce=>(ce.forEach(re=>{for(const Fe in re)if(re.hasOwnProperty(Fe)){const Oe=re[Fe];if("easing"===Fe)re["animation-timing-function"]=Oe,delete re[Fe];else{const ge=ae(Fe);ge!==Fe&&(re[ge]=Oe,delete re[Fe])}}}),ce))(Me);rn.forEach(ue=>{if(ne.length>0){const be=((ce=[])=>ce.map(re=>{const Fe=re.offset,Oe=[];for(const ge in re)re.hasOwnProperty(ge)&&"offset"!==ge&&Oe.push(`${ge}: ${re[ge]};`);return`${100*Fe}% { ${Oe.join(" ")} }`}).join(" "))(ne);Ct=void 0!==ce?ce:(ce=>{let re=V.indexOf(ce);return re<0&&(re=V.push(ce)-1),`ion-animation-${re}`})(be);const Re=((ce,re,Fe)=>{var Oe;const ge=(ce=>{const re=void 0!==ce.getRootNode?ce.getRootNode():ce;return re.head||re})(Fe),ze=ie(Fe),Je=ge.querySelector("#"+ce);if(Je)return Je;const Me=(null!==(Oe=Fe.ownerDocument)&&void 0!==Oe?Oe:document).createElement("style");return Me.id=ce,Me.textContent=`@${ze}keyframes ${ce} { ${re} } @${ze}keyframes ${ce}-alt { ${re} }`,ge.appendChild(Me),Me})(Ct,be,ue);Fn.push(Re),$(ue,"animation-duration",`${At()}ms`),$(ue,"animation-timing-function",gr()),$(ue,"animation-delay",`${er()}ms`),$(ue,"animation-fill-mode",on()),$(ue,"animation-direction",ir());const nt=dr()===1/0?"infinite":dr().toString();$(ue,"animation-iteration-count",nt),$(ue,"animation-play-state","paused"),B&&$(ue,"animation-name",`${Re.id}-alt`),(0,i.r)(()=>{$(ue,"animation-name",Re.id||null)})}})},Dr=(B=!0)=>{(()=>{Yt.forEach(be=>be()),xn.forEach(be=>be());const B=_e,ne=Se,ue=Ae;rn.forEach(be=>{const Re=be.classList;B.forEach(nt=>Re.add(nt)),ne.forEach(nt=>Re.remove(nt));for(const nt in ue)ue.hasOwnProperty(nt)&&$(be,nt,ue[nt])})})(),Me.length>0&&(Ke?(rn.forEach(B=>{const ne=B.animate(Me,{id:Tt,delay:er(),duration:At(),easing:gr(),iterations:dr(),fill:on(),direction:ir()});ne.pause(),Nn.push(ne)}),Nn.length>0&&(Nn[0].onfinish=()=>{Gn()})):lt(B)),Ve=!0},jn=B=>{if(B=Math.min(Math.max(B,0),.9999),Ke)Nn.forEach(ne=>{ne.currentTime=ne.effect.getComputedTiming().delay+At()*B,ne.pause()});else{const ne=`-${At()*B}ms`;rn.forEach(ue=>{Me.length>0&&($(ue,"animation-delay",ne),$(ue,"animation-play-state","paused"))})}},vt=B=>{Nn.forEach(ne=>{ne.effect.updateTiming({delay:er(),duration:At(),easing:gr(),iterations:dr(),fill:on(),direction:ir()})}),void 0!==B&&jn(B)},Ut=(B=!0,ne)=>{(0,i.r)(()=>{rn.forEach(ue=>{$(ue,"animation-name",Ct||null),$(ue,"animation-duration",`${At()}ms`),$(ue,"animation-timing-function",gr()),$(ue,"animation-delay",void 0!==ne?`-${ne*At()}ms`:`${er()}ms`),$(ue,"animation-fill-mode",on()||null),$(ue,"animation-direction",ir()||null);const be=dr()===1/0?"infinite":dr().toString();$(ue,"animation-iteration-count",be),B&&$(ue,"animation-name",`${Ct}-alt`),(0,i.r)(()=>{$(ue,"animation-name",Ct||null)})})})},Ht=(B=!1,ne=!0,ue)=>(B&&kt.forEach(be=>{be.update(B,ne,ue)}),Ke?vt(ue):Ut(ne,ue),ht),zn=()=>{Ve&&(Ke?Nn.forEach(B=>{B.pause()}):rn.forEach(B=>{$(B,"animation-play-state","paused")}),xt=!0)},Fr=()=>{$e=void 0,Gn()},qn=()=>{$e&&clearTimeout($e)},C=B=>new Promise(ne=>{(null==B?void 0:B.sync)&&(et=!0,gt(()=>et=!1,{oneTimeCallback:!0})),Ve||Dr(),Ye&&(Ke?(jn(0),vt()):Ut(),Ye=!1),Et&&(Ot=kt.length+1,Et=!1),gt(()=>ne(),{oneTimeCallback:!0}),kt.forEach(ue=>{ue.play()}),Ke?(Nn.forEach(B=>{B.play()}),(0===Me.length||0===rn.length)&&Gn()):(()=>{if(qn(),(0,i.r)(()=>{rn.forEach(B=>{Me.length>0&&$(B,"animation-play-state","running")})}),0===Me.length||0===rn.length)Gn();else{const B=er()||0,ne=At()||0,ue=dr()||1;isFinite(ue)&&($e=setTimeout(Fr,B+ne*ue+100)),((ce,re)=>{let Fe;const Oe={passive:!0},ze=Je=>{ce===Je.target&&(Fe&&Fe(),qn(),(0,i.r)(()=>{rn.forEach(B=>{K(B,"animation-duration"),K(B,"animation-delay"),K(B,"animation-play-state")}),(0,i.r)(Gn)}))};ce&&(ce.addEventListener("webkitAnimationEnd",ze,Oe),ce.addEventListener("animationend",ze,Oe),Fe=()=>{ce.removeEventListener("webkitAnimationEnd",ze,Oe),ce.removeEventListener("animationend",ze,Oe)})})(rn[0])}})(),xt=!1}),z=(B,ne)=>{const ue=Me[0];return void 0===ue||void 0!==ue.offset&&0!==ue.offset?Me=[{offset:0,[B]:ne},...Me]:ue[B]=ne,ht};return ht={parentAnimation:Ue,elements:rn,childAnimations:kt,id:Tt,animationFinish:Gn,from:z,to:(B,ne)=>{const ue=Me[Me.length-1];return void 0===ue||void 0!==ue.offset&&1!==ue.offset?Me=[...Me,{offset:1,[B]:ne}]:ue[B]=ne,ht},fromTo:(B,ne,ue)=>z(B,ne).to(B,ue),parent:B=>(Ue=B,ht),play:C,pause:()=>(kt.forEach(B=>{B.pause()}),zn(),ht),stop:()=>{kt.forEach(B=>{B.stop()}),Ve&&(Dn(),Ve=!1),jt=!1,et=!1,Et=!0,Ge=void 0,ct=void 0,ot=void 0,Ot=0,Ye=!1,He=!0,xt=!1},destroy:B=>(kt.forEach(ne=>{ne.destroy(B)}),(B=>{Dn(),B&&Zt()})(B),rn.length=0,kt.length=0,Me.length=0,an.length=0,gn.length=0,Ve=!1,Et=!0,ht),keyframes:B=>{const ne=Me!==B;return Me=B,ne&&(B=>{Ke?we().forEach(ne=>{if(ne.effect.setKeyframes)ne.effect.setKeyframes(B);else{const ue=new KeyframeEffect(ne.effect.target,B,ne.effect.getTiming());ne.effect=ue}}):lt()})(Me),ht},addAnimation:B=>{if(null!=B)if(Array.isArray(B))for(const ne of B)ne.parent(ht),kt.push(ne);else B.parent(ht),kt.push(B);return ht},addElement:B=>{if(null!=B)if(1===B.nodeType)rn.push(B);else if(B.length>=0)for(let ne=0;ne(ze=B,Ht(!0),ht),direction:B=>(Je=B,Ht(!0),ht),iterations:B=>(ge=B,Ht(!0),ht),duration:B=>(!Ke&&0===B&&(B=1),Fe=B,Ht(!0),ht),easing:B=>(Oe=B,Ht(!0),ht),delay:B=>(re=B,Ht(!0),ht),getWebAnimations:we,getKeyframes:()=>Me,getFill:on,getDirection:ir,getDelay:er,getIterations:dr,getEasing:gr,getDuration:At,afterAddRead:B=>(Jn.push(B),ht),afterAddWrite:B=>(Un.push(B),ht),afterClearStyles:(B=[])=>{for(const ne of B)Xe[ne]="";return ht},afterStyles:(B={})=>(Xe=B,ht),afterRemoveClass:B=>(je=he(je,B),ht),afterAddClass:B=>(xe=he(xe,B),ht),beforeAddRead:B=>(Yt.push(B),ht),beforeAddWrite:B=>(xn.push(B),ht),beforeClearStyles:(B=[])=>{for(const ne of B)Ae[ne]="";return ht},beforeStyles:(B={})=>(Ae=B,ht),beforeRemoveClass:B=>(Se=he(Se,B),ht),beforeAddClass:B=>(_e=he(_e,B),ht),onFinish:gt,isRunning:()=>0!==Ot&&!xt,progressStart:(B=!1,ne)=>(kt.forEach(ue=>{ue.progressStart(B,ne)}),zn(),jt=B,Ve||Dr(),Ht(!1,!0,ne),ht),progressStep:B=>(kt.forEach(ne=>{ne.progressStep(B)}),jn(B),ht),progressEnd:(B,ne,ue)=>(jt=!1,kt.forEach(be=>{be.progressEnd(B,ne,ue)}),void 0!==ue&&(ct=ue),Ye=!1,He=!0,0===B?(Ge="reverse"===ir()?"normal":"reverse","reverse"===Ge&&(He=!1),Ke?(Ht(),jn(1-ne)):(ot=(1-ne)*At()*-1,Ht(!1,!1))):1===B&&(Ke?(Ht(),jn(ne)):(ot=ne*At()*-1,Ht(!1,!1))),void 0!==B&&(gt(()=>{ct=void 0,Ge=void 0,ot=void 0},{oneTimeCallback:!0}),Ue||C()),ht)}}},4619:(Ze,Ne,R)=>{"use strict";R.d(Ne,{E:()=>j,a:()=>i,s:()=>K});const i=V=>{try{if(V instanceof class{constructor(L){this.value=L}})return V.value;if(!de()||"string"!=typeof V||""===V)return V;if(V.includes("onload="))return"";const L=document.createDocumentFragment(),q=document.createElement("div");L.appendChild(q),q.innerHTML=V,ie.forEach(ce=>{const re=L.querySelectorAll(ce);for(let Fe=re.length-1;Fe>=0;Fe--){const Oe=re[Fe];Oe.parentNode?Oe.parentNode.removeChild(Oe):L.removeChild(Oe);const ge=me(Oe);for(let ze=0;ze{if(V.nodeType&&1!==V.nodeType)return;if("undefined"!=typeof NamedNodeMap&&!(V.attributes instanceof NamedNodeMap))return void V.remove();for(let q=V.attributes.length-1;q>=0;q--){const oe=V.attributes.item(q),he=oe.name;if(!ae.includes(he.toLowerCase())){V.removeAttribute(he);continue}const te=oe.value,ce=V[he];(null!=te&&te.toLowerCase().includes("javascript:")||null!=ce&&ce.toLowerCase().includes("javascript:"))&&V.removeAttribute(he)}const L=me(V);for(let q=0;qnull!=V.children?V.children:V.childNodes,de=()=>{var V;const L=window,q=null===(V=null==L?void 0:L.Ionic)||void 0===V?void 0:V.config;return!q||(q.get?q.get("sanitizerEnabled",!0):!0===q.sanitizerEnabled||void 0===q.sanitizerEnabled)},ae=["class","id","href","src","name","slot"],ie=["script","style","iframe","meta","link","object","embed"],K=V=>{const L=window,q=L.Ionic;if(!q||!q.config||"Object"===q.config.constructor.name)return L.Ionic=L.Ionic||{},L.Ionic.config=Object.assign(Object.assign({},L.Ionic.config),V),L.Ionic.config},j=!0},1433:(Ze,Ne,R)=>{"use strict";R.d(Ne,{G:()=>ae});class A{constructor($,K,Y,j,V){this.id=K,this.name=Y,this.disableScroll=V,this.priority=1e6*j+K,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 me{constructor($,K,Y,j){this.id=K,this.disable=Y,this.disableScroll=j,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 de="backdrop-no-scroll",ae=new class{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture($){var K;return new A(this,this.newID(),$.name,null!==(K=$.priority)&&void 0!==K?K:0,!!$.disableScroll)}createBlocker($={}){return new me(this,this.newID(),$.disable,!!$.disableScroll)}start($,K,Y){return this.canStart($)?(this.requestedStart.set(K,Y),!0):(this.requestedStart.delete(K),!1)}capture($,K,Y){if(!this.start($,K,Y))return!1;const j=this.requestedStart;let V=-1e4;if(j.forEach(L=>{V=Math.max(V,L)}),V===Y){this.capturedId=K,j.clear();const L=new CustomEvent("ionGestureCaptured",{detail:{gestureName:$}});return document.dispatchEvent(L),!0}return j.delete(K),!1}release($){this.requestedStart.delete($),this.capturedId===$&&(this.capturedId=void 0)}disableGesture($,K){let Y=this.disabledGestures.get($);void 0===Y&&(Y=new Set,this.disabledGestures.set($,Y)),Y.add(K)}enableGesture($,K){const Y=this.disabledGestures.get($);void 0!==Y&&Y.delete(K)}disableScroll($){this.disabledScroll.add($),1===this.disabledScroll.size&&document.body.classList.add(de)}enableScroll($){this.disabledScroll.delete($),0===this.disabledScroll.size&&document.body.classList.remove(de)}canStart($){return!(void 0!==this.capturedId||this.isDisabled($))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled($){const K=this.disabledGestures.get($);return!!(K&&K.size>0)}newID(){return this.gestureId++,this.gestureId}}},8657:(Ze,Ne,R)=>{"use strict";R.r(Ne),R.d(Ne,{MENU_BACK_BUTTON_PRIORITY:()=>ae,OVERLAY_BACK_BUTTON_PRIORITY:()=>de,blockHardwareBackButton:()=>A,startHardwareBackButton:()=>me});var i=R(8239);const A=()=>{document.addEventListener("backbutton",()=>{})},me=()=>{const ie=document;let $=!1;ie.addEventListener("backbutton",()=>{if($)return;let K=0,Y=[];const j=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(q,oe){Y.push({priority:q,handler:oe,id:K++})}}});ie.dispatchEvent(j);const V=function(){var q=(0,i.Z)(function*(oe){try{if(null==oe?void 0:oe.handler){const he=oe.handler(L);null!=he&&(yield he)}}catch(he){console.error(he)}});return function(he){return q.apply(this,arguments)}}(),L=()=>{if(Y.length>0){let q={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};Y.forEach(oe=>{oe.priority>=q.priority&&(q=oe)}),$=!0,Y=Y.filter(oe=>oe.id!==q.id),V(q).then(()=>$=!1)}};L()})},de=100,ae=99},1572:(Ze,Ne,R)=>{"use strict";R.d(Ne,{a:()=>$,b:()=>K,c:()=>me,d:()=>oe,e:()=>he,f:()=>q,g:()=>Y,h:()=>ge,i:()=>ie,j:()=>de,k:()=>L,l:()=>te,m:()=>V,n:()=>ce,o:()=>Oe,p:()=>Fe,q:()=>ze,r:()=>j,s:()=>Je,t:()=>i,u:()=>re});const i=(Me,_e=0)=>new Promise(Se=>{A(Me,_e,Se)}),A=(Me,_e=0,Se)=>{let Ve,Ue;const Ae={passive:!0},je=()=>{Ve&&Ve()},Xe=Ot=>{(void 0===Ot||Me===Ot.target)&&(je(),Se(Ot))};return Me&&(Me.addEventListener("webkitTransitionEnd",Xe,Ae),Me.addEventListener("transitionend",Xe,Ae),Ue=setTimeout(Xe,_e+500),Ve=()=>{Ue&&(clearTimeout(Ue),Ue=void 0),Me.removeEventListener("webkitTransitionEnd",Xe,Ae),Me.removeEventListener("transitionend",Xe,Ae)}),je},me=(Me,_e)=>{Me.componentOnReady?Me.componentOnReady().then(Se=>_e(Se)):j(()=>_e(Me))},de=(Me,_e=[])=>{const Se={};return _e.forEach(Ve=>{Me.hasAttribute(Ve)&&(null!==Me.getAttribute(Ve)&&(Se[Ve]=Me.getAttribute(Ve)),Me.removeAttribute(Ve))}),Se},ae=["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"],ie=(Me,_e)=>{let Se=ae;return _e&&_e.length>0&&(Se=Se.filter(Ve=>!_e.includes(Ve))),de(Me,Se)},$=(Me,_e,Se,Ve)=>{var Ue;if("undefined"!=typeof window){const Ae=window,xe=null===(Ue=null==Ae?void 0:Ae.Ionic)||void 0===Ue?void 0:Ue.config;if(xe){const je=xe.get("_ael");if(je)return je(Me,_e,Se,Ve);if(xe._ael)return xe._ael(Me,_e,Se,Ve)}}return Me.addEventListener(_e,Se,Ve)},K=(Me,_e,Se,Ve)=>{var Ue;if("undefined"!=typeof window){const Ae=window,xe=null===(Ue=null==Ae?void 0:Ae.Ionic)||void 0===Ue?void 0:Ue.config;if(xe){const je=xe.get("_rel");if(je)return je(Me,_e,Se,Ve);if(xe._rel)return xe._rel(Me,_e,Se,Ve)}}return Me.removeEventListener(_e,Se,Ve)},Y=(Me,_e=Me)=>Me.shadowRoot||_e,j=Me=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(Me):"function"==typeof requestAnimationFrame?requestAnimationFrame(Me):setTimeout(Me),V=Me=>!!Me.shadowRoot&&!!Me.attachShadow,L=Me=>{const _e=Me.closest("ion-item");return _e?_e.querySelector("ion-label"):null},q=Me=>{if(Me.focus(),Me.classList.contains("ion-focusable")){const _e=Me.closest("ion-app");_e&&_e.setFocus([Me])}},oe=(Me,_e)=>{let Se;const Ve=Me.getAttribute("aria-labelledby"),Ue=Me.id;let Ae=null!==Ve&&""!==Ve.trim()?Ve:_e+"-lbl",xe=null!==Ve&&""!==Ve.trim()?document.getElementById(Ve):L(Me);return xe?(null===Ve&&(xe.id=Ae),Se=xe.textContent,xe.setAttribute("aria-hidden","true")):""!==Ue.trim()&&(xe=document.querySelector(`label[for="${Ue}"]`),xe&&(""!==xe.id?Ae=xe.id:xe.id=Ae=`${Ue}-lbl`,Se=xe.textContent)),{label:xe,labelId:Ae,labelText:Se}},he=(Me,_e,Se,Ve,Ue)=>{if(Me||V(_e)){let Ae=_e.querySelector("input.aux-input");Ae||(Ae=_e.ownerDocument.createElement("input"),Ae.type="hidden",Ae.classList.add("aux-input"),_e.appendChild(Ae)),Ae.disabled=Ue,Ae.name=Se,Ae.value=Ve||""}},te=(Me,_e,Se)=>Math.max(Me,Math.min(_e,Se)),ce=(Me,_e)=>{if(!Me){const Se="ASSERT: "+_e;throw console.error(Se),new Error(Se)}},re=Me=>Me.timeStamp||Date.now(),Fe=Me=>{if(Me){const _e=Me.changedTouches;if(_e&&_e.length>0){const Se=_e[0];return{x:Se.clientX,y:Se.clientY}}if(void 0!==Me.pageX)return{x:Me.pageX,y:Me.pageY}}return{x:0,y:0}},Oe=Me=>{const _e="rtl"===document.dir;switch(Me){case"start":return _e;case"end":return!_e;default:throw new Error(`"${Me}" is not a valid value for [side]. Use "start" or "end" instead.`)}},ge=(Me,_e)=>{const Se=Me._original||Me;return{_original:Me,emit:ze(Se.emit.bind(Se),_e)}},ze=(Me,_e=0)=>{let Se;return(...Ve)=>{clearTimeout(Se),Se=setTimeout(Me,_e,...Ve)}},Je=(Me,_e)=>{if(null!=Me||(Me={}),null!=_e||(_e={}),Me===_e)return!0;const Se=Object.keys(Me);if(Se.length!==Object.keys(_e).length)return!1;for(const Ve of Se)if(!(Ve in _e)||Me[Ve]!==_e[Ve])return!1;return!0}},6387:(Ze,Ne,R)=>{"use strict";R.d(Ne,{L:()=>de,a:()=>ae,b:()=>ie,c:()=>$,d:()=>K,e:()=>_e,g:()=>Ue,l:()=>Je,s:()=>Se,t:()=>V});var i=R(8239),A=R(1027),me=R(1572);const de="ionViewWillEnter",ae="ionViewDidEnter",ie="ionViewWillLeave",$="ionViewDidLeave",K="ionViewWillUnload",V=Ae=>new Promise((xe,je)=>{(0,A.c)(()=>{L(Ae),q(Ae).then(Xe=>{Xe.animation&&Xe.animation.destroy(),oe(Ae),xe(Xe)},Xe=>{oe(Ae),je(Xe)})})}),L=Ae=>{const xe=Ae.enteringEl,je=Ae.leavingEl;Ve(xe,je,Ae.direction),Ae.showGoBack?xe.classList.add("can-go-back"):xe.classList.remove("can-go-back"),Se(xe,!1),xe.style.setProperty("pointer-events","none"),je&&(Se(je,!1),je.style.setProperty("pointer-events","none"))},q=function(){var Ae=(0,i.Z)(function*(xe){const je=yield he(xe);return je&&A.B.isBrowser?te(je,xe):ce(xe)});return function(je){return Ae.apply(this,arguments)}}(),oe=Ae=>{const xe=Ae.enteringEl,je=Ae.leavingEl;xe.classList.remove("ion-page-invisible"),xe.style.removeProperty("pointer-events"),void 0!==je&&(je.classList.remove("ion-page-invisible"),je.style.removeProperty("pointer-events"))},he=function(){var Ae=(0,i.Z)(function*(xe){return xe.leavingEl&&xe.animated&&0!==xe.duration?xe.animationBuilder?xe.animationBuilder:"ios"===xe.mode?(yield Promise.resolve().then(R.bind(R,2816))).iosTransitionAnimation:(yield Promise.resolve().then(R.bind(R,5323))).mdTransitionAnimation:void 0});return function(je){return Ae.apply(this,arguments)}}(),te=function(){var Ae=(0,i.Z)(function*(xe,je){yield re(je,!0);const Xe=xe(je.baseEl,je);ge(je.enteringEl,je.leavingEl);const Ot=yield Oe(Xe,je);return je.progressCallback&&je.progressCallback(void 0),Ot&&ze(je.enteringEl,je.leavingEl),{hasCompleted:Ot,animation:Xe}});return function(je,Xe){return Ae.apply(this,arguments)}}(),ce=function(){var Ae=(0,i.Z)(function*(xe){const je=xe.enteringEl,Xe=xe.leavingEl;return yield re(xe,!1),ge(je,Xe),ze(je,Xe),{hasCompleted:!0}});return function(je){return Ae.apply(this,arguments)}}(),re=function(){var Ae=(0,i.Z)(function*(xe,je){const Ot=(void 0!==xe.deepWait?xe.deepWait:je)?[_e(xe.enteringEl),_e(xe.leavingEl)]:[Me(xe.enteringEl),Me(xe.leavingEl)];yield Promise.all(Ot),yield Fe(xe.viewIsReady,xe.enteringEl)});return function(je,Xe){return Ae.apply(this,arguments)}}(),Fe=function(){var Ae=(0,i.Z)(function*(xe,je){xe&&(yield xe(je))});return function(je,Xe){return Ae.apply(this,arguments)}}(),Oe=(Ae,xe)=>{const je=xe.progressCallback,Xe=new Promise(Ot=>{Ae.onFinish(jt=>Ot(1===jt))});return je?(Ae.progressStart(!0),je(Ae)):Ae.play(),Xe},ge=(Ae,xe)=>{Je(xe,ie),Je(Ae,de)},ze=(Ae,xe)=>{Je(Ae,ae),Je(xe,$)},Je=(Ae,xe)=>{if(Ae){const je=new CustomEvent(xe,{bubbles:!1,cancelable:!1});Ae.dispatchEvent(je)}},Me=Ae=>Ae?new Promise(xe=>(0,me.c)(Ae,xe)):Promise.resolve(),_e=function(){var Ae=(0,i.Z)(function*(xe){const je=xe;if(je){if(null!=je.componentOnReady){if(null!=(yield je.componentOnReady()))return}else if(null!=je.__registerHost)return void(yield new Promise(Ot=>(0,me.r)(Ot)));yield Promise.all(Array.from(je.children).map(_e))}});return function(je){return Ae.apply(this,arguments)}}(),Se=(Ae,xe)=>{xe?(Ae.setAttribute("aria-hidden","true"),Ae.classList.add("ion-page-hidden")):(Ae.hidden=!1,Ae.removeAttribute("aria-hidden"),Ae.classList.remove("ion-page-hidden"))},Ve=(Ae,xe,je)=>{void 0!==Ae&&(Ae.style.zIndex="back"===je?"99":"101"),void 0!==xe&&(xe.style.zIndex="100")},Ue=Ae=>Ae.classList.contains("ion-page")?Ae:Ae.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||Ae},5241:(Ze,Ne,R)=>{"use strict";R.d(Ne,{m:()=>V});var i=R(8239),A=R(8657),me=R(1572),de=R(6894),ae=R(1527);const ie=L=>(0,ae.c)().duration(L?400:300),$=L=>{let q,oe;const he=L.width+8,te=(0,ae.c)(),ce=(0,ae.c)();L.isEndSide?(q=he+"px",oe="0px"):(q=-he+"px",oe="0px"),te.addElement(L.menuInnerEl).fromTo("transform",`translateX(${q})`,`translateX(${oe})`);const Fe="ios"===(0,de.b)(L),Oe=Fe?.2:.25;return ce.addElement(L.backdropEl).fromTo("opacity",.01,Oe),ie(Fe).addAnimation([te,ce])},K=L=>{let q,oe;const he=(0,de.b)(L),te=L.width;L.isEndSide?(q=-te+"px",oe=te+"px"):(q=te+"px",oe=-te+"px");const ce=(0,ae.c)().addElement(L.menuInnerEl).fromTo("transform",`translateX(${oe})`,"translateX(0px)"),re=(0,ae.c)().addElement(L.contentEl).fromTo("transform","translateX(0px)",`translateX(${q})`),Fe=(0,ae.c)().addElement(L.backdropEl).fromTo("opacity",.01,.32);return ie("ios"===he).addAnimation([ce,re,Fe])},Y=L=>{const q=(0,de.b)(L),oe=L.width*(L.isEndSide?-1:1)+"px",he=(0,ae.c)().addElement(L.contentEl).fromTo("transform","translateX(0px)",`translateX(${oe})`);return ie("ios"===q).addAnimation(he)},V=(()=>{const L=new Map,q=[],oe=function(){var $e=(0,i.Z)(function*(Ge){const ct=yield ge(Ge);return!!ct&&ct.open()});return function(ct){return $e.apply(this,arguments)}}(),he=function(){var $e=(0,i.Z)(function*(Ge){const ct=yield void 0!==Ge?ge(Ge):ze();return void 0!==ct&&ct.close()});return function(ct){return $e.apply(this,arguments)}}(),te=function(){var $e=(0,i.Z)(function*(Ge){const ct=yield ge(Ge);return!!ct&&ct.toggle()});return function(ct){return $e.apply(this,arguments)}}(),ce=function(){var $e=(0,i.Z)(function*(Ge,ct){const ot=yield ge(ct);return ot&&(ot.disabled=!Ge),ot});return function(ct,ot){return $e.apply(this,arguments)}}(),re=function(){var $e=(0,i.Z)(function*(Ge,ct){const ot=yield ge(ct);return ot&&(ot.swipeGesture=Ge),ot});return function(ct,ot){return $e.apply(this,arguments)}}(),Fe=function(){var $e=(0,i.Z)(function*(Ge){if(null!=Ge){const ct=yield ge(Ge);return void 0!==ct&&ct.isOpen()}return void 0!==(yield ze())});return function(ct){return $e.apply(this,arguments)}}(),Oe=function(){var $e=(0,i.Z)(function*(Ge){const ct=yield ge(Ge);return!!ct&&!ct.disabled});return function(ct){return $e.apply(this,arguments)}}(),ge=function(){var $e=(0,i.Z)(function*(Ge){return yield et(),"start"===Ge||"end"===Ge?jt(He=>He.side===Ge&&!He.disabled)||jt(He=>He.side===Ge):null!=Ge?jt(ot=>ot.menuId===Ge):jt(ot=>!ot.disabled)||(q.length>0?q[0].el:void 0)});return function(ct){return $e.apply(this,arguments)}}(),ze=function(){var $e=(0,i.Z)(function*(){return yield et(),je()});return function(){return $e.apply(this,arguments)}}(),Je=function(){var $e=(0,i.Z)(function*(){return yield et(),Xe()});return function(){return $e.apply(this,arguments)}}(),Me=function(){var $e=(0,i.Z)(function*(){return yield et(),Ot()});return function(){return $e.apply(this,arguments)}}(),_e=($e,Ge)=>{L.set($e,Ge)},Ue=$e=>{const Ge=$e.side;q.filter(ct=>ct.side===Ge&&ct!==$e).forEach(ct=>ct.disabled=!0)},Ae=function(){var $e=(0,i.Z)(function*(Ge,ct,ot){if(Ot())return!1;if(ct){const He=yield ze();He&&Ge.el!==He&&(yield He.setOpen(!1,!1))}return Ge._setOpen(ct,ot)});return function(ct,ot,He){return $e.apply(this,arguments)}}(),je=()=>jt($e=>$e._isOpen),Xe=()=>q.map($e=>$e.el),Ot=()=>q.some($e=>$e.isAnimating),jt=$e=>{const Ge=q.find($e);if(void 0!==Ge)return Ge.el},et=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map($e=>new Promise(Ge=>(0,me.c)($e,Ge))));return _e("reveal",Y),_e("push",K),_e("overlay",$),"undefined"!=typeof document&&document.addEventListener("ionBackButton",$e=>{const Ge=je();Ge&&$e.detail.register(A.MENU_BACK_BUTTON_PRIORITY,()=>Ge.close())}),{registerAnimation:_e,get:ge,getMenus:Je,getOpen:ze,isEnabled:Oe,swipeGesture:re,isAnimating:Me,isOpen:Fe,enable:ce,toggle:te,close:he,open:oe,_getOpenSync:je,_createAnimation:($e,Ge)=>{const ct=L.get($e);if(!ct)throw new Error("animation not registered");return ct(Ge)},_register:$e=>{q.indexOf($e)<0&&($e.disabled||Ue($e),q.push($e))},_unregister:$e=>{const Ge=q.indexOf($e);Ge>-1&&q.splice(Ge,1)},_setOpen:Ae,_setActiveMenu:Ue}})()},7857:(Ze,Ne,R)=>{"use strict";R.d(Ne,{w:()=>i});const i="undefined"!=typeof window?window:void 0},9509:(Ze,Ne,R)=>{"use strict";R.r(Ne),R.d(Ne,{GESTURE_CONTROLLER:()=>i.G,createGesture:()=>Y});var i=R(1433);const A=(q,oe,he,te)=>{const ce=me(q)?{capture:!!te.capture,passive:!!te.passive}:!!te.capture;let re,Fe;return q.__zone_symbol__addEventListener?(re="__zone_symbol__addEventListener",Fe="__zone_symbol__removeEventListener"):(re="addEventListener",Fe="removeEventListener"),q[re](oe,he,ce),()=>{q[Fe](oe,he,ce)}},me=q=>{if(void 0===de)try{const oe=Object.defineProperty({},"passive",{get:()=>{de=!0}});q.addEventListener("optsTest",()=>{},oe)}catch(oe){de=!1}return!!de};let de;const $=q=>q instanceof Document?q:q.ownerDocument,Y=q=>{let oe=!1,he=!1,te=!0,ce=!1;const re=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},q),Fe=re.canStart,Oe=re.onWillStart,ge=re.onStart,ze=re.onEnd,Je=re.notCaptured,Me=re.onMove,_e=re.threshold,Se=re.passive,Ve=re.blurOnStart,Ue={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},Ae=((q,oe,he)=>{const te=he*(Math.PI/180),ce="x"===q,re=Math.cos(te),Fe=oe*oe;let Oe=0,ge=0,ze=!1,Je=0;return{start(Me,_e){Oe=Me,ge=_e,Je=0,ze=!0},detect(Me,_e){if(!ze)return!1;const Se=Me-Oe,Ve=_e-ge,Ue=Se*Se+Ve*Ve;if(Uere?1:xe<-re?-1:0,ze=!1,!0},isGesture:()=>0!==Je,getDirection:()=>Je}})(re.direction,re.threshold,re.maxAngle),xe=i.G.createGesture({name:q.gestureName,priority:q.gesturePriority,disableScroll:q.disableScroll}),Ot=()=>{!oe||(ce=!1,Me&&Me(Ue))},jt=()=>!!xe.capture()&&(oe=!0,te=!1,Ue.startX=Ue.currentX,Ue.startY=Ue.currentY,Ue.startTime=Ue.currentTime,Oe?Oe(Ue).then($e):$e(),!0),$e=()=>{Ve&&(()=>{if("undefined"!=typeof document){const Ye=document.activeElement;(null==Ye?void 0:Ye.blur)&&Ye.blur()}})(),ge&&ge(Ue),te=!0},Ge=()=>{oe=!1,he=!1,ce=!1,te=!0,xe.release()},ct=Ye=>{const Et=oe,Ct=te;if(Ge(),Ct){if(j(Ue,Ye),Et)return void(ze&&ze(Ue));Je&&Je(Ue)}},ot=((q,oe,he,te,ce)=>{let re,Fe,Oe,ge,ze,Je,Me,_e=0;const Se=et=>{_e=Date.now()+2e3,oe(et)&&(!Fe&&he&&(Fe=A(q,"touchmove",he,ce)),Oe||(Oe=A(et.target,"touchend",Ue,ce)),ge||(ge=A(et.target,"touchcancel",Ue,ce)))},Ve=et=>{_e>Date.now()||!oe(et)||(!Je&&he&&(Je=A($(q),"mousemove",he,ce)),Me||(Me=A($(q),"mouseup",Ae,ce)))},Ue=et=>{xe(),te&&te(et)},Ae=et=>{je(),te&&te(et)},xe=()=>{Fe&&Fe(),Oe&&Oe(),ge&&ge(),Fe=Oe=ge=void 0},je=()=>{Je&&Je(),Me&&Me(),Je=Me=void 0},Xe=()=>{xe(),je()},Ot=(et=!0)=>{et?(re||(re=A(q,"touchstart",Se,ce)),ze||(ze=A(q,"mousedown",Ve,ce))):(re&&re(),ze&&ze(),re=ze=void 0,Xe())};return{enable:Ot,stop:Xe,destroy:()=>{Ot(!1),te=he=oe=void 0}}})(re.el,Ye=>{const Et=L(Ye);return!(he||!te||(V(Ye,Ue),Ue.startX=Ue.currentX,Ue.startY=Ue.currentY,Ue.startTime=Ue.currentTime=Et,Ue.velocityX=Ue.velocityY=Ue.deltaX=Ue.deltaY=0,Ue.event=Ye,Fe&&!1===Fe(Ue))||(xe.release(),!xe.start()))&&(he=!0,0===_e?jt():(Ae.start(Ue.startX,Ue.startY),!0))},Ye=>{oe?!ce&&te&&(ce=!0,j(Ue,Ye),requestAnimationFrame(Ot)):(j(Ue,Ye),Ae.detect(Ue.currentX,Ue.currentY)&&(!Ae.isGesture()||!jt())&&He())},ct,{capture:!1,passive:Se}),He=()=>{Ge(),ot.stop(),Je&&Je(Ue)};return{enable(Ye=!0){Ye||(oe&&ct(void 0),Ge()),ot.enable(Ye)},destroy(){xe.destroy(),ot.destroy()}}},j=(q,oe)=>{if(!oe)return;const he=q.currentX,te=q.currentY,ce=q.currentTime;V(oe,q);const re=q.currentX,Fe=q.currentY,ge=(q.currentTime=L(oe))-ce;if(ge>0&&ge<100){const Je=(Fe-te)/ge;q.velocityX=(re-he)/ge*.7+.3*q.velocityX,q.velocityY=.7*Je+.3*q.velocityY}q.deltaX=re-q.startX,q.deltaY=Fe-q.startY,q.event=oe},V=(q,oe)=>{let he=0,te=0;if(q){const ce=q.changedTouches;if(ce&&ce.length>0){const re=ce[0];he=re.clientX,te=re.clientY}else void 0!==q.pageX&&(he=q.pageX,te=q.pageY)}oe.currentX=he,oe.currentY=te},L=q=>q.timeStamp||Date.now()},1027:(Ze,Ne,R)=>{"use strict";R.d(Ne,{B:()=>ve,H:()=>rn,a:()=>He,b:()=>Wr,c:()=>X,e:()=>Qt,f:()=>$r,g:()=>Ye,h:()=>an,i:()=>Zn,j:()=>ir,k:()=>Lt,p:()=>te,r:()=>Vn,s:()=>oe});var i=R(8239);let me,de,ae,ie=!1,$=!1,K=!1,Y=!1,j=!1;const V="undefined"!=typeof window?window:{},L=V.document||{head:{}},q={$flags$:0,$resourcesUrl$:"",jmp:C=>C(),raf:C=>requestAnimationFrame(C),ael:(C,P,z,H)=>C.addEventListener(P,z,H),rel:(C,P,z,H)=>C.removeEventListener(P,z,H),ce:(C,P)=>new CustomEvent(C,P)},oe=C=>{Object.assign(q,C)},te=C=>Promise.resolve(C),ce=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(C){}return!1})(),re=(C,P,z,H)=>{z&&z.map(([se,B,ne])=>{const ue=Oe(C,se),be=Fe(P,ne),Re=ge(se);q.ael(ue,B,be,Re),(P.$rmListeners$=P.$rmListeners$||[]).push(()=>q.rel(ue,B,be,Re))})},Fe=(C,P)=>z=>{try{256&C.$flags$?C.$lazyInstance$[P](z):(C.$queuedListeners$=C.$queuedListeners$||[]).push([P,z])}catch(H){vt(H)}},Oe=(C,P)=>4&P?L:8&P?V:16&P?L.body:C,ge=C=>0!=(2&C),Se="s-id",Ve="sty-id",xe="http://www.w3.org/1999/xlink",Ot=new WeakMap,jt=(C,P,z)=>{let H=Jt.get(C);ce&&z?(H=H||new CSSStyleSheet,"string"==typeof H?H=P:H.replaceSync(P)):H=P,Jt.set(C,H)},et=(C,P,z,H)=>{let se=Ge(P,z);const B=Jt.get(se);if(C=11===C.nodeType?C:L,B)if("string"==typeof B){let ue,ne=Ot.get(C=C.head||C);ne||Ot.set(C,ne=new Set),ne.has(se)||(C.host&&(ue=C.querySelector(`[${Ve}="${se}"]`))?ue.innerHTML=B:(ue=L.createElement("style"),ue.innerHTML=B,C.insertBefore(ue,C.querySelector("link"))),ne&&ne.add(se))}else C.adoptedStyleSheets.includes(B)||(C.adoptedStyleSheets=[...C.adoptedStyleSheets,B]);return se},Ge=(C,P)=>"sc-"+(P&&32&C.$flags$?C.$tagName$+"-"+P:C.$tagName$),ct=C=>C.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),He=C=>Vt.push(C),Ye=C=>lt(C).$modeName$,Et={},Tt=C=>"object"==(C=typeof C)||"function"===C,an=(C,P,...z)=>{let H=null,se=null,B=null,ne=!1,ue=!1;const be=[],Re=dt=>{for(let wt=0;wtdt[wt]).join(" "))}}if("function"==typeof C)return C(null===P?{}:P,be,Fn);const nt=gn(C,null);return nt.$attrs$=P,be.length>0&&(nt.$children$=be),nt.$key$=se,nt.$name$=B,nt},gn=(C,P)=>({$flags$:0,$tag$:C,$text$:P,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),rn={},Fn={forEach:(C,P)=>C.map(Yt).forEach(P),map:(C,P)=>C.map(Yt).map(P).map(xn)},Yt=C=>({vattrs:C.$attrs$,vchildren:C.$children$,vkey:C.$key$,vname:C.$name$,vtag:C.$tag$,vtext:C.$text$}),xn=C=>{if("function"==typeof C.vtag){const z=Object.assign({},C.vattrs);return C.vkey&&(z.key=C.vkey),C.vname&&(z.name=C.vname),an(C.vtag,z,...C.vchildren||[])}const P=gn(C.vtag,C.vtext);return P.$attrs$=C.vattrs,P.$children$=C.vchildren,P.$key$=C.vkey,P.$name$=C.vname,P},Jn=(C,P,z,H,se,B)=>{if(z!==H){let ne=jn(C,P),ue=P.toLowerCase();if("class"===P){const be=C.classList,Re=Nn(z),nt=Nn(H);be.remove(...Re.filter(dt=>dt&&!nt.includes(dt))),be.add(...nt.filter(dt=>dt&&!Re.includes(dt)))}else if("style"===P){for(const be in z)(!H||null==H[be])&&(be.includes("-")?C.style.removeProperty(be):C.style[be]="");for(const be in H)(!z||H[be]!==z[be])&&(be.includes("-")?C.style.setProperty(be,H[be]):C.style[be]=H[be])}else if("key"!==P)if("ref"===P)H&&H(C);else if(ne||"o"!==P[0]||"n"!==P[1]){const be=Tt(H);if((ne||be&&null!==H)&&!se)try{if(C.tagName.includes("-"))C[P]=H;else{const nt=null==H?"":H;"list"===P?ne=!1:(null==z||C[P]!=nt)&&(C[P]=nt)}}catch(nt){}let Re=!1;ue!==(ue=ue.replace(/^xlink\:?/,""))&&(P=ue,Re=!0),null==H||!1===H?(!1!==H||""===C.getAttribute(P))&&(Re?C.removeAttributeNS(xe,P):C.removeAttribute(P)):(!ne||4&B||se)&&!be&&(H=!0===H?"":H,Re?C.setAttributeNS(xe,P,H):C.setAttribute(P,H))}else P="-"===P[2]?P.slice(3):jn(V,ue)?ue.slice(2):ue[2]+P.slice(3),z&&q.rel(C,P,z,!1),H&&q.ael(C,P,H,!1)}},Un=/\s/,Nn=C=>C?C.split(Un):[],Er=(C,P,z,H)=>{const se=11===P.$elm$.nodeType&&P.$elm$.host?P.$elm$.host:P.$elm$,B=C&&C.$attrs$||Et,ne=P.$attrs$||Et;for(H in B)H in ne||Jn(se,H,B[H],void 0,z,P.$flags$);for(H in ne)Jn(se,H,B[H],ne[H],z,P.$flags$)},Ke=(C,P,z,H)=>{const se=P.$children$[z];let ne,ue,be,B=0;if(ie||(K=!0,"slot"===se.$tag$&&(me&&H.classList.add(me+"-s"),se.$flags$|=se.$children$?2:1)),null!==se.$text$)ne=se.$elm$=L.createTextNode(se.$text$);else if(1&se.$flags$)ne=se.$elm$=L.createTextNode("");else{if(Y||(Y="svg"===se.$tag$),ne=se.$elm$=L.createElementNS(Y?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&se.$flags$?"slot-fb":se.$tag$),Y&&"foreignObject"===se.$tag$&&(Y=!1),Er(null,se,Y),(C=>null!=C)(me)&&ne["s-si"]!==me&&ne.classList.add(ne["s-si"]=me),se.$children$)for(B=0;B{q.$flags$|=1;const z=C.childNodes;for(let H=z.length-1;H>=0;H--){const se=z[H];se["s-hn"]!==ae&&se["s-ol"]&&(gt(se).insertBefore(se,ft(se)),se["s-ol"].remove(),se["s-ol"]=void 0,K=!0),P&&Ce(se,P)}q.$flags$&=-2},we=(C,P,z,H,se,B)=>{let ue,ne=C["s-cr"]&&C["s-cr"].parentNode||C;for(ne.shadowRoot&&ne.tagName===ae&&(ne=ne.shadowRoot);se<=B;++se)H[se]&&(ue=Ke(null,z,se,C),ue&&(H[se].$elm$=ue,ne.insertBefore(ue,ft(P))))},rt=(C,P,z,H,se)=>{for(;P<=z;++P)(H=C[P])&&(se=H.$elm$,en(H),$=!0,se["s-ol"]?se["s-ol"].remove():Ce(se,!0),se.remove())},bt=(C,P)=>C.$tag$===P.$tag$&&("slot"===C.$tag$?C.$name$===P.$name$:C.$key$===P.$key$),ft=C=>C&&C["s-ol"]||C,gt=C=>(C["s-ol"]?C["s-ol"]:C).parentNode,zt=(C,P)=>{const z=P.$elm$=C.$elm$,H=C.$children$,se=P.$children$,B=P.$tag$,ne=P.$text$;let ue;null===ne?(Y="svg"===B||"foreignObject"!==B&&Y,"slot"===B||Er(C,P,Y),null!==H&&null!==se?((C,P,z,H)=>{let mn,sn,se=0,B=0,ne=0,ue=0,be=P.length-1,Re=P[0],nt=P[be],dt=H.length-1,wt=H[0],Dt=H[dt];for(;se<=be&&B<=dt;)if(null==Re)Re=P[++se];else if(null==nt)nt=P[--be];else if(null==wt)wt=H[++B];else if(null==Dt)Dt=H[--dt];else if(bt(Re,wt))zt(Re,wt),Re=P[++se],wt=H[++B];else if(bt(nt,Dt))zt(nt,Dt),nt=P[--be],Dt=H[--dt];else if(bt(Re,Dt))("slot"===Re.$tag$||"slot"===Dt.$tag$)&&Ce(Re.$elm$.parentNode,!1),zt(Re,Dt),C.insertBefore(Re.$elm$,nt.$elm$.nextSibling),Re=P[++se],Dt=H[--dt];else if(bt(nt,wt))("slot"===Re.$tag$||"slot"===Dt.$tag$)&&Ce(nt.$elm$.parentNode,!1),zt(nt,wt),C.insertBefore(nt.$elm$,Re.$elm$),nt=P[--be],wt=H[++B];else{for(ne=-1,ue=se;ue<=be;++ue)if(P[ue]&&null!==P[ue].$key$&&P[ue].$key$===wt.$key$){ne=ue;break}ne>=0?(sn=P[ne],sn.$tag$!==wt.$tag$?mn=Ke(P&&P[B],z,ne,C):(zt(sn,wt),P[ne]=void 0,mn=sn.$elm$),wt=H[++B]):(mn=Ke(P&&P[B],z,B,C),wt=H[++B]),mn&>(Re.$elm$).insertBefore(mn,ft(Re.$elm$))}se>be?we(C,null==H[dt+1]?null:H[dt+1].$elm$,z,H,B,dt):B>dt&&rt(P,se,be)})(z,H,P,se):null!==se?(null!==C.$text$&&(z.textContent=""),we(z,null,P,se,0,se.length-1)):null!==H&&rt(H,0,H.length-1),Y&&"svg"===B&&(Y=!1)):(ue=z["s-cr"])?ue.parentNode.textContent=ne:C.$text$!==ne&&(z.data=ne)},Dn=C=>{const P=C.childNodes;let z,H,se,B,ne,ue;for(H=0,se=P.length;H{let P,z,H,se,B,ne,ue=0;const be=C.childNodes,Re=be.length;for(;ue=0;ne--)z=H[ne],!z["s-cn"]&&!z["s-nr"]&&z["s-hn"]!==P["s-hn"]&&(Rn(z,se)?(B=Zt.find(nt=>nt.$nodeToRelocate$===z),$=!0,z["s-sn"]=z["s-sn"]||se,B?B.$slotRefNode$=P:Zt.push({$slotRefNode$:P,$nodeToRelocate$:z}),z["s-sr"]&&Zt.map(nt=>{Rn(nt.$nodeToRelocate$,z["s-sn"])&&(B=Zt.find(dt=>dt.$nodeToRelocate$===z),B&&!nt.$slotRefNode$&&(nt.$slotRefNode$=B.$slotRefNode$))})):Zt.some(nt=>nt.$nodeToRelocate$===z)||Zt.push({$nodeToRelocate$:z}));1===P.nodeType&&In(P)}},Rn=(C,P)=>1===C.nodeType?null===C.getAttribute("slot")&&""===P||C.getAttribute("slot")===P:C["s-sn"]===P||""===P,en=C=>{C.$attrs$&&C.$attrs$.ref&&C.$attrs$.ref(null),C.$children$&&C.$children$.map(en)},Zn=C=>lt(C).$hostElement$,Qt=(C,P,z)=>{const H=Zn(C);return{emit:se=>wn(H,P,{bubbles:!!(4&z),composed:!!(2&z),cancelable:!!(1&z),detail:se})}},wn=(C,P,z)=>{const H=q.ce(P,z);return C.dispatchEvent(H),H},Bn=(C,P)=>{P&&!C.$onRenderResolve$&&P["s-p"]&&P["s-p"].push(new Promise(z=>C.$onRenderResolve$=z))},hn=(C,P)=>{if(C.$flags$|=16,!(4&C.$flags$))return Bn(C,C.$ancestorComponent$),X(()=>Pr(C,P));C.$flags$|=512},Pr=(C,P)=>{const H=C.$lazyInstance$;let se;return P&&(C.$flags$|=256,C.$queuedListeners$&&(C.$queuedListeners$.map(([B,ne])=>At(H,B,ne)),C.$queuedListeners$=null),se=At(H,"componentWillLoad")),se=dr(se,()=>At(H,"componentWillRender")),dr(se,()=>ao(C,H,P))},ao=function(){var C=(0,i.Z)(function*(P,z,H){const se=P.$hostElement$,ne=se["s-rc"];H&&(C=>{const P=C.$cmpMeta$,z=C.$hostElement$,H=P.$flags$,B=et(z.shadowRoot?z.shadowRoot:z.getRootNode(),P,C.$modeName$);10&H&&(z["s-sc"]=B,z.classList.add(B+"-h"),2&H&&z.classList.add(B+"-s"))})(P);yt(P,z),ne&&(ne.map(be=>be()),se["s-rc"]=void 0);{const be=se["s-p"],Re=()=>on(P);0===be.length?Re():(Promise.all(be).then(Re),P.$flags$|=4,be.length=0)}});return function(z,H,se){return C.apply(this,arguments)}}(),yt=(C,P,z)=>{try{P=P.render&&P.render(),C.$flags$&=-17,C.$flags$|=2,((C,P)=>{const z=C.$hostElement$,H=C.$cmpMeta$,se=C.$vnode$||gn(null,null),B=(C=>C&&C.$tag$===rn)(P)?P:an(null,null,P);if(ae=z.tagName,H.$attrsToReflect$&&(B.$attrs$=B.$attrs$||{},H.$attrsToReflect$.map(([ne,ue])=>B.$attrs$[ue]=z[ne])),B.$tag$=null,B.$flags$|=4,C.$vnode$=B,B.$elm$=se.$elm$=z.shadowRoot||z,me=z["s-sc"],de=z["s-cr"],ie=0!=(1&H.$flags$),$=!1,zt(se,B),q.$flags$|=1,K){In(B.$elm$);let ne,ue,be,Re,nt,dt,wt=0;for(;wt{const z=C.$hostElement$,se=C.$lazyInstance$,B=C.$ancestorComponent$;At(se,"componentDidRender"),64&C.$flags$?At(se,"componentDidUpdate"):(C.$flags$|=64,er(z),At(se,"componentDidLoad"),C.$onReadyResolve$(z),B||gr()),C.$onInstanceResolve$(z),C.$onRenderResolve$&&(C.$onRenderResolve$(),C.$onRenderResolve$=void 0),512&C.$flags$&&Bt(()=>hn(C,!1)),C.$flags$&=-517},ir=C=>{{const P=lt(C),z=P.$hostElement$.isConnected;return z&&2==(18&P.$flags$)&&hn(P,!1),z}},gr=C=>{er(L.documentElement),Bt(()=>wn(V,"appload",{detail:{namespace:"ionic"}}))},At=(C,P,z)=>{if(C&&C[P])try{return C[P](z)}catch(H){vt(H)}},dr=(C,P)=>C&&C.then?C.then(P):P(),er=C=>C.classList.add("hydrated"),rr=(C,P,z,H,se,B,ne)=>{let ue,be,Re,nt;if(1===B.nodeType){for(ue=B.getAttribute("c-id"),ue&&(be=ue.split("."),(be[0]===ne||"0"===be[0])&&(Re={$flags$:0,$hostId$:be[0],$nodeId$:be[1],$depth$:be[2],$index$:be[3],$tag$:B.tagName.toLowerCase(),$elm$:B,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},P.push(Re),B.removeAttribute("c-id"),C.$children$||(C.$children$=[]),C.$children$[Re.$index$]=Re,C=Re,H&&"0"===Re.$depth$&&(H[Re.$index$]=Re.$elm$))),nt=B.childNodes.length-1;nt>=0;nt--)rr(C,P,z,H,se,B.childNodes[nt],ne);if(B.shadowRoot)for(nt=B.shadowRoot.childNodes.length-1;nt>=0;nt--)rr(C,P,z,H,se,B.shadowRoot.childNodes[nt],ne)}else if(8===B.nodeType)be=B.nodeValue.split("."),(be[1]===ne||"0"===be[1])&&(ue=be[0],Re={$flags$:0,$hostId$:be[1],$nodeId$:be[2],$depth$:be[3],$index$:be[4],$elm$:B,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===ue?(Re.$elm$=B.nextSibling,Re.$elm$&&3===Re.$elm$.nodeType&&(Re.$text$=Re.$elm$.textContent,P.push(Re),B.remove(),C.$children$||(C.$children$=[]),C.$children$[Re.$index$]=Re,H&&"0"===Re.$depth$&&(H[Re.$index$]=Re.$elm$))):Re.$hostId$===ne&&("s"===ue?(Re.$tag$="slot",B["s-sn"]=be[5]?Re.$name$=be[5]:"",B["s-sr"]=!0,H&&(Re.$elm$=L.createElement(Re.$tag$),Re.$name$&&Re.$elm$.setAttribute("name",Re.$name$),B.parentNode.insertBefore(Re.$elm$,B),B.remove(),"0"===Re.$depth$&&(H[Re.$index$]=Re.$elm$)),z.push(Re),C.$children$||(C.$children$=[]),C.$children$[Re.$index$]=Re):"r"===ue&&(H?B.remove():(se["s-cr"]=B,B["s-cn"]=!0))));else if(C&&"style"===C.$tag$){const dt=gn(null,B.textContent);dt.$elm$=B,dt.$index$="0",C.$children$=[dt]}},mr=(C,P)=>{if(1===C.nodeType){let z=0;for(;z{if(P.$members$){C.watchers&&(P.$watchers$=C.watchers);const H=Object.entries(P.$members$),se=C.prototype;if(H.map(([B,[ne]])=>{31&ne||2&z&&32&ne?Object.defineProperty(se,B,{get(){return((C,P)=>lt(this).$instanceValues$.get(P))(0,B)},set(ue){((C,P,z,H)=>{const se=lt(C),B=se.$hostElement$,ne=se.$instanceValues$.get(P),ue=se.$flags$,be=se.$lazyInstance$;z=((C,P)=>null==C||Tt(C)?C:4&P?"false"!==C&&(""===C||!!C):2&P?parseFloat(C):1&P?String(C):C)(z,H.$members$[P][0]);const Re=Number.isNaN(ne)&&Number.isNaN(z);if((!(8&ue)||void 0===ne)&&z!==ne&&!Re&&(se.$instanceValues$.set(P,z),be)){if(H.$watchers$&&128&ue){const dt=H.$watchers$[P];dt&&dt.map(wt=>{try{be[wt](z,ne,P)}catch(Dt){vt(Dt,B)}})}2==(18&ue)&&hn(se,!1)}})(this,B,ue,P)},configurable:!0,enumerable:!0}):1&z&&64&ne&&Object.defineProperty(se,B,{value(...ue){const be=lt(this);return be.$onInstancePromise$.then(()=>be.$lazyInstance$[B](...ue))}})}),1&z){const B=new Map;se.attributeChangedCallback=function(ne,ue,be){q.jmp(()=>{const Re=B.get(ne);if(this.hasOwnProperty(Re))be=this[Re],delete this[Re];else if(se.hasOwnProperty(Re)&&"number"==typeof this[Re]&&this[Re]==be)return;this[Re]=(null!==be||"boolean"!=typeof this[Re])&&be})},C.observedAttributes=H.filter(([ne,ue])=>15&ue[0]).map(([ne,ue])=>{const be=ue[1]||ne;return B.set(be,ne),512&ue[0]&&P.$attrsToReflect$.push([ne,be]),be})}}return C},sr=function(){var C=(0,i.Z)(function*(P,z,H,se,B){if(0==(32&z.$flags$)){{if(z.$flags$|=32,(B=Ht(H)).then){const Re=()=>{};B=yield B,Re()}B.isProxied||(H.$watchers$=B.watchers,Hn(B,H,2),B.isProxied=!0);const be=()=>{};z.$flags$|=8;try{new B(z)}catch(Re){vt(Re)}z.$flags$&=-9,z.$flags$|=128,be(),br(z.$lazyInstance$)}if(B.style){let be=B.style;"string"!=typeof be&&(be=be[z.$modeName$=(C=>Vt.map(P=>P(C)).find(P=>!!P))(P)]);const Re=Ge(H,z.$modeName$);if(!Jt.has(Re)){const nt=()=>{};jt(Re,be,!!(1&H.$flags$)),nt()}}}const ne=z.$ancestorComponent$,ue=()=>hn(z,!0);ne&&ne["s-rc"]?ne["s-rc"].push(ue):ue()});return function(z,H,se,B,ne){return C.apply(this,arguments)}}(),br=C=>{At(C,"connectedCallback")},Tn=C=>{const P=C["s-cr"]=L.createComment("");P["s-cn"]=!0,C.insertBefore(P,C.firstChild)},Wr=(C,P={})=>{const H=[],se=P.exclude||[],B=V.customElements,ne=L.head,ue=ne.querySelector("meta[charset]"),be=L.createElement("style"),Re=[],nt=L.querySelectorAll(`[${Ve}]`);let dt,wt=!0,Dt=0;for(Object.assign(q,P),q.$resourcesUrl$=new URL(P.resourcesUrl||"./",L.baseURI).href,q.$flags$|=2;Dt{mn[1].map(sn=>{const An={$flags$:sn[0],$tagName$:sn[1],$members$:sn[2],$listeners$:sn[3]};An.$members$=sn[2],An.$listeners$=sn[3],An.$attrsToReflect$=[],An.$watchers$={};const yr=An.$tagName$,Hr=class extends HTMLElement{constructor(Yn){super(Yn),Dr(Yn=this,An),1&An.$flags$&&Yn.attachShadow({mode:"open",delegatesFocus:!!(16&An.$flags$)})}connectedCallback(){dt&&(clearTimeout(dt),dt=null),wt?Re.push(this):q.jmp(()=>(C=>{if(0==(1&q.$flags$)){const P=lt(C),z=P.$cmpMeta$,H=()=>{};if(1&P.$flags$)re(C,P,z.$listeners$),br(P.$lazyInstance$);else{let se;if(P.$flags$|=1,se=C.getAttribute(Se),se){if(1&z.$flags$){const B=et(C.shadowRoot,z,C.getAttribute("s-mode"));C.classList.remove(B+"-h",B+"-s")}((C,P,z,H)=>{const B=C.shadowRoot,ne=[],be=B?[]:null,Re=H.$vnode$=gn(P,null);q.$orgLocNodes$||mr(L.body,q.$orgLocNodes$=new Map),C[Se]=z,C.removeAttribute(Se),rr(Re,ne,[],be,C,C,z),ne.map(nt=>{const dt=nt.$hostId$+"."+nt.$nodeId$,wt=q.$orgLocNodes$.get(dt),Dt=nt.$elm$;wt&&""===wt["s-en"]&&wt.parentNode.insertBefore(Dt,wt.nextSibling),B||(Dt["s-hn"]=P,wt&&(Dt["s-ol"]=wt,Dt["s-ol"]["s-nr"]=Dt)),q.$orgLocNodes$.delete(dt)}),B&&be.map(nt=>{nt&&B.appendChild(nt)})})(C,z.$tagName$,se,P)}se||12&z.$flags$&&Tn(C);{let B=C;for(;B=B.parentNode||B.host;)if(1===B.nodeType&&B.hasAttribute("s-id")&&B["s-p"]||B["s-p"]){Bn(P,P.$ancestorComponent$=B);break}}z.$members$&&Object.entries(z.$members$).map(([B,[ne]])=>{if(31&ne&&C.hasOwnProperty(B)){const ue=C[B];delete C[B],C[B]=ue}}),Bt(()=>sr(C,P,z))}H()}})(this))}disconnectedCallback(){q.jmp(()=>(C=>{if(0==(1&q.$flags$)){const P=lt(this),z=P.$lazyInstance$;P.$rmListeners$&&(P.$rmListeners$.map(H=>H()),P.$rmListeners$=void 0),At(z,"disconnectedCallback")}})())}componentOnReady(){return lt(this).$onReadyPromise$}};An.$lazyBundleId$=mn[0],!se.includes(yr)&&!B.get(yr)&&(H.push(yr),B.define(yr,Hn(Hr,An,1)))})}),be.innerHTML=H+"{visibility:hidden}.hydrated{visibility:inherit}",be.setAttribute("data-styles",""),ne.insertBefore(be,ue?ue.nextSibling:ne.firstChild),wt=!1,Re.length?Re.map(mn=>mn.connectedCallback()):q.jmp(()=>dt=setTimeout(gr,30))},Lt=C=>{const P=new URL(C,q.$resourcesUrl$);return P.origin!==V.location.origin?P.href:P.pathname},Gn=new WeakMap,lt=C=>Gn.get(C),Vn=(C,P)=>Gn.set(P.$lazyInstance$=C,P),Dr=(C,P)=>{const z={$flags$:0,$hostElement$:C,$cmpMeta$:P,$instanceValues$:new Map};return z.$onInstancePromise$=new Promise(H=>z.$onInstanceResolve$=H),z.$onReadyPromise$=new Promise(H=>z.$onReadyResolve$=H),C["s-p"]=[],C["s-rc"]=[],re(C,z,P.$listeners$),Gn.set(C,z)},jn=(C,P)=>P in C,vt=(C,P)=>(0,console.error)(C,P),Ut=new Map,Ht=(C,P,z)=>{const H=C.$tagName$.replace(/-/g,"_"),se=C.$lazyBundleId$,B=Ut.get(se);return B?B[H]:R(863)(`./${se}.entry.js`).then(ne=>(Ut.set(se,ne),ne[H]),vt)},Jt=new Map,Vt=[],Sn=[],zn=[],bn=(C,P)=>z=>{C.push(z),j||(j=!0,P&&4&q.$flags$?Bt(qn):q.raf(qn))},Fr=C=>{for(let P=0;P{Fr(Sn),Fr(zn),(j=Sn.length>0)&&q.raf(qn)},Bt=C=>te().then(C),$r=bn(Sn,!1),X=bn(zn,!0),ve={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1}},6894:(Ze,Ne,R)=>{"use strict";R.d(Ne,{a:()=>V,b:()=>Ot,c:()=>me,g:()=>j,i:()=>jt});var i=R(1027);class A{constructor(){this.m=new Map}reset($e){this.m=new Map(Object.entries($e))}get($e,Ge){const ct=this.m.get($e);return void 0!==ct?ct:Ge}getBoolean($e,Ge=!1){const ct=this.m.get($e);return void 0===ct?Ge:"string"==typeof ct?"true"===ct:!!ct}getNumber($e,Ge){const ct=parseFloat(this.m.get($e));return isNaN(ct)?void 0!==Ge?Ge:NaN:ct}set($e,Ge){this.m.set($e,Ge)}}const me=new A,K="ionic:",Y="ionic-persist-config",j=et=>L(et),V=(et,$e)=>("string"==typeof et&&($e=et,et=void 0),j(et).includes($e)),L=(et=window)=>{if(void 0===et)return[];et.Ionic=et.Ionic||{};let $e=et.Ionic.platforms;return null==$e&&($e=et.Ionic.platforms=q(et),$e.forEach(Ge=>et.document.documentElement.classList.add(`plt-${Ge}`))),$e},q=et=>{const $e=me.get("platform");return Object.keys(je).filter(Ge=>{const ct=null==$e?void 0:$e[Ge];return"function"==typeof ct?ct(et):je[Ge](et)})},he=et=>!!(Ae(et,/iPad/i)||Ae(et,/Macintosh/i)&&ze(et)),re=et=>Ae(et,/android|sink/i),ze=et=>xe(et,"(any-pointer:coarse)"),Me=et=>_e(et)||Se(et),_e=et=>!!(et.cordova||et.phonegap||et.PhoneGap),Se=et=>{const $e=et.Capacitor;return!!(null==$e?void 0:$e.isNative)},Ae=(et,$e)=>$e.test(et.navigator.userAgent),xe=(et,$e)=>{var Ge;return null===(Ge=et.matchMedia)||void 0===Ge?void 0:Ge.call(et,$e).matches},je={ipad:he,iphone:et=>Ae(et,/iPhone/i),ios:et=>Ae(et,/iPhone|iPod/i)||he(et),android:re,phablet:et=>{const $e=et.innerWidth,Ge=et.innerHeight,ct=Math.min($e,Ge),ot=Math.max($e,Ge);return ct>390&&ct<520&&ot>620&&ot<800},tablet:et=>{const $e=et.innerWidth,Ge=et.innerHeight,ct=Math.min($e,Ge),ot=Math.max($e,Ge);return he(et)||(et=>re(et)&&!Ae(et,/mobile/i))(et)||ct>460&&ct<820&&ot>780&&ot<1400},cordova:_e,capacitor:Se,electron:et=>Ae(et,/electron/i),pwa:et=>{var $e;return!(!(null===($e=et.matchMedia)||void 0===$e?void 0:$e.call(et,"(display-mode: standalone)").matches)&&!et.navigator.standalone)},mobile:ze,mobileweb:et=>ze(et)&&!Me(et),desktop:et=>!ze(et),hybrid:Me};let Xe;const Ot=et=>et&&(0,i.g)(et)||Xe,jt=(et={})=>{if("undefined"==typeof window)return;const $e=window.document,Ge=window,ct=Ge.Ionic=Ge.Ionic||{},ot={};et._ael&&(ot.ael=et._ael),et._rel&&(ot.rel=et._rel),et._ce&&(ot.ce=et._ce),(0,i.s)(ot);const He=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(et=>{try{const $e=et.sessionStorage.getItem(Y);return null!==$e?JSON.parse($e):{}}catch($e){return{}}})(Ge)),{persistConfig:!1}),ct.config),(et=>{const $e={};return et.location.search.slice(1).split("&").map(Ge=>Ge.split("=")).map(([Ge,ct])=>[decodeURIComponent(Ge),decodeURIComponent(ct)]).filter(([Ge])=>((et,$e)=>et.substr(0,$e.length)===$e)(Ge,K)).map(([Ge,ct])=>[Ge.slice(K.length),ct]).forEach(([Ge,ct])=>{$e[Ge]=ct}),$e})(Ge)),et);me.reset(He),me.getBoolean("persistConfig")&&((et,$e)=>{try{et.sessionStorage.setItem(Y,JSON.stringify($e))}catch(Ge){return}})(Ge,He),L(Ge),ct.config=me,ct.mode=Xe=me.get("mode",$e.documentElement.getAttribute("mode")||(V(Ge,"ios")?"ios":"md")),me.set("mode",Xe),$e.documentElement.setAttribute("mode",Xe),$e.documentElement.classList.add(Xe),me.getBoolean("_testing")&&me.set("animated",!1);const Ye=Ct=>{var ht;return null===(ht=Ct.tagName)||void 0===ht?void 0:ht.startsWith("ION-")},Et=Ct=>["ios","md"].includes(Ct);(0,i.a)(Ct=>{for(;Ct;){const ht=Ct.mode||Ct.getAttribute("mode");if(ht){if(Et(ht))return ht;Ye(Ct)&&console.warn('Invalid ionic mode: "'+ht+'", expected: "ios" or "md"')}Ct=Ct.parentElement}return Xe})}},2816:(Ze,Ne,R)=>{"use strict";R.r(Ne),R.d(Ne,{iosTransitionAnimation:()=>q,shadow:()=>$});var i=R(1527),A=R(6387);R(7857),R(1027);const ie=oe=>document.querySelector(`${oe}.ion-cloned-element`),$=oe=>oe.shadowRoot||oe,K=oe=>{const he="ION-TABS"===oe.tagName?oe:oe.querySelector("ion-tabs"),te="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=he){const ce=he.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=ce?ce.querySelector(te):null}return oe.querySelector(te)},Y=(oe,he)=>{const te="ION-TABS"===oe.tagName?oe:oe.querySelector("ion-tabs");let ce=[];if(null!=te){const re=te.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=re&&(ce=re.querySelectorAll("ion-buttons"))}else ce=oe.querySelectorAll("ion-buttons");for(const re of ce){const Fe=re.closest("ion-header"),Oe=Fe&&!Fe.classList.contains("header-collapse-condense-inactive"),ge=re.querySelector("ion-back-button"),ze=re.classList.contains("buttons-collapse"),Je="start"===re.slot||""===re.slot;if(null!==ge&&Je&&(ze&&Oe&&he||!ze))return ge}return null},V=(oe,he,te,ce,re,Fe)=>{const Oe=he?`calc(100% - ${Fe.right+4}px)`:Fe.left-4+"px",ge=he?"7px":"-7px",ze=he?"-4px":"4px",Je=he?"-4px":"4px",Me=he?"right":"left",_e=he?"left":"right",Ue=te?[{offset:0,opacity:1,transform:`translate3d(${ze}, ${Fe.top-46}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${ge}, ${re.top-40}px, 0) scale(2.1)`}]:[{offset:0,opacity:0,transform:`translate3d(${ge}, ${re.top-40}px, 0) scale(2.1)`},{offset:1,opacity:1,transform:`translate3d(${ze}, ${Fe.top-46}px, 0) scale(1)`}],je=te?[{offset:0,opacity:1,transform:`translate3d(${Je}, ${Fe.top-46}px, 0) scale(1)`},{offset:.2,opacity:0,transform:`translate3d(${Je}, ${Fe.top-41}px, 0) scale(0.6)`},{offset:1,opacity:0,transform:`translate3d(${Je}, ${Fe.top-41}px, 0) scale(0.6)`}]:[{offset:0,opacity:0,transform:`translate3d(${Je}, ${Fe.top-41}px, 0) scale(0.6)`},{offset:1,opacity:1,transform:`translate3d(${Je}, ${Fe.top-46}px, 0) scale(1)`}],Xe=(0,i.c)(),Ot=(0,i.c)(),jt=ie("ion-back-button"),et=$(jt).querySelector(".button-text"),$e=$(jt).querySelector("ion-icon");jt.text=ce.text,jt.mode=ce.mode,jt.icon=ce.icon,jt.color=ce.color,jt.disabled=ce.disabled,jt.style.setProperty("display","block"),jt.style.setProperty("position","fixed"),Ot.addElement($e),Xe.addElement(et),Xe.beforeStyles({"transform-origin":`${Me} center`}).beforeAddWrite(()=>{ce.style.setProperty("display","none"),jt.style.setProperty(Me,Oe)}).afterAddWrite(()=>{ce.style.setProperty("display",""),jt.style.setProperty("display","none"),jt.style.removeProperty(Me)}).keyframes(Ue),Ot.beforeStyles({"transform-origin":`${_e} center`}).keyframes(je),oe.addAnimation([Xe,Ot])},L=(oe,he,te,ce,re,Fe)=>{const Oe=he?`calc(100% - ${re.right}px)`:`${re.left}px`,ge=he?"-18px":"18px",ze=he?"right":"left",_e=te?[{offset:0,opacity:0,transform:`translate3d(${ge}, ${Fe.top-4}px, 0) scale(0.49)`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0, ${re.top-2}px, 0) scale(1)`}]:[{offset:0,opacity:.99,transform:`translate3d(0, ${re.top-2}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${ge}, ${Fe.top-4}px, 0) scale(0.5)`}],Se=ie("ion-title"),Ve=(0,i.c)();Se.innerText=ce.innerText,Se.size=ce.size,Se.color=ce.color,Ve.addElement(Se),Ve.beforeStyles({"transform-origin":`${ze} center`,height:"46px",display:"",position:"relative",[ze]:Oe}).beforeAddWrite(()=>{ce.style.setProperty("display","none")}).afterAddWrite(()=>{ce.style.setProperty("display",""),Se.style.setProperty("display","none")}).keyframes(_e),oe.addAnimation(Ve)},q=(oe,he)=>{var te;try{const ce="cubic-bezier(0.32,0.72,0,1)",re="opacity",Fe="transform",Oe="0%",ge=.8,ze="rtl"===oe.ownerDocument.dir,Je=ze?"-99.5%":"99.5%",Me=ze?"33%":"-33%",_e=he.enteringEl,Se=he.leavingEl,Ve="back"===he.direction,Ue=_e.querySelector(":scope > ion-content"),Ae=_e.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),xe=_e.querySelectorAll(":scope > ion-header > ion-toolbar"),je=(0,i.c)(),Xe=(0,i.c)();if(je.addElement(_e).duration((null!==(te=he.duration)&&void 0!==te?te:0)||540).easing(he.easing||ce).fill("both").beforeRemoveClass("ion-page-invisible"),Se&&null!=oe){const $e=(0,i.c)();$e.addElement(oe),je.addAnimation($e)}if(Ue||0!==xe.length||0!==Ae.length?(Xe.addElement(Ue),Xe.addElement(Ae)):Xe.addElement(_e.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),je.addAnimation(Xe),Ve?Xe.beforeClearStyles([re]).fromTo("transform",`translateX(${Me})`,`translateX(${Oe})`).fromTo(re,ge,1):Xe.beforeClearStyles([re]).fromTo("transform",`translateX(${Je})`,`translateX(${Oe})`),Ue){const $e=$(Ue).querySelector(".transition-effect");if($e){const Ge=$e.querySelector(".transition-cover"),ct=$e.querySelector(".transition-shadow"),ot=(0,i.c)(),He=(0,i.c)(),Ye=(0,i.c)();ot.addElement($e).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),He.addElement(Ge).beforeClearStyles([re]).fromTo(re,0,.1),Ye.addElement(ct).beforeClearStyles([re]).fromTo(re,.03,.7),ot.addAnimation([He,Ye]),Xe.addAnimation([ot])}}const Ot=_e.querySelector("ion-header.header-collapse-condense"),{forward:jt,backward:et}=((oe,he,te,ce,re)=>{const Fe=Y(ce,te),Oe=K(re),ge=K(ce),ze=Y(re,te),Je=null!==Fe&&null!==Oe&&!te,Me=null!==ge&&null!==ze&&te;if(Je){const _e=Oe.getBoundingClientRect(),Se=Fe.getBoundingClientRect();L(oe,he,te,Oe,_e,Se),V(oe,he,te,Fe,_e,Se)}else if(Me){const _e=ge.getBoundingClientRect(),Se=ze.getBoundingClientRect();L(oe,he,te,ge,_e,Se),V(oe,he,te,ze,_e,Se)}return{forward:Je,backward:Me}})(je,ze,Ve,_e,Se);if(xe.forEach($e=>{const Ge=(0,i.c)();Ge.addElement($e),je.addAnimation(Ge);const ct=(0,i.c)();ct.addElement($e.querySelector("ion-title"));const ot=(0,i.c)(),He=Array.from($e.querySelectorAll("ion-buttons,[menuToggle]")),Ye=$e.closest("ion-header"),Et=null==Ye?void 0:Ye.classList.contains("header-collapse-condense-inactive");let Ct;Ct=He.filter(Ve?gn=>{const rn=gn.classList.contains("buttons-collapse");return rn&&!Et||!rn}:gn=>!gn.classList.contains("buttons-collapse")),ot.addElement(Ct);const ht=(0,i.c)();ht.addElement($e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const xt=(0,i.c)();xt.addElement($($e).querySelector(".toolbar-background"));const Tt=(0,i.c)(),an=$e.querySelector("ion-back-button");if(an&&Tt.addElement(an),Ge.addAnimation([ct,ot,ht,xt,Tt]),ot.fromTo(re,.01,1),ht.fromTo(re,.01,1),Ve)Et||ct.fromTo("transform",`translateX(${Me})`,`translateX(${Oe})`).fromTo(re,.01,1),ht.fromTo("transform",`translateX(${Me})`,`translateX(${Oe})`),Tt.fromTo(re,.01,1);else if(Ot||ct.fromTo("transform",`translateX(${Je})`,`translateX(${Oe})`).fromTo(re,.01,1),ht.fromTo("transform",`translateX(${Je})`,`translateX(${Oe})`),xt.beforeClearStyles([re,"transform"]),(null==Ye?void 0:Ye.translucent)?xt.fromTo("transform",ze?"translateX(-100%)":"translateX(100%)","translateX(0px)"):xt.fromTo(re,.01,"var(--opacity)"),jt||Tt.fromTo(re,.01,1),an&&!jt){const rn=(0,i.c)();rn.addElement($(an).querySelector(".button-text")).fromTo("transform",ze?"translateX(-100px)":"translateX(100px)","translateX(0px)"),Ge.addAnimation(rn)}}),Se){const $e=(0,i.c)(),Ge=Se.querySelector(":scope > ion-content"),ct=Se.querySelectorAll(":scope > ion-header > ion-toolbar"),ot=Se.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(Ge||0!==ct.length||0!==ot.length?($e.addElement(Ge),$e.addElement(ot)):$e.addElement(Se.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),je.addAnimation($e),Ve){$e.beforeClearStyles([re]).fromTo("transform",`translateX(${Oe})`,ze?"translateX(-100%)":"translateX(100%)");const He=(0,A.g)(Se);je.afterAddWrite(()=>{"normal"===je.getDirection()&&He.style.setProperty("display","none")})}else $e.fromTo("transform",`translateX(${Oe})`,`translateX(${Me})`).fromTo(re,1,ge);if(Ge){const He=$(Ge).querySelector(".transition-effect");if(He){const Ye=He.querySelector(".transition-cover"),Et=He.querySelector(".transition-shadow"),Ct=(0,i.c)(),ht=(0,i.c)(),xt=(0,i.c)();Ct.addElement(He).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),ht.addElement(Ye).beforeClearStyles([re]).fromTo(re,.1,0),xt.addElement(Et).beforeClearStyles([re]).fromTo(re,.7,.03),Ct.addAnimation([ht,xt]),$e.addAnimation([Ct])}}ct.forEach(He=>{const Ye=(0,i.c)();Ye.addElement(He);const Et=(0,i.c)();Et.addElement(He.querySelector("ion-title"));const Ct=(0,i.c)(),ht=He.querySelectorAll("ion-buttons,[menuToggle]"),xt=He.closest("ion-header"),Tt=null==xt?void 0:xt.classList.contains("header-collapse-condense-inactive"),an=Array.from(ht).filter(xn=>{const Jn=xn.classList.contains("buttons-collapse");return Jn&&!Tt||!Jn});Ct.addElement(an);const gn=(0,i.c)(),rn=He.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");rn.length>0&&gn.addElement(rn);const kt=(0,i.c)();kt.addElement($(He).querySelector(".toolbar-background"));const Fn=(0,i.c)(),Yt=He.querySelector("ion-back-button");if(Yt&&Fn.addElement(Yt),Ye.addAnimation([Et,Ct,gn,Fn,kt]),je.addAnimation(Ye),Fn.fromTo(re,.99,0),Ct.fromTo(re,.99,0),gn.fromTo(re,.99,0),Ve){if(Tt||Et.fromTo("transform",`translateX(${Oe})`,ze?"translateX(-100%)":"translateX(100%)").fromTo(re,.99,0),gn.fromTo("transform",`translateX(${Oe})`,ze?"translateX(-100%)":"translateX(100%)"),kt.beforeClearStyles([re,"transform"]),(null==xt?void 0:xt.translucent)?kt.fromTo("transform","translateX(0px)",ze?"translateX(-100%)":"translateX(100%)"):kt.fromTo(re,"var(--opacity)",0),Yt&&!et){const Jn=(0,i.c)();Jn.addElement($(Yt).querySelector(".button-text")).fromTo("transform",`translateX(${Oe})`,`translateX(${(ze?-124:124)+"px"})`),Ye.addAnimation(Jn)}}else Tt||Et.fromTo("transform",`translateX(${Oe})`,`translateX(${Me})`).fromTo(re,.99,0).afterClearStyles([Fe,re]),gn.fromTo("transform",`translateX(${Oe})`,`translateX(${Me})`).afterClearStyles([Fe,re]),Fn.afterClearStyles([re]),Et.afterClearStyles([re]),Ct.afterClearStyles([re])})}return je}catch(ce){throw ce}}},5323:(Ze,Ne,R)=>{"use strict";R.r(Ne),R.d(Ne,{mdTransitionAnimation:()=>ae});var i=R(1527),A=R(6387);R(7857),R(1027);const ae=(ie,$)=>{var K,Y,j;const q="back"===$.direction,he=$.leavingEl,te=(0,A.g)($.enteringEl),ce=te.querySelector("ion-toolbar"),re=(0,i.c)();if(re.addElement(te).fill("both").beforeRemoveClass("ion-page-invisible"),q?re.duration((null!==(K=$.duration)&&void 0!==K?K:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):re.duration((null!==(Y=$.duration)&&void 0!==Y?Y:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(40px)","translateY(0px)").fromTo("opacity",.01,1),ce){const Fe=(0,i.c)();Fe.addElement(ce),re.addAnimation(Fe)}if(he&&q){re.duration((null!==(j=$.duration)&&void 0!==j?j:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const Fe=(0,i.c)();Fe.addElement((0,A.g)(he)).onFinish(Oe=>{1===Oe&&Fe.elements.length>0&&Fe.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)","translateY(40px)").fromTo("opacity",1,0),re.addAnimation(Fe)}return re}},1963:(Ze,Ne,R)=>{"use strict";R.d(Ne,{B:()=>Ge,G:()=>ct,a:()=>K,b:()=>Y,c:()=>q,d:()=>Ve,e:()=>he,f:()=>Ae,g:()=>Xe,h:()=>ie,i:()=>jt,j:()=>re,k:()=>_e,m:()=>V,s:()=>$e,t:()=>oe});var i=R(8239),A=R(6894),me=R(8657),de=R(1572);let ae=0;const ie=new WeakMap,$=ot=>({create:He=>te(ot,He),dismiss:(He,Ye,Et)=>Je(document,He,Ye,ot,Et),getTop:()=>(0,i.Z)(function*(){return _e(document,ot)})()}),K=$("ion-alert"),Y=$("ion-action-sheet"),V=$("ion-modal"),q=$("ion-popover"),oe=$("ion-toast"),he=ot=>{"undefined"!=typeof document&&ze(document);const He=ae++;ot.overlayIndex=He,ot.hasAttribute("id")||(ot.id=`ion-overlay-${He}`)},te=(ot,He)=>"undefined"!=typeof window&&void 0!==window.customElements?window.customElements.whenDefined(ot).then(()=>{const Ye=document.createElement(ot);return Ye.classList.add("overlay-hidden"),Object.assign(Ye,Object.assign(Object.assign({},He),{hasController:!0})),xe(document).appendChild(Ye),new Promise(Et=>(0,de.c)(Ye,Et))}):Promise.resolve(),ce='[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])',re=(ot,He)=>{let Ye=ot.querySelector(ce);const Et=null==Ye?void 0:Ye.shadowRoot;Et&&(Ye=Et.querySelector(ce)||Ye),Ye?(0,de.f)(Ye):He.focus()},Oe=(ot,He)=>{const Ye=Array.from(ot.querySelectorAll(ce));let Et=Ye.length>0?Ye[Ye.length-1]:null;const Ct=null==Et?void 0:Et.shadowRoot;Ct&&(Et=Ct.querySelector(ce)||Et),Et?Et.focus():He.focus()},ze=ot=>{0===ae&&(ae=1,ot.addEventListener("focus",He=>{((ot,He)=>{const Ye=_e(He,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),Et=ot.target;Ye&&Et&&!Ye.classList.contains("ion-disable-focus-trap")&&(Ye.shadowRoot?(()=>{if(Ye.contains(Et))Ye.lastFocus=Et;else{const xt=Ye.lastFocus;re(Ye,Ye),xt===He.activeElement&&Oe(Ye,Ye),Ye.lastFocus=He.activeElement}})():(()=>{if(Ye===Et)Ye.lastFocus=void 0;else{const xt=(0,de.g)(Ye);if(!xt.contains(Et))return;const Tt=xt.querySelector(".ion-overlay-wrapper");if(!Tt)return;if(Tt.contains(Et))Ye.lastFocus=Et;else{const an=Ye.lastFocus;re(Tt,Ye),an===He.activeElement&&Oe(Tt,Ye),Ye.lastFocus=He.activeElement}}})())})(He,ot)},!0),ot.addEventListener("ionBackButton",He=>{const Ye=_e(ot);(null==Ye?void 0:Ye.backdropDismiss)&&He.detail.register(me.OVERLAY_BACK_BUTTON_PRIORITY,()=>Ye.dismiss(void 0,Ge))}),ot.addEventListener("keyup",He=>{if("Escape"===He.key){const Ye=_e(ot);(null==Ye?void 0:Ye.backdropDismiss)&&Ye.dismiss(void 0,Ge)}}))},Je=(ot,He,Ye,Et,Ct)=>{const ht=_e(ot,Et,Ct);return ht?ht.dismiss(He,Ye):Promise.reject("overlay does not exist")},_e=(ot,He,Ye)=>{const Et=((ot,He)=>(void 0===He&&(He="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(ot.querySelectorAll(He)).filter(Ye=>Ye.overlayIndex>0)))(ot,He).filter(Ct=>!(ot=>ot.classList.contains("overlay-hidden"))(Ct));return void 0===Ye?Et[Et.length-1]:Et.find(Ct=>Ct.id===Ye)},Se=(ot=!1)=>{const Ye=xe(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");!Ye||(ot?Ye.setAttribute("aria-hidden","true"):Ye.removeAttribute("aria-hidden"))},Ve=function(){var ot=(0,i.Z)(function*(He,Ye,Et,Ct,ht){var xt,Tt;if(He.presented)return;Se(!0),He.presented=!0,He.willPresent.emit(),null===(xt=He.willPresentShorthand)||void 0===xt||xt.emit();const an=(0,A.b)(He),gn=He.enterAnimation?He.enterAnimation:A.c.get(Ye,"ios"===an?Et:Ct);(yield je(He,gn,He.el,ht))&&(He.didPresent.emit(),null===(Tt=He.didPresentShorthand)||void 0===Tt||Tt.emit()),"ION-TOAST"!==He.el.tagName&&Ue(He.el),He.keyboardClose&&(null===document.activeElement||!He.el.contains(document.activeElement))&&He.el.focus()});return function(Ye,Et,Ct,ht,xt){return ot.apply(this,arguments)}}(),Ue=function(){var ot=(0,i.Z)(function*(He){let Ye=document.activeElement;if(!Ye)return;const Et=null==Ye?void 0:Ye.shadowRoot;Et&&(Ye=Et.querySelector(ce)||Ye),yield He.onDidDismiss(),Ye.focus()});return function(Ye){return ot.apply(this,arguments)}}(),Ae=function(){var ot=(0,i.Z)(function*(He,Ye,Et,Ct,ht,xt,Tt){var an,gn;if(!He.presented)return!1;Se(!1),He.presented=!1;try{He.el.style.setProperty("pointer-events","none"),He.willDismiss.emit({data:Ye,role:Et}),null===(an=He.willDismissShorthand)||void 0===an||an.emit({data:Ye,role:Et});const rn=(0,A.b)(He),kt=He.leaveAnimation?He.leaveAnimation:A.c.get(Ct,"ios"===rn?ht:xt);Et!==ct&&(yield je(He,kt,He.el,Tt)),He.didDismiss.emit({data:Ye,role:Et}),null===(gn=He.didDismissShorthand)||void 0===gn||gn.emit({data:Ye,role:Et}),ie.delete(He),He.el.classList.add("overlay-hidden"),He.el.style.removeProperty("pointer-events"),void 0!==He.el.lastFocus&&(He.el.lastFocus=void 0)}catch(rn){console.error(rn)}return He.el.remove(),!0});return function(Ye,Et,Ct,ht,xt,Tt,an){return ot.apply(this,arguments)}}(),xe=ot=>ot.querySelector("ion-app")||ot.body,je=function(){var ot=(0,i.Z)(function*(He,Ye,Et,Ct){Et.classList.remove("overlay-hidden");const xt=Ye(He.el,Ct);(!He.animated||!A.c.getBoolean("animated",!0))&&xt.duration(0),He.keyboardClose&&xt.beforeAddWrite(()=>{const an=Et.ownerDocument.activeElement;(null==an?void 0:an.matches("input,ion-input, ion-textarea"))&&an.blur()});const Tt=ie.get(He)||[];return ie.set(He,[...Tt,xt]),yield xt.play(),!0});return function(Ye,Et,Ct,ht){return ot.apply(this,arguments)}}(),Xe=(ot,He)=>{let Ye;const Et=new Promise(Ct=>Ye=Ct);return Ot(ot,He,Ct=>{Ye(Ct.detail)}),Et},Ot=(ot,He,Ye)=>{const Et=Ct=>{(0,de.b)(ot,He,Et),Ye(Ct)};(0,de.a)(ot,He,Et)},jt=ot=>"cancel"===ot||ot===Ge,et=ot=>ot(),$e=(ot,He)=>{if("function"==typeof ot)return A.c.get("_zoneGate",et)(()=>{try{return ot(He)}catch(Et){throw Et}})},Ge="backdrop",ct="gesture"},1628:(Ze,Ne,R)=>{"use strict";R.d(Ne,{K:()=>ie});var i=R(8239),A=R(2430),me=R.n(A);const de={SecureStorage:"ionicSecureStorage",IndexedDB:me().INDEXEDDB,LocalStorage:me().LOCALSTORAGE},ae={name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:[de.SecureStorage,de.IndexedDB,de.LocalStorage]};class ie{constructor(K=ae){this._db=null,this._secureStorageDriver=null;const Y=Object.assign({},ae,K||{});this._config=Y}create(){var K=this;return(0,i.Z)(function*(){const Y=me().createInstance(K._config);return K._db=Y,yield Y.setDriver(K._config.driverOrder||[]),K})()}defineDriver(K){var Y=this;return(0,i.Z)(function*(){return K._driver===de.SecureStorage&&(Y._secureStorageDriver=K),me().defineDriver(K)})()}get driver(){var K;return(null===(K=this._db)||void 0===K?void 0:K.driver())||null}assertDb(){if(!this._db)throw new Error("Database not created. Must call create() first");return this._db}get(K){return this.assertDb().getItem(K)}set(K,Y){return this.assertDb().setItem(K,Y)}remove(K){return this.assertDb().removeItem(K)}clear(){return this.assertDb().clear()}length(){return this.assertDb().length()}keys(){return this.assertDb().keys()}forEach(K){return this.assertDb().iterate(K)}setEncryptionKey(K){var Y;if(!this._secureStorageDriver)throw new Error("@ionic-enterprise/secure-storage not installed. Encryption support not available");null===(Y=this._secureStorageDriver)||void 0===Y||Y.setEncryptionKey(K)}}},8686:(Ze,Ne,R)=>{Ze.exports=R(5454)},4054:(Ze,Ne,R)=>{"use strict";var i=R(9471),A=R(5650),me=R(300),de=R(7790),ae=R(4634),ie=R(1929),$=R(2984),K=R(5886),Y=R(2567),j=R(8728);Ze.exports=function(L){return new Promise(function(oe,he){var Fe,te=L.data,ce=L.headers,re=L.responseType;function Oe(){L.cancelToken&&L.cancelToken.unsubscribe(Fe),L.signal&&L.signal.removeEventListener("abort",Fe)}i.isFormData(te)&&delete ce["Content-Type"];var ge=new XMLHttpRequest;if(L.auth){var ze=L.auth.username||"",Je=L.auth.password?unescape(encodeURIComponent(L.auth.password)):"";ce.Authorization="Basic "+btoa(ze+":"+Je)}var Me=ae(L.baseURL,L.url);function _e(){if(ge){var Ve="getAllResponseHeaders"in ge?ie(ge.getAllResponseHeaders()):null;A(function(je){oe(je),Oe()},function(je){he(je),Oe()},{data:re&&"text"!==re&&"json"!==re?ge.response:ge.responseText,status:ge.status,statusText:ge.statusText,headers:Ve,config:L,request:ge}),ge=null}}if(ge.open(L.method.toUpperCase(),de(Me,L.params,L.paramsSerializer),!0),ge.timeout=L.timeout,"onloadend"in ge?ge.onloadend=_e:ge.onreadystatechange=function(){!ge||4!==ge.readyState||0===ge.status&&(!ge.responseURL||0!==ge.responseURL.indexOf("file:"))||setTimeout(_e)},ge.onabort=function(){!ge||(he(K("Request aborted",L,"ECONNABORTED",ge)),ge=null)},ge.onerror=function(){he(K("Network Error",L,null,ge)),ge=null},ge.ontimeout=function(){var Ue="timeout of "+L.timeout+"ms exceeded";L.timeoutErrorMessage&&(Ue=L.timeoutErrorMessage),he(K(Ue,L,(L.transitional||Y.transitional).clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",ge)),ge=null},i.isStandardBrowserEnv()){var Se=(L.withCredentials||$(Me))&&L.xsrfCookieName?me.read(L.xsrfCookieName):void 0;Se&&(ce[L.xsrfHeaderName]=Se)}"setRequestHeader"in ge&&i.forEach(ce,function(Ue,Ae){void 0===te&&"content-type"===Ae.toLowerCase()?delete ce[Ae]:ge.setRequestHeader(Ae,Ue)}),i.isUndefined(L.withCredentials)||(ge.withCredentials=!!L.withCredentials),re&&"json"!==re&&(ge.responseType=L.responseType),"function"==typeof L.onDownloadProgress&&ge.addEventListener("progress",L.onDownloadProgress),"function"==typeof L.onUploadProgress&&ge.upload&&ge.upload.addEventListener("progress",L.onUploadProgress),(L.cancelToken||L.signal)&&(Fe=function(Ve){!ge||(he(!Ve||Ve&&Ve.type?new j("canceled"):Ve),ge.abort(),ge=null)},L.cancelToken&&L.cancelToken.subscribe(Fe),L.signal&&(L.signal.aborted?Fe():L.signal.addEventListener("abort",Fe))),te||(te=null),ge.send(te)})}},5454:(Ze,Ne,R)=>{"use strict";var i=R(9471),A=R(1533),me=R(3227),de=R(4018),$=function ie(K){var Y=new me(K),j=A(me.prototype.request,Y);return i.extend(j,me.prototype,Y),i.extend(j,Y),j.create=function(L){return ie(de(K,L))},j}(R(2567));$.Axios=me,$.Cancel=R(8728),$.CancelToken=R(701),$.isCancel=R(2130),$.VERSION=R(5370).version,$.all=function(Y){return Promise.all(Y)},$.spread=R(8908),$.isAxiosError=R(9541),Ze.exports=$,Ze.exports.default=$},8728:Ze=>{"use strict";function Ne(R){this.message=R}Ne.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},Ne.prototype.__CANCEL__=!0,Ze.exports=Ne},701:(Ze,Ne,R)=>{"use strict";var i=R(8728);function A(me){if("function"!=typeof me)throw new TypeError("executor must be a function.");var de;this.promise=new Promise(function($){de=$});var ae=this;this.promise.then(function(ie){if(ae._listeners){var $,K=ae._listeners.length;for($=0;${"use strict";Ze.exports=function(R){return!(!R||!R.__CANCEL__)}},3227:(Ze,Ne,R)=>{"use strict";var i=R(9471),A=R(7790),me=R(3976),de=R(6764),ae=R(4018),ie=R(3558),$=ie.validators;function K(Y){this.defaults=Y,this.interceptors={request:new me,response:new me}}K.prototype.request=function(j){"string"==typeof j?(j=arguments[1]||{}).url=arguments[0]:j=j||{},(j=ae(this.defaults,j)).method=j.method?j.method.toLowerCase():this.defaults.method?this.defaults.method.toLowerCase():"get";var V=j.transitional;void 0!==V&&ie.assertOptions(V,{silentJSONParsing:$.transitional($.boolean),forcedJSONParsing:$.transitional($.boolean),clarifyTimeoutError:$.transitional($.boolean)},!1);var L=[],q=!0;this.interceptors.request.forEach(function(ge){"function"==typeof ge.runWhen&&!1===ge.runWhen(j)||(q=q&&ge.synchronous,L.unshift(ge.fulfilled,ge.rejected))});var he,oe=[];if(this.interceptors.response.forEach(function(ge){oe.push(ge.fulfilled,ge.rejected)}),!q){var te=[de,void 0];for(Array.prototype.unshift.apply(te,L),te=te.concat(oe),he=Promise.resolve(j);te.length;)he=he.then(te.shift(),te.shift());return he}for(var ce=j;L.length;){var re=L.shift(),Fe=L.shift();try{ce=re(ce)}catch(Oe){Fe(Oe);break}}try{he=de(ce)}catch(Oe){return Promise.reject(Oe)}for(;oe.length;)he=he.then(oe.shift(),oe.shift());return he},K.prototype.getUri=function(j){return j=ae(this.defaults,j),A(j.url,j.params,j.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],function(j){K.prototype[j]=function(V,L){return this.request(ae(L||{},{method:j,url:V,data:(L||{}).data}))}}),i.forEach(["post","put","patch"],function(j){K.prototype[j]=function(V,L,q){return this.request(ae(q||{},{method:j,url:V,data:L}))}}),Ze.exports=K},3976:(Ze,Ne,R)=>{"use strict";var i=R(9471);function A(){this.handlers=[]}A.prototype.use=function(de,ae,ie){return this.handlers.push({fulfilled:de,rejected:ae,synchronous:!!ie&&ie.synchronous,runWhen:ie?ie.runWhen:null}),this.handlers.length-1},A.prototype.eject=function(de){this.handlers[de]&&(this.handlers[de]=null)},A.prototype.forEach=function(de){i.forEach(this.handlers,function(ie){null!==ie&&de(ie)})},Ze.exports=A},4634:(Ze,Ne,R)=>{"use strict";var i=R(5164),A=R(1540);Ze.exports=function(de,ae){return de&&!i(ae)?A(de,ae):ae}},5886:(Ze,Ne,R)=>{"use strict";var i=R(9570);Ze.exports=function(me,de,ae,ie,$){var K=new Error(me);return i(K,de,ae,ie,$)}},6764:(Ze,Ne,R)=>{"use strict";var i=R(9471),A=R(4284),me=R(2130),de=R(2567),ae=R(8728);function ie($){if($.cancelToken&&$.cancelToken.throwIfRequested(),$.signal&&$.signal.aborted)throw new ae("canceled")}Ze.exports=function(K){return ie(K),K.headers=K.headers||{},K.data=A.call(K,K.data,K.headers,K.transformRequest),K.headers=i.merge(K.headers.common||{},K.headers[K.method]||{},K.headers),i.forEach(["delete","get","head","post","put","patch","common"],function(V){delete K.headers[V]}),(K.adapter||de.adapter)(K).then(function(V){return ie(K),V.data=A.call(K,V.data,V.headers,K.transformResponse),V},function(V){return me(V)||(ie(K),V&&V.response&&(V.response.data=A.call(K,V.response.data,V.response.headers,K.transformResponse))),Promise.reject(V)})}},9570:Ze=>{"use strict";Ze.exports=function(R,i,A,me,de){return R.config=i,A&&(R.code=A),R.request=me,R.response=de,R.isAxiosError=!0,R.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},R}},4018:(Ze,Ne,R)=>{"use strict";var i=R(9471);Ze.exports=function(me,de){de=de||{};var ae={};function ie(L,q){return i.isPlainObject(L)&&i.isPlainObject(q)?i.merge(L,q):i.isPlainObject(q)?i.merge({},q):i.isArray(q)?q.slice():q}function $(L){return i.isUndefined(de[L])?i.isUndefined(me[L])?void 0:ie(void 0,me[L]):ie(me[L],de[L])}function K(L){if(!i.isUndefined(de[L]))return ie(void 0,de[L])}function Y(L){return i.isUndefined(de[L])?i.isUndefined(me[L])?void 0:ie(void 0,me[L]):ie(void 0,de[L])}function j(L){return L in de?ie(me[L],de[L]):L in me?ie(void 0,me[L]):void 0}var V={url:K,method:K,data:K,baseURL:Y,transformRequest:Y,transformResponse:Y,paramsSerializer:Y,timeout:Y,timeoutMessage:Y,withCredentials:Y,adapter:Y,responseType:Y,xsrfCookieName:Y,xsrfHeaderName:Y,onUploadProgress:Y,onDownloadProgress:Y,decompress:Y,maxContentLength:Y,maxBodyLength:Y,transport:Y,httpAgent:Y,httpsAgent:Y,cancelToken:Y,socketPath:Y,responseEncoding:Y,validateStatus:j};return i.forEach(Object.keys(me).concat(Object.keys(de)),function(q){var oe=V[q]||$,he=oe(q);i.isUndefined(he)&&oe!==j||(ae[q]=he)}),ae}},5650:(Ze,Ne,R)=>{"use strict";var i=R(5886);Ze.exports=function(me,de,ae){var ie=ae.config.validateStatus;ae.status&&ie&&!ie(ae.status)?de(i("Request failed with status code "+ae.status,ae.config,null,ae.request,ae)):me(ae)}},4284:(Ze,Ne,R)=>{"use strict";var i=R(9471),A=R(2567);Ze.exports=function(de,ae,ie){var $=this||A;return i.forEach(ie,function(Y){de=Y.call($,de,ae)}),de}},2567:(Ze,Ne,R)=>{"use strict";var i=R(9471),A=R(2196),me=R(9570),de={"Content-Type":"application/x-www-form-urlencoded"};function ae(Y,j){!i.isUndefined(Y)&&i.isUndefined(Y["Content-Type"])&&(Y["Content-Type"]=j)}var Y,K={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(Y=R(4054)),Y),transformRequest:[function(j,V){return A(V,"Accept"),A(V,"Content-Type"),i.isFormData(j)||i.isArrayBuffer(j)||i.isBuffer(j)||i.isStream(j)||i.isFile(j)||i.isBlob(j)?j:i.isArrayBufferView(j)?j.buffer:i.isURLSearchParams(j)?(ae(V,"application/x-www-form-urlencoded;charset=utf-8"),j.toString()):i.isObject(j)||V&&"application/json"===V["Content-Type"]?(ae(V,"application/json"),function(Y,j,V){if(i.isString(Y))try{return(0,JSON.parse)(Y),i.trim(Y)}catch(L){if("SyntaxError"!==L.name)throw L}return(0,JSON.stringify)(Y)}(j)):j}],transformResponse:[function(j){var V=this.transitional||K.transitional,oe=!(V&&V.silentJSONParsing)&&"json"===this.responseType;if(oe||V&&V.forcedJSONParsing&&i.isString(j)&&j.length)try{return JSON.parse(j)}catch(he){if(oe)throw"SyntaxError"===he.name?me(he,this,"E_JSON_PARSE"):he}return j}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(j){return j>=200&&j<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],function(j){K.headers[j]={}}),i.forEach(["post","put","patch"],function(j){K.headers[j]=i.merge(de)}),Ze.exports=K},5370:Ze=>{Ze.exports={version:"0.22.0"}},1533:Ze=>{"use strict";Ze.exports=function(R,i){return function(){for(var me=new Array(arguments.length),de=0;de{"use strict";var i=R(9471);function A(me){return encodeURIComponent(me).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}Ze.exports=function(de,ae,ie){if(!ae)return de;var $;if(ie)$=ie(ae);else if(i.isURLSearchParams(ae))$=ae.toString();else{var K=[];i.forEach(ae,function(V,L){null==V||(i.isArray(V)?L+="[]":V=[V],i.forEach(V,function(oe){i.isDate(oe)?oe=oe.toISOString():i.isObject(oe)&&(oe=JSON.stringify(oe)),K.push(A(L)+"="+A(oe))}))}),$=K.join("&")}if($){var Y=de.indexOf("#");-1!==Y&&(de=de.slice(0,Y)),de+=(-1===de.indexOf("?")?"?":"&")+$}return de}},1540:Ze=>{"use strict";Ze.exports=function(R,i){return i?R.replace(/\/+$/,"")+"/"+i.replace(/^\/+/,""):R}},300:(Ze,Ne,R)=>{"use strict";var i=R(9471);Ze.exports=i.isStandardBrowserEnv()?{write:function(de,ae,ie,$,K,Y){var j=[];j.push(de+"="+encodeURIComponent(ae)),i.isNumber(ie)&&j.push("expires="+new Date(ie).toGMTString()),i.isString($)&&j.push("path="+$),i.isString(K)&&j.push("domain="+K),!0===Y&&j.push("secure"),document.cookie=j.join("; ")},read:function(de){var ae=document.cookie.match(new RegExp("(^|;\\s*)("+de+")=([^;]*)"));return ae?decodeURIComponent(ae[3]):null},remove:function(de){this.write(de,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},5164:Ze=>{"use strict";Ze.exports=function(R){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(R)}},9541:Ze=>{"use strict";Ze.exports=function(R){return"object"==typeof R&&!0===R.isAxiosError}},2984:(Ze,Ne,R)=>{"use strict";var i=R(9471);Ze.exports=i.isStandardBrowserEnv()?function(){var ae,me=/(msie|trident)/i.test(navigator.userAgent),de=document.createElement("a");function ie($){var K=$;return me&&(de.setAttribute("href",K),K=de.href),de.setAttribute("href",K),{href:de.href,protocol:de.protocol?de.protocol.replace(/:$/,""):"",host:de.host,search:de.search?de.search.replace(/^\?/,""):"",hash:de.hash?de.hash.replace(/^#/,""):"",hostname:de.hostname,port:de.port,pathname:"/"===de.pathname.charAt(0)?de.pathname:"/"+de.pathname}}return ae=ie(window.location.href),function(K){var Y=i.isString(K)?ie(K):K;return Y.protocol===ae.protocol&&Y.host===ae.host}}():function(){return!0}},2196:(Ze,Ne,R)=>{"use strict";var i=R(9471);Ze.exports=function(me,de){i.forEach(me,function(ie,$){$!==de&&$.toUpperCase()===de.toUpperCase()&&(me[de]=ie,delete me[$])})}},1929:(Ze,Ne,R)=>{"use strict";var i=R(9471),A=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];Ze.exports=function(de){var ie,$,K,ae={};return de&&i.forEach(de.split("\n"),function(j){if(K=j.indexOf(":"),ie=i.trim(j.substr(0,K)).toLowerCase(),$=i.trim(j.substr(K+1)),ie){if(ae[ie]&&A.indexOf(ie)>=0)return;ae[ie]="set-cookie"===ie?(ae[ie]?ae[ie]:[]).concat([$]):ae[ie]?ae[ie]+", "+$:$}}),ae}},8908:Ze=>{"use strict";Ze.exports=function(R){return function(A){return R.apply(null,A)}}},3558:(Ze,Ne,R)=>{"use strict";var i=R(5370).version,A={};["object","boolean","number","function","string","symbol"].forEach(function(ae,ie){A[ae]=function(K){return typeof K===ae||"a"+(ie<1?"n ":" ")+ae}});var me={};A.transitional=function(ie,$,K){function Y(j,V){return"[Axios v"+i+"] Transitional option '"+j+"'"+V+(K?". "+K:"")}return function(j,V,L){if(!1===ie)throw new Error(Y(V," has been removed"+($?" in "+$:"")));return $&&!me[V]&&(me[V]=!0,console.warn(Y(V," has been deprecated since v"+$+" and will be removed in the near future"))),!ie||ie(j,V,L)}},Ze.exports={assertOptions:function(ae,ie,$){if("object"!=typeof ae)throw new TypeError("options must be an object");for(var K=Object.keys(ae),Y=K.length;Y-- >0;){var j=K[Y],V=ie[j];if(V){var L=ae[j],q=void 0===L||V(L,j,ae);if(!0!==q)throw new TypeError("option "+j+" must be "+q)}else if(!0!==$)throw Error("Unknown option "+j)}},validators:A}},9471:(Ze,Ne,R)=>{"use strict";var i=R(1533),A=Object.prototype.toString;function me(_e){return"[object Array]"===A.call(_e)}function de(_e){return void 0===_e}function V(_e){return null!==_e&&"object"==typeof _e}function L(_e){if("[object Object]"!==A.call(_e))return!1;var Se=Object.getPrototypeOf(_e);return null===Se||Se===Object.prototype}function te(_e){return"[object Function]"===A.call(_e)}function ge(_e,Se){if(null!=_e)if("object"!=typeof _e&&(_e=[_e]),me(_e))for(var Ve=0,Ue=_e.length;Ve{Ze.exports=function A(me,de,ae){function ie(Y,j){if(!de[Y]){if(!me[Y]){if($)return $(Y,!0);var L=new Error("Cannot find module '"+Y+"'");throw L.code="MODULE_NOT_FOUND",L}var q=de[Y]={exports:{}};me[Y][0].call(q.exports,function(oe){return ie(me[Y][1][oe]||oe)},q,q.exports,A,me,de,ae)}return de[Y].exports}for(var $=void 0,K=0;K=43)}}).catch(function(){return!1})}(X).then(function(ve){return ce=ve})}function _e(X){var ve=re[X.name],C={};C.promise=new V(function(P,z){C.resolve=P,C.reject=z}),ve.deferredOperations.push(C),ve.dbReady=ve.dbReady?ve.dbReady.then(function(){return C.promise}):C.promise}function Se(X){var C=re[X.name].deferredOperations.pop();if(C)return C.resolve(),C.promise}function Ve(X,ve){var P=re[X.name].deferredOperations.pop();if(P)return P.reject(ve),P.promise}function Ue(X,ve){return new V(function(C,P){if(re[X.name]=re[X.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},X.db){if(!ve)return C(X.db);_e(X),X.db.close()}var z=[X.name];ve&&z.push(X.version);var H=K.open.apply(K,z);ve&&(H.onupgradeneeded=function(se){var B=H.result;try{B.createObjectStore(X.storeName),se.oldVersion<=1&&B.createObjectStore(te)}catch(ne){if("ConstraintError"!==ne.name)throw ne;console.warn('The database "'+X.name+'" has been upgraded from version '+se.oldVersion+" to version "+se.newVersion+', but the storage "'+X.storeName+'" already exists.')}}),H.onerror=function(se){se.preventDefault(),P(H.error)},H.onsuccess=function(){var se=H.result;se.onversionchange=function(B){B.target.close()},C(se),Se(X)}})}function Ae(X){return Ue(X,!1)}function xe(X){return Ue(X,!0)}function je(X,ve){if(!X.db)return!0;var C=!X.db.objectStoreNames.contains(X.storeName),z=X.version>X.db.version;if(X.versionX.version&&(X.version=H)}return!0}return!1}function Ot(X){return j([ze(atob(X.data))],{type:X.type})}function jt(X){return X&&X.__local_forage_encoded_blob}function et(X){var ve=this,C=ve._initReady().then(function(){var P=re[ve._dbInfo.name];if(P&&P.dbReady)return P.dbReady});return q(C,X,X),C}function Ge(X,ve,C,P){void 0===P&&(P=1);try{var z=X.db.transaction(X.storeName,ve);C(null,z)}catch(H){if(P>0&&(!X.db||"InvalidStateError"===H.name||"NotFoundError"===H.name))return V.resolve().then(function(){if(!X.db||"NotFoundError"===H.name&&!X.db.objectStoreNames.contains(X.storeName)&&X.version<=X.db.version)return X.db&&(X.version=X.db.version+1),xe(X)}).then(function(){return function(X){_e(X);for(var ve=re[X.name],C=ve.forages,P=0;P>4,be[z++]=(15&se)<<4|B>>2,be[z++]=(3&B)<<6|63≠return ue}function Rn(X){var P,ve=new Uint8Array(X),C="";for(P=0;P>2],C+=Fn[(3&ve[P])<<4|ve[P+1]>>4],C+=Fn[(15&ve[P+1])<<2|ve[P+2]>>6],C+=Fn[63&ve[P+2]];return ve.length%3==2?C=C.substring(0,C.length-1)+"=":ve.length%3==1&&(C=C.substring(0,C.length-2)+"=="),C}var Zn={serialize:function(X,ve){var C="";if(X&&(C=Zt.call(X)),X&&("[object ArrayBuffer]"===C||X.buffer&&"[object ArrayBuffer]"===Zt.call(X.buffer))){var P,z=Jn;X instanceof ArrayBuffer?(P=X,z+=Nn):(P=X.buffer,"[object Int8Array]"===C?z+="si08":"[object Uint8Array]"===C?z+="ui08":"[object Uint8ClampedArray]"===C?z+="uic8":"[object Int16Array]"===C?z+="si16":"[object Uint16Array]"===C?z+="ur16":"[object Int32Array]"===C?z+="si32":"[object Uint32Array]"===C?z+="ui32":"[object Float32Array]"===C?z+="fl32":"[object Float64Array]"===C?z+="fl64":ve(new Error("Failed to get type for BinaryArray"))),ve(z+Rn(P))}else if("[object Blob]"===C){var H=new FileReader;H.onload=function(){var se="~~local_forage_type~"+X.type+"~"+Rn(this.result);ve(Jn+Er+se)},H.readAsArrayBuffer(X)}else try{ve(JSON.stringify(X))}catch(se){console.error("Couldn't convert value into a JSON string: ",X),ve(null,se)}},deserialize:function(X){if(X.substring(0,Un)!==Jn)return JSON.parse(X);var P,ve=X.substring(Dn),C=X.substring(Un,Dn);if(C===Er&&xn.test(ve)){var z=ve.match(xn);P=z[1],ve=ve.substring(z[0].length)}var H=In(ve);switch(C){case Nn:return H;case Er:return j([H],{type:P});case"si08":return new Int8Array(H);case"ui08":return new Uint8Array(H);case"uic8":return new Uint8ClampedArray(H);case"si16":return new Int16Array(H);case"ur16":return new Uint16Array(H);case"si32":return new Int32Array(H);case"ui32":return new Uint32Array(H);case"fl32":return new Float32Array(H);case"fl64":return new Float64Array(H);default:throw new Error("Unkown type: "+C)}},stringToBuffer:In,bufferToString:Rn};function Qt(X,ve,C,P){X.executeSql("CREATE TABLE IF NOT EXISTS "+ve.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],C,P)}function Bn(X,ve,C,P,z,H){X.executeSql(C,P,z,function(se,B){B.code===B.SYNTAX_ERR?se.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[ve.storeName],function(ne,ue){ue.rows.length?H(ne,B):Qt(ne,ve,function(){ne.executeSql(C,P,z,H)},H)},H):H(se,B)},H)}function ao(X,ve,C,P){var z=this;X=oe(X);var H=new V(function(se,B){z.ready().then(function(){void 0===ve&&(ve=null);var ne=ve,ue=z._dbInfo;ue.serializer.serialize(ve,function(be,Re){Re?B(Re):ue.db.transaction(function(nt){Bn(nt,ue,"INSERT OR REPLACE INTO "+ue.storeName+" (key, value) VALUES (?, ?)",[X,be],function(){se(ne)},function(dt,wt){B(wt)})},function(nt){if(nt.code===nt.QUOTA_ERR){if(P>0)return void se(ao.apply(z,[X,ne,C,P-1]));B(nt)}})})}).catch(B)});return L(H,C),H}function er(X){return new V(function(ve,C){X.transaction(function(P){P.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(z,H){for(var se=[],B=0;B0}var Vn={_driver:"localStorageWrapper",_initStorage:function(X){var C={};if(X)for(var P in X)C[P]=X[P];return C.keyPrefix=Mr(X,this._defaultConfig),Kn()?(this._dbInfo=C,C.serializer=Zn,V.resolve()):V.reject()},_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(X){return!1}}(),iterate:function(X,ve){var C=this,P=C.ready().then(function(){for(var z=C._dbInfo,H=z.keyPrefix,se=H.length,B=localStorage.length,ne=1,ue=0;ue=0;z--){var H=localStorage.key(z);0===H.indexOf(P)&&localStorage.removeItem(H)}});return L(C,X),C},length:function(X){var C=this.keys().then(function(P){return P.length});return L(C,X),C},key:function(X,ve){var C=this,P=C.ready().then(function(){var H,z=C._dbInfo;try{H=localStorage.key(X)}catch(se){H=null}return H&&(H=H.substring(z.keyPrefix.length)),H});return L(P,ve),P},keys:function(X){var ve=this,C=ve.ready().then(function(){for(var P=ve._dbInfo,z=localStorage.length,H=[],se=0;se=0;se--){var B=localStorage.key(se);0===B.indexOf(H)&&localStorage.removeItem(B)}}):V.reject("Invalid arguments"),ve),z}},Dr=function(ve,C){return ve===C||"number"==typeof ve&&"number"==typeof C&&isNaN(ve)&&isNaN(C)},jn=function(ve,C){for(var P=ve.length,z=0;z{"use strict";R.d(Ne,{X:()=>me});var i=R(7709),A=R(7971);class me extends i.xQ{constructor(ae){super(),this._value=ae}get value(){return this.getValue()}_subscribe(ae){const ie=super._subscribe(ae);return ie&&!ie.closed&&ae.next(this._value),ie}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new A.N;return this._value}next(ae){super.next(this._value=ae)}}},7574:(Ze,Ne,R)=>{"use strict";R.d(Ne,{y:()=>V});var i=R(7393),me=R(9181),de=R(6490),ie=R(6554),$=R(4487);var j=R(2494);let V=(()=>{class q{constructor(he){this._isScalar=!1,he&&(this._subscribe=he)}lift(he){const te=new q;return te.source=this,te.operator=he,te}subscribe(he,te,ce){const{operator:re}=this,Fe=function(q,oe,he){if(q){if(q instanceof i.L)return q;if(q[me.b])return q[me.b]()}return q||oe||he?new i.L(q,oe,he):new i.L(de.c)}(he,te,ce);if(Fe.add(re?re.call(Fe,this.source):this.source||j.v.useDeprecatedSynchronousErrorHandling&&!Fe.syncErrorThrowable?this._subscribe(Fe):this._trySubscribe(Fe)),j.v.useDeprecatedSynchronousErrorHandling&&Fe.syncErrorThrowable&&(Fe.syncErrorThrowable=!1,Fe.syncErrorThrown))throw Fe.syncErrorValue;return Fe}_trySubscribe(he){try{return this._subscribe(he)}catch(te){j.v.useDeprecatedSynchronousErrorHandling&&(he.syncErrorThrown=!0,he.syncErrorValue=te),function(q){for(;q;){const{closed:oe,destination:he,isStopped:te}=q;if(oe||te)return!1;q=he&&he instanceof i.L?he:null}return!0}(he)?he.error(te):console.warn(te)}}forEach(he,te){return new(te=L(te))((ce,re)=>{let Fe;Fe=this.subscribe(Oe=>{try{he(Oe)}catch(ge){re(ge),Fe&&Fe.unsubscribe()}},re,ce)})}_subscribe(he){const{source:te}=this;return te&&te.subscribe(he)}[ie.L](){return this}pipe(...he){return 0===he.length?this:function(q){return 0===q.length?$.y:1===q.length?q[0]:function(he){return q.reduce((te,ce)=>ce(te),he)}}(he)(this)}toPromise(he){return new(he=L(he))((te,ce)=>{let re;this.subscribe(Fe=>re=Fe,Fe=>ce(Fe),()=>te(re))})}}return q.create=oe=>new q(oe),q})();function L(q){if(q||(q=j.v.Promise||Promise),!q)throw new Error("no Promise impl found");return q}},6490:(Ze,Ne,R)=>{"use strict";R.d(Ne,{c:()=>me});var i=R(2494),A=R(4449);const me={closed:!0,next(de){},error(de){if(i.v.useDeprecatedSynchronousErrorHandling)throw de;(0,A.z)(de)},complete(){}}},7709:(Ze,Ne,R)=>{"use strict";R.d(Ne,{xQ:()=>K,Yc:()=>$});var i=R(7574),A=R(7393),me=R(5319),de=R(7971);class ae extends me.w{constructor(V,L){super(),this.subject=V,this.subscriber=L,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const V=this.subject,L=V.observers;if(this.subject=null,!L||0===L.length||V.isStopped||V.closed)return;const q=L.indexOf(this.subscriber);-1!==q&&L.splice(q,1)}}var ie=R(9181);class $ extends A.L{constructor(V){super(V),this.destination=V}}let K=(()=>{class j extends i.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[ie.b](){return new $(this)}lift(L){const q=new Y(this,this);return q.operator=L,q}next(L){if(this.closed)throw new de.N;if(!this.isStopped){const{observers:q}=this,oe=q.length,he=q.slice();for(let te=0;tenew Y(V,L),j})();class Y extends K{constructor(V,L){super(),this.destination=V,this.source=L}next(V){const{destination:L}=this;L&&L.next&&L.next(V)}error(V){const{destination:L}=this;L&&L.error&&this.destination.error(V)}complete(){const{destination:V}=this;V&&V.complete&&this.destination.complete()}_subscribe(V){const{source:L}=this;return L?this.source.subscribe(V):me.w.EMPTY}}},7393:(Ze,Ne,R)=>{"use strict";R.d(Ne,{L:()=>$});var i=R(9105),A=R(6490),me=R(5319),de=R(9181),ae=R(2494),ie=R(4449);class $ extends me.w{constructor(j,V,L){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=A.c;break;case 1:if(!j){this.destination=A.c;break}if("object"==typeof j){j instanceof $?(this.syncErrorThrowable=j.syncErrorThrowable,this.destination=j,j.add(this)):(this.syncErrorThrowable=!0,this.destination=new K(this,j));break}default:this.syncErrorThrowable=!0,this.destination=new K(this,j,V,L)}}[de.b](){return this}static create(j,V,L){const q=new $(j,V,L);return q.syncErrorThrowable=!1,q}next(j){this.isStopped||this._next(j)}error(j){this.isStopped||(this.isStopped=!0,this._error(j))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(j){this.destination.next(j)}_error(j){this.destination.error(j),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:j}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=j,this}}class K extends ${constructor(j,V,L,q){super(),this._parentSubscriber=j;let oe,he=this;(0,i.m)(V)?oe=V:V&&(oe=V.next,L=V.error,q=V.complete,V!==A.c&&(he=Object.create(V),(0,i.m)(he.unsubscribe)&&this.add(he.unsubscribe.bind(he)),he.unsubscribe=this.unsubscribe.bind(this))),this._context=he,this._next=oe,this._error=L,this._complete=q}next(j){if(!this.isStopped&&this._next){const{_parentSubscriber:V}=this;ae.v.useDeprecatedSynchronousErrorHandling&&V.syncErrorThrowable?this.__tryOrSetError(V,this._next,j)&&this.unsubscribe():this.__tryOrUnsub(this._next,j)}}error(j){if(!this.isStopped){const{_parentSubscriber:V}=this,{useDeprecatedSynchronousErrorHandling:L}=ae.v;if(this._error)L&&V.syncErrorThrowable?(this.__tryOrSetError(V,this._error,j),this.unsubscribe()):(this.__tryOrUnsub(this._error,j),this.unsubscribe());else if(V.syncErrorThrowable)L?(V.syncErrorValue=j,V.syncErrorThrown=!0):(0,ie.z)(j),this.unsubscribe();else{if(this.unsubscribe(),L)throw j;(0,ie.z)(j)}}}complete(){if(!this.isStopped){const{_parentSubscriber:j}=this;if(this._complete){const V=()=>this._complete.call(this._context);ae.v.useDeprecatedSynchronousErrorHandling&&j.syncErrorThrowable?(this.__tryOrSetError(j,V),this.unsubscribe()):(this.__tryOrUnsub(V),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(j,V){try{j.call(this._context,V)}catch(L){if(this.unsubscribe(),ae.v.useDeprecatedSynchronousErrorHandling)throw L;(0,ie.z)(L)}}__tryOrSetError(j,V,L){if(!ae.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{V.call(this._context,L)}catch(q){return ae.v.useDeprecatedSynchronousErrorHandling?(j.syncErrorValue=q,j.syncErrorThrown=!0,!0):((0,ie.z)(q),!0)}return!1}_unsubscribe(){const{_parentSubscriber:j}=this;this._context=null,this._parentSubscriber=null,j.unsubscribe()}}},5319:(Ze,Ne,R)=>{"use strict";R.d(Ne,{w:()=>ie});var i=R(9796),A=R(1555),me=R(9105);const ae=(()=>{function K(Y){return Error.call(this),this.message=Y?`${Y.length} errors occurred during unsubscription:\n${Y.map((j,V)=>`${V+1}) ${j.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=Y,this}return K.prototype=Object.create(Error.prototype),K})();class ie{constructor(Y){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,Y&&(this._ctorUnsubscribe=!0,this._unsubscribe=Y)}unsubscribe(){let Y;if(this.closed)return;let{_parentOrParents:j,_ctorUnsubscribe:V,_unsubscribe:L,_subscriptions:q}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,j instanceof ie)j.remove(this);else if(null!==j)for(let oe=0;oeY.concat(j instanceof ae?j.errors:j),[])}ie.EMPTY=((K=new ie).closed=!0,K)},2494:(Ze,Ne,R)=>{"use strict";R.d(Ne,{v:()=>A});let i=!1;const A={Promise:void 0,set useDeprecatedSynchronousErrorHandling(me){if(me){const de=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+de.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=me},get useDeprecatedSynchronousErrorHandling(){return i}}},5345:(Ze,Ne,R)=>{"use strict";R.d(Ne,{IY:()=>de,Ds:()=>ie,ft:()=>K});var i=R(7393),A=R(7574),me=R(7444);class de extends i.L{constructor(j){super(),this.parent=j}_next(j){this.parent.notifyNext(j)}_error(j){this.parent.notifyError(j),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class ie extends i.L{notifyNext(j){this.destination.next(j)}notifyError(j){this.destination.error(j)}notifyComplete(){this.destination.complete()}}function K(Y,j){if(j.closed)return;if(Y instanceof A.y)return Y.subscribe(j);let V;try{V=(0,me.s)(Y)(j)}catch(L){j.error(L)}return V}},2441:(Ze,Ne,R)=>{"use strict";R.d(Ne,{c:()=>ae,N:()=>ie});var i=R(7709),A=R(7574),me=R(5319),de=R(1307);class ae extends A.y{constructor(V,L){super(),this.source=V,this.subjectFactory=L,this._refCount=0,this._isComplete=!1}_subscribe(V){return this.getSubject().subscribe(V)}getSubject(){const V=this._subject;return(!V||V.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let V=this._connection;return V||(this._isComplete=!1,V=this._connection=new me.w,V.add(this.source.subscribe(new $(this.getSubject(),this))),V.closed&&(this._connection=null,V=me.w.EMPTY)),V}refCount(){return(0,de.x)()(this)}}const ie=(()=>{const j=ae.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:j._subscribe},_isComplete:{value:j._isComplete,writable:!0},getSubject:{value:j.getSubject},connect:{value:j.connect},refCount:{value:j.refCount}}})();class $ extends i.Yc{constructor(V,L){super(V),this.connectable=L}_error(V){this._unsubscribe(),super._error(V)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const V=this.connectable;if(V){this.connectable=null;const L=V._connection;V._refCount=0,V._subject=null,V._connection=null,L&&L.unsubscribe()}}}},4402:(Ze,Ne,R)=>{"use strict";R.d(Ne,{D:()=>he});var i=R(7574),A=R(7444),me=R(5319),de=R(6554),$=R(4087),K=R(377),V=R(4072),L=R(9489);function he(te,ce){return ce?function(te,ce){if(null!=te){if(function(te){return te&&"function"==typeof te[de.L]}(te))return function(te,ce){return new i.y(re=>{const Fe=new me.w;return Fe.add(ce.schedule(()=>{const Oe=te[de.L]();Fe.add(Oe.subscribe({next(ge){Fe.add(ce.schedule(()=>re.next(ge)))},error(ge){Fe.add(ce.schedule(()=>re.error(ge)))},complete(){Fe.add(ce.schedule(()=>re.complete()))}}))})),Fe})}(te,ce);if((0,V.t)(te))return function(te,ce){return new i.y(re=>{const Fe=new me.w;return Fe.add(ce.schedule(()=>te.then(Oe=>{Fe.add(ce.schedule(()=>{re.next(Oe),Fe.add(ce.schedule(()=>re.complete()))}))},Oe=>{Fe.add(ce.schedule(()=>re.error(Oe)))}))),Fe})}(te,ce);if((0,L.z)(te))return(0,$.r)(te,ce);if(function(te){return te&&"function"==typeof te[K.hZ]}(te)||"string"==typeof te)return function(te,ce){if(!te)throw new Error("Iterable cannot be null");return new i.y(re=>{const Fe=new me.w;let Oe;return Fe.add(()=>{Oe&&"function"==typeof Oe.return&&Oe.return()}),Fe.add(ce.schedule(()=>{Oe=te[K.hZ](),Fe.add(ce.schedule(function(){if(re.closed)return;let ge,ze;try{const Je=Oe.next();ge=Je.value,ze=Je.done}catch(Je){return void re.error(Je)}ze?re.complete():(re.next(ge),this.schedule())}))})),Fe})}(te,ce)}throw new TypeError((null!==te&&typeof te||te)+" is not observable")}(te,ce):te instanceof i.y?te:new i.y((0,A.s)(te))}},6693:(Ze,Ne,R)=>{"use strict";R.d(Ne,{n:()=>de});var i=R(7574),A=R(5015),me=R(4087);function de(ae,ie){return ie?(0,me.r)(ae,ie):new i.y((0,A.V)(ae))}},5917:(Ze,Ne,R)=>{"use strict";R.d(Ne,{of:()=>de});var i=R(4869),A=R(6693),me=R(4087);function de(...ae){let ie=ae[ae.length-1];return(0,i.K)(ie)?(ae.pop(),(0,me.r)(ae,ie)):(0,A.n)(ae)}},4612:(Ze,Ne,R)=>{"use strict";R.d(Ne,{b:()=>A});var i=R(9773);function A(me,de){return(0,i.zg)(me,de,1)}},5435:(Ze,Ne,R)=>{"use strict";R.d(Ne,{h:()=>A});var i=R(7393);function A(ae,ie){return function(K){return K.lift(new me(ae,ie))}}class me{constructor(ie,$){this.predicate=ie,this.thisArg=$}call(ie,$){return $.subscribe(new de(ie,this.predicate,this.thisArg))}}class de extends i.L{constructor(ie,$,K){super(ie),this.predicate=$,this.thisArg=K,this.count=0}_next(ie){let $;try{$=this.predicate.call(this.thisArg,ie,this.count++)}catch(K){return void this.destination.error(K)}$&&this.destination.next(ie)}}},8002:(Ze,Ne,R)=>{"use strict";R.d(Ne,{U:()=>A});var i=R(7393);function A(ae,ie){return function(K){if("function"!=typeof ae)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return K.lift(new me(ae,ie))}}class me{constructor(ie,$){this.project=ie,this.thisArg=$}call(ie,$){return $.subscribe(new de(ie,this.project,this.thisArg))}}class de extends i.L{constructor(ie,$,K){super(ie),this.project=$,this.count=0,this.thisArg=K||this}_next(ie){let $;try{$=this.project.call(this.thisArg,ie,this.count++)}catch(K){return void this.destination.error(K)}this.destination.next($)}}},3282:(Ze,Ne,R)=>{"use strict";R.d(Ne,{J:()=>me});var i=R(9773),A=R(4487);function me(de=Number.POSITIVE_INFINITY){return(0,i.zg)(A.y,de)}},9773:(Ze,Ne,R)=>{"use strict";R.d(Ne,{zg:()=>de});var i=R(8002),A=R(4402),me=R(5345);function de(K,Y,j=Number.POSITIVE_INFINITY){return"function"==typeof Y?V=>V.pipe(de((L,q)=>(0,A.D)(K(L,q)).pipe((0,i.U)((oe,he)=>Y(L,oe,q,he))),j)):("number"==typeof Y&&(j=Y),V=>V.lift(new ae(K,j)))}class ae{constructor(Y,j=Number.POSITIVE_INFINITY){this.project=Y,this.concurrent=j}call(Y,j){return j.subscribe(new ie(Y,this.project,this.concurrent))}}class ie extends me.Ds{constructor(Y,j,V=Number.POSITIVE_INFINITY){super(Y),this.project=j,this.concurrent=V,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(Y){this.active0?this._next(Y.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},1307:(Ze,Ne,R)=>{"use strict";R.d(Ne,{x:()=>A});var i=R(7393);function A(){return function(ie){return ie.lift(new me(ie))}}class me{constructor(ie){this.connectable=ie}call(ie,$){const{connectable:K}=this;K._refCount++;const Y=new de(ie,K),j=$.subscribe(Y);return Y.closed||(Y.connection=K.connect()),j}}class de extends i.L{constructor(ie,$){super(ie),this.connectable=$}_unsubscribe(){const{connectable:ie}=this;if(!ie)return void(this.connection=null);this.connectable=null;const $=ie._refCount;if($<=0)return void(this.connection=null);if(ie._refCount=$-1,$>1)return void(this.connection=null);const{connection:K}=this,Y=ie._connection;this.connection=null,Y&&(!K||Y===K)&&Y.unsubscribe()}}},3190:(Ze,Ne,R)=>{"use strict";R.d(Ne,{w:()=>de});var i=R(8002),A=R(4402),me=R(5345);function de($,K){return"function"==typeof K?Y=>Y.pipe(de((j,V)=>(0,A.D)($(j,V)).pipe((0,i.U)((L,q)=>K(j,L,V,q))))):Y=>Y.lift(new ae($))}class ae{constructor(K){this.project=K}call(K,Y){return Y.subscribe(new ie(K,this.project))}}class ie extends me.Ds{constructor(K,Y){super(K),this.project=Y,this.index=0}_next(K){let Y;const j=this.index++;try{Y=this.project(K,j)}catch(V){return void this.destination.error(V)}this._innerSub(Y)}_innerSub(K){const Y=this.innerSubscription;Y&&Y.unsubscribe();const j=new me.IY(this),V=this.destination;V.add(j),this.innerSubscription=(0,me.ft)(K,j),this.innerSubscription!==j&&V.add(this.innerSubscription)}_complete(){const{innerSubscription:K}=this;(!K||K.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(K){this.destination.next(K)}}},3342:(Ze,Ne,R)=>{"use strict";R.d(Ne,{b:()=>de});var i=R(7393);function A(){}var me=R(9105);function de($,K,Y){return function(V){return V.lift(new ae($,K,Y))}}class ae{constructor(K,Y,j){this.nextOrObserver=K,this.error=Y,this.complete=j}call(K,Y){return Y.subscribe(new ie(K,this.nextOrObserver,this.error,this.complete))}}class ie extends i.L{constructor(K,Y,j,V){super(K),this._tapNext=A,this._tapError=A,this._tapComplete=A,this._tapError=j||A,this._tapComplete=V||A,(0,me.m)(Y)?(this._context=this,this._tapNext=Y):Y&&(this._context=Y,this._tapNext=Y.next||A,this._tapError=Y.error||A,this._tapComplete=Y.complete||A)}_next(K){try{this._tapNext.call(this._context,K)}catch(Y){return void this.destination.error(Y)}this.destination.next(K)}_error(K){try{this._tapError.call(this._context,K)}catch(Y){return void this.destination.error(Y)}this.destination.error(K)}_complete(){try{this._tapComplete.call(this._context)}catch(K){return void this.destination.error(K)}return this.destination.complete()}}},4087:(Ze,Ne,R)=>{"use strict";R.d(Ne,{r:()=>me});var i=R(7574),A=R(5319);function me(de,ae){return new i.y(ie=>{const $=new A.w;let K=0;return $.add(ae.schedule(function(){K!==de.length?(ie.next(de[K++]),ie.closed||$.add(this.schedule())):ie.complete()})),$})}},377:(Ze,Ne,R)=>{"use strict";R.d(Ne,{hZ:()=>A});const A="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},6554:(Ze,Ne,R)=>{"use strict";R.d(Ne,{L:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},9181:(Ze,Ne,R)=>{"use strict";R.d(Ne,{b:()=>i});const i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7971:(Ze,Ne,R)=>{"use strict";R.d(Ne,{N:()=>A});const A=(()=>{function me(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return me.prototype=Object.create(Error.prototype),me})()},4449:(Ze,Ne,R)=>{"use strict";function i(A){setTimeout(()=>{throw A},0)}R.d(Ne,{z:()=>i})},4487:(Ze,Ne,R)=>{"use strict";function i(A){return A}R.d(Ne,{y:()=>i})},9796:(Ze,Ne,R)=>{"use strict";R.d(Ne,{k:()=>i});const i=Array.isArray||(A=>A&&"number"==typeof A.length)},9489:(Ze,Ne,R)=>{"use strict";R.d(Ne,{z:()=>i});const i=A=>A&&"number"==typeof A.length&&"function"!=typeof A},9105:(Ze,Ne,R)=>{"use strict";function i(A){return"function"==typeof A}R.d(Ne,{m:()=>i})},1555:(Ze,Ne,R)=>{"use strict";function i(A){return null!==A&&"object"==typeof A}R.d(Ne,{K:()=>i})},4072:(Ze,Ne,R)=>{"use strict";function i(A){return!!A&&"function"!=typeof A.subscribe&&"function"==typeof A.then}R.d(Ne,{t:()=>i})},4869:(Ze,Ne,R)=>{"use strict";function i(A){return A&&"function"==typeof A.schedule}R.d(Ne,{K:()=>i})},7444:(Ze,Ne,R)=>{"use strict";R.d(Ne,{s:()=>V});var i=R(5015),A=R(4449),de=R(377),ie=R(6554),K=R(9489),Y=R(4072),j=R(1555);const V=L=>{if(L&&"function"==typeof L[ie.L])return(L=>q=>{const oe=L[ie.L]();if("function"!=typeof oe.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return oe.subscribe(q)})(L);if((0,K.z)(L))return(0,i.V)(L);if((0,Y.t)(L))return(L=>q=>(L.then(oe=>{q.closed||(q.next(oe),q.complete())},oe=>q.error(oe)).then(null,A.z),q))(L);if(L&&"function"==typeof L[de.hZ])return(L=>q=>{const oe=L[de.hZ]();for(;;){let he;try{he=oe.next()}catch(te){return q.error(te),q}if(he.done){q.complete();break}if(q.next(he.value),q.closed)break}return"function"==typeof oe.return&&q.add(()=>{oe.return&&oe.return()}),q})(L);{const oe=`You provided ${(0,j.K)(L)?"an invalid object":`'${L}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(oe)}}},5015:(Ze,Ne,R)=>{"use strict";R.d(Ne,{V:()=>i});const i=A=>me=>{for(let de=0,ae=A.length;de{"use strict";R.d(Ne,{U:()=>A});const i={env:"production",development:{version:"0.9.0",baseURL:"https://localhost:2399",managerURL:"https://192.168.1.187:4000/",frontUrl:"https://192.168.1.187:4000/",iosstoreid:"id0123456",androidstoreid:"snapp.cl",phoneSupport:"56944770416",fintoc:{public_key:"pk_test_H5mt65eZ828ipAs2nx8GAncVA-rakCmD",secret_key:"sk_test_U-kZoPfyB2Yp5d2Sz9JiomEMKq7obTyy"},google:{public_key:"354895794882-hoobmhq9cqjkr6nu1ld400jnltg3s6sm.apps.googleusercontent.com",script:"https://accounts.google.com/gsi/client"},facebook:{app_id:"1121797189948476",script:"https://connect.facebook.net/en_US/sdk.js",config_id:"1072027508373021"}},test:{version:"0.9.0",baseURL:"https://services.snapp.cl:2398",managerURL:"https://snapp.cl/",frontUrl:"https://snapp.cl/",iosstoreid:"id0123456",androidstoreid:"cl.snapp.payments",phoneSupport:"56944770416",fintoc:{public_key:"pk_test_H5mt65eZ828ipAs2nx8GAncVA-rakCmD",secret_key:"sk_test_U-kZoPfyB2Yp5d2Sz9JiomEMKq7obTyy"},google:{public_key:"354895794882-hoobmhq9cqjkr6nu1ld400jnltg3s6sm.apps.googleusercontent.com",script:"https://accounts.google.com/gsi/client"},facebook:{app_id:"1121797189948476",script:"https://connect.facebook.net/en_US/sdk.js",config_id:"1072027508373021"}},production:{version:"0.9.0",baseURL:"https://services.snapp.cl:2399",managerURL:"https://snapp.cl/",frontUrl:"https://snapp.cl/",iosstoreid:"id0123456",androidstoreid:"cl.snapp.payments",phoneSupport:"56944770416",fintoc:{public_key:"pk_live_rdzjkaje4hhM5Eaf3Uj5NRtjG1NsCCtE",secret_key:"sk_live_An1ZzXj9yi39TFcTW-g7BXUz1NGgHPxH"},google:{public_key:"354895794882-hoobmhq9cqjkr6nu1ld400jnltg3s6sm.apps.googleusercontent.com",script:"https://accounts.google.com/gsi/client"},facebook:{app_id:"1121797189948476",script:"https://connect.facebook.net/en_US/sdk.js",config_id:"1072027508373021"}},localcloud:{version:"0.9.0",baseURL:"https://services.snapp.cl:2398",managerURL:"https://192.168.1.187:4000/",frontUrl:"https://192.168.1.187:4000/",iosstoreid:"id0123456",androidstoreid:"snapp.cl",phoneSupport:"56944770416",fintoc:{public_key:"pk_test_H5mt65eZ828ipAs2nx8GAncVA-rakCmD",secret_key:"sk_test_U-kZoPfyB2Yp5d2Sz9JiomEMKq7obTyy"},google:{public_key:"354895794882-hoobmhq9cqjkr6nu1ld400jnltg3s6sm.apps.googleusercontent.com",script:"https://accounts.google.com/gsi/client"},facebook:{app_id:"1121797189948476",script:"https://connect.facebook.net/en_US/sdk.js",config_id:"1072027508373021"}}},A=me=>{if(!i[i.env])throw new Error("Bad configuration");return me?i[i.env][me]:i[i.env]}},470:(Ze,Ne,R)=>{"use strict";R.d(Ne,{Y:()=>i});const i={service:{code:"01",description:"Error en servicio",modules:{http:{code:"01",child:{errorHandler:"001"}},user:{code:"02",child:{requireCode2FA:"001",validateCode2FA:"002",assignUserDevice:"003",me:"004"}},equipment:{code:"03",child:{infoEquipment:"001"}},auth:{code:"04",child:{loginWithGoogle:"001",loginWithChangePassword:"002",login:"003",registerUser:"004",loginWithFacebook:"005"}},wallet:{code:"05",child:{cashback:"001"}}}}}},1228:(Ze,Ne,R)=>{"use strict";R.d(Ne,{e:()=>$});var i=R(8239),A=R(470),me=R(639),de=R(7119),ae=R(2300),ie=R(3755);let $=(()=>{class K{constructor(j,V,L){this.methods=j,this.memory=V,this.http=L,this.schematicError=A.Y.service,this.moduleError=this.schematicError.modules.auth}registerUser(j){var V=this;return(0,i.Z)(function*(){var L;try{const q=yield V.http.put("/user",j).toPromise();return null!==(L=null==q?void 0:q.data)&&void 0!==L?L:q}catch(q){return{msg:"No pudimos completar la solicitud, favor de contactar a soporte.",status:-1,errCode:`SNP-F${V.schematicError.code}${V.moduleError.code}${V.moduleError.child.registerUser}`,transactionId:Date.now()}}})()}login(j){var V=this;return(0,i.Z)(function*(){var L;try{const q=yield V.http.get("/user/login",{headers:Object.assign({},j)}).toPromise();return null!==(L=null==q?void 0:q.data)&&void 0!==L?L:q}catch(q){return{msg:"No pudimos completar la solicitud, favor de contactar a soporte.",status:-1,errCode:`SNP-F${V.schematicError.code}${V.moduleError.code}${V.moduleError.child.login}`,transactionId:Date.now()}}})()}getUserSessionFromLocalStorage(){var j=this;return new Promise(function(){var V=(0,i.Z)(function*(L,q){try{const oe=yield j.memory.loadAuthorizationToken();if(oe){let te,he=yield j.memory.loadDeviceKey();he||(he=((yield j.methods.get("/user/device",{},{},0))||{deviceKey:null}).deviceKey,yield j.memory.saveDeviceKey(he)),te=yield j.methods.get("/user",{},{},0).catch(ce=>console.error(ce)),(null==te?void 0:te.error)||"object"!=typeof te?(j.memory.saveAuthorizationToken(void 0),L({token:void 0,loged:!1,userAttributes:{},requireMFA:!1})):(j.memory.saveAuthorizationToken(oe),j.memory.userAttr=Object.assign({},te),he=((yield j.methods.get("/user/device/assig",{},{},0))||{deviceKey:null}).deviceKey,yield j.memory.saveDeviceKey(he),L({token:oe,loged:!0,userAttributes:Object.assign({},te),requireMFA:!1}))}else L({token:void 0,loged:!1,userAttributes:{},requireMFA:!1})}catch(oe){L({token:void 0,loged:!1,userAttributes:{},requireMFA:!1})}});return function(L,q){return V.apply(this,arguments)}}())}snappLogout(){var j=this;return(0,i.Z)(function*(){yield j.memory.removeSession()})()}loginWithChangePassword(j){var V=this;return(0,i.Z)(function*(){var L;try{const q=yield V.http.post("/user/login/password",j,{headers:{authorization:j.token}}).toPromise();return null!==(L=null==q?void 0:q.data)&&void 0!==L?L:q}catch(q){return{msg:"No pudimos completar la solicitud, favor de contactar a soporte.",status:-1,errCode:`SNP-F${V.schematicError.code}${V.moduleError.code}${V.moduleError.child.loginWithChangePassword}`,transactionId:Date.now()}}})()}loginWithGoogle(j){var V=this;return(0,i.Z)(function*(){var L;try{const q=yield V.http.post("/auth/google/sign-in",{token:j.credential}).toPromise();return null!==(L=null==q?void 0:q.data)&&void 0!==L?L:q}catch(q){return{msg:"No pudimos completar la solicitud, favor de contactar a soporte.",status:-1,errCode:`SNP-F${V.schematicError.code}${V.moduleError.code}${V.moduleError.child.loginWithGoogle}`,transactionId:Date.now()}}})()}loginWithFacebook(j){var V=this;return(0,i.Z)(function*(){var L;try{const q=yield V.http.post("/auth/facebook/sign-in",{token:j.credential}).toPromise();return null!==(L=null==q?void 0:q.data)&&void 0!==L?L:q}catch(q){return{msg:"No pudimos completar la solicitud, favor de contactar a soporte.",status:-1,errCode:`SNP-F${V.schematicError.code}${V.moduleError.code}${V.moduleError.child.loginWithFacebook}`,transactionId:Date.now()}}})()}registerWithGoogle(j){var V=this;return(0,i.Z)(function*(){try{const L=yield V.methods.post("/auth/google/sign-up",{token:j},void 0,void 0,0);return Object.assign({status:200},L)}catch(L){return Object.assign(Object.assign({status:L.status},0===L.status?{message:"No se ha podido conectar con nuestros servicios. Intente de nuevo mas tarde o contacte con su administrador"}:500===L.status?{message:"Ocurri\xf3 un error al cargar la informaci\xf3n, Si el error persiste contacte con su administrador"}:void 0),L.error)}})()}registerWithFacebook(j){var V=this;return(0,i.Z)(function*(){try{const L=yield V.methods.post("/auth/facebook/sign-up",{token:j},void 0,void 0,0);return Object.assign({status:200},L)}catch(L){return Object.assign(Object.assign({status:L.status},0===L.status?{message:"No se ha podido conectar con nuestros servicios. Intente de nuevo mas tarde o contacte con su administrador"}:500===L.status?{message:"Ocurri\xf3 un error al cargar la informaci\xf3n, Si el error persiste contacte con su administrador"}:void 0),L.error)}})()}}return K.\u0275fac=function(j){return new(j||K)(me.LFG(de.O),me.LFG(ae.S),me.LFG(ie.O))},K.\u0275prov=me.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"}),K})()},3755:(Ze,Ne,R)=>{"use strict";R.d(Ne,{O:()=>j});var i=R(8239),A=R(8686),me=R.n(A),de=R(7574),ae=R(9698),ie=R(470),$=R(639),K=R(2300);const Y={0:"No hay conexi\xf3n a internet. Comprueba tu red.",400:"Datos incorrectos. Revisa la informaci\xf3n enviada.",401:"Sesi\xf3n expirada. Inicia sesi\xf3n nuevamente.",403:"No tienes permiso para realizar esta acci\xf3n.",404:"No encontramos lo que buscas.",409:"La informaci\xf3n ya existe o est\xe1 en conflicto.",413:"El archivo es demasiado grande para subir.",422:"No se pudo procesar la solicitud. Revisa los datos.",429:"Demasiadas solicitudes. Espera un momento e intenta de nuevo.",500:"Error del servidor. Intenta nuevamente m\xe1s tarde.",502:"Servicio temporalmente indisponible. Intenta m\xe1s tarde.",503:"Servicio no disponible. Intenta de nuevo en unos minutos.",504:"Tiempo de espera agotado. La solicitud tard\xf3 demasiado."};let j=(()=>{class V{constructor(q){this.memory=q,this.schematicError=ie.Y.service,this.moduleError=this.schematicError.modules.http,this.baseURL=ae.U("baseURL"),this.axiosClient=me().create({baseURL:this.baseURL,headers:{"Content-Type":"application/json"}}),this.setupInterceptors()}setupInterceptors(){var q=this;this.axiosClient.interceptors.request.use(function(){var oe=(0,i.Z)(function*(he){const te=yield q.memory.loadAuthorizationToken(),ce=yield q.memory.loadDeviceKey();return"string"==typeof te&&te.length>0&&"string"==typeof ce&&ce.length>0&&(he.headers=Object.assign(Object.assign({},he.headers),{userKey:`Bearer ${te}`,devKey:ce})),he});return function(he){return oe.apply(this,arguments)}}(),oe=>Promise.reject(oe)),this.axiosClient.interceptors.response.use(oe=>oe,oe=>Promise.reject(oe))}handleError(q){var oe,he,te;const{response:ce}=q;return null==ce?Object.assign({msg:Y[0],errCode:`SNP-F${this.schematicError.code}${this.moduleError.code}${this.moduleError.child.errorHandler}`},null==ce?void 0:ce.data):void 0===(null===(oe=null==ce?void 0:ce.data)||void 0===oe?void 0:oe.msg)||null===(null===(he=null==ce?void 0:ce.data)||void 0===he?void 0:he.msg)?Object.assign({msg:Y[null!==(te=null==ce?void 0:ce.status)&&void 0!==te?te:0]},null==ce?void 0:ce.data):null==ce?void 0:ce.data}post(q,oe,he){return new de.y(te=>{this.axiosClient.post(q,oe,he).then(ce=>{te.next(ce),te.complete()}).catch(ce=>{const re=this.handleError(ce);te.next(re),te.complete()})})}get(q,oe){return new de.y(he=>{this.axiosClient.get(q,oe).then(te=>{he.next(te),he.complete()}).catch(te=>{const ce=this.handleError(te);he.next(ce),he.complete()})})}downloadFile(q,oe,he){return new de.y(te=>{this.axiosClient.get(q,oe).then(ce=>{const re=new Blob([ce.data],{type:ce.headers["content-type"]}),Fe=window.URL.createObjectURL(re),Oe=document.createElement("a");Oe.href=Fe;const ge=ce.headers["content-disposition"],ze="string"==typeof ge?ge.split("filename=")[1].replace(/"/g,""):null!=he?he:"download";Oe.download=ze,document.body.appendChild(Oe),Oe.click(),document.body.removeChild(Oe),window.URL.revokeObjectURL(Fe),te.next(),te.complete()}).catch(ce=>{const re=this.handleError(ce);console.error("Error downloading file:",re),te.error(re)})})}put(q,oe,he){return new de.y(te=>{this.axiosClient.put(q,oe,he).then(ce=>{te.next(ce),te.complete()}).catch(ce=>{const re=this.handleError(ce);te.next(re),te.complete()})})}delete(q,oe){return new de.y(he=>{this.axiosClient.delete(q,oe).then(te=>{he.next(te),he.complete()}).catch(te=>{const ce=this.handleError(te);he.next(ce),he.complete()})})}}return V.\u0275fac=function(q){return new(q||V)($.LFG(K.S))},V.\u0275prov=$.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})()},2300:(Ze,Ne,R)=>{"use strict";R.d(Ne,{S:()=>ae});var i=R(8239),A=R(639),me=R(1628),de=R(169);let ae=(()=>{class ie{constructor(K,Y){this.storage=K,this.toastService=Y,this.eqList=[],this.startScan=!1,this.newVerAvailable=!1,this.loggedIn=!1,this.previousUrl=null,this.ngOnInit()}ngOnInit(){var K=this;return(0,i.Z)(function*(){yield K.storage.create()})()}get eqsList(){return this.eqList.filter((K,Y)=>Y==this.eqList.findIndex(j=>K.serial==j.serial))}get isLogged(){return this.loggedIn}get sessionToken(){return this.authToken}saveEqList(K){var Y=this;return(0,i.Z)(function*(){if(!K.hasOwnProperty("qr"))return;let j=yield Y.loadEqList();if(j.some(V=>V.qr===K.qr))return Y.toastService.presentToast("Ocurrio un error","El equipo ingresado ya existe en el carro de compras.",3e3);j.push(K),yield Y.storage.set("eqList",JSON.stringify(j||[]))})()}cleanEqList(){var K=this;return(0,i.Z)(function*(){yield K.storage.set("eqList",JSON.stringify([]))})()}loadEqList(){var K=this;return(0,i.Z)(function*(){var Y;try{return JSON.parse(null!==(Y=yield K.storage.get("eqList"))&&void 0!==Y?Y:"[]")}catch(j){return yield K.storage.set("eqList",JSON.stringify([])),[]}})()}loadAuthorizationToken(){var K=this;return(0,i.Z)(function*(){if(K.loggedIn&&K.authToken)return K.authToken;const Y=(yield K.storage.get("authorization_token"))||!1;return Y&&(K.authToken=Y),Y})()}loadDeviceKey(){var K=this;return(0,i.Z)(function*(){if(K.deviceKey)return K.deviceKey;const Y=yield K.storage.get("device_key");return Y&&(K.deviceKey=Y),Y})()}removeEqFromList(K){var Y=this;return(0,i.Z)(function*(){let j=yield Y.loadEqList();j.splice(K,1),yield Y.storage.set("eqList",JSON.stringify(j||[]))})()}notificationsPermisionRes(){var K=this;return(0,i.Z)(function*(){return(yield K.storage.get("notificationsPermisionRes"))||!1})()}setNotificationPermisionRes(K){var Y=this;return(0,i.Z)(function*(){yield Y.storage.set("notificationsPermisionRes",K||!1)})()}saveAuthorizationToken(K){var Y=this;return(0,i.Z)(function*(){return!!K&&(Y.authToken=K,Y.loggedIn=!!Y.authToken,yield Y.storage.set("authorization_token",K),Y.authToken)})()}saveDeviceKey(K){var Y=this;return(0,i.Z)(function*(){return Y.deviceKey=K,yield Y.storage.set("device_key",K),Y.deviceKey})()}removeSession(){var K=this;return(0,i.Z)(function*(){K.storage.set("authorization_token",void 0),K.userInfo={},K.loggedIn=!1,K.authToken=void 0})()}}return ie.\u0275fac=function(K){return new(K||ie)(A.LFG(me.K),A.LFG(de.i))},ie.\u0275prov=A.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})()},7119:(Ze,Ne,R)=>{"use strict";R.d(Ne,{O:()=>de});var i=R(1841),A=R(9698),me=R(639);let de=(()=>{class ae{constructor($){this.http=$,this.baseURL=A.U("baseURL")}get baseUrl(){return this.baseURL}post($,K,Y={},j={},V=0,L="json"){return new Promise((q,oe)=>{const he={};for(const re in Y)he[re]=Y[re].toString();let te;te="arraybuffer"===L?{responseType:"arraybuffer"}:{responseType:"json"};let ce=new i.LE;Object.keys(j).forEach(re=>{ce=ce.append(re,j[re].toString())}),this.http.post(`${this.baseURL}${$}`,K,Object.assign(Object.assign({},te),{headers:new i.WM(he),params:ce})).subscribe(re=>{q(re)},re=>{oe(re)})})}get($,K,Y,j=0,V=!0){return new Promise((L,q)=>{const oe={};for(const te in K)oe[te]=K[te].toString();let he=new i.LE;for(const te in Y)null!=Y[te]&&(he=he.append(te,Y[te].toString()));this.http.get(`${this.baseURL}${$}`,{headers:new i.WM(oe),params:he}).subscribe(te=>{L(te)},te=>{q(te)})})}delete($,K,Y,j=0,V=!0){return new Promise((L,q)=>{const oe={};for(const te in K)oe[te]=K[te].toString();let he=new i.LE;for(const te in Y)null!=Y[te]&&(he=he.append(te,Y[te].toString()));this.http.delete(`${this.baseURL}${$}`,{headers:new i.WM(oe),params:he}).subscribe(te=>{L(te)},te=>{q(te)})})}put($,K,Y,j,V=0,L="json"){return new Promise((q,oe)=>{const he={};for(const re in Y)he[re]=Y[re].toString();const te={responseType:L};let ce=new i.LE;for(const re in j)null!=j[re]&&(ce=ce.append(re,j[re].toString()));this.http.put(`${this.baseURL}${$}`,K,Object.assign(Object.assign({},te),{headers:new i.WM(he),params:ce})).subscribe(re=>{q(re)},re=>{oe(re)})})}}return ae.\u0275fac=function($){return new($||ae)(me.LFG(i.eN))},ae.\u0275prov=me.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})()},4156:(Ze,Ne,R)=>{"use strict";R.d(Ne,{V:()=>me});var i=R(6215),A=R(639);let me=(()=>{class de{constructor(){this.loadingSubject=new i.X(!1),this.messageSubject=new i.X(void 0),this.loading$=this.loadingSubject.asObservable(),this.message$=this.messageSubject.asObservable(),this.loading=!1}show(ie){this.loadingSubject.value||this.loadingSubject.next(!0),this.messageSubject.value!==ie&&this.messageSubject.next(ie)}hide(){this.loadingSubject.value&&this.loadingSubject.next(!1),this.messageSubject.next(void 0)}setLoading(ie,$){this.loading=ie,this.message=$}getLoading(){return this.loading}getMessage(){return this.message}}return de.\u0275fac=function(ie){return new(ie||de)},de.\u0275prov=A.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})()},169:(Ze,Ne,R)=>{"use strict";R.d(Ne,{i:()=>de});var i=R(8239),A=R(639),me=R(700);let de=(()=>{class ae{constructor($){this.toastCtrl=$}presentToast($,K,Y){var j=this;return(0,i.Z)(function*(){(yield j.toastCtrl.create({header:$,message:K,position:"bottom",duration:Y,cssClass:"toast-notification",color:"dark",buttons:[{text:"Cerrar",role:"cancel",handler:()=>{}}]})).present()})()}}return ae.\u0275fac=function($){return new($||ae)(A.LFG(me.yF))},ae.\u0275prov=A.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})()},8149:(Ze,Ne,R)=>{"use strict";var i=R(8583),A=R(639);class me extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class de extends me{static makeCurrent(){(0,i.HT)(new de)}onAndCancel(a,l,p){return a.addEventListener(l,p,!1),()=>{a.removeEventListener(l,p,!1)}}dispatchEvent(a,l){a.dispatchEvent(l)}remove(a){a.parentNode&&a.parentNode.removeChild(a)}createElement(a,l){return(l=l||this.getDefaultDocument()).createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,l){return"window"===l?window:"document"===l?a:"body"===l?a.body:null}getBaseHref(a){const l=(ae=ae||document.querySelector("base"),ae?ae.getAttribute("href"):null);return null==l?null:function(m){$=$||document.createElement("a"),$.setAttribute("href",m);const a=$.pathname;return"/"===a.charAt(0)?a:`/${a}`}(l)}resetBaseElement(){ae=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return(0,i.Mx)(document.cookie,a)}}let $,ae=null;const Y=new A.OlP("TRANSITION_ID"),V=[{provide:A.ip1,useFactory:function(m,a,l){return()=>{l.get(A.CZH).donePromise.then(()=>{const p=(0,i.q)(),I=a.querySelectorAll(`style[ng-transition="${m}"]`);for(let k=0;k{const k=a.findTestabilityInTree(p,I);if(null==k)throw new Error("Could not find testability for element.");return k},A.dqk.getAllAngularTestabilities=()=>a.getAllTestabilities(),A.dqk.getAllAngularRootElements=()=>a.getAllRootElements(),A.dqk.frameworkStabilizers||(A.dqk.frameworkStabilizers=[]),A.dqk.frameworkStabilizers.push(p=>{const I=A.dqk.getAllAngularTestabilities();let k=I.length,Z=!1;const le=function(Te){Z=Z||Te,k--,0==k&&p(Z)};I.forEach(function(Te){Te.whenStable(le)})})}findTestabilityInTree(a,l,p){if(null==l)return null;const I=a.getTestability(l);return null!=I?I:p?(0,i.q)().isShadowRoot(l)?this.findTestabilityInTree(a,l.host,!0):this.findTestabilityInTree(a,l.parentElement,!0):null}}let q=(()=>{class m{build(){return new XMLHttpRequest}}return m.\u0275fac=function(l){return new(l||m)},m.\u0275prov=A.Yz7({token:m,factory:m.\u0275fac}),m})();const Ae=new A.OlP("EventManagerPlugins");let xe=(()=>{class m{constructor(l,p){this._zone=p,this._eventNameToPlugin=new Map,l.forEach(I=>I.manager=this),this._plugins=l.slice().reverse()}addEventListener(l,p,I){return this._findPluginFor(p).addEventListener(l,p,I)}addGlobalEventListener(l,p,I){return this._findPluginFor(p).addGlobalEventListener(l,p,I)}getZone(){return this._zone}_findPluginFor(l){const p=this._eventNameToPlugin.get(l);if(p)return p;const I=this._plugins;for(let k=0;k{class m{constructor(){this._stylesSet=new Set}addStyles(l){const p=new Set;l.forEach(I=>{this._stylesSet.has(I)||(this._stylesSet.add(I),p.add(I))}),this.onStylesAdded(p)}onStylesAdded(l){}getAllStyles(){return Array.from(this._stylesSet)}}return m.\u0275fac=function(l){return new(l||m)},m.\u0275prov=A.Yz7({token:m,factory:m.\u0275fac}),m})(),Ot=(()=>{class m extends Xe{constructor(l){super(),this._doc=l,this._hostNodes=new Map,this._hostNodes.set(l.head,[])}_addStylesToHost(l,p,I){l.forEach(k=>{const Z=this._doc.createElement("style");Z.textContent=k,I.push(p.appendChild(Z))})}addHost(l){const p=[];this._addStylesToHost(this._stylesSet,l,p),this._hostNodes.set(l,p)}removeHost(l){const p=this._hostNodes.get(l);p&&p.forEach(jt),this._hostNodes.delete(l)}onStylesAdded(l){this._hostNodes.forEach((p,I)=>{this._addStylesToHost(l,I,p)})}ngOnDestroy(){this._hostNodes.forEach(l=>l.forEach(jt))}}return m.\u0275fac=function(l){return new(l||m)(A.LFG(i.K0))},m.\u0275prov=A.Yz7({token:m,factory:m.\u0275fac}),m})();function jt(m){(0,i.q)().remove(m)}const et={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/"},$e=/%COMP%/g;function Ct(m,a,l){for(let p=0;p{if("__ngUnwrap__"===a)return m;!1===m(a)&&(a.preventDefault(),a.returnValue=!1)}}let Tt=(()=>{class m{constructor(l,p,I){this.eventManager=l,this.sharedStylesHost=p,this.appId=I,this.rendererByCompId=new Map,this.defaultRenderer=new an(l)}createRenderer(l,p){if(!l||!p)return this.defaultRenderer;switch(p.encapsulation){case A.ifc.Emulated:{let I=this.rendererByCompId.get(p.id);return I||(I=new Fn(this.eventManager,this.sharedStylesHost,p,this.appId),this.rendererByCompId.set(p.id,I)),I.applyToHost(l),I}case 1:case A.ifc.ShadowDom:return new Yt(this.eventManager,this.sharedStylesHost,l,p);default:if(!this.rendererByCompId.has(p.id)){const I=Ct(p.id,p.styles,[]);this.sharedStylesHost.addStyles(I),this.rendererByCompId.set(p.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return m.\u0275fac=function(l){return new(l||m)(A.LFG(xe),A.LFG(Ot),A.LFG(A.AFp))},m.\u0275prov=A.Yz7({token:m,factory:m.\u0275fac}),m})();class an{constructor(a){this.eventManager=a,this.data=Object.create(null)}destroy(){}createElement(a,l){return l?document.createElementNS(et[l]||l,a):document.createElement(a)}createComment(a){return document.createComment(a)}createText(a){return document.createTextNode(a)}appendChild(a,l){a.appendChild(l)}insertBefore(a,l,p){a&&a.insertBefore(l,p)}removeChild(a,l){a&&a.removeChild(l)}selectRootElement(a,l){let p="string"==typeof a?document.querySelector(a):a;if(!p)throw new Error(`The selector "${a}" did not match any elements`);return l||(p.textContent=""),p}parentNode(a){return a.parentNode}nextSibling(a){return a.nextSibling}setAttribute(a,l,p,I){if(I){l=I+":"+l;const k=et[I];k?a.setAttributeNS(k,l,p):a.setAttribute(l,p)}else a.setAttribute(l,p)}removeAttribute(a,l,p){if(p){const I=et[p];I?a.removeAttributeNS(I,l):a.removeAttribute(`${p}:${l}`)}else a.removeAttribute(l)}addClass(a,l){a.classList.add(l)}removeClass(a,l){a.classList.remove(l)}setStyle(a,l,p,I){I&(A.JOm.DashCase|A.JOm.Important)?a.style.setProperty(l,p,I&A.JOm.Important?"important":""):a.style[l]=p}removeStyle(a,l,p){p&A.JOm.DashCase?a.style.removeProperty(l):a.style[l]=""}setProperty(a,l,p){a[l]=p}setValue(a,l){a.nodeValue=l}listen(a,l,p){return"string"==typeof a?this.eventManager.addGlobalEventListener(a,l,ht(p)):this.eventManager.addEventListener(a,l,ht(p))}}class Fn extends an{constructor(a,l,p,I){super(a),this.component=p;const k=Ct(I+"-"+p.id,p.styles,[]);l.addStyles(k),this.contentAttr="_ngcontent-%COMP%".replace($e,I+"-"+p.id),this.hostAttr="_nghost-%COMP%".replace($e,I+"-"+p.id)}applyToHost(a){super.setAttribute(a,this.hostAttr,"")}createElement(a,l){const p=super.createElement(a,l);return super.setAttribute(p,this.contentAttr,""),p}}class Yt extends an{constructor(a,l,p,I){super(a),this.sharedStylesHost=l,this.hostEl=p,this.shadowRoot=p.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const k=Ct(I.id,I.styles,[]);for(let Z=0;Z{class m extends je{constructor(l){super(l)}supports(l){return!0}addEventListener(l,p,I){return l.addEventListener(p,I,!1),()=>this.removeEventListener(l,p,I)}removeEventListener(l,p,I){return l.removeEventListener(p,I)}}return m.\u0275fac=function(l){return new(l||m)(A.LFG(i.K0))},m.\u0275prov=A.Yz7({token:m,factory:m.\u0275fac}),m})();const bt=["alt","control","meta","shift"],gt={"\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"},zt={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},en={alt:m=>m.altKey,control:m=>m.ctrlKey,meta:m=>m.metaKey,shift:m=>m.shiftKey};let St=(()=>{class m extends je{constructor(l){super(l)}supports(l){return null!=m.parseEventName(l)}addEventListener(l,p,I){const k=m.parseEventName(p),Z=m.eventCallback(k.fullKey,I,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.q)().onAndCancel(l,k.domEventName,Z))}static parseEventName(l){const p=l.toLowerCase().split("."),I=p.shift();if(0===p.length||"keydown"!==I&&"keyup"!==I)return null;const k=m._normalizeKey(p.pop());let Z="";if(bt.forEach(Te=>{const Le=p.indexOf(Te);Le>-1&&(p.splice(Le,1),Z+=Te+".")}),Z+=k,0!=p.length||0===k.length)return null;const le={};return le.domEventName=I,le.fullKey=Z,le}static getEventFullKey(l){let p="",I=function(m){let a=m.key;if(null==a){if(a=m.keyIdentifier,null==a)return"Unidentified";a.startsWith("U+")&&(a=String.fromCharCode(parseInt(a.substring(2),16)),3===m.location&&zt.hasOwnProperty(a)&&(a=zt[a]))}return gt[a]||a}(l);return I=I.toLowerCase()," "===I?I="space":"."===I&&(I="dot"),bt.forEach(k=>{k!=I&&en[k](l)&&(p+=k+".")}),p+=I,p}static eventCallback(l,p,I){return k=>{m.getEventFullKey(k)===l&&I.runGuarded(()=>p(k))}}static _normalizeKey(l){return"esc"===l?"escape":l}}return m.\u0275fac=function(l){return new(l||m)(A.LFG(i.K0))},m.\u0275prov=A.Yz7({token:m,factory:m.\u0275fac}),m})();const dr=(0,A.eFA)(A._c5,"browser",[{provide:A.Lbi,useValue:i.bD},{provide:A.g9A,useValue:function(){de.makeCurrent(),L.init()},multi:!0},{provide:i.K0,useFactory:function(){return(0,A.RDi)(document),document},deps:[]}]),er=[[],{provide:A.zSh,useValue:"root"},{provide:A.qLn,useFactory:function(){return new A.qLn},deps:[]},{provide:Ae,useClass:xn,multi:!0,deps:[i.K0,A.R0b,A.Lbi]},{provide:Ae,useClass:St,multi:!0,deps:[i.K0]},[],{provide:Tt,useClass:Tt,deps:[xe,Ot,A.AFp]},{provide:A.FYo,useExisting:Tt},{provide:Xe,useExisting:Ot},{provide:Ot,useClass:Ot,deps:[i.K0]},{provide:A.dDg,useClass:A.dDg,deps:[A.R0b]},{provide:xe,useClass:xe,deps:[Ae,A.R0b]},{provide:i.JF,useClass:q,deps:[]},[]];let nr=(()=>{class m{constructor(l){if(l)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(l){return{ngModule:m,providers:[{provide:A.AFp,useValue:l.appId},{provide:Y,useExisting:A.AFp},V]}}}return m.\u0275fac=function(l){return new(l||m)(A.LFG(m,12))},m.\u0275mod=A.oAB({type:m}),m.\u0275inj=A.cJS({providers:er,imports:[i.ez,A.hGG]}),m})();"undefined"!=typeof window&&window;var Jt=R(8739),Vt=R(8239),Sn=R(2300);let zn=(()=>{class m{constructor(l,p){this.memory=l,this.router=p}canActivate(l,p){var I=this;return new Promise(function(){var k=(0,Vt.Z)(function*(Z,le){var Te,Le;const pt=null===(Le=null===(Te=I.router.getCurrentNavigation())||void 0===Te?void 0:Te.extras)||void 0===Le?void 0:Le.state,Rt=null==pt?void 0:pt.fromNotFound,Pt=window.location.href.replace(window.location.origin,"");return I.memory.isLogged&&I.memory.userAttr?Z(!0):(I.memory.previousUrl=Rt?"home":Pt,I.router.navigateByUrl("/reload"),Z(!1))});return function(Z,le){return k.apply(this,arguments)}}())}}return m.\u0275fac=function(l){return new(l||m)(A.LFG(Sn.S),A.LFG(Jt.F0))},m.\u0275prov=A.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();const bn=[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"login",loadChildren:()=>Promise.all([R.e(3743),R.e(8592),R.e(6158)]).then(R.bind(R,6158)).then(m=>m.LoginModule)},{path:"register",loadChildren:()=>Promise.all([R.e(3743),R.e(8592),R.e(4174)]).then(R.bind(R,4174)).then(m=>m.RegisterModule)},{path:"restore",loadChildren:()=>Promise.all([R.e(3743),R.e(8592),R.e(5970)]).then(R.bind(R,5970)).then(m=>m.RestoreModule)},{path:"home",loadChildren:()=>Promise.all([R.e(9179),R.e(126),R.e(8592),R.e(7054)]).then(R.bind(R,7054)).then(m=>m.HomeModule),canActivate:[zn]},{path:"menu",loadChildren:()=>R.e(4909).then(R.bind(R,4909)).then(m=>m.MenuModule),canActivate:[zn]},{path:"edit-user",loadChildren:()=>Promise.all([R.e(8592),R.e(6173)]).then(R.bind(R,6173)).then(m=>m.EditUserModule),canActivate:[zn]},{path:"payment-methods",loadChildren:()=>Promise.all([R.e(9179),R.e(6890)]).then(R.bind(R,6890)).then(m=>m.PaymentMethodsModule),canActivate:[zn]},{path:"payment-history",loadChildren:()=>Promise.all([R.e(8592),R.e(2986)]).then(R.bind(R,2986)).then(m=>m.PaymentHistoryModule),canActivate:[zn]},{path:"wallet-history",loadChildren:()=>Promise.all([R.e(8592),R.e(3134)]).then(R.bind(R,3134)).then(m=>m.WalletHistoryModule),canActivate:[zn]},{path:"reload",loadChildren:()=>R.e(4591).then(R.bind(R,4591)).then(m=>m.ReloadModule)},{path:"list",loadChildren:()=>Promise.all([R.e(9179),R.e(341)]).then(R.bind(R,341)).then(m=>m.ListModule),canActivate:[zn]},{path:"code",loadChildren:()=>Promise.all([R.e(126),R.e(6215)]).then(R.bind(R,7488)).then(m=>m.CodeModule),canActivate:[zn]},{path:"payresult",loadChildren:()=>R.e(1348).then(R.bind(R,1348)).then(m=>m.PayresultModule)},{path:"device",loadChildren:()=>R.e(1348).then(R.bind(R,1348)).then(m=>m.PayresultModule)},{path:"registerresult",loadChildren:()=>R.e(1348).then(R.bind(R,1348)).then(m=>m.PayresultModule)},{path:"**",loadChildren:()=>R.e(8822).then(R.bind(R,8822)).then(m=>m.NotFoundModule)}];let Fr=(()=>{class m{}return m.\u0275fac=function(l){return new(l||m)},m.\u0275mod=A.oAB({type:m}),m.\u0275inj=A.cJS({imports:[[Jt.Bz.forRoot(bn,{preloadingStrategy:Jt.wm})],Jt.Bz]}),m})();var qn=R(4156);class Bt{}const X="*";function ve(m,a){return{type:7,name:m,definitions:a,options:{}}}function C(m,a=null){return{type:4,styles:a,timings:m}}function z(m,a=null){return{type:2,steps:m,options:a}}function H(m){return{type:6,styles:m,offset:null}}function ne(m,a,l=null){return{type:1,expr:m,animation:a,options:l}}function wt(m){Promise.resolve(null).then(m)}class Dt{constructor(a=0,l=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=a+l}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){wt(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(a=>a()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(a){this._position=this.totalTime?a*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(a){const l="start"==a?this._onStartFns:this._onDoneFns;l.forEach(p=>p()),l.length=0}}class mn{constructor(a){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=a;let l=0,p=0,I=0;const k=this.players.length;0==k?wt(()=>this._onFinish()):this.players.forEach(Z=>{Z.onDone(()=>{++l==k&&this._onFinish()}),Z.onDestroy(()=>{++p==k&&this._onDestroy()}),Z.onStart(()=>{++I==k&&this._onStart()})}),this.totalTime=this.players.reduce((Z,le)=>Math.max(Z,le.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this.players.forEach(a=>a.init())}onStart(a){this._onStartFns.push(a)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(a=>a()),this._onStartFns=[])}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(a=>a.play())}pause(){this.players.forEach(a=>a.pause())}restart(){this.players.forEach(a=>a.restart())}finish(){this._onFinish(),this.players.forEach(a=>a.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(a=>a.destroy()),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this.players.forEach(a=>a.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(a){const l=a*this.totalTime;this.players.forEach(p=>{const I=p.totalTime?Math.min(1,l/p.totalTime):1;p.setPosition(I)})}getPosition(){const a=this.players.reduce((l,p)=>null===l||p.totalTime>l.totalTime?p:l,null);return null!=a?a.getPosition():0}beforeDestroy(){this.players.forEach(a=>{a.beforeDestroy&&a.beforeDestroy()})}triggerCallback(a){const l="start"==a?this._onStartFns:this._onDoneFns;l.forEach(p=>p()),l.length=0}}function An(m,a){if(1&m&&(A.TgZ(0,"span",3),A._uU(1),A.qZA()),2&m){const l=A.oxw();A.xp6(1),A.Oqu(l.spinnerMessage)}}let yr=(()=>{class m{constructor(l){this.spinner=l,this.spinner.message$.subscribe(p=>{this.spinnerMessage=p})}ngOnInit(){}}return m.\u0275fac=function(l){return new(l||m)(A.Y36(qn.V))},m.\u0275cmp=A.Xpm({type:m,selectors:[["app-loader-page"]],decls:4,vars:1,consts:[[1,"box-loader"],[1,"loader"],["class","text-span",4,"ngIf"],[1,"text-span"]],template:function(l,p){1&l&&(A.TgZ(0,"main"),A.TgZ(1,"div",0),A._UZ(2,"div",1),A.YNc(3,An,2,1,"span",2),A.qZA(),A.qZA()),2&l&&(A.xp6(3),A.Q6J("ngIf",p.spinnerMessage))},directives:[i.O5],styles:['@charset "UTF-8";main[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;display:flex;align-items:center;justify-content:center;background-color:#fff}.box-loader[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%}span[_ngcontent-%COMP%]{margin-top:1rem;font-family:"Roboto";font-size:1.25rem;font-weight:400;line-height:1.25rem;text-align:center}.loader[_ngcontent-%COMP%]{width:50px;aspect-ratio:1;border-radius:50%;border:8px solid;border-color:#000 #0000;animation:l1 1s infinite}@keyframes l1{to{transform:rotate(.5turn)}}'],data:{animation:[ve("fadeInOut",[ne(":enter",[H({opacity:0}),C("3000ms ease-in",H({opacity:1}))]),ne(":leave",[C("3000ms ease-out",H({opacity:0}))])])]}}),m})();function Hr(m,a){1&m&&A._UZ(0,"app-loader-page")}let Yn=(()=>{class m{constructor(l,p){this.spinner=l,this.cdr=p,this.canViewSpinner=!1}ngOnInit(){this.spinner.loading$.subscribe(l=>{this.canViewSpinner=l,this.cdr.detectChanges()})}ngAfterViewInit(){}}return m.\u0275fac=function(l){return new(l||m)(A.Y36(qn.V),A.Y36(A.sBO))},m.\u0275cmp=A.Xpm({type:m,selectors:[["app-root"]],decls:2,vars:1,consts:[[4,"ngIf"]],template:function(l,p){1&l&&(A._UZ(0,"router-outlet"),A.YNc(1,Hr,1,0,"app-loader-page",0)),2&l&&(A.xp6(1),A.Q6J("ngIf",p.canViewSpinner))},directives:[Jt.lC,i.O5,yr],styles:[""]}),m})();var fr=R(700);function Io(){return"undefined"!=typeof window&&void 0!==window.document}function co(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Nr(m){switch(m.length){case 0:return new Dt;case 1:return m[0];default:return new mn(m)}}function Kr(m,a,l,p,I={},k={}){const Z=[],le=[];let Te=-1,Le=null;if(p.forEach(pt=>{const Rt=pt.offset,Pt=Rt==Te,Cn=Pt&&Le||{};Object.keys(pt).forEach(Kt=>{let dn=Kt,On=pt[Kt];if("offset"!==Kt)switch(dn=a.normalizePropertyName(dn,Z),On){case"!":On=I[Kt];break;case X:On=k[Kt];break;default:On=a.normalizeStyleValue(Kt,dn,On,Z)}Cn[dn]=On}),Pt||le.push(Cn),Le=Cn,Te=Rt}),Z.length){const pt="\n - ";throw new Error(`Unable to animate due to the following errors:${pt}${Z.join(pt)}`)}return le}function Xo(m,a,l,p){switch(a){case"start":m.onStart(()=>p(l&&ko(l,"start",m)));break;case"done":m.onDone(()=>p(l&&ko(l,"done",m)));break;case"destroy":m.onDestroy(()=>p(l&&ko(l,"destroy",m)))}}function ko(m,a,l){const p=l.totalTime,k=To(m.element,m.triggerName,m.fromState,m.toState,a||m.phaseName,null==p?m.totalTime:p,!!l.disabled),Z=m._data;return null!=Z&&(k._data=Z),k}function To(m,a,l,p,I="",k=0,Z){return{element:m,triggerName:a,fromState:l,toState:p,phaseName:I,totalTime:k,disabled:!!Z}}function xr(m,a,l){let p;return m instanceof Map?(p=m.get(a),p||m.set(a,p=l)):(p=m[a],p||(p=m[a]=l)),p}function Lo(m){const a=m.indexOf(":");return[m.substring(1,a),m.substr(a+1)]}let Bo=(m,a)=>!1,po=(m,a)=>!1,uo=(m,a,l)=>[];const bi=co();(bi||"undefined"!=typeof Element)&&(Bo=Io()?(m,a)=>{for(;a&&a!==document.documentElement;){if(a===m)return!0;a=a.parentNode||a.host}return!1}:(m,a)=>m.contains(a),po=(()=>{if(bi||Element.prototype.matches)return(m,a)=>m.matches(a);{const m=Element.prototype,a=m.matchesSelector||m.mozMatchesSelector||m.msMatchesSelector||m.oMatchesSelector||m.webkitMatchesSelector;return a?(l,p)=>a.apply(l,[p]):po}})(),uo=(m,a,l)=>{let p=[];if(l){const I=m.querySelectorAll(a);for(let k=0;k{const p=l.replace(/([a-z])([A-Z])/g,"$1-$2");a[p]=m[l]}),a}let Zo=(()=>{class m{validateStyleProperty(l){return qr(l)}matchesElement(l,p){return Ao(l,p)}containsElement(l,p){return Jo(l,p)}query(l,p,I){return Xr(l,p,I)}computeStyle(l,p,I){return I||""}animate(l,p,I,k,Z,le=[],Te){return new Dt(I,k)}}return m.\u0275fac=function(l){return new(l||m)},m.\u0275prov=A.Yz7({token:m,factory:m.\u0275fac}),m})(),$o=(()=>{class m{}return m.NOOP=new Zo,m})();const yo="ng-enter",jo="ng-leave",G="ng-trigger",x=".ng-trigger",J="ng-animating",Ee=".ng-animating";function Qe(m){if("number"==typeof m)return m;const a=m.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:st(parseFloat(a[1]),a[2])}function st(m,a){return"s"===a?1e3*m:m}function T(m,a,l){return m.hasOwnProperty("duration")?m:function(m,a,l){let I,k=0,Z="";if("string"==typeof m){const le=m.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===le)return a.push(`The provided timing value "${m}" is invalid.`),{duration:0,delay:0,easing:""};I=st(parseFloat(le[1]),le[2]);const Te=le[3];null!=Te&&(k=st(parseFloat(Te),le[4]));const Le=le[5];Le&&(Z=Le)}else I=m;if(!l){let le=!1,Te=a.length;I<0&&(a.push("Duration values below 0 are not allowed for this animation step."),le=!0),k<0&&(a.push("Delay values below 0 are not allowed for this animation step."),le=!0),le&&a.splice(Te,0,`The provided timing value "${m}" is invalid.`)}return{duration:I,delay:k,easing:Z}}(m,a,l)}function E(m,a={}){return Object.keys(m).forEach(l=>{a[l]=m[l]}),a}function Pe(m,a,l={}){if(a)for(let p in m)l[p]=m[p];else E(m,l);return l}function ut(m,a,l){return l?a+":"+l+";":""}function Wt(m){let a="";for(let l=0;l{const I=Qi(p);l&&!l.hasOwnProperty(p)&&(l[p]=m.style[I]),m.style[I]=a[p]}),co()&&Wt(m))}function Wn(m,a){m.style&&(Object.keys(a).forEach(l=>{const p=Qi(l);m.style[p]=""}),co()&&Wt(m))}function kn(m){return Array.isArray(m)?1==m.length?m[0]:z(m):m}const kr=new RegExp("{{\\s*(.+?)\\s*}}","g");function eo(m){let a=[];if("string"==typeof m){let l;for(;l=kr.exec(m);)a.push(l[1]);kr.lastIndex=0}return a}function lr(m,a,l){const p=m.toString(),I=p.replace(kr,(k,Z)=>{let le=a[Z];return a.hasOwnProperty(Z)||(l.push(`Please provide a value for the animation param ${Z}`),le=""),le.toString()});return I==p?m:I}function vr(m){const a=[];let l=m.next();for(;!l.done;)a.push(l.value),l=m.next();return a}const wi=/-+([a-z0-9])/g;function Qi(m){return m.replace(wi,(...a)=>a[1].toUpperCase())}function fo(m){return m.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ei(m,a){return 0===m||0===a}function Si(m,a,l){const p=Object.keys(l);if(p.length&&a.length){let k=a[0],Z=[];if(p.forEach(le=>{k.hasOwnProperty(le)||Z.push(le),k[le]=l[le]}),Z.length)for(var I=1;Ifunction(m,a,l){if(":"==m[0]){const Te=function(m,a){switch(m){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,p)=>parseFloat(p)>parseFloat(l);case":decrement":return(l,p)=>parseFloat(p) *"}}(m,l);if("function"==typeof Te)return void a.push(Te);m=Te}const p=m.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==p||p.length<4)return l.push(`The provided transition expression "${m}" is not supported`),a;const I=p[1],k=p[2],Z=p[3];a.push(at(I,Z));"<"==k[0]&&!("*"==I&&"*"==Z)&&a.push(at(Z,I))}(p,l,a)):l.push(m),l}const Ho=new Set(["true","1"]),ci=new Set(["false","0"]);function at(m,a){const l=Ho.has(m)||ci.has(m),p=Ho.has(a)||ci.has(a);return(I,k)=>{let Z="*"==m||m==I,le="*"==a||a==k;return!Z&&l&&"boolean"==typeof I&&(Z=I?Ho.has(m):ci.has(m)),!le&&p&&"boolean"==typeof k&&(le=k?Ho.has(a):ci.has(a)),Z&&le}}const $s=new RegExp("s*:selfs*,?","g");function hr(m,a,l){return new Ii(m).build(a,l)}class Ii{constructor(a){this._driver=a}build(a,l){const p=new ts(l);return this._resetContextStyleTimingState(p),Ft(this,kn(a),p)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles={},a.collectedStyles[""]={},a.currentTime=0}visitTrigger(a,l){let p=l.queryCount=0,I=l.depCount=0;const k=[],Z=[];return"@"==a.name.charAt(0)&&l.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),a.definitions.forEach(le=>{if(this._resetContextStyleTimingState(l),0==le.type){const Te=le,Le=Te.name;Le.toString().split(/\s*,\s*/).forEach(pt=>{Te.name=pt,k.push(this.visitState(Te,l))}),Te.name=Le}else if(1==le.type){const Te=this.visitTransition(le,l);p+=Te.queryCount,I+=Te.depCount,Z.push(Te)}else l.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:a.name,states:k,transitions:Z,queryCount:p,depCount:I,options:null}}visitState(a,l){const p=this.visitStyle(a.styles,l),I=a.options&&a.options.params||null;if(p.containsDynamicStyles){const k=new Set,Z=I||{};if(p.styles.forEach(le=>{if(Go(le)){const Te=le;Object.keys(Te).forEach(Le=>{eo(Te[Le]).forEach(pt=>{Z.hasOwnProperty(pt)||k.add(pt)})})}}),k.size){const le=vr(k.values());l.errors.push(`state("${a.name}", ...) must define default values for all the following style substitutions: ${le.join(", ")}`)}}return{type:0,name:a.name,style:p,options:I?{params:I}:null}}visitTransition(a,l){l.queryCount=0,l.depCount=0;const p=Ft(this,kn(a.animation),l);return{type:1,matchers:es(a.expr,l.errors),animation:p,queryCount:l.queryCount,depCount:l.depCount,options:_o(a.options)}}visitSequence(a,l){return{type:2,steps:a.steps.map(p=>Ft(this,p,l)),options:_o(a.options)}}visitGroup(a,l){const p=l.currentTime;let I=0;const k=a.steps.map(Z=>{l.currentTime=p;const le=Ft(this,Z,l);return I=Math.max(I,l.currentTime),le});return l.currentTime=I,{type:3,steps:k,options:_o(a.options)}}visitAnimate(a,l){const p=function(m,a){let l=null;if(m.hasOwnProperty("duration"))l=m;else if("number"==typeof m)return pr(T(m,a).duration,0,"");const p=m;if(p.split(/\s+/).some(k=>"{"==k.charAt(0)&&"{"==k.charAt(1))){const k=pr(0,0,"");return k.dynamic=!0,k.strValue=p,k}return l=l||T(p,a),pr(l.duration,l.delay,l.easing)}(a.timings,l.errors);l.currentAnimateTimings=p;let I,k=a.styles?a.styles:H({});if(5==k.type)I=this.visitKeyframes(k,l);else{let Z=a.styles,le=!1;if(!Z){le=!0;const Le={};p.easing&&(Le.easing=p.easing),Z=H(Le)}l.currentTime+=p.duration+p.delay;const Te=this.visitStyle(Z,l);Te.isEmptyStep=le,I=Te}return l.currentAnimateTimings=null,{type:4,timings:p,style:I,options:null}}visitStyle(a,l){const p=this._makeStyleAst(a,l);return this._validateStyleAst(p,l),p}_makeStyleAst(a,l){const p=[];Array.isArray(a.styles)?a.styles.forEach(Z=>{"string"==typeof Z?Z==X?p.push(Z):l.errors.push(`The provided style string value ${Z} is not allowed.`):p.push(Z)}):p.push(a.styles);let I=!1,k=null;return p.forEach(Z=>{if(Go(Z)){const le=Z,Te=le.easing;if(Te&&(k=Te,delete le.easing),!I)for(let Le in le)if(le[Le].toString().indexOf("{{")>=0){I=!0;break}}}),{type:6,styles:p,easing:k,offset:a.offset,containsDynamicStyles:I,options:null}}_validateStyleAst(a,l){const p=l.currentAnimateTimings;let I=l.currentTime,k=l.currentTime;p&&k>0&&(k-=p.duration+p.delay),a.styles.forEach(Z=>{"string"!=typeof Z&&Object.keys(Z).forEach(le=>{if(!this._driver.validateStyleProperty(le))return void l.errors.push(`The provided animation property "${le}" is not a supported CSS property for animations`);const Te=l.collectedStyles[l.currentQuerySelector],Le=Te[le];let pt=!0;Le&&(k!=I&&k>=Le.startTime&&I<=Le.endTime&&(l.errors.push(`The CSS property "${le}" that exists between the times of "${Le.startTime}ms" and "${Le.endTime}ms" is also being animated in a parallel animation between the times of "${k}ms" and "${I}ms"`),pt=!1),k=Le.startTime),pt&&(Te[le]={startTime:k,endTime:I}),l.options&&function(m,a,l){const p=a.params||{},I=eo(m);I.length&&I.forEach(k=>{p.hasOwnProperty(k)||l.push(`Unable to resolve the local animation param ${k} in the given list of values`)})}(Z[le],l.options,l.errors)})})}visitKeyframes(a,l){const p={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push("keyframes() must be placed inside of a call to animate()"),p;let k=0;const Z=[];let le=!1,Te=!1,Le=0;const pt=a.steps.map(Sr=>{const Rr=this._makeStyleAst(Sr,l);let bo=null!=Rr.offset?Rr.offset:function(m){if("string"==typeof m)return null;let a=null;if(Array.isArray(m))m.forEach(l=>{if(Go(l)&&l.hasOwnProperty("offset")){const p=l;a=parseFloat(p.offset),delete p.offset}});else if(Go(m)&&m.hasOwnProperty("offset")){const l=m;a=parseFloat(l.offset),delete l.offset}return a}(Rr.styles),ur=0;return null!=bo&&(k++,ur=Rr.offset=bo),Te=Te||ur<0||ur>1,le=le||ur0&&k{const bo=Pt>0?Rr==Cn?1:Pt*Rr:Z[Rr],ur=bo*On;l.currentTime=Kt+dn.delay+ur,dn.duration=ur,this._validateStyleAst(Sr,l),Sr.offset=bo,p.styles.push(Sr)}),p}visitReference(a,l){return{type:8,animation:Ft(this,kn(a.animation),l),options:_o(a.options)}}visitAnimateChild(a,l){return l.depCount++,{type:9,options:_o(a.options)}}visitAnimateRef(a,l){return{type:10,animation:this.visitReference(a.animation,l),options:_o(a.options)}}visitQuery(a,l){const p=l.currentQuerySelector,I=a.options||{};l.queryCount++,l.currentQuery=a;const[k,Z]=function(m){const a=!!m.split(/\s*,\s*/).find(l=>":self"==l);return a&&(m=m.replace($s,"")),m=m.replace(/@\*/g,x).replace(/@\w+/g,l=>x+"-"+l.substr(1)).replace(/:animating/g,Ee),[m,a]}(a.selector);l.currentQuerySelector=p.length?p+" "+k:k,xr(l.collectedStyles,l.currentQuerySelector,{});const le=Ft(this,kn(a.animation),l);return l.currentQuery=null,l.currentQuerySelector=p,{type:11,selector:k,limit:I.limit||0,optional:!!I.optional,includeSelf:Z,animation:le,originalSelector:a.selector,options:_o(a.options)}}visitStagger(a,l){l.currentQuery||l.errors.push("stagger() can only be used inside of query()");const p="full"===a.timings?{duration:0,delay:0,easing:"full"}:T(a.timings,l.errors,!0);return{type:12,animation:Ft(this,kn(a.animation),l),timings:p,options:null}}}class ts{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Go(m){return!Array.isArray(m)&&"object"==typeof m}function _o(m){return m?(m=E(m)).params&&(m.params=function(m){return m?E(m):null}(m.params)):m={},m}function pr(m,a,l){return{duration:m,delay:a,easing:l}}function to(m,a,l,p,I,k,Z=null,le=!1){return{type:1,element:m,keyframes:a,preStyleProps:l,postStyleProps:p,duration:I,delay:k,totalTime:I+k,easing:Z,subTimeline:le}}class no{constructor(){this._map=new Map}consume(a){let l=this._map.get(a);return l?this._map.delete(a):l=[],l}append(a,l){let p=this._map.get(a);p||this._map.set(a,p=[]),p.push(...l)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const rs=new RegExp(":enter","g"),Ma=new RegExp(":leave","g");function os(m,a,l,p,I,k={},Z={},le,Te,Le=[]){return(new is).buildKeyframes(m,a,l,p,I,k,Z,le,Te,Le)}class is{buildKeyframes(a,l,p,I,k,Z,le,Te,Le,pt=[]){Le=Le||new no;const Rt=new ss(a,l,Le,I,k,pt,[]);Rt.options=Te,Rt.currentTimeline.setStyles([Z],null,Rt.errors,Te),Ft(this,p,Rt);const Pt=Rt.timelines.filter(Cn=>Cn.containsAnimation());if(Pt.length&&Object.keys(le).length){const Cn=Pt[Pt.length-1];Cn.allowOnlyTimelineStyles()||Cn.setStyles([le],null,Rt.errors,Te)}return Pt.length?Pt.map(Cn=>Cn.buildKeyframes()):[to(l,[],[],[],0,0,"",!1)]}visitTrigger(a,l){}visitState(a,l){}visitTransition(a,l){}visitAnimateChild(a,l){const p=l.subInstructions.consume(l.element);if(p){const I=l.createSubContext(a.options),k=l.currentTimeline.currentTime,Z=this._visitSubInstructions(p,I,I.options);k!=Z&&l.transformIntoNewTimeline(Z)}l.previousNode=a}visitAnimateRef(a,l){const p=l.createSubContext(a.options);p.transformIntoNewTimeline(),this.visitReference(a.animation,p),l.transformIntoNewTimeline(p.currentTimeline.currentTime),l.previousNode=a}_visitSubInstructions(a,l,p){let k=l.currentTimeline.currentTime;const Z=null!=p.duration?Qe(p.duration):null,le=null!=p.delay?Qe(p.delay):null;return 0!==Z&&a.forEach(Te=>{const Le=l.appendInstructionToTimeline(Te,Z,le);k=Math.max(k,Le.duration+Le.delay)}),k}visitReference(a,l){l.updateOptions(a.options,!0),Ft(this,a.animation,l),l.previousNode=a}visitSequence(a,l){const p=l.subContextCount;let I=l;const k=a.options;if(k&&(k.params||k.delay)&&(I=l.createSubContext(k),I.transformIntoNewTimeline(),null!=k.delay)){6==I.previousNode.type&&(I.currentTimeline.snapshotCurrentStyles(),I.previousNode=ui);const Z=Qe(k.delay);I.delayNextStep(Z)}a.steps.length&&(a.steps.forEach(Z=>Ft(this,Z,I)),I.currentTimeline.applyStylesToKeyframe(),I.subContextCount>p&&I.transformIntoNewTimeline()),l.previousNode=a}visitGroup(a,l){const p=[];let I=l.currentTimeline.currentTime;const k=a.options&&a.options.delay?Qe(a.options.delay):0;a.steps.forEach(Z=>{const le=l.createSubContext(a.options);k&&le.delayNextStep(k),Ft(this,Z,le),I=Math.max(I,le.currentTimeline.currentTime),p.push(le.currentTimeline)}),p.forEach(Z=>l.currentTimeline.mergeTimelineCollectedStyles(Z)),l.transformIntoNewTimeline(I),l.previousNode=a}_visitTiming(a,l){if(a.dynamic){const p=a.strValue;return T(l.params?lr(p,l.params,l.errors):p,l.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,l){const p=l.currentAnimateTimings=this._visitTiming(a.timings,l),I=l.currentTimeline;p.delay&&(l.incrementTime(p.delay),I.snapshotCurrentStyles());const k=a.style;5==k.type?this.visitKeyframes(k,l):(l.incrementTime(p.duration),this.visitStyle(k,l),I.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=a}visitStyle(a,l){const p=l.currentTimeline,I=l.currentAnimateTimings;!I&&p.getCurrentStyleProperties().length&&p.forwardFrame();const k=I&&I.easing||a.easing;a.isEmptyStep?p.applyEmptyStep(k):p.setStyles(a.styles,k,l.errors,l.options),l.previousNode=a}visitKeyframes(a,l){const p=l.currentAnimateTimings,I=l.currentTimeline.duration,k=p.duration,le=l.createSubContext().currentTimeline;le.easing=p.easing,a.styles.forEach(Te=>{le.forwardTime((Te.offset||0)*k),le.setStyles(Te.styles,Te.easing,l.errors,l.options),le.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(le),l.transformIntoNewTimeline(I+k),l.previousNode=a}visitQuery(a,l){const p=l.currentTimeline.currentTime,I=a.options||{},k=I.delay?Qe(I.delay):0;k&&(6===l.previousNode.type||0==p&&l.currentTimeline.getCurrentStyleProperties().length)&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=ui);let Z=p;const le=l.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!I.optional,l.errors);l.currentQueryTotal=le.length;let Te=null;le.forEach((Le,pt)=>{l.currentQueryIndex=pt;const Rt=l.createSubContext(a.options,Le);k&&Rt.delayNextStep(k),Le===l.element&&(Te=Rt.currentTimeline),Ft(this,a.animation,Rt),Rt.currentTimeline.applyStylesToKeyframe(),Z=Math.max(Z,Rt.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(Z),Te&&(l.currentTimeline.mergeTimelineCollectedStyles(Te),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=a}visitStagger(a,l){const p=l.parentContext,I=l.currentTimeline,k=a.timings,Z=Math.abs(k.duration),le=Z*(l.currentQueryTotal-1);let Te=Z*l.currentQueryIndex;switch(k.duration<0?"reverse":k.easing){case"reverse":Te=le-Te;break;case"full":Te=p.currentStaggerTime}const pt=l.currentTimeline;Te&&pt.delayNextStep(Te);const Rt=pt.currentTime;Ft(this,a.animation,l),l.previousNode=a,p.currentStaggerTime=I.currentTime-Rt+(I.startTime-p.currentTimeline.startTime)}}const ui={};class ss{constructor(a,l,p,I,k,Z,le,Te){this._driver=a,this.element=l,this.subInstructions=p,this._enterClassName=I,this._leaveClassName=k,this.errors=Z,this.timelines=le,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ui,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Te||new Mi(this._driver,l,0),le.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,l){if(!a)return;const p=a;let I=this.options;null!=p.duration&&(I.duration=Qe(p.duration)),null!=p.delay&&(I.delay=Qe(p.delay));const k=p.params;if(k){let Z=I.params;Z||(Z=this.options.params={}),Object.keys(k).forEach(le=>{(!l||!Z.hasOwnProperty(le))&&(Z[le]=lr(k[le],Z,this.errors))})}}_copyOptions(){const a={};if(this.options){const l=this.options.params;if(l){const p=a.params={};Object.keys(l).forEach(I=>{p[I]=l[I]})}}return a}createSubContext(a=null,l,p){const I=l||this.element,k=new ss(this._driver,I,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(I,p||0));return k.previousNode=this.previousNode,k.currentAnimateTimings=this.currentAnimateTimings,k.options=this._copyOptions(),k.updateOptions(a),k.currentQueryIndex=this.currentQueryIndex,k.currentQueryTotal=this.currentQueryTotal,k.parentContext=this,this.subContextCount++,k}transformIntoNewTimeline(a){return this.previousNode=ui,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,l,p){const I={duration:null!=l?l:a.duration,delay:this.currentTimeline.currentTime+(null!=p?p:0)+a.delay,easing:""},k=new xa(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,I,a.stretchStartingKeyframe);return this.timelines.push(k),I}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,l,p,I,k,Z){let le=[];if(I&&le.push(this.element),a.length>0){a=(a=a.replace(rs,"."+this._enterClassName)).replace(Ma,"."+this._leaveClassName);let Le=this._driver.query(this.element,a,1!=p);0!==p&&(Le=p<0?Le.slice(Le.length+p,Le.length):Le.slice(0,p)),le.push(...Le)}return!k&&0==le.length&&Z.push(`\`query("${l}")\` returned zero elements. (Use \`query("${l}", { optional: true })\` if you wish to allow this.)`),le}}class Mi{constructor(a,l,p,I){this._driver=a,this.element=l,this.startTime=p,this._elementTimelineStylesLookup=I,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const l=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||l?(this.forwardTime(this.currentTime+a),l&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,l){return this.applyStylesToKeyframe(),new Mi(this._driver,a,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,l){this._localTimelineStyles[a]=l,this._globalTimelineStyles[a]=l,this._styleSummary[a]={time:this.currentTime,value:l}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&(this._previousKeyframe.easing=a),Object.keys(this._globalTimelineStyles).forEach(l=>{this._backFill[l]=this._globalTimelineStyles[l]||X,this._currentKeyframe[l]=X}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,l,p,I){l&&(this._previousKeyframe.easing=l);const k=I&&I.params||{},Z=function(m,a){const l={};let p;return m.forEach(I=>{"*"===I?(p=p||Object.keys(a),p.forEach(k=>{l[k]=X})):Pe(I,!1,l)}),l}(a,this._globalTimelineStyles);Object.keys(Z).forEach(le=>{const Te=lr(Z[le],k,p);this._pendingStyles[le]=Te,this._localTimelineStyles.hasOwnProperty(le)||(this._backFill[le]=this._globalTimelineStyles.hasOwnProperty(le)?this._globalTimelineStyles[le]:X),this._updateStyle(le,Te)})}applyStylesToKeyframe(){const a=this._pendingStyles,l=Object.keys(a);0!=l.length&&(this._pendingStyles={},l.forEach(p=>{this._currentKeyframe[p]=a[p]}),Object.keys(this._localTimelineStyles).forEach(p=>{this._currentKeyframe.hasOwnProperty(p)||(this._currentKeyframe[p]=this._localTimelineStyles[p])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(a=>{const l=this._localTimelineStyles[a];this._pendingStyles[a]=l,this._updateStyle(a,l)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let l in this._currentKeyframe)a.push(l);return a}mergeTimelineCollectedStyles(a){Object.keys(a._styleSummary).forEach(l=>{const p=this._styleSummary[l],I=a._styleSummary[l];(!p||I.time>p.time)&&this._updateStyle(l,I.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,l=new Set,p=1===this._keyframes.size&&0===this.duration;let I=[];this._keyframes.forEach((le,Te)=>{const Le=Pe(le,!0);Object.keys(Le).forEach(pt=>{const Rt=Le[pt];"!"==Rt?a.add(pt):Rt==X&&l.add(pt)}),p||(Le.offset=Te/this.duration),I.push(Le)});const k=a.size?vr(a.values()):[],Z=l.size?vr(l.values()):[];if(p){const le=I[0],Te=E(le);le.offset=0,Te.offset=1,I=[le,Te]}return to(this.element,I,k,Z,this.duration,this.startTime,this.easing,!1)}}class xa extends Mi{constructor(a,l,p,I,k,Z,le=!1){super(a,l,Z.delay),this.keyframes=p,this.preStyleProps=I,this.postStyleProps=k,this._stretchStartingKeyframe=le,this.timings={duration:Z.duration,delay:Z.delay,easing:Z.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:l,duration:p,easing:I}=this.timings;if(this._stretchStartingKeyframe&&l){const k=[],Z=p+l,le=l/Z,Te=Pe(a[0],!1);Te.offset=0,k.push(Te);const Le=Pe(a[0],!1);Le.offset=js(le),k.push(Le);const pt=a.length-1;for(let Rt=1;Rt<=pt;Rt++){let Pt=Pe(a[Rt],!1);Pt.offset=js((l+Pt.offset*p)/Z),k.push(Pt)}p=Z,l=0,I="",a=k}return to(this.element,a,this.preStyleProps,this.postStyleProps,p,l,I,!0)}}function js(m,a=3){const l=Math.pow(10,a-1);return Math.round(m*l)/l}class ls{}class fa extends ls{normalizePropertyName(a,l){return Qi(a)}normalizeStyleValue(a,l,p,I){let k="";const Z=p.toString().trim();if(d[l]&&0!==p&&"0"!==p)if("number"==typeof p)k="px";else{const le=p.match(/^[+-]?[\d\.]+([a-z]*)$/);le&&0==le[1].length&&I.push(`Please provide a CSS unit value for ${a}:${p}`)}return Z+k}}const d=(()=>function(m){const a={};return m.forEach(l=>a[l]=!0),a}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function u(m,a,l,p,I,k,Z,le,Te,Le,pt,Rt,Pt){return{type:0,element:m,triggerName:a,isRemovalTransition:I,fromState:l,fromStyles:k,toState:p,toStyles:Z,timelines:le,queriedElements:Te,preStyleProps:Le,postStyleProps:pt,totalTime:Rt,errors:Pt}}const _={};class F{constructor(a,l,p){this._triggerName=a,this.ast=l,this._stateStyles=p}match(a,l,p,I){return function(m,a,l,p,I){return m.some(k=>k(a,l,p,I))}(this.ast.matchers,a,l,p,I)}buildStyles(a,l,p){const I=this._stateStyles["*"],k=this._stateStyles[a],Z=I?I.buildStyles(l,p):{};return k?k.buildStyles(l,p):Z}build(a,l,p,I,k,Z,le,Te,Le,pt){const Rt=[],Pt=this.ast.options&&this.ast.options.params||_,Kt=this.buildStyles(p,le&&le.params||_,Rt),dn=Te&&Te.params||_,On=this.buildStyles(I,dn,Rt),Sr=new Set,Rr=new Map,bo=new Map,ur="void"===I,oa={params:Object.assign(Object.assign({},Pt),dn)},pi=pt?[]:os(a,l,this.ast.animation,k,Z,Kt,On,oa,Le,Rt);let ho=0;if(pi.forEach(Cr=>{ho=Math.max(Cr.duration+Cr.delay,ho)}),Rt.length)return u(l,this._triggerName,p,I,ur,Kt,On,[],[],Rr,bo,ho,Rt);pi.forEach(Cr=>{const oi=Cr.element,Hl=xr(Rr,oi,{});Cr.preStyleProps.forEach(Ir=>Hl[Ir]=!0);const ia=xr(bo,oi,{});Cr.postStyleProps.forEach(Ir=>ia[Ir]=!0),oi!==l&&Sr.add(oi)});const Ko=vr(Sr.values());return u(l,this._triggerName,p,I,ur,Kt,On,pi,Ko,Rr,bo,ho)}}class We{constructor(a,l,p){this.styles=a,this.defaultParams=l,this.normalizer=p}buildStyles(a,l){const p={},I=E(this.defaultParams);return Object.keys(a).forEach(k=>{const Z=a[k];null!=Z&&(I[k]=Z)}),this.styles.styles.forEach(k=>{if("string"!=typeof k){const Z=k;Object.keys(Z).forEach(le=>{let Te=Z[le];Te.length>1&&(Te=lr(Te,I,l));const Le=this.normalizer.normalizePropertyName(le,l);Te=this.normalizer.normalizeStyleValue(le,Le,Te,l),p[Le]=Te})}}),p}}class $t{constructor(a,l,p){this.name=a,this.ast=l,this._normalizer=p,this.transitionFactories=[],this.states={},l.states.forEach(I=>{this.states[I.name]=new We(I.style,I.options&&I.options.params||{},p)}),ln(this.states,"true","1"),ln(this.states,"false","0"),l.transitions.forEach(I=>{this.transitionFactories.push(new F(a,I,this.states))}),this.fallbackTransition=function(m,a,l){return new F(m,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Z,le)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,l,p,I){return this.transitionFactories.find(Z=>Z.match(a,l,p,I))||null}matchStyles(a,l,p){return this.fallbackTransition.buildStyles(a,l,p)}}function ln(m,a,l){m.hasOwnProperty(a)?m.hasOwnProperty(l)||(m[l]=m[a]):m.hasOwnProperty(l)&&(m[a]=m[l])}const tn=new no;class cr{constructor(a,l,p){this.bodyNode=a,this._driver=l,this._normalizer=p,this._animations={},this._playersById={},this.players=[]}register(a,l){const p=[],I=hr(this._driver,l,p);if(p.length)throw new Error(`Unable to build the animation due to the following errors: ${p.join("\n")}`);this._animations[a]=I}_buildPlayer(a,l,p){const I=a.element,k=Kr(0,this._normalizer,0,a.keyframes,l,p);return this._driver.animate(I,k,a.duration,a.delay,a.easing,[],!0)}create(a,l,p={}){const I=[],k=this._animations[a];let Z;const le=new Map;if(k?(Z=os(this._driver,l,k,yo,jo,{},{},p,tn,I),Z.forEach(pt=>{const Rt=xr(le,pt.element,{});pt.postStyleProps.forEach(Pt=>Rt[Pt]=null)})):(I.push("The requested animation doesn't exist or has already been destroyed"),Z=[]),I.length)throw new Error(`Unable to create the animation due to the following errors: ${I.join("\n")}`);le.forEach((pt,Rt)=>{Object.keys(pt).forEach(Pt=>{pt[Pt]=this._driver.computeStyle(Rt,Pt,X)})});const Le=Nr(Z.map(pt=>{const Rt=le.get(pt.element);return this._buildPlayer(pt,{},Rt)}));return this._playersById[a]=Le,Le.onDestroy(()=>this.destroy(a)),this.players.push(Le),Le}destroy(a){const l=this._getPlayer(a);l.destroy(),delete this._playersById[a];const p=this.players.indexOf(l);p>=0&&this.players.splice(p,1)}_getPlayer(a){const l=this._playersById[a];if(!l)throw new Error(`Unable to find the timeline player referenced by ${a}`);return l}listen(a,l,p,I){const k=To(l,"","","");return Xo(this._getPlayer(a),p,k,I),()=>{}}command(a,l,p,I){if("register"==p)return void this.register(a,I[0]);if("create"==p)return void this.create(a,l,I[0]||{});const k=this._getPlayer(a);switch(p){case"play":k.play();break;case"pause":k.pause();break;case"reset":k.reset();break;case"restart":k.restart();break;case"finish":k.finish();break;case"init":k.init();break;case"setPosition":k.setPosition(parseFloat(I[0]));break;case"destroy":this.destroy(a)}}}const vn="ng-animate-queued",_r="ng-animate-disabled",wr=".ng-animate-disabled",Nl=[],Pa={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},As={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ro="__ng_removed";class Us{constructor(a,l=""){this.namespaceId=l;const p=a&&a.hasOwnProperty("value");if(this.value=null!=(m=p?a.value:a)?m:null,p){const k=E(a);delete k.value,this.options=k}else this.options={};var m;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const l=a.params;if(l){const p=this.options.params;Object.keys(l).forEach(I=>{null==p[I]&&(p[I]=l[I])})}}}const Ms="void",Fa=new Us(Ms);class oo{constructor(a,l,p){this.id=a,this.hostElement=l,this._engine=p,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,Eo(l,this._hostClassName)}listen(a,l,p,I){if(!this._triggers.hasOwnProperty(l))throw new Error(`Unable to listen on the animation trigger event "${p}" because the animation trigger "${l}" doesn't exist!`);if(null==p||0==p.length)throw new Error(`Unable to listen on the animation trigger "${l}" because the provided event is undefined!`);if("start"!=(m=p)&&"done"!=m)throw new Error(`The provided animation trigger event "${p}" for the animation trigger "${l}" is not supported!`);var m;const k=xr(this._elementListeners,a,[]),Z={name:l,phase:p,callback:I};k.push(Z);const le=xr(this._engine.statesByElement,a,{});return le.hasOwnProperty(l)||(Eo(a,G),Eo(a,G+"-"+l),le[l]=Fa),()=>{this._engine.afterFlush(()=>{const Te=k.indexOf(Z);Te>=0&&k.splice(Te,1),this._triggers[l]||delete le[l]})}}register(a,l){return!this._triggers[a]&&(this._triggers[a]=l,!0)}_getTrigger(a){const l=this._triggers[a];if(!l)throw new Error(`The provided animation trigger "${a}" has not been registered!`);return l}trigger(a,l,p,I=!0){const k=this._getTrigger(l),Z=new xi(this.id,l,a);let le=this._engine.statesByElement.get(a);le||(Eo(a,G),Eo(a,G+"-"+l),this._engine.statesByElement.set(a,le={}));let Te=le[l];const Le=new Us(p,this.id);if(!(p&&p.hasOwnProperty("value"))&&Te&&Le.absorbOptions(Te.options),le[l]=Le,Te||(Te=Fa),Le.value!==Ms&&Te.value===Le.value){if(!function(m,a){const l=Object.keys(m),p=Object.keys(a);if(l.length!=p.length)return!1;for(let I=0;I{Wn(a,On),un(a,Sr)})}return}const Pt=xr(this._engine.playersByElement,a,[]);Pt.forEach(dn=>{dn.namespaceId==this.id&&dn.triggerName==l&&dn.queued&&dn.destroy()});let Cn=k.matchTransition(Te.value,Le.value,a,Le.params),Kt=!1;if(!Cn){if(!I)return;Cn=k.fallbackTransition,Kt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:l,transition:Cn,fromState:Te,toState:Le,player:Z,isFallbackTransition:Kt}),Kt||(Eo(a,vn),Z.onStart(()=>{di(a,vn)})),Z.onDone(()=>{let dn=this.players.indexOf(Z);dn>=0&&this.players.splice(dn,1);const On=this._engine.playersByElement.get(a);if(On){let Sr=On.indexOf(Z);Sr>=0&&On.splice(Sr,1)}}),this.players.push(Z),Pt.push(Z),Z}deregister(a){delete this._triggers[a],this._engine.statesByElement.forEach((l,p)=>{delete l[a]}),this._elementListeners.forEach((l,p)=>{this._elementListeners.set(p,l.filter(I=>I.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const l=this._engine.playersByElement.get(a);l&&(l.forEach(p=>p.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,l){const p=this._engine.driver.query(a,x,!0);p.forEach(I=>{if(I[ro])return;const k=this._engine.fetchNamespacesByElement(I);k.size?k.forEach(Z=>Z.triggerLeaveAnimation(I,l,!1,!0)):this.clearElementCache(I)}),this._engine.afterFlushAnimationsDone(()=>p.forEach(I=>this.clearElementCache(I)))}triggerLeaveAnimation(a,l,p,I){const k=this._engine.statesByElement.get(a);if(k){const Z=[];if(Object.keys(k).forEach(le=>{if(this._triggers[le]){const Te=this.trigger(a,le,Ms,I);Te&&Z.push(Te)}}),Z.length)return this._engine.markElementAsRemoved(this.id,a,!0,l),p&&Nr(Z).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const l=this._elementListeners.get(a),p=this._engine.statesByElement.get(a);if(l&&p){const I=new Set;l.forEach(k=>{const Z=k.name;if(I.has(Z))return;I.add(Z);const Te=this._triggers[Z].fallbackTransition,Le=p[Z]||Fa,pt=new Us(Ms),Rt=new xi(this.id,Z,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:Z,transition:Te,fromState:Le,toState:pt,player:Rt,isFallbackTransition:!0})})}}removeNode(a,l){const p=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,l),this.triggerLeaveAnimation(a,l,!0))return;let I=!1;if(p.totalAnimations){const k=p.players.length?p.playersByQueriedElement.get(a):[];if(k&&k.length)I=!0;else{let Z=a;for(;Z=Z.parentNode;)if(p.statesByElement.get(Z)){I=!0;break}}}if(this.prepareLeaveAnimationListeners(a),I)p.markElementAsRemoved(this.id,a,!1,l);else{const k=a[ro];(!k||k===Pa)&&(p.afterFlush(()=>this.clearElementCache(a)),p.destroyInnerAnimations(a),p._onRemovalComplete(a,l))}}insertNode(a,l){Eo(a,this._hostClassName)}drainQueuedTransitions(a){const l=[];return this._queue.forEach(p=>{const I=p.player;if(I.destroyed)return;const k=p.element,Z=this._elementListeners.get(k);Z&&Z.forEach(le=>{if(le.name==p.triggerName){const Te=To(k,p.triggerName,p.fromState.value,p.toState.value);Te._data=a,Xo(p.player,le.phase,Te,le.callback)}}),I.markedForDestroy?this._engine.afterFlush(()=>{I.destroy()}):l.push(p)}),this._queue=[],l.sort((p,I)=>{const k=p.transition.ast.depCount,Z=I.transition.ast.depCount;return 0==k||0==Z?k-Z:this._engine.driver.containsElement(p.element,I.element)?1:-1})}destroy(a){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let l=!1;return this._elementListeners.has(a)&&(l=!0),l=!!this._queue.find(p=>p.element===a)||l,l}}class Hs{constructor(a,l,p){this.bodyNode=a,this.driver=l,this._normalizer=p,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(I,k)=>{}}_onRemovalComplete(a,l){this.onRemovalComplete(a,l)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(l=>{l.players.forEach(p=>{p.queued&&a.push(p)})}),a}createNamespace(a,l){const p=new oo(a,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(p,l):(this.newHostElements.set(l,p),this.collectEnterElement(l)),this._namespaceLookup[a]=p}_balanceNamespaceList(a,l){const p=this._namespaceList.length-1;if(p>=0){let I=!1;for(let k=p;k>=0;k--)if(this.driver.containsElement(this._namespaceList[k].hostElement,l)){this._namespaceList.splice(k+1,0,a),I=!0;break}I||this._namespaceList.splice(0,0,a)}else this._namespaceList.push(a);return this.namespacesByHostElement.set(l,a),a}register(a,l){let p=this._namespaceLookup[a];return p||(p=this.createNamespace(a,l)),p}registerTrigger(a,l,p){let I=this._namespaceLookup[a];I&&I.register(l,p)&&this.totalAnimations++}destroy(a,l){if(!a)return;const p=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(p.hostElement),delete this._namespaceLookup[a];const I=this._namespaceList.indexOf(p);I>=0&&this._namespaceList.splice(I,1)}),this.afterFlushAnimationsDone(()=>p.destroy(l))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const l=new Set,p=this.statesByElement.get(a);if(p){const I=Object.keys(p);for(let k=0;k=0&&this.collectedLeaveElements.splice(Z,1)}if(a){const Z=this._fetchNamespace(a);Z&&Z.insertNode(l,p)}I&&this.collectEnterElement(l)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,l){l?this.disabledNodes.has(a)||(this.disabledNodes.add(a),Eo(a,_r)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),di(a,_r))}removeNode(a,l,p,I){if(zo(l)){const k=a?this._fetchNamespace(a):null;if(k?k.removeNode(l,I):this.markElementAsRemoved(a,l,!1,I),p){const Z=this.namespacesByHostElement.get(l);Z&&Z.id!==a&&Z.removeNode(l,I)}}else this._onRemovalComplete(l,I)}markElementAsRemoved(a,l,p,I){this.collectedLeaveElements.push(l),l[ro]={namespaceId:a,setForRemoval:I,hasAnimation:p,removedBeforeQueried:!1}}listen(a,l,p,I,k){return zo(l)?this._fetchNamespace(a).listen(l,p,I,k):()=>{}}_buildInstruction(a,l,p,I,k){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,p,I,a.fromState.options,a.toState.options,l,k)}destroyInnerAnimations(a){let l=this.driver.query(a,x,!0);l.forEach(p=>this.destroyActiveAnimationsForElement(p)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(a,Ee,!0),l.forEach(p=>this.finishActiveQueriedAnimationOnElement(p)))}destroyActiveAnimationsForElement(a){const l=this.playersByElement.get(a);l&&l.forEach(p=>{p.queued?p.markedForDestroy=!0:p.destroy()})}finishActiveQueriedAnimationOnElement(a){const l=this.playersByQueriedElement.get(a);l&&l.forEach(p=>p.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Nr(this.players).onDone(()=>a());a()})}processLeaveNode(a){const l=a[ro];if(l&&l.setForRemoval){if(a[ro]=Pa,l.namespaceId){this.destroyInnerAnimations(a);const p=this._fetchNamespace(l.namespaceId);p&&p.clearElementCache(a)}this._onRemovalComplete(a,l.setForRemoval)}this.driver.matchesElement(a,wr)&&this.markElementAsDisabled(a,!1),this.driver.query(a,wr,!0).forEach(p=>{this.markElementAsDisabled(p,!1)})}flush(a=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((p,I)=>this._balanceNamespaceList(p,I)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let p=0;pp()),this._flushFns=[],this._whenQuietFns.length){const p=this._whenQuietFns;this._whenQuietFns=[],l.length?Nr(l).onDone(()=>{p.forEach(I=>I())}):p.forEach(I=>I())}}reportError(a){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${a.join("\n")}`)}_flushAnimations(a,l){const p=new no,I=[],k=new Map,Z=[],le=new Map,Te=new Map,Le=new Map,pt=new Set;this.disabledNodes.forEach(Nt=>{pt.add(Nt);const Xt=this.driver.query(Nt,".ng-animate-queued",!0);for(let fn=0;fn{const fn=yo+dn++;Kt.set(Xt,fn),Nt.forEach($n=>Eo($n,fn))});const On=[],Sr=new Set,Rr=new Set;for(let Nt=0;NtSr.add($n)):Rr.add(Xt))}const bo=new Map,ur=Oi(Pt,Array.from(Sr));ur.forEach((Nt,Xt)=>{const fn=jo+dn++;bo.set(Xt,fn),Nt.forEach($n=>Eo($n,fn))}),a.push(()=>{Cn.forEach((Nt,Xt)=>{const fn=Kt.get(Xt);Nt.forEach($n=>di($n,fn))}),ur.forEach((Nt,Xt)=>{const fn=bo.get(Xt);Nt.forEach($n=>di($n,fn))}),On.forEach(Nt=>{this.processLeaveNode(Nt)})});const oa=[],pi=[];for(let Nt=this._namespaceList.length-1;Nt>=0;Nt--)this._namespaceList[Nt].drainQueuedTransitions(l).forEach(fn=>{const $n=fn.player,Ur=fn.element;if(oa.push($n),this.collectedEnterElements.length){const qo=Ur[ro];if(qo&&qo.setForMove)return void $n.destroy()}const gi=!Rt||!this.driver.containsElement(Rt,Ur),Co=bo.get(Ur),ms=Kt.get(Ur),Tr=this._buildInstruction(fn,p,ms,Co,gi);if(Tr.errors&&Tr.errors.length)pi.push(Tr);else{if(gi)return $n.onStart(()=>Wn(Ur,Tr.fromStyles)),$n.onDestroy(()=>un(Ur,Tr.toStyles)),void I.push($n);if(fn.isFallbackTransition)return $n.onStart(()=>Wn(Ur,Tr.fromStyles)),$n.onDestroy(()=>un(Ur,Tr.toStyles)),void I.push($n);Tr.timelines.forEach(qo=>qo.stretchStartingKeyframe=!0),p.append(Ur,Tr.timelines),Z.push({instruction:Tr,player:$n,element:Ur}),Tr.queriedElements.forEach(qo=>xr(le,qo,[]).push($n)),Tr.preStyleProps.forEach((qo,ya)=>{const va=Object.keys(qo);if(va.length){let ii=Te.get(ya);ii||Te.set(ya,ii=new Set),va.forEach(Xa=>ii.add(Xa))}}),Tr.postStyleProps.forEach((qo,ya)=>{const va=Object.keys(qo);let ii=Le.get(ya);ii||Le.set(ya,ii=new Set),va.forEach(Xa=>ii.add(Xa))})}});if(pi.length){const Nt=[];pi.forEach(Xt=>{Nt.push(`@${Xt.triggerName} has failed due to:\n`),Xt.errors.forEach(fn=>Nt.push(`- ${fn}\n`))}),oa.forEach(Xt=>Xt.destroy()),this.reportError(Nt)}const ho=new Map,Ko=new Map;Z.forEach(Nt=>{const Xt=Nt.element;p.has(Xt)&&(Ko.set(Xt,Xt),this._beforeAnimationBuild(Nt.player.namespaceId,Nt.instruction,ho))}),I.forEach(Nt=>{const Xt=Nt.element;this._getPreviousPlayers(Xt,!1,Nt.namespaceId,Nt.triggerName,null).forEach($n=>{xr(ho,Xt,[]).push($n),$n.destroy()})});const Cr=On.filter(Nt=>Ws(Nt,Te,Le)),oi=new Map;Gs(oi,this.driver,Rr,Le,X).forEach(Nt=>{Ws(Nt,Te,Le)&&Cr.push(Nt)});const ia=new Map;Cn.forEach((Nt,Xt)=>{Gs(ia,this.driver,new Set(Nt),Te,"!")}),Cr.forEach(Nt=>{const Xt=oi.get(Nt),fn=ia.get(Nt);oi.set(Nt,Object.assign(Object.assign({},Xt),fn))});const Ir=[],sa=[],qa={};Z.forEach(Nt=>{const{element:Xt,player:fn,instruction:$n}=Nt;if(p.has(Xt)){if(pt.has(Xt))return fn.onDestroy(()=>un(Xt,$n.toStyles)),fn.disabled=!0,fn.overrideTotalTime($n.totalTime),void I.push(fn);let Ur=qa;if(Ko.size>1){let Co=Xt;const ms=[];for(;Co=Co.parentNode;){const Tr=Ko.get(Co);if(Tr){Ur=Tr;break}ms.push(Co)}ms.forEach(Tr=>Ko.set(Tr,Ur))}const gi=this._buildAnimation(fn.namespaceId,$n,ho,k,ia,oi);if(fn.setRealPlayer(gi),Ur===qa)Ir.push(fn);else{const Co=this.playersByElement.get(Ur);Co&&Co.length&&(fn.parentPlayer=Nr(Co)),I.push(fn)}}else Wn(Xt,$n.fromStyles),fn.onDestroy(()=>un(Xt,$n.toStyles)),sa.push(fn),pt.has(Xt)&&I.push(fn)}),sa.forEach(Nt=>{const Xt=k.get(Nt.element);if(Xt&&Xt.length){const fn=Nr(Xt);Nt.setRealPlayer(fn)}}),I.forEach(Nt=>{Nt.parentPlayer?Nt.syncPlayerEvents(Nt.parentPlayer):Nt.destroy()});for(let Nt=0;Nt!gi.destroyed);Ur.length?Ys(this,Xt,Ur):this.processLeaveNode(Xt)}return On.length=0,Ir.forEach(Nt=>{this.players.push(Nt),Nt.onDone(()=>{Nt.destroy();const Xt=this.players.indexOf(Nt);this.players.splice(Xt,1)}),Nt.play()}),Ir}elementContainsData(a,l){let p=!1;const I=l[ro];return I&&I.setForRemoval&&(p=!0),this.playersByElement.has(l)&&(p=!0),this.playersByQueriedElement.has(l)&&(p=!0),this.statesByElement.has(l)&&(p=!0),this._fetchNamespace(a).elementContainsData(l)||p}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,l,p,I,k){let Z=[];if(l){const le=this.playersByQueriedElement.get(a);le&&(Z=le)}else{const le=this.playersByElement.get(a);if(le){const Te=!k||k==Ms;le.forEach(Le=>{Le.queued||!Te&&Le.triggerName!=I||Z.push(Le)})}}return(p||I)&&(Z=Z.filter(le=>!(p&&p!=le.namespaceId||I&&I!=le.triggerName))),Z}_beforeAnimationBuild(a,l,p){const k=l.element,Z=l.isRemovalTransition?void 0:a,le=l.isRemovalTransition?void 0:l.triggerName;for(const Te of l.timelines){const Le=Te.element,pt=Le!==k,Rt=xr(p,Le,[]);this._getPreviousPlayers(Le,pt,Z,le,l.toState).forEach(Cn=>{const Kt=Cn.getRealPlayer();Kt.beforeDestroy&&Kt.beforeDestroy(),Cn.destroy(),Rt.push(Cn)})}Wn(k,l.fromStyles)}_buildAnimation(a,l,p,I,k,Z){const le=l.triggerName,Te=l.element,Le=[],pt=new Set,Rt=new Set,Pt=l.timelines.map(Kt=>{const dn=Kt.element;pt.add(dn);const On=dn[ro];if(On&&On.removedBeforeQueried)return new Dt(Kt.duration,Kt.delay);const Sr=dn!==Te,Rr=function(m){const a=[];return fi(m,a),a}((p.get(dn)||Nl).map(ho=>ho.getRealPlayer())).filter(ho=>!!ho.element&&ho.element===dn),bo=k.get(dn),ur=Z.get(dn),oa=Kr(0,this._normalizer,0,Kt.keyframes,bo,ur),pi=this._buildPlayer(Kt,oa,Rr);if(Kt.subTimeline&&I&&Rt.add(dn),Sr){const ho=new xi(a,le,dn);ho.setRealPlayer(pi),Le.push(ho)}return pi});Le.forEach(Kt=>{xr(this.playersByQueriedElement,Kt.element,[]).push(Kt),Kt.onDone(()=>function(m,a,l){let p;if(m instanceof Map){if(p=m.get(a),p){if(p.length){const I=p.indexOf(l);p.splice(I,1)}0==p.length&&m.delete(a)}}else if(p=m[a],p){if(p.length){const I=p.indexOf(l);p.splice(I,1)}0==p.length&&delete m[a]}return p}(this.playersByQueriedElement,Kt.element,Kt))}),pt.forEach(Kt=>Eo(Kt,J));const Cn=Nr(Pt);return Cn.onDestroy(()=>{pt.forEach(Kt=>di(Kt,J)),un(Te,l.toStyles)}),Rt.forEach(Kt=>{xr(I,Kt,[]).push(Cn)}),Cn}_buildPlayer(a,l,p){return l.length>0?this.driver.animate(a.element,l,a.duration,a.delay,a.easing,p):new Dt(a.duration,a.delay)}}class xi{constructor(a,l,p){this.namespaceId=a,this.triggerName=l,this.element=p,this._player=new Dt,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,Object.keys(this._queuedCallbacks).forEach(l=>{this._queuedCallbacks[l].forEach(p=>Xo(a,l,void 0,p))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const l=this._player;l.triggerCallback&&a.onStart(()=>l.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,l){xr(this._queuedCallbacks,a,[]).push(l)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const l=this._player;l.triggerCallback&&l.triggerCallback(a)}}function zo(m){return m&&1===m.nodeType}function Ri(m,a){const l=m.style.display;return m.style.display=null!=a?a:"none",l}function Gs(m,a,l,p,I){const k=[];l.forEach(Te=>k.push(Ri(Te)));const Z=[];p.forEach((Te,Le)=>{const pt={};Te.forEach(Rt=>{const Pt=pt[Rt]=a.computeStyle(Le,Rt,I);(!Pt||0==Pt.length)&&(Le[ro]=As,Z.push(Le))}),m.set(Le,pt)});let le=0;return l.forEach(Te=>Ri(Te,k[le++])),Z}function Oi(m,a){const l=new Map;if(m.forEach(le=>l.set(le,[])),0==a.length)return l;const I=new Set(a),k=new Map;function Z(le){if(!le)return 1;let Te=k.get(le);if(Te)return Te;const Le=le.parentNode;return Te=l.has(Le)?Le:I.has(Le)?1:Z(Le),k.set(le,Te),Te}return a.forEach(le=>{const Te=Z(le);1!==Te&&l.get(Te).push(le)}),l}const Pi="$$classes";function Eo(m,a){if(m.classList)m.classList.add(a);else{let l=m[Pi];l||(l=m[Pi]={}),l[a]=!0}}function di(m,a){if(m.classList)m.classList.remove(a);else{let l=m[Pi];l&&delete l[a]}}function Ys(m,a,l){Nr(l).onDone(()=>m.processLeaveNode(a))}function fi(m,a){for(let l=0;lI.add(k)):a.set(m,p),l.delete(m),!0}class fs{constructor(a,l,p){this.bodyNode=a,this._driver=l,this._normalizer=p,this._triggerCache={},this.onRemovalComplete=(I,k)=>{},this._transitionEngine=new Hs(a,l,p),this._timelineEngine=new cr(a,l,p),this._transitionEngine.onRemovalComplete=(I,k)=>this.onRemovalComplete(I,k)}registerTrigger(a,l,p,I,k){const Z=a+"-"+I;let le=this._triggerCache[Z];if(!le){const Te=[],Le=hr(this._driver,k,Te);if(Te.length)throw new Error(`The animation trigger "${I}" has failed to build due to the following errors:\n - ${Te.join("\n - ")}`);le=function(m,a,l){return new $t(m,a,l)}(I,Le,this._normalizer),this._triggerCache[Z]=le}this._transitionEngine.registerTrigger(l,I,le)}register(a,l){this._transitionEngine.register(a,l)}destroy(a,l){this._transitionEngine.destroy(a,l)}onInsert(a,l,p,I){this._transitionEngine.insertNode(a,l,p,I)}onRemove(a,l,p,I){this._transitionEngine.removeNode(a,l,I||!1,p)}disableAnimations(a,l){this._transitionEngine.markElementAsDisabled(a,l)}process(a,l,p,I){if("@"==p.charAt(0)){const[k,Z]=Lo(p);this._timelineEngine.command(k,l,Z,I)}else this._transitionEngine.trigger(a,l,p,I)}listen(a,l,p,I,k){if("@"==p.charAt(0)){const[Z,le]=Lo(p);return this._timelineEngine.listen(Z,l,le,k)}return this._transitionEngine.listen(a,l,p,I,k)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function xs(m,a){let l=null,p=null;return Array.isArray(a)&&a.length?(l=ha(a[0]),a.length>1&&(p=ha(a[a.length-1]))):a&&(l=ha(a)),l||p?new Ks(m,l,p):null}let Ks=(()=>{class m{constructor(l,p,I){this._element=l,this._startStyles=p,this._endStyles=I,this._state=0;let k=m.initialStylesByElement.get(l);k||m.initialStylesByElement.set(l,k={}),this._initialStyles=k}start(){this._state<1&&(this._startStyles&&un(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(un(this._element,this._initialStyles),this._endStyles&&(un(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(m.initialStylesByElement.delete(this._element),this._startStyles&&(Wn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Wn(this._element,this._endStyles),this._endStyles=null),un(this._element,this._initialStyles),this._state=3)}}return m.initialStylesByElement=new WeakMap,m})();function ha(m){let a=null;const l=Object.keys(m);for(let p=0;pthis._handleCallback(Te)}apply(){(function(m,a){const l=g(m,"").trim();let p=0;l.length&&(function(m,a){let l=0;for(let p=0;p=this._delay&&p>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),hs(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(m,a){const p=g(m,"").split(","),I=Qs(p,a);I>=0&&(p.splice(I,1),v(m,"",p.join(",")))}(this._element,this._name))}}function Fi(m,a,l){v(m,"PlayState",l,Xs(m,a))}function Xs(m,a){const l=g(m,"");return l.indexOf(",")>0?Qs(l.split(","),a):Qs([l],a)}function Qs(m,a){for(let l=0;l=0)return l;return-1}function hs(m,a,l){l?m.removeEventListener(pa,a):m.addEventListener(pa,a)}function v(m,a,l,p){const I=qs+a;if(null!=p){const k=m.style[I];if(k.length){const Z=k.split(",");Z[p]=l,l=Z.join(",")}}m.style[I]=l}function g(m,a){return m.style[qs+a]||""}class W{constructor(a,l,p,I,k,Z,le,Te){this.element=a,this.keyframes=l,this.animationName=p,this._duration=I,this._delay=k,this._finalStyles=le,this._specialStyles=Te,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=Z||"linear",this.totalTime=I+k,this._buildStyler()}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(a=>a()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(a=>a()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(a){this._styler.setPosition(a)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Ll(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(a){const l="start"==a?this._onStartFns:this._onDoneFns;l.forEach(p=>p()),l.length=0}beforeDestroy(){this.init();const a={};if(this.hasStarted()){const l=this._state>=3;Object.keys(this._finalStyles).forEach(p=>{"offset"!=p&&(a[p]=l?this._finalStyles[p]:Ji(this.element,p))})}this.currentSnapshot=a}}class fe extends Dt{constructor(a,l){super(),this.element=a,this._startingStyles={},this.__initialized=!1,this._styles=Mo(l)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(a=>{this._startingStyles[a]=this.element.style[a]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(a=>this.element.style.setProperty(a,this._styles[a])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(a=>{const l=this._startingStyles[a];l?this.element.style.setProperty(a,l):this.element.style.removeProperty(a)}),this._startingStyles=null,super.destroy())}}class Mt{constructor(){this._count=0}validateStyleProperty(a){return qr(a)}matchesElement(a,l){return Ao(a,l)}containsElement(a,l){return Jo(a,l)}query(a,l,p){return Xr(a,l,p)}computeStyle(a,l,p){return window.getComputedStyle(a)[l]}buildKeyframeElement(a,l,p){p=p.map(le=>Mo(le));let I=`@keyframes ${l} {\n`,k="";p.forEach(le=>{k=" ";const Te=parseFloat(le.offset);I+=`${k}${100*Te}% {\n`,k+=" ",Object.keys(le).forEach(Le=>{const pt=le[Le];switch(Le){case"offset":return;case"easing":return void(pt&&(I+=`${k}animation-timing-function: ${pt};\n`));default:return void(I+=`${k}${Le}: ${pt};\n`)}}),I+=`${k}}\n`}),I+="}\n";const Z=document.createElement("style");return Z.textContent=I,Z}animate(a,l,p,I,k,Z=[],le){const Te=Z.filter(On=>On instanceof W),Le={};ei(p,I)&&Te.forEach(On=>{let Sr=On.currentSnapshot;Object.keys(Sr).forEach(Rr=>Le[Rr]=Sr[Rr])});const pt=function(m){let a={};return m&&(Array.isArray(m)?m:[m]).forEach(p=>{Object.keys(p).forEach(I=>{"offset"==I||"easing"==I||(a[I]=p[I])})}),a}(l=Si(a,l,Le));if(0==p)return new fe(a,pt);const Rt="gen_css_kf_"+this._count++,Pt=this.buildKeyframeElement(a,Rt,l);(function(m){var a;const l=null===(a=m.getRootNode)||void 0===a?void 0:a.call(m);return"undefined"!=typeof ShadowRoot&&l instanceof ShadowRoot?l:document.head})(a).appendChild(Pt);const Kt=xs(a,l),dn=new W(a,l,Rt,p,I,k,pt,Kt);return dn.onDestroy(()=>{var m;(m=Pt).parentNode.removeChild(m)}),dn}}class Yo{constructor(a,l,p,I){this.element=a,this.keyframes=l,this.options=p,this._specialStyles=I,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=p.duration,this._delay=p.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(a,l,p){return a.animate(l,p)}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(l=>{"offset"!=l&&(a[l]=this._finished?this._finalKeyframe[l]:Ji(this.element,l))}),this.currentSnapshot=a}triggerCallback(a){const l="start"==a?this._onStartFns:this._onDoneFns;l.forEach(p=>p()),l.length=0}}class Oo{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(hi().toString()),this._cssKeyframesDriver=new Mt}validateStyleProperty(a){return qr(a)}matchesElement(a,l){return Ao(a,l)}containsElement(a,l){return Jo(a,l)}query(a,l,p){return Xr(a,l,p)}computeStyle(a,l,p){return window.getComputedStyle(a)[l]}overrideWebAnimationsSupport(a){this._isNativeImpl=a}animate(a,l,p,I,k,Z=[],le){if(!le&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(a,l,p,I,k,Z);const pt={duration:p,delay:I,fill:0==I?"both":"forwards"};k&&(pt.easing=k);const Rt={},Pt=Z.filter(Kt=>Kt instanceof Yo);ei(p,I)&&Pt.forEach(Kt=>{let dn=Kt.currentSnapshot;Object.keys(dn).forEach(On=>Rt[On]=dn[On])});const Cn=xs(a,l=Si(a,l=l.map(Kt=>Pe(Kt,!1)),Rt));return new Yo(a,l,pt,Cn)}}function hi(){return Io()&&Element.prototype.animate||{}}let Ni=(()=>{class m extends Bt{constructor(l,p){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(p.body,{id:"0",encapsulation:A.ifc.None,styles:[],data:{animation:[]}})}build(l){const p=this._nextAnimationId.toString();this._nextAnimationId++;const I=Array.isArray(l)?z(l):l;return xu(this._renderer,null,p,"register",[I]),new Ba(p,this._renderer)}}return m.\u0275fac=function(l){return new(l||m)(A.LFG(A.FYo),A.LFG(i.K0))},m.\u0275prov=A.Yz7({token:m,factory:m.\u0275fac}),m})();class Ba extends class{}{constructor(a,l){super(),this._id=a,this._renderer=l}create(a,l){return new ih(this._id,a,l||{},this._renderer)}}class ih{constructor(a,l,p,I){this.id=a,this.element=l,this._renderer=I,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",p)}_listen(a,l){return this._renderer.listen(this.element,`@@${this.id}:${a}`,l)}_command(a,...l){return xu(this._renderer,this.element,this.id,a,l)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){var a,l;return null!==(l=null===(a=this._renderer.engine.players[+this.id])||void 0===a?void 0:a.getPosition())&&void 0!==l?l:0}}function xu(m,a,l,p,I){return m.setProperty(a,`@@${l}:${p}`,I)}const Ru="@.disabled";let sh=(()=>{class m{constructor(l,p,I){this.delegate=l,this.engine=p,this._zone=I,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),p.onRemovalComplete=(k,Z)=>{Z&&Z.parentNode(k)&&Z.removeChild(k.parentNode,k)}}createRenderer(l,p){const k=this.delegate.createRenderer(l,p);if(!(l&&p&&p.data&&p.data.animation)){let pt=this._rendererCache.get(k);return pt||(pt=new Zs("",k,this.engine),this._rendererCache.set(k,pt)),pt}const Z=p.id,le=p.id+"-"+this._currentId;this._currentId++,this.engine.register(le,l);const Te=pt=>{Array.isArray(pt)?pt.forEach(Te):this.engine.registerTrigger(Z,le,l,pt.name,pt)};return p.data.animation.forEach(Te),new ah(this,le,k,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(l,p,I){l>=0&&lp(I)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(k=>{const[Z,le]=k;Z(le)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([p,I]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return m.\u0275fac=function(l){return new(l||m)(A.LFG(A.FYo),A.LFG(fs),A.LFG(A.R0b))},m.\u0275prov=A.Yz7({token:m,factory:m.\u0275fac}),m})();class Zs{constructor(a,l,p){this.namespaceId=a,this.delegate=l,this.engine=p,this.destroyNode=this.delegate.destroyNode?I=>l.destroyNode(I):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(a,l){return this.delegate.createElement(a,l)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,l){this.delegate.appendChild(a,l),this.engine.onInsert(this.namespaceId,l,a,!1)}insertBefore(a,l,p,I=!0){this.delegate.insertBefore(a,l,p),this.engine.onInsert(this.namespaceId,l,a,I)}removeChild(a,l,p){this.engine.onRemove(this.namespaceId,l,this.delegate,p)}selectRootElement(a,l){return this.delegate.selectRootElement(a,l)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,l,p,I){this.delegate.setAttribute(a,l,p,I)}removeAttribute(a,l,p){this.delegate.removeAttribute(a,l,p)}addClass(a,l){this.delegate.addClass(a,l)}removeClass(a,l){this.delegate.removeClass(a,l)}setStyle(a,l,p,I){this.delegate.setStyle(a,l,p,I)}removeStyle(a,l,p){this.delegate.removeStyle(a,l,p)}setProperty(a,l,p){"@"==l.charAt(0)&&l==Ru?this.disableAnimations(a,!!p):this.delegate.setProperty(a,l,p)}setValue(a,l){this.delegate.setValue(a,l)}listen(a,l,p){return this.delegate.listen(a,l,p)}disableAnimations(a,l){this.engine.disableAnimations(a,l)}}class ah extends Zs{constructor(a,l,p,I){super(l,p,I),this.factory=a,this.namespaceId=l}setProperty(a,l,p){"@"==l.charAt(0)?"."==l.charAt(1)&&l==Ru?this.disableAnimations(a,p=void 0===p||!!p):this.engine.process(this.namespaceId,a,l.substr(1),p):this.delegate.setProperty(a,l,p)}listen(a,l,p){if("@"==l.charAt(0)){const I=function(m){switch(m){case"body":return document.body;case"document":return document;case"window":return window;default:return m}}(a);let k=l.substr(1),Z="";return"@"!=k.charAt(0)&&([k,Z]=function(m){const a=m.indexOf(".");return[m.substring(0,a),m.substr(a+1)]}(k)),this.engine.listen(this.namespaceId,I,k,Z,le=>{this.factory.scheduleListenerCallback(le._data||-1,p,le)})}return this.delegate.listen(a,l,p)}}let Va=(()=>{class m extends fs{constructor(l,p,I){super(l.body,p,I)}ngOnDestroy(){this.flush()}}return m.\u0275fac=function(l){return new(l||m)(A.LFG(i.K0),A.LFG($o),A.LFG(ls))},m.\u0275prov=A.Yz7({token:m,factory:m.\u0275fac}),m})();const ni=new A.OlP("AnimationModuleType"),ga=[{provide:Bt,useClass:Ni},{provide:ls,useFactory:function(){return new fa}},{provide:fs,useClass:Va},{provide:A.FYo,useFactory:function(m,a,l){return new sh(m,a,l)},deps:[Tt,fs,A.R0b]}],ps=[{provide:$o,useFactory:function(){return"function"==typeof hi()?new Oo:new Mt}},{provide:ni,useValue:"BrowserAnimations"},...ga],ki=[{provide:$o,useClass:Zo},{provide:ni,useValue:"NoopAnimations"},...ga];let Mc=(()=>{class m{static withConfig(l){return{ngModule:m,providers:l.disableAnimations?ki:ps}}}return m.\u0275fac=function(l){return new(l||m)},m.\u0275mod=A.oAB({type:m}),m.\u0275inj=A.cJS({providers:ps,imports:[nr]}),m})();var ja=R(1841),uh=R(3342);class Ua extends Error{}Ua.prototype.name="InvalidTokenError";var ea=R(1228);let dh=(()=>{class m{constructor(l,p,I){this.memory=l,this.auth=p,this.router=I}setHeaders(){var l;const p=null===(l=this.memory)||void 0===l?void 0:l.deviceKey;return this.memory.isLogged?Object.assign(Object.assign({},this.memory.userAttr&&this.memory.userAttr.username?{username:this.memory.userAttr.username}:{}),{userkey:this.memory.sessionToken||"undefined",devkey:p||"undefined"}):this.memory.sessionToken?{userkey:this.memory.sessionToken,devkey:p||"undefined"}:{devkey:p||"undefined"}}intercept(l,p){const I=l.clone({setHeaders:this.setHeaders()});return p.handle(I).pipe((0,uh.b)(k=>{if(k instanceof ja.Zn){const Z=k.headers.get("userinfo");if(Z)try{const le=function(m,a){if("string"!=typeof m)throw new Ua("Invalid token specified: must be a string");a||(a={});const l=!0===a.header?0:1,p=m.split(".")[l];if("string"!=typeof p)throw new Ua(`Invalid token specified: missing part #${l+1}`);let I;try{I=function(m){let a=m.replace(/-/g,"+").replace(/_/g,"/");switch(a.length%4){case 0:break;case 2:a+="==";break;case 3:a+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(m){return decodeURIComponent(atob(m).replace(/(.)/g,(a,l)=>{let p=l.charCodeAt(0).toString(16).toUpperCase();return p.length<2&&(p="0"+p),"%"+p}))}(a)}catch(l){return atob(a)}}(p)}catch(k){throw new Ua(`Invalid token specified: invalid base64 for part #${l+1} (${k.message})`)}try{return JSON.parse(I)}catch(k){throw new Ua(`Invalid token specified: invalid json for part #${l+1} (${k.message})`)}}(Z);this.memory.userInfo=Object.assign({},le)}catch(le){}}return k},k=>{k instanceof ja.UA&&401==k.status&&this.refreshSession()}))}refreshSession(){var l=this;return(0,Vt.Z)(function*(){try{const p=yield l.auth.getUserSessionFromLocalStorage();p.loged&&(l.memory.userAttr=p.userAttributes,l.memory.saveAuthorizationToken(p.token))}catch(p){l.auth.snappLogout(),l.router.navigateByUrl("/home")}})()}}return m.\u0275fac=function(l){return new(l||m)(A.LFG(Sn.S),A.LFG(ea.e),A.LFG(Jt.F0))},m.\u0275prov=A.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();function ri(m,a,l,p){return new(l||(l=Promise))(function(k,Z){function le(pt){try{Le(p.next(pt))}catch(Rt){Z(Rt)}}function Te(pt){try{Le(p.throw(pt))}catch(Rt){Z(Rt)}}function Le(pt){pt.done?k(pt.value):function(k){return k instanceof l?k:new l(function(Z){Z(k)})}(pt.value).then(le,Te)}Le((p=p.apply(m,a||[])).next())})}var gs,Fc=R(1628);const na=new A.OlP("STORAGE_CONFIG_TOKEN");class Fu extends Fc.K{constructor(){super()}create(){return ri(this,void 0,void 0,function*(){return this})}defineDriver(){return ri(this,void 0,void 0,function*(){})}get driver(){return"noop"}get(a){return ri(this,void 0,void 0,function*(){return null})}set(a,l){return ri(this,void 0,void 0,function*(){})}remove(a){return ri(this,void 0,void 0,function*(){})}clear(){return ri(this,void 0,void 0,function*(){})}length(){return ri(this,void 0,void 0,function*(){return 0})}keys(){return ri(this,void 0,void 0,function*(){return[]})}forEach(a){return ri(this,void 0,void 0,function*(){})}setEncryptionKey(a){}}function Nc(m){return(0,i.PM)(this.platformId)?new Fu:new Fc.K(m)}let Os=gs=class{static forRoot(a=null){return{ngModule:gs,providers:[{provide:na,useValue:a},{provide:Fc.K,useFactory:Nc,deps:[na]}]}}};Os.\u0275fac=function(a){return new(a||Os)},Os.\u0275mod=A.oAB({type:Os}),Os.\u0275inj=A.cJS({});var _h=R(441);(0,i.qS)(R.n(_h)());let Li=(()=>{class m{}return m.\u0275fac=function(l){return new(l||m)},m.\u0275mod=A.oAB({type:m,bootstrap:[Yn]}),m.\u0275inj=A.cJS({providers:[{provide:ja.TP,useClass:dh,multi:!0},{provide:A.soG,useValue:"es-ES"}],imports:[[nr,Fr,Mc,ja.JF,fr.Pc.forRoot(),Os.forRoot()]]}),m})();(0,A.G48)(),dr().bootstrapModule(Li).catch(m=>console.error(m))},863:(Ze,Ne,R)=>{var i={"./ion-accordion_2.entry.js":[8359,8592,8359],"./ion-action-sheet.entry.js":[7321,8592,7321],"./ion-alert.entry.js":[6108,8592,6108],"./ion-app_8.entry.js":[1489,8592,1710],"./ion-avatar_3.entry.js":[305,305],"./ion-back-button.entry.js":[5830,8592,5830],"./ion-backdrop.entry.js":[7757,7757],"./ion-breadcrumb_2.entry.js":[4355,8592,4355],"./ion-button_2.entry.js":[392,392],"./ion-card_5.entry.js":[6911,6911],"./ion-checkbox.entry.js":[937,937],"./ion-chip.entry.js":[8695,8695],"./ion-col_3.entry.js":[6034,6034],"./ion-datetime-button.entry.js":[1135,890,1135],"./ion-datetime_3.entry.js":[8837,890,8592,8837],"./ion-fab_3.entry.js":[4195,8592,4195],"./ion-img.entry.js":[1709,1709],"./ion-infinite-scroll_2.entry.js":[3087,8592,1729],"./ion-input.entry.js":[4513,8592,4513],"./ion-item-option_3.entry.js":[8056,8592,8043],"./ion-item_8.entry.js":[862,8592,862],"./ion-loading.entry.js":[7509,7509],"./ion-menu_3.entry.js":[6272,8592,6272],"./ion-modal.entry.js":[1855,8592,1855],"./ion-nav_2.entry.js":[8708,8592,8708],"./ion-picker-column-internal.entry.js":[1349,8592,1349],"./ion-picker-internal.entry.js":[7915,7915],"./ion-popover.entry.js":[3527,8592,3527],"./ion-progress-bar.entry.js":[4694,4694],"./ion-radio_2.entry.js":[9222,9222],"./ion-range.entry.js":[5277,8592,5277],"./ion-refresher_2.entry.js":[9921,8592,1296],"./ion-reorder_2.entry.js":[3122,8592,1658],"./ion-ripple-effect.entry.js":[1602,1602],"./ion-route_4.entry.js":[5174,5174],"./ion-searchbar.entry.js":[7895,8592,7895],"./ion-segment_2.entry.js":[6164,8592,6164],"./ion-select_3.entry.js":[592,592],"./ion-slide_2.entry.js":[7162,7162],"./ion-spinner.entry.js":[1374,8592,1374],"./ion-split-pane.entry.js":[7896,7896],"./ion-tab-bar_2.entry.js":[5043,8592,5043],"./ion-tab_2.entry.js":[7802,8592,7802],"./ion-text.entry.js":[9072,9072],"./ion-textarea.entry.js":[2191,2191],"./ion-toast.entry.js":[801,801],"./ion-toggle.entry.js":[7110,8592,7110],"./ion-virtual-scroll.entry.js":[431,431]};function A(me){if(!R.o(i,me))return Promise.resolve().then(()=>{var ie=new Error("Cannot find module '"+me+"'");throw ie.code="MODULE_NOT_FOUND",ie});var de=i[me],ae=de[0];return Promise.all(de.slice(1).map(R.e)).then(()=>R(ae))}A.keys=()=>Object.keys(i),A.id=863,Ze.exports=A},8239:(Ze,Ne,R)=>{"use strict";function i(me,de,ae,ie,$,K,Y){try{var j=me[K](Y),V=j.value}catch(L){return void ae(L)}j.done?de(V):Promise.resolve(V).then(ie,$)}function A(me){return function(){var de=this,ae=arguments;return new Promise(function(ie,$){var K=me.apply(de,ae);function Y(V){i(K,ie,$,Y,j,"next",V)}function j(V){i(K,ie,$,Y,j,"throw",V)}Y(void 0)})}}R.d(Ne,{Z:()=>A})}},Ze=>{Ze(Ze.s=8149)}]);