代码拉取完成,页面将自动刷新
"use strict";(self.webpackChunkintroduce=self.webpackChunkintroduce||[]).push([[179],{7176:(et,fe,N)=>{var E=N(1481),R=N(8256),K=N(9541);const ee=[{path:"",redirectTo:"main",pathMatch:"full"},{path:"main",loadChildren:()=>Promise.all([N.e(381),N.e(864),N.e(239),N.e(877)]).then(N.bind(N,7877)).then(_=>_.MainModule)},{path:"dev",loadChildren:()=>Promise.all([N.e(381),N.e(864),N.e(239),N.e(838)]).then(N.bind(N,6838)).then(_=>_.DevModule)},{path:"shader",loadChildren:()=>Promise.all([N.e(381),N.e(701)]).then(N.bind(N,701)).then(_=>_.ShaderModule)},{path:"wave",loadChildren:()=>Promise.all([N.e(381),N.e(864),N.e(310)]).then(N.bind(N,4310)).then(_=>_.WaveModule)}];let te=(()=>{class _{}return _.\u0275fac=function(c){return new(c||_)},_.\u0275mod=R.oAB({type:_}),_.\u0275inj=R.cJS({imports:[K.Bz.forRoot(ee,{useHash:!0}),K.Bz]}),_})(),De=(()=>{class _{constructor(){this.title="introduce"}}return _.\u0275fac=function(c){return new(c||_)},_.\u0275cmp=R.Xpm({type:_,selectors:[["app-root"]],decls:1,vars:0,template:function(c,y){1&c&&R._UZ(0,"router-outlet")},dependencies:[K.lC]}),_})();class me{}const Ee="*";function Ue(_,o=null){return{type:2,steps:_,options:o}}function ae(_){return{type:6,styles:_,offset:null}}function q(_){Promise.resolve().then(_)}class Qe{constructor(o=0,c=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=o+c}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){q(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(o=>o()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(o){this._position=this.totalTime?o*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(o){const c="start"==o?this._onStartFns:this._onDoneFns;c.forEach(y=>y()),c.length=0}}class se{constructor(o){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=o;let c=0,y=0,C=0;const T=this.players.length;0==T?q(()=>this._onFinish()):this.players.forEach(F=>{F.onDone(()=>{++c==T&&this._onFinish()}),F.onDestroy(()=>{++y==T&&this._onDestroy()}),F.onStart(()=>{++C==T&&this._onStart()})}),this.totalTime=this.players.reduce((F,L)=>Math.max(F,L.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this.players.forEach(o=>o.init())}onStart(o){this._onStartFns.push(o)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(o=>o()),this._onStartFns=[])}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(o=>o.play())}pause(){this.players.forEach(o=>o.pause())}restart(){this.players.forEach(o=>o.restart())}finish(){this._onFinish(),this.players.forEach(o=>o.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(o=>o.destroy()),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this.players.forEach(o=>o.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(o){const c=o*this.totalTime;this.players.forEach(y=>{const C=y.totalTime?Math.min(1,c/y.totalTime):1;y.setPosition(C)})}getPosition(){const o=this.players.reduce((c,y)=>null===c||y.totalTime>c.totalTime?y:c,null);return null!=o?o.getPosition():0}beforeDestroy(){this.players.forEach(o=>{o.beforeDestroy&&o.beforeDestroy()})}triggerCallback(o){const c="start"==o?this._onStartFns:this._onDoneFns;c.forEach(y=>y()),c.length=0}}function j(_){return new R.vHH(3e3,!1)}function yn(){return typeof window<"u"&&typeof window.document<"u"}function Un(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Rt(_){switch(_.length){case 0:return new Qe;case 1:return _[0];default:return new se(_)}}function un(_,o,c,y,C=new Map,T=new Map){const F=[],L=[];let H=-1,X=null;if(y.forEach(Ce=>{const Ae=Ce.get("offset"),ot=Ae==H,at=ot&&X||new Map;Ce.forEach((qe,rt)=>{let Pt=rt,kt=qe;if("offset"!==rt)switch(Pt=o.normalizePropertyName(Pt,F),kt){case"!":kt=C.get(rt);break;case Ee:kt=T.get(rt);break;default:kt=o.normalizeStyleValue(rt,Pt,kt,F)}at.set(Pt,kt)}),ot||L.push(at),X=at,H=Ae}),F.length)throw function ln(_){return new R.vHH(3502,!1)}();return L}function Mt(_,o,c,y){switch(o){case"start":_.onStart(()=>y(c&&xn(c,"start",_)));break;case"done":_.onDone(()=>y(c&&xn(c,"done",_)));break;case"destroy":_.onDestroy(()=>y(c&&xn(c,"destroy",_)))}}function xn(_,o,c){const T=Re(_.element,_.triggerName,_.fromState,_.toState,o||_.phaseName,c.totalTime??_.totalTime,!!c.disabled),F=_._data;return null!=F&&(T._data=F),T}function Re(_,o,c,y,C="",T=0,F){return{element:_,triggerName:o,fromState:c,toState:y,phaseName:C,totalTime:T,disabled:!!F}}function Tt(_,o,c){let y=_.get(o);return y||_.set(o,y=c),y}function Ze(_){const o=_.indexOf(":");return[_.substring(1,o),_.slice(o+1)]}let Jn=(_,o)=>!1,Vr=(_,o,c)=>[],er=null;function ut(_){const o=_.parentNode||_.host;return o===er?null:o}(Un()||typeof Element<"u")&&(yn()?(er=(()=>document.documentElement)(),Jn=(_,o)=>{for(;o;){if(o===_)return!0;o=ut(o)}return!1}):Jn=(_,o)=>_.contains(o),Vr=(_,o,c)=>{if(c)return Array.from(_.querySelectorAll(o));const y=_.querySelector(o);return y?[y]:[]});let rn=null,tr=!1;const hr=Jn,yi=Vr;let vi=(()=>{class _{validateStyleProperty(c){return function cn(_){rn||(rn=function ti(){return typeof document<"u"?document.body:null}()||{},tr=!!rn.style&&"WebkitAppearance"in rn.style);let o=!0;return rn.style&&!function fr(_){return"ebkit"==_.substring(1,6)}(_)&&(o=_ in rn.style,!o&&tr&&(o="Webkit"+_.charAt(0).toUpperCase()+_.slice(1)in rn.style)),o}(c)}matchesElement(c,y){return!1}containsElement(c,y){return hr(c,y)}getParentElement(c){return ut(c)}query(c,y,C){return yi(c,y,C)}computeStyle(c,y,C){return C||""}animate(c,y,C,T,F,L=[],H){return new Qe(C,T)}}return _.\u0275fac=function(c){return new(c||_)},_.\u0275prov=R.Yz7({token:_,factory:_.\u0275fac}),_})(),Ir=(()=>{class _{}return _.NOOP=new vi,_})();const B="ng-enter",A="ng-leave",$="ng-trigger",Z=".ng-trigger",Fe="ng-animating",Ve=".ng-animating";function ft(_){if("number"==typeof _)return _;const o=_.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:ue(parseFloat(o[1]),o[2])}function ue(_,o){return"s"===o?1e3*_:_}function Ge(_,o,c){return _.hasOwnProperty("duration")?_:function It(_,o,c){let C,T=0,F="";if("string"==typeof _){const L=_.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===L)return o.push(j()),{duration:0,delay:0,easing:""};C=ue(parseFloat(L[1]),L[2]);const H=L[3];null!=H&&(T=ue(parseFloat(H),L[4]));const X=L[5];X&&(F=X)}else C=_;if(!c){let L=!1,H=o.length;C<0&&(o.push(function z(){return new R.vHH(3100,!1)}()),L=!0),T<0&&(o.push(function Q(){return new R.vHH(3101,!1)}()),L=!0),L&&o.splice(H,0,j())}return{duration:C,delay:T,easing:F}}(_,o,c)}function Gt(_,o={}){return Object.keys(_).forEach(c=>{o[c]=_[c]}),o}function gr(_){const o=new Map;return Object.keys(_).forEach(c=>{o.set(c,_[c])}),o}function gt(_,o=new Map,c){if(c)for(let[y,C]of c)o.set(y,C);for(let[y,C]of _)o.set(y,C);return o}function An(_,o,c){return c?o+":"+c+";":""}function mr(_){let o="";for(let c=0;c<_.style.length;c++){const y=_.style.item(c);o+=An(0,y,_.style.getPropertyValue(y))}for(const c in _.style)_.style.hasOwnProperty(c)&&!c.startsWith("_")&&(o+=An(0,_i(c),_.style[c]));_.setAttribute("style",o)}function We(_,o,c){_.style&&(o.forEach((y,C)=>{const T=rr(C);c&&!c.has(C)&&c.set(C,_.style[T]),_.style[T]=y}),Un()&&mr(_))}function zn(_,o){_.style&&(o.forEach((c,y)=>{const C=rr(y);_.style[C]=""}),Un()&&mr(_))}function dn(_){return Array.isArray(_)?1==_.length?_[0]:Ue(_):_}const nr=new RegExp("{{\\s*(.+?)\\s*}}","g");function Wt(_){let o=[];if("string"==typeof _){let c;for(;c=nr.exec(_);)o.push(c[1]);nr.lastIndex=0}return o}function Gn(_,o,c){const y=_.toString(),C=y.replace(nr,(T,F)=>{let L=o[F];return null==L&&(c.push(function we(_){return new R.vHH(3003,!1)}()),L=""),L.toString()});return C==y?_:C}function Vn(_){const o=[];let c=_.next();for(;!c.done;)o.push(c.value),c=_.next();return o}const sn=/-+([a-z0-9])/g;function rr(_){return _.replace(sn,(...o)=>o[1].toUpperCase())}function _i(_){return _.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function fn(_,o,c){switch(o.type){case 7:return _.visitTrigger(o,c);case 0:return _.visitState(o,c);case 1:return _.visitTransition(o,c);case 2:return _.visitSequence(o,c);case 3:return _.visitGroup(o,c);case 4:return _.visitAnimate(o,c);case 5:return _.visitKeyframes(o,c);case 6:return _.visitStyle(o,c);case 8:return _.visitReference(o,c);case 9:return _.visitAnimateChild(o,c);case 10:return _.visitAnimateRef(o,c);case 11:return _.visitQuery(o,c);case 12:return _.visitStagger(o,c);default:throw function ge(_){return new R.vHH(3004,!1)}()}}function hn(_,o){return window.getComputedStyle(_)[o]}function hs(_,o){const c=[];return"string"==typeof _?_.split(/\s*,\s*/).forEach(y=>function En(_,o,c){if(":"==_[0]){const H=function Ei(_,o){switch(_){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(c,y)=>parseFloat(y)>parseFloat(c);case":decrement":return(c,y)=>parseFloat(y)<parseFloat(c);default:return o.push(function cs(_){return new R.vHH(3016,!1)}()),"* => *"}}(_,c);if("function"==typeof H)return void o.push(H);_=H}const y=_.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==y||y.length<4)return c.push(function hi(_){return new R.vHH(3015,!1)}()),o;const C=y[1],T=y[2],F=y[3];o.push(xs(C,F));"<"==T[0]&&!("*"==C&&"*"==F)&&o.push(xs(F,C))}(y,c,o)):c.push(_),c}const wn=new Set(["true","1"]),wi=new Set(["false","0"]);function xs(_,o){const c=wn.has(_)||wi.has(_),y=wn.has(o)||wi.has(o);return(C,T)=>{let F="*"==_||_==C,L="*"==o||o==T;return!F&&c&&"boolean"==typeof C&&(F=C?wn.has(_):wi.has(_)),!L&&y&&"boolean"==typeof T&&(L=T?wn.has(o):wi.has(o)),F&&L}}const gs=new RegExp("s*:selfs*,?","g");function ms(_,o,c,y){return new vs(_).build(o,c,y)}class vs{constructor(o){this._driver=o}build(o,c,y){const C=new ni(c);return this._resetContextStyleTimingState(C),fn(this,dn(o),C)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles=new Map,o.collectedStyles.set("",new Map),o.currentTime=0}visitTrigger(o,c){let y=c.queryCount=0,C=c.depCount=0;const T=[],F=[];return"@"==o.name.charAt(0)&&c.errors.push(function ze(){return new R.vHH(3006,!1)}()),o.definitions.forEach(L=>{if(this._resetContextStyleTimingState(c),0==L.type){const H=L,X=H.name;X.toString().split(/\s*,\s*/).forEach(Ce=>{H.name=Ce,T.push(this.visitState(H,c))}),H.name=X}else if(1==L.type){const H=this.visitTransition(L,c);y+=H.queryCount,C+=H.depCount,F.push(H)}else c.errors.push(function Ht(){return new R.vHH(3007,!1)}())}),{type:7,name:o.name,states:T,transitions:F,queryCount:y,depCount:C,options:null}}visitState(o,c){const y=this.visitStyle(o.styles,c),C=o.options&&o.options.params||null;if(y.containsDynamicStyles){const T=new Set,F=C||{};y.styles.forEach(L=>{L instanceof Map&&L.forEach(H=>{Wt(H).forEach(X=>{F.hasOwnProperty(X)||T.add(X)})})}),T.size&&(Vn(T.values()),c.errors.push(function lt(_,o){return new R.vHH(3008,!1)}()))}return{type:0,name:o.name,style:y,options:C?{params:C}:null}}visitTransition(o,c){c.queryCount=0,c.depCount=0;const y=fn(this,dn(o.animation),c);return{type:1,matchers:hs(o.expr,c.errors),animation:y,queryCount:c.queryCount,depCount:c.depCount,options:Hr(o.options)}}visitSequence(o,c){return{type:2,steps:o.steps.map(y=>fn(this,y,c)),options:Hr(o.options)}}visitGroup(o,c){const y=c.currentTime;let C=0;const T=o.steps.map(F=>{c.currentTime=y;const L=fn(this,F,c);return C=Math.max(C,c.currentTime),L});return c.currentTime=C,{type:3,steps:T,options:Hr(o.options)}}visitAnimate(o,c){const y=function Ls(_,o){if(_.hasOwnProperty("duration"))return _;if("number"==typeof _)return vr(Ge(_,o).duration,0,"");const c=_;if(c.split(/\s+/).some(T=>"{"==T.charAt(0)&&"{"==T.charAt(1))){const T=vr(0,0,"");return T.dynamic=!0,T.strValue=c,T}const C=Ge(c,o);return vr(C.duration,C.delay,C.easing)}(o.timings,c.errors);c.currentAnimateTimings=y;let C,T=o.styles?o.styles:ae({});if(5==T.type)C=this.visitKeyframes(T,c);else{let F=o.styles,L=!1;if(!F){L=!0;const X={};y.easing&&(X.easing=y.easing),F=ae(X)}c.currentTime+=y.duration+y.delay;const H=this.visitStyle(F,c);H.isEmptyStep=L,C=H}return c.currentAnimateTimings=null,{type:4,timings:y,style:C,options:null}}visitStyle(o,c){const y=this._makeStyleAst(o,c);return this._validateStyleAst(y,c),y}_makeStyleAst(o,c){const y=[],C=Array.isArray(o.styles)?o.styles:[o.styles];for(let L of C)"string"==typeof L?L===Ee?y.push(L):c.errors.push(new R.vHH(3002,!1)):y.push(gr(L));let T=!1,F=null;return y.forEach(L=>{if(L instanceof Map&&(L.has("easing")&&(F=L.get("easing"),L.delete("easing")),!T))for(let H of L.values())if(H.toString().indexOf("{{")>=0){T=!0;break}}),{type:6,styles:y,easing:F,offset:o.offset,containsDynamicStyles:T,options:null}}_validateStyleAst(o,c){const y=c.currentAnimateTimings;let C=c.currentTime,T=c.currentTime;y&&T>0&&(T-=y.duration+y.delay),o.styles.forEach(F=>{"string"!=typeof F&&F.forEach((L,H)=>{const X=c.collectedStyles.get(c.currentQuerySelector),Ce=X.get(H);let Ae=!0;Ce&&(T!=C&&T>=Ce.startTime&&C<=Ce.endTime&&(c.errors.push(function Ot(_,o,c,y,C){return new R.vHH(3010,!1)}()),Ae=!1),T=Ce.startTime),Ae&&X.set(H,{startTime:T,endTime:C}),c.options&&function Di(_,o,c){const y=o.params||{},C=Wt(_);C.length&&C.forEach(T=>{y.hasOwnProperty(T)||c.push(function G(_){return new R.vHH(3001,!1)}())})}(L,c.options,c.errors)})})}visitKeyframes(o,c){const y={type:5,styles:[],options:null};if(!c.currentAnimateTimings)return c.errors.push(function On(){return new R.vHH(3011,!1)}()),y;let T=0;const F=[];let L=!1,H=!1,X=0;const Ce=o.steps.map(kt=>{const Kt=this._makeStyleAst(kt,c);let gn=null!=Kt.offset?Kt.offset:function Fs(_){if("string"==typeof _)return null;let o=null;if(Array.isArray(_))_.forEach(c=>{if(c instanceof Map&&c.has("offset")){const y=c;o=parseFloat(y.get("offset")),y.delete("offset")}});else if(_ instanceof Map&&_.has("offset")){const c=_;o=parseFloat(c.get("offset")),c.delete("offset")}return o}(Kt.styles),Qt=0;return null!=gn&&(T++,Qt=Kt.offset=gn),H=H||Qt<0||Qt>1,L=L||Qt<X,X=Qt,F.push(Qt),Kt});H&&c.errors.push(function $n(){return new R.vHH(3012,!1)}()),L&&c.errors.push(function $t(){return new R.vHH(3200,!1)}());const Ae=o.steps.length;let ot=0;T>0&&T<Ae?c.errors.push(function Ut(){return new R.vHH(3202,!1)}()):0==T&&(ot=1/(Ae-1));const at=Ae-1,qe=c.currentTime,rt=c.currentAnimateTimings,Pt=rt.duration;return Ce.forEach((kt,Kt)=>{const gn=ot>0?Kt==at?1:ot*Kt:F[Kt],Qt=gn*Pt;c.currentTime=qe+rt.delay+Qt,rt.duration=Qt,this._validateStyleAst(kt,c),kt.offset=gn,y.styles.push(kt)}),y}visitReference(o,c){return{type:8,animation:fn(this,dn(o.animation),c),options:Hr(o.options)}}visitAnimateChild(o,c){return c.depCount++,{type:9,options:Hr(o.options)}}visitAnimateRef(o,c){return{type:10,animation:this.visitReference(o.animation,c),options:Hr(o.options)}}visitQuery(o,c){const y=c.currentQuerySelector,C=o.options||{};c.queryCount++,c.currentQuery=o;const[T,F]=function Ds(_){const o=!!_.split(/\s*,\s*/).find(c=>":self"==c);return o&&(_=_.replace(gs,"")),_=_.replace(/@\*/g,Z).replace(/@\w+/g,c=>Z+"-"+c.slice(1)).replace(/:animating/g,Ve),[_,o]}(o.selector);c.currentQuerySelector=y.length?y+" "+T:T,Tt(c.collectedStyles,c.currentQuerySelector,new Map);const L=fn(this,dn(o.animation),c);return c.currentQuery=null,c.currentQuerySelector=y,{type:11,selector:T,limit:C.limit||0,optional:!!C.optional,includeSelf:F,animation:L,originalSelector:o.selector,options:Hr(o.options)}}visitStagger(o,c){c.currentQuery||c.errors.push(function Ct(){return new R.vHH(3013,!1)}());const y="full"===o.timings?{duration:0,delay:0,easing:"full"}:Ge(o.timings,c.errors,!0);return{type:12,animation:fn(this,dn(o.animation),c),timings:y,options:null}}}class ni{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Hr(_){return _?(_=Gt(_)).params&&(_.params=function yr(_){return _?Gt(_):null}(_.params)):_={},_}function vr(_,o,c){return{duration:_,delay:o,easing:c}}function Wi(_,o,c,y,C,T,F=null,L=!1){return{type:1,element:_,keyframes:o,preStyleProps:c,postStyleProps:y,duration:C,delay:T,totalTime:C+T,easing:F,subTimeline:L}}class Ci{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,c){let y=this._map.get(o);y||this._map.set(o,y=[]),y.push(...c)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const Si=new RegExp(":enter","g"),bi=new RegExp(":leave","g");function Mi(_,o,c,y,C,T=new Map,F=new Map,L,H,X=[]){return(new ko).buildKeyframes(_,o,c,y,C,T,F,L,H,X)}class ko{buildKeyframes(o,c,y,C,T,F,L,H,X,Ce=[]){X=X||new Ci;const Ae=new Ti(o,c,X,C,T,Ce,[]);Ae.options=H;const ot=H.delay?ft(H.delay):0;Ae.currentTimeline.delayNextStep(ot),Ae.currentTimeline.setStyles([F],null,Ae.errors,H),fn(this,y,Ae);const at=Ae.timelines.filter(qe=>qe.containsAnimation());if(at.length&&L.size){let qe;for(let rt=at.length-1;rt>=0;rt--){const Pt=at[rt];if(Pt.element===c){qe=Pt;break}}qe&&!qe.allowOnlyTimelineStyles()&&qe.setStyles([L],null,Ae.errors,H)}return at.length?at.map(qe=>qe.buildKeyframes()):[Wi(c,[],[],[],0,ot,"",!1)]}visitTrigger(o,c){}visitState(o,c){}visitTransition(o,c){}visitAnimateChild(o,c){const y=c.subInstructions.get(c.element);if(y){const C=c.createSubContext(o.options),T=c.currentTimeline.currentTime,F=this._visitSubInstructions(y,C,C.options);T!=F&&c.transformIntoNewTimeline(F)}c.previousNode=o}visitAnimateRef(o,c){const y=c.createSubContext(o.options);y.transformIntoNewTimeline(),this._applyAnimationRefDelays([o.options,o.animation.options],c,y),this.visitReference(o.animation,y),c.transformIntoNewTimeline(y.currentTimeline.currentTime),c.previousNode=o}_applyAnimationRefDelays(o,c,y){for(const C of o){const T=C?.delay;if(T){const F="number"==typeof T?T:ft(Gn(T,C?.params??{},c.errors));y.delayNextStep(F)}}}_visitSubInstructions(o,c,y){let T=c.currentTimeline.currentTime;const F=null!=y.duration?ft(y.duration):null,L=null!=y.delay?ft(y.delay):null;return 0!==F&&o.forEach(H=>{const X=c.appendInstructionToTimeline(H,F,L);T=Math.max(T,X.duration+X.delay)}),T}visitReference(o,c){c.updateOptions(o.options,!0),fn(this,o.animation,c),c.previousNode=o}visitSequence(o,c){const y=c.subContextCount;let C=c;const T=o.options;if(T&&(T.params||T.delay)&&(C=c.createSubContext(T),C.transformIntoNewTimeline(),null!=T.delay)){6==C.previousNode.type&&(C.currentTimeline.snapshotCurrentStyles(),C.previousNode=Cn);const F=ft(T.delay);C.delayNextStep(F)}o.steps.length&&(o.steps.forEach(F=>fn(this,F,C)),C.currentTimeline.applyStylesToKeyframe(),C.subContextCount>y&&C.transformIntoNewTimeline()),c.previousNode=o}visitGroup(o,c){const y=[];let C=c.currentTimeline.currentTime;const T=o.options&&o.options.delay?ft(o.options.delay):0;o.steps.forEach(F=>{const L=c.createSubContext(o.options);T&&L.delayNextStep(T),fn(this,F,L),C=Math.max(C,L.currentTimeline.currentTime),y.push(L.currentTimeline)}),y.forEach(F=>c.currentTimeline.mergeTimelineCollectedStyles(F)),c.transformIntoNewTimeline(C),c.previousNode=o}_visitTiming(o,c){if(o.dynamic){const y=o.strValue;return Ge(c.params?Gn(y,c.params,c.errors):y,c.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,c){const y=c.currentAnimateTimings=this._visitTiming(o.timings,c),C=c.currentTimeline;y.delay&&(c.incrementTime(y.delay),C.snapshotCurrentStyles());const T=o.style;5==T.type?this.visitKeyframes(T,c):(c.incrementTime(y.duration),this.visitStyle(T,c),C.applyStylesToKeyframe()),c.currentAnimateTimings=null,c.previousNode=o}visitStyle(o,c){const y=c.currentTimeline,C=c.currentAnimateTimings;!C&&y.hasCurrentStyleProperties()&&y.forwardFrame();const T=C&&C.easing||o.easing;o.isEmptyStep?y.applyEmptyStep(T):y.setStyles(o.styles,T,c.errors,c.options),c.previousNode=o}visitKeyframes(o,c){const y=c.currentAnimateTimings,C=c.currentTimeline.duration,T=y.duration,L=c.createSubContext().currentTimeline;L.easing=y.easing,o.styles.forEach(H=>{L.forwardTime((H.offset||0)*T),L.setStyles(H.styles,H.easing,c.errors,c.options),L.applyStylesToKeyframe()}),c.currentTimeline.mergeTimelineCollectedStyles(L),c.transformIntoNewTimeline(C+T),c.previousNode=o}visitQuery(o,c){const y=c.currentTimeline.currentTime,C=o.options||{},T=C.delay?ft(C.delay):0;T&&(6===c.previousNode.type||0==y&&c.currentTimeline.hasCurrentStyleProperties())&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=Cn);let F=y;const L=c.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!C.optional,c.errors);c.currentQueryTotal=L.length;let H=null;L.forEach((X,Ce)=>{c.currentQueryIndex=Ce;const Ae=c.createSubContext(o.options,X);T&&Ae.delayNextStep(T),X===c.element&&(H=Ae.currentTimeline),fn(this,o.animation,Ae),Ae.currentTimeline.applyStylesToKeyframe(),F=Math.max(F,Ae.currentTimeline.currentTime)}),c.currentQueryIndex=0,c.currentQueryTotal=0,c.transformIntoNewTimeline(F),H&&(c.currentTimeline.mergeTimelineCollectedStyles(H),c.currentTimeline.snapshotCurrentStyles()),c.previousNode=o}visitStagger(o,c){const y=c.parentContext,C=c.currentTimeline,T=o.timings,F=Math.abs(T.duration),L=F*(c.currentQueryTotal-1);let H=F*c.currentQueryIndex;switch(T.duration<0?"reverse":T.easing){case"reverse":H=L-H;break;case"full":H=y.currentStaggerTime}const Ce=c.currentTimeline;H&&Ce.delayNextStep(H);const Ae=Ce.currentTime;fn(this,o.animation,c),c.previousNode=o,y.currentStaggerTime=C.currentTime-Ae+(C.startTime-y.currentTimeline.startTime)}}const Cn={};class Ti{constructor(o,c,y,C,T,F,L,H){this._driver=o,this.element=c,this.subInstructions=y,this._enterClassName=C,this._leaveClassName=T,this.errors=F,this.timelines=L,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Cn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=H||new Ur(this._driver,c,0),L.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,c){if(!o)return;const y=o;let C=this.options;null!=y.duration&&(C.duration=ft(y.duration)),null!=y.delay&&(C.delay=ft(y.delay));const T=y.params;if(T){let F=C.params;F||(F=this.options.params={}),Object.keys(T).forEach(L=>{(!c||!F.hasOwnProperty(L))&&(F[L]=Gn(T[L],F,this.errors))})}}_copyOptions(){const o={};if(this.options){const c=this.options.params;if(c){const y=o.params={};Object.keys(c).forEach(C=>{y[C]=c[C]})}}return o}createSubContext(o=null,c,y){const C=c||this.element,T=new Ti(this._driver,C,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(C,y||0));return T.previousNode=this.previousNode,T.currentAnimateTimings=this.currentAnimateTimings,T.options=this._copyOptions(),T.updateOptions(o),T.currentQueryIndex=this.currentQueryIndex,T.currentQueryTotal=this.currentQueryTotal,T.parentContext=this,this.subContextCount++,T}transformIntoNewTimeline(o){return this.previousNode=Cn,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,c,y){const C={duration:c??o.duration,delay:this.currentTimeline.currentTime+(y??0)+o.delay,easing:""},T=new Ii(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,C,o.stretchStartingKeyframe);return this.timelines.push(T),C}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,c,y,C,T,F){let L=[];if(C&&L.push(this.element),o.length>0){o=(o=o.replace(Si,"."+this._enterClassName)).replace(bi,"."+this._leaveClassName);let X=this._driver.query(this.element,o,1!=y);0!==y&&(X=y<0?X.slice(X.length+y,X.length):X.slice(0,y)),L.push(...X)}return!T&&0==L.length&&F.push(function st(_){return new R.vHH(3014,!1)}()),L}}class Ur{constructor(o,c,y,C){this._driver=o,this.element=c,this.startTime=y,this._elementTimelineStylesLookup=C,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(c),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(c,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const c=1===this._keyframes.size&&this._pendingStyles.size;this.duration||c?(this.forwardTime(this.currentTime+o),c&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,c){return this.applyStylesToKeyframe(),new Ur(this._driver,o,c||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,c){this._localTimelineStyles.set(o,c),this._globalTimelineStyles.set(o,c),this._styleSummary.set(o,{time:this.currentTime,value:c})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&this._previousKeyframe.set("easing",o);for(let[c,y]of this._globalTimelineStyles)this._backFill.set(c,y||Ee),this._currentKeyframe.set(c,Ee);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,c,y,C){c&&this._previousKeyframe.set("easing",c);const T=C&&C.params||{},F=function _s(_,o){const c=new Map;let y;return _.forEach(C=>{if("*"===C){y=y||o.keys();for(let T of y)c.set(T,Ee)}else gt(C,c)}),c}(o,this._globalTimelineStyles);for(let[L,H]of F){const X=Gn(H,T,y);this._pendingStyles.set(L,X),this._localTimelineStyles.has(L)||this._backFill.set(L,this._globalTimelineStyles.get(L)??Ee),this._updateStyle(L,X)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((o,c)=>{this._currentKeyframe.set(c,o)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((o,c)=>{this._currentKeyframe.has(c)||this._currentKeyframe.set(c,o)}))}snapshotCurrentStyles(){for(let[o,c]of this._localTimelineStyles)this._pendingStyles.set(o,c),this._updateStyle(o,c)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let c in this._currentKeyframe)o.push(c);return o}mergeTimelineCollectedStyles(o){o._styleSummary.forEach((c,y)=>{const C=this._styleSummary.get(y);(!C||c.time>C.time)&&this._updateStyle(y,c.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,c=new Set,y=1===this._keyframes.size&&0===this.duration;let C=[];this._keyframes.forEach((L,H)=>{const X=gt(L,new Map,this._backFill);X.forEach((Ce,Ae)=>{"!"===Ce?o.add(Ae):Ce===Ee&&c.add(Ae)}),y||X.set("offset",H/this.duration),C.push(X)});const T=o.size?Vn(o.values()):[],F=c.size?Vn(c.values()):[];if(y){const L=C[0],H=new Map(L);L.set("offset",0),H.set("offset",1),C=[L,H]}return Wi(this.element,C,T,F,this.duration,this.startTime,this.easing,!1)}}class Ii extends Ur{constructor(o,c,y,C,T,F,L=!1){super(o,c,F.delay),this.keyframes=y,this.preStyleProps=C,this.postStyleProps=T,this._stretchStartingKeyframe=L,this.timings={duration:F.duration,delay:F.delay,easing:F.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:c,duration:y,easing:C}=this.timings;if(this._stretchStartingKeyframe&&c){const T=[],F=y+c,L=c/F,H=gt(o[0]);H.set("offset",0),T.push(H);const X=gt(o[0]);X.set("offset",Yi(L)),T.push(X);const Ce=o.length-1;for(let Ae=1;Ae<=Ce;Ae++){let ot=gt(o[Ae]);const at=ot.get("offset");ot.set("offset",Yi((c+at*y)/F)),T.push(ot)}y=F,c=0,C="",o=T}return Wi(this.element,o,this.preStyleProps,this.postStyleProps,y,c,C,!0)}}function Yi(_,o=3){const c=Math.pow(10,o-1);return Math.round(_*c)/c}class Ai{}const zr=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Pi extends Ai{normalizePropertyName(o,c){return rr(o)}normalizeStyleValue(o,c,y,C){let T="";const F=y.toString().trim();if(zr.has(c)&&0!==y&&"0"!==y)if("number"==typeof y)T="px";else{const L=y.match(/^[+-]?[\d\.]+([a-z]*)$/);L&&0==L[1].length&&C.push(function Xe(_,o){return new R.vHH(3005,!1)}())}return F+T}}function pn(_,o,c,y,C,T,F,L,H,X,Ce,Ae,ot){return{type:0,element:_,triggerName:o,isRemovalTransition:C,fromState:c,fromStyles:T,toState:y,toStyles:F,timelines:L,queriedElements:H,preStyleProps:X,postStyleProps:Ce,totalTime:Ae,errors:ot}}const Gr={};class Es{constructor(o,c,y){this._triggerName=o,this.ast=c,this._stateStyles=y}match(o,c,y,C){return function ws(_,o,c,y,C){return _.some(T=>T(o,c,y,C))}(this.ast.matchers,o,c,y,C)}buildStyles(o,c,y){let C=this._stateStyles.get("*");return void 0!==o&&(C=this._stateStyles.get(o?.toString())||C),C?C.buildStyles(c,y):new Map}build(o,c,y,C,T,F,L,H,X,Ce){const Ae=[],ot=this.ast.options&&this.ast.options.params||Gr,qe=this.buildStyles(y,L&&L.params||Gr,Ae),rt=H&&H.params||Gr,Pt=this.buildStyles(C,rt,Ae),kt=new Set,Kt=new Map,gn=new Map,Qt="void"===C,Sr={params:wa(rt,ot),delay:this.ast.options?.delay},qn=Ce?[]:Mi(o,c,this.ast.animation,T,F,qe,Pt,Sr,X,Ae);let Rn=0;if(qn.forEach(Lr=>{Rn=Math.max(Lr.duration+Lr.delay,Rn)}),Ae.length)return pn(c,this._triggerName,y,C,Qt,qe,Pt,[],[],Kt,gn,Rn,Ae);qn.forEach(Lr=>{const Bn=Lr.element,Ms=Tt(Kt,Bn,new Set);Lr.preStyleProps.forEach(si=>Ms.add(si));const sr=Tt(gn,Bn,new Set);Lr.postStyleProps.forEach(si=>sr.add(si)),Bn!==c&&kt.add(Bn)});const kn=Vn(kt.values());return pn(c,this._triggerName,y,C,Qt,qe,Pt,qn,kn,Kt,gn,Rn)}}function wa(_,o){const c=Gt(o);for(const y in _)_.hasOwnProperty(y)&&null!=_[y]&&(c[y]=_[y]);return c}class yt{constructor(o,c,y){this.styles=o,this.defaultParams=c,this.normalizer=y}buildStyles(o,c){const y=new Map,C=Gt(this.defaultParams);return Object.keys(o).forEach(T=>{const F=o[T];null!==F&&(C[T]=F)}),this.styles.styles.forEach(T=>{"string"!=typeof T&&T.forEach((F,L)=>{F&&(F=Gn(F,C,c));const H=this.normalizer.normalizePropertyName(L,c);F=this.normalizer.normalizeStyleValue(L,H,F,c),y.set(H,F)})}),y}}class js{constructor(o,c,y){this.name=o,this.ast=c,this._normalizer=y,this.transitionFactories=[],this.states=new Map,c.states.forEach(C=>{this.states.set(C.name,new yt(C.style,C.options&&C.options.params||{},y))}),Pn(this.states,"true","1"),Pn(this.states,"false","0"),c.transitions.forEach(C=>{this.transitionFactories.push(new Es(o,C,this.states))}),this.fallbackTransition=function ri(_,o,c){return new Es(_,{type:1,animation:{type:2,steps:[],options:null},matchers:[(F,L)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,c,y,C){return this.transitionFactories.find(F=>F.match(o,c,y,C))||null}matchStyles(o,c,y){return this.fallbackTransition.buildStyles(o,c,y)}}function Pn(_,o,c){_.has(o)?_.has(c)||_.set(c,_.get(o)):_.has(c)&&_.set(o,_.get(c))}const Vs=new Ci;class Qi{constructor(o,c,y){this.bodyNode=o,this._driver=c,this._normalizer=y,this._animations=new Map,this._playersById=new Map,this.players=[]}register(o,c){const y=[],T=ms(this._driver,c,y,[]);if(y.length)throw function pi(_){return new R.vHH(3503,!1)}();this._animations.set(o,T)}_buildPlayer(o,c,y){const C=o.element,T=un(0,this._normalizer,0,o.keyframes,c,y);return this._driver.animate(C,T,o.duration,o.delay,o.easing,[],!0)}create(o,c,y={}){const C=[],T=this._animations.get(o);let F;const L=new Map;if(T?(F=Mi(this._driver,c,T,B,A,new Map,new Map,y,Vs,C),F.forEach(Ce=>{const Ae=Tt(L,Ce.element,new Map);Ce.postStyleProps.forEach(ot=>Ae.set(ot,null))})):(C.push(function Jt(){return new R.vHH(3300,!1)}()),F=[]),C.length)throw function Tr(_){return new R.vHH(3504,!1)}();L.forEach((Ce,Ae)=>{Ce.forEach((ot,at)=>{Ce.set(at,this._driver.computeStyle(Ae,at,Ee))})});const X=Rt(F.map(Ce=>{const Ae=L.get(Ce.element);return this._buildPlayer(Ce,new Map,Ae)}));return this._playersById.set(o,X),X.onDestroy(()=>this.destroy(o)),this.players.push(X),X}destroy(o){const c=this._getPlayer(o);c.destroy(),this._playersById.delete(o);const y=this.players.indexOf(c);y>=0&&this.players.splice(y,1)}_getPlayer(o){const c=this._playersById.get(o);if(!c)throw function ds(_){return new R.vHH(3301,!1)}();return c}listen(o,c,y,C){const T=Re(c,"","","");return Mt(this._getPlayer(o),y,T,C),()=>{}}command(o,c,y,C){if("register"==y)return void this.register(o,C[0]);if("create"==y)return void this.create(o,c,C[0]||{});const T=this._getPlayer(o);switch(y){case"play":T.play();break;case"pause":T.pause();break;case"reset":T.reset();break;case"restart":T.restart();break;case"finish":T.finish();break;case"init":T.init();break;case"setPosition":T.setPosition(parseFloat(C[0]));break;case"destroy":this.destroy(o)}}}const Dr="ng-animate-queued",Zi="ng-animate-disabled",Wr=[],Rr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},tt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ln="__ng_removed";class Nr{constructor(o,c=""){this.namespaceId=c;const y=o&&o.hasOwnProperty("value");if(this.value=function ie(_){return _??null}(y?o.value:o),y){const T=Gt(o);delete T.value,this.options=T}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(o){const c=o.params;if(c){const y=this.options.params;Object.keys(c).forEach(C=>{null==y[C]&&(y[C]=c[C])})}}}const wr="void",Xi=new Nr(wr);class so{constructor(o,c,y){this.id=o,this.hostElement=c,this._engine=y,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,Vt(c,this._hostClassName)}listen(o,c,y,C){if(!this._triggers.has(c))throw function zt(_,o){return new R.vHH(3302,!1)}();if(null==y||0==y.length)throw function In(_){return new R.vHH(3303,!1)}();if(!function Ji(_){return"start"==_||"done"==_}(y))throw function jr(_,o){return new R.vHH(3400,!1)}();const T=Tt(this._elementListeners,o,[]),F={name:c,phase:y,callback:C};T.push(F);const L=Tt(this._engine.statesByElement,o,new Map);return L.has(c)||(Vt(o,$),Vt(o,$+"-"+c),L.set(c,Xi)),()=>{this._engine.afterFlush(()=>{const H=T.indexOf(F);H>=0&&T.splice(H,1),this._triggers.has(c)||L.delete(c)})}}register(o,c){return!this._triggers.has(o)&&(this._triggers.set(o,c),!0)}_getTrigger(o){const c=this._triggers.get(o);if(!c)throw function dr(_){return new R.vHH(3401,!1)}();return c}trigger(o,c,y,C=!0){const T=this._getTrigger(c),F=new Yr(this.id,c,o);let L=this._engine.statesByElement.get(o);L||(Vt(o,$),Vt(o,$+"-"+c),this._engine.statesByElement.set(o,L=new Map));let H=L.get(c);const X=new Nr(y,this.id);if(!(y&&y.hasOwnProperty("value"))&&H&&X.absorbOptions(H.options),L.set(c,X),H||(H=Xi),X.value!==wr&&H.value===X.value){if(!function ao(_,o){const c=Object.keys(_),y=Object.keys(o);if(c.length!=y.length)return!1;for(let C=0;C<c.length;C++){const T=c[C];if(!o.hasOwnProperty(T)||_[T]!==o[T])return!1}return!0}(H.params,X.params)){const rt=[],Pt=T.matchStyles(H.value,H.params,rt),kt=T.matchStyles(X.value,X.params,rt);rt.length?this._engine.reportError(rt):this._engine.afterFlush(()=>{zn(o,Pt),We(o,kt)})}return}const ot=Tt(this._engine.playersByElement,o,[]);ot.forEach(rt=>{rt.namespaceId==this.id&&rt.triggerName==c&&rt.queued&&rt.destroy()});let at=T.matchTransition(H.value,X.value,o,X.params),qe=!1;if(!at){if(!C)return;at=T.fallbackTransition,qe=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:c,transition:at,fromState:H,toState:X,player:F,isFallbackTransition:qe}),qe||(Vt(o,Dr),F.onStart(()=>{qt(o,Dr)})),F.onDone(()=>{let rt=this.players.indexOf(F);rt>=0&&this.players.splice(rt,1);const Pt=this._engine.playersByElement.get(o);if(Pt){let kt=Pt.indexOf(F);kt>=0&&Pt.splice(kt,1)}}),this.players.push(F),ot.push(F),F}deregister(o){this._triggers.delete(o),this._engine.statesByElement.forEach(c=>c.delete(o)),this._elementListeners.forEach((c,y)=>{this._elementListeners.set(y,c.filter(C=>C.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const c=this._engine.playersByElement.get(o);c&&(c.forEach(y=>y.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,c){const y=this._engine.driver.query(o,Z,!0);y.forEach(C=>{if(C[Ln])return;const T=this._engine.fetchNamespacesByElement(C);T.size?T.forEach(F=>F.triggerLeaveAnimation(C,c,!1,!0)):this.clearElementCache(C)}),this._engine.afterFlushAnimationsDone(()=>y.forEach(C=>this.clearElementCache(C)))}triggerLeaveAnimation(o,c,y,C){const T=this._engine.statesByElement.get(o),F=new Map;if(T){const L=[];if(T.forEach((H,X)=>{if(F.set(X,H.value),this._triggers.has(X)){const Ce=this.trigger(o,X,wr,C);Ce&&L.push(Ce)}}),L.length)return this._engine.markElementAsRemoved(this.id,o,!0,c,F),y&&Rt(L).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const c=this._elementListeners.get(o),y=this._engine.statesByElement.get(o);if(c&&y){const C=new Set;c.forEach(T=>{const F=T.name;if(C.has(F))return;C.add(F);const H=this._triggers.get(F).fallbackTransition,X=y.get(F)||Xi,Ce=new Nr(wr),Ae=new Yr(this.id,F,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:F,transition:H,fromState:X,toState:Ce,player:Ae,isFallbackTransition:!0})})}}removeNode(o,c){const y=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,c),this.triggerLeaveAnimation(o,c,!0))return;let C=!1;if(y.totalAnimations){const T=y.players.length?y.playersByQueriedElement.get(o):[];if(T&&T.length)C=!0;else{let F=o;for(;F=F.parentNode;)if(y.statesByElement.get(F)){C=!0;break}}}if(this.prepareLeaveAnimationListeners(o),C)y.markElementAsRemoved(this.id,o,!1,c);else{const T=o[Ln];(!T||T===Rr)&&(y.afterFlush(()=>this.clearElementCache(o)),y.destroyInnerAnimations(o),y._onRemovalComplete(o,c))}}insertNode(o,c){Vt(o,this._hostClassName)}drainQueuedTransitions(o){const c=[];return this._queue.forEach(y=>{const C=y.player;if(C.destroyed)return;const T=y.element,F=this._elementListeners.get(T);F&&F.forEach(L=>{if(L.name==y.triggerName){const H=Re(T,y.triggerName,y.fromState.value,y.toState.value);H._data=o,Mt(y.player,L.phase,H,L.callback)}}),C.markedForDestroy?this._engine.afterFlush(()=>{C.destroy()}):c.push(y)}),this._queue=[],c.sort((y,C)=>{const T=y.transition.ast.depCount,F=C.transition.ast.depCount;return 0==T||0==F?T-F:this._engine.driver.containsElement(y.element,C.element)?1:-1})}destroy(o){this.players.forEach(c=>c.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let c=!1;return this._elementListeners.has(o)&&(c=!0),c=!!this._queue.find(y=>y.element===o)||c,c}}class Kr{constructor(o,c,y){this.bodyNode=o,this.driver=c,this._normalizer=y,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=(C,T)=>{}}_onRemovalComplete(o,c){this.onRemovalComplete(o,c)}get queuedPlayers(){const o=[];return this._namespaceList.forEach(c=>{c.players.forEach(y=>{y.queued&&o.push(y)})}),o}createNamespace(o,c){const y=new so(o,c,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,c)?this._balanceNamespaceList(y,c):(this.newHostElements.set(c,y),this.collectEnterElement(c)),this._namespaceLookup[o]=y}_balanceNamespaceList(o,c){const y=this._namespaceList,C=this.namespacesByHostElement;if(y.length-1>=0){let F=!1,L=this.driver.getParentElement(c);for(;L;){const H=C.get(L);if(H){const X=y.indexOf(H);y.splice(X+1,0,o),F=!0;break}L=this.driver.getParentElement(L)}F||y.unshift(o)}else y.push(o);return C.set(c,o),o}register(o,c){let y=this._namespaceLookup[o];return y||(y=this.createNamespace(o,c)),y}registerTrigger(o,c,y){let C=this._namespaceLookup[o];C&&C.register(c,y)&&this.totalAnimations++}destroy(o,c){if(!o)return;const y=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(y.hostElement),delete this._namespaceLookup[o];const C=this._namespaceList.indexOf(y);C>=0&&this._namespaceList.splice(C,1)}),this.afterFlushAnimationsDone(()=>y.destroy(c))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const c=new Set,y=this.statesByElement.get(o);if(y)for(let C of y.values())if(C.namespaceId){const T=this._fetchNamespace(C.namespaceId);T&&c.add(T)}return c}trigger(o,c,y,C){if(pt(c)){const T=this._fetchNamespace(o);if(T)return T.trigger(c,y,C),!0}return!1}insertNode(o,c,y,C){if(!pt(c))return;const T=c[Ln];if(T&&T.setForRemoval){T.setForRemoval=!1,T.setForMove=!0;const F=this.collectedLeaveElements.indexOf(c);F>=0&&this.collectedLeaveElements.splice(F,1)}if(o){const F=this._fetchNamespace(o);F&&F.insertNode(c,y)}C&&this.collectEnterElement(c)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,c){c?this.disabledNodes.has(o)||(this.disabledNodes.add(o),Vt(o,Zi)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),qt(o,Zi))}removeNode(o,c,y,C){if(pt(c)){const T=o?this._fetchNamespace(o):null;if(T?T.removeNode(c,C):this.markElementAsRemoved(o,c,!1,C),y){const F=this.namespacesByHostElement.get(c);F&&F.id!==o&&F.removeNode(c,C)}}else this._onRemovalComplete(c,C)}markElementAsRemoved(o,c,y,C,T){this.collectedLeaveElements.push(c),c[Ln]={namespaceId:o,setForRemoval:C,hasAnimation:y,removedBeforeQueried:!1,previousTriggersValues:T}}listen(o,c,y,C,T){return pt(c)?this._fetchNamespace(o).listen(c,y,C,T):()=>{}}_buildInstruction(o,c,y,C,T){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,y,C,o.fromState.options,o.toState.options,c,T)}destroyInnerAnimations(o){let c=this.driver.query(o,Z,!0);c.forEach(y=>this.destroyActiveAnimationsForElement(y)),0!=this.playersByQueriedElement.size&&(c=this.driver.query(o,Ve,!0),c.forEach(y=>this.finishActiveQueriedAnimationOnElement(y)))}destroyActiveAnimationsForElement(o){const c=this.playersByElement.get(o);c&&c.forEach(y=>{y.queued?y.markedForDestroy=!0:y.destroy()})}finishActiveQueriedAnimationOnElement(o){const c=this.playersByQueriedElement.get(o);c&&c.forEach(y=>y.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return Rt(this.players).onDone(()=>o());o()})}processLeaveNode(o){const c=o[Ln];if(c&&c.setForRemoval){if(o[Ln]=Rr,c.namespaceId){this.destroyInnerAnimations(o);const y=this._fetchNamespace(c.namespaceId);y&&y.clearElementCache(o)}this._onRemovalComplete(o,c.setForRemoval)}o.classList?.contains(Zi)&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(y=>{this.markElementAsDisabled(y,!1)})}flush(o=-1){let c=[];if(this.newHostElements.size&&(this.newHostElements.forEach((y,C)=>this._balanceNamespaceList(y,C)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let y=0;y<this.collectedEnterElements.length;y++)Vt(this.collectedEnterElements[y],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const y=[];try{c=this._flushAnimations(y,o)}finally{for(let C=0;C<y.length;C++)y[C]()}}else for(let y=0;y<this.collectedLeaveElements.length;y++)this.processLeaveNode(this.collectedLeaveElements[y]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(y=>y()),this._flushFns=[],this._whenQuietFns.length){const y=this._whenQuietFns;this._whenQuietFns=[],c.length?Rt(c).onDone(()=>{y.forEach(C=>C())}):y.forEach(C=>C())}}reportError(o){throw function gi(_){return new R.vHH(3402,!1)}()}_flushAnimations(o,c){const y=new Ci,C=[],T=new Map,F=[],L=new Map,H=new Map,X=new Map,Ce=new Set;this.disabledNodes.forEach(Ne=>{Ce.add(Ne);const Oe=this.driver.query(Ne,".ng-animate-queued",!0);for(let Ke=0;Ke<Oe.length;Ke++)Ce.add(Oe[Ke])});const Ae=this.bodyNode,ot=Array.from(this.statesByElement.keys()),at=Ri(ot,this.collectedEnterElements),qe=new Map;let rt=0;at.forEach((Ne,Oe)=>{const Ke=B+rt++;qe.set(Oe,Ke),Ne.forEach(mt=>Vt(mt,Ke))});const Pt=[],kt=new Set,Kt=new Set;for(let Ne=0;Ne<this.collectedLeaveElements.length;Ne++){const Oe=this.collectedLeaveElements[Ne],Ke=Oe[Ln];Ke&&Ke.setForRemoval&&(Pt.push(Oe),kt.add(Oe),Ke.hasAnimation?this.driver.query(Oe,".ng-star-inserted",!0).forEach(mt=>kt.add(mt)):Kt.add(Oe))}const gn=new Map,Qt=Ri(ot,Array.from(kt));Qt.forEach((Ne,Oe)=>{const Ke=A+rt++;gn.set(Oe,Ke),Ne.forEach(mt=>Vt(mt,Ke))}),o.push(()=>{at.forEach((Ne,Oe)=>{const Ke=qe.get(Oe);Ne.forEach(mt=>qt(mt,Ke))}),Qt.forEach((Ne,Oe)=>{const Ke=gn.get(Oe);Ne.forEach(mt=>qt(mt,Ke))}),Pt.forEach(Ne=>{this.processLeaveNode(Ne)})});const Sr=[],qn=[];for(let Ne=this._namespaceList.length-1;Ne>=0;Ne--)this._namespaceList[Ne].drainQueuedTransitions(c).forEach(Ke=>{const mt=Ke.player,Zt=Ke.element;if(Sr.push(mt),this.collectedEnterElements.length){const on=Zt[Ln];if(on&&on.setForMove){if(on.previousTriggersValues&&on.previousTriggersValues.has(Ke.triggerName)){const ar=on.previousTriggersValues.get(Ke.triggerName),jn=this.statesByElement.get(Ke.element);if(jn&&jn.has(Ke.triggerName)){const oi=jn.get(Ke.triggerName);oi.value=ar,jn.set(Ke.triggerName,oi)}}return void mt.destroy()}}const Qn=!Ae||!this.driver.containsElement(Ae,Zt),bn=gn.get(Zt),or=qe.get(Zt),Bt=this._buildInstruction(Ke,y,or,bn,Qn);if(Bt.errors&&Bt.errors.length)return void qn.push(Bt);if(Qn)return mt.onStart(()=>zn(Zt,Bt.fromStyles)),mt.onDestroy(()=>We(Zt,Bt.toStyles)),void C.push(mt);if(Ke.isFallbackTransition)return mt.onStart(()=>zn(Zt,Bt.fromStyles)),mt.onDestroy(()=>We(Zt,Bt.toStyles)),void C.push(mt);const tn=[];Bt.timelines.forEach(on=>{on.stretchStartingKeyframe=!0,this.disabledNodes.has(on.element)||tn.push(on)}),Bt.timelines=tn,y.append(Zt,Bt.timelines),F.push({instruction:Bt,player:mt,element:Zt}),Bt.queriedElements.forEach(on=>Tt(L,on,[]).push(mt)),Bt.preStyleProps.forEach((on,ar)=>{if(on.size){let jn=H.get(ar);jn||H.set(ar,jn=new Set),on.forEach((oi,ai)=>jn.add(ai))}}),Bt.postStyleProps.forEach((on,ar)=>{let jn=X.get(ar);jn||X.set(ar,jn=new Set),on.forEach((oi,ai)=>jn.add(ai))})});if(qn.length){const Ne=[];qn.forEach(Oe=>{Ne.push(function Be(_,o){return new R.vHH(3505,!1)}())}),Sr.forEach(Oe=>Oe.destroy()),this.reportError(Ne)}const Rn=new Map,kn=new Map;F.forEach(Ne=>{const Oe=Ne.element;y.has(Oe)&&(kn.set(Oe,Oe),this._beforeAnimationBuild(Ne.player.namespaceId,Ne.instruction,Rn))}),C.forEach(Ne=>{const Oe=Ne.element;this._getPreviousPlayers(Oe,!1,Ne.namespaceId,Ne.triggerName,null).forEach(mt=>{Tt(Rn,Oe,[]).push(mt),mt.destroy()})});const Lr=Pt.filter(Ne=>lo(Ne,H,X)),Bn=new Map;jt(Bn,this.driver,Kt,X,Ee).forEach(Ne=>{lo(Ne,H,X)&&Lr.push(Ne)});const sr=new Map;at.forEach((Ne,Oe)=>{jt(sr,this.driver,new Set(Ne),H,"!")}),Lr.forEach(Ne=>{const Oe=Bn.get(Ne),Ke=sr.get(Ne);Bn.set(Ne,new Map([...Array.from(Oe?.entries()??[]),...Array.from(Ke?.entries()??[])]))});const si=[],ts=[],ns={};F.forEach(Ne=>{const{element:Oe,player:Ke,instruction:mt}=Ne;if(y.has(Oe)){if(Ce.has(Oe))return Ke.onDestroy(()=>We(Oe,mt.toStyles)),Ke.disabled=!0,Ke.overrideTotalTime(mt.totalTime),void C.push(Ke);let Zt=ns;if(kn.size>1){let bn=Oe;const or=[];for(;bn=bn.parentNode;){const Bt=kn.get(bn);if(Bt){Zt=Bt;break}or.push(bn)}or.forEach(Bt=>kn.set(Bt,Zt))}const Qn=this._buildAnimation(Ke.namespaceId,mt,Rn,T,sr,Bn);if(Ke.setRealPlayer(Qn),Zt===ns)si.push(Ke);else{const bn=this.playersByElement.get(Zt);bn&&bn.length&&(Ke.parentPlayer=Rt(bn)),C.push(Ke)}}else zn(Oe,mt.fromStyles),Ke.onDestroy(()=>We(Oe,mt.toStyles)),ts.push(Ke),Ce.has(Oe)&&C.push(Ke)}),ts.forEach(Ne=>{const Oe=T.get(Ne.element);if(Oe&&Oe.length){const Ke=Rt(Oe);Ne.setRealPlayer(Ke)}}),C.forEach(Ne=>{Ne.parentPlayer?Ne.syncPlayerEvents(Ne.parentPlayer):Ne.destroy()});for(let Ne=0;Ne<Pt.length;Ne++){const Oe=Pt[Ne],Ke=Oe[Ln];if(qt(Oe,A),Ke&&Ke.hasAnimation)continue;let mt=[];if(L.size){let Qn=L.get(Oe);Qn&&Qn.length&&mt.push(...Qn);let bn=this.driver.query(Oe,Ve,!0);for(let or=0;or<bn.length;or++){let Bt=L.get(bn[or]);Bt&&Bt.length&&mt.push(...Bt)}}const Zt=mt.filter(Qn=>!Qn.destroyed);Zt.length?Or(this,Oe,Zt):this.processLeaveNode(Oe)}return Pt.length=0,si.forEach(Ne=>{this.players.push(Ne),Ne.onDone(()=>{Ne.destroy();const Oe=this.players.indexOf(Ne);this.players.splice(Oe,1)}),Ne.play()}),si}elementContainsData(o,c){let y=!1;const C=c[Ln];return C&&C.setForRemoval&&(y=!0),this.playersByElement.has(c)&&(y=!0),this.playersByQueriedElement.has(c)&&(y=!0),this.statesByElement.has(c)&&(y=!0),this._fetchNamespace(o).elementContainsData(c)||y}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,c,y,C,T){let F=[];if(c){const L=this.playersByQueriedElement.get(o);L&&(F=L)}else{const L=this.playersByElement.get(o);if(L){const H=!T||T==wr;L.forEach(X=>{X.queued||!H&&X.triggerName!=C||F.push(X)})}}return(y||C)&&(F=F.filter(L=>!(y&&y!=L.namespaceId||C&&C!=L.triggerName))),F}_beforeAnimationBuild(o,c,y){const T=c.element,F=c.isRemovalTransition?void 0:o,L=c.isRemovalTransition?void 0:c.triggerName;for(const H of c.timelines){const X=H.element,Ce=X!==T,Ae=Tt(y,X,[]);this._getPreviousPlayers(X,Ce,F,L,c.toState).forEach(at=>{const qe=at.getRealPlayer();qe.beforeDestroy&&qe.beforeDestroy(),at.destroy(),Ae.push(at)})}zn(T,c.fromStyles)}_buildAnimation(o,c,y,C,T,F){const L=c.triggerName,H=c.element,X=[],Ce=new Set,Ae=new Set,ot=c.timelines.map(qe=>{const rt=qe.element;Ce.add(rt);const Pt=rt[Ln];if(Pt&&Pt.removedBeforeQueried)return new Qe(qe.duration,qe.delay);const kt=rt!==H,Kt=function xr(_){const o=[];return oo(_,o),o}((y.get(rt)||Wr).map(Rn=>Rn.getRealPlayer())).filter(Rn=>!!Rn.element&&Rn.element===rt),gn=T.get(rt),Qt=F.get(rt),Sr=un(0,this._normalizer,0,qe.keyframes,gn,Qt),qn=this._buildPlayer(qe,Sr,Kt);if(qe.subTimeline&&C&&Ae.add(rt),kt){const Rn=new Yr(o,L,rt);Rn.setRealPlayer(qn),X.push(Rn)}return qn});X.forEach(qe=>{Tt(this.playersByQueriedElement,qe.element,[]).push(qe),qe.onDone(()=>function $s(_,o,c){let y=_.get(o);if(y){if(y.length){const C=y.indexOf(c);y.splice(C,1)}0==y.length&&_.delete(o)}return y}(this.playersByQueriedElement,qe.element,qe))}),Ce.forEach(qe=>Vt(qe,Fe));const at=Rt(ot);return at.onDestroy(()=>{Ce.forEach(qe=>qt(qe,Fe)),We(H,c.toStyles)}),Ae.forEach(qe=>{Tt(C,qe,[]).push(at)}),at}_buildPlayer(o,c,y){return c.length>0?this.driver.animate(o.element,c,o.duration,o.delay,o.easing,y):new Qe(o.duration,o.delay)}}class Yr{constructor(o,c,y){this.namespaceId=o,this.triggerName=c,this.element=y,this._player=new Qe,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,this._queuedCallbacks.forEach((c,y)=>{c.forEach(C=>Mt(o,y,void 0,C))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const c=this._player;c.triggerCallback&&o.onStart(()=>c.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,c){Tt(this._queuedCallbacks,o,[]).push(c)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const c=this._player;c.triggerCallback&&c.triggerCallback(o)}}function pt(_){return _&&1===_.nodeType}function es(_,o){const c=_.style.display;return _.style.display=o??"none",c}function jt(_,o,c,y,C){const T=[];c.forEach(H=>T.push(es(H)));const F=[];y.forEach((H,X)=>{const Ce=new Map;H.forEach(Ae=>{const ot=o.computeStyle(X,Ae,C);Ce.set(Ae,ot),(!ot||0==ot.length)&&(X[Ln]=tt,F.push(X))}),_.set(X,Ce)});let L=0;return c.forEach(H=>es(H,T[L++])),F}function Ri(_,o){const c=new Map;if(_.forEach(L=>c.set(L,[])),0==o.length)return c;const C=new Set(o),T=new Map;function F(L){if(!L)return 1;let H=T.get(L);if(H)return H;const X=L.parentNode;return H=c.has(X)?X:C.has(X)?1:F(X),T.set(L,H),H}return o.forEach(L=>{const H=F(L);1!==H&&c.get(H).push(L)}),c}function Vt(_,o){_.classList?.add(o)}function qt(_,o){_.classList?.remove(o)}function Or(_,o,c){Rt(c).onDone(()=>_.processLeaveNode(o))}function oo(_,o){for(let c=0;c<_.length;c++){const y=_[c];y instanceof se?oo(y.players,o):o.push(y)}}function lo(_,o,c){const y=c.get(_);if(!y)return!1;let C=o.get(_);return C?y.forEach(T=>C.add(T)):o.set(_,y),c.delete(_),!0}class Ni{constructor(o,c,y){this.bodyNode=o,this._driver=c,this._normalizer=y,this._triggerCache={},this.onRemovalComplete=(C,T)=>{},this._transitionEngine=new Kr(o,c,y),this._timelineEngine=new Qi(o,c,y),this._transitionEngine.onRemovalComplete=(C,T)=>this.onRemovalComplete(C,T)}registerTrigger(o,c,y,C,T){const F=o+"-"+C;let L=this._triggerCache[F];if(!L){const H=[],Ce=ms(this._driver,T,H,[]);if(H.length)throw function Mr(_,o){return new R.vHH(3404,!1)}();L=function jo(_,o,c){return new js(_,o,c)}(C,Ce,this._normalizer),this._triggerCache[F]=L}this._transitionEngine.registerTrigger(c,C,L)}register(o,c){this._transitionEngine.register(o,c)}destroy(o,c){this._transitionEngine.destroy(o,c)}onInsert(o,c,y,C){this._transitionEngine.insertNode(o,c,y,C)}onRemove(o,c,y,C){this._transitionEngine.removeNode(o,c,C||!1,y)}disableAnimations(o,c){this._transitionEngine.markElementAsDisabled(o,c)}process(o,c,y,C){if("@"==y.charAt(0)){const[T,F]=Ze(y);this._timelineEngine.command(T,c,F,C)}else this._transitionEngine.trigger(o,c,y,C)}listen(o,c,y,C,T){if("@"==y.charAt(0)){const[F,L]=Ze(y);return this._timelineEngine.listen(F,c,L,T)}return this._transitionEngine.listen(o,c,y,C,T)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Cr=(()=>{class _{constructor(c,y,C){this._element=c,this._startStyles=y,this._endStyles=C,this._state=0;let T=_.initialStylesByElement.get(c);T||_.initialStylesByElement.set(c,T=new Map),this._initialStyles=T}start(){this._state<1&&(this._startStyles&&We(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(We(this._element,this._initialStyles),this._endStyles&&(We(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(_.initialStylesByElement.delete(this._element),this._startStyles&&(zn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(zn(this._element,this._endStyles),this._endStyles=null),We(this._element,this._initialStyles),this._state=3)}}return _.initialStylesByElement=new WeakMap,_})();function Oi(_){let o=null;return _.forEach((c,y)=>{(function ii(_){return"display"===_||"position"===_})(y)&&(o=o||new Map,o.set(y,c))}),o}class Kn{constructor(o,c,y,C){this.element=o,this.keyframes=c,this.options=y,this._specialStyles=C,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=y.duration,this._delay=y.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(o){const c=[];return o.forEach(y=>{c.push(Object.fromEntries(y))}),c}_triggerWebAnimation(o,c,y){return o.animate(this._convertKeyframesToObject(c),y)}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o=new Map;this.hasStarted()&&this._finalKeyframe.forEach((y,C)=>{"offset"!==C&&o.set(C,this._finished?y:hn(this.element,C))}),this.currentSnapshot=o}triggerCallback(o){const c="start"===o?this._onStartFns:this._onDoneFns;c.forEach(y=>y()),c.length=0}}class Cs{validateStyleProperty(o){return!0}validateAnimatableStyleProperty(o){return!0}matchesElement(o,c){return!1}containsElement(o,c){return hr(o,c)}getParentElement(o){return ut(o)}query(o,c,y){return yi(o,c,y)}computeStyle(o,c,y){return window.getComputedStyle(o)[c]}animate(o,c,y,C,T,F=[]){const H={duration:y,delay:C,fill:0==C?"both":"forwards"};T&&(H.easing=T);const X=new Map,Ce=F.filter(at=>at instanceof Kn);(function At(_,o){return 0===_||0===o})(y,C)&&Ce.forEach(at=>{at.currentSnapshot.forEach((qe,rt)=>X.set(rt,qe))});let Ae=function Yt(_){return _.length?_[0]instanceof Map?_:_.map(o=>gr(o)):[]}(c).map(at=>gt(at));Ae=function fs(_,o,c){if(c.size&&o.length){let y=o[0],C=[];if(c.forEach((T,F)=>{y.has(F)||C.push(F),y.set(F,T)}),C.length)for(let T=1;T<o.length;T++){let F=o[T];C.forEach(L=>F.set(L,hn(_,L)))}}return o}(o,Ae,X);const ot=function Sn(_,o){let c=null,y=null;return Array.isArray(o)&&o.length?(c=Oi(o[0]),o.length>1&&(y=Oi(o[o.length-1]))):o instanceof Map&&(c=Oi(o)),c||y?new Cr(_,c,y):null}(o,Ae);return new Kn(o,Ae,H,ot)}}var Ss=N(6895);let bs=(()=>{class _ extends me{constructor(c,y){super(),this._nextAnimationId=0,this._renderer=c.createRenderer(y.body,{id:"0",encapsulation:R.ifc.None,styles:[],data:{animation:[]}})}build(c){const y=this._nextAnimationId.toString();this._nextAnimationId++;const C=Array.isArray(c)?Ue(c):c;return qr(this._renderer,null,y,"register",[C]),new Us(y,this._renderer)}}return _.\u0275fac=function(c){return new(c||_)(R.LFG(R.FYo),R.LFG(Ss.K0))},_.\u0275prov=R.Yz7({token:_,factory:_.\u0275fac}),_})();class Us extends class Le{}{constructor(o,c){super(),this._id=o,this._renderer=c}create(o,c){return new xi(this._id,o,c||{},this._renderer)}}class xi{constructor(o,c,y,C){this.id=o,this.element=c,this._renderer=C,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",y)}_listen(o,c){return this._renderer.listen(this.element,`@@${this.id}:${o}`,c)}_command(o,...c){return qr(this._renderer,this.element,this.id,o,c)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}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(o){this._command("setPosition",o)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function qr(_,o,c,y,C){return _.setProperty(o,`@@${c}:${y}`,C)}const g="@",w="@.disabled";let m=(()=>{class _{constructor(c,y,C){this.delegate=c,this.engine=y,this._zone=C,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),y.onRemovalComplete=(T,F)=>{const L=F?.parentNode(T);L&&F.removeChild(L,T)}}createRenderer(c,y){const T=this.delegate.createRenderer(c,y);if(!(c&&y&&y.data&&y.data.animation)){let Ce=this._rendererCache.get(T);return Ce||(Ce=new M("",T,this.engine),this._rendererCache.set(T,Ce)),Ce}const F=y.id,L=y.id+"-"+this._currentId;this._currentId++,this.engine.register(L,c);const H=Ce=>{Array.isArray(Ce)?Ce.forEach(H):this.engine.registerTrigger(F,L,c,Ce.name,Ce)};return y.data.animation.forEach(H),new x(this,L,T,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(c,y,C){c>=0&&c<this._microtaskId?this._zone.run(()=>y(C)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(T=>{const[F,L]=T;F(L)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([y,C]))}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 _.\u0275fac=function(c){return new(c||_)(R.LFG(R.FYo),R.LFG(Ni),R.LFG(R.R0b))},_.\u0275prov=R.Yz7({token:_,factory:_.\u0275fac}),_})();class M{constructor(o,c,y){this.namespaceId=o,this.delegate=c,this.engine=y,this.destroyNode=this.delegate.destroyNode?C=>c.destroyNode(C):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(o,c){return this.delegate.createElement(o,c)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,c){this.delegate.appendChild(o,c),this.engine.onInsert(this.namespaceId,c,o,!1)}insertBefore(o,c,y,C=!0){this.delegate.insertBefore(o,c,y),this.engine.onInsert(this.namespaceId,c,o,C)}removeChild(o,c,y){this.engine.onRemove(this.namespaceId,c,this.delegate,y)}selectRootElement(o,c){return this.delegate.selectRootElement(o,c)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,c,y,C){this.delegate.setAttribute(o,c,y,C)}removeAttribute(o,c,y){this.delegate.removeAttribute(o,c,y)}addClass(o,c){this.delegate.addClass(o,c)}removeClass(o,c){this.delegate.removeClass(o,c)}setStyle(o,c,y,C){this.delegate.setStyle(o,c,y,C)}removeStyle(o,c,y){this.delegate.removeStyle(o,c,y)}setProperty(o,c,y){c.charAt(0)==g&&c==w?this.disableAnimations(o,!!y):this.delegate.setProperty(o,c,y)}setValue(o,c){this.delegate.setValue(o,c)}listen(o,c,y){return this.delegate.listen(o,c,y)}disableAnimations(o,c){this.engine.disableAnimations(o,c)}}class x extends M{constructor(o,c,y,C){super(c,y,C),this.factory=o,this.namespaceId=c}setProperty(o,c,y){c.charAt(0)==g?"."==c.charAt(1)&&c==w?this.disableAnimations(o,y=void 0===y||!!y):this.engine.process(this.namespaceId,o,c.slice(1),y):this.delegate.setProperty(o,c,y)}listen(o,c,y){if(c.charAt(0)==g){const C=function Y(_){switch(_){case"body":return document.body;case"document":return document;case"window":return window;default:return _}}(o);let T=c.slice(1),F="";return T.charAt(0)!=g&&([T,F]=function ne(_){const o=_.indexOf(".");return[_.substring(0,o),_.slice(o+1)]}(T)),this.engine.listen(this.namespaceId,C,T,F,L=>{this.factory.scheduleListenerCallback(L._data||-1,y,L)})}return this.delegate.listen(o,c,y)}}const Dt=[{provide:me,useClass:bs},{provide:Ai,useFactory:function vt(){return new Pi}},{provide:Ni,useClass:(()=>{class _ extends Ni{constructor(c,y,C,T){super(c.body,y,C)}ngOnDestroy(){this.flush()}}return _.\u0275fac=function(c){return new(c||_)(R.LFG(Ss.K0),R.LFG(Ir),R.LFG(Ai),R.LFG(R.z2F))},_.\u0275prov=R.Yz7({token:_,factory:_.\u0275fac}),_})()},{provide:R.FYo,useFactory:function Et(_,o,c){return new m(_,o,c)},deps:[E.se,Ni,R.R0b]}],ct=[{provide:Ir,useFactory:()=>new Cs},{provide:R.QbO,useValue:"BrowserAnimations"},...Dt],_t=[{provide:Ir,useClass:vi},{provide:R.QbO,useValue:"NoopAnimations"},...Dt];let wt=(()=>{class _{static withConfig(c){return{ngModule:_,providers:c.disableAnimations?_t:ct}}}return _.\u0275fac=function(c){return new(c||_)},_.\u0275mod=R.oAB({type:_}),_.\u0275inj=R.cJS({providers:ct,imports:[E.b2]}),_})(),Yn=(()=>{class _{}return _.\u0275fac=function(c){return new(c||_)},_.\u0275mod=R.oAB({type:_,bootstrap:[De]}),_.\u0275inj=R.cJS({imports:[E.b2,te,wt]}),_})();(0,R.G48)(),E.q6().bootstrapModule(Yn).catch(_=>console.error(_))},1135:(et,fe,N)=>{N.d(fe,{X:()=>R});var E=N(7579);class R extends E.x{constructor(ee){super(),this._value=ee}get value(){return this.getValue()}_subscribe(ee){const te=super._subscribe(ee);return!te.closed&&ee.next(this._value),te}getValue(){const{hasError:ee,thrownError:te,_value:De}=this;if(ee)throw te;return this._throwIfClosed(),De}next(ee){super.next(this._value=ee)}}},9751:(et,fe,N)=>{N.d(fe,{y:()=>Le});var E=N(930),R=N(727),K=N(8822),ee=N(9635),te=N(2416),De=N(576),me=N(2806);let Le=(()=>{class ye{constructor(ae){ae&&(this._subscribe=ae)}lift(ae){const ke=new ye;return ke.source=this,ke.operator=ae,ke}subscribe(ae,ke,Ie){const xe=function re(ye){return ye&&ye instanceof E.Lv||function he(ye){return ye&&(0,De.m)(ye.next)&&(0,De.m)(ye.error)&&(0,De.m)(ye.complete)}(ye)&&(0,R.Nn)(ye)}(ae)?ae:new E.Hp(ae,ke,Ie);return(0,me.x)(()=>{const{operator:Ye,source:bt}=this;xe.add(Ye?Ye.call(xe,bt):bt?this._subscribe(xe):this._trySubscribe(xe))}),xe}_trySubscribe(ae){try{return this._subscribe(ae)}catch(ke){ae.error(ke)}}forEach(ae,ke){return new(ke=Ee(ke))((Ie,xe)=>{const Ye=new E.Hp({next:bt=>{try{ae(bt)}catch(Me){xe(Me),Ye.unsubscribe()}},error:xe,complete:Ie});this.subscribe(Ye)})}_subscribe(ae){var ke;return null===(ke=this.source)||void 0===ke?void 0:ke.subscribe(ae)}[K.L](){return this}pipe(...ae){return(0,ee.U)(ae)(this)}toPromise(ae){return new(ae=Ee(ae))((ke,Ie)=>{let xe;this.subscribe(Ye=>xe=Ye,Ye=>Ie(Ye),()=>ke(xe))})}}return ye.create=Ue=>new ye(Ue),ye})();function Ee(ye){var Ue;return null!==(Ue=ye??te.v.Promise)&&void 0!==Ue?Ue:Promise}},7579:(et,fe,N)=>{N.d(fe,{x:()=>me});var E=N(9751),R=N(727);const ee=(0,N(3888).d)(Ee=>function(){Ee(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var te=N(8737),De=N(2806);let me=(()=>{class Ee extends E.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(re){const ye=new Le(this,this);return ye.operator=re,ye}_throwIfClosed(){if(this.closed)throw new ee}next(re){(0,De.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ye of this.currentObservers)ye.next(re)}})}error(re){(0,De.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=re;const{observers:ye}=this;for(;ye.length;)ye.shift().error(re)}})}complete(){(0,De.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:re}=this;for(;re.length;)re.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var re;return(null===(re=this.observers)||void 0===re?void 0:re.length)>0}_trySubscribe(re){return this._throwIfClosed(),super._trySubscribe(re)}_subscribe(re){return this._throwIfClosed(),this._checkFinalizedStatuses(re),this._innerSubscribe(re)}_innerSubscribe(re){const{hasError:ye,isStopped:Ue,observers:ae}=this;return ye||Ue?R.Lc:(this.currentObservers=null,ae.push(re),new R.w0(()=>{this.currentObservers=null,(0,te.P)(ae,re)}))}_checkFinalizedStatuses(re){const{hasError:ye,thrownError:Ue,isStopped:ae}=this;ye?re.error(Ue):ae&&re.complete()}asObservable(){const re=new E.y;return re.source=this,re}}return Ee.create=(he,re)=>new Le(he,re),Ee})();class Le extends me{constructor(he,re){super(),this.destination=he,this.source=re}next(he){var re,ye;null===(ye=null===(re=this.destination)||void 0===re?void 0:re.next)||void 0===ye||ye.call(re,he)}error(he){var re,ye;null===(ye=null===(re=this.destination)||void 0===re?void 0:re.error)||void 0===ye||ye.call(re,he)}complete(){var he,re;null===(re=null===(he=this.destination)||void 0===he?void 0:he.complete)||void 0===re||re.call(he)}_subscribe(he){var re,ye;return null!==(ye=null===(re=this.source)||void 0===re?void 0:re.subscribe(he))&&void 0!==ye?ye:R.Lc}}},930:(et,fe,N)=>{N.d(fe,{Hp:()=>Ie,Lv:()=>ye});var E=N(576),R=N(727),K=N(2416),ee=N(7849),te=N(5032);const De=Ee("C",void 0,void 0);function Ee(_e,pe,q){return{kind:_e,value:pe,error:q}}var he=N(3410),re=N(2806);class ye extends R.w0{constructor(pe){super(),this.isStopped=!1,pe?(this.destination=pe,(0,R.Nn)(pe)&&pe.add(this)):this.destination=Me}static create(pe,q,Qe){return new Ie(pe,q,Qe)}next(pe){this.isStopped?bt(function Le(_e){return Ee("N",_e,void 0)}(pe),this):this._next(pe)}error(pe){this.isStopped?bt(function me(_e){return Ee("E",void 0,_e)}(pe),this):(this.isStopped=!0,this._error(pe))}complete(){this.isStopped?bt(De,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(pe){this.destination.next(pe)}_error(pe){try{this.destination.error(pe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ue=Function.prototype.bind;function ae(_e,pe){return Ue.call(_e,pe)}class ke{constructor(pe){this.partialObserver=pe}next(pe){const{partialObserver:q}=this;if(q.next)try{q.next(pe)}catch(Qe){xe(Qe)}}error(pe){const{partialObserver:q}=this;if(q.error)try{q.error(pe)}catch(Qe){xe(Qe)}else xe(pe)}complete(){const{partialObserver:pe}=this;if(pe.complete)try{pe.complete()}catch(q){xe(q)}}}class Ie extends ye{constructor(pe,q,Qe){let se;if(super(),(0,E.m)(pe)||!pe)se={next:pe??void 0,error:q??void 0,complete:Qe??void 0};else{let le;this&&K.v.useDeprecatedNextContext?(le=Object.create(pe),le.unsubscribe=()=>this.unsubscribe(),se={next:pe.next&&ae(pe.next,le),error:pe.error&&ae(pe.error,le),complete:pe.complete&&ae(pe.complete,le)}):se=pe}this.destination=new ke(se)}}function xe(_e){K.v.useDeprecatedSynchronousErrorHandling?(0,re.O)(_e):(0,ee.h)(_e)}function bt(_e,pe){const{onStoppedNotification:q}=K.v;q&&he.z.setTimeout(()=>q(_e,pe))}const Me={closed:!0,next:te.Z,error:function Ye(_e){throw _e},complete:te.Z}},727:(et,fe,N)=>{N.d(fe,{Lc:()=>De,w0:()=>te,Nn:()=>me});var E=N(576);const K=(0,N(3888).d)(Ee=>function(re){Ee(this),this.message=re?`${re.length} errors occurred during unsubscription:\n${re.map((ye,Ue)=>`${Ue+1}) ${ye.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=re});var ee=N(8737);class te{constructor(he){this.initialTeardown=he,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let he;if(!this.closed){this.closed=!0;const{_parentage:re}=this;if(re)if(this._parentage=null,Array.isArray(re))for(const ae of re)ae.remove(this);else re.remove(this);const{initialTeardown:ye}=this;if((0,E.m)(ye))try{ye()}catch(ae){he=ae instanceof K?ae.errors:[ae]}const{_finalizers:Ue}=this;if(Ue){this._finalizers=null;for(const ae of Ue)try{Le(ae)}catch(ke){he=he??[],ke instanceof K?he=[...he,...ke.errors]:he.push(ke)}}if(he)throw new K(he)}}add(he){var re;if(he&&he!==this)if(this.closed)Le(he);else{if(he instanceof te){if(he.closed||he._hasParent(this))return;he._addParent(this)}(this._finalizers=null!==(re=this._finalizers)&&void 0!==re?re:[]).push(he)}}_hasParent(he){const{_parentage:re}=this;return re===he||Array.isArray(re)&&re.includes(he)}_addParent(he){const{_parentage:re}=this;this._parentage=Array.isArray(re)?(re.push(he),re):re?[re,he]:he}_removeParent(he){const{_parentage:re}=this;re===he?this._parentage=null:Array.isArray(re)&&(0,ee.P)(re,he)}remove(he){const{_finalizers:re}=this;re&&(0,ee.P)(re,he),he instanceof te&&he._removeParent(this)}}te.EMPTY=(()=>{const Ee=new te;return Ee.closed=!0,Ee})();const De=te.EMPTY;function me(Ee){return Ee instanceof te||Ee&&"closed"in Ee&&(0,E.m)(Ee.remove)&&(0,E.m)(Ee.add)&&(0,E.m)(Ee.unsubscribe)}function Le(Ee){(0,E.m)(Ee)?Ee():Ee.unsubscribe()}},2416:(et,fe,N)=>{N.d(fe,{v:()=>E});const E={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(et,fe,N)=>{N.d(fe,{a:()=>he});var E=N(9751),R=N(4742),K=N(2076),ee=N(4671),te=N(3268),De=N(7669),me=N(1810),Le=N(5403),Ee=N(9672);function he(...Ue){const ae=(0,De.yG)(Ue),ke=(0,De.jO)(Ue),{args:Ie,keys:xe}=(0,R.D)(Ue);if(0===Ie.length)return(0,K.D)([],ae);const Ye=new E.y(function re(Ue,ae,ke=ee.y){return Ie=>{ye(ae,()=>{const{length:xe}=Ue,Ye=new Array(xe);let bt=xe,Me=xe;for(let _e=0;_e<xe;_e++)ye(ae,()=>{const pe=(0,K.D)(Ue[_e],ae);let q=!1;pe.subscribe((0,Le.x)(Ie,Qe=>{Ye[_e]=Qe,q||(q=!0,Me--),Me||Ie.next(ke(Ye.slice()))},()=>{--bt||Ie.complete()}))},Ie)},Ie)}}(Ie,ae,xe?bt=>(0,me.n)(xe,bt):ee.y));return ke?Ye.pipe((0,te.Z)(ke)):Ye}function ye(Ue,ae,ke){Ue?(0,Ee.f)(ke,Ue,ae):ae()}},7272:(et,fe,N)=>{N.d(fe,{z:()=>te});var E=N(8189),K=N(7669),ee=N(2076);function te(...De){return function R(){return(0,E.J)(1)}()((0,ee.D)(De,(0,K.yG)(De)))}},515:(et,fe,N)=>{N.d(fe,{E:()=>R});const R=new(N(9751).y)(te=>te.complete())},2076:(et,fe,N)=>{N.d(fe,{D:()=>Qe});var E=N(8421),R=N(9672),K=N(4482),ee=N(5403);function te(se,le=0){return(0,K.e)(($e,j)=>{$e.subscribe((0,ee.x)(j,z=>(0,R.f)(j,se,()=>j.next(z),le),()=>(0,R.f)(j,se,()=>j.complete(),le),z=>(0,R.f)(j,se,()=>j.error(z),le)))})}function De(se,le=0){return(0,K.e)(($e,j)=>{j.add(se.schedule(()=>$e.subscribe(j),le))})}var Ee=N(9751),re=N(2202),ye=N(576);function ae(se,le){if(!se)throw new Error("Iterable cannot be null");return new Ee.y($e=>{(0,R.f)($e,le,()=>{const j=se[Symbol.asyncIterator]();(0,R.f)($e,le,()=>{j.next().then(z=>{z.done?$e.complete():$e.next(z.value)})},0,!0)})})}var ke=N(3670),Ie=N(8239),xe=N(1144),Ye=N(6495),bt=N(2206),Me=N(4532),_e=N(3260);function Qe(se,le){return le?function q(se,le){if(null!=se){if((0,ke.c)(se))return function me(se,le){return(0,E.Xf)(se).pipe(De(le),te(le))}(se,le);if((0,xe.z)(se))return function he(se,le){return new Ee.y($e=>{let j=0;return le.schedule(function(){j===se.length?$e.complete():($e.next(se[j++]),$e.closed||this.schedule())})})}(se,le);if((0,Ie.t)(se))return function Le(se,le){return(0,E.Xf)(se).pipe(De(le),te(le))}(se,le);if((0,bt.D)(se))return ae(se,le);if((0,Ye.T)(se))return function Ue(se,le){return new Ee.y($e=>{let j;return(0,R.f)($e,le,()=>{j=se[re.h](),(0,R.f)($e,le,()=>{let z,Q;try{({value:z,done:Q}=j.next())}catch(G){return void $e.error(G)}Q?$e.complete():$e.next(z)},0,!0)}),()=>(0,ye.m)(j?.return)&&j.return()})}(se,le);if((0,_e.L)(se))return function pe(se,le){return ae((0,_e.Q)(se),le)}(se,le)}throw(0,Me.z)(se)}(se,le):(0,E.Xf)(se)}},8421:(et,fe,N)=>{N.d(fe,{Xf:()=>Ue});var E=N(655),R=N(1144),K=N(8239),ee=N(9751),te=N(3670),De=N(2206),me=N(4532),Le=N(6495),Ee=N(3260),he=N(576),re=N(7849),ye=N(8822);function Ue(_e){if(_e instanceof ee.y)return _e;if(null!=_e){if((0,te.c)(_e))return function ae(_e){return new ee.y(pe=>{const q=_e[ye.L]();if((0,he.m)(q.subscribe))return q.subscribe(pe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(_e);if((0,R.z)(_e))return function ke(_e){return new ee.y(pe=>{for(let q=0;q<_e.length&&!pe.closed;q++)pe.next(_e[q]);pe.complete()})}(_e);if((0,K.t)(_e))return function Ie(_e){return new ee.y(pe=>{_e.then(q=>{pe.closed||(pe.next(q),pe.complete())},q=>pe.error(q)).then(null,re.h)})}(_e);if((0,De.D)(_e))return Ye(_e);if((0,Le.T)(_e))return function xe(_e){return new ee.y(pe=>{for(const q of _e)if(pe.next(q),pe.closed)return;pe.complete()})}(_e);if((0,Ee.L)(_e))return function bt(_e){return Ye((0,Ee.Q)(_e))}(_e)}throw(0,me.z)(_e)}function Ye(_e){return new ee.y(pe=>{(function Me(_e,pe){var q,Qe,se,le;return(0,E.mG)(this,void 0,void 0,function*(){try{for(q=(0,E.KL)(_e);!(Qe=yield q.next()).done;)if(pe.next(Qe.value),pe.closed)return}catch($e){se={error:$e}}finally{try{Qe&&!Qe.done&&(le=q.return)&&(yield le.call(q))}finally{if(se)throw se.error}}pe.complete()})})(_e,pe).catch(q=>pe.error(q))})}},9646:(et,fe,N)=>{N.d(fe,{of:()=>K});var E=N(7669),R=N(2076);function K(...ee){const te=(0,E.yG)(ee);return(0,R.D)(ee,te)}},5403:(et,fe,N)=>{N.d(fe,{x:()=>R});var E=N(930);function R(ee,te,De,me,Le){return new K(ee,te,De,me,Le)}class K extends E.Lv{constructor(te,De,me,Le,Ee,he){super(te),this.onFinalize=Ee,this.shouldUnsubscribe=he,this._next=De?function(re){try{De(re)}catch(ye){te.error(ye)}}:super._next,this._error=Le?function(re){try{Le(re)}catch(ye){te.error(ye)}finally{this.unsubscribe()}}:super._error,this._complete=me?function(){try{me()}catch(re){te.error(re)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var te;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:De}=this;super.unsubscribe(),!De&&(null===(te=this.onFinalize)||void 0===te||te.call(this))}}}},9300:(et,fe,N)=>{N.d(fe,{h:()=>K});var E=N(4482),R=N(5403);function K(ee,te){return(0,E.e)((De,me)=>{let Le=0;De.subscribe((0,R.x)(me,Ee=>ee.call(te,Ee,Le++)&&me.next(Ee)))})}},4004:(et,fe,N)=>{N.d(fe,{U:()=>K});var E=N(4482),R=N(5403);function K(ee,te){return(0,E.e)((De,me)=>{let Le=0;De.subscribe((0,R.x)(me,Ee=>{me.next(ee.call(te,Ee,Le++))}))})}},8189:(et,fe,N)=>{N.d(fe,{J:()=>K});var E=N(5577),R=N(4671);function K(ee=1/0){return(0,E.z)(R.y,ee)}},5577:(et,fe,N)=>{N.d(fe,{z:()=>Le});var E=N(4004),R=N(8421),K=N(4482),ee=N(9672),te=N(5403),me=N(576);function Le(Ee,he,re=1/0){return(0,me.m)(he)?Le((ye,Ue)=>(0,E.U)((ae,ke)=>he(ye,ae,Ue,ke))((0,R.Xf)(Ee(ye,Ue))),re):("number"==typeof he&&(re=he),(0,K.e)((ye,Ue)=>function De(Ee,he,re,ye,Ue,ae,ke,Ie){const xe=[];let Ye=0,bt=0,Me=!1;const _e=()=>{Me&&!xe.length&&!Ye&&he.complete()},pe=Qe=>Ye<ye?q(Qe):xe.push(Qe),q=Qe=>{ae&&he.next(Qe),Ye++;let se=!1;(0,R.Xf)(re(Qe,bt++)).subscribe((0,te.x)(he,le=>{Ue?.(le),ae?pe(le):he.next(le)},()=>{se=!0},void 0,()=>{if(se)try{for(Ye--;xe.length&&Ye<ye;){const le=xe.shift();ke?(0,ee.f)(he,ke,()=>q(le)):q(le)}_e()}catch(le){he.error(le)}}))};return Ee.subscribe((0,te.x)(he,pe,()=>{Me=!0,_e()})),()=>{Ie?.()}}(ye,Ue,Ee,re)))}},8675:(et,fe,N)=>{N.d(fe,{O:()=>ee});var E=N(7272),R=N(7669),K=N(4482);function ee(...te){const De=(0,R.yG)(te);return(0,K.e)((me,Le)=>{(De?(0,E.z)(te,me,De):(0,E.z)(te,me)).subscribe(Le)})}},5698:(et,fe,N)=>{N.d(fe,{q:()=>ee});var E=N(515),R=N(4482),K=N(5403);function ee(te){return te<=0?()=>E.E:(0,R.e)((De,me)=>{let Le=0;De.subscribe((0,K.x)(me,Ee=>{++Le<=te&&(me.next(Ee),te<=Le&&me.complete())}))})}},3410:(et,fe,N)=>{N.d(fe,{z:()=>E});const E={setTimeout(R,K,...ee){const{delegate:te}=E;return te?.setTimeout?te.setTimeout(R,K,...ee):setTimeout(R,K,...ee)},clearTimeout(R){const{delegate:K}=E;return(K?.clearTimeout||clearTimeout)(R)},delegate:void 0}},2202:(et,fe,N)=>{N.d(fe,{h:()=>R});const R=function E(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(et,fe,N)=>{N.d(fe,{L:()=>E});const E="function"==typeof Symbol&&Symbol.observable||"@@observable"},7669:(et,fe,N)=>{N.d(fe,{_6:()=>De,jO:()=>ee,yG:()=>te});var E=N(576);function K(me){return me[me.length-1]}function ee(me){return(0,E.m)(K(me))?me.pop():void 0}function te(me){return function R(me){return me&&(0,E.m)(me.schedule)}(K(me))?me.pop():void 0}function De(me,Le){return"number"==typeof K(me)?me.pop():Le}},4742:(et,fe,N)=>{N.d(fe,{D:()=>te});const{isArray:E}=Array,{getPrototypeOf:R,prototype:K,keys:ee}=Object;function te(me){if(1===me.length){const Le=me[0];if(E(Le))return{args:Le,keys:null};if(function De(me){return me&&"object"==typeof me&&R(me)===K}(Le)){const Ee=ee(Le);return{args:Ee.map(he=>Le[he]),keys:Ee}}}return{args:me,keys:null}}},8737:(et,fe,N)=>{function E(R,K){if(R){const ee=R.indexOf(K);0<=ee&&R.splice(ee,1)}}N.d(fe,{P:()=>E})},3888:(et,fe,N)=>{function E(R){const ee=R(te=>{Error.call(te),te.stack=(new Error).stack});return ee.prototype=Object.create(Error.prototype),ee.prototype.constructor=ee,ee}N.d(fe,{d:()=>E})},1810:(et,fe,N)=>{function E(R,K){return R.reduce((ee,te,De)=>(ee[te]=K[De],ee),{})}N.d(fe,{n:()=>E})},2806:(et,fe,N)=>{N.d(fe,{O:()=>ee,x:()=>K});var E=N(2416);let R=null;function K(te){if(E.v.useDeprecatedSynchronousErrorHandling){const De=!R;if(De&&(R={errorThrown:!1,error:null}),te(),De){const{errorThrown:me,error:Le}=R;if(R=null,me)throw Le}}else te()}function ee(te){E.v.useDeprecatedSynchronousErrorHandling&&R&&(R.errorThrown=!0,R.error=te)}},9672:(et,fe,N)=>{function E(R,K,ee,te=0,De=!1){const me=K.schedule(function(){ee(),De?R.add(this.schedule(null,te)):this.unsubscribe()},te);if(R.add(me),!De)return me}N.d(fe,{f:()=>E})},4671:(et,fe,N)=>{function E(R){return R}N.d(fe,{y:()=>E})},1144:(et,fe,N)=>{N.d(fe,{z:()=>E});const E=R=>R&&"number"==typeof R.length&&"function"!=typeof R},2206:(et,fe,N)=>{N.d(fe,{D:()=>R});var E=N(576);function R(K){return Symbol.asyncIterator&&(0,E.m)(K?.[Symbol.asyncIterator])}},576:(et,fe,N)=>{function E(R){return"function"==typeof R}N.d(fe,{m:()=>E})},3670:(et,fe,N)=>{N.d(fe,{c:()=>K});var E=N(8822),R=N(576);function K(ee){return(0,R.m)(ee[E.L])}},6495:(et,fe,N)=>{N.d(fe,{T:()=>K});var E=N(2202),R=N(576);function K(ee){return(0,R.m)(ee?.[E.h])}},8239:(et,fe,N)=>{N.d(fe,{t:()=>R});var E=N(576);function R(K){return(0,E.m)(K?.then)}},3260:(et,fe,N)=>{N.d(fe,{L:()=>ee,Q:()=>K});var E=N(655),R=N(576);function K(te){return(0,E.FC)(this,arguments,function*(){const me=te.getReader();try{for(;;){const{value:Le,done:Ee}=yield(0,E.qq)(me.read());if(Ee)return yield(0,E.qq)(void 0);yield yield(0,E.qq)(Le)}}finally{me.releaseLock()}})}function ee(te){return(0,R.m)(te?.getReader)}},4482:(et,fe,N)=>{N.d(fe,{A:()=>R,e:()=>K});var E=N(576);function R(ee){return(0,E.m)(ee?.lift)}function K(ee){return te=>{if(R(te))return te.lift(function(De){try{return ee(De,this)}catch(me){this.error(me)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(et,fe,N)=>{N.d(fe,{Z:()=>ee});var E=N(4004);const{isArray:R}=Array;function ee(te){return(0,E.U)(De=>function K(te,De){return R(De)?te(...De):te(De)}(te,De))}},5032:(et,fe,N)=>{function E(){}N.d(fe,{Z:()=>E})},9635:(et,fe,N)=>{N.d(fe,{U:()=>K,z:()=>R});var E=N(4671);function R(...ee){return K(ee)}function K(ee){return 0===ee.length?E.y:1===ee.length?ee[0]:function(De){return ee.reduce((me,Le)=>Le(me),De)}}},7849:(et,fe,N)=>{N.d(fe,{h:()=>K});var E=N(2416),R=N(3410);function K(ee){R.z.setTimeout(()=>{const{onUnhandledError:te}=E.v;if(!te)throw ee;te(ee)})}},4532:(et,fe,N)=>{function E(R){return new TypeError(`You provided ${null!==R&&"object"==typeof R?"an invalid object":`'${R}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}N.d(fe,{z:()=>E})},655:(et,fe,N)=>{function Le(j,z,Q,G){return new(Q||(Q=Promise))(function(ge,Xe){function ze(nn){try{lt(G.next(nn))}catch(Hn){Xe(Hn)}}function Ht(nn){try{lt(G.throw(nn))}catch(Hn){Xe(Hn)}}function lt(nn){nn.done?ge(nn.value):function we(ge){return ge instanceof Q?ge:new Q(function(Xe){Xe(ge)})}(nn.value).then(ze,Ht)}lt((G=G.apply(j,z||[])).next())})}function xe(j){return this instanceof xe?(this.v=j,this):new xe(j)}function Ye(j,z,Q){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var we,G=Q.apply(j,z||[]),ge=[];return we={},Xe("next"),Xe("throw"),Xe("return"),we[Symbol.asyncIterator]=function(){return this},we;function Xe(Ot){G[Ot]&&(we[Ot]=function(On){return new Promise(function($n,$t){ge.push([Ot,On,$n,$t])>1||ze(Ot,On)})})}function ze(Ot,On){try{!function Ht(Ot){Ot.value instanceof xe?Promise.resolve(Ot.value.v).then(lt,nn):Hn(ge[0][2],Ot)}(G[Ot](On))}catch($n){Hn(ge[0][3],$n)}}function lt(Ot){ze("next",Ot)}function nn(Ot){ze("throw",Ot)}function Hn(Ot,On){Ot(On),ge.shift(),ge.length&&ze(ge[0][0],ge[0][1])}}function Me(j){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Q,z=j[Symbol.asyncIterator];return z?z.call(j):(j=function ye(j){var z="function"==typeof Symbol&&Symbol.iterator,Q=z&&j[z],G=0;if(Q)return Q.call(j);if(j&&"number"==typeof j.length)return{next:function(){return j&&G>=j.length&&(j=void 0),{value:j&&j[G++],done:!j}}};throw new TypeError(z?"Object is not iterable.":"Symbol.iterator is not defined.")}(j),Q={},G("next"),G("throw"),G("return"),Q[Symbol.asyncIterator]=function(){return this},Q);function G(ge){Q[ge]=j[ge]&&function(Xe){return new Promise(function(ze,Ht){!function we(ge,Xe,ze,Ht){Promise.resolve(Ht).then(function(lt){ge({value:lt,done:ze})},Xe)}(ze,Ht,(Xe=j[ge](Xe)).done,Xe.value)})}}}N.d(fe,{FC:()=>Ye,KL:()=>Me,mG:()=>Le,qq:()=>xe})},6895:(et,fe,N)=>{N.d(fe,{Do:()=>Me,EM:()=>Pi,HT:()=>te,JF:()=>ws,K0:()=>me,Mx:()=>dn,NF:()=>_s,PC:()=>Dn,S$:()=>xe,V_:()=>he,Ye:()=>_e,b0:()=>bt,bD:()=>Ti,ez:()=>Cn,mk:()=>Di,q:()=>K,sg:()=>sn,w_:()=>De});var E=N(8256);let R=null;function K(){return R}function te(g){R||(R=g)}class De{}const me=new E.OlP("DocumentToken");let Le=(()=>{class g{historyGo(m){throw new Error("Not implemented")}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275prov=E.Yz7({token:g,factory:function(){return function Ee(){return(0,E.LFG)(re)}()},providedIn:"platform"}),g})();const he=new E.OlP("Location Initialized");let re=(()=>{class g extends Le{constructor(m){super(),this._doc=m,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return K().getBaseHref(this._doc)}onPopState(m){const M=K().getGlobalEventTarget(this._doc,"window");return M.addEventListener("popstate",m,!1),()=>M.removeEventListener("popstate",m)}onHashChange(m){const M=K().getGlobalEventTarget(this._doc,"window");return M.addEventListener("hashchange",m,!1),()=>M.removeEventListener("hashchange",m)}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(m){this.location.pathname=m}pushState(m,M,x){ye()?this._history.pushState(m,M,x):this.location.hash=x}replaceState(m,M,x){ye()?this._history.replaceState(m,M,x):this.location.hash=x}forward(){this._history.forward()}back(){this._history.back()}historyGo(m=0){this._history.go(m)}getState(){return this._history.state}}return g.\u0275fac=function(m){return new(m||g)(E.LFG(me))},g.\u0275prov=E.Yz7({token:g,factory:function(){return function Ue(){return new re((0,E.LFG)(me))}()},providedIn:"platform"}),g})();function ye(){return!!window.history.pushState}function ae(g,w){if(0==g.length)return w;if(0==w.length)return g;let m=0;return g.endsWith("/")&&m++,w.startsWith("/")&&m++,2==m?g+w.substring(1):1==m?g+w:g+"/"+w}function ke(g){const w=g.match(/#|\?|$/),m=w&&w.index||g.length;return g.slice(0,m-("/"===g[m-1]?1:0))+g.slice(m)}function Ie(g){return g&&"?"!==g[0]?"?"+g:g}let xe=(()=>{class g{historyGo(m){throw new Error("Not implemented")}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275prov=E.Yz7({token:g,factory:function(){return(0,E.f3M)(bt)},providedIn:"root"}),g})();const Ye=new E.OlP("appBaseHref");let bt=(()=>{class g extends xe{constructor(m,M){super(),this._platformLocation=m,this._removeListenerFns=[],this._baseHref=M??this._platformLocation.getBaseHrefFromDOM()??(0,E.f3M)(me).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}prepareExternalUrl(m){return ae(this._baseHref,m)}path(m=!1){const M=this._platformLocation.pathname+Ie(this._platformLocation.search),x=this._platformLocation.hash;return x&&m?`${M}${x}`:M}pushState(m,M,x,Y){const ne=this.prepareExternalUrl(x+Ie(Y));this._platformLocation.pushState(m,M,ne)}replaceState(m,M,x,Y){const ne=this.prepareExternalUrl(x+Ie(Y));this._platformLocation.replaceState(m,M,ne)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}}return g.\u0275fac=function(m){return new(m||g)(E.LFG(Le),E.LFG(Ye,8))},g.\u0275prov=E.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})(),Me=(()=>{class g extends xe{constructor(m,M){super(),this._platformLocation=m,this._baseHref="",this._removeListenerFns=[],null!=M&&(this._baseHref=M)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}path(m=!1){let M=this._platformLocation.hash;return null==M&&(M="#"),M.length>0?M.substring(1):M}prepareExternalUrl(m){const M=ae(this._baseHref,m);return M.length>0?"#"+M:M}pushState(m,M,x,Y){let ne=this.prepareExternalUrl(x+Ie(Y));0==ne.length&&(ne=this._platformLocation.pathname),this._platformLocation.pushState(m,M,ne)}replaceState(m,M,x,Y){let ne=this.prepareExternalUrl(x+Ie(Y));0==ne.length&&(ne=this._platformLocation.pathname),this._platformLocation.replaceState(m,M,ne)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(m=0){this._platformLocation.historyGo?.(m)}}return g.\u0275fac=function(m){return new(m||g)(E.LFG(Le),E.LFG(Ye,8))},g.\u0275prov=E.Yz7({token:g,factory:g.\u0275fac}),g})(),_e=(()=>{class g{constructor(m){this._subject=new E.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=m;const M=this._locationStrategy.getBaseHref();this._baseHref=ke(Qe(M)),this._locationStrategy.onPopState(x=>{this._subject.emit({url:this.path(!0),pop:!0,state:x.state,type:x.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(m=!1){return this.normalize(this._locationStrategy.path(m))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(m,M=""){return this.path()==this.normalize(m+Ie(M))}normalize(m){return g.stripTrailingSlash(function q(g,w){return g&&w.startsWith(g)?w.substring(g.length):w}(this._baseHref,Qe(m)))}prepareExternalUrl(m){return m&&"/"!==m[0]&&(m="/"+m),this._locationStrategy.prepareExternalUrl(m)}go(m,M="",x=null){this._locationStrategy.pushState(x,"",m,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+Ie(M)),x)}replaceState(m,M="",x=null){this._locationStrategy.replaceState(x,"",m,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+Ie(M)),x)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(m=0){this._locationStrategy.historyGo?.(m)}onUrlChange(m){return this._urlChangeListeners.push(m),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(M=>{this._notifyUrlChangeListeners(M.url,M.state)})),()=>{const M=this._urlChangeListeners.indexOf(m);this._urlChangeListeners.splice(M,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(m="",M){this._urlChangeListeners.forEach(x=>x(m,M))}subscribe(m,M,x){return this._subject.subscribe({next:m,error:M,complete:x})}}return g.normalizeQueryParams=Ie,g.joinWithSlash=ae,g.stripTrailingSlash=ke,g.\u0275fac=function(m){return new(m||g)(E.LFG(xe))},g.\u0275prov=E.Yz7({token:g,factory:function(){return function pe(){return new _e((0,E.LFG)(xe))}()},providedIn:"root"}),g})();function Qe(g){return g.replace(/\/index.html$/,"")}function dn(g,w){w=encodeURIComponent(w);for(const m of g.split(";")){const M=m.indexOf("="),[x,Y]=-1==M?[m,""]:[m.slice(0,M),m.slice(M+1)];if(x.trim()===w)return decodeURIComponent(Y)}return null}let Di=(()=>{class g{constructor(m,M,x,Y){this._iterableDiffers=m,this._keyValueDiffers=M,this._ngEl=x,this._renderer=Y,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(m){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof m?m.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(m){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof m?m.split(/\s+/):m,this._rawClass&&((0,E.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const m=this._iterableDiffer.diff(this._rawClass);m&&this._applyIterableChanges(m)}else if(this._keyValueDiffer){const m=this._keyValueDiffer.diff(this._rawClass);m&&this._applyKeyValueChanges(m)}}_applyKeyValueChanges(m){m.forEachAddedItem(M=>this._toggleClass(M.key,M.currentValue)),m.forEachChangedItem(M=>this._toggleClass(M.key,M.currentValue)),m.forEachRemovedItem(M=>{M.previousValue&&this._toggleClass(M.key,!1)})}_applyIterableChanges(m){m.forEachAddedItem(M=>{if("string"!=typeof M.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,E.AaK)(M.item)}`);this._toggleClass(M.item,!0)}),m.forEachRemovedItem(M=>this._toggleClass(M.item,!1))}_applyClasses(m){m&&(Array.isArray(m)||m instanceof Set?m.forEach(M=>this._toggleClass(M,!0)):Object.keys(m).forEach(M=>this._toggleClass(M,!!m[M])))}_removeClasses(m){m&&(Array.isArray(m)||m instanceof Set?m.forEach(M=>this._toggleClass(M,!1)):Object.keys(m).forEach(M=>this._toggleClass(M,!1)))}_toggleClass(m,M){(m=m.trim())&&m.split(/\s+/g).forEach(x=>{M?this._renderer.addClass(this._ngEl.nativeElement,x):this._renderer.removeClass(this._ngEl.nativeElement,x)})}}return g.\u0275fac=function(m){return new(m||g)(E.Y36(E.ZZ4),E.Y36(E.aQg),E.Y36(E.SBq),E.Y36(E.Qsj))},g.\u0275dir=E.lG2({type:g,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),g})();class Vn{constructor(w,m,M,x){this.$implicit=w,this.ngForOf=m,this.index=M,this.count=x}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 sn=(()=>{class g{constructor(m,M,x){this._viewContainer=m,this._template=M,this._differs=x,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(m){this._ngForOf=m,this._ngForOfDirty=!0}set ngForTrackBy(m){this._trackByFn=m}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(m){m&&(this._template=m)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const m=this._ngForOf;!this._differ&&m&&(this._differ=this._differs.find(m).create(this.ngForTrackBy))}if(this._differ){const m=this._differ.diff(this._ngForOf);m&&this._applyChanges(m)}}_applyChanges(m){const M=this._viewContainer;m.forEachOperation((x,Y,ne)=>{if(null==x.previousIndex)M.createEmbeddedView(this._template,new Vn(x.item,this._ngForOf,-1,-1),null===ne?void 0:ne);else if(null==ne)M.remove(null===Y?void 0:Y);else if(null!==Y){const Se=M.get(Y);M.move(Se,ne),rr(Se,x)}});for(let x=0,Y=M.length;x<Y;x++){const Se=M.get(x).context;Se.index=x,Se.count=Y,Se.ngForOf=this._ngForOf}m.forEachIdentityChange(x=>{rr(M.get(x.currentIndex),x)})}static ngTemplateContextGuard(m,M){return!0}}return g.\u0275fac=function(m){return new(m||g)(E.Y36(E.s_b),E.Y36(E.Rgc),E.Y36(E.ZZ4))},g.\u0275dir=E.lG2({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),g})();function rr(g,w){g.context.$implicit=w.item}let Dn=(()=>{class g{constructor(m,M,x){this._ngEl=m,this._differs=M,this._renderer=x,this._ngStyle=null,this._differ=null}set ngStyle(m){this._ngStyle=m,!this._differ&&m&&(this._differ=this._differs.find(m).create())}ngDoCheck(){if(this._differ){const m=this._differ.diff(this._ngStyle);m&&this._applyChanges(m)}}_setStyle(m,M){const[x,Y]=m.split("."),ne=-1===x.indexOf("-")?void 0:E.JOm.DashCase;null!=M?this._renderer.setStyle(this._ngEl.nativeElement,x,Y?`${M}${Y}`:M,ne):this._renderer.removeStyle(this._ngEl.nativeElement,x,ne)}_applyChanges(m){m.forEachRemovedItem(M=>this._setStyle(M.key,null)),m.forEachAddedItem(M=>this._setStyle(M.key,M.currentValue)),m.forEachChangedItem(M=>this._setStyle(M.key,M.currentValue))}}return g.\u0275fac=function(m){return new(m||g)(E.Y36(E.SBq),E.Y36(E.aQg),E.Y36(E.Qsj))},g.\u0275dir=E.lG2({type:g,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),g})(),Cn=(()=>{class g{}return g.\u0275fac=function(m){return new(m||g)},g.\u0275mod=E.oAB({type:g}),g.\u0275inj=E.cJS({}),g})();const Ti="browser";function _s(g){return g===Ti}let Pi=(()=>{class g{}return g.\u0275prov=(0,E.Yz7)({token:g,providedIn:"root",factory:()=>new pn((0,E.LFG)(me),window)}),g})();class pn{constructor(w,m){this.document=w,this.window=m,this.offset=()=>[0,0]}setOffset(w){this.offset=Array.isArray(w)?()=>w:w}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(w){this.supportsScrolling()&&this.window.scrollTo(w[0],w[1])}scrollToAnchor(w){if(!this.supportsScrolling())return;const m=function Es(g,w){const m=g.getElementById(w)||g.getElementsByName(w)[0];if(m)return m;if("function"==typeof g.createTreeWalker&&g.body&&(g.body.createShadowRoot||g.body.attachShadow)){const M=g.createTreeWalker(g.body,NodeFilter.SHOW_ELEMENT);let x=M.currentNode;for(;x;){const Y=x.shadowRoot;if(Y){const ne=Y.getElementById(w)||Y.querySelector(`[name="${w}"]`);if(ne)return ne}x=M.nextNode()}}return null}(this.document,w);m&&(this.scrollToElement(m),m.focus())}setHistoryScrollRestoration(w){if(this.supportScrollRestoration()){const m=this.window.history;m&&m.scrollRestoration&&(m.scrollRestoration=w)}}scrollToElement(w){const m=w.getBoundingClientRect(),M=m.left+this.window.pageXOffset,x=m.top+this.window.pageYOffset,Y=this.offset();this.window.scrollTo(M-Y[0],x-Y[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const w=Gr(this.window.history)||Gr(Object.getPrototypeOf(this.window.history));return!(!w||!w.writable&&!w.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Gr(g){return Object.getOwnPropertyDescriptor(g,"scrollRestoration")}class ws{}},8256:(et,fe,N)=>{N.d(fe,{QbO:()=>Nw,tb:()=>Pg,AFp:()=>Tg,ip1:()=>Mg,CZH:()=>ll,hGG:()=>vC,z2F:()=>cl,sBO:()=>nC,Sil:()=>kw,_Vd:()=>na,EJc:()=>Fw,Xts:()=>Ol,SBq:()=>ra,lqb:()=>Qs,qLn:()=>ia,vpe:()=>$i,XFs:()=>Te,OlP:()=>xt,zs3:()=>Xs,ZZ4:()=>Tc,aQg:()=>Ic,soG:()=>ul,YKP:()=>Fp,h0i:()=>xo,PXZ:()=>Qw,R0b:()=>Jr,FiY:()=>qo,Lbi:()=>Rw,g9A:()=>Ag,Qsj:()=>dy,FYo:()=>Sd,JOm:()=>ki,tp0:()=>Qo,Rgc:()=>_a,dDg:()=>Ww,eoX:()=>kg,GfV:()=>bd,s_b:()=>sl,ifc:()=>Tt,MMx:()=>nc,Lck:()=>CE,eFA:()=>Vg,G48:()=>tC,Gpc:()=>bt,f3M:()=>Kc,_c5:()=>yC,c2e:()=>Ow,zSh:()=>Ll,wAp:()=>Je,vHH:()=>q,lri:()=>Fg,rWj:()=>Lg,D6c:()=>DC,cg1:()=>Yu,kL8:()=>op,dqk:()=>Ze,Z0I:()=>pi,sIi:()=>ca,CqO:()=>fh,QGY:()=>$u,QP$:()=>Fe,F4k:()=>dh,RDi:()=>Sm,AaK:()=>Ie,qOj:()=>Ou,TTD:()=>Ur,_Bn:()=>xp,jDz:()=>kp,xp6:()=>uf,uIk:()=>Lu,ekj:()=>zu,Suo:()=>rg,Xpm:()=>hr,lG2:()=>U,Yz7:()=>Ft,cJS:()=>Mr,oAB:()=>Ir,Yjl:()=>B,Y36:()=>Do,_UZ:()=>ju,qZA:()=>Qa,TgZ:()=>qa,EpF:()=>ch,n5z:()=>Ho,Ikx:()=>Ku,LFG:()=>Mn,$8M:()=>Fi,$Z:()=>wf,NdJ:()=>Uu,CRH:()=>ig,oxw:()=>yh,Q6J:()=>ku,MGl:()=>Za,VKq:()=>zp,iGM:()=>tg,KtG:()=>es,Jf7:()=>kd,CHM:()=>Ji,LSH:()=>Nl,YNc:()=>lh,_uU:()=>Hh,Oqu:()=>Wu,hij:()=>Ja,Gf:()=>ng});var E=N(7579),R=N(727),K=N(9751),ee=N(8189),te=N(8421),De=N(515),me=N(7669),Le=N(2076),he=N(930),re=N(4482);function Ue(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new he.Hp({next:()=>{r.unsubscribe(),e()}});return t(...n).subscribe(r)}function ae(e){for(let t in e)if(e[t]===ae)return t;throw Error("Could not find renamed property on target object.")}function ke(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Ie(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ie).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 xe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Ye=ae({__forward_ref__:ae});function bt(e){return e.__forward_ref__=bt,e.toString=function(){return Ie(this())},e}function Me(e){return _e(e)?e():e}function _e(e){return"function"==typeof e&&e.hasOwnProperty(Ye)&&e.__forward_ref__===bt}class q extends Error{constructor(t,n){super(function Qe(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function se(e){return"string"==typeof e?e:null==e?"":String(e)}function Q(e,t){throw new q(-201,!1)}function Ut(e,t){null==e&&function Ct(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Ft(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Mr(e){return{providers:e.providers||[],imports:e.imports||[]}}function ln(e){return Jt(e,In)||Jt(e,dr)}function pi(e){return null!==ln(e)}function Jt(e,t){return e.hasOwnProperty(t)?e[t]:null}function zt(e){return e&&(e.hasOwnProperty(jr)||e.hasOwnProperty(gi))?e[jr]:null}const In=ae({\u0275prov:ae}),jr=ae({\u0275inj:ae}),dr=ae({ngInjectableDef:ae}),gi=ae({ngInjectorDef:ae});var Te=(()=>((Te=Te||{})[Te.Default=0]="Default",Te[Te.Host=1]="Host",Te[Te.Self=2]="Self",Te[Te.SkipSelf=4]="SkipSelf",Te[Te.Optional=8]="Optional",Te))();let Be;function yn(e){const t=Be;return Be=e,t}function Un(e,t,n){const r=ln(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Te.Optional?null:void 0!==t?t:void Q(Ie(e))}function un(e){return{toString:e}.toString()}var Mt=(()=>((Mt=Mt||{})[Mt.OnPush=0]="OnPush",Mt[Mt.Default=1]="Default",Mt))(),Tt=(()=>{return(e=Tt||(Tt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Tt;var e})();const Ze=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),er={},ut=[],mi=ae({\u0275cmp:ae}),fr=ae({\u0275dir:ae}),rn=ae({\u0275pipe:ae}),tr=ae({\u0275mod:ae}),cn=ae({\u0275fac:ae}),ei=ae({__NG_ELEMENT_ID__:ae});let ti=0;function hr(e){return un(()=>{const n=!0===e.standalone,r={},i={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:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Mt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||ut,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Tt.Emulated,id:"c"+ti++,styles:e.styles||ut,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.dependencies,a=e.features;return i.inputs=pr(e.inputs,r),i.outputs=pr(e.outputs),a&&a.forEach(f=>f(i)),i.directiveDefs=s?()=>("function"==typeof s?s():s).map(zi).filter(vi):null,i.pipeDefs=s?()=>("function"==typeof s?s():s).map(Z).filter(vi):null,i})}function zi(e){return A(e)||$(e)}function vi(e){return null!==e}function Ir(e){return un(()=>({type:e.type,bootstrap:e.bootstrap||ut,declarations:e.declarations||ut,imports:e.imports||ut,exports:e.exports||ut,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function pr(e,t){if(null==e)return er;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const U=hr;function B(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function A(e){return e[mi]||null}function $(e){return e[fr]||null}function Z(e){return e[rn]||null}function Fe(e){const t=A(e)||$(e)||Z(e);return null!==t&&t.standalone}function Ve(e,t){const n=e[tr]||null;if(!n&&!0===t)throw new Error(`Type ${Ie(e)} does not have '\u0275mod' property.`);return n}function Dn(e){return Array.isArray(e)&&"object"==typeof e[1]}function _n(e){return Array.isArray(e)&&!0===e[1]}function hs(e){return 0!=(8&e.flags)}function En(e){return 2==(2&e.flags)}function Ei(e){return 1==(1&e.flags)}function wn(e){return null!==e.template}function wi(e){return 0!=(256&e[2])}function Cn(e,t){return e.hasOwnProperty(cn)?e[cn]:null}class Ti{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ur(){return Ii}function Ii(e){return e.type.prototype.ngOnChanges&&(e.setInput=_s),Yi}function Yi(){const e=Ai(this),t=e?.current;if(t){const n=e.previous;if(n===er)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function _s(e,t,n,r){const i=Ai(e)||function Bo(e,t){return e[Bs]=t}(e,{previous:er,current:null}),s=i.current||(i.current={}),a=i.previous,f=this.declaredInputs[n],p=a[f];s[f]=new Ti(p&&p.currentValue,t,a===er),e[r]=t}Ur.ngInherit=!0;const Bs="__ngSimpleChanges__";function Ai(e){return e[Bs]||null}function yt(e){for(;Array.isArray(e);)e=e[0];return e}function ri(e,t){return yt(t[e])}function Pn(e,t){return yt(t[e.index])}function Qi(e,t){return e.data[t]}function Lt(e,t){const n=t[e];return Dn(n)?n:n[0]}function _r(e){return 64==(64&e[2])}function Er(e,t){return null==t?null:e[t]}function Wr(e){e[18]=0}function Rr(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 tt={lFrame:ne(null),bindingsEnabled:!0};function Kr(){return tt.bindingsEnabled}function ie(){return tt.lFrame.lView}function pt(){return tt.lFrame.tView}function Ji(e){return tt.lFrame.contextLView=e,e[8]}function es(e){return tt.lFrame.contextLView=null,e}function jt(){let e=Ri();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ri(){return tt.lFrame.currentTNode}function qt(e,t){const n=tt.lFrame;n.currentTNode=e,n.isParent=t}function Or(){return tt.lFrame.isParent}function ii(){return tt.lFrame.bindingIndex++}function bs(e,t){const n=tt.lFrame;n.bindingIndex=n.bindingRootIndex=e,xi(t)}function xi(e){tt.lFrame.currentDirectiveIndex=e}function g(){return tt.lFrame.currentQueryIndex}function w(e){tt.lFrame.currentQueryIndex=e}function m(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function M(e,t,n){if(n&Te.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&Te.Host||(i=m(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,e=s}const r=tt.lFrame=Y();return r.currentTNode=t,r.lView=e,!0}function x(e){const t=Y(),n=e[1];tt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Y(){const e=tt.lFrame,t=null===e?null:e.child;return null===t?ne(e):t}function ne(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 Se(){const e=tt.lFrame;return tt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const vt=Se;function Et(){const e=Se();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 _t(){return tt.lFrame.selectedIndex}function wt(e){tt.lFrame.selectedIndex=e}function ht(){const e=tt.lFrame;return Qi(e.tView,e.selectedIndex)}function c(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:f,ngAfterViewInit:p,ngAfterViewChecked:D,ngOnDestroy:b}=s;a&&(e.contentHooks||(e.contentHooks=[])).push(-n,a),f&&((e.contentHooks||(e.contentHooks=[])).push(n,f),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,f)),p&&(e.viewHooks||(e.viewHooks=[])).push(-n,p),D&&((e.viewHooks||(e.viewHooks=[])).push(n,D),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,D)),null!=b&&(e.destroyHooks||(e.destroyHooks=[])).push(n,b)}}function y(e,t,n){F(e,t,3,n)}function C(e,t,n,r){(3&e[2])===n&&F(e,t,n,r)}function T(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function F(e,t,n,r){const s=r??-1,a=t.length-1;let f=0;for(let p=void 0!==r?65535&e[18]:0;p<a;p++)if("number"==typeof t[p+1]){if(f=t[p],null!=r&&f>=r)break}else t[p]<0&&(e[18]+=65536),(f<s||-1==s)&&(L(e,n,t,p),e[18]=(4294901760&e[18])+p+2),p++}function L(e,t,n,r){const i=n[r]<0,s=n[r+1],f=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{s.call(f)}finally{}}}else try{s.call(f)}finally{}}const H=-1;class X{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Kt(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const s=n[r++],a=n[r++],f=n[r++];e.setAttribute(t,a,f,s)}else{const s=i,a=n[++r];Qt(s)?e.setProperty(t,s,a):e.setAttribute(t,s,a),r++}}return r}function gn(e){return 3===e||4===e||6===e}function Qt(e){return 64===e.charCodeAt(0)}function Sr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||qn(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function qn(e,t,n,r,i){let s=0,a=e.length;if(-1===t)a=-1;else for(;s<e.length;){const f=e[s++];if("number"==typeof f){if(f===t){a=-1;break}if(f>t){a=s-1;break}}}for(;s<e.length;){const f=e[s];if("number"==typeof f)break;if(f===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==a&&(e.splice(a,0,t),s=a+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function Rn(e){return e!==H}function kn(e){return 32767&e}function Bn(e,t){let n=function Lr(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Ms=!0;function sr(e){const t=Ms;return Ms=e,t}let Ne=0;const Oe={};function mt(e,t){const n=Qn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Zt(r.data,e),Zt(t,null),Zt(r.blueprint,null));const i=bn(e,t),s=e.injectorIndex;if(Rn(i)){const a=kn(i),f=Bn(i,t),p=f[1].data;for(let D=0;D<8;D++)t[s+D]=f[a+D]|p[a+D]}return t[s+8]=i,s}function Zt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function bn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=$o(i),null===r)return H;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return H}function or(e,t,n){!function Ke(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ei)&&(r=n[ei]),null==r&&(r=n[ei]=Ne++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function tn(e,t,n){if(n&Te.Optional||void 0!==e)return e;Q()}function uo(e,t,n,r){if(n&Te.Optional&&void 0===r&&(r=null),0==(n&(Te.Self|Te.Host))){const i=e[9],s=yn(void 0);try{return i?i.get(t,r,n&Te.Optional):Un(t,r,n&Te.Optional)}finally{yn(s)}}return tn(r,0,n)}function on(e,t,n,r=Te.Default,i){if(null!==e){if(1024&t[2]){const a=function Bc(e,t,n,r,i){let s=e,a=t;for(;null!==s&&null!==a&&1024&a[2]&&!(256&a[2]);){const f=ar(s,a,n,r|Te.Self,Oe);if(f!==Oe)return f;let p=s.parent;if(!p){const D=a[21];if(D){const b=D.get(n,Oe,r);if(b!==Oe)return b}p=$o(a),a=a[15]}s=p}return i}(e,t,n,r,Oe);if(a!==Oe)return a}const s=ar(e,t,n,r,Oe);if(s!==Oe)return s}return uo(t,n,r,i)}function ar(e,t,n,r,i){const s=function Ca(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(ei)?e[ei]:void 0;return"number"==typeof t?t>=0?255&t:Vo:t}(n);if("function"==typeof s){if(!M(t,e,r))return r&Te.Host?tn(i,0,r):uo(t,n,r,i);try{const a=s(r);if(null!=a||r&Te.Optional)return a;Q()}finally{vt()}}else if("number"==typeof s){let a=null,f=Qn(e,t),p=H,D=r&Te.Host?t[16][6]:null;for((-1===f||r&Te.SkipSelf)&&(p=-1===f?bn(e,t):t[f+8],p!==H&&gl(r,!1)?(a=t[1],f=kn(p),t=Bn(p,t)):f=-1);-1!==f;){const b=t[1];if(pl(s,f,b.data)){const I=jn(f,t,n,a,r,D);if(I!==Oe)return I}p=t[f+8],p!==H&&gl(r,t[1].data[f+8]===D)&&pl(s,f,t)?(a=b,f=kn(p),t=Bn(p,t)):f=-1}}return i}function jn(e,t,n,r,i,s){const a=t[1],f=a.data[e+8],b=oi(f,a,n,null==r?En(f)&&Ms:r!=a&&0!=(3&f.type),i&Te.Host&&s===f);return null!==b?ai(t,a,b,f):Oe}function oi(e,t,n,r,i){const s=e.providerIndexes,a=t.data,f=1048575&s,p=e.directiveStart,b=s>>20,k=i?f+b:e.directiveEnd;for(let V=r?f:f+b;V<k;V++){const J=a[V];if(V<p&&n===J||V>=p&&J.type===n)return V}if(i){const V=a[p];if(V&&wn(V)&&V.type===n)return p}return null}function ai(e,t,n,r){let i=e[n];const s=t.data;if(function Ce(e){return e instanceof X}(i)){const a=i;a.resolving&&function $e(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new q(-200,`Circular dependency in DI detected for ${e}${n}`)}(function le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():se(e)}(s[n]));const f=sr(a.canSeeViewProviders);a.resolving=!0;const p=a.injectImpl?yn(a.injectImpl):null;M(e,r,Te.Default);try{i=e[n]=a.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function o(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const a=Ii(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==p&&yn(p),sr(f),a.resolving=!1,vt()}}return i}function pl(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function gl(e,t){return!(e&Te.Self||e&Te.Host&&t)}class Ts{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return on(this._tNode,this._lView,t,r,n)}}function Vo(){return new Ts(jt(),ie())}function Ho(e){return un(()=>{const t=e.prototype.constructor,n=t[cn]||Is(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[cn]||Is(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Is(e){return _e(e)?()=>{const t=Is(Me(e));return t&&t()}:Cn(e)}function $o(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function Fi(e){return function Bt(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const s=n[i];if(gn(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(jt(),e)}const zs="__parameters__";function As(e,t,n){return un(()=>{const r=function Gs(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const a=new i(...s);return f.annotation=a,f;function f(p,D,b){const I=p.hasOwnProperty(zs)?p[zs]:Object.defineProperty(p,zs,{value:[]})[zs];for(;I.length<=b;)I.push(null);return(I[b]=I[b]||[]).push(a),p}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class xt{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=Ft({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function br(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),br(r,t)):t!==e&&t.push(r)}return t}function u(e,t){e.forEach(n=>Array.isArray(n)?u(n,t):t(n))}function d(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function l(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function je(e,t,n){let r=St(e,t);return r>=0?e[1|r]=n:(r=~r,function P(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function be(e,t){const n=St(e,t);if(n>=0)return e[1|n]}function St(e,t){return function Zr(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),a=e[s<<n];if(t===a)return s<<n;a>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const Wo={},wl="__NG_DI_FLAG__",Ma="ngTempTokenPath",um=/\n/gm,Gc="__source";let Ko;function co(e){const t=Ko;return Ko=e,t}function dm(e,t=Te.Default){if(void 0===Ko)throw new q(-203,!1);return null===Ko?Un(e,void 0,t):Ko.get(e,t&Te.Optional?null:void 0,t)}function Mn(e,t=Te.Default){return(function it(){return Be}()||dm)(Me(e),t)}function Kc(e,t=Te.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),Mn(e,t)}function Cl(e){const t=[];for(let n=0;n<e.length;n++){const r=Me(e[n]);if(Array.isArray(r)){if(0===r.length)throw new q(900,!1);let i,s=Te.Default;for(let a=0;a<r.length;a++){const f=r[a],p=fm(f);"number"==typeof p?-1===p?i=f.token:s|=p:i=f}t.push(Mn(i,s))}else t.push(Mn(r))}return t}function Yo(e,t){return e[wl]=t,e.prototype[wl]=t,e}function fm(e){return e[wl]}const qo=Yo(As("Optional"),8),Qo=Yo(As("SkipSelf"),4);let bl;function Sm(e){bl=e}class sd{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function Ps(e){return e instanceof sd?e.changingThisBreaksApplicationSecurity:e}const Lm=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;var Tn=(()=>((Tn=Tn||{})[Tn.NONE=0]="NONE",Tn[Tn.HTML=1]="HTML",Tn[Tn.STYLE=2]="STYLE",Tn[Tn.SCRIPT=3]="SCRIPT",Tn[Tn.URL=4]="URL",Tn[Tn.RESOURCE_URL=5]="RESOURCE_URL",Tn))();function Nl(e){const t=function ta(){const e=ie();return e&&e[12]}();return t?t.sanitize(Tn.URL,e)||"":function Jo(e,t){const n=function Nm(e){return e instanceof sd&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?Ps(e):function Il(e){return(e=String(e)).match(Lm)?e:"unsafe:"+e}(se(e))}const Ol=new xt("ENVIRONMENT_INITIALIZER"),hd=new xt("INJECTOR",-1),pd=new xt("INJECTOR_DEF_TYPES");class gd{get(t,n=Wo){if(n===Wo){const r=new Error(`NullInjectorError: No provider for ${Ie(t)}!`);throw r.name="NullInjectorError",r}return n}}function Qm(...e){return{\u0275providers:md(0,e)}}function md(e,...t){const n=[],r=new Set;let i;return u(t,s=>{const a=s;xl(a,n,[],r)&&(i||(i=[]),i.push(a))}),void 0!==i&&yd(i,n),n}function yd(e,t){for(let n=0;n<e.length;n++){const{providers:i}=e[n];u(i,s=>{t.push(s)})}}function xl(e,t,n,r){if(!(e=Me(e)))return!1;let i=null,s=zt(e);const a=!s&&A(e);if(s||a){if(a&&!a.standalone)return!1;i=e}else{const p=e.ngModule;if(s=zt(p),!s)return!1;i=p}const f=r.has(i);if(a){if(f)return!1;if(r.add(i),a.dependencies){const p="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const D of p)xl(D,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!f){let D;r.add(i);try{u(s.imports,b=>{xl(b,t,n,r)&&(D||(D=[]),D.push(b))})}finally{}void 0!==D&&yd(D,t)}if(!f){const D=Cn(i)||(()=>new i);t.push({provide:i,useFactory:D,deps:ut},{provide:pd,useValue:i,multi:!0},{provide:Ol,useValue:()=>Mn(i),multi:!0})}const p=s.providers;null==p||f||u(p,b=>{t.push(b)})}}return i!==e&&void 0!==e.providers}const Zm=ae({provide:String,useValue:ae});function Fl(e){return null!==e&&"object"==typeof e&&Zm in e}function qs(e){return"function"==typeof e}const Ll=new xt("Set Injector scope."),Na={},Jm={};let kl;function Oa(){return void 0===kl&&(kl=new gd),kl}class Qs{}class _d extends Qs{constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,jl(t,a=>this.processProvider(a)),this.records.set(hd,po(void 0,this)),i.has("environment")&&this.records.set(Qs,po(void 0,this));const s=this.records.get(Ll);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(pd.multi,ut,Te.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=co(this),r=yn(void 0);try{return t()}finally{co(n),yn(r)}}get(t,n=Wo,r=Te.Default){this.assertNotDestroyed();const i=co(this),s=yn(void 0);try{if(!(r&Te.SkipSelf)){let f=this.records.get(t);if(void 0===f){const p=function iy(e){return"function"==typeof e||"object"==typeof e&&e instanceof xt}(t)&&ln(t);f=p&&this.injectableDefInScope(p)?po(Bl(t),Na):null,this.records.set(t,f)}if(null!=f)return this.hydrate(t,f)}return(r&Te.Self?Oa():this.parent).get(t,n=r&Te.Optional&&n===Wo?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[Ma]=a[Ma]||[]).unshift(Ie(t)),i)throw a;return function hm(e,t,n,r){const i=e[Ma];throw t[Gc]&&i.unshift(t[Gc]),e.message=function pm(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=Ie(t);if(Array.isArray(t))i=t.map(Ie).join(" -> ");else if("object"==typeof t){let s=[];for(let a in t)if(t.hasOwnProperty(a)){let f=t[a];s.push(a+":"+("string"==typeof f?JSON.stringify(f):Ie(f)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(um,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Ma]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{yn(s),co(i)}}resolveInjectorInitializers(){const t=co(this),n=yn(void 0);try{const r=this.get(Ol.multi,ut,Te.Self);for(const i of r)i()}finally{co(t),yn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Ie(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new q(205,!1)}processProvider(t){let n=qs(t=Me(t))?t:Me(t&&t.provide);const r=function ty(e){return Fl(e)?po(void 0,e.useValue):po(Ed(e),Na)}(t);if(qs(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=po(void 0,Na,!0),i.factory=()=>Cl(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Na&&(n.value=Jm,n.value=n.factory()),"object"==typeof n.value&&n.value&&function ry(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Me(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Bl(e){const t=ln(e),n=null!==t?t.factory:Cn(e);if(null!==n)return n;if(e instanceof xt)throw new q(204,!1);if(e instanceof Function)return function ey(e){const t=e.length;if(t>0)throw function h(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new q(204,!1);const n=function Tr(e){const t=e&&(e[In]||e[dr]);if(t){const n=function ds(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 q(204,!1)}function Ed(e,t,n){let r;if(qs(e)){const i=Me(e);return Cn(i)||Bl(i)}if(Fl(e))r=()=>Me(e.useValue);else if(function Dd(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Cl(e.deps||[]));else if(function vd(e){return!(!e||!e.useExisting)}(e))r=()=>Mn(Me(e.useExisting));else{const i=Me(e&&(e.useClass||e.provide));if(!function ny(e){return!!e.deps}(e))return Cn(i)||Bl(i);r=()=>new i(...Cl(e.deps))}return r}function po(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function sy(e){return!!e.\u0275providers}function jl(e,t){for(const n of e)Array.isArray(n)?jl(n,t):sy(n)?jl(n.\u0275providers,t):t(n)}class wd{}class ly{resolveComponentFactory(t){throw function ay(e){const t=Error(`No component factory found for ${Ie(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let na=(()=>{class e{}return e.NULL=new ly,e})();function uy(){return go(jt(),ie())}function go(e,t){return new ra(Pn(e,t))}let ra=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=uy,e})();function cy(e){return e instanceof ra?e.nativeElement:e}class Sd{}let dy=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function fy(){const e=ie(),n=Lt(jt().index,e);return(Dn(n)?n:e)[11]}(),e})(),hy=(()=>{class e{}return e.\u0275prov=Ft({token:e,providedIn:"root",factory:()=>null}),e})();class bd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const py=new bd("14.2.7"),Vl={};function Gl(e){return e.ngOriginalError}class ia{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Gl(t);for(;n&&Gl(n);)n=Gl(n);return n||null}}const Wl=new Map;let My=0;const Yl="__ngContext__";function Zn(e,t){Dn(t)?(e[Yl]=t[20],function Iy(e){Wl.set(e[20],e)}(t)):e[Yl]=t}function kd(e){return e.ownerDocument.defaultView}function os(e){return e instanceof Function?e():e}var ki=(()=>((ki=ki||{})[ki.Important=1]="Important",ki[ki.DashCase=2]="DashCase",ki))();function Ql(e,t){return undefined(e,t)}function oa(e){const t=e[3];return _n(t)?t[3]:t}function Zl(e){return Vd(e[13])}function Xl(e){return Vd(e[4])}function Vd(e){for(;null!==e&&!_n(e);)e=e[4];return e}function yo(e,t,n,r,i){if(null!=r){let s,a=!1;_n(r)?s=r:Dn(r)&&(a=!0,r=r[0]);const f=yt(r);0===e&&null!==n?null==i?Wd(t,n,f):Zs(t,n,f,i||null,!0):1===e&&null!==n?Zs(t,n,f,i||null,!0):2===e?function Jd(e,t,n){const r=xa(e,t);r&&function ev(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,f,a):3===e&&t.destroyNode(f),null!=s&&function rv(e,t,n,r,i){const s=n[7];s!==yt(n)&&yo(t,e,r,s,i);for(let f=10;f<n.length;f++){const p=n[f];aa(p[1],p,e,t,r,s)}}(t,e,s,n,i)}}function eu(e,t,n){return e.createElement(t,n)}function $d(e,t){const n=e[9],r=n.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,Rr(i,-1)),n.splice(r,1)}function tu(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&$d(i,r),t>0&&(e[n-1][4]=r[4]);const s=l(e,10+t);!function Wy(e,t){aa(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const a=s[19];null!==a&&a.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Ud(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&aa(e,t,n,3,null,null),function qy(e){let t=e[13];if(!t)return nu(e[1],e);for(;t;){let n=null;if(Dn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Dn(t)&&nu(t[1],t),t=t[3];null===t&&(t=e),Dn(t)&&nu(t[1],t),n=t&&t[4]}t=n}}(t)}}function nu(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Jy(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof X)){const s=n[r+1];if(Array.isArray(s))for(let a=0;a<s.length;a+=2){const f=i[s[a]],p=s[a+1];try{p.call(f)}finally{}}else try{s.call(i)}finally{}}}}(e,t),function Xy(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+1],f="function"==typeof a?a(t):yt(t[a]),p=r[i=n[s+2]],D=n[s+3];"boolean"==typeof D?f.removeEventListener(n[s],p,D):D>=0?r[i=D]():r[i=-D].unsubscribe(),s+=2}else{const a=r[i=n[s+1]];n[s].call(a)}if(null!==r){for(let s=i+1;s<r.length;s++)(0,r[s])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&_n(t[3])){n!==t[3]&&$d(n,t);const r=t[19];null!==r&&r.detachView(e)}!function Ay(e){Wl.delete(e[20])}(t)}}function zd(e,t,n){return function Gd(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===Tt.None||i===Tt.Emulated)return null}return Pn(r,n)}(e,t.parent,n)}function Zs(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Wd(e,t,n){e.appendChild(t,n)}function Kd(e,t,n,r,i){null!==r?Zs(e,t,n,r,i):Wd(e,t,n)}function xa(e,t){return e.parentNode(t)}let Qd=function qd(e,t,n){return 40&e.type?Pn(e,n):null};function Fa(e,t,n,r){const i=zd(e,r,t),s=t[11],f=function Yd(e,t,n){return Qd(e,t,n)}(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let p=0;p<n.length;p++)Kd(s,i,n[p],f,!1);else Kd(s,i,n,f,!1)}function La(e,t){if(null!==t){const n=t.type;if(3&n)return Pn(t,e);if(4&n)return iu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return La(e,r);{const i=e[t.index];return _n(i)?iu(-1,i):yt(i)}}if(32&n)return Ql(t,e)()||yt(e[t.index]);{const r=Xd(e,t);return null!==r?Array.isArray(r)?r[0]:La(oa(e[16]),r):La(e,t.next)}}return null}function Xd(e,t){return null!==t?e[16][6].projection[t.projection]:null}function iu(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return La(r,i)}return t[7]}function su(e,t,n,r,i,s,a){for(;null!=n;){const f=r[n.index],p=n.type;if(a&&0===t&&(f&&Zn(yt(f),r),n.flags|=4),64!=(64&n.flags))if(8&p)su(e,t,n.child,r,i,s,!1),yo(t,e,i,f,s);else if(32&p){const D=Ql(n,r);let b;for(;b=D();)yo(t,e,i,b,s);yo(t,e,i,f,s)}else 16&p?ef(e,t,r,n,i,s):yo(t,e,i,f,s);n=a?n.projectionNext:n.next}}function aa(e,t,n,r,i,s){su(n,r,e.firstChild,t,i,s,!1)}function ef(e,t,n,r,i,s){const a=n[16],p=a[6].projection[r.projection];if(Array.isArray(p))for(let D=0;D<p.length;D++)yo(t,e,i,p[D],s);else su(e,t,p,a[3],i,s,!0)}function tf(e,t,n){e.setAttribute(t,"style",n)}function ou(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function nf(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}const rf="ng-template";function sv(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==nf(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function sf(e){return 4===e.type&&e.value!==rf}function ov(e,t,n){return t===(4!==e.type||n?e.value:rf)}function av(e,t,n){let r=4;const i=e.attrs||[],s=function cv(e){for(let t=0;t<e.length;t++)if(gn(e[t]))return t;return e.length}(i);let a=!1;for(let f=0;f<t.length;f++){const p=t[f];if("number"!=typeof p){if(!a)if(4&r){if(r=2|1&r,""!==p&&!ov(e,p,n)||""===p&&1===t.length){if(li(r))return!1;a=!0}}else{const D=8&r?p:t[++f];if(8&r&&null!==e.attrs){if(!sv(e.attrs,D,n)){if(li(r))return!1;a=!0}continue}const I=lv(8&r?"class":p,i,sf(e),n);if(-1===I){if(li(r))return!1;a=!0;continue}if(""!==D){let k;k=I>s?"":i[I+1].toLowerCase();const V=8&r?k:null;if(V&&-1!==nf(V,D,0)||2&r&&D!==k){if(li(r))return!1;a=!0}}}}else{if(!a&&!li(r)&&!li(p))return!1;if(a&&li(p))continue;a=!1,r=p|1&r}}return li(r)||a}function li(e){return 0==(1&e)}function lv(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const a=t[i];if(a===e)return i;if(3===a||6===a)s=!0;else{if(1===a||2===a){let f=t[++i];for(;"string"==typeof f;)f=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=s?1:2}return-1}return function dv(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function af(e,t,n=!1){for(let r=0;r<t.length;r++)if(av(e,t[r],n))return!0;return!1}function lf(e,t){return e?":not("+t.trim()+")":t}function hv(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const f=e[++n];i+="["+a+(f.length>0?'="'+f+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""!==i&&!li(a)&&(t+=lf(s,i),i=""),r=a,s=s||!li(r);n++}return""!==i&&(t+=lf(s,i)),t}const dt={};function uf(e){cf(pt(),ie(),_t()+e,!1)}function cf(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&y(t,s,n)}else{const s=e.preOrderHooks;null!==s&&C(t,s,0,n)}wt(n)}function pf(e,t=null,n=null,r){const i=gf(e,t,n,r);return i.resolveInjectorInitializers(),i}function gf(e,t=null,n=null,r,i=new Set){const s=[n||ut,Qm(e)];return r=r||("object"==typeof e?void 0:Ie(e)),new _d(s,t||Oa(),r||null,i)}let Xs=(()=>{class e{static create(n,r){if(Array.isArray(n))return pf({name:""},r,n,"");{const i=n.name??"";return pf({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=Wo,e.NULL=new gd,e.\u0275prov=Ft({token:e,providedIn:"any",factory:()=>Mn(hd)}),e.__NG_ELEMENT_ID__=-1,e})();function Do(e,t=Te.Default){const n=ie();return null===n?Mn(e,t):on(jt(),n,Me(e),t)}function wf(){throw new Error("invalid")}function Ba(e,t){return e<<17|t<<2}function ui(e){return e>>17&32767}function du(e){return 2|e}function as(e){return(131068&e)>>2}function fu(e,t){return-131069&e|t<<2}function hu(e){return 1|e}function Of(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const a=e.data[s];w(i),a.contentQueries(2,t[s],s)}}}function Ha(e,t,n,r,i,s,a,f,p,D,b){const I=t.blueprint.slice();return I[0]=i,I[2]=76|r,(null!==b||e&&1024&e[2])&&(I[2]|=1024),Wr(I),I[3]=I[15]=e,I[8]=n,I[10]=a||e&&e[10],I[11]=f||e&&e[11],I[12]=p||e&&e[12]||null,I[9]=D||e&&e[9]||null,I[6]=s,I[20]=function Ty(){return My++}(),I[21]=b,I[16]=2==t.type?e[16]:I,I}function _o(e,t,n,r,i){let s=e.data[t];if(null===s)s=function Eu(e,t,n,r,i){const s=Ri(),a=Or(),p=e.data[t]=function qv(e,t,n,r,i,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=p),null!==s&&(a?null==s.child&&null!==p.parent&&(s.child=p):null===s.next&&(s.next=p)),p}(e,t,n,r,i),function Cs(){return tt.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const a=function Vt(){const e=tt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===a?-1:a.injectorIndex}return qt(s,!0),s}function Eo(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function wu(e,t,n){x(t);try{const r=e.viewQuery;null!==r&&Pu(1,r,n);const i=e.template;null!==i&&xf(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Of(e,t),e.staticViewQueries&&Pu(2,e.viewQuery,n);const s=e.components;null!==s&&function Wv(e,t){for(let n=0;n<t.length;n++)dD(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Et()}}function $a(e,t,n,r){const i=t[2];if(128!=(128&i)){x(t);try{Wr(t),function Oi(e){return tt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&xf(e,t,n,2,r);const a=3==(3&i);if(a){const D=e.preOrderCheckHooks;null!==D&&y(t,D,null)}else{const D=e.preOrderHooks;null!==D&&C(t,D,0,null),T(t,0)}if(function uD(e){for(let t=Zl(e);null!==t;t=Xl(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],s=i[3];0==(512&i[2])&&Rr(s,1),i[2]|=512}}}(t),function lD(e){for(let t=Zl(e);null!==t;t=Xl(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];_r(r)&&$a(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Of(e,t),a){const D=e.contentCheckHooks;null!==D&&y(t,D)}else{const D=e.contentHooks;null!==D&&C(t,D,1),T(t,1)}!function zv(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)wt(~i);else{const s=i,a=n[++r],f=n[++r];bs(a,s),f(2,t[s])}}}finally{wt(-1)}}(e,t);const f=e.components;null!==f&&function Gv(e,t){for(let n=0;n<t.length;n++)cD(e,t[n])}(t,f);const p=e.viewQuery;if(null!==p&&Pu(2,p,r),a){const D=e.viewCheckHooks;null!==D&&y(t,D)}else{const D=e.viewHooks;null!==D&&C(t,D,2),T(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Rr(t[3],-1))}finally{Et()}}}function xf(e,t,n,r,i){const s=_t(),a=2&r;try{wt(-1),a&&t.length>22&&cf(e,t,22,!1),n(r,i)}finally{wt(s)}}function Cu(e,t,n){!Kr()||(function eD(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||mt(n,t),Zn(r,t);const a=n.initialInputs;for(let f=i;f<s;f++){const p=e.data[f],D=wn(p);D&&sD(t,n,p);const b=ai(t,e,f,n);Zn(b,t),null!==a&&oD(0,f-i,b,p,0,a),D&&(Lt(n.index,t)[8]=b)}}(e,t,n,Pn(n,t)),128==(128&n.flags)&&function tD(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,a=function Us(){return tt.lFrame.currentDirectiveIndex}();try{wt(s);for(let f=r;f<i;f++){const p=e.data[f],D=t[f];xi(f),(null!==p.hostBindings||0!==p.hostVars||null!==p.hostAttrs)&&$f(p,D)}}finally{wt(-1),xi(a)}}(e,t,n))}function Su(e,t,n=Pn){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const a=r[s+1],f=-1===a?n(t,e):e[a];e[i++]=f}}}function Lf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=bu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function bu(e,t,n,r,i,s,a,f,p,D){const b=22+r,I=b+i,k=function Kv(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:dt);return n}(b,I),V="function"==typeof D?D():D;return k[1]={type:e,blueprint:k,template:n,queries:null,viewQuery:f,declTNode:t,data:k.slice().fill(null,b),bindingStartIndex:b,expandoStartIndex:I,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:p,consts:V,incompleteFirstPass:!1}}function kf(e,t,n,r){const i=Kf(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&Yf(e).push(r,i.length-1))}function Bf(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function jf(e,t){const r=t.directiveEnd,i=e.data,s=t.attrs,a=[];let f=null,p=null;for(let D=t.directiveStart;D<r;D++){const b=i[D],I=b.inputs,k=null===s||sf(t)?null:aD(I,s);a.push(k),f=Bf(I,D,f),p=Bf(b.outputs,D,p)}null!==f&&(f.hasOwnProperty("class")&&(t.flags|=16),f.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=a,t.inputs=f,t.outputs=p}function Br(e,t,n,r,i,s,a,f){const p=Pn(t,n);let b,D=t.inputs;!f&&null!=D&&(b=D[r])?(Ru(e,n,b,r,i),En(t)&&Vf(n,t.index)):3&t.type&&(r=function Qv(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=a?a(i,t.value||"",r):i,s.setProperty(p,r,i))}function Vf(e,t){const n=Lt(t,e);16&n[2]||(n[2]|=32)}function Mu(e,t,n,r){let i=!1;if(Kr()){const s=function nD(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const a=r[s];af(n,a.selectors,!1)&&(i||(i=[]),or(mt(n,t),e,a.type),wn(a)?(Uf(e,n),i.unshift(a)):i.push(a))}return i}(e,t,n),a=null===r?null:{"":-1};if(null!==s){i=!0,zf(n,e.data.length,s.length);for(let b=0;b<s.length;b++){const I=s[b];I.providersResolver&&I.providersResolver(I)}let f=!1,p=!1,D=Eo(e,t,s.length,null);for(let b=0;b<s.length;b++){const I=s[b];n.mergedAttrs=Sr(n.mergedAttrs,I.hostAttrs),Gf(e,n,t,D,I),iD(D,I,a),null!==I.contentQueries&&(n.flags|=8),(null!==I.hostBindings||null!==I.hostAttrs||0!==I.hostVars)&&(n.flags|=128);const k=I.type.prototype;!f&&(k.ngOnChanges||k.ngOnInit||k.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),f=!0),!p&&(k.ngOnChanges||k.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),p=!0),D++}jf(e,n)}a&&function rD(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new q(-301,!1);r.push(t[i],s)}}}(n,r,a)}return n.mergedAttrs=Sr(n.mergedAttrs,n.attrs),i}function Hf(e,t,n,r,i,s){const a=s.hostBindings;if(a){let f=e.hostBindingOpCodes;null===f&&(f=e.hostBindingOpCodes=[]);const p=~t.index;(function Jv(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(f)!=p&&f.push(p),f.push(r,i,a)}}function $f(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Uf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function iD(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;wn(t)&&(n[""]=e)}}function zf(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Gf(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=Cn(i.type)),a=new X(s,wn(i),Do);e.blueprint[r]=a,n[r]=a,Hf(e,t,0,r,Eo(e,n,i.hostVars,dt),i)}function sD(e,t,n){const r=Pn(t,e),i=Lf(n),s=e[10],a=Ua(e,Ha(e,i,null,n.onPush?32:16,r,t,s,s.createRenderer(r,n),null,null,null));e[t.index]=a}function Bi(e,t,n,r,i,s){const a=Pn(e,t);!function Tu(e,t,n,r,i,s,a){if(null==s)e.removeAttribute(t,i,n);else{const f=null==a?se(s):a(s,r||"",i);e.setAttribute(t,i,f,n)}}(t[11],a,s,e.value,n,r,i)}function oD(e,t,n,r,i,s){const a=s[t];if(null!==a){const f=r.setInput;for(let p=0;p<a.length;){const D=a[p++],b=a[p++],I=a[p++];null!==f?r.setInput(n,I,D,b):n[b]=I}}}function aD(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Wf(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function cD(e,t){const n=Lt(t,e);if(_r(n)){const r=n[1];48&n[2]?$a(r,n,r.template,n[8]):n[5]>0&&Iu(n)}}function Iu(e){for(let r=Zl(e);null!==r;r=Xl(r))for(let i=10;i<r.length;i++){const s=r[i];if(_r(s))if(512&s[2]){const a=s[1];$a(a,s,a.template,s[8])}else s[5]>0&&Iu(s)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=Lt(n[r],e);_r(i)&&i[5]>0&&Iu(i)}}function dD(e,t){const n=Lt(t,e),r=n[1];(function fD(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),wu(r,n,n[8])}function Ua(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Au(e){for(;e;){e[2]|=32;const t=oa(e);if(wi(e)&&!t)return e;e=t}return null}function za(e,t,n,r=!0){const i=t[10];i.begin&&i.begin();try{$a(e,t,e.template,n)}catch(a){throw r&&Qf(t,a),a}finally{i.end&&i.end()}}function Pu(e,t,n){w(0),t(e,n)}function Kf(e){return e[7]||(e[7]=[])}function Yf(e){return e.cleanup||(e.cleanup=[])}function Qf(e,t){const n=e[9],r=n?n.get(ia,null):null;r&&r.handleError(t)}function Ru(e,t,n,r,i){for(let s=0;s<n.length;){const a=n[s++],f=n[s++],p=t[a],D=e.data[a];null!==D.setInput?D.setInput(p,i,r,f):p[f]=i}}function Ga(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let a=0;a<t.length;a++){const f=t[a];"number"==typeof f?s=f:1==s?i=xe(i,f):2==s&&(r=xe(r,f+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function Wa(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(yt(s)),_n(s))for(let f=10;f<s.length;f++){const p=s[f],D=p[1].firstChild;null!==D&&Wa(p[1],p,D,r)}const a=n.type;if(8&a)Wa(e,t,n.child,r);else if(32&a){const f=Ql(n,t);let p;for(;p=f();)r.push(p)}else if(16&a){const f=Xd(t,n);if(Array.isArray(f))r.push(...f);else{const p=oa(t[16]);Wa(p[1],p,f,r,!0)}}n=i?n.projectionNext:n.next}return r}class la{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Wa(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(_n(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(tu(t,r),l(n,r))}this._attachedToViewContainer=!1}Ud(this._lView[1],this._lView)}onDestroy(t){kf(this._lView[1],this._lView,null,t)}markForCheck(){Au(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){za(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new q(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Yy(e,t){aa(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new q(902,!1);this._appRef=t}}class hD extends la{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;za(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Nu extends na{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=A(t);return new ua(n,this.ngModule)}}function Zf(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class gD{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,Vl,r);return i!==Vl||n===Vl?i:this.parentInjector.get(t,n,r)}}class ua extends wd{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function pv(e){return e.map(hv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Zf(this.componentDef.inputs)}get outputs(){return Zf(this.componentDef.outputs)}create(t,n,r,i){let s=(i=i||this.ngModule)instanceof Qs?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new gD(t,s):t,f=a.get(Sd,null);if(null===f)throw new q(407,!1);const p=a.get(hy,null),D=f.createRenderer(null,this.componentDef),b=this.componentDef.selectors[0][0]||"div",I=r?function Yv(e,t,n){return e.selectRootElement(t,n===Tt.ShadowDom)}(D,r,this.componentDef.encapsulation):eu(f.createRenderer(null,this.componentDef),b,function pD(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(b)),k=this.componentDef.onPush?288:272,V=bu(0,null,null,1,0,null,null,null,null,null),J=Ha(null,V,null,k,null,null,f,D,p,a,null);let de,ve;x(J);try{const Pe=function vD(e,t,n,r,i,s){const a=n[1];n[22]=e;const p=_o(a,22,2,"#host",null),D=p.mergedAttrs=t.hostAttrs;null!==D&&(Ga(p,D,!0),null!==e&&(Kt(i,e,D),null!==p.classes&&ou(i,e,p.classes),null!==p.styles&&tf(i,e,p.styles)));const b=r.createRenderer(e,t),I=Ha(n,Lf(t),null,t.onPush?32:16,n[22],p,r,b,s||null,null,null);return a.firstCreatePass&&(or(mt(p,n),a,t.type),Uf(a,p),zf(p,n.length,1)),Ua(n,I),n[22]=I}(I,this.componentDef,J,f,D);if(I)if(r)Kt(D,I,["ng-version",py.full]);else{const{attrs:He,classes:oe}=function gv(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!li(i))break;i=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);He&&Kt(D,I,He),oe&&oe.length>0&&ou(D,I,oe.join(" "))}if(ve=Qi(V,22),void 0!==n){const He=ve.projection=[];for(let oe=0;oe<this.ngContentSelectors.length;oe++){const nt=n[oe];He.push(null!=nt?Array.from(nt):null)}}de=function DD(e,t,n,r){const i=n[1],s=function Xv(e,t,n){const r=jt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Gf(e,r,t,Eo(e,t,1,null),n),jf(e,r));const i=ai(t,e,r.directiveStart,r);Zn(i,t);const s=Pn(r,t);return s&&Zn(s,t),i}(i,n,t);if(e[8]=n[8]=s,null!==r)for(const f of r)f(s,t);if(t.contentQueries){const f=jt();t.contentQueries(1,s,f.directiveStart)}const a=jt();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(wt(a.index),Hf(n[1],a,0,a.directiveStart,a.directiveEnd,t),$f(t,s)),s}(Pe,this.componentDef,J,[_D]),wu(V,J,null)}finally{Et()}return new yD(this.componentType,de,go(ve,J),J,ve)}}class yD extends class oy{}{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new hD(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){const s=this._rootLView;Ru(s[1],s,i,t,n),Vf(s,this._tNode.index)}}get injector(){return new Ts(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function _D(){const e=jt();c(ie()[1],e)}function Ou(e){let t=function Xf(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(wn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new q(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const a=e;a.inputs=xu(e.inputs),a.declaredInputs=xu(e.declaredInputs),a.outputs=xu(e.outputs);const f=i.hostBindings;f&&SD(e,f);const p=i.viewQuery,D=i.contentQueries;if(p&&wD(e,p),D&&CD(e,D),ke(e.inputs,i.inputs),ke(e.declaredInputs,i.declaredInputs),ke(e.outputs,i.outputs),wn(i)&&i.data.animation){const b=e.data;b.animation=(b.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let a=0;a<s.length;a++){const f=s[a];f&&f.ngInherit&&f(e),f===Ou&&(n=!1)}}t=Object.getPrototypeOf(t)}!function ED(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Sr(i.hostAttrs,n=Sr(n,i.hostAttrs))}}(r)}function xu(e){return e===er?{}:e===ut?[]:e}function wD(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function CD(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function SD(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let Ka=null;function Js(){if(!Ka){const e=Ze.Symbol;if(e&&e.iterator)Ka=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ka=r)}}}return Ka}function ca(e){return!!Fu(e)&&(Array.isArray(e)||!(e instanceof Map)&&Js()in e)}function Fu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Xn(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Lu(e,t,n,r){const i=ie();return Xn(i,ii(),t)&&(pt(),Bi(ht(),i,e,t,n,r)),Lu}function Co(e,t,n,r){return Xn(e,ii(),n)?t+se(n)+r:dt}function lh(e,t,n,r,i,s,a,f){const p=ie(),D=pt(),b=e+22,I=D.firstCreatePass?function ND(e,t,n,r,i,s,a,f,p){const D=t.consts,b=_o(t,e,4,a||null,Er(D,f));Mu(t,n,b,Er(D,p)),c(t,b);const I=b.tViews=bu(2,b,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,D);return null!==t.queries&&(t.queries.template(t,b),I.queries=t.queries.embeddedTView(b)),b}(b,D,p,t,n,r,i,s,a):D.data[b];qt(I,!1);const k=p[11].createComment("");Fa(D,p,k,I),Zn(k,p),Ua(p,p[b]=Wf(k,p,k,I)),Ei(I)&&Cu(D,p,I),null!=a&&Su(p,I,f)}function ku(e,t,n){const r=ie();return Xn(r,ii(),t)&&Br(pt(),ht(),r,e,t,r[11],n,!1),ku}function Bu(e,t,n,r,i){const a=i?"class":"style";Ru(e,n,t.inputs[a],a,r)}function qa(e,t,n,r){const i=ie(),s=pt(),a=22+e,f=i[11],p=i[a]=eu(f,t,function _(){return tt.lFrame.currentNamespace}()),D=s.firstCreatePass?function FD(e,t,n,r,i,s,a){const f=t.consts,D=_o(t,e,2,i,Er(f,s));return Mu(t,n,D,Er(f,a)),null!==D.attrs&&Ga(D,D.attrs,!1),null!==D.mergedAttrs&&Ga(D,D.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,D),D}(a,s,i,0,t,n,r):s.data[a];qt(D,!0);const b=D.mergedAttrs;null!==b&&Kt(f,p,b);const I=D.classes;null!==I&&ou(f,p,I);const k=D.styles;return null!==k&&tf(f,p,k),64!=(64&D.flags)&&Fa(s,i,p,D),0===function wr(){return tt.lFrame.elementDepthCount}()&&Zn(p,i),function Xi(){tt.lFrame.elementDepthCount++}(),Ei(D)&&(Cu(s,i,D),function Ff(e,t,n){if(hs(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}}(s,D,i)),null!==r&&Su(i,D),qa}function Qa(){let e=jt();Or()?function xr(){tt.lFrame.isParent=!1}():(e=e.parent,qt(e,!1));const t=e;!function so(){tt.lFrame.elementDepthCount--}();const n=pt();return n.firstCreatePass&&(c(n,e),hs(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function qe(e){return 0!=(16&e.flags)}(t)&&Bu(n,t,ie(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function rt(e){return 0!=(32&e.flags)}(t)&&Bu(n,t,ie(),t.stylesWithoutHost,!1),Qa}function ju(e,t,n,r){return qa(e,t,n,r),Qa(),ju}function ch(){return ie()}function $u(e){return!!e&&"function"==typeof e.then}function dh(e){return!!e&&"function"==typeof e.subscribe}const fh=dh;function Uu(e,t,n,r){const i=ie(),s=pt(),a=jt();return function ph(e,t,n,r,i,s,a,f){const p=Ei(r),b=e.firstCreatePass&&Yf(e),I=t[8],k=Kf(t);let V=!0;if(3&r.type||f){const ve=Pn(r,t),Pe=f?f(ve):ve,He=k.length,oe=f?Nt=>f(yt(Nt[r.index])):r.index;let nt=null;if(!f&&p&&(nt=function kD(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const a=i[s];if(a===n&&i[s+1]===r){const f=t[7],p=i[s+2];return f.length>p?f[p]:null}"string"==typeof a&&(s+=2)}return null}(e,t,i,r.index)),null!==nt)(nt.__ngLastListenerFn__||nt).__ngNextListenerFn__=s,nt.__ngLastListenerFn__=s,V=!1;else{s=mh(r,t,I,s,!1);const Nt=n.listen(Pe,i,s);k.push(s,Nt),b&&b.push(i,oe,He,He+1)}}else s=mh(r,t,I,s,!1);const J=r.outputs;let de;if(V&&null!==J&&(de=J[i])){const ve=de.length;if(ve)for(let Pe=0;Pe<ve;Pe+=2){const Xt=t[de[Pe]][de[Pe+1]].subscribe(s),ro=k.length;k.push(s,Xt),b&&b.push(i,r.index,ro,-(ro+1))}}}(s,i,i[11],a,e,t,0,r),Uu}function gh(e,t,n,r){try{return!1!==n(r)}catch(i){return Qf(e,i),!1}}function mh(e,t,n,r,i){return function s(a){if(a===Function)return r;Au(2&e.flags?Lt(e.index,t):t);let p=gh(t,0,r,a),D=s.__ngNextListenerFn__;for(;D;)p=gh(t,0,D,a)&&p,D=D.__ngNextListenerFn__;return i&&!1===p&&(a.preventDefault(),a.returnValue=!1),p}}function yh(e=1){return function Dt(e){return(tt.lFrame.contextLView=function ct(e,t){for(;e>0;)t=t[15],e--;return t}(e,tt.lFrame.contextLView))[8]}(e)}function Za(e,t,n,r,i){const s=ie(),a=Co(s,t,n,r);return a!==dt&&Br(pt(),ht(),s,e,a,s[11],i,!1),Za}function Th(e,t,n,r,i){const s=e[n+1],a=null===t;let f=r?ui(s):as(s),p=!1;for(;0!==f&&(!1===p||a);){const b=e[f+1];UD(e[f],t)&&(p=!0,e[f+1]=r?hu(b):du(b)),f=r?ui(b):as(b)}p&&(e[n+1]=r?du(s):hu(s))}function UD(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&St(e,t)>=0}function zu(e,t){return function ci(e,t,n,r){const i=ie(),s=pt(),a=function Kn(e){const t=tt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);s.firstUpdatePass&&function Lh(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[_t()],a=function Fh(e,t){return t>=e.expandoStartIndex}(e,n);(function Vh(e,t){return 0!=(e.flags&(t?16:32))})(s,r)&&null===t&&!a&&(t=!1),t=function XD(e,t,n,r){const i=function qr(e){const t=tt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=fa(n=Gu(null,e,t,n,r),t.attrs,r),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=Gu(i,e,t,n,r),null===s){let p=function JD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==as(r))return e[ui(r)]}(e,t,r);void 0!==p&&Array.isArray(p)&&(p=Gu(null,e,t,p[1],r),p=fa(p,t.attrs,r),function e_(e,t,n,r){e[ui(n?t.classBindings:t.styleBindings)]=r}(e,t,r,p))}else s=function t_(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=fa(r,e[s].hostAttrs,n);return fa(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function HD(e,t,n,r,i,s){let a=s?t.classBindings:t.styleBindings,f=ui(a),p=as(a);e[r]=n;let b,D=!1;if(Array.isArray(n)){const I=n;b=I[1],(null===b||St(I,b)>0)&&(D=!0)}else b=n;if(i)if(0!==p){const k=ui(e[f+1]);e[r+1]=Ba(k,f),0!==k&&(e[k+1]=fu(e[k+1],r)),e[f+1]=function xv(e,t){return 131071&e|t<<17}(e[f+1],r)}else e[r+1]=Ba(f,0),0!==f&&(e[f+1]=fu(e[f+1],r)),f=r;else e[r+1]=Ba(p,0),0===f?f=r:e[p+1]=fu(e[p+1],r),p=r;D&&(e[r+1]=du(e[r+1])),Th(e,b,r,!0),Th(e,b,r,!1),function $D(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&St(s,t)>=0&&(n[r+1]=hu(n[r+1]))}(t,b,e,r,s),a=Ba(f,p),s?t.classBindings=a:t.styleBindings=a}(i,s,t,n,a,r)}}(s,e,a,r),t!==dt&&Xn(i,a,t)&&function Bh(e,t,n,r,i,s,a,f){if(!(3&t.type))return;const p=e.data,D=p[f+1];Xa(function bf(e){return 1==(1&e)}(D)?jh(p,t,n,i,as(D),a):void 0)||(Xa(s)||function Sf(e){return 2==(2&e)}(D)&&(s=jh(p,null,n,i,f,a)),function iv(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:ki.DashCase;null==i?e.removeStyle(n,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=ki.Important),e.setStyle(n,r,i,s))}}(r,a,ri(_t(),n),i,s))}(s,s.data[_t()],i,i[11],e,i[a+1]=function i_(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ie(Ps(e)))),e}(t,n),r,a)}(e,t,null,!0),zu}function Gu(e,t,n,r,i){let s=null;const a=n.directiveEnd;let f=n.directiveStylingLast;for(-1===f?f=n.directiveStart:f++;f<a&&(s=t[f],r=fa(r,s.hostAttrs,i),s!==e);)f++;return null!==e&&(n.directiveStylingLast=f),r}function fa(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),je(e,a,!!n||t[++s]))}return void 0===e?null:e}function jh(e,t,n,r,i,s){const a=null===t;let f;for(;i>0;){const p=e[i],D=Array.isArray(p),b=D?p[1]:p,I=null===b;let k=n[i+1];k===dt&&(k=I?ut:void 0);let V=I?be(k,r):b===r?k:void 0;if(D&&!Xa(V)&&(V=be(p,r)),Xa(V)&&(f=V,a))return f;const J=e[i+1];i=a?ui(J):as(J)}if(null!==t){let p=s?t.residualClasses:t.residualStyles;null!=p&&(f=be(p,r))}return f}function Xa(e){return void 0!==e}function Hh(e,t=""){const n=ie(),r=pt(),i=e+22,s=r.firstCreatePass?_o(r,i,1,t,null):r.data[i],a=n[i]=function Jl(e,t){return e.createText(t)}(n[11],t);Fa(r,n,a,s),qt(s,!1)}function Wu(e){return Ja("",e,""),Wu}function Ja(e,t,n){const r=ie(),i=Co(r,e,t,n);return i!==dt&&function ls(e,t,n){const r=ri(t,e);!function Hd(e,t,n){e.setValue(t,n)}(e[11],r,n)}(r,_t(),i),Ja}function Ku(e,t,n){const r=ie();return Xn(r,ii(),t)&&Br(pt(),ht(),r,e,t,r[11],n,!0),Ku}const to=void 0;var S_=["en",[["a","p"],["AM","PM"],to],[["AM","PM"],to,to],[["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"]],to,[["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"]],to,[["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}",to,"{1} 'at' {0}",to],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function C_(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let No={};function Yu(e){const t=function b_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=ap(t);if(n)return n;const r=t.split("-")[0];if(n=ap(r),n)return n;if("en"===r)return S_;throw new q(701,!1)}function op(e){return Yu(e)[Je.PluralCase]}function ap(e){return e in No||(No[e]=Ze.ng&&Ze.ng.common&&Ze.ng.common.locales&&Ze.ng.common.locales[e]),No[e]}var Je=(()=>((Je=Je||{})[Je.LocaleId=0]="LocaleId",Je[Je.DayPeriodsFormat=1]="DayPeriodsFormat",Je[Je.DayPeriodsStandalone=2]="DayPeriodsStandalone",Je[Je.DaysFormat=3]="DaysFormat",Je[Je.DaysStandalone=4]="DaysStandalone",Je[Je.MonthsFormat=5]="MonthsFormat",Je[Je.MonthsStandalone=6]="MonthsStandalone",Je[Je.Eras=7]="Eras",Je[Je.FirstDayOfWeek=8]="FirstDayOfWeek",Je[Je.WeekendRange=9]="WeekendRange",Je[Je.DateFormat=10]="DateFormat",Je[Je.TimeFormat=11]="TimeFormat",Je[Je.DateTimeFormat=12]="DateTimeFormat",Je[Je.NumberSymbols=13]="NumberSymbols",Je[Je.NumberFormats=14]="NumberFormats",Je[Je.CurrencyCode=15]="CurrencyCode",Je[Je.CurrencySymbol=16]="CurrencySymbol",Je[Je.CurrencyName=17]="CurrencyName",Je[Je.Currencies=18]="Currencies",Je[Je.Directionality=19]="Directionality",Je[Je.PluralCase=20]="PluralCase",Je[Je.ExtraData=21]="ExtraData",Je))();const Oo="en-US";let lp=Oo;function Zu(e,t,n,r,i){if(e=Me(e),Array.isArray(e))for(let s=0;s<e.length;s++)Zu(e[s],t,n,r,i);else{const s=pt(),a=ie();let f=qs(e)?e:Me(e.provide),p=Ed(e);const D=jt(),b=1048575&D.providerIndexes,I=D.directiveStart,k=D.providerIndexes>>20;if(qs(e)||!e.multi){const V=new X(p,i,Do),J=Ju(f,t,i?b:b+k,I);-1===J?(or(mt(D,a),s,f),Xu(s,e,t.length),t.push(f),D.directiveStart++,D.directiveEnd++,i&&(D.providerIndexes+=1048576),n.push(V),a.push(V)):(n[J]=V,a[J]=V)}else{const V=Ju(f,t,b+k,I),J=Ju(f,t,b,b+k),de=V>=0&&n[V],ve=J>=0&&n[J];if(i&&!ve||!i&&!de){or(mt(D,a),s,f);const Pe=function wE(e,t,n,r,i){const s=new X(e,n,Do);return s.multi=[],s.index=t,s.componentProviders=0,Op(s,i,r&&!n),s}(i?EE:_E,n.length,i,r,p);!i&&ve&&(n[J].providerFactory=Pe),Xu(s,e,t.length,0),t.push(f),D.directiveStart++,D.directiveEnd++,i&&(D.providerIndexes+=1048576),n.push(Pe),a.push(Pe)}else Xu(s,e,V>-1?V:J,Op(n[i?J:V],p,!i&&r));!i&&r&&ve&&n[J].componentProviders++}}}function Xu(e,t,n,r){const i=qs(t),s=function Xm(e){return!!e.useClass}(t);if(i||s){const p=(s?Me(t.useClass):t).prototype.ngOnDestroy;if(p){const D=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const b=D.indexOf(n);-1===b?D.push(n,[r,p]):D[b+1].push(r,p)}else D.push(n,p)}}}function Op(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ju(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function _E(e,t,n,r){return ec(this.multi,[])}function EE(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,f=ai(n,n[1],this.providerFactory.index,r);s=f.slice(0,a),ec(i,s);for(let p=a;p<f.length;p++)s.push(f[p])}else s=[],ec(i,s);return s}function ec(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function xp(e,t=[]){return n=>{n.providersResolver=(r,i)=>function DE(e,t,n){const r=pt();if(r.firstCreatePass){const i=wn(e);Zu(n,r.data,r.blueprint,i,!0),Zu(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class xo{}class Fp{}function CE(e,t){return new Lp(e,t??null)}class Lp extends xo{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Nu(this);const r=Ve(t);this._bootstrapComponents=os(r.bootstrap),this._r3Injector=gf(t,n,[{provide:xo,useValue:this},{provide:na,useValue:this.componentFactoryResolver}],Ie(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class tc extends Fp{constructor(t){super(),this.moduleType=t}create(t){return new Lp(this.moduleType,t)}}class SE extends xo{constructor(t,n,r){super(),this.componentFactoryResolver=new Nu(this),this.instance=null;const i=new _d([...t,{provide:xo,useValue:this},{provide:na,useValue:this.componentFactoryResolver}],n||Oa(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function nc(e,t,n=null){return new SE(e,t,n).injector}let bE=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=md(0,n.type),i=r.length>0?nc([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,i)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=Ft({token:e,providedIn:"environment",factory:()=>new e(Mn(Qs))}),e})();function kp(e){e.getStandaloneInjector=t=>t.get(bE).getOrCreateStandaloneInjector(e)}function zp(e,t,n,r){return function Gp(e,t,n,r,i,s){const a=t+n;return Xn(e,a,i)?function ji(e,t,n){return e[t]=n}(e,a+1,s?r.call(s,i):r(i)):function va(e,t){const n=e[t];return n===dt?void 0:n}(e,a+1)}(ie(),function Sn(){const e=tt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}function ic(e){return t=>{setTimeout(e,void 0,t)}}const $i=class QE extends E.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,s=n||(()=>null),a=r;if(t&&"object"==typeof t){const p=t;i=p.next?.bind(p),s=p.error?.bind(p),a=p.complete?.bind(p)}this.__isAsync&&(s=ic(s),i&&(i=ic(i)),a&&(a=ic(a)));const f=super.subscribe({next:i,error:s,complete:a});return t instanceof R.w0&&t.add(f),f}};function ZE(){return this._results[Js()]()}class sc{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=Js(),r=sc.prototype;r[n]||(r[n]=ZE)}get changes(){return this._changes||(this._changes=new $i)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const i=br(t);(this._changesDetected=!function Dl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let _a=(()=>{class e{}return e.__NG_ELEMENT_ID__=ew,e})();const XE=_a,JE=class extends XE{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,i=Ha(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(i[19]=a.createEmbeddedView(r)),wu(r,i,t),new la(i)}};function ew(){return il(jt(),ie())}function il(e,t){return 4&e.type?new JE(t,e,go(e,t)):null}let sl=(()=>{class e{}return e.__NG_ELEMENT_ID__=tw,e})();function tw(){return Xp(jt(),ie())}const nw=sl,Qp=class extends nw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return go(this._hostTNode,this._hostLView)}get injector(){return new Ts(this._hostTNode,this._hostLView)}get parentInjector(){const t=bn(this._hostTNode,this._hostLView);if(Rn(t)){const n=Bn(t,this._hostLView),r=kn(t);return new Ts(n[1].data[r+8],n)}return new Ts(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Zp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const a=t.createEmbeddedView(n||{},s);return this.insert(a,i),a}createComponent(t,n,r,i,s){const a=t&&!function Ks(e){return"function"==typeof e}(t);let f;if(a)f=n;else{const I=n||{};f=I.index,r=I.injector,i=I.projectableNodes,s=I.environmentInjector||I.ngModuleRef}const p=a?t:new ua(A(t)),D=r||this.parentInjector;if(!s&&null==p.ngModule){const k=(a?D:this.parentInjector).get(Qs,null);k&&(s=k)}const b=p.create(D,i,void 0,s);return this.insert(b.hostView,f),b}insert(t,n){const r=t._lView,i=r[1];if(function Hs(e){return _n(e[3])}(r)){const b=this.indexOf(t);if(-1!==b)this.detach(b);else{const I=r[3],k=new Qp(I,I[6],I[3]);k.detach(k.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;!function Qy(e,t,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=t),r<s-10?(t[4]=n[i],d(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const a=t[17];null!==a&&n!==a&&function Zy(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);const f=t[19];null!==f&&f.insertView(e),t[2]|=64}(i,r,a,s);const f=iu(s,a),p=r[11],D=xa(p,a[7]);return null!==D&&function Ky(e,t,n,r,i,s){r[0]=i,r[6]=t,aa(e,r,n,1,i,s)}(i,a[6],p,r,D,f),t.attachToViewContainerRef(),d(oc(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Zp(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=tu(this._lContainer,n);r&&(l(oc(this._lContainer),n),Ud(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=tu(this._lContainer,n);return r&&null!=l(oc(this._lContainer),n)?new la(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Zp(e){return e[8]}function oc(e){return e[8]||(e[8]=[])}function Xp(e,t){let n;const r=t[e.index];if(_n(r))n=r;else{let i;if(8&e.type)i=yt(r);else{const s=t[11];i=s.createComment("");const a=Pn(e,t);Zs(s,xa(s,a),i,function tv(e,t){return e.nextSibling(t)}(s,a),!1)}t[e.index]=n=Wf(r,t,i,e),Ua(t,n)}return new Qp(n,e,t)}class ac{constructor(t){this.queryList=t,this.matches=null}clone(){return new ac(this.queryList)}setDirty(){this.queryList.setDirty()}}class lc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const a=n.getByIndex(s);i.push(this.queries[a.indexInDeclarationView].clone())}return new lc(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==ag(t,n).matches&&this.queries[n].setDirty()}}class Jp{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class uc{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new uc(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class cc{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new cc(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(t,n,sw(n,s)),this.matchTNodeWithReadOption(t,n,oi(n,t,s,!1,!1))}else r===_a?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,oi(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===ra||i===sl||i===_a&&4&n.type)this.addMatch(n.index,-2);else{const s=oi(n,t,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function sw(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function aw(e,t,n,r){return-1===n?function ow(e,t){return 11&e.type?go(e,t):4&e.type?il(e,t):null}(t,e):-2===n?function lw(e,t,n){return n===ra?go(t,e):n===_a?il(t,e):n===sl?Xp(t,e):void 0}(e,t,r):ai(e,e[1],n,t)}function eg(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const s=e.data,a=n.matches,f=[];for(let p=0;p<a.length;p+=2){const D=a[p];f.push(D<0?null:aw(t,s[D],a[p+1],n.metadata.read))}i.matches=f}return i.matches}function dc(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const a=eg(e,t,i,n);for(let f=0;f<s.length;f+=2){const p=s[f];if(p>0)r.push(a[f/2]);else{const D=s[f+1],b=t[-p];for(let I=10;I<b.length;I++){const k=b[I];k[17]===k[3]&&dc(k[1],k,D,r)}if(null!==b[9]){const I=b[9];for(let k=0;k<I.length;k++){const V=I[k];dc(V[1],V,D,r)}}}}}return r}function tg(e){const t=ie(),n=pt(),r=g();w(r+1);const i=ag(n,r);if(e.dirty&&function Zi(e){return 4==(4&e[2])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const s=i.crossesNgTemplate?dc(n,t,r,[]):eg(n,t,i,r);e.reset(s,cy),e.notifyOnChanges()}return!0}return!1}function ng(e,t,n){const r=pt();r.firstCreatePass&&(og(r,new Jp(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),sg(r,ie(),t)}function rg(e,t,n,r){const i=pt();if(i.firstCreatePass){const s=jt();og(i,new Jp(t,n,r),s.index),function cw(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}sg(i,ie(),n)}function ig(){return function uw(e,t){return e[19].queries[t].queryList}(ie(),g())}function sg(e,t,n){const r=new sc(4==(4&n));kf(e,t,r,r.destroy),null===t[19]&&(t[19]=new lc),t[19].queries.push(new ac(r))}function og(e,t,n){null===e.queries&&(e.queries=new uc),e.queries.track(new cc(t,n))}function ag(e,t){return e.queries.getByIndex(t)}function al(...e){}const Mg=new xt("Application Initializer");let ll=(()=>{class e{constructor(n){this.appInits=n,this.resolve=al,this.reject=al,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if($u(s))n.push(s);else if(fh(s)){const a=new Promise((f,p)=>{s.subscribe({complete:f,error:p})});n.push(a)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Mn(Mg,8))},e.\u0275prov=Ft({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Tg=new xt("AppId",{providedIn:"root",factory:function Ig(){return`${mc()}${mc()}${mc()}`}});function mc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ag=new xt("Platform Initializer"),Rw=new xt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Pg=new xt("appBootstrapListener"),Nw=new xt("AnimationModuleType");let Ow=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ft({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const ul=new xt("LocaleId",{providedIn:"root",factory:()=>Kc(ul,Te.Optional|Te.SkipSelf)||function xw(){return typeof $localize<"u"&&$localize.locale||Oo}()}),Fw=new xt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Lw{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let kw=(()=>{class e{compileModuleSync(n){return new tc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=os(Ve(n).declarations).reduce((a,f)=>{const p=A(f);return p&&a.push(new ua(p)),a},[]);return new Lw(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ft({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Vw=(()=>Promise.resolve(0))();function yc(e){typeof Zone>"u"?Vw.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Jr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new $i(!1),this.onMicrotaskEmpty=new $i(!1),this.onStable=new $i(!1),this.onError=new $i(!1),typeof Zone>"u")throw new q(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const s=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new s("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function Hw(){let e=Ze.requestAnimationFrame,t=Ze.cancelAnimationFrame;if(typeof Zone<"u"&&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 zw(e){const t=()=>{!function Uw(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ze,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Dc(e),e.isCheckStableRunning=!0,vc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Dc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,a,f)=>{try{return Og(e),n.invokeTask(i,s,a,f)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),xg(e)}},onInvoke:(n,r,i,s,a,f,p)=>{try{return Og(e),n.invoke(i,s,a,f,p)}finally{e.shouldCoalesceRunChangeDetection&&t(),xg(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Dc(e),vc(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Jr.isInAngularZone())throw new q(909,!1)}static assertNotInAngularZone(){if(Jr.isInAngularZone())throw new q(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+i,t,$w,al,al);try{return s.runTask(a,n,r)}finally{s.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const $w={};function vc(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 Dc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Og(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xg(e){e._nesting--,vc(e)}class Gw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new $i,this.onMicrotaskEmpty=new $i,this.onStable=new $i,this.onError=new $i}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}const Fg=new xt(""),Lg=new xt("");let _c,Ww=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,_c||(function Kw(e){_c=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Jr.assertNotInAngularZone(),yc(()=>{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())yc(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(Mn(Jr),Mn(kg),Mn(Lg))},e.\u0275prov=Ft({token:e,factory:e.\u0275fac}),e})(),kg=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return _c?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ft({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Os=null;const Bg=new xt("AllowMultipleToken"),Ec=new xt("PlatformDestroyListeners");class Qw{constructor(t,n){this.name=t,this.token=n}}function Vg(e,t,n=[]){const r=`Platform: ${t}`,i=new xt(r);return(s=[])=>{let a=wc();if(!a||a.injector.get(Bg,!1)){const f=[...n,...s,{provide:i,useValue:!0}];e?e(f):function Zw(e){if(Os&&!Os.get(Bg,!1))throw new q(400,!1);Os=e;const t=e.get($g);(function jg(e){const t=e.get(Ag,null);t&&t.forEach(n=>n())})(e)}(function Hg(e=[],t){return Xs.create({name:t,providers:[{provide:Ll,useValue:"platform"},{provide:Ec,useValue:new Set([()=>Os=null])},...e]})}(f,r))}return function Jw(e){const t=wc();if(!t)throw new q(401,!1);return t}()}}function wc(){return Os?.get($g)??null}let $g=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function zg(e,t){let n;return n="noop"===e?new Gw:("zone.js"===e?void 0:e)||new Jr(t),n}(r?.ngZone,function Ug(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),s=[{provide:Jr,useValue:i}];return i.run(()=>{const a=Xs.create({providers:s,parent:this.injector,name:n.moduleType.name}),f=n.create(a),p=f.injector.get(ia,null);if(!p)throw new q(402,!1);return i.runOutsideAngular(()=>{const D=i.onError.subscribe({next:b=>{p.handleError(b)}});f.onDestroy(()=>{dl(this._modules,f),D.unsubscribe()})}),function Gg(e,t,n){try{const r=n();return $u(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(p,i,()=>{const D=f.injector.get(ll);return D.runInitializers(),D.donePromise.then(()=>(function up(e){Ut(e,"Expected localeId to be defined"),"string"==typeof e&&(lp=e.toLowerCase().replace(/_/g,"-"))}(f.injector.get(ul,Oo)||Oo),this._moduleDoBootstrap(f),f))})})}bootstrapModule(n,r=[]){const i=Wg({},r);return function Yw(e,t,n){const r=new tc(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(cl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new q(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new q(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Ec,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Mn(Xs))},e.\u0275prov=Ft({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Wg(e,t){return Array.isArray(t)?t.reduce(Wg,e):{...e,...t}}let cl=(()=>{class e{constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new K.y(f=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{f.next(this._stable),f.complete()})}),a=new K.y(f=>{let p;this._zone.runOutsideAngular(()=>{p=this._zone.onStable.subscribe(()=>{Jr.assertNotInAngularZone(),yc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,f.next(!0))})})});const D=this._zone.onUnstable.subscribe(()=>{Jr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{f.next(!1)}))});return()=>{p.unsubscribe(),D.unsubscribe()}});this.isStable=function Ee(...e){const t=(0,me.yG)(e),n=(0,me._6)(e,1/0),r=e;return r.length?1===r.length?(0,te.Xf)(r[0]):(0,ee.J)(n)((0,Le.D)(r,t)):De.E}(s,a.pipe(function ye(e={}){const{connector:t=(()=>new E.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return s=>{let a,f,p,D=0,b=!1,I=!1;const k=()=>{f?.unsubscribe(),f=void 0},V=()=>{k(),a=p=void 0,b=I=!1},J=()=>{const de=a;V(),de?.unsubscribe()};return(0,re.e)((de,ve)=>{D++,!I&&!b&&k();const Pe=p=p??t();ve.add(()=>{D--,0===D&&!I&&!b&&(f=Ue(J,i))}),Pe.subscribe(ve),!a&&D>0&&(a=new he.Hp({next:He=>Pe.next(He),error:He=>{I=!0,k(),f=Ue(V,n,He),Pe.error(He)},complete:()=>{b=!0,k(),f=Ue(V,r),Pe.complete()}}),(0,te.Xf)(de).subscribe(a))})(s)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof wd;if(!this._injector.get(ll).done)throw!i&&Fe(n),new q(405,false);let a;a=i?n:this._injector.get(na).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const f=function qw(e){return e.isBoundToModule}(a)?void 0:this._injector.get(xo),D=a.create(Xs.NULL,[],r||a.selector,f),b=D.location.nativeElement,I=D.injector.get(Fg,null);return I?.registerApplication(b),D.onDestroy(()=>{this.detachView(D.hostView),dl(this.components,D),I?.unregisterApplication(b)}),this._loadComponent(D),D}tick(){if(this._runningTick)throw new q(101,!1);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;dl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Pg,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>dl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new q(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(Mn(Jr),Mn(Qs),Mn(ia))},e.\u0275prov=Ft({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function dl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Yg=!0;function tC(){Yg=!1}let nC=(()=>{class e{}return e.__NG_ELEMENT_ID__=rC,e})();function rC(e){return function iC(e,t,n){if(En(e)&&!n){const r=Lt(e.index,t);return new la(r,r)}return 47&e.type?new la(t[16],t):null}(jt(),ie(),16==(16&e))}class Jg{constructor(){}supports(t){return ca(t)}create(t){return new cC(t)}}const uC=(e,t)=>t;class cC{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||uC}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const a=!r||n&&n.currentIndex<tm(r,i,s)?n:r,f=tm(a,i,s),p=a.currentIndex;if(a===r)i--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)i++;else{s||(s=[]);const D=f-i,b=p-i;if(D!=b){for(let k=0;k<D;k++){const V=k<s.length?s[k]:s[k]=0,J=V+k;b<=J&&J<D&&(s[k]=V+1)}s[a.previousIndex]=b-D}}f!==p&&t(a,f,p)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!ca(t))throw new q(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let f=0;f<this.length;f++)s=t[f],a=this._trackByFn(f,s),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,s,a,f)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,a,f),r=!0),n=n._next}else i=0,function AD(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Js()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,f=>{a=this._trackByFn(i,f),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,f,a,i)),Object.is(n.item,f)||this._addIdentityChange(n,f)):(n=this._mismatch(n,f,a,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new dC(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new em),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 em),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 dC{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 fC{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 em{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new fC,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function tm(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class nm{constructor(){}supports(t){return t instanceof Map||Fu(t)}create(){return new hC}}class hC{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Fu(t)))throw new q(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,a=i._next;return s&&(s._next=a),a&&(a._prev=s),i._next=null,i._prev=null,i}const r=new pC(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 pC{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 rm(){return new Tc([new Jg])}let Tc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||rm()),deps:[[e,new Qo,new qo]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new q(901,!1)}}return e.\u0275prov=Ft({token:e,providedIn:"root",factory:rm}),e})();function im(){return new Ic([new nm])}let Ic=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||im()),deps:[[e,new Qo,new qo]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new q(901,!1)}}return e.\u0275prov=Ft({token:e,providedIn:"root",factory:im}),e})();const yC=Vg(null,"core",[]);let vC=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Mn(cl))},e.\u0275mod=Ir({type:e}),e.\u0275inj=Mr({}),e})();function DC(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},1481:(et,fe,N)=>{N.d(fe,{Dx:()=>gi,b2:()=>ds,q6:()=>ln,se:()=>G});var E=N(6895),R=N(8256);class K extends E.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class ee extends K{static makeCurrent(){(0,E.HT)(new ee)}onAndCancel(B,A,$){return B.addEventListener(A,$,!1),()=>{B.removeEventListener(A,$,!1)}}dispatchEvent(B,A){B.dispatchEvent(A)}remove(B){B.parentNode&&B.parentNode.removeChild(B)}createElement(B,A){return(A=A||this.getDefaultDocument()).createElement(B)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(B){return B.nodeType===Node.ELEMENT_NODE}isShadowRoot(B){return B instanceof DocumentFragment}getGlobalEventTarget(B,A){return"window"===A?window:"document"===A?B:"body"===A?B.body:null}getBaseHref(B){const A=function De(){return te=te||document.querySelector("base"),te?te.getAttribute("href"):null}();return null==A?null:function Le(U){me=me||document.createElement("a"),me.setAttribute("href",U);const B=me.pathname;return"/"===B.charAt(0)?B:`/${B}`}(A)}resetBaseElement(){te=null}getUserAgent(){return window.navigator.userAgent}getCookie(B){return(0,E.Mx)(document.cookie,B)}}let me,te=null;const Ee=new R.OlP("TRANSITION_ID"),re=[{provide:R.ip1,useFactory:function he(U,B,A){return()=>{A.get(R.CZH).donePromise.then(()=>{const $=(0,E.q)(),Z=B.querySelectorAll(`style[ng-transition="${U}"]`);for(let Fe=0;Fe<Z.length;Fe++)$.remove(Z[Fe])})}},deps:[Ee,E.K0,R.zs3],multi:!0}];let Ue=(()=>{class U{build(){return new XMLHttpRequest}}return U.\u0275fac=function(A){return new(A||U)},U.\u0275prov=R.Yz7({token:U,factory:U.\u0275fac}),U})();const ae=new R.OlP("EventManagerPlugins");let ke=(()=>{class U{constructor(A,$){this._zone=$,this._eventNameToPlugin=new Map,A.forEach(Z=>Z.manager=this),this._plugins=A.slice().reverse()}addEventListener(A,$,Z){return this._findPluginFor($).addEventListener(A,$,Z)}addGlobalEventListener(A,$,Z){return this._findPluginFor($).addGlobalEventListener(A,$,Z)}getZone(){return this._zone}_findPluginFor(A){const $=this._eventNameToPlugin.get(A);if($)return $;const Z=this._plugins;for(let Fe=0;Fe<Z.length;Fe++){const Ve=Z[Fe];if(Ve.supports(A))return this._eventNameToPlugin.set(A,Ve),Ve}throw new Error(`No event manager plugin found for event ${A}`)}}return U.\u0275fac=function(A){return new(A||U)(R.LFG(ae),R.LFG(R.R0b))},U.\u0275prov=R.Yz7({token:U,factory:U.\u0275fac}),U})();class Ie{constructor(B){this._doc=B}addGlobalEventListener(B,A,$){const Z=(0,E.q)().getGlobalEventTarget(this._doc,B);if(!Z)throw new Error(`Unsupported event target ${Z} for event ${A}`);return this.addEventListener(Z,A,$)}}let xe=(()=>{class U{constructor(){this._stylesSet=new Set}addStyles(A){const $=new Set;A.forEach(Z=>{this._stylesSet.has(Z)||(this._stylesSet.add(Z),$.add(Z))}),this.onStylesAdded($)}onStylesAdded(A){}getAllStyles(){return Array.from(this._stylesSet)}}return U.\u0275fac=function(A){return new(A||U)},U.\u0275prov=R.Yz7({token:U,factory:U.\u0275fac}),U})(),Ye=(()=>{class U extends xe{constructor(A){super(),this._doc=A,this._hostNodes=new Map,this._hostNodes.set(A.head,[])}_addStylesToHost(A,$,Z){A.forEach(Fe=>{const Ve=this._doc.createElement("style");Ve.textContent=Fe,Z.push($.appendChild(Ve))})}addHost(A){const $=[];this._addStylesToHost(this._stylesSet,A,$),this._hostNodes.set(A,$)}removeHost(A){const $=this._hostNodes.get(A);$&&$.forEach(bt),this._hostNodes.delete(A)}onStylesAdded(A){this._hostNodes.forEach(($,Z)=>{this._addStylesToHost(A,Z,$)})}ngOnDestroy(){this._hostNodes.forEach(A=>A.forEach(bt))}}return U.\u0275fac=function(A){return new(A||U)(R.LFG(E.K0))},U.\u0275prov=R.Yz7({token:U,factory:U.\u0275fac}),U})();function bt(U){(0,E.q)().remove(U)}const Me={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},_e=/%COMP%/g,q="%COMP%",Qe=`_nghost-${q}`,se=`_ngcontent-${q}`;function j(U,B,A){for(let $=0;$<B.length;$++){let Z=B[$];Array.isArray(Z)?j(U,Z,A):(Z=Z.replace(_e,U),A.push(Z))}return A}function z(U){return B=>{if("__ngUnwrap__"===B)return U;!1===U(B)&&(B.preventDefault(),B.returnValue=!1)}}let G=(()=>{class U{constructor(A,$,Z){this.eventManager=A,this.sharedStylesHost=$,this.appId=Z,this.rendererByCompId=new Map,this.defaultRenderer=new we(A)}createRenderer(A,$){if(!A||!$)return this.defaultRenderer;switch($.encapsulation){case R.ifc.Emulated:{let Z=this.rendererByCompId.get($.id);return Z||(Z=new Ht(this.eventManager,this.sharedStylesHost,$,this.appId),this.rendererByCompId.set($.id,Z)),Z.applyToHost(A),Z}case 1:case R.ifc.ShadowDom:return new lt(this.eventManager,this.sharedStylesHost,A,$);default:if(!this.rendererByCompId.has($.id)){const Z=j($.id,$.styles,[]);this.sharedStylesHost.addStyles(Z),this.rendererByCompId.set($.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return U.\u0275fac=function(A){return new(A||U)(R.LFG(ke),R.LFG(Ye),R.LFG(R.AFp))},U.\u0275prov=R.Yz7({token:U,factory:U.\u0275fac}),U})();class we{constructor(B){this.eventManager=B,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(B,A){return A?document.createElementNS(Me[A]||A,B):document.createElement(B)}createComment(B){return document.createComment(B)}createText(B){return document.createTextNode(B)}appendChild(B,A){(ze(B)?B.content:B).appendChild(A)}insertBefore(B,A,$){B&&(ze(B)?B.content:B).insertBefore(A,$)}removeChild(B,A){B&&B.removeChild(A)}selectRootElement(B,A){let $="string"==typeof B?document.querySelector(B):B;if(!$)throw new Error(`The selector "${B}" did not match any elements`);return A||($.textContent=""),$}parentNode(B){return B.parentNode}nextSibling(B){return B.nextSibling}setAttribute(B,A,$,Z){if(Z){A=Z+":"+A;const Fe=Me[Z];Fe?B.setAttributeNS(Fe,A,$):B.setAttribute(A,$)}else B.setAttribute(A,$)}removeAttribute(B,A,$){if($){const Z=Me[$];Z?B.removeAttributeNS(Z,A):B.removeAttribute(`${$}:${A}`)}else B.removeAttribute(A)}addClass(B,A){B.classList.add(A)}removeClass(B,A){B.classList.remove(A)}setStyle(B,A,$,Z){Z&(R.JOm.DashCase|R.JOm.Important)?B.style.setProperty(A,$,Z&R.JOm.Important?"important":""):B.style[A]=$}removeStyle(B,A,$){$&R.JOm.DashCase?B.style.removeProperty(A):B.style[A]=""}setProperty(B,A,$){B[A]=$}setValue(B,A){B.nodeValue=A}listen(B,A,$){return"string"==typeof B?this.eventManager.addGlobalEventListener(B,A,z($)):this.eventManager.addEventListener(B,A,z($))}}function ze(U){return"TEMPLATE"===U.tagName&&void 0!==U.content}class Ht extends we{constructor(B,A,$,Z){super(B),this.component=$;const Fe=j(Z+"-"+$.id,$.styles,[]);A.addStyles(Fe),this.contentAttr=function le(U){return se.replace(_e,U)}(Z+"-"+$.id),this.hostAttr=function $e(U){return Qe.replace(_e,U)}(Z+"-"+$.id)}applyToHost(B){super.setAttribute(B,this.hostAttr,"")}createElement(B,A){const $=super.createElement(B,A);return super.setAttribute($,this.contentAttr,""),$}}class lt extends we{constructor(B,A,$,Z){super(B),this.sharedStylesHost=A,this.hostEl=$,this.shadowRoot=$.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Fe=j(Z.id,Z.styles,[]);for(let Ve=0;Ve<Fe.length;Ve++){const ft=document.createElement("style");ft.textContent=Fe[Ve],this.shadowRoot.appendChild(ft)}}nodeOrShadowRoot(B){return B===this.hostEl?this.shadowRoot:B}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(B,A){return super.appendChild(this.nodeOrShadowRoot(B),A)}insertBefore(B,A,$){return super.insertBefore(this.nodeOrShadowRoot(B),A,$)}removeChild(B,A){return super.removeChild(this.nodeOrShadowRoot(B),A)}parentNode(B){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(B)))}}let nn=(()=>{class U extends Ie{constructor(A){super(A)}supports(A){return!0}addEventListener(A,$,Z){return A.addEventListener($,Z,!1),()=>this.removeEventListener(A,$,Z)}removeEventListener(A,$,Z){return A.removeEventListener($,Z)}}return U.\u0275fac=function(A){return new(A||U)(R.LFG(E.K0))},U.\u0275prov=R.Yz7({token:U,factory:U.\u0275fac}),U})();const Hn=["alt","control","meta","shift"],Ot={"\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"},On={alt:U=>U.altKey,control:U=>U.ctrlKey,meta:U=>U.metaKey,shift:U=>U.shiftKey};let $n=(()=>{class U extends Ie{constructor(A){super(A)}supports(A){return null!=U.parseEventName(A)}addEventListener(A,$,Z){const Fe=U.parseEventName($),Ve=U.eventCallback(Fe.fullKey,Z,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,E.q)().onAndCancel(A,Fe.domEventName,Ve))}static parseEventName(A){const $=A.toLowerCase().split("."),Z=$.shift();if(0===$.length||"keydown"!==Z&&"keyup"!==Z)return null;const Fe=U._normalizeKey($.pop());let Ve="",ft=$.indexOf("code");if(ft>-1&&($.splice(ft,1),Ve="code."),Hn.forEach(Ge=>{const It=$.indexOf(Ge);It>-1&&($.splice(It,1),Ve+=Ge+".")}),Ve+=Fe,0!=$.length||0===Fe.length)return null;const ue={};return ue.domEventName=Z,ue.fullKey=Ve,ue}static matchEventFullKeyCode(A,$){let Z=Ot[A.key]||A.key,Fe="";return $.indexOf("code.")>-1&&(Z=A.code,Fe="code."),!(null==Z||!Z)&&(Z=Z.toLowerCase()," "===Z?Z="space":"."===Z&&(Z="dot"),Hn.forEach(Ve=>{Ve!==Z&&(0,On[Ve])(A)&&(Fe+=Ve+".")}),Fe+=Z,Fe===$)}static eventCallback(A,$,Z){return Fe=>{U.matchEventFullKeyCode(Fe,A)&&Z.runGuarded(()=>$(Fe))}}static _normalizeKey(A){return"esc"===A?"escape":A}}return U.\u0275fac=function(A){return new(A||U)(R.LFG(E.K0))},U.\u0275prov=R.Yz7({token:U,factory:U.\u0275fac}),U})();const ln=(0,R.eFA)(R._c5,"browser",[{provide:R.Lbi,useValue:E.bD},{provide:R.g9A,useValue:function cs(){ee.makeCurrent()},multi:!0},{provide:E.K0,useFactory:function Ui(){return(0,R.RDi)(document),document},deps:[]}]),pi=new R.OlP(""),Jt=[{provide:R.rWj,useClass:class ye{addToWindow(B){R.dqk.getAngularTestability=($,Z=!0)=>{const Fe=B.findTestabilityInTree($,Z);if(null==Fe)throw new Error("Could not find testability for element.");return Fe},R.dqk.getAllAngularTestabilities=()=>B.getAllTestabilities(),R.dqk.getAllAngularRootElements=()=>B.getAllRootElements(),R.dqk.frameworkStabilizers||(R.dqk.frameworkStabilizers=[]),R.dqk.frameworkStabilizers.push($=>{const Z=R.dqk.getAllAngularTestabilities();let Fe=Z.length,Ve=!1;const ft=function(ue){Ve=Ve||ue,Fe--,0==Fe&&$(Ve)};Z.forEach(function(ue){ue.whenStable(ft)})})}findTestabilityInTree(B,A,$){return null==A?null:B.getTestability(A)??($?(0,E.q)().isShadowRoot(A)?this.findTestabilityInTree(B,A.host,!0):this.findTestabilityInTree(B,A.parentElement,!0):null)}},deps:[]},{provide:R.lri,useClass:R.dDg,deps:[R.R0b,R.eoX,R.rWj]},{provide:R.dDg,useClass:R.dDg,deps:[R.R0b,R.eoX,R.rWj]}],Tr=[{provide:R.zSh,useValue:"root"},{provide:R.qLn,useFactory:function Ft(){return new R.qLn},deps:[]},{provide:ae,useClass:nn,multi:!0,deps:[E.K0,R.R0b,R.Lbi]},{provide:ae,useClass:$n,multi:!0,deps:[E.K0]},{provide:G,useClass:G,deps:[ke,Ye,R.AFp]},{provide:R.FYo,useExisting:G},{provide:xe,useExisting:Ye},{provide:Ye,useClass:Ye,deps:[E.K0]},{provide:ke,useClass:ke,deps:[ae,R.R0b]},{provide:E.JF,useClass:Ue,deps:[]},[]];let ds=(()=>{class U{constructor(A){}static withServerTransition(A){return{ngModule:U,providers:[{provide:R.AFp,useValue:A.appId},{provide:Ee,useExisting:R.AFp},re]}}}return U.\u0275fac=function(A){return new(A||U)(R.LFG(pi,12))},U.\u0275mod=R.oAB({type:U}),U.\u0275inj=R.cJS({providers:[...Tr,...Jt],imports:[E.ez,R.hGG]}),U})(),gi=(()=>{class U{constructor(A){this._doc=A}getTitle(){return this._doc.title}setTitle(A){this._doc.title=A||""}}return U.\u0275fac=function(A){return new(A||U)(R.LFG(E.K0))},U.\u0275prov=R.Yz7({token:U,factory:function(A){let $=null;return $=A?new A:function dr(){return new gi((0,R.LFG)(E.K0))}(),$},providedIn:"root"}),U})();typeof window<"u"&&window},9541:(et,fe,N)=>{N.d(fe,{rH:()=>ar,Bz:()=>Ws,lC:()=>pn});var E=N(8256),R=N(2076),K=N(9646),ee=N(1135);const De=(0,N(3888).d)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"});var me=N(9841),Le=N(7272),Ee=N(9751),he=N(8421);function re(u){return new Ee.y(d=>{(0,he.Xf)(u()).subscribe(d)})}var ye=N(9635),Ue=N(576);function ae(u,d){const l=(0,Ue.m)(u)?u:()=>u,h=v=>v.error(l());return new Ee.y(d?v=>d.schedule(h,0,v):h)}var ke=N(515),Ie=N(727),xe=N(4482),Ye=N(5403);function bt(){return(0,xe.e)((u,d)=>{let l=null;u._refCount++;const h=(0,Ye.x)(d,void 0,void 0,void 0,()=>{if(!u||u._refCount<=0||0<--u._refCount)return void(l=null);const v=u._connection,S=l;l=null,v&&(!S||v===S)&&v.unsubscribe(),d.unsubscribe()});u.subscribe(h),h.closed||(l=u.connect())})}class Me extends Ee.y{constructor(d,l){super(),this.source=d,this.subjectFactory=l,this._subject=null,this._refCount=0,this._connection=null,(0,xe.A)(d)&&(this.lift=d.lift)}_subscribe(d){return this.getSubject().subscribe(d)}getSubject(){const d=this._subject;return(!d||d.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:d}=this;this._subject=this._connection=null,d?.unsubscribe()}connect(){let d=this._connection;if(!d){d=this._connection=new Ie.w0;const l=this.getSubject();d.add(this.source.subscribe((0,Ye.x)(l,void 0,()=>{this._teardown(),l.complete()},h=>{this._teardown(),l.error(h)},()=>this._teardown()))),d.closed&&(this._connection=null,d=Ie.w0.EMPTY)}return d}refCount(){return bt()(this)}}var _e=N(7579),pe=N(6895),q=N(4004);function Qe(u,d){return(0,xe.e)((l,h)=>{let v=null,S=0,P=!1;const O=()=>P&&!v&&h.complete();l.subscribe((0,Ye.x)(h,W=>{v?.unsubscribe();let ce=0;const je=S++;(0,he.Xf)(u(W,je)).subscribe(v=(0,Ye.x)(h,be=>h.next(d?d(W,be,je,ce++):be),()=>{v=null,O()}))},()=>{P=!0,O()}))})}var se=N(5698),le=N(8675),$e=N(9300),j=N(5577);function z(u){return(0,xe.e)((d,l)=>{let h=!1;d.subscribe((0,Ye.x)(l,v=>{h=!0,l.next(v)},()=>{h||l.next(u),l.complete()}))})}function Q(u=G){return(0,xe.e)((d,l)=>{let h=!1;d.subscribe((0,Ye.x)(l,v=>{h=!0,l.next(v)},()=>h?l.complete():l.error(u())))})}function G(){return new De}var we=N(4671);function ge(u,d){const l=arguments.length>=2;return h=>h.pipe(u?(0,$e.h)((v,S)=>u(v,S,h)):we.y,(0,se.q)(1),l?z(d):Q(()=>new De))}function Xe(u,d){return(0,Ue.m)(d)?(0,j.z)(u,d,1):(0,j.z)(u,1)}function ze(u,d,l){const h=(0,Ue.m)(u)||d||l?{next:u,error:d,complete:l}:u;return h?(0,xe.e)((v,S)=>{var P;null===(P=h.subscribe)||void 0===P||P.call(h);let O=!0;v.subscribe((0,Ye.x)(S,W=>{var ce;null===(ce=h.next)||void 0===ce||ce.call(h,W),S.next(W)},()=>{var W;O=!1,null===(W=h.complete)||void 0===W||W.call(h),S.complete()},W=>{var ce;O=!1,null===(ce=h.error)||void 0===ce||ce.call(h,W),S.error(W)},()=>{var W,ce;O&&(null===(W=h.unsubscribe)||void 0===W||W.call(h)),null===(ce=h.finalize)||void 0===ce||ce.call(h)}))}):we.y}function Ht(u){return(0,xe.e)((d,l)=>{let S,h=null,v=!1;h=d.subscribe((0,Ye.x)(l,void 0,void 0,P=>{S=(0,he.Xf)(u(P,Ht(u)(d))),h?(h.unsubscribe(),h=null,S.subscribe(l)):v=!0})),v&&(h.unsubscribe(),h=null,S.subscribe(l))})}function lt(u,d,l,h,v){return(S,P)=>{let O=l,W=d,ce=0;S.subscribe((0,Ye.x)(P,je=>{const be=ce++;W=O?u(W,je,be):(O=!0,je),h&&P.next(W)},v&&(()=>{O&&P.next(W),P.complete()})))}}function nn(u,d){return(0,xe.e)(lt(u,d,arguments.length>=2,!0))}function Hn(u){return u<=0?()=>ke.E:(0,xe.e)((d,l)=>{let h=[];d.subscribe((0,Ye.x)(l,v=>{h.push(v),u<h.length&&h.shift()},()=>{for(const v of h)l.next(v);l.complete()},void 0,()=>{h=null}))})}function Ot(u,d){const l=arguments.length>=2;return h=>h.pipe(u?(0,$e.h)((v,S)=>u(v,S,h)):we.y,Hn(1),l?z(d):Q(()=>new De))}function $t(u){return(0,xe.e)((d,l)=>{try{d.subscribe(l)}finally{l.add(u)}})}var Ut=N(8189),Ct=N(1481);const st="primary",hi=Symbol("RouteTitle");class cs{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const l=this.params[d];return Array.isArray(l)?l[0]:l}return null}getAll(d){if(this.has(d)){const l=this.params[d];return Array.isArray(l)?l:[l]}return[]}get keys(){return Object.keys(this.params)}}function Ft(u){return new cs(u)}function Ui(u,d,l){const h=l.path.split("/");if(h.length>u.length||"full"===l.pathMatch&&(d.hasChildren()||h.length<u.length))return null;const v={};for(let S=0;S<h.length;S++){const P=h[S],O=u[S];if(P.startsWith(":"))v[P.substring(1)]=O;else if(P!==O.path)return null}return{consumed:u.slice(0,h.length),posParams:v}}function ln(u,d){const l=u?Object.keys(u):void 0,h=d?Object.keys(d):void 0;if(!l||!h||l.length!=h.length)return!1;let v;for(let S=0;S<l.length;S++)if(v=l[S],!pi(u[v],d[v]))return!1;return!0}function pi(u,d){if(Array.isArray(u)&&Array.isArray(d)){if(u.length!==d.length)return!1;const l=[...u].sort(),h=[...d].sort();return l.every((v,S)=>h[S]===v)}return u===d}function Jt(u){return Array.prototype.concat.apply([],u)}function Tr(u){return u.length>0?u[u.length-1]:null}function zt(u,d){for(const l in u)u.hasOwnProperty(l)&&d(u[l],l)}function In(u){return(0,E.CqO)(u)?u:(0,E.QGY)(u)?(0,R.D)(Promise.resolve(u)):(0,K.of)(u)}const gi={exact:function yn(u,d,l){if(!Jn(u.segments,d.segments)||!Mt(u.segments,d.segments,l)||u.numberOfChildren!==d.numberOfChildren)return!1;for(const h in d.children)if(!u.children[h]||!yn(u.children[h],d.children[h],l))return!1;return!0},subset:Rt},Te={exact:function it(u,d){return ln(u,d)},subset:function Un(u,d){return Object.keys(d).length<=Object.keys(u).length&&Object.keys(d).every(l=>pi(u[l],d[l]))},ignored:()=>!0};function Be(u,d,l){return gi[l.paths](u.root,d.root,l.matrixParams)&&Te[l.queryParams](u.queryParams,d.queryParams)&&!("exact"===l.fragment&&u.fragment!==d.fragment)}function Rt(u,d,l){return un(u,d,d.segments,l)}function un(u,d,l,h){if(u.segments.length>l.length){const v=u.segments.slice(0,l.length);return!(!Jn(v,l)||d.hasChildren()||!Mt(v,l,h))}if(u.segments.length===l.length){if(!Jn(u.segments,l)||!Mt(u.segments,l,h))return!1;for(const v in d.children)if(!u.children[v]||!Rt(u.children[v],d.children[v],h))return!1;return!0}{const v=l.slice(0,u.segments.length),S=l.slice(u.segments.length);return!!(Jn(u.segments,v)&&Mt(u.segments,v,h)&&u.children[st])&&un(u.children[st],d,S,h)}}function Mt(u,d,l){return d.every((h,v)=>Te[l](u[v].parameters,h.parameters))}class xn{constructor(d,l,h){this.root=d,this.queryParams=l,this.fragment=h}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ft(this.queryParams)),this._queryParamMap}toString(){return mi.serialize(this)}}class Re{constructor(d,l){this.segments=d,this.children=l,this.parent=null,zt(l,(h,v)=>h.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return fr(this)}}class Tt{constructor(d,l){this.path=d,this.parameters=l}get parameterMap(){return this._parameterMap||(this._parameterMap=Ft(this.parameters)),this._parameterMap}toString(){return zi(this)}}function Jn(u,d){return u.length===d.length&&u.every((l,h)=>l.path===d[h].path)}let er=(()=>{class u{}return u.\u0275fac=function(l){return new(l||u)},u.\u0275prov=E.Yz7({token:u,factory:function(){return new ut},providedIn:"root"}),u})();class ut{parse(d){const l=new Z(d);return new xn(l.parseRootSegment(),l.parseQueryParams(),l.parseFragment())}serialize(d){const l=`/${rn(d.root,!0)}`,h=function Ir(u){const d=Object.keys(u).map(l=>{const h=u[l];return Array.isArray(h)?h.map(v=>`${cn(l)}=${cn(v)}`).join("&"):`${cn(l)}=${cn(h)}`}).filter(l=>!!l);return d.length?`?${d.join("&")}`:""}(d.queryParams);return`${l}${h}${"string"==typeof d.fragment?`#${function ei(u){return encodeURI(u)}(d.fragment)}`:""}`}}const mi=new ut;function fr(u){return u.segments.map(d=>zi(d)).join("/")}function rn(u,d){if(!u.hasChildren())return fr(u);if(d){const l=u.children[st]?rn(u.children[st],!1):"",h=[];return zt(u.children,(v,S)=>{S!==st&&h.push(`${S}:${rn(v,!1)}`)}),h.length>0?`${l}(${h.join("//")})`:l}{const l=function Vr(u,d){let l=[];return zt(u.children,(h,v)=>{v===st&&(l=l.concat(d(h,v)))}),zt(u.children,(h,v)=>{v!==st&&(l=l.concat(d(h,v)))}),l}(u,(h,v)=>v===st?[rn(u.children[st],!1)]:[`${v}:${rn(h,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[st]?`${fr(u)}/${l[0]}`:`${fr(u)}/(${l.join("//")})`}}function tr(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function cn(u){return tr(u).replace(/%3B/gi,";")}function ti(u){return tr(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function hr(u){return decodeURIComponent(u)}function yi(u){return hr(u.replace(/\+/g,"%20"))}function zi(u){return`${ti(u.path)}${function vi(u){return Object.keys(u).map(d=>`;${ti(d)}=${ti(u[d])}`).join("")}(u.parameters)}`}const Gi=/^[^\/()?;=#]+/;function pr(u){const d=u.match(Gi);return d?d[0]:""}const U=/^[^=?&#]+/,A=/^[^&#]+/;class Z{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Re([],{}):new Re([],this.parseChildren())}parseQueryParams(){const d={};if(this.consumeOptional("?"))do{this.parseQueryParam(d)}while(this.consumeOptional("&"));return d}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const d=[];for(this.peekStartsWith("(")||d.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),d.push(this.parseSegment());let l={};this.peekStartsWith("/(")&&(this.capture("/"),l=this.parseParens(!0));let h={};return this.peekStartsWith("(")&&(h=this.parseParens(!1)),(d.length>0||Object.keys(l).length>0)&&(h[st]=new Re(d,l)),h}parseSegment(){const d=pr(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new E.vHH(4009,!1);return this.capture(d),new Tt(hr(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const l=pr(this.remaining);if(!l)return;this.capture(l);let h="";if(this.consumeOptional("=")){const v=pr(this.remaining);v&&(h=v,this.capture(h))}d[hr(l)]=hr(h)}parseQueryParam(d){const l=function B(u){const d=u.match(U);return d?d[0]:""}(this.remaining);if(!l)return;this.capture(l);let h="";if(this.consumeOptional("=")){const P=function $(u){const d=u.match(A);return d?d[0]:""}(this.remaining);P&&(h=P,this.capture(h))}const v=yi(l),S=yi(h);if(d.hasOwnProperty(v)){let P=d[v];Array.isArray(P)||(P=[P],d[v]=P),P.push(S)}else d[v]=S}parseParens(d){const l={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const h=pr(this.remaining),v=this.remaining[h.length];if("/"!==v&&")"!==v&&";"!==v)throw new E.vHH(4010,!1);let S;h.indexOf(":")>-1?(S=h.slice(0,h.indexOf(":")),this.capture(S),this.capture(":")):d&&(S=st);const P=this.parseChildren();l[S]=1===Object.keys(P).length?P[st]:new Re([],P),this.consumeOptional("//")}return l}peekStartsWith(d){return this.remaining.startsWith(d)}consumeOptional(d){return!!this.peekStartsWith(d)&&(this.remaining=this.remaining.substring(d.length),!0)}capture(d){if(!this.consumeOptional(d))throw new E.vHH(4011,!1)}}function Fe(u){return u.segments.length>0?new Re([],{[st]:u}):u}function Ve(u){const d={};for(const h of Object.keys(u.children)){const S=Ve(u.children[h]);(S.segments.length>0||S.hasChildren())&&(d[h]=S)}return function ft(u){if(1===u.numberOfChildren&&u.children[st]){const d=u.children[st];return new Re(u.segments.concat(d.segments),d.children)}return u}(new Re(u.segments,d))}function ue(u){return u instanceof xn}function Yt(u,d,l,h,v){if(0===l.length)return An(d.root,d.root,d.root,h,v);const S=function zn(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new We(!0,0,u);let d=0,l=!1;const h=u.reduce((v,S,P)=>{if("object"==typeof S&&null!=S){if(S.outlets){const O={};return zt(S.outlets,(W,ce)=>{O[ce]="string"==typeof W?W.split("/"):W}),[...v,{outlets:O}]}if(S.segmentPath)return[...v,S.segmentPath]}return"string"!=typeof S?[...v,S]:0===P?(S.split("/").forEach((O,W)=>{0==W&&"."===O||(0==W&&""===O?l=!0:".."===O?d++:""!=O&&v.push(O))}),v):[...v,S]},[]);return new We(l,d,h)}(l);return S.toRoot()?An(d.root,d.root,new Re([],{}),h,v):function P(W){const ce=function nr(u,d,l,h){if(u.isAbsolute)return new dn(d.root,!0,0);if(-1===h)return new dn(l,l===d.root,0);return function Wt(u,d,l){let h=u,v=d,S=l;for(;S>v;){if(S-=v,h=h.parent,!h)throw new E.vHH(4005,!1);v=h.segments.length}return new dn(h,!1,v-S)}(l,h+(Fn(u.commands[0])?0:1),u.numberOfDoubleDots)}(S,d,u.snapshot?._urlSegment,W),je=ce.processChildren?sn(ce.segmentGroup,ce.index,S.commands):Vn(ce.segmentGroup,ce.index,S.commands);return An(d.root,ce.segmentGroup,je,h,v)}(u.snapshot?._lastPathIndex)}function Fn(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function gt(u){return"object"==typeof u&&null!=u&&u.outlets}function An(u,d,l,h,v){let P,S={};h&&zt(h,(W,ce)=>{S[ce]=Array.isArray(W)?W.map(je=>`${je}`):`${W}`}),P=u===d?l:mr(u,d,l);const O=Fe(Ve(P));return new xn(O,S,v)}function mr(u,d,l){const h={};return zt(u.children,(v,S)=>{h[S]=v===d?l:mr(v,d,l)}),new Re(u.segments,h)}class We{constructor(d,l,h){if(this.isAbsolute=d,this.numberOfDoubleDots=l,this.commands=h,d&&h.length>0&&Fn(h[0]))throw new E.vHH(4003,!1);const v=h.find(gt);if(v&&v!==Tr(h))throw new E.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class dn{constructor(d,l,h){this.segmentGroup=d,this.processChildren=l,this.index=h}}function Vn(u,d,l){if(u||(u=new Re([],{})),0===u.segments.length&&u.hasChildren())return sn(u,d,l);const h=function rr(u,d,l){let h=0,v=d;const S={match:!1,pathIndex:0,commandIndex:0};for(;v<u.segments.length;){if(h>=l.length)return S;const P=u.segments[v],O=l[h];if(gt(O))break;const W=`${O}`,ce=h<l.length-1?l[h+1]:null;if(v>0&&void 0===W)break;if(W&&ce&&"object"==typeof ce&&void 0===ce.outlets){if(!fn(W,ce,P))return S;h+=2}else{if(!fn(W,{},P))return S;h++}v++}return{match:!0,pathIndex:v,commandIndex:h}}(u,d,l),v=l.slice(h.commandIndex);if(h.match&&h.pathIndex<u.segments.length){const S=new Re(u.segments.slice(0,h.pathIndex),{});return S.children[st]=new Re(u.segments.slice(h.pathIndex),u.children),sn(S,0,v)}return h.match&&0===v.length?new Re(u.segments,{}):h.match&&!u.hasChildren()?_i(u,d,l):h.match?sn(u,0,v):_i(u,d,l)}function sn(u,d,l){if(0===l.length)return new Re(u.segments,{});{const h=function Gn(u){return gt(u[0])?u[0].outlets:{[st]:u}}(l),v={};return zt(h,(S,P)=>{"string"==typeof S&&(S=[S]),null!==S&&(v[P]=Vn(u.children[P],d,S))}),zt(u.children,(S,P)=>{void 0===h[P]&&(v[P]=S)}),new Re(u.segments,v)}}function _i(u,d,l){const h=u.segments.slice(0,d);let v=0;for(;v<l.length;){const S=l[v];if(gt(S)){const W=At(S.outlets);return new Re(h,W)}if(0===v&&Fn(l[0])){h.push(new Tt(u.segments[d].path,fs(l[0]))),v++;continue}const P=gt(S)?S.outlets[st]:`${S}`,O=v<l.length-1?l[v+1]:null;P&&O&&Fn(O)?(h.push(new Tt(P,fs(O))),v+=2):(h.push(new Tt(P,{})),v++)}return new Re(h,{})}function At(u){const d={};return zt(u,(l,h)=>{"string"==typeof l&&(l=[l]),null!==l&&(d[h]=_i(new Re([],{}),0,l))}),d}function fs(u){const d={};return zt(u,(l,h)=>d[h]=`${l}`),d}function fn(u,d,l){return u==l.path&&ln(d,l.parameters)}class hn{constructor(d,l){this.id=d,this.url=l}}class Wn extends hn{constructor(d,l,h="imperative",v=null){super(d,l),this.type=0,this.navigationTrigger=h,this.restoredState=v}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class vn extends hn{constructor(d,l,h){super(d,l),this.urlAfterRedirects=h,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ar extends hn{constructor(d,l,h,v){super(d,l),this.reason=h,this.code=v,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Pr extends hn{constructor(d,l,h,v){super(d,l),this.error=h,this.target=v,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class en extends hn{constructor(d,l,h,v){super(d,l),this.urlAfterRedirects=h,this.state=v,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class io extends hn{constructor(d,l,h,v){super(d,l),this.urlAfterRedirects=h,this.state=v,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Dn extends hn{constructor(d,l,h,v,S){super(d,l),this.urlAfterRedirects=h,this.state=v,this.shouldActivate=S,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class _n extends hn{constructor(d,l,h,v){super(d,l),this.urlAfterRedirects=h,this.state=v,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hs extends hn{constructor(d,l,h,v){super(d,l),this.urlAfterRedirects=h,this.state=v,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class En{constructor(d){this.route=d,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ei{constructor(d){this.route=d,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class wn{constructor(d){this.snapshot=d,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wi{constructor(d){this.snapshot=d,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xs{constructor(d){this.snapshot=d,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ps{constructor(d){this.snapshot=d,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gs{constructor(d,l,h){this.routerEvent=d,this.position=l,this.anchor=h,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ys{constructor(d){this._root=d}get root(){return this._root.value}parent(d){const l=this.pathFromRoot(d);return l.length>1?l[l.length-2]:null}children(d){const l=vs(d,this._root);return l?l.children.map(h=>h.value):[]}firstChild(d){const l=vs(d,this._root);return l&&l.children.length>0?l.children[0].value:null}siblings(d){const l=Ds(d,this._root);return l.length<2?[]:l[l.length-2].children.map(v=>v.value).filter(v=>v!==d)}pathFromRoot(d){return Ds(d,this._root).map(l=>l.value)}}function vs(u,d){if(u===d.value)return d;for(const l of d.children){const h=vs(u,l);if(h)return h}return null}function Ds(u,d){if(u===d.value)return[d];for(const l of d.children){const h=Ds(u,l);if(h.length)return h.unshift(d),h}return[]}class yr{constructor(d,l){this.value=d,this.children=l}toString(){return`TreeNode(${this.value})`}}function ni(u){const d={};return u&&u.children.forEach(l=>d[l.value.outlet]=l),d}class Fs extends ys{constructor(d,l){super(d),this.snapshot=l,Si(this,d)}toString(){return this.snapshot.toString()}}function Ls(u,d){const l=function Hr(u,d){const P=new Ki([],{},{},"",{},st,d,null,u.root,-1,{});return new ks("",new yr(P,[]))}(u,d),h=new ee.X([new Tt("",{})]),v=new ee.X({}),S=new ee.X({}),P=new ee.X({}),O=new ee.X(""),W=new vr(h,v,P,O,S,st,d,l.root);return W.snapshot=l.root,new Fs(new yr(W,[]),l)}class vr{constructor(d,l,h,v,S,P,O,W){this.url=d,this.params=l,this.queryParams=h,this.fragment=v,this.data=S,this.outlet=P,this.component=O,this.title=this.data?.pipe((0,q.U)(ce=>ce[hi]))??(0,K.of)(void 0),this._futureSnapshot=W}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,q.U)(d=>Ft(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,q.U)(d=>Ft(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Wi(u,d="emptyOnly"){const l=u.pathFromRoot;let h=0;if("always"!==d)for(h=l.length-1;h>=1;){const v=l[h],S=l[h-1];if(v.routeConfig&&""===v.routeConfig.path)h--;else{if(S.component)break;h--}}return function Ci(u){return u.reduce((d,l)=>({params:{...d.params,...l.params},data:{...d.data,...l.data},resolve:{...l.data,...d.resolve,...l.routeConfig?.data,...l._resolvedData}}),{params:{},data:{},resolve:{}})}(l.slice(h))}class Ki{constructor(d,l,h,v,S,P,O,W,ce,je,be,St){this.url=d,this.params=l,this.queryParams=h,this.fragment=v,this.data=S,this.outlet=P,this.component=O,this.title=this.data?.[hi],this.routeConfig=W,this._urlSegment=ce,this._lastPathIndex=je,this._correctedLastPathIndex=St??je,this._resolve=be}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=Ft(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ft(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(h=>h.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ks extends ys{constructor(d,l){super(l),this.url=d,Si(this,l)}toString(){return $r(this._root)}}function Si(u,d){d.value._routerState=u,d.children.forEach(l=>Si(u,l))}function $r(u){const d=u.children.length>0?` { ${u.children.map($r).join(", ")} } `:"";return`${u.value}${d}`}function bi(u){if(u.snapshot){const d=u.snapshot,l=u._futureSnapshot;u.snapshot=l,ln(d.queryParams,l.queryParams)||u.queryParams.next(l.queryParams),d.fragment!==l.fragment&&u.fragment.next(l.fragment),ln(d.params,l.params)||u.params.next(l.params),function Mr(u,d){if(u.length!==d.length)return!1;for(let l=0;l<u.length;++l)if(!ln(u[l],d[l]))return!1;return!0}(d.url,l.url)||u.url.next(l.url),ln(d.data,l.data)||u.data.next(l.data)}else u.snapshot=u._futureSnapshot,u.data.next(u._futureSnapshot.data)}function Mi(u,d){const l=ln(u.params,d.params)&&function Ze(u,d){return Jn(u,d)&&u.every((l,h)=>ln(l.parameters,d[h].parameters))}(u.url,d.url);return l&&!(!u.parent!=!d.parent)&&(!u.parent||Mi(u.parent,d.parent))}function Cn(u,d,l){if(l&&u.shouldReuseRoute(d.value,l.value.snapshot)){const h=l.value;h._futureSnapshot=d.value;const v=function Ti(u,d,l){return d.children.map(h=>{for(const v of l.children)if(u.shouldReuseRoute(h.value,v.value.snapshot))return Cn(u,h,v);return Cn(u,h)})}(u,d,l);return new yr(h,v)}{if(u.shouldAttach(d.value)){const S=u.retrieve(d.value);if(null!==S){const P=S.route;return P.value._futureSnapshot=d.value,P.children=d.children.map(O=>Cn(u,O)),P}}const h=function Ur(u){return new vr(new ee.X(u.url),new ee.X(u.params),new ee.X(u.queryParams),new ee.X(u.fragment),new ee.X(u.data),u.outlet,u.component,u)}(d.value),v=d.children.map(S=>Cn(u,S));return new yr(h,v)}}const Ii="ngNavigationCancelingError";function Yi(u,d){const{redirectTo:l,navigationBehaviorOptions:h}=ue(d)?{redirectTo:d,navigationBehaviorOptions:void 0}:d,v=_s(!1,0,d);return v.url=l,v.navigationBehaviorOptions=h,v}function _s(u,d,l){const h=new Error("NavigationCancelingError: "+(u||""));return h[Ii]=!0,h.cancellationCode=d,l&&(h.url=l),h}function Bs(u){return Ai(u)&&ue(u.url)}function Ai(u){return u&&u[Ii]}class Bo{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new zr,this.attachRef=null}}let zr=(()=>{class u{constructor(){this.contexts=new Map}onChildOutletCreated(l,h){const v=this.getOrCreateContext(l);v.outlet=h,this.contexts.set(l,v)}onChildOutletDestroyed(l){const h=this.getContext(l);h&&(h.outlet=null,h.attachRef=null)}onOutletDeactivated(){const l=this.contexts;return this.contexts=new Map,l}onOutletReAttached(l){this.contexts=l}getOrCreateContext(l){let h=this.getContext(l);return h||(h=new Bo,this.contexts.set(l,h)),h}getContext(l){return this.contexts.get(l)||null}}return u.\u0275fac=function(l){return new(l||u)},u.\u0275prov=E.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const Pi=!1;let pn=(()=>{class u{constructor(l,h,v,S,P){this.parentContexts=l,this.location=h,this.changeDetector=S,this.environmentInjector=P,this.activated=null,this._activatedRoute=null,this.activateEvents=new E.vpe,this.deactivateEvents=new E.vpe,this.attachEvents=new E.vpe,this.detachEvents=new E.vpe,this.name=v||st,l.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const l=this.parentContexts.getContext(this.name);l&&l.route&&(l.attachRef?this.attach(l.attachRef,l.route):this.activateWith(l.route,l.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E.vHH(4012,Pi);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E.vHH(4012,Pi);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E.vHH(4012,Pi);this.location.detach();const l=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(l.instance),l}attach(l,h){this.activated=l,this._activatedRoute=h,this.location.insert(l.hostView),this.attachEvents.emit(l.instance)}deactivate(){if(this.activated){const l=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(l)}}activateWith(l,h){if(this.isActivated)throw new E.vHH(4013,Pi);this._activatedRoute=l;const v=this.location,P=l._futureSnapshot.component,O=this.parentContexts.getOrCreateContext(this.name).children,W=new Gr(l,O,v.injector);if(h&&function Es(u){return!!u.resolveComponentFactory}(h)){const ce=h.resolveComponentFactory(P);this.activated=v.createComponent(ce,v.length,W)}else this.activated=v.createComponent(P,{index:v.length,injector:W,environmentInjector:h??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return u.\u0275fac=function(l){return new(l||u)(E.Y36(zr),E.Y36(E.s_b),E.$8M("name"),E.Y36(E.sBO),E.Y36(E.lqb))},u.\u0275dir=E.lG2({type:u,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),u})();class Gr{constructor(d,l,h){this.route=d,this.childContexts=l,this.parent=h}get(d,l){return d===vr?this.route:d===zr?this.childContexts:this.parent.get(d,l)}}let qi=(()=>{class u{}return u.\u0275fac=function(l){return new(l||u)},u.\u0275cmp=E.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[E.jDz],decls:1,vars:0,template:function(l,h){1&l&&E._UZ(0,"router-outlet")},dependencies:[pn],encapsulation:2}),u})();function ws(u,d){return u.providers&&!u._injector&&(u._injector=(0,E.MMx)(u.providers,d,`Route: ${u.path}`)),u._injector??d}function Dr(u){const d=u.children&&u.children.map(Dr),l=d?{...u,children:d}:{...u};return!l.component&&!l.loadComponent&&(d||l.loadChildren)&&l.outlet&&l.outlet!==st&&(l.component=qi),l}function Lt(u){return u.outlet||st}function Zi(u,d){const l=u.filter(h=>Lt(h)===d);return l.push(...u.filter(h=>Lt(h)!==d)),l}function _r(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let d=u.parent;d;d=d.parent){const l=d.routeConfig;if(l?._loadedInjector)return l._loadedInjector;if(l?._injector)return l._injector}return null}class Er{constructor(d,l,h,v){this.routeReuseStrategy=d,this.futureState=l,this.currState=h,this.forwardEvent=v}activate(d){const l=this.futureState._root,h=this.currState?this.currState._root:null;this.deactivateChildRoutes(l,h,d),bi(this.futureState.root),this.activateChildRoutes(l,h,d)}deactivateChildRoutes(d,l,h){const v=ni(l);d.children.forEach(S=>{const P=S.value.outlet;this.deactivateRoutes(S,v[P],h),delete v[P]}),zt(v,(S,P)=>{this.deactivateRouteAndItsChildren(S,h)})}deactivateRoutes(d,l,h){const v=d.value,S=l?l.value:null;if(v===S)if(v.component){const P=h.getContext(v.outlet);P&&this.deactivateChildRoutes(d,l,P.children)}else this.deactivateChildRoutes(d,l,h);else S&&this.deactivateRouteAndItsChildren(l,h)}deactivateRouteAndItsChildren(d,l){d.value.component&&this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,l):this.deactivateRouteAndOutlet(d,l)}detachAndStoreRouteSubtree(d,l){const h=l.getContext(d.value.outlet),v=h&&d.value.component?h.children:l,S=ni(d);for(const P of Object.keys(S))this.deactivateRouteAndItsChildren(S[P],v);if(h&&h.outlet){const P=h.outlet.detach(),O=h.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:P,route:d,contexts:O})}}deactivateRouteAndOutlet(d,l){const h=l.getContext(d.value.outlet),v=h&&d.value.component?h.children:l,S=ni(d);for(const P of Object.keys(S))this.deactivateRouteAndItsChildren(S[P],v);h&&h.outlet&&(h.outlet.deactivate(),h.children.onOutletDeactivated(),h.attachRef=null,h.resolver=null,h.route=null)}activateChildRoutes(d,l,h){const v=ni(l);d.children.forEach(S=>{this.activateRoutes(S,v[S.value.outlet],h),this.forwardEvent(new ps(S.value.snapshot))}),d.children.length&&this.forwardEvent(new wi(d.value.snapshot))}activateRoutes(d,l,h){const v=d.value,S=l?l.value:null;if(bi(v),v===S)if(v.component){const P=h.getOrCreateContext(v.outlet);this.activateChildRoutes(d,l,P.children)}else this.activateChildRoutes(d,l,h);else if(v.component){const P=h.getOrCreateContext(v.outlet);if(this.routeReuseStrategy.shouldAttach(v.snapshot)){const O=this.routeReuseStrategy.retrieve(v.snapshot);this.routeReuseStrategy.store(v.snapshot,null),P.children.onOutletReAttached(O.contexts),P.attachRef=O.componentRef,P.route=O.route.value,P.outlet&&P.outlet.attach(O.componentRef,O.route.value),bi(O.route.value),this.activateChildRoutes(d,null,P.children)}else{const O=_r(v.snapshot),W=O?.get(E._Vd)??null;P.attachRef=null,P.route=v,P.resolver=W,P.injector=O,P.outlet&&P.outlet.activateWith(v,P.injector),this.activateChildRoutes(d,null,P.children)}}else this.activateChildRoutes(d,null,h)}}class Wr{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class Rr{constructor(d,l){this.component=d,this.route=l}}function tt(u,d,l){const h=u._root;return wr(h,d?d._root:null,l,[h.value])}function Nr(u,d){const l=Symbol(),h=d.get(u,l);return h===l?"function"!=typeof u||(0,E.Z0I)(u)?d.get(u):u:h}function wr(u,d,l,h,v={canDeactivateChecks:[],canActivateChecks:[]}){const S=ni(d);return u.children.forEach(P=>{(function Xi(u,d,l,h,v={canDeactivateChecks:[],canActivateChecks:[]}){const S=u.value,P=d?d.value:null,O=l?l.getContext(u.value.outlet):null;if(P&&S.routeConfig===P.routeConfig){const W=function so(u,d,l){if("function"==typeof l)return l(u,d);switch(l){case"pathParamsChange":return!Jn(u.url,d.url);case"pathParamsOrQueryParamsChange":return!Jn(u.url,d.url)||!ln(u.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Mi(u,d)||!ln(u.queryParams,d.queryParams);default:return!Mi(u,d)}}(P,S,S.routeConfig.runGuardsAndResolvers);W?v.canActivateChecks.push(new Wr(h)):(S.data=P.data,S._resolvedData=P._resolvedData),wr(u,d,S.component?O?O.children:null:l,h,v),W&&O&&O.outlet&&O.outlet.isActivated&&v.canDeactivateChecks.push(new Rr(O.outlet.component,P))}else P&&Kr(d,O,v),v.canActivateChecks.push(new Wr(h)),wr(u,null,S.component?O?O.children:null:l,h,v)})(P,S[P.value.outlet],l,h.concat([P.value]),v),delete S[P.value.outlet]}),zt(S,(P,O)=>Kr(P,l.getContext(O),v)),v}function Kr(u,d,l){const h=ni(u),v=u.value;zt(h,(S,P)=>{Kr(S,v.component?d?d.children.getContext(P):null:d,l)}),l.canDeactivateChecks.push(new Rr(v.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,v))}function Yr(u){return"function"==typeof u}function qt(u){return u instanceof De||"EmptyError"===u?.name}const Or=Symbol("INITIAL_VALUE");function xr(){return Qe(u=>(0,me.a)(u.map(d=>d.pipe((0,se.q)(1),(0,le.O)(Or)))).pipe((0,q.U)(d=>{for(const l of d)if(!0!==l){if(l===Or)return Or;if(!1===l||l instanceof xn)return l}return!0}),(0,$e.h)(d=>d!==Or),(0,se.q)(1)))}function Cs(u){return(0,ye.z)(ze(d=>{if(ue(d))throw Yi(0,d)}),(0,q.U)(d=>!0===d))}const bs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Us(u,d,l,h,v){const S=xi(u,d,l);return S.matched?function Ss(u,d,l,h){const v=d.canMatch;if(!v||0===v.length)return(0,K.of)(!0);const S=v.map(P=>{const O=Nr(P,u);return In(function jt(u){return u&&Yr(u.canMatch)}(O)?O.canMatch(d,l):u.runInContext(()=>O(d,l)))});return(0,K.of)(S).pipe(xr(),Cs())}(h=ws(d,h),d,l).pipe((0,q.U)(P=>!0===P?S:{...bs})):(0,K.of)(S)}function xi(u,d,l){if(""===d.path)return"full"===d.pathMatch&&(u.hasChildren()||l.length>0)?{...bs}:{matched:!0,consumedSegments:[],remainingSegments:l,parameters:{},positionalParamSegments:{}};const v=(d.matcher||Ui)(l,u,d);if(!v)return{...bs};const S={};zt(v.posParams,(O,W)=>{S[W]=O.path});const P=v.consumed.length>0?{...S,...v.consumed[v.consumed.length-1].parameters}:S;return{matched:!0,consumedSegments:v.consumed,remainingSegments:l.slice(v.consumed.length),parameters:P,positionalParamSegments:v.posParams??{}}}function qr(u,d,l,h,v="corrected"){if(l.length>0&&function m(u,d,l){return l.some(h=>x(u,d,h)&&Lt(h)!==st)}(u,l,h)){const P=new Re(d,function w(u,d,l,h){const v={};v[st]=h,h._sourceSegment=u,h._segmentIndexShift=d.length;for(const S of l)if(""===S.path&&Lt(S)!==st){const P=new Re([],{});P._sourceSegment=u,P._segmentIndexShift=d.length,v[Lt(S)]=P}return v}(u,d,h,new Re(l,u.children)));return P._sourceSegment=u,P._segmentIndexShift=d.length,{segmentGroup:P,slicedSegments:[]}}if(0===l.length&&function M(u,d,l){return l.some(h=>x(u,d,h))}(u,l,h)){const P=new Re(u.segments,function g(u,d,l,h,v,S){const P={};for(const O of h)if(x(u,l,O)&&!v[Lt(O)]){const W=new Re([],{});W._sourceSegment=u,W._segmentIndexShift="legacy"===S?u.segments.length:d.length,P[Lt(O)]=W}return{...v,...P}}(u,d,l,h,u.children,v));return P._sourceSegment=u,P._segmentIndexShift=d.length,{segmentGroup:P,slicedSegments:l}}const S=new Re(u.segments,u.children);return S._sourceSegment=u,S._segmentIndexShift=d.length,{segmentGroup:S,slicedSegments:l}}function x(u,d,l){return(!(u.hasChildren()||d.length>0)||"full"!==l.pathMatch)&&""===l.path}function Y(u,d,l,h){return!!(Lt(u)===h||h!==st&&x(d,l,u))&&("**"===u.path||xi(d,u,l).matched)}function ne(u,d,l){return 0===d.length&&!u.children[l]}const Se=!1;class vt{constructor(d){this.segmentGroup=d||null}}class Et{constructor(d){this.urlTree=d}}function Dt(u){return ae(new vt(u))}function ct(u){return ae(new Et(u))}class Qr{constructor(d,l,h,v,S){this.injector=d,this.configLoader=l,this.urlSerializer=h,this.urlTree=v,this.config=S,this.allowRedirects=!0}apply(){const d=qr(this.urlTree.root,[],[],this.config).segmentGroup,l=new Re(d.segments,d.children);return this.expandSegmentGroup(this.injector,this.config,l,st).pipe((0,q.U)(S=>this.createUrlTree(Ve(S),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Ht(S=>{if(S instanceof Et)return this.allowRedirects=!1,this.match(S.urlTree);throw S instanceof vt?this.noMatchError(S):S}))}match(d){return this.expandSegmentGroup(this.injector,this.config,d.root,st).pipe((0,q.U)(v=>this.createUrlTree(Ve(v),d.queryParams,d.fragment))).pipe(Ht(v=>{throw v instanceof vt?this.noMatchError(v):v}))}noMatchError(d){return new E.vHH(4002,Se)}createUrlTree(d,l,h){const v=Fe(d);return new xn(v,l,h)}expandSegmentGroup(d,l,h,v){return 0===h.segments.length&&h.hasChildren()?this.expandChildren(d,l,h).pipe((0,q.U)(S=>new Re([],S))):this.expandSegment(d,h,l,h.segments,v,!0)}expandChildren(d,l,h){const v=[];for(const S of Object.keys(h.children))"primary"===S?v.unshift(S):v.push(S);return(0,R.D)(v).pipe(Xe(S=>{const P=h.children[S],O=Zi(l,S);return this.expandSegmentGroup(d,O,P,S).pipe((0,q.U)(W=>({segment:W,outlet:S})))}),nn((S,P)=>(S[P.outlet]=P.segment,S),{}),Ot())}expandSegment(d,l,h,v,S,P){return(0,R.D)(h).pipe(Xe(O=>this.expandSegmentAgainstRoute(d,l,h,O,v,S,P).pipe(Ht(ce=>{if(ce instanceof vt)return(0,K.of)(null);throw ce}))),ge(O=>!!O),Ht((O,W)=>{if(qt(O))return ne(l,v,S)?(0,K.of)(new Re([],{})):Dt(l);throw O}))}expandSegmentAgainstRoute(d,l,h,v,S,P,O){return Y(v,l,S,P)?void 0===v.redirectTo?this.matchSegmentAgainstRoute(d,l,v,S,P):O&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,l,h,v,S,P):Dt(l):Dt(l)}expandSegmentAgainstRouteUsingRedirect(d,l,h,v,S,P){return"**"===v.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,h,v,P):this.expandRegularSegmentAgainstRouteUsingRedirect(d,l,h,v,S,P)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,l,h,v){const S=this.applyRedirectCommands([],h.redirectTo,{});return h.redirectTo.startsWith("/")?ct(S):this.lineralizeSegments(h,S).pipe((0,j.z)(P=>{const O=new Re(P,{});return this.expandSegment(d,O,l,P,v,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,l,h,v,S,P){const{matched:O,consumedSegments:W,remainingSegments:ce,positionalParamSegments:je}=xi(l,v,S);if(!O)return Dt(l);const be=this.applyRedirectCommands(W,v.redirectTo,je);return v.redirectTo.startsWith("/")?ct(be):this.lineralizeSegments(v,be).pipe((0,j.z)(St=>this.expandSegment(d,l,h,St.concat(ce),P,!1)))}matchSegmentAgainstRoute(d,l,h,v,S){return"**"===h.path?(d=ws(h,d),h.loadChildren?(h._loadedRoutes?(0,K.of)({routes:h._loadedRoutes,injector:h._loadedInjector}):this.configLoader.loadChildren(d,h)).pipe((0,q.U)(O=>(h._loadedRoutes=O.routes,h._loadedInjector=O.injector,new Re(v,{})))):(0,K.of)(new Re(v,{}))):Us(l,h,v,d).pipe(Qe(({matched:P,consumedSegments:O,remainingSegments:W})=>P?this.getChildConfig(d=h._injector??d,h,v).pipe((0,j.z)(je=>{const be=je.injector??d,St=je.routes,{segmentGroup:lr,slicedSegments:Zr}=qr(l,O,W,St),is=new Re(lr.segments,lr.children);if(0===Zr.length&&is.hasChildren())return this.expandChildren(be,St,is).pipe((0,q.U)(_l=>new Re(O,_l)));if(0===St.length&&0===Zr.length)return(0,K.of)(new Re(O,{}));const kr=Lt(h)===S;return this.expandSegment(be,is,St,Zr,kr?st:S,!0).pipe((0,q.U)(Ys=>new Re(O.concat(Ys.segments),Ys.children)))})):Dt(l)))}getChildConfig(d,l,h){return l.children?(0,K.of)({routes:l.children,injector:d}):l.loadChildren?void 0!==l._loadedRoutes?(0,K.of)({routes:l._loadedRoutes,injector:l._loadedInjector}):function Kn(u,d,l,h){const v=d.canLoad;if(void 0===v||0===v.length)return(0,K.of)(!0);const S=v.map(P=>{const O=Nr(P,u);return In(function ie(u){return u&&Yr(u.canLoad)}(O)?O.canLoad(d,l):u.runInContext(()=>O(d,l)))});return(0,K.of)(S).pipe(xr(),Cs())}(d,l,h).pipe((0,j.z)(v=>v?this.configLoader.loadChildren(d,l).pipe(ze(S=>{l._loadedRoutes=S.routes,l._loadedInjector=S.injector})):function wt(u){return ae(_s(Se,3))}())):(0,K.of)({routes:[],injector:d})}lineralizeSegments(d,l){let h=[],v=l.root;for(;;){if(h=h.concat(v.segments),0===v.numberOfChildren)return(0,K.of)(h);if(v.numberOfChildren>1||!v.children[st])return ae(new E.vHH(4e3,Se));v=v.children[st]}}applyRedirectCommands(d,l,h){return this.applyRedirectCreateUrlTree(l,this.urlSerializer.parse(l),d,h)}applyRedirectCreateUrlTree(d,l,h,v){const S=this.createSegmentGroup(d,l.root,h,v);return new xn(S,this.createQueryParams(l.queryParams,this.urlTree.queryParams),l.fragment)}createQueryParams(d,l){const h={};return zt(d,(v,S)=>{if("string"==typeof v&&v.startsWith(":")){const O=v.substring(1);h[S]=l[O]}else h[S]=v}),h}createSegmentGroup(d,l,h,v){const S=this.createSegments(d,l.segments,h,v);let P={};return zt(l.children,(O,W)=>{P[W]=this.createSegmentGroup(d,O,h,v)}),new Re(S,P)}createSegments(d,l,h,v){return l.map(S=>S.path.startsWith(":")?this.findPosParam(d,S,v):this.findOrReturn(S,h))}findPosParam(d,l,h){const v=h[l.path.substring(1)];if(!v)throw new E.vHH(4001,Se);return v}findOrReturn(d,l){let h=0;for(const v of l){if(v.path===d.path)return l.splice(h),v;h++}return d}}class Fr{}class c{constructor(d,l,h,v,S,P,O,W){this.injector=d,this.rootComponentType=l,this.config=h,this.urlTree=v,this.url=S,this.paramsInheritanceStrategy=P,this.relativeLinkResolution=O,this.urlSerializer=W}recognize(){const d=qr(this.urlTree.root,[],[],this.config.filter(l=>void 0===l.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,d,st).pipe((0,q.U)(l=>{if(null===l)return null;const h=new Ki([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},st,this.rootComponentType,null,this.urlTree.root,-1,{}),v=new yr(h,l),S=new ks(this.url,v);return this.inheritParamsAndData(S._root),S}))}inheritParamsAndData(d){const l=d.value,h=Wi(l,this.paramsInheritanceStrategy);l.params=Object.freeze(h.params),l.data=Object.freeze(h.data),d.children.forEach(v=>this.inheritParamsAndData(v))}processSegmentGroup(d,l,h,v){return 0===h.segments.length&&h.hasChildren()?this.processChildren(d,l,h):this.processSegment(d,l,h,h.segments,v)}processChildren(d,l,h){return(0,R.D)(Object.keys(h.children)).pipe(Xe(v=>{const S=h.children[v],P=Zi(l,v);return this.processSegmentGroup(d,P,S,v)}),nn((v,S)=>v&&S?(v.push(...S),v):null),function On(u,d=!1){return(0,xe.e)((l,h)=>{let v=0;l.subscribe((0,Ye.x)(h,S=>{const P=u(S,v++);(P||d)&&h.next(S),!P&&h.complete()}))})}(v=>null!==v),z(null),Ot(),(0,q.U)(v=>{if(null===v)return null;const S=F(v);return function y(u){u.sort((d,l)=>d.value.outlet===st?-1:l.value.outlet===st?1:d.value.outlet.localeCompare(l.value.outlet))}(S),S}))}processSegment(d,l,h,v,S){return(0,R.D)(l).pipe(Xe(P=>this.processSegmentAgainstRoute(P._injector??d,P,h,v,S)),ge(P=>!!P),Ht(P=>{if(qt(P))return ne(h,v,S)?(0,K.of)([]):(0,K.of)(null);throw P}))}processSegmentAgainstRoute(d,l,h,v,S){if(l.redirectTo||!Y(l,h,v,S))return(0,K.of)(null);let P;if("**"===l.path){const O=v.length>0?Tr(v).parameters:{},W=X(h)+v.length,ce=new Ki(v,O,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ae(l),Lt(l),l.component??l._loadedComponent??null,l,H(h),W,ot(l),W);P=(0,K.of)({snapshot:ce,consumedSegments:[],remainingSegments:[]})}else P=Us(h,l,v,d).pipe((0,q.U)(({matched:O,consumedSegments:W,remainingSegments:ce,parameters:je})=>{if(!O)return null;const be=X(h)+W.length;return{snapshot:new Ki(W,je,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ae(l),Lt(l),l.component??l._loadedComponent??null,l,H(h),be,ot(l),be),consumedSegments:W,remainingSegments:ce}}));return P.pipe(Qe(O=>{if(null===O)return(0,K.of)(null);const{snapshot:W,consumedSegments:ce,remainingSegments:je}=O;d=l._injector??d;const be=l._loadedInjector??d,St=function C(u){return u.children?u.children:u.loadChildren?u._loadedRoutes:[]}(l),{segmentGroup:lr,slicedSegments:Zr}=qr(h,ce,je,St.filter(kr=>void 0===kr.redirectTo),this.relativeLinkResolution);if(0===Zr.length&&lr.hasChildren())return this.processChildren(be,St,lr).pipe((0,q.U)(kr=>null===kr?null:[new yr(W,kr)]));if(0===St.length&&0===Zr.length)return(0,K.of)([new yr(W,[])]);const is=Lt(l)===S;return this.processSegment(be,St,lr,Zr,is?st:S).pipe((0,q.U)(kr=>null===kr?null:[new yr(W,kr)]))}))}}function T(u){const d=u.value.routeConfig;return d&&""===d.path&&void 0===d.redirectTo}function F(u){const d=[],l=new Set;for(const h of u){if(!T(h)){d.push(h);continue}const v=d.find(S=>h.value.routeConfig===S.value.routeConfig);void 0!==v?(v.children.push(...h.children),l.add(v)):d.push(h)}for(const h of l){const v=F(h.children);d.push(new yr(h.value,v))}return d.filter(h=>!l.has(h))}function H(u){let d=u;for(;d._sourceSegment;)d=d._sourceSegment;return d}function X(u){let d=u,l=d._segmentIndexShift??0;for(;d._sourceSegment;)d=d._sourceSegment,l+=d._segmentIndexShift??0;return l-1}function Ae(u){return u.data||{}}function ot(u){return u.resolve||{}}function gn(u){return"string"==typeof u.title||null===u.title}function Qt(u){return Qe(d=>{const l=u(d);return l?(0,R.D)(l).pipe((0,q.U)(()=>d)):(0,K.of)(d)})}let Sr=(()=>{class u{buildTitle(l){let h,v=l.root;for(;void 0!==v;)h=this.getResolvedTitleForRoute(v)??h,v=v.children.find(S=>S.outlet===st);return h}getResolvedTitleForRoute(l){return l.data[hi]}}return u.\u0275fac=function(l){return new(l||u)},u.\u0275prov=E.Yz7({token:u,factory:function(){return(0,E.f3M)(qn)},providedIn:"root"}),u})(),qn=(()=>{class u extends Sr{constructor(l){super(),this.title=l}updateTitle(l){const h=this.buildTitle(l);void 0!==h&&this.title.setTitle(h)}}return u.\u0275fac=function(l){return new(l||u)(E.LFG(Ct.Dx))},u.\u0275prov=E.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();class kn{}class Bn extends class Lr{shouldDetach(d){return!1}store(d,l){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,l){return d.routeConfig===l.routeConfig}}{}const sr=new E.OlP("",{providedIn:"root",factory:()=>({})}),ts=new E.OlP("ROUTES");let ns=(()=>{class u{constructor(l,h){this.injector=l,this.compiler=h,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(l){if(this.componentLoaders.get(l))return this.componentLoaders.get(l);if(l._loadedComponent)return(0,K.of)(l._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(l);const h=In(l.loadComponent()).pipe(ze(S=>{this.onLoadEndListener&&this.onLoadEndListener(l),l._loadedComponent=S}),$t(()=>{this.componentLoaders.delete(l)})),v=new Me(h,()=>new _e.x).pipe(bt());return this.componentLoaders.set(l,v),v}loadChildren(l,h){if(this.childrenLoaders.get(h))return this.childrenLoaders.get(h);if(h._loadedRoutes)return(0,K.of)({routes:h._loadedRoutes,injector:h._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(h);const S=this.loadModuleFactoryOrRoutes(h.loadChildren).pipe((0,q.U)(O=>{this.onLoadEndListener&&this.onLoadEndListener(h);let W,ce,je=!1;Array.isArray(O)?ce=O:(W=O.create(l).injector,ce=Jt(W.get(ts,[],E.XFs.Self|E.XFs.Optional)));return{routes:ce.map(Dr),injector:W}}),$t(()=>{this.childrenLoaders.delete(h)})),P=new Me(S,()=>new _e.x).pipe(bt());return this.childrenLoaders.set(h,P),P}loadModuleFactoryOrRoutes(l){return In(l()).pipe((0,j.z)(h=>h instanceof E.YKP||Array.isArray(h)?(0,K.of)(h):(0,R.D)(this.compiler.compileModuleAsync(h))))}}return u.\u0275fac=function(l){return new(l||u)(E.LFG(E.zs3),E.LFG(E.Sil))},u.\u0275prov=E.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();class Ne{}class Oe{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,l){return d}}function mt(u){throw u}function Zt(u,d,l){return d.parse("/")}const Qn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},bn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Bt(){const u=(0,E.f3M)(er),d=(0,E.f3M)(zr),l=(0,E.f3M)(pe.Ye),h=(0,E.f3M)(E.zs3),v=(0,E.f3M)(E.Sil),S=(0,E.f3M)(ts,{optional:!0})??[],P=(0,E.f3M)(sr,{optional:!0})??{},O=(0,E.f3M)(qn),W=(0,E.f3M)(Sr,{optional:!0}),ce=(0,E.f3M)(Ne,{optional:!0}),je=(0,E.f3M)(kn,{optional:!0}),be=new tn(null,u,d,l,h,v,Jt(S));return ce&&(be.urlHandlingStrategy=ce),je&&(be.routeReuseStrategy=je),be.titleStrategy=W??O,function or(u,d){u.errorHandler&&(d.errorHandler=u.errorHandler),u.malformedUriErrorHandler&&(d.malformedUriErrorHandler=u.malformedUriErrorHandler),u.onSameUrlNavigation&&(d.onSameUrlNavigation=u.onSameUrlNavigation),u.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=u.paramsInheritanceStrategy),u.relativeLinkResolution&&(d.relativeLinkResolution=u.relativeLinkResolution),u.urlUpdateStrategy&&(d.urlUpdateStrategy=u.urlUpdateStrategy),u.canceledNavigationResolution&&(d.canceledNavigationResolution=u.canceledNavigationResolution)}(P,be),be}let tn=(()=>{class u{constructor(l,h,v,S,P,O,W){this.rootComponentType=l,this.urlSerializer=h,this.rootContexts=v,this.location=S,this.config=W,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new _e.x,this.errorHandler=mt,this.malformedUriErrorHandler=Zt,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,K.of)(void 0),this.urlHandlingStrategy=new Oe,this.routeReuseStrategy=new Bn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=P.get(ns),this.configLoader.onLoadEndListener=St=>this.triggerEvent(new Ei(St)),this.configLoader.onLoadStartListener=St=>this.triggerEvent(new En(St)),this.ngModule=P.get(E.h0i),this.console=P.get(E.c2e);const be=P.get(E.R0b);this.isNgZoneEnabled=be instanceof E.R0b&&E.R0b.isInAngularZone(),this.resetConfig(W),this.currentUrlTree=function dr(){return new xn(new Re([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Ls(this.currentUrlTree,this.rootComponentType),this.transitions=new ee.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(){return this.location.getState()?.\u0275routerPageId}setupNavigations(l){const h=this.events;return l.pipe((0,$e.h)(v=>0!==v.id),(0,q.U)(v=>({...v,extractedUrl:this.urlHandlingStrategy.extract(v.rawUrl)})),Qe(v=>{let S=!1,P=!1;return(0,K.of)(v).pipe(ze(O=>{this.currentNavigation={id:O.id,initialUrl:O.rawUrl,extractedUrl:O.extractedUrl,trigger:O.source,extras:O.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Qe(O=>{const W=this.browserUrlTree.toString(),ce=!this.navigated||O.extractedUrl.toString()!==W||W!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||ce)&&this.urlHandlingStrategy.shouldProcessUrl(O.rawUrl))return on(O.source)&&(this.browserUrlTree=O.extractedUrl),(0,K.of)(O).pipe(Qe(be=>{const St=this.transitions.getValue();return h.next(new Wn(be.id,this.serializeUrl(be.extractedUrl),be.source,be.restoredState)),St!==this.transitions.getValue()?ke.E:Promise.resolve(be)}),function ir(u,d,l,h){return Qe(v=>function ht(u,d,l,h,v){return new Qr(u,d,l,h,v).apply()}(u,d,l,v.extractedUrl,h).pipe((0,q.U)(S=>({...v,urlAfterRedirects:S}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),ze(be=>{this.currentNavigation={...this.currentNavigation,finalUrl:be.urlAfterRedirects},v.urlAfterRedirects=be.urlAfterRedirects}),function at(u,d,l,h,v,S){return(0,j.z)(P=>function o(u,d,l,h,v,S,P="emptyOnly",O="legacy"){return new c(u,d,l,h,v,P,O,S).recognize().pipe(Qe(W=>null===W?function _(u){return new Ee.y(d=>d.error(u))}(new Fr):(0,K.of)(W)))}(u,d,l,P.urlAfterRedirects,h.serialize(P.urlAfterRedirects),h,v,S).pipe((0,q.U)(O=>({...P,targetSnapshot:O}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),ze(be=>{if(v.targetSnapshot=be.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!be.extras.skipLocationChange){const lr=this.urlHandlingStrategy.merge(be.urlAfterRedirects,be.rawUrl);this.setBrowserUrl(lr,be)}this.browserUrlTree=be.urlAfterRedirects}const St=new en(be.id,this.serializeUrl(be.extractedUrl),this.serializeUrl(be.urlAfterRedirects),be.targetSnapshot);h.next(St)}));if(ce&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:St,extractedUrl:lr,source:Zr,restoredState:is,extras:kr}=O,Sa=new Wn(St,this.serializeUrl(lr),Zr,is);h.next(Sa);const Ys=Ls(lr,this.rootComponentType).snapshot;return v={...O,targetSnapshot:Ys,urlAfterRedirects:lr,extras:{...kr,skipLocationChange:!1,replaceUrl:!1}},(0,K.of)(v)}return this.rawUrlTree=O.rawUrl,O.resolve(null),ke.E}),ze(O=>{const W=new io(O.id,this.serializeUrl(O.extractedUrl),this.serializeUrl(O.urlAfterRedirects),O.targetSnapshot);this.triggerEvent(W)}),(0,q.U)(O=>v={...O,guards:tt(O.targetSnapshot,O.currentSnapshot,this.rootContexts)}),function oo(u,d){return(0,j.z)(l=>{const{targetSnapshot:h,currentSnapshot:v,guards:{canActivateChecks:S,canDeactivateChecks:P}}=l;return 0===P.length&&0===S.length?(0,K.of)({...l,guardsResult:!0}):function ao(u,d,l,h){return(0,R.D)(u).pipe((0,j.z)(v=>function ii(u,d,l,h,v){const S=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!S||0===S.length)return(0,K.of)(!0);const P=S.map(O=>{const W=_r(d)??v,ce=Nr(O,W);return In(function es(u){return u&&Yr(u.canDeactivate)}(ce)?ce.canDeactivate(u,d,l,h):W.runInContext(()=>ce(u,d,l,h))).pipe(ge())});return(0,K.of)(P).pipe(xr())}(v.component,v.route,l,d,h)),ge(v=>!0!==v,!0))}(P,h,v,u).pipe((0,j.z)(O=>O&&function $s(u){return"boolean"==typeof u}(O)?function lo(u,d,l,h){return(0,R.D)(d).pipe(Xe(v=>(0,Le.z)(function Sn(u,d){return null!==u&&d&&d(new wn(u)),(0,K.of)(!0)}(v.route.parent,h),function Ni(u,d){return null!==u&&d&&d(new xs(u)),(0,K.of)(!0)}(v.route,h),function Oi(u,d,l){const h=d[d.length-1],S=d.slice(0,d.length-1).reverse().map(P=>function Ln(u){const d=u.routeConfig?u.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:u,guards:d}:null}(P)).filter(P=>null!==P).map(P=>re(()=>{const O=P.guards.map(W=>{const ce=_r(P.node)??l,je=Nr(W,ce);return In(function Ji(u){return u&&Yr(u.canActivateChild)}(je)?je.canActivateChild(h,u):ce.runInContext(()=>je(h,u))).pipe(ge())});return(0,K.of)(O).pipe(xr())}));return(0,K.of)(S).pipe(xr())}(u,v.path,l),function Cr(u,d,l){const h=d.routeConfig?d.routeConfig.canActivate:null;if(!h||0===h.length)return(0,K.of)(!0);const v=h.map(S=>re(()=>{const P=_r(d)??l,O=Nr(S,P);return In(function pt(u){return u&&Yr(u.canActivate)}(O)?O.canActivate(d,u):P.runInContext(()=>O(d,u))).pipe(ge())}));return(0,K.of)(v).pipe(xr())}(u,v.route,l))),ge(v=>!0!==v,!0))}(h,S,u,d):(0,K.of)(O)),(0,q.U)(O=>({...l,guardsResult:O})))})}(this.ngModule.injector,O=>this.triggerEvent(O)),ze(O=>{if(v.guardsResult=O.guardsResult,ue(O.guardsResult))throw Yi(0,O.guardsResult);const W=new Dn(O.id,this.serializeUrl(O.extractedUrl),this.serializeUrl(O.urlAfterRedirects),O.targetSnapshot,!!O.guardsResult);this.triggerEvent(W)}),(0,$e.h)(O=>!!O.guardsResult||(this.restoreHistory(O),this.cancelNavigationTransition(O,"",3),!1)),Qt(O=>{if(O.guards.canActivateChecks.length)return(0,K.of)(O).pipe(ze(W=>{const ce=new _n(W.id,this.serializeUrl(W.extractedUrl),this.serializeUrl(W.urlAfterRedirects),W.targetSnapshot);this.triggerEvent(ce)}),Qe(W=>{let ce=!1;return(0,K.of)(W).pipe(function qe(u,d){return(0,j.z)(l=>{const{targetSnapshot:h,guards:{canActivateChecks:v}}=l;if(!v.length)return(0,K.of)(l);let S=0;return(0,R.D)(v).pipe(Xe(P=>function rt(u,d,l,h){const v=u.routeConfig,S=u._resolve;return void 0!==v?.title&&!gn(v)&&(S[hi]=v.title),function Pt(u,d,l,h){const v=function kt(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===v.length)return(0,K.of)({});const S={};return(0,R.D)(v).pipe((0,j.z)(P=>function Kt(u,d,l,h){const v=_r(d)??h,S=Nr(u,v);return In(S.resolve?S.resolve(d,l):v.runInContext(()=>S(d,l)))}(u[P],d,l,h).pipe(ge(),ze(O=>{S[P]=O}))),Hn(1),function $n(u){return(0,q.U)(()=>u)}(S),Ht(P=>qt(P)?ke.E:ae(P)))}(S,u,d,h).pipe((0,q.U)(P=>(u._resolvedData=P,u.data=Wi(u,l).resolve,v&&gn(v)&&(u.data[hi]=v.title),null)))}(P.route,h,u,d)),ze(()=>S++),Hn(1),(0,j.z)(P=>S===v.length?(0,K.of)(l):ke.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),ze({next:()=>ce=!0,complete:()=>{ce||(this.restoreHistory(W),this.cancelNavigationTransition(W,"",2))}}))}),ze(W=>{const ce=new hs(W.id,this.serializeUrl(W.extractedUrl),this.serializeUrl(W.urlAfterRedirects),W.targetSnapshot);this.triggerEvent(ce)}))}),Qt(O=>{const W=ce=>{const je=[];ce.routeConfig?.loadComponent&&!ce.routeConfig._loadedComponent&&je.push(this.configLoader.loadComponent(ce.routeConfig).pipe(ze(be=>{ce.component=be}),(0,q.U)(()=>{})));for(const be of ce.children)je.push(...W(be));return je};return(0,me.a)(W(O.targetSnapshot.root)).pipe(z(),(0,se.q)(1))}),Qt(()=>this.afterPreactivation()),(0,q.U)(O=>{const W=function ko(u,d,l){const h=Cn(u,d._root,l?l._root:void 0);return new Fs(h,d)}(this.routeReuseStrategy,O.targetSnapshot,O.currentRouterState);return v={...O,targetRouterState:W}}),ze(O=>{this.currentUrlTree=O.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(O.urlAfterRedirects,O.rawUrl),this.routerState=O.targetRouterState,"deferred"===this.urlUpdateStrategy&&(O.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,O),this.browserUrlTree=O.urlAfterRedirects)}),((u,d,l)=>(0,q.U)(h=>(new Er(d,h.targetRouterState,h.currentRouterState,l).activate(u),h)))(this.rootContexts,this.routeReuseStrategy,O=>this.triggerEvent(O)),ze({next(){S=!0},complete(){S=!0}}),$t(()=>{S||P||this.cancelNavigationTransition(v,"",1),this.currentNavigation?.id===v.id&&(this.currentNavigation=null)}),Ht(O=>{if(P=!0,Ai(O)){Bs(O)||(this.navigated=!0,this.restoreHistory(v,!0));const W=new Ar(v.id,this.serializeUrl(v.extractedUrl),O.message,O.cancellationCode);if(h.next(W),Bs(O)){const ce=this.urlHandlingStrategy.merge(O.url,this.rawUrlTree),je={skipLocationChange:v.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||on(v.source)};this.scheduleNavigation(ce,"imperative",null,je,{resolve:v.resolve,reject:v.reject,promise:v.promise})}else v.resolve(!1)}else{this.restoreHistory(v,!0);const W=new Pr(v.id,this.serializeUrl(v.extractedUrl),O,v.targetSnapshot??void 0);h.next(W);try{v.resolve(this.errorHandler(O))}catch(ce){v.reject(ce)}}return ke.E}))}))}resetRootComponentType(l){this.rootComponentType=l,this.routerState.root.component=this.rootComponentType}setTransition(l){this.transitions.next({...this.transitions.value,...l})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(l=>{const h="popstate"===l.type?"popstate":"hashchange";"popstate"===h&&setTimeout(()=>{const v={replaceUrl:!0},S=l.state?.navigationId?l.state:null;if(S){const O={...S};delete O.navigationId,delete O.\u0275routerPageId,0!==Object.keys(O).length&&(v.state=O)}const P=this.parseUrl(l.url);this.scheduleNavigation(P,h,S,v)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(l){this.events.next(l)}resetConfig(l){this.config=l.map(Dr),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(l,h={}){const{relativeTo:v,queryParams:S,fragment:P,queryParamsHandling:O,preserveFragment:W}=h,ce=v||this.routerState.root,je=W?this.currentUrlTree.fragment:P;let be=null;switch(O){case"merge":be={...this.currentUrlTree.queryParams,...S};break;case"preserve":be=this.currentUrlTree.queryParams;break;default:be=S||null}return null!==be&&(be=this.removeEmptyProps(be)),Yt(ce,this.currentUrlTree,l,be,je??null)}navigateByUrl(l,h={skipLocationChange:!1}){const v=ue(l)?l:this.parseUrl(l),S=this.urlHandlingStrategy.merge(v,this.rawUrlTree);return this.scheduleNavigation(S,"imperative",null,h)}navigate(l,h={skipLocationChange:!1}){return function uo(u){for(let d=0;d<u.length;d++){if(null==u[d])throw new E.vHH(4008,false)}}(l),this.navigateByUrl(this.createUrlTree(l,h),h)}serializeUrl(l){return this.urlSerializer.serialize(l)}parseUrl(l){let h;try{h=this.urlSerializer.parse(l)}catch(v){h=this.malformedUriErrorHandler(v,this.urlSerializer,l)}return h}isActive(l,h){let v;if(v=!0===h?{...Qn}:!1===h?{...bn}:h,ue(l))return Be(this.currentUrlTree,l,v);const S=this.parseUrl(l);return Be(this.currentUrlTree,S,v)}removeEmptyProps(l){return Object.keys(l).reduce((h,v)=>{const S=l[v];return null!=S&&(h[v]=S),h},{})}processNavigations(){this.navigations.subscribe(l=>{this.navigated=!0,this.lastSuccessfulId=l.id,this.currentPageId=l.targetPageId,this.events.next(new vn(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),l.resolve(!0)},l=>{this.console.warn(`Unhandled Navigation Error: ${l}`)})}scheduleNavigation(l,h,v,S,P){if(this.disposed)return Promise.resolve(!1);let O,W,ce;P?(O=P.resolve,W=P.reject,ce=P.promise):ce=new Promise((St,lr)=>{O=St,W=lr});const je=++this.navigationId;let be;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(v=this.location.getState()),be=v&&v.\u0275routerPageId?v.\u0275routerPageId:S.replaceUrl||S.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):be=0,this.setTransition({id:je,targetPageId:be,source:h,restoredState:v,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:l,extras:S,resolve:O,reject:W,promise:ce,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ce.catch(St=>Promise.reject(St))}setBrowserUrl(l,h){const v=this.urlSerializer.serialize(l),S={...h.extras.state,...this.generateNgRouterState(h.id,h.targetPageId)};this.location.isCurrentPathEqualTo(v)||h.extras.replaceUrl?this.location.replaceState(v,"",S):this.location.go(v,"",S)}restoreHistory(l,h=!1){if("computed"===this.canceledNavigationResolution){const v=this.currentPageId-l.targetPageId;"popstate"!==l.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===v?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===v&&(this.resetState(l),this.browserUrlTree=l.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(v)}else"replace"===this.canceledNavigationResolution&&(h&&this.resetState(l),this.resetUrlToCurrentUrlTree())}resetState(l){this.routerState=l.currentRouterState,this.currentUrlTree=l.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,l.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(l,h,v){const S=new Ar(l.id,this.serializeUrl(l.extractedUrl),h,v);this.triggerEvent(S),l.resolve(!1)}generateNgRouterState(l,h){return"computed"===this.canceledNavigationResolution?{navigationId:l,\u0275routerPageId:h}:{navigationId:l}}}return u.\u0275fac=function(l){E.$Z()},u.\u0275prov=E.Yz7({token:u,factory:function(){return Bt()},providedIn:"root"}),u})();function on(u){return"imperative"!==u}let ar=(()=>{class u{constructor(l,h,v,S,P){this.router=l,this.route=h,this.tabIndexAttribute=v,this.renderer=S,this.el=P,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new _e.x,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(l){this._preserveFragment=(0,E.D6c)(l)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(l){this._skipLocationChange=(0,E.D6c)(l)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(l){this._replaceUrl=(0,E.D6c)(l)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(l){if(null!=this.tabIndexAttribute)return;const h=this.renderer,v=this.el.nativeElement;null!==l?h.setAttribute(v,"tabindex",l):h.removeAttribute(v,"tabindex")}ngOnChanges(l){this.onChanges.next(this)}set routerLink(l){null!=l?(this.commands=Array.isArray(l)?l:[l],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return u.\u0275fac=function(l){return new(l||u)(E.Y36(tn),E.Y36(vr),E.$8M("tabindex"),E.Y36(E.Qsj),E.Y36(E.SBq))},u.\u0275dir=E.lG2({type:u,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(l,h){1&l&&E.NdJ("click",function(){return h.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[E.TTD]}),u})();class Ca{}let Ts=(()=>{class u{constructor(l,h,v,S,P){this.router=l,this.injector=v,this.preloadingStrategy=S,this.loader=P}setUpPreloading(){this.subscription=this.router.events.pipe((0,$e.h)(l=>l instanceof vn),Xe(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(l,h){const v=[];for(const S of h){S.providers&&!S._injector&&(S._injector=(0,E.MMx)(S.providers,l,`Route: ${S.path}`));const P=S._injector??l,O=S._loadedInjector??P;S.loadChildren&&!S._loadedRoutes&&void 0===S.canLoad||S.loadComponent&&!S._loadedComponent?v.push(this.preloadConfig(P,S)):(S.children||S._loadedRoutes)&&v.push(this.processRoutes(O,S.children??S._loadedRoutes))}return(0,R.D)(v).pipe((0,Ut.J)())}preloadConfig(l,h){return this.preloadingStrategy.preload(h,()=>{let v;v=h.loadChildren&&void 0===h.canLoad?this.loader.loadChildren(l,h):(0,K.of)(null);const S=v.pipe((0,j.z)(P=>null===P?(0,K.of)(void 0):(h._loadedRoutes=P.routes,h._loadedInjector=P.injector,this.processRoutes(P.injector??l,P.routes))));if(h.loadComponent&&!h._loadedComponent){const P=this.loader.loadComponent(h);return(0,R.D)([S,P]).pipe((0,Ut.J)())}return S})}}return u.\u0275fac=function(l){return new(l||u)(E.LFG(tn),E.LFG(E.Sil),E.LFG(E.lqb),E.LFG(Ca),E.LFG(ns))},u.\u0275prov=E.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();const Vo=new E.OlP("");let Ho=(()=>{class u{constructor(l,h,v={}){this.router=l,this.viewportScroller=h,this.options=v,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},v.scrollPositionRestoration=v.scrollPositionRestoration||"disabled",v.anchorScrolling=v.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(l=>{l instanceof Wn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=l.navigationTrigger,this.restoredId=l.restoredState?l.restoredState.navigationId:0):l instanceof vn&&(this.lastId=l.id,this.scheduleScrollEvent(l,this.router.parseUrl(l.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(l=>{l instanceof gs&&(l.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(l.position):l.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(l.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(l,h){this.router.triggerEvent(new gs(l,"popstate"===this.lastSource?this.store[this.restoredId]:null,h))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return u.\u0275fac=function(l){E.$Z()},u.\u0275prov=E.Yz7({token:u,factory:u.\u0275fac}),u})();function Fi(u,d){return{\u0275kind:u,\u0275providers:d}}function Li(u){return[{provide:ts,multi:!0,useValue:u}]}function rs(){const u=(0,E.f3M)(E.zs3);return d=>{const l=u.get(E.z2F);if(d!==l.components[0])return;const h=u.get(tn),v=u.get(Uo);1===u.get(Gs)&&h.initialNavigation(),u.get(xt,null,E.XFs.Optional)?.setUpPreloading(),u.get(Vo,null,E.XFs.Optional)?.init(),h.resetRootComponentType(l.componentTypes[0]),v.next(),v.complete()}}const Uo=new E.OlP("",{factory:()=>new _e.x}),Gs=new E.OlP("",{providedIn:"root",factory:()=>1});const xt=new E.OlP("");function Vc(u){return Fi(0,[{provide:xt,useExisting:Ts},{provide:Ca,useExisting:u}])}const yl=new E.OlP("ROUTER_FORROOT_GUARD"),Hc=[pe.Ye,{provide:er,useClass:ut},{provide:tn,useFactory:Bt},zr,{provide:vr,useFactory:function $o(u){return u.routerState.root},deps:[tn]},ns];function $c(){return new E.PXZ("Router",tn)}let Ws=(()=>{class u{constructor(l){}static forRoot(l,h){return{ngModule:u,providers:[Hc,[],Li(l),{provide:yl,useFactory:Go,deps:[[tn,new E.FiY,new E.tp0]]},{provide:sr,useValue:h||{}},h?.useHash?{provide:pe.S$,useClass:pe.Do}:{provide:pe.S$,useClass:pe.b0},{provide:Vo,useFactory:()=>{const u=(0,E.f3M)(tn),d=(0,E.f3M)(pe.EM),l=(0,E.f3M)(sr);return l.scrollOffset&&d.setOffset(l.scrollOffset),new Ho(u,d,l)}},h?.preloadingStrategy?Vc(h.preloadingStrategy).\u0275providers:[],{provide:E.PXZ,multi:!0,useFactory:$c},h?.initialNavigation?Ks(h):[],[{provide:vl,useFactory:rs},{provide:E.tb,multi:!0,useExisting:vl}]]}}static forChild(l){return{ngModule:u,providers:[Li(l)]}}}return u.\u0275fac=function(l){return new(l||u)(E.LFG(yl,8))},u.\u0275mod=E.oAB({type:u}),u.\u0275inj=E.cJS({imports:[qi]}),u})();function Go(u){return"guarded"}function Ks(u){return["disabled"===u.initialNavigation?Fi(3,[{provide:E.ip1,multi:!0,useFactory:()=>{const d=(0,E.f3M)(tn);return()=>{d.setUpLocationChangeListener()}}},{provide:Gs,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?Fi(2,[{provide:Gs,useValue:0},{provide:E.ip1,multi:!0,deps:[E.zs3],useFactory:d=>{const l=d.get(pe.V_,Promise.resolve());let h=!1;return()=>l.then(()=>new Promise(S=>{const P=d.get(tn),O=d.get(Uo);(function v(S){d.get(tn).events.pipe((0,$e.h)(O=>O instanceof vn||O instanceof Ar||O instanceof Pr),(0,q.U)(O=>O instanceof vn||O instanceof Ar&&(0===O.code||1===O.code)&&null),(0,$e.h)(O=>null!==O),(0,se.q)(1)).subscribe(()=>{S()})})(()=>{S(!0),h=!0}),P.afterPreactivation=()=>(S(!0),h||O.closed?(0,K.of)(void 0):O),P.initialNavigation()}))}}]).\u0275providers:[]]}const vl=new E.OlP("")}},et=>{et(et.s=7176)}]);
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。