receiptfeedback 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkfeedback=self.webpackChunkfeedback||[]).push([[179],{469:(ut,_e,A)=>{var o=A(6593),N=A(8926),pe=A(9862),j=A(95),F=A(9229),ne=A(3989);let we=(()=>{var E;class a{constructor(){}}return(E=a).\u0275fac=function(m){return new(m||E)},E.\u0275cmp=N.Xpm({type:E,selectors:[["app-root"]],decls:1,vars:0,template:function(m,M){1&m&&N._UZ(0,"router-outlet")},dependencies:[ne.lC],encapsulation:2}),a})();const Me=[{path:"",component:we,children:[{path:"",pathMatch:"full",redirectTo:""},{path:"",loadComponent:()=>Promise.all([A.e(592),A.e(609)]).then(A.bind(A,2609)).then(E=>E.ReceiptComponent)},{path:"feedback",loadComponent:()=>Promise.all([A.e(592),A.e(180)]).then(A.bind(A,1180)).then(E=>E.FeedbackComponent)},{path:"not-found",loadComponent:()=>A.e(530).then(A.bind(A,5530)).then(E=>E.NotFoundComponent)}]}];let Te=(()=>{var E;class a{}return(E=a).\u0275fac=function(m){return new(m||E)},E.\u0275mod=N.oAB({type:E}),E.\u0275inj=N.cJS({imports:[ne.Bz.forRoot(Me),ne.Bz]}),a})();var se=A(6825);function xe(E){return new N.vHH(3e3,!1)}function dt(E){switch(E.length){case 0:return new se.ZN;case 1:return E[0];default:return new se.ZE(E)}}function hn(E,a,c=new Map,m=new Map){const M=[],O=[];let H=-1,U=null;if(a.forEach(Q=>{const fe=Q.get("offset"),tt=fe==H,Ze=tt&&U||new Map;Q.forEach((Lt,$t)=>{let _t=$t,kt=Lt;if("offset"!==$t)switch(_t=E.normalizePropertyName(_t,M),kt){case se.k1:kt=c.get($t);break;case se.l3:kt=m.get($t);break;default:kt=E.normalizeStyleValue($t,_t,kt,M)}Ze.set(_t,kt)}),tt||O.push(Ze),U=Ze,H=fe}),M.length)throw function te(E){return new N.vHH(3502,!1)}();return O}function ft(E,a,c,m){switch(a){case"start":E.onStart(()=>m(c&&On(c,"start",E)));break;case"done":E.onDone(()=>m(c&&On(c,"done",E)));break;case"destroy":E.onDestroy(()=>m(c&&On(c,"destroy",E)))}}function On(E,a,c){const O=Dn(E.element,E.triggerName,E.fromState,E.toState,a||E.phaseName,c.totalTime??E.totalTime,!!c.disabled),H=E._data;return null!=H&&(O._data=H),O}function Dn(E,a,c,m,M="",O=0,H){return{element:E,triggerName:a,fromState:c,toState:m,phaseName:M,totalTime:O,disabled:!!H}}function cn(E,a,c){let m=E.get(a);return m||E.set(a,m=c),m}function ot(E){const a=E.indexOf(":");return[E.substring(1,a),E.slice(a+1)]}const Pn=(()=>typeof document>"u"?null:document.documentElement)();function Wn(E){const a=E.parentNode||E.host||null;return a===Pn?null:a}let pn=null,Ot=!1;function Cn(E,a){for(;a;){if(a===E)return!0;a=Wn(a)}return!1}function rr(E,a,c){if(c)return Array.from(E.querySelectorAll(a));const m=E.querySelector(a);return m?[m]:[]}let as=(()=>{var E;class a{validateStyleProperty(m){return function bt(E){pn||(pn=function Tt(){return typeof document<"u"?document.body:null}()||{},Ot=!!pn.style&&"WebkitAppearance"in pn.style);let a=!0;return pn.style&&!function bn(E){return"ebkit"==E.substring(1,6)}(E)&&(a=E in pn.style,!a&&Ot&&(a="Webkit"+E.charAt(0).toUpperCase()+E.slice(1)in pn.style)),a}(m)}matchesElement(m,M){return!1}containsElement(m,M){return Cn(m,M)}getParentElement(m){return Wn(m)}query(m,M,O){return rr(m,M,O)}computeStyle(m,M,O){return O||""}animate(m,M,O,H,U,Q=[],fe){return new se.ZN(O,H)}}return(E=a).\u0275fac=function(m){return new(m||E)},E.\u0275prov=N.Yz7({token:E,factory:E.\u0275fac}),a})(),gn=(()=>{class a{}return a.NOOP=new as,a})();const mn=1e3,pr="ng-enter",Zn="ng-leave",Bn="ng-trigger",St=".ng-trigger",Hn="ng-animating",Lr=".ng-animating";function Fn(E){if("number"==typeof E)return E;const a=E.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:sr(parseFloat(a[1]),a[2])}function sr(E,a){return"s"===a?E*mn:E}function Qn(E,a,c){return E.hasOwnProperty("duration")?E:function wr(E,a,c){let M,O=0,H="";if("string"==typeof E){const U=E.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===U)return a.push(xe()),{duration:0,delay:0,easing:""};M=sr(parseFloat(U[1]),U[2]);const Q=U[3];null!=Q&&(O=sr(parseFloat(Q),U[4]));const fe=U[5];fe&&(H=fe)}else M=E;if(!c){let U=!1,Q=a.length;M<0&&(a.push(function Qe(){return new N.vHH(3100,!1)}()),U=!0),O<0&&(a.push(function Ee(){return new N.vHH(3101,!1)}()),U=!0),U&&a.splice(Q,0,xe())}return{duration:M,delay:O,easing:H}}(E,a,c)}function br(E,a={}){return Object.keys(E).forEach(c=>{a[c]=E[c]}),a}function Jn(E){const a=new Map;return Object.keys(E).forEach(c=>{a.set(c,E[c])}),a}function ce(E,a=new Map,c){if(c)for(let[m,M]of c)a.set(m,M);for(let[m,M]of E)a.set(m,M);return a}function z(E,a,c){a.forEach((m,M)=>{const O=W(M);c&&!c.has(M)&&c.set(M,E.style[O]),E.style[O]=m})}function ee(E,a){a.forEach((c,m)=>{const M=W(m);E.style[M]=""})}function Pe(E){return Array.isArray(E)?1==E.length?E[0]:(0,se.vP)(E):E}const Ct=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ht(E){let a=[];if("string"==typeof E){let c;for(;c=Ct.exec(E);)a.push(c[1]);Ct.lastIndex=0}return a}function an(E,a,c){const m=E.toString(),M=m.replace(Ct,(O,H)=>{let U=a[H];return null==U&&(c.push(function ct(E){return new N.vHH(3003,!1)}()),U=""),U.toString()});return M==m?E:M}function Wt(E){const a=[];let c=E.next();for(;!c.done;)a.push(c.value),c=E.next();return a}const Yn=/-+([a-z0-9])/g;function W(E){return E.replace(Yn,(...a)=>a[1].toUpperCase())}function He(E,a,c){switch(a.type){case 7:return E.visitTrigger(a,c);case 0:return E.visitState(a,c);case 1:return E.visitTransition(a,c);case 2:return E.visitSequence(a,c);case 3:return E.visitGroup(a,c);case 4:return E.visitAnimate(a,c);case 5:return E.visitKeyframes(a,c);case 6:return E.visitStyle(a,c);case 8:return E.visitReference(a,c);case 9:return E.visitAnimateChild(a,c);case 10:return E.visitAnimateRef(a,c);case 11:return E.visitQuery(a,c);case 12:return E.visitStagger(a,c);default:throw function gt(E){return new N.vHH(3004,!1)}()}}function ze(E,a){return window.getComputedStyle(E)[a]}const En="*";function ir(E,a){const c=[];return"string"==typeof E?E.split(/\s*,\s*/).forEach(m=>function or(E,a,c){if(":"==E[0]){const Q=function ar(E,a){switch(E){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(c,m)=>parseFloat(m)>parseFloat(c);case":decrement":return(c,m)=>parseFloat(m)<parseFloat(c);default:return a.push(function $(E){return new N.vHH(3016,!1)}()),"* => *"}}(E,c);if("function"==typeof Q)return void a.push(Q);E=Q}const m=E.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==m||m.length<4)return c.push(function Le(E){return new N.vHH(3015,!1)}()),a;const M=m[1],O=m[2],H=m[3];a.push(lr(M,H));"<"==O[0]&&!(M==En&&H==En)&&a.push(lr(H,M))}(m,c,a)):c.push(E),c}const Bt=new Set(["true","1"]),Kt=new Set(["false","0"]);function lr(E,a){const c=Bt.has(E)||Kt.has(E),m=Bt.has(a)||Kt.has(a);return(M,O)=>{let H=E==En||E==M,U=a==En||a==O;return!H&&c&&"boolean"==typeof M&&(H=M?Bt.has(E):Kt.has(E)),!U&&m&&"boolean"==typeof O&&(U=O?Bt.has(a):Kt.has(a)),H&&U}}const dn=new RegExp("s*:selfs*,?","g");function Sr(E,a,c,m){return new ur(E).build(a,c,m)}class ur{constructor(a){this._driver=a}build(a,c,m){const M=new Zs(c);return this._resetContextStyleTimingState(M),He(this,Pe(a),M)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,c){let m=c.queryCount=0,M=c.depCount=0;const O=[],H=[];return"@"==a.name.charAt(0)&&c.errors.push(function Vt(){return new N.vHH(3006,!1)}()),a.definitions.forEach(U=>{if(this._resetContextStyleTimingState(c),0==U.type){const Q=U,fe=Q.name;fe.toString().split(/\s*,\s*/).forEach(tt=>{Q.name=tt,O.push(this.visitState(Q,c))}),Q.name=fe}else if(1==U.type){const Q=this.visitTransition(U,c);m+=Q.queryCount,M+=Q.depCount,H.push(Q)}else c.errors.push(function Ae(){return new N.vHH(3007,!1)}())}),{type:7,name:a.name,states:O,transitions:H,queryCount:m,depCount:M,options:null}}visitState(a,c){const m=this.visitStyle(a.styles,c),M=a.options&&a.options.params||null;if(m.containsDynamicStyles){const O=new Set,H=M||{};m.styles.forEach(U=>{U instanceof Map&&U.forEach(Q=>{Ht(Q).forEach(fe=>{H.hasOwnProperty(fe)||O.add(fe)})})}),O.size&&(Wt(O.values()),c.errors.push(function X(E,a){return new N.vHH(3008,!1)}()))}return{type:0,name:a.name,style:m,options:M?{params:M}:null}}visitTransition(a,c){c.queryCount=0,c.depCount=0;const m=He(this,Pe(a.animation),c);return{type:1,matchers:ir(a.expr,c.errors),animation:m,queryCount:c.queryCount,depCount:c.depCount,options:kr(a.options)}}visitSequence(a,c){return{type:2,steps:a.steps.map(m=>He(this,m,c)),options:kr(a.options)}}visitGroup(a,c){const m=c.currentTime;let M=0;const O=a.steps.map(H=>{c.currentTime=m;const U=He(this,H,c);return M=Math.max(M,c.currentTime),U});return c.currentTime=M,{type:3,steps:O,options:kr(a.options)}}visitAnimate(a,c){const m=function Qs(E,a){if(E.hasOwnProperty("duration"))return E;if("number"==typeof E)return Kn(Qn(E,a).duration,0,"");const c=E;if(c.split(/\s+/).some(O=>"{"==O.charAt(0)&&"{"==O.charAt(1))){const O=Kn(0,0,"");return O.dynamic=!0,O.strValue=c,O}const M=Qn(c,a);return Kn(M.duration,M.delay,M.easing)}(a.timings,c.errors);c.currentAnimateTimings=m;let M,O=a.styles?a.styles:(0,se.oB)({});if(5==O.type)M=this.visitKeyframes(O,c);else{let H=a.styles,U=!1;if(!H){U=!0;const fe={};m.easing&&(fe.easing=m.easing),H=(0,se.oB)(fe)}c.currentTime+=m.duration+m.delay;const Q=this.visitStyle(H,c);Q.isEmptyStep=U,M=Q}return c.currentAnimateTimings=null,{type:4,timings:m,style:M,options:null}}visitStyle(a,c){const m=this._makeStyleAst(a,c);return this._validateStyleAst(m,c),m}_makeStyleAst(a,c){const m=[],M=Array.isArray(a.styles)?a.styles:[a.styles];for(let U of M)"string"==typeof U?U===se.l3?m.push(U):c.errors.push(new N.vHH(3002,!1)):m.push(Jn(U));let O=!1,H=null;return m.forEach(U=>{if(U instanceof Map&&(U.has("easing")&&(H=U.get("easing"),U.delete("easing")),!O))for(let Q of U.values())if(Q.toString().indexOf("{{")>=0){O=!0;break}}),{type:6,styles:m,easing:H,offset:a.offset,containsDynamicStyles:O,options:null}}_validateStyleAst(a,c){const m=c.currentAnimateTimings;let M=c.currentTime,O=c.currentTime;m&&O>0&&(O-=m.duration+m.delay),a.styles.forEach(H=>{"string"!=typeof H&&H.forEach((U,Q)=>{const fe=c.collectedStyles.get(c.currentQuerySelector),tt=fe.get(Q);let Ze=!0;tt&&(O!=M&&O>=tt.startTime&&M<=tt.endTime&&(c.errors.push(function Je(E,a,c,m,M){return new N.vHH(3010,!1)}()),Ze=!1),O=tt.startTime),Ze&&fe.set(Q,{startTime:O,endTime:M}),c.options&&function et(E,a,c){const m=a.params||{},M=Ht(E);M.length&&M.forEach(O=>{m.hasOwnProperty(O)||c.push(function Ye(E){return new N.vHH(3001,!1)}())})}(U,c.options,c.errors)})})}visitKeyframes(a,c){const m={type:5,styles:[],options:null};if(!c.currentAnimateTimings)return c.errors.push(function re(){return new N.vHH(3011,!1)}()),m;let O=0;const H=[];let U=!1,Q=!1,fe=0;const tt=a.steps.map(Vn=>{const $n=this._makeStyleAst(Vn,c);let hr=null!=$n.offset?$n.offset:function Mr(E){if("string"==typeof E)return null;let a=null;if(Array.isArray(E))E.forEach(c=>{if(c instanceof Map&&c.has("offset")){const m=c;a=parseFloat(m.get("offset")),m.delete("offset")}});else if(E instanceof Map&&E.has("offset")){const c=E;a=parseFloat(c.get("offset")),c.delete("offset")}return a}($n.styles),Gn=0;return null!=hr&&(O++,Gn=$n.offset=hr),Q=Q||Gn<0||Gn>1,U=U||Gn<fe,fe=Gn,H.push(Gn),$n});Q&&c.errors.push(function Oe(){return new N.vHH(3012,!1)}()),U&&c.errors.push(function ke(){return new N.vHH(3200,!1)}());const Ze=a.steps.length;let Lt=0;O>0&&O<Ze?c.errors.push(function Ue(){return new N.vHH(3202,!1)}()):0==O&&(Lt=1/(Ze-1));const $t=Ze-1,_t=c.currentTime,kt=c.currentAnimateTimings,xn=kt.duration;return tt.forEach((Vn,$n)=>{const hr=Lt>0?$n==$t?1:Lt*$n:H[$n],Gn=hr*xn;c.currentTime=_t+kt.delay+Gn,kt.duration=Gn,this._validateStyleAst(Vn,c),Vn.offset=hr,m.styles.push(Vn)}),m}visitReference(a,c){return{type:8,animation:He(this,Pe(a.animation),c),options:kr(a.options)}}visitAnimateChild(a,c){return c.depCount++,{type:9,options:kr(a.options)}}visitAnimateRef(a,c){return{type:10,animation:this.visitReference(a.animation,c),options:kr(a.options)}}visitQuery(a,c){const m=c.currentQuerySelector,M=a.options||{};c.queryCount++,c.currentQuery=a;const[O,H]=function Vs(E){const a=!!E.split(/\s*,\s*/).find(c=>":self"==c);return a&&(E=E.replace(dn,"")),E=E.replace(/@\*/g,St).replace(/@\w+/g,c=>St+"-"+c.slice(1)).replace(/:animating/g,Lr),[E,a]}(a.selector);c.currentQuerySelector=m.length?m+" "+O:O,cn(c.collectedStyles,c.currentQuerySelector,new Map);const U=He(this,Pe(a.animation),c);return c.currentQuery=null,c.currentQuerySelector=m,{type:11,selector:O,limit:M.limit||0,optional:!!M.optional,includeSelf:H,animation:U,originalSelector:a.selector,options:kr(a.options)}}visitStagger(a,c){c.currentQuery||c.errors.push(function Dt(){return new N.vHH(3013,!1)}());const m="full"===a.timings?{duration:0,delay:0,easing:"full"}:Qn(a.timings,c.errors,!0);return{type:12,animation:He(this,Pe(a.animation),c),timings:m,options:null}}}class Zs{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function kr(E){return E?(E=br(E)).params&&(E.params=function Kr(E){return E?br(E):null}(E.params)):E={},E}function Kn(E,a,c){return{duration:E,delay:a,easing:c}}function Tr(E,a,c,m,M,O,H=null,U=!1){return{type:1,element:E,keyframes:a,preStyleProps:c,postStyleProps:m,duration:M,delay:O,totalTime:M+O,easing:H,subTimeline:U}}class cr{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,c){let m=this._map.get(a);m||this._map.set(a,m=[]),m.push(...c)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const Xs=new RegExp(":enter","g"),Hs=new RegExp(":leave","g");function ei(E,a,c,m,M,O=new Map,H=new Map,U,Q,fe=[]){return(new Oi).buildKeyframes(E,a,c,m,M,O,H,U,Q,fe)}class Oi{buildKeyframes(a,c,m,M,O,H,U,Q,fe,tt=[]){fe=fe||new cr;const Ze=new Ts(a,c,fe,M,O,tt,[]);Ze.options=Q;const Lt=Q.delay?Fn(Q.delay):0;Ze.currentTimeline.delayNextStep(Lt),Ze.currentTimeline.setStyles([H],null,Ze.errors,Q),He(this,m,Ze);const $t=Ze.timelines.filter(_t=>_t.containsAnimation());if($t.length&&U.size){let _t;for(let kt=$t.length-1;kt>=0;kt--){const xn=$t[kt];if(xn.element===c){_t=xn;break}}_t&&!_t.allowOnlyTimelineStyles()&&_t.setStyles([U],null,Ze.errors,Q)}return $t.length?$t.map(_t=>_t.buildKeyframes()):[Tr(c,[],[],[],0,Lt,"",!1)]}visitTrigger(a,c){}visitState(a,c){}visitTransition(a,c){}visitAnimateChild(a,c){const m=c.subInstructions.get(c.element);if(m){const M=c.createSubContext(a.options),O=c.currentTimeline.currentTime,H=this._visitSubInstructions(m,M,M.options);O!=H&&c.transformIntoNewTimeline(H)}c.previousNode=a}visitAnimateRef(a,c){const m=c.createSubContext(a.options);m.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],c,m),this.visitReference(a.animation,m),c.transformIntoNewTimeline(m.currentTimeline.currentTime),c.previousNode=a}_applyAnimationRefDelays(a,c,m){for(const M of a){const O=M?.delay;if(O){const H="number"==typeof O?O:Fn(an(O,M?.params??{},c.errors));m.delayNextStep(H)}}}_visitSubInstructions(a,c,m){let O=c.currentTimeline.currentTime;const H=null!=m.duration?Fn(m.duration):null,U=null!=m.delay?Fn(m.delay):null;return 0!==H&&a.forEach(Q=>{const fe=c.appendInstructionToTimeline(Q,H,U);O=Math.max(O,fe.duration+fe.delay)}),O}visitReference(a,c){c.updateOptions(a.options,!0),He(this,a.animation,c),c.previousNode=a}visitSequence(a,c){const m=c.subContextCount;let M=c;const O=a.options;if(O&&(O.params||O.delay)&&(M=c.createSubContext(O),M.transformIntoNewTimeline(),null!=O.delay)){6==M.previousNode.type&&(M.currentTimeline.snapshotCurrentStyles(),M.previousNode=Ms);const H=Fn(O.delay);M.delayNextStep(H)}a.steps.length&&(a.steps.forEach(H=>He(this,H,M)),M.currentTimeline.applyStylesToKeyframe(),M.subContextCount>m&&M.transformIntoNewTimeline()),c.previousNode=a}visitGroup(a,c){const m=[];let M=c.currentTimeline.currentTime;const O=a.options&&a.options.delay?Fn(a.options.delay):0;a.steps.forEach(H=>{const U=c.createSubContext(a.options);O&&U.delayNextStep(O),He(this,H,U),M=Math.max(M,U.currentTimeline.currentTime),m.push(U.currentTimeline)}),m.forEach(H=>c.currentTimeline.mergeTimelineCollectedStyles(H)),c.transformIntoNewTimeline(M),c.previousNode=a}_visitTiming(a,c){if(a.dynamic){const m=a.strValue;return Qn(c.params?an(m,c.params,c.errors):m,c.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,c){const m=c.currentAnimateTimings=this._visitTiming(a.timings,c),M=c.currentTimeline;m.delay&&(c.incrementTime(m.delay),M.snapshotCurrentStyles());const O=a.style;5==O.type?this.visitKeyframes(O,c):(c.incrementTime(m.duration),this.visitStyle(O,c),M.applyStylesToKeyframe()),c.currentAnimateTimings=null,c.previousNode=a}visitStyle(a,c){const m=c.currentTimeline,M=c.currentAnimateTimings;!M&&m.hasCurrentStyleProperties()&&m.forwardFrame();const O=M&&M.easing||a.easing;a.isEmptyStep?m.applyEmptyStep(O):m.setStyles(a.styles,O,c.errors,c.options),c.previousNode=a}visitKeyframes(a,c){const m=c.currentAnimateTimings,M=c.currentTimeline.duration,O=m.duration,U=c.createSubContext().currentTimeline;U.easing=m.easing,a.styles.forEach(Q=>{U.forwardTime((Q.offset||0)*O),U.setStyles(Q.styles,Q.easing,c.errors,c.options),U.applyStylesToKeyframe()}),c.currentTimeline.mergeTimelineCollectedStyles(U),c.transformIntoNewTimeline(M+O),c.previousNode=a}visitQuery(a,c){const m=c.currentTimeline.currentTime,M=a.options||{},O=M.delay?Fn(M.delay):0;O&&(6===c.previousNode.type||0==m&&c.currentTimeline.hasCurrentStyleProperties())&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=Ms);let H=m;const U=c.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!M.optional,c.errors);c.currentQueryTotal=U.length;let Q=null;U.forEach((fe,tt)=>{c.currentQueryIndex=tt;const Ze=c.createSubContext(a.options,fe);O&&Ze.delayNextStep(O),fe===c.element&&(Q=Ze.currentTimeline),He(this,a.animation,Ze),Ze.currentTimeline.applyStylesToKeyframe(),H=Math.max(H,Ze.currentTimeline.currentTime)}),c.currentQueryIndex=0,c.currentQueryTotal=0,c.transformIntoNewTimeline(H),Q&&(c.currentTimeline.mergeTimelineCollectedStyles(Q),c.currentTimeline.snapshotCurrentStyles()),c.previousNode=a}visitStagger(a,c){const m=c.parentContext,M=c.currentTimeline,O=a.timings,H=Math.abs(O.duration),U=H*(c.currentQueryTotal-1);let Q=H*c.currentQueryIndex;switch(O.duration<0?"reverse":O.easing){case"reverse":Q=U-Q;break;case"full":Q=m.currentStaggerTime}const tt=c.currentTimeline;Q&&tt.delayNextStep(Q);const Ze=tt.currentTime;He(this,a.animation,c),c.previousNode=a,m.currentStaggerTime=M.currentTime-Ze+(M.startTime-m.currentTimeline.startTime)}}const Ms={};class Ts{constructor(a,c,m,M,O,H,U,Q){this._driver=a,this.element=c,this.subInstructions=m,this._enterClassName=M,this._leaveClassName=O,this.errors=H,this.timelines=U,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ms,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Q||new Is(this._driver,c,0),U.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,c){if(!a)return;const m=a;let M=this.options;null!=m.duration&&(M.duration=Fn(m.duration)),null!=m.delay&&(M.delay=Fn(m.delay));const O=m.params;if(O){let H=M.params;H||(H=this.options.params={}),Object.keys(O).forEach(U=>{(!c||!H.hasOwnProperty(U))&&(H[U]=an(O[U],H,this.errors))})}}_copyOptions(){const a={};if(this.options){const c=this.options.params;if(c){const m=a.params={};Object.keys(c).forEach(M=>{m[M]=c[M]})}}return a}createSubContext(a=null,c,m){const M=c||this.element,O=new Ts(this._driver,M,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(M,m||0));return O.previousNode=this.previousNode,O.currentAnimateTimings=this.currentAnimateTimings,O.options=this._copyOptions(),O.updateOptions(a),O.currentQueryIndex=this.currentQueryIndex,O.currentQueryTotal=this.currentQueryTotal,O.parentContext=this,this.subContextCount++,O}transformIntoNewTimeline(a){return this.previousNode=Ms,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,c,m){const M={duration:c??a.duration,delay:this.currentTimeline.currentTime+(m??0)+a.delay,easing:""},O=new hi(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,M,a.stretchStartingKeyframe);return this.timelines.push(O),M}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,c,m,M,O,H){let U=[];if(M&&U.push(this.element),a.length>0){a=(a=a.replace(Xs,"."+this._enterClassName)).replace(Hs,"."+this._leaveClassName);let fe=this._driver.query(this.element,a,1!=m);0!==m&&(fe=m<0?fe.slice(fe.length+m,fe.length):fe.slice(0,m)),U.push(...fe)}return!O&&0==U.length&&H.push(function Ne(E){return new N.vHH(3014,!1)}()),U}}class Is{constructor(a,c,m,M){this._driver=a,this.element=c,this.startTime=m,this._elementTimelineStylesLookup=M,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=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(a){const c=1===this._keyframes.size&&this._pendingStyles.size;this.duration||c?(this.forwardTime(this.currentTime+a),c&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,c){return this.applyStylesToKeyframe(),new Is(this._driver,a,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(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,c){this._localTimelineStyles.set(a,c),this._globalTimelineStyles.set(a,c),this._styleSummary.set(a,{time:this.currentTime,value:c})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[c,m]of this._globalTimelineStyles)this._backFill.set(c,m||se.l3),this._currentKeyframe.set(c,se.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,c,m,M){c&&this._previousKeyframe.set("easing",c);const O=M&&M.params||{},H=function ti(E,a){const c=new Map;let m;return E.forEach(M=>{if("*"===M){m=m||a.keys();for(let O of m)c.set(O,se.l3)}else ce(M,c)}),c}(a,this._globalTimelineStyles);for(let[U,Q]of H){const fe=an(Q,O,m);this._pendingStyles.set(U,fe),this._localTimelineStyles.has(U)||this._backFill.set(U,this._globalTimelineStyles.get(U)??se.l3),this._updateStyle(U,fe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,c)=>{this._currentKeyframe.set(c,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,c)=>{this._currentKeyframe.has(c)||this._currentKeyframe.set(c,a)}))}snapshotCurrentStyles(){for(let[a,c]of this._localTimelineStyles)this._pendingStyles.set(a,c),this._updateStyle(a,c)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let c in this._currentKeyframe)a.push(c);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((c,m)=>{const M=this._styleSummary.get(m);(!M||c.time>M.time)&&this._updateStyle(m,c.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,c=new Set,m=1===this._keyframes.size&&0===this.duration;let M=[];this._keyframes.forEach((U,Q)=>{const fe=ce(U,new Map,this._backFill);fe.forEach((tt,Ze)=>{tt===se.k1?a.add(Ze):tt===se.l3&&c.add(Ze)}),m||fe.set("offset",Q/this.duration),M.push(fe)});const O=a.size?Wt(a.values()):[],H=c.size?Wt(c.values()):[];if(m){const U=M[0],Q=new Map(U);U.set("offset",0),Q.set("offset",1),M=[U,Q]}return Tr(this.element,M,O,H,this.duration,this.startTime,this.easing,!1)}}class hi extends Is{constructor(a,c,m,M,O,H,U=!1){super(a,c,H.delay),this.keyframes=m,this.preStyleProps=M,this.postStyleProps=O,this._stretchStartingKeyframe=U,this.timings={duration:H.duration,delay:H.delay,easing:H.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:c,duration:m,easing:M}=this.timings;if(this._stretchStartingKeyframe&&c){const O=[],H=m+c,U=c/H,Q=ce(a[0]);Q.set("offset",0),O.push(Q);const fe=ce(a[0]);fe.set("offset",pi(U)),O.push(fe);const tt=a.length-1;for(let Ze=1;Ze<=tt;Ze++){let Lt=ce(a[Ze]);const $t=Lt.get("offset");Lt.set("offset",pi((c+$t*m)/H)),O.push(Lt)}m=H,c=0,M="",a=O}return Tr(this.element,a,this.preStyleProps,this.postStyleProps,m,c,M,!0)}}function pi(E,a=3){const c=Math.pow(10,a-1);return Math.round(E*c)/c}class Bs{}const As=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 zt extends Bs{normalizePropertyName(a,c){return W(a)}normalizeStyleValue(a,c,m,M){let O="";const H=m.toString().trim();if(As.has(c)&&0!==m&&"0"!==m)if("number"==typeof m)O="px";else{const U=m.match(/^[+-]?[\d\.]+([a-z]*)$/);U&&0==U[1].length&&M.push(function Pt(E,a){return new N.vHH(3005,!1)}())}return H+O}}function Sn(E,a,c,m,M,O,H,U,Q,fe,tt,Ze,Lt){return{type:0,element:E,triggerName:a,isRemovalTransition:M,fromState:c,fromStyles:O,toState:m,toStyles:H,timelines:U,queriedElements:Q,preStyleProps:fe,postStyleProps:tt,totalTime:Ze,errors:Lt}}const jn={};class Ur{constructor(a,c,m){this._triggerName=a,this.ast=c,this._stateStyles=m}match(a,c,m,M){return function ni(E,a,c,m,M){return E.some(O=>O(a,c,m,M))}(this.ast.matchers,a,c,m,M)}buildStyles(a,c,m){let M=this._stateStyles.get("*");return void 0!==a&&(M=this._stateStyles.get(a?.toString())||M),M?M.buildStyles(c,m):new Map}build(a,c,m,M,O,H,U,Q,fe,tt){const Ze=[],Lt=this.ast.options&&this.ast.options.params||jn,_t=this.buildStyles(m,U&&U.params||jn,Ze),kt=Q&&Q.params||jn,xn=this.buildStyles(M,kt,Ze),Vn=new Set,$n=new Map,hr=new Map,Gn="void"===M,_i={params:qr(kt,Lt),delay:this.ast.options?.delay},rs=tt?[]:ei(a,c,this.ast.animation,O,H,_t,xn,_i,fe,Ze);let nr=0;if(rs.forEach(Ds=>{nr=Math.max(Ds.duration+Ds.delay,nr)}),Ze.length)return Sn(c,this._triggerName,m,M,Gn,_t,xn,[],[],$n,hr,nr,Ze);rs.forEach(Ds=>{const ss=Ds.element,mo=cn($n,ss,new Set);Ds.preStyleProps.forEach(Ci=>mo.add(Ci));const Di=cn(hr,ss,new Set);Ds.postStyleProps.forEach(Ci=>Di.add(Ci)),ss!==c&&Vn.add(ss)});const _s=Wt(Vn.values());return Sn(c,this._triggerName,m,M,Gn,_t,xn,rs,_s,$n,hr,nr)}}function qr(E,a){const c=br(a);for(const m in E)E.hasOwnProperty(m)&&null!=E[m]&&(c[m]=E[m]);return c}class Zr{constructor(a,c,m){this.styles=a,this.defaultParams=c,this.normalizer=m}buildStyles(a,c){const m=new Map,M=br(this.defaultParams);return Object.keys(a).forEach(O=>{const H=a[O];null!==H&&(M[O]=H)}),this.styles.styles.forEach(O=>{"string"!=typeof O&&O.forEach((H,U)=>{H&&(H=an(H,M,c));const Q=this.normalizer.normalizePropertyName(U,c);H=this.normalizer.normalizeStyleValue(U,Q,H,c),m.set(U,H)})}),m}}class cs{constructor(a,c,m){this.name=a,this.ast=c,this._normalizer=m,this.transitionFactories=[],this.states=new Map,c.states.forEach(M=>{this.states.set(M.name,new Zr(M.style,M.options&&M.options.params||{},m))}),qe(this.states,"true","1"),qe(this.states,"false","0"),c.transitions.forEach(M=>{this.transitionFactories.push(new Ur(a,M,this.states))}),this.fallbackTransition=function ln(E,a,c){return new Ur(E,{type:1,animation:{type:2,steps:[],options:null},matchers:[(H,U)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,c,m,M){return this.transitionFactories.find(H=>H.match(a,c,m,M))||null}matchStyles(a,c,m){return this.fallbackTransition.buildStyles(a,c,m)}}function qe(E,a,c){E.has(a)?E.has(c)||E.set(c,E.get(a)):E.has(c)&&E.set(a,E.get(c))}const It=new cr;class Xt{constructor(a,c,m){this.bodyNode=a,this._driver=c,this._normalizer=m,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,c){const m=[],O=Sr(this._driver,c,m,[]);if(m.length)throw function ie(E){return new N.vHH(3503,!1)}();this._animations.set(a,O)}_buildPlayer(a,c,m){const M=a.element,O=hn(this._normalizer,a.keyframes,c,m);return this._driver.animate(M,O,a.duration,a.delay,a.easing,[],!0)}create(a,c,m={}){const M=[],O=this._animations.get(a);let H;const U=new Map;if(O?(H=ei(this._driver,c,O,pr,Zn,new Map,new Map,m,It,M),H.forEach(tt=>{const Ze=cn(U,tt.element,new Map);tt.postStyleProps.forEach(Lt=>Ze.set(Lt,null))})):(M.push(function De(){return new N.vHH(3300,!1)}()),H=[]),M.length)throw function me(E){return new N.vHH(3504,!1)}();U.forEach((tt,Ze)=>{tt.forEach((Lt,$t)=>{tt.set($t,this._driver.computeStyle(Ze,$t,se.l3))})});const fe=dt(H.map(tt=>{const Ze=U.get(tt.element);return this._buildPlayer(tt,new Map,Ze)}));return this._playersById.set(a,fe),fe.onDestroy(()=>this.destroy(a)),this.players.push(fe),fe}destroy(a){const c=this._getPlayer(a);c.destroy(),this._playersById.delete(a);const m=this.players.indexOf(c);m>=0&&this.players.splice(m,1)}_getPlayer(a){const c=this._playersById.get(a);if(!c)throw function Ve(E){return new N.vHH(3301,!1)}();return c}listen(a,c,m,M){const O=Dn(c,"","","");return ft(this._getPlayer(a),m,O,M),()=>{}}command(a,c,m,M){if("register"==m)return void this.register(a,M[0]);if("create"==m)return void this.create(a,c,M[0]||{});const O=this._getPlayer(a);switch(m){case"play":O.play();break;case"pause":O.pause();break;case"reset":O.reset();break;case"restart":O.restart();break;case"finish":O.finish();break;case"init":O.init();break;case"setPosition":O.setPosition(parseFloat(M[0]));break;case"destroy":this.destroy(a)}}}const Xn="ng-animate-queued",Mn="ng-animate-disabled",zr=[],Mt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Jr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},vr="__ng_removed";class Ir{get params(){return this.options.params}constructor(a,c=""){this.namespaceId=c;const m=a&&a.hasOwnProperty("value");if(this.value=function Vr(E){return E??null}(m?a.value:a),m){const O=br(a);delete O.value,this.options=O}else this.options={};this.options.params||(this.options.params={})}absorbOptions(a){const c=a.params;if(c){const m=this.options.params;Object.keys(c).forEach(M=>{null==m[M]&&(m[M]=c[M])})}}}const on="void",Xr=new Ir(on);class Ar{constructor(a,c,m){this.id=a,this.hostElement=c,this._engine=m,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,tr(c,this._hostClassName)}listen(a,c,m,M){if(!this._triggers.has(c))throw function Re(E,a){return new N.vHH(3302,!1)}();if(null==m||0==m.length)throw function pt(E){return new N.vHH(3303,!1)}();if(!function Os(E){return"start"==E||"done"==E}(m))throw function Se(E,a){return new N.vHH(3400,!1)}();const O=cn(this._elementListeners,a,[]),H={name:c,phase:m,callback:M};O.push(H);const U=cn(this._engine.statesByElement,a,new Map);return U.has(c)||(tr(a,Bn),tr(a,Bn+"-"+c),U.set(c,Xr)),()=>{this._engine.afterFlush(()=>{const Q=O.indexOf(H);Q>=0&&O.splice(Q,1),this._triggers.has(c)||U.delete(c)})}}register(a,c){return!this._triggers.has(a)&&(this._triggers.set(a,c),!0)}_getTrigger(a){const c=this._triggers.get(a);if(!c)throw function Ce(E){return new N.vHH(3401,!1)}();return c}trigger(a,c,m,M=!0){const O=this._getTrigger(c),H=new dr(this.id,c,a);let U=this._engine.statesByElement.get(a);U||(tr(a,Bn),tr(a,Bn+"-"+c),this._engine.statesByElement.set(a,U=new Map));let Q=U.get(c);const fe=new Ir(m,this.id);if(!(m&&m.hasOwnProperty("value"))&&Q&&fe.absorbOptions(Q.options),U.set(c,fe),Q||(Q=Xr),fe.value!==on&&Q.value===fe.value){if(!function js(E,a){const c=Object.keys(E),m=Object.keys(a);if(c.length!=m.length)return!1;for(let M=0;M<c.length;M++){const O=c[M];if(!a.hasOwnProperty(O)||E[O]!==a[O])return!1}return!0}(Q.params,fe.params)){const kt=[],xn=O.matchStyles(Q.value,Q.params,kt),Vn=O.matchStyles(fe.value,fe.params,kt);kt.length?this._engine.reportError(kt):this._engine.afterFlush(()=>{ee(a,xn),z(a,Vn)})}return}const Lt=cn(this._engine.playersByElement,a,[]);Lt.forEach(kt=>{kt.namespaceId==this.id&&kt.triggerName==c&&kt.queued&&kt.destroy()});let $t=O.matchTransition(Q.value,fe.value,a,fe.params),_t=!1;if(!$t){if(!M)return;$t=O.fallbackTransition,_t=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:c,transition:$t,fromState:Q,toState:fe,player:H,isFallbackTransition:_t}),_t||(tr(a,Xn),H.onStart(()=>{hs(a,Xn)})),H.onDone(()=>{let kt=this.players.indexOf(H);kt>=0&&this.players.splice(kt,1);const xn=this._engine.playersByElement.get(a);if(xn){let Vn=xn.indexOf(H);Vn>=0&&xn.splice(Vn,1)}}),this.players.push(H),Lt.push(H),H}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(c=>c.delete(a)),this._elementListeners.forEach((c,m)=>{this._elementListeners.set(m,c.filter(M=>M.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const c=this._engine.playersByElement.get(a);c&&(c.forEach(m=>m.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,c){const m=this._engine.driver.query(a,St,!0);m.forEach(M=>{if(M[vr])return;const O=this._engine.fetchNamespacesByElement(M);O.size?O.forEach(H=>H.triggerLeaveAnimation(M,c,!1,!0)):this.clearElementCache(M)}),this._engine.afterFlushAnimationsDone(()=>m.forEach(M=>this.clearElementCache(M)))}triggerLeaveAnimation(a,c,m,M){const O=this._engine.statesByElement.get(a),H=new Map;if(O){const U=[];if(O.forEach((Q,fe)=>{if(H.set(fe,Q.value),this._triggers.has(fe)){const tt=this.trigger(a,fe,on,M);tt&&U.push(tt)}}),U.length)return this._engine.markElementAsRemoved(this.id,a,!0,c,H),m&&dt(U).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const c=this._elementListeners.get(a),m=this._engine.statesByElement.get(a);if(c&&m){const M=new Set;c.forEach(O=>{const H=O.name;if(M.has(H))return;M.add(H);const Q=this._triggers.get(H).fallbackTransition,fe=m.get(H)||Xr,tt=new Ir(on),Ze=new dr(this.id,H,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:H,transition:Q,fromState:fe,toState:tt,player:Ze,isFallbackTransition:!0})})}}removeNode(a,c){const m=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,c),this.triggerLeaveAnimation(a,c,!0))return;let M=!1;if(m.totalAnimations){const O=m.players.length?m.playersByQueriedElement.get(a):[];if(O&&O.length)M=!0;else{let H=a;for(;H=H.parentNode;)if(m.statesByElement.get(H)){M=!0;break}}}if(this.prepareLeaveAnimationListeners(a),M)m.markElementAsRemoved(this.id,a,!1,c);else{const O=a[vr];(!O||O===Mt)&&(m.afterFlush(()=>this.clearElementCache(a)),m.destroyInnerAnimations(a),m._onRemovalComplete(a,c))}}insertNode(a,c){tr(a,this._hostClassName)}drainQueuedTransitions(a){const c=[];return this._queue.forEach(m=>{const M=m.player;if(M.destroyed)return;const O=m.element,H=this._elementListeners.get(O);H&&H.forEach(U=>{if(U.name==m.triggerName){const Q=Dn(O,m.triggerName,m.fromState.value,m.toState.value);Q._data=a,ft(m.player,U.phase,Q,U.callback)}}),M.markedForDestroy?this._engine.afterFlush(()=>{M.destroy()}):c.push(m)}),this._queue=[],c.sort((m,M)=>{const O=m.transition.ast.depCount,H=M.transition.ast.depCount;return 0==O||0==H?O-H:this._engine.driver.containsElement(m.element,M.element)?1:-1})}destroy(a){this.players.forEach(c=>c.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}}class yr{_onRemovalComplete(a,c){this.onRemovalComplete(a,c)}constructor(a,c,m){this.bodyNode=a,this.driver=c,this._normalizer=m,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=(M,O)=>{}}get queuedPlayers(){const a=[];return this._namespaceList.forEach(c=>{c.players.forEach(m=>{m.queued&&a.push(m)})}),a}createNamespace(a,c){const m=new Ar(a,c,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,c)?this._balanceNamespaceList(m,c):(this.newHostElements.set(c,m),this.collectEnterElement(c)),this._namespaceLookup[a]=m}_balanceNamespaceList(a,c){const m=this._namespaceList,M=this.namespacesByHostElement;if(m.length-1>=0){let H=!1,U=this.driver.getParentElement(c);for(;U;){const Q=M.get(U);if(Q){const fe=m.indexOf(Q);m.splice(fe+1,0,a),H=!0;break}U=this.driver.getParentElement(U)}H||m.unshift(a)}else m.push(a);return M.set(c,a),a}register(a,c){let m=this._namespaceLookup[a];return m||(m=this.createNamespace(a,c)),m}registerTrigger(a,c,m){let M=this._namespaceLookup[a];M&&M.register(c,m)&&this.totalAnimations++}destroy(a,c){a&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const m=this._fetchNamespace(a);this.namespacesByHostElement.delete(m.hostElement);const M=this._namespaceList.indexOf(m);M>=0&&this._namespaceList.splice(M,1),m.destroy(c),delete this._namespaceLookup[a]}))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const c=new Set,m=this.statesByElement.get(a);if(m)for(let M of m.values())if(M.namespaceId){const O=this._fetchNamespace(M.namespaceId);O&&c.add(O)}return c}trigger(a,c,m,M){if(er(c)){const O=this._fetchNamespace(a);if(O)return O.trigger(c,m,M),!0}return!1}insertNode(a,c,m,M){if(!er(c))return;const O=c[vr];if(O&&O.setForRemoval){O.setForRemoval=!1,O.setForMove=!0;const H=this.collectedLeaveElements.indexOf(c);H>=0&&this.collectedLeaveElements.splice(H,1)}if(a){const H=this._fetchNamespace(a);H&&H.insertNode(c,m)}M&&this.collectEnterElement(c)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,c){c?this.disabledNodes.has(a)||(this.disabledNodes.add(a),tr(a,Mn)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),hs(a,Mn))}removeNode(a,c,m){if(er(c)){const M=a?this._fetchNamespace(a):null;M?M.removeNode(c,m):this.markElementAsRemoved(a,c,!1,m);const O=this.namespacesByHostElement.get(c);O&&O.id!==a&&O.removeNode(c,m)}else this._onRemovalComplete(c,m)}markElementAsRemoved(a,c,m,M,O){this.collectedLeaveElements.push(c),c[vr]={namespaceId:a,setForRemoval:M,hasAnimation:m,removedBeforeQueried:!1,previousTriggersValues:O}}listen(a,c,m,M,O){return er(c)?this._fetchNamespace(a).listen(c,m,M,O):()=>{}}_buildInstruction(a,c,m,M,O){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,m,M,a.fromState.options,a.toState.options,c,O)}destroyInnerAnimations(a){let c=this.driver.query(a,St,!0);c.forEach(m=>this.destroyActiveAnimationsForElement(m)),0!=this.playersByQueriedElement.size&&(c=this.driver.query(a,Lr,!0),c.forEach(m=>this.finishActiveQueriedAnimationOnElement(m)))}destroyActiveAnimationsForElement(a){const c=this.playersByElement.get(a);c&&c.forEach(m=>{m.queued?m.markedForDestroy=!0:m.destroy()})}finishActiveQueriedAnimationOnElement(a){const c=this.playersByQueriedElement.get(a);c&&c.forEach(m=>m.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return dt(this.players).onDone(()=>a());a()})}processLeaveNode(a){const c=a[vr];if(c&&c.setForRemoval){if(a[vr]=Mt,c.namespaceId){this.destroyInnerAnimations(a);const m=this._fetchNamespace(c.namespaceId);m&&m.clearElementCache(a)}this._onRemovalComplete(a,c.setForRemoval)}a.classList?.contains(Mn)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(m=>{this.markElementAsDisabled(m,!1)})}flush(a=-1){let c=[];if(this.newHostElements.size&&(this.newHostElements.forEach((m,M)=>this._balanceNamespaceList(m,M)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let m=0;m<this.collectedEnterElements.length;m++)tr(this.collectedEnterElements[m],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const m=[];try{c=this._flushAnimations(m,a)}finally{for(let M=0;M<m.length;M++)m[M]()}}else for(let m=0;m<this.collectedLeaveElements.length;m++)this.processLeaveNode(this.collectedLeaveElements[m]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(m=>m()),this._flushFns=[],this._whenQuietFns.length){const m=this._whenQuietFns;this._whenQuietFns=[],c.length?dt(c).onDone(()=>{m.forEach(M=>M())}):m.forEach(M=>M())}}reportError(a){throw function ge(E){return new N.vHH(3402,!1)}()}_flushAnimations(a,c){const m=new cr,M=[],O=new Map,H=[],U=new Map,Q=new Map,fe=new Map,tt=new Set;this.disabledNodes.forEach(lt=>{tt.add(lt);const nt=this.driver.query(lt,".ng-animate-queued",!0);for(let u=0;u<nt.length;u++)tt.add(nt[u])});const Ze=this.bodyNode,Lt=Array.from(this.statesByElement.keys()),$t=ri(Lt,this.collectedEnterElements),_t=new Map;let kt=0;$t.forEach((lt,nt)=>{const u=pr+kt++;_t.set(nt,u),lt.forEach(h=>tr(h,u))});const xn=[],Vn=new Set,$n=new Set;for(let lt=0;lt<this.collectedLeaveElements.length;lt++){const nt=this.collectedLeaveElements[lt],u=nt[vr];u&&u.setForRemoval&&(xn.push(nt),Vn.add(nt),u.hasAnimation?this.driver.query(nt,".ng-star-inserted",!0).forEach(h=>Vn.add(h)):$n.add(nt))}const hr=new Map,Gn=ri(Lt,Array.from(Vn));Gn.forEach((lt,nt)=>{const u=Zn+kt++;hr.set(nt,u),lt.forEach(h=>tr(h,u))}),a.push(()=>{$t.forEach((lt,nt)=>{const u=_t.get(nt);lt.forEach(h=>hs(h,u))}),Gn.forEach((lt,nt)=>{const u=hr.get(nt);lt.forEach(h=>hs(h,u))}),xn.forEach(lt=>{this.processLeaveNode(lt)})});const _i=[],rs=[];for(let lt=this._namespaceList.length-1;lt>=0;lt--)this._namespaceList[lt].drainQueuedTransitions(c).forEach(u=>{const h=u.player,v=u.element;if(_i.push(h),this.collectedEnterElements.length){const ae=v[vr];if(ae&&ae.setForMove){if(ae.previousTriggersValues&&ae.previousTriggersValues.has(u.triggerName)){const it=ae.previousTriggersValues.get(u.triggerName),vt=this.statesByElement.get(u.element);if(vt&&vt.has(u.triggerName)){const Rn=vt.get(u.triggerName);Rn.value=it,vt.set(u.triggerName,Rn)}}return void h.destroy()}}const p=!Ze||!this.driver.containsElement(Ze,v),y=hr.get(v),I=_t.get(v),P=this._buildInstruction(u,m,I,y,p);if(P.errors&&P.errors.length)return void rs.push(P);if(p)return h.onStart(()=>ee(v,P.fromStyles)),h.onDestroy(()=>z(v,P.toStyles)),void M.push(h);if(u.isFallbackTransition)return h.onStart(()=>ee(v,P.fromStyles)),h.onDestroy(()=>z(v,P.toStyles)),void M.push(h);const Z=[];P.timelines.forEach(ae=>{ae.stretchStartingKeyframe=!0,this.disabledNodes.has(ae.element)||Z.push(ae)}),P.timelines=Z,m.append(v,P.timelines),H.push({instruction:P,player:h,element:v}),P.queriedElements.forEach(ae=>cn(U,ae,[]).push(h)),P.preStyleProps.forEach((ae,it)=>{if(ae.size){let vt=Q.get(it);vt||Q.set(it,vt=new Set),ae.forEach((Rn,rn)=>vt.add(rn))}}),P.postStyleProps.forEach((ae,it)=>{let vt=fe.get(it);vt||fe.set(it,vt=new Set),ae.forEach((Rn,rn)=>vt.add(rn))})});if(rs.length){const lt=[];rs.forEach(nt=>{lt.push(function Y(E,a){return new N.vHH(3505,!1)}())}),_i.forEach(nt=>nt.destroy()),this.reportError(lt)}const nr=new Map,_s=new Map;H.forEach(lt=>{const nt=lt.element;m.has(nt)&&(_s.set(nt,nt),this._beforeAnimationBuild(lt.player.namespaceId,lt.instruction,nr))}),M.forEach(lt=>{const nt=lt.element;this._getPreviousPlayers(nt,!1,lt.namespaceId,lt.triggerName,null).forEach(h=>{cn(nr,nt,[]).push(h),h.destroy()})});const Ds=xn.filter(lt=>Nn(lt,Q,fe)),ss=new Map;xt(ss,this.driver,$n,fe,se.l3).forEach(lt=>{Nn(lt,Q,fe)&&Ds.push(lt)});const Di=new Map;$t.forEach((lt,nt)=>{xt(Di,this.driver,new Set(lt),Q,se.k1)}),Ds.forEach(lt=>{const nt=ss.get(lt),u=Di.get(lt);ss.set(lt,new Map([...nt?.entries()??[],...u?.entries()??[]]))});const Ci=[],Ma=[],Dr={};H.forEach(lt=>{const{element:nt,player:u,instruction:h}=lt;if(m.has(nt)){if(tt.has(nt))return u.onDestroy(()=>z(nt,h.toStyles)),u.disabled=!0,u.overrideTotalTime(h.totalTime),void M.push(u);let v=Dr;if(_s.size>1){let y=nt;const I=[];for(;y=y.parentNode;){const P=_s.get(y);if(P){v=P;break}I.push(y)}I.forEach(P=>_s.set(P,v))}const p=this._buildAnimation(u.namespaceId,h,nr,O,Di,ss);if(u.setRealPlayer(p),v===Dr)Ci.push(u);else{const y=this.playersByElement.get(v);y&&y.length&&(u.parentPlayer=dt(y)),M.push(u)}}else ee(nt,h.fromStyles),u.onDestroy(()=>z(nt,h.toStyles)),Ma.push(u),tt.has(nt)&&M.push(u)}),Ma.forEach(lt=>{const nt=O.get(lt.element);if(nt&&nt.length){const u=dt(nt);lt.setRealPlayer(u)}}),M.forEach(lt=>{lt.parentPlayer?lt.syncPlayerEvents(lt.parentPlayer):lt.destroy()});for(let lt=0;lt<xn.length;lt++){const nt=xn[lt],u=nt[vr];if(hs(nt,Zn),u&&u.hasAnimation)continue;let h=[];if(U.size){let p=U.get(nt);p&&p.length&&h.push(...p);let y=this.driver.query(nt,Lr,!0);for(let I=0;I<y.length;I++){let P=U.get(y[I]);P&&P.length&&h.push(...P)}}const v=h.filter(p=>!p.destroyed);v.length?Or(this,nt,v):this.processLeaveNode(nt)}return xn.length=0,Ci.forEach(lt=>{this.players.push(lt),lt.onDone(()=>{lt.destroy();const nt=this.players.indexOf(lt);this.players.splice(nt,1)}),lt.play()}),Ci}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,c,m,M,O){let H=[];if(c){const U=this.playersByQueriedElement.get(a);U&&(H=U)}else{const U=this.playersByElement.get(a);if(U){const Q=!O||O==on;U.forEach(fe=>{fe.queued||!Q&&fe.triggerName!=M||H.push(fe)})}}return(m||M)&&(H=H.filter(U=>!(m&&m!=U.namespaceId||M&&M!=U.triggerName))),H}_beforeAnimationBuild(a,c,m){const O=c.element,H=c.isRemovalTransition?void 0:a,U=c.isRemovalTransition?void 0:c.triggerName;for(const Q of c.timelines){const fe=Q.element,tt=fe!==O,Ze=cn(m,fe,[]);this._getPreviousPlayers(fe,tt,H,U,c.toState).forEach($t=>{const _t=$t.getRealPlayer();_t.beforeDestroy&&_t.beforeDestroy(),$t.destroy(),Ze.push($t)})}ee(O,c.fromStyles)}_buildAnimation(a,c,m,M,O,H){const U=c.triggerName,Q=c.element,fe=[],tt=new Set,Ze=new Set,Lt=c.timelines.map(_t=>{const kt=_t.element;tt.add(kt);const xn=kt[vr];if(xn&&xn.removedBeforeQueried)return new se.ZN(_t.duration,_t.delay);const Vn=kt!==Q,$n=function gi(E){const a=[];return es(E,a),a}((m.get(kt)||zr).map(nr=>nr.getRealPlayer())).filter(nr=>!!nr.element&&nr.element===kt),hr=O.get(kt),Gn=H.get(kt),_i=hn(this._normalizer,_t.keyframes,hr,Gn),rs=this._buildPlayer(_t,_i,$n);if(_t.subTimeline&&M&&Ze.add(kt),Vn){const nr=new dr(a,U,kt);nr.setRealPlayer(rs),fe.push(nr)}return rs});fe.forEach(_t=>{cn(this.playersByQueriedElement,_t.element,[]).push(_t),_t.onDone(()=>function ds(E,a,c){let m=E.get(a);if(m){if(m.length){const M=m.indexOf(c);m.splice(M,1)}0==m.length&&E.delete(a)}return m}(this.playersByQueriedElement,_t.element,_t))}),tt.forEach(_t=>tr(_t,Hn));const $t=dt(Lt);return $t.onDestroy(()=>{tt.forEach(_t=>hs(_t,Hn)),z(Q,c.toStyles)}),Ze.forEach(_t=>{cn(M,_t,[]).push($t)}),$t}_buildPlayer(a,c,m){return c.length>0?this.driver.animate(a.element,c,a.duration,a.delay,a.easing,m):new se.ZN(a.duration,a.delay)}}class dr{constructor(a,c,m){this.namespaceId=a,this.triggerName=c,this.element=m,this._player=new se.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((c,m)=>{c.forEach(M=>ft(a,m,void 0,M))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const c=this._player;c.triggerCallback&&a.onStart(()=>c.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,c){cn(this._queuedCallbacks,a,[]).push(c)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const c=this._player;c.triggerCallback&&c.triggerCallback(a)}}function er(E){return E&&1===E.nodeType}function fs(E,a){const c=E.style.display;return E.style.display=a??"none",c}function xt(E,a,c,m,M){const O=[];c.forEach(Q=>O.push(fs(Q)));const H=[];m.forEach((Q,fe)=>{const tt=new Map;Q.forEach(Ze=>{const Lt=a.computeStyle(fe,Ze,M);tt.set(Ze,Lt),(!Lt||0==Lt.length)&&(fe[vr]=Jr,H.push(fe))}),E.set(fe,tt)});let U=0;return c.forEach(Q=>fs(Q,O[U++])),H}function ri(E,a){const c=new Map;if(E.forEach(U=>c.set(U,[])),0==a.length)return c;const M=new Set(a),O=new Map;function H(U){if(!U)return 1;let Q=O.get(U);if(Q)return Q;const fe=U.parentNode;return Q=c.has(fe)?fe:M.has(fe)?1:H(fe),O.set(U,Q),Q}return a.forEach(U=>{const Q=H(U);1!==Q&&c.get(Q).push(U)}),c}function tr(E,a){E.classList?.add(a)}function hs(E,a){E.classList?.remove(a)}function Or(E,a,c){dt(c).onDone(()=>E.processLeaveNode(a))}function es(E,a){for(let c=0;c<E.length;c++){const m=E[c];m instanceof se.ZE?es(m.players,a):a.push(m)}}function Nn(E,a,c){const m=c.get(E);if(!m)return!1;let M=a.get(E);return M?m.forEach(O=>M.add(O)):a.set(E,m),c.delete(E),!0}class si{constructor(a,c,m){this.bodyNode=a,this._driver=c,this._normalizer=m,this._triggerCache={},this.onRemovalComplete=(M,O)=>{},this._transitionEngine=new yr(a,c,m),this._timelineEngine=new Xt(a,c,m),this._transitionEngine.onRemovalComplete=(M,O)=>this.onRemovalComplete(M,O)}registerTrigger(a,c,m,M,O){const H=a+"-"+M;let U=this._triggerCache[H];if(!U){const Q=[],tt=Sr(this._driver,O,Q,[]);if(Q.length)throw function ht(E,a){return new N.vHH(3404,!1)}();U=function gr(E,a,c){return new cs(E,a,c)}(M,tt,this._normalizer),this._triggerCache[H]=U}this._transitionEngine.registerTrigger(c,M,U)}register(a,c){this._transitionEngine.register(a,c)}destroy(a,c){this._transitionEngine.destroy(a,c)}onInsert(a,c,m,M){this._transitionEngine.insertNode(a,c,m,M)}onRemove(a,c,m){this._transitionEngine.removeNode(a,c,m)}disableAnimations(a,c){this._transitionEngine.markElementAsDisabled(a,c)}process(a,c,m,M){if("@"==m.charAt(0)){const[O,H]=ot(m);this._timelineEngine.command(O,c,H,M)}else this._transitionEngine.trigger(a,c,m,M)}listen(a,c,m,M,O){if("@"==m.charAt(0)){const[H,U]=ot(m);return this._timelineEngine.listen(H,c,U,O)}return this._transitionEngine.listen(a,c,m,M,O)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(a){this._transitionEngine.afterFlushAnimationsDone(a)}}let yn=(()=>{class a{constructor(m,M,O){this._element=m,this._startStyles=M,this._endStyles=O,this._state=0;let H=a.initialStylesByElement.get(m);H||a.initialStylesByElement.set(m,H=new Map),this._initialStyles=H}start(){this._state<1&&(this._startStyles&&z(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(z(this._element,this._initialStyles),this._endStyles&&(z(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(a.initialStylesByElement.delete(this._element),this._startStyles&&(ee(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ee(this._element,this._endStyles),this._endStyles=null),z(this._element,this._initialStyles),this._state=3)}}return a.initialStylesByElement=new WeakMap,a})();function Us(E){let a=null;return E.forEach((c,m)=>{(function Rr(E){return"display"===E||"position"===E})(m)&&(a=a||new Map,a.set(m,c))}),a}class Rs{constructor(a,c,m,M){this.element=a,this.keyframes=c,this.options=m,this._specialStyles=M,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=m.duration,this._delay=m.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const c=[];return a.forEach(m=>{c.push(Object.fromEntries(m))}),c}_triggerWebAnimation(a,c,m){return a.animate(this._convertKeyframesToObject(c),m)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,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(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((m,M)=>{"offset"!==M&&a.set(M,this._finished?m:ze(this.element,M))}),this.currentSnapshot=a}triggerCallback(a){const c="start"===a?this._onStartFns:this._onDoneFns;c.forEach(m=>m()),c.length=0}}class Pr{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,c){return!1}containsElement(a,c){return Cn(a,c)}getParentElement(a){return Wn(a)}query(a,c,m){return rr(a,c,m)}computeStyle(a,c,m){return window.getComputedStyle(a)[c]}animate(a,c,m,M,O,H=[]){const Q={duration:m,delay:M,fill:0==M?"both":"forwards"};O&&(Q.easing=O);const fe=new Map,tt=H.filter($t=>$t instanceof Rs);(function oe(E,a){return 0===E||0===a})(m,M)&&tt.forEach($t=>{$t.currentSnapshot.forEach((_t,kt)=>fe.set(kt,_t))});let Ze=function de(E){return E.length?E[0]instanceof Map?E:E.map(a=>Jn(a)):[]}(c).map($t=>ce($t));Ze=function ue(E,a,c){if(c.size&&a.length){let m=a[0],M=[];if(c.forEach((O,H)=>{m.has(H)||M.push(H),m.set(H,O)}),M.length)for(let O=1;O<a.length;O++){let H=a[O];M.forEach(U=>H.set(U,ze(E,U)))}}return a}(a,Ze,fe);const Lt=function Un(E,a){let c=null,m=null;return Array.isArray(a)&&a.length?(c=Us(a[0]),a.length>1&&(m=Us(a[a.length-1]))):a instanceof Map&&(c=Us(a)),c||m?new yn(E,c,m):null}(a,Ze);return new Rs(a,Ze,Q,Lt)}}var ps=A(6814);let Pi=(()=>{var E;class a extends se._j{constructor(m,M){super(),this._nextAnimationId=0,this._renderer=m.createRenderer(M.body,{id:"0",encapsulation:N.ifc.None,styles:[],data:{animation:[]}})}build(m){const M=this._nextAnimationId.toString();this._nextAnimationId++;const O=Array.isArray(m)?(0,se.vP)(m):m;return zi(this._renderer,null,M,"register",[O]),new ii(M,this._renderer)}}return(E=a).\u0275fac=function(m){return new(m||E)(N.LFG(N.FYo),N.LFG(ps.K0))},E.\u0275prov=N.Yz7({token:E,factory:E.\u0275fac}),a})();class ii extends se.LC{constructor(a,c){super(),this._id=a,this._renderer=c}create(a,c){return new to(this._id,a,c||{},this._renderer)}}class to{constructor(a,c,m,M){this.id=a,this.element=c,this._renderer=M,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",m)}_listen(a,c){return this._renderer.listen(this.element,`@@${this.id}:${a}`,c)}_command(a,...c){return zi(this._renderer,this.element,this.id,a,c)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function zi(E,a,c,m,M){return E.setProperty(a,`@@${c}:${m}`,M)}const fn="@.disabled";let no=(()=>{var E;class a{constructor(m,M,O){this.delegate=m,this.engine=M,this._zone=O,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,M.onRemovalComplete=(H,U)=>{const Q=U?.parentNode(H);Q&&U.removeChild(Q,H)}}createRenderer(m,M){const H=this.delegate.createRenderer(m,M);if(!(m&&M&&M.data&&M.data.animation)){let Ze=this._rendererCache.get(H);return Ze||(Ze=new Gi("",H,this.engine,()=>this._rendererCache.delete(H)),this._rendererCache.set(H,Ze)),Ze}const U=M.id,Q=M.id+"-"+this._currentId;this._currentId++,this.engine.register(Q,m);const fe=Ze=>{Array.isArray(Ze)?Ze.forEach(fe):this.engine.registerTrigger(U,Q,m,Ze.name,Ze)};return M.data.animation.forEach(fe),new w(this,Q,H,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(m,M,O){m>=0&&m<this._microtaskId?this._zone.run(()=>M(O)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(H=>{const[U,Q]=H;U(Q)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([M,O]))}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(E=a).\u0275fac=function(m){return new(m||E)(N.LFG(N.FYo),N.LFG(si),N.LFG(N.R0b))},E.\u0275prov=N.Yz7({token:E,factory:E.\u0275fac}),a})();class Gi{constructor(a,c,m,M){this.namespaceId=a,this.delegate=c,this.engine=m,this._onDestroy=M}get data(){return this.delegate.data}destroyNode(a){this.delegate.destroyNode?.(a)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(a,c){return this.delegate.createElement(a,c)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,c){this.delegate.appendChild(a,c),this.engine.onInsert(this.namespaceId,c,a,!1)}insertBefore(a,c,m,M=!0){this.delegate.insertBefore(a,c,m),this.engine.onInsert(this.namespaceId,c,a,M)}removeChild(a,c,m){this.engine.onRemove(this.namespaceId,c,this.delegate)}selectRootElement(a,c){return this.delegate.selectRootElement(a,c)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,c,m,M){this.delegate.setAttribute(a,c,m,M)}removeAttribute(a,c,m){this.delegate.removeAttribute(a,c,m)}addClass(a,c){this.delegate.addClass(a,c)}removeClass(a,c){this.delegate.removeClass(a,c)}setStyle(a,c,m,M){this.delegate.setStyle(a,c,m,M)}removeStyle(a,c,m){this.delegate.removeStyle(a,c,m)}setProperty(a,c,m){"@"==c.charAt(0)&&c==fn?this.disableAnimations(a,!!m):this.delegate.setProperty(a,c,m)}setValue(a,c){this.delegate.setValue(a,c)}listen(a,c,m){return this.delegate.listen(a,c,m)}disableAnimations(a,c){this.engine.disableAnimations(a,c)}}class w extends Gi{constructor(a,c,m,M,O){super(c,m,M,O),this.factory=a,this.namespaceId=c}setProperty(a,c,m){"@"==c.charAt(0)?"."==c.charAt(1)&&c==fn?this.disableAnimations(a,m=void 0===m||!!m):this.engine.process(this.namespaceId,a,c.slice(1),m):this.delegate.setProperty(a,c,m)}listen(a,c,m){if("@"==c.charAt(0)){const M=function D(E){switch(E){case"body":return document.body;case"document":return document;case"window":return window;default:return E}}(a);let O=c.slice(1),H="";return"@"!=O.charAt(0)&&([O,H]=function R(E){const a=E.indexOf(".");return[E.substring(0,a),E.slice(a+1)]}(O)),this.engine.listen(this.namespaceId,M,O,H,U=>{this.factory.scheduleListenerCallback(U._data||-1,m,U)})}return this.delegate.listen(a,c,m)}}const Et=[{provide:se._j,useClass:Pi},{provide:Bs,useFactory:function k(){return new zt}},{provide:si,useClass:(()=>{var E;class a extends si{constructor(m,M,O,H){super(m.body,M,O)}ngOnDestroy(){this.flush()}}return(E=a).\u0275fac=function(m){return new(m||E)(N.LFG(ps.K0),N.LFG(gn),N.LFG(Bs),N.LFG(N.z2F))},E.\u0275prov=N.Yz7({token:E,factory:E.\u0275fac}),a})()},{provide:N.FYo,useFactory:function Be(E,a,c){return new no(E,a,c)},deps:[o.se,si,N.R0b]}],kn=[{provide:gn,useFactory:()=>new Pr},{provide:N.QbO,useValue:"BrowserAnimations"},...Et],Nr=[{provide:gn,useClass:as},{provide:N.QbO,useValue:"NoopAnimations"},...Et];let Hr=(()=>{var E;class a{static withConfig(m){return{ngModule:a,providers:m.disableAnimations?Nr:kn}}}return(E=a).\u0275fac=function(m){return new(m||E)},E.\u0275mod=N.oAB({type:E}),E.\u0275inj=N.cJS({providers:kn,imports:[o.b2]}),a})();const mi=["custom-toast-component",""];function zs(E,a){if(1&E){const c=N.EpF();N.TgZ(0,"a",11),N.NdJ("click",function(){N.CHM(c);const M=N.oxw(2);return N.KtG(M.remove())}),N._uU(1," x "),N.qZA()}}function ro(E,a){if(1&E&&(N.TgZ(0,"div",6)(1,"div",7)(2,"div",8)(3,"h4"),N._uU(4),N.qZA()()(),N.TgZ(5,"div",9),N.YNc(6,zs,2,0,"a",10),N.qZA()()),2&E){const c=N.oxw();N.Udp("display","inactive"===c.state.value?"none":""),N.xp6(2),N.Tol(c.options.titleClass),N.uIk("aria-label",c.title),N.xp6(2),N.Oqu(c.title),N.xp6(2),N.Q6J("ngIf",c.options.closeButton)}}const Wi=function(E){return{notitle:E}};function vi(E,a){if(1&E&&N._UZ(0,"div",12),2&E){const c=N.oxw();N.Tol(c.options.messageClass),N.Q6J("ngClass",N.VKq(4,Wi,null==c.title))("innerHTML",c.message,N.oJD)}}function so(E,a){if(1&E&&(N.TgZ(0,"div",13),N._uU(1),N.qZA()),2&E){const c=N.oxw();N.Tol(c.options.messageClass),N.Q6J("ngClass",N.VKq(5,Wi,null==c.title)),N.uIk("aria-label",c.message),N.xp6(1),N.hij(" ",c.message," ")}}function Io(E,a){if(1&E){const c=N.EpF();N.TgZ(0,"a",11),N.NdJ("click",function(){N.CHM(c);const M=N.oxw();return N.KtG(M.remove())}),N._uU(1," x "),N.qZA()}}function io(E,a){if(1&E&&(N.TgZ(0,"div"),N._UZ(1,"div",14),N.qZA()),2&E){const c=N.oxw();N.xp6(1),N.Udp("width",c.width+"%")}}let Yi=(()=>{var E;class a extends F.FN{constructor(m,M){super(m,M),this.toastrService=m,this.toastPackage=M}ngOnInit(){}action(m){return m.stopPropagation(),this.toastPackage.triggerAction(),!1}}return(E=a).\u0275fac=function(m){return new(m||E)(N.Y36(F._W),N.Y36(F.PR))},E.\u0275cmp=N.Xpm({type:E,selectors:[["","custom-toast-component",""]],features:[N.qOj],attrs:mi,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","row toast-body text-start","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","row toast-body text-start","role","alert","aria-live","polite",3,"ngClass","class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","px-0","text-start"],[1,"my-4"],[1,"col-auto","mt-5","pe-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body","text-start",3,"ngClass"],[1,"toast-progress"]],template:function(m,M){1&m&&(N.TgZ(0,"div",0),N.YNc(1,ro,7,7,"div",1),N.YNc(2,vi,1,6,"div",2),N.YNc(3,so,2,7,"div",3),N.YNc(4,Io,2,0,"a",4),N.YNc(5,io,2,2,"div",5),N.qZA()),2&m&&(N.xp6(1),N.Q6J("ngIf",M.title),N.xp6(1),N.Q6J("ngIf",M.message&&M.options.enableHtml),N.xp6(1),N.Q6J("ngIf",M.message&&!M.options.enableHtml),N.xp6(1),N.Q6J("ngIf",M.options.closeButton&&null==M.title),N.xp6(1),N.Q6J("ngIf",M.options.progressBar))},dependencies:[ps.mk,ps.O5],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:10px}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:1px solid gainsboro;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding:10px 15px 10px 0}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button[_ngcontent-%COMP%]{color:#dcdcdc!important}"],data:{animation:[(0,se.X$)("flyInOut",[(0,se.SB)("inactive",(0,se.oB)({opacity:0})),(0,se.eR)("inactive => active",(0,se.jt)("400ms ease-out",(0,se.F4)([(0,se.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,se.oB)({transform:"skewX(20deg)",opacity:1}),(0,se.oB)({transform:"skewX(-5deg)",opacity:1}),(0,se.oB)({transform:"none",opacity:1})]))),(0,se.eR)("active => removed",(0,se.jt)("400ms ease-out",(0,se.F4)([(0,se.oB)({opacity:1}),(0,se.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}}),a})();var oo=A(4911),ao=A(8504),fr=A(4829),Ps=A(5592),Tn=A(1631),Ki=A(4266),Ns=A(4674),qi=A(7400);const Ni=["addListener","removeListener"],oi=["addEventListener","removeEventListener"],lo=["on","off"];function ai(E,a,c,m){if((0,Ns.m)(c)&&(m=c,c=void 0),m)return ai(E,a,c).pipe((0,qi.Z)(m));const[M,O]=function Fi(E){return(0,Ns.m)(E.addEventListener)&&(0,Ns.m)(E.removeEventListener)}(E)?oi.map(H=>U=>E[H](a,U,c)):function Zi(E){return(0,Ns.m)(E.addListener)&&(0,Ns.m)(E.removeListener)}(E)?Ni.map(xi(E,a)):function Ao(E){return(0,Ns.m)(E.on)&&(0,Ns.m)(E.off)}(E)?lo.map(xi(E,a)):[];if(!M&&(0,Ki.z)(E))return(0,Tn.z)(H=>ai(H,a,c))((0,fr.Xf)(E));if(!M)throw new TypeError("Invalid event target");return new Ps.y(H=>{const U=(...Q)=>H.next(1<Q.length?Q:Q[0]);return M(U),()=>O(U)})}function xi(E,a){return c=>m=>E[c](a,m)}var Qi=A(2096),Li=A(5211),uo=A(8645),co=A(2420);const ms=new Ps.y(co.Z);var li=A(3019),vs=A(7398),f=A(2181),C=A(4664),L=A(3168),_=A(9360);const G={connector:()=>new uo.x};function ve(E,a=G){const{connector:c}=a;return(0,_.e)((m,M)=>{const O=c();(0,fr.Xf)(E(function x(E){return new Ps.y(a=>E.subscribe(a))}(O))).subscribe(M),M.add(m.subscribe(O))})}var Ut=A(8180),en=A(9397),at=A(7394);class un extends at.w0{constructor(a,c){super()}schedule(a,c=0){return this}}const qt={setInterval(E,a,...c){const{delegate:m}=qt;return m?.setInterval?m.setInterval(E,a,...c):setInterval(E,a,...c)},clearInterval(E){const{delegate:a}=qt;return(a?.clearInterval||clearInterval)(E)},delegate:void 0};var nn=A(9039),_r=A(4552);class qn{constructor(a,c=qn.now){this.schedulerActionCtor=a,this.now=c}schedule(a,c=0,m){return new this.schedulerActionCtor(this,a).schedule(m,c)}}qn.now=_r.l.now;const ys=new class wn extends qn{constructor(a,c=qn.now){super(a,c),this.actions=[],this._active=!1}flush(a){const{actions:c}=this;if(this._active)return void c.push(a);let m;this._active=!0;do{if(m=a.execute(a.state,a.delay))break}while(a=c.shift());if(this._active=!1,m){for(;a=c.shift();)a.unsubscribe();throw m}}}(class ns extends un{constructor(a,c){super(a,c),this.scheduler=a,this.work=c,this.pending=!1}schedule(a,c=0){var m;if(this.closed)return this;this.state=a;const M=this.id,O=this.scheduler;return null!=M&&(this.id=this.recycleAsyncId(O,M,c)),this.pending=!0,this.delay=c,this.id=null!==(m=this.id)&&void 0!==m?m:this.requestAsyncId(O,this.id,c),this}requestAsyncId(a,c,m=0){return qt.setInterval(a.flush.bind(a,this),m)}recycleAsyncId(a,c,m=0){if(null!=m&&this.delay===m&&!1===this.pending)return c;null!=c&&qt.clearInterval(c)}execute(a,c){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const m=this._execute(a,c);if(m)return m;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(a,c){let M,m=!1;try{this.work(a)}catch(O){m=!0,M=O||new Error("Scheduled action threw falsy error")}if(m)return this.unsubscribe(),M}unsubscribe(){if(!this.closed){const{id:a,scheduler:c}=this,{actions:m}=c;this.work=this.state=this.scheduler=null,this.pending=!1,(0,nn.P)(m,this),null!=a&&(this.id=this.recycleAsyncId(c,a,null)),this.delay=null,super.unsubscribe()}}}),xs=ys;var Gs=A(8251),ki=A(975);function Oo(E,a){return a?c=>(0,Li.z)(a.pipe((0,Ut.q)(1),function Ws(){return(0,_.e)((E,a)=>{E.subscribe((0,Gs.x)(a,co.Z))})}()),c.pipe(Oo(E))):(0,Tn.z)((c,m)=>(0,fr.Xf)(E(c,m)).pipe((0,Ut.q)(1),(0,ki.h)(c)))}var Ro=A(671);const wt="Service workers are disabled or not supported by this browser";class ho{constructor(a){if(this.serviceWorker=a,a){const m=ai(a,"controllerchange").pipe((0,vs.U)(()=>a.controller)),M=(0,oo.P)(()=>(0,Qi.of)(a.controller)),O=(0,Li.z)(M,m);this.worker=O.pipe((0,f.h)(tt=>!!tt)),this.registration=this.worker.pipe((0,C.w)(()=>a.getRegistration()));const fe=ai(a,"message").pipe((0,vs.U)(tt=>tt.data)).pipe((0,f.h)(tt=>tt&&tt.type)).pipe(function At(E){return E?a=>ve(E)(a):a=>function We(E,a){const c=(0,Ns.m)(E)?E:()=>E;return(0,Ns.m)(a)?ve(a,{connector:c}):m=>new L.c(m,c)}(new uo.x)(a)}());fe.connect(),this.events=fe}else this.worker=this.events=this.registration=function Po(E){return(0,oo.P)(()=>(0,ao._)(new Error(E)))}(wt)}postMessage(a,c){return this.worker.pipe((0,Ut.q)(1),(0,en.b)(m=>{m.postMessage({action:a,...c})})).toPromise().then(()=>{})}postMessageWithOperation(a,c,m){const M=this.waitForOperationCompleted(m),O=this.postMessage(a,c);return Promise.all([O,M]).then(([,H])=>H)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(a){let c;return c="string"==typeof a?m=>m.type===a:m=>a.includes(m.type),this.events.pipe((0,f.h)(c))}nextEventOfType(a){return this.eventsOfType(a).pipe((0,Ut.q)(1))}waitForOperationCompleted(a){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,f.h)(c=>c.nonce===a),(0,Ut.q)(1),(0,vs.U)(c=>{if(void 0!==c.result)return c.result;throw new Error(c.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let xr=(()=>{var E;class a{get isEnabled(){return this.sw.isEnabled}constructor(m){if(this.sw=m,this.pushManager=null,this.subscriptionChanges=new uo.x,!m.isEnabled)return this.messages=ms,this.notificationClicks=ms,void(this.subscription=ms);this.messages=this.sw.eventsOfType("PUSH").pipe((0,vs.U)(O=>O.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,vs.U)(O=>O.data)),this.pushManager=this.sw.registration.pipe((0,vs.U)(O=>O.pushManager));const M=this.pushManager.pipe((0,C.w)(O=>O.getSubscription()));this.subscription=(0,li.T)(M,this.subscriptionChanges)}requestSubscription(m){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(wt));const M={userVisibleOnly:!0};let O=this.decodeBase64(m.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),H=new Uint8Array(new ArrayBuffer(O.length));for(let U=0;U<O.length;U++)H[U]=O.charCodeAt(U);return M.applicationServerKey=H,this.pushManager.pipe((0,C.w)(U=>U.subscribe(M)),(0,Ut.q)(1)).toPromise().then(U=>(this.subscriptionChanges.next(U),U))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,Ut.q)(1),(0,C.w)(M=>{if(null===M)throw new Error("Not subscribed to push notifications.");return M.unsubscribe().then(O=>{if(!O)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(wt))}decodeBase64(m){return atob(m)}}return(E=a).\u0275fac=function(m){return new(m||E)(N.LFG(ho))},E.\u0275prov=N.Yz7({token:E,factory:E.\u0275fac}),a})(),No=(()=>{var E;class a{get isEnabled(){return this.sw.isEnabled}constructor(m){if(this.sw=m,!m.isEnabled)return this.versionUpdates=ms,this.available=ms,this.activated=ms,void(this.unrecoverable=ms);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe((0,f.h)(M=>"VERSION_READY"===M.type),(0,vs.U)(M=>({type:"UPDATE_AVAILABLE",current:M.currentVersion,available:M.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(wt));const m=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:m},m)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(wt));const m=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:m},m)}}return(E=a).\u0275fac=function(m){return new(m||E)(N.LFG(ho))},E.\u0275prov=N.Yz7({token:E,factory:E.\u0275fac}),a})();const po=new N.OlP("NGSW_REGISTER_SCRIPT");function Ji(E,a,c,m){return()=>{if(!(0,ps.NF)(m)||!("serviceWorker"in navigator)||!1===c.enabled)return;let M;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof c.registrationStrategy)M=c.registrationStrategy();else{const[H,...U]=(c.registrationStrategy||"registerWhenStable:30000").split(":");switch(H){case"registerImmediately":M=(0,Qi.of)(null);break;case"registerWithDelay":M=ui(+U[0]||0);break;case"registerWhenStable":M=U[0]?(0,li.T)(xo(E),ui(+U[0])):xo(E);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${c.registrationStrategy}`)}}E.get(N.R0b).runOutsideAngular(()=>M.pipe((0,Ut.q)(1)).subscribe(()=>navigator.serviceWorker.register(a,{scope:c.scope}).catch(H=>console.error("Service worker registration failed with:",H))))}}function ui(E){return(0,Qi.of)(null).pipe(function wa(E,a=ys){const c=function fo(E=0,a,c=xs){let m=-1;return null!=a&&((0,Ro.K)(a)?c=a:m=a),new Ps.y(M=>{let O=function yi(E){return E instanceof Date&&!isNaN(E)}(E)?+E-c.now():E;O<0&&(O=0);let H=0;return c.schedule(function(){M.closed||(M.next(H++),0<=m?this.schedule(void 0,m):M.complete())},O)})}(E,a);return Oo(()=>c)}(E))}function xo(E){return E.get(N.z2F).isStable.pipe((0,f.h)(c=>c))}function Fo(E,a){return new ho((0,ps.NF)(a)&&!1!==E.enabled?navigator.serviceWorker:void 0)}class Lo{}function cl(E,a={}){return(0,N.MR2)([xr,No,{provide:po,useValue:E},{provide:Lo,useValue:a},{provide:ho,useFactory:Fo,deps:[Lo,N.Lbi]},{provide:N.ip1,useFactory:Ji,deps:[N.zs3,po,Lo,N.Lbi],multi:!0}])}let ba=(()=>{var E;class a{static register(m,M={}){return{ngModule:a,providers:[cl(m,M)]}}}return(E=a).\u0275fac=function(m){return new(m||E)},E.\u0275mod=N.oAB({type:E}),E.\u0275inj=N.cJS({providers:[xr,No]}),a})();var Qt=A(3771),Sa=A(6306);let go=(()=>{var E;class a{constructor(m){this.toastr=m}intercept(m,M){return M.handle(m).pipe((0,Sa.K)(O=>{let H="";return O.error instanceof ErrorEvent?(console.log("This is client side error"),H=`Error: ${O.error.message}`,this.toastr.error(H,"Error")):(console.log("This is server side error"),H=`Error Code: ${O.status}, Message: ${O.message}`,this.toastr.error(H,"Error")),(0,ao._)(()=>H)}))}}return(E=a).\u0275fac=function(m){return new(m||E)(N.LFG(F._W))},E.\u0275prov=N.Yz7({token:E,factory:E.\u0275fac}),a})(),In=(()=>{var E;class a{}return(E=a).\u0275fac=function(m){return new(m||E)},E.\u0275mod=N.oAB({type:E,bootstrap:[we]}),E.\u0275inj=N.cJS({providers:[{provide:pe.TP,useClass:go,multi:!0}],imports:[o.b2,Te,j.u5,j.UX,pe.JF,Hr,Qt.fs.forRoot(),F.Rh.forRoot({toastComponent:Yi,positionClass:"toast-bottom-right",closeButton:!0}),ba.register("ngsw-worker.js",{enabled:true,registrationStrategy:"registerWhenStable:30000"})]}),a})();(0,N.G48)(),o.q6().bootstrapModule(In).catch(E=>console.error(E))},5619:(ut,_e,A)=>{A.d(_e,{X:()=>N});var o=A(8645);class N extends o.x{constructor(j){super(),this._value=j}get value(){return this.getValue()}_subscribe(j){const F=super._subscribe(j);return!F.closed&&j.next(this._value),F}getValue(){const{hasError:j,thrownError:F,_value:ne}=this;if(j)throw F;return this._throwIfClosed(),ne}next(j){super.next(this._value=j)}}},5592:(ut,_e,A)=>{A.d(_e,{y:()=>Me});var o=A(305),N=A(7394),pe=A(4850),j=A(8407),F=A(2653),ne=A(4674),we=A(1441);let Me=(()=>{class xe{constructor(Ee){Ee&&(this._subscribe=Ee)}lift(Ee){const Ye=new xe;return Ye.source=this,Ye.operator=Ee,Ye}subscribe(Ee,Ye,ct){const gt=function he(xe){return xe&&xe instanceof o.Lv||function se(xe){return xe&&(0,ne.m)(xe.next)&&(0,ne.m)(xe.error)&&(0,ne.m)(xe.complete)}(xe)&&(0,N.Nn)(xe)}(Ee)?Ee:new o.Hp(Ee,Ye,ct);return(0,we.x)(()=>{const{operator:Pt,source:Vt}=this;gt.add(Pt?Pt.call(gt,Vt):Vt?this._subscribe(gt):this._trySubscribe(gt))}),gt}_trySubscribe(Ee){try{return this._subscribe(Ee)}catch(Ye){Ee.error(Ye)}}forEach(Ee,Ye){return new(Ye=Te(Ye))((ct,gt)=>{const Pt=new o.Hp({next:Vt=>{try{Ee(Vt)}catch(Ae){gt(Ae),Pt.unsubscribe()}},error:gt,complete:ct});this.subscribe(Pt)})}_subscribe(Ee){var Ye;return null===(Ye=this.source)||void 0===Ye?void 0:Ye.subscribe(Ee)}[pe.L](){return this}pipe(...Ee){return(0,j.U)(Ee)(this)}toPromise(Ee){return new(Ee=Te(Ee))((Ye,ct)=>{let gt;this.subscribe(Pt=>gt=Pt,Pt=>ct(Pt),()=>Ye(gt))})}}return xe.create=Qe=>new xe(Qe),xe})();function Te(xe){var Qe;return null!==(Qe=xe??F.config.Promise)&&void 0!==Qe?Qe:Promise}},8645:(ut,_e,A)=>{A.d(_e,{x:()=>we});var o=A(5592),N=A(7394);const j=(0,A(2306).d)(Te=>function(){Te(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var F=A(9039),ne=A(1441);let we=(()=>{class Te extends o.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(he){const xe=new Me(this,this);return xe.operator=he,xe}_throwIfClosed(){if(this.closed)throw new j}next(he){(0,ne.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const xe of this.currentObservers)xe.next(he)}})}error(he){(0,ne.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=he;const{observers:xe}=this;for(;xe.length;)xe.shift().error(he)}})}complete(){(0,ne.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:he}=this;for(;he.length;)he.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var he;return(null===(he=this.observers)||void 0===he?void 0:he.length)>0}_trySubscribe(he){return this._throwIfClosed(),super._trySubscribe(he)}_subscribe(he){return this._throwIfClosed(),this._checkFinalizedStatuses(he),this._innerSubscribe(he)}_innerSubscribe(he){const{hasError:xe,isStopped:Qe,observers:Ee}=this;return xe||Qe?N.Lc:(this.currentObservers=null,Ee.push(he),new N.w0(()=>{this.currentObservers=null,(0,F.P)(Ee,he)}))}_checkFinalizedStatuses(he){const{hasError:xe,thrownError:Qe,isStopped:Ee}=this;xe?he.error(Qe):Ee&&he.complete()}asObservable(){const he=new o.y;return he.source=this,he}}return Te.create=(se,he)=>new Me(se,he),Te})();class Me extends we{constructor(se,he){super(),this.destination=se,this.source=he}next(se){var he,xe;null===(xe=null===(he=this.destination)||void 0===he?void 0:he.next)||void 0===xe||xe.call(he,se)}error(se){var he,xe;null===(xe=null===(he=this.destination)||void 0===he?void 0:he.error)||void 0===xe||xe.call(he,se)}complete(){var se,he;null===(he=null===(se=this.destination)||void 0===se?void 0:se.complete)||void 0===he||he.call(se)}_subscribe(se){var he,xe;return null!==(xe=null===(he=this.source)||void 0===he?void 0:he.subscribe(se))&&void 0!==xe?xe:N.Lc}}},305:(ut,_e,A)=>{A.d(_e,{Hp:()=>ct,Lv:()=>xe});var o=A(4674),N=A(7394),pe=A(2653),j=A(3894),F=A(2420);const ne=Te("C",void 0,void 0);function Te(X,ye,Ke){return{kind:X,value:ye,error:Ke}}var se=A(7599),he=A(1441);class xe extends N.w0{constructor(ye){super(),this.isStopped=!1,ye?(this.destination=ye,(0,N.Nn)(ye)&&ye.add(this)):this.destination=Ae}static create(ye,Ke,Je){return new ct(ye,Ke,Je)}next(ye){this.isStopped?Vt(function Me(X){return Te("N",X,void 0)}(ye),this):this._next(ye)}error(ye){this.isStopped?Vt(function we(X){return Te("E",void 0,X)}(ye),this):(this.isStopped=!0,this._error(ye))}complete(){this.isStopped?Vt(ne,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ye){this.destination.next(ye)}_error(ye){try{this.destination.error(ye)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Qe=Function.prototype.bind;function Ee(X,ye){return Qe.call(X,ye)}class Ye{constructor(ye){this.partialObserver=ye}next(ye){const{partialObserver:Ke}=this;if(Ke.next)try{Ke.next(ye)}catch(Je){gt(Je)}}error(ye){const{partialObserver:Ke}=this;if(Ke.error)try{Ke.error(ye)}catch(Je){gt(Je)}else gt(ye)}complete(){const{partialObserver:ye}=this;if(ye.complete)try{ye.complete()}catch(Ke){gt(Ke)}}}class ct extends xe{constructor(ye,Ke,Je){let re;if(super(),(0,o.m)(ye)||!ye)re={next:ye??void 0,error:Ke??void 0,complete:Je??void 0};else{let Oe;this&&pe.config.useDeprecatedNextContext?(Oe=Object.create(ye),Oe.unsubscribe=()=>this.unsubscribe(),re={next:ye.next&&Ee(ye.next,Oe),error:ye.error&&Ee(ye.error,Oe),complete:ye.complete&&Ee(ye.complete,Oe)}):re=ye}this.destination=new Ye(re)}}function gt(X){pe.config.useDeprecatedSynchronousErrorHandling?(0,he.O)(X):(0,j.h)(X)}function Vt(X,ye){const{onStoppedNotification:Ke}=pe.config;Ke&&se.z.setTimeout(()=>Ke(X,ye))}const Ae={closed:!0,next:F.Z,error:function Pt(X){throw X},complete:F.Z}},7394:(ut,_e,A)=>{A.d(_e,{Lc:()=>ne,w0:()=>F,Nn:()=>we});var o=A(4674);const pe=(0,A(2306).d)(Te=>function(he){Te(this),this.message=he?`${he.length} errors occurred during unsubscription:\n${he.map((xe,Qe)=>`${Qe+1}) ${xe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=he});var j=A(9039);class F{constructor(se){this.initialTeardown=se,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let se;if(!this.closed){this.closed=!0;const{_parentage:he}=this;if(he)if(this._parentage=null,Array.isArray(he))for(const Ee of he)Ee.remove(this);else he.remove(this);const{initialTeardown:xe}=this;if((0,o.m)(xe))try{xe()}catch(Ee){se=Ee instanceof pe?Ee.errors:[Ee]}const{_finalizers:Qe}=this;if(Qe){this._finalizers=null;for(const Ee of Qe)try{Me(Ee)}catch(Ye){se=se??[],Ye instanceof pe?se=[...se,...Ye.errors]:se.push(Ye)}}if(se)throw new pe(se)}}add(se){var he;if(se&&se!==this)if(this.closed)Me(se);else{if(se instanceof F){if(se.closed||se._hasParent(this))return;se._addParent(this)}(this._finalizers=null!==(he=this._finalizers)&&void 0!==he?he:[]).push(se)}}_hasParent(se){const{_parentage:he}=this;return he===se||Array.isArray(he)&&he.includes(se)}_addParent(se){const{_parentage:he}=this;this._parentage=Array.isArray(he)?(he.push(se),he):he?[he,se]:se}_removeParent(se){const{_parentage:he}=this;he===se?this._parentage=null:Array.isArray(he)&&(0,j.P)(he,se)}remove(se){const{_finalizers:he}=this;he&&(0,j.P)(he,se),se instanceof F&&se._removeParent(this)}}F.EMPTY=(()=>{const Te=new F;return Te.closed=!0,Te})();const ne=F.EMPTY;function we(Te){return Te instanceof F||Te&&"closed"in Te&&(0,o.m)(Te.remove)&&(0,o.m)(Te.add)&&(0,o.m)(Te.unsubscribe)}function Me(Te){(0,o.m)(Te)?Te():Te.unsubscribe()}},2653:(ut,_e,A)=>{A.d(_e,{config:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3168:(ut,_e,A)=>{A.d(_e,{c:()=>ne});var o=A(5592),N=A(7394),pe=A(6196),j=A(8251),F=A(9360);class ne extends o.y{constructor(Me,Te){super(),this.source=Me,this.subjectFactory=Te,this._subject=null,this._refCount=0,this._connection=null,(0,F.A)(Me)&&(this.lift=Me.lift)}_subscribe(Me){return this.getSubject().subscribe(Me)}getSubject(){const Me=this._subject;return(!Me||Me.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:Me}=this;this._subject=this._connection=null,Me?.unsubscribe()}connect(){let Me=this._connection;if(!Me){Me=this._connection=new N.w0;const Te=this.getSubject();Me.add(this.source.subscribe((0,j.x)(Te,void 0,()=>{this._teardown(),Te.complete()},se=>{this._teardown(),Te.error(se)},()=>this._teardown()))),Me.closed&&(this._connection=null,Me=N.w0.EMPTY)}return Me}refCount(){return(0,pe.x)()(this)}}},5211:(ut,_e,A)=>{A.d(_e,{z:()=>F});var o=A(7537),pe=A(9940),j=A(7715);function F(...ne){return function N(){return(0,o.J)(1)}()((0,j.D)(ne,(0,pe.yG)(ne)))}},4911:(ut,_e,A)=>{A.d(_e,{P:()=>pe});var o=A(5592),N=A(4829);function pe(j){return new o.y(F=>{(0,N.Xf)(j()).subscribe(F)})}},6232:(ut,_e,A)=>{A.d(_e,{E:()=>N});const N=new(A(5592).y)(F=>F.complete())},7715:(ut,_e,A)=>{A.d(_e,{D:()=>Je});var o=A(4829),N=A(7103),pe=A(9360),j=A(8251);function F(re,Oe=0){return(0,pe.e)((ke,Ue)=>{ke.subscribe((0,j.x)(Ue,Dt=>(0,N.f)(Ue,re,()=>Ue.next(Dt),Oe),()=>(0,N.f)(Ue,re,()=>Ue.complete(),Oe),Dt=>(0,N.f)(Ue,re,()=>Ue.error(Dt),Oe)))})}function ne(re,Oe=0){return(0,pe.e)((ke,Ue)=>{Ue.add(re.schedule(()=>ke.subscribe(Ue),Oe))})}var Te=A(5592),he=A(4971),xe=A(4674);function Ee(re,Oe){if(!re)throw new Error("Iterable cannot be null");return new Te.y(ke=>{(0,N.f)(ke,Oe,()=>{const Ue=re[Symbol.asyncIterator]();(0,N.f)(ke,Oe,()=>{Ue.next().then(Dt=>{Dt.done?ke.complete():ke.next(Dt.value)})},0,!0)})})}var Ye=A(8382),ct=A(4026),gt=A(4266),Pt=A(3664),Vt=A(5726),Ae=A(9853),X=A(541);function Je(re,Oe){return Oe?function Ke(re,Oe){if(null!=re){if((0,Ye.c)(re))return function we(re,Oe){return(0,o.Xf)(re).pipe(ne(Oe),F(Oe))}(re,Oe);if((0,gt.z)(re))return function se(re,Oe){return new Te.y(ke=>{let Ue=0;return Oe.schedule(function(){Ue===re.length?ke.complete():(ke.next(re[Ue++]),ke.closed||this.schedule())})})}(re,Oe);if((0,ct.t)(re))return function Me(re,Oe){return(0,o.Xf)(re).pipe(ne(Oe),F(Oe))}(re,Oe);if((0,Vt.D)(re))return Ee(re,Oe);if((0,Pt.T)(re))return function Qe(re,Oe){return new Te.y(ke=>{let Ue;return(0,N.f)(ke,Oe,()=>{Ue=re[he.h](),(0,N.f)(ke,Oe,()=>{let Dt,Ne;try{({value:Dt,done:Ne}=Ue.next())}catch(Le){return void ke.error(Le)}Ne?ke.complete():ke.next(Dt)},0,!0)}),()=>(0,xe.m)(Ue?.return)&&Ue.return()})}(re,Oe);if((0,X.L)(re))return function ye(re,Oe){return Ee((0,X.Q)(re),Oe)}(re,Oe)}throw(0,Ae.z)(re)}(re,Oe):(0,o.Xf)(re)}},4829:(ut,_e,A)=>{A.d(_e,{Xf:()=>Qe});var o=A(7582),N=A(4266),pe=A(4026),j=A(5592),F=A(8382),ne=A(5726),we=A(9853),Me=A(3664),Te=A(541),se=A(4674),he=A(3894),xe=A(4850);function Qe(X){if(X instanceof j.y)return X;if(null!=X){if((0,F.c)(X))return function Ee(X){return new j.y(ye=>{const Ke=X[xe.L]();if((0,se.m)(Ke.subscribe))return Ke.subscribe(ye);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(X);if((0,N.z)(X))return function Ye(X){return new j.y(ye=>{for(let Ke=0;Ke<X.length&&!ye.closed;Ke++)ye.next(X[Ke]);ye.complete()})}(X);if((0,pe.t)(X))return function ct(X){return new j.y(ye=>{X.then(Ke=>{ye.closed||(ye.next(Ke),ye.complete())},Ke=>ye.error(Ke)).then(null,he.h)})}(X);if((0,ne.D)(X))return Pt(X);if((0,Me.T)(X))return function gt(X){return new j.y(ye=>{for(const Ke of X)if(ye.next(Ke),ye.closed)return;ye.complete()})}(X);if((0,Te.L)(X))return function Vt(X){return Pt((0,Te.Q)(X))}(X)}throw(0,we.z)(X)}function Pt(X){return new j.y(ye=>{(function Ae(X,ye){var Ke,Je,re,Oe;return(0,o.mG)(this,void 0,void 0,function*(){try{for(Ke=(0,o.KL)(X);!(Je=yield Ke.next()).done;)if(ye.next(Je.value),ye.closed)return}catch(ke){re={error:ke}}finally{try{Je&&!Je.done&&(Oe=Ke.return)&&(yield Oe.call(Ke))}finally{if(re)throw re.error}}ye.complete()})})(X,ye).catch(Ke=>ye.error(Ke))})}},3019:(ut,_e,A)=>{A.d(_e,{T:()=>ne});var o=A(7537),N=A(4829),pe=A(6232),j=A(9940),F=A(7715);function ne(...we){const Me=(0,j.yG)(we),Te=(0,j._6)(we,1/0),se=we;return se.length?1===se.length?(0,N.Xf)(se[0]):(0,o.J)(Te)((0,F.D)(se,Me)):pe.E}},2096:(ut,_e,A)=>{A.d(_e,{of:()=>pe});var o=A(9940),N=A(7715);function pe(...j){const F=(0,o.yG)(j);return(0,N.D)(j,F)}},8504:(ut,_e,A)=>{A.d(_e,{_:()=>pe});var o=A(5592),N=A(4674);function pe(j,F){const ne=(0,N.m)(j)?j:()=>j,we=Me=>Me.error(ne());return new o.y(F?Me=>F.schedule(we,0,Me):we)}},8251:(ut,_e,A)=>{A.d(_e,{x:()=>N});var o=A(305);function N(j,F,ne,we,Me){return new pe(j,F,ne,we,Me)}class pe extends o.Lv{constructor(F,ne,we,Me,Te,se){super(F),this.onFinalize=Te,this.shouldUnsubscribe=se,this._next=ne?function(he){try{ne(he)}catch(xe){F.error(xe)}}:super._next,this._error=Me?function(he){try{Me(he)}catch(xe){F.error(xe)}finally{this.unsubscribe()}}:super._error,this._complete=we?function(){try{we()}catch(he){F.error(he)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var F;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ne}=this;super.unsubscribe(),!ne&&(null===(F=this.onFinalize)||void 0===F||F.call(this))}}}},6306:(ut,_e,A)=>{A.d(_e,{K:()=>j});var o=A(4829),N=A(8251),pe=A(9360);function j(F){return(0,pe.e)((ne,we)=>{let se,Me=null,Te=!1;Me=ne.subscribe((0,N.x)(we,void 0,void 0,he=>{se=(0,o.Xf)(F(he,j(F)(ne))),Me?(Me.unsubscribe(),Me=null,se.subscribe(we)):Te=!0})),Te&&(Me.unsubscribe(),Me=null,se.subscribe(we))})}},6328:(ut,_e,A)=>{A.d(_e,{b:()=>pe});var o=A(1631),N=A(4674);function pe(j,F){return(0,N.m)(F)?(0,o.z)(j,F,1):(0,o.z)(j,1)}},2181:(ut,_e,A)=>{A.d(_e,{h:()=>pe});var o=A(9360),N=A(8251);function pe(j,F){return(0,o.e)((ne,we)=>{let Me=0;ne.subscribe((0,N.x)(we,Te=>j.call(F,Te,Me++)&&we.next(Te)))})}},4716:(ut,_e,A)=>{A.d(_e,{x:()=>N});var o=A(9360);function N(pe){return(0,o.e)((j,F)=>{try{j.subscribe(F)}finally{F.add(pe)}})}},7398:(ut,_e,A)=>{A.d(_e,{U:()=>pe});var o=A(9360),N=A(8251);function pe(j,F){return(0,o.e)((ne,we)=>{let Me=0;ne.subscribe((0,N.x)(we,Te=>{we.next(j.call(F,Te,Me++))}))})}},975:(ut,_e,A)=>{A.d(_e,{h:()=>N});var o=A(7398);function N(pe){return(0,o.U)(()=>pe)}},7537:(ut,_e,A)=>{A.d(_e,{J:()=>pe});var o=A(1631),N=A(2737);function pe(j=1/0){return(0,o.z)(N.y,j)}},1631:(ut,_e,A)=>{A.d(_e,{z:()=>Me});var o=A(7398),N=A(4829),pe=A(9360),j=A(7103),F=A(8251),we=A(4674);function Me(Te,se,he=1/0){return(0,we.m)(se)?Me((xe,Qe)=>(0,o.U)((Ee,Ye)=>se(xe,Ee,Qe,Ye))((0,N.Xf)(Te(xe,Qe))),he):("number"==typeof se&&(he=se),(0,pe.e)((xe,Qe)=>function ne(Te,se,he,xe,Qe,Ee,Ye,ct){const gt=[];let Pt=0,Vt=0,Ae=!1;const X=()=>{Ae&&!gt.length&&!Pt&&se.complete()},ye=Je=>Pt<xe?Ke(Je):gt.push(Je),Ke=Je=>{Ee&&se.next(Je),Pt++;let re=!1;(0,N.Xf)(he(Je,Vt++)).subscribe((0,F.x)(se,Oe=>{Qe?.(Oe),Ee?ye(Oe):se.next(Oe)},()=>{re=!0},void 0,()=>{if(re)try{for(Pt--;gt.length&&Pt<xe;){const Oe=gt.shift();Ye?(0,j.f)(se,Ye,()=>Ke(Oe)):Ke(Oe)}X()}catch(Oe){se.error(Oe)}}))};return Te.subscribe((0,F.x)(se,ye,()=>{Ae=!0,X()})),()=>{ct?.()}}(xe,Qe,Te,he)))}},6196:(ut,_e,A)=>{A.d(_e,{x:()=>pe});var o=A(9360),N=A(8251);function pe(){return(0,o.e)((j,F)=>{let ne=null;j._refCount++;const we=(0,N.x)(F,void 0,void 0,void 0,()=>{if(!j||j._refCount<=0||0<--j._refCount)return void(ne=null);const Me=j._connection,Te=ne;ne=null,Me&&(!Te||Me===Te)&&Me.unsubscribe(),F.unsubscribe()});j.subscribe(we),we.closed||(ne=j.connect())})}},3020:(ut,_e,A)=>{A.d(_e,{B:()=>F});var o=A(4829),N=A(8645),pe=A(305),j=A(9360);function F(we={}){const{connector:Me=(()=>new N.x),resetOnError:Te=!0,resetOnComplete:se=!0,resetOnRefCountZero:he=!0}=we;return xe=>{let Qe,Ee,Ye,ct=0,gt=!1,Pt=!1;const Vt=()=>{Ee?.unsubscribe(),Ee=void 0},Ae=()=>{Vt(),Qe=Ye=void 0,gt=Pt=!1},X=()=>{const ye=Qe;Ae(),ye?.unsubscribe()};return(0,j.e)((ye,Ke)=>{ct++,!Pt&&!gt&&Vt();const Je=Ye=Ye??Me();Ke.add(()=>{ct--,0===ct&&!Pt&&!gt&&(Ee=ne(X,he))}),Je.subscribe(Ke),!Qe&&ct>0&&(Qe=new pe.Hp({next:re=>Je.next(re),error:re=>{Pt=!0,Vt(),Ee=ne(Ae,Te,re),Je.error(re)},complete:()=>{gt=!0,Vt(),Ee=ne(Ae,se),Je.complete()}}),(0,o.Xf)(ye).subscribe(Qe))})(xe)}}function ne(we,Me,...Te){if(!0===Me)return void we();if(!1===Me)return;const se=new pe.Hp({next:()=>{se.unsubscribe(),we()}});return(0,o.Xf)(Me(...Te)).subscribe(se)}},4664:(ut,_e,A)=>{A.d(_e,{w:()=>j});var o=A(4829),N=A(9360),pe=A(8251);function j(F,ne){return(0,N.e)((we,Me)=>{let Te=null,se=0,he=!1;const xe=()=>he&&!Te&&Me.complete();we.subscribe((0,pe.x)(Me,Qe=>{Te?.unsubscribe();let Ee=0;const Ye=se++;(0,o.Xf)(F(Qe,Ye)).subscribe(Te=(0,pe.x)(Me,ct=>Me.next(ne?ne(Qe,ct,Ye,Ee++):ct),()=>{Te=null,xe()}))},()=>{he=!0,xe()}))})}},8180:(ut,_e,A)=>{A.d(_e,{q:()=>j});var o=A(6232),N=A(9360),pe=A(8251);function j(F){return F<=0?()=>o.E:(0,N.e)((ne,we)=>{let Me=0;ne.subscribe((0,pe.x)(we,Te=>{++Me<=F&&(we.next(Te),F<=Me&&we.complete())}))})}},9397:(ut,_e,A)=>{A.d(_e,{b:()=>F});var o=A(4674),N=A(9360),pe=A(8251),j=A(2737);function F(ne,we,Me){const Te=(0,o.m)(ne)||we||Me?{next:ne,error:we,complete:Me}:ne;return Te?(0,N.e)((se,he)=>{var xe;null===(xe=Te.subscribe)||void 0===xe||xe.call(Te);let Qe=!0;se.subscribe((0,pe.x)(he,Ee=>{var Ye;null===(Ye=Te.next)||void 0===Ye||Ye.call(Te,Ee),he.next(Ee)},()=>{var Ee;Qe=!1,null===(Ee=Te.complete)||void 0===Ee||Ee.call(Te),he.complete()},Ee=>{var Ye;Qe=!1,null===(Ye=Te.error)||void 0===Ye||Ye.call(Te,Ee),he.error(Ee)},()=>{var Ee,Ye;Qe&&(null===(Ee=Te.unsubscribe)||void 0===Ee||Ee.call(Te)),null===(Ye=Te.finalize)||void 0===Ye||Ye.call(Te)}))}):j.y}},4552:(ut,_e,A)=>{A.d(_e,{l:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},7599:(ut,_e,A)=>{A.d(_e,{z:()=>o});const o={setTimeout(N,pe,...j){const{delegate:F}=o;return F?.setTimeout?F.setTimeout(N,pe,...j):setTimeout(N,pe,...j)},clearTimeout(N){const{delegate:pe}=o;return(pe?.clearTimeout||clearTimeout)(N)},delegate:void 0}},4971:(ut,_e,A)=>{A.d(_e,{h:()=>N});const N=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(ut,_e,A)=>{A.d(_e,{L:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},9940:(ut,_e,A)=>{A.d(_e,{_6:()=>ne,jO:()=>j,yG:()=>F});var o=A(4674),N=A(671);function pe(we){return we[we.length-1]}function j(we){return(0,o.m)(pe(we))?we.pop():void 0}function F(we){return(0,N.K)(pe(we))?we.pop():void 0}function ne(we,Me){return"number"==typeof pe(we)?we.pop():Me}},7453:(ut,_e,A)=>{A.d(_e,{D:()=>F});const{isArray:o}=Array,{getPrototypeOf:N,prototype:pe,keys:j}=Object;function F(we){if(1===we.length){const Me=we[0];if(o(Me))return{args:Me,keys:null};if(function ne(we){return we&&"object"==typeof we&&N(we)===pe}(Me)){const Te=j(Me);return{args:Te.map(se=>Me[se]),keys:Te}}}return{args:we,keys:null}}},9039:(ut,_e,A)=>{function o(N,pe){if(N){const j=N.indexOf(pe);0<=j&&N.splice(j,1)}}A.d(_e,{P:()=>o})},2306:(ut,_e,A)=>{function o(N){const j=N(F=>{Error.call(F),F.stack=(new Error).stack});return j.prototype=Object.create(Error.prototype),j.prototype.constructor=j,j}A.d(_e,{d:()=>o})},2714:(ut,_e,A)=>{function o(N,pe){return N.reduce((j,F,ne)=>(j[F]=pe[ne],j),{})}A.d(_e,{n:()=>o})},1441:(ut,_e,A)=>{A.d(_e,{O:()=>j,x:()=>pe});var o=A(2653);let N=null;function pe(F){if(o.config.useDeprecatedSynchronousErrorHandling){const ne=!N;if(ne&&(N={errorThrown:!1,error:null}),F(),ne){const{errorThrown:we,error:Me}=N;if(N=null,we)throw Me}}else F()}function j(F){o.config.useDeprecatedSynchronousErrorHandling&&N&&(N.errorThrown=!0,N.error=F)}},7103:(ut,_e,A)=>{function o(N,pe,j,F=0,ne=!1){const we=pe.schedule(function(){j(),ne?N.add(this.schedule(null,F)):this.unsubscribe()},F);if(N.add(we),!ne)return we}A.d(_e,{f:()=>o})},2737:(ut,_e,A)=>{function o(N){return N}A.d(_e,{y:()=>o})},4266:(ut,_e,A)=>{A.d(_e,{z:()=>o});const o=N=>N&&"number"==typeof N.length&&"function"!=typeof N},5726:(ut,_e,A)=>{A.d(_e,{D:()=>N});var o=A(4674);function N(pe){return Symbol.asyncIterator&&(0,o.m)(pe?.[Symbol.asyncIterator])}},4674:(ut,_e,A)=>{function o(N){return"function"==typeof N}A.d(_e,{m:()=>o})},8382:(ut,_e,A)=>{A.d(_e,{c:()=>pe});var o=A(4850),N=A(4674);function pe(j){return(0,N.m)(j[o.L])}},3664:(ut,_e,A)=>{A.d(_e,{T:()=>pe});var o=A(4971),N=A(4674);function pe(j){return(0,N.m)(j?.[o.h])}},4026:(ut,_e,A)=>{A.d(_e,{t:()=>N});var o=A(4674);function N(pe){return(0,o.m)(pe?.then)}},541:(ut,_e,A)=>{A.d(_e,{L:()=>j,Q:()=>pe});var o=A(7582),N=A(4674);function pe(F){return(0,o.FC)(this,arguments,function*(){const we=F.getReader();try{for(;;){const{value:Me,done:Te}=yield(0,o.qq)(we.read());if(Te)return yield(0,o.qq)(void 0);yield yield(0,o.qq)(Me)}}finally{we.releaseLock()}})}function j(F){return(0,N.m)(F?.getReader)}},671:(ut,_e,A)=>{A.d(_e,{K:()=>N});var o=A(4674);function N(pe){return pe&&(0,o.m)(pe.schedule)}},9360:(ut,_e,A)=>{A.d(_e,{A:()=>N,e:()=>pe});var o=A(4674);function N(j){return(0,o.m)(j?.lift)}function pe(j){return F=>{if(N(F))return F.lift(function(ne){try{return j(ne,this)}catch(we){this.error(we)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(ut,_e,A)=>{A.d(_e,{Z:()=>j});var o=A(7398);const{isArray:N}=Array;function j(F){return(0,o.U)(ne=>function pe(F,ne){return N(ne)?F(...ne):F(ne)}(F,ne))}},2420:(ut,_e,A)=>{function o(){}A.d(_e,{Z:()=>o})},8407:(ut,_e,A)=>{A.d(_e,{U:()=>pe,z:()=>N});var o=A(2737);function N(...j){return pe(j)}function pe(j){return 0===j.length?o.y:1===j.length?j[0]:function(ne){return j.reduce((we,Me)=>Me(we),ne)}}},3894:(ut,_e,A)=>{A.d(_e,{h:()=>pe});var o=A(2653),N=A(7599);function pe(j){N.z.setTimeout(()=>{const{onUnhandledError:F}=o.config;if(!F)throw j;F(j)})}},9853:(ut,_e,A)=>{function o(N){return new TypeError(`You provided ${null!==N&&"object"==typeof N?"an invalid object":`'${N}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}A.d(_e,{z:()=>o})},6825:(ut,_e,A)=>{A.d(_e,{F4:()=>se,LC:()=>N,SB:()=>Te,X$:()=>j,ZE:()=>Pt,ZN:()=>gt,_j:()=>o,eR:()=>he,jt:()=>F,k1:()=>Vt,l3:()=>pe,oB:()=>Me,vP:()=>we});class o{}class N{}const pe="*";function j(Ae,X){return{type:7,name:Ae,definitions:X,options:{}}}function F(Ae,X=null){return{type:4,styles:X,timings:Ae}}function we(Ae,X=null){return{type:2,steps:Ae,options:X}}function Me(Ae){return{type:6,styles:Ae,offset:null}}function Te(Ae,X,ye){return{type:0,name:Ae,styles:X,options:ye}}function se(Ae){return{type:5,steps:Ae}}function he(Ae,X,ye=null){return{type:1,expr:Ae,animation:X,options:ye}}class gt{constructor(X=0,ye=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=X+ye}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(X=>X()),this._onDoneFns=[])}onStart(X){this._originalOnStartFns.push(X),this._onStartFns.push(X)}onDone(X){this._originalOnDoneFns.push(X),this._onDoneFns.push(X)}onDestroy(X){this._onDestroyFns.push(X)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(X=>X()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(X=>X()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(X){this._position=this.totalTime?X*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(X){const ye="start"==X?this._onStartFns:this._onDoneFns;ye.forEach(Ke=>Ke()),ye.length=0}}class Pt{constructor(X){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=X;let ye=0,Ke=0,Je=0;const re=this.players.length;0==re?queueMicrotask(()=>this._onFinish()):this.players.forEach(Oe=>{Oe.onDone(()=>{++ye==re&&this._onFinish()}),Oe.onDestroy(()=>{++Ke==re&&this._onDestroy()}),Oe.onStart(()=>{++Je==re&&this._onStart()})}),this.totalTime=this.players.reduce((Oe,ke)=>Math.max(Oe,ke.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(X=>X()),this._onDoneFns=[])}init(){this.players.forEach(X=>X.init())}onStart(X){this._onStartFns.push(X)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(X=>X()),this._onStartFns=[])}onDone(X){this._onDoneFns.push(X)}onDestroy(X){this._onDestroyFns.push(X)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(X=>X.play())}pause(){this.players.forEach(X=>X.pause())}restart(){this.players.forEach(X=>X.restart())}finish(){this._onFinish(),this.players.forEach(X=>X.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(X=>X.destroy()),this._onDestroyFns.forEach(X=>X()),this._onDestroyFns=[])}reset(){this.players.forEach(X=>X.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(X){const ye=X*this.totalTime;this.players.forEach(Ke=>{const Je=Ke.totalTime?Math.min(1,ye/Ke.totalTime):1;Ke.setPosition(Je)})}getPosition(){const X=this.players.reduce((ye,Ke)=>null===ye||Ke.totalTime>ye.totalTime?Ke:ye,null);return null!=X?X.getPosition():0}beforeDestroy(){this.players.forEach(X=>{X.beforeDestroy&&X.beforeDestroy()})}triggerCallback(X){const ye="start"==X?this._onStartFns:this._onDoneFns;ye.forEach(Ke=>Ke()),ye.length=0}}const Vt="!"},6814:(ut,_e,A)=>{A.d(_e,{Do:()=>ct,EM:()=>Ir,HT:()=>j,JF:()=>yr,JJ:()=>Zr,K0:()=>ne,Mx:()=>ir,NF:()=>mr,O5:()=>ur,Ov:()=>Ts,PM:()=>zr,S$:()=>Qe,V_:()=>Me,Ye:()=>gt,b0:()=>Ye,bD:()=>Qr,ez:()=>Xn,mk:()=>Bt,q:()=>pe,sg:()=>dn,uU:()=>As,w_:()=>F});var o=A(8926);let N=null;function pe(){return N}function j(f){N||(N=f)}class F{}const ne=new o.OlP("DocumentToken");let we=(()=>{var f;class C{historyGo(_){throw new Error("Not implemented")}}return(f=C).\u0275fac=function(_){return new(_||f)},f.\u0275prov=o.Yz7({token:f,factory:function(){return(0,o.f3M)(Te)},providedIn:"platform"}),C})();const Me=new o.OlP("Location Initialized");let Te=(()=>{var f;class C extends we{constructor(){super(),this._doc=(0,o.f3M)(ne),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return pe().getBaseHref(this._doc)}onPopState(_){const x=pe().getGlobalEventTarget(this._doc,"window");return x.addEventListener("popstate",_,!1),()=>x.removeEventListener("popstate",_)}onHashChange(_){const x=pe().getGlobalEventTarget(this._doc,"window");return x.addEventListener("hashchange",_,!1),()=>x.removeEventListener("hashchange",_)}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(_){this._location.pathname=_}pushState(_,x,G){this._history.pushState(_,x,G)}replaceState(_,x,G){this._history.replaceState(_,x,G)}forward(){this._history.forward()}back(){this._history.back()}historyGo(_=0){this._history.go(_)}getState(){return this._history.state}}return(f=C).\u0275fac=function(_){return new(_||f)},f.\u0275prov=o.Yz7({token:f,factory:function(){return new f},providedIn:"platform"}),C})();function se(f,C){if(0==f.length)return C;if(0==C.length)return f;let L=0;return f.endsWith("/")&&L++,C.startsWith("/")&&L++,2==L?f+C.substring(1):1==L?f+C:f+"/"+C}function he(f){const C=f.match(/#|\?|$/),L=C&&C.index||f.length;return f.slice(0,L-("/"===f[L-1]?1:0))+f.slice(L)}function xe(f){return f&&"?"!==f[0]?"?"+f:f}let Qe=(()=>{var f;class C{historyGo(_){throw new Error("Not implemented")}}return(f=C).\u0275fac=function(_){return new(_||f)},f.\u0275prov=o.Yz7({token:f,factory:function(){return(0,o.f3M)(Ye)},providedIn:"root"}),C})();const Ee=new o.OlP("appBaseHref");let Ye=(()=>{var f;class C extends Qe{constructor(_,x){super(),this._platformLocation=_,this._removeListenerFns=[],this._baseHref=x??this._platformLocation.getBaseHrefFromDOM()??(0,o.f3M)(ne).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}prepareExternalUrl(_){return se(this._baseHref,_)}path(_=!1){const x=this._platformLocation.pathname+xe(this._platformLocation.search),G=this._platformLocation.hash;return G&&_?`${x}${G}`:x}pushState(_,x,G,ve){const We=this.prepareExternalUrl(G+xe(ve));this._platformLocation.pushState(_,x,We)}replaceState(_,x,G,ve){const We=this.prepareExternalUrl(G+xe(ve));this._platformLocation.replaceState(_,x,We)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return(f=C).\u0275fac=function(_){return new(_||f)(o.LFG(we),o.LFG(Ee,8))},f.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),C})(),ct=(()=>{var f;class C extends Qe{constructor(_,x){super(),this._platformLocation=_,this._baseHref="",this._removeListenerFns=[],null!=x&&(this._baseHref=x)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}path(_=!1){let x=this._platformLocation.hash;return null==x&&(x="#"),x.length>0?x.substring(1):x}prepareExternalUrl(_){const x=se(this._baseHref,_);return x.length>0?"#"+x:x}pushState(_,x,G,ve){let We=this.prepareExternalUrl(G+xe(ve));0==We.length&&(We=this._platformLocation.pathname),this._platformLocation.pushState(_,x,We)}replaceState(_,x,G,ve){let We=this.prepareExternalUrl(G+xe(ve));0==We.length&&(We=this._platformLocation.pathname),this._platformLocation.replaceState(_,x,We)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return(f=C).\u0275fac=function(_){return new(_||f)(o.LFG(we),o.LFG(Ee,8))},f.\u0275prov=o.Yz7({token:f,factory:f.\u0275fac}),C})(),gt=(()=>{var f;class C{constructor(_){this._subject=new o.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=_;const x=this._locationStrategy.getBaseHref();this._basePath=function X(f){if(new RegExp("^(https?:)?//").test(f)){const[,L]=f.split(/\/\/[^\/]+/);return L}return f}(he(Ae(x))),this._locationStrategy.onPopState(G=>{this._subject.emit({url:this.path(!0),pop:!0,state:G.state,type:G.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(_=!1){return this.normalize(this._locationStrategy.path(_))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(_,x=""){return this.path()==this.normalize(_+xe(x))}normalize(_){return C.stripTrailingSlash(function Vt(f,C){if(!f||!C.startsWith(f))return C;const L=C.substring(f.length);return""===L||["/",";","?","#"].includes(L[0])?L:C}(this._basePath,Ae(_)))}prepareExternalUrl(_){return _&&"/"!==_[0]&&(_="/"+_),this._locationStrategy.prepareExternalUrl(_)}go(_,x="",G=null){this._locationStrategy.pushState(G,"",_,x),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+xe(x)),G)}replaceState(_,x="",G=null){this._locationStrategy.replaceState(G,"",_,x),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+xe(x)),G)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(_=0){this._locationStrategy.historyGo?.(_)}onUrlChange(_){return this._urlChangeListeners.push(_),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(x=>{this._notifyUrlChangeListeners(x.url,x.state)})),()=>{const x=this._urlChangeListeners.indexOf(_);this._urlChangeListeners.splice(x,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(_="",x){this._urlChangeListeners.forEach(G=>G(_,x))}subscribe(_,x,G){return this._subject.subscribe({next:_,error:x,complete:G})}}return(f=C).normalizeQueryParams=xe,f.joinWithSlash=se,f.stripTrailingSlash=he,f.\u0275fac=function(_){return new(_||f)(o.LFG(Qe))},f.\u0275prov=o.Yz7({token:f,factory:function(){return function Pt(){return new gt((0,o.LFG)(Qe))}()},providedIn:"root"}),C})();function Ae(f){return f.replace(/\/index.html$/,"")}var Ke=function(f){return f[f.Decimal=0]="Decimal",f[f.Percent=1]="Percent",f[f.Currency=2]="Currency",f[f.Scientific=3]="Scientific",f}(Ke||{}),re=function(f){return f[f.Format=0]="Format",f[f.Standalone=1]="Standalone",f}(re||{}),Oe=function(f){return f[f.Narrow=0]="Narrow",f[f.Abbreviated=1]="Abbreviated",f[f.Wide=2]="Wide",f[f.Short=3]="Short",f}(Oe||{}),ke=function(f){return f[f.Short=0]="Short",f[f.Medium=1]="Medium",f[f.Long=2]="Long",f[f.Full=3]="Full",f}(ke||{}),Ue=function(f){return f[f.Decimal=0]="Decimal",f[f.Group=1]="Group",f[f.List=2]="List",f[f.PercentSign=3]="PercentSign",f[f.PlusSign=4]="PlusSign",f[f.MinusSign=5]="MinusSign",f[f.Exponential=6]="Exponential",f[f.SuperscriptingExponent=7]="SuperscriptingExponent",f[f.PerMille=8]="PerMille",f[f.Infinity=9]="Infinity",f[f.NaN=10]="NaN",f[f.TimeSeparator=11]="TimeSeparator",f[f.CurrencyDecimal=12]="CurrencyDecimal",f[f.CurrencyGroup=13]="CurrencyGroup",f}(Ue||{});function ie(f,C){return ft((0,o.cg1)(f)[o.wAp.DateFormat],C)}function De(f,C){return ft((0,o.cg1)(f)[o.wAp.TimeFormat],C)}function me(f,C){return ft((0,o.cg1)(f)[o.wAp.DateTimeFormat],C)}function Ve(f,C){const L=(0,o.cg1)(f),_=L[o.wAp.NumberSymbols][C];if(typeof _>"u"){if(C===Ue.CurrencyDecimal)return L[o.wAp.NumberSymbols][Ue.Decimal];if(C===Ue.CurrencyGroup)return L[o.wAp.NumberSymbols][Ue.Group]}return _}function Y(f){if(!f[o.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${f[o.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ft(f,C){for(let L=C;L>-1;L--)if(typeof f[L]<"u")return f[L];throw new Error("Locale data API: locale data undefined")}function On(f){const[C,L]=f.split(":");return{hours:+C,minutes:+L}}const Pn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Wn={},bn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var pn=function(f){return f[f.Short=0]="Short",f[f.ShortGMT=1]="ShortGMT",f[f.Long=2]="Long",f[f.Extended=3]="Extended",f}(pn||{}),Ot=function(f){return f[f.FullYear=0]="FullYear",f[f.Month=1]="Month",f[f.Date=2]="Date",f[f.Hours=3]="Hours",f[f.Minutes=4]="Minutes",f[f.Seconds=5]="Seconds",f[f.FractionalSeconds=6]="FractionalSeconds",f[f.Day=7]="Day",f}(Ot||{}),bt=function(f){return f[f.DayPeriods=0]="DayPeriods",f[f.Days=1]="Days",f[f.Months=2]="Months",f[f.Eras=3]="Eras",f}(bt||{});function Yr(f,C,L,_){let x=function de(f){if(ce(f))return f;if("number"==typeof f&&!isNaN(f))return new Date(f);if("string"==typeof f){if(f=f.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(f)){const[x,G=1,ve=1]=f.split("-").map(We=>+We);return Tt(x,G-1,ve)}const L=parseFloat(f);if(!isNaN(f-L))return new Date(L);let _;if(_=f.match(Pn))return function K(f){const C=new Date(0);let L=0,_=0;const x=f[8]?C.setUTCFullYear:C.setFullYear,G=f[8]?C.setUTCHours:C.setHours;f[9]&&(L=Number(f[9]+f[10]),_=Number(f[9]+f[11])),x.call(C,Number(f[1]),Number(f[2])-1,Number(f[3]));const ve=Number(f[4]||0)-L,We=Number(f[5]||0)-_,At=Number(f[6]||0),Ut=Math.floor(1e3*parseFloat("0."+(f[7]||0)));return G.call(C,ve,We,At,Ut),C}(_)}const C=new Date(f);if(!ce(C))throw new Error(`Unable to convert "${f}" into a date`);return C}(f);C=Cn(L,C)||C;let We,ve=[];for(;C;){if(We=bn.exec(C),!We){ve.push(C);break}{ve=ve.concat(We.slice(1));const en=ve.pop();if(!en)break;C=en}}let At=x.getTimezoneOffset();_&&(At=wr(_,At),x=function Jn(f,C,L){const _=L?-1:1,x=f.getTimezoneOffset();return function br(f,C){return(f=new Date(f.getTime())).setMinutes(f.getMinutes()+C),f}(f,_*(wr(C,x)-x))}(x,_,!0));let Ut="";return ve.forEach(en=>{const at=function Qn(f){if(sr[f])return sr[f];let C;switch(f){case"G":case"GG":case"GGG":C=tn(bt.Eras,Oe.Abbreviated);break;case"GGGG":C=tn(bt.Eras,Oe.Wide);break;case"GGGGG":C=tn(bt.Eras,Oe.Narrow);break;case"y":C=gn(Ot.FullYear,1,0,!1,!0);break;case"yy":C=gn(Ot.FullYear,2,0,!0,!0);break;case"yyy":C=gn(Ot.FullYear,3,0,!1,!0);break;case"yyyy":C=gn(Ot.FullYear,4,0,!1,!0);break;case"Y":C=Fn(1);break;case"YY":C=Fn(2,!0);break;case"YYY":C=Fn(3);break;case"YYYY":C=Fn(4);break;case"M":case"L":C=gn(Ot.Month,1,1);break;case"MM":case"LL":C=gn(Ot.Month,2,1);break;case"MMM":C=tn(bt.Months,Oe.Abbreviated);break;case"MMMM":C=tn(bt.Months,Oe.Wide);break;case"MMMMM":C=tn(bt.Months,Oe.Narrow);break;case"LLL":C=tn(bt.Months,Oe.Abbreviated,re.Standalone);break;case"LLLL":C=tn(bt.Months,Oe.Wide,re.Standalone);break;case"LLLLL":C=tn(bt.Months,Oe.Narrow,re.Standalone);break;case"w":C=Lr(1);break;case"ww":C=Lr(2);break;case"W":C=Lr(1,!0);break;case"d":C=gn(Ot.Date,1);break;case"dd":C=gn(Ot.Date,2);break;case"c":case"cc":C=gn(Ot.Day,1);break;case"ccc":C=tn(bt.Days,Oe.Abbreviated,re.Standalone);break;case"cccc":C=tn(bt.Days,Oe.Wide,re.Standalone);break;case"ccccc":C=tn(bt.Days,Oe.Narrow,re.Standalone);break;case"cccccc":C=tn(bt.Days,Oe.Short,re.Standalone);break;case"E":case"EE":case"EEE":C=tn(bt.Days,Oe.Abbreviated);break;case"EEEE":C=tn(bt.Days,Oe.Wide);break;case"EEEEE":C=tn(bt.Days,Oe.Narrow);break;case"EEEEEE":C=tn(bt.Days,Oe.Short);break;case"a":case"aa":case"aaa":C=tn(bt.DayPeriods,Oe.Abbreviated);break;case"aaaa":C=tn(bt.DayPeriods,Oe.Wide);break;case"aaaaa":C=tn(bt.DayPeriods,Oe.Narrow);break;case"b":case"bb":case"bbb":C=tn(bt.DayPeriods,Oe.Abbreviated,re.Standalone,!0);break;case"bbbb":C=tn(bt.DayPeriods,Oe.Wide,re.Standalone,!0);break;case"bbbbb":C=tn(bt.DayPeriods,Oe.Narrow,re.Standalone,!0);break;case"B":case"BB":case"BBB":C=tn(bt.DayPeriods,Oe.Abbreviated,re.Format,!0);break;case"BBBB":C=tn(bt.DayPeriods,Oe.Wide,re.Format,!0);break;case"BBBBB":C=tn(bt.DayPeriods,Oe.Narrow,re.Format,!0);break;case"h":C=gn(Ot.Hours,1,-12);break;case"hh":C=gn(Ot.Hours,2,-12);break;case"H":C=gn(Ot.Hours,1);break;case"HH":C=gn(Ot.Hours,2);break;case"m":C=gn(Ot.Minutes,1);break;case"mm":C=gn(Ot.Minutes,2);break;case"s":C=gn(Ot.Seconds,1);break;case"ss":C=gn(Ot.Seconds,2);break;case"S":C=gn(Ot.FractionalSeconds,1);break;case"SS":C=gn(Ot.FractionalSeconds,2);break;case"SSS":C=gn(Ot.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":C=pr(pn.Short);break;case"ZZZZZ":C=pr(pn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":C=pr(pn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":C=pr(pn.Long);break;default:return null}return sr[f]=C,C}(en);Ut+=at?at(x,L,At):"''"===en?"'":en.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Ut}function Tt(f,C,L){const _=new Date(0);return _.setFullYear(f,C,L),_.setHours(0,0,0),_}function Cn(f,C){const L=function Ne(f){return(0,o.cg1)(f)[o.wAp.LocaleId]}(f);if(Wn[L]=Wn[L]||{},Wn[L][C])return Wn[L][C];let _="";switch(C){case"shortDate":_=ie(f,ke.Short);break;case"mediumDate":_=ie(f,ke.Medium);break;case"longDate":_=ie(f,ke.Long);break;case"fullDate":_=ie(f,ke.Full);break;case"shortTime":_=De(f,ke.Short);break;case"mediumTime":_=De(f,ke.Medium);break;case"longTime":_=De(f,ke.Long);break;case"fullTime":_=De(f,ke.Full);break;case"short":const x=Cn(f,"shortTime"),G=Cn(f,"shortDate");_=rr(me(f,ke.Short),[x,G]);break;case"medium":const ve=Cn(f,"mediumTime"),We=Cn(f,"mediumDate");_=rr(me(f,ke.Medium),[ve,We]);break;case"long":const At=Cn(f,"longTime"),Ut=Cn(f,"longDate");_=rr(me(f,ke.Long),[At,Ut]);break;case"full":const en=Cn(f,"fullTime"),at=Cn(f,"fullDate");_=rr(me(f,ke.Full),[en,at])}return _&&(Wn[L][C]=_),_}function rr(f,C){return C&&(f=f.replace(/\{([^}]+)}/g,function(L,_){return null!=C&&_ in C?C[_]:L})),f}function Jt(f,C,L="-",_,x){let G="";(f<0||x&&f<=0)&&(x?f=1-f:(f=-f,G=L));let ve=String(f);for(;ve.length<C;)ve="0"+ve;return _&&(ve=ve.slice(ve.length-C)),G+ve}function gn(f,C,L=0,_=!1,x=!1){return function(G,ve){let We=function mn(f,C){switch(f){case Ot.FullYear:return C.getFullYear();case Ot.Month:return C.getMonth();case Ot.Date:return C.getDate();case Ot.Hours:return C.getHours();case Ot.Minutes:return C.getMinutes();case Ot.Seconds:return C.getSeconds();case Ot.FractionalSeconds:return C.getMilliseconds();case Ot.Day:return C.getDay();default:throw new Error(`Unknown DateType value "${f}".`)}}(f,G);if((L>0||We>-L)&&(We+=L),f===Ot.Hours)0===We&&-12===L&&(We=12);else if(f===Ot.FractionalSeconds)return function as(f,C){return Jt(f,3).substring(0,C)}(We,C);const At=Ve(ve,Ue.MinusSign);return Jt(We,C,At,_,x)}}function tn(f,C,L=re.Format,_=!1){return function(x,G){return function ks(f,C,L,_,x,G){switch(L){case bt.Months:return function Ge(f,C,L){const _=(0,o.cg1)(f),G=ft([_[o.wAp.MonthsFormat],_[o.wAp.MonthsStandalone]],C);return ft(G,L)}(C,x,_)[f.getMonth()];case bt.Days:return function $(f,C,L){const _=(0,o.cg1)(f),G=ft([_[o.wAp.DaysFormat],_[o.wAp.DaysStandalone]],C);return ft(G,L)}(C,x,_)[f.getDay()];case bt.DayPeriods:const ve=f.getHours(),We=f.getMinutes();if(G){const Ut=function Xe(f){const C=(0,o.cg1)(f);return Y(C),(C[o.wAp.ExtraData][2]||[]).map(_=>"string"==typeof _?On(_):[On(_[0]),On(_[1])])}(C),en=function dt(f,C,L){const _=(0,o.cg1)(f);Y(_);const G=ft([_[o.wAp.ExtraData][0],_[o.wAp.ExtraData][1]],C)||[];return ft(G,L)||[]}(C,x,_),at=Ut.findIndex(un=>{if(Array.isArray(un)){const[qt,nn]=un,ns=ve>=qt.hours&&We>=qt.minutes,_r=ve<nn.hours||ve===nn.hours&&We<nn.minutes;if(qt.hours<nn.hours){if(ns&&_r)return!0}else if(ns||_r)return!0}else if(un.hours===ve&&un.minutes===We)return!0;return!1});if(-1!==at)return en[at]}return function Le(f,C,L){const _=(0,o.cg1)(f),G=ft([_[o.wAp.DayPeriodsFormat],_[o.wAp.DayPeriodsStandalone]],C);return ft(G,L)}(C,x,_)[ve<12?0:1];case bt.Eras:return function Rt(f,C){return ft((0,o.cg1)(f)[o.wAp.Eras],C)}(C,_)[f.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${L}`)}}(x,G,f,C,L,_)}}function pr(f){return function(C,L,_){const x=-1*_,G=Ve(L,Ue.MinusSign),ve=x>0?Math.floor(x/60):Math.ceil(x/60);switch(f){case pn.Short:return(x>=0?"+":"")+Jt(ve,2,G)+Jt(Math.abs(x%60),2,G);case pn.ShortGMT:return"GMT"+(x>=0?"+":"")+Jt(ve,1,G);case pn.Long:return"GMT"+(x>=0?"+":"")+Jt(ve,2,G)+":"+Jt(Math.abs(x%60),2,G);case pn.Extended:return 0===_?"Z":(x>=0?"+":"")+Jt(ve,2,G)+":"+Jt(Math.abs(x%60),2,G);default:throw new Error(`Unknown zone width "${f}"`)}}}const Zn=0,Bn=4;function Hn(f){return Tt(f.getFullYear(),f.getMonth(),f.getDate()+(Bn-f.getDay()))}function Lr(f,C=!1){return function(L,_){let x;if(C){const G=new Date(L.getFullYear(),L.getMonth(),1).getDay()-1,ve=L.getDate();x=1+Math.floor((ve+G)/7)}else{const G=Hn(L),ve=function St(f){const C=Tt(f,Zn,1).getDay();return Tt(f,0,1+(C<=Bn?Bn:Bn+7)-C)}(G.getFullYear()),We=G.getTime()-ve.getTime();x=1+Math.round(We/6048e5)}return Jt(x,f,Ve(_,Ue.MinusSign))}}function Fn(f,C=!1){return function(L,_){return Jt(Hn(L).getFullYear(),f,Ve(_,Ue.MinusSign),C)}}const sr={};function wr(f,C){f=f.replace(/:/g,"");const L=Date.parse("Jan 01, 1970 00:00:00 "+f)/6e4;return isNaN(L)?C:L}function ce(f){return f instanceof Date&&!isNaN(f.valueOf())}const z=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Yt(f){const C=parseInt(f);if(isNaN(C))throw new Error("Invalid integer literal when parsing "+f);return C}function ir(f,C){C=encodeURIComponent(C);for(const L of f.split(";")){const _=L.indexOf("="),[x,G]=-1==_?[L,""]:[L.slice(0,_),L.slice(_+1)];if(x.trim()===C)return decodeURIComponent(G)}return null}const or=/\s+/,ar=[];let Bt=(()=>{var f;class C{constructor(_,x,G,ve){this._iterableDiffers=_,this._keyValueDiffers=x,this._ngEl=G,this._renderer=ve,this.initialClasses=ar,this.stateMap=new Map}set klass(_){this.initialClasses=null!=_?_.trim().split(or):ar}set ngClass(_){this.rawClass="string"==typeof _?_.trim().split(or):_}ngDoCheck(){for(const x of this.initialClasses)this._updateState(x,!0);const _=this.rawClass;if(Array.isArray(_)||_ instanceof Set)for(const x of _)this._updateState(x,!0);else if(null!=_)for(const x of Object.keys(_))this._updateState(x,!!_[x]);this._applyStateDiff()}_updateState(_,x){const G=this.stateMap.get(_);void 0!==G?(G.enabled!==x&&(G.changed=!0,G.enabled=x),G.touched=!0):this.stateMap.set(_,{enabled:x,changed:!0,touched:!0})}_applyStateDiff(){for(const _ of this.stateMap){const x=_[0],G=_[1];G.changed?(this._toggleClass(x,G.enabled),G.changed=!1):G.touched||(G.enabled&&this._toggleClass(x,!1),this.stateMap.delete(x)),G.touched=!1}}_toggleClass(_,x){(_=_.trim()).length>0&&_.split(or).forEach(G=>{x?this._renderer.addClass(this._ngEl.nativeElement,G):this._renderer.removeClass(this._ngEl.nativeElement,G)})}}return(f=C).\u0275fac=function(_){return new(_||f)(o.Y36(o.ZZ4),o.Y36(o.aQg),o.Y36(o.SBq),o.Y36(o.Qsj))},f.\u0275dir=o.lG2({type:f,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),C})();class ls{constructor(C,L,_,x){this.$implicit=C,this.ngForOf=L,this.index=_,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 dn=(()=>{var f;class C{set ngForOf(_){this._ngForOf=_,this._ngForOfDirty=!0}set ngForTrackBy(_){this._trackByFn=_}get ngForTrackBy(){return this._trackByFn}constructor(_,x,G){this._viewContainer=_,this._template=x,this._differs=G,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(_){_&&(this._template=_)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const _=this._ngForOf;!this._differ&&_&&(this._differ=this._differs.find(_).create(this.ngForTrackBy))}if(this._differ){const _=this._differ.diff(this._ngForOf);_&&this._applyChanges(_)}}_applyChanges(_){const x=this._viewContainer;_.forEachOperation((G,ve,We)=>{if(null==G.previousIndex)x.createEmbeddedView(this._template,new ls(G.item,this._ngForOf,-1,-1),null===We?void 0:We);else if(null==We)x.remove(null===ve?void 0:ve);else if(null!==ve){const At=x.get(ve);x.move(At,We),Sr(At,G)}});for(let G=0,ve=x.length;G<ve;G++){const At=x.get(G).context;At.index=G,At.count=ve,At.ngForOf=this._ngForOf}_.forEachIdentityChange(G=>{Sr(x.get(G.currentIndex),G)})}static ngTemplateContextGuard(_,x){return!0}}return(f=C).\u0275fac=function(_){return new(_||f)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4))},f.\u0275dir=o.lG2({type:f,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),C})();function Sr(f,C){f.context.$implicit=C.item}let ur=(()=>{var f;class C{constructor(_,x){this._viewContainer=_,this._context=new Vs,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=x}set ngIf(_){this._context.$implicit=this._context.ngIf=_,this._updateView()}set ngIfThen(_){Kr("ngIfThen",_),this._thenTemplateRef=_,this._thenViewRef=null,this._updateView()}set ngIfElse(_){Kr("ngIfElse",_),this._elseTemplateRef=_,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(_,x){return!0}}return(f=C).\u0275fac=function(_){return new(_||f)(o.Y36(o.s_b),o.Y36(o.Rgc))},f.\u0275dir=o.lG2({type:f,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),C})();class Vs{constructor(){this.$implicit=null,this.ngIf=null}}function Kr(f,C){if(C&&!C.createEmbeddedView)throw new Error(`${f} must be a TemplateRef, but received '${(0,o.AaK)(C)}'.`)}function zn(f,C){return new o.vHH(2100,!1)}class Hs{createSubscription(C,L){return(0,o.rg0)(()=>C.subscribe({next:L,error:_=>{throw _}}))}dispose(C){(0,o.rg0)(()=>C.unsubscribe())}}class ei{createSubscription(C,L){return C.then(L,_=>{throw _})}dispose(C){}}const Oi=new ei,Ms=new Hs;let Ts=(()=>{var f;class C{constructor(_){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=_}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(_){return this._obj?_!==this._obj?(this._dispose(),this.transform(_)):this._latestValue:(_&&this._subscribe(_),this._latestValue)}_subscribe(_){this._obj=_,this._strategy=this._selectStrategy(_),this._subscription=this._strategy.createSubscription(_,x=>this._updateLatestValue(_,x))}_selectStrategy(_){if((0,o.QGY)(_))return Oi;if((0,o.F4k)(_))return Ms;throw zn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(_,x){_===this._obj&&(this._latestValue=x,this._ref.markForCheck())}}return(f=C).\u0275fac=function(_){return new(_||f)(o.Y36(o.sBO,16))},f.\u0275pipe=o.Yjl({name:"async",type:f,pure:!1,standalone:!0}),C})();const Bs=new o.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),$i=new o.OlP("DATE_PIPE_DEFAULT_OPTIONS");let As=(()=>{var f;class C{constructor(_,x,G){this.locale=_,this.defaultTimezone=x,this.defaultOptions=G}transform(_,x,G,ve){if(null==_||""===_||_!=_)return null;try{return Yr(_,x??this.defaultOptions?.dateFormat??"mediumDate",ve||this.locale,G??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(We){throw zn()}}}return(f=C).\u0275fac=function(_){return new(_||f)(o.Y36(o.soG,16),o.Y36(Bs,24),o.Y36($i,24))},f.\u0275pipe=o.Yjl({name:"date",type:f,pure:!0,standalone:!0}),C})(),Zr=(()=>{var f;class C{constructor(_){this._locale=_}transform(_,x,G){if(!function ln(f){return!(null==f||""===f||f!=f)}(_))return null;G=G||this._locale;try{return function ue(f,C,L){return function W(f,C,L,_,x,G,ve=!1){let We="",At=!1;if(isFinite(f)){let Ut=function mt(f){let _,x,G,ve,We,C=Math.abs(f)+"",L=0;for((x=C.indexOf("."))>-1&&(C=C.replace(".","")),(G=C.search(/e/i))>0?(x<0&&(x=G),x+=+C.slice(G+1),C=C.substring(0,G)):x<0&&(x=C.length),G=0;"0"===C.charAt(G);G++);if(G===(We=C.length))_=[0],x=1;else{for(We--;"0"===C.charAt(We);)We--;for(x-=G,_=[],ve=0;G<=We;G++,ve++)_[ve]=Number(C.charAt(G))}return x>22&&(_=_.splice(0,21),L=x-1,x=1),{digits:_,exponent:L,integerLen:x}}(f);ve&&(Ut=function ze(f){if(0===f.digits[0])return f;const C=f.digits.length-f.integerLen;return f.exponent?f.exponent+=2:(0===C?f.digits.push(0,0):1===C&&f.digits.push(0),f.integerLen+=2),f}(Ut));let en=C.minInt,at=C.minFrac,un=C.maxFrac;if(G){const wn=G.match(z);if(null===wn)throw new Error(`${G} is not a valid digit info`);const ys=wn[1],xs=wn[3],Gs=wn[5];null!=ys&&(en=Yt(ys)),null!=xs&&(at=Yt(xs)),null!=Gs?un=Yt(Gs):null!=xs&&at>un&&(un=at)}!function st(f,C,L){if(C>L)throw new Error(`The minimum number of digits after fraction (${C}) is higher than the maximum (${L}).`);let _=f.digits,x=_.length-f.integerLen;const G=Math.min(Math.max(C,x),L);let ve=G+f.integerLen,We=_[ve];if(ve>0){_.splice(Math.max(f.integerLen,ve));for(let at=ve;at<_.length;at++)_[at]=0}else{x=Math.max(0,x),f.integerLen=1,_.length=Math.max(1,ve=G+1),_[0]=0;for(let at=1;at<ve;at++)_[at]=0}if(We>=5)if(ve-1<0){for(let at=0;at>ve;at--)_.unshift(0),f.integerLen++;_.unshift(1),f.integerLen++}else _[ve-1]++;for(;x<Math.max(0,G);x++)_.push(0);let At=0!==G;const Ut=C+f.integerLen,en=_.reduceRight(function(at,un,qt,nn){return nn[qt]=(un+=at)<10?un:un-10,At&&(0===nn[qt]&&qt>=Ut?nn.pop():At=!1),un>=10?1:0},0);en&&(_.unshift(en),f.integerLen++)}(Ut,at,un);let qt=Ut.digits,nn=Ut.integerLen;const ns=Ut.exponent;let _r=[];for(At=qt.every(wn=>!wn);nn<en;nn++)qt.unshift(0);for(;nn<0;nn++)qt.unshift(0);nn>0?_r=qt.splice(nn,qt.length):(_r=qt,qt=[0]);const qn=[];for(qt.length>=C.lgSize&&qn.unshift(qt.splice(-C.lgSize,qt.length).join(""));qt.length>C.gSize;)qn.unshift(qt.splice(-C.gSize,qt.length).join(""));qt.length&&qn.unshift(qt.join("")),We=qn.join(Ve(L,_)),_r.length&&(We+=Ve(L,x)+_r.join("")),ns&&(We+=Ve(L,Ue.Exponential)+"+"+ns)}else We=Ve(L,Ue.Infinity);return We=f<0&&!At?C.negPre+We+C.negSuf:C.posPre+We+C.posSuf,We}(f,function He(f,C="-"){const L={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},_=f.split(";"),x=_[0],G=_[1],ve=-1!==x.indexOf(".")?x.split("."):[x.substring(0,x.lastIndexOf("0")+1),x.substring(x.lastIndexOf("0")+1)],We=ve[0],At=ve[1]||"";L.posPre=We.substring(0,We.indexOf("#"));for(let en=0;en<At.length;en++){const at=At.charAt(en);"0"===at?L.minFrac=L.maxFrac=en+1:"#"===at?L.maxFrac=en+1:L.posSuf+=at}const Ut=We.split(",");if(L.gSize=Ut[1]?Ut[1].length:0,L.lgSize=Ut[2]||Ut[1]?(Ut[2]||Ut[1]).length:0,G){const en=x.length-L.posPre.length-L.posSuf.length,at=G.indexOf("#");L.negPre=G.substring(0,at).replace(/'/g,""),L.negSuf=G.slice(at+en).replace(/'/g,"")}else L.negPre=C+L.posPre,L.negSuf=L.posSuf;return L}(function Re(f,C){return(0,o.cg1)(f)[o.wAp.NumberFormats][C]}(C,Ke.Decimal),Ve(C,Ue.MinusSign)),C,Ue.Group,Ue.Decimal,L)}(function qe(f){if("string"==typeof f&&!isNaN(Number(f)-parseFloat(f)))return Number(f);if("number"!=typeof f)throw new Error(`${f} is not a number`);return f}(_),G,x)}catch(ve){throw zn()}}}return(f=C).\u0275fac=function(_){return new(_||f)(o.Y36(o.soG,16))},f.\u0275pipe=o.Yjl({name:"number",type:f,pure:!0,standalone:!0}),C})();let Xn=(()=>{var f;class C{}return(f=C).\u0275fac=function(_){return new(_||f)},f.\u0275mod=o.oAB({type:f}),f.\u0275inj=o.cJS({}),C})();const Qr="browser",Mn="server";function mr(f){return f===Qr}function zr(f){return f===Mn}let Ir=(()=>{var f;class C{}return(f=C).\u0275prov=(0,o.Yz7)({token:f,providedIn:"root",factory:()=>new on((0,o.LFG)(ne),window)}),C})();class on{constructor(C,L){this.document=C,this.window=L,this.offset=()=>[0,0]}setOffset(C){this.offset=Array.isArray(C)?()=>C:C}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(C){this.supportsScrolling()&&this.window.scrollTo(C[0],C[1])}scrollToAnchor(C){if(!this.supportsScrolling())return;const L=function Xr(f,C){const L=f.getElementById(C)||f.getElementsByName(C)[0];if(L)return L;if("function"==typeof f.createTreeWalker&&f.body&&"function"==typeof f.body.attachShadow){const _=f.createTreeWalker(f.body,NodeFilter.SHOW_ELEMENT);let x=_.currentNode;for(;x;){const G=x.shadowRoot;if(G){const ve=G.getElementById(C)||G.querySelector(`[name="${C}"]`);if(ve)return ve}x=_.nextNode()}}return null}(this.document,C);L&&(this.scrollToElement(L),L.focus())}setHistoryScrollRestoration(C){this.supportsScrolling()&&(this.window.history.scrollRestoration=C)}scrollToElement(C){const L=C.getBoundingClientRect(),_=L.left+this.window.pageXOffset,x=L.top+this.window.pageYOffset,G=this.offset();this.window.scrollTo(_-G[0],x-G[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class yr{}},9862:(ut,_e,A)=>{A.d(_e,{JF:()=>z,TP:()=>Y,eN:()=>te});var o=A(8926),N=A(2096),pe=A(7715),j=A(5592),F=A(6328),ne=A(2181),we=A(7398),Me=A(4716),Te=A(4664),se=A(6814);class he{}class xe{}class Qe{constructor(B){this.normalizedNames=new Map,this.lazyUpdate=null,B?"string"==typeof B?this.lazyInit=()=>{this.headers=new Map,B.split("\n").forEach(oe=>{const ue=oe.indexOf(":");if(ue>0){const He=oe.slice(0,ue),ze=He.toLowerCase(),mt=oe.slice(ue+1).trim();this.maybeSetNormalizedName(He,ze),this.headers.has(ze)?this.headers.get(ze).push(mt):this.headers.set(ze,[mt])}})}:typeof Headers<"u"&&B instanceof Headers?(this.headers=new Map,B.forEach((oe,ue)=>{this.setHeaderEntries(ue,oe)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(B).forEach(([oe,ue])=>{this.setHeaderEntries(oe,ue)})}:this.headers=new Map}has(B){return this.init(),this.headers.has(B.toLowerCase())}get(B){this.init();const oe=this.headers.get(B.toLowerCase());return oe&&oe.length>0?oe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(B){return this.init(),this.headers.get(B.toLowerCase())||null}append(B,oe){return this.clone({name:B,value:oe,op:"a"})}set(B,oe){return this.clone({name:B,value:oe,op:"s"})}delete(B,oe){return this.clone({name:B,value:oe,op:"d"})}maybeSetNormalizedName(B,oe){this.normalizedNames.has(oe)||this.normalizedNames.set(oe,B)}init(){this.lazyInit&&(this.lazyInit instanceof Qe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(B=>this.applyUpdate(B)),this.lazyUpdate=null))}copyFrom(B){B.init(),Array.from(B.headers.keys()).forEach(oe=>{this.headers.set(oe,B.headers.get(oe)),this.normalizedNames.set(oe,B.normalizedNames.get(oe))})}clone(B){const oe=new Qe;return oe.lazyInit=this.lazyInit&&this.lazyInit instanceof Qe?this.lazyInit:this,oe.lazyUpdate=(this.lazyUpdate||[]).concat([B]),oe}applyUpdate(B){const oe=B.name.toLowerCase();switch(B.op){case"a":case"s":let ue=B.value;if("string"==typeof ue&&(ue=[ue]),0===ue.length)return;this.maybeSetNormalizedName(B.name,oe);const He=("a"===B.op?this.headers.get(oe):void 0)||[];He.push(...ue),this.headers.set(oe,He);break;case"d":const ze=B.value;if(ze){let mt=this.headers.get(oe);if(!mt)return;mt=mt.filter(st=>-1===ze.indexOf(st)),0===mt.length?(this.headers.delete(oe),this.normalizedNames.delete(oe)):this.headers.set(oe,mt)}else this.headers.delete(oe),this.normalizedNames.delete(oe)}}setHeaderEntries(B,oe){const ue=(Array.isArray(oe)?oe:[oe]).map(ze=>ze.toString()),He=B.toLowerCase();this.headers.set(He,ue),this.maybeSetNormalizedName(B,He)}forEach(B){this.init(),Array.from(this.normalizedNames.keys()).forEach(oe=>B(this.normalizedNames.get(oe),this.headers.get(oe)))}}class Ye{encodeKey(B){return Vt(B)}encodeValue(B){return Vt(B)}decodeKey(B){return decodeURIComponent(B)}decodeValue(B){return decodeURIComponent(B)}}const gt=/%(\d[a-f0-9])/gi,Pt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Vt(W){return encodeURIComponent(W).replace(gt,(B,oe)=>Pt[oe]??B)}function Ae(W){return`${W}`}class X{constructor(B={}){if(this.updates=null,this.cloneFrom=null,this.encoder=B.encoder||new Ye,B.fromString){if(B.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ct(W,B){const oe=new Map;return W.length>0&&W.replace(/^\?/,"").split("&").forEach(He=>{const ze=He.indexOf("="),[mt,st]=-1==ze?[B.decodeKey(He),""]:[B.decodeKey(He.slice(0,ze)),B.decodeValue(He.slice(ze+1))],Yt=oe.get(mt)||[];Yt.push(st),oe.set(mt,Yt)}),oe}(B.fromString,this.encoder)}else B.fromObject?(this.map=new Map,Object.keys(B.fromObject).forEach(oe=>{const ue=B.fromObject[oe],He=Array.isArray(ue)?ue.map(Ae):[Ae(ue)];this.map.set(oe,He)})):this.map=null}has(B){return this.init(),this.map.has(B)}get(B){this.init();const oe=this.map.get(B);return oe?oe[0]:null}getAll(B){return this.init(),this.map.get(B)||null}keys(){return this.init(),Array.from(this.map.keys())}append(B,oe){return this.clone({param:B,value:oe,op:"a"})}appendAll(B){const oe=[];return Object.keys(B).forEach(ue=>{const He=B[ue];Array.isArray(He)?He.forEach(ze=>{oe.push({param:ue,value:ze,op:"a"})}):oe.push({param:ue,value:He,op:"a"})}),this.clone(oe)}set(B,oe){return this.clone({param:B,value:oe,op:"s"})}delete(B,oe){return this.clone({param:B,value:oe,op:"d"})}toString(){return this.init(),this.keys().map(B=>{const oe=this.encoder.encodeKey(B);return this.map.get(B).map(ue=>oe+"="+this.encoder.encodeValue(ue)).join("&")}).filter(B=>""!==B).join("&")}clone(B){const oe=new X({encoder:this.encoder});return oe.cloneFrom=this.cloneFrom||this,oe.updates=(this.updates||[]).concat(B),oe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(B=>this.map.set(B,this.cloneFrom.map.get(B))),this.updates.forEach(B=>{switch(B.op){case"a":case"s":const oe=("a"===B.op?this.map.get(B.param):void 0)||[];oe.push(Ae(B.value)),this.map.set(B.param,oe);break;case"d":if(void 0===B.value){this.map.delete(B.param);break}{let ue=this.map.get(B.param)||[];const He=ue.indexOf(Ae(B.value));-1!==He&&ue.splice(He,1),ue.length>0?this.map.set(B.param,ue):this.map.delete(B.param)}}}),this.cloneFrom=this.updates=null)}}class Ke{constructor(){this.map=new Map}set(B,oe){return this.map.set(B,oe),this}get(B){return this.map.has(B)||this.map.set(B,B.defaultValue()),this.map.get(B)}delete(B){return this.map.delete(B),this}has(B){return this.map.has(B)}keys(){return this.map.keys()}}function re(W){return typeof ArrayBuffer<"u"&&W instanceof ArrayBuffer}function Oe(W){return typeof Blob<"u"&&W instanceof Blob}function ke(W){return typeof FormData<"u"&&W instanceof FormData}class Dt{constructor(B,oe,ue,He){let ze;if(this.url=oe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=B.toUpperCase(),function Je(W){switch(W){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||He?(this.body=void 0!==ue?ue:null,ze=He):ze=ue,ze&&(this.reportProgress=!!ze.reportProgress,this.withCredentials=!!ze.withCredentials,ze.responseType&&(this.responseType=ze.responseType),ze.headers&&(this.headers=ze.headers),ze.context&&(this.context=ze.context),ze.params&&(this.params=ze.params)),this.headers||(this.headers=new Qe),this.context||(this.context=new Ke),this.params){const mt=this.params.toString();if(0===mt.length)this.urlWithParams=oe;else{const st=oe.indexOf("?");this.urlWithParams=oe+(-1===st?"?":st<oe.length-1?"&":"")+mt}}else this.params=new X,this.urlWithParams=oe}serializeBody(){return null===this.body?null:re(this.body)||Oe(this.body)||ke(this.body)||function Ue(W){return typeof URLSearchParams<"u"&&W instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof X?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||ke(this.body)?null:Oe(this.body)?this.body.type||null:re(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof X?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(B={}){const oe=B.method||this.method,ue=B.url||this.url,He=B.responseType||this.responseType,ze=void 0!==B.body?B.body:this.body,mt=void 0!==B.withCredentials?B.withCredentials:this.withCredentials,st=void 0!==B.reportProgress?B.reportProgress:this.reportProgress;let Yt=B.headers||this.headers,Nt=B.params||this.params;const sn=B.context??this.context;return void 0!==B.setHeaders&&(Yt=Object.keys(B.setHeaders).reduce((Ft,En)=>Ft.set(En,B.setHeaders[En]),Yt)),B.setParams&&(Nt=Object.keys(B.setParams).reduce((Ft,En)=>Ft.set(En,B.setParams[En]),Nt)),new Dt(oe,ue,ze,{params:Nt,headers:Yt,context:sn,reportProgress:st,responseType:He,withCredentials:mt})}}var Ne=function(W){return W[W.Sent=0]="Sent",W[W.UploadProgress=1]="UploadProgress",W[W.ResponseHeader=2]="ResponseHeader",W[W.DownloadProgress=3]="DownloadProgress",W[W.Response=4]="Response",W[W.User=5]="User",W}(Ne||{});class Le{constructor(B,oe=200,ue="OK"){this.headers=B.headers||new Qe,this.status=void 0!==B.status?B.status:oe,this.statusText=B.statusText||ue,this.url=B.url||null,this.ok=this.status>=200&&this.status<300}}class $ extends Le{constructor(B={}){super(B),this.type=Ne.ResponseHeader}clone(B={}){return new $({headers:B.headers||this.headers,status:void 0!==B.status?B.status:this.status,statusText:B.statusText||this.statusText,url:B.url||this.url||void 0})}}class Ge extends Le{constructor(B={}){super(B),this.type=Ne.Response,this.body=void 0!==B.body?B.body:null}clone(B={}){return new Ge({body:void 0!==B.body?B.body:this.body,headers:B.headers||this.headers,status:void 0!==B.status?B.status:this.status,statusText:B.statusText||this.statusText,url:B.url||this.url||void 0})}}class Rt extends Le{constructor(B){super(B,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${B.url||"(unknown url)"}`:`Http failure response for ${B.url||"(unknown url)"}: ${B.status} ${B.statusText}`,this.error=B.error||null}}function ht(W,B){return{body:B,headers:W.headers,context:W.context,observe:W.observe,params:W.params,reportProgress:W.reportProgress,responseType:W.responseType,withCredentials:W.withCredentials}}let te=(()=>{var W;class B{constructor(ue){this.handler=ue}request(ue,He,ze={}){let mt;if(ue instanceof Dt)mt=ue;else{let Nt,sn;Nt=ze.headers instanceof Qe?ze.headers:new Qe(ze.headers),ze.params&&(sn=ze.params instanceof X?ze.params:new X({fromObject:ze.params})),mt=new Dt(ue,He,void 0!==ze.body?ze.body:null,{headers:Nt,context:ze.context,params:sn,reportProgress:ze.reportProgress,responseType:ze.responseType||"json",withCredentials:ze.withCredentials})}const st=(0,N.of)(mt).pipe((0,F.b)(Nt=>this.handler.handle(Nt)));if(ue instanceof Dt||"events"===ze.observe)return st;const Yt=st.pipe((0,ne.h)(Nt=>Nt instanceof Ge));switch(ze.observe||"body"){case"body":switch(mt.responseType){case"arraybuffer":return Yt.pipe((0,we.U)(Nt=>{if(null!==Nt.body&&!(Nt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Nt.body}));case"blob":return Yt.pipe((0,we.U)(Nt=>{if(null!==Nt.body&&!(Nt.body instanceof Blob))throw new Error("Response is not a Blob.");return Nt.body}));case"text":return Yt.pipe((0,we.U)(Nt=>{if(null!==Nt.body&&"string"!=typeof Nt.body)throw new Error("Response is not a string.");return Nt.body}));default:return Yt.pipe((0,we.U)(Nt=>Nt.body))}case"response":return Yt;default:throw new Error(`Unreachable: unhandled observe type ${ze.observe}}`)}}delete(ue,He={}){return this.request("DELETE",ue,He)}get(ue,He={}){return this.request("GET",ue,He)}head(ue,He={}){return this.request("HEAD",ue,He)}jsonp(ue,He){return this.request("JSONP",ue,{params:(new X).append(He,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ue,He={}){return this.request("OPTIONS",ue,He)}patch(ue,He,ze={}){return this.request("PATCH",ue,ht(ze,He))}post(ue,He,ze={}){return this.request("POST",ue,ht(ze,He))}put(ue,He,ze={}){return this.request("PUT",ue,ht(ze,He))}}return(W=B).\u0275fac=function(ue){return new(ue||W)(o.LFG(he))},W.\u0275prov=o.Yz7({token:W,factory:W.\u0275fac}),B})();function Ce(W,B){return B(W)}function ge(W,B){return(oe,ue)=>B.intercept(oe,{handle:He=>W(He,ue)})}const Y=new o.OlP(""),Xe=new o.OlP(""),dt=new o.OlP("");function hn(){let W=null;return(B,oe)=>{null===W&&(W=((0,o.f3M)(Y,{optional:!0})??[]).reduceRight(ge,Ce));const ue=(0,o.f3M)(o.HDt),He=ue.add();return W(B,oe).pipe((0,Me.x)(()=>ue.remove(He)))}}let ft=(()=>{var W;class B extends he{constructor(ue,He){super(),this.backend=ue,this.injector=He,this.chain=null,this.pendingTasks=(0,o.f3M)(o.HDt)}handle(ue){if(null===this.chain){const ze=Array.from(new Set([...this.injector.get(Xe),...this.injector.get(dt,[])]));this.chain=ze.reduceRight((mt,st)=>function le(W,B,oe){return(ue,He)=>oe.runInContext(()=>B(ue,ze=>W(ze,He)))}(mt,st,this.injector),Ce)}const He=this.pendingTasks.add();return this.chain(ue,ze=>this.backend.handle(ze)).pipe((0,Me.x)(()=>this.pendingTasks.remove(He)))}}return(W=B).\u0275fac=function(ue){return new(ue||W)(o.LFG(xe),o.LFG(o.lqb))},W.\u0275prov=o.Yz7({token:W,factory:W.\u0275fac}),B})();const Tt=/^\)\]\}',?\n/;let rr=(()=>{var W;class B{constructor(ue){this.xhrFactory=ue}handle(ue){if("JSONP"===ue.method)throw new o.vHH(-2800,!1);const He=this.xhrFactory;return(He.\u0275loadImpl?(0,pe.D)(He.\u0275loadImpl()):(0,N.of)(null)).pipe((0,Te.w)(()=>new j.y(mt=>{const st=He.build();if(st.open(ue.method,ue.urlWithParams),ue.withCredentials&&(st.withCredentials=!0),ue.headers.forEach((Bt,Kt)=>st.setRequestHeader(Bt,Kt.join(","))),ue.headers.has("Accept")||st.setRequestHeader("Accept","application/json, text/plain, */*"),!ue.headers.has("Content-Type")){const Bt=ue.detectContentTypeHeader();null!==Bt&&st.setRequestHeader("Content-Type",Bt)}if(ue.responseType){const Bt=ue.responseType.toLowerCase();st.responseType="json"!==Bt?Bt:"text"}const Yt=ue.serializeBody();let Nt=null;const sn=()=>{if(null!==Nt)return Nt;const Bt=st.statusText||"OK",Kt=new Qe(st.getAllResponseHeaders()),lr=function Cn(W){return"responseURL"in W&&W.responseURL?W.responseURL:/^X-Request-URL:/m.test(W.getAllResponseHeaders())?W.getResponseHeader("X-Request-URL"):null}(st)||ue.url;return Nt=new $({headers:Kt,status:st.status,statusText:Bt,url:lr}),Nt},Ft=()=>{let{headers:Bt,status:Kt,statusText:lr,url:ls}=sn(),dn=null;204!==Kt&&(dn=typeof st.response>"u"?st.responseText:st.response),0===Kt&&(Kt=dn?200:0);let Sr=Kt>=200&&Kt<300;if("json"===ue.responseType&&"string"==typeof dn){const us=dn;dn=dn.replace(Tt,"");try{dn=""!==dn?JSON.parse(dn):null}catch(ur){dn=us,Sr&&(Sr=!1,dn={error:ur,text:dn})}}Sr?(mt.next(new Ge({body:dn,headers:Bt,status:Kt,statusText:lr,url:ls||void 0})),mt.complete()):mt.error(new Rt({error:dn,headers:Bt,status:Kt,statusText:lr,url:ls||void 0}))},En=Bt=>{const{url:Kt}=sn(),lr=new Rt({error:Bt,status:st.status||0,statusText:st.statusText||"Unknown Error",url:Kt||void 0});mt.error(lr)};let ir=!1;const or=Bt=>{ir||(mt.next(sn()),ir=!0);let Kt={type:Ne.DownloadProgress,loaded:Bt.loaded};Bt.lengthComputable&&(Kt.total=Bt.total),"text"===ue.responseType&&st.responseText&&(Kt.partialText=st.responseText),mt.next(Kt)},ar=Bt=>{let Kt={type:Ne.UploadProgress,loaded:Bt.loaded};Bt.lengthComputable&&(Kt.total=Bt.total),mt.next(Kt)};return st.addEventListener("load",Ft),st.addEventListener("error",En),st.addEventListener("timeout",En),st.addEventListener("abort",En),ue.reportProgress&&(st.addEventListener("progress",or),null!==Yt&&st.upload&&st.upload.addEventListener("progress",ar)),st.send(Yt),mt.next({type:Ne.Sent}),()=>{st.removeEventListener("error",En),st.removeEventListener("abort",En),st.removeEventListener("load",Ft),st.removeEventListener("timeout",En),ue.reportProgress&&(st.removeEventListener("progress",or),null!==Yt&&st.upload&&st.upload.removeEventListener("progress",ar)),st.readyState!==st.DONE&&st.abort()}})))}}return(W=B).\u0275fac=function(ue){return new(ue||W)(o.LFG(se.JF))},W.\u0275prov=o.Yz7({token:W,factory:W.\u0275fac}),B})();const Jt=new o.OlP("XSRF_ENABLED"),gn=new o.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),tn=new o.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class ks{}let pr=(()=>{var W;class B{constructor(ue,He,ze){this.doc=ue,this.platform=He,this.cookieName=ze,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ue=this.doc.cookie||"";return ue!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,se.Mx)(ue,this.cookieName),this.lastCookieString=ue),this.lastToken}}return(W=B).\u0275fac=function(ue){return new(ue||W)(o.LFG(se.K0),o.LFG(o.Lbi),o.LFG(gn))},W.\u0275prov=o.Yz7({token:W,factory:W.\u0275fac}),B})();function Zn(W,B){const oe=W.url.toLowerCase();if(!(0,o.f3M)(Jt)||"GET"===W.method||"HEAD"===W.method||oe.startsWith("http://")||oe.startsWith("https://"))return B(W);const ue=(0,o.f3M)(ks).getToken(),He=(0,o.f3M)(tn);return null!=ue&&!W.headers.has(He)&&(W=W.clone({headers:W.headers.set(He,ue)})),B(W)}var St=function(W){return W[W.Interceptors=0]="Interceptors",W[W.LegacyInterceptors=1]="LegacyInterceptors",W[W.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",W[W.NoXsrfProtection=3]="NoXsrfProtection",W[W.JsonpSupport=4]="JsonpSupport",W[W.RequestsMadeViaParent=5]="RequestsMadeViaParent",W[W.Fetch=6]="Fetch",W}(St||{});function Hn(W,B){return{\u0275kind:W,\u0275providers:B}}function Lr(...W){const B=[te,rr,ft,{provide:he,useExisting:ft},{provide:xe,useExisting:rr},{provide:Xe,useValue:Zn,multi:!0},{provide:Jt,useValue:!0},{provide:ks,useClass:pr}];for(const oe of W)B.push(...oe.\u0275providers);return(0,o.MR2)(B)}const sr=new o.OlP("LEGACY_INTERCEPTOR_FN");let z=(()=>{var W;class B{}return(W=B).\u0275fac=function(ue){return new(ue||W)},W.\u0275mod=o.oAB({type:W}),W.\u0275inj=o.cJS({providers:[Lr(Hn(St.LegacyInterceptors,[{provide:sr,useFactory:hn},{provide:Xe,useExisting:sr,multi:!0}]))]}),B})()},8926:(ut,_e,A)=>{A.d(_e,{QbO:()=>z_,tb:()=>Vd,AFp:()=>hh,ip1:()=>av,hGG:()=>lS,z2F:()=>Da,Ojb:()=>G_,sBO:()=>Wb,Sil:()=>hb,_Vd:()=>Ua,EJc:()=>cb,Xts:()=>Ha,SBq:()=>$a,lqb:()=>bi,qLn:()=>na,vpe:()=>Si,XFs:()=>Tt,OlP:()=>_n,zs3:()=>ci,ZZ4:()=>zd,aQg:()=>Gd,soG:()=>yu,YKP:()=>lm,h0i:()=>Mo,PXZ:()=>kb,R0b:()=>Fr,FiY:()=>vl,Lbi:()=>dc,g9A:()=>ph,Qsj:()=>oD,FYo:()=>Dh,JOm:()=>Sl,q3G:()=>Co,tp0:()=>yl,Rgc:()=>al,dDg:()=>Nb,eoX:()=>gv,GfV:()=>Ch,s_b:()=>mu,ifc:()=>Nt,VuI:()=>_S,MMx:()=>cm,Lck:()=>Z0,eFA:()=>_v,G48:()=>Gb,Gpc:()=>Vt,f3M:()=>W,$WT:()=>Ur,MR2:()=>sc,_c5:()=>aS,qFp:()=>CS,rg0:()=>co,c2e:()=>lv,zSh:()=>ac,HDt:()=>uv,wAp:()=>ma,vHH:()=>re,lri:()=>hv,rWj:()=>pv,JZr:()=>Je,EiD:()=>nh,mCW:()=>xl,qzn:()=>qo,JVY:()=>g_,pB0:()=>__,eBb:()=>v_,L6k:()=>m_,LAX:()=>y_,cg1:()=>dd,kL8:()=>Ng,dqk:()=>mn,Z0I:()=>ot,eJc:()=>Id,QGY:()=>Jc,F4k:()=>Hp,RDi:()=>l_,AaK:()=>ct,z3N:()=>Vi,qOj:()=>jc,Xq5:()=>_p,TTD:()=>vs,_Bn:()=>am,jDz:()=>dm,xp6:()=>zh,uIk:()=>$c,Tol:()=>og,Gre:()=>Eg,ekj:()=>od,Suo:()=>Bm,Xpm:()=>Ts,lG2:()=>$i,Yz7:()=>ft,cJS:()=>Dn,oAB:()=>ti,Yjl:()=>As,Y36:()=>ra,_UZ:()=>Qc,BQk:()=>ou,ynx:()=>iu,qZA:()=>su,TgZ:()=>ru,EpF:()=>Vp,n5z:()=>sf,LFG:()=>Wt,$8M:()=>Ru,$Z:()=>Wh,NdJ:()=>Xc,CRH:()=>jm,O4$:()=>u,oxw:()=>zp,ALo:()=>bm,lcZ:()=>Sm,xi3:()=>Mm,Dn7:()=>Tm,Q6J:()=>qc,s9C:()=>ed,VKq:()=>ym,iGM:()=>Hm,KtG:()=>go,CHM:()=>Sa,oJD:()=>rh,LSH:()=>nc,P3R:()=>ih,Udp:()=>id,d8E:()=>cd,YNc:()=>Pp,_uU:()=>hg,Oqu:()=>ld,hij:()=>uu,lnq:()=>ud});var o=A(8645),N=A(7394),pe=A(5592),j=A(3019),F=A(5619),ne=A(2096),we=A(3020),Me=A(4664),Te=A(2737),se=A(9360),he=A(8251);function Qe(e,t){return e===t}function Ee(e){for(let t in e)if(e[t]===Ee)return t;throw Error("Could not find renamed property on target object.")}function Ye(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ct(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ct).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 gt(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Pt=Ee({__forward_ref__:Ee});function Vt(e){return e.__forward_ref__=Vt,e.toString=function(){return ct(this())},e}function Ae(e){return X(e)?e():e}function X(e){return"function"==typeof e&&e.hasOwnProperty(Pt)&&e.__forward_ref__===Vt}function ye(e){return e&&!!e.\u0275providers}const Je="https://g.co/ng/security#xss";class re extends Error{constructor(t,n){super(function Oe(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function ke(e){return"string"==typeof e?e:null==e?"":String(e)}function $(e,t){throw new re(-201,!1)}function le(e,t){null==e&&function Y(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 Dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function cn(e){return Pn(e,pn)||Pn(e,bt)}function ot(e){return null!==cn(e)}function Pn(e,t){return e.hasOwnProperty(t)?e[t]:null}function bn(e){return e&&(e.hasOwnProperty(Ot)||e.hasOwnProperty(Yr))?e[Ot]:null}const pn=Ee({\u0275prov:Ee}),Ot=Ee({\u0275inj:Ee}),bt=Ee({ngInjectableDef:Ee}),Yr=Ee({ngInjectorDef:Ee});var Tt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Tt||{});let Cn;function Jt(e){const t=Cn;return Cn=e,t}function as(e,t,n){const r=cn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Tt.Optional?null:void 0!==t?t:void $(ct(e))}const mn=globalThis,Jn={},de="__NG_DI_FLAG__",K="ngTempTokenPath",z=/\n/gm,Pe="__source";let et;function Ht(e){const t=et;return et=e,t}function an(e,t=Tt.Default){if(void 0===et)throw new re(-203,!1);return null===et?as(e,void 0,t):et.get(e,t&Tt.Optional?null:void 0,t)}function Wt(e,t=Tt.Default){return(function rr(){return Cn}()||an)(Ae(e),t)}function W(e,t=Tt.Default){return Wt(e,B(t))}function B(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function oe(e){const t=[];for(let n=0;n<e.length;n++){const r=Ae(e[n]);if(Array.isArray(r)){if(0===r.length)throw new re(900,!1);let s,i=Tt.Default;for(let l=0;l<r.length;l++){const d=r[l],g=He(d);"number"==typeof g?-1===g?s=d.token:i|=g:s=d}t.push(Wt(s,i))}else t.push(Wt(r))}return t}function ue(e,t){return e[de]=t,e.prototype[de]=t,e}function He(e){return e[de]}function st(e){return{toString:e}.toString()}var Yt=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Yt||{}),Nt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Nt||{});const sn={},Ft=[],En=Ee({\u0275cmp:Ee}),ir=Ee({\u0275dir:Ee}),or=Ee({\u0275pipe:Ee}),ar=Ee({\u0275mod:Ee}),Bt=Ee({\u0275fac:Ee}),Kt=Ee({__NG_ELEMENT_ID__:Ee}),lr=Ee({__NG_ENV_ID__:Ee});function ls(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const i=t.length;if(s+i===r||e.charCodeAt(s+i)<=32)return s}n=s+1}}function dn(e,t,n){let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const i=n[r++],l=n[r++],d=n[r++];e.setAttribute(t,l,d,i)}else{const i=s,l=n[++r];us(i)?e.setProperty(t,i,l):e.setAttribute(t,i,l),r++}}return r}function Sr(e){return 3===e||4===e||6===e}function us(e){return 64===e.charCodeAt(0)}function ur(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 s=t[r];"number"==typeof s?n=s:0===n||Vs(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function Vs(e,t,n,r,s){let i=0,l=e.length;if(-1===t)l=-1;else for(;i<e.length;){const d=e[i++];if("number"==typeof d){if(d===t){l=-1;break}if(d>t){l=i-1;break}}}for(;i<e.length;){const d=e[i];if("number"==typeof d)break;if(d===n){if(null===r)return void(null!==s&&(e[i+1]=s));if(r===e[i+1])return void(e[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==l&&(e.splice(l,0,t),i=l+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==s&&e.splice(i++,0,s)}const Kr="ng-template";function Zs(e,t,n){let r=0,s=!0;for(;r<e.length;){let i=e[r++];if("string"==typeof i&&s){const l=e[r++];if(n&&"class"===i&&-1!==ls(l.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}"number"==typeof i&&(s=!1)}}return!1}function Mr(e){return 4===e.type&&e.value!==Kr}function Qs(e,t,n){return t===(4!==e.type||n?e.value:Kr)}function kr(e,t,n){let r=4;const s=e.attrs||[],i=function jr(e){for(let t=0;t<e.length;t++)if(Sr(e[t]))return t;return e.length}(s);let l=!1;for(let d=0;d<t.length;d++){const g=t[d];if("number"!=typeof g){if(!l)if(4&r){if(r=2|1&r,""!==g&&!Qs(e,g,n)||""===g&&1===t.length){if(Kn(r))return!1;l=!0}}else{const S=8&r?g:t[++d];if(8&r&&null!==e.attrs){if(!Zs(e.attrs,S,n)){if(Kn(r))return!1;l=!0}continue}const V=Tr(8&r?"class":g,s,Mr(e),n);if(-1===V){if(Kn(r))return!1;l=!0;continue}if(""!==S){let q;q=V>i?"":s[V+1].toLowerCase();const J=8&r?q:null;if(J&&-1!==ls(J,S,0)||2&r&&S!==q){if(Kn(r))return!1;l=!0}}}}else{if(!l&&!Kn(r)&&!Kn(g))return!1;if(l&&Kn(g))continue;l=!1,r=g|1&r}}return Kn(r)||l}function Kn(e){return 0==(1&e)}function Tr(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let i=!1;for(;s<t.length;){const l=t[s];if(l===e)return s;if(3===l||6===l)i=!0;else{if(1===l||2===l){let d=t[++s];for(;"string"==typeof d;)d=t[++s];continue}if(4===l)break;if(0===l){s+=4;continue}}s+=i?1:2}return-1}return function Xs(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 cr(e,t,n=!1){for(let r=0;r<t.length;r++)if(kr(e,t[r],n))return!0;return!1}function Hs(e,t){return e?":not("+t.trim()+")":t}function ei(e){let t=e[0],n=1,r=2,s="",i=!1;for(;n<e.length;){let l=e[n];if("string"==typeof l)if(2&r){const d=e[++n];s+="["+l+(d.length>0?'="'+d+'"':"")+"]"}else 8&r?s+="."+l:4&r&&(s+=" "+l);else""!==s&&!Kn(l)&&(t+=Hs(i,s),s=""),r=l,i=i||!Kn(r);n++}return""!==s&&(t+=Hs(i,s)),t}function Ts(e){return st(()=>{const t=ni(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Yt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Nt.Emulated,styles:e.styles||Ft,_:null,schemas:e.schemas||null,tView:null,id:""};qr(n);const r=e.dependencies;return n.directiveDefs=Zr(r,!1),n.pipeDefs=Zr(r,!0),n.id=function cs(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const s of n)t=Math.imul(31,t)+s.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function hi(e){return zt(e)||Sn(e)}function pi(e){return null!==e}function ti(e){return st(()=>({type:e.type,bootstrap:e.bootstrap||Ft,declarations:e.declarations||Ft,imports:e.imports||Ft,exports:e.exports||Ft,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Bs(e,t){if(null==e)return sn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,t&&(t[s]=i)}return n}function $i(e){return st(()=>{const t=ni(e);return qr(t),t})}function As(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 zt(e){return e[En]||null}function Sn(e){return e[ir]||null}function jn(e){return e[or]||null}function Ur(e){const t=zt(e)||Sn(e)||jn(e);return null!==t&&t.standalone}function Ln(e,t){const n=e[ar]||null;if(!n&&!0===t)throw new Error(`Type ${ct(e)} does not have '\u0275mod' property.`);return n}function ni(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||sn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Ft,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Bs(e.inputs,t),outputs:Bs(e.outputs)}}function qr(e){e.features?.forEach(t=>t(e))}function Zr(e,t){if(!e)return null;const n=t?jn:hi;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(pi)}const ln=0,qe=1,It=2,Xt=3,Xn=4,Qr=5,Mn=6,$r=7,vn=8,mr=9,zr=10,Mt=11,Jr=12,vr=13,Ir=14,on=15,Xr=16,Ar=17,yr=18,dr=19,ds=20,Vr=21,er=22,Os=23,fs=24,xt=25,tr=1,hs=2,Or=7,es=9,Nn=11;function Un(e){return Array.isArray(e)&&"object"==typeof e[tr]}function yn(e){return Array.isArray(e)&&!0===e[tr]}function Us(e){return 0!=(4&e.flags)}function Rr(e){return e.componentOffset>-1}function Rs(e){return 1==(1&e.flags)}function Pr(e){return!!e.template}function ps(e){return 0!=(512&e[It])}function zs(e,t){return e.hasOwnProperty(Bt)?e[Bt]:null}let io=mn.WeakRef??class Io{constructor(t){this.ref=t}deref(){return this.ref}},ao=0,fr=null,Ps=!1;function Tn(e){const t=fr;return fr=e,t}class Ki{constructor(){this.id=ao++,this.ref=function Yi(e){return new io(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const r=n.producerNode.deref();if(null!=r&&n.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=Ps;Ps=!0;try{for(const[n,r]of this.consumers){const s=r.consumerNode.deref();null!=s&&s.trackingVersion===r.atTrackingVersion?s.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),s?.producers.delete(this.id))}}finally{Ps=t}}producerAccessed(){if(Ps)throw new Error("");if(null===fr)return;let t=fr.producers.get(this.id);void 0===t?(t={consumerNode:fr.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:fr.trackingVersion},fr.producers.set(this.id,t),this.consumers.set(fr.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=fr.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==fr?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let xi=null;function co(e){const t=Tn(null);try{return e()}finally{Tn(t)}}const ms=()=>{};class Ea extends Ki{constructor(t,n,r){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=ms,this.registerOnCleanup=s=>{this.cleanupFn=s},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=Tn(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=ms,this.watch(this.registerOnCleanup)}finally{Tn(t)}}cleanup(){this.cleanupFn()}}class li{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function vs(){return f}function f(e){return e.type.prototype.ngOnChanges&&(e.setInput=L),C}function C(){const e=x(this),t=e?.current;if(t){const n=e.previous;if(n===sn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function L(e,t,n,r){const s=this.declaredInputs[n],i=x(e)||function G(e,t){return e[_]=t}(e,{previous:sn,current:null}),l=i.current||(i.current={}),d=i.previous,g=d[s];l[s]=new li(g&&g.currentValue,t,d===sn),e[r]=t}vs.ngInherit=!0;const _="__ngSimpleChanges__";function x(e){return e[_]||null}const At=function(e,t,n){},Ut="svg";function at(e){for(;Array.isArray(e);)e=e[ln];return e}function qt(e,t){return at(t[e])}function nn(e,t){return at(t[e.index])}function _r(e,t){return e.data[t]}function qn(e,t){return e[t]}function wn(e,t){const n=t[e];return Un(n)?n:n[ln]}function Ws(e,t){return null==t?null:e[t]}function ki(e){e[Ar]=0}function Oo(e){1024&e[It]||(e[It]|=1024,yi(e,1))}function Ro(e){1024&e[It]&&(e[It]&=-1025,yi(e,-1))}function yi(e,t){let n=e[Xt];if(null===n)return;n[Qr]+=t;let r=n;for(n=n[Xt];null!==n&&(1===t&&1===r[Qr]||-1===t&&0===r[Qr]);)n[Qr]+=t,r=n,n=n[Xt]}const wt={lFrame:Ds(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ji(){return wt.bindingsEnabled}function Ie(){return wt.lFrame.lView}function Qt(){return wt.lFrame.tView}function Sa(e){return wt.lFrame.contextLView=e,e[vn]}function go(e){return wt.lFrame.contextLView=null,e}function In(){let e=E();for(;null!==e&&64===e.type;)e=e.parent;return e}function E(){return wt.lFrame.currentTNode}function c(e,t){const n=wt.lFrame;n.currentTNode=e,n.isParent=t}function m(){return wt.lFrame.isParent}function M(){wt.lFrame.isParent=!1}function Q(){const e=wt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ze(){return wt.lFrame.bindingIndex++}function Lt(e){const t=wt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function kt(e,t){const n=wt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Vn(t)}function Vn(e){wt.lFrame.currentDirectiveIndex=e}function $n(e){const t=wt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function hr(){return wt.lFrame.currentQueryIndex}function Gn(e){wt.lFrame.currentQueryIndex=e}function _i(e){const t=e[qe];return 2===t.type?t.declTNode:1===t.type?e[Mn]:null}function rs(e,t,n){if(n&Tt.SkipSelf){let s=t,i=e;for(;!(s=s.parent,null!==s||n&Tt.Host||(s=_i(i),null===s||(i=i[Ir],10&s.type))););if(null===s)return!1;t=s,e=i}const r=wt.lFrame=_s();return r.currentTNode=t,r.lView=e,!0}function nr(e){const t=_s(),n=e[qe];wt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function _s(){const e=wt.lFrame,t=null===e?null:e.child;return null===t?Ds(e):t}function Ds(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 ss(){const e=wt.lFrame;return wt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const mo=ss;function Di(){const e=ss();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 Dr(){return wt.lFrame.selectedIndex}function lt(e){wt.lFrame.selectedIndex=e}function nt(){const e=wt.lFrame;return _r(e.tView,e.selectedIndex)}function u(){wt.lFrame.currentNamespace=Ut}let I=!0;function P(){return I}function Z(e){I=e}function ae(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:l,ngAfterContentChecked:d,ngAfterViewInit:g,ngAfterViewChecked:S,ngOnDestroy:T}=i;l&&(e.contentHooks??=[]).push(-n,l),d&&((e.contentHooks??=[]).push(n,d),(e.contentCheckHooks??=[]).push(n,d)),g&&(e.viewHooks??=[]).push(-n,g),S&&((e.viewHooks??=[]).push(n,S),(e.viewCheckHooks??=[]).push(n,S)),null!=T&&(e.destroyHooks??=[]).push(n,T)}}function it(e,t,n){rn(e,t,3,n)}function vt(e,t,n,r){(3&e[It])===n&&rn(e,t,n,r)}function Rn(e,t){let n=e[It];(3&n)===t&&(n&=8191,n+=1,e[It]=n)}function rn(e,t,n,r){const i=r??-1,l=t.length-1;let d=0;for(let g=void 0!==r?65535&e[Ar]:0;g<l;g++)if("number"==typeof t[g+1]){if(d=t[g],null!=r&&d>=r)break}else t[g]<0&&(e[Ar]+=65536),(d<i||-1==i)&&(vo(e,n,t,g),e[Ar]=(4294901760&e[Ar])+g+2),g++}function Cs(e,t){At(4,e,t);const n=Tn(null);try{t.call(e)}finally{Tn(n),At(5,e,t)}}function vo(e,t,n,r){const s=n[r]<0,i=n[r+1],d=e[s?-n[r]:n[r]];s?e[It]>>13<e[Ar]>>16&&(3&e[It])===t&&(e[It]+=8192,Cs(d,i)):Cs(d,i)}const Ei=-1;class Ys{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Mu(e){return e!==Ei}function Ta(e){return 32767&e}function Ia(e,t){let n=function Yv(e){return e>>16}(e),r=t;for(;n>0;)r=r[Ir],n--;return r}let Tu=!0;function dl(e){const t=Tu;return Tu=e,t}const qd=255,Zd=5;let Kv=0;const wi={};function fl(e,t){const n=Qd(e,t);if(-1!==n)return n;const r=t[qe];r.firstCreatePass&&(e.injectorIndex=t.length,Iu(r.data,e),Iu(t,null),Iu(r.blueprint,null));const s=hl(e,t),i=e.injectorIndex;if(Mu(s)){const l=Ta(s),d=Ia(s,t),g=d[qe].data;for(let S=0;S<8;S++)t[i+S]=d[l+S]|g[l+S]}return t[i+8]=s,i}function Iu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qd(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function hl(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){if(r=af(s),null===r)return Ei;if(n++,s=s[Ir],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ei}function Au(e,t,n){!function qv(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Kt)&&(r=n[Kt]),null==r&&(r=n[Kt]=Kv++);const s=r&qd;t.data[e+(s>>Zd)]|=1<<s}(e,t,n)}function Jd(e,t,n){if(n&Tt.Optional||void 0!==e)return e;$()}function Xd(e,t,n,r){if(n&Tt.Optional&&void 0===r&&(r=null),!(n&(Tt.Self|Tt.Host))){const s=e[mr],i=Jt(void 0);try{return s?s.get(t,r,n&Tt.Optional):as(t,r,n&Tt.Optional)}finally{Jt(i)}}return Jd(r,0,n)}function ef(e,t,n,r=Tt.Default,s){if(null!==e){if(2048&t[It]&&!(r&Tt.Self)){const l=function ty(e,t,n,r,s){let i=e,l=t;for(;null!==i&&null!==l&&2048&l[It]&&!(512&l[It]);){const d=tf(i,l,n,r|Tt.Self,wi);if(d!==wi)return d;let g=i.parent;if(!g){const S=l[ds];if(S){const T=S.get(n,wi,r);if(T!==wi)return T}g=af(l),l=l[Ir]}i=g}return s}(e,t,n,r,wi);if(l!==wi)return l}const i=tf(e,t,n,r,wi);if(i!==wi)return i}return Xd(t,n,r,s)}function tf(e,t,n,r,s){const i=function Jv(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Kt)?e[Kt]:void 0;return"number"==typeof t?t>=0?t&qd:ey:t}(n);if("function"==typeof i){if(!rs(t,e,r))return r&Tt.Host?Jd(s,0,r):Xd(t,n,r,s);try{let l;if(l=i(r),null!=l||r&Tt.Optional)return l;$()}finally{mo()}}else if("number"==typeof i){let l=null,d=Qd(e,t),g=Ei,S=r&Tt.Host?t[on][Mn]:null;for((-1===d||r&Tt.SkipSelf)&&(g=-1===d?hl(e,t):t[d+8],g!==Ei&&rf(r,!1)?(l=t[qe],d=Ta(g),t=Ia(g,t)):d=-1);-1!==d;){const T=t[qe];if(nf(i,d,T.data)){const V=Qv(d,t,n,l,r,S);if(V!==wi)return V}g=t[d+8],g!==Ei&&rf(r,t[qe].data[d+8]===S)&&nf(i,d,t)?(l=T,d=Ta(g),t=Ia(g,t)):d=-1}}return s}function Qv(e,t,n,r,s,i){const l=t[qe],d=l.data[e+8],T=pl(d,l,n,null==r?Rr(d)&&Tu:r!=l&&0!=(3&d.type),s&Tt.Host&&i===d);return null!==T?yo(t,l,T,d):wi}function pl(e,t,n,r,s){const i=e.providerIndexes,l=t.data,d=1048575&i,g=e.directiveStart,T=i>>20,q=s?d+T:e.directiveEnd;for(let J=r?d:d+T;J<q;J++){const be=l[J];if(J<g&&n===be||J>=g&&be.type===n)return J}if(s){const J=l[g];if(J&&Pr(J)&&J.type===n)return g}return null}function yo(e,t,n,r){let s=e[n];const i=t.data;if(function bu(e){return e instanceof Ys}(s)){const l=s;l.resolving&&function Dt(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new re(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ue(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ke(e)}(i[n]));const d=dl(l.canSeeViewProviders);l.resolving=!0;const S=l.injectImpl?Jt(l.injectImpl):null;rs(e,r,Tt.Default);try{s=e[n]=l.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function je(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const l=f(t);(n.preOrderHooks??=[]).push(e,l),(n.preOrderCheckHooks??=[]).push(e,l)}s&&(n.preOrderHooks??=[]).push(0-e,s),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==S&&Jt(S),dl(d),l.resolving=!1,mo()}}return s}function nf(e,t,n){return!!(n[t+(e>>Zd)]&1<<e)}function rf(e,t){return!(e&Tt.Self||e&Tt.Host&&t)}class is{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ef(this._tNode,this._lView,t,B(r),n)}}function ey(){return new is(In(),Ie())}function sf(e){return st(()=>{const t=e.prototype.constructor,n=t[Bt]||Ou(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const i=s[Bt]||Ou(s);if(i&&i!==n)return i;s=Object.getPrototypeOf(s)}return i=>new i})}function Ou(e){return X(e)?()=>{const t=Ou(Ae(e));return t&&t()}:zs(e)}function af(e){const t=e[qe],n=t.type;return 2===n?t.declTNode:1===n?e[Mn]:null}function Ru(e){return function Zv(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 s=0;for(;s<r;){const i=n[s];if(Sr(i))break;if(0===i)s+=2;else if("number"==typeof i)for(s++;s<r&&"string"==typeof n[s];)s++;else{if(i===t)return n[s+1];s+=2}}}return null}(In(),e)}const Vo="__parameters__";function Bo(e,t,n){return st(()=>{const r=function Pu(e){return function(...n){if(e){const r=e(...n);for(const s in r)this[s]=r[s]}}}(t);function s(...i){if(this instanceof s)return r.apply(this,i),this;const l=new s(...i);return d.annotation=l,d;function d(g,S,T){const V=g.hasOwnProperty(Vo)?g[Vo]:Object.defineProperty(g,Vo,{value:[]})[Vo];for(;V.length<=T;)V.push(null);return(V[T]=V[T]||[]).push(l),g}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function Uo(e,t){e.forEach(n=>Array.isArray(n)?Uo(n,t):t(n))}function uf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function gl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Fs(e,t,n){let r=$o(e,t);return r>=0?e[1|r]=n:(r=~r,function ly(e,t,n,r){let s=e.length;if(s==t)e.push(n,r);else if(1===s)e.push(r,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Nu(e,t){const n=$o(e,t);if(n>=0)return e[1|n]}function $o(e,t){return function cf(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const i=r+(s-r>>1),l=e[i<<n];if(t===l)return i<<n;l>t?s=i:r=i+1}return~(s<<n)}(e,t,1)}const vl=ue(Bo("Optional"),8),yl=ue(Bo("SkipSelf"),4);function wl(e){return 128==(128&e.flags)}var Sl=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Sl||{});const Ay=/^>|^->|<!--|-->|--!>|<!-$/g,Oy=/(<|>)/g,Ry="\u200b$1\u200b";const Vu=new Map;let Py=0;const Bu="__ngContext__";function Gr(e,t){Un(t)?(e[Bu]=t[dr],function xy(e){Vu.set(e[dr],e)}(t)):e[Bu]=t}let ju;function Uu(e,t){return ju(e,t)}function xa(e){const t=e[Xt];return yn(t)?t[Xt]:t}function Of(e){return Pf(e[Jr])}function Rf(e){return Pf(e[Xn])}function Pf(e){for(;null!==e&&!yn(e);)e=e[Xn];return e}function Wo(e,t,n,r,s){if(null!=r){let i,l=!1;yn(r)?i=r:Un(r)&&(l=!0,r=r[ln]);const d=at(r);0===e&&null!==n?null==s?Lf(t,n,d):_o(t,n,d,s||null,!0):1===e&&null!==n?_o(t,n,d,s||null,!0):2===e?function Rl(e,t,n){const r=Al(e,t);r&&function Xy(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,d,l):3===e&&t.destroyNode(d),null!=i&&function n_(e,t,n,r,s){const i=n[Or];i!==at(n)&&Wo(t,e,r,i,s);for(let d=Nn;d<n.length;d++){const g=n[d];La(g[qe],g,e,t,r,i)}}(t,e,i,n,s)}}function $u(e,t){return e.createComment(function Ef(e){return e.replace(Ay,t=>t.replace(Oy,Ry))}(t))}function Tl(e,t,n){return e.createElement(t,n)}function xf(e,t){const n=e[es],r=n.indexOf(t);Ro(t),n.splice(r,1)}function Il(e,t){if(e.length<=Nn)return;const n=Nn+t,r=e[n];if(r){const s=r[Xr];null!==s&&s!==e&&xf(s,r),t>0&&(e[n-1][Xn]=r[Xn]);const i=gl(e,Nn+t);!function Gy(e,t){La(e,t,t[Mt],2,null,null),t[ln]=null,t[Mn]=null}(r[qe],r);const l=i[yr];null!==l&&l.detachView(i[qe]),r[Xt]=null,r[Xn]=null,r[It]&=-129}return r}function zu(e,t){if(!(256&t[It])){const n=t[Mt];t[Os]?.destroy(),t[fs]?.destroy(),n.destroyNode&&La(e,t,n,3,null,null),function Ky(e){let t=e[Jr];if(!t)return Gu(e[qe],e);for(;t;){let n=null;if(Un(t))n=t[Jr];else{const r=t[Nn];r&&(n=r)}if(!n){for(;t&&!t[Xn]&&t!==e;)Un(t)&&Gu(t[qe],t),t=t[Xt];null===t&&(t=e),Un(t)&&Gu(t[qe],t),n=t&&t[Xn]}t=n}}(t)}}function Gu(e,t){if(!(256&t[It])){t[It]&=-129,t[It]|=256,function Jy(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const s=t[n[r]];if(!(s instanceof Ys)){const i=n[r+1];if(Array.isArray(i))for(let l=0;l<i.length;l+=2){const d=s[i[l]],g=i[l+1];At(4,d,g);try{g.call(d)}finally{At(5,d,g)}}else{At(4,s,i);try{i.call(s)}finally{At(5,s,i)}}}}}(e,t),function Qy(e,t){const n=e.cleanup,r=t[$r];if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const l=n[i+3];l>=0?r[l]():r[-l].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[$r]=null);const s=t[Vr];if(null!==s){t[Vr]=null;for(let i=0;i<s.length;i++)(0,s[i])()}}(e,t),1===t[qe].type&&t[Mt].destroy();const n=t[Xr];if(null!==n&&yn(t[Xt])){n!==t[Xt]&&xf(n,t);const r=t[yr];null!==r&&r.detachView(e)}!function Fy(e){Vu.delete(e[dr])}(t)}}function Wu(e,t,n){return function Ff(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[ln];{const{componentOffset:s}=r;if(s>-1){const{encapsulation:i}=e.data[r.directiveStart+s];if(i===Nt.None||i===Nt.Emulated)return null}return nn(r,n)}}(e,t.parent,n)}function _o(e,t,n,r,s){e.insertBefore(t,n,r,s)}function Lf(e,t,n){e.appendChild(t,n)}function kf(e,t,n,r,s){null!==r?_o(e,t,n,r,s):Lf(e,t,n)}function Al(e,t){return e.parentNode(t)}let Yu,Pl,Qu,Nl,Bf=function Hf(e,t,n){return 40&e.type?nn(e,n):null};function Ol(e,t,n,r){const s=Wu(e,r,t),i=t[Mt],d=function Vf(e,t,n){return Bf(e,t,n)}(r.parent||t[Mn],r,t);if(null!=s)if(Array.isArray(n))for(let g=0;g<n.length;g++)kf(i,s,n[g],d,!1);else kf(i,s,n,d,!1);void 0!==Yu&&Yu(i,r,t,n,s)}function Fa(e,t){if(null!==t){const n=t.type;if(3&n)return nn(t,e);if(4&n)return Ku(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Fa(e,r);{const s=e[t.index];return yn(s)?Ku(-1,s):at(s)}}if(32&n)return Uu(t,e)()||at(e[t.index]);{const r=Uf(e,t);return null!==r?Array.isArray(r)?r[0]:Fa(xa(e[on]),r):Fa(e,t.next)}}return null}function Uf(e,t){return null!==t?e[on][Mn].projection[t.projection]:null}function Ku(e,t){const n=Nn+e+1;if(n<t.length){const r=t[n],s=r[qe].firstChild;if(null!==s)return Fa(r,s)}return t[Or]}function qu(e,t,n,r,s,i,l){for(;null!=n;){const d=r[n.index],g=n.type;if(l&&0===t&&(d&&Gr(at(d),r),n.flags|=2),32!=(32&n.flags))if(8&g)qu(e,t,n.child,r,s,i,!1),Wo(t,e,s,d,i);else if(32&g){const S=Uu(n,r);let T;for(;T=S();)Wo(t,e,s,T,i);Wo(t,e,s,d,i)}else 16&g?zf(e,t,r,n,s,i):Wo(t,e,s,d,i);n=l?n.projectionNext:n.next}}function La(e,t,n,r,s,i){qu(n,r,e.firstChild,t,s,i,!1)}function zf(e,t,n,r,s,i){const l=n[on],g=l[Mn].projection[r.projection];if(Array.isArray(g))for(let S=0;S<g.length;S++)Wo(t,e,s,g[S],i);else{let S=g;const T=l[Xt];wl(r)&&(S.flags|=128),qu(e,t,S,T,s,i,!0)}}function Gf(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Wf(e,t,n){const{mergedAttrs:r,classes:s,styles:i}=n;null!==r&&dn(e,t,r),null!==s&&Gf(e,t,s),null!==i&&function s_(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}function Yo(e){return function Zu(){if(void 0===Pl&&(Pl=null,mn.trustedTypes))try{Pl=mn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Pl}()?.createHTML(e)||e}function l_(e){Qu=e}function Ko(){if(void 0!==Qu)return Qu;if(typeof document<"u")return document;throw new re(210,!1)}function Ju(){if(void 0===Nl&&(Nl=null,mn.trustedTypes))try{Nl=mn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Nl}function Yf(e){return Ju()?.createHTML(e)||e}function qf(e){return Ju()?.createScriptURL(e)||e}class Do{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Je})`}}class u_ extends Do{getTypeName(){return"HTML"}}class c_ extends Do{getTypeName(){return"Style"}}class d_ extends Do{getTypeName(){return"Script"}}class f_ extends Do{getTypeName(){return"URL"}}class h_ extends Do{getTypeName(){return"ResourceURL"}}function Vi(e){return e instanceof Do?e.changingThisBreaksApplicationSecurity:e}function qo(e,t){const n=function p_(e){return e instanceof Do&&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 ${Je})`)}return n===t}function g_(e){return new u_(e)}function m_(e){return new c_(e)}function v_(e){return new d_(e)}function y_(e){return new f_(e)}function __(e){return new h_(e)}class D_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Yo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class C_{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Yo(t),n}}const w_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function xl(e){return(e=String(e)).match(w_)?e:"unsafe:"+e}function Hi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ka(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Qf=Hi("area,br,col,hr,img,wbr"),Jf=Hi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xf=Hi("rp,rt"),Xu=ka(Qf,ka(Jf,Hi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ka(Xf,Hi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ka(Xf,Jf)),ec=Hi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),eh=ka(ec,Hi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Hi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),b_=Hi("script,style,template");class S_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Xu.hasOwnProperty(n))return this.sanitizedSomething=!0,!b_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let s=0;s<r.length;s++){const i=r.item(s),l=i.name,d=l.toLowerCase();if(!eh.hasOwnProperty(d)){this.sanitizedSomething=!0;continue}let g=i.value;ec[d]&&(g=xl(g)),this.buf.push(" ",l,'="',th(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Xu.hasOwnProperty(n)&&!Qf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(th(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const M_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,T_=/([^\#-~ |!])/g;function th(e){return e.replace(/&/g,"&amp;").replace(M_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(T_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Fl;function nh(e,t){let n=null;try{Fl=Fl||function Zf(e){const t=new C_(e);return function E_(){try{return!!(new window.DOMParser).parseFromString(Yo(""),"text/html")}catch{return!1}}()?new D_(t):t}(e);let r=t?String(t):"";n=Fl.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=Fl.getInertBodyElement(r)}while(r!==i);return Yo((new S_).sanitizeChildren(tc(n)||n))}finally{if(n){const r=tc(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function tc(e){return"content"in e&&function I_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Co=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Co||{});function rh(e){const t=Va();return t?Yf(t.sanitize(Co.HTML,e)||""):qo(e,"HTML")?Yf(Vi(e)):nh(Ko(),ke(e))}function nc(e){const t=Va();return t?t.sanitize(Co.URL,e)||"":qo(e,"URL")?Vi(e):xl(ke(e))}function sh(e){const t=Va();if(t)return qf(t.sanitize(Co.RESOURCE_URL,e)||"");if(qo(e,"ResourceURL"))return qf(Vi(e));throw new re(904,!1)}function ih(e,t,n){return function N_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?sh:nc}(t,n)(e)}function Va(){const e=Ie();return e&&e[zr].sanitizer}class _n{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}`}}const Ha=new _n("ENVIRONMENT_INITIALIZER"),oh=new _n("INJECTOR",-1),ah=new _n("INJECTOR_DEF_TYPES");class rc{get(t,n=Jn){if(n===Jn){const r=new Error(`NullInjectorError: No provider for ${ct(t)}!`);throw r.name="NullInjectorError",r}return n}}function sc(e){return{\u0275providers:e}}function x_(...e){return{\u0275providers:lh(0,e),\u0275fromNgModule:!0}}function lh(e,...t){const n=[],r=new Set;let s;const i=l=>{n.push(l)};return Uo(t,l=>{const d=l;Ll(d,i,[],r)&&(s||=[],s.push(d))}),void 0!==s&&uh(s,i),n}function uh(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:s}=e[n];ic(s,i=>{t(i,r)})}}function Ll(e,t,n,r){if(!(e=Ae(e)))return!1;let s=null,i=bn(e);const l=!i&&zt(e);if(i||l){if(l&&!l.standalone)return!1;s=e}else{const g=e.ngModule;if(i=bn(g),!i)return!1;s=g}const d=r.has(s);if(l){if(d)return!1;if(r.add(s),l.dependencies){const g="function"==typeof l.dependencies?l.dependencies():l.dependencies;for(const S of g)Ll(S,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!d){let S;r.add(s);try{Uo(i.imports,T=>{Ll(T,t,n,r)&&(S||=[],S.push(T))})}finally{}void 0!==S&&uh(S,t)}if(!d){const S=zs(s)||(()=>new s);t({provide:s,useFactory:S,deps:Ft},s),t({provide:ah,useValue:s,multi:!0},s),t({provide:Ha,useValue:()=>Wt(s),multi:!0},s)}const g=i.providers;if(null!=g&&!d){const S=e;ic(g,T=>{t(T,S)})}}}return s!==e&&void 0!==e.providers}function ic(e,t){for(let n of e)ye(n)&&(n=n.\u0275providers),Array.isArray(n)?ic(n,t):t(n)}const F_=Ee({provide:String,useValue:Ee});function oc(e){return null!==e&&"object"==typeof e&&F_ in e}function Eo(e){return"function"==typeof e}const ac=new _n("Set Injector scope."),kl={},k_={};let lc;function Vl(){return void 0===lc&&(lc=new rc),lc}class bi{}class Hl extends bi{get destroyed(){return this._destroyed}constructor(t,n,r,s){super(),this.parent=n,this.source=r,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,cc(t,l=>this.processProvider(l)),this.records.set(oh,Zo(void 0,this)),s.has("environment")&&this.records.set(bi,Zo(void 0,this));const i=this.records.get(ac);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ah.multi,Ft,Tt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Ht(this),r=Jt(void 0);try{return t()}finally{Ht(n),Jt(r)}}get(t,n=Jn,r=Tt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(lr))return t[lr](this);r=B(r);const i=Ht(this),l=Jt(void 0);try{if(!(r&Tt.SkipSelf)){let g=this.records.get(t);if(void 0===g){const S=function U_(e){return"function"==typeof e||"object"==typeof e&&e instanceof _n}(t)&&cn(t);g=S&&this.injectableDefInScope(S)?Zo(uc(t),kl):null,this.records.set(t,g)}if(null!=g)return this.hydrate(t,g)}return(r&Tt.Self?Vl():this.parent).get(t,n=r&Tt.Optional&&n===Jn?null:n)}catch(d){if("NullInjectorError"===d.name){if((d[K]=d[K]||[]).unshift(ct(t)),i)throw d;return function ze(e,t,n,r){const s=e[K];throw t[Pe]&&s.unshift(t[Pe]),e.message=function mt(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let s=ct(t);if(Array.isArray(t))s=t.map(ct).join(" -> ");else if("object"==typeof t){let i=[];for(let l in t)if(t.hasOwnProperty(l)){let d=t[l];i.push(l+":"+("string"==typeof d?JSON.stringify(d):ct(d)))}s=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(z,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[K]=null,e}(d,t,"R3InjectorError",this.source)}throw d}finally{Jt(l),Ht(i)}}resolveInjectorInitializers(){const t=Ht(this),n=Jt(void 0);try{const s=this.get(Ha.multi,Ft,Tt.Self);for(const i of s)i()}finally{Ht(t),Jt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(ct(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new re(205,!1)}processProvider(t){let n=Eo(t=Ae(t))?t:Ae(t&&t.provide);const r=function H_(e){return oc(e)?Zo(void 0,e.useValue):Zo(fh(e),kl)}(t);if(Eo(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=Zo(void 0,kl,!0),s.factory=()=>oe(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===kl&&(n.value=k_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function j_(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=Ae(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function uc(e){const t=cn(e),n=null!==t?t.factory:zs(e);if(null!==n)return n;if(e instanceof _n)throw new re(204,!1);if(e instanceof Function)return function V_(e){const t=e.length;if(t>0)throw function Ra(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new re(204,!1);const n=function Wn(e){return e&&(e[pn]||e[bt])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new re(204,!1)}function fh(e,t,n){let r;if(Eo(e)){const s=Ae(e);return zs(s)||uc(s)}if(oc(e))r=()=>Ae(e.useValue);else if(function dh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...oe(e.deps||[]));else if(function ch(e){return!(!e||!e.useExisting)}(e))r=()=>Wt(Ae(e.useExisting));else{const s=Ae(e&&(e.useClass||e.provide));if(!function B_(e){return!!e.deps}(e))return zs(s)||uc(s);r=()=>new s(...oe(e.deps))}return r}function Zo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function cc(e,t){for(const n of e)Array.isArray(n)?cc(n,t):n&&ye(n)?cc(n.\u0275providers,t):t(n)}const hh=new _n("AppId",{providedIn:"root",factory:()=>$_}),$_="ng",ph=new _n("Platform Initializer"),dc=new _n("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),z_=new _n("AnimationModuleType"),G_=new _n("CSP nonce",{providedIn:"root",factory:()=>Ko().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let gh=(e,t,n)=>null;function _c(e,t,n=!1){return gh(e,t,n)}class tD{}class yh{}class rD{resolveComponentFactory(t){throw function nD(e){const t=Error(`No component factory found for ${ct(e)}.`);return t.ngComponent=e,t}(t)}}let Ua=(()=>{class t{}return t.NULL=new rD,t})();function sD(){return Xo(In(),Ie())}function Xo(e,t){return new $a(nn(e,t))}let $a=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=sD,t})();function iD(e){return e instanceof $a?e.nativeElement:e}class Dh{}let oD=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function aD(){const e=Ie(),n=wn(In().index,e);return(Un(n)?n:e)[Mt]}(),t})(),lD=(()=>{var e;class t{}return(e=t).\u0275prov=ft({token:e,providedIn:"root",factory:()=>null}),t})();class Ch{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const uD=new Ch("16.2.3"),Ec={};function Sh(e,t=null,n=null,r){const s=Mh(e,t,n,r);return s.resolveInjectorInitializers(),s}function Mh(e,t=null,n=null,r,s=new Set){const i=[n||Ft,x_(e)];return r=r||("object"==typeof e?void 0:ct(e)),new Hl(i,t||Vl(),r||null,s)}let ci=(()=>{var e;class t{static create(r,s){if(Array.isArray(r))return Sh({name:""},s,r,"");{const i=r.name??"";return Sh({name:i},r.parent,r.providers,i)}}}return(e=t).THROW_IF_NOT_FOUND=Jn,e.NULL=new rc,e.\u0275prov=ft({token:e,providedIn:"any",factory:()=>Wt(oh)}),e.__NG_ELEMENT_ID__=-1,t})();function Sc(e){return t=>{setTimeout(e,void 0,t)}}const Si=class mD extends o.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let s=t,i=n||(()=>null),l=r;if(t&&"object"==typeof t){const g=t;s=g.next?.bind(g),i=g.error?.bind(g),l=g.complete?.bind(g)}this.__isAsync&&(i=Sc(i),s&&(s=Sc(s)),l&&(l=Sc(l)));const d=super.subscribe({next:s,error:i,complete:l});return t instanceof N.w0&&t.add(d),d}};function Th(...e){}class Fr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Si(!1),this.onMicrotaskEmpty=new Si(!1),this.onStable=new Si(!1),this.onError=new Si(!1),typeof Zone>"u")throw new re(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&n,s.shouldCoalesceRunChangeDetection=r,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function vD(){const e="function"==typeof mn.requestAnimationFrame;let t=mn[e?"requestAnimationFrame":"setTimeout"],n=mn[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const s=n[Zone.__symbol__("OriginalDelegate")];s&&(n=s)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function DD(e){const t=()=>{!function _D(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(mn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Tc(e),e.isCheckStableRunning=!0,Mc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Tc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,l,d)=>{try{return Ih(e),n.invokeTask(s,i,l,d)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Ah(e)}},onInvoke:(n,r,s,i,l,d,g)=>{try{return Ih(e),n.invoke(s,i,l,d,g)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ah(e)}},onHasTask:(n,r,s,i)=>{n.hasTask(s,i),r===s&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Tc(e),Mc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,s,i)=>(n.handleError(s,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Fr.isInAngularZone())throw new re(909,!1)}static assertNotInAngularZone(){if(Fr.isInAngularZone())throw new re(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,s){const i=this._inner,l=i.scheduleEventTask("NgZoneEvent: "+s,t,yD,Th,Th);try{return i.runTask(l,n,r)}finally{i.cancelTask(l)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const yD={};function Mc(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 Tc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ih(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ah(e){e._nesting--,Mc(e)}class CD{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Si,this.onMicrotaskEmpty=new Si,this.onStable=new Si,this.onError=new Si}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,s){return t.apply(n,r)}}const Oh=new _n("",{providedIn:"root",factory:Rh});function Rh(){const e=W(Fr);let t=!0;const n=new pe.y(s=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{s.next(t),s.complete()})}),r=new pe.y(s=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{Fr.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,s.next(!0))})})});const l=e.onUnstable.subscribe(()=>{Fr.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{s.next(!1)}))});return()=>{i.unsubscribe(),l.unsubscribe()}});return(0,j.T)(n,r.pipe((0,we.B)()))}function Bi(e){return e instanceof Function?e():e}let Ic=(()=>{var e;class t{constructor(){this.callbacks=new Set,this.deferredCallbacks=new Set,this.renderDepth=0,this.runningCallbacks=!1}begin(){if(this.runningCallbacks)throw new re(102,!1);this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth)try{this.runningCallbacks=!0;for(const r of this.callbacks)r.invoke()}finally{this.runningCallbacks=!1;for(const r of this.deferredCallbacks)this.callbacks.add(r);this.deferredCallbacks.clear()}}register(r){(this.runningCallbacks?this.deferredCallbacks:this.callbacks).add(r)}unregister(r){this.callbacks.delete(r),this.deferredCallbacks.delete(r)}ngOnDestroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}return(e=t).\u0275prov=ft({token:e,providedIn:"root",factory:()=>new e}),t})();function za(e){for(;e;){e[It]|=64;const t=xa(e);if(ps(e)&&!t)return e;e=t}return null}function Ac(e){return e.ngOriginalError}class na{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&&Ac(t);for(;n&&Ac(n);)n=Ac(n);return n||null}}const Lh=new _n("",{providedIn:"root",factory:()=>!1});class Bh extends Ki{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){za(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,r){const s=Tn(this);this.trackingVersion++;try{t(n,r)}finally{Tn(s)}}destroy(){this.trackingVersion++}}let Wl=null;function jh(){return Wl??=new Bh,Wl}function Uh(e,t){return e[t]??jh()}function $h(e,t){const n=jh();n.hasReadASignal&&(e[t]=Wl,n.lView=e,Wl=new Bh)}const Gt={};function zh(e){Gh(Qt(),Ie(),Dr()+e,!1)}function Gh(e,t,n,r){if(!r)if(3==(3&t[It])){const i=e.preOrderCheckHooks;null!==i&&it(t,i,n)}else{const i=e.preOrderHooks;null!==i&&vt(t,i,0,n)}lt(n)}function ra(e,t=Tt.Default){const n=Ie();return null===n?Wt(e,t):ef(In(),n,Ae(e),t)}function Wh(){throw new Error("invalid")}function Yl(e,t,n,r,s,i,l,d,g,S,T){const V=t.blueprint.slice();return V[ln]=s,V[It]=140|r,(null!==S||e&&2048&e[It])&&(V[It]|=2048),ki(V),V[Xt]=V[Ir]=e,V[vn]=n,V[zr]=l||e&&e[zr],V[Mt]=d||e&&e[Mt],V[mr]=g||e&&e[mr]||null,V[Mn]=i,V[dr]=function Ny(){return Py++}(),V[er]=T,V[ds]=S,V[on]=2==t.type?e[on]:V,V}function sa(e,t,n,r,s){let i=e.data[t];if(null===i)i=function Oc(e,t,n,r,s){const i=E(),l=m(),g=e.data[t]=function VD(e,t,n,r,s,i){let l=t?t.injectorIndex:-1,d=0;return function ui(){return null!==wt.skipHydrationRootTNode}()&&(d|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:l,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:d,providerIndexes:0,value:s,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,l?i:i&&i.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=g),null!==i&&(l?null==i.child&&null!==g.parent&&(i.child=g):null===i.next&&(i.next=g,g.prev=i)),g}(e,t,n,r,s),function $t(){return wt.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const l=function a(){const e=wt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===l?-1:l.injectorIndex}return c(i,!0),i}function Ga(e,t,n,r){if(0===n)return-1;const s=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function Yh(e,t,n,r,s){const i=Uh(t,Os),l=Dr(),d=2&r;try{if(lt(-1),d&&t.length>xt&&Gh(e,t,xt,!1),At(d?2:0,s),d)i.runInContext(n,r,s);else{const S=Tn(null);try{n(r,s)}finally{Tn(S)}}}finally{d&&null===t[Os]&&$h(t,Os),lt(l),At(d?3:1,s)}}function Rc(e,t,n){if(Us(t)){const r=Tn(null);try{const i=t.directiveEnd;for(let l=t.directiveStart;l<i;l++){const d=e.data[l];d.contentQueries&&d.contentQueries(1,n[l],l)}}finally{Tn(r)}}}function Pc(e,t,n){Ji()&&(function GD(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;Rr(n)&&function JD(e,t,n){const r=nn(t,e),s=Kh(n);let l=16;n.signals?l=4096:n.onPush&&(l=64);const d=Kl(e,Yl(e,s,null,l,r,t,null,e[zr].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=d}(t,n,e.data[s+n.componentOffset]),e.firstCreatePass||fl(n,t),Gr(r,t);const l=n.initialInputs;for(let d=s;d<i;d++){const g=e.data[d],S=yo(t,e,d,n);Gr(S,t),null!==l&&XD(0,d-s,S,g,0,l),Pr(g)&&(wn(n.index,t)[vn]=yo(t,e,d,n))}}(e,t,n,nn(n,t)),64==(64&n.flags)&&Xh(e,t,n))}function Nc(e,t,n=nn){const r=t.localNames;if(null!==r){let s=t.index+1;for(let i=0;i<r.length;i+=2){const l=r[i+1],d=-1===l?n(t,e):e[l];e[s++]=d}}}function Kh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=xc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function xc(e,t,n,r,s,i,l,d,g,S,T){const V=xt+r,q=V+s,J=function PD(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Gt);return n}(V,q),be="function"==typeof S?S():S;return J[qe]={type:e,blueprint:J,template:n,queries:null,viewQuery:d,declTNode:t,data:J.slice().fill(null,V),bindingStartIndex:V,expandoStartIndex:q,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 i?i():i,pipeRegistry:"function"==typeof l?l():l,firstChild:null,schemas:g,consts:be,incompleteFirstPass:!1,ssrId:T}}let qh=e=>null;function Zh(e,t,n,r){for(let s in e)if(e.hasOwnProperty(s)){n=null===n?{}:n;const i=e[s];null===r?Qh(n,t,s,i):r.hasOwnProperty(s)&&Qh(n,t,r[s],i)}return n}function Qh(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Ls(e,t,n,r,s,i,l,d){const g=nn(t,n);let T,S=t.inputs;!d&&null!=S&&(T=S[r])?(Hc(e,n,T,r,s),Rr(t)&&function jD(e,t){const n=wn(t,e);16&n[It]||(n[It]|=64)}(n,t.index)):3&t.type&&(r=function BD(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=l?l(s,t.value||"",r):s,i.setProperty(g,r,s))}function Fc(e,t,n,r){if(Ji()){const s=null===r?null:{"":-1},i=function YD(e,t){const n=e.directiveRegistry;let r=null,s=null;if(n)for(let i=0;i<n.length;i++){const l=n[i];if(cr(t,l.selectors,!1))if(r||(r=[]),Pr(l))if(null!==l.findHostDirectiveDefs){const d=[];s=s||new Map,l.findHostDirectiveDefs(l,d,s),r.unshift(...d,l),Lc(e,t,d.length)}else r.unshift(l),Lc(e,t,0);else s=s||new Map,l.findHostDirectiveDefs?.(l,r,s),r.push(l)}return null===r?null:[r,s]}(e,n);let l,d;null===i?l=d=null:[l,d]=i,null!==l&&Jh(e,t,n,l,s,d),s&&function KD(e,t,n){if(t){const r=e.localNames=[];for(let s=0;s<t.length;s+=2){const i=n[t[s+1]];if(null==i)throw new re(-301,!1);r.push(t[s],i)}}}(n,r,s)}n.mergedAttrs=ur(n.mergedAttrs,n.attrs)}function Jh(e,t,n,r,s,i){for(let S=0;S<r.length;S++)Au(fl(n,t),e,r[S].type);!function ZD(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let S=0;S<r.length;S++){const T=r[S];T.providersResolver&&T.providersResolver(T)}let l=!1,d=!1,g=Ga(e,t,r.length,null);for(let S=0;S<r.length;S++){const T=r[S];n.mergedAttrs=ur(n.mergedAttrs,T.hostAttrs),QD(e,n,t,g,T),qD(g,T,s),null!==T.contentQueries&&(n.flags|=4),(null!==T.hostBindings||null!==T.hostAttrs||0!==T.hostVars)&&(n.flags|=64);const V=T.type.prototype;!l&&(V.ngOnChanges||V.ngOnInit||V.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!d&&(V.ngOnChanges||V.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),d=!0),g++}!function HD(e,t,n){const s=t.directiveEnd,i=e.data,l=t.attrs,d=[];let g=null,S=null;for(let T=t.directiveStart;T<s;T++){const V=i[T],q=n?n.get(V):null,be=q?q.outputs:null;g=Zh(V.inputs,T,g,q?q.inputs:null),S=Zh(V.outputs,T,S,be);const $e=null===g||null===l||Mr(t)?null:eC(g,T,l);d.push($e)}null!==g&&(g.hasOwnProperty("class")&&(t.flags|=8),g.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=d,t.inputs=g,t.outputs=S}(e,n,i)}function Xh(e,t,n){const r=n.directiveStart,s=n.directiveEnd,i=n.index,l=function xn(){return wt.lFrame.currentDirectiveIndex}();try{lt(i);for(let d=r;d<s;d++){const g=e.data[d],S=t[d];Vn(d),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&WD(g,S)}}finally{lt(-1),Vn(l)}}function WD(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Lc(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function qD(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Pr(t)&&(n[""]=e)}}function QD(e,t,n,r,s){e.data[r]=s;const i=s.factory||(s.factory=zs(s.type)),l=new Ys(i,Pr(s),ra);e.blueprint[r]=l,n[r]=l,function $D(e,t,n,r,s){const i=s.hostBindings;if(i){let l=e.hostBindingOpCodes;null===l&&(l=e.hostBindingOpCodes=[]);const d=~t.index;(function zD(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(l)!=d&&l.push(d),l.push(n,r,i)}}(e,t,r,Ga(e,n,s.hostVars,Gt),s)}function Mi(e,t,n,r,s,i){const l=nn(e,t);!function kc(e,t,n,r,s,i,l){if(null==i)e.removeAttribute(t,s,n);else{const d=null==l?ke(i):l(i,r||"",s);e.setAttribute(t,s,d,n)}}(t[Mt],l,i,e.value,n,r,s)}function XD(e,t,n,r,s,i){const l=i[t];if(null!==l)for(let d=0;d<l.length;)ep(r,n,l[d++],l[d++],l[d++])}function ep(e,t,n,r,s){const i=Tn(null);try{const l=e.inputTransforms;null!==l&&l.hasOwnProperty(r)&&(s=l[r].call(t,s)),null!==e.setInput?e.setInput(t,s,n,r):t[r]=s}finally{Tn(i)}}function eC(e,t,n){let r=null,s=0;for(;s<n.length;){const i=n[s];if(0!==i)if(5!==i){if("number"==typeof i)break;if(e.hasOwnProperty(i)){null===r&&(r=[]);const l=e[i];for(let d=0;d<l.length;d+=2)if(l[d]===t){r.push(i,l[d+1],n[s+1]);break}}s+=2}else s+=2;else s+=4}return r}function tp(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function np(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r+1];if(-1!==i){const l=e.data[i];Gn(n[r]),l.contentQueries(2,t[i],i)}}}function Kl(e,t){return e[Jr]?e[vr][Xn]=t:e[Jr]=t,e[vr]=t,t}function Vc(e,t,n){Gn(0);const r=Tn(null);try{t(e,n)}finally{Tn(r)}}function rp(e){return e[$r]||(e[$r]=[])}function sp(e){return e.cleanup||(e.cleanup=[])}function ip(e,t,n){return(null===e||Pr(e))&&(n=function un(e){for(;Array.isArray(e);){if("object"==typeof e[tr])return e;e=e[ln]}return null}(n[t.index])),n[Mt]}function op(e,t){const n=e[mr],r=n?n.get(na,null):null;r&&r.handleError(t)}function Hc(e,t,n,r,s){for(let i=0;i<n.length;){const l=n[i++],d=n[i++];ep(e.data[l],t[l],r,d,s)}}function ji(e,t,n){const r=qt(t,e);!function Nf(e,t,n){e.setValue(t,n)}(e[Mt],r,n)}function tC(e,t){const n=wn(t,e),r=n[qe];!function nC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const s=n[ln];null!==s&&null===n[er]&&(n[er]=_c(s,n[mr])),Bc(r,n,n[vn])}function Bc(e,t,n){nr(t);try{const r=e.viewQuery;null!==r&&Vc(1,r,n);const s=e.template;null!==s&&Yh(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&np(e,t),e.staticViewQueries&&Vc(2,e.viewQuery,n);const i=e.components;null!==i&&function rC(e,t){for(let n=0;n<t.length;n++)tC(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[It]&=-5,Di()}}let ap=(()=>{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,s,i){const l=typeof Zone>"u"?null:Zone.current,d=new Ea(r,T=>{this.all.has(T)&&this.queue.set(T,l)},i);let g;this.all.add(d),d.notify();const S=()=>{d.cleanup(),g?.(),this.all.delete(d),this.queue.delete(d)};return g=s?.onDestroy(S),{destroy:S}}flush(){if(0!==this.queue.size)for(const[r,s]of this.queue)this.queue.delete(r),s?s.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=ft({token:e,providedIn:"root",factory:()=>new e}),t})();function ql(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,i=0;if(null!==t)for(let l=0;l<t.length;l++){const d=t[l];"number"==typeof d?i=d:1==i?s=gt(s,d):2==i&&(r=gt(r,d+": "+t[++l]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}function Wa(e,t,n,r,s=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(at(i)),yn(i)&&lp(i,r);const l=n.type;if(8&l)Wa(e,t,n.child,r);else if(32&l){const d=Uu(n,t);let g;for(;g=d();)r.push(g)}else if(16&l){const d=Uf(t,n);if(Array.isArray(d))r.push(...d);else{const g=xa(t[on]);Wa(g[qe],g,d,r,!0)}}n=s?n.projectionNext:n.next}return r}function lp(e,t){for(let n=Nn;n<e.length;n++){const r=e[n],s=r[qe].firstChild;null!==s&&Wa(r[qe],r,s,t)}e[Or]!==e[ln]&&t.push(e[Or])}function Zl(e,t,n,r=!0){const s=t[zr],i=s.rendererFactory,l=s.afterRenderEventManager;i.begin?.(),l?.begin();try{up(e,t,e.template,n)}catch(g){throw r&&op(t,g),g}finally{i.end?.(),s.effectManager?.flush(),l?.end()}}function up(e,t,n,r){const s=t[It];if(256!=(256&s)){t[zr].effectManager?.flush(),nr(t);try{ki(t),function tt(e){return wt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Yh(e,t,n,2,r);const l=3==(3&s);if(l){const S=e.preOrderCheckHooks;null!==S&&it(t,S,null)}else{const S=e.preOrderHooks;null!==S&&vt(t,S,0,null),Rn(t,0)}if(function oC(e){for(let t=Of(e);null!==t;t=Rf(t)){if(!t[hs])continue;const n=t[es];for(let r=0;r<n.length;r++){Oo(n[r])}}}(t),cp(t,2),null!==e.contentQueries&&np(e,t),l){const S=e.contentCheckHooks;null!==S&&it(t,S)}else{const S=e.contentHooks;null!==S&&vt(t,S,1),Rn(t,1)}!function RD(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=Uh(t,fs);try{for(let s=0;s<n.length;s++){const i=n[s];if(i<0)lt(~i);else{const l=i,d=n[++s],g=n[++s];kt(d,l),r.runInContext(g,2,t[l])}}}finally{null===t[fs]&&$h(t,fs),lt(-1)}}(e,t);const d=e.components;null!==d&&fp(t,d,0);const g=e.viewQuery;if(null!==g&&Vc(2,g,r),l){const S=e.viewCheckHooks;null!==S&&it(t,S)}else{const S=e.viewHooks;null!==S&&vt(t,S,2),Rn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[It]&=-73,Ro(t)}finally{Di()}}}function cp(e,t){for(let n=Of(e);null!==n;n=Rf(n))for(let r=Nn;r<n.length;r++)dp(n[r],t)}function aC(e,t,n){dp(wn(t,e),n)}function dp(e,t){if(!function xs(e){return 128==(128&e[It])}(e))return;const n=e[qe];if(80&e[It]&&0===t||1024&e[It]||2===t)up(n,e,n.template,e[vn]);else if(e[Qr]>0){cp(e,1);const s=e[qe].components;null!==s&&fp(e,s,1)}}function fp(e,t,n){for(let r=0;r<t.length;r++)aC(e,t[r],n)}class Ya{get rootNodes(){const t=this._lView,n=t[qe];return Wa(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[vn]}set context(t){this._lView[vn]=t}get destroyed(){return 256==(256&this._lView[It])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Xt];if(yn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Il(t,r),gl(n,r))}this._attachedToViewContainer=!1}zu(this._lView[qe],this._lView)}onDestroy(t){!function fo(e,t){if(256==(256&e[It]))throw new re(911,!1);null===e[Vr]&&(e[Vr]=[]),e[Vr].push(t)}(this._lView,t)}markForCheck(){za(this._cdRefInjectingView||this._lView)}detach(){this._lView[It]&=-129}reattach(){this._lView[It]|=128}detectChanges(){Zl(this._lView[qe],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new re(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Yy(e,t){La(e,t,t[Mt],2,null,null)}(this._lView[qe],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new re(902,!1);this._appRef=t}}class lC extends Ya{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Zl(t[qe],t,t[vn],!1)}checkNoChanges(){}get context(){return null}}class hp extends Ua{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=zt(t);return new Ka(n,this.ngModule)}}function pp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class cC{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=B(r);const s=this.injector.get(t,Ec,r);return s!==Ec||n===Ec?s:this.parentInjector.get(t,n,r)}}class Ka extends yh{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=pp(t.inputs);if(null!==n)for(const s of r)n.hasOwnProperty(s.propName)&&(s.transform=n[s.propName]);return r}get outputs(){return pp(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Oi(e){return e.map(ei).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,s){let i=(s=s||this.ngModule)instanceof bi?s:s?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const l=i?new cC(t,i):t,d=l.get(Dh,null);if(null===d)throw new re(407,!1);const V={rendererFactory:d,sanitizer:l.get(lD,null),effectManager:l.get(ap,null),afterRenderEventManager:l.get(Ic,null)},q=d.createRenderer(null,this.componentDef),J=this.componentDef.selectors[0][0]||"div",be=r?function ND(e,t,n,r){const i=r.get(Lh,!1)||n===Nt.ShadowDom,l=e.selectRootElement(t,i);return function xD(e){qh(e)}(l),l}(q,r,this.componentDef.encapsulation,l):Tl(q,J,function uC(e){const t=e.toLowerCase();return"svg"===t?Ut:"math"===t?"math":null}(J)),yt=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Fe=null;null!==be&&(Fe=_c(be,l,!0));const jt=xc(0,null,null,1,0,null,null,null,null,null,null),Zt=Yl(null,jt,null,yt,null,null,V,q,l,null,Fe);let An,Ss;nr(Zt);try{const Ui=this.componentDef;let Ca,Yd=null;Ui.findHostDirectiveDefs?(Ca=[],Yd=new Map,Ui.findHostDirectiveDefs(Ui,Ca,Yd),Ca.push(Ui)):Ca=[Ui];const ES=function fC(e,t){const n=e[qe],r=xt;return e[r]=t,sa(n,r,2,"#host",null)}(Zt,be),wS=function hC(e,t,n,r,s,i,l){const d=s[qe];!function pC(e,t,n,r){for(const s of e)t.mergedAttrs=ur(t.mergedAttrs,s.hostAttrs);null!==t.mergedAttrs&&(ql(t,t.mergedAttrs,!0),null!==n&&Wf(r,n,t))}(r,e,t,l);let g=null;null!==t&&(g=_c(t,s[mr]));const S=i.rendererFactory.createRenderer(t,n);let T=16;n.signals?T=4096:n.onPush&&(T=64);const V=Yl(s,Kh(n),null,T,s[e.index],e,i,S,null,null,g);return d.firstCreatePass&&Lc(d,e,r.length-1),Kl(s,V),s[e.index]=V}(ES,be,Ui,Ca,Zt,V,q);Ss=_r(jt,xt),be&&function mC(e,t,n,r){if(r)dn(e,n,["ng-version",uD.full]);else{const{attrs:s,classes:i}=function Ms(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===s?""!==i&&t.push(i,e[++r]):8===s&&n.push(i);else{if(!Kn(s))break;s=i}r++}return{attrs:t,classes:n}}(t.selectors[0]);s&&dn(e,n,s),i&&i.length>0&&Gf(e,n,i.join(" "))}}(q,Ui,be,r),void 0!==n&&function vC(e,t,n){const r=e.projection=[];for(let s=0;s<t.length;s++){const i=n[s];r.push(null!=i?Array.from(i):null)}}(Ss,this.ngContentSelectors,n),An=function gC(e,t,n,r,s,i){const l=In(),d=s[qe],g=nn(l,s);Jh(d,s,l,n,null,r);for(let T=0;T<n.length;T++)Gr(yo(s,d,l.directiveStart+T,l),s);Xh(d,s,l),g&&Gr(g,s);const S=yo(s,d,l.directiveStart+l.componentOffset,l);if(e[vn]=s[vn]=S,null!==i)for(const T of i)T(S,t);return Rc(d,l,e),S}(wS,Ui,Ca,Yd,Zt,[yC]),Bc(jt,Zt,null)}finally{Di()}return new dC(this.componentType,An,Xo(Ss,Zt),Zt,Ss)}}class dC extends tD{constructor(t,n,r,s,i){super(),this.location=r,this._rootLView=s,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new lC(s),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let s;if(null!==r&&(s=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const i=this._rootLView;Hc(i[qe],i,s,t,n),this.previousInputValues.set(t,n),za(wn(this._tNode.index,i))}}get injector(){return new is(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function yC(){const e=In();ae(Ie()[qe],e)}function jc(e){let t=function gp(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if(Pr(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new re(903,!1);s=t.\u0275dir}if(s){if(n){r.push(s);const l=e;l.inputs=Ql(e.inputs),l.inputTransforms=Ql(e.inputTransforms),l.declaredInputs=Ql(e.declaredInputs),l.outputs=Ql(e.outputs);const d=s.hostBindings;d&&EC(e,d);const g=s.viewQuery,S=s.contentQueries;if(g&&DC(e,g),S&&CC(e,S),Ye(e.inputs,s.inputs),Ye(e.declaredInputs,s.declaredInputs),Ye(e.outputs,s.outputs),null!==s.inputTransforms&&(null===l.inputTransforms&&(l.inputTransforms={}),Ye(l.inputTransforms,s.inputTransforms)),Pr(s)&&s.data.animation){const T=e.data;T.animation=(T.animation||[]).concat(s.data.animation)}}const i=s.features;if(i)for(let l=0;l<i.length;l++){const d=i[l];d&&d.ngInherit&&d(e),d===jc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function _C(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const s=e[r];s.hostVars=t+=s.hostVars,s.hostAttrs=ur(s.hostAttrs,n=ur(n,s.hostAttrs))}}(r)}function Ql(e){return e===sn?{}:e===Ft?[]:e}function DC(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function CC(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,i)=>{t(r,s,i),n(r,s,i)}:t}function EC(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}function _p(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const s=t[r];Array.isArray(s)&&s[2]&&(n[r]=s[2])}e.inputTransforms=n}function Jl(e){return!!Uc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Uc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ti(e,t,n){return e[t]=n}function Wr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function wo(e,t,n,r){const s=Wr(e,t,n);return Wr(e,t+1,r)||s}function Xl(e,t,n,r,s){const i=wo(e,t,n,r);return Wr(e,t+2,s)||i}function $c(e,t,n,r){const s=Ie();return Wr(s,Ze(),t)&&(Qt(),Mi(nt(),s,e,t,n,r)),$c}function oa(e,t,n,r){return Wr(e,Ze(),n)?t+ke(n)+r:Gt}function la(e,t,n,r,s,i,l,d){const S=Xl(e,function fe(){return wt.lFrame.bindingIndex}(),n,s,l);return Lt(3),S?t+ke(n)+r+ke(s)+i+ke(l)+d:Gt}function Pp(e,t,n,r,s,i,l,d){const g=Ie(),S=Qt(),T=e+xt,V=S.firstCreatePass?function YC(e,t,n,r,s,i,l,d,g){const S=t.consts,T=sa(t,e,4,l||null,Ws(S,d));Fc(t,n,T,Ws(S,g)),ae(t,T);const V=T.tView=xc(2,T,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,S,null);return null!==t.queries&&(t.queries.template(t,T),V.queries=t.queries.embeddedTView(T)),T}(T,S,g,t,n,r,s,i,l):S.data[T];c(V,!1);const q=Np(S,g,V,e);P()&&Ol(S,g,q,V),Gr(q,g),Kl(g,g[T]=tp(q,g,q,V)),Rs(V)&&Pc(S,g,V),null!=l&&Nc(g,V,d)}let Np=function xp(e,t,n,r){return Z(!0),t[Mt].createComment("")};function qc(e,t,n){const r=Ie();return Wr(r,Ze(),t)&&Ls(Qt(),nt(),r,e,t,r[Mt],n,!1),qc}function Zc(e,t,n,r,s){const l=s?"class":"style";Hc(e,n,t.inputs[l],l,r)}function ru(e,t,n,r){const s=Ie(),i=Qt(),l=xt+e,d=s[Mt],g=i.firstCreatePass?function JC(e,t,n,r,s,i){const l=t.consts,g=sa(t,e,2,r,Ws(l,s));return Fc(t,n,g,Ws(l,i)),null!==g.attrs&&ql(g,g.attrs,!1),null!==g.mergedAttrs&&ql(g,g.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,g),g}(l,i,s,t,n,r):i.data[l],S=Fp(i,s,g,d,t,e);s[l]=S;const T=Rs(g);return c(g,!0),Wf(d,S,g),32!=(32&g.flags)&&P()&&Ol(i,s,S,g),0===function xr(){return wt.lFrame.elementDepthCount}()&&Gr(S,s),function No(){wt.lFrame.elementDepthCount++}(),T&&(Pc(i,s,g),Rc(i,g,s)),null!==r&&Nc(s,g),ru}function su(){let e=In();m()?M():(e=e.parent,c(e,!1));const t=e;(function xo(e){return wt.skipHydrationRootTNode===e})(t)&&function ba(){wt.skipHydrationRootTNode=null}(),function po(){wt.lFrame.elementDepthCount--}();const n=Qt();return n.firstCreatePass&&(ae(n,e),Us(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Gv(e){return 0!=(8&e.flags)}(t)&&Zc(n,t,Ie(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Wv(e){return 0!=(16&e.flags)}(t)&&Zc(n,t,Ie(),t.stylesWithoutHost,!1),su}function Qc(e,t,n,r){return ru(e,t,n,r),su(),Qc}let Fp=(e,t,n,r,s,i)=>(Z(!0),Tl(r,s,function y(){return wt.lFrame.currentNamespace}()));function iu(e,t,n){const r=Ie(),s=Qt(),i=e+xt,l=s.firstCreatePass?function tE(e,t,n,r,s){const i=t.consts,l=Ws(i,r),d=sa(t,e,8,"ng-container",l);return null!==l&&ql(d,l,!0),Fc(t,n,d,Ws(i,s)),null!==t.queries&&t.queries.elementStart(t,d),d}(i,s,r,t,n):s.data[i];c(l,!0);const d=kp(s,r,l,e);return r[i]=d,P()&&Ol(s,r,d,l),Gr(d,r),Rs(l)&&(Pc(s,r,l),Rc(s,l,r)),null!=n&&Nc(r,l),iu}function ou(){let e=In();const t=Qt();return m()?M():(e=e.parent,c(e,!1)),t.firstCreatePass&&(ae(t,e),Us(e)&&t.queries.elementEnd(e)),ou}let kp=(e,t,n,r)=>(Z(!0),$u(t[Mt],""));function Vp(){return Ie()}function Jc(e){return!!e&&"function"==typeof e.then}function Hp(e){return!!e&&"function"==typeof e.subscribe}function Xc(e,t,n,r){const s=Ie(),i=Qt(),l=In();return function jp(e,t,n,r,s,i,l){const d=Rs(r),S=e.firstCreatePass&&sp(e),T=t[vn],V=rp(t);let q=!0;if(3&r.type||l){const $e=nn(r,t),rt=l?l($e):$e,yt=V.length,Fe=l?Zt=>l(at(Zt[r.index])):r.index;let jt=null;if(!l&&d&&(jt=function sE(e,t,n,r){const s=e.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const l=s[i];if(l===n&&s[i+1]===r){const d=t[$r],g=s[i+2];return d.length>g?d[g]:null}"string"==typeof l&&(i+=2)}return null}(e,t,s,r.index)),null!==jt)(jt.__ngLastListenerFn__||jt).__ngNextListenerFn__=i,jt.__ngLastListenerFn__=i,q=!1;else{i=$p(r,t,T,i,!1);const Zt=n.listen(rt,s,i);V.push(i,Zt),S&&S.push(s,Fe,yt,yt+1)}}else i=$p(r,t,T,i,!1);const J=r.outputs;let be;if(q&&null!==J&&(be=J[s])){const $e=be.length;if($e)for(let rt=0;rt<$e;rt+=2){const An=t[be[rt]][be[rt+1]].subscribe(i),Ss=V.length;V.push(i,An),S&&S.push(s,r.index,Ss,-(Ss+1))}}}(i,s,s[Mt],l,e,t,r),Xc}function Up(e,t,n,r){try{return At(6,t,n),!1!==n(r)}catch(s){return op(e,s),!1}finally{At(7,t,n)}}function $p(e,t,n,r,s){return function i(l){if(l===Function)return r;za(e.componentOffset>-1?wn(e.index,t):t);let g=Up(t,n,r,l),S=i.__ngNextListenerFn__;for(;S;)g=Up(t,n,S,l)&&g,S=S.__ngNextListenerFn__;return s&&!1===g&&l.preventDefault(),g}}function zp(e=1){return function Ci(e){return(wt.lFrame.contextLView=function Ma(e,t){for(;e>0;)t=t[Ir],e--;return t}(e,wt.lFrame.contextLView))[vn]}(e)}function ed(e,t,n){return td(e,"",t,"",n),ed}function td(e,t,n,r,s){const i=Ie(),l=oa(i,t,n,r);return l!==Gt&&Ls(Qt(),nt(),i,e,l,i[Mt],s,!1),td}function au(e,t){return e<<17|t<<2}function Xi(e){return e>>17&32767}function nd(e){return 2|e}function bo(e){return(131068&e)>>2}function rd(e,t){return-131069&e|t<<2}function sd(e){return 1|e}function Xp(e,t,n,r,s){const i=e[n+1],l=null===t;let d=r?Xi(i):bo(i),g=!1;for(;0!==d&&(!1===g||l);){const T=e[d+1];hE(e[d],t)&&(g=!0,e[d+1]=r?sd(T):nd(T)),d=r?Xi(T):bo(T)}g&&(e[n+1]=r?nd(i):sd(i))}function hE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&$o(e,t)>=0}const Er={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function eg(e){return e.substring(Er.key,Er.keyEnd)}function tg(e,t){const n=Er.textEnd;return n===t?-1:(t=Er.keyEnd=function vE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Er.key=t,n),pa(e,t,n))}function pa(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function id(e,t,n){return di(e,t,n,!1),id}function od(e,t){return di(e,t,null,!0),od}function og(e){fi(ME,Ai,e,!0)}function Ai(e,t){for(let n=function gE(e){return function rg(e){Er.key=0,Er.keyEnd=0,Er.value=0,Er.valueEnd=0,Er.textEnd=e.length}(e),tg(e,pa(e,0,Er.textEnd))}(t);n>=0;n=tg(t,n))Fs(e,eg(t),!0)}function di(e,t,n,r){const s=Ie(),i=Qt(),l=Lt(2);i.firstUpdatePass&&lg(i,e,l,r),t!==Gt&&Wr(s,l,t)&&cg(i,i.data[Dr()],s,s[Mt],e,s[l+1]=function IE(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ct(Vi(e)))),e}(t,n),r,l)}function fi(e,t,n,r){const s=Qt(),i=Lt(2);s.firstUpdatePass&&lg(s,null,i,r);const l=Ie();if(n!==Gt&&Wr(l,i,n)){const d=s.data[Dr()];if(fg(d,r)&&!ag(s,i)){let g=r?d.classesWithoutHost:d.stylesWithoutHost;null!==g&&(n=gt(g,n||"")),Zc(s,d,l,n,r)}else!function TE(e,t,n,r,s,i,l,d){s===Gt&&(s=Ft);let g=0,S=0,T=0<s.length?s[0]:null,V=0<i.length?i[0]:null;for(;null!==T||null!==V;){const q=g<s.length?s[g+1]:void 0,J=S<i.length?i[S+1]:void 0;let $e,be=null;T===V?(g+=2,S+=2,q!==J&&(be=V,$e=J)):null===V||null!==T&&T<V?(g+=2,be=T):(S+=2,be=V,$e=J),null!==be&&cg(e,t,n,r,be,$e,l,d),T=g<s.length?s[g]:null,V=S<i.length?i[S]:null}}(s,d,l,l[Mt],l[i+1],l[i+1]=function SE(e,t,n){if(null==n||""===n)return Ft;const r=[],s=Vi(n);if(Array.isArray(s))for(let i=0;i<s.length;i++)e(r,s[i],!0);else if("object"==typeof s)for(const i in s)s.hasOwnProperty(i)&&e(r,i,s[i]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,i)}}function ag(e,t){return t>=e.expandoStartIndex}function lg(e,t,n,r){const s=e.data;if(null===s[n+1]){const i=s[Dr()],l=ag(e,n);fg(i,r)&&null===t&&!l&&(t=!1),t=function CE(e,t,n,r){const s=$n(e);let i=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=Xa(n=ad(null,e,t,n,r),t.attrs,r),i=null);else{const l=t.directiveStylingLast;if(-1===l||e[l]!==s)if(n=ad(s,e,t,n,r),null===i){let g=function EE(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==bo(r))return e[Xi(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=ad(null,e,t,g[1],r),g=Xa(g,t.attrs,r),function wE(e,t,n,r){e[Xi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else i=function bE(e,t,n){let r;const s=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<s;i++)r=Xa(r,e[i].hostAttrs,n);return Xa(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(s,i,t,r),function dE(e,t,n,r,s,i){let l=i?t.classBindings:t.styleBindings,d=Xi(l),g=bo(l);e[r]=n;let T,S=!1;if(Array.isArray(n)?(T=n[1],(null===T||$o(n,T)>0)&&(S=!0)):T=n,s)if(0!==g){const q=Xi(e[d+1]);e[r+1]=au(q,d),0!==q&&(e[q+1]=rd(e[q+1],r)),e[d+1]=function uE(e,t){return 131071&e|t<<17}(e[d+1],r)}else e[r+1]=au(d,0),0!==d&&(e[d+1]=rd(e[d+1],r)),d=r;else e[r+1]=au(g,0),0===d?d=r:e[g+1]=rd(e[g+1],r),g=r;S&&(e[r+1]=nd(e[r+1])),Xp(e,T,r,!0),Xp(e,T,r,!1),function fE(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&$o(i,t)>=0&&(n[r+1]=sd(n[r+1]))}(t,T,e,r,i),l=au(d,g),i?t.classBindings=l:t.styleBindings=l}(s,i,t,n,l,r)}}function ad(e,t,n,r,s){let i=null;const l=n.directiveEnd;let d=n.directiveStylingLast;for(-1===d?d=n.directiveStart:d++;d<l&&(i=t[d],r=Xa(r,i.hostAttrs,s),i!==e);)d++;return null!==e&&(n.directiveStylingLast=d),r}function Xa(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let i=0;i<t.length;i++){const l=t[i];"number"==typeof l?s=l:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Fs(e,l,!!n||t[++i]))}return void 0===e?null:e}function ME(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Fs(e,r,n)}function cg(e,t,n,r,s,i,l,d){if(!(3&t.type))return;const g=e.data,S=g[d+1],T=function cE(e){return 1==(1&e)}(S)?dg(g,t,n,s,bo(S),l):void 0;lu(T)||(lu(i)||function lE(e){return 2==(2&e)}(S)&&(i=dg(g,null,n,s,d,l)),function r_(e,t,n,r,s){if(t)s?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:Sl.DashCase;null==s?e.removeStyle(n,r,i):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),i|=Sl.Important),e.setStyle(n,r,s,i))}}(r,l,qt(Dr(),n),s,i))}function dg(e,t,n,r,s,i){const l=null===t;let d;for(;s>0;){const g=e[s],S=Array.isArray(g),T=S?g[1]:g,V=null===T;let q=n[s+1];q===Gt&&(q=V?Ft:void 0);let J=V?Nu(q,r):T===r?q:void 0;if(S&&!lu(J)&&(J=Nu(g,r)),lu(J)&&(d=J,l))return d;const be=e[s+1];s=l?Xi(be):bo(be)}if(null!==t){let g=i?t.residualClasses:t.residualStyles;null!=g&&(d=Nu(g,r))}return d}function lu(e){return void 0!==e}function fg(e,t){return 0!=(e.flags&(t?8:16))}function hg(e,t=""){const n=Ie(),r=Qt(),s=e+xt,i=r.firstCreatePass?sa(r,s,1,t,null):r.data[s],l=pg(r,n,i,t,e);n[s]=l,P()&&Ol(r,n,l,i),c(i,!1)}let pg=(e,t,n,r,s)=>(Z(!0),function Ml(e,t){return e.createText(t)}(t[Mt],r));function ld(e){return uu("",e,""),ld}function uu(e,t,n){const r=Ie(),s=oa(r,e,t,n);return s!==Gt&&ji(r,Dr(),s),uu}function ud(e,t,n,r,s,i,l){const d=Ie(),g=la(d,e,t,n,r,s,i,l);return g!==Gt&&ji(d,Dr(),g),ud}function Eg(e,t,n){fi(Fs,Ai,oa(Ie(),e,t,n),!0)}function cd(e,t,n){const r=Ie();if(Wr(r,Ze(),t)){const i=Qt(),l=nt();Ls(i,l,r,e,t,ip($n(i.data),l,r),n,!0)}return cd}const So=void 0;var qE=["en",[["a","p"],["AM","PM"],So],[["AM","PM"],So,So],[["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"]],So,[["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"]],So,[["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}",So,"{1} 'at' {0}",So],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function KE(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ga={};function dd(e){const t=function ZE(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=xg(t);if(n)return n;const r=t.split("-")[0];if(n=xg(r),n)return n;if("en"===r)return qE;throw new re(701,!1)}function Ng(e){return dd(e)[ma.PluralCase]}function xg(e){return e in ga||(ga[e]=mn.ng&&mn.ng.common&&mn.ng.common.locales&&mn.ng.common.locales[e]),ga[e]}var ma=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(ma||{});const va="en-US";let Fg=va;function pd(e,t,n,r,s){if(e=Ae(e),Array.isArray(e))for(let i=0;i<e.length;i++)pd(e[i],t,n,r,s);else{const i=Qt(),l=Ie(),d=In();let g=Eo(e)?e:Ae(e.provide);const S=fh(e),T=1048575&d.providerIndexes,V=d.directiveStart,q=d.providerIndexes>>20;if(Eo(e)||!e.multi){const J=new Ys(S,s,ra),be=md(g,t,s?T:T+q,V);-1===be?(Au(fl(d,l),i,g),gd(i,e,t.length),t.push(g),d.directiveStart++,d.directiveEnd++,s&&(d.providerIndexes+=1048576),n.push(J),l.push(J)):(n[be]=J,l[be]=J)}else{const J=md(g,t,T+q,V),be=md(g,t,T,T+q),rt=be>=0&&n[be];if(s&&!rt||!s&&!(J>=0&&n[J])){Au(fl(d,l),i,g);const yt=function q0(e,t,n,r,s){const i=new Ys(e,n,ra);return i.multi=[],i.index=t,i.componentProviders=0,om(i,s,r&&!n),i}(s?K0:Y0,n.length,s,r,S);!s&&rt&&(n[be].providerFactory=yt),gd(i,e,t.length,0),t.push(g),d.directiveStart++,d.directiveEnd++,s&&(d.providerIndexes+=1048576),n.push(yt),l.push(yt)}else gd(i,e,J>-1?J:be,om(n[s?be:J],S,!s&&r));!s&&r&&rt&&n[be].componentProviders++}}}function gd(e,t,n,r){const s=Eo(t),i=function L_(e){return!!e.useClass}(t);if(s||i){const g=(i?Ae(t.useClass):t).prototype.ngOnDestroy;if(g){const S=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const T=S.indexOf(n);-1===T?S.push(n,[r,g]):S[T+1].push(r,g)}else S.push(n,g)}}}function om(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function md(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function Y0(e,t,n,r){return vd(this.multi,[])}function K0(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const l=this.providerFactory.componentProviders,d=yo(n,n[qe],this.providerFactory.index,r);i=d.slice(0,l),vd(s,i);for(let g=l;g<d.length;g++)i.push(d[g])}else i=[],vd(s,i);return i}function vd(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function am(e,t=[]){return n=>{n.providersResolver=(r,s)=>function W0(e,t,n){const r=Qt();if(r.firstCreatePass){const s=Pr(e);pd(n,r.data,r.blueprint,s,!0),pd(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class Mo{}class lm{}function Z0(e,t){return new yd(e,t??null,[])}class yd extends Mo{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new hp(this);const s=Ln(t);this._bootstrapComponents=Bi(s.bootstrap),this._r3Injector=Mh(t,n,[{provide:Mo,useValue:this},{provide:Ua,useValue:this.componentFactoryResolver},...r],ct(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 _d extends lm{constructor(t){super(),this.moduleType=t}create(t){return new yd(this.moduleType,t,[])}}class um extends Mo{constructor(t){super(),this.componentFactoryResolver=new hp(this),this.instance=null;const n=new Hl([...t.providers,{provide:Mo,useValue:this},{provide:Ua,useValue:this.componentFactoryResolver}],t.parent||Vl(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function cm(e,t,n=null){return new um({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let J0=(()=>{var e;class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const s=lh(0,r.type),i=s.length>0?cm([s],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}}return(e=t).\u0275prov=ft({token:e,providedIn:"environment",factory:()=>new e(Wt(bi))}),t})();function dm(e){e.getStandaloneInjector=t=>t.get(J0).getOrCreateStandaloneInjector(e)}function ym(e,t,n,r){return _m(Ie(),Q(),e,t,n,r)}function il(e,t){const n=e[t];return n===Gt?void 0:n}function _m(e,t,n,r,s,i){const l=t+n;return Wr(e,l,s)?Ti(e,l+1,i?r.call(i,s):r(s)):il(e,l+1)}function bm(e,t){const n=Qt();let r;const s=e+xt;n.firstCreatePass?(r=function mw(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks??=[]).push(s,r.onDestroy)):r=n.data[s];const i=r.factory||(r.factory=zs(r.type)),d=Jt(ra);try{const g=dl(!1),S=i();return dl(g),function ZC(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Ie(),s,S),S}finally{Jt(d)}}function Sm(e,t,n){const r=e+xt,s=Ie(),i=qn(s,r);return ol(s,r)?_m(s,Q(),t,i.transform,n,i):i.transform(n)}function Mm(e,t,n,r){const s=e+xt,i=Ie(),l=qn(i,s);return ol(i,s)?function Dm(e,t,n,r,s,i,l){const d=t+n;return wo(e,d,s,i)?Ti(e,d+2,l?r.call(l,s,i):r(s,i)):il(e,d+2)}(i,Q(),t,l.transform,n,r,l):l.transform(n,r)}function Tm(e,t,n,r,s){const i=e+xt,l=Ie(),d=qn(l,i);return ol(l,i)?function Cm(e,t,n,r,s,i,l,d){const g=t+n;return Xl(e,g,s,i,l)?Ti(e,g+3,d?r.call(d,s,i,l):r(s,i,l)):il(e,g+3)}(l,Q(),t,d.transform,n,r,s,d):d.transform(n,r,s)}function ol(e,t){return e[qe].data[t].pure}function _w(){return this._results[Symbol.iterator]()}class Cd{get changes(){return this._changes||(this._changes=new Si)}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=Cd.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=_w)}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 s=function Ks(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function oy(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],i=t[r];if(n&&(s=n(s),i=n(i)),i!==s)return!1}return!0}(r._results,s,n))&&(r._results=s,r.length=s.length,r.last=s[this.length-1],r.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function Cw(e,t,n,r=!0){const s=t[qe];if(function qy(e,t,n,r){const s=Nn+r,i=n.length;r>0&&(n[s-1][Xn]=t),r<i-Nn?(t[Xn]=n[s],uf(n,Nn+r,t)):(n.push(t),t[Xn]=null),t[Xt]=n;const l=t[Xr];null!==l&&n!==l&&function Zy(e,t){const n=e[es];t[on]!==t[Xt][Xt][on]&&(e[hs]=!0),null===n?e[es]=[t]:n.push(t)}(l,t);const d=t[yr];null!==d&&d.insertView(e),t[It]|=128}(s,t,e,n),r){const i=Ku(n,e),l=t[Mt],d=Al(l,e[Or]);null!==d&&function Wy(e,t,n,r,s,i){r[ln]=s,r[Mn]=t,La(e,r,n,1,s,i)}(s,e[Mn],l,t,d,i)}}let al=(()=>{class t{}return t.__NG_ELEMENT_ID__=bw,t})();const Ew=al,ww=class extends Ew{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const s=function Dw(e,t,n,r){const s=t.tView,d=Yl(e,s,n,4096&e[It]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);d[Xr]=e[t.index];const S=e[yr];return null!==S&&(d[yr]=S.createEmbeddedView(s)),Bc(s,d,n),d}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new Ya(s)}};function bw(){return pu(In(),Ie())}function pu(e,t){return 4&e.type?new ww(t,e,Xo(e,t)):null}let mu=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ow,t})();function Ow(){return xm(In(),Ie())}const Rw=mu,Pm=class extends Rw{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Xo(this._hostTNode,this._hostLView)}get injector(){return new is(this._hostTNode,this._hostLView)}get parentInjector(){const t=hl(this._hostTNode,this._hostLView);if(Mu(t)){const n=Ia(t,this._hostLView),r=Ta(t);return new is(n[qe].data[r+8],n)}return new is(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Nm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Nn}createEmbeddedView(t,n,r){let s,i;"number"==typeof r?s=r:null!=r&&(s=r.index,i=r.injector);const d=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(d,s,false),d}createComponent(t,n,r,s,i){const l=t&&!function Oa(e){return"function"==typeof e}(t);let d;if(l)d=n;else{const $e=n||{};d=$e.index,r=$e.injector,s=$e.projectableNodes,i=$e.environmentInjector||$e.ngModuleRef}const g=l?t:new Ka(zt(t)),S=r||this.parentInjector;if(!i&&null==g.ngModule){const rt=(l?S:this.parentInjector).get(bi,null);rt&&(i=rt)}zt(g.componentType??{});const J=g.create(S,s,null,i);return this.insertImpl(J.hostView,d,false),J}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const s=t._lView;if(function Gs(e){return yn(e[Xt])}(s)){const g=this.indexOf(t);if(-1!==g)this.detach(g);else{const S=s[Xt],T=new Pm(S,S[Mn],S[Xt]);T.detach(T.indexOf(t))}}const l=this._adjustIndex(n),d=this._lContainer;return Cw(d,s,l,!r),t.attachToViewContainerRef(),uf(Ed(d),l,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Nm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Il(this._lContainer,n);r&&(gl(Ed(this._lContainer),n),zu(r[qe],r))}detach(t){const n=this._adjustIndex(t,-1),r=Il(this._lContainer,n);return r&&null!=gl(Ed(this._lContainer),n)?new Ya(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Nm(e){return e[8]}function Ed(e){return e[8]||(e[8]=[])}function xm(e,t){let n;const r=t[e.index];return yn(r)?n=r:(n=tp(r,t,null,e),t[e.index]=n,Kl(t,n)),Fm(n,t,e,r),new Pm(n,e,t)}let Fm=function Lm(e,t,n,r){if(e[Or])return;let s;s=8&n.type?at(r):function Pw(e,t){const n=e[Mt],r=n.createComment(""),s=nn(t,e);return _o(n,Al(n,s),r,function e_(e,t){return e.nextSibling(t)}(n,s),!1),r}(t,n),e[Or]=s};class wd{constructor(t){this.queryList=t,this.matches=null}clone(){return new wd(this.queryList)}setDirty(){this.queryList.setDirty()}}class bd{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let i=0;i<r;i++){const l=n.getByIndex(i);s.push(this.queries[l.indexInDeclarationView].clone())}return new bd(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==zm(t,n).matches&&this.queries[n].setDirty()}}class km{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Sd{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 s=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,s);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new Sd(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 Md{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 Md(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 s=0;s<r.length;s++){const i=r[s];this.matchTNodeWithReadOption(t,n,Fw(n,i)),this.matchTNodeWithReadOption(t,n,pl(n,t,i,!1,!1))}else r===al?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,pl(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===$a||s===mu||s===al&&4&n.type)this.addMatch(n.index,-2);else{const i=pl(n,t,s,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function Fw(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 kw(e,t,n,r){return-1===n?function Lw(e,t){return 11&e.type?Xo(e,t):4&e.type?pu(e,t):null}(t,e):-2===n?function Vw(e,t,n){return n===$a?Xo(t,e):n===al?pu(t,e):n===mu?xm(t,e):void 0}(e,t,r):yo(e,e[qe],n,t)}function Vm(e,t,n,r){const s=t[yr].queries[r];if(null===s.matches){const i=e.data,l=n.matches,d=[];for(let g=0;g<l.length;g+=2){const S=l[g];d.push(S<0?null:kw(t,i[S],l[g+1],n.metadata.read))}s.matches=d}return s.matches}function Td(e,t,n,r){const s=e.queries.getByIndex(n),i=s.matches;if(null!==i){const l=Vm(e,t,s,n);for(let d=0;d<i.length;d+=2){const g=i[d];if(g>0)r.push(l[d/2]);else{const S=i[d+1],T=t[-g];for(let V=Nn;V<T.length;V++){const q=T[V];q[Xr]===q[Xt]&&Td(q[qe],q,S,r)}if(null!==T[es]){const V=T[es];for(let q=0;q<V.length;q++){const J=V[q];Td(J[qe],J,S,r)}}}}}return r}function Hm(e){const t=Ie(),n=Qt(),r=hr();Gn(r+1);const s=zm(n,r);if(e.dirty&&function ys(e){return 4==(4&e[It])}(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?Td(n,t,r,[]):Vm(n,t,s,r);e.reset(i,iD),e.notifyOnChanges()}return!0}return!1}function Bm(e,t,n,r){const s=Qt();if(s.firstCreatePass){const i=In();(function $m(e,t,n){null===e.queries&&(e.queries=new Sd),e.queries.track(new Md(t,n))})(s,new km(t,n,r),i.index),function jw(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}!function Um(e,t,n){const r=new Cd(4==(4&n));(function kD(e,t,n,r){const s=rp(t);s.push(n),e.firstCreatePass&&sp(e).push(r,s.length-1)})(e,t,r,r.destroy),null===t[yr]&&(t[yr]=new bd),t[yr].queries.push(new wd(r))}(s,Ie(),n)}function jm(){return function Bw(e,t){return e[yr].queries[t].queryList}(Ie(),hr())}function zm(e,t){return e.queries.getByIndex(t)}function Id(e){return!!Ln(e)}const av=new _n("Application Initializer");let Nd=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,s)=>{this.resolve=r,this.reject=s}),this.appInits=W(av,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const i of this.appInits){const l=i();if(Jc(l))r.push(l);else if(Hp(l)){const d=new Promise((g,S)=>{l.subscribe({complete:g,error:S})});r.push(d)}}const s=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{s()}).catch(i=>{this.reject(i)}),0===r.length&&s(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=ft({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),lv=(()=>{var e;class t{log(r){console.log(r)}warn(r){console.warn(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=ft({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();const yu=new _n("LocaleId",{providedIn:"root",factory:()=>W(yu,Tt.Optional|Tt.SkipSelf)||function ub(){return typeof $localize<"u"&&$localize.locale||va}()}),cb=new _n("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let uv=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new F.X(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=ft({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class fb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let hb=(()=>{var e;class t{compileModuleSync(r){return new _d(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const s=this.compileModuleSync(r),l=Bi(Ln(r).declarations).reduce((d,g)=>{const S=zt(g);return S&&d.push(new Ka(S)),d},[]);return new fb(s,l)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=ft({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const hv=new _n(""),pv=new _n("");let Ld,Nb=(()=>{var e;class t{constructor(r,s,i){this._ngZone=r,this.registry=s,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ld||(function xb(e){Ld=e}(i),i.addToWindow(s)),this._watchAngularEvents(),r.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:()=>{Fr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(s=>!s.updateCb||!s.updateCb(r)||(clearTimeout(s.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,s,i){let l=-1;s&&s>0&&(l=setTimeout(()=>{this._callbacks=this._callbacks.filter(d=>d.timeoutId!==l),r(this._didWork,this.getPendingTasks())},s)),this._callbacks.push({doneCb:r,timeoutId:l,updateCb:i})}whenStable(r,s,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(r,s,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,s,i){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(Wt(Fr),Wt(gv),Wt(pv))},e.\u0275prov=ft({token:e,factory:e.\u0275fac}),t})(),gv=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,s){this._applications.set(r,s)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,s=!0){return Ld?.findTestabilityInTree(this,r,s)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=ft({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),eo=null;const mv=new _n("AllowMultipleToken"),kd=new _n("PlatformDestroyListeners"),Vd=new _n("appBootstrapListener");class kb{constructor(t,n){this.name=t,this.token=n}}function _v(e,t,n=[]){const r=`Platform: ${t}`,s=new _n(r);return(i=[])=>{let l=Hd();if(!l||l.injector.get(mv,!1)){const d=[...n,...i,{provide:s,useValue:!0}];e?e(d):function Vb(e){if(eo&&!eo.get(mv,!1))throw new re(400,!1);(function vv(){!function Ao(e){xi=e}(()=>{throw new re(600,!1)})})(),eo=e;const t=e.get(Cv);(function yv(e){e.get(ph,null)?.forEach(n=>n())})(e)}(function Dv(e=[],t){return ci.create({name:t,providers:[{provide:ac,useValue:"platform"},{provide:kd,useValue:new Set([()=>eo=null])},...e]})}(d,r))}return function Bb(e){const t=Hd();if(!t)throw new re(401,!1);return t}()}}function Hd(){return eo?.get(Cv)??null}let Cv=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,s){const i=function jb(e="zone.js",t){return"noop"===e?new CD:"zone.js"===e?new Fr(t):e}(s?.ngZone,function Ev(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:s?.ngZoneEventCoalescing,runCoalescing:s?.ngZoneRunCoalescing}));return i.run(()=>{const l=function Q0(e,t,n){return new yd(e,t,n)}(r.moduleType,this.injector,function Tv(e){return[{provide:Fr,useFactory:e},{provide:Ha,multi:!0,useFactory:()=>{const t=W($b,{optional:!0});return()=>t.initialize()}},{provide:Mv,useFactory:Ub},{provide:Oh,useFactory:Rh}]}(()=>i)),d=l.injector.get(na,null);return i.runOutsideAngular(()=>{const g=i.onError.subscribe({next:S=>{d.handleError(S)}});l.onDestroy(()=>{Du(this._modules,l),g.unsubscribe()})}),function wv(e,t,n){try{const r=n();return Jc(r)?r.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(d,i,()=>{const g=l.injector.get(Nd);return g.runInitializers(),g.donePromise.then(()=>(function Lg(e){le(e,"Expected localeId to be defined"),"string"==typeof e&&(Fg=e.toLowerCase().replace(/_/g,"-"))}(l.injector.get(yu,va)||va),this._moduleDoBootstrap(l),l))})})}bootstrapModule(r,s=[]){const i=bv({},s);return function Fb(e,t,n){const r=new _d(n);return Promise.resolve(r)}(0,0,r).then(l=>this.bootstrapModuleFactory(l,i))}_moduleDoBootstrap(r){const s=r.injector.get(Da);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(i=>s.bootstrap(i));else{if(!r.instance.ngDoBootstrap)throw new re(-403,!1);r.instance.ngDoBootstrap(s)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new re(404,!1);this._modules.slice().forEach(s=>s.destroy()),this._destroyListeners.forEach(s=>s());const r=this._injector.get(kd,null);r&&(r.forEach(s=>s()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(Wt(ci))},e.\u0275prov=ft({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function bv(e,t){return Array.isArray(t)?t.reduce(bv,e):{...e,...t}}let Da=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Mv),this.zoneIsStable=W(Oh),this.componentTypes=[],this.components=[],this.isStable=W(uv).hasPendingTasks.pipe((0,Me.w)(r=>r?(0,ne.of)(!1):this.zoneIsStable),function xe(e,t=Te.y){return e=e??Qe,(0,se.e)((n,r)=>{let s,i=!0;n.subscribe((0,he.x)(r,l=>{const d=t(l);(i||!e(s,d))&&(i=!1,s=d,r.next(l))}))})}(),(0,we.B)()),this._injector=W(bi)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,s){const i=r instanceof yh;if(!this._injector.get(Nd).done)throw!i&&Ur(r),new re(405,!1);let d;d=i?r:this._injector.get(Ua).resolveComponentFactory(r),this.componentTypes.push(d.componentType);const g=function Lb(e){return e.isBoundToModule}(d)?void 0:this._injector.get(Mo),T=d.create(ci.NULL,[],s||d.selector,g),V=T.location.nativeElement,q=T.injector.get(hv,null);return q?.registerApplication(V),T.onDestroy(()=>{this.detachView(T.hostView),Du(this.components,T),q?.unregisterApplication(V)}),this._loadComponent(T),T}tick(){if(this._runningTick)throw new re(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const s=r;this._views.push(s),s.attachToAppRef(this)}detachView(r){const s=r;Du(this._views,s),s.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const s=this._injector.get(Vd,[]);s.push(...this._bootstrapListeners),s.forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Du(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new re(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=ft({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Du(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Mv=new _n("",{providedIn:"root",factory:()=>W(na).handleError.bind(void 0)});function Ub(){const e=W(Fr),t=W(na);return n=>e.runOutsideAngular(()=>t.handleError(n))}let $b=(()=>{var e;class t{constructor(){this.zone=W(Fr),this.applicationRef=W(Da)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=ft({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Gb(){}let Wb=(()=>{class t{}return t.__NG_ELEMENT_ID__=Yb,t})();function Yb(e){return function Kb(e,t,n){if(Rr(e)&&!n){const r=wn(e.index,t);return new Ya(r,r)}return 47&e.type?new Ya(t[on],t):null}(In(),Ie(),16==(16&e))}class Rv{constructor(){}supports(t){return Jl(t)}create(t){return new eS(t)}}const Xb=(e,t)=>t;class eS{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||Xb}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,s=0,i=null;for(;n||r;){const l=!r||n&&n.currentIndex<Nv(r,s,i)?n:r,d=Nv(l,s,i),g=l.currentIndex;if(l===r)s--,r=r._nextRemoved;else if(n=n._next,null==l.previousIndex)s++;else{i||(i=[]);const S=d-s,T=g-s;if(S!=T){for(let q=0;q<S;q++){const J=q<i.length?i[q]:i[q]=0,be=J+q;T<=be&&be<S&&(i[q]=J+1)}i[l.previousIndex]=T-S}}d!==g&&t(l,d,g)}}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=[]),!Jl(t))throw new re(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,i,l,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let d=0;d<this.length;d++)i=t[d],l=this._trackByFn(d,i),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,i,l,d)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,l,d),r=!0),n=n._next}else s=0,function AC(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,d=>{l=this._trackByFn(s,d),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,d,l,s)),Object.is(n.item,d)||this._addIdentityChange(n,d)):(n=this._mismatch(n,d,l,s),r=!0),n=n._next,s++}),this.length=s;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,s){let i;return null===t?i=this._itTail:(i=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,i,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,s)):t=this._addAfter(new tS(n,r),i,s),t}_verifyReinsertion(t,n,r,s){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),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 s=t._prevRemoved,i=t._nextRemoved;return null===s?this._removalsHead=i:s._nextRemoved=i,null===i?this._removalsTail=s:i._prevRemoved=s,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 s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Pv),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 Pv),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 tS{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 nS{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 Pv{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new nS,this.map.set(n,r)),r.add(t)}get(t,n){const s=this.map.get(t);return s?s.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 Nv(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class xv{constructor(){}supports(t){return t instanceof Map||Uc(t)}create(){return new rS}}class rS{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||Uc(t)))throw new re(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,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(s,r);n=this._insertBeforeOrAppend(n,i)}}),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 s=this._records.get(t);this._maybeAddToChanges(s,n);const i=s._prev,l=s._next;return i&&(i._next=l),l&&(l._prev=i),s._next=null,s._prev=null,s}const r=new sS(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 sS{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 Fv(){return new zd([new Rv])}let zd=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,s){if(null!=s){const i=s.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:s=>t.create(r,s||Fv()),deps:[[t,new yl,new vl]]}}find(r){const s=this.factories.find(i=>i.supports(r));if(null!=s)return s;throw new re(901,!1)}}return(e=t).\u0275prov=ft({token:e,providedIn:"root",factory:Fv}),t})();function Lv(){return new Gd([new xv])}let Gd=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,s){if(s){const i=s.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:s=>t.create(r,s||Lv()),deps:[[t,new yl,new vl]]}}find(r){const s=this.factories.find(i=>i.supports(r));if(s)return s;throw new re(901,!1)}}return(e=t).\u0275prov=ft({token:e,providedIn:"root",factory:Lv}),t})();const aS=_v(null,"core",[]);let lS=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(Wt(Da))},e.\u0275mod=ti({type:e}),e.\u0275inj=Dn({}),t})();function _S(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function CS(e){const t=zt(e);if(!t)return null;const n=new Ka(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},95:(ut,_e,A)=>{A.d(_e,{Fj:()=>X,NI:()=>Tr,oH:()=>qr,u5:()=>no,JU:()=>Ye,JJ:()=>Ot,UX:()=>Gi,kI:()=>ke});var o=A(8926),N=A(6814),pe=A(7715),j=A(5592),F=A(7453),ne=A(4829),we=A(9940),Me=A(8251),Te=A(7400),se=A(2714),xe=A(7398);let Qe=(()=>{var w;class D{constructor(b,k){this._renderer=b,this._elementRef=k,this.onChange=Be=>{},this.onTouched=()=>{}}setProperty(b,k){this._renderer.setProperty(this._elementRef.nativeElement,b,k)}registerOnTouched(b){this.onTouched=b}registerOnChange(b){this.onChange=b}setDisabledState(b){this.setProperty("disabled",b)}}return(w=D).\u0275fac=function(b){return new(b||w)(o.Y36(o.Qsj),o.Y36(o.SBq))},w.\u0275dir=o.lG2({type:w}),D})(),Ee=(()=>{var w;class D extends Qe{}return(w=D).\u0275fac=function(){let R;return function(k){return(R||(R=o.n5z(w)))(k||w)}}(),w.\u0275dir=o.lG2({type:w,features:[o.qOj]}),D})();const Ye=new o.OlP("NgValueAccessor"),Pt={provide:Ye,useExisting:(0,o.Gpc)(()=>X),multi:!0},Ae=new o.OlP("CompositionEventMode");let X=(()=>{var w;class D extends Qe{constructor(b,k,Be){super(b,k),this._compositionMode=Be,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Vt(){const w=(0,N.q)()?(0,N.q)().getUserAgent():"";return/android (\d+)/.test(w.toLowerCase())}())}writeValue(b){this.setProperty("value",b??"")}_handleInput(b){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(b)}_compositionStart(){this._composing=!0}_compositionEnd(b){this._composing=!1,this._compositionMode&&this.onChange(b)}}return(w=D).\u0275fac=function(b){return new(b||w)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(Ae,8))},w.\u0275dir=o.lG2({type:w,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(b,k){1&b&&o.NdJ("input",function(Et){return k._handleInput(Et.target.value)})("blur",function(){return k.onTouched()})("compositionstart",function(){return k._compositionStart()})("compositionend",function(Et){return k._compositionEnd(Et.target.value)})},features:[o._Bn([Pt]),o.qOj]}),D})();function ye(w){return null==w||("string"==typeof w||Array.isArray(w))&&0===w.length}function Ke(w){return null!=w&&"number"==typeof w.length}const Je=new o.OlP("NgValidators"),re=new o.OlP("NgAsyncValidators"),Oe=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ke{static min(D){return function Ue(w){return D=>{if(ye(D.value)||ye(w))return null;const R=parseFloat(D.value);return!isNaN(R)&&R<w?{min:{min:w,actual:D.value}}:null}}(D)}static max(D){return function Dt(w){return D=>{if(ye(D.value)||ye(w))return null;const R=parseFloat(D.value);return!isNaN(R)&&R>w?{max:{max:w,actual:D.value}}:null}}(D)}static required(D){return function Ne(w){return ye(w.value)?{required:!0}:null}(D)}static requiredTrue(D){return function Le(w){return!0===w.value?null:{required:!0}}(D)}static email(D){return function $(w){return ye(w.value)||Oe.test(w.value)?null:{email:!0}}(D)}static minLength(D){return function Ge(w){return D=>ye(D.value)||!Ke(D.value)?null:D.value.length<w?{minlength:{requiredLength:w,actualLength:D.value.length}}:null}(D)}static maxLength(D){return function Rt(w){return D=>Ke(D.value)&&D.value.length>w?{maxlength:{requiredLength:w,actualLength:D.value.length}}:null}(D)}static pattern(D){return function ht(w){if(!w)return te;let D,R;return"string"==typeof w?(R="","^"!==w.charAt(0)&&(R+="^"),R+=w,"$"!==w.charAt(w.length-1)&&(R+="$"),D=new RegExp(R)):(R=w.toString(),D=w),b=>{if(ye(b.value))return null;const k=b.value;return D.test(k)?null:{pattern:{requiredPattern:R,actualValue:k}}}}(D)}static nullValidator(D){return null}static compose(D){return Se(D)}static composeAsync(D){return ge(D)}}function te(w){return null}function ie(w){return null!=w}function De(w){return(0,o.QGY)(w)?(0,pe.D)(w):w}function me(w){let D={};return w.forEach(R=>{D=null!=R?{...D,...R}:D}),0===Object.keys(D).length?null:D}function Ve(w,D){return D.map(R=>R(w))}function pt(w){return w.map(D=>function Re(w){return!w.validate}(D)?D:R=>D.validate(R))}function Se(w){if(!w)return null;const D=w.filter(ie);return 0==D.length?null:function(R){return me(Ve(R,D))}}function Ce(w){return null!=w?Se(pt(w)):null}function ge(w){if(!w)return null;const D=w.filter(ie);return 0==D.length?null:function(R){return function he(...w){const D=(0,we.jO)(w),{args:R,keys:b}=(0,F.D)(w),k=new j.y(Be=>{const{length:Et}=R;if(!Et)return void Be.complete();const kn=new Array(Et);let Nr=Et,Hr=Et;for(let Br=0;Br<Et;Br++){let $s=!1;(0,ne.Xf)(R[Br]).subscribe((0,Me.x)(Be,gs=>{$s||($s=!0,Hr--),kn[Br]=gs},()=>Nr--,void 0,()=>{(!Nr||!$s)&&(Hr||Be.next(b?(0,se.n)(b,kn):kn),Be.complete())}))}});return D?k.pipe((0,Te.Z)(D)):k}(Ve(R,D).map(De)).pipe((0,xe.U)(me))}}function le(w){return null!=w?ge(pt(w)):null}function Y(w,D){return null===w?[D]:Array.isArray(w)?[...w,D]:[w,D]}function Xe(w){return w._rawValidators}function dt(w){return w._rawAsyncValidators}function hn(w){return w?Array.isArray(w)?w:[w]:[]}function ft(w,D){return Array.isArray(w)?w.includes(D):w===D}function On(w,D){const R=hn(D);return hn(w).forEach(k=>{ft(R,k)||R.push(k)}),R}function Dn(w,D){return hn(D).filter(R=>!ft(w,R))}class cn{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(D){this._rawValidators=D||[],this._composedValidatorFn=Ce(this._rawValidators)}_setAsyncValidators(D){this._rawAsyncValidators=D||[],this._composedAsyncValidatorFn=le(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(D){this._onDestroyCallbacks.push(D)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(D=>D()),this._onDestroyCallbacks=[]}reset(D=void 0){this.control&&this.control.reset(D)}hasError(D,R){return!!this.control&&this.control.hasError(D,R)}getError(D,R){return this.control?this.control.getError(D,R):null}}class Pn extends cn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Wn{constructor(D){this._cd=D}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ot=(()=>{var w;class D extends Wn{constructor(b){super(b)}}return(w=D).\u0275fac=function(b){return new(b||w)(o.Y36(Pn,2))},w.\u0275dir=o.lG2({type:w,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(b,k){2&b&&o.ekj("ng-untouched",k.isUntouched)("ng-touched",k.isTouched)("ng-pristine",k.isPristine)("ng-dirty",k.isDirty)("ng-valid",k.isValid)("ng-invalid",k.isInvalid)("ng-pending",k.isPending)},features:[o.qOj]}),D})();const sr="VALID",Qn="INVALID",wr="PENDING",br="DISABLED";function z(w){return null!=w&&!Array.isArray(w)&&"object"==typeof w}class et{constructor(D,R){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(D),this._assignAsyncValidators(R)}get validator(){return this._composedValidatorFn}set validator(D){this._rawValidators=this._composedValidatorFn=D}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(D){this._rawAsyncValidators=this._composedAsyncValidatorFn=D}get parent(){return this._parent}get valid(){return this.status===sr}get invalid(){return this.status===Qn}get pending(){return this.status==wr}get disabled(){return this.status===br}get enabled(){return this.status!==br}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(D){this._assignValidators(D)}setAsyncValidators(D){this._assignAsyncValidators(D)}addValidators(D){this.setValidators(On(D,this._rawValidators))}addAsyncValidators(D){this.setAsyncValidators(On(D,this._rawAsyncValidators))}removeValidators(D){this.setValidators(Dn(D,this._rawValidators))}removeAsyncValidators(D){this.setAsyncValidators(Dn(D,this._rawAsyncValidators))}hasValidator(D){return ft(this._rawValidators,D)}hasAsyncValidator(D){return ft(this._rawAsyncValidators,D)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(D={}){this.touched=!0,this._parent&&!D.onlySelf&&this._parent.markAsTouched(D)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(D=>D.markAllAsTouched())}markAsUntouched(D={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(R=>{R.markAsUntouched({onlySelf:!0})}),this._parent&&!D.onlySelf&&this._parent._updateTouched(D)}markAsDirty(D={}){this.pristine=!1,this._parent&&!D.onlySelf&&this._parent.markAsDirty(D)}markAsPristine(D={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(R=>{R.markAsPristine({onlySelf:!0})}),this._parent&&!D.onlySelf&&this._parent._updatePristine(D)}markAsPending(D={}){this.status=wr,!1!==D.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!D.onlySelf&&this._parent.markAsPending(D)}disable(D={}){const R=this._parentMarkedDirty(D.onlySelf);this.status=br,this.errors=null,this._forEachChild(b=>{b.disable({...D,onlySelf:!0})}),this._updateValue(),!1!==D.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...D,skipPristineCheck:R}),this._onDisabledChange.forEach(b=>b(!0))}enable(D={}){const R=this._parentMarkedDirty(D.onlySelf);this.status=sr,this._forEachChild(b=>{b.enable({...D,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:D.emitEvent}),this._updateAncestors({...D,skipPristineCheck:R}),this._onDisabledChange.forEach(b=>b(!1))}_updateAncestors(D){this._parent&&!D.onlySelf&&(this._parent.updateValueAndValidity(D),D.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(D){this._parent=D}getRawValue(){return this.value}updateValueAndValidity(D={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===sr||this.status===wr)&&this._runAsyncValidator(D.emitEvent)),!1!==D.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!D.onlySelf&&this._parent.updateValueAndValidity(D)}_updateTreeValidity(D={emitEvent:!0}){this._forEachChild(R=>R._updateTreeValidity(D)),this.updateValueAndValidity({onlySelf:!0,emitEvent:D.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?br:sr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(D){if(this.asyncValidator){this.status=wr,this._hasOwnPendingAsyncValidator=!0;const R=De(this.asyncValidator(this));this._asyncValidationSubscription=R.subscribe(b=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(b,{emitEvent:D})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(D,R={}){this.errors=D,this._updateControlsErrors(!1!==R.emitEvent)}get(D){let R=D;return null==R||(Array.isArray(R)||(R=R.split(".")),0===R.length)?null:R.reduce((b,k)=>b&&b._find(k),this)}getError(D,R){const b=R?this.get(R):this;return b&&b.errors?b.errors[D]:null}hasError(D,R){return!!this.getError(D,R)}get root(){let D=this;for(;D._parent;)D=D._parent;return D}_updateControlsErrors(D){this.status=this._calculateStatus(),D&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(D)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?br:this.errors?Qn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(wr)?wr:this._anyControlsHaveStatus(Qn)?Qn:sr}_anyControlsHaveStatus(D){return this._anyControls(R=>R.status===D)}_anyControlsDirty(){return this._anyControls(D=>D.dirty)}_anyControlsTouched(){return this._anyControls(D=>D.touched)}_updatePristine(D={}){this.pristine=!this._anyControlsDirty(),this._parent&&!D.onlySelf&&this._parent._updatePristine(D)}_updateTouched(D={}){this.touched=this._anyControlsTouched(),this._parent&&!D.onlySelf&&this._parent._updateTouched(D)}_registerOnCollectionChange(D){this._onCollectionChange=D}_setUpdateStrategy(D){z(D)&&null!=D.updateOn&&(this._updateOn=D.updateOn)}_parentMarkedDirty(D){return!D&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(D){return null}_assignValidators(D){this._rawValidators=Array.isArray(D)?D.slice():D,this._composedValidatorFn=function de(w){return Array.isArray(w)?Ce(w):w||null}(this._rawValidators)}_assignAsyncValidators(D){this._rawAsyncValidators=Array.isArray(D)?D.slice():D,this._composedAsyncValidatorFn=function ce(w){return Array.isArray(w)?le(w):w||null}(this._rawAsyncValidators)}}const W=new o.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>B}),B="always";function ue(w,D,R=B){(function st(w,D){const R=Xe(w);null!==D.validator?w.setValidators(Y(R,D.validator)):"function"==typeof R&&w.setValidators([R]);const b=dt(w);null!==D.asyncValidator?w.setAsyncValidators(Y(b,D.asyncValidator)):"function"==typeof b&&w.setAsyncValidators([b]);const k=()=>w.updateValueAndValidity();ze(D._rawValidators,k),ze(D._rawAsyncValidators,k)})(w,D),D.valueAccessor.writeValue(w.value),(w.disabled||"always"===R)&&D.valueAccessor.setDisabledState?.(w.disabled),function Nt(w,D){D.valueAccessor.registerOnChange(R=>{w._pendingValue=R,w._pendingChange=!0,w._pendingDirty=!0,"change"===w.updateOn&&Ft(w,D)})}(w,D),function En(w,D){const R=(b,k)=>{D.valueAccessor.writeValue(b),k&&D.viewToModelUpdate(b)};w.registerOnChange(R),D._registerOnDestroy(()=>{w._unregisterOnChange(R)})}(w,D),function sn(w,D){D.valueAccessor.registerOnTouched(()=>{w._pendingTouched=!0,"blur"===w.updateOn&&w._pendingChange&&Ft(w,D),"submit"!==w.updateOn&&w.markAsTouched()})}(w,D),function mt(w,D){if(D.valueAccessor.setDisabledState){const R=b=>{D.valueAccessor.setDisabledState(b)};w.registerOnDisabledChange(R),D._registerOnDestroy(()=>{w._unregisterOnDisabledChange(R)})}}(w,D)}function He(w,D,R=!0){const b=()=>{};D.valueAccessor&&(D.valueAccessor.registerOnChange(b),D.valueAccessor.registerOnTouched(b)),function Yt(w,D){let R=!1;if(null!==w){if(null!==D.validator){const k=Xe(w);if(Array.isArray(k)&&k.length>0){const Be=k.filter(Et=>Et!==D.validator);Be.length!==k.length&&(R=!0,w.setValidators(Be))}}if(null!==D.asyncValidator){const k=dt(w);if(Array.isArray(k)&&k.length>0){const Be=k.filter(Et=>Et!==D.asyncValidator);Be.length!==k.length&&(R=!0,w.setAsyncValidators(Be))}}}const b=()=>{};return ze(D._rawValidators,b),ze(D._rawAsyncValidators,b),R}(w,D),w&&(D._invokeOnDestroyCallbacks(),w._registerOnCollectionChange(()=>{}))}function ze(w,D){w.forEach(R=>{R.registerOnValidatorChange&&R.registerOnValidatorChange(D)})}function Ft(w,D){w._pendingDirty&&w.markAsDirty(),w.setValue(w._pendingValue,{emitModelToViewChange:!1}),D.viewToModelUpdate(w._pendingValue),w._pendingChange=!1}function kr(w,D){const R=w.indexOf(D);R>-1&&w.splice(R,1)}function Kn(w){return"object"==typeof w&&null!==w&&2===Object.keys(w).length&&"value"in w&&"disabled"in w}const Tr=class extends et{constructor(D=null,R,b){super(function Jn(w){return(z(w)?w.validators:w)||null}(R),function K(w,D){return(z(D)?D.asyncValidators:w)||null}(b,R)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(D),this._setUpdateStrategy(R),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),z(R)&&(R.nonNullable||R.initialValueIsDefault)&&(this.defaultValue=Kn(D)?D.value:D)}setValue(D,R={}){this.value=this._pendingValue=D,this._onChange.length&&!1!==R.emitModelToViewChange&&this._onChange.forEach(b=>b(this.value,!1!==R.emitViewToModelChange)),this.updateValueAndValidity(R)}patchValue(D,R={}){this.setValue(D,R)}reset(D=this.defaultValue,R={}){this._applyFormState(D),this.markAsPristine(R),this.markAsUntouched(R),this.setValue(this.value,R),this._pendingChange=!1}_updateValue(){}_anyControls(D){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(D){this._onChange.push(D)}_unregisterOnChange(D){kr(this._onChange,D)}registerOnDisabledChange(D){this._onDisabledChange.push(D)}_unregisterOnDisabledChange(D){kr(this._onDisabledChange,D)}_forEachChild(D){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(D){Kn(D)?(this.value=this._pendingValue=D.value,D.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=D}};let As=(()=>{var w;class D{}return(w=D).\u0275fac=function(b){return new(b||w)},w.\u0275mod=o.oAB({type:w}),w.\u0275inj=o.cJS({}),D})();const Ln=new o.OlP("NgModelWithFormControlWarning"),ni={provide:Pn,useExisting:(0,o.Gpc)(()=>qr)};let qr=(()=>{var w;class D extends Pn{set isDisabled(b){}constructor(b,k,Be,Et,kn){super(),this._ngModelWarningConfig=Et,this.callSetDisabledState=kn,this.update=new o.vpe,this._ngModelWarningSent=!1,this._setValidators(b),this._setAsyncValidators(k),this.valueAccessor=function ur(w,D){if(!D)return null;let R,b,k;return Array.isArray(D),D.forEach(Be=>{Be.constructor===X?R=Be:function Sr(w){return Object.getPrototypeOf(w.constructor)===Ee}(Be)?b=Be:k=Be}),k||b||R||null}(0,Be)}ngOnChanges(b){if(this._isControlChanged(b)){const k=b.form.previousValue;k&&He(k,this,!1),ue(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}(function dn(w,D){if(!w.hasOwnProperty("model"))return!1;const R=w.model;return!!R.isFirstChange()||!Object.is(D,R.currentValue)})(b,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&He(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(b){this.viewModel=b,this.update.emit(b)}_isControlChanged(b){return b.hasOwnProperty("form")}}return(w=D)._ngModelWarningSentOnce=!1,w.\u0275fac=function(b){return new(b||w)(o.Y36(Je,10),o.Y36(re,10),o.Y36(Ye,10),o.Y36(Ln,8),o.Y36(W,8))},w.\u0275dir=o.lG2({type:w,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o._Bn([ni]),o.qOj,o.TTD]}),D})(),Rs=(()=>{var w;class D{}return(w=D).\u0275fac=function(b){return new(b||w)},w.\u0275mod=o.oAB({type:w}),w.\u0275inj=o.cJS({imports:[As]}),D})(),no=(()=>{var w;class D{static withConfig(b){return{ngModule:D,providers:[{provide:W,useValue:b.callSetDisabledState??B}]}}}return(w=D).\u0275fac=function(b){return new(b||w)},w.\u0275mod=o.oAB({type:w}),w.\u0275inj=o.cJS({imports:[Rs]}),D})(),Gi=(()=>{var w;class D{static withConfig(b){return{ngModule:D,providers:[{provide:Ln,useValue:b.warnOnNgModelWithFormControl??"always"},{provide:W,useValue:b.callSetDisabledState??B}]}}}return(w=D).\u0275fac=function(b){return new(b||w)},w.\u0275mod=o.oAB({type:w}),w.\u0275inj=o.cJS({imports:[Rs]}),D})()},6593:(ut,_e,A)=>{A.d(_e,{Dx:()=>Pn,H7:()=>Zn,b2:()=>ft,q6:()=>Y,se:()=>Oe});var o=A(8926),N=A(6814);class pe extends N.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class j extends pe{static makeCurrent(){(0,N.HT)(new j)}onAndCancel(K,ce,z){return K.addEventListener(ce,z),()=>{K.removeEventListener(ce,z)}}dispatchEvent(K,ce){K.dispatchEvent(ce)}remove(K){K.parentNode&&K.parentNode.removeChild(K)}createElement(K,ce){return(ce=ce||this.getDefaultDocument()).createElement(K)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(K){return K.nodeType===Node.ELEMENT_NODE}isShadowRoot(K){return K instanceof DocumentFragment}getGlobalEventTarget(K,ce){return"window"===ce?window:"document"===ce?K:"body"===ce?K.body:null}getBaseHref(K){const ce=function ne(){return F=F||document.querySelector("base"),F?F.getAttribute("href"):null}();return null==ce?null:function Me(de){we=we||document.createElement("a"),we.setAttribute("href",de);const K=we.pathname;return"/"===K.charAt(0)?K:`/${K}`}(ce)}resetBaseElement(){F=null}getUserAgent(){return window.navigator.userAgent}getCookie(K){return(0,N.Mx)(document.cookie,K)}}let we,F=null,se=(()=>{var de;class K{build(){return new XMLHttpRequest}}return(de=K).\u0275fac=function(z){return new(z||de)},de.\u0275prov=o.Yz7({token:de,factory:de.\u0275fac}),K})();const he=new o.OlP("EventManagerPlugins");let xe=(()=>{var de;class K{constructor(z,ee){this._zone=ee,this._eventNameToPlugin=new Map,z.forEach(Pe=>{Pe.manager=this}),this._plugins=z.slice().reverse()}addEventListener(z,ee,Pe){return this._findPluginFor(ee).addEventListener(z,ee,Pe)}getZone(){return this._zone}_findPluginFor(z){let ee=this._eventNameToPlugin.get(z);if(ee)return ee;if(ee=this._plugins.find(et=>et.supports(z)),!ee)throw new o.vHH(5101,!1);return this._eventNameToPlugin.set(z,ee),ee}}return(de=K).\u0275fac=function(z){return new(z||de)(o.LFG(he),o.LFG(o.R0b))},de.\u0275prov=o.Yz7({token:de,factory:de.\u0275fac}),K})();class Qe{constructor(K){this._doc=K}}const Ee="ng-app-id";let Ye=(()=>{var de;class K{constructor(z,ee,Pe,et={}){this.doc=z,this.appId=ee,this.nonce=Pe,this.platformId=et,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,N.PM)(et),this.resetHostNodes()}addStyles(z){for(const ee of z)1===this.changeUsageCount(ee,1)&&this.onStyleAdded(ee)}removeStyles(z){for(const ee of z)this.changeUsageCount(ee,-1)<=0&&this.onStyleRemoved(ee)}ngOnDestroy(){const z=this.styleNodesInDOM;z&&(z.forEach(ee=>ee.remove()),z.clear());for(const ee of this.getAllStyles())this.onStyleRemoved(ee);this.resetHostNodes()}addHost(z){this.hostNodes.add(z);for(const ee of this.getAllStyles())this.addStyleToHost(z,ee)}removeHost(z){this.hostNodes.delete(z)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(z){for(const ee of this.hostNodes)this.addStyleToHost(ee,z)}onStyleRemoved(z){const ee=this.styleRef;ee.get(z)?.elements?.forEach(Pe=>Pe.remove()),ee.delete(z)}collectServerRenderedStyles(){const z=this.doc.head?.querySelectorAll(`style[${Ee}="${this.appId}"]`);if(z?.length){const ee=new Map;return z.forEach(Pe=>{null!=Pe.textContent&&ee.set(Pe.textContent,Pe)}),ee}return null}changeUsageCount(z,ee){const Pe=this.styleRef;if(Pe.has(z)){const et=Pe.get(z);return et.usage+=ee,et.usage}return Pe.set(z,{usage:ee,elements:[]}),ee}getStyleElement(z,ee){const Pe=this.styleNodesInDOM,et=Pe?.get(ee);if(et?.parentNode===z)return Pe.delete(ee),et.removeAttribute(Ee),et;{const Ct=this.doc.createElement("style");return this.nonce&&Ct.setAttribute("nonce",this.nonce),Ct.textContent=ee,this.platformIsServer&&Ct.setAttribute(Ee,this.appId),Ct}}addStyleToHost(z,ee){const Pe=this.getStyleElement(z,ee);z.appendChild(Pe);const et=this.styleRef,Ct=et.get(ee)?.elements;Ct?Ct.push(Pe):et.set(ee,{elements:[Pe],usage:1})}resetHostNodes(){const z=this.hostNodes;z.clear(),z.add(this.doc.head)}}return(de=K).\u0275fac=function(z){return new(z||de)(o.LFG(N.K0),o.LFG(o.AFp),o.LFG(o.Ojb,8),o.LFG(o.Lbi))},de.\u0275prov=o.Yz7({token:de,factory:de.\u0275fac}),K})();const ct={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/"},gt=/%COMP%/g,ye=new o.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function re(de,K){return K.map(ce=>ce.replace(gt,de))}let Oe=(()=>{var de;class K{constructor(z,ee,Pe,et,Ct,Ht,an,Wt=null){this.eventManager=z,this.sharedStylesHost=ee,this.appId=Pe,this.removeStylesOnCompDestroy=et,this.doc=Ct,this.platformId=Ht,this.ngZone=an,this.nonce=Wt,this.rendererByCompId=new Map,this.platformIsServer=(0,N.PM)(Ht),this.defaultRenderer=new ke(z,Ct,an,this.platformIsServer)}createRenderer(z,ee){if(!z||!ee)return this.defaultRenderer;this.platformIsServer&&ee.encapsulation===o.ifc.ShadowDom&&(ee={...ee,encapsulation:o.ifc.Emulated});const Pe=this.getOrCreateRenderer(z,ee);return Pe instanceof Ge?Pe.applyToHost(z):Pe instanceof $&&Pe.applyStyles(),Pe}getOrCreateRenderer(z,ee){const Pe=this.rendererByCompId;let et=Pe.get(ee.id);if(!et){const Ct=this.doc,Ht=this.ngZone,an=this.eventManager,Wt=this.sharedStylesHost,Yn=this.removeStylesOnCompDestroy,W=this.platformIsServer;switch(ee.encapsulation){case o.ifc.Emulated:et=new Ge(an,Wt,ee,this.appId,Yn,Ct,Ht,W);break;case o.ifc.ShadowDom:return new Le(an,Wt,z,ee,Ct,Ht,this.nonce,W);default:et=new $(an,Wt,ee,Yn,Ct,Ht,W)}Pe.set(ee.id,et)}return et}ngOnDestroy(){this.rendererByCompId.clear()}}return(de=K).\u0275fac=function(z){return new(z||de)(o.LFG(xe),o.LFG(Ye),o.LFG(o.AFp),o.LFG(ye),o.LFG(N.K0),o.LFG(o.Lbi),o.LFG(o.R0b),o.LFG(o.Ojb))},de.\u0275prov=o.Yz7({token:de,factory:de.\u0275fac}),K})();class ke{constructor(K,ce,z,ee){this.eventManager=K,this.doc=ce,this.ngZone=z,this.platformIsServer=ee,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(K,ce){return ce?this.doc.createElementNS(ct[ce]||ce,K):this.doc.createElement(K)}createComment(K){return this.doc.createComment(K)}createText(K){return this.doc.createTextNode(K)}appendChild(K,ce){(Ne(K)?K.content:K).appendChild(ce)}insertBefore(K,ce,z){K&&(Ne(K)?K.content:K).insertBefore(ce,z)}removeChild(K,ce){K&&K.removeChild(ce)}selectRootElement(K,ce){let z="string"==typeof K?this.doc.querySelector(K):K;if(!z)throw new o.vHH(-5104,!1);return ce||(z.textContent=""),z}parentNode(K){return K.parentNode}nextSibling(K){return K.nextSibling}setAttribute(K,ce,z,ee){if(ee){ce=ee+":"+ce;const Pe=ct[ee];Pe?K.setAttributeNS(Pe,ce,z):K.setAttribute(ce,z)}else K.setAttribute(ce,z)}removeAttribute(K,ce,z){if(z){const ee=ct[z];ee?K.removeAttributeNS(ee,ce):K.removeAttribute(`${z}:${ce}`)}else K.removeAttribute(ce)}addClass(K,ce){K.classList.add(ce)}removeClass(K,ce){K.classList.remove(ce)}setStyle(K,ce,z,ee){ee&(o.JOm.DashCase|o.JOm.Important)?K.style.setProperty(ce,z,ee&o.JOm.Important?"important":""):K.style[ce]=z}removeStyle(K,ce,z){z&o.JOm.DashCase?K.style.removeProperty(ce):K.style[ce]=""}setProperty(K,ce,z){K[ce]=z}setValue(K,ce){K.nodeValue=ce}listen(K,ce,z){if("string"==typeof K&&!(K=(0,N.q)().getGlobalEventTarget(this.doc,K)))throw new Error(`Unsupported event target ${K} for event ${ce}`);return this.eventManager.addEventListener(K,ce,this.decoratePreventDefault(z))}decoratePreventDefault(K){return ce=>{if("__ngUnwrap__"===ce)return K;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>K(ce)):K(ce))&&ce.preventDefault()}}}function Ne(de){return"TEMPLATE"===de.tagName&&void 0!==de.content}class Le extends ke{constructor(K,ce,z,ee,Pe,et,Ct,Ht){super(K,Pe,et,Ht),this.sharedStylesHost=ce,this.hostEl=z,this.shadowRoot=z.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const an=re(ee.id,ee.styles);for(const Wt of an){const Yn=document.createElement("style");Ct&&Yn.setAttribute("nonce",Ct),Yn.textContent=Wt,this.shadowRoot.appendChild(Yn)}}nodeOrShadowRoot(K){return K===this.hostEl?this.shadowRoot:K}appendChild(K,ce){return super.appendChild(this.nodeOrShadowRoot(K),ce)}insertBefore(K,ce,z){return super.insertBefore(this.nodeOrShadowRoot(K),ce,z)}removeChild(K,ce){return super.removeChild(this.nodeOrShadowRoot(K),ce)}parentNode(K){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(K)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class $ extends ke{constructor(K,ce,z,ee,Pe,et,Ct,Ht){super(K,Pe,et,Ct),this.sharedStylesHost=ce,this.removeStylesOnCompDestroy=ee,this.styles=Ht?re(Ht,z.styles):z.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ge extends ${constructor(K,ce,z,ee,Pe,et,Ct,Ht){const an=ee+"-"+z.id;super(K,ce,z,Pe,et,Ct,Ht,an),this.contentAttr=function Ke(de){return"_ngcontent-%COMP%".replace(gt,de)}(an),this.hostAttr=function Je(de){return"_nghost-%COMP%".replace(gt,de)}(an)}applyToHost(K){this.applyStyles(),this.setAttribute(K,this.hostAttr,"")}createElement(K,ce){const z=super.createElement(K,ce);return super.setAttribute(z,this.contentAttr,""),z}}let Rt=(()=>{var de;class K extends Qe{constructor(z){super(z)}supports(z){return!0}addEventListener(z,ee,Pe){return z.addEventListener(ee,Pe,!1),()=>this.removeEventListener(z,ee,Pe)}removeEventListener(z,ee,Pe){return z.removeEventListener(ee,Pe)}}return(de=K).\u0275fac=function(z){return new(z||de)(o.LFG(N.K0))},de.\u0275prov=o.Yz7({token:de,factory:de.\u0275fac}),K})();const ht=["alt","control","meta","shift"],te={"\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"},ie={alt:de=>de.altKey,control:de=>de.ctrlKey,meta:de=>de.metaKey,shift:de=>de.shiftKey};let De=(()=>{var de;class K extends Qe{constructor(z){super(z)}supports(z){return null!=K.parseEventName(z)}addEventListener(z,ee,Pe){const et=K.parseEventName(ee),Ct=K.eventCallback(et.fullKey,Pe,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,N.q)().onAndCancel(z,et.domEventName,Ct))}static parseEventName(z){const ee=z.toLowerCase().split("."),Pe=ee.shift();if(0===ee.length||"keydown"!==Pe&&"keyup"!==Pe)return null;const et=K._normalizeKey(ee.pop());let Ct="",Ht=ee.indexOf("code");if(Ht>-1&&(ee.splice(Ht,1),Ct="code."),ht.forEach(Wt=>{const Yn=ee.indexOf(Wt);Yn>-1&&(ee.splice(Yn,1),Ct+=Wt+".")}),Ct+=et,0!=ee.length||0===et.length)return null;const an={};return an.domEventName=Pe,an.fullKey=Ct,an}static matchEventFullKeyCode(z,ee){let Pe=te[z.key]||z.key,et="";return ee.indexOf("code.")>-1&&(Pe=z.code,et="code."),!(null==Pe||!Pe)&&(Pe=Pe.toLowerCase()," "===Pe?Pe="space":"."===Pe&&(Pe="dot"),ht.forEach(Ct=>{Ct!==Pe&&(0,ie[Ct])(z)&&(et+=Ct+".")}),et+=Pe,et===ee)}static eventCallback(z,ee,Pe){return et=>{K.matchEventFullKeyCode(et,z)&&Pe.runGuarded(()=>ee(et))}}static _normalizeKey(z){return"esc"===z?"escape":z}}return(de=K).\u0275fac=function(z){return new(z||de)(o.LFG(N.K0))},de.\u0275prov=o.Yz7({token:de,factory:de.\u0275fac}),K})();const Y=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:N.bD},{provide:o.g9A,useValue:function Se(){j.makeCurrent()},multi:!0},{provide:N.K0,useFactory:function ge(){return(0,o.RDi)(document),document},deps:[]}]),Xe=new o.OlP(""),dt=[{provide:o.rWj,useClass:class Te{addToWindow(K){o.dqk.getAngularTestability=(z,ee=!0)=>{const Pe=K.findTestabilityInTree(z,ee);if(null==Pe)throw new o.vHH(5103,!1);return Pe},o.dqk.getAllAngularTestabilities=()=>K.getAllTestabilities(),o.dqk.getAllAngularRootElements=()=>K.getAllRootElements(),o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(z=>{const ee=o.dqk.getAllAngularTestabilities();let Pe=ee.length,et=!1;const Ct=function(Ht){et=et||Ht,Pe--,0==Pe&&z(et)};ee.forEach(Ht=>{Ht.whenStable(Ct)})})}findTestabilityInTree(K,ce,z){return null==ce?null:K.getTestability(ce)??(z?(0,N.q)().isShadowRoot(ce)?this.findTestabilityInTree(K,ce.host,!0):this.findTestabilityInTree(K,ce.parentElement,!0):null)}},deps:[]},{provide:o.lri,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]}],hn=[{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function Ce(){return new o.qLn},deps:[]},{provide:he,useClass:Rt,multi:!0,deps:[N.K0,o.R0b,o.Lbi]},{provide:he,useClass:De,multi:!0,deps:[N.K0]},Oe,Ye,xe,{provide:o.FYo,useExisting:Oe},{provide:N.JF,useClass:se,deps:[]},[]];let ft=(()=>{var de;class K{constructor(z){}static withServerTransition(z){return{ngModule:K,providers:[{provide:o.AFp,useValue:z.appId}]}}}return(de=K).\u0275fac=function(z){return new(z||de)(o.LFG(Xe,12))},de.\u0275mod=o.oAB({type:de}),de.\u0275inj=o.cJS({providers:[...hn,...dt],imports:[N.ez,o.hGG]}),K})(),Pn=(()=>{var de;class K{constructor(z){this._doc=z}getTitle(){return this._doc.title}setTitle(z){this._doc.title=z||""}}return(de=K).\u0275fac=function(z){return new(z||de)(o.LFG(N.K0))},de.\u0275prov=o.Yz7({token:de,factory:function(z){let ee=null;return ee=z?new z:function ot(){return new Pn((0,o.LFG)(N.K0))}(),ee},providedIn:"root"}),K})();typeof window<"u"&&window;let Zn=(()=>{var de;class K{}return(de=K).\u0275fac=function(z){return new(z||de)},de.\u0275prov=o.Yz7({token:de,factory:function(z){let ee=null;return ee=z?new(z||de):o.LFG(St),ee},providedIn:"root"}),K})(),St=(()=>{var de;class K extends Zn{constructor(z){super(),this._doc=z}sanitize(z,ee){if(null==ee)return null;switch(z){case o.q3G.NONE:return ee;case o.q3G.HTML:return(0,o.qzn)(ee,"HTML")?(0,o.z3N)(ee):(0,o.EiD)(this._doc,String(ee)).toString();case o.q3G.STYLE:return(0,o.qzn)(ee,"Style")?(0,o.z3N)(ee):ee;case o.q3G.SCRIPT:if((0,o.qzn)(ee,"Script"))return(0,o.z3N)(ee);throw new o.vHH(5200,!1);case o.q3G.URL:return(0,o.qzn)(ee,"URL")?(0,o.z3N)(ee):(0,o.mCW)(String(ee));case o.q3G.RESOURCE_URL:if((0,o.qzn)(ee,"ResourceURL"))return(0,o.z3N)(ee);throw new o.vHH(5201,!1);default:throw new o.vHH(5202,!1)}}bypassSecurityTrustHtml(z){return(0,o.JVY)(z)}bypassSecurityTrustStyle(z){return(0,o.L6k)(z)}bypassSecurityTrustScript(z){return(0,o.eBb)(z)}bypassSecurityTrustUrl(z){return(0,o.LAX)(z)}bypassSecurityTrustResourceUrl(z){return(0,o.pB0)(z)}}return(de=K).\u0275fac=function(z){return new(z||de)(o.LFG(N.K0))},de.\u0275prov=o.Yz7({token:de,factory:function(z){let ee=null;return ee=z?new z:function Bn(de){return new St(de.get(N.K0))}(o.LFG(o.zs3)),ee},providedIn:"root"}),K})()},3989:(ut,_e,A)=>{A.d(_e,{gz:()=>Xt,F0:()=>xr,Bz:()=>Gn,lC:()=>Jr});var o=A(8926),N=A(5592),pe=A(4674),F=A(7715),ne=A(2096),we=A(5619),Me=A(7453),Te=A(2737),se=A(7400),he=A(9940),xe=A(2714),Qe=A(8251),Ee=A(7103);function Ye(...u){const h=(0,he.yG)(u),v=(0,he.jO)(u),{args:p,keys:y}=(0,Me.D)(u);if(0===p.length)return(0,F.D)([],h);const I=new N.y(function ct(u,h,v=Te.y){return p=>{gt(h,()=>{const{length:y}=u,I=new Array(y);let P=y,Z=y;for(let je=0;je<y;je++)gt(h,()=>{const ae=(0,F.D)(u[je],h);let it=!1;ae.subscribe((0,Qe.x)(p,vt=>{I[je]=vt,it||(it=!0,Z--),Z||p.next(v(I.slice()))},()=>{--P||p.complete()}))},p)},p)}}(p,h,y?P=>(0,xe.n)(y,P):Te.y));return v?I.pipe((0,se.Z)(v)):I}function gt(u,h,v){u?(0,Ee.f)(v,u,h):h()}const Vt=(0,A(2306).d)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"});var Ae=A(5211),X=A(4911),ye=A(8407),Ke=A(8504),Je=A(6232),re=A(3168),Oe=A(8645),ke=A(7394),Ue=A(6814),Dt=A(7398),Ne=A(4664),Le=A(8180),$=A(9360),Rt=A(2181),ht=A(1631);function te(u){return(0,$.e)((h,v)=>{let p=!1;h.subscribe((0,Qe.x)(v,y=>{p=!0,v.next(y)},()=>{p||v.next(u),v.complete()}))})}function ie(u=De){return(0,$.e)((h,v)=>{let p=!1;h.subscribe((0,Qe.x)(v,y=>{p=!0,v.next(y)},()=>p?v.complete():v.error(u())))})}function De(){return new Vt}function me(u,h){const v=arguments.length>=2;return p=>p.pipe(u?(0,Rt.h)((y,I)=>u(y,I,p)):Te.y,(0,Le.q)(1),v?te(h):ie(()=>new Vt))}var Ve=A(6328),Re=A(9397),pt=A(6306);function ge(u){return u<=0?()=>Je.E:(0,$.e)((h,v)=>{let p=[];h.subscribe((0,Qe.x)(v,y=>{p.push(y),u<p.length&&p.shift()},()=>{for(const y of p)v.next(y);v.complete()},void 0,()=>{p=null}))})}var Y=A(975),Xe=A(4716),dt=A(6196),hn=A(4829),ft=A(2420),Dn=A(7537),cn=A(6593);const ot="primary",Pn=Symbol("RouteTitle");class Wn{constructor(h){this.params=h||{}}has(h){return Object.prototype.hasOwnProperty.call(this.params,h)}get(h){if(this.has(h)){const v=this.params[h];return Array.isArray(v)?v[0]:v}return null}getAll(h){if(this.has(h)){const v=this.params[h];return Array.isArray(v)?v:[v]}return[]}get keys(){return Object.keys(this.params)}}function bn(u){return new Wn(u)}function pn(u,h,v){const p=v.path.split("/");if(p.length>u.length||"full"===v.pathMatch&&(h.hasChildren()||p.length<u.length))return null;const y={};for(let I=0;I<p.length;I++){const P=p[I],Z=u[I];if(P.startsWith(":"))y[P.substring(1)]=Z;else if(P!==Z.path)return null}return{consumed:u.slice(0,p.length),posParams:y}}function bt(u,h){const v=u?Object.keys(u):void 0,p=h?Object.keys(h):void 0;if(!v||!p||v.length!=p.length)return!1;let y;for(let I=0;I<v.length;I++)if(y=v[I],!Yr(u[y],h[y]))return!1;return!0}function Yr(u,h){if(Array.isArray(u)&&Array.isArray(h)){if(u.length!==h.length)return!1;const v=[...u].sort(),p=[...h].sort();return v.every((y,I)=>p[I]===y)}return u===h}function Tt(u){return u.length>0?u[u.length-1]:null}function Cn(u){return function j(u){return!!u&&(u instanceof N.y||(0,pe.m)(u.lift)&&(0,pe.m)(u.subscribe))}(u)?u:(0,o.QGY)(u)?(0,F.D)(Promise.resolve(u)):(0,ne.of)(u)}const rr={exact:function mn(u,h,v){if(!Fn(u.segments,h.segments)||!Zn(u.segments,h.segments,v)||u.numberOfChildren!==h.numberOfChildren)return!1;for(const p in h.children)if(!u.children[p]||!mn(u.children[p],h.children[p],v))return!1;return!0},subset:ks},Jt={exact:function gn(u,h){return bt(u,h)},subset:function tn(u,h){return Object.keys(h).length<=Object.keys(u).length&&Object.keys(h).every(v=>Yr(u[v],h[v]))},ignored:()=>!0};function as(u,h,v){return rr[v.paths](u.root,h.root,v.matrixParams)&&Jt[v.queryParams](u.queryParams,h.queryParams)&&!("exact"===v.fragment&&u.fragment!==h.fragment)}function ks(u,h,v){return pr(u,h,h.segments,v)}function pr(u,h,v,p){if(u.segments.length>v.length){const y=u.segments.slice(0,v.length);return!(!Fn(y,v)||h.hasChildren()||!Zn(y,v,p))}if(u.segments.length===v.length){if(!Fn(u.segments,v)||!Zn(u.segments,v,p))return!1;for(const y in h.children)if(!u.children[y]||!ks(u.children[y],h.children[y],p))return!1;return!0}{const y=v.slice(0,u.segments.length),I=v.slice(u.segments.length);return!!(Fn(u.segments,y)&&Zn(u.segments,y,p)&&u.children[ot])&&pr(u.children[ot],h,I,p)}}function Zn(u,h,v){return h.every((p,y)=>Jt[v](u[y].parameters,p.parameters))}class Bn{constructor(h=new St([],{}),v={},p=null){this.root=h,this.queryParams=v,this.fragment=p}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=bn(this.queryParams)),this._queryParamMap}toString(){return br.serialize(this)}}class St{constructor(h,v){this.segments=h,this.children=v,this.parent=null,Object.values(v).forEach(p=>p.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Jn(this)}}class Hn{constructor(h,v){this.path=h,this.parameters=v}get parameterMap(){return this._parameterMap||(this._parameterMap=bn(this.parameters)),this._parameterMap}toString(){return Ct(this)}}function Fn(u,h){return u.length===h.length&&u.every((v,p)=>v.path===h[p].path)}let Qn=(()=>{var u;class h{}return(u=h).\u0275fac=function(p){return new(p||u)},u.\u0275prov=o.Yz7({token:u,factory:function(){return new wr},providedIn:"root"}),h})();class wr{parse(h){const v=new mt(h);return new Bn(v.parseRootSegment(),v.parseQueryParams(),v.parseFragment())}serialize(h){const v=`/${de(h.root,!0)}`,p=function an(u){const h=Object.keys(u).map(v=>{const p=u[v];return Array.isArray(p)?p.map(y=>`${ce(v)}=${ce(y)}`).join("&"):`${ce(v)}=${ce(p)}`}).filter(v=>!!v);return h.length?`?${h.join("&")}`:""}(h.queryParams);return`${v}${p}${"string"==typeof h.fragment?`#${function z(u){return encodeURI(u)}(h.fragment)}`:""}`}}const br=new wr;function Jn(u){return u.segments.map(h=>Ct(h)).join("/")}function de(u,h){if(!u.hasChildren())return Jn(u);if(h){const v=u.children[ot]?de(u.children[ot],!1):"",p=[];return Object.entries(u.children).forEach(([y,I])=>{y!==ot&&p.push(`${y}:${de(I,!1)}`)}),p.length>0?`${v}(${p.join("//")})`:v}{const v=function sr(u,h){let v=[];return Object.entries(u.children).forEach(([p,y])=>{p===ot&&(v=v.concat(h(y,p)))}),Object.entries(u.children).forEach(([p,y])=>{p!==ot&&(v=v.concat(h(y,p)))}),v}(u,(p,y)=>y===ot?[de(u.children[ot],!1)]:[`${y}:${de(p,!1)}`]);return 1===Object.keys(u.children).length&&null!=u.children[ot]?`${Jn(u)}/${v[0]}`:`${Jn(u)}/(${v.join("//")})`}}function K(u){return encodeURIComponent(u).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ce(u){return K(u).replace(/%3B/gi,";")}function ee(u){return K(u).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pe(u){return decodeURIComponent(u)}function et(u){return Pe(u.replace(/\+/g,"%20"))}function Ct(u){return`${ee(u.path)}${function Ht(u){return Object.keys(u).map(h=>`;${ee(h)}=${ee(u[h])}`).join("")}(u.parameters)}`}const Wt=/^[^\/()?;#]+/;function Yn(u){const h=u.match(Wt);return h?h[0]:""}const W=/^[^\/()?;=#]+/,oe=/^[^=?&#]+/,He=/^[^&#]+/;class mt{constructor(h){this.url=h,this.remaining=h}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new St([],{}):new St([],this.parseChildren())}parseQueryParams(){const h={};if(this.consumeOptional("?"))do{this.parseQueryParam(h)}while(this.consumeOptional("&"));return h}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const h=[];for(this.peekStartsWith("(")||h.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),h.push(this.parseSegment());let v={};this.peekStartsWith("/(")&&(this.capture("/"),v=this.parseParens(!0));let p={};return this.peekStartsWith("(")&&(p=this.parseParens(!1)),(h.length>0||Object.keys(v).length>0)&&(p[ot]=new St(h,v)),p}parseSegment(){const h=Yn(this.remaining);if(""===h&&this.peekStartsWith(";"))throw new o.vHH(4009,!1);return this.capture(h),new Hn(Pe(h),this.parseMatrixParams())}parseMatrixParams(){const h={};for(;this.consumeOptional(";");)this.parseParam(h);return h}parseParam(h){const v=function B(u){const h=u.match(W);return h?h[0]:""}(this.remaining);if(!v)return;this.capture(v);let p="";if(this.consumeOptional("=")){const y=Yn(this.remaining);y&&(p=y,this.capture(p))}h[Pe(v)]=Pe(p)}parseQueryParam(h){const v=function ue(u){const h=u.match(oe);return h?h[0]:""}(this.remaining);if(!v)return;this.capture(v);let p="";if(this.consumeOptional("=")){const P=function ze(u){const h=u.match(He);return h?h[0]:""}(this.remaining);P&&(p=P,this.capture(p))}const y=et(v),I=et(p);if(h.hasOwnProperty(y)){let P=h[y];Array.isArray(P)||(P=[P],h[y]=P),P.push(I)}else h[y]=I}parseParens(h){const v={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const p=Yn(this.remaining),y=this.remaining[p.length];if("/"!==y&&")"!==y&&";"!==y)throw new o.vHH(4010,!1);let I;p.indexOf(":")>-1?(I=p.slice(0,p.indexOf(":")),this.capture(I),this.capture(":")):h&&(I=ot);const P=this.parseChildren();v[I]=1===Object.keys(P).length?P[ot]:new St([],P),this.consumeOptional("//")}return v}peekStartsWith(h){return this.remaining.startsWith(h)}consumeOptional(h){return!!this.peekStartsWith(h)&&(this.remaining=this.remaining.substring(h.length),!0)}capture(h){if(!this.consumeOptional(h))throw new o.vHH(4011,!1)}}function st(u){return u.segments.length>0?new St([],{[ot]:u}):u}function Yt(u){const h={};for(const p of Object.keys(u.children)){const I=Yt(u.children[p]);if(p===ot&&0===I.segments.length&&I.hasChildren())for(const[P,Z]of Object.entries(I.children))h[P]=Z;else(I.segments.length>0||I.hasChildren())&&(h[p]=I)}return function Nt(u){if(1===u.numberOfChildren&&u.children[ot]){const h=u.children[ot];return new St(u.segments.concat(h.segments),h.children)}return u}(new St(u.segments,h))}function sn(u){return u instanceof Bn}function En(u){let h;const y=st(function v(I){const P={};for(const je of I.children){const ae=v(je);P[je.outlet]=ae}const Z=new St(I.url,P);return I===u&&(h=Z),Z}(u.root));return h??y}function ir(u,h,v,p){let y=u;for(;y.parent;)y=y.parent;if(0===h.length)return Bt(y,y,y,v,p);const I=function ls(u){if("string"==typeof u[0]&&1===u.length&&"/"===u[0])return new lr(!0,0,u);let h=0,v=!1;const p=u.reduce((y,I,P)=>{if("object"==typeof I&&null!=I){if(I.outlets){const Z={};return Object.entries(I.outlets).forEach(([je,ae])=>{Z[je]="string"==typeof ae?ae.split("/"):ae}),[...y,{outlets:Z}]}if(I.segmentPath)return[...y,I.segmentPath]}return"string"!=typeof I?[...y,I]:0===P?(I.split("/").forEach((Z,je)=>{0==je&&"."===Z||(0==je&&""===Z?v=!0:".."===Z?h++:""!=Z&&y.push(Z))}),y):[...y,I]},[]);return new lr(v,h,p)}(h);if(I.toRoot())return Bt(y,y,new St([],{}),v,p);const P=function Sr(u,h,v){if(u.isAbsolute)return new dn(h,!0,0);if(!v)return new dn(h,!1,NaN);if(null===v.parent)return new dn(v,!0,0);const p=or(u.commands[0])?0:1;return function us(u,h,v){let p=u,y=h,I=v;for(;I>y;){if(I-=y,p=p.parent,!p)throw new o.vHH(4005,!1);y=p.segments.length}return new dn(p,!1,y-I)}(v,v.segments.length-1+p,u.numberOfDoubleDots)}(I,y,u),Z=P.processChildren?Kr(P.segmentGroup,P.index,I.commands):Vs(P.segmentGroup,P.index,I.commands);return Bt(y,P.segmentGroup,Z,v,p)}function or(u){return"object"==typeof u&&null!=u&&!u.outlets&&!u.segmentPath}function ar(u){return"object"==typeof u&&null!=u&&u.outlets}function Bt(u,h,v,p,y){let P,I={};p&&Object.entries(p).forEach(([je,ae])=>{I[je]=Array.isArray(ae)?ae.map(it=>`${it}`):`${ae}`}),P=u===h?v:Kt(u,h,v);const Z=st(Yt(P));return new Bn(Z,I,y)}function Kt(u,h,v){const p={};return Object.entries(u.children).forEach(([y,I])=>{p[y]=I===h?v:Kt(I,h,v)}),new St(u.segments,p)}class lr{constructor(h,v,p){if(this.isAbsolute=h,this.numberOfDoubleDots=v,this.commands=p,h&&p.length>0&&or(p[0]))throw new o.vHH(4003,!1);const y=p.find(ar);if(y&&y!==Tt(p))throw new o.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class dn{constructor(h,v,p){this.segmentGroup=h,this.processChildren=v,this.index=p}}function Vs(u,h,v){if(u||(u=new St([],{})),0===u.segments.length&&u.hasChildren())return Kr(u,h,v);const p=function Zs(u,h,v){let p=0,y=h;const I={match:!1,pathIndex:0,commandIndex:0};for(;y<u.segments.length;){if(p>=v.length)return I;const P=u.segments[y],Z=v[p];if(ar(Z))break;const je=`${Z}`,ae=p<v.length-1?v[p+1]:null;if(y>0&&void 0===je)break;if(je&&ae&&"object"==typeof ae&&void 0===ae.outlets){if(!Kn(je,ae,P))return I;p+=2}else{if(!Kn(je,{},P))return I;p++}y++}return{match:!0,pathIndex:y,commandIndex:p}}(u,h,v),y=v.slice(p.commandIndex);if(p.match&&p.pathIndex<u.segments.length){const I=new St(u.segments.slice(0,p.pathIndex),{});return I.children[ot]=new St(u.segments.slice(p.pathIndex),u.children),Kr(I,0,y)}return p.match&&0===y.length?new St(u.segments,{}):p.match&&!u.hasChildren()?Mr(u,h,v):p.match?Kr(u,0,y):Mr(u,h,v)}function Kr(u,h,v){if(0===v.length)return new St(u.segments,{});{const p=function ur(u){return ar(u[0])?u[0].outlets:{[ot]:u}}(v),y={};if(Object.keys(p).some(I=>I!==ot)&&u.children[ot]&&1===u.numberOfChildren&&0===u.children[ot].segments.length){const I=Kr(u.children[ot],h,v);return new St(u.segments,I.children)}return Object.entries(p).forEach(([I,P])=>{"string"==typeof P&&(P=[P]),null!==P&&(y[I]=Vs(u.children[I],h,P))}),Object.entries(u.children).forEach(([I,P])=>{void 0===p[I]&&(y[I]=P)}),new St(u.segments,y)}}function Mr(u,h,v){const p=u.segments.slice(0,h);let y=0;for(;y<v.length;){const I=v[y];if(ar(I)){const je=Qs(I.outlets);return new St(p,je)}if(0===y&&or(v[0])){p.push(new Hn(u.segments[h].path,kr(v[0]))),y++;continue}const P=ar(I)?I.outlets[ot]:`${I}`,Z=y<v.length-1?v[y+1]:null;P&&Z&&or(Z)?(p.push(new Hn(P,kr(Z))),y+=2):(p.push(new Hn(P,{})),y++)}return new St(p,{})}function Qs(u){const h={};return Object.entries(u).forEach(([v,p])=>{"string"==typeof p&&(p=[p]),null!==p&&(h[v]=Mr(new St([],{}),0,p))}),h}function kr(u){const h={};return Object.entries(u).forEach(([v,p])=>h[v]=`${p}`),h}function Kn(u,h,v){return u==v.path&&bt(h,v.parameters)}const Tr="imperative";class cr{constructor(h,v){this.id=h,this.url=v}}class Js extends cr{constructor(h,v,p="imperative",y=null){super(h,v),this.type=0,this.navigationTrigger=p,this.restoredState=y}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class jr extends cr{constructor(h,v,p){super(h,v),this.urlAfterRedirects=p,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Xs extends cr{constructor(h,v,p,y){super(h,v),this.reason=p,this.code=y,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class zn extends cr{constructor(h,v,p,y){super(h,v),this.reason=p,this.code=y,this.type=16}}class Hs extends cr{constructor(h,v,p,y){super(h,v),this.error=p,this.target=y,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ei extends cr{constructor(h,v,p,y){super(h,v),this.urlAfterRedirects=p,this.state=y,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Oi extends cr{constructor(h,v,p,y){super(h,v),this.urlAfterRedirects=p,this.state=y,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ms extends cr{constructor(h,v,p,y,I){super(h,v),this.urlAfterRedirects=p,this.state=y,this.shouldActivate=I,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ts extends cr{constructor(h,v,p,y){super(h,v),this.urlAfterRedirects=p,this.state=y,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Is extends cr{constructor(h,v,p,y){super(h,v),this.urlAfterRedirects=p,this.state=y,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hi{constructor(h){this.route=h,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class pi{constructor(h){this.route=h,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ti{constructor(h){this.snapshot=h,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ri{constructor(h){this.snapshot=h,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bs{constructor(h){this.snapshot=h,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $i{constructor(h){this.snapshot=h,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class As{constructor(h,v,p){this.routerEvent=h,this.position=v,this.anchor=p,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class zt{}class Sn{constructor(h){this.url=h}}class Ur{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ln,this.attachRef=null}}let Ln=(()=>{var u;class h{constructor(){this.contexts=new Map}onChildOutletCreated(p,y){const I=this.getOrCreateContext(p);I.outlet=y,this.contexts.set(p,I)}onChildOutletDestroyed(p){const y=this.getContext(p);y&&(y.outlet=null,y.attachRef=null)}onOutletDeactivated(){const p=this.contexts;return this.contexts=new Map,p}onOutletReAttached(p){this.contexts=p}getOrCreateContext(p){let y=this.getContext(p);return y||(y=new Ur,this.contexts.set(p,y)),y}getContext(p){return this.contexts.get(p)||null}}return(u=h).\u0275fac=function(p){return new(p||u)},u.\u0275prov=o.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();class ni{constructor(h){this._root=h}get root(){return this._root.value}parent(h){const v=this.pathFromRoot(h);return v.length>1?v[v.length-2]:null}children(h){const v=qr(h,this._root);return v?v.children.map(p=>p.value):[]}firstChild(h){const v=qr(h,this._root);return v&&v.children.length>0?v.children[0].value:null}siblings(h){const v=Zr(h,this._root);return v.length<2?[]:v[v.length-2].children.map(y=>y.value).filter(y=>y!==h)}pathFromRoot(h){return Zr(h,this._root).map(v=>v.value)}}function qr(u,h){if(u===h.value)return h;for(const v of h.children){const p=qr(u,v);if(p)return p}return null}function Zr(u,h){if(u===h.value)return[h];for(const v of h.children){const p=Zr(u,v);if(p.length)return p.unshift(h),p}return[]}class gr{constructor(h,v){this.value=h,this.children=v}toString(){return`TreeNode(${this.value})`}}function cs(u){const h={};return u&&u.children.forEach(v=>h[v.value.outlet]=v),h}class ln extends ni{constructor(h,v){super(h),this.snapshot=v,vn(this,h)}toString(){return this.snapshot.toString()}}function qe(u,h){const v=function It(u,h){const P=new Mn([],{},{},"",{},ot,h,null,{});return new $r("",new gr(P,[]))}(0,h),p=new we.X([new Hn("",{})]),y=new we.X({}),I=new we.X({}),P=new we.X({}),Z=new we.X(""),je=new Xt(p,y,P,Z,I,ot,h,v.root);return je.snapshot=v.root,new ln(new gr(je,[]),v)}class Xt{constructor(h,v,p,y,I,P,Z,je){this.urlSubject=h,this.paramsSubject=v,this.queryParamsSubject=p,this.fragmentSubject=y,this.dataSubject=I,this.outlet=P,this.component=Z,this._futureSnapshot=je,this.title=this.dataSubject?.pipe((0,Dt.U)(ae=>ae[Pn]))??(0,ne.of)(void 0),this.url=h,this.params=v,this.queryParams=p,this.fragment=y,this.data=I}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,Dt.U)(h=>bn(h)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Dt.U)(h=>bn(h)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Xn(u,h="emptyOnly"){const v=u.pathFromRoot;let p=0;if("always"!==h)for(p=v.length-1;p>=1;){const y=v[p],I=v[p-1];if(y.routeConfig&&""===y.routeConfig.path)p--;else{if(I.component)break;p--}}return function Qr(u){return u.reduce((h,v)=>({params:{...h.params,...v.params},data:{...h.data,...v.data},resolve:{...v.data,...h.resolve,...v.routeConfig?.data,...v._resolvedData}}),{params:{},data:{},resolve:{}})}(v.slice(p))}class Mn{get title(){return this.data?.[Pn]}constructor(h,v,p,y,I,P,Z,je,ae){this.url=h,this.params=v,this.queryParams=p,this.fragment=y,this.data=I,this.outlet=P,this.component=Z,this.routeConfig=je,this._resolve=ae}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=bn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=bn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(p=>p.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class $r extends ni{constructor(h,v){super(v),this.url=h,vn(this,v)}toString(){return mr(this._root)}}function vn(u,h){h.value._routerState=u,h.children.forEach(v=>vn(u,v))}function mr(u){const h=u.children.length>0?` { ${u.children.map(mr).join(", ")} } `:"";return`${u.value}${h}`}function zr(u){if(u.snapshot){const h=u.snapshot,v=u._futureSnapshot;u.snapshot=v,bt(h.queryParams,v.queryParams)||u.queryParamsSubject.next(v.queryParams),h.fragment!==v.fragment&&u.fragmentSubject.next(v.fragment),bt(h.params,v.params)||u.paramsSubject.next(v.params),function Ot(u,h){if(u.length!==h.length)return!1;for(let v=0;v<u.length;++v)if(!bt(u[v],h[v]))return!1;return!0}(h.url,v.url)||u.urlSubject.next(v.url),bt(h.data,v.data)||u.dataSubject.next(v.data)}else u.snapshot=u._futureSnapshot,u.dataSubject.next(u._futureSnapshot.data)}function Mt(u,h){const v=bt(u.params,h.params)&&function Lr(u,h){return Fn(u,h)&&u.every((v,p)=>bt(v.parameters,h[p].parameters))}(u.url,h.url);return v&&!(!u.parent!=!h.parent)&&(!u.parent||Mt(u.parent,h.parent))}let Jr=(()=>{var u;class h{constructor(){this.activated=null,this._activatedRoute=null,this.name=ot,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.attachEvents=new o.vpe,this.detachEvents=new o.vpe,this.parentContexts=(0,o.f3M)(Ln),this.location=(0,o.f3M)(o.s_b),this.changeDetector=(0,o.f3M)(o.sBO),this.environmentInjector=(0,o.f3M)(o.lqb),this.inputBinder=(0,o.f3M)(Ir,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(p){if(p.name){const{firstChange:y,previousValue:I}=p.name;if(y)return;this.isTrackedInParentContexts(I)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(I)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(p){return this.parentContexts.getContext(p)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const p=this.parentContexts.getContext(this.name);p?.route&&(p.attachRef?this.attach(p.attachRef,p.route):this.activateWith(p.route,p.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.vHH(4012,!1);this.location.detach();const p=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(p.instance),p}attach(p,y){this.activated=p,this._activatedRoute=y,this.location.insert(p.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(p.instance)}deactivate(){if(this.activated){const p=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(p)}}activateWith(p,y){if(this.isActivated)throw new o.vHH(4013,!1);this._activatedRoute=p;const I=this.location,Z=p.snapshot.component,je=this.parentContexts.getOrCreateContext(this.name).children,ae=new vr(p,je,I.injector);this.activated=I.createComponent(Z,{index:I.length,injector:ae,environmentInjector:y??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(u=h).\u0275fac=function(p){return new(p||u)},u.\u0275dir=o.lG2({type:u,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.TTD]}),h})();class vr{constructor(h,v,p){this.route=h,this.childContexts=v,this.parent=p}get(h,v){return h===Xt?this.route:h===Ln?this.childContexts:this.parent.get(h,v)}}const Ir=new o.OlP("");let on=(()=>{var u;class h{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(p){this.unsubscribeFromRouteData(p),this.subscribeToRouteData(p)}unsubscribeFromRouteData(p){this.outletDataSubscriptions.get(p)?.unsubscribe(),this.outletDataSubscriptions.delete(p)}subscribeToRouteData(p){const{activatedRoute:y}=p,I=Ye([y.queryParams,y.params,y.data]).pipe((0,Ne.w)(([P,Z,je],ae)=>(je={...P,...Z,...je},0===ae?(0,ne.of)(je):Promise.resolve(je)))).subscribe(P=>{if(!p.isActivated||!p.activatedComponentRef||p.activatedRoute!==y||null===y.component)return void this.unsubscribeFromRouteData(p);const Z=(0,o.qFp)(y.component);if(Z)for(const{templateName:je}of Z.inputs)p.activatedComponentRef.setInput(je,P[je]);else this.unsubscribeFromRouteData(p)});this.outletDataSubscriptions.set(p,I)}}return(u=h).\u0275fac=function(p){return new(p||u)},u.\u0275prov=o.Yz7({token:u,factory:u.\u0275fac}),h})();function Ar(u,h,v){if(v&&u.shouldReuseRoute(h.value,v.value.snapshot)){const p=v.value;p._futureSnapshot=h.value;const y=function yr(u,h,v){return h.children.map(p=>{for(const y of v.children)if(u.shouldReuseRoute(p.value,y.value.snapshot))return Ar(u,p,y);return Ar(u,p)})}(u,h,v);return new gr(p,y)}{if(u.shouldAttach(h.value)){const I=u.retrieve(h.value);if(null!==I){const P=I.route;return P.value._futureSnapshot=h.value,P.children=h.children.map(Z=>Ar(u,Z)),P}}const p=function dr(u){return new Xt(new we.X(u.url),new we.X(u.params),new we.X(u.queryParams),new we.X(u.fragment),new we.X(u.data),u.outlet,u.component,u)}(h.value),y=h.children.map(I=>Ar(u,I));return new gr(p,y)}}const ds="ngNavigationCancelingError";function Vr(u,h){const{redirectTo:v,navigationBehaviorOptions:p}=sn(h)?{redirectTo:h,navigationBehaviorOptions:void 0}:h,y=er(!1,0,h);return y.url=v,y.navigationBehaviorOptions=p,y}function er(u,h,v){const p=new Error("NavigationCancelingError: "+(u||""));return p[ds]=!0,p.cancellationCode=h,v&&(p.url=v),p}function fs(u){return u&&u[ds]}let xt=(()=>{var u;class h{}return(u=h).\u0275fac=function(p){return new(p||u)},u.\u0275cmp=o.Xpm({type:u,selectors:[["ng-component"]],standalone:!0,features:[o.jDz],decls:1,vars:0,template:function(p,y){1&p&&o._UZ(0,"router-outlet")},dependencies:[Jr],encapsulation:2}),h})();function Un(u){const h=u.children&&u.children.map(Un),v=h?{...u,children:h}:{...u};return!v.component&&!v.loadComponent&&(h||v.loadChildren)&&v.outlet&&v.outlet!==ot&&(v.component=xt),v}function yn(u){return u.outlet||ot}function Rr(u){if(!u)return null;if(u.routeConfig?._injector)return u.routeConfig._injector;for(let h=u.parent;h;h=h.parent){const v=h.routeConfig;if(v?._loadedInjector)return v._loadedInjector;if(v?._injector)return v._injector}return null}class ps{constructor(h,v,p,y,I){this.routeReuseStrategy=h,this.futureState=v,this.currState=p,this.forwardEvent=y,this.inputBindingEnabled=I}activate(h){const v=this.futureState._root,p=this.currState?this.currState._root:null;this.deactivateChildRoutes(v,p,h),zr(this.futureState.root),this.activateChildRoutes(v,p,h)}deactivateChildRoutes(h,v,p){const y=cs(v);h.children.forEach(I=>{const P=I.value.outlet;this.deactivateRoutes(I,y[P],p),delete y[P]}),Object.values(y).forEach(I=>{this.deactivateRouteAndItsChildren(I,p)})}deactivateRoutes(h,v,p){const y=h.value,I=v?v.value:null;if(y===I)if(y.component){const P=p.getContext(y.outlet);P&&this.deactivateChildRoutes(h,v,P.children)}else this.deactivateChildRoutes(h,v,p);else I&&this.deactivateRouteAndItsChildren(v,p)}deactivateRouteAndItsChildren(h,v){h.value.component&&this.routeReuseStrategy.shouldDetach(h.value.snapshot)?this.detachAndStoreRouteSubtree(h,v):this.deactivateRouteAndOutlet(h,v)}detachAndStoreRouteSubtree(h,v){const p=v.getContext(h.value.outlet),y=p&&h.value.component?p.children:v,I=cs(h);for(const P of Object.keys(I))this.deactivateRouteAndItsChildren(I[P],y);if(p&&p.outlet){const P=p.outlet.detach(),Z=p.children.onOutletDeactivated();this.routeReuseStrategy.store(h.value.snapshot,{componentRef:P,route:h,contexts:Z})}}deactivateRouteAndOutlet(h,v){const p=v.getContext(h.value.outlet),y=p&&h.value.component?p.children:v,I=cs(h);for(const P of Object.keys(I))this.deactivateRouteAndItsChildren(I[P],y);p&&(p.outlet&&(p.outlet.deactivate(),p.children.onOutletDeactivated()),p.attachRef=null,p.route=null)}activateChildRoutes(h,v,p){const y=cs(v);h.children.forEach(I=>{this.activateRoutes(I,y[I.value.outlet],p),this.forwardEvent(new $i(I.value.snapshot))}),h.children.length&&this.forwardEvent(new Ri(h.value.snapshot))}activateRoutes(h,v,p){const y=h.value,I=v?v.value:null;if(zr(y),y===I)if(y.component){const P=p.getOrCreateContext(y.outlet);this.activateChildRoutes(h,v,P.children)}else this.activateChildRoutes(h,v,p);else if(y.component){const P=p.getOrCreateContext(y.outlet);if(this.routeReuseStrategy.shouldAttach(y.snapshot)){const Z=this.routeReuseStrategy.retrieve(y.snapshot);this.routeReuseStrategy.store(y.snapshot,null),P.children.onOutletReAttached(Z.contexts),P.attachRef=Z.componentRef,P.route=Z.route.value,P.outlet&&P.outlet.attach(Z.componentRef,Z.route.value),zr(Z.route.value),this.activateChildRoutes(h,null,P.children)}else{const Z=Rr(y.snapshot);P.attachRef=null,P.route=y,P.injector=Z,P.outlet&&P.outlet.activateWith(y,P.injector),this.activateChildRoutes(h,null,P.children)}}else this.activateChildRoutes(h,null,p)}}class Pi{constructor(h){this.path=h,this.route=this.path[this.path.length-1]}}class ii{constructor(h,v){this.component=h,this.route=v}}function to(u,h,v){const p=u._root;return fn(p,h?h._root:null,v,[p.value])}function ts(u,h){const v=Symbol(),p=h.get(u,v);return p===v?"function"!=typeof u||(0,o.Z0I)(u)?h.get(u):u:p}function fn(u,h,v,p,y={canDeactivateChecks:[],canActivateChecks:[]}){const I=cs(h);return u.children.forEach(P=>{(function no(u,h,v,p,y={canDeactivateChecks:[],canActivateChecks:[]}){const I=u.value,P=h?h.value:null,Z=v?v.getContext(u.value.outlet):null;if(P&&I.routeConfig===P.routeConfig){const je=function Gi(u,h,v){if("function"==typeof v)return v(u,h);switch(v){case"pathParamsChange":return!Fn(u.url,h.url);case"pathParamsOrQueryParamsChange":return!Fn(u.url,h.url)||!bt(u.queryParams,h.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Mt(u,h)||!bt(u.queryParams,h.queryParams);default:return!Mt(u,h)}}(P,I,I.routeConfig.runGuardsAndResolvers);je?y.canActivateChecks.push(new Pi(p)):(I.data=P.data,I._resolvedData=P._resolvedData),fn(u,h,I.component?Z?Z.children:null:v,p,y),je&&Z&&Z.outlet&&Z.outlet.isActivated&&y.canDeactivateChecks.push(new ii(Z.outlet.component,P))}else P&&w(h,Z,y),y.canActivateChecks.push(new Pi(p)),fn(u,null,I.component?Z?Z.children:null:v,p,y)})(P,I[P.value.outlet],v,p.concat([P.value]),y),delete I[P.value.outlet]}),Object.entries(I).forEach(([P,Z])=>w(Z,v.getContext(P),y)),y}function w(u,h,v){const p=cs(u),y=u.value;Object.entries(p).forEach(([I,P])=>{w(P,y.component?h?h.children.getContext(I):null:h,v)}),v.canDeactivateChecks.push(new ii(y.component&&h&&h.outlet&&h.outlet.isActivated?h.outlet.component:null,y))}function D(u){return"function"==typeof u}function Br(u){return u instanceof Vt||"EmptyError"===u?.name}const $s=Symbol("INITIAL_VALUE");function gs(){return(0,Ne.w)(u=>Ye(u.map(h=>h.pipe((0,Le.q)(1),function Ge(...u){const h=(0,he.yG)(u);return(0,$.e)((v,p)=>{(h?(0,Ae.z)(u,v,h):(0,Ae.z)(u,v)).subscribe(p)})}($s)))).pipe((0,Dt.U)(h=>{for(const v of h)if(!0!==v){if(v===$s)return $s;if(!1===v||v instanceof Bn)return v}return!0}),(0,Rt.h)(h=>h!==$s),(0,Le.q)(1)))}function oo(u){return(0,ye.z)((0,Re.b)(h=>{if(sn(h))throw Vr(0,h)}),(0,Dt.U)(h=>!0===h))}class fr{constructor(h){this.segmentGroup=h||null}}class Ps{constructor(h){this.urlTree=h}}function Tn(u){return(0,Ke._)(new fr(u))}function Ki(u){return(0,Ke._)(new Ps(u))}class Ni{constructor(h,v){this.urlSerializer=h,this.urlTree=v}noMatchError(h){return new o.vHH(4002,!1)}lineralizeSegments(h,v){let p=[],y=v.root;for(;;){if(p=p.concat(y.segments),0===y.numberOfChildren)return(0,ne.of)(p);if(y.numberOfChildren>1||!y.children[ot])return(0,Ke._)(new o.vHH(4e3,!1));y=y.children[ot]}}applyRedirectCommands(h,v,p){return this.applyRedirectCreateUrlTree(v,this.urlSerializer.parse(v),h,p)}applyRedirectCreateUrlTree(h,v,p,y){const I=this.createSegmentGroup(h,v.root,p,y);return new Bn(I,this.createQueryParams(v.queryParams,this.urlTree.queryParams),v.fragment)}createQueryParams(h,v){const p={};return Object.entries(h).forEach(([y,I])=>{if("string"==typeof I&&I.startsWith(":")){const Z=I.substring(1);p[y]=v[Z]}else p[y]=I}),p}createSegmentGroup(h,v,p,y){const I=this.createSegments(h,v.segments,p,y);let P={};return Object.entries(v.children).forEach(([Z,je])=>{P[Z]=this.createSegmentGroup(h,je,p,y)}),new St(I,P)}createSegments(h,v,p,y){return v.map(I=>I.path.startsWith(":")?this.findPosParam(h,I,y):this.findOrReturn(I,p))}findPosParam(h,v,p){const y=p[v.path.substring(1)];if(!y)throw new o.vHH(4001,!1);return y}findOrReturn(h,v){let p=0;for(const y of v){if(y.path===h.path)return v.splice(p),y;p++}return h}}const oi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function lo(u,h,v,p,y){const I=ai(u,h,v);return I.matched?(p=function ri(u,h){return u.providers&&!u._injector&&(u._injector=(0,o.MMx)(u.providers,h,`Route: ${u.path}`)),u._injector??h}(h,p),function ao(u,h,v,p){const y=h.canMatch;if(!y||0===y.length)return(0,ne.of)(!0);const I=y.map(P=>{const Z=ts(P,u);return Cn(function kn(u){return u&&D(u.canMatch)}(Z)?Z.canMatch(h,v):u.runInContext(()=>Z(h,v)))});return(0,ne.of)(I).pipe(gs(),oo())}(p,h,v).pipe((0,Dt.U)(P=>!0===P?I:{...oi}))):(0,ne.of)(I)}function ai(u,h,v){if(""===h.path)return"full"===h.pathMatch&&(u.hasChildren()||v.length>0)?{...oi}:{matched:!0,consumedSegments:[],remainingSegments:v,parameters:{},positionalParamSegments:{}};const y=(h.matcher||pn)(v,u,h);if(!y)return{...oi};const I={};Object.entries(y.posParams??{}).forEach(([Z,je])=>{I[Z]=je.path});const P=y.consumed.length>0?{...I,...y.consumed[y.consumed.length-1].parameters}:I;return{matched:!0,consumedSegments:y.consumed,remainingSegments:v.slice(y.consumed.length),parameters:P,positionalParamSegments:y.posParams??{}}}function xi(u,h,v,p){return v.length>0&&function Fi(u,h,v){return v.some(p=>Li(u,h,p)&&yn(p)!==ot)}(u,v,p)?{segmentGroup:new St(h,Ao(p,new St(v,u.children))),slicedSegments:[]}:0===v.length&&function Qi(u,h,v){return v.some(p=>Li(u,h,p))}(u,v,p)?{segmentGroup:new St(u.segments,Zi(u,0,v,p,u.children)),slicedSegments:v}:{segmentGroup:new St(u.segments,u.children),slicedSegments:v}}function Zi(u,h,v,p,y){const I={};for(const P of p)if(Li(u,v,P)&&!y[yn(P)]){const Z=new St([],{});I[yn(P)]=Z}return{...y,...I}}function Ao(u,h){const v={};v[ot]=h;for(const p of u)if(""===p.path&&yn(p)!==ot){const y=new St([],{});v[yn(p)]=y}return v}function Li(u,h,v){return(!(u.hasChildren()||h.length>0)||"full"!==v.pathMatch)&&""===v.path}class Ea{constructor(h,v,p,y,I,P,Z){this.injector=h,this.configLoader=v,this.rootComponentType=p,this.config=y,this.urlTree=I,this.paramsInheritanceStrategy=P,this.urlSerializer=Z,this.allowRedirects=!0,this.applyRedirects=new Ni(this.urlSerializer,this.urlTree)}noMatchError(h){return new o.vHH(4002,!1)}recognize(){const h=xi(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,h,ot).pipe((0,pt.K)(v=>{if(v instanceof Ps)return this.allowRedirects=!1,this.urlTree=v.urlTree,this.match(v.urlTree);throw v instanceof fr?this.noMatchError(v):v}),(0,Dt.U)(v=>{const p=new Mn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ot,this.rootComponentType,null,{}),y=new gr(p,v),I=new $r("",y),P=function Ft(u,h,v=null,p=null){return ir(En(u),h,v,p)}(p,[],this.urlTree.queryParams,this.urlTree.fragment);return P.queryParams=this.urlTree.queryParams,I.url=this.urlSerializer.serialize(P),this.inheritParamsAndData(I._root),{state:I,tree:P}}))}match(h){return this.processSegmentGroup(this.injector,this.config,h.root,ot).pipe((0,pt.K)(p=>{throw p instanceof fr?this.noMatchError(p):p}))}inheritParamsAndData(h){const v=h.value,p=Xn(v,this.paramsInheritanceStrategy);v.params=Object.freeze(p.params),v.data=Object.freeze(p.data),h.children.forEach(y=>this.inheritParamsAndData(y))}processSegmentGroup(h,v,p,y){return 0===p.segments.length&&p.hasChildren()?this.processChildren(h,v,p):this.processSegment(h,v,p,p.segments,y,!0)}processChildren(h,v,p){const y=[];for(const I of Object.keys(p.children))"primary"===I?y.unshift(I):y.push(I);return(0,F.D)(y).pipe((0,Ve.b)(I=>{const P=p.children[I],Z=function Us(u,h){const v=u.filter(p=>yn(p)===h);return v.push(...u.filter(p=>yn(p)!==h)),v}(v,I);return this.processSegmentGroup(h,Z,P,I)}),function Ce(u,h){return(0,$.e)(function Se(u,h,v,p,y){return(I,P)=>{let Z=v,je=h,ae=0;I.subscribe((0,Qe.x)(P,it=>{const vt=ae++;je=Z?u(je,it,vt):(Z=!0,it),p&&P.next(je)},y&&(()=>{Z&&P.next(je),P.complete()})))}}(u,h,arguments.length>=2,!0))}((I,P)=>(I.push(...P),I)),te(null),function le(u,h){const v=arguments.length>=2;return p=>p.pipe(u?(0,Rt.h)((y,I)=>u(y,I,p)):Te.y,ge(1),v?te(h):ie(()=>new Vt))}(),(0,ht.z)(I=>{if(null===I)return Tn(p);const P=f(I);return function li(u){u.sort((h,v)=>h.value.outlet===ot?-1:v.value.outlet===ot?1:h.value.outlet.localeCompare(v.value.outlet))}(P),(0,ne.of)(P)}))}processSegment(h,v,p,y,I,P){return(0,F.D)(v).pipe((0,Ve.b)(Z=>this.processSegmentAgainstRoute(Z._injector??h,v,Z,p,y,I,P).pipe((0,pt.K)(je=>{if(je instanceof fr)return(0,ne.of)(null);throw je}))),me(Z=>!!Z),(0,pt.K)(Z=>{if(Br(Z))return function co(u,h,v){return 0===h.length&&!u.children[v]}(p,y,I)?(0,ne.of)([]):Tn(p);throw Z}))}processSegmentAgainstRoute(h,v,p,y,I,P,Z){return function uo(u,h,v,p){return!!(yn(u)===p||p!==ot&&Li(h,v,u))&&("**"===u.path||ai(h,u,v).matched)}(p,y,I,P)?void 0===p.redirectTo?this.matchSegmentAgainstRoute(h,y,p,I,P,Z):Z&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(h,y,v,p,I,P):Tn(y):Tn(y)}expandSegmentAgainstRouteUsingRedirect(h,v,p,y,I,P){return"**"===y.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(h,p,y,P):this.expandRegularSegmentAgainstRouteUsingRedirect(h,v,p,y,I,P)}expandWildCardWithParamsAgainstRouteUsingRedirect(h,v,p,y){const I=this.applyRedirects.applyRedirectCommands([],p.redirectTo,{});return p.redirectTo.startsWith("/")?Ki(I):this.applyRedirects.lineralizeSegments(p,I).pipe((0,ht.z)(P=>{const Z=new St(P,{});return this.processSegment(h,v,Z,P,y,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(h,v,p,y,I,P){const{matched:Z,consumedSegments:je,remainingSegments:ae,positionalParamSegments:it}=ai(v,y,I);if(!Z)return Tn(v);const vt=this.applyRedirects.applyRedirectCommands(je,y.redirectTo,it);return y.redirectTo.startsWith("/")?Ki(vt):this.applyRedirects.lineralizeSegments(y,vt).pipe((0,ht.z)(Rn=>this.processSegment(h,p,v,Rn.concat(ae),P,!1)))}matchSegmentAgainstRoute(h,v,p,y,I,P){let Z;if("**"===p.path){const je=y.length>0?Tt(y).parameters:{},ae=new Mn(y,je,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,L(p),yn(p),p.component??p._loadedComponent??null,p,_(p));Z=(0,ne.of)({snapshot:ae,consumedSegments:[],remainingSegments:[]}),v.children={}}else Z=lo(v,p,y,h).pipe((0,Dt.U)(({matched:je,consumedSegments:ae,remainingSegments:it,parameters:vt})=>je?{snapshot:new Mn(ae,vt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,L(p),yn(p),p.component??p._loadedComponent??null,p,_(p)),consumedSegments:ae,remainingSegments:it}:null));return Z.pipe((0,Ne.w)(je=>null===je?Tn(v):this.getChildConfig(h=p._injector??h,p,y).pipe((0,Ne.w)(({routes:ae})=>{const it=p._loadedInjector??h,{snapshot:vt,consumedSegments:Rn,remainingSegments:rn}=je,{segmentGroup:Cs,slicedSegments:vo}=xi(v,Rn,rn,ae);if(0===vo.length&&Cs.hasChildren())return this.processChildren(it,ae,Cs).pipe((0,Dt.U)(Ys=>null===Ys?null:[new gr(vt,Ys)]));if(0===ae.length&&0===vo.length)return(0,ne.of)([new gr(vt,[])]);const Ei=yn(p)===I;return this.processSegment(it,ae,Cs,vo,Ei?ot:I,!0).pipe((0,Dt.U)(Ys=>[new gr(vt,Ys)]))}))))}getChildConfig(h,v,p){return v.children?(0,ne.of)({routes:v.children,injector:h}):v.loadChildren?void 0!==v._loadedRoutes?(0,ne.of)({routes:v._loadedRoutes,injector:v._loadedInjector}):function Yi(u,h,v,p){const y=h.canLoad;if(void 0===y||0===y.length)return(0,ne.of)(!0);const I=y.map(P=>{const Z=ts(P,u);return Cn(function b(u){return u&&D(u.canLoad)}(Z)?Z.canLoad(h,v):u.runInContext(()=>Z(h,v)))});return(0,ne.of)(I).pipe(gs(),oo())}(h,v,p).pipe((0,ht.z)(y=>y?this.configLoader.loadChildren(h,v).pipe((0,Re.b)(I=>{v._loadedRoutes=I.routes,v._loadedInjector=I.injector})):function qi(u){return(0,Ke._)(er(!1,3))}())):(0,ne.of)({routes:[],injector:h})}}function vs(u){const h=u.value.routeConfig;return h&&""===h.path}function f(u){const h=[],v=new Set;for(const p of u){if(!vs(p)){h.push(p);continue}const y=h.find(I=>p.value.routeConfig===I.value.routeConfig);void 0!==y?(y.children.push(...p.children),v.add(y)):h.push(p)}for(const p of v){const y=f(p.children);h.push(new gr(p.value,y))}return h.filter(p=>!v.has(p))}function L(u){return u.data||{}}function _(u){return u.resolve||{}}function en(u){return"string"==typeof u.title||null===u.title}function at(u){return(0,Ne.w)(h=>{const v=u(h);return v?(0,F.D)(v).pipe((0,Dt.U)(()=>h)):(0,ne.of)(h)})}const un=new o.OlP("ROUTES");let qt=(()=>{var u;class h{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.f3M)(o.Sil)}loadComponent(p){if(this.componentLoaders.get(p))return this.componentLoaders.get(p);if(p._loadedComponent)return(0,ne.of)(p._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(p);const y=Cn(p.loadComponent()).pipe((0,Dt.U)(ns),(0,Re.b)(P=>{this.onLoadEndListener&&this.onLoadEndListener(p),p._loadedComponent=P}),(0,Xe.x)(()=>{this.componentLoaders.delete(p)})),I=new re.c(y,()=>new Oe.x).pipe((0,dt.x)());return this.componentLoaders.set(p,I),I}loadChildren(p,y){if(this.childrenLoaders.get(y))return this.childrenLoaders.get(y);if(y._loadedRoutes)return(0,ne.of)({routes:y._loadedRoutes,injector:y._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(y);const P=this.loadModuleFactoryOrRoutes(y.loadChildren).pipe((0,Dt.U)(je=>{this.onLoadEndListener&&this.onLoadEndListener(y);let ae,it;return Array.isArray(je)?it=je:(ae=je.create(p).injector,it=ae.get(un,[],o.XFs.Self|o.XFs.Optional).flat()),{routes:it.map(Un),injector:ae}}),(0,Xe.x)(()=>{this.childrenLoaders.delete(y)})),Z=new re.c(P,()=>new Oe.x).pipe((0,dt.x)());return this.childrenLoaders.set(y,Z),Z}loadModuleFactoryOrRoutes(p){return Cn(p()).pipe((0,Dt.U)(ns),(0,ht.z)(y=>y instanceof o.YKP||Array.isArray(y)?(0,ne.of)(y):(0,F.D)(this.compiler.compileModuleAsync(y))))}}return(u=h).\u0275fac=function(p){return new(p||u)},u.\u0275prov=o.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();function ns(u){return function nn(u){return u&&"object"==typeof u&&"default"in u}(u)?u.default:u}let _r=(()=>{var u;class h{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Oe.x,this.transitionAbortSubject=new Oe.x,this.configLoader=(0,o.f3M)(qt),this.environmentInjector=(0,o.f3M)(o.lqb),this.urlSerializer=(0,o.f3M)(Qn),this.rootContexts=(0,o.f3M)(Ln),this.inputBindingEnabled=null!==(0,o.f3M)(Ir,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,ne.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=I=>this.events.next(new pi(I)),this.configLoader.onLoadStartListener=I=>this.events.next(new hi(I))}complete(){this.transitions?.complete()}handleNavigationRequest(p){const y=++this.navigationId;this.transitions?.next({...this.transitions.value,...p,id:y})}setupNavigations(p,y,I){return this.transitions=new we.X({id:0,currentUrlTree:y,currentRawUrl:y,currentBrowserUrl:y,extractedUrl:p.urlHandlingStrategy.extract(y),urlAfterRedirects:p.urlHandlingStrategy.extract(y),rawUrl:y,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Tr,restoredState:null,currentSnapshot:I.snapshot,targetSnapshot:null,currentRouterState:I,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Rt.h)(P=>0!==P.id),(0,Dt.U)(P=>({...P,extractedUrl:p.urlHandlingStrategy.extract(P.rawUrl)})),(0,Ne.w)(P=>{this.currentTransition=P;let Z=!1,je=!1;return(0,ne.of)(P).pipe((0,Re.b)(ae=>{this.currentNavigation={id:ae.id,initialUrl:ae.rawUrl,extractedUrl:ae.extractedUrl,trigger:ae.source,extras:ae.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Ne.w)(ae=>{const it=ae.currentBrowserUrl.toString(),vt=!p.navigated||ae.extractedUrl.toString()!==it||it!==ae.currentUrlTree.toString();if(!vt&&"reload"!==(ae.extras.onSameUrlNavigation??p.onSameUrlNavigation)){const rn="";return this.events.next(new zn(ae.id,this.urlSerializer.serialize(ae.rawUrl),rn,0)),ae.resolve(null),Je.E}if(p.urlHandlingStrategy.shouldProcessUrl(ae.rawUrl))return(0,ne.of)(ae).pipe((0,Ne.w)(rn=>{const Cs=this.transitions?.getValue();return this.events.next(new Js(rn.id,this.urlSerializer.serialize(rn.extractedUrl),rn.source,rn.restoredState)),Cs!==this.transitions?.getValue()?Je.E:Promise.resolve(rn)}),function x(u,h,v,p,y,I){return(0,ht.z)(P=>function ms(u,h,v,p,y,I,P="emptyOnly"){return new Ea(u,h,v,p,y,P,I).recognize()}(u,h,v,p,P.extractedUrl,y,I).pipe((0,Dt.U)(({state:Z,tree:je})=>({...P,targetSnapshot:Z,urlAfterRedirects:je}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,p.config,this.urlSerializer,p.paramsInheritanceStrategy),(0,Re.b)(rn=>{P.targetSnapshot=rn.targetSnapshot,P.urlAfterRedirects=rn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:rn.urlAfterRedirects};const Cs=new ei(rn.id,this.urlSerializer.serialize(rn.extractedUrl),this.urlSerializer.serialize(rn.urlAfterRedirects),rn.targetSnapshot);this.events.next(Cs)}));if(vt&&p.urlHandlingStrategy.shouldProcessUrl(ae.currentRawUrl)){const{id:rn,extractedUrl:Cs,source:vo,restoredState:Ei,extras:Ys}=ae,bu=new Js(rn,this.urlSerializer.serialize(Cs),vo,Ei);this.events.next(bu);const Kd=qe(0,this.rootComponentType).snapshot;return this.currentTransition=P={...ae,targetSnapshot:Kd,urlAfterRedirects:Cs,extras:{...Ys,skipLocationChange:!1,replaceUrl:!1}},(0,ne.of)(P)}{const rn="";return this.events.next(new zn(ae.id,this.urlSerializer.serialize(ae.extractedUrl),rn,1)),ae.resolve(null),Je.E}}),(0,Re.b)(ae=>{const it=new Oi(ae.id,this.urlSerializer.serialize(ae.extractedUrl),this.urlSerializer.serialize(ae.urlAfterRedirects),ae.targetSnapshot);this.events.next(it)}),(0,Dt.U)(ae=>(this.currentTransition=P={...ae,guards:to(ae.targetSnapshot,ae.currentSnapshot,this.rootContexts)},P)),function mi(u,h){return(0,ht.z)(v=>{const{targetSnapshot:p,currentSnapshot:y,guards:{canActivateChecks:I,canDeactivateChecks:P}}=v;return 0===P.length&&0===I.length?(0,ne.of)({...v,guardsResult:!0}):function zs(u,h,v,p){return(0,F.D)(u).pipe((0,ht.z)(y=>function io(u,h,v,p,y){const I=h&&h.routeConfig?h.routeConfig.canDeactivate:null;if(!I||0===I.length)return(0,ne.of)(!0);const P=I.map(Z=>{const je=Rr(h)??y,ae=ts(Z,je);return Cn(function Et(u){return u&&D(u.canDeactivate)}(ae)?ae.canDeactivate(u,h,v,p):je.runInContext(()=>ae(u,h,v,p))).pipe(me())});return(0,ne.of)(P).pipe(gs())}(y.component,y.route,v,h,p)),me(y=>!0!==y,!0))}(P,p,y,u).pipe((0,ht.z)(Z=>Z&&function R(u){return"boolean"==typeof u}(Z)?function ro(u,h,v,p){return(0,F.D)(h).pipe((0,Ve.b)(y=>(0,Ae.z)(function vi(u,h){return null!==u&&h&&h(new ti(u)),(0,ne.of)(!0)}(y.route.parent,p),function Wi(u,h){return null!==u&&h&&h(new Bs(u)),(0,ne.of)(!0)}(y.route,p),function Io(u,h,v){const p=h[h.length-1],I=h.slice(0,h.length-1).reverse().map(P=>function zi(u){const h=u.routeConfig?u.routeConfig.canActivateChild:null;return h&&0!==h.length?{node:u,guards:h}:null}(P)).filter(P=>null!==P).map(P=>(0,X.P)(()=>{const Z=P.guards.map(je=>{const ae=Rr(P.node)??v,it=ts(je,ae);return Cn(function Be(u){return u&&D(u.canActivateChild)}(it)?it.canActivateChild(p,u):ae.runInContext(()=>it(p,u))).pipe(me())});return(0,ne.of)(Z).pipe(gs())}));return(0,ne.of)(I).pipe(gs())}(u,y.path,v),function so(u,h,v){const p=h.routeConfig?h.routeConfig.canActivate:null;if(!p||0===p.length)return(0,ne.of)(!0);const y=p.map(I=>(0,X.P)(()=>{const P=Rr(h)??v,Z=ts(I,P);return Cn(function k(u){return u&&D(u.canActivate)}(Z)?Z.canActivate(h,u):P.runInContext(()=>Z(h,u))).pipe(me())}));return(0,ne.of)(y).pipe(gs())}(u,y.route,v))),me(y=>!0!==y,!0))}(p,I,u,h):(0,ne.of)(Z)),(0,Dt.U)(Z=>({...v,guardsResult:Z})))})}(this.environmentInjector,ae=>this.events.next(ae)),(0,Re.b)(ae=>{if(P.guardsResult=ae.guardsResult,sn(ae.guardsResult))throw Vr(0,ae.guardsResult);const it=new Ms(ae.id,this.urlSerializer.serialize(ae.extractedUrl),this.urlSerializer.serialize(ae.urlAfterRedirects),ae.targetSnapshot,!!ae.guardsResult);this.events.next(it)}),(0,Rt.h)(ae=>!!ae.guardsResult||(this.cancelNavigationTransition(ae,"",3),!1)),at(ae=>{if(ae.guards.canActivateChecks.length)return(0,ne.of)(ae).pipe((0,Re.b)(it=>{const vt=new Ts(it.id,this.urlSerializer.serialize(it.extractedUrl),this.urlSerializer.serialize(it.urlAfterRedirects),it.targetSnapshot);this.events.next(vt)}),(0,Ne.w)(it=>{let vt=!1;return(0,ne.of)(it).pipe(function G(u,h){return(0,ht.z)(v=>{const{targetSnapshot:p,guards:{canActivateChecks:y}}=v;if(!y.length)return(0,ne.of)(v);let I=0;return(0,F.D)(y).pipe((0,Ve.b)(P=>function ve(u,h,v,p){const y=u.routeConfig,I=u._resolve;return void 0!==y?.title&&!en(y)&&(I[Pn]=y.title),function We(u,h,v,p){const y=function At(u){return[...Object.keys(u),...Object.getOwnPropertySymbols(u)]}(u);if(0===y.length)return(0,ne.of)({});const I={};return(0,F.D)(y).pipe((0,ht.z)(P=>function Ut(u,h,v,p){const y=Rr(h)??p,I=ts(u,y);return Cn(I.resolve?I.resolve(h,v):y.runInContext(()=>I(h,v)))}(u[P],h,v,p).pipe(me(),(0,Re.b)(Z=>{I[P]=Z}))),ge(1),(0,Y.h)(I),(0,pt.K)(P=>Br(P)?Je.E:(0,Ke._)(P)))}(I,u,h,p).pipe((0,Dt.U)(P=>(u._resolvedData=P,u.data=Xn(u,v).resolve,y&&en(y)&&(u.data[Pn]=y.title),null)))}(P.route,p,u,h)),(0,Re.b)(()=>I++),ge(1),(0,ht.z)(P=>I===y.length?(0,ne.of)(v):Je.E))})}(p.paramsInheritanceStrategy,this.environmentInjector),(0,Re.b)({next:()=>vt=!0,complete:()=>{vt||this.cancelNavigationTransition(it,"",2)}}))}),(0,Re.b)(it=>{const vt=new Is(it.id,this.urlSerializer.serialize(it.extractedUrl),this.urlSerializer.serialize(it.urlAfterRedirects),it.targetSnapshot);this.events.next(vt)}))}),at(ae=>{const it=vt=>{const Rn=[];vt.routeConfig?.loadComponent&&!vt.routeConfig._loadedComponent&&Rn.push(this.configLoader.loadComponent(vt.routeConfig).pipe((0,Re.b)(rn=>{vt.component=rn}),(0,Dt.U)(()=>{})));for(const rn of vt.children)Rn.push(...it(rn));return Rn};return Ye(it(ae.targetSnapshot.root)).pipe(te(),(0,Le.q)(1))}),at(()=>this.afterPreactivation()),(0,Dt.U)(ae=>{const it=function Xr(u,h,v){const p=Ar(u,h._root,v?v._root:void 0);return new ln(p,h)}(p.routeReuseStrategy,ae.targetSnapshot,ae.currentRouterState);return this.currentTransition=P={...ae,targetRouterState:it},P}),(0,Re.b)(()=>{this.events.next(new zt)}),((u,h,v,p)=>(0,Dt.U)(y=>(new ps(h,y.targetRouterState,y.currentRouterState,v,p).activate(u),y)))(this.rootContexts,p.routeReuseStrategy,ae=>this.events.next(ae),this.inputBindingEnabled),(0,Le.q)(1),(0,Re.b)({next:ae=>{Z=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new jr(ae.id,this.urlSerializer.serialize(ae.extractedUrl),this.urlSerializer.serialize(ae.urlAfterRedirects))),p.titleStrategy?.updateTitle(ae.targetRouterState.snapshot),ae.resolve(!0)},complete:()=>{Z=!0}}),function On(u){return(0,$.e)((h,v)=>{(0,hn.Xf)(u).subscribe((0,Qe.x)(v,()=>v.complete(),ft.Z)),!v.closed&&h.subscribe(v)})}(this.transitionAbortSubject.pipe((0,Re.b)(ae=>{throw ae}))),(0,Xe.x)(()=>{Z||je||this.cancelNavigationTransition(P,"",1),this.currentNavigation?.id===P.id&&(this.currentNavigation=null)}),(0,pt.K)(ae=>{if(je=!0,fs(ae))this.events.next(new Xs(P.id,this.urlSerializer.serialize(P.extractedUrl),ae.message,ae.cancellationCode)),function Os(u){return fs(u)&&sn(u.url)}(ae)?this.events.next(new Sn(ae.url)):P.resolve(!1);else{this.events.next(new Hs(P.id,this.urlSerializer.serialize(P.extractedUrl),ae,P.targetSnapshot??void 0));try{P.resolve(p.errorHandler(ae))}catch(it){P.reject(it)}}return Je.E}))}))}cancelNavigationTransition(p,y,I){const P=new Xs(p.id,this.urlSerializer.serialize(p.extractedUrl),y,I);this.events.next(P),p.resolve(!1)}}return(u=h).\u0275fac=function(p){return new(p||u)},u.\u0275prov=o.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();function qn(u){return u!==Tr}let wn=(()=>{var u;class h{buildTitle(p){let y,I=p.root;for(;void 0!==I;)y=this.getResolvedTitleForRoute(I)??y,I=I.children.find(P=>P.outlet===ot);return y}getResolvedTitleForRoute(p){return p.data[Pn]}}return(u=h).\u0275fac=function(p){return new(p||u)},u.\u0275prov=o.Yz7({token:u,factory:function(){return(0,o.f3M)(ys)},providedIn:"root"}),h})(),ys=(()=>{var u;class h extends wn{constructor(p){super(),this.title=p}updateTitle(p){const y=this.buildTitle(p);void 0!==y&&this.title.setTitle(y)}}return(u=h).\u0275fac=function(p){return new(p||u)(o.LFG(cn.Dx))},u.\u0275prov=o.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})(),xs=(()=>{var u;class h{}return(u=h).\u0275fac=function(p){return new(p||u)},u.\u0275prov=o.Yz7({token:u,factory:function(){return(0,o.f3M)(Ws)},providedIn:"root"}),h})();class Gs{shouldDetach(h){return!1}store(h,v){}shouldAttach(h){return!1}retrieve(h){return null}shouldReuseRoute(h,v){return h.routeConfig===v.routeConfig}}let Ws=(()=>{var u;class h extends Gs{}return(u=h).\u0275fac=function(){let v;return function(y){return(v||(v=o.n5z(u)))(y||u)}}(),u.\u0275prov=o.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();const ki=new o.OlP("",{providedIn:"root",factory:()=>({})});let Oo=(()=>{var u;class h{}return(u=h).\u0275fac=function(p){return new(p||u)},u.\u0275prov=o.Yz7({token:u,factory:function(){return(0,o.f3M)(Ro)},providedIn:"root"}),h})(),Ro=(()=>{var u;class h{shouldProcessUrl(p){return!0}extract(p){return p}merge(p,y){return p}}return(u=h).\u0275fac=function(p){return new(p||u)},u.\u0275prov=o.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();var yi=function(u){return u[u.COMPLETE=0]="COMPLETE",u[u.FAILED=1]="FAILED",u[u.REDIRECTING=2]="REDIRECTING",u}(yi||{});function fo(u,h){u.events.pipe((0,Rt.h)(v=>v instanceof jr||v instanceof Xs||v instanceof Hs||v instanceof zn),(0,Dt.U)(v=>v instanceof jr||v instanceof zn?yi.COMPLETE:v instanceof Xs&&(0===v.code||1===v.code)?yi.REDIRECTING:yi.FAILED),(0,Rt.h)(v=>v!==yi.REDIRECTING),(0,Le.q)(1)).subscribe(()=>{h()})}function wa(u){throw u}function wt(u,h,v){return h.parse("/")}const Po={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ho={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let xr=(()=>{var u;class h{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,o.f3M)(o.c2e),this.isNgZoneEnabled=!1,this._events=new Oe.x,this.options=(0,o.f3M)(ki,{optional:!0})||{},this.pendingTasks=(0,o.f3M)(o.HDt),this.errorHandler=this.options.errorHandler||wa,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||wt,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,o.f3M)(Oo),this.routeReuseStrategy=(0,o.f3M)(xs),this.titleStrategy=(0,o.f3M)(wn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,o.f3M)(un,{optional:!0})?.flat()??[],this.navigationTransitions=(0,o.f3M)(_r),this.urlSerializer=(0,o.f3M)(Qn),this.location=(0,o.f3M)(Ue.Ye),this.componentInputBindingEnabled=!!(0,o.f3M)(Ir,{optional:!0}),this.eventsSubscription=new ke.w0,this.isNgZoneEnabled=(0,o.f3M)(o.R0b)instanceof o.R0b&&o.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Bn,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=qe(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(p=>{this.lastSuccessfulId=p.id,this.currentPageId=this.browserPageId},p=>{this.console.warn(`Unhandled Navigation Error: ${p}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const p=this.navigationTransitions.events.subscribe(y=>{try{const{currentTransition:I}=this.navigationTransitions;if(null===I)return void(po(y)&&this._events.next(y));if(y instanceof Js)qn(I.source)&&(this.browserUrlTree=I.extractedUrl);else if(y instanceof zn)this.rawUrlTree=I.rawUrl;else if(y instanceof ei){if("eager"===this.urlUpdateStrategy){if(!I.extras.skipLocationChange){const P=this.urlHandlingStrategy.merge(I.urlAfterRedirects,I.rawUrl);this.setBrowserUrl(P,I)}this.browserUrlTree=I.urlAfterRedirects}}else if(y instanceof zt)this.currentUrlTree=I.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(I.urlAfterRedirects,I.rawUrl),this.routerState=I.targetRouterState,"deferred"===this.urlUpdateStrategy&&(I.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,I),this.browserUrlTree=I.urlAfterRedirects);else if(y instanceof Xs)0!==y.code&&1!==y.code&&(this.navigated=!0),(3===y.code||2===y.code)&&this.restoreHistory(I);else if(y instanceof Sn){const P=this.urlHandlingStrategy.merge(y.url,I.currentRawUrl),Z={skipLocationChange:I.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||qn(I.source)};this.scheduleNavigation(P,Tr,null,Z,{resolve:I.resolve,reject:I.reject,promise:I.promise})}y instanceof Hs&&this.restoreHistory(I,!0),y instanceof jr&&(this.navigated=!0),po(y)&&this._events.next(y)}catch(I){this.navigationTransitions.transitionAbortSubject.next(I)}});this.eventsSubscription.add(p)}resetRootComponentType(p){this.routerState.root.component=p,this.navigationTransitions.rootComponentType=p}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const p=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Tr,p)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(p=>{const y="popstate"===p.type?"popstate":"hashchange";"popstate"===y&&setTimeout(()=>{this.navigateToSyncWithBrowser(p.url,y,p.state)},0)}))}navigateToSyncWithBrowser(p,y,I){const P={replaceUrl:!0},Z=I?.navigationId?I:null;if(I){const ae={...I};delete ae.navigationId,delete ae.\u0275routerPageId,0!==Object.keys(ae).length&&(P.state=ae)}const je=this.parseUrl(p);this.scheduleNavigation(je,y,Z,P)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(p){this.config=p.map(Un),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(p,y={}){const{relativeTo:I,queryParams:P,fragment:Z,queryParamsHandling:je,preserveFragment:ae}=y,it=ae?this.currentUrlTree.fragment:Z;let Rn,vt=null;switch(je){case"merge":vt={...this.currentUrlTree.queryParams,...P};break;case"preserve":vt=this.currentUrlTree.queryParams;break;default:vt=P||null}null!==vt&&(vt=this.removeEmptyProps(vt));try{Rn=En(I?I.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof p[0]||!p[0].startsWith("/"))&&(p=[]),Rn=this.currentUrlTree.root}return ir(Rn,p,vt,it??null)}navigateByUrl(p,y={skipLocationChange:!1}){const I=sn(p)?p:this.parseUrl(p),P=this.urlHandlingStrategy.merge(I,this.rawUrlTree);return this.scheduleNavigation(P,Tr,null,y)}navigate(p,y={skipLocationChange:!1}){return function No(u){for(let h=0;h<u.length;h++)if(null==u[h])throw new o.vHH(4008,!1)}(p),this.navigateByUrl(this.createUrlTree(p,y),y)}serializeUrl(p){return this.urlSerializer.serialize(p)}parseUrl(p){let y;try{y=this.urlSerializer.parse(p)}catch(I){y=this.malformedUriErrorHandler(I,this.urlSerializer,p)}return y}isActive(p,y){let I;if(I=!0===y?{...Po}:!1===y?{...ho}:y,sn(p))return as(this.currentUrlTree,p,I);const P=this.parseUrl(p);return as(this.currentUrlTree,P,I)}removeEmptyProps(p){return Object.keys(p).reduce((y,I)=>{const P=p[I];return null!=P&&(y[I]=P),y},{})}scheduleNavigation(p,y,I,P,Z){if(this.disposed)return Promise.resolve(!1);let je,ae,it;Z?(je=Z.resolve,ae=Z.reject,it=Z.promise):it=new Promise((Rn,rn)=>{je=Rn,ae=rn});const vt=this.pendingTasks.add();return fo(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(vt))}),this.navigationTransitions.handleNavigationRequest({source:y,restoredState:I,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:p,extras:P,resolve:je,reject:ae,promise:it,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),it.catch(Rn=>Promise.reject(Rn))}setBrowserUrl(p,y){const I=this.urlSerializer.serialize(p);if(this.location.isCurrentPathEqualTo(I)||y.extras.replaceUrl){const Z={...y.extras.state,...this.generateNgRouterState(y.id,this.browserPageId)};this.location.replaceState(I,"",Z)}else{const P={...y.extras.state,...this.generateNgRouterState(y.id,this.browserPageId+1)};this.location.go(I,"",P)}}restoreHistory(p,y=!1){if("computed"===this.canceledNavigationResolution){const P=this.currentPageId-this.browserPageId;0!==P?this.location.historyGo(P):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===P&&(this.resetState(p),this.browserUrlTree=p.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(y&&this.resetState(p),this.resetUrlToCurrentUrlTree())}resetState(p){this.routerState=p.currentRouterState,this.currentUrlTree=p.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,p.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(p,y){return"computed"===this.canceledNavigationResolution?{navigationId:p,\u0275routerPageId:y}:{navigationId:p}}}return(u=h).\u0275fac=function(p){return new(p||u)},u.\u0275prov=o.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();function po(u){return!(u instanceof zt||u instanceof Sn)}class Fo{}let ba=(()=>{var u;class h{constructor(p,y,I,P,Z){this.router=p,this.injector=I,this.preloadingStrategy=P,this.loader=Z}setUpPreloading(){this.subscription=this.router.events.pipe((0,Rt.h)(p=>p instanceof jr),(0,Ve.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(p,y){const I=[];for(const P of y){P.providers&&!P._injector&&(P._injector=(0,o.MMx)(P.providers,p,`Route: ${P.path}`));const Z=P._injector??p,je=P._loadedInjector??Z;(P.loadChildren&&!P._loadedRoutes&&void 0===P.canLoad||P.loadComponent&&!P._loadedComponent)&&I.push(this.preloadConfig(Z,P)),(P.children||P._loadedRoutes)&&I.push(this.processRoutes(je,P.children??P._loadedRoutes))}return(0,F.D)(I).pipe((0,Dn.J)())}preloadConfig(p,y){return this.preloadingStrategy.preload(y,()=>{let I;I=y.loadChildren&&void 0===y.canLoad?this.loader.loadChildren(p,y):(0,ne.of)(null);const P=I.pipe((0,ht.z)(Z=>null===Z?(0,ne.of)(void 0):(y._loadedRoutes=Z.routes,y._loadedInjector=Z.injector,this.processRoutes(Z.injector??p,Z.routes))));if(y.loadComponent&&!y._loadedComponent){const Z=this.loader.loadComponent(y);return(0,F.D)([P,Z]).pipe((0,Dn.J)())}return P})}}return(u=h).\u0275fac=function(p){return new(p||u)(o.LFG(xr),o.LFG(o.Sil),o.LFG(o.lqb),o.LFG(Fo),o.LFG(qt))},u.\u0275prov=o.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();const Ie=new o.OlP("");let Qt=(()=>{var u;class h{constructor(p,y,I,P,Z={}){this.urlSerializer=p,this.transitions=y,this.viewportScroller=I,this.zone=P,this.options=Z,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Z.scrollPositionRestoration=Z.scrollPositionRestoration||"disabled",Z.anchorScrolling=Z.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(p=>{p instanceof Js?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=p.navigationTrigger,this.restoredId=p.restoredState?p.restoredState.navigationId:0):p instanceof jr?(this.lastId=p.id,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.urlAfterRedirects).fragment)):p instanceof zn&&0===p.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(p,this.urlSerializer.parse(p.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(p=>{p instanceof As&&(p.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(p.position):p.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(p.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(p,y){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new As(p,"popstate"===this.lastSource?this.store[this.restoredId]:null,y))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(u=h).\u0275fac=function(p){o.$Z()},u.\u0275prov=o.Yz7({token:u,factory:u.\u0275fac}),h})();function In(u,h){return{\u0275kind:u,\u0275providers:h}}function M(){const u=(0,o.f3M)(o.zs3);return h=>{const v=u.get(o.z2F);if(h!==v.components[0])return;const p=u.get(xr),y=u.get(O);1===u.get(H)&&p.initialNavigation(),u.get(tt,null,o.XFs.Optional)?.setUpPreloading(),u.get(Ie,null,o.XFs.Optional)?.init(),p.resetRootComponentType(v.componentTypes[0]),y.closed||(y.next(),y.complete(),y.unsubscribe())}}const O=new o.OlP("",{factory:()=>new Oe.x}),H=new o.OlP("",{providedIn:"root",factory:()=>1}),tt=new o.OlP("");function Ze(u){return In(0,[{provide:tt,useExisting:ba},{provide:Fo,useExisting:u}])}const Vn=new o.OlP("ROUTER_FORROOT_GUARD"),$n=[Ue.Ye,{provide:Qn,useClass:wr},xr,Ln,{provide:Xt,useFactory:function go(u){return u.routerState.root},deps:[xr]},qt,[]];function hr(){return new o.PXZ("Router",xr)}let Gn=(()=>{var u;class h{constructor(p){}static forRoot(p,y){return{ngModule:h,providers:[$n,[],{provide:un,multi:!0,useValue:p},{provide:Vn,useFactory:_s,deps:[[xr,new o.FiY,new o.tp0]]},{provide:ki,useValue:y||{}},y?.useHash?{provide:Ue.S$,useClass:Ue.Do}:{provide:Ue.S$,useClass:Ue.b0},{provide:Ie,useFactory:()=>{const u=(0,o.f3M)(Ue.EM),h=(0,o.f3M)(o.R0b),v=(0,o.f3M)(ki),p=(0,o.f3M)(_r),y=(0,o.f3M)(Qn);return v.scrollOffset&&u.setOffset(v.scrollOffset),new Qt(y,p,u,h,v)}},y?.preloadingStrategy?Ze(y.preloadingStrategy).\u0275providers:[],{provide:o.PXZ,multi:!0,useFactory:hr},y?.initialNavigation?Ds(y):[],y?.bindToComponentInputs?In(8,[on,{provide:Ir,useExisting:on}]).\u0275providers:[],[{provide:ss,useFactory:M},{provide:o.tb,multi:!0,useExisting:ss}]]}}static forChild(p){return{ngModule:h,providers:[{provide:un,multi:!0,useValue:p}]}}}return(u=h).\u0275fac=function(p){return new(p||u)(o.LFG(Vn,8))},u.\u0275mod=o.oAB({type:u}),u.\u0275inj=o.cJS({}),h})();function _s(u){return"guarded"}function Ds(u){return["disabled"===u.initialNavigation?In(3,[{provide:o.ip1,multi:!0,useFactory:()=>{const h=(0,o.f3M)(xr);return()=>{h.setUpLocationChangeListener()}}},{provide:H,useValue:2}]).\u0275providers:[],"enabledBlocking"===u.initialNavigation?In(2,[{provide:H,useValue:0},{provide:o.ip1,multi:!0,deps:[o.zs3],useFactory:h=>{const v=h.get(Ue.V_,Promise.resolve());return()=>v.then(()=>new Promise(p=>{const y=h.get(xr),I=h.get(O);fo(y,()=>{p(!0)}),h.get(_r).afterPreactivation=()=>(p(!0),I.closed?(0,ne.of)(void 0):I),y.initialNavigation()}))}}]).\u0275providers:[]]}const ss=new o.OlP("")},3771:(ut,_e,A)=>{A.d(_e,{Te:()=>Je,fs:()=>Dt});var o=A(8926),N=A(6814),pe=A(95);function j(Ne,Le){if(1&Ne&&(o.TgZ(0,"div",4),o._uU(1),o.qZA()),2&Ne){const $=o.oxw();o.xp6(1),o.Oqu($.labelText)}}function F(Ne,Le){if(1&Ne&&o._UZ(0,"i"),2&Ne){const $=o.oxw(2);o.Gre("star-empty ",$.classEmpty,"")}}function ne(Ne,Le){if(1&Ne&&o._UZ(0,"i"),2&Ne){const $=o.oxw(2);o.Gre("star-half ",$.classHalf,"")}}function we(Ne,Le){if(1&Ne&&o._UZ(0,"i"),2&Ne){const $=o.oxw(2);o.Gre("star-filled ",$.classFilled,"")}}function Me(Ne,Le){if(1&Ne&&(o.O4$(),o.TgZ(0,"svg",10),o._UZ(1,"use",11),o.qZA()),2&Ne){const $=o.oxw(2);o.xp6(1),o.uIk("href",$.pathEmpty,null,"xlink")}}function Te(Ne,Le){if(1&Ne&&(o.O4$(),o.TgZ(0,"svg",12),o._UZ(1,"use",11),o.qZA()),2&Ne){const $=o.oxw(2);o.xp6(1),o.uIk("href",$.pathHalf,null,"xlink")}}function se(Ne,Le){if(1&Ne&&(o.O4$(),o.TgZ(0,"svg",13),o._UZ(1,"use",11),o.qZA()),2&Ne){const $=o.oxw(2);o.xp6(1),o.uIk("href",$.pathFilled,null,"xlink")}}function he(Ne,Le){if(1&Ne){const $=o.EpF();o.TgZ(0,"div",5),o.NdJ("mouseenter",function(){const ht=o.CHM($).$implicit,te=o.oxw();return o.KtG(te.onStarHover(ht))})("click",function(){const ht=o.CHM($).$implicit,te=o.oxw();return o.KtG(te.onStarClicked(ht))}),o.YNc(1,F,1,3,"i",6),o.YNc(2,ne,1,3,"i",6),o.YNc(3,we,1,3,"i",6),o.YNc(4,Me,2,1,"svg",7),o.YNc(5,Te,2,1,"svg",8),o.YNc(6,se,2,1,"svg",9),o.qZA()}if(2&Ne){const $=o.oxw();o.xp6(1),o.Q6J("ngIf",!$.svgVisible()),o.xp6(1),o.Q6J("ngIf",!$.svgVisible()),o.xp6(1),o.Q6J("ngIf",!$.svgVisible()),o.xp6(1),o.Q6J("ngIf",$.svgVisible()),o.xp6(1),o.Q6J("ngIf",$.svgVisible()),o.xp6(1),o.Q6J("ngIf",$.svgVisible())}}function xe(Ne,Le){if(1&Ne&&(o.TgZ(0,"div",4),o._uU(1),o.qZA()),2&Ne){const $=o.oxw();o.xp6(1),o.Oqu($.labelText)}}function Qe(Ne,Le){if(1&Ne&&o._UZ(0,"i"),2&Ne){const $=o.oxw(2);o.Gre("star-empty ",$.classEmpty,"")}}function Ee(Ne,Le){if(1&Ne&&o._UZ(0,"i"),2&Ne){const $=o.oxw(2);o.Gre("star-half ",$.classHalf,"")}}function Ye(Ne,Le){if(1&Ne&&o._UZ(0,"i"),2&Ne){const $=o.oxw(2);o.Gre("star-filled ",$.classFilled,"")}}function ct(Ne,Le){if(1&Ne&&(o.O4$(),o.TgZ(0,"svg",10),o._UZ(1,"use",11),o.qZA()),2&Ne){const $=o.oxw(2);o.xp6(1),o.uIk("href",$.pathEmpty,null,"xlink")}}function gt(Ne,Le){if(1&Ne&&(o.O4$(),o.TgZ(0,"svg",12),o._UZ(1,"use",11),o.qZA()),2&Ne){const $=o.oxw(2);o.xp6(1),o.uIk("href",$.pathHalf,null,"xlink")}}function Pt(Ne,Le){if(1&Ne&&(o.O4$(),o.TgZ(0,"svg",13),o._UZ(1,"use",11),o.qZA()),2&Ne){const $=o.oxw(2);o.xp6(1),o.uIk("href",$.pathFilled,null,"xlink")}}function Vt(Ne,Le){if(1&Ne){const $=o.EpF();o.TgZ(0,"div",5),o.NdJ("mouseenter",function(){const ht=o.CHM($).$implicit,te=o.oxw();return o.KtG(te.onStarHover(ht))})("click",function(){const ht=o.CHM($).$implicit,te=o.oxw();return o.KtG(te.onStarClicked(ht))}),o.YNc(1,Qe,1,3,"i",6),o.YNc(2,Ee,1,3,"i",6),o.YNc(3,Ye,1,3,"i",6),o.YNc(4,ct,2,1,"svg",7),o.YNc(5,gt,2,1,"svg",8),o.YNc(6,Pt,2,1,"svg",9),o.qZA()}if(2&Ne){const $=o.oxw();o.xp6(1),o.Q6J("ngIf",!$.svgVisible()),o.xp6(1),o.Q6J("ngIf",!$.svgVisible()),o.xp6(1),o.Q6J("ngIf",!$.svgVisible()),o.xp6(1),o.Q6J("ngIf",$.svgVisible()),o.xp6(1),o.Q6J("ngIf",$.svgVisible()),o.xp6(1),o.Q6J("ngIf",$.svgVisible())}}class X{static getStarsArray(Le){const $=[];for(let Ge=0;Ge<Le;Ge++)$.push(Ge+1);return $}static getHalfStarVisible(Le){return Math.abs(Le%1)>0}static getColor(Le,$,Ge){if(Ge)return Ge;const Rt=$/3;let ht="default";return(Le=Le||0)>0&&(ht="negative"),Le>Rt&&(ht="ok"),Le>2*Rt&&(ht="positive"),ht}static isDigitKeyEventCode(Le){return 0===Le.indexOf("Digit")}}class ye{constructor(){this._classEmpty="default-star-empty-icon",this._classHalf="default-star-half-icon",this._classFilled="default-star-filled-icon",this._numOfStars=5,this._size="medium",this._labelPosition="left",this._speed="noticeable",this._starType="svg",this._assetsPath="assets/images/",this._svgPath=this.assetsPath+"star-rating.icons.svg",this._svgEmptySymbolId="star-empty",this._svgHalfSymbolId="star-half",this._svgFilledSymbolId="star-filled",this._svgPathEmpty=this.svgPath+"#"+this.svgEmptySymbolId,this._svgPathHalf=this.svgPath+"#"+this.svgHalfSymbolId,this._svgPathFilled=this.svgPath+"#"+this.svgFilledSymbolId}get classEmpty(){return this._classEmpty}set classEmpty(Le){this._classEmpty=Le}get classHalf(){return this._classHalf}set classHalf(Le){this._classHalf=Le}get classFilled(){return this._classFilled}set classFilled(Le){this._classFilled=Le}get numOfStars(){return this._numOfStars}set numOfStars(Le){this._numOfStars=Le}get size(){return this._size}set size(Le){this._size=Le}get staticColor(){return this._staticColor}set staticColor(Le){this._staticColor=Le}get labelPosition(){return this._labelPosition}set labelPosition(Le){this._labelPosition=Le}get speed(){return this._speed}set speed(Le){this._speed=Le}get starType(){return this._starType}set starType(Le){this._starType=Le}get assetsPath(){return this._assetsPath}set assetsPath(Le){this._assetsPath=Le}get svgPath(){return this._svgPath}set svgPath(Le){this._svgPath=Le}get svgEmptySymbolId(){return this._svgEmptySymbolId}set svgEmptySymbolId(Le){this._svgEmptySymbolId=Le}get svgHalfSymbolId(){return this._svgHalfSymbolId}set svgHalfSymbolId(Le){this._svgHalfSymbolId=Le}get svgFilledSymbolId(){return this._svgFilledSymbolId}set svgFilledSymbolId(Le){this._svgFilledSymbolId=Le}get svgPathEmpty(){return this._svgPathEmpty}set svgPathEmpty(Le){this._svgPathEmpty=Le}get svgPathHalf(){return this._svgPathHalf}set svgPathHalf(Le){this._svgPathHalf=Le}get svgPathFilled(){return this._svgPathFilled}set svgPathFilled(Le){this._svgPathFilled=Le}getColor(Le,$,Ge){if(Ge)return Ge;const Rt=$/3;let ht="default";return(Le=Le||0)>0&&(ht="negative"),Le>Rt&&(ht="ok"),Le>2*Rt&&(ht="positive"),ht}getHalfStarVisible(Le){return Math.abs(Le%1)>0}}let Ke=(()=>{class Ne{constructor($){this.config=$,this.classEmpty=this.config.classEmpty,this.classHalf=this.config.classHalf,this.classFilled=this.config.classFilled,this.pathEmpty=this.config.svgPathEmpty,this.pathHalf=this.config.svgPathHalf,this.pathFilled=this.config.svgPathFilled,"getColor"in this.config&&"function"==typeof this.config.getColor&&(this.getColor=this.config.getColor),"getHalfStarVisible"in this.config&&"function"==typeof this.config.getHalfStarVisible&&(this.getHalfStarVisible=this.config.getHalfStarVisible),this.numOfStars=this.config.numOfStars,this.rating=0,this.step=1}get showHalfStars(){return this._showHalfStars}set showHalfStars($){this._showHalfStars=!!$,this.setHalfStarVisible()}get id(){return this._id}set id($){this._id=$||""}get focus(){return this._focus}set focus($){this._focus=!!$}get labelText(){return this._labelText}set labelText($){this._labelText=$}get labelPosition(){return this._labelPosition}set labelPosition($){this._labelPosition=$||this.config.labelPosition}get labelVisible(){return this._labelVisible}set labelVisible($){this._labelVisible=!!$}get hoverEnabled(){return this._hoverEnabled}set hoverEnabled($){this._hoverEnabled=void 0!==$&&!!$}get staticColor(){return this._staticColor||this.config.staticColor||void 0}set staticColor($){this._staticColor=$,this.setColor()}get direction(){return this._direction}set direction($){this._direction=$||void 0}get numOfStars(){return this._numOfStars}set numOfStars($){this._numOfStars=$>0?$:this.config.numOfStars,this.stars=X.getStarsArray(this.numOfStars),this.setColor()}get hoverRating(){return this._hoverRating}set hoverRating($){this._hoverRating=$>0?$:0}get speed(){return this._speed}set speed($){this._speed=$||this.config.speed}get size(){return this._size||this.config.size}set size($){this._size=$}get starType(){return this._starType||this.config.starType}set starType($){this._starType=$}get space(){return this._space}set space($){this._space=$}get readOnly(){return this._readOnly}set readOnly($){this._readOnly=!!$}get disabled(){return this._disabled}set disabled($){this._disabled=!!$}get step(){return this._step}set step($){this._step=$>0?$:1}get rating(){return this._rating}set rating($){this.setRating($)}setRating($){let Ge=0;$>=0&&$<=this.numOfStars&&(Ge=$),$>this.numOfStars&&(Ge=this.numOfStars),this._rating=Ge,this.ratingAsInteger=parseInt(this._rating?.toString(),10),this.setHalfStarVisible(),this.setColor()}svgVisible(){return"svg"===this.starType}interactionPossible(){return!this.readOnly&&!this.disabled}setColor($=!1){const Ge=$?this.hoverRating:this.rating;this.color="function"==typeof this.getColor?this.getColor(Ge,this.numOfStars,this.staticColor):X.getColor(Ge,this.numOfStars,this.staticColor)}setHalfStarVisible(){this.halfStarVisible=!!this.showHalfStars&&("function"==typeof this.getHalfStarVisible?this.getHalfStarVisible(this.rating):X.getHalfStarVisible(this.rating))}getComponentClassNames(){const $=[];return $.push(this.rating?"value-"+this.ratingAsInteger:"value-0"),$.push(this.halfStarVisible?"half":""),$.push(this.hoverEnabled?"hover":""),$.push(this.hoverEnabled?this.hoverRating?"hover-"+this.hoverRating:"hover-0":""),$.push(this.space?"space-"+this.space:""),$.push(this.labelPosition?"label-"+this.labelPosition:""),$.push(this.color?"color-"+this.color:""),$.push(this.starType?"star-"+this.starType:""),$.push(this.speed),$.push(this.size),$.push(this.readOnly?"read-only":""),$.push(this.disabled?"disabled":""),$.push(this.direction?"direction-"+this.direction:""),$.join(" ")}increment(){const $=Math.abs(this.rating%this.step);this.rating=this.rating+($>0?this.step-$:this.step)}decrement(){const $=Math.abs(this.rating%this.step);this.rating=this.rating-($>0?$:this.step)}reset(){this.rating=0}}return Ne.\u0275fac=function($){return new($||Ne)(o.Y36(ye))},Ne.\u0275cmp=o.Xpm({type:Ne,selectors:[["placeholder-star-rating"]],inputs:{showHalfStars:"showHalfStars",id:"id",focus:"focus",labelText:"labelText",labelPosition:"labelPosition",labelVisible:"labelVisible",hoverEnabled:"hoverEnabled",staticColor:"staticColor",direction:"direction",numOfStars:"numOfStars",hoverRating:"hoverRating",speed:"speed",size:"size",starType:"starType",space:"space",readOnly:"readOnly",disabled:"disabled",step:"step",rating:"rating"},decls:0,vars:0,template:function($,Ge){},encapsulation:2}),Ne})(),Je=(()=>{class Ne extends Ke{constructor($){super($),this.starClickChange=new o.vpe,this.ratingChange=new o.vpe,this.hoverRatingChange=new o.vpe}saveOnClick($){this.starClickChange&&this.starClickChange.emit($)}saveOnRatingChange($){this.ratingChange&&this.ratingChange.emit($)}saveOnHover($){this.hoverRatingChange&&this.hoverRatingChange.emit($)}onKeyDown($){if(!this.interactionPossible())return;const Ge={Minus:()=>this.decrement(),ArrowDown:()=>this.decrement(),ArrowLeft:()=>this.decrement(),Plus:()=>this.increment(),ArrowRight:()=>this.increment(),ArrowUp:()=>this.increment(),Backspace:()=>this.reset(),Delete:()=>this.reset(),Digit0:()=>this.reset()};(Ge[$.code]||X.isDigitKeyEventCode($.code))&&(X.isDigitKeyEventCode($.code)?(ht=>{const ie=parseInt(ht.substr(5,ht.length-1),10);this.rating=ie})($.code):Ge[$.code](),$.preventDefault(),$.stopPropagation())}onStarHover($){this.interactionPossible()&&this.hoverEnabled&&(this.hoverRating=$?parseInt($.toString(),10):0,this.setColor(!0),this.saveOnHover({hoverRating:this.hoverRating}))}onStopHover(){!this.interactionPossible()||!this.hoverEnabled||(this.hoverRating=0,this.setColor())}setRating($){const Ge=this.rating;super.setRating($),Ge!==this.rating&&this.saveOnRatingChange({rating:this.rating})}onStarClicked($){this.interactionPossible()&&(this.rating=$,this.saveOnClick({rating:this.rating}))}}return Ne.\u0275fac=function($){return new($||Ne)(o.Y36(ye))},Ne.\u0275cmp=o.Xpm({type:Ne,selectors:[["star-rating"]],inputs:{getHalfStarVisible:"getHalfStarVisible",getColor:"getColor"},outputs:{starClickChange:"starClickChange",ratingChange:"ratingChange",hoverRatingChange:"hoverRatingChange"},features:[o.qOj],decls:4,vars:6,consts:[["tabindex","0",3,"id","keydown","mouseleave"],["class","label-value",4,"ngIf"],[1,"star-container"],["class","star",3,"mouseenter","click",4,"ngFor","ngForOf"],[1,"label-value"],[1,"star",3,"mouseenter","click"],[3,"class",4,"ngIf"],["class","star-empty",4,"ngIf"],["class","star-half",4,"ngIf"],["class","star-filled",4,"ngIf"],[1,"star-empty"],[0,"xmlns","xlink","http://www.w3.org/1999/xlink"],[1,"star-half"],[1,"star-filled"]],template:function($,Ge){1&$&&(o.TgZ(0,"div",0),o.NdJ("keydown",function(ht){return Ge.onKeyDown(ht)})("mouseleave",function(){return Ge.onStopHover()}),o.YNc(1,j,2,1,"div",1),o.TgZ(2,"div",2),o.YNc(3,he,7,6,"div",3),o.qZA()()),2&$&&(o.Gre("rating ",Ge.getComponentClassNames(),""),o.s9C("id",Ge.id),o.xp6(1),o.Q6J("ngIf",Ge.labelText),o.xp6(2),o.Q6J("ngForOf",Ge.stars))},dependencies:[N.sg,N.O5],encapsulation:2}),Ne})();const re={provide:pe.JU,useExisting:(0,o.Gpc)(()=>Oe),multi:!0};let Oe=(()=>{class Ne extends Ke{constructor($){super($),this.starClickChange=new o.vpe,this.ratingChange=new o.vpe,this.hoverRatingChange=new o.vpe,this.onModelChangeRegistered=!1,this.onTouchRegistered=!1}saveOnClick($){this.starClickChange&&this.starClickChange.emit($)}saveOnRatingChange($){this.ratingChange&&this.ratingChange.emit($)}saveOnHover($){this.hoverRatingChange&&this.hoverRatingChange.emit($)}saveOnTouch(){this.onTouchRegistered&&this.onTouch()}saveOnModelChange($){this.onModelChangeRegistered&&this.onModelChange($)}onKeyDown($){if(!this.interactionPossible())return;const Ge={Minus:()=>this.decrement(),ArrowDown:()=>this.decrement(),ArrowLeft:()=>this.decrement(),Plus:()=>this.increment(),ArrowRight:()=>this.increment(),ArrowUp:()=>this.increment(),Backspace:()=>this.reset(),Delete:()=>this.reset(),Digit0:()=>this.reset()};(Ge[$.code]||X.isDigitKeyEventCode($.code))&&(X.isDigitKeyEventCode($.code)?(ht=>{const ie=parseInt(ht.substr(5,ht.length-1),10);this.rating=ie})($.code):Ge[$.code](),$.preventDefault(),$.stopPropagation()),this.saveOnTouch()}onBlur($){this.focus=!1,$.preventDefault(),$.stopPropagation(),this.saveOnTouch()}onFocus($){this.focus=!0,$.preventDefault(),$.stopPropagation(),this.saveOnTouch()}onStarHover($){this.interactionPossible()&&this.hoverEnabled&&(this.hoverRating=$?parseInt($.toString(),10):0,this.saveOnHover({hoverRating:this.hoverRating}))}writeValue($){this.rating=$}registerOnChange($){this.onModelChange=$,this.onModelChangeRegistered=!0}registerOnTouched($){this.onTouch=$,this.onTouchRegistered=!0}setRating($){const Ge=this.rating;super.setRating($),Ge!==this.rating&&(this.saveOnRatingChange({rating:this.rating}),this.saveOnModelChange(this.rating))}onStarClicked($){this.interactionPossible()&&(this.rating=$,this.saveOnClick({rating:this.rating}))}}return Ne.\u0275fac=function($){return new($||Ne)(o.Y36(ye))},Ne.\u0275cmp=o.Xpm({type:Ne,selectors:[["star-rating-control"]],outputs:{starClickChange:"starClickChange",ratingChange:"ratingChange",hoverRatingChange:"hoverRatingChange"},features:[o._Bn([re]),o.qOj],decls:4,vars:6,consts:[["tabindex","0",3,"id","keydown","blur","focus","mouseleave"],["class","label-value",4,"ngIf"],[1,"star-container"],["class","star",3,"mouseenter","click",4,"ngFor","ngForOf"],[1,"label-value"],[1,"star",3,"mouseenter","click"],[3,"class",4,"ngIf"],["class","star-empty",4,"ngIf"],["class","star-half",4,"ngIf"],["class","star-filled",4,"ngIf"],[1,"star-empty"],[0,"xmlns","xlink","http://www.w3.org/1999/xlink"],[1,"star-half"],[1,"star-filled"]],template:function($,Ge){1&$&&(o.TgZ(0,"div",0),o.NdJ("keydown",function(ht){return Ge.onKeyDown(ht)})("blur",function(ht){return Ge.onBlur(ht)})("focus",function(ht){return Ge.onFocus(ht)})("mouseleave",function(){return Ge.onStarHover(0)}),o.YNc(1,xe,2,1,"div",1),o.TgZ(2,"div",2),o.YNc(3,Vt,7,6,"div",3),o.qZA()()),2&$&&(o.Gre("rating ",Ge.getComponentClassNames(),""),o.s9C("id",Ge.id),o.xp6(1),o.Q6J("ngIf",Ge.labelText),o.xp6(2),o.Q6J("ngForOf",Ge.stars))},dependencies:[N.sg,N.O5],encapsulation:2}),Ne})(),Dt=(()=>{class Ne{static forRoot(){return{ngModule:Ne,providers:[ye]}}static forChild(){return{ngModule:Ne,providers:[]}}}return Ne.\u0275fac=function($){return new($||Ne)},Ne.\u0275mod=o.oAB({type:Ne}),Ne.\u0275inj=o.cJS({imports:[N.ez]}),Ne})()},9229:(ut,_e,A)=>{function o(Se){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Ce){return typeof Ce}:function(Ce){return Ce&&"function"==typeof Symbol&&Ce.constructor===Symbol&&Ce!==Symbol.prototype?"symbol":typeof Ce})(Se)}function j(Se,Ce,ge){return(Ce=function pe(Se){var Ce=function N(Se,Ce){if("object"!==o(Se)||null===Se)return Se;var ge=Se[Symbol.toPrimitive];if(void 0!==ge){var le=ge.call(Se,Ce||"default");if("object"!==o(le))return le;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===Ce?String:Number)(Se)}(Se,"string");return"symbol"===o(Ce)?Ce:String(Ce)}(Ce))in Se?Object.defineProperty(Se,Ce,{value:ge,enumerable:!0,configurable:!0,writable:!0}):Se[Ce]=ge,Se}A.d(_e,{FN:()=>ht,PR:()=>ke,Rh:()=>De,_W:()=>Rt});var F=A(8926),ne=A(6825),we=A(6814),Me=A(8645),Te=A(6593);const se=["toast-component",""];function he(Se,Ce){if(1&Se){const ge=F.EpF();F.TgZ(0,"button",5),F.NdJ("click",function(){F.CHM(ge);const Y=F.oxw();return F.KtG(Y.remove())}),F.TgZ(1,"span",6),F._uU(2,"\xd7"),F.qZA()()}}function xe(Se,Ce){if(1&Se&&(F.ynx(0),F._uU(1),F.BQk()),2&Se){const ge=F.oxw(2);F.xp6(1),F.hij("[",ge.duplicatesCount+1,"]")}}function Qe(Se,Ce){if(1&Se&&(F.TgZ(0,"div"),F._uU(1),F.YNc(2,xe,2,1,"ng-container",4),F.qZA()),2&Se){const ge=F.oxw();F.Tol(ge.options.titleClass),F.uIk("aria-label",ge.title),F.xp6(1),F.hij(" ",ge.title," "),F.xp6(1),F.Q6J("ngIf",ge.duplicatesCount)}}function Ee(Se,Ce){if(1&Se&&F._UZ(0,"div",7),2&Se){const ge=F.oxw();F.Tol(ge.options.messageClass),F.Q6J("innerHTML",ge.message,F.oJD)}}function Ye(Se,Ce){if(1&Se&&(F.TgZ(0,"div",8),F._uU(1),F.qZA()),2&Se){const ge=F.oxw();F.Tol(ge.options.messageClass),F.uIk("aria-label",ge.message),F.xp6(1),F.hij(" ",ge.message," ")}}function ct(Se,Ce){if(1&Se&&(F.TgZ(0,"div"),F._UZ(1,"div",9),F.qZA()),2&Se){const ge=F.oxw();F.xp6(1),F.Udp("width",ge.width+"%")}}class Je{constructor(Ce,ge){j(this,"_attachedHost",void 0),j(this,"component",void 0),j(this,"viewContainerRef",void 0),j(this,"injector",void 0),this.component=Ce,this.injector=ge}attach(Ce,ge){return this._attachedHost=Ce,Ce.attach(this,ge)}detach(){const Ce=this._attachedHost;if(Ce)return this._attachedHost=void 0,Ce.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ce){this._attachedHost=Ce}}class re{constructor(){j(this,"_attachedPortal",void 0),j(this,"_disposeFn",void 0)}attach(Ce,ge){return this._attachedPortal=Ce,this.attachComponentPortal(Ce,ge)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Ce){this._disposeFn=Ce}}class Oe{constructor(Ce){j(this,"_overlayRef",void 0),j(this,"componentInstance",void 0),j(this,"duplicatesCount",0),j(this,"_afterClosed",new Me.x),j(this,"_activate",new Me.x),j(this,"_manualClose",new Me.x),j(this,"_resetTimeout",new Me.x),j(this,"_countDuplicate",new Me.x),this._overlayRef=Ce}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(Ce,ge){Ce&&this._resetTimeout.next(),ge&&this._countDuplicate.next(++this.duplicatesCount)}}class ke{constructor(Ce,ge,le,Y,Xe,dt){j(this,"toastId",void 0),j(this,"config",void 0),j(this,"message",void 0),j(this,"title",void 0),j(this,"toastType",void 0),j(this,"toastRef",void 0),j(this,"_onTap",new Me.x),j(this,"_onAction",new Me.x),this.toastId=Ce,this.config=ge,this.message=le,this.title=Y,this.toastType=Xe,this.toastRef=dt,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(Ce){this._onAction.next(Ce)}onAction(){return this._onAction.asObservable()}}const Dt=new F.OlP("ToastConfig");class Ne extends re{constructor(Ce,ge,le){super(),j(this,"_hostDomElement",void 0),j(this,"_componentFactoryResolver",void 0),j(this,"_appRef",void 0),this._hostDomElement=Ce,this._componentFactoryResolver=ge,this._appRef=le}attachComponentPortal(Ce,ge){const le=this._componentFactoryResolver.resolveComponentFactory(Ce.component);let Y;return Y=le.create(Ce.injector),this._appRef.attachView(Y.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Y.hostView),Y.destroy()}),ge?this._hostDomElement.insertBefore(this._getComponentRootNode(Y),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(Y)),Y}_getComponentRootNode(Ce){return Ce.hostView.rootNodes[0]}}let Le=(()=>{var Se;class Ce{constructor(){j(this,"_document",(0,F.f3M)(we.K0)),j(this,"_containerElement",void 0)}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const le=this._document.createElement("div");le.classList.add("overlay-container"),le.setAttribute("aria-live","polite"),this._document.body.appendChild(le),this._containerElement=le}}return Se=Ce,j(Ce,"\u0275fac",function(le){return new(le||Se)}),j(Ce,"\u0275prov",F.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"})),Ce})();class ${constructor(Ce){j(this,"_portalHost",void 0),this._portalHost=Ce}attach(Ce,ge=!0){return this._portalHost.attach(Ce,ge)}detach(){return this._portalHost.detach()}}let Ge=(()=>{var Se;class Ce{constructor(){j(this,"_overlayContainer",(0,F.f3M)(Le)),j(this,"_componentFactoryResolver",(0,F.f3M)(F._Vd)),j(this,"_appRef",(0,F.f3M)(F.z2F)),j(this,"_document",(0,F.f3M)(we.K0)),j(this,"_paneElements",new Map)}create(le,Y){return this._createOverlayRef(this.getPaneElement(le,Y))}getPaneElement(le="",Y){return this._paneElements.get(Y)||this._paneElements.set(Y,{}),this._paneElements.get(Y)[le]||(this._paneElements.get(Y)[le]=this._createPaneElement(le,Y)),this._paneElements.get(Y)[le]}_createPaneElement(le,Y){const Xe=this._document.createElement("div");return Xe.id="toast-container",Xe.classList.add(le),Xe.classList.add("toast-container"),Y?Y.getContainerElement().appendChild(Xe):this._overlayContainer.getContainerElement().appendChild(Xe),Xe}_createPortalHost(le){return new Ne(le,this._componentFactoryResolver,this._appRef)}_createOverlayRef(le){return new $(this._createPortalHost(le))}}return Se=Ce,j(Ce,"\u0275fac",function(le){return new(le||Se)}),j(Ce,"\u0275prov",F.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"})),Ce})(),Rt=(()=>{var Se;class Ce{constructor(le,Y,Xe,dt,hn){j(this,"overlay",void 0),j(this,"_injector",void 0),j(this,"sanitizer",void 0),j(this,"ngZone",void 0),j(this,"toastrConfig",void 0),j(this,"currentlyActive",0),j(this,"toasts",[]),j(this,"overlayContainer",void 0),j(this,"previousToastMessage",void 0),j(this,"index",0),this.overlay=Y,this._injector=Xe,this.sanitizer=dt,this.ngZone=hn,this.toastrConfig={...le.default,...le.config},le.config.iconClasses&&(this.toastrConfig.iconClasses={...le.default.iconClasses,...le.config.iconClasses})}show(le,Y,Xe={},dt=""){return this._preBuildNotification(dt,le,Y,this.applyConfig(Xe))}success(le,Y,Xe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",le,Y,this.applyConfig(Xe))}error(le,Y,Xe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",le,Y,this.applyConfig(Xe))}info(le,Y,Xe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",le,Y,this.applyConfig(Xe))}warning(le,Y,Xe={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",le,Y,this.applyConfig(Xe))}clear(le){for(const Y of this.toasts)if(void 0!==le){if(Y.toastId===le)return void Y.toastRef.manualClose()}else Y.toastRef.manualClose()}remove(le){const Y=this._findToast(le);if(!Y||(Y.activeToast.toastRef.close(),this.toasts.splice(Y.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const Xe=this.toasts[this.currentlyActive].toastRef;Xe.isInactive()||(this.currentlyActive=this.currentlyActive+1,Xe.activate())}return!0}findDuplicate(le="",Y="",Xe,dt){const{includeTitleDuplicates:hn}=this.toastrConfig;for(const ft of this.toasts)if((!hn||hn&&ft.title===le)&&ft.message===Y)return ft.toastRef.onDuplicate(Xe,dt),ft;return null}applyConfig(le={}){return{...this.toastrConfig,...le}}_findToast(le){for(let Y=0;Y<this.toasts.length;Y++)if(this.toasts[Y].toastId===le)return{index:Y,activeToast:this.toasts[Y]};return null}_preBuildNotification(le,Y,Xe,dt){return dt.onActivateTick?this.ngZone.run(()=>this._buildNotification(le,Y,Xe,dt)):this._buildNotification(le,Y,Xe,dt)}_buildNotification(le,Y,Xe,dt){if(!dt.toastComponent)throw new Error("toastComponent required");const hn=this.findDuplicate(Xe,Y,this.toastrConfig.resetTimeoutOnDuplicate&&dt.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Xe||Y)&&this.toastrConfig.preventDuplicates&&null!==hn)return hn;this.previousToastMessage=Y;let ft=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(ft=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const On=this.overlay.create(dt.positionClass,this.overlayContainer);this.index=this.index+1;let Dn=Y;Y&&dt.enableHtml&&(Dn=this.sanitizer.sanitize(F.q3G.HTML,Y));const cn=new Oe(On),ot=new ke(this.index,dt,Dn,Xe,le,cn),Wn=F.zs3.create({providers:[{provide:ke,useValue:ot}],parent:this._injector}),bn=new Je(dt.toastComponent,Wn),pn=On.attach(bn,dt.newestOnTop);cn.componentInstance=pn.instance;const Ot={toastId:this.index,title:Xe||"",message:Y||"",toastRef:cn,onShown:cn.afterActivate(),onHidden:cn.afterClosed(),onTap:ot.onTap(),onAction:ot.onAction(),portal:pn};return ft||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Ot.toastRef.activate()})),this.toasts.push(Ot),Ot}}return Se=Ce,j(Ce,"\u0275fac",function(le){return new(le||Se)(F.LFG(Dt),F.LFG(Ge),F.LFG(F.zs3),F.LFG(Te.H7),F.LFG(F.R0b))}),j(Ce,"\u0275prov",F.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"})),Ce})(),ht=(()=>{var Se;class Ce{get displayStyle(){if("inactive"===this.state.value)return"none"}constructor(le,Y,Xe){j(this,"toastrService",void 0),j(this,"toastPackage",void 0),j(this,"ngZone",void 0),j(this,"message",void 0),j(this,"title",void 0),j(this,"options",void 0),j(this,"duplicatesCount",void 0),j(this,"originalTimeout",void 0),j(this,"width",-1),j(this,"toastClasses",""),j(this,"state",void 0),j(this,"timeout",void 0),j(this,"intervalId",void 0),j(this,"hideTime",void 0),j(this,"sub",void 0),j(this,"sub1",void 0),j(this,"sub2",void 0),j(this,"sub3",void 0),this.toastrService=le,this.toastPackage=Y,this.ngZone=Xe,this.message=Y.message,this.title=Y.title,this.options=Y.config,this.originalTimeout=Y.config.timeOut,this.toastClasses=`${Y.toastType} ${Y.config.toastClass}`,this.sub=Y.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Y.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Y.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Y.toastRef.countDuplicate().subscribe(dt=>{this.duplicatesCount=dt}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const le=(new Date).getTime();this.width=(this.hideTime-le)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(le,Y){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(le),Y)):this.timeout=setTimeout(()=>le(),Y)}outsideInterval(le,Y){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(le),Y)):this.intervalId=setInterval(()=>le(),Y)}runInsideAngular(le){this.ngZone?this.ngZone.run(()=>le()):le()}}return Se=Ce,j(Ce,"\u0275fac",function(le){return new(le||Se)(F.Y36(Rt),F.Y36(ke),F.Y36(F.R0b))}),j(Ce,"\u0275cmp",F.Xpm({type:Se,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(le,Y){1&le&&F.NdJ("click",function(){return Y.tapToast()})("mouseenter",function(){return Y.stickAround()})("mouseleave",function(){return Y.delayedHideToast()}),2&le&&(F.d8E("@flyInOut",Y.state),F.Tol(Y.toastClasses),F.Udp("display",Y.displayStyle))},standalone:!0,features:[F.jDz],attrs:se,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(le,Y){1&le&&(F.YNc(0,he,3,0,"button",0),F.YNc(1,Qe,3,5,"div",1),F.YNc(2,Ee,1,3,"div",2),F.YNc(3,Ye,2,4,"div",3),F.YNc(4,ct,2,2,"div",4)),2&le&&(F.Q6J("ngIf",Y.options.closeButton),F.xp6(1),F.Q6J("ngIf",Y.title),F.xp6(1),F.Q6J("ngIf",Y.message&&Y.options.enableHtml),F.xp6(1),F.Q6J("ngIf",Y.message&&!Y.options.enableHtml),F.xp6(1),F.Q6J("ngIf",Y.options.progressBar))},dependencies:[we.O5],encapsulation:2,data:{animation:[(0,ne.X$)("flyInOut",[(0,ne.SB)("inactive",(0,ne.oB)({opacity:0})),(0,ne.SB)("active",(0,ne.oB)({opacity:1})),(0,ne.SB)("removed",(0,ne.oB)({opacity:0})),(0,ne.eR)("inactive => active",(0,ne.jt)("{{ easeTime }}ms {{ easing }}")),(0,ne.eR)("active => removed",(0,ne.jt)("{{ easeTime }}ms {{ easing }}"))])]}})),Ce})();const te={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:ht},ie=(Se={})=>(0,F.MR2)([{provide:Dt,useValue:{default:te,config:Se}}]);let De=(()=>{var Se;class Ce{static forRoot(le={}){return{ngModule:Ce,providers:[ie(le)]}}}return Se=Ce,j(Ce,"\u0275fac",function(le){return new(le||Se)}),j(Ce,"\u0275mod",F.oAB({type:Se})),j(Ce,"\u0275inj",F.cJS({})),Ce})()},7582:(ut,_e,A)=>{function xe(te,ie,De,me){return new(De||(De=Promise))(function(Re,pt){function Se(le){try{ge(me.next(le))}catch(Y){pt(Y)}}function Ce(le){try{ge(me.throw(le))}catch(Y){pt(Y)}}function ge(le){le.done?Re(le.value):function Ve(Re){return Re instanceof De?Re:new De(function(pt){pt(Re)})}(le.value).then(Se,Ce)}ge((me=me.apply(te,ie||[])).next())})}function X(te){return this instanceof X?(this.v=te,this):new X(te)}function ye(te,ie,De){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ve,me=De.apply(te,ie||[]),Re=[];return Ve={},pt("next"),pt("throw"),pt("return"),Ve[Symbol.asyncIterator]=function(){return this},Ve;function pt(Xe){me[Xe]&&(Ve[Xe]=function(dt){return new Promise(function(hn,ft){Re.push([Xe,dt,hn,ft])>1||Se(Xe,dt)})})}function Se(Xe,dt){try{!function Ce(Xe){Xe.value instanceof X?Promise.resolve(Xe.value.v).then(ge,le):Y(Re[0][2],Xe)}(me[Xe](dt))}catch(hn){Y(Re[0][3],hn)}}function ge(Xe){Se("next",Xe)}function le(Xe){Se("throw",Xe)}function Y(Xe,dt){Xe(dt),Re.shift(),Re.length&&Se(Re[0][0],Re[0][1])}}function Je(te){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var De,ie=te[Symbol.asyncIterator];return ie?ie.call(te):(te=function ct(te){var ie="function"==typeof Symbol&&Symbol.iterator,De=ie&&te[ie],me=0;if(De)return De.call(te);if(te&&"number"==typeof te.length)return{next:function(){return te&&me>=te.length&&(te=void 0),{value:te&&te[me++],done:!te}}};throw new TypeError(ie?"Object is not iterable.":"Symbol.iterator is not defined.")}(te),De={},me("next"),me("throw"),me("return"),De[Symbol.asyncIterator]=function(){return this},De);function me(Re){De[Re]=te[Re]&&function(pt){return new Promise(function(Se,Ce){!function Ve(Re,pt,Se,Ce){Promise.resolve(Ce).then(function(ge){Re({value:ge,done:Se})},pt)}(Se,Ce,(pt=te[Re](pt)).done,pt.value)})}}}A.d(_e,{FC:()=>ye,KL:()=>Je,mG:()=>xe,qq:()=>X}),"function"==typeof SuppressedError&&SuppressedError}},ut=>{ut(ut.s=469)}]);