PageSourceSearch

https://esa.ntpc.edu.tw/module/elec-bulletin/main.e53e086472095245.js

js ntpc.edu.tw collected 2026-09-24 08:59:30 UTC 400,735 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp_elec_bulletin=self.webpackChunkapp_elec_bulletin||[]).push([[179],{5861:(ke,ue,M)=>{var v=M(1481),I=M(4650),J=M(7340);function te(b){return new I.vHH(3e3,!1)}function Yn(){return typeof window<"u"&&typeof window.document<"u"}function Gt(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Xt(b){switch(b.length){case 0:return new J.ZN;case 1:return b[0];default:return new J.ZE(b)}}function Di(b,o,a,f,S=new Map,N=new Map){const W=[],j=[];let ne=-1,fe=null;if(f.forEach(Pe=>{const $e=Pe.get("offset"),ht=$e==ne,mt=ht&&fe||new Map;Pe.forEach((tt,lt)=>{let $t=lt,Zt=tt;if("offset"!==lt)switch($t=o.normalizePropertyName($t,W),Zt){case J.k1:Zt=S.get(lt);break;case J.l3:Zt=N.get(lt);break;default:Zt=o.normalizeStyleValue(lt,$t,Zt,W)}mt.set($t,Zt)}),ht||j.push(mt),fe=mt,ne=$e}),W.length)throw function st(b){return new I.vHH(3502,!1)}();return j}function pr(b,o,a,f){switch(o){case"start":b.onStart(()=>f(a&&cn(a,"start",b)));break;case"done":b.onDone(()=>f(a&&cn(a,"done",b)));break;case"destroy":b.onDestroy(()=>f(a&&cn(a,"destroy",b)))}}function cn(b,o,a){const N=Qn(b.element,b.triggerName,b.fromState,b.toState,o||b.phaseName,a.totalTime??b.totalTime,!!a.disabled),W=b._data;return null!=W&&(N._data=W),N}function Qn(b,o,a,f,S="",N=0,W){return{element:b,triggerName:o,fromState:a,toState:f,phaseName:S,totalTime:N,disabled:!!W}}function en(b,o,a){let f=b.get(o);return f||b.set(o,f=a),f}function Rn(b){const o=b.indexOf(":");return[b.substring(1,o),b.slice(o+1)]}let qn=(b,o)=>!1,qt=(b,o,a)=>[],Cn=null;function ze(b){const o=b.parentNode||b.host;return o===Cn?null:o}(Gt()||typeof Element<"u")&&(Yn()?(Cn=(()=>document.documentElement)(),qn=(b,o)=>{for(;o;){if(o===b)return!0;o=ze(o)}return!1}):qn=(b,o)=>b.contains(o),qt=(b,o,a)=>{if(a)return Array.from(b.querySelectorAll(o));const f=b.querySelector(o);return f?[f]:[]});let bt=null,an=!1;const Z=qn,H=qt;let ye=(()=>{class b{validateStyleProperty(a){return function Ei(b){bt||(bt=function ve(){return typeof document<"u"?document.body:null}()||{},an=!!bt.style&&"WebkitAppearance"in bt.style);let o=!0;return bt.style&&!function Pr(b){return"ebkit"==b.substring(1,6)}(b)&&(o=b in bt.style,!o&&an&&(o="Webkit"+b.charAt(0).toUpperCase()+b.slice(1)in bt.style)),o}(a)}matchesElement(a,f){return!1}containsElement(a,f){return Z(a,f)}getParentElement(a){return ze(a)}query(a,f,S){return H(a,f,S)}computeStyle(a,f,S){return S||""}animate(a,f,S,N,W,j=[],ne){return new J.ZN(S,N)}}return b.\u0275fac=function(a){return new(a||b)},b.\u0275prov=I.Yz7({token:b,factory:b.\u0275fac}),b})(),Re=(()=>{class b{}return b.NOOP=new ye,b})();const Bt="ng-enter",St="ng-leave",dn="ng-trigger",ct=".ng-trigger",_t="ng-animating",Dt=".ng-animating";function Tt(b){if("number"==typeof b)return b;const o=b.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:Lt(parseFloat(o[1]),o[2])}function Lt(b,o){return"s"===o?1e3*b:b}function sn(b,o,a){return b.hasOwnProperty("duration")?b:function Zn(b,o,a){let S,N=0,W="";if("string"==typeof b){const j=b.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===j)return o.push(te()),{duration:0,delay:0,easing:""};S=Lt(parseFloat(j[1]),j[2]);const ne=j[3];null!=ne&&(N=Lt(parseFloat(ne),j[4]));const fe=j[5];fe&&(W=fe)}else S=b;if(!a){let j=!1,ne=o.length;S<0&&(o.push(function L(){return new I.vHH(3100,!1)}()),j=!0),N<0&&(o.push(function X(){return new I.vHH(3101,!1)}()),j=!0),j&&o.splice(ne,0,te())}return{duration:S,delay:N,easing:W}}(b,o,a)}function vn(b,o={}){return Object.keys(b).forEach(a=>{o[a]=b[a]}),o}function ln(b){const o=new Map;return Object.keys(b).forEach(a=>{o.set(a,b[a])}),o}function Pn(b,o=new Map,a){if(a)for(let[f,S]of a)o.set(f,S);for(let[f,S]of b)o.set(f,S);return o}function Nr(b,o,a){return a?o+":"+a+";":""}function Mt(b){let o="";for(let a=0;a<b.style.length;a++){const f=b.style.item(a);o+=Nr(0,f,b.style.getPropertyValue(f))}for(const a in b.style)b.style.hasOwnProperty(a)&&!a.startsWith("_")&&(o+=Nr(0,_(a),b.style[a]));b.setAttribute("style",o)}
1function Vt(b,o,a){b.style&&(o.forEach((f,S)=>{const N=E(S);a&&!a.has(S)&&a.set(S,b.style[N]),b.style[N]=f}),Gt()&&Mt(b))}function Kt(b,o){b.style&&(o.forEach((a,f)=>{const S=E(f);b.style[S]=""}),Gt()&&Mt(b))}function Mn(b){return Array.isArray(b)?1==b.length?b[0]:(0,J.vP)(b):b}const _n=new RegExp("{{\\s*(.+?)\\s*}}","g");function G(b){let o=[];if("string"==typeof b){let a;for(;a=_n.exec(b);)o.push(a[1]);_n.lastIndex=0}return o}function V(b,o,a){const f=b.toString(),S=f.replace(_n,(N,W)=>{let j=o[W];return null==j&&(a.push(function re(b){return new I.vHH(3003,!1)}()),j=""),j.toString()});return S==f?b:S}function F(b){const o=[];let a=b.next();for(;!a.done;)o.push(a.value),a=b.next();return o}const w=/-+([a-z0-9])/g;function E(b){return b.replace(w,(...o)=>o[1].toUpperCase())}function _(b){return b.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function $(b,o,a){switch(o.type){case 7:return b.visitTrigger(o,a);case 0:return b.visitState(o,a);case 1:return b.visitTransition(o,a);case 2:return b.visitSequence(o,a);case 3:return b.visitGroup(o,a);case 4:return b.visitAnimate(o,a);case 5:return b.visitKeyframes(o,a);case 6:return b.visitStyle(o,a);case 8:return b.visitReference(o,a);case 9:return b.visitAnimateChild(o,a);case 10:return b.visitAnimateRef(o,a);case 11:return b.visitQuery(o,a);case 12:return b.visitStagger(o,a);default:throw function Y(b){return new I.vHH(3004,!1)}()}}function me(b,o){return window.getComputedStyle(b)[o]}function bn(b,o){const a=[];return"string"==typeof b?b.split(/\s*,\s*/).forEach(f=>function ri(b,o,a){if(":"==b[0]){const ne=function wi(b,o){switch(b){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(a,f)=>parseFloat(f)>parseFloat(a);case":decrement":return(a,f)=>parseFloat(f)<parseFloat(a);default:return o.push(function Fe(b){return new I.vHH(3016,!1)}()),"* => *"}}(b,a);if("function"==typeof ne)return void o.push(ne);b=ne}const f=b.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==f||f.length<4)return a.push(function pt(b){return new I.vHH(3015,!1)}()),o;const S=f[1],N=f[2],W=f[3];o.push(ii(S,W));"<"==N[0]&&!("*"==S&&"*"==W)&&o.push(ii(W,S))}(f,a,o)):a.push(b),a}const xt=new Set(["true","1"]),Ci=new Set(["false","0"]);function ii(b,o){const a=xt.has(b)||Ci.has(b),f=xt.has(o)||Ci.has(o);return(S,N)=>{let W="*"==b||b==S,j="*"==o||o==N;return!W&&a&&"boolean"==typeof S&&(W=S?xt.has(b):Ci.has(b)),!j&&f&&"boolean"==typeof N&&(j=N?xt.has(o):Ci.has(o)),W&&j}}const bi=new RegExp("s*:selfs*,?","g");function mr(b,o,a,f){return new nr(b).build(o,a,f)}class nr{constructor(o){this._driver=o}build(o,a,f){const S=new Sn(a);return this._resetContextStyleTimingState(S),$(this,Mn(o),S)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles=new Map,o.collectedStyles.set("",new Map),o.currentTime=0}visitTrigger(o,a){let f=a.queryCount=0,S=a.depCount=0;const N=[],W=[];return"@"==o.name.charAt(0)&&a.errors.push(function q(){return new I.vHH(3006,!1)}()),o.definitions.forEach(j=>{if(this._resetContextStyleTimingState(a),0==j.type){const ne=j,fe=ne.name;fe.toString().split(/\s*,\s*/).forEach(Pe=>{ne.name=Pe,N.push(this.visitState(ne,a))}),ne.name=fe}else if(1==j.type){const ne=this.visitTransition(j,a);f+=ne.queryCount,S+=ne.depCount,W.push(ne)}else a.errors.push(function ce(){return new I.vHH(3007,!1)}())}),{type:7,name:o.name,states:N,transitions:W,queryCount:f,depCount:S,options:null}}visitState(o,a){const f=this.visitStyle(o.styles,a),S=o.options&&o.options.params||null;if(f.containsDynamicStyles){const N=new Set,W=S||{};f.styles.forEach(j=>{j instanceof Map&&j.forEach(ne=>{G(ne).forEach(fe=>{W.hasOwnProperty(fe)||N.add(fe)})})}),N.size&&(F(N.values()),a.errors.push(function Me(b,o){return new I.vHH(3008,!1)}()))}return{type:0,name:o.name,style:f,options:S?{params:S}:null}}visitTransition(o,a){a.queryCount=0,a.depCount=0;const f=$(this,Mn(o.animation),a);return{type:1,matchers:bn(o.expr,a.errors),animation:f,queryCount:a.queryCount,depCount:a.depCount,options:rr(o.options)}}visitSequence(o,a){return{type:2,steps:o.steps.map(f=>$(this,f,a)),options:rr(o.options)}}visitGroup(o,a){const f=a.currentTime;let S=0;const N=o.steps.map(W=>{a.currentTime=f;const j=$(this,W,a);return S=Math.max(S,a.currentTime),j});return a.currentTime=S,{type:3,steps:N,options:rr(o.options)}}visitAnimate(o,a){const f=function si(b,o){if(b.hasOwnProperty("duration"))return b;if("number"==typeof b)return Vr(sn(b,o).duration,0,"");const a=b;if(a.split(/\s+/).some(N=>"{"==N.charAt(0)&&"{"==N.charAt(1))){const N=Vr(0,0,"");return N.dynamic=!0,N.strValue=a,N}const S=sn(a,o);return Vr(S.duration,S.delay,S.easing)}(o.timings,a.errors);a.currentAnimateTimings=f;let S,N=o.styles?o.styles:(0,J.oB)({});if(5==N.type)S=this.visitKeyframes(N,a);else{let W=o.styles,j=!1;if(!W){j=!0;const fe={};f.easing&&(fe.easing=f.easing),W=(0,J.oB)(fe)}a.currentTime+=f.duration+f.delay;const ne=this.visitStyle(W,a);ne.isEmptyStep=j,S=ne}return a.currentAnimateTimings=null,{type:4,timings:f,style:S,options:null}}visitStyle(o,a){const f=this._makeStyleAst(o,a);
1return this._validateStyleAst(f,a),f}_makeStyleAst(o,a){const f=[],S=Array.isArray(o.styles)?o.styles:[o.styles];for(let j of S)"string"==typeof j?j===J.l3?f.push(j):a.errors.push(new I.vHH(3002,!1)):f.push(ln(j));let N=!1,W=null;return f.forEach(j=>{if(j instanceof Map&&(j.has("easing")&&(W=j.get("easing"),j.delete("easing")),!N))for(let ne of j.values())if(ne.toString().indexOf("{{")>=0){N=!0;break}}),{type:6,styles:f,easing:W,offset:o.offset,containsDynamicStyles:N,options:null}}_validateStyleAst(o,a){const f=a.currentAnimateTimings;let S=a.currentTime,N=a.currentTime;f&&N>0&&(N-=f.duration+f.delay),o.styles.forEach(W=>{"string"!=typeof W&&W.forEach((j,ne)=>{const fe=a.collectedStyles.get(a.currentQuerySelector),Pe=fe.get(ne);let $e=!0;Pe&&(N!=S&&N>=Pe.startTime&&S<=Pe.endTime&&(a.errors.push(function ae(b,o,a,f,S){return new I.vHH(3010,!1)}()),$e=!1),N=Pe.startTime),$e&&fe.set(ne,{startTime:N,endTime:S}),a.options&&function hn(b,o,a){const f=o.params||{},S=G(b);S.length&&S.forEach(N=>{f.hasOwnProperty(N)||a.push(function U(b){return new I.vHH(3001,!1)}())})}(j,a.options,a.errors)})})}visitKeyframes(o,a){const f={type:5,styles:[],options:null};if(!a.currentAnimateTimings)return a.errors.push(function Ie(){return new I.vHH(3011,!1)}()),f;let N=0;const W=[];let j=!1,ne=!1,fe=0;const Pe=o.steps.map(Zt=>{const Dn=this._makeStyleAst(Zt,a);let Fn=null!=Dn.offset?Dn.offset:function Hn(b){if("string"==typeof b)return null;let o=null;if(Array.isArray(b))b.forEach(a=>{if(a instanceof Map&&a.has("offset")){const f=a;o=parseFloat(f.get("offset")),f.delete("offset")}});else if(b instanceof Map&&b.has("offset")){const a=b;o=parseFloat(a.get("offset")),a.delete("offset")}return o}(Dn.styles),En=0;return null!=Fn&&(N++,En=Dn.offset=Fn),ne=ne||En<0||En>1,j=j||En<fe,fe=En,W.push(En),Dn});ne&&a.errors.push(function it(){return new I.vHH(3012,!1)}()),j&&a.errors.push(function vt(){return new I.vHH(3200,!1)}());const $e=o.steps.length;let ht=0;N>0&&N<$e?a.errors.push(function xe(){return new I.vHH(3202,!1)}()):0==N&&(ht=1/($e-1));const mt=$e-1,tt=a.currentTime,lt=a.currentAnimateTimings,$t=lt.duration;return Pe.forEach((Zt,Dn)=>{const Fn=ht>0?Dn==mt?1:ht*Dn:W[Dn],En=Fn*$t;a.currentTime=tt+lt.delay+En,lt.duration=En,this._validateStyleAst(Zt,a),Zt.offset=Fn,f.styles.push(Zt)}),f}visitReference(o,a){return{type:8,animation:$(this,Mn(o.animation),a),options:rr(o.options)}}visitAnimateChild(o,a){return a.depCount++,{type:9,options:rr(o.options)}}visitAnimateRef(o,a){return{type:10,animation:this.visitReference(o.animation,a),options:rr(o.options)}}visitQuery(o,a){const f=a.currentQuerySelector,S=o.options||{};a.queryCount++,a.currentQuery=o;const[N,W]=function Jt(b){const o=!!b.split(/\s*,\s*/).find(a=>":self"==a);return o&&(b=b.replace(bi,"")),b=b.replace(/@\*/g,ct).replace(/@\w+/g,a=>ct+"-"+a.slice(1)).replace(/:animating/g,Dt),[b,o]}(o.selector);a.currentQuerySelector=f.length?f+" "+N:N,en(a.collectedStyles,a.currentQuerySelector,new Map);const j=$(this,Mn(o.animation),a);return a.currentQuery=null,a.currentQuerySelector=f,{type:11,selector:N,limit:S.limit||0,optional:!!S.optional,includeSelf:W,animation:j,originalSelector:o.selector,options:rr(o.options)}}visitStagger(o,a){a.currentQuery||a.errors.push(function Ee(){return new I.vHH(3013,!1)}());const f="full"===o.timings?{duration:0,delay:0,easing:"full"}:sn(o.timings,a.errors,!0);return{type:12,animation:$(this,Mn(o.animation),a),timings:f,options:null}}}class Sn{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function rr(b){return b?(b=vn(b)).params&&(b.params=function Si(b){return b?vn(b):null}(b.params)):b={},b}function Vr(b,o,a){return{duration:b,delay:o,easing:a}}function Gn(b,o,a,f,S,N,W=null,j=!1){return{type:1,element:b,keyframes:o,preStyleProps:a,postStyleProps:f,duration:S,delay:N,totalTime:S+N,easing:W,subTimeline:j}}class oi{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,a){let f=this._map.get(o);f||this._map.set(o,f=[]),f.push(...a)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const ds=new RegExp(":enter","g"),ir=new RegExp(":leave","g");function Ki(b,o,a,f,S,N=new Map,W=new Map,j,ne,fe=[]){return(new oo).buildKeyframes(b,o,a,f,S,N,W,j,ne,fe)}class oo{buildKeyframes(o,a,f,S,N,W,j,ne,fe,Pe=[]){fe=fe||new oi;const $e=new Mi(o,a,fe,S,N,Pe,[]);$e.options=ne;const ht=ne.delay?Tt(ne.delay):0;$e.currentTimeline.delayNextStep(ht),$e.currentTimeline.setStyles([W],null,$e.errors,ne),$(this,f,$e);const mt=$e.timelines.filter(tt=>tt.containsAnimation());if(mt.length&&j.size){let tt;for(let lt=mt.length-1;lt>=0;lt--){const $t=mt[lt];if($t.element===a){tt=$t;break}}tt&&!tt.allowOnlyTimelineStyles()&&tt.setStyles([j],null,$e.errors,ne)}return mt.length?mt.map(tt=>tt.buildKeyframes()):[Gn(a,[],[],[],0,ht,"",!1)]}visitTrigger(o,a){}visitState(o,a){}visitTransition(o,a){}
1visitAnimateChild(o,a){const f=a.subInstructions.get(a.element);if(f){const S=a.createSubContext(o.options),N=a.currentTimeline.currentTime,W=this._visitSubInstructions(f,S,S.options);N!=W&&a.transformIntoNewTimeline(W)}a.previousNode=o}visitAnimateRef(o,a){const f=a.createSubContext(o.options);f.transformIntoNewTimeline(),this._applyAnimationRefDelays([o.options,o.animation.options],a,f),this.visitReference(o.animation,f),a.transformIntoNewTimeline(f.currentTimeline.currentTime),a.previousNode=o}_applyAnimationRefDelays(o,a,f){for(const S of o){const N=S?.delay;if(N){const W="number"==typeof N?N:Tt(V(N,S?.params??{},a.errors));f.delayNextStep(W)}}}_visitSubInstructions(o,a,f){let N=a.currentTimeline.currentTime;const W=null!=f.duration?Tt(f.duration):null,j=null!=f.delay?Tt(f.delay):null;return 0!==W&&o.forEach(ne=>{const fe=a.appendInstructionToTimeline(ne,W,j);N=Math.max(N,fe.duration+fe.delay)}),N}visitReference(o,a){a.updateOptions(o.options,!0),$(this,o.animation,a),a.previousNode=o}visitSequence(o,a){const f=a.subContextCount;let S=a;const N=o.options;if(N&&(N.params||N.delay)&&(S=a.createSubContext(N),S.transformIntoNewTimeline(),null!=N.delay)){6==S.previousNode.type&&(S.currentTimeline.snapshotCurrentStyles(),S.previousNode=Ti);const W=Tt(N.delay);S.delayNextStep(W)}o.steps.length&&(o.steps.forEach(W=>$(this,W,S)),S.currentTimeline.applyStylesToKeyframe(),S.subContextCount>f&&S.transformIntoNewTimeline()),a.previousNode=o}visitGroup(o,a){const f=[];let S=a.currentTimeline.currentTime;const N=o.options&&o.options.delay?Tt(o.options.delay):0;o.steps.forEach(W=>{const j=a.createSubContext(o.options);N&&j.delayNextStep(N),$(this,W,j),S=Math.max(S,j.currentTimeline.currentTime),f.push(j.currentTimeline)}),f.forEach(W=>a.currentTimeline.mergeTimelineCollectedStyles(W)),a.transformIntoNewTimeline(S),a.previousNode=o}_visitTiming(o,a){if(o.dynamic){const f=o.strValue;return sn(a.params?V(f,a.params,a.errors):f,a.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,a){const f=a.currentAnimateTimings=this._visitTiming(o.timings,a),S=a.currentTimeline;f.delay&&(a.incrementTime(f.delay),S.snapshotCurrentStyles());const N=o.style;5==N.type?this.visitKeyframes(N,a):(a.incrementTime(f.duration),this.visitStyle(N,a),S.applyStylesToKeyframe()),a.currentAnimateTimings=null,a.previousNode=o}visitStyle(o,a){const f=a.currentTimeline,S=a.currentAnimateTimings;!S&&f.hasCurrentStyleProperties()&&f.forwardFrame();const N=S&&S.easing||o.easing;o.isEmptyStep?f.applyEmptyStep(N):f.setStyles(o.styles,N,a.errors,a.options),a.previousNode=o}visitKeyframes(o,a){const f=a.currentAnimateTimings,S=a.currentTimeline.duration,N=f.duration,j=a.createSubContext().currentTimeline;j.easing=f.easing,o.styles.forEach(ne=>{j.forwardTime((ne.offset||0)*N),j.setStyles(ne.styles,ne.easing,a.errors,a.options),j.applyStylesToKeyframe()}),a.currentTimeline.mergeTimelineCollectedStyles(j),a.transformIntoNewTimeline(S+N),a.previousNode=o}visitQuery(o,a){const f=a.currentTimeline.currentTime,S=o.options||{},N=S.delay?Tt(S.delay):0;N&&(6===a.previousNode.type||0==f&&a.currentTimeline.hasCurrentStyleProperties())&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=Ti);let W=f;const j=a.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!S.optional,a.errors);a.currentQueryTotal=j.length;let ne=null;
1j.forEach((fe,Pe)=>{a.currentQueryIndex=Pe;const $e=a.createSubContext(o.options,fe);N&&$e.delayNextStep(N),fe===a.element&&(ne=$e.currentTimeline),$(this,o.animation,$e),$e.currentTimeline.applyStylesToKeyframe(),W=Math.max(W,$e.currentTimeline.currentTime)}),a.currentQueryIndex=0,a.currentQueryTotal=0,a.transformIntoNewTimeline(W),ne&&(a.currentTimeline.mergeTimelineCollectedStyles(ne),a.currentTimeline.snapshotCurrentStyles()),a.previousNode=o}visitStagger(o,a){const f=a.parentContext,S=a.currentTimeline,N=o.timings,W=Math.abs(N.duration),j=W*(a.currentQueryTotal-1);let ne=W*a.currentQueryIndex;switch(N.duration<0?"reverse":N.easing){case"reverse":ne=j-ne;break;case"full":ne=f.currentStaggerTime}const Pe=a.currentTimeline;ne&&Pe.delayNextStep(ne);const $e=Pe.currentTime;$(this,o.animation,a),a.previousNode=o,f.currentStaggerTime=S.currentTime-$e+(S.startTime-f.currentTimeline.startTime)}}const Ti={};class Mi{constructor(o,a,f,S,N,W,j,ne){this._driver=o,this.element=a,this.subInstructions=f,this._enterClassName=S,this._leaveClassName=N,this.errors=W,this.timelines=j,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ti,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ne||new zr(this._driver,a,0),j.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,a){if(!o)return;const f=o;let S=this.options;null!=f.duration&&(S.duration=Tt(f.duration)),null!=f.delay&&(S.delay=Tt(f.delay));const N=f.params;if(N){let W=S.params;W||(W=this.options.params={}),Object.keys(N).forEach(j=>{(!a||!W.hasOwnProperty(j))&&(W[j]=V(N[j],W,this.errors))})}}_copyOptions(){const o={};if(this.options){const a=this.options.params;if(a){const f=o.params={};Object.keys(a).forEach(S=>{f[S]=a[S]})}}return o}createSubContext(o=null,a,f){const S=a||this.element,N=new Mi(this._driver,S,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(S,f||0));return N.previousNode=this.previousNode,N.currentAnimateTimings=this.currentAnimateTimings,N.options=this._copyOptions(),N.updateOptions(o),N.currentQueryIndex=this.currentQueryIndex,N.currentQueryTotal=this.currentQueryTotal,N.parentContext=this,this.subContextCount++,N}transformIntoNewTimeline(o){return this.previousNode=Ti,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,a,f){const S={duration:a??o.duration,delay:this.currentTimeline.currentTime+(f??0)+o.delay,easing:""},N=new Cr(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,S,o.stretchStartingKeyframe);return this.timelines.push(N),S}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,a,f,S,N,W){let j=[];if(S&&j.push(this.element),o.length>0){o=(o=o.replace(ds,"."+this._enterClassName)).replace(ir,"."+this._leaveClassName);let fe=this._driver.query(this.element,o,1!=f);0!==f&&(fe=f<0?fe.slice(fe.length+f,fe.length):fe.slice(0,f)),j.push(...fe)}return!N&&0==j.length&&W.push(function qe(b){return new I.vHH(3014,!1)}()),j}}class zr{constructor(o,a,f,S){this._driver=o,this.element=a,this.startTime=f,this._elementTimelineStylesLookup=S,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(a),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(a,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}
1hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const a=1===this._keyframes.size&&this._pendingStyles.size;this.duration||a?(this.forwardTime(this.currentTime+o),a&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,a){return this.applyStylesToKeyframe(),new zr(this._driver,o,a||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,a){this._localTimelineStyles.set(o,a),this._globalTimelineStyles.set(o,a),this._styleSummary.set(o,{time:this.currentTime,value:a})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&this._previousKeyframe.set("easing",o);for(let[a,f]of this._globalTimelineStyles)this._backFill.set(a,f||J.l3),this._currentKeyframe.set(a,J.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,a,f,S){a&&this._previousKeyframe.set("easing",a);const N=S&&S.params||{},W=function Os(b,o){const a=new Map;let f;return b.forEach(S=>{if("*"===S){f=f||o.keys();for(let N of f)a.set(N,J.l3)}else Pn(S,a)}),a}(o,this._globalTimelineStyles);for(let[j,ne]of W){const fe=V(ne,N,f);this._pendingStyles.set(j,fe),this._localTimelineStyles.has(j)||this._backFill.set(j,this._globalTimelineStyles.get(j)??J.l3),this._updateStyle(j,fe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((o,a)=>{this._currentKeyframe.set(a,o)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((o,a)=>{this._currentKeyframe.has(a)||this._currentKeyframe.set(a,o)}))}snapshotCurrentStyles(){for(let[o,a]of this._localTimelineStyles)this._pendingStyles.set(o,a),this._updateStyle(o,a)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let a in this._currentKeyframe)o.push(a);return o}
1mergeTimelineCollectedStyles(o){o._styleSummary.forEach((a,f)=>{const S=this._styleSummary.get(f);(!S||a.time>S.time)&&this._updateStyle(f,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,a=new Set,f=1===this._keyframes.size&&0===this.duration;let S=[];this._keyframes.forEach((j,ne)=>{const fe=Pn(j,new Map,this._backFill);fe.forEach((Pe,$e)=>{Pe===J.k1?o.add($e):Pe===J.l3&&a.add($e)}),f||fe.set("offset",ne/this.duration),S.push(fe)});const N=o.size?F(o.values()):[],W=a.size?F(a.values()):[];if(f){const j=S[0],ne=new Map(j);j.set("offset",0),ne.set("offset",1),S=[j,ne]}return Gn(this.element,S,N,W,this.duration,this.startTime,this.easing,!1)}}class Cr extends zr{constructor(o,a,f,S,N,W,j=!1){super(o,a,W.delay),this.keyframes=f,this.preStyleProps=S,this.postStyleProps=N,this._stretchStartingKeyframe=j,this.timings={duration:W.duration,delay:W.delay,easing:W.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:a,duration:f,easing:S}=this.timings;if(this._stretchStartingKeyframe&&a){const N=[],W=f+a,j=a/W,ne=Pn(o[0]);ne.set("offset",0),N.push(ne);const fe=Pn(o[0]);fe.set("offset",Wr(j)),N.push(fe);const Pe=o.length-1;for(let $e=1;$e<=Pe;$e++){let ht=Pn(o[$e]);const mt=ht.get("offset");ht.set("offset",Wr((a+mt*f)/W)),N.push(ht)}f=W,a=0,S="",o=N}return Gn(this.element,o,this.preStyleProps,this.postStyleProps,f,a,S,!0)}}function Wr(b,o=3){const a=Math.pow(10,o-1);return Math.round(b*a)/a}class hs{}const Ns=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 fs extends hs{normalizePropertyName(o,a){return E(o)}normalizeStyleValue(o,a,f,S){let N="";const W=f.toString().trim();if(Ns.has(a)&&0!==f&&"0"!==f)if("number"==typeof f)N="px";else{const j=f.match(/^[+-]?[\d\.]+([a-z]*)$/);j&&0==j[1].length&&S.push(function Q(b,o){return new I.vHH(3005,!1)}())}return W+N}}function xr(b,o,a,f,S,N,W,j,ne,fe,Pe,$e,ht){return{type:0,element:b,triggerName:o,isRemovalTransition:S,fromState:a,fromStyles:N,toState:f,toStyles:W,timelines:j,queriedElements:ne,preStyleProps:fe,postStyleProps:Pe,totalTime:$e,errors:ht}}const Ii={};class Yi{constructor(o,a,f){this._triggerName=o,this.ast=a,this._stateStyles=f}match(o,a,f,S){return function sr(b,o,a,f,S){return b.some(N=>N(o,a,f,S))}(this.ast.matchers,o,a,f,S)}buildStyles(o,a,f){let S=this._stateStyles.get("*");return void 0!==o&&(S=this._stateStyles.get(o?.toString())||S),S?S.buildStyles(a,f):new Map}build(o,a,f,S,N,W,j,ne,fe,Pe){const $e=[],ht=this.ast.options&&this.ast.options.params||Ii,tt=this.buildStyles(f,j&&j.params||Ii,$e),lt=ne&&ne.params||Ii,$t=this.buildStyles(S,lt,$e),Zt=new Set,Dn=new Map,Fn=new Map,En="void"===S,nn={params:Ai(lt,ht),delay:this.ast.options?.delay},Ar=Pe?[]:Ki(o,a,this.ast.animation,N,W,tt,$t,nn,fe,$e);let wn=0;if(Ar.forEach(cr=>{wn=Math.max(cr.duration+cr.delay,wn)}),$e.length)return xr(a,this._triggerName,f,S,En,tt,$t,[],[],Dn,Fn,wn,$e);Ar.forEach(cr=>{const yr=cr.element,Ws=en(Dn,yr,new Set);cr.preStyleProps.forEach(Bi=>Ws.add(Bi));const vr=en(Fn,yr,new Set);cr.postStyleProps.forEach(Bi=>vr.add(Bi)),yr!==a&&Zt.add(yr)});const Ln=F(Zt.values());return xr(a,this._triggerName,f,S,En,tt,$t,Ar,Ln,Dn,Fn,wn)}}function Ai(b,o){const a=vn(o);for(const f in b)b.hasOwnProperty(f)&&null!=b[f]&&(a[f]=b[f]);return a}class Ri{constructor(o,a,f){this.styles=o,this.defaultParams=a,this.normalizer=f}buildStyles(o,a){const f=new Map,S=vn(this.defaultParams);return Object.keys(o).forEach(N=>{const W=o[N];null!==W&&(S[N]=W)}),this.styles.styles.forEach(N=>{"string"!=typeof N&&N.forEach((W,j)=>{W&&(W=V(W,S,a));const ne=this.normalizer.normalizePropertyName(j,a);W=this.normalizer.normalizeStyleValue(j,ne,W,a),f.set(ne,W)})}),f}}class Qi{constructor(o,a,f){this.name=o,this.ast=a,this._normalizer=f,this.transitionFactories=[],this.states=new Map,a.states.forEac
1h(S=>{this.states.set(S.name,new Ri(S.style,S.options&&S.options.params||{},f))}),ai(this.states,"true","1"),ai(this.states,"false","0"),a.transitions.forEach(S=>{this.transitionFactories.push(new Yi(o,S,this.states))}),this.fallbackTransition=function qi(b,o,a){return new Yi(b,{type:1,animation:{type:2,steps:[],options:null},matchers:[(W,j)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,a,f,S){return this.transitionFactories.find(W=>W.match(o,a,f,S))||null}matchStyles(o,a,f){return this.fallbackTransition.buildStyles(o,a,f)}}function ai(b,o,a){b.has(o)?b.has(a)||b.set(a,b.get(o)):b.has(a)&&b.set(o,b.get(a))}const ps=new oi;class gs{constructor(o,a,f){this.bodyNode=o,this._driver=a,this._normalizer=f,this._animations=new Map,this._playersById=new Map,this.players=[]}register(o,a){const f=[],N=mr(this._driver,a,f,[]);if(f.length)throw function Ot(b){return new I.vHH(3503,!1)}();this._animations.set(o,N)}_buildPlayer(o,a,f){const S=o.element,N=Di(0,this._normalizer,0,o.keyframes,a,f);return this._driver.animate(S,N,o.duration,o.delay,o.easing,[],!0)}create(o,a,f={}){const S=[],N=this._animations.get(o);let W;const j=new Map;if(N?(W=Ki(this._driver,a,N,Bt,St,new Map,new Map,f,ps,S),W.forEach(Pe=>{const $e=en(j,Pe.element,new Map);Pe.postStyleProps.forEach(ht=>$e.set(ht,null))})):(S.push(function He(){return new I.vHH(3300,!1)}()),W=[]),S.length)throw function Un(b){return new I.vHH(3504,!1)}();j.forEach((Pe,$e)=>{Pe.forEach((ht,mt)=>{Pe.set(mt,this._driver.computeStyle($e,mt,J.l3))})});const fe=Xt(W.map(Pe=>{const $e=j.get(Pe.element);return this._buildPlayer(Pe,new Map,$e)}));return this._playersById.set(o,fe),fe.onDestroy(()=>this.destroy(o)),this.players.push(fe),fe}destroy(o){const a=this._getPlayer(o);a.destroy(),this._playersById.delete(o);const f=this.players.indexOf(a);f>=0&&this.players.splice(f,1)}_getPlayer(o){const a=this._playersById.get(o);if(!a)throw function Rr(b){return new I.vHH(3301,!1)}();return a}listen(o,a,f,S){const N=Qn(a,"","","");return pr(this._getPlayer(o),f,N,S),()=>{}}command(o,a,f,S){if("register"==f)return void this.register(o,S[0]);if("create"==f)return void this.create(o,a,S[0]||{});const N=this._getPlayer(o);switch(f){case"play":N.play();break;case"pause":N.pause();break;case"reset":N.reset();break;case"restart":N.restart();break;case"finish":N.finish();break;case"init":N.init();break;case"setPosition":N.setPosition(parseFloat(S[0]));break;case"destroy":this.destroy(o)}}}const Yr="ng-animate-queued",Nn="ng-animate-disabled",uo=[],co={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},on={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Vn="__ng_removed";class xs{constructor(o,a=""){this.namespaceId=a;const f=o&&o.hasOwnProperty("value");if(this.value=function ho(b){return b??null}(f?o.value:o),f){const N=vn(o);delete N.value,this.options=N}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(o){const a=o.params;if(a){const f=this.options.params;Object.keys(a).forEach(S=>{null==f[S]&&(f[S]=a[S])})}}}const br="void",xn=new xs(br);class Ko{constructor(o,a,f){this.id=o,this.hostElement=a,this._engine=f,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
1+o,Xe(a,this._hostClassName)}listen(o,a,f,S){if(!this._triggers.has(a))throw function $n(b,o){return new I.vHH(3302,!1)}();if(null==f||0==f.length)throw function We(b){return new I.vHH(3303,!1)}();if(!function er(b){return"start"==b||"done"==b}(f))throw function Ge(b,o){return new I.vHH(3400,!1)}();const N=en(this._elementListeners,o,[]),W={name:a,phase:f,callback:S};N.push(W);const j=en(this._engine.statesByElement,o,new Map);return j.has(a)||(Xe(o,dn),Xe(o,dn+"-"+a),j.set(a,xn)),()=>{this._engine.afterFlush(()=>{const ne=N.indexOf(W);ne>=0&&N.splice(ne,1),this._triggers.has(a)||j.delete(a)})}}register(o,a){return!this._triggers.has(o)&&(this._triggers.set(o,a),!0)}_getTrigger(o){const a=this._triggers.get(o);if(!a)throw function De(b){return new I.vHH(3401,!1)}();return a}trigger(o,a,f,S=!0){const N=this._getTrigger(a),W=new Lr(this.id,a,o);let j=this._engine.statesByElement.get(o);j||(Xe(o,dn),Xe(o,dn+"-"+a),this._engine.statesByElement.set(o,j=new Map));let ne=j.get(a);const fe=new xs(f,this.id);if(!(f&&f.hasOwnProperty("value"))&&ne&&fe.absorbOptions(ne.options),j.set(a,fe),ne||(ne=xn),fe.value!==br&&ne.value===fe.value){if(!function Qr(b,o){const a=Object.keys(b),f=Object.keys(o);if(a.length!=f.length)return!1;for(let S=0;S<a.length;S++){const N=a[S];if(!o.hasOwnProperty(N)||b[N]!==o[N])return!1}return!0}(ne.params,fe.params)){const lt=[],$t=N.matchStyles(ne.value,ne.params,lt),Zt=N.matchStyles(fe.value,fe.params,lt);lt.length?this._engine.reportError(lt):this._engine.afterFlush(()=>{Kt(o,$t),Vt(o,Zt)})}return}const ht=en(this._engine.playersByElement,o,[]);ht.forEach(lt=>{lt.namespaceId==this.id&&lt.triggerName==a&&lt.queued&&lt.destroy()});let mt=N.matchTransition(ne.value,fe.value,o,fe.params),tt=!1;if(!mt){if(!S)return;mt=N.fallbackTransition,tt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:a,transition:mt,fromState:ne,toState:fe,player:W,isFallbackTransition:tt}),tt||(Xe(o,Yr),W.onStart(()=>{Br(o,Yr)})),W.onDone(()=>{let lt=this.players.indexOf(W);lt>=0&&this.players.splice(lt,1);const $t=this._engine.playersByElement.get(o);if($t){let Zt=$t.indexOf(W);Zt>=0&&$t.splice(Zt,1)}}),this.players.push(W),ht.push(W),W}deregister(o){this._triggers.delete(o),this._engine.statesByElement.forEach(a=>a.delete(o)),this._elementListeners.forEach((a,f)=>{this._elementListeners.set(f,a.filter(S=>S.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const a=this._engine.playersByElement.get(o);a&&(a.forEach(f=>f.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,a){const f=this._engine.driver.query(o,ct,!0);f.forEach(S=>{if(S[Vn])return;const N=this._engine.fetchNamespacesByElement(S);N.size?N.forEach(W=>W.triggerLeaveAnimation(S,a,!1,!0)):this.clearElementCache(S)}),this._engine.afterFlushAnimationsDone(()=>f.forEach(S=>this.clearElementCache(S)))}triggerLeaveAnimation(o,a,f,S){const N=this._engine.statesByElement.get(o),W=new Map;if(N){const j=[];if(N.forEach((ne,fe)=>{if(W.set(fe,ne.value),this._triggers.has(fe)){const Pe=this.trigger(o,fe,br,S);Pe&&j.push(Pe)}}),j.length)return this._engine.markElementAsRemoved(this.id,o,!0,a,W),f&&Xt(j).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const a=this._elementListeners.get(o),f=this._engine.statesByElement.get(o);if(a&&f){const S=new Set;a.forEach(N=>{const W=N.name;if(S.has(W))return;S.add(W);const ne=this._triggers.get(W).fallbackTransition,fe=f.get(W)||xn,Pe=new xs(br),$e=new Lr(this.id,W,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:W,transition:ne,fromState:fe,toState:Pe,player:$e,isFallbackTransition:!0})})}}removeNode(o,a){const f=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,a),this.triggerLeaveAnimation(o,a,!0))return;let S=!1;if(f.totalAnimations){const N=f.players.length?f.playersByQueriedElement.get(o):[];if(N&&N.length)S=!0;else{let W=o;for(;W=W.parentNode;)if(f.statesByElement.get(W)){S=!0;break}}}if(this.prepareLeaveAnimationListeners(o),S)f.markElementAsRemoved(this.id,o,!1,a);else{const N=o[Vn];(!N||N===co)&&(f.afterFlush(()=>this.clearElementCache(o)),f.destroyInnerAnimations(o),f._onRemovalComplete(o,a))}}insertNode(o,a){Xe(o,this._hostClassName)}drainQueuedTransitions(o){const a=[];return this._queue.forEach(f=>{const S=f.player;if(S.destroyed)return;const N=f.element,W=this._elementListeners.get(N);W&&W.forEach(j=>{if(j.name==f.triggerName){const ne=Qn(N,f.triggerName,f.fromState.value,f.toState.value);ne._data=o,pr(f.player,j.phase,ne,j.callback)}}),S.markedForDestroy?this._engine.afterFlush(()=>{S.destroy()}):a.push(f)}),this._queue=[],a.sort((f,S)=>{const N=f.transition.ast.depCount,W=S.transition.ast.depCount;return 0==N||0==W?N-W:this._engine.driver.containsElement(f.element,S.element)?1:-1})}
1destroy(o){this.players.forEach(a=>a.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let a=!1;return this._elementListeners.has(o)&&(a=!0),a=!!this._queue.find(f=>f.element===o)||a,a}}class ui{constructor(o,a,f){this.bodyNode=o,this.driver=a,this._normalizer=f,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=(S,N)=>{}}_onRemovalComplete(o,a){this.onRemovalComplete(o,a)}get queuedPlayers(){const o=[];return this._namespaceList.forEach(a=>{a.players.forEach(f=>{f.queued&&o.push(f)})}),o}createNamespace(o,a){const f=new Ko(o,a,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,a)?this._balanceNamespaceList(f,a):(this.newHostElements.set(a,f),this.collectEnterElement(a)),this._namespaceLookup[o]=f}_balanceNamespaceList(o,a){const f=this._namespaceList,S=this.namespacesByHostElement;if(f.length-1>=0){let W=!1,j=this.driver.getParentElement(a);for(;j;){const ne=S.get(j);if(ne){const fe=f.indexOf(ne);f.splice(fe+1,0,o),W=!0;break}j=this.driver.getParentElement(j)}W||f.unshift(o)}else f.push(o);return S.set(a,o),o}register(o,a){let f=this._namespaceLookup[o];return f||(f=this.createNamespace(o,a)),f}registerTrigger(o,a,f){let S=this._namespaceLookup[o];S&&S.register(a,f)&&this.totalAnimations++}destroy(o,a){if(!o)return;const f=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(f.hostElement),delete this._namespaceLookup[o];const S=this._namespaceList.indexOf(f);S>=0&&this._namespaceList.splice(S,1)}),this.afterFlushAnimationsDone(()=>f.destroy(a))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const a=new Set,f=this.statesByElement.get(o);if(f)for(let S of f.values())if(S.namespaceId){const N=this._fetchNamespace(S.namespaceId);N&&a.add(N)}return a}trigger(o,a,f,S){if(Xn(a)){const N=this._fetchNamespace(o);if(N)return N.trigger(a,f,S),!0}return!1}insertNode(o,a,f,S){if(!Xn(a))return;const N=a[Vn];if(N&&N.setForRemoval){N.setForRemoval=!1,N.setForMove=!0;const W=this.collectedLeaveElements.indexOf(a);W>=0&&this.collectedLeaveElements.splice(W,1)}if(o){const W=this._fetchNamespace(o);W&&W.insertNode(a,f)}S&&this.collectEnterElement(a)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,a){a?this.disabledNodes.has(o)||(this.disabledNodes.add(o),Xe(o,Nn)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),Br(o,Nn))}removeNode(o,a,f,S){if(Xn(a)){const N=o?this._fetchNamespace(o):null;if(N?N.removeNode(a,S):this.markElementAsRemoved(o,a,!1,S),f){const W=this.namespacesByHostElement.get(a);W&&W.id!==o&&W.removeNode(a,S)}}else this._onRemovalComplete(a,S)}markElementAsRemoved(o,a,f,S,N){this.collectedLeaveElements.push(a),a[Vn]={namespaceId:o,setForRemoval:S,hasAnimation:f,removedBeforeQueried:!1,previousTriggersValues:N}}listen(o,a,f,S,N){return Xn(a)?this._fetchNamespace(o).listen(a,f,S,N):()=>{}}_buildInstruction(o,a,f,S,N){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,f,S,o.fromState.options,o.toState.options,a,N)}destroyInnerAnimations(o){let a=this.driver.query(o,ct,!0);a.forEach(f=>this.destroyActiveAnimationsForElement(f)),0!=this.playersByQueriedElement.size&&(a=this.driver.query(o,Dt,!0),a.forEach(f=>this.finishActiveQueriedAnimationOnElement(f)))}destroyActiveAnimationsForElement(o){const a=this.playersByElement.get(o);a&&a.forEach(f=>{f.queued?f.markedForDestroy=!0:f.destroy()})}finishActiveQueriedAnimationOnElement(o){const a=this.playersByQueriedElement.get(o);a&&a.forEach(f=>f.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return Xt(this.players).onDone(()=>o());o()})}processLeaveNode(o){const a=o[Vn];if(a&&a.setForRemoval){if(o[Vn]=co,a.namespaceId){this.destroyInnerAnimations(o);const f=this._fetchNamespace(a.namespaceId);f&&f.clearElementCache(o)}this._onRemovalComplete(o,a.setForRemoval)}o.classList?.contains(Nn)&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEac
1h(f=>{this.markElementAsDisabled(f,!1)})}flush(o=-1){let a=[];if(this.newHostElements.size&&(this.newHostElements.forEach((f,S)=>this._balanceNamespaceList(f,S)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let f=0;f<this.collectedEnterElements.length;f++)Xe(this.collectedEnterElements[f],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const f=[];try{a=this._flushAnimations(f,o)}finally{for(let S=0;S<f.length;S++)f[S]()}}else for(let f=0;f<this.collectedLeaveElements.length;f++)this.processLeaveNode(this.collectedLeaveElements[f]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(f=>f()),this._flushFns=[],this._whenQuietFns.length){const f=this._whenQuietFns;this._whenQuietFns=[],a.length?Xt(a).onDone(()=>{f.forEach(S=>S())}):f.forEach(S=>S())}}reportError(o){throw function Je(b){return new I.vHH(3402,!1)}()}_flushAnimations(o,a){const f=new oi,S=[],N=new Map,W=[],j=new Map,ne=new Map,fe=new Map,Pe=new Set;this.disabledNodes.forEach(Ye=>{Pe.add(Ye);const nt=this.driver.query(Ye,".ng-animate-queued",!0);for(let rt=0;rt<nt.length;rt++)Pe.add(nt[rt])});const $e=this.bodyNode,ht=Array.from(this.statesByElement.keys()),mt=Oi(ht,this.collectedEnterElements),tt=new Map;let lt=0;mt.forEach((Ye,nt)=>{const rt=Bt+lt++;tt.set(nt,rt),Ye.forEach(Rt=>Xe(Rt,rt))});const $t=[],Zt=new Set,Dn=new Set;for(let Ye=0;Ye<this.collectedLeaveElements.length;Ye++){const nt=this.collectedLeaveElements[Ye],rt=nt[Vn];rt&&rt.setForRemoval&&($t.push(nt),Zt.add(nt),rt.hasAnimation?this.driver.query(nt,".ng-star-inserted",!0).forEach(Rt=>Zt.add(Rt)):Dn.add(nt))}const Fn=new Map,En=Oi(ht,Array.from(Zt));En.forEach((Ye,nt)=>{const rt=St+lt++;Fn.set(nt,rt),Ye.forEach(Rt=>Xe(Rt,rt))}),o.push(()=>{mt.forEach((Ye,nt)=>{const rt=tt.get(nt);Ye.forEach(Rt=>Br(Rt,rt))}),En.forEach((Ye,nt)=>{const rt=Fn.get(nt);Ye.forEach(Rt=>Br(Rt,rt))}),$t.forEach(Ye=>{this.processLeaveNode(Ye)})});const nn=[],Ar=[];for(let Ye=this._namespaceList.length-1;Ye>=0;Ye--)this._namespaceList[Ye].drainQueuedTransitions(a).forEach(rt=>{const Rt=rt.player,rn=rt.element;if(nn.push(Rt),this.collectedEnterElements.length){const yt=rn[Vn];if(yt&&yt.setForMove){if(yt.previousTriggersValues&&yt.previousTriggersValues.has(rt.triggerName)){const $i=yt.previousTriggersValues.get(rt.triggerName),_r=this.statesByElement.get(rt.element);if(_r&&_r.has(rt.triggerName)){const ts=_r.get(rt.triggerName);ts.value=$i,_r.set(rt.triggerName,ts)}}return void Rt.destroy()}}const mn=!$e||!this.driver.containsElement($e,rn),kn=Fn.get(rn),Ur=tt.get(rn),zt=this._buildInstruction(rt,f,Ur,kn,mn);if(zt.errors&&zt.errors.length)return void Ar.push(zt);if(mn)return Rt.onStart(()=>Kt(rn,zt.fromStyles)),Rt.onDestroy(()=>Vt(rn,zt.toStyles)),void S.push(Rt);if(rt.isFallbackTransition)return Rt.onStart(()=>Kt(rn,zt.fromStyles)),Rt.onDestroy(()=>Vt(rn,zt.toStyles)),void S.push(Rt);const Ui=[];zt.timelines.forEach(yt=>{yt.stretchStartingKeyframe=!0,this.disabledNodes.has(yt.element)||Ui.push(yt)}),zt.timelines=Ui,f.append(rn,zt.timelines),W.push({instruction:zt,player:Rt,element:rn}),zt.queriedElements.forEach(yt=>en(j,yt,[]).push(Rt)),zt.preStyleProps.forEach((yt,$i)=>{if(yt.size){let _r=ne.get($i);_r||ne.set($i,_r=new Set),yt.forEach((ts,vo)=>_r.add(vo))}}),zt.postStyleProps.forEach((yt,$i)=>{let _r=fe.get($i);_r||fe.set($i,_r=new Set),yt.forEach((ts,vo)=>_r.add(vo))})});if(Ar.length){const Ye=[];Ar.forEach(nt=>{Ye.push(function jn(b,o){return new I.vHH(3505,!1)}())}),nn.forEach(nt=>nt.destroy()),this.reportError(Ye)}const wn=new Map,Ln=new Map;W.forEach(Ye=>{const nt=Ye.element;f.has(nt)&&(Ln.set(nt,nt),this._beforeAnimationBuild(Ye.player.namespaceId,Ye.instruction,wn))}),S.forEach(Ye=>{const nt=Ye.element;this._getPreviousPlayers(nt,!1,Ye.namespaceId,Ye.triggerName,null).forEach(Rt=>{en(wn,nt,[]).push(Rt),Rt.destroy()})});const cr=$t.filter(Ye=>ar(Ye,ne,fe)),yr=new Map;kr(yr,this.driver,Dn,fe,J.l3).forEach(Ye=>{ar(Ye,ne,fe)&&cr.push(Ye)});const vr=new Map;mt.forEach((Ye,nt)=>{kr(vr,this.driver,new Set(Ye),ne,J.k1)}),cr.forEach(Ye=>{const nt=yr.get(Ye),rt=vr.get(Ye);yr.set(Ye,new Map([...Array.from(nt?.entries()??[]),...Array.from(rt?.entries()??[])]))});const Bi=[],yo=[],Ms={};W.forEach(Ye=>{const{element:nt,player:rt,instruction:Rt}=Ye;if(f.has(nt)){if(Pe.has(nt))return rt.onDestroy(()=>Vt(nt,Rt.toStyles)),rt.disabled=!0,rt.overrideTotalTime(Rt.totalTime),void S.push(rt);let rn=Ms;if(Ln.size>1){let kn=nt;const Ur=[];for(;kn=kn.parentNode;
1){const zt=Ln.get(kn);if(zt){rn=zt;break}Ur.push(kn)}Ur.forEach(zt=>Ln.set(zt,rn))}const mn=this._buildAnimation(rt.namespaceId,Rt,wn,N,vr,yr);if(rt.setRealPlayer(mn),rn===Ms)Bi.push(rt);else{const kn=this.playersByElement.get(rn);kn&&kn.length&&(rt.parentPlayer=Xt(kn)),S.push(rt)}}else Kt(nt,Rt.fromStyles),rt.onDestroy(()=>Vt(nt,Rt.toStyles)),yo.push(rt),Pe.has(nt)&&S.push(rt)}),yo.forEach(Ye=>{const nt=N.get(Ye.element);if(nt&&nt.length){const rt=Xt(nt);Ye.setRealPlayer(rt)}}),S.forEach(Ye=>{Ye.parentPlayer?Ye.syncPlayerEvents(Ye.parentPlayer):Ye.destroy()});for(let Ye=0;Ye<$t.length;Ye++){const nt=$t[Ye],rt=nt[Vn];if(Br(nt,St),rt&&rt.hasAnimation)continue;let Rt=[];if(j.size){let mn=j.get(nt);mn&&mn.length&&Rt.push(...mn);let kn=this.driver.query(nt,Dt,!0);for(let Ur=0;Ur<kn.length;Ur++){let zt=j.get(kn[Ur]);zt&&zt.length&&Rt.push(...zt)}}const rn=Rt.filter(mn=>!mn.destroyed);rn.length?ys(this,nt,rn):this.processLeaveNode(nt)}return $t.length=0,Bi.forEach(Ye=>{this.players.push(Ye),Ye.onDone(()=>{Ye.destroy();const nt=this.players.indexOf(Ye);this.players.splice(nt,1)}),Ye.play()}),Bi}elementContainsData(o,a){let f=!1;const S=a[Vn];return S&&S.setForRemoval&&(f=!0),this.playersByElement.has(a)&&(f=!0),this.playersByQueriedElement.has(a)&&(f=!0),this.statesByElement.has(a)&&(f=!0),this._fetchNamespace(o).elementContainsData(a)||f}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,a,f,S,N){let W=[];if(a){const j=this.playersByQueriedElement.get(o);j&&(W=j)}else{const j=this.playersByElement.get(o);if(j){const ne=!N||N==br;j.forEach(fe=>{fe.queued||!ne&&fe.triggerName!=S||W.push(fe)})}}return(f||S)&&(W=W.filter(j=>!(f&&f!=j.namespaceId||S&&S!=j.triggerName))),W}_beforeAnimationBuild(o,a,f){const N=a.element,W=a.isRemovalTransition?void 0:o,j=a.isRemovalTransition?void 0:a.triggerName;for(const ne of a.timelines){const fe=ne.element,Pe=fe!==N,$e=en(f,fe,[]);this._getPreviousPlayers(fe,Pe,W,j,a.toState).forEach(mt=>{const tt=mt.getRealPlayer();tt.beforeDestroy&&tt.beforeDestroy(),mt.destroy(),$e.push(mt)})}Kt(N,a.fromStyles)}_buildAnimation(o,a,f,S,N,W){const j=a.triggerName,ne=a.element,fe=[],Pe=new Set,$e=new Set,ht=a.timelines.map(tt=>{const lt=tt.element;Pe.add(lt);const $t=lt[Vn];if($t&&$t.removedBeforeQueried)return new J.ZN(tt.duration,tt.delay);const Zt=lt!==ne,Dn=function Fs(b){const o=[];return vs(b,o),o}((f.get(lt)||uo).map(wn=>wn.getRealPlayer())).filter(wn=>!!wn.element&&wn.element===lt),Fn=N.get(lt),En=W.get(lt),nn=Di(0,this._normalizer,0,tt.keyframes,Fn,En),Ar=this._buildPlayer(tt,nn,Dn);if(tt.subTimeline&&S&&$e.add(lt),Zt){const wn=new Lr(o,j,lt);wn.setRealPlayer(Ar),fe.push(wn)}return Ar});fe.forEach(tt=>{en(this.playersByQueriedElement,tt.element,[]).push(tt),tt.onDone(()=>function Ht(b,o,a){let f=b.get(o);if(f){if(f.length){const S=f.indexOf(a);f.splice(S,1)}0==f.length&&b.delete(o)}return f}(this.playersByQueriedElement,tt.element,tt))}),Pe.forEach(tt=>Xe(tt,_t));const mt=Xt(ht);return mt.onDestroy(()=>{Pe.forEach(tt=>Br(tt,_t)),Vt(ne,a.toStyles)}),$e.forEach(tt=>{en(S,tt,[]).push(mt)}),mt}_buildPlayer(o,a,f){return a.length>0?this.driver.animate(o.element,a,o.duration,o.delay,o.easing,f):new J.ZN(o.duration,o.delay)}}class Lr{constructor(o,a,f){this.namespaceId=o,this.triggerName=a,this.element=f,this._player=new J.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,this._queuedCallbacks.forEach((a,f)=>{a.forEach(S=>pr(o,f,void 0,S))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const a=this._player;a.triggerCallback&&o.onStart(()=>a.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,a){en(this._queuedCallbacks,o,[]).push(a)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const a=this._player;a.triggerCallback&&a.triggerCallback(o)}}function Xn(b){return b&&1===b.nodeType}function or(b,o){const a=b.style.display;return b.style.display=o??"none",a}function kr(b,o,a,f,S){const N=[];a.forEach(ne=>N.push(or(ne)));const W=[];f.forEach((ne,fe)=>{const Pe=new Map;ne.forEach($e=>{const ht=o.computeStyle(fe,$e,S);Pe.set($e,ht),(!ht||0==ht.length)&&(fe[Vn]=on,W.push(fe))}),b.set(fe,Pe)});let j=0;return a.forEach(ne=>or(ne,N[j++])),W}function Oi(b,o){const a=new Map;if(b.forEach(j=>a.set(j,[])),0==o.length)return a;const S=new Set(o),N=new Map;function W(j){if(!j)return 1;let ne=N.get(j);if(ne)return ne;const fe=j.parentNode;return ne=a.has(fe)?fe:S.has(fe)?1:W(fe),N.set(j,ne),ne}return o.forEach(j=>{const ne=W(j);1!==ne&&a.get(ne).push(j)}),a}function Xe(b,o){b.classList?.add(o)}function Br(b,o){b.classList?.remove(o)}function ys(b,o,a){Xt(a).onDone(()=>b.processLeaveNode(o))}function vs(b,o){for(let a=0;a<b.length;a++){const f=b[a];f instanceof J.ZE?vs(f.players,o):o.push(f)}}function ar(b,o,a){const f=a.get(b);if(!f)return!1;let S=o.get(b);return S?f.forEach(N=>S.add(N)):o.set(b,f),a.delete(b),!0}class Ni{constructor(o,a,f){this.bodyNode=o,this._driver=a,this._normalizer=f,this._triggerCache={},this.onRemovalComplete=(S,N)=>{},this._transitionEngine=new ui(o,a,f),this._timelineEngine=new gs(o,a,f),this._transitionEngine.onRemovalComplete=(S,N)=>this.onRemovalComplete(S,N)}
1registerTrigger(o,a,f,S,N){const W=o+"-"+S;let j=this._triggerCache[W];if(!j){const ne=[],Pe=mr(this._driver,N,ne,[]);if(ne.length)throw function dt(b,o){return new I.vHH(3404,!1)}();j=function Kr(b,o,a){return new Qi(b,o,a)}(S,Pe,this._normalizer),this._triggerCache[W]=j}this._transitionEngine.registerTrigger(a,S,j)}register(o,a){this._transitionEngine.register(o,a)}destroy(o,a){this._transitionEngine.destroy(o,a)}onInsert(o,a,f,S){this._transitionEngine.insertNode(o,a,f,S)}onRemove(o,a,f,S){this._transitionEngine.removeNode(o,a,S||!1,f)}disableAnimations(o,a){this._transitionEngine.markElementAsDisabled(o,a)}process(o,a,f,S){if("@"==f.charAt(0)){const[N,W]=Rn(f);this._timelineEngine.command(N,a,W,S)}else this._transitionEngine.trigger(o,a,f,S)}listen(o,a,f,S,N){if("@"==f.charAt(0)){const[W,j]=Rn(f);return this._timelineEngine.listen(W,a,j,N)}return this._transitionEngine.listen(o,a,f,S,N)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Ce=(()=>{class b{constructor(a,f,S){this._element=a,this._startStyles=f,this._endStyles=S,this._state=0;let N=b.initialStylesByElement.get(a);N||b.initialStylesByElement.set(a,N=new Map),this._initialStyles=N}start(){this._state<1&&(this._startStyles&&Vt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Vt(this._element,this._initialStyles),this._endStyles&&(Vt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(b.initialStylesByElement.delete(this._element),this._startStyles&&(Kt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Kt(this._element,this._endStyles),this._endStyles=null),Vt(this._element,this._initialStyles),this._state=3)}}return b.initialStylesByElement=new WeakMap,b})();function gt(b){let o=null;return b.forEach((a,f)=>{(function ks(b){return"display"===b||"position"===b})(f)&&(o=o||new Map,o.set(f,a))}),o}class Zi{constructor(o,a,f,S){this.element=o,this.keyframes=a,this.options=f,this._specialStyles=S,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=f.duration,this._delay=f.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(o){const a=[];return o.forEach(f=>{a.push(Object.fromEntries(f))}),a}_triggerWebAnimation(o,a,f){return o.animate(this._convertKeyframesToObject(a),f)}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o=new Map;this.hasStarted()&&this._finalKeyframe.forEach((f,S)=>{"offset"!==S&&o.set(S,this._finished?f:me(this.element,S))}),this.currentSnapshot=o}triggerCallback(o){const a="start"===o?this._onStartFns:this._onDoneFns;a.forEach(f=>f()),a.length=0}}class gn{validateStyleProperty(o){return!0}validateAnimatableStyleProperty(o){return!0}matchesElement(o,a){return!1}containsElement(o,a){return Z(o,a)}getParentElement(o){return ze(o)}query(o,a,f){return H(o,a,f)}computeStyle(o,a,f){return window.getComputedStyle(o)[a]}animate(o,a,f,S,N,W=[]){const ne={duration:f,delay:S,fill:0==S?"both":"forwards"};N&&(ne.easing=N);const fe=new Map,Pe=W.filter(mt=>mt instanceof Zi);(function A(b,o){return 0===b||0===o})(f,S)&&Pe.forEach(mt=>{mt.currentSnapshot.forEach((tt,lt)=>fe.set(lt,tt))});let $e=function Jn(b){return b.length?b[0]instanceof Map?b:b.map(o=>ln(o)):[]}(a).map(mt=>Pn(mt));$e=function k(b,o,a){if(a.size&&o.length){let f=o[0],S=[];
1if(a.forEach((N,W)=>{f.has(W)||S.push(W),f.set(W,N)}),S.length)for(let N=1;N<o.length;N++){let W=o[N];S.forEach(j=>W.set(j,me(b,j)))}}return o}(o,$e,fe);const ht=function Ls(b,o){let a=null,f=null;return Array.isArray(o)&&o.length?(a=gt(o[0]),o.length>1&&(f=gt(o[o.length-1]))):o instanceof Map&&(a=gt(o)),a||f?new Ce(b,a,f):null}(o,$e);return new Zi(o,$e,ne,ht)}}var qr=M(6895);let xi=(()=>{class b extends J._j{constructor(a,f){super(),this._nextAnimationId=0,this._renderer=a.createRenderer(f.body,{id:"0",encapsulation:I.ifc.None,styles:[],data:{animation:[]}})}build(a){const f=this._nextAnimationId.toString();this._nextAnimationId++;const S=Array.isArray(a)?(0,J.vP)(a):a;return Ji(this._renderer,null,f,"register",[S]),new lr(f,this._renderer)}}return b.\u0275fac=function(a){return new(a||b)(I.LFG(I.FYo),I.LFG(qr.K0))},b.\u0275prov=I.Yz7({token:b,factory:b.\u0275fac}),b})();class lr extends J.LC{constructor(o,a){super(),this._id=o,this._renderer=a}create(o,a){return new Bs(this._id,o,a||{},this._renderer)}}class Bs{constructor(o,a,f,S){this.id=o,this.element=a,this._renderer=S,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",f)}_listen(o,a){return this._renderer.listen(this.element,`@@${this.id}:${o}`,a)}_command(o,...a){return Ji(this._renderer,this.element,this.id,o,a)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(o){this._command("setPosition",o)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Ji(b,o,a,f,S){return b.setProperty(o,`@@${a}:${f}`,S)}const ci="@.disabled";let di=(()=>{class b{constructor(a,f,S){this.delegate=a,this.engine=f,this._zone=S,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),f.onRemovalComplete=(N,W)=>{const j=W?.parentNode(N);j&&W.removeChild(j,N)}}createRenderer(a,f){const N=this.delegate.createRenderer(a,f);if(!(a&&f&&f.data&&f.data.animation)){let Pe=this._rendererCache.get(N);return Pe||(Pe=new hi("",N,this.engine,()=>this._rendererCache.delete(N)),this._rendererCache.set(N,Pe)),Pe}const W=f.id,j=f.id+"-"+this._currentId;this._currentId++,this.engine.register(j,a);const ne=Pe=>{Array.isArray(Pe)?Pe.forEach(ne):this.engine.registerTrigger(W,j,a,Pe.name,Pe)};return f.data.animation.forEach(ne),new fn(this,j,N,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(a,f,S){a>=0&&a<this._microtaskId?this._zone.run(()=>f(S)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(N=>{const[W,j]=N;W(j)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([f,S]))}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 b.\u0275fac=function(a){return new(a||b)(I.LFG(I.FYo),I.LFG(Ni),I.LFG(I.R0b))},b.\u0275prov=I.Yz7({token:b,factory:b.\u0275fac}),b})();class hi{constructor(o,a,f,S){this.namespaceId=o,this.delegate=a,this.engine=f,this._onDestroy=S,this.destroyNode=this.delegate.destroyNode?N=>a.destroyNode(N):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(o,a){return this.delegate.createElement(o,a)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,a){this.delegate.appendChild(o,a),this.engine.onInsert(this.namespaceId,a,o,!1)}insertBefore(o,a,f,S=!0){this.delegate.insertBefore(o,a,f),this.engine.onInsert(this.namespaceId,a,o,S)}removeChild(o,a,f){this.engine.onRemove(this.namespaceId,a,this.delegate,f)}selectRootElement(o,a){return this.delegate.selectRootElement(o,a)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,a,f,S){this.delegate.setAttribute(o,a,f,S)}removeAttribute(o,a,f){this.delegate.removeAttribute(o,a,f)}addClass(o,a){this.delegate.addClass(o,a)}removeClass(o,a){this.delegate.removeClass(o,a)}setStyle(o,a,f,S){this.delegate.setStyle(o,a,f,S)}removeStyle(o,a,f){this.delegate.removeStyle(o,a,f)}setProperty(o,a,f){"@"==a.charAt(0)&&a==ci?this.disableAnimations(o,!!f):this.delegate.setProperty(o,a,f)}setValue(o,a){this.delegate.setValue(o,a)}listen(o,a,f){return this.delegate.listen(o,a,f)}disableAnimations(o,a){this.engine.disableAnimations(o,a)}}class fn extends hi{constructor(o,a,f,S,N){super(a,f,S,N),this.factory=o,this.namespaceId=a}setProperty(o,a,f){"@"==a.charAt(0)?"."==a.charAt(1)&&a==ci?this.disableAnimations(o,f=void 0===f||!!f):this.engine.process(this.namespaceId,o,a.slice(1),f):this.delegate.setProperty(o,a,f)}listen(o,a,f){if("@"==a.charAt(0)){const S=function ur(b){switch(b){case"body":return document.body;case"document":return document;case"window":return window;default:return b}}(o);let N=a.slice(1),W="";return"@"!=N.charAt(0)&&([N,W]=function Xi(b){const o=b.indexOf(".");return[b.substring(0,o),b.slice(o+1)]}(N)),this.engine.listen(this.namespaceId,S,N,W,j=>{this.factory.scheduleListenerCallback(j._data||-1,f,j)})}return this.delegate.listen(o,a,f)}}const _s=[{provide:J._j,useClass:xi},{provide:hs,useFactory:function Sr(){return new fs}},{provide:Ni,useClass:(()=>{class b extends Ni{constructor(a,f,S,N){super(a.body,f,S)}ngOnDestroy(){this.flush()}}return b.\u0275fac=function(a){return new(a||b)(I.LFG(qr.K0),I.LFG(Re),I.LFG(hs),I.LFG(I.z2F))},b.\u0275prov=I.Yz7({token:b,factory:b.\u0275fac}),b})()},{provide:I.FYo,useFactory:function fo(b,o,a){return new di(b,o,a)},deps:[v.se,Ni,I.R0b]}],Ds=[{provide:Re,useFactory:()=>new gn},{provide:I.QbO,useValue:"BrowserAnimations"},..._s],Es=[{provide:Re,useClass:ye},{provide:I.QbO,useValue:"NoopAnimations"},..._s];let ws=(()=>{class b{static withConfig(a){return{ngModule:b,providers:a.disableAnimations?Es:Ds}}}return b.\u0275fac=function(a){return new(a||b)},b.\u0275mod=I.oAB({type:b}),b.\u0275inj=I.cJS({providers:Ds,imports:[v.b2]}),b})();var Jr=M(4836);let $s=(()=>{class b{constructor(){this.title="app-elec-bulletin"}}return b.\u0275fac=function(a){return new(a||b)},b.\u0275cmp=I.Xpm({type:b,selectors:[["app-root"]],decls:1,vars:0,template:function(a,f){1&a&&I._UZ(0,"router-outlet")},dependencies:[Jr.lC]}),b})();const js=[{path:"",pathMatch:"full",redirectTo:M(9654).Jq},{path:"module/elec-bulletin",loadChildren:()=>M.e(640).then(M.bind(M,7640)).then(b=>b.LibElecBulletinModule)}];let Hs=(()=>{class b{}return b.\u0275fac=function(a){return new(a||b)},b.\u0275mod=I.oAB({type:b}),b.\u0275inj=I.cJS({imports:[qr.ez,Jr.Bz.forRoot(js,{relativeLinkResolution:"legacy",anchorScrolling:"enabled",scrollPositionRestoration:"enabled"}),Jr.Bz]}),b})();M(6498),M(591),M(5254),M(1086),M(7224),M(1406),M(4850);var Be=M(529);var Ss=M(9487),po=M(4698),Vs=M(3959);const es=[],mo={provide:Ss.L$,useValue:{production:()=>true,mock:()=>false,module:()=>null==sessionStorage.getItem("project_name")?"\u96fb\u5b50\u516c\u544a":sessionStorage.getItem("project_name")}};function Ts(){return M.e(456).then(M.t.bind(M,4487,23))}let zs=(()=>{class b{}return b.\u0275fac=function(a){return new(a||b)},b.\u0275mod=I.oAB({type:b,bootstrap:[$s]}
1),b.\u0275inj=I.cJS({providers:[mo,{provide:Be.TP,useClass:po.F9,multi:!0}],imports:[v.b2,ws,Hs,Be.JF,Vs.CT.forRoot({player:Ts}),Vs.eT.forRoot(),es]}),b})();(0,I.G48)(),v.q6().bootstrapModule(zs).catch(b=>console.error(b))},9654:(ke,ue,M)=>{M.d(ue,{FM:()=>U,Jb:()=>te,Jq:()=>se,cp:()=>Me,vr:()=>q});const I="module/elec-bulletin",J="ap/newsp",se="module/elec-bulletin/ap/newsp",te="ap/newsp",L={"a0/news0":["a0","news0"],"ap/newsp":["ap","newsp"],"aw/newsw":["aw","newsw"],"at/newst":["at","newst"]},X={"a0/news0":["a0","news-content0"],"ap/newsp":["ap","news-contentp"],"aw/newsw":["aw","news-contentw"],"at/newst":["at","news-contentt"]};function U(he){return he?he.startsWith("a0/")?"a0/news0":he.startsWith("aw/")?"aw/newsw":he.startsWith("at/")?"at/newst":J:J}function Y(...he){const ie=he.filter(ae=>null!=ae&&""!==ae).map(ae=>ae.replace(/^\//,""));return"/module/elec-bulletin/"+[I,...ie].join("/")}function q(he){const ie=U(he);return function re(...he){const ie=he.filter(ae=>null!=ae&&""!==ae).map(ae=>ae.replace(/^\//,""));return"/"+[I,...ie].join("/")}(...L[ie])}function Me(he,ie){const ae=U(he);return function Q(...he){return typeof window>"u"?Y(...he):window.location.origin+Y(...he)}(...X[ae],ie)}},4698:(ke,ue,M)=>{M.d(ue,{F9:()=>J});var v=M(4650),I=M(5294);let J=(()=>{let L=class{constructor(U){this.authService=U}intercept(U,re){const Y=this.authService.getAccessToken();let Q=U.clone({headers:U.headers});null!=Y&&""!==Y&&"null"!==Y&&(Q=Q.clone({headers:Q.headers.set("Authorization",`Bearer ${Y}`)}));const q=Q.headers.get("Content-Type");return q?q.includes("multipart/form-data")&&(Q=Q.clone({headers:Q.headers.delete("Content-Type")})):Q=Q.clone({headers:Q.headers.set("Content-Type","application/json")}),re.handle(Q)}};return L.\u0275fac=function(U){return new(U||L)(v.LFG(I.$h))},L.\u0275prov=(0,v.Yz7)({factory:function(){return new L((0,v.LFG)(I.$h))},token:L,providedIn:"root"}),L})()},5294:(ke,ue,M)=>{function U(w,E,_,A){return new(_||(_=Promise))(function($,me){function we(Ue){try{be(A.next(Ue))}catch(Et){me(Et)}}function Ve(Ue){try{be(A.throw(Ue))}catch(Et){me(Et)}}function be(Ue){Ue.done?$(Ue.value):function k($){return $ instanceof _?$:new _(function(me){me($)})}(Ue.value).then(we,Ve)}be((A=A.apply(w,E||[])).next())})}M.d(ue,{$h:()=>Mt,nB:()=>V});var Fe=M(4650),Ct=M(4836),Ae=M(529),dt=M(6498),st=M(591),He=(M(6895),M(9487));function We(w,E){var _={};for(var A in w)Object.prototype.hasOwnProperty.call(w,A)&&E.indexOf(A)<0&&(_[A]=w[A]);if(null!=w&&"function"==typeof Object.getOwnPropertySymbols){var k=0;for(A=Object.getOwnPropertySymbols(w);k<A.length;k++)E.indexOf(A[k])<0&&Object.prototype.propertyIsEnumerable.call(w,A[k])&&(_[A[k]]=w[A[k]])}return _}function Ft(w,E,_,A){return new(_||(_=Promise))(function($,me){function we(Ue){try{be(A.next(Ue))}catch(Et){me(Et)}}function Ve(Ue){try{be(A.throw(Ue))}catch(Et){me(Et)}}function be(Ue){Ue.done?$(Ue.value):function k($){return $ instanceof _?$:new _(function(me){me($)})}(Ue.value).then(we,Ve)}be((A=A.apply(w,E||[])).next())})}var H,Pr=M(8929),bt=M(1086),an=M(5254),Ei=M(7625),It=M(7221),ve=M(1709),Z=M(2994),de=new Uint8Array(16);function ye(){if(!H&&!(H=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return H(de)}const Re=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Nt=function ot(w){return"string"==typeof w&&Re.test(w)};for(var Te=[],Bt=0;Bt<256;++Bt)Te.push((Bt+256).toString(16).substr(1));const _t=function ct(w,E,_){var A=(w=w||{}).random||(w.rng||ye)();if(A[6]=15&A[6]|64,A[8]=63&A[8]|128,E){_=_||0;for(var k=0;k<16;++k)E[_+k]=A[k];return E}return function St(w){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,_=(Te[w[E+0]]+Te[w[E+1]]+Te[w[E+2]]+Te[w[E+3]]+"-"+Te[w[E+4]]+Te[w[E+5]]+"-"+Te[w[E+6]]+Te[w[E+7]]+"-"+Te[w[E+8]]+Te[w[E+9]]+"-"+Te[w[E+10]]+Te[w[E+11]]+Te[w[E+12]]+Te[w[E+13]]+Te[w[E+14]]+Te[w[E+15]]).toLowerCase();
1if(!Nt(_))throw TypeError("Stringified UUID is invalid");return _}(A)};let Dt=(()=>{class w{constructor(){this.destroy=new Pr.xQ,w.instances.push(this)}add(_){return(0,Ei.R)(this.destroy)(_)}cancel(){this.destroy.next(!0),this.destroy.unsubscribe(),this.destroy=new Pr.xQ}static cancelAll(){this.instances.length>0&&this.instances.forEach(_=>_.cancel())}}return w.instances=[],w})();var Tt;let Lt=Tt=class{constructor(E,_){this.http=E,this.environment=_,this.httpCancel=new Dt,this.httpOptions={headers:new Ae.WM({"Content-Type":"application/json"})},this.production=_.production()}get isProduction(){return this.production}get isLogger(){return!this.production}get getByKeys(){return["uuid"]}get resource(){return`${this.root}/${this.key}`}concatKeys(E){const _=E.map(A=>`${A.key}=${A.value}`);return this.concat(_)}parseGroupBys(E){return JSON.stringify(E)}concatWhereKeys(E){const _=E.map(A=>this.concatWhereKey(A));return encodeURIComponent(this.concat(_))}concat(E){return E.join(this.isProduction?",":"&")}concatWhereKey(E){switch(E.type){case Tt.EQUALS:return`${Tt.EQUALS}@${E.key}=${E.value}`;case Tt.LIKE:return`${Tt.LIKE}@${E.key}=${E.value}`;case Tt.IN:return`${Tt.IN}@${E.key}=${E.values.join(":")}`;case Tt.BETWEEN:return`${Tt.BETWEEN}@${E.key}=${E.value1}:${E.value2}`}}validate(E){for(const _ of E)if(this.getByKeys.indexOf(_.key)<0)return!1;return!0}get(E){return this.getBy([{key:"uuid",value:E}])}getAndGroupBy(E,_){return this.getByAndGroupBy([{key:"uuid",value:E}],_)}finds(E,_){let A=E;return _.forEach(k=>{A=A.filter($=>this.filter(k)($))}),A}filter(E){switch(E.type){case Tt.EQUALS:return this.filterByEquals(E);case Tt.LIKE:return this.filterByLike(E);case Tt.IN:return this.filterByIn(E);case Tt.BETWEEN:return this.filterByBetween(E)}}filterByEquals(E){return _=>_[E.key]===E.value}filterByLike(E){return _=>{const A=new RegExp(this.likeToRegex(E.value)),k=_[E.key];return!!k&&A.test(k)}}likeToRegex(E){return"^"+E.replace(/%/g,".*").replace(/_/g,".")+"$"}filterByBetween(E){return _=>{const A=_[E.key];return E.value1<=A&&E.value2>=A}}filterByIn(E){return _=>{const A=_[E.key];return E.values.findIndex(k=>k===A)>-1}}whereBy(E){const _=this.concatWhereKeys(E);return!1===this.validate(E)?(this.log(`[reject] [valid keys:${this.getByKeys}] where/by/${_}`),(0,bt.of)([])):this.isProduction?this.handlerHttpCancel(this.http.get(`${this.resource}/whereby/${_}`,this.httpOptions)).pipe(this.pipeLog(`where/by/${_}`)).pipe((0,It.K)(this.processError(`where/by/${_}`,[]))):(0,an.D)(this.gets().toPromise().then(A=>this.finds(A,E)))}whereByAndGroupBy(E,_){const A=this.concatWhereKeys(E),k=this.parseGroupBys(_);return!1===this.validate(E)?(this.log(`[reject] [valid keys:${this.getByKeys}] whereby/${A}/groupby/${k}`),(0,bt.of)([])):this.isProduction?this.handlerHttpCancel(this.http.get(`${this.resource}/whereby/${A}/groupby/${encodeURIComponent(k)}`,this.httpOptions)).pipe(this.pipeLog(`where/by/${A}/groupby/${k}`)).pipe((0,It.K)(this.processError(`where/by/${A}/groupby/${k}`,[]))):(0,an.D)(new Promise($=>{this.gets().toPromise().then(me=>{$(this.groupBy(this.finds(me,E),_))})})).pipe(this.pipeLog(`where/by/${A}/groupby/${k}`)).pipe((0,It.K)(this.processError(`where/by/${A}/groupby/${k}`,[])))}handlerHttpCancel(E){return this.httpCancel.add(E)}doHttpCancel(){return this.httpCancel.cancel()}getBy(E){if(E.length>0){const _=this.concatKeys(E);return!1===this.validate(E)?(this.log(`[reject] [valid keys:${this.getByKeys}] get/by/${_}`),(0,bt.of)([])):this.isProduction?this.handlerHttpCancel(this.http.get(`${this.resource}/by/${_}`,this.httpOptions)).pipe(this.pipeLog(`get/by/${_}`)).pipe((0,It.K)(this.processError(`get/by/${_}`,[]))):this.handlerHttpCancel(this.http.get(`${this.resource}?${_}`,this.httpOptions)).pipe(this.pipeLog(`get/by/${_}`)).pipe((0,It.K)(this.processError(`get/by/${_}`,[])))}return this.gets()}getByAndGroupBy(E,_){const A=this.concatKeys(E),k=this.parseGroupBys(_);return!1===this.validate(E)?(this.log(`[reject] [valid keys:${this.getByKeys}] get/by/${A}/groupby/${k}`),(0,bt.of)([])):this.isProduction?this.handlerHttpCancel(this.http.get(`${this.resource}/by/${A}/groupby/${encodeURIComponent(k)}`,this.httpOptions)).pipe(this.pipeLog(`get/by/${A}/groupby/${k}`)).pipe((0,It.K)(this.processError(`get/by/${A}/groupby/${k}`,[]))):(0,an.D)(new Promise($=>{this.handlerHttpCancel(this.getBy(E)).toPromise().then(me=>{$(this.groupBy(me,_))})})).pipe(this.pipeLog(`get/by/${A}/groupBy/${k}`)).pipe((0,It.K)(this.processError(`get/by/${A}/groupBy/${k}`,[])))}getByAndPage(E,_,A,k){const $=this.concatKeys(E);return!1===this.validate(E)?(this.log(`[reject] [valid keys:${this.getByKeys}] getByAndPage/${$}`),(0,bt.of)([])):this.isProduction?this.handlerHttpCancel(this.http.get(`${this.resource}/by/${$}/page/${_}/${A}/${k}`,this.httpOptions)).pipe(this.pipeLog(`getByAndPage/${$}`)).pipe((0,It.K)(this.processError(`getByAndPage/${$}`,[]))):(0,an.D)(this.getBy(E).toPromise().then(me=>(this.orderBy(me,_),me.slice(A,k+1))))}whereByAndPage(E,_,A,k){const $=this.concatWhereKeys(E);return!1===this.validate(E)?(this.log(`[reject] [valid keys:${this.getByKeys}] whereByAndPage/${$}`),(0,bt.of)([])):this.isProduction?this.handlerHttpCancel(this.http.get(`${this.resource}/whereby/${$}/page/${_}/${A}/${k}`,this.httpOptions)).pipe(this.pipeLog(`whereByAndPage/${$}`)).pipe((0,It.K)(this.processError(`whereByAndPage/${$}`,[]))):(0,an.D)(this.whereBy(E).toPromise().then(me=>(this.orderBy(me,_),me.slice(A,k+1))))}gets(){return this.handlerHttpCancel(this.http.get(this.resource,this.httpOptions)).pipe(this.pipeLog("gets")).pipe((0,It.K)(this.processError("gets",[])))}getsAndGroupBy(E){const _=this.parseGroupBys(E);return this.isProduction?this.handlerHttpCancel(this.http.get(`${this.resource}/groupby/${encodeURIComponent(_)}`,this.httpOptions)).pipe(this.pipeLog(`gets/groupby/${_}`)).pipe((0,It.K)(this.processError(`gets/groupby/${_}`,[]))):(0,an.D)(new Promise(A=>{this.gets().toPromise().then(k=>{A(this.groupBy(k,E))})})).pipe(this.pipeLog(`gets/groupby/${_}`))}getsAndPage(E,_,A){return this.isProduction?this.handlerHttpCancel(this.http.get(`${this.resource}/page/${E}/${_}/${A}`,this.httpOptions)).pipe(this.pipeLog("getsAndPage")).pipe((0,It.K)(this.processError("getsAndPage",[]))):(0,an.D)(this.gets().toPromise().then(k=>(this.orderBy(k,E),k.slice(_,A+1))))}orderBy(E,_){_.split(",").forEach(A=>{let k=!0;const $=A.charAt(0),me="-"===$,Ve=me||"+"===$?A.substring(1):A;return me&&(k=!1),E.sort((be,Ue)=>this.sort(k,be[Ve],Ue[Ve]))})}sort(E,_,A){return"string"==typeof _&&"string"==typeof A?E?_.localeCompare(A):A.localeCompare(_):"number"==typeof _&&"number"==typeof A?E?_-A:A-_:void 0}sizeBy(E){const _=this.concatKeys(E);return!1===this.validate(E)?(this.log(`[reject] [valid keys:${this.getByKeys}] size/by/${_}`),(0,bt.of)([])):this.isProduction?this.handlerHttpCancel(this.http.get(`${this.resource}/size/by/${_}`,this.httpOptions)).pipe(this.pipeLog(`size/by/${_}`)).pipe((0,It.K)(this.processError(`size/by/${_}`,[]))):this.getBy(E).pipe((0,ve.zg)(A=>(0,bt.of)([A.length])))}sizeWhereBy(E){const _=this.concatWhereKeys(E);return!1===this.validate(E)?(this.log(`[reject] [valid keys:${this.getByKeys}] size/whereBy/${_}`),(0,bt.of)([])):this.isProduction?this.handlerHttpCancel(this.http.get(`${this.resource}/size/whereBy/${_}`,this.httpOptions)).pipe(this.pipeLog(`size/whereBy/${_}`)).pipe((0,It.K)(this.processError(`size/whereBy/${_}`,[]))):this.whereBy(E).pipe((0,ve.zg)(A=>(0,bt.of)([A.length])))}add(E){return delete E.id,delete E.uuid,this.isProduction||(E.uuid=_t()),this.http.post(this.resource,E,this.httpOptions).pipe(this.pipeLog("add")).pipe((0,It.K)(this.processError("add",E)))}update(E){return this.updateBy([{key:"uuid",value:E.uuid}],E)}updateBy(E,_){const A=this.concatKeys(E);return!1===this.validate(E)?(this.log(`[reject] [valid keys:${this.getByKeys}] putBy?${A}`),(0,bt.of)()):this.isProduction?this.http.put(`${this.resource}/by/${A}`,_,this.httpOptions).pipe(this.pipeLog(`put/by/${A}`)).pipe((0,It.K)(this.processError(`put/by/${A}`,_))):(0,an.D)(new Promise(k=>{this.getBy(E).toPromise().then($=>{$.length>0&&$.forEach(me=>{const be=We(_,["id","uuid"]),Et=Object.assign(Object.assign({},me),be);this.http.put(`${this.resource}`,Et,this.httpOptions).pipe(this.pipeLog(`put/by/${A}`,Et)).pipe((0,It.K)(this.processError(`put/by/${A}, ready=${Et}`,Et))).toPromise().then(je=>k(je))})})}))}updateBySyncByWithCallable(E,_,A){return Ft(this,void 0,void 0,function*(){const k=Object.assign({},_);
1return A.call(this,k),yield this.updateBy(E,k).toPromise().then($=>A.call(this,_)).catch($=>(this.processError($),!1))})}switch(E,_){return this.switchBy([{key:"uuid",value:_.uuid}],E,_)}switchBy(E,_,A){return this.updateBySyncByWithCallable(E,A,k=>(_.forEach($=>k[$.key]=$.value),!0))}delete(E){return this.deleteBy([{key:"uuid",value:E}])}deleteBy(E){let _=this.concatKeys(E);return!1===this.validate(E)?(this.log(`[reject] [valid keys:${this.getByKeys}] deleteBy?${_}`),(0,bt.of)([])):this.isProduction?this.http.delete(`${this.resource}/by/${_}`,this.httpOptions).pipe(this.pipeLog(`deleteBy/${_}`)):(0,an.D)(this.getBy(E).toPromise().then(A=>Ft(this,void 0,void 0,function*(){A.forEach(k=>Ft(this,void 0,void 0,function*(){_=k.id+"",yield this.http.delete(`${this.resource}/${_}`,this.httpOptions).pipe(this.pipeLog(`deleteBy/${_}`)).pipe((0,It.K)(this.processError(`deleteBy/${_}`))).toPromise()}))})))}mergeBy(E,_){const A=this.concatKeys(E);return!1===this.validate(E)?(this.log(`[reject] [valid keys:${this.getByKeys}] mergeBy?${A}`),(0,bt.of)()):this.isProduction?this.http.post(`${this.resource}/by/${A}`,_,this.httpOptions).pipe(this.pipeLog(`post/by/${A}`)).pipe((0,It.K)(this.processError(`post/by/${A}`,_))):(0,an.D)(new Promise(k=>{this.getBy(E).toPromise().then($=>{if($.length>0){const Ve=We(_,["id","uuid"]),Ue=Object.assign(Object.assign({},$[0]),Ve);this.http.put(`${this.resource}`,Ue,this.httpOptions).pipe(this.pipeLog(`merge/by/${A}`,Ue)).pipe((0,It.K)(this.processError(`merge/by/${A}, ready=${Ue}`,Ue))).toPromise().then(Et=>k(Et))}
1else this.add(_).toPromise().then(me=>k(me))})}))}processError(E,_){return A=>{var k;return console.error(A),A?.message?this.errorLog(`${E}: ${A.message}`):null!==(k=A?.body)&&void 0!==k&&k.error?this.errorLog(`${E}: ${A.body.error}`):A.body&&this.errorLog(`${E}: ${A.body}`),(0,bt.of)(_)}}errorLog(E){alert(`[${this.key}] ${E}`)}pipeLog(E,_){return(0,Z.b)(A=>{this.log(`${E} [${this.key}]:`,A,_)})}log(E,..._){this.isLogger&&console.log(E,this.key,_)}groupBy(E,_){const A=_.filter(we=>"0"===we.type).map(we=>we.column),$=function k(){const we={};return E.forEach(Ve=>{const be=A.map(Et=>Ve[Et]).join(",");let Ue=we[be];Ue||(Ue=[],we[be]=Ue),Ue.push(Ve)}),we}();return Object.keys($).map(we=>{const Ve=$[we],be={};return 0===Ve.length?A.forEach(Ue=>{be[Ue]=void 0}):(A.forEach(Ue=>{be[Ue]=Ve[0][Ue]}),_.filter(Ue=>Ue.type!==Tt.GROUP_BY_COLUMN).forEach(Ue=>{Ue.type===Tt.GROUP_BY_COUNT?be[Ue.alias||`${Ue.column}_count`]=Ve.length:Ue.type===Tt.GROUP_BY_SUM?be[Ue.alias||`${Ue.column}_sum`]=Ve.map(je=>je[Ue.column]).reduce((je,Wt)=>je+Wt):Ue.type===Tt.GROUP_BY_MAX?be[Ue.alias||`${Ue.column}_max`]=Ve.map(je=>je[Ue.column]).sort((je,Wt)=>this.sort(!0,je,Wt))[0]:Ue.type===Tt.GROUP_BY_MIN&&(be[Ue.alias||`${Ue.column}_min`]=Ve.map(je=>je[Ue.column]).sort((je,Wt)=>this.sort(!1,je,Wt))[0])})),be})}};var vn;Lt.\u0275fac=function(E){return new(E||Lt)(Fe.LFG(Ae.eN),Fe.LFG(He.L$))},Lt.EQUALS="1",Lt.LIKE="2",Lt.IN="3",Lt.BETWEEN="4",Lt.GROUP_BY_COLUMN="0",Lt.GROUP_BY_COUNT="1",Lt.GROUP_BY_SUM="2",Lt.GROUP_BY_MAX="3",Lt.GROUP_BY_MIN="4",Lt.ctorParameters=()=>[{type:Ae.eN},{type:He.L$}],Lt.\u0275prov=(0,Fe.Yz7)({factory:function(){return new Lt((0,Fe.LFG)(Ae.eN),(0,Fe.LFG)(He.L$))},token:Lt,providedIn:"root"});let ln=vn=class extends Lt{constructor(E,_){super(E,_),this.http=E,this.environment=_}get(E){return this.hash(super.get(E))}getAndGroupBy(E,_){return this.hash(super.getAndGroupBy(E,_))}whereBy(E){return this.hash(super.whereBy(E))}whereByAndGroupBy(E,_){return this.hash(super.whereByAndGroupBy(E,_))}getBy(E){return this.hash(super.getBy(E))}getByAndGroupBy(E,_){return this.hash(super.getByAndGroupBy(E,_))}getByAndPage(E,_,A,k){return this.hash(super.getByAndPage(E,_,A,k))}whereByAndPage(E,_,A,k){return this.hash(super.whereByAndPage(E,_,A,k))}gets(){return this.hash(super.gets())}getsAndGroupBy(E){return this.hash(super.getsAndGroupBy(E))}getsAndPage(E,_,A){return this.hash(super.getsAndPage(E,_,A))}hash(E){return this.environment.production()?E:this.postProcessObservable(E,_=>this.mockHashs(_))}mockHashs(E){return E.map(_=>this.mockHash(_))}mockHash(E){for(const _ of this.getHashColumns)E[vn.ORIG_HASH_PREFIX+_]=E[_];return E}postProcessObservable(E,_){return(0,an.D)(new Promise(A=>{E.toPromise().then(k=>{A(_(k))})}))}};ln.\u0275fac=function(E){return new(E||ln)(Fe.LFG(Ae.eN),Fe.LFG(He.L$))},ln.ORIG_HASH_PREFIX="_origh_",ln.ctorParameters=()=>[{type:Ae.eN},{type:He.L$}],ln.\u0275prov=(0,Fe.Yz7)({factory:function(){return new ln((0,Fe.LFG)(Ae.eN),(0,Fe.LFG)(He.L$))},token:ln,providedIn:"root"});let Jn=(()=>{let w=class{constructor(_){this.http=_,this.httpOptions={headers:new Ae.WM({"Content-Type":"application/json"})}}setRedirectUri(_){this.redirectUri=_}getRedirectUri(){return this.redirectUri}setTokenUri(_){this.tokenUri=_}getTokenUri(){return this.tokenUri}getClientId(){return this.http.get(`/web-auth/auth/third_party/client_id/${this.optype}`,this.httpOptions)}post(_,A){return this.http.post(_,A,this.httpOptions)}getOptype(){return console.log("getOptype:",this.optype),this.optype}getUserInfo(){return this.http.get(`/web-auth/auth/third_party/profile/${this.optype}`,this.httpOptions)}logout(){return console.log(">>>oidc logout"),this.http.get("/web-auth/auth/third_party/logout",this.httpOptions)}};return w.\u0275fac=function(_){return new(_||w)(Fe.LFG(Ae.eN))},w.\u0275prov=(0,Fe.Yz7)({factory:function(){return new w((0,Fe.LFG)(Ae.eN))},token:w,providedIn:"root"}),w})(),Or=(()=>{let w=class extends Jn{constructor(_){super(_),this.http=_,this.optype="google"}getAuthUrl(){console.log("google getAuthUrl");const _=encodeURIComponent(this.redirectUri);return new dt.y(A=>{this.getClientId().subscribe(k=>{const $=k["system.google_client_id"];console.log("google client id:",$),A.next(`https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=${_}&prompt=consent&response_type=code&client_id=${$}&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&access_type=offline`)})})}};return w.\u0275fac=function(_){return new(_||w)(Fe.LFG(Ae.eN))},w.\u0275prov=(0,Fe.Yz7)({factory:function(){return new w((0,Fe.LFG)(Ae.eN))},token:w,providedIn:"root"}),w})(),Pn=(()=>{let w=class extends Jn{constructor(_){super(_),this.http=_,this.optype="facebook"}getAuthUrl(){console.log("facebook getAuthUrl");const _=encodeURIComponent(this.redirectUri);return new dt.y(A=>{this.getClientId().subscribe(k=>{const $=k["system.facebook_client_id"];console.log("facebook client id:",$),A.next(`https://www.facebook.com/v7.0/dialog/oauth?client_id=${$}&redirect_uri=${_}&state=${_}&scope=public_profile,email`)})})}};return w.\u0275fac=function(_){return new(_||w)(Fe.LFG(Ae.eN))},w.\u0275prov=(0,Fe.Yz7)({factory:function(){return new w((0,Fe.LFG)(Ae.eN))},token:w,providedIn:"root"}),w})(),Nr=(()=>{let w=class extends Jn{constructor(_){super(_),this.http=_,this.optype="alle"}getAuthUrl(){return new dt.y(_=>{const A=encodeURIComponent(this.redirectUri);_.next(`/web-auth/tpLogin.jsp?type=websso&app_login=true&returnUrl=${A}`)})}
1getUserInfo(){return alert("\u4e0d\u652f\u63f4\u6b64\u65b9\u6cd5"),null}};return w.\u0275fac=function(_){return new(_||w)(Fe.LFG(Ae.eN))},w.\u0275prov=(0,Fe.Yz7)({factory:function(){return new w((0,Fe.LFG)(Ae.eN))},token:w,providedIn:"root"}),w})(),Mt=(()=>{let w=class{constructor(_,A){this.http=_,this.router=A,this.messageSource=new st.X(this.getAccessToken()),this.currentMessage=this.messageSource.asObservable(),this.KEY_AUTHENTICATION_CODE_RETURNURL="KEY_AUTHENTICATION_CODE_RETURNURL",this.KEY_AUTHENTICATION_CODE_ACCESSTOKEN="KEY_AUTHENTICATION_CODE_ACCESSTOKEN",this.tokenUri="/web-auth/auth/token",this.httpOptions={headers:new Ae.WM({"Content-Type":"application/json"})},this.getAccessToken()}setAlleToken(_){const A=sessionStorage.getItem(this.KEY_AUTHENTICATION_CODE_ACCESSTOKEN);let k;this.token=_,void 0!==_&&(k=_.access_token),void 0===k?(void 0!==this.accessToken&&delete this.accessToken,void 0!==this.token&&delete this.token,sessionStorage.removeItem(this.KEY_AUTHENTICATION_CODE_ACCESSTOKEN)):(this.accessToken=k,sessionStorage.setItem(this.KEY_AUTHENTICATION_CODE_ACCESSTOKEN,k)),this.callIfTokenChange(A,k)}getAccessToken(){const _=this.accessToken;return void 0===this.accessToken&&null!==sessionStorage.getItem(this.KEY_AUTHENTICATION_CODE_ACCESSTOKEN)&&(this.accessToken=sessionStorage.getItem(this.KEY_AUTHENTICATION_CODE_ACCESSTOKEN)),this.callIfTokenChange(_,this.accessToken),void 0===this.modules&&this.getModules(),this.accessToken}callIfTokenChange(_,A){(void 0===_&&void 0!==A||void 0!==_&&void 0===A||void 0!==_&&void 0!==A&&_!==A)&&this.changeTokenState()}isLogin(){return void 0!==this.getAccessToken()}changeTokenState(){void 0!==this.ca&&delete this.ca,void 0!==this.modules&&delete this.modules,this.messageSource.next(this.getAccessToken())}getModules(){return new dt.y(void 0===this.modules?_=>{const A=[],k=[];this.getCa().subscribe($=>{if(void 0!==this.ca&&void 0!==this.ca.modules&&this.ca.modules.length>0&&void 0!==this.ca.menus&&this.ca.menus.length>0){let me=0;void 0!==this.ca&&void 0!==this.ca.active&&void 0!==this.ca.active.role&&void 0!==this.ca.active.role.value&&(me=this.ca.active.role.value);const we=this.ca.menus[me];for(const Ve of we)for(const be of Ve.child)k.indexOf(be.key)<0&&(k.push(be.key),A.push(be));if(void 0!==this.ca.modules[me].menu&&void 0!==this.ca.modules[me].menu.data)for(const Ve of k){const be=this.ca.modules[me].menu.data[Ve];for(const Ue of A)if(Ue.key===Ve){Object.assign(Ue,be);break}}this.modules=[];for(const Ve of A)if("1234".indexOf(Ve.auth[0])>-1){let be=Ve.prog_dir;be.startsWith("web-")&&(be=be.substring(4)),Ve.url=`/module/${be}/main${Ve.auth[0]}`,this.modules.push(Ve)}_.next(this.modules)}else _.error("CA\u8cc7\u8a0a\u4e0d\u5b8c\u6574")},$=>{_.next(this.modules)})}:_=>{_.next(this.modules)})}getCa(){return void 0===this.ca?void 0!==this.getAccessToken()?new dt.y(_=>{this.profile().subscribe({next:A=>{console.log("[authService] header ===> ca[0]:",A[0]),this.ca=A[0],_.next(this.ca)},error:A=>{console.error("[authService] getModules Error:",A),void 0!==A&&void 0!==A.error&&void 0!==A.error.code&&"0x1600"===A.error.code&&this.setAlleToken(void 0),_.error(A)}})}):new dt.y(_=>{_.error("no token, please login")}):new dt.y(_=>{_.next(this.ca)})}issuing(_,A){const k=A.getTokenUri();return k&&(this.tokenUri=k),new dt.y($=>{this.post(`${this.tokenUri}?grant_type=authorization_code&code=${_}&optype=${A.getOptype()}&returnUrl=${encodeURIComponent(A.getRedirectUri())}`).subscribe(me=>{("alle"===A.getOptype()||"custom"===A.getOptype())&&this.setAlleToken(me),$.next()})})}refreshing(){}post(_){return this.http.post(_,this.httpOptions)}login(..._){const A=this.getCurrentPath();console.log("authentication.service.ts ==> currentPath11:",A);let k="";if(void 0!==_&&_.length>0&&(k=_[0]),!A.startsWith("/module/portal-member/ap/loginp")||""!==k){const $=encodeURIComponent(A);let me=`/authentication/code?type=auth&returnUrl=${$}`;if("google"===k)return me=`/authentication/code?type=auth&optype=google&returnUrl=${$}`,this.router.navigateByUrl(me),!1;if("facebook"===k)return me=`/authentication/code?type=auth&optype=facebook&returnUrl=${$}`,this.router.navigateByUrl(me),!1;me=`/module/portal-member/ap/loginp?type=auth&returnUrl=${$}`,this.router.navigateByUrl(me)}return!1}getCurrentPath(){let _=window.location.href,A=window.location.origin;return _.substring(A.length)}loginWebAuth(){const _=this.getCurrentPath();console.log("authentication.service.ts ==> currentPath22:",_);const k=`/authentication/code?type=auth&returnUrl=${encodeURIComponent(_)}`;return this.router.navigateByUrl(k),!1}profile(..._){let A,k="alle";if(void 0!==_&&_.length>0&&(k=_[0]),void 0!==k&&"google"===k)A=new Or(this.http);else if(void 0!==k&&"facebook"===k)A=new Pn(this.http);else{if(void 0!==k&&"alle"===k)return this.post("/web-auth/rest/ca");alert("no such type")}return A.getUserInfo()}logout(){return this.setAlleToken(void 0),new Nr(this.http).logout()}getAuthFromUrl(_){var A,k;let $;if($=_?_.split("/"):this.router.url.split("/"),$.length>=4&&2===(null===(A=$[3])||void 0===A?void 0:A.length)&&"a"===(null===(k=$[3])||void 0===k?void 0:k.substr(0,1)))return $[3].slice(-1)}getModuleFromUrl(_){const A=_.split("/");if(A.length>=3&&A[2]&&A[2].length>0)return A[2]}};return w.\u0275fac=function(_){return new(_||w)(Fe.LFG(Ae.eN),Fe.LFG(Ct.F0))},w.\u0275prov=(0,Fe.Yz7)({factory:function(){return new w((0,Fe.LFG)(Ae.eN),(0,Fe.LFG)(Ct.F0))},token:w,providedIn:"root"}),w})(),V=(()=>{let w=class extends Lt{constructor(_,A){super(_,A),this.http=_,this.environment=A}get root(){return"/web-auth/rest/ca"}get key(){return"ca_data"}get getByKeys(){return["id"]}getCa(){return U(this,void 0,void 0,function*(){this.hasCa()||(yield this.initCaData())})}getIdno(){return U(this,void 0,void 0,function*(){return this.hasCa()||(yield this.initCaData()),new Promise(_=>{_(this.ca.idno)})})}getName(){return U(this,void 0,void 0,function*(){return this.hasCa()||(yield this.initCaData()),new Promise(_=>{_(this.ca.name)})})}getIp(){return U(this,void 0,void 0,function*(){return this.hasCa()||(yield this.initCaData()),new Promise(_=>{_(this.ca.con_ip)})})}getTeaid(){return U(this,void 0,void 0,function*(){return this.hasCa()||(yield this.initCaData()),new Promise(_=>{_(this.ca.teaid)})})}getSchNo(){return U(this,void 0,void 0,function*(){return this.hasCa()||(yield this.initCaData()),yield this.initCaRole(),new Promise(_=>{_(this.caRole.schNo)})})}getSchName(){return U(this,void 0,void 0,function*(){return this.hasCa()||(yield this.initCaData()),yield this.initCaRole(),new Promise(_=>{_(this.caRole.schName)})})}getschoolType(){return U(this,void 0,void 0,function*(){return this.hasCa()||(yield this.initCaData()),yield this.initCaRole(),new Promise(_=>{_(this.caRole.schoolType)})})}getPosId(){return U(this,void 0,void 0,function*(){return this.hasCa()||(yield this.initCaData()),yield this.initCaRole(),new Promise(_=>{_(this.caRole.posId)})})}getPosName(){return U(this,void 0,void 0,function*(){return this.hasCa()||(yield this.initCaData()),yield this.initCaRole(),new Promise(_=>{_(this.caRole.posName)})})}getDeptId(){return U(this,void 0,void 0,function*(){return this.hasCa()||(yield this.initCaData()),yield this.initCaRole(),new Promise(_=>{_(this.caRole.deptId)})})}getRole(){return U(this,void 0,void 0,function*(){return this.hasCa()||(yield this.initCaData()),yield this.initCaRole(),new Promise(_=>{_(this.caRole)})})}hasCa(){return void 0!==this.ca}initCaRole(){return U(this,void 0,void 0,function*(){return new Promise(_=>{const A=this.getActiveRoleInx();this.getActiveRole(A).then(k=>{this.caRole=k,_(k)})})})}initCaData(){return U(this,void 0,void 0,function*(){return new Promise(_=>{this.gets().subscribe(A=>{void 0!==A&&A.length>0&&(this.ca=A[0]),_(this.ca)})})})}getActiveRoleInx(){const _=this.ca;return void 0!==_&&void 0!==_.active&&void 0!==_.active.role&&void 0!==_.active.role.value?+_.active.role.value:0}getActiveRole(_){return U(this,void 0,void 0,function*(){this.hasCa()||(yield this.initCaData());const A=this.ca.roles;if(void 0!==A&&A.length>=_)return A[_]})}getActiveModules(_){return U(this,void 0,void 0,function*(){this.hasCa()||(yield this.initCaData());const A=this.ca.modules;if(void 0!==A&&A.length>=_)return A[_]})}getAuth(_){return U(this,void 0,void 0,function*(){return this.getAuthByModule(_)})}getAuthByModule(_){return U(this,void 0,void 0,function*(){let A="0";this.hasCa()||(yield this.initCaData());let $,k=this.getActiveRoleInx();if(yield this.getActiveModules(k).then(me=>{$=me}),$&&$.menu&&$.menu.data){let me=$.menu.data;for(let we in me){let Ve=me[we];if(Ve&&Ve.prog_dir&&Ve.prog_dir===_&&null!=Ve.auth&&Ve.auth.length>0)return A=Ve.auth[0],A}}return A})}};return w.\u0275fac=function(_){return new(_||w)(Fe.LFG(Ae.eN),Fe.LFG(He.L$))},w.\u0275prov=(0,Fe.Yz7)({factory:function(){return new w((0,Fe.LFG)(Ae.eN),(0,Fe.LFG)(He.L$))},token:w,providedIn:"root"}),w})()},9487:(ke,ue,M)=>{M.d(ue,{L$:()=>I});var v=M(4650);let I=(()=>{let te=class{production(){return!1}mock(){return!0}};return te.\u0275fac=function(X){return new(X||te)}
1,te.\u0275prov=(0,v.Yz7)({factory:function(){return new te},token:te,providedIn:"root"}),te})()},591:(ke,ue,M)=>{M.d(ue,{X:()=>J});var v=M(8929),I=M(5279);class J extends v.xQ{constructor(te){super(),this._value=te}get value(){return this.getValue()}_subscribe(te){const L=super._subscribe(te);return L&&!L.closed&&te.next(this._value),L}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new I.N;return this._value}next(te){super.next(this._value=te)}}},1869:(ke,ue,M)=>{M.d(ue,{d:()=>I});var v=M(3489);class I extends v.L{constructor(se,te,L){super(),this.parent=se,this.outerValue=te,this.outerIndex=L,this.index=0}_next(se){this.parent.notifyNext(this.outerValue,se,this.outerIndex,this.index++,this)}_error(se){this.parent.notifyError(se,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},9312:(ke,ue,M)=>{M.d(ue,{P:()=>te});var v=M(8896),I=M(1086),J=M(1737);class te{constructor(X,U,re){this.kind=X,this.value=U,this.error=re,this.hasValue="N"===X}observe(X){switch(this.kind){case"N":return X.next&&X.next(this.value);case"E":return X.error&&X.error(this.error);case"C":return X.complete&&X.complete()}}do(X,U,re){switch(this.kind){case"N":return X&&X(this.value);case"E":return U&&U(this.error);case"C":return re&&re()}}accept(X,U,re){return X&&"function"==typeof X.next?this.observe(X):this.do(X,U,re)}toObservable(){switch(this.kind){case"N":return(0,I.of)(this.value);case"E":return(0,J._)(this.error);case"C":return(0,v.c)()}throw new Error("unexpected notification kind value")}static createNext(X){return typeof X<"u"?new te("N",X):te.undefinedValueNotification}static createError(X){return new te("E",void 0,X)}static createComplete(){return te.completeNotification}}te.completeNotification=new te("C"),te.undefinedValueNotification=new te("N",void 0)},6498:(ke,ue,M)=>{M.d(ue,{y:()=>re});var v=M(3489),J=M(7668),se=M(3292),L=M(3821),X=M(4843),U=M(2830);let re=(()=>{class Q{constructor(ce){this._isScalar=!1,ce&&(this._subscribe=ce)}lift(ce){const Me=new Q;return Me.source=this,Me.operator=ce,Me}subscribe(ce,Me,he){const{operator:ie}=this,ae=function te(Q,q,ce){if(Q){if(Q instanceof v.L)return Q;if(Q[J.b])return Q[J.b]()}return Q||q||ce?new v.L(Q,q,ce):new v.L(se.c)}(ce,Me,he);if(ae.add(ie?ie.call(ae,this.source):this.source||U.v.useDeprecatedSynchronousErrorHandling&&!ae.syncErrorThrowable?this._subscribe(ae):this._trySubscribe(ae)),U.v.useDeprecatedSynchronousErrorHandling&&ae.syncErrorThrowable&&(ae.syncErrorThrowable=!1,ae.syncErrorThrown))throw ae.syncErrorValue;return ae}_trySubscribe(ce){try{return this._subscribe(ce)}catch(Me){U.v.useDeprecatedSynchronousErrorHandling&&(ce.syncErrorThrown=!0,ce.syncErrorValue=Me),function I(Q){for(;Q;){const{closed:q,destination:ce,isStopped:Me}=Q;if(q||Me)return!1;Q=ce&&ce instanceof v.L?ce:null}return!0}(ce)?ce.error(Me):console.warn(Me)}}forEach(ce,Me){return new(Me=Y(Me))((he,ie)=>{let ae;ae=this.subscribe(Ie=>{try{ce(Ie)}catch(it){ie(it),ae&&ae.unsubscribe()}},ie,he)})}_subscribe(ce){const{source:Me}=this;return Me&&Me.subscribe(ce)}[L.L](){return this}pipe(...ce){return 0===ce.length?this:(0,X.U)(ce)(this)}toPromise(ce){return new(ce=Y(ce))((Me,he)=>{let ie;this.subscribe(ae=>ie=ae,ae=>he(ae),()=>Me(ie))})}}return Q.create=q=>new Q(q),Q})();function Y(Q){if(Q||(Q=U.v.Promise||Promise),!Q)throw new Error("no Promise impl found");return Q}},3292:(ke,ue,M)=>{M.d(ue,{c:()=>J});var v=M(2830),I=M(2782);const J={closed:!0,next(se){},error(se){if(v.v.useDeprecatedSynchronousErrorHandling)throw se;(0,I.z)(se)},complete(){}}},826:(ke,ue,M)=>{M.d(ue,{L:()=>I});var v=M(3489);class I extends v.L{notifyNext(se,te,L,X,U){this.destination.next(te)}notifyError(se,te){this.destination.error(se)}notifyComplete(se){this.destination.complete()}}},8929:(ke,ue,M)=>{M.d(ue,{Yc:()=>X,xQ:()=>U});var v=M(6498),I=M(3489),J=M(2654),se=M(5279),te=M(5283),L=M(7668);class X extends I.L{constructor(Q){super(Q),this.destination=Q}}let U=(()=>{class Y extends v.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[L.b](){return new X(this)}lift(q){const ce=new re(this,this);return ce.operator=q,ce}next(q){if(this.closed)throw new se.N;if(!this.isStopped){const{observers:ce}=this,Me=ce.length,he=ce.slice();for(let ie=0;ie<Me;ie++)he[ie].next(q)}}error(q){if(this.closed)throw new se.N;this.hasError=!0,this.thrownError=q,this.isStopped=!0;const{observers:ce}=this,Me=ce.length,he=ce.slice();for(let ie=0;ie<Me;ie++)he[ie].error(q);this.observers.length=0}complete(){if(this.closed)throw new se.N;this.isStopped=!0;const{observers:q}=this,ce=q.length,Me=q.slice();for(let he=0;he<ce;he++)Me[he].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(q){if(this.closed)throw new se.N;return super._trySubscribe(q)}_subscribe(q){if(this.closed)throw new se.N;return this.hasError?(q.error(this.thrownError),J.w.EMPTY):this.isStopped?(q.complete(),J.w.EMPTY):(this.observers.push(q),new te.W(this,q))}asObservable(){const q=new v.y;return q.source=this,q}}return Y.create=(Q,q)=>new re(Q,q),Y})();class re extends U{constructor(Q,q){super(),this.destination=Q,this.source=q}next(Q){const{destination:q}=this;q&&q.next&&q.next(Q)}error(Q){const{destination:q}=this;q&&q.error&&this.destination.error(Q)}complete(){const{destination:Q}=this;Q&&Q.complete&&this.destination.complete()}_subscribe(Q){const{source:q}=this;
1return q?this.source.subscribe(Q):J.w.EMPTY}}},5283:(ke,ue,M)=>{M.d(ue,{W:()=>I});var v=M(2654);class I extends v.w{constructor(se,te){super(),this.subject=se,this.subscriber=te,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const se=this.subject,te=se.observers;if(this.subject=null,!te||0===te.length||se.isStopped||se.closed)return;const L=te.indexOf(this.subscriber);-1!==L&&te.splice(L,1)}}},3489:(ke,ue,M)=>{M.d(ue,{L:()=>X});var v=M(7043),I=M(3292),J=M(2654),se=M(7668),te=M(2830),L=M(2782);class X extends J.w{constructor(Y,Q,q){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=I.c;break;case 1:if(!Y){this.destination=I.c;break}if("object"==typeof Y){Y instanceof X?(this.syncErrorThrowable=Y.syncErrorThrowable,this.destination=Y,Y.add(this)):(this.syncErrorThrowable=!0,this.destination=new U(this,Y));break}default:this.syncErrorThrowable=!0,this.destination=new U(this,Y,Q,q)}}[se.b](){return this}static create(Y,Q,q){const ce=new X(Y,Q,q);return ce.syncErrorThrowable=!1,ce}next(Y){this.isStopped||this._next(Y)}error(Y){this.isStopped||(this.isStopped=!0,this._error(Y))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(Y){this.destination.next(Y)}_error(Y){this.destination.error(Y),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:Y}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=Y,this}}class U extends X{constructor(Y,Q,q,ce){super(),this._parentSubscriber=Y;let Me,he=this;(0,v.m)(Q)?Me=Q:Q&&(Me=Q.next,q=Q.error,ce=Q.complete,Q!==I.c&&(he=Object.create(Q),(0,v.m)(he.unsubscribe)&&this.add(he.unsubscribe.bind(he)),he.unsubscribe=this.unsubscribe.bind(this))),this._context=he,this._next=Me,this._error=q,this._complete=ce}next(Y){if(!this.isStopped&&this._next){const{_parentSubscriber:Q}=this;te.v.useDeprecatedSynchronousErrorHandling&&Q.syncErrorThrowable?this.__tryOrSetError(Q,this._next,Y)&&this.unsubscribe():this.__tryOrUnsub(this._next,Y)}}error(Y){if(!this.isStopped){const{_parentSubscriber:Q}=this,{useDeprecatedSynchronousErrorHandling:q}=te.v;if(this._error)q&&Q.syncErrorThrowable?(this.__tryOrSetError(Q,this._error,Y),this.unsubscribe()):(this.__tryOrUnsub(this._error,Y),this.unsubscribe());else if(Q.syncErrorThrowable)q?(Q.syncErrorValue=Y,Q.syncErrorThrown=!0):(0,L.z)(Y),this.unsubscribe();else{if(this.unsubscribe(),q)throw Y;(0,L.z)(Y)}}}complete(){if(!this.isStopped){const{_parentSubscriber:Y}=this;if(this._complete){const Q=()=>this._complete.call(this._context);te.v.useDeprecatedSynchronousErrorHandling&&Y.syncErrorThrowable?(this.__tryOrSetError(Y,Q),this.unsubscribe()):(this.__tryOrUnsub(Q),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(Y,Q){try{Y.call(this._context,Q)}catch(q){if(this.unsubscribe(),te.v.useDeprecatedSynchronousErrorHandling)throw q;(0,L.z)(q)}}__tryOrSetError(Y,Q,q){if(!te.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{Q.call(this._context,q)}catch(ce){return te.v.useDeprecatedSynchronousErrorHandling?(Y.syncErrorValue=ce,Y.syncErrorThrown=!0,!0):((0,L.z)(ce),!0)}return!1}_unsubscribe(){const{_parentSubscriber:Y}=this;this._context=null,this._parentSubscriber=null,Y.unsubscribe()}}},2654:(ke,ue,M)=>{M.d(ue,{w:()=>L});var v=M(6688),I=M(7830),J=M(7043);const te=(()=>{function U(re){return Error.call(this),this.message=re?`${re.length} errors occurred during unsubscription:\n${re.map((Y,Q)=>`${Q+1}) ${Y.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=re,this}return U.prototype=Object.create(Error.prototype),U})();class L{constructor(re){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,re&&(this._unsubscribe=re)}unsubscribe(){let re;if(this.closed)return;let{_parentOrParents:Y,_unsubscribe:Q,_subscriptions:q}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,Y instanceof L)Y.remove(this);else if(null!==Y)for(let ce=0;ce<Y.length;++ce)Y[ce].remove(this);if((0,J.m)(Q))try{Q.call(this)}catch(ce){re=ce instanceof te?X(ce.errors):[ce]}if((0,v.k)(q)){let ce=-1,Me=q.length;for(;++ce<Me;){const he=q[ce];if((0,I.K)(he))try{he.unsubscribe()}catch(ie){re=re||[],ie instanceof te?re=re.concat(X(ie.errors)):re.push(ie)}}}if(re)throw new te(re)}add(re){let Y=re;
1if(!re)return L.EMPTY;switch(typeof re){case"function":Y=new L(re);case"object":if(Y===this||Y.closed||"function"!=typeof Y.unsubscribe)return Y;if(this.closed)return Y.unsubscribe(),Y;if(!(Y instanceof L)){const ce=Y;Y=new L,Y._subscriptions=[ce]}break;default:throw new Error("unrecognized teardown "+re+" added to Subscription.")}let{_parentOrParents:Q}=Y;if(null===Q)Y._parentOrParents=this;else if(Q instanceof L){if(Q===this)return Y;Y._parentOrParents=[Q,this]}else{if(-1!==Q.indexOf(this))return Y;Q.push(this)}const q=this._subscriptions;return null===q?this._subscriptions=[Y]:q.push(Y),Y}remove(re){const Y=this._subscriptions;if(Y){const Q=Y.indexOf(re);-1!==Q&&Y.splice(Q,1)}}}var U;function X(U){return U.reduce((re,Y)=>re.concat(Y instanceof te?Y.errors:Y),[])}L.EMPTY=((U=new L).closed=!0,U)},2830:(ke,ue,M)=>{M.d(ue,{v:()=>I});let v=!1;const I={Promise:void 0,set useDeprecatedSynchronousErrorHandling(J){if(J){const se=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+se.stack)}else v&&console.log("RxJS: Back to a better error behavior. Thank you. <3");v=J},get useDeprecatedSynchronousErrorHandling(){return v}}},1762:(ke,ue,M)=>{M.d(ue,{N:()=>L,c:()=>te});var v=M(8929),I=M(6498),J=M(2654),se=M(4327);class te extends I.y{constructor(Q,q){super(),this.source=Q,this.subjectFactory=q,this._refCount=0,this._isComplete=!1}_subscribe(Q){return this.getSubject().subscribe(Q)}getSubject(){const Q=this._subject;return(!Q||Q.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let Q=this._connection;return Q||(this._isComplete=!1,Q=this._connection=new J.w,Q.add(this.source.subscribe(new X(this.getSubject(),this))),Q.closed&&(this._connection=null,Q=J.w.EMPTY)),Q}refCount(){return(0,se.x)()(this)}}const L=(()=>{const Y=te.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:Y._subscribe},_isComplete:{value:Y._isComplete,writable:!0},getSubject:{value:Y.getSubject},connect:{value:Y.connect},refCount:{value:Y.refCount}}})();class X extends v.Yc{constructor(Q,q){super(Q),this.connectable=q}_error(Q){this._unsubscribe(),super._error(Q)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const Q=this.connectable;if(Q){this.connectable=null;const q=Q._connection;Q._refCount=0,Q._subject=null,Q._connection=null,q&&q.unsubscribe()}}}},6053:(ke,ue,M)=>{M.d(ue,{aj:()=>X});var v=M(2866),I=M(6688),J=M(826),se=M(9054),te=M(3009);const L={};function X(...Y){let Q=null,q=null;return(0,v.K)(Y[Y.length-1])&&(q=Y.pop()),"function"==typeof Y[Y.length-1]&&(Q=Y.pop()),1===Y.length&&(0,I.k)(Y[0])&&(Y=Y[0]),(0,te.n)(Y,q).lift(new U(Q))}class U{constructor(Q){this.resultSelector=Q}call(Q,q){return q.subscribe(new re(Q,this.resultSelector))}}class re extends J.L{constructor(Q,q){super(Q),this.resultSelector=q,this.active=0,this.values=[],this.observables=[]}_next(Q){this.values.push(L),this.observables.push(Q)}_complete(){const Q=this.observables,q=Q.length;if(0===q)this.destination.complete();else{this.active=q,this.toRespond=q;for(let ce=0;ce<q;ce++){const Me=Q[ce];this.add((0,se.D)(this,Me,Me,ce))}}}notifyComplete(Q){0==(this.active-=1)&&this.destination.complete()}notifyNext(Q,q,ce,Me,he){const ie=this.values,Ie=this.toRespond?ie[ce]===L?--this.toRespond:this.toRespond:0;ie[ce]=q,0===Ie&&(this.resultSelector?this._tryResultSelector(ie):this.destination.next(ie.slice()))}_tryResultSelector(Q){let q;try{q=this.resultSelector.apply(this,Q)}catch(ce){return void this.destination.error(ce)}this.destination.next(q)}}},1221:(ke,ue,M)=>{M.d(ue,{z:()=>se});var v=M(1086),I=M(9146);function se(...te){return function J(){return(0,I.J)(1)}()((0,v.of)(...te))}},8514:(ke,ue,M)=>{M.d(ue,{P:()=>se});var v=M(6498),I=M(5254),J=M(8896);function se(te){return new v.y(L=>{let X;try{X=te()}catch(re){return void L.error(re)}return(X?(0,I.D)(X):(0,J.c)()).subscribe(L)})}},8896:(ke,ue,M)=>{M.d(ue,{E:()=>I,c:()=>J});var v=M(6498);const I=new v.y(te=>te.complete());function J(te){return te?function se(te){return new v.y(L=>te.schedule(()=>L.complete()))}(te):I}},5254:(ke,ue,M)=>{M.d(ue,{D:()=>he});var v=M(6498),I=M(9249),J=M(2654),se=M(3821),X=M(6454),U=M(5430),Q=M(8955),q=M(8515);function he(ie,ae){return ae?function Me(ie,ae){if(null!=ie){if(function Y(ie){return ie&&"function"==typeof ie[se.L]}(ie))return function te(ie,ae){return new v.y(Ie=>{const it=new J.w;return it.add(ae.schedule(()=>{const vt=ie[se.L]();it.add(vt.subscribe({next(xe){it.add(ae.schedule(()=>Ie.next(xe)))},error(xe){it.add(ae.schedule(()=>Ie.error(xe)))},complete(){it.add(ae.schedule(()=>Ie.complete()))}}))})),it})}(ie,ae);if((0,Q.t)(ie))return function L(ie,ae){return new v.y(Ie=>{const it=new J.w;return it.add(ae.schedule(()=>ie.then(vt=>{it.add(ae.schedule(()=>{Ie.next(vt),it.add(ae.schedule(()=>Ie.complete()))}))},vt=>{it.add(ae.schedule(()=>Ie.error(vt)))}))),it})}(ie,ae);if((0,q.z)(ie))return(0,X.r)(ie,ae);if(function ce(ie){return ie&&"function"==typeof ie[U.hZ]}(ie)||"string"==typeof ie)return function re(ie,ae){if(!ie)throw new Error("Iterable cannot be null");return new v.y(Ie=>{const it=new J.w;let vt;return it.add(()=>{vt&&"function"==typeof vt.return&&vt.return()}),it.add(ae.schedule(()=>{vt=ie[U.hZ](),it.add(ae.schedule(function(){if(Ie.closed)return;let xe,Ee;try{const qe=vt.next();xe=qe.value,Ee=qe.done}catch(qe){return void Ie.error(qe)}Ee?Ie.complete():(Ie.next(xe),this.schedule())}))})),it})}(ie,ae)}throw new TypeError((null!==ie&&typeof ie||ie)+" is not observable")}(ie,ae):ie instanceof v.y?ie:new v.y((0,I.s)(ie))}},3009:(ke,ue,M)=>{M.d(ue,{n:()=>se});var v=M(6498),I=M(3650),J=M(6454);function se(te,L){return L?(0,J.r)(te,L):new v.y((0,I.V)(te))}},6787:(ke,ue,M)=>{M.d(ue,{T:()=>te});var v=M(6498),I=M(2866),J=M(9146),se=M(3009);function te(...L){let X=Number.POSITIVE_INFINITY,U=null,re=L[L.length-1];return(0,I.K)(re)?(U=L.pop(),L.length>1&&"number"==typeof L[L.length-1]&&(X=L.pop())):"number"==typeof re&&(X=L.pop()),null===U&&1===L.length&&L[0]instanceof v.y?L[0]:(0,J.J)(X)((0,se.n)(L,U))}},1086:(ke,ue,M)=>{M.d(ue,{of:()=>se});var v=M(2866),I=M(3009),J=M(6454);function se(...te){let L=te[te.length-1];return(0,v.K)(L)?(te.pop(),(0,J.r)(te,L)):(0,I.n)(te)}},1737:(ke,ue,M)=>{M.d(ue,{_:()=>I});var v=M(6498);function I(se,te){return new v.y(te?L=>te.schedule(J,0,{error:se,subscriber:L}):L=>L.error(se))}function J({error:se,subscriber:te}){te.error(se)}},7221:(ke,ue,M)=>{M.d(ue,{K:()=>se});var v=M(826),I=M(1869),J=M(9054);function se(X){return function(re){const Y=new te(X),Q=re.lift(Y);return Y.caught=Q}}class te{constructor(U){this.selector=U}call(U,re){return re.subscribe(new L(U,this.selector,this.caught))}}class L extends v.L{constructor(U,re,Y){super(U),this.selector=re,this.caught=Y}error(U){if(!this.isStopped){let re;try{re=this.selector(U,this.caught)}catch(q){return void super.error(q)}this._unsubscribeAndRecycle();const Y=new I.d(this,void 0,void 0);this.add(Y);const Q=(0,J.D)(this,re,void 0,void 0,Y);Q!==Y&&this.add(Q)}}}},1406:(ke,ue,M)=>{M.d(ue,{b:()=>I});var v=M(1709);function I(J,se){return(0,v.zg)(J,se,1)}},7314:(ke,ue,M)=>{M.d(ue,{d:()=>I});var v=M(3489);function I(te=null){return L=>L.lift(new J(te))}class J{constructor(L){this.defaultValue=L}call(L,X){return X.subscribe(new se(L,this.defaultValue))}}class se extends v.L{constructor(L,X){super(L),this.defaultValue=X,this.isEmpty=!0}_next(L){this.isEmpty=!1,this.destination.next(L)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},2198:(ke,ue,M)=>{M.d(ue,{h:()=>I});var v=M(3489);function I(te,L){return function(U){return U.lift(new J(te,L))}}class J{constructor(L,X){this.predicate=L,this.thisArg=X}call(L,X){return X.subscribe(new se(L,this.predicate,this.thisArg))}}class se extends v.L{constructor(L,X,U){super(L),this.predicate=X,this.thisArg=U,this.count=0}_next(L){let X;try{X=this.predicate.call(this.thisArg,L,this.count++)}catch(U){return void this.destination.error(U)}X&&this.destination.next(L)}}},537:(ke,ue,M)=>{M.d(ue,{x:()=>J});var v=M(3489),I=M(2654);function J(L){return X=>X.lift(new se(L))}class se{constructor(X){this.callback=X}call(X,U){return U.subscribe(new te(X,this.callback))}}class te extends v.L{constructor(X,U){super(X),this.add(new I.w(U))}}},7224:(ke,ue,M)=>{M.d(ue,{P:()=>X});var v=M(4450),I=M(2198),J=M(2986),se=M(7314),te=M(4907),L=M(5379);function X(U,re){const Y=arguments.length>=2;return Q=>Q.pipe(U?(0,I.h)((q,ce)=>U(q,ce,Q)):L.y,(0,J.q)(1),Y?(0,se.d)(re):(0,te.T)(()=>new v.K))}},8127:(ke,ue,M)=>{M.d(ue,{Z:()=>X});var v=M(4450),I=M(2198),J=M(2821),se=M(4907),te=M(7314),L=M(5379);function X(U,re){const Y=arguments.length>=2;return Q=>Q.pipe(U?(0,I.h)((q,ce)=>U(q,ce,Q)):L.y,(0,J.h)(1),Y?(0,te.d)(re):(0,se.T)(()=>new v.K))}},4850:(ke,ue,M)=>{M.d(ue,{U:()=>I});var v=M(3489);
1function I(te,L){return function(U){if("function"!=typeof te)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return U.lift(new J(te,L))}}class J{constructor(L,X){this.project=L,this.thisArg=X}call(L,X){return X.subscribe(new se(L,this.project,this.thisArg))}}class se extends v.L{constructor(L,X,U){super(L),this.project=X,this.count=0,this.thisArg=U||this}_next(L){let X;try{X=this.project.call(this.thisArg,L,this.count++)}catch(U){return void this.destination.error(U)}this.destination.next(X)}}},7604:(ke,ue,M)=>{M.d(ue,{h:()=>I});var v=M(3489);function I(te){return L=>L.lift(new J(te))}class J{constructor(L){this.value=L}call(L,X){return X.subscribe(new se(L,this.value))}}class se extends v.L{constructor(L,X){super(L),this.value=X}_next(L){this.destination.next(this.value)}}},9146:(ke,ue,M)=>{M.d(ue,{J:()=>J});var v=M(1709),I=M(5379);function J(se=Number.POSITIVE_INFINITY){return(0,v.zg)(I.y,se)}},1709:(ke,ue,M)=>{M.d(ue,{zg:()=>L});var v=M(9054),I=M(826),J=M(1869),se=M(4850),te=M(5254);function L(re,Y,Q=Number.POSITIVE_INFINITY){return"function"==typeof Y?q=>q.pipe(L((ce,Me)=>(0,te.D)(re(ce,Me)).pipe((0,se.U)((he,ie)=>Y(ce,he,Me,ie))),Q)):("number"==typeof Y&&(Q=Y),q=>q.lift(new X(re,Q)))}class X{constructor(Y,Q=Number.POSITIVE_INFINITY){this.project=Y,this.concurrent=Q}call(Y,Q){return Q.subscribe(new U(Y,this.project,this.concurrent))}}class U extends I.L{constructor(Y,Q,q=Number.POSITIVE_INFINITY){super(Y),this.project=Q,this.concurrent=q,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(Y){this.active<this.concurrent?this._tryNext(Y):this.buffer.push(Y)}_tryNext(Y){let Q;const q=this.index++;try{Q=this.project(Y,q)}catch(ce){return void this.destination.error(ce)}this.active++,this._innerSub(Q,Y,q)}_innerSub(Y,Q,q){const ce=new J.d(this,Q,q),Me=this.destination;Me.add(ce);const he=(0,v.D)(this,Y,void 0,void 0,ce);he!==ce&&Me.add(he)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(Y,Q,q,ce,Me){this.destination.next(Q)}notifyComplete(Y){const Q=this.buffer;this.remove(Y),this.active--,Q.length>0?this._next(Q.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},7770:(ke,ue,M)=>{M.d(ue,{QV:()=>J,ht:()=>te});var v=M(3489),I=M(9312);function J(X,U=0){return function(Y){return Y.lift(new se(X,U))}}class se{constructor(U,re=0){this.scheduler=U,this.delay=re}call(U,re){return re.subscribe(new te(U,this.scheduler,this.delay))}}class te extends v.L{constructor(U,re,Y=0){super(U),this.scheduler=re,this.delay=Y}static dispatch(U){const{notification:re,destination:Y}=U;re.observe(Y),this.unsubscribe()}scheduleMessage(U){this.destination.add(this.scheduler.schedule(te.dispatch,this.delay,new L(U,this.destination)))}_next(U){this.scheduleMessage(I.P.createNext(U))}_error(U){this.scheduleMessage(I.P.createError(U)),this.unsubscribe()}_complete(){this.scheduleMessage(I.P.createComplete()),this.unsubscribe()}}class L{constructor(U,re){this.notification=U,this.destination=re}}},4327:(ke,ue,M)=>{M.d(ue,{x:()=>I});var v=M(3489);function I(){return function(L){return L.lift(new J(L))}}class J{constructor(L){this.connectable=L}call(L,X){const{connectable:U}=this;U._refCount++;const re=new se(L,U),Y=X.subscribe(re);return re.closed||(re.connection=U.connect()),Y}}class se extends v.L{constructor(L,X){super(L),this.connectable=X}_unsubscribe(){const{connectable:L}=this;if(!L)return void(this.connection=null);this.connectable=null;const X=L._refCount;if(X<=0)return void(this.connection=null);if(L._refCount=X-1,X>1)return void(this.connection=null);const{connection:U}=this,re=L._connection;this.connection=null,re&&(!U||re===U)&&re.unsubscribe()}}},2474:(ke,ue,M)=>{M.d(ue,{B:()=>X});var v=M(1762);class J{constructor(re,Y){this.subjectFactory=re,this.selector=Y}call(re,Y){const{selector:Q}=this,q=this.subjectFactory(),ce=Q(q).subscribe(re);return ce.add(Y.subscribe(q)),ce}}var se=M(4327),te=M(8929);function L(){return new te.xQ}function X(){return U=>(0,se.x)()(function I(U,re){return function(Q){let q;if(q="function"==typeof U?U:function(){return U},"function"==typeof re)return Q.lift(new J(q,re));const ce=Object.create(Q,v.N);return ce.source=Q,ce.subjectFactory=q,ce}}(L)(U))}},3803:(ke,ue,M)=>{M.d(ue,{d:()=>ce});var v=M(8929),I=M(6686),se=M(2268);const L=new class te extends se.v{}(class J extends I.o{constructor(ie,ae){super(ie,ae),this.scheduler
1=ie,this.work=ae}schedule(ie,ae=0){return ae>0?super.schedule(ie,ae):(this.delay=ae,this.state=ie,this.scheduler.flush(this),this)}execute(ie,ae){return ae>0||this.closed?super.execute(ie,ae):this._execute(ie,ae)}requestAsyncId(ie,ae,Ie=0){return null!==Ie&&Ie>0||null===Ie&&this.delay>0?super.requestAsyncId(ie,ae,Ie):ie.flush(this)}});var X=M(2654),U=M(7770),re=M(5279),Y=M(5283);class Q extends v.xQ{constructor(ie=Number.POSITIVE_INFINITY,ae=Number.POSITIVE_INFINITY,Ie){super(),this.scheduler=Ie,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=ie<1?1:ie,this._windowTime=ae<1?1:ae,ae===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(ie){const ae=this._events;ae.push(ie),ae.length>this._bufferSize&&ae.shift(),super.next(ie)}nextTimeWindow(ie){this._events.push(new q(this._getNow(),ie)),this._trimBufferThenGetEvents(),super.next(ie)}_subscribe(ie){const ae=this._infiniteTimeWindow,Ie=ae?this._events:this._trimBufferThenGetEvents(),it=this.scheduler,vt=Ie.length;let xe;if(this.closed)throw new re.N;if(this.isStopped||this.hasError?xe=X.w.EMPTY:(this.observers.push(ie),xe=new Y.W(this,ie)),it&&ie.add(ie=new U.ht(ie,it)),ae)for(let Ee=0;Ee<vt&&!ie.closed;Ee++)ie.next(Ie[Ee]);else for(let Ee=0;Ee<vt&&!ie.closed;Ee++)ie.next(Ie[Ee].value);return this.hasError?ie.error(this.thrownError):this.isStopped&&ie.complete(),xe}_getNow(){return(this.scheduler||L).now()}_trimBufferThenGetEvents(){const ie=this._getNow(),ae=this._bufferSize,Ie=this._windowTime,it=this._events,vt=it.length;let xe=0;for(;xe<vt&&!(ie-it[xe].time<Ie);)xe++;return vt>ae&&(xe=Math.max(xe,vt-ae)),xe>0&&it.splice(0,xe),it}}class q{constructor(ie,ae){this.time=ie,this.value=ae}}function ce(he,ie,ae){let Ie;return Ie=he&&"object"==typeof he?he:{bufferSize:he,windowTime:ie,refCount:!1,scheduler:ae},it=>it.lift(function Me({bufferSize:he=Number.POSITIVE_INFINITY,windowTime:ie=Number.POSITIVE_INFINITY,refCount:ae,scheduler:Ie}){let it,xe,vt=0,Ee=!1,qe=!1;return function(Fe){vt++,(!it||Ee)&&(Ee=!1,it=new Q(he,ie,Ie),xe=Fe.subscribe({next(Ae){it.next(Ae)},error(Ae){Ee=!0,it.error(Ae)},complete(){qe=!0,xe=void 0,it.complete()}}));const Ct=it.subscribe(this);this.add(()=>{vt--,Ct.unsubscribe(),xe&&!qe&&ae&&0===vt&&(xe.unsubscribe(),xe=void 0,it=void 0)})}}(Ie))}},1059:(ke,ue,M)=>{M.d(ue,{O:()=>J});var v=M(1221),I=M(2866);function J(...se){const te=se[se.length-1];return(0,I.K)(te)?(se.pop(),L=>(0,v.z)(se,L,te)):L=>(0,v.z)(se,L)}},7545:(ke,ue,M)=>{M.d(ue,{w:()=>L});var v=M(826),I=M(1869),J=M(9054),se=M(4850),te=M(5254);function L(re,Y){return"function"==typeof Y?Q=>Q.pipe(L((q,ce)=>(0,te.D)(re(q,ce)).pipe((0,se.U)((Me,he)=>Y(q,Me,ce,he))))):Q=>Q.lift(new X(re))}class X{constructor(Y){this.project=Y}call(Y,Q){return Q.subscribe(new U(Y,this.project))}}class U extends v.L{constructor(Y,Q){super(Y),this.project=Q,this.index=0}_next(Y){let Q;const q=this.index++;try{Q=this.project(Y,q)}catch(ce){return void this.destination.error(ce)}this._innerSub(Q,Y,q)}_innerSub(Y,Q,q){const ce=this.innerSubscription;ce&&ce.unsubscribe();const Me=new I.d(this,Q,q),he=this.destination;he.add(Me),this.innerSubscription=(0,J.D)(this,Y,void 0,void 0,Me),this.innerSubscription!==Me&&he.add(this.innerSubscription)}_complete(){const{innerSubscription:Y}=this;(!Y||Y.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(Y){this.destination.remove(Y),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(Y,Q,q,ce,Me){this.destination.next(Q)}}},2986:(ke,ue,M)=>{M.d(ue,{q:()=>se});var v=M(3489),I=M(4231),J=M(8896);function se(X){return U=>0===X?(0,J.c)():U.lift(new te(X))}class te{constructor(U){if(this.total=U,this.total<0)throw new I.W}call(U,re){return re.subscribe(new L(U,this.total))}}class L extends v.L{constructor(U,re){super(U),this.total=re,this.count=0}_next(U){const re=this.total,Y=++this.count;Y<=re&&(this.destination.next(U),Y===re&&(this.destination.complete(),this.unsubscribe()))}}},2821:(ke,ue,M)=>{M.d(ue,{h:()=>se});var v=M(3489),I=M(4231),J=M(8896);function se(X){return function(re){return 0===X?(0,J.c)():re.lift(new te(X))}}class te{constructor(U){if(this.total=U,this.total<0)throw new I.W}call(U,re){return re.subscribe(new L(U,this.total))}}class L extends v.L{constructor(U,re){super(U),this.total=re,this.ring=new Array,this.count=0}_next(U){const re=this.ring,Y=this.total,Q=this.count++;re.length<Y?re.push(U):re[Q%Y]=U}_complete(){const U=this.destination;let re=this.count;if(re>0){const Y=this.count>=this.total?this.total:this.count,Q=this.ring;for(let q=0;q<Y;q++){const ce=re++%Y;U.next(Q[ce])}}U.complete()}}},7625:(ke,ue,M)=>{M.d(ue,{R:()=>J});var v=M(826),I=M(9054);function J(L){return X=>X.lift(new se(L))}class se{constructor(X){this.notifier=X}call(X,U){const re=new te(X),Y=(0,I.D)(re,this.notifier);return Y&&!re.seenValue?(re.add(Y),U.subscribe(re)):re}}class te extends v.L{constructor(X){super(X),this.seenValue=!1}notifyNext(X,U,re,Y,Q){this.seenValue=!0,this.complete()}notifyComplete(){}}},2994:(ke,ue,M)=>{M.d(ue,{b:()=>se});var v=M(3489),I=M(7876),J=M(7043);function se(X,U,re){return function(Q){return Q.lift(new te(X,U,re))}}class te{constructor(U,re,Y){this.nextOrObserver=U,this.error=re,this.complete=Y}call(U,re){return re.subscribe(new L(U,this.nextOrObserver,this.error,this.complete))}}class L extends v.L{constructor(U,re,Y,Q){super(U),this._tapNext=I.Z,this._tapError=I.Z,this._tapComplete=I.Z,this._tapError=Y||I.Z,this._tapComplete=Q||I.Z,(0,J.m)(re)?(this._context=this,this._tapNext=re):re&&(this._context=re,this._tapNext=re.next||I.Z,this._tapError=re.error||I.Z,this._tapComplete=re.complete||I.Z)}_next(U){try{this._tapNext.call(this._context,U)}catch(re){return void this.destination.error(re)}this.destination.next(U)}_error(U){try{this._tapError.call(this._context,U)}catch(re){return void this.destination.error(re)}this.destination.error(U)}_complete(){try{this._tapComplete.call(this._context)}catch(U){return void this.destination.error(U)}return this.destination.complete()}}},4907:(ke,ue,M)=>{M.d(ue,{T:()=>J});var v=M(4450),I=M(3489);function J(X=L){return U=>U.lift(new se(X))}class se{constructor(U){this.errorFactory=U}
1call(U,re){return re.subscribe(new te(U,this.errorFactory))}}class te extends I.L{constructor(U,re){super(U),this.errorFactory=re,this.hasValue=!1}_next(U){this.hasValue=!0,this.destination.next(U)}_complete(){if(this.hasValue)return this.destination.complete();{let U;try{U=this.errorFactory()}catch(re){U=re}this.destination.error(U)}}}function L(){return new v.K}},6454:(ke,ue,M)=>{M.d(ue,{r:()=>J});var v=M(6498),I=M(2654);function J(se,te){return new v.y(L=>{const X=new I.w;let U=0;return X.add(te.schedule(function(){U!==se.length?(L.next(se[U++]),L.closed||X.add(this.schedule())):L.complete()})),X})}},6686:(ke,ue,M)=>{M.d(ue,{o:()=>J});var v=M(2654);class I extends v.w{constructor(te,L){super()}schedule(te,L=0){return this}}class J extends I{constructor(te,L){super(te,L),this.scheduler=te,this.work=L,this.pending=!1}schedule(te,L=0){if(this.closed)return this;this.state=te;const X=this.id,U=this.scheduler;return null!=X&&(this.id=this.recycleAsyncId(U,X,L)),this.pending=!0,this.delay=L,this.id=this.id||this.requestAsyncId(U,this.id,L),this}requestAsyncId(te,L,X=0){return setInterval(te.flush.bind(te,this),X)}recycleAsyncId(te,L,X=0){if(null!==X&&this.delay===X&&!1===this.pending)return L;clearInterval(L)}execute(te,L){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const X=this._execute(te,L);if(X)return X;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(te,L){let U,X=!1;try{this.work(te)}catch(re){X=!0,U=!!re&&re||new Error(re)}if(X)return this.unsubscribe(),U}_unsubscribe(){const te=this.id,L=this.scheduler,X=L.actions,U=X.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==U&&X.splice(U,1),null!=te&&(this.id=this.recycleAsyncId(L,te,null)),this.delay=null}}},2268:(ke,ue,M)=>{M.d(ue,{v:()=>I});let v=(()=>{class J{constructor(te,L=J.now){this.SchedulerAction=te,this.now=L}schedule(te,L=0,X){return new this.SchedulerAction(this,te).schedule(X,L)}}return J.now=()=>Date.now(),J})();class I extends v{constructor(se,te=v.now){super(se,()=>I.delegate&&I.delegate!==this?I.delegate.now():te()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(se,te=0,L){return I.delegate&&I.delegate!==this?I.delegate.schedule(se,te,L):super.schedule(se,te,L)}flush(se){const{actions:te}=this;if(this.active)return void te.push(se);let L;this.active=!0;do{if(L=se.execute(se.state,se.delay))break}while(se=te.shift());if(this.active=!1,L){for(;se=te.shift();)se.unsubscribe();throw L}}}},5430:(ke,ue,M)=>{M.d(ue,{hZ:()=>I});const I=function v(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3821:(ke,ue,M)=>{M.d(ue,{L:()=>v});const v="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(ke,ue,M)=>{M.d(ue,{b:()=>v});const v="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(ke,ue,M)=>{M.d(ue,{W:()=>I});const I=(()=>{function J(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return J.prototype=Object.create(Error.prototype),J})()},4450:(ke,ue,M)=>{M.d(ue,{K:()=>I});const I=(()=>{function J(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return J.prototype=Object.create(Error.prototype),J})()},5279:(ke,ue,M)=>{M.d(ue,{N:()=>I});const I=(()=>{function J(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return J.prototype=Object.create(Error.prototype),J})()},2782:(ke,ue,M)=>{function v(I){setTimeout(()=>{throw I},0)}M.d(ue,{z:()=>v})},5379:(ke,ue,M)=>{function v(I){return I}M.d(ue,{y:()=>v})},6688:(ke,ue,M)=>{M.d(ue,{k:()=>v});const v=Array.isArray||(I=>I&&"number"==typeof I.length)},8515:(ke,ue,M)=>{M.d(ue,{z:()=>v});const v=I=>I&&"number"==typeof I.length&&"function"!=typeof I},7043:(ke,ue,M)=>{function v(I){return"function"==typeof I}M.d(ue,{m:()=>v})},7830:(ke,ue,M)=>{function v(I){return null!==I&&"object"==typeof I}M.d(ue,{K:()=>v})},8955:(ke,ue,M)=>{function v(I){return!!I&&"function"!=typeof I.subscribe&&"function"==typeof I.then}M.d(ue,{t:()=>v})},2866:(ke,ue,M)=>
1{function v(I){return I&&"function"==typeof I.schedule}M.d(ue,{K:()=>v})},7876:(ke,ue,M)=>{function v(){}M.d(ue,{Z:()=>v})},4843:(ke,ue,M)=>{M.d(ue,{U:()=>J,z:()=>I});var v=M(5379);function I(...se){return J(se)}function J(se){return 0===se.length?v.y:1===se.length?se[0]:function(L){return se.reduce((X,U)=>U(X),L)}}},9249:(ke,ue,M)=>{M.d(ue,{s:()=>Q});var v=M(3650),I=M(2782),se=M(5430),L=M(3821),U=M(8515),re=M(8955),Y=M(7830);const Q=q=>{if(q&&"function"==typeof q[L.L])return(q=>ce=>{const Me=q[L.L]();if("function"!=typeof Me.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return Me.subscribe(ce)})(q);if((0,U.z)(q))return(0,v.V)(q);if((0,re.t)(q))return(q=>ce=>(q.then(Me=>{ce.closed||(ce.next(Me),ce.complete())},Me=>ce.error(Me)).then(null,I.z),ce))(q);if(q&&"function"==typeof q[se.hZ])return(q=>ce=>{const Me=q[se.hZ]();for(;;){const he=Me.next();if(he.done){ce.complete();break}if(ce.next(he.value),ce.closed)break}return"function"==typeof Me.return&&ce.add(()=>{Me.return&&Me.return()}),ce})(q);{const Me=`You provided ${(0,Y.K)(q)?"an invalid object":`'${q}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(Me)}}},3650:(ke,ue,M)=>{M.d(ue,{V:()=>v});const v=I=>J=>{for(let se=0,te=I.length;se<te&&!J.closed;se++)J.next(I[se]);J.complete()}},9054:(ke,ue,M)=>{M.d(ue,{D:()=>se});var v=M(1869),I=M(9249),J=M(6498);function se(te,L,X,U,re=new v.d(te,X,U)){if(!re.closed)return L instanceof J.y?L.subscribe(re):(0,I.s)(L)(re)}},7340:(ke,ue,M)=>{M.d(ue,{LC:()=>I,ZE:()=>it,ZN:()=>Ie,_j:()=>v,jt:()=>te,k1:()=>vt,l3:()=>J,oB:()=>U,vP:()=>X});class v{}class I{}const J="*";function te(xe,Ee=null){return{type:4,styles:Ee,timings:xe}}function X(xe,Ee=null){return{type:2,steps:xe,options:Ee}}function U(xe){return{type:6,styles:xe,offset:null}}function ae(xe){Promise.resolve().then(xe)}class Ie{constructor(Ee=0,qe=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=Ee+qe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Ee=>Ee()),this._onDoneFns=[])}onStart(Ee){this._originalOnStartFns.push(Ee),this._onStartFns.push(Ee)}onDone(Ee){this._originalOnDoneFns.push(Ee),this._onDoneFns.push(Ee)}onDestroy(Ee){this._onDestroyFns.push(Ee)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ae(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(Ee=>Ee()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(Ee=>Ee()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(Ee){this._position=this.totalTime?Ee*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(Ee){const qe="start"==Ee?this._onStartFns:this._onDoneFns;qe.forEach(pt=>pt()),qe.length=0}}class it{constructor(Ee){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=Ee;let qe=0,pt=0,Fe=0;const Ct=this.players.length;0==Ct?ae(()=>this._onFinish()):this.players.forEach(Ae=>{Ae.onDone(()=>{++qe==Ct&&this._onFinish()}),Ae.onDestroy(()=>{++pt==Ct&&this._onDestroy()}),Ae.onStart(()=>{++Fe==Ct&&this._onStart()})}),this.totalTime=this.players.reduce((Ae,dt)=>Math.max(Ae,dt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Ee=>Ee()),this._onDoneFns=[])}init(){this.players.forEach(Ee=>Ee.init())}onStart(Ee){this._onStartFns.push(Ee)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(Ee=>Ee()),this._onStartFns=[])}onDone(Ee){this._onDoneFns.push(Ee)}onDestroy(Ee){this._onDestroyFns.push(Ee)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEac
1h(Ee=>Ee.play())}pause(){this.players.forEach(Ee=>Ee.pause())}restart(){this.players.forEach(Ee=>Ee.restart())}finish(){this._onFinish(),this.players.forEach(Ee=>Ee.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(Ee=>Ee.destroy()),this._onDestroyFns.forEach(Ee=>Ee()),this._onDestroyFns=[])}reset(){this.players.forEach(Ee=>Ee.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(Ee){const qe=Ee*this.totalTime;this.players.forEach(pt=>{const Fe=pt.totalTime?Math.min(1,qe/pt.totalTime):1;pt.setPosition(Fe)})}getPosition(){const Ee=this.players.reduce((qe,pt)=>null===qe||pt.totalTime>qe.totalTime?pt:qe,null);return null!=Ee?Ee.getPosition():0}beforeDestroy(){this.players.forEach(Ee=>{Ee.beforeDestroy&&Ee.beforeDestroy()})}triggerCallback(Ee){const qe="start"==Ee?this._onStartFns:this._onDoneFns;qe.forEach(pt=>pt()),qe.length=0}}const vt="!"},6895:(ke,ue,M)=>{M.d(ue,{Do:()=>vt,EM:()=>Vn,HT:()=>te,JF:()=>ui,JJ:()=>Ai,K0:()=>X,Mn:()=>We,Mx:()=>wi,NF:()=>Pi,O5:()=>Jt,Ov:()=>zr,PC:()=>cs,PM:()=>li,S$:()=>ae,Tn:()=>st,Ts:()=>Ii,UT:()=>Ge,V_:()=>Y,Ye:()=>xe,Zx:()=>Ri,b0:()=>it,bD:()=>Yr,ez:()=>gs,lw:()=>U,mk:()=>xt,ol:()=>$n,p6:()=>ye,q:()=>J,sg:()=>mr,tP:()=>ds,w_:()=>L,x:()=>dt});var v=M(4650);let I=null;function J(){return I}function te(p){I||(I=p)}class L{}const X=new v.OlP("DocumentToken");let U=(()=>{class p{historyGo(y){throw new Error("Not implemented")}}return p.\u0275fac=function(y){return new(y||p)},p.\u0275prov=v.Yz7({token:p,factory:function(){return function re(){return(0,v.LFG)(Q)}()},providedIn:"platform"}),p})();const Y=new v.OlP("Location Initialized");let Q=(()=>{class p extends U{constructor(y){super(),this._doc=y,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return J().getBaseHref(this._doc)}onPopState(y){const P=J().getGlobalEventTarget(this._doc,"window");return P.addEventListener("popstate",y,!1),()=>P.removeEventListener("popstate",y)}onHashChange(y){const P=J().getGlobalEventTarget(this._doc,"window");return P.addEventListener("hashchange",y,!1),()=>P.removeEventListener("hashchange",y)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(y){this.location.pathname=y}pushState(y,P,K){q()?this._history.pushState(y,P,K):this.location.hash=K}replaceState(y,P,K){q()?this._history.replaceState(y,P,K):this.location.hash=K}forward(){this._history.forward()}back(){this._history.back()}historyGo(y=0){this._history.go(y)}getState(){return this._history.state}}return p.\u0275fac=function(y){return new(y||p)(v.LFG(X))},p.\u0275prov=v.Yz7({token:p,factory:function(){return function ce(){return new Q((0,v.LFG)(X))}()},providedIn:"platform"}),p})();function q(){return!!window.history.pushState}function Me(p,T){if(0==p.length)return T;if(0==T.length)return p;let y=0;return p.endsWith("/")&&y++,T.startsWith("/")&&y++,2==y?p+T.substring(1):1==y?p+T:p+"/"+T}function he(p){const T=p.match(/#|\?|$/),y=T&&T.index||p.length;return p.slice(0,y-("/"===p[y-1]?1:0))+p.slice(y)}function ie(p){return p&&"?"!==p[0]?"?"+p:p}let ae=(()=>{class p{historyGo(y){throw new Error("Not implemented")}}return p.\u0275fac=function(y){return new(y||p)},p.\u0275prov=v.Yz7({token:p,factory:function(){return(0,v.f3M)(it)},providedIn:"root"}),p})();const Ie=new v.OlP("appBaseHref");let it=(()=>{class p extends ae{constructor(y,P){super(),this._platformLocation=y,this._removeListenerFns=[],this._baseHref=P??this._platformLocation.getBaseHrefFromDOM()??(0,v.f3M)(X).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(y){this._removeListenerFns.push(this._platformLocation.onPopState(y),this._platformLocation.onHashChange(y))}getBaseHref(){return this._baseHref}prepareExternalUrl(y){return Me(this._baseHref,y)}path(y=!1){const P=this._platformLocation.pathname+ie(this._platformLocation.search),K=this._platformLocation.hash;return K&&y?`${P}${K}`:P}pushState(y,P,K,le){const pe=this.prepareExternalUrl(K+ie(le));this._platformLocation.pushState(y,P,pe)}replaceState(y,P,K,le){const pe=this.prepareExternalUrl(K+ie(le));this._platformLocation.replaceState(y,P,pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(y=0){this._platformLocation.historyGo?.(y)}}
1return p.\u0275fac=function(y){return new(y||p)(v.LFG(U),v.LFG(Ie,8))},p.\u0275prov=v.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})(),vt=(()=>{class p extends ae{constructor(y,P){super(),this._platformLocation=y,this._baseHref="",this._removeListenerFns=[],null!=P&&(this._baseHref=P)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(y){this._removeListenerFns.push(this._platformLocation.onPopState(y),this._platformLocation.onHashChange(y))}getBaseHref(){return this._baseHref}path(y=!1){let P=this._platformLocation.hash;return null==P&&(P="#"),P.length>0?P.substring(1):P}prepareExternalUrl(y){const P=Me(this._baseHref,y);return P.length>0?"#"+P:P}pushState(y,P,K,le){let pe=this.prepareExternalUrl(K+ie(le));0==pe.length&&(pe=this._platformLocation.pathname),this._platformLocation.pushState(y,P,pe)}replaceState(y,P,K,le){let pe=this.prepareExternalUrl(K+ie(le));0==pe.length&&(pe=this._platformLocation.pathname),this._platformLocation.replaceState(y,P,pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(y=0){this._platformLocation.historyGo?.(y)}}return p.\u0275fac=function(y){return new(y||p)(v.LFG(U),v.LFG(Ie,8))},p.\u0275prov=v.Yz7({token:p,factory:p.\u0275fac}),p})(),xe=(()=>{class p{constructor(y){this._subject=new v.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=y;const P=this._locationStrategy.getBaseHref();this._baseHref=he(pt(P)),this._locationStrategy.onPopState(K=>{this._subject.emit({url:this.path(!0),pop:!0,state:K.state,type:K.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(y=!1){return this.normalize(this._locationStrategy.path(y))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(y,P=""){return this.path()==this.normalize(y+ie(P))}normalize(y){return p.stripTrailingSlash(function qe(p,T){return p&&T.startsWith(p)?T.substring(p.length):T}(this._baseHref,pt(y)))}prepareExternalUrl(y){return y&&"/"!==y[0]&&(y="/"+y),this._locationStrategy.prepareExternalUrl(y)}go(y,P="",K=null){this._locationStrategy.pushState(K,"",y,P),this._notifyUrlChangeListeners(this.prepareExternalUrl(y+ie(P)),K)}replaceState(y,P="",K=null){this._locationStrategy.replaceState(K,"",y,P),this._notifyUrlChangeListeners(this.prepareExternalUrl(y+ie(P)),K)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(y=0){this._locationStrategy.historyGo?.(y)}onUrlChange(y){return this._urlChangeListeners.push(y),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(P=>{this._notifyUrlChangeListeners(P.url,P.state)})),()=>{const P=this._urlChangeListeners.indexOf(y);this._urlChangeListeners.splice(P,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(y="",P){this._urlChangeListeners.forEach(K=>K(y,P))}subscribe(y,P,K){return this._subject.subscribe({next:y,error:P,complete:K})}}return p.normalizeQueryParams=ie,p.joinWithSlash=Me,p.stripTrailingSlash=he,p.\u0275fac=function(y){return new(y||p)(v.LFG(ae))},p.\u0275prov=v.Yz7({token:p,factory:function(){return function Ee(){return new xe((0,v.LFG)(ae))}()},providedIn:"root"}),p})();function pt(p){return p.replace(/\/index.html$/,"")}var Ct=(()=>((Ct=Ct||{})[Ct.Decimal=0]="Decimal",Ct[Ct.Percent=1]="Percent",Ct[Ct.Currency=2]="Currency",Ct[Ct.Scientific=3]="Scientific",Ct))(),dt=(()=>((dt=dt||{})[dt.Format=0]="Format",dt[dt.Standalone=1]="Standalone",dt))(),st=(()=>((st=st||{})[st.Narrow=0]="Narrow",st[st.Abbreviated=1]="Abbreviated",st[st.Wide=2]="Wide",st[st.Short=3]="Short",st))(),Ot=(()=>((Ot=Ot||{})[Ot.Short=0]="Short",Ot[Ot.Medium=1]="Medium",Ot[Ot.Long=2]="Long",Ot[Ot.Full=3]="Full",Ot))(),He=(()=>((He=He||{})[He.Decimal=0]="Decimal",He[He.Group=1]="Group",He[He.List=2]="List",He[He.PercentSign=3]="PercentSign",He[He.PlusSign=4]="PlusSign",He[He.MinusSign=5]="MinusSign",He[He.Exponential=6]="Exponential",He[He.SuperscriptingExponent=7]="SuperscriptingExponent",He[He.PerMille=8]="PerMille",He[He.Infinity=9]="Infinity",He[He.NaN=10]="NaN",He[He.TimeSeparator=11]="TimeSeparator",He[He.CurrencyDecimal=12]="CurrencyDecimal",He[He.CurrencyGroup=13]="CurrencyGroup",He))();function $n(p,T,y){const P=(0,v.cg1)(p),le=ze([P[v.wAp.DayPeriodsFormat],P[v.wAp.DayPeriodsStandalone]],T);return ze(le,y)}function We(p,T,y){const P=(0,v.cg1)(p),le=ze([P[v.wAp.DaysFormat],P[v.wAp.DaysStandalone]],T);return ze(le,y)}function Ge(p,T,y){const P=(0,v.cg1)(p),le=ze([P[v.wAp.MonthsFormat],P[v.wAp.MonthsStandalone]],T);return ze(le,y)}function jn(p,T){return ze((0,v.cg1)(p)[v.wAp.DateFormat],T)}function Qe(p,T){return ze((0,v.cg1)(p)[v.wAp.TimeFormat],T)}function Yn(p,T){return ze((0,v.cg1)(p)[v.wAp.DateTimeFormat],T)}function Gt(p,T){const y=(0,v.cg1)(p),P=y[v.wAp.NumberSymbols][T];if(typeof P>
1"u"){if(T===He.CurrencyDecimal)return y[v.wAp.NumberSymbols][He.Decimal];if(T===He.CurrencyGroup)return y[v.wAp.NumberSymbols][He.Group]}return P}function Xt(p,T){return(0,v.cg1)(p)[v.wAp.NumberFormats][T]}function Rn(p){if(!p[v.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${p[v.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ze(p,T){for(let y=T;y>-1;y--)if(typeof p[y]<"u")return p[y];throw new Error("Locale data API: locale data undefined")}function gr(p){const[T,y]=p.split(":");return{hours:+T,minutes:+y}}const Ei=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,It={},ve=/((?:[^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 Z=(()=>((Z=Z||{})[Z.Short=0]="Short",Z[Z.ShortGMT=1]="ShortGMT",Z[Z.Long=2]="Long",Z[Z.Extended=3]="Extended",Z))(),H=(()=>((H=H||{})[H.FullYear=0]="FullYear",H[H.Month=1]="Month",H[H.Date=2]="Date",H[H.Hours=3]="Hours",H[H.Minutes=4]="Minutes",H[H.Seconds=5]="Seconds",H[H.FractionalSeconds=6]="FractionalSeconds",H[H.Day=7]="Day",H))(),de=(()=>((de=de||{})[de.DayPeriods=0]="DayPeriods",de[de.Days=1]="Days",de[de.Months=2]="Months",de[de.Eras=3]="Eras",de))();function ye(p,T,y,P){let K=function Vt(p){if(Mn(p))return p;if("number"==typeof p&&!isNaN(p))return new Date(p);if("string"==typeof p){if(p=p.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(p)){const[K,le=1,pe=1]=p.split("-").map(Be=>+Be);return Re(K,le-1,pe)}const y=parseFloat(p);if(!isNaN(p-y))return new Date(y);let P;if(P=p.match(Ei))return function Kt(p){const T=new Date(0);let y=0,P=0;const K=p[8]?T.setUTCFullYear:T.setFullYear,le=p[8]?T.setUTCHours:T.setHours;p[9]&&(y=Number(p[9]+p[10]),P=Number(p[9]+p[11])),K.call(T,Number(p[1]),Number(p[2])-1,Number(p[3]));const pe=Number(p[4]||0)-y,Be=Number(p[5]||0)-P,Ut=Number(p[6]||0),et=Math.floor(1e3*parseFloat("0."+(p[7]||0)));return le.call(T,pe,Be,Ut,et),T}(P)}const T=new Date(p);if(!Mn(T))throw new Error(`Unable to convert "${p}" into a date`);return T}(p);T=ot(y,T)||T;let Be,pe=[];for(;T;){if(Be=ve.exec(T),!Be){pe.push(T);break}{pe=pe.concat(Be.slice(1));const jt=pe.pop();if(!jt)break;T=jt}}let Ut=K.getTimezoneOffset();P&&(Ut=Pn(P,Ut),K=function Mt(p,T,y){const P=y?-1:1,K=p.getTimezoneOffset();return function Nr(p,T){return(p=new Date(p.getTime())).setMinutes(p.getMinutes()+T),p}(p,P*(Pn(T,K)-K))}(K,P,!0));let et="";return pe.forEach(jt=>{const At=function Or(p){if(Jn[p])return Jn[p];let T;switch(p){case"G":case"GG":case"GGG":T=ct(de.Eras,st.Abbreviated);break;case"GGGG":T=ct(de.Eras,st.Wide);break;case"GGGGG":T=ct(de.Eras,st.Narrow);break;case"y":T=St(H.FullYear,1,0,!1,!0);break;case"yy":T=St(H.FullYear,2,0,!0,!0);break;case"yyy":T=St(H.FullYear,3,0,!1,!0);break;case"yyyy":T=St(H.FullYear,4,0,!1,!0);break;case"Y":T=ln(1);break;case"YY":T=ln(2,!0);break;case"YYY":T=ln(3);break;case"YYYY":T=ln(4);break;case"M":case"L":T=St(H.Month,1,1);break;case"MM":case"LL":T=St(H.Month,2,1);break;case"MMM":T=ct(de.Months,st.Abbreviated);break;case"MMMM":T=ct(de.Months,st.Wide);break;case"MMMMM":T=ct(de.Months,st.Narrow);break;case"LLL":T=ct(de.Months,st.Abbreviated,dt.Standalone);break;case"LLLL":T=ct(de.Months,st.Wide,dt.Standalone);break;case"LLLLL":T=ct(de.Months,st.Narrow,dt.Standalone);break;case"w":T=vn(1);break;case"ww":T=vn(2);break;case"W":T=vn(1,!0);break;case"d":T=St(H.Date,1);break;case"dd":T=St(H.Date,2);break;case"c":case"cc":T=St(H.Day,1);break;case"ccc":T=ct(de.Days,st.Abbreviated,dt.Standalone);break;
1case"cccc":T=ct(de.Days,st.Wide,dt.Standalone);break;case"ccccc":T=ct(de.Days,st.Narrow,dt.Standalone);break;case"cccccc":T=ct(de.Days,st.Short,dt.Standalone);break;case"E":case"EE":case"EEE":T=ct(de.Days,st.Abbreviated);break;case"EEEE":T=ct(de.Days,st.Wide);break;case"EEEEE":T=ct(de.Days,st.Narrow);break;case"EEEEEE":T=ct(de.Days,st.Short);break;case"a":case"aa":case"aaa":T=ct(de.DayPeriods,st.Abbreviated);break;case"aaaa":T=ct(de.DayPeriods,st.Wide);break;case"aaaaa":T=ct(de.DayPeriods,st.Narrow);break;case"b":case"bb":case"bbb":T=ct(de.DayPeriods,st.Abbreviated,dt.Standalone,!0);break;case"bbbb":T=ct(de.DayPeriods,st.Wide,dt.Standalone,!0);break;case"bbbbb":T=ct(de.DayPeriods,st.Narrow,dt.Standalone,!0);break;case"B":case"BB":case"BBB":T=ct(de.DayPeriods,st.Abbreviated,dt.Format,!0);break;case"BBBB":T=ct(de.DayPeriods,st.Wide,dt.Format,!0);break;case"BBBBB":T=ct(de.DayPeriods,st.Narrow,dt.Format,!0);break;case"h":T=St(H.Hours,1,-12);break;case"hh":T=St(H.Hours,2,-12);break;case"H":T=St(H.Hours,1);break;case"HH":T=St(H.Hours,2);break;case"m":T=St(H.Minutes,1);break;case"mm":T=St(H.Minutes,2);break;case"s":T=St(H.Seconds,1);break;case"ss":T=St(H.Seconds,2);break;case"S":T=St(H.FractionalSeconds,1);break;case"SS":T=St(H.FractionalSeconds,2);break;case"SSS":T=St(H.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":T=Dt(Z.Short);break;case"ZZZZZ":T=Dt(Z.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":T=Dt(Z.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":T=Dt(Z.Long);break;default:return null}return Jn[p]=T,T}(jt);et+=At?At(K,y,Ut):"''"===jt?"'":jt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),et}function Re(p,T,y){const P=new Date(0);return P.setFullYear(p,T,y),P.setHours(0,0,0),P}function ot(p,T){const y=function Rr(p){return(0,v.cg1)(p)[v.wAp.LocaleId]}(p);if(It[y]=It[y]||{},It[y][T])return It[y][T];let P="";switch(T){case"shortDate":P=jn(p,Ot.Short);break;case"mediumDate":P=jn(p,Ot.Medium);break;case"longDate":P=jn(p,Ot.Long);break;case"fullDate":P=jn(p,Ot.Full);break;case"shortTime":P=Qe(p,Ot.Short);break;case"mediumTime":P=Qe(p,Ot.Medium);break;case"longTime":P=Qe(p,Ot.Long);break;case"fullTime":P=Qe(p,Ot.Full);break;case"short":const K=ot(p,"shortTime"),le=ot(p,"shortDate");P=Nt(Yn(p,Ot.Short),[K,le]);break;case"medium":const pe=ot(p,"mediumTime"),Be=ot(p,"mediumDate");P=Nt(Yn(p,Ot.Medium),[pe,Be]);break;case"long":const Ut=ot(p,"longTime"),et=ot(p,"longDate");P=Nt(Yn(p,Ot.Long),[Ut,et]);break;case"full":const jt=ot(p,"fullTime"),At=ot(p,"fullDate");P=Nt(Yn(p,Ot.Full),[jt,At])}return P&&(It[y][T]=P),P}function Nt(p,T){return T&&(p=p.replace(/\{([^}]+)}/g,function(y,P){return null!=T&&P in T?T[P]:y})),p}function Te(p,T,y="-",P,K){let le="";(p<0||K&&p<=0)&&(K?p=1-p:(p=-p,le=y));let pe=String(p);for(;pe.length<T;)pe="0"+pe;return P&&(pe=pe.slice(pe.length-T)),le+pe}function St(p,T,y=0,P=!1,K=!1){return function(le,pe){let Be=function dn(p,T){switch(p){case H.FullYear:return T.getFullYear();case H.Month:return T.getMonth();case H.Date:return T.getDate();case H.Hours:return T.getHours();case H.Minutes:return T.getMinutes();case H.Seconds:return T.getSeconds();case H.FractionalSeconds:return T.getMilliseconds();case H.Day:return T.getDay();default:throw new Error(`Unknown DateType value "${p}".`)}}(p,le);if((y>0||Be>-y)&&(Be+=y),p===H.Hours)0===Be&&-12===y&&(Be=12);else if(p===H.FractionalSeconds)return function Bt(p,T){return Te(p,3).substring(0,T)}(Be,T);const Ut=Gt(pe,He.MinusSign);return Te(Be,T,Ut,P,K)}}function ct(p,T,y=dt.Format,P=!1){return function(K,le){return function _t(p,T,y,P,K,le){switch(y){case de.Months:return Ge(T,K,P)[p.getMonth()];case de.Days:return We(T,K,P)[p.getDay()];case de.DayPeriods:const pe=p.getHours(),Be=p.getMinutes();if(le){const et=function qn(p){const T=(0,v.cg1)(p);return Rn(T),(T[v.wAp.ExtraData][2]||[]).map(P=>"string"==typeof P?gr(P):[gr(P[0]),gr(P[1])])}(T),jt=function qt(p,T,y){const P=(0,v.cg1)(p);Rn(P);const le=ze([P[v.wAp.ExtraData][0],P[v.wAp.ExtraData][1]],T)||[];return ze(le,y)||[]}(T,K,P),At=et.findIndex(tn=>{if(Array.isArray(tn)){const[kt,un]=tn,zn=pe>=kt.hours&&Be>=kt.minutes,Kn=pe<un.hours||pe===un.hours&&Be<un.minutes;if(kt.hours<un.hours){if(zn&&Kn)return!0}else if(zn||Kn)return!0}else if(tn.hours===pe&&tn.minutes===Be)return!0;return!1});if(-1!==At)return jt[At]}return $n(T,K,P)[pe<12?0:1];case de.Eras:return function De(p,T){return ze((0,v.cg1)(p)[v.wAp.Eras],T)}(T,P)[p.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${y}`)}}(K,le,p,T,y,P)}}function Dt(p){return function(T,y,P){const K=-1*P,le=Gt(y,He.MinusSign),pe=K>0?Math.floor(K/60):Math.ceil(K/60);switch(p){case Z.Short:return(K>
vendor: 5,492 bytes, line 1
1=0?"+":"")+Te(pe,2,le)+Te(Math.abs(K%60),2,le);case Z.ShortGMT:return"GMT"+(K>=0?"+":"")+Te(pe,1,le);case Z.Long:return"GMT"+(K>=0?"+":"")+Te(pe,2,le)+":"+Te(Math.abs(K%60),2,le);case Z.Extended:return 0===P?"Z":(K>=0?"+":"")+Te(pe,2,le)+":"+Te(Math.abs(K%60),2,le);default:throw new Error(`Unknown zone width "${p}"`)}}}function Zn(p){return Re(p.getFullYear(),p.getMonth(),p.getDate()+(4-p.getDay()))}function vn(p,T=!1){return function(y,P){let K;if(T){const le=new Date(y.getFullYear(),y.getMonth(),1).getDay()-1,pe=y.getDate();K=1+Math.floor((pe+le)/7)}else{const le=Zn(y),pe=function sn(p){const T=Re(p,0,1).getDay();return Re(p,0,1+(T<=4?4:11)-T)}(le.getFullYear()),Be=le.getTime()-pe.getTime();K=1+Math.round(Be/6048e5)}return Te(K,p,Gt(P,He.MinusSign))}}function ln(p,T=!1){return function(y,P){return Te(Zn(y).getFullYear(),p,Gt(P,He.MinusSign),T)}}const Jn={};function Pn(p,T){p=p.replace(/:/g,"");const y=Date.parse("Jan 01, 1970 00:00:00 "+p)/6e4;return isNaN(y)?T:y}function Mn(p){return p instanceof Date&&!isNaN(p.valueOf())}const hn=/^(\d+)?\.((\d+)(-(\d+))?)?$/,G=".",V="0";function k(p,T,y,P,K,le,pe=!1){let Be="",Ut=!1;if(isFinite(p)){let et=function Ue(p){let P,K,le,pe,Be,T=Math.abs(p)+"",y=0;for((K=T.indexOf(G))>-1&&(T=T.replace(G,"")),(le=T.search(/e/i))>0?(K<0&&(K=le),K+=+T.slice(le+1),T=T.substring(0,le)):K<0&&(K=T.length),le=0;T.charAt(le)===V;le++);if(le===(Be=T.length))P=[0],K=1;else{for(Be--;T.charAt(Be)===V;)Be--;for(K-=le,P=[],pe=0;le<=Be;le++,pe++)P[pe]=Number(T.charAt(le))}return K>22&&(P=P.splice(0,21),y=K-1,K=1),{digits:P,exponent:y,integerLen:K}}(p);pe&&(et=function be(p){if(0===p.digits[0])return p;const T=p.digits.length-p.integerLen;return p.exponent?p.exponent+=2:(0===T?p.digits.push(0,0):1===T&&p.digits.push(0),p.integerLen+=2),p}(et));let jt=T.minInt,At=T.minFrac,tn=T.maxFrac;if(le){const Mr=le.match(hn);if(null===Mr)throw new Error(`${le} is not a valid digit info`);const tr=Mr[1],Ir=Mr[3],bs=Mr[5];null!=tr&&(jt=je(tr)),null!=Ir&&(At=je(Ir)),null!=bs?tn=je(bs):null!=Ir&&At>tn&&(tn=At)}!function Et(p,T,y){if(T>y)throw new Error(`The minimum number of digits after fraction (${T}) is higher than the maximum (${y}).`);let P=p.digits,K=P.length-p.integerLen;const le=Math.min(Math.max(T,K),y);let pe=le+p.integerLen,Be=P[pe];if(pe>0){P.splice(Math.max(p.integerLen,pe));for(let At=pe;At<P.length;At++)P[At]=0}else{K=Math.max(0,K),p.integerLen=1,P.length=Math.max(1,pe=le+1),P[0]=0;for(let At=1;At<pe;At++)P[At]=0}if(Be>=5)if(pe-1<0){for(let At=0;At>pe;At--)P.unshift(0),p.integerLen++;P.unshift(1),p.integerLen++}else P[pe-1]++;for(;K<Math.max(0,le);K++)P.push(0);let Ut=0!==le;const et=T+p.integerLen,jt=P.reduceRight(function(At,tn,kt,un){return un[kt]=(tn+=At)<10?tn:tn-10,Ut&&(0===un[kt]&&kt>=et?un.pop():Ut=!1),tn>=10?1:0},0);jt&&(P.unshift(jt),p.integerLen++)}(et,At,tn);let kt=et.digits,un=et.integerLen;const zn=et.exponent;let Kn=[];for(Ut=kt.every(Mr=>!Mr);un<jt;un++)kt.unshift(0);for(;un<0;un++)kt.unshift(0);un>0?Kn=kt.splice(un,kt.length):(Kn=kt,kt=[0]);const Tr=[];for(kt.length>=T.lgSize&&Tr.unshift(kt.splice(-T.lgSize,kt.length).join(""));kt.length>T.gSize;)Tr.unshift(kt.splice(-T.gSize,kt.length).join(""));kt.length&&Tr.unshift(kt.join("")),Be=Tr.join(Gt(y,P)),Kn.length&&(Be+=Gt(y,K)+Kn.join("")),zn&&(Be+=Gt(y,He.Exponential)+"+"+zn)}else Be=Gt(y,He.Infinity);return Be=p<0&&!Ut?T.negPre+Be+T.negSuf:T.posPre+Be+T.posSuf,Be}function Ve(p,T="-"){const y={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},P=p.split(";"),K=P[0],le=P[1],pe=-1!==K.indexOf(G)?K.split(G):[K.substring(0,K.lastIndexOf(V)+1),K.substring(K.lastIndexOf(V)+1)],Be=pe[0],Ut=pe[1]||"";y.posPre=Be.substring(0,Be.indexOf("#"));for(let jt=0;jt<Ut.length;jt++){const At=Ut.charAt(jt);At===V?y.minFrac=y.maxFrac=jt+1:"#"===At?y.maxFrac=jt+1:y.posSuf+=At}const et=Be.split(",");if(y.gSize=et[1]?et[1].length:0,y.lgSize=et[2]||et[1]?(et[2]||et[1]).length:0,le){const jt=K.length-y.posPre.length-y.posSuf.length,At=le.indexOf("#");y.negPre=le.substring(0,At).replace(/'/g,""),y.negSuf=le.slice(At+jt).replace(/'/g,"")}else y.negPre=T+y.posPre,y.negSuf=y.posSuf;return y}function je(p){const T=parseInt(p);if(isNaN(T))throw new Error("Invalid integer literal when parsing "+p);return T}function wi(p,T){T=encodeURIComponent(T);for(const y of p.split(";")){const P=y.indexOf("="),[K,le]=-1==P?[y,""]:[y.slice(0,P),y.slice(P+1)];if(K.trim()===T)return decodeURIComponent(le)}return null}let xt=(()=>{class p{constructor(y,P,K,le){this._iterableDiffers=y,this._keyValueDiffers=P,this._ngEl=K,this._renderer=le,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(y){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof y?y.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(y){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof y?y.split(/\s+/):y,this._rawClass&&((0,v.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const y=this._iterableDiffer.diff(this._rawClass);y&&this._applyIterableChanges(y)}else if(this._keyValueDiffer){const y=this._keyValueDiffer.diff(this._rawClass);y&&this._applyKeyValueChanges(y)}}
1_applyKeyValueChanges(y){y.forEachAddedItem(P=>this._toggleClass(P.key,P.currentValue)),y.forEachChangedItem(P=>this._toggleClass(P.key,P.currentValue)),y.forEachRemovedItem(P=>{P.previousValue&&this._toggleClass(P.key,!1)})}_applyIterableChanges(y){y.forEachAddedItem(P=>{if("string"!=typeof P.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,v.AaK)(P.item)}`);this._toggleClass(P.item,!0)}),y.forEachRemovedItem(P=>this._toggleClass(P.item,!1))}_applyClasses(y){y&&(Array.isArray(y)||y instanceof Set?y.forEach(P=>this._toggleClass(P,!0)):Object.keys(y).forEach(P=>this._toggleClass(P,!!y[P])))}_removeClasses(y){y&&(Array.isArray(y)||y instanceof Set?y.forEach(P=>this._toggleClass(P,!1)):Object.keys(y).forEach(P=>this._toggleClass(P,!1)))}_toggleClass(y,P){(y=y.trim())&&y.split(/\s+/g).forEach(K=>{P?this._renderer.addClass(this._ngEl.nativeElement,K):this._renderer.removeClass(this._ngEl.nativeElement,K)})}}return p.\u0275fac=function(y){return new(y||p)(v.Y36(v.ZZ4),v.Y36(v.aQg),v.Y36(v.SBq),v.Y36(v.Qsj))},p.\u0275dir=v.lG2({type:p,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),p})();class bi{constructor(T,y,P,K){this.$implicit=T,this.ngForOf=y,this.index=P,this.count=K}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 mr=(()=>{class p{constructor(y,P,K){this._viewContainer=y,this._template=P,this._differs=K,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(y){this._ngForOf=y,this._ngForOfDirty=!0}set ngForTrackBy(y){this._trackByFn=y}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(y){y&&(this._template=y)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const y=this._ngForOf;!this._differ&&y&&(this._differ=this._differs.find(y).create(this.ngForTrackBy))}if(this._differ){const y=this._differ.diff(this._ngForOf);y&&this._applyChanges(y)}}_applyChanges(y){const P=this._viewContainer;
1y.forEachOperation((K,le,pe)=>{if(null==K.previousIndex)P.createEmbeddedView(this._template,new bi(K.item,this._ngForOf,-1,-1),null===pe?void 0:pe);else if(null==pe)P.remove(null===le?void 0:le);else if(null!==le){const Be=P.get(le);P.move(Be,pe),On(Be,K)}});for(let K=0,le=P.length;K<le;K++){const Be=P.get(K).context;Be.index=K,Be.count=le,Be.ngForOf=this._ngForOf}y.forEachIdentityChange(K=>{On(P.get(K.currentIndex),K)})}static ngTemplateContextGuard(y,P){return!0}}return p.\u0275fac=function(y){return new(y||p)(v.Y36(v.s_b),v.Y36(v.Rgc),v.Y36(v.ZZ4))},p.\u0275dir=v.lG2({type:p,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),p})();function On(p,T){p.context.$implicit=T.item}let Jt=(()=>{class p{constructor(y,P){this._viewContainer=y,this._context=new Si,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=P}set ngIf(y){this._context.$implicit=this._context.ngIf=y,this._updateView()}set ngIfThen(y){Sn("ngIfThen",y),this._thenTemplateRef=y,this._thenViewRef=null,this._updateView()}set ngIfElse(y){Sn("ngIfElse",y),this._elseTemplateRef=y,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(y,P){return!0}}return p.\u0275fac=function(y){return new(y||p)(v.Y36(v.s_b),v.Y36(v.Rgc))},p.\u0275dir=v.lG2({type:p,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),p})();class Si{constructor(){this.$implicit=null,this.ngIf=null}}function Sn(p,T){if(T&&!T.createEmbeddedView)throw new Error(`${p} must be a TemplateRef, but received '${(0,v.AaK)(T)}'.`)}let cs=(()=>{class p{constructor(y,P,K){this._ngEl=y,this._differs=P,this._renderer=K,this._ngStyle=null,this._differ=null}set ngStyle(y){this._ngStyle=y,!this._differ&&y&&(this._differ=this._differs.find(y).create())}ngDoCheck(){if(this._differ){const y=this._differ.diff(this._ngStyle);y&&this._applyChanges(y)}}_setStyle(y,P){const[K,le]=y.split("."),pe=-1===K.indexOf("-")?void 0:v.JOm.DashCase;null!=P?this._renderer.setStyle(this._ngEl.nativeElement,K,le?`${P}${le}`:P,pe):this._renderer.removeStyle(this._ngEl.nativeElement,K,pe)}_applyChanges(y){y.forEachRemovedItem(P=>this._setStyle(P.key,null)),y.forEachAddedItem(P=>this._setStyle(P.key,P.currentValue)),y.forEachChangedItem(P=>this._setStyle(P.key,P.currentValue))}}return p.\u0275fac=function(y){return new(y||p)(v.Y36(v.SBq),v.Y36(v.aQg),v.Y36(v.Qsj))},p.\u0275dir=v.lG2({type:p,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),p})(),ds=(()=>{class p{constructor(y){this._viewContainerRef=y,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(y){if(y.ngTemplateOutlet||y.ngTemplateOutletInjector){const P=this._viewContainerRef;if(this._viewRef&&P.remove(P.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:K,ngTemplateOutletContext:le,ngTemplateOutletInjector:pe}=this;this._viewRef=P.createEmbeddedView(K,le,pe?{injector:pe}:void 0)}else this._viewRef=null}else this._viewRef&&y.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return p.\u0275fac=function(y){return new(y||p)(v.Y36(v.s_b))},p.\u0275dir=v.lG2({type:p,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[v.TTD]}),p})();function ir(p,T){return new v.vHH(2100,!1)}class Ki{createSubscription(T,y){return T.subscribe({next:y,error:P=>{throw P}})}dispose(T){T.unsubscribe()}}class oo{createSubscription(T,y){return T.then(y,P=>{throw P})}dispose(T){}}const Ti=new oo,Mi=new Ki;let zr=(()=>{class p{constructor(y){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=y}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(y){return this._obj?y!==this._obj?(this._dispose(),this.transform(y)):this._latestValue:(y&&this._subscribe(y),this._latestValue)}_subscribe(y){this._obj=y,this._strategy=this._selectStrategy(y),this._subscription=this._strategy.createSubscription(y,P=>this._updateLatestValue(y,P))}_selectStrategy(y){if((0,v.QGY)(y))return Ti;if((0,v.F4k)(y))return Mi;throw ir()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(y,P){y===this._obj&&(this._latestValue=P,this._ref.markForCheck())}}
1return p.\u0275fac=function(y){return new(y||p)(v.Y36(v.sBO,16))},p.\u0275pipe=v.Yjl({name:"async",type:p,pure:!1,standalone:!0}),p})(),Ii=(()=>{class p{transform(y){return JSON.stringify(y,null,2)}}return p.\u0275fac=function(y){return new(y||p)},p.\u0275pipe=v.Yjl({name:"json",type:p,pure:!1,standalone:!0}),p})(),Ai=(()=>{class p{constructor(y){this._locale=y}transform(y,P,K){if(!Qi(y))return null;K=K||this._locale;try{return function we(p,T,y){return k(p,Ve(Xt(T,Ct.Decimal),Gt(T,He.MinusSign)),T,He.Group,He.Decimal,y)}(qi(y),K,P)}catch(le){throw ir()}}}return p.\u0275fac=function(y){return new(y||p)(v.Y36(v.soG,16))},p.\u0275pipe=v.Yjl({name:"number",type:p,pure:!0,standalone:!0}),p})(),Ri=(()=>{class p{constructor(y){this._locale=y}transform(y,P,K){if(!Qi(y))return null;K=K||this._locale;try{return function me(p,T,y){return k(p,Ve(Xt(T,Ct.Percent),Gt(T,He.MinusSign)),T,He.Group,He.Decimal,y,!0).replace(new RegExp("%","g"),Gt(T,He.PercentSign))}(qi(y),K,P)}catch(le){throw ir()}}}return p.\u0275fac=function(y){return new(y||p)(v.Y36(v.soG,16))},p.\u0275pipe=v.Yjl({name:"percent",type:p,pure:!0,standalone:!0}),p})();function Qi(p){return!(null==p||""===p||p!=p)}function qi(p){if("string"==typeof p&&!isNaN(Number(p)-parseFloat(p)))return Number(p);if("number"!=typeof p)throw new Error(`${p} is not a number`);return p}let gs=(()=>{class p{}return p.\u0275fac=function(y){return new(y||p)},p.\u0275mod=v.oAB({type:p}),p.\u0275inj=v.cJS({}),p})();const Yr="browser";function Pi(p){return p===Yr}function li(p){return"server"===p}let Vn=(()=>{class p{}return p.\u0275prov=(0,v.Yz7)({token:p,providedIn:"root",factory:()=>new xs((0,v.LFG)(X),window)}),p})();class xs{constructor(T,y){this.document=T,this.window=y,this.offset=()=>[0,0]}setOffset(T){this.offset=Array.isArray(T)?()=>T:T}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(T){this.supportsScrolling()&&this.window.scrollTo(T[0],T[1])}scrollToAnchor(T){if(!this.supportsScrolling())return;const y=function xn(p,T){const y=p.getElementById(T)||p.getElementsByName(T)[0];if(y)return y;if("function"==typeof p.createTreeWalker&&p.body&&(p.body.createShadowRoot||p.body.attachShadow)){const P=p.createTreeWalker(p.body,NodeFilter.SHOW_ELEMENT);let K=P.currentNode;for(;K;){const le=K.shadowRoot;if(le){const pe=le.getElementById(T)||le.querySelector(`[name="${T}"]`);if(pe)return pe}K=P.nextNode()}}return null}(this.document,T);y&&(this.scrollToElement(y),y.focus())}setHistoryScrollRestoration(T){if(this.supportScrollRestoration()){const y=this.window.history;y&&y.scrollRestoration&&(y.scrollRestoration=T)}}scrollToElement(T){const y=T.getBoundingClientRect(),P=y.left+this.window.pageXOffset,K=y.top+this.window.pageYOffset,le=this.offset();this.window.scrollTo(P-le[0],K-le[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const T=br(this.window.history)||br(Object.getPrototypeOf(this.window.history));return!(!T||!T.writable&&!T.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function br(p){return Object.getOwnPropertyDescriptor(p,"scrollRestoration")}class ui{}},529:(ke,ue,M)=>{M.d(ue,{AF:()=>Qn,JF:()=>an,LE:()=>Ie,TP:()=>We,UA:()=>He,WM:()=>Y,Zn:()=>Ot,dt:()=>Ae,eN:()=>Rr,jN:()=>re});var v=M(6895),I=M(4650),J=M(1086),se=M(6498),te=M(1406),L=M(2198),X=M(4850);class U{}class re{}class Y{constructor(Z){this.normalizedNames=new Map,this.lazyUpdate=null,Z?this.lazyInit="string"==typeof Z?()=>{this.headers=new Map,Z.split("\n").forEach(H=>{const de=H.indexOf(":");if(de>0){const ye=H.slice(0,de),Re=ye.toLowerCase(),ot=H.slice(de+1).trim();this.maybeSetNormalizedName(ye,Re),this.headers.has(Re)?this.headers.get(Re).push(ot):this.headers.set(Re,[ot])}})}:()=>{this.headers=new Map,Object.keys(Z).forEach(H=>{let de=Z[H];const ye=H.toLowerCase();"string"==typeof de&&(de=[de]),de.length>0&&(this.headers.set(ye,de),this.maybeSetNormalizedName(H,ye))})}:this.headers=new Map}has(Z){return this.init(),this.headers.has(Z.toLowerCase())}get(Z){this.init();const H=this.headers.get(Z.toLowerCase());return H&&H.length>0?H[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Z){return this.init(),this.headers.get(Z.toLowerCase())||null}append(Z,H){return this.clone({name:Z,value:H,op:"a"})}set(Z,H){return this.clone({name:Z,value:H,op:"s"})}delete(Z,H){return this.clone({name:Z,value:H,op:"d"})}maybeSetNormalizedName(Z,H){this.normalizedNames.has(H)||this.normalizedNames.set(H,Z)}init(){this.lazyInit&&(this.lazyInit instanceof Y?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Z=>this.applyUpdate(Z)),this.lazyUpdate=null))}
1copyFrom(Z){Z.init(),Array.from(Z.headers.keys()).forEach(H=>{this.headers.set(H,Z.headers.get(H)),this.normalizedNames.set(H,Z.normalizedNames.get(H))})}clone(Z){const H=new Y;return H.lazyInit=this.lazyInit&&this.lazyInit instanceof Y?this.lazyInit:this,H.lazyUpdate=(this.lazyUpdate||[]).concat([Z]),H}applyUpdate(Z){const H=Z.name.toLowerCase();switch(Z.op){case"a":case"s":let de=Z.value;if("string"==typeof de&&(de=[de]),0===de.length)return;this.maybeSetNormalizedName(Z.name,H);const ye=("a"===Z.op?this.headers.get(H):void 0)||[];ye.push(...de),this.headers.set(H,ye);break;case"d":const Re=Z.value;if(Re){let ot=this.headers.get(H);if(!ot)return;ot=ot.filter(Nt=>-1===Re.indexOf(Nt)),0===ot.length?(this.headers.delete(H),this.normalizedNames.delete(H)):this.headers.set(H,ot)}else this.headers.delete(H),this.normalizedNames.delete(H)}}forEach(Z){this.init(),Array.from(this.normalizedNames.keys()).forEach(H=>Z(this.normalizedNames.get(H),this.headers.get(H)))}}class q{encodeKey(Z){return ie(Z)}encodeValue(Z){return ie(Z)}decodeKey(Z){return decodeURIComponent(Z)}decodeValue(Z){return decodeURIComponent(Z)}}const Me=/%(\d[a-f0-9])/gi,he={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ie(ve){return encodeURIComponent(ve).replace(Me,(Z,H)=>he[H]??Z)}function ae(ve){return`${ve}`}class Ie{constructor(Z={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Z.encoder||new q,Z.fromString){if(Z.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ce(ve,Z){const H=new Map;return ve.length>0&&ve.replace(/^\?/,"").split("&").forEach(ye=>{const Re=ye.indexOf("="),[ot,Nt]=-1==Re?[Z.decodeKey(ye),""]:[Z.decodeKey(ye.slice(0,Re)),Z.decodeValue(ye.slice(Re+1))],Te=H.get(ot)||[];Te.push(Nt),H.set(ot,Te)}),H}(Z.fromString,this.encoder)}else Z.fromObject?(this.map=new Map,Object.keys(Z.fromObject).forEach(H=>{const de=Z.fromObject[H],ye=Array.isArray(de)?de.map(ae):[ae(de)];this.map.set(H,ye)})):this.map=null}has(Z){return this.init(),this.map.has(Z)}get(Z){this.init();const H=this.map.get(Z);return H?H[0]:null}getAll(Z){return this.init(),this.map.get(Z)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Z,H){return this.clone({param:Z,value:H,op:"a"})}appendAll(Z){const H=[];return Object.keys(Z).forEach(de=>{const ye=Z[de];Array.isArray(ye)?ye.forEach(Re=>{H.push({param:de,value:Re,op:"a"})}):H.push({param:de,value:ye,op:"a"})}),this.clone(H)}set(Z,H){return this.clone({param:Z,value:H,op:"s"})}delete(Z,H){return this.clone({param:Z,value:H,op:"d"})}toString(){return this.init(),this.keys().map(Z=>{const H=this.encoder.encodeKey(Z);return this.map.get(Z).map(de=>H+"="+this.encoder.encodeValue(de)).join("&")}).filter(Z=>""!==Z).join("&")}clone(Z){const H=new Ie({encoder:this.encoder});return H.cloneFrom=this.cloneFrom||this,H.updates=(this.updates||[]).concat(Z),H}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Z=>this.map.set(Z,this.cloneFrom.map.get(Z))),this.updates.forEach(Z=>{switch(Z.op){case"a":case"s":const H=("a"===Z.op?this.map.get(Z.param):void 0)||[];H.push(ae(Z.value)),this.map.set(Z.param,H);break;case"d":if(void 0===Z.value){this.map.delete(Z.param);break}{let de=this.map.get(Z.param)||[];const ye=de.indexOf(ae(Z.value));-1!==ye&&de.splice(ye,1),de.length>0?this.map.set(Z.param,de):this.map.delete(Z.param)}}}),this.cloneFrom=this.updates=null)}}class vt{constructor(){this.map=new Map}set(Z,H){return this.map.set(Z,H),this}get(Z){return this.map.has(Z)||this.map.set(Z,Z.defaultValue()),this.map.get(Z)}delete(Z){return this.map.delete(Z),this}has(Z){return this.map.has(Z)}keys(){return this.map.keys()}}function Ee(ve){return typeof ArrayBuffer<"u"&&ve instanceof ArrayBuffer}function qe(ve){return typeof Blob<"u"&&ve instanceof Blob}function pt(ve){return typeof FormData<"u"&&ve instanceof FormData}class Ct{constructor(Z,H,de,ye){let Re;if(this.url=H,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Z.toUpperCase(),function xe(ve){switch(ve){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ye?(this.body=void 0!==de?de:null,Re=ye):Re=de,Re&&(this.reportProgress=!!Re.reportProgress,this.withCredentials=!!Re.withCredentials,Re.responseType&&(this.responseType=Re.responseType),Re.headers&&(this.headers=Re.headers),Re.context&&(this.context=Re.context),Re.params&&(this.params=Re.params)),this.headers||(this.headers=new Y),this.context||(this.context=new vt),this.params){const ot=this.params.toString();if(0===ot.length)this.urlWithParams=H;else{const Nt=H.indexOf("?");this.urlWithParams=H+(-1===Nt?"?":Nt<H.length-1?"&":"")+ot}}else this.params=new Ie,this.urlWithParams=H}serializeBody(){return null===this.body?null:Ee(this.body)||qe(this.body)||pt(this.body)||function Fe(ve){return typeof URLSearchParams<"u"&&ve instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ie?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||pt(this.body)?null:qe(this.body)?this.body.type||null:Ee(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ie?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Z={}){const H=Z.method||this.method,de=Z.url||this.url,ye=Z.responseType||this.responseType,Re=void 0!==Z.body?Z.body:this.body,ot=void 0!==Z.withCredentials?Z.withCredentials:this.withCredentials,Nt=void 0!==Z.reportProgress?Z.reportProgress:this.reportProgress;let Te=Z.headers||this.headers,Bt=Z.params||this.params;const St=Z.context??this.context;return void 0!==Z.setHeaders&&(Te=Object.keys(Z.setHeaders).reduce((dn,
1ct)=>dn.set(ct,Z.setHeaders[ct]),Te)),Z.setParams&&(Bt=Object.keys(Z.setParams).reduce((dn,ct)=>dn.set(ct,Z.setParams[ct]),Bt)),new Ct(H,de,Re,{params:Bt,headers:Te,context:St,reportProgress:Nt,responseType:ye,withCredentials:ot})}}var Ae=(()=>((Ae=Ae||{})[Ae.Sent=0]="Sent",Ae[Ae.UploadProgress=1]="UploadProgress",Ae[Ae.ResponseHeader=2]="ResponseHeader",Ae[Ae.DownloadProgress=3]="DownloadProgress",Ae[Ae.Response=4]="Response",Ae[Ae.User=5]="User",Ae))();class dt{constructor(Z,H=200,de="OK"){this.headers=Z.headers||new Y,this.status=void 0!==Z.status?Z.status:H,this.statusText=Z.statusText||de,this.url=Z.url||null,this.ok=this.status>=200&&this.status<300}}class st extends dt{constructor(Z={}){super(Z),this.type=Ae.ResponseHeader}clone(Z={}){return new st({headers:Z.headers||this.headers,status:void 0!==Z.status?Z.status:this.status,statusText:Z.statusText||this.statusText,url:Z.url||this.url||void 0})}}class Ot extends dt{constructor(Z={}){super(Z),this.type=Ae.Response,this.body=void 0!==Z.body?Z.body:null}clone(Z={}){return new Ot({body:void 0!==Z.body?Z.body:this.body,headers:Z.headers||this.headers,status:void 0!==Z.status?Z.status:this.status,statusText:Z.statusText||this.statusText,url:Z.url||this.url||void 0})}}class He extends dt{constructor(Z){super(Z,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Z.url||"(unknown url)"}`:`Http failure response for ${Z.url||"(unknown url)"}: ${Z.status} ${Z.statusText}`,this.error=Z.error||null}}function Un(ve,Z){return{body:Z,headers:ve.headers,context:ve.context,observe:ve.observe,params:ve.params,reportProgress:ve.reportProgress,responseType:ve.responseType,withCredentials:ve.withCredentials}}let Rr=(()=>{class ve{constructor(H){this.handler=H}request(H,de,ye={}){let Re;if(H instanceof Ct)Re=H;else{let Te,Bt;Te=ye.headers instanceof Y?ye.headers:new Y(ye.headers),ye.params&&(Bt=ye.params instanceof Ie?ye.params:new Ie({fromObject:ye.params})),Re=new Ct(H,de,void 0!==ye.body?ye.body:null,{headers:Te,context:ye.context,params:Bt,reportProgress:ye.reportProgress,responseType:ye.responseType||"json",withCredentials:ye.withCredentials})}const ot=(0,J.of)(Re).pipe((0,te.b)(Te=>this.handler.handle(Te)));if(H instanceof Ct||"events"===ye.observe)return ot;const Nt=ot.pipe((0,L.h)(Te=>Te instanceof Ot));switch(ye.observe||"body"){case"body":switch(Re.responseType){case"arraybuffer":return Nt.pipe((0,X.U)(Te=>{if(null!==Te.body&&!(Te.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Te.body}));case"blob":return Nt.pipe((0,X.U)(Te=>{if(null!==Te.body&&!(Te.body instanceof Blob))throw new Error("Response is not a Blob.");return Te.body}));case"text":return Nt.pipe((0,X.U)(Te=>{if(null!==Te.body&&"string"!=typeof Te.body)throw new Error("Response is not a string.");return Te.body}));default:return Nt.pipe((0,X.U)(Te=>Te.body))}case"response":return Nt;default:throw new Error(`Unreachable: unhandled observe type ${ye.observe}}`)}}delete(H,de={}){return this.request("DELETE",H,de)}get(H,de={}){return this.request("GET",H,de)}head(H,de={}){return this.request("HEAD",H,de)}jsonp(H,de){return this.request("JSONP",H,{params:(new Ie).append(de,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(H,de={}){return this.request("OPTIONS",H,de)}patch(H,de,ye={}){return this.request("PATCH",H,Un(ye,de))}post(H,de,ye={}){return this.request("POST",H,Un(ye,de))}put(H,de,ye={}){return this.request("PUT",H,Un(ye,de))}}return ve.\u0275fac=function(H){return new(H||ve)(I.LFG(U))},ve.\u0275prov=I.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class $n{constructor(Z,H){this.next=Z,this.interceptor=H}handle(Z){return this.interceptor.intercept(Z,this.next)}}const We=new I.OlP("HTTP_INTERCEPTORS");let Ge=(()=>{class ve{intercept(H,de){return de.handle(H)}}return ve.\u0275fac=function(H){return new(H||ve)},ve.\u0275prov=I.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const pr=/^\)\]\}',?\n/;let Qn=(()=>{class ve{constructor(H){this.xhrFactory=H}handle(H){if("JSONP"===H.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new se.y(de=>{const ye=this.xhrFactory.build();if(ye.open(H.method,H.urlWithParams),H.withCredentials&&(ye.withCredentials=!0),H.headers.forEac
1h((_t,Dt)=>ye.setRequestHeader(_t,Dt.join(","))),H.headers.has("Accept")||ye.setRequestHeader("Accept","application/json, text/plain, */*"),!H.headers.has("Content-Type")){const _t=H.detectContentTypeHeader();null!==_t&&ye.setRequestHeader("Content-Type",_t)}if(H.responseType){const _t=H.responseType.toLowerCase();ye.responseType="json"!==_t?_t:"text"}const Re=H.serializeBody();let ot=null;const Nt=()=>{if(null!==ot)return ot;const _t=ye.statusText||"OK",Dt=new Y(ye.getAllResponseHeaders()),Tt=function cn(ve){return"responseURL"in ve&&ve.responseURL?ve.responseURL:/^X-Request-URL:/m.test(ve.getAllResponseHeaders())?ve.getResponseHeader("X-Request-URL"):null}(ye)||H.url;return ot=new st({headers:Dt,status:ye.status,statusText:_t,url:Tt}),ot},Te=()=>{let{headers:_t,status:Dt,statusText:Tt,url:Lt}=Nt(),sn=null;204!==Dt&&(sn=typeof ye.response>"u"?ye.responseText:ye.response),0===Dt&&(Dt=sn?200:0);let Zn=Dt>=200&&Dt<300;if("json"===H.responseType&&"string"==typeof sn){const vn=sn;sn=sn.replace(pr,"");try{sn=""!==sn?JSON.parse(sn):null}catch(ln){sn=vn,Zn&&(Zn=!1,sn={error:ln,text:sn})}}Zn?(de.next(new Ot({body:sn,headers:_t,status:Dt,statusText:Tt,url:Lt||void 0})),de.complete()):de.error(new He({error:sn,headers:_t,status:Dt,statusText:Tt,url:Lt||void 0}))},Bt=_t=>{const{url:Dt}=Nt(),Tt=new He({error:_t,status:ye.status||0,statusText:ye.statusText||"Unknown Error",url:Dt||void 0});de.error(Tt)};let St=!1;const dn=_t=>{St||(de.next(Nt()),St=!0);let Dt={type:Ae.DownloadProgress,loaded:_t.loaded};_t.lengthComputable&&(Dt.total=_t.total),"text"===H.responseType&&!!ye.responseText&&(Dt.partialText=ye.responseText),de.next(Dt)},ct=_t=>{let Dt={type:Ae.UploadProgress,loaded:_t.loaded};_t.lengthComputable&&(Dt.total=_t.total),de.next(Dt)};return ye.addEventListener("load",Te),ye.addEventListener("error",Bt),ye.addEventListener("timeout",Bt),ye.addEventListener("abort",Bt),H.reportProgress&&(ye.addEventListener("progress",dn),null!==Re&&ye.upload&&ye.upload.addEventListener("progress",ct)),ye.send(Re),de.next({type:Ae.Sent}),()=>{ye.removeEventListener("error",Bt),ye.removeEventListener("abort",Bt),ye.removeEventListener("load",Te),ye.removeEventListener("timeout",Bt),H.reportProgress&&(ye.removeEventListener("progress",dn),null!==Re&&ye.upload&&ye.upload.removeEventListener("progress",ct)),ye.readyState!==ye.DONE&&ye.abort()}})}}return ve.\u0275fac=function(H){return new(H||ve)(I.LFG(v.JF))},ve.\u0275prov=I.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const en=new I.OlP("XSRF_COOKIE_NAME"),Rn=new I.OlP("XSRF_HEADER_NAME");class qn{}let qt=(()=>{class ve{constructor(H,de,ye){this.doc=H,this.platform=de,this.cookieName=ye,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const H=this.doc.cookie||"";return H!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,v.Mx)(H,this.cookieName),this.lastCookieString=H),this.lastToken}}return ve.\u0275fac=function(H){return new(H||ve)(I.LFG(v.K0),I.LFG(I.Lbi),I.LFG(en))},ve.\u0275prov=I.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),Cn=(()=>{class ve{constructor(H,de){this.tokenService=H,this.headerName=de}intercept(H,de){const ye=H.url.toLowerCase();if("GET"===H.method||"HEAD"===H.method||ye.startsWith("http://")||ye.startsWith("https://"))return de.handle(H);const Re=this.tokenService.getToken();return null!==Re&&!H.headers.has(this.headerName)&&(H=H.clone({headers:H.headers.set(this.headerName,Re)})),de.handle(H)}}return ve.\u0275fac=function(H){return new(H||ve)(I.LFG(qn),I.LFG(Rn))},ve.\u0275prov=I.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),ze=(()=>{class ve{constructor(H,de){this.backend=H,this.injector=de,this.chain=null}handle(H){if(null===this.chain){const de=this.injector.get(We,[]);this.chain=de.reduceRight((ye,Re)=>new $n(ye,Re),this.backend)}return this.chain.handle(H)}}return ve.\u0275fac=function(H){return new(H||ve)(I.LFG(re),I.LFG(I.zs3))},ve.\u0275prov=I.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),bt=(()=>{class ve{static disable(){return{ngModule:ve,providers:[{provide:Cn,useClass:Ge}]}}static withOptions(H={}){return{ngModule:ve,providers:[H.cookieName?{provide:en,useValue:H.cookieName}:[],H.headerName?{provide:Rn,useValue:H.headerName}:[]]}}}return ve.\u0275fac=function(H){return new(H||ve)},ve.\u0275mod=I.oAB({type:ve}),ve.\u0275inj=I.cJS({providers:[Cn,{provide:We,useExisting:Cn,multi:!0},{provide:qn,useClass:qt},{provide:en,useValue:"XSRF-TOKEN"},{provide:Rn,useValue:"X-XSRF-TOKEN"}
1]}),ve})(),an=(()=>{class ve{}return ve.\u0275fac=function(H){return new(H||ve)},ve.\u0275mod=I.oAB({type:ve}),ve.\u0275inj=I.cJS({providers:[Rr,{provide:U,useClass:ze},Qn,{provide:re,useExisting:Qn}],imports:[bt.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),ve})()},4650:(ke,ue,M)=>{M.d(ue,{$8M:()=>rt,$Z:()=>Eh,AFp:()=>Bg,ALo:()=>rg,AaK:()=>U,AsE:()=>qu,BQk:()=>il,CHM:()=>ks,CRH:()=>pg,CZH:()=>yl,CqO:()=>pf,D6c:()=>Ew,DdM:()=>Yp,DjV:()=>Jf,EJc:()=>k0,EiD:()=>$d,EpF:()=>hf,F$t:()=>Df,F4k:()=>ff,FYo:()=>Xd,FiY:()=>ra,G48:()=>rw,Gf:()=>hg,GfV:()=>eh,Gpc:()=>Q,Gre:()=>Zf,Hsn:()=>Ef,IIB:()=>R0,Ikx:()=>Ju,JOm:()=>ji,JVY:()=>by,Jf7:()=>th,KtG:()=>Zi,L6J:()=>O0,L6k:()=>Sy,LAX:()=>My,LFG:()=>Bn,LSH:()=>Jl,Lbi:()=>N0,Lck:()=>IE,MAs:()=>cf,MGl:()=>sl,MMx:()=>lc,NdJ:()=>zu,O4$:()=>Be,OlP:()=>yt,Oqu:()=>Qu,PXZ:()=>J0,Q6J:()=>$u,QGY:()=>Vu,QP$:()=>Mn,QbO:()=>x0,Qsj:()=>sv,QtT:()=>Lp,R0b:()=>ni,RDi:()=>yy,Rgc:()=>Ma,SBq:()=>fa,SDv:()=>Fp,Sil:()=>U0,Suo:()=>fg,TTD:()=>Ri,TgZ:()=>tl,Tol:()=>kf,Udp:()=>Gu,VKq:()=>Qp,W1O:()=>vg,WLB:()=>qp,XFs:()=>ze,Xpm:()=>Lt,Xts:()=>Xl,Y36:()=>Io,YKP:()=>Up,YNc:()=>uf,Yjl:()=>Nr,Yz7:()=>Qe,Z0I:()=>Di,ZZ4:()=>Oc,_Bn:()=>Bp,_UZ:()=>Hu,_Vd:()=>ha,_c5:()=>_w,_uU:()=>zf,aQg:()=>Nc,c2e:()=>F0,cJS:()=>Gt,cg1:()=>Xu,dDg:()=>Y0,dqk:()=>ye,eBb:()=>Ty,eFA:()=>Zg,ekj:()=>Ku,eoX:()=>Yg,f3M:()=>Qc,g9A:()=>$g,gxx:()=>eu,h0i:()=>Vo,hGG:()=>Dw,hij:()=>al,i9L:()=>Vc,iGM:()=>dg,ifc:()=>de,ip1:()=>kg,jDz:()=>jp,kEZ:()=>Zp,kL8:()=>up,kYT:()=>Jn,lG2:()=>Pn,lcZ:()=>ig,lnq:()=>Zu,lqb:()=>Js,lri:()=>Gg,mCW:()=>Ua,n5z:()=>yo,n_E:()=>hl,oAB:()=>ln,oJD:()=>jd,oxw:()=>_f,pB0:()=>Iy,pQV:()=>nc,q3G:()=>An,qLn:()=>pa,qOj:()=>Lu,qZA:()=>nl,qzn:()=>Co,rWj:()=>Kg,r_U:()=>P0,s9C:()=>Wu,sBO:()=>iw,sIi:()=>ya,s_b:()=>pl,soG:()=>vl,tb:()=>jg,tp0:()=>ia,uIk:()=>Uu,vHH:()=>he,vpe:()=>Gi,wAp:()=>ut,xi3:()=>sg,xp6:()=>lh,ynx:()=>rl,z2F:()=>_l,z3N:()=>is,zSh:()=>ru,zs3:()=>Xs});var v=M(8929),I=M(2654),J=M(6498),se=M(6787),te=M(2474);function L(e){for(let t in e)if(e[t]===L)return t;throw Error("Could not find renamed property on target object.")}function X(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function U(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(U).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 re(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Y=L({__forward_ref__:L});function Q(e){return e.__forward_ref__=Q,e.toString=function(){return U(this())},e}function q(e){return ce(e)?e():e}function ce(e){return"function"==typeof e&&e.hasOwnProperty(Y)&&e.__forward_ref__===Q}class he extends Error{constructor(t,n){super(function ie(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function ae(e){return"string"==typeof e?e:null==e?"":String(e)}function Ee(e,t){throw new he(-201,!1)}function De(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function Qe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Gt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Xt(e){return pr(e,Rn)||pr(e,qt)}function Di(e){return null!==Xt(e)}function pr(e,t){return e.hasOwnProperty(t)?e[t]:null}function en(e){return e&&(e.hasOwnProperty(qn)||e.hasOwnProperty(Cn))?e[qn]:null}const Rn=L({\u0275prov:L}),qn=L({\u0275inj:L}),qt=L({ngInjectableDef:L}),Cn=L({ngInjectorDef:L});var ze=(()=>((ze=ze||{})[ze.Default=0]="Default",ze[ze.Host=1]="Host",ze[ze.Self=2]="Self",ze[ze.SkipSelf=4]="SkipSelf",ze[ze.Optional=8]="Optional",ze))();let gr;function bt(e){const t=gr;return gr=e,t}function an(e,t,n){const r=Xt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ze.Optional?null:void 0!==t?t:void Ee(U(e))}function It(e){return{toString:e}.toString()}var ve=(()=>((ve=ve||{})[ve.OnPush=0]="OnPush",ve[ve.Default=1]="Default",ve))(),de=(()=>{return(e=de||(de={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",de;var e})();const ye=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Nt={},Te=[],Bt=L({\u0275cmp:L}),St=L({\u0275dir:L}),dn=L({\u0275pipe:L}),ct=L({\u0275mod:L}),_t=L({\u0275fac:L}),Dt=L({__NG_ELEMENT_ID__:L});let Tt=0;function Lt(e){return It(()=>{const n=!0===e.standalone,r={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ve.OnPush,directiveDefs:null,pipeDefs:null,
1standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Te,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||de.Emulated,id:"c"+Tt++,styles:e.styles||Te,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.dependencies,l=e.features;return i.inputs=Or(e.inputs,r),i.outputs=Or(e.outputs),l&&l.forEach(h=>h(i)),i.directiveDefs=s?()=>("function"==typeof s?s():s).map(Zn).filter(vn):null,i.pipeDefs=s?()=>("function"==typeof s?s():s).map(Kt).filter(vn):null,i})}function Zn(e){return Mt(e)||Vt(e)}function vn(e){return null!==e}function ln(e){return It(()=>({type:e.type,bootstrap:e.bootstrap||Te,declarations:e.declarations||Te,imports:e.imports||Te,exports:e.exports||Te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Jn(e,t){return It(()=>{const n=hn(e,!0);n.declarations=t.declarations||Te,n.imports=t.imports||Te,n.exports=t.exports||Te})}function Or(e,t){if(null==e)return Nt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const Pn=Lt;function Nr(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 Mt(e){return e[Bt]||null}function Vt(e){return e[St]||null}function Kt(e){return e[dn]||null}function Mn(e){const t=Mt(e)||Vt(e)||Kt(e);return null!==t&&t.standalone}function hn(e,t){const n=e[ct]||null;if(!n&&!0===t)throw new Error(`Type ${U(e)} does not have '\u0275mod' property.`);return n}function Sn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Hn(e){return Array.isArray(e)&&!0===e[1]}function si(e){return 0!=(8&e.flags)}function rr(e){return 2==(2&e.flags)}function Vr(e){return 1==(1&e.flags)}function Gn(e){return null!==e.template}function oi(e){return 0!=(256&e[2])}function sr(e,t){return e.hasOwnProperty(_t)?e[_t]:null}class Ai{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ri(){return Kr}function Kr(e){return e.type.prototype.ngOnChanges&&(e.setInput=qi),Qi}function Qi(){const e=ps(this),t=e?.current;if(t){const n=e.previous;if(n===Nt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function qi(e,t,n,r){const i=ps(e)||function gs(e,t){return e[ai]=t}(e,{previous:Nt,current:null}),s=i.current||(i.current={}),l=i.previous,h=this.declaredInputs[n],g=l[h];s[h]=new Ai(g&&g.currentValue,t,l===Nt),e[r]=t}Ri.ngInherit=!0;const ai="__ngSimpleChanges__";function ps(e){return e[ai]||null}function on(e){for(;Array.isArray(e);)e=e[0];return e}function br(e,t){return on(t[e])}function xn(e,t){return on(t[e.index])}function ui(e,t){return e.data[t]}function Lr(e,t){return e[t]}function Ht(e,t){const n=t[e];return Sn(n)?n:n[0]}function Xn(e){return 64==(64&e[2])}function or(e,t){return null==t?null:e[t]}function kr(e){e[18]=0}function Oi(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Xe={lFrame:Hs(null),bindingsEnabled:!0};function ar(){return Xe.bindingsEnabled}function Ce(){return Xe.lFrame.lView}function gt(){return Xe.lFrame.tView}function ks(e){return Xe.lFrame.contextLView=e,e[8]}function Zi(e){return Xe.lFrame.contextLView=null,e}function gn(){let e=qr();for(;null!==e&&64===e.type;)e=e.parent;return e}function qr(){return Xe.lFrame.currentTNode}function xi(){const e=Xe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function lr(e,t){const n=Xe.lFrame;n.currentTNode=e,n.isParent=t}function Bs(){return Xe.lFrame.isParent}function Ji(){Xe.lFrame.isParent=!1}function fn(){const e=Xe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ur(){return Xe.lFrame.bindingIndex}function fi(){return Xe.lFrame.bindingIndex++}function Sr(e){const t=Xe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function _s(e){Xe.lFrame.inI18n=e}function Ds(e,t){const n=Xe.lFrame;n.bindingIndex=n.bindingRootIndex=e,ws(t)}function ws(e){Xe.lFrame.currentDirectiveIndex=e}function Us(){return Xe.lFrame.currentQueryIndex}function Li(e){Xe.lFrame.currentQueryIndex=e}function Jr(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function $s(e,t,n){if(n&ze.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&ze.Host||(i=Jr(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,e=s}const r=Xe.lFrame=js();return r.currentTNode=t,r.lView=e,!0}function Cs(e){const t=js(),n=e[1];
vendor: 2,264 bytes, line 1
1Xe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function js(){const e=Xe.lFrame,t=null===e?null:e.child;return null===t?Hs(e):t}function Hs(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 Xr(){const e=Xe.lFrame;return Xe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const p=Xr;function T(){const e=Xr();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 K(){return Xe.lFrame.selectedIndex}function le(e){Xe.lFrame.selectedIndex=e}function pe(){const e=Xe.lFrame;return ui(e.tView,e.selectedIndex)}function Be(){Xe.lFrame.currentNamespace="svg"}function kt(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:l,ngAfterContentChecked:h,ngAfterViewInit:g,ngAfterViewChecked:C,ngOnDestroy:R}=s;l&&(e.contentHooks||(e.contentHooks=[])).push(-n,l),h&&((e.contentHooks||(e.contentHooks=[])).push(n,h),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,h)),g&&(e.viewHooks||(e.viewHooks=[])).push(-n,g),C&&((e.viewHooks||(e.viewHooks=[])).push(n,C),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,C)),null!=R&&(e.destroyHooks||(e.destroyHooks=[])).push(n,R)}}function un(e,t,n){Tr(e,t,3,n)}function zn(e,t,n,r){(3&e[2])===n&&Tr(e,t,n,r)}function Kn(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Tr(e,t,n,r){const s=r??-1,l=t.length-1;let h=0;for(let g=void 0!==r?65535&e[18]:0;g<l;g++)if("number"==typeof t[g+1]){if(h=t[g],null!=r&&h>=r)break}else t[g]<0&&(e[18]+=65536),(h<s||-1==s)&&(Mr(e,n,t,g),e[18]=(4294901760&e[18])+g+2),g++}function Mr(e,t,n,r){const i=n[r]<0,s=n[r+1],h=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{s.call(h)}finally{}}}else try{s.call(h)}finally{}}class Ir{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}
1function es(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const s=n[r++],l=n[r++],h=n[r++];e.setAttribute(t,l,h,s)}else{const s=i,l=n[++r];mo(s)?e.setProperty(t,s,l):e.setAttribute(t,s,l),r++}}return r}function go(e){return 3===e||4===e||6===e}function mo(e){return 64===e.charCodeAt(0)}function Ts(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||zs(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function zs(e,t,n,r,i){let s=0,l=e.length;if(-1===t)l=-1;else for(;s<e.length;){const h=e[s++];if("number"==typeof h){if(h===t){l=-1;break}if(h>t){l=s-1;break}}}for(;s<e.length;){const h=e[s];if("number"==typeof h)break;if(h===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==l&&(e.splice(l,0,t),s=l+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function b(e){return-1!==e}function o(e){return 32767&e}function f(e,t){let n=function a(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let S=!0;function N(e){const t=S;return S=e,t}let fe=0;const Pe={};function ht(e,t){const n=tt(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,mt(r.data,e),mt(t,null),mt(r.blueprint,null));const i=lt(e,t),s=e.injectorIndex;if(b(i)){const l=o(i),h=f(i,t),g=h[1].data;for(let C=0;C<8;C++)t[s+C]=h[l+C]|g[l+C]}return t[s+8]=i,s}function mt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function tt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function lt(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=nt(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function $t(e,t,n){!function $e(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Dt)&&(r=n[Dt]),null==r&&(r=n[Dt]=fe++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Dn(e,t,n){if(n&ze.Optional||void 0!==e)return e;Ee()}function Fn(e,t,n,r){if(n&ze.Optional&&void 0===r&&(r=null),0==(n&(ze.Self|ze.Host))){const i=e[9],s=bt(void 0);try{return i?i.get(t,r,n&ze.Optional):an(t,r,n&ze.Optional)}finally{bt(s)}}return Dn(r,0,n)}function En(e,t,n,r=ze.Default,i){if(null!==e){if(1024&t[2]){const l=function Ye(e,t,n,r,i){let s=e,l=t;for(;null!==s&&null!==l&&1024&l[2]&&!(256&l[2]);){const h=nn(s,l,n,r|ze.Self,Pe);if(h!==Pe)return h;let g=s.parent;if(!g){const C=l[21];if(C){const R=C.get(n,Pe,r);if(R!==Pe)return R}g=nt(l),l=l[15]}s=g}return i}(e,t,n,r,Pe);if(l!==Pe)return l}const s=nn(e,t,n,r,Pe);if(s!==Pe)return s}return Fn(t,n,r,i)}function nn(e,t,n,r,i){const s=function cr(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Dt)?e[Dt]:void 0;return"number"==typeof t?t>=0?255&t:Bi:t}(n);if("function"==typeof s){if(!$s(t,e,r))return r&ze.Host?Dn(i,0,r):Fn(t,n,r,i);try{const l=s(r);if(null!=l||r&ze.Optional)return l;Ee()}finally{p()}}else if("number"==typeof s){let l=null,h=tt(e,t),g=-1,C=r&ze.Host?t[16][6]:null;for((-1===h||r&ze.SkipSelf)&&(g=-1===h?lt(e,t):t[h+8],-1!==g&&Ws(r,!1)?(l=t[1],h=o(g),t=f(g,t)):h=-1);-1!==h;){const R=t[1];if(yr(s,h,R.data)){const x=Ar(h,t,n,l,r,C);if(x!==Pe)return x}g=t[h+8],-1!==g&&Ws(r,t[1].data[h+8]===C)&&yr(s,h,t)?(l=R,h=o(g),t=f(g,t)):h=-1}}return i}function Ar(e,t,n,r,i,s){const l=t[1],h=l.data[e+8],R=wn(h,l,n,null==r?rr(h)&&S:r!=l&&0!=(3&h.type),i&ze.Host&&s===h);return null!==R?Ln(t,l,R,h):Pe}function wn(e,t,n,r,i){const s=e.providerIndexes,l=t.data,h=1048575&s,g=e.directiveStart,R=s>>20,ee=i?h+R:e.directiveEnd;for(let oe=r?h:h+R;oe<ee;oe++){const _e=l[oe];if(oe<g&&n===_e||oe>=g&&_e.type===n)return oe}if(i){const oe=l[g];if(oe&&Gn(oe)&&oe.type===n)return g}return null}function Ln(e,t,n,r){let i=e[n];const s=t.data;if(function bs(e){return e instanceof Ir}(i)){const l=i;l.resolving&&function it(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new he(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ie(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ae(e)}(s[n]));const h=N(l.canSeeViewProviders);l.resolving=!0;const g=l.injectImpl?bt(l.injectImpl):null;$s(e,r,ze.Default);try{i=e[n]=l.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function tn(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const l=Kr(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==g&&bt(g),N(h),l.resolving=!1,p()}}return i}function yr(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Ws(e,t){return!(e&ze.Self||e&ze.Host&&t)}class vr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return En(this._tNode,this._lView,t,r,n)}}function Bi(){return new vr(gn(),Ce())}function yo(e){return It(()=>{const t=e.prototype.constructor,n=t[_t]||Ms(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[_t]||Ms(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function Ms(e){return ce(e)?()=>{const t=Ms(q(e));return t&&t()}:sr(e)}function nt(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function rt(e){return function Zt(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const s=n[i];if(go(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(gn(),e)}const rn="__parameters__",mn="__prop__metadata__";function Ur(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}function zt(e,t,n){return It(()=>{const r=Ur(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const l=new i(...s);return h.annotation=l,h;function h(g,C,R){const x=g.hasOwnProperty(rn)?g[rn]:Object.defineProperty(g,rn,{value:[]})[rn];for(;x.length<=R;)x.push(null);return(x[R]=x[R]||[]).push(l),g}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Ui(e,t,n,r){return It(()=>{const i=Ur(t);function s(...l){if(this instanceof s)return i.apply(this,l),this;const h=new s(...l);return function g(C,R){const x=C.constructor,ee=x.hasOwnProperty(mn)?x[mn]:Object.defineProperty(x,mn,{value:{}})[mn];ee[R]=ee.hasOwnProperty(R)&&ee[R]||[],ee[R].unshift(h),r&&r(C,R,...l)}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class yt{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=Qe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}class ts{}const Vc=Ui("ViewChild",(e,t)=>({selector:e,first:!0,isViewQuery:!0,descendants:!0,...t}),ts);function Dr(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Dr(r,t)):t!==e&&t.push(r)}return t}function ei(e,t){e.forEach(n=>Array.isArray(n)?ei(n,t):t(n))}function Aa(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Xo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function c(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function z(e,t,n){let r=Ne(e,t);return r>=0?e[1|r]=n:(r=~r,function m(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;
1e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ge(e,t){const n=Ne(e,t);if(n>=0)return e[1|n]}function Ne(e,t){return function Ke(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),l=e[s<<n];if(t===l)return s<<n;l>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const ea={},bl="__NG_DI_FLAG__",Pa="ngTempTokenPath",vm=/\n/gm,Kc="__source";let ta;function Do(e){const t=ta;return ta=e,t}function Dm(e,t=ze.Default){if(void 0===ta)throw new he(-203,!1);return null===ta?an(e,void 0,t):ta.get(e,t&ze.Optional?null:void 0,t)}function Bn(e,t=ze.Default){return(function Pr(){return gr}()||Dm)(q(e),t)}function Qc(e,t=ze.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),Bn(e,t)}function Sl(e){const t=[];for(let n=0;n<e.length;n++){const r=q(e[n]);if(Array.isArray(r)){if(0===r.length)throw new he(900,!1);let i,s=ze.Default;for(let l=0;l<r.length;l++){const h=r[l],g=Em(h);"number"==typeof g?-1===g?i=h.token:s|=g:i=h}t.push(Bn(i,s))}else t.push(Bn(r))}return t}function na(e,t){return e[bl]=t,e.prototype[bl]=t,e}function Em(e){return e[bl]}const ra=na(zt("Optional"),8),ia=na(zt("SkipSelf"),4);var ji=(()=>((ji=ji||{})[ji.Important=1]="Important",ji[ji.DashCase=2]="DashCase",ji))();const Lm=/^>|^->|<!--|-->|--!>|<!-$/g,km=/(<|>)/;const Rl=new Map;let Um=0;const Ol="__ngContext__";function hr(e,t){Sn(t)?(e[Ol]=t[20],function jm(e){Rl.set(e[20],e)}(t)):e[Ol]=t}let Nl;function xl(e,t){return Nl(e,t)}function la(e){const t=e[3];return Hn(t)?t[3]:t}function Fl(e){return gd(e[13])}function Ll(e){return gd(e[4])}function gd(e){for(;null!==e&&!Hn(e);)e=e[4];return e}function wo(e,t,n,r,i){if(null!=r){let s,l=!1;Hn(r)?s=r:Sn(r)&&(l=!0,r=r[0]);const h=on(r);0===e&&null!==n?null==i?Ed(t,n,h):Ys(t,n,h,i||null,!0):1===e&&null!==n?Ys(t,n,h,i||null,!0):2===e?Vl(t,h,l):3===e&&t.destroyNode(h),null!=s&&function hy(e,t,n,r,i){const s=n[7];s!==on(n)&&wo(t,e,r,s,i);for(let h=10;h<n.length;h++){const g=n[h];ua(g[1],g,e,t,r,s)}}(t,e,s,n,i)}}function kl(e,t){return e.createText(t)}function md(e,t,n){e.setValue(t,n)}function ey(e,t){return e.createComment(function ad(e){return e.replace(Lm,t=>t.replace(km,"\u200b$1\u200b"))}(t))}function Bl(e,t,n){return e.createElement(t,n)}function yd(e,t){const n=e[9],r=n.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,Oi(i,-1)),n.splice(r,1)}function Ul(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&yd(i,r),t>0&&(e[n-1][4]=r[4]);const s=Xo(e,10+t);!function ty(e,t){ua(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const l=s[19];null!==l&&l.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function vd(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&ua(e,t,n,3,null,null),function iy(e){let t=e[13];if(!t)return $l(e[1],e);for(;t;){let n=null;if(Sn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Sn(t)&&$l(t[1],t),t=t[3];null===t&&(t=e),Sn(t)&&$l(t[1],t),n=t&&t[4]}t=n}}(t)}}function $l(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function ly(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof Ir)){const s=n[r+1];if(Array.isArray(s))for(let l=0;l<s.length;l+=2){const h=i[s[l]],g=s[l+1];try{g.call(h)}finally{}}else try{s.call(i)}finally{}}}}(e,t),function ay(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const l=n[s+1],h="function"==typeof l?l(t):on(t[l]),g=r[i=n[s+2]],C=n[s+3];"boolean"==typeof C?h.removeEventListener(n[s],g,C):C>=0?r[i=C]():r[i=-C].unsubscribe(),s+=2}else{const l=r[i=n[s+1]];n[s].call(l)}if(null!==r){for(let s=i+1;s<r.length;s++)(0,r[s])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&Hn(t[3])){n!==t[3]&&yd(n,t);const r=t[19];null!==r&&r.detachView(e)}!function Hm(e){Rl.delete(e[20])}(t)}}function _d(e,t,n){return Dd(e,t.parent,n)}function Dd(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const i=e.data[r.directiveStart].encapsulation;if(i===de.None||i===de.Emulated)return null}return xn(r,n)}function Ys(e,t,n,r,i){e.insertBefore(t,n,r,i)}function Ed(e,t,n){e.appendChild(t,n)}
1function wd(e,t,n,r,i){null!==r?Ys(e,t,n,r,i):Ed(e,t,n)}function xa(e,t){return e.parentNode(t)}function Cd(e,t,n){return Sd(e,t,n)}function bd(e,t,n){return 40&e.type?xn(e,n):null}let jl,ka,Kl,Ba,Sd=bd;function Td(e,t){Sd=e,jl=t}function Fa(e,t,n,r){const i=_d(e,r,t),s=t[11],h=Cd(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let g=0;g<n.length;g++)wd(s,i,n[g],h,!1);else wd(s,i,n,h,!1);void 0!==jl&&jl(s,r,t,n,i)}function La(e,t){if(null!==t){const n=t.type;if(3&n)return xn(t,e);if(4&n)return Hl(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return La(e,r);{const i=e[t.index];return Hn(i)?Hl(-1,i):on(i)}}if(32&n)return xl(t,e)()||on(e[t.index]);{const r=Md(e,t);return null!==r?Array.isArray(r)?r[0]:La(la(e[16]),r):La(e,t.next)}}return null}function Md(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Hl(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return La(r,i)}return t[7]}function Vl(e,t,n){const r=xa(e,t);r&&function uy(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}function zl(e,t,n,r,i,s,l){for(;null!=n;){const h=r[n.index],g=n.type;if(l&&0===t&&(h&&hr(on(h),r),n.flags|=4),64!=(64&n.flags))if(8&g)zl(e,t,n.child,r,i,s,!1),wo(t,e,i,h,s);else if(32&g){const C=xl(n,r);let R;for(;R=C();)wo(t,e,i,R,s);wo(t,e,i,h,s)}else 16&g?Id(e,t,r,n,i,s):wo(t,e,i,h,s);n=l?n.projectionNext:n.next}}function ua(e,t,n,r,i,s){zl(n,r,e.firstChild,t,i,s,!1)}function Id(e,t,n,r,i,s){const l=n[16],g=l[6].projection[r.projection];if(Array.isArray(g))for(let C=0;C<g.length;C++)wo(t,e,i,g[C],s);else zl(e,t,g,l[3],i,s,!0)}function Ad(e,t,n){e.setAttribute(t,"style",n)}function Wl(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Qs(e){return function Gl(){if(void 0===ka&&(ka=null,ye.trustedTypes))try{ka=ye.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ka}()?.createHTML(e)||e}function yy(e){Kl=e}function Rd(){return void 0!==Kl?Kl:typeof document<"u"?document:void 0}function Pd(e){return function Yl(){if(void 0===Ba&&(Ba=null,ye.trustedTypes))try{Ba=ye.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ba}()?.createHTML(e)||e}class qs{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class vy extends qs{getTypeName(){return"HTML"}}class _y extends qs{getTypeName(){return"Style"}}class Dy extends qs{getTypeName(){return"Script"}}class Ey extends qs{getTypeName(){return"URL"}}class wy extends qs{getTypeName(){return"ResourceURL"}}function is(e){return e instanceof qs?e.changingThisBreaksApplicationSecurity:e}function Co(e,t){const n=function Cy(e){return e instanceof qs&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function by(e){return new vy(e)}function Sy(e){return new _y(e)}function Ty(e){return new Dy(e)}function My(e){return new Ey(e)}function Iy(e){return new wy(e)}function xd(e){const t=new Ry(e);return function Py(){try{return!!(new window.DOMParser).parseFromString(Qs(""),"text/html")}catch{return!1}}()?new Ay(t):t}class Ay{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Qs(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Ry{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Qs(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Qs(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const l=n.item(i).name;("xmlns:ns1"===l||0===l.indexOf("ns1:"))&&t.removeAttribute(l)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const Oy=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Ua(e){return(e=String(e)).match(Oy)?e:"unsafe:"+e}function ss(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ca(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Fd=ss("area,br,col,hr,img,wbr"),Ld=ss("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),kd=ss("rp,rt"),Ql=ca(Fd,ca(Ld,ss("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")),ca(kd,ss("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")),ca(kd,Ld)),ql=ss("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Bd=ca(ql,ss("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
1olspan,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"),ss("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")),Ny=ss("script,style,template");class xy{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Ql.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ny.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),l=s.name,h=l.toLowerCase();if(!Bd.hasOwnProperty(h)){this.sanitizedSomething=!0;continue}let g=s.value;ql[h]&&(g=Ua(g)),this.buf.push(" ",l,'="',Ud(g),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Ql.hasOwnProperty(n)&&!Fd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Ud(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 Fy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ly=/([^\#-~ |!])/g;function Ud(e){return e.replace(/&/g,"&amp;").replace(Fy,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Ly,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let $a;function $d(e,t){let n=null;try{$a=$a||xd(e);let r=t?String(t):"";n=$a.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=$a.getInertBodyElement(r)}while(r!==s);return Qs((new xy).sanitizeChildren(Zl(n)||n))}finally{if(n){const r=Zl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Zl(e){return"content"in e&&function ky(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var An=(()=>((An=An||{})[An.NONE=0]="NONE",An[An.HTML=1]="HTML",An[An.STYLE=2]="STYLE",An[An.SCRIPT=3]="SCRIPT",An[An.URL=4]="URL",An[An.RESOURCE_URL=5]="RESOURCE_URL",An))();
1function jd(e){const t=da();return t?Pd(t.sanitize(An.HTML,e)||""):Co(e,"HTML")?Pd(is(e)):$d(Rd(),ae(e))}function Jl(e){const t=da();return t?t.sanitize(An.URL,e)||"":Co(e,"URL")?is(e):Ua(ae(e))}function da(){const e=Ce();return e&&e[12]}const Xl=new yt("ENVIRONMENT_INITIALIZER"),eu=new yt("INJECTOR",-1),Vd=new yt("INJECTOR_DEF_TYPES");class zd{get(t,n=ea){if(n===ea){const r=new Error(`NullInjectorError: No provider for ${U(t)}!`);throw r.name="NullInjectorError",r}return n}}function zy(...e){return{\u0275providers:Wd(0,e)}}function Wd(e,...t){const n=[],r=new Set;let i;return ei(t,s=>{const l=s;tu(l,n,[],r)&&(i||(i=[]),i.push(l))}),void 0!==i&&Gd(i,n),n}function Gd(e,t){for(let n=0;n<e.length;n++){const{providers:i}=e[n];ei(i,s=>{t.push(s)})}}function tu(e,t,n,r){if(!(e=q(e)))return!1;let i=null,s=en(e);const l=!s&&Mt(e);if(s||l){if(l&&!l.standalone)return!1;i=e}else{const g=e.ngModule;if(s=en(g),!s)return!1;i=g}const h=r.has(i);if(l){if(h)return!1;if(r.add(i),l.dependencies){const g="function"==typeof l.dependencies?l.dependencies():l.dependencies;for(const C of g)tu(C,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!h){let C;r.add(i);try{ei(s.imports,R=>{tu(R,t,n,r)&&(C||(C=[]),C.push(R))})}finally{}void 0!==C&&Gd(C,t)}if(!h){const C=sr(i)||(()=>new i);t.push({provide:i,useFactory:C,deps:Te},{provide:Vd,useValue:i,multi:!0},{provide:Xl,useValue:()=>Bn(i),multi:!0})}const g=s.providers;null==g||h||ei(g,R=>{t.push(R)})}}return i!==e&&void 0!==e.providers}const Wy=L({provide:String,useValue:L});function nu(e){return null!==e&&"object"==typeof e&&Wy in e}function Zs(e){return"function"==typeof e}const ru=new yt("Set Injector scope."),ja={},Ky={};let iu;function Ha(){return void 0===iu&&(iu=new zd),iu}class Js{}class Qd extends Js{constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ou(t,l=>this.processProvider(l)),this.records.set(eu,bo(void 0,this)),i.has("environment")&&this.records.set(Js,bo(void 0,this));const s=this.records.get(ru);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Vd.multi,Te,ze.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Do(this),r=bt(void 0);try{return t()}finally{Do(n),bt(r)}}get(t,n=ea,r=ze.Default){this.assertNotDestroyed();const i=Do(this),s=bt(void 0);try{if(!(r&ze.SkipSelf)){let h=this.records.get(t);if(void 0===h){const g=function Jy(e){return"function"==typeof e||"object"==typeof e&&e instanceof yt}(t)&&Xt(t);h=g&&this.injectableDefInScope(g)?bo(su(t),ja):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&ze.Self?Ha():this.parent).get(t,n=r&ze.Optional&&n===ea?null:n)}catch(l){if("NullInjectorError"===l.name){if((l[Pa]=l[Pa]||[]).unshift(U(t)),i)throw l;return function wm(e,t,n,r){const i=e[Pa];throw t[Kc]&&i.unshift(t[Kc]),e.message=function Cm(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=U(t);if(Array.isArray(t))i=t.map(U).join(" -> ");else if("object"==typeof t){let s=[];for(let l in t)if(t.hasOwnProperty(l)){let h=t[l];s.push(l+":"+("string"==typeof h?JSON.stringify(h):U(h)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(vm,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Pa]=null,e}(l,t,"R3InjectorError",this.source)}throw l}finally{bt(s),Do(i)}}resolveInjectorInitializers(){const t=Do(this),n=bt(void 0);try{const r=this.get(Xl.multi,Te,ze.Self);for(const i of r)i()}finally{Do(t),bt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(U(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new he(205,!1)}processProvider(t){let n=Zs(t=q(t))?t:q(t&&t.provide);const r=function Qy(e){return nu(e)?bo(void 0,e.useValue):bo(qd(e),ja)}(t);if(Zs(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=bo(void 0,ja,!0),i.factory=()=>Sl(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===ja&&(n.value=Ky,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Zy(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=q(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function su(e){const t=Xt(e),n=null!==t?t.factory:sr(e);
1if(null!==n)return n;if(e instanceof yt)throw new he(204,!1);if(e instanceof Function)return function Yy(e){const t=e.length;if(t>0)throw c(t,"?"),new he(204,!1);const n=function cn(e){const t=e&&(e[Rn]||e[qt]);if(t){const n=function Qn(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new he(204,!1)}function qd(e,t,n){let r;if(Zs(e)){const i=q(e);return sr(i)||su(i)}if(nu(e))r=()=>q(e.useValue);else if(function Yd(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Sl(e.deps||[]));else if(function Kd(e){return!(!e||!e.useExisting)}(e))r=()=>Bn(q(e.useExisting));else{const i=q(e&&(e.useClass||e.provide));if(!function qy(e){return!!e.deps}(e))return sr(i)||su(i);r=()=>new i(...Sl(e.deps))}return r}function bo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Xy(e){return!!e.\u0275providers}function ou(e,t){for(const n of e)Array.isArray(n)?ou(n,t):Xy(n)?ou(n.\u0275providers,t):t(n)}class Zd{}class nv{resolveComponentFactory(t){throw function tv(e){const t=Error(`No component factory found for ${U(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ha=(()=>{class e{}return e.NULL=new nv,e})();function rv(){return So(gn(),Ce())}function So(e,t){return new fa(xn(e,t))}let fa=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=rv,e})();function iv(e){return e instanceof fa?e.nativeElement:e}class Xd{}let sv=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function ov(){const e=Ce(),n=Ht(gn().index,e);return(Sn(n)?n:e)[11]}(),e})(),av=(()=>{class e{}return e.\u0275prov=Qe({token:e,providedIn:"root",factory:()=>null}),e})();class eh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const lv=new eh("14.2.12"),au={};function uu(e){return e.ngOriginalError}class pa{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&&uu(t);for(;n&&uu(n);)n=uu(n);return n||null}}function th(e){return e.ownerDocument.defaultView}function os(e){return e instanceof Function?e():e}function rh(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}const ih="ng-template";function vv(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];
1if(n&&"class"===i){if(i=e[r],-1!==rh(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function sh(e){return 4===e.type&&e.value!==ih}function _v(e,t,n){return t===(4!==e.type||n?e.value:ih)}function Dv(e,t,n){let r=4;const i=e.attrs||[],s=function Cv(e){for(let t=0;t<e.length;t++)if(go(e[t]))return t;return e.length}(i);let l=!1;for(let h=0;h<t.length;h++){const g=t[h];if("number"!=typeof g){if(!l)if(4&r){if(r=2|1&r,""!==g&&!_v(e,g,n)||""===g&&1===t.length){if(gi(r))return!1;l=!0}}else{const C=8&r?g:t[++h];if(8&r&&null!==e.attrs){if(!vv(e.attrs,C,n)){if(gi(r))return!1;l=!0}continue}const x=Ev(8&r?"class":g,i,sh(e),n);if(-1===x){if(gi(r))return!1;l=!0;continue}if(""!==C){let ee;ee=x>s?"":i[x+1].toLowerCase();const oe=8&r?ee:null;if(oe&&-1!==rh(oe,C,0)||2&r&&C!==ee){if(gi(r))return!1;l=!0}}}}else{if(!l&&!gi(r)&&!gi(g))return!1;if(l&&gi(g))continue;l=!1,r=g|1&r}}return gi(r)||l}function gi(e){return 0==(1&e)}function Ev(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const l=t[i];if(l===e)return i;if(3===l||6===l)s=!0;else{if(1===l||2===l){let h=t[++i];for(;"string"==typeof h;)h=t[++i];continue}if(4===l)break;if(0===l){i+=4;continue}}i+=s?1:2}return-1}return function bv(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 oh(e,t,n=!1){for(let r=0;r<t.length;r++)if(Dv(e,t[r],n))return!0;return!1}function Sv(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function ah(e,t){return e?":not("+t.trim()+")":t}function Tv(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let l=e[n];if("string"==typeof l)if(2&r){const h=e[++n];i+="["+l+(h.length>0?'="'+h+'"':"")+"]"}else 8&r?i+="."+l:4&r&&(i+=" "+l);else""!==i&&!gi(l)&&(t+=ah(s,i),i=""),r=l,s=s||!gi(r);n++}return""!==i&&(t+=ah(s,i)),t}const wt={};function lh(e){uh(gt(),Ce(),K()+e,!1)}function uh(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&un(t,s,n)}else{const s=e.preOrderHooks;null!==s&&zn(t,s,0,n)}le(n)}function fh(e,t=null,n=null,r){const i=ph(e,t,n,r);return i.resolveInjectorInitializers(),i}function ph(e,t=null,n=null,r,i=new Set){const s=[n||Te,zy(e)];return r=r||("object"==typeof e?void 0:U(e)),new Qd(s,t||Ha(),r||null,i)}let Xs=(()=>{class e{static create(n,r){if(Array.isArray(n))return fh({name:""},r,n,"");{const i=n.name??"";return fh({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=ea,e.NULL=new zd,e.\u0275prov=Qe({token:e,providedIn:"any",factory:()=>Bn(eu)}),e.__NG_ELEMENT_ID__=-1,e})();function Io(e,t=ze.Default){const n=Ce();return null===n?Bn(e,t):En(gn(),n,q(e),t)}function Eh(){throw new Error("invalid")}function za(e,t){return e<<17|t<<2}function mi(e){return e>>17&32767}function pu(e){return 2|e}function as(e){return(131068&e)>>2}function gu(e,t){return-131069&e|t<<2}function mu(e){return 1|e}function Oh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const l=e.data[s];Li(i),l.contentQueries(2,t[s],s)}}}function Ka(e,t,n,r,i,s,l,h,g,C,R){const x=t.blueprint.slice();return x[0]=i,x[2]=76|r,(null!==R||e&&1024&e[2])&&(x[2]|=1024),kr(x),x[3]=x[15]=e,x[8]=n,x[10]=l||e&&e[10],x[11]=h||e&&e[11],x[12]=g||e&&e[12]||null,x[9]=C||e&&e[9]||null,x[6]=s,x[20]=function $m(){return Um++}(),x[21]=R,x[16]=2==t.type?e[16]:x,x}function Ao(e,t,n,r,i){let s=e.data[t];if(null===s)s=bu(e,t,n,r,i),function fo(){return Xe.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const l=xi();s.injectorIndex=null===l?-1:l.injectorIndex}return lr(s,!0),s}function bu(e,t,n,r,i){const s=qr(),l=Bs(),g=e.data[t]=function l_(e,t,n,r,i,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,l?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=g),null!==s&&(l?null==s.child&&null!==g.parent&&(s.child=g):null===s.next&&(s.next=g)),g}function Ro(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Su(e,t,n){Cs(t);try{const r=e.viewQuery;null!==r&&Nu(1,r,n);const i=e.template;null!==i&&Nh(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Oh(e,t),e.staticViewQueries&&Nu(2,e.viewQuery,n);const s=e.components;null!==s&&function s_(e,t){for(let n=0;n<t.length;n++)b_(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,T()}}function Ya(e,t,n,r){const i=t[2];if(128!=(128&i)){Cs(t);try{kr(t),function Xi(e){return Xe.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Nh(e,t,n,2,r);const l=3==(3&i);if(l){const C=e.preOrderCheckHooks;null!==C&&un(t,C,null)}else{const C=e.preOrderHooks;null!==C&&zn(t,C,0,null),Kn(t,0)}if(function w_(e){for(let t=Fl(e);null!==t;t=Ll(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],s=i[3];0==(512&i[2])&&Oi(s,1),i[2]|=512}}}(t),function E_(e){for(let t=Fl(e);null!==t;t=Ll(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];Xn(r)&&Ya(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Oh(e,t),l){const C=e.contentCheckHooks;null!==C&&un(t,C)}else{const C=e.contentHooks;null!==C&&zn(t,C,1),Kn(t,1)}!function r_(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)le(~i);else{const s=i,l=n[++r],h=n[++r];Ds(l,s),h(2,t[s])}}}finally{le(-1)}}(e,t);const h=e.components;null!==h&&function i_(e,t){for(let n=0;n<t.length;n++)C_(e,t[n])}(t,h);const g=e.viewQuery;if(null!==g&&Nu(2,g,r),l){const C=e.viewCheckHooks;null!==C&&un(t,C)}else{const C=e.viewHooks;null!==C&&zn(t,C,2),Kn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Oi(t[3],-1))}finally{T()}}}function Nh(e,t,n,r,i){const s=K(),l=2&r;try{le(-1),l&&t.length>
122&&uh(e,t,22,!1),n(r,i)}finally{le(s)}}function xh(e,t,n){if(si(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const l=e.data[s];l.contentQueries&&l.contentQueries(1,n[s],s)}}}function Tu(e,t,n){!ar()||(function f_(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||ht(n,t),hr(r,t);const l=n.initialInputs;for(let h=i;h<s;h++){const g=e.data[h],C=Gn(g);C&&v_(t,n,g);const R=Ln(t,e,h,n);hr(R,t),null!==l&&__(0,h-i,R,g,0,l),C&&(Ht(n.index,t)[8]=R)}}(e,t,n,xn(n,t)),128==(128&n.flags)&&function p_(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,l=function Es(){return Xe.lFrame.currentDirectiveIndex}();try{le(s);for(let h=r;h<i;h++){const g=e.data[h],C=t[h];ws(h),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&jh(g,C)}}finally{le(-1),ws(l)}}(e,t,n))}function Mu(e,t,n=xn){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const l=r[s+1],h=-1===l?n(t,e):e[l];e[i++]=h}}}function Fh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Iu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Iu(e,t,n,r,i,s,l,h,g,C){const R=22+r,x=R+i,ee=function o_(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:wt);return n}(R,x),oe="function"==typeof C?C():C;return ee[1]={type:e,blueprint:ee,template:n,queries:null,viewQuery:h,declTNode:t,data:ee.slice().fill(null,R),bindingStartIndex:R,expandoStartIndex:x,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof l?l():l,firstChild:null,schemas:g,consts:oe,incompleteFirstPass:!1}}function Lh(e,t,n,r){const i=Gh(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&Kh(e).push(r,i.length-1))}function kh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Bh(e,t){const r=t.directiveEnd,i=e.data,s=t.attrs,l=[];let h=null,g=null;for(let C=t.directiveStart;C<r;C++){const R=i[C],x=R.inputs,ee=null===s||sh(t)?null:D_(x,s);l.push(ee),h=kh(x,C,h),g=kh(R.outputs,C,g)}null!==h&&(h.hasOwnProperty("class")&&(t.flags|=16),h.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=l,t.inputs=h,t.outputs=g}function jr(e,t,n,r,i,s,l,h){const g=xn(t,n);let R,C=t.inputs;!h&&null!=C&&(R=C[r])?(xu(e,n,R,r,i),rr(t)&&Uh(n,t.index)):3&t.type&&(r=function u_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=l?l(i,t.value||"",r):i,s.setProperty(g,r,i))}function Uh(e,t){const n=Ht(t,e);16&n[2]||(n[2]|=32)}function Au(e,t,n,r){let i=!1;if(ar()){const s=function g_(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const l=r[s];oh(n,l.selectors,!1)&&(i||(i=[]),$t(ht(n,t),e,l.type),Gn(l)?(Hh(e,n),i.unshift(l)):i.push(l))}return i}(e,t,n),l=null===r?null:{"":-1};if(null!==s){i=!0,Vh(n,e.data.length,s.length);for(let R=0;R<s.length;R++){const x=s[R];x.providersResolver&&x.providersResolver(x)}let h=!1,g=!1,C=Ro(e,t,s.length,null);for(let R=0;R<s.length;R++){const x=s[R];n.mergedAttrs=Ts(n.mergedAttrs,x.hostAttrs),zh(e,n,t,C,x),y_(C,x,l),null!==x.contentQueries&&(n.flags|=8),(null!==x.hostBindings||null!==x.hostAttrs||0!==x.hostVars)&&(n.flags|=128);const ee=x.type.prototype;!h&&(ee.ngOnChanges||ee.ngOnInit||ee.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),h=!0),!g&&(ee.ngOnChanges||ee.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),g=!0),C++}Bh(e,n)}l&&function m_(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new he(-301,!1);r.push(t[i],s)}}}(n,r,l)}return n.mergedAttrs=Ts(n.mergedAttrs,n.attrs),i}function $h(e,t,n,r,i,s){const l=s.hostBindings;if(l){let h=e.hostBindingOpCodes;
1null===h&&(h=e.hostBindingOpCodes=[]);const g=~t.index;(function h_(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(h)!=g&&h.push(g),h.push(r,i,l)}}function jh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Hh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function y_(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Gn(t)&&(n[""]=e)}}function Vh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function zh(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=sr(i.type)),l=new Ir(s,Gn(i),Io);e.blueprint[r]=l,n[r]=l,$h(e,t,0,r,Ro(e,n,i.hostVars,wt),i)}function v_(e,t,n){const r=xn(t,e),i=Fh(n),s=e[10],l=Qa(e,Ka(e,i,null,n.onPush?32:16,r,t,s,s.createRenderer(r,n),null,null,null));e[t.index]=l}function Ru(e,t,n,r,i,s,l){if(null==s)e.removeAttribute(t,i,n);else{const h=null==l?ae(s):l(s,r||"",i);e.setAttribute(t,i,h,n)}}function __(e,t,n,r,i,s){const l=s[t];if(null!==l){const h=r.setInput;for(let g=0;g<l.length;){const C=l[g++],R=l[g++],x=l[g++];null!==h?r.setInput(n,x,C,R):n[R]=x}}}function D_(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Wh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function C_(e,t){const n=Ht(t,e);if(Xn(n)){const r=n[1];48&n[2]?Ya(r,n,r.template,n[8]):n[5]>0&&Pu(n)}}function Pu(e){for(let r=Fl(e);null!==r;r=Ll(r))for(let i=10;i<r.length;i++){const s=r[i];if(Xn(s))if(512&s[2]){const l=s[1];Ya(l,s,l.template,s[8])}else s[5]>0&&Pu(s)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=Ht(n[r],e);Xn(i)&&i[5]>0&&Pu(i)}}function b_(e,t){const n=Ht(t,e),r=n[1];(function S_(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Su(r,n,n[8])}function Qa(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Ou(e){for(;e;){e[2]|=32;const t=la(e);if(oi(e)&&!t)return e;e=t}return null}function qa(e,t,n,r=!0){const i=t[10];i.begin&&i.begin();try{Ya(e,t,e.template,n)}catch(l){throw r&&Qh(t,l),l}finally{i.end&&i.end()}}function Nu(e,t,n){Li(0),t(e,n)}function Gh(e){return e[7]||(e[7]=[])}function Kh(e){return e.cleanup||(e.cleanup=[])}function Qh(e,t){const n=e[9],r=n?n.get(pa,null):null;r&&r.handleError(t)}function xu(e,t,n,r,i){for(let s=0;s<n.length;){const l=n[s++],h=n[s++],g=t[l],C=e.data[l];null!==C.setInput?C.setInput(g,i,r,h):g[h]=i}}function ls(e,t,n){const r=br(t,e);md(e[11],r,n)}function Za(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let l=0;l<t.length;l++){const h=t[l];"number"==typeof h?s=h:1==s?i=re(i,h):2==s&&(r=re(r,h+": "+t[++l]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function Ja(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(on(s)),Hn(s))for(let h=10;h<s.length;h++){const g=s[h],C=g[1].firstChild;null!==C&&Ja(g[1],g,C,r)}const l=n.type;if(8&l)Ja(e,t,n.child,r);else if(32&l){const h=xl(n,t);let g;for(;g=h();)r.push(g)}else if(16&l){const h=Md(t,n);if(Array.isArray(h))r.push(...h);else{const g=la(t[16]);Ja(g[1],g,h,r,!0)}}n=i?n.projectionNext:n.next}return r}class ga{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Ja(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Hn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ul(t,r),Xo(n,r))}this._attachedToViewContainer=!1}vd(this._lView[1],this._lView)}onDestroy(t){Lh(this._lView[1],this._lView,null,t)}markForCheck(){Ou(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){qa(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new he(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ry(e,t){ua(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new he(902,!1);this._appRef=t}}class T_ extends ga{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;qa(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Fu extends ha{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Mt(t);return new ma(n,this.ngModule)}}function qh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class I_{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,au,r);return i!==au||n===au?i:this.parentInjector.get(t,n,r)}}class ma extends Zd{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Mv(e){return e.map(Tv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return qh(this.componentDef.inputs)}get outputs(){return qh(this.componentDef.outputs)}create(t,n,r,i){let s=(i=i||this.ngModule)instanceof Js?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const l=s?new I_(t,s):t,h=l.get(Xd,null);if(null===h)throw new he(407,!1);const g=l.get(av,null),C=h.createRenderer(null,this.componentDef),R=this.componentDef.selectors[0][0]||"div",x=r?function a_(e,t,n){return e.selectRootElement(t,n===de.ShadowDom)}(C,r,this.componentDef.encapsulation):Bl(C,R,function M_(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(R)),ee=this.componentDef.onPush?288:272,oe=Iu(0,null,null,1,0,null,null,null,null,null),_e=Ka(null,oe,null,ee,null,null,h,C,g,l,null);let Oe,Le;Cs(_e);try{const Ze=function P_(e,t,n,r,i,s){const l=n[1];n[22]=e;const g=Ao(l,22,2,"#host",null),C=g.mergedAttrs=t.hostAttrs;null!==C&&(Za(g,C,!0),null!==e&&(es(i,e,C),null!==g.classes&&Wl(i,e,g.classes),null!==g.styles&&Ad(i,e,g.styles)));const R=r.createRenderer(e,t),x=Ka(n,Fh(t),null,t.onPush?32:16,n[22],g,r,R,s||null,null,null);return l.firstCreatePass&&($t(ht(g,n),l,t.type),Hh(l,g),Vh(g,n.length,1)),Qa(n,x),n[22]=x}(x,this.componentDef,_e,h,C);if(x)if(r)es(C,x,["ng-version",lv.full]);else{const{attrs:at,classes:Se}=function Iv(e){const t=[],n=[];let r=1,i=2;
1for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!gi(i))break;i=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);at&&es(C,x,at),Se&&Se.length>0&&Wl(C,x,Se.join(" "))}if(Le=ui(oe,22),void 0!==n){const at=Le.projection=[];for(let Se=0;Se<this.ngContentSelectors.length;Se++){const ft=n[Se];at.push(null!=ft?Array.from(ft):null)}}Oe=function O_(e,t,n,r){const i=n[1],s=function d_(e,t,n){const r=gn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),zh(e,r,t,Ro(e,t,1,null),n),Bh(e,r));const i=Ln(t,e,r.directiveStart,r);hr(i,t);const s=xn(r,t);return s&&hr(s,t),i}(i,n,t);if(e[8]=n[8]=s,null!==r)for(const h of r)h(s,t);if(t.contentQueries){const h=gn();t.contentQueries(1,s,h.directiveStart)}const l=gn();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(le(l.index),$h(n[1],l,0,l.directiveStart,l.directiveEnd,t),jh(t,s)),s}(Ze,this.componentDef,_e,[N_]),Su(oe,_e,null)}finally{T()}return new R_(this.componentType,Oe,So(Le,_e),_e,Le)}}class R_ extends class ev{}{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new T_(i),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[t])){const s=this._rootLView;xu(s[1],s,i,t,n),Uh(s,this._tNode.index)}}get injector(){return new vr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function N_(){const e=gn();kt(Ce()[1],e)}function Lu(e){let t=function Zh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Gn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new he(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const l=e;l.inputs=ku(e.inputs),l.declaredInputs=ku(e.declaredInputs),l.outputs=ku(e.outputs);const h=i.hostBindings;h&&k_(e,h);const g=i.viewQuery,C=i.contentQueries;if(g&&F_(e,g),C&&L_(e,C),X(e.inputs,i.inputs),X(e.declaredInputs,i.declaredInputs),X(e.outputs,i.outputs),Gn(i)&&i.data.animation){const R=e.data;R.animation=(R.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let l=0;l<s.length;l++){const h=s[l];h&&h.ngInherit&&h(e),h===Lu&&(n=!1)}}t=Object.getPrototypeOf(t)}!function x_(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Ts(i.hostAttrs,n=Ts(n,i.hostAttrs))}}(r)}function ku(e){return e===Nt?{}:e===Te?[]:e}function F_(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function L_(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function k_(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let Xa=null;function eo(){if(!Xa){const e=ye.Symbol;if(e&&e.iterator)Xa=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Xa=r)}}}return Xa}function ya(e){return!!Bu(e)&&(Array.isArray(e)||!(e instanceof Map)&&eo()in e)}function Bu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Vi(e,t,n){return e[t]=n}function fr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function to(e,t,n,r){const i=fr(e,t,n);return fr(e,t+1,r)||i}function el(e,t,n,r,i){const s=to(e,t,n,r);return fr(e,t+2,i)||s}function Uu(e,t,n,r){const i=Ce();return fr(i,fi(),t)&&(gt(),function Hi(e,t,n,r,i,s){const l=xn(e,t);Ru(t[11],l,s,e.value,n,r,i)}(pe(),i,e,t,n,r)),Uu}function Oo(e,t,n,r){return fr(e,fi(),n)?t+ae(n)+r:wt}function Fo(e,t,n,r,i,s,l,h,g,C){const x=function ti(e,t,n,r,i,s){const l=to(e,t,n,r);return to(e,t+2,i,s)||l}(e,ur(),n,i,l,g);return Sr(4),x?t+ae(n)+r+ae(i)+s+ae(l)+h+ae(g)+C:wt}function uf(e,t,n,r,i,s,l,h){const g=Ce(),C=gt(),R=e+22,x=C.firstCreatePass?function W_(e,t,n,r,i,s,l,h,g){const C=t.consts,R=Ao(t,e,4,l||null,or(C,h));Au(t,n,R,or(C,g)),kt(t,R);const x=R.tViews=Iu(2,R,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,C);return null!==t.queries&&(t.queries.template(t,R),x.queries=t.queries.embeddedTView(R)
1),R}(R,C,g,t,n,r,i,s,l):C.data[R];lr(x,!1);const ee=g[11].createComment("");Fa(C,g,ee,x),hr(ee,g),Qa(g,g[R]=Wh(ee,g,ee,x)),Vr(x)&&Tu(C,g,x),null!=l&&Mu(g,x,h)}function cf(e){return Lr(function ci(){return Xe.lFrame.contextLView}(),22+e)}function $u(e,t,n){const r=Ce();return fr(r,fi(),t)&&jr(gt(),pe(),r,e,t,r[11],n,!1),$u}function ju(e,t,n,r,i){const l=i?"class":"style";xu(e,n,t.inputs[l],l,r)}function tl(e,t,n,r){const i=Ce(),s=gt(),l=22+e,h=i[11],g=i[l]=Bl(h,t,function At(){return Xe.lFrame.currentNamespace}()),C=s.firstCreatePass?function K_(e,t,n,r,i,s,l){const h=t.consts,C=Ao(t,e,2,i,or(h,s));return Au(t,n,C,or(h,l)),null!==C.attrs&&Za(C,C.attrs,!1),null!==C.mergedAttrs&&Za(C,C.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,C),C}(l,s,i,0,t,n,r):s.data[l];lr(C,!0);const R=C.mergedAttrs;null!==R&&es(h,g,R);const x=C.classes;null!==x&&Wl(h,g,x);const ee=C.styles;return null!==ee&&Ad(h,g,ee),64!=(64&C.flags)&&Fa(s,i,g,C),0===function Fs(){return Xe.lFrame.elementDepthCount}()&&hr(g,i),function vs(){Xe.lFrame.elementDepthCount++}(),Vr(C)&&(Tu(s,i,C),xh(s,C,i)),null!==r&&Mu(i,C),tl}function nl(){let e=gn();Bs()?Ji():(e=e.parent,lr(e,!1));const t=e;!function Qr(){Xe.lFrame.elementDepthCount--}();const n=gt();return n.firstCreatePass&&(kt(n,e),si(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function po(e){return 0!=(16&e.flags)}(t)&&ju(n,t,Ce(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Vs(e){return 0!=(32&e.flags)}(t)&&ju(n,t,Ce(),t.stylesWithoutHost,!1),nl}function Hu(e,t,n,r){return tl(e,t,n,r),nl(),Hu}function rl(e,t,n){const r=Ce(),i=gt(),s=e+22,l=i.firstCreatePass?function Y_(e,t,n,r,i){const s=t.consts,l=or(s,r),h=Ao(t,e,8,"ng-container",l);return null!==l&&Za(h,l,!0),Au(t,n,h,or(s,i)),null!==t.queries&&t.queries.elementStart(t,h),h}(s,i,r,t,n):i.data[s];lr(l,!0);const h=r[s]=r[11].createComment("");return Fa(i,r,h,l),hr(h,r),Vr(l)&&(Tu(i,r,l),xh(i,l,r)),null!=n&&Mu(r,l),rl}function il(){let e=gn();const t=gt();return Bs()?Ji():(e=e.parent,lr(e,!1)),t.firstCreatePass&&(kt(t,e),si(e)&&t.queries.elementEnd(e)),il}function hf(){return Ce()}function Vu(e){return!!e&&"function"==typeof e.then}function ff(e){return!!e&&"function"==typeof e.subscribe}const pf=ff;function zu(e,t,n,r){const i=Ce(),s=gt(),l=gn();return function mf(e,t,n,r,i,s,l,h){const g=Vr(r),R=e.firstCreatePass&&Kh(e),x=t[8],ee=Gh(t);let oe=!0;if(3&r.type||h){const Le=xn(r,t),Ze=h?h(Le):Le,at=ee.length,Se=h?Qt=>h(on(Qt[r.index])):r.index;let ft=null;if(!h&&g&&(ft=function Q_(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const l=i[s];if(l===n&&i[s+1]===r){const h=t[7],g=i[s+2];return h.length>g?h[g]:null}"string"==typeof l&&(s+=2)}return null}(e,t,i,r.index)),null!==ft)(ft.__ngLastListenerFn__||ft).__ngNextListenerFn__=s,ft.__ngLastListenerFn__=s,oe=!1;else{s=vf(r,t,x,s,!1);const Qt=n.listen(Ze,i,s);ee.push(s,Qt),R&&R.push(i,Se,at,at+1)}}else s=vf(r,t,x,s,!1);const _e=r.outputs;let Oe;if(oe&&null!==_e&&(Oe=_e[i])){const Le=Oe.length;if(Le)for(let Ze=0;Ze<Le;Ze+=2){const yn=t[Oe[Ze]][Oe[Ze+1]].subscribe(s),io=ee.length;ee.push(s,yn),R&&R.push(i,r.index,io,-(io+1))}}}(s,i,i[11],l,e,t,0,r),zu}function yf(e,t,n,r){try{return!1!==n(r)}catch(i){return Qh(e,i),!1}}function vf(e,t,n,r,i){return function s(l){if(l===Function)return r;Ou(2&e.flags?Ht(e.index,t):t);let g=yf(t,0,r,l),C=s.__ngNextListenerFn__;for(;C;)g=yf(t,0,C,l)&&g,C=C.__ngNextListenerFn__;return i&&!1===g&&(l.preventDefault(),l.returnValue=!1),g}}function _f(e=1){return function y(e){return(Xe.lFrame.contextLView=function P(e,t){for(;e>0;)t=t[15],e--;return t}(e,Xe.lFrame.contextLView))[8]}(e)}function q_(e,t){let n=null;const r=function wv(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?oh(e,s,!0):Sv(r,s))return i}else n=i}return n}function Df(e){const t=Ce()[16][6];if(!t.projection){const r=t.projection=c(e?e.length:1,null),i=r.slice();let s=t.child;for(;null!==s;){const l=e?q_(s,e):0;null!==l&&(i[l]?i[l].projectionNext=s:r[l]=s,i[l]=s),s=s.next}}}
1function Ef(e,t=0,n){const r=Ce(),i=gt(),s=Ao(i,22+e,16,null,n||null);null===s.projection&&(s.projection=t),Ji(),64!=(64&s.flags)&&function dy(e,t,n){Id(t[11],0,t,n,_d(e,n,t),Cd(n.parent||t[6],n,t))}(i,r,s)}function Wu(e,t,n){return sl(e,"",t,"",n),Wu}function sl(e,t,n,r,i){const s=Ce(),l=Oo(s,t,n,r);return l!==wt&&jr(gt(),pe(),s,e,l,s[11],i,!1),sl}function Rf(e,t,n,r,i){const s=e[n+1],l=null===t;let h=r?mi(s):as(s),g=!1;for(;0!==h&&(!1===g||l);){const R=e[h+1];X_(e[h],t)&&(g=!0,e[h+1]=r?mu(R):pu(R)),h=r?mi(R):as(R)}g&&(e[n+1]=r?pu(s):mu(s))}function X_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ne(e,t)>=0}const Wn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Pf(e){return e.substring(Wn.key,Wn.keyEnd)}function Of(e,t){const n=Wn.textEnd;return n===t?-1:(t=Wn.keyEnd=function rD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Wn.key=t,n),$o(e,t,n))}function $o(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Gu(e,t,n){return yi(e,t,n,!1),Gu}function Ku(e,t){return yi(e,t,null,!0),Ku}function kf(e){vi(z,Wi,e,!0)}function Wi(e,t){for(let n=function tD(e){return function xf(e){Wn.key=0,Wn.keyEnd=0,Wn.value=0,Wn.valueEnd=0,Wn.textEnd=e.length}(e),Of(e,$o(e,0,Wn.textEnd))}(t);n>=0;n=Of(t,n))z(e,Pf(t),!0)}function yi(e,t,n,r){const i=Ce(),s=gt(),l=Sr(2);s.firstUpdatePass&&Uf(s,e,l,r),t!==wt&&fr(i,l,t)&&jf(s,s.data[K()],i,i[11],e,i[l+1]=function fD(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=U(is(e)))),e}(t,n),r,l)}function vi(e,t,n,r){const i=gt(),s=Sr(2);i.firstUpdatePass&&Uf(i,null,s,r);const l=Ce();if(n!==wt&&fr(l,s,n)){const h=i.data[K()];if(Vf(h,r)&&!Bf(i,s)){let g=r?h.classesWithoutHost:h.stylesWithoutHost;null!==g&&(n=re(g,n||"")),ju(i,h,l,n,r)}else!function hD(e,t,n,r,i,s,l,h){i===wt&&(i=Te);let g=0,C=0,R=0<i.length?i[0]:null,x=0<s.length?s[0]:null;for(;null!==R||null!==x;){const ee=g<i.length?i[g+1]:void 0,oe=C<s.length?s[C+1]:void 0;let Oe,_e=null;R===x?(g+=2,C+=2,ee!==oe&&(_e=x,Oe=oe)):null===x||null!==R&&R<x?(g+=2,_e=R):(C+=2,_e=x,Oe=oe),null!==_e&&jf(e,t,n,r,_e,Oe,l,h),R=g<i.length?i[g]:null,x=C<s.length?s[C]:null}}(i,h,l,l[11],l[s+1],l[s+1]=function dD(e,t,n){if(null==n||""===n)return Te;const r=[],i=is(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,s)}}function Bf(e,t){return t>=e.expandoStartIndex}function Uf(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[K()],l=Bf(e,n);Vf(s,r)&&null===t&&!l&&(t=!1),t=function aD(e,t,n,r){const i=function Fi(e){const t=Xe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=_a(n=Yu(null,e,t,n,r),t.attrs,r),s=null);else{const l=t.directiveStylingLast;if(-1===l||e[l]!==i)if(n=Yu(i,e,t,n,r),null===s){let g=function lD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==as(r))return e[mi(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=Yu(null,e,t,g[1],r),g=_a(g,t.attrs,r),function uD(e,t,n,r){e[mi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else s=function cD(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=_a(r,e[s].hostAttrs,n);return _a(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function Z_(e,t,n,r,i,s){let l=s?t.classBindings:t.styleBindings,h=mi(l),g=as(l);e[r]=n;let R,C=!1;if(Array.isArray(n)){const x=n;R=x[1],(null===R||Ne(x,R)>0)&&(C=!0)}else R=n;if(i)if(0!==g){const ee=mi(e[h+1]);e[r+1]=za(ee,h),0!==ee&&(e[ee+1]=gu(e[ee+1],r)),e[h+1]=function Kv(e,t){return 131071&e|t<<17}(e[h+1],r)}else e[r+1]=za(h,0),0!==h&&(e[h+1]=gu(e[h+1],r)),h=r;else e[r+1]=za(g,0),0===h?h=r:e[g+1]=gu(e[g+1],r),g=r;C&&(e[r+1]=pu(e[r+1])),Rf(e,R,r,!0),Rf(e,R,r,!1),function J_(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Ne(s,t)>=0&&(n[r+1]=mu(n[r+1]))}(t,R,e,r,s),l=za(h,g),s?t.classBindings=l:t.styleBindings=l}(i,s,t,n,l,r)}}function Yu(e,t,n,r,i){let s=null;const l=n.directiveEnd;let h=n.directiveStylingLast;
1for(-1===h?h=n.directiveStart:h++;h<l&&(s=t[h],r=_a(r,s.hostAttrs,i),s!==e);)h++;return null!==e&&(n.directiveStylingLast=h),r}function _a(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const l=t[s];"number"==typeof l?i=l:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),z(e,l,!!n||t[++s]))}return void 0===e?null:e}function jf(e,t,n,r,i,s,l,h){if(!(3&t.type))return;const g=e.data,C=g[h+1];ol(function bh(e){return 1==(1&e)}(C)?Hf(g,t,n,i,as(C),l):void 0)||(ol(s)||function Ch(e){return 2==(2&e)}(C)&&(s=Hf(g,null,n,i,h,l)),function fy(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:ji.DashCase;null==i?e.removeStyle(n,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=ji.Important),e.setStyle(n,r,i,s))}}(r,l,br(K(),n),i,s))}function Hf(e,t,n,r,i,s){const l=null===t;let h;for(;i>0;){const g=e[i],C=Array.isArray(g),R=C?g[1]:g,x=null===R;let ee=n[i+1];ee===wt&&(ee=x?Te:void 0);let oe=x?ge(ee,r):R===r?ee:void 0;if(C&&!ol(oe)&&(oe=ge(g,r)),ol(oe)&&(h=oe,l))return h;const _e=e[i+1];i=l?mi(_e):as(_e)}if(null!==t){let g=s?t.residualClasses:t.residualStyles;null!=g&&(h=ge(g,r))}return h}function ol(e){return void 0!==e}function Vf(e,t){return 0!=(e.flags&(t?16:32))}function zf(e,t=""){const n=Ce(),r=gt(),i=e+22,s=r.firstCreatePass?Ao(r,i,1,t,null):r.data[i],l=n[i]=kl(n[11],t);Fa(r,n,l,s),lr(s,!1)}function Qu(e){return al("",e,""),Qu}function al(e,t,n){const r=Ce(),i=Oo(r,e,t,n);return i!==wt&&ls(r,K(),i),al}function qu(e,t,n,r,i){const s=Ce(),l=function No(e,t,n,r,i,s){const h=to(e,ur(),n,i);return Sr(2),h?t+ae(n)+r+ae(i)+s:wt}(s,e,t,n,r,i);return l!==wt&&ls(s,K(),l),qu}function Zu(e,t,n,r,i,s,l){const h=Ce(),g=function xo(e,t,n,r,i,s,l,h){const C=el(e,ur(),n,i,l);return Sr(3),C?t+ae(n)+r+ae(i)+s+ae(l)+h:wt}(h,e,t,n,r,i,s,l);return g!==wt&&ls(h,K(),g),Zu}function Zf(e,t,n){vi(z,Wi,Oo(Ce(),e,t,n),!0)}function Jf(e,t,n,r,i,s,l,h,g){vi(z,Wi,Fo(Ce(),e,t,n,r,i,s,l,h,g),!0)}function Ju(e,t,n){const r=Ce();return fr(r,fi(),t)&&jr(gt(),pe(),r,e,t,r[11],n,!0),Ju}const no=void 0;var PD=["en",[["a","p"],["AM","PM"],no],[["AM","PM"],no,no],[["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"]],no,[["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"]],no,[["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}",no,"{1} 'at' {0}",no],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function RD(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let jo={};function Xu(e){const t=function OD(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=cp(t);if(n)return n;const r=t.split("-")[0];if(n=cp(r),n)return n;if("en"===r)return PD;throw new he(701,!1)}function up(e){return Xu(e)[ut.PluralCase]}function cp(e){return e in jo||(jo[e]=ye.ng&&ye.ng.common&&ye.ng.common.locales&&ye.ng.common.locales[e]),jo[e]}var ut=(()=>((ut=ut||{})[ut.LocaleId=0]="LocaleId",ut[ut.DayPeriodsFormat=1]="DayPeriodsFormat",ut[ut.DayPeriodsStandalone=2]="DayPeriodsStandalone",ut[ut.DaysFormat=3]="DaysFormat",ut[ut.DaysStandalone=4]="DaysStandalone",ut[ut.MonthsFormat=5]="MonthsFormat",ut[ut.MonthsStandalone=6]="MonthsStandalone",ut[ut.Eras=7]="Eras",ut[ut.FirstDayOfWeek=8]="FirstDayOfWeek",ut[ut.WeekendRange=9]="WeekendRange",ut[ut.DateFormat=10]="DateFormat",ut[ut.TimeFormat=11]="TimeFormat",ut[ut.DateTimeFormat=12]="DateTimeFormat",ut[ut.NumberSymbols=13]="NumberSymbols",ut[ut.NumberFormats=14]="NumberFormats",ut[ut.CurrencyCode=15]="CurrencyCode",ut[ut.CurrencySymbol=16]="CurrencySymbol",ut[ut.CurrencyName=17]="CurrencyName",ut[ut.Currencies=18]="Currencies",ut[ut.Directionality=19]="Directionality",ut[ut.PluralCase=20]="PluralCase",ut[ut.ExtraData=21]="ExtraData",ut))();const ND=["zero","one","two","few","many"],Ho="en-US",ll={marker:"element"},ul={marker:"ICU"};var Tn=(()=>((Tn=Tn||{})[Tn.SHIFT=2]="SHIFT",Tn[Tn.APPEND_EAGERLY=1]="APPEND_EAGERLY",Tn[Tn.COMMENT=2]="COMMENT",Tn))();let dp=Ho;function hp(e){(function Ge(e,t){null==e&&De(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(dp=e.toLowerCase().replace(/_/g,"-"))}function fp(e,t,n){const r=t.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?bd(e,0,n):on(n[i])}function pp(e,t,n,r,i){const s=t.insertBeforeIndex;if(Array.isArray(s)){let l=r,h=null;if(3&t.type||(h=l,l=i),null!==l&&0==(2&t.flags))for(let g=1;g<s.length;g++)Ys(e,l,n[s[g]],h,!1)}}function gp(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];mp(r)||kD(r,t)&&null===BD(r)&&UD(r,t.index)}}function mp(e){return!(64&e.type)}function kD(e,t){return mp(t)||e.index>t.index}function BD(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function UD(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Td(fp,pp),e.insertBeforeIndex=t)}function Da(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}
1function HD(e,t,n){const r=bu(e,n,64,null,null);return gp(t,r),r}function cl(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function yp(e){return e>>>17}function vp(e){return(131070&e)>>>1}let Ea=0,wa=0;function Dp(e,t,n,r){const i=n[11];let l,s=null;for(let h=0;h<t.length;h++){const g=t[h];if("string"==typeof g){const C=t[++h];null===n[C]&&(n[C]=kl(i,g))}else if("number"==typeof g)switch(1&g){case 0:const C=yp(g);let R,x;if(null===s&&(s=C,l=xa(i,r)),C===s?(R=r,x=l):(R=null,x=on(n[C])),null!==x){const Oe=vp(g);Ys(i,x,n[Oe],R,!1);const Ze=Da(e,Oe);if(null!==Ze&&"object"==typeof Ze){const at=cl(Ze,n);null!==at&&Dp(e,Ze.create[at],n,n[Ze.anchorIdx])}}break;case 1:const oe=t[++h],_e=t[++h];Ru(i,br(g>>>1,n),null,null,oe,_e,null)}else switch(g){case ul:const C=t[++h],R=t[++h];null===n[R]&&hr(n[R]=ey(i,C),n);break;case ll:const x=t[++h],ee=t[++h];null===n[ee]&&hr(n[ee]=Bl(i,x,null),n)}}}function Ep(e,t,n,r,i){for(let s=0;s<n.length;s++){const l=n[s],h=n[++s];if(l&i){let g="";for(let C=s+1;C<=s+h;C++){const R=n[C];if("string"==typeof R)g+=R;else if("number"==typeof R)if(R<0)g+=ae(t[r-R]);else{const x=R>>>2;switch(3&R){case 1:const ee=n[++C],oe=n[++C],_e=e.data[x];"string"==typeof _e?Ru(t[11],t[x],null,_e,ee,g,oe):jr(e,_e,t,ee,g,t[11],oe,!1);break;case 0:const Oe=t[x];null!==Oe&&md(t[11],Oe,g);break;case 2:KD(e,Da(e,x),t,g);break;case 3:wp(e,Da(e,x),r,t)}}}}else{const g=n[s+1];if(g>0&&3==(3&g)){const R=Da(e,g>>>2);t[R.currentCaseLViewIndex]<0&&wp(e,R,r,t)}}s+=h}}function wp(e,t,n,r){let i=r[t.currentCaseLViewIndex];if(null!==i){let s=Ea;i<0&&(i=r[t.currentCaseLViewIndex]=~i,s=-1),Ep(e,r,t.update[i],n,s)}}function KD(e,t,n,r){const i=function YD(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function xD(e,t){const n=up(t)(parseInt(e,10)),r=ND[n];return void 0!==r?r:"other"}(t,function LD(){return dp}());n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(cl(t,n)!==i&&(Cp(e,t,n),n[t.currentCaseLViewIndex]=null===i?null:~i,null!==i)){const l=n[t.anchorIdx];l&&Dp(e,t.create[i],n,l)}}function Cp(e,t,n){let r=cl(t,n);if(null!==r){const i=t.remove[r];for(let s=0;s<i.length;s++){const l=i[s];if(l>0){const h=br(l,n);null!==h&&Vl(n[11],h)}else Cp(e,Da(e,~l),n)}}}function QD(){const e=[];let n,r,t=-1;function s(h,g){t=0;const C=cl(h,g);r=null!==C?h.remove[C]:Te}function l(){if(t<r.length){const h=r[t++];return h>0?n[h]:(e.push(t,r),s(n[1].data[~h],n),l())}return 0===e.length?null:(r=e.pop(),t=e.pop(),l())}return function i(h,g){for(n=g;e.length;)e.pop();return s(h.value,g),l}}const dl=/\ufffd(\d+):?\d*\ufffd/gi,ZD=/\ufffd(\d+)\ufffd/,Sp=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,JD=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,XD=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,eE=/\uE500/g;function Tp(e,t,n,r,i,s,l){const h=Ro(e,r,1,null);let g=h<<Tn.SHIFT,C=xi();t===C&&(C=null),null===C&&(g|=Tn.APPEND_EAGERLY),l&&(g|=Tn.COMMENT,function qm(e){void 0===Nl&&(Nl=e())}(QD)),i.push(g,null===s?"":s);const R=bu(e,h,l?32:1,null===s?"":s,null);gp(n,R);const x=R.index;return lr(R,!1),null!==C&&t!==C&&function jD(e,t){let n=e.insertBeforeIndex;null===n?(Td(fp,pp),n=e.insertBeforeIndex=[null,t]):(function Ae(e,t,n){e!=t&&De(n,e,t,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(C,x),R}function rE(e,t,n,r,i,s,l){const h=l.match(dl),g=Tp(e,t,n,s,r,h?null:l,!1);h&&ba(i,l,g.index,null,0,null)}function ba(e,t,n,r,i,s){const l=e.length,h=l+1;e.push(null,null);const g=l+2,C=t.split(dl);let R=0;for(let x=0;x<C.length;x++){const ee=C[x];if(1&x){const oe=i+parseInt(ee,10);e.push(-1-oe),R|=Mp(oe)}else""!==ee&&e.push(ee)}return e.push(n<<2|(r?1:0)),r&&e.push(r,s),e[l]=R,e[h]=e.length-g,R}function Mp(e){return 1<<Math.min(e,31)}function Ip(e){let t,s,n="",r=0,i=!1;for(;null!==(t=JD.exec(e));)i?t[0]===`\ufffd/*${s}\ufffd`&&(r=t.index,i=!1):(n+=e.substring(r,t.index+t[0].length),s=t[1],i=!0);return n+=e.slice(r),n}function Ap(e,t,n,r,i,s){let l=0;const h={type:i.type,currentCaseLViewIndex:Ro(e,t,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};(function dE(e,t,n){e.push(Mp(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(n,i,s),function $D(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(e,s,h);const g=i.values;for(let C=0;C<g.length;C++){const R=g[C],x=[];for(let ee=0;ee<R.length;ee++){const oe=R[ee];if("string"!=typeof oe){const _e=x.push(oe)-1;R[ee]=`\x3c!--\ufffd${_e}\ufffd--\x3e`}}l=uE(e,h,t,n,r,i.cases[C],R.join(""),x)|l}l&&function hE(e,t,n){e.push(t,1,n<<2|3)}(n,l,s)}function lE(e){const t=[],n=[];let r=1,i=0;const s=ec(e=e.replace(Sp,function(l,h,g){return r="select"===g?0:1,i=parseInt(h.slice(1),10),""}));for(let l=0;l<s.length;){let h=s[l++].trim();1===r&&(h=h.replace(/\s*(?:=)?(\w+)\s*/,"$1")),h.length&&t.push(h);const g=ec(s[l++]);t.length>n.length&&n.push(g)}return{type:r,mainBinding:i,cases:t,values:n}}function ec(e){if(!e)return[];let t=0;const n=[],r=[],i=/[{}]/g;let s;for(i.lastIndex=0;s=i.exec(e);){const h=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const g=e.substring(t,h);Sp.test(g)?r.push(lE(g)):r.push(g),t=h+1}}else{if(0==n.length){const g=e.substring(t,h);
1r.push(g),t=h+1}n.push("{")}}const l=e.substring(t);return r.push(l),r}function uE(e,t,n,r,i,s,l,h){const g=[],C=[],R=[];t.cases.push(s),t.create.push(g),t.remove.push(C),t.update.push(R);const ee=xd(Rd()).getInertBodyElement(l),oe=Zl(ee)||ee;return oe?Rp(e,t,n,r,g,C,R,oe,i,h,0):0}function Rp(e,t,n,r,i,s,l,h,g,C,R){let x=0,ee=h.firstChild;for(;ee;){const oe=Ro(e,n,1,null);switch(ee.nodeType){case Node.ELEMENT_NODE:const _e=ee,Oe=_e.tagName.toLowerCase();if(Ql.hasOwnProperty(Oe)){tc(i,ll,Oe,g,oe),e.data[oe]=Oe;const Se=_e.attributes;for(let ft=0;ft<Se.length;ft++){const Qt=Se.item(ft),yn=Qt.name.toLowerCase();Qt.value.match(dl)?Bd.hasOwnProperty(yn)&&ba(l,Qt.value,oe,Qt.name,0,ql[yn]?Ua:null):fE(i,oe,Qt)}x=Rp(e,t,n,r,i,s,l,ee,oe,C,R+1)|x,Pp(s,oe,R)}break;case Node.TEXT_NODE:const Le=ee.textContent||"",Ze=Le.match(dl);tc(i,null,Ze?"":Le,g,oe),Pp(s,oe,R),Ze&&(x=ba(l,Le,oe,null,0,null)|x);break;case Node.COMMENT_NODE:const at=ZD.exec(ee.textContent||"");if(at){const ft=C[parseInt(at[1],10)];tc(i,ul,"",g,oe),Ap(e,n,r,g,ft,oe),cE(s,oe,R)}}ee=ee.nextSibling}return x}function Pp(e,t,n){0===n&&e.push(t)}function cE(e,t,n){0===n&&(e.push(~t),e.push(t))}function tc(e,t,n,r,i){null!==t&&e.push(t),e.push(n,i,function VD(e,t,n){return e|t<<17|n<<1}(0,r,i))}function fE(e,t,n){e.push(t<<1|1,n.name,n.value)}function Np(e,t,n=-1){const r=gt(),i=Ce(),s=22+e,l=or(r.consts,t),h=xi();r.firstCreatePass&&function nE(e,t,n,r,i,s){const l=xi(),h=[],g=[],C=[[]];i=function aE(e,t){if(function oE(e){return-1===e}(t))return Ip(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,r=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return Ip(e.substring(n,r))}}(i,s);const R=function tE(e){return e.replace(eE," ")}(i).split(XD);for(let x=0;x<R.length;x++){let ee=R[x];if(0==(1&x)){const oe=ec(ee);for(let _e=0;_e<oe.length;_e++){let Oe=oe[_e];if(0==(1&_e)){const Le=Oe;""!==Le&&rE(e,l,C[0],h,g,n,Le)}else{const Le=Oe;if("object"!=typeof Le)throw new Error(`Unable to parse ICU expression in "${i}" message.`);Ap(e,n,g,t,Le,Tp(e,l,C[0],n,h,"",!0).index)}}}else{const oe=47===ee.charCodeAt(0),Oe=(ee.charCodeAt(oe?1:0),22+Number.parseInt(ee.substring(oe?2:1)));if(oe)C.shift(),lr(xi(),!1);else{const Le=HD(e,C[0],Oe);C.unshift([]),lr(Le,!0)}}}e.data[r]={create:h,update:g}}(r,null===h?0:h.index,i,s,l,n);const g=r.data[s],R=Dd(r,h===i[6]?null:h,i);(function GD(e,t,n,r){const i=e[11];for(let s=0;s<t.length;s++){const l=t[s++],h=t[s],g=(l&Tn.COMMENT)===Tn.COMMENT,C=(l&Tn.APPEND_EAGERLY)===Tn.APPEND_EAGERLY,R=l>>>Tn.SHIFT;let x=e[R];null===x&&(x=e[R]=g?i.createComment(h):kl(i,h)),C&&null!==n&&Ys(i,n,x,r,!1)}})(i,g.create,R,h&&8&h.type?i[h.index]:null),_s(!0)}function Fp(e,t,n){Np(e,t,n),function xp(){_s(!1)}()}function nc(e){return function zD(e){e&&(Ea|=1<<Math.min(wa,31)),wa++}(fr(Ce(),fi(),e)),nc}function Lp(e){!function WD(e,t,n){if(wa>0){const r=e.data[n];Ep(e,t,Array.isArray(r)?r:r.update,ur()-wa-1,Ea)}Ea=0,wa=0}(gt(),Ce(),e+22)}function rc(e,t,n,r,i){if(e=q(e),Array.isArray(e))for(let s=0;s<e.length;s++)rc(e[s],t,n,r,i);else{const s=gt(),l=Ce();let h=Zs(e)?e:q(e.provide),g=qd(e);const C=gn(),R=1048575&C.providerIndexes,x=C.directiveStart,ee=C.providerIndexes>>20;if(Zs(e)||!e.multi){const oe=new Ir(g,i,Io),_e=sc(h,t,i?R:R+ee,x);-1===_e?($t(ht(C,l),s,h),ic(s,e,t.length),t.push(h),C.directiveStart++,C.directiveEnd++,i&&(C.providerIndexes+=1048576),n.push(oe),l.push(oe)):(n[_e]=oe,l[_e]=oe)}else{const oe=sc(h,t,R+ee,x),_e=sc(h,t,R,R+ee),Oe=oe>=0&&n[oe],Le=_e>=0&&n[_e];if(i&&!Le||!i&&!Oe){$t(ht(C,l),s,h);const Ze=function ME(e,t,n,r,i){const s=new Ir(e,n,Io);return s.multi=[],s.index=t,s.componentProviders=0,kp(s,i,r&&!n),s}(i?TE:SE,n.length,i,r,g);!i&&Le&&(n[_e].providerFactory=Ze),ic(s,e,t.length,0),t.push(h),C.directiveStart++,C.directiveEnd++,i&&(C.providerIndexes+=1048576),n.push(Ze),l.push(Ze)}else ic(s,e,oe>-1?oe:_e,kp(n[i?_e:oe],g,!i&&r));!i&&r&&Le&&n[_e].componentProviders++}}}function ic(e,t,n,r){const i=Zs(t),s=function Gy(e){return!!e.useClass}(t);if(i||s){const g=(s?q(t.useClass):t).prototype.ngOnDestroy;if(g){const C=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const R=C.indexOf(n);-1===R?C.push(n,[r,g]):C[R+1].push(r,g)}else C.push(n,g)}}}
1function kp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function sc(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function SE(e,t,n,r){return oc(this.multi,[])}function TE(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const l=this.providerFactory.componentProviders,h=Ln(n,n[1],this.providerFactory.index,r);s=h.slice(0,l),oc(i,s);for(let g=l;g<h.length;g++)s.push(h[g])}else s=[],oc(i,s);return s}function oc(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Bp(e,t=[]){return n=>{n.providersResolver=(r,i)=>function bE(e,t,n){const r=gt();if(r.firstCreatePass){const i=Gn(e);rc(n,r.data,r.blueprint,i,!0),rc(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class Vo{}class Up{}function IE(e,t){return new $p(e,t??null)}class $p extends Vo{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Fu(this);const r=hn(t);this._bootstrapComponents=os(r.bootstrap),this._r3Injector=ph(t,n,[{provide:Vo,useValue:this},{provide:ha,useValue:this.componentFactoryResolver}],U(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 ac extends Up{constructor(t){super(),this.moduleType=t}create(t){return new $p(this.moduleType,t)}}class AE extends Vo{constructor(t,n,r){super(),this.componentFactoryResolver=new Fu(this),this.instance=null;const i=new Qd([...t,{provide:Vo,useValue:this},{provide:ha,useValue:this.componentFactoryResolver}],n||Ha(),r,new Set(["environment"]));this.injector=i,i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function lc(e,t,n=null){return new AE(e,t,n).injector}let RE=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=Wd(0,n.type),i=r.length>0?lc([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,i)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=Qe({token:e,providedIn:"environment",factory:()=>new e(Bn(Js))}),e})();function jp(e){e.getStandaloneInjector=t=>t.get(RE).getOrCreateStandaloneInjector(e)}function Yp(e,t,n){const r=fn()+e,i=Ce();return i[r]===wt?Vi(i,r,n?t.call(n):t()):function va(e,t){return e[t]}(i,r)}function Qp(e,t,n,r){return Jp(Ce(),fn(),e,t,n,r)}function qp(e,t,n,r,i){return Xp(Ce(),fn(),e,t,n,r,i)}function Zp(e,t,n,r,i,s){return function eg(e,t,n,r,i,s,l,h){const g=t+n;return el(e,g,i,s,l)?Vi(e,g+3,h?r.call(h,i,s,l):r(i,s,l)):Sa(e,g+3)}(Ce(),fn(),e,t,n,r,i,s)}function Sa(e,t){const n=e[t];return n===wt?void 0:n}function Jp(e,t,n,r,i,s){const l=t+n;return fr(e,l,i)?Vi(e,l+1,s?r.call(s,i):r(i)):Sa(e,l+1)}function Xp(e,t,n,r,i,s,l){const h=t+n;return to(e,h,i,s)?Vi(e,h+2,l?r.call(l,i,s):r(i,s)):Sa(e,h+2)}function rg(e,t){const n=gt();let r;const i=e+22;n.firstCreatePass?(r=function WE(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=sr(r.type)),l=bt(Io);try{const h=N(!1),g=s();return N(h),function G_(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Ce(),i,g),g}finally{bt(l)}}function ig(e,t,n){const r=e+22,i=Ce(),s=Lr(i,r);return Ta(i,r)?Jp(i,fn(),t,s.transform,n,s):s.transform(n)}function sg(e,t,n,r){const i=e+22,s=Ce(),l=Lr(s,i);return Ta(s,i)?Xp(s,fn(),t,l.transform,n,r,l):l.transform(n,r)}function Ta(e,t){return e[1].data[t].pure}function cc(e){return t=>{setTimeout(e,void 0,t)}}const Gi=class QE extends v.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let i=t,s=n||(()=>null),l=r;if(t&&"object"==typeof t){const g=t;i=g.next?.bind(g),s=g.error?.bind(g),l=g.complete?.bind(g)}this.__isAsync&&(s=cc(s),i&&(i=cc(i)),l&&(l=cc(l)));const h=super.subscribe({next:i,error:s,complete:l});return t instanceof I.w&&t.add(h),h}};function qE(){return this._results[eo()]()}class hl{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=eo(),r=hl.prototype;r[n]||(r[n]=qE)}get changes(){return this._changes||(this._changes=new Gi)}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)}
1forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const i=Dr(t);(this._changesDetected=!function Cl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Ma=(()=>{class e{}return e.__NG_ELEMENT_ID__=XE,e})();const ZE=Ma,JE=class extends ZE{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,i=Ka(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);i[17]=this._declarationLView[this._declarationTContainer.index];const l=this._declarationLView[19];return null!==l&&(i[19]=l.createEmbeddedView(r)),Su(r,i,t),new ga(i)}};function XE(){return fl(gn(),Ce())}function fl(e,t){return 4&e.type?new JE(t,e,So(e,t)):null}let pl=(()=>{class e{}return e.__NG_ELEMENT_ID__=e0,e})();function e0(){return lg(gn(),Ce())}const t0=pl,og=class extends t0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return So(this._hostTNode,this._hostLView)}get injector(){return new vr(this._hostTNode,this._hostLView)}get parentInjector(){const t=lt(this._hostTNode,this._hostLView);if(b(t)){const n=f(t,this._hostLView),r=o(t);return new vr(n[1].data[r+8],n)}return new vr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ag(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const l=t.createEmbeddedView(n||{},s);return this.insert(l,i),l}createComponent(t,n,r,i,s){const l=t&&!function Ks(e){return"function"==typeof e}(t);let h;if(l)h=n;else{const x=n||{};h=x.index,r=x.injector,i=x.projectableNodes,s=x.environmentInjector||x.ngModuleRef}const g=l?t:new ma(Mt(t)),C=r||this.parentInjector;if(!s&&null==g.ngModule){const ee=(l?C:this.parentInjector).get(Js,null);ee&&(s=ee)}const R=g.create(C,i,void 0,s);return this.insert(R.hostView,h),R}insert(t,n){const r=t._lView,i=r[1];if(function er(e){return Hn(e[3])}(r)){const R=this.indexOf(t);if(-1!==R)this.detach(R);else{const x=r[3],ee=new og(x,x[6],x[3]);ee.detach(ee.indexOf(t))}}const s=this._adjustIndex(n),l=this._lContainer;!function sy(e,t,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=t),r<s-10?(t[4]=n[i],Aa(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const l=t[17];null!==l&&n!==l&&function oy(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(l,t);const h=t[19];null!==h&&h.insertView(e),t[2]|=64}(i,r,l,s);const h=Hl(s,l),g=r[11],C=xa(g,l[7]);return null!==C&&function ny(e,t,n,r,i,s){r[0]=i,r[6]=t,ua(e,r,n,1,i,s)}(i,l[6],g,r,C,h),t.attachToViewContainerRef(),Aa(dc(l),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=ag(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ul(this._lContainer,n);r&&(Xo(dc(this._lContainer),n),vd(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ul(this._lContainer,n);return r&&null!=Xo(dc(this._lContainer),n)?new ga(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ag(e){return e[8]}function dc(e){return e[8]||(e[8]=[])}function lg(e,t){let n;const r=t[e.index];if(Hn(r))n=r;else{let i;if(8&e.type)i=on(r);else{const s=t[11];i=s.createComment("");const l=xn(e,t);Ys(s,xa(s,l),i,function cy(e,t){return e.nextSibling(t)}(s,l),!1)}t[e.index]=n=Wh(r,t,i,e),Qa(t,n)}return new og(n,e,t)}class hc{constructor(t){this.queryList=t,this.matches=null}clone(){return new hc(this.queryList)}setDirty(){this.queryList.setDirty()}}class fc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const l=n.getByIndex(s);i.push(this.queries[l.indexInDeclarationView].clone())}return new fc(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==yg(t,n).matches&&this.queries[n].setDirty()}}class ug{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class pc{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new pc(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 gc{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 gc(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}
1matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(t,n,s0(n,s)),this.matchTNodeWithReadOption(t,n,wn(n,t,s,!1,!1))}else r===Ma?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,wn(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===fa||i===pl||i===Ma&&4&n.type)this.addMatch(n.index,-2);else{const s=wn(n,t,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function s0(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 a0(e,t,n,r){return-1===n?function o0(e,t){return 11&e.type?So(e,t):4&e.type?fl(e,t):null}(t,e):-2===n?function l0(e,t,n){return n===fa?So(t,e):n===Ma?fl(t,e):n===pl?lg(t,e):void 0}(e,t,r):Ln(e,e[1],n,t)}function cg(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const s=e.data,l=n.matches,h=[];for(let g=0;g<l.length;g+=2){const C=l[g];h.push(C<0?null:a0(t,s[C],l[g+1],n.metadata.read))}i.matches=h}return i.matches}function mc(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const l=cg(e,t,i,n);for(let h=0;h<s.length;h+=2){const g=s[h];if(g>0)r.push(l[h/2]);else{const C=s[h+1],R=t[-g];for(let x=10;x<R.length;x++){const ee=R[x];ee[17]===ee[3]&&mc(ee[1],ee,C,r)}if(null!==R[9]){const x=R[9];for(let ee=0;ee<x.length;ee++){const oe=x[ee];mc(oe[1],oe,C,r)}}}}}return r}function dg(e){const t=Ce(),n=gt(),r=Us();Li(r+1);const i=yg(n,r);if(e.dirty&&function ho(e){return 4==(4&e[2])}(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const s=i.crossesNgTemplate?mc(n,t,r,[]):cg(n,t,i,r);e.reset(s,iv),e.notifyOnChanges()}return!0}return!1}function hg(e,t,n){const r=gt();r.firstCreatePass&&(mg(r,new ug(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),gg(r,Ce(),t)}function fg(e,t,n,r){const i=gt();if(i.firstCreatePass){const s=gn();mg(i,new ug(t,n,r),s.index),function c0(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}gg(i,Ce(),n)}function pg(){return function u0(e,t){return e[19].queries[t].queryList}(Ce(),Us())}function gg(e,t,n){const r=new hl(4==(4&n));Lh(e,t,r,r.destroy),null===t[19]&&(t[19]=new fc),t[19].queries.push(new hc(r))}function mg(e,t,n){null===e.queries&&(e.queries=new pc),e.queries.track(new gc(t,n))}function yg(e,t){return e.queries.getByIndex(t)}function vg(e,t){return fl(e,t)}const R0=Ui("Input",e=>({bindingPropertyName:e})),P0=Ui("Output",e=>({bindingPropertyName:e})),O0=Ui("HostListener",(e,t)=>({eventName:e,args:t}));function ml(...e){}const kg=new yt("Application Initializer");let yl=(()=>{class e{constructor(n){this.appInits=n,this.resolve=ml,this.reject=ml,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(Vu(s))n.push(s);else if(pf(s)){const l=new Promise((h,g)=>{s.subscribe({complete:h,error:g})});n.push(l)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Bn(kg,8))},e.\u0275prov=Qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Bg=new yt("AppId",{providedIn:"root",factory:function Ug(){return`${Ec()}${Ec()}${Ec()}`}});function Ec(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const $g=new yt("Platform Initializer"),N0=new yt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),jg=new yt("appBootstrapListener"),x0=new yt("AnimationModuleType");let F0=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Qe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const vl=new yt("LocaleId",{providedIn:"root",factory:()=>Qc(vl,ze.Optional|ze.SkipSelf)||function L0(){return typeof $localize<"u"&&$localize.locale||Ho}()}),k0=new yt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class B0{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let U0=(()=>{class e{compileModuleSync(n){return new ac(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=os(hn(n).declarations).reduce((l,h)=>{const g=Mt(h);return g&&l.push(new ma(g)),l},[]);return new B0(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const H0=(()=>Promise.resolve(0))();function wc(e){typeof Zone>"u"?H0.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ni{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Gi(!1),this.onMicrotaskEmpty=new Gi(!1),this.onStable=new Gi(!1),this.onError=ne
1w Gi(!1),typeof Zone>"u")throw new he(908,!1);Zone.assertZonePatched();const i=this;if(i._nesting=0,i._outer=i._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const s=Zone.AsyncStackTaggingZoneSpec;i._inner=i._inner.fork(new s("Angular"))}Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function V0(){let e=ye.requestAnimationFrame,t=ye.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function G0(e){const t=()=>{!function W0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ye,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,bc(e),e.isCheckStableRunning=!0,Cc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),bc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,l,h)=>{try{return zg(e),n.invokeTask(i,s,l,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Wg(e)}},onInvoke:(n,r,i,s,l,h,g)=>{try{return zg(e),n.invoke(i,s,l,h,g)}finally{e.shouldCoalesceRunChangeDetection&&t(),Wg(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,bc(e),Cc(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ni.isInAngularZone())throw new he(909,!1)}static assertNotInAngularZone(){if(ni.isInAngularZone())throw new he(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const s=this._inner,l=s.scheduleEventTask("NgZoneEvent: "+i,t,z0,ml,ml);try{return s.runTask(l,n,r)}finally{s.cancelTask(l)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const z0={};function Cc(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 bc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function zg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Wg(e){e._nesting--,Cc(e)}class K0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Gi,this.onMicrotaskEmpty=new Gi,this.onStable=new Gi,this.onError=new Gi}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}const Gg=new yt(""),Kg=new yt("");let Sc,Y0=(()=>{class e{constructor(n,r,i){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Sc||(function Q0(e){Sc=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ni.assertNotInAngularZone(),wc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}
1decreasePendingRequestCount(){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())wc(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(l=>l.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(Bn(ni),Bn(Yg),Bn(Kg))},e.\u0275prov=Qe({token:e,factory:e.\u0275fac}),e})(),Yg=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Sc?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Qe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Ps=null;const Qg=new yt("AllowMultipleToken"),Tc=new yt("PlatformDestroyListeners");class J0{constructor(t,n){this.name=t,this.token=n}}function Zg(e,t,n=[]){const r=`Platform: ${t}`,i=new yt(r);return(s=[])=>{let l=Mc();if(!l||l.injector.get(Qg,!1)){const h=[...n,...s,{provide:i,useValue:!0}];e?e(h):function X0(e){if(Ps&&!Ps.get(Qg,!1))throw new he(400,!1);Ps=e;const t=e.get(Xg);(function qg(e){const t=e.get($g,null);t&&t.forEach(n=>n())})(e)}(function Jg(e=[],t){return Xs.create({name:t,providers:[{provide:ru,useValue:"platform"},{provide:Tc,useValue:new Set([()=>Ps=null])},...e]})}(h,r))}return function tw(e){const t=Mc();if(!t)throw new he(401,!1);return t}()}}function Mc(){return Ps?.get(Xg)??null}let Xg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const i=function tm(e,t){let n;return n="noop"===e?new K0:("zone.js"===e?void 0:e)||new ni(t),n}(r?.ngZone,function em(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),s=[{provide:ni,useValue:i}];return i.run(()=>{const l=Xs.create({providers:s,parent:this.injector,name:n.moduleType.name}),h=n.create(l),g=h.injector.get(pa,null);if(!g)throw new he(402,!1);return i.runOutsideAngular(()=>{const C=i.onError.subscribe({next:R=>{g.handleError(R)}});h.onDestroy(()=>{Dl(this._modules,h),C.unsubscribe()})}),function nm(e,t,n){try{const r=n();return Vu(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(g,i,()=>{const C=h.injector.get(yl);return C.runInitializers(),C.donePromise.then(()=>(hp(h.injector.get(vl,Ho)||Ho),this._moduleDoBootstrap(h),h))})})}bootstrapModule(n,r=[]){const i=rm({},r);return function q0(e,t,n){const r=new ac(n);return Promise.resolve(r)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(_l);if(n._bootstrapComponents.length>
10)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new he(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new he(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Tc,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Bn(Xs))},e.\u0275prov=Qe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function rm(e,t){return Array.isArray(t)?t.reduce(rm,e):{...e,...t}}let _l=(()=>{class e{constructor(n,r,i){this._zone=n,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new J.y(h=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{h.next(this._stable),h.complete()})}),l=new J.y(h=>{let g;this._zone.runOutsideAngular(()=>{g=this._zone.onStable.subscribe(()=>{ni.assertNotInAngularZone(),wc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,h.next(!0))})})});const C=this._zone.onUnstable.subscribe(()=>{ni.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{h.next(!1)}))});return()=>{g.unsubscribe(),C.unsubscribe()}});this.isStable=(0,se.T)(s,l.pipe((0,te.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const i=n instanceof Zd;if(!this._injector.get(yl).done)throw!i&&Mn(n),new he(405,false);let l;l=i?n:this._injector.get(ha).resolveComponentFactory(n),this.componentTypes.push(l.componentType);const h=function Z0(e){return e.isBoundToModule}(l)?void 0:this._injector.get(Vo),C=l.create(Xs.NULL,[],r||l.selector,h),R=C.location.nativeElement,x=C.injector.get(Gg,null);return x?.registerApplication(R),C.onDestroy(()=>{this.detachView(C.hostView),Dl(this.components,C),x?.unregisterApplication(R)}),this._loadComponent(C),C}tick(){if(this._runningTick)throw new he(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Dl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(jg,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Dl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new he(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(Bn(ni),Bn(Js),Bn(pa))},e.\u0275prov=Qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Dl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let sm=!0;function rw(){sm=!1}let iw=(()=>{class e{}return e.__NG_ELEMENT_ID__=sw,e})();function sw(e){return function ow(e,t,n){if(rr(e)&&!n){const r=Ht(e.index,t);return new ga(r,r)}return 47&e.type?new ga(t[16],t):null}(gn(),Ce(),16==(16&e))}class cm{constructor(){}supports(t){return ya(t)}create(t){return new hw(t)}}const dw=(e,t)=>t;class hw{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||dw}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const l=!r||n&&n.currentIndex<hm(r,i,s)?n:r,h=hm(l,i,s),g=l.currentIndex;if(l===r)i--,r=r._nextRemoved;else if(n=n._next,null==l.previousIndex)i++;else{s||(s=[]);const C=h-i,R=g-i;if(C!=R){for(let ee=0;ee<C;ee++){const oe=ee<s.length?s[ee]:s[ee]=0,_e=oe+ee;R<=_e&&_e<C&&(s[ee]=oe+1)}s[l.previousIndex]=R-C}}h!==g&&t(l,h,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;
vendor: 5,044 bytes, line 1
1n=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=[]),!ya(t))throw new he(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,l,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)s=t[h],l=this._trackByFn(h,s),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,s,l,h)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,l,h),r=!0),n=n._next}else i=0,function H_(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[eo()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,h=>{l=this._trackByFn(i,h),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,h,l,i)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,l,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new fw(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new dm),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 dm),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 fw{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 pw{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;
1r=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 dm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new pw,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function hm(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class fm{constructor(){}supports(t){return t instanceof Map||Bu(t)}create(){return new gw}}class gw{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||Bu(t)))throw new he(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,l=i._next;return s&&(s._next=l),l&&(l._prev=s),i._next=null,i._prev=null,i}const r=new mw(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 mw{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 pm(){return new Oc([new cm])}let Oc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||pm()),deps:[[e,new ia,new ra]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new he(901,!1)}}return e.\u0275prov=Qe({token:e,providedIn:"root",factory:pm}),e})();function gm(){return new Nc([new fm])}let Nc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||gm()),deps:[[e,new ia,new ra]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new he(901,!1)}}return e.\u0275prov=Qe({token:e,providedIn:"root",factory:gm}),e})();const _w=Zg(null,"core",[]);let Dw=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Bn(_l))},e.\u0275mod=ln({type:e}),e.\u0275inj=Gt({}),e})();function Ew(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},1481:(ke,ue,M)=>{M.d(ue,{Dx:()=>ve,H7:()=>Kt,b2:()=>Pr,q6:()=>qt,se:()=>He});var v=M(6895),I=M(4650);class J extends v.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class se extends J{static makeCurrent(){(0,v.HT)(new se)}onAndCancel(V,F,w){return V.addEventListener(F,w,!1),()=>{V.removeEventListener(F,w,!1)}}dispatchEvent(V,F){V.dispatchEvent(F)}remove(V){V.parentNode&&V.parentNode.removeChild(V)}createElement(V,F){return(F=F||this.getDefaultDocument()).createElement(V)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(V){return V.nodeType===Node.ELEMENT_NODE}isShadowRoot(V){return V instanceof DocumentFragment}getGlobalEventTarget(V,F){return"window"===F?window:"document"===F?V:"body"===F?V.body:null}getBaseHref(V){const F=function L(){return te=te||document.querySelector("base"),te?te.getAttribute("href"):null}();return null==F?null:function U(G){X=X||document.createElement("a"),X.setAttribute("href",G);const V=X.pathname;return"/"===V.charAt(0)?V:`/${V}`}
1(F)}resetBaseElement(){te=null}getUserAgent(){return window.navigator.userAgent}getCookie(V){return(0,v.Mx)(document.cookie,V)}}let X,te=null;const re=new I.OlP("TRANSITION_ID"),Q=[{provide:I.ip1,useFactory:function Y(G,V,F){return()=>{F.get(I.CZH).donePromise.then(()=>{const w=(0,v.q)(),E=V.querySelectorAll(`style[ng-transition="${G}"]`);for(let _=0;_<E.length;_++)w.remove(E[_])})}},deps:[re,v.K0,I.zs3],multi:!0}];let ce=(()=>{class G{build(){return new XMLHttpRequest}}return G.\u0275fac=function(F){return new(F||G)},G.\u0275prov=I.Yz7({token:G,factory:G.\u0275fac}),G})();const Me=new I.OlP("EventManagerPlugins");let he=(()=>{class G{constructor(F,w){this._zone=w,this._eventNameToPlugin=new Map,F.forEach(E=>E.manager=this),this._plugins=F.slice().reverse()}addEventListener(F,w,E){return this._findPluginFor(w).addEventListener(F,w,E)}addGlobalEventListener(F,w,E){return this._findPluginFor(w).addGlobalEventListener(F,w,E)}getZone(){return this._zone}_findPluginFor(F){const w=this._eventNameToPlugin.get(F);if(w)return w;const E=this._plugins;for(let _=0;_<E.length;_++){const A=E[_];if(A.supports(F))return this._eventNameToPlugin.set(F,A),A}throw new Error(`No event manager plugin found for event ${F}`)}}return G.\u0275fac=function(F){return new(F||G)(I.LFG(Me),I.LFG(I.R0b))},G.\u0275prov=I.Yz7({token:G,factory:G.\u0275fac}),G})();class ie{constructor(V){this._doc=V}addGlobalEventListener(V,F,w){const E=(0,v.q)().getGlobalEventTarget(this._doc,V);if(!E)throw new Error(`Unsupported event target ${E} for event ${F}`);return this.addEventListener(E,F,w)}}let ae=(()=>{class G{constructor(){this._stylesSet=new Set}addStyles(F){const w=new Set;F.forEach(E=>{this._stylesSet.has(E)||(this._stylesSet.add(E),w.add(E))}),this.onStylesAdded(w)}onStylesAdded(F){}getAllStyles(){return Array.from(this._stylesSet)}}return G.\u0275fac=function(F){return new(F||G)},G.\u0275prov=I.Yz7({token:G,factory:G.\u0275fac}),G})(),Ie=(()=>{class G extends ae{constructor(F){super(),this._doc=F,this._hostNodes=new Map,this._hostNodes.set(F.head,[])}_addStylesToHost(F,w,E){F.forEach(_=>{const A=this._doc.createElement("style");A.textContent=_,E.push(w.appendChild(A))})}addHost(F){const w=[];this._addStylesToHost(this._stylesSet,F,w),this._hostNodes.set(F,w)}removeHost(F){const w=this._hostNodes.get(F);w&&w.forEach(it),this._hostNodes.delete(F)}onStylesAdded(F){this._hostNodes.forEach((w,E)=>{this._addStylesToHost(F,E,w)})}ngOnDestroy(){this._hostNodes.forEach(F=>F.forEach(it))}}return G.\u0275fac=function(F){return new(F||G)(I.LFG(v.K0))},G.\u0275prov=I.Yz7({token:G,factory:G.\u0275fac}),G})();function it(G){(0,v.q)().remove(G)}const vt={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/"},xe=/%COMP%/g;function dt(G,V,F){for(let w=0;w<V.length;w++){let E=V[w];Array.isArray(E)?dt(G,E,F):(E=E.replace(xe,G),F.push(E))}return F}function st(G){return V=>{if("__ngUnwrap__"===V)return G;!1===G(V)&&(V.preventDefault(),V.returnValue=!1)}}let He=(()=>{class G{constructor(F,w,E){this.eventManager=F,this.sharedStylesHost=w,this.appId=E,this.rendererByCompId=new Map,this.defaultRenderer=new Un(F)}createRenderer(F,w){if(!F||!w)return this.defaultRenderer;switch(w.encapsulation){case I.ifc.Emulated:{let E=this.rendererByCompId.get(w.id);return E||(E=new Ge(this.eventManager,this.sharedStylesHost,w,this.appId),this.rendererByCompId.set(w.id,E)),E.applyToHost(F),E}case 1:case I.ifc.ShadowDom:return new De(this.eventManager,this.sharedStylesHost,F,w);default:if(!this.rendererByCompId.has(w.id)){const E=dt(w.id,w.styles,[]);this.sharedStylesHost.addStyles(E),this.rendererByCompId.set(w.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return G.\u0275fac=function(F){return new(F||G)(I.LFG(he),I.LFG(Ie),I.LFG(I.AFp))},G.\u0275prov=I.Yz7({token:G,factory:G.\u0275fac}),G})();class Un{constructor(V){this.eventManager=V,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(V,F){return F?document.createElementNS(vt[F]||F,V):document.createElement(V)}createComment(V){return document.createComment(V)}createText(V){return document.createTextNode(V)}appendChild(V,F){(We(V)?V.content:V).appendChild(F)}insertBefore(V,F,w){V&&(We(V)?V.content:V).insertBefore(F,w)}removeChild(V,F){V&&V.removeChild(F)}selectRootElement(V,F){let w="string"==typeof V?document.querySelector(V):V;if(!w)throw new Error(`The selector "${V}" did not match any elements`);return F||(w.textContent=""),w}parentNode(V){return V.parentNode}nextSibling(V){return V.nextSibling}setAttribute(V,F,w,E){if(E){F=E+":"+F;const _=vt[E];_?V.setAttributeNS(_,F,w):V.setAttribute(F,w)}else V.setAttribute(F,w)}
1removeAttribute(V,F,w){if(w){const E=vt[w];E?V.removeAttributeNS(E,F):V.removeAttribute(`${w}:${F}`)}else V.removeAttribute(F)}addClass(V,F){V.classList.add(F)}removeClass(V,F){V.classList.remove(F)}setStyle(V,F,w,E){E&(I.JOm.DashCase|I.JOm.Important)?V.style.setProperty(F,w,E&I.JOm.Important?"important":""):V.style[F]=w}removeStyle(V,F,w){w&I.JOm.DashCase?V.style.removeProperty(F):V.style[F]=""}setProperty(V,F,w){V[F]=w}setValue(V,F){V.nodeValue=F}listen(V,F,w){return"string"==typeof V?this.eventManager.addGlobalEventListener(V,F,st(w)):this.eventManager.addEventListener(V,F,st(w))}}function We(G){return"TEMPLATE"===G.tagName&&void 0!==G.content}class Ge extends Un{constructor(V,F,w,E){super(V),this.component=w;const _=dt(E+"-"+w.id,w.styles,[]);F.addStyles(_),this.contentAttr=function Ct(G){return"_ngcontent-%COMP%".replace(xe,G)}(E+"-"+w.id),this.hostAttr=function Ae(G){return"_nghost-%COMP%".replace(xe,G)}(E+"-"+w.id)}applyToHost(V){super.setAttribute(V,this.hostAttr,"")}createElement(V,F){const w=super.createElement(V,F);return super.setAttribute(w,this.contentAttr,""),w}}class De extends Un{constructor(V,F,w,E){super(V),this.sharedStylesHost=F,this.hostEl=w,this.shadowRoot=w.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const _=dt(E.id,E.styles,[]);for(let A=0;A<_.length;A++){const k=document.createElement("style");k.textContent=_[A],this.shadowRoot.appendChild(k)}}nodeOrShadowRoot(V){return V===this.hostEl?this.shadowRoot:V}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(V,F){return super.appendChild(this.nodeOrShadowRoot(V),F)}insertBefore(V,F,w){return super.insertBefore(this.nodeOrShadowRoot(V),F,w)}removeChild(V,F){return super.removeChild(this.nodeOrShadowRoot(V),F)}parentNode(V){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(V)))}}let Je=(()=>{class G extends ie{constructor(F){super(F)}supports(F){return!0}addEventListener(F,w,E){return F.addEventListener(w,E,!1),()=>this.removeEventListener(F,w,E)}removeEventListener(F,w,E){return F.removeEventListener(w,E)}}return G.\u0275fac=function(F){return new(F||G)(I.LFG(v.K0))},G.\u0275prov=I.Yz7({token:G,factory:G.\u0275fac}),G})();const Ft=["alt","control","meta","shift"],jn={"\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"},Qe={alt:G=>G.altKey,control:G=>G.ctrlKey,meta:G=>G.metaKey,shift:G=>G.shiftKey};let Yn=(()=>{class G extends ie{constructor(F){super(F)}supports(F){return null!=G.parseEventName(F)}addEventListener(F,w,E){const _=G.parseEventName(w),A=G.eventCallback(_.fullKey,E,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,v.q)().onAndCancel(F,_.domEventName,A))}static parseEventName(F){const w=F.toLowerCase().split("."),E=w.shift();if(0===w.length||"keydown"!==E&&"keyup"!==E)return null;const _=G._normalizeKey(w.pop());let A="",k=w.indexOf("code");if(k>-1&&(w.splice(k,1),A="code."),Ft.forEach(me=>{const we=w.indexOf(me);we>-1&&(w.splice(we,1),A+=me+".")}),A+=_,0!=w.length||0===_.length)return null;const $={};return $.domEventName=E,$.fullKey=A,$}static matchEventFullKeyCode(F,w){let E=jn[F.key]||F.key,_="";return w.indexOf("code.")>-1&&(E=F.code,_="code."),!(null==E||!E)&&(E=E.toLowerCase()," "===E?E="space":"."===E&&(E="dot"),Ft.forEach(A=>{A!==E&&(0,Qe[A])(F)&&(_+=A+".")}),_+=E,_===w)}static eventCallback(F,w,E){return _=>{G.matchEventFullKeyCode(_,F)&&E.runGuarded(()=>w(_))}}static _normalizeKey(F){return"esc"===F?"escape":F}}return G.\u0275fac=function(F){return new(F||G)(I.LFG(v.K0))},G.\u0275prov=I.Yz7({token:G,factory:G.\u0275fac}),G})();const qt=(0,I.eFA)(I._c5,"browser",[{provide:I.Lbi,useValue:v.bD},{provide:I.g9A,useValue:function Qn(){se.makeCurrent()},multi:!0},{provide:v.K0,useFactory:function Rn(){return(0,I.RDi)(document),document},deps:[]}]),Cn=new I.OlP(""),ze=[{provide:I.rWj,useClass:class q{addToWindow(V){I.dqk.getAngularTestability=(w,E=!0)=>{const _=V.findTestabilityInTree(w,E);if(null==_)throw new Error("Could not find testability for element.");return _},I.dqk.getAllAngularTestabilities=()=>V.getAllTestabilities(),I.dqk.getAllAngularRootElements=()=>V.getAllRootElements(),I.dqk.frameworkStabilizers||(I.dqk.frameworkStabilizers=[]),I.dqk.frameworkStabilizers.push(w=>{const E=I.dqk.getAllAngularTestabilities();let _=E.length,A=!1;const k=function($){A=A||$,_--,0==_&&w(A)};
1E.forEach(function($){$.whenStable(k)})})}findTestabilityInTree(V,F,w){return null==F?null:V.getTestability(F)??(w?(0,v.q)().isShadowRoot(F)?this.findTestabilityInTree(V,F.host,!0):this.findTestabilityInTree(V,F.parentElement,!0):null)}},deps:[]},{provide:I.lri,useClass:I.dDg,deps:[I.R0b,I.eoX,I.rWj]},{provide:I.dDg,useClass:I.dDg,deps:[I.R0b,I.eoX,I.rWj]}],gr=[{provide:I.zSh,useValue:"root"},{provide:I.qLn,useFactory:function en(){return new I.qLn},deps:[]},{provide:Me,useClass:Je,multi:!0,deps:[v.K0,I.R0b,I.Lbi]},{provide:Me,useClass:Yn,multi:!0,deps:[v.K0]},{provide:He,useClass:He,deps:[he,Ie,I.AFp]},{provide:I.FYo,useExisting:He},{provide:ae,useExisting:Ie},{provide:Ie,useClass:Ie,deps:[v.K0]},{provide:he,useClass:he,deps:[Me,I.R0b]},{provide:v.JF,useClass:ce,deps:[]},[]];let Pr=(()=>{class G{constructor(F){}static withServerTransition(F){return{ngModule:G,providers:[{provide:I.AFp,useValue:F.appId},{provide:re,useExisting:I.AFp},Q]}}}return G.\u0275fac=function(F){return new(F||G)(I.LFG(Cn,12))},G.\u0275mod=I.oAB({type:G}),G.\u0275inj=I.cJS({providers:[...gr,...ze],imports:[v.ez,I.hGG]}),G})(),ve=(()=>{class G{constructor(F){this._doc=F}getTitle(){return this._doc.title}setTitle(F){this._doc.title=F||""}}return G.\u0275fac=function(F){return new(F||G)(I.LFG(v.K0))},G.\u0275prov=I.Yz7({token:G,factory:function(F){let w=null;return w=F?new F:function It(){return new ve((0,I.LFG)(v.K0))}(),w},providedIn:"root"}),G})();typeof window<"u"&&window;let Kt=(()=>{class G{}return G.\u0275fac=function(F){return new(F||G)},G.\u0275prov=I.Yz7({token:G,factory:function(F){let w=null;return w=F?new(F||G):I.LFG(hn),w},providedIn:"root"}),G})(),hn=(()=>{class G extends Kt{constructor(F){super(),this._doc=F}sanitize(F,w){if(null==w)return null;switch(F){case I.q3G.NONE:return w;case I.q3G.HTML:return(0,I.qzn)(w,"HTML")?(0,I.z3N)(w):(0,I.EiD)(this._doc,String(w)).toString();case I.q3G.STYLE:return(0,I.qzn)(w,"Style")?(0,I.z3N)(w):w;case I.q3G.SCRIPT:if((0,I.qzn)(w,"Script"))return(0,I.z3N)(w);throw new Error("unsafe value used in a script context");case I.q3G.URL:return(0,I.qzn)(w,"URL")?(0,I.z3N)(w):(0,I.mCW)(String(w));case I.q3G.RESOURCE_URL:if((0,I.qzn)(w,"ResourceURL"))return(0,I.z3N)(w);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${F} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(F){return(0,I.JVY)(F)}bypassSecurityTrustStyle(F){return(0,I.L6k)(F)}bypassSecurityTrustScript(F){return(0,I.eBb)(F)}bypassSecurityTrustUrl(F){return(0,I.LAX)(F)}bypassSecurityTrustResourceUrl(F){return(0,I.pB0)(F)}}return G.\u0275fac=function(F){return new(F||G)(I.LFG(v.K0))},G.\u0275prov=I.Yz7({token:G,factory:function(F){let w=null;return w=F?new F:function Mn(G){return new hn(G.get(v.K0))}(I.LFG(I.zs3)),w},providedIn:"root"}),G})()},4836:(ke,ue,M)=>{M.d(ue,{gz:()=>Gr,OD:()=>nr,F0:()=>nn,rH:()=>Ln,Od:()=>yr,yS:()=>cr,Bz:()=>In,lC:()=>li});var v=M(4650),I=M(5254),J=M(1086),se=M(591),te=M(4450),L=M(6053),X=M(1221),U=M(8514),re=M(4843),Y=M(1737),Q=M(6498),q=M(8896),ce=M(1762),Me=M(8929),he=M(6895),ie=M(4850),ae=M(7545),Ie=M(2986),it=M(1059),vt=M(2198),xe=M(1709),Ee=M(7224),qe=M(1406),pt=M(2994),Fe=M(7221),Ct=M(3489);function Ae(c,d){let u=!1;return arguments.length>=2&&(u=!0),function(D){return D.lift(new dt(c,d,u))}}class dt{constructor(d,u,m=!1){this.accumulator=d,this.seed=u,this.hasSeed=m}call(d,u){return u.subscribe(new st(d,this.accumulator,this.seed,this.hasSeed))}}class st extends Ct.L{constructor(d,u,m,D){super(d),this.accumulator=u,this._seed=m,this.hasSeed=D,this.index=0}get seed(){return this._seed}set seed(d){this.hasSeed=!0,this._seed=d}_next(d){if(this.hasSeed)return this._tryNext(d);this.seed=d,this.destination.next(d)}_tryNext(d){const u=this.index++;let m;try{m=this.accumulator(this.seed,d,u)}catch(D){this.destination.error(D)}this.seed=m,this.destination.next(m)}}var Ot=M(8127);class Un{constructor(d,u){this.predicate=d,this.inclusive=u}call(d,u){return u.subscribe(new Rr(d,this.predicate,this.inclusive))}}
1class Rr extends Ct.L{constructor(d,u,m){super(d),this.predicate=u,this.inclusive=m,this.index=0}_next(d){const u=this.destination;let m;try{m=this.predicate(d,this.index++)}catch(D){return void u.error(D)}this.nextOrComplete(d,m)}nextOrComplete(d,u){const m=this.destination;Boolean(u)?m.next(d):(this.inclusive&&m.next(d),m.complete())}}var $n=M(7314),We=M(2821),Ge=M(7604),De=M(537),Je=M(4327),Ft=M(9146),jn=M(1481);const Qe="primary",Yn=Symbol("RouteTitle");class Gt{constructor(d){this.params=d||{}}has(d){return Object.prototype.hasOwnProperty.call(this.params,d)}get(d){if(this.has(d)){const u=this.params[d];return Array.isArray(u)?u[0]:u}return null}getAll(d){if(this.has(d)){const u=this.params[d];return Array.isArray(u)?u:[u]}return[]}get keys(){return Object.keys(this.params)}}function Xt(c){return new Gt(c)}function Di(c,d,u){const m=u.path.split("/");if(m.length>c.length||"full"===u.pathMatch&&(d.hasChildren()||m.length<c.length))return null;const D={};for(let O=0;O<m.length;O++){const B=m[O],z=c[O];if(B.startsWith(":"))D[B.substring(1)]=z;else if(B!==z.path)return null}return{consumed:c.slice(0,m.length),posParams:D}}function cn(c,d){const u=c?Object.keys(c):void 0,m=d?Object.keys(d):void 0;if(!u||!m||u.length!=m.length)return!1;let D;for(let O=0;O<u.length;O++)if(D=u[O],!Qn(c[D],d[D]))return!1;return!0}function Qn(c,d){if(Array.isArray(c)&&Array.isArray(d)){if(c.length!==d.length)return!1;const u=[...c].sort(),m=[...d].sort();return u.every((D,O)=>m[O]===D)}return c===d}function en(c){return Array.prototype.concat.apply([],c)}function Rn(c){return c.length>0?c[c.length-1]:null}function qt(c,d){for(const u in c)c.hasOwnProperty(u)&&d(c[u],u)}function Cn(c){return(0,v.CqO)(c)?c:(0,v.QGY)(c)?(0,I.D)(Promise.resolve(c)):(0,J.of)(c)}const Pr={exact:function It(c,d,u){if(!Te(c.segments,d.segments)||!de(c.segments,d.segments,u)||c.numberOfChildren!==d.numberOfChildren)return!1;for(const m in d.children)if(!c.children[m]||!It(c.children[m],d.children[m],u))return!1;return!0},subset:Z},bt={exact:function Ei(c,d){return cn(c,d)},subset:function ve(c,d){return Object.keys(d).length<=Object.keys(c).length&&Object.keys(d).every(u=>Qn(c[u],d[u]))},ignored:()=>!0};function an(c,d,u){return Pr[u.paths](c.root,d.root,u.matrixParams)&&bt[u.queryParams](c.queryParams,d.queryParams)&&!("exact"===u.fragment&&c.fragment!==d.fragment)}function Z(c,d,u){return H(c,d,d.segments,u)}function H(c,d,u,m){if(c.segments.length>u.length){const D=c.segments.slice(0,u.length);return!(!Te(D,u)||d.hasChildren()||!de(D,u,m))}if(c.segments.length===u.length){if(!Te(c.segments,u)||!de(c.segments,u,m))return!1;for(const D in d.children)if(!c.children[D]||!Z(c.children[D],d.children[D],m))return!1;return!0}{const D=u.slice(0,c.segments.length),O=u.slice(c.segments.length);return!!(Te(c.segments,D)&&de(c.segments,D,m)&&c.children[Qe])&&H(c.children[Qe],d,O,m)}}function de(c,d,u){return d.every((m,D)=>bt[u](c[D].parameters,m.parameters))}class ye{constructor(d,u,m){this.root=d,this.queryParams=u,this.fragment=m}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Xt(this.queryParams)),this._queryParamMap}toString(){return ct.serialize(this)}}class Re{constructor(d,u){this.segments=d,this.children=u,this.parent=null,qt(u,(m,D)=>m.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return _t(this)}}class ot{constructor(d,u){this.path=d,this.parameters=u}get parameterMap(){return this._parameterMap||(this._parameterMap=Xt(this.parameters)),this._parameterMap}toString(){return Jn(this)}}function Te(c,d){return c.length===d.length&&c.every((u,m)=>u.path===d[m].path)}let St=(()=>{class c{}return c.\u0275fac=function(u){return new(u||c)},c.\u0275prov=v.Yz7({token:c,factory:function(){return new dn},providedIn:"root"}),c})();class dn{parse(d){const u=new _n(d);return new ye(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(d){const u=`/${Dt(d.root,!0)}`,m=function Pn(c){const d=Object.keys(c).map(u=>{const m=c[u];return Array.isArray(m)?m.map(D=>`${Lt(u)}=${Lt(D)}`).join("&"):`${Lt(u)}=${Lt(m)}`}).filter(u=>!!u);return d.length?`?${d.join("&")}`:""}(d.queryParams);return`${u}${m}${"string"==typeof d.fragment?`#${function sn(c){return encodeURI(c)}(d.fragment)}`:""}`}}const ct=new dn;function _t(c){return c.segments.map(d=>Jn(d)).join("/")}function Dt(c,d){if(!c.hasChildren())return _t(c);if(d){const u=c.children[Qe]?Dt(c.children[Qe],!1):"",m=[];return qt(c.children,(D,O)=>{O!==Qe&&m.push(`${O}:${Dt(D,!1)}`)}),m.length>0?`${u}(${m.join("//")})`:u}{const u=function Bt(c,d){let u=[];return qt(c.children,(m,D)=>{D===Qe&&(u=u.concat(d(m,D)))}),qt(c.children,(m,D)=>{D!==Qe&&(u=u.concat(d(m,D)))}),u}(c,(m,D)=>D===Qe?[Dt(c.children[Qe],!1)]:[`${D}:${Dt(m,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[Qe]?`${_t(c)}/${u[0]}`:`${_t(c)}/(${u.join("//")})`}}function Tt(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Lt(c){return Tt(c).replace(/%3B/gi,";")}function Zn(c){return Tt(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function vn(c){return decodeURIComponent(c)}function ln(c){return vn(c.replace(/\+/g,"%20"))}function Jn(c){return`${Zn(c.path)}${function Or(c){return Object.keys(c).map(d=>`;${Zn(d)}=${Zn(c[d])}`).join("")}(c.parameters)}`}const Nr=/^[^\/()?;=#]+/;function Mt(c){const d=c.match(Nr);return d?d[0]:""}const Vt=/^[^=?&#]+/,Mn=/^[^&#]+/;class _n{constructor(d){this.url=d,this.remaining=d}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Re([],{}):new Re([],this.parseChildren())}parseQueryParams(){const d={};if(this.consumeOptional("?"))do{this.parseQueryParam(d)}while(this.consumeOptional("&"));return d}
1parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const d=[];for(this.peekStartsWith("(")||d.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),d.push(this.parseSegment());let u={};this.peekStartsWith("/(")&&(this.capture("/"),u=this.parseParens(!0));let m={};return this.peekStartsWith("(")&&(m=this.parseParens(!1)),(d.length>0||Object.keys(u).length>0)&&(m[Qe]=new Re(d,u)),m}parseSegment(){const d=Mt(this.remaining);if(""===d&&this.peekStartsWith(";"))throw new v.vHH(4009,!1);return this.capture(d),new ot(vn(d),this.parseMatrixParams())}parseMatrixParams(){const d={};for(;this.consumeOptional(";");)this.parseParam(d);return d}parseParam(d){const u=Mt(this.remaining);if(!u)return;this.capture(u);let m="";if(this.consumeOptional("=")){const D=Mt(this.remaining);D&&(m=D,this.capture(m))}d[vn(u)]=vn(m)}parseQueryParam(d){const u=function Kt(c){const d=c.match(Vt);return d?d[0]:""}(this.remaining);if(!u)return;this.capture(u);let m="";if(this.consumeOptional("=")){const B=function hn(c){const d=c.match(Mn);return d?d[0]:""}(this.remaining);B&&(m=B,this.capture(m))}const D=ln(u),O=ln(m);if(d.hasOwnProperty(D)){let B=d[D];Array.isArray(B)||(B=[B],d[D]=B),B.push(O)}else d[D]=O}parseParens(d){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const m=Mt(this.remaining),D=this.remaining[m.length];if("/"!==D&&")"!==D&&";"!==D)throw new v.vHH(4010,!1);let O;m.indexOf(":")>-1?(O=m.slice(0,m.indexOf(":")),this.capture(O),this.capture(":")):d&&(O=Qe);const B=this.parseChildren();u[O]=1===Object.keys(B).length?B[Qe]:new Re([],B),this.consumeOptional("//")}return u}peekStartsWith(d){return this.remaining.startsWith(d)}consumeOptional(d){return!!this.peekStartsWith(d)&&(this.remaining=this.remaining.substring(d.length),!0)}capture(d){if(!this.consumeOptional(d))throw new v.vHH(4011,!1)}}function G(c){return c.segments.length>0?new Re([],{[Qe]:c}):c}function V(c){const d={};for(const m of Object.keys(c.children)){const O=V(c.children[m]);(O.segments.length>0||O.hasChildren())&&(d[m]=O)}return function F(c){if(1===c.numberOfChildren&&c.children[Qe]){const d=c.children[Qe];return new Re(c.segments.concat(d.segments),d.children)}return c}(new Re(c.segments,d))}function w(c){return c instanceof ye}const E=!1;function $(c,d,u,m,D){if(0===u.length)return Ve(d.root,d.root,d.root,m,D);const O=function Et(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new Ue(!0,0,c);let d=0,u=!1;const m=c.reduce((D,O,B)=>{if("object"==typeof O&&null!=O){if(O.outlets){const z={};return qt(O.outlets,(ge,Ne)=>{z[Ne]="string"==typeof ge?ge.split("/"):ge}),[...D,{outlets:z}]}if(O.segmentPath)return[...D,O.segmentPath]}return"string"!=typeof O?[...D,O]:0===B?(O.split("/").forEach((z,ge)=>{0==ge&&"."===z||(0==ge&&""===z?u=!0:".."===z?d++:""!=z&&D.push(z))}),D):[...D,O]},[]);return new Ue(u,d,m)}(u);return O.toRoot()?Ve(d.root,d.root,new Re([],{}),m,D):function B(ge){const Ne=function pn(c,d,u,m){if(c.isAbsolute)return new je(d.root,!0,0);if(-1===m)return new je(u,u===d.root,0);return function bn(c,d,u){let m=c,D=d,O=u;for(;O>D;){if(O-=D,m=m.parent,!m)throw new v.vHH(4005,E);D=m.segments.length}return new je(m,!1,D-O)}(u,m+(me(c.commands[0])?0:1),c.numberOfDoubleDots)}(O,d,c.snapshot?._urlSegment,ge),Pt=Ne.processChildren?xt(Ne.segmentGroup,Ne.index,O.commands):wi(Ne.segmentGroup,Ne.index,O.commands);return Ve(d.root,Ne.segmentGroup,Pt,m,D)}(c.snapshot?._lastPathIndex)}function me(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function we(c){return"object"==typeof c&&null!=c&&c.outlets}function Ve(c,d,u,m,D){let B,O={};m&&qt(m,(ge,Ne)=>{O[Ne]=Array.isArray(ge)?ge.map(Pt=>`${Pt}`):`${ge}`}),B=c===d?u:be(c,d,u);const z=G(V(B));return new ye(z,O,D)}function be(c,d,u){const m={};return qt(c.children,(D,O)=>{m[O]=D===d?u:be(D,d,u)}),new Re(c.segments,m)}
1class Ue{constructor(d,u,m){if(this.isAbsolute=d,this.numberOfDoubleDots=u,this.commands=m,d&&m.length>0&&me(m[0]))throw new v.vHH(4003,E);const D=m.find(we);if(D&&D!==Rn(m))throw new v.vHH(4004,E)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class je{constructor(d,u,m){this.segmentGroup=d,this.processChildren=u,this.index=m}}function wi(c,d,u){if(c||(c=new Re([],{})),0===c.segments.length&&c.hasChildren())return xt(c,d,u);const m=function Ci(c,d,u){let m=0,D=d;const O={match:!1,pathIndex:0,commandIndex:0};for(;D<c.segments.length;){if(m>=u.length)return O;const B=c.segments[D],z=u[m];if(we(z))break;const ge=`${z}`,Ne=m<u.length-1?u[m+1]:null;if(D>0&&void 0===ge)break;if(ge&&Ne&&"object"==typeof Ne&&void 0===Ne.outlets){if(!mr(ge,Ne,B))return O;m+=2}else{if(!mr(ge,{},B))return O;m++}D++}return{match:!0,pathIndex:D,commandIndex:m}}(c,d,u),D=u.slice(m.commandIndex);if(m.match&&m.pathIndex<c.segments.length){const O=new Re(c.segments.slice(0,m.pathIndex),{});return O.children[Qe]=new Re(c.segments.slice(m.pathIndex),c.children),xt(O,0,D)}return m.match&&0===D.length?new Re(c.segments,{}):m.match&&!c.hasChildren()?ii(c,d,u):m.match?xt(c,0,D):ii(c,d,u)}function xt(c,d,u){if(0===u.length)return new Re(c.segments,{});{const m=function ri(c){return we(c[0])?c[0].outlets:{[Qe]:c}}(u),D={};return qt(m,(O,B)=>{"string"==typeof O&&(O=[O]),null!==O&&(D[B]=wi(c.children[B],d,O))}),qt(c.children,(O,B)=>{void 0===m[B]&&(D[B]=O)}),new Re(c.segments,D)}}function ii(c,d,u){const m=c.segments.slice(0,d);let D=0;for(;D<u.length;){const O=u[D];if(we(O)){const ge=Hr(O.outlets);return new Re(m,ge)}if(0===D&&me(u[0])){m.push(new ot(c.segments[d].path,bi(u[0]))),D++;continue}const B=we(O)?O.outlets[Qe]:`${O}`,z=D<u.length-1?u[D+1]:null;B&&z&&me(z)?(m.push(new ot(B,bi(z))),D+=2):(m.push(new ot(B,{})),D++)}return new Re(m,{})}function Hr(c){const d={};return qt(c,(u,m)=>{"string"==typeof u&&(u=[u]),null!==u&&(d[m]=ii(new Re([],{}),0,u))}),d}function bi(c){const d={};return qt(c,(u,m)=>d[m]=`${u}`),d}function mr(c,d,u){return c==u.path&&cn(d,u.parameters)}class On{constructor(d,u){this.id=d,this.url=u}}class nr extends On{constructor(d,u,m="imperative",D=null){super(d,u),this.type=0,this.navigationTrigger=m,this.restoredState=D}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Jt extends On{constructor(d,u,m){super(d,u),this.urlAfterRedirects=m,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Si extends On{constructor(d,u,m,D){super(d,u),this.reason=m,this.code=D,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Sn extends On{constructor(d,u,m,D){super(d,u),this.error=m,this.target=D,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Hn extends On{constructor(d,u,m,D){super(d,u),this.urlAfterRedirects=m,this.state=D,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class si extends On{constructor(d,u,m,D){super(d,u),this.urlAfterRedirects=m,this.state=D,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rr extends On{constructor(d,u,m,D,O){super(d,u),this.urlAfterRedirects=m,this.state=D,this.shouldActivate=O,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Vr extends On{constructor(d,u,m,D){super(d,u),this.urlAfterRedirects=m,this.state=D,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gn extends On{constructor(d,u,m,D){super(d,u),this.urlAfterRedirects=m,this.state=D,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class oi{constructor(d){this.route=d,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class so{constructor(d){this.route=d,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class cs{constructor(d){this.snapshot=d,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ds{constructor(d){this.snapshot=d,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Go{constructor(d){this.snapshot=d,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ir{constructor(d){this.snapshot=d,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ki{constructor(d,u,m){this.routerEvent=d,this.position=u,this.anchor=m,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ti{constructor(d){this._root=d}get root(){return this._root.value}
1parent(d){const u=this.pathFromRoot(d);return u.length>1?u[u.length-2]:null}children(d){const u=Mi(d,this._root);return u?u.children.map(m=>m.value):[]}firstChild(d){const u=Mi(d,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(d){const u=zr(d,this._root);return u.length<2?[]:u[u.length-2].children.map(D=>D.value).filter(D=>D!==d)}pathFromRoot(d){return zr(d,this._root).map(u=>u.value)}}function Mi(c,d){if(c===d.value)return d;for(const u of d.children){const m=Mi(c,u);if(m)return m}return null}function zr(c,d){if(c===d.value)return[d];for(const u of d.children){const m=zr(c,u);if(m.length)return m.unshift(d),m}return[]}class Cr{constructor(d,u){this.value=d,this.children=u}toString(){return`TreeNode(${this.value})`}}function Wr(c){const d={};return c&&c.children.forEach(u=>d[u.value.outlet]=u),d}class Os extends Ti{constructor(d,u){super(d),this.snapshot=u,Yi(this,d)}toString(){return this.snapshot.toString()}}function ao(c,d){const u=function hs(c,d){const B=new xr([],{},{},"",{},Qe,d,null,c.root,-1,{});return new Ii("",new Cr(B,[]))}(c,d),m=new se.X([new ot("",{})]),D=new se.X({}),O=new se.X({}),B=new se.X({}),z=new se.X(""),ge=new Gr(m,D,B,z,O,Qe,d,u.root);return ge.snapshot=u.root,new Os(new Cr(ge,[]),u)}class Gr{constructor(d,u,m,D,O,B,z,ge){this.url=d,this.params=u,this.queryParams=m,this.fragment=D,this.data=O,this.outlet=B,this.component=z,this.title=this.data?.pipe((0,ie.U)(Ne=>Ne[Yn]))??(0,J.of)(void 0),this._futureSnapshot=ge}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,ie.U)(d=>Xt(d)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ie.U)(d=>Xt(d)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ns(c,d="emptyOnly"){const u=c.pathFromRoot;let m=0;if("always"!==d)for(m=u.length-1;m>=1;){const D=u[m],O=u[m-1];if(D.routeConfig&&""===D.routeConfig.path)m--;else{if(O.component)break;m--}}return function fs(c){return c.reduce((d,u)=>({params:{...d.params,...u.params},data:{...d.data,...u.data},resolve:{...u.data,...d.resolve,...u.routeConfig?.data,...u._resolvedData}}),{params:{},data:{},resolve:{}})}(u.slice(m))}class xr{constructor(d,u,m,D,O,B,z,ge,Ne,Pt,Ke,Yt){this.url=d,this.params=u,this.queryParams=m,this.fragment=D,this.data=O,this.outlet=B,this.component=z,this.title=this.data?.[Yn],this.routeConfig=ge,this._urlSegment=Ne,this._lastPathIndex=Pt,this._correctedLastPathIndex=Yt??Pt,this._resolve=Ke}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=Xt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Xt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(m=>m.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ii extends Ti{constructor(d,u){super(u),this.url=d,Yi(this,u)}toString(){return lo(this._root)}}function Yi(c,d){d.value._routerState=c,d.children.forEach(u=>Yi(c,u))}function lo(c){const d=c.children.length>0?` { ${c.children.map(lo).join(", ")} } `:"";return`${c.value}${d}`}function sr(c){if(c.snapshot){const d=c.snapshot,u=c._futureSnapshot;c.snapshot=u,cn(d.queryParams,u.queryParams)||c.queryParams.next(u.queryParams),d.fragment!==u.fragment&&c.fragment.next(u.fragment),cn(d.params,u.params)||c.params.next(u.params),function pr(c,d){if(c.length!==d.length)return!1;for(let u=0;u<c.length;++u)if(!cn(c[u],d[u]))return!1;return!0}
1(d.url,u.url)||c.url.next(u.url),cn(d.data,u.data)||c.data.next(u.data)}else c.snapshot=c._futureSnapshot,c.data.next(c._futureSnapshot.data)}function Ai(c,d){const u=cn(c.params,d.params)&&function Nt(c,d){return Te(c,d)&&c.every((u,m)=>cn(u.parameters,d[m].parameters))}(c.url,d.url);return u&&!(!c.parent!=!d.parent)&&(!c.parent||Ai(c.parent,d.parent))}function Kr(c,d,u){if(u&&c.shouldReuseRoute(d.value,u.value.snapshot)){const m=u.value;m._futureSnapshot=d.value;const D=function Qi(c,d,u){return d.children.map(m=>{for(const D of u.children)if(c.shouldReuseRoute(m.value,D.value.snapshot))return Kr(c,m,D);return Kr(c,m)})}(c,d,u);return new Cr(m,D)}{if(c.shouldAttach(d.value)){const O=c.retrieve(d.value);if(null!==O){const B=O.route;return B.value._futureSnapshot=d.value,B.children=d.children.map(z=>Kr(c,z)),B}}const m=function qi(c){return new Gr(new se.X(c.url),new se.X(c.params),new se.X(c.queryParams),new se.X(c.fragment),new se.X(c.data),c.outlet,c.component,c)}(d.value),D=d.children.map(O=>Kr(c,O));return new Cr(m,D)}}const ai="ngNavigationCancelingError";function ps(c,d){const{redirectTo:u,navigationBehaviorOptions:m}=w(d)?{redirectTo:d,navigationBehaviorOptions:void 0}:d,D=gs(!1,0,d);return D.url=u,D.navigationBehaviorOptions=m,D}function gs(c,d,u){const m=new Error("NavigationCancelingError: "+(c||""));return m[ai]=!0,m.cancellationCode=d,u&&(m.url=u),m}function Yr(c){return ms(c)&&w(c.url)}function ms(c){return c&&c[ai]}class Nn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Fr,this.attachRef=null}}let Fr=(()=>{class c{constructor(){this.contexts=new Map}onChildOutletCreated(u,m){const D=this.getOrCreateContext(u);D.outlet=m,this.contexts.set(u,D)}onChildOutletDestroyed(u){const m=this.getContext(u);m&&(m.outlet=null,m.attachRef=null)}onOutletDeactivated(){const u=this.contexts;return this.contexts=new Map,u}onOutletReAttached(u){this.contexts=u}getOrCreateContext(u){let m=this.getContext(u);return m||(m=new Nn,this.contexts.set(u,m)),m}getContext(u){return this.contexts.get(u)||null}}return c.\u0275fac=function(u){return new(u||c)},c.\u0275prov=v.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const Pi=!1;let li=(()=>{class c{constructor(u,m,D,O,B){this.parentContexts=u,this.location=m,this.changeDetector=O,this.environmentInjector=B,this.activated=null,this._activatedRoute=null,this.activateEvents=new v.vpe,this.deactivateEvents=new v.vpe,this.attachEvents=new v.vpe,this.detachEvents=new v.vpe,this.name=D||Qe,u.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const u=this.parentContexts.getContext(this.name);u&&u.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v.vHH(4012,Pi);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v.vHH(4012,Pi);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v.vHH(4012,Pi);this.location.detach();const u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,m){this.activated=u,this._activatedRoute=m,this.location.insert(u.hostView),this.attachEvents.emit(u.instance)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,m){if(this.isActivated)throw new v.vHH(4013,Pi);this._activatedRoute=u;const D=this.location,B=u._futureSnapshot.component,z=this.parentContexts.getOrCreateContext(this.name).children,ge=new uo(u,z,D.injector);if(m&&function co(c){return!!c.resolveComponentFactory}(m)){const Ne=m.resolveComponentFactory(B);this.activated=D.createComponent(Ne,D.length,ge)}else this.activated=D.createComponent(B,{index:D.length,injector:ge,environmentInjector:m??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return c.\u0275fac=function(u){return new(u||c)(v.Y36(Fr),v.Y36(v.s_b),v.$8M("name"),v.Y36(v.sBO),v.Y36(v.lqb))},c.\u0275dir=v.lG2({type:c,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),c})();class uo{constructor(d,u,m){this.route=d,this.childContexts=u,this.parent=m}get(d,u){return d===Gr?this.route:d===Fr?this.childContexts:this.parent.get(d,u)}}let on=(()=>{class c{}return c.\u0275fac=function(u){return new(u||c)},c.\u0275cmp=v.Xpm({type:c,selectors:[["ng-component"]],standalone:!0,features:[v.jDz],decls:1,vars:0,template:function(u,m){1&u&&v._UZ(0,"router-outlet")},dependencies:[li],encapsulation:2}),c})();function Vn(c,d){return c.providers&&!c._injector&&(c._injector=(0,v.MMx)(c.providers,d,`Route: ${c.path}`)),c._injector??d}function Xn(c){const d=c.children&&c.children.map(Xn),u=d?{...c,children:d}:{...c};return!u.component&&!u.loadComponent&&(d||u.loadChildren)&&u.outlet&&u.outlet!==Qe&&(u.component=on),u}function er(c){return c.outlet||Qe}function or(c,d){const u=c.filter(m=>er(m)===d);return u.push(...c.filter(m=>er(m)!==d)),u}function kr(c){if(!c)return null;
1if(c.routeConfig?._injector)return c.routeConfig._injector;for(let d=c.parent;d;d=d.parent){const u=d.routeConfig;if(u?._loadedInjector)return u._loadedInjector;if(u?._injector)return u._injector}return null}class Xe{constructor(d,u,m,D){this.routeReuseStrategy=d,this.futureState=u,this.currState=m,this.forwardEvent=D}activate(d){const u=this.futureState._root,m=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,m,d),sr(this.futureState.root),this.activateChildRoutes(u,m,d)}deactivateChildRoutes(d,u,m){const D=Wr(u);d.children.forEach(O=>{const B=O.value.outlet;this.deactivateRoutes(O,D[B],m),delete D[B]}),qt(D,(O,B)=>{this.deactivateRouteAndItsChildren(O,m)})}deactivateRoutes(d,u,m){const D=d.value,O=u?u.value:null;if(D===O)if(D.component){const B=m.getContext(D.outlet);B&&this.deactivateChildRoutes(d,u,B.children)}else this.deactivateChildRoutes(d,u,m);else O&&this.deactivateRouteAndItsChildren(u,m)}deactivateRouteAndItsChildren(d,u){d.value.component&&this.routeReuseStrategy.shouldDetach(d.value.snapshot)?this.detachAndStoreRouteSubtree(d,u):this.deactivateRouteAndOutlet(d,u)}detachAndStoreRouteSubtree(d,u){const m=u.getContext(d.value.outlet),D=m&&d.value.component?m.children:u,O=Wr(d);for(const B of Object.keys(O))this.deactivateRouteAndItsChildren(O[B],D);if(m&&m.outlet){const B=m.outlet.detach(),z=m.children.onOutletDeactivated();this.routeReuseStrategy.store(d.value.snapshot,{componentRef:B,route:d,contexts:z})}}deactivateRouteAndOutlet(d,u){const m=u.getContext(d.value.outlet),D=m&&d.value.component?m.children:u,O=Wr(d);for(const B of Object.keys(O))this.deactivateRouteAndItsChildren(O[B],D);m&&m.outlet&&(m.outlet.deactivate(),m.children.onOutletDeactivated(),m.attachRef=null,m.resolver=null,m.route=null)}activateChildRoutes(d,u,m){const D=Wr(u);d.children.forEach(O=>{this.activateRoutes(O,D[O.value.outlet],m),this.forwardEvent(new ir(O.value.snapshot))}),d.children.length&&this.forwardEvent(new ds(d.value.snapshot))}activateRoutes(d,u,m){const D=d.value,O=u?u.value:null;if(sr(D),D===O)if(D.component){const B=m.getOrCreateContext(D.outlet);this.activateChildRoutes(d,u,B.children)}else this.activateChildRoutes(d,u,m);else if(D.component){const B=m.getOrCreateContext(D.outlet);if(this.routeReuseStrategy.shouldAttach(D.snapshot)){const z=this.routeReuseStrategy.retrieve(D.snapshot);this.routeReuseStrategy.store(D.snapshot,null),B.children.onOutletReAttached(z.contexts),B.attachRef=z.componentRef,B.route=z.route.value,B.outlet&&B.outlet.attach(z.componentRef,z.route.value),sr(z.route.value),this.activateChildRoutes(d,null,B.children)}else{const z=kr(D.snapshot),ge=z?.get(v._Vd)??null;B.attachRef=null,B.route=D,B.resolver=ge,B.injector=z,B.outlet&&B.outlet.activateWith(D,B.injector),this.activateChildRoutes(d,null,B.children)}}else this.activateChildRoutes(d,null,m)}}class Br{constructor(d){this.path=d,this.route=this.path[this.path.length-1]}}class ys{constructor(d,u){this.component=d,this.route=u}}function Fs(c,d,u){const m=c._root;return ar(m,d?d._root:null,u,[m.value])}function Qr(c,d){const u=Symbol(),m=d.get(c,u);return m===u?"function"!=typeof c||(0,v.Z0I)(c)?d.get(c):c:m}function ar(c,d,u,m,D={canDeactivateChecks:[],canActivateChecks:[]}){const O=Wr(d);return c.children.forEach(B=>{(function Ni(c,d,u,m,D={canDeactivateChecks:[],canActivateChecks:[]}){const O=c.value,B=d?d.value:null,z=u?u.getContext(c.value.outlet):null;if(B&&O.routeConfig===B.routeConfig){const ge=function Ls(c,d,u){if("function"==typeof u)return u(c,d);switch(u){case"pathParamsChange":return!Te(c.url,d.url);case"pathParamsOrQueryParamsChange":return!Te(c.url,d.url)||!cn(c.queryParams,d.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ai(c,d)||!cn(c.queryParams,d.queryParams);default:return!Ai(c,d)}}(B,O,O.routeConfig.runGuardsAndResolvers);ge?D.canActivateChecks.push(new Br(m)):(O.data=B.data,O._resolvedData=B._resolvedData),ar(c,d,O.component?z?z.children:null:u,m,D),ge&&z&&z.outlet&&z.outlet.isActivated&&D.canDeactivateChecks.push(new ys(z.outlet.component,B))}else B&&Ce(d,z,D),D.canActivateChecks.push(new Br(m)),ar(c,null,O.component?z?z.children:null:u,m,D)})(B,O[B.value.outlet],u,m.concat([B.value]),D),delete O[B.value.outlet]}),qt(O,(B,z)=>Ce(B,u.getContext(z),D)),D}function Ce(c,d,u){const m=Wr(c),D=c.value;qt(m,(O,B)=>{Ce(O,D.component?d?d.children.getContext(B):null:d,u)}),u.canDeactivateChecks.push(new ys(D.component&&d&&d.outlet&&d.outlet.isActivated?d.outlet.component:null,D))}function gt(c){return"function"==typeof c}function Zr(c){return c instanceof te.K||"EmptyError"===c?.name}const ci=Symbol("INITIAL_VALUE");function di(){return(0,ae.w)(c=>(0,L.aj)(c.map(d=>d.pipe((0,Ie.q)(1),(0,it.O)(ci)))).pipe((0,ie.U)(d=>{for(const u of d)if(!0!==u){if(u===ci)return ci;if(!1===u||u instanceof ye)return u}return!0}),(0,vt.h)(d=>d!==ci),(0,Ie.q)(1)))}function Es(c){return(0,re.z)((0,pt.b)(d=>
1{if(w(d))throw ps(0,d)}),(0,ie.U)(d=>!0===d))}const Fi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Us(c,d,u,m,D){const O=Li(c,d,u);return O.matched?function ws(c,d,u,m){const D=d.canMatch;if(!D||0===D.length)return(0,J.of)(!0);const O=D.map(B=>{const z=Qr(B,c);return Cn(function lr(c){return c&&gt(c.canMatch)}(z)?z.canMatch(d,u):c.runInContext(()=>z(d,u)))});return(0,J.of)(O).pipe(di(),Es())}(m=Vn(d,m),d,u).pipe((0,ie.U)(B=>!0===B?O:{...Fi})):(0,J.of)(O)}function Li(c,d,u){if(""===d.path)return"full"===d.pathMatch&&(c.hasChildren()||u.length>0)?{...Fi}:{matched:!0,consumedSegments:[],remainingSegments:u,parameters:{},positionalParamSegments:{}};const D=(d.matcher||Di)(u,c,d);if(!D)return{...Fi};const O={};qt(D.posParams,(z,ge)=>{O[ge]=z.path});const B=D.consumed.length>0?{...O,...D.consumed[D.consumed.length-1].parameters}:O;return{matched:!0,consumedSegments:D.consumed,remainingSegments:u.slice(D.consumed.length),parameters:B,positionalParamSegments:D.posParams??{}}}function Jr(c,d,u,m,D="corrected"){if(u.length>0&&function js(c,d,u){return u.some(m=>Xr(c,d,m)&&er(m)!==Qe)}(c,u,m)){const B=new Re(d,function Cs(c,d,u,m){const D={};D[Qe]=m,m._sourceSegment=c,m._segmentIndexShift=d.length;for(const O of u)if(""===O.path&&er(O)!==Qe){const B=new Re([],{});B._sourceSegment=c,B._segmentIndexShift=d.length,D[er(O)]=B}return D}(c,d,m,new Re(u,c.children)));return B._sourceSegment=c,B._segmentIndexShift=d.length,{segmentGroup:B,slicedSegments:[]}}if(0===u.length&&function Hs(c,d,u){return u.some(m=>Xr(c,d,m))}(c,u,m)){const B=new Re(c.segments,function $s(c,d,u,m,D,O){const B={};for(const z of m)if(Xr(c,u,z)&&!D[er(z)]){const ge=new Re([],{});ge._sourceSegment=c,ge._segmentIndexShift="legacy"===O?c.segments.length:d.length,B[er(z)]=ge}return{...D,...B}}(c,d,u,m,c.children,D));return B._sourceSegment=c,B._segmentIndexShift=d.length,{segmentGroup:B,slicedSegments:u}}const O=new Re(c.segments,c.children);return O._sourceSegment=c,O._segmentIndexShift=d.length,{segmentGroup:O,slicedSegments:u}}function Xr(c,d,u){return(!(c.hasChildren()||d.length>0)||"full"!==u.pathMatch)&&""===u.path}function p(c,d,u,m){return!!(er(c)===m||m!==Qe&&Xr(d,u,c))&&("**"===c.path||Li(d,c,u).matched)}function T(c,d,u){return 0===d.length&&!c.children[u]}const y=!1;class P{constructor(d){this.segmentGroup=d||null}}class K{constructor(d){this.urlTree=d}}function le(c){return(0,Y._)(new P(c))}function pe(c){return(0,Y._)(new K(c))}class jt{constructor(d,u,m,D,O){this.injector=d,this.configLoader=u,this.urlSerializer=m,this.urlTree=D,this.config=O,this.allowRedirects=!0}apply(){const d=Jr(this.urlTree.root,[],[],this.config).segmentGroup,u=new Re(d.segments,d.children);return this.expandSegmentGroup(this.injector,this.config,u,Qe).pipe((0,ie.U)(O=>this.createUrlTree(V(O),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Fe.K)(O=>{if(O instanceof K)return this.allowRedirects=!1,this.match(O.urlTree);throw O instanceof P?this.noMatchError(O):O}))}match(d){return this.expandSegmentGroup(this.injector,this.config,d.root,Qe).pipe((0,ie.U)(D=>this.createUrlTree(V(D),d.queryParams,d.fragment))).pipe((0,Fe.K)(D=>{throw D instanceof P?this.noMatchError(D):D}))}noMatchError(d){return new v.vHH(4002,y)}createUrlTree(d,u,m){const D=G(d);return new ye(D,u,m)}expandSegmentGroup(d,u,m,D){return 0===m.segments.length&&m.hasChildren()?this.expandChildren(d,u,m).pipe((0,ie.U)(O=>new Re([],O))):this.expandSegment(d,m,u,m.segments,D,!0)}expandChildren(d,u,m){const D=[];for(const O of Object.keys(m.children))"primary"===O?D.unshift(O):D.push(O);return(0,I.D)(D).pipe((0,qe.b)(O=>{const B=m.children[O],z=or(u,O);return this.expandSegmentGroup(d,z,B,O).pipe((0,ie.U)(ge=>({segment:ge,outlet:O})))}),Ae((O,B)=>(O[B.outlet]=B.segment,O),{}),(0,Ot.Z)())}expandSegment(d,u,m,D,O,B){return(0,I.D)(m).pipe((0,qe.b)(z=>this.expandSegmentAgainstRoute(d,u,m,z,D,O,B).pipe((0,Fe.K)(Ne=>{if(Ne instanceof P)return(0,J.of)(null);throw Ne}))),(0,Ee.P)(z=>!!z),(0,Fe.K)((z,ge)=>{if(Zr(z))return T(u,D,O)?(0,J.of)(new Re([],{})):le(u);throw z}))}expandSegmentAgainstRoute(d,u,m,D,O,B,z){return p(D,u,O,B)?void 0===D.redirectTo?this.matchSegmentAgainstRoute(d,u,D,O,B):z&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(d,u,m,D,O,B):le(u):le(u)}expandSegmentAgainstRouteUsingRedirect(d,u,m,D,O,B){return"**"===D.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(d,m,D,B):this.expandRegularSegmentAgainstRouteUsingRedirect(d,u,m,D,O,B)}expandWildCardWithParamsAgainstRouteUsingRedirect(d,u,m,D){const O=this.applyRedirectCommands([],m.redirectTo,{});return m.redirectTo.startsWith("/")?pe(O):this.lineralizeSegments(m,O).pipe((0,xe.zg)(B=>{const z=new Re(B,{});return this.expandSegment(d,z,u,B,D,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(d,u,m,D,O,B){const{matched:z,consumedSegments:ge,remainingSegments:Ne,positionalParamSegments:Pt}=Li(u,D,O);if(!z)return le(u);const Ke=this.applyRedirectCommands(ge,D.redirectTo,Pt);return D.redirectTo.startsWith("/")?pe(Ke):this.lineralizeSegments(D,Ke).pipe((0,xe.zg)(Yt=>this.expandSegment(d,u,m,Yt.concat(Ne),B,!1)))}matchSegmentAgainstRoute(d,u,m,D,O){return"**"===m.path?(d=Vn(m,d),m.loadChildren?(m._loadedRoutes?(0,J.of)({routes:m._loadedRoutes,injector:m._loadedInjector}):this.configLoader.loadChildren(d,m)).pipe((0,ie.U)(z=>(m._loadedRoutes=z.routes,m._loadedInjector=z.injector,new Re(D,{})))):(0,J.of)(new Re(D,{}))):Us(u,m,D,d).pipe((0,ae.w)(({matched:B,consumedSegments:z,remainingSegments:ge})=>B?this.getChildConfig(d=m._injector??d,m,D).pipe((0,xe.zg)(Pt=>{const Ke=Pt.injector??d,Yt=Pt.routes,{segmentGroup:dr,slicedSegments:pi}=Jr(u,z,ge,Yt),ns=new Re(dr.segments,dr.children);if(0===pi.length&&ns.hasChildren())return this.expandChildren(Ke,Yt,ns).pipe((0,ie.U)(_o=>
1new Re(z,_o)));if(0===Yt.length&&0===pi.length)return(0,J.of)(new Re(z,{}));const $r=er(m)===O;return this.expandSegment(Ke,ns,Yt,pi,$r?Qe:O,!0).pipe((0,ie.U)(rs=>new Re(z.concat(rs.segments),rs.children)))})):le(u)))}getChildConfig(d,u,m){return u.children?(0,J.of)({routes:u.children,injector:d}):u.loadChildren?void 0!==u._loadedRoutes?(0,J.of)({routes:u._loadedRoutes,injector:u._loadedInjector}):function Ds(c,d,u,m){const D=d.canLoad;if(void 0===D||0===D.length)return(0,J.of)(!0);const O=D.map(B=>{const z=Qr(B,c);return Cn(function Zi(c){return c&&gt(c.canLoad)}(z)?z.canLoad(d,u):c.runInContext(()=>z(d,u)))});return(0,J.of)(O).pipe(di(),Es())}(d,u,m).pipe((0,xe.zg)(D=>D?this.configLoader.loadChildren(d,u).pipe((0,pt.b)(O=>{u._loadedRoutes=O.routes,u._loadedInjector=O.injector})):function Ut(c){return(0,Y._)(gs(y,3))}())):(0,J.of)({routes:[],injector:d})}lineralizeSegments(d,u){let m=[],D=u.root;for(;;){if(m=m.concat(D.segments),0===D.numberOfChildren)return(0,J.of)(m);if(D.numberOfChildren>1||!D.children[Qe])return(0,Y._)(new v.vHH(4e3,y));D=D.children[Qe]}}applyRedirectCommands(d,u,m){return this.applyRedirectCreateUrlTree(u,this.urlSerializer.parse(u),d,m)}applyRedirectCreateUrlTree(d,u,m,D){const O=this.createSegmentGroup(d,u.root,m,D);return new ye(O,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(d,u){const m={};return qt(d,(D,O)=>{if("string"==typeof D&&D.startsWith(":")){const z=D.substring(1);m[O]=u[z]}else m[O]=D}),m}createSegmentGroup(d,u,m,D){const O=this.createSegments(d,u.segments,m,D);let B={};return qt(u.children,(z,ge)=>{B[ge]=this.createSegmentGroup(d,z,m,D)}),new Re(O,B)}createSegments(d,u,m,D){return u.map(O=>O.path.startsWith(":")?this.findPosParam(d,O,D):this.findOrReturn(O,m))}findPosParam(d,u,m){const D=m[u.path.substring(1)];if(!D)throw new v.vHH(4001,y);return D}findOrReturn(d,u){let m=0;for(const D of u){if(D.path===d.path)return u.splice(m),D;m++}return d}}class kt{}class Kn{constructor(d,u,m,D,O,B,z,ge){this.injector=d,this.rootComponentType=u,this.config=m,this.urlTree=D,this.url=O,this.paramsInheritanceStrategy=B,this.relativeLinkResolution=z,this.urlSerializer=ge}recognize(){const d=Jr(this.urlTree.root,[],[],this.config.filter(u=>void 0===u.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,d,Qe).pipe((0,ie.U)(u=>{if(null===u)return null;const m=new xr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Qe,this.rootComponentType,null,this.urlTree.root,-1,{}),D=new Cr(m,u),O=new Ii(this.url,D);return this.inheritParamsAndData(O._root),O}))}inheritParamsAndData(d){const u=d.value,m=Ns(u,this.paramsInheritanceStrategy);u.params=Object.freeze(m.params),u.data=Object.freeze(m.data),d.children.forEach(D=>this.inheritParamsAndData(D))}processSegmentGroup(d,u,m,D){return 0===m.segments.length&&m.hasChildren()?this.processChildren(d,u,m):this.processSegment(d,u,m,m.segments,D)}processChildren(d,u,m){return(0,I.D)(Object.keys(m.children)).pipe((0,qe.b)(D=>{const O=m.children[D],B=or(u,D);return this.processSegmentGroup(d,B,O,D)}),Ae((D,O)=>D&&O?(D.push(...O),D):null),function He(c,d=!1){return u=>u.lift(new Un(c,d))}(D=>null!==D),(0,$n.d)(null),(0,Ot.Z)(),(0,ie.U)(D=>
1{if(null===D)return null;const O=Ir(D);return function Tr(c){c.sort((d,u)=>d.value.outlet===Qe?-1:u.value.outlet===Qe?1:d.value.outlet.localeCompare(u.value.outlet))}(O),O}))}processSegment(d,u,m,D,O){return(0,I.D)(u).pipe((0,qe.b)(B=>this.processSegmentAgainstRoute(B._injector??d,B,m,D,O)),(0,Ee.P)(B=>!!B),(0,Fe.K)(B=>{if(Zr(B))return T(m,D,O)?(0,J.of)([]):(0,J.of)(null);throw B}))}processSegmentAgainstRoute(d,u,m,D,O){if(u.redirectTo||!p(u,m,D,O))return(0,J.of)(null);let B;if("**"===u.path){const z=D.length>0?Rn(D).parameters:{},ge=ki(m)+D.length,Ne=new xr(D,z,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,po(u),er(u),u.component??u._loadedComponent??null,u,Yo(m),ge,Vs(u),ge);B=(0,J.of)({snapshot:Ne,consumedSegments:[],remainingSegments:[]})}else B=Us(m,u,D,d).pipe((0,ie.U)(({matched:z,consumedSegments:ge,remainingSegments:Ne,parameters:Pt})=>{if(!z)return null;const Ke=ki(m)+ge.length;return{snapshot:new xr(ge,Pt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,po(u),er(u),u.component??u._loadedComponent??null,u,Yo(m),Ke,Vs(u),Ke),consumedSegments:ge,remainingSegments:Ne}}));return B.pipe((0,ae.w)(z=>{if(null===z)return(0,J.of)(null);const{snapshot:ge,consumedSegments:Ne,remainingSegments:Pt}=z;d=u._injector??d;const Ke=u._loadedInjector??d,Yt=function Mr(c){return c.children?c.children:c.loadChildren?c._loadedRoutes:[]}(u),{segmentGroup:dr,slicedSegments:pi}=Jr(m,Ne,Pt,Yt.filter($r=>void 0===$r.redirectTo),this.relativeLinkResolution);if(0===pi.length&&dr.hasChildren())return this.processChildren(Ke,Yt,dr).pipe((0,ie.U)($r=>
1null===$r?null:[new Cr(ge,$r)]));if(0===Yt.length&&0===pi.length)return(0,J.of)([new Cr(ge,[])]);const ns=er(u)===O;return this.processSegment(Ke,Yt,dr,pi,ns?Qe:O).pipe((0,ie.U)($r=>null===$r?null:[new Cr(ge,$r)]))}))}}function tr(c){const d=c.value.routeConfig;return d&&""===d.path&&void 0===d.redirectTo}function Ir(c){const d=[],u=new Set;for(const m of c){if(!tr(m)){d.push(m);continue}const D=d.find(O=>m.value.routeConfig===O.value.routeConfig);void 0!==D?(D.children.push(...m.children),u.add(D)):d.push(m)}for(const m of u){const D=Ir(m.children);d.push(new Cr(m.value,D))}return d.filter(m=>!u.has(m))}function Yo(c){let d=c;for(;d._sourceSegment;)d=d._sourceSegment;return d}function ki(c){let d=c,u=d._segmentIndexShift??0;for(;d._sourceSegment;)d=d._sourceSegment,u+=d._segmentIndexShift??0;return u-1}function po(c){return c.data||{}}function Vs(c){return c.resolve||{}}function zs(c){return"string"==typeof c.title||null===c.title}function b(c){return(0,ae.w)(d=>{const u=c(d);return u?(0,I.D)(u).pipe((0,ie.U)(()=>d)):(0,J.of)(d)})}let o=(()=>{class c{buildTitle(u){let m,D=u.root;for(;void 0!==D;)m=this.getResolvedTitleForRoute(D)??m,D=D.children.find(O=>O.outlet===Qe);return m}getResolvedTitleForRoute(u){return u.data[Yn]}}return c.\u0275fac=function(u){return new(u||c)},c.\u0275prov=v.Yz7({token:c,factory:function(){return(0,v.f3M)(a)},providedIn:"root"}),c})(),a=(()=>{class c extends o{constructor(u){super(),this.title=u}updateTitle(u){const m=this.buildTitle(u);void 0!==m&&this.title.setTitle(m)}}return c.\u0275fac=function(u){return new(u||c)(v.LFG(jn.Dx))},c.\u0275prov=v.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();class S{}class W extends class N{shouldDetach(d){return!1}store(d,u){}shouldAttach(d){return!1}retrieve(d){return null}shouldReuseRoute(d,u){return d.routeConfig===u.routeConfig}}{}const ne=new v.OlP("",{providedIn:"root",factory:()=>({})}),Pe=new v.OlP("ROUTES");let $e=(()=>{class c{constructor(u,m){this.injector=u,this.compiler=m,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(u){if(this.componentLoaders.get(u))return this.componentLoaders.get(u);if(u._loadedComponent)return(0,J.of)(u._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(u);const m=Cn(u.loadComponent()).pipe((0,pt.b)(O=>{this.onLoadEndListener&&this.onLoadEndListener(u),u._loadedComponent=O}),(0,De.x)(()=>{this.componentLoaders.delete(u)})),D=new ce.c(m,()=>new Me.xQ).pipe((0,Je.x)());return this.componentLoaders.set(u,D),D}loadChildren(u,m){if(this.childrenLoaders.get(m))return this.childrenLoaders.get(m);if(m._loadedRoutes)return(0,J.of)({routes:m._loadedRoutes,injector:m._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(m);const O=this.loadModuleFactoryOrRoutes(m.loadChildren).pipe((0,ie.U)(z=>{this.onLoadEndListener&&this.onLoadEndListener(m);let ge,Ne,Pt=!1;Array.isArray(z)?Ne=z:(ge=z.create(u).injector,Ne=en(ge.get(Pe,[],v.XFs.Self|v.XFs.Optional)));return{routes:Ne.map(Xn),injector:ge}}),(0,De.x)(()=>{this.childrenLoaders.delete(m)})),B=new ce.c(O,()=>new Me.xQ).pipe((0,Je.x)());return this.childrenLoaders.set(m,B),B}loadModuleFactoryOrRoutes(u){return Cn(u()).pipe((0,xe.zg)(m=>m instanceof v.YKP||Array.isArray(m)?(0,J.of)(m):(0,I.D)(this.compiler.compileModuleAsync(m))))}}return c.\u0275fac=function(u){return new(u||c)(v.LFG(v.zs3),v.LFG(v.Sil))},c.\u0275prov=v.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();class ht{}class mt{shouldProcessUrl(d){return!0}extract(d){return d}merge(d,u){return d}}function lt(c){throw c}function $t(c,d,u){return d.parse("/")}const Zt={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Dn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function En(){const c=(0,v.f3M)(St),d=(0,v.f3M)(Fr),u=(0,v.f3M)(he.Ye),m=(0,v.f3M)(v.zs3),D=(0,v.f3M)(v.Sil),O=(0,v.f3M)(Pe,{optional:!0})??[],B=(0,v.f3M)(ne,{optional:!0})??{},z=(0,v.f3M)(a),ge=(0,v.f3M)(o,{optional:!0}),Ne=(0,v.f3M)(ht,{optional:!0}),Pt=(0,v.f3M)(S,{optional:!0}),Ke=new nn(null,c,d,u,m,D,en(O));return Ne&&(Ke.urlHandlingStrategy=Ne),Pt&&(Ke.routeReuseStrategy=Pt),Ke.titleStrategy=ge??z,function Fn(c,d){c.errorHandler&&(d.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(d.malformedUriErrorHandler=c.malformedUriErrorHandler),c.onSameUrlNavigation&&(d.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.relativeLinkResolution&&(d.relativeLinkResolution=c.relativeLinkResolution),c.urlUpdateStrategy&&(d.urlUpdateStrategy=c.urlUpdateStrategy),c.canceledNavigationResolution&&(d.canceledNavigationResolution=c.canceledNavigationResolution)}(B,Ke),Ke}let nn=(()=>{class c{constructor(u,m,D,O,B,z,ge){this.rootComponentType=u,this.urlSerializer
1=m,this.rootContexts=D,this.location=O,this.config=ge,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Me.xQ,this.errorHandler=lt,this.malformedUriErrorHandler=$t,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,J.of)(void 0),this.urlHandlingStrategy=new mt,this.routeReuseStrategy=new W,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=B.get($e),this.configLoader.onLoadEndListener=Yt=>this.triggerEvent(new so(Yt)),this.configLoader.onLoadStartListener=Yt=>this.triggerEvent(new oi(Yt)),this.ngModule=B.get(v.h0i),this.console=B.get(v.c2e);const Ke=B.get(v.R0b);this.isNgZoneEnabled=Ke instanceof v.R0b&&v.R0b.isInAngularZone(),this.resetConfig(ge),this.currentUrlTree=function gr(){return new ye(new Re([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ao(this.currentUrlTree,this.rootComponentType),this.transitions=new se.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(u){const m=this.events;return u.pipe((0,vt.h)(D=>0!==D.id),(0,ie.U)(D=>({...D,extractedUrl:this.urlHandlingStrategy.extract(D.rawUrl)})),(0,ae.w)(D=>{let O=!1,B=!1;return(0,J.of)(D).pipe((0,pt.b)(z=>{this.currentNavigation={id:z.id,initialUrl:z.rawUrl,extractedUrl:z.extractedUrl,trigger:z.source,extras:z.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ae.w)(z=>{const ge=this.browserUrlTree.toString(),Ne=!this.navigated||z.extractedUrl.toString()!==ge||ge!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Ne)&&this.urlHandlingStrategy.shouldProcessUrl(z.rawUrl))return wn(z.source)&&(this.browserUrlTree=z.extractedUrl),(0,J.of)(z).pipe((0,ae.w)(Ke=>{const Yt=this.transitions.getValue();return m.next(new nr(Ke.id,this.serializeUrl(Ke.extractedUrl),Ke.source,Ke.restoredState)),Yt!==this.transitions.getValue()?q.E:Promise.resolve(Ke)}),function At(c,d,u,m){return(0,ae.w)(D=>function et(c,d,u,m,D){return new jt(c,d,u,m,D).apply()}(c,d,u,D.extractedUrl,m).pipe((0,ie.U)(O=>({...D,urlAfterRedirects:O}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,pt.b)(Ke=>{this.currentNavigation={...this.currentNavigation,finalUrl:Ke.urlAfterRedirects},D.urlAfterRedirects=Ke.urlAfterRedirects}),function Qo(c,d,u,m,D,O){return(0,xe.zg)(B=>function zn(c,d,u,m,D,O,B="emptyOnly",z="legacy"){return new Kn(c,d,u,m,D,B,z,O).recognize().pipe((0,ae.w)(ge=>null===ge?function un(c){return new Q.y(d=>d.error(c))}(new kt):(0,J.of)(ge)))}(c,d,u,B.urlAfterRedirects,m.serialize(B.urlAfterRedirects),m,D,O).pipe((0,ie.U)(z=>({...B,targetSnapshot:z}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,pt.b)(Ke=>{if(D.targetSnapshot=Ke.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!Ke.extras.skipLocationChange){const dr=this.urlHandlingStrategy.merge(Ke.urlAfterRedirects,Ke.rawUrl);this.setBrowserUrl(dr,Ke)}this.browserUrlTree=Ke.urlAfterRedirects}const Yt=new Hn(Ke.id,this.serializeUrl(Ke.extractedUrl),this.serializeUrl(Ke.urlAfterRedirects),Ke.targetSnapshot);m.next(Yt)}));if(Ne&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Yt,extractedUrl:dr,source:pi,restoredState:ns,extras:$r}=z,Ra=new nr(Yt,this.serializeUrl(dr),pi,ns);m.next(Ra);const rs=ao(dr,this.rootComponentType).snapshot;return D={...z,targetSnapshot:rs,urlAfterRedirects:dr,extras:{...$r,skipLocationChange:!1,replaceUrl:!1}},(0,J.of)(D)}return this.rawUrlTree=z.rawUrl,z.resolve(null),q.E}),(0,pt.b)(z=>{const ge=new si(z.id,this.serializeUrl(z.extractedUrl),this.serializeUrl(z.urlAfterRedirects),z.targetSnapshot);this.triggerEvent(ge)}),(0,ie.U)(z=>D={...z,guards:Fs(z.targetSnapshot,z.currentSnapshot,this.rootContexts)}),function hi(c,d){return(0,xe.zg)(u=>{const{targetSnapshot:m,currentSnapshot:D,guards:{canActivateChecks:O,canDeactivateChecks:B}}=u;return 0===B.length&&0===O.length?(0,J.of)({...u,guardsResult:!0}):function fn(c,d,u,m){return(0,I.D)(c).pipe((0,xe.zg)(D=>function _s(c,d,u,m,D){const O=d&&d.routeConfig?d.routeConfig.canDeactivate:null;if(!O||0===O.length)return(0,J.of)(!0);const B=O.map(z=>{const ge=kr(d)??D,Ne=Qr(z,ge);return Cn(function xi(c){return c&&gt(c.canDeactivate)}(Ne)?Ne.canDeactivate(c,d,u,m):ge.runInContext(()=>Ne(c,d,u,m))).pipe((0,Ee.P)())});return(0,J.of)(B).pipe(di())}(D.component,D.route,u,d,m)),(0,Ee.P)(D=>!0!==D,!0))}(B,m,D,c).pipe((0,xe.zg)(z=>z&&function ks(c){return"boolean"==typeof c}(z)?function ur(c,d,u,m){return(0,I.D)(d).pipe((0,qe.b)(D=>(0,X.z)(function fi(c,d){return null!==c&&d&&d(new cs(c)),(0,J.of)(!0)}(D.route.parent,m),function Xi(c,d){return null!==c&&d&&d(new Go(c)),(0,J.of)(!0)}(D.route,m),function fo(c,d,u){const m=d[d.length-1],O=d.slice(0,d.length-1).reverse().map(B=>
1function vs(c){const d=c.routeConfig?c.routeConfig.canActivateChild:null;return d&&0!==d.length?{node:c,guards:d}:null}(B)).filter(B=>null!==B).map(B=>(0,U.P)(()=>{const z=B.guards.map(ge=>{const Ne=kr(B.node)??u,Pt=Qr(ge,Ne);return Cn(function qr(c){return c&&gt(c.canActivateChild)}(Pt)?Pt.canActivateChild(m,c):Ne.runInContext(()=>Pt(m,c))).pipe((0,Ee.P)())});return(0,J.of)(z).pipe(di())}));return(0,J.of)(O).pipe(di())}(c,D.path,u),function Sr(c,d,u){const m=d.routeConfig?d.routeConfig.canActivate:null;if(!m||0===m.length)return(0,J.of)(!0);const D=m.map(O=>(0,U.P)(()=>{const B=kr(d)??u,z=Qr(O,B);return Cn(function gn(c){return c&&gt(c.canActivate)}(z)?z.canActivate(d,c):B.runInContext(()=>z(d,c))).pipe((0,Ee.P)())}));return(0,J.of)(D).pipe(di())}(c,D.route,u))),(0,Ee.P)(D=>!0!==D,!0))}(m,O,c,d):(0,J.of)(z)),(0,ie.U)(z=>({...u,guardsResult:z})))})}(this.ngModule.injector,z=>this.triggerEvent(z)),(0,pt.b)(z=>{if(D.guardsResult=z.guardsResult,w(z.guardsResult))throw ps(0,z.guardsResult);const ge=new rr(z.id,this.serializeUrl(z.extractedUrl),this.serializeUrl(z.urlAfterRedirects),z.targetSnapshot,!!z.guardsResult);this.triggerEvent(ge)}),(0,vt.h)(z=>!!z.guardsResult||(this.restoreHistory(z),this.cancelNavigationTransition(z,"",3),!1)),b(z=>{if(z.guards.canActivateChecks.length)return(0,J.of)(z).pipe((0,pt.b)(ge=>{const Ne=new Vr(ge.id,this.serializeUrl(ge.extractedUrl),this.serializeUrl(ge.urlAfterRedirects),ge.targetSnapshot);this.triggerEvent(Ne)}),(0,ae.w)(ge=>{let Ne=!1;return(0,J.of)(ge).pipe(function qo(c,d){return(0,xe.zg)(u=>{const{targetSnapshot:m,guards:{canActivateChecks:D}}=u;if(!D.length)return(0,J.of)(u);let O=0;return(0,I.D)(D).pipe((0,qe.b)(B=>function es(c,d,u,m){const D=c.routeConfig,O=c._resolve;return void 0!==D?.title&&!zs(D)&&(O[Yn]=D.title),function go(c,d,u,m){const D=function mo(c){return[...Object.keys(c),...Object.getOwnPropertySymbols(c)]}(c);if(0===D.length)return(0,J.of)({});const O={};return(0,I.D)(D).pipe((0,xe.zg)(B=>function Ts(c,d,u,m){const D=kr(d)??m,O=Qr(c,D);return Cn(O.resolve?O.resolve(d,u):D.runInContext(()=>O(d,u)))}(c[B],d,u,m).pipe((0,Ee.P)(),(0,pt.b)(z=>{O[B]=z}))),(0,We.h)(1),(0,Ge.h)(O),(0,Fe.K)(B=>Zr(B)?q.E:(0,Y._)(B)))}(O,c,d,m).pipe((0,ie.U)(B=>(c._resolvedData=B,c.data=Ns(c,u).resolve,D&&zs(D)&&(c.data[Yn]=D.title),null)))}(B.route,m,c,d)),(0,pt.b)(()=>O++),(0,We.h)(1),(0,xe.zg)(B=>O===D.length?(0,J.of)(u):q.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,pt.b)({next:()=>Ne=!0,complete:()=>{Ne||(this.restoreHistory(ge),this.cancelNavigationTransition(ge,"",2))}}))}),(0,pt.b)(ge=>{const Ne=new Gn(ge.id,this.serializeUrl(ge.extractedUrl),this.serializeUrl(ge.urlAfterRedirects),ge.targetSnapshot);this.triggerEvent(Ne)}))}),b(z=>{const ge=Ne=>{const Pt=[];Ne.routeConfig?.loadComponent&&!Ne.routeConfig._loadedComponent&&Pt.push(this.configLoader.loadComponent(Ne.routeConfig).pipe((0,pt.b)(Ke=>{Ne.component=Ke}),(0,ie.U)(()=>{})));for(const Ke of Ne.children)Pt.push(...ge(Ke));return Pt};return(0,L.aj)(ge(z.targetSnapshot.root)).pipe((0,$n.d)(),(0,Ie.q)(1))}),b(()=>this.afterPreactivation()),(0,ie.U)(z=>{const ge=function Ri(c,d,u){const m=Kr(c,d._root,u?u._root:void 0);return new Os(m,d)}(this.routeReuseStrategy,z.targetSnapshot,z.currentRouterState);return D={...z,targetRouterState:ge}}),(0,pt.b)(z=>{this.currentUrlTree=z.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(z.urlAfterRedirects,z.rawUrl),this.routerState=z.targetRouterState,"deferred"===this.urlUpdateStrategy&&(z.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,z),this.browserUrlTree=z.urlAfterRedirects)}),((c,d,u)=>(0,ie.U)(m=>(new Xe(d,m.targetRouterState,m.currentRouterState,u).activate(c),m)))(this.rootContexts,this.routeReuseStrategy,z=>this.triggerEvent(z)),(0,pt.b)({next(){O=!0},complete(){O=!0}}),(0,De.x)(()=>{O||B||this.cancelNavigationTransition(D,"",1),this.currentNavigation?.id===D.id&&(this.currentNavigation=null)}),(0,Fe.K)(z=>{if(B=!0,ms(z)){Yr(z)||(this.navigated=!0,this.restoreHistory(D,!0));const ge=new Si(D.id,this.serializeUrl(D.extractedUrl),z.message,z.cancellationCode);if(m.next(ge),Yr(z)){const Ne=this.urlHandlingStrategy.merge(z.url,this.rawUrlTree),Pt={skipLocationChange:D.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||wn(D.source)};this.scheduleNavigation(Ne,"imperative",null,Pt,{resolve:D.resolve,reject:D.reject,promise:D.promise})}else D.resolve(!1)}else{this.restoreHistory(D,!0);const ge=new Sn(D.id,this.serializeUrl(D.extractedUrl),z,D.targetSnapshot??void 0);m.next(ge);try{D.resolve(this.errorHandler(z))}catch(Ne){D.reject(Ne)}}return q.E}))}))}resetRootComponentType(u){this.rootComponentType=u,this.routerState.root.component=this.rootComponentType}setTransition(u){this.transitions.next({...this.transitions.value,...u})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(u=>{const m="popstate"===u.type?"popstate":"hashchange";"popstate"===m&&setTimeout(()=>{const D={replaceUrl:!0},O=u.state?.navigationId?u.state:null;if(O){const z={...O};delete z.navigationId,delete z.\u0275routerPageId,0!==Object.keys(z).length&&(D.state=z)}const B=this.parseUrl(u.url);this.scheduleNavigation(B,m,O,D)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(u){this.events.next(u)}resetConfig(u){this.config=u.map(Xn),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(u,m={}){const{relativeTo:D,queryParams:O,fragment:B,queryParamsHandling:z,preserveFragment:ge}=m,Ne=D||this.routerState.root,Pt=ge?this.currentUrlTree.fragment:B;let Ke=null;switch(z){case"merge":Ke={...this.currentUrlTree.queryParams,...O};break;case"preserve":Ke=this.currentUrlTree.queryParams;break;default:Ke=O||null}return null!==Ke&&(Ke=this.removeEmptyProps(Ke)),$(Ne,this.currentUrlTree,u,Ke,Pt??null)}navigateByUrl(u,m={skipLocationChange:!1}){const D=w(u)?u:this.parseUrl(u),O=this.urlHandlingStrategy.merge(D,this.rawUrlTree);return this.scheduleNavigation(O,"imperative",null,m)}navigate(u,m={skipLocationChange:!1}){return function Ar(c){for(let d=0;d<c.length;d++){if(null==c[d])throw new v.vHH(4008,false)}}(u),this.navigateByUrl(this.createUrlTree(u,m),m)}serializeUrl(u){return this.urlSerializer.serialize(u)}parseUrl(u){let m;try{m=this.urlSerializer.parse(u)}catch(D){m=this.malformedUriErrorHandler(D,this.urlSerializer,u)}return m}isActive(u,m){let D;if(D=!0===m?{...Zt}:!1===m?{...Dn}:m,w(u))return an(this.currentUrlTree,u,D);const O=this.parseUrl(u);return an(this.currentUrlTree,O,D)}removeEmptyProps(u){return Object.keys(u).reduce((m,D)=>{const O=u[D];return null!=O&&(m[D]=O),m},{})}processNavigations(){this.navigations.subscribe(u=>{this.navigated=!0,this.lastSuccessfulId=u.id,this.currentPageId=u.targetPageId,this.events.next(new Jt(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),u.resolve(!0)},u=>{this.console.warn(`Unhandled Navigation Error: ${u}`)})}scheduleNavigation(u,m,D,O,B){if(this.disposed)return Promise.resolve(!1);let z,ge,Ne;B?(z=B.resolve,ge=B.reject,Ne=B.promise):Ne=new Promise((Yt,dr)=>{z=Yt,ge=dr});const Pt=++this.navigationId;let Ke;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(D=this.location.getState()),Ke=D&&D.\u0275routerPageId?D.\u0275routerPageId:O.replaceUrl||O.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):Ke=0,this.setTransition({id:Pt,targetPageId:Ke,source:m,restoredState:D,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:u,extras:O,resolve:z,reject:ge,promise:Ne,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ne.catch(Yt=>Promise.reject(Yt))}setBrowserUrl(u,m){const D=this.urlSerializer.serialize(u),O={...m.extras.state,...this.generateNgRouterState(m.id,m.targetPageId)};this.location.isCurrentPathEqualTo(D)||m.extras.replaceUrl?this.location.replaceState(D,"",O):this.location.go(D,"",O)}restoreHistory(u,m=!1){if("computed"===this.canceledNavigationResolution){const D=this.currentPageId-u.targetPageId;"popstate"!==u.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===D?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===D&&(this.resetState(u),this.browserUrlTree=u.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(D)}else"replace"===this.canceledNavigationResolution&&(m&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=u.currentRouterState,this.currentUrlTree=u.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(u,m,D){const O=new Si(u.id,this.serializeUrl(u.extractedUrl),m,D);this.triggerEvent(O),u.resolve(!1)}generateNgRouterState(u,m){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:m}:{navigationId:u}}}return c.\u0275fac=function(u){v.$Z()},c.\u0275prov=v.Yz7({token:c,factory:function(){return En()},providedIn:"root"}),c})();function wn(c){return"imperative"!==c}let Ln=(()=>{class c{constructor(u,m,D,O,B){this.router=u,this.route=m,this.tabIndexAttribute=D,this.renderer=O,this.el=B,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new Me.xQ,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(u){this._preserveFragment=(0,v.D6c)(u)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(u){this._skipLocationChange=(0,v.D6c)(u)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(u){this._replaceUrl=(0,v.D6c)(u)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(u){if(null!=this.tabIndexAttribute)return;const m=this.renderer,D=this.el.nativeElement;null!==u?m.setAttribute(D,"tabindex",u):m.removeAttribute(D,"tabindex")}ngOnChanges(u){this.onChanges.next(this)}set routerLink(u){null!=u?(this.commands=Array.isArray(u)?u:[u],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return c.\u0275fac=function(u){return new(u||c)(v.Y36(nn),v.Y36(Gr),v.$8M("tabindex"),v.Y36(v.Qsj),v.Y36(v.SBq))},c.\u0275dir=v.lG2({type:c,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(u,m){1&u&&v.NdJ("click",function(){return m.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[v.TTD]}),c})(),cr=(()=>{class c{constructor(u,m,D){this.router=u,this.route=m,this.locationStrategy=D,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new Me.xQ,this.subscription=u.events.subscribe(O=>{O instanceof Jt&&this.updateTargetUrlAndHref()})}set preserveFragment(u){this._preserveFragment=(0,v.D6c)(u)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(u){this._skipLocationChange=(0,v.D6c)(u)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(u){this._replaceUrl=(0,v.D6c)(u)}get replaceUrl(){return this._replaceUrl}set routerLink(u){this.commands=null!=u?Array.isArray(u)?u:[u]:null}ngOnChanges(u){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(u,m,D,O,B){return!!(0!==u||m||D||O||B||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return c.\u0275fac=function(u){return new(u||c)(v.Y36(nn),v.Y36(Gr),v.Y36(he.S$))},c.\u0275dir=v.lG2({type:c,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(u,m){1&u&&v.NdJ("click",function(O){return m.onClick(O.button,O.ctrlKey,O.shiftKey,O.altKey,O.metaKey)}),2&u&&v.uIk("target",m.target)("href",m.href,v.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[v.TTD]}),c})(),yr=(()=>{class c{constructor(u,m,D,O,B,z){this.router=u,this.element=m,this.renderer=D,this.cdr=O,this.link=B,this.linkWithHref=z,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new v.vpe,this.routerEventsSubscription=u.events.subscribe(ge=>{ge instanceof Jt&&this.update()})}ngAfterContentInit(){(0,J.of)(this.links.changes,this.linksWithHrefs.changes,(0,J.of)(null)).pipe((0,Ft.J)()).subscribe(u=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const u=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(m=>!!m).map(m=>m.onChanges);this.linkInputChangesSubscription=(0,I.D)(u).pipe((0,Ft.J)()).subscribe(m=>{this.isActive!==this.isLinkActive(this.router)(m)&&this.update()})}set routerLinkActive(u){const m=Array.isArray(u)?u:u.split(" ");this.classes=m.filter(D=>!!D)}ngOnChanges(u){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const u=this.hasActiveLinks();this.isActive!==u&&(this.isActive=u,this.cdr.markForCheck(),this.classes.forEac
1h(m=>{u?this.renderer.addClass(this.element.nativeElement,m):this.renderer.removeClass(this.element.nativeElement,m)}),u&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(u))})}isLinkActive(u){const m=function Ws(c){return!!c.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return D=>!!D.urlTree&&u.isActive(D.urlTree,m)}hasActiveLinks(){const u=this.isLinkActive(this.router);return this.link&&u(this.link)||this.linkWithHref&&u(this.linkWithHref)||this.links.some(u)||this.linksWithHrefs.some(u)}}return c.\u0275fac=function(u){return new(u||c)(v.Y36(nn),v.Y36(v.SBq),v.Y36(v.Qsj),v.Y36(v.sBO),v.Y36(Ln,8),v.Y36(cr,8))},c.\u0275dir=v.lG2({type:c,selectors:[["","routerLinkActive",""]],contentQueries:function(u,m,D){if(1&u&&(v.Suo(D,Ln,5),v.Suo(D,cr,5)),2&u){let O;v.iGM(O=v.CRH())&&(m.links=O),v.iGM(O=v.CRH())&&(m.linksWithHrefs=O)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[v.TTD]}),c})();class vr{}let Ms=(()=>{class c{constructor(u,m,D,O,B){this.router=u,this.injector=D,this.preloadingStrategy=O,this.loader=B}setUpPreloading(){this.subscription=this.router.events.pipe((0,vt.h)(u=>u instanceof Jt),(0,qe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,m){const D=[];for(const O of m){O.providers&&!O._injector&&(O._injector=(0,v.MMx)(O.providers,u,`Route: ${O.path}`));const B=O._injector??u,z=O._loadedInjector??B;O.loadChildren&&!O._loadedRoutes&&void 0===O.canLoad||O.loadComponent&&!O._loadedComponent?D.push(this.preloadConfig(B,O)):(O.children||O._loadedRoutes)&&D.push(this.processRoutes(z,O.children??O._loadedRoutes))}return(0,I.D)(D).pipe((0,Ft.J)())}preloadConfig(u,m){return this.preloadingStrategy.preload(m,()=>{let D;D=m.loadChildren&&void 0===m.canLoad?this.loader.loadChildren(u,m):(0,J.of)(null);const O=D.pipe((0,xe.zg)(B=>null===B?(0,J.of)(void 0):(m._loadedRoutes=B.routes,m._loadedInjector=B.injector,this.processRoutes(B.injector??u,B.routes))));if(m.loadComponent&&!m._loadedComponent){const B=this.loader.loadComponent(m);return(0,I.D)([O,B]).pipe((0,Ft.J)())}return O})}}return c.\u0275fac=function(u){return new(u||c)(v.LFG(nn),v.LFG(v.Sil),v.LFG(v.lqb),v.LFG(vr),v.LFG($e))},c.\u0275prov=v.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const Ye=new v.OlP("");let nt=(()=>{class c{constructor(u,m,D={}){this.router=u,this.viewportScroller=m,this.options=D,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},D.scrollPositionRestoration=D.scrollPositionRestoration||"disabled",D.anchorScrolling=D.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(u=>{u instanceof nr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof Jt&&(this.lastId=u.id,this.scheduleScrollEvent(u,this.router.parseUrl(u.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(u=>{u instanceof Ki&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(u,m){this.router.triggerEvent(new Ki(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,m))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return c.\u0275fac=function(u){v.$Z()},c.\u0275prov=v.Yz7({token:c,factory:c.\u0275fac}),c})();function mn(c,d){return{\u0275kind:c,\u0275providers:d}}function kn(c){return[{provide:Pe,multi:!0,useValue:c}]}function zt(){const c=(0,v.f3M)(v.zs3);return d=>{const u=c.get(v.z2F);if(d!==u.components[0])return;const m=c.get(nn),D=c.get(Ui);1===c.get(Gs)&&m.initialNavigation(),c.get(ts,null,v.XFs.Optional)?.setUpPreloading(),c.get(Ye,null,v.XFs.Optional)?.init(),m.resetRootComponentType(u.componentTypes[0]),D.closed||(D.next(),D.unsubscribe())}}const Ui=new v.OlP("",{factory:()=>new Me.xQ}),Gs=new v.OlP("",{providedIn:"root",factory:()=>1});const ts=new v.OlP("");function vo(c){return mn(0,[{provide:ts,useExisting:Ms},{provide:vr,useExisting:c}])}const Is=new v.OlP("ROUTER_FORROOT_GUARD"),zc=[he.Ye,{provide:St,useClass:dn},{provide:nn,useFactory:En},Fr,{provide:Gr,useFactory:function rn(c){return c.routerState.root},deps:[nn]},$e];function Wc(){return new v.PXZ("Router",nn)}let In=(()=>{class c{constructor(u){}static forRoot(u,m){return{ngModule:c,providers:[zc,[],kn(u),{provide:Is,useFactory:Cl,deps:[[nn,new v.FiY,new v.tp0]]},{provide:ne,useValue:m||{}},m?.useHash?{provide:he.S$,useClass:he.Do}:{provide:he.S$,useClass:he.b0},{provide:Ye,useFactory:()=>{const c=(0,v.f3M)(nn),d=(0,v.f3M)(he.EM),u=(0,v.f3M)(ne);return u.scrollOffset&&d.setOffset(u.scrollOffset),new nt(c,d,u)}},m?.preloadingStrategy?vo(m.preloadingStrategy).\u0275providers:[],{provide:v.PXZ,multi:!0,useFactory:Wc},m?.initialNavigation?Dr(m):[],[{provide:ei,useFactory:zt},{provide:v.tb,multi:!0,useExisting:ei}]]}}static forChild(u){return{ngModule:c,providers:[kn(u)]}}}return c.\u0275fac=function(u){return new(u||c)(v.LFG(Is,8))},c.\u0275mod=v.oAB({type:c}),c.\u0275inj=v.cJS({imports:[on]}),c})();function Cl(c){return"guarded"}function Dr(c){return["disabled"===c.initialNavigation?mn(3,[{provide:v.ip1,multi:!0,useFactory:()=>{const d=(0,v.f3M)(nn);return()=>{d.setUpLocationChangeListener()}}},{provide:Gs,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?mn(2,[{provide:Gs,useValue:0},{provide:v.ip1,multi:!0,deps:[v.zs3],useFactory:d=>{const u=d.get(he.V_,Promise.resolve());let m=!1;return()=>u.then(()=>new Promise(O=>{const B=d.get(nn),z=d.get(Ui);(function D(O){d.get(nn).events.pipe((0,vt.h)(z=>z instanceof Jt||z instanceof Si||z instanceof Sn),(0,ie.U)(z=>z instanceof Jt||z instanceof Si&&(0===z.code||1===z.code)&&null),(0,vt.h)(z=>null!==z),(0,Ie.q)(1)).subscribe(()=>{O()})})(()=>{O(!0),m=!0}),B.afterPreactivation=()=>(O(!0),m||z.closed?(0,J.of)(void 0):z),B.initialNavigation()}))}}]).\u0275providers:[]]}const ei=new v.OlP("")},3959:(ke,ue,M)=>{M.d(ue,{eT:()=>Ot,e$:()=>Ae,CT:()=>dt});var v=M(4650),I=M(6895),J=M(5254),se=M(1086),te=M(6686),X=M(2268);const re=new class U extends X.v{flush(Ge){this.active=!0,this.scheduled=void 0;const{actions:De}=this;let Je,Ft=-1,jn=De.length;Ge=Ge||De.shift();do{if(Je=Ge.execute(Ge.state,Ge.delay))break}while(++Ft<jn&&(Ge=De.shift()));if(this.active=!1,Je){for(;++Ft<jn&&(Ge=De.shift());)Ge.unsubscribe();throw Je}}}(class L extends te.o{constructor(Ge,De){super(Ge,De),this.scheduler
1=Ge,this.work=De}requestAsyncId(Ge,De,Je=0){return null!==Je&&Je>0?super.requestAsyncId(Ge,De,Je):(Ge.actions.push(this),Ge.scheduled||(Ge.scheduled=requestAnimationFrame(()=>Ge.flush(null))))}recycleAsyncId(Ge,De,Je=0){if(null!==Je&&Je>0||null===Je&&this.delay>0)return super.recycleAsyncId(Ge,De,Je);0===Ge.actions.length&&(cancelAnimationFrame(De),Ge.scheduled=void 0)}});var Y=M(8929),Q=M(591),q=M(8514),ce=M(6498),Me=M(4850),he=M(2994),ie=M(3803),ae=M(7770),Ie=M(2198),it=M(7545),vt=M(7625);const xe=["container"],Ee=new v.OlP("LottieOptions");let pt=(()=>{class We{constructor(De,Je){this.ngZone=De,this.options=Je,this.player$=function qe(We,Ge){const De=We();return(De instanceof Promise?(0,J.D)(De).pipe((0,Me.U)(Ft=>Ft.default||Ft)):(0,se.of)(De)).pipe((0,he.b)(Ft=>Ft.useWebWorker(Ge)),(0,ie.d)({bufferSize:1,refCount:!0}))}(this.options.player,this.options.useWebWorker).pipe((0,ae.QV)(re))}loadAnimation(De){return this.player$.pipe((0,Me.U)(Je=>this.createAnimationItem(Je,De)))}resolveOptions(De,Je){return Object.assign({container:Je,renderer:"svg",loop:!0,autoplay:!0},De)}createAnimationItem(De,Je){return this.ngZone.runOutsideAngular(()=>De.loadAnimation(Je))}}return We.\u0275fac=function(De){return new(De||We)(v.LFG(v.R0b),v.LFG(Ee))},We.\u0275prov=v.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})(),Fe=(()=>{class We{constructor(De,Je,Ft){this.ngZone=De,this.platformId=Je,this.animationLoader=Ft,this.options=null,this.containerClass=null,this.styles=null,this.animationCreated=this.getAnimationItem(),this.complete=this.awaitAnimationItemAndStartListening("complete"),this.loopComplete=this.awaitAnimationItemAndStartListening("loopComplete"),this.enterFrame=this.awaitAnimationItemAndStartListening("enterFrame"),this.segmentStart=this.awaitAnimationItemAndStartListening("segmentStart"),this.configReady=this.awaitAnimationItemAndStartListening("config_ready"),this.dataReady=this.awaitAnimationItemAndStartListening("data_ready"),this.domLoaded=this.awaitAnimationItemAndStartListening("DOMLoaded"),this.destroy=this.awaitAnimationItemAndStartListening("destroy"),this.error=this.awaitAnimationItemAndStartListening("error"),this.destroy$=new Y.xQ,this.loadAnimation$=new Y.xQ,this.animationItem$=new Q.X(null),this.setupLoadAnimationListener()}ngOnDestroy(){this.destroy$.next(),this.destroyAnimation()}loadAnimation(De,Je){this.ngZone.runOutsideAngular(()=>this.loadAnimation$.next([De,Je]))}getAnimationItem(){return(0,q.P)(()=>
1this.animationItem$).pipe((0,Ie.h)(De=>null!==De))}awaitAnimationItemAndStartListening(De){return this.getAnimationItem().pipe((0,it.w)(Je=>new ce.y(Ft=>{this.ngZone.runOutsideAngular(()=>{Je.addEventListener(De,jn=>{this.ngZone.runOutsideAngular(()=>{Ft.next(jn)})})})})))}setupLoadAnimationListener(){this.loadAnimation$.pipe((0,Ie.h)(([Je])=>(0,I.NF)(this.platformId)&&void 0!==Je.options)).pipe((0,it.w)(([Je,Ft])=>(this.destroyAnimation(),this.animationLoader.loadAnimation(this.animationLoader.resolveOptions(Je.options.currentValue,Ft)))),(0,vt.R)(this.destroy$)).subscribe(Je=>{this.ngZone.run(()=>this.animationItem$.next(Je))})}destroyAnimation(){const De=this.animationItem$.getValue();null!==De&&(De.destroy(),this.animationItem$.next(null))}}return We.\u0275fac=function(De){return new(De||We)(v.Y36(v.R0b),v.Y36(v.Lbi),v.Y36(pt))},We.\u0275dir=v.lG2({type:We,selectors:[["","lottie",""]],inputs:{options:"options",containerClass:"containerClass",styles:"styles"},outputs:{animationCreated:"animationCreated",complete:"complete",loopComplete:"loopComplete",enterFrame:"enterFrame",segmentStart:"segmentStart",configReady:"configReady",dataReady:"dataReady",domLoaded:"domLoaded",destroy:"destroy",error:"error"}}),We})(),Ae=(()=>{class We extends Fe{constructor(De,Je,Ft){super(De,Je,Ft),this.width=null,this.height=null,this.container=null}ngOnChanges(De){super.loadAnimation(De,this.container.nativeElement)}}return We.\u0275fac=function(De){return new(De||We)(v.Y36(v.R0b),v.Y36(v.Lbi),v.Y36(pt))},We.\u0275cmp=v.Xpm({type:We,selectors:[["ng-lottie"]],viewQuery:function(De,Je){if(1&De&&v.Gf(xe,7),2&De){let Ft;v.iGM(Ft=v.CRH())&&(Je.container=Ft.first)}},inputs:{width:"width",height:"height"},standalone:!0,features:[v.qOj,v.TTD,v.jDz],decls:2,vars:6,consts:[[3,"ngStyle","ngClass"],["container",""]],template:function(De,Je){1&De&&v._UZ(0,"div",0,1),2&De&&(v.Udp("width",Je.width||"100%")("height",Je.height||"100%"),v.Q6J("ngStyle",Je.styles)("ngClass",Je.containerClass))},dependencies:[I.ez,I.mk,I.PC],encapsulation:2,changeDetection:0}),We})(),dt=(()=>{class We{static forRoot(De){return{ngModule:We,providers:[{provide:Ee,useValue:De}]}}}return We.\u0275fac=function(De){return new(De||We)},We.\u0275mod=v.oAB({type:We}),We.\u0275inj=v.cJS({imports:[Ae]}),We})(),st=(()=>{class We extends pt{constructor(){super(...arguments),this.cache=new Map}ngOnDestroy(){this.cache.clear()}loadAnimation(De){return this.player$.pipe((0,Me.U)(Je=>{const Ft=this.createAnimationItem(Je,this.transformOptions(De));return this.awaitConfigAndCache(De,Ft),Ft}))}awaitConfigAndCache(De,Je){if(this.isAnimationConfigWithPath(De)){if(this.cache.has(De.path))return;Je.addEventListener("config_ready",()=>{this.cache.set(De.path,JSON.stringify(Je.animationData))})}}transformOptions(De){return this.isAnimationConfigWithPath(De)&&this.cache.has(De.path)?{...De,path:void 0,animationData:JSON.parse(this.cache.get(
1De.path))}:De}isAnimationConfigWithPath(De){return"string"==typeof De.path}}return We.\u0275fac=function(){let Ge;return function(Je){return(Ge||(Ge=v.n5z(We)))(Je||We)}}(),We.\u0275prov=v.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})(),Ot=(()=>{class We{static forRoot(){return{ngModule:We,providers:[{provide:pt,useExisting:st}]}}}return We.\u0275fac=function(De){return new(De||We)},We.\u0275mod=v.oAB({type:We}),We.\u0275inj=v.cJS({}),We})()}},ke=>{ke(ke.s=5861)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.